From 21e3d97d3265dfd5a2828f867f2f1cde4b653818 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:04:40 +0100 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.456.0 (#15) Co-authored-by: speakeasybot --- .npmignore | 3 + .speakeasy/gen.lock | 5918 +++++---- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 14 +- FUNCTIONS.md | 2 +- README.md | 91 +- RELEASES.md | 12 +- docs/models/acceptedchallenges.md | 17 + docs/models/access.md | 15 + docs/models/{operations => }/accessgroups.md | 2 +- docs/models/aclaction.md | 17 + docs/models/action.md | 15 + docs/models/action1.md | 15 + docs/models/active.md | 107 + docs/models/activedashboardviews.md | 22 + .../addprojectdomainredirectstatuscode.md | 2 +- docs/models/addprojectdomainrequest.md | 26 + docs/models/addprojectdomainrequestbody.md | 23 + .../addprojectdomainresponsebody.md | 4 +- .../addprojectdomainverification.md | 2 +- .../addprojectmemberrequest.md | 4 +- docs/models/addprojectmemberrequestbody.md | 38 + docs/models/addprojectmemberrequestbody1.md | 23 + docs/models/addprojectmemberrequestbody2.md | 23 + docs/models/addprojectmemberrequestbody3.md | 23 + ...jectmemberrequestbodyprojectmembersrole.md | 2 +- .../addprojectmemberrequestbodyrole.md | 2 +- .../addprojectmemberresponsebody.md | 2 +- docs/models/{operations => }/addresses.md | 2 +- docs/models/algo.md | 15 + docs/models/{operations => }/aliasassigned.md | 0 .../{operations => }/aliasassignedat.md | 0 docs/models/{operations => }/aliaserror.md | 2 +- docs/models/{operations => }/aliases.md | 8 +- docs/models/{operations => }/aliaswarning.md | 2 +- docs/models/{operations => }/analytics.md | 2 +- docs/models/{operations => }/applications.md | 2 +- .../{operations => }/artifactexistsrequest.md | 2 +- docs/models/artifactqueryrequest.md | 23 + .../artifactqueryrequestbody.md | 2 +- docs/models/assignaliasrequest.md | 24 + .../assignaliasrequestbody.md | 2 +- .../assignaliasresponsebody.md | 2 +- docs/models/attribution.md | 20 + docs/models/{components => }/authtoken.md | 4 +- docs/models/authtokenscopesorigin.md | 15 + docs/models/authtokenscopestype.md | 15 + docs/models/{components => }/authuser.md | 36 +- .../{components => }/authuserlimited.md | 4 +- docs/models/authuserlimitedversion.md | 17 + docs/models/{operations => }/backup.md | 6 +- docs/models/backups.md | 20 + docs/models/billing.md | 16 + docs/models/{operations => }/billing1.md | 6 +- docs/models/billing2.md | 27 + docs/models/{operations => }/billingitems.md | 6 +- docs/models/billingplan.md | 31 + docs/models/{operations => }/bitbucket.md | 2 +- .../blockedduetooveragetype.md | 4 +- docs/models/branchmatcher.md | 19 + docs/models/{operations => }/build.md | 2 +- docs/models/builds.md | 14 + .../{operations => }/buydomaindomain.md | 4 +- .../buydomaindomainsdomain.md | 4 +- docs/models/buydomaindomainsresponsebody.md | 25 + docs/models/buydomainrequest.md | 33 + .../{operations => }/buydomainrequestbody.md | 2 +- docs/models/buydomainresponse.md | 37 + docs/models/buydomainresponsebody.md | 25 + .../canceldeploymentaliasassignedat.md | 0 .../canceldeploymentaliaserror.md | 2 +- .../canceldeploymentaliaswarning.md | 2 +- .../{operations => }/canceldeploymentbuild.md | 2 +- docs/models/canceldeploymentbuilds.md | 14 + .../canceldeploymentchecksconclusion.md | 2 +- .../canceldeploymentchecksstate.md | 2 +- .../canceldeploymentcreator.md | 2 +- .../{operations => }/canceldeploymentcrons.md | 2 +- .../canceldeploymentcustomenvironment.md | 19 + .../canceldeploymentcustomenvironment1.md | 2 +- .../canceldeploymentcustomenvironment2.md | 2 +- .../canceldeploymentdeploymentsreadystate.md | 2 +- .../canceldeploymentdeploymentsstatus.md | 2 +- docs/models/canceldeploymentflags.md | 21 + docs/models/canceldeploymentflags1.md | 19 + .../canceldeploymentflags2.md | 2 +- .../canceldeploymentflagsdefinitions.md | 17 + .../canceldeploymentframework.md | 2 +- .../canceldeploymentfunctions.md | 2 +- docs/models/canceldeploymentgitrepo.md | 55 + docs/models/canceldeploymentgitrepo1.md | 33 + docs/models/canceldeploymentgitrepo2.md | 35 + docs/models/canceldeploymentgitrepo3.md | 35 + ...eldeploymentgitrepodeploymentsownertype.md | 2 +- ...mentgitrepodeploymentsresponseownertype.md | 2 +- ...eploymentgitrepodeploymentsresponsetype.md | 2 +- .../canceldeploymentgitrepodeploymentstype.md | 2 +- .../canceldeploymentgitrepoownertype.md | 2 +- .../canceldeploymentgitrepotype.md | 2 +- docs/models/canceldeploymentgitsource.md | 97 + docs/models/canceldeploymentgitsource1.md | 22 + docs/models/canceldeploymentgitsource2.md | 24 + docs/models/canceldeploymentgitsource3.md | 22 + docs/models/canceldeploymentgitsource4.md | 23 + docs/models/canceldeploymentgitsource5.md | 24 + ...onse200applicationjsonresponsebody7type.md | 2 +- ...onse200applicationjsonresponsebody8type.md | 2 +- ...onse200applicationjsonresponsebody9type.md | 2 +- ...ponse200applicationjsonresponsebodytype.md | 2 +- ...ploymentsresponse200applicationjsontype.md | 2 +- ...mentgitsourcedeploymentsresponse200type.md | 2 +- ...loymentgitsourcedeploymentsresponsetype.md | 2 +- ...anceldeploymentgitsourcedeploymentstype.md | 2 +- .../canceldeploymentgitsourceprojectid.md | 0 .../canceldeploymentgitsourcerepoid.md | 0 .../canceldeploymentgitsourcetype.md | 2 +- docs/models/canceldeploymenthas1.md | 19 + docs/models/canceldeploymenthas2.md | 20 + .../canceldeploymenthasdeploymentstype.md | 2 +- docs/models/canceldeploymenthastype.md | 15 + docs/models/canceldeploymentintegrations.md | 22 + docs/models/canceldeploymentlambdas.md | 29 + docs/models/canceldeploymentmicrofrontends.md | 26 + .../canceldeploymentmicrofrontends1.md | 2 +- .../canceldeploymentmicrofrontends2.md | 4 +- docs/models/canceldeploymentmissing1.md | 19 + docs/models/canceldeploymentmissing2.md | 20 + .../canceldeploymentmissingdeploymentstype.md | 2 +- .../canceldeploymentmissingtype.md | 2 +- .../canceldeploymentoidctokenclaims.md | 2 +- .../canceldeploymentoutput.md | 2 +- docs/models/canceldeploymentplan.md | 15 + .../canceldeploymentproject.md | 2 +- .../models/canceldeploymentprojectsettings.md | 22 + docs/models/canceldeploymentreadystate.md | 15 + .../canceldeploymentreadysubstate.md | 2 +- .../canceldeploymentrequest.md | 2 +- .../canceldeploymentresponsebody.md | 61 +- docs/models/canceldeploymentroutes.md | 31 + .../canceldeploymentroutes1.md | 8 +- docs/models/canceldeploymentroutes2.md | 20 + .../canceldeploymentroutes3.md | 2 +- .../canceldeploymentrouteshandle.md | 2 +- docs/models/canceldeploymentrouteshas.md | 23 + docs/models/canceldeploymentroutesmissing.md | 23 + docs/models/canceldeploymentsource.md | 15 + .../canceldeploymentspeedinsights.md | 2 +- docs/models/canceldeploymentstatus.md | 15 + docs/models/canceldeploymenttarget.md | 15 + .../{operations => }/canceldeploymentteam.md | 2 +- docs/models/canceldeploymenttype.md | 15 + .../canceldeploymentwebanalytics.md | 2 +- docs/models/changes.md | 14 + docs/models/checkdomainpricerequest.md | 21 + .../checkdomainpriceresponsebody.md | 2 +- .../checkdomainstatusrequest.md | 2 +- .../checkdomainstatusresponsebody.md | 2 +- docs/models/checks.md | 35 + docs/models/checksconclusion.md | 15 + docs/models/checksstate.md | 15 + docs/models/cls.md | 21 + docs/models/components/aclaction.md | 17 - .../models/components/activedashboardviews.md | 22 - .../components/authtokenscopesorigin.md | 15 - docs/models/components/authtokenscopestype.md | 15 - .../components/authuserlimitedversion.md | 17 - docs/models/components/billing.md | 16 - docs/models/components/datacache.md | 17 - docs/models/components/dismissedtoasts.md | 26 - docs/models/components/edgeconfigitem.md | 28 - docs/models/components/entitlements.md | 17 - .../components/favoriteprojectsandspaces.md | 25 - .../components/favoritesviewpreference.md | 15 - docs/models/components/featureblocks.md | 17 - docs/models/components/gituserid.md | 17 - .../components/importflowgitprovider.md | 15 - docs/models/components/joinedfrom.md | 27 - docs/models/components/membership.md | 32 - docs/models/components/one.md | 23 - docs/models/components/origin.md | 15 - docs/models/components/pagination.md | 23 - .../preferredscopesandgitnamespaces.md | 19 - docs/models/components/reason.md | 15 - .../components/recentsviewpreference.md | 15 - docs/models/components/remotecaching.md | 17 - docs/models/components/resourceconfig.md | 35 - docs/models/components/role.md | 15 - docs/models/components/saml.md | 34 - docs/models/components/scopes.md | 26 - docs/models/components/scopes1.md | 24 - docs/models/components/scopes2.md | 26 - docs/models/components/scopesorigin.md | 15 - docs/models/components/scopestype.md | 15 - docs/models/components/security.md | 15 - docs/models/components/softblock.md | 22 - docs/models/components/two.md | 23 - docs/models/components/type.md | 17 - docs/models/components/version.md | 17 - docs/models/components/viewpreference.md | 15 - docs/models/components/webanalytics.md | 19 - docs/models/computedprojectrole.md | 17 + docs/models/conclusion.md | 17 + docs/models/conditiongroup.md | 22 + docs/models/conditions.md | 22 + docs/models/{operations => }/configuredby.md | 4 +- docs/models/{components => }/connection.md | 2 +- docs/models/{operations => }/contact.md | 4 +- docs/models/contenthint.md | 143 + docs/models/contenthint1.md | 19 + docs/models/contenthint10.md | 19 + docs/models/contenthint11.md | 19 + docs/models/contenthint12.md | 19 + docs/models/contenthint13.md | 19 + docs/models/contenthint14.md | 25 + docs/models/contenthint15.md | 19 + docs/models/contenthint2.md | 19 + docs/models/contenthint3.md | 19 + docs/models/contenthint4.md | 19 + docs/models/contenthint5.md | 19 + docs/models/contenthint6.md | 19 + docs/models/contenthint7.md | 19 + docs/models/contenthint8.md | 19 + docs/models/contenthint9.md | 19 + docs/models/contenthinttype.md | 15 + ...reateaccessgroupprojectaccessgroupsrole.md | 2 +- .../models/createaccessgroupprojectrequest.md | 24 + .../createaccessgroupprojectrequestbody.md | 19 + .../createaccessgroupprojectresponsebody.md | 27 + .../createaccessgroupprojectrole.md | 2 +- .../createaccessgroupprojects.md | 4 +- docs/models/createaccessgrouprequest.md | 27 + docs/models/createaccessgrouprequestbody.md | 25 + .../createaccessgroupresponsebody.md | 2 +- .../{operations => }/createaccessgrouprole.md | 2 +- docs/models/createauthtokenrequest.md | 21 + .../createauthtokenrequestbody.md | 2 +- .../createauthtokenresponsebody.md | 4 +- ...kchecksresponse200applicationjsonsource.md | 2 +- .../createcheckchecksresponse200source.md | 2 +- .../createcheckchecksresponsesource.md | 2 +- docs/models/createcheckcheckssource.md | 15 + docs/models/createcheckcls.md | 20 + docs/models/createcheckconclusion.md | 15 + docs/models/createcheckfcp.md | 20 + docs/models/createchecklcp.md | 20 + docs/models/createcheckmetrics.md | 36 + docs/models/createcheckoutput.md | 15 + docs/models/createcheckrequest.md | 28 + .../createcheckrequestbody.md | 2 +- docs/models/createcheckresponsebody.md | 39 + docs/models/createchecksource.md | 15 + docs/models/createcheckstatus.md | 15 + docs/models/createchecktbt.md | 20 + .../createcheckvirtualexperiencescore.md | 20 + .../createconfigurablelogdraincreatedfrom.md | 2 +- ...reateconfigurablelogdraindeliveryformat.md | 2 +- ...reateconfigurablelogdraindisabledreason.md | 15 + .../createconfigurablelogdrainenvironments.md | 2 +- ...igurablelogdrainlogdrainsdeliveryformat.md | 4 +- ...nfigurablelogdrainlogdrainsenvironments.md | 2 +- ...ateconfigurablelogdrainlogdrainssources.md | 15 + .../createconfigurablelogdrainrequest.md | 25 + .../createconfigurablelogdrainrequestbody.md | 29 + .../createconfigurablelogdrainresponsebody.md | 50 + .../createconfigurablelogdrainsources.md | 2 +- .../createconfigurablelogdrainstatus.md | 2 +- docs/models/created.md | 19 + docs/models/created1.md | 35 + docs/models/created2.md | 35 + docs/models/createdcontenthint.md | 143 + .../{operations => }/createdeploymentcrons.md | 2 +- .../createdeploymentdeploymentsstatus.md | 2 +- .../createdeploymentframework.md | 2 +- .../createdeploymentgitrepodeploymentstype.md | 2 +- .../createdeploymentgitrepoownertype.md | 2 +- .../createdeploymentgitrepotype.md | 2 +- docs/models/createdeploymentgitsource.md | 97 + docs/models/createdeploymentgitsource1.md | 22 + docs/models/createdeploymentgitsource2.md | 24 + docs/models/createdeploymentgitsource6.md | 25 + docs/models/createdeploymentgitsource7.md | 25 + docs/models/createdeploymentgitsource8.md | 23 + docs/models/createdeploymentgitsource9.md | 27 + ...sourcedeploymentsrequestrequestbodytype.md | 16 + ...ploymentgitsourcedeploymentsrequesttype.md | 2 +- ...onse200applicationjsonresponsebody5type.md | 2 +- ...onse200applicationjsonresponsebody6type.md | 2 +- ...onse200applicationjsonresponsebody7type.md | 2 +- ...onse200applicationjsonresponsebody8type.md | 2 +- ...onse200applicationjsonresponsebody9type.md | 2 +- ...ponse200applicationjsonresponsebodytype.md | 2 +- ...ploymentsresponse200applicationjsontype.md | 2 +- ...mentgitsourcedeploymentsresponse200type.md | 2 +- ...loymentgitsourcedeploymentsresponsetype.md | 2 +- ...reatedeploymentgitsourcedeploymentstype.md | 2 +- .../createdeploymentgitsourcetype.md | 2 +- docs/models/createdeploymenthastype.md | 15 + docs/models/createdeploymentmicrofrontends.md | 26 + .../createdeploymentmissingtype.md | 2 +- .../createdeploymentoutput.md | 2 +- .../models/createdeploymentprojectsettings.md | 22 + docs/models/createdeploymentreadystate.md | 15 + docs/models/createdeploymentrequest.md | 41 + .../createdeploymentrequestbody.md | 12 +- .../createdeploymentresponsebody.md | 61 +- docs/models/createdeploymentsource.md | 15 + .../createdeploymentspeedinsights.md | 2 +- docs/models/createdeploymentstatus.md | 15 + docs/models/createdeploymenttarget.md | 15 + docs/models/createdeploymenttype.md | 15 + .../createdeploymentwebanalytics.md | 2 +- docs/models/createdfrom.md | 17 + .../createdinternalcontenthint.md | 4 +- docs/models/createdtarget.md | 19 + docs/models/createdtype.md | 15 + docs/models/createedgeconfigpurpose.md | 19 + docs/models/createedgeconfigrequest.md | 21 + docs/models/createedgeconfigrequestbody.md | 18 + .../createedgeconfigresponsebody.md | 12 +- docs/models/createedgeconfigschema.md | 14 + docs/models/createedgeconfigtokenrequest.md | 23 + .../createedgeconfigtokenrequestbody.md | 2 +- .../createedgeconfigtokenresponsebody.md | 2 +- .../createedgeconfigtransfer.md | 6 +- docs/models/createedgeconfigtype.md | 15 + docs/models/createeventevent.md | 23 + docs/models/createeventeventtype.md | 15 + docs/models/createeventrequest.md | 25 + docs/models/createeventrequestbody.md | 21 + docs/models/createlogdraincreatedfrom.md | 17 + .../createlogdraindeliveryformat.md | 2 +- docs/models/createlogdrainenvironments.md | 17 + docs/models/createlogdrainrequest.md | 24 + .../createlogdrainrequestbody.md | 8 +- docs/models/createlogdrainresponsebody.md | 88 + .../{operations => }/createlogdrainsources.md | 2 +- .../createortransferdomaincreator.md | 2 +- .../createortransferdomaindomain.md | 6 +- .../createortransferdomainrequest.md | 7 +- .../createortransferdomainrequestbody.md | 36 + .../createortransferdomainrequestbody1.md | 2 +- .../createortransferdomainrequestbody2.md | 2 +- .../createortransferdomainrequestbody3.md | 2 +- .../createortransferdomainresponsebody.md | 48 + .../createortransferdomainservicetype.md | 2 +- docs/models/createprojectaction.md | 15 + docs/models/createprojectalgo.md | 15 + .../createprojectaliasassigned.md | 0 .../createprojectaliaserror.md | 2 +- .../createprojectanalytics.md | 2 +- docs/models/createprojectbranchmatcher.md | 19 + .../{operations => }/createprojectbuilds.md | 2 +- .../createprojectchecksconclusion.md | 2 +- docs/models/createprojectchecksstate.md | 15 + docs/models/createprojectcontenthint.md | 143 + docs/models/createprojectcontenthint1.md | 19 + docs/models/createprojectcontenthint10.md | 19 + docs/models/createprojectcontenthint2.md | 19 + docs/models/createprojectcontenthint3.md | 19 + docs/models/createprojectcontenthint4.md | 19 + docs/models/createprojectcontenthint5.md | 19 + docs/models/createprojectcontenthint6.md | 19 + docs/models/createprojectcontenthint7.md | 19 + docs/models/createprojectcontenthint8.md | 19 + docs/models/createprojectcontenthint9.md | 19 + ...200applicationjsonresponsebodyenv10type.md | 2 +- ...200applicationjsonresponsebodyenv11type.md | 2 +- ...200applicationjsonresponsebodyenv12type.md | 2 +- ...200applicationjsonresponsebodyenv13type.md | 2 +- ...200applicationjsonresponsebodyenv14type.md | 2 +- ...200applicationjsonresponsebodyenv15type.md | 2 +- ...e200applicationjsonresponsebodyenv8type.md | 2 +- ...e200applicationjsonresponsebodyenv9type.md | 2 +- ...se200applicationjsonresponsebodyenvtype.md | 2 +- ...ponse200applicationjsonresponsebodytype.md | 2 +- ...tprojectsresponse200applicationjsontype.md | 2 +- ...ojectcontenthintprojectsresponse200type.md | 2 +- ...eprojectcontenthintprojectsresponsetype.md | 2 +- .../createprojectcontenthintprojectstype.md | 2 +- .../createprojectcontenthinttype.md | 2 +- .../{operations => }/createprojectcreator.md | 2 +- .../{operations => }/createprojectcrons.md | 4 +- .../createprojectcustomenvironments.md | 2 +- .../createprojectdatacache.md | 2 +- .../createprojectdefinitions.md | 2 +- .../createprojectdeploymentexpiration.md | 2 +- .../createprojectdeploymenttype.md | 2 +- docs/models/createprojectenv.md | 38 + .../{operations => }/createprojectenv11.md | 6 +- docs/models/createprojectenv12.md | 29 + docs/models/createprojectenv1target.md | 15 + docs/models/createprojectenv1type.md | 17 + docs/models/createprojectenv2target.md | 15 + docs/models/createprojectenv2type.md | 17 + docs/models/createprojectenvcontenthint1.md | 19 + docs/models/createprojectenvcontenthint10.md | 19 + docs/models/createprojectenvcontenthint11.md | 19 + docs/models/createprojectenvcontenthint12.md | 19 + docs/models/createprojectenvcontenthint13.md | 19 + docs/models/createprojectenvcontenthint14.md | 25 + docs/models/createprojectenvcontenthint15.md | 19 + docs/models/createprojectenvcontenthint2.md | 19 + docs/models/createprojectenvcontenthint3.md | 19 + docs/models/createprojectenvcontenthint4.md | 19 + docs/models/createprojectenvcontenthint5.md | 19 + docs/models/createprojectenvcontenthint6.md | 19 + docs/models/createprojectenvcontenthint7.md | 19 + docs/models/createprojectenvcontenthint8.md | 19 + docs/models/createprojectenvcontenthint9.md | 19 + .../createprojectenvcontenthintprojects1.md | 19 + .../createprojectenvcontenthintprojects10.md | 19 + .../createprojectenvcontenthintprojects11.md | 19 + .../createprojectenvcontenthintprojects12.md | 19 + .../createprojectenvcontenthintprojects13.md | 19 + .../createprojectenvcontenthintprojects14.md | 25 + .../createprojectenvcontenthintprojects15.md | 19 + .../createprojectenvcontenthintprojects2.md | 19 + .../createprojectenvcontenthintprojects3.md | 19 + .../createprojectenvcontenthintprojects4.md | 19 + .../createprojectenvcontenthintprojects5.md | 19 + .../createprojectenvcontenthintprojects6.md | 19 + .../createprojectenvcontenthintprojects7.md | 19 + .../createprojectenvcontenthintprojects8.md | 19 + .../createprojectenvcontenthintprojects9.md | 19 + ...plicationjsonresponsebodycreated110type.md | 2 +- ...plicationjsonresponsebodycreated111type.md | 2 +- ...plicationjsonresponsebodycreated112type.md | 2 +- ...plicationjsonresponsebodycreated113type.md | 2 +- ...plicationjsonresponsebodycreated114type.md | 2 +- ...plicationjsonresponsebodycreated115type.md | 2 +- ...pplicationjsonresponsebodycreated19type.md | 2 +- ...applicationjsonresponsebodycreated1type.md | 2 +- ...plicationjsonresponsebodycreated210type.md | 2 +- ...plicationjsonresponsebodycreated211type.md | 2 +- ...plicationjsonresponsebodycreated212type.md | 2 +- ...plicationjsonresponsebodycreated213type.md | 2 +- ...plicationjsonresponsebodycreated214type.md | 2 +- ...plicationjsonresponsebodycreated215type.md | 2 +- ...pplicationjsonresponsebodycreated22type.md | 2 +- ...pplicationjsonresponsebodycreated23type.md | 2 +- ...pplicationjsonresponsebodycreated24type.md | 2 +- ...pplicationjsonresponsebodycreated25type.md | 2 +- ...pplicationjsonresponsebodycreated26type.md | 2 +- ...pplicationjsonresponsebodycreated27type.md | 2 +- ...pplicationjsonresponsebodycreated28type.md | 2 +- ...pplicationjsonresponsebodycreated29type.md | 2 +- ...applicationjsonresponsebodycreated2type.md | 2 +- ...1applicationjsonresponsebodycreatedtype.md | 2 +- ...ponse201applicationjsonresponsebodytype.md | 2 +- ...tprojectsresponse201applicationjsontype.md | 2 +- ...ctenvcontenthintprojectsresponse201type.md | 2 +- ...ojectenvcontenthintprojectsresponsetype.md | 2 +- ...createprojectenvcontenthintprojectstype.md | 2 +- .../createprojectenvcontenthinttype.md | 2 +- .../createprojectenvcreatedcontenthint.md | 143 + ...ateprojectenvcreatedinternalcontenthint.md | 21 + ...teprojectenvcreatedprojectsresponsetype.md | 2 +- .../createprojectenvcreatedprojectstype.md | 2 +- docs/models/createprojectenvcreatedtarget.md | 19 + docs/models/createprojectenvcreatedtype.md | 15 + docs/models/createprojectenverror.md | 28 + .../createprojectenvrequest.md | 4 +- docs/models/createprojectenvrequestbody.md | 37 + docs/models/createprojectenvrequestbody1.md | 35 + .../createprojectenvrequestbody2.md | 8 +- docs/models/createprojectenvresponsebody.md | 30 + docs/models/createprojectenvtarget.md | 19 + docs/models/createprojectenvtarget1.md | 15 + docs/models/createprojectenvtarget2.md | 15 + .../createprojectenvtargetprojects1.md | 2 +- .../createprojectenvtargetprojects2.md | 2 +- ...createprojectenvtargetprojectsresponse2.md | 2 +- docs/models/createprojectenvvalue.md | 19 + docs/models/createprojectenvvalue2.md | 15 + docs/models/createprojecterl.md | 25 + docs/models/createprojectfirewallroutes.md | 21 + .../createprojectframework.md | 2 +- .../createprojectfunctiondefaultmemorytype.md | 2 +- .../createprojectgitcomments.md | 2 +- docs/models/createprojecthandle.md | 15 + docs/models/createprojecthas.md | 19 + .../createprojectinternalcontenthint.md | 21 + .../createprojectipbuckets.md | 2 +- docs/models/createprojectissuermode.md | 17 + docs/models/createprojectjobstatus.md | 15 + docs/models/createprojectlastaliasrequest.md | 25 + .../createprojectlastrollbacktarget.md | 2 +- docs/models/createprojectlatestdeployments.md | 68 + docs/models/createprojectlink.md | 50 + .../{operations => }/createprojectlink1.md | 6 +- .../{operations => }/createprojectlink2.md | 6 +- docs/models/createprojectlink3.md | 35 + .../createprojectlinkdeployhooks.md | 2 +- .../createprojectlinkprojectsdeployhooks.md | 2 +- ...eprojectlinkprojectsresponsedeployhooks.md | 2 +- .../createprojectlinkprojectsresponsetype.md | 2 +- .../createprojectlinkprojectstype.md | 2 +- docs/models/createprojectlinktype.md | 15 + .../createprojectmicrofrontends.md | 2 +- docs/models/createprojectmissing.md | 19 + docs/models/createprojectmitigate.md | 21 + docs/models/createprojectnodeversion.md | 15 + .../createprojectoidctokenclaims.md | 2 +- docs/models/createprojectoidctokenconfig.md | 18 + docs/models/createprojectoptionsallowlist.md | 21 + .../createprojectpasswordprotection.md | 2 +- .../{operations => }/createprojectpaths.md | 2 +- docs/models/createprojectpermissions.md | 196 + docs/models/createprojectplan.md | 15 + .../createprojectprojectsaliasassigned.md | 0 .../createprojectprojectsaliaserror.md | 2 +- .../createprojectprojectsbranchmatcher.md | 19 + .../createprojectprojectsbuilds.md | 2 +- .../createprojectprojectschecksconclusion.md | 2 +- .../createprojectprojectschecksstate.md | 2 +- .../createprojectprojectscreator.md | 2 +- .../createprojectprojectsframework.md | 2 +- .../createprojectprojectsoidctokenclaims.md | 2 +- docs/models/createprojectprojectsplan.md | 15 + .../createprojectprojectsreadystate.md | 2 +- .../createprojectprojectsreadysubstate.md | 2 +- ...se200applicationjsonresponsebodyenvtype.md | 2 +- ...onjsonresponsebodylatestdeploymentstype.md | 2 +- ...nresponsebodysecurityfirewallroutestype.md | 4 +- ...applicationjsonresponsebodysecuritytype.md | 17 + ...0applicationjsonresponsebodytargetstype.md | 2 +- ...ponse200applicationjsonresponsebodytype.md | 2 +- ...tprojectsresponse200applicationjsontype.md | 2 +- .../createprojectprojectsresponse200type.md | 2 +- .../createprojectprojectsresponsetype.md | 15 + docs/models/createprojectprojectstarget.md | 19 + docs/models/createprojectprojectstype.md | 17 + docs/models/createprojectprojectsvalue.md | 17 + docs/models/createprojectprotectionbypass.md | 21 + docs/models/createprojectreadystate.md | 15 + docs/models/createprojectreadysubstate.md | 15 + docs/models/createprojectrequest.md | 21 + .../createprojectrequestbody.md | 10 +- docs/models/createprojectresourceconfig.md | 18 + docs/models/createprojectresponsebody.md | 146 + docs/models/createprojectscope.md | 15 + docs/models/createprojectsecurity.md | 25 + .../createprojectspeedinsights.md | 2 +- docs/models/createprojectsrc.md | 17 + .../{operations => }/createprojectsrc2.md | 2 +- docs/models/createprojectssoprotection.md | 17 + docs/models/createprojecttarget.md | 21 + docs/models/createprojecttarget2.md | 15 + docs/models/createprojecttargets.md | 68 + docs/models/createprojecttier.md | 15 + docs/models/createprojecttrustedips.md | 27 + docs/models/createprojecttrustedips1.md | 25 + docs/models/createprojecttrustedips2.md | 17 + .../createprojecttrustedipsdeploymenttype.md | 2 +- ...projecttrustedipsprojectsdeploymenttype.md | 2 +- docs/models/createprojecttype.md | 17 + docs/models/createprojectvalue.md | 17 + .../{operations => }/createprojectvalue2.md | 2 +- .../createprojectvalueprojects2.md | 2 +- .../createprojectwebanalytics.md | 2 +- .../{operations => }/createrecordrequest.md | 9 +- docs/models/createrecordrequestbody.md | 132 + ...createrecordrequestbodydnsrequest10type.md | 4 +- .../createrecordrequestbodydnsrequest5type.md | 4 +- .../createrecordrequestbodydnsrequest6type.md | 2 +- .../createrecordrequestbodydnsrequest7type.md | 4 +- .../createrecordrequestbodydnsrequest8type.md | 4 +- .../createrecordrequestbodydnsrequest9type.md | 4 +- .../createrecordrequestbodydnsrequesttype.md | 4 +- .../createrecordrequestbodydnstype.md | 4 +- .../createrecordrequestbodytype.md | 4 +- docs/models/createrecordresponsebody.md | 24 + .../createrecordresponsebody1.md | 4 +- .../createrecordresponsebody2.md | 2 +- .../{operations => }/createteambilling.md | 2 +- .../{operations => }/createteamrequestbody.md | 4 +- .../createteamresponsebody.md | 4 +- .../{operations => }/createwebhookevents.md | 2 +- docs/models/createwebhookrequest.md | 24 + docs/models/createwebhookrequestbody.md | 22 + docs/models/createwebhookresponsebody.md | 35 + docs/models/{operations => }/creator.md | 2 +- docs/models/{operations => }/crons.md | 4 +- docs/models/crs.md | 27 + docs/models/customenvironment.md | 19 + docs/models/customenvironment1.md | 14 + .../{operations => }/customenvironment2.md | 2 +- docs/models/customenvironments.md | 14 + docs/models/datacache.md | 17 + docs/models/{operations => }/decrypt.md | 2 +- docs/models/{operations => }/definitions.md | 2 +- .../deleteaccessgroupprojectrequest.md | 2 +- .../deleteaccessgrouprequest.md | 2 +- .../{operations => }/deletealiasrequest.md | 2 +- docs/models/deletealiasresponsebody.md | 19 + docs/models/deletealiasstatus.md | 15 + .../deleteauthtokenrequest.md | 2 +- .../deleteauthtokenresponsebody.md | 2 +- .../deleteconfigurablelogdrainrequest.md | 2 +- .../deleteconfigurationrequest.md | 2 +- .../deletedeploymentrequest.md | 2 +- docs/models/deletedeploymentresponsebody.md | 21 + docs/models/deletedeploymentstate.md | 17 + .../{operations => }/deletedomainrequest.md | 2 +- .../deletedomainresponsebody.md | 2 +- .../deleteedgeconfigrequest.md | 2 +- .../deleteedgeconfigschemarequest.md | 2 +- docs/models/deleteedgeconfigtokensrequest.md | 25 + .../deleteedgeconfigtokensrequestbody.md | 2 +- .../deleteintegrationlogdrainrequest.md | 2 +- .../{operations => }/deleteprojectrequest.md | 2 +- .../deleteteaminvitecoderequest.md | 2 +- .../deleteteaminvitecoderesponsebody.md | 2 +- docs/models/deleteteamrequest.md | 22 + .../{operations => }/deleteteamrequestbody.md | 4 +- .../deleteteamresponsebody.md | 2 +- .../{operations => }/deletewebhookrequest.md | 2 +- docs/models/deliveryformat.md | 17 + docs/models/{operations => }/deployhooks.md | 2 +- docs/models/{operations => }/deployment.md | 2 +- .../{operations => }/deploymentexpiration.md | 2 +- docs/models/{operations => }/deployments.md | 28 +- .../models/{operations => }/deploymenttype.md | 2 +- docs/models/{operations => }/details.md | 2 +- docs/models/direction.md | 17 + docs/models/{components => }/directory.md | 2 +- docs/models/disabledreason.md | 15 + docs/models/{operations => }/discounts.md | 4 +- docs/models/{components => }/dismissals.md | 4 +- docs/models/dismissedtoasts.md | 26 + docs/models/{operations => }/domain.md | 0 docs/models/{operations => }/domains.md | 6 +- .../downloadartifactrequest.md | 2 +- docs/models/edgeconfigitem.md | 28 + .../{components => }/edgeconfigitemvalue.md | 2 +- .../{components => }/edgeconfigtoken.md | 4 +- docs/models/editprojectenvcontenthint1.md | 19 + docs/models/editprojectenvcontenthint10.md | 19 + docs/models/editprojectenvcontenthint11.md | 19 + docs/models/editprojectenvcontenthint12.md | 19 + docs/models/editprojectenvcontenthint13.md | 19 + docs/models/editprojectenvcontenthint14.md | 25 + docs/models/editprojectenvcontenthint15.md | 19 + docs/models/editprojectenvcontenthint2.md | 19 + docs/models/editprojectenvcontenthint3.md | 19 + docs/models/editprojectenvcontenthint4.md | 19 + docs/models/editprojectenvcontenthint5.md | 19 + docs/models/editprojectenvcontenthint6.md | 19 + docs/models/editprojectenvcontenthint7.md | 19 + docs/models/editprojectenvcontenthint8.md | 19 + docs/models/editprojectenvcontenthint9.md | 19 + ...se200applicationjsonresponsebody110type.md | 2 +- ...se200applicationjsonresponsebody111type.md | 2 +- ...se200applicationjsonresponsebody112type.md | 2 +- ...se200applicationjsonresponsebody113type.md | 2 +- ...se200applicationjsonresponsebody114type.md | 2 +- ...se200applicationjsonresponsebody115type.md | 2 +- ...nse200applicationjsonresponsebody18type.md | 2 +- ...nse200applicationjsonresponsebody19type.md | 2 +- ...onse200applicationjsonresponsebody1type.md | 2 +- ...ponse200applicationjsonresponsebodytype.md | 2 +- ...tprojectsresponse200applicationjsontype.md | 2 +- ...ctenvcontenthintprojectsresponse200type.md | 2 +- ...ojectenvcontenthintprojectsresponsetype.md | 2 +- .../editprojectenvcontenthintprojectstype.md | 2 +- .../editprojectenvcontenthinttype.md | 2 +- docs/models/editprojectenvrequest.md | 35 + docs/models/editprojectenvrequestbody.md | 33 + docs/models/editprojectenvresponsebody.md | 23 + docs/models/editprojectenvresponsebody1.md | 37 + .../editprojectenvresponsebody2.md | 2 +- .../editprojectenvresponsebodycontenthint.md | 143 + ...ojectenvresponsebodyinternalcontenthint.md | 4 +- .../editprojectenvresponsebodyprojectstype.md | 2 +- .../editprojectenvresponsebodytarget.md | 19 + docs/models/editprojectenvresponsebodytype.md | 15 + docs/models/editprojectenvtarget.md | 15 + docs/models/editprojectenvtarget2.md | 15 + docs/models/editprojectenvtype.md | 17 + docs/models/eight.md | 23 + docs/models/eleven.md | 25 + docs/models/emailinvitecodes.md | 26 + docs/models/{operations => }/encoding.md | 2 +- docs/models/entitlements.md | 17 + docs/models/env.md | 38 + docs/models/environments.md | 15 + .../{operations => }/environmentvariables.md | 6 +- docs/models/envs.md | 35 + docs/models/erl.md | 25 + docs/models/errort.md | 16 + docs/models/{operations => }/event.md | 2 +- docs/models/event1.md | 18 + docs/models/event2.md | 21 + docs/models/{operations => }/events.md | 4 +- docs/models/eventtype.md | 15 + .../exchangessotokenrequestbody.md | 2 +- .../exchangessotokenresponsebody.md | 2 +- docs/models/failed.md | 20 + docs/models/favoriteprojectsandspaces.md | 25 + docs/models/favoritesviewpreference.md | 15 + docs/models/fcp.md | 21 + docs/models/featureblocks.md | 17 + docs/models/fifteen.md | 19 + docs/models/files.md | 22 + docs/models/{components => }/filetree.md | 8 +- docs/models/filterprojectenvscontenthint1.md | 19 + docs/models/filterprojectenvscontenthint10.md | 19 + docs/models/filterprojectenvscontenthint11.md | 19 + docs/models/filterprojectenvscontenthint12.md | 19 + docs/models/filterprojectenvscontenthint13.md | 19 + docs/models/filterprojectenvscontenthint14.md | 25 + docs/models/filterprojectenvscontenthint15.md | 19 + docs/models/filterprojectenvscontenthint2.md | 19 + docs/models/filterprojectenvscontenthint3.md | 19 + docs/models/filterprojectenvscontenthint4.md | 19 + docs/models/filterprojectenvscontenthint5.md | 19 + docs/models/filterprojectenvscontenthint6.md | 19 + docs/models/filterprojectenvscontenthint7.md | 19 + docs/models/filterprojectenvscontenthint8.md | 19 + docs/models/filterprojectenvscontenthint9.md | 19 + .../filterprojectenvscontenthintprojects1.md | 19 + .../filterprojectenvscontenthintprojects10.md | 19 + .../filterprojectenvscontenthintprojects11.md | 19 + .../filterprojectenvscontenthintprojects12.md | 19 + .../filterprojectenvscontenthintprojects13.md | 19 + .../filterprojectenvscontenthintprojects14.md | 25 + .../filterprojectenvscontenthintprojects15.md | 19 + .../filterprojectenvscontenthintprojects2.md | 19 + .../filterprojectenvscontenthintprojects3.md | 19 + .../filterprojectenvscontenthintprojects4.md | 19 + .../filterprojectenvscontenthintprojects5.md | 19 + .../filterprojectenvscontenthintprojects6.md | 19 + .../filterprojectenvscontenthintprojects7.md | 19 + .../filterprojectenvscontenthintprojects8.md | 19 + .../filterprojectenvscontenthintprojects9.md | 19 + ...projectenvscontenthintprojectsresponse1.md | 19 + ...rojectenvscontenthintprojectsresponse10.md | 19 + ...rojectenvscontenthintprojectsresponse11.md | 19 + ...rojectenvscontenthintprojectsresponse12.md | 19 + ...rojectenvscontenthintprojectsresponse13.md | 19 + ...rojectenvscontenthintprojectsresponse14.md | 25 + ...rojectenvscontenthintprojectsresponse15.md | 19 + ...projectenvscontenthintprojectsresponse2.md | 19 + ...se200applicationjsonresponsebody110type.md | 2 +- ...se200applicationjsonresponsebody111type.md | 2 +- ...se200applicationjsonresponsebody112type.md | 2 +- ...se200applicationjsonresponsebody113type.md | 2 +- ...se200applicationjsonresponsebody114type.md | 2 +- ...se200applicationjsonresponsebody115type.md | 2 +- ...nse200applicationjsonresponsebody18type.md | 2 +- ...nse200applicationjsonresponsebody19type.md | 2 +- ...onse200applicationjsonresponsebody1type.md | 2 +- ...0applicationjsonresponsebody2envs10type.md | 2 +- ...0applicationjsonresponsebody2envs11type.md | 2 +- ...0applicationjsonresponsebody2envs12type.md | 2 +- ...0applicationjsonresponsebody2envs13type.md | 2 +- ...0applicationjsonresponsebody2envs14type.md | 2 +- ...0applicationjsonresponsebody2envs15type.md | 2 +- ...00applicationjsonresponsebody2envs3type.md | 2 +- ...00applicationjsonresponsebody2envs4type.md | 2 +- ...00applicationjsonresponsebody2envs5type.md | 2 +- ...00applicationjsonresponsebody2envs6type.md | 2 +- ...00applicationjsonresponsebody2envs7type.md | 2 +- ...00applicationjsonresponsebody2envs8type.md | 2 +- ...00applicationjsonresponsebody2envs9type.md | 2 +- ...200applicationjsonresponsebody2envstype.md | 2 +- ...onse200applicationjsonresponsebody2type.md | 2 +- ...0applicationjsonresponsebody3envs10type.md | 2 +- ...0applicationjsonresponsebody3envs11type.md | 2 +- ...0applicationjsonresponsebody3envs12type.md | 2 +- ...0applicationjsonresponsebody3envs13type.md | 2 +- ...0applicationjsonresponsebody3envs14type.md | 2 +- ...0applicationjsonresponsebody3envs15type.md | 2 +- ...00applicationjsonresponsebody3envs3type.md | 2 +- ...00applicationjsonresponsebody3envs4type.md | 2 +- ...00applicationjsonresponsebody3envs5type.md | 2 +- ...00applicationjsonresponsebody3envs6type.md | 2 +- ...00applicationjsonresponsebody3envs7type.md | 2 +- ...00applicationjsonresponsebody3envs8type.md | 2 +- ...00applicationjsonresponsebody3envs9type.md | 2 +- ...200applicationjsonresponsebody3envstype.md | 2 +- ...onse200applicationjsonresponsebody3type.md | 2 +- ...ponse200applicationjsonresponsebodytype.md | 2 +- ...tprojectsresponse200applicationjsontype.md | 2 +- ...tenvscontenthintprojectsresponse200type.md | 2 +- ...projectenvscontenthintprojectsresponse3.md | 19 + ...projectenvscontenthintprojectsresponse4.md | 19 + ...projectenvscontenthintprojectsresponse5.md | 19 + ...projectenvscontenthintprojectsresponse6.md | 19 + ...projectenvscontenthintprojectsresponse7.md | 19 + ...projectenvscontenthintprojectsresponse8.md | 19 + ...projectenvscontenthintprojectsresponse9.md | 19 + ...jectenvscontenthintprojectsresponsetype.md | 2 +- ...ilterprojectenvscontenthintprojectstype.md | 2 +- .../filterprojectenvscontenthinttype.md | 2 +- .../filterprojectenvsrequest.md | 4 +- docs/models/filterprojectenvsresponsebody.md | 38 + docs/models/filterprojectenvsresponsebody1.md | 35 + .../filterprojectenvsresponsebody2.md | 6 +- docs/models/filterprojectenvsresponsebody3.md | 21 + ...ilterprojectenvsresponsebodycontenthint.md | 143 + ...jectenvsresponsebodyinternalcontenthint.md | 21 + ...jectenvsresponsebodyprojectscontenthint.md | 143 + ...responsebodyprojectsinternalcontenthint.md | 21 + ...projectsresponse200applicationjson3type.md | 2 +- ...yprojectsresponse200applicationjsontype.md | 2 +- ...envsresponsebodyprojectsresponse200type.md | 15 + ...tenvsresponsebodyprojectsresponsetarget.md | 19 + ...ectenvsresponsebodyprojectsresponsetype.md | 15 + ...erprojectenvsresponsebodyprojectstarget.md | 19 + ...lterprojectenvsresponsebodyprojectstype.md | 2 +- .../filterprojectenvsresponsebodytarget.md | 19 + .../filterprojectenvsresponsebodytype.md | 15 + docs/models/filterprojectenvstarget1.md | 15 + docs/models/filterprojectenvstarget2.md | 15 + .../filterprojectenvstargetprojects1.md | 2 +- .../filterprojectenvstargetprojects2.md | 2 +- ...ilterprojectenvstargetprojectsresponse2.md | 2 +- docs/models/firewallroutes.md | 21 + docs/models/five.md | 24 + docs/models/{components => }/flagjsonvalue.md | 2 +- docs/models/flags.md | 21 + docs/models/flags1.md | 19 + docs/models/{operations => }/flags2.md | 2 +- docs/models/flagsdefinitions.md | 17 + docs/models/flagsoptions.md | 18 + docs/models/forcenew.md | 17 + docs/models/four.md | 23 + docs/models/fourteen.md | 25 + docs/models/{operations => }/framework.md | 2 +- docs/models/functiondefaultmemorytype.md | 15 + docs/models/{operations => }/functions.md | 2 +- docs/models/gen.md | 21 + docs/models/{operations => }/generate.md | 2 +- .../{operations => }/getaccountinforequest.md | 2 +- docs/models/getaccountinforesponsebody.md | 22 + .../{operations => }/getaliascreator.md | 2 +- docs/models/getaliasprotectionbypass.md | 48 + ...iasprotectionbypassaliasesresponsescope.md | 2 +- .../getaliasprotectionbypassaliasesscope.md | 2 +- .../getaliasprotectionbypassscope.md | 2 +- .../{operations => }/getaliasrequest.md | 2 +- .../{operations => }/getaliasresponsebody.md | 8 +- ...schecksresponse200applicationjsonsource.md | 2 +- .../getallcheckschecksresponse200source.md | 2 +- .../getallcheckschecksresponsesource.md | 2 +- docs/models/getallcheckscheckssource.md | 15 + docs/models/getallcheckscls.md | 20 + docs/models/getallchecksconclusion.md | 15 + docs/models/getallchecksfcp.md | 20 + docs/models/getallcheckslcp.md | 20 + docs/models/getallchecksmetrics.md | 36 + docs/models/getallchecksoutput.md | 15 + .../{operations => }/getallchecksrequest.md | 2 +- docs/models/getallchecksresponsebody.md | 27 + docs/models/getallcheckssource.md | 15 + docs/models/getallchecksstatus.md | 15 + docs/models/getallcheckstbt.md | 20 + .../getallchecksvirtualexperiencescore.md | 20 + docs/models/getalllogdrainscreatedfrom.md | 15 + docs/models/getalllogdrainsdeliveryformat.md | 15 + docs/models/getalllogdrainsdisabledreason.md | 15 + .../getalllogdrainsenvironments.md | 2 +- .../getalllogdrainsrequest.md | 2 +- docs/models/getalllogdrainsresponsebody.md | 50 + docs/models/getalllogdrainssources.md | 15 + docs/models/getalllogdrainsstatus.md | 15 + .../{operations => }/getauthtokenrequest.md | 2 +- docs/models/getauthtokenresponsebody.md | 27 + docs/models/getauthuserresponsebody.md | 36 + .../{operations => }/getcertbyidrequest.md | 2 +- .../getcertbyidresponsebody.md | 6 +- ...kchecksresponse200applicationjsonsource.md | 2 +- .../getcheckchecksresponse200source.md | 2 +- .../getcheckchecksresponsesource.md | 2 +- docs/models/getcheckcheckssource.md | 15 + docs/models/getcheckcls.md | 20 + docs/models/getcheckconclusion.md | 15 + docs/models/getcheckfcp.md | 20 + docs/models/getchecklcp.md | 20 + docs/models/getcheckmetrics.md | 36 + docs/models/getcheckoutput.md | 15 + .../{operations => }/getcheckrequest.md | 2 +- docs/models/getcheckresponsebody.md | 39 + docs/models/getchecksource.md | 15 + docs/models/getcheckstatus.md | 15 + docs/models/getchecktbt.md | 20 + docs/models/getcheckvirtualexperiencescore.md | 20 + .../getconfigurablelogdraincreatedfrom.md | 2 +- .../getconfigurablelogdraindeliveryformat.md | 2 +- .../getconfigurablelogdrainenvironments.md | 15 + .../getconfigurablelogdrainrequest.md | 2 +- .../getconfigurablelogdrainresponsebody.md | 51 + docs/models/getconfigurablelogdrainsources.md | 15 + docs/models/getconfigurablelogdrainstatus.md | 15 + .../getconfigurationrequest.md | 2 +- .../getconfigurationresponsebody.md | 8 +- .../getconfigurationresponsebody1.md | 12 +- .../getconfigurationresponsebody2.md | 12 +- ...getconfigurationresponsebodybillingplan.md | 31 + .../getconfigurationresponsebodydetails.md | 2 +- ...configurationresponsebodydisabledreason.md | 15 + ...urationresponsebodyheightlighteddetails.md | 2 +- ...nfigurationresponsebodyinstallationtype.md | 4 +- ...nresponsebodyintegrationsdisabledreason.md | 4 +- ...esponsebodyintegrationsinstallationtype.md | 4 +- ...ionresponsebodyintegrationsresponsetype.md | 5 +- ...igurationresponsebodyintegrationssource.md | 2 +- ...nfigurationresponsebodyintegrationstype.md | 2 +- .../getconfigurationresponsebodyquote.md | 4 +- .../getconfigurationresponsebodyscope.md | 15 + .../getconfigurationresponsebodysource.md | 2 +- .../getconfigurationresponsebodytype.md | 2 +- docs/models/getconfigurationsrequest.md | 21 + .../getconfigurationsresponsebody.md | 8 +- .../getconfigurationsresponsebody1.md | 12 +- .../getconfigurationsresponsebody2.md | 14 +- ...onfigurationsresponsebodydisabledreason.md | 4 +- ...figurationsresponsebodyinstallationtype.md | 4 +- ...responsebodyintegrationsresponse200type.md | 2 +- ...onsresponsebodyintegrationsresponsetype.md | 2 +- ...gurationsresponsebodyintegrationssource.md | 2 +- ...figurationsresponsebodyintegrationstype.md | 2 +- .../getconfigurationsresponsebodyscope.md | 2 +- .../getconfigurationsresponsebodysource.md | 2 +- .../getconfigurationsresponsebodytype.md | 2 +- .../getdeploymentcustomenvironment1.md | 2 +- .../getdeploymentcustomenvironment2.md | 2 +- ...deploymentcustomenvironmentdeployments1.md | 2 +- ...deploymentcustomenvironmentdeployments2.md | 2 +- .../getdeploymenteventsrequest.md | 6 +- .../getdeploymentfilecontentsrequest.md | 2 +- docs/models/getdeploymentflags1.md | 19 + .../{operations => }/getdeploymentflags2.md | 2 +- docs/models/getdeploymentflagsdefinitions.md | 17 + docs/models/getdeploymentflagsoptions.md | 18 + docs/models/getdeploymentgitrepo1.md | 33 + docs/models/getdeploymentgitrepo2.md | 35 + docs/models/getdeploymentgitrepo3.md | 35 + ...etdeploymentgitrepodeploymentsownertype.md | 2 +- ...mentgitrepodeploymentsresponseownertype.md | 2 +- ...eploymentgitrepodeploymentsresponsetype.md | 2 +- .../getdeploymentgitrepodeploymentstype.md | 2 +- .../getdeploymentgitrepoownertype.md | 2 +- docs/models/getdeploymentgitrepotype.md | 15 + docs/models/getdeploymentgitsource1.md | 22 + docs/models/getdeploymentgitsource2.md | 24 + docs/models/getdeploymentgitsource3.md | 22 + docs/models/getdeploymentgitsource4.md | 23 + docs/models/getdeploymentgitsource5.md | 24 + docs/models/getdeploymentgitsource6.md | 25 + docs/models/getdeploymentgitsource7.md | 25 + docs/models/getdeploymentgitsource8.md | 23 + docs/models/getdeploymentgitsource9.md | 27 + .../getdeploymentgitsourcedeployments1.md | 22 + .../getdeploymentgitsourcedeployments2.md | 24 + .../getdeploymentgitsourcedeployments3.md | 22 + .../getdeploymentgitsourcedeployments4.md | 23 + .../getdeploymentgitsourcedeployments5.md | 24 + .../getdeploymentgitsourcedeployments6.md | 25 + .../getdeploymentgitsourcedeployments7.md | 25 + .../getdeploymentgitsourcedeployments8.md | 23 + .../getdeploymentgitsourcedeployments9.md | 27 + ...deploymentgitsourcedeploymentsprojectid.md | 0 ...getdeploymentgitsourcedeploymentsrepoid.md | 0 ...nse200applicationjsonresponsebody11type.md | 2 +- ...nse200applicationjsonresponsebody19type.md | 2 +- ...onse200applicationjsonresponsebody1type.md | 2 +- ...nse200applicationjsonresponsebody22type.md | 2 +- ...nse200applicationjsonresponsebody23type.md | 2 +- ...nse200applicationjsonresponsebody24type.md | 2 +- ...nse200applicationjsonresponsebody25type.md | 2 +- ...nse200applicationjsonresponsebody26type.md | 2 +- ...nse200applicationjsonresponsebody27type.md | 2 +- ...nse200applicationjsonresponsebody28type.md | 2 +- ...nse200applicationjsonresponsebody29type.md | 2 +- ...onse200applicationjsonresponsebody2type.md | 2 +- ...ponse200applicationjsonresponsebodytype.md | 2 +- ...ploymentsresponse200applicationjsontype.md | 2 +- ...mentgitsourcedeploymentsresponse200type.md | 2 +- ...loymentgitsourcedeploymentsresponsetype.md | 2 +- .../getdeploymentgitsourcedeploymentstype.md | 2 +- .../getdeploymentgitsourceprojectid.md | 0 .../getdeploymentgitsourcerepoid.md | 0 docs/models/getdeploymentgitsourcetype.md | 15 + docs/models/getdeploymenthas1.md | 19 + docs/models/getdeploymenthas2.md | 20 + .../getdeploymenthasdeploymentstype.md | 2 +- docs/models/getdeploymenthastype.md | 15 + .../getdeploymentmicrofrontends1.md | 2 +- .../getdeploymentmicrofrontends2.md | 4 +- ...getdeploymentmicrofrontendsapplications.md | 2 +- docs/models/getdeploymentmissing1.md | 19 + docs/models/getdeploymentmissing2.md | 20 + .../getdeploymentmissingdeploymentstype.md | 2 +- docs/models/getdeploymentmissingtype.md | 15 + .../{operations => }/getdeploymentrequest.md | 2 +- .../getdeploymentresponsebody.md | 8 +- .../getdeploymentresponsebody1.md | 61 +- .../getdeploymentresponsebody2.md | 37 +- .../getdeploymentresponsebodyaliaserror.md | 2 +- .../getdeploymentresponsebodyaliaswarning.md | 2 +- ...tdeploymentresponsebodychecksconclusion.md | 2 +- .../getdeploymentresponsebodychecksstate.md | 2 +- .../getdeploymentresponsebodycreator.md | 2 +- ...deploymentresponsebodycustomenvironment.md | 19 + ...oymentresponsebodydeploymentsreadystate.md | 2 +- ...sponsebodydeploymentsresponsereadystate.md | 2 +- ...deploymentresponsebodydeploymentsstatus.md | 2 +- .../getdeploymentresponsebodygitsource.md | 97 + .../getdeploymentresponsebodylambdas.md | 29 + ...etdeploymentresponsebodyoidctokenclaims.md | 2 +- .../getdeploymentresponsebodyoutput.md | 2 +- .../getdeploymentresponsebodyproject.md | 2 +- .../getdeploymentresponsebodyreadystate.md | 2 +- .../getdeploymentresponsebodyreadysubstate.md | 2 +- .../getdeploymentresponsebodysource.md | 2 +- .../getdeploymentresponsebodystatus.md | 2 +- .../getdeploymentresponsebodytarget.md | 2 +- .../getdeploymentresponsebodyteam.md | 2 +- .../getdeploymentresponsebodytype.md | 2 +- .../{operations => }/getdeploymentroutes1.md | 8 +- docs/models/getdeploymentroutes2.md | 20 + .../{operations => }/getdeploymentroutes3.md | 2 +- docs/models/getdeploymentrouteshandle.md | 15 + docs/models/getdeploymentrouteshas.md | 23 + .../getdeploymentrouteslocale.md | 2 +- docs/models/getdeploymentroutesmissing.md | 23 + .../getdeploymentsaliasassigned.md | 2 +- .../getdeploymentsaliaserror.md | 2 +- .../getdeploymentschecksconclusion.md | 2 +- docs/models/getdeploymentschecksstate.md | 17 + .../{operations => }/getdeploymentscreator.md | 2 +- .../getdeploymentscustomenvironment.md | 4 +- .../getdeploymentsframework.md | 4 +- .../getdeploymentsgitcomments.md | 2 +- docs/models/getdeploymentsnodeversion.md | 15 + docs/models/getdeploymentsprojectsettings.md | 35 + docs/models/getdeploymentsreadystate.md | 17 + .../getdeploymentsreadysubstate.md | 4 +- .../{operations => }/getdeploymentsrequest.md | 2 +- .../getdeploymentsresponsebody.md | 6 +- .../{operations => }/getdeploymentssource.md | 2 +- .../getdeploymentsspeedinsights.md | 2 +- docs/models/getdeploymentsstate.md | 17 + docs/models/getdeploymentstarget.md | 17 + docs/models/getdeploymentstype.md | 17 + .../getdeploymentswebanalytics.md | 2 +- .../getdomainconfigrequest.md | 4 +- .../getdomainconfigresponsebody.md | 6 +- .../{operations => }/getdomaincreator.md | 2 +- .../{operations => }/getdomaindomain.md | 6 +- .../{operations => }/getdomainrequest.md | 2 +- docs/models/getdomainresponsebody.md | 51 + .../{operations => }/getdomainscreator.md | 2 +- .../{operations => }/getdomainsrequest.md | 2 +- .../getdomainsresponsebody.md | 6 +- .../{operations => }/getdomainsservicetype.md | 2 +- .../getdomaintransferrequest.md | 2 +- .../getdomaintransferresponsebody.md | 8 +- .../getdomaintransferstatus.md | 4 +- .../getedgeconfigbackuprequest.md | 2 +- .../models/getedgeconfigbackupresponsebody.md | 42 + .../getedgeconfigbackupresponsebody1.md | 31 + .../getedgeconfigbackupresponsebody2.md | 34 + .../getedgeconfigbackupresponsebodyitems.md | 22 + .../getedgeconfigbackupresponsebodyuser.md | 6 +- .../getedgeconfigbackupsmetadata.md | 2 +- .../getedgeconfigbackupspagination.md | 2 +- .../getedgeconfigbackupsrequest.md | 2 +- .../getedgeconfigbackupsresponsebody.md | 26 + .../getedgeconfigitemrequest.md | 2 +- .../getedgeconfigitemsrequest.md | 2 +- docs/models/getedgeconfigpurpose.md | 19 + .../{operations => }/getedgeconfigrequest.md | 2 +- .../getedgeconfigresponsebody.md | 12 +- docs/models/getedgeconfigschema.md | 14 + .../getedgeconfigschemarequest.md | 2 +- .../getedgeconfigschemaresponsebody.md | 2 +- .../{operations => }/getedgeconfigsrequest.md | 2 +- .../getedgeconfigsresponsebody.md | 12 +- docs/models/getedgeconfigstype.md | 15 + .../getedgeconfigtokenrequest.md | 2 +- .../getedgeconfigtokensrequest.md | 2 +- .../{operations => }/getedgeconfigtransfer.md | 6 +- docs/models/getedgeconfigtype.md | 15 + docs/models/getfirewallconfigaction.md | 15 + docs/models/getfirewallconfigalgo.md | 15 + .../models/getfirewallconfigconditiongroup.md | 22 + docs/models/getfirewallconfigconditions.md | 22 + docs/models/getfirewallconfigcrs.md | 72 + docs/models/getfirewallconfiggen.md | 21 + docs/models/getfirewallconfigips.md | 24 + docs/models/getfirewallconfigjava.md | 21 + docs/models/getfirewallconfiglfi.md | 21 + docs/models/getfirewallconfigma.md | 21 + docs/models/getfirewallconfigmanagedrules.md | 16 + docs/models/getfirewallconfigmitigate.md | 20 + docs/models/getfirewallconfigop.md | 17 + .../getfirewallconfigowasp.md | 2 +- docs/models/getfirewallconfigphp.md | 21 + docs/models/getfirewallconfigratelimit.md | 26 + docs/models/getfirewallconfigrce.md | 21 + .../getfirewallconfigredirect.md | 2 +- .../getfirewallconfigrequest.md | 2 +- docs/models/getfirewallconfigresponsebody.md | 107 + docs/models/getfirewallconfigrfi.md | 21 + docs/models/getfirewallconfigrules.md | 35 + docs/models/getfirewallconfigsd.md | 21 + .../getfirewallconfigsecurityaction.md | 2 +- ...firewallconfigsecurityresponse200action.md | 15 + ...ecurityresponse200applicationjsonaction.md | 2 +- ...nse200applicationjsonresponsebodyaction.md | 5 +- ...200applicationjsonresponsebodycrsaction.md | 2 +- ...pplicationjsonresponsebodycrsjavaaction.md | 4 +- ...0applicationjsonresponsebodycrsmaaction.md | 2 +- ...0applicationjsonresponsebodycrssdaction.md | 4 +- ...0applicationjsonresponsebodycrssfaction.md | 2 +- ...pplicationjsonresponsebodycrssqliaction.md | 2 +- ...applicationjsonresponsebodycrsxssaction.md | 4 +- ...0applicationjsonresponsebodyrulesaction.md | 4 +- ...cationjsonresponsebodyrulesactionaction.md | 4 +- ...getfirewallconfigsecurityresponseaction.md | 2 +- docs/models/getfirewallconfigsf.md | 21 + docs/models/getfirewallconfigsqli.md | 21 + docs/models/getfirewallconfigtype.md | 17 + .../getfirewallconfigvalue.md | 2 +- docs/models/getfirewallconfigxss.md | 21 + .../getintegrationlogdrainsdeliveryformat.md | 2 +- .../getintegrationlogdrainsenvironments.md | 2 +- .../getintegrationlogdrainsrequest.md | 2 +- .../getintegrationlogdrainsresponsebody.md | 86 + .../getintegrationlogdrainssources.md | 2 +- .../{operations => }/getinvoicediscounts.md | 4 +- .../{operations => }/getinvoiceitems.md | 6 +- .../{operations => }/getinvoiceperiod.md | 2 +- .../{operations => }/getinvoicerequest.md | 2 +- docs/models/getinvoiceresponsebody.md | 51 + .../{operations => }/getmemberrequest.md | 2 +- docs/models/getmemberresponsebody.md | 19 + docs/models/getmemberrole.md | 15 + .../getprojectdomainrequest.md | 2 +- .../getprojectdomainresponsebody.md | 4 +- .../getprojectdomainsdomains.md | 4 +- .../getprojectdomainsrequest.md | 12 +- .../getprojectdomainsresponsebody.md | 6 +- .../getprojectdomainsverification.md | 2 +- docs/models/getprojectenvcontenthint1.md | 19 + docs/models/getprojectenvcontenthint10.md | 19 + docs/models/getprojectenvcontenthint11.md | 19 + docs/models/getprojectenvcontenthint12.md | 19 + docs/models/getprojectenvcontenthint13.md | 19 + docs/models/getprojectenvcontenthint14.md | 25 + docs/models/getprojectenvcontenthint15.md | 19 + docs/models/getprojectenvcontenthint2.md | 19 + docs/models/getprojectenvcontenthint3.md | 19 + docs/models/getprojectenvcontenthint4.md | 19 + docs/models/getprojectenvcontenthint5.md | 19 + docs/models/getprojectenvcontenthint6.md | 19 + docs/models/getprojectenvcontenthint7.md | 19 + docs/models/getprojectenvcontenthint8.md | 19 + docs/models/getprojectenvcontenthint9.md | 19 + .../getprojectenvcontenthintprojects1.md | 19 + .../getprojectenvcontenthintprojects10.md | 19 + .../getprojectenvcontenthintprojects11.md | 19 + .../getprojectenvcontenthintprojects12.md | 19 + .../getprojectenvcontenthintprojects13.md | 19 + .../getprojectenvcontenthintprojects14.md | 25 + .../getprojectenvcontenthintprojects15.md | 19 + .../getprojectenvcontenthintprojects2.md | 19 + .../getprojectenvcontenthintprojects3.md | 19 + .../getprojectenvcontenthintprojects4.md | 19 + .../getprojectenvcontenthintprojects5.md | 19 + .../getprojectenvcontenthintprojects6.md | 19 + .../getprojectenvcontenthintprojects7.md | 19 + .../getprojectenvcontenthintprojects8.md | 19 + .../getprojectenvcontenthintprojects9.md | 19 + ...tprojectenvcontenthintprojectsresponse1.md | 19 + ...projectenvcontenthintprojectsresponse10.md | 19 + ...projectenvcontenthintprojectsresponse11.md | 19 + ...projectenvcontenthintprojectsresponse12.md | 19 + ...projectenvcontenthintprojectsresponse13.md | 19 + ...projectenvcontenthintprojectsresponse14.md | 25 + ...projectenvcontenthintprojectsresponse15.md | 19 + ...tprojectenvcontenthintprojectsresponse2.md | 19 + ...se200applicationjsonresponsebody110type.md | 2 +- ...se200applicationjsonresponsebody111type.md | 2 +- ...se200applicationjsonresponsebody112type.md | 2 +- ...se200applicationjsonresponsebody113type.md | 2 +- ...se200applicationjsonresponsebody114type.md | 2 +- ...se200applicationjsonresponsebody115type.md | 2 +- ...nse200applicationjsonresponsebody18type.md | 2 +- ...nse200applicationjsonresponsebody19type.md | 2 +- ...onse200applicationjsonresponsebody1type.md | 2 +- ...se200applicationjsonresponsebody210type.md | 2 +- ...se200applicationjsonresponsebody211type.md | 2 +- ...se200applicationjsonresponsebody212type.md | 2 +- ...se200applicationjsonresponsebody213type.md | 2 +- ...se200applicationjsonresponsebody214type.md | 2 +- ...se200applicationjsonresponsebody215type.md | 2 +- ...nse200applicationjsonresponsebody22type.md | 2 +- ...nse200applicationjsonresponsebody23type.md | 2 +- ...nse200applicationjsonresponsebody24type.md | 2 +- ...nse200applicationjsonresponsebody25type.md | 2 +- ...nse200applicationjsonresponsebody26type.md | 2 +- ...nse200applicationjsonresponsebody27type.md | 2 +- ...nse200applicationjsonresponsebody28type.md | 2 +- ...nse200applicationjsonresponsebody29type.md | 2 +- ...onse200applicationjsonresponsebody2type.md | 2 +- ...se200applicationjsonresponsebody310type.md | 2 +- ...se200applicationjsonresponsebody311type.md | 2 +- ...se200applicationjsonresponsebody312type.md | 2 +- ...se200applicationjsonresponsebody313type.md | 2 +- ...se200applicationjsonresponsebody314type.md | 2 +- ...se200applicationjsonresponsebody315type.md | 2 +- ...nse200applicationjsonresponsebody32type.md | 2 +- ...nse200applicationjsonresponsebody33type.md | 2 +- ...nse200applicationjsonresponsebody34type.md | 2 +- ...nse200applicationjsonresponsebody35type.md | 2 +- ...nse200applicationjsonresponsebody36type.md | 2 +- ...nse200applicationjsonresponsebody37type.md | 2 +- ...nse200applicationjsonresponsebody38type.md | 2 +- ...nse200applicationjsonresponsebody39type.md | 2 +- ...onse200applicationjsonresponsebody3type.md | 2 +- ...ponse200applicationjsonresponsebodytype.md | 2 +- ...tprojectsresponse200applicationjsontype.md | 2 +- ...ctenvcontenthintprojectsresponse200type.md | 2 +- ...tprojectenvcontenthintprojectsresponse3.md | 19 + ...tprojectenvcontenthintprojectsresponse4.md | 19 + ...tprojectenvcontenthintprojectsresponse5.md | 19 + ...tprojectenvcontenthintprojectsresponse6.md | 19 + ...tprojectenvcontenthintprojectsresponse7.md | 19 + ...tprojectenvcontenthintprojectsresponse8.md | 19 + ...tprojectenvcontenthintprojectsresponse9.md | 19 + ...ojectenvcontenthintprojectsresponsetype.md | 2 +- .../getprojectenvcontenthintprojectstype.md | 2 +- .../getprojectenvcontenthinttype.md | 2 +- .../{operations => }/getprojectenvrequest.md | 2 +- docs/models/getprojectenvresponsebody.md | 35 + docs/models/getprojectenvresponsebody1.md | 37 + docs/models/getprojectenvresponsebody2.md | 38 + docs/models/getprojectenvresponsebody3.md | 37 + .../getprojectenvresponsebodycontenthint.md | 143 + ...ojectenvresponsebodyinternalcontenthint.md | 21 + ...ojectenvresponsebodyprojectscontenthint.md | 143 + ...responsebodyprojectsinternalcontenthint.md | 21 + ...projectsresponse200applicationjson3type.md | 2 +- ...yprojectsresponse200applicationjsontype.md | 2 +- ...tenvresponsebodyprojectsresponse200type.md | 2 +- ...responsebodyprojectsresponsecontenthint.md | 143 + ...bodyprojectsresponseinternalcontenthint.md | 21 + ...ctenvresponsebodyprojectsresponsetarget.md | 19 + ...jectenvresponsebodyprojectsresponsetype.md | 2 +- ...getprojectenvresponsebodyprojectstarget.md | 19 + .../getprojectenvresponsebodyprojectstype.md | 2 +- .../models/getprojectenvresponsebodytarget.md | 19 + .../getprojectenvresponsebodytype.md | 2 +- docs/models/getprojectenvtarget1.md | 15 + docs/models/getprojectenvtarget2.md | 15 + .../getprojectenvtargetprojects1.md | 2 +- .../getprojectenvtargetprojects2.md | 2 +- .../getprojectenvtargetprojectsresponse2.md | 2 +- .../getprojectmembersrequest.md | 2 +- docs/models/getprojectmembersresponsebody.md | 39 + .../getprojectmembersresponsebody1.md | 2 +- docs/models/getprojectmembersresponsebody2.md | 38 + ...getprojectmembersresponsebodypagination.md | 2 +- .../getprojectmembersresponsebodyrole.md | 2 +- docs/models/getprojectsaction.md | 15 + docs/models/getprojectsalgo.md | 15 + .../getprojectsaliasassigned.md | 2 +- .../{operations => }/getprojectsaliaserror.md | 2 +- .../{operations => }/getprojectsanalytics.md | 6 +- docs/models/getprojectsbranchmatcher.md | 19 + .../{operations => }/getprojectsbuilds.md | 2 +- docs/models/getprojectschecksconclusion.md | 15 + docs/models/getprojectschecksstate.md | 15 + docs/models/getprojectscontenthint.md | 143 + docs/models/getprojectscontenthint1.md | 19 + docs/models/getprojectscontenthint10.md | 19 + docs/models/getprojectscontenthint11.md | 19 + docs/models/getprojectscontenthint12.md | 19 + docs/models/getprojectscontenthint13.md | 19 + docs/models/getprojectscontenthint14.md | 25 + docs/models/getprojectscontenthint15.md | 19 + docs/models/getprojectscontenthint2.md | 19 + docs/models/getprojectscontenthint3.md | 19 + docs/models/getprojectscontenthint4.md | 19 + docs/models/getprojectscontenthint5.md | 19 + docs/models/getprojectscontenthint6.md | 19 + docs/models/getprojectscontenthint7.md | 19 + docs/models/getprojectscontenthint8.md | 19 + docs/models/getprojectscontenthint9.md | 19 + ...cationjsonresponsebodyprojectsenv10type.md | 2 +- ...cationjsonresponsebodyprojectsenv11type.md | 2 +- ...cationjsonresponsebodyprojectsenv12type.md | 2 +- ...cationjsonresponsebodyprojectsenv13type.md | 2 +- ...cationjsonresponsebodyprojectsenv14type.md | 2 +- ...cationjsonresponsebodyprojectsenv15type.md | 2 +- ...icationjsonresponsebodyprojectsenv9type.md | 2 +- ...licationjsonresponsebodyprojectsenvtype.md | 2 +- ...applicationjsonresponsebodyprojectstype.md | 2 +- ...ponse200applicationjsonresponsebodytype.md | 2 +- ...tprojectsresponse200applicationjsontype.md | 2 +- ...jectscontenthintprojectsresponse200type.md | 2 +- ...projectscontenthintprojectsresponsetype.md | 2 +- .../getprojectscontenthintprojectstype.md | 2 +- docs/models/getprojectscontenthinttype.md | 15 + .../{operations => }/getprojectscreator.md | 6 +- .../{operations => }/getprojectscrons.md | 10 +- .../getprojectscustomenvironments.md | 2 +- .../{operations => }/getprojectsdatacache.md | 2 +- .../getprojectsdefinitions.md | 2 +- .../getprojectsdeploymentexpiration.md | 2 +- docs/models/getprojectsdeploymenttype.md | 15 + docs/models/getprojectsenv.md | 38 + docs/models/getprojectserl.md | 25 + docs/models/getprojectsfirewallroutes.md | 21 + .../{operations => }/getprojectsframework.md | 4 +- .../getprojectsfunctiondefaultmemorytype.md | 15 + .../getprojectsgitcomments.md | 2 +- docs/models/getprojectshandle.md | 15 + docs/models/getprojectshas.md | 19 + docs/models/getprojectsinternalcontenthint.md | 21 + .../{operations => }/getprojectsipbuckets.md | 2 +- docs/models/getprojectsissuermode.md | 17 + docs/models/getprojectsjobstatus.md | 15 + docs/models/getprojectslastaliasrequest.md | 25 + .../getprojectslastrollbacktarget.md | 2 +- docs/models/getprojectslatestdeployments.md | 68 + docs/models/getprojectslink.md | 50 + .../{operations => }/getprojectslink1.md | 8 +- .../{operations => }/getprojectslink2.md | 8 +- docs/models/getprojectslink3.md | 35 + .../getprojectslinkdeployhooks.md | 4 +- .../getprojectslinkprojectsdeployhooks.md | 4 +- ...projectslinkprojectsresponsedeployhooks.md | 4 +- .../getprojectslinkprojectsresponsetype.md | 2 +- .../getprojectslinkprojectstype.md | 2 +- docs/models/getprojectslinktype.md | 15 + .../getprojectsmicrofrontends.md | 4 +- docs/models/getprojectsmissing.md | 19 + docs/models/getprojectsmitigate.md | 21 + docs/models/getprojectsnodeversion.md | 15 + .../getprojectsoidctokenclaims.md | 2 +- docs/models/getprojectsoidctokenconfig.md | 18 + docs/models/getprojectsoptionsallowlist.md | 21 + .../getprojectspasswordprotection.md | 2 +- .../{operations => }/getprojectspaths.md | 2 +- docs/models/getprojectspermissions.md | 196 + docs/models/getprojectsplan.md | 15 + docs/models/getprojectsprojects.md | 144 + .../getprojectsprojectsaliasassigned.md | 2 +- .../getprojectsprojectsaliaserror.md | 2 +- .../getprojectsprojectsbranchmatcher.md | 19 + .../getprojectsprojectsbuilds.md | 2 +- .../getprojectsprojectschecksconclusion.md | 15 + docs/models/getprojectsprojectschecksstate.md | 15 + .../getprojectsprojectscreator.md | 6 +- .../getprojectsprojectsoidctokenclaims.md | 2 +- docs/models/getprojectsprojectsplan.md | 15 + docs/models/getprojectsprojectsreadystate.md | 15 + .../getprojectsprojectsreadysubstate.md | 2 +- ...ebodyprojectssecurityfirewallroutestype.md | 4 +- ...ionjsonresponsebodyprojectssecuritytype.md | 17 + ...applicationjsonresponsebodyprojectstype.md | 2 +- ...ponse200applicationjsonresponsebodytype.md | 4 +- ...sprojectsresponse200applicationjsontype.md | 4 +- .../getprojectsprojectsresponse200type.md | 2 +- .../getprojectsprojectsresponsetype.md | 2 +- docs/models/getprojectsprojectstype.md | 15 + docs/models/getprojectsprojectsvalue.md | 17 + docs/models/getprojectsprotectionbypass.md | 21 + docs/models/getprojectsreadystate.md | 15 + docs/models/getprojectsreadysubstate.md | 15 + .../{operations => }/getprojectsrequest.md | 4 +- docs/models/getprojectsresourceconfig.md | 18 + .../getprojectsresponsebody.md | 6 +- docs/models/getprojectsscope.md | 15 + docs/models/getprojectssecurity.md | 25 + .../getprojectsspeedinsights.md | 2 +- docs/models/getprojectssrc.md | 17 + .../{operations => }/getprojectssrc2.md | 2 +- docs/models/getprojectsssoprotection.md | 17 + docs/models/getprojectstarget.md | 19 + docs/models/getprojectstarget1.md | 15 + docs/models/getprojectstarget2.md | 15 + docs/models/getprojectstargets.md | 68 + docs/models/getprojectstier.md | 15 + docs/models/getprojectstrustedips.md | 27 + docs/models/getprojectstrustedips1.md | 25 + docs/models/getprojectstrustedips2.md | 17 + .../getprojectstrustedipsaddresses.md | 2 +- .../getprojectstrustedipsdeploymenttype.md | 2 +- ...rojectstrustedipsprojectsdeploymenttype.md | 2 +- .../getprojectstrustedipsprotectionmode.md | 2 +- docs/models/getprojectstype.md | 15 + docs/models/getprojectsvalue.md | 17 + .../{operations => }/getprojectsvalue2.md | 2 +- .../getprojectsvalueprojects2.md | 2 +- .../getprojectswebanalytics.md | 2 +- .../{operations => }/getrecordsrequest.md | 2 +- docs/models/getrecordsresponsebody.md | 60 + docs/models/getrecordsresponsebody2.md | 30 + .../getrecordsresponsebodydnstype.md | 4 +- docs/models/getrecordsresponsebodytype.md | 15 + .../getteamaccessrequestbitbucket.md | 2 +- .../getteamaccessrequestgithub.md | 2 +- .../getteamaccessrequestgitlab.md | 2 +- .../getteamaccessrequestgituserid.md | 2 +- docs/models/getteamaccessrequestjoinedfrom.md | 29 + docs/models/getteamaccessrequestorigin.md | 15 + .../getteamaccessrequestrequest.md | 2 +- .../getteamaccessrequestresponsebody.md | 35 + .../getteammembersbitbucket.md | 2 +- .../{operations => }/getteammembersgithub.md | 2 +- .../{operations => }/getteammembersgitlab.md | 2 +- .../getteammembersgituserid.md | 2 +- docs/models/getteammembersjoinedfrom.md | 29 + docs/models/getteammembersmembers.md | 38 + docs/models/getteammembersorigin.md | 15 + .../getteammemberspagination.md | 2 +- docs/models/getteammembersprojects.md | 19 + .../{operations => }/getteammembersrequest.md | 4 +- docs/models/getteammembersresponsebody.md | 37 + docs/models/getteammembersrole.md | 17 + docs/models/getteammembersteamsprojects.md | 15 + .../models/getteammembersteamsresponserole.md | 15 + docs/models/getteammembersteamsrole.md | 15 + .../models/{operations => }/getteamrequest.md | 2 +- .../{operations => }/getteamsrequest.md | 2 +- docs/models/getteamsresponsebody.md | 58 + .../{operations => }/getwebhookevents.md | 2 +- .../{operations => }/getwebhookrequest.md | 2 +- .../getwebhookresponsebody.md | 4 +- .../{operations => }/getwebhooksrequest.md | 2 +- .../getwebhooksresponsebody.md | 8 +- docs/models/getwebhooksresponsebody1.md | 40 + docs/models/getwebhooksresponsebody2.md | 33 + .../getwebhooksresponsebodyevents.md | 2 +- .../getwebhooksresponsebodyframework.md | 4 +- docs/models/gitaccount.md | 19 + docs/models/{operations => }/gitcomments.md | 2 +- docs/models/gitforkprotection.md | 17 + docs/models/{operations => }/github.md | 2 +- docs/models/{operations => }/gitlab.md | 2 +- docs/models/{operations => }/gitmetadata.md | 2 +- .../models/{components => }/gitnamespaceid.md | 2 +- .../{operations => }/gitnamespacesid.md | 2 +- .../{operations => }/gitnamespacesrequest.md | 4 +- docs/models/gitnamespacesresponsebody.md | 27 + docs/models/{operations => }/gitrepo.md | 12 +- docs/models/gitrepo1.md | 33 + docs/models/gitrepo2.md | 35 + docs/models/gitrepo3.md | 35 + docs/models/gitrepoownertype.md | 15 + docs/models/gitrepository.md | 21 + docs/models/gitrepotype.md | 15 + docs/models/gitsource.md | 59 + docs/models/gitsource1.md | 22 + docs/models/gitsource2.md | 24 + docs/models/gitsource3.md | 22 + docs/models/gitsource4.md | 23 + docs/models/gitsource5.md | 24 + docs/models/gitsource6.md | 25 + docs/models/gitsource7.md | 25 + docs/models/gitsource8.md | 23 + docs/models/gitsource9.md | 27 + .../{operations => }/gitsourceprojectid.md | 0 .../{operations => }/gitsourcerepoid.md | 0 docs/models/gitsourcetype.md | 15 + docs/models/gituserid.md | 17 + docs/models/handle.md | 15 + docs/models/has.md | 19 + docs/models/has1.md | 19 + docs/models/has2.md | 20 + docs/models/hastype.md | 15 + .../{operations => }/heightlighteddetails.md | 2 +- docs/models/{operations => }/https.md | 4 +- docs/models/id.md | 15 + .../importflowgitnamespace.md | 2 +- .../importflowgitnamespaceid.md | 2 +- docs/models/importflowgitprovider.md | 15 + docs/models/{operations => }/inlinedfile.md | 4 +- docs/models/installationtype.md | 15 + docs/models/{operations => }/integration.md | 2 +- docs/models/integrations.md | 22 + docs/models/internalcontenthint.md | 21 + docs/models/inviteusertoteamprojects.md | 19 + docs/models/inviteusertoteamrequest.md | 29 + docs/models/inviteusertoteamrequestbody.md | 28 + docs/models/inviteusertoteamresponsebody.md | 28 + .../inviteusertoteamresponsebody1.md | 4 +- docs/models/inviteusertoteamresponsebody2.md | 21 + .../inviteusertoteamresponsebodyrole.md | 15 + docs/models/inviteusertoteamrole.md | 17 + docs/models/inviteusertoteamteamsrole.md | 17 + docs/models/{operations => }/ipbuckets.md | 2 +- docs/models/ips.md | 23 + docs/models/issuecertrequest.md | 19 + .../{operations => }/issuecertrequestbody.md | 2 +- .../{operations => }/issuecertresponsebody.md | 6 +- docs/models/issuermode.md | 17 + docs/models/items.md | 19 + docs/models/{operations => }/items1.md | 6 +- docs/models/{operations => }/items2.md | 6 +- docs/models/java.md | 21 + docs/models/jobstatus.md | 15 + docs/models/joinedfrom.md | 27 + docs/models/jointeamrequest.md | 21 + .../{operations => }/jointeamrequestbody.md | 2 +- .../{operations => }/jointeamresponsebody.md | 2 +- docs/models/lambdas.md | 29 + docs/models/lastaliasrequest.md | 25 + docs/models/lastrollbacktarget.md | 14 + docs/models/latestdeployments.md | 68 + docs/models/lcp.md | 21 + docs/models/lfi.md | 21 + docs/models/{operations => }/link.md | 12 +- docs/models/{operations => }/link1.md | 6 +- docs/models/{operations => }/link2.md | 6 +- docs/models/link3.md | 35 + .../{operations => }/linkdeployhooks.md | 2 +- docs/models/linktype.md | 15 + .../listaccessgroupmemberspagination.md | 19 + .../listaccessgroupmembersrequest.md | 2 +- .../listaccessgroupmembersresponsebody.md | 29 + .../listaccessgroupprojectspagination.md | 2 +- .../listaccessgroupprojectsproject.md | 2 +- .../models/listaccessgroupprojectsprojects.md | 25 + .../listaccessgroupprojectsrequest.md | 2 +- .../listaccessgroupprojectsresponsebody.md | 30 + .../listaccessgroupprojectsrole.md | 2 +- .../listaccessgroupsrequest.md | 2 +- docs/models/listaccessgroupsresponsebody.md | 34 + .../listaccessgroupsresponsebody1.md | 2 +- docs/models/listaccessgroupsresponsebody2.md | 33 + .../{operations => }/listaliasescreator.md | 2 +- .../{operations => }/listaliasesdeployment.md | 2 +- docs/models/listaliasesprotectionbypass.md | 48 + docs/models/listaliasesprotectionbypass1.md | 23 + docs/models/listaliasesprotectionbypass2.md | 27 + docs/models/listaliasesprotectionbypass3.md | 23 + docs/models/listaliasesprotectionbypass4.md | 25 + ...protectionbypassaliasesresponse200scope.md | 2 +- ...sesprotectionbypassaliasesresponsescope.md | 2 +- ...listaliasesprotectionbypassaliasesscope.md | 2 +- .../listaliasesprotectionbypassscope.md | 2 +- .../{operations => }/listaliasesrequest.md | 4 +- .../listaliasesresponsebody.md | 6 +- .../listauthtokensresponsebody.md | 8 +- .../listdeploymentaliasesaliases.md | 4 +- .../listdeploymentaliasesprotectionbypass.md | 48 + .../listdeploymentaliasesprotectionbypass1.md | 23 + .../listdeploymentaliasesprotectionbypass2.md | 27 + .../listdeploymentaliasesprotectionbypass3.md | 23 + .../listdeploymentaliasesprotectionbypass4.md | 25 + ...deploymentaliasesprotectionbypassaccess.md | 2 +- ...protectionbypassaliasesresponse200scope.md | 2 +- ...sesprotectionbypassaliasesresponsescope.md | 2 +- ...mentaliasesprotectionbypassaliasesscope.md | 2 +- ...tdeploymentaliasesprotectionbypassscope.md | 2 +- .../listdeploymentaliasesrequest.md | 2 +- .../listdeploymentaliasesresponsebody.md | 25 + .../listdeploymentfilesrequest.md | 2 +- .../listpromotealiasesrequest.md | 2 +- docs/models/listpromotealiasesresponsebody.md | 30 + .../listpromotealiasesresponsebody1.md | 2 +- .../listpromotealiasesresponsebody2.md | 6 +- .../{operations => }/listusereventsrequest.md | 2 +- docs/models/listusereventsresponsebody.md | 21 + docs/models/{operations => }/locale.md | 2 +- docs/models/ma.md | 21 + docs/models/managedrules.md | 19 + docs/models/members.md | 26 + docs/models/membership.md | 32 + docs/models/{operations => }/metadata.md | 2 +- docs/models/metrics.md | 47 + .../models/{operations => }/microfrontends.md | 2 +- .../{operations => }/microfrontends1.md | 2 +- .../{operations => }/microfrontends2.md | 4 +- .../microfrontendsapplications.md | 2 +- docs/models/missing.md | 19 + docs/models/missing1.md | 19 + docs/models/missing2.md | 20 + docs/models/missingtype.md | 15 + docs/models/mitigate.md | 20 + docs/models/{operations => }/namespaceid.md | 2 +- docs/models/nine.md | 25 + docs/models/{operations => }/nodeversion.md | 2 +- .../{components => }/northstarmigration.md | 14 +- .../{operations => }/oidctokenclaims.md | 2 +- .../{operations => }/oidctokenconfig.md | 4 +- docs/models/one.md | 23 + docs/models/one5.md | 14 + docs/models/onetarget.md | 15 + docs/models/onetype.md | 17 + docs/models/op.md | 17 + docs/models/operations/acceptedchallenges.md | 17 - docs/models/operations/access.md | 15 - docs/models/operations/action.md | 15 - docs/models/operations/action1.md | 15 - docs/models/operations/active.md | 107 - .../operations/addprojectdomainrequest.md | 26 - .../operations/addprojectdomainrequestbody.md | 23 - .../operations/addprojectmemberrequestbody.md | 38 - .../addprojectmemberrequestbody1.md | 23 - .../addprojectmemberrequestbody2.md | 23 - .../addprojectmemberrequestbody3.md | 23 - docs/models/operations/algo.md | 15 - .../models/operations/artifactqueryrequest.md | 17 - docs/models/operations/assignaliasrequest.md | 24 - docs/models/operations/attribution.md | 20 - docs/models/operations/backups.md | 20 - docs/models/operations/billing.md | 39 - docs/models/operations/billing2.md | 27 - docs/models/operations/billingplan.md | 31 - docs/models/operations/branchmatcher.md | 19 - docs/models/operations/builds.md | 14 - .../buydomaindomainsresponsebody.md | 25 - docs/models/operations/buydomainrequest.md | 33 - docs/models/operations/buydomainresponse.md | 37 - .../operations/buydomainresponsebody.md | 25 - .../operations/canceldeploymentbuilds.md | 14 - .../canceldeploymentcustomenvironment.md | 19 - .../operations/canceldeploymentflags.md | 21 - .../operations/canceldeploymentflags1.md | 19 - .../canceldeploymentflagsdefinitions.md | 17 - .../operations/canceldeploymentgitrepo.md | 55 - .../operations/canceldeploymentgitrepo1.md | 33 - .../operations/canceldeploymentgitrepo2.md | 35 - .../operations/canceldeploymentgitrepo3.md | 35 - .../operations/canceldeploymentgitsource.md | 97 - .../operations/canceldeploymentgitsource1.md | 22 - .../operations/canceldeploymentgitsource2.md | 24 - .../operations/canceldeploymentgitsource3.md | 22 - .../operations/canceldeploymentgitsource4.md | 23 - .../operations/canceldeploymentgitsource5.md | 24 - .../models/operations/canceldeploymenthas1.md | 19 - .../models/operations/canceldeploymenthas2.md | 20 - .../operations/canceldeploymenthastype.md | 15 - .../canceldeploymentintegrations.md | 22 - .../operations/canceldeploymentlambdas.md | 29 - .../canceldeploymentmicrofrontends.md | 26 - .../operations/canceldeploymentmissing1.md | 19 - .../operations/canceldeploymentmissing2.md | 20 - .../models/operations/canceldeploymentplan.md | 15 - .../canceldeploymentprojectsettings.md | 22 - .../operations/canceldeploymentreadystate.md | 15 - .../operations/canceldeploymentroutes.md | 31 - .../operations/canceldeploymentroutes2.md | 20 - .../operations/canceldeploymentrouteshas.md | 23 - .../canceldeploymentroutesmissing.md | 23 - .../operations/canceldeploymentsource.md | 15 - .../operations/canceldeploymentstatus.md | 15 - .../operations/canceldeploymenttarget.md | 15 - .../models/operations/canceldeploymenttype.md | 15 - docs/models/operations/changes.md | 14 - .../operations/checkdomainpricerequest.md | 21 - docs/models/operations/checks.md | 35 - docs/models/operations/checksconclusion.md | 15 - docs/models/operations/checksstate.md | 15 - docs/models/operations/cls.md | 21 - docs/models/operations/computedprojectrole.md | 17 - docs/models/operations/conclusion.md | 17 - docs/models/operations/conditiongroup.md | 22 - docs/models/operations/conditions.md | 22 - docs/models/operations/contenthint.md | 143 - docs/models/operations/contenthint1.md | 19 - docs/models/operations/contenthint10.md | 19 - docs/models/operations/contenthint11.md | 19 - docs/models/operations/contenthint12.md | 19 - docs/models/operations/contenthint13.md | 19 - docs/models/operations/contenthint14.md | 25 - docs/models/operations/contenthint15.md | 19 - docs/models/operations/contenthint2.md | 19 - docs/models/operations/contenthint3.md | 19 - docs/models/operations/contenthint4.md | 19 - docs/models/operations/contenthint5.md | 19 - docs/models/operations/contenthint6.md | 19 - docs/models/operations/contenthint7.md | 19 - docs/models/operations/contenthint8.md | 19 - docs/models/operations/contenthint9.md | 19 - docs/models/operations/contenthinttype.md | 15 - .../createaccessgroupprojectrequest.md | 24 - .../createaccessgroupprojectrequestbody.md | 19 - .../createaccessgroupprojectresponsebody.md | 27 - .../operations/createaccessgrouprequest.md | 27 - .../createaccessgrouprequestbody.md | 25 - .../operations/createauthtokenrequest.md | 17 - .../operations/createcheckcheckssource.md | 15 - docs/models/operations/createcheckcls.md | 20 - .../operations/createcheckconclusion.md | 15 - docs/models/operations/createcheckfcp.md | 20 - docs/models/operations/createchecklcp.md | 20 - docs/models/operations/createcheckmetrics.md | 36 - docs/models/operations/createcheckoutput.md | 15 - docs/models/operations/createcheckrequest.md | 28 - .../operations/createcheckresponsebody.md | 39 - docs/models/operations/createchecksource.md | 15 - docs/models/operations/createcheckstatus.md | 15 - docs/models/operations/createchecktbt.md | 20 - .../createcheckvirtualexperiencescore.md | 20 - ...reateconfigurablelogdraindisabledreason.md | 15 - ...ateconfigurablelogdrainlogdrainssources.md | 15 - .../createconfigurablelogdrainrequest.md | 25 - .../createconfigurablelogdrainrequestbody.md | 29 - .../createconfigurablelogdrainresponsebody.md | 50 - docs/models/operations/created.md | 19 - docs/models/operations/created1.md | 35 - docs/models/operations/created2.md | 35 - docs/models/operations/createdcontenthint.md | 143 - .../operations/createdeploymentgitsource.md | 97 - .../operations/createdeploymentgitsource6.md | 25 - .../operations/createdeploymentgitsource7.md | 25 - .../operations/createdeploymentgitsource8.md | 23 - .../operations/createdeploymentgitsource9.md | 27 - .../operations/createdeploymenthastype.md | 15 - .../createdeploymentmicrofrontends.md | 26 - .../createdeploymentprojectsettings.md | 22 - .../operations/createdeploymentreadystate.md | 15 - .../operations/createdeploymentrequest.md | 41 - .../operations/createdeploymentsource.md | 15 - .../operations/createdeploymentstatus.md | 15 - .../operations/createdeploymenttarget.md | 15 - .../models/operations/createdeploymenttype.md | 15 - docs/models/operations/createdfrom.md | 17 - docs/models/operations/createdtarget.md | 19 - docs/models/operations/createdtype.md | 15 - .../operations/createedgeconfigpurpose.md | 19 - .../operations/createedgeconfigrequest.md | 17 - .../operations/createedgeconfigrequestbody.md | 18 - .../operations/createedgeconfigschema.md | 14 - .../createedgeconfigtokenrequest.md | 20 - .../models/operations/createedgeconfigtype.md | 15 - docs/models/operations/createeventevent.md | 23 - .../models/operations/createeventeventtype.md | 15 - docs/models/operations/createeventrequest.md | 18 - .../operations/createeventrequestbody.md | 19 - .../operations/createlogdraincreatedfrom.md | 17 - .../operations/createlogdrainenvironments.md | 17 - .../operations/createlogdrainrequest.md | 24 - .../operations/createlogdrainresponsebody.md | 88 - .../createortransferdomainrequestbody.md | 36 - .../createortransferdomainresponsebody.md | 48 - docs/models/operations/createprojectaction.md | 15 - docs/models/operations/createprojectalgo.md | 15 - .../operations/createprojectbranchmatcher.md | 19 - .../operations/createprojectchecksstate.md | 15 - .../operations/createprojectcontenthint.md | 143 - .../operations/createprojectcontenthint1.md | 19 - .../operations/createprojectcontenthint10.md | 19 - .../operations/createprojectcontenthint2.md | 19 - .../operations/createprojectcontenthint3.md | 19 - .../operations/createprojectcontenthint4.md | 19 - .../operations/createprojectcontenthint5.md | 19 - .../operations/createprojectcontenthint6.md | 19 - .../operations/createprojectcontenthint7.md | 19 - .../operations/createprojectcontenthint8.md | 19 - .../operations/createprojectcontenthint9.md | 19 - docs/models/operations/createprojectenv.md | 38 - docs/models/operations/createprojectenv12.md | 29 - .../operations/createprojectenv1target.md | 15 - .../operations/createprojectenv1type.md | 17 - .../operations/createprojectenv2target.md | 15 - .../operations/createprojectenv2type.md | 17 - .../createprojectenvcontenthint1.md | 19 - .../createprojectenvcontenthint10.md | 19 - .../createprojectenvcontenthint11.md | 19 - .../createprojectenvcontenthint12.md | 19 - .../createprojectenvcontenthint13.md | 19 - .../createprojectenvcontenthint14.md | 25 - .../createprojectenvcontenthint15.md | 19 - .../createprojectenvcontenthint2.md | 19 - .../createprojectenvcontenthint3.md | 19 - .../createprojectenvcontenthint4.md | 19 - .../createprojectenvcontenthint5.md | 19 - .../createprojectenvcontenthint6.md | 19 - .../createprojectenvcontenthint7.md | 19 - .../createprojectenvcontenthint8.md | 19 - .../createprojectenvcontenthint9.md | 19 - .../createprojectenvcontenthintprojects1.md | 19 - .../createprojectenvcontenthintprojects10.md | 19 - .../createprojectenvcontenthintprojects11.md | 19 - .../createprojectenvcontenthintprojects12.md | 19 - .../createprojectenvcontenthintprojects13.md | 19 - .../createprojectenvcontenthintprojects14.md | 25 - .../createprojectenvcontenthintprojects15.md | 19 - .../createprojectenvcontenthintprojects2.md | 19 - .../createprojectenvcontenthintprojects3.md | 19 - .../createprojectenvcontenthintprojects4.md | 19 - .../createprojectenvcontenthintprojects5.md | 19 - .../createprojectenvcontenthintprojects6.md | 19 - .../createprojectenvcontenthintprojects7.md | 19 - .../createprojectenvcontenthintprojects8.md | 19 - .../createprojectenvcontenthintprojects9.md | 19 - .../createprojectenvcreatedcontenthint.md | 143 - ...ateprojectenvcreatedinternalcontenthint.md | 21 - .../createprojectenvcreatedtarget.md | 19 - .../operations/createprojectenvcreatedtype.md | 15 - .../operations/createprojectenverror.md | 28 - .../operations/createprojectenvrequestbody.md | 37 - .../createprojectenvrequestbody1.md | 35 - .../createprojectenvresponsebody.md | 30 - .../operations/createprojectenvtarget.md | 19 - .../operations/createprojectenvtarget1.md | 15 - .../operations/createprojectenvtarget2.md | 15 - .../operations/createprojectenvvalue.md | 19 - .../operations/createprojectenvvalue2.md | 15 - docs/models/operations/createprojecterl.md | 25 - .../operations/createprojectfirewallroutes.md | 21 - docs/models/operations/createprojecthandle.md | 15 - docs/models/operations/createprojecthas.md | 19 - .../createprojectinternalcontenthint.md | 21 - .../operations/createprojectissuermode.md | 17 - .../operations/createprojectjobstatus.md | 15 - .../createprojectlastaliasrequest.md | 25 - .../createprojectlatestdeployments.md | 68 - docs/models/operations/createprojectlink.md | 50 - docs/models/operations/createprojectlink3.md | 35 - .../operations/createprojectlinktype.md | 15 - .../models/operations/createprojectmissing.md | 19 - .../operations/createprojectmitigate.md | 21 - .../operations/createprojectnodeversion.md | 15 - .../createprojectoidctokenconfig.md | 18 - .../createprojectoptionsallowlist.md | 21 - .../operations/createprojectpermissions.md | 196 - docs/models/operations/createprojectplan.md | 15 - .../createprojectprojectsbranchmatcher.md | 19 - .../operations/createprojectprojectsplan.md | 15 - ...applicationjsonresponsebodysecuritytype.md | 17 - .../createprojectprojectsresponsetype.md | 15 - .../operations/createprojectprojectstarget.md | 19 - .../operations/createprojectprojectstype.md | 17 - .../operations/createprojectprojectsvalue.md | 17 - .../createprojectprotectionbypass.md | 21 - .../operations/createprojectreadystate.md | 15 - .../operations/createprojectreadysubstate.md | 15 - .../models/operations/createprojectrequest.md | 21 - .../operations/createprojectresourceconfig.md | 18 - .../operations/createprojectresponsebody.md | 146 - docs/models/operations/createprojectscope.md | 15 - .../operations/createprojectsecurity.md | 25 - docs/models/operations/createprojectsrc.md | 17 - .../operations/createprojectssoprotection.md | 17 - docs/models/operations/createprojecttarget.md | 21 - .../models/operations/createprojecttarget2.md | 15 - .../models/operations/createprojecttargets.md | 68 - docs/models/operations/createprojecttier.md | 15 - .../operations/createprojecttrustedips.md | 27 - .../operations/createprojecttrustedips1.md | 25 - .../operations/createprojecttrustedips2.md | 17 - docs/models/operations/createprojecttype.md | 17 - docs/models/operations/createprojectvalue.md | 17 - .../operations/createrecordrequestbody.md | 132 - .../operations/createrecordresponsebody.md | 24 - .../models/operations/createwebhookrequest.md | 17 - .../operations/createwebhookrequestbody.md | 22 - .../operations/createwebhookresponsebody.md | 35 - docs/models/operations/crs.md | 25 - docs/models/operations/customenvironment.md | 19 - docs/models/operations/customenvironment1.md | 14 - docs/models/operations/customenvironments.md | 14 - docs/models/operations/datacache.md | 19 - .../operations/deletealiasresponsebody.md | 19 - docs/models/operations/deletealiasstatus.md | 15 - .../deletedeploymentresponsebody.md | 21 - .../operations/deletedeploymentstate.md | 17 - .../deleteedgeconfigtokensrequest.md | 20 - docs/models/operations/deleteteamrequest.md | 21 - docs/models/operations/deliveryformat.md | 17 - docs/models/operations/direction.md | 17 - docs/models/operations/disabledreason.md | 15 - .../operations/editprojectenvcontenthint1.md | 19 - .../operations/editprojectenvcontenthint10.md | 19 - .../operations/editprojectenvcontenthint11.md | 19 - .../operations/editprojectenvcontenthint12.md | 19 - .../operations/editprojectenvcontenthint13.md | 19 - .../operations/editprojectenvcontenthint14.md | 25 - .../operations/editprojectenvcontenthint15.md | 19 - .../operations/editprojectenvcontenthint2.md | 19 - .../operations/editprojectenvcontenthint3.md | 19 - .../operations/editprojectenvcontenthint4.md | 19 - .../operations/editprojectenvcontenthint5.md | 19 - .../operations/editprojectenvcontenthint6.md | 19 - .../operations/editprojectenvcontenthint7.md | 19 - .../operations/editprojectenvcontenthint8.md | 19 - .../operations/editprojectenvcontenthint9.md | 19 - .../operations/editprojectenvrequest.md | 35 - .../operations/editprojectenvrequestbody.md | 33 - .../operations/editprojectenvresponsebody.md | 23 - .../operations/editprojectenvresponsebody1.md | 37 - .../editprojectenvresponsebodycontenthint.md | 143 - .../editprojectenvresponsebodytarget.md | 19 - .../editprojectenvresponsebodytype.md | 15 - .../models/operations/editprojectenvtarget.md | 15 - .../operations/editprojectenvtarget2.md | 15 - docs/models/operations/editprojectenvtype.md | 17 - docs/models/operations/eight.md | 23 - docs/models/operations/eleven.md | 25 - docs/models/operations/emailinvitecodes.md | 26 - docs/models/operations/entitlements.md | 15 - docs/models/operations/env.md | 38 - docs/models/operations/environments.md | 15 - docs/models/operations/envs.md | 35 - docs/models/operations/erl.md | 25 - docs/models/operations/errort.md | 17 - docs/models/operations/event1.md | 18 - docs/models/operations/event2.md | 21 - docs/models/operations/eventtype.md | 15 - docs/models/operations/failed.md | 20 - docs/models/operations/fcp.md | 21 - docs/models/operations/fifteen.md | 19 - docs/models/operations/files.md | 22 - .../filterprojectenvscontenthint1.md | 19 - .../filterprojectenvscontenthint10.md | 19 - .../filterprojectenvscontenthint11.md | 19 - .../filterprojectenvscontenthint12.md | 19 - .../filterprojectenvscontenthint13.md | 19 - .../filterprojectenvscontenthint14.md | 25 - .../filterprojectenvscontenthint15.md | 19 - .../filterprojectenvscontenthint2.md | 19 - .../filterprojectenvscontenthint3.md | 19 - .../filterprojectenvscontenthint4.md | 19 - .../filterprojectenvscontenthint5.md | 19 - .../filterprojectenvscontenthint6.md | 19 - .../filterprojectenvscontenthint7.md | 19 - .../filterprojectenvscontenthint8.md | 19 - .../filterprojectenvscontenthint9.md | 19 - .../filterprojectenvscontenthintprojects1.md | 19 - .../filterprojectenvscontenthintprojects10.md | 19 - .../filterprojectenvscontenthintprojects11.md | 19 - .../filterprojectenvscontenthintprojects12.md | 19 - .../filterprojectenvscontenthintprojects13.md | 19 - .../filterprojectenvscontenthintprojects14.md | 25 - .../filterprojectenvscontenthintprojects15.md | 19 - .../filterprojectenvscontenthintprojects2.md | 19 - .../filterprojectenvscontenthintprojects3.md | 19 - .../filterprojectenvscontenthintprojects4.md | 19 - .../filterprojectenvscontenthintprojects5.md | 19 - .../filterprojectenvscontenthintprojects6.md | 19 - .../filterprojectenvscontenthintprojects7.md | 19 - .../filterprojectenvscontenthintprojects8.md | 19 - .../filterprojectenvscontenthintprojects9.md | 19 - ...projectenvscontenthintprojectsresponse1.md | 19 - ...rojectenvscontenthintprojectsresponse10.md | 19 - ...rojectenvscontenthintprojectsresponse11.md | 19 - ...rojectenvscontenthintprojectsresponse12.md | 19 - ...rojectenvscontenthintprojectsresponse13.md | 19 - ...rojectenvscontenthintprojectsresponse14.md | 25 - ...rojectenvscontenthintprojectsresponse15.md | 19 - ...projectenvscontenthintprojectsresponse2.md | 19 - ...projectenvscontenthintprojectsresponse3.md | 19 - ...projectenvscontenthintprojectsresponse4.md | 19 - ...projectenvscontenthintprojectsresponse5.md | 19 - ...projectenvscontenthintprojectsresponse6.md | 19 - ...projectenvscontenthintprojectsresponse7.md | 19 - ...projectenvscontenthintprojectsresponse8.md | 19 - ...projectenvscontenthintprojectsresponse9.md | 19 - .../filterprojectenvsresponsebody.md | 38 - .../filterprojectenvsresponsebody1.md | 35 - .../filterprojectenvsresponsebody3.md | 21 - ...ilterprojectenvsresponsebodycontenthint.md | 143 - ...jectenvsresponsebodyinternalcontenthint.md | 21 - ...jectenvsresponsebodyprojectscontenthint.md | 143 - ...responsebodyprojectsinternalcontenthint.md | 21 - ...envsresponsebodyprojectsresponse200type.md | 15 - ...tenvsresponsebodyprojectsresponsetarget.md | 19 - ...ectenvsresponsebodyprojectsresponsetype.md | 15 - ...erprojectenvsresponsebodyprojectstarget.md | 19 - .../filterprojectenvsresponsebodytarget.md | 19 - .../filterprojectenvsresponsebodytype.md | 15 - .../operations/filterprojectenvstarget1.md | 15 - .../operations/filterprojectenvstarget2.md | 15 - docs/models/operations/firewallroutes.md | 21 - docs/models/operations/five.md | 24 - docs/models/operations/flags.md | 21 - docs/models/operations/flags1.md | 19 - docs/models/operations/flagsdefinitions.md | 17 - docs/models/operations/flagsoptions.md | 18 - docs/models/operations/forcenew.md | 17 - docs/models/operations/four.md | 23 - docs/models/operations/fourteen.md | 25 - .../operations/functiondefaultmemorytype.md | 15 - docs/models/operations/gen.md | 19 - .../operations/getaccountinforesponsebody.md | 22 - .../operations/getaliasprotectionbypass.md | 48 - .../operations/getallcheckscheckssource.md | 15 - docs/models/operations/getallcheckscls.md | 20 - .../operations/getallchecksconclusion.md | 15 - docs/models/operations/getallchecksfcp.md | 20 - docs/models/operations/getallcheckslcp.md | 20 - docs/models/operations/getallchecksmetrics.md | 36 - docs/models/operations/getallchecksoutput.md | 15 - .../operations/getallchecksresponsebody.md | 27 - docs/models/operations/getallcheckssource.md | 15 - docs/models/operations/getallchecksstatus.md | 15 - docs/models/operations/getallcheckstbt.md | 20 - .../getallchecksvirtualexperiencescore.md | 20 - .../operations/getalllogdrainscreatedfrom.md | 15 - .../getalllogdrainsdeliveryformat.md | 15 - .../getalllogdrainsdisabledreason.md | 15 - .../operations/getalllogdrainsresponsebody.md | 50 - .../operations/getalllogdrainssources.md | 15 - .../operations/getalllogdrainsstatus.md | 15 - .../operations/getauthtokenresponsebody.md | 27 - .../operations/getauthuserresponsebody.md | 28 - .../models/operations/getcheckcheckssource.md | 15 - docs/models/operations/getcheckcls.md | 20 - docs/models/operations/getcheckconclusion.md | 15 - docs/models/operations/getcheckfcp.md | 20 - docs/models/operations/getchecklcp.md | 20 - docs/models/operations/getcheckmetrics.md | 36 - docs/models/operations/getcheckoutput.md | 15 - .../models/operations/getcheckresponsebody.md | 39 - docs/models/operations/getchecksource.md | 15 - docs/models/operations/getcheckstatus.md | 15 - docs/models/operations/getchecktbt.md | 20 - .../getcheckvirtualexperiencescore.md | 20 - .../getconfigurablelogdrainenvironments.md | 15 - .../getconfigurablelogdrainresponsebody.md | 51 - .../getconfigurablelogdrainsources.md | 15 - .../getconfigurablelogdrainstatus.md | 15 - ...getconfigurationresponsebodybillingplan.md | 31 - ...configurationresponsebodydisabledreason.md | 16 - .../getconfigurationresponsebodyscope.md | 15 - .../operations/getconfigurationsrequest.md | 21 - docs/models/operations/getdeploymentflags1.md | 19 - .../getdeploymentflagsdefinitions.md | 17 - .../operations/getdeploymentflagsoptions.md | 18 - .../operations/getdeploymentgitrepo1.md | 33 - .../operations/getdeploymentgitrepo2.md | 35 - .../operations/getdeploymentgitrepo3.md | 35 - .../operations/getdeploymentgitrepotype.md | 15 - .../operations/getdeploymentgitsource1.md | 22 - .../operations/getdeploymentgitsource2.md | 24 - .../operations/getdeploymentgitsource3.md | 22 - .../operations/getdeploymentgitsource4.md | 23 - .../operations/getdeploymentgitsource5.md | 24 - .../operations/getdeploymentgitsource6.md | 25 - .../operations/getdeploymentgitsource7.md | 25 - .../operations/getdeploymentgitsource8.md | 23 - .../operations/getdeploymentgitsource9.md | 27 - .../getdeploymentgitsourcedeployments1.md | 22 - .../getdeploymentgitsourcedeployments2.md | 24 - .../getdeploymentgitsourcedeployments3.md | 22 - .../getdeploymentgitsourcedeployments4.md | 23 - .../getdeploymentgitsourcedeployments5.md | 24 - .../getdeploymentgitsourcedeployments6.md | 25 - .../getdeploymentgitsourcedeployments7.md | 25 - .../getdeploymentgitsourcedeployments8.md | 23 - .../getdeploymentgitsourcedeployments9.md | 27 - .../operations/getdeploymentgitsourcetype.md | 15 - docs/models/operations/getdeploymenthas1.md | 19 - docs/models/operations/getdeploymenthas2.md | 20 - .../models/operations/getdeploymenthastype.md | 15 - .../operations/getdeploymentmissing1.md | 19 - .../operations/getdeploymentmissing2.md | 20 - .../operations/getdeploymentmissingtype.md | 15 - ...deploymentresponsebodycustomenvironment.md | 19 - .../getdeploymentresponsebodygitsource.md | 97 - .../getdeploymentresponsebodylambdas.md | 29 - .../models/operations/getdeploymentroutes2.md | 20 - .../operations/getdeploymentrouteshandle.md | 15 - .../operations/getdeploymentrouteshas.md | 23 - .../operations/getdeploymentroutesmissing.md | 23 - .../operations/getdeploymentschecksstate.md | 17 - .../operations/getdeploymentsnodeversion.md | 15 - .../getdeploymentsprojectsettings.md | 35 - .../operations/getdeploymentsreadystate.md | 17 - docs/models/operations/getdeploymentsstate.md | 17 - .../models/operations/getdeploymentstarget.md | 17 - docs/models/operations/getdeploymentstype.md | 17 - .../operations/getdomainresponsebody.md | 51 - .../getedgeconfigbackupresponsebody.md | 42 - .../getedgeconfigbackupresponsebody1.md | 31 - .../getedgeconfigbackupresponsebody2.md | 34 - .../getedgeconfigbackupresponsebodyitems.md | 22 - .../getedgeconfigbackupsresponsebody.md | 26 - .../models/operations/getedgeconfigpurpose.md | 19 - docs/models/operations/getedgeconfigschema.md | 14 - docs/models/operations/getedgeconfigstype.md | 15 - docs/models/operations/getedgeconfigtype.md | 15 - .../operations/getfirewallconfigaction.md | 15 - .../operations/getfirewallconfigalgo.md | 15 - .../getfirewallconfigconditiongroup.md | 22 - .../operations/getfirewallconfigconditions.md | 22 - .../models/operations/getfirewallconfigcrs.md | 70 - .../models/operations/getfirewallconfiggen.md | 19 - .../models/operations/getfirewallconfigips.md | 24 - .../operations/getfirewallconfigjava.md | 19 - .../models/operations/getfirewallconfiglfi.md | 19 - docs/models/operations/getfirewallconfigma.md | 19 - .../getfirewallconfigmanagedrules.md | 16 - .../operations/getfirewallconfigmitigate.md | 20 - docs/models/operations/getfirewallconfigop.md | 15 - .../models/operations/getfirewallconfigphp.md | 19 - .../operations/getfirewallconfigratelimit.md | 26 - .../models/operations/getfirewallconfigrce.md | 19 - .../getfirewallconfigresponsebody.md | 107 - .../models/operations/getfirewallconfigrfi.md | 19 - .../operations/getfirewallconfigrules.md | 35 - docs/models/operations/getfirewallconfigsd.md | 19 - ...firewallconfigsecurityresponse200action.md | 15 - docs/models/operations/getfirewallconfigsf.md | 19 - .../operations/getfirewallconfigsqli.md | 19 - .../operations/getfirewallconfigtype.md | 15 - .../models/operations/getfirewallconfigxss.md | 19 - .../getintegrationlogdrainsresponsebody.md | 86 - .../operations/getinvoiceresponsebody.md | 51 - .../operations/getmemberresponsebody.md | 19 - docs/models/operations/getmemberrole.md | 15 - .../operations/getprojectenvcontenthint1.md | 19 - .../operations/getprojectenvcontenthint10.md | 19 - .../operations/getprojectenvcontenthint11.md | 19 - .../operations/getprojectenvcontenthint12.md | 19 - .../operations/getprojectenvcontenthint13.md | 19 - .../operations/getprojectenvcontenthint14.md | 25 - .../operations/getprojectenvcontenthint15.md | 19 - .../operations/getprojectenvcontenthint2.md | 19 - .../operations/getprojectenvcontenthint3.md | 19 - .../operations/getprojectenvcontenthint4.md | 19 - .../operations/getprojectenvcontenthint5.md | 19 - .../operations/getprojectenvcontenthint6.md | 19 - .../operations/getprojectenvcontenthint7.md | 19 - .../operations/getprojectenvcontenthint8.md | 19 - .../operations/getprojectenvcontenthint9.md | 19 - .../getprojectenvcontenthintprojects1.md | 19 - .../getprojectenvcontenthintprojects10.md | 19 - .../getprojectenvcontenthintprojects11.md | 19 - .../getprojectenvcontenthintprojects12.md | 19 - .../getprojectenvcontenthintprojects13.md | 19 - .../getprojectenvcontenthintprojects14.md | 25 - .../getprojectenvcontenthintprojects15.md | 19 - .../getprojectenvcontenthintprojects2.md | 19 - .../getprojectenvcontenthintprojects3.md | 19 - .../getprojectenvcontenthintprojects4.md | 19 - .../getprojectenvcontenthintprojects5.md | 19 - .../getprojectenvcontenthintprojects6.md | 19 - .../getprojectenvcontenthintprojects7.md | 19 - .../getprojectenvcontenthintprojects8.md | 19 - .../getprojectenvcontenthintprojects9.md | 19 - ...tprojectenvcontenthintprojectsresponse1.md | 19 - ...projectenvcontenthintprojectsresponse10.md | 19 - ...projectenvcontenthintprojectsresponse11.md | 19 - ...projectenvcontenthintprojectsresponse12.md | 19 - ...projectenvcontenthintprojectsresponse13.md | 19 - ...projectenvcontenthintprojectsresponse14.md | 25 - ...projectenvcontenthintprojectsresponse15.md | 19 - ...tprojectenvcontenthintprojectsresponse2.md | 19 - ...tprojectenvcontenthintprojectsresponse3.md | 19 - ...tprojectenvcontenthintprojectsresponse4.md | 19 - ...tprojectenvcontenthintprojectsresponse5.md | 19 - ...tprojectenvcontenthintprojectsresponse6.md | 19 - ...tprojectenvcontenthintprojectsresponse7.md | 19 - ...tprojectenvcontenthintprojectsresponse8.md | 19 - ...tprojectenvcontenthintprojectsresponse9.md | 19 - .../operations/getprojectenvresponsebody.md | 35 - .../operations/getprojectenvresponsebody1.md | 37 - .../operations/getprojectenvresponsebody2.md | 38 - .../operations/getprojectenvresponsebody3.md | 37 - .../getprojectenvresponsebodycontenthint.md | 143 - ...ojectenvresponsebodyinternalcontenthint.md | 21 - ...ojectenvresponsebodyprojectscontenthint.md | 143 - ...responsebodyprojectsinternalcontenthint.md | 21 - ...responsebodyprojectsresponsecontenthint.md | 143 - ...bodyprojectsresponseinternalcontenthint.md | 21 - ...ctenvresponsebodyprojectsresponsetarget.md | 19 - ...getprojectenvresponsebodyprojectstarget.md | 19 - .../getprojectenvresponsebodytarget.md | 19 - .../models/operations/getprojectenvtarget1.md | 15 - .../models/operations/getprojectenvtarget2.md | 15 - .../getprojectmembersresponsebody.md | 39 - .../getprojectmembersresponsebody2.md | 38 - docs/models/operations/getprojectsaction.md | 15 - docs/models/operations/getprojectsalgo.md | 15 - .../operations/getprojectsbranchmatcher.md | 19 - .../operations/getprojectschecksconclusion.md | 15 - .../operations/getprojectschecksstate.md | 15 - .../operations/getprojectscontenthint.md | 143 - .../operations/getprojectscontenthint1.md | 19 - .../operations/getprojectscontenthint10.md | 19 - .../operations/getprojectscontenthint11.md | 19 - .../operations/getprojectscontenthint12.md | 19 - .../operations/getprojectscontenthint13.md | 19 - .../operations/getprojectscontenthint14.md | 25 - .../operations/getprojectscontenthint15.md | 19 - .../operations/getprojectscontenthint2.md | 19 - .../operations/getprojectscontenthint3.md | 19 - .../operations/getprojectscontenthint4.md | 19 - .../operations/getprojectscontenthint5.md | 19 - .../operations/getprojectscontenthint6.md | 19 - .../operations/getprojectscontenthint7.md | 19 - .../operations/getprojectscontenthint8.md | 19 - .../operations/getprojectscontenthint9.md | 19 - .../operations/getprojectscontenthinttype.md | 15 - .../operations/getprojectsdeploymenttype.md | 15 - docs/models/operations/getprojectsenv.md | 38 - docs/models/operations/getprojectserl.md | 25 - .../operations/getprojectsfirewallroutes.md | 21 - .../getprojectsfunctiondefaultmemorytype.md | 15 - docs/models/operations/getprojectshandle.md | 15 - docs/models/operations/getprojectshas.md | 19 - .../getprojectsinternalcontenthint.md | 21 - .../operations/getprojectsissuermode.md | 17 - .../models/operations/getprojectsjobstatus.md | 15 - .../operations/getprojectslastaliasrequest.md | 25 - .../getprojectslatestdeployments.md | 68 - docs/models/operations/getprojectslink.md | 50 - docs/models/operations/getprojectslink3.md | 35 - docs/models/operations/getprojectslinktype.md | 15 - docs/models/operations/getprojectsmissing.md | 19 - docs/models/operations/getprojectsmitigate.md | 21 - .../operations/getprojectsnodeversion.md | 15 - .../operations/getprojectsoidctokenconfig.md | 18 - .../operations/getprojectsoptionsallowlist.md | 21 - .../operations/getprojectspermissions.md | 196 - docs/models/operations/getprojectsplan.md | 15 - docs/models/operations/getprojectsprojects.md | 144 - .../getprojectsprojectsbranchmatcher.md | 19 - .../getprojectsprojectschecksconclusion.md | 15 - .../getprojectsprojectschecksstate.md | 15 - .../operations/getprojectsprojectsplan.md | 15 - .../getprojectsprojectsreadystate.md | 15 - ...ionjsonresponsebodyprojectssecuritytype.md | 17 - .../operations/getprojectsprojectstype.md | 15 - .../operations/getprojectsprojectsvalue.md | 17 - .../operations/getprojectsprotectionbypass.md | 21 - .../operations/getprojectsreadystate.md | 15 - .../operations/getprojectsreadysubstate.md | 15 - .../operations/getprojectsresourceconfig.md | 18 - docs/models/operations/getprojectsscope.md | 15 - docs/models/operations/getprojectssecurity.md | 25 - docs/models/operations/getprojectssrc.md | 17 - .../operations/getprojectsssoprotection.md | 17 - docs/models/operations/getprojectstarget.md | 19 - docs/models/operations/getprojectstarget1.md | 15 - docs/models/operations/getprojectstarget2.md | 15 - docs/models/operations/getprojectstargets.md | 68 - docs/models/operations/getprojectstier.md | 15 - .../operations/getprojectstrustedips.md | 27 - .../operations/getprojectstrustedips1.md | 25 - .../operations/getprojectstrustedips2.md | 17 - docs/models/operations/getprojectstype.md | 15 - docs/models/operations/getprojectsvalue.md | 17 - .../operations/getrecordsresponsebody.md | 60 - .../operations/getrecordsresponsebody2.md | 30 - .../operations/getrecordsresponsebodytype.md | 15 - .../getteamaccessrequestjoinedfrom.md | 29 - .../operations/getteamaccessrequestorigin.md | 15 - .../getteamaccessrequestresponsebody.md | 35 - .../operations/getteammembersjoinedfrom.md | 29 - .../operations/getteammembersmembers.md | 38 - .../models/operations/getteammembersorigin.md | 15 - .../operations/getteammembersprojects.md | 19 - .../operations/getteammembersresponsebody.md | 37 - docs/models/operations/getteammembersrole.md | 17 - .../operations/getteammembersteamsprojects.md | 15 - .../getteammembersteamsresponserole.md | 15 - .../operations/getteammembersteamsrole.md | 15 - .../models/operations/getteamsresponsebody.md | 29 - .../operations/getwebhooksresponsebody1.md | 40 - .../operations/getwebhooksresponsebody2.md | 33 - docs/models/operations/gitaccount.md | 19 - docs/models/operations/gitforkprotection.md | 17 - .../operations/gitnamespacesresponsebody.md | 27 - docs/models/operations/gitrepo1.md | 33 - docs/models/operations/gitrepo2.md | 35 - docs/models/operations/gitrepo3.md | 35 - docs/models/operations/gitrepoownertype.md | 15 - docs/models/operations/gitrepository.md | 21 - docs/models/operations/gitrepotype.md | 15 - docs/models/operations/gitsource.md | 59 - docs/models/operations/gitsource1.md | 22 - docs/models/operations/gitsource2.md | 24 - docs/models/operations/gitsource3.md | 22 - docs/models/operations/gitsource4.md | 23 - docs/models/operations/gitsource5.md | 24 - docs/models/operations/gitsource6.md | 25 - docs/models/operations/gitsource7.md | 25 - docs/models/operations/gitsource8.md | 23 - docs/models/operations/gitsource9.md | 27 - docs/models/operations/gitsourcetype.md | 15 - docs/models/operations/gituserid.md | 19 - docs/models/operations/handle.md | 15 - docs/models/operations/has.md | 19 - docs/models/operations/has1.md | 19 - docs/models/operations/has2.md | 20 - docs/models/operations/hastype.md | 15 - docs/models/operations/id.md | 15 - docs/models/operations/installationtype.md | 15 - docs/models/operations/integrations.md | 22 - docs/models/operations/internalcontenthint.md | 21 - .../operations/inviteusertoteamprojects.md | 19 - .../operations/inviteusertoteamrequest.md | 29 - .../operations/inviteusertoteamrequestbody.md | 28 - .../inviteusertoteamresponsebody.md | 28 - .../inviteusertoteamresponsebody2.md | 21 - .../inviteusertoteamresponsebodyrole.md | 15 - .../models/operations/inviteusertoteamrole.md | 17 - .../operations/inviteusertoteamteamsrole.md | 17 - docs/models/operations/ips.md | 23 - docs/models/operations/issuecertrequest.md | 17 - docs/models/operations/issuermode.md | 17 - docs/models/operations/items.md | 19 - docs/models/operations/java.md | 19 - docs/models/operations/jobstatus.md | 15 - docs/models/operations/joinedfrom.md | 27 - docs/models/operations/jointeamrequest.md | 21 - docs/models/operations/lambdas.md | 29 - docs/models/operations/lastaliasrequest.md | 25 - docs/models/operations/lastrollbacktarget.md | 14 - docs/models/operations/latestdeployments.md | 68 - docs/models/operations/lcp.md | 21 - docs/models/operations/lfi.md | 19 - docs/models/operations/link3.md | 35 - docs/models/operations/linktype.md | 15 - .../listaccessgroupmembersresponsebody.md | 29 - .../listaccessgroupprojectsprojects.md | 25 - .../listaccessgroupprojectsresponsebody.md | 30 - .../listaccessgroupsresponsebody.md | 34 - .../listaccessgroupsresponsebody2.md | 33 - .../operations/listaliasesprotectionbypass.md | 48 - .../listaliasesprotectionbypass1.md | 23 - .../listaliasesprotectionbypass2.md | 27 - .../listaliasesprotectionbypass3.md | 23 - .../listaliasesprotectionbypass4.md | 25 - .../listdeploymentaliasesprotectionbypass.md | 48 - .../listdeploymentaliasesprotectionbypass1.md | 23 - .../listdeploymentaliasesprotectionbypass2.md | 27 - .../listdeploymentaliasesprotectionbypass3.md | 23 - .../listdeploymentaliasesprotectionbypass4.md | 25 - .../listdeploymentaliasesresponsebody.md | 25 - .../listpromotealiasesresponsebody.md | 30 - .../operations/listusereventsresponsebody.md | 21 - docs/models/operations/ma.md | 19 - docs/models/operations/managedrules.md | 19 - docs/models/operations/members.md | 26 - docs/models/operations/metrics.md | 47 - docs/models/operations/missing.md | 19 - docs/models/operations/missing1.md | 19 - docs/models/operations/missing2.md | 20 - docs/models/operations/missingtype.md | 15 - docs/models/operations/mitigate.md | 20 - docs/models/operations/nine.md | 25 - docs/models/operations/one.md | 22 - docs/models/operations/one5.md | 14 - docs/models/operations/onetarget.md | 15 - docs/models/operations/onetype.md | 17 - docs/models/operations/op.md | 15 - docs/models/operations/options.md | 18 - docs/models/operations/optionsallowlist.md | 23 - docs/models/operations/order.md | 17 - docs/models/operations/origin.md | 17 - docs/models/operations/output.md | 45 - docs/models/operations/owner.md | 19 - docs/models/operations/ownertype.md | 15 - docs/models/operations/pagination.md | 19 - .../operations/patchdomainrequestbody.md | 21 - .../operations/patchdomainresponsebody.md | 28 - .../patchedgeconfigschemarequest.md | 21 - docs/models/operations/patchteamrequest.md | 39 - docs/models/operations/permissions.md | 196 - docs/models/operations/php.md | 19 - docs/models/operations/plan.md | 15 - docs/models/operations/production.md | 17 - docs/models/operations/projectselection.md | 17 - docs/models/operations/projectsmetadata.md | 21 - docs/models/operations/protectionbypass.md | 21 - docs/models/operations/protectionbypass1.md | 23 - docs/models/operations/protectionbypass2.md | 27 - docs/models/operations/protectionbypass3.md | 23 - docs/models/operations/protectionbypass4.md | 25 - .../operations/protectionbypassaccess.md | 15 - .../operations/protectionbypassscope.md | 15 - docs/models/operations/provider.md | 15 - docs/models/operations/purpose.md | 19 - .../operations/putfirewallconfigaction.md | 15 - .../operations/putfirewallconfigalgo.md | 15 - .../operations/putfirewallconfigchanges.md | 14 - .../putfirewallconfigconditiongroup.md | 22 - .../operations/putfirewallconfigconditions.md | 22 - .../models/operations/putfirewallconfigcrs.md | 70 - .../models/operations/putfirewallconfiggen.md | 19 - .../models/operations/putfirewallconfigips.md | 24 - .../operations/putfirewallconfigjava.md | 19 - .../models/operations/putfirewallconfiglfi.md | 19 - docs/models/operations/putfirewallconfigma.md | 19 - .../putfirewallconfigmanagedrules.md | 16 - .../operations/putfirewallconfigmitigate.md | 20 - docs/models/operations/putfirewallconfigop.md | 15 - .../models/operations/putfirewallconfigphp.md | 19 - .../operations/putfirewallconfigratelimit.md | 26 - .../models/operations/putfirewallconfigrce.md | 19 - .../operations/putfirewallconfigrequest.md | 20 - .../putfirewallconfigrequestbody.md | 21 - .../putfirewallconfigresponsebody.md | 99 - .../models/operations/putfirewallconfigrfi.md | 19 - .../operations/putfirewallconfigrules.md | 35 - docs/models/operations/putfirewallconfigsd.md | 19 - ...igsecurityrequestrequestbodyrulesaction.md | 15 - ...firewallconfigsecurityresponse200action.md | 15 - ...nse200applicationjsonresponsebodyaction.md | 17 - ...putfirewallconfigsecurityresponseaction.md | 15 - .../putfirewallconfigsecuritytype.md | 15 - docs/models/operations/putfirewallconfigsf.md | 19 - .../operations/putfirewallconfigsqli.md | 19 - .../operations/putfirewallconfigtype.md | 15 - .../models/operations/putfirewallconfigxss.md | 19 - docs/models/operations/queryparamprovider.md | 15 - docs/models/operations/queryparamrole.md | 17 - docs/models/operations/queryparamtarget.md | 17 - docs/models/operations/queryparamtype.md | 17 - docs/models/operations/ratelimit.md | 24 - docs/models/operations/ratelimit1.md | 26 - docs/models/operations/ratelimitaction.md | 17 - docs/models/operations/ratelimitalgo.md | 15 - docs/models/operations/rce.md | 19 - .../readaccessgroupprojectresponsebody.md | 27 - .../operations/readaccessgroupprojectrole.md | 15 - .../operations/readaccessgroupresponsebody.md | 32 - docs/models/operations/readystate.md | 15 - docs/models/operations/records.md | 37 - docs/models/operations/recordtype.md | 15 - docs/models/operations/redirect.md | 20 - docs/models/operations/redirects.md | 17 - docs/models/operations/redirectstatuscode.md | 17 - docs/models/operations/remotecaching.md | 19 - .../operations/removecertresponsebody.md | 14 - .../removeprojectenvcontenthint1.md | 19 - .../removeprojectenvcontenthint10.md | 19 - .../removeprojectenvcontenthint11.md | 19 - .../removeprojectenvcontenthint12.md | 19 - .../removeprojectenvcontenthint13.md | 19 - .../removeprojectenvcontenthint14.md | 25 - .../removeprojectenvcontenthint15.md | 19 - .../removeprojectenvcontenthint2.md | 19 - .../removeprojectenvcontenthint3.md | 19 - .../removeprojectenvcontenthint4.md | 19 - .../removeprojectenvcontenthint5.md | 19 - .../removeprojectenvcontenthint6.md | 19 - .../removeprojectenvcontenthint7.md | 19 - .../removeprojectenvcontenthint8.md | 19 - .../removeprojectenvcontenthint9.md | 19 - .../removeprojectenvcontenthintprojects1.md | 19 - .../removeprojectenvcontenthintprojects10.md | 19 - .../removeprojectenvcontenthintprojects11.md | 19 - .../removeprojectenvcontenthintprojects12.md | 19 - .../removeprojectenvcontenthintprojects13.md | 19 - .../removeprojectenvcontenthintprojects14.md | 25 - .../removeprojectenvcontenthintprojects15.md | 19 - .../removeprojectenvcontenthintprojects2.md | 19 - .../removeprojectenvcontenthintprojects3.md | 19 - .../removeprojectenvcontenthintprojects4.md | 19 - .../removeprojectenvcontenthintprojects5.md | 19 - .../removeprojectenvcontenthintprojects6.md | 19 - .../removeprojectenvcontenthintprojects7.md | 19 - .../removeprojectenvcontenthintprojects8.md | 19 - .../removeprojectenvcontenthintprojects9.md | 19 - ...eprojectenvcontenthintprojectsresponse1.md | 19 - ...projectenvcontenthintprojectsresponse10.md | 19 - ...projectenvcontenthintprojectsresponse11.md | 19 - ...projectenvcontenthintprojectsresponse12.md | 19 - ...projectenvcontenthintprojectsresponse13.md | 19 - ...projectenvcontenthintprojectsresponse14.md | 25 - ...projectenvcontenthintprojectsresponse15.md | 19 - ...eprojectenvcontenthintprojectsresponse2.md | 19 - ...eprojectenvcontenthintprojectsresponse3.md | 19 - ...eprojectenvcontenthintprojectsresponse4.md | 19 - ...eprojectenvcontenthintprojectsresponse5.md | 19 - ...eprojectenvcontenthintprojectsresponse6.md | 19 - ...eprojectenvcontenthintprojectsresponse7.md | 19 - ...eprojectenvcontenthintprojectsresponse8.md | 19 - ...eprojectenvcontenthintprojectsresponse9.md | 19 - .../removeprojectenvresponsebody.md | 39 - .../removeprojectenvresponsebody1.md | 38 - .../removeprojectenvresponsebody2.md | 39 - .../removeprojectenvresponsebody3.md | 38 - ...removeprojectenvresponsebodycontenthint.md | 143 - ...ojectenvresponsebodyinternalcontenthint.md | 21 - ...ojectenvresponsebodyprojectscontenthint.md | 143 - ...responsebodyprojectsinternalcontenthint.md | 21 - ...responsebodyprojectsresponsecontenthint.md | 143 - ...bodyprojectsresponseinternalcontenthint.md | 21 - ...ctenvresponsebodyprojectsresponsetarget.md | 19 - ...jectenvresponsebodyprojectsresponsetype.md | 15 - ...oveprojectenvresponsebodyprojectstarget.md | 19 - ...emoveprojectenvresponsebodyprojectstype.md | 15 - .../removeprojectenvresponsebodytarget.md | 19 - .../removeprojectenvresponsebodytype.md | 15 - .../operations/removeprojectenvtarget1.md | 15 - .../operations/removeprojectenvtarget2.md | 15 - docs/models/operations/repos.md | 40 - .../requestaccesstoteamgituserid.md | 17 - .../requestaccesstoteamjoinedfrom.md | 27 - .../operations/requestaccesstoteamorigin.md | 15 - .../operations/requestaccesstoteamrequest.md | 28 - .../requestaccesstoteamrequestbody.md | 24 - .../requestaccesstoteamresponsebody.md | 30 - docs/models/operations/requestbody10.md | 22 - docs/models/operations/requestbody2.md | 25 - docs/models/operations/requestbody3.md | 25 - docs/models/operations/requestbody4.md | 25 - docs/models/operations/requestbody5.md | 25 - docs/models/operations/requestbody6.md | 26 - docs/models/operations/requestbody7.md | 21 - docs/models/operations/requestbody8.md | 26 - docs/models/operations/requestbody9.md | 27 - docs/models/operations/requestbodyaction.md | 15 - .../operations/requestbodyconditiongroup.md | 22 - .../operations/requestbodyconditions.md | 22 - docs/models/operations/requestbodyid.md | 15 - docs/models/operations/requestbodymitigate.md | 20 - docs/models/operations/requestbodyop.md | 15 - .../models/operations/requestbodyratelimit.md | 24 - docs/models/operations/requestbodyredirect.md | 20 - docs/models/operations/requestbodyrole.md | 17 - docs/models/operations/requestbodytype.md | 17 - docs/models/operations/requestbodyvalue.md | 33 - .../operations/rerequestcheckresponsebody.md | 14 - docs/models/operations/resourceconfig.md | 18 - docs/models/operations/responsebody.md | 24 - docs/models/operations/responsebody2.md | 19 - .../operations/responsebodybillingplan.md | 31 - docs/models/operations/responsebodybuilds.md | 14 - .../operations/responsebodychecksstate.md | 15 - .../operations/responsebodycontenthint.md | 143 - .../responsebodycustomenvironment.md | 19 - .../operations/responsebodydisabledreason.md | 15 - docs/models/operations/responsebodyenvs.md | 35 - docs/models/operations/responsebodyflags.md | 21 - docs/models/operations/responsebodygitrepo.md | 55 - .../operations/responsebodygitsource.md | 97 - .../operations/responsebodyintegrations.md | 22 - docs/models/operations/responsebodyitems.md | 22 - docs/models/operations/responsebodylambdas.md | 29 - docs/models/operations/responsebodymembers.md | 33 - .../operations/responsebodymicrofrontends.md | 26 - .../operations/responsebodyownertype.md | 15 - docs/models/operations/responsebodyplan.md | 15 - .../operations/responsebodyprojectsettings.md | 22 - .../models/operations/responsebodyprovider.md | 15 - .../operations/responsebodyreadystate.md | 15 - docs/models/operations/responsebodyrecords.md | 37 - docs/models/operations/responsebodyrole.md | 17 - docs/models/operations/responsebodyroutes.md | 31 - docs/models/operations/responsebodyscope.md | 15 - docs/models/operations/responsebodysource.md | 15 - docs/models/operations/responsebodystatus.md | 15 - docs/models/operations/responsebodytarget.md | 15 - .../models/operations/responsebodyteamrole.md | 17 - docs/models/operations/responsebodytype.md | 15 - docs/models/operations/result.md | 15 - docs/models/operations/rfi.md | 19 - docs/models/operations/role.md | 17 - docs/models/operations/roles.md | 19 - docs/models/operations/roles1.md | 15 - docs/models/operations/routes.md | 31 - docs/models/operations/routes2.md | 20 - docs/models/operations/routeshandle.md | 15 - docs/models/operations/routeshas.md | 23 - docs/models/operations/routesmissing.md | 23 - docs/models/operations/rules.md | 34 - docs/models/operations/saml.md | 18 - docs/models/operations/schema.md | 14 - docs/models/operations/scope.md | 15 - docs/models/operations/sd.md | 19 - .../operations/searchreporesponsebody.md | 40 - .../operations/searchreporesponsebody1.md | 14 - .../operations/searchreporesponsebody2.md | 39 - .../searchreporesponsebodyprovider.md | 15 - docs/models/operations/secrets.md | 19 - docs/models/operations/security.md | 25 - docs/models/operations/seven.md | 28 - docs/models/operations/sf.md | 19 - docs/models/operations/six.md | 27 - docs/models/operations/sources.md | 15 - docs/models/operations/sqli.md | 19 - docs/models/operations/src.md | 17 - docs/models/operations/state.md | 15 - docs/models/operations/status.md | 17 - docs/models/operations/statusresponsebody.md | 17 - docs/models/operations/statusstatus.md | 15 - .../operations/submitbillingdatarequest.md | 18 - .../operations/submitbillingdatatype.md | 17 - .../models/operations/submitinvoicerequest.md | 18 - docs/models/operations/target1.md | 15 - docs/models/operations/target2.md | 15 - docs/models/operations/targets.md | 68 - docs/models/operations/tbt.md | 21 - docs/models/operations/teamrole.md | 15 - docs/models/operations/ten.md | 27 - docs/models/operations/test.md | 18 - docs/models/operations/thirteen.md | 19 - docs/models/operations/three.md | 22 - docs/models/operations/tier.md | 15 - docs/models/operations/trustedips1.md | 25 - docs/models/operations/trustedips2.md | 17 - .../operations/trustedipsdeploymenttype.md | 15 - .../operations/trustedipsprotectionmode.md | 15 - docs/models/operations/twelve.md | 19 - docs/models/operations/two.md | 24 - docs/models/operations/two2.md | 29 - docs/models/operations/two5.md | 14 - docs/models/operations/twotarget.md | 15 - docs/models/operations/twotype.md | 17 - docs/models/operations/type.md | 15 - .../updateaccessgroupprojectrequest.md | 25 - .../updateaccessgroupprojectrequestbody.md | 17 - .../updateaccessgroupprojectresponsebody.md | 27 - .../operations/updateaccessgrouprequest.md | 29 - .../updateaccessgrouprequestbody.md | 26 - .../updateaccessgroupresponsebody.md | 30 - .../updateattackchallengemoderequest.md | 17 - .../operations/updatecheckcheckssource.md | 15 - docs/models/operations/updatecheckcls.md | 20 - .../operations/updatecheckconclusion.md | 15 - docs/models/operations/updatecheckfcp.md | 20 - docs/models/operations/updatechecklcp.md | 20 - docs/models/operations/updatecheckmetrics.md | 36 - docs/models/operations/updatecheckoutput.md | 15 - docs/models/operations/updatecheckrequest.md | 57 - .../operations/updatecheckresponsebody.md | 39 - docs/models/operations/updatechecksource.md | 15 - docs/models/operations/updatecheckstatus.md | 15 - docs/models/operations/updatechecktbt.md | 20 - .../updatecheckvirtualexperiencescore.md | 20 - .../operations/updateedgeconfigpurpose.md | 19 - .../operations/updateedgeconfigrequest.md | 20 - .../operations/updateedgeconfigschema.md | 14 - .../models/operations/updateedgeconfigtype.md | 15 - .../operations/updatefirewallconfigaction1.md | 15 - .../updatefirewallconfigratelimit1.md | 26 - .../updatefirewallconfigratelimitaction.md | 17 - .../updatefirewallconfigratelimitsecurity1.md | 26 - ...tefirewallconfigratelimitsecurityaction.md | 17 - .../updatefirewallconfigrequestbody.md | 149 - .../updatefirewallconfigrequestbody1.md | 22 - .../updatefirewallconfigrequestbody2.md | 36 - .../updatefirewallconfigrequestbody3.md | 37 - .../updatefirewallconfigrequestbody4.md | 22 - .../updatefirewallconfigrequestbody5.md | 23 - ...firewallconfigrequestbodyconditiongroup.md | 22 - ...datefirewallconfigrequestbodyconditions.md | 22 - ...updatefirewallconfigrequestbodymitigate.md | 20 - .../updatefirewallconfigrequestbodyop.md | 15 - ...pdatefirewallconfigrequestbodyratelimit.md | 24 - ...updatefirewallconfigrequestbodyredirect.md | 20 - ...configrequestbodysecurityrequest2action.md | 15 - ...configrequestbodysecurityrequest3action.md | 15 - ...lconfigrequestbodysecurityrequest9value.md | 22 - ...llconfigrequestbodysecurityrequestvalue.md | 22 - ...tefirewallconfigrequestbodysecuritytype.md | 15 - ...efirewallconfigrequestbodysecurityvalue.md | 19 - .../updatefirewallconfigrequestbodytype.md | 15 - .../updatefirewallconfigrequestbodyvalue.md | 33 - .../models/operations/updateinvoicerequest.md | 20 - docs/models/operations/updateprojectaction.md | 15 - docs/models/operations/updateprojectalgo.md | 15 - .../operations/updateprojectbranchmatcher.md | 19 - .../operations/updateprojectchecksstate.md | 15 - .../operations/updateprojectcontenthint.md | 143 - .../operations/updateprojectcontenthint1.md | 19 - .../operations/updateprojectcontenthint10.md | 19 - .../operations/updateprojectcontenthint11.md | 19 - .../operations/updateprojectcontenthint12.md | 19 - .../operations/updateprojectcontenthint13.md | 19 - .../operations/updateprojectcontenthint14.md | 25 - .../operations/updateprojectcontenthint15.md | 19 - .../operations/updateprojectcontenthint2.md | 19 - .../operations/updateprojectcontenthint3.md | 19 - .../operations/updateprojectcontenthint4.md | 19 - .../operations/updateprojectcontenthint5.md | 19 - .../operations/updateprojectcontenthint6.md | 19 - .../operations/updateprojectcontenthint7.md | 19 - .../operations/updateprojectcontenthint8.md | 19 - .../operations/updateprojectcontenthint9.md | 19 - .../operations/updateprojectdatacachealgo.md | 15 - .../updateprojectdatacachebranchmatcher.md | 19 - .../updateprojectdatacachecontenthint11.md | 19 - .../updateprojectdatacachemitigate.md | 21 - .../updateprojectdatacacheoidctokenconfig.md | 18 - .../updateprojectdatacacheoptionsallowlist.md | 21 - .../operations/updateprojectdatacacheplan.md | 15 - ...nresponsebodysecurityfirewallroutestype.md | 19 - ...applicationjsonresponsebodysecuritytype.md | 17 - .../updateprojectdatacacheprojectsvalue.md | 17 - .../updateprojectdatacacherequest.md | 23 - .../updateprojectdatacacheresponsebody.md | 144 - .../updateprojectdatacachessoprotection.md | 17 - .../updateprojectdatacachetarget.md | 19 - .../updateprojectdatacachetrustedips.md | 27 - .../operations/updateprojectdatacachetype.md | 15 - .../operations/updateprojectdatacachevalue.md | 17 - .../operations/updateprojectdomainrequest.md | 27 - .../updateprojectdomainrequestbody.md | 21 - docs/models/operations/updateprojectenv.md | 38 - docs/models/operations/updateprojecterl.md | 25 - .../operations/updateprojectfirewallroutes.md | 21 - docs/models/operations/updateprojecthandle.md | 15 - docs/models/operations/updateprojecthas.md | 19 - .../updateprojectinternalcontenthint.md | 21 - .../operations/updateprojectissuermode.md | 17 - .../operations/updateprojectjobstatus.md | 15 - .../updateprojectlastaliasrequest.md | 25 - .../updateprojectlatestdeployments.md | 68 - docs/models/operations/updateprojectlink.md | 50 - docs/models/operations/updateprojectlink3.md | 35 - .../operations/updateprojectlinktype.md | 15 - .../models/operations/updateprojectmissing.md | 19 - .../operations/updateprojectmitigate.md | 21 - .../operations/updateprojectnodeversion.md | 15 - .../updateprojectoidctokenconfig.md | 20 - .../updateprojectoptionsallowlist.md | 21 - .../operations/updateprojectpermissions.md | 196 - docs/models/operations/updateprojectplan.md | 15 - .../updateprojectprojectsbranchmatcher.md | 19 - .../updateprojectprojectsoidctokenconfig.md | 18 - .../operations/updateprojectprojectsplan.md | 15 - ...nresponsebodysecurityfirewallroutestype.md | 19 - ...applicationjsonresponsebodysecuritytype.md | 17 - .../operations/updateprojectprojectstype.md | 15 - .../operations/updateprojectprojectsvalue.md | 17 - .../updateprojectprotectionbypass.md | 21 - ...projectprotectionbypassprotectionbypass.md | 21 - .../updateprojectprotectionbypassrequest.md | 20 - ...dateprojectprotectionbypassresponsebody.md | 15 - .../operations/updateprojectreadystate.md | 15 - .../operations/updateprojectreadysubstate.md | 15 - .../models/operations/updateprojectrequest.md | 23 - .../operations/updateprojectresourceconfig.md | 18 - .../operations/updateprojectresponsebody.md | 146 - docs/models/operations/updateprojectscope.md | 15 - .../operations/updateprojectsecurity.md | 25 - docs/models/operations/updateprojectsrc.md | 17 - .../operations/updateprojectssoprotection.md | 17 - docs/models/operations/updateprojecttarget.md | 19 - .../models/operations/updateprojecttarget2.md | 15 - .../models/operations/updateprojecttargets.md | 68 - docs/models/operations/updateprojecttier.md | 15 - .../operations/updateprojecttrustedips.md | 27 - .../operations/updateprojecttrustedips1.md | 25 - .../operations/updateprojecttrustedips2.md | 17 - docs/models/operations/updateprojecttype.md | 15 - docs/models/operations/updateprojectvalue.md | 17 - docs/models/operations/updaterecorddnstype.md | 15 - docs/models/operations/updaterecordrequest.md | 37 - .../operations/updaterecordrequestbody.md | 38 - .../operations/updaterecordresponsebody.md | 32 - docs/models/operations/updaterecordtype.md | 17 - .../updateresourcesecretsrequest.md | 22 - .../updateresourcesecretsrequestbody.md | 22 - .../operations/updateteammemberrequest.md | 30 - .../operations/updateteammemberrequestbody.md | 27 - docs/models/operations/uploadcertrequest.md | 17 - .../operations/uploadfileresponsebody.md | 24 - .../operations/uploadfileresponsebody2.md | 14 - docs/models/operations/verified.md | 17 - docs/models/operations/view.md | 15 - .../operations/virtualexperiencescore.md | 21 - docs/models/operations/webanalytics.md | 21 - docs/models/operations/xss.md | 19 - docs/models/options.md | 18 + docs/models/optionsallowlist.md | 23 + docs/models/order.md | 17 + docs/models/origin.md | 15 + docs/models/output.md | 45 + docs/models/{operations => }/owasp.md | 2 +- docs/models/owner.md | 19 + docs/models/ownertype.md | 15 + docs/models/pagination.md | 23 + .../{operations => }/passwordprotection.md | 4 +- .../{operations => }/patchdomainrequest.md | 6 +- docs/models/patchdomainrequestbody.md | 21 + .../patchdomainrequestbody1.md | 2 +- .../patchdomainrequestbody2.md | 2 +- docs/models/patchdomainresponsebody.md | 28 + .../patchdomainresponsebody1.md | 2 +- .../patchdomainresponsebody2.md | 2 +- .../patchdomainresponsebody3.md | 2 +- docs/models/patchedgeconfigschemarequest.md | 24 + .../patchedgeconfigschemarequestbody.md | 2 +- .../patchedgeconfigschemaresponsebody.md | 2 +- docs/models/patchteamremotecaching.md | 19 + docs/models/patchteamrequest.md | 39 + .../{operations => }/patchteamrequestbody.md | 6 +- docs/models/patchteamsaml.md | 18 + docs/models/{operations => }/paths.md | 2 +- docs/models/{operations => }/period.md | 6 +- docs/models/permissions.md | 196 + docs/models/php.md | 21 + docs/models/plan.md | 15 + .../models/preferredscopesandgitnamespaces.md | 19 + docs/models/production.md | 17 + docs/models/{operations => }/project.md | 2 +- docs/models/{operations => }/projectid.md | 2 +- docs/models/{operations => }/projects.md | 4 +- docs/models/projectselection.md | 17 + .../{operations => }/projectsettings.md | 6 +- docs/models/projectsmetadata.md | 21 + docs/models/protectionbypass.md | 21 + docs/models/protectionbypass1.md | 23 + docs/models/protectionbypass2.md | 27 + docs/models/protectionbypass3.md | 23 + docs/models/protectionbypass4.md | 25 + docs/models/protectionbypassaccess.md | 15 + docs/models/protectionbypassscope.md | 15 + .../models/{operations => }/protectionmode.md | 2 +- docs/models/provider.md | 15 + docs/models/purpose.md | 19 + docs/models/putfirewallconfigaction.md | 15 + docs/models/putfirewallconfigalgo.md | 15 + docs/models/putfirewallconfigchanges.md | 14 + .../models/putfirewallconfigconditiongroup.md | 22 + docs/models/putfirewallconfigconditions.md | 22 + docs/models/putfirewallconfigcrs.md | 72 + docs/models/putfirewallconfiggen.md | 21 + docs/models/putfirewallconfigips.md | 24 + docs/models/putfirewallconfigjava.md | 21 + docs/models/putfirewallconfiglfi.md | 21 + docs/models/putfirewallconfigma.md | 21 + docs/models/putfirewallconfigmanagedrules.md | 16 + docs/models/putfirewallconfigmitigate.md | 20 + docs/models/putfirewallconfigop.md | 15 + .../putfirewallconfigowasp.md | 2 +- docs/models/putfirewallconfigphp.md | 21 + docs/models/putfirewallconfigratelimit.md | 26 + docs/models/putfirewallconfigrce.md | 21 + .../putfirewallconfigredirect.md | 2 +- docs/models/putfirewallconfigrequest.md | 23 + docs/models/putfirewallconfigrequestbody.md | 21 + docs/models/putfirewallconfigresponsebody.md | 99 + docs/models/putfirewallconfigrfi.md | 21 + docs/models/putfirewallconfigrules.md | 35 + docs/models/putfirewallconfigsd.md | 21 + .../putfirewallconfigsecurityaction.md | 2 +- .../putfirewallconfigsecurityrequestaction.md | 2 +- ...lconfigsecurityrequestrequestbodyaction.md | 4 +- ...nfigsecurityrequestrequestbodycrsaction.md | 2 +- ...gsecurityrequestrequestbodycrsgenaction.md | 4 +- ...securityrequestrequestbodycrsjavaaction.md | 2 +- ...gsecurityrequestrequestbodycrsphpaction.md | 2 +- ...igsecurityrequestrequestbodycrssfaction.md | 4 +- ...securityrequestrequestbodycrssqliaction.md | 2 +- ...gsecurityrequestrequestbodycrsxssaction.md | 2 +- ...nfigsecurityrequestrequestbodyipsaction.md | 2 +- ...igsecurityrequestrequestbodyrulesaction.md | 15 + ...rityrequestrequestbodyrulesactionaction.md | 4 +- ...firewallconfigsecurityresponse200action.md | 15 + ...ecurityresponse200applicationjsonaction.md | 2 +- ...nse200applicationjsonresponsebodyaction.md | 16 + ...applicationjsonresponsebodyactiveaction.md | 2 +- ...licationjsonresponsebodyactivecrsaction.md | 4 +- ...ationjsonresponsebodyactivecrsgenaction.md | 4 +- ...tionjsonresponsebodyactivecrsjavaaction.md | 4 +- ...cationjsonresponsebodyactivecrsmaaction.md | 4 +- ...cationjsonresponsebodyactivecrssdaction.md | 2 +- ...cationjsonresponsebodyactivecrssfaction.md | 4 +- ...tionjsonresponsebodyactivecrssqliaction.md | 2 +- ...ationjsonresponsebodyactivecrsxssaction.md | 4 +- ...cationjsonresponsebodyactiverulesaction.md | 2 +- ...jsonresponsebodyactiverulesactionaction.md | 4 +- ...putfirewallconfigsecurityresponseaction.md | 15 + docs/models/putfirewallconfigsecuritytype.md | 15 + .../putfirewallconfigsecurityvalue.md | 2 +- docs/models/putfirewallconfigsf.md | 21 + docs/models/putfirewallconfigsqli.md | 21 + docs/models/putfirewallconfigtype.md | 17 + .../putfirewallconfigvalue.md | 2 +- .../putfirewallconfigverifiedbotsbypass.md | 2 +- docs/models/putfirewallconfigxss.md | 21 + docs/models/queryparamprovider.md | 15 + docs/models/queryparamrole.md | 17 + docs/models/queryparamtarget.md | 17 + docs/models/queryparamtype.md | 17 + docs/models/{operations => }/quote.md | 4 +- docs/models/ratelimit.md | 24 + docs/models/ratelimit1.md | 26 + docs/models/ratelimitaction.md | 17 + docs/models/ratelimitalgo.md | 15 + docs/models/ratelimitnotice.md | 23 + docs/models/rce.md | 21 + docs/models/readaccessgroupentitlements.md | 15 + .../readaccessgroupprojectrequest.md | 2 +- .../readaccessgroupprojectresponsebody.md | 27 + docs/models/readaccessgroupprojectrole.md | 15 + .../readaccessgrouprequest.md | 2 +- docs/models/readaccessgroupresponsebody.md | 32 + docs/models/readystate.md | 15 + docs/models/{operations => }/readysubstate.md | 2 +- docs/models/reason.md | 15 + docs/models/{operations => }/reasons.md | 5 +- docs/models/recentsviewpreference.md | 15 + .../{operations => }/recordeventsrequest.md | 4 +- docs/models/records.md | 37 + docs/models/recordtype.md | 15 + docs/models/redirect.md | 20 + docs/models/{operations => }/redirect1.md | 2 +- docs/models/redirects.md | 17 + docs/models/redirectstatuscode.md | 17 + docs/models/remotecaching.md | 17 + .../{operations => }/removecertrequest.md | 2 +- docs/models/removecertresponsebody.md | 14 + .../removeprojectdomainrequest.md | 2 +- .../removeprojectdomainresponsebody.md | 2 +- docs/models/removeprojectenvcontenthint1.md | 19 + docs/models/removeprojectenvcontenthint10.md | 19 + docs/models/removeprojectenvcontenthint11.md | 19 + docs/models/removeprojectenvcontenthint12.md | 19 + docs/models/removeprojectenvcontenthint13.md | 19 + docs/models/removeprojectenvcontenthint14.md | 25 + docs/models/removeprojectenvcontenthint15.md | 19 + docs/models/removeprojectenvcontenthint2.md | 19 + docs/models/removeprojectenvcontenthint3.md | 19 + docs/models/removeprojectenvcontenthint4.md | 19 + docs/models/removeprojectenvcontenthint5.md | 19 + docs/models/removeprojectenvcontenthint6.md | 19 + docs/models/removeprojectenvcontenthint7.md | 19 + docs/models/removeprojectenvcontenthint8.md | 19 + docs/models/removeprojectenvcontenthint9.md | 19 + .../removeprojectenvcontenthintprojects1.md | 19 + .../removeprojectenvcontenthintprojects10.md | 19 + .../removeprojectenvcontenthintprojects11.md | 19 + .../removeprojectenvcontenthintprojects12.md | 19 + .../removeprojectenvcontenthintprojects13.md | 19 + .../removeprojectenvcontenthintprojects14.md | 25 + .../removeprojectenvcontenthintprojects15.md | 19 + .../removeprojectenvcontenthintprojects2.md | 19 + .../removeprojectenvcontenthintprojects3.md | 19 + .../removeprojectenvcontenthintprojects4.md | 19 + .../removeprojectenvcontenthintprojects5.md | 19 + .../removeprojectenvcontenthintprojects6.md | 19 + .../removeprojectenvcontenthintprojects7.md | 19 + .../removeprojectenvcontenthintprojects8.md | 19 + .../removeprojectenvcontenthintprojects9.md | 19 + ...eprojectenvcontenthintprojectsresponse1.md | 19 + ...projectenvcontenthintprojectsresponse10.md | 19 + ...projectenvcontenthintprojectsresponse11.md | 19 + ...projectenvcontenthintprojectsresponse12.md | 19 + ...projectenvcontenthintprojectsresponse13.md | 19 + ...projectenvcontenthintprojectsresponse14.md | 25 + ...projectenvcontenthintprojectsresponse15.md | 19 + ...eprojectenvcontenthintprojectsresponse2.md | 19 + ...se200applicationjsonresponsebody110type.md | 2 +- ...se200applicationjsonresponsebody111type.md | 2 +- ...se200applicationjsonresponsebody112type.md | 2 +- ...se200applicationjsonresponsebody113type.md | 2 +- ...se200applicationjsonresponsebody114type.md | 2 +- ...se200applicationjsonresponsebody115type.md | 2 +- ...nse200applicationjsonresponsebody18type.md | 2 +- ...nse200applicationjsonresponsebody19type.md | 2 +- ...onse200applicationjsonresponsebody1type.md | 2 +- ...se200applicationjsonresponsebody210type.md | 2 +- ...se200applicationjsonresponsebody211type.md | 2 +- ...se200applicationjsonresponsebody212type.md | 2 +- ...se200applicationjsonresponsebody213type.md | 2 +- ...se200applicationjsonresponsebody214type.md | 2 +- ...se200applicationjsonresponsebody215type.md | 2 +- ...nse200applicationjsonresponsebody22type.md | 2 +- ...nse200applicationjsonresponsebody23type.md | 2 +- ...nse200applicationjsonresponsebody24type.md | 2 +- ...nse200applicationjsonresponsebody25type.md | 2 +- ...nse200applicationjsonresponsebody26type.md | 2 +- ...nse200applicationjsonresponsebody27type.md | 2 +- ...nse200applicationjsonresponsebody28type.md | 2 +- ...nse200applicationjsonresponsebody29type.md | 2 +- ...onse200applicationjsonresponsebody2type.md | 2 +- ...se200applicationjsonresponsebody310type.md | 2 +- ...se200applicationjsonresponsebody311type.md | 2 +- ...se200applicationjsonresponsebody312type.md | 2 +- ...se200applicationjsonresponsebody313type.md | 2 +- ...se200applicationjsonresponsebody314type.md | 2 +- ...se200applicationjsonresponsebody315type.md | 2 +- ...nse200applicationjsonresponsebody32type.md | 2 +- ...nse200applicationjsonresponsebody33type.md | 2 +- ...nse200applicationjsonresponsebody34type.md | 2 +- ...nse200applicationjsonresponsebody35type.md | 2 +- ...nse200applicationjsonresponsebody36type.md | 2 +- ...nse200applicationjsonresponsebody37type.md | 2 +- ...nse200applicationjsonresponsebody38type.md | 2 +- ...nse200applicationjsonresponsebody39type.md | 2 +- ...onse200applicationjsonresponsebody3type.md | 2 +- ...ponse200applicationjsonresponsebodytype.md | 2 +- ...tprojectsresponse200applicationjsontype.md | 2 +- ...ctenvcontenthintprojectsresponse200type.md | 2 +- ...eprojectenvcontenthintprojectsresponse3.md | 19 + ...eprojectenvcontenthintprojectsresponse4.md | 19 + ...eprojectenvcontenthintprojectsresponse5.md | 19 + ...eprojectenvcontenthintprojectsresponse6.md | 19 + ...eprojectenvcontenthintprojectsresponse7.md | 19 + ...eprojectenvcontenthintprojectsresponse8.md | 19 + ...eprojectenvcontenthintprojectsresponse9.md | 19 + ...ojectenvcontenthintprojectsresponsetype.md | 2 +- ...removeprojectenvcontenthintprojectstype.md | 2 +- .../removeprojectenvcontenthinttype.md | 2 +- .../removeprojectenvrequest.md | 2 +- docs/models/removeprojectenvresponsebody.md | 39 + docs/models/removeprojectenvresponsebody1.md | 38 + docs/models/removeprojectenvresponsebody2.md | 39 + docs/models/removeprojectenvresponsebody3.md | 38 + ...removeprojectenvresponsebodycontenthint.md | 143 + ...ojectenvresponsebodyinternalcontenthint.md | 21 + ...ojectenvresponsebodyprojectscontenthint.md | 143 + ...responsebodyprojectsinternalcontenthint.md | 21 + ...projectsresponse200applicationjson3type.md | 2 +- ...yprojectsresponse200applicationjsontype.md | 2 +- ...tenvresponsebodyprojectsresponse200type.md | 2 +- ...responsebodyprojectsresponsecontenthint.md | 143 + ...bodyprojectsresponseinternalcontenthint.md | 21 + ...ctenvresponsebodyprojectsresponsetarget.md | 19 + ...jectenvresponsebodyprojectsresponsetype.md | 15 + ...oveprojectenvresponsebodyprojectstarget.md | 19 + ...emoveprojectenvresponsebodyprojectstype.md | 15 + .../removeprojectenvresponsebodytarget.md | 19 + .../removeprojectenvresponsebodytype.md | 15 + docs/models/removeprojectenvtarget1.md | 15 + docs/models/removeprojectenvtarget2.md | 15 + .../removeprojectenvtargetprojects1.md | 2 +- .../removeprojectenvtargetprojects2.md | 2 +- ...removeprojectenvtargetprojectsresponse1.md | 2 +- ...removeprojectenvtargetprojectsresponse2.md | 2 +- .../removeprojectmemberrequest.md | 2 +- .../removeprojectmemberresponsebody.md | 2 +- .../{operations => }/removerecordrequest.md | 2 +- .../removerecordresponsebody.md | 2 +- .../removeteammemberrequest.md | 2 +- .../removeteammemberresponsebody.md | 2 +- docs/models/{operations => }/repoid.md | 0 docs/models/repos.md | 40 + docs/models/requestaccesstoteamgituserid.md | 19 + docs/models/requestaccesstoteamjoinedfrom.md | 27 + docs/models/requestaccesstoteamorigin.md | 17 + docs/models/requestaccesstoteamrequest.md | 28 + docs/models/requestaccesstoteamrequestbody.md | 24 + .../models/requestaccesstoteamresponsebody.md | 30 + .../requestaccesstoteamteamsgituserid.md | 17 + .../requestaccesstoteamteamsjoinedfrom.md | 27 + docs/models/requestaccesstoteamteamsorigin.md | 15 + docs/models/{operations => }/requestbody.md | 6 +- docs/models/{operations => }/requestbody1.md | 6 +- docs/models/requestbody10.md | 22 + docs/models/requestbody2.md | 25 + docs/models/requestbody3.md | 25 + docs/models/requestbody4.md | 25 + docs/models/requestbody5.md | 25 + docs/models/requestbody6.md | 26 + docs/models/requestbody7.md | 21 + docs/models/requestbody8.md | 26 + docs/models/requestbody9.md | 27 + docs/models/requestbodyaction.md | 15 + docs/models/requestbodyconditiongroup.md | 22 + docs/models/requestbodyconditions.md | 22 + .../{operations => }/requestbodyhttps.md | 2 +- docs/models/requestbodyid.md | 15 + docs/models/requestbodymitigate.md | 20 + docs/models/requestbodyop.md | 17 + docs/models/requestbodyratelimit.md | 24 + docs/models/requestbodyredirect.md | 20 + docs/models/requestbodyrole.md | 17 + .../models/{operations => }/requestbodysrv.md | 2 +- docs/models/requestbodytype.md | 17 + docs/models/requestbodyvalue.md | 33 + .../{operations => }/requestdeletereasons.md | 4 +- .../requestdeleterequestbody.md | 4 +- .../requestdeleteresponsebody.md | 4 +- .../{operations => }/requestpromoterequest.md | 2 +- .../{operations => }/rerequestcheckrequest.md | 2 +- docs/models/rerequestcheckresponsebody.md | 14 + docs/models/resourceconfig.md | 35 + docs/models/responsebody.md | 24 + docs/models/{operations => }/responsebody1.md | 2 +- docs/models/responsebody2.md | 19 + docs/models/{operations => }/responsebody3.md | 16 +- .../responsebodyaliasassignedat.md | 0 .../responsebodyaliaserror.md | 2 +- .../{operations => }/responsebodyaliases.md | 2 +- .../responsebodyaliaswarning.md | 2 +- .../{operations => }/responsebodybackup.md | 6 +- docs/models/responsebodybillingplan.md | 31 + .../{operations => }/responsebodybuild.md | 2 +- docs/models/responsebodybuilds.md | 14 + .../responsebodychecksconclusion.md | 2 +- docs/models/responsebodychecksstate.md | 15 + docs/models/responsebodycontenthint.md | 143 + .../{operations => }/responsebodycreator.md | 2 +- .../{operations => }/responsebodycrons.md | 2 +- docs/models/responsebodycustomenvironment.md | 19 + .../{operations => }/responsebodydetails.md | 2 +- docs/models/responsebodydisabledreason.md | 15 + docs/models/responsebodyenvs.md | 35 + docs/models/responsebodyerror.md | 17 + .../{operations => }/responsebodyevents.md | 2 +- docs/models/responsebodyflags.md | 21 + .../{operations => }/responsebodyframework.md | 2 +- .../{operations => }/responsebodyfunctions.md | 2 +- docs/models/responsebodygitrepo.md | 55 + docs/models/responsebodygitsource.md | 97 + .../responsebodyheightlighteddetails.md | 2 +- .../models/{operations => }/responsebodyid.md | 2 +- .../responsebodyinstallationtype.md | 2 +- docs/models/responsebodyintegrations.md | 22 + .../responsebodyinternalcontenthint.md | 4 +- docs/models/responsebodyitems.md | 22 + docs/models/responsebodylambdas.md | 29 + docs/models/responsebodymembers.md | 33 + .../{operations => }/responsebodymetadata.md | 2 +- docs/models/responsebodymicrofrontends.md | 26 + .../responsebodynamespaceid.md | 2 +- .../responsebodyoidctokenclaims.md | 2 +- .../{operations => }/responsebodyoutput.md | 2 +- docs/models/responsebodyownertype.md | 15 + .../responsebodypagination.md | 2 +- docs/models/responsebodyplan.md | 15 + .../{operations => }/responsebodyproject.md | 2 +- docs/models/responsebodyprojectsettings.md | 22 + docs/models/responsebodyprovider.md | 15 + .../{operations => }/responsebodyquote.md | 4 +- docs/models/responsebodyreadystate.md | 15 + .../responsebodyreadysubstate.md | 2 +- docs/models/responsebodyrecords.md | 37 + docs/models/responsebodyrole.md | 17 + docs/models/responsebodyroutes.md | 31 + docs/models/responsebodyscope.md | 15 + docs/models/responsebodysource.md | 15 + .../responsebodyspeedinsights.md | 2 +- docs/models/responsebodystatus.md | 15 + docs/models/responsebodytarget.md | 15 + .../{operations => }/responsebodyteam.md | 2 +- docs/models/responsebodyteamrole.md | 17 + docs/models/responsebodytype.md | 15 + .../{operations => }/responsebodyuser.md | 6 +- .../responsebodywebanalytics.md | 2 +- docs/models/result.md | 15 + docs/models/{operations => }/revoke.md | 2 +- docs/models/rfi.md | 21 + docs/models/role.md | 15 + docs/models/roles.md | 19 + docs/models/roles1.md | 15 + docs/models/{operations => }/roles2.md | 2 +- docs/models/routes.md | 31 + docs/models/{operations => }/routes1.md | 8 +- docs/models/routes2.md | 20 + docs/models/{operations => }/routes3.md | 2 +- docs/models/routeshandle.md | 15 + docs/models/routeshas.md | 23 + docs/models/{operations => }/routeslocale.md | 2 +- docs/models/routesmissing.md | 23 + docs/models/rules.md | 34 + docs/models/saml.md | 34 + docs/models/schema.md | 14 + docs/models/scope.md | 15 + docs/models/scopes.md | 26 + docs/models/scopes1.md | 24 + docs/models/scopes2.md | 26 + docs/models/scopesorigin.md | 15 + docs/models/scopestype.md | 15 + docs/models/sd.md | 21 + .../{operations => }/searchreporequest.md | 6 +- docs/models/searchreporesponsebody.md | 40 + docs/models/searchreporesponsebody1.md | 14 + docs/models/searchreporesponsebody2.md | 39 + .../searchreporesponsebodyid.md | 2 +- docs/models/searchreporesponsebodyprovider.md | 15 + docs/models/secrets.md | 20 + docs/models/security.md | 15 + docs/models/{operations => }/servicetype.md | 2 +- docs/models/seven.md | 28 + docs/models/sf.md | 21 + docs/models/six.md | 27 + .../skipautodetectionconfirmation.md | 4 +- docs/models/softblock.md | 22 + docs/models/{operations => }/source.md | 2 +- docs/models/sources.md | 15 + docs/models/{operations => }/speedinsights.md | 2 +- docs/models/sqli.md | 21 + docs/models/src.md | 17 + docs/models/{operations => }/src2.md | 2 +- docs/models/{operations => }/srv.md | 8 +- docs/models/{operations => }/ssoprotection.md | 4 +- docs/models/state.md | 15 + docs/models/status.md | 17 + docs/models/{operations => }/statuscode.md | 0 docs/models/{operations => }/statusrequest.md | 2 +- docs/models/statusresponsebody.md | 17 + docs/models/statusstatus.md | 15 + docs/models/{operations => }/strict.md | 4 +- docs/models/submitbillingdatabilling.md | 39 + docs/models/submitbillingdatarequest.md | 48 + .../submitbillingdatarequestbody.md | 26 +- docs/models/submitbillingdatatype.md | 17 + .../submitinvoicediscounts.md | 4 +- .../{operations => }/submitinvoiceitems.md | 6 +- .../{operations => }/submitinvoiceperiod.md | 6 +- docs/models/submitinvoicerequest.md | 35 + .../submitinvoicerequestbody.md | 20 +- .../submitinvoiceresponsebody.md | 2 +- docs/models/{operations => }/target.md | 2 +- docs/models/target1.md | 15 + docs/models/target2.md | 15 + docs/models/targets.md | 68 + docs/models/tbt.md | 21 + docs/models/{operations => }/team.md | 2 +- docs/models/{components => }/teamlimited.md | 14 +- docs/models/teamrole.md | 15 + docs/models/{operations => }/teams.md | 12 +- docs/models/ten.md | 27 + docs/models/test.md | 18 + docs/models/thirteen.md | 19 + docs/models/three.md | 22 + docs/models/tier.md | 15 + docs/models/{operations => }/transfer.md | 6 +- .../models/{operations => }/transferpolicy.md | 4 +- docs/models/{operations => }/trustedips.md | 8 +- docs/models/trustedips1.md | 25 + docs/models/trustedips2.md | 17 + .../{operations => }/trustedipsaddresses.md | 2 +- docs/models/trustedipsdeploymenttype.md | 15 + docs/models/trustedipsprotectionmode.md | 15 + docs/models/twelve.md | 19 + docs/models/two.md | 23 + docs/models/{operations => }/two1.md | 6 +- docs/models/two2.md | 29 + docs/models/two5.md | 14 + docs/models/twotarget.md | 15 + docs/models/twotype.md | 17 + docs/models/type.md | 17 + .../updateaccessgroupentitlements.md | 2 +- ...pdateaccessgroupprojectaccessgroupsrole.md | 2 +- .../models/updateaccessgroupprojectrequest.md | 25 + .../updateaccessgroupprojectrequestbody.md | 17 + .../updateaccessgroupprojectresponsebody.md | 27 + .../updateaccessgroupprojectrole.md | 2 +- docs/models/updateaccessgrouprequest.md | 29 + docs/models/updateaccessgrouprequestbody.md | 26 + docs/models/updateaccessgroupresponsebody.md | 30 + docs/models/updateaccessgrouprole.md | 17 + .../updateattackchallengemoderequest.md | 22 + .../updateattackchallengemoderequestbody.md | 2 +- .../updateattackchallengemoderesponsebody.md | 4 +- ...eckchecksrequestrequestbodyoutputsource.md | 2 +- ...datecheckchecksrequestrequestbodysource.md | 2 +- .../updatecheckchecksrequestsource.md | 2 +- ...applicationjsonresponsebodyoutputsource.md | 2 +- ...nse200applicationjsonresponsebodysource.md | 2 +- ...kchecksresponse200applicationjsonsource.md | 2 +- .../updatecheckchecksresponse200source.md | 2 +- .../updatecheckchecksresponsesource.md | 2 +- docs/models/updatecheckcheckssource.md | 15 + docs/models/updatecheckcls.md | 20 + docs/models/updatecheckconclusion.md | 15 + docs/models/updatecheckfcp.md | 20 + docs/models/updatechecklcp.md | 20 + docs/models/updatecheckmetrics.md | 36 + docs/models/updatecheckoutput.md | 15 + docs/models/updatecheckrequest.md | 57 + .../updatecheckrequestbody.md | 8 +- docs/models/updatecheckresponsebody.md | 39 + docs/models/updatechecksource.md | 15 + docs/models/updatecheckstatus.md | 15 + docs/models/updatechecktbt.md | 20 + .../updatecheckvirtualexperiencescore.md | 20 + docs/models/updateedgeconfigpurpose.md | 19 + docs/models/updateedgeconfigrequest.md | 23 + .../updateedgeconfigrequestbody.md | 2 +- .../updateedgeconfigresponsebody.md | 12 +- docs/models/updateedgeconfigschema.md | 14 + .../updateedgeconfigtransfer.md | 6 +- docs/models/updateedgeconfigtype.md | 15 + docs/models/updatefirewallconfigaction1.md | 15 + .../updatefirewallconfigactionsecurity1.md | 2 +- docs/models/updatefirewallconfigratelimit1.md | 26 + .../updatefirewallconfigratelimitaction.md | 17 + .../updatefirewallconfigratelimitalgo.md | 2 +- .../updatefirewallconfigratelimitsecurity1.md | 26 + ...tefirewallconfigratelimitsecurityaction.md | 17 + .../updatefirewallconfigredirect1.md | 2 +- .../updatefirewallconfigredirectsecurity1.md | 2 +- .../updatefirewallconfigrequest.md | 11 +- .../models/updatefirewallconfigrequestbody.md | 149 + .../updatefirewallconfigrequestbody1.md | 22 + .../updatefirewallconfigrequestbody2.md | 36 + .../updatefirewallconfigrequestbody3.md | 37 + .../updatefirewallconfigrequestbody4.md | 22 + .../updatefirewallconfigrequestbody5.md | 23 + .../updatefirewallconfigrequestbodyaction.md | 2 +- ...firewallconfigrequestbodyconditiongroup.md | 22 + ...datefirewallconfigrequestbodyconditions.md | 22 + ...updatefirewallconfigrequestbodymitigate.md | 20 + .../updatefirewallconfigrequestbodyop.md | 17 + ...pdatefirewallconfigrequestbodyratelimit.md | 24 + ...updatefirewallconfigrequestbodyredirect.md | 20 + ...firewallconfigrequestbodysecurityaction.md | 2 +- ...onfigrequestbodysecurityrequest10action.md | 2 +- ...onfigrequestbodysecurityrequest11action.md | 2 +- ...configrequestbodysecurityrequest11value.md | 2 +- ...configrequestbodysecurityrequest2action.md | 15 + ...lconfigrequestbodysecurityrequest2value.md | 2 +- ...grequestbodysecurityrequest2valueaction.md | 4 +- ...configrequestbodysecurityrequest3action.md | 15 + ...lconfigrequestbodysecurityrequest3value.md | 2 +- ...grequestbodysecurityrequest3valueaction.md | 4 +- ...configrequestbodysecurityrequest5action.md | 2 +- ...configrequestbodysecurityrequest6action.md | 2 +- ...grequestbodysecurityrequest6valueaction.md | 2 +- ...configrequestbodysecurityrequest7action.md | 2 +- ...configrequestbodysecurityrequest8action.md | 2 +- ...grequestbodysecurityrequest8valueaction.md | 5 +- ...configrequestbodysecurityrequest9action.md | 2 +- ...lconfigrequestbodysecurityrequest9value.md | 22 + ...grequestbodysecurityrequest9valueaction.md | 5 +- ...lconfigrequestbodysecurityrequestaction.md | 2 +- ...llconfigrequestbodysecurityrequestvalue.md | 22 + ...tefirewallconfigrequestbodysecuritytype.md | 17 + ...efirewallconfigrequestbodysecurityvalue.md | 19 + .../updatefirewallconfigrequestbodytype.md | 17 + .../updatefirewallconfigrequestbodyvalue.md | 33 + .../updatefirewallconfigresponsebody.md | 2 +- docs/models/updateinvoicerequest.md | 25 + .../updateinvoicerequestbody.md | 4 +- docs/models/updateprojectaction.md | 15 + docs/models/updateprojectalgo.md | 15 + .../updateprojectaliasassigned.md | 0 .../updateprojectaliaserror.md | 2 +- .../updateprojectanalytics.md | 2 +- docs/models/updateprojectbranchmatcher.md | 19 + .../{operations => }/updateprojectbuilds.md | 2 +- .../updateprojectchecksconclusion.md | 2 +- docs/models/updateprojectchecksstate.md | 15 + docs/models/updateprojectcontenthint.md | 143 + docs/models/updateprojectcontenthint1.md | 19 + docs/models/updateprojectcontenthint10.md | 19 + docs/models/updateprojectcontenthint11.md | 19 + docs/models/updateprojectcontenthint12.md | 19 + docs/models/updateprojectcontenthint13.md | 19 + docs/models/updateprojectcontenthint14.md | 25 + docs/models/updateprojectcontenthint15.md | 19 + docs/models/updateprojectcontenthint2.md | 19 + docs/models/updateprojectcontenthint3.md | 19 + docs/models/updateprojectcontenthint4.md | 19 + docs/models/updateprojectcontenthint5.md | 19 + docs/models/updateprojectcontenthint6.md | 19 + docs/models/updateprojectcontenthint7.md | 19 + docs/models/updateprojectcontenthint8.md | 19 + docs/models/updateprojectcontenthint9.md | 19 + ...200applicationjsonresponsebodyenv10type.md | 2 +- ...200applicationjsonresponsebodyenv11type.md | 2 +- ...200applicationjsonresponsebodyenv12type.md | 2 +- ...200applicationjsonresponsebodyenv13type.md | 2 +- ...200applicationjsonresponsebodyenv14type.md | 2 +- ...200applicationjsonresponsebodyenv15type.md | 2 +- ...e200applicationjsonresponsebodyenv8type.md | 2 +- ...e200applicationjsonresponsebodyenv9type.md | 2 +- ...se200applicationjsonresponsebodyenvtype.md | 2 +- ...ponse200applicationjsonresponsebodytype.md | 2 +- ...tprojectsresponse200applicationjsontype.md | 2 +- ...ojectcontenthintprojectsresponse200type.md | 2 +- ...eprojectcontenthintprojectsresponsetype.md | 2 +- .../updateprojectcontenthintprojectstype.md | 2 +- .../updateprojectcontenthinttype.md | 2 +- .../{operations => }/updateprojectcreator.md | 2 +- .../{operations => }/updateprojectcrons.md | 4 +- .../updateprojectcustomenvironments.md | 2 +- .../updateprojectdatacache.md | 2 +- .../updateprojectdatacacheaction.md | 2 +- docs/models/updateprojectdatacachealgo.md | 15 + .../updateprojectdatacachealiasassigned.md | 0 .../updateprojectdatacachealiaserror.md | 2 +- .../updateprojectdatacachebranchmatcher.md | 19 + .../updateprojectdatacachebuilds.md | 2 +- .../updateprojectdatacachechecksconclusion.md | 2 +- .../updateprojectdatacachechecksstate.md | 2 +- .../updateprojectdatacachecontenthint11.md | 19 + ...200applicationjsonresponsebodyenv10type.md | 2 +- ...200applicationjsonresponsebodyenv11type.md | 2 +- ...200applicationjsonresponsebodyenv12type.md | 2 +- ...200applicationjsonresponsebodyenv13type.md | 2 +- ...200applicationjsonresponsebodyenv14type.md | 2 +- ...200applicationjsonresponsebodyenv15type.md | 2 +- ...e200applicationjsonresponsebodyenv9type.md | 2 +- ...se200applicationjsonresponsebodyenvtype.md | 2 +- ...ponse200applicationjsonresponsebodytype.md | 2 +- ...tprojectsresponse200applicationjsontype.md | 2 +- ...cachecontenthintprojectsresponse200type.md | 2 +- ...atacachecontenthintprojectsresponsetype.md | 2 +- ...projectdatacachecontenthintprojectstype.md | 2 +- .../updateprojectdatacachecontenthinttype.md | 2 +- .../updateprojectdatacachecreator.md | 2 +- .../models/updateprojectdatacachedatacache.md | 19 + .../updateprojectdatacachedeploymenttype.md | 2 +- .../updateprojectdatacacheframework.md | 2 +- .../updateprojectdatacacheissuermode.md | 2 +- .../updateprojectdatacachelinkdeployhooks.md | 2 +- .../updateprojectdatacachelinkprojectstype.md | 2 +- .../updateprojectdatacachelinktype.md | 2 +- docs/models/updateprojectdatacachemitigate.md | 21 + .../updateprojectdatacachenodeversion.md | 2 +- .../updateprojectdatacacheoidctokenclaims.md | 2 +- .../updateprojectdatacacheoidctokenconfig.md | 18 + .../updateprojectdatacacheoptionsallowlist.md | 21 + ...pdateprojectdatacachepasswordprotection.md | 2 +- .../updateprojectdatacachepaths.md | 2 +- docs/models/updateprojectdatacacheplan.md | 15 + ...pdateprojectdatacacheprojectsaliaserror.md | 2 +- .../updateprojectdatacacheprojectsbuilds.md | 2 +- ...rojectdatacacheprojectschecksconclusion.md | 2 +- ...dateprojectdatacacheprojectschecksstate.md | 2 +- .../updateprojectdatacacheprojectscreator.md | 2 +- ...projectdatacacheprojectsoidctokenclaims.md | 2 +- .../updateprojectdatacacheprojectsplan.md | 2 +- ...pdateprojectdatacacheprojectsreadystate.md | 2 +- ...teprojectdatacacheprojectsreadysubstate.md | 2 +- ...nresponsebodysecurityfirewallroutestype.md | 19 + ...applicationjsonresponsebodysecuritytype.md | 17 + ...0applicationjsonresponsebodytargetstype.md | 2 +- ...ponse200applicationjsonresponsebodytype.md | 2 +- ...eprojectsresponse200applicationjsontype.md | 2 +- ...projectdatacacheprojectsresponse200type.md | 2 +- ...ateprojectdatacacheprojectsresponsetype.md | 2 +- .../updateprojectdatacacheprojectstype.md | 2 +- .../updateprojectdatacacheprojectsvalue.md | 17 + .../updateprojectdatacachereadystate.md | 2 +- .../updateprojectdatacachereadysubstate.md | 2 +- docs/models/updateprojectdatacacherequest.md | 23 + .../updateprojectdatacacherequestbody.md | 2 +- .../updateprojectdatacacheresourceconfig.md | 18 + .../updateprojectdatacacheresponsebody.md | 144 + docs/models/updateprojectdatacachesecurity.md | 25 + .../updateprojectdatacachessoprotection.md | 17 + docs/models/updateprojectdatacachetarget.md | 19 + .../updateprojectdatacachetarget1.md | 2 +- .../updateprojectdatacachetarget2.md | 2 +- .../updateprojectdatacachetrustedips.md | 27 + ...dateprojectdatacachetrustedipsaddresses.md | 2 +- ...rojectdatacachetrustedipsdeploymenttype.md | 2 +- ...rojectdatacachetrustedipsprotectionmode.md | 2 +- docs/models/updateprojectdatacachetype.md | 15 + docs/models/updateprojectdatacachevalue.md | 17 + .../updateprojectdatacachevalue2.md | 2 +- .../updateprojectdatacachevalueprojects2.md | 2 +- .../updateprojectdatacachewebanalytics.md | 21 + .../updateprojectdefinitions.md | 2 +- .../updateprojectdeploymentexpiration.md | 2 +- .../updateprojectdeploymenttype.md | 2 +- docs/models/updateprojectdomainrequest.md | 27 + docs/models/updateprojectdomainrequestbody.md | 21 + .../updateprojectdomainresponsebody.md | 4 +- .../updateprojectdomainverification.md | 2 +- docs/models/updateprojectenv.md | 38 + docs/models/updateprojecterl.md | 25 + docs/models/updateprojectfirewallroutes.md | 21 + .../updateprojectframework.md | 2 +- .../updateprojectfunctiondefaultmemorytype.md | 2 +- .../updateprojectgitcomments.md | 2 +- docs/models/updateprojecthandle.md | 15 + docs/models/updateprojecthas.md | 19 + .../updateprojectinternalcontenthint.md | 21 + .../updateprojectipbuckets.md | 2 +- docs/models/updateprojectissuermode.md | 17 + docs/models/updateprojectjobstatus.md | 15 + docs/models/updateprojectlastaliasrequest.md | 25 + .../updateprojectlastrollbacktarget.md | 2 +- docs/models/updateprojectlatestdeployments.md | 68 + docs/models/updateprojectlink.md | 50 + .../{operations => }/updateprojectlink1.md | 6 +- .../{operations => }/updateprojectlink2.md | 6 +- docs/models/updateprojectlink3.md | 35 + .../updateprojectlinkdeployhooks.md | 2 +- .../updateprojectlinkprojectsdeployhooks.md | 2 +- ...eprojectlinkprojectsresponsedeployhooks.md | 2 +- .../updateprojectlinkprojectsresponsetype.md | 2 +- .../updateprojectlinkprojectstype.md | 2 +- docs/models/updateprojectlinktype.md | 15 + .../updateprojectmicrofrontends.md | 2 +- docs/models/updateprojectmissing.md | 19 + docs/models/updateprojectmitigate.md | 21 + docs/models/updateprojectnodeversion.md | 15 + .../updateprojectoidctokenclaims.md | 2 +- docs/models/updateprojectoidctokenconfig.md | 20 + docs/models/updateprojectoptionsallowlist.md | 21 + .../updateprojectpasswordprotection.md | 2 +- .../{operations => }/updateprojectpaths.md | 2 +- docs/models/updateprojectpermissions.md | 196 + docs/models/updateprojectplan.md | 15 + .../updateprojectprojectsaliasassigned.md | 0 .../updateprojectprojectsaliaserror.md | 2 +- .../updateprojectprojectsbranchmatcher.md | 19 + .../updateprojectprojectsbuilds.md | 2 +- .../updateprojectprojectschecksconclusion.md | 2 +- .../updateprojectprojectschecksstate.md | 2 +- .../updateprojectprojectscreator.md | 2 +- .../updateprojectprojectsdeploymenttype.md | 2 +- .../updateprojectprojectsframework.md | 2 +- .../updateprojectprojectsissuermode.md | 2 +- .../updateprojectprojectsnodeversion.md | 2 +- .../updateprojectprojectsoidctokenclaims.md | 2 +- .../updateprojectprojectsoidctokenconfig.md | 18 + docs/models/updateprojectprojectsplan.md | 15 + .../updateprojectprojectsreadystate.md | 2 +- .../updateprojectprojectsreadysubstate.md | 2 +- ...se200applicationjsonresponsebodyenvtype.md | 2 +- ...nresponsebodysecurityfirewallroutestype.md | 19 + ...applicationjsonresponsebodysecuritytype.md | 17 + ...ponse200applicationjsonresponsebodytype.md | 2 +- ...tprojectsresponse200applicationjsontype.md | 2 +- .../updateprojectprojectsresponse200type.md | 2 +- ...teprojectprojectsresponsedeploymenttype.md | 2 +- .../updateprojectprojectsresponsetype.md | 2 +- docs/models/updateprojectprojectstype.md | 15 + docs/models/updateprojectprojectsvalue.md | 17 + docs/models/updateprojectprotectionbypass.md | 21 + ...projectprotectionbypassprotectionbypass.md | 21 + .../updateprojectprotectionbypassrequest.md | 21 + ...pdateprojectprotectionbypassrequestbody.md | 6 +- ...dateprojectprotectionbypassresponsebody.md | 15 + .../updateprojectprotectionbypassscope.md | 2 +- docs/models/updateprojectreadystate.md | 15 + docs/models/updateprojectreadysubstate.md | 15 + docs/models/updateprojectrequest.md | 23 + .../updateprojectrequestbody.md | 16 +- docs/models/updateprojectresourceconfig.md | 18 + docs/models/updateprojectresponsebody.md | 146 + docs/models/updateprojectscope.md | 15 + docs/models/updateprojectsecurity.md | 25 + .../updateprojectspeedinsights.md | 2 +- docs/models/updateprojectsrc.md | 17 + .../{operations => }/updateprojectsrc2.md | 2 +- docs/models/updateprojectssoprotection.md | 17 + docs/models/updateprojecttarget.md | 19 + docs/models/updateprojecttarget2.md | 15 + docs/models/updateprojecttargets.md | 68 + docs/models/updateprojecttier.md | 15 + docs/models/updateprojecttrustedips.md | 27 + docs/models/updateprojecttrustedips1.md | 25 + docs/models/updateprojecttrustedips2.md | 17 + .../updateprojecttrustedipsaddresses.md | 2 +- .../updateprojecttrustedipsdeploymenttype.md | 2 +- ...projecttrustedipsprojectsdeploymenttype.md | 2 +- .../updateprojecttrustedipsprotectionmode.md | 2 +- docs/models/updateprojecttype.md | 15 + docs/models/updateprojectvalue.md | 17 + .../{operations => }/updateprojectvalue2.md | 2 +- .../updateprojectvalueprojects2.md | 2 +- .../updateprojectwebanalytics.md | 2 +- docs/models/updaterecorddnstype.md | 15 + docs/models/updaterecordrequest.md | 37 + docs/models/updaterecordrequestbody.md | 38 + docs/models/updaterecordresponsebody.md | 32 + docs/models/updaterecordtype.md | 17 + docs/models/updateresourcesecretsrequest.md | 30 + .../updateresourcesecretsrequestbody.md | 22 + .../updateteammemberjoinedfrom.md | 2 +- .../updateteammemberprojects.md | 4 +- docs/models/updateteammemberrequest.md | 30 + docs/models/updateteammemberrequestbody.md | 27 + .../updateteammemberresponsebody.md | 2 +- .../{operations => }/updateteammemberrole.md | 2 +- .../{operations => }/uploadartifactrequest.md | 4 +- .../uploadartifactresponsebody.md | 2 +- docs/models/uploadcertrequest.md | 23 + .../{operations => }/uploadcertrequestbody.md | 2 +- .../uploadcertresponsebody.md | 6 +- docs/models/{operations => }/uploadedfile.md | 2 +- .../{operations => }/uploadfilerequest.md | 2 +- docs/models/uploadfileresponsebody.md | 24 + .../uploadfileresponsebody1.md | 2 +- docs/models/uploadfileresponsebody2.md | 14 + docs/models/{operations => }/usage.md | 10 +- docs/models/{operations => }/user.md | 10 +- docs/models/{components => }/userevent.md | 2 +- docs/models/{operations => }/utm.md | 2 +- docs/models/vercelbadrequesterror.md | 15 + docs/models/vercelforbiddenerror.md | 15 + docs/models/vercelforbiddenerrorerror.md | 18 + docs/models/vercelnotfounderror.md | 15 + docs/models/vercelnotfounderrorerror.md | 16 + docs/models/vercelratelimiterror.md | 15 + docs/models/vercelratelimiterrorerror.md | 19 + docs/models/{operations => }/verification.md | 2 +- docs/models/verified.md | 17 + .../{operations => }/verifiedbotsbypass.md | 2 +- .../verifyprojectdomainrequest.md | 2 +- .../verifyprojectdomainresponsebody.md | 4 +- .../verifyprojectdomainverification.md | 2 +- docs/models/version.md | 17 + docs/models/view.md | 15 + docs/models/viewpreference.md | 15 + docs/models/virtualexperiencescore.md | 21 + docs/models/webanalytics.md | 19 + docs/models/xss.md | 21 + docs/sdks/accessgroups/README.md | 139 +- docs/sdks/aliases/README.md | 65 +- docs/sdks/artifacts/README.md | 92 +- docs/sdks/authentication/README.md | 84 +- docs/sdks/certs/README.md | 75 +- docs/sdks/checks/README.md | 65 +- docs/sdks/deployments/README.md | 110 +- docs/sdks/dns/README.md | 52 +- docs/sdks/domains/README.md | 125 +- docs/sdks/edgeconfig/README.md | 240 +- docs/sdks/integrations/README.md | 59 +- docs/sdks/logdrains/README.md | 83 +- docs/sdks/marketplace/README.md | 296 +- docs/sdks/projectmembers/README.md | 36 +- docs/sdks/projects/README.md | 233 +- docs/sdks/security/README.md | 80 +- docs/sdks/teams/README.md | 165 +- docs/sdks/user/README.md | 38 +- docs/sdks/vercel/README.md | 4 +- docs/sdks/webhooks/README.md | 64 +- jsr.json | 6 +- package.json | 2 +- src/funcs/accessGroupsCreateAccessGroup.ts | 46 +- .../accessGroupsCreateAccessGroupProject.ts | 46 +- src/funcs/accessGroupsDeleteAccessGroup.ts | 44 +- .../accessGroupsDeleteAccessGroupProject.ts | 44 +- .../accessGroupsListAccessGroupMembers.ts | 38 +- .../accessGroupsListAccessGroupProjects.ts | 38 +- src/funcs/accessGroupsListAccessGroups.ts | 38 +- src/funcs/accessGroupsReadAccessGroup.ts | 38 +- .../accessGroupsReadAccessGroupProject.ts | 38 +- src/funcs/accessGroupsUpdateAccessGroup.ts | 38 +- .../accessGroupsUpdateAccessGroupProject.ts | 38 +- src/funcs/aliasesAssignAlias.ts | 46 +- src/funcs/aliasesDeleteAlias.ts | 46 +- src/funcs/aliasesGetAlias.ts | 46 +- src/funcs/aliasesListAliases.ts | 38 +- src/funcs/aliasesListDeploymentAliases.ts | 38 +- src/funcs/artifactsArtifactExists.ts | 44 +- src/funcs/artifactsArtifactQuery.ts | 39 +- src/funcs/artifactsDownloadArtifact.ts | 42 +- src/funcs/artifactsRecordEvents.ts | 33 +- src/funcs/artifactsStatus.ts | 31 +- src/funcs/artifactsUploadArtifact.ts | 31 +- src/funcs/authenticationCreateAuthToken.ts | 39 +- src/funcs/authenticationDeleteAuthToken.ts | 46 +- src/funcs/authenticationExchangeSsoToken.ts | 48 +- src/funcs/authenticationGetAuthToken.ts | 46 +- src/funcs/authenticationListAuthTokens.ts | 31 +- src/funcs/certsGetCertById.ts | 46 +- src/funcs/certsIssueCert.ts | 38 +- src/funcs/certsRemoveCert.ts | 38 +- src/funcs/certsUploadCert.ts | 31 +- src/funcs/checksCreateCheck.ts | 46 +- src/funcs/checksGetAllChecks.ts | 46 +- src/funcs/checksGetCheck.ts | 46 +- src/funcs/checksRerequestCheck.ts | 38 +- src/funcs/checksUpdateCheck.ts | 38 +- src/funcs/deploymentsCancelDeployment.ts | 46 +- src/funcs/deploymentsCreateDeployment.ts | 46 +- src/funcs/deploymentsDeleteDeployment.ts | 46 +- src/funcs/deploymentsGetDeployment.ts | 39 +- src/funcs/deploymentsGetDeploymentEvents.ts | 37 +- .../deploymentsGetDeploymentFileContents.ts | 44 +- src/funcs/deploymentsGetDeployments.ts | 46 +- src/funcs/deploymentsListDeploymentFiles.ts | 43 +- src/funcs/deploymentsUploadFile.ts | 31 +- src/funcs/dnsCreateRecord.ts | 46 +- src/funcs/dnsGetRecords.ts | 46 +- src/funcs/dnsRemoveRecord.ts | 38 +- src/funcs/dnsUpdateRecord.ts | 38 +- src/funcs/domainsBuyDomain.ts | 46 +- src/funcs/domainsCheckDomainPrice.ts | 39 +- src/funcs/domainsCheckDomainStatus.ts | 39 +- src/funcs/domainsCreateOrTransferDomain.ts | 46 +- src/funcs/domainsDeleteDomain.ts | 46 +- src/funcs/domainsGetDomain.ts | 46 +- src/funcs/domainsGetDomainConfig.ts | 41 +- src/funcs/domainsGetDomainTransfer.ts | 39 +- src/funcs/domainsGetDomains.ts | 39 +- src/funcs/domainsPatchDomain.ts | 38 +- src/funcs/edgeConfigCreateEdgeConfig.ts | 39 +- src/funcs/edgeConfigCreateEdgeConfigToken.ts | 46 +- src/funcs/edgeConfigDeleteEdgeConfig.ts | 44 +- src/funcs/edgeConfigDeleteEdgeConfigSchema.ts | 44 +- src/funcs/edgeConfigDeleteEdgeConfigTokens.ts | 44 +- src/funcs/edgeConfigGetEdgeConfig.ts | 46 +- src/funcs/edgeConfigGetEdgeConfigBackup.ts | 46 +- src/funcs/edgeConfigGetEdgeConfigBackups.ts | 46 +- src/funcs/edgeConfigGetEdgeConfigItem.ts | 44 +- src/funcs/edgeConfigGetEdgeConfigItems.ts | 44 +- src/funcs/edgeConfigGetEdgeConfigSchema.ts | 46 +- src/funcs/edgeConfigGetEdgeConfigToken.ts | 44 +- src/funcs/edgeConfigGetEdgeConfigTokens.ts | 44 +- src/funcs/edgeConfigGetEdgeConfigs.ts | 39 +- src/funcs/edgeConfigPatchEdgeConfigSchema.ts | 38 +- src/funcs/edgeConfigUpdateEdgeConfig.ts | 38 +- src/funcs/integrationsDeleteConfiguration.ts | 44 +- src/funcs/integrationsGetConfiguration.ts | 46 +- src/funcs/integrationsGetConfigurations.ts | 39 +- src/funcs/integrationsGitNamespaces.ts | 39 +- src/funcs/integrationsSearchRepo.ts | 24 +- .../logDrainsCreateConfigurableLogDrain.ts | 39 +- src/funcs/logDrainsCreateLogDrain.ts | 39 +- .../logDrainsDeleteConfigurableLogDrain.ts | 44 +- .../logDrainsDeleteIntegrationLogDrain.ts | 44 +- src/funcs/logDrainsGetAllLogDrains.ts | 39 +- src/funcs/logDrainsGetConfigurableLogDrain.ts | 46 +- src/funcs/logDrainsGetIntegrationLogDrains.ts | 39 +- src/funcs/marketplaceCreateEvent.ts | 37 +- src/funcs/marketplaceExchangeSsoToken.ts | 48 +- src/funcs/marketplaceGetAccountInfo.ts | 39 +- src/funcs/marketplaceGetInvoice.ts | 46 +- src/funcs/marketplaceGetMember.ts | 46 +- src/funcs/marketplaceSubmitBillingData.ts | 35 +- src/funcs/marketplaceSubmitInvoice.ts | 33 +- src/funcs/marketplaceUpdateInvoice.ts | 40 +- src/funcs/marketplaceUpdateResourceSecrets.ts | 40 +- src/funcs/projectMembersAddProjectMember.ts | 39 +- src/funcs/projectMembersGetProjectMembers.ts | 39 +- .../projectMembersRemoveProjectMember.ts | 31 +- src/funcs/projectsAddProjectDomain.ts | 39 +- src/funcs/projectsCreateProject.ts | 39 +- src/funcs/projectsCreateProjectEnv.ts | 41 +- src/funcs/projectsDeleteProject.ts | 37 +- src/funcs/projectsEditProjectEnv.ts | 39 +- src/funcs/projectsFilterProjectEnvs.ts | 39 +- src/funcs/projectsGetProjectDomain.ts | 39 +- src/funcs/projectsGetProjectDomains.ts | 39 +- src/funcs/projectsGetProjectEnv.ts | 39 +- src/funcs/projectsGetProjects.ts | 39 +- src/funcs/projectsListPromoteAliases.ts | 38 +- src/funcs/projectsRemoveProjectDomain.ts | 38 +- src/funcs/projectsRemoveProjectEnv.ts | 38 +- src/funcs/projectsRequestPromote.ts | 33 +- src/funcs/projectsUpdateProject.ts | 31 +- src/funcs/projectsUpdateProjectDataCache.ts | 38 +- src/funcs/projectsUpdateProjectDomain.ts | 31 +- .../projectsUpdateProjectProtectionBypass.ts | 38 +- src/funcs/projectsVerifyProjectDomain.ts | 31 +- src/funcs/securityGetFirewallConfig.ts | 46 +- src/funcs/securityPutFirewallConfig.ts | 38 +- .../securityUpdateAttackChallengeMode.ts | 38 +- src/funcs/securityUpdateFirewallConfig.ts | 38 +- src/funcs/teamsCreateTeam.ts | 47 +- src/funcs/teamsDeleteTeam.ts | 46 +- src/funcs/teamsDeleteTeamInviteCode.ts | 46 +- src/funcs/teamsGetTeam.ts | 42 +- src/funcs/teamsGetTeamAccessRequest.ts | 46 +- src/funcs/teamsGetTeamMembers.ts | 46 +- src/funcs/teamsGetTeams.ts | 39 +- src/funcs/teamsInviteUserToTeam.ts | 38 +- src/funcs/teamsJoinTeam.ts | 38 +- src/funcs/teamsPatchTeam.ts | 38 +- src/funcs/teamsRemoveTeamMember.ts | 38 +- src/funcs/teamsRequestAccessToTeam.ts | 38 +- src/funcs/teamsUpdateTeamMember.ts | 38 +- src/funcs/userGetAuthUser.ts | 35 +- src/funcs/userListUserEvents.ts | 31 +- src/funcs/userRequestDelete.ts | 39 +- src/funcs/webhooksCreateWebhook.ts | 39 +- src/funcs/webhooksDeleteWebhook.ts | 37 +- src/funcs/webhooksGetWebhook.ts | 39 +- src/funcs/webhooksGetWebhooks.ts | 39 +- src/hooks/hooks.ts | 20 + src/hooks/types.ts | 7 + src/lib/config.ts | 6 +- src/lib/matchers.ts | 4 +- src/lib/primitives.ts | 62 + src/lib/schemas.ts | 2 +- src/lib/sdks.ts | 9 +- src/lib/security.ts | 2 +- src/models/{components => }/aclaction.ts | 2 +- src/models/addprojectdomainop.ts | 411 + src/models/addprojectmemberop.ts | 600 + src/models/artifactexistsop.ts | 83 + src/models/artifactqueryop.ts | 378 + src/models/assignaliasop.ts | 249 + src/models/{components => }/authtoken.ts | 8 +- src/models/{components => }/authuser.ts | 8 +- .../{components => }/authuserlimited.ts | 8 +- src/models/buydomainop.ts | 558 + src/models/canceldeploymentop.ts | 5661 +++++++++ src/models/checkdomainpriceop.ts | 181 + src/models/checkdomainstatusop.ts | 146 + src/models/createaccessgroupop.ts | 367 + src/models/createaccessgroupprojectop.ts | 320 + src/models/createauthtokenop.ts | 230 + src/models/createcheckop.ts | 980 ++ src/models/createconfigurablelogdrainop.ts | 676 ++ src/models/createdeploymentop.ts | 6810 +++++++++++ src/models/createedgeconfigop.ts | 803 ++ src/models/createedgeconfigtokenop.ts | 220 + src/models/createeventop.ts | 373 + src/models/createlogdrainop.ts | 588 + src/models/createortransferdomainop.ts | 777 ++ src/models/createprojectenvop.ts | 5723 +++++++++ src/models/createprojectop.ts | 9650 +++++++++++++++ src/models/createrecordop.ts | 1800 +++ src/models/createteamop.ts | 361 + src/models/createwebhookop.ts | 410 + src/models/deleteaccessgroupop.ts | 80 + src/models/deleteaccessgroupprojectop.ts | 86 + src/models/deletealiasop.ts | 171 + src/models/deleteauthtokenop.ts | 135 + src/models/deleteconfigurablelogdrainop.ts | 83 + src/models/deleteconfigurationop.ts | 80 + src/models/deletedeploymentop.ts | 196 + src/models/deletedomainop.ts | 147 + src/models/deleteedgeconfigop.ts | 80 + src/models/deleteedgeconfigschemaop.ts | 82 + src/models/deleteedgeconfigtokensop.ts | 156 + src/models/deleteintegrationlogdrainop.ts | 85 + src/models/deleteprojectop.ts | 83 + src/models/deleteteaminvitecodeop.ts | 144 + src/models/deleteteamop.ts | 292 + src/models/deletewebhookop.ts | 80 + src/models/downloadartifactop.ts | 108 + src/models/{components => }/edgeconfigitem.ts | 6 +- .../{components => }/edgeconfigitemvalue.ts | 6 +- .../{components => }/edgeconfigtoken.ts | 6 +- src/models/editprojectenvop.ts | 2460 ++++ src/models/exchangessotokenop.ts | 192 + src/models/{components => }/filetree.ts | 8 +- src/models/filterprojectenvsop.ts | 7149 +++++++++++ src/models/{components => }/flagjsonvalue.ts | 6 +- src/models/getaccountinfoop.ts | 187 + src/models/getaliasop.ts | 930 ++ src/models/getallchecksop.ts | 921 ++ src/models/getalllogdrainsop.ts | 411 + src/models/getauthtokenop.ts | 139 + src/models/getauthuserop.ts | 121 + src/models/getcertbyidop.ts | 157 + src/models/getcheckop.ts | 865 ++ src/models/getconfigurablelogdrainop.ts | 423 + src/models/getconfigurationop.ts | 1266 ++ src/models/getconfigurationsop.ts | 1648 +++ src/models/getdeploymenteventsop.ts | 221 + src/models/getdeploymentfilecontentsop.ts | 99 + src/models/getdeploymentop.ts | 8486 +++++++++++++ src/models/getdeploymentsop.ts | 1537 +++ src/models/getdomainconfigop.ts | 265 + src/models/getdomainop.ts | 423 + src/models/getdomainsop.ts | 443 + src/models/getdomaintransferop.ts | 241 + src/models/getedgeconfigbackupop.ts | 886 ++ src/models/getedgeconfigbackupsop.ts | 355 + src/models/getedgeconfigitemop.ts | 84 + src/models/getedgeconfigitemsop.ts | 80 + src/models/getedgeconfigop.ts | 395 + src/models/getedgeconfigschemaop.ts | 135 + src/models/getedgeconfigsop.ts | 370 + src/models/getedgeconfigtokenop.ts | 84 + src/models/getedgeconfigtokensop.ts | 80 + src/models/getfirewallconfigop.ts | 2577 ++++ src/models/getintegrationlogdrainsop.ts | 395 + src/models/getinvoiceop.ts | 454 + src/models/getmemberop.ts | 160 + src/models/getprojectdomainop.ts | 265 + src/models/getprojectdomainsop.ts | 571 + src/models/getprojectenvop.ts | 6818 +++++++++++ src/models/getprojectmembersop.ts | 615 + src/models/getprojectsop.ts | 9089 ++++++++++++++ src/models/getrecordsop.ts | 568 + src/models/getteamaccessrequestop.ts | 570 + src/models/getteammembersop.ts | 1116 ++ src/models/getteamop.ts | 72 + src/models/getteamsop.ts | 204 + src/models/getwebhookop.ts | 260 + src/models/getwebhooksop.ts | 653 + src/models/gitnamespacesop.ts | 235 + src/models/{errors => }/httpclienterrors.ts | 0 src/models/inviteusertoteamop.ts | 594 + src/models/issuecertop.ts | 224 + src/models/jointeamop.ts | 223 + src/models/listaccessgroupmembersop.ts | 341 + src/models/listaccessgroupprojectsop.ts | 410 + src/models/listaccessgroupsop.ts | 473 + src/models/listaliasesop.ts | 1077 ++ src/models/listauthtokensop.ts | 92 + src/models/listdeploymentaliasesop.ts | 820 ++ src/models/listdeploymentfilesop.ts | 83 + src/models/listpromotealiasesop.ts | 361 + src/models/listusereventsop.ts | 188 + src/models/operations/addprojectdomain.ts | 413 - src/models/operations/addprojectmember.ts | 602 - src/models/operations/artifactexists.ts | 83 - src/models/operations/artifactquery.ts | 371 - src/models/operations/assignalias.ts | 249 - src/models/operations/buydomain.ts | 558 - src/models/operations/canceldeployment.ts | 5657 --------- src/models/operations/checkdomainprice.ts | 181 - src/models/operations/checkdomainstatus.ts | 146 - src/models/operations/createaccessgroup.ts | 369 - .../operations/createaccessgroupproject.ts | 322 - src/models/operations/createauthtoken.ts | 232 - src/models/operations/createcheck.ts | 980 -- .../operations/createconfigurablelogdrain.ts | 675 -- src/models/operations/createdeployment.ts | 6780 ----------- src/models/operations/createedgeconfig.ts | 805 -- .../operations/createedgeconfigtoken.ts | 222 - src/models/operations/createevent.ts | 373 - src/models/operations/createlogdrain.ts | 589 - .../operations/createortransferdomain.ts | 779 -- src/models/operations/createproject.ts | 9648 --------------- src/models/operations/createprojectenv.ts | 5728 --------- src/models/operations/createrecord.ts | 1802 --- src/models/operations/createteam.ts | 361 - src/models/operations/createwebhook.ts | 410 - src/models/operations/deleteaccessgroup.ts | 80 - .../operations/deleteaccessgroupproject.ts | 86 - src/models/operations/deletealias.ts | 171 - src/models/operations/deleteauthtoken.ts | 135 - .../operations/deleteconfigurablelogdrain.ts | 83 - src/models/operations/deleteconfiguration.ts | 80 - src/models/operations/deletedeployment.ts | 196 - src/models/operations/deletedomain.ts | 147 - src/models/operations/deleteedgeconfig.ts | 80 - .../operations/deleteedgeconfigschema.ts | 82 - .../operations/deleteedgeconfigtokens.ts | 158 - .../operations/deleteintegrationlogdrain.ts | 85 - src/models/operations/deleteproject.ts | 83 - src/models/operations/deleteteam.ts | 292 - src/models/operations/deleteteaminvitecode.ts | 144 - src/models/operations/deletewebhook.ts | 80 - src/models/operations/downloadartifact.ts | 108 - src/models/operations/editprojectenv.ts | 2461 ---- src/models/operations/exchangessotoken.ts | 192 - src/models/operations/filterprojectenvs.ts | 7149 ----------- src/models/operations/getaccountinfo.ts | 187 - src/models/operations/getalias.ts | 930 -- src/models/operations/getallchecks.ts | 921 -- src/models/operations/getalllogdrains.ts | 411 - src/models/operations/getauthtoken.ts | 139 - src/models/operations/getauthuser.ts | 121 - src/models/operations/getcertbyid.ts | 157 - src/models/operations/getcheck.ts | 865 -- .../operations/getconfigurablelogdrain.ts | 423 - src/models/operations/getconfiguration.ts | 1266 -- src/models/operations/getconfigurations.ts | 1648 --- src/models/operations/getdeployment.ts | 8478 ------------- src/models/operations/getdeploymentevents.ts | 221 - .../operations/getdeploymentfilecontents.ts | 99 - src/models/operations/getdeployments.ts | 1537 --- src/models/operations/getdomain.ts | 423 - src/models/operations/getdomainconfig.ts | 265 - src/models/operations/getdomains.ts | 443 - src/models/operations/getdomaintransfer.ts | 241 - src/models/operations/getedgeconfig.ts | 395 - src/models/operations/getedgeconfigbackup.ts | 886 -- src/models/operations/getedgeconfigbackups.ts | 355 - src/models/operations/getedgeconfigitem.ts | 84 - src/models/operations/getedgeconfigitems.ts | 80 - src/models/operations/getedgeconfigs.ts | 370 - src/models/operations/getedgeconfigschema.ts | 135 - src/models/operations/getedgeconfigtoken.ts | 84 - src/models/operations/getedgeconfigtokens.ts | 80 - src/models/operations/getfirewallconfig.ts | 2486 ---- .../operations/getintegrationlogdrains.ts | 395 - src/models/operations/getinvoice.ts | 454 - src/models/operations/getmember.ts | 160 - src/models/operations/getprojectdomain.ts | 265 - src/models/operations/getprojectdomains.ts | 571 - src/models/operations/getprojectenv.ts | 6818 ----------- src/models/operations/getprojectmembers.ts | 615 - src/models/operations/getprojects.ts | 9087 -------------- src/models/operations/getrecords.ts | 568 - src/models/operations/getteam.ts | 72 - src/models/operations/getteamaccessrequest.ts | 570 - src/models/operations/getteammembers.ts | 1116 -- src/models/operations/getteams.ts | 204 - src/models/operations/getwebhook.ts | 260 - src/models/operations/getwebhooks.ts | 653 - src/models/operations/gitnamespaces.ts | 235 - src/models/operations/inviteusertoteam.ts | 596 - src/models/operations/issuecert.ts | 224 - src/models/operations/jointeam.ts | 223 - .../operations/listaccessgroupmembers.ts | 335 - .../operations/listaccessgroupprojects.ts | 410 - src/models/operations/listaccessgroups.ts | 473 - src/models/operations/listaliases.ts | 1077 -- src/models/operations/listauthtokens.ts | 92 - .../operations/listdeploymentaliases.ts | 820 -- src/models/operations/listdeploymentfiles.ts | 83 - src/models/operations/listpromotealiases.ts | 361 - src/models/operations/listuserevents.ts | 188 - src/models/operations/patchdomain.ts | 562 - .../operations/patchedgeconfigschema.ts | 217 - src/models/operations/patchteam.ts | 481 - src/models/operations/putfirewallconfig.ts | 4730 -------- src/models/operations/readaccessgroup.ts | 218 - .../operations/readaccessgroupproject.ts | 199 - src/models/operations/recordevents.ts | 256 - src/models/operations/removecert.ts | 133 - src/models/operations/removeprojectdomain.ts | 145 - src/models/operations/removeprojectenv.ts | 6986 ----------- src/models/operations/removeprojectmember.ts | 150 - src/models/operations/removerecord.ts | 137 - src/models/operations/removeteammember.ts | 146 - src/models/operations/requestaccesstoteam.ts | 758 -- src/models/operations/requestdelete.ts | 219 - src/models/operations/requestpromote.ts | 84 - src/models/operations/rerequestcheck.ts | 140 - src/models/operations/searchrepo.ts | 784 -- src/models/operations/status.ts | 158 - src/models/operations/submitbillingdata.ts | 813 -- src/models/operations/submitinvoice.ts | 593 - src/models/operations/updateaccessgroup.ts | 412 - .../operations/updateaccessgroupproject.ts | 319 - .../operations/updateattackchallengemode.ts | 231 - src/models/operations/updatecheck.ts | 1687 --- src/models/operations/updateedgeconfig.ts | 472 - src/models/operations/updatefirewallconfig.ts | 3875 ------ src/models/operations/updateinvoice.ts | 180 - src/models/operations/updateproject.ts | 9998 --------------- .../operations/updateprojectdatacache.ts | 8901 -------------- src/models/operations/updateprojectdomain.ts | 406 - .../updateprojectprotectionbypass.ts | 497 - src/models/operations/updaterecord.ts | 515 - .../operations/updateresourcesecrets.ts | 206 - src/models/operations/updateteammember.ts | 396 - src/models/operations/uploadartifact.ts | 225 - src/models/operations/uploadcert.ts | 245 - src/models/operations/uploadfile.ts | 296 - src/models/operations/verifyprojectdomain.ts | 281 - src/models/{components => }/pagination.ts | 6 +- src/models/patchdomainop.ts | 561 + src/models/patchedgeconfigschemaop.ts | 215 + src/models/patchteamop.ts | 491 + src/models/putfirewallconfigop.ts | 4892 ++++++++ src/models/ratelimitnotice.ts | 76 + src/models/readaccessgroupop.ts | 222 + src/models/readaccessgroupprojectop.ts | 199 + src/models/recordeventsop.ts | 256 + src/models/removecertop.ts | 133 + src/models/removeprojectdomainop.ts | 145 + src/models/removeprojectenvop.ts | 6986 +++++++++++ src/models/removeprojectmemberop.ts | 150 + src/models/removerecordop.ts | 137 + src/models/removeteammemberop.ts | 146 + src/models/requestaccesstoteamop.ts | 775 ++ src/models/requestdeleteop.ts | 219 + src/models/requestpromoteop.ts | 84 + src/models/rerequestcheckop.ts | 140 + src/models/{errors => }/sdkerror.ts | 0 src/models/{errors => }/sdkvalidationerror.ts | 0 src/models/searchrepoop.ts | 784 ++ src/models/{components => }/security.ts | 6 +- src/models/statusop.ts | 158 + src/models/submitbillingdataop.ts | 820 ++ src/models/submitinvoiceop.ts | 593 + src/models/{components => }/teamlimited.ts | 14 +- src/models/updateaccessgroupop.ts | 411 + src/models/updateaccessgroupprojectop.ts | 317 + src/models/updateattackchallengemodeop.ts | 231 + src/models/updatecheckop.ts | 1687 +++ src/models/updateedgeconfigop.ts | 470 + src/models/updatefirewallconfigop.ts | 3911 ++++++ src/models/updateinvoiceop.ts | 180 + src/models/updateprojectdatacacheop.ts | 8940 ++++++++++++++ src/models/updateprojectdomainop.ts | 404 + src/models/updateprojectop.ts | 10000 ++++++++++++++++ src/models/updateprojectprotectionbypassop.ts | 497 + src/models/updaterecordop.ts | 515 + src/models/updateresourcesecretsop.ts | 208 + src/models/updateteammemberop.ts | 394 + src/models/uploadartifactop.ts | 215 + src/models/uploadcertop.ts | 245 + src/models/uploadfileop.ts | 296 + src/models/{components => }/userevent.ts | 6 +- src/models/vercelbadrequesterror.ts | 136 + src/models/vercelforbiddenerror.ts | 134 + src/models/vercelnotfounderror.ts | 136 + src/models/vercelratelimiterror.ts | 144 + src/models/verifyprojectdomainop.ts | 281 + src/sdk/accessgroups.ts | 22 +- src/sdk/aliases.ts | 13 +- src/sdk/artifacts.ts | 15 +- src/sdk/authentication.ts | 12 +- src/sdk/certs.ts | 8 +- src/sdk/checks.ts | 13 +- src/sdk/deployments.ts | 20 +- src/sdk/dns.ts | 8 +- src/sdk/domains.ts | 29 +- src/sdk/edgeconfig.ts | 46 +- src/sdk/integrations.ts | 10 +- src/sdk/logdrains.ts | 14 +- src/sdk/marketplace.ts | 24 +- src/sdk/projectmembers.ts | 6 +- src/sdk/projects.ts | 52 +- src/sdk/security.ts | 8 +- src/sdk/teams.ts | 40 +- src/sdk/user.ts | 8 +- src/sdk/webhooks.ts | 8 +- src/types/operations.ts | 16 +- tsconfig.json | 1 + vercel-spec.json | 4131 ++++++- 4086 files changed, 194208 insertions(+), 184763 deletions(-) create mode 100644 docs/models/acceptedchallenges.md create mode 100644 docs/models/access.md rename docs/models/{operations => }/accessgroups.md (98%) create mode 100644 docs/models/aclaction.md create mode 100644 docs/models/action.md create mode 100644 docs/models/action1.md create mode 100644 docs/models/active.md create mode 100644 docs/models/activedashboardviews.md rename docs/models/{operations => }/addprojectdomainredirectstatuscode.md (87%) create mode 100644 docs/models/addprojectdomainrequest.md create mode 100644 docs/models/addprojectdomainrequestbody.md rename docs/models/{operations => }/addprojectdomainresponsebody.md (98%) rename docs/models/{operations => }/addprojectdomainverification.md (97%) rename docs/models/{operations => }/addprojectmemberrequest.md (86%) create mode 100644 docs/models/addprojectmemberrequestbody.md create mode 100644 docs/models/addprojectmemberrequestbody1.md create mode 100644 docs/models/addprojectmemberrequestbody2.md create mode 100644 docs/models/addprojectmemberrequestbody3.md rename docs/models/{operations => }/addprojectmemberrequestbodyprojectmembersrole.md (87%) rename docs/models/{operations => }/addprojectmemberrequestbodyrole.md (89%) rename docs/models/{operations => }/addprojectmemberresponsebody.md (93%) rename docs/models/{operations => }/addresses.md (96%) create mode 100644 docs/models/algo.md rename docs/models/{operations => }/aliasassigned.md (100%) rename docs/models/{operations => }/aliasassignedat.md (100%) rename docs/models/{operations => }/aliaserror.md (85%) rename docs/models/{operations => }/aliases.md (94%) rename docs/models/{operations => }/aliaswarning.md (88%) rename docs/models/{operations => }/analytics.md (92%) rename docs/models/{operations => }/applications.md (98%) rename docs/models/{operations => }/artifactexistsrequest.md (94%) create mode 100644 docs/models/artifactqueryrequest.md rename docs/models/{operations => }/artifactqueryrequestbody.md (81%) create mode 100644 docs/models/assignaliasrequest.md rename docs/models/{operations => }/assignaliasrequestbody.md (97%) rename docs/models/{operations => }/assignaliasresponsebody.md (97%) create mode 100644 docs/models/attribution.md rename docs/models/{components => }/authtoken.md (96%) create mode 100644 docs/models/authtokenscopesorigin.md create mode 100644 docs/models/authtokenscopestype.md rename docs/models/{components => }/authuser.md (90%) rename docs/models/{components => }/authuserlimited.md (98%) create mode 100644 docs/models/authuserlimitedversion.md rename docs/models/{operations => }/backup.md (94%) create mode 100644 docs/models/backups.md create mode 100644 docs/models/billing.md rename docs/models/{operations => }/billing1.md (97%) create mode 100644 docs/models/billing2.md rename docs/models/{operations => }/billingitems.md (97%) create mode 100644 docs/models/billingplan.md rename docs/models/{operations => }/bitbucket.md (80%) rename docs/models/{components => }/blockedduetooveragetype.md (88%) create mode 100644 docs/models/branchmatcher.md rename docs/models/{operations => }/build.md (83%) create mode 100644 docs/models/builds.md rename docs/models/{operations => }/buydomaindomain.md (88%) rename docs/models/{operations => }/buydomaindomainsdomain.md (88%) create mode 100644 docs/models/buydomaindomainsresponsebody.md create mode 100644 docs/models/buydomainrequest.md rename docs/models/{operations => }/buydomainrequestbody.md (98%) create mode 100644 docs/models/buydomainresponse.md create mode 100644 docs/models/buydomainresponsebody.md rename docs/models/{operations => }/canceldeploymentaliasassignedat.md (100%) rename docs/models/{operations => }/canceldeploymentaliaserror.md (84%) rename docs/models/{operations => }/canceldeploymentaliaswarning.md (95%) rename docs/models/{operations => }/canceldeploymentbuild.md (81%) create mode 100644 docs/models/canceldeploymentbuilds.md rename docs/models/{operations => }/canceldeploymentchecksconclusion.md (87%) rename docs/models/{operations => }/canceldeploymentchecksstate.md (88%) rename docs/models/{operations => }/canceldeploymentcreator.md (85%) rename docs/models/{operations => }/canceldeploymentcrons.md (84%) create mode 100644 docs/models/canceldeploymentcustomenvironment.md rename docs/models/{operations => }/canceldeploymentcustomenvironment1.md (88%) rename docs/models/{operations => }/canceldeploymentcustomenvironment2.md (92%) rename docs/models/{operations => }/canceldeploymentdeploymentsreadystate.md (86%) rename docs/models/{operations => }/canceldeploymentdeploymentsstatus.md (87%) create mode 100644 docs/models/canceldeploymentflags.md create mode 100644 docs/models/canceldeploymentflags1.md rename docs/models/{operations => }/canceldeploymentflags2.md (79%) create mode 100644 docs/models/canceldeploymentflagsdefinitions.md rename docs/models/{operations => }/canceldeploymentframework.md (88%) rename docs/models/{operations => }/canceldeploymentfunctions.md (88%) create mode 100644 docs/models/canceldeploymentgitrepo.md create mode 100644 docs/models/canceldeploymentgitrepo1.md create mode 100644 docs/models/canceldeploymentgitrepo2.md create mode 100644 docs/models/canceldeploymentgitrepo3.md rename docs/models/{operations => }/canceldeploymentgitrepodeploymentsownertype.md (84%) rename docs/models/{operations => }/canceldeploymentgitrepodeploymentsresponseownertype.md (82%) rename docs/models/{operations => }/canceldeploymentgitrepodeploymentsresponsetype.md (83%) rename docs/models/{operations => }/canceldeploymentgitrepodeploymentstype.md (84%) rename docs/models/{operations => }/canceldeploymentgitrepoownertype.md (86%) rename docs/models/{operations => }/canceldeploymentgitrepotype.md (87%) create mode 100644 docs/models/canceldeploymentgitsource.md create mode 100644 docs/models/canceldeploymentgitsource1.md create mode 100644 docs/models/canceldeploymentgitsource2.md create mode 100644 docs/models/canceldeploymentgitsource3.md create mode 100644 docs/models/canceldeploymentgitsource4.md create mode 100644 docs/models/canceldeploymentgitsource5.md rename docs/models/{operations => }/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md (79%) rename docs/models/{operations => }/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md (79%) rename docs/models/{operations => }/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md (79%) rename docs/models/{operations => }/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md (79%) rename docs/models/{operations => }/canceldeploymentgitsourcedeploymentsresponse200applicationjsontype.md (81%) rename docs/models/{operations => }/canceldeploymentgitsourcedeploymentsresponse200type.md (82%) rename docs/models/{operations => }/canceldeploymentgitsourcedeploymentsresponsetype.md (82%) rename docs/models/{operations => }/canceldeploymentgitsourcedeploymentstype.md (84%) rename docs/models/{operations => }/canceldeploymentgitsourceprojectid.md (100%) rename docs/models/{operations => }/canceldeploymentgitsourcerepoid.md (100%) rename docs/models/{operations => }/canceldeploymentgitsourcetype.md (86%) create mode 100644 docs/models/canceldeploymenthas1.md create mode 100644 docs/models/canceldeploymenthas2.md rename docs/models/{operations => }/canceldeploymenthasdeploymentstype.md (86%) create mode 100644 docs/models/canceldeploymenthastype.md create mode 100644 docs/models/canceldeploymentintegrations.md create mode 100644 docs/models/canceldeploymentlambdas.md create mode 100644 docs/models/canceldeploymentmicrofrontends.md rename docs/models/{operations => }/canceldeploymentmicrofrontends1.md (99%) rename docs/models/{operations => }/canceldeploymentmicrofrontends2.md (96%) create mode 100644 docs/models/canceldeploymentmissing1.md create mode 100644 docs/models/canceldeploymentmissing2.md rename docs/models/{operations => }/canceldeploymentmissingdeploymentstype.md (85%) rename docs/models/{operations => }/canceldeploymentmissingtype.md (86%) rename docs/models/{operations => }/canceldeploymentoidctokenclaims.md (97%) rename docs/models/{operations => }/canceldeploymentoutput.md (84%) create mode 100644 docs/models/canceldeploymentplan.md rename docs/models/{operations => }/canceldeploymentproject.md (86%) create mode 100644 docs/models/canceldeploymentprojectsettings.md create mode 100644 docs/models/canceldeploymentreadystate.md rename docs/models/{operations => }/canceldeploymentreadysubstate.md (92%) rename docs/models/{operations => }/canceldeploymentrequest.md (94%) rename docs/models/{operations => }/canceldeploymentresponsebody.md (92%) create mode 100644 docs/models/canceldeploymentroutes.md rename docs/models/{operations => }/canceldeploymentroutes1.md (93%) create mode 100644 docs/models/canceldeploymentroutes2.md rename docs/models/{operations => }/canceldeploymentroutes3.md (86%) rename docs/models/{operations => }/canceldeploymentrouteshandle.md (89%) create mode 100644 docs/models/canceldeploymentrouteshas.md create mode 100644 docs/models/canceldeploymentroutesmissing.md create mode 100644 docs/models/canceldeploymentsource.md rename docs/models/{operations => }/canceldeploymentspeedinsights.md (96%) create mode 100644 docs/models/canceldeploymentstatus.md create mode 100644 docs/models/canceldeploymenttarget.md rename docs/models/{operations => }/canceldeploymentteam.md (88%) create mode 100644 docs/models/canceldeploymenttype.md rename docs/models/{operations => }/canceldeploymentwebanalytics.md (95%) create mode 100644 docs/models/changes.md create mode 100644 docs/models/checkdomainpricerequest.md rename docs/models/{operations => }/checkdomainpriceresponsebody.md (91%) rename docs/models/{operations => }/checkdomainstatusrequest.md (95%) rename docs/models/{operations => }/checkdomainstatusresponsebody.md (93%) create mode 100644 docs/models/checks.md create mode 100644 docs/models/checksconclusion.md create mode 100644 docs/models/checksstate.md create mode 100644 docs/models/cls.md delete mode 100644 docs/models/components/aclaction.md delete mode 100644 docs/models/components/activedashboardviews.md delete mode 100644 docs/models/components/authtokenscopesorigin.md delete mode 100644 docs/models/components/authtokenscopestype.md delete mode 100644 docs/models/components/authuserlimitedversion.md delete mode 100644 docs/models/components/billing.md delete mode 100644 docs/models/components/datacache.md delete mode 100644 docs/models/components/dismissedtoasts.md delete mode 100644 docs/models/components/edgeconfigitem.md delete mode 100644 docs/models/components/entitlements.md delete mode 100644 docs/models/components/favoriteprojectsandspaces.md delete mode 100644 docs/models/components/favoritesviewpreference.md delete mode 100644 docs/models/components/featureblocks.md delete mode 100644 docs/models/components/gituserid.md delete mode 100644 docs/models/components/importflowgitprovider.md delete mode 100644 docs/models/components/joinedfrom.md delete mode 100644 docs/models/components/membership.md delete mode 100644 docs/models/components/one.md delete mode 100644 docs/models/components/origin.md delete mode 100644 docs/models/components/pagination.md delete mode 100644 docs/models/components/preferredscopesandgitnamespaces.md delete mode 100644 docs/models/components/reason.md delete mode 100644 docs/models/components/recentsviewpreference.md delete mode 100644 docs/models/components/remotecaching.md delete mode 100644 docs/models/components/resourceconfig.md delete mode 100644 docs/models/components/role.md delete mode 100644 docs/models/components/saml.md delete mode 100644 docs/models/components/scopes.md delete mode 100644 docs/models/components/scopes1.md delete mode 100644 docs/models/components/scopes2.md delete mode 100644 docs/models/components/scopesorigin.md delete mode 100644 docs/models/components/scopestype.md delete mode 100644 docs/models/components/security.md delete mode 100644 docs/models/components/softblock.md delete mode 100644 docs/models/components/two.md delete mode 100644 docs/models/components/type.md delete mode 100644 docs/models/components/version.md delete mode 100644 docs/models/components/viewpreference.md delete mode 100644 docs/models/components/webanalytics.md create mode 100644 docs/models/computedprojectrole.md create mode 100644 docs/models/conclusion.md create mode 100644 docs/models/conditiongroup.md create mode 100644 docs/models/conditions.md rename docs/models/{operations => }/configuredby.md (79%) rename docs/models/{components => }/connection.md (97%) rename docs/models/{operations => }/contact.md (79%) create mode 100644 docs/models/contenthint.md create mode 100644 docs/models/contenthint1.md create mode 100644 docs/models/contenthint10.md create mode 100644 docs/models/contenthint11.md create mode 100644 docs/models/contenthint12.md create mode 100644 docs/models/contenthint13.md create mode 100644 docs/models/contenthint14.md create mode 100644 docs/models/contenthint15.md create mode 100644 docs/models/contenthint2.md create mode 100644 docs/models/contenthint3.md create mode 100644 docs/models/contenthint4.md create mode 100644 docs/models/contenthint5.md create mode 100644 docs/models/contenthint6.md create mode 100644 docs/models/contenthint7.md create mode 100644 docs/models/contenthint8.md create mode 100644 docs/models/contenthint9.md create mode 100644 docs/models/contenthinttype.md rename docs/models/{operations => }/createaccessgroupprojectaccessgroupsrole.md (84%) create mode 100644 docs/models/createaccessgroupprojectrequest.md create mode 100644 docs/models/createaccessgroupprojectrequestbody.md create mode 100644 docs/models/createaccessgroupprojectresponsebody.md rename docs/models/{operations => }/createaccessgroupprojectrole.md (88%) rename docs/models/{operations => }/createaccessgroupprojects.md (90%) create mode 100644 docs/models/createaccessgrouprequest.md create mode 100644 docs/models/createaccessgrouprequestbody.md rename docs/models/{operations => }/createaccessgroupresponsebody.md (98%) rename docs/models/{operations => }/createaccessgrouprole.md (75%) create mode 100644 docs/models/createauthtokenrequest.md rename docs/models/{operations => }/createauthtokenrequestbody.md (83%) rename docs/models/{operations => }/createauthtokenresponsebody.md (95%) rename docs/models/{operations => }/createcheckchecksresponse200applicationjsonsource.md (84%) rename docs/models/{operations => }/createcheckchecksresponse200source.md (87%) rename docs/models/{operations => }/createcheckchecksresponsesource.md (88%) create mode 100644 docs/models/createcheckcheckssource.md create mode 100644 docs/models/createcheckcls.md create mode 100644 docs/models/createcheckconclusion.md create mode 100644 docs/models/createcheckfcp.md create mode 100644 docs/models/createchecklcp.md create mode 100644 docs/models/createcheckmetrics.md create mode 100644 docs/models/createcheckoutput.md create mode 100644 docs/models/createcheckrequest.md rename docs/models/{operations => }/createcheckrequestbody.md (97%) create mode 100644 docs/models/createcheckresponsebody.md create mode 100644 docs/models/createchecksource.md create mode 100644 docs/models/createcheckstatus.md create mode 100644 docs/models/createchecktbt.md create mode 100644 docs/models/createcheckvirtualexperiencescore.md rename docs/models/{operations => }/createconfigurablelogdraincreatedfrom.md (82%) rename docs/models/{operations => }/createconfigurablelogdraindeliveryformat.md (83%) create mode 100644 docs/models/createconfigurablelogdraindisabledreason.md rename docs/models/{operations => }/createconfigurablelogdrainenvironments.md (82%) rename docs/models/{operations => }/createconfigurablelogdrainlogdrainsdeliveryformat.md (79%) rename docs/models/{operations => }/createconfigurablelogdrainlogdrainsenvironments.md (81%) create mode 100644 docs/models/createconfigurablelogdrainlogdrainssources.md create mode 100644 docs/models/createconfigurablelogdrainrequest.md create mode 100644 docs/models/createconfigurablelogdrainrequestbody.md create mode 100644 docs/models/createconfigurablelogdrainresponsebody.md rename docs/models/{operations => }/createconfigurablelogdrainsources.md (85%) rename docs/models/{operations => }/createconfigurablelogdrainstatus.md (84%) create mode 100644 docs/models/created.md create mode 100644 docs/models/created1.md create mode 100644 docs/models/created2.md create mode 100644 docs/models/createdcontenthint.md rename docs/models/{operations => }/createdeploymentcrons.md (84%) rename docs/models/{operations => }/createdeploymentdeploymentsstatus.md (87%) rename docs/models/{operations => }/createdeploymentframework.md (88%) rename docs/models/{operations => }/createdeploymentgitrepodeploymentstype.md (84%) rename docs/models/{operations => }/createdeploymentgitrepoownertype.md (86%) rename docs/models/{operations => }/createdeploymentgitrepotype.md (87%) create mode 100644 docs/models/createdeploymentgitsource.md create mode 100644 docs/models/createdeploymentgitsource1.md create mode 100644 docs/models/createdeploymentgitsource2.md create mode 100644 docs/models/createdeploymentgitsource6.md create mode 100644 docs/models/createdeploymentgitsource7.md create mode 100644 docs/models/createdeploymentgitsource8.md create mode 100644 docs/models/createdeploymentgitsource9.md create mode 100644 docs/models/createdeploymentgitsourcedeploymentsrequestrequestbodytype.md rename docs/models/{operations => }/createdeploymentgitsourcedeploymentsrequesttype.md (83%) rename docs/models/{operations => }/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody5type.md (79%) rename docs/models/{operations => }/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody6type.md (79%) rename docs/models/{operations => }/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md (79%) rename docs/models/{operations => }/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md (79%) rename docs/models/{operations => }/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md (79%) rename docs/models/{operations => }/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md (79%) rename docs/models/{operations => }/createdeploymentgitsourcedeploymentsresponse200applicationjsontype.md (80%) rename docs/models/{operations => }/createdeploymentgitsourcedeploymentsresponse200type.md (82%) rename docs/models/{operations => }/createdeploymentgitsourcedeploymentsresponsetype.md (82%) rename docs/models/{operations => }/createdeploymentgitsourcedeploymentstype.md (84%) rename docs/models/{operations => }/createdeploymentgitsourcetype.md (86%) create mode 100644 docs/models/createdeploymenthastype.md create mode 100644 docs/models/createdeploymentmicrofrontends.md rename docs/models/{operations => }/createdeploymentmissingtype.md (88%) rename docs/models/{operations => }/createdeploymentoutput.md (84%) create mode 100644 docs/models/createdeploymentprojectsettings.md create mode 100644 docs/models/createdeploymentreadystate.md create mode 100644 docs/models/createdeploymentrequest.md rename docs/models/{operations => }/createdeploymentrequestbody.md (95%) rename docs/models/{operations => }/createdeploymentresponsebody.md (93%) create mode 100644 docs/models/createdeploymentsource.md rename docs/models/{operations => }/createdeploymentspeedinsights.md (96%) create mode 100644 docs/models/createdeploymentstatus.md create mode 100644 docs/models/createdeploymenttarget.md create mode 100644 docs/models/createdeploymenttype.md rename docs/models/{operations => }/createdeploymentwebanalytics.md (95%) create mode 100644 docs/models/createdfrom.md rename docs/models/{operations => }/createdinternalcontenthint.md (90%) create mode 100644 docs/models/createdtarget.md create mode 100644 docs/models/createdtype.md create mode 100644 docs/models/createedgeconfigpurpose.md create mode 100644 docs/models/createedgeconfigrequest.md create mode 100644 docs/models/createedgeconfigrequestbody.md rename docs/models/{operations => }/createedgeconfigresponsebody.md (94%) create mode 100644 docs/models/createedgeconfigschema.md create mode 100644 docs/models/createedgeconfigtokenrequest.md rename docs/models/{operations => }/createedgeconfigtokenrequestbody.md (91%) rename docs/models/{operations => }/createedgeconfigtokenresponsebody.md (92%) rename docs/models/{operations => }/createedgeconfigtransfer.md (82%) create mode 100644 docs/models/createedgeconfigtype.md create mode 100644 docs/models/createeventevent.md create mode 100644 docs/models/createeventeventtype.md create mode 100644 docs/models/createeventrequest.md create mode 100644 docs/models/createeventrequestbody.md create mode 100644 docs/models/createlogdraincreatedfrom.md rename docs/models/{operations => }/createlogdraindeliveryformat.md (89%) create mode 100644 docs/models/createlogdrainenvironments.md create mode 100644 docs/models/createlogdrainrequest.md rename docs/models/{operations => }/createlogdrainrequestbody.md (94%) create mode 100644 docs/models/createlogdrainresponsebody.md rename docs/models/{operations => }/createlogdrainsources.md (75%) rename docs/models/{operations => }/createortransferdomaincreator.md (96%) rename docs/models/{operations => }/createortransferdomaindomain.md (97%) rename docs/models/{operations => }/createortransferdomainrequest.md (81%) create mode 100644 docs/models/createortransferdomainrequestbody.md rename docs/models/{operations => }/createortransferdomainrequestbody1.md (98%) rename docs/models/{operations => }/createortransferdomainrequestbody2.md (97%) rename docs/models/{operations => }/createortransferdomainrequestbody3.md (98%) create mode 100644 docs/models/createortransferdomainresponsebody.md rename docs/models/{operations => }/createortransferdomainservicetype.md (90%) create mode 100644 docs/models/createprojectaction.md create mode 100644 docs/models/createprojectalgo.md rename docs/models/{operations => }/createprojectaliasassigned.md (100%) rename docs/models/{operations => }/createprojectaliaserror.md (84%) rename docs/models/{operations => }/createprojectanalytics.md (92%) create mode 100644 docs/models/createprojectbranchmatcher.md rename docs/models/{operations => }/createprojectbuilds.md (86%) rename docs/models/{operations => }/createprojectchecksconclusion.md (89%) create mode 100644 docs/models/createprojectchecksstate.md create mode 100644 docs/models/createprojectcontenthint.md create mode 100644 docs/models/createprojectcontenthint1.md create mode 100644 docs/models/createprojectcontenthint10.md create mode 100644 docs/models/createprojectcontenthint2.md create mode 100644 docs/models/createprojectcontenthint3.md create mode 100644 docs/models/createprojectcontenthint4.md create mode 100644 docs/models/createprojectcontenthint5.md create mode 100644 docs/models/createprojectcontenthint6.md create mode 100644 docs/models/createprojectcontenthint7.md create mode 100644 docs/models/createprojectcontenthint8.md create mode 100644 docs/models/createprojectcontenthint9.md rename docs/models/{operations => }/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md (80%) rename docs/models/{operations => }/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md (81%) rename docs/models/{operations => }/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md (81%) rename docs/models/{operations => }/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md (81%) rename docs/models/{operations => }/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md (81%) rename docs/models/{operations => }/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md (81%) rename docs/models/{operations => }/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md (81%) rename docs/models/{operations => }/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md (80%) rename docs/models/{operations => }/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md (81%) rename docs/models/{operations => }/createprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md (81%) rename docs/models/{operations => }/createprojectcontenthintprojectsresponse200applicationjsontype.md (83%) rename docs/models/{operations => }/createprojectcontenthintprojectsresponse200type.md (86%) rename docs/models/{operations => }/createprojectcontenthintprojectsresponsetype.md (85%) rename docs/models/{operations => }/createprojectcontenthintprojectstype.md (87%) rename docs/models/{operations => }/createprojectcontenthinttype.md (88%) rename docs/models/{operations => }/createprojectcreator.md (90%) rename docs/models/{operations => }/createprojectcrons.md (94%) rename docs/models/{operations => }/createprojectcustomenvironments.md (90%) rename docs/models/{operations => }/createprojectdatacache.md (86%) rename docs/models/{operations => }/createprojectdefinitions.md (94%) rename docs/models/{operations => }/createprojectdeploymentexpiration.md (96%) rename docs/models/{operations => }/createprojectdeploymenttype.md (90%) create mode 100644 docs/models/createprojectenv.md rename docs/models/{operations => }/createprojectenv11.md (90%) create mode 100644 docs/models/createprojectenv12.md create mode 100644 docs/models/createprojectenv1target.md create mode 100644 docs/models/createprojectenv1type.md create mode 100644 docs/models/createprojectenv2target.md create mode 100644 docs/models/createprojectenv2type.md create mode 100644 docs/models/createprojectenvcontenthint1.md create mode 100644 docs/models/createprojectenvcontenthint10.md create mode 100644 docs/models/createprojectenvcontenthint11.md create mode 100644 docs/models/createprojectenvcontenthint12.md create mode 100644 docs/models/createprojectenvcontenthint13.md create mode 100644 docs/models/createprojectenvcontenthint14.md create mode 100644 docs/models/createprojectenvcontenthint15.md create mode 100644 docs/models/createprojectenvcontenthint2.md create mode 100644 docs/models/createprojectenvcontenthint3.md create mode 100644 docs/models/createprojectenvcontenthint4.md create mode 100644 docs/models/createprojectenvcontenthint5.md create mode 100644 docs/models/createprojectenvcontenthint6.md create mode 100644 docs/models/createprojectenvcontenthint7.md create mode 100644 docs/models/createprojectenvcontenthint8.md create mode 100644 docs/models/createprojectenvcontenthint9.md create mode 100644 docs/models/createprojectenvcontenthintprojects1.md create mode 100644 docs/models/createprojectenvcontenthintprojects10.md create mode 100644 docs/models/createprojectenvcontenthintprojects11.md create mode 100644 docs/models/createprojectenvcontenthintprojects12.md create mode 100644 docs/models/createprojectenvcontenthintprojects13.md create mode 100644 docs/models/createprojectenvcontenthintprojects14.md create mode 100644 docs/models/createprojectenvcontenthintprojects15.md create mode 100644 docs/models/createprojectenvcontenthintprojects2.md create mode 100644 docs/models/createprojectenvcontenthintprojects3.md create mode 100644 docs/models/createprojectenvcontenthintprojects4.md create mode 100644 docs/models/createprojectenvcontenthintprojects5.md create mode 100644 docs/models/createprojectenvcontenthintprojects6.md create mode 100644 docs/models/createprojectenvcontenthintprojects7.md create mode 100644 docs/models/createprojectenvcontenthintprojects8.md create mode 100644 docs/models/createprojectenvcontenthintprojects9.md rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated110type.md (86%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated111type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated112type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated113type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated114type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated115type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated19type.md (86%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated1type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated210type.md (86%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated211type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated212type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated213type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated214type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated215type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated22type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated23type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated24type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated25type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated26type.md (86%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated27type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated28type.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated29type.md (86%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated2type.md (86%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreatedtype.md (87%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodytype.md (80%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201applicationjsontype.md (82%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponse201type.md (84%) rename docs/models/{operations => }/createprojectenvcontenthintprojectsresponsetype.md (84%) rename docs/models/{operations => }/createprojectenvcontenthintprojectstype.md (85%) rename docs/models/{operations => }/createprojectenvcontenthinttype.md (86%) create mode 100644 docs/models/createprojectenvcreatedcontenthint.md create mode 100644 docs/models/createprojectenvcreatedinternalcontenthint.md rename docs/models/{operations => }/createprojectenvcreatedprojectsresponsetype.md (84%) rename docs/models/{operations => }/createprojectenvcreatedprojectstype.md (85%) create mode 100644 docs/models/createprojectenvcreatedtarget.md create mode 100644 docs/models/createprojectenvcreatedtype.md create mode 100644 docs/models/createprojectenverror.md rename docs/models/{operations => }/createprojectenvrequest.md (91%) create mode 100644 docs/models/createprojectenvrequestbody.md create mode 100644 docs/models/createprojectenvrequestbody1.md rename docs/models/{operations => }/createprojectenvrequestbody2.md (80%) create mode 100644 docs/models/createprojectenvresponsebody.md create mode 100644 docs/models/createprojectenvtarget.md create mode 100644 docs/models/createprojectenvtarget1.md create mode 100644 docs/models/createprojectenvtarget2.md rename docs/models/{operations => }/createprojectenvtargetprojects1.md (87%) rename docs/models/{operations => }/createprojectenvtargetprojects2.md (87%) rename docs/models/{operations => }/createprojectenvtargetprojectsresponse2.md (86%) create mode 100644 docs/models/createprojectenvvalue.md create mode 100644 docs/models/createprojectenvvalue2.md create mode 100644 docs/models/createprojecterl.md create mode 100644 docs/models/createprojectfirewallroutes.md rename docs/models/{operations => }/createprojectframework.md (89%) rename docs/models/{operations => }/createprojectfunctiondefaultmemorytype.md (87%) rename docs/models/{operations => }/createprojectgitcomments.md (91%) create mode 100644 docs/models/createprojecthandle.md create mode 100644 docs/models/createprojecthas.md create mode 100644 docs/models/createprojectinternalcontenthint.md rename docs/models/{operations => }/createprojectipbuckets.md (84%) create mode 100644 docs/models/createprojectissuermode.md create mode 100644 docs/models/createprojectjobstatus.md create mode 100644 docs/models/createprojectlastaliasrequest.md rename docs/models/{operations => }/createprojectlastrollbacktarget.md (90%) create mode 100644 docs/models/createprojectlatestdeployments.md create mode 100644 docs/models/createprojectlink.md rename docs/models/{operations => }/createprojectlink1.md (95%) rename docs/models/{operations => }/createprojectlink2.md (97%) create mode 100644 docs/models/createprojectlink3.md rename docs/models/{operations => }/createprojectlinkdeployhooks.md (96%) rename docs/models/{operations => }/createprojectlinkprojectsdeployhooks.md (95%) rename docs/models/{operations => }/createprojectlinkprojectsresponsedeployhooks.md (95%) rename docs/models/{operations => }/createprojectlinkprojectsresponsetype.md (86%) rename docs/models/{operations => }/createprojectlinkprojectstype.md (87%) create mode 100644 docs/models/createprojectlinktype.md rename docs/models/{operations => }/createprojectmicrofrontends.md (99%) create mode 100644 docs/models/createprojectmissing.md create mode 100644 docs/models/createprojectmitigate.md create mode 100644 docs/models/createprojectnodeversion.md rename docs/models/{operations => }/createprojectoidctokenclaims.md (97%) create mode 100644 docs/models/createprojectoidctokenconfig.md create mode 100644 docs/models/createprojectoptionsallowlist.md rename docs/models/{operations => }/createprojectpasswordprotection.md (90%) rename docs/models/{operations => }/createprojectpaths.md (81%) create mode 100644 docs/models/createprojectpermissions.md create mode 100644 docs/models/createprojectplan.md rename docs/models/{operations => }/createprojectprojectsaliasassigned.md (100%) rename docs/models/{operations => }/createprojectprojectsaliaserror.md (94%) create mode 100644 docs/models/createprojectprojectsbranchmatcher.md rename docs/models/{operations => }/createprojectprojectsbuilds.md (95%) rename docs/models/{operations => }/createprojectprojectschecksconclusion.md (87%) rename docs/models/{operations => }/createprojectprojectschecksstate.md (88%) rename docs/models/{operations => }/createprojectprojectscreator.md (96%) rename docs/models/{operations => }/createprojectprojectsframework.md (95%) rename docs/models/{operations => }/createprojectprojectsoidctokenclaims.md (97%) create mode 100644 docs/models/createprojectprojectsplan.md rename docs/models/{operations => }/createprojectprojectsreadystate.md (89%) rename docs/models/{operations => }/createprojectprojectsreadysubstate.md (87%) rename docs/models/{operations => }/createprojectprojectsresponse200applicationjsonresponsebodyenvtype.md (81%) rename docs/models/{operations => }/createprojectprojectsresponse200applicationjsonresponsebodylatestdeploymentstype.md (81%) rename docs/models/{operations => }/createprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md (76%) create mode 100644 docs/models/createprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md rename docs/models/{operations => }/createprojectprojectsresponse200applicationjsonresponsebodytargetstype.md (82%) rename docs/models/{operations => }/createprojectprojectsresponse200applicationjsonresponsebodytype.md (82%) rename docs/models/{operations => }/createprojectprojectsresponse200applicationjsontype.md (83%) rename docs/models/{operations => }/createprojectprojectsresponse200type.md (86%) create mode 100644 docs/models/createprojectprojectsresponsetype.md create mode 100644 docs/models/createprojectprojectstarget.md create mode 100644 docs/models/createprojectprojectstype.md create mode 100644 docs/models/createprojectprojectsvalue.md create mode 100644 docs/models/createprojectprotectionbypass.md create mode 100644 docs/models/createprojectreadystate.md create mode 100644 docs/models/createprojectreadysubstate.md create mode 100644 docs/models/createprojectrequest.md rename docs/models/{operations => }/createprojectrequestbody.md (96%) create mode 100644 docs/models/createprojectresourceconfig.md create mode 100644 docs/models/createprojectresponsebody.md create mode 100644 docs/models/createprojectscope.md create mode 100644 docs/models/createprojectsecurity.md rename docs/models/{operations => }/createprojectspeedinsights.md (89%) create mode 100644 docs/models/createprojectsrc.md rename docs/models/{operations => }/createprojectsrc2.md (93%) create mode 100644 docs/models/createprojectssoprotection.md create mode 100644 docs/models/createprojecttarget.md create mode 100644 docs/models/createprojecttarget2.md create mode 100644 docs/models/createprojecttargets.md create mode 100644 docs/models/createprojecttier.md create mode 100644 docs/models/createprojecttrustedips.md create mode 100644 docs/models/createprojecttrustedips1.md create mode 100644 docs/models/createprojecttrustedips2.md rename docs/models/{operations => }/createprojecttrustedipsdeploymenttype.md (88%) rename docs/models/{operations => }/createprojecttrustedipsprojectsdeploymenttype.md (87%) create mode 100644 docs/models/createprojecttype.md create mode 100644 docs/models/createprojectvalue.md rename docs/models/{operations => }/createprojectvalue2.md (93%) rename docs/models/{operations => }/createprojectvalueprojects2.md (97%) rename docs/models/{operations => }/createprojectwebanalytics.md (88%) rename docs/models/{operations => }/createrecordrequest.md (83%) create mode 100644 docs/models/createrecordrequestbody.md rename docs/models/{operations => }/createrecordrequestbodydnsrequest10type.md (75%) rename docs/models/{operations => }/createrecordrequestbodydnsrequest5type.md (76%) rename docs/models/{operations => }/createrecordrequestbodydnsrequest6type.md (90%) rename docs/models/{operations => }/createrecordrequestbodydnsrequest7type.md (76%) rename docs/models/{operations => }/createrecordrequestbodydnsrequest8type.md (76%) rename docs/models/{operations => }/createrecordrequestbodydnsrequest9type.md (75%) rename docs/models/{operations => }/createrecordrequestbodydnsrequesttype.md (76%) rename docs/models/{operations => }/createrecordrequestbodydnstype.md (79%) rename docs/models/{operations => }/createrecordrequestbodytype.md (80%) create mode 100644 docs/models/createrecordresponsebody.md rename docs/models/{operations => }/createrecordresponsebody1.md (81%) rename docs/models/{operations => }/createrecordresponsebody2.md (89%) rename docs/models/{operations => }/createteambilling.md (83%) rename docs/models/{operations => }/createteamrequestbody.md (92%) rename docs/models/{operations => }/createteamresponsebody.md (94%) rename docs/models/{operations => }/createwebhookevents.md (93%) create mode 100644 docs/models/createwebhookrequest.md create mode 100644 docs/models/createwebhookrequestbody.md create mode 100644 docs/models/createwebhookresponsebody.md rename docs/models/{operations => }/creator.md (87%) rename docs/models/{operations => }/crons.md (94%) create mode 100644 docs/models/crs.md create mode 100644 docs/models/customenvironment.md create mode 100644 docs/models/customenvironment1.md rename docs/models/{operations => }/customenvironment2.md (81%) create mode 100644 docs/models/customenvironments.md create mode 100644 docs/models/datacache.md rename docs/models/{operations => }/decrypt.md (79%) rename docs/models/{operations => }/definitions.md (94%) rename docs/models/{operations => }/deleteaccessgroupprojectrequest.md (97%) rename docs/models/{operations => }/deleteaccessgrouprequest.md (93%) rename docs/models/{operations => }/deletealiasrequest.md (94%) create mode 100644 docs/models/deletealiasresponsebody.md create mode 100644 docs/models/deletealiasstatus.md rename docs/models/{operations => }/deleteauthtokenrequest.md (96%) rename docs/models/{operations => }/deleteauthtokenresponsebody.md (97%) rename docs/models/{operations => }/deleteconfigurablelogdrainrequest.md (96%) rename docs/models/{operations => }/deleteconfigurationrequest.md (93%) rename docs/models/{operations => }/deletedeploymentrequest.md (96%) create mode 100644 docs/models/deletedeploymentresponsebody.md create mode 100644 docs/models/deletedeploymentstate.md rename docs/models/{operations => }/deletedomainrequest.md (95%) rename docs/models/{operations => }/deletedomainresponsebody.md (90%) rename docs/models/{operations => }/deleteedgeconfigrequest.md (93%) rename docs/models/{operations => }/deleteedgeconfigschemarequest.md (97%) create mode 100644 docs/models/deleteedgeconfigtokensrequest.md rename docs/models/{operations => }/deleteedgeconfigtokensrequestbody.md (91%) rename docs/models/{operations => }/deleteintegrationlogdrainrequest.md (96%) rename docs/models/{operations => }/deleteprojectrequest.md (94%) rename docs/models/{operations => }/deleteteaminvitecoderequest.md (97%) rename docs/models/{operations => }/deleteteaminvitecoderesponsebody.md (92%) create mode 100644 docs/models/deleteteamrequest.md rename docs/models/{operations => }/deleteteamrequestbody.md (82%) rename docs/models/{operations => }/deleteteamresponsebody.md (96%) rename docs/models/{operations => }/deletewebhookrequest.md (93%) create mode 100644 docs/models/deliveryformat.md rename docs/models/{operations => }/deployhooks.md (90%) rename docs/models/{operations => }/deployment.md (94%) rename docs/models/{operations => }/deploymentexpiration.md (90%) rename docs/models/{operations => }/deployments.md (95%) rename docs/models/{operations => }/deploymenttype.md (76%) rename docs/models/{operations => }/details.md (85%) create mode 100644 docs/models/direction.md rename docs/models/{components => }/directory.md (97%) create mode 100644 docs/models/disabledreason.md rename docs/models/{operations => }/discounts.md (97%) rename docs/models/{components => }/dismissals.md (82%) create mode 100644 docs/models/dismissedtoasts.md rename docs/models/{operations => }/domain.md (100%) rename docs/models/{operations => }/domains.md (97%) rename docs/models/{operations => }/downloadartifactrequest.md (97%) create mode 100644 docs/models/edgeconfigitem.md rename docs/models/{components => }/edgeconfigitemvalue.md (93%) rename docs/models/{components => }/edgeconfigtoken.md (95%) create mode 100644 docs/models/editprojectenvcontenthint1.md create mode 100644 docs/models/editprojectenvcontenthint10.md create mode 100644 docs/models/editprojectenvcontenthint11.md create mode 100644 docs/models/editprojectenvcontenthint12.md create mode 100644 docs/models/editprojectenvcontenthint13.md create mode 100644 docs/models/editprojectenvcontenthint14.md create mode 100644 docs/models/editprojectenvcontenthint15.md create mode 100644 docs/models/editprojectenvcontenthint2.md create mode 100644 docs/models/editprojectenvcontenthint3.md create mode 100644 docs/models/editprojectenvcontenthint4.md create mode 100644 docs/models/editprojectenvcontenthint5.md create mode 100644 docs/models/editprojectenvcontenthint6.md create mode 100644 docs/models/editprojectenvcontenthint7.md create mode 100644 docs/models/editprojectenvcontenthint8.md create mode 100644 docs/models/editprojectenvcontenthint9.md rename docs/models/{operations => }/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md (80%) rename docs/models/{operations => }/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md (81%) rename docs/models/{operations => }/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md (81%) rename docs/models/{operations => }/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md (81%) rename docs/models/{operations => }/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md (81%) rename docs/models/{operations => }/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md (81%) rename docs/models/{operations => }/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md (81%) rename docs/models/{operations => }/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md (80%) rename docs/models/{operations => }/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md (81%) rename docs/models/{operations => }/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md (80%) rename docs/models/{operations => }/editprojectenvcontenthintprojectsresponse200applicationjsontype.md (82%) rename docs/models/{operations => }/editprojectenvcontenthintprojectsresponse200type.md (85%) rename docs/models/{operations => }/editprojectenvcontenthintprojectsresponsetype.md (85%) rename docs/models/{operations => }/editprojectenvcontenthintprojectstype.md (86%) rename docs/models/{operations => }/editprojectenvcontenthinttype.md (87%) create mode 100644 docs/models/editprojectenvrequest.md create mode 100644 docs/models/editprojectenvrequestbody.md create mode 100644 docs/models/editprojectenvresponsebody.md create mode 100644 docs/models/editprojectenvresponsebody1.md rename docs/models/{operations => }/editprojectenvresponsebody2.md (90%) create mode 100644 docs/models/editprojectenvresponsebodycontenthint.md rename docs/models/{operations => }/editprojectenvresponsebodyinternalcontenthint.md (92%) rename docs/models/{operations => }/editprojectenvresponsebodyprojectstype.md (85%) create mode 100644 docs/models/editprojectenvresponsebodytarget.md create mode 100644 docs/models/editprojectenvresponsebodytype.md create mode 100644 docs/models/editprojectenvtarget.md create mode 100644 docs/models/editprojectenvtarget2.md create mode 100644 docs/models/editprojectenvtype.md create mode 100644 docs/models/eight.md create mode 100644 docs/models/eleven.md create mode 100644 docs/models/emailinvitecodes.md rename docs/models/{operations => }/encoding.md (76%) create mode 100644 docs/models/entitlements.md create mode 100644 docs/models/env.md create mode 100644 docs/models/environments.md rename docs/models/{operations => }/environmentvariables.md (89%) create mode 100644 docs/models/envs.md create mode 100644 docs/models/erl.md create mode 100644 docs/models/errort.md rename docs/models/{operations => }/event.md (79%) create mode 100644 docs/models/event1.md create mode 100644 docs/models/event2.md rename docs/models/{operations => }/events.md (89%) create mode 100644 docs/models/eventtype.md rename docs/models/{operations => }/exchangessotokenrequestbody.md (98%) rename docs/models/{operations => }/exchangessotokenresponsebody.md (95%) create mode 100644 docs/models/failed.md create mode 100644 docs/models/favoriteprojectsandspaces.md create mode 100644 docs/models/favoritesviewpreference.md create mode 100644 docs/models/fcp.md create mode 100644 docs/models/featureblocks.md create mode 100644 docs/models/fifteen.md create mode 100644 docs/models/files.md rename docs/models/{components => }/filetree.md (91%) create mode 100644 docs/models/filterprojectenvscontenthint1.md create mode 100644 docs/models/filterprojectenvscontenthint10.md create mode 100644 docs/models/filterprojectenvscontenthint11.md create mode 100644 docs/models/filterprojectenvscontenthint12.md create mode 100644 docs/models/filterprojectenvscontenthint13.md create mode 100644 docs/models/filterprojectenvscontenthint14.md create mode 100644 docs/models/filterprojectenvscontenthint15.md create mode 100644 docs/models/filterprojectenvscontenthint2.md create mode 100644 docs/models/filterprojectenvscontenthint3.md create mode 100644 docs/models/filterprojectenvscontenthint4.md create mode 100644 docs/models/filterprojectenvscontenthint5.md create mode 100644 docs/models/filterprojectenvscontenthint6.md create mode 100644 docs/models/filterprojectenvscontenthint7.md create mode 100644 docs/models/filterprojectenvscontenthint8.md create mode 100644 docs/models/filterprojectenvscontenthint9.md create mode 100644 docs/models/filterprojectenvscontenthintprojects1.md create mode 100644 docs/models/filterprojectenvscontenthintprojects10.md create mode 100644 docs/models/filterprojectenvscontenthintprojects11.md create mode 100644 docs/models/filterprojectenvscontenthintprojects12.md create mode 100644 docs/models/filterprojectenvscontenthintprojects13.md create mode 100644 docs/models/filterprojectenvscontenthintprojects14.md create mode 100644 docs/models/filterprojectenvscontenthintprojects15.md create mode 100644 docs/models/filterprojectenvscontenthintprojects2.md create mode 100644 docs/models/filterprojectenvscontenthintprojects3.md create mode 100644 docs/models/filterprojectenvscontenthintprojects4.md create mode 100644 docs/models/filterprojectenvscontenthintprojects5.md create mode 100644 docs/models/filterprojectenvscontenthintprojects6.md create mode 100644 docs/models/filterprojectenvscontenthintprojects7.md create mode 100644 docs/models/filterprojectenvscontenthintprojects8.md create mode 100644 docs/models/filterprojectenvscontenthintprojects9.md create mode 100644 docs/models/filterprojectenvscontenthintprojectsresponse1.md create mode 100644 docs/models/filterprojectenvscontenthintprojectsresponse10.md create mode 100644 docs/models/filterprojectenvscontenthintprojectsresponse11.md create mode 100644 docs/models/filterprojectenvscontenthintprojectsresponse12.md create mode 100644 docs/models/filterprojectenvscontenthintprojectsresponse13.md create mode 100644 docs/models/filterprojectenvscontenthintprojectsresponse14.md create mode 100644 docs/models/filterprojectenvscontenthintprojectsresponse15.md create mode 100644 docs/models/filterprojectenvscontenthintprojectsresponse2.md rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody110type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody111type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody112type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody113type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody114type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody115type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody18type.md (80%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody19type.md (79%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody1type.md (81%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs10type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs11type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs12type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs13type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs14type.md (87%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs15type.md (87%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs3type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs4type.md (87%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs5type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs6type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs7type.md (87%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs8type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs9type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envstype.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2type.md (79%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs10type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs11type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs12type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs13type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs14type.md (87%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs15type.md (87%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs3type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs4type.md (87%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs5type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs6type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs7type.md (87%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs8type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs9type.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envstype.md (86%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3type.md (79%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebodytype.md (80%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200applicationjsontype.md (81%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponse200type.md (84%) create mode 100644 docs/models/filterprojectenvscontenthintprojectsresponse3.md create mode 100644 docs/models/filterprojectenvscontenthintprojectsresponse4.md create mode 100644 docs/models/filterprojectenvscontenthintprojectsresponse5.md create mode 100644 docs/models/filterprojectenvscontenthintprojectsresponse6.md create mode 100644 docs/models/filterprojectenvscontenthintprojectsresponse7.md create mode 100644 docs/models/filterprojectenvscontenthintprojectsresponse8.md create mode 100644 docs/models/filterprojectenvscontenthintprojectsresponse9.md rename docs/models/{operations => }/filterprojectenvscontenthintprojectsresponsetype.md (84%) rename docs/models/{operations => }/filterprojectenvscontenthintprojectstype.md (85%) rename docs/models/{operations => }/filterprojectenvscontenthinttype.md (85%) rename docs/models/{operations => }/filterprojectenvsrequest.md (95%) create mode 100644 docs/models/filterprojectenvsresponsebody.md create mode 100644 docs/models/filterprojectenvsresponsebody1.md rename docs/models/{operations => }/filterprojectenvsresponsebody2.md (90%) create mode 100644 docs/models/filterprojectenvsresponsebody3.md create mode 100644 docs/models/filterprojectenvsresponsebodycontenthint.md create mode 100644 docs/models/filterprojectenvsresponsebodyinternalcontenthint.md create mode 100644 docs/models/filterprojectenvsresponsebodyprojectscontenthint.md create mode 100644 docs/models/filterprojectenvsresponsebodyprojectsinternalcontenthint.md rename docs/models/{operations => }/filterprojectenvsresponsebodyprojectsresponse200applicationjson3type.md (81%) rename docs/models/{operations => }/filterprojectenvsresponsebodyprojectsresponse200applicationjsontype.md (80%) create mode 100644 docs/models/filterprojectenvsresponsebodyprojectsresponse200type.md create mode 100644 docs/models/filterprojectenvsresponsebodyprojectsresponsetarget.md create mode 100644 docs/models/filterprojectenvsresponsebodyprojectsresponsetype.md create mode 100644 docs/models/filterprojectenvsresponsebodyprojectstarget.md rename docs/models/{operations => }/filterprojectenvsresponsebodyprojectstype.md (84%) create mode 100644 docs/models/filterprojectenvsresponsebodytarget.md create mode 100644 docs/models/filterprojectenvsresponsebodytype.md create mode 100644 docs/models/filterprojectenvstarget1.md create mode 100644 docs/models/filterprojectenvstarget2.md rename docs/models/{operations => }/filterprojectenvstargetprojects1.md (87%) rename docs/models/{operations => }/filterprojectenvstargetprojects2.md (87%) rename docs/models/{operations => }/filterprojectenvstargetprojectsresponse2.md (85%) create mode 100644 docs/models/firewallroutes.md create mode 100644 docs/models/five.md rename docs/models/{components => }/flagjsonvalue.md (93%) create mode 100644 docs/models/flags.md create mode 100644 docs/models/flags1.md rename docs/models/{operations => }/flags2.md (80%) create mode 100644 docs/models/flagsdefinitions.md create mode 100644 docs/models/flagsoptions.md create mode 100644 docs/models/forcenew.md create mode 100644 docs/models/four.md create mode 100644 docs/models/fourteen.md rename docs/models/{operations => }/framework.md (90%) create mode 100644 docs/models/functiondefaultmemorytype.md rename docs/models/{operations => }/functions.md (89%) create mode 100644 docs/models/gen.md rename docs/models/{operations => }/generate.md (88%) rename docs/models/{operations => }/getaccountinforequest.md (85%) create mode 100644 docs/models/getaccountinforesponsebody.md rename docs/models/{operations => }/getaliascreator.md (94%) create mode 100644 docs/models/getaliasprotectionbypass.md rename docs/models/{operations => }/getaliasprotectionbypassaliasesresponsescope.md (86%) rename docs/models/{operations => }/getaliasprotectionbypassaliasesscope.md (89%) rename docs/models/{operations => }/getaliasprotectionbypassscope.md (89%) rename docs/models/{operations => }/getaliasrequest.md (97%) rename docs/models/{operations => }/getaliasresponsebody.md (94%) rename docs/models/{operations => }/getallcheckschecksresponse200applicationjsonsource.md (84%) rename docs/models/{operations => }/getallcheckschecksresponse200source.md (86%) rename docs/models/{operations => }/getallcheckschecksresponsesource.md (87%) create mode 100644 docs/models/getallcheckscheckssource.md create mode 100644 docs/models/getallcheckscls.md create mode 100644 docs/models/getallchecksconclusion.md create mode 100644 docs/models/getallchecksfcp.md create mode 100644 docs/models/getallcheckslcp.md create mode 100644 docs/models/getallchecksmetrics.md create mode 100644 docs/models/getallchecksoutput.md rename docs/models/{operations => }/getallchecksrequest.md (95%) create mode 100644 docs/models/getallchecksresponsebody.md create mode 100644 docs/models/getallcheckssource.md create mode 100644 docs/models/getallchecksstatus.md create mode 100644 docs/models/getallcheckstbt.md create mode 100644 docs/models/getallchecksvirtualexperiencescore.md create mode 100644 docs/models/getalllogdrainscreatedfrom.md create mode 100644 docs/models/getalllogdrainsdeliveryformat.md create mode 100644 docs/models/getalllogdrainsdisabledreason.md rename docs/models/{operations => }/getalllogdrainsenvironments.md (88%) rename docs/models/{operations => }/getalllogdrainsrequest.md (93%) create mode 100644 docs/models/getalllogdrainsresponsebody.md create mode 100644 docs/models/getalllogdrainssources.md create mode 100644 docs/models/getalllogdrainsstatus.md rename docs/models/{operations => }/getauthtokenrequest.md (97%) create mode 100644 docs/models/getauthtokenresponsebody.md create mode 100644 docs/models/getauthuserresponsebody.md rename docs/models/{operations => }/getcertbyidrequest.md (94%) rename docs/models/{operations => }/getcertbyidresponsebody.md (85%) rename docs/models/{operations => }/getcheckchecksresponse200applicationjsonsource.md (85%) rename docs/models/{operations => }/getcheckchecksresponse200source.md (89%) rename docs/models/{operations => }/getcheckchecksresponsesource.md (89%) create mode 100644 docs/models/getcheckcheckssource.md create mode 100644 docs/models/getcheckcls.md create mode 100644 docs/models/getcheckconclusion.md create mode 100644 docs/models/getcheckfcp.md create mode 100644 docs/models/getchecklcp.md create mode 100644 docs/models/getcheckmetrics.md create mode 100644 docs/models/getcheckoutput.md rename docs/models/{operations => }/getcheckrequest.md (96%) create mode 100644 docs/models/getcheckresponsebody.md create mode 100644 docs/models/getchecksource.md create mode 100644 docs/models/getcheckstatus.md create mode 100644 docs/models/getchecktbt.md create mode 100644 docs/models/getcheckvirtualexperiencescore.md rename docs/models/{operations => }/getconfigurablelogdraincreatedfrom.md (83%) rename docs/models/{operations => }/getconfigurablelogdraindeliveryformat.md (83%) create mode 100644 docs/models/getconfigurablelogdrainenvironments.md rename docs/models/{operations => }/getconfigurablelogdrainrequest.md (97%) create mode 100644 docs/models/getconfigurablelogdrainresponsebody.md create mode 100644 docs/models/getconfigurablelogdrainsources.md create mode 100644 docs/models/getconfigurablelogdrainstatus.md rename docs/models/{operations => }/getconfigurationrequest.md (94%) rename docs/models/{operations => }/getconfigurationresponsebody.md (86%) rename docs/models/{operations => }/getconfigurationresponsebody1.md (97%) rename docs/models/{operations => }/getconfigurationresponsebody2.md (96%) create mode 100644 docs/models/getconfigurationresponsebodybillingplan.md rename docs/models/{operations => }/getconfigurationresponsebodydetails.md (93%) create mode 100644 docs/models/getconfigurationresponsebodydisabledreason.md rename docs/models/{operations => }/getconfigurationresponsebodyheightlighteddetails.md (91%) rename docs/models/{operations => }/getconfigurationresponsebodyinstallationtype.md (79%) rename docs/models/{operations => }/getconfigurationresponsebodyintegrationsdisabledreason.md (81%) rename docs/models/{operations => }/getconfigurationresponsebodyintegrationsinstallationtype.md (87%) rename docs/models/{operations => }/getconfigurationresponsebodyintegrationsresponsetype.md (78%) rename docs/models/{operations => }/getconfigurationresponsebodyintegrationssource.md (89%) rename docs/models/{operations => }/getconfigurationresponsebodyintegrationstype.md (85%) rename docs/models/{operations => }/getconfigurationresponsebodyquote.md (90%) create mode 100644 docs/models/getconfigurationresponsebodyscope.md rename docs/models/{operations => }/getconfigurationresponsebodysource.md (91%) rename docs/models/{operations => }/getconfigurationresponsebodytype.md (87%) create mode 100644 docs/models/getconfigurationsrequest.md rename docs/models/{operations => }/getconfigurationsresponsebody.md (87%) rename docs/models/{operations => }/getconfigurationsresponsebody1.md (97%) rename docs/models/{operations => }/getconfigurationsresponsebody2.md (97%) rename docs/models/{operations => }/getconfigurationsresponsebodydisabledreason.md (83%) rename docs/models/{operations => }/getconfigurationsresponsebodyinstallationtype.md (78%) rename docs/models/{operations => }/getconfigurationsresponsebodyintegrationsresponse200type.md (83%) rename docs/models/{operations => }/getconfigurationsresponsebodyintegrationsresponsetype.md (83%) rename docs/models/{operations => }/getconfigurationsresponsebodyintegrationssource.md (89%) rename docs/models/{operations => }/getconfigurationsresponsebodyintegrationstype.md (85%) rename docs/models/{operations => }/getconfigurationsresponsebodyscope.md (86%) rename docs/models/{operations => }/getconfigurationsresponsebodysource.md (91%) rename docs/models/{operations => }/getconfigurationsresponsebodytype.md (87%) rename docs/models/{operations => }/getdeploymentcustomenvironment1.md (90%) rename docs/models/{operations => }/getdeploymentcustomenvironment2.md (93%) rename docs/models/{operations => }/getdeploymentcustomenvironmentdeployments1.md (88%) rename docs/models/{operations => }/getdeploymentcustomenvironmentdeployments2.md (91%) rename docs/models/{operations => }/getdeploymenteventsrequest.md (95%) rename docs/models/{operations => }/getdeploymentfilecontentsrequest.md (97%) create mode 100644 docs/models/getdeploymentflags1.md rename docs/models/{operations => }/getdeploymentflags2.md (80%) create mode 100644 docs/models/getdeploymentflagsdefinitions.md create mode 100644 docs/models/getdeploymentflagsoptions.md create mode 100644 docs/models/getdeploymentgitrepo1.md create mode 100644 docs/models/getdeploymentgitrepo2.md create mode 100644 docs/models/getdeploymentgitrepo3.md rename docs/models/{operations => }/getdeploymentgitrepodeploymentsownertype.md (85%) rename docs/models/{operations => }/getdeploymentgitrepodeploymentsresponseownertype.md (84%) rename docs/models/{operations => }/getdeploymentgitrepodeploymentsresponsetype.md (84%) rename docs/models/{operations => }/getdeploymentgitrepodeploymentstype.md (86%) rename docs/models/{operations => }/getdeploymentgitrepoownertype.md (87%) create mode 100644 docs/models/getdeploymentgitrepotype.md create mode 100644 docs/models/getdeploymentgitsource1.md create mode 100644 docs/models/getdeploymentgitsource2.md create mode 100644 docs/models/getdeploymentgitsource3.md create mode 100644 docs/models/getdeploymentgitsource4.md create mode 100644 docs/models/getdeploymentgitsource5.md create mode 100644 docs/models/getdeploymentgitsource6.md create mode 100644 docs/models/getdeploymentgitsource7.md create mode 100644 docs/models/getdeploymentgitsource8.md create mode 100644 docs/models/getdeploymentgitsource9.md create mode 100644 docs/models/getdeploymentgitsourcedeployments1.md create mode 100644 docs/models/getdeploymentgitsourcedeployments2.md create mode 100644 docs/models/getdeploymentgitsourcedeployments3.md create mode 100644 docs/models/getdeploymentgitsourcedeployments4.md create mode 100644 docs/models/getdeploymentgitsourcedeployments5.md create mode 100644 docs/models/getdeploymentgitsourcedeployments6.md create mode 100644 docs/models/getdeploymentgitsourcedeployments7.md create mode 100644 docs/models/getdeploymentgitsourcedeployments8.md create mode 100644 docs/models/getdeploymentgitsourcedeployments9.md rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsprojectid.md (100%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsrepoid.md (100%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody11type.md (80%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody19type.md (80%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody1type.md (80%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody22type.md (80%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody23type.md (80%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody24type.md (80%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody25type.md (80%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody26type.md (80%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody27type.md (80%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody28type.md (80%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody29type.md (80%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody2type.md (80%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md (80%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsresponse200applicationjsontype.md (81%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsresponse200type.md (84%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentsresponsetype.md (84%) rename docs/models/{operations => }/getdeploymentgitsourcedeploymentstype.md (85%) rename docs/models/{operations => }/getdeploymentgitsourceprojectid.md (100%) rename docs/models/{operations => }/getdeploymentgitsourcerepoid.md (100%) create mode 100644 docs/models/getdeploymentgitsourcetype.md create mode 100644 docs/models/getdeploymenthas1.md create mode 100644 docs/models/getdeploymenthas2.md rename docs/models/{operations => }/getdeploymenthasdeploymentstype.md (86%) create mode 100644 docs/models/getdeploymenthastype.md rename docs/models/{operations => }/getdeploymentmicrofrontends1.md (99%) rename docs/models/{operations => }/getdeploymentmicrofrontends2.md (96%) rename docs/models/{operations => }/getdeploymentmicrofrontendsapplications.md (99%) create mode 100644 docs/models/getdeploymentmissing1.md create mode 100644 docs/models/getdeploymentmissing2.md rename docs/models/{operations => }/getdeploymentmissingdeploymentstype.md (85%) create mode 100644 docs/models/getdeploymentmissingtype.md rename docs/models/{operations => }/getdeploymentrequest.md (95%) rename docs/models/{operations => }/getdeploymentresponsebody.md (87%) rename docs/models/{operations => }/getdeploymentresponsebody1.md (93%) rename docs/models/{operations => }/getdeploymentresponsebody2.md (91%) rename docs/models/{operations => }/getdeploymentresponsebodyaliaserror.md (93%) rename docs/models/{operations => }/getdeploymentresponsebodyaliaswarning.md (95%) rename docs/models/{operations => }/getdeploymentresponsebodychecksconclusion.md (86%) rename docs/models/{operations => }/getdeploymentresponsebodychecksstate.md (87%) rename docs/models/{operations => }/getdeploymentresponsebodycreator.md (94%) create mode 100644 docs/models/getdeploymentresponsebodycustomenvironment.md rename docs/models/{operations => }/getdeploymentresponsebodydeploymentsreadystate.md (86%) rename docs/models/{operations => }/getdeploymentresponsebodydeploymentsresponsereadystate.md (84%) rename docs/models/{operations => }/getdeploymentresponsebodydeploymentsstatus.md (86%) create mode 100644 docs/models/getdeploymentresponsebodygitsource.md create mode 100644 docs/models/getdeploymentresponsebodylambdas.md rename docs/models/{operations => }/getdeploymentresponsebodyoidctokenclaims.md (96%) rename docs/models/{operations => }/getdeploymentresponsebodyoutput.md (94%) rename docs/models/{operations => }/getdeploymentresponsebodyproject.md (94%) rename docs/models/{operations => }/getdeploymentresponsebodyreadystate.md (88%) rename docs/models/{operations => }/getdeploymentresponsebodyreadysubstate.md (91%) rename docs/models/{operations => }/getdeploymentresponsebodysource.md (90%) rename docs/models/{operations => }/getdeploymentresponsebodystatus.md (89%) rename docs/models/{operations => }/getdeploymentresponsebodytarget.md (87%) rename docs/models/{operations => }/getdeploymentresponsebodyteam.md (95%) rename docs/models/{operations => }/getdeploymentresponsebodytype.md (87%) rename docs/models/{operations => }/getdeploymentroutes1.md (93%) create mode 100644 docs/models/getdeploymentroutes2.md rename docs/models/{operations => }/getdeploymentroutes3.md (87%) create mode 100644 docs/models/getdeploymentrouteshandle.md create mode 100644 docs/models/getdeploymentrouteshas.md rename docs/models/{operations => }/getdeploymentrouteslocale.md (85%) create mode 100644 docs/models/getdeploymentroutesmissing.md rename docs/models/{operations => }/getdeploymentsaliasassigned.md (82%) rename docs/models/{operations => }/getdeploymentsaliaserror.md (85%) rename docs/models/{operations => }/getdeploymentschecksconclusion.md (89%) create mode 100644 docs/models/getdeploymentschecksstate.md rename docs/models/{operations => }/getdeploymentscreator.md (94%) rename docs/models/{operations => }/getdeploymentscustomenvironment.md (84%) rename docs/models/{operations => }/getdeploymentsframework.md (82%) rename docs/models/{operations => }/getdeploymentsgitcomments.md (91%) create mode 100644 docs/models/getdeploymentsnodeversion.md create mode 100644 docs/models/getdeploymentsprojectsettings.md create mode 100644 docs/models/getdeploymentsreadystate.md rename docs/models/{operations => }/getdeploymentsreadysubstate.md (82%) rename docs/models/{operations => }/getdeploymentsrequest.md (98%) rename docs/models/{operations => }/getdeploymentsresponsebody.md (90%) rename docs/models/{operations => }/getdeploymentssource.md (75%) rename docs/models/{operations => }/getdeploymentsspeedinsights.md (96%) create mode 100644 docs/models/getdeploymentsstate.md create mode 100644 docs/models/getdeploymentstarget.md create mode 100644 docs/models/getdeploymentstype.md rename docs/models/{operations => }/getdeploymentswebanalytics.md (88%) rename docs/models/{operations => }/getdomainconfigrequest.md (98%) rename docs/models/{operations => }/getdomainconfigresponsebody.md (95%) rename docs/models/{operations => }/getdomaincreator.md (91%) rename docs/models/{operations => }/getdomaindomain.md (98%) rename docs/models/{operations => }/getdomainrequest.md (95%) create mode 100644 docs/models/getdomainresponsebody.md rename docs/models/{operations => }/getdomainscreator.md (91%) rename docs/models/{operations => }/getdomainsrequest.md (96%) rename docs/models/{operations => }/getdomainsresponsebody.md (90%) rename docs/models/{operations => }/getdomainsservicetype.md (80%) rename docs/models/{operations => }/getdomaintransferrequest.md (94%) rename docs/models/{operations => }/getdomaintransferresponsebody.md (97%) rename docs/models/{operations => }/getdomaintransferstatus.md (84%) rename docs/models/{operations => }/getedgeconfigbackuprequest.md (94%) create mode 100644 docs/models/getedgeconfigbackupresponsebody.md create mode 100644 docs/models/getedgeconfigbackupresponsebody1.md create mode 100644 docs/models/getedgeconfigbackupresponsebody2.md create mode 100644 docs/models/getedgeconfigbackupresponsebodyitems.md rename docs/models/{operations => }/getedgeconfigbackupresponsebodyuser.md (88%) rename docs/models/{operations => }/getedgeconfigbackupsmetadata.md (94%) rename docs/models/{operations => }/getedgeconfigbackupspagination.md (93%) rename docs/models/{operations => }/getedgeconfigbackupsrequest.md (98%) create mode 100644 docs/models/getedgeconfigbackupsresponsebody.md rename docs/models/{operations => }/getedgeconfigitemrequest.md (94%) rename docs/models/{operations => }/getedgeconfigitemsrequest.md (93%) create mode 100644 docs/models/getedgeconfigpurpose.md rename docs/models/{operations => }/getedgeconfigrequest.md (93%) rename docs/models/{operations => }/getedgeconfigresponsebody.md (93%) create mode 100644 docs/models/getedgeconfigschema.md rename docs/models/{operations => }/getedgeconfigschemarequest.md (93%) rename docs/models/{operations => }/getedgeconfigschemaresponsebody.md (89%) rename docs/models/{operations => }/getedgeconfigsrequest.md (92%) rename docs/models/{operations => }/getedgeconfigsresponsebody.md (93%) create mode 100644 docs/models/getedgeconfigstype.md rename docs/models/{operations => }/getedgeconfigtokenrequest.md (94%) rename docs/models/{operations => }/getedgeconfigtokensrequest.md (93%) rename docs/models/{operations => }/getedgeconfigtransfer.md (83%) create mode 100644 docs/models/getedgeconfigtype.md create mode 100644 docs/models/getfirewallconfigaction.md create mode 100644 docs/models/getfirewallconfigalgo.md create mode 100644 docs/models/getfirewallconfigconditiongroup.md create mode 100644 docs/models/getfirewallconfigconditions.md create mode 100644 docs/models/getfirewallconfigcrs.md create mode 100644 docs/models/getfirewallconfiggen.md create mode 100644 docs/models/getfirewallconfigips.md create mode 100644 docs/models/getfirewallconfigjava.md create mode 100644 docs/models/getfirewallconfiglfi.md create mode 100644 docs/models/getfirewallconfigma.md create mode 100644 docs/models/getfirewallconfigmanagedrules.md create mode 100644 docs/models/getfirewallconfigmitigate.md create mode 100644 docs/models/getfirewallconfigop.md rename docs/models/{operations => }/getfirewallconfigowasp.md (87%) create mode 100644 docs/models/getfirewallconfigphp.md create mode 100644 docs/models/getfirewallconfigratelimit.md create mode 100644 docs/models/getfirewallconfigrce.md rename docs/models/{operations => }/getfirewallconfigredirect.md (84%) rename docs/models/{operations => }/getfirewallconfigrequest.md (94%) create mode 100644 docs/models/getfirewallconfigresponsebody.md create mode 100644 docs/models/getfirewallconfigrfi.md create mode 100644 docs/models/getfirewallconfigrules.md create mode 100644 docs/models/getfirewallconfigsd.md rename docs/models/{operations => }/getfirewallconfigsecurityaction.md (87%) create mode 100644 docs/models/getfirewallconfigsecurityresponse200action.md rename docs/models/{operations => }/getfirewallconfigsecurityresponse200applicationjsonaction.md (81%) rename docs/models/{operations => }/getfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md (75%) rename docs/models/{operations => }/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsaction.md (80%) rename docs/models/{operations => }/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsjavaaction.md (76%) rename docs/models/{operations => }/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsmaaction.md (80%) rename docs/models/{operations => }/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssdaction.md (77%) rename docs/models/{operations => }/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssfaction.md (80%) rename docs/models/{operations => }/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssqliaction.md (79%) rename docs/models/{operations => }/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsxssaction.md (77%) rename docs/models/{operations => }/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesaction.md (79%) rename docs/models/{operations => }/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesactionaction.md (77%) rename docs/models/{operations => }/getfirewallconfigsecurityresponseaction.md (84%) create mode 100644 docs/models/getfirewallconfigsf.md create mode 100644 docs/models/getfirewallconfigsqli.md create mode 100644 docs/models/getfirewallconfigtype.md rename docs/models/{operations => }/getfirewallconfigvalue.md (87%) create mode 100644 docs/models/getfirewallconfigxss.md rename docs/models/{operations => }/getintegrationlogdrainsdeliveryformat.md (85%) rename docs/models/{operations => }/getintegrationlogdrainsenvironments.md (85%) rename docs/models/{operations => }/getintegrationlogdrainsrequest.md (96%) create mode 100644 docs/models/getintegrationlogdrainsresponsebody.md rename docs/models/{operations => }/getintegrationlogdrainssources.md (89%) rename docs/models/{operations => }/getinvoicediscounts.md (90%) rename docs/models/{operations => }/getinvoiceitems.md (91%) rename docs/models/{operations => }/getinvoiceperiod.md (85%) rename docs/models/{operations => }/getinvoicerequest.md (89%) create mode 100644 docs/models/getinvoiceresponsebody.md rename docs/models/{operations => }/getmemberrequest.md (89%) create mode 100644 docs/models/getmemberresponsebody.md create mode 100644 docs/models/getmemberrole.md rename docs/models/{operations => }/getprojectdomainrequest.md (95%) rename docs/models/{operations => }/getprojectdomainresponsebody.md (99%) rename docs/models/{operations => }/getprojectdomainsdomains.md (98%) rename docs/models/{operations => }/getprojectdomainsrequest.md (91%) rename docs/models/{operations => }/getprojectdomainsresponsebody.md (90%) rename docs/models/{operations => }/getprojectdomainsverification.md (96%) create mode 100644 docs/models/getprojectenvcontenthint1.md create mode 100644 docs/models/getprojectenvcontenthint10.md create mode 100644 docs/models/getprojectenvcontenthint11.md create mode 100644 docs/models/getprojectenvcontenthint12.md create mode 100644 docs/models/getprojectenvcontenthint13.md create mode 100644 docs/models/getprojectenvcontenthint14.md create mode 100644 docs/models/getprojectenvcontenthint15.md create mode 100644 docs/models/getprojectenvcontenthint2.md create mode 100644 docs/models/getprojectenvcontenthint3.md create mode 100644 docs/models/getprojectenvcontenthint4.md create mode 100644 docs/models/getprojectenvcontenthint5.md create mode 100644 docs/models/getprojectenvcontenthint6.md create mode 100644 docs/models/getprojectenvcontenthint7.md create mode 100644 docs/models/getprojectenvcontenthint8.md create mode 100644 docs/models/getprojectenvcontenthint9.md create mode 100644 docs/models/getprojectenvcontenthintprojects1.md create mode 100644 docs/models/getprojectenvcontenthintprojects10.md create mode 100644 docs/models/getprojectenvcontenthintprojects11.md create mode 100644 docs/models/getprojectenvcontenthintprojects12.md create mode 100644 docs/models/getprojectenvcontenthintprojects13.md create mode 100644 docs/models/getprojectenvcontenthintprojects14.md create mode 100644 docs/models/getprojectenvcontenthintprojects15.md create mode 100644 docs/models/getprojectenvcontenthintprojects2.md create mode 100644 docs/models/getprojectenvcontenthintprojects3.md create mode 100644 docs/models/getprojectenvcontenthintprojects4.md create mode 100644 docs/models/getprojectenvcontenthintprojects5.md create mode 100644 docs/models/getprojectenvcontenthintprojects6.md create mode 100644 docs/models/getprojectenvcontenthintprojects7.md create mode 100644 docs/models/getprojectenvcontenthintprojects8.md create mode 100644 docs/models/getprojectenvcontenthintprojects9.md create mode 100644 docs/models/getprojectenvcontenthintprojectsresponse1.md create mode 100644 docs/models/getprojectenvcontenthintprojectsresponse10.md create mode 100644 docs/models/getprojectenvcontenthintprojectsresponse11.md create mode 100644 docs/models/getprojectenvcontenthintprojectsresponse12.md create mode 100644 docs/models/getprojectenvcontenthintprojectsresponse13.md create mode 100644 docs/models/getprojectenvcontenthintprojectsresponse14.md create mode 100644 docs/models/getprojectenvcontenthintprojectsresponse15.md create mode 100644 docs/models/getprojectenvcontenthintprojectsresponse2.md rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md (80%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md (82%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md (80%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md (82%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md (82%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md (80%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md (80%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md (82%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md (82%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md (80%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md (81%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200applicationjsontype.md (83%) rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponse200type.md (86%) create mode 100644 docs/models/getprojectenvcontenthintprojectsresponse3.md create mode 100644 docs/models/getprojectenvcontenthintprojectsresponse4.md create mode 100644 docs/models/getprojectenvcontenthintprojectsresponse5.md create mode 100644 docs/models/getprojectenvcontenthintprojectsresponse6.md create mode 100644 docs/models/getprojectenvcontenthintprojectsresponse7.md create mode 100644 docs/models/getprojectenvcontenthintprojectsresponse8.md create mode 100644 docs/models/getprojectenvcontenthintprojectsresponse9.md rename docs/models/{operations => }/getprojectenvcontenthintprojectsresponsetype.md (85%) rename docs/models/{operations => }/getprojectenvcontenthintprojectstype.md (87%) rename docs/models/{operations => }/getprojectenvcontenthinttype.md (88%) rename docs/models/{operations => }/getprojectenvrequest.md (96%) create mode 100644 docs/models/getprojectenvresponsebody.md create mode 100644 docs/models/getprojectenvresponsebody1.md create mode 100644 docs/models/getprojectenvresponsebody2.md create mode 100644 docs/models/getprojectenvresponsebody3.md create mode 100644 docs/models/getprojectenvresponsebodycontenthint.md create mode 100644 docs/models/getprojectenvresponsebodyinternalcontenthint.md create mode 100644 docs/models/getprojectenvresponsebodyprojectscontenthint.md create mode 100644 docs/models/getprojectenvresponsebodyprojectsinternalcontenthint.md rename docs/models/{operations => }/getprojectenvresponsebodyprojectsresponse200applicationjson3type.md (82%) rename docs/models/{operations => }/getprojectenvresponsebodyprojectsresponse200applicationjsontype.md (82%) rename docs/models/{operations => }/getprojectenvresponsebodyprojectsresponse200type.md (84%) create mode 100644 docs/models/getprojectenvresponsebodyprojectsresponsecontenthint.md create mode 100644 docs/models/getprojectenvresponsebodyprojectsresponseinternalcontenthint.md create mode 100644 docs/models/getprojectenvresponsebodyprojectsresponsetarget.md rename docs/models/{operations => }/getprojectenvresponsebodyprojectsresponsetype.md (86%) create mode 100644 docs/models/getprojectenvresponsebodyprojectstarget.md rename docs/models/{operations => }/getprojectenvresponsebodyprojectstype.md (87%) create mode 100644 docs/models/getprojectenvresponsebodytarget.md rename docs/models/{operations => }/getprojectenvresponsebodytype.md (89%) create mode 100644 docs/models/getprojectenvtarget1.md create mode 100644 docs/models/getprojectenvtarget2.md rename docs/models/{operations => }/getprojectenvtargetprojects1.md (89%) rename docs/models/{operations => }/getprojectenvtargetprojects2.md (89%) rename docs/models/{operations => }/getprojectenvtargetprojectsresponse2.md (87%) rename docs/models/{operations => }/getprojectmembersrequest.md (97%) create mode 100644 docs/models/getprojectmembersresponsebody.md rename docs/models/{operations => }/getprojectmembersresponsebody1.md (89%) create mode 100644 docs/models/getprojectmembersresponsebody2.md rename docs/models/{operations => }/getprojectmembersresponsebodypagination.md (97%) rename docs/models/{operations => }/getprojectmembersresponsebodyrole.md (88%) create mode 100644 docs/models/getprojectsaction.md create mode 100644 docs/models/getprojectsalgo.md rename docs/models/{operations => }/getprojectsaliasassigned.md (82%) rename docs/models/{operations => }/getprojectsaliaserror.md (85%) rename docs/models/{operations => }/getprojectsanalytics.md (88%) create mode 100644 docs/models/getprojectsbranchmatcher.md rename docs/models/{operations => }/getprojectsbuilds.md (87%) create mode 100644 docs/models/getprojectschecksconclusion.md create mode 100644 docs/models/getprojectschecksstate.md create mode 100644 docs/models/getprojectscontenthint.md create mode 100644 docs/models/getprojectscontenthint1.md create mode 100644 docs/models/getprojectscontenthint10.md create mode 100644 docs/models/getprojectscontenthint11.md create mode 100644 docs/models/getprojectscontenthint12.md create mode 100644 docs/models/getprojectscontenthint13.md create mode 100644 docs/models/getprojectscontenthint14.md create mode 100644 docs/models/getprojectscontenthint15.md create mode 100644 docs/models/getprojectscontenthint2.md create mode 100644 docs/models/getprojectscontenthint3.md create mode 100644 docs/models/getprojectscontenthint4.md create mode 100644 docs/models/getprojectscontenthint5.md create mode 100644 docs/models/getprojectscontenthint6.md create mode 100644 docs/models/getprojectscontenthint7.md create mode 100644 docs/models/getprojectscontenthint8.md create mode 100644 docs/models/getprojectscontenthint9.md rename docs/models/{operations => }/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv10type.md (87%) rename docs/models/{operations => }/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv11type.md (87%) rename docs/models/{operations => }/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv12type.md (87%) rename docs/models/{operations => }/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv13type.md (87%) rename docs/models/{operations => }/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv14type.md (88%) rename docs/models/{operations => }/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv15type.md (88%) rename docs/models/{operations => }/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv9type.md (87%) rename docs/models/{operations => }/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenvtype.md (87%) rename docs/models/{operations => }/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectstype.md (82%) rename docs/models/{operations => }/getprojectscontenthintprojectsresponse200applicationjsonresponsebodytype.md (81%) rename docs/models/{operations => }/getprojectscontenthintprojectsresponse200applicationjsontype.md (83%) rename docs/models/{operations => }/getprojectscontenthintprojectsresponse200type.md (86%) rename docs/models/{operations => }/getprojectscontenthintprojectsresponsetype.md (86%) rename docs/models/{operations => }/getprojectscontenthintprojectstype.md (88%) create mode 100644 docs/models/getprojectscontenthinttype.md rename docs/models/{operations => }/getprojectscreator.md (82%) rename docs/models/{operations => }/getprojectscrons.md (93%) rename docs/models/{operations => }/getprojectscustomenvironments.md (91%) rename docs/models/{operations => }/getprojectsdatacache.md (86%) rename docs/models/{operations => }/getprojectsdefinitions.md (94%) rename docs/models/{operations => }/getprojectsdeploymentexpiration.md (96%) create mode 100644 docs/models/getprojectsdeploymenttype.md create mode 100644 docs/models/getprojectsenv.md create mode 100644 docs/models/getprojectserl.md create mode 100644 docs/models/getprojectsfirewallroutes.md rename docs/models/{operations => }/getprojectsframework.md (83%) create mode 100644 docs/models/getprojectsfunctiondefaultmemorytype.md rename docs/models/{operations => }/getprojectsgitcomments.md (91%) create mode 100644 docs/models/getprojectshandle.md create mode 100644 docs/models/getprojectshas.md create mode 100644 docs/models/getprojectsinternalcontenthint.md rename docs/models/{operations => }/getprojectsipbuckets.md (84%) create mode 100644 docs/models/getprojectsissuermode.md create mode 100644 docs/models/getprojectsjobstatus.md create mode 100644 docs/models/getprojectslastaliasrequest.md rename docs/models/{operations => }/getprojectslastrollbacktarget.md (91%) create mode 100644 docs/models/getprojectslatestdeployments.md create mode 100644 docs/models/getprojectslink.md rename docs/models/{operations => }/getprojectslink1.md (94%) rename docs/models/{operations => }/getprojectslink2.md (97%) create mode 100644 docs/models/getprojectslink3.md rename docs/models/{operations => }/getprojectslinkdeployhooks.md (85%) rename docs/models/{operations => }/getprojectslinkprojectsdeployhooks.md (91%) rename docs/models/{operations => }/getprojectslinkprojectsresponsedeployhooks.md (91%) rename docs/models/{operations => }/getprojectslinkprojectsresponsetype.md (87%) rename docs/models/{operations => }/getprojectslinkprojectstype.md (88%) create mode 100644 docs/models/getprojectslinktype.md rename docs/models/{operations => }/getprojectsmicrofrontends.md (98%) create mode 100644 docs/models/getprojectsmissing.md create mode 100644 docs/models/getprojectsmitigate.md create mode 100644 docs/models/getprojectsnodeversion.md rename docs/models/{operations => }/getprojectsoidctokenclaims.md (93%) create mode 100644 docs/models/getprojectsoidctokenconfig.md create mode 100644 docs/models/getprojectsoptionsallowlist.md rename docs/models/{operations => }/getprojectspasswordprotection.md (91%) rename docs/models/{operations => }/getprojectspaths.md (82%) create mode 100644 docs/models/getprojectspermissions.md create mode 100644 docs/models/getprojectsplan.md create mode 100644 docs/models/getprojectsprojects.md rename docs/models/{operations => }/getprojectsprojectsaliasassigned.md (83%) rename docs/models/{operations => }/getprojectsprojectsaliaserror.md (95%) create mode 100644 docs/models/getprojectsprojectsbranchmatcher.md rename docs/models/{operations => }/getprojectsprojectsbuilds.md (86%) create mode 100644 docs/models/getprojectsprojectschecksconclusion.md create mode 100644 docs/models/getprojectsprojectschecksstate.md rename docs/models/{operations => }/getprojectsprojectscreator.md (82%) rename docs/models/{operations => }/getprojectsprojectsoidctokenclaims.md (97%) create mode 100644 docs/models/getprojectsprojectsplan.md create mode 100644 docs/models/getprojectsprojectsreadystate.md rename docs/models/{operations => }/getprojectsprojectsreadysubstate.md (88%) rename docs/models/{operations => }/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecurityfirewallroutestype.md (77%) create mode 100644 docs/models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecuritytype.md rename docs/models/{operations => }/getprojectsprojectsresponse200applicationjsonresponsebodyprojectstype.md (82%) rename docs/models/{operations => }/getprojectsprojectsresponse200applicationjsonresponsebodytype.md (79%) rename docs/models/{operations => }/getprojectsprojectsresponse200applicationjsontype.md (81%) rename docs/models/{operations => }/getprojectsprojectsresponse200type.md (87%) rename docs/models/{operations => }/getprojectsprojectsresponsetype.md (87%) create mode 100644 docs/models/getprojectsprojectstype.md create mode 100644 docs/models/getprojectsprojectsvalue.md create mode 100644 docs/models/getprojectsprotectionbypass.md create mode 100644 docs/models/getprojectsreadystate.md create mode 100644 docs/models/getprojectsreadysubstate.md rename docs/models/{operations => }/getprojectsrequest.md (97%) create mode 100644 docs/models/getprojectsresourceconfig.md rename docs/models/{operations => }/getprojectsresponsebody.md (92%) create mode 100644 docs/models/getprojectsscope.md create mode 100644 docs/models/getprojectssecurity.md rename docs/models/{operations => }/getprojectsspeedinsights.md (90%) create mode 100644 docs/models/getprojectssrc.md rename docs/models/{operations => }/getprojectssrc2.md (93%) create mode 100644 docs/models/getprojectsssoprotection.md create mode 100644 docs/models/getprojectstarget.md create mode 100644 docs/models/getprojectstarget1.md create mode 100644 docs/models/getprojectstarget2.md create mode 100644 docs/models/getprojectstargets.md create mode 100644 docs/models/getprojectstier.md create mode 100644 docs/models/getprojectstrustedips.md create mode 100644 docs/models/getprojectstrustedips1.md create mode 100644 docs/models/getprojectstrustedips2.md rename docs/models/{operations => }/getprojectstrustedipsaddresses.md (94%) rename docs/models/{operations => }/getprojectstrustedipsdeploymenttype.md (90%) rename docs/models/{operations => }/getprojectstrustedipsprojectsdeploymenttype.md (88%) rename docs/models/{operations => }/getprojectstrustedipsprotectionmode.md (87%) create mode 100644 docs/models/getprojectstype.md create mode 100644 docs/models/getprojectsvalue.md rename docs/models/{operations => }/getprojectsvalue2.md (93%) rename docs/models/{operations => }/getprojectsvalueprojects2.md (93%) rename docs/models/{operations => }/getprojectswebanalytics.md (89%) rename docs/models/{operations => }/getrecordsrequest.md (96%) create mode 100644 docs/models/getrecordsresponsebody.md create mode 100644 docs/models/getrecordsresponsebody2.md rename docs/models/{operations => }/getrecordsresponsebodydnstype.md (76%) create mode 100644 docs/models/getrecordsresponsebodytype.md rename docs/models/{operations => }/getteamaccessrequestbitbucket.md (92%) rename docs/models/{operations => }/getteamaccessrequestgithub.md (80%) rename docs/models/{operations => }/getteamaccessrequestgitlab.md (80%) rename docs/models/{operations => }/getteamaccessrequestgituserid.md (83%) create mode 100644 docs/models/getteamaccessrequestjoinedfrom.md create mode 100644 docs/models/getteamaccessrequestorigin.md rename docs/models/{operations => }/getteamaccessrequestrequest.md (93%) create mode 100644 docs/models/getteamaccessrequestresponsebody.md rename docs/models/{operations => }/getteammembersbitbucket.md (82%) rename docs/models/{operations => }/getteammembersgithub.md (82%) rename docs/models/{operations => }/getteammembersgitlab.md (82%) rename docs/models/{operations => }/getteammembersgituserid.md (82%) create mode 100644 docs/models/getteammembersjoinedfrom.md create mode 100644 docs/models/getteammembersmembers.md create mode 100644 docs/models/getteammembersorigin.md rename docs/models/{operations => }/getteammemberspagination.md (95%) create mode 100644 docs/models/getteammembersprojects.md rename docs/models/{operations => }/getteammembersrequest.md (94%) create mode 100644 docs/models/getteammembersresponsebody.md create mode 100644 docs/models/getteammembersrole.md create mode 100644 docs/models/getteammembersteamsprojects.md create mode 100644 docs/models/getteammembersteamsresponserole.md create mode 100644 docs/models/getteammembersteamsrole.md rename docs/models/{operations => }/getteamrequest.md (93%) rename docs/models/{operations => }/getteamsrequest.md (96%) create mode 100644 docs/models/getteamsresponsebody.md rename docs/models/{operations => }/getwebhookevents.md (94%) rename docs/models/{operations => }/getwebhookrequest.md (94%) rename docs/models/{operations => }/getwebhookresponsebody.md (94%) rename docs/models/{operations => }/getwebhooksrequest.md (93%) rename docs/models/{operations => }/getwebhooksresponsebody.md (79%) create mode 100644 docs/models/getwebhooksresponsebody1.md create mode 100644 docs/models/getwebhooksresponsebody2.md rename docs/models/{operations => }/getwebhooksresponsebodyevents.md (97%) rename docs/models/{operations => }/getwebhooksresponsebodyframework.md (88%) create mode 100644 docs/models/gitaccount.md rename docs/models/{operations => }/gitcomments.md (91%) create mode 100644 docs/models/gitforkprotection.md rename docs/models/{operations => }/github.md (81%) rename docs/models/{operations => }/gitlab.md (81%) rename docs/models/{operations => }/gitmetadata.md (98%) rename docs/models/{components => }/gitnamespaceid.md (81%) rename docs/models/{operations => }/gitnamespacesid.md (81%) rename docs/models/{operations => }/gitnamespacesrequest.md (88%) create mode 100644 docs/models/gitnamespacesresponsebody.md rename docs/models/{operations => }/gitrepo.md (79%) create mode 100644 docs/models/gitrepo1.md create mode 100644 docs/models/gitrepo2.md create mode 100644 docs/models/gitrepo3.md create mode 100644 docs/models/gitrepoownertype.md create mode 100644 docs/models/gitrepository.md create mode 100644 docs/models/gitrepotype.md create mode 100644 docs/models/gitsource.md create mode 100644 docs/models/gitsource1.md create mode 100644 docs/models/gitsource2.md create mode 100644 docs/models/gitsource3.md create mode 100644 docs/models/gitsource4.md create mode 100644 docs/models/gitsource5.md create mode 100644 docs/models/gitsource6.md create mode 100644 docs/models/gitsource7.md create mode 100644 docs/models/gitsource8.md create mode 100644 docs/models/gitsource9.md rename docs/models/{operations => }/gitsourceprojectid.md (100%) rename docs/models/{operations => }/gitsourcerepoid.md (100%) create mode 100644 docs/models/gitsourcetype.md create mode 100644 docs/models/gituserid.md create mode 100644 docs/models/handle.md create mode 100644 docs/models/has.md create mode 100644 docs/models/has1.md create mode 100644 docs/models/has2.md create mode 100644 docs/models/hastype.md rename docs/models/{operations => }/heightlighteddetails.md (83%) rename docs/models/{operations => }/https.md (87%) create mode 100644 docs/models/id.md rename docs/models/{components => }/importflowgitnamespace.md (82%) rename docs/models/{components => }/importflowgitnamespaceid.md (82%) create mode 100644 docs/models/importflowgitprovider.md rename docs/models/{operations => }/inlinedfile.md (95%) create mode 100644 docs/models/installationtype.md rename docs/models/{operations => }/integration.md (92%) create mode 100644 docs/models/integrations.md create mode 100644 docs/models/internalcontenthint.md create mode 100644 docs/models/inviteusertoteamprojects.md create mode 100644 docs/models/inviteusertoteamrequest.md create mode 100644 docs/models/inviteusertoteamrequestbody.md create mode 100644 docs/models/inviteusertoteamresponsebody.md rename docs/models/{operations => }/inviteusertoteamresponsebody1.md (94%) create mode 100644 docs/models/inviteusertoteamresponsebody2.md create mode 100644 docs/models/inviteusertoteamresponsebodyrole.md create mode 100644 docs/models/inviteusertoteamrole.md create mode 100644 docs/models/inviteusertoteamteamsrole.md rename docs/models/{operations => }/ipbuckets.md (84%) create mode 100644 docs/models/ips.md create mode 100644 docs/models/issuecertrequest.md rename docs/models/{operations => }/issuecertrequestbody.md (89%) rename docs/models/{operations => }/issuecertresponsebody.md (85%) create mode 100644 docs/models/issuermode.md create mode 100644 docs/models/items.md rename docs/models/{operations => }/items1.md (75%) rename docs/models/{operations => }/items2.md (75%) create mode 100644 docs/models/java.md create mode 100644 docs/models/jobstatus.md create mode 100644 docs/models/joinedfrom.md create mode 100644 docs/models/jointeamrequest.md rename docs/models/{operations => }/jointeamrequestbody.md (89%) rename docs/models/{operations => }/jointeamresponsebody.md (94%) create mode 100644 docs/models/lambdas.md create mode 100644 docs/models/lastaliasrequest.md create mode 100644 docs/models/lastrollbacktarget.md create mode 100644 docs/models/latestdeployments.md create mode 100644 docs/models/lcp.md create mode 100644 docs/models/lfi.md rename docs/models/{operations => }/link.md (75%) rename docs/models/{operations => }/link1.md (96%) rename docs/models/{operations => }/link2.md (97%) create mode 100644 docs/models/link3.md rename docs/models/{operations => }/linkdeployhooks.md (89%) create mode 100644 docs/models/linktype.md create mode 100644 docs/models/listaccessgroupmemberspagination.md rename docs/models/{operations => }/listaccessgroupmembersrequest.md (98%) create mode 100644 docs/models/listaccessgroupmembersresponsebody.md rename docs/models/{operations => }/listaccessgroupprojectspagination.md (92%) rename docs/models/{operations => }/listaccessgroupprojectsproject.md (93%) create mode 100644 docs/models/listaccessgroupprojectsprojects.md rename docs/models/{operations => }/listaccessgroupprojectsrequest.md (98%) create mode 100644 docs/models/listaccessgroupprojectsresponsebody.md rename docs/models/{operations => }/listaccessgroupprojectsrole.md (87%) rename docs/models/{operations => }/listaccessgroupsrequest.md (97%) create mode 100644 docs/models/listaccessgroupsresponsebody.md rename docs/models/{operations => }/listaccessgroupsresponsebody1.md (89%) create mode 100644 docs/models/listaccessgroupsresponsebody2.md rename docs/models/{operations => }/listaliasescreator.md (94%) rename docs/models/{operations => }/listaliasesdeployment.md (93%) create mode 100644 docs/models/listaliasesprotectionbypass.md create mode 100644 docs/models/listaliasesprotectionbypass1.md create mode 100644 docs/models/listaliasesprotectionbypass2.md create mode 100644 docs/models/listaliasesprotectionbypass3.md create mode 100644 docs/models/listaliasesprotectionbypass4.md rename docs/models/{operations => }/listaliasesprotectionbypassaliasesresponse200scope.md (84%) rename docs/models/{operations => }/listaliasesprotectionbypassaliasesresponsescope.md (85%) rename docs/models/{operations => }/listaliasesprotectionbypassaliasesscope.md (87%) rename docs/models/{operations => }/listaliasesprotectionbypassscope.md (87%) rename docs/models/{operations => }/listaliasesrequest.md (96%) rename docs/models/{operations => }/listaliasesresponsebody.md (90%) rename docs/models/{operations => }/listauthtokensresponsebody.md (88%) rename docs/models/{operations => }/listdeploymentaliasesaliases.md (95%) create mode 100644 docs/models/listdeploymentaliasesprotectionbypass.md create mode 100644 docs/models/listdeploymentaliasesprotectionbypass1.md create mode 100644 docs/models/listdeploymentaliasesprotectionbypass2.md create mode 100644 docs/models/listdeploymentaliasesprotectionbypass3.md create mode 100644 docs/models/listdeploymentaliasesprotectionbypass4.md rename docs/models/{operations => }/listdeploymentaliasesprotectionbypassaccess.md (83%) rename docs/models/{operations => }/listdeploymentaliasesprotectionbypassaliasesresponse200scope.md (80%) rename docs/models/{operations => }/listdeploymentaliasesprotectionbypassaliasesresponsescope.md (82%) rename docs/models/{operations => }/listdeploymentaliasesprotectionbypassaliasesscope.md (81%) rename docs/models/{operations => }/listdeploymentaliasesprotectionbypassscope.md (83%) rename docs/models/{operations => }/listdeploymentaliasesrequest.md (97%) create mode 100644 docs/models/listdeploymentaliasesresponsebody.md rename docs/models/{operations => }/listdeploymentfilesrequest.md (93%) rename docs/models/{operations => }/listpromotealiasesrequest.md (97%) create mode 100644 docs/models/listpromotealiasesresponsebody.md rename docs/models/{operations => }/listpromotealiasesresponsebody1.md (88%) rename docs/models/{operations => }/listpromotealiasesresponsebody2.md (90%) rename docs/models/{operations => }/listusereventsrequest.md (98%) create mode 100644 docs/models/listusereventsresponsebody.md rename docs/models/{operations => }/locale.md (87%) create mode 100644 docs/models/ma.md create mode 100644 docs/models/managedrules.md create mode 100644 docs/models/members.md create mode 100644 docs/models/membership.md rename docs/models/{operations => }/metadata.md (88%) create mode 100644 docs/models/metrics.md rename docs/models/{operations => }/microfrontends.md (98%) rename docs/models/{operations => }/microfrontends1.md (98%) rename docs/models/{operations => }/microfrontends2.md (96%) rename docs/models/{operations => }/microfrontendsapplications.md (98%) create mode 100644 docs/models/missing.md create mode 100644 docs/models/missing1.md create mode 100644 docs/models/missing2.md create mode 100644 docs/models/missingtype.md create mode 100644 docs/models/mitigate.md rename docs/models/{operations => }/namespaceid.md (81%) create mode 100644 docs/models/nine.md rename docs/models/{operations => }/nodeversion.md (75%) rename docs/models/{components => }/northstarmigration.md (91%) rename docs/models/{operations => }/oidctokenclaims.md (93%) rename docs/models/{operations => }/oidctokenconfig.md (86%) create mode 100644 docs/models/one.md create mode 100644 docs/models/one5.md create mode 100644 docs/models/onetarget.md create mode 100644 docs/models/onetype.md create mode 100644 docs/models/op.md delete mode 100644 docs/models/operations/acceptedchallenges.md delete mode 100644 docs/models/operations/access.md delete mode 100644 docs/models/operations/action.md delete mode 100644 docs/models/operations/action1.md delete mode 100644 docs/models/operations/active.md delete mode 100644 docs/models/operations/addprojectdomainrequest.md delete mode 100644 docs/models/operations/addprojectdomainrequestbody.md delete mode 100644 docs/models/operations/addprojectmemberrequestbody.md delete mode 100644 docs/models/operations/addprojectmemberrequestbody1.md delete mode 100644 docs/models/operations/addprojectmemberrequestbody2.md delete mode 100644 docs/models/operations/addprojectmemberrequestbody3.md delete mode 100644 docs/models/operations/algo.md delete mode 100644 docs/models/operations/artifactqueryrequest.md delete mode 100644 docs/models/operations/assignaliasrequest.md delete mode 100644 docs/models/operations/attribution.md delete mode 100644 docs/models/operations/backups.md delete mode 100644 docs/models/operations/billing.md delete mode 100644 docs/models/operations/billing2.md delete mode 100644 docs/models/operations/billingplan.md delete mode 100644 docs/models/operations/branchmatcher.md delete mode 100644 docs/models/operations/builds.md delete mode 100644 docs/models/operations/buydomaindomainsresponsebody.md delete mode 100644 docs/models/operations/buydomainrequest.md delete mode 100644 docs/models/operations/buydomainresponse.md delete mode 100644 docs/models/operations/buydomainresponsebody.md delete mode 100644 docs/models/operations/canceldeploymentbuilds.md delete mode 100644 docs/models/operations/canceldeploymentcustomenvironment.md delete mode 100644 docs/models/operations/canceldeploymentflags.md delete mode 100644 docs/models/operations/canceldeploymentflags1.md delete mode 100644 docs/models/operations/canceldeploymentflagsdefinitions.md delete mode 100644 docs/models/operations/canceldeploymentgitrepo.md delete mode 100644 docs/models/operations/canceldeploymentgitrepo1.md delete mode 100644 docs/models/operations/canceldeploymentgitrepo2.md delete mode 100644 docs/models/operations/canceldeploymentgitrepo3.md delete mode 100644 docs/models/operations/canceldeploymentgitsource.md delete mode 100644 docs/models/operations/canceldeploymentgitsource1.md delete mode 100644 docs/models/operations/canceldeploymentgitsource2.md delete mode 100644 docs/models/operations/canceldeploymentgitsource3.md delete mode 100644 docs/models/operations/canceldeploymentgitsource4.md delete mode 100644 docs/models/operations/canceldeploymentgitsource5.md delete mode 100644 docs/models/operations/canceldeploymenthas1.md delete mode 100644 docs/models/operations/canceldeploymenthas2.md delete mode 100644 docs/models/operations/canceldeploymenthastype.md delete mode 100644 docs/models/operations/canceldeploymentintegrations.md delete mode 100644 docs/models/operations/canceldeploymentlambdas.md delete mode 100644 docs/models/operations/canceldeploymentmicrofrontends.md delete mode 100644 docs/models/operations/canceldeploymentmissing1.md delete mode 100644 docs/models/operations/canceldeploymentmissing2.md delete mode 100644 docs/models/operations/canceldeploymentplan.md delete mode 100644 docs/models/operations/canceldeploymentprojectsettings.md delete mode 100644 docs/models/operations/canceldeploymentreadystate.md delete mode 100644 docs/models/operations/canceldeploymentroutes.md delete mode 100644 docs/models/operations/canceldeploymentroutes2.md delete mode 100644 docs/models/operations/canceldeploymentrouteshas.md delete mode 100644 docs/models/operations/canceldeploymentroutesmissing.md delete mode 100644 docs/models/operations/canceldeploymentsource.md delete mode 100644 docs/models/operations/canceldeploymentstatus.md delete mode 100644 docs/models/operations/canceldeploymenttarget.md delete mode 100644 docs/models/operations/canceldeploymenttype.md delete mode 100644 docs/models/operations/changes.md delete mode 100644 docs/models/operations/checkdomainpricerequest.md delete mode 100644 docs/models/operations/checks.md delete mode 100644 docs/models/operations/checksconclusion.md delete mode 100644 docs/models/operations/checksstate.md delete mode 100644 docs/models/operations/cls.md delete mode 100644 docs/models/operations/computedprojectrole.md delete mode 100644 docs/models/operations/conclusion.md delete mode 100644 docs/models/operations/conditiongroup.md delete mode 100644 docs/models/operations/conditions.md delete mode 100644 docs/models/operations/contenthint.md delete mode 100644 docs/models/operations/contenthint1.md delete mode 100644 docs/models/operations/contenthint10.md delete mode 100644 docs/models/operations/contenthint11.md delete mode 100644 docs/models/operations/contenthint12.md delete mode 100644 docs/models/operations/contenthint13.md delete mode 100644 docs/models/operations/contenthint14.md delete mode 100644 docs/models/operations/contenthint15.md delete mode 100644 docs/models/operations/contenthint2.md delete mode 100644 docs/models/operations/contenthint3.md delete mode 100644 docs/models/operations/contenthint4.md delete mode 100644 docs/models/operations/contenthint5.md delete mode 100644 docs/models/operations/contenthint6.md delete mode 100644 docs/models/operations/contenthint7.md delete mode 100644 docs/models/operations/contenthint8.md delete mode 100644 docs/models/operations/contenthint9.md delete mode 100644 docs/models/operations/contenthinttype.md delete mode 100644 docs/models/operations/createaccessgroupprojectrequest.md delete mode 100644 docs/models/operations/createaccessgroupprojectrequestbody.md delete mode 100644 docs/models/operations/createaccessgroupprojectresponsebody.md delete mode 100644 docs/models/operations/createaccessgrouprequest.md delete mode 100644 docs/models/operations/createaccessgrouprequestbody.md delete mode 100644 docs/models/operations/createauthtokenrequest.md delete mode 100644 docs/models/operations/createcheckcheckssource.md delete mode 100644 docs/models/operations/createcheckcls.md delete mode 100644 docs/models/operations/createcheckconclusion.md delete mode 100644 docs/models/operations/createcheckfcp.md delete mode 100644 docs/models/operations/createchecklcp.md delete mode 100644 docs/models/operations/createcheckmetrics.md delete mode 100644 docs/models/operations/createcheckoutput.md delete mode 100644 docs/models/operations/createcheckrequest.md delete mode 100644 docs/models/operations/createcheckresponsebody.md delete mode 100644 docs/models/operations/createchecksource.md delete mode 100644 docs/models/operations/createcheckstatus.md delete mode 100644 docs/models/operations/createchecktbt.md delete mode 100644 docs/models/operations/createcheckvirtualexperiencescore.md delete mode 100644 docs/models/operations/createconfigurablelogdraindisabledreason.md delete mode 100644 docs/models/operations/createconfigurablelogdrainlogdrainssources.md delete mode 100644 docs/models/operations/createconfigurablelogdrainrequest.md delete mode 100644 docs/models/operations/createconfigurablelogdrainrequestbody.md delete mode 100644 docs/models/operations/createconfigurablelogdrainresponsebody.md delete mode 100644 docs/models/operations/created.md delete mode 100644 docs/models/operations/created1.md delete mode 100644 docs/models/operations/created2.md delete mode 100644 docs/models/operations/createdcontenthint.md delete mode 100644 docs/models/operations/createdeploymentgitsource.md delete mode 100644 docs/models/operations/createdeploymentgitsource6.md delete mode 100644 docs/models/operations/createdeploymentgitsource7.md delete mode 100644 docs/models/operations/createdeploymentgitsource8.md delete mode 100644 docs/models/operations/createdeploymentgitsource9.md delete mode 100644 docs/models/operations/createdeploymenthastype.md delete mode 100644 docs/models/operations/createdeploymentmicrofrontends.md delete mode 100644 docs/models/operations/createdeploymentprojectsettings.md delete mode 100644 docs/models/operations/createdeploymentreadystate.md delete mode 100644 docs/models/operations/createdeploymentrequest.md delete mode 100644 docs/models/operations/createdeploymentsource.md delete mode 100644 docs/models/operations/createdeploymentstatus.md delete mode 100644 docs/models/operations/createdeploymenttarget.md delete mode 100644 docs/models/operations/createdeploymenttype.md delete mode 100644 docs/models/operations/createdfrom.md delete mode 100644 docs/models/operations/createdtarget.md delete mode 100644 docs/models/operations/createdtype.md delete mode 100644 docs/models/operations/createedgeconfigpurpose.md delete mode 100644 docs/models/operations/createedgeconfigrequest.md delete mode 100644 docs/models/operations/createedgeconfigrequestbody.md delete mode 100644 docs/models/operations/createedgeconfigschema.md delete mode 100644 docs/models/operations/createedgeconfigtokenrequest.md delete mode 100644 docs/models/operations/createedgeconfigtype.md delete mode 100644 docs/models/operations/createeventevent.md delete mode 100644 docs/models/operations/createeventeventtype.md delete mode 100644 docs/models/operations/createeventrequest.md delete mode 100644 docs/models/operations/createeventrequestbody.md delete mode 100644 docs/models/operations/createlogdraincreatedfrom.md delete mode 100644 docs/models/operations/createlogdrainenvironments.md delete mode 100644 docs/models/operations/createlogdrainrequest.md delete mode 100644 docs/models/operations/createlogdrainresponsebody.md delete mode 100644 docs/models/operations/createortransferdomainrequestbody.md delete mode 100644 docs/models/operations/createortransferdomainresponsebody.md delete mode 100644 docs/models/operations/createprojectaction.md delete mode 100644 docs/models/operations/createprojectalgo.md delete mode 100644 docs/models/operations/createprojectbranchmatcher.md delete mode 100644 docs/models/operations/createprojectchecksstate.md delete mode 100644 docs/models/operations/createprojectcontenthint.md delete mode 100644 docs/models/operations/createprojectcontenthint1.md delete mode 100644 docs/models/operations/createprojectcontenthint10.md delete mode 100644 docs/models/operations/createprojectcontenthint2.md delete mode 100644 docs/models/operations/createprojectcontenthint3.md delete mode 100644 docs/models/operations/createprojectcontenthint4.md delete mode 100644 docs/models/operations/createprojectcontenthint5.md delete mode 100644 docs/models/operations/createprojectcontenthint6.md delete mode 100644 docs/models/operations/createprojectcontenthint7.md delete mode 100644 docs/models/operations/createprojectcontenthint8.md delete mode 100644 docs/models/operations/createprojectcontenthint9.md delete mode 100644 docs/models/operations/createprojectenv.md delete mode 100644 docs/models/operations/createprojectenv12.md delete mode 100644 docs/models/operations/createprojectenv1target.md delete mode 100644 docs/models/operations/createprojectenv1type.md delete mode 100644 docs/models/operations/createprojectenv2target.md delete mode 100644 docs/models/operations/createprojectenv2type.md delete mode 100644 docs/models/operations/createprojectenvcontenthint1.md delete mode 100644 docs/models/operations/createprojectenvcontenthint10.md delete mode 100644 docs/models/operations/createprojectenvcontenthint11.md delete mode 100644 docs/models/operations/createprojectenvcontenthint12.md delete mode 100644 docs/models/operations/createprojectenvcontenthint13.md delete mode 100644 docs/models/operations/createprojectenvcontenthint14.md delete mode 100644 docs/models/operations/createprojectenvcontenthint15.md delete mode 100644 docs/models/operations/createprojectenvcontenthint2.md delete mode 100644 docs/models/operations/createprojectenvcontenthint3.md delete mode 100644 docs/models/operations/createprojectenvcontenthint4.md delete mode 100644 docs/models/operations/createprojectenvcontenthint5.md delete mode 100644 docs/models/operations/createprojectenvcontenthint6.md delete mode 100644 docs/models/operations/createprojectenvcontenthint7.md delete mode 100644 docs/models/operations/createprojectenvcontenthint8.md delete mode 100644 docs/models/operations/createprojectenvcontenthint9.md delete mode 100644 docs/models/operations/createprojectenvcontenthintprojects1.md delete mode 100644 docs/models/operations/createprojectenvcontenthintprojects10.md delete mode 100644 docs/models/operations/createprojectenvcontenthintprojects11.md delete mode 100644 docs/models/operations/createprojectenvcontenthintprojects12.md delete mode 100644 docs/models/operations/createprojectenvcontenthintprojects13.md delete mode 100644 docs/models/operations/createprojectenvcontenthintprojects14.md delete mode 100644 docs/models/operations/createprojectenvcontenthintprojects15.md delete mode 100644 docs/models/operations/createprojectenvcontenthintprojects2.md delete mode 100644 docs/models/operations/createprojectenvcontenthintprojects3.md delete mode 100644 docs/models/operations/createprojectenvcontenthintprojects4.md delete mode 100644 docs/models/operations/createprojectenvcontenthintprojects5.md delete mode 100644 docs/models/operations/createprojectenvcontenthintprojects6.md delete mode 100644 docs/models/operations/createprojectenvcontenthintprojects7.md delete mode 100644 docs/models/operations/createprojectenvcontenthintprojects8.md delete mode 100644 docs/models/operations/createprojectenvcontenthintprojects9.md delete mode 100644 docs/models/operations/createprojectenvcreatedcontenthint.md delete mode 100644 docs/models/operations/createprojectenvcreatedinternalcontenthint.md delete mode 100644 docs/models/operations/createprojectenvcreatedtarget.md delete mode 100644 docs/models/operations/createprojectenvcreatedtype.md delete mode 100644 docs/models/operations/createprojectenverror.md delete mode 100644 docs/models/operations/createprojectenvrequestbody.md delete mode 100644 docs/models/operations/createprojectenvrequestbody1.md delete mode 100644 docs/models/operations/createprojectenvresponsebody.md delete mode 100644 docs/models/operations/createprojectenvtarget.md delete mode 100644 docs/models/operations/createprojectenvtarget1.md delete mode 100644 docs/models/operations/createprojectenvtarget2.md delete mode 100644 docs/models/operations/createprojectenvvalue.md delete mode 100644 docs/models/operations/createprojectenvvalue2.md delete mode 100644 docs/models/operations/createprojecterl.md delete mode 100644 docs/models/operations/createprojectfirewallroutes.md delete mode 100644 docs/models/operations/createprojecthandle.md delete mode 100644 docs/models/operations/createprojecthas.md delete mode 100644 docs/models/operations/createprojectinternalcontenthint.md delete mode 100644 docs/models/operations/createprojectissuermode.md delete mode 100644 docs/models/operations/createprojectjobstatus.md delete mode 100644 docs/models/operations/createprojectlastaliasrequest.md delete mode 100644 docs/models/operations/createprojectlatestdeployments.md delete mode 100644 docs/models/operations/createprojectlink.md delete mode 100644 docs/models/operations/createprojectlink3.md delete mode 100644 docs/models/operations/createprojectlinktype.md delete mode 100644 docs/models/operations/createprojectmissing.md delete mode 100644 docs/models/operations/createprojectmitigate.md delete mode 100644 docs/models/operations/createprojectnodeversion.md delete mode 100644 docs/models/operations/createprojectoidctokenconfig.md delete mode 100644 docs/models/operations/createprojectoptionsallowlist.md delete mode 100644 docs/models/operations/createprojectpermissions.md delete mode 100644 docs/models/operations/createprojectplan.md delete mode 100644 docs/models/operations/createprojectprojectsbranchmatcher.md delete mode 100644 docs/models/operations/createprojectprojectsplan.md delete mode 100644 docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md delete mode 100644 docs/models/operations/createprojectprojectsresponsetype.md delete mode 100644 docs/models/operations/createprojectprojectstarget.md delete mode 100644 docs/models/operations/createprojectprojectstype.md delete mode 100644 docs/models/operations/createprojectprojectsvalue.md delete mode 100644 docs/models/operations/createprojectprotectionbypass.md delete mode 100644 docs/models/operations/createprojectreadystate.md delete mode 100644 docs/models/operations/createprojectreadysubstate.md delete mode 100644 docs/models/operations/createprojectrequest.md delete mode 100644 docs/models/operations/createprojectresourceconfig.md delete mode 100644 docs/models/operations/createprojectresponsebody.md delete mode 100644 docs/models/operations/createprojectscope.md delete mode 100644 docs/models/operations/createprojectsecurity.md delete mode 100644 docs/models/operations/createprojectsrc.md delete mode 100644 docs/models/operations/createprojectssoprotection.md delete mode 100644 docs/models/operations/createprojecttarget.md delete mode 100644 docs/models/operations/createprojecttarget2.md delete mode 100644 docs/models/operations/createprojecttargets.md delete mode 100644 docs/models/operations/createprojecttier.md delete mode 100644 docs/models/operations/createprojecttrustedips.md delete mode 100644 docs/models/operations/createprojecttrustedips1.md delete mode 100644 docs/models/operations/createprojecttrustedips2.md delete mode 100644 docs/models/operations/createprojecttype.md delete mode 100644 docs/models/operations/createprojectvalue.md delete mode 100644 docs/models/operations/createrecordrequestbody.md delete mode 100644 docs/models/operations/createrecordresponsebody.md delete mode 100644 docs/models/operations/createwebhookrequest.md delete mode 100644 docs/models/operations/createwebhookrequestbody.md delete mode 100644 docs/models/operations/createwebhookresponsebody.md delete mode 100644 docs/models/operations/crs.md delete mode 100644 docs/models/operations/customenvironment.md delete mode 100644 docs/models/operations/customenvironment1.md delete mode 100644 docs/models/operations/customenvironments.md delete mode 100644 docs/models/operations/datacache.md delete mode 100644 docs/models/operations/deletealiasresponsebody.md delete mode 100644 docs/models/operations/deletealiasstatus.md delete mode 100644 docs/models/operations/deletedeploymentresponsebody.md delete mode 100644 docs/models/operations/deletedeploymentstate.md delete mode 100644 docs/models/operations/deleteedgeconfigtokensrequest.md delete mode 100644 docs/models/operations/deleteteamrequest.md delete mode 100644 docs/models/operations/deliveryformat.md delete mode 100644 docs/models/operations/direction.md delete mode 100644 docs/models/operations/disabledreason.md delete mode 100644 docs/models/operations/editprojectenvcontenthint1.md delete mode 100644 docs/models/operations/editprojectenvcontenthint10.md delete mode 100644 docs/models/operations/editprojectenvcontenthint11.md delete mode 100644 docs/models/operations/editprojectenvcontenthint12.md delete mode 100644 docs/models/operations/editprojectenvcontenthint13.md delete mode 100644 docs/models/operations/editprojectenvcontenthint14.md delete mode 100644 docs/models/operations/editprojectenvcontenthint15.md delete mode 100644 docs/models/operations/editprojectenvcontenthint2.md delete mode 100644 docs/models/operations/editprojectenvcontenthint3.md delete mode 100644 docs/models/operations/editprojectenvcontenthint4.md delete mode 100644 docs/models/operations/editprojectenvcontenthint5.md delete mode 100644 docs/models/operations/editprojectenvcontenthint6.md delete mode 100644 docs/models/operations/editprojectenvcontenthint7.md delete mode 100644 docs/models/operations/editprojectenvcontenthint8.md delete mode 100644 docs/models/operations/editprojectenvcontenthint9.md delete mode 100644 docs/models/operations/editprojectenvrequest.md delete mode 100644 docs/models/operations/editprojectenvrequestbody.md delete mode 100644 docs/models/operations/editprojectenvresponsebody.md delete mode 100644 docs/models/operations/editprojectenvresponsebody1.md delete mode 100644 docs/models/operations/editprojectenvresponsebodycontenthint.md delete mode 100644 docs/models/operations/editprojectenvresponsebodytarget.md delete mode 100644 docs/models/operations/editprojectenvresponsebodytype.md delete mode 100644 docs/models/operations/editprojectenvtarget.md delete mode 100644 docs/models/operations/editprojectenvtarget2.md delete mode 100644 docs/models/operations/editprojectenvtype.md delete mode 100644 docs/models/operations/eight.md delete mode 100644 docs/models/operations/eleven.md delete mode 100644 docs/models/operations/emailinvitecodes.md delete mode 100644 docs/models/operations/entitlements.md delete mode 100644 docs/models/operations/env.md delete mode 100644 docs/models/operations/environments.md delete mode 100644 docs/models/operations/envs.md delete mode 100644 docs/models/operations/erl.md delete mode 100644 docs/models/operations/errort.md delete mode 100644 docs/models/operations/event1.md delete mode 100644 docs/models/operations/event2.md delete mode 100644 docs/models/operations/eventtype.md delete mode 100644 docs/models/operations/failed.md delete mode 100644 docs/models/operations/fcp.md delete mode 100644 docs/models/operations/fifteen.md delete mode 100644 docs/models/operations/files.md delete mode 100644 docs/models/operations/filterprojectenvscontenthint1.md delete mode 100644 docs/models/operations/filterprojectenvscontenthint10.md delete mode 100644 docs/models/operations/filterprojectenvscontenthint11.md delete mode 100644 docs/models/operations/filterprojectenvscontenthint12.md delete mode 100644 docs/models/operations/filterprojectenvscontenthint13.md delete mode 100644 docs/models/operations/filterprojectenvscontenthint14.md delete mode 100644 docs/models/operations/filterprojectenvscontenthint15.md delete mode 100644 docs/models/operations/filterprojectenvscontenthint2.md delete mode 100644 docs/models/operations/filterprojectenvscontenthint3.md delete mode 100644 docs/models/operations/filterprojectenvscontenthint4.md delete mode 100644 docs/models/operations/filterprojectenvscontenthint5.md delete mode 100644 docs/models/operations/filterprojectenvscontenthint6.md delete mode 100644 docs/models/operations/filterprojectenvscontenthint7.md delete mode 100644 docs/models/operations/filterprojectenvscontenthint8.md delete mode 100644 docs/models/operations/filterprojectenvscontenthint9.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojects1.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojects10.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojects11.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojects12.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojects13.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojects14.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojects15.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojects2.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojects3.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojects4.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojects5.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojects6.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojects7.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojects8.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojects9.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojectsresponse1.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojectsresponse10.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojectsresponse11.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojectsresponse12.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojectsresponse13.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojectsresponse14.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojectsresponse15.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojectsresponse2.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojectsresponse3.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojectsresponse4.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojectsresponse5.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojectsresponse6.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojectsresponse7.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojectsresponse8.md delete mode 100644 docs/models/operations/filterprojectenvscontenthintprojectsresponse9.md delete mode 100644 docs/models/operations/filterprojectenvsresponsebody.md delete mode 100644 docs/models/operations/filterprojectenvsresponsebody1.md delete mode 100644 docs/models/operations/filterprojectenvsresponsebody3.md delete mode 100644 docs/models/operations/filterprojectenvsresponsebodycontenthint.md delete mode 100644 docs/models/operations/filterprojectenvsresponsebodyinternalcontenthint.md delete mode 100644 docs/models/operations/filterprojectenvsresponsebodyprojectscontenthint.md delete mode 100644 docs/models/operations/filterprojectenvsresponsebodyprojectsinternalcontenthint.md delete mode 100644 docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200type.md delete mode 100644 docs/models/operations/filterprojectenvsresponsebodyprojectsresponsetarget.md delete mode 100644 docs/models/operations/filterprojectenvsresponsebodyprojectsresponsetype.md delete mode 100644 docs/models/operations/filterprojectenvsresponsebodyprojectstarget.md delete mode 100644 docs/models/operations/filterprojectenvsresponsebodytarget.md delete mode 100644 docs/models/operations/filterprojectenvsresponsebodytype.md delete mode 100644 docs/models/operations/filterprojectenvstarget1.md delete mode 100644 docs/models/operations/filterprojectenvstarget2.md delete mode 100644 docs/models/operations/firewallroutes.md delete mode 100644 docs/models/operations/five.md delete mode 100644 docs/models/operations/flags.md delete mode 100644 docs/models/operations/flags1.md delete mode 100644 docs/models/operations/flagsdefinitions.md delete mode 100644 docs/models/operations/flagsoptions.md delete mode 100644 docs/models/operations/forcenew.md delete mode 100644 docs/models/operations/four.md delete mode 100644 docs/models/operations/fourteen.md delete mode 100644 docs/models/operations/functiondefaultmemorytype.md delete mode 100644 docs/models/operations/gen.md delete mode 100644 docs/models/operations/getaccountinforesponsebody.md delete mode 100644 docs/models/operations/getaliasprotectionbypass.md delete mode 100644 docs/models/operations/getallcheckscheckssource.md delete mode 100644 docs/models/operations/getallcheckscls.md delete mode 100644 docs/models/operations/getallchecksconclusion.md delete mode 100644 docs/models/operations/getallchecksfcp.md delete mode 100644 docs/models/operations/getallcheckslcp.md delete mode 100644 docs/models/operations/getallchecksmetrics.md delete mode 100644 docs/models/operations/getallchecksoutput.md delete mode 100644 docs/models/operations/getallchecksresponsebody.md delete mode 100644 docs/models/operations/getallcheckssource.md delete mode 100644 docs/models/operations/getallchecksstatus.md delete mode 100644 docs/models/operations/getallcheckstbt.md delete mode 100644 docs/models/operations/getallchecksvirtualexperiencescore.md delete mode 100644 docs/models/operations/getalllogdrainscreatedfrom.md delete mode 100644 docs/models/operations/getalllogdrainsdeliveryformat.md delete mode 100644 docs/models/operations/getalllogdrainsdisabledreason.md delete mode 100644 docs/models/operations/getalllogdrainsresponsebody.md delete mode 100644 docs/models/operations/getalllogdrainssources.md delete mode 100644 docs/models/operations/getalllogdrainsstatus.md delete mode 100644 docs/models/operations/getauthtokenresponsebody.md delete mode 100644 docs/models/operations/getauthuserresponsebody.md delete mode 100644 docs/models/operations/getcheckcheckssource.md delete mode 100644 docs/models/operations/getcheckcls.md delete mode 100644 docs/models/operations/getcheckconclusion.md delete mode 100644 docs/models/operations/getcheckfcp.md delete mode 100644 docs/models/operations/getchecklcp.md delete mode 100644 docs/models/operations/getcheckmetrics.md delete mode 100644 docs/models/operations/getcheckoutput.md delete mode 100644 docs/models/operations/getcheckresponsebody.md delete mode 100644 docs/models/operations/getchecksource.md delete mode 100644 docs/models/operations/getcheckstatus.md delete mode 100644 docs/models/operations/getchecktbt.md delete mode 100644 docs/models/operations/getcheckvirtualexperiencescore.md delete mode 100644 docs/models/operations/getconfigurablelogdrainenvironments.md delete mode 100644 docs/models/operations/getconfigurablelogdrainresponsebody.md delete mode 100644 docs/models/operations/getconfigurablelogdrainsources.md delete mode 100644 docs/models/operations/getconfigurablelogdrainstatus.md delete mode 100644 docs/models/operations/getconfigurationresponsebodybillingplan.md delete mode 100644 docs/models/operations/getconfigurationresponsebodydisabledreason.md delete mode 100644 docs/models/operations/getconfigurationresponsebodyscope.md delete mode 100644 docs/models/operations/getconfigurationsrequest.md delete mode 100644 docs/models/operations/getdeploymentflags1.md delete mode 100644 docs/models/operations/getdeploymentflagsdefinitions.md delete mode 100644 docs/models/operations/getdeploymentflagsoptions.md delete mode 100644 docs/models/operations/getdeploymentgitrepo1.md delete mode 100644 docs/models/operations/getdeploymentgitrepo2.md delete mode 100644 docs/models/operations/getdeploymentgitrepo3.md delete mode 100644 docs/models/operations/getdeploymentgitrepotype.md delete mode 100644 docs/models/operations/getdeploymentgitsource1.md delete mode 100644 docs/models/operations/getdeploymentgitsource2.md delete mode 100644 docs/models/operations/getdeploymentgitsource3.md delete mode 100644 docs/models/operations/getdeploymentgitsource4.md delete mode 100644 docs/models/operations/getdeploymentgitsource5.md delete mode 100644 docs/models/operations/getdeploymentgitsource6.md delete mode 100644 docs/models/operations/getdeploymentgitsource7.md delete mode 100644 docs/models/operations/getdeploymentgitsource8.md delete mode 100644 docs/models/operations/getdeploymentgitsource9.md delete mode 100644 docs/models/operations/getdeploymentgitsourcedeployments1.md delete mode 100644 docs/models/operations/getdeploymentgitsourcedeployments2.md delete mode 100644 docs/models/operations/getdeploymentgitsourcedeployments3.md delete mode 100644 docs/models/operations/getdeploymentgitsourcedeployments4.md delete mode 100644 docs/models/operations/getdeploymentgitsourcedeployments5.md delete mode 100644 docs/models/operations/getdeploymentgitsourcedeployments6.md delete mode 100644 docs/models/operations/getdeploymentgitsourcedeployments7.md delete mode 100644 docs/models/operations/getdeploymentgitsourcedeployments8.md delete mode 100644 docs/models/operations/getdeploymentgitsourcedeployments9.md delete mode 100644 docs/models/operations/getdeploymentgitsourcetype.md delete mode 100644 docs/models/operations/getdeploymenthas1.md delete mode 100644 docs/models/operations/getdeploymenthas2.md delete mode 100644 docs/models/operations/getdeploymenthastype.md delete mode 100644 docs/models/operations/getdeploymentmissing1.md delete mode 100644 docs/models/operations/getdeploymentmissing2.md delete mode 100644 docs/models/operations/getdeploymentmissingtype.md delete mode 100644 docs/models/operations/getdeploymentresponsebodycustomenvironment.md delete mode 100644 docs/models/operations/getdeploymentresponsebodygitsource.md delete mode 100644 docs/models/operations/getdeploymentresponsebodylambdas.md delete mode 100644 docs/models/operations/getdeploymentroutes2.md delete mode 100644 docs/models/operations/getdeploymentrouteshandle.md delete mode 100644 docs/models/operations/getdeploymentrouteshas.md delete mode 100644 docs/models/operations/getdeploymentroutesmissing.md delete mode 100644 docs/models/operations/getdeploymentschecksstate.md delete mode 100644 docs/models/operations/getdeploymentsnodeversion.md delete mode 100644 docs/models/operations/getdeploymentsprojectsettings.md delete mode 100644 docs/models/operations/getdeploymentsreadystate.md delete mode 100644 docs/models/operations/getdeploymentsstate.md delete mode 100644 docs/models/operations/getdeploymentstarget.md delete mode 100644 docs/models/operations/getdeploymentstype.md delete mode 100644 docs/models/operations/getdomainresponsebody.md delete mode 100644 docs/models/operations/getedgeconfigbackupresponsebody.md delete mode 100644 docs/models/operations/getedgeconfigbackupresponsebody1.md delete mode 100644 docs/models/operations/getedgeconfigbackupresponsebody2.md delete mode 100644 docs/models/operations/getedgeconfigbackupresponsebodyitems.md delete mode 100644 docs/models/operations/getedgeconfigbackupsresponsebody.md delete mode 100644 docs/models/operations/getedgeconfigpurpose.md delete mode 100644 docs/models/operations/getedgeconfigschema.md delete mode 100644 docs/models/operations/getedgeconfigstype.md delete mode 100644 docs/models/operations/getedgeconfigtype.md delete mode 100644 docs/models/operations/getfirewallconfigaction.md delete mode 100644 docs/models/operations/getfirewallconfigalgo.md delete mode 100644 docs/models/operations/getfirewallconfigconditiongroup.md delete mode 100644 docs/models/operations/getfirewallconfigconditions.md delete mode 100644 docs/models/operations/getfirewallconfigcrs.md delete mode 100644 docs/models/operations/getfirewallconfiggen.md delete mode 100644 docs/models/operations/getfirewallconfigips.md delete mode 100644 docs/models/operations/getfirewallconfigjava.md delete mode 100644 docs/models/operations/getfirewallconfiglfi.md delete mode 100644 docs/models/operations/getfirewallconfigma.md delete mode 100644 docs/models/operations/getfirewallconfigmanagedrules.md delete mode 100644 docs/models/operations/getfirewallconfigmitigate.md delete mode 100644 docs/models/operations/getfirewallconfigop.md delete mode 100644 docs/models/operations/getfirewallconfigphp.md delete mode 100644 docs/models/operations/getfirewallconfigratelimit.md delete mode 100644 docs/models/operations/getfirewallconfigrce.md delete mode 100644 docs/models/operations/getfirewallconfigresponsebody.md delete mode 100644 docs/models/operations/getfirewallconfigrfi.md delete mode 100644 docs/models/operations/getfirewallconfigrules.md delete mode 100644 docs/models/operations/getfirewallconfigsd.md delete mode 100644 docs/models/operations/getfirewallconfigsecurityresponse200action.md delete mode 100644 docs/models/operations/getfirewallconfigsf.md delete mode 100644 docs/models/operations/getfirewallconfigsqli.md delete mode 100644 docs/models/operations/getfirewallconfigtype.md delete mode 100644 docs/models/operations/getfirewallconfigxss.md delete mode 100644 docs/models/operations/getintegrationlogdrainsresponsebody.md delete mode 100644 docs/models/operations/getinvoiceresponsebody.md delete mode 100644 docs/models/operations/getmemberresponsebody.md delete mode 100644 docs/models/operations/getmemberrole.md delete mode 100644 docs/models/operations/getprojectenvcontenthint1.md delete mode 100644 docs/models/operations/getprojectenvcontenthint10.md delete mode 100644 docs/models/operations/getprojectenvcontenthint11.md delete mode 100644 docs/models/operations/getprojectenvcontenthint12.md delete mode 100644 docs/models/operations/getprojectenvcontenthint13.md delete mode 100644 docs/models/operations/getprojectenvcontenthint14.md delete mode 100644 docs/models/operations/getprojectenvcontenthint15.md delete mode 100644 docs/models/operations/getprojectenvcontenthint2.md delete mode 100644 docs/models/operations/getprojectenvcontenthint3.md delete mode 100644 docs/models/operations/getprojectenvcontenthint4.md delete mode 100644 docs/models/operations/getprojectenvcontenthint5.md delete mode 100644 docs/models/operations/getprojectenvcontenthint6.md delete mode 100644 docs/models/operations/getprojectenvcontenthint7.md delete mode 100644 docs/models/operations/getprojectenvcontenthint8.md delete mode 100644 docs/models/operations/getprojectenvcontenthint9.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojects1.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojects10.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojects11.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojects12.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojects13.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojects14.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojects15.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojects2.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojects3.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojects4.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojects5.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojects6.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojects7.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojects8.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojects9.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojectsresponse1.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojectsresponse10.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojectsresponse11.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojectsresponse12.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojectsresponse13.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojectsresponse14.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojectsresponse15.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojectsresponse2.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojectsresponse3.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojectsresponse4.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojectsresponse5.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojectsresponse6.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojectsresponse7.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojectsresponse8.md delete mode 100644 docs/models/operations/getprojectenvcontenthintprojectsresponse9.md delete mode 100644 docs/models/operations/getprojectenvresponsebody.md delete mode 100644 docs/models/operations/getprojectenvresponsebody1.md delete mode 100644 docs/models/operations/getprojectenvresponsebody2.md delete mode 100644 docs/models/operations/getprojectenvresponsebody3.md delete mode 100644 docs/models/operations/getprojectenvresponsebodycontenthint.md delete mode 100644 docs/models/operations/getprojectenvresponsebodyinternalcontenthint.md delete mode 100644 docs/models/operations/getprojectenvresponsebodyprojectscontenthint.md delete mode 100644 docs/models/operations/getprojectenvresponsebodyprojectsinternalcontenthint.md delete mode 100644 docs/models/operations/getprojectenvresponsebodyprojectsresponsecontenthint.md delete mode 100644 docs/models/operations/getprojectenvresponsebodyprojectsresponseinternalcontenthint.md delete mode 100644 docs/models/operations/getprojectenvresponsebodyprojectsresponsetarget.md delete mode 100644 docs/models/operations/getprojectenvresponsebodyprojectstarget.md delete mode 100644 docs/models/operations/getprojectenvresponsebodytarget.md delete mode 100644 docs/models/operations/getprojectenvtarget1.md delete mode 100644 docs/models/operations/getprojectenvtarget2.md delete mode 100644 docs/models/operations/getprojectmembersresponsebody.md delete mode 100644 docs/models/operations/getprojectmembersresponsebody2.md delete mode 100644 docs/models/operations/getprojectsaction.md delete mode 100644 docs/models/operations/getprojectsalgo.md delete mode 100644 docs/models/operations/getprojectsbranchmatcher.md delete mode 100644 docs/models/operations/getprojectschecksconclusion.md delete mode 100644 docs/models/operations/getprojectschecksstate.md delete mode 100644 docs/models/operations/getprojectscontenthint.md delete mode 100644 docs/models/operations/getprojectscontenthint1.md delete mode 100644 docs/models/operations/getprojectscontenthint10.md delete mode 100644 docs/models/operations/getprojectscontenthint11.md delete mode 100644 docs/models/operations/getprojectscontenthint12.md delete mode 100644 docs/models/operations/getprojectscontenthint13.md delete mode 100644 docs/models/operations/getprojectscontenthint14.md delete mode 100644 docs/models/operations/getprojectscontenthint15.md delete mode 100644 docs/models/operations/getprojectscontenthint2.md delete mode 100644 docs/models/operations/getprojectscontenthint3.md delete mode 100644 docs/models/operations/getprojectscontenthint4.md delete mode 100644 docs/models/operations/getprojectscontenthint5.md delete mode 100644 docs/models/operations/getprojectscontenthint6.md delete mode 100644 docs/models/operations/getprojectscontenthint7.md delete mode 100644 docs/models/operations/getprojectscontenthint8.md delete mode 100644 docs/models/operations/getprojectscontenthint9.md delete mode 100644 docs/models/operations/getprojectscontenthinttype.md delete mode 100644 docs/models/operations/getprojectsdeploymenttype.md delete mode 100644 docs/models/operations/getprojectsenv.md delete mode 100644 docs/models/operations/getprojectserl.md delete mode 100644 docs/models/operations/getprojectsfirewallroutes.md delete mode 100644 docs/models/operations/getprojectsfunctiondefaultmemorytype.md delete mode 100644 docs/models/operations/getprojectshandle.md delete mode 100644 docs/models/operations/getprojectshas.md delete mode 100644 docs/models/operations/getprojectsinternalcontenthint.md delete mode 100644 docs/models/operations/getprojectsissuermode.md delete mode 100644 docs/models/operations/getprojectsjobstatus.md delete mode 100644 docs/models/operations/getprojectslastaliasrequest.md delete mode 100644 docs/models/operations/getprojectslatestdeployments.md delete mode 100644 docs/models/operations/getprojectslink.md delete mode 100644 docs/models/operations/getprojectslink3.md delete mode 100644 docs/models/operations/getprojectslinktype.md delete mode 100644 docs/models/operations/getprojectsmissing.md delete mode 100644 docs/models/operations/getprojectsmitigate.md delete mode 100644 docs/models/operations/getprojectsnodeversion.md delete mode 100644 docs/models/operations/getprojectsoidctokenconfig.md delete mode 100644 docs/models/operations/getprojectsoptionsallowlist.md delete mode 100644 docs/models/operations/getprojectspermissions.md delete mode 100644 docs/models/operations/getprojectsplan.md delete mode 100644 docs/models/operations/getprojectsprojects.md delete mode 100644 docs/models/operations/getprojectsprojectsbranchmatcher.md delete mode 100644 docs/models/operations/getprojectsprojectschecksconclusion.md delete mode 100644 docs/models/operations/getprojectsprojectschecksstate.md delete mode 100644 docs/models/operations/getprojectsprojectsplan.md delete mode 100644 docs/models/operations/getprojectsprojectsreadystate.md delete mode 100644 docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecuritytype.md delete mode 100644 docs/models/operations/getprojectsprojectstype.md delete mode 100644 docs/models/operations/getprojectsprojectsvalue.md delete mode 100644 docs/models/operations/getprojectsprotectionbypass.md delete mode 100644 docs/models/operations/getprojectsreadystate.md delete mode 100644 docs/models/operations/getprojectsreadysubstate.md delete mode 100644 docs/models/operations/getprojectsresourceconfig.md delete mode 100644 docs/models/operations/getprojectsscope.md delete mode 100644 docs/models/operations/getprojectssecurity.md delete mode 100644 docs/models/operations/getprojectssrc.md delete mode 100644 docs/models/operations/getprojectsssoprotection.md delete mode 100644 docs/models/operations/getprojectstarget.md delete mode 100644 docs/models/operations/getprojectstarget1.md delete mode 100644 docs/models/operations/getprojectstarget2.md delete mode 100644 docs/models/operations/getprojectstargets.md delete mode 100644 docs/models/operations/getprojectstier.md delete mode 100644 docs/models/operations/getprojectstrustedips.md delete mode 100644 docs/models/operations/getprojectstrustedips1.md delete mode 100644 docs/models/operations/getprojectstrustedips2.md delete mode 100644 docs/models/operations/getprojectstype.md delete mode 100644 docs/models/operations/getprojectsvalue.md delete mode 100644 docs/models/operations/getrecordsresponsebody.md delete mode 100644 docs/models/operations/getrecordsresponsebody2.md delete mode 100644 docs/models/operations/getrecordsresponsebodytype.md delete mode 100644 docs/models/operations/getteamaccessrequestjoinedfrom.md delete mode 100644 docs/models/operations/getteamaccessrequestorigin.md delete mode 100644 docs/models/operations/getteamaccessrequestresponsebody.md delete mode 100644 docs/models/operations/getteammembersjoinedfrom.md delete mode 100644 docs/models/operations/getteammembersmembers.md delete mode 100644 docs/models/operations/getteammembersorigin.md delete mode 100644 docs/models/operations/getteammembersprojects.md delete mode 100644 docs/models/operations/getteammembersresponsebody.md delete mode 100644 docs/models/operations/getteammembersrole.md delete mode 100644 docs/models/operations/getteammembersteamsprojects.md delete mode 100644 docs/models/operations/getteammembersteamsresponserole.md delete mode 100644 docs/models/operations/getteammembersteamsrole.md delete mode 100644 docs/models/operations/getteamsresponsebody.md delete mode 100644 docs/models/operations/getwebhooksresponsebody1.md delete mode 100644 docs/models/operations/getwebhooksresponsebody2.md delete mode 100644 docs/models/operations/gitaccount.md delete mode 100644 docs/models/operations/gitforkprotection.md delete mode 100644 docs/models/operations/gitnamespacesresponsebody.md delete mode 100644 docs/models/operations/gitrepo1.md delete mode 100644 docs/models/operations/gitrepo2.md delete mode 100644 docs/models/operations/gitrepo3.md delete mode 100644 docs/models/operations/gitrepoownertype.md delete mode 100644 docs/models/operations/gitrepository.md delete mode 100644 docs/models/operations/gitrepotype.md delete mode 100644 docs/models/operations/gitsource.md delete mode 100644 docs/models/operations/gitsource1.md delete mode 100644 docs/models/operations/gitsource2.md delete mode 100644 docs/models/operations/gitsource3.md delete mode 100644 docs/models/operations/gitsource4.md delete mode 100644 docs/models/operations/gitsource5.md delete mode 100644 docs/models/operations/gitsource6.md delete mode 100644 docs/models/operations/gitsource7.md delete mode 100644 docs/models/operations/gitsource8.md delete mode 100644 docs/models/operations/gitsource9.md delete mode 100644 docs/models/operations/gitsourcetype.md delete mode 100644 docs/models/operations/gituserid.md delete mode 100644 docs/models/operations/handle.md delete mode 100644 docs/models/operations/has.md delete mode 100644 docs/models/operations/has1.md delete mode 100644 docs/models/operations/has2.md delete mode 100644 docs/models/operations/hastype.md delete mode 100644 docs/models/operations/id.md delete mode 100644 docs/models/operations/installationtype.md delete mode 100644 docs/models/operations/integrations.md delete mode 100644 docs/models/operations/internalcontenthint.md delete mode 100644 docs/models/operations/inviteusertoteamprojects.md delete mode 100644 docs/models/operations/inviteusertoteamrequest.md delete mode 100644 docs/models/operations/inviteusertoteamrequestbody.md delete mode 100644 docs/models/operations/inviteusertoteamresponsebody.md delete mode 100644 docs/models/operations/inviteusertoteamresponsebody2.md delete mode 100644 docs/models/operations/inviteusertoteamresponsebodyrole.md delete mode 100644 docs/models/operations/inviteusertoteamrole.md delete mode 100644 docs/models/operations/inviteusertoteamteamsrole.md delete mode 100644 docs/models/operations/ips.md delete mode 100644 docs/models/operations/issuecertrequest.md delete mode 100644 docs/models/operations/issuermode.md delete mode 100644 docs/models/operations/items.md delete mode 100644 docs/models/operations/java.md delete mode 100644 docs/models/operations/jobstatus.md delete mode 100644 docs/models/operations/joinedfrom.md delete mode 100644 docs/models/operations/jointeamrequest.md delete mode 100644 docs/models/operations/lambdas.md delete mode 100644 docs/models/operations/lastaliasrequest.md delete mode 100644 docs/models/operations/lastrollbacktarget.md delete mode 100644 docs/models/operations/latestdeployments.md delete mode 100644 docs/models/operations/lcp.md delete mode 100644 docs/models/operations/lfi.md delete mode 100644 docs/models/operations/link3.md delete mode 100644 docs/models/operations/linktype.md delete mode 100644 docs/models/operations/listaccessgroupmembersresponsebody.md delete mode 100644 docs/models/operations/listaccessgroupprojectsprojects.md delete mode 100644 docs/models/operations/listaccessgroupprojectsresponsebody.md delete mode 100644 docs/models/operations/listaccessgroupsresponsebody.md delete mode 100644 docs/models/operations/listaccessgroupsresponsebody2.md delete mode 100644 docs/models/operations/listaliasesprotectionbypass.md delete mode 100644 docs/models/operations/listaliasesprotectionbypass1.md delete mode 100644 docs/models/operations/listaliasesprotectionbypass2.md delete mode 100644 docs/models/operations/listaliasesprotectionbypass3.md delete mode 100644 docs/models/operations/listaliasesprotectionbypass4.md delete mode 100644 docs/models/operations/listdeploymentaliasesprotectionbypass.md delete mode 100644 docs/models/operations/listdeploymentaliasesprotectionbypass1.md delete mode 100644 docs/models/operations/listdeploymentaliasesprotectionbypass2.md delete mode 100644 docs/models/operations/listdeploymentaliasesprotectionbypass3.md delete mode 100644 docs/models/operations/listdeploymentaliasesprotectionbypass4.md delete mode 100644 docs/models/operations/listdeploymentaliasesresponsebody.md delete mode 100644 docs/models/operations/listpromotealiasesresponsebody.md delete mode 100644 docs/models/operations/listusereventsresponsebody.md delete mode 100644 docs/models/operations/ma.md delete mode 100644 docs/models/operations/managedrules.md delete mode 100644 docs/models/operations/members.md delete mode 100644 docs/models/operations/metrics.md delete mode 100644 docs/models/operations/missing.md delete mode 100644 docs/models/operations/missing1.md delete mode 100644 docs/models/operations/missing2.md delete mode 100644 docs/models/operations/missingtype.md delete mode 100644 docs/models/operations/mitigate.md delete mode 100644 docs/models/operations/nine.md delete mode 100644 docs/models/operations/one.md delete mode 100644 docs/models/operations/one5.md delete mode 100644 docs/models/operations/onetarget.md delete mode 100644 docs/models/operations/onetype.md delete mode 100644 docs/models/operations/op.md delete mode 100644 docs/models/operations/options.md delete mode 100644 docs/models/operations/optionsallowlist.md delete mode 100644 docs/models/operations/order.md delete mode 100644 docs/models/operations/origin.md delete mode 100644 docs/models/operations/output.md delete mode 100644 docs/models/operations/owner.md delete mode 100644 docs/models/operations/ownertype.md delete mode 100644 docs/models/operations/pagination.md delete mode 100644 docs/models/operations/patchdomainrequestbody.md delete mode 100644 docs/models/operations/patchdomainresponsebody.md delete mode 100644 docs/models/operations/patchedgeconfigschemarequest.md delete mode 100644 docs/models/operations/patchteamrequest.md delete mode 100644 docs/models/operations/permissions.md delete mode 100644 docs/models/operations/php.md delete mode 100644 docs/models/operations/plan.md delete mode 100644 docs/models/operations/production.md delete mode 100644 docs/models/operations/projectselection.md delete mode 100644 docs/models/operations/projectsmetadata.md delete mode 100644 docs/models/operations/protectionbypass.md delete mode 100644 docs/models/operations/protectionbypass1.md delete mode 100644 docs/models/operations/protectionbypass2.md delete mode 100644 docs/models/operations/protectionbypass3.md delete mode 100644 docs/models/operations/protectionbypass4.md delete mode 100644 docs/models/operations/protectionbypassaccess.md delete mode 100644 docs/models/operations/protectionbypassscope.md delete mode 100644 docs/models/operations/provider.md delete mode 100644 docs/models/operations/purpose.md delete mode 100644 docs/models/operations/putfirewallconfigaction.md delete mode 100644 docs/models/operations/putfirewallconfigalgo.md delete mode 100644 docs/models/operations/putfirewallconfigchanges.md delete mode 100644 docs/models/operations/putfirewallconfigconditiongroup.md delete mode 100644 docs/models/operations/putfirewallconfigconditions.md delete mode 100644 docs/models/operations/putfirewallconfigcrs.md delete mode 100644 docs/models/operations/putfirewallconfiggen.md delete mode 100644 docs/models/operations/putfirewallconfigips.md delete mode 100644 docs/models/operations/putfirewallconfigjava.md delete mode 100644 docs/models/operations/putfirewallconfiglfi.md delete mode 100644 docs/models/operations/putfirewallconfigma.md delete mode 100644 docs/models/operations/putfirewallconfigmanagedrules.md delete mode 100644 docs/models/operations/putfirewallconfigmitigate.md delete mode 100644 docs/models/operations/putfirewallconfigop.md delete mode 100644 docs/models/operations/putfirewallconfigphp.md delete mode 100644 docs/models/operations/putfirewallconfigratelimit.md delete mode 100644 docs/models/operations/putfirewallconfigrce.md delete mode 100644 docs/models/operations/putfirewallconfigrequest.md delete mode 100644 docs/models/operations/putfirewallconfigrequestbody.md delete mode 100644 docs/models/operations/putfirewallconfigresponsebody.md delete mode 100644 docs/models/operations/putfirewallconfigrfi.md delete mode 100644 docs/models/operations/putfirewallconfigrules.md delete mode 100644 docs/models/operations/putfirewallconfigsd.md delete mode 100644 docs/models/operations/putfirewallconfigsecurityrequestrequestbodyrulesaction.md delete mode 100644 docs/models/operations/putfirewallconfigsecurityresponse200action.md delete mode 100644 docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md delete mode 100644 docs/models/operations/putfirewallconfigsecurityresponseaction.md delete mode 100644 docs/models/operations/putfirewallconfigsecuritytype.md delete mode 100644 docs/models/operations/putfirewallconfigsf.md delete mode 100644 docs/models/operations/putfirewallconfigsqli.md delete mode 100644 docs/models/operations/putfirewallconfigtype.md delete mode 100644 docs/models/operations/putfirewallconfigxss.md delete mode 100644 docs/models/operations/queryparamprovider.md delete mode 100644 docs/models/operations/queryparamrole.md delete mode 100644 docs/models/operations/queryparamtarget.md delete mode 100644 docs/models/operations/queryparamtype.md delete mode 100644 docs/models/operations/ratelimit.md delete mode 100644 docs/models/operations/ratelimit1.md delete mode 100644 docs/models/operations/ratelimitaction.md delete mode 100644 docs/models/operations/ratelimitalgo.md delete mode 100644 docs/models/operations/rce.md delete mode 100644 docs/models/operations/readaccessgroupprojectresponsebody.md delete mode 100644 docs/models/operations/readaccessgroupprojectrole.md delete mode 100644 docs/models/operations/readaccessgroupresponsebody.md delete mode 100644 docs/models/operations/readystate.md delete mode 100644 docs/models/operations/records.md delete mode 100644 docs/models/operations/recordtype.md delete mode 100644 docs/models/operations/redirect.md delete mode 100644 docs/models/operations/redirects.md delete mode 100644 docs/models/operations/redirectstatuscode.md delete mode 100644 docs/models/operations/remotecaching.md delete mode 100644 docs/models/operations/removecertresponsebody.md delete mode 100644 docs/models/operations/removeprojectenvcontenthint1.md delete mode 100644 docs/models/operations/removeprojectenvcontenthint10.md delete mode 100644 docs/models/operations/removeprojectenvcontenthint11.md delete mode 100644 docs/models/operations/removeprojectenvcontenthint12.md delete mode 100644 docs/models/operations/removeprojectenvcontenthint13.md delete mode 100644 docs/models/operations/removeprojectenvcontenthint14.md delete mode 100644 docs/models/operations/removeprojectenvcontenthint15.md delete mode 100644 docs/models/operations/removeprojectenvcontenthint2.md delete mode 100644 docs/models/operations/removeprojectenvcontenthint3.md delete mode 100644 docs/models/operations/removeprojectenvcontenthint4.md delete mode 100644 docs/models/operations/removeprojectenvcontenthint5.md delete mode 100644 docs/models/operations/removeprojectenvcontenthint6.md delete mode 100644 docs/models/operations/removeprojectenvcontenthint7.md delete mode 100644 docs/models/operations/removeprojectenvcontenthint8.md delete mode 100644 docs/models/operations/removeprojectenvcontenthint9.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojects1.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojects10.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojects11.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojects12.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojects13.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojects14.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojects15.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojects2.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojects3.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojects4.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojects5.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojects6.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojects7.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojects8.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojects9.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojectsresponse1.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojectsresponse10.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojectsresponse11.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojectsresponse12.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojectsresponse13.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojectsresponse14.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojectsresponse15.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojectsresponse2.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojectsresponse3.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojectsresponse4.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojectsresponse5.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojectsresponse6.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojectsresponse7.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojectsresponse8.md delete mode 100644 docs/models/operations/removeprojectenvcontenthintprojectsresponse9.md delete mode 100644 docs/models/operations/removeprojectenvresponsebody.md delete mode 100644 docs/models/operations/removeprojectenvresponsebody1.md delete mode 100644 docs/models/operations/removeprojectenvresponsebody2.md delete mode 100644 docs/models/operations/removeprojectenvresponsebody3.md delete mode 100644 docs/models/operations/removeprojectenvresponsebodycontenthint.md delete mode 100644 docs/models/operations/removeprojectenvresponsebodyinternalcontenthint.md delete mode 100644 docs/models/operations/removeprojectenvresponsebodyprojectscontenthint.md delete mode 100644 docs/models/operations/removeprojectenvresponsebodyprojectsinternalcontenthint.md delete mode 100644 docs/models/operations/removeprojectenvresponsebodyprojectsresponsecontenthint.md delete mode 100644 docs/models/operations/removeprojectenvresponsebodyprojectsresponseinternalcontenthint.md delete mode 100644 docs/models/operations/removeprojectenvresponsebodyprojectsresponsetarget.md delete mode 100644 docs/models/operations/removeprojectenvresponsebodyprojectsresponsetype.md delete mode 100644 docs/models/operations/removeprojectenvresponsebodyprojectstarget.md delete mode 100644 docs/models/operations/removeprojectenvresponsebodyprojectstype.md delete mode 100644 docs/models/operations/removeprojectenvresponsebodytarget.md delete mode 100644 docs/models/operations/removeprojectenvresponsebodytype.md delete mode 100644 docs/models/operations/removeprojectenvtarget1.md delete mode 100644 docs/models/operations/removeprojectenvtarget2.md delete mode 100644 docs/models/operations/repos.md delete mode 100644 docs/models/operations/requestaccesstoteamgituserid.md delete mode 100644 docs/models/operations/requestaccesstoteamjoinedfrom.md delete mode 100644 docs/models/operations/requestaccesstoteamorigin.md delete mode 100644 docs/models/operations/requestaccesstoteamrequest.md delete mode 100644 docs/models/operations/requestaccesstoteamrequestbody.md delete mode 100644 docs/models/operations/requestaccesstoteamresponsebody.md delete mode 100644 docs/models/operations/requestbody10.md delete mode 100644 docs/models/operations/requestbody2.md delete mode 100644 docs/models/operations/requestbody3.md delete mode 100644 docs/models/operations/requestbody4.md delete mode 100644 docs/models/operations/requestbody5.md delete mode 100644 docs/models/operations/requestbody6.md delete mode 100644 docs/models/operations/requestbody7.md delete mode 100644 docs/models/operations/requestbody8.md delete mode 100644 docs/models/operations/requestbody9.md delete mode 100644 docs/models/operations/requestbodyaction.md delete mode 100644 docs/models/operations/requestbodyconditiongroup.md delete mode 100644 docs/models/operations/requestbodyconditions.md delete mode 100644 docs/models/operations/requestbodyid.md delete mode 100644 docs/models/operations/requestbodymitigate.md delete mode 100644 docs/models/operations/requestbodyop.md delete mode 100644 docs/models/operations/requestbodyratelimit.md delete mode 100644 docs/models/operations/requestbodyredirect.md delete mode 100644 docs/models/operations/requestbodyrole.md delete mode 100644 docs/models/operations/requestbodytype.md delete mode 100644 docs/models/operations/requestbodyvalue.md delete mode 100644 docs/models/operations/rerequestcheckresponsebody.md delete mode 100644 docs/models/operations/resourceconfig.md delete mode 100644 docs/models/operations/responsebody.md delete mode 100644 docs/models/operations/responsebody2.md delete mode 100644 docs/models/operations/responsebodybillingplan.md delete mode 100644 docs/models/operations/responsebodybuilds.md delete mode 100644 docs/models/operations/responsebodychecksstate.md delete mode 100644 docs/models/operations/responsebodycontenthint.md delete mode 100644 docs/models/operations/responsebodycustomenvironment.md delete mode 100644 docs/models/operations/responsebodydisabledreason.md delete mode 100644 docs/models/operations/responsebodyenvs.md delete mode 100644 docs/models/operations/responsebodyflags.md delete mode 100644 docs/models/operations/responsebodygitrepo.md delete mode 100644 docs/models/operations/responsebodygitsource.md delete mode 100644 docs/models/operations/responsebodyintegrations.md delete mode 100644 docs/models/operations/responsebodyitems.md delete mode 100644 docs/models/operations/responsebodylambdas.md delete mode 100644 docs/models/operations/responsebodymembers.md delete mode 100644 docs/models/operations/responsebodymicrofrontends.md delete mode 100644 docs/models/operations/responsebodyownertype.md delete mode 100644 docs/models/operations/responsebodyplan.md delete mode 100644 docs/models/operations/responsebodyprojectsettings.md delete mode 100644 docs/models/operations/responsebodyprovider.md delete mode 100644 docs/models/operations/responsebodyreadystate.md delete mode 100644 docs/models/operations/responsebodyrecords.md delete mode 100644 docs/models/operations/responsebodyrole.md delete mode 100644 docs/models/operations/responsebodyroutes.md delete mode 100644 docs/models/operations/responsebodyscope.md delete mode 100644 docs/models/operations/responsebodysource.md delete mode 100644 docs/models/operations/responsebodystatus.md delete mode 100644 docs/models/operations/responsebodytarget.md delete mode 100644 docs/models/operations/responsebodyteamrole.md delete mode 100644 docs/models/operations/responsebodytype.md delete mode 100644 docs/models/operations/result.md delete mode 100644 docs/models/operations/rfi.md delete mode 100644 docs/models/operations/role.md delete mode 100644 docs/models/operations/roles.md delete mode 100644 docs/models/operations/roles1.md delete mode 100644 docs/models/operations/routes.md delete mode 100644 docs/models/operations/routes2.md delete mode 100644 docs/models/operations/routeshandle.md delete mode 100644 docs/models/operations/routeshas.md delete mode 100644 docs/models/operations/routesmissing.md delete mode 100644 docs/models/operations/rules.md delete mode 100644 docs/models/operations/saml.md delete mode 100644 docs/models/operations/schema.md delete mode 100644 docs/models/operations/scope.md delete mode 100644 docs/models/operations/sd.md delete mode 100644 docs/models/operations/searchreporesponsebody.md delete mode 100644 docs/models/operations/searchreporesponsebody1.md delete mode 100644 docs/models/operations/searchreporesponsebody2.md delete mode 100644 docs/models/operations/searchreporesponsebodyprovider.md delete mode 100644 docs/models/operations/secrets.md delete mode 100644 docs/models/operations/security.md delete mode 100644 docs/models/operations/seven.md delete mode 100644 docs/models/operations/sf.md delete mode 100644 docs/models/operations/six.md delete mode 100644 docs/models/operations/sources.md delete mode 100644 docs/models/operations/sqli.md delete mode 100644 docs/models/operations/src.md delete mode 100644 docs/models/operations/state.md delete mode 100644 docs/models/operations/status.md delete mode 100644 docs/models/operations/statusresponsebody.md delete mode 100644 docs/models/operations/statusstatus.md delete mode 100644 docs/models/operations/submitbillingdatarequest.md delete mode 100644 docs/models/operations/submitbillingdatatype.md delete mode 100644 docs/models/operations/submitinvoicerequest.md delete mode 100644 docs/models/operations/target1.md delete mode 100644 docs/models/operations/target2.md delete mode 100644 docs/models/operations/targets.md delete mode 100644 docs/models/operations/tbt.md delete mode 100644 docs/models/operations/teamrole.md delete mode 100644 docs/models/operations/ten.md delete mode 100644 docs/models/operations/test.md delete mode 100644 docs/models/operations/thirteen.md delete mode 100644 docs/models/operations/three.md delete mode 100644 docs/models/operations/tier.md delete mode 100644 docs/models/operations/trustedips1.md delete mode 100644 docs/models/operations/trustedips2.md delete mode 100644 docs/models/operations/trustedipsdeploymenttype.md delete mode 100644 docs/models/operations/trustedipsprotectionmode.md delete mode 100644 docs/models/operations/twelve.md delete mode 100644 docs/models/operations/two.md delete mode 100644 docs/models/operations/two2.md delete mode 100644 docs/models/operations/two5.md delete mode 100644 docs/models/operations/twotarget.md delete mode 100644 docs/models/operations/twotype.md delete mode 100644 docs/models/operations/type.md delete mode 100644 docs/models/operations/updateaccessgroupprojectrequest.md delete mode 100644 docs/models/operations/updateaccessgroupprojectrequestbody.md delete mode 100644 docs/models/operations/updateaccessgroupprojectresponsebody.md delete mode 100644 docs/models/operations/updateaccessgrouprequest.md delete mode 100644 docs/models/operations/updateaccessgrouprequestbody.md delete mode 100644 docs/models/operations/updateaccessgroupresponsebody.md delete mode 100644 docs/models/operations/updateattackchallengemoderequest.md delete mode 100644 docs/models/operations/updatecheckcheckssource.md delete mode 100644 docs/models/operations/updatecheckcls.md delete mode 100644 docs/models/operations/updatecheckconclusion.md delete mode 100644 docs/models/operations/updatecheckfcp.md delete mode 100644 docs/models/operations/updatechecklcp.md delete mode 100644 docs/models/operations/updatecheckmetrics.md delete mode 100644 docs/models/operations/updatecheckoutput.md delete mode 100644 docs/models/operations/updatecheckrequest.md delete mode 100644 docs/models/operations/updatecheckresponsebody.md delete mode 100644 docs/models/operations/updatechecksource.md delete mode 100644 docs/models/operations/updatecheckstatus.md delete mode 100644 docs/models/operations/updatechecktbt.md delete mode 100644 docs/models/operations/updatecheckvirtualexperiencescore.md delete mode 100644 docs/models/operations/updateedgeconfigpurpose.md delete mode 100644 docs/models/operations/updateedgeconfigrequest.md delete mode 100644 docs/models/operations/updateedgeconfigschema.md delete mode 100644 docs/models/operations/updateedgeconfigtype.md delete mode 100644 docs/models/operations/updatefirewallconfigaction1.md delete mode 100644 docs/models/operations/updatefirewallconfigratelimit1.md delete mode 100644 docs/models/operations/updatefirewallconfigratelimitaction.md delete mode 100644 docs/models/operations/updatefirewallconfigratelimitsecurity1.md delete mode 100644 docs/models/operations/updatefirewallconfigratelimitsecurityaction.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbody.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbody1.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbody2.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbody3.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbody4.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbody5.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbodyconditiongroup.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbodyconditions.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbodymitigate.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbodyop.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbodyratelimit.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbodyredirect.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2action.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3action.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9value.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbodysecurityrequestvalue.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbodysecuritytype.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbodysecurityvalue.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbodytype.md delete mode 100644 docs/models/operations/updatefirewallconfigrequestbodyvalue.md delete mode 100644 docs/models/operations/updateinvoicerequest.md delete mode 100644 docs/models/operations/updateprojectaction.md delete mode 100644 docs/models/operations/updateprojectalgo.md delete mode 100644 docs/models/operations/updateprojectbranchmatcher.md delete mode 100644 docs/models/operations/updateprojectchecksstate.md delete mode 100644 docs/models/operations/updateprojectcontenthint.md delete mode 100644 docs/models/operations/updateprojectcontenthint1.md delete mode 100644 docs/models/operations/updateprojectcontenthint10.md delete mode 100644 docs/models/operations/updateprojectcontenthint11.md delete mode 100644 docs/models/operations/updateprojectcontenthint12.md delete mode 100644 docs/models/operations/updateprojectcontenthint13.md delete mode 100644 docs/models/operations/updateprojectcontenthint14.md delete mode 100644 docs/models/operations/updateprojectcontenthint15.md delete mode 100644 docs/models/operations/updateprojectcontenthint2.md delete mode 100644 docs/models/operations/updateprojectcontenthint3.md delete mode 100644 docs/models/operations/updateprojectcontenthint4.md delete mode 100644 docs/models/operations/updateprojectcontenthint5.md delete mode 100644 docs/models/operations/updateprojectcontenthint6.md delete mode 100644 docs/models/operations/updateprojectcontenthint7.md delete mode 100644 docs/models/operations/updateprojectcontenthint8.md delete mode 100644 docs/models/operations/updateprojectcontenthint9.md delete mode 100644 docs/models/operations/updateprojectdatacachealgo.md delete mode 100644 docs/models/operations/updateprojectdatacachebranchmatcher.md delete mode 100644 docs/models/operations/updateprojectdatacachecontenthint11.md delete mode 100644 docs/models/operations/updateprojectdatacachemitigate.md delete mode 100644 docs/models/operations/updateprojectdatacacheoidctokenconfig.md delete mode 100644 docs/models/operations/updateprojectdatacacheoptionsallowlist.md delete mode 100644 docs/models/operations/updateprojectdatacacheplan.md delete mode 100644 docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md delete mode 100644 docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecuritytype.md delete mode 100644 docs/models/operations/updateprojectdatacacheprojectsvalue.md delete mode 100644 docs/models/operations/updateprojectdatacacherequest.md delete mode 100644 docs/models/operations/updateprojectdatacacheresponsebody.md delete mode 100644 docs/models/operations/updateprojectdatacachessoprotection.md delete mode 100644 docs/models/operations/updateprojectdatacachetarget.md delete mode 100644 docs/models/operations/updateprojectdatacachetrustedips.md delete mode 100644 docs/models/operations/updateprojectdatacachetype.md delete mode 100644 docs/models/operations/updateprojectdatacachevalue.md delete mode 100644 docs/models/operations/updateprojectdomainrequest.md delete mode 100644 docs/models/operations/updateprojectdomainrequestbody.md delete mode 100644 docs/models/operations/updateprojectenv.md delete mode 100644 docs/models/operations/updateprojecterl.md delete mode 100644 docs/models/operations/updateprojectfirewallroutes.md delete mode 100644 docs/models/operations/updateprojecthandle.md delete mode 100644 docs/models/operations/updateprojecthas.md delete mode 100644 docs/models/operations/updateprojectinternalcontenthint.md delete mode 100644 docs/models/operations/updateprojectissuermode.md delete mode 100644 docs/models/operations/updateprojectjobstatus.md delete mode 100644 docs/models/operations/updateprojectlastaliasrequest.md delete mode 100644 docs/models/operations/updateprojectlatestdeployments.md delete mode 100644 docs/models/operations/updateprojectlink.md delete mode 100644 docs/models/operations/updateprojectlink3.md delete mode 100644 docs/models/operations/updateprojectlinktype.md delete mode 100644 docs/models/operations/updateprojectmissing.md delete mode 100644 docs/models/operations/updateprojectmitigate.md delete mode 100644 docs/models/operations/updateprojectnodeversion.md delete mode 100644 docs/models/operations/updateprojectoidctokenconfig.md delete mode 100644 docs/models/operations/updateprojectoptionsallowlist.md delete mode 100644 docs/models/operations/updateprojectpermissions.md delete mode 100644 docs/models/operations/updateprojectplan.md delete mode 100644 docs/models/operations/updateprojectprojectsbranchmatcher.md delete mode 100644 docs/models/operations/updateprojectprojectsoidctokenconfig.md delete mode 100644 docs/models/operations/updateprojectprojectsplan.md delete mode 100644 docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md delete mode 100644 docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md delete mode 100644 docs/models/operations/updateprojectprojectstype.md delete mode 100644 docs/models/operations/updateprojectprojectsvalue.md delete mode 100644 docs/models/operations/updateprojectprotectionbypass.md delete mode 100644 docs/models/operations/updateprojectprotectionbypassprotectionbypass.md delete mode 100644 docs/models/operations/updateprojectprotectionbypassrequest.md delete mode 100644 docs/models/operations/updateprojectprotectionbypassresponsebody.md delete mode 100644 docs/models/operations/updateprojectreadystate.md delete mode 100644 docs/models/operations/updateprojectreadysubstate.md delete mode 100644 docs/models/operations/updateprojectrequest.md delete mode 100644 docs/models/operations/updateprojectresourceconfig.md delete mode 100644 docs/models/operations/updateprojectresponsebody.md delete mode 100644 docs/models/operations/updateprojectscope.md delete mode 100644 docs/models/operations/updateprojectsecurity.md delete mode 100644 docs/models/operations/updateprojectsrc.md delete mode 100644 docs/models/operations/updateprojectssoprotection.md delete mode 100644 docs/models/operations/updateprojecttarget.md delete mode 100644 docs/models/operations/updateprojecttarget2.md delete mode 100644 docs/models/operations/updateprojecttargets.md delete mode 100644 docs/models/operations/updateprojecttier.md delete mode 100644 docs/models/operations/updateprojecttrustedips.md delete mode 100644 docs/models/operations/updateprojecttrustedips1.md delete mode 100644 docs/models/operations/updateprojecttrustedips2.md delete mode 100644 docs/models/operations/updateprojecttype.md delete mode 100644 docs/models/operations/updateprojectvalue.md delete mode 100644 docs/models/operations/updaterecorddnstype.md delete mode 100644 docs/models/operations/updaterecordrequest.md delete mode 100644 docs/models/operations/updaterecordrequestbody.md delete mode 100644 docs/models/operations/updaterecordresponsebody.md delete mode 100644 docs/models/operations/updaterecordtype.md delete mode 100644 docs/models/operations/updateresourcesecretsrequest.md delete mode 100644 docs/models/operations/updateresourcesecretsrequestbody.md delete mode 100644 docs/models/operations/updateteammemberrequest.md delete mode 100644 docs/models/operations/updateteammemberrequestbody.md delete mode 100644 docs/models/operations/uploadcertrequest.md delete mode 100644 docs/models/operations/uploadfileresponsebody.md delete mode 100644 docs/models/operations/uploadfileresponsebody2.md delete mode 100644 docs/models/operations/verified.md delete mode 100644 docs/models/operations/view.md delete mode 100644 docs/models/operations/virtualexperiencescore.md delete mode 100644 docs/models/operations/webanalytics.md delete mode 100644 docs/models/operations/xss.md create mode 100644 docs/models/options.md create mode 100644 docs/models/optionsallowlist.md create mode 100644 docs/models/order.md create mode 100644 docs/models/origin.md create mode 100644 docs/models/output.md rename docs/models/{operations => }/owasp.md (82%) create mode 100644 docs/models/owner.md create mode 100644 docs/models/ownertype.md create mode 100644 docs/models/pagination.md rename docs/models/{operations => }/passwordprotection.md (86%) rename docs/models/{operations => }/patchdomainrequest.md (82%) create mode 100644 docs/models/patchdomainrequestbody.md rename docs/models/{operations => }/patchdomainrequestbody1.md (96%) rename docs/models/{operations => }/patchdomainrequestbody2.md (90%) create mode 100644 docs/models/patchdomainresponsebody.md rename docs/models/{operations => }/patchdomainresponsebody1.md (81%) rename docs/models/{operations => }/patchdomainresponsebody2.md (84%) rename docs/models/{operations => }/patchdomainresponsebody3.md (86%) create mode 100644 docs/models/patchedgeconfigschemarequest.md rename docs/models/{operations => }/patchedgeconfigschemarequestbody.md (91%) rename docs/models/{operations => }/patchedgeconfigschemaresponsebody.md (88%) create mode 100644 docs/models/patchteamremotecaching.md create mode 100644 docs/models/patchteamrequest.md rename docs/models/{operations => }/patchteamrequestbody.md (96%) create mode 100644 docs/models/patchteamsaml.md rename docs/models/{operations => }/paths.md (93%) rename docs/models/{operations => }/period.md (90%) create mode 100644 docs/models/permissions.md create mode 100644 docs/models/php.md create mode 100644 docs/models/plan.md create mode 100644 docs/models/preferredscopesandgitnamespaces.md create mode 100644 docs/models/production.md rename docs/models/{operations => }/project.md (87%) rename docs/models/{operations => }/projectid.md (81%) rename docs/models/{operations => }/projects.md (91%) create mode 100644 docs/models/projectselection.md rename docs/models/{operations => }/projectsettings.md (97%) create mode 100644 docs/models/projectsmetadata.md create mode 100644 docs/models/protectionbypass.md create mode 100644 docs/models/protectionbypass1.md create mode 100644 docs/models/protectionbypass2.md create mode 100644 docs/models/protectionbypass3.md create mode 100644 docs/models/protectionbypass4.md create mode 100644 docs/models/protectionbypassaccess.md create mode 100644 docs/models/protectionbypassscope.md rename docs/models/{operations => }/protectionmode.md (83%) create mode 100644 docs/models/provider.md create mode 100644 docs/models/purpose.md create mode 100644 docs/models/putfirewallconfigaction.md create mode 100644 docs/models/putfirewallconfigalgo.md create mode 100644 docs/models/putfirewallconfigchanges.md create mode 100644 docs/models/putfirewallconfigconditiongroup.md create mode 100644 docs/models/putfirewallconfigconditions.md create mode 100644 docs/models/putfirewallconfigcrs.md create mode 100644 docs/models/putfirewallconfiggen.md create mode 100644 docs/models/putfirewallconfigips.md create mode 100644 docs/models/putfirewallconfigjava.md create mode 100644 docs/models/putfirewallconfiglfi.md create mode 100644 docs/models/putfirewallconfigma.md create mode 100644 docs/models/putfirewallconfigmanagedrules.md create mode 100644 docs/models/putfirewallconfigmitigate.md create mode 100644 docs/models/putfirewallconfigop.md rename docs/models/{operations => }/putfirewallconfigowasp.md (87%) create mode 100644 docs/models/putfirewallconfigphp.md create mode 100644 docs/models/putfirewallconfigratelimit.md create mode 100644 docs/models/putfirewallconfigrce.md rename docs/models/{operations => }/putfirewallconfigredirect.md (84%) create mode 100644 docs/models/putfirewallconfigrequest.md create mode 100644 docs/models/putfirewallconfigrequestbody.md create mode 100644 docs/models/putfirewallconfigresponsebody.md create mode 100644 docs/models/putfirewallconfigrfi.md create mode 100644 docs/models/putfirewallconfigrules.md create mode 100644 docs/models/putfirewallconfigsd.md rename docs/models/{operations => }/putfirewallconfigsecurityaction.md (85%) rename docs/models/{operations => }/putfirewallconfigsecurityrequestaction.md (84%) rename docs/models/{operations => }/putfirewallconfigsecurityrequestrequestbodyaction.md (80%) rename docs/models/{operations => }/putfirewallconfigsecurityrequestrequestbodycrsaction.md (82%) rename docs/models/{operations => }/putfirewallconfigsecurityrequestrequestbodycrsgenaction.md (78%) rename docs/models/{operations => }/putfirewallconfigsecurityrequestrequestbodycrsjavaaction.md (81%) rename docs/models/{operations => }/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md (81%) rename docs/models/{operations => }/putfirewallconfigsecurityrequestrequestbodycrssfaction.md (78%) rename docs/models/{operations => }/putfirewallconfigsecurityrequestrequestbodycrssqliaction.md (81%) rename docs/models/{operations => }/putfirewallconfigsecurityrequestrequestbodycrsxssaction.md (81%) rename docs/models/{operations => }/putfirewallconfigsecurityrequestrequestbodyipsaction.md (83%) create mode 100644 docs/models/putfirewallconfigsecurityrequestrequestbodyrulesaction.md rename docs/models/{operations => }/putfirewallconfigsecurityrequestrequestbodyrulesactionaction.md (81%) create mode 100644 docs/models/putfirewallconfigsecurityresponse200action.md rename docs/models/{operations => }/putfirewallconfigsecurityresponse200applicationjsonaction.md (81%) create mode 100644 docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md rename docs/models/{operations => }/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiveaction.md (79%) rename docs/models/{operations => }/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsaction.md (76%) rename docs/models/{operations => }/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsgenaction.md (83%) rename docs/models/{operations => }/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsjavaaction.md (83%) rename docs/models/{operations => }/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsmaaction.md (76%) rename docs/models/{operations => }/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssdaction.md (79%) rename docs/models/{operations => }/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssfaction.md (76%) rename docs/models/{operations => }/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssqliaction.md (85%) rename docs/models/{operations => }/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsxssaction.md (83%) rename docs/models/{operations => }/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesaction.md (81%) rename docs/models/{operations => }/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesactionaction.md (84%) create mode 100644 docs/models/putfirewallconfigsecurityresponseaction.md create mode 100644 docs/models/putfirewallconfigsecuritytype.md rename docs/models/{operations => }/putfirewallconfigsecurityvalue.md (88%) create mode 100644 docs/models/putfirewallconfigsf.md create mode 100644 docs/models/putfirewallconfigsqli.md create mode 100644 docs/models/putfirewallconfigtype.md rename docs/models/{operations => }/putfirewallconfigvalue.md (87%) rename docs/models/{operations => }/putfirewallconfigverifiedbotsbypass.md (94%) create mode 100644 docs/models/putfirewallconfigxss.md create mode 100644 docs/models/queryparamprovider.md create mode 100644 docs/models/queryparamrole.md create mode 100644 docs/models/queryparamtarget.md create mode 100644 docs/models/queryparamtype.md rename docs/models/{operations => }/quote.md (82%) create mode 100644 docs/models/ratelimit.md create mode 100644 docs/models/ratelimit1.md create mode 100644 docs/models/ratelimitaction.md create mode 100644 docs/models/ratelimitalgo.md create mode 100644 docs/models/ratelimitnotice.md create mode 100644 docs/models/rce.md create mode 100644 docs/models/readaccessgroupentitlements.md rename docs/models/{operations => }/readaccessgroupprojectrequest.md (97%) create mode 100644 docs/models/readaccessgroupprojectresponsebody.md create mode 100644 docs/models/readaccessgroupprojectrole.md rename docs/models/{operations => }/readaccessgrouprequest.md (93%) create mode 100644 docs/models/readaccessgroupresponsebody.md create mode 100644 docs/models/readystate.md rename docs/models/{operations => }/readysubstate.md (80%) create mode 100644 docs/models/reason.md rename docs/models/{operations => }/reasons.md (88%) create mode 100644 docs/models/recentsviewpreference.md rename docs/models/{operations => }/recordeventsrequest.md (92%) create mode 100644 docs/models/records.md create mode 100644 docs/models/recordtype.md create mode 100644 docs/models/redirect.md rename docs/models/{operations => }/redirect1.md (85%) create mode 100644 docs/models/redirects.md create mode 100644 docs/models/redirectstatuscode.md create mode 100644 docs/models/remotecaching.md rename docs/models/{operations => }/removecertrequest.md (94%) create mode 100644 docs/models/removecertresponsebody.md rename docs/models/{operations => }/removeprojectdomainrequest.md (95%) rename docs/models/{operations => }/removeprojectdomainresponsebody.md (90%) create mode 100644 docs/models/removeprojectenvcontenthint1.md create mode 100644 docs/models/removeprojectenvcontenthint10.md create mode 100644 docs/models/removeprojectenvcontenthint11.md create mode 100644 docs/models/removeprojectenvcontenthint12.md create mode 100644 docs/models/removeprojectenvcontenthint13.md create mode 100644 docs/models/removeprojectenvcontenthint14.md create mode 100644 docs/models/removeprojectenvcontenthint15.md create mode 100644 docs/models/removeprojectenvcontenthint2.md create mode 100644 docs/models/removeprojectenvcontenthint3.md create mode 100644 docs/models/removeprojectenvcontenthint4.md create mode 100644 docs/models/removeprojectenvcontenthint5.md create mode 100644 docs/models/removeprojectenvcontenthint6.md create mode 100644 docs/models/removeprojectenvcontenthint7.md create mode 100644 docs/models/removeprojectenvcontenthint8.md create mode 100644 docs/models/removeprojectenvcontenthint9.md create mode 100644 docs/models/removeprojectenvcontenthintprojects1.md create mode 100644 docs/models/removeprojectenvcontenthintprojects10.md create mode 100644 docs/models/removeprojectenvcontenthintprojects11.md create mode 100644 docs/models/removeprojectenvcontenthintprojects12.md create mode 100644 docs/models/removeprojectenvcontenthintprojects13.md create mode 100644 docs/models/removeprojectenvcontenthintprojects14.md create mode 100644 docs/models/removeprojectenvcontenthintprojects15.md create mode 100644 docs/models/removeprojectenvcontenthintprojects2.md create mode 100644 docs/models/removeprojectenvcontenthintprojects3.md create mode 100644 docs/models/removeprojectenvcontenthintprojects4.md create mode 100644 docs/models/removeprojectenvcontenthintprojects5.md create mode 100644 docs/models/removeprojectenvcontenthintprojects6.md create mode 100644 docs/models/removeprojectenvcontenthintprojects7.md create mode 100644 docs/models/removeprojectenvcontenthintprojects8.md create mode 100644 docs/models/removeprojectenvcontenthintprojects9.md create mode 100644 docs/models/removeprojectenvcontenthintprojectsresponse1.md create mode 100644 docs/models/removeprojectenvcontenthintprojectsresponse10.md create mode 100644 docs/models/removeprojectenvcontenthintprojectsresponse11.md create mode 100644 docs/models/removeprojectenvcontenthintprojectsresponse12.md create mode 100644 docs/models/removeprojectenvcontenthintprojectsresponse13.md create mode 100644 docs/models/removeprojectenvcontenthintprojectsresponse14.md create mode 100644 docs/models/removeprojectenvcontenthintprojectsresponse15.md create mode 100644 docs/models/removeprojectenvcontenthintprojectsresponse2.md rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md (81%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md (81%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md (81%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md (81%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md (81%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md (81%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md (81%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md (79%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md (81%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md (81%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md (81%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md (81%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md (79%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md (80%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200applicationjsontype.md (82%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponse200type.md (84%) create mode 100644 docs/models/removeprojectenvcontenthintprojectsresponse3.md create mode 100644 docs/models/removeprojectenvcontenthintprojectsresponse4.md create mode 100644 docs/models/removeprojectenvcontenthintprojectsresponse5.md create mode 100644 docs/models/removeprojectenvcontenthintprojectsresponse6.md create mode 100644 docs/models/removeprojectenvcontenthintprojectsresponse7.md create mode 100644 docs/models/removeprojectenvcontenthintprojectsresponse8.md create mode 100644 docs/models/removeprojectenvcontenthintprojectsresponse9.md rename docs/models/{operations => }/removeprojectenvcontenthintprojectsresponsetype.md (84%) rename docs/models/{operations => }/removeprojectenvcontenthintprojectstype.md (85%) rename docs/models/{operations => }/removeprojectenvcontenthinttype.md (86%) rename docs/models/{operations => }/removeprojectenvrequest.md (95%) create mode 100644 docs/models/removeprojectenvresponsebody.md create mode 100644 docs/models/removeprojectenvresponsebody1.md create mode 100644 docs/models/removeprojectenvresponsebody2.md create mode 100644 docs/models/removeprojectenvresponsebody3.md create mode 100644 docs/models/removeprojectenvresponsebodycontenthint.md create mode 100644 docs/models/removeprojectenvresponsebodyinternalcontenthint.md create mode 100644 docs/models/removeprojectenvresponsebodyprojectscontenthint.md create mode 100644 docs/models/removeprojectenvresponsebodyprojectsinternalcontenthint.md rename docs/models/{operations => }/removeprojectenvresponsebodyprojectsresponse200applicationjson3type.md (81%) rename docs/models/{operations => }/removeprojectenvresponsebodyprojectsresponse200applicationjsontype.md (81%) rename docs/models/{operations => }/removeprojectenvresponsebodyprojectsresponse200type.md (83%) create mode 100644 docs/models/removeprojectenvresponsebodyprojectsresponsecontenthint.md create mode 100644 docs/models/removeprojectenvresponsebodyprojectsresponseinternalcontenthint.md create mode 100644 docs/models/removeprojectenvresponsebodyprojectsresponsetarget.md create mode 100644 docs/models/removeprojectenvresponsebodyprojectsresponsetype.md create mode 100644 docs/models/removeprojectenvresponsebodyprojectstarget.md create mode 100644 docs/models/removeprojectenvresponsebodyprojectstype.md create mode 100644 docs/models/removeprojectenvresponsebodytarget.md create mode 100644 docs/models/removeprojectenvresponsebodytype.md create mode 100644 docs/models/removeprojectenvtarget1.md create mode 100644 docs/models/removeprojectenvtarget2.md rename docs/models/{operations => }/removeprojectenvtargetprojects1.md (87%) rename docs/models/{operations => }/removeprojectenvtargetprojects2.md (87%) rename docs/models/{operations => }/removeprojectenvtargetprojectsresponse1.md (86%) rename docs/models/{operations => }/removeprojectenvtargetprojectsresponse2.md (86%) rename docs/models/{operations => }/removeprojectmemberrequest.md (95%) rename docs/models/{operations => }/removeprojectmemberresponsebody.md (92%) rename docs/models/{operations => }/removerecordrequest.md (95%) rename docs/models/{operations => }/removerecordresponsebody.md (76%) rename docs/models/{operations => }/removeteammemberrequest.md (95%) rename docs/models/{operations => }/removeteammemberresponsebody.md (93%) rename docs/models/{operations => }/repoid.md (100%) create mode 100644 docs/models/repos.md create mode 100644 docs/models/requestaccesstoteamgituserid.md create mode 100644 docs/models/requestaccesstoteamjoinedfrom.md create mode 100644 docs/models/requestaccesstoteamorigin.md create mode 100644 docs/models/requestaccesstoteamrequest.md create mode 100644 docs/models/requestaccesstoteamrequestbody.md create mode 100644 docs/models/requestaccesstoteamresponsebody.md create mode 100644 docs/models/requestaccesstoteamteamsgituserid.md create mode 100644 docs/models/requestaccesstoteamteamsjoinedfrom.md create mode 100644 docs/models/requestaccesstoteamteamsorigin.md rename docs/models/{operations => }/requestbody.md (94%) rename docs/models/{operations => }/requestbody1.md (93%) create mode 100644 docs/models/requestbody10.md create mode 100644 docs/models/requestbody2.md create mode 100644 docs/models/requestbody3.md create mode 100644 docs/models/requestbody4.md create mode 100644 docs/models/requestbody5.md create mode 100644 docs/models/requestbody6.md create mode 100644 docs/models/requestbody7.md create mode 100644 docs/models/requestbody8.md create mode 100644 docs/models/requestbody9.md create mode 100644 docs/models/requestbodyaction.md create mode 100644 docs/models/requestbodyconditiongroup.md create mode 100644 docs/models/requestbodyconditions.md rename docs/models/{operations => }/requestbodyhttps.md (89%) create mode 100644 docs/models/requestbodyid.md create mode 100644 docs/models/requestbodymitigate.md create mode 100644 docs/models/requestbodyop.md create mode 100644 docs/models/requestbodyratelimit.md create mode 100644 docs/models/requestbodyredirect.md create mode 100644 docs/models/requestbodyrole.md rename docs/models/{operations => }/requestbodysrv.md (91%) create mode 100644 docs/models/requestbodytype.md create mode 100644 docs/models/requestbodyvalue.md rename docs/models/{operations => }/requestdeletereasons.md (91%) rename docs/models/{operations => }/requestdeleterequestbody.md (83%) rename docs/models/{operations => }/requestdeleteresponsebody.md (93%) rename docs/models/{operations => }/requestpromoterequest.md (94%) rename docs/models/{operations => }/rerequestcheckrequest.md (95%) create mode 100644 docs/models/rerequestcheckresponsebody.md create mode 100644 docs/models/resourceconfig.md create mode 100644 docs/models/responsebody.md rename docs/models/{operations => }/responsebody1.md (87%) create mode 100644 docs/models/responsebody2.md rename docs/models/{operations => }/responsebody3.md (85%) rename docs/models/{operations => }/responsebodyaliasassignedat.md (100%) rename docs/models/{operations => }/responsebodyaliaserror.md (84%) rename docs/models/{operations => }/responsebodyaliases.md (86%) rename docs/models/{operations => }/responsebodyaliaswarning.md (88%) rename docs/models/{operations => }/responsebodybackup.md (92%) create mode 100644 docs/models/responsebodybillingplan.md rename docs/models/{operations => }/responsebodybuild.md (82%) create mode 100644 docs/models/responsebodybuilds.md rename docs/models/{operations => }/responsebodychecksconclusion.md (89%) create mode 100644 docs/models/responsebodychecksstate.md create mode 100644 docs/models/responsebodycontenthint.md rename docs/models/{operations => }/responsebodycreator.md (86%) rename docs/models/{operations => }/responsebodycrons.md (85%) create mode 100644 docs/models/responsebodycustomenvironment.md rename docs/models/{operations => }/responsebodydetails.md (84%) create mode 100644 docs/models/responsebodydisabledreason.md create mode 100644 docs/models/responsebodyenvs.md create mode 100644 docs/models/responsebodyerror.md rename docs/models/{operations => }/responsebodyevents.md (94%) create mode 100644 docs/models/responsebodyflags.md rename docs/models/{operations => }/responsebodyframework.md (88%) rename docs/models/{operations => }/responsebodyfunctions.md (89%) create mode 100644 docs/models/responsebodygitrepo.md create mode 100644 docs/models/responsebodygitsource.md rename docs/models/{operations => }/responsebodyheightlighteddetails.md (93%) rename docs/models/{operations => }/responsebodyid.md (81%) rename docs/models/{operations => }/responsebodyinstallationtype.md (93%) create mode 100644 docs/models/responsebodyintegrations.md rename docs/models/{operations => }/responsebodyinternalcontenthint.md (93%) create mode 100644 docs/models/responsebodyitems.md create mode 100644 docs/models/responsebodylambdas.md create mode 100644 docs/models/responsebodymembers.md rename docs/models/{operations => }/responsebodymetadata.md (87%) create mode 100644 docs/models/responsebodymicrofrontends.md rename docs/models/{operations => }/responsebodynamespaceid.md (82%) rename docs/models/{operations => }/responsebodyoidctokenclaims.md (97%) rename docs/models/{operations => }/responsebodyoutput.md (85%) create mode 100644 docs/models/responsebodyownertype.md rename docs/models/{operations => }/responsebodypagination.md (84%) create mode 100644 docs/models/responsebodyplan.md rename docs/models/{operations => }/responsebodyproject.md (86%) create mode 100644 docs/models/responsebodyprojectsettings.md create mode 100644 docs/models/responsebodyprovider.md rename docs/models/{operations => }/responsebodyquote.md (81%) create mode 100644 docs/models/responsebodyreadystate.md rename docs/models/{operations => }/responsebodyreadysubstate.md (80%) create mode 100644 docs/models/responsebodyrecords.md create mode 100644 docs/models/responsebodyrole.md create mode 100644 docs/models/responsebodyroutes.md create mode 100644 docs/models/responsebodyscope.md create mode 100644 docs/models/responsebodysource.md rename docs/models/{operations => }/responsebodyspeedinsights.md (89%) create mode 100644 docs/models/responsebodystatus.md create mode 100644 docs/models/responsebodytarget.md rename docs/models/{operations => }/responsebodyteam.md (88%) create mode 100644 docs/models/responsebodyteamrole.md create mode 100644 docs/models/responsebodytype.md rename docs/models/{operations => }/responsebodyuser.md (83%) rename docs/models/{operations => }/responsebodywebanalytics.md (88%) create mode 100644 docs/models/result.md rename docs/models/{operations => }/revoke.md (95%) create mode 100644 docs/models/rfi.md create mode 100644 docs/models/role.md create mode 100644 docs/models/roles.md create mode 100644 docs/models/roles1.md rename docs/models/{operations => }/roles2.md (84%) create mode 100644 docs/models/routes.md rename docs/models/{operations => }/routes1.md (94%) create mode 100644 docs/models/routes2.md rename docs/models/{operations => }/routes3.md (88%) create mode 100644 docs/models/routeshandle.md create mode 100644 docs/models/routeshas.md rename docs/models/{operations => }/routeslocale.md (86%) create mode 100644 docs/models/routesmissing.md create mode 100644 docs/models/rules.md create mode 100644 docs/models/saml.md create mode 100644 docs/models/schema.md create mode 100644 docs/models/scope.md create mode 100644 docs/models/scopes.md create mode 100644 docs/models/scopes1.md create mode 100644 docs/models/scopes2.md create mode 100644 docs/models/scopesorigin.md create mode 100644 docs/models/scopestype.md create mode 100644 docs/models/sd.md rename docs/models/{operations => }/searchreporequest.md (93%) create mode 100644 docs/models/searchreporesponsebody.md create mode 100644 docs/models/searchreporesponsebody1.md create mode 100644 docs/models/searchreporesponsebody2.md rename docs/models/{operations => }/searchreporesponsebodyid.md (82%) create mode 100644 docs/models/searchreporesponsebodyprovider.md create mode 100644 docs/models/secrets.md create mode 100644 docs/models/security.md rename docs/models/{operations => }/servicetype.md (81%) create mode 100644 docs/models/seven.md create mode 100644 docs/models/sf.md create mode 100644 docs/models/six.md rename docs/models/{operations => }/skipautodetectionconfirmation.md (75%) create mode 100644 docs/models/softblock.md rename docs/models/{operations => }/source.md (80%) create mode 100644 docs/models/sources.md rename docs/models/{operations => }/speedinsights.md (89%) create mode 100644 docs/models/sqli.md create mode 100644 docs/models/src.md rename docs/models/{operations => }/src2.md (93%) rename docs/models/{operations => }/srv.md (85%) rename docs/models/{operations => }/ssoprotection.md (83%) create mode 100644 docs/models/state.md create mode 100644 docs/models/status.md rename docs/models/{operations => }/statuscode.md (100%) rename docs/models/{operations => }/statusrequest.md (93%) create mode 100644 docs/models/statusresponsebody.md create mode 100644 docs/models/statusstatus.md rename docs/models/{operations => }/strict.md (77%) create mode 100644 docs/models/submitbillingdatabilling.md create mode 100644 docs/models/submitbillingdatarequest.md rename docs/models/{operations => }/submitbillingdatarequestbody.md (79%) create mode 100644 docs/models/submitbillingdatatype.md rename docs/models/{operations => }/submitinvoicediscounts.md (97%) rename docs/models/{operations => }/submitinvoiceitems.md (97%) rename docs/models/{operations => }/submitinvoiceperiod.md (90%) create mode 100644 docs/models/submitinvoicerequest.md rename docs/models/{operations => }/submitinvoicerequestbody.md (80%) rename docs/models/{operations => }/submitinvoiceresponsebody.md (85%) rename docs/models/{operations => }/target.md (83%) create mode 100644 docs/models/target1.md create mode 100644 docs/models/target2.md create mode 100644 docs/models/targets.md create mode 100644 docs/models/tbt.md rename docs/models/{operations => }/team.md (89%) rename docs/models/{components => }/teamlimited.md (97%) create mode 100644 docs/models/teamrole.md rename docs/models/{operations => }/teams.md (82%) create mode 100644 docs/models/ten.md create mode 100644 docs/models/test.md create mode 100644 docs/models/thirteen.md create mode 100644 docs/models/three.md create mode 100644 docs/models/tier.md rename docs/models/{operations => }/transfer.md (84%) rename docs/models/{operations => }/transferpolicy.md (84%) rename docs/models/{operations => }/trustedips.md (91%) create mode 100644 docs/models/trustedips1.md create mode 100644 docs/models/trustedips2.md rename docs/models/{operations => }/trustedipsaddresses.md (84%) create mode 100644 docs/models/trustedipsdeploymenttype.md create mode 100644 docs/models/trustedipsprotectionmode.md create mode 100644 docs/models/twelve.md create mode 100644 docs/models/two.md rename docs/models/{operations => }/two1.md (91%) create mode 100644 docs/models/two2.md create mode 100644 docs/models/two5.md create mode 100644 docs/models/twotarget.md create mode 100644 docs/models/twotype.md create mode 100644 docs/models/type.md rename docs/models/{operations => }/updateaccessgroupentitlements.md (85%) rename docs/models/{operations => }/updateaccessgroupprojectaccessgroupsrole.md (84%) create mode 100644 docs/models/updateaccessgroupprojectrequest.md create mode 100644 docs/models/updateaccessgroupprojectrequestbody.md create mode 100644 docs/models/updateaccessgroupprojectresponsebody.md rename docs/models/{operations => }/updateaccessgroupprojectrole.md (88%) create mode 100644 docs/models/updateaccessgrouprequest.md create mode 100644 docs/models/updateaccessgrouprequestbody.md create mode 100644 docs/models/updateaccessgroupresponsebody.md create mode 100644 docs/models/updateaccessgrouprole.md create mode 100644 docs/models/updateattackchallengemoderequest.md rename docs/models/{operations => }/updateattackchallengemoderequestbody.md (93%) rename docs/models/{operations => }/updateattackchallengemoderesponsebody.md (88%) rename docs/models/{operations => }/updatecheckchecksrequestrequestbodyoutputsource.md (84%) rename docs/models/{operations => }/updatecheckchecksrequestrequestbodysource.md (85%) rename docs/models/{operations => }/updatecheckchecksrequestsource.md (88%) rename docs/models/{operations => }/updatecheckchecksresponse200applicationjsonresponsebodyoutputsource.md (82%) rename docs/models/{operations => }/updatecheckchecksresponse200applicationjsonresponsebodysource.md (82%) rename docs/models/{operations => }/updatecheckchecksresponse200applicationjsonsource.md (84%) rename docs/models/{operations => }/updatecheckchecksresponse200source.md (87%) rename docs/models/{operations => }/updatecheckchecksresponsesource.md (88%) create mode 100644 docs/models/updatecheckcheckssource.md create mode 100644 docs/models/updatecheckcls.md create mode 100644 docs/models/updatecheckconclusion.md create mode 100644 docs/models/updatecheckfcp.md create mode 100644 docs/models/updatechecklcp.md create mode 100644 docs/models/updatecheckmetrics.md create mode 100644 docs/models/updatecheckoutput.md create mode 100644 docs/models/updatecheckrequest.md rename docs/models/{operations => }/updatecheckrequestbody.md (91%) create mode 100644 docs/models/updatecheckresponsebody.md create mode 100644 docs/models/updatechecksource.md create mode 100644 docs/models/updatecheckstatus.md create mode 100644 docs/models/updatechecktbt.md create mode 100644 docs/models/updatecheckvirtualexperiencescore.md create mode 100644 docs/models/updateedgeconfigpurpose.md create mode 100644 docs/models/updateedgeconfigrequest.md rename docs/models/{operations => }/updateedgeconfigrequestbody.md (93%) rename docs/models/{operations => }/updateedgeconfigresponsebody.md (94%) create mode 100644 docs/models/updateedgeconfigschema.md rename docs/models/{operations => }/updateedgeconfigtransfer.md (82%) create mode 100644 docs/models/updateedgeconfigtype.md create mode 100644 docs/models/updatefirewallconfigaction1.md rename docs/models/{operations => }/updatefirewallconfigactionsecurity1.md (85%) create mode 100644 docs/models/updatefirewallconfigratelimit1.md create mode 100644 docs/models/updatefirewallconfigratelimitaction.md rename docs/models/{operations => }/updatefirewallconfigratelimitalgo.md (85%) create mode 100644 docs/models/updatefirewallconfigratelimitsecurity1.md create mode 100644 docs/models/updatefirewallconfigratelimitsecurityaction.md rename docs/models/{operations => }/updatefirewallconfigredirect1.md (93%) rename docs/models/{operations => }/updatefirewallconfigredirectsecurity1.md (92%) rename docs/models/{operations => }/updatefirewallconfigrequest.md (81%) create mode 100644 docs/models/updatefirewallconfigrequestbody.md create mode 100644 docs/models/updatefirewallconfigrequestbody1.md create mode 100644 docs/models/updatefirewallconfigrequestbody2.md create mode 100644 docs/models/updatefirewallconfigrequestbody3.md create mode 100644 docs/models/updatefirewallconfigrequestbody4.md create mode 100644 docs/models/updatefirewallconfigrequestbody5.md rename docs/models/{operations => }/updatefirewallconfigrequestbodyaction.md (84%) create mode 100644 docs/models/updatefirewallconfigrequestbodyconditiongroup.md create mode 100644 docs/models/updatefirewallconfigrequestbodyconditions.md create mode 100644 docs/models/updatefirewallconfigrequestbodymitigate.md create mode 100644 docs/models/updatefirewallconfigrequestbodyop.md create mode 100644 docs/models/updatefirewallconfigrequestbodyratelimit.md create mode 100644 docs/models/updatefirewallconfigrequestbodyredirect.md rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityaction.md (83%) rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityrequest10action.md (81%) rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityrequest11action.md (82%) rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityrequest11value.md (89%) create mode 100644 docs/models/updatefirewallconfigrequestbodysecurityrequest2action.md rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityrequest2value.md (89%) rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityrequest2valueaction.md (80%) create mode 100644 docs/models/updatefirewallconfigrequestbodysecurityrequest3action.md rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityrequest3value.md (89%) rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityrequest3valueaction.md (80%) rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityrequest5action.md (82%) rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityrequest6action.md (81%) rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityrequest6valueaction.md (80%) rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityrequest7action.md (81%) rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityrequest8action.md (81%) rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityrequest8valueaction.md (77%) rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityrequest9action.md (81%) create mode 100644 docs/models/updatefirewallconfigrequestbodysecurityrequest9value.md rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityrequest9valueaction.md (76%) rename docs/models/{operations => }/updatefirewallconfigrequestbodysecurityrequestaction.md (82%) create mode 100644 docs/models/updatefirewallconfigrequestbodysecurityrequestvalue.md create mode 100644 docs/models/updatefirewallconfigrequestbodysecuritytype.md create mode 100644 docs/models/updatefirewallconfigrequestbodysecurityvalue.md create mode 100644 docs/models/updatefirewallconfigrequestbodytype.md create mode 100644 docs/models/updatefirewallconfigrequestbodyvalue.md rename docs/models/{operations => }/updatefirewallconfigresponsebody.md (88%) create mode 100644 docs/models/updateinvoicerequest.md rename docs/models/{operations => }/updateinvoicerequestbody.md (90%) create mode 100644 docs/models/updateprojectaction.md create mode 100644 docs/models/updateprojectalgo.md rename docs/models/{operations => }/updateprojectaliasassigned.md (100%) rename docs/models/{operations => }/updateprojectaliaserror.md (84%) rename docs/models/{operations => }/updateprojectanalytics.md (92%) create mode 100644 docs/models/updateprojectbranchmatcher.md rename docs/models/{operations => }/updateprojectbuilds.md (86%) rename docs/models/{operations => }/updateprojectchecksconclusion.md (89%) create mode 100644 docs/models/updateprojectchecksstate.md create mode 100644 docs/models/updateprojectcontenthint.md create mode 100644 docs/models/updateprojectcontenthint1.md create mode 100644 docs/models/updateprojectcontenthint10.md create mode 100644 docs/models/updateprojectcontenthint11.md create mode 100644 docs/models/updateprojectcontenthint12.md create mode 100644 docs/models/updateprojectcontenthint13.md create mode 100644 docs/models/updateprojectcontenthint14.md create mode 100644 docs/models/updateprojectcontenthint15.md create mode 100644 docs/models/updateprojectcontenthint2.md create mode 100644 docs/models/updateprojectcontenthint3.md create mode 100644 docs/models/updateprojectcontenthint4.md create mode 100644 docs/models/updateprojectcontenthint5.md create mode 100644 docs/models/updateprojectcontenthint6.md create mode 100644 docs/models/updateprojectcontenthint7.md create mode 100644 docs/models/updateprojectcontenthint8.md create mode 100644 docs/models/updateprojectcontenthint9.md rename docs/models/{operations => }/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md (80%) rename docs/models/{operations => }/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md (81%) rename docs/models/{operations => }/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md (81%) rename docs/models/{operations => }/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md (81%) rename docs/models/{operations => }/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md (81%) rename docs/models/{operations => }/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md (81%) rename docs/models/{operations => }/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md (81%) rename docs/models/{operations => }/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md (80%) rename docs/models/{operations => }/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md (81%) rename docs/models/{operations => }/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md (81%) rename docs/models/{operations => }/updateprojectcontenthintprojectsresponse200applicationjsontype.md (83%) rename docs/models/{operations => }/updateprojectcontenthintprojectsresponse200type.md (86%) rename docs/models/{operations => }/updateprojectcontenthintprojectsresponsetype.md (85%) rename docs/models/{operations => }/updateprojectcontenthintprojectstype.md (87%) rename docs/models/{operations => }/updateprojectcontenthinttype.md (88%) rename docs/models/{operations => }/updateprojectcreator.md (90%) rename docs/models/{operations => }/updateprojectcrons.md (94%) rename docs/models/{operations => }/updateprojectcustomenvironments.md (90%) rename docs/models/{operations => }/updateprojectdatacache.md (86%) rename docs/models/{operations => }/updateprojectdatacacheaction.md (87%) create mode 100644 docs/models/updateprojectdatacachealgo.md rename docs/models/{operations => }/updateprojectdatacachealiasassigned.md (100%) rename docs/models/{operations => }/updateprojectdatacachealiaserror.md (92%) create mode 100644 docs/models/updateprojectdatacachebranchmatcher.md rename docs/models/{operations => }/updateprojectdatacachebuilds.md (94%) rename docs/models/{operations => }/updateprojectdatacachechecksconclusion.md (84%) rename docs/models/{operations => }/updateprojectdatacachechecksstate.md (85%) create mode 100644 docs/models/updateprojectdatacachecontenthint11.md rename docs/models/{operations => }/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md (85%) rename docs/models/{operations => }/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md (86%) rename docs/models/{operations => }/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md (86%) rename docs/models/{operations => }/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md (86%) rename docs/models/{operations => }/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md (86%) rename docs/models/{operations => }/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md (86%) rename docs/models/{operations => }/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md (85%) rename docs/models/{operations => }/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md (86%) rename docs/models/{operations => }/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodytype.md (86%) rename docs/models/{operations => }/updateprojectdatacachecontenthintprojectsresponse200applicationjsontype.md (79%) rename docs/models/{operations => }/updateprojectdatacachecontenthintprojectsresponse200type.md (82%) rename docs/models/{operations => }/updateprojectdatacachecontenthintprojectsresponsetype.md (83%) rename docs/models/{operations => }/updateprojectdatacachecontenthintprojectstype.md (83%) rename docs/models/{operations => }/updateprojectdatacachecontenthinttype.md (84%) rename docs/models/{operations => }/updateprojectdatacachecreator.md (95%) create mode 100644 docs/models/updateprojectdatacachedatacache.md rename docs/models/{operations => }/updateprojectdatacachedeploymenttype.md (85%) rename docs/models/{operations => }/updateprojectdatacacheframework.md (94%) rename docs/models/{operations => }/updateprojectdatacacheissuermode.md (88%) rename docs/models/{operations => }/updateprojectdatacachelinkdeployhooks.md (94%) rename docs/models/{operations => }/updateprojectdatacachelinkprojectstype.md (83%) rename docs/models/{operations => }/updateprojectdatacachelinktype.md (84%) create mode 100644 docs/models/updateprojectdatacachemitigate.md rename docs/models/{operations => }/updateprojectdatacachenodeversion.md (86%) rename docs/models/{operations => }/updateprojectdatacacheoidctokenclaims.md (96%) create mode 100644 docs/models/updateprojectdatacacheoidctokenconfig.md create mode 100644 docs/models/updateprojectdatacacheoptionsallowlist.md rename docs/models/{operations => }/updateprojectdatacachepasswordprotection.md (86%) rename docs/models/{operations => }/updateprojectdatacachepaths.md (92%) create mode 100644 docs/models/updateprojectdatacacheplan.md rename docs/models/{operations => }/updateprojectdatacacheprojectsaliaserror.md (92%) rename docs/models/{operations => }/updateprojectdatacacheprojectsbuilds.md (93%) rename docs/models/{operations => }/updateprojectdatacacheprojectschecksconclusion.md (83%) rename docs/models/{operations => }/updateprojectdatacacheprojectschecksstate.md (84%) rename docs/models/{operations => }/updateprojectdatacacheprojectscreator.md (94%) rename docs/models/{operations => }/updateprojectdatacacheprojectsoidctokenclaims.md (95%) rename docs/models/{operations => }/updateprojectdatacacheprojectsplan.md (84%) rename docs/models/{operations => }/updateprojectdatacacheprojectsreadystate.md (85%) rename docs/models/{operations => }/updateprojectdatacacheprojectsreadysubstate.md (82%) create mode 100644 docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md create mode 100644 docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecuritytype.md rename docs/models/{operations => }/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytargetstype.md (79%) rename docs/models/{operations => }/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytype.md (79%) rename docs/models/{operations => }/updateprojectdatacacheprojectsresponse200applicationjsontype.md (81%) rename docs/models/{operations => }/updateprojectdatacacheprojectsresponse200type.md (84%) rename docs/models/{operations => }/updateprojectdatacacheprojectsresponsetype.md (83%) rename docs/models/{operations => }/updateprojectdatacacheprojectstype.md (83%) create mode 100644 docs/models/updateprojectdatacacheprojectsvalue.md rename docs/models/{operations => }/updateprojectdatacachereadystate.md (87%) rename docs/models/{operations => }/updateprojectdatacachereadysubstate.md (84%) create mode 100644 docs/models/updateprojectdatacacherequest.md rename docs/models/{operations => }/updateprojectdatacacherequestbody.md (96%) create mode 100644 docs/models/updateprojectdatacacheresourceconfig.md create mode 100644 docs/models/updateprojectdatacacheresponsebody.md create mode 100644 docs/models/updateprojectdatacachesecurity.md create mode 100644 docs/models/updateprojectdatacachessoprotection.md create mode 100644 docs/models/updateprojectdatacachetarget.md rename docs/models/{operations => }/updateprojectdatacachetarget1.md (86%) rename docs/models/{operations => }/updateprojectdatacachetarget2.md (86%) create mode 100644 docs/models/updateprojectdatacachetrustedips.md rename docs/models/{operations => }/updateprojectdatacachetrustedipsaddresses.md (91%) rename docs/models/{operations => }/updateprojectdatacachetrustedipsdeploymenttype.md (85%) rename docs/models/{operations => }/updateprojectdatacachetrustedipsprotectionmode.md (82%) create mode 100644 docs/models/updateprojectdatacachetype.md create mode 100644 docs/models/updateprojectdatacachevalue.md rename docs/models/{operations => }/updateprojectdatacachevalue2.md (97%) rename docs/models/{operations => }/updateprojectdatacachevalueprojects2.md (96%) create mode 100644 docs/models/updateprojectdatacachewebanalytics.md rename docs/models/{operations => }/updateprojectdefinitions.md (94%) rename docs/models/{operations => }/updateprojectdeploymentexpiration.md (96%) rename docs/models/{operations => }/updateprojectdeploymenttype.md (92%) create mode 100644 docs/models/updateprojectdomainrequest.md create mode 100644 docs/models/updateprojectdomainrequestbody.md rename docs/models/{operations => }/updateprojectdomainresponsebody.md (98%) rename docs/models/{operations => }/updateprojectdomainverification.md (96%) create mode 100644 docs/models/updateprojectenv.md create mode 100644 docs/models/updateprojecterl.md create mode 100644 docs/models/updateprojectfirewallroutes.md rename docs/models/{operations => }/updateprojectframework.md (89%) rename docs/models/{operations => }/updateprojectfunctiondefaultmemorytype.md (87%) rename docs/models/{operations => }/updateprojectgitcomments.md (91%) create mode 100644 docs/models/updateprojecthandle.md create mode 100644 docs/models/updateprojecthas.md create mode 100644 docs/models/updateprojectinternalcontenthint.md rename docs/models/{operations => }/updateprojectipbuckets.md (84%) create mode 100644 docs/models/updateprojectissuermode.md create mode 100644 docs/models/updateprojectjobstatus.md create mode 100644 docs/models/updateprojectlastaliasrequest.md rename docs/models/{operations => }/updateprojectlastrollbacktarget.md (90%) create mode 100644 docs/models/updateprojectlatestdeployments.md create mode 100644 docs/models/updateprojectlink.md rename docs/models/{operations => }/updateprojectlink1.md (95%) rename docs/models/{operations => }/updateprojectlink2.md (97%) create mode 100644 docs/models/updateprojectlink3.md rename docs/models/{operations => }/updateprojectlinkdeployhooks.md (96%) rename docs/models/{operations => }/updateprojectlinkprojectsdeployhooks.md (95%) rename docs/models/{operations => }/updateprojectlinkprojectsresponsedeployhooks.md (95%) rename docs/models/{operations => }/updateprojectlinkprojectsresponsetype.md (86%) rename docs/models/{operations => }/updateprojectlinkprojectstype.md (87%) create mode 100644 docs/models/updateprojectlinktype.md rename docs/models/{operations => }/updateprojectmicrofrontends.md (99%) create mode 100644 docs/models/updateprojectmissing.md create mode 100644 docs/models/updateprojectmitigate.md create mode 100644 docs/models/updateprojectnodeversion.md rename docs/models/{operations => }/updateprojectoidctokenclaims.md (97%) create mode 100644 docs/models/updateprojectoidctokenconfig.md create mode 100644 docs/models/updateprojectoptionsallowlist.md rename docs/models/{operations => }/updateprojectpasswordprotection.md (90%) rename docs/models/{operations => }/updateprojectpaths.md (81%) create mode 100644 docs/models/updateprojectpermissions.md create mode 100644 docs/models/updateprojectplan.md rename docs/models/{operations => }/updateprojectprojectsaliasassigned.md (100%) rename docs/models/{operations => }/updateprojectprojectsaliaserror.md (94%) create mode 100644 docs/models/updateprojectprojectsbranchmatcher.md rename docs/models/{operations => }/updateprojectprojectsbuilds.md (95%) rename docs/models/{operations => }/updateprojectprojectschecksconclusion.md (87%) rename docs/models/{operations => }/updateprojectprojectschecksstate.md (88%) rename docs/models/{operations => }/updateprojectprojectscreator.md (96%) rename docs/models/{operations => }/updateprojectprojectsdeploymenttype.md (91%) rename docs/models/{operations => }/updateprojectprojectsframework.md (95%) rename docs/models/{operations => }/updateprojectprojectsissuermode.md (90%) rename docs/models/{operations => }/updateprojectprojectsnodeversion.md (89%) rename docs/models/{operations => }/updateprojectprojectsoidctokenclaims.md (97%) create mode 100644 docs/models/updateprojectprojectsoidctokenconfig.md create mode 100644 docs/models/updateprojectprojectsplan.md rename docs/models/{operations => }/updateprojectprojectsreadystate.md (89%) rename docs/models/{operations => }/updateprojectprojectsreadysubstate.md (87%) rename docs/models/{operations => }/updateprojectprojectsresponse200applicationjsonresponsebodyenvtype.md (81%) create mode 100644 docs/models/updateprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md create mode 100644 docs/models/updateprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md rename docs/models/{operations => }/updateprojectprojectsresponse200applicationjsonresponsebodytype.md (83%) rename docs/models/{operations => }/updateprojectprojectsresponse200applicationjsontype.md (84%) rename docs/models/{operations => }/updateprojectprojectsresponse200type.md (86%) rename docs/models/{operations => }/updateprojectprojectsresponsedeploymenttype.md (86%) rename docs/models/{operations => }/updateprojectprojectsresponsetype.md (86%) create mode 100644 docs/models/updateprojectprojectstype.md create mode 100644 docs/models/updateprojectprojectsvalue.md create mode 100644 docs/models/updateprojectprotectionbypass.md create mode 100644 docs/models/updateprojectprotectionbypassprotectionbypass.md create mode 100644 docs/models/updateprojectprotectionbypassrequest.md rename docs/models/{operations => }/updateprojectprotectionbypassrequestbody.md (84%) create mode 100644 docs/models/updateprojectprotectionbypassresponsebody.md rename docs/models/{operations => }/updateprojectprotectionbypassscope.md (82%) create mode 100644 docs/models/updateprojectreadystate.md create mode 100644 docs/models/updateprojectreadysubstate.md create mode 100644 docs/models/updateprojectrequest.md rename docs/models/{operations => }/updateprojectrequestbody.md (97%) create mode 100644 docs/models/updateprojectresourceconfig.md create mode 100644 docs/models/updateprojectresponsebody.md create mode 100644 docs/models/updateprojectscope.md create mode 100644 docs/models/updateprojectsecurity.md rename docs/models/{operations => }/updateprojectspeedinsights.md (89%) create mode 100644 docs/models/updateprojectsrc.md rename docs/models/{operations => }/updateprojectsrc2.md (93%) create mode 100644 docs/models/updateprojectssoprotection.md create mode 100644 docs/models/updateprojecttarget.md create mode 100644 docs/models/updateprojecttarget2.md create mode 100644 docs/models/updateprojecttargets.md create mode 100644 docs/models/updateprojecttier.md create mode 100644 docs/models/updateprojecttrustedips.md create mode 100644 docs/models/updateprojecttrustedips1.md create mode 100644 docs/models/updateprojecttrustedips2.md rename docs/models/{operations => }/updateprojecttrustedipsaddresses.md (94%) rename docs/models/{operations => }/updateprojecttrustedipsdeploymenttype.md (89%) rename docs/models/{operations => }/updateprojecttrustedipsprojectsdeploymenttype.md (87%) rename docs/models/{operations => }/updateprojecttrustedipsprotectionmode.md (86%) create mode 100644 docs/models/updateprojecttype.md create mode 100644 docs/models/updateprojectvalue.md rename docs/models/{operations => }/updateprojectvalue2.md (93%) rename docs/models/{operations => }/updateprojectvalueprojects2.md (97%) rename docs/models/{operations => }/updateprojectwebanalytics.md (88%) create mode 100644 docs/models/updaterecorddnstype.md create mode 100644 docs/models/updaterecordrequest.md create mode 100644 docs/models/updaterecordrequestbody.md create mode 100644 docs/models/updaterecordresponsebody.md create mode 100644 docs/models/updaterecordtype.md create mode 100644 docs/models/updateresourcesecretsrequest.md create mode 100644 docs/models/updateresourcesecretsrequestbody.md rename docs/models/{operations => }/updateteammemberjoinedfrom.md (79%) rename docs/models/{operations => }/updateteammemberprojects.md (90%) create mode 100644 docs/models/updateteammemberrequest.md create mode 100644 docs/models/updateteammemberrequestbody.md rename docs/models/{operations => }/updateteammemberresponsebody.md (93%) rename docs/models/{operations => }/updateteammemberrole.md (75%) rename docs/models/{operations => }/uploadartifactrequest.md (98%) rename docs/models/{operations => }/uploadartifactresponsebody.md (93%) create mode 100644 docs/models/uploadcertrequest.md rename docs/models/{operations => }/uploadcertrequestbody.md (92%) rename docs/models/{operations => }/uploadcertresponsebody.md (85%) rename docs/models/{operations => }/uploadedfile.md (95%) rename docs/models/{operations => }/uploadfilerequest.md (96%) create mode 100644 docs/models/uploadfileresponsebody.md rename docs/models/{operations => }/uploadfileresponsebody1.md (90%) create mode 100644 docs/models/uploadfileresponsebody2.md rename docs/models/{operations => }/usage.md (97%) rename docs/models/{operations => }/user.md (80%) rename docs/models/{components => }/userevent.md (77%) rename docs/models/{operations => }/utm.md (89%) create mode 100644 docs/models/vercelbadrequesterror.md create mode 100644 docs/models/vercelforbiddenerror.md create mode 100644 docs/models/vercelforbiddenerrorerror.md create mode 100644 docs/models/vercelnotfounderror.md create mode 100644 docs/models/vercelnotfounderrorerror.md create mode 100644 docs/models/vercelratelimiterror.md create mode 100644 docs/models/vercelratelimiterrorerror.md rename docs/models/{operations => }/verification.md (92%) create mode 100644 docs/models/verified.md rename docs/models/{operations => }/verifiedbotsbypass.md (87%) rename docs/models/{operations => }/verifyprojectdomainrequest.md (95%) rename docs/models/{operations => }/verifyprojectdomainresponsebody.md (98%) rename docs/models/{operations => }/verifyprojectdomainverification.md (96%) create mode 100644 docs/models/version.md create mode 100644 docs/models/view.md create mode 100644 docs/models/viewpreference.md create mode 100644 docs/models/virtualexperiencescore.md create mode 100644 docs/models/webanalytics.md create mode 100644 docs/models/xss.md rename src/models/{components => }/aclaction.ts (95%) create mode 100644 src/models/addprojectdomainop.ts create mode 100644 src/models/addprojectmemberop.ts create mode 100644 src/models/artifactexistsop.ts create mode 100644 src/models/artifactqueryop.ts create mode 100644 src/models/assignaliasop.ts rename src/models/{components => }/authtoken.ts (98%) rename src/models/{components => }/authuser.ts (99%) rename src/models/{components => }/authuserlimited.ts (95%) create mode 100644 src/models/buydomainop.ts create mode 100644 src/models/canceldeploymentop.ts create mode 100644 src/models/checkdomainpriceop.ts create mode 100644 src/models/checkdomainstatusop.ts create mode 100644 src/models/createaccessgroupop.ts create mode 100644 src/models/createaccessgroupprojectop.ts create mode 100644 src/models/createauthtokenop.ts create mode 100644 src/models/createcheckop.ts create mode 100644 src/models/createconfigurablelogdrainop.ts create mode 100644 src/models/createdeploymentop.ts create mode 100644 src/models/createedgeconfigop.ts create mode 100644 src/models/createedgeconfigtokenop.ts create mode 100644 src/models/createeventop.ts create mode 100644 src/models/createlogdrainop.ts create mode 100644 src/models/createortransferdomainop.ts create mode 100644 src/models/createprojectenvop.ts create mode 100644 src/models/createprojectop.ts create mode 100644 src/models/createrecordop.ts create mode 100644 src/models/createteamop.ts create mode 100644 src/models/createwebhookop.ts create mode 100644 src/models/deleteaccessgroupop.ts create mode 100644 src/models/deleteaccessgroupprojectop.ts create mode 100644 src/models/deletealiasop.ts create mode 100644 src/models/deleteauthtokenop.ts create mode 100644 src/models/deleteconfigurablelogdrainop.ts create mode 100644 src/models/deleteconfigurationop.ts create mode 100644 src/models/deletedeploymentop.ts create mode 100644 src/models/deletedomainop.ts create mode 100644 src/models/deleteedgeconfigop.ts create mode 100644 src/models/deleteedgeconfigschemaop.ts create mode 100644 src/models/deleteedgeconfigtokensop.ts create mode 100644 src/models/deleteintegrationlogdrainop.ts create mode 100644 src/models/deleteprojectop.ts create mode 100644 src/models/deleteteaminvitecodeop.ts create mode 100644 src/models/deleteteamop.ts create mode 100644 src/models/deletewebhookop.ts create mode 100644 src/models/downloadartifactop.ts rename src/models/{components => }/edgeconfigitem.ts (92%) rename src/models/{components => }/edgeconfigitemvalue.ts (92%) rename src/models/{components => }/edgeconfigtoken.ts (91%) create mode 100644 src/models/editprojectenvop.ts create mode 100644 src/models/exchangessotokenop.ts rename src/models/{components => }/filetree.ts (94%) create mode 100644 src/models/filterprojectenvsop.ts rename src/models/{components => }/flagjsonvalue.ts (91%) create mode 100644 src/models/getaccountinfoop.ts create mode 100644 src/models/getaliasop.ts create mode 100644 src/models/getallchecksop.ts create mode 100644 src/models/getalllogdrainsop.ts create mode 100644 src/models/getauthtokenop.ts create mode 100644 src/models/getauthuserop.ts create mode 100644 src/models/getcertbyidop.ts create mode 100644 src/models/getcheckop.ts create mode 100644 src/models/getconfigurablelogdrainop.ts create mode 100644 src/models/getconfigurationop.ts create mode 100644 src/models/getconfigurationsop.ts create mode 100644 src/models/getdeploymenteventsop.ts create mode 100644 src/models/getdeploymentfilecontentsop.ts create mode 100644 src/models/getdeploymentop.ts create mode 100644 src/models/getdeploymentsop.ts create mode 100644 src/models/getdomainconfigop.ts create mode 100644 src/models/getdomainop.ts create mode 100644 src/models/getdomainsop.ts create mode 100644 src/models/getdomaintransferop.ts create mode 100644 src/models/getedgeconfigbackupop.ts create mode 100644 src/models/getedgeconfigbackupsop.ts create mode 100644 src/models/getedgeconfigitemop.ts create mode 100644 src/models/getedgeconfigitemsop.ts create mode 100644 src/models/getedgeconfigop.ts create mode 100644 src/models/getedgeconfigschemaop.ts create mode 100644 src/models/getedgeconfigsop.ts create mode 100644 src/models/getedgeconfigtokenop.ts create mode 100644 src/models/getedgeconfigtokensop.ts create mode 100644 src/models/getfirewallconfigop.ts create mode 100644 src/models/getintegrationlogdrainsop.ts create mode 100644 src/models/getinvoiceop.ts create mode 100644 src/models/getmemberop.ts create mode 100644 src/models/getprojectdomainop.ts create mode 100644 src/models/getprojectdomainsop.ts create mode 100644 src/models/getprojectenvop.ts create mode 100644 src/models/getprojectmembersop.ts create mode 100644 src/models/getprojectsop.ts create mode 100644 src/models/getrecordsop.ts create mode 100644 src/models/getteamaccessrequestop.ts create mode 100644 src/models/getteammembersop.ts create mode 100644 src/models/getteamop.ts create mode 100644 src/models/getteamsop.ts create mode 100644 src/models/getwebhookop.ts create mode 100644 src/models/getwebhooksop.ts create mode 100644 src/models/gitnamespacesop.ts rename src/models/{errors => }/httpclienterrors.ts (100%) create mode 100644 src/models/inviteusertoteamop.ts create mode 100644 src/models/issuecertop.ts create mode 100644 src/models/jointeamop.ts create mode 100644 src/models/listaccessgroupmembersop.ts create mode 100644 src/models/listaccessgroupprojectsop.ts create mode 100644 src/models/listaccessgroupsop.ts create mode 100644 src/models/listaliasesop.ts create mode 100644 src/models/listauthtokensop.ts create mode 100644 src/models/listdeploymentaliasesop.ts create mode 100644 src/models/listdeploymentfilesop.ts create mode 100644 src/models/listpromotealiasesop.ts create mode 100644 src/models/listusereventsop.ts delete mode 100644 src/models/operations/addprojectdomain.ts delete mode 100644 src/models/operations/addprojectmember.ts delete mode 100644 src/models/operations/artifactexists.ts delete mode 100644 src/models/operations/artifactquery.ts delete mode 100644 src/models/operations/assignalias.ts delete mode 100644 src/models/operations/buydomain.ts delete mode 100644 src/models/operations/canceldeployment.ts delete mode 100644 src/models/operations/checkdomainprice.ts delete mode 100644 src/models/operations/checkdomainstatus.ts delete mode 100644 src/models/operations/createaccessgroup.ts delete mode 100644 src/models/operations/createaccessgroupproject.ts delete mode 100644 src/models/operations/createauthtoken.ts delete mode 100644 src/models/operations/createcheck.ts delete mode 100644 src/models/operations/createconfigurablelogdrain.ts delete mode 100644 src/models/operations/createdeployment.ts delete mode 100644 src/models/operations/createedgeconfig.ts delete mode 100644 src/models/operations/createedgeconfigtoken.ts delete mode 100644 src/models/operations/createevent.ts delete mode 100644 src/models/operations/createlogdrain.ts delete mode 100644 src/models/operations/createortransferdomain.ts delete mode 100644 src/models/operations/createproject.ts delete mode 100644 src/models/operations/createprojectenv.ts delete mode 100644 src/models/operations/createrecord.ts delete mode 100644 src/models/operations/createteam.ts delete mode 100644 src/models/operations/createwebhook.ts delete mode 100644 src/models/operations/deleteaccessgroup.ts delete mode 100644 src/models/operations/deleteaccessgroupproject.ts delete mode 100644 src/models/operations/deletealias.ts delete mode 100644 src/models/operations/deleteauthtoken.ts delete mode 100644 src/models/operations/deleteconfigurablelogdrain.ts delete mode 100644 src/models/operations/deleteconfiguration.ts delete mode 100644 src/models/operations/deletedeployment.ts delete mode 100644 src/models/operations/deletedomain.ts delete mode 100644 src/models/operations/deleteedgeconfig.ts delete mode 100644 src/models/operations/deleteedgeconfigschema.ts delete mode 100644 src/models/operations/deleteedgeconfigtokens.ts delete mode 100644 src/models/operations/deleteintegrationlogdrain.ts delete mode 100644 src/models/operations/deleteproject.ts delete mode 100644 src/models/operations/deleteteam.ts delete mode 100644 src/models/operations/deleteteaminvitecode.ts delete mode 100644 src/models/operations/deletewebhook.ts delete mode 100644 src/models/operations/downloadartifact.ts delete mode 100644 src/models/operations/editprojectenv.ts delete mode 100644 src/models/operations/exchangessotoken.ts delete mode 100644 src/models/operations/filterprojectenvs.ts delete mode 100644 src/models/operations/getaccountinfo.ts delete mode 100644 src/models/operations/getalias.ts delete mode 100644 src/models/operations/getallchecks.ts delete mode 100644 src/models/operations/getalllogdrains.ts delete mode 100644 src/models/operations/getauthtoken.ts delete mode 100644 src/models/operations/getauthuser.ts delete mode 100644 src/models/operations/getcertbyid.ts delete mode 100644 src/models/operations/getcheck.ts delete mode 100644 src/models/operations/getconfigurablelogdrain.ts delete mode 100644 src/models/operations/getconfiguration.ts delete mode 100644 src/models/operations/getconfigurations.ts delete mode 100644 src/models/operations/getdeployment.ts delete mode 100644 src/models/operations/getdeploymentevents.ts delete mode 100644 src/models/operations/getdeploymentfilecontents.ts delete mode 100644 src/models/operations/getdeployments.ts delete mode 100644 src/models/operations/getdomain.ts delete mode 100644 src/models/operations/getdomainconfig.ts delete mode 100644 src/models/operations/getdomains.ts delete mode 100644 src/models/operations/getdomaintransfer.ts delete mode 100644 src/models/operations/getedgeconfig.ts delete mode 100644 src/models/operations/getedgeconfigbackup.ts delete mode 100644 src/models/operations/getedgeconfigbackups.ts delete mode 100644 src/models/operations/getedgeconfigitem.ts delete mode 100644 src/models/operations/getedgeconfigitems.ts delete mode 100644 src/models/operations/getedgeconfigs.ts delete mode 100644 src/models/operations/getedgeconfigschema.ts delete mode 100644 src/models/operations/getedgeconfigtoken.ts delete mode 100644 src/models/operations/getedgeconfigtokens.ts delete mode 100644 src/models/operations/getfirewallconfig.ts delete mode 100644 src/models/operations/getintegrationlogdrains.ts delete mode 100644 src/models/operations/getinvoice.ts delete mode 100644 src/models/operations/getmember.ts delete mode 100644 src/models/operations/getprojectdomain.ts delete mode 100644 src/models/operations/getprojectdomains.ts delete mode 100644 src/models/operations/getprojectenv.ts delete mode 100644 src/models/operations/getprojectmembers.ts delete mode 100644 src/models/operations/getprojects.ts delete mode 100644 src/models/operations/getrecords.ts delete mode 100644 src/models/operations/getteam.ts delete mode 100644 src/models/operations/getteamaccessrequest.ts delete mode 100644 src/models/operations/getteammembers.ts delete mode 100644 src/models/operations/getteams.ts delete mode 100644 src/models/operations/getwebhook.ts delete mode 100644 src/models/operations/getwebhooks.ts delete mode 100644 src/models/operations/gitnamespaces.ts delete mode 100644 src/models/operations/inviteusertoteam.ts delete mode 100644 src/models/operations/issuecert.ts delete mode 100644 src/models/operations/jointeam.ts delete mode 100644 src/models/operations/listaccessgroupmembers.ts delete mode 100644 src/models/operations/listaccessgroupprojects.ts delete mode 100644 src/models/operations/listaccessgroups.ts delete mode 100644 src/models/operations/listaliases.ts delete mode 100644 src/models/operations/listauthtokens.ts delete mode 100644 src/models/operations/listdeploymentaliases.ts delete mode 100644 src/models/operations/listdeploymentfiles.ts delete mode 100644 src/models/operations/listpromotealiases.ts delete mode 100644 src/models/operations/listuserevents.ts delete mode 100644 src/models/operations/patchdomain.ts delete mode 100644 src/models/operations/patchedgeconfigschema.ts delete mode 100644 src/models/operations/patchteam.ts delete mode 100644 src/models/operations/putfirewallconfig.ts delete mode 100644 src/models/operations/readaccessgroup.ts delete mode 100644 src/models/operations/readaccessgroupproject.ts delete mode 100644 src/models/operations/recordevents.ts delete mode 100644 src/models/operations/removecert.ts delete mode 100644 src/models/operations/removeprojectdomain.ts delete mode 100644 src/models/operations/removeprojectenv.ts delete mode 100644 src/models/operations/removeprojectmember.ts delete mode 100644 src/models/operations/removerecord.ts delete mode 100644 src/models/operations/removeteammember.ts delete mode 100644 src/models/operations/requestaccesstoteam.ts delete mode 100644 src/models/operations/requestdelete.ts delete mode 100644 src/models/operations/requestpromote.ts delete mode 100644 src/models/operations/rerequestcheck.ts delete mode 100644 src/models/operations/searchrepo.ts delete mode 100644 src/models/operations/status.ts delete mode 100644 src/models/operations/submitbillingdata.ts delete mode 100644 src/models/operations/submitinvoice.ts delete mode 100644 src/models/operations/updateaccessgroup.ts delete mode 100644 src/models/operations/updateaccessgroupproject.ts delete mode 100644 src/models/operations/updateattackchallengemode.ts delete mode 100644 src/models/operations/updatecheck.ts delete mode 100644 src/models/operations/updateedgeconfig.ts delete mode 100644 src/models/operations/updatefirewallconfig.ts delete mode 100644 src/models/operations/updateinvoice.ts delete mode 100644 src/models/operations/updateproject.ts delete mode 100644 src/models/operations/updateprojectdatacache.ts delete mode 100644 src/models/operations/updateprojectdomain.ts delete mode 100644 src/models/operations/updateprojectprotectionbypass.ts delete mode 100644 src/models/operations/updaterecord.ts delete mode 100644 src/models/operations/updateresourcesecrets.ts delete mode 100644 src/models/operations/updateteammember.ts delete mode 100644 src/models/operations/uploadartifact.ts delete mode 100644 src/models/operations/uploadcert.ts delete mode 100644 src/models/operations/uploadfile.ts delete mode 100644 src/models/operations/verifyprojectdomain.ts rename src/models/{components => }/pagination.ts (91%) create mode 100644 src/models/patchdomainop.ts create mode 100644 src/models/patchedgeconfigschemaop.ts create mode 100644 src/models/patchteamop.ts create mode 100644 src/models/putfirewallconfigop.ts create mode 100644 src/models/ratelimitnotice.ts create mode 100644 src/models/readaccessgroupop.ts create mode 100644 src/models/readaccessgroupprojectop.ts create mode 100644 src/models/recordeventsop.ts create mode 100644 src/models/removecertop.ts create mode 100644 src/models/removeprojectdomainop.ts create mode 100644 src/models/removeprojectenvop.ts create mode 100644 src/models/removeprojectmemberop.ts create mode 100644 src/models/removerecordop.ts create mode 100644 src/models/removeteammemberop.ts create mode 100644 src/models/requestaccesstoteamop.ts create mode 100644 src/models/requestdeleteop.ts create mode 100644 src/models/requestpromoteop.ts create mode 100644 src/models/rerequestcheckop.ts rename src/models/{errors => }/sdkerror.ts (100%) rename src/models/{errors => }/sdkvalidationerror.ts (100%) create mode 100644 src/models/searchrepoop.ts rename src/models/{components => }/security.ts (89%) create mode 100644 src/models/statusop.ts create mode 100644 src/models/submitbillingdataop.ts create mode 100644 src/models/submitinvoiceop.ts rename src/models/{components => }/teamlimited.ts (98%) create mode 100644 src/models/updateaccessgroupop.ts create mode 100644 src/models/updateaccessgroupprojectop.ts create mode 100644 src/models/updateattackchallengemodeop.ts create mode 100644 src/models/updatecheckop.ts create mode 100644 src/models/updateedgeconfigop.ts create mode 100644 src/models/updatefirewallconfigop.ts create mode 100644 src/models/updateinvoiceop.ts create mode 100644 src/models/updateprojectdatacacheop.ts create mode 100644 src/models/updateprojectdomainop.ts create mode 100644 src/models/updateprojectop.ts create mode 100644 src/models/updateprojectprotectionbypassop.ts create mode 100644 src/models/updaterecordop.ts create mode 100644 src/models/updateresourcesecretsop.ts create mode 100644 src/models/updateteammemberop.ts create mode 100644 src/models/uploadartifactop.ts create mode 100644 src/models/uploadcertop.ts create mode 100644 src/models/uploadfileop.ts rename src/models/{components => }/userevent.ts (88%) create mode 100644 src/models/vercelbadrequesterror.ts create mode 100644 src/models/vercelforbiddenerror.ts create mode 100644 src/models/vercelnotfounderror.ts create mode 100644 src/models/vercelratelimiterror.ts create mode 100644 src/models/verifyprojectdomainop.ts diff --git a/.npmignore b/.npmignore index 06cd8abf..9ad259ee 100644 --- a/.npmignore +++ b/.npmignore @@ -1,4 +1,7 @@ **/* +!/FUNCTIONS.md +!/RUNTIMES.md +!/REACT_QUERY.md !/**/*.ts !/**/*.js !/**/*.map diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 9097e90e..3773dae7 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 79567c4a-05f9-4d65-864d-dfe107aa4e9d management: - docChecksum: ed8710b67af2bf584e3e2108fabdce66 + docChecksum: eadc09bfaa02cf7c087b5d0f2599235d docVersion: 0.0.1 - speakeasyVersion: 1.445.2 - generationVersion: 2.461.4 - releaseVersion: 1.1.0 - configChecksum: d9d849fc66fb8a1e0c64d6d636db14c7 + speakeasyVersion: 1.456.0 + generationVersion: 2.481.0 + releaseVersion: 1.2.0 + configChecksum: c02ba5e4aed112ece1697c5e10aa10a9 repoURL: https://github.com/vercel/sdk.git installationURL: https://github.com/vercel/sdk published: true @@ -14,7 +14,7 @@ features: typescript: additionalDependencies: 0.1.0 constsAndDefaults: 0.1.11 - core: 3.18.6 + core: 3.18.11 defaultEnabledRetries: 0.1.0 deprecations: 2.81.1 devContainers: 2.90.0 @@ -31,7 +31,6 @@ features: responseFormat: 0.2.3 retries: 2.83.0 sdkHooks: 0.2.0 - tests: 0.7.0 unions: 2.85.8 uploadStreams: 0.1.0 generatedFiles: @@ -45,2376 +44,2385 @@ generatedFiles: - RUNTIMES.md - USAGE.md - docs/lib/utils/retryconfig.md - - docs/models/components/aclaction.md - - docs/models/components/activedashboardviews.md - - docs/models/components/authtoken.md - - docs/models/components/authtokenscopesorigin.md - - docs/models/components/authtokenscopestype.md - - docs/models/components/authuser.md - - docs/models/components/authuserlimited.md - - docs/models/components/authuserlimitedversion.md - - docs/models/components/billing.md - - docs/models/components/blockedduetooveragetype.md - - docs/models/components/connection.md - - docs/models/components/datacache.md - - docs/models/components/directory.md - - docs/models/components/dismissals.md - - docs/models/components/dismissedtoasts.md - - docs/models/components/edgeconfigitem.md - - docs/models/components/edgeconfigitemvalue.md - - docs/models/components/edgeconfigtoken.md - - docs/models/components/entitlements.md - - docs/models/components/favoriteprojectsandspaces.md - - docs/models/components/favoritesviewpreference.md - - docs/models/components/featureblocks.md - - docs/models/components/filetree.md - - docs/models/components/flagjsonvalue.md - - docs/models/components/gitnamespaceid.md - - docs/models/components/gituserid.md - - docs/models/components/importflowgitnamespace.md - - docs/models/components/importflowgitnamespaceid.md - - docs/models/components/importflowgitprovider.md - - docs/models/components/joinedfrom.md - - docs/models/components/membership.md - - docs/models/components/northstarmigration.md - - docs/models/components/one.md - - docs/models/components/origin.md - - docs/models/components/pagination.md - - docs/models/components/preferredscopesandgitnamespaces.md - - docs/models/components/reason.md - - docs/models/components/recentsviewpreference.md - - docs/models/components/remotecaching.md - - docs/models/components/resourceconfig.md - - docs/models/components/role.md - - docs/models/components/saml.md - - docs/models/components/scopes.md - - docs/models/components/scopes1.md - - docs/models/components/scopes2.md - - docs/models/components/scopesorigin.md - - docs/models/components/scopestype.md - - docs/models/components/security.md - - docs/models/components/softblock.md - - docs/models/components/teamlimited.md - - docs/models/components/two.md - - docs/models/components/type.md - - docs/models/components/userevent.md - - docs/models/components/version.md - - docs/models/components/viewpreference.md - - docs/models/components/webanalytics.md - - docs/models/operations/acceptedchallenges.md - - docs/models/operations/access.md - - docs/models/operations/accessgroups.md - - docs/models/operations/action.md - - docs/models/operations/action1.md - - docs/models/operations/active.md - - docs/models/operations/addprojectdomainredirectstatuscode.md - - docs/models/operations/addprojectdomainrequest.md - - docs/models/operations/addprojectdomainrequestbody.md - - docs/models/operations/addprojectdomainresponsebody.md - - docs/models/operations/addprojectdomainverification.md - - docs/models/operations/addprojectmemberrequest.md - - docs/models/operations/addprojectmemberrequestbody.md - - docs/models/operations/addprojectmemberrequestbody1.md - - docs/models/operations/addprojectmemberrequestbody2.md - - docs/models/operations/addprojectmemberrequestbody3.md - - docs/models/operations/addprojectmemberrequestbodyprojectmembersrole.md - - docs/models/operations/addprojectmemberrequestbodyrole.md - - docs/models/operations/addprojectmemberresponsebody.md - - docs/models/operations/addresses.md - - docs/models/operations/algo.md - - docs/models/operations/aliasassigned.md - - docs/models/operations/aliasassignedat.md - - docs/models/operations/aliaserror.md - - docs/models/operations/aliases.md - - docs/models/operations/aliaswarning.md - - docs/models/operations/analytics.md - - docs/models/operations/applications.md - - docs/models/operations/artifactexistsrequest.md - - docs/models/operations/artifactqueryrequest.md - - docs/models/operations/artifactqueryrequestbody.md - - docs/models/operations/assignaliasrequest.md - - docs/models/operations/assignaliasrequestbody.md - - docs/models/operations/assignaliasresponsebody.md - - docs/models/operations/attribution.md - - docs/models/operations/backup.md - - docs/models/operations/backups.md - - docs/models/operations/billing.md - - docs/models/operations/billing1.md - - docs/models/operations/billing2.md - - docs/models/operations/billingitems.md - - docs/models/operations/billingplan.md - - docs/models/operations/bitbucket.md - - docs/models/operations/branchmatcher.md - - docs/models/operations/build.md - - docs/models/operations/builds.md - - docs/models/operations/buydomaindomain.md - - docs/models/operations/buydomaindomainsdomain.md - - docs/models/operations/buydomaindomainsresponsebody.md - - docs/models/operations/buydomainrequest.md - - docs/models/operations/buydomainrequestbody.md - - docs/models/operations/buydomainresponse.md - - docs/models/operations/buydomainresponsebody.md - - docs/models/operations/canceldeploymentaliasassignedat.md - - docs/models/operations/canceldeploymentaliaserror.md - - docs/models/operations/canceldeploymentaliaswarning.md - - docs/models/operations/canceldeploymentbuild.md - - docs/models/operations/canceldeploymentbuilds.md - - docs/models/operations/canceldeploymentchecksconclusion.md - - docs/models/operations/canceldeploymentchecksstate.md - - docs/models/operations/canceldeploymentcreator.md - - docs/models/operations/canceldeploymentcrons.md - - docs/models/operations/canceldeploymentcustomenvironment.md - - docs/models/operations/canceldeploymentcustomenvironment1.md - - docs/models/operations/canceldeploymentcustomenvironment2.md - - docs/models/operations/canceldeploymentdeploymentsreadystate.md - - docs/models/operations/canceldeploymentdeploymentsstatus.md - - docs/models/operations/canceldeploymentflags.md - - docs/models/operations/canceldeploymentflags1.md - - docs/models/operations/canceldeploymentflags2.md - - docs/models/operations/canceldeploymentflagsdefinitions.md - - docs/models/operations/canceldeploymentframework.md - - docs/models/operations/canceldeploymentfunctions.md - - docs/models/operations/canceldeploymentgitrepo.md - - docs/models/operations/canceldeploymentgitrepo1.md - - docs/models/operations/canceldeploymentgitrepo2.md - - docs/models/operations/canceldeploymentgitrepo3.md - - docs/models/operations/canceldeploymentgitrepodeploymentsownertype.md - - docs/models/operations/canceldeploymentgitrepodeploymentsresponseownertype.md - - docs/models/operations/canceldeploymentgitrepodeploymentsresponsetype.md - - docs/models/operations/canceldeploymentgitrepodeploymentstype.md - - docs/models/operations/canceldeploymentgitrepoownertype.md - - docs/models/operations/canceldeploymentgitrepotype.md - - docs/models/operations/canceldeploymentgitsource.md - - docs/models/operations/canceldeploymentgitsource1.md - - docs/models/operations/canceldeploymentgitsource2.md - - docs/models/operations/canceldeploymentgitsource3.md - - docs/models/operations/canceldeploymentgitsource4.md - - docs/models/operations/canceldeploymentgitsource5.md - - docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md - - docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md - - docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md - - docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md - - docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsontype.md - - docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200type.md - - docs/models/operations/canceldeploymentgitsourcedeploymentsresponsetype.md - - docs/models/operations/canceldeploymentgitsourcedeploymentstype.md - - docs/models/operations/canceldeploymentgitsourceprojectid.md - - docs/models/operations/canceldeploymentgitsourcerepoid.md - - docs/models/operations/canceldeploymentgitsourcetype.md - - docs/models/operations/canceldeploymenthas1.md - - docs/models/operations/canceldeploymenthas2.md - - docs/models/operations/canceldeploymenthasdeploymentstype.md - - docs/models/operations/canceldeploymenthastype.md - - docs/models/operations/canceldeploymentintegrations.md - - docs/models/operations/canceldeploymentlambdas.md - - docs/models/operations/canceldeploymentmicrofrontends.md - - docs/models/operations/canceldeploymentmicrofrontends1.md - - docs/models/operations/canceldeploymentmicrofrontends2.md - - docs/models/operations/canceldeploymentmissing1.md - - docs/models/operations/canceldeploymentmissing2.md - - docs/models/operations/canceldeploymentmissingdeploymentstype.md - - docs/models/operations/canceldeploymentmissingtype.md - - docs/models/operations/canceldeploymentoidctokenclaims.md - - docs/models/operations/canceldeploymentoutput.md - - docs/models/operations/canceldeploymentplan.md - - docs/models/operations/canceldeploymentproject.md - - docs/models/operations/canceldeploymentprojectsettings.md - - docs/models/operations/canceldeploymentreadystate.md - - docs/models/operations/canceldeploymentreadysubstate.md - - docs/models/operations/canceldeploymentrequest.md - - docs/models/operations/canceldeploymentresponsebody.md - - docs/models/operations/canceldeploymentroutes.md - - docs/models/operations/canceldeploymentroutes1.md - - docs/models/operations/canceldeploymentroutes2.md - - docs/models/operations/canceldeploymentroutes3.md - - docs/models/operations/canceldeploymentrouteshandle.md - - docs/models/operations/canceldeploymentrouteshas.md - - docs/models/operations/canceldeploymentroutesmissing.md - - docs/models/operations/canceldeploymentsource.md - - docs/models/operations/canceldeploymentspeedinsights.md - - docs/models/operations/canceldeploymentstatus.md - - docs/models/operations/canceldeploymenttarget.md - - docs/models/operations/canceldeploymentteam.md - - docs/models/operations/canceldeploymenttype.md - - docs/models/operations/canceldeploymentwebanalytics.md - - docs/models/operations/changes.md - - docs/models/operations/checkdomainpricerequest.md - - docs/models/operations/checkdomainpriceresponsebody.md - - docs/models/operations/checkdomainstatusrequest.md - - docs/models/operations/checkdomainstatusresponsebody.md - - docs/models/operations/checks.md - - docs/models/operations/checksconclusion.md - - docs/models/operations/checksstate.md - - docs/models/operations/cls.md - - docs/models/operations/computedprojectrole.md - - docs/models/operations/conclusion.md - - docs/models/operations/conditiongroup.md - - docs/models/operations/conditions.md - - docs/models/operations/configuredby.md - - docs/models/operations/contact.md - - docs/models/operations/contenthint.md - - docs/models/operations/contenthint1.md - - docs/models/operations/contenthint10.md - - docs/models/operations/contenthint11.md - - docs/models/operations/contenthint12.md - - docs/models/operations/contenthint13.md - - docs/models/operations/contenthint14.md - - docs/models/operations/contenthint15.md - - docs/models/operations/contenthint2.md - - docs/models/operations/contenthint3.md - - docs/models/operations/contenthint4.md - - docs/models/operations/contenthint5.md - - docs/models/operations/contenthint6.md - - docs/models/operations/contenthint7.md - - docs/models/operations/contenthint8.md - - docs/models/operations/contenthint9.md - - docs/models/operations/contenthinttype.md - - docs/models/operations/createaccessgroupprojectaccessgroupsrole.md - - docs/models/operations/createaccessgroupprojectrequest.md - - docs/models/operations/createaccessgroupprojectrequestbody.md - - docs/models/operations/createaccessgroupprojectresponsebody.md - - docs/models/operations/createaccessgroupprojectrole.md - - docs/models/operations/createaccessgroupprojects.md - - docs/models/operations/createaccessgrouprequest.md - - docs/models/operations/createaccessgrouprequestbody.md - - docs/models/operations/createaccessgroupresponsebody.md - - docs/models/operations/createaccessgrouprole.md - - docs/models/operations/createauthtokenrequest.md - - docs/models/operations/createauthtokenrequestbody.md - - docs/models/operations/createauthtokenresponsebody.md - - docs/models/operations/createcheckchecksresponse200applicationjsonsource.md - - docs/models/operations/createcheckchecksresponse200source.md - - docs/models/operations/createcheckchecksresponsesource.md - - docs/models/operations/createcheckcheckssource.md - - docs/models/operations/createcheckcls.md - - docs/models/operations/createcheckconclusion.md - - docs/models/operations/createcheckfcp.md - - docs/models/operations/createchecklcp.md - - docs/models/operations/createcheckmetrics.md - - docs/models/operations/createcheckoutput.md - - docs/models/operations/createcheckrequest.md - - docs/models/operations/createcheckrequestbody.md - - docs/models/operations/createcheckresponsebody.md - - docs/models/operations/createchecksource.md - - docs/models/operations/createcheckstatus.md - - docs/models/operations/createchecktbt.md - - docs/models/operations/createcheckvirtualexperiencescore.md - - docs/models/operations/createconfigurablelogdraincreatedfrom.md - - docs/models/operations/createconfigurablelogdraindeliveryformat.md - - docs/models/operations/createconfigurablelogdraindisabledreason.md - - docs/models/operations/createconfigurablelogdrainenvironments.md - - docs/models/operations/createconfigurablelogdrainlogdrainsdeliveryformat.md - - docs/models/operations/createconfigurablelogdrainlogdrainsenvironments.md - - docs/models/operations/createconfigurablelogdrainlogdrainssources.md - - docs/models/operations/createconfigurablelogdrainrequest.md - - docs/models/operations/createconfigurablelogdrainrequestbody.md - - docs/models/operations/createconfigurablelogdrainresponsebody.md - - docs/models/operations/createconfigurablelogdrainsources.md - - docs/models/operations/createconfigurablelogdrainstatus.md - - docs/models/operations/created.md - - docs/models/operations/created1.md - - docs/models/operations/created2.md - - docs/models/operations/createdcontenthint.md - - docs/models/operations/createdeploymentcrons.md - - docs/models/operations/createdeploymentdeploymentsstatus.md - - docs/models/operations/createdeploymentframework.md - - docs/models/operations/createdeploymentgitrepodeploymentstype.md - - docs/models/operations/createdeploymentgitrepoownertype.md - - docs/models/operations/createdeploymentgitrepotype.md - - docs/models/operations/createdeploymentgitsource.md - - docs/models/operations/createdeploymentgitsource6.md - - docs/models/operations/createdeploymentgitsource7.md - - docs/models/operations/createdeploymentgitsource8.md - - docs/models/operations/createdeploymentgitsource9.md - - docs/models/operations/createdeploymentgitsourcedeploymentsrequesttype.md - - docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody5type.md - - docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody6type.md - - docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md - - docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md - - docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md - - docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md - - docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsontype.md - - docs/models/operations/createdeploymentgitsourcedeploymentsresponse200type.md - - docs/models/operations/createdeploymentgitsourcedeploymentsresponsetype.md - - docs/models/operations/createdeploymentgitsourcedeploymentstype.md - - docs/models/operations/createdeploymentgitsourcetype.md - - docs/models/operations/createdeploymenthastype.md - - docs/models/operations/createdeploymentmicrofrontends.md - - docs/models/operations/createdeploymentmissingtype.md - - docs/models/operations/createdeploymentoutput.md - - docs/models/operations/createdeploymentprojectsettings.md - - docs/models/operations/createdeploymentreadystate.md - - docs/models/operations/createdeploymentrequest.md - - docs/models/operations/createdeploymentrequestbody.md - - docs/models/operations/createdeploymentresponsebody.md - - docs/models/operations/createdeploymentsource.md - - docs/models/operations/createdeploymentspeedinsights.md - - docs/models/operations/createdeploymentstatus.md - - docs/models/operations/createdeploymenttarget.md - - docs/models/operations/createdeploymenttype.md - - docs/models/operations/createdeploymentwebanalytics.md - - docs/models/operations/createdfrom.md - - docs/models/operations/createdinternalcontenthint.md - - docs/models/operations/createdtarget.md - - docs/models/operations/createdtype.md - - docs/models/operations/createedgeconfigpurpose.md - - docs/models/operations/createedgeconfigrequest.md - - docs/models/operations/createedgeconfigrequestbody.md - - docs/models/operations/createedgeconfigresponsebody.md - - docs/models/operations/createedgeconfigschema.md - - docs/models/operations/createedgeconfigtokenrequest.md - - docs/models/operations/createedgeconfigtokenrequestbody.md - - docs/models/operations/createedgeconfigtokenresponsebody.md - - docs/models/operations/createedgeconfigtransfer.md - - docs/models/operations/createedgeconfigtype.md - - docs/models/operations/createeventevent.md - - docs/models/operations/createeventeventtype.md - - docs/models/operations/createeventrequest.md - - docs/models/operations/createeventrequestbody.md - - docs/models/operations/createlogdraincreatedfrom.md - - docs/models/operations/createlogdraindeliveryformat.md - - docs/models/operations/createlogdrainenvironments.md - - docs/models/operations/createlogdrainrequest.md - - docs/models/operations/createlogdrainrequestbody.md - - docs/models/operations/createlogdrainresponsebody.md - - docs/models/operations/createlogdrainsources.md - - docs/models/operations/createortransferdomaincreator.md - - docs/models/operations/createortransferdomaindomain.md - - docs/models/operations/createortransferdomainrequest.md - - docs/models/operations/createortransferdomainrequestbody.md - - docs/models/operations/createortransferdomainrequestbody1.md - - docs/models/operations/createortransferdomainrequestbody2.md - - docs/models/operations/createortransferdomainrequestbody3.md - - docs/models/operations/createortransferdomainresponsebody.md - - docs/models/operations/createortransferdomainservicetype.md - - docs/models/operations/createprojectaction.md - - docs/models/operations/createprojectalgo.md - - docs/models/operations/createprojectaliasassigned.md - - docs/models/operations/createprojectaliaserror.md - - docs/models/operations/createprojectanalytics.md - - docs/models/operations/createprojectbranchmatcher.md - - docs/models/operations/createprojectbuilds.md - - docs/models/operations/createprojectchecksconclusion.md - - docs/models/operations/createprojectchecksstate.md - - docs/models/operations/createprojectcontenthint.md - - docs/models/operations/createprojectcontenthint1.md - - docs/models/operations/createprojectcontenthint10.md - - docs/models/operations/createprojectcontenthint2.md - - docs/models/operations/createprojectcontenthint3.md - - docs/models/operations/createprojectcontenthint4.md - - docs/models/operations/createprojectcontenthint5.md - - docs/models/operations/createprojectcontenthint6.md - - docs/models/operations/createprojectcontenthint7.md - - docs/models/operations/createprojectcontenthint8.md - - docs/models/operations/createprojectcontenthint9.md - - docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md - - docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md - - docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md - - docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md - - docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md - - docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md - - docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md - - docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md - - docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md - - docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md - - docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsontype.md - - docs/models/operations/createprojectcontenthintprojectsresponse200type.md - - docs/models/operations/createprojectcontenthintprojectsresponsetype.md - - docs/models/operations/createprojectcontenthintprojectstype.md - - docs/models/operations/createprojectcontenthinttype.md - - docs/models/operations/createprojectcreator.md - - docs/models/operations/createprojectcrons.md - - docs/models/operations/createprojectcustomenvironments.md - - docs/models/operations/createprojectdatacache.md - - docs/models/operations/createprojectdefinitions.md - - docs/models/operations/createprojectdeploymentexpiration.md - - docs/models/operations/createprojectdeploymenttype.md - - docs/models/operations/createprojectenv.md - - docs/models/operations/createprojectenv11.md - - docs/models/operations/createprojectenv12.md - - docs/models/operations/createprojectenv1target.md - - docs/models/operations/createprojectenv1type.md - - docs/models/operations/createprojectenv2target.md - - docs/models/operations/createprojectenv2type.md - - docs/models/operations/createprojectenvcontenthint1.md - - docs/models/operations/createprojectenvcontenthint10.md - - docs/models/operations/createprojectenvcontenthint11.md - - docs/models/operations/createprojectenvcontenthint12.md - - docs/models/operations/createprojectenvcontenthint13.md - - docs/models/operations/createprojectenvcontenthint14.md - - docs/models/operations/createprojectenvcontenthint15.md - - docs/models/operations/createprojectenvcontenthint2.md - - docs/models/operations/createprojectenvcontenthint3.md - - docs/models/operations/createprojectenvcontenthint4.md - - docs/models/operations/createprojectenvcontenthint5.md - - docs/models/operations/createprojectenvcontenthint6.md - - docs/models/operations/createprojectenvcontenthint7.md - - docs/models/operations/createprojectenvcontenthint8.md - - docs/models/operations/createprojectenvcontenthint9.md - - docs/models/operations/createprojectenvcontenthintprojects1.md - - docs/models/operations/createprojectenvcontenthintprojects10.md - - docs/models/operations/createprojectenvcontenthintprojects11.md - - docs/models/operations/createprojectenvcontenthintprojects12.md - - docs/models/operations/createprojectenvcontenthintprojects13.md - - docs/models/operations/createprojectenvcontenthintprojects14.md - - docs/models/operations/createprojectenvcontenthintprojects15.md - - docs/models/operations/createprojectenvcontenthintprojects2.md - - docs/models/operations/createprojectenvcontenthintprojects3.md - - docs/models/operations/createprojectenvcontenthintprojects4.md - - docs/models/operations/createprojectenvcontenthintprojects5.md - - docs/models/operations/createprojectenvcontenthintprojects6.md - - docs/models/operations/createprojectenvcontenthintprojects7.md - - docs/models/operations/createprojectenvcontenthintprojects8.md - - docs/models/operations/createprojectenvcontenthintprojects9.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated110type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated111type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated112type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated113type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated114type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated115type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated19type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated1type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated210type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated211type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated212type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated213type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated214type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated215type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated22type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated23type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated24type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated25type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated26type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated27type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated28type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated29type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated2type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreatedtype.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodytype.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsontype.md - - docs/models/operations/createprojectenvcontenthintprojectsresponse201type.md - - docs/models/operations/createprojectenvcontenthintprojectsresponsetype.md - - docs/models/operations/createprojectenvcontenthintprojectstype.md - - docs/models/operations/createprojectenvcontenthinttype.md - - docs/models/operations/createprojectenvcreatedcontenthint.md - - docs/models/operations/createprojectenvcreatedinternalcontenthint.md - - docs/models/operations/createprojectenvcreatedprojectsresponsetype.md - - docs/models/operations/createprojectenvcreatedprojectstype.md - - docs/models/operations/createprojectenvcreatedtarget.md - - docs/models/operations/createprojectenvcreatedtype.md - - docs/models/operations/createprojectenverror.md - - docs/models/operations/createprojectenvrequest.md - - docs/models/operations/createprojectenvrequestbody.md - - docs/models/operations/createprojectenvrequestbody1.md - - docs/models/operations/createprojectenvrequestbody2.md - - docs/models/operations/createprojectenvresponsebody.md - - docs/models/operations/createprojectenvtarget.md - - docs/models/operations/createprojectenvtarget1.md - - docs/models/operations/createprojectenvtarget2.md - - docs/models/operations/createprojectenvtargetprojects1.md - - docs/models/operations/createprojectenvtargetprojects2.md - - docs/models/operations/createprojectenvtargetprojectsresponse2.md - - docs/models/operations/createprojectenvvalue.md - - docs/models/operations/createprojectenvvalue2.md - - docs/models/operations/createprojecterl.md - - docs/models/operations/createprojectfirewallroutes.md - - docs/models/operations/createprojectframework.md - - docs/models/operations/createprojectfunctiondefaultmemorytype.md - - docs/models/operations/createprojectgitcomments.md - - docs/models/operations/createprojecthandle.md - - docs/models/operations/createprojecthas.md - - docs/models/operations/createprojectinternalcontenthint.md - - docs/models/operations/createprojectipbuckets.md - - docs/models/operations/createprojectissuermode.md - - docs/models/operations/createprojectjobstatus.md - - docs/models/operations/createprojectlastaliasrequest.md - - docs/models/operations/createprojectlastrollbacktarget.md - - docs/models/operations/createprojectlatestdeployments.md - - docs/models/operations/createprojectlink.md - - docs/models/operations/createprojectlink1.md - - docs/models/operations/createprojectlink2.md - - docs/models/operations/createprojectlink3.md - - docs/models/operations/createprojectlinkdeployhooks.md - - docs/models/operations/createprojectlinkprojectsdeployhooks.md - - docs/models/operations/createprojectlinkprojectsresponsedeployhooks.md - - docs/models/operations/createprojectlinkprojectsresponsetype.md - - docs/models/operations/createprojectlinkprojectstype.md - - docs/models/operations/createprojectlinktype.md - - docs/models/operations/createprojectmicrofrontends.md - - docs/models/operations/createprojectmissing.md - - docs/models/operations/createprojectmitigate.md - - docs/models/operations/createprojectnodeversion.md - - docs/models/operations/createprojectoidctokenclaims.md - - docs/models/operations/createprojectoidctokenconfig.md - - docs/models/operations/createprojectoptionsallowlist.md - - docs/models/operations/createprojectpasswordprotection.md - - docs/models/operations/createprojectpaths.md - - docs/models/operations/createprojectpermissions.md - - docs/models/operations/createprojectplan.md - - docs/models/operations/createprojectprojectsaliasassigned.md - - docs/models/operations/createprojectprojectsaliaserror.md - - docs/models/operations/createprojectprojectsbranchmatcher.md - - docs/models/operations/createprojectprojectsbuilds.md - - docs/models/operations/createprojectprojectschecksconclusion.md - - docs/models/operations/createprojectprojectschecksstate.md - - docs/models/operations/createprojectprojectscreator.md - - docs/models/operations/createprojectprojectsframework.md - - docs/models/operations/createprojectprojectsoidctokenclaims.md - - docs/models/operations/createprojectprojectsplan.md - - docs/models/operations/createprojectprojectsreadystate.md - - docs/models/operations/createprojectprojectsreadysubstate.md - - docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodyenvtype.md - - docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodylatestdeploymentstype.md - - docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md - - docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md - - docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodytargetstype.md - - docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodytype.md - - docs/models/operations/createprojectprojectsresponse200applicationjsontype.md - - docs/models/operations/createprojectprojectsresponse200type.md - - docs/models/operations/createprojectprojectsresponsetype.md - - docs/models/operations/createprojectprojectstarget.md - - docs/models/operations/createprojectprojectstype.md - - docs/models/operations/createprojectprojectsvalue.md - - docs/models/operations/createprojectprotectionbypass.md - - docs/models/operations/createprojectreadystate.md - - docs/models/operations/createprojectreadysubstate.md - - docs/models/operations/createprojectrequest.md - - docs/models/operations/createprojectrequestbody.md - - docs/models/operations/createprojectresourceconfig.md - - docs/models/operations/createprojectresponsebody.md - - docs/models/operations/createprojectscope.md - - docs/models/operations/createprojectsecurity.md - - docs/models/operations/createprojectspeedinsights.md - - docs/models/operations/createprojectsrc.md - - docs/models/operations/createprojectsrc2.md - - docs/models/operations/createprojectssoprotection.md - - docs/models/operations/createprojecttarget.md - - docs/models/operations/createprojecttarget2.md - - docs/models/operations/createprojecttargets.md - - docs/models/operations/createprojecttier.md - - docs/models/operations/createprojecttrustedips.md - - docs/models/operations/createprojecttrustedips1.md - - docs/models/operations/createprojecttrustedips2.md - - docs/models/operations/createprojecttrustedipsdeploymenttype.md - - docs/models/operations/createprojecttrustedipsprojectsdeploymenttype.md - - docs/models/operations/createprojecttype.md - - docs/models/operations/createprojectvalue.md - - docs/models/operations/createprojectvalue2.md - - docs/models/operations/createprojectvalueprojects2.md - - docs/models/operations/createprojectwebanalytics.md - - docs/models/operations/createrecordrequest.md - - docs/models/operations/createrecordrequestbody.md - - docs/models/operations/createrecordrequestbodydnsrequest10type.md - - docs/models/operations/createrecordrequestbodydnsrequest5type.md - - docs/models/operations/createrecordrequestbodydnsrequest6type.md - - docs/models/operations/createrecordrequestbodydnsrequest7type.md - - docs/models/operations/createrecordrequestbodydnsrequest8type.md - - docs/models/operations/createrecordrequestbodydnsrequest9type.md - - docs/models/operations/createrecordrequestbodydnsrequesttype.md - - docs/models/operations/createrecordrequestbodydnstype.md - - docs/models/operations/createrecordrequestbodytype.md - - docs/models/operations/createrecordresponsebody.md - - docs/models/operations/createrecordresponsebody1.md - - docs/models/operations/createrecordresponsebody2.md - - docs/models/operations/createteambilling.md - - docs/models/operations/createteamrequestbody.md - - docs/models/operations/createteamresponsebody.md - - docs/models/operations/createwebhookevents.md - - docs/models/operations/createwebhookrequest.md - - docs/models/operations/createwebhookrequestbody.md - - docs/models/operations/createwebhookresponsebody.md - - docs/models/operations/creator.md - - docs/models/operations/crons.md - - docs/models/operations/crs.md - - docs/models/operations/customenvironment.md - - docs/models/operations/customenvironment1.md - - docs/models/operations/customenvironment2.md - - docs/models/operations/customenvironments.md - - docs/models/operations/datacache.md - - docs/models/operations/decrypt.md - - docs/models/operations/definitions.md - - docs/models/operations/deleteaccessgroupprojectrequest.md - - docs/models/operations/deleteaccessgrouprequest.md - - docs/models/operations/deletealiasrequest.md - - docs/models/operations/deletealiasresponsebody.md - - docs/models/operations/deletealiasstatus.md - - docs/models/operations/deleteauthtokenrequest.md - - docs/models/operations/deleteauthtokenresponsebody.md - - docs/models/operations/deleteconfigurablelogdrainrequest.md - - docs/models/operations/deleteconfigurationrequest.md - - docs/models/operations/deletedeploymentrequest.md - - docs/models/operations/deletedeploymentresponsebody.md - - docs/models/operations/deletedeploymentstate.md - - docs/models/operations/deletedomainrequest.md - - docs/models/operations/deletedomainresponsebody.md - - docs/models/operations/deleteedgeconfigrequest.md - - docs/models/operations/deleteedgeconfigschemarequest.md - - docs/models/operations/deleteedgeconfigtokensrequest.md - - docs/models/operations/deleteedgeconfigtokensrequestbody.md - - docs/models/operations/deleteintegrationlogdrainrequest.md - - docs/models/operations/deleteprojectrequest.md - - docs/models/operations/deleteteaminvitecoderequest.md - - docs/models/operations/deleteteaminvitecoderesponsebody.md - - docs/models/operations/deleteteamrequest.md - - docs/models/operations/deleteteamrequestbody.md - - docs/models/operations/deleteteamresponsebody.md - - docs/models/operations/deletewebhookrequest.md - - docs/models/operations/deliveryformat.md - - docs/models/operations/deployhooks.md - - docs/models/operations/deployment.md - - docs/models/operations/deploymentexpiration.md - - docs/models/operations/deployments.md - - docs/models/operations/deploymenttype.md - - docs/models/operations/details.md - - docs/models/operations/direction.md - - docs/models/operations/disabledreason.md - - docs/models/operations/discounts.md - - docs/models/operations/domain.md - - docs/models/operations/domains.md - - docs/models/operations/downloadartifactrequest.md - - docs/models/operations/editprojectenvcontenthint1.md - - docs/models/operations/editprojectenvcontenthint10.md - - docs/models/operations/editprojectenvcontenthint11.md - - docs/models/operations/editprojectenvcontenthint12.md - - docs/models/operations/editprojectenvcontenthint13.md - - docs/models/operations/editprojectenvcontenthint14.md - - docs/models/operations/editprojectenvcontenthint15.md - - docs/models/operations/editprojectenvcontenthint2.md - - docs/models/operations/editprojectenvcontenthint3.md - - docs/models/operations/editprojectenvcontenthint4.md - - docs/models/operations/editprojectenvcontenthint5.md - - docs/models/operations/editprojectenvcontenthint6.md - - docs/models/operations/editprojectenvcontenthint7.md - - docs/models/operations/editprojectenvcontenthint8.md - - docs/models/operations/editprojectenvcontenthint9.md - - docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md - - docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md - - docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md - - docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md - - docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md - - docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md - - docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md - - docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md - - docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md - - docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md - - docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsontype.md - - docs/models/operations/editprojectenvcontenthintprojectsresponse200type.md - - docs/models/operations/editprojectenvcontenthintprojectsresponsetype.md - - docs/models/operations/editprojectenvcontenthintprojectstype.md - - docs/models/operations/editprojectenvcontenthinttype.md - - docs/models/operations/editprojectenvrequest.md - - docs/models/operations/editprojectenvrequestbody.md - - docs/models/operations/editprojectenvresponsebody.md - - docs/models/operations/editprojectenvresponsebody1.md - - docs/models/operations/editprojectenvresponsebody2.md - - docs/models/operations/editprojectenvresponsebodycontenthint.md - - docs/models/operations/editprojectenvresponsebodyinternalcontenthint.md - - docs/models/operations/editprojectenvresponsebodyprojectstype.md - - docs/models/operations/editprojectenvresponsebodytarget.md - - docs/models/operations/editprojectenvresponsebodytype.md - - docs/models/operations/editprojectenvtarget.md - - docs/models/operations/editprojectenvtarget2.md - - docs/models/operations/editprojectenvtype.md - - docs/models/operations/eight.md - - docs/models/operations/eleven.md - - docs/models/operations/emailinvitecodes.md - - docs/models/operations/encoding.md - - docs/models/operations/entitlements.md - - docs/models/operations/env.md - - docs/models/operations/environments.md - - docs/models/operations/environmentvariables.md - - docs/models/operations/envs.md - - docs/models/operations/erl.md - - docs/models/operations/errort.md - - docs/models/operations/event.md - - docs/models/operations/event1.md - - docs/models/operations/event2.md - - docs/models/operations/events.md - - docs/models/operations/eventtype.md - - docs/models/operations/exchangessotokenrequestbody.md - - docs/models/operations/exchangessotokenresponsebody.md - - docs/models/operations/failed.md - - docs/models/operations/fcp.md - - docs/models/operations/fifteen.md - - docs/models/operations/files.md - - docs/models/operations/filterprojectenvscontenthint1.md - - docs/models/operations/filterprojectenvscontenthint10.md - - docs/models/operations/filterprojectenvscontenthint11.md - - docs/models/operations/filterprojectenvscontenthint12.md - - docs/models/operations/filterprojectenvscontenthint13.md - - docs/models/operations/filterprojectenvscontenthint14.md - - docs/models/operations/filterprojectenvscontenthint15.md - - docs/models/operations/filterprojectenvscontenthint2.md - - docs/models/operations/filterprojectenvscontenthint3.md - - docs/models/operations/filterprojectenvscontenthint4.md - - docs/models/operations/filterprojectenvscontenthint5.md - - docs/models/operations/filterprojectenvscontenthint6.md - - docs/models/operations/filterprojectenvscontenthint7.md - - docs/models/operations/filterprojectenvscontenthint8.md - - docs/models/operations/filterprojectenvscontenthint9.md - - docs/models/operations/filterprojectenvscontenthintprojects1.md - - docs/models/operations/filterprojectenvscontenthintprojects10.md - - docs/models/operations/filterprojectenvscontenthintprojects11.md - - docs/models/operations/filterprojectenvscontenthintprojects12.md - - docs/models/operations/filterprojectenvscontenthintprojects13.md - - docs/models/operations/filterprojectenvscontenthintprojects14.md - - docs/models/operations/filterprojectenvscontenthintprojects15.md - - docs/models/operations/filterprojectenvscontenthintprojects2.md - - docs/models/operations/filterprojectenvscontenthintprojects3.md - - docs/models/operations/filterprojectenvscontenthintprojects4.md - - docs/models/operations/filterprojectenvscontenthintprojects5.md - - docs/models/operations/filterprojectenvscontenthintprojects6.md - - docs/models/operations/filterprojectenvscontenthintprojects7.md - - docs/models/operations/filterprojectenvscontenthintprojects8.md - - docs/models/operations/filterprojectenvscontenthintprojects9.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse1.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse10.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse11.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse12.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse13.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse14.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse15.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse2.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody110type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody111type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody112type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody113type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody114type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody115type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody18type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody19type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody1type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs10type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs11type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs12type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs13type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs14type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs15type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs3type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs4type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs5type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs6type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs7type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs8type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs9type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envstype.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs10type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs11type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs12type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs13type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs14type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs15type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs3type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs4type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs5type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs6type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs7type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs8type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs9type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envstype.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebodytype.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsontype.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse200type.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse3.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse4.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse5.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse6.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse7.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse8.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponse9.md - - docs/models/operations/filterprojectenvscontenthintprojectsresponsetype.md - - docs/models/operations/filterprojectenvscontenthintprojectstype.md - - docs/models/operations/filterprojectenvscontenthinttype.md - - docs/models/operations/filterprojectenvsrequest.md - - docs/models/operations/filterprojectenvsresponsebody.md - - docs/models/operations/filterprojectenvsresponsebody1.md - - docs/models/operations/filterprojectenvsresponsebody2.md - - docs/models/operations/filterprojectenvsresponsebody3.md - - docs/models/operations/filterprojectenvsresponsebodycontenthint.md - - docs/models/operations/filterprojectenvsresponsebodyinternalcontenthint.md - - docs/models/operations/filterprojectenvsresponsebodyprojectscontenthint.md - - docs/models/operations/filterprojectenvsresponsebodyprojectsinternalcontenthint.md - - docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200applicationjson3type.md - - docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200applicationjsontype.md - - docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200type.md - - docs/models/operations/filterprojectenvsresponsebodyprojectsresponsetarget.md - - docs/models/operations/filterprojectenvsresponsebodyprojectsresponsetype.md - - docs/models/operations/filterprojectenvsresponsebodyprojectstarget.md - - docs/models/operations/filterprojectenvsresponsebodyprojectstype.md - - docs/models/operations/filterprojectenvsresponsebodytarget.md - - docs/models/operations/filterprojectenvsresponsebodytype.md - - docs/models/operations/filterprojectenvstarget1.md - - docs/models/operations/filterprojectenvstarget2.md - - docs/models/operations/filterprojectenvstargetprojects1.md - - docs/models/operations/filterprojectenvstargetprojects2.md - - docs/models/operations/filterprojectenvstargetprojectsresponse2.md - - docs/models/operations/firewallroutes.md - - docs/models/operations/five.md - - docs/models/operations/flags.md - - docs/models/operations/flags1.md - - docs/models/operations/flags2.md - - docs/models/operations/flagsdefinitions.md - - docs/models/operations/flagsoptions.md - - docs/models/operations/forcenew.md - - docs/models/operations/four.md - - docs/models/operations/fourteen.md - - docs/models/operations/framework.md - - docs/models/operations/functiondefaultmemorytype.md - - docs/models/operations/functions.md - - docs/models/operations/gen.md - - docs/models/operations/generate.md - - docs/models/operations/getaccountinforequest.md - - docs/models/operations/getaccountinforesponsebody.md - - docs/models/operations/getaliascreator.md - - docs/models/operations/getaliasprotectionbypass.md - - docs/models/operations/getaliasprotectionbypassaliasesresponsescope.md - - docs/models/operations/getaliasprotectionbypassaliasesscope.md - - docs/models/operations/getaliasprotectionbypassscope.md - - docs/models/operations/getaliasrequest.md - - docs/models/operations/getaliasresponsebody.md - - docs/models/operations/getallcheckschecksresponse200applicationjsonsource.md - - docs/models/operations/getallcheckschecksresponse200source.md - - docs/models/operations/getallcheckschecksresponsesource.md - - docs/models/operations/getallcheckscheckssource.md - - docs/models/operations/getallcheckscls.md - - docs/models/operations/getallchecksconclusion.md - - docs/models/operations/getallchecksfcp.md - - docs/models/operations/getallcheckslcp.md - - docs/models/operations/getallchecksmetrics.md - - docs/models/operations/getallchecksoutput.md - - docs/models/operations/getallchecksrequest.md - - docs/models/operations/getallchecksresponsebody.md - - docs/models/operations/getallcheckssource.md - - docs/models/operations/getallchecksstatus.md - - docs/models/operations/getallcheckstbt.md - - docs/models/operations/getallchecksvirtualexperiencescore.md - - docs/models/operations/getalllogdrainscreatedfrom.md - - docs/models/operations/getalllogdrainsdeliveryformat.md - - docs/models/operations/getalllogdrainsdisabledreason.md - - docs/models/operations/getalllogdrainsenvironments.md - - docs/models/operations/getalllogdrainsrequest.md - - docs/models/operations/getalllogdrainsresponsebody.md - - docs/models/operations/getalllogdrainssources.md - - docs/models/operations/getalllogdrainsstatus.md - - docs/models/operations/getauthtokenrequest.md - - docs/models/operations/getauthtokenresponsebody.md - - docs/models/operations/getauthuserresponsebody.md - - docs/models/operations/getcertbyidrequest.md - - docs/models/operations/getcertbyidresponsebody.md - - docs/models/operations/getcheckchecksresponse200applicationjsonsource.md - - docs/models/operations/getcheckchecksresponse200source.md - - docs/models/operations/getcheckchecksresponsesource.md - - docs/models/operations/getcheckcheckssource.md - - docs/models/operations/getcheckcls.md - - docs/models/operations/getcheckconclusion.md - - docs/models/operations/getcheckfcp.md - - docs/models/operations/getchecklcp.md - - docs/models/operations/getcheckmetrics.md - - docs/models/operations/getcheckoutput.md - - docs/models/operations/getcheckrequest.md - - docs/models/operations/getcheckresponsebody.md - - docs/models/operations/getchecksource.md - - docs/models/operations/getcheckstatus.md - - docs/models/operations/getchecktbt.md - - docs/models/operations/getcheckvirtualexperiencescore.md - - docs/models/operations/getconfigurablelogdraincreatedfrom.md - - docs/models/operations/getconfigurablelogdraindeliveryformat.md - - docs/models/operations/getconfigurablelogdrainenvironments.md - - docs/models/operations/getconfigurablelogdrainrequest.md - - docs/models/operations/getconfigurablelogdrainresponsebody.md - - docs/models/operations/getconfigurablelogdrainsources.md - - docs/models/operations/getconfigurablelogdrainstatus.md - - docs/models/operations/getconfigurationrequest.md - - docs/models/operations/getconfigurationresponsebody.md - - docs/models/operations/getconfigurationresponsebody1.md - - docs/models/operations/getconfigurationresponsebody2.md - - docs/models/operations/getconfigurationresponsebodybillingplan.md - - docs/models/operations/getconfigurationresponsebodydetails.md - - docs/models/operations/getconfigurationresponsebodydisabledreason.md - - docs/models/operations/getconfigurationresponsebodyheightlighteddetails.md - - docs/models/operations/getconfigurationresponsebodyinstallationtype.md - - docs/models/operations/getconfigurationresponsebodyintegrationsdisabledreason.md - - docs/models/operations/getconfigurationresponsebodyintegrationsinstallationtype.md - - docs/models/operations/getconfigurationresponsebodyintegrationsresponsetype.md - - docs/models/operations/getconfigurationresponsebodyintegrationssource.md - - docs/models/operations/getconfigurationresponsebodyintegrationstype.md - - docs/models/operations/getconfigurationresponsebodyquote.md - - docs/models/operations/getconfigurationresponsebodyscope.md - - docs/models/operations/getconfigurationresponsebodysource.md - - docs/models/operations/getconfigurationresponsebodytype.md - - docs/models/operations/getconfigurationsrequest.md - - docs/models/operations/getconfigurationsresponsebody.md - - docs/models/operations/getconfigurationsresponsebody1.md - - docs/models/operations/getconfigurationsresponsebody2.md - - docs/models/operations/getconfigurationsresponsebodydisabledreason.md - - docs/models/operations/getconfigurationsresponsebodyinstallationtype.md - - docs/models/operations/getconfigurationsresponsebodyintegrationsresponse200type.md - - docs/models/operations/getconfigurationsresponsebodyintegrationsresponsetype.md - - docs/models/operations/getconfigurationsresponsebodyintegrationssource.md - - docs/models/operations/getconfigurationsresponsebodyintegrationstype.md - - docs/models/operations/getconfigurationsresponsebodyscope.md - - docs/models/operations/getconfigurationsresponsebodysource.md - - docs/models/operations/getconfigurationsresponsebodytype.md - - docs/models/operations/getdeploymentcustomenvironment1.md - - docs/models/operations/getdeploymentcustomenvironment2.md - - docs/models/operations/getdeploymentcustomenvironmentdeployments1.md - - docs/models/operations/getdeploymentcustomenvironmentdeployments2.md - - docs/models/operations/getdeploymenteventsrequest.md - - docs/models/operations/getdeploymentfilecontentsrequest.md - - docs/models/operations/getdeploymentflags1.md - - docs/models/operations/getdeploymentflags2.md - - docs/models/operations/getdeploymentflagsdefinitions.md - - docs/models/operations/getdeploymentflagsoptions.md - - docs/models/operations/getdeploymentgitrepo1.md - - docs/models/operations/getdeploymentgitrepo2.md - - docs/models/operations/getdeploymentgitrepo3.md - - docs/models/operations/getdeploymentgitrepodeploymentsownertype.md - - docs/models/operations/getdeploymentgitrepodeploymentsresponseownertype.md - - docs/models/operations/getdeploymentgitrepodeploymentsresponsetype.md - - docs/models/operations/getdeploymentgitrepodeploymentstype.md - - docs/models/operations/getdeploymentgitrepoownertype.md - - docs/models/operations/getdeploymentgitrepotype.md - - docs/models/operations/getdeploymentgitsource1.md - - docs/models/operations/getdeploymentgitsource2.md - - docs/models/operations/getdeploymentgitsource3.md - - docs/models/operations/getdeploymentgitsource4.md - - docs/models/operations/getdeploymentgitsource5.md - - docs/models/operations/getdeploymentgitsource6.md - - docs/models/operations/getdeploymentgitsource7.md - - docs/models/operations/getdeploymentgitsource8.md - - docs/models/operations/getdeploymentgitsource9.md - - docs/models/operations/getdeploymentgitsourcedeployments1.md - - docs/models/operations/getdeploymentgitsourcedeployments2.md - - docs/models/operations/getdeploymentgitsourcedeployments3.md - - docs/models/operations/getdeploymentgitsourcedeployments4.md - - docs/models/operations/getdeploymentgitsourcedeployments5.md - - docs/models/operations/getdeploymentgitsourcedeployments6.md - - docs/models/operations/getdeploymentgitsourcedeployments7.md - - docs/models/operations/getdeploymentgitsourcedeployments8.md - - docs/models/operations/getdeploymentgitsourcedeployments9.md - - docs/models/operations/getdeploymentgitsourcedeploymentsprojectid.md - - docs/models/operations/getdeploymentgitsourcedeploymentsrepoid.md - - docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody11type.md - - docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody19type.md - - docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody1type.md - - docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody22type.md - - docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody23type.md - - docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody24type.md - - docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody25type.md - - docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody26type.md - - docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody27type.md - - docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody28type.md - - docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody29type.md - - docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody2type.md - - docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md - - docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsontype.md - - docs/models/operations/getdeploymentgitsourcedeploymentsresponse200type.md - - docs/models/operations/getdeploymentgitsourcedeploymentsresponsetype.md - - docs/models/operations/getdeploymentgitsourcedeploymentstype.md - - docs/models/operations/getdeploymentgitsourceprojectid.md - - docs/models/operations/getdeploymentgitsourcerepoid.md - - docs/models/operations/getdeploymentgitsourcetype.md - - docs/models/operations/getdeploymenthas1.md - - docs/models/operations/getdeploymenthas2.md - - docs/models/operations/getdeploymenthasdeploymentstype.md - - docs/models/operations/getdeploymenthastype.md - - docs/models/operations/getdeploymentmicrofrontends1.md - - docs/models/operations/getdeploymentmicrofrontends2.md - - docs/models/operations/getdeploymentmicrofrontendsapplications.md - - docs/models/operations/getdeploymentmissing1.md - - docs/models/operations/getdeploymentmissing2.md - - docs/models/operations/getdeploymentmissingdeploymentstype.md - - docs/models/operations/getdeploymentmissingtype.md - - docs/models/operations/getdeploymentrequest.md - - docs/models/operations/getdeploymentresponsebody.md - - docs/models/operations/getdeploymentresponsebody1.md - - docs/models/operations/getdeploymentresponsebody2.md - - docs/models/operations/getdeploymentresponsebodyaliaserror.md - - docs/models/operations/getdeploymentresponsebodyaliaswarning.md - - docs/models/operations/getdeploymentresponsebodychecksconclusion.md - - docs/models/operations/getdeploymentresponsebodychecksstate.md - - docs/models/operations/getdeploymentresponsebodycreator.md - - docs/models/operations/getdeploymentresponsebodycustomenvironment.md - - docs/models/operations/getdeploymentresponsebodydeploymentsreadystate.md - - docs/models/operations/getdeploymentresponsebodydeploymentsresponsereadystate.md - - docs/models/operations/getdeploymentresponsebodydeploymentsstatus.md - - docs/models/operations/getdeploymentresponsebodygitsource.md - - docs/models/operations/getdeploymentresponsebodylambdas.md - - docs/models/operations/getdeploymentresponsebodyoidctokenclaims.md - - docs/models/operations/getdeploymentresponsebodyoutput.md - - docs/models/operations/getdeploymentresponsebodyproject.md - - docs/models/operations/getdeploymentresponsebodyreadystate.md - - docs/models/operations/getdeploymentresponsebodyreadysubstate.md - - docs/models/operations/getdeploymentresponsebodysource.md - - docs/models/operations/getdeploymentresponsebodystatus.md - - docs/models/operations/getdeploymentresponsebodytarget.md - - docs/models/operations/getdeploymentresponsebodyteam.md - - docs/models/operations/getdeploymentresponsebodytype.md - - docs/models/operations/getdeploymentroutes1.md - - docs/models/operations/getdeploymentroutes2.md - - docs/models/operations/getdeploymentroutes3.md - - docs/models/operations/getdeploymentrouteshandle.md - - docs/models/operations/getdeploymentrouteshas.md - - docs/models/operations/getdeploymentrouteslocale.md - - docs/models/operations/getdeploymentroutesmissing.md - - docs/models/operations/getdeploymentsaliasassigned.md - - docs/models/operations/getdeploymentsaliaserror.md - - docs/models/operations/getdeploymentschecksconclusion.md - - docs/models/operations/getdeploymentschecksstate.md - - docs/models/operations/getdeploymentscreator.md - - docs/models/operations/getdeploymentscustomenvironment.md - - docs/models/operations/getdeploymentsframework.md - - docs/models/operations/getdeploymentsgitcomments.md - - docs/models/operations/getdeploymentsnodeversion.md - - docs/models/operations/getdeploymentsprojectsettings.md - - docs/models/operations/getdeploymentsreadystate.md - - docs/models/operations/getdeploymentsreadysubstate.md - - docs/models/operations/getdeploymentsrequest.md - - docs/models/operations/getdeploymentsresponsebody.md - - docs/models/operations/getdeploymentssource.md - - docs/models/operations/getdeploymentsspeedinsights.md - - docs/models/operations/getdeploymentsstate.md - - docs/models/operations/getdeploymentstarget.md - - docs/models/operations/getdeploymentstype.md - - docs/models/operations/getdeploymentswebanalytics.md - - docs/models/operations/getdomainconfigrequest.md - - docs/models/operations/getdomainconfigresponsebody.md - - docs/models/operations/getdomaincreator.md - - docs/models/operations/getdomaindomain.md - - docs/models/operations/getdomainrequest.md - - docs/models/operations/getdomainresponsebody.md - - docs/models/operations/getdomainscreator.md - - docs/models/operations/getdomainsrequest.md - - docs/models/operations/getdomainsresponsebody.md - - docs/models/operations/getdomainsservicetype.md - - docs/models/operations/getdomaintransferrequest.md - - docs/models/operations/getdomaintransferresponsebody.md - - docs/models/operations/getdomaintransferstatus.md - - docs/models/operations/getedgeconfigbackuprequest.md - - docs/models/operations/getedgeconfigbackupresponsebody.md - - docs/models/operations/getedgeconfigbackupresponsebody1.md - - docs/models/operations/getedgeconfigbackupresponsebody2.md - - docs/models/operations/getedgeconfigbackupresponsebodyitems.md - - docs/models/operations/getedgeconfigbackupresponsebodyuser.md - - docs/models/operations/getedgeconfigbackupsmetadata.md - - docs/models/operations/getedgeconfigbackupspagination.md - - docs/models/operations/getedgeconfigbackupsrequest.md - - docs/models/operations/getedgeconfigbackupsresponsebody.md - - docs/models/operations/getedgeconfigitemrequest.md - - docs/models/operations/getedgeconfigitemsrequest.md - - docs/models/operations/getedgeconfigpurpose.md - - docs/models/operations/getedgeconfigrequest.md - - docs/models/operations/getedgeconfigresponsebody.md - - docs/models/operations/getedgeconfigschema.md - - docs/models/operations/getedgeconfigschemarequest.md - - docs/models/operations/getedgeconfigschemaresponsebody.md - - docs/models/operations/getedgeconfigsrequest.md - - docs/models/operations/getedgeconfigsresponsebody.md - - docs/models/operations/getedgeconfigstype.md - - docs/models/operations/getedgeconfigtokenrequest.md - - docs/models/operations/getedgeconfigtokensrequest.md - - docs/models/operations/getedgeconfigtransfer.md - - docs/models/operations/getedgeconfigtype.md - - docs/models/operations/getfirewallconfigaction.md - - docs/models/operations/getfirewallconfigalgo.md - - docs/models/operations/getfirewallconfigconditiongroup.md - - docs/models/operations/getfirewallconfigconditions.md - - docs/models/operations/getfirewallconfigcrs.md - - docs/models/operations/getfirewallconfiggen.md - - docs/models/operations/getfirewallconfigips.md - - docs/models/operations/getfirewallconfigjava.md - - docs/models/operations/getfirewallconfiglfi.md - - docs/models/operations/getfirewallconfigma.md - - docs/models/operations/getfirewallconfigmanagedrules.md - - docs/models/operations/getfirewallconfigmitigate.md - - docs/models/operations/getfirewallconfigop.md - - docs/models/operations/getfirewallconfigowasp.md - - docs/models/operations/getfirewallconfigphp.md - - docs/models/operations/getfirewallconfigratelimit.md - - docs/models/operations/getfirewallconfigrce.md - - docs/models/operations/getfirewallconfigredirect.md - - docs/models/operations/getfirewallconfigrequest.md - - docs/models/operations/getfirewallconfigresponsebody.md - - docs/models/operations/getfirewallconfigrfi.md - - docs/models/operations/getfirewallconfigrules.md - - docs/models/operations/getfirewallconfigsd.md - - docs/models/operations/getfirewallconfigsecurityaction.md - - docs/models/operations/getfirewallconfigsecurityresponse200action.md - - docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonaction.md - - docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md - - docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsaction.md - - docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsjavaaction.md - - docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsmaaction.md - - docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssdaction.md - - docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssfaction.md - - docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssqliaction.md - - docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsxssaction.md - - docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesaction.md - - docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesactionaction.md - - docs/models/operations/getfirewallconfigsecurityresponseaction.md - - docs/models/operations/getfirewallconfigsf.md - - docs/models/operations/getfirewallconfigsqli.md - - docs/models/operations/getfirewallconfigtype.md - - docs/models/operations/getfirewallconfigvalue.md - - docs/models/operations/getfirewallconfigxss.md - - docs/models/operations/getintegrationlogdrainsdeliveryformat.md - - docs/models/operations/getintegrationlogdrainsenvironments.md - - docs/models/operations/getintegrationlogdrainsrequest.md - - docs/models/operations/getintegrationlogdrainsresponsebody.md - - docs/models/operations/getintegrationlogdrainssources.md - - docs/models/operations/getinvoicediscounts.md - - docs/models/operations/getinvoiceitems.md - - docs/models/operations/getinvoiceperiod.md - - docs/models/operations/getinvoicerequest.md - - docs/models/operations/getinvoiceresponsebody.md - - docs/models/operations/getmemberrequest.md - - docs/models/operations/getmemberresponsebody.md - - docs/models/operations/getmemberrole.md - - docs/models/operations/getprojectdomainrequest.md - - docs/models/operations/getprojectdomainresponsebody.md - - docs/models/operations/getprojectdomainsdomains.md - - docs/models/operations/getprojectdomainsrequest.md - - docs/models/operations/getprojectdomainsresponsebody.md - - docs/models/operations/getprojectdomainsverification.md - - docs/models/operations/getprojectenvcontenthint1.md - - docs/models/operations/getprojectenvcontenthint10.md - - docs/models/operations/getprojectenvcontenthint11.md - - docs/models/operations/getprojectenvcontenthint12.md - - docs/models/operations/getprojectenvcontenthint13.md - - docs/models/operations/getprojectenvcontenthint14.md - - docs/models/operations/getprojectenvcontenthint15.md - - docs/models/operations/getprojectenvcontenthint2.md - - docs/models/operations/getprojectenvcontenthint3.md - - docs/models/operations/getprojectenvcontenthint4.md - - docs/models/operations/getprojectenvcontenthint5.md - - docs/models/operations/getprojectenvcontenthint6.md - - docs/models/operations/getprojectenvcontenthint7.md - - docs/models/operations/getprojectenvcontenthint8.md - - docs/models/operations/getprojectenvcontenthint9.md - - docs/models/operations/getprojectenvcontenthintprojects1.md - - docs/models/operations/getprojectenvcontenthintprojects10.md - - docs/models/operations/getprojectenvcontenthintprojects11.md - - docs/models/operations/getprojectenvcontenthintprojects12.md - - docs/models/operations/getprojectenvcontenthintprojects13.md - - docs/models/operations/getprojectenvcontenthintprojects14.md - - docs/models/operations/getprojectenvcontenthintprojects15.md - - docs/models/operations/getprojectenvcontenthintprojects2.md - - docs/models/operations/getprojectenvcontenthintprojects3.md - - docs/models/operations/getprojectenvcontenthintprojects4.md - - docs/models/operations/getprojectenvcontenthintprojects5.md - - docs/models/operations/getprojectenvcontenthintprojects6.md - - docs/models/operations/getprojectenvcontenthintprojects7.md - - docs/models/operations/getprojectenvcontenthintprojects8.md - - docs/models/operations/getprojectenvcontenthintprojects9.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse1.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse10.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse11.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse12.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse13.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse14.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse15.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse2.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsontype.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse200type.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse3.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse4.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse5.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse6.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse7.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse8.md - - docs/models/operations/getprojectenvcontenthintprojectsresponse9.md - - docs/models/operations/getprojectenvcontenthintprojectsresponsetype.md - - docs/models/operations/getprojectenvcontenthintprojectstype.md - - docs/models/operations/getprojectenvcontenthinttype.md - - docs/models/operations/getprojectenvrequest.md - - docs/models/operations/getprojectenvresponsebody.md - - docs/models/operations/getprojectenvresponsebody1.md - - docs/models/operations/getprojectenvresponsebody2.md - - docs/models/operations/getprojectenvresponsebody3.md - - docs/models/operations/getprojectenvresponsebodycontenthint.md - - docs/models/operations/getprojectenvresponsebodyinternalcontenthint.md - - docs/models/operations/getprojectenvresponsebodyprojectscontenthint.md - - docs/models/operations/getprojectenvresponsebodyprojectsinternalcontenthint.md - - docs/models/operations/getprojectenvresponsebodyprojectsresponse200applicationjson3type.md - - docs/models/operations/getprojectenvresponsebodyprojectsresponse200applicationjsontype.md - - docs/models/operations/getprojectenvresponsebodyprojectsresponse200type.md - - docs/models/operations/getprojectenvresponsebodyprojectsresponsecontenthint.md - - docs/models/operations/getprojectenvresponsebodyprojectsresponseinternalcontenthint.md - - docs/models/operations/getprojectenvresponsebodyprojectsresponsetarget.md - - docs/models/operations/getprojectenvresponsebodyprojectsresponsetype.md - - docs/models/operations/getprojectenvresponsebodyprojectstarget.md - - docs/models/operations/getprojectenvresponsebodyprojectstype.md - - docs/models/operations/getprojectenvresponsebodytarget.md - - docs/models/operations/getprojectenvresponsebodytype.md - - docs/models/operations/getprojectenvtarget1.md - - docs/models/operations/getprojectenvtarget2.md - - docs/models/operations/getprojectenvtargetprojects1.md - - docs/models/operations/getprojectenvtargetprojects2.md - - docs/models/operations/getprojectenvtargetprojectsresponse2.md - - docs/models/operations/getprojectmembersrequest.md - - docs/models/operations/getprojectmembersresponsebody.md - - docs/models/operations/getprojectmembersresponsebody1.md - - docs/models/operations/getprojectmembersresponsebody2.md - - docs/models/operations/getprojectmembersresponsebodypagination.md - - docs/models/operations/getprojectmembersresponsebodyrole.md - - docs/models/operations/getprojectsaction.md - - docs/models/operations/getprojectsalgo.md - - docs/models/operations/getprojectsaliasassigned.md - - docs/models/operations/getprojectsaliaserror.md - - docs/models/operations/getprojectsanalytics.md - - docs/models/operations/getprojectsbranchmatcher.md - - docs/models/operations/getprojectsbuilds.md - - docs/models/operations/getprojectschecksconclusion.md - - docs/models/operations/getprojectschecksstate.md - - docs/models/operations/getprojectscontenthint.md - - docs/models/operations/getprojectscontenthint1.md - - docs/models/operations/getprojectscontenthint10.md - - docs/models/operations/getprojectscontenthint11.md - - docs/models/operations/getprojectscontenthint12.md - - docs/models/operations/getprojectscontenthint13.md - - docs/models/operations/getprojectscontenthint14.md - - docs/models/operations/getprojectscontenthint15.md - - docs/models/operations/getprojectscontenthint2.md - - docs/models/operations/getprojectscontenthint3.md - - docs/models/operations/getprojectscontenthint4.md - - docs/models/operations/getprojectscontenthint5.md - - docs/models/operations/getprojectscontenthint6.md - - docs/models/operations/getprojectscontenthint7.md - - docs/models/operations/getprojectscontenthint8.md - - docs/models/operations/getprojectscontenthint9.md - - docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv10type.md - - docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv11type.md - - docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv12type.md - - docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv13type.md - - docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv14type.md - - docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv15type.md - - docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv9type.md - - docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenvtype.md - - docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectstype.md - - docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodytype.md - - docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsontype.md - - docs/models/operations/getprojectscontenthintprojectsresponse200type.md - - docs/models/operations/getprojectscontenthintprojectsresponsetype.md - - docs/models/operations/getprojectscontenthintprojectstype.md - - docs/models/operations/getprojectscontenthinttype.md - - docs/models/operations/getprojectscreator.md - - docs/models/operations/getprojectscrons.md - - docs/models/operations/getprojectscustomenvironments.md - - docs/models/operations/getprojectsdatacache.md - - docs/models/operations/getprojectsdefinitions.md - - docs/models/operations/getprojectsdeploymentexpiration.md - - docs/models/operations/getprojectsdeploymenttype.md - - docs/models/operations/getprojectsenv.md - - docs/models/operations/getprojectserl.md - - docs/models/operations/getprojectsfirewallroutes.md - - docs/models/operations/getprojectsframework.md - - docs/models/operations/getprojectsfunctiondefaultmemorytype.md - - docs/models/operations/getprojectsgitcomments.md - - docs/models/operations/getprojectshandle.md - - docs/models/operations/getprojectshas.md - - docs/models/operations/getprojectsinternalcontenthint.md - - docs/models/operations/getprojectsipbuckets.md - - docs/models/operations/getprojectsissuermode.md - - docs/models/operations/getprojectsjobstatus.md - - docs/models/operations/getprojectslastaliasrequest.md - - docs/models/operations/getprojectslastrollbacktarget.md - - docs/models/operations/getprojectslatestdeployments.md - - docs/models/operations/getprojectslink.md - - docs/models/operations/getprojectslink1.md - - docs/models/operations/getprojectslink2.md - - docs/models/operations/getprojectslink3.md - - docs/models/operations/getprojectslinkdeployhooks.md - - docs/models/operations/getprojectslinkprojectsdeployhooks.md - - docs/models/operations/getprojectslinkprojectsresponsedeployhooks.md - - docs/models/operations/getprojectslinkprojectsresponsetype.md - - docs/models/operations/getprojectslinkprojectstype.md - - docs/models/operations/getprojectslinktype.md - - docs/models/operations/getprojectsmicrofrontends.md - - docs/models/operations/getprojectsmissing.md - - docs/models/operations/getprojectsmitigate.md - - docs/models/operations/getprojectsnodeversion.md - - docs/models/operations/getprojectsoidctokenclaims.md - - docs/models/operations/getprojectsoidctokenconfig.md - - docs/models/operations/getprojectsoptionsallowlist.md - - docs/models/operations/getprojectspasswordprotection.md - - docs/models/operations/getprojectspaths.md - - docs/models/operations/getprojectspermissions.md - - docs/models/operations/getprojectsplan.md - - docs/models/operations/getprojectsprojects.md - - docs/models/operations/getprojectsprojectsaliasassigned.md - - docs/models/operations/getprojectsprojectsaliaserror.md - - docs/models/operations/getprojectsprojectsbranchmatcher.md - - docs/models/operations/getprojectsprojectsbuilds.md - - docs/models/operations/getprojectsprojectschecksconclusion.md - - docs/models/operations/getprojectsprojectschecksstate.md - - docs/models/operations/getprojectsprojectscreator.md - - docs/models/operations/getprojectsprojectsoidctokenclaims.md - - docs/models/operations/getprojectsprojectsplan.md - - docs/models/operations/getprojectsprojectsreadystate.md - - docs/models/operations/getprojectsprojectsreadysubstate.md - - docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecurityfirewallroutestype.md - - docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecuritytype.md - - docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodyprojectstype.md - - docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodytype.md - - docs/models/operations/getprojectsprojectsresponse200applicationjsontype.md - - docs/models/operations/getprojectsprojectsresponse200type.md - - docs/models/operations/getprojectsprojectsresponsetype.md - - docs/models/operations/getprojectsprojectstype.md - - docs/models/operations/getprojectsprojectsvalue.md - - docs/models/operations/getprojectsprotectionbypass.md - - docs/models/operations/getprojectsreadystate.md - - docs/models/operations/getprojectsreadysubstate.md - - docs/models/operations/getprojectsrequest.md - - docs/models/operations/getprojectsresourceconfig.md - - docs/models/operations/getprojectsresponsebody.md - - docs/models/operations/getprojectsscope.md - - docs/models/operations/getprojectssecurity.md - - docs/models/operations/getprojectsspeedinsights.md - - docs/models/operations/getprojectssrc.md - - docs/models/operations/getprojectssrc2.md - - docs/models/operations/getprojectsssoprotection.md - - docs/models/operations/getprojectstarget.md - - docs/models/operations/getprojectstarget1.md - - docs/models/operations/getprojectstarget2.md - - docs/models/operations/getprojectstargets.md - - docs/models/operations/getprojectstier.md - - docs/models/operations/getprojectstrustedips.md - - docs/models/operations/getprojectstrustedips1.md - - docs/models/operations/getprojectstrustedips2.md - - docs/models/operations/getprojectstrustedipsaddresses.md - - docs/models/operations/getprojectstrustedipsdeploymenttype.md - - docs/models/operations/getprojectstrustedipsprojectsdeploymenttype.md - - docs/models/operations/getprojectstrustedipsprotectionmode.md - - docs/models/operations/getprojectstype.md - - docs/models/operations/getprojectsvalue.md - - docs/models/operations/getprojectsvalue2.md - - docs/models/operations/getprojectsvalueprojects2.md - - docs/models/operations/getprojectswebanalytics.md - - docs/models/operations/getrecordsrequest.md - - docs/models/operations/getrecordsresponsebody.md - - docs/models/operations/getrecordsresponsebody2.md - - docs/models/operations/getrecordsresponsebodydnstype.md - - docs/models/operations/getrecordsresponsebodytype.md - - docs/models/operations/getteamaccessrequestbitbucket.md - - docs/models/operations/getteamaccessrequestgithub.md - - docs/models/operations/getteamaccessrequestgitlab.md - - docs/models/operations/getteamaccessrequestgituserid.md - - docs/models/operations/getteamaccessrequestjoinedfrom.md - - docs/models/operations/getteamaccessrequestorigin.md - - docs/models/operations/getteamaccessrequestrequest.md - - docs/models/operations/getteamaccessrequestresponsebody.md - - docs/models/operations/getteammembersbitbucket.md - - docs/models/operations/getteammembersgithub.md - - docs/models/operations/getteammembersgitlab.md - - docs/models/operations/getteammembersgituserid.md - - docs/models/operations/getteammembersjoinedfrom.md - - docs/models/operations/getteammembersmembers.md - - docs/models/operations/getteammembersorigin.md - - docs/models/operations/getteammemberspagination.md - - docs/models/operations/getteammembersprojects.md - - docs/models/operations/getteammembersrequest.md - - docs/models/operations/getteammembersresponsebody.md - - docs/models/operations/getteammembersrole.md - - docs/models/operations/getteammembersteamsprojects.md - - docs/models/operations/getteammembersteamsresponserole.md - - docs/models/operations/getteammembersteamsrole.md - - docs/models/operations/getteamrequest.md - - docs/models/operations/getteamsrequest.md - - docs/models/operations/getteamsresponsebody.md - - docs/models/operations/getwebhookevents.md - - docs/models/operations/getwebhookrequest.md - - docs/models/operations/getwebhookresponsebody.md - - docs/models/operations/getwebhooksrequest.md - - docs/models/operations/getwebhooksresponsebody.md - - docs/models/operations/getwebhooksresponsebody1.md - - docs/models/operations/getwebhooksresponsebody2.md - - docs/models/operations/getwebhooksresponsebodyevents.md - - docs/models/operations/getwebhooksresponsebodyframework.md - - docs/models/operations/gitaccount.md - - docs/models/operations/gitcomments.md - - docs/models/operations/gitforkprotection.md - - docs/models/operations/github.md - - docs/models/operations/gitlab.md - - docs/models/operations/gitmetadata.md - - docs/models/operations/gitnamespacesid.md - - docs/models/operations/gitnamespacesrequest.md - - docs/models/operations/gitnamespacesresponsebody.md - - docs/models/operations/gitrepo.md - - docs/models/operations/gitrepo1.md - - docs/models/operations/gitrepo2.md - - docs/models/operations/gitrepo3.md - - docs/models/operations/gitrepoownertype.md - - docs/models/operations/gitrepository.md - - docs/models/operations/gitrepotype.md - - docs/models/operations/gitsource.md - - docs/models/operations/gitsource1.md - - docs/models/operations/gitsource2.md - - docs/models/operations/gitsource3.md - - docs/models/operations/gitsource4.md - - docs/models/operations/gitsource5.md - - docs/models/operations/gitsource6.md - - docs/models/operations/gitsource7.md - - docs/models/operations/gitsource8.md - - docs/models/operations/gitsource9.md - - docs/models/operations/gitsourceprojectid.md - - docs/models/operations/gitsourcerepoid.md - - docs/models/operations/gitsourcetype.md - - docs/models/operations/gituserid.md - - docs/models/operations/handle.md - - docs/models/operations/has.md - - docs/models/operations/has1.md - - docs/models/operations/has2.md - - docs/models/operations/hastype.md - - docs/models/operations/heightlighteddetails.md - - docs/models/operations/https.md - - docs/models/operations/id.md - - docs/models/operations/inlinedfile.md - - docs/models/operations/installationtype.md - - docs/models/operations/integration.md - - docs/models/operations/integrations.md - - docs/models/operations/internalcontenthint.md - - docs/models/operations/inviteusertoteamprojects.md - - docs/models/operations/inviteusertoteamrequest.md - - docs/models/operations/inviteusertoteamrequestbody.md - - docs/models/operations/inviteusertoteamresponsebody.md - - docs/models/operations/inviteusertoteamresponsebody1.md - - docs/models/operations/inviteusertoteamresponsebody2.md - - docs/models/operations/inviteusertoteamresponsebodyrole.md - - docs/models/operations/inviteusertoteamrole.md - - docs/models/operations/inviteusertoteamteamsrole.md - - docs/models/operations/ipbuckets.md - - docs/models/operations/ips.md - - docs/models/operations/issuecertrequest.md - - docs/models/operations/issuecertrequestbody.md - - docs/models/operations/issuecertresponsebody.md - - docs/models/operations/issuermode.md - - docs/models/operations/items.md - - docs/models/operations/items1.md - - docs/models/operations/items2.md - - docs/models/operations/java.md - - docs/models/operations/jobstatus.md - - docs/models/operations/joinedfrom.md - - docs/models/operations/jointeamrequest.md - - docs/models/operations/jointeamrequestbody.md - - docs/models/operations/jointeamresponsebody.md - - docs/models/operations/lambdas.md - - docs/models/operations/lastaliasrequest.md - - docs/models/operations/lastrollbacktarget.md - - docs/models/operations/latestdeployments.md - - docs/models/operations/lcp.md - - docs/models/operations/lfi.md - - docs/models/operations/link.md - - docs/models/operations/link1.md - - docs/models/operations/link2.md - - docs/models/operations/link3.md - - docs/models/operations/linkdeployhooks.md - - docs/models/operations/linktype.md - - docs/models/operations/listaccessgroupmembersrequest.md - - docs/models/operations/listaccessgroupmembersresponsebody.md - - docs/models/operations/listaccessgroupprojectspagination.md - - docs/models/operations/listaccessgroupprojectsproject.md - - docs/models/operations/listaccessgroupprojectsprojects.md - - docs/models/operations/listaccessgroupprojectsrequest.md - - docs/models/operations/listaccessgroupprojectsresponsebody.md - - docs/models/operations/listaccessgroupprojectsrole.md - - docs/models/operations/listaccessgroupsrequest.md - - docs/models/operations/listaccessgroupsresponsebody.md - - docs/models/operations/listaccessgroupsresponsebody1.md - - docs/models/operations/listaccessgroupsresponsebody2.md - - docs/models/operations/listaliasescreator.md - - docs/models/operations/listaliasesdeployment.md - - docs/models/operations/listaliasesprotectionbypass.md - - docs/models/operations/listaliasesprotectionbypass1.md - - docs/models/operations/listaliasesprotectionbypass2.md - - docs/models/operations/listaliasesprotectionbypass3.md - - docs/models/operations/listaliasesprotectionbypass4.md - - docs/models/operations/listaliasesprotectionbypassaliasesresponse200scope.md - - docs/models/operations/listaliasesprotectionbypassaliasesresponsescope.md - - docs/models/operations/listaliasesprotectionbypassaliasesscope.md - - docs/models/operations/listaliasesprotectionbypassscope.md - - docs/models/operations/listaliasesrequest.md - - docs/models/operations/listaliasesresponsebody.md - - docs/models/operations/listauthtokensresponsebody.md - - docs/models/operations/listdeploymentaliasesaliases.md - - docs/models/operations/listdeploymentaliasesprotectionbypass.md - - docs/models/operations/listdeploymentaliasesprotectionbypass1.md - - docs/models/operations/listdeploymentaliasesprotectionbypass2.md - - docs/models/operations/listdeploymentaliasesprotectionbypass3.md - - docs/models/operations/listdeploymentaliasesprotectionbypass4.md - - docs/models/operations/listdeploymentaliasesprotectionbypassaccess.md - - docs/models/operations/listdeploymentaliasesprotectionbypassaliasesresponse200scope.md - - docs/models/operations/listdeploymentaliasesprotectionbypassaliasesresponsescope.md - - docs/models/operations/listdeploymentaliasesprotectionbypassaliasesscope.md - - docs/models/operations/listdeploymentaliasesprotectionbypassscope.md - - docs/models/operations/listdeploymentaliasesrequest.md - - docs/models/operations/listdeploymentaliasesresponsebody.md - - docs/models/operations/listdeploymentfilesrequest.md - - docs/models/operations/listpromotealiasesrequest.md - - docs/models/operations/listpromotealiasesresponsebody.md - - docs/models/operations/listpromotealiasesresponsebody1.md - - docs/models/operations/listpromotealiasesresponsebody2.md - - docs/models/operations/listusereventsrequest.md - - docs/models/operations/listusereventsresponsebody.md - - docs/models/operations/locale.md - - docs/models/operations/ma.md - - docs/models/operations/managedrules.md - - docs/models/operations/members.md - - docs/models/operations/metadata.md - - docs/models/operations/metrics.md - - docs/models/operations/microfrontends.md - - docs/models/operations/microfrontends1.md - - docs/models/operations/microfrontends2.md - - docs/models/operations/microfrontendsapplications.md - - docs/models/operations/missing.md - - docs/models/operations/missing1.md - - docs/models/operations/missing2.md - - docs/models/operations/missingtype.md - - docs/models/operations/mitigate.md - - docs/models/operations/namespaceid.md - - docs/models/operations/nine.md - - docs/models/operations/nodeversion.md - - docs/models/operations/oidctokenclaims.md - - docs/models/operations/oidctokenconfig.md - - docs/models/operations/one.md - - docs/models/operations/one5.md - - docs/models/operations/onetarget.md - - docs/models/operations/onetype.md - - docs/models/operations/op.md - - docs/models/operations/options.md - - docs/models/operations/optionsallowlist.md - - docs/models/operations/order.md - - docs/models/operations/origin.md - - docs/models/operations/output.md - - docs/models/operations/owasp.md - - docs/models/operations/owner.md - - docs/models/operations/ownertype.md - - docs/models/operations/pagination.md - - docs/models/operations/passwordprotection.md - - docs/models/operations/patchdomainrequest.md - - docs/models/operations/patchdomainrequestbody.md - - docs/models/operations/patchdomainrequestbody1.md - - docs/models/operations/patchdomainrequestbody2.md - - docs/models/operations/patchdomainresponsebody.md - - docs/models/operations/patchdomainresponsebody1.md - - docs/models/operations/patchdomainresponsebody2.md - - docs/models/operations/patchdomainresponsebody3.md - - docs/models/operations/patchedgeconfigschemarequest.md - - docs/models/operations/patchedgeconfigschemarequestbody.md - - docs/models/operations/patchedgeconfigschemaresponsebody.md - - docs/models/operations/patchteamrequest.md - - docs/models/operations/patchteamrequestbody.md - - docs/models/operations/paths.md - - docs/models/operations/period.md - - docs/models/operations/permissions.md - - docs/models/operations/php.md - - docs/models/operations/plan.md - - docs/models/operations/production.md - - docs/models/operations/project.md - - docs/models/operations/projectid.md - - docs/models/operations/projects.md - - docs/models/operations/projectselection.md - - docs/models/operations/projectsettings.md - - docs/models/operations/projectsmetadata.md - - docs/models/operations/protectionbypass.md - - docs/models/operations/protectionbypass1.md - - docs/models/operations/protectionbypass2.md - - docs/models/operations/protectionbypass3.md - - docs/models/operations/protectionbypass4.md - - docs/models/operations/protectionbypassaccess.md - - docs/models/operations/protectionbypassscope.md - - docs/models/operations/protectionmode.md - - docs/models/operations/provider.md - - docs/models/operations/purpose.md - - docs/models/operations/putfirewallconfigaction.md - - docs/models/operations/putfirewallconfigalgo.md - - docs/models/operations/putfirewallconfigchanges.md - - docs/models/operations/putfirewallconfigconditiongroup.md - - docs/models/operations/putfirewallconfigconditions.md - - docs/models/operations/putfirewallconfigcrs.md - - docs/models/operations/putfirewallconfiggen.md - - docs/models/operations/putfirewallconfigips.md - - docs/models/operations/putfirewallconfigjava.md - - docs/models/operations/putfirewallconfiglfi.md - - docs/models/operations/putfirewallconfigma.md - - docs/models/operations/putfirewallconfigmanagedrules.md - - docs/models/operations/putfirewallconfigmitigate.md - - docs/models/operations/putfirewallconfigop.md - - docs/models/operations/putfirewallconfigowasp.md - - docs/models/operations/putfirewallconfigphp.md - - docs/models/operations/putfirewallconfigratelimit.md - - docs/models/operations/putfirewallconfigrce.md - - docs/models/operations/putfirewallconfigredirect.md - - docs/models/operations/putfirewallconfigrequest.md - - docs/models/operations/putfirewallconfigrequestbody.md - - docs/models/operations/putfirewallconfigresponsebody.md - - docs/models/operations/putfirewallconfigrfi.md - - docs/models/operations/putfirewallconfigrules.md - - docs/models/operations/putfirewallconfigsd.md - - docs/models/operations/putfirewallconfigsecurityaction.md - - docs/models/operations/putfirewallconfigsecurityrequestaction.md - - docs/models/operations/putfirewallconfigsecurityrequestrequestbodyaction.md - - docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsaction.md - - docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsgenaction.md - - docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsjavaaction.md - - docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md - - docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssfaction.md - - docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssqliaction.md - - docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsxssaction.md - - docs/models/operations/putfirewallconfigsecurityrequestrequestbodyipsaction.md - - docs/models/operations/putfirewallconfigsecurityrequestrequestbodyrulesaction.md - - docs/models/operations/putfirewallconfigsecurityrequestrequestbodyrulesactionaction.md - - docs/models/operations/putfirewallconfigsecurityresponse200action.md - - docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonaction.md - - docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md - - docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiveaction.md - - docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsaction.md - - docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsgenaction.md - - docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsjavaaction.md - - docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsmaaction.md - - docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssdaction.md - - docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssfaction.md - - docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssqliaction.md - - docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsxssaction.md - - docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesaction.md - - docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesactionaction.md - - docs/models/operations/putfirewallconfigsecurityresponseaction.md - - docs/models/operations/putfirewallconfigsecuritytype.md - - docs/models/operations/putfirewallconfigsecurityvalue.md - - docs/models/operations/putfirewallconfigsf.md - - docs/models/operations/putfirewallconfigsqli.md - - docs/models/operations/putfirewallconfigtype.md - - docs/models/operations/putfirewallconfigvalue.md - - docs/models/operations/putfirewallconfigverifiedbotsbypass.md - - docs/models/operations/putfirewallconfigxss.md - - docs/models/operations/queryparamprovider.md - - docs/models/operations/queryparamrole.md - - docs/models/operations/queryparamtarget.md - - docs/models/operations/queryparamtype.md - - docs/models/operations/quote.md - - docs/models/operations/ratelimit.md - - docs/models/operations/ratelimit1.md - - docs/models/operations/ratelimitaction.md - - docs/models/operations/ratelimitalgo.md - - docs/models/operations/rce.md - - docs/models/operations/readaccessgroupprojectrequest.md - - docs/models/operations/readaccessgroupprojectresponsebody.md - - docs/models/operations/readaccessgroupprojectrole.md - - docs/models/operations/readaccessgrouprequest.md - - docs/models/operations/readaccessgroupresponsebody.md - - docs/models/operations/readystate.md - - docs/models/operations/readysubstate.md - - docs/models/operations/reasons.md - - docs/models/operations/recordeventsrequest.md - - docs/models/operations/records.md - - docs/models/operations/recordtype.md - - docs/models/operations/redirect.md - - docs/models/operations/redirect1.md - - docs/models/operations/redirects.md - - docs/models/operations/redirectstatuscode.md - - docs/models/operations/remotecaching.md - - docs/models/operations/removecertrequest.md - - docs/models/operations/removecertresponsebody.md - - docs/models/operations/removeprojectdomainrequest.md - - docs/models/operations/removeprojectdomainresponsebody.md - - docs/models/operations/removeprojectenvcontenthint1.md - - docs/models/operations/removeprojectenvcontenthint10.md - - docs/models/operations/removeprojectenvcontenthint11.md - - docs/models/operations/removeprojectenvcontenthint12.md - - docs/models/operations/removeprojectenvcontenthint13.md - - docs/models/operations/removeprojectenvcontenthint14.md - - docs/models/operations/removeprojectenvcontenthint15.md - - docs/models/operations/removeprojectenvcontenthint2.md - - docs/models/operations/removeprojectenvcontenthint3.md - - docs/models/operations/removeprojectenvcontenthint4.md - - docs/models/operations/removeprojectenvcontenthint5.md - - docs/models/operations/removeprojectenvcontenthint6.md - - docs/models/operations/removeprojectenvcontenthint7.md - - docs/models/operations/removeprojectenvcontenthint8.md - - docs/models/operations/removeprojectenvcontenthint9.md - - docs/models/operations/removeprojectenvcontenthintprojects1.md - - docs/models/operations/removeprojectenvcontenthintprojects10.md - - docs/models/operations/removeprojectenvcontenthintprojects11.md - - docs/models/operations/removeprojectenvcontenthintprojects12.md - - docs/models/operations/removeprojectenvcontenthintprojects13.md - - docs/models/operations/removeprojectenvcontenthintprojects14.md - - docs/models/operations/removeprojectenvcontenthintprojects15.md - - docs/models/operations/removeprojectenvcontenthintprojects2.md - - docs/models/operations/removeprojectenvcontenthintprojects3.md - - docs/models/operations/removeprojectenvcontenthintprojects4.md - - docs/models/operations/removeprojectenvcontenthintprojects5.md - - docs/models/operations/removeprojectenvcontenthintprojects6.md - - docs/models/operations/removeprojectenvcontenthintprojects7.md - - docs/models/operations/removeprojectenvcontenthintprojects8.md - - docs/models/operations/removeprojectenvcontenthintprojects9.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse1.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse10.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse11.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse12.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse13.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse14.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse15.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse2.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsontype.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse200type.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse3.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse4.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse5.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse6.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse7.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse8.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponse9.md - - docs/models/operations/removeprojectenvcontenthintprojectsresponsetype.md - - docs/models/operations/removeprojectenvcontenthintprojectstype.md - - docs/models/operations/removeprojectenvcontenthinttype.md - - docs/models/operations/removeprojectenvrequest.md - - docs/models/operations/removeprojectenvresponsebody.md - - docs/models/operations/removeprojectenvresponsebody1.md - - docs/models/operations/removeprojectenvresponsebody2.md - - docs/models/operations/removeprojectenvresponsebody3.md - - docs/models/operations/removeprojectenvresponsebodycontenthint.md - - docs/models/operations/removeprojectenvresponsebodyinternalcontenthint.md - - docs/models/operations/removeprojectenvresponsebodyprojectscontenthint.md - - docs/models/operations/removeprojectenvresponsebodyprojectsinternalcontenthint.md - - docs/models/operations/removeprojectenvresponsebodyprojectsresponse200applicationjson3type.md - - docs/models/operations/removeprojectenvresponsebodyprojectsresponse200applicationjsontype.md - - docs/models/operations/removeprojectenvresponsebodyprojectsresponse200type.md - - docs/models/operations/removeprojectenvresponsebodyprojectsresponsecontenthint.md - - docs/models/operations/removeprojectenvresponsebodyprojectsresponseinternalcontenthint.md - - docs/models/operations/removeprojectenvresponsebodyprojectsresponsetarget.md - - docs/models/operations/removeprojectenvresponsebodyprojectsresponsetype.md - - docs/models/operations/removeprojectenvresponsebodyprojectstarget.md - - docs/models/operations/removeprojectenvresponsebodyprojectstype.md - - docs/models/operations/removeprojectenvresponsebodytarget.md - - docs/models/operations/removeprojectenvresponsebodytype.md - - docs/models/operations/removeprojectenvtarget1.md - - docs/models/operations/removeprojectenvtarget2.md - - docs/models/operations/removeprojectenvtargetprojects1.md - - docs/models/operations/removeprojectenvtargetprojects2.md - - docs/models/operations/removeprojectenvtargetprojectsresponse1.md - - docs/models/operations/removeprojectenvtargetprojectsresponse2.md - - docs/models/operations/removeprojectmemberrequest.md - - docs/models/operations/removeprojectmemberresponsebody.md - - docs/models/operations/removerecordrequest.md - - docs/models/operations/removerecordresponsebody.md - - docs/models/operations/removeteammemberrequest.md - - docs/models/operations/removeteammemberresponsebody.md - - docs/models/operations/repoid.md - - docs/models/operations/repos.md - - docs/models/operations/requestaccesstoteamgituserid.md - - docs/models/operations/requestaccesstoteamjoinedfrom.md - - docs/models/operations/requestaccesstoteamorigin.md - - docs/models/operations/requestaccesstoteamrequest.md - - docs/models/operations/requestaccesstoteamrequestbody.md - - docs/models/operations/requestaccesstoteamresponsebody.md - - docs/models/operations/requestbody.md - - docs/models/operations/requestbody1.md - - docs/models/operations/requestbody10.md - - docs/models/operations/requestbody2.md - - docs/models/operations/requestbody3.md - - docs/models/operations/requestbody4.md - - docs/models/operations/requestbody5.md - - docs/models/operations/requestbody6.md - - docs/models/operations/requestbody7.md - - docs/models/operations/requestbody8.md - - docs/models/operations/requestbody9.md - - docs/models/operations/requestbodyaction.md - - docs/models/operations/requestbodyconditiongroup.md - - docs/models/operations/requestbodyconditions.md - - docs/models/operations/requestbodyhttps.md - - docs/models/operations/requestbodyid.md - - docs/models/operations/requestbodymitigate.md - - docs/models/operations/requestbodyop.md - - docs/models/operations/requestbodyratelimit.md - - docs/models/operations/requestbodyredirect.md - - docs/models/operations/requestbodyrole.md - - docs/models/operations/requestbodysrv.md - - docs/models/operations/requestbodytype.md - - docs/models/operations/requestbodyvalue.md - - docs/models/operations/requestdeletereasons.md - - docs/models/operations/requestdeleterequestbody.md - - docs/models/operations/requestdeleteresponsebody.md - - docs/models/operations/requestpromoterequest.md - - docs/models/operations/rerequestcheckrequest.md - - docs/models/operations/rerequestcheckresponsebody.md - - docs/models/operations/resourceconfig.md - - docs/models/operations/responsebody.md - - docs/models/operations/responsebody1.md - - docs/models/operations/responsebody2.md - - docs/models/operations/responsebody3.md - - docs/models/operations/responsebodyaliasassignedat.md - - docs/models/operations/responsebodyaliaserror.md - - docs/models/operations/responsebodyaliases.md - - docs/models/operations/responsebodyaliaswarning.md - - docs/models/operations/responsebodybackup.md - - docs/models/operations/responsebodybillingplan.md - - docs/models/operations/responsebodybuild.md - - docs/models/operations/responsebodybuilds.md - - docs/models/operations/responsebodychecksconclusion.md - - docs/models/operations/responsebodychecksstate.md - - docs/models/operations/responsebodycontenthint.md - - docs/models/operations/responsebodycreator.md - - docs/models/operations/responsebodycrons.md - - docs/models/operations/responsebodycustomenvironment.md - - docs/models/operations/responsebodydetails.md - - docs/models/operations/responsebodydisabledreason.md - - docs/models/operations/responsebodyenvs.md - - docs/models/operations/responsebodyevents.md - - docs/models/operations/responsebodyflags.md - - docs/models/operations/responsebodyframework.md - - docs/models/operations/responsebodyfunctions.md - - docs/models/operations/responsebodygitrepo.md - - docs/models/operations/responsebodygitsource.md - - docs/models/operations/responsebodyheightlighteddetails.md - - docs/models/operations/responsebodyid.md - - docs/models/operations/responsebodyinstallationtype.md - - docs/models/operations/responsebodyintegrations.md - - docs/models/operations/responsebodyinternalcontenthint.md - - docs/models/operations/responsebodyitems.md - - docs/models/operations/responsebodylambdas.md - - docs/models/operations/responsebodymembers.md - - docs/models/operations/responsebodymetadata.md - - docs/models/operations/responsebodymicrofrontends.md - - docs/models/operations/responsebodynamespaceid.md - - docs/models/operations/responsebodyoidctokenclaims.md - - docs/models/operations/responsebodyoutput.md - - docs/models/operations/responsebodyownertype.md - - docs/models/operations/responsebodypagination.md - - docs/models/operations/responsebodyplan.md - - docs/models/operations/responsebodyproject.md - - docs/models/operations/responsebodyprojectsettings.md - - docs/models/operations/responsebodyprovider.md - - docs/models/operations/responsebodyquote.md - - docs/models/operations/responsebodyreadystate.md - - docs/models/operations/responsebodyreadysubstate.md - - docs/models/operations/responsebodyrecords.md - - docs/models/operations/responsebodyrole.md - - docs/models/operations/responsebodyroutes.md - - docs/models/operations/responsebodyscope.md - - docs/models/operations/responsebodysource.md - - docs/models/operations/responsebodyspeedinsights.md - - docs/models/operations/responsebodystatus.md - - docs/models/operations/responsebodytarget.md - - docs/models/operations/responsebodyteam.md - - docs/models/operations/responsebodyteamrole.md - - docs/models/operations/responsebodytype.md - - docs/models/operations/responsebodyuser.md - - docs/models/operations/responsebodywebanalytics.md - - docs/models/operations/result.md - - docs/models/operations/revoke.md - - docs/models/operations/rfi.md - - docs/models/operations/role.md - - docs/models/operations/roles.md - - docs/models/operations/roles1.md - - docs/models/operations/roles2.md - - docs/models/operations/routes.md - - docs/models/operations/routes1.md - - docs/models/operations/routes2.md - - docs/models/operations/routes3.md - - docs/models/operations/routeshandle.md - - docs/models/operations/routeshas.md - - docs/models/operations/routeslocale.md - - docs/models/operations/routesmissing.md - - docs/models/operations/rules.md - - docs/models/operations/saml.md - - docs/models/operations/schema.md - - docs/models/operations/scope.md - - docs/models/operations/sd.md - - docs/models/operations/searchreporequest.md - - docs/models/operations/searchreporesponsebody.md - - docs/models/operations/searchreporesponsebody1.md - - docs/models/operations/searchreporesponsebody2.md - - docs/models/operations/searchreporesponsebodyid.md - - docs/models/operations/searchreporesponsebodyprovider.md - - docs/models/operations/secrets.md - - docs/models/operations/security.md - - docs/models/operations/servicetype.md - - docs/models/operations/seven.md - - docs/models/operations/sf.md - - docs/models/operations/six.md - - docs/models/operations/skipautodetectionconfirmation.md - - docs/models/operations/source.md - - docs/models/operations/sources.md - - docs/models/operations/speedinsights.md - - docs/models/operations/sqli.md - - docs/models/operations/src.md - - docs/models/operations/src2.md - - docs/models/operations/srv.md - - docs/models/operations/ssoprotection.md - - docs/models/operations/state.md - - docs/models/operations/status.md - - docs/models/operations/statuscode.md - - docs/models/operations/statusrequest.md - - docs/models/operations/statusresponsebody.md - - docs/models/operations/statusstatus.md - - docs/models/operations/strict.md - - docs/models/operations/submitbillingdatarequest.md - - docs/models/operations/submitbillingdatarequestbody.md - - docs/models/operations/submitbillingdatatype.md - - docs/models/operations/submitinvoicediscounts.md - - docs/models/operations/submitinvoiceitems.md - - docs/models/operations/submitinvoiceperiod.md - - docs/models/operations/submitinvoicerequest.md - - docs/models/operations/submitinvoicerequestbody.md - - docs/models/operations/submitinvoiceresponsebody.md - - docs/models/operations/target.md - - docs/models/operations/target1.md - - docs/models/operations/target2.md - - docs/models/operations/targets.md - - docs/models/operations/tbt.md - - docs/models/operations/team.md - - docs/models/operations/teamrole.md - - docs/models/operations/teams.md - - docs/models/operations/ten.md - - docs/models/operations/test.md - - docs/models/operations/thirteen.md - - docs/models/operations/three.md - - docs/models/operations/tier.md - - docs/models/operations/transfer.md - - docs/models/operations/transferpolicy.md - - docs/models/operations/trustedips.md - - docs/models/operations/trustedips1.md - - docs/models/operations/trustedips2.md - - docs/models/operations/trustedipsaddresses.md - - docs/models/operations/trustedipsdeploymenttype.md - - docs/models/operations/trustedipsprotectionmode.md - - docs/models/operations/twelve.md - - docs/models/operations/two.md - - docs/models/operations/two1.md - - docs/models/operations/two2.md - - docs/models/operations/two5.md - - docs/models/operations/twotarget.md - - docs/models/operations/twotype.md - - docs/models/operations/type.md - - docs/models/operations/updateaccessgroupentitlements.md - - docs/models/operations/updateaccessgroupprojectaccessgroupsrole.md - - docs/models/operations/updateaccessgroupprojectrequest.md - - docs/models/operations/updateaccessgroupprojectrequestbody.md - - docs/models/operations/updateaccessgroupprojectresponsebody.md - - docs/models/operations/updateaccessgroupprojectrole.md - - docs/models/operations/updateaccessgrouprequest.md - - docs/models/operations/updateaccessgrouprequestbody.md - - docs/models/operations/updateaccessgroupresponsebody.md - - docs/models/operations/updateattackchallengemoderequest.md - - docs/models/operations/updateattackchallengemoderequestbody.md - - docs/models/operations/updateattackchallengemoderesponsebody.md - - docs/models/operations/updatecheckchecksrequestrequestbodyoutputsource.md - - docs/models/operations/updatecheckchecksrequestrequestbodysource.md - - docs/models/operations/updatecheckchecksrequestsource.md - - docs/models/operations/updatecheckchecksresponse200applicationjsonresponsebodyoutputsource.md - - docs/models/operations/updatecheckchecksresponse200applicationjsonresponsebodysource.md - - docs/models/operations/updatecheckchecksresponse200applicationjsonsource.md - - docs/models/operations/updatecheckchecksresponse200source.md - - docs/models/operations/updatecheckchecksresponsesource.md - - docs/models/operations/updatecheckcheckssource.md - - docs/models/operations/updatecheckcls.md - - docs/models/operations/updatecheckconclusion.md - - docs/models/operations/updatecheckfcp.md - - docs/models/operations/updatechecklcp.md - - docs/models/operations/updatecheckmetrics.md - - docs/models/operations/updatecheckoutput.md - - docs/models/operations/updatecheckrequest.md - - docs/models/operations/updatecheckrequestbody.md - - docs/models/operations/updatecheckresponsebody.md - - docs/models/operations/updatechecksource.md - - docs/models/operations/updatecheckstatus.md - - docs/models/operations/updatechecktbt.md - - docs/models/operations/updatecheckvirtualexperiencescore.md - - docs/models/operations/updateedgeconfigpurpose.md - - docs/models/operations/updateedgeconfigrequest.md - - docs/models/operations/updateedgeconfigrequestbody.md - - docs/models/operations/updateedgeconfigresponsebody.md - - docs/models/operations/updateedgeconfigschema.md - - docs/models/operations/updateedgeconfigtransfer.md - - docs/models/operations/updateedgeconfigtype.md - - docs/models/operations/updatefirewallconfigaction1.md - - docs/models/operations/updatefirewallconfigactionsecurity1.md - - docs/models/operations/updatefirewallconfigratelimit1.md - - docs/models/operations/updatefirewallconfigratelimitaction.md - - docs/models/operations/updatefirewallconfigratelimitalgo.md - - docs/models/operations/updatefirewallconfigratelimitsecurity1.md - - docs/models/operations/updatefirewallconfigratelimitsecurityaction.md - - docs/models/operations/updatefirewallconfigredirect1.md - - docs/models/operations/updatefirewallconfigredirectsecurity1.md - - docs/models/operations/updatefirewallconfigrequest.md - - docs/models/operations/updatefirewallconfigrequestbody.md - - docs/models/operations/updatefirewallconfigrequestbody1.md - - docs/models/operations/updatefirewallconfigrequestbody2.md - - docs/models/operations/updatefirewallconfigrequestbody3.md - - docs/models/operations/updatefirewallconfigrequestbody4.md - - docs/models/operations/updatefirewallconfigrequestbody5.md - - docs/models/operations/updatefirewallconfigrequestbodyaction.md - - docs/models/operations/updatefirewallconfigrequestbodyconditiongroup.md - - docs/models/operations/updatefirewallconfigrequestbodyconditions.md - - docs/models/operations/updatefirewallconfigrequestbodymitigate.md - - docs/models/operations/updatefirewallconfigrequestbodyop.md - - docs/models/operations/updatefirewallconfigrequestbodyratelimit.md - - docs/models/operations/updatefirewallconfigrequestbodyredirect.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityaction.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest10action.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest11action.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest11value.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2action.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2value.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2valueaction.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3action.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3value.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3valueaction.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest5action.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest6action.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest6valueaction.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest7action.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest8action.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest8valueaction.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9action.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9value.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9valueaction.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequestaction.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityrequestvalue.md - - docs/models/operations/updatefirewallconfigrequestbodysecuritytype.md - - docs/models/operations/updatefirewallconfigrequestbodysecurityvalue.md - - docs/models/operations/updatefirewallconfigrequestbodytype.md - - docs/models/operations/updatefirewallconfigrequestbodyvalue.md - - docs/models/operations/updatefirewallconfigresponsebody.md - - docs/models/operations/updateinvoicerequest.md - - docs/models/operations/updateinvoicerequestbody.md - - docs/models/operations/updateprojectaction.md - - docs/models/operations/updateprojectalgo.md - - docs/models/operations/updateprojectaliasassigned.md - - docs/models/operations/updateprojectaliaserror.md - - docs/models/operations/updateprojectanalytics.md - - docs/models/operations/updateprojectbranchmatcher.md - - docs/models/operations/updateprojectbuilds.md - - docs/models/operations/updateprojectchecksconclusion.md - - docs/models/operations/updateprojectchecksstate.md - - docs/models/operations/updateprojectcontenthint.md - - docs/models/operations/updateprojectcontenthint1.md - - docs/models/operations/updateprojectcontenthint10.md - - docs/models/operations/updateprojectcontenthint11.md - - docs/models/operations/updateprojectcontenthint12.md - - docs/models/operations/updateprojectcontenthint13.md - - docs/models/operations/updateprojectcontenthint14.md - - docs/models/operations/updateprojectcontenthint15.md - - docs/models/operations/updateprojectcontenthint2.md - - docs/models/operations/updateprojectcontenthint3.md - - docs/models/operations/updateprojectcontenthint4.md - - docs/models/operations/updateprojectcontenthint5.md - - docs/models/operations/updateprojectcontenthint6.md - - docs/models/operations/updateprojectcontenthint7.md - - docs/models/operations/updateprojectcontenthint8.md - - docs/models/operations/updateprojectcontenthint9.md - - docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md - - docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md - - docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md - - docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md - - docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md - - docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md - - docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md - - docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md - - docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md - - docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md - - docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsontype.md - - docs/models/operations/updateprojectcontenthintprojectsresponse200type.md - - docs/models/operations/updateprojectcontenthintprojectsresponsetype.md - - docs/models/operations/updateprojectcontenthintprojectstype.md - - docs/models/operations/updateprojectcontenthinttype.md - - docs/models/operations/updateprojectcreator.md - - docs/models/operations/updateprojectcrons.md - - docs/models/operations/updateprojectcustomenvironments.md - - docs/models/operations/updateprojectdatacache.md - - docs/models/operations/updateprojectdatacacheaction.md - - docs/models/operations/updateprojectdatacachealgo.md - - docs/models/operations/updateprojectdatacachealiasassigned.md - - docs/models/operations/updateprojectdatacachealiaserror.md - - docs/models/operations/updateprojectdatacachebranchmatcher.md - - docs/models/operations/updateprojectdatacachebuilds.md - - docs/models/operations/updateprojectdatacachechecksconclusion.md - - docs/models/operations/updateprojectdatacachechecksstate.md - - docs/models/operations/updateprojectdatacachecontenthint11.md - - docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md - - docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md - - docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md - - docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md - - docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md - - docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md - - docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md - - docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md - - docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodytype.md - - docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsontype.md - - docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200type.md - - docs/models/operations/updateprojectdatacachecontenthintprojectsresponsetype.md - - docs/models/operations/updateprojectdatacachecontenthintprojectstype.md - - docs/models/operations/updateprojectdatacachecontenthinttype.md - - docs/models/operations/updateprojectdatacachecreator.md - - docs/models/operations/updateprojectdatacachedeploymenttype.md - - docs/models/operations/updateprojectdatacacheframework.md - - docs/models/operations/updateprojectdatacacheissuermode.md - - docs/models/operations/updateprojectdatacachelinkdeployhooks.md - - docs/models/operations/updateprojectdatacachelinkprojectstype.md - - docs/models/operations/updateprojectdatacachelinktype.md - - docs/models/operations/updateprojectdatacachemitigate.md - - docs/models/operations/updateprojectdatacachenodeversion.md - - docs/models/operations/updateprojectdatacacheoidctokenclaims.md - - docs/models/operations/updateprojectdatacacheoidctokenconfig.md - - docs/models/operations/updateprojectdatacacheoptionsallowlist.md - - docs/models/operations/updateprojectdatacachepasswordprotection.md - - docs/models/operations/updateprojectdatacachepaths.md - - docs/models/operations/updateprojectdatacacheplan.md - - docs/models/operations/updateprojectdatacacheprojectsaliaserror.md - - docs/models/operations/updateprojectdatacacheprojectsbuilds.md - - docs/models/operations/updateprojectdatacacheprojectschecksconclusion.md - - docs/models/operations/updateprojectdatacacheprojectschecksstate.md - - docs/models/operations/updateprojectdatacacheprojectscreator.md - - docs/models/operations/updateprojectdatacacheprojectsoidctokenclaims.md - - docs/models/operations/updateprojectdatacacheprojectsplan.md - - docs/models/operations/updateprojectdatacacheprojectsreadystate.md - - docs/models/operations/updateprojectdatacacheprojectsreadysubstate.md - - docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md - - docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecuritytype.md - - docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytargetstype.md - - docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytype.md - - docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsontype.md - - docs/models/operations/updateprojectdatacacheprojectsresponse200type.md - - docs/models/operations/updateprojectdatacacheprojectsresponsetype.md - - docs/models/operations/updateprojectdatacacheprojectstype.md - - docs/models/operations/updateprojectdatacacheprojectsvalue.md - - docs/models/operations/updateprojectdatacachereadystate.md - - docs/models/operations/updateprojectdatacachereadysubstate.md - - docs/models/operations/updateprojectdatacacherequest.md - - docs/models/operations/updateprojectdatacacherequestbody.md - - docs/models/operations/updateprojectdatacacheresponsebody.md - - docs/models/operations/updateprojectdatacachessoprotection.md - - docs/models/operations/updateprojectdatacachetarget.md - - docs/models/operations/updateprojectdatacachetarget1.md - - docs/models/operations/updateprojectdatacachetarget2.md - - docs/models/operations/updateprojectdatacachetrustedips.md - - docs/models/operations/updateprojectdatacachetrustedipsaddresses.md - - docs/models/operations/updateprojectdatacachetrustedipsdeploymenttype.md - - docs/models/operations/updateprojectdatacachetrustedipsprotectionmode.md - - docs/models/operations/updateprojectdatacachetype.md - - docs/models/operations/updateprojectdatacachevalue.md - - docs/models/operations/updateprojectdatacachevalue2.md - - docs/models/operations/updateprojectdatacachevalueprojects2.md - - docs/models/operations/updateprojectdefinitions.md - - docs/models/operations/updateprojectdeploymentexpiration.md - - docs/models/operations/updateprojectdeploymenttype.md - - docs/models/operations/updateprojectdomainrequest.md - - docs/models/operations/updateprojectdomainrequestbody.md - - docs/models/operations/updateprojectdomainresponsebody.md - - docs/models/operations/updateprojectdomainverification.md - - docs/models/operations/updateprojectenv.md - - docs/models/operations/updateprojecterl.md - - docs/models/operations/updateprojectfirewallroutes.md - - docs/models/operations/updateprojectframework.md - - docs/models/operations/updateprojectfunctiondefaultmemorytype.md - - docs/models/operations/updateprojectgitcomments.md - - docs/models/operations/updateprojecthandle.md - - docs/models/operations/updateprojecthas.md - - docs/models/operations/updateprojectinternalcontenthint.md - - docs/models/operations/updateprojectipbuckets.md - - docs/models/operations/updateprojectissuermode.md - - docs/models/operations/updateprojectjobstatus.md - - docs/models/operations/updateprojectlastaliasrequest.md - - docs/models/operations/updateprojectlastrollbacktarget.md - - docs/models/operations/updateprojectlatestdeployments.md - - docs/models/operations/updateprojectlink.md - - docs/models/operations/updateprojectlink1.md - - docs/models/operations/updateprojectlink2.md - - docs/models/operations/updateprojectlink3.md - - docs/models/operations/updateprojectlinkdeployhooks.md - - docs/models/operations/updateprojectlinkprojectsdeployhooks.md - - docs/models/operations/updateprojectlinkprojectsresponsedeployhooks.md - - docs/models/operations/updateprojectlinkprojectsresponsetype.md - - docs/models/operations/updateprojectlinkprojectstype.md - - docs/models/operations/updateprojectlinktype.md - - docs/models/operations/updateprojectmicrofrontends.md - - docs/models/operations/updateprojectmissing.md - - docs/models/operations/updateprojectmitigate.md - - docs/models/operations/updateprojectnodeversion.md - - docs/models/operations/updateprojectoidctokenclaims.md - - docs/models/operations/updateprojectoidctokenconfig.md - - docs/models/operations/updateprojectoptionsallowlist.md - - docs/models/operations/updateprojectpasswordprotection.md - - docs/models/operations/updateprojectpaths.md - - docs/models/operations/updateprojectpermissions.md - - docs/models/operations/updateprojectplan.md - - docs/models/operations/updateprojectprojectsaliasassigned.md - - docs/models/operations/updateprojectprojectsaliaserror.md - - docs/models/operations/updateprojectprojectsbranchmatcher.md - - docs/models/operations/updateprojectprojectsbuilds.md - - docs/models/operations/updateprojectprojectschecksconclusion.md - - docs/models/operations/updateprojectprojectschecksstate.md - - docs/models/operations/updateprojectprojectscreator.md - - docs/models/operations/updateprojectprojectsdeploymenttype.md - - docs/models/operations/updateprojectprojectsframework.md - - docs/models/operations/updateprojectprojectsissuermode.md - - docs/models/operations/updateprojectprojectsnodeversion.md - - docs/models/operations/updateprojectprojectsoidctokenclaims.md - - docs/models/operations/updateprojectprojectsoidctokenconfig.md - - docs/models/operations/updateprojectprojectsplan.md - - docs/models/operations/updateprojectprojectsreadystate.md - - docs/models/operations/updateprojectprojectsreadysubstate.md - - docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodyenvtype.md - - docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md - - docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md - - docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodytype.md - - docs/models/operations/updateprojectprojectsresponse200applicationjsontype.md - - docs/models/operations/updateprojectprojectsresponse200type.md - - docs/models/operations/updateprojectprojectsresponsedeploymenttype.md - - docs/models/operations/updateprojectprojectsresponsetype.md - - docs/models/operations/updateprojectprojectstype.md - - docs/models/operations/updateprojectprojectsvalue.md - - docs/models/operations/updateprojectprotectionbypass.md - - docs/models/operations/updateprojectprotectionbypassprotectionbypass.md - - docs/models/operations/updateprojectprotectionbypassrequest.md - - docs/models/operations/updateprojectprotectionbypassrequestbody.md - - docs/models/operations/updateprojectprotectionbypassresponsebody.md - - docs/models/operations/updateprojectprotectionbypassscope.md - - docs/models/operations/updateprojectreadystate.md - - docs/models/operations/updateprojectreadysubstate.md - - docs/models/operations/updateprojectrequest.md - - docs/models/operations/updateprojectrequestbody.md - - docs/models/operations/updateprojectresourceconfig.md - - docs/models/operations/updateprojectresponsebody.md - - docs/models/operations/updateprojectscope.md - - docs/models/operations/updateprojectsecurity.md - - docs/models/operations/updateprojectspeedinsights.md - - docs/models/operations/updateprojectsrc.md - - docs/models/operations/updateprojectsrc2.md - - docs/models/operations/updateprojectssoprotection.md - - docs/models/operations/updateprojecttarget.md - - docs/models/operations/updateprojecttarget2.md - - docs/models/operations/updateprojecttargets.md - - docs/models/operations/updateprojecttier.md - - docs/models/operations/updateprojecttrustedips.md - - docs/models/operations/updateprojecttrustedips1.md - - docs/models/operations/updateprojecttrustedips2.md - - docs/models/operations/updateprojecttrustedipsaddresses.md - - docs/models/operations/updateprojecttrustedipsdeploymenttype.md - - docs/models/operations/updateprojecttrustedipsprojectsdeploymenttype.md - - docs/models/operations/updateprojecttrustedipsprotectionmode.md - - docs/models/operations/updateprojecttype.md - - docs/models/operations/updateprojectvalue.md - - docs/models/operations/updateprojectvalue2.md - - docs/models/operations/updateprojectvalueprojects2.md - - docs/models/operations/updateprojectwebanalytics.md - - docs/models/operations/updaterecorddnstype.md - - docs/models/operations/updaterecordrequest.md - - docs/models/operations/updaterecordrequestbody.md - - docs/models/operations/updaterecordresponsebody.md - - docs/models/operations/updaterecordtype.md - - docs/models/operations/updateresourcesecretsrequest.md - - docs/models/operations/updateresourcesecretsrequestbody.md - - docs/models/operations/updateteammemberjoinedfrom.md - - docs/models/operations/updateteammemberprojects.md - - docs/models/operations/updateteammemberrequest.md - - docs/models/operations/updateteammemberrequestbody.md - - docs/models/operations/updateteammemberresponsebody.md - - docs/models/operations/updateteammemberrole.md - - docs/models/operations/uploadartifactrequest.md - - docs/models/operations/uploadartifactresponsebody.md - - docs/models/operations/uploadcertrequest.md - - docs/models/operations/uploadcertrequestbody.md - - docs/models/operations/uploadcertresponsebody.md - - docs/models/operations/uploadedfile.md - - docs/models/operations/uploadfilerequest.md - - docs/models/operations/uploadfileresponsebody.md - - docs/models/operations/uploadfileresponsebody1.md - - docs/models/operations/uploadfileresponsebody2.md - - docs/models/operations/usage.md - - docs/models/operations/user.md - - docs/models/operations/utm.md - - docs/models/operations/verification.md - - docs/models/operations/verified.md - - docs/models/operations/verifiedbotsbypass.md - - docs/models/operations/verifyprojectdomainrequest.md - - docs/models/operations/verifyprojectdomainresponsebody.md - - docs/models/operations/verifyprojectdomainverification.md - - docs/models/operations/view.md - - docs/models/operations/virtualexperiencescore.md - - docs/models/operations/webanalytics.md - - docs/models/operations/xss.md + - docs/models/acceptedchallenges.md + - docs/models/access.md + - docs/models/accessgroups.md + - docs/models/aclaction.md + - docs/models/action.md + - docs/models/action1.md + - docs/models/active.md + - docs/models/activedashboardviews.md + - docs/models/addprojectdomainredirectstatuscode.md + - docs/models/addprojectdomainrequest.md + - docs/models/addprojectdomainrequestbody.md + - docs/models/addprojectdomainresponsebody.md + - docs/models/addprojectdomainverification.md + - docs/models/addprojectmemberrequest.md + - docs/models/addprojectmemberrequestbody.md + - docs/models/addprojectmemberrequestbody1.md + - docs/models/addprojectmemberrequestbody2.md + - docs/models/addprojectmemberrequestbody3.md + - docs/models/addprojectmemberrequestbodyprojectmembersrole.md + - docs/models/addprojectmemberrequestbodyrole.md + - docs/models/addprojectmemberresponsebody.md + - docs/models/addresses.md + - docs/models/algo.md + - docs/models/aliasassigned.md + - docs/models/aliasassignedat.md + - docs/models/aliaserror.md + - docs/models/aliases.md + - docs/models/aliaswarning.md + - docs/models/analytics.md + - docs/models/applications.md + - docs/models/artifactexistsrequest.md + - docs/models/artifactqueryrequest.md + - docs/models/artifactqueryrequestbody.md + - docs/models/assignaliasrequest.md + - docs/models/assignaliasrequestbody.md + - docs/models/assignaliasresponsebody.md + - docs/models/attribution.md + - docs/models/authtoken.md + - docs/models/authtokenscopesorigin.md + - docs/models/authtokenscopestype.md + - docs/models/authuser.md + - docs/models/authuserlimited.md + - docs/models/authuserlimitedversion.md + - docs/models/backup.md + - docs/models/backups.md + - docs/models/billing.md + - docs/models/billing1.md + - docs/models/billing2.md + - docs/models/billingitems.md + - docs/models/billingplan.md + - docs/models/bitbucket.md + - docs/models/blockedduetooveragetype.md + - docs/models/branchmatcher.md + - docs/models/build.md + - docs/models/builds.md + - docs/models/buydomaindomain.md + - docs/models/buydomaindomainsdomain.md + - docs/models/buydomaindomainsresponsebody.md + - docs/models/buydomainrequest.md + - docs/models/buydomainrequestbody.md + - docs/models/buydomainresponse.md + - docs/models/buydomainresponsebody.md + - docs/models/canceldeploymentaliasassignedat.md + - docs/models/canceldeploymentaliaserror.md + - docs/models/canceldeploymentaliaswarning.md + - docs/models/canceldeploymentbuild.md + - docs/models/canceldeploymentbuilds.md + - docs/models/canceldeploymentchecksconclusion.md + - docs/models/canceldeploymentchecksstate.md + - docs/models/canceldeploymentcreator.md + - docs/models/canceldeploymentcrons.md + - docs/models/canceldeploymentcustomenvironment.md + - docs/models/canceldeploymentcustomenvironment1.md + - docs/models/canceldeploymentcustomenvironment2.md + - docs/models/canceldeploymentdeploymentsreadystate.md + - docs/models/canceldeploymentdeploymentsstatus.md + - docs/models/canceldeploymentflags.md + - docs/models/canceldeploymentflags1.md + - docs/models/canceldeploymentflags2.md + - docs/models/canceldeploymentflagsdefinitions.md + - docs/models/canceldeploymentframework.md + - docs/models/canceldeploymentfunctions.md + - docs/models/canceldeploymentgitrepo.md + - docs/models/canceldeploymentgitrepo1.md + - docs/models/canceldeploymentgitrepo2.md + - docs/models/canceldeploymentgitrepo3.md + - docs/models/canceldeploymentgitrepodeploymentsownertype.md + - docs/models/canceldeploymentgitrepodeploymentsresponseownertype.md + - docs/models/canceldeploymentgitrepodeploymentsresponsetype.md + - docs/models/canceldeploymentgitrepodeploymentstype.md + - docs/models/canceldeploymentgitrepoownertype.md + - docs/models/canceldeploymentgitrepotype.md + - docs/models/canceldeploymentgitsource.md + - docs/models/canceldeploymentgitsource1.md + - docs/models/canceldeploymentgitsource2.md + - docs/models/canceldeploymentgitsource3.md + - docs/models/canceldeploymentgitsource4.md + - docs/models/canceldeploymentgitsource5.md + - docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md + - docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md + - docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md + - docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md + - docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsontype.md + - docs/models/canceldeploymentgitsourcedeploymentsresponse200type.md + - docs/models/canceldeploymentgitsourcedeploymentsresponsetype.md + - docs/models/canceldeploymentgitsourcedeploymentstype.md + - docs/models/canceldeploymentgitsourceprojectid.md + - docs/models/canceldeploymentgitsourcerepoid.md + - docs/models/canceldeploymentgitsourcetype.md + - docs/models/canceldeploymenthas1.md + - docs/models/canceldeploymenthas2.md + - docs/models/canceldeploymenthasdeploymentstype.md + - docs/models/canceldeploymenthastype.md + - docs/models/canceldeploymentintegrations.md + - docs/models/canceldeploymentlambdas.md + - docs/models/canceldeploymentmicrofrontends.md + - docs/models/canceldeploymentmicrofrontends1.md + - docs/models/canceldeploymentmicrofrontends2.md + - docs/models/canceldeploymentmissing1.md + - docs/models/canceldeploymentmissing2.md + - docs/models/canceldeploymentmissingdeploymentstype.md + - docs/models/canceldeploymentmissingtype.md + - docs/models/canceldeploymentoidctokenclaims.md + - docs/models/canceldeploymentoutput.md + - docs/models/canceldeploymentplan.md + - docs/models/canceldeploymentproject.md + - docs/models/canceldeploymentprojectsettings.md + - docs/models/canceldeploymentreadystate.md + - docs/models/canceldeploymentreadysubstate.md + - docs/models/canceldeploymentrequest.md + - docs/models/canceldeploymentresponsebody.md + - docs/models/canceldeploymentroutes.md + - docs/models/canceldeploymentroutes1.md + - docs/models/canceldeploymentroutes2.md + - docs/models/canceldeploymentroutes3.md + - docs/models/canceldeploymentrouteshandle.md + - docs/models/canceldeploymentrouteshas.md + - docs/models/canceldeploymentroutesmissing.md + - docs/models/canceldeploymentsource.md + - docs/models/canceldeploymentspeedinsights.md + - docs/models/canceldeploymentstatus.md + - docs/models/canceldeploymenttarget.md + - docs/models/canceldeploymentteam.md + - docs/models/canceldeploymenttype.md + - docs/models/canceldeploymentwebanalytics.md + - docs/models/changes.md + - docs/models/checkdomainpricerequest.md + - docs/models/checkdomainpriceresponsebody.md + - docs/models/checkdomainstatusrequest.md + - docs/models/checkdomainstatusresponsebody.md + - docs/models/checks.md + - docs/models/checksconclusion.md + - docs/models/checksstate.md + - docs/models/cls.md + - docs/models/computedprojectrole.md + - docs/models/conclusion.md + - docs/models/conditiongroup.md + - docs/models/conditions.md + - docs/models/configuredby.md + - docs/models/connection.md + - docs/models/contact.md + - docs/models/contenthint.md + - docs/models/contenthint1.md + - docs/models/contenthint10.md + - docs/models/contenthint11.md + - docs/models/contenthint12.md + - docs/models/contenthint13.md + - docs/models/contenthint14.md + - docs/models/contenthint15.md + - docs/models/contenthint2.md + - docs/models/contenthint3.md + - docs/models/contenthint4.md + - docs/models/contenthint5.md + - docs/models/contenthint6.md + - docs/models/contenthint7.md + - docs/models/contenthint8.md + - docs/models/contenthint9.md + - docs/models/contenthinttype.md + - docs/models/createaccessgroupprojectaccessgroupsrole.md + - docs/models/createaccessgroupprojectrequest.md + - docs/models/createaccessgroupprojectrequestbody.md + - docs/models/createaccessgroupprojectresponsebody.md + - docs/models/createaccessgroupprojectrole.md + - docs/models/createaccessgroupprojects.md + - docs/models/createaccessgrouprequest.md + - docs/models/createaccessgrouprequestbody.md + - docs/models/createaccessgroupresponsebody.md + - docs/models/createaccessgrouprole.md + - docs/models/createauthtokenrequest.md + - docs/models/createauthtokenrequestbody.md + - docs/models/createauthtokenresponsebody.md + - docs/models/createcheckchecksresponse200applicationjsonsource.md + - docs/models/createcheckchecksresponse200source.md + - docs/models/createcheckchecksresponsesource.md + - docs/models/createcheckcheckssource.md + - docs/models/createcheckcls.md + - docs/models/createcheckconclusion.md + - docs/models/createcheckfcp.md + - docs/models/createchecklcp.md + - docs/models/createcheckmetrics.md + - docs/models/createcheckoutput.md + - docs/models/createcheckrequest.md + - docs/models/createcheckrequestbody.md + - docs/models/createcheckresponsebody.md + - docs/models/createchecksource.md + - docs/models/createcheckstatus.md + - docs/models/createchecktbt.md + - docs/models/createcheckvirtualexperiencescore.md + - docs/models/createconfigurablelogdraincreatedfrom.md + - docs/models/createconfigurablelogdraindeliveryformat.md + - docs/models/createconfigurablelogdraindisabledreason.md + - docs/models/createconfigurablelogdrainenvironments.md + - docs/models/createconfigurablelogdrainlogdrainsdeliveryformat.md + - docs/models/createconfigurablelogdrainlogdrainsenvironments.md + - docs/models/createconfigurablelogdrainlogdrainssources.md + - docs/models/createconfigurablelogdrainrequest.md + - docs/models/createconfigurablelogdrainrequestbody.md + - docs/models/createconfigurablelogdrainresponsebody.md + - docs/models/createconfigurablelogdrainsources.md + - docs/models/createconfigurablelogdrainstatus.md + - docs/models/created.md + - docs/models/created1.md + - docs/models/created2.md + - docs/models/createdcontenthint.md + - docs/models/createdeploymentcrons.md + - docs/models/createdeploymentdeploymentsstatus.md + - docs/models/createdeploymentframework.md + - docs/models/createdeploymentgitrepodeploymentstype.md + - docs/models/createdeploymentgitrepoownertype.md + - docs/models/createdeploymentgitrepotype.md + - docs/models/createdeploymentgitsource.md + - docs/models/createdeploymentgitsource1.md + - docs/models/createdeploymentgitsource2.md + - docs/models/createdeploymentgitsource6.md + - docs/models/createdeploymentgitsource7.md + - docs/models/createdeploymentgitsource8.md + - docs/models/createdeploymentgitsource9.md + - docs/models/createdeploymentgitsourcedeploymentsrequestrequestbodytype.md + - docs/models/createdeploymentgitsourcedeploymentsrequesttype.md + - docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody5type.md + - docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody6type.md + - docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md + - docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md + - docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md + - docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md + - docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsontype.md + - docs/models/createdeploymentgitsourcedeploymentsresponse200type.md + - docs/models/createdeploymentgitsourcedeploymentsresponsetype.md + - docs/models/createdeploymentgitsourcedeploymentstype.md + - docs/models/createdeploymentgitsourcetype.md + - docs/models/createdeploymenthastype.md + - docs/models/createdeploymentmicrofrontends.md + - docs/models/createdeploymentmissingtype.md + - docs/models/createdeploymentoutput.md + - docs/models/createdeploymentprojectsettings.md + - docs/models/createdeploymentreadystate.md + - docs/models/createdeploymentrequest.md + - docs/models/createdeploymentrequestbody.md + - docs/models/createdeploymentresponsebody.md + - docs/models/createdeploymentsource.md + - docs/models/createdeploymentspeedinsights.md + - docs/models/createdeploymentstatus.md + - docs/models/createdeploymenttarget.md + - docs/models/createdeploymenttype.md + - docs/models/createdeploymentwebanalytics.md + - docs/models/createdfrom.md + - docs/models/createdinternalcontenthint.md + - docs/models/createdtarget.md + - docs/models/createdtype.md + - docs/models/createedgeconfigpurpose.md + - docs/models/createedgeconfigrequest.md + - docs/models/createedgeconfigrequestbody.md + - docs/models/createedgeconfigresponsebody.md + - docs/models/createedgeconfigschema.md + - docs/models/createedgeconfigtokenrequest.md + - docs/models/createedgeconfigtokenrequestbody.md + - docs/models/createedgeconfigtokenresponsebody.md + - docs/models/createedgeconfigtransfer.md + - docs/models/createedgeconfigtype.md + - docs/models/createeventevent.md + - docs/models/createeventeventtype.md + - docs/models/createeventrequest.md + - docs/models/createeventrequestbody.md + - docs/models/createlogdraincreatedfrom.md + - docs/models/createlogdraindeliveryformat.md + - docs/models/createlogdrainenvironments.md + - docs/models/createlogdrainrequest.md + - docs/models/createlogdrainrequestbody.md + - docs/models/createlogdrainresponsebody.md + - docs/models/createlogdrainsources.md + - docs/models/createortransferdomaincreator.md + - docs/models/createortransferdomaindomain.md + - docs/models/createortransferdomainrequest.md + - docs/models/createortransferdomainrequestbody.md + - docs/models/createortransferdomainrequestbody1.md + - docs/models/createortransferdomainrequestbody2.md + - docs/models/createortransferdomainrequestbody3.md + - docs/models/createortransferdomainresponsebody.md + - docs/models/createortransferdomainservicetype.md + - docs/models/createprojectaction.md + - docs/models/createprojectalgo.md + - docs/models/createprojectaliasassigned.md + - docs/models/createprojectaliaserror.md + - docs/models/createprojectanalytics.md + - docs/models/createprojectbranchmatcher.md + - docs/models/createprojectbuilds.md + - docs/models/createprojectchecksconclusion.md + - docs/models/createprojectchecksstate.md + - docs/models/createprojectcontenthint.md + - docs/models/createprojectcontenthint1.md + - docs/models/createprojectcontenthint10.md + - docs/models/createprojectcontenthint2.md + - docs/models/createprojectcontenthint3.md + - docs/models/createprojectcontenthint4.md + - docs/models/createprojectcontenthint5.md + - docs/models/createprojectcontenthint6.md + - docs/models/createprojectcontenthint7.md + - docs/models/createprojectcontenthint8.md + - docs/models/createprojectcontenthint9.md + - docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md + - docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md + - docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md + - docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md + - docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md + - docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md + - docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md + - docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md + - docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md + - docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md + - docs/models/createprojectcontenthintprojectsresponse200applicationjsontype.md + - docs/models/createprojectcontenthintprojectsresponse200type.md + - docs/models/createprojectcontenthintprojectsresponsetype.md + - docs/models/createprojectcontenthintprojectstype.md + - docs/models/createprojectcontenthinttype.md + - docs/models/createprojectcreator.md + - docs/models/createprojectcrons.md + - docs/models/createprojectcustomenvironments.md + - docs/models/createprojectdatacache.md + - docs/models/createprojectdefinitions.md + - docs/models/createprojectdeploymentexpiration.md + - docs/models/createprojectdeploymenttype.md + - docs/models/createprojectenv.md + - docs/models/createprojectenv11.md + - docs/models/createprojectenv12.md + - docs/models/createprojectenv1target.md + - docs/models/createprojectenv1type.md + - docs/models/createprojectenv2target.md + - docs/models/createprojectenv2type.md + - docs/models/createprojectenvcontenthint1.md + - docs/models/createprojectenvcontenthint10.md + - docs/models/createprojectenvcontenthint11.md + - docs/models/createprojectenvcontenthint12.md + - docs/models/createprojectenvcontenthint13.md + - docs/models/createprojectenvcontenthint14.md + - docs/models/createprojectenvcontenthint15.md + - docs/models/createprojectenvcontenthint2.md + - docs/models/createprojectenvcontenthint3.md + - docs/models/createprojectenvcontenthint4.md + - docs/models/createprojectenvcontenthint5.md + - docs/models/createprojectenvcontenthint6.md + - docs/models/createprojectenvcontenthint7.md + - docs/models/createprojectenvcontenthint8.md + - docs/models/createprojectenvcontenthint9.md + - docs/models/createprojectenvcontenthintprojects1.md + - docs/models/createprojectenvcontenthintprojects10.md + - docs/models/createprojectenvcontenthintprojects11.md + - docs/models/createprojectenvcontenthintprojects12.md + - docs/models/createprojectenvcontenthintprojects13.md + - docs/models/createprojectenvcontenthintprojects14.md + - docs/models/createprojectenvcontenthintprojects15.md + - docs/models/createprojectenvcontenthintprojects2.md + - docs/models/createprojectenvcontenthintprojects3.md + - docs/models/createprojectenvcontenthintprojects4.md + - docs/models/createprojectenvcontenthintprojects5.md + - docs/models/createprojectenvcontenthintprojects6.md + - docs/models/createprojectenvcontenthintprojects7.md + - docs/models/createprojectenvcontenthintprojects8.md + - docs/models/createprojectenvcontenthintprojects9.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated110type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated111type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated112type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated113type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated114type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated115type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated19type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated1type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated210type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated211type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated212type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated213type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated214type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated215type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated22type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated23type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated24type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated25type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated26type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated27type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated28type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated29type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated2type.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreatedtype.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodytype.md + - docs/models/createprojectenvcontenthintprojectsresponse201applicationjsontype.md + - docs/models/createprojectenvcontenthintprojectsresponse201type.md + - docs/models/createprojectenvcontenthintprojectsresponsetype.md + - docs/models/createprojectenvcontenthintprojectstype.md + - docs/models/createprojectenvcontenthinttype.md + - docs/models/createprojectenvcreatedcontenthint.md + - docs/models/createprojectenvcreatedinternalcontenthint.md + - docs/models/createprojectenvcreatedprojectsresponsetype.md + - docs/models/createprojectenvcreatedprojectstype.md + - docs/models/createprojectenvcreatedtarget.md + - docs/models/createprojectenvcreatedtype.md + - docs/models/createprojectenverror.md + - docs/models/createprojectenvrequest.md + - docs/models/createprojectenvrequestbody.md + - docs/models/createprojectenvrequestbody1.md + - docs/models/createprojectenvrequestbody2.md + - docs/models/createprojectenvresponsebody.md + - docs/models/createprojectenvtarget.md + - docs/models/createprojectenvtarget1.md + - docs/models/createprojectenvtarget2.md + - docs/models/createprojectenvtargetprojects1.md + - docs/models/createprojectenvtargetprojects2.md + - docs/models/createprojectenvtargetprojectsresponse2.md + - docs/models/createprojectenvvalue.md + - docs/models/createprojectenvvalue2.md + - docs/models/createprojecterl.md + - docs/models/createprojectfirewallroutes.md + - docs/models/createprojectframework.md + - docs/models/createprojectfunctiondefaultmemorytype.md + - docs/models/createprojectgitcomments.md + - docs/models/createprojecthandle.md + - docs/models/createprojecthas.md + - docs/models/createprojectinternalcontenthint.md + - docs/models/createprojectipbuckets.md + - docs/models/createprojectissuermode.md + - docs/models/createprojectjobstatus.md + - docs/models/createprojectlastaliasrequest.md + - docs/models/createprojectlastrollbacktarget.md + - docs/models/createprojectlatestdeployments.md + - docs/models/createprojectlink.md + - docs/models/createprojectlink1.md + - docs/models/createprojectlink2.md + - docs/models/createprojectlink3.md + - docs/models/createprojectlinkdeployhooks.md + - docs/models/createprojectlinkprojectsdeployhooks.md + - docs/models/createprojectlinkprojectsresponsedeployhooks.md + - docs/models/createprojectlinkprojectsresponsetype.md + - docs/models/createprojectlinkprojectstype.md + - docs/models/createprojectlinktype.md + - docs/models/createprojectmicrofrontends.md + - docs/models/createprojectmissing.md + - docs/models/createprojectmitigate.md + - docs/models/createprojectnodeversion.md + - docs/models/createprojectoidctokenclaims.md + - docs/models/createprojectoidctokenconfig.md + - docs/models/createprojectoptionsallowlist.md + - docs/models/createprojectpasswordprotection.md + - docs/models/createprojectpaths.md + - docs/models/createprojectpermissions.md + - docs/models/createprojectplan.md + - docs/models/createprojectprojectsaliasassigned.md + - docs/models/createprojectprojectsaliaserror.md + - docs/models/createprojectprojectsbranchmatcher.md + - docs/models/createprojectprojectsbuilds.md + - docs/models/createprojectprojectschecksconclusion.md + - docs/models/createprojectprojectschecksstate.md + - docs/models/createprojectprojectscreator.md + - docs/models/createprojectprojectsframework.md + - docs/models/createprojectprojectsoidctokenclaims.md + - docs/models/createprojectprojectsplan.md + - docs/models/createprojectprojectsreadystate.md + - docs/models/createprojectprojectsreadysubstate.md + - docs/models/createprojectprojectsresponse200applicationjsonresponsebodyenvtype.md + - docs/models/createprojectprojectsresponse200applicationjsonresponsebodylatestdeploymentstype.md + - docs/models/createprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md + - docs/models/createprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md + - docs/models/createprojectprojectsresponse200applicationjsonresponsebodytargetstype.md + - docs/models/createprojectprojectsresponse200applicationjsonresponsebodytype.md + - docs/models/createprojectprojectsresponse200applicationjsontype.md + - docs/models/createprojectprojectsresponse200type.md + - docs/models/createprojectprojectsresponsetype.md + - docs/models/createprojectprojectstarget.md + - docs/models/createprojectprojectstype.md + - docs/models/createprojectprojectsvalue.md + - docs/models/createprojectprotectionbypass.md + - docs/models/createprojectreadystate.md + - docs/models/createprojectreadysubstate.md + - docs/models/createprojectrequest.md + - docs/models/createprojectrequestbody.md + - docs/models/createprojectresourceconfig.md + - docs/models/createprojectresponsebody.md + - docs/models/createprojectscope.md + - docs/models/createprojectsecurity.md + - docs/models/createprojectspeedinsights.md + - docs/models/createprojectsrc.md + - docs/models/createprojectsrc2.md + - docs/models/createprojectssoprotection.md + - docs/models/createprojecttarget.md + - docs/models/createprojecttarget2.md + - docs/models/createprojecttargets.md + - docs/models/createprojecttier.md + - docs/models/createprojecttrustedips.md + - docs/models/createprojecttrustedips1.md + - docs/models/createprojecttrustedips2.md + - docs/models/createprojecttrustedipsdeploymenttype.md + - docs/models/createprojecttrustedipsprojectsdeploymenttype.md + - docs/models/createprojecttype.md + - docs/models/createprojectvalue.md + - docs/models/createprojectvalue2.md + - docs/models/createprojectvalueprojects2.md + - docs/models/createprojectwebanalytics.md + - docs/models/createrecordrequest.md + - docs/models/createrecordrequestbody.md + - docs/models/createrecordrequestbodydnsrequest10type.md + - docs/models/createrecordrequestbodydnsrequest5type.md + - docs/models/createrecordrequestbodydnsrequest6type.md + - docs/models/createrecordrequestbodydnsrequest7type.md + - docs/models/createrecordrequestbodydnsrequest8type.md + - docs/models/createrecordrequestbodydnsrequest9type.md + - docs/models/createrecordrequestbodydnsrequesttype.md + - docs/models/createrecordrequestbodydnstype.md + - docs/models/createrecordrequestbodytype.md + - docs/models/createrecordresponsebody.md + - docs/models/createrecordresponsebody1.md + - docs/models/createrecordresponsebody2.md + - docs/models/createteambilling.md + - docs/models/createteamrequestbody.md + - docs/models/createteamresponsebody.md + - docs/models/createwebhookevents.md + - docs/models/createwebhookrequest.md + - docs/models/createwebhookrequestbody.md + - docs/models/createwebhookresponsebody.md + - docs/models/creator.md + - docs/models/crons.md + - docs/models/crs.md + - docs/models/customenvironment.md + - docs/models/customenvironment1.md + - docs/models/customenvironment2.md + - docs/models/customenvironments.md + - docs/models/datacache.md + - docs/models/decrypt.md + - docs/models/definitions.md + - docs/models/deleteaccessgroupprojectrequest.md + - docs/models/deleteaccessgrouprequest.md + - docs/models/deletealiasrequest.md + - docs/models/deletealiasresponsebody.md + - docs/models/deletealiasstatus.md + - docs/models/deleteauthtokenrequest.md + - docs/models/deleteauthtokenresponsebody.md + - docs/models/deleteconfigurablelogdrainrequest.md + - docs/models/deleteconfigurationrequest.md + - docs/models/deletedeploymentrequest.md + - docs/models/deletedeploymentresponsebody.md + - docs/models/deletedeploymentstate.md + - docs/models/deletedomainrequest.md + - docs/models/deletedomainresponsebody.md + - docs/models/deleteedgeconfigrequest.md + - docs/models/deleteedgeconfigschemarequest.md + - docs/models/deleteedgeconfigtokensrequest.md + - docs/models/deleteedgeconfigtokensrequestbody.md + - docs/models/deleteintegrationlogdrainrequest.md + - docs/models/deleteprojectrequest.md + - docs/models/deleteteaminvitecoderequest.md + - docs/models/deleteteaminvitecoderesponsebody.md + - docs/models/deleteteamrequest.md + - docs/models/deleteteamrequestbody.md + - docs/models/deleteteamresponsebody.md + - docs/models/deletewebhookrequest.md + - docs/models/deliveryformat.md + - docs/models/deployhooks.md + - docs/models/deployment.md + - docs/models/deploymentexpiration.md + - docs/models/deployments.md + - docs/models/deploymenttype.md + - docs/models/details.md + - docs/models/direction.md + - docs/models/directory.md + - docs/models/disabledreason.md + - docs/models/discounts.md + - docs/models/dismissals.md + - docs/models/dismissedtoasts.md + - docs/models/domain.md + - docs/models/domains.md + - docs/models/downloadartifactrequest.md + - docs/models/edgeconfigitem.md + - docs/models/edgeconfigitemvalue.md + - docs/models/edgeconfigtoken.md + - docs/models/editprojectenvcontenthint1.md + - docs/models/editprojectenvcontenthint10.md + - docs/models/editprojectenvcontenthint11.md + - docs/models/editprojectenvcontenthint12.md + - docs/models/editprojectenvcontenthint13.md + - docs/models/editprojectenvcontenthint14.md + - docs/models/editprojectenvcontenthint15.md + - docs/models/editprojectenvcontenthint2.md + - docs/models/editprojectenvcontenthint3.md + - docs/models/editprojectenvcontenthint4.md + - docs/models/editprojectenvcontenthint5.md + - docs/models/editprojectenvcontenthint6.md + - docs/models/editprojectenvcontenthint7.md + - docs/models/editprojectenvcontenthint8.md + - docs/models/editprojectenvcontenthint9.md + - docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md + - docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md + - docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md + - docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md + - docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md + - docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md + - docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md + - docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md + - docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md + - docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md + - docs/models/editprojectenvcontenthintprojectsresponse200applicationjsontype.md + - docs/models/editprojectenvcontenthintprojectsresponse200type.md + - docs/models/editprojectenvcontenthintprojectsresponsetype.md + - docs/models/editprojectenvcontenthintprojectstype.md + - docs/models/editprojectenvcontenthinttype.md + - docs/models/editprojectenvrequest.md + - docs/models/editprojectenvrequestbody.md + - docs/models/editprojectenvresponsebody.md + - docs/models/editprojectenvresponsebody1.md + - docs/models/editprojectenvresponsebody2.md + - docs/models/editprojectenvresponsebodycontenthint.md + - docs/models/editprojectenvresponsebodyinternalcontenthint.md + - docs/models/editprojectenvresponsebodyprojectstype.md + - docs/models/editprojectenvresponsebodytarget.md + - docs/models/editprojectenvresponsebodytype.md + - docs/models/editprojectenvtarget.md + - docs/models/editprojectenvtarget2.md + - docs/models/editprojectenvtype.md + - docs/models/eight.md + - docs/models/eleven.md + - docs/models/emailinvitecodes.md + - docs/models/encoding.md + - docs/models/entitlements.md + - docs/models/env.md + - docs/models/environments.md + - docs/models/environmentvariables.md + - docs/models/envs.md + - docs/models/erl.md + - docs/models/errort.md + - docs/models/event.md + - docs/models/event1.md + - docs/models/event2.md + - docs/models/events.md + - docs/models/eventtype.md + - docs/models/exchangessotokenrequestbody.md + - docs/models/exchangessotokenresponsebody.md + - docs/models/failed.md + - docs/models/favoriteprojectsandspaces.md + - docs/models/favoritesviewpreference.md + - docs/models/fcp.md + - docs/models/featureblocks.md + - docs/models/fifteen.md + - docs/models/files.md + - docs/models/filetree.md + - docs/models/filterprojectenvscontenthint1.md + - docs/models/filterprojectenvscontenthint10.md + - docs/models/filterprojectenvscontenthint11.md + - docs/models/filterprojectenvscontenthint12.md + - docs/models/filterprojectenvscontenthint13.md + - docs/models/filterprojectenvscontenthint14.md + - docs/models/filterprojectenvscontenthint15.md + - docs/models/filterprojectenvscontenthint2.md + - docs/models/filterprojectenvscontenthint3.md + - docs/models/filterprojectenvscontenthint4.md + - docs/models/filterprojectenvscontenthint5.md + - docs/models/filterprojectenvscontenthint6.md + - docs/models/filterprojectenvscontenthint7.md + - docs/models/filterprojectenvscontenthint8.md + - docs/models/filterprojectenvscontenthint9.md + - docs/models/filterprojectenvscontenthintprojects1.md + - docs/models/filterprojectenvscontenthintprojects10.md + - docs/models/filterprojectenvscontenthintprojects11.md + - docs/models/filterprojectenvscontenthintprojects12.md + - docs/models/filterprojectenvscontenthintprojects13.md + - docs/models/filterprojectenvscontenthintprojects14.md + - docs/models/filterprojectenvscontenthintprojects15.md + - docs/models/filterprojectenvscontenthintprojects2.md + - docs/models/filterprojectenvscontenthintprojects3.md + - docs/models/filterprojectenvscontenthintprojects4.md + - docs/models/filterprojectenvscontenthintprojects5.md + - docs/models/filterprojectenvscontenthintprojects6.md + - docs/models/filterprojectenvscontenthintprojects7.md + - docs/models/filterprojectenvscontenthintprojects8.md + - docs/models/filterprojectenvscontenthintprojects9.md + - docs/models/filterprojectenvscontenthintprojectsresponse1.md + - docs/models/filterprojectenvscontenthintprojectsresponse10.md + - docs/models/filterprojectenvscontenthintprojectsresponse11.md + - docs/models/filterprojectenvscontenthintprojectsresponse12.md + - docs/models/filterprojectenvscontenthintprojectsresponse13.md + - docs/models/filterprojectenvscontenthintprojectsresponse14.md + - docs/models/filterprojectenvscontenthintprojectsresponse15.md + - docs/models/filterprojectenvscontenthintprojectsresponse2.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody110type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody111type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody112type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody113type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody114type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody115type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody18type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody19type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody1type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs10type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs11type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs12type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs13type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs14type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs15type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs3type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs4type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs5type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs6type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs7type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs8type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs9type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envstype.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs10type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs11type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs12type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs13type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs14type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs15type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs3type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs4type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs5type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs6type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs7type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs8type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs9type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envstype.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3type.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebodytype.md + - docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsontype.md + - docs/models/filterprojectenvscontenthintprojectsresponse200type.md + - docs/models/filterprojectenvscontenthintprojectsresponse3.md + - docs/models/filterprojectenvscontenthintprojectsresponse4.md + - docs/models/filterprojectenvscontenthintprojectsresponse5.md + - docs/models/filterprojectenvscontenthintprojectsresponse6.md + - docs/models/filterprojectenvscontenthintprojectsresponse7.md + - docs/models/filterprojectenvscontenthintprojectsresponse8.md + - docs/models/filterprojectenvscontenthintprojectsresponse9.md + - docs/models/filterprojectenvscontenthintprojectsresponsetype.md + - docs/models/filterprojectenvscontenthintprojectstype.md + - docs/models/filterprojectenvscontenthinttype.md + - docs/models/filterprojectenvsrequest.md + - docs/models/filterprojectenvsresponsebody.md + - docs/models/filterprojectenvsresponsebody1.md + - docs/models/filterprojectenvsresponsebody2.md + - docs/models/filterprojectenvsresponsebody3.md + - docs/models/filterprojectenvsresponsebodycontenthint.md + - docs/models/filterprojectenvsresponsebodyinternalcontenthint.md + - docs/models/filterprojectenvsresponsebodyprojectscontenthint.md + - docs/models/filterprojectenvsresponsebodyprojectsinternalcontenthint.md + - docs/models/filterprojectenvsresponsebodyprojectsresponse200applicationjson3type.md + - docs/models/filterprojectenvsresponsebodyprojectsresponse200applicationjsontype.md + - docs/models/filterprojectenvsresponsebodyprojectsresponse200type.md + - docs/models/filterprojectenvsresponsebodyprojectsresponsetarget.md + - docs/models/filterprojectenvsresponsebodyprojectsresponsetype.md + - docs/models/filterprojectenvsresponsebodyprojectstarget.md + - docs/models/filterprojectenvsresponsebodyprojectstype.md + - docs/models/filterprojectenvsresponsebodytarget.md + - docs/models/filterprojectenvsresponsebodytype.md + - docs/models/filterprojectenvstarget1.md + - docs/models/filterprojectenvstarget2.md + - docs/models/filterprojectenvstargetprojects1.md + - docs/models/filterprojectenvstargetprojects2.md + - docs/models/filterprojectenvstargetprojectsresponse2.md + - docs/models/firewallroutes.md + - docs/models/five.md + - docs/models/flagjsonvalue.md + - docs/models/flags.md + - docs/models/flags1.md + - docs/models/flags2.md + - docs/models/flagsdefinitions.md + - docs/models/flagsoptions.md + - docs/models/forcenew.md + - docs/models/four.md + - docs/models/fourteen.md + - docs/models/framework.md + - docs/models/functiondefaultmemorytype.md + - docs/models/functions.md + - docs/models/gen.md + - docs/models/generate.md + - docs/models/getaccountinforequest.md + - docs/models/getaccountinforesponsebody.md + - docs/models/getaliascreator.md + - docs/models/getaliasprotectionbypass.md + - docs/models/getaliasprotectionbypassaliasesresponsescope.md + - docs/models/getaliasprotectionbypassaliasesscope.md + - docs/models/getaliasprotectionbypassscope.md + - docs/models/getaliasrequest.md + - docs/models/getaliasresponsebody.md + - docs/models/getallcheckschecksresponse200applicationjsonsource.md + - docs/models/getallcheckschecksresponse200source.md + - docs/models/getallcheckschecksresponsesource.md + - docs/models/getallcheckscheckssource.md + - docs/models/getallcheckscls.md + - docs/models/getallchecksconclusion.md + - docs/models/getallchecksfcp.md + - docs/models/getallcheckslcp.md + - docs/models/getallchecksmetrics.md + - docs/models/getallchecksoutput.md + - docs/models/getallchecksrequest.md + - docs/models/getallchecksresponsebody.md + - docs/models/getallcheckssource.md + - docs/models/getallchecksstatus.md + - docs/models/getallcheckstbt.md + - docs/models/getallchecksvirtualexperiencescore.md + - docs/models/getalllogdrainscreatedfrom.md + - docs/models/getalllogdrainsdeliveryformat.md + - docs/models/getalllogdrainsdisabledreason.md + - docs/models/getalllogdrainsenvironments.md + - docs/models/getalllogdrainsrequest.md + - docs/models/getalllogdrainsresponsebody.md + - docs/models/getalllogdrainssources.md + - docs/models/getalllogdrainsstatus.md + - docs/models/getauthtokenrequest.md + - docs/models/getauthtokenresponsebody.md + - docs/models/getauthuserresponsebody.md + - docs/models/getcertbyidrequest.md + - docs/models/getcertbyidresponsebody.md + - docs/models/getcheckchecksresponse200applicationjsonsource.md + - docs/models/getcheckchecksresponse200source.md + - docs/models/getcheckchecksresponsesource.md + - docs/models/getcheckcheckssource.md + - docs/models/getcheckcls.md + - docs/models/getcheckconclusion.md + - docs/models/getcheckfcp.md + - docs/models/getchecklcp.md + - docs/models/getcheckmetrics.md + - docs/models/getcheckoutput.md + - docs/models/getcheckrequest.md + - docs/models/getcheckresponsebody.md + - docs/models/getchecksource.md + - docs/models/getcheckstatus.md + - docs/models/getchecktbt.md + - docs/models/getcheckvirtualexperiencescore.md + - docs/models/getconfigurablelogdraincreatedfrom.md + - docs/models/getconfigurablelogdraindeliveryformat.md + - docs/models/getconfigurablelogdrainenvironments.md + - docs/models/getconfigurablelogdrainrequest.md + - docs/models/getconfigurablelogdrainresponsebody.md + - docs/models/getconfigurablelogdrainsources.md + - docs/models/getconfigurablelogdrainstatus.md + - docs/models/getconfigurationrequest.md + - docs/models/getconfigurationresponsebody.md + - docs/models/getconfigurationresponsebody1.md + - docs/models/getconfigurationresponsebody2.md + - docs/models/getconfigurationresponsebodybillingplan.md + - docs/models/getconfigurationresponsebodydetails.md + - docs/models/getconfigurationresponsebodydisabledreason.md + - docs/models/getconfigurationresponsebodyheightlighteddetails.md + - docs/models/getconfigurationresponsebodyinstallationtype.md + - docs/models/getconfigurationresponsebodyintegrationsdisabledreason.md + - docs/models/getconfigurationresponsebodyintegrationsinstallationtype.md + - docs/models/getconfigurationresponsebodyintegrationsresponsetype.md + - docs/models/getconfigurationresponsebodyintegrationssource.md + - docs/models/getconfigurationresponsebodyintegrationstype.md + - docs/models/getconfigurationresponsebodyquote.md + - docs/models/getconfigurationresponsebodyscope.md + - docs/models/getconfigurationresponsebodysource.md + - docs/models/getconfigurationresponsebodytype.md + - docs/models/getconfigurationsrequest.md + - docs/models/getconfigurationsresponsebody.md + - docs/models/getconfigurationsresponsebody1.md + - docs/models/getconfigurationsresponsebody2.md + - docs/models/getconfigurationsresponsebodydisabledreason.md + - docs/models/getconfigurationsresponsebodyinstallationtype.md + - docs/models/getconfigurationsresponsebodyintegrationsresponse200type.md + - docs/models/getconfigurationsresponsebodyintegrationsresponsetype.md + - docs/models/getconfigurationsresponsebodyintegrationssource.md + - docs/models/getconfigurationsresponsebodyintegrationstype.md + - docs/models/getconfigurationsresponsebodyscope.md + - docs/models/getconfigurationsresponsebodysource.md + - docs/models/getconfigurationsresponsebodytype.md + - docs/models/getdeploymentcustomenvironment1.md + - docs/models/getdeploymentcustomenvironment2.md + - docs/models/getdeploymentcustomenvironmentdeployments1.md + - docs/models/getdeploymentcustomenvironmentdeployments2.md + - docs/models/getdeploymenteventsrequest.md + - docs/models/getdeploymentfilecontentsrequest.md + - docs/models/getdeploymentflags1.md + - docs/models/getdeploymentflags2.md + - docs/models/getdeploymentflagsdefinitions.md + - docs/models/getdeploymentflagsoptions.md + - docs/models/getdeploymentgitrepo1.md + - docs/models/getdeploymentgitrepo2.md + - docs/models/getdeploymentgitrepo3.md + - docs/models/getdeploymentgitrepodeploymentsownertype.md + - docs/models/getdeploymentgitrepodeploymentsresponseownertype.md + - docs/models/getdeploymentgitrepodeploymentsresponsetype.md + - docs/models/getdeploymentgitrepodeploymentstype.md + - docs/models/getdeploymentgitrepoownertype.md + - docs/models/getdeploymentgitrepotype.md + - docs/models/getdeploymentgitsource1.md + - docs/models/getdeploymentgitsource2.md + - docs/models/getdeploymentgitsource3.md + - docs/models/getdeploymentgitsource4.md + - docs/models/getdeploymentgitsource5.md + - docs/models/getdeploymentgitsource6.md + - docs/models/getdeploymentgitsource7.md + - docs/models/getdeploymentgitsource8.md + - docs/models/getdeploymentgitsource9.md + - docs/models/getdeploymentgitsourcedeployments1.md + - docs/models/getdeploymentgitsourcedeployments2.md + - docs/models/getdeploymentgitsourcedeployments3.md + - docs/models/getdeploymentgitsourcedeployments4.md + - docs/models/getdeploymentgitsourcedeployments5.md + - docs/models/getdeploymentgitsourcedeployments6.md + - docs/models/getdeploymentgitsourcedeployments7.md + - docs/models/getdeploymentgitsourcedeployments8.md + - docs/models/getdeploymentgitsourcedeployments9.md + - docs/models/getdeploymentgitsourcedeploymentsprojectid.md + - docs/models/getdeploymentgitsourcedeploymentsrepoid.md + - docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody11type.md + - docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody19type.md + - docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody1type.md + - docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody22type.md + - docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody23type.md + - docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody24type.md + - docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody25type.md + - docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody26type.md + - docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody27type.md + - docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody28type.md + - docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody29type.md + - docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody2type.md + - docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md + - docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsontype.md + - docs/models/getdeploymentgitsourcedeploymentsresponse200type.md + - docs/models/getdeploymentgitsourcedeploymentsresponsetype.md + - docs/models/getdeploymentgitsourcedeploymentstype.md + - docs/models/getdeploymentgitsourceprojectid.md + - docs/models/getdeploymentgitsourcerepoid.md + - docs/models/getdeploymentgitsourcetype.md + - docs/models/getdeploymenthas1.md + - docs/models/getdeploymenthas2.md + - docs/models/getdeploymenthasdeploymentstype.md + - docs/models/getdeploymenthastype.md + - docs/models/getdeploymentmicrofrontends1.md + - docs/models/getdeploymentmicrofrontends2.md + - docs/models/getdeploymentmicrofrontendsapplications.md + - docs/models/getdeploymentmissing1.md + - docs/models/getdeploymentmissing2.md + - docs/models/getdeploymentmissingdeploymentstype.md + - docs/models/getdeploymentmissingtype.md + - docs/models/getdeploymentrequest.md + - docs/models/getdeploymentresponsebody.md + - docs/models/getdeploymentresponsebody1.md + - docs/models/getdeploymentresponsebody2.md + - docs/models/getdeploymentresponsebodyaliaserror.md + - docs/models/getdeploymentresponsebodyaliaswarning.md + - docs/models/getdeploymentresponsebodychecksconclusion.md + - docs/models/getdeploymentresponsebodychecksstate.md + - docs/models/getdeploymentresponsebodycreator.md + - docs/models/getdeploymentresponsebodycustomenvironment.md + - docs/models/getdeploymentresponsebodydeploymentsreadystate.md + - docs/models/getdeploymentresponsebodydeploymentsresponsereadystate.md + - docs/models/getdeploymentresponsebodydeploymentsstatus.md + - docs/models/getdeploymentresponsebodygitsource.md + - docs/models/getdeploymentresponsebodylambdas.md + - docs/models/getdeploymentresponsebodyoidctokenclaims.md + - docs/models/getdeploymentresponsebodyoutput.md + - docs/models/getdeploymentresponsebodyproject.md + - docs/models/getdeploymentresponsebodyreadystate.md + - docs/models/getdeploymentresponsebodyreadysubstate.md + - docs/models/getdeploymentresponsebodysource.md + - docs/models/getdeploymentresponsebodystatus.md + - docs/models/getdeploymentresponsebodytarget.md + - docs/models/getdeploymentresponsebodyteam.md + - docs/models/getdeploymentresponsebodytype.md + - docs/models/getdeploymentroutes1.md + - docs/models/getdeploymentroutes2.md + - docs/models/getdeploymentroutes3.md + - docs/models/getdeploymentrouteshandle.md + - docs/models/getdeploymentrouteshas.md + - docs/models/getdeploymentrouteslocale.md + - docs/models/getdeploymentroutesmissing.md + - docs/models/getdeploymentsaliasassigned.md + - docs/models/getdeploymentsaliaserror.md + - docs/models/getdeploymentschecksconclusion.md + - docs/models/getdeploymentschecksstate.md + - docs/models/getdeploymentscreator.md + - docs/models/getdeploymentscustomenvironment.md + - docs/models/getdeploymentsframework.md + - docs/models/getdeploymentsgitcomments.md + - docs/models/getdeploymentsnodeversion.md + - docs/models/getdeploymentsprojectsettings.md + - docs/models/getdeploymentsreadystate.md + - docs/models/getdeploymentsreadysubstate.md + - docs/models/getdeploymentsrequest.md + - docs/models/getdeploymentsresponsebody.md + - docs/models/getdeploymentssource.md + - docs/models/getdeploymentsspeedinsights.md + - docs/models/getdeploymentsstate.md + - docs/models/getdeploymentstarget.md + - docs/models/getdeploymentstype.md + - docs/models/getdeploymentswebanalytics.md + - docs/models/getdomainconfigrequest.md + - docs/models/getdomainconfigresponsebody.md + - docs/models/getdomaincreator.md + - docs/models/getdomaindomain.md + - docs/models/getdomainrequest.md + - docs/models/getdomainresponsebody.md + - docs/models/getdomainscreator.md + - docs/models/getdomainsrequest.md + - docs/models/getdomainsresponsebody.md + - docs/models/getdomainsservicetype.md + - docs/models/getdomaintransferrequest.md + - docs/models/getdomaintransferresponsebody.md + - docs/models/getdomaintransferstatus.md + - docs/models/getedgeconfigbackuprequest.md + - docs/models/getedgeconfigbackupresponsebody.md + - docs/models/getedgeconfigbackupresponsebody1.md + - docs/models/getedgeconfigbackupresponsebody2.md + - docs/models/getedgeconfigbackupresponsebodyitems.md + - docs/models/getedgeconfigbackupresponsebodyuser.md + - docs/models/getedgeconfigbackupsmetadata.md + - docs/models/getedgeconfigbackupspagination.md + - docs/models/getedgeconfigbackupsrequest.md + - docs/models/getedgeconfigbackupsresponsebody.md + - docs/models/getedgeconfigitemrequest.md + - docs/models/getedgeconfigitemsrequest.md + - docs/models/getedgeconfigpurpose.md + - docs/models/getedgeconfigrequest.md + - docs/models/getedgeconfigresponsebody.md + - docs/models/getedgeconfigschema.md + - docs/models/getedgeconfigschemarequest.md + - docs/models/getedgeconfigschemaresponsebody.md + - docs/models/getedgeconfigsrequest.md + - docs/models/getedgeconfigsresponsebody.md + - docs/models/getedgeconfigstype.md + - docs/models/getedgeconfigtokenrequest.md + - docs/models/getedgeconfigtokensrequest.md + - docs/models/getedgeconfigtransfer.md + - docs/models/getedgeconfigtype.md + - docs/models/getfirewallconfigaction.md + - docs/models/getfirewallconfigalgo.md + - docs/models/getfirewallconfigconditiongroup.md + - docs/models/getfirewallconfigconditions.md + - docs/models/getfirewallconfigcrs.md + - docs/models/getfirewallconfiggen.md + - docs/models/getfirewallconfigips.md + - docs/models/getfirewallconfigjava.md + - docs/models/getfirewallconfiglfi.md + - docs/models/getfirewallconfigma.md + - docs/models/getfirewallconfigmanagedrules.md + - docs/models/getfirewallconfigmitigate.md + - docs/models/getfirewallconfigop.md + - docs/models/getfirewallconfigowasp.md + - docs/models/getfirewallconfigphp.md + - docs/models/getfirewallconfigratelimit.md + - docs/models/getfirewallconfigrce.md + - docs/models/getfirewallconfigredirect.md + - docs/models/getfirewallconfigrequest.md + - docs/models/getfirewallconfigresponsebody.md + - docs/models/getfirewallconfigrfi.md + - docs/models/getfirewallconfigrules.md + - docs/models/getfirewallconfigsd.md + - docs/models/getfirewallconfigsecurityaction.md + - docs/models/getfirewallconfigsecurityresponse200action.md + - docs/models/getfirewallconfigsecurityresponse200applicationjsonaction.md + - docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md + - docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsaction.md + - docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsjavaaction.md + - docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsmaaction.md + - docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssdaction.md + - docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssfaction.md + - docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssqliaction.md + - docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsxssaction.md + - docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesaction.md + - docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesactionaction.md + - docs/models/getfirewallconfigsecurityresponseaction.md + - docs/models/getfirewallconfigsf.md + - docs/models/getfirewallconfigsqli.md + - docs/models/getfirewallconfigtype.md + - docs/models/getfirewallconfigvalue.md + - docs/models/getfirewallconfigxss.md + - docs/models/getintegrationlogdrainsdeliveryformat.md + - docs/models/getintegrationlogdrainsenvironments.md + - docs/models/getintegrationlogdrainsrequest.md + - docs/models/getintegrationlogdrainsresponsebody.md + - docs/models/getintegrationlogdrainssources.md + - docs/models/getinvoicediscounts.md + - docs/models/getinvoiceitems.md + - docs/models/getinvoiceperiod.md + - docs/models/getinvoicerequest.md + - docs/models/getinvoiceresponsebody.md + - docs/models/getmemberrequest.md + - docs/models/getmemberresponsebody.md + - docs/models/getmemberrole.md + - docs/models/getprojectdomainrequest.md + - docs/models/getprojectdomainresponsebody.md + - docs/models/getprojectdomainsdomains.md + - docs/models/getprojectdomainsrequest.md + - docs/models/getprojectdomainsresponsebody.md + - docs/models/getprojectdomainsverification.md + - docs/models/getprojectenvcontenthint1.md + - docs/models/getprojectenvcontenthint10.md + - docs/models/getprojectenvcontenthint11.md + - docs/models/getprojectenvcontenthint12.md + - docs/models/getprojectenvcontenthint13.md + - docs/models/getprojectenvcontenthint14.md + - docs/models/getprojectenvcontenthint15.md + - docs/models/getprojectenvcontenthint2.md + - docs/models/getprojectenvcontenthint3.md + - docs/models/getprojectenvcontenthint4.md + - docs/models/getprojectenvcontenthint5.md + - docs/models/getprojectenvcontenthint6.md + - docs/models/getprojectenvcontenthint7.md + - docs/models/getprojectenvcontenthint8.md + - docs/models/getprojectenvcontenthint9.md + - docs/models/getprojectenvcontenthintprojects1.md + - docs/models/getprojectenvcontenthintprojects10.md + - docs/models/getprojectenvcontenthintprojects11.md + - docs/models/getprojectenvcontenthintprojects12.md + - docs/models/getprojectenvcontenthintprojects13.md + - docs/models/getprojectenvcontenthintprojects14.md + - docs/models/getprojectenvcontenthintprojects15.md + - docs/models/getprojectenvcontenthintprojects2.md + - docs/models/getprojectenvcontenthintprojects3.md + - docs/models/getprojectenvcontenthintprojects4.md + - docs/models/getprojectenvcontenthintprojects5.md + - docs/models/getprojectenvcontenthintprojects6.md + - docs/models/getprojectenvcontenthintprojects7.md + - docs/models/getprojectenvcontenthintprojects8.md + - docs/models/getprojectenvcontenthintprojects9.md + - docs/models/getprojectenvcontenthintprojectsresponse1.md + - docs/models/getprojectenvcontenthintprojectsresponse10.md + - docs/models/getprojectenvcontenthintprojectsresponse11.md + - docs/models/getprojectenvcontenthintprojectsresponse12.md + - docs/models/getprojectenvcontenthintprojectsresponse13.md + - docs/models/getprojectenvcontenthintprojectsresponse14.md + - docs/models/getprojectenvcontenthintprojectsresponse15.md + - docs/models/getprojectenvcontenthintprojectsresponse2.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md + - docs/models/getprojectenvcontenthintprojectsresponse200applicationjsontype.md + - docs/models/getprojectenvcontenthintprojectsresponse200type.md + - docs/models/getprojectenvcontenthintprojectsresponse3.md + - docs/models/getprojectenvcontenthintprojectsresponse4.md + - docs/models/getprojectenvcontenthintprojectsresponse5.md + - docs/models/getprojectenvcontenthintprojectsresponse6.md + - docs/models/getprojectenvcontenthintprojectsresponse7.md + - docs/models/getprojectenvcontenthintprojectsresponse8.md + - docs/models/getprojectenvcontenthintprojectsresponse9.md + - docs/models/getprojectenvcontenthintprojectsresponsetype.md + - docs/models/getprojectenvcontenthintprojectstype.md + - docs/models/getprojectenvcontenthinttype.md + - docs/models/getprojectenvrequest.md + - docs/models/getprojectenvresponsebody.md + - docs/models/getprojectenvresponsebody1.md + - docs/models/getprojectenvresponsebody2.md + - docs/models/getprojectenvresponsebody3.md + - docs/models/getprojectenvresponsebodycontenthint.md + - docs/models/getprojectenvresponsebodyinternalcontenthint.md + - docs/models/getprojectenvresponsebodyprojectscontenthint.md + - docs/models/getprojectenvresponsebodyprojectsinternalcontenthint.md + - docs/models/getprojectenvresponsebodyprojectsresponse200applicationjson3type.md + - docs/models/getprojectenvresponsebodyprojectsresponse200applicationjsontype.md + - docs/models/getprojectenvresponsebodyprojectsresponse200type.md + - docs/models/getprojectenvresponsebodyprojectsresponsecontenthint.md + - docs/models/getprojectenvresponsebodyprojectsresponseinternalcontenthint.md + - docs/models/getprojectenvresponsebodyprojectsresponsetarget.md + - docs/models/getprojectenvresponsebodyprojectsresponsetype.md + - docs/models/getprojectenvresponsebodyprojectstarget.md + - docs/models/getprojectenvresponsebodyprojectstype.md + - docs/models/getprojectenvresponsebodytarget.md + - docs/models/getprojectenvresponsebodytype.md + - docs/models/getprojectenvtarget1.md + - docs/models/getprojectenvtarget2.md + - docs/models/getprojectenvtargetprojects1.md + - docs/models/getprojectenvtargetprojects2.md + - docs/models/getprojectenvtargetprojectsresponse2.md + - docs/models/getprojectmembersrequest.md + - docs/models/getprojectmembersresponsebody.md + - docs/models/getprojectmembersresponsebody1.md + - docs/models/getprojectmembersresponsebody2.md + - docs/models/getprojectmembersresponsebodypagination.md + - docs/models/getprojectmembersresponsebodyrole.md + - docs/models/getprojectsaction.md + - docs/models/getprojectsalgo.md + - docs/models/getprojectsaliasassigned.md + - docs/models/getprojectsaliaserror.md + - docs/models/getprojectsanalytics.md + - docs/models/getprojectsbranchmatcher.md + - docs/models/getprojectsbuilds.md + - docs/models/getprojectschecksconclusion.md + - docs/models/getprojectschecksstate.md + - docs/models/getprojectscontenthint.md + - docs/models/getprojectscontenthint1.md + - docs/models/getprojectscontenthint10.md + - docs/models/getprojectscontenthint11.md + - docs/models/getprojectscontenthint12.md + - docs/models/getprojectscontenthint13.md + - docs/models/getprojectscontenthint14.md + - docs/models/getprojectscontenthint15.md + - docs/models/getprojectscontenthint2.md + - docs/models/getprojectscontenthint3.md + - docs/models/getprojectscontenthint4.md + - docs/models/getprojectscontenthint5.md + - docs/models/getprojectscontenthint6.md + - docs/models/getprojectscontenthint7.md + - docs/models/getprojectscontenthint8.md + - docs/models/getprojectscontenthint9.md + - docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv10type.md + - docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv11type.md + - docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv12type.md + - docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv13type.md + - docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv14type.md + - docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv15type.md + - docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv9type.md + - docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenvtype.md + - docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectstype.md + - docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodytype.md + - docs/models/getprojectscontenthintprojectsresponse200applicationjsontype.md + - docs/models/getprojectscontenthintprojectsresponse200type.md + - docs/models/getprojectscontenthintprojectsresponsetype.md + - docs/models/getprojectscontenthintprojectstype.md + - docs/models/getprojectscontenthinttype.md + - docs/models/getprojectscreator.md + - docs/models/getprojectscrons.md + - docs/models/getprojectscustomenvironments.md + - docs/models/getprojectsdatacache.md + - docs/models/getprojectsdefinitions.md + - docs/models/getprojectsdeploymentexpiration.md + - docs/models/getprojectsdeploymenttype.md + - docs/models/getprojectsenv.md + - docs/models/getprojectserl.md + - docs/models/getprojectsfirewallroutes.md + - docs/models/getprojectsframework.md + - docs/models/getprojectsfunctiondefaultmemorytype.md + - docs/models/getprojectsgitcomments.md + - docs/models/getprojectshandle.md + - docs/models/getprojectshas.md + - docs/models/getprojectsinternalcontenthint.md + - docs/models/getprojectsipbuckets.md + - docs/models/getprojectsissuermode.md + - docs/models/getprojectsjobstatus.md + - docs/models/getprojectslastaliasrequest.md + - docs/models/getprojectslastrollbacktarget.md + - docs/models/getprojectslatestdeployments.md + - docs/models/getprojectslink.md + - docs/models/getprojectslink1.md + - docs/models/getprojectslink2.md + - docs/models/getprojectslink3.md + - docs/models/getprojectslinkdeployhooks.md + - docs/models/getprojectslinkprojectsdeployhooks.md + - docs/models/getprojectslinkprojectsresponsedeployhooks.md + - docs/models/getprojectslinkprojectsresponsetype.md + - docs/models/getprojectslinkprojectstype.md + - docs/models/getprojectslinktype.md + - docs/models/getprojectsmicrofrontends.md + - docs/models/getprojectsmissing.md + - docs/models/getprojectsmitigate.md + - docs/models/getprojectsnodeversion.md + - docs/models/getprojectsoidctokenclaims.md + - docs/models/getprojectsoidctokenconfig.md + - docs/models/getprojectsoptionsallowlist.md + - docs/models/getprojectspasswordprotection.md + - docs/models/getprojectspaths.md + - docs/models/getprojectspermissions.md + - docs/models/getprojectsplan.md + - docs/models/getprojectsprojects.md + - docs/models/getprojectsprojectsaliasassigned.md + - docs/models/getprojectsprojectsaliaserror.md + - docs/models/getprojectsprojectsbranchmatcher.md + - docs/models/getprojectsprojectsbuilds.md + - docs/models/getprojectsprojectschecksconclusion.md + - docs/models/getprojectsprojectschecksstate.md + - docs/models/getprojectsprojectscreator.md + - docs/models/getprojectsprojectsoidctokenclaims.md + - docs/models/getprojectsprojectsplan.md + - docs/models/getprojectsprojectsreadystate.md + - docs/models/getprojectsprojectsreadysubstate.md + - docs/models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecurityfirewallroutestype.md + - docs/models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecuritytype.md + - docs/models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectstype.md + - docs/models/getprojectsprojectsresponse200applicationjsonresponsebodytype.md + - docs/models/getprojectsprojectsresponse200applicationjsontype.md + - docs/models/getprojectsprojectsresponse200type.md + - docs/models/getprojectsprojectsresponsetype.md + - docs/models/getprojectsprojectstype.md + - docs/models/getprojectsprojectsvalue.md + - docs/models/getprojectsprotectionbypass.md + - docs/models/getprojectsreadystate.md + - docs/models/getprojectsreadysubstate.md + - docs/models/getprojectsrequest.md + - docs/models/getprojectsresourceconfig.md + - docs/models/getprojectsresponsebody.md + - docs/models/getprojectsscope.md + - docs/models/getprojectssecurity.md + - docs/models/getprojectsspeedinsights.md + - docs/models/getprojectssrc.md + - docs/models/getprojectssrc2.md + - docs/models/getprojectsssoprotection.md + - docs/models/getprojectstarget.md + - docs/models/getprojectstarget1.md + - docs/models/getprojectstarget2.md + - docs/models/getprojectstargets.md + - docs/models/getprojectstier.md + - docs/models/getprojectstrustedips.md + - docs/models/getprojectstrustedips1.md + - docs/models/getprojectstrustedips2.md + - docs/models/getprojectstrustedipsaddresses.md + - docs/models/getprojectstrustedipsdeploymenttype.md + - docs/models/getprojectstrustedipsprojectsdeploymenttype.md + - docs/models/getprojectstrustedipsprotectionmode.md + - docs/models/getprojectstype.md + - docs/models/getprojectsvalue.md + - docs/models/getprojectsvalue2.md + - docs/models/getprojectsvalueprojects2.md + - docs/models/getprojectswebanalytics.md + - docs/models/getrecordsrequest.md + - docs/models/getrecordsresponsebody.md + - docs/models/getrecordsresponsebody2.md + - docs/models/getrecordsresponsebodydnstype.md + - docs/models/getrecordsresponsebodytype.md + - docs/models/getteamaccessrequestbitbucket.md + - docs/models/getteamaccessrequestgithub.md + - docs/models/getteamaccessrequestgitlab.md + - docs/models/getteamaccessrequestgituserid.md + - docs/models/getteamaccessrequestjoinedfrom.md + - docs/models/getteamaccessrequestorigin.md + - docs/models/getteamaccessrequestrequest.md + - docs/models/getteamaccessrequestresponsebody.md + - docs/models/getteammembersbitbucket.md + - docs/models/getteammembersgithub.md + - docs/models/getteammembersgitlab.md + - docs/models/getteammembersgituserid.md + - docs/models/getteammembersjoinedfrom.md + - docs/models/getteammembersmembers.md + - docs/models/getteammembersorigin.md + - docs/models/getteammemberspagination.md + - docs/models/getteammembersprojects.md + - docs/models/getteammembersrequest.md + - docs/models/getteammembersresponsebody.md + - docs/models/getteammembersrole.md + - docs/models/getteammembersteamsprojects.md + - docs/models/getteammembersteamsresponserole.md + - docs/models/getteammembersteamsrole.md + - docs/models/getteamrequest.md + - docs/models/getteamsrequest.md + - docs/models/getteamsresponsebody.md + - docs/models/getwebhookevents.md + - docs/models/getwebhookrequest.md + - docs/models/getwebhookresponsebody.md + - docs/models/getwebhooksrequest.md + - docs/models/getwebhooksresponsebody.md + - docs/models/getwebhooksresponsebody1.md + - docs/models/getwebhooksresponsebody2.md + - docs/models/getwebhooksresponsebodyevents.md + - docs/models/getwebhooksresponsebodyframework.md + - docs/models/gitaccount.md + - docs/models/gitcomments.md + - docs/models/gitforkprotection.md + - docs/models/github.md + - docs/models/gitlab.md + - docs/models/gitmetadata.md + - docs/models/gitnamespaceid.md + - docs/models/gitnamespacesid.md + - docs/models/gitnamespacesrequest.md + - docs/models/gitnamespacesresponsebody.md + - docs/models/gitrepo.md + - docs/models/gitrepo1.md + - docs/models/gitrepo2.md + - docs/models/gitrepo3.md + - docs/models/gitrepoownertype.md + - docs/models/gitrepository.md + - docs/models/gitrepotype.md + - docs/models/gitsource.md + - docs/models/gitsource1.md + - docs/models/gitsource2.md + - docs/models/gitsource3.md + - docs/models/gitsource4.md + - docs/models/gitsource5.md + - docs/models/gitsource6.md + - docs/models/gitsource7.md + - docs/models/gitsource8.md + - docs/models/gitsource9.md + - docs/models/gitsourceprojectid.md + - docs/models/gitsourcerepoid.md + - docs/models/gitsourcetype.md + - docs/models/gituserid.md + - docs/models/handle.md + - docs/models/has.md + - docs/models/has1.md + - docs/models/has2.md + - docs/models/hastype.md + - docs/models/heightlighteddetails.md + - docs/models/https.md + - docs/models/id.md + - docs/models/importflowgitnamespace.md + - docs/models/importflowgitnamespaceid.md + - docs/models/importflowgitprovider.md + - docs/models/inlinedfile.md + - docs/models/installationtype.md + - docs/models/integration.md + - docs/models/integrations.md + - docs/models/internalcontenthint.md + - docs/models/inviteusertoteamprojects.md + - docs/models/inviteusertoteamrequest.md + - docs/models/inviteusertoteamrequestbody.md + - docs/models/inviteusertoteamresponsebody.md + - docs/models/inviteusertoteamresponsebody1.md + - docs/models/inviteusertoteamresponsebody2.md + - docs/models/inviteusertoteamresponsebodyrole.md + - docs/models/inviteusertoteamrole.md + - docs/models/inviteusertoteamteamsrole.md + - docs/models/ipbuckets.md + - docs/models/ips.md + - docs/models/issuecertrequest.md + - docs/models/issuecertrequestbody.md + - docs/models/issuecertresponsebody.md + - docs/models/issuermode.md + - docs/models/items.md + - docs/models/items1.md + - docs/models/items2.md + - docs/models/java.md + - docs/models/jobstatus.md + - docs/models/joinedfrom.md + - docs/models/jointeamrequest.md + - docs/models/jointeamrequestbody.md + - docs/models/jointeamresponsebody.md + - docs/models/lambdas.md + - docs/models/lastaliasrequest.md + - docs/models/lastrollbacktarget.md + - docs/models/latestdeployments.md + - docs/models/lcp.md + - docs/models/lfi.md + - docs/models/link.md + - docs/models/link1.md + - docs/models/link2.md + - docs/models/link3.md + - docs/models/linkdeployhooks.md + - docs/models/linktype.md + - docs/models/listaccessgroupmemberspagination.md + - docs/models/listaccessgroupmembersrequest.md + - docs/models/listaccessgroupmembersresponsebody.md + - docs/models/listaccessgroupprojectspagination.md + - docs/models/listaccessgroupprojectsproject.md + - docs/models/listaccessgroupprojectsprojects.md + - docs/models/listaccessgroupprojectsrequest.md + - docs/models/listaccessgroupprojectsresponsebody.md + - docs/models/listaccessgroupprojectsrole.md + - docs/models/listaccessgroupsrequest.md + - docs/models/listaccessgroupsresponsebody.md + - docs/models/listaccessgroupsresponsebody1.md + - docs/models/listaccessgroupsresponsebody2.md + - docs/models/listaliasescreator.md + - docs/models/listaliasesdeployment.md + - docs/models/listaliasesprotectionbypass.md + - docs/models/listaliasesprotectionbypass1.md + - docs/models/listaliasesprotectionbypass2.md + - docs/models/listaliasesprotectionbypass3.md + - docs/models/listaliasesprotectionbypass4.md + - docs/models/listaliasesprotectionbypassaliasesresponse200scope.md + - docs/models/listaliasesprotectionbypassaliasesresponsescope.md + - docs/models/listaliasesprotectionbypassaliasesscope.md + - docs/models/listaliasesprotectionbypassscope.md + - docs/models/listaliasesrequest.md + - docs/models/listaliasesresponsebody.md + - docs/models/listauthtokensresponsebody.md + - docs/models/listdeploymentaliasesaliases.md + - docs/models/listdeploymentaliasesprotectionbypass.md + - docs/models/listdeploymentaliasesprotectionbypass1.md + - docs/models/listdeploymentaliasesprotectionbypass2.md + - docs/models/listdeploymentaliasesprotectionbypass3.md + - docs/models/listdeploymentaliasesprotectionbypass4.md + - docs/models/listdeploymentaliasesprotectionbypassaccess.md + - docs/models/listdeploymentaliasesprotectionbypassaliasesresponse200scope.md + - docs/models/listdeploymentaliasesprotectionbypassaliasesresponsescope.md + - docs/models/listdeploymentaliasesprotectionbypassaliasesscope.md + - docs/models/listdeploymentaliasesprotectionbypassscope.md + - docs/models/listdeploymentaliasesrequest.md + - docs/models/listdeploymentaliasesresponsebody.md + - docs/models/listdeploymentfilesrequest.md + - docs/models/listpromotealiasesrequest.md + - docs/models/listpromotealiasesresponsebody.md + - docs/models/listpromotealiasesresponsebody1.md + - docs/models/listpromotealiasesresponsebody2.md + - docs/models/listusereventsrequest.md + - docs/models/listusereventsresponsebody.md + - docs/models/locale.md + - docs/models/ma.md + - docs/models/managedrules.md + - docs/models/members.md + - docs/models/membership.md + - docs/models/metadata.md + - docs/models/metrics.md + - docs/models/microfrontends.md + - docs/models/microfrontends1.md + - docs/models/microfrontends2.md + - docs/models/microfrontendsapplications.md + - docs/models/missing.md + - docs/models/missing1.md + - docs/models/missing2.md + - docs/models/missingtype.md + - docs/models/mitigate.md + - docs/models/namespaceid.md + - docs/models/nine.md + - docs/models/nodeversion.md + - docs/models/northstarmigration.md + - docs/models/oidctokenclaims.md + - docs/models/oidctokenconfig.md + - docs/models/one.md + - docs/models/one5.md + - docs/models/onetarget.md + - docs/models/onetype.md + - docs/models/op.md + - docs/models/options.md + - docs/models/optionsallowlist.md + - docs/models/order.md + - docs/models/origin.md + - docs/models/output.md + - docs/models/owasp.md + - docs/models/owner.md + - docs/models/ownertype.md + - docs/models/pagination.md + - docs/models/passwordprotection.md + - docs/models/patchdomainrequest.md + - docs/models/patchdomainrequestbody.md + - docs/models/patchdomainrequestbody1.md + - docs/models/patchdomainrequestbody2.md + - docs/models/patchdomainresponsebody.md + - docs/models/patchdomainresponsebody1.md + - docs/models/patchdomainresponsebody2.md + - docs/models/patchdomainresponsebody3.md + - docs/models/patchedgeconfigschemarequest.md + - docs/models/patchedgeconfigschemarequestbody.md + - docs/models/patchedgeconfigschemaresponsebody.md + - docs/models/patchteamremotecaching.md + - docs/models/patchteamrequest.md + - docs/models/patchteamrequestbody.md + - docs/models/patchteamsaml.md + - docs/models/paths.md + - docs/models/period.md + - docs/models/permissions.md + - docs/models/php.md + - docs/models/plan.md + - docs/models/preferredscopesandgitnamespaces.md + - docs/models/production.md + - docs/models/project.md + - docs/models/projectid.md + - docs/models/projects.md + - docs/models/projectselection.md + - docs/models/projectsettings.md + - docs/models/projectsmetadata.md + - docs/models/protectionbypass.md + - docs/models/protectionbypass1.md + - docs/models/protectionbypass2.md + - docs/models/protectionbypass3.md + - docs/models/protectionbypass4.md + - docs/models/protectionbypassaccess.md + - docs/models/protectionbypassscope.md + - docs/models/protectionmode.md + - docs/models/provider.md + - docs/models/purpose.md + - docs/models/putfirewallconfigaction.md + - docs/models/putfirewallconfigalgo.md + - docs/models/putfirewallconfigchanges.md + - docs/models/putfirewallconfigconditiongroup.md + - docs/models/putfirewallconfigconditions.md + - docs/models/putfirewallconfigcrs.md + - docs/models/putfirewallconfiggen.md + - docs/models/putfirewallconfigips.md + - docs/models/putfirewallconfigjava.md + - docs/models/putfirewallconfiglfi.md + - docs/models/putfirewallconfigma.md + - docs/models/putfirewallconfigmanagedrules.md + - docs/models/putfirewallconfigmitigate.md + - docs/models/putfirewallconfigop.md + - docs/models/putfirewallconfigowasp.md + - docs/models/putfirewallconfigphp.md + - docs/models/putfirewallconfigratelimit.md + - docs/models/putfirewallconfigrce.md + - docs/models/putfirewallconfigredirect.md + - docs/models/putfirewallconfigrequest.md + - docs/models/putfirewallconfigrequestbody.md + - docs/models/putfirewallconfigresponsebody.md + - docs/models/putfirewallconfigrfi.md + - docs/models/putfirewallconfigrules.md + - docs/models/putfirewallconfigsd.md + - docs/models/putfirewallconfigsecurityaction.md + - docs/models/putfirewallconfigsecurityrequestaction.md + - docs/models/putfirewallconfigsecurityrequestrequestbodyaction.md + - docs/models/putfirewallconfigsecurityrequestrequestbodycrsaction.md + - docs/models/putfirewallconfigsecurityrequestrequestbodycrsgenaction.md + - docs/models/putfirewallconfigsecurityrequestrequestbodycrsjavaaction.md + - docs/models/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md + - docs/models/putfirewallconfigsecurityrequestrequestbodycrssfaction.md + - docs/models/putfirewallconfigsecurityrequestrequestbodycrssqliaction.md + - docs/models/putfirewallconfigsecurityrequestrequestbodycrsxssaction.md + - docs/models/putfirewallconfigsecurityrequestrequestbodyipsaction.md + - docs/models/putfirewallconfigsecurityrequestrequestbodyrulesaction.md + - docs/models/putfirewallconfigsecurityrequestrequestbodyrulesactionaction.md + - docs/models/putfirewallconfigsecurityresponse200action.md + - docs/models/putfirewallconfigsecurityresponse200applicationjsonaction.md + - docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md + - docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiveaction.md + - docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsaction.md + - docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsgenaction.md + - docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsjavaaction.md + - docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsmaaction.md + - docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssdaction.md + - docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssfaction.md + - docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssqliaction.md + - docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsxssaction.md + - docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesaction.md + - docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesactionaction.md + - docs/models/putfirewallconfigsecurityresponseaction.md + - docs/models/putfirewallconfigsecuritytype.md + - docs/models/putfirewallconfigsecurityvalue.md + - docs/models/putfirewallconfigsf.md + - docs/models/putfirewallconfigsqli.md + - docs/models/putfirewallconfigtype.md + - docs/models/putfirewallconfigvalue.md + - docs/models/putfirewallconfigverifiedbotsbypass.md + - docs/models/putfirewallconfigxss.md + - docs/models/queryparamprovider.md + - docs/models/queryparamrole.md + - docs/models/queryparamtarget.md + - docs/models/queryparamtype.md + - docs/models/quote.md + - docs/models/ratelimit.md + - docs/models/ratelimit1.md + - docs/models/ratelimitaction.md + - docs/models/ratelimitalgo.md + - docs/models/ratelimitnotice.md + - docs/models/rce.md + - docs/models/readaccessgroupentitlements.md + - docs/models/readaccessgroupprojectrequest.md + - docs/models/readaccessgroupprojectresponsebody.md + - docs/models/readaccessgroupprojectrole.md + - docs/models/readaccessgrouprequest.md + - docs/models/readaccessgroupresponsebody.md + - docs/models/readystate.md + - docs/models/readysubstate.md + - docs/models/reason.md + - docs/models/reasons.md + - docs/models/recentsviewpreference.md + - docs/models/recordeventsrequest.md + - docs/models/records.md + - docs/models/recordtype.md + - docs/models/redirect.md + - docs/models/redirect1.md + - docs/models/redirects.md + - docs/models/redirectstatuscode.md + - docs/models/remotecaching.md + - docs/models/removecertrequest.md + - docs/models/removecertresponsebody.md + - docs/models/removeprojectdomainrequest.md + - docs/models/removeprojectdomainresponsebody.md + - docs/models/removeprojectenvcontenthint1.md + - docs/models/removeprojectenvcontenthint10.md + - docs/models/removeprojectenvcontenthint11.md + - docs/models/removeprojectenvcontenthint12.md + - docs/models/removeprojectenvcontenthint13.md + - docs/models/removeprojectenvcontenthint14.md + - docs/models/removeprojectenvcontenthint15.md + - docs/models/removeprojectenvcontenthint2.md + - docs/models/removeprojectenvcontenthint3.md + - docs/models/removeprojectenvcontenthint4.md + - docs/models/removeprojectenvcontenthint5.md + - docs/models/removeprojectenvcontenthint6.md + - docs/models/removeprojectenvcontenthint7.md + - docs/models/removeprojectenvcontenthint8.md + - docs/models/removeprojectenvcontenthint9.md + - docs/models/removeprojectenvcontenthintprojects1.md + - docs/models/removeprojectenvcontenthintprojects10.md + - docs/models/removeprojectenvcontenthintprojects11.md + - docs/models/removeprojectenvcontenthintprojects12.md + - docs/models/removeprojectenvcontenthintprojects13.md + - docs/models/removeprojectenvcontenthintprojects14.md + - docs/models/removeprojectenvcontenthintprojects15.md + - docs/models/removeprojectenvcontenthintprojects2.md + - docs/models/removeprojectenvcontenthintprojects3.md + - docs/models/removeprojectenvcontenthintprojects4.md + - docs/models/removeprojectenvcontenthintprojects5.md + - docs/models/removeprojectenvcontenthintprojects6.md + - docs/models/removeprojectenvcontenthintprojects7.md + - docs/models/removeprojectenvcontenthintprojects8.md + - docs/models/removeprojectenvcontenthintprojects9.md + - docs/models/removeprojectenvcontenthintprojectsresponse1.md + - docs/models/removeprojectenvcontenthintprojectsresponse10.md + - docs/models/removeprojectenvcontenthintprojectsresponse11.md + - docs/models/removeprojectenvcontenthintprojectsresponse12.md + - docs/models/removeprojectenvcontenthintprojectsresponse13.md + - docs/models/removeprojectenvcontenthintprojectsresponse14.md + - docs/models/removeprojectenvcontenthintprojectsresponse15.md + - docs/models/removeprojectenvcontenthintprojectsresponse2.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md + - docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsontype.md + - docs/models/removeprojectenvcontenthintprojectsresponse200type.md + - docs/models/removeprojectenvcontenthintprojectsresponse3.md + - docs/models/removeprojectenvcontenthintprojectsresponse4.md + - docs/models/removeprojectenvcontenthintprojectsresponse5.md + - docs/models/removeprojectenvcontenthintprojectsresponse6.md + - docs/models/removeprojectenvcontenthintprojectsresponse7.md + - docs/models/removeprojectenvcontenthintprojectsresponse8.md + - docs/models/removeprojectenvcontenthintprojectsresponse9.md + - docs/models/removeprojectenvcontenthintprojectsresponsetype.md + - docs/models/removeprojectenvcontenthintprojectstype.md + - docs/models/removeprojectenvcontenthinttype.md + - docs/models/removeprojectenvrequest.md + - docs/models/removeprojectenvresponsebody.md + - docs/models/removeprojectenvresponsebody1.md + - docs/models/removeprojectenvresponsebody2.md + - docs/models/removeprojectenvresponsebody3.md + - docs/models/removeprojectenvresponsebodycontenthint.md + - docs/models/removeprojectenvresponsebodyinternalcontenthint.md + - docs/models/removeprojectenvresponsebodyprojectscontenthint.md + - docs/models/removeprojectenvresponsebodyprojectsinternalcontenthint.md + - docs/models/removeprojectenvresponsebodyprojectsresponse200applicationjson3type.md + - docs/models/removeprojectenvresponsebodyprojectsresponse200applicationjsontype.md + - docs/models/removeprojectenvresponsebodyprojectsresponse200type.md + - docs/models/removeprojectenvresponsebodyprojectsresponsecontenthint.md + - docs/models/removeprojectenvresponsebodyprojectsresponseinternalcontenthint.md + - docs/models/removeprojectenvresponsebodyprojectsresponsetarget.md + - docs/models/removeprojectenvresponsebodyprojectsresponsetype.md + - docs/models/removeprojectenvresponsebodyprojectstarget.md + - docs/models/removeprojectenvresponsebodyprojectstype.md + - docs/models/removeprojectenvresponsebodytarget.md + - docs/models/removeprojectenvresponsebodytype.md + - docs/models/removeprojectenvtarget1.md + - docs/models/removeprojectenvtarget2.md + - docs/models/removeprojectenvtargetprojects1.md + - docs/models/removeprojectenvtargetprojects2.md + - docs/models/removeprojectenvtargetprojectsresponse1.md + - docs/models/removeprojectenvtargetprojectsresponse2.md + - docs/models/removeprojectmemberrequest.md + - docs/models/removeprojectmemberresponsebody.md + - docs/models/removerecordrequest.md + - docs/models/removerecordresponsebody.md + - docs/models/removeteammemberrequest.md + - docs/models/removeteammemberresponsebody.md + - docs/models/repoid.md + - docs/models/repos.md + - docs/models/requestaccesstoteamgituserid.md + - docs/models/requestaccesstoteamjoinedfrom.md + - docs/models/requestaccesstoteamorigin.md + - docs/models/requestaccesstoteamrequest.md + - docs/models/requestaccesstoteamrequestbody.md + - docs/models/requestaccesstoteamresponsebody.md + - docs/models/requestaccesstoteamteamsgituserid.md + - docs/models/requestaccesstoteamteamsjoinedfrom.md + - docs/models/requestaccesstoteamteamsorigin.md + - docs/models/requestbody.md + - docs/models/requestbody1.md + - docs/models/requestbody10.md + - docs/models/requestbody2.md + - docs/models/requestbody3.md + - docs/models/requestbody4.md + - docs/models/requestbody5.md + - docs/models/requestbody6.md + - docs/models/requestbody7.md + - docs/models/requestbody8.md + - docs/models/requestbody9.md + - docs/models/requestbodyaction.md + - docs/models/requestbodyconditiongroup.md + - docs/models/requestbodyconditions.md + - docs/models/requestbodyhttps.md + - docs/models/requestbodyid.md + - docs/models/requestbodymitigate.md + - docs/models/requestbodyop.md + - docs/models/requestbodyratelimit.md + - docs/models/requestbodyredirect.md + - docs/models/requestbodyrole.md + - docs/models/requestbodysrv.md + - docs/models/requestbodytype.md + - docs/models/requestbodyvalue.md + - docs/models/requestdeletereasons.md + - docs/models/requestdeleterequestbody.md + - docs/models/requestdeleteresponsebody.md + - docs/models/requestpromoterequest.md + - docs/models/rerequestcheckrequest.md + - docs/models/rerequestcheckresponsebody.md + - docs/models/resourceconfig.md + - docs/models/responsebody.md + - docs/models/responsebody1.md + - docs/models/responsebody2.md + - docs/models/responsebody3.md + - docs/models/responsebodyaliasassignedat.md + - docs/models/responsebodyaliaserror.md + - docs/models/responsebodyaliases.md + - docs/models/responsebodyaliaswarning.md + - docs/models/responsebodybackup.md + - docs/models/responsebodybillingplan.md + - docs/models/responsebodybuild.md + - docs/models/responsebodybuilds.md + - docs/models/responsebodychecksconclusion.md + - docs/models/responsebodychecksstate.md + - docs/models/responsebodycontenthint.md + - docs/models/responsebodycreator.md + - docs/models/responsebodycrons.md + - docs/models/responsebodycustomenvironment.md + - docs/models/responsebodydetails.md + - docs/models/responsebodydisabledreason.md + - docs/models/responsebodyenvs.md + - docs/models/responsebodyerror.md + - docs/models/responsebodyevents.md + - docs/models/responsebodyflags.md + - docs/models/responsebodyframework.md + - docs/models/responsebodyfunctions.md + - docs/models/responsebodygitrepo.md + - docs/models/responsebodygitsource.md + - docs/models/responsebodyheightlighteddetails.md + - docs/models/responsebodyid.md + - docs/models/responsebodyinstallationtype.md + - docs/models/responsebodyintegrations.md + - docs/models/responsebodyinternalcontenthint.md + - docs/models/responsebodyitems.md + - docs/models/responsebodylambdas.md + - docs/models/responsebodymembers.md + - docs/models/responsebodymetadata.md + - docs/models/responsebodymicrofrontends.md + - docs/models/responsebodynamespaceid.md + - docs/models/responsebodyoidctokenclaims.md + - docs/models/responsebodyoutput.md + - docs/models/responsebodyownertype.md + - docs/models/responsebodypagination.md + - docs/models/responsebodyplan.md + - docs/models/responsebodyproject.md + - docs/models/responsebodyprojectsettings.md + - docs/models/responsebodyprovider.md + - docs/models/responsebodyquote.md + - docs/models/responsebodyreadystate.md + - docs/models/responsebodyreadysubstate.md + - docs/models/responsebodyrecords.md + - docs/models/responsebodyrole.md + - docs/models/responsebodyroutes.md + - docs/models/responsebodyscope.md + - docs/models/responsebodysource.md + - docs/models/responsebodyspeedinsights.md + - docs/models/responsebodystatus.md + - docs/models/responsebodytarget.md + - docs/models/responsebodyteam.md + - docs/models/responsebodyteamrole.md + - docs/models/responsebodytype.md + - docs/models/responsebodyuser.md + - docs/models/responsebodywebanalytics.md + - docs/models/result.md + - docs/models/revoke.md + - docs/models/rfi.md + - docs/models/role.md + - docs/models/roles.md + - docs/models/roles1.md + - docs/models/roles2.md + - docs/models/routes.md + - docs/models/routes1.md + - docs/models/routes2.md + - docs/models/routes3.md + - docs/models/routeshandle.md + - docs/models/routeshas.md + - docs/models/routeslocale.md + - docs/models/routesmissing.md + - docs/models/rules.md + - docs/models/saml.md + - docs/models/schema.md + - docs/models/scope.md + - docs/models/scopes.md + - docs/models/scopes1.md + - docs/models/scopes2.md + - docs/models/scopesorigin.md + - docs/models/scopestype.md + - docs/models/sd.md + - docs/models/searchreporequest.md + - docs/models/searchreporesponsebody.md + - docs/models/searchreporesponsebody1.md + - docs/models/searchreporesponsebody2.md + - docs/models/searchreporesponsebodyid.md + - docs/models/searchreporesponsebodyprovider.md + - docs/models/secrets.md + - docs/models/security.md + - docs/models/servicetype.md + - docs/models/seven.md + - docs/models/sf.md + - docs/models/six.md + - docs/models/skipautodetectionconfirmation.md + - docs/models/softblock.md + - docs/models/source.md + - docs/models/sources.md + - docs/models/speedinsights.md + - docs/models/sqli.md + - docs/models/src.md + - docs/models/src2.md + - docs/models/srv.md + - docs/models/ssoprotection.md + - docs/models/state.md + - docs/models/status.md + - docs/models/statuscode.md + - docs/models/statusrequest.md + - docs/models/statusresponsebody.md + - docs/models/statusstatus.md + - docs/models/strict.md + - docs/models/submitbillingdatabilling.md + - docs/models/submitbillingdatarequest.md + - docs/models/submitbillingdatarequestbody.md + - docs/models/submitbillingdatatype.md + - docs/models/submitinvoicediscounts.md + - docs/models/submitinvoiceitems.md + - docs/models/submitinvoiceperiod.md + - docs/models/submitinvoicerequest.md + - docs/models/submitinvoicerequestbody.md + - docs/models/submitinvoiceresponsebody.md + - docs/models/target.md + - docs/models/target1.md + - docs/models/target2.md + - docs/models/targets.md + - docs/models/tbt.md + - docs/models/team.md + - docs/models/teamlimited.md + - docs/models/teamrole.md + - docs/models/teams.md + - docs/models/ten.md + - docs/models/test.md + - docs/models/thirteen.md + - docs/models/three.md + - docs/models/tier.md + - docs/models/transfer.md + - docs/models/transferpolicy.md + - docs/models/trustedips.md + - docs/models/trustedips1.md + - docs/models/trustedips2.md + - docs/models/trustedipsaddresses.md + - docs/models/trustedipsdeploymenttype.md + - docs/models/trustedipsprotectionmode.md + - docs/models/twelve.md + - docs/models/two.md + - docs/models/two1.md + - docs/models/two2.md + - docs/models/two5.md + - docs/models/twotarget.md + - docs/models/twotype.md + - docs/models/type.md + - docs/models/updateaccessgroupentitlements.md + - docs/models/updateaccessgroupprojectaccessgroupsrole.md + - docs/models/updateaccessgroupprojectrequest.md + - docs/models/updateaccessgroupprojectrequestbody.md + - docs/models/updateaccessgroupprojectresponsebody.md + - docs/models/updateaccessgroupprojectrole.md + - docs/models/updateaccessgrouprequest.md + - docs/models/updateaccessgrouprequestbody.md + - docs/models/updateaccessgroupresponsebody.md + - docs/models/updateaccessgrouprole.md + - docs/models/updateattackchallengemoderequest.md + - docs/models/updateattackchallengemoderequestbody.md + - docs/models/updateattackchallengemoderesponsebody.md + - docs/models/updatecheckchecksrequestrequestbodyoutputsource.md + - docs/models/updatecheckchecksrequestrequestbodysource.md + - docs/models/updatecheckchecksrequestsource.md + - docs/models/updatecheckchecksresponse200applicationjsonresponsebodyoutputsource.md + - docs/models/updatecheckchecksresponse200applicationjsonresponsebodysource.md + - docs/models/updatecheckchecksresponse200applicationjsonsource.md + - docs/models/updatecheckchecksresponse200source.md + - docs/models/updatecheckchecksresponsesource.md + - docs/models/updatecheckcheckssource.md + - docs/models/updatecheckcls.md + - docs/models/updatecheckconclusion.md + - docs/models/updatecheckfcp.md + - docs/models/updatechecklcp.md + - docs/models/updatecheckmetrics.md + - docs/models/updatecheckoutput.md + - docs/models/updatecheckrequest.md + - docs/models/updatecheckrequestbody.md + - docs/models/updatecheckresponsebody.md + - docs/models/updatechecksource.md + - docs/models/updatecheckstatus.md + - docs/models/updatechecktbt.md + - docs/models/updatecheckvirtualexperiencescore.md + - docs/models/updateedgeconfigpurpose.md + - docs/models/updateedgeconfigrequest.md + - docs/models/updateedgeconfigrequestbody.md + - docs/models/updateedgeconfigresponsebody.md + - docs/models/updateedgeconfigschema.md + - docs/models/updateedgeconfigtransfer.md + - docs/models/updateedgeconfigtype.md + - docs/models/updatefirewallconfigaction1.md + - docs/models/updatefirewallconfigactionsecurity1.md + - docs/models/updatefirewallconfigratelimit1.md + - docs/models/updatefirewallconfigratelimitaction.md + - docs/models/updatefirewallconfigratelimitalgo.md + - docs/models/updatefirewallconfigratelimitsecurity1.md + - docs/models/updatefirewallconfigratelimitsecurityaction.md + - docs/models/updatefirewallconfigredirect1.md + - docs/models/updatefirewallconfigredirectsecurity1.md + - docs/models/updatefirewallconfigrequest.md + - docs/models/updatefirewallconfigrequestbody.md + - docs/models/updatefirewallconfigrequestbody1.md + - docs/models/updatefirewallconfigrequestbody2.md + - docs/models/updatefirewallconfigrequestbody3.md + - docs/models/updatefirewallconfigrequestbody4.md + - docs/models/updatefirewallconfigrequestbody5.md + - docs/models/updatefirewallconfigrequestbodyaction.md + - docs/models/updatefirewallconfigrequestbodyconditiongroup.md + - docs/models/updatefirewallconfigrequestbodyconditions.md + - docs/models/updatefirewallconfigrequestbodymitigate.md + - docs/models/updatefirewallconfigrequestbodyop.md + - docs/models/updatefirewallconfigrequestbodyratelimit.md + - docs/models/updatefirewallconfigrequestbodyredirect.md + - docs/models/updatefirewallconfigrequestbodysecurityaction.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest10action.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest11action.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest11value.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest2action.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest2value.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest2valueaction.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest3action.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest3value.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest3valueaction.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest5action.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest6action.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest6valueaction.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest7action.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest8action.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest8valueaction.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest9action.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest9value.md + - docs/models/updatefirewallconfigrequestbodysecurityrequest9valueaction.md + - docs/models/updatefirewallconfigrequestbodysecurityrequestaction.md + - docs/models/updatefirewallconfigrequestbodysecurityrequestvalue.md + - docs/models/updatefirewallconfigrequestbodysecuritytype.md + - docs/models/updatefirewallconfigrequestbodysecurityvalue.md + - docs/models/updatefirewallconfigrequestbodytype.md + - docs/models/updatefirewallconfigrequestbodyvalue.md + - docs/models/updatefirewallconfigresponsebody.md + - docs/models/updateinvoicerequest.md + - docs/models/updateinvoicerequestbody.md + - docs/models/updateprojectaction.md + - docs/models/updateprojectalgo.md + - docs/models/updateprojectaliasassigned.md + - docs/models/updateprojectaliaserror.md + - docs/models/updateprojectanalytics.md + - docs/models/updateprojectbranchmatcher.md + - docs/models/updateprojectbuilds.md + - docs/models/updateprojectchecksconclusion.md + - docs/models/updateprojectchecksstate.md + - docs/models/updateprojectcontenthint.md + - docs/models/updateprojectcontenthint1.md + - docs/models/updateprojectcontenthint10.md + - docs/models/updateprojectcontenthint11.md + - docs/models/updateprojectcontenthint12.md + - docs/models/updateprojectcontenthint13.md + - docs/models/updateprojectcontenthint14.md + - docs/models/updateprojectcontenthint15.md + - docs/models/updateprojectcontenthint2.md + - docs/models/updateprojectcontenthint3.md + - docs/models/updateprojectcontenthint4.md + - docs/models/updateprojectcontenthint5.md + - docs/models/updateprojectcontenthint6.md + - docs/models/updateprojectcontenthint7.md + - docs/models/updateprojectcontenthint8.md + - docs/models/updateprojectcontenthint9.md + - docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md + - docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md + - docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md + - docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md + - docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md + - docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md + - docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md + - docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md + - docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md + - docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md + - docs/models/updateprojectcontenthintprojectsresponse200applicationjsontype.md + - docs/models/updateprojectcontenthintprojectsresponse200type.md + - docs/models/updateprojectcontenthintprojectsresponsetype.md + - docs/models/updateprojectcontenthintprojectstype.md + - docs/models/updateprojectcontenthinttype.md + - docs/models/updateprojectcreator.md + - docs/models/updateprojectcrons.md + - docs/models/updateprojectcustomenvironments.md + - docs/models/updateprojectdatacache.md + - docs/models/updateprojectdatacacheaction.md + - docs/models/updateprojectdatacachealgo.md + - docs/models/updateprojectdatacachealiasassigned.md + - docs/models/updateprojectdatacachealiaserror.md + - docs/models/updateprojectdatacachebranchmatcher.md + - docs/models/updateprojectdatacachebuilds.md + - docs/models/updateprojectdatacachechecksconclusion.md + - docs/models/updateprojectdatacachechecksstate.md + - docs/models/updateprojectdatacachecontenthint11.md + - docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md + - docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md + - docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md + - docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md + - docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md + - docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md + - docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md + - docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md + - docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodytype.md + - docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsontype.md + - docs/models/updateprojectdatacachecontenthintprojectsresponse200type.md + - docs/models/updateprojectdatacachecontenthintprojectsresponsetype.md + - docs/models/updateprojectdatacachecontenthintprojectstype.md + - docs/models/updateprojectdatacachecontenthinttype.md + - docs/models/updateprojectdatacachecreator.md + - docs/models/updateprojectdatacachedatacache.md + - docs/models/updateprojectdatacachedeploymenttype.md + - docs/models/updateprojectdatacacheframework.md + - docs/models/updateprojectdatacacheissuermode.md + - docs/models/updateprojectdatacachelinkdeployhooks.md + - docs/models/updateprojectdatacachelinkprojectstype.md + - docs/models/updateprojectdatacachelinktype.md + - docs/models/updateprojectdatacachemitigate.md + - docs/models/updateprojectdatacachenodeversion.md + - docs/models/updateprojectdatacacheoidctokenclaims.md + - docs/models/updateprojectdatacacheoidctokenconfig.md + - docs/models/updateprojectdatacacheoptionsallowlist.md + - docs/models/updateprojectdatacachepasswordprotection.md + - docs/models/updateprojectdatacachepaths.md + - docs/models/updateprojectdatacacheplan.md + - docs/models/updateprojectdatacacheprojectsaliaserror.md + - docs/models/updateprojectdatacacheprojectsbuilds.md + - docs/models/updateprojectdatacacheprojectschecksconclusion.md + - docs/models/updateprojectdatacacheprojectschecksstate.md + - docs/models/updateprojectdatacacheprojectscreator.md + - docs/models/updateprojectdatacacheprojectsoidctokenclaims.md + - docs/models/updateprojectdatacacheprojectsplan.md + - docs/models/updateprojectdatacacheprojectsreadystate.md + - docs/models/updateprojectdatacacheprojectsreadysubstate.md + - docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md + - docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecuritytype.md + - docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytargetstype.md + - docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytype.md + - docs/models/updateprojectdatacacheprojectsresponse200applicationjsontype.md + - docs/models/updateprojectdatacacheprojectsresponse200type.md + - docs/models/updateprojectdatacacheprojectsresponsetype.md + - docs/models/updateprojectdatacacheprojectstype.md + - docs/models/updateprojectdatacacheprojectsvalue.md + - docs/models/updateprojectdatacachereadystate.md + - docs/models/updateprojectdatacachereadysubstate.md + - docs/models/updateprojectdatacacherequest.md + - docs/models/updateprojectdatacacherequestbody.md + - docs/models/updateprojectdatacacheresourceconfig.md + - docs/models/updateprojectdatacacheresponsebody.md + - docs/models/updateprojectdatacachesecurity.md + - docs/models/updateprojectdatacachessoprotection.md + - docs/models/updateprojectdatacachetarget.md + - docs/models/updateprojectdatacachetarget1.md + - docs/models/updateprojectdatacachetarget2.md + - docs/models/updateprojectdatacachetrustedips.md + - docs/models/updateprojectdatacachetrustedipsaddresses.md + - docs/models/updateprojectdatacachetrustedipsdeploymenttype.md + - docs/models/updateprojectdatacachetrustedipsprotectionmode.md + - docs/models/updateprojectdatacachetype.md + - docs/models/updateprojectdatacachevalue.md + - docs/models/updateprojectdatacachevalue2.md + - docs/models/updateprojectdatacachevalueprojects2.md + - docs/models/updateprojectdatacachewebanalytics.md + - docs/models/updateprojectdefinitions.md + - docs/models/updateprojectdeploymentexpiration.md + - docs/models/updateprojectdeploymenttype.md + - docs/models/updateprojectdomainrequest.md + - docs/models/updateprojectdomainrequestbody.md + - docs/models/updateprojectdomainresponsebody.md + - docs/models/updateprojectdomainverification.md + - docs/models/updateprojectenv.md + - docs/models/updateprojecterl.md + - docs/models/updateprojectfirewallroutes.md + - docs/models/updateprojectframework.md + - docs/models/updateprojectfunctiondefaultmemorytype.md + - docs/models/updateprojectgitcomments.md + - docs/models/updateprojecthandle.md + - docs/models/updateprojecthas.md + - docs/models/updateprojectinternalcontenthint.md + - docs/models/updateprojectipbuckets.md + - docs/models/updateprojectissuermode.md + - docs/models/updateprojectjobstatus.md + - docs/models/updateprojectlastaliasrequest.md + - docs/models/updateprojectlastrollbacktarget.md + - docs/models/updateprojectlatestdeployments.md + - docs/models/updateprojectlink.md + - docs/models/updateprojectlink1.md + - docs/models/updateprojectlink2.md + - docs/models/updateprojectlink3.md + - docs/models/updateprojectlinkdeployhooks.md + - docs/models/updateprojectlinkprojectsdeployhooks.md + - docs/models/updateprojectlinkprojectsresponsedeployhooks.md + - docs/models/updateprojectlinkprojectsresponsetype.md + - docs/models/updateprojectlinkprojectstype.md + - docs/models/updateprojectlinktype.md + - docs/models/updateprojectmicrofrontends.md + - docs/models/updateprojectmissing.md + - docs/models/updateprojectmitigate.md + - docs/models/updateprojectnodeversion.md + - docs/models/updateprojectoidctokenclaims.md + - docs/models/updateprojectoidctokenconfig.md + - docs/models/updateprojectoptionsallowlist.md + - docs/models/updateprojectpasswordprotection.md + - docs/models/updateprojectpaths.md + - docs/models/updateprojectpermissions.md + - docs/models/updateprojectplan.md + - docs/models/updateprojectprojectsaliasassigned.md + - docs/models/updateprojectprojectsaliaserror.md + - docs/models/updateprojectprojectsbranchmatcher.md + - docs/models/updateprojectprojectsbuilds.md + - docs/models/updateprojectprojectschecksconclusion.md + - docs/models/updateprojectprojectschecksstate.md + - docs/models/updateprojectprojectscreator.md + - docs/models/updateprojectprojectsdeploymenttype.md + - docs/models/updateprojectprojectsframework.md + - docs/models/updateprojectprojectsissuermode.md + - docs/models/updateprojectprojectsnodeversion.md + - docs/models/updateprojectprojectsoidctokenclaims.md + - docs/models/updateprojectprojectsoidctokenconfig.md + - docs/models/updateprojectprojectsplan.md + - docs/models/updateprojectprojectsreadystate.md + - docs/models/updateprojectprojectsreadysubstate.md + - docs/models/updateprojectprojectsresponse200applicationjsonresponsebodyenvtype.md + - docs/models/updateprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md + - docs/models/updateprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md + - docs/models/updateprojectprojectsresponse200applicationjsonresponsebodytype.md + - docs/models/updateprojectprojectsresponse200applicationjsontype.md + - docs/models/updateprojectprojectsresponse200type.md + - docs/models/updateprojectprojectsresponsedeploymenttype.md + - docs/models/updateprojectprojectsresponsetype.md + - docs/models/updateprojectprojectstype.md + - docs/models/updateprojectprojectsvalue.md + - docs/models/updateprojectprotectionbypass.md + - docs/models/updateprojectprotectionbypassprotectionbypass.md + - docs/models/updateprojectprotectionbypassrequest.md + - docs/models/updateprojectprotectionbypassrequestbody.md + - docs/models/updateprojectprotectionbypassresponsebody.md + - docs/models/updateprojectprotectionbypassscope.md + - docs/models/updateprojectreadystate.md + - docs/models/updateprojectreadysubstate.md + - docs/models/updateprojectrequest.md + - docs/models/updateprojectrequestbody.md + - docs/models/updateprojectresourceconfig.md + - docs/models/updateprojectresponsebody.md + - docs/models/updateprojectscope.md + - docs/models/updateprojectsecurity.md + - docs/models/updateprojectspeedinsights.md + - docs/models/updateprojectsrc.md + - docs/models/updateprojectsrc2.md + - docs/models/updateprojectssoprotection.md + - docs/models/updateprojecttarget.md + - docs/models/updateprojecttarget2.md + - docs/models/updateprojecttargets.md + - docs/models/updateprojecttier.md + - docs/models/updateprojecttrustedips.md + - docs/models/updateprojecttrustedips1.md + - docs/models/updateprojecttrustedips2.md + - docs/models/updateprojecttrustedipsaddresses.md + - docs/models/updateprojecttrustedipsdeploymenttype.md + - docs/models/updateprojecttrustedipsprojectsdeploymenttype.md + - docs/models/updateprojecttrustedipsprotectionmode.md + - docs/models/updateprojecttype.md + - docs/models/updateprojectvalue.md + - docs/models/updateprojectvalue2.md + - docs/models/updateprojectvalueprojects2.md + - docs/models/updateprojectwebanalytics.md + - docs/models/updaterecorddnstype.md + - docs/models/updaterecordrequest.md + - docs/models/updaterecordrequestbody.md + - docs/models/updaterecordresponsebody.md + - docs/models/updaterecordtype.md + - docs/models/updateresourcesecretsrequest.md + - docs/models/updateresourcesecretsrequestbody.md + - docs/models/updateteammemberjoinedfrom.md + - docs/models/updateteammemberprojects.md + - docs/models/updateteammemberrequest.md + - docs/models/updateteammemberrequestbody.md + - docs/models/updateteammemberresponsebody.md + - docs/models/updateteammemberrole.md + - docs/models/uploadartifactrequest.md + - docs/models/uploadartifactresponsebody.md + - docs/models/uploadcertrequest.md + - docs/models/uploadcertrequestbody.md + - docs/models/uploadcertresponsebody.md + - docs/models/uploadedfile.md + - docs/models/uploadfilerequest.md + - docs/models/uploadfileresponsebody.md + - docs/models/uploadfileresponsebody1.md + - docs/models/uploadfileresponsebody2.md + - docs/models/usage.md + - docs/models/user.md + - docs/models/userevent.md + - docs/models/utm.md + - docs/models/vercelbadrequesterror.md + - docs/models/vercelforbiddenerror.md + - docs/models/vercelforbiddenerrorerror.md + - docs/models/vercelnotfounderror.md + - docs/models/vercelnotfounderrorerror.md + - docs/models/vercelratelimiterror.md + - docs/models/vercelratelimiterrorerror.md + - docs/models/verification.md + - docs/models/verified.md + - docs/models/verifiedbotsbypass.md + - docs/models/verifyprojectdomainrequest.md + - docs/models/verifyprojectdomainresponsebody.md + - docs/models/verifyprojectdomainverification.md + - docs/models/version.md + - docs/models/view.md + - docs/models/viewpreference.md + - docs/models/virtualexperiencescore.md + - docs/models/webanalytics.md + - docs/models/xss.md - docs/sdks/accessgroups/README.md - docs/sdks/aliases/README.md - docs/sdks/artifacts/README.md @@ -2598,163 +2606,168 @@ generatedFiles: - src/lib/sdks.ts - src/lib/security.ts - src/lib/url.ts - - src/models/components/aclaction.ts - - src/models/components/authtoken.ts - - src/models/components/authuser.ts - - src/models/components/authuserlimited.ts - - src/models/components/edgeconfigitem.ts - - src/models/components/edgeconfigitemvalue.ts - - src/models/components/edgeconfigtoken.ts - - src/models/components/filetree.ts - - src/models/components/flagjsonvalue.ts - - src/models/components/pagination.ts - - src/models/components/security.ts - - src/models/components/teamlimited.ts - - src/models/components/userevent.ts - - src/models/errors/httpclienterrors.ts - - src/models/errors/sdkerror.ts - - src/models/errors/sdkvalidationerror.ts - - src/models/operations/addprojectdomain.ts - - src/models/operations/addprojectmember.ts - - src/models/operations/artifactexists.ts - - src/models/operations/artifactquery.ts - - src/models/operations/assignalias.ts - - src/models/operations/buydomain.ts - - src/models/operations/canceldeployment.ts - - src/models/operations/checkdomainprice.ts - - src/models/operations/checkdomainstatus.ts - - src/models/operations/createaccessgroup.ts - - src/models/operations/createaccessgroupproject.ts - - src/models/operations/createauthtoken.ts - - src/models/operations/createcheck.ts - - src/models/operations/createconfigurablelogdrain.ts - - src/models/operations/createdeployment.ts - - src/models/operations/createedgeconfig.ts - - src/models/operations/createedgeconfigtoken.ts - - src/models/operations/createevent.ts - - src/models/operations/createlogdrain.ts - - src/models/operations/createortransferdomain.ts - - src/models/operations/createproject.ts - - src/models/operations/createprojectenv.ts - - src/models/operations/createrecord.ts - - src/models/operations/createteam.ts - - src/models/operations/createwebhook.ts - - src/models/operations/deleteaccessgroup.ts - - src/models/operations/deleteaccessgroupproject.ts - - src/models/operations/deletealias.ts - - src/models/operations/deleteauthtoken.ts - - src/models/operations/deleteconfigurablelogdrain.ts - - src/models/operations/deleteconfiguration.ts - - src/models/operations/deletedeployment.ts - - src/models/operations/deletedomain.ts - - src/models/operations/deleteedgeconfig.ts - - src/models/operations/deleteedgeconfigschema.ts - - src/models/operations/deleteedgeconfigtokens.ts - - src/models/operations/deleteintegrationlogdrain.ts - - src/models/operations/deleteproject.ts - - src/models/operations/deleteteam.ts - - src/models/operations/deleteteaminvitecode.ts - - src/models/operations/deletewebhook.ts - - src/models/operations/downloadartifact.ts - - src/models/operations/editprojectenv.ts - - src/models/operations/exchangessotoken.ts - - src/models/operations/filterprojectenvs.ts - - src/models/operations/getaccountinfo.ts - - src/models/operations/getalias.ts - - src/models/operations/getallchecks.ts - - src/models/operations/getalllogdrains.ts - - src/models/operations/getauthtoken.ts - - src/models/operations/getauthuser.ts - - src/models/operations/getcertbyid.ts - - src/models/operations/getcheck.ts - - src/models/operations/getconfigurablelogdrain.ts - - src/models/operations/getconfiguration.ts - - src/models/operations/getconfigurations.ts - - src/models/operations/getdeployment.ts - - src/models/operations/getdeploymentevents.ts - - src/models/operations/getdeploymentfilecontents.ts - - src/models/operations/getdeployments.ts - - src/models/operations/getdomain.ts - - src/models/operations/getdomainconfig.ts - - src/models/operations/getdomains.ts - - src/models/operations/getdomaintransfer.ts - - src/models/operations/getedgeconfig.ts - - src/models/operations/getedgeconfigbackup.ts - - src/models/operations/getedgeconfigbackups.ts - - src/models/operations/getedgeconfigitem.ts - - src/models/operations/getedgeconfigitems.ts - - src/models/operations/getedgeconfigs.ts - - src/models/operations/getedgeconfigschema.ts - - src/models/operations/getedgeconfigtoken.ts - - src/models/operations/getedgeconfigtokens.ts - - src/models/operations/getfirewallconfig.ts - - src/models/operations/getintegrationlogdrains.ts - - src/models/operations/getinvoice.ts - - src/models/operations/getmember.ts - - src/models/operations/getprojectdomain.ts - - src/models/operations/getprojectdomains.ts - - src/models/operations/getprojectenv.ts - - src/models/operations/getprojectmembers.ts - - src/models/operations/getprojects.ts - - src/models/operations/getrecords.ts - - src/models/operations/getteam.ts - - src/models/operations/getteamaccessrequest.ts - - src/models/operations/getteammembers.ts - - src/models/operations/getteams.ts - - src/models/operations/getwebhook.ts - - src/models/operations/getwebhooks.ts - - src/models/operations/gitnamespaces.ts - - src/models/operations/inviteusertoteam.ts - - src/models/operations/issuecert.ts - - src/models/operations/jointeam.ts - - src/models/operations/listaccessgroupmembers.ts - - src/models/operations/listaccessgroupprojects.ts - - src/models/operations/listaccessgroups.ts - - src/models/operations/listaliases.ts - - src/models/operations/listauthtokens.ts - - src/models/operations/listdeploymentaliases.ts - - src/models/operations/listdeploymentfiles.ts - - src/models/operations/listpromotealiases.ts - - src/models/operations/listuserevents.ts - - src/models/operations/patchdomain.ts - - src/models/operations/patchedgeconfigschema.ts - - src/models/operations/patchteam.ts - - src/models/operations/putfirewallconfig.ts - - src/models/operations/readaccessgroup.ts - - src/models/operations/readaccessgroupproject.ts - - src/models/operations/recordevents.ts - - src/models/operations/removecert.ts - - src/models/operations/removeprojectdomain.ts - - src/models/operations/removeprojectenv.ts - - src/models/operations/removeprojectmember.ts - - src/models/operations/removerecord.ts - - src/models/operations/removeteammember.ts - - src/models/operations/requestaccesstoteam.ts - - src/models/operations/requestdelete.ts - - src/models/operations/requestpromote.ts - - src/models/operations/rerequestcheck.ts - - src/models/operations/searchrepo.ts - - src/models/operations/status.ts - - src/models/operations/submitbillingdata.ts - - src/models/operations/submitinvoice.ts - - src/models/operations/updateaccessgroup.ts - - src/models/operations/updateaccessgroupproject.ts - - src/models/operations/updateattackchallengemode.ts - - src/models/operations/updatecheck.ts - - src/models/operations/updateedgeconfig.ts - - src/models/operations/updatefirewallconfig.ts - - src/models/operations/updateinvoice.ts - - src/models/operations/updateproject.ts - - src/models/operations/updateprojectdatacache.ts - - src/models/operations/updateprojectdomain.ts - - src/models/operations/updateprojectprotectionbypass.ts - - src/models/operations/updaterecord.ts - - src/models/operations/updateresourcesecrets.ts - - src/models/operations/updateteammember.ts - - src/models/operations/uploadartifact.ts - - src/models/operations/uploadcert.ts - - src/models/operations/uploadfile.ts - - src/models/operations/verifyprojectdomain.ts + - src/models/aclaction.ts + - src/models/addprojectdomainop.ts + - src/models/addprojectmemberop.ts + - src/models/artifactexistsop.ts + - src/models/artifactqueryop.ts + - src/models/assignaliasop.ts + - src/models/authtoken.ts + - src/models/authuser.ts + - src/models/authuserlimited.ts + - src/models/buydomainop.ts + - src/models/canceldeploymentop.ts + - src/models/checkdomainpriceop.ts + - src/models/checkdomainstatusop.ts + - src/models/createaccessgroupop.ts + - src/models/createaccessgroupprojectop.ts + - src/models/createauthtokenop.ts + - src/models/createcheckop.ts + - src/models/createconfigurablelogdrainop.ts + - src/models/createdeploymentop.ts + - src/models/createedgeconfigop.ts + - src/models/createedgeconfigtokenop.ts + - src/models/createeventop.ts + - src/models/createlogdrainop.ts + - src/models/createortransferdomainop.ts + - src/models/createprojectenvop.ts + - src/models/createprojectop.ts + - src/models/createrecordop.ts + - src/models/createteamop.ts + - src/models/createwebhookop.ts + - src/models/deleteaccessgroupop.ts + - src/models/deleteaccessgroupprojectop.ts + - src/models/deletealiasop.ts + - src/models/deleteauthtokenop.ts + - src/models/deleteconfigurablelogdrainop.ts + - src/models/deleteconfigurationop.ts + - src/models/deletedeploymentop.ts + - src/models/deletedomainop.ts + - src/models/deleteedgeconfigop.ts + - src/models/deleteedgeconfigschemaop.ts + - src/models/deleteedgeconfigtokensop.ts + - src/models/deleteintegrationlogdrainop.ts + - src/models/deleteprojectop.ts + - src/models/deleteteaminvitecodeop.ts + - src/models/deleteteamop.ts + - src/models/deletewebhookop.ts + - src/models/downloadartifactop.ts + - src/models/edgeconfigitem.ts + - src/models/edgeconfigitemvalue.ts + - src/models/edgeconfigtoken.ts + - src/models/editprojectenvop.ts + - src/models/exchangessotokenop.ts + - src/models/filetree.ts + - src/models/filterprojectenvsop.ts + - src/models/flagjsonvalue.ts + - src/models/getaccountinfoop.ts + - src/models/getaliasop.ts + - src/models/getallchecksop.ts + - src/models/getalllogdrainsop.ts + - src/models/getauthtokenop.ts + - src/models/getauthuserop.ts + - src/models/getcertbyidop.ts + - src/models/getcheckop.ts + - src/models/getconfigurablelogdrainop.ts + - src/models/getconfigurationop.ts + - src/models/getconfigurationsop.ts + - src/models/getdeploymenteventsop.ts + - src/models/getdeploymentfilecontentsop.ts + - src/models/getdeploymentop.ts + - src/models/getdeploymentsop.ts + - src/models/getdomainconfigop.ts + - src/models/getdomainop.ts + - src/models/getdomainsop.ts + - src/models/getdomaintransferop.ts + - src/models/getedgeconfigbackupop.ts + - src/models/getedgeconfigbackupsop.ts + - src/models/getedgeconfigitemop.ts + - src/models/getedgeconfigitemsop.ts + - src/models/getedgeconfigop.ts + - src/models/getedgeconfigschemaop.ts + - src/models/getedgeconfigsop.ts + - src/models/getedgeconfigtokenop.ts + - src/models/getedgeconfigtokensop.ts + - src/models/getfirewallconfigop.ts + - src/models/getintegrationlogdrainsop.ts + - src/models/getinvoiceop.ts + - src/models/getmemberop.ts + - src/models/getprojectdomainop.ts + - src/models/getprojectdomainsop.ts + - src/models/getprojectenvop.ts + - src/models/getprojectmembersop.ts + - src/models/getprojectsop.ts + - src/models/getrecordsop.ts + - src/models/getteamaccessrequestop.ts + - src/models/getteammembersop.ts + - src/models/getteamop.ts + - src/models/getteamsop.ts + - src/models/getwebhookop.ts + - src/models/getwebhooksop.ts + - src/models/gitnamespacesop.ts + - src/models/httpclienterrors.ts + - src/models/inviteusertoteamop.ts + - src/models/issuecertop.ts + - src/models/jointeamop.ts + - src/models/listaccessgroupmembersop.ts + - src/models/listaccessgroupprojectsop.ts + - src/models/listaccessgroupsop.ts + - src/models/listaliasesop.ts + - src/models/listauthtokensop.ts + - src/models/listdeploymentaliasesop.ts + - src/models/listdeploymentfilesop.ts + - src/models/listpromotealiasesop.ts + - src/models/listusereventsop.ts + - src/models/pagination.ts + - src/models/patchdomainop.ts + - src/models/patchedgeconfigschemaop.ts + - src/models/patchteamop.ts + - src/models/putfirewallconfigop.ts + - src/models/ratelimitnotice.ts + - src/models/readaccessgroupop.ts + - src/models/readaccessgroupprojectop.ts + - src/models/recordeventsop.ts + - src/models/removecertop.ts + - src/models/removeprojectdomainop.ts + - src/models/removeprojectenvop.ts + - src/models/removeprojectmemberop.ts + - src/models/removerecordop.ts + - src/models/removeteammemberop.ts + - src/models/requestaccesstoteamop.ts + - src/models/requestdeleteop.ts + - src/models/requestpromoteop.ts + - src/models/rerequestcheckop.ts + - src/models/sdkerror.ts + - src/models/sdkvalidationerror.ts + - src/models/searchrepoop.ts + - src/models/security.ts + - src/models/statusop.ts + - src/models/submitbillingdataop.ts + - src/models/submitinvoiceop.ts + - src/models/teamlimited.ts + - src/models/updateaccessgroupop.ts + - src/models/updateaccessgroupprojectop.ts + - src/models/updateattackchallengemodeop.ts + - src/models/updatecheckop.ts + - src/models/updateedgeconfigop.ts + - src/models/updatefirewallconfigop.ts + - src/models/updateinvoiceop.ts + - src/models/updateprojectdatacacheop.ts + - src/models/updateprojectdomainop.ts + - src/models/updateprojectop.ts + - src/models/updateprojectprotectionbypassop.ts + - src/models/updaterecordop.ts + - src/models/updateresourcesecretsop.ts + - src/models/updateteammemberop.ts + - src/models/uploadartifactop.ts + - src/models/uploadcertop.ts + - src/models/uploadfileop.ts + - src/models/userevent.ts + - src/models/vercelbadrequesterror.ts + - src/models/vercelforbiddenerror.ts + - src/models/vercelnotfounderror.ts + - src/models/vercelratelimiterror.ts + - src/models/verifyprojectdomainop.ts - src/sdk/accessgroups.ts - src/sdk/aliases.ts - src/sdk/artifacts.ts @@ -2793,6 +2806,12 @@ examples: responses: "200": application/json: {"isDsyncManaged": false, "name": "my-access-group", "createdAt": "1588720733602", "teamId": "team_123a6c5209bc3778245d011443644c8d27dc2c50", "updatedAt": "1588720733602", "accessGroupId": "ag_123a6c5209bc3778245d011443644c8d27dc2c50", "membersCount": 5, "projectsCount": 2} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} updateAccessGroup: speakeasy-default-update-access-group: parameters: @@ -2804,12 +2823,25 @@ examples: responses: "200": application/json: {"name": "my-access-group", "createdAt": "1588720733602", "teamId": "team_123a6c5209bc3778245d011443644c8d27dc2c50", "updatedAt": "1588720733602", "accessGroupId": "ag_123a6c5209bc3778245d011443644c8d27dc2c50", "membersCount": 5, "projectsCount": 2} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} deleteAccessGroup: speakeasy-default-delete-access-group: parameters: path: idOrName: "" query: {} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} listAccessGroupMembers: speakeasy-default-list-access-group-members: parameters: @@ -2820,6 +2852,12 @@ examples: responses: "200": application/json: {"members": [{"email": "Jaida_Rogahn@yahoo.com", "uid": "", "username": "Karianne_Bernier", "teamRole": "VIEWER"}], "pagination": {"count": "3878.47", "next": ""}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} listAccessGroups: speakeasy-default-list-access-groups: parameters: @@ -2829,6 +2867,15 @@ examples: membersLimit: 20 projectsLimit: 20 limit: 20 + responses: + "200": + application/json: {} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} createAccessGroup: speakeasy-default-create-access-group: requestBody: @@ -2836,6 +2883,12 @@ examples: responses: "200": application/json: {"membersCount": "591.78", "projectsCount": "3787.91", "name": "my-access-group", "createdAt": "1588720733602", "teamId": "team_123a6c5209bc3778245d011443644c8d27dc2c50", "updatedAt": "1588720733602", "accessGroupId": "ag_123a6c5209bc3778245d011443644c8d27dc2c50"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} listAccessGroupProjects: speakeasy-default-list-access-group-projects: parameters: @@ -2846,6 +2899,12 @@ examples: responses: "200": application/json: {"projects": [], "pagination": {"count": "7604.02", "next": ""}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} createAccessGroupProject: speakeasy-default-create-access-group-project: parameters: @@ -2857,6 +2916,12 @@ examples: responses: "200": application/json: {"teamId": "", "accessGroupId": "", "projectId": "", "role": "PROJECT_VIEWER", "createdAt": "", "updatedAt": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} readAccessGroupProject: speakeasy-default-read-access-group-project: parameters: @@ -2867,6 +2932,12 @@ examples: responses: "200": application/json: {"teamId": "", "accessGroupId": "", "projectId": "", "role": "ADMIN", "createdAt": "", "updatedAt": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} updateAccessGroupProject: speakeasy-default-update-access-group-project: parameters: @@ -2879,6 +2950,12 @@ examples: responses: "200": application/json: {"teamId": "", "accessGroupId": "", "projectId": "", "role": "ADMIN", "createdAt": "", "updatedAt": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} deleteAccessGroupProject: speakeasy-default-delete-access-group-project: parameters: @@ -2886,6 +2963,13 @@ examples: accessGroupIdOrName: "" projectId: "" query: {} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} recordEvents: speakeasy-default-record-events: parameters: @@ -2895,11 +2979,20 @@ examples: x-artifact-client-interactive: 0 requestBody: application/json: [{"sessionId": "", "source": "LOCAL", "event": "HIT", "hash": "12HKQaOmR5t5Uy6vdcQsNIiZgHGB", "duration": 400}] + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} status: speakeasy-default-status: responses: "200": application/json: {"status": "enabled"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} uploadArtifact: speakeasy-default-upload-artifact: parameters: @@ -2915,6 +3008,10 @@ examples: responses: "202": application/json: {"urls": ["https://api.vercel.com/v2/now/artifact/12HKQaOmR5t5Uy6vdcQsNIiZgHGB"]} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} downloadArtifact: speakeasy-default-download-artifact: parameters: @@ -2924,17 +3021,37 @@ examples: header: x-artifact-client-ci: "VERCEL" x-artifact-client-interactive: 0 + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} artifactExists: speakeasy-default-artifact-exists: parameters: path: hash: "12HKQaOmR5t5Uy6vdcQsNIiZgHGB" query: {} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} artifactQuery: speakeasy-default-artifact-query: + requestBody: + application/json: {"hashes": ["", "", ""]} responses: "200": application/json: {"key": {"error": {"message": ""}}, "key1": {"error": {"message": ""}}, "key2": {"error": {"message": ""}}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} createCheck: speakeasy-default-create-check: parameters: @@ -2946,6 +3063,12 @@ examples: responses: "200": application/json: {"id": "", "name": "", "status": "running", "blocking": false, "integrationId": "", "deploymentId": "", "createdAt": "2396.37", "updatedAt": "1065.29"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getAllChecks: speakeasy-default-get-all-checks: parameters: @@ -2955,6 +3078,12 @@ examples: responses: "200": application/json: {"checks": [{"createdAt": "4203.11", "id": "", "integrationId": "", "name": "", "rerequestable": false, "status": "registered", "updatedAt": "4461.16"}]} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getCheck: speakeasy-default-get-check: parameters: @@ -2965,6 +3094,12 @@ examples: responses: "200": application/json: {"id": "", "name": "", "status": "completed", "blocking": true, "integrationId": "", "deploymentId": "", "createdAt": "2039.14", "updatedAt": "676.34"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} updateCheck: speakeasy-default-update-check: parameters: @@ -2977,6 +3112,12 @@ examples: responses: "200": application/json: {"id": "", "name": "", "status": "completed", "blocking": true, "integrationId": "", "deploymentId": "", "createdAt": "9017.64", "updatedAt": "7909.85"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} rerequestCheck: speakeasy-default-rerequest-check: parameters: @@ -2984,6 +3125,15 @@ examples: deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6" checkId: "check_2qn7PZrx89yxY34vEZPD31Y9XVj6" query: {} + responses: + "200": + application/json: {} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} updateProjectDataCache: speakeasy-default-update-project-data-cache: parameters: @@ -2995,6 +3145,12 @@ examples: responses: "200": application/json: {"accountId": "", "crons": {"enabledAt": "7135.80", "disabledAt": "2989.85", "updatedAt": "6226.22", "deploymentId": "", "definitions": [{"host": "vercel.com", "path": "/api/crons/sync-something?hello=world", "schedule": "0 0 * * *"}, {"host": "vercel.com", "path": "/api/crons/sync-something?hello=world", "schedule": "0 0 * * *"}, {"host": "vercel.com", "path": "/api/crons/sync-something?hello=world", "schedule": "0 0 * * *"}]}, "directoryListing": false, "id": "", "latestDeployments": [{"id": "", "createdAt": "5719.60", "createdIn": "", "creator": {"email": "Braeden15@gmail.com", "uid": "", "username": "Teresa84"}, "deploymentHostname": "", "name": "", "plan": "pro", "previewCommentsEnabled": false, "private": false, "readyState": "BUILDING", "type": "LAMBDAS", "url": "https://unknown-gift.biz", "userId": ""}, {"id": "", "createdAt": "7644.50", "createdIn": "", "creator": {"email": "Erich.Mann@hotmail.com", "uid": "", "username": "Genoveva89"}, "deploymentHostname": "", "name": "", "plan": "hobby", "previewCommentsEnabled": false, "private": true, "readyState": "ERROR", "type": "LAMBDAS", "url": "https://slimy-tuba.name", "userId": ""}, {"id": "", "createdAt": "2357.62", "createdIn": "", "creator": {"email": "Garret.Ferry81@gmail.com", "uid": "", "username": "Vivianne.Gutkowski"}, "deploymentHostname": "", "name": "", "plan": "pro", "previewCommentsEnabled": false, "private": true, "readyState": "CANCELED", "type": "LAMBDAS", "url": "https://astonishing-cinema.net/", "userId": ""}], "name": "", "nodeVersion": "10.x", "targets": {}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getProjects: speakeasy-default-get-projects: parameters: @@ -3004,6 +3160,10 @@ examples: responses: "200": application/json: {"projects": [], "pagination": {"count": 20, "next": 1540095775951, "prev": 1540095775951}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} createProject: speakeasy-default-create-project: requestBody: @@ -3011,6 +3171,10 @@ examples: responses: "200": application/json: {"accountId": "", "crons": {"enabledAt": "5535.60", "disabledAt": "7749.32", "updatedAt": "4248.45", "deploymentId": "", "definitions": [{"host": "vercel.com", "path": "/api/crons/sync-something?hello=world", "schedule": "0 0 * * *"}, {"host": "vercel.com", "path": "/api/crons/sync-something?hello=world", "schedule": "0 0 * * *"}]}, "directoryListing": false, "id": "", "latestDeployments": [{"id": "", "createdAt": "3954.07", "createdIn": "", "creator": {"email": "Junior46@yahoo.com", "uid": "", "username": "Rick.Fritsch"}, "deploymentHostname": "", "name": "", "plan": "enterprise", "previewCommentsEnabled": false, "private": false, "readyState": "CANCELED", "type": "LAMBDAS", "url": "https://potable-bid.biz", "userId": ""}], "name": "", "nodeVersion": "22.x", "targets": {"key": {"id": "", "createdAt": "1667.88", "createdIn": "", "creator": {"email": "Mustafa49@yahoo.com", "uid": "", "username": "Roberta.Cormier"}, "deploymentHostname": "", "name": "", "plan": "hobby", "previewCommentsEnabled": false, "private": false, "readyState": "INITIALIZING", "type": "LAMBDAS", "url": "https://formal-breastplate.org", "userId": ""}}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} updateProject: speakeasy-default-update-project: parameters: @@ -3022,12 +3186,21 @@ examples: responses: "200": application/json: {"accountId": "", "crons": {"enabledAt": "6482.22", "disabledAt": "3040.87", "updatedAt": "9398.85", "deploymentId": "", "definitions": [{"host": "vercel.com", "path": "/api/crons/sync-something?hello=world", "schedule": "0 0 * * *"}, {"host": "vercel.com", "path": "/api/crons/sync-something?hello=world", "schedule": "0 0 * * *"}]}, "directoryListing": true, "id": "", "latestDeployments": [{"id": "", "createdAt": "7688.55", "createdIn": "", "creator": {"email": "Alfredo_Murazik@yahoo.com", "uid": "", "username": "Kiera28"}, "deploymentHostname": "", "name": "", "plan": "enterprise", "previewCommentsEnabled": false, "private": false, "readyState": "ERROR", "type": "LAMBDAS", "url": "https://close-premise.net/", "userId": ""}, {"id": "", "createdAt": "3847.37", "createdIn": "", "creator": {"email": "Zachery.Johns68@yahoo.com", "uid": "", "username": "Nicole_Reynolds"}, "deploymentHostname": "", "name": "", "plan": "hobby", "previewCommentsEnabled": false, "private": true, "readyState": "QUEUED", "type": "LAMBDAS", "url": "https://unsightly-newsstand.net/", "userId": ""}], "name": "", "nodeVersion": "14.x", "targets": {"key": {"id": "", "createdAt": "5163.13", "createdIn": "", "creator": {"email": "Joyce_Hodkiewicz46@yahoo.com", "uid": "", "username": "Bud.Bogan18"}, "deploymentHostname": "", "name": "", "plan": "pro", "previewCommentsEnabled": false, "private": true, "readyState": "QUEUED", "type": "LAMBDAS", "url": "https://frugal-coordination.net/", "userId": ""}}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} deleteProject: speakeasy-default-delete-project: parameters: path: idOrName: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB" query: {} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} getProjectDomains: speakeasy-default-get-project-domains: parameters: @@ -3041,6 +3214,10 @@ examples: responses: "200": application/json: {"domains": [{"name": "", "apexName": "", "projectId": "", "verified": true}], "pagination": {"count": 20, "next": 1540095775951, "prev": 1540095775951}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} getProjectDomain: speakeasy-default-get-project-domain: parameters: @@ -3051,6 +3228,10 @@ examples: responses: "200": application/json: {"name": "", "apexName": "", "projectId": "", "verified": true} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} updateProjectDomain: speakeasy-default-update-project-domain: parameters: @@ -3063,6 +3244,10 @@ examples: responses: "200": application/json: {"name": "", "apexName": "", "projectId": "", "verified": false} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} removeProjectDomain: speakeasy-default-remove-project-domain: parameters: @@ -3070,6 +3255,15 @@ examples: idOrName: "" domain: "www.example.com" query: {} + responses: + "200": + application/json: {} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} addProjectDomain: speakeasy-default-add-project-domain: parameters: @@ -3081,6 +3275,10 @@ examples: responses: "200": application/json: {"name": "", "apexName": "", "projectId": "", "verified": true} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} verifyProjectDomain: speakeasy-default-verify-project-domain: parameters: @@ -3091,6 +3289,10 @@ examples: responses: "200": application/json: {"name": "", "apexName": "", "projectId": "", "verified": false} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} filterProjectEnvs: speakeasy-default-filter-project-envs: parameters: @@ -3103,6 +3305,10 @@ examples: responses: "200": application/json: {"pagination": {"count": 20, "next": 1540095775951, "prev": 1540095775951}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} getProjectEnv: speakeasy-default-get-project-env: parameters: @@ -3113,6 +3319,10 @@ examples: responses: "200": application/json: {"type": "plain", "key": "", "value": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} createProjectEnv: speakeasy-default-create-project-env: parameters: @@ -3125,6 +3335,10 @@ examples: responses: "201": application/json: {"failed": [{"error": {"code": "", "message": ""}}]} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} removeProjectEnv: speakeasy-default-remove-project-env: parameters: @@ -3135,6 +3349,12 @@ examples: responses: "200": application/json: [{"type": "sensitive", "key": "", "value": ""}, {"type": "plain", "key": "", "value": ""}, {"type": "encrypted", "key": "", "value": ""}] + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} editProjectEnv: speakeasy-default-edit-project-env: parameters: @@ -3147,12 +3367,25 @@ examples: responses: "200": application/json: {"type": "encrypted", "key": "", "value": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} updateProjectProtectionBypass: speakeasy-default-update-project-protection-bypass: parameters: path: idOrName: "" query: {} + responses: + "200": + application/json: {} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} requestPromote: speakeasy-default-request-promote: parameters: @@ -3160,6 +3393,11 @@ examples: projectId: "" deploymentId: "" query: {} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} listPromoteAliases: speakeasy-default-list-promote-aliases: parameters: @@ -3169,6 +3407,15 @@ examples: limit: 20 since: 1609499532000 until: 1612264332000 + responses: + "200": + application/json: {} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getDeploymentEvents: speakeasy-default-get-deployment-events: parameters: @@ -3184,6 +3431,11 @@ examples: statusCode: "5xx" delimiter: 1 builds: 1 + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} getDeployment: speakeasy-default-get-deployment: parameters: @@ -3194,6 +3446,10 @@ examples: responses: "200": application/json: {"aliasAssigned": false, "bootedAt": "2317.28", "buildingAt": "458.06", "buildSkipped": true, "creator": {"uid": ""}, "public": true, "status": "ERROR", "id": "", "type": "LAMBDAS", "createdAt": "3161.76", "name": "", "readyState": "READY", "meta": {"key": "", "key1": ""}, "regions": [], "url": "https://disloyal-backburn.info", "version": "1604.95"} + "400": + application/json: {} + "404": + application/json: {} createDeployment: speakeasy-default-create-deployment: requestBody: @@ -3201,6 +3457,12 @@ examples: responses: "200": application/json: {"build": {"env": []}, "env": ["", "", ""], "inspectorUrl": "https://grave-dredger.com", "isInConcurrentBuildsQueue": false, "isInSystemBuildsQueue": false, "aliasAssigned": false, "bootedAt": "4336.60", "buildingAt": "7030.55", "buildSkipped": true, "creator": {"uid": ""}, "public": false, "status": "QUEUED", "type": "LAMBDAS", "createdAt": "5133.44", "name": "", "id": "", "version": "1218.01", "meta": {"key": "", "key1": ""}, "readyState": "INITIALIZING", "regions": [], "url": "https://apprehensive-perp.info/", "projectId": "", "ownerId": "", "routes": [{"src": ""}, {"src": ""}], "plan": "pro", "createdIn": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} cancelDeployment: speakeasy-default-cancel-deployment: parameters: @@ -3210,7 +3472,21 @@ examples: responses: "200": application/json: {"build": {"env": ["", "", ""]}, "env": ["", ""], "inspectorUrl": "https://concrete-gerbil.org", "isInConcurrentBuildsQueue": false, "isInSystemBuildsQueue": true, "aliasAssigned": false, "bootedAt": "8528.74", "buildingAt": "7590.78", "buildSkipped": false, "creator": {"uid": ""}, "public": true, "status": "BUILDING", "id": "", "createdAt": "3071.53", "name": "", "meta": {"key": "", "key1": "", "key2": ""}, "readyState": "QUEUED", "regions": [""], "type": "LAMBDAS", "url": "https://timely-reboot.name", "version": "6067.47", "createdIn": "", "ownerId": "", "plan": "pro", "projectId": "", "routes": [{"handle": "resource"}, {"src": "", "continue": false, "middleware": "6618.11"}]} - uploadFile: {} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} + uploadFile: + speakeasy-default-upload-file: + responses: + "200": + application/json: {} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} listDeploymentFiles: speakeasy-default-list-deployment-files: parameters: @@ -3220,6 +3496,12 @@ examples: responses: "200": application/json: [{"name": "my-file.json", "type": "file", "uid": "2d4aad419917f15b1146e9e03ddc9bb31747e4d0", "contentType": "application/json", "mode": "956.44"}, {"name": "my-file.json", "type": "file", "uid": "2d4aad419917f15b1146e9e03ddc9bb31747e4d0", "contentType": "application/json", "mode": "1805.56"}] + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getDeploymentFileContents: speakeasy-default-get-deployment-file-contents: parameters: @@ -3227,6 +3509,13 @@ examples: id: "" fileId: "" query: {} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getDeployments: speakeasy-default-get-deployments: parameters: @@ -3244,6 +3533,12 @@ examples: responses: "200": application/json: {"pagination": {"count": 20, "next": 1540095775951, "prev": 1540095775951}, "deployments": [{"uid": "dpl_2euZBFqxYdDMDG1jTrHFnNZ2eUVa", "name": "docs", "url": "docs-9jaeg38me.vercel.app", "created": 1609492210000, "deleted": 1609492210000, "undeleted": 1609492210000, "softDeletedByRetention": true, "source": "cli", "state": "READY", "readyState": "READY", "type": "LAMBDAS", "creator": {"uid": "eLrCnEgbKhsHyfbiNR7E8496", "email": "example@example.com", "username": "johndoe", "githubLogin": "johndoe", "gitlabLogin": "johndoe"}, "target": "production", "createdAt": 1609492210000, "buildingAt": 1609492210000, "ready": 1609492210000, "inspectorUrl": "https://vercel.com/acme/nextjs/J1hXN00qjUeoYfpEEf7dnDtpSiVq"}, {"uid": "dpl_2euZBFqxYdDMDG1jTrHFnNZ2eUVa", "name": "docs", "url": "docs-9jaeg38me.vercel.app", "created": 1609492210000, "deleted": 1609492210000, "undeleted": 1609492210000, "softDeletedByRetention": true, "source": "cli", "state": "READY", "readyState": "READY", "type": "LAMBDAS", "creator": {"uid": "eLrCnEgbKhsHyfbiNR7E8496", "email": "example@example.com", "username": "johndoe", "githubLogin": "johndoe", "gitlabLogin": "johndoe"}, "target": "production", "createdAt": 1609492210000, "buildingAt": 1609492210000, "ready": 1609492210000, "inspectorUrl": "https://vercel.com/acme/nextjs/J1hXN00qjUeoYfpEEf7dnDtpSiVq"}]} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} deleteDeployment: speakeasy-default-delete-deployment: parameters: @@ -3254,6 +3549,12 @@ examples: responses: "200": application/json: {"uid": "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd", "state": "DELETED"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} buyDomain: speakeasy-default-buy-domain: requestBody: @@ -3263,12 +3564,25 @@ examples: application/json: {"domain": {"uid": "", "ns": ["", "", ""], "verified": false, "created": "9374.80", "pending": false}} "202": application/json: {"domain": {"uid": "", "ns": [], "verified": true, "created": "3454.82", "pending": true}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "429": + application/json: {"error": {"message": ""}} checkDomainPrice: speakeasy-default-check-domain-price: parameters: query: name: "example.com" type: "new" + responses: + "200": + application/json: {} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} checkDomainStatus: speakeasy-default-check-domain-status: parameters: @@ -3277,6 +3591,10 @@ examples: responses: "200": application/json: {"available": true} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} getDomainTransfer: speakeasy-default-get-domain-transfer: parameters: @@ -3286,6 +3604,10 @@ examples: responses: "200": application/json: {"transferable": false, "transferPolicy": "charge-and-renew", "reason": "", "status": "completed"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} getDomainConfig: speakeasy-default-get-domain-config: parameters: @@ -3295,6 +3617,10 @@ examples: responses: "200": application/json: {"misconfigured": true} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} getDomain: speakeasy-default-get-domain: parameters: @@ -3304,6 +3630,12 @@ examples: responses: "200": application/json: {"domain": {"suffix": true, "verified": true, "nameservers": ["ns1.nameserver.net", "ns2.nameserver.net"], "intendedNameservers": ["ns1.vercel-dns.com", "ns2.vercel-dns.com"], "customNameservers": ["ns1.nameserver.net", "ns2.nameserver.net"], "creator": {"username": "vercel_user", "email": "demo@example.com", "id": "ZspSRT4ljIEEmMHgoDwKWDei"}, "teamId": "", "userId": "", "boughtAt": 1613602938882, "createdAt": 1613602938882, "expiresAt": 1613602938882, "id": "EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1", "name": "example.com", "orderedAt": 1613602938882, "renew": true, "serviceType": "zeit.world", "transferredAt": 1613602938882, "transferStartedAt": 1613602938882}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getDomains: speakeasy-default-get-domains: parameters: @@ -3314,6 +3646,10 @@ examples: responses: "200": application/json: {"domains": [{"verified": true, "nameservers": ["ns1.nameserver.net", "ns2.nameserver.net"], "intendedNameservers": ["ns1.vercel-dns.com", "ns2.vercel-dns.com"], "customNameservers": ["ns1.nameserver.net", "ns2.nameserver.net"], "creator": {"username": "vercel_user", "email": "demo@example.com", "id": "ZspSRT4ljIEEmMHgoDwKWDei"}, "teamId": "", "createdAt": 1613602938882, "boughtAt": 1613602938882, "expiresAt": 1613602938882, "id": "EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1", "name": "example.com", "orderedAt": 1613602938882, "renew": true, "serviceType": "zeit.world", "transferredAt": 1613602938882, "transferStartedAt": 1613602938882, "userId": ""}], "pagination": {"count": 20, "next": 1540095775951, "prev": 1540095775951}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} createOrTransferDomain: speakeasy-default-create-or-transfer-domain: requestBody: @@ -3321,6 +3657,12 @@ examples: responses: "200": application/json: {"domain": {"verified": true, "nameservers": ["ns1.nameserver.net", "ns2.nameserver.net"], "intendedNameservers": ["ns1.vercel-dns.com", "ns2.vercel-dns.com"], "customNameservers": ["ns1.nameserver.net", "ns2.nameserver.net"], "creator": {"username": "vercel_user", "email": "demo@example.com", "id": "ZspSRT4ljIEEmMHgoDwKWDei"}, "name": "example.com", "boughtAt": 1613602938882, "createdAt": 1613602938882, "expiresAt": 1613602938882, "id": "EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1", "orderedAt": 1613602938882, "renew": true, "serviceType": "zeit.world", "transferredAt": 1613602938882, "transferStartedAt": 1613602938882, "userId": "", "teamId": ""}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} patchDomain: speakeasy-default-patch-domain: parameters: @@ -3332,6 +3674,12 @@ examples: responses: "200": application/json: {"moved": true, "token": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} deleteDomain: speakeasy-default-delete-domain: parameters: @@ -3341,6 +3689,12 @@ examples: responses: "200": application/json: {"uid": "rec_V0fra8eEgQwEpFhYG2vTzC3K"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getRecords: speakeasy-default-get-records: parameters: @@ -3353,6 +3707,12 @@ examples: responses: "200": application/json: {"records": [{"id": "", "slug": "", "name": "", "type": "CAA", "value": "", "creator": "", "created": "625.21", "updated": "9085.95", "createdAt": "5625.17", "updatedAt": "391.36"}, {"id": "", "slug": "", "name": "", "type": "TXT", "value": "", "creator": "", "created": "8810.32", "updated": "5188.16", "createdAt": "6202.53", "updatedAt": "4008.09"}], "pagination": {"count": 20, "next": 1540095775951, "prev": 1540095775951}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} createRecord: speakeasy-default-create-record: parameters: @@ -3364,6 +3724,12 @@ examples: responses: "200": application/json: {"uid": "rec_V0fra8eEgQwEpFhYG2vTzC3K"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} updateRecord: speakeasy-default-update-record: parameters: @@ -3375,6 +3741,12 @@ examples: responses: "200": application/json: {"creator": "", "domain": "rectangular-peninsula.net", "id": "", "name": "", "recordType": "SRV", "type": "record-sys", "value": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} removeRecord: speakeasy-default-remove-record: parameters: @@ -3382,16 +3754,35 @@ examples: domain: "example.com" recordId: "rec_V0fra8eEgQwEpFhYG2vTzC3K" query: {} + responses: + "200": + application/json: {} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getEdgeConfigs: speakeasy-default-get-edge-configs: responses: "200": application/json: [{"sizeInBytes": "8239.08", "itemCount": "557.07"}] + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} createEdgeConfig: speakeasy-default-create-edge-config: + requestBody: + application/json: {"slug": ""} responses: "201": application/json: {"sizeInBytes": "145.91", "itemCount": "5042.97"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} getEdgeConfig: speakeasy-default-get-edge-config: parameters: @@ -3401,21 +3792,42 @@ examples: responses: "200": application/json: {"sizeInBytes": "3967.65", "itemCount": "7010.13"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} updateEdgeConfig: speakeasy-default-update-edge-config: parameters: path: edgeConfigId: "" query: {} + requestBody: + application/json: {"slug": ""} responses: "200": application/json: {"sizeInBytes": "5022.37", "itemCount": "211.31"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} deleteEdgeConfig: speakeasy-default-delete-edge-config: parameters: path: edgeConfigId: "" query: {} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getEdgeConfigItems: speakeasy-default-get-edge-config-items: parameters: @@ -3425,24 +3837,57 @@ examples: responses: "200": application/json: {"key": "", "value": "5002.95", "edgeConfigId": "", "createdAt": "9069.68", "updatedAt": "6276.41"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getEdgeConfigSchema: speakeasy-default-get-edge-config-schema: parameters: path: edgeConfigId: "" query: {} + responses: + "200": + application/json: {} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} patchEdgeConfigSchema: speakeasy-default-patch-edge-config-schema: parameters: path: edgeConfigId: "" query: {} + requestBody: + application/json: {"definition": ""} + responses: + "200": + application/json: {} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} deleteEdgeConfigSchema: speakeasy-default-delete-edge-config-schema: parameters: path: edgeConfigId: "" query: {} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getEdgeConfigItem: speakeasy-default-get-edge-config-item: parameters: @@ -3453,6 +3898,12 @@ examples: responses: "200": application/json: {"key": "", "value": "9966.77", "edgeConfigId": "", "createdAt": "1621.85", "updatedAt": "3034.44"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getEdgeConfigTokens: speakeasy-default-get-edge-config-tokens: parameters: @@ -3462,12 +3913,27 @@ examples: responses: "200": application/json: {"token": "", "label": "", "id": "", "edgeConfigId": "", "createdAt": "7692.35"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} deleteEdgeConfigTokens: speakeasy-default-delete-edge-config-tokens: parameters: path: edgeConfigId: "" query: {} + requestBody: + application/json: {"tokens": []} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getEdgeConfigToken: speakeasy-default-get-edge-config-token: parameters: @@ -3478,15 +3944,29 @@ examples: responses: "200": application/json: {"token": "", "label": "", "id": "", "edgeConfigId": "", "createdAt": "3597.77"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} createEdgeConfigToken: speakeasy-default-create-edge-config-token: parameters: path: edgeConfigId: "" query: {} + requestBody: + application/json: {"label": ""} responses: "201": application/json: {"token": "", "id": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getEdgeConfigBackup: speakeasy-default-get-edge-config-backup: parameters: @@ -3497,6 +3977,12 @@ examples: responses: "200": application/json: {"user": {"id": "", "username": "Leola60", "email": "Eunice.Hansen@hotmail.com"}, "id": "", "lastModified": "1520.01", "backup": {"digest": "", "items": {"key": {"updatedAt": "1577.81", "value": "", "createdAt": "970.45"}}, "slug": "", "updatedAt": "952.14"}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getEdgeConfigBackups: speakeasy-default-get-edge-config-backups: parameters: @@ -3506,6 +3992,12 @@ examples: responses: "200": application/json: {"backups": [{"id": "", "lastModified": "2424.25"}, {"id": "", "lastModified": "1518.43"}], "pagination": {"hasNext": true}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} listUserEvents: speakeasy-default-list-user-events: parameters: @@ -3519,16 +4011,28 @@ examples: responses: "200": application/json: {"events": []} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} getAuthUser: speakeasy-default-get-auth-user: responses: "200": application/json: {"user": {"createdAt": 1630748523395, "softBlock": {"blockedAt": "7708.70", "reason": "UNPAID_INVOICE"}, "stagingPrefix": "", "hasTrialAvailable": true, "id": "AEIIDYVk59zbFF2Sxfyxxmua", "email": "me@example.com", "name": "John Doe", "username": "jdoe", "avatar": "22cb30c85ff45ac4c72de8981500006b28114aa1", "defaultTeamId": "", "version": "northstar"}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} requestDelete: speakeasy-default-request-delete: responses: "202": application/json: {"id": "", "email": "Lamont82@gmail.com", "message": "Verification email sent"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} get-account-info: speakeasy-default-get-account-info: parameters: @@ -3537,6 +4041,10 @@ examples: responses: "200": application/json: {"url": "https://friendly-pleasure.info", "contact": {"email": "Horace_Bernhard@yahoo.com"}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} get-member: speakeasy-default-get-member: parameters: @@ -3546,21 +4054,50 @@ examples: responses: "200": application/json: {"id": "", "role": "ADMIN"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} create-event: speakeasy-default-create-event: parameters: path: integrationConfigurationId: "" + requestBody: + application/json: {"event": {"type": "installation.updated"}} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} submit-billing-data: speakeasy-default-submit-billing-data: parameters: path: integrationConfigurationId: "" + requestBody: + application/json: {"timestamp": "2024-09-29T02:38:01.476Z", "eod": "2022-12-28T23:46:57.523Z", "period": {"start": "2022-06-25T19:04:50.518Z", "end": "2023-10-18T01:18:36.230Z"}, "billing": {"items": [{"billingPlanId": "", "name": "", "price": "511.92", "quantity": "328.54", "units": "", "total": ""}, {"billingPlanId": "", "name": "", "price": "4.49", "quantity": "3113.17", "units": "", "total": ""}, {"billingPlanId": "", "name": "", "price": "896.30", "quantity": "8536.32", "units": "", "total": ""}]}, "usage": [{"resourceId": "", "name": "", "type": "rate", "units": "", "dayValue": "9439.21", "periodValue": "6958.71"}, {"resourceId": "", "name": "", "type": "total", "units": "", "dayValue": "9892.22", "periodValue": "4749.62"}, {"resourceId": "", "name": "", "type": "rate", "units": "", "dayValue": "7119.53", "periodValue": "6310.47"}]} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} submit-invoice: speakeasy-default-submit-invoice: parameters: path: integrationConfigurationId: "" + requestBody: + application/json: {"invoiceDate": "2022-06-05T08:54:16.353Z", "period": {"start": "2022-07-26T14:15:15.601Z", "end": "2024-10-08T09:35:48.520Z"}, "items": [{"billingPlanId": "", "name": "", "price": "905.89", "quantity": "1684.76", "units": "", "total": ""}, {"billingPlanId": "", "name": "", "price": "84.05", "quantity": "9130.94", "units": "", "total": ""}]} + responses: + "200": + application/json: {} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} get-invoice: speakeasy-default-get-invoice: parameters: @@ -3570,12 +4107,27 @@ examples: responses: "200": application/json: {"invoiceId": "", "invoiceDate": "", "period": {"start": "", "end": ""}, "items": [{"billingPlanId": "", "name": "", "price": "317.28", "quantity": "1022.19", "units": "", "total": ""}], "total": "", "created": "", "updated": "", "state": "scheduled", "test": false} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} update-invoice: speakeasy-default-update-invoice: parameters: path: integrationConfigurationId: "" invoiceId: "" + requestBody: + application/json: {"action": "refund", "reason": "", "total": ""} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} update-resource-secrets: speakeasy-default-update-resource-secrets: parameters: @@ -3583,11 +4135,26 @@ examples: integrationConfigurationId: "" integrationProductIdOrSlug: "" resourceId: "" + requestBody: + application/json: {"secrets": []} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} exchange-sso-token: speakeasy-default-exchange-sso-token: + requestBody: + application/json: {"code": "", "client_id": "", "client_secret": ""} responses: "200": application/json: {"id_token": "", "access_token": "", "token_type": ""} + "400": + application/json: {} + "404": + application/json: {} getConfigurations: speakeasy-default-get-configurations: parameters: @@ -3596,6 +4163,10 @@ examples: responses: "200": application/json: [{"integration": {"name": "", "icon": "", "category": "", "isLegacy": true}, "completedAt": 1558531915505, "createdAt": 1558531915505, "id": "icfg_3bwCLgxL8qt5kjRLcv2Dit7F", "integrationId": "oac_xzpVzcUOgcB1nrVlirtKhbWV", "ownerId": "kr1PsOIzqEL5Xg6M4VZcZosf", "projects": ["prj_xQxbutw1HpL6HLYPAzt5h75m8NjO"], "source": "marketplace", "slug": "slack", "teamId": "team_nLlpyC6RE1qxydlFKbrxDlud", "type": "integration-configuration", "updatedAt": 1558531915505, "userId": "kr1PsOIzqEL5Xg6M4VZcZosf", "scopes": ["read:project", "read-write:log-drain"], "disabledAt": 1558531915505, "deletedAt": 1558531915505, "deleteRequestedAt": 1558531915505}, {"integration": {"name": "", "icon": "", "category": "", "isLegacy": false}, "completedAt": 1558531915505, "createdAt": 1558531915505, "id": "icfg_3bwCLgxL8qt5kjRLcv2Dit7F", "integrationId": "oac_xzpVzcUOgcB1nrVlirtKhbWV", "ownerId": "kr1PsOIzqEL5Xg6M4VZcZosf", "projects": ["prj_xQxbutw1HpL6HLYPAzt5h75m8NjO"], "source": "marketplace", "slug": "slack", "teamId": "team_nLlpyC6RE1qxydlFKbrxDlud", "type": "integration-configuration", "updatedAt": 1558531915505, "userId": "kr1PsOIzqEL5Xg6M4VZcZosf", "scopes": ["read:project", "read-write:log-drain"], "disabledAt": 1558531915505, "deletedAt": 1558531915505, "deleteRequestedAt": 1558531915505}] + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} getConfiguration: speakeasy-default-get-configuration: parameters: @@ -3605,12 +4176,25 @@ examples: responses: "200": application/json: {"completedAt": 1558531915505, "createdAt": 1558531915505, "id": "icfg_3bwCLgxL8qt5kjRLcv2Dit7F", "integrationId": "oac_xzpVzcUOgcB1nrVlirtKhbWV", "ownerId": "kr1PsOIzqEL5Xg6M4VZcZosf", "projects": ["prj_xQxbutw1HpL6HLYPAzt5h75m8NjO"], "source": "marketplace", "slug": "slack", "teamId": "team_nLlpyC6RE1qxydlFKbrxDlud", "type": "integration-configuration", "updatedAt": 1558531915505, "userId": "kr1PsOIzqEL5Xg6M4VZcZosf", "scopes": ["read:project", "read-write:log-drain"], "disabledAt": 1558531915505, "deletedAt": 1558531915505, "deleteRequestedAt": 1558531915505} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} deleteConfiguration: speakeasy-default-delete-configuration: parameters: path: id: "" query: {} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} gitNamespaces: speakeasy-default-git-namespaces: parameters: @@ -3619,21 +4203,40 @@ examples: responses: "200": application/json: [{"provider": "", "slug": "", "id": "8350.19", "ownerType": ""}, {"provider": "", "slug": "", "id": "4647.99", "ownerType": ""}] + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} searchRepo: speakeasy-default-search-repo: parameters: query: host: "ghes-test.now.systems" + responses: + "200": + application/json: {} + "400": + application/json: {} listAuthTokens: speakeasy-default-list-auth-tokens: responses: "200": application/json: {"tokens": [{"id": "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", "name": "", "type": "oauth2-token", "origin": "github", "expiresAt": 1632816536002, "activeAt": 1632816536002, "createdAt": 1632816536002}, {"id": "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", "name": "", "type": "oauth2-token", "origin": "github", "expiresAt": 1632816536002, "activeAt": 1632816536002, "createdAt": 1632816536002}, {"id": "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", "name": "", "type": "oauth2-token", "origin": "github", "expiresAt": 1632816536002, "activeAt": 1632816536002, "createdAt": 1632816536002}], "testingToken": {"id": "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", "name": "", "type": "oauth2-token", "origin": "github", "expiresAt": 1632816536002, "activeAt": 1632816536002, "createdAt": 1632816536002}, "pagination": {"count": 20, "next": 1540095775951, "prev": 1540095775951}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} createAuthToken: speakeasy-default-create-auth-token: + requestBody: + application/json: {"name": ""} responses: "200": application/json: {"token": {"id": "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", "name": "", "type": "oauth2-token", "origin": "github", "expiresAt": 1632816536002, "activeAt": 1632816536002, "createdAt": 1632816536002}, "bearerToken": "uRKJSTt0L4RaSkiMj41QTkxM"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} getAuthToken: speakeasy-default-get-auth-token: parameters: @@ -3642,6 +4245,12 @@ examples: responses: "200": application/json: {"token": {"id": "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", "name": "", "type": "oauth2-token", "origin": "github", "expiresAt": 1632816536002, "activeAt": 1632816536002, "createdAt": 1632816536002}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} deleteAuthToken: speakeasy-default-delete-auth-token: parameters: @@ -3650,11 +4259,21 @@ examples: responses: "200": application/json: {"tokenId": "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getIntegrationLogDrains: speakeasy-default-get-integration-log-drains: responses: "200": application/json: [] + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} createLogDrain: speakeasy-default-create-log-drain: requestBody: @@ -3662,12 +4281,23 @@ examples: responses: "200": application/json: {"clientId": "oac_xRhY4LAB7yLhUADD69EvV7ct", "configurationId": "icfg_cuwj0AdCdH3BwWT4LPijCC7t", "createdAt": 1558531915505, "id": "ld_nBuA7zCID8g4QZ8g", "deliveryFormat": "json", "name": "My first log drain", "ownerId": "kr1PsOIzqEL5Xg6M4VZcZosf", "projectId": "AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb", "projectIds": ["AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb"], "url": "https://example.com/log-drain", "sources": ["external"], "createdFrom": "integration", "headers": {"0": "{", "1": "\"", "2": "A", "3": "u", "4": "t", "5": "h", "6": "o", "7": "r", "8": "i", "9": "z", "10": "a", "11": "t", "12": "i", "13": "o", "14": "n", "15": "\"", "16": ":", "17": " ", "18": "\"", "19": "B", "20": "e", "21": "a", "22": "r", "23": "e", "24": "r", "25": " ", "26": "1", "27": "2", "28": "3", "29": "\"", "30": "}"}, "environments": ["production"], "branch": "feature/*", "samplingRate": 0.5} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} deleteIntegrationLogDrain: speakeasy-default-delete-integration-log-drain: parameters: path: id: "" query: {} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getConfigurableLogDrain: speakeasy-default-get-configurable-log-drain: parameters: @@ -3677,17 +4307,34 @@ examples: responses: "200": application/json: {"id": "", "deliveryFormat": "json", "url": "https://pleasant-beret.com/", "name": "", "ownerId": "", "createdAt": "9979.70", "deletedAt": "2589.89", "updatedAt": "1929.64", "environments": ["production", "production"], "secret": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} deleteConfigurableLogDrain: speakeasy-default-delete-configurable-log-drain: parameters: path: id: "" query: {} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getAllLogDrains: speakeasy-default-get-all-log-drains: responses: "200": application/json: [{"id": "", "deliveryFormat": "json", "url": "https://perfumed-director.net/", "name": "", "ownerId": "", "createdAt": "5878.41", "deletedAt": "1366.34", "updatedAt": "8559.11", "environments": ["production"]}] + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} createConfigurableLogDrain: speakeasy-default-create-configurable-log-drain: requestBody: @@ -3695,6 +4342,10 @@ examples: responses: "200": application/json: {"id": "", "deliveryFormat": "json", "url": "https://close-dividend.biz", "name": "", "ownerId": "", "createdAt": "911.21", "deletedAt": "5254.68", "updatedAt": "3248.86", "environments": ["preview", "production"]} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} getProjectMembers: speakeasy-default-get-project-members: parameters: @@ -3707,6 +4358,10 @@ examples: responses: "200": application/json: {"members": [{"avatar": "123a6c5209bc3778245d011443644c8d27dc2c50", "email": "jane.doe@example.com", "role": "ADMIN", "computedProjectRole": "ADMIN", "uid": "zTuNVUXEAvvnNN3IaqinkyMw", "username": "jane-doe", "name": "Jane Doe", "createdAt": 1588720733602, "teamRole": "CONTRIBUTOR"}], "pagination": {"hasNext": false, "count": 20, "next": 1540095775951, "prev": 1540095775951}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} addProjectMember: speakeasy-default-add-project-member: parameters: @@ -3718,6 +4373,10 @@ examples: responses: "200": application/json: {"id": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} removeProjectMember: speakeasy-default-remove-project-member: parameters: @@ -3728,24 +4387,55 @@ examples: responses: "200": application/json: {"id": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} updateAttackChallengeMode: speakeasy-default-update-attack-challenge-mode: + requestBody: + application/json: {"projectId": "", "attackModeEnabled": true} responses: "200": application/json: {"attackModeEnabled": true, "attackModeUpdatedAt": "4536.22"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} putFirewallConfig: speakeasy-default-put-firewall-config: parameters: query: projectId: "" + requestBody: + application/json: {"firewallEnabled": true} responses: "200": - application/json: {"active": {"ownerId": "", "projectKey": "", "id": "", "version": "4570.86", "updatedAt": "", "firewallEnabled": true, "crs": {"sd": {"active": false, "action": "deny"}, "ma": {"active": false, "action": "log"}, "lfi": {"active": false, "action": "log"}, "rfi": {"active": false, "action": "deny"}, "rce": {"active": false, "action": "deny"}, "php": {"active": true, "action": "deny"}, "gen": {"active": false, "action": "deny"}, "xss": {"active": false, "action": "deny"}, "sqli": {"active": true, "action": "log"}, "sf": {"active": true, "action": "deny"}, "java": {"active": true, "action": "log"}}, "rules": [{"id": "", "name": "", "active": true, "conditionGroup": [{"conditions": [{"type": "ip_address", "op": "suf"}, {"type": "geo_as_number", "op": "pre"}, {"type": "ja3_digest", "op": "inc"}]}, {"conditions": [{"type": "geo_as_number", "op": "neq"}, {"type": "protocol", "op": "sub"}, {"type": "ja3_digest", "op": "suf"}]}, {"conditions": [{"type": "region", "op": "neq"}]}]}, {"id": "", "name": "", "active": false, "conditionGroup": []}, {"id": "", "name": "", "active": false, "conditionGroup": [{"conditions": [{"type": "scheme", "op": "neq"}]}, {"conditions": []}, {"conditions": [{"type": "header", "op": "inc"}, {"type": "query", "op": "eq"}]}]}], "ips": []}} + application/json: {"active": {"ownerId": "", "projectKey": "", "id": "", "version": "4570.86", "updatedAt": "", "firewallEnabled": true, "crs": {"sd": {"active": false, "action": "deny"}, "ma": {"active": false, "action": "log"}, "lfi": {"active": false, "action": "log"}, "rfi": {"active": false, "action": "deny"}, "rce": {"active": false, "action": "deny"}, "php": {"active": true, "action": "deny"}, "gen": {"active": false, "action": "deny"}, "xss": {"active": false, "action": "deny"}, "sqli": {"active": true, "action": "log"}, "sf": {"active": true, "action": "deny"}, "java": {"active": true, "action": "log"}}, "rules": [{"id": "", "name": "", "active": true, "conditionGroup": [{"conditions": [{"type": "ip_address", "op": "suf"}, {"type": "geo_as_number", "op": "pre"}, {"type": "ja3_digest", "op": "inc"}]}, {"conditions": [{"type": "geo_as_number", "op": "neq"}, {"type": "protocol", "op": "sub"}, {"type": "ja3_digest", "op": "suf"}]}, {"conditions": [{"type": "region", "op": "neq"}]}]}, {"id": "", "name": "", "active": false, "conditionGroup": []}, {"id": "", "name": "", "active": false, "conditionGroup": [{"conditions": [{"type": "scheme", "op": "neq"}]}, {"conditions": []}, {"conditions": [{"type": "header", "op": "inc"}, {"type": "query", "op": "eq"}]}]}], "ips": [], "changes": []}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} updateFirewallConfig: speakeasy-default-update-firewall-config: parameters: query: projectId: "" + requestBody: + application/json: {"action": "ip.remove", "id": ""} + responses: + "200": + application/json: {} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getFirewallConfig: speakeasy-default-get-firewall-config: parameters: @@ -3756,6 +4446,12 @@ examples: responses: "200": application/json: {"ownerId": "", "projectKey": "", "id": "", "version": "228.91", "updatedAt": "", "firewallEnabled": true, "crs": {"sd": {"active": false, "action": "deny"}, "ma": {"active": true, "action": "log"}, "lfi": {"active": false, "action": "log"}, "rfi": {"active": false, "action": "deny"}, "rce": {"active": true, "action": "deny"}, "php": {"active": false, "action": "log"}, "gen": {"active": false, "action": "log"}, "xss": {"active": true, "action": "deny"}, "sqli": {"active": true, "action": "deny"}, "sf": {"active": true, "action": "deny"}, "java": {"active": true, "action": "deny"}}, "rules": [{"id": "", "name": "", "active": true, "conditionGroup": [{"conditions": [{"type": "ip_address", "op": "eq"}]}, {"conditions": [{"type": "geo_city", "op": "ex"}, {"type": "ja4_digest", "op": "nex"}, {"type": "ip_address", "op": "lte"}]}]}], "ips": [{"id": "", "hostname": "puny-goat.org", "ip": "0.147.40.42", "action": "challenge"}], "changes": []} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getTeamMembers: speakeasy-default-get-team-members: parameters: @@ -3769,6 +4465,12 @@ examples: responses: "200": application/json: {"members": [{"avatar": "123a6c5209bc3778245d011443644c8d27dc2c50", "confirmed": true, "email": "jane.doe@example.com", "role": "OWNER", "uid": "zTuNVUXEAvvnNN3IaqinkyMw", "username": "jane-doe", "name": "Jane Doe", "createdAt": 1588720733602, "accessRequestedAt": 1588820733602}, {"avatar": "123a6c5209bc3778245d011443644c8d27dc2c50", "confirmed": true, "email": "jane.doe@example.com", "role": "OWNER", "uid": "zTuNVUXEAvvnNN3IaqinkyMw", "username": "jane-doe", "name": "Jane Doe", "createdAt": 1588720733602, "accessRequestedAt": 1588820733602}], "pagination": {"hasNext": true, "count": 20, "next": 1540095775951, "prev": 1540095775951}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} inviteUserToTeam: speakeasy-default-invite-user-to-team: parameters: @@ -3779,6 +4481,12 @@ examples: responses: "200": application/json: {"uid": "kr1PsOIzqEL5Xg6M4VZcZosf", "username": "john-doe", "email": "john@user.co", "role": "MEMBER"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} requestAccessToTeam: speakeasy-default-request-access-to-team: parameters: @@ -3789,6 +4497,12 @@ examples: responses: "200": application/json: {"teamSlug": "", "teamName": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getTeamAccessRequest: speakeasy-default-get-team-access-request: parameters: @@ -3798,6 +4512,12 @@ examples: responses: "200": application/json: {"teamSlug": "my-team", "teamName": "My Team", "confirmed": false, "joinedFrom": {"origin": "import"}, "accessRequestedAt": 1588720733602} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} joinTeam: speakeasy-default-join-team: parameters: @@ -3808,6 +4528,12 @@ examples: responses: "200": application/json: {"teamId": "team_LLHUOMOoDlqOp8wPE4kFo9pE", "slug": "my-team", "name": "My Team", "from": "email"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} updateTeamMember: speakeasy-default-update-team-member: parameters: @@ -3819,6 +4545,12 @@ examples: responses: "200": application/json: {"id": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} removeTeamMember: speakeasy-default-remove-team-member: parameters: @@ -3830,6 +4562,12 @@ examples: responses: "200": application/json: {"id": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getTeam: speakeasy-default-get-team: parameters: @@ -3839,6 +4577,12 @@ examples: responses: "200": application/json: {} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} patchTeam: speakeasy-default-patch-team: parameters: @@ -3850,6 +4594,12 @@ examples: responses: "200": application/json: {} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getTeams: speakeasy-default-get-teams: parameters: @@ -3860,6 +4610,10 @@ examples: responses: "200": application/json: {"teams": [{}, {}], "pagination": {"count": 20, "next": 1540095775951, "prev": 1540095775951}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} createTeam: speakeasy-default-create-team: requestBody: @@ -3867,6 +4621,10 @@ examples: responses: "200": application/json: {"id": "team_nLlpyC6RE1qxqglFKbrMxlud", "slug": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} deleteTeam: speakeasy-default-delete-team: parameters: @@ -3877,6 +4635,12 @@ examples: responses: "200": application/json: {"id": "team_LLHUOMOoDlqOp8wPE4kFo9pE", "newDefaultTeamIdError": true} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} deleteTeamInviteCode: speakeasy-default-delete-team-invite-code: parameters: @@ -3886,16 +4650,32 @@ examples: responses: "200": application/json: {"id": ""} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} createWebhook: speakeasy-default-create-webhook: + requestBody: + application/json: {"url": "https://woeful-yin.biz", "events": []} responses: "200": application/json: {"secret": "", "events": ["deployment.created"], "id": "account_hook_GflD6EYyo7F4ViYS", "url": "https://my-webhook.com", "ownerId": "ZspSRT4ljIEEmMHgoDwKWDei", "createdAt": 1567024758130, "updatedAt": 1567024758130, "projectIds": ["prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB"]} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} getWebhooks: speakeasy-default-get-webhooks: responses: "200": application/json: [{"projectsMetadata": [{"id": "", "name": ""}, {"id": "", "name": ""}, {"id": "", "name": ""}], "events": ["deployment.created"], "id": "account_hook_GflD6EYyo7F4ViYS", "url": "https://my-webhook.com", "ownerId": "ZspSRT4ljIEEmMHgoDwKWDei", "createdAt": 1567024758130, "updatedAt": 1567024758130, "projectIds": ["prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB"]}, {"projectsMetadata": [{"id": "", "name": ""}], "events": ["deployment.created"], "id": "account_hook_GflD6EYyo7F4ViYS", "url": "https://my-webhook.com", "ownerId": "ZspSRT4ljIEEmMHgoDwKWDei", "createdAt": 1567024758130, "updatedAt": 1567024758130, "projectIds": ["prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB"]}, {"projectsMetadata": [{"id": "", "name": ""}], "events": ["deployment.created"], "id": "account_hook_GflD6EYyo7F4ViYS", "url": "https://my-webhook.com", "ownerId": "ZspSRT4ljIEEmMHgoDwKWDei", "createdAt": 1567024758130, "updatedAt": 1567024758130, "projectIds": ["prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB"]}] + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} getWebhook: speakeasy-default-get-webhook: parameters: @@ -3905,12 +4685,21 @@ examples: responses: "200": application/json: {"events": ["deployment.created"], "id": "account_hook_GflD6EYyo7F4ViYS", "url": "https://my-webhook.com", "ownerId": "ZspSRT4ljIEEmMHgoDwKWDei", "createdAt": 1567024758130, "updatedAt": 1567024758130, "projectIds": ["prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB"]} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} deleteWebhook: speakeasy-default-delete-webhook: parameters: path: id: "" query: {} + responses: + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} listAliases: speakeasy-default-list-aliases: parameters: @@ -3925,6 +4714,12 @@ examples: responses: "200": application/json: {"aliases": [], "pagination": {"count": 20, "next": 1540095775951, "prev": 1540095775951}} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getAlias: speakeasy-default-get-alias: parameters: @@ -3938,6 +4733,12 @@ examples: responses: "200": application/json: {"alias": "my-alias.vercel.app", "created": "2017-04-26T23:00:34.232Z", "createdAt": 1540095775941, "creator": {"uid": "96SnxkFiMyVKsK3pnoHfx3Hz", "email": "john-doe@gmail.com", "username": "john-doe"}, "deletedAt": 1540095775941, "deployment": {"id": "dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx", "url": "my-instant-deployment-3ij3cxz9qr.now.sh", "meta": "{}"}, "deploymentId": "dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx", "projectId": "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB", "uid": "", "updatedAt": 1540095775941} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} deleteAlias: speakeasy-default-delete-alias: parameters: @@ -3947,6 +4748,12 @@ examples: responses: "200": application/json: {"status": "SUCCESS"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} listDeploymentAliases: speakeasy-default-list-deployment-aliases: parameters: @@ -3956,6 +4763,12 @@ examples: responses: "200": application/json: {"aliases": []} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} assignAlias: speakeasy-default-assign-alias: parameters: @@ -3967,6 +4780,12 @@ examples: responses: "200": application/json: {"uid": "2WjyKQmM8ZnGcJsPWMrHRHrE", "alias": "my-alias.vercel.app", "created": "2017-04-26T23:00:34.232Z", "oldDeploymentId": "dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa"} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} getCertById: speakeasy-default-get-cert-by-id: parameters: @@ -3976,20 +4795,47 @@ examples: responses: "200": application/json: {"id": "", "createdAt": "227.13", "expiresAt": "3995.77", "autoRenew": false, "cns": [""]} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} removeCert: speakeasy-default-remove-cert: parameters: path: id: "" query: {} + responses: + "200": + application/json: {} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} issueCert: speakeasy-default-issue-cert: responses: "200": application/json: {"id": "", "createdAt": "1842.08", "expiresAt": "8685.41", "autoRenew": true, "cns": []} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} + "404": + application/json: {} uploadCert: speakeasy-default-upload-cert: + requestBody: + application/json: {"ca": "", "key": "", "cert": ""} responses: "200": application/json: {"id": "", "createdAt": "9219.92", "expiresAt": "5530.55", "autoRenew": true, "cns": ["", ""]} + "400": + application/json: {} + "401": + application/json: {"error": {"message": ""}} generatedTests: {} diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index f8d15d75..f774aebe 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -16,7 +16,7 @@ generation: oAuth2ClientCredentialsEnabled: false oAuth2PasswordEnabled: false typescript: - version: 1.1.0 + version: 1.2.0 additionalDependencies: dependencies: {} devDependencies: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index a91747ba..ef6406b4 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.445.2 +speakeasyVersion: 1.456.0 sources: vercel-OAS: sourceNamespace: vercel-oas - sourceRevisionDigest: sha256:3c1e85cab336c0235a040fd11e8ab4d2b9c08476bf8d72a7e3a015be87feca9a - sourceBlobDigest: sha256:46f762ba4155cb91aa2073e556643914a6812716da541f1f35581e3a0647e4bf + sourceRevisionDigest: sha256:c7348ff56305ab2f7e9365158f186a14d9d38df3069bf7fb3f272ed2338452ff + sourceBlobDigest: sha256:8e5405c9babf34e8d5d5af47d77d0531db9a7706e7ce134ef7066c1211646721 tags: - latest - - speakeasy-sdk-regen-1733427270 + - speakeasy-sdk-regen-1734555116 - 0.0.1 targets: vercel: source: vercel-OAS sourceNamespace: vercel-oas - sourceRevisionDigest: sha256:3c1e85cab336c0235a040fd11e8ab4d2b9c08476bf8d72a7e3a015be87feca9a - sourceBlobDigest: sha256:46f762ba4155cb91aa2073e556643914a6812716da541f1f35581e3a0647e4bf + sourceRevisionDigest: sha256:c7348ff56305ab2f7e9365158f186a14d9d38df3069bf7fb3f272ed2338452ff + sourceBlobDigest: sha256:8e5405c9babf34e8d5d5af47d77d0531db9a7706e7ce134ef7066c1211646721 codeSamplesNamespace: vercel-oas-typescript-code-samples - codeSamplesRevisionDigest: sha256:0d896b6ff46b215e21e7920c6467936bb0280fa8c8887376d1411cfbc9fb8253 + codeSamplesRevisionDigest: sha256:e0836b9c86412a333a623eb30ba145ae8a0aa0b243ab4d314a3f4caf4591bc30 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/FUNCTIONS.md b/FUNCTIONS.md index 7beabb6f..3e93e096 100644 --- a/FUNCTIONS.md +++ b/FUNCTIONS.md @@ -21,7 +21,7 @@ specific category of applications. ```typescript import { VercelCore } from "@vercel/sdk/core.js"; import { projectsUpdateProject } from "@vercel/sdk/funcs/projectsUpdateProject.js"; -import { SDKValidationError } from "@vercel/sdk/models/errors/sdkvalidationerror.js"; +import { SDKValidationError } from "@vercel/sdk/models/sdkvalidationerror.js"; // Use `VercelCore` for best tree-shaking performance. // You can create one instance of it to use across an application. diff --git a/README.md b/README.md index daa65152..dbb3d4e1 100644 --- a/README.md +++ b/README.md @@ -23,19 +23,25 @@ The `@vercel/sdk` is a type-safe Typescript SDK that gives you full control over ## Table of Contents + +* [@vercel/sdk](#vercelsdk) + * [SDK Installation](#sdk-installation) + * [Requirements](#requirements) + * [Access Tokens](#access-tokens) + * [Authentication](#authentication) + * [SDK Example Usage](#sdk-example-usage) + * [Available Resources and Operations](#available-resources-and-operations) + * [Standalone functions](#standalone-functions) + * [File uploads](#file-uploads) + * [Retries](#retries) + * [Error Handling](#error-handling) + * [Server Selection](#server-selection) + * [Custom HTTP Client](#custom-http-client) + * [Debugging](#debugging) +* [Development](#development) + * [Maturity](#maturity) + * [Contributions](#contributions) -* [SDK Installation](#sdk-installation) -* [Requirements](#requirements) -* [SDK Example Usage](#sdk-example-usage) -* [Available Resources and Operations](#available-resources-and-operations) -* [Standalone functions](#standalone-functions) -* [File uploads](#file-uploads) -* [Retries](#retries) -* [Error Handling](#error-handling) -* [Server Selection](#server-selection) -* [Custom HTTP Client](#custom-http-client) -* [Authentication](#authentication) -* [Debugging](#debugging) @@ -572,6 +578,7 @@ Certain SDK methods accept files as part of a multi-part request. It is possible ```typescript import { Vercel } from "@vercel/sdk"; +import { openAsBlob } from "node:fs"; const vercel = new Vercel({ bearerToken: "", @@ -585,6 +592,7 @@ async function run() { xArtifactClientInteractive: 0, xArtifactTag: "Tc0BmHvJYMIYJ62/zx87YqO0Flxk+5Ovip25NY825CQ=", hash: "12HKQaOmR5t5Uy6vdcQsNIiZgHGB", + requestBody: await openAsBlob("example.file"), }); // Handle the result @@ -668,27 +676,23 @@ run(); ## Error Handling -All SDK methods return a response object or throw an error. By default, an API error will throw a `errors.SDKError`. +Some methods specify known errors which can be thrown. All the known errors are enumerated in the `models/errors.ts` module. The known errors for a method are documented under the *Errors* tables in SDK docs. For example, the `readAccessGroup` method may throw the following errors: -If a HTTP request fails, an operation my also throw an error from the `models/errors/httpclienterrors.ts` module: +| Error Type | Status Code | Content Type | +| ---------------------------- | ----------- | ---------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | -| HTTP Client Error | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | -| RequestAbortedError | HTTP request was aborted by the client | -| RequestTimeoutError | HTTP request timed out due to an AbortSignal signal | -| ConnectionError | HTTP client was unable to make a request to a server | -| InvalidRequestError | Any input used to create a request is invalid | -| UnexpectedClientError | Unrecognised or unexpected error | - -In addition, when custom error responses are specified for an operation, the SDK may throw their associated Error type. You can refer to respective *Errors* tables in SDK docs for more details on possible error types for each operation. For example, the `readAccessGroup` method may throw the following errors: - -| Error Type | Status Code | Content Type | -| --------------- | ----------- | ------------ | -| errors.SDKError | 4XX, 5XX | \*/\* | +If the method throws an error and it is not captured by the known errors, it will default to throwing a `SDKError`. ```typescript import { Vercel } from "@vercel/sdk"; -import { SDKValidationError } from "@vercel/sdk/models/errors/sdkvalidationerror.js"; +import { SDKValidationError } from "@vercel/sdk/models/sdkvalidationerror.js"; +import { VercelBadRequestError } from "@vercel/sdk/models/vercelbadrequesterror.js"; +import { VercelForbiddenError } from "@vercel/sdk/models/vercelforbiddenerror.js"; +import { VercelNotFoundError } from "@vercel/sdk/models/vercelnotfounderror.js"; const vercel = new Vercel({ bearerToken: "", @@ -705,14 +709,31 @@ async function run() { console.log(result); } catch (err) { switch (true) { + // The server response does not match the expected SDK schema case (err instanceof SDKValidationError): { - // Validation errors can be pretty-printed + // Pretty-print will provide a human-readable multi-line error message console.error(err.pretty()); // Raw value may also be inspected console.error(err.rawValue); return; } + case (err instanceof VercelBadRequestError): { + // Handle err.data$: VercelBadRequestErrorData + console.error(err); + return; + } + case (err instanceof VercelForbiddenError): { + // Handle err.data$: VercelForbiddenErrorData + console.error(err); + return; + } + case (err instanceof VercelNotFoundError): { + // Handle err.data$: VercelNotFoundErrorData + console.error(err); + return; + } default: { + // Other errors such as network errors, see HTTPClientErrors for more details throw err; } } @@ -723,7 +744,17 @@ run(); ``` -Validation errors can also occur when either method arguments or data returned from the server do not match the expected format. The `SDKValidationError` that is thrown as a result will capture the raw value that failed validation in an attribute called `rawValue`. Additionally, a `pretty()` method is available on this error that can be used to log a nicely formatted string since validation errors can list many issues and the plain error string may be difficult read when debugging. +Validation errors can also occur when either method arguments or data returned from the server do not match the expected format. The `SDKValidationError` that is thrown as a result will capture the raw value that failed validation in an attribute called `rawValue`. Additionally, a `pretty()` method is available on this error that can be used to log a nicely formatted multi-line string since validation errors can list many issues and the plain error string may be difficult read when debugging. + +In some rare cases, the SDK can fail to get a response from the server or even make the request due to unexpected circumstances such as network conditions. These types of errors are captured in the `models/httpclienterrors.ts` module: + +| HTTP Client Error | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | +| RequestAbortedError | HTTP request was aborted by the client | +| RequestTimeoutError | HTTP request timed out due to an AbortSignal signal | +| ConnectionError | HTTP client was unable to make a request to a server | +| InvalidRequestError | Any input used to create a request is invalid | +| UnexpectedClientError | Unrecognised or unexpected error | diff --git a/RELEASES.md b/RELEASES.md index f5aee5ab..7b3f7fd2 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -88,4 +88,14 @@ Based on: ### Generated - [typescript v1.1.0] . ### Releases -- [NPM v1.1.0] https://www.npmjs.com/package/@vercel/sdk/v/1.1.0 - . \ No newline at end of file +- [NPM v1.1.0] https://www.npmjs.com/package/@vercel/sdk/v/1.1.0 - . + +## 2024-12-18 20:51:51 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.456.0 (2.481.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v1.2.0] . +### Releases +- [NPM v1.2.0] https://www.npmjs.com/package/@vercel/sdk/v/1.2.0 - . \ No newline at end of file diff --git a/docs/models/acceptedchallenges.md b/docs/models/acceptedchallenges.md new file mode 100644 index 00000000..af337273 --- /dev/null +++ b/docs/models/acceptedchallenges.md @@ -0,0 +1,17 @@ +# AcceptedChallenges + +Which challenge types the domain can use for issuing certs. + +## Example Usage + +```typescript +import { AcceptedChallenges } from "@vercel/sdk/models/getdomainconfigop.js"; + +let value: AcceptedChallenges = "http-01"; +``` + +## Values + +```typescript +"dns-01" | "http-01" +``` \ No newline at end of file diff --git a/docs/models/access.md b/docs/models/access.md new file mode 100644 index 00000000..a74f5362 --- /dev/null +++ b/docs/models/access.md @@ -0,0 +1,15 @@ +# Access + +## Example Usage + +```typescript +import { Access } from "@vercel/sdk/models/getaliasop.js"; + +let value: Access = "granted"; +``` + +## Values + +```typescript +"requested" | "granted" +``` \ No newline at end of file diff --git a/docs/models/operations/accessgroups.md b/docs/models/accessgroups.md similarity index 98% rename from docs/models/operations/accessgroups.md rename to docs/models/accessgroups.md index dc8fb7a2..53a3a823 100644 --- a/docs/models/operations/accessgroups.md +++ b/docs/models/accessgroups.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { AccessGroups } from "@vercel/sdk/models/operations/listaccessgroups.js"; +import { AccessGroups } from "@vercel/sdk/models/listaccessgroupsop.js"; let value: AccessGroups = { isDsyncManaged: false, diff --git a/docs/models/aclaction.md b/docs/models/aclaction.md new file mode 100644 index 00000000..8b06a127 --- /dev/null +++ b/docs/models/aclaction.md @@ -0,0 +1,17 @@ +# ACLAction + +Enum containing the actions that can be performed against a resource. Group operations are included. + +## Example Usage + +```typescript +import { ACLAction } from "@vercel/sdk/models/aclaction.js"; + +let value: ACLAction = "update"; +``` + +## Values + +```typescript +"create" | "delete" | "read" | "update" | "list" +``` \ No newline at end of file diff --git a/docs/models/action.md b/docs/models/action.md new file mode 100644 index 00000000..b1ae29ff --- /dev/null +++ b/docs/models/action.md @@ -0,0 +1,15 @@ +# Action + +## Example Usage + +```typescript +import { Action } from "@vercel/sdk/models/updateinvoiceop.js"; + +let value: Action = "refund"; +``` + +## Values + +```typescript +"refund" +``` \ No newline at end of file diff --git a/docs/models/action1.md b/docs/models/action1.md new file mode 100644 index 00000000..b9c17d54 --- /dev/null +++ b/docs/models/action1.md @@ -0,0 +1,15 @@ +# Action1 + +## Example Usage + +```typescript +import { Action1 } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Action1 = "rate_limit"; +``` + +## Values + +```typescript +"log" | "challenge" | "deny" | "rate_limit" +``` \ No newline at end of file diff --git a/docs/models/active.md b/docs/models/active.md new file mode 100644 index 00000000..c9079a59 --- /dev/null +++ b/docs/models/active.md @@ -0,0 +1,107 @@ +# Active + +## Example Usage + +```typescript +import { Active } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Active = { + ownerId: "", + projectKey: "", + id: "", + version: 8948.70, + updatedAt: "", + firewallEnabled: false, + crs: { + sd: { + active: false, + action: "deny", + }, + ma: { + active: false, + action: "deny", + }, + lfi: { + active: false, + action: "log", + }, + rfi: { + active: false, + action: "deny", + }, + rce: { + active: false, + action: "deny", + }, + php: { + active: false, + action: "log", + }, + gen: { + active: false, + action: "log", + }, + xss: { + active: false, + action: "deny", + }, + sqli: { + active: false, + action: "log", + }, + sf: { + active: false, + action: "log", + }, + java: { + active: false, + action: "log", + }, + }, + rules: [ + { + id: "", + name: "", + active: false, + conditionGroup: [ + { + conditions: [ + { + type: "target_path", + op: "gte", + }, + ], + }, + ], + action: {}, + }, + ], + ips: [ + { + id: "", + hostname: "outlying-tennis.com", + ip: "b07f:af97:ccfb:e92c:d9eb:dcc2:f5fb:a5f2", + action: "bypass", + }, + ], + changes: [ + {}, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `projectKey` | *string* | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `version` | *number* | :heavy_check_mark: | N/A | +| `updatedAt` | *string* | :heavy_check_mark: | N/A | +| `firewallEnabled` | *boolean* | :heavy_check_mark: | N/A | +| `crs` | [models.PutFirewallConfigCrs](../models/putfirewallconfigcrs.md) | :heavy_check_mark: | Custom Ruleset | +| `rules` | [models.PutFirewallConfigRules](../models/putfirewallconfigrules.md)[] | :heavy_check_mark: | N/A | +| `ips` | [models.PutFirewallConfigIps](../models/putfirewallconfigips.md)[] | :heavy_check_mark: | N/A | +| `changes` | [models.PutFirewallConfigChanges](../models/putfirewallconfigchanges.md)[] | :heavy_check_mark: | N/A | +| `managedRules` | [models.PutFirewallConfigManagedRules](../models/putfirewallconfigmanagedrules.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/activedashboardviews.md b/docs/models/activedashboardviews.md new file mode 100644 index 00000000..6434e84c --- /dev/null +++ b/docs/models/activedashboardviews.md @@ -0,0 +1,22 @@ +# ActiveDashboardViews + +set of dashboard view preferences (cards or list) per scopeId + +## Example Usage + +```typescript +import { ActiveDashboardViews } from "@vercel/sdk/models/authuser.js"; + +let value: ActiveDashboardViews = { + scopeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `scopeId` | *string* | :heavy_check_mark: | N/A | +| `viewPreference` | [models.ViewPreference](../models/viewpreference.md) | :heavy_minus_sign: | N/A | +| `favoritesViewPreference` | [models.FavoritesViewPreference](../models/favoritesviewpreference.md) | :heavy_minus_sign: | N/A | +| `recentsViewPreference` | [models.RecentsViewPreference](../models/recentsviewpreference.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addprojectdomainredirectstatuscode.md b/docs/models/addprojectdomainredirectstatuscode.md similarity index 87% rename from docs/models/operations/addprojectdomainredirectstatuscode.md rename to docs/models/addprojectdomainredirectstatuscode.md index 4956884f..8c643714 100644 --- a/docs/models/operations/addprojectdomainredirectstatuscode.md +++ b/docs/models/addprojectdomainredirectstatuscode.md @@ -5,7 +5,7 @@ Status code for domain redirect ## Example Usage ```typescript -import { AddProjectDomainRedirectStatusCode } from "@vercel/sdk/models/operations/addprojectdomain.js"; +import { AddProjectDomainRedirectStatusCode } from "@vercel/sdk/models/addprojectdomainop.js"; let value: AddProjectDomainRedirectStatusCode = 307; ``` diff --git a/docs/models/addprojectdomainrequest.md b/docs/models/addprojectdomainrequest.md new file mode 100644 index 00000000..daaef2b5 --- /dev/null +++ b/docs/models/addprojectdomainrequest.md @@ -0,0 +1,26 @@ +# AddProjectDomainRequest + +## Example Usage + +```typescript +import { AddProjectDomainRequest } from "@vercel/sdk/models/addprojectdomainop.js"; + +let value: AddProjectDomainRequest = { + idOrName: "", + requestBody: { + name: "www.example.com", + gitBranch: null, + redirect: "foobar.com", + redirectStatusCode: 307, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.AddProjectDomainRequestBody](../models/addprojectdomainrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/addprojectdomainrequestbody.md b/docs/models/addprojectdomainrequestbody.md new file mode 100644 index 00000000..26bce450 --- /dev/null +++ b/docs/models/addprojectdomainrequestbody.md @@ -0,0 +1,23 @@ +# AddProjectDomainRequestBody + +## Example Usage + +```typescript +import { AddProjectDomainRequestBody } from "@vercel/sdk/models/addprojectdomainop.js"; + +let value: AddProjectDomainRequestBody = { + name: "www.example.com", + gitBranch: null, + redirect: "foobar.com", + redirectStatusCode: 307, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The project domain name | www.example.com | +| `gitBranch` | *string* | :heavy_minus_sign: | Git branch to link the project domain | | +| `redirect` | *string* | :heavy_minus_sign: | Target destination domain for redirect | foobar.com | +| `redirectStatusCode` | [models.AddProjectDomainRedirectStatusCode](../models/addprojectdomainredirectstatuscode.md) | :heavy_minus_sign: | Status code for domain redirect | 307 | \ No newline at end of file diff --git a/docs/models/operations/addprojectdomainresponsebody.md b/docs/models/addprojectdomainresponsebody.md similarity index 98% rename from docs/models/operations/addprojectdomainresponsebody.md rename to docs/models/addprojectdomainresponsebody.md index b3760d15..ec22d285 100644 --- a/docs/models/operations/addprojectdomainresponsebody.md +++ b/docs/models/addprojectdomainresponsebody.md @@ -5,7 +5,7 @@ The domain was successfully added to the project ## Example Usage ```typescript -import { AddProjectDomainResponseBody } from "@vercel/sdk/models/operations/addprojectdomain.js"; +import { AddProjectDomainResponseBody } from "@vercel/sdk/models/addprojectdomainop.js"; let value: AddProjectDomainResponseBody = { name: "", @@ -29,4 +29,4 @@ let value: AddProjectDomainResponseBody = { | `updatedAt` | *number* | :heavy_minus_sign: | N/A | | `createdAt` | *number* | :heavy_minus_sign: | N/A | | `verified` | *boolean* | :heavy_check_mark: | `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. | -| `verification` | [operations.AddProjectDomainVerification](../../models/operations/addprojectdomainverification.md)[] | :heavy_minus_sign: | A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. | \ No newline at end of file +| `verification` | [models.AddProjectDomainVerification](../models/addprojectdomainverification.md)[] | :heavy_minus_sign: | A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. | \ No newline at end of file diff --git a/docs/models/operations/addprojectdomainverification.md b/docs/models/addprojectdomainverification.md similarity index 97% rename from docs/models/operations/addprojectdomainverification.md rename to docs/models/addprojectdomainverification.md index d933e78f..3e52393f 100644 --- a/docs/models/operations/addprojectdomainverification.md +++ b/docs/models/addprojectdomainverification.md @@ -5,7 +5,7 @@ A list of verification challenges, one of which must be completed to verify the ## Example Usage ```typescript -import { AddProjectDomainVerification } from "@vercel/sdk/models/operations/addprojectdomain.js"; +import { AddProjectDomainVerification } from "@vercel/sdk/models/addprojectdomainop.js"; let value: AddProjectDomainVerification = { type: "", diff --git a/docs/models/operations/addprojectmemberrequest.md b/docs/models/addprojectmemberrequest.md similarity index 86% rename from docs/models/operations/addprojectmemberrequest.md rename to docs/models/addprojectmemberrequest.md index f2f2898c..8f83d4a2 100644 --- a/docs/models/operations/addprojectmemberrequest.md +++ b/docs/models/addprojectmemberrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { AddProjectMemberRequest } from "@vercel/sdk/models/operations/addprojectmember.js"; +import { AddProjectMemberRequest } from "@vercel/sdk/models/addprojectmemberop.js"; let value: AddProjectMemberRequest = { idOrName: "prj_pavWOn1iLObbXLRiwVvzmPrTWyTf", @@ -23,4 +23,4 @@ let value: AddProjectMemberRequest = { | `idOrName` | *string* | :heavy_check_mark: | The ID or name of the Project. | prj_pavWOn1iLObbXLRiwVvzmPrTWyTf | | `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | | `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | -| `requestBody` | *operations.AddProjectMemberRequestBody* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `requestBody` | *models.AddProjectMemberRequestBody* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/addprojectmemberrequestbody.md b/docs/models/addprojectmemberrequestbody.md new file mode 100644 index 00000000..a3cd5cbb --- /dev/null +++ b/docs/models/addprojectmemberrequestbody.md @@ -0,0 +1,38 @@ +# AddProjectMemberRequestBody + + +## Supported Types + +### `models.AddProjectMemberRequestBody1` + +```typescript +const value: models.AddProjectMemberRequestBody1 = { + uid: "ndlgr43fadlPyCtREAqxxdyFK", + username: "example", + email: "entity@example.com", + role: "ADMIN", +}; +``` + +### `models.AddProjectMemberRequestBody2` + +```typescript +const value: models.AddProjectMemberRequestBody2 = { + uid: "ndlgr43fadlPyCtREAqxxdyFK", + username: "example", + email: "entity@example.com", + role: "ADMIN", +}; +``` + +### `models.AddProjectMemberRequestBody3` + +```typescript +const value: models.AddProjectMemberRequestBody3 = { + uid: "ndlgr43fadlPyCtREAqxxdyFK", + username: "example", + email: "entity@example.com", + role: "ADMIN", +}; +``` + diff --git a/docs/models/addprojectmemberrequestbody1.md b/docs/models/addprojectmemberrequestbody1.md new file mode 100644 index 00000000..c3ed7174 --- /dev/null +++ b/docs/models/addprojectmemberrequestbody1.md @@ -0,0 +1,23 @@ +# AddProjectMemberRequestBody1 + +## Example Usage + +```typescript +import { AddProjectMemberRequestBody1 } from "@vercel/sdk/models/addprojectmemberop.js"; + +let value: AddProjectMemberRequestBody1 = { + uid: "ndlgr43fadlPyCtREAqxxdyFK", + username: "example", + email: "entity@example.com", + role: "ADMIN", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `uid` | *string* | :heavy_check_mark: | The ID of the team member that should be added to this project. | ndlgr43fadlPyCtREAqxxdyFK | +| `username` | *string* | :heavy_minus_sign: | The username of the team member that should be added to this project. | example | +| `email` | *string* | :heavy_minus_sign: | The email of the team member that should be added to this project. | entity@example.com | +| `role` | [models.RequestBodyRole](../models/requestbodyrole.md) | :heavy_check_mark: | The project role of the member that will be added. | ADMIN | \ No newline at end of file diff --git a/docs/models/addprojectmemberrequestbody2.md b/docs/models/addprojectmemberrequestbody2.md new file mode 100644 index 00000000..28c3196b --- /dev/null +++ b/docs/models/addprojectmemberrequestbody2.md @@ -0,0 +1,23 @@ +# AddProjectMemberRequestBody2 + +## Example Usage + +```typescript +import { AddProjectMemberRequestBody2 } from "@vercel/sdk/models/addprojectmemberop.js"; + +let value: AddProjectMemberRequestBody2 = { + uid: "ndlgr43fadlPyCtREAqxxdyFK", + username: "example", + email: "entity@example.com", + role: "ADMIN", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `uid` | *string* | :heavy_minus_sign: | The ID of the team member that should be added to this project. | ndlgr43fadlPyCtREAqxxdyFK | +| `username` | *string* | :heavy_check_mark: | The username of the team member that should be added to this project. | example | +| `email` | *string* | :heavy_minus_sign: | The email of the team member that should be added to this project. | entity@example.com | +| `role` | [models.AddProjectMemberRequestBodyRole](../models/addprojectmemberrequestbodyrole.md) | :heavy_check_mark: | The project role of the member that will be added. | ADMIN | \ No newline at end of file diff --git a/docs/models/addprojectmemberrequestbody3.md b/docs/models/addprojectmemberrequestbody3.md new file mode 100644 index 00000000..121d84a1 --- /dev/null +++ b/docs/models/addprojectmemberrequestbody3.md @@ -0,0 +1,23 @@ +# AddProjectMemberRequestBody3 + +## Example Usage + +```typescript +import { AddProjectMemberRequestBody3 } from "@vercel/sdk/models/addprojectmemberop.js"; + +let value: AddProjectMemberRequestBody3 = { + uid: "ndlgr43fadlPyCtREAqxxdyFK", + username: "example", + email: "entity@example.com", + role: "ADMIN", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `uid` | *string* | :heavy_minus_sign: | The ID of the team member that should be added to this project. | ndlgr43fadlPyCtREAqxxdyFK | +| `username` | *string* | :heavy_minus_sign: | The username of the team member that should be added to this project. | example | +| `email` | *string* | :heavy_check_mark: | The email of the team member that should be added to this project. | entity@example.com | +| `role` | [models.AddProjectMemberRequestBodyProjectMembersRole](../models/addprojectmemberrequestbodyprojectmembersrole.md) | :heavy_check_mark: | The project role of the member that will be added. | ADMIN | \ No newline at end of file diff --git a/docs/models/operations/addprojectmemberrequestbodyprojectmembersrole.md b/docs/models/addprojectmemberrequestbodyprojectmembersrole.md similarity index 87% rename from docs/models/operations/addprojectmemberrequestbodyprojectmembersrole.md rename to docs/models/addprojectmemberrequestbodyprojectmembersrole.md index dd9f0b20..e51d961c 100644 --- a/docs/models/operations/addprojectmemberrequestbodyprojectmembersrole.md +++ b/docs/models/addprojectmemberrequestbodyprojectmembersrole.md @@ -5,7 +5,7 @@ The project role of the member that will be added. ## Example Usage ```typescript -import { AddProjectMemberRequestBodyProjectMembersRole } from "@vercel/sdk/models/operations/addprojectmember.js"; +import { AddProjectMemberRequestBodyProjectMembersRole } from "@vercel/sdk/models/addprojectmemberop.js"; let value: AddProjectMemberRequestBodyProjectMembersRole = "ADMIN"; ``` diff --git a/docs/models/operations/addprojectmemberrequestbodyrole.md b/docs/models/addprojectmemberrequestbodyrole.md similarity index 89% rename from docs/models/operations/addprojectmemberrequestbodyrole.md rename to docs/models/addprojectmemberrequestbodyrole.md index cc76850d..72553fa1 100644 --- a/docs/models/operations/addprojectmemberrequestbodyrole.md +++ b/docs/models/addprojectmemberrequestbodyrole.md @@ -5,7 +5,7 @@ The project role of the member that will be added. ## Example Usage ```typescript -import { AddProjectMemberRequestBodyRole } from "@vercel/sdk/models/operations/addprojectmember.js"; +import { AddProjectMemberRequestBodyRole } from "@vercel/sdk/models/addprojectmemberop.js"; let value: AddProjectMemberRequestBodyRole = "ADMIN"; ``` diff --git a/docs/models/operations/addprojectmemberresponsebody.md b/docs/models/addprojectmemberresponsebody.md similarity index 93% rename from docs/models/operations/addprojectmemberresponsebody.md rename to docs/models/addprojectmemberresponsebody.md index e465cc68..7e8cde0d 100644 --- a/docs/models/operations/addprojectmemberresponsebody.md +++ b/docs/models/addprojectmemberresponsebody.md @@ -5,7 +5,7 @@ Responds with the project ID on success. ## Example Usage ```typescript -import { AddProjectMemberResponseBody } from "@vercel/sdk/models/operations/addprojectmember.js"; +import { AddProjectMemberResponseBody } from "@vercel/sdk/models/addprojectmemberop.js"; let value: AddProjectMemberResponseBody = { id: "", diff --git a/docs/models/operations/addresses.md b/docs/models/addresses.md similarity index 96% rename from docs/models/operations/addresses.md rename to docs/models/addresses.md index 4a7f7e2f..ab9a8bf1 100644 --- a/docs/models/operations/addresses.md +++ b/docs/models/addresses.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Addresses } from "@vercel/sdk/models/operations/updateproject.js"; +import { Addresses } from "@vercel/sdk/models/updateprojectop.js"; let value: Addresses = { value: "", diff --git a/docs/models/algo.md b/docs/models/algo.md new file mode 100644 index 00000000..75a29a7c --- /dev/null +++ b/docs/models/algo.md @@ -0,0 +1,15 @@ +# Algo + +## Example Usage + +```typescript +import { Algo } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Algo = "token_bucket"; +``` + +## Values + +```typescript +"fixed_window" | "token_bucket" +``` \ No newline at end of file diff --git a/docs/models/operations/aliasassigned.md b/docs/models/aliasassigned.md similarity index 100% rename from docs/models/operations/aliasassigned.md rename to docs/models/aliasassigned.md diff --git a/docs/models/operations/aliasassignedat.md b/docs/models/aliasassignedat.md similarity index 100% rename from docs/models/operations/aliasassignedat.md rename to docs/models/aliasassignedat.md diff --git a/docs/models/operations/aliaserror.md b/docs/models/aliaserror.md similarity index 85% rename from docs/models/operations/aliaserror.md rename to docs/models/aliaserror.md index 9dbb92f1..051b58d1 100644 --- a/docs/models/operations/aliaserror.md +++ b/docs/models/aliaserror.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { AliasError } from "@vercel/sdk/models/operations/createdeployment.js"; +import { AliasError } from "@vercel/sdk/models/createdeploymentop.js"; let value: AliasError = { code: "", diff --git a/docs/models/operations/aliases.md b/docs/models/aliases.md similarity index 94% rename from docs/models/operations/aliases.md rename to docs/models/aliases.md index 8a38fc92..cd4482ad 100644 --- a/docs/models/operations/aliases.md +++ b/docs/models/aliases.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Aliases } from "@vercel/sdk/models/operations/listaliases.js"; +import { Aliases } from "@vercel/sdk/models/listaliasesop.js"; let value: Aliases = { alias: "my-alias.vercel.app", @@ -34,13 +34,13 @@ let value: Aliases = { | `alias` | *string* | :heavy_check_mark: | The alias name, it could be a `.vercel.app` subdomain or a custom domain | my-alias.vercel.app | | `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The date when the alias was created | 2017-04-26T23:00:34.232Z | | `createdAt` | *number* | :heavy_minus_sign: | The date when the alias was created in milliseconds since the UNIX epoch | 1540095775941 | -| `creator` | [operations.ListAliasesCreator](../../models/operations/listaliasescreator.md) | :heavy_minus_sign: | Information of the user who created the alias | | +| `creator` | [models.ListAliasesCreator](../models/listaliasescreator.md) | :heavy_minus_sign: | Information of the user who created the alias | | | `deletedAt` | *number* | :heavy_minus_sign: | The date when the alias was deleted in milliseconds since the UNIX epoch | 1540095775941 | -| `deployment` | [operations.ListAliasesDeployment](../../models/operations/listaliasesdeployment.md) | :heavy_minus_sign: | A map with the deployment ID, URL and metadata | | +| `deployment` | [models.ListAliasesDeployment](../models/listaliasesdeployment.md) | :heavy_minus_sign: | A map with the deployment ID, URL and metadata | | | `deploymentId` | *string* | :heavy_check_mark: | The deployment ID | dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx | | `projectId` | *string* | :heavy_check_mark: | The unique identifier of the project | prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB | | `redirect` | *string* | :heavy_minus_sign: | Target destination domain for redirect when the alias is a redirect | | | `redirectStatusCode` | *number* | :heavy_minus_sign: | Status code to be used on redirect | | | `uid` | *string* | :heavy_check_mark: | The unique identifier of the alias | | | `updatedAt` | *number* | :heavy_minus_sign: | The date when the alias was updated in milliseconds since the UNIX epoch | 1540095775941 | -| `protectionBypass` | Record | :heavy_minus_sign: | The protection bypass for the alias | | \ No newline at end of file +| `protectionBypass` | Record | :heavy_minus_sign: | The protection bypass for the alias | | \ No newline at end of file diff --git a/docs/models/operations/aliaswarning.md b/docs/models/aliaswarning.md similarity index 88% rename from docs/models/operations/aliaswarning.md rename to docs/models/aliaswarning.md index 768e2182..10306b09 100644 --- a/docs/models/operations/aliaswarning.md +++ b/docs/models/aliaswarning.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { AliasWarning } from "@vercel/sdk/models/operations/createdeployment.js"; +import { AliasWarning } from "@vercel/sdk/models/createdeploymentop.js"; let value: AliasWarning = { code: "", diff --git a/docs/models/operations/analytics.md b/docs/models/analytics.md similarity index 92% rename from docs/models/operations/analytics.md rename to docs/models/analytics.md index f73fdf42..91fac415 100644 --- a/docs/models/operations/analytics.md +++ b/docs/models/analytics.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Analytics } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { Analytics } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: Analytics = { id: "", diff --git a/docs/models/operations/applications.md b/docs/models/applications.md similarity index 98% rename from docs/models/operations/applications.md rename to docs/models/applications.md index 90caff75..b0968a3f 100644 --- a/docs/models/operations/applications.md +++ b/docs/models/applications.md @@ -5,7 +5,7 @@ A map of the other applications that are part of this group. Only defined on the ## Example Usage ```typescript -import { Applications } from "@vercel/sdk/models/operations/createdeployment.js"; +import { Applications } from "@vercel/sdk/models/createdeploymentop.js"; let value: Applications = { productionHost: "", diff --git a/docs/models/operations/artifactexistsrequest.md b/docs/models/artifactexistsrequest.md similarity index 94% rename from docs/models/operations/artifactexistsrequest.md rename to docs/models/artifactexistsrequest.md index 417e453f..2caa70b0 100644 --- a/docs/models/operations/artifactexistsrequest.md +++ b/docs/models/artifactexistsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ArtifactExistsRequest } from "@vercel/sdk/models/operations/artifactexists.js"; +import { ArtifactExistsRequest } from "@vercel/sdk/models/artifactexistsop.js"; let value: ArtifactExistsRequest = { hash: "12HKQaOmR5t5Uy6vdcQsNIiZgHGB", diff --git a/docs/models/artifactqueryrequest.md b/docs/models/artifactqueryrequest.md new file mode 100644 index 00000000..867bdc7b --- /dev/null +++ b/docs/models/artifactqueryrequest.md @@ -0,0 +1,23 @@ +# ArtifactQueryRequest + +## Example Usage + +```typescript +import { ArtifactQueryRequest } from "@vercel/sdk/models/artifactqueryop.js"; + +let value: ArtifactQueryRequest = { + requestBody: { + hashes: [ + "", + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.ArtifactQueryRequestBody](../models/artifactqueryrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/artifactqueryrequestbody.md b/docs/models/artifactqueryrequestbody.md similarity index 81% rename from docs/models/operations/artifactqueryrequestbody.md rename to docs/models/artifactqueryrequestbody.md index 3eeb0f1c..a23b8066 100644 --- a/docs/models/operations/artifactqueryrequestbody.md +++ b/docs/models/artifactqueryrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ArtifactQueryRequestBody } from "@vercel/sdk/models/operations/artifactquery.js"; +import { ArtifactQueryRequestBody } from "@vercel/sdk/models/artifactqueryop.js"; let value: ArtifactQueryRequestBody = { hashes: [ diff --git a/docs/models/assignaliasrequest.md b/docs/models/assignaliasrequest.md new file mode 100644 index 00000000..cbd8ec41 --- /dev/null +++ b/docs/models/assignaliasrequest.md @@ -0,0 +1,24 @@ +# AssignAliasRequest + +## Example Usage + +```typescript +import { AssignAliasRequest } from "@vercel/sdk/models/assignaliasop.js"; + +let value: AssignAliasRequest = { + id: "", + requestBody: { + alias: "my-alias.vercel.app", + redirect: null, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The ID of the deployment the aliases should be listed for | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.AssignAliasRequestBody](../models/assignaliasrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/assignaliasrequestbody.md b/docs/models/assignaliasrequestbody.md similarity index 97% rename from docs/models/operations/assignaliasrequestbody.md rename to docs/models/assignaliasrequestbody.md index 7a217787..a5124300 100644 --- a/docs/models/operations/assignaliasrequestbody.md +++ b/docs/models/assignaliasrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { AssignAliasRequestBody } from "@vercel/sdk/models/operations/assignalias.js"; +import { AssignAliasRequestBody } from "@vercel/sdk/models/assignaliasop.js"; let value: AssignAliasRequestBody = { alias: "my-alias.vercel.app", diff --git a/docs/models/operations/assignaliasresponsebody.md b/docs/models/assignaliasresponsebody.md similarity index 97% rename from docs/models/operations/assignaliasresponsebody.md rename to docs/models/assignaliasresponsebody.md index 73e9c938..9e76b984 100644 --- a/docs/models/operations/assignaliasresponsebody.md +++ b/docs/models/assignaliasresponsebody.md @@ -5,7 +5,7 @@ The alias was successfully assigned to the deployment ## Example Usage ```typescript -import { AssignAliasResponseBody } from "@vercel/sdk/models/operations/assignalias.js"; +import { AssignAliasResponseBody } from "@vercel/sdk/models/assignaliasop.js"; let value: AssignAliasResponseBody = { uid: "2WjyKQmM8ZnGcJsPWMrHRHrE", diff --git a/docs/models/attribution.md b/docs/models/attribution.md new file mode 100644 index 00000000..da248077 --- /dev/null +++ b/docs/models/attribution.md @@ -0,0 +1,20 @@ +# Attribution + +Attribution information for the session or current page + +## Example Usage + +```typescript +import { Attribution } from "@vercel/sdk/models/createteamop.js"; + +let value: Attribution = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `sessionReferrer` | *string* | :heavy_minus_sign: | Session referrer | +| `landingPage` | *string* | :heavy_minus_sign: | Session landing page | +| `pageBeforeConversionPage` | *string* | :heavy_minus_sign: | Referrer to the signup page | +| `utm` | [models.Utm](../models/utm.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/authtoken.md b/docs/models/authtoken.md similarity index 96% rename from docs/models/components/authtoken.md rename to docs/models/authtoken.md index b51e91f0..b4a3c9ba 100644 --- a/docs/models/components/authtoken.md +++ b/docs/models/authtoken.md @@ -5,7 +5,7 @@ Authentication token metadata. ## Example Usage ```typescript -import { AuthToken } from "@vercel/sdk/models/components/authtoken.js"; +import { AuthToken } from "@vercel/sdk/models/authtoken.js"; let value: AuthToken = { id: "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", @@ -26,7 +26,7 @@ let value: AuthToken = { | `name` | *string* | :heavy_check_mark: | The human-readable name of the token. | | | `type` | *string* | :heavy_check_mark: | The type of the token. | oauth2-token | | `origin` | *string* | :heavy_minus_sign: | The origin of how the token was created. | github | -| `scopes` | *components.Scopes*[] | :heavy_minus_sign: | The access scopes granted to the token. | | +| `scopes` | *models.Scopes*[] | :heavy_minus_sign: | The access scopes granted to the token. | | | `expiresAt` | *number* | :heavy_minus_sign: | Timestamp (in milliseconds) of when the token expires. | 1632816536002 | | `activeAt` | *number* | :heavy_check_mark: | Timestamp (in milliseconds) of when the token was most recently used. | 1632816536002 | | `createdAt` | *number* | :heavy_check_mark: | Timestamp (in milliseconds) of when the token was created. | 1632816536002 | \ No newline at end of file diff --git a/docs/models/authtokenscopesorigin.md b/docs/models/authtokenscopesorigin.md new file mode 100644 index 00000000..0432fdfe --- /dev/null +++ b/docs/models/authtokenscopesorigin.md @@ -0,0 +1,15 @@ +# AuthTokenScopesOrigin + +## Example Usage + +```typescript +import { AuthTokenScopesOrigin } from "@vercel/sdk/models/authtoken.js"; + +let value: AuthTokenScopesOrigin = "manual"; +``` + +## Values + +```typescript +"saml" | "github" | "gitlab" | "bitbucket" | "email" | "manual" | "passkey" | "otp" | "sms" | "invite" +``` \ No newline at end of file diff --git a/docs/models/authtokenscopestype.md b/docs/models/authtokenscopestype.md new file mode 100644 index 00000000..b7a4f190 --- /dev/null +++ b/docs/models/authtokenscopestype.md @@ -0,0 +1,15 @@ +# AuthTokenScopesType + +## Example Usage + +```typescript +import { AuthTokenScopesType } from "@vercel/sdk/models/authtoken.js"; + +let value: AuthTokenScopesType = "user"; +``` + +## Values + +```typescript +"user" +``` \ No newline at end of file diff --git a/docs/models/components/authuser.md b/docs/models/authuser.md similarity index 90% rename from docs/models/components/authuser.md rename to docs/models/authuser.md index 21338226..d02227f7 100644 --- a/docs/models/components/authuser.md +++ b/docs/models/authuser.md @@ -5,13 +5,13 @@ Data for the currently authenticated User. ## Example Usage ```typescript -import { AuthUser } from "@vercel/sdk/models/components/authuser.js"; +import { AuthUser } from "@vercel/sdk/models/authuser.js"; let value: AuthUser = { createdAt: 1630748523395, softBlock: { - blockedAt: 929.79, - reason: "BLOCKED_FOR_PLATFORM_ABUSE", + blockedAt: 9270.21, + reason: "SUBSCRIPTION_CANCELED", }, billing: {}, resourceConfig: {}, @@ -32,26 +32,26 @@ let value: AuthUser = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | | `createdAt` | *number* | :heavy_check_mark: | UNIX timestamp (in milliseconds) when the User account was created. | 1630748523395 | -| `softBlock` | [components.SoftBlock](../../models/components/softblock.md) | :heavy_check_mark: | When the User account has been "soft blocked", this property will contain the date when the restriction was enacted, and the identifier for why. | | -| `billing` | [components.Billing](../../models/components/billing.md) | :heavy_check_mark: | An object containing billing infomation associated with the User account. | | -| `resourceConfig` | [components.ResourceConfig](../../models/components/resourceconfig.md) | :heavy_check_mark: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | | +| `softBlock` | [models.SoftBlock](../models/softblock.md) | :heavy_check_mark: | When the User account has been "soft blocked", this property will contain the date when the restriction was enacted, and the identifier for why. | | +| `billing` | [models.Billing](../models/billing.md) | :heavy_check_mark: | An object containing billing infomation associated with the User account. | | +| `resourceConfig` | [models.ResourceConfig](../models/resourceconfig.md) | :heavy_check_mark: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | | | `stagingPrefix` | *string* | :heavy_check_mark: | Prefix that will be used in the URL of "Preview" deployments created by the User account. | | -| `activeDashboardViews` | [components.ActiveDashboardViews](../../models/components/activedashboardviews.md)[] | :heavy_minus_sign: | set of dashboard view preferences (cards or list) per scopeId | | -| `importFlowGitNamespace` | *components.ImportFlowGitNamespace* | :heavy_minus_sign: | N/A | | -| `importFlowGitNamespaceId` | *components.ImportFlowGitNamespaceId* | :heavy_minus_sign: | N/A | | -| `importFlowGitProvider` | [components.ImportFlowGitProvider](../../models/components/importflowgitprovider.md) | :heavy_minus_sign: | N/A | | -| `preferredScopesAndGitNamespaces` | [components.PreferredScopesAndGitNamespaces](../../models/components/preferredscopesandgitnamespaces.md)[] | :heavy_minus_sign: | N/A | | -| `dismissedToasts` | [components.DismissedToasts](../../models/components/dismissedtoasts.md)[] | :heavy_minus_sign: | A record of when, under a certain scopeId, a toast was dismissed | | -| `favoriteProjectsAndSpaces` | *components.FavoriteProjectsAndSpaces*[] | :heavy_minus_sign: | A list of projects and spaces across teams that a user has marked as a favorite. | | +| `activeDashboardViews` | [models.ActiveDashboardViews](../models/activedashboardviews.md)[] | :heavy_minus_sign: | set of dashboard view preferences (cards or list) per scopeId | | +| `importFlowGitNamespace` | *models.ImportFlowGitNamespace* | :heavy_minus_sign: | N/A | | +| `importFlowGitNamespaceId` | *models.ImportFlowGitNamespaceId* | :heavy_minus_sign: | N/A | | +| `importFlowGitProvider` | [models.ImportFlowGitProvider](../models/importflowgitprovider.md) | :heavy_minus_sign: | N/A | | +| `preferredScopesAndGitNamespaces` | [models.PreferredScopesAndGitNamespaces](../models/preferredscopesandgitnamespaces.md)[] | :heavy_minus_sign: | N/A | | +| `dismissedToasts` | [models.DismissedToasts](../models/dismissedtoasts.md)[] | :heavy_minus_sign: | A record of when, under a certain scopeId, a toast was dismissed | | +| `favoriteProjectsAndSpaces` | *models.FavoriteProjectsAndSpaces*[] | :heavy_minus_sign: | A list of projects and spaces across teams that a user has marked as a favorite. | | | `hasTrialAvailable` | *boolean* | :heavy_check_mark: | Whether the user has a trial available for a paid plan subscription. | | -| `remoteCaching` | [components.RemoteCaching](../../models/components/remotecaching.md) | :heavy_minus_sign: | remote caching settings | | -| `dataCache` | [components.DataCache](../../models/components/datacache.md) | :heavy_minus_sign: | data cache settings | | -| `featureBlocks` | [components.FeatureBlocks](../../models/components/featureblocks.md) | :heavy_minus_sign: | Feature blocks for the user | | -| `northstarMigration` | [components.NorthstarMigration](../../models/components/northstarmigration.md) | :heavy_minus_sign: | N/A | | +| `remoteCaching` | [models.RemoteCaching](../models/remotecaching.md) | :heavy_minus_sign: | remote caching settings | | +| `dataCache` | [models.DataCache](../models/datacache.md) | :heavy_minus_sign: | data cache settings | | +| `featureBlocks` | [models.FeatureBlocks](../models/featureblocks.md) | :heavy_minus_sign: | Feature blocks for the user | | +| `northstarMigration` | [models.NorthstarMigration](../models/northstarmigration.md) | :heavy_minus_sign: | N/A | | | `id` | *string* | :heavy_check_mark: | The User's unique identifier. | AEIIDYVk59zbFF2Sxfyxxmua | | `email` | *string* | :heavy_check_mark: | Email address associated with the User account. | me@example.com | | `name` | *string* | :heavy_check_mark: | Name associated with the User account, or `null` if none has been provided. | John Doe | | `username` | *string* | :heavy_check_mark: | Unique username associated with the User account. | jdoe | | `avatar` | *string* | :heavy_check_mark: | SHA1 hash of the avatar for the User account. Can be used in conjuction with the ... endpoint to retrieve the avatar image. | 22cb30c85ff45ac4c72de8981500006b28114aa1 | | `defaultTeamId` | *string* | :heavy_check_mark: | The user's default team. Only applies if the user's `version` is `'northstar'`. | | -| `version` | [components.Version](../../models/components/version.md) | :heavy_check_mark: | The user's version. Will either be unset or `northstar`. | | \ No newline at end of file +| `version` | [models.Version](../models/version.md) | :heavy_check_mark: | The user's version. Will either be unset or `northstar`. | | \ No newline at end of file diff --git a/docs/models/components/authuserlimited.md b/docs/models/authuserlimited.md similarity index 98% rename from docs/models/components/authuserlimited.md rename to docs/models/authuserlimited.md index 2552120b..3881ac82 100644 --- a/docs/models/components/authuserlimited.md +++ b/docs/models/authuserlimited.md @@ -5,7 +5,7 @@ A limited form of data for the currently authenticated User, due to the authenti ## Example Usage ```typescript -import { AuthUserLimited } from "@vercel/sdk/models/components/authuserlimited.js"; +import { AuthUserLimited } from "@vercel/sdk/models/authuserlimited.js"; let value: AuthUserLimited = { limited: false, @@ -30,4 +30,4 @@ let value: AuthUserLimited = { | `username` | *string* | :heavy_check_mark: | Unique username associated with the User account. | jdoe | | `avatar` | *string* | :heavy_check_mark: | SHA1 hash of the avatar for the User account. Can be used in conjuction with the ... endpoint to retrieve the avatar image. | 22cb30c85ff45ac4c72de8981500006b28114aa1 | | `defaultTeamId` | *string* | :heavy_check_mark: | The user's default team. Only applies if the user's `version` is `'northstar'`. | | -| `version` | [components.AuthUserLimitedVersion](../../models/components/authuserlimitedversion.md) | :heavy_check_mark: | The user's version. Will either be unset or `northstar`. | | \ No newline at end of file +| `version` | [models.AuthUserLimitedVersion](../models/authuserlimitedversion.md) | :heavy_check_mark: | The user's version. Will either be unset or `northstar`. | | \ No newline at end of file diff --git a/docs/models/authuserlimitedversion.md b/docs/models/authuserlimitedversion.md new file mode 100644 index 00000000..b099cca1 --- /dev/null +++ b/docs/models/authuserlimitedversion.md @@ -0,0 +1,17 @@ +# AuthUserLimitedVersion + +The user's version. Will either be unset or `northstar`. + +## Example Usage + +```typescript +import { AuthUserLimitedVersion } from "@vercel/sdk/models/authuserlimited.js"; + +let value: AuthUserLimitedVersion = "northstar"; +``` + +## Values + +```typescript +"northstar" +``` \ No newline at end of file diff --git a/docs/models/operations/backup.md b/docs/models/backup.md similarity index 94% rename from docs/models/operations/backup.md rename to docs/models/backup.md index 658c0964..ad184cfb 100644 --- a/docs/models/operations/backup.md +++ b/docs/models/backup.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { Backup } from "@vercel/sdk/models/operations/getedgeconfigbackup.js"; +import { Backup } from "@vercel/sdk/models/getedgeconfigbackupop.js"; let value: Backup = { digest: "", items: {}, slug: "", - updatedAt: 5283.15, + updatedAt: 4562.23, }; ``` @@ -18,6 +18,6 @@ let value: Backup = { | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | | `digest` | *string* | :heavy_check_mark: | N/A | -| `items` | Record | :heavy_check_mark: | N/A | +| `items` | Record | :heavy_check_mark: | N/A | | `slug` | *string* | :heavy_check_mark: | Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). | | `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/backups.md b/docs/models/backups.md new file mode 100644 index 00000000..1ccccd1b --- /dev/null +++ b/docs/models/backups.md @@ -0,0 +1,20 @@ +# Backups + +## Example Usage + +```typescript +import { Backups } from "@vercel/sdk/models/getedgeconfigbackupsop.js"; + +let value: Backups = { + id: "", + lastModified: 1631.82, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `metadata` | [models.GetEdgeConfigBackupsMetadata](../models/getedgeconfigbackupsmetadata.md) | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `lastModified` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/billing.md b/docs/models/billing.md new file mode 100644 index 00000000..7eeaab66 --- /dev/null +++ b/docs/models/billing.md @@ -0,0 +1,16 @@ +# Billing + +An object containing billing infomation associated with the User account. + +## Example Usage + +```typescript +import { Billing } from "@vercel/sdk/models/authuser.js"; + +let value: Billing = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/billing1.md b/docs/models/billing1.md similarity index 97% rename from docs/models/operations/billing1.md rename to docs/models/billing1.md index 16c8a8ca..b7025d03 100644 --- a/docs/models/operations/billing1.md +++ b/docs/models/billing1.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { Billing1 } from "@vercel/sdk/models/operations/submitbillingdata.js"; +import { Billing1 } from "@vercel/sdk/models/submitbillingdataop.js"; let value: Billing1 = { billingPlanId: "", name: "", - price: "788.60", - quantity: 1655.46, + price: "59.95", + quantity: 9049.82, units: "", total: "", }; diff --git a/docs/models/billing2.md b/docs/models/billing2.md new file mode 100644 index 00000000..3593f4f3 --- /dev/null +++ b/docs/models/billing2.md @@ -0,0 +1,27 @@ +# Billing2 + +## Example Usage + +```typescript +import { Billing2 } from "@vercel/sdk/models/submitbillingdataop.js"; + +let value: Billing2 = { + items: [ + { + billingPlanId: "", + name: "", + price: "789.20", + quantity: 6615.78, + units: "", + total: "", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `items` | [models.BillingItems](../models/billingitems.md)[] | :heavy_check_mark: | N/A | +| `discounts` | [models.Discounts](../models/discounts.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/billingitems.md b/docs/models/billingitems.md similarity index 97% rename from docs/models/operations/billingitems.md rename to docs/models/billingitems.md index e9fb4e1b..4b8d713c 100644 --- a/docs/models/operations/billingitems.md +++ b/docs/models/billingitems.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { BillingItems } from "@vercel/sdk/models/operations/submitbillingdata.js"; +import { BillingItems } from "@vercel/sdk/models/submitbillingdataop.js"; let value: BillingItems = { billingPlanId: "", name: "", - price: "616.55", - quantity: 3530.75, + price: "73.59", + quantity: 3685.99, units: "", total: "", }; diff --git a/docs/models/billingplan.md b/docs/models/billingplan.md new file mode 100644 index 00000000..82474d36 --- /dev/null +++ b/docs/models/billingplan.md @@ -0,0 +1,31 @@ +# BillingPlan + +## Example Usage + +```typescript +import { BillingPlan } from "@vercel/sdk/models/getconfigurationsop.js"; + +let value: BillingPlan = { + id: "", + type: "prepayment", + name: "", + description: "awkwardly loosely than", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `type` | [models.GetConfigurationsResponseBodyIntegrationsResponseType](../models/getconfigurationsresponsebodyintegrationsresponsetype.md) | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.ResponseBodyScope](../models/responsebodyscope.md) | :heavy_minus_sign: | N/A | +| `description` | *string* | :heavy_check_mark: | N/A | +| `paymentMethodRequired` | *boolean* | :heavy_minus_sign: | N/A | +| `preauthorizationAmount` | *number* | :heavy_minus_sign: | N/A | +| `cost` | *string* | :heavy_minus_sign: | N/A | +| `details` | [models.Details](../models/details.md)[] | :heavy_minus_sign: | N/A | +| `heightlightedDetails` | [models.HeightlightedDetails](../models/heightlighteddetails.md)[] | :heavy_minus_sign: | N/A | +| `quote` | [models.Quote](../models/quote.md)[] | :heavy_minus_sign: | N/A | +| `effectiveDate` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/bitbucket.md b/docs/models/bitbucket.md similarity index 80% rename from docs/models/operations/bitbucket.md rename to docs/models/bitbucket.md index f4b08c50..4d4946d7 100644 --- a/docs/models/operations/bitbucket.md +++ b/docs/models/bitbucket.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Bitbucket } from "@vercel/sdk/models/operations/requestaccesstoteam.js"; +import { Bitbucket } from "@vercel/sdk/models/requestaccesstoteamop.js"; let value: Bitbucket = {}; ``` diff --git a/docs/models/components/blockedduetooveragetype.md b/docs/models/blockedduetooveragetype.md similarity index 88% rename from docs/models/components/blockedduetooveragetype.md rename to docs/models/blockedduetooveragetype.md index d47cfc4b..31dc40db 100644 --- a/docs/models/components/blockedduetooveragetype.md +++ b/docs/models/blockedduetooveragetype.md @@ -3,9 +3,9 @@ ## Example Usage ```typescript -import { BlockedDueToOverageType } from "@vercel/sdk/models/components/authuser.js"; +import { BlockedDueToOverageType } from "@vercel/sdk/models/authuser.js"; -let value: BlockedDueToOverageType = "edgeRequest"; +let value: BlockedDueToOverageType = "storageRedisTotalCommands"; ``` ## Values diff --git a/docs/models/branchmatcher.md b/docs/models/branchmatcher.md new file mode 100644 index 00000000..3c5661ff --- /dev/null +++ b/docs/models/branchmatcher.md @@ -0,0 +1,19 @@ +# BranchMatcher + +## Example Usage + +```typescript +import { BranchMatcher } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: BranchMatcher = { + type: "startsWith", + pattern: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.UpdateProjectDataCacheProjectsResponse200ApplicationJSONType](../models/updateprojectdatacacheprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `pattern` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/build.md b/docs/models/build.md similarity index 83% rename from docs/models/operations/build.md rename to docs/models/build.md index c60adf01..2c1f6e04 100644 --- a/docs/models/operations/build.md +++ b/docs/models/build.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Build } from "@vercel/sdk/models/operations/createdeployment.js"; +import { Build } from "@vercel/sdk/models/createdeploymentop.js"; let value: Build = { env: [ diff --git a/docs/models/builds.md b/docs/models/builds.md new file mode 100644 index 00000000..cb482768 --- /dev/null +++ b/docs/models/builds.md @@ -0,0 +1,14 @@ +# Builds + +## Example Usage + +```typescript +import { Builds } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: Builds = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/buydomaindomain.md b/docs/models/buydomaindomain.md similarity index 88% rename from docs/models/operations/buydomaindomain.md rename to docs/models/buydomaindomain.md index 55955c95..a09357f4 100644 --- a/docs/models/operations/buydomaindomain.md +++ b/docs/models/buydomaindomain.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { BuyDomainDomain } from "@vercel/sdk/models/operations/buydomain.js"; +import { BuyDomainDomain } from "@vercel/sdk/models/buydomainop.js"; let value: BuyDomainDomain = { uid: "", @@ -11,7 +11,7 @@ let value: BuyDomainDomain = { "", ], verified: false, - created: 3594.53, + created: 9003.67, pending: false, }; ``` diff --git a/docs/models/operations/buydomaindomainsdomain.md b/docs/models/buydomaindomainsdomain.md similarity index 88% rename from docs/models/operations/buydomaindomainsdomain.md rename to docs/models/buydomaindomainsdomain.md index 1aea3b27..b38ce605 100644 --- a/docs/models/operations/buydomaindomainsdomain.md +++ b/docs/models/buydomaindomainsdomain.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { BuyDomainDomainsDomain } from "@vercel/sdk/models/operations/buydomain.js"; +import { BuyDomainDomainsDomain } from "@vercel/sdk/models/buydomainop.js"; let value: BuyDomainDomainsDomain = { uid: "", @@ -11,7 +11,7 @@ let value: BuyDomainDomainsDomain = { "", ], verified: false, - created: 9832.75, + created: 304.27, pending: false, }; ``` diff --git a/docs/models/buydomaindomainsresponsebody.md b/docs/models/buydomaindomainsresponsebody.md new file mode 100644 index 00000000..3375fe18 --- /dev/null +++ b/docs/models/buydomaindomainsresponsebody.md @@ -0,0 +1,25 @@ +# BuyDomainDomainsResponseBody + +## Example Usage + +```typescript +import { BuyDomainDomainsResponseBody } from "@vercel/sdk/models/buydomainop.js"; + +let value: BuyDomainDomainsResponseBody = { + domain: { + uid: "", + ns: [ + "", + ], + verified: false, + created: 9832.75, + pending: false, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `domain` | [models.BuyDomainDomain](../models/buydomaindomain.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/buydomainrequest.md b/docs/models/buydomainrequest.md new file mode 100644 index 00000000..280d3033 --- /dev/null +++ b/docs/models/buydomainrequest.md @@ -0,0 +1,33 @@ +# BuyDomainRequest + +## Example Usage + +```typescript +import { BuyDomainRequest } from "@vercel/sdk/models/buydomainop.js"; + +let value: BuyDomainRequest = { + requestBody: { + name: "example.com", + expectedPrice: 10, + renew: true, + country: "US", + orgName: "Acme Inc.", + firstName: "Jane", + lastName: "Doe", + address1: "340 S Lemon Ave Suite 4133", + city: "San Francisco", + state: "CA", + postalCode: "91789", + phone: "+1.4158551452", + email: "jane.doe@someplace.com", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.BuyDomainRequestBody](../models/buydomainrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/buydomainrequestbody.md b/docs/models/buydomainrequestbody.md similarity index 98% rename from docs/models/operations/buydomainrequestbody.md rename to docs/models/buydomainrequestbody.md index 0471e439..31bd29cc 100644 --- a/docs/models/operations/buydomainrequestbody.md +++ b/docs/models/buydomainrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { BuyDomainRequestBody } from "@vercel/sdk/models/operations/buydomain.js"; +import { BuyDomainRequestBody } from "@vercel/sdk/models/buydomainop.js"; let value: BuyDomainRequestBody = { name: "example.com", diff --git a/docs/models/buydomainresponse.md b/docs/models/buydomainresponse.md new file mode 100644 index 00000000..40815f1c --- /dev/null +++ b/docs/models/buydomainresponse.md @@ -0,0 +1,37 @@ +# BuyDomainResponse + + +## Supported Types + +### `models.BuyDomainResponseBody` + +```typescript +const value: models.BuyDomainResponseBody = { + domain: { + uid: "", + ns: [ + "", + ], + verified: false, + created: 1122.50, + pending: false, + }, +}; +``` + +### `models.BuyDomainDomainsResponseBody` + +```typescript +const value: models.BuyDomainDomainsResponseBody = { + domain: { + uid: "", + ns: [ + "", + ], + verified: false, + created: 423.64, + pending: false, + }, +}; +``` + diff --git a/docs/models/buydomainresponsebody.md b/docs/models/buydomainresponsebody.md new file mode 100644 index 00000000..e14217a6 --- /dev/null +++ b/docs/models/buydomainresponsebody.md @@ -0,0 +1,25 @@ +# BuyDomainResponseBody + +## Example Usage + +```typescript +import { BuyDomainResponseBody } from "@vercel/sdk/models/buydomainop.js"; + +let value: BuyDomainResponseBody = { + domain: { + uid: "", + ns: [ + "", + ], + verified: false, + created: 1936.23, + pending: false, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `domain` | [models.BuyDomainDomainsDomain](../models/buydomaindomainsdomain.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentaliasassignedat.md b/docs/models/canceldeploymentaliasassignedat.md similarity index 100% rename from docs/models/operations/canceldeploymentaliasassignedat.md rename to docs/models/canceldeploymentaliasassignedat.md diff --git a/docs/models/operations/canceldeploymentaliaserror.md b/docs/models/canceldeploymentaliaserror.md similarity index 84% rename from docs/models/operations/canceldeploymentaliaserror.md rename to docs/models/canceldeploymentaliaserror.md index a0da2437..363900a4 100644 --- a/docs/models/operations/canceldeploymentaliaserror.md +++ b/docs/models/canceldeploymentaliaserror.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentAliasError } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentAliasError } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentAliasError = { code: "", diff --git a/docs/models/operations/canceldeploymentaliaswarning.md b/docs/models/canceldeploymentaliaswarning.md similarity index 95% rename from docs/models/operations/canceldeploymentaliaswarning.md rename to docs/models/canceldeploymentaliaswarning.md index 7b48ee55..787fb90e 100644 --- a/docs/models/operations/canceldeploymentaliaswarning.md +++ b/docs/models/canceldeploymentaliaswarning.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentAliasWarning } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentAliasWarning } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentAliasWarning = { code: "", diff --git a/docs/models/operations/canceldeploymentbuild.md b/docs/models/canceldeploymentbuild.md similarity index 81% rename from docs/models/operations/canceldeploymentbuild.md rename to docs/models/canceldeploymentbuild.md index 6e0ed2ea..2eeb6699 100644 --- a/docs/models/operations/canceldeploymentbuild.md +++ b/docs/models/canceldeploymentbuild.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentBuild } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentBuild } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentBuild = { env: [ diff --git a/docs/models/canceldeploymentbuilds.md b/docs/models/canceldeploymentbuilds.md new file mode 100644 index 00000000..50ea16cc --- /dev/null +++ b/docs/models/canceldeploymentbuilds.md @@ -0,0 +1,14 @@ +# CancelDeploymentBuilds + +## Example Usage + +```typescript +import { CancelDeploymentBuilds } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentBuilds = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentchecksconclusion.md b/docs/models/canceldeploymentchecksconclusion.md similarity index 87% rename from docs/models/operations/canceldeploymentchecksconclusion.md rename to docs/models/canceldeploymentchecksconclusion.md index c6221945..a1cf6e91 100644 --- a/docs/models/operations/canceldeploymentchecksconclusion.md +++ b/docs/models/canceldeploymentchecksconclusion.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentChecksConclusion } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentChecksConclusion } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentChecksConclusion = "skipped"; ``` diff --git a/docs/models/operations/canceldeploymentchecksstate.md b/docs/models/canceldeploymentchecksstate.md similarity index 88% rename from docs/models/operations/canceldeploymentchecksstate.md rename to docs/models/canceldeploymentchecksstate.md index 5f331924..467cfa28 100644 --- a/docs/models/operations/canceldeploymentchecksstate.md +++ b/docs/models/canceldeploymentchecksstate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentChecksState } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentChecksState } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentChecksState = "running"; ``` diff --git a/docs/models/operations/canceldeploymentcreator.md b/docs/models/canceldeploymentcreator.md similarity index 85% rename from docs/models/operations/canceldeploymentcreator.md rename to docs/models/canceldeploymentcreator.md index feb3b5b9..09bd9b35 100644 --- a/docs/models/operations/canceldeploymentcreator.md +++ b/docs/models/canceldeploymentcreator.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentCreator } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentCreator } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentCreator = { uid: "", diff --git a/docs/models/operations/canceldeploymentcrons.md b/docs/models/canceldeploymentcrons.md similarity index 84% rename from docs/models/operations/canceldeploymentcrons.md rename to docs/models/canceldeploymentcrons.md index 83b22cc3..1c614e66 100644 --- a/docs/models/operations/canceldeploymentcrons.md +++ b/docs/models/canceldeploymentcrons.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentCrons } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentCrons } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentCrons = { schedule: "", diff --git a/docs/models/canceldeploymentcustomenvironment.md b/docs/models/canceldeploymentcustomenvironment.md new file mode 100644 index 00000000..1163a073 --- /dev/null +++ b/docs/models/canceldeploymentcustomenvironment.md @@ -0,0 +1,19 @@ +# CancelDeploymentCustomEnvironment + + +## Supported Types + +### `models.CancelDeploymentCustomEnvironment1` + +```typescript +const value: models.CancelDeploymentCustomEnvironment1 = {}; +``` + +### `models.CancelDeploymentCustomEnvironment2` + +```typescript +const value: models.CancelDeploymentCustomEnvironment2 = { + id: "", +}; +``` + diff --git a/docs/models/operations/canceldeploymentcustomenvironment1.md b/docs/models/canceldeploymentcustomenvironment1.md similarity index 88% rename from docs/models/operations/canceldeploymentcustomenvironment1.md rename to docs/models/canceldeploymentcustomenvironment1.md index 4c2ddf45..5741e6f8 100644 --- a/docs/models/operations/canceldeploymentcustomenvironment1.md +++ b/docs/models/canceldeploymentcustomenvironment1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentCustomEnvironment1 } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentCustomEnvironment1 } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentCustomEnvironment1 = {}; ``` diff --git a/docs/models/operations/canceldeploymentcustomenvironment2.md b/docs/models/canceldeploymentcustomenvironment2.md similarity index 92% rename from docs/models/operations/canceldeploymentcustomenvironment2.md rename to docs/models/canceldeploymentcustomenvironment2.md index 762227a1..92c2dd14 100644 --- a/docs/models/operations/canceldeploymentcustomenvironment2.md +++ b/docs/models/canceldeploymentcustomenvironment2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentCustomEnvironment2 } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentCustomEnvironment2 } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentCustomEnvironment2 = { id: "", diff --git a/docs/models/operations/canceldeploymentdeploymentsreadystate.md b/docs/models/canceldeploymentdeploymentsreadystate.md similarity index 86% rename from docs/models/operations/canceldeploymentdeploymentsreadystate.md rename to docs/models/canceldeploymentdeploymentsreadystate.md index 10ed694c..3c4f3cbb 100644 --- a/docs/models/operations/canceldeploymentdeploymentsreadystate.md +++ b/docs/models/canceldeploymentdeploymentsreadystate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentDeploymentsReadyState } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentDeploymentsReadyState } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentDeploymentsReadyState = "READY"; ``` diff --git a/docs/models/operations/canceldeploymentdeploymentsstatus.md b/docs/models/canceldeploymentdeploymentsstatus.md similarity index 87% rename from docs/models/operations/canceldeploymentdeploymentsstatus.md rename to docs/models/canceldeploymentdeploymentsstatus.md index 6b923f9c..f9ec11f8 100644 --- a/docs/models/operations/canceldeploymentdeploymentsstatus.md +++ b/docs/models/canceldeploymentdeploymentsstatus.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentDeploymentsStatus } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentDeploymentsStatus } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentDeploymentsStatus = "timeout"; ``` diff --git a/docs/models/canceldeploymentflags.md b/docs/models/canceldeploymentflags.md new file mode 100644 index 00000000..05a51a90 --- /dev/null +++ b/docs/models/canceldeploymentflags.md @@ -0,0 +1,21 @@ +# CancelDeploymentFlags + + +## Supported Types + +### `models.CancelDeploymentFlags1` + +```typescript +const value: models.CancelDeploymentFlags1 = { + definitions: {}, +}; +``` + +### `models.CancelDeploymentFlags2[]` + +```typescript +const value: models.CancelDeploymentFlags2[] = [ + {}, +]; +``` + diff --git a/docs/models/canceldeploymentflags1.md b/docs/models/canceldeploymentflags1.md new file mode 100644 index 00000000..58f52015 --- /dev/null +++ b/docs/models/canceldeploymentflags1.md @@ -0,0 +1,19 @@ +# CancelDeploymentFlags1 + +Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. + +## Example Usage + +```typescript +import { CancelDeploymentFlags1 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentFlags1 = { + definitions: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `definitions` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentflags2.md b/docs/models/canceldeploymentflags2.md similarity index 79% rename from docs/models/operations/canceldeploymentflags2.md rename to docs/models/canceldeploymentflags2.md index e9e584d3..3c039b2b 100644 --- a/docs/models/operations/canceldeploymentflags2.md +++ b/docs/models/canceldeploymentflags2.md @@ -5,7 +5,7 @@ Flags defined in the Build Output API, used by this deployment. Primarily used b ## Example Usage ```typescript -import { CancelDeploymentFlags2 } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentFlags2 } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentFlags2 = {}; ``` diff --git a/docs/models/canceldeploymentflagsdefinitions.md b/docs/models/canceldeploymentflagsdefinitions.md new file mode 100644 index 00000000..ce530d5b --- /dev/null +++ b/docs/models/canceldeploymentflagsdefinitions.md @@ -0,0 +1,17 @@ +# CancelDeploymentFlagsDefinitions + +## Example Usage + +```typescript +import { CancelDeploymentFlagsDefinitions } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentFlagsDefinitions = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `options` | [models.FlagsOptions](../models/flagsoptions.md)[] | :heavy_minus_sign: | N/A | +| `url` | *string* | :heavy_minus_sign: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentframework.md b/docs/models/canceldeploymentframework.md similarity index 88% rename from docs/models/operations/canceldeploymentframework.md rename to docs/models/canceldeploymentframework.md index eeaa7b7b..2fd0379f 100644 --- a/docs/models/operations/canceldeploymentframework.md +++ b/docs/models/canceldeploymentframework.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentFramework } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentFramework } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentFramework = "sanity"; ``` diff --git a/docs/models/operations/canceldeploymentfunctions.md b/docs/models/canceldeploymentfunctions.md similarity index 88% rename from docs/models/operations/canceldeploymentfunctions.md rename to docs/models/canceldeploymentfunctions.md index 2abed002..5ca6aa87 100644 --- a/docs/models/operations/canceldeploymentfunctions.md +++ b/docs/models/canceldeploymentfunctions.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentFunctions } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentFunctions } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentFunctions = {}; ``` diff --git a/docs/models/canceldeploymentgitrepo.md b/docs/models/canceldeploymentgitrepo.md new file mode 100644 index 00000000..a07f877b --- /dev/null +++ b/docs/models/canceldeploymentgitrepo.md @@ -0,0 +1,55 @@ +# CancelDeploymentGitRepo + + +## Supported Types + +### `models.CancelDeploymentGitRepo1` + +```typescript +const value: models.CancelDeploymentGitRepo1 = { + namespace: "", + projectId: 6075.45, + type: "gitlab", + url: "https://mysterious-tuber.biz", + path: "/var/yp", + defaultBranch: "", + name: "", + private: false, + ownerType: "user", +}; +``` + +### `models.CancelDeploymentGitRepo2` + +```typescript +const value: models.CancelDeploymentGitRepo2 = { + org: "", + repo: "", + repoId: 4587.23, + type: "github", + repoOwnerId: 8174.53, + path: "/usr/libexec", + defaultBranch: "", + name: "", + private: false, + ownerType: "user", +}; +``` + +### `models.CancelDeploymentGitRepo3` + +```typescript +const value: models.CancelDeploymentGitRepo3 = { + owner: "", + repoUuid: "", + slug: "", + type: "bitbucket", + workspaceUuid: "", + path: "/net", + defaultBranch: "", + name: "", + private: false, + ownerType: "team", +}; +``` + diff --git a/docs/models/canceldeploymentgitrepo1.md b/docs/models/canceldeploymentgitrepo1.md new file mode 100644 index 00000000..7268b9a9 --- /dev/null +++ b/docs/models/canceldeploymentgitrepo1.md @@ -0,0 +1,33 @@ +# CancelDeploymentGitRepo1 + +## Example Usage + +```typescript +import { CancelDeploymentGitRepo1 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentGitRepo1 = { + namespace: "", + projectId: 6152.76, + type: "gitlab", + url: "https://tangible-jazz.org", + path: "/var", + defaultBranch: "", + name: "", + private: false, + ownerType: "team", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `namespace` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *number* | :heavy_check_mark: | N/A | +| `type` | [models.CancelDeploymentGitRepoType](../models/canceldeploymentgitrepotype.md) | :heavy_check_mark: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | +| `path` | *string* | :heavy_check_mark: | N/A | +| `defaultBranch` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `private` | *boolean* | :heavy_check_mark: | N/A | +| `ownerType` | [models.CancelDeploymentGitRepoOwnerType](../models/canceldeploymentgitrepoownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/canceldeploymentgitrepo2.md b/docs/models/canceldeploymentgitrepo2.md new file mode 100644 index 00000000..7239e78f --- /dev/null +++ b/docs/models/canceldeploymentgitrepo2.md @@ -0,0 +1,35 @@ +# CancelDeploymentGitRepo2 + +## Example Usage + +```typescript +import { CancelDeploymentGitRepo2 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentGitRepo2 = { + org: "", + repo: "", + repoId: 7044.02, + type: "github", + repoOwnerId: 2848.86, + path: "/etc/defaults", + defaultBranch: "", + name: "", + private: false, + ownerType: "user", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `org` | *string* | :heavy_check_mark: | N/A | +| `repo` | *string* | :heavy_check_mark: | N/A | +| `repoId` | *number* | :heavy_check_mark: | N/A | +| `type` | [models.CancelDeploymentGitRepoDeploymentsType](../models/canceldeploymentgitrepodeploymentstype.md) | :heavy_check_mark: | N/A | +| `repoOwnerId` | *number* | :heavy_check_mark: | N/A | +| `path` | *string* | :heavy_check_mark: | N/A | +| `defaultBranch` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `private` | *boolean* | :heavy_check_mark: | N/A | +| `ownerType` | [models.CancelDeploymentGitRepoDeploymentsOwnerType](../models/canceldeploymentgitrepodeploymentsownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/canceldeploymentgitrepo3.md b/docs/models/canceldeploymentgitrepo3.md new file mode 100644 index 00000000..3ecb4540 --- /dev/null +++ b/docs/models/canceldeploymentgitrepo3.md @@ -0,0 +1,35 @@ +# CancelDeploymentGitRepo3 + +## Example Usage + +```typescript +import { CancelDeploymentGitRepo3 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentGitRepo3 = { + owner: "", + repoUuid: "", + slug: "", + type: "bitbucket", + workspaceUuid: "", + path: "/private/var", + defaultBranch: "", + name: "", + private: false, + ownerType: "team", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `owner` | *string* | :heavy_check_mark: | N/A | +| `repoUuid` | *string* | :heavy_check_mark: | N/A | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `type` | [models.CancelDeploymentGitRepoDeploymentsResponseType](../models/canceldeploymentgitrepodeploymentsresponsetype.md) | :heavy_check_mark: | N/A | +| `workspaceUuid` | *string* | :heavy_check_mark: | N/A | +| `path` | *string* | :heavy_check_mark: | N/A | +| `defaultBranch` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `private` | *boolean* | :heavy_check_mark: | N/A | +| `ownerType` | [models.CancelDeploymentGitRepoDeploymentsResponseOwnerType](../models/canceldeploymentgitrepodeploymentsresponseownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentgitrepodeploymentsownertype.md b/docs/models/canceldeploymentgitrepodeploymentsownertype.md similarity index 84% rename from docs/models/operations/canceldeploymentgitrepodeploymentsownertype.md rename to docs/models/canceldeploymentgitrepodeploymentsownertype.md index 1f9cfd6b..411f121b 100644 --- a/docs/models/operations/canceldeploymentgitrepodeploymentsownertype.md +++ b/docs/models/canceldeploymentgitrepodeploymentsownertype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentGitRepoDeploymentsOwnerType } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentGitRepoDeploymentsOwnerType } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentGitRepoDeploymentsOwnerType = "team"; ``` diff --git a/docs/models/operations/canceldeploymentgitrepodeploymentsresponseownertype.md b/docs/models/canceldeploymentgitrepodeploymentsresponseownertype.md similarity index 82% rename from docs/models/operations/canceldeploymentgitrepodeploymentsresponseownertype.md rename to docs/models/canceldeploymentgitrepodeploymentsresponseownertype.md index 4c3dc9c0..b4df3cfd 100644 --- a/docs/models/operations/canceldeploymentgitrepodeploymentsresponseownertype.md +++ b/docs/models/canceldeploymentgitrepodeploymentsresponseownertype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentGitRepoDeploymentsResponseOwnerType } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentGitRepoDeploymentsResponseOwnerType } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentGitRepoDeploymentsResponseOwnerType = "user"; ``` diff --git a/docs/models/operations/canceldeploymentgitrepodeploymentsresponsetype.md b/docs/models/canceldeploymentgitrepodeploymentsresponsetype.md similarity index 83% rename from docs/models/operations/canceldeploymentgitrepodeploymentsresponsetype.md rename to docs/models/canceldeploymentgitrepodeploymentsresponsetype.md index 88cfeb25..eeb93bc4 100644 --- a/docs/models/operations/canceldeploymentgitrepodeploymentsresponsetype.md +++ b/docs/models/canceldeploymentgitrepodeploymentsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentGitRepoDeploymentsResponseType } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentGitRepoDeploymentsResponseType } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentGitRepoDeploymentsResponseType = "bitbucket"; ``` diff --git a/docs/models/operations/canceldeploymentgitrepodeploymentstype.md b/docs/models/canceldeploymentgitrepodeploymentstype.md similarity index 84% rename from docs/models/operations/canceldeploymentgitrepodeploymentstype.md rename to docs/models/canceldeploymentgitrepodeploymentstype.md index 20d9e0c4..3d959468 100644 --- a/docs/models/operations/canceldeploymentgitrepodeploymentstype.md +++ b/docs/models/canceldeploymentgitrepodeploymentstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentGitRepoDeploymentsType } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentGitRepoDeploymentsType } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentGitRepoDeploymentsType = "github"; ``` diff --git a/docs/models/operations/canceldeploymentgitrepoownertype.md b/docs/models/canceldeploymentgitrepoownertype.md similarity index 86% rename from docs/models/operations/canceldeploymentgitrepoownertype.md rename to docs/models/canceldeploymentgitrepoownertype.md index 788d2d37..85f25a08 100644 --- a/docs/models/operations/canceldeploymentgitrepoownertype.md +++ b/docs/models/canceldeploymentgitrepoownertype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentGitRepoOwnerType } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentGitRepoOwnerType } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentGitRepoOwnerType = "user"; ``` diff --git a/docs/models/operations/canceldeploymentgitrepotype.md b/docs/models/canceldeploymentgitrepotype.md similarity index 87% rename from docs/models/operations/canceldeploymentgitrepotype.md rename to docs/models/canceldeploymentgitrepotype.md index 0ce6f512..06050400 100644 --- a/docs/models/operations/canceldeploymentgitrepotype.md +++ b/docs/models/canceldeploymentgitrepotype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentGitRepoType } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentGitRepoType } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentGitRepoType = "gitlab"; ``` diff --git a/docs/models/canceldeploymentgitsource.md b/docs/models/canceldeploymentgitsource.md new file mode 100644 index 00000000..3a248c60 --- /dev/null +++ b/docs/models/canceldeploymentgitsource.md @@ -0,0 +1,97 @@ +# CancelDeploymentGitSource + + +## Supported Types + +### `models.CancelDeploymentGitSource1` + +```typescript +const value: models.CancelDeploymentGitSource1 = { + type: "github", + repoId: "", +}; +``` + +### `models.CancelDeploymentGitSource2` + +```typescript +const value: models.CancelDeploymentGitSource2 = { + type: "github", + org: "", + repo: "", +}; +``` + +### `models.CancelDeploymentGitSource3` + +```typescript +const value: models.CancelDeploymentGitSource3 = { + type: "gitlab", + projectId: "", +}; +``` + +### `models.CancelDeploymentGitSource4` + +```typescript +const value: models.CancelDeploymentGitSource4 = { + type: "bitbucket", + repoUuid: "", +}; +``` + +### `models.CancelDeploymentGitSource5` + +```typescript +const value: models.CancelDeploymentGitSource5 = { + type: "bitbucket", + owner: "", + slug: "", +}; +``` + +### `models.GitSource6` + +```typescript +const value: models.GitSource6 = { + type: "custom", + ref: "", + sha: "", + gitUrl: "https://complete-corporation.net/", +}; +``` + +### `models.GitSource7` + +```typescript +const value: models.GitSource7 = { + type: "github", + ref: "", + sha: "", + repoId: 495.00, +}; +``` + +### `models.GitSource8` + +```typescript +const value: models.GitSource8 = { + type: "gitlab", + ref: "", + sha: "", + projectId: 1018.55, +}; +``` + +### `models.GitSource9` + +```typescript +const value: models.GitSource9 = { + type: "bitbucket", + ref: "", + sha: "", + workspaceUuid: "", + repoUuid: "", +}; +``` + diff --git a/docs/models/canceldeploymentgitsource1.md b/docs/models/canceldeploymentgitsource1.md new file mode 100644 index 00000000..8298cdd4 --- /dev/null +++ b/docs/models/canceldeploymentgitsource1.md @@ -0,0 +1,22 @@ +# CancelDeploymentGitSource1 + +## Example Usage + +```typescript +import { CancelDeploymentGitSource1 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentGitSource1 = { + type: "github", + repoId: 1220.86, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `type` | [models.CancelDeploymentGitSourceType](../models/canceldeploymentgitsourcetype.md) | :heavy_check_mark: | N/A | +| `repoId` | *models.CancelDeploymentGitSourceRepoId* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/canceldeploymentgitsource2.md b/docs/models/canceldeploymentgitsource2.md new file mode 100644 index 00000000..a69733fd --- /dev/null +++ b/docs/models/canceldeploymentgitsource2.md @@ -0,0 +1,24 @@ +# CancelDeploymentGitSource2 + +## Example Usage + +```typescript +import { CancelDeploymentGitSource2 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentGitSource2 = { + type: "github", + org: "", + repo: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `type` | [models.CancelDeploymentGitSourceDeploymentsType](../models/canceldeploymentgitsourcedeploymentstype.md) | :heavy_check_mark: | N/A | +| `org` | *string* | :heavy_check_mark: | N/A | +| `repo` | *string* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/canceldeploymentgitsource3.md b/docs/models/canceldeploymentgitsource3.md new file mode 100644 index 00000000..4a1443e3 --- /dev/null +++ b/docs/models/canceldeploymentgitsource3.md @@ -0,0 +1,22 @@ +# CancelDeploymentGitSource3 + +## Example Usage + +```typescript +import { CancelDeploymentGitSource3 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentGitSource3 = { + type: "gitlab", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CancelDeploymentGitSourceDeploymentsResponseType](../models/canceldeploymentgitsourcedeploymentsresponsetype.md) | :heavy_check_mark: | N/A | +| `projectId` | *models.CancelDeploymentGitSourceProjectId* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/canceldeploymentgitsource4.md b/docs/models/canceldeploymentgitsource4.md new file mode 100644 index 00000000..e35fb53a --- /dev/null +++ b/docs/models/canceldeploymentgitsource4.md @@ -0,0 +1,23 @@ +# CancelDeploymentGitSource4 + +## Example Usage + +```typescript +import { CancelDeploymentGitSource4 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentGitSource4 = { + type: "bitbucket", + repoUuid: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CancelDeploymentGitSourceDeploymentsResponse200Type](../models/canceldeploymentgitsourcedeploymentsresponse200type.md) | :heavy_check_mark: | N/A | +| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | +| `repoUuid` | *string* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/canceldeploymentgitsource5.md b/docs/models/canceldeploymentgitsource5.md new file mode 100644 index 00000000..0ec9231e --- /dev/null +++ b/docs/models/canceldeploymentgitsource5.md @@ -0,0 +1,24 @@ +# CancelDeploymentGitSource5 + +## Example Usage + +```typescript +import { CancelDeploymentGitSource5 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentGitSource5 = { + type: "bitbucket", + owner: "", + slug: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType](../models/canceldeploymentgitsourcedeploymentsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `owner` | *string* | :heavy_check_mark: | N/A | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md b/docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md similarity index 79% rename from docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md rename to docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md index 63725f7d..56427348 100644 --- a/docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md +++ b/docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type = diff --git a/docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md b/docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md similarity index 79% rename from docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md rename to docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md index cac39ab2..1e18f31b 100644 --- a/docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md +++ b/docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type = diff --git a/docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md b/docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md similarity index 79% rename from docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md rename to docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md index a1fdb891..61596cc1 100644 --- a/docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md +++ b/docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type = diff --git a/docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md b/docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md similarity index 79% rename from docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md rename to docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md index 56d2e44f..992bb7a2 100644 --- a/docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md +++ b/docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = diff --git a/docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsontype.md b/docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsontype.md similarity index 81% rename from docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsontype.md rename to docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsontype.md index 90c7360f..ff70cf26 100644 --- a/docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsontype.md +++ b/docs/models/canceldeploymentgitsourcedeploymentsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = "bitbucket"; diff --git a/docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200type.md b/docs/models/canceldeploymentgitsourcedeploymentsresponse200type.md similarity index 82% rename from docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200type.md rename to docs/models/canceldeploymentgitsourcedeploymentsresponse200type.md index 8dd5232c..cb6dae4a 100644 --- a/docs/models/operations/canceldeploymentgitsourcedeploymentsresponse200type.md +++ b/docs/models/canceldeploymentgitsourcedeploymentsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentGitSourceDeploymentsResponse200Type } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentGitSourceDeploymentsResponse200Type } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentGitSourceDeploymentsResponse200Type = "bitbucket"; ``` diff --git a/docs/models/operations/canceldeploymentgitsourcedeploymentsresponsetype.md b/docs/models/canceldeploymentgitsourcedeploymentsresponsetype.md similarity index 82% rename from docs/models/operations/canceldeploymentgitsourcedeploymentsresponsetype.md rename to docs/models/canceldeploymentgitsourcedeploymentsresponsetype.md index 5bee6a87..f400ae64 100644 --- a/docs/models/operations/canceldeploymentgitsourcedeploymentsresponsetype.md +++ b/docs/models/canceldeploymentgitsourcedeploymentsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentGitSourceDeploymentsResponseType } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentGitSourceDeploymentsResponseType } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentGitSourceDeploymentsResponseType = "gitlab"; ``` diff --git a/docs/models/operations/canceldeploymentgitsourcedeploymentstype.md b/docs/models/canceldeploymentgitsourcedeploymentstype.md similarity index 84% rename from docs/models/operations/canceldeploymentgitsourcedeploymentstype.md rename to docs/models/canceldeploymentgitsourcedeploymentstype.md index 1371709d..f39381d0 100644 --- a/docs/models/operations/canceldeploymentgitsourcedeploymentstype.md +++ b/docs/models/canceldeploymentgitsourcedeploymentstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentGitSourceDeploymentsType } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentGitSourceDeploymentsType } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentGitSourceDeploymentsType = "github"; ``` diff --git a/docs/models/operations/canceldeploymentgitsourceprojectid.md b/docs/models/canceldeploymentgitsourceprojectid.md similarity index 100% rename from docs/models/operations/canceldeploymentgitsourceprojectid.md rename to docs/models/canceldeploymentgitsourceprojectid.md diff --git a/docs/models/operations/canceldeploymentgitsourcerepoid.md b/docs/models/canceldeploymentgitsourcerepoid.md similarity index 100% rename from docs/models/operations/canceldeploymentgitsourcerepoid.md rename to docs/models/canceldeploymentgitsourcerepoid.md diff --git a/docs/models/operations/canceldeploymentgitsourcetype.md b/docs/models/canceldeploymentgitsourcetype.md similarity index 86% rename from docs/models/operations/canceldeploymentgitsourcetype.md rename to docs/models/canceldeploymentgitsourcetype.md index 0b682eab..746b336b 100644 --- a/docs/models/operations/canceldeploymentgitsourcetype.md +++ b/docs/models/canceldeploymentgitsourcetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentGitSourceType } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentGitSourceType } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentGitSourceType = "github"; ``` diff --git a/docs/models/canceldeploymenthas1.md b/docs/models/canceldeploymenthas1.md new file mode 100644 index 00000000..b22f5dc6 --- /dev/null +++ b/docs/models/canceldeploymenthas1.md @@ -0,0 +1,19 @@ +# CancelDeploymentHas1 + +## Example Usage + +```typescript +import { CancelDeploymentHas1 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentHas1 = { + type: "host", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `type` | [models.CancelDeploymentHasType](../models/canceldeploymenthastype.md) | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/canceldeploymenthas2.md b/docs/models/canceldeploymenthas2.md new file mode 100644 index 00000000..1d5a5106 --- /dev/null +++ b/docs/models/canceldeploymenthas2.md @@ -0,0 +1,20 @@ +# CancelDeploymentHas2 + +## Example Usage + +```typescript +import { CancelDeploymentHas2 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentHas2 = { + type: "cookie", + key: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `type` | [models.CancelDeploymentHasDeploymentsType](../models/canceldeploymenthasdeploymentstype.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymenthasdeploymentstype.md b/docs/models/canceldeploymenthasdeploymentstype.md similarity index 86% rename from docs/models/operations/canceldeploymenthasdeploymentstype.md rename to docs/models/canceldeploymenthasdeploymentstype.md index 26b7b177..529ad5c1 100644 --- a/docs/models/operations/canceldeploymenthasdeploymentstype.md +++ b/docs/models/canceldeploymenthasdeploymentstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentHasDeploymentsType } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentHasDeploymentsType } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentHasDeploymentsType = "header"; ``` diff --git a/docs/models/canceldeploymenthastype.md b/docs/models/canceldeploymenthastype.md new file mode 100644 index 00000000..7ccb7717 --- /dev/null +++ b/docs/models/canceldeploymenthastype.md @@ -0,0 +1,15 @@ +# CancelDeploymentHasType + +## Example Usage + +```typescript +import { CancelDeploymentHasType } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentHasType = "host"; +``` + +## Values + +```typescript +"host" +``` \ No newline at end of file diff --git a/docs/models/canceldeploymentintegrations.md b/docs/models/canceldeploymentintegrations.md new file mode 100644 index 00000000..55ff1a43 --- /dev/null +++ b/docs/models/canceldeploymentintegrations.md @@ -0,0 +1,22 @@ +# CancelDeploymentIntegrations + +## Example Usage + +```typescript +import { CancelDeploymentIntegrations } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentIntegrations = { + status: "skipped", + startedAt: 6174.97, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `status` | [models.CancelDeploymentDeploymentsStatus](../models/canceldeploymentdeploymentsstatus.md) | :heavy_check_mark: | N/A | +| `startedAt` | *number* | :heavy_check_mark: | N/A | +| `completedAt` | *number* | :heavy_minus_sign: | N/A | +| `skippedAt` | *number* | :heavy_minus_sign: | N/A | +| `skippedBy` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/canceldeploymentlambdas.md b/docs/models/canceldeploymentlambdas.md new file mode 100644 index 00000000..f30b049b --- /dev/null +++ b/docs/models/canceldeploymentlambdas.md @@ -0,0 +1,29 @@ +# CancelDeploymentLambdas + +A partial representation of a Build used by the deployment endpoint. + +## Example Usage + +```typescript +import { CancelDeploymentLambdas } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentLambdas = { + output: [ + { + path: "/usr/libdata", + functionName: "", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `entrypoint` | *string* | :heavy_minus_sign: | N/A | +| `readyState` | [models.CancelDeploymentDeploymentsReadyState](../models/canceldeploymentdeploymentsreadystate.md) | :heavy_minus_sign: | N/A | +| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | +| `output` | [models.CancelDeploymentOutput](../models/canceldeploymentoutput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/canceldeploymentmicrofrontends.md b/docs/models/canceldeploymentmicrofrontends.md new file mode 100644 index 00000000..6e54da31 --- /dev/null +++ b/docs/models/canceldeploymentmicrofrontends.md @@ -0,0 +1,26 @@ +# CancelDeploymentMicrofrontends + + +## Supported Types + +### `models.CancelDeploymentMicrofrontends1` + +```typescript +const value: models.CancelDeploymentMicrofrontends1 = { + groupIds: [ + "", + ], +}; +``` + +### `models.CancelDeploymentMicrofrontends2` + +```typescript +const value: models.CancelDeploymentMicrofrontends2 = { + isDefaultApp: false, + groupIds: [ + "", + ], +}; +``` + diff --git a/docs/models/operations/canceldeploymentmicrofrontends1.md b/docs/models/canceldeploymentmicrofrontends1.md similarity index 99% rename from docs/models/operations/canceldeploymentmicrofrontends1.md rename to docs/models/canceldeploymentmicrofrontends1.md index f1a2a3d5..b2f96c4c 100644 --- a/docs/models/operations/canceldeploymentmicrofrontends1.md +++ b/docs/models/canceldeploymentmicrofrontends1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentMicrofrontends1 } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentMicrofrontends1 } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentMicrofrontends1 = { groupIds: [ diff --git a/docs/models/operations/canceldeploymentmicrofrontends2.md b/docs/models/canceldeploymentmicrofrontends2.md similarity index 96% rename from docs/models/operations/canceldeploymentmicrofrontends2.md rename to docs/models/canceldeploymentmicrofrontends2.md index 57728ad3..59efc1f7 100644 --- a/docs/models/operations/canceldeploymentmicrofrontends2.md +++ b/docs/models/canceldeploymentmicrofrontends2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentMicrofrontends2 } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentMicrofrontends2 } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentMicrofrontends2 = { isDefaultApp: false, @@ -17,7 +17,7 @@ let value: CancelDeploymentMicrofrontends2 = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `applications` | Record | :heavy_minus_sign: | A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. | +| `applications` | Record | :heavy_minus_sign: | A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. | | `isDefaultApp` | *boolean* | :heavy_check_mark: | N/A | | `defaultRoute` | *string* | :heavy_minus_sign: | A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. | | `groupIds` | *string*[] | :heavy_check_mark: | The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. | \ No newline at end of file diff --git a/docs/models/canceldeploymentmissing1.md b/docs/models/canceldeploymentmissing1.md new file mode 100644 index 00000000..788fb6b3 --- /dev/null +++ b/docs/models/canceldeploymentmissing1.md @@ -0,0 +1,19 @@ +# CancelDeploymentMissing1 + +## Example Usage + +```typescript +import { CancelDeploymentMissing1 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentMissing1 = { + type: "host", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `type` | [models.CancelDeploymentMissingType](../models/canceldeploymentmissingtype.md) | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/canceldeploymentmissing2.md b/docs/models/canceldeploymentmissing2.md new file mode 100644 index 00000000..75ffe42b --- /dev/null +++ b/docs/models/canceldeploymentmissing2.md @@ -0,0 +1,20 @@ +# CancelDeploymentMissing2 + +## Example Usage + +```typescript +import { CancelDeploymentMissing2 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentMissing2 = { + type: "cookie", + key: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `type` | [models.CancelDeploymentMissingDeploymentsType](../models/canceldeploymentmissingdeploymentstype.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentmissingdeploymentstype.md b/docs/models/canceldeploymentmissingdeploymentstype.md similarity index 85% rename from docs/models/operations/canceldeploymentmissingdeploymentstype.md rename to docs/models/canceldeploymentmissingdeploymentstype.md index 13ab5a3a..81b6052a 100644 --- a/docs/models/operations/canceldeploymentmissingdeploymentstype.md +++ b/docs/models/canceldeploymentmissingdeploymentstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentMissingDeploymentsType } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentMissingDeploymentsType } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentMissingDeploymentsType = "cookie"; ``` diff --git a/docs/models/operations/canceldeploymentmissingtype.md b/docs/models/canceldeploymentmissingtype.md similarity index 86% rename from docs/models/operations/canceldeploymentmissingtype.md rename to docs/models/canceldeploymentmissingtype.md index 71e8310e..4f5b810f 100644 --- a/docs/models/operations/canceldeploymentmissingtype.md +++ b/docs/models/canceldeploymentmissingtype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentMissingType } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentMissingType } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentMissingType = "host"; ``` diff --git a/docs/models/operations/canceldeploymentoidctokenclaims.md b/docs/models/canceldeploymentoidctokenclaims.md similarity index 97% rename from docs/models/operations/canceldeploymentoidctokenclaims.md rename to docs/models/canceldeploymentoidctokenclaims.md index 60573019..bbfa905d 100644 --- a/docs/models/operations/canceldeploymentoidctokenclaims.md +++ b/docs/models/canceldeploymentoidctokenclaims.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentOidcTokenClaims } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentOidcTokenClaims } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentOidcTokenClaims = { iss: "", diff --git a/docs/models/operations/canceldeploymentoutput.md b/docs/models/canceldeploymentoutput.md similarity index 84% rename from docs/models/operations/canceldeploymentoutput.md rename to docs/models/canceldeploymentoutput.md index 82483783..f96e85d8 100644 --- a/docs/models/operations/canceldeploymentoutput.md +++ b/docs/models/canceldeploymentoutput.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentOutput } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentOutput } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentOutput = { path: "/usr/src", diff --git a/docs/models/canceldeploymentplan.md b/docs/models/canceldeploymentplan.md new file mode 100644 index 00000000..fa3166a9 --- /dev/null +++ b/docs/models/canceldeploymentplan.md @@ -0,0 +1,15 @@ +# CancelDeploymentPlan + +## Example Usage + +```typescript +import { CancelDeploymentPlan } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentPlan = "hobby"; +``` + +## Values + +```typescript +"pro" | "enterprise" | "hobby" +``` \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentproject.md b/docs/models/canceldeploymentproject.md similarity index 86% rename from docs/models/operations/canceldeploymentproject.md rename to docs/models/canceldeploymentproject.md index 7862fe3b..b569c4c6 100644 --- a/docs/models/operations/canceldeploymentproject.md +++ b/docs/models/canceldeploymentproject.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentProject } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentProject } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentProject = { id: "", diff --git a/docs/models/canceldeploymentprojectsettings.md b/docs/models/canceldeploymentprojectsettings.md new file mode 100644 index 00000000..0d73bafd --- /dev/null +++ b/docs/models/canceldeploymentprojectsettings.md @@ -0,0 +1,22 @@ +# CancelDeploymentProjectSettings + +## Example Usage + +```typescript +import { CancelDeploymentProjectSettings } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentProjectSettings = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `buildCommand` | *string* | :heavy_minus_sign: | N/A | +| `devCommand` | *string* | :heavy_minus_sign: | N/A | +| `framework` | [models.CancelDeploymentFramework](../models/canceldeploymentframework.md) | :heavy_minus_sign: | N/A | +| `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | +| `installCommand` | *string* | :heavy_minus_sign: | N/A | +| `outputDirectory` | *string* | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.CancelDeploymentSpeedInsights](../models/canceldeploymentspeedinsights.md) | :heavy_minus_sign: | N/A | +| `webAnalytics` | [models.CancelDeploymentWebAnalytics](../models/canceldeploymentwebanalytics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/canceldeploymentreadystate.md b/docs/models/canceldeploymentreadystate.md new file mode 100644 index 00000000..cb25bf11 --- /dev/null +++ b/docs/models/canceldeploymentreadystate.md @@ -0,0 +1,15 @@ +# CancelDeploymentReadyState + +## Example Usage + +```typescript +import { CancelDeploymentReadyState } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentReadyState = "BUILDING"; +``` + +## Values + +```typescript +"BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED" +``` \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentreadysubstate.md b/docs/models/canceldeploymentreadysubstate.md similarity index 92% rename from docs/models/operations/canceldeploymentreadysubstate.md rename to docs/models/canceldeploymentreadysubstate.md index 496e1570..c6e537b9 100644 --- a/docs/models/operations/canceldeploymentreadysubstate.md +++ b/docs/models/canceldeploymentreadysubstate.md @@ -5,7 +5,7 @@ Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether ## Example Usage ```typescript -import { CancelDeploymentReadySubstate } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentReadySubstate } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentReadySubstate = "STAGED"; ``` diff --git a/docs/models/operations/canceldeploymentrequest.md b/docs/models/canceldeploymentrequest.md similarity index 94% rename from docs/models/operations/canceldeploymentrequest.md rename to docs/models/canceldeploymentrequest.md index 5217ab78..315e7ee8 100644 --- a/docs/models/operations/canceldeploymentrequest.md +++ b/docs/models/canceldeploymentrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentRequest } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentRequest } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentRequest = { id: "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd", diff --git a/docs/models/operations/canceldeploymentresponsebody.md b/docs/models/canceldeploymentresponsebody.md similarity index 92% rename from docs/models/operations/canceldeploymentresponsebody.md rename to docs/models/canceldeploymentresponsebody.md index 464b7017..64466d63 100644 --- a/docs/models/operations/canceldeploymentresponsebody.md +++ b/docs/models/canceldeploymentresponsebody.md @@ -5,7 +5,7 @@ The private deployment representation of a Deployment. ## Example Usage ```typescript -import { CancelDeploymentResponseBody } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentResponseBody } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentResponseBody = { build: { @@ -60,44 +60,44 @@ let value: CancelDeploymentResponseBody = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `aliasAssignedAt` | *operations.CancelDeploymentAliasAssignedAt* | :heavy_minus_sign: | N/A | +| `aliasAssignedAt` | *models.CancelDeploymentAliasAssignedAt* | :heavy_minus_sign: | N/A | | `alwaysRefuseToBuild` | *boolean* | :heavy_minus_sign: | N/A | -| `build` | [operations.CancelDeploymentBuild](../../models/operations/canceldeploymentbuild.md) | :heavy_check_mark: | N/A | +| `build` | [models.CancelDeploymentBuild](../models/canceldeploymentbuild.md) | :heavy_check_mark: | N/A | | `buildArtifactUrls` | *string*[] | :heavy_minus_sign: | N/A | -| `builds` | [operations.CancelDeploymentBuilds](../../models/operations/canceldeploymentbuilds.md)[] | :heavy_minus_sign: | N/A | +| `builds` | [models.CancelDeploymentBuilds](../models/canceldeploymentbuilds.md)[] | :heavy_minus_sign: | N/A | | `env` | *string*[] | :heavy_check_mark: | N/A | | `inspectorUrl` | *string* | :heavy_check_mark: | N/A | | `isInConcurrentBuildsQueue` | *boolean* | :heavy_check_mark: | N/A | | `isInSystemBuildsQueue` | *boolean* | :heavy_check_mark: | N/A | -| `projectSettings` | [operations.CancelDeploymentProjectSettings](../../models/operations/canceldeploymentprojectsettings.md) | :heavy_check_mark: | N/A | +| `projectSettings` | [models.CancelDeploymentProjectSettings](../models/canceldeploymentprojectsettings.md) | :heavy_check_mark: | N/A | | `readyStateReason` | *string* | :heavy_minus_sign: | N/A | -| `integrations` | [operations.CancelDeploymentIntegrations](../../models/operations/canceldeploymentintegrations.md) | :heavy_minus_sign: | N/A | +| `integrations` | [models.CancelDeploymentIntegrations](../models/canceldeploymentintegrations.md) | :heavy_minus_sign: | N/A | | `alias` | *string*[] | :heavy_minus_sign: | N/A | | `aliasAssigned` | *boolean* | :heavy_check_mark: | N/A | | `bootedAt` | *number* | :heavy_check_mark: | N/A | | `buildingAt` | *number* | :heavy_check_mark: | N/A | | `buildSkipped` | *boolean* | :heavy_check_mark: | N/A | -| `creator` | [operations.CancelDeploymentCreator](../../models/operations/canceldeploymentcreator.md) | :heavy_check_mark: | N/A | +| `creator` | [models.CancelDeploymentCreator](../models/canceldeploymentcreator.md) | :heavy_check_mark: | N/A | | `initReadyAt` | *number* | :heavy_minus_sign: | N/A | | `isFirstBranchDeployment` | *boolean* | :heavy_minus_sign: | N/A | -| `lambdas` | [operations.CancelDeploymentLambdas](../../models/operations/canceldeploymentlambdas.md)[] | :heavy_minus_sign: | N/A | +| `lambdas` | [models.CancelDeploymentLambdas](../models/canceldeploymentlambdas.md)[] | :heavy_minus_sign: | N/A | | `public` | *boolean* | :heavy_check_mark: | N/A | | `ready` | *number* | :heavy_minus_sign: | N/A | -| `status` | [operations.CancelDeploymentStatus](../../models/operations/canceldeploymentstatus.md) | :heavy_check_mark: | N/A | -| `team` | [operations.CancelDeploymentTeam](../../models/operations/canceldeploymentteam.md) | :heavy_minus_sign: | N/A | +| `status` | [models.CancelDeploymentStatus](../models/canceldeploymentstatus.md) | :heavy_check_mark: | N/A | +| `team` | [models.CancelDeploymentTeam](../models/canceldeploymentteam.md) | :heavy_minus_sign: | N/A | | `userAliases` | *string*[] | :heavy_minus_sign: | N/A | | `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | `ttyBuildLogs` | *boolean* | :heavy_minus_sign: | N/A | -| `customEnvironment` | *operations.CancelDeploymentCustomEnvironment* | :heavy_minus_sign: | N/A | +| `customEnvironment` | *models.CancelDeploymentCustomEnvironment* | :heavy_minus_sign: | N/A | | `id` | *string* | :heavy_check_mark: | N/A | -| `aliasError` | [operations.CancelDeploymentAliasError](../../models/operations/canceldeploymentaliaserror.md) | :heavy_minus_sign: | N/A | +| `aliasError` | [models.CancelDeploymentAliasError](../models/canceldeploymentaliaserror.md) | :heavy_minus_sign: | N/A | | `aliasFinal` | *string* | :heavy_minus_sign: | N/A | -| `aliasWarning` | [operations.CancelDeploymentAliasWarning](../../models/operations/canceldeploymentaliaswarning.md) | :heavy_minus_sign: | N/A | +| `aliasWarning` | [models.CancelDeploymentAliasWarning](../models/canceldeploymentaliaswarning.md) | :heavy_minus_sign: | N/A | | `autoAssignCustomDomains` | *boolean* | :heavy_minus_sign: | applies to custom domains only, defaults to `true` | | `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | `buildErrorAt` | *number* | :heavy_minus_sign: | N/A | -| `checksState` | [operations.CancelDeploymentChecksState](../../models/operations/canceldeploymentchecksstate.md) | :heavy_minus_sign: | N/A | -| `checksConclusion` | [operations.CancelDeploymentChecksConclusion](../../models/operations/canceldeploymentchecksconclusion.md) | :heavy_minus_sign: | N/A | +| `checksState` | [models.CancelDeploymentChecksState](../models/canceldeploymentchecksstate.md) | :heavy_minus_sign: | N/A | +| `checksConclusion` | [models.CancelDeploymentChecksConclusion](../models/canceldeploymentchecksconclusion.md) | :heavy_minus_sign: | N/A | | `createdAt` | *number* | :heavy_check_mark: | N/A | | `deletedAt` | *number* | :heavy_minus_sign: | N/A | | `defaultRoute` | *string* | :heavy_minus_sign: | Computed field that is only available for deployments with a microfrontend configuration. | @@ -107,32 +107,33 @@ let value: CancelDeploymentResponseBody = { | `errorMessage` | *string* | :heavy_minus_sign: | N/A | | `errorStep` | *string* | :heavy_minus_sign: | N/A | | `passiveRegions` | *string*[] | :heavy_minus_sign: | Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service | -| `gitSource` | *operations.CancelDeploymentGitSource* | :heavy_minus_sign: | N/A | +| `gitSource` | *models.CancelDeploymentGitSource* | :heavy_minus_sign: | N/A | | `name` | *string* | :heavy_check_mark: | N/A | | `meta` | Record | :heavy_check_mark: | N/A | -| `project` | [operations.CancelDeploymentProject](../../models/operations/canceldeploymentproject.md) | :heavy_minus_sign: | N/A | -| `readyState` | [operations.CancelDeploymentReadyState](../../models/operations/canceldeploymentreadystate.md) | :heavy_check_mark: | N/A | -| `readySubstate` | [operations.CancelDeploymentReadySubstate](../../models/operations/canceldeploymentreadysubstate.md) | :heavy_minus_sign: | Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic | +| `originCacheRegion` | *string* | :heavy_minus_sign: | N/A | +| `project` | [models.CancelDeploymentProject](../models/canceldeploymentproject.md) | :heavy_minus_sign: | N/A | +| `readyState` | [models.CancelDeploymentReadyState](../models/canceldeploymentreadystate.md) | :heavy_check_mark: | N/A | +| `readySubstate` | [models.CancelDeploymentReadySubstate](../models/canceldeploymentreadysubstate.md) | :heavy_minus_sign: | Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic | | `regions` | *string*[] | :heavy_check_mark: | N/A | | `softDeletedByRetention` | *boolean* | :heavy_minus_sign: | N/A | -| `source` | [operations.CancelDeploymentSource](../../models/operations/canceldeploymentsource.md) | :heavy_minus_sign: | N/A | -| `target` | [operations.CancelDeploymentTarget](../../models/operations/canceldeploymenttarget.md) | :heavy_minus_sign: | N/A | -| `type` | [operations.CancelDeploymentType](../../models/operations/canceldeploymenttype.md) | :heavy_check_mark: | N/A | +| `source` | [models.CancelDeploymentSource](../models/canceldeploymentsource.md) | :heavy_minus_sign: | N/A | +| `target` | [models.CancelDeploymentTarget](../models/canceldeploymenttarget.md) | :heavy_minus_sign: | N/A | +| `type` | [models.CancelDeploymentType](../models/canceldeploymenttype.md) | :heavy_check_mark: | N/A | | `undeletedAt` | *number* | :heavy_minus_sign: | N/A | | `url` | *string* | :heavy_check_mark: | N/A | | `version` | *number* | :heavy_check_mark: | N/A | -| `oidcTokenClaims` | [operations.CancelDeploymentOidcTokenClaims](../../models/operations/canceldeploymentoidctokenclaims.md) | :heavy_minus_sign: | N/A | +| `oidcTokenClaims` | [models.CancelDeploymentOidcTokenClaims](../models/canceldeploymentoidctokenclaims.md) | :heavy_minus_sign: | N/A | | `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | `createdIn` | *string* | :heavy_check_mark: | N/A | -| `crons` | [operations.CancelDeploymentCrons](../../models/operations/canceldeploymentcrons.md)[] | :heavy_minus_sign: | N/A | -| `functions` | Record | :heavy_minus_sign: | N/A | +| `crons` | [models.CancelDeploymentCrons](../models/canceldeploymentcrons.md)[] | :heavy_minus_sign: | N/A | +| `functions` | Record | :heavy_minus_sign: | N/A | | `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | `ownerId` | *string* | :heavy_check_mark: | N/A | | `passiveConnectConfigurationId` | *string* | :heavy_minus_sign: | Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions) | -| `plan` | [operations.CancelDeploymentPlan](../../models/operations/canceldeploymentplan.md) | :heavy_check_mark: | N/A | +| `plan` | [models.CancelDeploymentPlan](../models/canceldeploymentplan.md) | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | -| `routes` | *operations.CancelDeploymentRoutes*[] | :heavy_check_mark: | N/A | -| `gitRepo` | *operations.CancelDeploymentGitRepo* | :heavy_minus_sign: | N/A | -| `flags` | *operations.CancelDeploymentFlags* | :heavy_minus_sign: | N/A | -| `microfrontends` | *operations.CancelDeploymentMicrofrontends* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `routes` | *models.CancelDeploymentRoutes*[] | :heavy_check_mark: | N/A | +| `gitRepo` | *models.CancelDeploymentGitRepo* | :heavy_minus_sign: | N/A | +| `flags` | *models.CancelDeploymentFlags* | :heavy_minus_sign: | N/A | +| `microfrontends` | *models.CancelDeploymentMicrofrontends* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/canceldeploymentroutes.md b/docs/models/canceldeploymentroutes.md new file mode 100644 index 00000000..d1b0de3d --- /dev/null +++ b/docs/models/canceldeploymentroutes.md @@ -0,0 +1,31 @@ +# CancelDeploymentRoutes + + +## Supported Types + +### `models.CancelDeploymentRoutes1` + +```typescript +const value: models.CancelDeploymentRoutes1 = { + src: "", +}; +``` + +### `models.CancelDeploymentRoutes2` + +```typescript +const value: models.CancelDeploymentRoutes2 = { + handle: "resource", +}; +``` + +### `models.CancelDeploymentRoutes3` + +```typescript +const value: models.CancelDeploymentRoutes3 = { + src: "", + continue: false, + middleware: 8847.65, +}; +``` + diff --git a/docs/models/operations/canceldeploymentroutes1.md b/docs/models/canceldeploymentroutes1.md similarity index 93% rename from docs/models/operations/canceldeploymentroutes1.md rename to docs/models/canceldeploymentroutes1.md index ac6ce68d..56c55dcc 100644 --- a/docs/models/operations/canceldeploymentroutes1.md +++ b/docs/models/canceldeploymentroutes1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentRoutes1 } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentRoutes1 } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentRoutes1 = { src: "", @@ -24,9 +24,9 @@ let value: CancelDeploymentRoutes1 = { | `check` | *boolean* | :heavy_minus_sign: | N/A | | `important` | *boolean* | :heavy_minus_sign: | N/A | | `status` | *number* | :heavy_minus_sign: | N/A | -| `has` | *operations.CancelDeploymentRoutesHas*[] | :heavy_minus_sign: | N/A | -| `missing` | *operations.CancelDeploymentRoutesMissing*[] | :heavy_minus_sign: | N/A | -| `locale` | [operations.RoutesLocale](../../models/operations/routeslocale.md) | :heavy_minus_sign: | N/A | +| `has` | *models.CancelDeploymentRoutesHas*[] | :heavy_minus_sign: | N/A | +| `missing` | *models.CancelDeploymentRoutesMissing*[] | :heavy_minus_sign: | N/A | +| `locale` | [models.RoutesLocale](../models/routeslocale.md) | :heavy_minus_sign: | N/A | | `middlewarePath` | *string* | :heavy_minus_sign: | A middleware key within the `output` key under the build result. Overrides a `middleware` definition. | | `middlewareRawSrc` | *string*[] | :heavy_minus_sign: | The original middleware matchers. | | `middleware` | *number* | :heavy_minus_sign: | A middleware index in the `middleware` key under the build result | \ No newline at end of file diff --git a/docs/models/canceldeploymentroutes2.md b/docs/models/canceldeploymentroutes2.md new file mode 100644 index 00000000..58d1f816 --- /dev/null +++ b/docs/models/canceldeploymentroutes2.md @@ -0,0 +1,20 @@ +# CancelDeploymentRoutes2 + +## Example Usage + +```typescript +import { CancelDeploymentRoutes2 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentRoutes2 = { + handle: "hit", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `handle` | [models.CancelDeploymentRoutesHandle](../models/canceldeploymentrouteshandle.md) | :heavy_check_mark: | N/A | +| `src` | *string* | :heavy_minus_sign: | N/A | +| `dest` | *string* | :heavy_minus_sign: | N/A | +| `status` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentroutes3.md b/docs/models/canceldeploymentroutes3.md similarity index 86% rename from docs/models/operations/canceldeploymentroutes3.md rename to docs/models/canceldeploymentroutes3.md index ab93f1e0..bbc7753c 100644 --- a/docs/models/operations/canceldeploymentroutes3.md +++ b/docs/models/canceldeploymentroutes3.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentRoutes3 } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentRoutes3 } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentRoutes3 = { src: "", diff --git a/docs/models/operations/canceldeploymentrouteshandle.md b/docs/models/canceldeploymentrouteshandle.md similarity index 89% rename from docs/models/operations/canceldeploymentrouteshandle.md rename to docs/models/canceldeploymentrouteshandle.md index 6c85e4b3..2d981b6b 100644 --- a/docs/models/operations/canceldeploymentrouteshandle.md +++ b/docs/models/canceldeploymentrouteshandle.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentRoutesHandle } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentRoutesHandle } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentRoutesHandle = "resource"; ``` diff --git a/docs/models/canceldeploymentrouteshas.md b/docs/models/canceldeploymentrouteshas.md new file mode 100644 index 00000000..05339c5a --- /dev/null +++ b/docs/models/canceldeploymentrouteshas.md @@ -0,0 +1,23 @@ +# CancelDeploymentRoutesHas + + +## Supported Types + +### `models.CancelDeploymentHas1` + +```typescript +const value: models.CancelDeploymentHas1 = { + type: "host", + value: "", +}; +``` + +### `models.CancelDeploymentHas2` + +```typescript +const value: models.CancelDeploymentHas2 = { + type: "header", + key: "", +}; +``` + diff --git a/docs/models/canceldeploymentroutesmissing.md b/docs/models/canceldeploymentroutesmissing.md new file mode 100644 index 00000000..7915d80b --- /dev/null +++ b/docs/models/canceldeploymentroutesmissing.md @@ -0,0 +1,23 @@ +# CancelDeploymentRoutesMissing + + +## Supported Types + +### `models.CancelDeploymentMissing1` + +```typescript +const value: models.CancelDeploymentMissing1 = { + type: "host", + value: "", +}; +``` + +### `models.CancelDeploymentMissing2` + +```typescript +const value: models.CancelDeploymentMissing2 = { + type: "cookie", + key: "", +}; +``` + diff --git a/docs/models/canceldeploymentsource.md b/docs/models/canceldeploymentsource.md new file mode 100644 index 00000000..5841a3e3 --- /dev/null +++ b/docs/models/canceldeploymentsource.md @@ -0,0 +1,15 @@ +# CancelDeploymentSource + +## Example Usage + +```typescript +import { CancelDeploymentSource } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentSource = "clone/repo"; +``` + +## Values + +```typescript +"api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy" | "v0-web" +``` \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentspeedinsights.md b/docs/models/canceldeploymentspeedinsights.md similarity index 96% rename from docs/models/operations/canceldeploymentspeedinsights.md rename to docs/models/canceldeploymentspeedinsights.md index 373013f8..a4169cf7 100644 --- a/docs/models/operations/canceldeploymentspeedinsights.md +++ b/docs/models/canceldeploymentspeedinsights.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentSpeedInsights } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentSpeedInsights } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentSpeedInsights = { id: "", diff --git a/docs/models/canceldeploymentstatus.md b/docs/models/canceldeploymentstatus.md new file mode 100644 index 00000000..d076a404 --- /dev/null +++ b/docs/models/canceldeploymentstatus.md @@ -0,0 +1,15 @@ +# CancelDeploymentStatus + +## Example Usage + +```typescript +import { CancelDeploymentStatus } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentStatus = "ERROR"; +``` + +## Values + +```typescript +"BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED" +``` \ No newline at end of file diff --git a/docs/models/canceldeploymenttarget.md b/docs/models/canceldeploymenttarget.md new file mode 100644 index 00000000..93833539 --- /dev/null +++ b/docs/models/canceldeploymenttarget.md @@ -0,0 +1,15 @@ +# CancelDeploymentTarget + +## Example Usage + +```typescript +import { CancelDeploymentTarget } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentTarget = "production"; +``` + +## Values + +```typescript +"production" | "staging" +``` \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentteam.md b/docs/models/canceldeploymentteam.md similarity index 88% rename from docs/models/operations/canceldeploymentteam.md rename to docs/models/canceldeploymentteam.md index 25c7a4cf..e03a5eb2 100644 --- a/docs/models/operations/canceldeploymentteam.md +++ b/docs/models/canceldeploymentteam.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentTeam } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentTeam } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentTeam = { id: "", diff --git a/docs/models/canceldeploymenttype.md b/docs/models/canceldeploymenttype.md new file mode 100644 index 00000000..cad6816a --- /dev/null +++ b/docs/models/canceldeploymenttype.md @@ -0,0 +1,15 @@ +# CancelDeploymentType + +## Example Usage + +```typescript +import { CancelDeploymentType } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: CancelDeploymentType = "LAMBDAS"; +``` + +## Values + +```typescript +"LAMBDAS" +``` \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentwebanalytics.md b/docs/models/canceldeploymentwebanalytics.md similarity index 95% rename from docs/models/operations/canceldeploymentwebanalytics.md rename to docs/models/canceldeploymentwebanalytics.md index ea37ce4f..0c440451 100644 --- a/docs/models/operations/canceldeploymentwebanalytics.md +++ b/docs/models/canceldeploymentwebanalytics.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CancelDeploymentWebAnalytics } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { CancelDeploymentWebAnalytics } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentWebAnalytics = { id: "", diff --git a/docs/models/changes.md b/docs/models/changes.md new file mode 100644 index 00000000..56a22fff --- /dev/null +++ b/docs/models/changes.md @@ -0,0 +1,14 @@ +# Changes + +## Example Usage + +```typescript +import { Changes } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: Changes = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/checkdomainpricerequest.md b/docs/models/checkdomainpricerequest.md new file mode 100644 index 00000000..89183ea0 --- /dev/null +++ b/docs/models/checkdomainpricerequest.md @@ -0,0 +1,21 @@ +# CheckDomainPriceRequest + +## Example Usage + +```typescript +import { CheckDomainPriceRequest } from "@vercel/sdk/models/checkdomainpriceop.js"; + +let value: CheckDomainPriceRequest = { + name: "example.com", + type: "new", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the domain for which the price needs to be checked. | example.com | +| `type` | [models.QueryParamType](../models/queryparamtype.md) | :heavy_minus_sign: | In which status of the domain the price needs to be checked. | new | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | \ No newline at end of file diff --git a/docs/models/operations/checkdomainpriceresponsebody.md b/docs/models/checkdomainpriceresponsebody.md similarity index 91% rename from docs/models/operations/checkdomainpriceresponsebody.md rename to docs/models/checkdomainpriceresponsebody.md index 57317461..8e2307e6 100644 --- a/docs/models/operations/checkdomainpriceresponsebody.md +++ b/docs/models/checkdomainpriceresponsebody.md @@ -5,7 +5,7 @@ Successful response which returns the price of the domain and the period. ## Example Usage ```typescript -import { CheckDomainPriceResponseBody } from "@vercel/sdk/models/operations/checkdomainprice.js"; +import { CheckDomainPriceResponseBody } from "@vercel/sdk/models/checkdomainpriceop.js"; let value: CheckDomainPriceResponseBody = {}; ``` diff --git a/docs/models/operations/checkdomainstatusrequest.md b/docs/models/checkdomainstatusrequest.md similarity index 95% rename from docs/models/operations/checkdomainstatusrequest.md rename to docs/models/checkdomainstatusrequest.md index 21722542..1904282c 100644 --- a/docs/models/operations/checkdomainstatusrequest.md +++ b/docs/models/checkdomainstatusrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CheckDomainStatusRequest } from "@vercel/sdk/models/operations/checkdomainstatus.js"; +import { CheckDomainStatusRequest } from "@vercel/sdk/models/checkdomainstatusop.js"; let value: CheckDomainStatusRequest = { name: "example.com", diff --git a/docs/models/operations/checkdomainstatusresponsebody.md b/docs/models/checkdomainstatusresponsebody.md similarity index 93% rename from docs/models/operations/checkdomainstatusresponsebody.md rename to docs/models/checkdomainstatusresponsebody.md index 4feac30e..422e6939 100644 --- a/docs/models/operations/checkdomainstatusresponsebody.md +++ b/docs/models/checkdomainstatusresponsebody.md @@ -5,7 +5,7 @@ Successful response checking if a Domain's name is available. ## Example Usage ```typescript -import { CheckDomainStatusResponseBody } from "@vercel/sdk/models/operations/checkdomainstatus.js"; +import { CheckDomainStatusResponseBody } from "@vercel/sdk/models/checkdomainstatusop.js"; let value: CheckDomainStatusResponseBody = { available: false, diff --git a/docs/models/checks.md b/docs/models/checks.md new file mode 100644 index 00000000..5dd9ec42 --- /dev/null +++ b/docs/models/checks.md @@ -0,0 +1,35 @@ +# Checks + +## Example Usage + +```typescript +import { Checks } from "@vercel/sdk/models/getallchecksop.js"; + +let value: Checks = { + createdAt: 5666.01, + id: "", + integrationId: "", + name: "", + rerequestable: false, + status: "registered", + updatedAt: 5232.48, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `completedAt` | *number* | :heavy_minus_sign: | N/A | +| `conclusion` | [models.GetAllChecksConclusion](../models/getallchecksconclusion.md) | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `detailsUrl` | *string* | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `output` | [models.GetAllChecksOutput](../models/getallchecksoutput.md) | :heavy_minus_sign: | N/A | +| `path` | *string* | :heavy_minus_sign: | N/A | +| `rerequestable` | *boolean* | :heavy_check_mark: | N/A | +| `startedAt` | *number* | :heavy_minus_sign: | N/A | +| `status` | [models.GetAllChecksStatus](../models/getallchecksstatus.md) | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/checksconclusion.md b/docs/models/checksconclusion.md new file mode 100644 index 00000000..0e40b02f --- /dev/null +++ b/docs/models/checksconclusion.md @@ -0,0 +1,15 @@ +# ChecksConclusion + +## Example Usage + +```typescript +import { ChecksConclusion } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: ChecksConclusion = "skipped"; +``` + +## Values + +```typescript +"succeeded" | "failed" | "skipped" | "canceled" +``` \ No newline at end of file diff --git a/docs/models/checksstate.md b/docs/models/checksstate.md new file mode 100644 index 00000000..5acdead8 --- /dev/null +++ b/docs/models/checksstate.md @@ -0,0 +1,15 @@ +# ChecksState + +## Example Usage + +```typescript +import { ChecksState } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: ChecksState = "registered"; +``` + +## Values + +```typescript +"registered" | "running" | "completed" +``` \ No newline at end of file diff --git a/docs/models/cls.md b/docs/models/cls.md new file mode 100644 index 00000000..64d49b11 --- /dev/null +++ b/docs/models/cls.md @@ -0,0 +1,21 @@ +# Cls + +## Example Usage + +```typescript +import { Cls } from "@vercel/sdk/models/updatecheckop.js"; + +let value: Cls = { + value: 4, + previousValue: 2, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `value` | *number* | :heavy_check_mark: | Cumulative Layout Shift value | 4 | +| `previousValue` | *number* | :heavy_minus_sign: | Previous Cumulative Layout Shift value to display a delta | 2 | +| `source` | [models.UpdateCheckChecksRequestSource](../models/updatecheckchecksrequestsource.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/components/aclaction.md b/docs/models/components/aclaction.md deleted file mode 100644 index b3afbda8..00000000 --- a/docs/models/components/aclaction.md +++ /dev/null @@ -1,17 +0,0 @@ -# ACLAction - -Enum containing the actions that can be performed against a resource. Group operations are included. - -## Example Usage - -```typescript -import { ACLAction } from "@vercel/sdk/models/components/aclaction.js"; - -let value: ACLAction = "read"; -``` - -## Values - -```typescript -"create" | "delete" | "read" | "update" | "list" -``` \ No newline at end of file diff --git a/docs/models/components/activedashboardviews.md b/docs/models/components/activedashboardviews.md deleted file mode 100644 index f615ff23..00000000 --- a/docs/models/components/activedashboardviews.md +++ /dev/null @@ -1,22 +0,0 @@ -# ActiveDashboardViews - -set of dashboard view preferences (cards or list) per scopeId - -## Example Usage - -```typescript -import { ActiveDashboardViews } from "@vercel/sdk/models/components/authuser.js"; - -let value: ActiveDashboardViews = { - scopeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `scopeId` | *string* | :heavy_check_mark: | N/A | -| `viewPreference` | [components.ViewPreference](../../models/components/viewpreference.md) | :heavy_minus_sign: | N/A | -| `favoritesViewPreference` | [components.FavoritesViewPreference](../../models/components/favoritesviewpreference.md) | :heavy_minus_sign: | N/A | -| `recentsViewPreference` | [components.RecentsViewPreference](../../models/components/recentsviewpreference.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/authtokenscopesorigin.md b/docs/models/components/authtokenscopesorigin.md deleted file mode 100644 index 24aa1013..00000000 --- a/docs/models/components/authtokenscopesorigin.md +++ /dev/null @@ -1,15 +0,0 @@ -# AuthTokenScopesOrigin - -## Example Usage - -```typescript -import { AuthTokenScopesOrigin } from "@vercel/sdk/models/components/authtoken.js"; - -let value: AuthTokenScopesOrigin = "email"; -``` - -## Values - -```typescript -"saml" | "github" | "gitlab" | "bitbucket" | "email" | "manual" | "passkey" | "otp" | "sms" | "invite" -``` \ No newline at end of file diff --git a/docs/models/components/authtokenscopestype.md b/docs/models/components/authtokenscopestype.md deleted file mode 100644 index 09d96db3..00000000 --- a/docs/models/components/authtokenscopestype.md +++ /dev/null @@ -1,15 +0,0 @@ -# AuthTokenScopesType - -## Example Usage - -```typescript -import { AuthTokenScopesType } from "@vercel/sdk/models/components/authtoken.js"; - -let value: AuthTokenScopesType = "user"; -``` - -## Values - -```typescript -"user" -``` \ No newline at end of file diff --git a/docs/models/components/authuserlimitedversion.md b/docs/models/components/authuserlimitedversion.md deleted file mode 100644 index d1702ce1..00000000 --- a/docs/models/components/authuserlimitedversion.md +++ /dev/null @@ -1,17 +0,0 @@ -# AuthUserLimitedVersion - -The user's version. Will either be unset or `northstar`. - -## Example Usage - -```typescript -import { AuthUserLimitedVersion } from "@vercel/sdk/models/components/authuserlimited.js"; - -let value: AuthUserLimitedVersion = "northstar"; -``` - -## Values - -```typescript -"northstar" -``` \ No newline at end of file diff --git a/docs/models/components/billing.md b/docs/models/components/billing.md deleted file mode 100644 index 573fb68e..00000000 --- a/docs/models/components/billing.md +++ /dev/null @@ -1,16 +0,0 @@ -# Billing - -An object containing billing infomation associated with the User account. - -## Example Usage - -```typescript -import { Billing } from "@vercel/sdk/models/components/authuser.js"; - -let value: Billing = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/datacache.md b/docs/models/components/datacache.md deleted file mode 100644 index 081de621..00000000 --- a/docs/models/components/datacache.md +++ /dev/null @@ -1,17 +0,0 @@ -# DataCache - -data cache settings - -## Example Usage - -```typescript -import { DataCache } from "@vercel/sdk/models/components/authuser.js"; - -let value: DataCache = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `excessBillingEnabled` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/dismissedtoasts.md b/docs/models/components/dismissedtoasts.md deleted file mode 100644 index 6b15e034..00000000 --- a/docs/models/components/dismissedtoasts.md +++ /dev/null @@ -1,26 +0,0 @@ -# DismissedToasts - -A record of when, under a certain scopeId, a toast was dismissed - -## Example Usage - -```typescript -import { DismissedToasts } from "@vercel/sdk/models/components/authuser.js"; - -let value: DismissedToasts = { - name: "", - dismissals: [ - { - scopeId: "", - createdAt: 3091.92, - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | N/A | -| `dismissals` | [components.Dismissals](../../models/components/dismissals.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/edgeconfigitem.md b/docs/models/components/edgeconfigitem.md deleted file mode 100644 index 68444838..00000000 --- a/docs/models/components/edgeconfigitem.md +++ /dev/null @@ -1,28 +0,0 @@ -# EdgeConfigItem - -The EdgeConfig. - -## Example Usage - -```typescript -import { EdgeConfigItem } from "@vercel/sdk/models/components/edgeconfigitem.js"; - -let value: EdgeConfigItem = { - key: "", - value: {}, - edgeConfigId: "", - createdAt: 789.96, - updatedAt: 9464.16, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *components.EdgeConfigItemValue* | :heavy_check_mark: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/entitlements.md b/docs/models/components/entitlements.md deleted file mode 100644 index ff73aadb..00000000 --- a/docs/models/components/entitlements.md +++ /dev/null @@ -1,17 +0,0 @@ -# Entitlements - -## Example Usage - -```typescript -import { Entitlements } from "@vercel/sdk/models/components/teamlimited.js"; - -let value: Entitlements = { - entitlement: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `entitlement` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/favoriteprojectsandspaces.md b/docs/models/components/favoriteprojectsandspaces.md deleted file mode 100644 index 2877c2cb..00000000 --- a/docs/models/components/favoriteprojectsandspaces.md +++ /dev/null @@ -1,25 +0,0 @@ -# FavoriteProjectsAndSpaces - - -## Supported Types - -### `components.One` - -```typescript -const value: components.One = { - projectId: "", - scopeSlug: "", - scopeId: "", -}; -``` - -### `components.Two` - -```typescript -const value: components.Two = { - spaceId: "", - scopeSlug: "", - scopeId: "", -}; -``` - diff --git a/docs/models/components/favoritesviewpreference.md b/docs/models/components/favoritesviewpreference.md deleted file mode 100644 index abc93b01..00000000 --- a/docs/models/components/favoritesviewpreference.md +++ /dev/null @@ -1,15 +0,0 @@ -# FavoritesViewPreference - -## Example Usage - -```typescript -import { FavoritesViewPreference } from "@vercel/sdk/models/components/authuser.js"; - -let value: FavoritesViewPreference = "closed"; -``` - -## Values - -```typescript -"open" | "closed" -``` \ No newline at end of file diff --git a/docs/models/components/featureblocks.md b/docs/models/components/featureblocks.md deleted file mode 100644 index b9980bed..00000000 --- a/docs/models/components/featureblocks.md +++ /dev/null @@ -1,17 +0,0 @@ -# FeatureBlocks - -Feature blocks for the user - -## Example Usage - -```typescript -import { FeatureBlocks } from "@vercel/sdk/models/components/authuser.js"; - -let value: FeatureBlocks = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `webAnalytics` | [components.WebAnalytics](../../models/components/webanalytics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/gituserid.md b/docs/models/components/gituserid.md deleted file mode 100644 index 295094ea..00000000 --- a/docs/models/components/gituserid.md +++ /dev/null @@ -1,17 +0,0 @@ -# GitUserId - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `number` - -```typescript -const value: number = 1557.63; -``` - diff --git a/docs/models/components/importflowgitprovider.md b/docs/models/components/importflowgitprovider.md deleted file mode 100644 index 7385bfa1..00000000 --- a/docs/models/components/importflowgitprovider.md +++ /dev/null @@ -1,15 +0,0 @@ -# ImportFlowGitProvider - -## Example Usage - -```typescript -import { ImportFlowGitProvider } from "@vercel/sdk/models/components/authuser.js"; - -let value: ImportFlowGitProvider = "bitbucket"; -``` - -## Values - -```typescript -"github" | "gitlab" | "bitbucket" -``` \ No newline at end of file diff --git a/docs/models/components/joinedfrom.md b/docs/models/components/joinedfrom.md deleted file mode 100644 index 8b194a3f..00000000 --- a/docs/models/components/joinedfrom.md +++ /dev/null @@ -1,27 +0,0 @@ -# JoinedFrom - -## Example Usage - -```typescript -import { JoinedFrom } from "@vercel/sdk/models/components/teamlimited.js"; - -let value: JoinedFrom = { - origin: "import", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `origin` | [components.Origin](../../models/components/origin.md) | :heavy_check_mark: | N/A | -| `commitId` | *string* | :heavy_minus_sign: | N/A | -| `repoId` | *string* | :heavy_minus_sign: | N/A | -| `repoPath` | *string* | :heavy_minus_sign: | N/A | -| `gitUserId` | *components.GitUserId* | :heavy_minus_sign: | N/A | -| `gitUserLogin` | *string* | :heavy_minus_sign: | N/A | -| `ssoUserId` | *string* | :heavy_minus_sign: | N/A | -| `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | -| `idpUserId` | *string* | :heavy_minus_sign: | N/A | -| `dsyncUserId` | *string* | :heavy_minus_sign: | N/A | -| `dsyncConnectedAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/membership.md b/docs/models/components/membership.md deleted file mode 100644 index 21b1dcc4..00000000 --- a/docs/models/components/membership.md +++ /dev/null @@ -1,32 +0,0 @@ -# Membership - -The membership of the authenticated User in relation to the Team. - -## Example Usage - -```typescript -import { Membership } from "@vercel/sdk/models/components/teamlimited.js"; - -let value: Membership = { - confirmed: false, - confirmedAt: 3861.38, - role: "MEMBER", - createdAt: 2107.11, - created: 7711.46, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `uid` | *string* | :heavy_minus_sign: | N/A | -| `entitlements` | [components.Entitlements](../../models/components/entitlements.md)[] | :heavy_minus_sign: | N/A | -| `confirmed` | *boolean* | :heavy_check_mark: | N/A | -| `confirmedAt` | *number* | :heavy_check_mark: | N/A | -| `accessRequestedAt` | *number* | :heavy_minus_sign: | N/A | -| `role` | [components.Role](../../models/components/role.md) | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `created` | *number* | :heavy_check_mark: | N/A | -| `joinedFrom` | [components.JoinedFrom](../../models/components/joinedfrom.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/one.md b/docs/models/components/one.md deleted file mode 100644 index 2e79b2a8..00000000 --- a/docs/models/components/one.md +++ /dev/null @@ -1,23 +0,0 @@ -# One - -A list of projects and spaces across teams that a user has marked as a favorite. - -## Example Usage - -```typescript -import { One } from "@vercel/sdk/models/components/authuser.js"; - -let value: One = { - projectId: "", - scopeSlug: "", - scopeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `scopeSlug` | *string* | :heavy_check_mark: | N/A | -| `scopeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/origin.md b/docs/models/components/origin.md deleted file mode 100644 index 556af795..00000000 --- a/docs/models/components/origin.md +++ /dev/null @@ -1,15 +0,0 @@ -# Origin - -## Example Usage - -```typescript -import { Origin } from "@vercel/sdk/models/components/teamlimited.js"; - -let value: Origin = "feedback"; -``` - -## Values - -```typescript -"link" | "saml" | "mail" | "import" | "teams" | "github" | "gitlab" | "bitbucket" | "dsync" | "feedback" | "organization-teams" -``` \ No newline at end of file diff --git a/docs/models/components/pagination.md b/docs/models/components/pagination.md deleted file mode 100644 index cb279ad9..00000000 --- a/docs/models/components/pagination.md +++ /dev/null @@ -1,23 +0,0 @@ -# Pagination - -This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. - -## Example Usage - -```typescript -import { Pagination } from "@vercel/sdk/models/components/pagination.js"; - -let value: Pagination = { - count: 20, - next: 1540095775951, - prev: 1540095775951, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `count` | *number* | :heavy_check_mark: | Amount of items in the current page. | 20 | -| `next` | *number* | :heavy_check_mark: | Timestamp that must be used to request the next page. | 1540095775951 | -| `prev` | *number* | :heavy_check_mark: | Timestamp that must be used to request the previous page. | 1540095775951 | \ No newline at end of file diff --git a/docs/models/components/preferredscopesandgitnamespaces.md b/docs/models/components/preferredscopesandgitnamespaces.md deleted file mode 100644 index 2552a27c..00000000 --- a/docs/models/components/preferredscopesandgitnamespaces.md +++ /dev/null @@ -1,19 +0,0 @@ -# PreferredScopesAndGitNamespaces - -## Example Usage - -```typescript -import { PreferredScopesAndGitNamespaces } from "@vercel/sdk/models/components/authuser.js"; - -let value: PreferredScopesAndGitNamespaces = { - scopeId: "", - gitNamespaceId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| --------------------------- | --------------------------- | --------------------------- | --------------------------- | -| `scopeId` | *string* | :heavy_check_mark: | N/A | -| `gitNamespaceId` | *components.GitNamespaceId* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/reason.md b/docs/models/components/reason.md deleted file mode 100644 index a14109b0..00000000 --- a/docs/models/components/reason.md +++ /dev/null @@ -1,15 +0,0 @@ -# Reason - -## Example Usage - -```typescript -import { Reason } from "@vercel/sdk/models/components/authuser.js"; - -let value: Reason = "SUBSCRIPTION_CANCELED"; -``` - -## Values - -```typescript -"SUBSCRIPTION_CANCELED" | "SUBSCRIPTION_EXPIRED" | "UNPAID_INVOICE" | "ENTERPRISE_TRIAL_ENDED" | "FAIR_USE_LIMITS_EXCEEDED" | "BLOCKED_FOR_PLATFORM_ABUSE" -``` \ No newline at end of file diff --git a/docs/models/components/recentsviewpreference.md b/docs/models/components/recentsviewpreference.md deleted file mode 100644 index 6dd8f72d..00000000 --- a/docs/models/components/recentsviewpreference.md +++ /dev/null @@ -1,15 +0,0 @@ -# RecentsViewPreference - -## Example Usage - -```typescript -import { RecentsViewPreference } from "@vercel/sdk/models/components/authuser.js"; - -let value: RecentsViewPreference = "closed"; -``` - -## Values - -```typescript -"open" | "closed" -``` \ No newline at end of file diff --git a/docs/models/components/remotecaching.md b/docs/models/components/remotecaching.md deleted file mode 100644 index 4bf2541d..00000000 --- a/docs/models/components/remotecaching.md +++ /dev/null @@ -1,17 +0,0 @@ -# RemoteCaching - -remote caching settings - -## Example Usage - -```typescript -import { RemoteCaching } from "@vercel/sdk/models/components/authuser.js"; - -let value: RemoteCaching = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `enabled` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/resourceconfig.md b/docs/models/components/resourceconfig.md deleted file mode 100644 index 28ee12db..00000000 --- a/docs/models/components/resourceconfig.md +++ /dev/null @@ -1,35 +0,0 @@ -# ResourceConfig - -An object containing infomation related to the amount of platform resources may be allocated to the User account. - -## Example Usage - -```typescript -import { ResourceConfig } from "@vercel/sdk/models/components/authuser.js"; - -let value: ResourceConfig = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `blobStores` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `nodeType` | *string* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `concurrentBuilds` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `awsAccountType` | *string* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `awsAccountIds` | *string*[] | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `cfZoneName` | *string* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `imageOptimizationType` | *string* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `edgeConfigs` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `edgeConfigSize` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `edgeFunctionMaxSizeBytes` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `edgeFunctionExecutionTimeoutMs` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `serverlessFunctionDefaultMaxExecutionTime` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `kvDatabases` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `postgresDatabases` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `integrationStores` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `cronJobs` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `cronJobsPerProject` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `microfrontendGroupsPerTeam` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | -| `microfrontendProjectsPerGroup` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | \ No newline at end of file diff --git a/docs/models/components/role.md b/docs/models/components/role.md deleted file mode 100644 index cc68fe08..00000000 --- a/docs/models/components/role.md +++ /dev/null @@ -1,15 +0,0 @@ -# Role - -## Example Usage - -```typescript -import { Role } from "@vercel/sdk/models/components/teamlimited.js"; - -let value: Role = "MEMBER"; -``` - -## Values - -```typescript -"OWNER" | "MEMBER" | "DEVELOPER" | "BILLING" | "VIEWER" | "CONTRIBUTOR" -``` \ No newline at end of file diff --git a/docs/models/components/saml.md b/docs/models/components/saml.md deleted file mode 100644 index 5423db00..00000000 --- a/docs/models/components/saml.md +++ /dev/null @@ -1,34 +0,0 @@ -# Saml - -When "Single Sign-On (SAML)" is configured, this object contains information that allows the client-side to identify whether or not this Team has SAML enforced. - -## Example Usage - -```typescript -import { Saml } from "@vercel/sdk/models/components/teamlimited.js"; - -let value: Saml = { - connection: { - type: "OktaSAML", - status: "linked", - state: "active", - connectedAt: 1611796915677, - lastReceivedWebhookEvent: 1611796915677, - }, - directory: { - type: "OktaSAML", - state: "active", - connectedAt: 1611796915677, - lastReceivedWebhookEvent: 1611796915677, - }, - enforced: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connection` | [components.Connection](../../models/components/connection.md) | :heavy_minus_sign: | Information for the SAML Single Sign-On configuration. | -| `directory` | [components.Directory](../../models/components/directory.md) | :heavy_minus_sign: | Information for the Directory Sync configuration. | -| `enforced` | *boolean* | :heavy_check_mark: | When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team's SAML Single Sign-On provider. | \ No newline at end of file diff --git a/docs/models/components/scopes.md b/docs/models/components/scopes.md deleted file mode 100644 index 98a8fc36..00000000 --- a/docs/models/components/scopes.md +++ /dev/null @@ -1,26 +0,0 @@ -# Scopes - - -## Supported Types - -### `components.Scopes1` - -```typescript -const value: components.Scopes1 = { - type: "user", - origin: "bitbucket", - createdAt: 2383.71, -}; -``` - -### `components.Scopes2` - -```typescript -const value: components.Scopes2 = { - type: "team", - teamId: "", - origin: "manual", - createdAt: 2916.49, -}; -``` - diff --git a/docs/models/components/scopes1.md b/docs/models/components/scopes1.md deleted file mode 100644 index ecad5e3a..00000000 --- a/docs/models/components/scopes1.md +++ /dev/null @@ -1,24 +0,0 @@ -# Scopes1 - -The access scopes granted to the token. - -## Example Usage - -```typescript -import { Scopes1 } from "@vercel/sdk/models/components/authtoken.js"; - -let value: Scopes1 = { - type: "user", - origin: "github", - createdAt: 6030.38, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `type` | [components.AuthTokenScopesType](../../models/components/authtokenscopestype.md) | :heavy_check_mark: | N/A | -| `origin` | [components.ScopesOrigin](../../models/components/scopesorigin.md) | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `expiresAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/scopes2.md b/docs/models/components/scopes2.md deleted file mode 100644 index e2466bc2..00000000 --- a/docs/models/components/scopes2.md +++ /dev/null @@ -1,26 +0,0 @@ -# Scopes2 - -The access scopes granted to the token. - -## Example Usage - -```typescript -import { Scopes2 } from "@vercel/sdk/models/components/authtoken.js"; - -let value: Scopes2 = { - type: "team", - teamId: "", - origin: "github", - createdAt: 5938.30, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `type` | [components.ScopesType](../../models/components/scopestype.md) | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_check_mark: | N/A | -| `origin` | [components.AuthTokenScopesOrigin](../../models/components/authtokenscopesorigin.md) | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `expiresAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/scopesorigin.md b/docs/models/components/scopesorigin.md deleted file mode 100644 index 92e37938..00000000 --- a/docs/models/components/scopesorigin.md +++ /dev/null @@ -1,15 +0,0 @@ -# ScopesOrigin - -## Example Usage - -```typescript -import { ScopesOrigin } from "@vercel/sdk/models/components/authtoken.js"; - -let value: ScopesOrigin = "manual"; -``` - -## Values - -```typescript -"saml" | "github" | "gitlab" | "bitbucket" | "email" | "manual" | "passkey" | "otp" | "sms" | "invite" -``` \ No newline at end of file diff --git a/docs/models/components/scopestype.md b/docs/models/components/scopestype.md deleted file mode 100644 index 93c46845..00000000 --- a/docs/models/components/scopestype.md +++ /dev/null @@ -1,15 +0,0 @@ -# ScopesType - -## Example Usage - -```typescript -import { ScopesType } from "@vercel/sdk/models/components/authtoken.js"; - -let value: ScopesType = "team"; -``` - -## Values - -```typescript -"team" -``` \ No newline at end of file diff --git a/docs/models/components/security.md b/docs/models/components/security.md deleted file mode 100644 index 754f6d7b..00000000 --- a/docs/models/components/security.md +++ /dev/null @@ -1,15 +0,0 @@ -# Security - -## Example Usage - -```typescript -import { Security } from "@vercel/sdk/models/components/security.js"; - -let value: Security = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `bearerToken` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/softblock.md b/docs/models/components/softblock.md deleted file mode 100644 index 044b9683..00000000 --- a/docs/models/components/softblock.md +++ /dev/null @@ -1,22 +0,0 @@ -# SoftBlock - -When the User account has been "soft blocked", this property will contain the date when the restriction was enacted, and the identifier for why. - -## Example Usage - -```typescript -import { SoftBlock } from "@vercel/sdk/models/components/authuser.js"; - -let value: SoftBlock = { - blockedAt: 6598.04, - reason: "SUBSCRIPTION_CANCELED", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `blockedAt` | *number* | :heavy_check_mark: | N/A | -| `reason` | [components.Reason](../../models/components/reason.md) | :heavy_check_mark: | N/A | -| `blockedDueToOverageType` | [components.BlockedDueToOverageType](../../models/components/blockedduetooveragetype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/two.md b/docs/models/components/two.md deleted file mode 100644 index e45345ab..00000000 --- a/docs/models/components/two.md +++ /dev/null @@ -1,23 +0,0 @@ -# Two - -A list of projects and spaces across teams that a user has marked as a favorite. - -## Example Usage - -```typescript -import { Two } from "@vercel/sdk/models/components/authuser.js"; - -let value: Two = { - spaceId: "", - scopeSlug: "", - scopeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `spaceId` | *string* | :heavy_check_mark: | N/A | -| `scopeSlug` | *string* | :heavy_check_mark: | N/A | -| `scopeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/type.md b/docs/models/components/type.md deleted file mode 100644 index 4ab98f73..00000000 --- a/docs/models/components/type.md +++ /dev/null @@ -1,17 +0,0 @@ -# Type - -String indicating the type of file tree entry. - -## Example Usage - -```typescript -import { Type } from "@vercel/sdk/models/components/filetree.js"; - -let value: Type = "file"; -``` - -## Values - -```typescript -"directory" | "file" | "symlink" | "lambda" | "middleware" | "invalid" -``` \ No newline at end of file diff --git a/docs/models/components/version.md b/docs/models/components/version.md deleted file mode 100644 index 6ec6940a..00000000 --- a/docs/models/components/version.md +++ /dev/null @@ -1,17 +0,0 @@ -# Version - -The user's version. Will either be unset or `northstar`. - -## Example Usage - -```typescript -import { Version } from "@vercel/sdk/models/components/authuser.js"; - -let value: Version = "northstar"; -``` - -## Values - -```typescript -"northstar" -``` \ No newline at end of file diff --git a/docs/models/components/viewpreference.md b/docs/models/components/viewpreference.md deleted file mode 100644 index eb88a9d1..00000000 --- a/docs/models/components/viewpreference.md +++ /dev/null @@ -1,15 +0,0 @@ -# ViewPreference - -## Example Usage - -```typescript -import { ViewPreference } from "@vercel/sdk/models/components/authuser.js"; - -let value: ViewPreference = "list"; -``` - -## Values - -```typescript -"list" | "cards" -``` \ No newline at end of file diff --git a/docs/models/components/webanalytics.md b/docs/models/components/webanalytics.md deleted file mode 100644 index fe645e18..00000000 --- a/docs/models/components/webanalytics.md +++ /dev/null @@ -1,19 +0,0 @@ -# WebAnalytics - -## Example Usage - -```typescript -import { WebAnalytics } from "@vercel/sdk/models/components/authuser.js"; - -let value: WebAnalytics = { - isCurrentlyBlocked: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------- | -------------------- | -------------------- | -------------------- | -| `blockedFrom` | *number* | :heavy_minus_sign: | N/A | -| `blockedUntil` | *number* | :heavy_minus_sign: | N/A | -| `isCurrentlyBlocked` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/computedprojectrole.md b/docs/models/computedprojectrole.md new file mode 100644 index 00000000..ca7382c2 --- /dev/null +++ b/docs/models/computedprojectrole.md @@ -0,0 +1,17 @@ +# ComputedProjectRole + +Role of this user in the project. + +## Example Usage + +```typescript +import { ComputedProjectRole } from "@vercel/sdk/models/getprojectmembersop.js"; + +let value: ComputedProjectRole = "ADMIN"; +``` + +## Values + +```typescript +"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_VIEWER" +``` \ No newline at end of file diff --git a/docs/models/conclusion.md b/docs/models/conclusion.md new file mode 100644 index 00000000..61f23fe0 --- /dev/null +++ b/docs/models/conclusion.md @@ -0,0 +1,17 @@ +# Conclusion + +The result of the check being run + +## Example Usage + +```typescript +import { Conclusion } from "@vercel/sdk/models/updatecheckop.js"; + +let value: Conclusion = "neutral"; +``` + +## Values + +```typescript +"canceled" | "failed" | "neutral" | "succeeded" | "skipped" +``` \ No newline at end of file diff --git a/docs/models/conditiongroup.md b/docs/models/conditiongroup.md new file mode 100644 index 00000000..4b749891 --- /dev/null +++ b/docs/models/conditiongroup.md @@ -0,0 +1,22 @@ +# ConditionGroup + +## Example Usage + +```typescript +import { ConditionGroup } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: ConditionGroup = { + conditions: [ + { + type: "raw_path", + op: "gt", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `conditions` | [models.Conditions](../models/conditions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/conditions.md b/docs/models/conditions.md new file mode 100644 index 00000000..58fc6513 --- /dev/null +++ b/docs/models/conditions.md @@ -0,0 +1,22 @@ +# Conditions + +## Example Usage + +```typescript +import { Conditions } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Conditions = { + type: "cookie", + op: "ex", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.PutFirewallConfigType](../models/putfirewallconfigtype.md) | :heavy_check_mark: | [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. | +| `op` | [models.Op](../models/op.md) | :heavy_check_mark: | [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value. | +| `neg` | *boolean* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *models.PutFirewallConfigValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/configuredby.md b/docs/models/configuredby.md similarity index 79% rename from docs/models/operations/configuredby.md rename to docs/models/configuredby.md index 3ac65e00..c2fe75d8 100644 --- a/docs/models/operations/configuredby.md +++ b/docs/models/configuredby.md @@ -5,9 +5,9 @@ How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to ## Example Usage ```typescript -import { ConfiguredBy } from "@vercel/sdk/models/operations/getdomainconfig.js"; +import { ConfiguredBy } from "@vercel/sdk/models/getdomainconfigop.js"; -let value: ConfiguredBy = "A"; +let value: ConfiguredBy = "dns-01"; ``` ## Values diff --git a/docs/models/components/connection.md b/docs/models/connection.md similarity index 97% rename from docs/models/components/connection.md rename to docs/models/connection.md index 4ebe61b7..1824865e 100644 --- a/docs/models/components/connection.md +++ b/docs/models/connection.md @@ -5,7 +5,7 @@ Information for the SAML Single Sign-On configuration. ## Example Usage ```typescript -import { Connection } from "@vercel/sdk/models/components/teamlimited.js"; +import { Connection } from "@vercel/sdk/models/teamlimited.js"; let value: Connection = { type: "OktaSAML", diff --git a/docs/models/operations/contact.md b/docs/models/contact.md similarity index 79% rename from docs/models/operations/contact.md rename to docs/models/contact.md index e1e1659d..dab42ea3 100644 --- a/docs/models/operations/contact.md +++ b/docs/models/contact.md @@ -3,10 +3,10 @@ ## Example Usage ```typescript -import { Contact } from "@vercel/sdk/models/operations/getaccountinfo.js"; +import { Contact } from "@vercel/sdk/models/getaccountinfoop.js"; let value: Contact = { - email: "Celine.Brekke42@gmail.com", + email: "Dorcas8@hotmail.com", }; ``` diff --git a/docs/models/contenthint.md b/docs/models/contenthint.md new file mode 100644 index 00000000..8b95607b --- /dev/null +++ b/docs/models/contenthint.md @@ -0,0 +1,143 @@ +# ContentHint + + +## Supported Types + +### `models.ContentHint1` + +```typescript +const value: models.ContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +### `models.ContentHint2` + +```typescript +const value: models.ContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +### `models.ContentHint3` + +```typescript +const value: models.ContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +### `models.ContentHint4` + +```typescript +const value: models.ContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +### `models.ContentHint5` + +```typescript +const value: models.ContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +### `models.ContentHint6` + +```typescript +const value: models.ContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +### `models.ContentHint7` + +```typescript +const value: models.ContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +### `models.ContentHint8` + +```typescript +const value: models.ContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +### `models.ContentHint9` + +```typescript +const value: models.ContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +### `models.ContentHint10` + +```typescript +const value: models.ContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +### `models.UpdateProjectDataCacheContentHint11` + +```typescript +const value: models.UpdateProjectDataCacheContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +### `models.Twelve` + +```typescript +const value: models.Twelve = { + type: "postgres-database", + storeId: "", +}; +``` + +### `models.Thirteen` + +```typescript +const value: models.Thirteen = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +### `models.Fourteen` + +```typescript +const value: models.Fourteen = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +### `models.Fifteen` + +```typescript +const value: models.Fifteen = { + type: "flags-connection-string", + projectId: "", +}; +``` + diff --git a/docs/models/contenthint1.md b/docs/models/contenthint1.md new file mode 100644 index 00000000..af2e6a3b --- /dev/null +++ b/docs/models/contenthint1.md @@ -0,0 +1,19 @@ +# ContentHint1 + +## Example Usage + +```typescript +import { ContentHint1 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: ContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `type` | [models.ContentHintType](../models/contenthinttype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/contenthint10.md b/docs/models/contenthint10.md new file mode 100644 index 00000000..9249c36d --- /dev/null +++ b/docs/models/contenthint10.md @@ -0,0 +1,19 @@ +# ContentHint10 + +## Example Usage + +```typescript +import { ContentHint10 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: ContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type](../models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/contenthint11.md b/docs/models/contenthint11.md new file mode 100644 index 00000000..d283d267 --- /dev/null +++ b/docs/models/contenthint11.md @@ -0,0 +1,19 @@ +# ContentHint11 + +## Example Usage + +```typescript +import { ContentHint11 } from "@vercel/sdk/models/createprojectop.js"; + +let value: ContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type](../models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/contenthint12.md b/docs/models/contenthint12.md new file mode 100644 index 00000000..41b82130 --- /dev/null +++ b/docs/models/contenthint12.md @@ -0,0 +1,19 @@ +# ContentHint12 + +## Example Usage + +```typescript +import { ContentHint12 } from "@vercel/sdk/models/createprojectop.js"; + +let value: ContentHint12 = { + type: "postgres-database", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type](../models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/contenthint13.md b/docs/models/contenthint13.md new file mode 100644 index 00000000..45c48c82 --- /dev/null +++ b/docs/models/contenthint13.md @@ -0,0 +1,19 @@ +# ContentHint13 + +## Example Usage + +```typescript +import { ContentHint13 } from "@vercel/sdk/models/createprojectop.js"; + +let value: ContentHint13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type](../models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/contenthint14.md b/docs/models/contenthint14.md new file mode 100644 index 00000000..a81c1160 --- /dev/null +++ b/docs/models/contenthint14.md @@ -0,0 +1,25 @@ +# ContentHint14 + +## Example Usage + +```typescript +import { ContentHint14 } from "@vercel/sdk/models/createprojectop.js"; + +let value: ContentHint14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type](../models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/contenthint15.md b/docs/models/contenthint15.md new file mode 100644 index 00000000..e3d9a5ad --- /dev/null +++ b/docs/models/contenthint15.md @@ -0,0 +1,19 @@ +# ContentHint15 + +## Example Usage + +```typescript +import { ContentHint15 } from "@vercel/sdk/models/createprojectop.js"; + +let value: ContentHint15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type](../models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/contenthint2.md b/docs/models/contenthint2.md new file mode 100644 index 00000000..858f6cc0 --- /dev/null +++ b/docs/models/contenthint2.md @@ -0,0 +1,19 @@ +# ContentHint2 + +## Example Usage + +```typescript +import { ContentHint2 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: ContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectDataCacheContentHintType](../models/updateprojectdatacachecontenthinttype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/contenthint3.md b/docs/models/contenthint3.md new file mode 100644 index 00000000..d5b08b02 --- /dev/null +++ b/docs/models/contenthint3.md @@ -0,0 +1,19 @@ +# ContentHint3 + +## Example Usage + +```typescript +import { ContentHint3 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: ContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.UpdateProjectDataCacheContentHintProjectsType](../models/updateprojectdatacachecontenthintprojectstype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/contenthint4.md b/docs/models/contenthint4.md new file mode 100644 index 00000000..fd053c74 --- /dev/null +++ b/docs/models/contenthint4.md @@ -0,0 +1,19 @@ +# ContentHint4 + +## Example Usage + +```typescript +import { ContentHint4 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: ContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectDataCacheContentHintProjectsResponseType](../models/updateprojectdatacachecontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/contenthint5.md b/docs/models/contenthint5.md new file mode 100644 index 00000000..427bc0ba --- /dev/null +++ b/docs/models/contenthint5.md @@ -0,0 +1,19 @@ +# ContentHint5 + +## Example Usage + +```typescript +import { ContentHint5 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: ContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectDataCacheContentHintProjectsResponse200Type](../models/updateprojectdatacachecontenthintprojectsresponse200type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/contenthint6.md b/docs/models/contenthint6.md new file mode 100644 index 00000000..ce5a801f --- /dev/null +++ b/docs/models/contenthint6.md @@ -0,0 +1,19 @@ +# ContentHint6 + +## Example Usage + +```typescript +import { ContentHint6 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: ContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType](../models/updateprojectdatacachecontenthintprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/contenthint7.md b/docs/models/contenthint7.md new file mode 100644 index 00000000..971ec196 --- /dev/null +++ b/docs/models/contenthint7.md @@ -0,0 +1,19 @@ +# ContentHint7 + +## Example Usage + +```typescript +import { ContentHint7 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: ContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType](../models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/contenthint8.md b/docs/models/contenthint8.md new file mode 100644 index 00000000..635f6a1e --- /dev/null +++ b/docs/models/contenthint8.md @@ -0,0 +1,19 @@ +# ContentHint8 + +## Example Usage + +```typescript +import { ContentHint8 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: ContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType](../models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/contenthint9.md b/docs/models/contenthint9.md new file mode 100644 index 00000000..21ee77a6 --- /dev/null +++ b/docs/models/contenthint9.md @@ -0,0 +1,19 @@ +# ContentHint9 + +## Example Usage + +```typescript +import { ContentHint9 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: ContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type](../models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/contenthinttype.md b/docs/models/contenthinttype.md new file mode 100644 index 00000000..d1548d4f --- /dev/null +++ b/docs/models/contenthinttype.md @@ -0,0 +1,15 @@ +# ContentHintType + +## Example Usage + +```typescript +import { ContentHintType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: ContentHintType = "redis-url"; +``` + +## Values + +```typescript +"redis-url" +``` \ No newline at end of file diff --git a/docs/models/operations/createaccessgroupprojectaccessgroupsrole.md b/docs/models/createaccessgroupprojectaccessgroupsrole.md similarity index 84% rename from docs/models/operations/createaccessgroupprojectaccessgroupsrole.md rename to docs/models/createaccessgroupprojectaccessgroupsrole.md index 18e2cc66..24f6b723 100644 --- a/docs/models/operations/createaccessgroupprojectaccessgroupsrole.md +++ b/docs/models/createaccessgroupprojectaccessgroupsrole.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateAccessGroupProjectAccessGroupsRole } from "@vercel/sdk/models/operations/createaccessgroupproject.js"; +import { CreateAccessGroupProjectAccessGroupsRole } from "@vercel/sdk/models/createaccessgroupprojectop.js"; let value: CreateAccessGroupProjectAccessGroupsRole = "PROJECT_DEVELOPER"; ``` diff --git a/docs/models/createaccessgroupprojectrequest.md b/docs/models/createaccessgroupprojectrequest.md new file mode 100644 index 00000000..07c6bf6c --- /dev/null +++ b/docs/models/createaccessgroupprojectrequest.md @@ -0,0 +1,24 @@ +# CreateAccessGroupProjectRequest + +## Example Usage + +```typescript +import { CreateAccessGroupProjectRequest } from "@vercel/sdk/models/createaccessgroupprojectop.js"; + +let value: CreateAccessGroupProjectRequest = { + accessGroupIdOrName: "", + requestBody: { + projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", + role: "ADMIN", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `accessGroupIdOrName` | *string* | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.CreateAccessGroupProjectRequestBody](../models/createaccessgroupprojectrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createaccessgroupprojectrequestbody.md b/docs/models/createaccessgroupprojectrequestbody.md new file mode 100644 index 00000000..5b5f61c6 --- /dev/null +++ b/docs/models/createaccessgroupprojectrequestbody.md @@ -0,0 +1,19 @@ +# CreateAccessGroupProjectRequestBody + +## Example Usage + +```typescript +import { CreateAccessGroupProjectRequestBody } from "@vercel/sdk/models/createaccessgroupprojectop.js"; + +let value: CreateAccessGroupProjectRequestBody = { + projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", + role: "ADMIN", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `projectId` | *string* | :heavy_check_mark: | The ID of the project. | prj_ndlgr43fadlPyCtREAqxxdyFK | +| `role` | [models.CreateAccessGroupProjectRole](../models/createaccessgroupprojectrole.md) | :heavy_check_mark: | The project role that will be added to this Access Group. | ADMIN | \ No newline at end of file diff --git a/docs/models/createaccessgroupprojectresponsebody.md b/docs/models/createaccessgroupprojectresponsebody.md new file mode 100644 index 00000000..3eea4bf4 --- /dev/null +++ b/docs/models/createaccessgroupprojectresponsebody.md @@ -0,0 +1,27 @@ +# CreateAccessGroupProjectResponseBody + +## Example Usage + +```typescript +import { CreateAccessGroupProjectResponseBody } from "@vercel/sdk/models/createaccessgroupprojectop.js"; + +let value: CreateAccessGroupProjectResponseBody = { + teamId: "", + accessGroupId: "", + projectId: "", + role: "PROJECT_VIEWER", + createdAt: "", + updatedAt: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `teamId` | *string* | :heavy_check_mark: | N/A | +| `accessGroupId` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `role` | [models.CreateAccessGroupProjectAccessGroupsRole](../models/createaccessgroupprojectaccessgroupsrole.md) | :heavy_check_mark: | N/A | +| `createdAt` | *string* | :heavy_check_mark: | N/A | +| `updatedAt` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createaccessgroupprojectrole.md b/docs/models/createaccessgroupprojectrole.md similarity index 88% rename from docs/models/operations/createaccessgroupprojectrole.md rename to docs/models/createaccessgroupprojectrole.md index 7d784b0b..23dd23fd 100644 --- a/docs/models/operations/createaccessgroupprojectrole.md +++ b/docs/models/createaccessgroupprojectrole.md @@ -5,7 +5,7 @@ The project role that will be added to this Access Group. ## Example Usage ```typescript -import { CreateAccessGroupProjectRole } from "@vercel/sdk/models/operations/createaccessgroupproject.js"; +import { CreateAccessGroupProjectRole } from "@vercel/sdk/models/createaccessgroupprojectop.js"; let value: CreateAccessGroupProjectRole = "ADMIN"; ``` diff --git a/docs/models/operations/createaccessgroupprojects.md b/docs/models/createaccessgroupprojects.md similarity index 90% rename from docs/models/operations/createaccessgroupprojects.md rename to docs/models/createaccessgroupprojects.md index 5c7d7773..4ea22acd 100644 --- a/docs/models/operations/createaccessgroupprojects.md +++ b/docs/models/createaccessgroupprojects.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateAccessGroupProjects } from "@vercel/sdk/models/operations/createaccessgroup.js"; +import { CreateAccessGroupProjects } from "@vercel/sdk/models/createaccessgroupop.js"; let value: CreateAccessGroupProjects = { projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", @@ -16,4 +16,4 @@ let value: CreateAccessGroupProjects = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | | `projectId` | *string* | :heavy_check_mark: | The ID of the project. | prj_ndlgr43fadlPyCtREAqxxdyFK | -| `role` | [operations.CreateAccessGroupRole](../../models/operations/createaccessgrouprole.md) | :heavy_check_mark: | The project role that will be added to this Access Group. \"null\" will remove this project level role. | ADMIN | \ No newline at end of file +| `role` | [models.CreateAccessGroupRole](../models/createaccessgrouprole.md) | :heavy_check_mark: | The project role that will be added to this Access Group. \"null\" will remove this project level role. | ADMIN | \ No newline at end of file diff --git a/docs/models/createaccessgrouprequest.md b/docs/models/createaccessgrouprequest.md new file mode 100644 index 00000000..acd49965 --- /dev/null +++ b/docs/models/createaccessgrouprequest.md @@ -0,0 +1,27 @@ +# CreateAccessGroupRequest + +## Example Usage + +```typescript +import { CreateAccessGroupRequest } from "@vercel/sdk/models/createaccessgroupop.js"; + +let value: CreateAccessGroupRequest = { + requestBody: { + name: "My access group", + projects: [ + { + projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", + role: "ADMIN", + }, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.CreateAccessGroupRequestBody](../models/createaccessgrouprequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createaccessgrouprequestbody.md b/docs/models/createaccessgrouprequestbody.md new file mode 100644 index 00000000..d1f2e779 --- /dev/null +++ b/docs/models/createaccessgrouprequestbody.md @@ -0,0 +1,25 @@ +# CreateAccessGroupRequestBody + +## Example Usage + +```typescript +import { CreateAccessGroupRequestBody } from "@vercel/sdk/models/createaccessgroupop.js"; + +let value: CreateAccessGroupRequestBody = { + name: "My access group", + projects: [ + { + projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", + role: "ADMIN", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the access group | My access group | +| `projects` | [models.CreateAccessGroupProjects](../models/createaccessgroupprojects.md)[] | :heavy_minus_sign: | N/A | | +| `membersToAdd` | *string*[] | :heavy_minus_sign: | List of members to add to the access group. | | \ No newline at end of file diff --git a/docs/models/operations/createaccessgroupresponsebody.md b/docs/models/createaccessgroupresponsebody.md similarity index 98% rename from docs/models/operations/createaccessgroupresponsebody.md rename to docs/models/createaccessgroupresponsebody.md index b243710c..26e831f1 100644 --- a/docs/models/operations/createaccessgroupresponsebody.md +++ b/docs/models/createaccessgroupresponsebody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateAccessGroupResponseBody } from "@vercel/sdk/models/operations/createaccessgroup.js"; +import { CreateAccessGroupResponseBody } from "@vercel/sdk/models/createaccessgroupop.js"; let value: CreateAccessGroupResponseBody = { membersCount: 187.90, diff --git a/docs/models/operations/createaccessgrouprole.md b/docs/models/createaccessgrouprole.md similarity index 75% rename from docs/models/operations/createaccessgrouprole.md rename to docs/models/createaccessgrouprole.md index 896390a3..50fe278d 100644 --- a/docs/models/operations/createaccessgrouprole.md +++ b/docs/models/createaccessgrouprole.md @@ -5,7 +5,7 @@ The project role that will be added to this Access Group. \"null\" will remove t ## Example Usage ```typescript -import { CreateAccessGroupRole } from "@vercel/sdk/models/operations/createaccessgroup.js"; +import { CreateAccessGroupRole } from "@vercel/sdk/models/createaccessgroupop.js"; let value: CreateAccessGroupRole = "ADMIN"; ``` diff --git a/docs/models/createauthtokenrequest.md b/docs/models/createauthtokenrequest.md new file mode 100644 index 00000000..cec2814c --- /dev/null +++ b/docs/models/createauthtokenrequest.md @@ -0,0 +1,21 @@ +# CreateAuthTokenRequest + +## Example Usage + +```typescript +import { CreateAuthTokenRequest } from "@vercel/sdk/models/createauthtokenop.js"; + +let value: CreateAuthTokenRequest = { + requestBody: { + name: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.CreateAuthTokenRequestBody](../models/createauthtokenrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createauthtokenrequestbody.md b/docs/models/createauthtokenrequestbody.md similarity index 83% rename from docs/models/operations/createauthtokenrequestbody.md rename to docs/models/createauthtokenrequestbody.md index 136d13b0..c8739fd9 100644 --- a/docs/models/operations/createauthtokenrequestbody.md +++ b/docs/models/createauthtokenrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateAuthTokenRequestBody } from "@vercel/sdk/models/operations/createauthtoken.js"; +import { CreateAuthTokenRequestBody } from "@vercel/sdk/models/createauthtokenop.js"; let value: CreateAuthTokenRequestBody = { name: "", diff --git a/docs/models/operations/createauthtokenresponsebody.md b/docs/models/createauthtokenresponsebody.md similarity index 95% rename from docs/models/operations/createauthtokenresponsebody.md rename to docs/models/createauthtokenresponsebody.md index 1c57bdec..34e197c6 100644 --- a/docs/models/operations/createauthtokenresponsebody.md +++ b/docs/models/createauthtokenresponsebody.md @@ -5,7 +5,7 @@ Successful response. ## Example Usage ```typescript -import { CreateAuthTokenResponseBody } from "@vercel/sdk/models/operations/createauthtoken.js"; +import { CreateAuthTokenResponseBody } from "@vercel/sdk/models/createauthtokenop.js"; let value: CreateAuthTokenResponseBody = { token: { @@ -25,5 +25,5 @@ let value: CreateAuthTokenResponseBody = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `token` | [components.AuthToken](../../models/components/authtoken.md) | :heavy_check_mark: | Authentication token metadata. | | +| `token` | [models.AuthToken](../models/authtoken.md) | :heavy_check_mark: | Authentication token metadata. | | | `bearerToken` | *string* | :heavy_check_mark: | The authentication token's actual value. This token is only provided in this response, and can never be retrieved again in the future. Be sure to save it somewhere safe! | uRKJSTt0L4RaSkiMj41QTkxM | \ No newline at end of file diff --git a/docs/models/operations/createcheckchecksresponse200applicationjsonsource.md b/docs/models/createcheckchecksresponse200applicationjsonsource.md similarity index 84% rename from docs/models/operations/createcheckchecksresponse200applicationjsonsource.md rename to docs/models/createcheckchecksresponse200applicationjsonsource.md index f38a7a93..8b8e0893 100644 --- a/docs/models/operations/createcheckchecksresponse200applicationjsonsource.md +++ b/docs/models/createcheckchecksresponse200applicationjsonsource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateCheckChecksResponse200ApplicationJSONSource } from "@vercel/sdk/models/operations/createcheck.js"; +import { CreateCheckChecksResponse200ApplicationJSONSource } from "@vercel/sdk/models/createcheckop.js"; let value: CreateCheckChecksResponse200ApplicationJSONSource = "web-vitals"; ``` diff --git a/docs/models/operations/createcheckchecksresponse200source.md b/docs/models/createcheckchecksresponse200source.md similarity index 87% rename from docs/models/operations/createcheckchecksresponse200source.md rename to docs/models/createcheckchecksresponse200source.md index 8f300b6e..307e1d9e 100644 --- a/docs/models/operations/createcheckchecksresponse200source.md +++ b/docs/models/createcheckchecksresponse200source.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateCheckChecksResponse200Source } from "@vercel/sdk/models/operations/createcheck.js"; +import { CreateCheckChecksResponse200Source } from "@vercel/sdk/models/createcheckop.js"; let value: CreateCheckChecksResponse200Source = "web-vitals"; ``` diff --git a/docs/models/operations/createcheckchecksresponsesource.md b/docs/models/createcheckchecksresponsesource.md similarity index 88% rename from docs/models/operations/createcheckchecksresponsesource.md rename to docs/models/createcheckchecksresponsesource.md index 4f650e1a..e4f0afc4 100644 --- a/docs/models/operations/createcheckchecksresponsesource.md +++ b/docs/models/createcheckchecksresponsesource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateCheckChecksResponseSource } from "@vercel/sdk/models/operations/createcheck.js"; +import { CreateCheckChecksResponseSource } from "@vercel/sdk/models/createcheckop.js"; let value: CreateCheckChecksResponseSource = "web-vitals"; ``` diff --git a/docs/models/createcheckcheckssource.md b/docs/models/createcheckcheckssource.md new file mode 100644 index 00000000..5a19b554 --- /dev/null +++ b/docs/models/createcheckcheckssource.md @@ -0,0 +1,15 @@ +# CreateCheckChecksSource + +## Example Usage + +```typescript +import { CreateCheckChecksSource } from "@vercel/sdk/models/createcheckop.js"; + +let value: CreateCheckChecksSource = "web-vitals"; +``` + +## Values + +```typescript +"web-vitals" +``` \ No newline at end of file diff --git a/docs/models/createcheckcls.md b/docs/models/createcheckcls.md new file mode 100644 index 00000000..487059bc --- /dev/null +++ b/docs/models/createcheckcls.md @@ -0,0 +1,20 @@ +# CreateCheckCLS + +## Example Usage + +```typescript +import { CreateCheckCLS } from "@vercel/sdk/models/createcheckop.js"; + +let value: CreateCheckCLS = { + value: 1381.83, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.CreateCheckChecksResponseSource](../models/createcheckchecksresponsesource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createcheckconclusion.md b/docs/models/createcheckconclusion.md new file mode 100644 index 00000000..314014b6 --- /dev/null +++ b/docs/models/createcheckconclusion.md @@ -0,0 +1,15 @@ +# CreateCheckConclusion + +## Example Usage + +```typescript +import { CreateCheckConclusion } from "@vercel/sdk/models/createcheckop.js"; + +let value: CreateCheckConclusion = "canceled"; +``` + +## Values + +```typescript +"canceled" | "failed" | "neutral" | "succeeded" | "skipped" | "stale" +``` \ No newline at end of file diff --git a/docs/models/createcheckfcp.md b/docs/models/createcheckfcp.md new file mode 100644 index 00000000..7d7f0c32 --- /dev/null +++ b/docs/models/createcheckfcp.md @@ -0,0 +1,20 @@ +# CreateCheckFCP + +## Example Usage + +```typescript +import { CreateCheckFCP } from "@vercel/sdk/models/createcheckop.js"; + +let value: CreateCheckFCP = { + value: 1103.75, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.CreateCheckSource](../models/createchecksource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createchecklcp.md b/docs/models/createchecklcp.md new file mode 100644 index 00000000..00266689 --- /dev/null +++ b/docs/models/createchecklcp.md @@ -0,0 +1,20 @@ +# CreateCheckLCP + +## Example Usage + +```typescript +import { CreateCheckLCP } from "@vercel/sdk/models/createcheckop.js"; + +let value: CreateCheckLCP = { + value: 6563.30, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.CreateCheckChecksSource](../models/createcheckcheckssource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createcheckmetrics.md b/docs/models/createcheckmetrics.md new file mode 100644 index 00000000..0b780d40 --- /dev/null +++ b/docs/models/createcheckmetrics.md @@ -0,0 +1,36 @@ +# CreateCheckMetrics + +## Example Usage + +```typescript +import { CreateCheckMetrics } from "@vercel/sdk/models/createcheckop.js"; + +let value: CreateCheckMetrics = { + fcp: { + value: 8209.93, + source: "web-vitals", + }, + lcp: { + value: 971.01, + source: "web-vitals", + }, + cls: { + value: 8379.45, + source: "web-vitals", + }, + tbt: { + value: 960.98, + source: "web-vitals", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `fcp` | [models.CreateCheckFCP](../models/createcheckfcp.md) | :heavy_check_mark: | N/A | +| `lcp` | [models.CreateCheckLCP](../models/createchecklcp.md) | :heavy_check_mark: | N/A | +| `cls` | [models.CreateCheckCLS](../models/createcheckcls.md) | :heavy_check_mark: | N/A | +| `tbt` | [models.CreateCheckTBT](../models/createchecktbt.md) | :heavy_check_mark: | N/A | +| `virtualExperienceScore` | [models.CreateCheckVirtualExperienceScore](../models/createcheckvirtualexperiencescore.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createcheckoutput.md b/docs/models/createcheckoutput.md new file mode 100644 index 00000000..d2833a0e --- /dev/null +++ b/docs/models/createcheckoutput.md @@ -0,0 +1,15 @@ +# CreateCheckOutput + +## Example Usage + +```typescript +import { CreateCheckOutput } from "@vercel/sdk/models/createcheckop.js"; + +let value: CreateCheckOutput = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `metrics` | [models.CreateCheckMetrics](../models/createcheckmetrics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createcheckrequest.md b/docs/models/createcheckrequest.md new file mode 100644 index 00000000..c94e9e8b --- /dev/null +++ b/docs/models/createcheckrequest.md @@ -0,0 +1,28 @@ +# CreateCheckRequest + +## Example Usage + +```typescript +import { CreateCheckRequest } from "@vercel/sdk/models/createcheckop.js"; + +let value: CreateCheckRequest = { + deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6", + requestBody: { + name: "Performance Check", + path: "/", + blocking: true, + detailsUrl: "http://example.com", + externalId: "1234abc", + rerequestable: true, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `deploymentId` | *string* | :heavy_check_mark: | The deployment to create the check for. | dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6 | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | +| `requestBody` | [models.CreateCheckRequestBody](../models/createcheckrequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/createcheckrequestbody.md b/docs/models/createcheckrequestbody.md similarity index 97% rename from docs/models/operations/createcheckrequestbody.md rename to docs/models/createcheckrequestbody.md index 843bfe00..783d0718 100644 --- a/docs/models/operations/createcheckrequestbody.md +++ b/docs/models/createcheckrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateCheckRequestBody } from "@vercel/sdk/models/operations/createcheck.js"; +import { CreateCheckRequestBody } from "@vercel/sdk/models/createcheckop.js"; let value: CreateCheckRequestBody = { name: "Performance Check", diff --git a/docs/models/createcheckresponsebody.md b/docs/models/createcheckresponsebody.md new file mode 100644 index 00000000..adc1d775 --- /dev/null +++ b/docs/models/createcheckresponsebody.md @@ -0,0 +1,39 @@ +# CreateCheckResponseBody + +## Example Usage + +```typescript +import { CreateCheckResponseBody } from "@vercel/sdk/models/createcheckop.js"; + +let value: CreateCheckResponseBody = { + id: "", + name: "", + status: "completed", + blocking: false, + integrationId: "", + deploymentId: "", + createdAt: 4686.51, + updatedAt: 9767.61, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `path` | *string* | :heavy_minus_sign: | N/A | +| `status` | [models.CreateCheckStatus](../models/createcheckstatus.md) | :heavy_check_mark: | N/A | +| `conclusion` | [models.CreateCheckConclusion](../models/createcheckconclusion.md) | :heavy_minus_sign: | N/A | +| `blocking` | *boolean* | :heavy_check_mark: | N/A | +| `output` | [models.CreateCheckOutput](../models/createcheckoutput.md) | :heavy_minus_sign: | N/A | +| `detailsUrl` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `deploymentId` | *string* | :heavy_check_mark: | N/A | +| `externalId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `startedAt` | *number* | :heavy_minus_sign: | N/A | +| `completedAt` | *number* | :heavy_minus_sign: | N/A | +| `rerequestable` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createchecksource.md b/docs/models/createchecksource.md new file mode 100644 index 00000000..2676e7a9 --- /dev/null +++ b/docs/models/createchecksource.md @@ -0,0 +1,15 @@ +# CreateCheckSource + +## Example Usage + +```typescript +import { CreateCheckSource } from "@vercel/sdk/models/createcheckop.js"; + +let value: CreateCheckSource = "web-vitals"; +``` + +## Values + +```typescript +"web-vitals" +``` \ No newline at end of file diff --git a/docs/models/createcheckstatus.md b/docs/models/createcheckstatus.md new file mode 100644 index 00000000..8c258d63 --- /dev/null +++ b/docs/models/createcheckstatus.md @@ -0,0 +1,15 @@ +# CreateCheckStatus + +## Example Usage + +```typescript +import { CreateCheckStatus } from "@vercel/sdk/models/createcheckop.js"; + +let value: CreateCheckStatus = "registered"; +``` + +## Values + +```typescript +"registered" | "running" | "completed" +``` \ No newline at end of file diff --git a/docs/models/createchecktbt.md b/docs/models/createchecktbt.md new file mode 100644 index 00000000..a068206a --- /dev/null +++ b/docs/models/createchecktbt.md @@ -0,0 +1,20 @@ +# CreateCheckTBT + +## Example Usage + +```typescript +import { CreateCheckTBT } from "@vercel/sdk/models/createcheckop.js"; + +let value: CreateCheckTBT = { + value: 1965.82, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.CreateCheckChecksResponse200Source](../models/createcheckchecksresponse200source.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createcheckvirtualexperiencescore.md b/docs/models/createcheckvirtualexperiencescore.md new file mode 100644 index 00000000..4b03da9e --- /dev/null +++ b/docs/models/createcheckvirtualexperiencescore.md @@ -0,0 +1,20 @@ +# CreateCheckVirtualExperienceScore + +## Example Usage + +```typescript +import { CreateCheckVirtualExperienceScore } from "@vercel/sdk/models/createcheckop.js"; + +let value: CreateCheckVirtualExperienceScore = { + value: 3687.25, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.CreateCheckChecksResponse200ApplicationJSONSource](../models/createcheckchecksresponse200applicationjsonsource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createconfigurablelogdraincreatedfrom.md b/docs/models/createconfigurablelogdraincreatedfrom.md similarity index 82% rename from docs/models/operations/createconfigurablelogdraincreatedfrom.md rename to docs/models/createconfigurablelogdraincreatedfrom.md index bcb703c7..7a6ab51d 100644 --- a/docs/models/operations/createconfigurablelogdraincreatedfrom.md +++ b/docs/models/createconfigurablelogdraincreatedfrom.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateConfigurableLogDrainCreatedFrom } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; +import { CreateConfigurableLogDrainCreatedFrom } from "@vercel/sdk/models/createconfigurablelogdrainop.js"; let value: CreateConfigurableLogDrainCreatedFrom = "self-served"; ``` diff --git a/docs/models/operations/createconfigurablelogdraindeliveryformat.md b/docs/models/createconfigurablelogdraindeliveryformat.md similarity index 83% rename from docs/models/operations/createconfigurablelogdraindeliveryformat.md rename to docs/models/createconfigurablelogdraindeliveryformat.md index 067f5945..b567acd2 100644 --- a/docs/models/operations/createconfigurablelogdraindeliveryformat.md +++ b/docs/models/createconfigurablelogdraindeliveryformat.md @@ -5,7 +5,7 @@ The delivery log format ## Example Usage ```typescript -import { CreateConfigurableLogDrainDeliveryFormat } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; +import { CreateConfigurableLogDrainDeliveryFormat } from "@vercel/sdk/models/createconfigurablelogdrainop.js"; let value: CreateConfigurableLogDrainDeliveryFormat = "json"; ``` diff --git a/docs/models/createconfigurablelogdraindisabledreason.md b/docs/models/createconfigurablelogdraindisabledreason.md new file mode 100644 index 00000000..0f953f63 --- /dev/null +++ b/docs/models/createconfigurablelogdraindisabledreason.md @@ -0,0 +1,15 @@ +# CreateConfigurableLogDrainDisabledReason + +## Example Usage + +```typescript +import { CreateConfigurableLogDrainDisabledReason } from "@vercel/sdk/models/createconfigurablelogdrainop.js"; + +let value: CreateConfigurableLogDrainDisabledReason = "feature-not-available"; +``` + +## Values + +```typescript +"disabled-by-owner" | "feature-not-available" | "account-plan-downgrade" | "disabled-by-admin" +``` \ No newline at end of file diff --git a/docs/models/operations/createconfigurablelogdrainenvironments.md b/docs/models/createconfigurablelogdrainenvironments.md similarity index 82% rename from docs/models/operations/createconfigurablelogdrainenvironments.md rename to docs/models/createconfigurablelogdrainenvironments.md index 2d9719d6..96f888b9 100644 --- a/docs/models/operations/createconfigurablelogdrainenvironments.md +++ b/docs/models/createconfigurablelogdrainenvironments.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateConfigurableLogDrainEnvironments } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; +import { CreateConfigurableLogDrainEnvironments } from "@vercel/sdk/models/createconfigurablelogdrainop.js"; let value: CreateConfigurableLogDrainEnvironments = "production"; ``` diff --git a/docs/models/operations/createconfigurablelogdrainlogdrainsdeliveryformat.md b/docs/models/createconfigurablelogdrainlogdrainsdeliveryformat.md similarity index 79% rename from docs/models/operations/createconfigurablelogdrainlogdrainsdeliveryformat.md rename to docs/models/createconfigurablelogdrainlogdrainsdeliveryformat.md index e558922a..7528ceb3 100644 --- a/docs/models/operations/createconfigurablelogdrainlogdrainsdeliveryformat.md +++ b/docs/models/createconfigurablelogdrainlogdrainsdeliveryformat.md @@ -3,9 +3,9 @@ ## Example Usage ```typescript -import { CreateConfigurableLogDrainLogDrainsDeliveryFormat } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; +import { CreateConfigurableLogDrainLogDrainsDeliveryFormat } from "@vercel/sdk/models/createconfigurablelogdrainop.js"; -let value: CreateConfigurableLogDrainLogDrainsDeliveryFormat = "json"; +let value: CreateConfigurableLogDrainLogDrainsDeliveryFormat = "syslog"; ``` ## Values diff --git a/docs/models/operations/createconfigurablelogdrainlogdrainsenvironments.md b/docs/models/createconfigurablelogdrainlogdrainsenvironments.md similarity index 81% rename from docs/models/operations/createconfigurablelogdrainlogdrainsenvironments.md rename to docs/models/createconfigurablelogdrainlogdrainsenvironments.md index 4099a6c9..b61ff54c 100644 --- a/docs/models/operations/createconfigurablelogdrainlogdrainsenvironments.md +++ b/docs/models/createconfigurablelogdrainlogdrainsenvironments.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateConfigurableLogDrainLogDrainsEnvironments } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; +import { CreateConfigurableLogDrainLogDrainsEnvironments } from "@vercel/sdk/models/createconfigurablelogdrainop.js"; let value: CreateConfigurableLogDrainLogDrainsEnvironments = "production"; ``` diff --git a/docs/models/createconfigurablelogdrainlogdrainssources.md b/docs/models/createconfigurablelogdrainlogdrainssources.md new file mode 100644 index 00000000..74d67906 --- /dev/null +++ b/docs/models/createconfigurablelogdrainlogdrainssources.md @@ -0,0 +1,15 @@ +# CreateConfigurableLogDrainLogDrainsSources + +## Example Usage + +```typescript +import { CreateConfigurableLogDrainLogDrainsSources } from "@vercel/sdk/models/createconfigurablelogdrainop.js"; + +let value: CreateConfigurableLogDrainLogDrainsSources = "edge"; +``` + +## Values + +```typescript +"build" | "edge" | "lambda" | "static" | "external" | "firewall" +``` \ No newline at end of file diff --git a/docs/models/createconfigurablelogdrainrequest.md b/docs/models/createconfigurablelogdrainrequest.md new file mode 100644 index 00000000..2c596cfc --- /dev/null +++ b/docs/models/createconfigurablelogdrainrequest.md @@ -0,0 +1,25 @@ +# CreateConfigurableLogDrainRequest + +## Example Usage + +```typescript +import { CreateConfigurableLogDrainRequest } from "@vercel/sdk/models/createconfigurablelogdrainop.js"; + +let value: CreateConfigurableLogDrainRequest = { + requestBody: { + deliveryFormat: "json", + url: "https://dental-responsibility.name/", + sources: [ + "external", + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.CreateConfigurableLogDrainRequestBody](../models/createconfigurablelogdrainrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createconfigurablelogdrainrequestbody.md b/docs/models/createconfigurablelogdrainrequestbody.md new file mode 100644 index 00000000..04cbb992 --- /dev/null +++ b/docs/models/createconfigurablelogdrainrequestbody.md @@ -0,0 +1,29 @@ +# CreateConfigurableLogDrainRequestBody + +## Example Usage + +```typescript +import { CreateConfigurableLogDrainRequestBody } from "@vercel/sdk/models/createconfigurablelogdrainop.js"; + +let value: CreateConfigurableLogDrainRequestBody = { + deliveryFormat: "json", + url: "https://inexperienced-fork.com", + sources: [ + "lambda", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `deliveryFormat` | [models.CreateConfigurableLogDrainDeliveryFormat](../models/createconfigurablelogdraindeliveryformat.md) | :heavy_check_mark: | The delivery log format | json | +| `url` | *string* | :heavy_check_mark: | The log drain url | | +| `headers` | Record | :heavy_minus_sign: | Headers to be sent together with the request | | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | | +| `sources` | [models.CreateConfigurableLogDrainSources](../models/createconfigurablelogdrainsources.md)[] | :heavy_check_mark: | N/A | | +| `environments` | [models.CreateConfigurableLogDrainEnvironments](../models/createconfigurablelogdrainenvironments.md)[] | :heavy_minus_sign: | N/A | | +| `secret` | *string* | :heavy_minus_sign: | Custom secret of log drain | | +| `samplingRate` | *number* | :heavy_minus_sign: | The sampling rate for this log drain. It should be a percentage rate between 0 and 100. With max 2 decimal points | | +| `name` | *string* | :heavy_minus_sign: | The custom name of this log drain. | | \ No newline at end of file diff --git a/docs/models/createconfigurablelogdrainresponsebody.md b/docs/models/createconfigurablelogdrainresponsebody.md new file mode 100644 index 00000000..a3b72718 --- /dev/null +++ b/docs/models/createconfigurablelogdrainresponsebody.md @@ -0,0 +1,50 @@ +# CreateConfigurableLogDrainResponseBody + +## Example Usage + +```typescript +import { CreateConfigurableLogDrainResponseBody } from "@vercel/sdk/models/createconfigurablelogdrainop.js"; + +let value: CreateConfigurableLogDrainResponseBody = { + id: "", + deliveryFormat: "json", + url: "https://untrue-handful.biz/", + name: "", + ownerId: "", + createdAt: 9895.25, + deletedAt: 6444.16, + updatedAt: 3659.98, + environments: [ + "production", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `secret` | *string* | :heavy_minus_sign: | The secret to validate the log-drain payload | +| `id` | *string* | :heavy_check_mark: | N/A | +| `deliveryFormat` | [models.CreateConfigurableLogDrainLogDrainsDeliveryFormat](../models/createconfigurablelogdrainlogdrainsdeliveryformat.md) | :heavy_check_mark: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `clientId` | *string* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `deletedAt` | *number* | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `sources` | [models.CreateConfigurableLogDrainLogDrainsSources](../models/createconfigurablelogdrainlogdrainssources.md)[] | :heavy_minus_sign: | N/A | +| `headers` | Record | :heavy_minus_sign: | N/A | +| `environments` | [models.CreateConfigurableLogDrainLogDrainsEnvironments](../models/createconfigurablelogdrainlogdrainsenvironments.md)[] | :heavy_check_mark: | N/A | +| `status` | [models.CreateConfigurableLogDrainStatus](../models/createconfigurablelogdrainstatus.md) | :heavy_minus_sign: | N/A | +| `disabledAt` | *number* | :heavy_minus_sign: | N/A | +| `disabledReason` | [models.CreateConfigurableLogDrainDisabledReason](../models/createconfigurablelogdraindisabledreason.md) | :heavy_minus_sign: | N/A | +| `disabledBy` | *string* | :heavy_minus_sign: | N/A | +| `firstErrorTimestamp` | *number* | :heavy_minus_sign: | N/A | +| `samplingRate` | *number* | :heavy_minus_sign: | N/A | +| `hideIpAddresses` | *boolean* | :heavy_minus_sign: | N/A | +| `createdFrom` | [models.CreateConfigurableLogDrainCreatedFrom](../models/createconfigurablelogdraincreatedfrom.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createconfigurablelogdrainsources.md b/docs/models/createconfigurablelogdrainsources.md similarity index 85% rename from docs/models/operations/createconfigurablelogdrainsources.md rename to docs/models/createconfigurablelogdrainsources.md index 331e214d..0b8e66b4 100644 --- a/docs/models/operations/createconfigurablelogdrainsources.md +++ b/docs/models/createconfigurablelogdrainsources.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateConfigurableLogDrainSources } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; +import { CreateConfigurableLogDrainSources } from "@vercel/sdk/models/createconfigurablelogdrainop.js"; let value: CreateConfigurableLogDrainSources = "external"; ``` diff --git a/docs/models/operations/createconfigurablelogdrainstatus.md b/docs/models/createconfigurablelogdrainstatus.md similarity index 84% rename from docs/models/operations/createconfigurablelogdrainstatus.md rename to docs/models/createconfigurablelogdrainstatus.md index ce77983e..d7b27aa5 100644 --- a/docs/models/operations/createconfigurablelogdrainstatus.md +++ b/docs/models/createconfigurablelogdrainstatus.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateConfigurableLogDrainStatus } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; +import { CreateConfigurableLogDrainStatus } from "@vercel/sdk/models/createconfigurablelogdrainop.js"; let value: CreateConfigurableLogDrainStatus = "errored"; ``` diff --git a/docs/models/created.md b/docs/models/created.md new file mode 100644 index 00000000..8ef27715 --- /dev/null +++ b/docs/models/created.md @@ -0,0 +1,19 @@ +# Created + + +## Supported Types + +### `models.Created1` + +```typescript +const value: models.Created1 = {}; +``` + +### `models.Created2[]` + +```typescript +const value: models.Created2[] = [ + {}, +]; +``` + diff --git a/docs/models/created1.md b/docs/models/created1.md new file mode 100644 index 00000000..ac830a16 --- /dev/null +++ b/docs/models/created1.md @@ -0,0 +1,35 @@ +# Created1 + +## Example Usage + +```typescript +import { Created1 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: Created1 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `target` | *models.CreatedTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.CreatedType](../models/createdtype.md) | :heavy_minus_sign: | N/A | +| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *string* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdBy` | *string* | :heavy_minus_sign: | N/A | +| `updatedBy` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `contentHint` | *models.CreatedContentHint* | :heavy_minus_sign: | N/A | +| `internalContentHint` | [models.CreatedInternalContentHint](../models/createdinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | +| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | +| `vsmValue` | *string* | :heavy_minus_sign: | N/A | +| `system` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/created2.md b/docs/models/created2.md new file mode 100644 index 00000000..effbeedd --- /dev/null +++ b/docs/models/created2.md @@ -0,0 +1,35 @@ +# Created2 + +## Example Usage + +```typescript +import { Created2 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: Created2 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `target` | *models.CreateProjectEnvCreatedTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.CreateProjectEnvCreatedType](../models/createprojectenvcreatedtype.md) | :heavy_minus_sign: | N/A | +| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *string* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdBy` | *string* | :heavy_minus_sign: | N/A | +| `updatedBy` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `contentHint` | *models.CreateProjectEnvCreatedContentHint* | :heavy_minus_sign: | N/A | +| `internalContentHint` | [models.CreateProjectEnvCreatedInternalContentHint](../models/createprojectenvcreatedinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | +| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | +| `vsmValue` | *string* | :heavy_minus_sign: | N/A | +| `system` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdcontenthint.md b/docs/models/createdcontenthint.md new file mode 100644 index 00000000..dd8965c0 --- /dev/null +++ b/docs/models/createdcontenthint.md @@ -0,0 +1,143 @@ +# CreatedContentHint + + +## Supported Types + +### `models.CreateProjectEnvContentHint1` + +```typescript +const value: models.CreateProjectEnvContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHint2` + +```typescript +const value: models.CreateProjectEnvContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHint3` + +```typescript +const value: models.CreateProjectEnvContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHint4` + +```typescript +const value: models.CreateProjectEnvContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHint5` + +```typescript +const value: models.CreateProjectEnvContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHint6` + +```typescript +const value: models.CreateProjectEnvContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHint7` + +```typescript +const value: models.CreateProjectEnvContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHint8` + +```typescript +const value: models.CreateProjectEnvContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHint9` + +```typescript +const value: models.CreateProjectEnvContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHint10` + +```typescript +const value: models.CreateProjectEnvContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHint11` + +```typescript +const value: models.CreateProjectEnvContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHint12` + +```typescript +const value: models.CreateProjectEnvContentHint12 = { + type: "postgres-database", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHint13` + +```typescript +const value: models.CreateProjectEnvContentHint13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHint14` + +```typescript +const value: models.CreateProjectEnvContentHint14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +### `models.CreateProjectEnvContentHint15` + +```typescript +const value: models.CreateProjectEnvContentHint15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + diff --git a/docs/models/operations/createdeploymentcrons.md b/docs/models/createdeploymentcrons.md similarity index 84% rename from docs/models/operations/createdeploymentcrons.md rename to docs/models/createdeploymentcrons.md index 1aeeacf0..f30602ea 100644 --- a/docs/models/operations/createdeploymentcrons.md +++ b/docs/models/createdeploymentcrons.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentCrons } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentCrons } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentCrons = { schedule: "", diff --git a/docs/models/operations/createdeploymentdeploymentsstatus.md b/docs/models/createdeploymentdeploymentsstatus.md similarity index 87% rename from docs/models/operations/createdeploymentdeploymentsstatus.md rename to docs/models/createdeploymentdeploymentsstatus.md index ccd6ffec..b63e0cdf 100644 --- a/docs/models/operations/createdeploymentdeploymentsstatus.md +++ b/docs/models/createdeploymentdeploymentsstatus.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentDeploymentsStatus } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentDeploymentsStatus } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentDeploymentsStatus = "error"; ``` diff --git a/docs/models/operations/createdeploymentframework.md b/docs/models/createdeploymentframework.md similarity index 88% rename from docs/models/operations/createdeploymentframework.md rename to docs/models/createdeploymentframework.md index f4e7678a..62079d2a 100644 --- a/docs/models/operations/createdeploymentframework.md +++ b/docs/models/createdeploymentframework.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentFramework } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentFramework } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentFramework = "storybook"; ``` diff --git a/docs/models/operations/createdeploymentgitrepodeploymentstype.md b/docs/models/createdeploymentgitrepodeploymentstype.md similarity index 84% rename from docs/models/operations/createdeploymentgitrepodeploymentstype.md rename to docs/models/createdeploymentgitrepodeploymentstype.md index 644d6e13..0fc5f2cf 100644 --- a/docs/models/operations/createdeploymentgitrepodeploymentstype.md +++ b/docs/models/createdeploymentgitrepodeploymentstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentGitRepoDeploymentsType } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentGitRepoDeploymentsType } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentGitRepoDeploymentsType = "bitbucket"; ``` diff --git a/docs/models/operations/createdeploymentgitrepoownertype.md b/docs/models/createdeploymentgitrepoownertype.md similarity index 86% rename from docs/models/operations/createdeploymentgitrepoownertype.md rename to docs/models/createdeploymentgitrepoownertype.md index 8a4bb2e6..e709af50 100644 --- a/docs/models/operations/createdeploymentgitrepoownertype.md +++ b/docs/models/createdeploymentgitrepoownertype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentGitRepoOwnerType } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentGitRepoOwnerType } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentGitRepoOwnerType = "team"; ``` diff --git a/docs/models/operations/createdeploymentgitrepotype.md b/docs/models/createdeploymentgitrepotype.md similarity index 87% rename from docs/models/operations/createdeploymentgitrepotype.md rename to docs/models/createdeploymentgitrepotype.md index 31958407..1c7790bd 100644 --- a/docs/models/operations/createdeploymentgitrepotype.md +++ b/docs/models/createdeploymentgitrepotype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentGitRepoType } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentGitRepoType } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentGitRepoType = "github"; ``` diff --git a/docs/models/createdeploymentgitsource.md b/docs/models/createdeploymentgitsource.md new file mode 100644 index 00000000..fd5f1837 --- /dev/null +++ b/docs/models/createdeploymentgitsource.md @@ -0,0 +1,97 @@ +# CreateDeploymentGitSource + + +## Supported Types + +### `models.CreateDeploymentGitSource1` + +```typescript +const value: models.CreateDeploymentGitSource1 = { + type: "github", + repoId: 7747.48, +}; +``` + +### `models.CreateDeploymentGitSource2` + +```typescript +const value: models.CreateDeploymentGitSource2 = { + type: "github", + org: "", + repo: "", +}; +``` + +### `models.GitSource3` + +```typescript +const value: models.GitSource3 = { + type: "gitlab", + projectId: 6147.70, +}; +``` + +### `models.GitSource4` + +```typescript +const value: models.GitSource4 = { + type: "bitbucket", + repoUuid: "", +}; +``` + +### `models.GitSource5` + +```typescript +const value: models.GitSource5 = { + type: "bitbucket", + owner: "", + slug: "", +}; +``` + +### `models.CreateDeploymentGitSource6` + +```typescript +const value: models.CreateDeploymentGitSource6 = { + type: "custom", + ref: "", + sha: "", + gitUrl: "https://aged-flint.net/", +}; +``` + +### `models.CreateDeploymentGitSource7` + +```typescript +const value: models.CreateDeploymentGitSource7 = { + type: "github", + ref: "", + sha: "", + repoId: 8661.35, +}; +``` + +### `models.CreateDeploymentGitSource8` + +```typescript +const value: models.CreateDeploymentGitSource8 = { + type: "gitlab", + ref: "", + sha: "", + projectId: 9608.13, +}; +``` + +### `models.CreateDeploymentGitSource9` + +```typescript +const value: models.CreateDeploymentGitSource9 = { + type: "bitbucket", + ref: "", + sha: "", + workspaceUuid: "", + repoUuid: "", +}; +``` + diff --git a/docs/models/createdeploymentgitsource1.md b/docs/models/createdeploymentgitsource1.md new file mode 100644 index 00000000..b36977ac --- /dev/null +++ b/docs/models/createdeploymentgitsource1.md @@ -0,0 +1,22 @@ +# CreateDeploymentGitSource1 + +## Example Usage + +```typescript +import { CreateDeploymentGitSource1 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CreateDeploymentGitSource1 = { + type: "github", + repoId: 8830.78, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateDeploymentGitSourceDeploymentsResponseType](../models/createdeploymentgitsourcedeploymentsresponsetype.md) | :heavy_check_mark: | N/A | +| `repoId` | *models.GitSourceRepoId* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdeploymentgitsource2.md b/docs/models/createdeploymentgitsource2.md new file mode 100644 index 00000000..83777ce4 --- /dev/null +++ b/docs/models/createdeploymentgitsource2.md @@ -0,0 +1,24 @@ +# CreateDeploymentGitSource2 + +## Example Usage + +```typescript +import { CreateDeploymentGitSource2 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CreateDeploymentGitSource2 = { + type: "github", + org: "", + repo: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateDeploymentGitSourceDeploymentsResponse200Type](../models/createdeploymentgitsourcedeploymentsresponse200type.md) | :heavy_check_mark: | N/A | +| `org` | *string* | :heavy_check_mark: | N/A | +| `repo` | *string* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdeploymentgitsource6.md b/docs/models/createdeploymentgitsource6.md new file mode 100644 index 00000000..2d91d675 --- /dev/null +++ b/docs/models/createdeploymentgitsource6.md @@ -0,0 +1,25 @@ +# CreateDeploymentGitSource6 + +Allows custom git sources (local folder mounted to the container) in test mode + +## Example Usage + +```typescript +import { CreateDeploymentGitSource6 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CreateDeploymentGitSource6 = { + type: "custom", + ref: "", + sha: "", + gitUrl: "https://soggy-prohibition.com", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type](../models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody6type.md) | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `gitUrl` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createdeploymentgitsource7.md b/docs/models/createdeploymentgitsource7.md new file mode 100644 index 00000000..abcf0d6d --- /dev/null +++ b/docs/models/createdeploymentgitsource7.md @@ -0,0 +1,25 @@ +# CreateDeploymentGitSource7 + +## Example Usage + +```typescript +import { CreateDeploymentGitSource7 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CreateDeploymentGitSource7 = { + type: "github", + ref: "", + sha: "", + repoId: 978.10, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type](../models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md) | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `repoId` | *number* | :heavy_check_mark: | N/A | +| `org` | *string* | :heavy_minus_sign: | N/A | +| `repo` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdeploymentgitsource8.md b/docs/models/createdeploymentgitsource8.md new file mode 100644 index 00000000..f8bf46ba --- /dev/null +++ b/docs/models/createdeploymentgitsource8.md @@ -0,0 +1,23 @@ +# CreateDeploymentGitSource8 + +## Example Usage + +```typescript +import { CreateDeploymentGitSource8 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CreateDeploymentGitSource8 = { + type: "gitlab", + ref: "", + sha: "", + projectId: 6211.40, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type](../models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md) | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createdeploymentgitsource9.md b/docs/models/createdeploymentgitsource9.md new file mode 100644 index 00000000..19b0fd29 --- /dev/null +++ b/docs/models/createdeploymentgitsource9.md @@ -0,0 +1,27 @@ +# CreateDeploymentGitSource9 + +## Example Usage + +```typescript +import { CreateDeploymentGitSource9 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CreateDeploymentGitSource9 = { + type: "bitbucket", + ref: "", + sha: "", + workspaceUuid: "", + repoUuid: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type](../models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md) | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `owner` | *string* | :heavy_minus_sign: | N/A | +| `slug` | *string* | :heavy_minus_sign: | N/A | +| `workspaceUuid` | *string* | :heavy_check_mark: | N/A | +| `repoUuid` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createdeploymentgitsourcedeploymentsrequestrequestbodytype.md b/docs/models/createdeploymentgitsourcedeploymentsrequestrequestbodytype.md new file mode 100644 index 00000000..68493ca4 --- /dev/null +++ b/docs/models/createdeploymentgitsourcedeploymentsrequestrequestbodytype.md @@ -0,0 +1,16 @@ +# CreateDeploymentGitSourceDeploymentsRequestRequestBodyType + +## Example Usage + +```typescript +import { CreateDeploymentGitSourceDeploymentsRequestRequestBodyType } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CreateDeploymentGitSourceDeploymentsRequestRequestBodyType = + "github"; +``` + +## Values + +```typescript +"github" +``` \ No newline at end of file diff --git a/docs/models/operations/createdeploymentgitsourcedeploymentsrequesttype.md b/docs/models/createdeploymentgitsourcedeploymentsrequesttype.md similarity index 83% rename from docs/models/operations/createdeploymentgitsourcedeploymentsrequesttype.md rename to docs/models/createdeploymentgitsourcedeploymentsrequesttype.md index 52b3d290..762590bf 100644 --- a/docs/models/operations/createdeploymentgitsourcedeploymentsrequesttype.md +++ b/docs/models/createdeploymentgitsourcedeploymentsrequesttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentGitSourceDeploymentsRequestType } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentGitSourceDeploymentsRequestType } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentGitSourceDeploymentsRequestType = "bitbucket"; ``` diff --git a/docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody5type.md b/docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody5type.md similarity index 79% rename from docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody5type.md rename to docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody5type.md index 2ed74e51..d7108b74 100644 --- a/docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody5type.md +++ b/docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody5type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type = diff --git a/docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody6type.md b/docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody6type.md similarity index 79% rename from docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody6type.md rename to docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody6type.md index 590d4cc4..f9f52429 100644 --- a/docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody6type.md +++ b/docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody6type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type = diff --git a/docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md b/docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md similarity index 79% rename from docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md rename to docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md index 09f959a7..95412696 100644 --- a/docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md +++ b/docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type = diff --git a/docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md b/docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md similarity index 79% rename from docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md rename to docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md index 4a10f686..54bf39a9 100644 --- a/docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md +++ b/docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type = diff --git a/docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md b/docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md similarity index 79% rename from docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md rename to docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md index d3a8e0c0..bc8cd41f 100644 --- a/docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md +++ b/docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type = diff --git a/docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md b/docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md similarity index 79% rename from docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md rename to docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md index a192f30a..6e30a23d 100644 --- a/docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md +++ b/docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = diff --git a/docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsontype.md b/docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsontype.md similarity index 80% rename from docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsontype.md rename to docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsontype.md index 2c4ebcb0..95de9c32 100644 --- a/docs/models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsontype.md +++ b/docs/models/createdeploymentgitsourcedeploymentsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = "gitlab"; diff --git a/docs/models/operations/createdeploymentgitsourcedeploymentsresponse200type.md b/docs/models/createdeploymentgitsourcedeploymentsresponse200type.md similarity index 82% rename from docs/models/operations/createdeploymentgitsourcedeploymentsresponse200type.md rename to docs/models/createdeploymentgitsourcedeploymentsresponse200type.md index 9994a2e4..9a044740 100644 --- a/docs/models/operations/createdeploymentgitsourcedeploymentsresponse200type.md +++ b/docs/models/createdeploymentgitsourcedeploymentsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentGitSourceDeploymentsResponse200Type } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentGitSourceDeploymentsResponse200Type } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentGitSourceDeploymentsResponse200Type = "github"; ``` diff --git a/docs/models/operations/createdeploymentgitsourcedeploymentsresponsetype.md b/docs/models/createdeploymentgitsourcedeploymentsresponsetype.md similarity index 82% rename from docs/models/operations/createdeploymentgitsourcedeploymentsresponsetype.md rename to docs/models/createdeploymentgitsourcedeploymentsresponsetype.md index 7468a295..33e9cb21 100644 --- a/docs/models/operations/createdeploymentgitsourcedeploymentsresponsetype.md +++ b/docs/models/createdeploymentgitsourcedeploymentsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentGitSourceDeploymentsResponseType } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentGitSourceDeploymentsResponseType } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentGitSourceDeploymentsResponseType = "github"; ``` diff --git a/docs/models/operations/createdeploymentgitsourcedeploymentstype.md b/docs/models/createdeploymentgitsourcedeploymentstype.md similarity index 84% rename from docs/models/operations/createdeploymentgitsourcedeploymentstype.md rename to docs/models/createdeploymentgitsourcedeploymentstype.md index 855c2fff..3a771640 100644 --- a/docs/models/operations/createdeploymentgitsourcedeploymentstype.md +++ b/docs/models/createdeploymentgitsourcedeploymentstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentGitSourceDeploymentsType } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentGitSourceDeploymentsType } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentGitSourceDeploymentsType = "bitbucket"; ``` diff --git a/docs/models/operations/createdeploymentgitsourcetype.md b/docs/models/createdeploymentgitsourcetype.md similarity index 86% rename from docs/models/operations/createdeploymentgitsourcetype.md rename to docs/models/createdeploymentgitsourcetype.md index a920d5b6..e9aaa6b3 100644 --- a/docs/models/operations/createdeploymentgitsourcetype.md +++ b/docs/models/createdeploymentgitsourcetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentGitSourceType } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentGitSourceType } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentGitSourceType = "gitlab"; ``` diff --git a/docs/models/createdeploymenthastype.md b/docs/models/createdeploymenthastype.md new file mode 100644 index 00000000..f0860300 --- /dev/null +++ b/docs/models/createdeploymenthastype.md @@ -0,0 +1,15 @@ +# CreateDeploymentHasType + +## Example Usage + +```typescript +import { CreateDeploymentHasType } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CreateDeploymentHasType = "query"; +``` + +## Values + +```typescript +"header" | "cookie" | "query" +``` \ No newline at end of file diff --git a/docs/models/createdeploymentmicrofrontends.md b/docs/models/createdeploymentmicrofrontends.md new file mode 100644 index 00000000..63336478 --- /dev/null +++ b/docs/models/createdeploymentmicrofrontends.md @@ -0,0 +1,26 @@ +# CreateDeploymentMicrofrontends + + +## Supported Types + +### `models.Microfrontends1` + +```typescript +const value: models.Microfrontends1 = { + groupIds: [ + "", + ], +}; +``` + +### `models.Microfrontends2` + +```typescript +const value: models.Microfrontends2 = { + isDefaultApp: false, + groupIds: [ + "", + ], +}; +``` + diff --git a/docs/models/operations/createdeploymentmissingtype.md b/docs/models/createdeploymentmissingtype.md similarity index 88% rename from docs/models/operations/createdeploymentmissingtype.md rename to docs/models/createdeploymentmissingtype.md index 4e2dc603..0adc5360 100644 --- a/docs/models/operations/createdeploymentmissingtype.md +++ b/docs/models/createdeploymentmissingtype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentMissingType } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentMissingType } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentMissingType = "header"; ``` diff --git a/docs/models/operations/createdeploymentoutput.md b/docs/models/createdeploymentoutput.md similarity index 84% rename from docs/models/operations/createdeploymentoutput.md rename to docs/models/createdeploymentoutput.md index b3b91c74..523618d9 100644 --- a/docs/models/operations/createdeploymentoutput.md +++ b/docs/models/createdeploymentoutput.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentOutput } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentOutput } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentOutput = { path: "/usr/local/bin", diff --git a/docs/models/createdeploymentprojectsettings.md b/docs/models/createdeploymentprojectsettings.md new file mode 100644 index 00000000..7a64a6ac --- /dev/null +++ b/docs/models/createdeploymentprojectsettings.md @@ -0,0 +1,22 @@ +# CreateDeploymentProjectSettings + +## Example Usage + +```typescript +import { CreateDeploymentProjectSettings } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CreateDeploymentProjectSettings = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `buildCommand` | *string* | :heavy_minus_sign: | N/A | +| `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | +| `devCommand` | *string* | :heavy_minus_sign: | N/A | +| `framework` | [models.CreateDeploymentFramework](../models/createdeploymentframework.md) | :heavy_minus_sign: | N/A | +| `installCommand` | *string* | :heavy_minus_sign: | N/A | +| `outputDirectory` | *string* | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.CreateDeploymentSpeedInsights](../models/createdeploymentspeedinsights.md) | :heavy_minus_sign: | N/A | +| `webAnalytics` | [models.CreateDeploymentWebAnalytics](../models/createdeploymentwebanalytics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdeploymentreadystate.md b/docs/models/createdeploymentreadystate.md new file mode 100644 index 00000000..1bc8f7c1 --- /dev/null +++ b/docs/models/createdeploymentreadystate.md @@ -0,0 +1,15 @@ +# CreateDeploymentReadyState + +## Example Usage + +```typescript +import { CreateDeploymentReadyState } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CreateDeploymentReadyState = "ERROR"; +``` + +## Values + +```typescript +"BUILDING" | "ERROR" | "INITIALIZING" | "READY" +``` \ No newline at end of file diff --git a/docs/models/createdeploymentrequest.md b/docs/models/createdeploymentrequest.md new file mode 100644 index 00000000..42a054f6 --- /dev/null +++ b/docs/models/createdeploymentrequest.md @@ -0,0 +1,41 @@ +# CreateDeploymentRequest + +## Example Usage + +```typescript +import { CreateDeploymentRequest } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CreateDeploymentRequest = { + requestBody: { + files: [ + { + file: "folder/file.js", + }, + ], + gitMetadata: { + remoteUrl: "https://github.com/vercel/next.js", + commitAuthorName: "kyliau", + commitMessage: + "add method to measure Interaction to Next Paint (INP) (#36490)", + commitRef: "main", + commitSha: "dc36199b2234c6586ebe05ec94078a895c707e29", + dirty: true, + }, + meta: { + "foo": "bar", + }, + name: "my-instant-deployment", + project: "my-deployment-project", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `skipAutoDetectionConfirmation` | [models.SkipAutoDetectionConfirmation](../models/skipautodetectionconfirmation.md) | :heavy_minus_sign: | Allows to skip framework detection so the API would not fail to ask for confirmation | +| `forceNew` | [models.ForceNew](../models/forcenew.md) | :heavy_minus_sign: | Forces a new deployment even if there is a previous similar deployment | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.CreateDeploymentRequestBody](../models/createdeploymentrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createdeploymentrequestbody.md b/docs/models/createdeploymentrequestbody.md similarity index 95% rename from docs/models/operations/createdeploymentrequestbody.md rename to docs/models/createdeploymentrequestbody.md index fd954b9b..e17c5721 100644 --- a/docs/models/operations/createdeploymentrequestbody.md +++ b/docs/models/createdeploymentrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentRequestBody } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentRequestBody } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentRequestBody = { files: [ @@ -33,13 +33,13 @@ let value: CreateDeploymentRequestBody = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `deploymentId` | *string* | :heavy_minus_sign: | An deployment id for an existing deployment to redeploy | | -| `files` | *operations.Files*[] | :heavy_minus_sign: | A list of objects with the files to be deployed | | -| `gitMetadata` | [operations.GitMetadata](../../models/operations/gitmetadata.md) | :heavy_minus_sign: | Populates initial git metadata for different git providers. | | -| `gitSource` | *operations.GitSource* | :heavy_minus_sign: | Defines the Git Repository source to be deployed. This property can not be used in combination with `files`. | | +| `files` | *models.Files*[] | :heavy_minus_sign: | A list of objects with the files to be deployed | | +| `gitMetadata` | [models.GitMetadata](../models/gitmetadata.md) | :heavy_minus_sign: | Populates initial git metadata for different git providers. | | +| `gitSource` | *models.GitSource* | :heavy_minus_sign: | Defines the Git Repository source to be deployed. This property can not be used in combination with `files`. | | | `meta` | Record | :heavy_minus_sign: | An object containing the deployment's metadata. Multiple key-value pairs can be attached to a deployment | {
"foo": "bar"
} | | `monorepoManager` | *string* | :heavy_minus_sign: | The monorepo manager that is being used for this deployment. When `null` is used no monorepo manager is selected | | | `name` | *string* | :heavy_check_mark: | A string with the project name used in the deployment URL | my-instant-deployment | | `project` | *string* | :heavy_minus_sign: | The target project identifier in which the deployment will be created. When defined, this parameter overrides name | my-deployment-project | -| `projectSettings` | [operations.ProjectSettings](../../models/operations/projectsettings.md) | :heavy_minus_sign: | Project settings that will be applied to the deployment. It is required for the first deployment of a project and will be saved for any following deployments | | -| `target` | [operations.Target](../../models/operations/target.md) | :heavy_minus_sign: | Either not defined, `staging`, or `production`. If `staging`, a staging alias in the format `-.vercel.app` will be assigned. If `production`, any aliases defined in `alias` will be assigned. If omitted, the target will be `preview` | | +| `projectSettings` | [models.ProjectSettings](../models/projectsettings.md) | :heavy_minus_sign: | Project settings that will be applied to the deployment. It is required for the first deployment of a project and will be saved for any following deployments | | +| `target` | [models.Target](../models/target.md) | :heavy_minus_sign: | Either not defined, `staging`, or `production`. If `staging`, a staging alias in the format `-.vercel.app` will be assigned. If `production`, any aliases defined in `alias` will be assigned. If omitted, the target will be `preview` | | | `withLatestCommit` | *boolean* | :heavy_minus_sign: | When `true` and `deploymentId` is passed in, the sha from the previous deployment's `gitSource` is removed forcing the latest commit to be used. | | \ No newline at end of file diff --git a/docs/models/operations/createdeploymentresponsebody.md b/docs/models/createdeploymentresponsebody.md similarity index 93% rename from docs/models/operations/createdeploymentresponsebody.md rename to docs/models/createdeploymentresponsebody.md index 0dd99430..a007afd0 100644 --- a/docs/models/operations/createdeploymentresponsebody.md +++ b/docs/models/createdeploymentresponsebody.md @@ -5,7 +5,7 @@ The successfully created deployment ## Example Usage ```typescript -import { CreateDeploymentResponseBody } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentResponseBody } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentResponseBody = { build: { @@ -58,79 +58,80 @@ let value: CreateDeploymentResponseBody = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `aliasAssignedAt` | *operations.AliasAssignedAt* | :heavy_minus_sign: | N/A | +| `aliasAssignedAt` | *models.AliasAssignedAt* | :heavy_minus_sign: | N/A | | `alwaysRefuseToBuild` | *boolean* | :heavy_minus_sign: | N/A | -| `build` | [operations.Build](../../models/operations/build.md) | :heavy_check_mark: | N/A | +| `build` | [models.Build](../models/build.md) | :heavy_check_mark: | N/A | | `buildArtifactUrls` | *string*[] | :heavy_minus_sign: | N/A | -| `builds` | [operations.Builds](../../models/operations/builds.md)[] | :heavy_minus_sign: | N/A | +| `builds` | [models.Builds](../models/builds.md)[] | :heavy_minus_sign: | N/A | | `env` | *string*[] | :heavy_check_mark: | N/A | | `inspectorUrl` | *string* | :heavy_check_mark: | N/A | | `isInConcurrentBuildsQueue` | *boolean* | :heavy_check_mark: | N/A | | `isInSystemBuildsQueue` | *boolean* | :heavy_check_mark: | N/A | -| `projectSettings` | [operations.CreateDeploymentProjectSettings](../../models/operations/createdeploymentprojectsettings.md) | :heavy_check_mark: | N/A | +| `projectSettings` | [models.CreateDeploymentProjectSettings](../models/createdeploymentprojectsettings.md) | :heavy_check_mark: | N/A | | `readyStateReason` | *string* | :heavy_minus_sign: | N/A | -| `integrations` | [operations.Integrations](../../models/operations/integrations.md) | :heavy_minus_sign: | N/A | +| `integrations` | [models.Integrations](../models/integrations.md) | :heavy_minus_sign: | N/A | | `alias` | *string*[] | :heavy_minus_sign: | N/A | | `aliasAssigned` | *boolean* | :heavy_check_mark: | N/A | | `bootedAt` | *number* | :heavy_check_mark: | N/A | | `buildingAt` | *number* | :heavy_check_mark: | N/A | | `buildSkipped` | *boolean* | :heavy_check_mark: | N/A | -| `creator` | [operations.Creator](../../models/operations/creator.md) | :heavy_check_mark: | N/A | +| `creator` | [models.Creator](../models/creator.md) | :heavy_check_mark: | N/A | | `initReadyAt` | *number* | :heavy_minus_sign: | N/A | | `isFirstBranchDeployment` | *boolean* | :heavy_minus_sign: | N/A | -| `lambdas` | [operations.Lambdas](../../models/operations/lambdas.md)[] | :heavy_minus_sign: | N/A | +| `lambdas` | [models.Lambdas](../models/lambdas.md)[] | :heavy_minus_sign: | N/A | | `public` | *boolean* | :heavy_check_mark: | N/A | | `ready` | *number* | :heavy_minus_sign: | N/A | -| `status` | [operations.CreateDeploymentStatus](../../models/operations/createdeploymentstatus.md) | :heavy_check_mark: | N/A | -| `team` | [operations.Team](../../models/operations/team.md) | :heavy_minus_sign: | N/A | +| `status` | [models.CreateDeploymentStatus](../models/createdeploymentstatus.md) | :heavy_check_mark: | N/A | +| `team` | [models.Team](../models/team.md) | :heavy_minus_sign: | N/A | | `userAliases` | *string*[] | :heavy_minus_sign: | N/A | | `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | `ttyBuildLogs` | *boolean* | :heavy_minus_sign: | N/A | -| `customEnvironment` | *operations.CustomEnvironment* | :heavy_minus_sign: | N/A | -| `type` | [operations.CreateDeploymentType](../../models/operations/createdeploymenttype.md) | :heavy_check_mark: | N/A | +| `customEnvironment` | *models.CustomEnvironment* | :heavy_minus_sign: | N/A | +| `type` | [models.CreateDeploymentType](../models/createdeploymenttype.md) | :heavy_check_mark: | N/A | | `createdAt` | *number* | :heavy_check_mark: | N/A | | `name` | *string* | :heavy_check_mark: | N/A | | `deletedAt` | *number* | :heavy_minus_sign: | N/A | | `id` | *string* | :heavy_check_mark: | N/A | | `version` | *number* | :heavy_check_mark: | N/A | | `autoAssignCustomDomains` | *boolean* | :heavy_minus_sign: | applies to custom domains only, defaults to `true` | -| `gitSource` | *operations.CreateDeploymentGitSource* | :heavy_minus_sign: | N/A | +| `gitSource` | *models.CreateDeploymentGitSource* | :heavy_minus_sign: | N/A | | `meta` | Record | :heavy_check_mark: | N/A | -| `project` | [operations.Project](../../models/operations/project.md) | :heavy_minus_sign: | N/A | -| `readyState` | [operations.ReadyState](../../models/operations/readystate.md) | :heavy_check_mark: | N/A | -| `source` | [operations.CreateDeploymentSource](../../models/operations/createdeploymentsource.md) | :heavy_minus_sign: | N/A | -| `target` | [operations.CreateDeploymentTarget](../../models/operations/createdeploymenttarget.md) | :heavy_minus_sign: | N/A | +| `project` | [models.Project](../models/project.md) | :heavy_minus_sign: | N/A | +| `readyState` | [models.ReadyState](../models/readystate.md) | :heavy_check_mark: | N/A | +| `source` | [models.CreateDeploymentSource](../models/createdeploymentsource.md) | :heavy_minus_sign: | N/A | +| `target` | [models.CreateDeploymentTarget](../models/createdeploymenttarget.md) | :heavy_minus_sign: | N/A | | `passiveRegions` | *string*[] | :heavy_minus_sign: | Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service | | `regions` | *string*[] | :heavy_check_mark: | N/A | | `errorMessage` | *string* | :heavy_minus_sign: | N/A | -| `aliasWarning` | [operations.AliasWarning](../../models/operations/aliaswarning.md) | :heavy_minus_sign: | N/A | -| `aliasError` | [operations.AliasError](../../models/operations/aliaserror.md) | :heavy_minus_sign: | N/A | +| `aliasWarning` | [models.AliasWarning](../models/aliaswarning.md) | :heavy_minus_sign: | N/A | +| `aliasError` | [models.AliasError](../models/aliaserror.md) | :heavy_minus_sign: | N/A | | `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | `buildErrorAt` | *number* | :heavy_minus_sign: | N/A | -| `checksState` | [operations.ChecksState](../../models/operations/checksstate.md) | :heavy_minus_sign: | N/A | -| `checksConclusion` | [operations.ChecksConclusion](../../models/operations/checksconclusion.md) | :heavy_minus_sign: | N/A | +| `checksState` | [models.ChecksState](../models/checksstate.md) | :heavy_minus_sign: | N/A | +| `checksConclusion` | [models.ChecksConclusion](../models/checksconclusion.md) | :heavy_minus_sign: | N/A | | `defaultRoute` | *string* | :heavy_minus_sign: | Computed field that is only available for deployments with a microfrontend configuration. | | `canceledAt` | *number* | :heavy_minus_sign: | N/A | | `errorCode` | *string* | :heavy_minus_sign: | N/A | | `errorLink` | *string* | :heavy_minus_sign: | N/A | | `errorStep` | *string* | :heavy_minus_sign: | N/A | -| `readySubstate` | [operations.ReadySubstate](../../models/operations/readysubstate.md) | :heavy_minus_sign: | Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic | +| `originCacheRegion` | *string* | :heavy_minus_sign: | N/A | +| `readySubstate` | [models.ReadySubstate](../models/readysubstate.md) | :heavy_minus_sign: | Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic | | `softDeletedByRetention` | *boolean* | :heavy_minus_sign: | N/A | | `undeletedAt` | *number* | :heavy_minus_sign: | N/A | | `url` | *string* | :heavy_check_mark: | N/A | -| `oidcTokenClaims` | [operations.OidcTokenClaims](../../models/operations/oidctokenclaims.md) | :heavy_minus_sign: | N/A | +| `oidcTokenClaims` | [models.OidcTokenClaims](../models/oidctokenclaims.md) | :heavy_minus_sign: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | | `ownerId` | *string* | :heavy_check_mark: | N/A | -| `microfrontends` | *operations.CreateDeploymentMicrofrontends* | :heavy_minus_sign: | N/A | +| `microfrontends` | *models.CreateDeploymentMicrofrontends* | :heavy_minus_sign: | N/A | | `monorepoManager` | *string* | :heavy_minus_sign: | N/A | -| `functions` | Record | :heavy_minus_sign: | N/A | -| `routes` | *operations.Routes*[] | :heavy_check_mark: | N/A | -| `crons` | [operations.CreateDeploymentCrons](../../models/operations/createdeploymentcrons.md)[] | :heavy_minus_sign: | N/A | -| `plan` | [operations.Plan](../../models/operations/plan.md) | :heavy_check_mark: | N/A | +| `functions` | Record | :heavy_minus_sign: | N/A | +| `routes` | *models.Routes*[] | :heavy_check_mark: | N/A | +| `crons` | [models.CreateDeploymentCrons](../models/createdeploymentcrons.md)[] | :heavy_minus_sign: | N/A | +| `plan` | [models.Plan](../models/plan.md) | :heavy_check_mark: | N/A | | `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | `createdIn` | *string* | :heavy_check_mark: | N/A | | `passiveConnectConfigurationId` | *string* | :heavy_minus_sign: | Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions) | -| `gitRepo` | *operations.GitRepo* | :heavy_minus_sign: | N/A | -| `flags` | *operations.Flags* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `gitRepo` | *models.GitRepo* | :heavy_minus_sign: | N/A | +| `flags` | *models.Flags* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdeploymentsource.md b/docs/models/createdeploymentsource.md new file mode 100644 index 00000000..43c2a1ea --- /dev/null +++ b/docs/models/createdeploymentsource.md @@ -0,0 +1,15 @@ +# CreateDeploymentSource + +## Example Usage + +```typescript +import { CreateDeploymentSource } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CreateDeploymentSource = "cli"; +``` + +## Values + +```typescript +"cli" | "git" | "import" | "import/repo" | "clone/repo" | "api-trigger-git-deploy" | "redeploy" | "v0-web" +``` \ No newline at end of file diff --git a/docs/models/operations/createdeploymentspeedinsights.md b/docs/models/createdeploymentspeedinsights.md similarity index 96% rename from docs/models/operations/createdeploymentspeedinsights.md rename to docs/models/createdeploymentspeedinsights.md index 850aa8ff..754c726f 100644 --- a/docs/models/operations/createdeploymentspeedinsights.md +++ b/docs/models/createdeploymentspeedinsights.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentSpeedInsights } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentSpeedInsights } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentSpeedInsights = { id: "", diff --git a/docs/models/createdeploymentstatus.md b/docs/models/createdeploymentstatus.md new file mode 100644 index 00000000..1d97803b --- /dev/null +++ b/docs/models/createdeploymentstatus.md @@ -0,0 +1,15 @@ +# CreateDeploymentStatus + +## Example Usage + +```typescript +import { CreateDeploymentStatus } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CreateDeploymentStatus = "READY"; +``` + +## Values + +```typescript +"CANCELED" | "ERROR" | "QUEUED" | "BUILDING" | "INITIALIZING" | "READY" +``` \ No newline at end of file diff --git a/docs/models/createdeploymenttarget.md b/docs/models/createdeploymenttarget.md new file mode 100644 index 00000000..ddb7cc91 --- /dev/null +++ b/docs/models/createdeploymenttarget.md @@ -0,0 +1,15 @@ +# CreateDeploymentTarget + +## Example Usage + +```typescript +import { CreateDeploymentTarget } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CreateDeploymentTarget = "production"; +``` + +## Values + +```typescript +"staging" | "production" +``` \ No newline at end of file diff --git a/docs/models/createdeploymenttype.md b/docs/models/createdeploymenttype.md new file mode 100644 index 00000000..f8d2ac77 --- /dev/null +++ b/docs/models/createdeploymenttype.md @@ -0,0 +1,15 @@ +# CreateDeploymentType + +## Example Usage + +```typescript +import { CreateDeploymentType } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CreateDeploymentType = "LAMBDAS"; +``` + +## Values + +```typescript +"LAMBDAS" +``` \ No newline at end of file diff --git a/docs/models/operations/createdeploymentwebanalytics.md b/docs/models/createdeploymentwebanalytics.md similarity index 95% rename from docs/models/operations/createdeploymentwebanalytics.md rename to docs/models/createdeploymentwebanalytics.md index 09a03981..17014e18 100644 --- a/docs/models/operations/createdeploymentwebanalytics.md +++ b/docs/models/createdeploymentwebanalytics.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeploymentWebAnalytics } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CreateDeploymentWebAnalytics } from "@vercel/sdk/models/createdeploymentop.js"; let value: CreateDeploymentWebAnalytics = { id: "", diff --git a/docs/models/createdfrom.md b/docs/models/createdfrom.md new file mode 100644 index 00000000..789ebae6 --- /dev/null +++ b/docs/models/createdfrom.md @@ -0,0 +1,17 @@ +# CreatedFrom + +Whether the log drain was created by an integration or by a user + +## Example Usage + +```typescript +import { CreatedFrom } from "@vercel/sdk/models/getintegrationlogdrainsop.js"; + +let value: CreatedFrom = "integration"; +``` + +## Values + +```typescript +"self-served" | "integration" +``` \ No newline at end of file diff --git a/docs/models/operations/createdinternalcontenthint.md b/docs/models/createdinternalcontenthint.md similarity index 90% rename from docs/models/operations/createdinternalcontenthint.md rename to docs/models/createdinternalcontenthint.md index a014030e..d18e559b 100644 --- a/docs/models/operations/createdinternalcontenthint.md +++ b/docs/models/createdinternalcontenthint.md @@ -5,7 +5,7 @@ Similar to `contentHints`, but should not be exposed to the user. ## Example Usage ```typescript -import { CreatedInternalContentHint } from "@vercel/sdk/models/operations/createprojectenv.js"; +import { CreatedInternalContentHint } from "@vercel/sdk/models/createprojectenvop.js"; let value: CreatedInternalContentHint = { type: "flags-secret", @@ -17,5 +17,5 @@ let value: CreatedInternalContentHint = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvCreatedProjectsType](../../models/operations/createprojectenvcreatedprojectstype.md) | :heavy_check_mark: | N/A | +| `type` | [models.CreateProjectEnvCreatedProjectsType](../models/createprojectenvcreatedprojectstype.md) | :heavy_check_mark: | N/A | | `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/createdtarget.md b/docs/models/createdtarget.md new file mode 100644 index 00000000..affa62ad --- /dev/null +++ b/docs/models/createdtarget.md @@ -0,0 +1,19 @@ +# CreatedTarget + + +## Supported Types + +### `models.CreateProjectEnvTarget1[]` + +```typescript +const value: models.CreateProjectEnvTarget1[] = [ + "preview", +]; +``` + +### `models.CreateProjectEnvTarget2` + +```typescript +const value: models.CreateProjectEnvTarget2 = "preview"; +``` + diff --git a/docs/models/createdtype.md b/docs/models/createdtype.md new file mode 100644 index 00000000..9cc2460f --- /dev/null +++ b/docs/models/createdtype.md @@ -0,0 +1,15 @@ +# CreatedType + +## Example Usage + +```typescript +import { CreatedType } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreatedType = "secret"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/createedgeconfigpurpose.md b/docs/models/createedgeconfigpurpose.md new file mode 100644 index 00000000..03fe4666 --- /dev/null +++ b/docs/models/createedgeconfigpurpose.md @@ -0,0 +1,19 @@ +# CreateEdgeConfigPurpose + +## Example Usage + +```typescript +import { CreateEdgeConfigPurpose } from "@vercel/sdk/models/createedgeconfigop.js"; + +let value: CreateEdgeConfigPurpose = { + type: "flags", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `type` | [models.CreateEdgeConfigType](../models/createedgeconfigtype.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createedgeconfigrequest.md b/docs/models/createedgeconfigrequest.md new file mode 100644 index 00000000..e4bd64ee --- /dev/null +++ b/docs/models/createedgeconfigrequest.md @@ -0,0 +1,21 @@ +# CreateEdgeConfigRequest + +## Example Usage + +```typescript +import { CreateEdgeConfigRequest } from "@vercel/sdk/models/createedgeconfigop.js"; + +let value: CreateEdgeConfigRequest = { + requestBody: { + slug: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.CreateEdgeConfigRequestBody](../models/createedgeconfigrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createedgeconfigrequestbody.md b/docs/models/createedgeconfigrequestbody.md new file mode 100644 index 00000000..641d9cc3 --- /dev/null +++ b/docs/models/createedgeconfigrequestbody.md @@ -0,0 +1,18 @@ +# CreateEdgeConfigRequestBody + +## Example Usage + +```typescript +import { CreateEdgeConfigRequestBody } from "@vercel/sdk/models/createedgeconfigop.js"; + +let value: CreateEdgeConfigRequestBody = { + slug: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `items` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createedgeconfigresponsebody.md b/docs/models/createedgeconfigresponsebody.md similarity index 94% rename from docs/models/operations/createedgeconfigresponsebody.md rename to docs/models/createedgeconfigresponsebody.md index e803301f..7567ae93 100644 --- a/docs/models/operations/createedgeconfigresponsebody.md +++ b/docs/models/createedgeconfigresponsebody.md @@ -5,11 +5,11 @@ An Edge Config ## Example Usage ```typescript -import { CreateEdgeConfigResponseBody } from "@vercel/sdk/models/operations/createedgeconfig.js"; +import { CreateEdgeConfigResponseBody } from "@vercel/sdk/models/createedgeconfigop.js"; let value: CreateEdgeConfigResponseBody = { - sizeInBytes: 6568.38, - itemCount: 1064.95, + sizeInBytes: 6844.99, + itemCount: 4173.33, }; ``` @@ -23,8 +23,8 @@ let value: CreateEdgeConfigResponseBody = { | `slug` | *string* | :heavy_minus_sign: | Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). | | `ownerId` | *string* | :heavy_minus_sign: | N/A | | `digest` | *string* | :heavy_minus_sign: | N/A | -| `transfer` | [operations.CreateEdgeConfigTransfer](../../models/operations/createedgeconfigtransfer.md) | :heavy_minus_sign: | Keeps track of the current state of the Edge Config while it gets transferred. | -| `schema` | [operations.CreateEdgeConfigSchema](../../models/operations/createedgeconfigschema.md) | :heavy_minus_sign: | N/A | -| `purpose` | [operations.CreateEdgeConfigPurpose](../../models/operations/createedgeconfigpurpose.md) | :heavy_minus_sign: | N/A | +| `transfer` | [models.CreateEdgeConfigTransfer](../models/createedgeconfigtransfer.md) | :heavy_minus_sign: | Keeps track of the current state of the Edge Config while it gets transferred. | +| `schema` | [models.CreateEdgeConfigSchema](../models/createedgeconfigschema.md) | :heavy_minus_sign: | N/A | +| `purpose` | [models.CreateEdgeConfigPurpose](../models/createedgeconfigpurpose.md) | :heavy_minus_sign: | N/A | | `sizeInBytes` | *number* | :heavy_check_mark: | N/A | | `itemCount` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createedgeconfigschema.md b/docs/models/createedgeconfigschema.md new file mode 100644 index 00000000..9e1a77e1 --- /dev/null +++ b/docs/models/createedgeconfigschema.md @@ -0,0 +1,14 @@ +# CreateEdgeConfigSchema + +## Example Usage + +```typescript +import { CreateEdgeConfigSchema } from "@vercel/sdk/models/createedgeconfigop.js"; + +let value: CreateEdgeConfigSchema = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/createedgeconfigtokenrequest.md b/docs/models/createedgeconfigtokenrequest.md new file mode 100644 index 00000000..d58e5fe7 --- /dev/null +++ b/docs/models/createedgeconfigtokenrequest.md @@ -0,0 +1,23 @@ +# CreateEdgeConfigTokenRequest + +## Example Usage + +```typescript +import { CreateEdgeConfigTokenRequest } from "@vercel/sdk/models/createedgeconfigtokenop.js"; + +let value: CreateEdgeConfigTokenRequest = { + edgeConfigId: "", + requestBody: { + label: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.CreateEdgeConfigTokenRequestBody](../models/createedgeconfigtokenrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createedgeconfigtokenrequestbody.md b/docs/models/createedgeconfigtokenrequestbody.md similarity index 91% rename from docs/models/operations/createedgeconfigtokenrequestbody.md rename to docs/models/createedgeconfigtokenrequestbody.md index b67b7140..2978c6ab 100644 --- a/docs/models/operations/createedgeconfigtokenrequestbody.md +++ b/docs/models/createedgeconfigtokenrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateEdgeConfigTokenRequestBody } from "@vercel/sdk/models/operations/createedgeconfigtoken.js"; +import { CreateEdgeConfigTokenRequestBody } from "@vercel/sdk/models/createedgeconfigtokenop.js"; let value: CreateEdgeConfigTokenRequestBody = { label: "", diff --git a/docs/models/operations/createedgeconfigtokenresponsebody.md b/docs/models/createedgeconfigtokenresponsebody.md similarity index 92% rename from docs/models/operations/createedgeconfigtokenresponsebody.md rename to docs/models/createedgeconfigtokenresponsebody.md index 10d8665d..5385bf74 100644 --- a/docs/models/operations/createedgeconfigtokenresponsebody.md +++ b/docs/models/createedgeconfigtokenresponsebody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateEdgeConfigTokenResponseBody } from "@vercel/sdk/models/operations/createedgeconfigtoken.js"; +import { CreateEdgeConfigTokenResponseBody } from "@vercel/sdk/models/createedgeconfigtokenop.js"; let value: CreateEdgeConfigTokenResponseBody = { token: "", diff --git a/docs/models/operations/createedgeconfigtransfer.md b/docs/models/createedgeconfigtransfer.md similarity index 82% rename from docs/models/operations/createedgeconfigtransfer.md rename to docs/models/createedgeconfigtransfer.md index 15d76844..5adcde82 100644 --- a/docs/models/operations/createedgeconfigtransfer.md +++ b/docs/models/createedgeconfigtransfer.md @@ -5,12 +5,12 @@ Keeps track of the current state of the Edge Config while it gets transferred. ## Example Usage ```typescript -import { CreateEdgeConfigTransfer } from "@vercel/sdk/models/operations/createedgeconfig.js"; +import { CreateEdgeConfigTransfer } from "@vercel/sdk/models/createedgeconfigop.js"; let value: CreateEdgeConfigTransfer = { fromAccountId: "", - startedAt: 9906.52, - doneAt: 1988.92, + startedAt: 6509.14, + doneAt: 8273.13, }; ``` diff --git a/docs/models/createedgeconfigtype.md b/docs/models/createedgeconfigtype.md new file mode 100644 index 00000000..f2da9da9 --- /dev/null +++ b/docs/models/createedgeconfigtype.md @@ -0,0 +1,15 @@ +# CreateEdgeConfigType + +## Example Usage + +```typescript +import { CreateEdgeConfigType } from "@vercel/sdk/models/createedgeconfigop.js"; + +let value: CreateEdgeConfigType = "flags"; +``` + +## Values + +```typescript +"flags" +``` \ No newline at end of file diff --git a/docs/models/createeventevent.md b/docs/models/createeventevent.md new file mode 100644 index 00000000..7a38b3f2 --- /dev/null +++ b/docs/models/createeventevent.md @@ -0,0 +1,23 @@ +# CreateEventEvent + + +## Supported Types + +### `models.Event1` + +```typescript +const value: models.Event1 = { + type: "installation.updated", +}; +``` + +### `models.Event2` + +```typescript +const value: models.Event2 = { + type: "resource.updated", + productId: "", + resourceId: "", +}; +``` + diff --git a/docs/models/createeventeventtype.md b/docs/models/createeventeventtype.md new file mode 100644 index 00000000..5df84ce9 --- /dev/null +++ b/docs/models/createeventeventtype.md @@ -0,0 +1,15 @@ +# CreateEventEventType + +## Example Usage + +```typescript +import { CreateEventEventType } from "@vercel/sdk/models/createeventop.js"; + +let value: CreateEventEventType = "resource.updated"; +``` + +## Values + +```typescript +"resource.updated" +``` \ No newline at end of file diff --git a/docs/models/createeventrequest.md b/docs/models/createeventrequest.md new file mode 100644 index 00000000..41871c5c --- /dev/null +++ b/docs/models/createeventrequest.md @@ -0,0 +1,25 @@ +# CreateEventRequest + +## Example Usage + +```typescript +import { CreateEventRequest } from "@vercel/sdk/models/createeventop.js"; + +let value: CreateEventRequest = { + integrationConfigurationId: "", + requestBody: { + event: { + type: "resource.updated", + productId: "", + resourceId: "", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [models.CreateEventRequestBody](../models/createeventrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createeventrequestbody.md b/docs/models/createeventrequestbody.md new file mode 100644 index 00000000..fa6e9f58 --- /dev/null +++ b/docs/models/createeventrequestbody.md @@ -0,0 +1,21 @@ +# CreateEventRequestBody + +## Example Usage + +```typescript +import { CreateEventRequestBody } from "@vercel/sdk/models/createeventop.js"; + +let value: CreateEventRequestBody = { + event: { + type: "resource.updated", + productId: "", + resourceId: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------- | ------------------------- | ------------------------- | ------------------------- | +| `event` | *models.CreateEventEvent* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createlogdraincreatedfrom.md b/docs/models/createlogdraincreatedfrom.md new file mode 100644 index 00000000..0abd05c7 --- /dev/null +++ b/docs/models/createlogdraincreatedfrom.md @@ -0,0 +1,17 @@ +# CreateLogDrainCreatedFrom + +Whether the log drain was created by an integration or by a user + +## Example Usage + +```typescript +import { CreateLogDrainCreatedFrom } from "@vercel/sdk/models/createlogdrainop.js"; + +let value: CreateLogDrainCreatedFrom = "integration"; +``` + +## Values + +```typescript +"self-served" | "integration" +``` \ No newline at end of file diff --git a/docs/models/operations/createlogdraindeliveryformat.md b/docs/models/createlogdraindeliveryformat.md similarity index 89% rename from docs/models/operations/createlogdraindeliveryformat.md rename to docs/models/createlogdraindeliveryformat.md index 1f85f67e..5f1e49dc 100644 --- a/docs/models/operations/createlogdraindeliveryformat.md +++ b/docs/models/createlogdraindeliveryformat.md @@ -5,7 +5,7 @@ The delivery log format ## Example Usage ```typescript -import { CreateLogDrainDeliveryFormat } from "@vercel/sdk/models/operations/createlogdrain.js"; +import { CreateLogDrainDeliveryFormat } from "@vercel/sdk/models/createlogdrainop.js"; let value: CreateLogDrainDeliveryFormat = "json"; ``` diff --git a/docs/models/createlogdrainenvironments.md b/docs/models/createlogdrainenvironments.md new file mode 100644 index 00000000..6bc8cbe2 --- /dev/null +++ b/docs/models/createlogdrainenvironments.md @@ -0,0 +1,17 @@ +# CreateLogDrainEnvironments + +The environment of log drain + +## Example Usage + +```typescript +import { CreateLogDrainEnvironments } from "@vercel/sdk/models/createlogdrainop.js"; + +let value: CreateLogDrainEnvironments = "production"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/createlogdrainrequest.md b/docs/models/createlogdrainrequest.md new file mode 100644 index 00000000..7d9c8f21 --- /dev/null +++ b/docs/models/createlogdrainrequest.md @@ -0,0 +1,24 @@ +# CreateLogDrainRequest + +## Example Usage + +```typescript +import { CreateLogDrainRequest } from "@vercel/sdk/models/createlogdrainop.js"; + +let value: CreateLogDrainRequest = { + requestBody: { + name: "My first log drain", + secret: "a1Xsfd325fXcs", + deliveryFormat: "json", + url: "https://example.com/log-drain", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.CreateLogDrainRequestBody](../models/createlogdrainrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createlogdrainrequestbody.md b/docs/models/createlogdrainrequestbody.md similarity index 94% rename from docs/models/operations/createlogdrainrequestbody.md rename to docs/models/createlogdrainrequestbody.md index 3eaad269..bd698551 100644 --- a/docs/models/operations/createlogdrainrequestbody.md +++ b/docs/models/createlogdrainrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateLogDrainRequestBody } from "@vercel/sdk/models/operations/createlogdrain.js"; +import { CreateLogDrainRequestBody } from "@vercel/sdk/models/createlogdrainop.js"; let value: CreateLogDrainRequestBody = { name: "My first log drain", @@ -20,8 +20,8 @@ let value: CreateLogDrainRequestBody = { | `name` | *string* | :heavy_check_mark: | The name of the log drain | My first log drain | | `projectIds` | *string*[] | :heavy_minus_sign: | N/A | | | `secret` | *string* | :heavy_minus_sign: | A secret to sign log drain notification headers so a consumer can verify their authenticity | a1Xsfd325fXcs | -| `deliveryFormat` | [operations.DeliveryFormat](../../models/operations/deliveryformat.md) | :heavy_minus_sign: | The delivery log format | json | +| `deliveryFormat` | [models.DeliveryFormat](../models/deliveryformat.md) | :heavy_minus_sign: | The delivery log format | json | | `url` | *string* | :heavy_check_mark: | The url where you will receive logs. The protocol must be `https://` or `http://` when type is `json` and `ndjson`, and `syslog+tls:` or `syslog:` when the type is `syslog`. | https://example.com/log-drain | -| `sources` | [operations.Sources](../../models/operations/sources.md)[] | :heavy_minus_sign: | N/A | | +| `sources` | [models.Sources](../models/sources.md)[] | :heavy_minus_sign: | N/A | | | `headers` | Record | :heavy_minus_sign: | Headers to be sent together with the request | | -| `environments` | [operations.Environments](../../models/operations/environments.md)[] | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `environments` | [models.Environments](../models/environments.md)[] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/createlogdrainresponsebody.md b/docs/models/createlogdrainresponsebody.md new file mode 100644 index 00000000..8652778b --- /dev/null +++ b/docs/models/createlogdrainresponsebody.md @@ -0,0 +1,88 @@ +# CreateLogDrainResponseBody + +The log drain was successfully created + +## Example Usage + +```typescript +import { CreateLogDrainResponseBody } from "@vercel/sdk/models/createlogdrainop.js"; + +let value: CreateLogDrainResponseBody = { + clientId: "oac_xRhY4LAB7yLhUADD69EvV7ct", + configurationId: "icfg_cuwj0AdCdH3BwWT4LPijCC7t", + createdAt: 1558531915505, + id: "ld_nBuA7zCID8g4QZ8g", + deliveryFormat: "json", + name: "My first log drain", + ownerId: "kr1PsOIzqEL5Xg6M4VZcZosf", + projectId: "AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb", + projectIds: [ + "AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb", + ], + url: "https://example.com/log-drain", + sources: [ + "build", + "edge", + ], + createdFrom: "integration", + headers: { + "0": "{", + "1": "\"", + "2": "A", + "3": "u", + "4": "t", + "5": "h", + "6": "o", + "7": "r", + "8": "i", + "9": "z", + "10": "a", + "11": "t", + "12": "i", + "13": "o", + "14": "n", + "15": "\"", + "16": ":", + "17": " ", + "18": "\"", + "19": "B", + "20": "e", + "21": "a", + "22": "r", + "23": "e", + "24": "r", + "25": " ", + "26": "1", + "27": "2", + "28": "3", + "29": "\"", + "30": "}", + }, + environments: [ + "production", + ], + branch: "feature/*", + samplingRate: 0.5, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `clientId` | *string* | :heavy_minus_sign: | The oauth2 client application id that created this log drain | oac_xRhY4LAB7yLhUADD69EvV7ct | +| `configurationId` | *string* | :heavy_minus_sign: | The client configuration this log drain was created with | icfg_cuwj0AdCdH3BwWT4LPijCC7t | +| `createdAt` | *number* | :heavy_check_mark: | A timestamp that tells you when the log drain was created | 1558531915505 | +| `id` | *string* | :heavy_check_mark: | The unique identifier of the log drain. Always prefixed with `ld_` | ld_nBuA7zCID8g4QZ8g | +| `deliveryFormat` | [models.CreateLogDrainDeliveryFormat](../models/createlogdraindeliveryformat.md) | :heavy_minus_sign: | The delivery log format | json | +| `name` | *string* | :heavy_check_mark: | The name of the log drain | My first log drain | +| `ownerId` | *string* | :heavy_check_mark: | The identifier of the team or user whose events will trigger the log drain | kr1PsOIzqEL5Xg6M4VZcZosf | +| `projectId` | *string* | :heavy_minus_sign: | N/A | AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb | +| `projectIds` | *string*[] | :heavy_minus_sign: | The identifier of the projects this log drain is associated with | AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb | +| `url` | *string* | :heavy_check_mark: | The URL to call when logs are generated | https://example.com/log-drain | +| `sources` | [models.CreateLogDrainSources](../models/createlogdrainsources.md)[] | :heavy_minus_sign: | The sources from which logs are currently being delivered to this log drain. | [
"build",
"edge"
] | +| `createdFrom` | [models.CreateLogDrainCreatedFrom](../models/createlogdraincreatedfrom.md) | :heavy_minus_sign: | Whether the log drain was created by an integration or by a user | integration | +| `headers` | Record | :heavy_minus_sign: | The headers to send with the request | {"Authorization": "Bearer 123"} | +| `environments` | [models.CreateLogDrainEnvironments](../models/createlogdrainenvironments.md)[] | :heavy_check_mark: | The environment of log drain | [
"production"
] | +| `branch` | *string* | :heavy_minus_sign: | The branch regexp of log drain | feature/* | +| `samplingRate` | *number* | :heavy_minus_sign: | The sampling rate of log drain | 0.5 | \ No newline at end of file diff --git a/docs/models/operations/createlogdrainsources.md b/docs/models/createlogdrainsources.md similarity index 75% rename from docs/models/operations/createlogdrainsources.md rename to docs/models/createlogdrainsources.md index b599ce85..21208178 100644 --- a/docs/models/operations/createlogdrainsources.md +++ b/docs/models/createlogdrainsources.md @@ -5,7 +5,7 @@ The sources from which logs are currently being delivered to this log drain. ## Example Usage ```typescript -import { CreateLogDrainSources } from "@vercel/sdk/models/operations/createlogdrain.js"; +import { CreateLogDrainSources } from "@vercel/sdk/models/createlogdrainop.js"; let value: CreateLogDrainSources = "edge"; ``` diff --git a/docs/models/operations/createortransferdomaincreator.md b/docs/models/createortransferdomaincreator.md similarity index 96% rename from docs/models/operations/createortransferdomaincreator.md rename to docs/models/createortransferdomaincreator.md index 6b25d0f9..353ce657 100644 --- a/docs/models/operations/createortransferdomaincreator.md +++ b/docs/models/createortransferdomaincreator.md @@ -5,7 +5,7 @@ An object containing information of the domain creator, including the user's id, ## Example Usage ```typescript -import { CreateOrTransferDomainCreator } from "@vercel/sdk/models/operations/createortransferdomain.js"; +import { CreateOrTransferDomainCreator } from "@vercel/sdk/models/createortransferdomainop.js"; let value: CreateOrTransferDomainCreator = { username: "vercel_user", diff --git a/docs/models/operations/createortransferdomaindomain.md b/docs/models/createortransferdomaindomain.md similarity index 97% rename from docs/models/operations/createortransferdomaindomain.md rename to docs/models/createortransferdomaindomain.md index 2d9d451a..4e9cd8fb 100644 --- a/docs/models/operations/createortransferdomaindomain.md +++ b/docs/models/createortransferdomaindomain.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateOrTransferDomainDomain } from "@vercel/sdk/models/operations/createortransferdomain.js"; +import { CreateOrTransferDomainDomain } from "@vercel/sdk/models/createortransferdomainop.js"; let value: CreateOrTransferDomainDomain = { verified: true, @@ -47,7 +47,7 @@ let value: CreateOrTransferDomainDomain = { | `nameservers` | *string*[] | :heavy_check_mark: | A list of the current nameservers of the domain. | [
"ns1.nameserver.net",
"ns2.nameserver.net"
] | | `intendedNameservers` | *string*[] | :heavy_check_mark: | A list of the intended nameservers for the domain to point to Vercel DNS. | [
"ns1.vercel-dns.com",
"ns2.vercel-dns.com"
] | | `customNameservers` | *string*[] | :heavy_minus_sign: | A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel. | [
"ns1.nameserver.net",
"ns2.nameserver.net"
] | -| `creator` | [operations.CreateOrTransferDomainCreator](../../models/operations/createortransferdomaincreator.md) | :heavy_check_mark: | An object containing information of the domain creator, including the user's id, username, and email. | {
"id": "ZspSRT4ljIEEmMHgoDwKWDei",
"username": "vercel_user",
"email": "demo@example.com"
} | +| `creator` | [models.CreateOrTransferDomainCreator](../models/createortransferdomaincreator.md) | :heavy_check_mark: | An object containing information of the domain creator, including the user's id, username, and email. | {
"id": "ZspSRT4ljIEEmMHgoDwKWDei",
"username": "vercel_user",
"email": "demo@example.com"
} | | `name` | *string* | :heavy_check_mark: | The domain name. | example.com | | `boughtAt` | *number* | :heavy_check_mark: | If it was purchased through Vercel, the timestamp in milliseconds when it was purchased. | 1613602938882 | | `createdAt` | *number* | :heavy_check_mark: | Timestamp in milliseconds when the domain was created in the registry. | 1613602938882 | @@ -55,7 +55,7 @@ let value: CreateOrTransferDomainDomain = { | `id` | *string* | :heavy_check_mark: | The unique identifier of the domain. | EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1 | | `orderedAt` | *number* | :heavy_minus_sign: | Timestamp in milliseconds at which the domain was ordered. | 1613602938882 | | `renew` | *boolean* | :heavy_minus_sign: | Indicates whether the domain is set to automatically renew. | true | -| `serviceType` | [operations.CreateOrTransferDomainServiceType](../../models/operations/createortransferdomainservicetype.md) | :heavy_check_mark: | The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. | zeit.world | +| `serviceType` | [models.CreateOrTransferDomainServiceType](../models/createortransferdomainservicetype.md) | :heavy_check_mark: | The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. | zeit.world | | `transferredAt` | *number* | :heavy_minus_sign: | Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in. | 1613602938882 | | `transferStartedAt` | *number* | :heavy_minus_sign: | If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated. | 1613602938882 | | `userId` | *string* | :heavy_check_mark: | N/A | | diff --git a/docs/models/operations/createortransferdomainrequest.md b/docs/models/createortransferdomainrequest.md similarity index 81% rename from docs/models/operations/createortransferdomainrequest.md rename to docs/models/createortransferdomainrequest.md index 94371ba9..53f6e69b 100644 --- a/docs/models/operations/createortransferdomainrequest.md +++ b/docs/models/createortransferdomainrequest.md @@ -3,14 +3,13 @@ ## Example Usage ```typescript -import { CreateOrTransferDomainRequest } from "@vercel/sdk/models/operations/createortransferdomain.js"; +import { CreateOrTransferDomainRequest } from "@vercel/sdk/models/createortransferdomainop.js"; let value: CreateOrTransferDomainRequest = { requestBody: { name: "example.com", + cdnEnabled: true, method: "transfer-in", - authCode: "fdhfr820ad#@FAdlj$$", - expectedPrice: 8, }, }; ``` @@ -21,4 +20,4 @@ let value: CreateOrTransferDomainRequest = { | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | | `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | *operations.CreateOrTransferDomainRequestBody* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `requestBody` | *models.CreateOrTransferDomainRequestBody* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createortransferdomainrequestbody.md b/docs/models/createortransferdomainrequestbody.md new file mode 100644 index 00000000..3ba23a35 --- /dev/null +++ b/docs/models/createortransferdomainrequestbody.md @@ -0,0 +1,36 @@ +# CreateOrTransferDomainRequestBody + + +## Supported Types + +### `models.CreateOrTransferDomainRequestBody1` + +```typescript +const value: models.CreateOrTransferDomainRequestBody1 = { + name: "example.com", + cdnEnabled: true, + method: "transfer-in", +}; +``` + +### `models.CreateOrTransferDomainRequestBody2` + +```typescript +const value: models.CreateOrTransferDomainRequestBody2 = { + name: "example.com", + method: "transfer-in", + token: "fdhfr820ad#@FAdlj$$", +}; +``` + +### `models.CreateOrTransferDomainRequestBody3` + +```typescript +const value: models.CreateOrTransferDomainRequestBody3 = { + name: "example.com", + method: "transfer-in", + authCode: "fdhfr820ad#@FAdlj$$", + expectedPrice: 8, +}; +``` + diff --git a/docs/models/operations/createortransferdomainrequestbody1.md b/docs/models/createortransferdomainrequestbody1.md similarity index 98% rename from docs/models/operations/createortransferdomainrequestbody1.md rename to docs/models/createortransferdomainrequestbody1.md index 329a199b..fbb2c022 100644 --- a/docs/models/operations/createortransferdomainrequestbody1.md +++ b/docs/models/createortransferdomainrequestbody1.md @@ -5,7 +5,7 @@ add ## Example Usage ```typescript -import { CreateOrTransferDomainRequestBody1 } from "@vercel/sdk/models/operations/createortransferdomain.js"; +import { CreateOrTransferDomainRequestBody1 } from "@vercel/sdk/models/createortransferdomainop.js"; let value: CreateOrTransferDomainRequestBody1 = { name: "example.com", diff --git a/docs/models/operations/createortransferdomainrequestbody2.md b/docs/models/createortransferdomainrequestbody2.md similarity index 97% rename from docs/models/operations/createortransferdomainrequestbody2.md rename to docs/models/createortransferdomainrequestbody2.md index c0efccd7..5b0fea3e 100644 --- a/docs/models/operations/createortransferdomainrequestbody2.md +++ b/docs/models/createortransferdomainrequestbody2.md @@ -5,7 +5,7 @@ move-in ## Example Usage ```typescript -import { CreateOrTransferDomainRequestBody2 } from "@vercel/sdk/models/operations/createortransferdomain.js"; +import { CreateOrTransferDomainRequestBody2 } from "@vercel/sdk/models/createortransferdomainop.js"; let value: CreateOrTransferDomainRequestBody2 = { name: "example.com", diff --git a/docs/models/operations/createortransferdomainrequestbody3.md b/docs/models/createortransferdomainrequestbody3.md similarity index 98% rename from docs/models/operations/createortransferdomainrequestbody3.md rename to docs/models/createortransferdomainrequestbody3.md index 4dd8e76d..48d7cdbd 100644 --- a/docs/models/operations/createortransferdomainrequestbody3.md +++ b/docs/models/createortransferdomainrequestbody3.md @@ -5,7 +5,7 @@ transfer-in ## Example Usage ```typescript -import { CreateOrTransferDomainRequestBody3 } from "@vercel/sdk/models/operations/createortransferdomain.js"; +import { CreateOrTransferDomainRequestBody3 } from "@vercel/sdk/models/createortransferdomainop.js"; let value: CreateOrTransferDomainRequestBody3 = { name: "example.com", diff --git a/docs/models/createortransferdomainresponsebody.md b/docs/models/createortransferdomainresponsebody.md new file mode 100644 index 00000000..b2a8c644 --- /dev/null +++ b/docs/models/createortransferdomainresponsebody.md @@ -0,0 +1,48 @@ +# CreateOrTransferDomainResponseBody + +## Example Usage + +```typescript +import { CreateOrTransferDomainResponseBody } from "@vercel/sdk/models/createortransferdomainop.js"; + +let value: CreateOrTransferDomainResponseBody = { + domain: { + verified: true, + nameservers: [ + "ns1.nameserver.net", + "ns2.nameserver.net", + ], + intendedNameservers: [ + "ns1.vercel-dns.com", + "ns2.vercel-dns.com", + ], + customNameservers: [ + "ns1.nameserver.net", + "ns2.nameserver.net", + ], + creator: { + username: "vercel_user", + email: "demo@example.com", + id: "ZspSRT4ljIEEmMHgoDwKWDei", + }, + name: "example.com", + boughtAt: 1613602938882, + createdAt: 1613602938882, + expiresAt: 1613602938882, + id: "EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1", + orderedAt: 1613602938882, + renew: true, + serviceType: "zeit.world", + transferredAt: 1613602938882, + transferStartedAt: 1613602938882, + userId: "", + teamId: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `domain` | [models.CreateOrTransferDomainDomain](../models/createortransferdomaindomain.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createortransferdomainservicetype.md b/docs/models/createortransferdomainservicetype.md similarity index 90% rename from docs/models/operations/createortransferdomainservicetype.md rename to docs/models/createortransferdomainservicetype.md index 305d61f3..8a309998 100644 --- a/docs/models/operations/createortransferdomainservicetype.md +++ b/docs/models/createortransferdomainservicetype.md @@ -5,7 +5,7 @@ The type of service the domain is handled by. `external` if the DNS is externall ## Example Usage ```typescript -import { CreateOrTransferDomainServiceType } from "@vercel/sdk/models/operations/createortransferdomain.js"; +import { CreateOrTransferDomainServiceType } from "@vercel/sdk/models/createortransferdomainop.js"; let value: CreateOrTransferDomainServiceType = "zeit.world"; ``` diff --git a/docs/models/createprojectaction.md b/docs/models/createprojectaction.md new file mode 100644 index 00000000..f9c26b0b --- /dev/null +++ b/docs/models/createprojectaction.md @@ -0,0 +1,15 @@ +# CreateProjectAction + +## Example Usage + +```typescript +import { CreateProjectAction } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectAction = "deny"; +``` + +## Values + +```typescript +"deny" | "challenge" | "log" | "bypass" | "rate_limit" | "redirect" +``` \ No newline at end of file diff --git a/docs/models/createprojectalgo.md b/docs/models/createprojectalgo.md new file mode 100644 index 00000000..43e23641 --- /dev/null +++ b/docs/models/createprojectalgo.md @@ -0,0 +1,15 @@ +# CreateProjectAlgo + +## Example Usage + +```typescript +import { CreateProjectAlgo } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectAlgo = "token_bucket"; +``` + +## Values + +```typescript +"fixed_window" | "token_bucket" +``` \ No newline at end of file diff --git a/docs/models/operations/createprojectaliasassigned.md b/docs/models/createprojectaliasassigned.md similarity index 100% rename from docs/models/operations/createprojectaliasassigned.md rename to docs/models/createprojectaliasassigned.md diff --git a/docs/models/operations/createprojectaliaserror.md b/docs/models/createprojectaliaserror.md similarity index 84% rename from docs/models/operations/createprojectaliaserror.md rename to docs/models/createprojectaliaserror.md index c6846908..41df6a88 100644 --- a/docs/models/operations/createprojectaliaserror.md +++ b/docs/models/createprojectaliaserror.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectAliasError } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectAliasError } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectAliasError = { code: "", diff --git a/docs/models/operations/createprojectanalytics.md b/docs/models/createprojectanalytics.md similarity index 92% rename from docs/models/operations/createprojectanalytics.md rename to docs/models/createprojectanalytics.md index 1e13d0d9..5ac70d61 100644 --- a/docs/models/operations/createprojectanalytics.md +++ b/docs/models/createprojectanalytics.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectAnalytics } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectAnalytics } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectAnalytics = { id: "", diff --git a/docs/models/createprojectbranchmatcher.md b/docs/models/createprojectbranchmatcher.md new file mode 100644 index 00000000..ec45db85 --- /dev/null +++ b/docs/models/createprojectbranchmatcher.md @@ -0,0 +1,19 @@ +# CreateProjectBranchMatcher + +## Example Usage + +```typescript +import { CreateProjectBranchMatcher } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectBranchMatcher = { + type: "startsWith", + pattern: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType](../models/createprojectprojectsresponse200applicationjsonresponsebodylatestdeploymentstype.md) | :heavy_check_mark: | N/A | +| `pattern` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectbuilds.md b/docs/models/createprojectbuilds.md similarity index 86% rename from docs/models/operations/createprojectbuilds.md rename to docs/models/createprojectbuilds.md index 9e7291cf..5ff3ee34 100644 --- a/docs/models/operations/createprojectbuilds.md +++ b/docs/models/createprojectbuilds.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectBuilds } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectBuilds } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectBuilds = { use: "", diff --git a/docs/models/operations/createprojectchecksconclusion.md b/docs/models/createprojectchecksconclusion.md similarity index 89% rename from docs/models/operations/createprojectchecksconclusion.md rename to docs/models/createprojectchecksconclusion.md index b2636643..75bef3f4 100644 --- a/docs/models/operations/createprojectchecksconclusion.md +++ b/docs/models/createprojectchecksconclusion.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectChecksConclusion } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectChecksConclusion } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectChecksConclusion = "failed"; ``` diff --git a/docs/models/createprojectchecksstate.md b/docs/models/createprojectchecksstate.md new file mode 100644 index 00000000..f981e907 --- /dev/null +++ b/docs/models/createprojectchecksstate.md @@ -0,0 +1,15 @@ +# CreateProjectChecksState + +## Example Usage + +```typescript +import { CreateProjectChecksState } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectChecksState = "registered"; +``` + +## Values + +```typescript +"registered" | "running" | "completed" +``` \ No newline at end of file diff --git a/docs/models/createprojectcontenthint.md b/docs/models/createprojectcontenthint.md new file mode 100644 index 00000000..ec12bcf8 --- /dev/null +++ b/docs/models/createprojectcontenthint.md @@ -0,0 +1,143 @@ +# CreateProjectContentHint + + +## Supported Types + +### `models.CreateProjectContentHint1` + +```typescript +const value: models.CreateProjectContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +### `models.CreateProjectContentHint2` + +```typescript +const value: models.CreateProjectContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +### `models.CreateProjectContentHint3` + +```typescript +const value: models.CreateProjectContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +### `models.CreateProjectContentHint4` + +```typescript +const value: models.CreateProjectContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +### `models.CreateProjectContentHint5` + +```typescript +const value: models.CreateProjectContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +### `models.CreateProjectContentHint6` + +```typescript +const value: models.CreateProjectContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +### `models.CreateProjectContentHint7` + +```typescript +const value: models.CreateProjectContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +### `models.CreateProjectContentHint8` + +```typescript +const value: models.CreateProjectContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +### `models.CreateProjectContentHint9` + +```typescript +const value: models.CreateProjectContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +### `models.CreateProjectContentHint10` + +```typescript +const value: models.CreateProjectContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +### `models.ContentHint11` + +```typescript +const value: models.ContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +### `models.ContentHint12` + +```typescript +const value: models.ContentHint12 = { + type: "postgres-database", + storeId: "", +}; +``` + +### `models.ContentHint13` + +```typescript +const value: models.ContentHint13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +### `models.ContentHint14` + +```typescript +const value: models.ContentHint14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +### `models.ContentHint15` + +```typescript +const value: models.ContentHint15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + diff --git a/docs/models/createprojectcontenthint1.md b/docs/models/createprojectcontenthint1.md new file mode 100644 index 00000000..4414775a --- /dev/null +++ b/docs/models/createprojectcontenthint1.md @@ -0,0 +1,19 @@ +# CreateProjectContentHint1 + +## Example Usage + +```typescript +import { CreateProjectContentHint1 } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectContentHintType](../models/createprojectcontenthinttype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectcontenthint10.md b/docs/models/createprojectcontenthint10.md new file mode 100644 index 00000000..6501657d --- /dev/null +++ b/docs/models/createprojectcontenthint10.md @@ -0,0 +1,19 @@ +# CreateProjectContentHint10 + +## Example Usage + +```typescript +import { CreateProjectContentHint10 } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type](../models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectcontenthint2.md b/docs/models/createprojectcontenthint2.md new file mode 100644 index 00000000..7ab55a34 --- /dev/null +++ b/docs/models/createprojectcontenthint2.md @@ -0,0 +1,19 @@ +# CreateProjectContentHint2 + +## Example Usage + +```typescript +import { CreateProjectContentHint2 } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectContentHintProjectsType](../models/createprojectcontenthintprojectstype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectcontenthint3.md b/docs/models/createprojectcontenthint3.md new file mode 100644 index 00000000..d021cbac --- /dev/null +++ b/docs/models/createprojectcontenthint3.md @@ -0,0 +1,19 @@ +# CreateProjectContentHint3 + +## Example Usage + +```typescript +import { CreateProjectContentHint3 } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectContentHintProjectsResponseType](../models/createprojectcontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectcontenthint4.md b/docs/models/createprojectcontenthint4.md new file mode 100644 index 00000000..74a65973 --- /dev/null +++ b/docs/models/createprojectcontenthint4.md @@ -0,0 +1,19 @@ +# CreateProjectContentHint4 + +## Example Usage + +```typescript +import { CreateProjectContentHint4 } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectContentHintProjectsResponse200Type](../models/createprojectcontenthintprojectsresponse200type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectcontenthint5.md b/docs/models/createprojectcontenthint5.md new file mode 100644 index 00000000..0f28263b --- /dev/null +++ b/docs/models/createprojectcontenthint5.md @@ -0,0 +1,19 @@ +# CreateProjectContentHint5 + +## Example Usage + +```typescript +import { CreateProjectContentHint5 } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectContentHintProjectsResponse200ApplicationJSONType](../models/createprojectcontenthintprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectcontenthint6.md b/docs/models/createprojectcontenthint6.md new file mode 100644 index 00000000..74916382 --- /dev/null +++ b/docs/models/createprojectcontenthint6.md @@ -0,0 +1,19 @@ +# CreateProjectContentHint6 + +## Example Usage + +```typescript +import { CreateProjectContentHint6 } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType](../models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectcontenthint7.md b/docs/models/createprojectcontenthint7.md new file mode 100644 index 00000000..391d1351 --- /dev/null +++ b/docs/models/createprojectcontenthint7.md @@ -0,0 +1,19 @@ +# CreateProjectContentHint7 + +## Example Usage + +```typescript +import { CreateProjectContentHint7 } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType](../models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectcontenthint8.md b/docs/models/createprojectcontenthint8.md new file mode 100644 index 00000000..62e78a3a --- /dev/null +++ b/docs/models/createprojectcontenthint8.md @@ -0,0 +1,19 @@ +# CreateProjectContentHint8 + +## Example Usage + +```typescript +import { CreateProjectContentHint8 } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type](../models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectcontenthint9.md b/docs/models/createprojectcontenthint9.md new file mode 100644 index 00000000..d4c6d3fb --- /dev/null +++ b/docs/models/createprojectcontenthint9.md @@ -0,0 +1,19 @@ +# CreateProjectContentHint9 + +## Example Usage + +```typescript +import { CreateProjectContentHint9 } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type](../models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md similarity index 80% rename from docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md rename to docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md index 3f48ed0c..f7220d6b 100644 --- a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md +++ b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type = diff --git a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md similarity index 81% rename from docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md rename to docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md index 209fa86c..208b7168 100644 --- a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md +++ b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type = diff --git a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md similarity index 81% rename from docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md rename to docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md index f150b929..0af73bcd 100644 --- a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md +++ b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type = diff --git a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md similarity index 81% rename from docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md rename to docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md index 8d3b777b..88666cd9 100644 --- a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md +++ b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type = diff --git a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md similarity index 81% rename from docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md rename to docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md index 4b4e062d..70a0227c 100644 --- a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md +++ b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type = diff --git a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md similarity index 81% rename from docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md rename to docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md index f8a613cb..2d17e93e 100644 --- a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md +++ b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = diff --git a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md similarity index 81% rename from docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md rename to docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md index d32c4cca..11e5abc1 100644 --- a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md +++ b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type = diff --git a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md similarity index 80% rename from docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md rename to docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md index 0f5d22a2..0327fdef 100644 --- a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md +++ b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type = diff --git a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md similarity index 81% rename from docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md rename to docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md index 00980ac4..a580b71e 100644 --- a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md +++ b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType = diff --git a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md similarity index 81% rename from docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md rename to docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md index d875808e..5e32dbbe 100644 --- a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md +++ b/docs/models/createprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType = diff --git a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsontype.md b/docs/models/createprojectcontenthintprojectsresponse200applicationjsontype.md similarity index 83% rename from docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsontype.md rename to docs/models/createprojectcontenthintprojectsresponse200applicationjsontype.md index b10187de..d15423b5 100644 --- a/docs/models/operations/createprojectcontenthintprojectsresponse200applicationjsontype.md +++ b/docs/models/createprojectcontenthintprojectsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectContentHintProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectContentHintProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectContentHintProjectsResponse200ApplicationJSONType = "blob-read-write-token"; diff --git a/docs/models/operations/createprojectcontenthintprojectsresponse200type.md b/docs/models/createprojectcontenthintprojectsresponse200type.md similarity index 86% rename from docs/models/operations/createprojectcontenthintprojectsresponse200type.md rename to docs/models/createprojectcontenthintprojectsresponse200type.md index aacc6604..71ed7085 100644 --- a/docs/models/operations/createprojectcontenthintprojectsresponse200type.md +++ b/docs/models/createprojectcontenthintprojectsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectContentHintProjectsResponse200Type } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectContentHintProjectsResponse200Type } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectContentHintProjectsResponse200Type = "redis-rest-api-read-only-token"; diff --git a/docs/models/operations/createprojectcontenthintprojectsresponsetype.md b/docs/models/createprojectcontenthintprojectsresponsetype.md similarity index 85% rename from docs/models/operations/createprojectcontenthintprojectsresponsetype.md rename to docs/models/createprojectcontenthintprojectsresponsetype.md index 5de902da..1f1514b2 100644 --- a/docs/models/operations/createprojectcontenthintprojectsresponsetype.md +++ b/docs/models/createprojectcontenthintprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectContentHintProjectsResponseType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectContentHintProjectsResponseType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectContentHintProjectsResponseType = "redis-rest-api-token"; diff --git a/docs/models/operations/createprojectcontenthintprojectstype.md b/docs/models/createprojectcontenthintprojectstype.md similarity index 87% rename from docs/models/operations/createprojectcontenthintprojectstype.md rename to docs/models/createprojectcontenthintprojectstype.md index a9ccc0b5..55828d22 100644 --- a/docs/models/operations/createprojectcontenthintprojectstype.md +++ b/docs/models/createprojectcontenthintprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectContentHintProjectsType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectContentHintProjectsType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectContentHintProjectsType = "redis-rest-api-url"; ``` diff --git a/docs/models/operations/createprojectcontenthinttype.md b/docs/models/createprojectcontenthinttype.md similarity index 88% rename from docs/models/operations/createprojectcontenthinttype.md rename to docs/models/createprojectcontenthinttype.md index 09d20521..258fa897 100644 --- a/docs/models/operations/createprojectcontenthinttype.md +++ b/docs/models/createprojectcontenthinttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectContentHintType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectContentHintType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectContentHintType = "redis-url"; ``` diff --git a/docs/models/operations/createprojectcreator.md b/docs/models/createprojectcreator.md similarity index 90% rename from docs/models/operations/createprojectcreator.md rename to docs/models/createprojectcreator.md index a906f919..a8335857 100644 --- a/docs/models/operations/createprojectcreator.md +++ b/docs/models/createprojectcreator.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectCreator } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectCreator } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectCreator = { email: "Jordi.Klocko97@gmail.com", diff --git a/docs/models/operations/createprojectcrons.md b/docs/models/createprojectcrons.md similarity index 94% rename from docs/models/operations/createprojectcrons.md rename to docs/models/createprojectcrons.md index 90bef103..91beee45 100644 --- a/docs/models/operations/createprojectcrons.md +++ b/docs/models/createprojectcrons.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectCrons } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectCrons } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectCrons = { enabledAt: 3044.46, @@ -28,4 +28,4 @@ let value: CreateProjectCrons = { | `disabledAt` | *number* | :heavy_check_mark: | The time the feature was disabled for this project. | | `updatedAt` | *number* | :heavy_check_mark: | N/A | | `deploymentId` | *string* | :heavy_check_mark: | The ID of the Deployment from which the definitions originated. | -| `definitions` | [operations.CreateProjectDefinitions](../../models/operations/createprojectdefinitions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| `definitions` | [models.CreateProjectDefinitions](../models/createprojectdefinitions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectcustomenvironments.md b/docs/models/createprojectcustomenvironments.md similarity index 90% rename from docs/models/operations/createprojectcustomenvironments.md rename to docs/models/createprojectcustomenvironments.md index 22078b1d..ec80e915 100644 --- a/docs/models/operations/createprojectcustomenvironments.md +++ b/docs/models/createprojectcustomenvironments.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectCustomEnvironments } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectCustomEnvironments } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectCustomEnvironments = {}; ``` diff --git a/docs/models/operations/createprojectdatacache.md b/docs/models/createprojectdatacache.md similarity index 86% rename from docs/models/operations/createprojectdatacache.md rename to docs/models/createprojectdatacache.md index 74e50ef8..879414e7 100644 --- a/docs/models/operations/createprojectdatacache.md +++ b/docs/models/createprojectdatacache.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectDataCache } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectDataCache } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectDataCache = { userDisabled: false, diff --git a/docs/models/operations/createprojectdefinitions.md b/docs/models/createprojectdefinitions.md similarity index 94% rename from docs/models/operations/createprojectdefinitions.md rename to docs/models/createprojectdefinitions.md index 71613f0a..4eb51823 100644 --- a/docs/models/operations/createprojectdefinitions.md +++ b/docs/models/createprojectdefinitions.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectDefinitions } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectDefinitions } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectDefinitions = { host: "vercel.com", diff --git a/docs/models/operations/createprojectdeploymentexpiration.md b/docs/models/createprojectdeploymentexpiration.md similarity index 96% rename from docs/models/operations/createprojectdeploymentexpiration.md rename to docs/models/createprojectdeploymentexpiration.md index f7eb4311..d4b95222 100644 --- a/docs/models/operations/createprojectdeploymentexpiration.md +++ b/docs/models/createprojectdeploymentexpiration.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectDeploymentExpiration } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectDeploymentExpiration } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectDeploymentExpiration = {}; ``` diff --git a/docs/models/operations/createprojectdeploymenttype.md b/docs/models/createprojectdeploymenttype.md similarity index 90% rename from docs/models/operations/createprojectdeploymenttype.md rename to docs/models/createprojectdeploymenttype.md index 8b756ad3..dfc4f456 100644 --- a/docs/models/operations/createprojectdeploymenttype.md +++ b/docs/models/createprojectdeploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectDeploymentType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectDeploymentType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectDeploymentType = "preview"; ``` diff --git a/docs/models/createprojectenv.md b/docs/models/createprojectenv.md new file mode 100644 index 00000000..a33fad36 --- /dev/null +++ b/docs/models/createprojectenv.md @@ -0,0 +1,38 @@ +# CreateProjectEnv + +## Example Usage + +```typescript +import { CreateProjectEnv } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectEnv = { + type: "system", + key: "", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `target` | *models.CreateProjectProjectsTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.CreateProjectProjectsResponseType](../models/createprojectprojectsresponsetype.md) | :heavy_check_mark: | N/A | +| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdBy` | *string* | :heavy_minus_sign: | N/A | +| `updatedBy` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `contentHint` | *models.CreateProjectContentHint* | :heavy_minus_sign: | N/A | +| `internalContentHint` | [models.CreateProjectInternalContentHint](../models/createprojectinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | +| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | +| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenv11.md b/docs/models/createprojectenv11.md similarity index 90% rename from docs/models/operations/createprojectenv11.md rename to docs/models/createprojectenv11.md index 7e599bfb..2c45c466 100644 --- a/docs/models/operations/createprojectenv11.md +++ b/docs/models/createprojectenv11.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectEnv11 } from "@vercel/sdk/models/operations/createprojectenv.js"; +import { CreateProjectEnv11 } from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnv11 = { key: "API_URL", @@ -23,7 +23,7 @@ let value: CreateProjectEnv11 = { | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | `key` | *string* | :heavy_check_mark: | The name of the environment variable | API_URL | | `value` | *string* | :heavy_check_mark: | The value of the environment variable | https://api.vercel.com | -| `type` | [operations.OneType](../../models/operations/onetype.md) | :heavy_check_mark: | The type of environment variable | plain | -| `target` | [operations.OneTarget](../../models/operations/onetarget.md)[] | :heavy_check_mark: | The target environment of the environment variable | [
"preview"
] | +| `type` | [models.OneType](../models/onetype.md) | :heavy_check_mark: | The type of environment variable | plain | +| `target` | [models.OneTarget](../models/onetarget.md)[] | :heavy_check_mark: | The target environment of the environment variable | [
"preview"
] | | `gitBranch` | *string* | :heavy_minus_sign: | If defined, the git branch of the environment variable (must have target=preview) | feature-1 | | `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this environment variable is for | database connection string for production | \ No newline at end of file diff --git a/docs/models/createprojectenv12.md b/docs/models/createprojectenv12.md new file mode 100644 index 00000000..62e374d8 --- /dev/null +++ b/docs/models/createprojectenv12.md @@ -0,0 +1,29 @@ +# CreateProjectEnv12 + +## Example Usage + +```typescript +import { CreateProjectEnv12 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnv12 = { + key: "API_URL", + value: "https://api.vercel.com", + type: "plain", + target: [ + "preview", + ], + gitBranch: "feature-1", + comment: "database connection string for production", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `key` | *string* | :heavy_check_mark: | The name of the environment variable | API_URL | +| `value` | *string* | :heavy_check_mark: | The value of the environment variable | https://api.vercel.com | +| `type` | [models.CreateProjectEnv1Type](../models/createprojectenv1type.md) | :heavy_check_mark: | The type of environment variable | plain | +| `target` | [models.CreateProjectEnv1Target](../models/createprojectenv1target.md)[] | :heavy_minus_sign: | The target environment of the environment variable | [
"preview"
] | +| `gitBranch` | *string* | :heavy_minus_sign: | If defined, the git branch of the environment variable (must have target=preview) | feature-1 | +| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this environment variable is for | database connection string for production | \ No newline at end of file diff --git a/docs/models/createprojectenv1target.md b/docs/models/createprojectenv1target.md new file mode 100644 index 00000000..737020ce --- /dev/null +++ b/docs/models/createprojectenv1target.md @@ -0,0 +1,15 @@ +# CreateProjectEnv1Target + +## Example Usage + +```typescript +import { CreateProjectEnv1Target } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnv1Target = "development"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/createprojectenv1type.md b/docs/models/createprojectenv1type.md new file mode 100644 index 00000000..81f6d39e --- /dev/null +++ b/docs/models/createprojectenv1type.md @@ -0,0 +1,17 @@ +# CreateProjectEnv1Type + +The type of environment variable + +## Example Usage + +```typescript +import { CreateProjectEnv1Type } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnv1Type = "plain"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/createprojectenv2target.md b/docs/models/createprojectenv2target.md new file mode 100644 index 00000000..04e1d171 --- /dev/null +++ b/docs/models/createprojectenv2target.md @@ -0,0 +1,15 @@ +# CreateProjectEnv2Target + +## Example Usage + +```typescript +import { CreateProjectEnv2Target } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnv2Target = "production"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/createprojectenv2type.md b/docs/models/createprojectenv2type.md new file mode 100644 index 00000000..48c71a46 --- /dev/null +++ b/docs/models/createprojectenv2type.md @@ -0,0 +1,17 @@ +# CreateProjectEnv2Type + +The type of environment variable + +## Example Usage + +```typescript +import { CreateProjectEnv2Type } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnv2Type = "plain"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthint1.md b/docs/models/createprojectenvcontenthint1.md new file mode 100644 index 00000000..60449867 --- /dev/null +++ b/docs/models/createprojectenvcontenthint1.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHint1 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHint1 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvContentHintType](../models/createprojectenvcontenthinttype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthint10.md b/docs/models/createprojectenvcontenthint10.md new file mode 100644 index 00000000..0334974f --- /dev/null +++ b/docs/models/createprojectenvcontenthint10.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHint10 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHint10 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated110type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthint11.md b/docs/models/createprojectenvcontenthint11.md new file mode 100644 index 00000000..727f6dea --- /dev/null +++ b/docs/models/createprojectenvcontenthint11.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHint11 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHint11 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated111type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthint12.md b/docs/models/createprojectenvcontenthint12.md new file mode 100644 index 00000000..63bcd56f --- /dev/null +++ b/docs/models/createprojectenvcontenthint12.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHint12 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHint12 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHint12 = { + type: "postgres-database", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated112type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthint13.md b/docs/models/createprojectenvcontenthint13.md new file mode 100644 index 00000000..8d315ef0 --- /dev/null +++ b/docs/models/createprojectenvcontenthint13.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHint13 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHint13 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHint13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated113type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthint14.md b/docs/models/createprojectenvcontenthint14.md new file mode 100644 index 00000000..e9e1da97 --- /dev/null +++ b/docs/models/createprojectenvcontenthint14.md @@ -0,0 +1,25 @@ +# CreateProjectEnvContentHint14 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHint14 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHint14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated114type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthint15.md b/docs/models/createprojectenvcontenthint15.md new file mode 100644 index 00000000..359c0d37 --- /dev/null +++ b/docs/models/createprojectenvcontenthint15.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHint15 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHint15 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHint15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated115type.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthint2.md b/docs/models/createprojectenvcontenthint2.md new file mode 100644 index 00000000..6aa8c97b --- /dev/null +++ b/docs/models/createprojectenvcontenthint2.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHint2 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHint2 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectEnvContentHintProjectsType](../models/createprojectenvcontenthintprojectstype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthint3.md b/docs/models/createprojectenvcontenthint3.md new file mode 100644 index 00000000..fe76d908 --- /dev/null +++ b/docs/models/createprojectenvcontenthint3.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHint3 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHint3 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvContentHintProjectsResponseType](../models/createprojectenvcontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthint4.md b/docs/models/createprojectenvcontenthint4.md new file mode 100644 index 00000000..90fa2cfa --- /dev/null +++ b/docs/models/createprojectenvcontenthint4.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHint4 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHint4 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201Type](../models/createprojectenvcontenthintprojectsresponse201type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthint5.md b/docs/models/createprojectenvcontenthint5.md new file mode 100644 index 00000000..a4058fe8 --- /dev/null +++ b/docs/models/createprojectenvcontenthint5.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHint5 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHint5 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType](../models/createprojectenvcontenthintprojectsresponse201applicationjsontype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthint6.md b/docs/models/createprojectenvcontenthint6.md new file mode 100644 index 00000000..928ea9fc --- /dev/null +++ b/docs/models/createprojectenvcontenthint6.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHint6 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHint6 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthint7.md b/docs/models/createprojectenvcontenthint7.md new file mode 100644 index 00000000..ea30695e --- /dev/null +++ b/docs/models/createprojectenvcontenthint7.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHint7 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHint7 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreatedtype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthint8.md b/docs/models/createprojectenvcontenthint8.md new file mode 100644 index 00000000..2c987d47 --- /dev/null +++ b/docs/models/createprojectenvcontenthint8.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHint8 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHint8 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated1type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthint9.md b/docs/models/createprojectenvcontenthint9.md new file mode 100644 index 00000000..44940823 --- /dev/null +++ b/docs/models/createprojectenvcontenthint9.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHint9 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHint9 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated19type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthintprojects1.md b/docs/models/createprojectenvcontenthintprojects1.md new file mode 100644 index 00000000..f100cb8e --- /dev/null +++ b/docs/models/createprojectenvcontenthintprojects1.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHintProjects1 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHintProjects1 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHintProjects1 = { + type: "redis-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated2type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthintprojects10.md b/docs/models/createprojectenvcontenthintprojects10.md new file mode 100644 index 00000000..4ab93268 --- /dev/null +++ b/docs/models/createprojectenvcontenthintprojects10.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHintProjects10 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHintProjects10 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHintProjects10 = { + type: "postgres-host", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated210type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthintprojects11.md b/docs/models/createprojectenvcontenthintprojects11.md new file mode 100644 index 00000000..5ae61dd6 --- /dev/null +++ b/docs/models/createprojectenvcontenthintprojects11.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHintProjects11 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHintProjects11 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHintProjects11 = { + type: "postgres-password", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated211type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthintprojects12.md b/docs/models/createprojectenvcontenthintprojects12.md new file mode 100644 index 00000000..3e79ea50 --- /dev/null +++ b/docs/models/createprojectenvcontenthintprojects12.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHintProjects12 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHintProjects12 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHintProjects12 = { + type: "postgres-database", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated212type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthintprojects13.md b/docs/models/createprojectenvcontenthintprojects13.md new file mode 100644 index 00000000..c79820bc --- /dev/null +++ b/docs/models/createprojectenvcontenthintprojects13.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHintProjects13 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHintProjects13 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHintProjects13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated213type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthintprojects14.md b/docs/models/createprojectenvcontenthintprojects14.md new file mode 100644 index 00000000..b2ca9ac7 --- /dev/null +++ b/docs/models/createprojectenvcontenthintprojects14.md @@ -0,0 +1,25 @@ +# CreateProjectEnvContentHintProjects14 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHintProjects14 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHintProjects14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated214type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthintprojects15.md b/docs/models/createprojectenvcontenthintprojects15.md new file mode 100644 index 00000000..2572dce1 --- /dev/null +++ b/docs/models/createprojectenvcontenthintprojects15.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHintProjects15 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHintProjects15 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHintProjects15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated215type.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthintprojects2.md b/docs/models/createprojectenvcontenthintprojects2.md new file mode 100644 index 00000000..d132d286 --- /dev/null +++ b/docs/models/createprojectenvcontenthintprojects2.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHintProjects2 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHintProjects2 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHintProjects2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated22type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthintprojects3.md b/docs/models/createprojectenvcontenthintprojects3.md new file mode 100644 index 00000000..8af611a6 --- /dev/null +++ b/docs/models/createprojectenvcontenthintprojects3.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHintProjects3 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHintProjects3 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHintProjects3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated23type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthintprojects4.md b/docs/models/createprojectenvcontenthintprojects4.md new file mode 100644 index 00000000..08798cfb --- /dev/null +++ b/docs/models/createprojectenvcontenthintprojects4.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHintProjects4 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHintProjects4 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHintProjects4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated24type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthintprojects5.md b/docs/models/createprojectenvcontenthintprojects5.md new file mode 100644 index 00000000..43b9e298 --- /dev/null +++ b/docs/models/createprojectenvcontenthintprojects5.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHintProjects5 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHintProjects5 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHintProjects5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated25type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthintprojects6.md b/docs/models/createprojectenvcontenthintprojects6.md new file mode 100644 index 00000000..0ff65cdc --- /dev/null +++ b/docs/models/createprojectenvcontenthintprojects6.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHintProjects6 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHintProjects6 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHintProjects6 = { + type: "postgres-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated26type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthintprojects7.md b/docs/models/createprojectenvcontenthintprojects7.md new file mode 100644 index 00000000..2aaf0bad --- /dev/null +++ b/docs/models/createprojectenvcontenthintprojects7.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHintProjects7 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHintProjects7 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHintProjects7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated27type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthintprojects8.md b/docs/models/createprojectenvcontenthintprojects8.md new file mode 100644 index 00000000..838c90ac --- /dev/null +++ b/docs/models/createprojectenvcontenthintprojects8.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHintProjects8 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHintProjects8 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHintProjects8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated28type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcontenthintprojects9.md b/docs/models/createprojectenvcontenthintprojects9.md new file mode 100644 index 00000000..07ea17e7 --- /dev/null +++ b/docs/models/createprojectenvcontenthintprojects9.md @@ -0,0 +1,19 @@ +# CreateProjectEnvContentHintProjects9 + +## Example Usage + +```typescript +import { CreateProjectEnvContentHintProjects9 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvContentHintProjects9 = { + type: "postgres-user", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type](../models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated29type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated110type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated110type.md similarity index 86% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated110type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated110type.md index 16eb54f9..cfac8d6f 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated110type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated110type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated111type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated111type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated111type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated111type.md index 6ebd7842..b767748e 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated111type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated111type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated112type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated112type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated112type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated112type.md index 08a7694d..ecf571ea 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated112type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated112type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated113type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated113type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated113type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated113type.md index 05fd60d4..6652acd9 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated113type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated113type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated114type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated114type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated114type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated114type.md index f42662c1..7f324463 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated114type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated114type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated115type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated115type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated115type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated115type.md index 13f1b0bd..fdb04c3c 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated115type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated115type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated19type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated19type.md similarity index 86% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated19type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated19type.md index b5313945..a052a385 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated19type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated19type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated1type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated1type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated1type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated1type.md index 2bfe1bb8..3be64be0 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated1type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated1type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated210type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated210type.md similarity index 86% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated210type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated210type.md index 50a8da17..ab363a14 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated210type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated210type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated211type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated211type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated211type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated211type.md index 86ce976f..3876d581 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated211type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated211type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated212type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated212type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated212type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated212type.md index 3c1f2b35..8ff69fb2 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated212type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated212type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated213type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated213type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated213type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated213type.md index b9a6c3fa..9bd722af 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated213type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated213type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated214type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated214type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated214type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated214type.md index 9fd3bd94..d6489c4a 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated214type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated214type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated215type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated215type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated215type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated215type.md index 8b03066c..5f8216b1 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated215type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated215type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated22type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated22type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated22type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated22type.md index 3a51a3e3..37c881c6 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated22type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated22type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated23type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated23type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated23type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated23type.md index 61bf56b8..10643b74 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated23type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated23type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated24type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated24type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated24type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated24type.md index f1248120..5dfca5a1 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated24type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated24type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated25type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated25type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated25type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated25type.md index 737c175b..1d36067d 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated25type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated25type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated26type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated26type.md similarity index 86% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated26type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated26type.md index 07176f32..2a5e6b79 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated26type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated26type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated27type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated27type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated27type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated27type.md index fd66dbba..294b40bf 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated27type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated27type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated28type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated28type.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated28type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated28type.md index 78af02b3..c89fd6e0 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated28type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated28type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated29type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated29type.md similarity index 86% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated29type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated29type.md index 8e766250..ae7256ab 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated29type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated29type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated2type.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated2type.md similarity index 86% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated2type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated2type.md index 9efffaec..a2a6f859 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated2type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated2type.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreatedtype.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreatedtype.md similarity index 87% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreatedtype.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreatedtype.md index e2b7b4ca..bec5eebb 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreatedtype.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreatedtype.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType, -} from "@vercel/sdk/models/operations/createprojectenv.js"; +} from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodytype.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodytype.md similarity index 80% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodytype.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodytype.md index a3718595..5d3fd4f1 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodytype.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType } from "@vercel/sdk/models/operations/createprojectenv.js"; +import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType } from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType = diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsontype.md b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsontype.md similarity index 82% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsontype.md rename to docs/models/createprojectenvcontenthintprojectsresponse201applicationjsontype.md index c84f960f..65683099 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201applicationjsontype.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType } from "@vercel/sdk/models/operations/createprojectenv.js"; +import { CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType } from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType = "blob-read-write-token"; diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponse201type.md b/docs/models/createprojectenvcontenthintprojectsresponse201type.md similarity index 84% rename from docs/models/operations/createprojectenvcontenthintprojectsresponse201type.md rename to docs/models/createprojectenvcontenthintprojectsresponse201type.md index 299b2dc7..211b290b 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponse201type.md +++ b/docs/models/createprojectenvcontenthintprojectsresponse201type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectEnvContentHintProjectsResponse201Type } from "@vercel/sdk/models/operations/createprojectenv.js"; +import { CreateProjectEnvContentHintProjectsResponse201Type } from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponse201Type = "redis-rest-api-read-only-token"; diff --git a/docs/models/operations/createprojectenvcontenthintprojectsresponsetype.md b/docs/models/createprojectenvcontenthintprojectsresponsetype.md similarity index 84% rename from docs/models/operations/createprojectenvcontenthintprojectsresponsetype.md rename to docs/models/createprojectenvcontenthintprojectsresponsetype.md index d4688a3f..5b887842 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectsresponsetype.md +++ b/docs/models/createprojectenvcontenthintprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectEnvContentHintProjectsResponseType } from "@vercel/sdk/models/operations/createprojectenv.js"; +import { CreateProjectEnvContentHintProjectsResponseType } from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsResponseType = "redis-rest-api-token"; diff --git a/docs/models/operations/createprojectenvcontenthintprojectstype.md b/docs/models/createprojectenvcontenthintprojectstype.md similarity index 85% rename from docs/models/operations/createprojectenvcontenthintprojectstype.md rename to docs/models/createprojectenvcontenthintprojectstype.md index 6c875828..2172baf8 100644 --- a/docs/models/operations/createprojectenvcontenthintprojectstype.md +++ b/docs/models/createprojectenvcontenthintprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectEnvContentHintProjectsType } from "@vercel/sdk/models/operations/createprojectenv.js"; +import { CreateProjectEnvContentHintProjectsType } from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintProjectsType = "redis-rest-api-url"; ``` diff --git a/docs/models/operations/createprojectenvcontenthinttype.md b/docs/models/createprojectenvcontenthinttype.md similarity index 86% rename from docs/models/operations/createprojectenvcontenthinttype.md rename to docs/models/createprojectenvcontenthinttype.md index 82b2ec74..4aebced7 100644 --- a/docs/models/operations/createprojectenvcontenthinttype.md +++ b/docs/models/createprojectenvcontenthinttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectEnvContentHintType } from "@vercel/sdk/models/operations/createprojectenv.js"; +import { CreateProjectEnvContentHintType } from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvContentHintType = "redis-url"; ``` diff --git a/docs/models/createprojectenvcreatedcontenthint.md b/docs/models/createprojectenvcreatedcontenthint.md new file mode 100644 index 00000000..cacec0ef --- /dev/null +++ b/docs/models/createprojectenvcreatedcontenthint.md @@ -0,0 +1,143 @@ +# CreateProjectEnvCreatedContentHint + + +## Supported Types + +### `models.CreateProjectEnvContentHintProjects1` + +```typescript +const value: models.CreateProjectEnvContentHintProjects1 = { + type: "redis-url", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHintProjects2` + +```typescript +const value: models.CreateProjectEnvContentHintProjects2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHintProjects3` + +```typescript +const value: models.CreateProjectEnvContentHintProjects3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHintProjects4` + +```typescript +const value: models.CreateProjectEnvContentHintProjects4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHintProjects5` + +```typescript +const value: models.CreateProjectEnvContentHintProjects5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHintProjects6` + +```typescript +const value: models.CreateProjectEnvContentHintProjects6 = { + type: "postgres-url", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHintProjects7` + +```typescript +const value: models.CreateProjectEnvContentHintProjects7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHintProjects8` + +```typescript +const value: models.CreateProjectEnvContentHintProjects8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHintProjects9` + +```typescript +const value: models.CreateProjectEnvContentHintProjects9 = { + type: "postgres-user", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHintProjects10` + +```typescript +const value: models.CreateProjectEnvContentHintProjects10 = { + type: "postgres-host", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHintProjects11` + +```typescript +const value: models.CreateProjectEnvContentHintProjects11 = { + type: "postgres-password", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHintProjects12` + +```typescript +const value: models.CreateProjectEnvContentHintProjects12 = { + type: "postgres-database", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHintProjects13` + +```typescript +const value: models.CreateProjectEnvContentHintProjects13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +### `models.CreateProjectEnvContentHintProjects14` + +```typescript +const value: models.CreateProjectEnvContentHintProjects14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +### `models.CreateProjectEnvContentHintProjects15` + +```typescript +const value: models.CreateProjectEnvContentHintProjects15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + diff --git a/docs/models/createprojectenvcreatedinternalcontenthint.md b/docs/models/createprojectenvcreatedinternalcontenthint.md new file mode 100644 index 00000000..5a5b0992 --- /dev/null +++ b/docs/models/createprojectenvcreatedinternalcontenthint.md @@ -0,0 +1,21 @@ +# CreateProjectEnvCreatedInternalContentHint + +Similar to `contentHints`, but should not be exposed to the user. + +## Example Usage + +```typescript +import { CreateProjectEnvCreatedInternalContentHint } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvCreatedInternalContentHint = { + type: "flags-secret", + encryptedValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectEnvCreatedProjectsResponseType](../models/createprojectenvcreatedprojectsresponsetype.md) | :heavy_check_mark: | N/A | +| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcreatedprojectsresponsetype.md b/docs/models/createprojectenvcreatedprojectsresponsetype.md similarity index 84% rename from docs/models/operations/createprojectenvcreatedprojectsresponsetype.md rename to docs/models/createprojectenvcreatedprojectsresponsetype.md index ad69c9c5..a9dc9323 100644 --- a/docs/models/operations/createprojectenvcreatedprojectsresponsetype.md +++ b/docs/models/createprojectenvcreatedprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectEnvCreatedProjectsResponseType } from "@vercel/sdk/models/operations/createprojectenv.js"; +import { CreateProjectEnvCreatedProjectsResponseType } from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvCreatedProjectsResponseType = "flags-secret"; ``` diff --git a/docs/models/operations/createprojectenvcreatedprojectstype.md b/docs/models/createprojectenvcreatedprojectstype.md similarity index 85% rename from docs/models/operations/createprojectenvcreatedprojectstype.md rename to docs/models/createprojectenvcreatedprojectstype.md index d6e5afa8..12135f98 100644 --- a/docs/models/operations/createprojectenvcreatedprojectstype.md +++ b/docs/models/createprojectenvcreatedprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectEnvCreatedProjectsType } from "@vercel/sdk/models/operations/createprojectenv.js"; +import { CreateProjectEnvCreatedProjectsType } from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvCreatedProjectsType = "flags-secret"; ``` diff --git a/docs/models/createprojectenvcreatedtarget.md b/docs/models/createprojectenvcreatedtarget.md new file mode 100644 index 00000000..b8d5c179 --- /dev/null +++ b/docs/models/createprojectenvcreatedtarget.md @@ -0,0 +1,19 @@ +# CreateProjectEnvCreatedTarget + + +## Supported Types + +### `string[]` + +```typescript +const value: string[] = [ + "", +]; +``` + +### `models.CreateProjectEnvTargetProjects2` + +```typescript +const value: models.CreateProjectEnvTargetProjects2 = "development"; +``` + diff --git a/docs/models/createprojectenvcreatedtype.md b/docs/models/createprojectenvcreatedtype.md new file mode 100644 index 00000000..4fe4ca55 --- /dev/null +++ b/docs/models/createprojectenvcreatedtype.md @@ -0,0 +1,15 @@ +# CreateProjectEnvCreatedType + +## Example Usage + +```typescript +import { CreateProjectEnvCreatedType } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvCreatedType = "system"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/createprojectenverror.md b/docs/models/createprojectenverror.md new file mode 100644 index 00000000..3ffc5543 --- /dev/null +++ b/docs/models/createprojectenverror.md @@ -0,0 +1,28 @@ +# CreateProjectEnvError + +## Example Usage + +```typescript +import { CreateProjectEnvError } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvError = { + code: "", + message: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `code` | *string* | :heavy_check_mark: | N/A | +| `message` | *string* | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `envVarId` | *string* | :heavy_minus_sign: | N/A | +| `envVarKey` | *string* | :heavy_minus_sign: | N/A | +| `action` | *string* | :heavy_minus_sign: | N/A | +| `link` | *string* | :heavy_minus_sign: | N/A | +| `value` | *models.CreateProjectEnvValue* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `target` | *models.CreateProjectEnvTarget* | :heavy_minus_sign: | N/A | +| `project` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvrequest.md b/docs/models/createprojectenvrequest.md similarity index 91% rename from docs/models/operations/createprojectenvrequest.md rename to docs/models/createprojectenvrequest.md index 6c174c70..edce27ad 100644 --- a/docs/models/operations/createprojectenvrequest.md +++ b/docs/models/createprojectenvrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectEnvRequest } from "@vercel/sdk/models/operations/createprojectenv.js"; +import { CreateProjectEnvRequest } from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvRequest = { idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", @@ -31,4 +31,4 @@ let value: CreateProjectEnvRequest = { | `upsert` | *string* | :heavy_minus_sign: | Allow override of environment variable if it already exists | true | | `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | | `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | -| `requestBody` | *operations.CreateProjectEnvRequestBody* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `requestBody` | *models.CreateProjectEnvRequestBody* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/createprojectenvrequestbody.md b/docs/models/createprojectenvrequestbody.md new file mode 100644 index 00000000..0272d81a --- /dev/null +++ b/docs/models/createprojectenvrequestbody.md @@ -0,0 +1,37 @@ +# CreateProjectEnvRequestBody + + +## Supported Types + +### `models.CreateProjectEnvRequestBody1` + +```typescript +const value: models.CreateProjectEnvRequestBody1 = { + key: "API_URL", + value: "https://api.vercel.com", + type: "plain", + target: [ + "preview", + ], + gitBranch: "feature-1", + comment: "database connection string for production", +}; +``` + +### `models.CreateProjectEnvRequestBody2[]` + +```typescript +const value: models.CreateProjectEnvRequestBody2[] = [ + { + key: "API_URL", + value: "https://api.vercel.com", + type: "plain", + target: [ + "preview", + ], + gitBranch: "feature-1", + comment: "database connection string for production", + }, +]; +``` + diff --git a/docs/models/createprojectenvrequestbody1.md b/docs/models/createprojectenvrequestbody1.md new file mode 100644 index 00000000..bb380c23 --- /dev/null +++ b/docs/models/createprojectenvrequestbody1.md @@ -0,0 +1,35 @@ +# CreateProjectEnvRequestBody1 + + +## Supported Types + +### `models.CreateProjectEnv11` + +```typescript +const value: models.CreateProjectEnv11 = { + key: "API_URL", + value: "https://api.vercel.com", + type: "plain", + target: [ + "preview", + ], + gitBranch: "feature-1", + comment: "database connection string for production", +}; +``` + +### `models.CreateProjectEnv12` + +```typescript +const value: models.CreateProjectEnv12 = { + key: "API_URL", + value: "https://api.vercel.com", + type: "plain", + target: [ + "preview", + ], + gitBranch: "feature-1", + comment: "database connection string for production", +}; +``` + diff --git a/docs/models/operations/createprojectenvrequestbody2.md b/docs/models/createprojectenvrequestbody2.md similarity index 80% rename from docs/models/operations/createprojectenvrequestbody2.md rename to docs/models/createprojectenvrequestbody2.md index 66e690e4..41c2611b 100644 --- a/docs/models/operations/createprojectenvrequestbody2.md +++ b/docs/models/createprojectenvrequestbody2.md @@ -3,10 +3,10 @@ ## Supported Types -### `operations.Two1` +### `models.Two1` ```typescript -const value: operations.Two1 = { +const value: models.Two1 = { key: "API_URL", value: "https://api.vercel.com", type: "plain", @@ -18,10 +18,10 @@ const value: operations.Two1 = { }; ``` -### `operations.Two2` +### `models.Two2` ```typescript -const value: operations.Two2 = { +const value: models.Two2 = { key: "API_URL", value: "https://api.vercel.com", type: "plain", diff --git a/docs/models/createprojectenvresponsebody.md b/docs/models/createprojectenvresponsebody.md new file mode 100644 index 00000000..87027e0d --- /dev/null +++ b/docs/models/createprojectenvresponsebody.md @@ -0,0 +1,30 @@ +# CreateProjectEnvResponseBody + +The environment variable was created successfully + +## Example Usage + +```typescript +import { CreateProjectEnvResponseBody } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvResponseBody = { + created: [ + {}, + ], + failed: [ + { + error: { + code: "", + message: "", + }, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `created` | *models.Created* | :heavy_check_mark: | N/A | +| `failed` | [models.Failed](../models/failed.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvtarget.md b/docs/models/createprojectenvtarget.md new file mode 100644 index 00000000..003019db --- /dev/null +++ b/docs/models/createprojectenvtarget.md @@ -0,0 +1,19 @@ +# CreateProjectEnvTarget + + +## Supported Types + +### `models.CreateProjectEnvTargetProjects1[]` + +```typescript +const value: models.CreateProjectEnvTargetProjects1[] = [ + "preview", +]; +``` + +### `models.CreateProjectEnvTargetProjectsResponse2` + +```typescript +const value: models.CreateProjectEnvTargetProjectsResponse2 = "production"; +``` + diff --git a/docs/models/createprojectenvtarget1.md b/docs/models/createprojectenvtarget1.md new file mode 100644 index 00000000..8eabedc1 --- /dev/null +++ b/docs/models/createprojectenvtarget1.md @@ -0,0 +1,15 @@ +# CreateProjectEnvTarget1 + +## Example Usage + +```typescript +import { CreateProjectEnvTarget1 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvTarget1 = "development"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/createprojectenvtarget2.md b/docs/models/createprojectenvtarget2.md new file mode 100644 index 00000000..3fcc2462 --- /dev/null +++ b/docs/models/createprojectenvtarget2.md @@ -0,0 +1,15 @@ +# CreateProjectEnvTarget2 + +## Example Usage + +```typescript +import { CreateProjectEnvTarget2 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvTarget2 = "production"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/operations/createprojectenvtargetprojects1.md b/docs/models/createprojectenvtargetprojects1.md similarity index 87% rename from docs/models/operations/createprojectenvtargetprojects1.md rename to docs/models/createprojectenvtargetprojects1.md index 6fcf2a15..b2e4b313 100644 --- a/docs/models/operations/createprojectenvtargetprojects1.md +++ b/docs/models/createprojectenvtargetprojects1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectEnvTargetProjects1 } from "@vercel/sdk/models/operations/createprojectenv.js"; +import { CreateProjectEnvTargetProjects1 } from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvTargetProjects1 = "development"; ``` diff --git a/docs/models/operations/createprojectenvtargetprojects2.md b/docs/models/createprojectenvtargetprojects2.md similarity index 87% rename from docs/models/operations/createprojectenvtargetprojects2.md rename to docs/models/createprojectenvtargetprojects2.md index 9cc1189d..2e729fbb 100644 --- a/docs/models/operations/createprojectenvtargetprojects2.md +++ b/docs/models/createprojectenvtargetprojects2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectEnvTargetProjects2 } from "@vercel/sdk/models/operations/createprojectenv.js"; +import { CreateProjectEnvTargetProjects2 } from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvTargetProjects2 = "production"; ``` diff --git a/docs/models/operations/createprojectenvtargetprojectsresponse2.md b/docs/models/createprojectenvtargetprojectsresponse2.md similarity index 86% rename from docs/models/operations/createprojectenvtargetprojectsresponse2.md rename to docs/models/createprojectenvtargetprojectsresponse2.md index d2b6b32f..c074e528 100644 --- a/docs/models/operations/createprojectenvtargetprojectsresponse2.md +++ b/docs/models/createprojectenvtargetprojectsresponse2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectEnvTargetProjectsResponse2 } from "@vercel/sdk/models/operations/createprojectenv.js"; +import { CreateProjectEnvTargetProjectsResponse2 } from "@vercel/sdk/models/createprojectenvop.js"; let value: CreateProjectEnvTargetProjectsResponse2 = "development"; ``` diff --git a/docs/models/createprojectenvvalue.md b/docs/models/createprojectenvvalue.md new file mode 100644 index 00000000..62f65e37 --- /dev/null +++ b/docs/models/createprojectenvvalue.md @@ -0,0 +1,19 @@ +# CreateProjectEnvValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.CreateProjectEnvValue2[]` + +```typescript +const value: models.CreateProjectEnvValue2[] = [ + "production", +]; +``` + diff --git a/docs/models/createprojectenvvalue2.md b/docs/models/createprojectenvvalue2.md new file mode 100644 index 00000000..f24bb9d3 --- /dev/null +++ b/docs/models/createprojectenvvalue2.md @@ -0,0 +1,15 @@ +# CreateProjectEnvValue2 + +## Example Usage + +```typescript +import { CreateProjectEnvValue2 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvValue2 = "development"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/createprojecterl.md b/docs/models/createprojecterl.md new file mode 100644 index 00000000..ac389cd4 --- /dev/null +++ b/docs/models/createprojecterl.md @@ -0,0 +1,25 @@ +# CreateProjectErl + +## Example Usage + +```typescript +import { CreateProjectErl } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectErl = { + algo: "token_bucket", + window: 9663.90, + limit: 5076.36, + keys: [ + "", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `algo` | [models.CreateProjectAlgo](../models/createprojectalgo.md) | :heavy_check_mark: | N/A | +| `window` | *number* | :heavy_check_mark: | N/A | +| `limit` | *number* | :heavy_check_mark: | N/A | +| `keys` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectfirewallroutes.md b/docs/models/createprojectfirewallroutes.md new file mode 100644 index 00000000..656ff859 --- /dev/null +++ b/docs/models/createprojectfirewallroutes.md @@ -0,0 +1,21 @@ +# CreateProjectFirewallRoutes + +## Example Usage + +```typescript +import { CreateProjectFirewallRoutes } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectFirewallRoutes = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `src` | *models.CreateProjectSrc* | :heavy_minus_sign: | N/A | +| `has` | [models.CreateProjectHas](../models/createprojecthas.md)[] | :heavy_minus_sign: | N/A | +| `missing` | [models.CreateProjectMissing](../models/createprojectmissing.md)[] | :heavy_minus_sign: | N/A | +| `dest` | *string* | :heavy_minus_sign: | N/A | +| `status` | *number* | :heavy_minus_sign: | N/A | +| `handle` | [models.CreateProjectHandle](../models/createprojecthandle.md) | :heavy_minus_sign: | N/A | +| `mitigate` | [models.CreateProjectMitigate](../models/createprojectmitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectframework.md b/docs/models/createprojectframework.md similarity index 89% rename from docs/models/operations/createprojectframework.md rename to docs/models/createprojectframework.md index 4ef3607a..31bbafcb 100644 --- a/docs/models/operations/createprojectframework.md +++ b/docs/models/createprojectframework.md @@ -5,7 +5,7 @@ The framework that is being used for this project. When `null` is used no framew ## Example Usage ```typescript -import { CreateProjectFramework } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectFramework } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectFramework = "gatsby"; ``` diff --git a/docs/models/operations/createprojectfunctiondefaultmemorytype.md b/docs/models/createprojectfunctiondefaultmemorytype.md similarity index 87% rename from docs/models/operations/createprojectfunctiondefaultmemorytype.md rename to docs/models/createprojectfunctiondefaultmemorytype.md index 0bd88618..d35bb971 100644 --- a/docs/models/operations/createprojectfunctiondefaultmemorytype.md +++ b/docs/models/createprojectfunctiondefaultmemorytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectFunctionDefaultMemoryType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectFunctionDefaultMemoryType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectFunctionDefaultMemoryType = "standard_legacy"; ``` diff --git a/docs/models/operations/createprojectgitcomments.md b/docs/models/createprojectgitcomments.md similarity index 91% rename from docs/models/operations/createprojectgitcomments.md rename to docs/models/createprojectgitcomments.md index 52a8bb9f..1e4de10e 100644 --- a/docs/models/operations/createprojectgitcomments.md +++ b/docs/models/createprojectgitcomments.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectGitComments } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectGitComments } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectGitComments = { onPullRequest: false, diff --git a/docs/models/createprojecthandle.md b/docs/models/createprojecthandle.md new file mode 100644 index 00000000..340964ea --- /dev/null +++ b/docs/models/createprojecthandle.md @@ -0,0 +1,15 @@ +# CreateProjectHandle + +## Example Usage + +```typescript +import { CreateProjectHandle } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectHandle = "finalize"; +``` + +## Values + +```typescript +"init" | "finalize" +``` \ No newline at end of file diff --git a/docs/models/createprojecthas.md b/docs/models/createprojecthas.md new file mode 100644 index 00000000..62f2fc8b --- /dev/null +++ b/docs/models/createprojecthas.md @@ -0,0 +1,19 @@ +# CreateProjectHas + +## Example Usage + +```typescript +import { CreateProjectHas } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectHas = { + type: "initial_request_path", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType](../models/createprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *models.CreateProjectValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectinternalcontenthint.md b/docs/models/createprojectinternalcontenthint.md new file mode 100644 index 00000000..a882f3cc --- /dev/null +++ b/docs/models/createprojectinternalcontenthint.md @@ -0,0 +1,21 @@ +# CreateProjectInternalContentHint + +Similar to `contentHints`, but should not be exposed to the user. + +## Example Usage + +```typescript +import { CreateProjectInternalContentHint } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectInternalContentHint = { + type: "flags-secret", + encryptedValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType](../models/createprojectprojectsresponse200applicationjsonresponsebodyenvtype.md) | :heavy_check_mark: | N/A | +| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/createprojectipbuckets.md b/docs/models/createprojectipbuckets.md similarity index 84% rename from docs/models/operations/createprojectipbuckets.md rename to docs/models/createprojectipbuckets.md index c870a4c1..c615dfb3 100644 --- a/docs/models/operations/createprojectipbuckets.md +++ b/docs/models/createprojectipbuckets.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectIpBuckets } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectIpBuckets } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectIpBuckets = { bucket: "", diff --git a/docs/models/createprojectissuermode.md b/docs/models/createprojectissuermode.md new file mode 100644 index 00000000..bc581636 --- /dev/null +++ b/docs/models/createprojectissuermode.md @@ -0,0 +1,17 @@ +# CreateProjectIssuerMode + +- team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` + +## Example Usage + +```typescript +import { CreateProjectIssuerMode } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectIssuerMode = "global"; +``` + +## Values + +```typescript +"team" | "global" +``` \ No newline at end of file diff --git a/docs/models/createprojectjobstatus.md b/docs/models/createprojectjobstatus.md new file mode 100644 index 00000000..f175ba6f --- /dev/null +++ b/docs/models/createprojectjobstatus.md @@ -0,0 +1,15 @@ +# CreateProjectJobStatus + +## Example Usage + +```typescript +import { CreateProjectJobStatus } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectJobStatus = "in-progress"; +``` + +## Values + +```typescript +"succeeded" | "failed" | "skipped" | "pending" | "in-progress" +``` \ No newline at end of file diff --git a/docs/models/createprojectlastaliasrequest.md b/docs/models/createprojectlastaliasrequest.md new file mode 100644 index 00000000..778645eb --- /dev/null +++ b/docs/models/createprojectlastaliasrequest.md @@ -0,0 +1,25 @@ +# CreateProjectLastAliasRequest + +## Example Usage + +```typescript +import { CreateProjectLastAliasRequest } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectLastAliasRequest = { + fromDeploymentId: "", + toDeploymentId: "", + jobStatus: "in-progress", + requestedAt: 7592.82, + type: "promote", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `fromDeploymentId` | *string* | :heavy_check_mark: | N/A | +| `toDeploymentId` | *string* | :heavy_check_mark: | N/A | +| `jobStatus` | [models.CreateProjectJobStatus](../models/createprojectjobstatus.md) | :heavy_check_mark: | N/A | +| `requestedAt` | *number* | :heavy_check_mark: | N/A | +| `type` | [models.CreateProjectProjectsResponse200ApplicationJSONResponseBodyType](../models/createprojectprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectlastrollbacktarget.md b/docs/models/createprojectlastrollbacktarget.md similarity index 90% rename from docs/models/operations/createprojectlastrollbacktarget.md rename to docs/models/createprojectlastrollbacktarget.md index 22f27493..33bae95c 100644 --- a/docs/models/operations/createprojectlastrollbacktarget.md +++ b/docs/models/createprojectlastrollbacktarget.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectLastRollbackTarget } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectLastRollbackTarget } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectLastRollbackTarget = {}; ``` diff --git a/docs/models/createprojectlatestdeployments.md b/docs/models/createprojectlatestdeployments.md new file mode 100644 index 00000000..19305939 --- /dev/null +++ b/docs/models/createprojectlatestdeployments.md @@ -0,0 +1,68 @@ +# CreateProjectLatestDeployments + +## Example Usage + +```typescript +import { CreateProjectLatestDeployments } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectLatestDeployments = { + id: "", + createdAt: 8130.54, + createdIn: "", + creator: { + email: "Sienna.Price14@hotmail.com", + uid: "", + username: "Dean_Lebsack95", + }, + deploymentHostname: "", + name: "", + plan: "pro", + previewCommentsEnabled: false, + private: false, + readyState: "QUEUED", + type: "LAMBDAS", + url: "https://thick-trolley.org", + userId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `alias` | *string*[] | :heavy_minus_sign: | N/A | | +| `aliasAssigned` | *models.CreateProjectAliasAssigned* | :heavy_minus_sign: | N/A | | +| `aliasError` | [models.CreateProjectAliasError](../models/createprojectaliaserror.md) | :heavy_minus_sign: | N/A | | +| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | +| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | +| `branchMatcher` | [models.CreateProjectBranchMatcher](../models/createprojectbranchmatcher.md) | :heavy_minus_sign: | N/A | | +| `buildingAt` | *number* | :heavy_minus_sign: | N/A | | +| `builds` | [models.CreateProjectBuilds](../models/createprojectbuilds.md)[] | :heavy_minus_sign: | N/A | | +| `checksConclusion` | [models.CreateProjectChecksConclusion](../models/createprojectchecksconclusion.md) | :heavy_minus_sign: | N/A | | +| `checksState` | [models.CreateProjectChecksState](../models/createprojectchecksstate.md) | :heavy_minus_sign: | N/A | | +| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | +| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | +| `createdAt` | *number* | :heavy_check_mark: | N/A | | +| `createdIn` | *string* | :heavy_check_mark: | N/A | | +| `creator` | [models.CreateProjectCreator](../models/createprojectcreator.md) | :heavy_check_mark: | N/A | | +| `deletedAt` | *number* | :heavy_minus_sign: | N/A | | +| `deploymentHostname` | *string* | :heavy_check_mark: | N/A | | +| `forced` | *boolean* | :heavy_minus_sign: | N/A | | +| `name` | *string* | :heavy_check_mark: | N/A | | +| `meta` | Record | :heavy_minus_sign: | N/A | | +| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | +| `oidcTokenClaims` | [models.CreateProjectOidcTokenClaims](../models/createprojectoidctokenclaims.md) | :heavy_minus_sign: | N/A | | +| `plan` | [models.CreateProjectPlan](../models/createprojectplan.md) | :heavy_check_mark: | N/A | | +| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | +| `private` | *boolean* | :heavy_check_mark: | N/A | | +| `readyAt` | *number* | :heavy_minus_sign: | N/A | | +| `readyState` | [models.CreateProjectReadyState](../models/createprojectreadystate.md) | :heavy_check_mark: | N/A | | +| `readySubstate` | [models.CreateProjectReadySubstate](../models/createprojectreadysubstate.md) | :heavy_minus_sign: | N/A | | +| `requestedAt` | *number* | :heavy_minus_sign: | N/A | | +| `target` | *string* | :heavy_minus_sign: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | | +| `type` | [models.CreateProjectProjectsResponse200Type](../models/createprojectprojectsresponse200type.md) | :heavy_check_mark: | N/A | | +| `url` | *string* | :heavy_check_mark: | N/A | | +| `userId` | *string* | :heavy_check_mark: | N/A | | +| `withCache` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/createprojectlink.md b/docs/models/createprojectlink.md new file mode 100644 index 00000000..de5bc733 --- /dev/null +++ b/docs/models/createprojectlink.md @@ -0,0 +1,50 @@ +# CreateProjectLink + + +## Supported Types + +### `models.CreateProjectLink1` + +```typescript +const value: models.CreateProjectLink1 = { + deployHooks: [ + { + id: "", + name: "", + ref: "", + url: "https://scornful-paintwork.info/", + }, + ], +}; +``` + +### `models.CreateProjectLink2` + +```typescript +const value: models.CreateProjectLink2 = { + deployHooks: [ + { + id: "", + name: "", + ref: "", + url: "https://pleasing-begonia.net/", + }, + ], +}; +``` + +### `models.CreateProjectLink3` + +```typescript +const value: models.CreateProjectLink3 = { + deployHooks: [ + { + id: "", + name: "", + ref: "", + url: "https://severe-loyalty.com", + }, + ], +}; +``` + diff --git a/docs/models/operations/createprojectlink1.md b/docs/models/createprojectlink1.md similarity index 95% rename from docs/models/operations/createprojectlink1.md rename to docs/models/createprojectlink1.md index af2b20d1..156a94b4 100644 --- a/docs/models/operations/createprojectlink1.md +++ b/docs/models/createprojectlink1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectLink1 } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectLink1 } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectLink1 = { deployHooks: [ @@ -25,9 +25,9 @@ let value: CreateProjectLink1 = { | `repoOwnerId` | *number* | :heavy_minus_sign: | A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. | | `repo` | *string* | :heavy_minus_sign: | N/A | | `repoId` | *number* | :heavy_minus_sign: | N/A | -| `type` | [operations.CreateProjectLinkType](../../models/operations/createprojectlinktype.md) | :heavy_minus_sign: | N/A | +| `type` | [models.CreateProjectLinkType](../models/createprojectlinktype.md) | :heavy_minus_sign: | N/A | | `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `deployHooks` | [operations.CreateProjectLinkDeployHooks](../../models/operations/createprojectlinkdeployhooks.md)[] | :heavy_check_mark: | N/A | +| `deployHooks` | [models.CreateProjectLinkDeployHooks](../models/createprojectlinkdeployhooks.md)[] | :heavy_check_mark: | N/A | | `gitCredentialId` | *string* | :heavy_minus_sign: | N/A | | `updatedAt` | *number* | :heavy_minus_sign: | N/A | | `sourceless` | *boolean* | :heavy_minus_sign: | N/A | diff --git a/docs/models/operations/createprojectlink2.md b/docs/models/createprojectlink2.md similarity index 97% rename from docs/models/operations/createprojectlink2.md rename to docs/models/createprojectlink2.md index 08f37afc..6d0b3b55 100644 --- a/docs/models/operations/createprojectlink2.md +++ b/docs/models/createprojectlink2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectLink2 } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectLink2 } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectLink2 = { deployHooks: [ @@ -27,9 +27,9 @@ let value: CreateProjectLink2 = { | `projectNamespace` | *string* | :heavy_minus_sign: | N/A | | `projectOwnerId` | *number* | :heavy_minus_sign: | A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. This is the id of the top level group that a namespace belongs to. Gitlab supports group nesting (up to 20 levels). | | `projectUrl` | *string* | :heavy_minus_sign: | N/A | -| `type` | [operations.CreateProjectLinkProjectsType](../../models/operations/createprojectlinkprojectstype.md) | :heavy_minus_sign: | N/A | +| `type` | [models.CreateProjectLinkProjectsType](../models/createprojectlinkprojectstype.md) | :heavy_minus_sign: | N/A | | `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `deployHooks` | [operations.CreateProjectLinkProjectsDeployHooks](../../models/operations/createprojectlinkprojectsdeployhooks.md)[] | :heavy_check_mark: | N/A | +| `deployHooks` | [models.CreateProjectLinkProjectsDeployHooks](../models/createprojectlinkprojectsdeployhooks.md)[] | :heavy_check_mark: | N/A | | `gitCredentialId` | *string* | :heavy_minus_sign: | N/A | | `updatedAt` | *number* | :heavy_minus_sign: | N/A | | `sourceless` | *boolean* | :heavy_minus_sign: | N/A | diff --git a/docs/models/createprojectlink3.md b/docs/models/createprojectlink3.md new file mode 100644 index 00000000..55077424 --- /dev/null +++ b/docs/models/createprojectlink3.md @@ -0,0 +1,35 @@ +# CreateProjectLink3 + +## Example Usage + +```typescript +import { CreateProjectLink3 } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectLink3 = { + deployHooks: [ + { + id: "", + name: "", + ref: "", + url: "https://tough-brace.info", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `slug` | *string* | :heavy_minus_sign: | N/A | +| `owner` | *string* | :heavy_minus_sign: | N/A | +| `type` | [models.CreateProjectLinkProjectsResponseType](../models/createprojectlinkprojectsresponsetype.md) | :heavy_minus_sign: | N/A | +| `uuid` | *string* | :heavy_minus_sign: | N/A | +| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `deployHooks` | [models.CreateProjectLinkProjectsResponseDeployHooks](../models/createprojectlinkprojectsresponsedeployhooks.md)[] | :heavy_check_mark: | N/A | +| `gitCredentialId` | *string* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `sourceless` | *boolean* | :heavy_minus_sign: | N/A | +| `productionBranch` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectlinkdeployhooks.md b/docs/models/createprojectlinkdeployhooks.md similarity index 96% rename from docs/models/operations/createprojectlinkdeployhooks.md rename to docs/models/createprojectlinkdeployhooks.md index a4914b77..8a5df0b0 100644 --- a/docs/models/operations/createprojectlinkdeployhooks.md +++ b/docs/models/createprojectlinkdeployhooks.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectLinkDeployHooks } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectLinkDeployHooks } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectLinkDeployHooks = { id: "", diff --git a/docs/models/operations/createprojectlinkprojectsdeployhooks.md b/docs/models/createprojectlinkprojectsdeployhooks.md similarity index 95% rename from docs/models/operations/createprojectlinkprojectsdeployhooks.md rename to docs/models/createprojectlinkprojectsdeployhooks.md index d31a346f..4d409802 100644 --- a/docs/models/operations/createprojectlinkprojectsdeployhooks.md +++ b/docs/models/createprojectlinkprojectsdeployhooks.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectLinkProjectsDeployHooks } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectLinkProjectsDeployHooks } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectLinkProjectsDeployHooks = { id: "", diff --git a/docs/models/operations/createprojectlinkprojectsresponsedeployhooks.md b/docs/models/createprojectlinkprojectsresponsedeployhooks.md similarity index 95% rename from docs/models/operations/createprojectlinkprojectsresponsedeployhooks.md rename to docs/models/createprojectlinkprojectsresponsedeployhooks.md index 9b6c967d..a8d330aa 100644 --- a/docs/models/operations/createprojectlinkprojectsresponsedeployhooks.md +++ b/docs/models/createprojectlinkprojectsresponsedeployhooks.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectLinkProjectsResponseDeployHooks } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectLinkProjectsResponseDeployHooks } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectLinkProjectsResponseDeployHooks = { id: "", diff --git a/docs/models/operations/createprojectlinkprojectsresponsetype.md b/docs/models/createprojectlinkprojectsresponsetype.md similarity index 86% rename from docs/models/operations/createprojectlinkprojectsresponsetype.md rename to docs/models/createprojectlinkprojectsresponsetype.md index e3094a31..ca1097c7 100644 --- a/docs/models/operations/createprojectlinkprojectsresponsetype.md +++ b/docs/models/createprojectlinkprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectLinkProjectsResponseType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectLinkProjectsResponseType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectLinkProjectsResponseType = "bitbucket"; ``` diff --git a/docs/models/operations/createprojectlinkprojectstype.md b/docs/models/createprojectlinkprojectstype.md similarity index 87% rename from docs/models/operations/createprojectlinkprojectstype.md rename to docs/models/createprojectlinkprojectstype.md index 295190c5..95a0deb0 100644 --- a/docs/models/operations/createprojectlinkprojectstype.md +++ b/docs/models/createprojectlinkprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectLinkProjectsType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectLinkProjectsType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectLinkProjectsType = "gitlab"; ``` diff --git a/docs/models/createprojectlinktype.md b/docs/models/createprojectlinktype.md new file mode 100644 index 00000000..b6f53aa5 --- /dev/null +++ b/docs/models/createprojectlinktype.md @@ -0,0 +1,15 @@ +# CreateProjectLinkType + +## Example Usage + +```typescript +import { CreateProjectLinkType } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectLinkType = "github"; +``` + +## Values + +```typescript +"github" +``` \ No newline at end of file diff --git a/docs/models/operations/createprojectmicrofrontends.md b/docs/models/createprojectmicrofrontends.md similarity index 99% rename from docs/models/operations/createprojectmicrofrontends.md rename to docs/models/createprojectmicrofrontends.md index 282d3878..ef348ca6 100644 --- a/docs/models/operations/createprojectmicrofrontends.md +++ b/docs/models/createprojectmicrofrontends.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectMicrofrontends } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectMicrofrontends } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectMicrofrontends = { updatedAt: 4050.36, diff --git a/docs/models/createprojectmissing.md b/docs/models/createprojectmissing.md new file mode 100644 index 00000000..f4181dba --- /dev/null +++ b/docs/models/createprojectmissing.md @@ -0,0 +1,19 @@ +# CreateProjectMissing + +## Example Usage + +```typescript +import { CreateProjectMissing } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectMissing = { + type: "method", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType](../models/createprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *models.CreateProjectProjectsValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectmitigate.md b/docs/models/createprojectmitigate.md new file mode 100644 index 00000000..d9446396 --- /dev/null +++ b/docs/models/createprojectmitigate.md @@ -0,0 +1,21 @@ +# CreateProjectMitigate + +## Example Usage + +```typescript +import { CreateProjectMitigate } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectMitigate = { + action: "challenge", + ruleId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `action` | [models.CreateProjectAction](../models/createprojectaction.md) | :heavy_check_mark: | N/A | +| `ruleId` | *string* | :heavy_check_mark: | N/A | +| `ttl` | *number* | :heavy_minus_sign: | N/A | +| `erl` | [models.CreateProjectErl](../models/createprojecterl.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectnodeversion.md b/docs/models/createprojectnodeversion.md new file mode 100644 index 00000000..d8aac8c6 --- /dev/null +++ b/docs/models/createprojectnodeversion.md @@ -0,0 +1,15 @@ +# CreateProjectNodeVersion + +## Example Usage + +```typescript +import { CreateProjectNodeVersion } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectNodeVersion = "16.x"; +``` + +## Values + +```typescript +"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x" +``` \ No newline at end of file diff --git a/docs/models/operations/createprojectoidctokenclaims.md b/docs/models/createprojectoidctokenclaims.md similarity index 97% rename from docs/models/operations/createprojectoidctokenclaims.md rename to docs/models/createprojectoidctokenclaims.md index 9859ab72..7b6fc48b 100644 --- a/docs/models/operations/createprojectoidctokenclaims.md +++ b/docs/models/createprojectoidctokenclaims.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectOidcTokenClaims } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectOidcTokenClaims } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectOidcTokenClaims = { iss: "", diff --git a/docs/models/createprojectoidctokenconfig.md b/docs/models/createprojectoidctokenconfig.md new file mode 100644 index 00000000..6705aa1a --- /dev/null +++ b/docs/models/createprojectoidctokenconfig.md @@ -0,0 +1,18 @@ +# CreateProjectOidcTokenConfig + +## Example Usage + +```typescript +import { CreateProjectOidcTokenConfig } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectOidcTokenConfig = { + enabled: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `issuerMode` | [models.CreateProjectIssuerMode](../models/createprojectissuermode.md) | :heavy_minus_sign: | - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` | \ No newline at end of file diff --git a/docs/models/createprojectoptionsallowlist.md b/docs/models/createprojectoptionsallowlist.md new file mode 100644 index 00000000..032cfa86 --- /dev/null +++ b/docs/models/createprojectoptionsallowlist.md @@ -0,0 +1,21 @@ +# CreateProjectOptionsAllowlist + +## Example Usage + +```typescript +import { CreateProjectOptionsAllowlist } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectOptionsAllowlist = { + paths: [ + { + value: "", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `paths` | [models.CreateProjectPaths](../models/createprojectpaths.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectpasswordprotection.md b/docs/models/createprojectpasswordprotection.md similarity index 90% rename from docs/models/operations/createprojectpasswordprotection.md rename to docs/models/createprojectpasswordprotection.md index 537c3346..c613d86a 100644 --- a/docs/models/operations/createprojectpasswordprotection.md +++ b/docs/models/createprojectpasswordprotection.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectPasswordProtection } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectPasswordProtection } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectPasswordProtection = {}; ``` diff --git a/docs/models/operations/createprojectpaths.md b/docs/models/createprojectpaths.md similarity index 81% rename from docs/models/operations/createprojectpaths.md rename to docs/models/createprojectpaths.md index 7f68dbae..55020ef8 100644 --- a/docs/models/operations/createprojectpaths.md +++ b/docs/models/createprojectpaths.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectPaths } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectPaths } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectPaths = { value: "", diff --git a/docs/models/createprojectpermissions.md b/docs/models/createprojectpermissions.md new file mode 100644 index 00000000..72d53ea9 --- /dev/null +++ b/docs/models/createprojectpermissions.md @@ -0,0 +1,196 @@ +# CreateProjectPermissions + +## Example Usage + +```typescript +import { CreateProjectPermissions } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectPermissions = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `accessGroup` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `aliasGlobal` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `analyticsSampling` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `analyticsUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `auditLog` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingAddress` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingInformation` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingInvoice` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingInvoiceEmailRecipient` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingInvoiceLanguage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingPlan` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingPurchaseOrder` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingTaxId` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `blob` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `budget` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `cacheArtifact` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `cacheArtifactUsageEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `codeChecks` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `concurrentBuilds` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `connect` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `connectConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domain` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainAcceptDelegation` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainAuthCodes` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainCertificate` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainCheckConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainMove` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainPurchase` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainRecord` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainTransferIn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `event` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `ownEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sensitiveEnvironmentVariablePolicy` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `fileUpload` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `gitRepository` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `ipBlocking` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationAccount` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationProjects` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationVercelConfigurationOverride` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationRole` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResource` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResourceSecrets` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationDeploymentAction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceInstallationMember` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceBillingData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceInvoice` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `jobGlobal` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `logDrain` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoring` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringQuery` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringChart` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDeploymentFailed` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainExpire` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainMoved` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainPurchase` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainRenewal` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainUnverified` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationMonitoringAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationPaymentFailed` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationUsageAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationCustomerBudget` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationStatementOfReasons` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `oauth2Connection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `openTelemetryEndpoint` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `paymentMethod` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `permissions` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `postgres` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `previewDeploymentSuffix` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `proTrialOnboarding` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sharedEnvVars` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sharedEnvVarsProduction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `space` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `spaceRun` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `passwordProtectionInvoiceItem` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `rateLimit` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `redis` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `repository` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `remoteCaching` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `samlConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `secret` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `redisStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `blobStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `postgresStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResourceReplCommand` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `storeTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `supportCase` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `supportCaseComment` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `dataCacheBillingSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `team` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamAccessRequest` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamFellowMembership` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamGitExclusivity` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamInvite` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamInviteCode` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamJoin` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamMicrofrontends` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamOwnMembership` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamOwnMembershipDisconnectSAML` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `token` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `usage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `usageCycle` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `user` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `userConnection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `vpcPeeringConnection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webAnalyticsPlan` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webAuthn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `edgeConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `edgeConfigItem` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `edgeConfigSchema` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `edgeConfigToken` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webhook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webhookEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `endpointVerification` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTransferIn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `oauth2Application` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `aliasProject` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `aliasProtectionBypass` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `productionAliasProtectionBypass` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `connectConfigurationLink` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `dataCacheNamespace` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deployment` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentCheck` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentCheckPreview` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentCheckReRunFromProductionBranch` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentProductionGit` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentV0` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentPreview` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentPrivate` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentPromote` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentRollback` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `environments` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `logs` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `logsPreset` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `passwordProtection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `optionsAllowlist` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `job` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `project` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectFromV0` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectAccessGroup` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectAnalyticsSampling` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDeploymentHook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDomain` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDomainMove` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDomainCheckConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectEnvVars` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectEnvVarsProduction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectEnvVarsUnownedByIntegration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectFlags` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectId` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectIntegrationConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectLink` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectMember` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectMonitoring` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectPermissions` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectProductionBranch` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTransferOut` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectProtectionBypass` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectAnalyticsUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectSupportCase` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectSupportCaseComment` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDeploymentExpiration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTier` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `seawallConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `skewProtection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `analytics` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `trustedIps` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webAnalytics` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sharedEnvVarConnection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sonar` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectplan.md b/docs/models/createprojectplan.md new file mode 100644 index 00000000..668d15ca --- /dev/null +++ b/docs/models/createprojectplan.md @@ -0,0 +1,15 @@ +# CreateProjectPlan + +## Example Usage + +```typescript +import { CreateProjectPlan } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectPlan = "enterprise"; +``` + +## Values + +```typescript +"pro" | "enterprise" | "hobby" +``` \ No newline at end of file diff --git a/docs/models/operations/createprojectprojectsaliasassigned.md b/docs/models/createprojectprojectsaliasassigned.md similarity index 100% rename from docs/models/operations/createprojectprojectsaliasassigned.md rename to docs/models/createprojectprojectsaliasassigned.md diff --git a/docs/models/operations/createprojectprojectsaliaserror.md b/docs/models/createprojectprojectsaliaserror.md similarity index 94% rename from docs/models/operations/createprojectprojectsaliaserror.md rename to docs/models/createprojectprojectsaliaserror.md index 72e56e51..01f14c52 100644 --- a/docs/models/operations/createprojectprojectsaliaserror.md +++ b/docs/models/createprojectprojectsaliaserror.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectProjectsAliasError } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectProjectsAliasError } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectProjectsAliasError = { code: "", diff --git a/docs/models/createprojectprojectsbranchmatcher.md b/docs/models/createprojectprojectsbranchmatcher.md new file mode 100644 index 00000000..723b5f6d --- /dev/null +++ b/docs/models/createprojectprojectsbranchmatcher.md @@ -0,0 +1,19 @@ +# CreateProjectProjectsBranchMatcher + +## Example Usage + +```typescript +import { CreateProjectProjectsBranchMatcher } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectProjectsBranchMatcher = { + type: "equals", + pattern: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType](../models/createprojectprojectsresponse200applicationjsonresponsebodytargetstype.md) | :heavy_check_mark: | N/A | +| `pattern` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectprojectsbuilds.md b/docs/models/createprojectprojectsbuilds.md similarity index 95% rename from docs/models/operations/createprojectprojectsbuilds.md rename to docs/models/createprojectprojectsbuilds.md index 402b51ee..0467bcb6 100644 --- a/docs/models/operations/createprojectprojectsbuilds.md +++ b/docs/models/createprojectprojectsbuilds.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectProjectsBuilds } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectProjectsBuilds } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectProjectsBuilds = { use: "", diff --git a/docs/models/operations/createprojectprojectschecksconclusion.md b/docs/models/createprojectprojectschecksconclusion.md similarity index 87% rename from docs/models/operations/createprojectprojectschecksconclusion.md rename to docs/models/createprojectprojectschecksconclusion.md index 3c3e84f3..91426220 100644 --- a/docs/models/operations/createprojectprojectschecksconclusion.md +++ b/docs/models/createprojectprojectschecksconclusion.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectProjectsChecksConclusion } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectProjectsChecksConclusion } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectProjectsChecksConclusion = "skipped"; ``` diff --git a/docs/models/operations/createprojectprojectschecksstate.md b/docs/models/createprojectprojectschecksstate.md similarity index 88% rename from docs/models/operations/createprojectprojectschecksstate.md rename to docs/models/createprojectprojectschecksstate.md index 4fe29f53..c5e0e001 100644 --- a/docs/models/operations/createprojectprojectschecksstate.md +++ b/docs/models/createprojectprojectschecksstate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectProjectsChecksState } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectProjectsChecksState } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectProjectsChecksState = "completed"; ``` diff --git a/docs/models/operations/createprojectprojectscreator.md b/docs/models/createprojectprojectscreator.md similarity index 96% rename from docs/models/operations/createprojectprojectscreator.md rename to docs/models/createprojectprojectscreator.md index 665ada77..9e379d28 100644 --- a/docs/models/operations/createprojectprojectscreator.md +++ b/docs/models/createprojectprojectscreator.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectProjectsCreator } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectProjectsCreator } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectProjectsCreator = { email: "Sandra.Leuschke@gmail.com", diff --git a/docs/models/operations/createprojectprojectsframework.md b/docs/models/createprojectprojectsframework.md similarity index 95% rename from docs/models/operations/createprojectprojectsframework.md rename to docs/models/createprojectprojectsframework.md index 696d718f..45fa2979 100644 --- a/docs/models/operations/createprojectprojectsframework.md +++ b/docs/models/createprojectprojectsframework.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectProjectsFramework } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectProjectsFramework } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectProjectsFramework = "vue"; ``` diff --git a/docs/models/operations/createprojectprojectsoidctokenclaims.md b/docs/models/createprojectprojectsoidctokenclaims.md similarity index 97% rename from docs/models/operations/createprojectprojectsoidctokenclaims.md rename to docs/models/createprojectprojectsoidctokenclaims.md index ed61a8a5..fb8d6792 100644 --- a/docs/models/operations/createprojectprojectsoidctokenclaims.md +++ b/docs/models/createprojectprojectsoidctokenclaims.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectProjectsOidcTokenClaims } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectProjectsOidcTokenClaims } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectProjectsOidcTokenClaims = { iss: "", diff --git a/docs/models/createprojectprojectsplan.md b/docs/models/createprojectprojectsplan.md new file mode 100644 index 00000000..f1db6bd8 --- /dev/null +++ b/docs/models/createprojectprojectsplan.md @@ -0,0 +1,15 @@ +# CreateProjectProjectsPlan + +## Example Usage + +```typescript +import { CreateProjectProjectsPlan } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectProjectsPlan = "pro"; +``` + +## Values + +```typescript +"pro" | "enterprise" | "hobby" +``` \ No newline at end of file diff --git a/docs/models/operations/createprojectprojectsreadystate.md b/docs/models/createprojectprojectsreadystate.md similarity index 89% rename from docs/models/operations/createprojectprojectsreadystate.md rename to docs/models/createprojectprojectsreadystate.md index 42f75a42..701a1e28 100644 --- a/docs/models/operations/createprojectprojectsreadystate.md +++ b/docs/models/createprojectprojectsreadystate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectProjectsReadyState } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectProjectsReadyState } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectProjectsReadyState = "BUILDING"; ``` diff --git a/docs/models/operations/createprojectprojectsreadysubstate.md b/docs/models/createprojectprojectsreadysubstate.md similarity index 87% rename from docs/models/operations/createprojectprojectsreadysubstate.md rename to docs/models/createprojectprojectsreadysubstate.md index 678cfae6..7ef7bb89 100644 --- a/docs/models/operations/createprojectprojectsreadysubstate.md +++ b/docs/models/createprojectprojectsreadysubstate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectProjectsReadySubstate } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectProjectsReadySubstate } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectProjectsReadySubstate = "STAGED"; ``` diff --git a/docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodyenvtype.md b/docs/models/createprojectprojectsresponse200applicationjsonresponsebodyenvtype.md similarity index 81% rename from docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodyenvtype.md rename to docs/models/createprojectprojectsresponse200applicationjsonresponsebodyenvtype.md index 01782de9..6a3c3d6c 100644 --- a/docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodyenvtype.md +++ b/docs/models/createprojectprojectsresponse200applicationjsonresponsebodyenvtype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType = "flags-secret"; diff --git a/docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodylatestdeploymentstype.md b/docs/models/createprojectprojectsresponse200applicationjsonresponsebodylatestdeploymentstype.md similarity index 81% rename from docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodylatestdeploymentstype.md rename to docs/models/createprojectprojectsresponse200applicationjsonresponsebodylatestdeploymentstype.md index 3c49d466..9d2013dc 100644 --- a/docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodylatestdeploymentstype.md +++ b/docs/models/createprojectprojectsresponse200applicationjsonresponsebodylatestdeploymentstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType = diff --git a/docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md b/docs/models/createprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md similarity index 76% rename from docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md rename to docs/models/createprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md index 47f23d40..7afffbc8 100644 --- a/docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md +++ b/docs/models/createprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType, -} from "@vercel/sdk/models/operations/createproject.js"; +} from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = @@ -15,5 +15,5 @@ let value: ## Values ```typescript -"path" | "host" | "method" | "header" | "cookie" | "query" | "ip_address" | "protocol" | "scheme" | "environment" | "region" +"path" | "host" | "method" | "header" | "cookie" | "query" | "ip_address" | "protocol" | "scheme" | "environment" | "region" | "initial_request_path" ``` \ No newline at end of file diff --git a/docs/models/createprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md b/docs/models/createprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md new file mode 100644 index 00000000..13f23f72 --- /dev/null +++ b/docs/models/createprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md @@ -0,0 +1,17 @@ +# CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType + +## Example Usage + +```typescript +import { CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType } from "@vercel/sdk/models/createprojectop.js"; + +let value: + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType = + "path"; +``` + +## Values + +```typescript +"path" | "host" | "method" | "header" | "cookie" | "query" | "ip_address" | "protocol" | "scheme" | "environment" | "region" | "initial_request_path" +``` \ No newline at end of file diff --git a/docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodytargetstype.md b/docs/models/createprojectprojectsresponse200applicationjsonresponsebodytargetstype.md similarity index 82% rename from docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodytargetstype.md rename to docs/models/createprojectprojectsresponse200applicationjsonresponsebodytargetstype.md index ecacb008..d637612a 100644 --- a/docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodytargetstype.md +++ b/docs/models/createprojectprojectsresponse200applicationjsonresponsebodytargetstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType = diff --git a/docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodytype.md b/docs/models/createprojectprojectsresponse200applicationjsonresponsebodytype.md similarity index 82% rename from docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodytype.md rename to docs/models/createprojectprojectsresponse200applicationjsonresponsebodytype.md index 9aad32f8..78b88fe2 100644 --- a/docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodytype.md +++ b/docs/models/createprojectprojectsresponse200applicationjsonresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectProjectsResponse200ApplicationJSONResponseBodyType = "rollback"; diff --git a/docs/models/operations/createprojectprojectsresponse200applicationjsontype.md b/docs/models/createprojectprojectsresponse200applicationjsontype.md similarity index 83% rename from docs/models/operations/createprojectprojectsresponse200applicationjsontype.md rename to docs/models/createprojectprojectsresponse200applicationjsontype.md index 7a353bde..39cd9986 100644 --- a/docs/models/operations/createprojectprojectsresponse200applicationjsontype.md +++ b/docs/models/createprojectprojectsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectProjectsResponse200ApplicationJSONType = "LAMBDAS"; ``` diff --git a/docs/models/operations/createprojectprojectsresponse200type.md b/docs/models/createprojectprojectsresponse200type.md similarity index 86% rename from docs/models/operations/createprojectprojectsresponse200type.md rename to docs/models/createprojectprojectsresponse200type.md index 15224313..a04a1f07 100644 --- a/docs/models/operations/createprojectprojectsresponse200type.md +++ b/docs/models/createprojectprojectsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectProjectsResponse200Type } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectProjectsResponse200Type } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectProjectsResponse200Type = "LAMBDAS"; ``` diff --git a/docs/models/createprojectprojectsresponsetype.md b/docs/models/createprojectprojectsresponsetype.md new file mode 100644 index 00000000..3b24b47d --- /dev/null +++ b/docs/models/createprojectprojectsresponsetype.md @@ -0,0 +1,15 @@ +# CreateProjectProjectsResponseType + +## Example Usage + +```typescript +import { CreateProjectProjectsResponseType } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectProjectsResponseType = "sensitive"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/createprojectprojectstarget.md b/docs/models/createprojectprojectstarget.md new file mode 100644 index 00000000..dc7e9aec --- /dev/null +++ b/docs/models/createprojectprojectstarget.md @@ -0,0 +1,19 @@ +# CreateProjectProjectsTarget + + +## Supported Types + +### `string[]` + +```typescript +const value: string[] = [ + "", +]; +``` + +### `models.CreateProjectTarget2` + +```typescript +const value: models.CreateProjectTarget2 = "preview"; +``` + diff --git a/docs/models/createprojectprojectstype.md b/docs/models/createprojectprojectstype.md new file mode 100644 index 00000000..320d1c35 --- /dev/null +++ b/docs/models/createprojectprojectstype.md @@ -0,0 +1,17 @@ +# CreateProjectProjectsType + +The Git Provider of the repository + +## Example Usage + +```typescript +import { CreateProjectProjectsType } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectProjectsType = "bitbucket"; +``` + +## Values + +```typescript +"github" | "gitlab" | "bitbucket" +``` \ No newline at end of file diff --git a/docs/models/createprojectprojectsvalue.md b/docs/models/createprojectprojectsvalue.md new file mode 100644 index 00000000..43ab3b8e --- /dev/null +++ b/docs/models/createprojectprojectsvalue.md @@ -0,0 +1,17 @@ +# CreateProjectProjectsValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.CreateProjectValueProjects2` + +```typescript +const value: models.CreateProjectValueProjects2 = {}; +``` + diff --git a/docs/models/createprojectprotectionbypass.md b/docs/models/createprojectprotectionbypass.md new file mode 100644 index 00000000..ef71d6a2 --- /dev/null +++ b/docs/models/createprojectprotectionbypass.md @@ -0,0 +1,21 @@ +# CreateProjectProtectionBypass + +## Example Usage + +```typescript +import { CreateProjectProtectionBypass } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectProtectionBypass = { + createdAt: 5010.63, + createdBy: "", + scope: "automation-bypass", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdBy` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.CreateProjectScope](../models/createprojectscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectreadystate.md b/docs/models/createprojectreadystate.md new file mode 100644 index 00000000..57a05a27 --- /dev/null +++ b/docs/models/createprojectreadystate.md @@ -0,0 +1,15 @@ +# CreateProjectReadyState + +## Example Usage + +```typescript +import { CreateProjectReadyState } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectReadyState = "READY"; +``` + +## Values + +```typescript +"BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED" +``` \ No newline at end of file diff --git a/docs/models/createprojectreadysubstate.md b/docs/models/createprojectreadysubstate.md new file mode 100644 index 00000000..78a00107 --- /dev/null +++ b/docs/models/createprojectreadysubstate.md @@ -0,0 +1,15 @@ +# CreateProjectReadySubstate + +## Example Usage + +```typescript +import { CreateProjectReadySubstate } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectReadySubstate = "PROMOTED"; +``` + +## Values + +```typescript +"STAGED" | "PROMOTED" +``` \ No newline at end of file diff --git a/docs/models/createprojectrequest.md b/docs/models/createprojectrequest.md new file mode 100644 index 00000000..027fa605 --- /dev/null +++ b/docs/models/createprojectrequest.md @@ -0,0 +1,21 @@ +# CreateProjectRequest + +## Example Usage + +```typescript +import { CreateProjectRequest } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectRequest = { + requestBody: { + name: "a-project-name", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.CreateProjectRequestBody](../models/createprojectrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectrequestbody.md b/docs/models/createprojectrequestbody.md similarity index 96% rename from docs/models/operations/createprojectrequestbody.md rename to docs/models/createprojectrequestbody.md index cd766864..4ac4d0c0 100644 --- a/docs/models/operations/createprojectrequestbody.md +++ b/docs/models/createprojectrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectRequestBody } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectRequestBody } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectRequestBody = { name: "a-project-name", @@ -17,9 +17,9 @@ let value: CreateProjectRequestBody = { | `buildCommand` | *string* | :heavy_minus_sign: | The build command for this project. When `null` is used this value will be automatically detected | | | `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | | | `devCommand` | *string* | :heavy_minus_sign: | The dev command for this project. When `null` is used this value will be automatically detected | | -| `environmentVariables` | [operations.EnvironmentVariables](../../models/operations/environmentvariables.md)[] | :heavy_minus_sign: | Collection of ENV Variables the Project will use | | -| `framework` | [operations.CreateProjectFramework](../../models/operations/createprojectframework.md) | :heavy_minus_sign: | The framework that is being used for this project. When `null` is used no framework is selected | | -| `gitRepository` | [operations.GitRepository](../../models/operations/gitrepository.md) | :heavy_minus_sign: | The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed | | +| `environmentVariables` | [models.EnvironmentVariables](../models/environmentvariables.md)[] | :heavy_minus_sign: | Collection of ENV Variables the Project will use | | +| `framework` | [models.CreateProjectFramework](../models/createprojectframework.md) | :heavy_minus_sign: | The framework that is being used for this project. When `null` is used no framework is selected | | +| `gitRepository` | [models.GitRepository](../models/gitrepository.md) | :heavy_minus_sign: | The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed | | | `installCommand` | *string* | :heavy_minus_sign: | The install command for this project. When `null` is used this value will be automatically detected | | | `name` | *string* | :heavy_check_mark: | The desired name for the project | a-project-name | | ~~`skipGitConnectDuringLink`~~ | *boolean* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`. | | @@ -28,5 +28,5 @@ let value: CreateProjectRequestBody = { | `rootDirectory` | *string* | :heavy_minus_sign: | The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root | | | `serverlessFunctionRegion` | *string* | :heavy_minus_sign: | The region to deploy Serverless Functions in this project | | | `serverlessFunctionZeroConfigFailover` | *boolean* | :heavy_minus_sign: | Specifies whether Zero Config Failover is enabled for this project. | | -| `oidcTokenConfig` | [operations.OidcTokenConfig](../../models/operations/oidctokenconfig.md) | :heavy_minus_sign: | OpenID Connect JSON Web Token generation configuration. | | +| `oidcTokenConfig` | [models.OidcTokenConfig](../models/oidctokenconfig.md) | :heavy_minus_sign: | OpenID Connect JSON Web Token generation configuration. | | | `enableAffectedProjectsDeployments` | *boolean* | :heavy_minus_sign: | Opt-in to skip deployments when there are no changes to the root directory and its dependencies | | \ No newline at end of file diff --git a/docs/models/createprojectresourceconfig.md b/docs/models/createprojectresourceconfig.md new file mode 100644 index 00000000..117a87f8 --- /dev/null +++ b/docs/models/createprojectresourceconfig.md @@ -0,0 +1,18 @@ +# CreateProjectResourceConfig + +## Example Usage + +```typescript +import { CreateProjectResourceConfig } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectResourceConfig = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `functionDefaultTimeout` | *number* | :heavy_minus_sign: | N/A | +| `functionDefaultMemoryType` | [models.CreateProjectFunctionDefaultMemoryType](../models/createprojectfunctiondefaultmemorytype.md) | :heavy_minus_sign: | N/A | +| `allowServerlessConcurrency` | *boolean* | :heavy_minus_sign: | N/A | +| `elasticConcurrencyEnabled` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectresponsebody.md b/docs/models/createprojectresponsebody.md new file mode 100644 index 00000000..40e54c75 --- /dev/null +++ b/docs/models/createprojectresponsebody.md @@ -0,0 +1,146 @@ +# CreateProjectResponseBody + +The project was successfuly created + +## Example Usage + +```typescript +import { CreateProjectResponseBody } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectResponseBody = { + accountId: "", + crons: { + enabledAt: 5207.61, + disabledAt: 2672.07, + updatedAt: 8773.99, + deploymentId: "", + definitions: [ + { + host: "vercel.com", + path: "/api/crons/sync-something?hello=world", + schedule: "0 0 * * *", + }, + ], + }, + directoryListing: false, + id: "", + latestDeployments: [ + { + id: "", + createdAt: 3719.19, + createdIn: "", + creator: { + email: "Dell.Stokes@gmail.com", + uid: "", + username: "Shanie96", + }, + deploymentHostname: "", + name: "", + plan: "hobby", + previewCommentsEnabled: false, + private: false, + readyState: "ERROR", + type: "LAMBDAS", + url: "https://dazzling-topsail.biz/", + userId: "", + }, + ], + name: "", + nodeVersion: "16.x", + targets: { + "key": { + id: "", + createdAt: 4939.58, + createdIn: "", + creator: { + email: "Rosalind_Kautzer81@hotmail.com", + uid: "", + username: "Carli.Blanda", + }, + deploymentHostname: "", + name: "", + plan: "pro", + previewCommentsEnabled: false, + private: false, + readyState: "QUEUED", + type: "LAMBDAS", + url: "https://witty-tribe.info/", + userId: "", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `accountId` | *string* | :heavy_check_mark: | N/A | +| `analytics` | [models.CreateProjectAnalytics](../models/createprojectanalytics.md) | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.CreateProjectSpeedInsights](../models/createprojectspeedinsights.md) | :heavy_minus_sign: | N/A | +| `autoExposeSystemEnvs` | *boolean* | :heavy_minus_sign: | N/A | +| `autoAssignCustomDomains` | *boolean* | :heavy_minus_sign: | N/A | +| `autoAssignCustomDomainsUpdatedBy` | *string* | :heavy_minus_sign: | N/A | +| `buildCommand` | *string* | :heavy_minus_sign: | N/A | +| `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | +| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | +| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `customerSupportCodeVisibility` | *boolean* | :heavy_minus_sign: | N/A | +| `crons` | [models.CreateProjectCrons](../models/createprojectcrons.md) | :heavy_minus_sign: | N/A | +| `dataCache` | [models.CreateProjectDataCache](../models/createprojectdatacache.md) | :heavy_minus_sign: | N/A | +| `deploymentExpiration` | [models.CreateProjectDeploymentExpiration](../models/createprojectdeploymentexpiration.md) | :heavy_minus_sign: | N/A | +| `devCommand` | *string* | :heavy_minus_sign: | N/A | +| `directoryListing` | *boolean* | :heavy_check_mark: | N/A | +| `installCommand` | *string* | :heavy_minus_sign: | N/A | +| `env` | [models.CreateProjectEnv](../models/createprojectenv.md)[] | :heavy_minus_sign: | N/A | +| `customEnvironments` | [models.CreateProjectCustomEnvironments](../models/createprojectcustomenvironments.md)[] | :heavy_minus_sign: | N/A | +| `framework` | [models.CreateProjectProjectsFramework](../models/createprojectprojectsframework.md) | :heavy_minus_sign: | N/A | +| `gitForkProtection` | *boolean* | :heavy_minus_sign: | N/A | +| `gitLFS` | *boolean* | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `ipBuckets` | [models.CreateProjectIpBuckets](../models/createprojectipbuckets.md)[] | :heavy_minus_sign: | N/A | +| `latestDeployments` | [models.CreateProjectLatestDeployments](../models/createprojectlatestdeployments.md)[] | :heavy_minus_sign: | N/A | +| `link` | *models.CreateProjectLink* | :heavy_minus_sign: | N/A | +| `microfrontends` | [models.CreateProjectMicrofrontends](../models/createprojectmicrofrontends.md) | :heavy_minus_sign: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `nodeVersion` | [models.CreateProjectNodeVersion](../models/createprojectnodeversion.md) | :heavy_check_mark: | N/A | +| `optionsAllowlist` | [models.CreateProjectOptionsAllowlist](../models/createprojectoptionsallowlist.md) | :heavy_minus_sign: | N/A | +| `outputDirectory` | *string* | :heavy_minus_sign: | N/A | +| `passiveConnectConfigurationId` | *string* | :heavy_minus_sign: | N/A | +| `passwordProtection` | [models.CreateProjectPasswordProtection](../models/createprojectpasswordprotection.md) | :heavy_minus_sign: | N/A | +| `productionDeploymentsFastLane` | *boolean* | :heavy_minus_sign: | N/A | +| `publicSource` | *boolean* | :heavy_minus_sign: | N/A | +| `resourceConfig` | [models.CreateProjectResourceConfig](../models/createprojectresourceconfig.md) | :heavy_minus_sign: | N/A | +| `rootDirectory` | *string* | :heavy_minus_sign: | N/A | +| `serverlessFunctionRegion` | *string* | :heavy_minus_sign: | N/A | +| `serverlessFunctionZeroConfigFailover` | *boolean* | :heavy_minus_sign: | N/A | +| `skewProtectionBoundaryAt` | *number* | :heavy_minus_sign: | N/A | +| `skewProtectionMaxAge` | *number* | :heavy_minus_sign: | N/A | +| `skipGitConnectDuringLink` | *boolean* | :heavy_minus_sign: | N/A | +| `sourceFilesOutsideRootDirectory` | *boolean* | :heavy_minus_sign: | N/A | +| `enableAffectedProjectsDeployments` | *boolean* | :heavy_minus_sign: | N/A | +| `ssoProtection` | [models.CreateProjectSsoProtection](../models/createprojectssoprotection.md) | :heavy_minus_sign: | N/A | +| `targets` | Record | :heavy_minus_sign: | N/A | +| `transferCompletedAt` | *number* | :heavy_minus_sign: | N/A | +| `transferStartedAt` | *number* | :heavy_minus_sign: | N/A | +| `transferToAccountId` | *string* | :heavy_minus_sign: | N/A | +| `transferredFromAccountId` | *string* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `live` | *boolean* | :heavy_minus_sign: | N/A | +| `enablePreviewFeedback` | *boolean* | :heavy_minus_sign: | N/A | +| `enableProductionFeedback` | *boolean* | :heavy_minus_sign: | N/A | +| `permissions` | [models.CreateProjectPermissions](../models/createprojectpermissions.md) | :heavy_minus_sign: | N/A | +| `lastRollbackTarget` | [models.CreateProjectLastRollbackTarget](../models/createprojectlastrollbacktarget.md) | :heavy_minus_sign: | N/A | +| `lastAliasRequest` | [models.CreateProjectLastAliasRequest](../models/createprojectlastaliasrequest.md) | :heavy_minus_sign: | N/A | +| `hasFloatingAliases` | *boolean* | :heavy_minus_sign: | N/A | +| `protectionBypass` | Record | :heavy_minus_sign: | N/A | +| `hasActiveBranches` | *boolean* | :heavy_minus_sign: | N/A | +| `trustedIps` | *models.CreateProjectTrustedIps* | :heavy_minus_sign: | N/A | +| `gitComments` | [models.CreateProjectGitComments](../models/createprojectgitcomments.md) | :heavy_minus_sign: | N/A | +| `paused` | *boolean* | :heavy_minus_sign: | N/A | +| `concurrencyBucketName` | *string* | :heavy_minus_sign: | N/A | +| `webAnalytics` | [models.CreateProjectWebAnalytics](../models/createprojectwebanalytics.md) | :heavy_minus_sign: | N/A | +| `security` | [models.CreateProjectSecurity](../models/createprojectsecurity.md) | :heavy_minus_sign: | N/A | +| `oidcTokenConfig` | [models.CreateProjectOidcTokenConfig](../models/createprojectoidctokenconfig.md) | :heavy_minus_sign: | N/A | +| `tier` | [models.CreateProjectTier](../models/createprojecttier.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectscope.md b/docs/models/createprojectscope.md new file mode 100644 index 00000000..142a7f3e --- /dev/null +++ b/docs/models/createprojectscope.md @@ -0,0 +1,15 @@ +# CreateProjectScope + +## Example Usage + +```typescript +import { CreateProjectScope } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectScope = "automation-bypass"; +``` + +## Values + +```typescript +"automation-bypass" +``` \ No newline at end of file diff --git a/docs/models/createprojectsecurity.md b/docs/models/createprojectsecurity.md new file mode 100644 index 00000000..a384bb4e --- /dev/null +++ b/docs/models/createprojectsecurity.md @@ -0,0 +1,25 @@ +# CreateProjectSecurity + +## Example Usage + +```typescript +import { CreateProjectSecurity } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectSecurity = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `attackModeEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `attackModeUpdatedAt` | *number* | :heavy_minus_sign: | N/A | +| `firewallEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `firewallUpdatedAt` | *number* | :heavy_minus_sign: | N/A | +| `attackModeActiveUntil` | *number* | :heavy_minus_sign: | N/A | +| `firewallConfigVersion` | *number* | :heavy_minus_sign: | N/A | +| `firewallRoutes` | [models.CreateProjectFirewallRoutes](../models/createprojectfirewallroutes.md)[] | :heavy_minus_sign: | N/A | +| `firewallSeawallEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `ja3Enabled` | *boolean* | :heavy_minus_sign: | N/A | +| `ja4Enabled` | *boolean* | :heavy_minus_sign: | N/A | +| `firewallBypassIps` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectspeedinsights.md b/docs/models/createprojectspeedinsights.md similarity index 89% rename from docs/models/operations/createprojectspeedinsights.md rename to docs/models/createprojectspeedinsights.md index 49b86eed..ee51b4d7 100644 --- a/docs/models/operations/createprojectspeedinsights.md +++ b/docs/models/createprojectspeedinsights.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectSpeedInsights } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectSpeedInsights } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectSpeedInsights = { id: "", diff --git a/docs/models/createprojectsrc.md b/docs/models/createprojectsrc.md new file mode 100644 index 00000000..61b523d4 --- /dev/null +++ b/docs/models/createprojectsrc.md @@ -0,0 +1,17 @@ +# CreateProjectSrc + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.CreateProjectSrc2` + +```typescript +const value: models.CreateProjectSrc2 = {}; +``` + diff --git a/docs/models/operations/createprojectsrc2.md b/docs/models/createprojectsrc2.md similarity index 93% rename from docs/models/operations/createprojectsrc2.md rename to docs/models/createprojectsrc2.md index 808d8d8f..c2ee58d4 100644 --- a/docs/models/operations/createprojectsrc2.md +++ b/docs/models/createprojectsrc2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectSrc2 } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectSrc2 } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectSrc2 = {}; ``` diff --git a/docs/models/createprojectssoprotection.md b/docs/models/createprojectssoprotection.md new file mode 100644 index 00000000..a6939adc --- /dev/null +++ b/docs/models/createprojectssoprotection.md @@ -0,0 +1,17 @@ +# CreateProjectSsoProtection + +## Example Usage + +```typescript +import { CreateProjectSsoProtection } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectSsoProtection = { + deploymentType: "prod_deployment_urls_and_all_previews", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `deploymentType` | [models.CreateProjectDeploymentType](../models/createprojectdeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojecttarget.md b/docs/models/createprojecttarget.md new file mode 100644 index 00000000..76ccfd72 --- /dev/null +++ b/docs/models/createprojecttarget.md @@ -0,0 +1,21 @@ +# CreateProjectTarget + +Deployment Target or Targets in which the ENV variable will be used + + +## Supported Types + +### `models.Target1` + +```typescript +const value: models.Target1 = "production"; +``` + +### `models.Target2[]` + +```typescript +const value: models.Target2[] = [ + "development", +]; +``` + diff --git a/docs/models/createprojecttarget2.md b/docs/models/createprojecttarget2.md new file mode 100644 index 00000000..f2fe0f38 --- /dev/null +++ b/docs/models/createprojecttarget2.md @@ -0,0 +1,15 @@ +# CreateProjectTarget2 + +## Example Usage + +```typescript +import { CreateProjectTarget2 } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectTarget2 = "preview"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/createprojecttargets.md b/docs/models/createprojecttargets.md new file mode 100644 index 00000000..4be75257 --- /dev/null +++ b/docs/models/createprojecttargets.md @@ -0,0 +1,68 @@ +# CreateProjectTargets + +## Example Usage + +```typescript +import { CreateProjectTargets } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectTargets = { + id: "", + createdAt: 1000.14, + createdIn: "", + creator: { + email: "Annabel55@gmail.com", + uid: "", + username: "Jaclyn.Dooley", + }, + deploymentHostname: "", + name: "", + plan: "hobby", + previewCommentsEnabled: false, + private: false, + readyState: "READY", + type: "LAMBDAS", + url: "https://ambitious-teammate.info", + userId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `alias` | *string*[] | :heavy_minus_sign: | N/A | | +| `aliasAssigned` | *models.CreateProjectProjectsAliasAssigned* | :heavy_minus_sign: | N/A | | +| `aliasError` | [models.CreateProjectProjectsAliasError](../models/createprojectprojectsaliaserror.md) | :heavy_minus_sign: | N/A | | +| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | +| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | +| `branchMatcher` | [models.CreateProjectProjectsBranchMatcher](../models/createprojectprojectsbranchmatcher.md) | :heavy_minus_sign: | N/A | | +| `buildingAt` | *number* | :heavy_minus_sign: | N/A | | +| `builds` | [models.CreateProjectProjectsBuilds](../models/createprojectprojectsbuilds.md)[] | :heavy_minus_sign: | N/A | | +| `checksConclusion` | [models.CreateProjectProjectsChecksConclusion](../models/createprojectprojectschecksconclusion.md) | :heavy_minus_sign: | N/A | | +| `checksState` | [models.CreateProjectProjectsChecksState](../models/createprojectprojectschecksstate.md) | :heavy_minus_sign: | N/A | | +| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | +| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | +| `createdAt` | *number* | :heavy_check_mark: | N/A | | +| `createdIn` | *string* | :heavy_check_mark: | N/A | | +| `creator` | [models.CreateProjectProjectsCreator](../models/createprojectprojectscreator.md) | :heavy_check_mark: | N/A | | +| `deletedAt` | *number* | :heavy_minus_sign: | N/A | | +| `deploymentHostname` | *string* | :heavy_check_mark: | N/A | | +| `forced` | *boolean* | :heavy_minus_sign: | N/A | | +| `name` | *string* | :heavy_check_mark: | N/A | | +| `meta` | Record | :heavy_minus_sign: | N/A | | +| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | +| `oidcTokenClaims` | [models.CreateProjectProjectsOidcTokenClaims](../models/createprojectprojectsoidctokenclaims.md) | :heavy_minus_sign: | N/A | | +| `plan` | [models.CreateProjectProjectsPlan](../models/createprojectprojectsplan.md) | :heavy_check_mark: | N/A | | +| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | +| `private` | *boolean* | :heavy_check_mark: | N/A | | +| `readyAt` | *number* | :heavy_minus_sign: | N/A | | +| `readyState` | [models.CreateProjectProjectsReadyState](../models/createprojectprojectsreadystate.md) | :heavy_check_mark: | N/A | | +| `readySubstate` | [models.CreateProjectProjectsReadySubstate](../models/createprojectprojectsreadysubstate.md) | :heavy_minus_sign: | N/A | | +| `requestedAt` | *number* | :heavy_minus_sign: | N/A | | +| `target` | *string* | :heavy_minus_sign: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | | +| `type` | [models.CreateProjectProjectsResponse200ApplicationJSONType](../models/createprojectprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | | +| `url` | *string* | :heavy_check_mark: | N/A | | +| `userId` | *string* | :heavy_check_mark: | N/A | | +| `withCache` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/createprojecttier.md b/docs/models/createprojecttier.md new file mode 100644 index 00000000..226891d9 --- /dev/null +++ b/docs/models/createprojecttier.md @@ -0,0 +1,15 @@ +# CreateProjectTier + +## Example Usage + +```typescript +import { CreateProjectTier } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectTier = "critical"; +``` + +## Values + +```typescript +"standard" | "advanced" | "critical" +``` \ No newline at end of file diff --git a/docs/models/createprojecttrustedips.md b/docs/models/createprojecttrustedips.md new file mode 100644 index 00000000..52ca7662 --- /dev/null +++ b/docs/models/createprojecttrustedips.md @@ -0,0 +1,27 @@ +# CreateProjectTrustedIps + + +## Supported Types + +### `models.CreateProjectTrustedIps1` + +```typescript +const value: models.CreateProjectTrustedIps1 = { + deploymentType: "all", + addresses: [ + { + value: "", + }, + ], + protectionMode: "additional", +}; +``` + +### `models.CreateProjectTrustedIps2` + +```typescript +const value: models.CreateProjectTrustedIps2 = { + deploymentType: "production", +}; +``` + diff --git a/docs/models/createprojecttrustedips1.md b/docs/models/createprojecttrustedips1.md new file mode 100644 index 00000000..a5925264 --- /dev/null +++ b/docs/models/createprojecttrustedips1.md @@ -0,0 +1,25 @@ +# CreateProjectTrustedIps1 + +## Example Usage + +```typescript +import { CreateProjectTrustedIps1 } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectTrustedIps1 = { + deploymentType: "all", + addresses: [ + { + value: "", + }, + ], + protectionMode: "additional", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `deploymentType` | [models.CreateProjectTrustedIpsDeploymentType](../models/createprojecttrustedipsdeploymenttype.md) | :heavy_check_mark: | N/A | +| `addresses` | [models.TrustedIpsAddresses](../models/trustedipsaddresses.md)[] | :heavy_check_mark: | N/A | +| `protectionMode` | [models.TrustedIpsProtectionMode](../models/trustedipsprotectionmode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojecttrustedips2.md b/docs/models/createprojecttrustedips2.md new file mode 100644 index 00000000..79bf8003 --- /dev/null +++ b/docs/models/createprojecttrustedips2.md @@ -0,0 +1,17 @@ +# CreateProjectTrustedIps2 + +## Example Usage + +```typescript +import { CreateProjectTrustedIps2 } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectTrustedIps2 = { + deploymentType: "preview", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `deploymentType` | [models.CreateProjectTrustedIpsProjectsDeploymentType](../models/createprojecttrustedipsprojectsdeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojecttrustedipsdeploymenttype.md b/docs/models/createprojecttrustedipsdeploymenttype.md similarity index 88% rename from docs/models/operations/createprojecttrustedipsdeploymenttype.md rename to docs/models/createprojecttrustedipsdeploymenttype.md index aab57ad8..5048ef07 100644 --- a/docs/models/operations/createprojecttrustedipsdeploymenttype.md +++ b/docs/models/createprojecttrustedipsdeploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectTrustedIpsDeploymentType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectTrustedIpsDeploymentType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectTrustedIpsDeploymentType = "preview"; ``` diff --git a/docs/models/operations/createprojecttrustedipsprojectsdeploymenttype.md b/docs/models/createprojecttrustedipsprojectsdeploymenttype.md similarity index 87% rename from docs/models/operations/createprojecttrustedipsprojectsdeploymenttype.md rename to docs/models/createprojecttrustedipsprojectsdeploymenttype.md index 7aa3696e..b08626a4 100644 --- a/docs/models/operations/createprojecttrustedipsprojectsdeploymenttype.md +++ b/docs/models/createprojecttrustedipsprojectsdeploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectTrustedIpsProjectsDeploymentType } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectTrustedIpsProjectsDeploymentType } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectTrustedIpsProjectsDeploymentType = "preview"; ``` diff --git a/docs/models/createprojecttype.md b/docs/models/createprojecttype.md new file mode 100644 index 00000000..4eb6a0ba --- /dev/null +++ b/docs/models/createprojecttype.md @@ -0,0 +1,17 @@ +# CreateProjectType + +Type of the ENV variable + +## Example Usage + +```typescript +import { CreateProjectType } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectType = "secret"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/createprojectvalue.md b/docs/models/createprojectvalue.md new file mode 100644 index 00000000..f8e49547 --- /dev/null +++ b/docs/models/createprojectvalue.md @@ -0,0 +1,17 @@ +# CreateProjectValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.CreateProjectValue2` + +```typescript +const value: models.CreateProjectValue2 = {}; +``` + diff --git a/docs/models/operations/createprojectvalue2.md b/docs/models/createprojectvalue2.md similarity index 93% rename from docs/models/operations/createprojectvalue2.md rename to docs/models/createprojectvalue2.md index 56814ae6..3b2a8058 100644 --- a/docs/models/operations/createprojectvalue2.md +++ b/docs/models/createprojectvalue2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectValue2 } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectValue2 } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectValue2 = {}; ``` diff --git a/docs/models/operations/createprojectvalueprojects2.md b/docs/models/createprojectvalueprojects2.md similarity index 97% rename from docs/models/operations/createprojectvalueprojects2.md rename to docs/models/createprojectvalueprojects2.md index 58408a8a..507f047d 100644 --- a/docs/models/operations/createprojectvalueprojects2.md +++ b/docs/models/createprojectvalueprojects2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectValueProjects2 } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectValueProjects2 } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectValueProjects2 = {}; ``` diff --git a/docs/models/operations/createprojectwebanalytics.md b/docs/models/createprojectwebanalytics.md similarity index 88% rename from docs/models/operations/createprojectwebanalytics.md rename to docs/models/createprojectwebanalytics.md index 253e6be8..6c289070 100644 --- a/docs/models/operations/createprojectwebanalytics.md +++ b/docs/models/createprojectwebanalytics.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateProjectWebAnalytics } from "@vercel/sdk/models/operations/createproject.js"; +import { CreateProjectWebAnalytics } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectWebAnalytics = { id: "", diff --git a/docs/models/operations/createrecordrequest.md b/docs/models/createrecordrequest.md similarity index 83% rename from docs/models/operations/createrecordrequest.md rename to docs/models/createrecordrequest.md index 148e3a9b..554b04d8 100644 --- a/docs/models/operations/createrecordrequest.md +++ b/docs/models/createrecordrequest.md @@ -3,15 +3,14 @@ ## Example Usage ```typescript -import { CreateRecordRequest } from "@vercel/sdk/models/operations/createrecord.js"; +import { CreateRecordRequest } from "@vercel/sdk/models/createrecordop.js"; let value: CreateRecordRequest = { domain: "example.com", requestBody: { - name: "subdomain", - type: "CAA", + type: "MX", ttl: 60, - value: "0 issue \\"letsencrypt.org\\"", + value: "hello", comment: "used to verify ownership of domain", }, }; @@ -24,4 +23,4 @@ let value: CreateRecordRequest = { | `domain` | *string* | :heavy_check_mark: | The domain used to create the DNS record. | example.com | | `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | | `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | -| `requestBody` | *operations.CreateRecordRequestBody* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `requestBody` | *models.CreateRecordRequestBody* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/createrecordrequestbody.md b/docs/models/createrecordrequestbody.md new file mode 100644 index 00000000..b2330b43 --- /dev/null +++ b/docs/models/createrecordrequestbody.md @@ -0,0 +1,132 @@ +# CreateRecordRequestBody + + +## Supported Types + +### `models.RequestBody1` + +```typescript +const value: models.RequestBody1 = { + name: "subdomain", + type: "ALIAS", + ttl: 60, + value: "192.0.2.42", + comment: "used to verify ownership of domain", +}; +``` + +### `models.RequestBody2` + +```typescript +const value: models.RequestBody2 = { + name: "subdomain", + type: "CAA", + ttl: 60, + value: "2001:DB8::42", + comment: "used to verify ownership of domain", +}; +``` + +### `models.RequestBody3` + +```typescript +const value: models.RequestBody3 = { + name: "subdomain", + type: "CNAME", + ttl: 60, + value: "cname.vercel-dns.com", + comment: "used to verify ownership of domain", +}; +``` + +### `models.RequestBody4` + +```typescript +const value: models.RequestBody4 = { + name: "subdomain", + type: "HTTPS", + ttl: 60, + value: "0 issue \\"letsencrypt.org\\"", + comment: "used to verify ownership of domain", +}; +``` + +### `models.RequestBody5` + +```typescript +const value: models.RequestBody5 = { + name: "subdomain", + type: "SRV", + ttl: 60, + value: "cname.vercel-dns.com", + comment: "used to verify ownership of domain", +}; +``` + +### `models.Six` + +```typescript +const value: models.Six = { + name: "subdomain", + type: "CAA", + ttl: 60, + value: "10 mail.example.com.", + mxPriority: 10, + comment: "used to verify ownership of domain", +}; +``` + +### `models.Seven` + +```typescript +const value: models.Seven = { + type: "CAA", + ttl: 60, + srv: { + priority: 10, + weight: 10, + port: 5000, + target: "host.example.com", + }, + comment: "used to verify ownership of domain", +}; +``` + +### `models.Eight` + +```typescript +const value: models.Eight = { + type: "A", + ttl: 60, + value: "hello", + comment: "used to verify ownership of domain", +}; +``` + +### `models.Nine` + +```typescript +const value: models.Nine = { + name: "subdomain", + type: "A", + ttl: 60, + value: "ns1.example.com", + comment: "used to verify ownership of domain", +}; +``` + +### `models.Ten` + +```typescript +const value: models.Ten = { + type: "ALIAS", + ttl: 60, + https: { + priority: 10, + target: "host.example.com", + params: "alpn=h2,h3", + }, + comment: "used to verify ownership of domain", +}; +``` + diff --git a/docs/models/operations/createrecordrequestbodydnsrequest10type.md b/docs/models/createrecordrequestbodydnsrequest10type.md similarity index 75% rename from docs/models/operations/createrecordrequestbodydnsrequest10type.md rename to docs/models/createrecordrequestbodydnsrequest10type.md index c6c15d91..ed67614e 100644 --- a/docs/models/operations/createrecordrequestbodydnsrequest10type.md +++ b/docs/models/createrecordrequestbodydnsrequest10type.md @@ -5,9 +5,9 @@ The type of record, it could be one of the valid DNS records. ## Example Usage ```typescript -import { CreateRecordRequestBodyDnsRequest10Type } from "@vercel/sdk/models/operations/createrecord.js"; +import { CreateRecordRequestBodyDnsRequest10Type } from "@vercel/sdk/models/createrecordop.js"; -let value: CreateRecordRequestBodyDnsRequest10Type = "AAAA"; +let value: CreateRecordRequestBodyDnsRequest10Type = "HTTPS"; ``` ## Values diff --git a/docs/models/operations/createrecordrequestbodydnsrequest5type.md b/docs/models/createrecordrequestbodydnsrequest5type.md similarity index 76% rename from docs/models/operations/createrecordrequestbodydnsrequest5type.md rename to docs/models/createrecordrequestbodydnsrequest5type.md index c4a5d3ac..d31b6b94 100644 --- a/docs/models/operations/createrecordrequestbodydnsrequest5type.md +++ b/docs/models/createrecordrequestbodydnsrequest5type.md @@ -5,9 +5,9 @@ The type of record, it could be one of the valid DNS records. ## Example Usage ```typescript -import { CreateRecordRequestBodyDnsRequest5Type } from "@vercel/sdk/models/operations/createrecord.js"; +import { CreateRecordRequestBodyDnsRequest5Type } from "@vercel/sdk/models/createrecordop.js"; -let value: CreateRecordRequestBodyDnsRequest5Type = "TXT"; +let value: CreateRecordRequestBodyDnsRequest5Type = "CAA"; ``` ## Values diff --git a/docs/models/operations/createrecordrequestbodydnsrequest6type.md b/docs/models/createrecordrequestbodydnsrequest6type.md similarity index 90% rename from docs/models/operations/createrecordrequestbodydnsrequest6type.md rename to docs/models/createrecordrequestbodydnsrequest6type.md index c0ed6030..2b63157c 100644 --- a/docs/models/operations/createrecordrequestbodydnsrequest6type.md +++ b/docs/models/createrecordrequestbodydnsrequest6type.md @@ -5,7 +5,7 @@ The type of record, it could be one of the valid DNS records. ## Example Usage ```typescript -import { CreateRecordRequestBodyDnsRequest6Type } from "@vercel/sdk/models/operations/createrecord.js"; +import { CreateRecordRequestBodyDnsRequest6Type } from "@vercel/sdk/models/createrecordop.js"; let value: CreateRecordRequestBodyDnsRequest6Type = "TXT"; ``` diff --git a/docs/models/operations/createrecordrequestbodydnsrequest7type.md b/docs/models/createrecordrequestbodydnsrequest7type.md similarity index 76% rename from docs/models/operations/createrecordrequestbodydnsrequest7type.md rename to docs/models/createrecordrequestbodydnsrequest7type.md index afe8dbc4..4c27117e 100644 --- a/docs/models/operations/createrecordrequestbodydnsrequest7type.md +++ b/docs/models/createrecordrequestbodydnsrequest7type.md @@ -5,9 +5,9 @@ The type of record, it could be one of the valid DNS records. ## Example Usage ```typescript -import { CreateRecordRequestBodyDnsRequest7Type } from "@vercel/sdk/models/operations/createrecord.js"; +import { CreateRecordRequestBodyDnsRequest7Type } from "@vercel/sdk/models/createrecordop.js"; -let value: CreateRecordRequestBodyDnsRequest7Type = "CAA"; +let value: CreateRecordRequestBodyDnsRequest7Type = "CNAME"; ``` ## Values diff --git a/docs/models/operations/createrecordrequestbodydnsrequest8type.md b/docs/models/createrecordrequestbodydnsrequest8type.md similarity index 76% rename from docs/models/operations/createrecordrequestbodydnsrequest8type.md rename to docs/models/createrecordrequestbodydnsrequest8type.md index bb0226bd..9f139bdb 100644 --- a/docs/models/operations/createrecordrequestbodydnsrequest8type.md +++ b/docs/models/createrecordrequestbodydnsrequest8type.md @@ -5,9 +5,9 @@ The type of record, it could be one of the valid DNS records. ## Example Usage ```typescript -import { CreateRecordRequestBodyDnsRequest8Type } from "@vercel/sdk/models/operations/createrecord.js"; +import { CreateRecordRequestBodyDnsRequest8Type } from "@vercel/sdk/models/createrecordop.js"; -let value: CreateRecordRequestBodyDnsRequest8Type = "TXT"; +let value: CreateRecordRequestBodyDnsRequest8Type = "NS"; ``` ## Values diff --git a/docs/models/operations/createrecordrequestbodydnsrequest9type.md b/docs/models/createrecordrequestbodydnsrequest9type.md similarity index 75% rename from docs/models/operations/createrecordrequestbodydnsrequest9type.md rename to docs/models/createrecordrequestbodydnsrequest9type.md index c6158b0d..8117756b 100644 --- a/docs/models/operations/createrecordrequestbodydnsrequest9type.md +++ b/docs/models/createrecordrequestbodydnsrequest9type.md @@ -5,9 +5,9 @@ The type of record, it could be one of the valid DNS records. ## Example Usage ```typescript -import { CreateRecordRequestBodyDnsRequest9Type } from "@vercel/sdk/models/operations/createrecord.js"; +import { CreateRecordRequestBodyDnsRequest9Type } from "@vercel/sdk/models/createrecordop.js"; -let value: CreateRecordRequestBodyDnsRequest9Type = "CNAME"; +let value: CreateRecordRequestBodyDnsRequest9Type = "TXT"; ``` ## Values diff --git a/docs/models/operations/createrecordrequestbodydnsrequesttype.md b/docs/models/createrecordrequestbodydnsrequesttype.md similarity index 76% rename from docs/models/operations/createrecordrequestbodydnsrequesttype.md rename to docs/models/createrecordrequestbodydnsrequesttype.md index 669a3a04..4e96a4ed 100644 --- a/docs/models/operations/createrecordrequestbodydnsrequesttype.md +++ b/docs/models/createrecordrequestbodydnsrequesttype.md @@ -5,9 +5,9 @@ The type of record, it could be one of the valid DNS records. ## Example Usage ```typescript -import { CreateRecordRequestBodyDnsRequestType } from "@vercel/sdk/models/operations/createrecord.js"; +import { CreateRecordRequestBodyDnsRequestType } from "@vercel/sdk/models/createrecordop.js"; -let value: CreateRecordRequestBodyDnsRequestType = "AAAA"; +let value: CreateRecordRequestBodyDnsRequestType = "NS"; ``` ## Values diff --git a/docs/models/operations/createrecordrequestbodydnstype.md b/docs/models/createrecordrequestbodydnstype.md similarity index 79% rename from docs/models/operations/createrecordrequestbodydnstype.md rename to docs/models/createrecordrequestbodydnstype.md index ff34886c..62fd2213 100644 --- a/docs/models/operations/createrecordrequestbodydnstype.md +++ b/docs/models/createrecordrequestbodydnstype.md @@ -5,9 +5,9 @@ The type of record, it could be one of the valid DNS records. ## Example Usage ```typescript -import { CreateRecordRequestBodyDnsType } from "@vercel/sdk/models/operations/createrecord.js"; +import { CreateRecordRequestBodyDnsType } from "@vercel/sdk/models/createrecordop.js"; -let value: CreateRecordRequestBodyDnsType = "A"; +let value: CreateRecordRequestBodyDnsType = "MX"; ``` ## Values diff --git a/docs/models/operations/createrecordrequestbodytype.md b/docs/models/createrecordrequestbodytype.md similarity index 80% rename from docs/models/operations/createrecordrequestbodytype.md rename to docs/models/createrecordrequestbodytype.md index ec42b079..5fd864f9 100644 --- a/docs/models/operations/createrecordrequestbodytype.md +++ b/docs/models/createrecordrequestbodytype.md @@ -5,9 +5,9 @@ The type of record, it could be one of the valid DNS records. ## Example Usage ```typescript -import { CreateRecordRequestBodyType } from "@vercel/sdk/models/operations/createrecord.js"; +import { CreateRecordRequestBodyType } from "@vercel/sdk/models/createrecordop.js"; -let value: CreateRecordRequestBodyType = "NS"; +let value: CreateRecordRequestBodyType = "HTTPS"; ``` ## Values diff --git a/docs/models/createrecordresponsebody.md b/docs/models/createrecordresponsebody.md new file mode 100644 index 00000000..1b56c9c3 --- /dev/null +++ b/docs/models/createrecordresponsebody.md @@ -0,0 +1,24 @@ +# CreateRecordResponseBody + +Successful response showing the uid of the newly created DNS record. + + +## Supported Types + +### `models.CreateRecordResponseBody1` + +```typescript +const value: models.CreateRecordResponseBody1 = { + uid: "", + updated: 7689.19, +}; +``` + +### `models.CreateRecordResponseBody2` + +```typescript +const value: models.CreateRecordResponseBody2 = { + uid: "rec_V0fra8eEgQwEpFhYG2vTzC3K", +}; +``` + diff --git a/docs/models/operations/createrecordresponsebody1.md b/docs/models/createrecordresponsebody1.md similarity index 81% rename from docs/models/operations/createrecordresponsebody1.md rename to docs/models/createrecordresponsebody1.md index c8642c64..75d6ad7e 100644 --- a/docs/models/operations/createrecordresponsebody1.md +++ b/docs/models/createrecordresponsebody1.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { CreateRecordResponseBody1 } from "@vercel/sdk/models/operations/createrecord.js"; +import { CreateRecordResponseBody1 } from "@vercel/sdk/models/createrecordop.js"; let value: CreateRecordResponseBody1 = { uid: "", - updated: 196.92, + updated: 7697.89, }; ``` diff --git a/docs/models/operations/createrecordresponsebody2.md b/docs/models/createrecordresponsebody2.md similarity index 89% rename from docs/models/operations/createrecordresponsebody2.md rename to docs/models/createrecordresponsebody2.md index 17e0764a..ab39ecd8 100644 --- a/docs/models/operations/createrecordresponsebody2.md +++ b/docs/models/createrecordresponsebody2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateRecordResponseBody2 } from "@vercel/sdk/models/operations/createrecord.js"; +import { CreateRecordResponseBody2 } from "@vercel/sdk/models/createrecordop.js"; let value: CreateRecordResponseBody2 = { uid: "rec_V0fra8eEgQwEpFhYG2vTzC3K", diff --git a/docs/models/operations/createteambilling.md b/docs/models/createteambilling.md similarity index 83% rename from docs/models/operations/createteambilling.md rename to docs/models/createteambilling.md index 529295d4..18173a62 100644 --- a/docs/models/operations/createteambilling.md +++ b/docs/models/createteambilling.md @@ -5,7 +5,7 @@ IMPORTANT: If extending Billing, particularly with optional fields, make sure yo ## Example Usage ```typescript -import { CreateTeamBilling } from "@vercel/sdk/models/operations/createteam.js"; +import { CreateTeamBilling } from "@vercel/sdk/models/createteamop.js"; let value: CreateTeamBilling = {}; ``` diff --git a/docs/models/operations/createteamrequestbody.md b/docs/models/createteamrequestbody.md similarity index 92% rename from docs/models/operations/createteamrequestbody.md rename to docs/models/createteamrequestbody.md index d0a82754..7eb764f3 100644 --- a/docs/models/operations/createteamrequestbody.md +++ b/docs/models/createteamrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateTeamRequestBody } from "@vercel/sdk/models/operations/createteam.js"; +import { CreateTeamRequestBody } from "@vercel/sdk/models/createteamop.js"; let value: CreateTeamRequestBody = { slug: "a-random-team", @@ -17,4 +17,4 @@ let value: CreateTeamRequestBody = { | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | | `slug` | *string* | :heavy_check_mark: | The desired slug for the Team | a-random-team | | `name` | *string* | :heavy_minus_sign: | The desired name for the Team. It will be generated from the provided slug if nothing is provided | A Random Team | -| `attribution` | [operations.Attribution](../../models/operations/attribution.md) | :heavy_minus_sign: | Attribution information for the session or current page | | \ No newline at end of file +| `attribution` | [models.Attribution](../models/attribution.md) | :heavy_minus_sign: | Attribution information for the session or current page | | \ No newline at end of file diff --git a/docs/models/operations/createteamresponsebody.md b/docs/models/createteamresponsebody.md similarity index 94% rename from docs/models/operations/createteamresponsebody.md rename to docs/models/createteamresponsebody.md index 46616666..8d959304 100644 --- a/docs/models/operations/createteamresponsebody.md +++ b/docs/models/createteamresponsebody.md @@ -5,7 +5,7 @@ The team was created successfully ## Example Usage ```typescript -import { CreateTeamResponseBody } from "@vercel/sdk/models/operations/createteam.js"; +import { CreateTeamResponseBody } from "@vercel/sdk/models/createteamop.js"; let value: CreateTeamResponseBody = { id: "team_nLlpyC6RE1qxqglFKbrMxlud", @@ -20,4 +20,4 @@ let value: CreateTeamResponseBody = { | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `id` | *string* | :heavy_check_mark: | Id of the created team | team_nLlpyC6RE1qxqglFKbrMxlud | | `slug` | *string* | :heavy_check_mark: | N/A | | -| `billing` | [operations.CreateTeamBilling](../../models/operations/createteambilling.md) | :heavy_check_mark: | IMPORTANT: If extending Billing, particularly with optional fields, make sure you also update `sync-orb-subscription-to-owner.ts` to handle the items when the object is recreated. | | \ No newline at end of file +| `billing` | [models.CreateTeamBilling](../models/createteambilling.md) | :heavy_check_mark: | IMPORTANT: If extending Billing, particularly with optional fields, make sure you also update `sync-orb-subscription-to-owner.ts` to handle the items when the object is recreated. | | \ No newline at end of file diff --git a/docs/models/operations/createwebhookevents.md b/docs/models/createwebhookevents.md similarity index 93% rename from docs/models/operations/createwebhookevents.md rename to docs/models/createwebhookevents.md index 23452e95..c324d734 100644 --- a/docs/models/operations/createwebhookevents.md +++ b/docs/models/createwebhookevents.md @@ -5,7 +5,7 @@ The webhooks events ## Example Usage ```typescript -import { CreateWebhookEvents } from "@vercel/sdk/models/operations/createwebhook.js"; +import { CreateWebhookEvents } from "@vercel/sdk/models/createwebhookop.js"; let value: CreateWebhookEvents = "deployment.created"; ``` diff --git a/docs/models/createwebhookrequest.md b/docs/models/createwebhookrequest.md new file mode 100644 index 00000000..19755cc5 --- /dev/null +++ b/docs/models/createwebhookrequest.md @@ -0,0 +1,24 @@ +# CreateWebhookRequest + +## Example Usage + +```typescript +import { CreateWebhookRequest } from "@vercel/sdk/models/createwebhookop.js"; + +let value: CreateWebhookRequest = { + requestBody: { + url: "https://dramatic-coast.org", + events: [ + "deployment.integration.action.cancel", + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.CreateWebhookRequestBody](../models/createwebhookrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createwebhookrequestbody.md b/docs/models/createwebhookrequestbody.md new file mode 100644 index 00000000..eb50cee0 --- /dev/null +++ b/docs/models/createwebhookrequestbody.md @@ -0,0 +1,22 @@ +# CreateWebhookRequestBody + +## Example Usage + +```typescript +import { CreateWebhookRequestBody } from "@vercel/sdk/models/createwebhookop.js"; + +let value: CreateWebhookRequestBody = { + url: "https://quick-witted-bowler.biz/", + events: [ + "integration-configuration-scope-change-confirmed", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `url` | *string* | :heavy_check_mark: | N/A | +| `events` | [models.Events](../models/events.md)[] | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createwebhookresponsebody.md b/docs/models/createwebhookresponsebody.md new file mode 100644 index 00000000..d859cab2 --- /dev/null +++ b/docs/models/createwebhookresponsebody.md @@ -0,0 +1,35 @@ +# CreateWebhookResponseBody + +## Example Usage + +```typescript +import { CreateWebhookResponseBody } from "@vercel/sdk/models/createwebhookop.js"; + +let value: CreateWebhookResponseBody = { + secret: "", + events: [ + "deployment.created", + ], + id: "account_hook_GflD6EYyo7F4ViYS", + url: "https://my-webhook.com", + ownerId: "ZspSRT4ljIEEmMHgoDwKWDei", + createdAt: 1567024758130, + updatedAt: 1567024758130, + projectIds: [ + "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `secret` | *string* | :heavy_check_mark: | The webhook secret used to sign the payload | | +| `events` | [models.CreateWebhookEvents](../models/createwebhookevents.md)[] | :heavy_check_mark: | The webhooks events | deployment.created | +| `id` | *string* | :heavy_check_mark: | The webhook id | account_hook_GflD6EYyo7F4ViYS | +| `url` | *string* | :heavy_check_mark: | A string with the URL of the webhook | https://my-webhook.com | +| `ownerId` | *string* | :heavy_check_mark: | The unique ID of the team the webhook belongs to | ZspSRT4ljIEEmMHgoDwKWDei | +| `createdAt` | *number* | :heavy_check_mark: | A number containing the date when the webhook was created in in milliseconds | 1567024758130 | +| `updatedAt` | *number* | :heavy_check_mark: | A number containing the date when the webhook was updated in in milliseconds | 1567024758130 | +| `projectIds` | *string*[] | :heavy_minus_sign: | The ID of the projects the webhook is associated with | [
"prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB"
] | \ No newline at end of file diff --git a/docs/models/operations/creator.md b/docs/models/creator.md similarity index 87% rename from docs/models/operations/creator.md rename to docs/models/creator.md index 4a50b3b6..c79e3b44 100644 --- a/docs/models/operations/creator.md +++ b/docs/models/creator.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Creator } from "@vercel/sdk/models/operations/createdeployment.js"; +import { Creator } from "@vercel/sdk/models/createdeploymentop.js"; let value: Creator = { uid: "", diff --git a/docs/models/operations/crons.md b/docs/models/crons.md similarity index 94% rename from docs/models/operations/crons.md rename to docs/models/crons.md index 134be3f1..9b749716 100644 --- a/docs/models/operations/crons.md +++ b/docs/models/crons.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Crons } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { Crons } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: Crons = { enabledAt: 9560.84, @@ -28,4 +28,4 @@ let value: Crons = { | `disabledAt` | *number* | :heavy_check_mark: | The time the feature was disabled for this project. | | `updatedAt` | *number* | :heavy_check_mark: | N/A | | `deploymentId` | *string* | :heavy_check_mark: | The ID of the Deployment from which the definitions originated. | -| `definitions` | [operations.Definitions](../../models/operations/definitions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| `definitions` | [models.Definitions](../models/definitions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/crs.md b/docs/models/crs.md new file mode 100644 index 00000000..c64faee1 --- /dev/null +++ b/docs/models/crs.md @@ -0,0 +1,27 @@ +# Crs + +Custom Ruleset + +## Example Usage + +```typescript +import { Crs } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Crs = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `sd` | [models.Sd](../models/sd.md) | :heavy_minus_sign: | Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools. | +| `ma` | [models.Ma](../models/ma.md) | :heavy_minus_sign: | Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding. | +| `lfi` | [models.Lfi](../models/lfi.md) | :heavy_minus_sign: | Local File Inclusion Attack - Prevent unauthorized access to local files through web applications. | +| `rfi` | [models.Rfi](../models/rfi.md) | :heavy_minus_sign: | Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files. | +| `rce` | [models.Rce](../models/rce.md) | :heavy_minus_sign: | Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands. | +| `php` | [models.Php](../models/php.md) | :heavy_minus_sign: | PHP Attack - Safeguard against vulnerability exploits in PHP-based applications. | +| `gen` | [models.Gen](../models/gen.md) | :heavy_minus_sign: | Generic Attack - Provide broad protection from various undefined or novel attack vectors. | +| `xss` | [models.Xss](../models/xss.md) | :heavy_minus_sign: | XSS Attack - Prevent injection of malicious scripts into trusted webpages. | +| `sqli` | [models.Sqli](../models/sqli.md) | :heavy_minus_sign: | SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases. | +| `sf` | [models.Sf](../models/sf.md) | :heavy_minus_sign: | Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs. | +| `java` | [models.Java](../models/java.md) | :heavy_minus_sign: | Java Attack - Mitigate risks of exploitation targeting Java-based applications or components. | \ No newline at end of file diff --git a/docs/models/customenvironment.md b/docs/models/customenvironment.md new file mode 100644 index 00000000..a4d9ee70 --- /dev/null +++ b/docs/models/customenvironment.md @@ -0,0 +1,19 @@ +# CustomEnvironment + + +## Supported Types + +### `models.CustomEnvironment1` + +```typescript +const value: models.CustomEnvironment1 = {}; +``` + +### `models.CustomEnvironment2` + +```typescript +const value: models.CustomEnvironment2 = { + id: "", +}; +``` + diff --git a/docs/models/customenvironment1.md b/docs/models/customenvironment1.md new file mode 100644 index 00000000..41f49748 --- /dev/null +++ b/docs/models/customenvironment1.md @@ -0,0 +1,14 @@ +# CustomEnvironment1 + +## Example Usage + +```typescript +import { CustomEnvironment1 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CustomEnvironment1 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/customenvironment2.md b/docs/models/customenvironment2.md similarity index 81% rename from docs/models/operations/customenvironment2.md rename to docs/models/customenvironment2.md index 48dd2765..d178dfc8 100644 --- a/docs/models/operations/customenvironment2.md +++ b/docs/models/customenvironment2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CustomEnvironment2 } from "@vercel/sdk/models/operations/createdeployment.js"; +import { CustomEnvironment2 } from "@vercel/sdk/models/createdeploymentop.js"; let value: CustomEnvironment2 = { id: "", diff --git a/docs/models/customenvironments.md b/docs/models/customenvironments.md new file mode 100644 index 00000000..a9909ac5 --- /dev/null +++ b/docs/models/customenvironments.md @@ -0,0 +1,14 @@ +# CustomEnvironments + +## Example Usage + +```typescript +import { CustomEnvironments } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: CustomEnvironments = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/datacache.md b/docs/models/datacache.md new file mode 100644 index 00000000..c9fcd791 --- /dev/null +++ b/docs/models/datacache.md @@ -0,0 +1,17 @@ +# DataCache + +data cache settings + +## Example Usage + +```typescript +import { DataCache } from "@vercel/sdk/models/authuser.js"; + +let value: DataCache = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `excessBillingEnabled` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/decrypt.md b/docs/models/decrypt.md similarity index 79% rename from docs/models/operations/decrypt.md rename to docs/models/decrypt.md index e5e35d59..493e7695 100644 --- a/docs/models/operations/decrypt.md +++ b/docs/models/decrypt.md @@ -7,7 +7,7 @@ If true, the environment variable value will be decrypted ## Example Usage ```typescript -import { Decrypt } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { Decrypt } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: Decrypt = "true"; ``` diff --git a/docs/models/operations/definitions.md b/docs/models/definitions.md similarity index 94% rename from docs/models/operations/definitions.md rename to docs/models/definitions.md index 57991057..c387fdbc 100644 --- a/docs/models/operations/definitions.md +++ b/docs/models/definitions.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Definitions } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { Definitions } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: Definitions = { host: "vercel.com", diff --git a/docs/models/operations/deleteaccessgroupprojectrequest.md b/docs/models/deleteaccessgroupprojectrequest.md similarity index 97% rename from docs/models/operations/deleteaccessgroupprojectrequest.md rename to docs/models/deleteaccessgroupprojectrequest.md index fce3f213..8637126e 100644 --- a/docs/models/operations/deleteaccessgroupprojectrequest.md +++ b/docs/models/deleteaccessgroupprojectrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteAccessGroupProjectRequest } from "@vercel/sdk/models/operations/deleteaccessgroupproject.js"; +import { DeleteAccessGroupProjectRequest } from "@vercel/sdk/models/deleteaccessgroupprojectop.js"; let value: DeleteAccessGroupProjectRequest = { accessGroupIdOrName: "", diff --git a/docs/models/operations/deleteaccessgrouprequest.md b/docs/models/deleteaccessgrouprequest.md similarity index 93% rename from docs/models/operations/deleteaccessgrouprequest.md rename to docs/models/deleteaccessgrouprequest.md index c5a5741c..9586d743 100644 --- a/docs/models/operations/deleteaccessgrouprequest.md +++ b/docs/models/deleteaccessgrouprequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteAccessGroupRequest } from "@vercel/sdk/models/operations/deleteaccessgroup.js"; +import { DeleteAccessGroupRequest } from "@vercel/sdk/models/deleteaccessgroupop.js"; let value: DeleteAccessGroupRequest = { idOrName: "", diff --git a/docs/models/operations/deletealiasrequest.md b/docs/models/deletealiasrequest.md similarity index 94% rename from docs/models/operations/deletealiasrequest.md rename to docs/models/deletealiasrequest.md index f970c56f..1861ab07 100644 --- a/docs/models/operations/deletealiasrequest.md +++ b/docs/models/deletealiasrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteAliasRequest } from "@vercel/sdk/models/operations/deletealias.js"; +import { DeleteAliasRequest } from "@vercel/sdk/models/deletealiasop.js"; let value: DeleteAliasRequest = { aliasId: "", diff --git a/docs/models/deletealiasresponsebody.md b/docs/models/deletealiasresponsebody.md new file mode 100644 index 00000000..2e4915bd --- /dev/null +++ b/docs/models/deletealiasresponsebody.md @@ -0,0 +1,19 @@ +# DeleteAliasResponseBody + +The alias was successfully removed + +## Example Usage + +```typescript +import { DeleteAliasResponseBody } from "@vercel/sdk/models/deletealiasop.js"; + +let value: DeleteAliasResponseBody = { + status: "SUCCESS", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `status` | [models.DeleteAliasStatus](../models/deletealiasstatus.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/deletealiasstatus.md b/docs/models/deletealiasstatus.md new file mode 100644 index 00000000..5617a9ce --- /dev/null +++ b/docs/models/deletealiasstatus.md @@ -0,0 +1,15 @@ +# DeleteAliasStatus + +## Example Usage + +```typescript +import { DeleteAliasStatus } from "@vercel/sdk/models/deletealiasop.js"; + +let value: DeleteAliasStatus = "SUCCESS"; +``` + +## Values + +```typescript +"SUCCESS" +``` \ No newline at end of file diff --git a/docs/models/operations/deleteauthtokenrequest.md b/docs/models/deleteauthtokenrequest.md similarity index 96% rename from docs/models/operations/deleteauthtokenrequest.md rename to docs/models/deleteauthtokenrequest.md index cc212f0b..f9556894 100644 --- a/docs/models/operations/deleteauthtokenrequest.md +++ b/docs/models/deleteauthtokenrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteAuthTokenRequest } from "@vercel/sdk/models/operations/deleteauthtoken.js"; +import { DeleteAuthTokenRequest } from "@vercel/sdk/models/deleteauthtokenop.js"; let value: DeleteAuthTokenRequest = { tokenId: "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", diff --git a/docs/models/operations/deleteauthtokenresponsebody.md b/docs/models/deleteauthtokenresponsebody.md similarity index 97% rename from docs/models/operations/deleteauthtokenresponsebody.md rename to docs/models/deleteauthtokenresponsebody.md index 4b07ff92..3e7d4e26 100644 --- a/docs/models/operations/deleteauthtokenresponsebody.md +++ b/docs/models/deleteauthtokenresponsebody.md @@ -5,7 +5,7 @@ Authentication token successfully deleted. ## Example Usage ```typescript -import { DeleteAuthTokenResponseBody } from "@vercel/sdk/models/operations/deleteauthtoken.js"; +import { DeleteAuthTokenResponseBody } from "@vercel/sdk/models/deleteauthtokenop.js"; let value: DeleteAuthTokenResponseBody = { tokenId: "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", diff --git a/docs/models/operations/deleteconfigurablelogdrainrequest.md b/docs/models/deleteconfigurablelogdrainrequest.md similarity index 96% rename from docs/models/operations/deleteconfigurablelogdrainrequest.md rename to docs/models/deleteconfigurablelogdrainrequest.md index dca25bbb..f4c53fcb 100644 --- a/docs/models/operations/deleteconfigurablelogdrainrequest.md +++ b/docs/models/deleteconfigurablelogdrainrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteConfigurableLogDrainRequest } from "@vercel/sdk/models/operations/deleteconfigurablelogdrain.js"; +import { DeleteConfigurableLogDrainRequest } from "@vercel/sdk/models/deleteconfigurablelogdrainop.js"; let value: DeleteConfigurableLogDrainRequest = { id: "", diff --git a/docs/models/operations/deleteconfigurationrequest.md b/docs/models/deleteconfigurationrequest.md similarity index 93% rename from docs/models/operations/deleteconfigurationrequest.md rename to docs/models/deleteconfigurationrequest.md index 6ae2b466..102a9d9f 100644 --- a/docs/models/operations/deleteconfigurationrequest.md +++ b/docs/models/deleteconfigurationrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteConfigurationRequest } from "@vercel/sdk/models/operations/deleteconfiguration.js"; +import { DeleteConfigurationRequest } from "@vercel/sdk/models/deleteconfigurationop.js"; let value: DeleteConfigurationRequest = { id: "", diff --git a/docs/models/operations/deletedeploymentrequest.md b/docs/models/deletedeploymentrequest.md similarity index 96% rename from docs/models/operations/deletedeploymentrequest.md rename to docs/models/deletedeploymentrequest.md index 9d40f198..ebb704a4 100644 --- a/docs/models/operations/deletedeploymentrequest.md +++ b/docs/models/deletedeploymentrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteDeploymentRequest } from "@vercel/sdk/models/operations/deletedeployment.js"; +import { DeleteDeploymentRequest } from "@vercel/sdk/models/deletedeploymentop.js"; let value: DeleteDeploymentRequest = { id: "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd", diff --git a/docs/models/deletedeploymentresponsebody.md b/docs/models/deletedeploymentresponsebody.md new file mode 100644 index 00000000..f0fabc31 --- /dev/null +++ b/docs/models/deletedeploymentresponsebody.md @@ -0,0 +1,21 @@ +# DeleteDeploymentResponseBody + +The deployment was successfully deleted + +## Example Usage + +```typescript +import { DeleteDeploymentResponseBody } from "@vercel/sdk/models/deletedeploymentop.js"; + +let value: DeleteDeploymentResponseBody = { + uid: "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd", + state: "DELETED", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `uid` | *string* | :heavy_check_mark: | The removed deployment ID. | dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd | +| `state` | [models.DeleteDeploymentState](../models/deletedeploymentstate.md) | :heavy_check_mark: | A constant with the final state of the deployment. | | \ No newline at end of file diff --git a/docs/models/deletedeploymentstate.md b/docs/models/deletedeploymentstate.md new file mode 100644 index 00000000..b8ef89f4 --- /dev/null +++ b/docs/models/deletedeploymentstate.md @@ -0,0 +1,17 @@ +# DeleteDeploymentState + +A constant with the final state of the deployment. + +## Example Usage + +```typescript +import { DeleteDeploymentState } from "@vercel/sdk/models/deletedeploymentop.js"; + +let value: DeleteDeploymentState = "DELETED"; +``` + +## Values + +```typescript +"DELETED" +``` \ No newline at end of file diff --git a/docs/models/operations/deletedomainrequest.md b/docs/models/deletedomainrequest.md similarity index 95% rename from docs/models/operations/deletedomainrequest.md rename to docs/models/deletedomainrequest.md index 63fef3b9..fe233bca 100644 --- a/docs/models/operations/deletedomainrequest.md +++ b/docs/models/deletedomainrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteDomainRequest } from "@vercel/sdk/models/operations/deletedomain.js"; +import { DeleteDomainRequest } from "@vercel/sdk/models/deletedomainop.js"; let value: DeleteDomainRequest = { domain: "example.com", diff --git a/docs/models/operations/deletedomainresponsebody.md b/docs/models/deletedomainresponsebody.md similarity index 90% rename from docs/models/operations/deletedomainresponsebody.md rename to docs/models/deletedomainresponsebody.md index 6d2f172c..f1c8cff5 100644 --- a/docs/models/operations/deletedomainresponsebody.md +++ b/docs/models/deletedomainresponsebody.md @@ -5,7 +5,7 @@ Successful response removing a domain. ## Example Usage ```typescript -import { DeleteDomainResponseBody } from "@vercel/sdk/models/operations/deletedomain.js"; +import { DeleteDomainResponseBody } from "@vercel/sdk/models/deletedomainop.js"; let value: DeleteDomainResponseBody = { uid: "rec_V0fra8eEgQwEpFhYG2vTzC3K", diff --git a/docs/models/operations/deleteedgeconfigrequest.md b/docs/models/deleteedgeconfigrequest.md similarity index 93% rename from docs/models/operations/deleteedgeconfigrequest.md rename to docs/models/deleteedgeconfigrequest.md index 7a80fb6b..0bbcfa97 100644 --- a/docs/models/operations/deleteedgeconfigrequest.md +++ b/docs/models/deleteedgeconfigrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteEdgeConfigRequest } from "@vercel/sdk/models/operations/deleteedgeconfig.js"; +import { DeleteEdgeConfigRequest } from "@vercel/sdk/models/deleteedgeconfigop.js"; let value: DeleteEdgeConfigRequest = { edgeConfigId: "", diff --git a/docs/models/operations/deleteedgeconfigschemarequest.md b/docs/models/deleteedgeconfigschemarequest.md similarity index 97% rename from docs/models/operations/deleteedgeconfigschemarequest.md rename to docs/models/deleteedgeconfigschemarequest.md index 077150c3..e838f757 100644 --- a/docs/models/operations/deleteedgeconfigschemarequest.md +++ b/docs/models/deleteedgeconfigschemarequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteEdgeConfigSchemaRequest } from "@vercel/sdk/models/operations/deleteedgeconfigschema.js"; +import { DeleteEdgeConfigSchemaRequest } from "@vercel/sdk/models/deleteedgeconfigschemaop.js"; let value: DeleteEdgeConfigSchemaRequest = { edgeConfigId: "", diff --git a/docs/models/deleteedgeconfigtokensrequest.md b/docs/models/deleteedgeconfigtokensrequest.md new file mode 100644 index 00000000..462c25a7 --- /dev/null +++ b/docs/models/deleteedgeconfigtokensrequest.md @@ -0,0 +1,25 @@ +# DeleteEdgeConfigTokensRequest + +## Example Usage + +```typescript +import { DeleteEdgeConfigTokensRequest } from "@vercel/sdk/models/deleteedgeconfigtokensop.js"; + +let value: DeleteEdgeConfigTokensRequest = { + edgeConfigId: "", + requestBody: { + tokens: [ + "", + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.DeleteEdgeConfigTokensRequestBody](../models/deleteedgeconfigtokensrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/deleteedgeconfigtokensrequestbody.md b/docs/models/deleteedgeconfigtokensrequestbody.md similarity index 91% rename from docs/models/operations/deleteedgeconfigtokensrequestbody.md rename to docs/models/deleteedgeconfigtokensrequestbody.md index 965ff8b9..39411938 100644 --- a/docs/models/operations/deleteedgeconfigtokensrequestbody.md +++ b/docs/models/deleteedgeconfigtokensrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteEdgeConfigTokensRequestBody } from "@vercel/sdk/models/operations/deleteedgeconfigtokens.js"; +import { DeleteEdgeConfigTokensRequestBody } from "@vercel/sdk/models/deleteedgeconfigtokensop.js"; let value: DeleteEdgeConfigTokensRequestBody = { tokens: [ diff --git a/docs/models/operations/deleteintegrationlogdrainrequest.md b/docs/models/deleteintegrationlogdrainrequest.md similarity index 96% rename from docs/models/operations/deleteintegrationlogdrainrequest.md rename to docs/models/deleteintegrationlogdrainrequest.md index 411c7de4..c72179f5 100644 --- a/docs/models/operations/deleteintegrationlogdrainrequest.md +++ b/docs/models/deleteintegrationlogdrainrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteIntegrationLogDrainRequest } from "@vercel/sdk/models/operations/deleteintegrationlogdrain.js"; +import { DeleteIntegrationLogDrainRequest } from "@vercel/sdk/models/deleteintegrationlogdrainop.js"; let value: DeleteIntegrationLogDrainRequest = { id: "", diff --git a/docs/models/operations/deleteprojectrequest.md b/docs/models/deleteprojectrequest.md similarity index 94% rename from docs/models/operations/deleteprojectrequest.md rename to docs/models/deleteprojectrequest.md index de2ffe09..8f06663e 100644 --- a/docs/models/operations/deleteprojectrequest.md +++ b/docs/models/deleteprojectrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteProjectRequest } from "@vercel/sdk/models/operations/deleteproject.js"; +import { DeleteProjectRequest } from "@vercel/sdk/models/deleteprojectop.js"; let value: DeleteProjectRequest = { idOrName: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB", diff --git a/docs/models/operations/deleteteaminvitecoderequest.md b/docs/models/deleteteaminvitecoderequest.md similarity index 97% rename from docs/models/operations/deleteteaminvitecoderequest.md rename to docs/models/deleteteaminvitecoderequest.md index d3e00891..b6d52584 100644 --- a/docs/models/operations/deleteteaminvitecoderequest.md +++ b/docs/models/deleteteaminvitecoderequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteTeamInviteCodeRequest } from "@vercel/sdk/models/operations/deleteteaminvitecode.js"; +import { DeleteTeamInviteCodeRequest } from "@vercel/sdk/models/deleteteaminvitecodeop.js"; let value: DeleteTeamInviteCodeRequest = { inviteId: "2wn2hudbr4chb1ecywo9dvzo7g9sscs6mzcz8htdde0txyom4l", diff --git a/docs/models/operations/deleteteaminvitecoderesponsebody.md b/docs/models/deleteteaminvitecoderesponsebody.md similarity index 92% rename from docs/models/operations/deleteteaminvitecoderesponsebody.md rename to docs/models/deleteteaminvitecoderesponsebody.md index 7a3a4d09..278ad55f 100644 --- a/docs/models/operations/deleteteaminvitecoderesponsebody.md +++ b/docs/models/deleteteaminvitecoderesponsebody.md @@ -5,7 +5,7 @@ Successfully deleted Team invite code. ## Example Usage ```typescript -import { DeleteTeamInviteCodeResponseBody } from "@vercel/sdk/models/operations/deleteteaminvitecode.js"; +import { DeleteTeamInviteCodeResponseBody } from "@vercel/sdk/models/deleteteaminvitecodeop.js"; let value: DeleteTeamInviteCodeResponseBody = { id: "", diff --git a/docs/models/deleteteamrequest.md b/docs/models/deleteteamrequest.md new file mode 100644 index 00000000..33fdce97 --- /dev/null +++ b/docs/models/deleteteamrequest.md @@ -0,0 +1,22 @@ +# DeleteTeamRequest + +## Example Usage + +```typescript +import { DeleteTeamRequest } from "@vercel/sdk/models/deleteteamop.js"; + +let value: DeleteTeamRequest = { + newDefaultTeamId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", + teamId: "", + requestBody: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `newDefaultTeamId` | *string* | :heavy_minus_sign: | Id of the team to be set as the new default team | team_LLHUOMOoDlqOp8wPE4kFo9pE | +| `teamId` | *string* | :heavy_check_mark: | The Team identifier to perform the request on behalf of. | | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | +| `requestBody` | [models.DeleteTeamRequestBody](../models/deleteteamrequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/deleteteamrequestbody.md b/docs/models/deleteteamrequestbody.md similarity index 82% rename from docs/models/operations/deleteteamrequestbody.md rename to docs/models/deleteteamrequestbody.md index 0d4934ae..1d34cb58 100644 --- a/docs/models/operations/deleteteamrequestbody.md +++ b/docs/models/deleteteamrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteTeamRequestBody } from "@vercel/sdk/models/operations/deleteteam.js"; +import { DeleteTeamRequestBody } from "@vercel/sdk/models/deleteteamop.js"; let value: DeleteTeamRequestBody = {}; ``` @@ -12,4 +12,4 @@ let value: DeleteTeamRequestBody = {}; | Field | Type | Required | Description | | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `reasons` | [operations.Reasons](../../models/operations/reasons.md)[] | :heavy_minus_sign: | Optional array of objects that describe the reason why the team is being deleted. | \ No newline at end of file +| `reasons` | [models.Reasons](../models/reasons.md)[] | :heavy_minus_sign: | Optional array of objects that describe the reason why the team is being deleted. | \ No newline at end of file diff --git a/docs/models/operations/deleteteamresponsebody.md b/docs/models/deleteteamresponsebody.md similarity index 96% rename from docs/models/operations/deleteteamresponsebody.md rename to docs/models/deleteteamresponsebody.md index 7b5fb716..46baba74 100644 --- a/docs/models/operations/deleteteamresponsebody.md +++ b/docs/models/deleteteamresponsebody.md @@ -5,7 +5,7 @@ The Team was successfully deleted ## Example Usage ```typescript -import { DeleteTeamResponseBody } from "@vercel/sdk/models/operations/deleteteam.js"; +import { DeleteTeamResponseBody } from "@vercel/sdk/models/deleteteamop.js"; let value: DeleteTeamResponseBody = { id: "team_LLHUOMOoDlqOp8wPE4kFo9pE", diff --git a/docs/models/operations/deletewebhookrequest.md b/docs/models/deletewebhookrequest.md similarity index 93% rename from docs/models/operations/deletewebhookrequest.md rename to docs/models/deletewebhookrequest.md index bd99b2ae..c5827e26 100644 --- a/docs/models/operations/deletewebhookrequest.md +++ b/docs/models/deletewebhookrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteWebhookRequest } from "@vercel/sdk/models/operations/deletewebhook.js"; +import { DeleteWebhookRequest } from "@vercel/sdk/models/deletewebhookop.js"; let value: DeleteWebhookRequest = { id: "", diff --git a/docs/models/deliveryformat.md b/docs/models/deliveryformat.md new file mode 100644 index 00000000..e6893b8e --- /dev/null +++ b/docs/models/deliveryformat.md @@ -0,0 +1,17 @@ +# DeliveryFormat + +The delivery log format + +## Example Usage + +```typescript +import { DeliveryFormat } from "@vercel/sdk/models/createlogdrainop.js"; + +let value: DeliveryFormat = "json"; +``` + +## Values + +```typescript +"json" | "ndjson" | "syslog" +``` \ No newline at end of file diff --git a/docs/models/operations/deployhooks.md b/docs/models/deployhooks.md similarity index 90% rename from docs/models/operations/deployhooks.md rename to docs/models/deployhooks.md index 63144573..d08ce9ca 100644 --- a/docs/models/operations/deployhooks.md +++ b/docs/models/deployhooks.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeployHooks } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { DeployHooks } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: DeployHooks = { id: "", diff --git a/docs/models/operations/deployment.md b/docs/models/deployment.md similarity index 94% rename from docs/models/operations/deployment.md rename to docs/models/deployment.md index c120682a..b758e225 100644 --- a/docs/models/operations/deployment.md +++ b/docs/models/deployment.md @@ -5,7 +5,7 @@ A map with the deployment ID, URL and metadata ## Example Usage ```typescript -import { Deployment } from "@vercel/sdk/models/operations/getalias.js"; +import { Deployment } from "@vercel/sdk/models/getaliasop.js"; let value: Deployment = { id: "dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx", diff --git a/docs/models/operations/deploymentexpiration.md b/docs/models/deploymentexpiration.md similarity index 90% rename from docs/models/operations/deploymentexpiration.md rename to docs/models/deploymentexpiration.md index 132bf90d..a19b515a 100644 --- a/docs/models/operations/deploymentexpiration.md +++ b/docs/models/deploymentexpiration.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeploymentExpiration } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { DeploymentExpiration } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: DeploymentExpiration = {}; ``` diff --git a/docs/models/operations/deployments.md b/docs/models/deployments.md similarity index 95% rename from docs/models/operations/deployments.md rename to docs/models/deployments.md index 9f867125..f8bf7f50 100644 --- a/docs/models/operations/deployments.md +++ b/docs/models/deployments.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Deployments } from "@vercel/sdk/models/operations/getdeployments.js"; +import { Deployments } from "@vercel/sdk/models/getdeploymentsop.js"; let value: Deployments = { uid: "dpl_2euZBFqxYdDMDG1jTrHFnNZ2eUVa", @@ -43,27 +43,27 @@ let value: Deployments = { | `deleted` | *number* | :heavy_minus_sign: | Timestamp of when the deployment got deleted. | 1609492210000 | | `undeleted` | *number* | :heavy_minus_sign: | Timestamp of when the deployment was undeleted. | 1609492210000 | | `softDeletedByRetention` | *boolean* | :heavy_minus_sign: | Optional flag to indicate if the deployment was soft deleted by retention policy. | true | -| `source` | [operations.GetDeploymentsSource](../../models/operations/getdeploymentssource.md) | :heavy_minus_sign: | The source of the deployment. | cli | -| `state` | [operations.GetDeploymentsState](../../models/operations/getdeploymentsstate.md) | :heavy_minus_sign: | In which state is the deployment. | READY | -| `readyState` | [operations.GetDeploymentsReadyState](../../models/operations/getdeploymentsreadystate.md) | :heavy_minus_sign: | In which state is the deployment. | READY | -| `type` | [operations.GetDeploymentsType](../../models/operations/getdeploymentstype.md) | :heavy_check_mark: | The type of the deployment. | LAMBDAS | -| `creator` | [operations.GetDeploymentsCreator](../../models/operations/getdeploymentscreator.md) | :heavy_check_mark: | Metadata information of the user who created the deployment. | | +| `source` | [models.GetDeploymentsSource](../models/getdeploymentssource.md) | :heavy_minus_sign: | The source of the deployment. | cli | +| `state` | [models.GetDeploymentsState](../models/getdeploymentsstate.md) | :heavy_minus_sign: | In which state is the deployment. | READY | +| `readyState` | [models.GetDeploymentsReadyState](../models/getdeploymentsreadystate.md) | :heavy_minus_sign: | In which state is the deployment. | READY | +| `type` | [models.GetDeploymentsType](../models/getdeploymentstype.md) | :heavy_check_mark: | The type of the deployment. | LAMBDAS | +| `creator` | [models.GetDeploymentsCreator](../models/getdeploymentscreator.md) | :heavy_check_mark: | Metadata information of the user who created the deployment. | | | `meta` | Record | :heavy_minus_sign: | Metadata information from the Git provider. | | -| `target` | [operations.GetDeploymentsTarget](../../models/operations/getdeploymentstarget.md) | :heavy_minus_sign: | On which environment has the deployment been deployed to. | production | -| `aliasError` | [operations.GetDeploymentsAliasError](../../models/operations/getdeploymentsaliaserror.md) | :heavy_minus_sign: | An error object in case aliasing of the deployment failed. | | -| `aliasAssigned` | *operations.GetDeploymentsAliasAssigned* | :heavy_minus_sign: | N/A | | +| `target` | [models.GetDeploymentsTarget](../models/getdeploymentstarget.md) | :heavy_minus_sign: | On which environment has the deployment been deployed to. | production | +| `aliasError` | [models.GetDeploymentsAliasError](../models/getdeploymentsaliaserror.md) | :heavy_minus_sign: | An error object in case aliasing of the deployment failed. | | +| `aliasAssigned` | *models.GetDeploymentsAliasAssigned* | :heavy_minus_sign: | N/A | | | `createdAt` | *number* | :heavy_minus_sign: | Timestamp of when the deployment got created. | 1609492210000 | | `buildingAt` | *number* | :heavy_minus_sign: | Timestamp of when the deployment started building at. | 1609492210000 | | `ready` | *number* | :heavy_minus_sign: | Timestamp of when the deployment got ready. | 1609492210000 | -| `readySubstate` | [operations.GetDeploymentsReadySubstate](../../models/operations/getdeploymentsreadysubstate.md) | :heavy_minus_sign: | Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic | | -| `checksState` | [operations.GetDeploymentsChecksState](../../models/operations/getdeploymentschecksstate.md) | :heavy_minus_sign: | State of all registered checks | | -| `checksConclusion` | [operations.GetDeploymentsChecksConclusion](../../models/operations/getdeploymentschecksconclusion.md) | :heavy_minus_sign: | Conclusion for checks | | +| `readySubstate` | [models.GetDeploymentsReadySubstate](../models/getdeploymentsreadysubstate.md) | :heavy_minus_sign: | Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic | | +| `checksState` | [models.GetDeploymentsChecksState](../models/getdeploymentschecksstate.md) | :heavy_minus_sign: | State of all registered checks | | +| `checksConclusion` | [models.GetDeploymentsChecksConclusion](../models/getdeploymentschecksconclusion.md) | :heavy_minus_sign: | Conclusion for checks | | | `inspectorUrl` | *string* | :heavy_check_mark: | Vercel URL to inspect the deployment. | https://vercel.com/acme/nextjs/J1hXN00qjUeoYfpEEf7dnDtpSiVq | | `isRollbackCandidate` | *boolean* | :heavy_minus_sign: | Deployment can be used for instant rollback | | -| `projectSettings` | [operations.GetDeploymentsProjectSettings](../../models/operations/getdeploymentsprojectsettings.md) | :heavy_minus_sign: | The project settings which was used for this deployment | | +| `projectSettings` | [models.GetDeploymentsProjectSettings](../models/getdeploymentsprojectsettings.md) | :heavy_minus_sign: | The project settings which was used for this deployment | | | `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | The flag saying if Secure Compute network is used for builds | | | `connectConfigurationId` | *string* | :heavy_minus_sign: | The ID of Secure Compute network used for this deployment | | | `passiveConnectConfigurationId` | *string* | :heavy_minus_sign: | The ID of Secure Compute network used for this deployment's passive functions | | | `expiration` | *number* | :heavy_minus_sign: | The expiration configured by the project retention policy | | | `proposedExpiration` | *number* | :heavy_minus_sign: | The expiration proposed to replace the existing expiration | | -| `customEnvironment` | [operations.GetDeploymentsCustomEnvironment](../../models/operations/getdeploymentscustomenvironment.md) | :heavy_minus_sign: | The custom environment used for this deployment, if any | | \ No newline at end of file +| `customEnvironment` | [models.GetDeploymentsCustomEnvironment](../models/getdeploymentscustomenvironment.md) | :heavy_minus_sign: | The custom environment used for this deployment, if any | | \ No newline at end of file diff --git a/docs/models/operations/deploymenttype.md b/docs/models/deploymenttype.md similarity index 76% rename from docs/models/operations/deploymenttype.md rename to docs/models/deploymenttype.md index 10644da1..2cfc54cb 100644 --- a/docs/models/operations/deploymenttype.md +++ b/docs/models/deploymenttype.md @@ -5,7 +5,7 @@ Specify if the password will apply to every Deployment Target or just Preview ## Example Usage ```typescript -import { DeploymentType } from "@vercel/sdk/models/operations/updateproject.js"; +import { DeploymentType } from "@vercel/sdk/models/updateprojectop.js"; let value: DeploymentType = "all"; ``` diff --git a/docs/models/operations/details.md b/docs/models/details.md similarity index 85% rename from docs/models/operations/details.md rename to docs/models/details.md index e0042e28..9462f157 100644 --- a/docs/models/operations/details.md +++ b/docs/models/details.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Details } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { Details } from "@vercel/sdk/models/getconfigurationsop.js"; let value: Details = { label: "", diff --git a/docs/models/direction.md b/docs/models/direction.md new file mode 100644 index 00000000..d8a0e500 --- /dev/null +++ b/docs/models/direction.md @@ -0,0 +1,17 @@ +# Direction + +Order of the returned events based on the timestamp. + +## Example Usage + +```typescript +import { Direction } from "@vercel/sdk/models/getdeploymenteventsop.js"; + +let value: Direction = "backward"; +``` + +## Values + +```typescript +"backward" | "forward" +``` \ No newline at end of file diff --git a/docs/models/components/directory.md b/docs/models/directory.md similarity index 97% rename from docs/models/components/directory.md rename to docs/models/directory.md index e4350e25..5d9e4cfc 100644 --- a/docs/models/components/directory.md +++ b/docs/models/directory.md @@ -5,7 +5,7 @@ Information for the Directory Sync configuration. ## Example Usage ```typescript -import { Directory } from "@vercel/sdk/models/components/teamlimited.js"; +import { Directory } from "@vercel/sdk/models/teamlimited.js"; let value: Directory = { type: "OktaSAML", diff --git a/docs/models/disabledreason.md b/docs/models/disabledreason.md new file mode 100644 index 00000000..1239ab44 --- /dev/null +++ b/docs/models/disabledreason.md @@ -0,0 +1,15 @@ +# DisabledReason + +## Example Usage + +```typescript +import { DisabledReason } from "@vercel/sdk/models/getconfigurablelogdrainop.js"; + +let value: DisabledReason = "feature-not-available"; +``` + +## Values + +```typescript +"disabled-by-owner" | "feature-not-available" | "account-plan-downgrade" | "disabled-by-admin" +``` \ No newline at end of file diff --git a/docs/models/operations/discounts.md b/docs/models/discounts.md similarity index 97% rename from docs/models/operations/discounts.md rename to docs/models/discounts.md index eda6fd76..f36e01fb 100644 --- a/docs/models/operations/discounts.md +++ b/docs/models/discounts.md @@ -3,12 +3,12 @@ ## Example Usage ```typescript -import { Discounts } from "@vercel/sdk/models/operations/submitbillingdata.js"; +import { Discounts } from "@vercel/sdk/models/submitbillingdataop.js"; let value: Discounts = { billingPlanId: "", name: "", - amount: "154.42", + amount: "219.28", }; ``` diff --git a/docs/models/components/dismissals.md b/docs/models/dismissals.md similarity index 82% rename from docs/models/components/dismissals.md rename to docs/models/dismissals.md index 3639caf5..3e86dcb3 100644 --- a/docs/models/components/dismissals.md +++ b/docs/models/dismissals.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { Dismissals } from "@vercel/sdk/models/components/authuser.js"; +import { Dismissals } from "@vercel/sdk/models/authuser.js"; let value: Dismissals = { scopeId: "", - createdAt: 9999.64, + createdAt: 8450.78, }; ``` diff --git a/docs/models/dismissedtoasts.md b/docs/models/dismissedtoasts.md new file mode 100644 index 00000000..829c2800 --- /dev/null +++ b/docs/models/dismissedtoasts.md @@ -0,0 +1,26 @@ +# DismissedToasts + +A record of when, under a certain scopeId, a toast was dismissed + +## Example Usage + +```typescript +import { DismissedToasts } from "@vercel/sdk/models/authuser.js"; + +let value: DismissedToasts = { + name: "", + dismissals: [ + { + scopeId: "", + createdAt: 1548.41, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | N/A | +| `dismissals` | [models.Dismissals](../models/dismissals.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/domain.md b/docs/models/domain.md similarity index 100% rename from docs/models/operations/domain.md rename to docs/models/domain.md diff --git a/docs/models/operations/domains.md b/docs/models/domains.md similarity index 97% rename from docs/models/operations/domains.md rename to docs/models/domains.md index e6332840..ee8481bb 100644 --- a/docs/models/operations/domains.md +++ b/docs/models/domains.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Domains } from "@vercel/sdk/models/operations/getdomains.js"; +import { Domains } from "@vercel/sdk/models/getdomainsop.js"; let value: Domains = { verified: true, @@ -47,7 +47,7 @@ let value: Domains = { | `nameservers` | *string*[] | :heavy_check_mark: | A list of the current nameservers of the domain. | [
"ns1.nameserver.net",
"ns2.nameserver.net"
] | | `intendedNameservers` | *string*[] | :heavy_check_mark: | A list of the intended nameservers for the domain to point to Vercel DNS. | [
"ns1.vercel-dns.com",
"ns2.vercel-dns.com"
] | | `customNameservers` | *string*[] | :heavy_minus_sign: | A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel. | [
"ns1.nameserver.net",
"ns2.nameserver.net"
] | -| `creator` | [operations.GetDomainsCreator](../../models/operations/getdomainscreator.md) | :heavy_check_mark: | An object containing information of the domain creator, including the user's id, username, and email. | {
"id": "ZspSRT4ljIEEmMHgoDwKWDei",
"username": "vercel_user",
"email": "demo@example.com"
} | +| `creator` | [models.GetDomainsCreator](../models/getdomainscreator.md) | :heavy_check_mark: | An object containing information of the domain creator, including the user's id, username, and email. | {
"id": "ZspSRT4ljIEEmMHgoDwKWDei",
"username": "vercel_user",
"email": "demo@example.com"
} | | `teamId` | *string* | :heavy_check_mark: | N/A | | | `createdAt` | *number* | :heavy_check_mark: | Timestamp in milliseconds when the domain was created in the registry. | 1613602938882 | | `boughtAt` | *number* | :heavy_check_mark: | If it was purchased through Vercel, the timestamp in milliseconds when it was purchased. | 1613602938882 | @@ -56,7 +56,7 @@ let value: Domains = { | `name` | *string* | :heavy_check_mark: | The domain name. | example.com | | `orderedAt` | *number* | :heavy_minus_sign: | Timestamp in milliseconds at which the domain was ordered. | 1613602938882 | | `renew` | *boolean* | :heavy_minus_sign: | Indicates whether the domain is set to automatically renew. | true | -| `serviceType` | [operations.GetDomainsServiceType](../../models/operations/getdomainsservicetype.md) | :heavy_check_mark: | The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. | zeit.world | +| `serviceType` | [models.GetDomainsServiceType](../models/getdomainsservicetype.md) | :heavy_check_mark: | The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. | zeit.world | | `transferredAt` | *number* | :heavy_minus_sign: | Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in. | 1613602938882 | | `transferStartedAt` | *number* | :heavy_minus_sign: | If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated. | 1613602938882 | | `userId` | *string* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/downloadartifactrequest.md b/docs/models/downloadartifactrequest.md similarity index 97% rename from docs/models/operations/downloadartifactrequest.md rename to docs/models/downloadartifactrequest.md index bbc97105..d6995a76 100644 --- a/docs/models/operations/downloadartifactrequest.md +++ b/docs/models/downloadartifactrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DownloadArtifactRequest } from "@vercel/sdk/models/operations/downloadartifact.js"; +import { DownloadArtifactRequest } from "@vercel/sdk/models/downloadartifactop.js"; let value: DownloadArtifactRequest = { xArtifactClientCi: "VERCEL", diff --git a/docs/models/edgeconfigitem.md b/docs/models/edgeconfigitem.md new file mode 100644 index 00000000..303dd1b6 --- /dev/null +++ b/docs/models/edgeconfigitem.md @@ -0,0 +1,28 @@ +# EdgeConfigItem + +The EdgeConfig. + +## Example Usage + +```typescript +import { EdgeConfigItem } from "@vercel/sdk/models/edgeconfigitem.js"; + +let value: EdgeConfigItem = { + key: "", + value: "", + edgeConfigId: "", + createdAt: 3466.08, + updatedAt: 5065.32, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *models.EdgeConfigItemValue* | :heavy_check_mark: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/edgeconfigitemvalue.md b/docs/models/edgeconfigitemvalue.md similarity index 93% rename from docs/models/components/edgeconfigitemvalue.md rename to docs/models/edgeconfigitemvalue.md index c4a40eae..51e2e6cf 100644 --- a/docs/models/components/edgeconfigitemvalue.md +++ b/docs/models/edgeconfigitemvalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 4682.21; +const value: number = 6294.61; ``` ### `boolean` diff --git a/docs/models/components/edgeconfigtoken.md b/docs/models/edgeconfigtoken.md similarity index 95% rename from docs/models/components/edgeconfigtoken.md rename to docs/models/edgeconfigtoken.md index f1df5a82..bcb735f3 100644 --- a/docs/models/components/edgeconfigtoken.md +++ b/docs/models/edgeconfigtoken.md @@ -5,14 +5,14 @@ The EdgeConfig. ## Example Usage ```typescript -import { EdgeConfigToken } from "@vercel/sdk/models/components/edgeconfigtoken.js"; +import { EdgeConfigToken } from "@vercel/sdk/models/edgeconfigtoken.js"; let value: EdgeConfigToken = { token: "", label: "", id: "", edgeConfigId: "", - createdAt: 3361.23, + createdAt: 7321.42, }; ``` diff --git a/docs/models/editprojectenvcontenthint1.md b/docs/models/editprojectenvcontenthint1.md new file mode 100644 index 00000000..d2d8a705 --- /dev/null +++ b/docs/models/editprojectenvcontenthint1.md @@ -0,0 +1,19 @@ +# EditProjectEnvContentHint1 + +## Example Usage + +```typescript +import { EditProjectEnvContentHint1 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `type` | [models.EditProjectEnvContentHintType](../models/editprojectenvcontenthinttype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/editprojectenvcontenthint10.md b/docs/models/editprojectenvcontenthint10.md new file mode 100644 index 00000000..33a4aba8 --- /dev/null +++ b/docs/models/editprojectenvcontenthint10.md @@ -0,0 +1,19 @@ +# EditProjectEnvContentHint10 + +## Example Usage + +```typescript +import { EditProjectEnvContentHint10 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type](../models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/editprojectenvcontenthint11.md b/docs/models/editprojectenvcontenthint11.md new file mode 100644 index 00000000..702318b7 --- /dev/null +++ b/docs/models/editprojectenvcontenthint11.md @@ -0,0 +1,19 @@ +# EditProjectEnvContentHint11 + +## Example Usage + +```typescript +import { EditProjectEnvContentHint11 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type](../models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/editprojectenvcontenthint12.md b/docs/models/editprojectenvcontenthint12.md new file mode 100644 index 00000000..3dd7d6d2 --- /dev/null +++ b/docs/models/editprojectenvcontenthint12.md @@ -0,0 +1,19 @@ +# EditProjectEnvContentHint12 + +## Example Usage + +```typescript +import { EditProjectEnvContentHint12 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvContentHint12 = { + type: "postgres-database", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type](../models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/editprojectenvcontenthint13.md b/docs/models/editprojectenvcontenthint13.md new file mode 100644 index 00000000..ede94377 --- /dev/null +++ b/docs/models/editprojectenvcontenthint13.md @@ -0,0 +1,19 @@ +# EditProjectEnvContentHint13 + +## Example Usage + +```typescript +import { EditProjectEnvContentHint13 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvContentHint13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type](../models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/editprojectenvcontenthint14.md b/docs/models/editprojectenvcontenthint14.md new file mode 100644 index 00000000..618fe2ad --- /dev/null +++ b/docs/models/editprojectenvcontenthint14.md @@ -0,0 +1,25 @@ +# EditProjectEnvContentHint14 + +## Example Usage + +```typescript +import { EditProjectEnvContentHint14 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvContentHint14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type](../models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/editprojectenvcontenthint15.md b/docs/models/editprojectenvcontenthint15.md new file mode 100644 index 00000000..c9538452 --- /dev/null +++ b/docs/models/editprojectenvcontenthint15.md @@ -0,0 +1,19 @@ +# EditProjectEnvContentHint15 + +## Example Usage + +```typescript +import { EditProjectEnvContentHint15 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvContentHint15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type](../models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/editprojectenvcontenthint2.md b/docs/models/editprojectenvcontenthint2.md new file mode 100644 index 00000000..ab7cdf3f --- /dev/null +++ b/docs/models/editprojectenvcontenthint2.md @@ -0,0 +1,19 @@ +# EditProjectEnvContentHint2 + +## Example Usage + +```typescript +import { EditProjectEnvContentHint2 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `type` | [models.EditProjectEnvContentHintProjectsType](../models/editprojectenvcontenthintprojectstype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/editprojectenvcontenthint3.md b/docs/models/editprojectenvcontenthint3.md new file mode 100644 index 00000000..5a53364f --- /dev/null +++ b/docs/models/editprojectenvcontenthint3.md @@ -0,0 +1,19 @@ +# EditProjectEnvContentHint3 + +## Example Usage + +```typescript +import { EditProjectEnvContentHint3 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.EditProjectEnvContentHintProjectsResponseType](../models/editprojectenvcontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/editprojectenvcontenthint4.md b/docs/models/editprojectenvcontenthint4.md new file mode 100644 index 00000000..1b4543b1 --- /dev/null +++ b/docs/models/editprojectenvcontenthint4.md @@ -0,0 +1,19 @@ +# EditProjectEnvContentHint4 + +## Example Usage + +```typescript +import { EditProjectEnvContentHint4 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.EditProjectEnvContentHintProjectsResponse200Type](../models/editprojectenvcontenthintprojectsresponse200type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/editprojectenvcontenthint5.md b/docs/models/editprojectenvcontenthint5.md new file mode 100644 index 00000000..0da17992 --- /dev/null +++ b/docs/models/editprojectenvcontenthint5.md @@ -0,0 +1,19 @@ +# EditProjectEnvContentHint5 + +## Example Usage + +```typescript +import { EditProjectEnvContentHint5 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.EditProjectEnvContentHintProjectsResponse200ApplicationJSONType](../models/editprojectenvcontenthintprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/editprojectenvcontenthint6.md b/docs/models/editprojectenvcontenthint6.md new file mode 100644 index 00000000..0181bcd4 --- /dev/null +++ b/docs/models/editprojectenvcontenthint6.md @@ -0,0 +1,19 @@ +# EditProjectEnvContentHint6 + +## Example Usage + +```typescript +import { EditProjectEnvContentHint6 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType](../models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/editprojectenvcontenthint7.md b/docs/models/editprojectenvcontenthint7.md new file mode 100644 index 00000000..5e40d0c3 --- /dev/null +++ b/docs/models/editprojectenvcontenthint7.md @@ -0,0 +1,19 @@ +# EditProjectEnvContentHint7 + +## Example Usage + +```typescript +import { EditProjectEnvContentHint7 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type](../models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/editprojectenvcontenthint8.md b/docs/models/editprojectenvcontenthint8.md new file mode 100644 index 00000000..26259392 --- /dev/null +++ b/docs/models/editprojectenvcontenthint8.md @@ -0,0 +1,19 @@ +# EditProjectEnvContentHint8 + +## Example Usage + +```typescript +import { EditProjectEnvContentHint8 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type](../models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/editprojectenvcontenthint9.md b/docs/models/editprojectenvcontenthint9.md new file mode 100644 index 00000000..deb0426e --- /dev/null +++ b/docs/models/editprojectenvcontenthint9.md @@ -0,0 +1,19 @@ +# EditProjectEnvContentHint9 + +## Example Usage + +```typescript +import { EditProjectEnvContentHint9 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type](../models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md similarity index 80% rename from docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md rename to docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md index af74e7c5..05a690b1 100644 --- a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md +++ b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type = diff --git a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md similarity index 81% rename from docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md rename to docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md index 8ac5870c..2563e2e4 100644 --- a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md +++ b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type = diff --git a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md similarity index 81% rename from docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md rename to docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md index 99a73cce..c0483d49 100644 --- a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md +++ b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type = diff --git a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md similarity index 81% rename from docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md rename to docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md index 1479bc46..6d54d112 100644 --- a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md +++ b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type = diff --git a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md similarity index 81% rename from docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md rename to docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md index 6e8ddb14..c2815399 100644 --- a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md +++ b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type = diff --git a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md similarity index 81% rename from docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md rename to docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md index eab54c5a..3f0b492c 100644 --- a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md +++ b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type = diff --git a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md similarity index 81% rename from docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md rename to docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md index 658e410e..72604a5c 100644 --- a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md +++ b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type = diff --git a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md similarity index 80% rename from docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md rename to docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md index b02c26fe..a2d0aec5 100644 --- a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md +++ b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type = diff --git a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md similarity index 81% rename from docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md rename to docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md index d8aa7949..4f91ebc6 100644 --- a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md +++ b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type = diff --git a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md similarity index 80% rename from docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md rename to docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md index 22452bfc..79bbe564 100644 --- a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md +++ b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType = diff --git a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsontype.md b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsontype.md similarity index 82% rename from docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsontype.md rename to docs/models/editprojectenvcontenthintprojectsresponse200applicationjsontype.md index 715f1bdd..70cb5a17 100644 --- a/docs/models/operations/editprojectenvcontenthintprojectsresponse200applicationjsontype.md +++ b/docs/models/editprojectenvcontenthintprojectsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvContentHintProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvContentHintProjectsResponse200ApplicationJSONType = "blob-read-write-token"; diff --git a/docs/models/operations/editprojectenvcontenthintprojectsresponse200type.md b/docs/models/editprojectenvcontenthintprojectsresponse200type.md similarity index 85% rename from docs/models/operations/editprojectenvcontenthintprojectsresponse200type.md rename to docs/models/editprojectenvcontenthintprojectsresponse200type.md index bfa610f6..633673f7 100644 --- a/docs/models/operations/editprojectenvcontenthintprojectsresponse200type.md +++ b/docs/models/editprojectenvcontenthintprojectsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvContentHintProjectsResponse200Type } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvContentHintProjectsResponse200Type } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvContentHintProjectsResponse200Type = "redis-rest-api-read-only-token"; diff --git a/docs/models/operations/editprojectenvcontenthintprojectsresponsetype.md b/docs/models/editprojectenvcontenthintprojectsresponsetype.md similarity index 85% rename from docs/models/operations/editprojectenvcontenthintprojectsresponsetype.md rename to docs/models/editprojectenvcontenthintprojectsresponsetype.md index 46248334..680d46a6 100644 --- a/docs/models/operations/editprojectenvcontenthintprojectsresponsetype.md +++ b/docs/models/editprojectenvcontenthintprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvContentHintProjectsResponseType } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvContentHintProjectsResponseType } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvContentHintProjectsResponseType = "redis-rest-api-token"; diff --git a/docs/models/operations/editprojectenvcontenthintprojectstype.md b/docs/models/editprojectenvcontenthintprojectstype.md similarity index 86% rename from docs/models/operations/editprojectenvcontenthintprojectstype.md rename to docs/models/editprojectenvcontenthintprojectstype.md index 5d490503..b59db844 100644 --- a/docs/models/operations/editprojectenvcontenthintprojectstype.md +++ b/docs/models/editprojectenvcontenthintprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvContentHintProjectsType } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvContentHintProjectsType } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvContentHintProjectsType = "redis-rest-api-url"; ``` diff --git a/docs/models/operations/editprojectenvcontenthinttype.md b/docs/models/editprojectenvcontenthinttype.md similarity index 87% rename from docs/models/operations/editprojectenvcontenthinttype.md rename to docs/models/editprojectenvcontenthinttype.md index babf33f2..faa6313b 100644 --- a/docs/models/operations/editprojectenvcontenthinttype.md +++ b/docs/models/editprojectenvcontenthinttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvContentHintType } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvContentHintType } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvContentHintType = "redis-url"; ``` diff --git a/docs/models/editprojectenvrequest.md b/docs/models/editprojectenvrequest.md new file mode 100644 index 00000000..626ad1de --- /dev/null +++ b/docs/models/editprojectenvrequest.md @@ -0,0 +1,35 @@ +# EditProjectEnvRequest + +## Example Usage + +```typescript +import { EditProjectEnvRequest } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvRequest = { + idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", + id: "XMbOEya1gUUO1ir4", + requestBody: { + key: "GITHUB_APP_ID", + target: [ + "preview", + ], + gitBranch: "feature-1", + type: "plain", + value: "bkWIjbnxcvo78", + customEnvironmentIds: [ + "env_1234567890", + ], + comment: "database connection string for production", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA | +| `id` | *string* | :heavy_check_mark: | The unique environment variable identifier | XMbOEya1gUUO1ir4 | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | +| `requestBody` | [models.EditProjectEnvRequestBody](../models/editprojectenvrequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/editprojectenvrequestbody.md b/docs/models/editprojectenvrequestbody.md new file mode 100644 index 00000000..ac4df9cb --- /dev/null +++ b/docs/models/editprojectenvrequestbody.md @@ -0,0 +1,33 @@ +# EditProjectEnvRequestBody + +## Example Usage + +```typescript +import { EditProjectEnvRequestBody } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvRequestBody = { + key: "GITHUB_APP_ID", + target: [ + "preview", + ], + gitBranch: "feature-1", + type: "plain", + value: "bkWIjbnxcvo78", + customEnvironmentIds: [ + "env_1234567890", + ], + comment: "database connection string for production", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `key` | *string* | :heavy_minus_sign: | The name of the environment variable | GITHUB_APP_ID | +| `target` | [models.EditProjectEnvTarget](../models/editprojectenvtarget.md)[] | :heavy_minus_sign: | The target environment of the environment variable | [
"preview"
] | +| `gitBranch` | *string* | :heavy_minus_sign: | If defined, the git branch of the environment variable (must have target=preview) | feature-1 | +| `type` | [models.EditProjectEnvType](../models/editprojectenvtype.md) | :heavy_minus_sign: | The type of environment variable | plain | +| `value` | *string* | :heavy_minus_sign: | The value of the environment variable | bkWIjbnxcvo78 | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | | +| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this env var is for | database connection string for production | \ No newline at end of file diff --git a/docs/models/editprojectenvresponsebody.md b/docs/models/editprojectenvresponsebody.md new file mode 100644 index 00000000..cfa59134 --- /dev/null +++ b/docs/models/editprojectenvresponsebody.md @@ -0,0 +1,23 @@ +# EditProjectEnvResponseBody + +The environment variable was successfully edited + + +## Supported Types + +### `models.EditProjectEnvResponseBody1` + +```typescript +const value: models.EditProjectEnvResponseBody1 = { + type: "encrypted", + key: "", + value: "", +}; +``` + +### `models.EditProjectEnvResponseBody2` + +```typescript +const value: models.EditProjectEnvResponseBody2 = {}; +``` + diff --git a/docs/models/editprojectenvresponsebody1.md b/docs/models/editprojectenvresponsebody1.md new file mode 100644 index 00000000..88d1f8ae --- /dev/null +++ b/docs/models/editprojectenvresponsebody1.md @@ -0,0 +1,37 @@ +# EditProjectEnvResponseBody1 + +## Example Usage + +```typescript +import { EditProjectEnvResponseBody1 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvResponseBody1 = { + type: "system", + key: "", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `target` | *models.EditProjectEnvResponseBodyTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.EditProjectEnvResponseBodyType](../models/editprojectenvresponsebodytype.md) | :heavy_check_mark: | N/A | +| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdBy` | *string* | :heavy_minus_sign: | N/A | +| `updatedBy` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `contentHint` | *models.EditProjectEnvResponseBodyContentHint* | :heavy_minus_sign: | N/A | +| `internalContentHint` | [models.EditProjectEnvResponseBodyInternalContentHint](../models/editprojectenvresponsebodyinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | +| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvresponsebody2.md b/docs/models/editprojectenvresponsebody2.md similarity index 90% rename from docs/models/operations/editprojectenvresponsebody2.md rename to docs/models/editprojectenvresponsebody2.md index d06ab63c..bc5e3107 100644 --- a/docs/models/operations/editprojectenvresponsebody2.md +++ b/docs/models/editprojectenvresponsebody2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvResponseBody2 } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvResponseBody2 } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvResponseBody2 = {}; ``` diff --git a/docs/models/editprojectenvresponsebodycontenthint.md b/docs/models/editprojectenvresponsebodycontenthint.md new file mode 100644 index 00000000..0ce06dcf --- /dev/null +++ b/docs/models/editprojectenvresponsebodycontenthint.md @@ -0,0 +1,143 @@ +# EditProjectEnvResponseBodyContentHint + + +## Supported Types + +### `models.EditProjectEnvContentHint1` + +```typescript +const value: models.EditProjectEnvContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +### `models.EditProjectEnvContentHint2` + +```typescript +const value: models.EditProjectEnvContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +### `models.EditProjectEnvContentHint3` + +```typescript +const value: models.EditProjectEnvContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +### `models.EditProjectEnvContentHint4` + +```typescript +const value: models.EditProjectEnvContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +### `models.EditProjectEnvContentHint5` + +```typescript +const value: models.EditProjectEnvContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +### `models.EditProjectEnvContentHint6` + +```typescript +const value: models.EditProjectEnvContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +### `models.EditProjectEnvContentHint7` + +```typescript +const value: models.EditProjectEnvContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +### `models.EditProjectEnvContentHint8` + +```typescript +const value: models.EditProjectEnvContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +### `models.EditProjectEnvContentHint9` + +```typescript +const value: models.EditProjectEnvContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +### `models.EditProjectEnvContentHint10` + +```typescript +const value: models.EditProjectEnvContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +### `models.EditProjectEnvContentHint11` + +```typescript +const value: models.EditProjectEnvContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +### `models.EditProjectEnvContentHint12` + +```typescript +const value: models.EditProjectEnvContentHint12 = { + type: "postgres-database", + storeId: "", +}; +``` + +### `models.EditProjectEnvContentHint13` + +```typescript +const value: models.EditProjectEnvContentHint13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +### `models.EditProjectEnvContentHint14` + +```typescript +const value: models.EditProjectEnvContentHint14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +### `models.EditProjectEnvContentHint15` + +```typescript +const value: models.EditProjectEnvContentHint15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + diff --git a/docs/models/operations/editprojectenvresponsebodyinternalcontenthint.md b/docs/models/editprojectenvresponsebodyinternalcontenthint.md similarity index 92% rename from docs/models/operations/editprojectenvresponsebodyinternalcontenthint.md rename to docs/models/editprojectenvresponsebodyinternalcontenthint.md index bf9c24ca..9d309ce4 100644 --- a/docs/models/operations/editprojectenvresponsebodyinternalcontenthint.md +++ b/docs/models/editprojectenvresponsebodyinternalcontenthint.md @@ -5,7 +5,7 @@ Similar to `contentHints`, but should not be exposed to the user. ## Example Usage ```typescript -import { EditProjectEnvResponseBodyInternalContentHint } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvResponseBodyInternalContentHint } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvResponseBodyInternalContentHint = { type: "flags-secret", @@ -17,5 +17,5 @@ let value: EditProjectEnvResponseBodyInternalContentHint = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.EditProjectEnvResponseBodyProjectsType](../../models/operations/editprojectenvresponsebodyprojectstype.md) | :heavy_check_mark: | N/A | +| `type` | [models.EditProjectEnvResponseBodyProjectsType](../models/editprojectenvresponsebodyprojectstype.md) | :heavy_check_mark: | N/A | | `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvresponsebodyprojectstype.md b/docs/models/editprojectenvresponsebodyprojectstype.md similarity index 85% rename from docs/models/operations/editprojectenvresponsebodyprojectstype.md rename to docs/models/editprojectenvresponsebodyprojectstype.md index 03b126ec..3bada2d5 100644 --- a/docs/models/operations/editprojectenvresponsebodyprojectstype.md +++ b/docs/models/editprojectenvresponsebodyprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EditProjectEnvResponseBodyProjectsType } from "@vercel/sdk/models/operations/editprojectenv.js"; +import { EditProjectEnvResponseBodyProjectsType } from "@vercel/sdk/models/editprojectenvop.js"; let value: EditProjectEnvResponseBodyProjectsType = "flags-secret"; ``` diff --git a/docs/models/editprojectenvresponsebodytarget.md b/docs/models/editprojectenvresponsebodytarget.md new file mode 100644 index 00000000..94c09ee9 --- /dev/null +++ b/docs/models/editprojectenvresponsebodytarget.md @@ -0,0 +1,19 @@ +# EditProjectEnvResponseBodyTarget + + +## Supported Types + +### `string[]` + +```typescript +const value: string[] = [ + "", +]; +``` + +### `models.EditProjectEnvTarget2` + +```typescript +const value: models.EditProjectEnvTarget2 = "preview"; +``` + diff --git a/docs/models/editprojectenvresponsebodytype.md b/docs/models/editprojectenvresponsebodytype.md new file mode 100644 index 00000000..1a3d47be --- /dev/null +++ b/docs/models/editprojectenvresponsebodytype.md @@ -0,0 +1,15 @@ +# EditProjectEnvResponseBodyType + +## Example Usage + +```typescript +import { EditProjectEnvResponseBodyType } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvResponseBodyType = "secret"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/editprojectenvtarget.md b/docs/models/editprojectenvtarget.md new file mode 100644 index 00000000..7c650736 --- /dev/null +++ b/docs/models/editprojectenvtarget.md @@ -0,0 +1,15 @@ +# EditProjectEnvTarget + +## Example Usage + +```typescript +import { EditProjectEnvTarget } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvTarget = "preview"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/editprojectenvtarget2.md b/docs/models/editprojectenvtarget2.md new file mode 100644 index 00000000..0ea5a069 --- /dev/null +++ b/docs/models/editprojectenvtarget2.md @@ -0,0 +1,15 @@ +# EditProjectEnvTarget2 + +## Example Usage + +```typescript +import { EditProjectEnvTarget2 } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvTarget2 = "production"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/editprojectenvtype.md b/docs/models/editprojectenvtype.md new file mode 100644 index 00000000..3a34b80d --- /dev/null +++ b/docs/models/editprojectenvtype.md @@ -0,0 +1,17 @@ +# EditProjectEnvType + +The type of environment variable + +## Example Usage + +```typescript +import { EditProjectEnvType } from "@vercel/sdk/models/editprojectenvop.js"; + +let value: EditProjectEnvType = "plain"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/eight.md b/docs/models/eight.md new file mode 100644 index 00000000..0a7f33aa --- /dev/null +++ b/docs/models/eight.md @@ -0,0 +1,23 @@ +# Eight + +## Example Usage + +```typescript +import { Eight } from "@vercel/sdk/models/createrecordop.js"; + +let value: Eight = { + type: "TXT", + ttl: 60, + value: "hello", + comment: "used to verify ownership of domain", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateRecordRequestBodyDnsRequest8Type](../models/createrecordrequestbodydnsrequest8type.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | +| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | +| `value` | *string* | :heavy_check_mark: | A TXT record containing arbitrary text. | hello | +| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/eleven.md b/docs/models/eleven.md new file mode 100644 index 00000000..d49ac3dd --- /dev/null +++ b/docs/models/eleven.md @@ -0,0 +1,25 @@ +# Eleven + +Update a managed ruleset + +## Example Usage + +```typescript +import { Eleven } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: Eleven = { + action: "managedRules.update", + id: "owasp", + value: { + active: false, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `action` | [models.UpdateFirewallConfigRequestBodySecurityRequest11Action](../models/updatefirewallconfigrequestbodysecurityrequest11action.md) | :heavy_check_mark: | N/A | +| `id` | [models.RequestBodyId](../models/requestbodyid.md) | :heavy_check_mark: | N/A | +| `value` | [models.UpdateFirewallConfigRequestBodySecurityRequest11Value](../models/updatefirewallconfigrequestbodysecurityrequest11value.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/emailinvitecodes.md b/docs/models/emailinvitecodes.md new file mode 100644 index 00000000..a6332f4e --- /dev/null +++ b/docs/models/emailinvitecodes.md @@ -0,0 +1,26 @@ +# EmailInviteCodes + +## Example Usage + +```typescript +import { EmailInviteCodes } from "@vercel/sdk/models/getteammembersop.js"; + +let value: EmailInviteCodes = { + id: "", + isDSyncUser: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `accessGroups` | *string*[] | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `email` | *string* | :heavy_minus_sign: | N/A | +| `role` | [models.GetTeamMembersTeamsRole](../models/getteammembersteamsrole.md) | :heavy_minus_sign: | N/A | +| `isDSyncUser` | *boolean* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `expired` | *boolean* | :heavy_minus_sign: | N/A | +| `projects` | Record | :heavy_minus_sign: | N/A | +| `entitlements` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/encoding.md b/docs/models/encoding.md similarity index 76% rename from docs/models/operations/encoding.md rename to docs/models/encoding.md index 32cb47d4..4db2ee37 100644 --- a/docs/models/operations/encoding.md +++ b/docs/models/encoding.md @@ -5,7 +5,7 @@ The file content encoding, it could be either a base64 (useful for images, etc.) ## Example Usage ```typescript -import { Encoding } from "@vercel/sdk/models/operations/createdeployment.js"; +import { Encoding } from "@vercel/sdk/models/createdeploymentop.js"; let value: Encoding = "base64"; ``` diff --git a/docs/models/entitlements.md b/docs/models/entitlements.md new file mode 100644 index 00000000..5063e953 --- /dev/null +++ b/docs/models/entitlements.md @@ -0,0 +1,17 @@ +# Entitlements + +## Example Usage + +```typescript +import { Entitlements } from "@vercel/sdk/models/teamlimited.js"; + +let value: Entitlements = { + entitlement: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `entitlement` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/env.md b/docs/models/env.md new file mode 100644 index 00000000..d911494c --- /dev/null +++ b/docs/models/env.md @@ -0,0 +1,38 @@ +# Env + +## Example Usage + +```typescript +import { Env } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: Env = { + type: "plain", + key: "", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `target` | *models.UpdateProjectDataCacheTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.UpdateProjectDataCacheProjectsResponse200Type](../models/updateprojectdatacacheprojectsresponse200type.md) | :heavy_check_mark: | N/A | +| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdBy` | *string* | :heavy_minus_sign: | N/A | +| `updatedBy` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `contentHint` | *models.ContentHint* | :heavy_minus_sign: | N/A | +| `internalContentHint` | [models.InternalContentHint](../models/internalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | +| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | +| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/environments.md b/docs/models/environments.md new file mode 100644 index 00000000..9dbc0937 --- /dev/null +++ b/docs/models/environments.md @@ -0,0 +1,15 @@ +# Environments + +## Example Usage + +```typescript +import { Environments } from "@vercel/sdk/models/createlogdrainop.js"; + +let value: Environments = "preview"; +``` + +## Values + +```typescript +"preview" | "production" +``` \ No newline at end of file diff --git a/docs/models/operations/environmentvariables.md b/docs/models/environmentvariables.md similarity index 89% rename from docs/models/operations/environmentvariables.md rename to docs/models/environmentvariables.md index e81c55bc..156fde50 100644 --- a/docs/models/operations/environmentvariables.md +++ b/docs/models/environmentvariables.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EnvironmentVariables } from "@vercel/sdk/models/operations/createproject.js"; +import { EnvironmentVariables } from "@vercel/sdk/models/createprojectop.js"; let value: EnvironmentVariables = { key: "", @@ -17,7 +17,7 @@ let value: EnvironmentVariables = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | `key` | *string* | :heavy_check_mark: | Name of the ENV variable | -| `target` | *operations.CreateProjectTarget* | :heavy_check_mark: | Deployment Target or Targets in which the ENV variable will be used | +| `target` | *models.CreateProjectTarget* | :heavy_check_mark: | Deployment Target or Targets in which the ENV variable will be used | | `gitBranch` | *string* | :heavy_minus_sign: | If defined, the git branch of the environment variable (must have target=preview) | -| `type` | [operations.CreateProjectType](../../models/operations/createprojecttype.md) | :heavy_minus_sign: | Type of the ENV variable | +| `type` | [models.CreateProjectType](../models/createprojecttype.md) | :heavy_minus_sign: | Type of the ENV variable | | `value` | *string* | :heavy_check_mark: | Value for the ENV variable | \ No newline at end of file diff --git a/docs/models/envs.md b/docs/models/envs.md new file mode 100644 index 00000000..890dde69 --- /dev/null +++ b/docs/models/envs.md @@ -0,0 +1,35 @@ +# Envs + +## Example Usage + +```typescript +import { Envs } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: Envs = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `target` | *models.FilterProjectEnvsResponseBodyProjectsTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.FilterProjectEnvsResponseBodyProjectsResponseType](../models/filterprojectenvsresponsebodyprojectsresponsetype.md) | :heavy_minus_sign: | N/A | +| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *string* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdBy` | *string* | :heavy_minus_sign: | N/A | +| `updatedBy` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `contentHint` | *models.FilterProjectEnvsResponseBodyContentHint* | :heavy_minus_sign: | N/A | +| `internalContentHint` | [models.FilterProjectEnvsResponseBodyInternalContentHint](../models/filterprojectenvsresponsebodyinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | +| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | +| `vsmValue` | *string* | :heavy_minus_sign: | N/A | +| `system` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/erl.md b/docs/models/erl.md new file mode 100644 index 00000000..cc7093d0 --- /dev/null +++ b/docs/models/erl.md @@ -0,0 +1,25 @@ +# Erl + +## Example Usage + +```typescript +import { Erl } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: Erl = { + algo: "token_bucket", + window: 6304.48, + limit: 8742.88, + keys: [ + "", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `algo` | [models.UpdateProjectDataCacheAlgo](../models/updateprojectdatacachealgo.md) | :heavy_check_mark: | N/A | +| `window` | *number* | :heavy_check_mark: | N/A | +| `limit` | *number* | :heavy_check_mark: | N/A | +| `keys` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errort.md b/docs/models/errort.md new file mode 100644 index 00000000..6dde65d0 --- /dev/null +++ b/docs/models/errort.md @@ -0,0 +1,16 @@ +# ErrorT + +## Example Usage + +```typescript +import { ErrorT } from "@vercel/sdk/models/vercelbadrequesterror.js"; + +let value: ErrorT = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `code` | *string* | :heavy_check_mark: | N/A | +| `message` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/event.md b/docs/models/event.md similarity index 79% rename from docs/models/operations/event.md rename to docs/models/event.md index 04839a17..f8225ba6 100644 --- a/docs/models/operations/event.md +++ b/docs/models/event.md @@ -5,7 +5,7 @@ One of `HIT` or `MISS`. `HIT` specifies that a cached artifact for `hash` was fo ## Example Usage ```typescript -import { Event } from "@vercel/sdk/models/operations/recordevents.js"; +import { Event } from "@vercel/sdk/models/recordeventsop.js"; let value: Event = "HIT"; ``` diff --git a/docs/models/event1.md b/docs/models/event1.md new file mode 100644 index 00000000..c5f13a4c --- /dev/null +++ b/docs/models/event1.md @@ -0,0 +1,18 @@ +# Event1 + +## Example Usage + +```typescript +import { Event1 } from "@vercel/sdk/models/createeventop.js"; + +let value: Event1 = { + type: "installation.updated", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `type` | [models.EventType](../models/eventtype.md) | :heavy_check_mark: | N/A | +| `billingPlanId` | *string* | :heavy_minus_sign: | The installation-level billing plan ID | \ No newline at end of file diff --git a/docs/models/event2.md b/docs/models/event2.md new file mode 100644 index 00000000..c08f40c6 --- /dev/null +++ b/docs/models/event2.md @@ -0,0 +1,21 @@ +# Event2 + +## Example Usage + +```typescript +import { Event2 } from "@vercel/sdk/models/createeventop.js"; + +let value: Event2 = { + type: "resource.updated", + productId: "", + resourceId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `type` | [models.CreateEventEventType](../models/createeventeventtype.md) | :heavy_check_mark: | N/A | +| `productId` | *string* | :heavy_check_mark: | Partner-provided product slug or id | +| `resourceId` | *string* | :heavy_check_mark: | Partner provided resource ID | \ No newline at end of file diff --git a/docs/models/operations/events.md b/docs/models/events.md similarity index 89% rename from docs/models/operations/events.md rename to docs/models/events.md index 402b909c..8b8ee6a0 100644 --- a/docs/models/operations/events.md +++ b/docs/models/events.md @@ -3,9 +3,9 @@ ## Example Usage ```typescript -import { Events } from "@vercel/sdk/models/operations/createwebhook.js"; +import { Events } from "@vercel/sdk/models/createwebhookop.js"; -let value: Events = "integration-configuration-permission-updated"; +let value: Events = "deployment.error"; ``` ## Values diff --git a/docs/models/eventtype.md b/docs/models/eventtype.md new file mode 100644 index 00000000..e9f4fe76 --- /dev/null +++ b/docs/models/eventtype.md @@ -0,0 +1,15 @@ +# EventType + +## Example Usage + +```typescript +import { EventType } from "@vercel/sdk/models/createeventop.js"; + +let value: EventType = "installation.updated"; +``` + +## Values + +```typescript +"installation.updated" +``` \ No newline at end of file diff --git a/docs/models/operations/exchangessotokenrequestbody.md b/docs/models/exchangessotokenrequestbody.md similarity index 98% rename from docs/models/operations/exchangessotokenrequestbody.md rename to docs/models/exchangessotokenrequestbody.md index f9d4d82e..51448ddf 100644 --- a/docs/models/operations/exchangessotokenrequestbody.md +++ b/docs/models/exchangessotokenrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ExchangeSsoTokenRequestBody } from "@vercel/sdk/models/operations/exchangessotoken.js"; +import { ExchangeSsoTokenRequestBody } from "@vercel/sdk/models/exchangessotokenop.js"; let value: ExchangeSsoTokenRequestBody = { code: "", diff --git a/docs/models/operations/exchangessotokenresponsebody.md b/docs/models/exchangessotokenresponsebody.md similarity index 95% rename from docs/models/operations/exchangessotokenresponsebody.md rename to docs/models/exchangessotokenresponsebody.md index 1678b3ee..d94c79cf 100644 --- a/docs/models/operations/exchangessotokenresponsebody.md +++ b/docs/models/exchangessotokenresponsebody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ExchangeSsoTokenResponseBody } from "@vercel/sdk/models/operations/exchangessotoken.js"; +import { ExchangeSsoTokenResponseBody } from "@vercel/sdk/models/exchangessotokenop.js"; let value: ExchangeSsoTokenResponseBody = { idToken: "", diff --git a/docs/models/failed.md b/docs/models/failed.md new file mode 100644 index 00000000..826438d2 --- /dev/null +++ b/docs/models/failed.md @@ -0,0 +1,20 @@ +# Failed + +## Example Usage + +```typescript +import { Failed } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: Failed = { + error: { + code: "", + message: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `error` | [models.CreateProjectEnvError](../models/createprojectenverror.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/favoriteprojectsandspaces.md b/docs/models/favoriteprojectsandspaces.md new file mode 100644 index 00000000..9db25d82 --- /dev/null +++ b/docs/models/favoriteprojectsandspaces.md @@ -0,0 +1,25 @@ +# FavoriteProjectsAndSpaces + + +## Supported Types + +### `models.One` + +```typescript +const value: models.One = { + projectId: "", + scopeSlug: "", + scopeId: "", +}; +``` + +### `models.Two` + +```typescript +const value: models.Two = { + spaceId: "", + scopeSlug: "", + scopeId: "", +}; +``` + diff --git a/docs/models/favoritesviewpreference.md b/docs/models/favoritesviewpreference.md new file mode 100644 index 00000000..6648082c --- /dev/null +++ b/docs/models/favoritesviewpreference.md @@ -0,0 +1,15 @@ +# FavoritesViewPreference + +## Example Usage + +```typescript +import { FavoritesViewPreference } from "@vercel/sdk/models/authuser.js"; + +let value: FavoritesViewPreference = "open"; +``` + +## Values + +```typescript +"open" | "closed" +``` \ No newline at end of file diff --git a/docs/models/fcp.md b/docs/models/fcp.md new file mode 100644 index 00000000..c46f2107 --- /dev/null +++ b/docs/models/fcp.md @@ -0,0 +1,21 @@ +# Fcp + +## Example Usage + +```typescript +import { Fcp } from "@vercel/sdk/models/updatecheckop.js"; + +let value: Fcp = { + value: 1200, + previousValue: 900, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | First Contentful Paint value | 1200 | +| `previousValue` | *number* | :heavy_minus_sign: | Previous First Contentful Paint value to display a delta | 900 | +| `source` | [models.UpdateCheckSource](../models/updatechecksource.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/featureblocks.md b/docs/models/featureblocks.md new file mode 100644 index 00000000..53cb94c1 --- /dev/null +++ b/docs/models/featureblocks.md @@ -0,0 +1,17 @@ +# FeatureBlocks + +Feature blocks for the user + +## Example Usage + +```typescript +import { FeatureBlocks } from "@vercel/sdk/models/authuser.js"; + +let value: FeatureBlocks = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `webAnalytics` | [models.WebAnalytics](../models/webanalytics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fifteen.md b/docs/models/fifteen.md new file mode 100644 index 00000000..532b0833 --- /dev/null +++ b/docs/models/fifteen.md @@ -0,0 +1,19 @@ +# Fifteen + +## Example Usage + +```typescript +import { Fifteen } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: Fifteen = { + type: "flags-connection-string", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type](../models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/files.md b/docs/models/files.md new file mode 100644 index 00000000..c0a8ed9a --- /dev/null +++ b/docs/models/files.md @@ -0,0 +1,22 @@ +# Files + + +## Supported Types + +### `models.InlinedFile` + +```typescript +const value: models.InlinedFile = { + data: "", + file: "folder/file.js", +}; +``` + +### `models.UploadedFile` + +```typescript +const value: models.UploadedFile = { + file: "folder/file.js", +}; +``` + diff --git a/docs/models/components/filetree.md b/docs/models/filetree.md similarity index 91% rename from docs/models/components/filetree.md rename to docs/models/filetree.md index 13616fb9..c700c24d 100644 --- a/docs/models/components/filetree.md +++ b/docs/models/filetree.md @@ -5,7 +5,7 @@ A deployment file tree entry ## Example Usage ```typescript -import { FileTree } from "@vercel/sdk/models/components/filetree.js"; +import { FileTree } from "@vercel/sdk/models/filetree.js"; let value: FileTree = { name: "my-file.json", @@ -13,7 +13,7 @@ let value: FileTree = { uid: "2d4aad419917f15b1146e9e03ddc9bb31747e4d0", children: [], contentType: "application/json", - mode: 1847.75, + mode: 5314.94, }; ``` @@ -22,9 +22,9 @@ let value: FileTree = { | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | `name` | *string* | :heavy_check_mark: | The name of the file tree entry | my-file.json | -| `type` | [components.Type](../../models/components/type.md) | :heavy_check_mark: | String indicating the type of file tree entry. | file | +| `type` | [models.Type](../models/type.md) | :heavy_check_mark: | String indicating the type of file tree entry. | file | | `uid` | *string* | :heavy_minus_sign: | The unique identifier of the file (only valid for the `file` type) | 2d4aad419917f15b1146e9e03ddc9bb31747e4d0 | -| `children` | [components.FileTree](../../models/components/filetree.md)[] | :heavy_minus_sign: | The list of children files of the directory (only valid for the `directory` type) | | +| `children` | [models.FileTree](../models/filetree.md)[] | :heavy_minus_sign: | The list of children files of the directory (only valid for the `directory` type) | | | `contentType` | *string* | :heavy_minus_sign: | The content-type of the file (only valid for the `file` type) | application/json | | `mode` | *number* | :heavy_check_mark: | The file "mode" indicating file type and permissions. | | | `symlink` | *string* | :heavy_minus_sign: | Not currently used. See `file-list-to-tree.ts`. | | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthint1.md b/docs/models/filterprojectenvscontenthint1.md new file mode 100644 index 00000000..5ad46be1 --- /dev/null +++ b/docs/models/filterprojectenvscontenthint1.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHint1 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHint1 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintType](../models/filterprojectenvscontenthinttype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthint10.md b/docs/models/filterprojectenvscontenthint10.md new file mode 100644 index 00000000..b0c2586b --- /dev/null +++ b/docs/models/filterprojectenvscontenthint10.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHint10 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHint10 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody110type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthint11.md b/docs/models/filterprojectenvscontenthint11.md new file mode 100644 index 00000000..42d4beef --- /dev/null +++ b/docs/models/filterprojectenvscontenthint11.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHint11 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHint11 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody111type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthint12.md b/docs/models/filterprojectenvscontenthint12.md new file mode 100644 index 00000000..79e9f8df --- /dev/null +++ b/docs/models/filterprojectenvscontenthint12.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHint12 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHint12 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHint12 = { + type: "postgres-database", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody112type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthint13.md b/docs/models/filterprojectenvscontenthint13.md new file mode 100644 index 00000000..b2242ff9 --- /dev/null +++ b/docs/models/filterprojectenvscontenthint13.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHint13 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHint13 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHint13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody113type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthint14.md b/docs/models/filterprojectenvscontenthint14.md new file mode 100644 index 00000000..ab6335fb --- /dev/null +++ b/docs/models/filterprojectenvscontenthint14.md @@ -0,0 +1,25 @@ +# FilterProjectEnvsContentHint14 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHint14 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHint14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody114type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthint15.md b/docs/models/filterprojectenvscontenthint15.md new file mode 100644 index 00000000..f4c9584f --- /dev/null +++ b/docs/models/filterprojectenvscontenthint15.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHint15 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHint15 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHint15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody115type.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthint2.md b/docs/models/filterprojectenvscontenthint2.md new file mode 100644 index 00000000..9a5a5488 --- /dev/null +++ b/docs/models/filterprojectenvscontenthint2.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHint2 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHint2 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsType](../models/filterprojectenvscontenthintprojectstype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthint3.md b/docs/models/filterprojectenvscontenthint3.md new file mode 100644 index 00000000..053c4cc7 --- /dev/null +++ b/docs/models/filterprojectenvscontenthint3.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHint3 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHint3 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponseType](../models/filterprojectenvscontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthint4.md b/docs/models/filterprojectenvscontenthint4.md new file mode 100644 index 00000000..0c6f2d47 --- /dev/null +++ b/docs/models/filterprojectenvscontenthint4.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHint4 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHint4 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200Type](../models/filterprojectenvscontenthintprojectsresponse200type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthint5.md b/docs/models/filterprojectenvscontenthint5.md new file mode 100644 index 00000000..abfe809e --- /dev/null +++ b/docs/models/filterprojectenvscontenthint5.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHint5 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHint5 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType](../models/filterprojectenvscontenthintprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthint6.md b/docs/models/filterprojectenvscontenthint6.md new file mode 100644 index 00000000..c45ae505 --- /dev/null +++ b/docs/models/filterprojectenvscontenthint6.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHint6 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHint6 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthint7.md b/docs/models/filterprojectenvscontenthint7.md new file mode 100644 index 00000000..491e8b77 --- /dev/null +++ b/docs/models/filterprojectenvscontenthint7.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHint7 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHint7 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody1type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthint8.md b/docs/models/filterprojectenvscontenthint8.md new file mode 100644 index 00000000..29999a3b --- /dev/null +++ b/docs/models/filterprojectenvscontenthint8.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHint8 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHint8 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody18type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthint9.md b/docs/models/filterprojectenvscontenthint9.md new file mode 100644 index 00000000..e427853f --- /dev/null +++ b/docs/models/filterprojectenvscontenthint9.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHint9 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHint9 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody19type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojects1.md b/docs/models/filterprojectenvscontenthintprojects1.md new file mode 100644 index 00000000..abc49cbb --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojects1.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjects1 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjects1 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjects1 = { + type: "redis-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojects10.md b/docs/models/filterprojectenvscontenthintprojects10.md new file mode 100644 index 00000000..deca831a --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojects10.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjects10 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjects10 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjects10 = { + type: "postgres-host", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs10type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojects11.md b/docs/models/filterprojectenvscontenthintprojects11.md new file mode 100644 index 00000000..b842f264 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojects11.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjects11 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjects11 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjects11 = { + type: "postgres-password", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs11type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojects12.md b/docs/models/filterprojectenvscontenthintprojects12.md new file mode 100644 index 00000000..00107cc7 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojects12.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjects12 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjects12 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjects12 = { + type: "postgres-database", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs12type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojects13.md b/docs/models/filterprojectenvscontenthintprojects13.md new file mode 100644 index 00000000..150ba8cc --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojects13.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjects13 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjects13 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjects13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs13type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojects14.md b/docs/models/filterprojectenvscontenthintprojects14.md new file mode 100644 index 00000000..9c5ab762 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojects14.md @@ -0,0 +1,25 @@ +# FilterProjectEnvsContentHintProjects14 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjects14 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjects14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs14type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojects15.md b/docs/models/filterprojectenvscontenthintprojects15.md new file mode 100644 index 00000000..0cbc6540 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojects15.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjects15 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjects15 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjects15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs15type.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojects2.md b/docs/models/filterprojectenvscontenthintprojects2.md new file mode 100644 index 00000000..cd51ac70 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojects2.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjects2 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjects2 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjects2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envstype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojects3.md b/docs/models/filterprojectenvscontenthintprojects3.md new file mode 100644 index 00000000..f22addc8 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojects3.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjects3 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjects3 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjects3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs3type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojects4.md b/docs/models/filterprojectenvscontenthintprojects4.md new file mode 100644 index 00000000..3d01520d --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojects4.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjects4 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjects4 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjects4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs4type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojects5.md b/docs/models/filterprojectenvscontenthintprojects5.md new file mode 100644 index 00000000..915476fd --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojects5.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjects5 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjects5 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjects5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs5type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojects6.md b/docs/models/filterprojectenvscontenthintprojects6.md new file mode 100644 index 00000000..5d215b06 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojects6.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjects6 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjects6 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjects6 = { + type: "postgres-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs6type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojects7.md b/docs/models/filterprojectenvscontenthintprojects7.md new file mode 100644 index 00000000..a7792ee1 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojects7.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjects7 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjects7 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjects7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs7type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojects8.md b/docs/models/filterprojectenvscontenthintprojects8.md new file mode 100644 index 00000000..ef794f46 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojects8.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjects8 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjects8 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjects8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs8type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojects9.md b/docs/models/filterprojectenvscontenthintprojects9.md new file mode 100644 index 00000000..f90ead7e --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojects9.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjects9 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjects9 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjects9 = { + type: "postgres-user", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs9type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojectsresponse1.md b/docs/models/filterprojectenvscontenthintprojectsresponse1.md new file mode 100644 index 00000000..d4054568 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojectsresponse1.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjectsResponse1 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjectsResponse1 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjectsResponse1 = { + type: "redis-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojectsresponse10.md b/docs/models/filterprojectenvscontenthintprojectsresponse10.md new file mode 100644 index 00000000..297616c6 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojectsresponse10.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjectsResponse10 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjectsResponse10 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjectsResponse10 = { + type: "postgres-host", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs10type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojectsresponse11.md b/docs/models/filterprojectenvscontenthintprojectsresponse11.md new file mode 100644 index 00000000..e1e323f3 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojectsresponse11.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjectsResponse11 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjectsResponse11 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjectsResponse11 = { + type: "postgres-password", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs11type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojectsresponse12.md b/docs/models/filterprojectenvscontenthintprojectsresponse12.md new file mode 100644 index 00000000..9e175927 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojectsresponse12.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjectsResponse12 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjectsResponse12 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjectsResponse12 = { + type: "postgres-database", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs12type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojectsresponse13.md b/docs/models/filterprojectenvscontenthintprojectsresponse13.md new file mode 100644 index 00000000..d63de8e0 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojectsresponse13.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjectsResponse13 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjectsResponse13 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjectsResponse13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs13type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojectsresponse14.md b/docs/models/filterprojectenvscontenthintprojectsresponse14.md new file mode 100644 index 00000000..c645f296 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojectsresponse14.md @@ -0,0 +1,25 @@ +# FilterProjectEnvsContentHintProjectsResponse14 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjectsResponse14 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjectsResponse14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs14type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojectsresponse15.md b/docs/models/filterprojectenvscontenthintprojectsresponse15.md new file mode 100644 index 00000000..22788c80 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojectsresponse15.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjectsResponse15 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjectsResponse15 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjectsResponse15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs15type.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojectsresponse2.md b/docs/models/filterprojectenvscontenthintprojectsresponse2.md new file mode 100644 index 00000000..fb13792a --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojectsresponse2.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjectsResponse2 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjectsResponse2 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjectsResponse2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envstype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody110type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody110type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody110type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody110type.md index 20fc9c8f..8f91c0eb 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody110type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody110type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody111type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody111type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody111type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody111type.md index 716810fb..071348e2 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody111type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody111type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody112type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody112type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody112type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody112type.md index 856073d1..8d2ac94c 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody112type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody112type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody113type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody113type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody113type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody113type.md index 7bf2d072..f2e52f8b 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody113type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody113type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody114type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody114type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody114type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody114type.md index 2eeb33e7..4ef2bb6c 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody114type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody114type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody115type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody115type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody115type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody115type.md index e1e804d9..0bba49fe 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody115type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody115type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody18type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody18type.md similarity index 80% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody18type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody18type.md index 21d6dc2a..773dfdf7 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody18type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody18type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody19type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody19type.md similarity index 79% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody19type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody19type.md index b46f13f4..f9f0e414 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody19type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody19type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody1type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody1type.md similarity index 81% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody1type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody1type.md index 9e83ca26..db0de1d1 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody1type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody1type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs10type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs10type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs10type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs10type.md index 152ffe4b..ad718aa0 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs10type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs10type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs11type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs11type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs11type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs11type.md index 376e2b80..a0a282ec 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs11type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs11type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs12type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs12type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs12type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs12type.md index 731e1d2e..557c9227 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs12type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs12type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs13type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs13type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs13type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs13type.md index ddfbf699..fcae0d55 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs13type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs13type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs14type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs14type.md similarity index 87% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs14type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs14type.md index d6928a46..3df5e277 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs14type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs14type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs15type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs15type.md similarity index 87% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs15type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs15type.md index 6bb30409..4a854532 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs15type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs15type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs3type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs3type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs3type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs3type.md index 19bc577d..ba67eea8 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs3type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs3type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs4type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs4type.md similarity index 87% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs4type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs4type.md index 88a4df1d..e83094be 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs4type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs4type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs5type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs5type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs5type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs5type.md index bdd416d8..05490970 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs5type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs5type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs6type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs6type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs6type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs6type.md index aa01f788..1bca8bcb 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs6type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs6type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs7type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs7type.md similarity index 87% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs7type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs7type.md index 56ad1f38..4e00f9d5 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs7type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs7type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs8type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs8type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs8type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs8type.md index b5d5707d..3b2cd81a 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs8type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs8type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs9type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs9type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs9type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs9type.md index a1dc2675..77f8e1d3 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs9type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs9type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envstype.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envstype.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envstype.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envstype.md index aa99906b..c53cfe07 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envstype.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envstype.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2type.md similarity index 79% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2type.md index f6a04eae..58ba04d3 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs10type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs10type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs10type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs10type.md index 057c03db..7ccd602a 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs10type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs10type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs11type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs11type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs11type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs11type.md index 77face3b..5af2ada3 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs11type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs11type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs12type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs12type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs12type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs12type.md index f2e4ef5e..1b60a31e 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs12type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs12type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs13type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs13type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs13type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs13type.md index f02bbf55..3eafc5da 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs13type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs13type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs14type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs14type.md similarity index 87% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs14type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs14type.md index 2a03d086..9dbef3bd 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs14type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs14type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs15type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs15type.md similarity index 87% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs15type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs15type.md index a4ce25ef..3880fb3d 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs15type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs15type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs3type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs3type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs3type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs3type.md index 185b7c1f..d3bb2ef0 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs3type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs3type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs4type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs4type.md similarity index 87% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs4type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs4type.md index 51c86e25..5493d2d7 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs4type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs4type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs5type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs5type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs5type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs5type.md index 1f262fee..0a73f5cd 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs5type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs5type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs6type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs6type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs6type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs6type.md index 18e2e25e..5b4f0b4d 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs6type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs6type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs7type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs7type.md similarity index 87% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs7type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs7type.md index 4caa1637..e8fb72a3 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs7type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs7type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs8type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs8type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs8type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs8type.md index b707273c..b2eb552b 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs8type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs8type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs9type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs9type.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs9type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs9type.md index e109a1ef..72d5d967 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs9type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs9type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envstype.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envstype.md similarity index 86% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envstype.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envstype.md index 1226933d..b368048c 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envstype.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envstype.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType, -} from "@vercel/sdk/models/operations/filterprojectenvs.js"; +} from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3type.md similarity index 79% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3type.md index 80d36f07..f352da65 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebodytype.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebodytype.md similarity index 80% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebodytype.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebodytype.md index d39df3d5..2a0a57a9 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebodytype.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType = diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsontype.md b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsontype.md similarity index 81% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsontype.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsontype.md index 1e0190bd..64193e59 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsontype.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType = "blob-read-write-token"; diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200type.md b/docs/models/filterprojectenvscontenthintprojectsresponse200type.md similarity index 84% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponse200type.md rename to docs/models/filterprojectenvscontenthintprojectsresponse200type.md index c1fdd271..5feb433e 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse200type.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsContentHintProjectsResponse200Type } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsContentHintProjectsResponse200Type } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponse200Type = "redis-rest-api-read-only-token"; diff --git a/docs/models/filterprojectenvscontenthintprojectsresponse3.md b/docs/models/filterprojectenvscontenthintprojectsresponse3.md new file mode 100644 index 00000000..edd27fc0 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojectsresponse3.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjectsResponse3 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjectsResponse3 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjectsResponse3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs3type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojectsresponse4.md b/docs/models/filterprojectenvscontenthintprojectsresponse4.md new file mode 100644 index 00000000..44eab0ad --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojectsresponse4.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjectsResponse4 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjectsResponse4 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjectsResponse4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs4type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojectsresponse5.md b/docs/models/filterprojectenvscontenthintprojectsresponse5.md new file mode 100644 index 00000000..7168e2d1 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojectsresponse5.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjectsResponse5 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjectsResponse5 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjectsResponse5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs5type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojectsresponse6.md b/docs/models/filterprojectenvscontenthintprojectsresponse6.md new file mode 100644 index 00000000..b429078a --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojectsresponse6.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjectsResponse6 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjectsResponse6 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjectsResponse6 = { + type: "postgres-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs6type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojectsresponse7.md b/docs/models/filterprojectenvscontenthintprojectsresponse7.md new file mode 100644 index 00000000..2370b34f --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojectsresponse7.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjectsResponse7 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjectsResponse7 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjectsResponse7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs7type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojectsresponse8.md b/docs/models/filterprojectenvscontenthintprojectsresponse8.md new file mode 100644 index 00000000..7fe18a9a --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojectsresponse8.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjectsResponse8 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjectsResponse8 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjectsResponse8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs8type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvscontenthintprojectsresponse9.md b/docs/models/filterprojectenvscontenthintprojectsresponse9.md new file mode 100644 index 00000000..1fb34ed6 --- /dev/null +++ b/docs/models/filterprojectenvscontenthintprojectsresponse9.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsContentHintProjectsResponse9 + +## Example Usage + +```typescript +import { FilterProjectEnvsContentHintProjectsResponse9 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsContentHintProjectsResponse9 = { + type: "postgres-user", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type](../models/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs9type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponsetype.md b/docs/models/filterprojectenvscontenthintprojectsresponsetype.md similarity index 84% rename from docs/models/operations/filterprojectenvscontenthintprojectsresponsetype.md rename to docs/models/filterprojectenvscontenthintprojectsresponsetype.md index bd4f78a5..b7f4f9a0 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponsetype.md +++ b/docs/models/filterprojectenvscontenthintprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsContentHintProjectsResponseType } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsContentHintProjectsResponseType } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsResponseType = "redis-rest-api-token"; diff --git a/docs/models/operations/filterprojectenvscontenthintprojectstype.md b/docs/models/filterprojectenvscontenthintprojectstype.md similarity index 85% rename from docs/models/operations/filterprojectenvscontenthintprojectstype.md rename to docs/models/filterprojectenvscontenthintprojectstype.md index 9bf3bf16..c2cb9bff 100644 --- a/docs/models/operations/filterprojectenvscontenthintprojectstype.md +++ b/docs/models/filterprojectenvscontenthintprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsContentHintProjectsType } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsContentHintProjectsType } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintProjectsType = "redis-rest-api-url"; ``` diff --git a/docs/models/operations/filterprojectenvscontenthinttype.md b/docs/models/filterprojectenvscontenthinttype.md similarity index 85% rename from docs/models/operations/filterprojectenvscontenthinttype.md rename to docs/models/filterprojectenvscontenthinttype.md index 6e7b0c3b..615a8356 100644 --- a/docs/models/operations/filterprojectenvscontenthinttype.md +++ b/docs/models/filterprojectenvscontenthinttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsContentHintType } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsContentHintType } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsContentHintType = "redis-url"; ``` diff --git a/docs/models/operations/filterprojectenvsrequest.md b/docs/models/filterprojectenvsrequest.md similarity index 95% rename from docs/models/operations/filterprojectenvsrequest.md rename to docs/models/filterprojectenvsrequest.md index 3fcf1ddb..6e76c8fa 100644 --- a/docs/models/operations/filterprojectenvsrequest.md +++ b/docs/models/filterprojectenvsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsRequest } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsRequest } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsRequest = { idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", @@ -18,7 +18,7 @@ let value: FilterProjectEnvsRequest = { | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | | `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA | | `gitBranch` | *string* | :heavy_minus_sign: | If defined, the git branch of the environment variable to filter the results (must have target=preview) | feature-1 | -| `decrypt` | [operations.Decrypt](../../models/operations/decrypt.md) | :heavy_minus_sign: | If true, the environment variable value will be decrypted | true | +| `decrypt` | [models.Decrypt](../models/decrypt.md) | :heavy_minus_sign: | If true, the environment variable value will be decrypted | true | | `source` | *string* | :heavy_minus_sign: | The source that is calling the endpoint. | vercel-cli:pull | | `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | | `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | \ No newline at end of file diff --git a/docs/models/filterprojectenvsresponsebody.md b/docs/models/filterprojectenvsresponsebody.md new file mode 100644 index 00000000..68443b4c --- /dev/null +++ b/docs/models/filterprojectenvsresponsebody.md @@ -0,0 +1,38 @@ +# FilterProjectEnvsResponseBody + +The list of environment variables for the given project + + +## Supported Types + +### `models.FilterProjectEnvsResponseBody1` + +```typescript +const value: models.FilterProjectEnvsResponseBody1 = {}; +``` + +### `models.FilterProjectEnvsResponseBody2` + +```typescript +const value: models.FilterProjectEnvsResponseBody2 = { + envs: [ + {}, + ], + pagination: { + count: 20, + next: 1540095775951, + prev: 1540095775951, + }, +}; +``` + +### `models.FilterProjectEnvsResponseBody3` + +```typescript +const value: models.FilterProjectEnvsResponseBody3 = { + envs: [ + {}, + ], +}; +``` + diff --git a/docs/models/filterprojectenvsresponsebody1.md b/docs/models/filterprojectenvsresponsebody1.md new file mode 100644 index 00000000..ff3f22b4 --- /dev/null +++ b/docs/models/filterprojectenvsresponsebody1.md @@ -0,0 +1,35 @@ +# FilterProjectEnvsResponseBody1 + +## Example Usage + +```typescript +import { FilterProjectEnvsResponseBody1 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsResponseBody1 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `target` | *models.FilterProjectEnvsResponseBodyTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.FilterProjectEnvsResponseBodyType](../models/filterprojectenvsresponsebodytype.md) | :heavy_minus_sign: | N/A | +| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *string* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdBy` | *string* | :heavy_minus_sign: | N/A | +| `updatedBy` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `contentHint` | *models.ResponseBodyContentHint* | :heavy_minus_sign: | N/A | +| `internalContentHint` | [models.ResponseBodyInternalContentHint](../models/responsebodyinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | +| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | +| `vsmValue` | *string* | :heavy_minus_sign: | N/A | +| `system` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvsresponsebody2.md b/docs/models/filterprojectenvsresponsebody2.md similarity index 90% rename from docs/models/operations/filterprojectenvsresponsebody2.md rename to docs/models/filterprojectenvsresponsebody2.md index 76968bdb..4b353dbc 100644 --- a/docs/models/operations/filterprojectenvsresponsebody2.md +++ b/docs/models/filterprojectenvsresponsebody2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsResponseBody2 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsResponseBody2 } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsResponseBody2 = { envs: [ @@ -21,5 +21,5 @@ let value: FilterProjectEnvsResponseBody2 = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `envs` | [operations.Envs](../../models/operations/envs.md)[] | :heavy_check_mark: | N/A | -| `pagination` | [components.Pagination](../../models/components/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file +| `envs` | [models.Envs](../models/envs.md)[] | :heavy_check_mark: | N/A | +| `pagination` | [models.Pagination](../models/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file diff --git a/docs/models/filterprojectenvsresponsebody3.md b/docs/models/filterprojectenvsresponsebody3.md new file mode 100644 index 00000000..eeca34b6 --- /dev/null +++ b/docs/models/filterprojectenvsresponsebody3.md @@ -0,0 +1,21 @@ +# FilterProjectEnvsResponseBody3 + +The list of environment variables for the given project + +## Example Usage + +```typescript +import { FilterProjectEnvsResponseBody3 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsResponseBody3 = { + envs: [ + {}, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `envs` | [models.ResponseBodyEnvs](../models/responsebodyenvs.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterprojectenvsresponsebodycontenthint.md b/docs/models/filterprojectenvsresponsebodycontenthint.md new file mode 100644 index 00000000..9b225722 --- /dev/null +++ b/docs/models/filterprojectenvsresponsebodycontenthint.md @@ -0,0 +1,143 @@ +# FilterProjectEnvsResponseBodyContentHint + + +## Supported Types + +### `models.FilterProjectEnvsContentHintProjects1` + +```typescript +const value: models.FilterProjectEnvsContentHintProjects1 = { + type: "redis-url", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjects2` + +```typescript +const value: models.FilterProjectEnvsContentHintProjects2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjects3` + +```typescript +const value: models.FilterProjectEnvsContentHintProjects3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjects4` + +```typescript +const value: models.FilterProjectEnvsContentHintProjects4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjects5` + +```typescript +const value: models.FilterProjectEnvsContentHintProjects5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjects6` + +```typescript +const value: models.FilterProjectEnvsContentHintProjects6 = { + type: "postgres-url", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjects7` + +```typescript +const value: models.FilterProjectEnvsContentHintProjects7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjects8` + +```typescript +const value: models.FilterProjectEnvsContentHintProjects8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjects9` + +```typescript +const value: models.FilterProjectEnvsContentHintProjects9 = { + type: "postgres-user", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjects10` + +```typescript +const value: models.FilterProjectEnvsContentHintProjects10 = { + type: "postgres-host", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjects11` + +```typescript +const value: models.FilterProjectEnvsContentHintProjects11 = { + type: "postgres-password", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjects12` + +```typescript +const value: models.FilterProjectEnvsContentHintProjects12 = { + type: "postgres-database", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjects13` + +```typescript +const value: models.FilterProjectEnvsContentHintProjects13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjects14` + +```typescript +const value: models.FilterProjectEnvsContentHintProjects14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjects15` + +```typescript +const value: models.FilterProjectEnvsContentHintProjects15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + diff --git a/docs/models/filterprojectenvsresponsebodyinternalcontenthint.md b/docs/models/filterprojectenvsresponsebodyinternalcontenthint.md new file mode 100644 index 00000000..d0c2f92f --- /dev/null +++ b/docs/models/filterprojectenvsresponsebodyinternalcontenthint.md @@ -0,0 +1,21 @@ +# FilterProjectEnvsResponseBodyInternalContentHint + +Similar to `contentHints`, but should not be exposed to the user. + +## Example Usage + +```typescript +import { FilterProjectEnvsResponseBodyInternalContentHint } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsResponseBodyInternalContentHint = { + type: "flags-secret", + encryptedValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType](../models/filterprojectenvsresponsebodyprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/filterprojectenvsresponsebodyprojectscontenthint.md b/docs/models/filterprojectenvsresponsebodyprojectscontenthint.md new file mode 100644 index 00000000..7ee71170 --- /dev/null +++ b/docs/models/filterprojectenvsresponsebodyprojectscontenthint.md @@ -0,0 +1,143 @@ +# FilterProjectEnvsResponseBodyProjectsContentHint + + +## Supported Types + +### `models.FilterProjectEnvsContentHintProjectsResponse1` + +```typescript +const value: models.FilterProjectEnvsContentHintProjectsResponse1 = { + type: "redis-url", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjectsResponse2` + +```typescript +const value: models.FilterProjectEnvsContentHintProjectsResponse2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjectsResponse3` + +```typescript +const value: models.FilterProjectEnvsContentHintProjectsResponse3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjectsResponse4` + +```typescript +const value: models.FilterProjectEnvsContentHintProjectsResponse4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjectsResponse5` + +```typescript +const value: models.FilterProjectEnvsContentHintProjectsResponse5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjectsResponse6` + +```typescript +const value: models.FilterProjectEnvsContentHintProjectsResponse6 = { + type: "postgres-url", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjectsResponse7` + +```typescript +const value: models.FilterProjectEnvsContentHintProjectsResponse7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjectsResponse8` + +```typescript +const value: models.FilterProjectEnvsContentHintProjectsResponse8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjectsResponse9` + +```typescript +const value: models.FilterProjectEnvsContentHintProjectsResponse9 = { + type: "postgres-user", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjectsResponse10` + +```typescript +const value: models.FilterProjectEnvsContentHintProjectsResponse10 = { + type: "postgres-host", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjectsResponse11` + +```typescript +const value: models.FilterProjectEnvsContentHintProjectsResponse11 = { + type: "postgres-password", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjectsResponse12` + +```typescript +const value: models.FilterProjectEnvsContentHintProjectsResponse12 = { + type: "postgres-database", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjectsResponse13` + +```typescript +const value: models.FilterProjectEnvsContentHintProjectsResponse13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjectsResponse14` + +```typescript +const value: models.FilterProjectEnvsContentHintProjectsResponse14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +### `models.FilterProjectEnvsContentHintProjectsResponse15` + +```typescript +const value: models.FilterProjectEnvsContentHintProjectsResponse15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + diff --git a/docs/models/filterprojectenvsresponsebodyprojectsinternalcontenthint.md b/docs/models/filterprojectenvsresponsebodyprojectsinternalcontenthint.md new file mode 100644 index 00000000..5427b663 --- /dev/null +++ b/docs/models/filterprojectenvsresponsebodyprojectsinternalcontenthint.md @@ -0,0 +1,21 @@ +# FilterProjectEnvsResponseBodyProjectsInternalContentHint + +Similar to `contentHints`, but should not be exposed to the user. + +## Example Usage + +```typescript +import { FilterProjectEnvsResponseBodyProjectsInternalContentHint } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsResponseBodyProjectsInternalContentHint = { + type: "flags-secret", + encryptedValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type](../models/filterprojectenvsresponsebodyprojectsresponse200applicationjson3type.md) | :heavy_check_mark: | N/A | +| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200applicationjson3type.md b/docs/models/filterprojectenvsresponsebodyprojectsresponse200applicationjson3type.md similarity index 81% rename from docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200applicationjson3type.md rename to docs/models/filterprojectenvsresponsebodyprojectsresponse200applicationjson3type.md index 9850ea30..30a41c6b 100644 --- a/docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200applicationjson3type.md +++ b/docs/models/filterprojectenvsresponsebodyprojectsresponse200applicationjson3type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type = diff --git a/docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200applicationjsontype.md b/docs/models/filterprojectenvsresponsebodyprojectsresponse200applicationjsontype.md similarity index 80% rename from docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200applicationjsontype.md rename to docs/models/filterprojectenvsresponsebodyprojectsresponse200applicationjsontype.md index c9f3e464..9366398b 100644 --- a/docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200applicationjsontype.md +++ b/docs/models/filterprojectenvsresponsebodyprojectsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType = "flags-secret"; diff --git a/docs/models/filterprojectenvsresponsebodyprojectsresponse200type.md b/docs/models/filterprojectenvsresponsebodyprojectsresponse200type.md new file mode 100644 index 00000000..e1efd86d --- /dev/null +++ b/docs/models/filterprojectenvsresponsebodyprojectsresponse200type.md @@ -0,0 +1,15 @@ +# FilterProjectEnvsResponseBodyProjectsResponse200Type + +## Example Usage + +```typescript +import { FilterProjectEnvsResponseBodyProjectsResponse200Type } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsResponseBodyProjectsResponse200Type = "secret"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/filterprojectenvsresponsebodyprojectsresponsetarget.md b/docs/models/filterprojectenvsresponsebodyprojectsresponsetarget.md new file mode 100644 index 00000000..2a471575 --- /dev/null +++ b/docs/models/filterprojectenvsresponsebodyprojectsresponsetarget.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsResponseBodyProjectsResponseTarget + + +## Supported Types + +### `models.FilterProjectEnvsTargetProjects1[]` + +```typescript +const value: models.FilterProjectEnvsTargetProjects1[] = [ + "preview", +]; +``` + +### `models.FilterProjectEnvsTargetProjectsResponse2` + +```typescript +const value: models.FilterProjectEnvsTargetProjectsResponse2 = "production"; +``` + diff --git a/docs/models/filterprojectenvsresponsebodyprojectsresponsetype.md b/docs/models/filterprojectenvsresponsebodyprojectsresponsetype.md new file mode 100644 index 00000000..83092159 --- /dev/null +++ b/docs/models/filterprojectenvsresponsebodyprojectsresponsetype.md @@ -0,0 +1,15 @@ +# FilterProjectEnvsResponseBodyProjectsResponseType + +## Example Usage + +```typescript +import { FilterProjectEnvsResponseBodyProjectsResponseType } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsResponseBodyProjectsResponseType = "plain"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/filterprojectenvsresponsebodyprojectstarget.md b/docs/models/filterprojectenvsresponsebodyprojectstarget.md new file mode 100644 index 00000000..3e368a69 --- /dev/null +++ b/docs/models/filterprojectenvsresponsebodyprojectstarget.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsResponseBodyProjectsTarget + + +## Supported Types + +### `models.FilterProjectEnvsTarget1[]` + +```typescript +const value: models.FilterProjectEnvsTarget1[] = [ + "production", +]; +``` + +### `models.FilterProjectEnvsTargetProjects2` + +```typescript +const value: models.FilterProjectEnvsTargetProjects2 = "production"; +``` + diff --git a/docs/models/operations/filterprojectenvsresponsebodyprojectstype.md b/docs/models/filterprojectenvsresponsebodyprojectstype.md similarity index 84% rename from docs/models/operations/filterprojectenvsresponsebodyprojectstype.md rename to docs/models/filterprojectenvsresponsebodyprojectstype.md index 7baa6839..fe591ff2 100644 --- a/docs/models/operations/filterprojectenvsresponsebodyprojectstype.md +++ b/docs/models/filterprojectenvsresponsebodyprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsResponseBodyProjectsType } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsResponseBodyProjectsType } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsResponseBodyProjectsType = "flags-secret"; ``` diff --git a/docs/models/filterprojectenvsresponsebodytarget.md b/docs/models/filterprojectenvsresponsebodytarget.md new file mode 100644 index 00000000..2c7b191e --- /dev/null +++ b/docs/models/filterprojectenvsresponsebodytarget.md @@ -0,0 +1,19 @@ +# FilterProjectEnvsResponseBodyTarget + + +## Supported Types + +### `string[]` + +```typescript +const value: string[] = [ + "", +]; +``` + +### `models.FilterProjectEnvsTarget2` + +```typescript +const value: models.FilterProjectEnvsTarget2 = "production"; +``` + diff --git a/docs/models/filterprojectenvsresponsebodytype.md b/docs/models/filterprojectenvsresponsebodytype.md new file mode 100644 index 00000000..1e077333 --- /dev/null +++ b/docs/models/filterprojectenvsresponsebodytype.md @@ -0,0 +1,15 @@ +# FilterProjectEnvsResponseBodyType + +## Example Usage + +```typescript +import { FilterProjectEnvsResponseBodyType } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsResponseBodyType = "encrypted"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/filterprojectenvstarget1.md b/docs/models/filterprojectenvstarget1.md new file mode 100644 index 00000000..572ca6cb --- /dev/null +++ b/docs/models/filterprojectenvstarget1.md @@ -0,0 +1,15 @@ +# FilterProjectEnvsTarget1 + +## Example Usage + +```typescript +import { FilterProjectEnvsTarget1 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsTarget1 = "preview"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/filterprojectenvstarget2.md b/docs/models/filterprojectenvstarget2.md new file mode 100644 index 00000000..d87209ae --- /dev/null +++ b/docs/models/filterprojectenvstarget2.md @@ -0,0 +1,15 @@ +# FilterProjectEnvsTarget2 + +## Example Usage + +```typescript +import { FilterProjectEnvsTarget2 } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: FilterProjectEnvsTarget2 = "development"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvstargetprojects1.md b/docs/models/filterprojectenvstargetprojects1.md similarity index 87% rename from docs/models/operations/filterprojectenvstargetprojects1.md rename to docs/models/filterprojectenvstargetprojects1.md index 750c91fc..cb8b4769 100644 --- a/docs/models/operations/filterprojectenvstargetprojects1.md +++ b/docs/models/filterprojectenvstargetprojects1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsTargetProjects1 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsTargetProjects1 } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsTargetProjects1 = "development"; ``` diff --git a/docs/models/operations/filterprojectenvstargetprojects2.md b/docs/models/filterprojectenvstargetprojects2.md similarity index 87% rename from docs/models/operations/filterprojectenvstargetprojects2.md rename to docs/models/filterprojectenvstargetprojects2.md index 972f84ad..23f13c0a 100644 --- a/docs/models/operations/filterprojectenvstargetprojects2.md +++ b/docs/models/filterprojectenvstargetprojects2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsTargetProjects2 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsTargetProjects2 } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsTargetProjects2 = "production"; ``` diff --git a/docs/models/operations/filterprojectenvstargetprojectsresponse2.md b/docs/models/filterprojectenvstargetprojectsresponse2.md similarity index 85% rename from docs/models/operations/filterprojectenvstargetprojectsresponse2.md rename to docs/models/filterprojectenvstargetprojectsresponse2.md index cdd5070f..0c5fa1ba 100644 --- a/docs/models/operations/filterprojectenvstargetprojectsresponse2.md +++ b/docs/models/filterprojectenvstargetprojectsresponse2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FilterProjectEnvsTargetProjectsResponse2 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { FilterProjectEnvsTargetProjectsResponse2 } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: FilterProjectEnvsTargetProjectsResponse2 = "development"; ``` diff --git a/docs/models/firewallroutes.md b/docs/models/firewallroutes.md new file mode 100644 index 00000000..767e4084 --- /dev/null +++ b/docs/models/firewallroutes.md @@ -0,0 +1,21 @@ +# FirewallRoutes + +## Example Usage + +```typescript +import { FirewallRoutes } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: FirewallRoutes = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `src` | *models.Src* | :heavy_minus_sign: | N/A | +| `has` | [models.Has](../models/has.md)[] | :heavy_minus_sign: | N/A | +| `missing` | [models.Missing](../models/missing.md)[] | :heavy_minus_sign: | N/A | +| `dest` | *string* | :heavy_minus_sign: | N/A | +| `status` | *number* | :heavy_minus_sign: | N/A | +| `handle` | [models.Handle](../models/handle.md) | :heavy_minus_sign: | N/A | +| `mitigate` | [models.UpdateProjectDataCacheMitigate](../models/updateprojectdatacachemitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/five.md b/docs/models/five.md new file mode 100644 index 00000000..e0d1a671 --- /dev/null +++ b/docs/models/five.md @@ -0,0 +1,24 @@ +# Five + +## Example Usage + +```typescript +import { Five } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: Five = { + owner: "", + ref: "", + slug: "", + type: "bitbucket", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `owner` | *string* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `type` | [models.CreateDeploymentGitSourceDeploymentsRequestType](../models/createdeploymentgitsourcedeploymentsrequesttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/flagjsonvalue.md b/docs/models/flagjsonvalue.md similarity index 93% rename from docs/models/components/flagjsonvalue.md rename to docs/models/flagjsonvalue.md index 2970ccfb..c17482cb 100644 --- a/docs/models/components/flagjsonvalue.md +++ b/docs/models/flagjsonvalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6090.79; +const value: number = 4733.26; ``` ### `boolean` diff --git a/docs/models/flags.md b/docs/models/flags.md new file mode 100644 index 00000000..a0c0a623 --- /dev/null +++ b/docs/models/flags.md @@ -0,0 +1,21 @@ +# Flags + + +## Supported Types + +### `models.Flags1` + +```typescript +const value: models.Flags1 = { + definitions: {}, +}; +``` + +### `models.Flags2[]` + +```typescript +const value: models.Flags2[] = [ + {}, +]; +``` + diff --git a/docs/models/flags1.md b/docs/models/flags1.md new file mode 100644 index 00000000..48944384 --- /dev/null +++ b/docs/models/flags1.md @@ -0,0 +1,19 @@ +# Flags1 + +Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. + +## Example Usage + +```typescript +import { Flags1 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: Flags1 = { + definitions: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `definitions` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/flags2.md b/docs/models/flags2.md similarity index 80% rename from docs/models/operations/flags2.md rename to docs/models/flags2.md index 72fabbee..3fe4ddbf 100644 --- a/docs/models/operations/flags2.md +++ b/docs/models/flags2.md @@ -5,7 +5,7 @@ Flags defined in the Build Output API, used by this deployment. Primarily used b ## Example Usage ```typescript -import { Flags2 } from "@vercel/sdk/models/operations/createdeployment.js"; +import { Flags2 } from "@vercel/sdk/models/createdeploymentop.js"; let value: Flags2 = {}; ``` diff --git a/docs/models/flagsdefinitions.md b/docs/models/flagsdefinitions.md new file mode 100644 index 00000000..4f380af4 --- /dev/null +++ b/docs/models/flagsdefinitions.md @@ -0,0 +1,17 @@ +# FlagsDefinitions + +## Example Usage + +```typescript +import { FlagsDefinitions } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: FlagsDefinitions = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `options` | [models.Options](../models/options.md)[] | :heavy_minus_sign: | N/A | +| `url` | *string* | :heavy_minus_sign: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/flagsoptions.md b/docs/models/flagsoptions.md new file mode 100644 index 00000000..1cc29980 --- /dev/null +++ b/docs/models/flagsoptions.md @@ -0,0 +1,18 @@ +# FlagsOptions + +## Example Usage + +```typescript +import { FlagsOptions } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: FlagsOptions = { + value: [], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `value` | *models.FlagJSONValue* | :heavy_check_mark: | N/A | +| `label` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/forcenew.md b/docs/models/forcenew.md new file mode 100644 index 00000000..bc360745 --- /dev/null +++ b/docs/models/forcenew.md @@ -0,0 +1,17 @@ +# ForceNew + +Forces a new deployment even if there is a previous similar deployment + +## Example Usage + +```typescript +import { ForceNew } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: ForceNew = "0"; +``` + +## Values + +```typescript +"0" | "1" +``` \ No newline at end of file diff --git a/docs/models/four.md b/docs/models/four.md new file mode 100644 index 00000000..aa9d3030 --- /dev/null +++ b/docs/models/four.md @@ -0,0 +1,23 @@ +# Four + +## Example Usage + +```typescript +import { Four } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: Four = { + ref: "", + repoUuid: "", + type: "bitbucket", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `repoUuid` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `type` | [models.CreateDeploymentGitSourceDeploymentsType](../models/createdeploymentgitsourcedeploymentstype.md) | :heavy_check_mark: | N/A | +| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourteen.md b/docs/models/fourteen.md new file mode 100644 index 00000000..f039a3f7 --- /dev/null +++ b/docs/models/fourteen.md @@ -0,0 +1,25 @@ +# Fourteen + +## Example Usage + +```typescript +import { Fourteen } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: Fourteen = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type](../models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/framework.md b/docs/models/framework.md similarity index 90% rename from docs/models/operations/framework.md rename to docs/models/framework.md index fad3b323..5fb83941 100644 --- a/docs/models/operations/framework.md +++ b/docs/models/framework.md @@ -5,7 +5,7 @@ The framework that is being used for this project. When `null` is used no framew ## Example Usage ```typescript -import { Framework } from "@vercel/sdk/models/operations/createdeployment.js"; +import { Framework } from "@vercel/sdk/models/createdeploymentop.js"; let value: Framework = "vitepress"; ``` diff --git a/docs/models/functiondefaultmemorytype.md b/docs/models/functiondefaultmemorytype.md new file mode 100644 index 00000000..be2b3b80 --- /dev/null +++ b/docs/models/functiondefaultmemorytype.md @@ -0,0 +1,15 @@ +# FunctionDefaultMemoryType + +## Example Usage + +```typescript +import { FunctionDefaultMemoryType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: FunctionDefaultMemoryType = "standard_legacy"; +``` + +## Values + +```typescript +"standard_legacy" | "standard" | "performance" +``` \ No newline at end of file diff --git a/docs/models/operations/functions.md b/docs/models/functions.md similarity index 89% rename from docs/models/operations/functions.md rename to docs/models/functions.md index 3db06b3a..53ec6092 100644 --- a/docs/models/operations/functions.md +++ b/docs/models/functions.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Functions } from "@vercel/sdk/models/operations/createdeployment.js"; +import { Functions } from "@vercel/sdk/models/createdeploymentop.js"; let value: Functions = {}; ``` diff --git a/docs/models/gen.md b/docs/models/gen.md new file mode 100644 index 00000000..9ba0b5cb --- /dev/null +++ b/docs/models/gen.md @@ -0,0 +1,21 @@ +# Gen + +Generic Attack - Provide broad protection from various undefined or novel attack vectors. + +## Example Usage + +```typescript +import { Gen } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Gen = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityRequestRequestBodyCrsGenAction](../models/putfirewallconfigsecurityrequestrequestbodycrsgenaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/generate.md b/docs/models/generate.md similarity index 88% rename from docs/models/operations/generate.md rename to docs/models/generate.md index 9c9322f9..21ca449c 100644 --- a/docs/models/operations/generate.md +++ b/docs/models/generate.md @@ -5,7 +5,7 @@ Generate a new secret. If neither generate or revoke are provided, a new random ## Example Usage ```typescript -import { Generate } from "@vercel/sdk/models/operations/updateprojectprotectionbypass.js"; +import { Generate } from "@vercel/sdk/models/updateprojectprotectionbypassop.js"; let value: Generate = {}; ``` diff --git a/docs/models/operations/getaccountinforequest.md b/docs/models/getaccountinforequest.md similarity index 85% rename from docs/models/operations/getaccountinforequest.md rename to docs/models/getaccountinforequest.md index acbe6c1f..6c53b255 100644 --- a/docs/models/operations/getaccountinforequest.md +++ b/docs/models/getaccountinforequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetAccountInfoRequest } from "@vercel/sdk/models/operations/getaccountinfo.js"; +import { GetAccountInfoRequest } from "@vercel/sdk/models/getaccountinfoop.js"; let value: GetAccountInfoRequest = { integrationConfigurationId: "", diff --git a/docs/models/getaccountinforesponsebody.md b/docs/models/getaccountinforesponsebody.md new file mode 100644 index 00000000..2cf2d5d2 --- /dev/null +++ b/docs/models/getaccountinforesponsebody.md @@ -0,0 +1,22 @@ +# GetAccountInfoResponseBody + +## Example Usage + +```typescript +import { GetAccountInfoResponseBody } from "@vercel/sdk/models/getaccountinfoop.js"; + +let value: GetAccountInfoResponseBody = { + url: "https://tempting-mentor.info", + contact: { + email: "June.Rowe@yahoo.com", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | +| `contact` | [models.Contact](../models/contact.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaliascreator.md b/docs/models/getaliascreator.md similarity index 94% rename from docs/models/operations/getaliascreator.md rename to docs/models/getaliascreator.md index fa9e06af..3670c1a7 100644 --- a/docs/models/operations/getaliascreator.md +++ b/docs/models/getaliascreator.md @@ -5,7 +5,7 @@ Information of the user who created the alias ## Example Usage ```typescript -import { GetAliasCreator } from "@vercel/sdk/models/operations/getalias.js"; +import { GetAliasCreator } from "@vercel/sdk/models/getaliasop.js"; let value: GetAliasCreator = { uid: "96SnxkFiMyVKsK3pnoHfx3Hz", diff --git a/docs/models/getaliasprotectionbypass.md b/docs/models/getaliasprotectionbypass.md new file mode 100644 index 00000000..c9e32ba6 --- /dev/null +++ b/docs/models/getaliasprotectionbypass.md @@ -0,0 +1,48 @@ +# GetAliasProtectionBypass + + +## Supported Types + +### `models.ProtectionBypass1` + +```typescript +const value: models.ProtectionBypass1 = { + createdAt: 2805.90, + createdBy: "", + scope: "shareable-link", +}; +``` + +### `models.ProtectionBypass2` + +```typescript +const value: models.ProtectionBypass2 = { + createdAt: 3861.38, + lastUpdatedAt: 2736.38, + lastUpdatedBy: "", + access: "requested", + scope: "user", +}; +``` + +### `models.ProtectionBypass3` + +```typescript +const value: models.ProtectionBypass3 = { + createdAt: 7711.46, + createdBy: "", + scope: "alias-protection-override", +}; +``` + +### `models.ProtectionBypass4` + +```typescript +const value: models.ProtectionBypass4 = { + createdAt: 3290.16, + lastUpdatedAt: 1125.13, + lastUpdatedBy: "", + scope: "email_invite", +}; +``` + diff --git a/docs/models/operations/getaliasprotectionbypassaliasesresponsescope.md b/docs/models/getaliasprotectionbypassaliasesresponsescope.md similarity index 86% rename from docs/models/operations/getaliasprotectionbypassaliasesresponsescope.md rename to docs/models/getaliasprotectionbypassaliasesresponsescope.md index 7e3ab108..c350df4a 100644 --- a/docs/models/operations/getaliasprotectionbypassaliasesresponsescope.md +++ b/docs/models/getaliasprotectionbypassaliasesresponsescope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetAliasProtectionBypassAliasesResponseScope } from "@vercel/sdk/models/operations/getalias.js"; +import { GetAliasProtectionBypassAliasesResponseScope } from "@vercel/sdk/models/getaliasop.js"; let value: GetAliasProtectionBypassAliasesResponseScope = "email_invite"; ``` diff --git a/docs/models/operations/getaliasprotectionbypassaliasesscope.md b/docs/models/getaliasprotectionbypassaliasesscope.md similarity index 89% rename from docs/models/operations/getaliasprotectionbypassaliasesscope.md rename to docs/models/getaliasprotectionbypassaliasesscope.md index bebc89ee..92e3c8ce 100644 --- a/docs/models/operations/getaliasprotectionbypassaliasesscope.md +++ b/docs/models/getaliasprotectionbypassaliasesscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetAliasProtectionBypassAliasesScope } from "@vercel/sdk/models/operations/getalias.js"; +import { GetAliasProtectionBypassAliasesScope } from "@vercel/sdk/models/getaliasop.js"; let value: GetAliasProtectionBypassAliasesScope = "alias-protection-override"; ``` diff --git a/docs/models/operations/getaliasprotectionbypassscope.md b/docs/models/getaliasprotectionbypassscope.md similarity index 89% rename from docs/models/operations/getaliasprotectionbypassscope.md rename to docs/models/getaliasprotectionbypassscope.md index e00e15dd..f1294e62 100644 --- a/docs/models/operations/getaliasprotectionbypassscope.md +++ b/docs/models/getaliasprotectionbypassscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetAliasProtectionBypassScope } from "@vercel/sdk/models/operations/getalias.js"; +import { GetAliasProtectionBypassScope } from "@vercel/sdk/models/getaliasop.js"; let value: GetAliasProtectionBypassScope = "user"; ``` diff --git a/docs/models/operations/getaliasrequest.md b/docs/models/getaliasrequest.md similarity index 97% rename from docs/models/operations/getaliasrequest.md rename to docs/models/getaliasrequest.md index 2304e574..a5460801 100644 --- a/docs/models/operations/getaliasrequest.md +++ b/docs/models/getaliasrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetAliasRequest } from "@vercel/sdk/models/operations/getalias.js"; +import { GetAliasRequest } from "@vercel/sdk/models/getaliasop.js"; let value: GetAliasRequest = { from: 1540095775951, diff --git a/docs/models/operations/getaliasresponsebody.md b/docs/models/getaliasresponsebody.md similarity index 94% rename from docs/models/operations/getaliasresponsebody.md rename to docs/models/getaliasresponsebody.md index 7960db53..a63e4033 100644 --- a/docs/models/operations/getaliasresponsebody.md +++ b/docs/models/getaliasresponsebody.md @@ -5,7 +5,7 @@ The alias information ## Example Usage ```typescript -import { GetAliasResponseBody } from "@vercel/sdk/models/operations/getalias.js"; +import { GetAliasResponseBody } from "@vercel/sdk/models/getaliasop.js"; let value: GetAliasResponseBody = { alias: "my-alias.vercel.app", @@ -36,13 +36,13 @@ let value: GetAliasResponseBody = { | `alias` | *string* | :heavy_check_mark: | The alias name, it could be a `.vercel.app` subdomain or a custom domain | my-alias.vercel.app | | `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The date when the alias was created | 2017-04-26T23:00:34.232Z | | `createdAt` | *number* | :heavy_minus_sign: | The date when the alias was created in milliseconds since the UNIX epoch | 1540095775941 | -| `creator` | [operations.GetAliasCreator](../../models/operations/getaliascreator.md) | :heavy_minus_sign: | Information of the user who created the alias | | +| `creator` | [models.GetAliasCreator](../models/getaliascreator.md) | :heavy_minus_sign: | Information of the user who created the alias | | | `deletedAt` | *number* | :heavy_minus_sign: | The date when the alias was deleted in milliseconds since the UNIX epoch | 1540095775941 | -| `deployment` | [operations.Deployment](../../models/operations/deployment.md) | :heavy_minus_sign: | A map with the deployment ID, URL and metadata | | +| `deployment` | [models.Deployment](../models/deployment.md) | :heavy_minus_sign: | A map with the deployment ID, URL and metadata | | | `deploymentId` | *string* | :heavy_check_mark: | The deployment ID | dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx | | `projectId` | *string* | :heavy_check_mark: | The unique identifier of the project | prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB | | `redirect` | *string* | :heavy_minus_sign: | Target destination domain for redirect when the alias is a redirect | | | `redirectStatusCode` | *number* | :heavy_minus_sign: | Status code to be used on redirect | | | `uid` | *string* | :heavy_check_mark: | The unique identifier of the alias | | | `updatedAt` | *number* | :heavy_minus_sign: | The date when the alias was updated in milliseconds since the UNIX epoch | 1540095775941 | -| `protectionBypass` | Record | :heavy_minus_sign: | The protection bypass for the alias | | \ No newline at end of file +| `protectionBypass` | Record | :heavy_minus_sign: | The protection bypass for the alias | | \ No newline at end of file diff --git a/docs/models/operations/getallcheckschecksresponse200applicationjsonsource.md b/docs/models/getallcheckschecksresponse200applicationjsonsource.md similarity index 84% rename from docs/models/operations/getallcheckschecksresponse200applicationjsonsource.md rename to docs/models/getallcheckschecksresponse200applicationjsonsource.md index 7a2665fa..3d4840f0 100644 --- a/docs/models/operations/getallcheckschecksresponse200applicationjsonsource.md +++ b/docs/models/getallcheckschecksresponse200applicationjsonsource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetAllChecksChecksResponse200ApplicationJSONSource } from "@vercel/sdk/models/operations/getallchecks.js"; +import { GetAllChecksChecksResponse200ApplicationJSONSource } from "@vercel/sdk/models/getallchecksop.js"; let value: GetAllChecksChecksResponse200ApplicationJSONSource = "web-vitals"; ``` diff --git a/docs/models/operations/getallcheckschecksresponse200source.md b/docs/models/getallcheckschecksresponse200source.md similarity index 86% rename from docs/models/operations/getallcheckschecksresponse200source.md rename to docs/models/getallcheckschecksresponse200source.md index 89f7b048..63055c99 100644 --- a/docs/models/operations/getallcheckschecksresponse200source.md +++ b/docs/models/getallcheckschecksresponse200source.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetAllChecksChecksResponse200Source } from "@vercel/sdk/models/operations/getallchecks.js"; +import { GetAllChecksChecksResponse200Source } from "@vercel/sdk/models/getallchecksop.js"; let value: GetAllChecksChecksResponse200Source = "web-vitals"; ``` diff --git a/docs/models/operations/getallcheckschecksresponsesource.md b/docs/models/getallcheckschecksresponsesource.md similarity index 87% rename from docs/models/operations/getallcheckschecksresponsesource.md rename to docs/models/getallcheckschecksresponsesource.md index c53d2321..5a9a2074 100644 --- a/docs/models/operations/getallcheckschecksresponsesource.md +++ b/docs/models/getallcheckschecksresponsesource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetAllChecksChecksResponseSource } from "@vercel/sdk/models/operations/getallchecks.js"; +import { GetAllChecksChecksResponseSource } from "@vercel/sdk/models/getallchecksop.js"; let value: GetAllChecksChecksResponseSource = "web-vitals"; ``` diff --git a/docs/models/getallcheckscheckssource.md b/docs/models/getallcheckscheckssource.md new file mode 100644 index 00000000..c3011e0d --- /dev/null +++ b/docs/models/getallcheckscheckssource.md @@ -0,0 +1,15 @@ +# GetAllChecksChecksSource + +## Example Usage + +```typescript +import { GetAllChecksChecksSource } from "@vercel/sdk/models/getallchecksop.js"; + +let value: GetAllChecksChecksSource = "web-vitals"; +``` + +## Values + +```typescript +"web-vitals" +``` \ No newline at end of file diff --git a/docs/models/getallcheckscls.md b/docs/models/getallcheckscls.md new file mode 100644 index 00000000..658d35ad --- /dev/null +++ b/docs/models/getallcheckscls.md @@ -0,0 +1,20 @@ +# GetAllChecksCLS + +## Example Usage + +```typescript +import { GetAllChecksCLS } from "@vercel/sdk/models/getallchecksop.js"; + +let value: GetAllChecksCLS = { + value: 2828.07, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.GetAllChecksChecksResponseSource](../models/getallcheckschecksresponsesource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getallchecksconclusion.md b/docs/models/getallchecksconclusion.md new file mode 100644 index 00000000..7986092e --- /dev/null +++ b/docs/models/getallchecksconclusion.md @@ -0,0 +1,15 @@ +# GetAllChecksConclusion + +## Example Usage + +```typescript +import { GetAllChecksConclusion } from "@vercel/sdk/models/getallchecksop.js"; + +let value: GetAllChecksConclusion = "succeeded"; +``` + +## Values + +```typescript +"canceled" | "failed" | "neutral" | "succeeded" | "skipped" | "stale" +``` \ No newline at end of file diff --git a/docs/models/getallchecksfcp.md b/docs/models/getallchecksfcp.md new file mode 100644 index 00000000..7ccaf8aa --- /dev/null +++ b/docs/models/getallchecksfcp.md @@ -0,0 +1,20 @@ +# GetAllChecksFCP + +## Example Usage + +```typescript +import { GetAllChecksFCP } from "@vercel/sdk/models/getallchecksop.js"; + +let value: GetAllChecksFCP = { + value: 7392.64, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.GetAllChecksSource](../models/getallcheckssource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getallcheckslcp.md b/docs/models/getallcheckslcp.md new file mode 100644 index 00000000..e3dce88c --- /dev/null +++ b/docs/models/getallcheckslcp.md @@ -0,0 +1,20 @@ +# GetAllChecksLCP + +## Example Usage + +```typescript +import { GetAllChecksLCP } from "@vercel/sdk/models/getallchecksop.js"; + +let value: GetAllChecksLCP = { + value: 391.88, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.GetAllChecksChecksSource](../models/getallcheckscheckssource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getallchecksmetrics.md b/docs/models/getallchecksmetrics.md new file mode 100644 index 00000000..9010cadb --- /dev/null +++ b/docs/models/getallchecksmetrics.md @@ -0,0 +1,36 @@ +# GetAllChecksMetrics + +## Example Usage + +```typescript +import { GetAllChecksMetrics } from "@vercel/sdk/models/getallchecksop.js"; + +let value: GetAllChecksMetrics = { + fcp: { + value: 1187.28, + source: "web-vitals", + }, + lcp: { + value: 3179.83, + source: "web-vitals", + }, + cls: { + value: 4142.63, + source: "web-vitals", + }, + tbt: { + value: 641.47, + source: "web-vitals", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `fcp` | [models.GetAllChecksFCP](../models/getallchecksfcp.md) | :heavy_check_mark: | N/A | +| `lcp` | [models.GetAllChecksLCP](../models/getallcheckslcp.md) | :heavy_check_mark: | N/A | +| `cls` | [models.GetAllChecksCLS](../models/getallcheckscls.md) | :heavy_check_mark: | N/A | +| `tbt` | [models.GetAllChecksTBT](../models/getallcheckstbt.md) | :heavy_check_mark: | N/A | +| `virtualExperienceScore` | [models.GetAllChecksVirtualExperienceScore](../models/getallchecksvirtualexperiencescore.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getallchecksoutput.md b/docs/models/getallchecksoutput.md new file mode 100644 index 00000000..6fe37015 --- /dev/null +++ b/docs/models/getallchecksoutput.md @@ -0,0 +1,15 @@ +# GetAllChecksOutput + +## Example Usage + +```typescript +import { GetAllChecksOutput } from "@vercel/sdk/models/getallchecksop.js"; + +let value: GetAllChecksOutput = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `metrics` | [models.GetAllChecksMetrics](../models/getallchecksmetrics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getallchecksrequest.md b/docs/models/getallchecksrequest.md similarity index 95% rename from docs/models/operations/getallchecksrequest.md rename to docs/models/getallchecksrequest.md index 2393d65b..e2a63ba3 100644 --- a/docs/models/operations/getallchecksrequest.md +++ b/docs/models/getallchecksrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetAllChecksRequest } from "@vercel/sdk/models/operations/getallchecks.js"; +import { GetAllChecksRequest } from "@vercel/sdk/models/getallchecksop.js"; let value: GetAllChecksRequest = { deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6", diff --git a/docs/models/getallchecksresponsebody.md b/docs/models/getallchecksresponsebody.md new file mode 100644 index 00000000..b242a0c1 --- /dev/null +++ b/docs/models/getallchecksresponsebody.md @@ -0,0 +1,27 @@ +# GetAllChecksResponseBody + +## Example Usage + +```typescript +import { GetAllChecksResponseBody } from "@vercel/sdk/models/getallchecksop.js"; + +let value: GetAllChecksResponseBody = { + checks: [ + { + createdAt: 939.41, + id: "", + integrationId: "", + name: "", + rerequestable: false, + status: "running", + updatedAt: 9292.96, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `checks` | [models.Checks](../models/checks.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getallcheckssource.md b/docs/models/getallcheckssource.md new file mode 100644 index 00000000..8a1f0dce --- /dev/null +++ b/docs/models/getallcheckssource.md @@ -0,0 +1,15 @@ +# GetAllChecksSource + +## Example Usage + +```typescript +import { GetAllChecksSource } from "@vercel/sdk/models/getallchecksop.js"; + +let value: GetAllChecksSource = "web-vitals"; +``` + +## Values + +```typescript +"web-vitals" +``` \ No newline at end of file diff --git a/docs/models/getallchecksstatus.md b/docs/models/getallchecksstatus.md new file mode 100644 index 00000000..9505057e --- /dev/null +++ b/docs/models/getallchecksstatus.md @@ -0,0 +1,15 @@ +# GetAllChecksStatus + +## Example Usage + +```typescript +import { GetAllChecksStatus } from "@vercel/sdk/models/getallchecksop.js"; + +let value: GetAllChecksStatus = "completed"; +``` + +## Values + +```typescript +"registered" | "running" | "completed" +``` \ No newline at end of file diff --git a/docs/models/getallcheckstbt.md b/docs/models/getallcheckstbt.md new file mode 100644 index 00000000..d28e629f --- /dev/null +++ b/docs/models/getallcheckstbt.md @@ -0,0 +1,20 @@ +# GetAllChecksTBT + +## Example Usage + +```typescript +import { GetAllChecksTBT } from "@vercel/sdk/models/getallchecksop.js"; + +let value: GetAllChecksTBT = { + value: 1201.97, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.GetAllChecksChecksResponse200Source](../models/getallcheckschecksresponse200source.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getallchecksvirtualexperiencescore.md b/docs/models/getallchecksvirtualexperiencescore.md new file mode 100644 index 00000000..513064b4 --- /dev/null +++ b/docs/models/getallchecksvirtualexperiencescore.md @@ -0,0 +1,20 @@ +# GetAllChecksVirtualExperienceScore + +## Example Usage + +```typescript +import { GetAllChecksVirtualExperienceScore } from "@vercel/sdk/models/getallchecksop.js"; + +let value: GetAllChecksVirtualExperienceScore = { + value: 2961.40, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.GetAllChecksChecksResponse200ApplicationJSONSource](../models/getallcheckschecksresponse200applicationjsonsource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainscreatedfrom.md b/docs/models/getalllogdrainscreatedfrom.md new file mode 100644 index 00000000..9a82888d --- /dev/null +++ b/docs/models/getalllogdrainscreatedfrom.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsCreatedFrom + +## Example Usage + +```typescript +import { GetAllLogDrainsCreatedFrom } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsCreatedFrom = "self-served"; +``` + +## Values + +```typescript +"self-served" | "integration" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliveryformat.md b/docs/models/getalllogdrainsdeliveryformat.md new file mode 100644 index 00000000..fbd3b1f9 --- /dev/null +++ b/docs/models/getalllogdrainsdeliveryformat.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDeliveryFormat + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryFormat } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryFormat = "ndjson"; +``` + +## Values + +```typescript +"json" | "ndjson" | "syslog" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdisabledreason.md b/docs/models/getalllogdrainsdisabledreason.md new file mode 100644 index 00000000..1d65692b --- /dev/null +++ b/docs/models/getalllogdrainsdisabledreason.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDisabledReason + +## Example Usage + +```typescript +import { GetAllLogDrainsDisabledReason } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDisabledReason = "feature-not-available"; +``` + +## Values + +```typescript +"disabled-by-owner" | "feature-not-available" | "account-plan-downgrade" | "disabled-by-admin" +``` \ No newline at end of file diff --git a/docs/models/operations/getalllogdrainsenvironments.md b/docs/models/getalllogdrainsenvironments.md similarity index 88% rename from docs/models/operations/getalllogdrainsenvironments.md rename to docs/models/getalllogdrainsenvironments.md index c9f874e1..a81172aa 100644 --- a/docs/models/operations/getalllogdrainsenvironments.md +++ b/docs/models/getalllogdrainsenvironments.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetAllLogDrainsEnvironments } from "@vercel/sdk/models/operations/getalllogdrains.js"; +import { GetAllLogDrainsEnvironments } from "@vercel/sdk/models/getalllogdrainsop.js"; let value: GetAllLogDrainsEnvironments = "production"; ``` diff --git a/docs/models/operations/getalllogdrainsrequest.md b/docs/models/getalllogdrainsrequest.md similarity index 93% rename from docs/models/operations/getalllogdrainsrequest.md rename to docs/models/getalllogdrainsrequest.md index 8c903e1e..376ae9a5 100644 --- a/docs/models/operations/getalllogdrainsrequest.md +++ b/docs/models/getalllogdrainsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetAllLogDrainsRequest } from "@vercel/sdk/models/operations/getalllogdrains.js"; +import { GetAllLogDrainsRequest } from "@vercel/sdk/models/getalllogdrainsop.js"; let value: GetAllLogDrainsRequest = {}; ``` diff --git a/docs/models/getalllogdrainsresponsebody.md b/docs/models/getalllogdrainsresponsebody.md new file mode 100644 index 00000000..6f6d7ec5 --- /dev/null +++ b/docs/models/getalllogdrainsresponsebody.md @@ -0,0 +1,50 @@ +# GetAllLogDrainsResponseBody + +## Example Usage + +```typescript +import { GetAllLogDrainsResponseBody } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsResponseBody = { + id: "", + deliveryFormat: "ndjson", + url: "https://lined-soybean.biz/", + name: "", + ownerId: "", + createdAt: 4266.91, + deletedAt: 6104.90, + updatedAt: 5456.29, + environments: [ + "preview", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `deliveryFormat` | [models.GetAllLogDrainsDeliveryFormat](../models/getalllogdrainsdeliveryformat.md) | :heavy_check_mark: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `clientId` | *string* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `deletedAt` | *number* | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `sources` | [models.GetAllLogDrainsSources](../models/getalllogdrainssources.md)[] | :heavy_minus_sign: | N/A | +| `headers` | Record | :heavy_minus_sign: | N/A | +| `environments` | [models.GetAllLogDrainsEnvironments](../models/getalllogdrainsenvironments.md)[] | :heavy_check_mark: | N/A | +| `status` | [models.GetAllLogDrainsStatus](../models/getalllogdrainsstatus.md) | :heavy_minus_sign: | N/A | +| `disabledAt` | *number* | :heavy_minus_sign: | N/A | +| `disabledReason` | [models.GetAllLogDrainsDisabledReason](../models/getalllogdrainsdisabledreason.md) | :heavy_minus_sign: | N/A | +| `disabledBy` | *string* | :heavy_minus_sign: | N/A | +| `firstErrorTimestamp` | *number* | :heavy_minus_sign: | N/A | +| `samplingRate` | *number* | :heavy_minus_sign: | N/A | +| `hideIpAddresses` | *boolean* | :heavy_minus_sign: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | +| `createdFrom` | [models.GetAllLogDrainsCreatedFrom](../models/getalllogdrainscreatedfrom.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainssources.md b/docs/models/getalllogdrainssources.md new file mode 100644 index 00000000..00378575 --- /dev/null +++ b/docs/models/getalllogdrainssources.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsSources + +## Example Usage + +```typescript +import { GetAllLogDrainsSources } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsSources = "edge"; +``` + +## Values + +```typescript +"build" | "edge" | "lambda" | "static" | "external" | "firewall" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsstatus.md b/docs/models/getalllogdrainsstatus.md new file mode 100644 index 00000000..01a43d2c --- /dev/null +++ b/docs/models/getalllogdrainsstatus.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsStatus + +## Example Usage + +```typescript +import { GetAllLogDrainsStatus } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsStatus = "errored"; +``` + +## Values + +```typescript +"enabled" | "disabled" | "errored" +``` \ No newline at end of file diff --git a/docs/models/operations/getauthtokenrequest.md b/docs/models/getauthtokenrequest.md similarity index 97% rename from docs/models/operations/getauthtokenrequest.md rename to docs/models/getauthtokenrequest.md index 81480770..4490c54e 100644 --- a/docs/models/operations/getauthtokenrequest.md +++ b/docs/models/getauthtokenrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetAuthTokenRequest } from "@vercel/sdk/models/operations/getauthtoken.js"; +import { GetAuthTokenRequest } from "@vercel/sdk/models/getauthtokenop.js"; let value: GetAuthTokenRequest = { tokenId: "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", diff --git a/docs/models/getauthtokenresponsebody.md b/docs/models/getauthtokenresponsebody.md new file mode 100644 index 00000000..9a4f3548 --- /dev/null +++ b/docs/models/getauthtokenresponsebody.md @@ -0,0 +1,27 @@ +# GetAuthTokenResponseBody + +Successful response. + +## Example Usage + +```typescript +import { GetAuthTokenResponseBody } from "@vercel/sdk/models/getauthtokenop.js"; + +let value: GetAuthTokenResponseBody = { + token: { + id: "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", + name: "", + type: "oauth2-token", + origin: "github", + expiresAt: 1632816536002, + activeAt: 1632816536002, + createdAt: 1632816536002, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `token` | [models.AuthToken](../models/authtoken.md) | :heavy_check_mark: | Authentication token metadata. | \ No newline at end of file diff --git a/docs/models/getauthuserresponsebody.md b/docs/models/getauthuserresponsebody.md new file mode 100644 index 00000000..16cd3db2 --- /dev/null +++ b/docs/models/getauthuserresponsebody.md @@ -0,0 +1,36 @@ +# GetAuthUserResponseBody + +Successful response. + +## Example Usage + +```typescript +import { GetAuthUserResponseBody } from "@vercel/sdk/models/getauthuserop.js"; + +let value: GetAuthUserResponseBody = { + user: { + createdAt: 1630748523395, + softBlock: { + blockedAt: 7284.74, + reason: "BLOCKED_FOR_PLATFORM_ABUSE", + }, + billing: {}, + resourceConfig: {}, + stagingPrefix: "", + hasTrialAvailable: false, + id: "AEIIDYVk59zbFF2Sxfyxxmua", + email: "me@example.com", + name: "John Doe", + username: "jdoe", + avatar: "22cb30c85ff45ac4c72de8981500006b28114aa1", + defaultTeamId: "", + version: "northstar", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `user` | *models.User* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcertbyidrequest.md b/docs/models/getcertbyidrequest.md similarity index 94% rename from docs/models/operations/getcertbyidrequest.md rename to docs/models/getcertbyidrequest.md index 84ed2aae..a65489e6 100644 --- a/docs/models/operations/getcertbyidrequest.md +++ b/docs/models/getcertbyidrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetCertByIdRequest } from "@vercel/sdk/models/operations/getcertbyid.js"; +import { GetCertByIdRequest } from "@vercel/sdk/models/getcertbyidop.js"; let value: GetCertByIdRequest = { id: "", diff --git a/docs/models/operations/getcertbyidresponsebody.md b/docs/models/getcertbyidresponsebody.md similarity index 85% rename from docs/models/operations/getcertbyidresponsebody.md rename to docs/models/getcertbyidresponsebody.md index 11355f61..5591147a 100644 --- a/docs/models/operations/getcertbyidresponsebody.md +++ b/docs/models/getcertbyidresponsebody.md @@ -3,12 +3,12 @@ ## Example Usage ```typescript -import { GetCertByIdResponseBody } from "@vercel/sdk/models/operations/getcertbyid.js"; +import { GetCertByIdResponseBody } from "@vercel/sdk/models/getcertbyidop.js"; let value: GetCertByIdResponseBody = { id: "", - createdAt: 4716.93, - expiresAt: 7583.65, + createdAt: 3056.95, + expiresAt: 6942.91, autoRenew: false, cns: [ "", diff --git a/docs/models/operations/getcheckchecksresponse200applicationjsonsource.md b/docs/models/getcheckchecksresponse200applicationjsonsource.md similarity index 85% rename from docs/models/operations/getcheckchecksresponse200applicationjsonsource.md rename to docs/models/getcheckchecksresponse200applicationjsonsource.md index 189da9c8..3522b620 100644 --- a/docs/models/operations/getcheckchecksresponse200applicationjsonsource.md +++ b/docs/models/getcheckchecksresponse200applicationjsonsource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetCheckChecksResponse200ApplicationJSONSource } from "@vercel/sdk/models/operations/getcheck.js"; +import { GetCheckChecksResponse200ApplicationJSONSource } from "@vercel/sdk/models/getcheckop.js"; let value: GetCheckChecksResponse200ApplicationJSONSource = "web-vitals"; ``` diff --git a/docs/models/operations/getcheckchecksresponse200source.md b/docs/models/getcheckchecksresponse200source.md similarity index 89% rename from docs/models/operations/getcheckchecksresponse200source.md rename to docs/models/getcheckchecksresponse200source.md index ea6beb61..a5c6327c 100644 --- a/docs/models/operations/getcheckchecksresponse200source.md +++ b/docs/models/getcheckchecksresponse200source.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetCheckChecksResponse200Source } from "@vercel/sdk/models/operations/getcheck.js"; +import { GetCheckChecksResponse200Source } from "@vercel/sdk/models/getcheckop.js"; let value: GetCheckChecksResponse200Source = "web-vitals"; ``` diff --git a/docs/models/operations/getcheckchecksresponsesource.md b/docs/models/getcheckchecksresponsesource.md similarity index 89% rename from docs/models/operations/getcheckchecksresponsesource.md rename to docs/models/getcheckchecksresponsesource.md index 5a3c832b..3a47f80c 100644 --- a/docs/models/operations/getcheckchecksresponsesource.md +++ b/docs/models/getcheckchecksresponsesource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetCheckChecksResponseSource } from "@vercel/sdk/models/operations/getcheck.js"; +import { GetCheckChecksResponseSource } from "@vercel/sdk/models/getcheckop.js"; let value: GetCheckChecksResponseSource = "web-vitals"; ``` diff --git a/docs/models/getcheckcheckssource.md b/docs/models/getcheckcheckssource.md new file mode 100644 index 00000000..340299d7 --- /dev/null +++ b/docs/models/getcheckcheckssource.md @@ -0,0 +1,15 @@ +# GetCheckChecksSource + +## Example Usage + +```typescript +import { GetCheckChecksSource } from "@vercel/sdk/models/getcheckop.js"; + +let value: GetCheckChecksSource = "web-vitals"; +``` + +## Values + +```typescript +"web-vitals" +``` \ No newline at end of file diff --git a/docs/models/getcheckcls.md b/docs/models/getcheckcls.md new file mode 100644 index 00000000..0e081f77 --- /dev/null +++ b/docs/models/getcheckcls.md @@ -0,0 +1,20 @@ +# GetCheckCLS + +## Example Usage + +```typescript +import { GetCheckCLS } from "@vercel/sdk/models/getcheckop.js"; + +let value: GetCheckCLS = { + value: 2894.06, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.GetCheckChecksResponseSource](../models/getcheckchecksresponsesource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getcheckconclusion.md b/docs/models/getcheckconclusion.md new file mode 100644 index 00000000..bf609889 --- /dev/null +++ b/docs/models/getcheckconclusion.md @@ -0,0 +1,15 @@ +# GetCheckConclusion + +## Example Usage + +```typescript +import { GetCheckConclusion } from "@vercel/sdk/models/getcheckop.js"; + +let value: GetCheckConclusion = "skipped"; +``` + +## Values + +```typescript +"canceled" | "failed" | "neutral" | "succeeded" | "skipped" | "stale" +``` \ No newline at end of file diff --git a/docs/models/getcheckfcp.md b/docs/models/getcheckfcp.md new file mode 100644 index 00000000..99b867f9 --- /dev/null +++ b/docs/models/getcheckfcp.md @@ -0,0 +1,20 @@ +# GetCheckFCP + +## Example Usage + +```typescript +import { GetCheckFCP } from "@vercel/sdk/models/getcheckop.js"; + +let value: GetCheckFCP = { + value: 1317.98, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.GetCheckSource](../models/getchecksource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getchecklcp.md b/docs/models/getchecklcp.md new file mode 100644 index 00000000..831c146e --- /dev/null +++ b/docs/models/getchecklcp.md @@ -0,0 +1,20 @@ +# GetCheckLCP + +## Example Usage + +```typescript +import { GetCheckLCP } from "@vercel/sdk/models/getcheckop.js"; + +let value: GetCheckLCP = { + value: 7163.27, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.GetCheckChecksSource](../models/getcheckcheckssource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getcheckmetrics.md b/docs/models/getcheckmetrics.md new file mode 100644 index 00000000..8fe1f686 --- /dev/null +++ b/docs/models/getcheckmetrics.md @@ -0,0 +1,36 @@ +# GetCheckMetrics + +## Example Usage + +```typescript +import { GetCheckMetrics } from "@vercel/sdk/models/getcheckop.js"; + +let value: GetCheckMetrics = { + fcp: { + value: 201.08, + source: "web-vitals", + }, + lcp: { + value: 8289.40, + source: "web-vitals", + }, + cls: { + value: 46.95, + source: "web-vitals", + }, + tbt: { + value: 6778.17, + source: "web-vitals", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `fcp` | [models.GetCheckFCP](../models/getcheckfcp.md) | :heavy_check_mark: | N/A | +| `lcp` | [models.GetCheckLCP](../models/getchecklcp.md) | :heavy_check_mark: | N/A | +| `cls` | [models.GetCheckCLS](../models/getcheckcls.md) | :heavy_check_mark: | N/A | +| `tbt` | [models.GetCheckTBT](../models/getchecktbt.md) | :heavy_check_mark: | N/A | +| `virtualExperienceScore` | [models.GetCheckVirtualExperienceScore](../models/getcheckvirtualexperiencescore.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getcheckoutput.md b/docs/models/getcheckoutput.md new file mode 100644 index 00000000..e991729c --- /dev/null +++ b/docs/models/getcheckoutput.md @@ -0,0 +1,15 @@ +# GetCheckOutput + +## Example Usage + +```typescript +import { GetCheckOutput } from "@vercel/sdk/models/getcheckop.js"; + +let value: GetCheckOutput = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `metrics` | [models.GetCheckMetrics](../models/getcheckmetrics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcheckrequest.md b/docs/models/getcheckrequest.md similarity index 96% rename from docs/models/operations/getcheckrequest.md rename to docs/models/getcheckrequest.md index 64283787..5067cf69 100644 --- a/docs/models/operations/getcheckrequest.md +++ b/docs/models/getcheckrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetCheckRequest } from "@vercel/sdk/models/operations/getcheck.js"; +import { GetCheckRequest } from "@vercel/sdk/models/getcheckop.js"; let value: GetCheckRequest = { deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6", diff --git a/docs/models/getcheckresponsebody.md b/docs/models/getcheckresponsebody.md new file mode 100644 index 00000000..4aeff5de --- /dev/null +++ b/docs/models/getcheckresponsebody.md @@ -0,0 +1,39 @@ +# GetCheckResponseBody + +## Example Usage + +```typescript +import { GetCheckResponseBody } from "@vercel/sdk/models/getcheckop.js"; + +let value: GetCheckResponseBody = { + id: "", + name: "", + status: "registered", + blocking: false, + integrationId: "", + deploymentId: "", + createdAt: 7351.94, + updatedAt: 9621.89, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `path` | *string* | :heavy_minus_sign: | N/A | +| `status` | [models.GetCheckStatus](../models/getcheckstatus.md) | :heavy_check_mark: | N/A | +| `conclusion` | [models.GetCheckConclusion](../models/getcheckconclusion.md) | :heavy_minus_sign: | N/A | +| `blocking` | *boolean* | :heavy_check_mark: | N/A | +| `output` | [models.GetCheckOutput](../models/getcheckoutput.md) | :heavy_minus_sign: | N/A | +| `detailsUrl` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `deploymentId` | *string* | :heavy_check_mark: | N/A | +| `externalId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `startedAt` | *number* | :heavy_minus_sign: | N/A | +| `completedAt` | *number* | :heavy_minus_sign: | N/A | +| `rerequestable` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getchecksource.md b/docs/models/getchecksource.md new file mode 100644 index 00000000..8f413d28 --- /dev/null +++ b/docs/models/getchecksource.md @@ -0,0 +1,15 @@ +# GetCheckSource + +## Example Usage + +```typescript +import { GetCheckSource } from "@vercel/sdk/models/getcheckop.js"; + +let value: GetCheckSource = "web-vitals"; +``` + +## Values + +```typescript +"web-vitals" +``` \ No newline at end of file diff --git a/docs/models/getcheckstatus.md b/docs/models/getcheckstatus.md new file mode 100644 index 00000000..aa38b59d --- /dev/null +++ b/docs/models/getcheckstatus.md @@ -0,0 +1,15 @@ +# GetCheckStatus + +## Example Usage + +```typescript +import { GetCheckStatus } from "@vercel/sdk/models/getcheckop.js"; + +let value: GetCheckStatus = "registered"; +``` + +## Values + +```typescript +"registered" | "running" | "completed" +``` \ No newline at end of file diff --git a/docs/models/getchecktbt.md b/docs/models/getchecktbt.md new file mode 100644 index 00000000..8619efd3 --- /dev/null +++ b/docs/models/getchecktbt.md @@ -0,0 +1,20 @@ +# GetCheckTBT + +## Example Usage + +```typescript +import { GetCheckTBT } from "@vercel/sdk/models/getcheckop.js"; + +let value: GetCheckTBT = { + value: 1831.91, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.GetCheckChecksResponse200Source](../models/getcheckchecksresponse200source.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getcheckvirtualexperiencescore.md b/docs/models/getcheckvirtualexperiencescore.md new file mode 100644 index 00000000..b470f940 --- /dev/null +++ b/docs/models/getcheckvirtualexperiencescore.md @@ -0,0 +1,20 @@ +# GetCheckVirtualExperienceScore + +## Example Usage + +```typescript +import { GetCheckVirtualExperienceScore } from "@vercel/sdk/models/getcheckop.js"; + +let value: GetCheckVirtualExperienceScore = { + value: 5865.13, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.GetCheckChecksResponse200ApplicationJSONSource](../models/getcheckchecksresponse200applicationjsonsource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getconfigurablelogdraincreatedfrom.md b/docs/models/getconfigurablelogdraincreatedfrom.md similarity index 83% rename from docs/models/operations/getconfigurablelogdraincreatedfrom.md rename to docs/models/getconfigurablelogdraincreatedfrom.md index 9870e976..f70e6076 100644 --- a/docs/models/operations/getconfigurablelogdraincreatedfrom.md +++ b/docs/models/getconfigurablelogdraincreatedfrom.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetConfigurableLogDrainCreatedFrom } from "@vercel/sdk/models/operations/getconfigurablelogdrain.js"; +import { GetConfigurableLogDrainCreatedFrom } from "@vercel/sdk/models/getconfigurablelogdrainop.js"; let value: GetConfigurableLogDrainCreatedFrom = "self-served"; ``` diff --git a/docs/models/operations/getconfigurablelogdraindeliveryformat.md b/docs/models/getconfigurablelogdraindeliveryformat.md similarity index 83% rename from docs/models/operations/getconfigurablelogdraindeliveryformat.md rename to docs/models/getconfigurablelogdraindeliveryformat.md index e83baf55..22c41d29 100644 --- a/docs/models/operations/getconfigurablelogdraindeliveryformat.md +++ b/docs/models/getconfigurablelogdraindeliveryformat.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetConfigurableLogDrainDeliveryFormat } from "@vercel/sdk/models/operations/getconfigurablelogdrain.js"; +import { GetConfigurableLogDrainDeliveryFormat } from "@vercel/sdk/models/getconfigurablelogdrainop.js"; let value: GetConfigurableLogDrainDeliveryFormat = "ndjson"; ``` diff --git a/docs/models/getconfigurablelogdrainenvironments.md b/docs/models/getconfigurablelogdrainenvironments.md new file mode 100644 index 00000000..8bd10e70 --- /dev/null +++ b/docs/models/getconfigurablelogdrainenvironments.md @@ -0,0 +1,15 @@ +# GetConfigurableLogDrainEnvironments + +## Example Usage + +```typescript +import { GetConfigurableLogDrainEnvironments } from "@vercel/sdk/models/getconfigurablelogdrainop.js"; + +let value: GetConfigurableLogDrainEnvironments = "preview"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/operations/getconfigurablelogdrainrequest.md b/docs/models/getconfigurablelogdrainrequest.md similarity index 97% rename from docs/models/operations/getconfigurablelogdrainrequest.md rename to docs/models/getconfigurablelogdrainrequest.md index cc5c7613..2e43d2bd 100644 --- a/docs/models/operations/getconfigurablelogdrainrequest.md +++ b/docs/models/getconfigurablelogdrainrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetConfigurableLogDrainRequest } from "@vercel/sdk/models/operations/getconfigurablelogdrain.js"; +import { GetConfigurableLogDrainRequest } from "@vercel/sdk/models/getconfigurablelogdrainop.js"; let value: GetConfigurableLogDrainRequest = { id: "", diff --git a/docs/models/getconfigurablelogdrainresponsebody.md b/docs/models/getconfigurablelogdrainresponsebody.md new file mode 100644 index 00000000..319fa135 --- /dev/null +++ b/docs/models/getconfigurablelogdrainresponsebody.md @@ -0,0 +1,51 @@ +# GetConfigurableLogDrainResponseBody + +## Example Usage + +```typescript +import { GetConfigurableLogDrainResponseBody } from "@vercel/sdk/models/getconfigurablelogdrainop.js"; + +let value: GetConfigurableLogDrainResponseBody = { + id: "", + deliveryFormat: "json", + url: "https://optimal-redesign.net", + name: "", + ownerId: "", + createdAt: 9682.12, + deletedAt: 2953.07, + updatedAt: 7053.07, + environments: [ + "production", + ], + secret: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `deliveryFormat` | [models.GetConfigurableLogDrainDeliveryFormat](../models/getconfigurablelogdraindeliveryformat.md) | :heavy_check_mark: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `clientId` | *string* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `deletedAt` | *number* | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `sources` | [models.GetConfigurableLogDrainSources](../models/getconfigurablelogdrainsources.md)[] | :heavy_minus_sign: | N/A | +| `headers` | Record | :heavy_minus_sign: | N/A | +| `environments` | [models.GetConfigurableLogDrainEnvironments](../models/getconfigurablelogdrainenvironments.md)[] | :heavy_check_mark: | N/A | +| `status` | [models.GetConfigurableLogDrainStatus](../models/getconfigurablelogdrainstatus.md) | :heavy_minus_sign: | N/A | +| `disabledAt` | *number* | :heavy_minus_sign: | N/A | +| `disabledReason` | [models.DisabledReason](../models/disabledreason.md) | :heavy_minus_sign: | N/A | +| `disabledBy` | *string* | :heavy_minus_sign: | N/A | +| `firstErrorTimestamp` | *number* | :heavy_minus_sign: | N/A | +| `samplingRate` | *number* | :heavy_minus_sign: | N/A | +| `hideIpAddresses` | *boolean* | :heavy_minus_sign: | N/A | +| `secret` | *string* | :heavy_check_mark: | N/A | +| `createdFrom` | [models.GetConfigurableLogDrainCreatedFrom](../models/getconfigurablelogdraincreatedfrom.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurablelogdrainsources.md b/docs/models/getconfigurablelogdrainsources.md new file mode 100644 index 00000000..945837cd --- /dev/null +++ b/docs/models/getconfigurablelogdrainsources.md @@ -0,0 +1,15 @@ +# GetConfigurableLogDrainSources + +## Example Usage + +```typescript +import { GetConfigurableLogDrainSources } from "@vercel/sdk/models/getconfigurablelogdrainop.js"; + +let value: GetConfigurableLogDrainSources = "lambda"; +``` + +## Values + +```typescript +"build" | "edge" | "lambda" | "static" | "external" | "firewall" +``` \ No newline at end of file diff --git a/docs/models/getconfigurablelogdrainstatus.md b/docs/models/getconfigurablelogdrainstatus.md new file mode 100644 index 00000000..127de6ef --- /dev/null +++ b/docs/models/getconfigurablelogdrainstatus.md @@ -0,0 +1,15 @@ +# GetConfigurableLogDrainStatus + +## Example Usage + +```typescript +import { GetConfigurableLogDrainStatus } from "@vercel/sdk/models/getconfigurablelogdrainop.js"; + +let value: GetConfigurableLogDrainStatus = "errored"; +``` + +## Values + +```typescript +"enabled" | "disabled" | "errored" +``` \ No newline at end of file diff --git a/docs/models/operations/getconfigurationrequest.md b/docs/models/getconfigurationrequest.md similarity index 94% rename from docs/models/operations/getconfigurationrequest.md rename to docs/models/getconfigurationrequest.md index 16e93c2a..d30d8b76 100644 --- a/docs/models/operations/getconfigurationrequest.md +++ b/docs/models/getconfigurationrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetConfigurationRequest } from "@vercel/sdk/models/operations/getconfiguration.js"; +import { GetConfigurationRequest } from "@vercel/sdk/models/getconfigurationop.js"; let value: GetConfigurationRequest = { id: "icfg_cuwj0AdCdH3BwWT4LPijCC7t", diff --git a/docs/models/operations/getconfigurationresponsebody.md b/docs/models/getconfigurationresponsebody.md similarity index 86% rename from docs/models/operations/getconfigurationresponsebody.md rename to docs/models/getconfigurationresponsebody.md index 237802dd..fd1814e6 100644 --- a/docs/models/operations/getconfigurationresponsebody.md +++ b/docs/models/getconfigurationresponsebody.md @@ -5,10 +5,10 @@ The configuration with the provided id ## Supported Types -### `operations.GetConfigurationResponseBody1` +### `models.GetConfigurationResponseBody1` ```typescript -const value: operations.GetConfigurationResponseBody1 = { +const value: models.GetConfigurationResponseBody1 = { completedAt: 1558531915505, createdAt: 1558531915505, id: "icfg_3bwCLgxL8qt5kjRLcv2Dit7F", @@ -33,10 +33,10 @@ const value: operations.GetConfigurationResponseBody1 = { }; ``` -### `operations.GetConfigurationResponseBody2` +### `models.GetConfigurationResponseBody2` ```typescript -const value: operations.GetConfigurationResponseBody2 = { +const value: models.GetConfigurationResponseBody2 = { projectSelection: "all", projects: [ "prj_xQxbutw1HpL6HLYPAzt5h75m8NjO", diff --git a/docs/models/operations/getconfigurationresponsebody1.md b/docs/models/getconfigurationresponsebody1.md similarity index 97% rename from docs/models/operations/getconfigurationresponsebody1.md rename to docs/models/getconfigurationresponsebody1.md index 247357a3..74d3f60f 100644 --- a/docs/models/operations/getconfigurationresponsebody1.md +++ b/docs/models/getconfigurationresponsebody1.md @@ -5,7 +5,7 @@ The configuration with the provided id ## Example Usage ```typescript -import { GetConfigurationResponseBody1 } from "@vercel/sdk/models/operations/getconfiguration.js"; +import { GetConfigurationResponseBody1 } from "@vercel/sdk/models/getconfigurationop.js"; let value: GetConfigurationResponseBody1 = { completedAt: 1558531915505, @@ -36,7 +36,7 @@ let value: GetConfigurationResponseBody1 = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `billingPlan` | [operations.GetConfigurationResponseBodyBillingPlan](../../models/operations/getconfigurationresponsebodybillingplan.md) | :heavy_minus_sign: | N/A | | +| `billingPlan` | [models.GetConfigurationResponseBodyBillingPlan](../models/getconfigurationresponsebodybillingplan.md) | :heavy_minus_sign: | N/A | | | `billingTotal` | *string* | :heavy_minus_sign: | N/A | | | `periodStart` | *string* | :heavy_minus_sign: | N/A | | | `periodEnd` | *string* | :heavy_minus_sign: | N/A | | @@ -46,15 +46,15 @@ let value: GetConfigurationResponseBody1 = { | `integrationId` | *string* | :heavy_check_mark: | The unique identifier of the app the configuration was created for | oac_xzpVzcUOgcB1nrVlirtKhbWV | | `ownerId` | *string* | :heavy_check_mark: | The user or team ID that owns the configuration | kr1PsOIzqEL5Xg6M4VZcZosf | | `projects` | *string*[] | :heavy_minus_sign: | When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access. | [
"prj_xQxbutw1HpL6HLYPAzt5h75m8NjO"
] | -| `source` | [operations.GetConfigurationResponseBodySource](../../models/operations/getconfigurationresponsebodysource.md) | :heavy_minus_sign: | Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. | marketplace | +| `source` | [models.GetConfigurationResponseBodySource](../models/getconfigurationresponsebodysource.md) | :heavy_minus_sign: | Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. | marketplace | | `slug` | *string* | :heavy_check_mark: | The slug of the integration the configuration is created for. | slack | | `teamId` | *string* | :heavy_minus_sign: | When the configuration was created for a team, this will show the ID of the team. | team_nLlpyC6RE1qxydlFKbrxDlud | -| `type` | [operations.GetConfigurationResponseBodyType](../../models/operations/getconfigurationresponsebodytype.md) | :heavy_check_mark: | N/A | | +| `type` | [models.GetConfigurationResponseBodyType](../models/getconfigurationresponsebodytype.md) | :heavy_check_mark: | N/A | | | `updatedAt` | *number* | :heavy_check_mark: | A timestamp that tells you when the configuration was updated. | 1558531915505 | | `userId` | *string* | :heavy_check_mark: | The ID of the user that created the configuration. | kr1PsOIzqEL5Xg6M4VZcZosf | | `scopes` | *string*[] | :heavy_check_mark: | The resources that are allowed to be accessed by the configuration. | [
"read:project",
"read-write:log-drain"
] | | `disabledAt` | *number* | :heavy_minus_sign: | A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team. | 1558531915505 | | `deletedAt` | *number* | :heavy_minus_sign: | A timestamp that tells you when the configuration was deleted. | 1558531915505 | | `deleteRequestedAt` | *number* | :heavy_minus_sign: | A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid. | 1558531915505 | -| `disabledReason` | [operations.GetConfigurationResponseBodyDisabledReason](../../models/operations/getconfigurationresponsebodydisabledreason.md) | :heavy_minus_sign: | N/A | | -| `installationType` | [operations.GetConfigurationResponseBodyInstallationType](../../models/operations/getconfigurationresponsebodyinstallationtype.md) | :heavy_minus_sign: | Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' | | \ No newline at end of file +| `disabledReason` | [models.GetConfigurationResponseBodyDisabledReason](../models/getconfigurationresponsebodydisabledreason.md) | :heavy_minus_sign: | N/A | | +| `installationType` | [models.GetConfigurationResponseBodyInstallationType](../models/getconfigurationresponsebodyinstallationtype.md) | :heavy_minus_sign: | Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' | | \ No newline at end of file diff --git a/docs/models/operations/getconfigurationresponsebody2.md b/docs/models/getconfigurationresponsebody2.md similarity index 96% rename from docs/models/operations/getconfigurationresponsebody2.md rename to docs/models/getconfigurationresponsebody2.md index fa10d07a..4fc6fd4d 100644 --- a/docs/models/operations/getconfigurationresponsebody2.md +++ b/docs/models/getconfigurationresponsebody2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetConfigurationResponseBody2 } from "@vercel/sdk/models/operations/getconfiguration.js"; +import { GetConfigurationResponseBody2 } from "@vercel/sdk/models/getconfigurationop.js"; let value: GetConfigurationResponseBody2 = { projectSelection: "all", @@ -35,23 +35,23 @@ let value: GetConfigurationResponseBody2 = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `projectSelection` | [operations.ProjectSelection](../../models/operations/projectselection.md) | :heavy_check_mark: | A string representing the permission for projects. Possible values are `all` or `selected`. | all | +| `projectSelection` | [models.ProjectSelection](../models/projectselection.md) | :heavy_check_mark: | A string representing the permission for projects. Possible values are `all` or `selected`. | all | | `projects` | *string*[] | :heavy_minus_sign: | When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access. | [
"prj_xQxbutw1HpL6HLYPAzt5h75m8NjO"
] | | `completedAt` | *number* | :heavy_minus_sign: | A timestamp that tells you when the configuration was installed successfully | 1558531915505 | | `createdAt` | *number* | :heavy_check_mark: | A timestamp that tells you when the configuration was created | 1558531915505 | | `id` | *string* | :heavy_check_mark: | The unique identifier of the configuration | icfg_3bwCLgxL8qt5kjRLcv2Dit7F | | `integrationId` | *string* | :heavy_check_mark: | The unique identifier of the app the configuration was created for | oac_xzpVzcUOgcB1nrVlirtKhbWV | | `ownerId` | *string* | :heavy_check_mark: | The user or team ID that owns the configuration | kr1PsOIzqEL5Xg6M4VZcZosf | -| `source` | [operations.GetConfigurationResponseBodyIntegrationsSource](../../models/operations/getconfigurationresponsebodyintegrationssource.md) | :heavy_minus_sign: | Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. | marketplace | +| `source` | [models.GetConfigurationResponseBodyIntegrationsSource](../models/getconfigurationresponsebodyintegrationssource.md) | :heavy_minus_sign: | Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. | marketplace | | `slug` | *string* | :heavy_check_mark: | The slug of the integration the configuration is created for. | slack | | `teamId` | *string* | :heavy_minus_sign: | When the configuration was created for a team, this will show the ID of the team. | team_nLlpyC6RE1qxydlFKbrxDlud | -| `type` | [operations.GetConfigurationResponseBodyIntegrationsType](../../models/operations/getconfigurationresponsebodyintegrationstype.md) | :heavy_check_mark: | N/A | | +| `type` | [models.GetConfigurationResponseBodyIntegrationsType](../models/getconfigurationresponsebodyintegrationstype.md) | :heavy_check_mark: | N/A | | | `updatedAt` | *number* | :heavy_check_mark: | A timestamp that tells you when the configuration was updated. | 1558531915505 | | `userId` | *string* | :heavy_check_mark: | The ID of the user that created the configuration. | kr1PsOIzqEL5Xg6M4VZcZosf | | `scopes` | *string*[] | :heavy_check_mark: | The resources that are allowed to be accessed by the configuration. | [
"read:project",
"read-write:log-drain"
] | | `disabledAt` | *number* | :heavy_minus_sign: | A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team. | 1558531915505 | | `deletedAt` | *number* | :heavy_minus_sign: | A timestamp that tells you when the configuration was deleted. | 1558531915505 | | `deleteRequestedAt` | *number* | :heavy_minus_sign: | A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid. | 1558531915505 | -| `disabledReason` | [operations.GetConfigurationResponseBodyIntegrationsDisabledReason](../../models/operations/getconfigurationresponsebodyintegrationsdisabledreason.md) | :heavy_minus_sign: | N/A | | -| `installationType` | [operations.GetConfigurationResponseBodyIntegrationsInstallationType](../../models/operations/getconfigurationresponsebodyintegrationsinstallationtype.md) | :heavy_minus_sign: | Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' | | +| `disabledReason` | [models.GetConfigurationResponseBodyIntegrationsDisabledReason](../models/getconfigurationresponsebodyintegrationsdisabledreason.md) | :heavy_minus_sign: | N/A | | +| `installationType` | [models.GetConfigurationResponseBodyIntegrationsInstallationType](../models/getconfigurationresponsebodyintegrationsinstallationtype.md) | :heavy_minus_sign: | Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' | | | `canConfigureOpenTelemetry` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/getconfigurationresponsebodybillingplan.md b/docs/models/getconfigurationresponsebodybillingplan.md new file mode 100644 index 00000000..d7b6ce3e --- /dev/null +++ b/docs/models/getconfigurationresponsebodybillingplan.md @@ -0,0 +1,31 @@ +# GetConfigurationResponseBodyBillingPlan + +## Example Usage + +```typescript +import { GetConfigurationResponseBodyBillingPlan } from "@vercel/sdk/models/getconfigurationop.js"; + +let value: GetConfigurationResponseBodyBillingPlan = { + id: "", + type: "subscription", + name: "", + description: "epic likewise gah boohoo concerning regularly stupendous anti", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `type` | [models.GetConfigurationResponseBodyIntegrationsResponseType](../models/getconfigurationresponsebodyintegrationsresponsetype.md) | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.GetConfigurationResponseBodyScope](../models/getconfigurationresponsebodyscope.md) | :heavy_minus_sign: | N/A | +| `description` | *string* | :heavy_check_mark: | N/A | +| `paymentMethodRequired` | *boolean* | :heavy_minus_sign: | N/A | +| `preauthorizationAmount` | *number* | :heavy_minus_sign: | N/A | +| `cost` | *string* | :heavy_minus_sign: | N/A | +| `details` | [models.GetConfigurationResponseBodyDetails](../models/getconfigurationresponsebodydetails.md)[] | :heavy_minus_sign: | N/A | +| `heightlightedDetails` | [models.GetConfigurationResponseBodyHeightlightedDetails](../models/getconfigurationresponsebodyheightlighteddetails.md)[] | :heavy_minus_sign: | N/A | +| `quote` | [models.GetConfigurationResponseBodyQuote](../models/getconfigurationresponsebodyquote.md)[] | :heavy_minus_sign: | N/A | +| `effectiveDate` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getconfigurationresponsebodydetails.md b/docs/models/getconfigurationresponsebodydetails.md similarity index 93% rename from docs/models/operations/getconfigurationresponsebodydetails.md rename to docs/models/getconfigurationresponsebodydetails.md index 555a47c0..508038c7 100644 --- a/docs/models/operations/getconfigurationresponsebodydetails.md +++ b/docs/models/getconfigurationresponsebodydetails.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetConfigurationResponseBodyDetails } from "@vercel/sdk/models/operations/getconfiguration.js"; +import { GetConfigurationResponseBodyDetails } from "@vercel/sdk/models/getconfigurationop.js"; let value: GetConfigurationResponseBodyDetails = { label: "", diff --git a/docs/models/getconfigurationresponsebodydisabledreason.md b/docs/models/getconfigurationresponsebodydisabledreason.md new file mode 100644 index 00000000..90af1bec --- /dev/null +++ b/docs/models/getconfigurationresponsebodydisabledreason.md @@ -0,0 +1,15 @@ +# GetConfigurationResponseBodyDisabledReason + +## Example Usage + +```typescript +import { GetConfigurationResponseBodyDisabledReason } from "@vercel/sdk/models/getconfigurationop.js"; + +let value: GetConfigurationResponseBodyDisabledReason = "disabled-by-owner"; +``` + +## Values + +```typescript +"disabled-by-owner" | "feature-not-available" | "disabled-by-admin" | "original-owner-left-the-team" | "account-plan-downgrade" | "original-owner-role-downgraded" +``` \ No newline at end of file diff --git a/docs/models/operations/getconfigurationresponsebodyheightlighteddetails.md b/docs/models/getconfigurationresponsebodyheightlighteddetails.md similarity index 91% rename from docs/models/operations/getconfigurationresponsebodyheightlighteddetails.md rename to docs/models/getconfigurationresponsebodyheightlighteddetails.md index f6751a19..d751a31b 100644 --- a/docs/models/operations/getconfigurationresponsebodyheightlighteddetails.md +++ b/docs/models/getconfigurationresponsebodyheightlighteddetails.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetConfigurationResponseBodyHeightlightedDetails } from "@vercel/sdk/models/operations/getconfiguration.js"; +import { GetConfigurationResponseBodyHeightlightedDetails } from "@vercel/sdk/models/getconfigurationop.js"; let value: GetConfigurationResponseBodyHeightlightedDetails = { label: "", diff --git a/docs/models/operations/getconfigurationresponsebodyinstallationtype.md b/docs/models/getconfigurationresponsebodyinstallationtype.md similarity index 79% rename from docs/models/operations/getconfigurationresponsebodyinstallationtype.md rename to docs/models/getconfigurationresponsebodyinstallationtype.md index 80d4a595..72e9ed9a 100644 --- a/docs/models/operations/getconfigurationresponsebodyinstallationtype.md +++ b/docs/models/getconfigurationresponsebodyinstallationtype.md @@ -5,9 +5,9 @@ Defines the installation type. - 'external' integrations are installed via the e ## Example Usage ```typescript -import { GetConfigurationResponseBodyInstallationType } from "@vercel/sdk/models/operations/getconfiguration.js"; +import { GetConfigurationResponseBodyInstallationType } from "@vercel/sdk/models/getconfigurationop.js"; -let value: GetConfigurationResponseBodyInstallationType = "external"; +let value: GetConfigurationResponseBodyInstallationType = "marketplace"; ``` ## Values diff --git a/docs/models/operations/getconfigurationresponsebodyintegrationsdisabledreason.md b/docs/models/getconfigurationresponsebodyintegrationsdisabledreason.md similarity index 81% rename from docs/models/operations/getconfigurationresponsebodyintegrationsdisabledreason.md rename to docs/models/getconfigurationresponsebodyintegrationsdisabledreason.md index dbf7ca81..07a95472 100644 --- a/docs/models/operations/getconfigurationresponsebodyintegrationsdisabledreason.md +++ b/docs/models/getconfigurationresponsebodyintegrationsdisabledreason.md @@ -3,10 +3,10 @@ ## Example Usage ```typescript -import { GetConfigurationResponseBodyIntegrationsDisabledReason } from "@vercel/sdk/models/operations/getconfiguration.js"; +import { GetConfigurationResponseBodyIntegrationsDisabledReason } from "@vercel/sdk/models/getconfigurationop.js"; let value: GetConfigurationResponseBodyIntegrationsDisabledReason = - "original-owner-left-the-team"; + "feature-not-available"; ``` ## Values diff --git a/docs/models/operations/getconfigurationresponsebodyintegrationsinstallationtype.md b/docs/models/getconfigurationresponsebodyintegrationsinstallationtype.md similarity index 87% rename from docs/models/operations/getconfigurationresponsebodyintegrationsinstallationtype.md rename to docs/models/getconfigurationresponsebodyintegrationsinstallationtype.md index 394df06f..2e25f0bf 100644 --- a/docs/models/operations/getconfigurationresponsebodyintegrationsinstallationtype.md +++ b/docs/models/getconfigurationresponsebodyintegrationsinstallationtype.md @@ -5,10 +5,10 @@ Defines the installation type. - 'external' integrations are installed via the e ## Example Usage ```typescript -import { GetConfigurationResponseBodyIntegrationsInstallationType } from "@vercel/sdk/models/operations/getconfiguration.js"; +import { GetConfigurationResponseBodyIntegrationsInstallationType } from "@vercel/sdk/models/getconfigurationop.js"; let value: GetConfigurationResponseBodyIntegrationsInstallationType = - "external"; + "marketplace"; ``` ## Values diff --git a/docs/models/operations/getconfigurationresponsebodyintegrationsresponsetype.md b/docs/models/getconfigurationresponsebodyintegrationsresponsetype.md similarity index 78% rename from docs/models/operations/getconfigurationresponsebodyintegrationsresponsetype.md rename to docs/models/getconfigurationresponsebodyintegrationsresponsetype.md index ff02e51a..f6824f12 100644 --- a/docs/models/operations/getconfigurationresponsebodyintegrationsresponsetype.md +++ b/docs/models/getconfigurationresponsebodyintegrationsresponsetype.md @@ -3,10 +3,9 @@ ## Example Usage ```typescript -import { GetConfigurationResponseBodyIntegrationsResponseType } from "@vercel/sdk/models/operations/getconfiguration.js"; +import { GetConfigurationResponseBodyIntegrationsResponseType } from "@vercel/sdk/models/getconfigurationop.js"; -let value: GetConfigurationResponseBodyIntegrationsResponseType = - "subscription"; +let value: GetConfigurationResponseBodyIntegrationsResponseType = "prepayment"; ``` ## Values diff --git a/docs/models/operations/getconfigurationresponsebodyintegrationssource.md b/docs/models/getconfigurationresponsebodyintegrationssource.md similarity index 89% rename from docs/models/operations/getconfigurationresponsebodyintegrationssource.md rename to docs/models/getconfigurationresponsebodyintegrationssource.md index 0918f207..f34c8944 100644 --- a/docs/models/operations/getconfigurationresponsebodyintegrationssource.md +++ b/docs/models/getconfigurationresponsebodyintegrationssource.md @@ -5,7 +5,7 @@ Source defines where the configuration was installed from. It is used to analyze ## Example Usage ```typescript -import { GetConfigurationResponseBodyIntegrationsSource } from "@vercel/sdk/models/operations/getconfiguration.js"; +import { GetConfigurationResponseBodyIntegrationsSource } from "@vercel/sdk/models/getconfigurationop.js"; let value: GetConfigurationResponseBodyIntegrationsSource = "marketplace"; ``` diff --git a/docs/models/operations/getconfigurationresponsebodyintegrationstype.md b/docs/models/getconfigurationresponsebodyintegrationstype.md similarity index 85% rename from docs/models/operations/getconfigurationresponsebodyintegrationstype.md rename to docs/models/getconfigurationresponsebodyintegrationstype.md index 606baad9..228dee7d 100644 --- a/docs/models/operations/getconfigurationresponsebodyintegrationstype.md +++ b/docs/models/getconfigurationresponsebodyintegrationstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetConfigurationResponseBodyIntegrationsType } from "@vercel/sdk/models/operations/getconfiguration.js"; +import { GetConfigurationResponseBodyIntegrationsType } from "@vercel/sdk/models/getconfigurationop.js"; let value: GetConfigurationResponseBodyIntegrationsType = "integration-configuration"; diff --git a/docs/models/operations/getconfigurationresponsebodyquote.md b/docs/models/getconfigurationresponsebodyquote.md similarity index 90% rename from docs/models/operations/getconfigurationresponsebodyquote.md rename to docs/models/getconfigurationresponsebodyquote.md index 6cd4bbf7..c0ebef4c 100644 --- a/docs/models/operations/getconfigurationresponsebodyquote.md +++ b/docs/models/getconfigurationresponsebodyquote.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { GetConfigurationResponseBodyQuote } from "@vercel/sdk/models/operations/getconfiguration.js"; +import { GetConfigurationResponseBodyQuote } from "@vercel/sdk/models/getconfigurationop.js"; let value: GetConfigurationResponseBodyQuote = { line: "", - amount: "500.83", + amount: "942.78", }; ``` diff --git a/docs/models/getconfigurationresponsebodyscope.md b/docs/models/getconfigurationresponsebodyscope.md new file mode 100644 index 00000000..a5903524 --- /dev/null +++ b/docs/models/getconfigurationresponsebodyscope.md @@ -0,0 +1,15 @@ +# GetConfigurationResponseBodyScope + +## Example Usage + +```typescript +import { GetConfigurationResponseBodyScope } from "@vercel/sdk/models/getconfigurationop.js"; + +let value: GetConfigurationResponseBodyScope = "resource"; +``` + +## Values + +```typescript +"installation" | "resource" +``` \ No newline at end of file diff --git a/docs/models/operations/getconfigurationresponsebodysource.md b/docs/models/getconfigurationresponsebodysource.md similarity index 91% rename from docs/models/operations/getconfigurationresponsebodysource.md rename to docs/models/getconfigurationresponsebodysource.md index 7e0ed7dc..db934f91 100644 --- a/docs/models/operations/getconfigurationresponsebodysource.md +++ b/docs/models/getconfigurationresponsebodysource.md @@ -5,7 +5,7 @@ Source defines where the configuration was installed from. It is used to analyze ## Example Usage ```typescript -import { GetConfigurationResponseBodySource } from "@vercel/sdk/models/operations/getconfiguration.js"; +import { GetConfigurationResponseBodySource } from "@vercel/sdk/models/getconfigurationop.js"; let value: GetConfigurationResponseBodySource = "marketplace"; ``` diff --git a/docs/models/operations/getconfigurationresponsebodytype.md b/docs/models/getconfigurationresponsebodytype.md similarity index 87% rename from docs/models/operations/getconfigurationresponsebodytype.md rename to docs/models/getconfigurationresponsebodytype.md index c7994a3c..7e30c540 100644 --- a/docs/models/operations/getconfigurationresponsebodytype.md +++ b/docs/models/getconfigurationresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetConfigurationResponseBodyType } from "@vercel/sdk/models/operations/getconfiguration.js"; +import { GetConfigurationResponseBodyType } from "@vercel/sdk/models/getconfigurationop.js"; let value: GetConfigurationResponseBodyType = "integration-configuration"; ``` diff --git a/docs/models/getconfigurationsrequest.md b/docs/models/getconfigurationsrequest.md new file mode 100644 index 00000000..8465b086 --- /dev/null +++ b/docs/models/getconfigurationsrequest.md @@ -0,0 +1,21 @@ +# GetConfigurationsRequest + +## Example Usage + +```typescript +import { GetConfigurationsRequest } from "@vercel/sdk/models/getconfigurationsop.js"; + +let value: GetConfigurationsRequest = { + view: "project", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `view` | [models.View](../models/view.md) | :heavy_check_mark: | N/A | +| `installationType` | [models.InstallationType](../models/installationtype.md) | :heavy_minus_sign: | N/A | +| `integrationIdOrSlug` | *string* | :heavy_minus_sign: | ID of the integration | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | \ No newline at end of file diff --git a/docs/models/operations/getconfigurationsresponsebody.md b/docs/models/getconfigurationsresponsebody.md similarity index 87% rename from docs/models/operations/getconfigurationsresponsebody.md rename to docs/models/getconfigurationsresponsebody.md index da30df64..1e5ed8d2 100644 --- a/docs/models/operations/getconfigurationsresponsebody.md +++ b/docs/models/getconfigurationsresponsebody.md @@ -5,10 +5,10 @@ The list of configurations for the authenticated user ## Supported Types -### `operations.GetConfigurationsResponseBody1[]` +### `models.GetConfigurationsResponseBody1[]` ```typescript -const value: operations.GetConfigurationsResponseBody1[] = [ +const value: models.GetConfigurationsResponseBody1[] = [ { completedAt: 1558531915505, createdAt: 1558531915505, @@ -34,10 +34,10 @@ const value: operations.GetConfigurationsResponseBody1[] = [ ]; ``` -### `operations.GetConfigurationsResponseBody2[]` +### `models.GetConfigurationsResponseBody2[]` ```typescript -const value: operations.GetConfigurationsResponseBody2[] = [ +const value: models.GetConfigurationsResponseBody2[] = [ { integration: { name: "", diff --git a/docs/models/operations/getconfigurationsresponsebody1.md b/docs/models/getconfigurationsresponsebody1.md similarity index 97% rename from docs/models/operations/getconfigurationsresponsebody1.md rename to docs/models/getconfigurationsresponsebody1.md index 340d7bf1..015c4353 100644 --- a/docs/models/operations/getconfigurationsresponsebody1.md +++ b/docs/models/getconfigurationsresponsebody1.md @@ -5,7 +5,7 @@ The list of configurations for the authenticated user ## Example Usage ```typescript -import { GetConfigurationsResponseBody1 } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { GetConfigurationsResponseBody1 } from "@vercel/sdk/models/getconfigurationsop.js"; let value: GetConfigurationsResponseBody1 = { completedAt: 1558531915505, @@ -41,19 +41,19 @@ let value: GetConfigurationsResponseBody1 = { | `integrationId` | *string* | :heavy_minus_sign: | The unique identifier of the app the configuration was created for | oac_xzpVzcUOgcB1nrVlirtKhbWV | | `ownerId` | *string* | :heavy_minus_sign: | The user or team ID that owns the configuration | kr1PsOIzqEL5Xg6M4VZcZosf | | `projects` | *string*[] | :heavy_minus_sign: | When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access. | [
"prj_xQxbutw1HpL6HLYPAzt5h75m8NjO"
] | -| `source` | [operations.GetConfigurationsResponseBodySource](../../models/operations/getconfigurationsresponsebodysource.md) | :heavy_minus_sign: | Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. | marketplace | +| `source` | [models.GetConfigurationsResponseBodySource](../models/getconfigurationsresponsebodysource.md) | :heavy_minus_sign: | Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. | marketplace | | `slug` | *string* | :heavy_minus_sign: | The slug of the integration the configuration is created for. | slack | | `teamId` | *string* | :heavy_minus_sign: | When the configuration was created for a team, this will show the ID of the team. | team_nLlpyC6RE1qxydlFKbrxDlud | -| `type` | [operations.GetConfigurationsResponseBodyType](../../models/operations/getconfigurationsresponsebodytype.md) | :heavy_minus_sign: | N/A | | +| `type` | [models.GetConfigurationsResponseBodyType](../models/getconfigurationsresponsebodytype.md) | :heavy_minus_sign: | N/A | | | `updatedAt` | *number* | :heavy_minus_sign: | A timestamp that tells you when the configuration was updated. | 1558531915505 | | `userId` | *string* | :heavy_minus_sign: | The ID of the user that created the configuration. | kr1PsOIzqEL5Xg6M4VZcZosf | | `scopes` | *string*[] | :heavy_minus_sign: | The resources that are allowed to be accessed by the configuration. | [
"read:project",
"read-write:log-drain"
] | | `disabledAt` | *number* | :heavy_minus_sign: | A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team. | 1558531915505 | | `deletedAt` | *number* | :heavy_minus_sign: | A timestamp that tells you when the configuration was deleted. | 1558531915505 | | `deleteRequestedAt` | *number* | :heavy_minus_sign: | A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid. | 1558531915505 | -| `disabledReason` | [operations.GetConfigurationsResponseBodyDisabledReason](../../models/operations/getconfigurationsresponsebodydisabledreason.md) | :heavy_minus_sign: | N/A | | -| `installationType` | [operations.ResponseBodyInstallationType](../../models/operations/responsebodyinstallationtype.md) | :heavy_minus_sign: | Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' | | -| `billingPlan` | [operations.BillingPlan](../../models/operations/billingplan.md) | :heavy_minus_sign: | N/A | | +| `disabledReason` | [models.GetConfigurationsResponseBodyDisabledReason](../models/getconfigurationsresponsebodydisabledreason.md) | :heavy_minus_sign: | N/A | | +| `installationType` | [models.ResponseBodyInstallationType](../models/responsebodyinstallationtype.md) | :heavy_minus_sign: | Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' | | +| `billingPlan` | [models.BillingPlan](../models/billingplan.md) | :heavy_minus_sign: | N/A | | | `billingTotal` | *string* | :heavy_minus_sign: | N/A | | | `periodStart` | *string* | :heavy_minus_sign: | N/A | | | `periodEnd` | *string* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/getconfigurationsresponsebody2.md b/docs/models/getconfigurationsresponsebody2.md similarity index 97% rename from docs/models/operations/getconfigurationsresponsebody2.md rename to docs/models/getconfigurationsresponsebody2.md index 46dbd987..e029f9b7 100644 --- a/docs/models/operations/getconfigurationsresponsebody2.md +++ b/docs/models/getconfigurationsresponsebody2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetConfigurationsResponseBody2 } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { GetConfigurationsResponseBody2 } from "@vercel/sdk/models/getconfigurationsop.js"; let value: GetConfigurationsResponseBody2 = { integration: { @@ -40,26 +40,26 @@ let value: GetConfigurationsResponseBody2 = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `integration` | [operations.Integration](../../models/operations/integration.md) | :heavy_check_mark: | N/A | | +| `integration` | [models.Integration](../models/integration.md) | :heavy_check_mark: | N/A | | | `completedAt` | *number* | :heavy_minus_sign: | A timestamp that tells you when the configuration was installed successfully | 1558531915505 | | `createdAt` | *number* | :heavy_check_mark: | A timestamp that tells you when the configuration was created | 1558531915505 | | `id` | *string* | :heavy_check_mark: | The unique identifier of the configuration | icfg_3bwCLgxL8qt5kjRLcv2Dit7F | | `integrationId` | *string* | :heavy_check_mark: | The unique identifier of the app the configuration was created for | oac_xzpVzcUOgcB1nrVlirtKhbWV | | `ownerId` | *string* | :heavy_check_mark: | The user or team ID that owns the configuration | kr1PsOIzqEL5Xg6M4VZcZosf | | `projects` | *string*[] | :heavy_minus_sign: | When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access. | [
"prj_xQxbutw1HpL6HLYPAzt5h75m8NjO"
] | -| `source` | [operations.GetConfigurationsResponseBodyIntegrationsSource](../../models/operations/getconfigurationsresponsebodyintegrationssource.md) | :heavy_minus_sign: | Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. | marketplace | +| `source` | [models.GetConfigurationsResponseBodyIntegrationsSource](../models/getconfigurationsresponsebodyintegrationssource.md) | :heavy_minus_sign: | Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. | marketplace | | `slug` | *string* | :heavy_check_mark: | The slug of the integration the configuration is created for. | slack | | `teamId` | *string* | :heavy_minus_sign: | When the configuration was created for a team, this will show the ID of the team. | team_nLlpyC6RE1qxydlFKbrxDlud | -| `type` | [operations.GetConfigurationsResponseBodyIntegrationsType](../../models/operations/getconfigurationsresponsebodyintegrationstype.md) | :heavy_check_mark: | N/A | | +| `type` | [models.GetConfigurationsResponseBodyIntegrationsType](../models/getconfigurationsresponsebodyintegrationstype.md) | :heavy_check_mark: | N/A | | | `updatedAt` | *number* | :heavy_check_mark: | A timestamp that tells you when the configuration was updated. | 1558531915505 | | `userId` | *string* | :heavy_check_mark: | The ID of the user that created the configuration. | kr1PsOIzqEL5Xg6M4VZcZosf | | `scopes` | *string*[] | :heavy_check_mark: | The resources that are allowed to be accessed by the configuration. | [
"read:project",
"read-write:log-drain"
] | | `disabledAt` | *number* | :heavy_minus_sign: | A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team. | 1558531915505 | | `deletedAt` | *number* | :heavy_minus_sign: | A timestamp that tells you when the configuration was deleted. | 1558531915505 | | `deleteRequestedAt` | *number* | :heavy_minus_sign: | A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid. | 1558531915505 | -| `disabledReason` | [operations.ResponseBodyDisabledReason](../../models/operations/responsebodydisabledreason.md) | :heavy_minus_sign: | N/A | | -| `installationType` | [operations.GetConfigurationsResponseBodyInstallationType](../../models/operations/getconfigurationsresponsebodyinstallationtype.md) | :heavy_minus_sign: | Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' | | -| `billingPlan` | [operations.ResponseBodyBillingPlan](../../models/operations/responsebodybillingplan.md) | :heavy_minus_sign: | N/A | | +| `disabledReason` | [models.ResponseBodyDisabledReason](../models/responsebodydisabledreason.md) | :heavy_minus_sign: | N/A | | +| `installationType` | [models.GetConfigurationsResponseBodyInstallationType](../models/getconfigurationsresponsebodyinstallationtype.md) | :heavy_minus_sign: | Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' | | +| `billingPlan` | [models.ResponseBodyBillingPlan](../models/responsebodybillingplan.md) | :heavy_minus_sign: | N/A | | | `billingTotal` | *string* | :heavy_minus_sign: | N/A | | | `periodStart` | *string* | :heavy_minus_sign: | N/A | | | `periodEnd` | *string* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/getconfigurationsresponsebodydisabledreason.md b/docs/models/getconfigurationsresponsebodydisabledreason.md similarity index 83% rename from docs/models/operations/getconfigurationsresponsebodydisabledreason.md rename to docs/models/getconfigurationsresponsebodydisabledreason.md index 3e4e92ea..9bf21753 100644 --- a/docs/models/operations/getconfigurationsresponsebodydisabledreason.md +++ b/docs/models/getconfigurationsresponsebodydisabledreason.md @@ -3,10 +3,10 @@ ## Example Usage ```typescript -import { GetConfigurationsResponseBodyDisabledReason } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { GetConfigurationsResponseBodyDisabledReason } from "@vercel/sdk/models/getconfigurationsop.js"; let value: GetConfigurationsResponseBodyDisabledReason = - "feature-not-available"; + "account-plan-downgrade"; ``` ## Values diff --git a/docs/models/operations/getconfigurationsresponsebodyinstallationtype.md b/docs/models/getconfigurationsresponsebodyinstallationtype.md similarity index 78% rename from docs/models/operations/getconfigurationsresponsebodyinstallationtype.md rename to docs/models/getconfigurationsresponsebodyinstallationtype.md index c49b7629..ca571bca 100644 --- a/docs/models/operations/getconfigurationsresponsebodyinstallationtype.md +++ b/docs/models/getconfigurationsresponsebodyinstallationtype.md @@ -5,9 +5,9 @@ Defines the installation type. - 'external' integrations are installed via the e ## Example Usage ```typescript -import { GetConfigurationsResponseBodyInstallationType } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { GetConfigurationsResponseBodyInstallationType } from "@vercel/sdk/models/getconfigurationsop.js"; -let value: GetConfigurationsResponseBodyInstallationType = "marketplace"; +let value: GetConfigurationsResponseBodyInstallationType = "external"; ``` ## Values diff --git a/docs/models/operations/getconfigurationsresponsebodyintegrationsresponse200type.md b/docs/models/getconfigurationsresponsebodyintegrationsresponse200type.md similarity index 83% rename from docs/models/operations/getconfigurationsresponsebodyintegrationsresponse200type.md rename to docs/models/getconfigurationsresponsebodyintegrationsresponse200type.md index 4ae909cc..8c0336ef 100644 --- a/docs/models/operations/getconfigurationsresponsebodyintegrationsresponse200type.md +++ b/docs/models/getconfigurationsresponsebodyintegrationsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetConfigurationsResponseBodyIntegrationsResponse200Type } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { GetConfigurationsResponseBodyIntegrationsResponse200Type } from "@vercel/sdk/models/getconfigurationsop.js"; let value: GetConfigurationsResponseBodyIntegrationsResponse200Type = "subscription"; diff --git a/docs/models/operations/getconfigurationsresponsebodyintegrationsresponsetype.md b/docs/models/getconfigurationsresponsebodyintegrationsresponsetype.md similarity index 83% rename from docs/models/operations/getconfigurationsresponsebodyintegrationsresponsetype.md rename to docs/models/getconfigurationsresponsebodyintegrationsresponsetype.md index a575440f..7604d087 100644 --- a/docs/models/operations/getconfigurationsresponsebodyintegrationsresponsetype.md +++ b/docs/models/getconfigurationsresponsebodyintegrationsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetConfigurationsResponseBodyIntegrationsResponseType } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { GetConfigurationsResponseBodyIntegrationsResponseType } from "@vercel/sdk/models/getconfigurationsop.js"; let value: GetConfigurationsResponseBodyIntegrationsResponseType = "prepayment"; ``` diff --git a/docs/models/operations/getconfigurationsresponsebodyintegrationssource.md b/docs/models/getconfigurationsresponsebodyintegrationssource.md similarity index 89% rename from docs/models/operations/getconfigurationsresponsebodyintegrationssource.md rename to docs/models/getconfigurationsresponsebodyintegrationssource.md index 40e108e8..f03d4bf0 100644 --- a/docs/models/operations/getconfigurationsresponsebodyintegrationssource.md +++ b/docs/models/getconfigurationsresponsebodyintegrationssource.md @@ -5,7 +5,7 @@ Source defines where the configuration was installed from. It is used to analyze ## Example Usage ```typescript -import { GetConfigurationsResponseBodyIntegrationsSource } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { GetConfigurationsResponseBodyIntegrationsSource } from "@vercel/sdk/models/getconfigurationsop.js"; let value: GetConfigurationsResponseBodyIntegrationsSource = "marketplace"; ``` diff --git a/docs/models/operations/getconfigurationsresponsebodyintegrationstype.md b/docs/models/getconfigurationsresponsebodyintegrationstype.md similarity index 85% rename from docs/models/operations/getconfigurationsresponsebodyintegrationstype.md rename to docs/models/getconfigurationsresponsebodyintegrationstype.md index 1f76d887..c9035131 100644 --- a/docs/models/operations/getconfigurationsresponsebodyintegrationstype.md +++ b/docs/models/getconfigurationsresponsebodyintegrationstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetConfigurationsResponseBodyIntegrationsType } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { GetConfigurationsResponseBodyIntegrationsType } from "@vercel/sdk/models/getconfigurationsop.js"; let value: GetConfigurationsResponseBodyIntegrationsType = "integration-configuration"; diff --git a/docs/models/operations/getconfigurationsresponsebodyscope.md b/docs/models/getconfigurationsresponsebodyscope.md similarity index 86% rename from docs/models/operations/getconfigurationsresponsebodyscope.md rename to docs/models/getconfigurationsresponsebodyscope.md index 35af986e..92361c50 100644 --- a/docs/models/operations/getconfigurationsresponsebodyscope.md +++ b/docs/models/getconfigurationsresponsebodyscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetConfigurationsResponseBodyScope } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { GetConfigurationsResponseBodyScope } from "@vercel/sdk/models/getconfigurationsop.js"; let value: GetConfigurationsResponseBodyScope = "resource"; ``` diff --git a/docs/models/operations/getconfigurationsresponsebodysource.md b/docs/models/getconfigurationsresponsebodysource.md similarity index 91% rename from docs/models/operations/getconfigurationsresponsebodysource.md rename to docs/models/getconfigurationsresponsebodysource.md index 552e189a..66859e02 100644 --- a/docs/models/operations/getconfigurationsresponsebodysource.md +++ b/docs/models/getconfigurationsresponsebodysource.md @@ -5,7 +5,7 @@ Source defines where the configuration was installed from. It is used to analyze ## Example Usage ```typescript -import { GetConfigurationsResponseBodySource } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { GetConfigurationsResponseBodySource } from "@vercel/sdk/models/getconfigurationsop.js"; let value: GetConfigurationsResponseBodySource = "marketplace"; ``` diff --git a/docs/models/operations/getconfigurationsresponsebodytype.md b/docs/models/getconfigurationsresponsebodytype.md similarity index 87% rename from docs/models/operations/getconfigurationsresponsebodytype.md rename to docs/models/getconfigurationsresponsebodytype.md index 9a2062db..ceff0bb1 100644 --- a/docs/models/operations/getconfigurationsresponsebodytype.md +++ b/docs/models/getconfigurationsresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetConfigurationsResponseBodyType } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { GetConfigurationsResponseBodyType } from "@vercel/sdk/models/getconfigurationsop.js"; let value: GetConfigurationsResponseBodyType = "integration-configuration"; ``` diff --git a/docs/models/operations/getdeploymentcustomenvironment1.md b/docs/models/getdeploymentcustomenvironment1.md similarity index 90% rename from docs/models/operations/getdeploymentcustomenvironment1.md rename to docs/models/getdeploymentcustomenvironment1.md index 1d8eb2ea..dbe70a91 100644 --- a/docs/models/operations/getdeploymentcustomenvironment1.md +++ b/docs/models/getdeploymentcustomenvironment1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentCustomEnvironment1 } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentCustomEnvironment1 } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentCustomEnvironment1 = {}; ``` diff --git a/docs/models/operations/getdeploymentcustomenvironment2.md b/docs/models/getdeploymentcustomenvironment2.md similarity index 93% rename from docs/models/operations/getdeploymentcustomenvironment2.md rename to docs/models/getdeploymentcustomenvironment2.md index 668fa419..f06008bb 100644 --- a/docs/models/operations/getdeploymentcustomenvironment2.md +++ b/docs/models/getdeploymentcustomenvironment2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentCustomEnvironment2 } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentCustomEnvironment2 } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentCustomEnvironment2 = { id: "", diff --git a/docs/models/operations/getdeploymentcustomenvironmentdeployments1.md b/docs/models/getdeploymentcustomenvironmentdeployments1.md similarity index 88% rename from docs/models/operations/getdeploymentcustomenvironmentdeployments1.md rename to docs/models/getdeploymentcustomenvironmentdeployments1.md index ca816362..d4a17e65 100644 --- a/docs/models/operations/getdeploymentcustomenvironmentdeployments1.md +++ b/docs/models/getdeploymentcustomenvironmentdeployments1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentCustomEnvironmentDeployments1 } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentCustomEnvironmentDeployments1 } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentCustomEnvironmentDeployments1 = {}; ``` diff --git a/docs/models/operations/getdeploymentcustomenvironmentdeployments2.md b/docs/models/getdeploymentcustomenvironmentdeployments2.md similarity index 91% rename from docs/models/operations/getdeploymentcustomenvironmentdeployments2.md rename to docs/models/getdeploymentcustomenvironmentdeployments2.md index 3fd4a05a..e57d8bd3 100644 --- a/docs/models/operations/getdeploymentcustomenvironmentdeployments2.md +++ b/docs/models/getdeploymentcustomenvironmentdeployments2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentCustomEnvironmentDeployments2 } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentCustomEnvironmentDeployments2 } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentCustomEnvironmentDeployments2 = { id: "", diff --git a/docs/models/operations/getdeploymenteventsrequest.md b/docs/models/getdeploymenteventsrequest.md similarity index 95% rename from docs/models/operations/getdeploymenteventsrequest.md rename to docs/models/getdeploymenteventsrequest.md index 8479ad5a..f4045ab3 100644 --- a/docs/models/operations/getdeploymenteventsrequest.md +++ b/docs/models/getdeploymenteventsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentEventsRequest } from "@vercel/sdk/models/operations/getdeploymentevents.js"; +import { GetDeploymentEventsRequest } from "@vercel/sdk/models/getdeploymenteventsop.js"; let value: GetDeploymentEventsRequest = { idOrUrl: "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd", @@ -24,13 +24,13 @@ let value: GetDeploymentEventsRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | | `idOrUrl` | *string* | :heavy_check_mark: | The unique identifier or hostname of the deployment. | dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd | -| `direction` | [operations.Direction](../../models/operations/direction.md) | :heavy_minus_sign: | Order of the returned events based on the timestamp. | backward | +| `direction` | [models.Direction](../models/direction.md) | :heavy_minus_sign: | Order of the returned events based on the timestamp. | backward | | `follow` | *number* | :heavy_minus_sign: | When enabled, this endpoint will return live events as they happen. | 1 | | `limit` | *number* | :heavy_minus_sign: | Maximum number of events to return. Provide `-1` to return all available logs. | 100 | | `name` | *string* | :heavy_minus_sign: | Deployment build ID. | bld_cotnkcr76 | | `since` | *number* | :heavy_minus_sign: | Timestamp for when build logs should be pulled from. | 1540095775941 | | `until` | *number* | :heavy_minus_sign: | Timestamp for when the build logs should be pulled up until. | 1540106318643 | -| `statusCode` | *operations.StatusCode* | :heavy_minus_sign: | HTTP status code range to filter events by. | 5xx | +| `statusCode` | *models.StatusCode* | :heavy_minus_sign: | HTTP status code range to filter events by. | 5xx | | `delimiter` | *number* | :heavy_minus_sign: | N/A | 1 | | `builds` | *number* | :heavy_minus_sign: | N/A | 1 | | `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | diff --git a/docs/models/operations/getdeploymentfilecontentsrequest.md b/docs/models/getdeploymentfilecontentsrequest.md similarity index 97% rename from docs/models/operations/getdeploymentfilecontentsrequest.md rename to docs/models/getdeploymentfilecontentsrequest.md index ff8300e3..a09da2c5 100644 --- a/docs/models/operations/getdeploymentfilecontentsrequest.md +++ b/docs/models/getdeploymentfilecontentsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentFileContentsRequest } from "@vercel/sdk/models/operations/getdeploymentfilecontents.js"; +import { GetDeploymentFileContentsRequest } from "@vercel/sdk/models/getdeploymentfilecontentsop.js"; let value: GetDeploymentFileContentsRequest = { id: "", diff --git a/docs/models/getdeploymentflags1.md b/docs/models/getdeploymentflags1.md new file mode 100644 index 00000000..e1c00f37 --- /dev/null +++ b/docs/models/getdeploymentflags1.md @@ -0,0 +1,19 @@ +# GetDeploymentFlags1 + +Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. + +## Example Usage + +```typescript +import { GetDeploymentFlags1 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentFlags1 = { + definitions: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `definitions` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentflags2.md b/docs/models/getdeploymentflags2.md similarity index 80% rename from docs/models/operations/getdeploymentflags2.md rename to docs/models/getdeploymentflags2.md index eba4f09f..4fe6cfbd 100644 --- a/docs/models/operations/getdeploymentflags2.md +++ b/docs/models/getdeploymentflags2.md @@ -5,7 +5,7 @@ Flags defined in the Build Output API, used by this deployment. Primarily used b ## Example Usage ```typescript -import { GetDeploymentFlags2 } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentFlags2 } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentFlags2 = {}; ``` diff --git a/docs/models/getdeploymentflagsdefinitions.md b/docs/models/getdeploymentflagsdefinitions.md new file mode 100644 index 00000000..ef6a5041 --- /dev/null +++ b/docs/models/getdeploymentflagsdefinitions.md @@ -0,0 +1,17 @@ +# GetDeploymentFlagsDefinitions + +## Example Usage + +```typescript +import { GetDeploymentFlagsDefinitions } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentFlagsDefinitions = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `options` | [models.GetDeploymentFlagsOptions](../models/getdeploymentflagsoptions.md)[] | :heavy_minus_sign: | N/A | +| `url` | *string* | :heavy_minus_sign: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentflagsoptions.md b/docs/models/getdeploymentflagsoptions.md new file mode 100644 index 00000000..1c2b0465 --- /dev/null +++ b/docs/models/getdeploymentflagsoptions.md @@ -0,0 +1,18 @@ +# GetDeploymentFlagsOptions + +## Example Usage + +```typescript +import { GetDeploymentFlagsOptions } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentFlagsOptions = { + value: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `value` | *models.FlagJSONValue* | :heavy_check_mark: | N/A | +| `label` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitrepo1.md b/docs/models/getdeploymentgitrepo1.md new file mode 100644 index 00000000..7398c997 --- /dev/null +++ b/docs/models/getdeploymentgitrepo1.md @@ -0,0 +1,33 @@ +# GetDeploymentGitRepo1 + +## Example Usage + +```typescript +import { GetDeploymentGitRepo1 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitRepo1 = { + namespace: "", + projectId: 5024.53, + type: "gitlab", + url: "https://creamy-saloon.name/", + path: "/var/tmp", + defaultBranch: "", + name: "", + private: false, + ownerType: "user", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `namespace` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *number* | :heavy_check_mark: | N/A | +| `type` | [models.GetDeploymentGitRepoDeploymentsResponseType](../models/getdeploymentgitrepodeploymentsresponsetype.md) | :heavy_check_mark: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | +| `path` | *string* | :heavy_check_mark: | N/A | +| `defaultBranch` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `private` | *boolean* | :heavy_check_mark: | N/A | +| `ownerType` | [models.GetDeploymentGitRepoDeploymentsOwnerType](../models/getdeploymentgitrepodeploymentsownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitrepo2.md b/docs/models/getdeploymentgitrepo2.md new file mode 100644 index 00000000..a350f60e --- /dev/null +++ b/docs/models/getdeploymentgitrepo2.md @@ -0,0 +1,35 @@ +# GetDeploymentGitRepo2 + +## Example Usage + +```typescript +import { GetDeploymentGitRepo2 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitRepo2 = { + org: "", + repo: "", + repoId: 411.80, + type: "github", + repoOwnerId: 8164.21, + path: "/usr/local/src", + defaultBranch: "", + name: "", + private: false, + ownerType: "team", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `org` | *string* | :heavy_check_mark: | N/A | +| `repo` | *string* | :heavy_check_mark: | N/A | +| `repoId` | *number* | :heavy_check_mark: | N/A | +| `type` | [models.GetDeploymentGitRepoType](../models/getdeploymentgitrepotype.md) | :heavy_check_mark: | N/A | +| `repoOwnerId` | *number* | :heavy_check_mark: | N/A | +| `path` | *string* | :heavy_check_mark: | N/A | +| `defaultBranch` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `private` | *boolean* | :heavy_check_mark: | N/A | +| `ownerType` | [models.GetDeploymentGitRepoDeploymentsResponseOwnerType](../models/getdeploymentgitrepodeploymentsresponseownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitrepo3.md b/docs/models/getdeploymentgitrepo3.md new file mode 100644 index 00000000..e6e77025 --- /dev/null +++ b/docs/models/getdeploymentgitrepo3.md @@ -0,0 +1,35 @@ +# GetDeploymentGitRepo3 + +## Example Usage + +```typescript +import { GetDeploymentGitRepo3 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitRepo3 = { + owner: "", + repoUuid: "", + slug: "", + type: "bitbucket", + workspaceUuid: "", + path: "/usr/local/src", + defaultBranch: "", + name: "", + private: false, + ownerType: "team", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `owner` | *string* | :heavy_check_mark: | N/A | +| `repoUuid` | *string* | :heavy_check_mark: | N/A | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `type` | [models.GetDeploymentGitRepoDeploymentsType](../models/getdeploymentgitrepodeploymentstype.md) | :heavy_check_mark: | N/A | +| `workspaceUuid` | *string* | :heavy_check_mark: | N/A | +| `path` | *string* | :heavy_check_mark: | N/A | +| `defaultBranch` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `private` | *boolean* | :heavy_check_mark: | N/A | +| `ownerType` | [models.GetDeploymentGitRepoOwnerType](../models/getdeploymentgitrepoownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitrepodeploymentsownertype.md b/docs/models/getdeploymentgitrepodeploymentsownertype.md similarity index 85% rename from docs/models/operations/getdeploymentgitrepodeploymentsownertype.md rename to docs/models/getdeploymentgitrepodeploymentsownertype.md index 55abe723..1dea1e03 100644 --- a/docs/models/operations/getdeploymentgitrepodeploymentsownertype.md +++ b/docs/models/getdeploymentgitrepodeploymentsownertype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitRepoDeploymentsOwnerType } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitRepoDeploymentsOwnerType } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitRepoDeploymentsOwnerType = "user"; ``` diff --git a/docs/models/operations/getdeploymentgitrepodeploymentsresponseownertype.md b/docs/models/getdeploymentgitrepodeploymentsresponseownertype.md similarity index 84% rename from docs/models/operations/getdeploymentgitrepodeploymentsresponseownertype.md rename to docs/models/getdeploymentgitrepodeploymentsresponseownertype.md index b4de0e72..1cdc7630 100644 --- a/docs/models/operations/getdeploymentgitrepodeploymentsresponseownertype.md +++ b/docs/models/getdeploymentgitrepodeploymentsresponseownertype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitRepoDeploymentsResponseOwnerType } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitRepoDeploymentsResponseOwnerType } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitRepoDeploymentsResponseOwnerType = "user"; ``` diff --git a/docs/models/operations/getdeploymentgitrepodeploymentsresponsetype.md b/docs/models/getdeploymentgitrepodeploymentsresponsetype.md similarity index 84% rename from docs/models/operations/getdeploymentgitrepodeploymentsresponsetype.md rename to docs/models/getdeploymentgitrepodeploymentsresponsetype.md index f21efa28..4d8f0cf9 100644 --- a/docs/models/operations/getdeploymentgitrepodeploymentsresponsetype.md +++ b/docs/models/getdeploymentgitrepodeploymentsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitRepoDeploymentsResponseType } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitRepoDeploymentsResponseType } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitRepoDeploymentsResponseType = "gitlab"; ``` diff --git a/docs/models/operations/getdeploymentgitrepodeploymentstype.md b/docs/models/getdeploymentgitrepodeploymentstype.md similarity index 86% rename from docs/models/operations/getdeploymentgitrepodeploymentstype.md rename to docs/models/getdeploymentgitrepodeploymentstype.md index 67f4fc51..80101a00 100644 --- a/docs/models/operations/getdeploymentgitrepodeploymentstype.md +++ b/docs/models/getdeploymentgitrepodeploymentstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitRepoDeploymentsType } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitRepoDeploymentsType } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitRepoDeploymentsType = "bitbucket"; ``` diff --git a/docs/models/operations/getdeploymentgitrepoownertype.md b/docs/models/getdeploymentgitrepoownertype.md similarity index 87% rename from docs/models/operations/getdeploymentgitrepoownertype.md rename to docs/models/getdeploymentgitrepoownertype.md index 70ba3e61..f1d7d64d 100644 --- a/docs/models/operations/getdeploymentgitrepoownertype.md +++ b/docs/models/getdeploymentgitrepoownertype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitRepoOwnerType } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitRepoOwnerType } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitRepoOwnerType = "user"; ``` diff --git a/docs/models/getdeploymentgitrepotype.md b/docs/models/getdeploymentgitrepotype.md new file mode 100644 index 00000000..d1ccd6ac --- /dev/null +++ b/docs/models/getdeploymentgitrepotype.md @@ -0,0 +1,15 @@ +# GetDeploymentGitRepoType + +## Example Usage + +```typescript +import { GetDeploymentGitRepoType } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitRepoType = "github"; +``` + +## Values + +```typescript +"github" +``` \ No newline at end of file diff --git a/docs/models/getdeploymentgitsource1.md b/docs/models/getdeploymentgitsource1.md new file mode 100644 index 00000000..5e8230a1 --- /dev/null +++ b/docs/models/getdeploymentgitsource1.md @@ -0,0 +1,22 @@ +# GetDeploymentGitSource1 + +## Example Usage + +```typescript +import { GetDeploymentGitSource1 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSource1 = { + type: "github", + repoId: 3304.41, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type](../models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody2type.md) | :heavy_check_mark: | N/A | +| `repoId` | *models.GetDeploymentGitSourceDeploymentsRepoId* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsource2.md b/docs/models/getdeploymentgitsource2.md new file mode 100644 index 00000000..6973cfb4 --- /dev/null +++ b/docs/models/getdeploymentgitsource2.md @@ -0,0 +1,24 @@ +# GetDeploymentGitSource2 + +## Example Usage + +```typescript +import { GetDeploymentGitSource2 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSource2 = { + type: "github", + org: "", + repo: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type](../models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody22type.md) | :heavy_check_mark: | N/A | +| `org` | *string* | :heavy_check_mark: | N/A | +| `repo` | *string* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsource3.md b/docs/models/getdeploymentgitsource3.md new file mode 100644 index 00000000..ad0ef6cc --- /dev/null +++ b/docs/models/getdeploymentgitsource3.md @@ -0,0 +1,22 @@ +# GetDeploymentGitSource3 + +## Example Usage + +```typescript +import { GetDeploymentGitSource3 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSource3 = { + type: "gitlab", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type](../models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody23type.md) | :heavy_check_mark: | N/A | +| `projectId` | *models.GetDeploymentGitSourceDeploymentsProjectId* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsource4.md b/docs/models/getdeploymentgitsource4.md new file mode 100644 index 00000000..cb779fb8 --- /dev/null +++ b/docs/models/getdeploymentgitsource4.md @@ -0,0 +1,23 @@ +# GetDeploymentGitSource4 + +## Example Usage + +```typescript +import { GetDeploymentGitSource4 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSource4 = { + type: "bitbucket", + repoUuid: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type](../models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody24type.md) | :heavy_check_mark: | N/A | +| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | +| `repoUuid` | *string* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsource5.md b/docs/models/getdeploymentgitsource5.md new file mode 100644 index 00000000..31494eff --- /dev/null +++ b/docs/models/getdeploymentgitsource5.md @@ -0,0 +1,24 @@ +# GetDeploymentGitSource5 + +## Example Usage + +```typescript +import { GetDeploymentGitSource5 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSource5 = { + type: "bitbucket", + owner: "", + slug: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type](../models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody25type.md) | :heavy_check_mark: | N/A | +| `owner` | *string* | :heavy_check_mark: | N/A | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsource6.md b/docs/models/getdeploymentgitsource6.md new file mode 100644 index 00000000..d77ffedb --- /dev/null +++ b/docs/models/getdeploymentgitsource6.md @@ -0,0 +1,25 @@ +# GetDeploymentGitSource6 + +Allows custom git sources (local folder mounted to the container) in test mode + +## Example Usage + +```typescript +import { GetDeploymentGitSource6 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSource6 = { + type: "custom", + ref: "", + sha: "", + gitUrl: "https://wretched-newsprint.com", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type](../models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody26type.md) | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `gitUrl` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsource7.md b/docs/models/getdeploymentgitsource7.md new file mode 100644 index 00000000..89ac5330 --- /dev/null +++ b/docs/models/getdeploymentgitsource7.md @@ -0,0 +1,25 @@ +# GetDeploymentGitSource7 + +## Example Usage + +```typescript +import { GetDeploymentGitSource7 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSource7 = { + type: "github", + ref: "", + sha: "", + repoId: 6308.32, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type](../models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody27type.md) | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `repoId` | *number* | :heavy_check_mark: | N/A | +| `org` | *string* | :heavy_minus_sign: | N/A | +| `repo` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsource8.md b/docs/models/getdeploymentgitsource8.md new file mode 100644 index 00000000..e4411603 --- /dev/null +++ b/docs/models/getdeploymentgitsource8.md @@ -0,0 +1,23 @@ +# GetDeploymentGitSource8 + +## Example Usage + +```typescript +import { GetDeploymentGitSource8 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSource8 = { + type: "gitlab", + ref: "", + sha: "", + projectId: 1105.22, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type](../models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody28type.md) | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsource9.md b/docs/models/getdeploymentgitsource9.md new file mode 100644 index 00000000..7f54f376 --- /dev/null +++ b/docs/models/getdeploymentgitsource9.md @@ -0,0 +1,27 @@ +# GetDeploymentGitSource9 + +## Example Usage + +```typescript +import { GetDeploymentGitSource9 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSource9 = { + type: "bitbucket", + ref: "", + sha: "", + workspaceUuid: "", + repoUuid: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type](../models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody29type.md) | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `owner` | *string* | :heavy_minus_sign: | N/A | +| `slug` | *string* | :heavy_minus_sign: | N/A | +| `workspaceUuid` | *string* | :heavy_check_mark: | N/A | +| `repoUuid` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsourcedeployments1.md b/docs/models/getdeploymentgitsourcedeployments1.md new file mode 100644 index 00000000..72f1852f --- /dev/null +++ b/docs/models/getdeploymentgitsourcedeployments1.md @@ -0,0 +1,22 @@ +# GetDeploymentGitSourceDeployments1 + +## Example Usage + +```typescript +import { GetDeploymentGitSourceDeployments1 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSourceDeployments1 = { + type: "github", + repoId: 1355.48, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type](../models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody11type.md) | :heavy_check_mark: | N/A | +| `repoId` | *models.GetDeploymentGitSourceRepoId* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsourcedeployments2.md b/docs/models/getdeploymentgitsourcedeployments2.md new file mode 100644 index 00000000..09065a89 --- /dev/null +++ b/docs/models/getdeploymentgitsourcedeployments2.md @@ -0,0 +1,24 @@ +# GetDeploymentGitSourceDeployments2 + +## Example Usage + +```typescript +import { GetDeploymentGitSourceDeployments2 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSourceDeployments2 = { + type: "github", + org: "", + repo: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `type` | [models.GetDeploymentGitSourceType](../models/getdeploymentgitsourcetype.md) | :heavy_check_mark: | N/A | +| `org` | *string* | :heavy_check_mark: | N/A | +| `repo` | *string* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsourcedeployments3.md b/docs/models/getdeploymentgitsourcedeployments3.md new file mode 100644 index 00000000..b29771a3 --- /dev/null +++ b/docs/models/getdeploymentgitsourcedeployments3.md @@ -0,0 +1,22 @@ +# GetDeploymentGitSourceDeployments3 + +## Example Usage + +```typescript +import { GetDeploymentGitSourceDeployments3 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSourceDeployments3 = { + type: "gitlab", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDeploymentGitSourceDeploymentsType](../models/getdeploymentgitsourcedeploymentstype.md) | :heavy_check_mark: | N/A | +| `projectId` | *models.GetDeploymentGitSourceProjectId* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsourcedeployments4.md b/docs/models/getdeploymentgitsourcedeployments4.md new file mode 100644 index 00000000..8508e429 --- /dev/null +++ b/docs/models/getdeploymentgitsourcedeployments4.md @@ -0,0 +1,23 @@ +# GetDeploymentGitSourceDeployments4 + +## Example Usage + +```typescript +import { GetDeploymentGitSourceDeployments4 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSourceDeployments4 = { + type: "bitbucket", + repoUuid: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetDeploymentGitSourceDeploymentsResponseType](../models/getdeploymentgitsourcedeploymentsresponsetype.md) | :heavy_check_mark: | N/A | +| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | +| `repoUuid` | *string* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsourcedeployments5.md b/docs/models/getdeploymentgitsourcedeployments5.md new file mode 100644 index 00000000..0f938ec3 --- /dev/null +++ b/docs/models/getdeploymentgitsourcedeployments5.md @@ -0,0 +1,24 @@ +# GetDeploymentGitSourceDeployments5 + +## Example Usage + +```typescript +import { GetDeploymentGitSourceDeployments5 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSourceDeployments5 = { + type: "bitbucket", + owner: "", + slug: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetDeploymentGitSourceDeploymentsResponse200Type](../models/getdeploymentgitsourcedeploymentsresponse200type.md) | :heavy_check_mark: | N/A | +| `owner` | *string* | :heavy_check_mark: | N/A | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsourcedeployments6.md b/docs/models/getdeploymentgitsourcedeployments6.md new file mode 100644 index 00000000..dfd27053 --- /dev/null +++ b/docs/models/getdeploymentgitsourcedeployments6.md @@ -0,0 +1,25 @@ +# GetDeploymentGitSourceDeployments6 + +Allows custom git sources (local folder mounted to the container) in test mode + +## Example Usage + +```typescript +import { GetDeploymentGitSourceDeployments6 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSourceDeployments6 = { + type: "custom", + ref: "", + sha: "", + gitUrl: "https://low-mortise.org/", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType](../models/getdeploymentgitsourcedeploymentsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `gitUrl` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsourcedeployments7.md b/docs/models/getdeploymentgitsourcedeployments7.md new file mode 100644 index 00000000..4ecf1422 --- /dev/null +++ b/docs/models/getdeploymentgitsourcedeployments7.md @@ -0,0 +1,25 @@ +# GetDeploymentGitSourceDeployments7 + +## Example Usage + +```typescript +import { GetDeploymentGitSourceDeployments7 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSourceDeployments7 = { + type: "github", + ref: "", + sha: "", + repoId: 2991.54, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType](../models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `repoId` | *number* | :heavy_check_mark: | N/A | +| `org` | *string* | :heavy_minus_sign: | N/A | +| `repo` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsourcedeployments8.md b/docs/models/getdeploymentgitsourcedeployments8.md new file mode 100644 index 00000000..33ed0a01 --- /dev/null +++ b/docs/models/getdeploymentgitsourcedeployments8.md @@ -0,0 +1,23 @@ +# GetDeploymentGitSourceDeployments8 + +## Example Usage + +```typescript +import { GetDeploymentGitSourceDeployments8 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSourceDeployments8 = { + type: "gitlab", + ref: "", + sha: "", + projectId: 9234.56, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type](../models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody1type.md) | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentgitsourcedeployments9.md b/docs/models/getdeploymentgitsourcedeployments9.md new file mode 100644 index 00000000..0fb1f2fd --- /dev/null +++ b/docs/models/getdeploymentgitsourcedeployments9.md @@ -0,0 +1,27 @@ +# GetDeploymentGitSourceDeployments9 + +## Example Usage + +```typescript +import { GetDeploymentGitSourceDeployments9 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSourceDeployments9 = { + type: "bitbucket", + ref: "", + sha: "", + workspaceUuid: "", + repoUuid: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type](../models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody19type.md) | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `owner` | *string* | :heavy_minus_sign: | N/A | +| `slug` | *string* | :heavy_minus_sign: | N/A | +| `workspaceUuid` | *string* | :heavy_check_mark: | N/A | +| `repoUuid` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsprojectid.md b/docs/models/getdeploymentgitsourcedeploymentsprojectid.md similarity index 100% rename from docs/models/operations/getdeploymentgitsourcedeploymentsprojectid.md rename to docs/models/getdeploymentgitsourcedeploymentsprojectid.md diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsrepoid.md b/docs/models/getdeploymentgitsourcedeploymentsrepoid.md similarity index 100% rename from docs/models/operations/getdeploymentgitsourcedeploymentsrepoid.md rename to docs/models/getdeploymentgitsourcedeploymentsrepoid.md diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody11type.md b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody11type.md similarity index 80% rename from docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody11type.md rename to docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody11type.md index 9aab4bf5..bfe17438 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody11type.md +++ b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody11type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type = diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody19type.md b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody19type.md similarity index 80% rename from docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody19type.md rename to docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody19type.md index e0bcf6f5..c6a851c7 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody19type.md +++ b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody19type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type = diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody1type.md b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody1type.md similarity index 80% rename from docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody1type.md rename to docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody1type.md index 6a37ffee..106afe62 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody1type.md +++ b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody1type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type = diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody22type.md b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody22type.md similarity index 80% rename from docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody22type.md rename to docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody22type.md index eea463cd..9605acc8 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody22type.md +++ b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody22type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type = diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody23type.md b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody23type.md similarity index 80% rename from docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody23type.md rename to docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody23type.md index 7d9871f2..b6fa79ed 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody23type.md +++ b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody23type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type = diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody24type.md b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody24type.md similarity index 80% rename from docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody24type.md rename to docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody24type.md index 790ec00e..ddc7f88f 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody24type.md +++ b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody24type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type = diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody25type.md b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody25type.md similarity index 80% rename from docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody25type.md rename to docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody25type.md index 60d3c170..4fab928d 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody25type.md +++ b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody25type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type = diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody26type.md b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody26type.md similarity index 80% rename from docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody26type.md rename to docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody26type.md index 8fe70ef2..841329ab 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody26type.md +++ b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody26type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type = diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody27type.md b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody27type.md similarity index 80% rename from docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody27type.md rename to docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody27type.md index 9d35dd77..b05d4c84 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody27type.md +++ b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody27type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type = diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody28type.md b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody28type.md similarity index 80% rename from docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody28type.md rename to docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody28type.md index bb703a54..e6c91933 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody28type.md +++ b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody28type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type = diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody29type.md b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody29type.md similarity index 80% rename from docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody29type.md rename to docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody29type.md index 8e22b6c6..5cae2a61 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody29type.md +++ b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody29type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type = diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody2type.md b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody2type.md similarity index 80% rename from docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody2type.md rename to docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody2type.md index af2a7f7c..d273a22d 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody2type.md +++ b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody2type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type = diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md similarity index 80% rename from docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md rename to docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md index b5abe2f9..584c98e0 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md +++ b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsontype.md b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsontype.md similarity index 81% rename from docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsontype.md rename to docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsontype.md index 0623eae9..4ff39d09 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsontype.md +++ b/docs/models/getdeploymentgitsourcedeploymentsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = "custom"; diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200type.md b/docs/models/getdeploymentgitsourcedeploymentsresponse200type.md similarity index 84% rename from docs/models/operations/getdeploymentgitsourcedeploymentsresponse200type.md rename to docs/models/getdeploymentgitsourcedeploymentsresponse200type.md index 3eb0eb57..5f48bfae 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsresponse200type.md +++ b/docs/models/getdeploymentgitsourcedeploymentsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsResponse200Type } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsResponse200Type } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsResponse200Type = "bitbucket"; ``` diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsresponsetype.md b/docs/models/getdeploymentgitsourcedeploymentsresponsetype.md similarity index 84% rename from docs/models/operations/getdeploymentgitsourcedeploymentsresponsetype.md rename to docs/models/getdeploymentgitsourcedeploymentsresponsetype.md index eca6416d..fb9ea7ef 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsresponsetype.md +++ b/docs/models/getdeploymentgitsourcedeploymentsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsResponseType } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsResponseType } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsResponseType = "bitbucket"; ``` diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentstype.md b/docs/models/getdeploymentgitsourcedeploymentstype.md similarity index 85% rename from docs/models/operations/getdeploymentgitsourcedeploymentstype.md rename to docs/models/getdeploymentgitsourcedeploymentstype.md index 44c44ca4..9f3decc5 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentstype.md +++ b/docs/models/getdeploymentgitsourcedeploymentstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentGitSourceDeploymentsType } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentGitSourceDeploymentsType } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentGitSourceDeploymentsType = "gitlab"; ``` diff --git a/docs/models/operations/getdeploymentgitsourceprojectid.md b/docs/models/getdeploymentgitsourceprojectid.md similarity index 100% rename from docs/models/operations/getdeploymentgitsourceprojectid.md rename to docs/models/getdeploymentgitsourceprojectid.md diff --git a/docs/models/operations/getdeploymentgitsourcerepoid.md b/docs/models/getdeploymentgitsourcerepoid.md similarity index 100% rename from docs/models/operations/getdeploymentgitsourcerepoid.md rename to docs/models/getdeploymentgitsourcerepoid.md diff --git a/docs/models/getdeploymentgitsourcetype.md b/docs/models/getdeploymentgitsourcetype.md new file mode 100644 index 00000000..9d5512bf --- /dev/null +++ b/docs/models/getdeploymentgitsourcetype.md @@ -0,0 +1,15 @@ +# GetDeploymentGitSourceType + +## Example Usage + +```typescript +import { GetDeploymentGitSourceType } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentGitSourceType = "github"; +``` + +## Values + +```typescript +"github" +``` \ No newline at end of file diff --git a/docs/models/getdeploymenthas1.md b/docs/models/getdeploymenthas1.md new file mode 100644 index 00000000..204ef823 --- /dev/null +++ b/docs/models/getdeploymenthas1.md @@ -0,0 +1,19 @@ +# GetDeploymentHas1 + +## Example Usage + +```typescript +import { GetDeploymentHas1 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentHas1 = { + type: "host", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `type` | [models.GetDeploymentHasDeploymentsType](../models/getdeploymenthasdeploymentstype.md) | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymenthas2.md b/docs/models/getdeploymenthas2.md new file mode 100644 index 00000000..f6166599 --- /dev/null +++ b/docs/models/getdeploymenthas2.md @@ -0,0 +1,20 @@ +# GetDeploymentHas2 + +## Example Usage + +```typescript +import { GetDeploymentHas2 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentHas2 = { + type: "cookie", + key: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `type` | [models.GetDeploymentHasType](../models/getdeploymenthastype.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymenthasdeploymentstype.md b/docs/models/getdeploymenthasdeploymentstype.md similarity index 86% rename from docs/models/operations/getdeploymenthasdeploymentstype.md rename to docs/models/getdeploymenthasdeploymentstype.md index 3be0455f..9b30cbcc 100644 --- a/docs/models/operations/getdeploymenthasdeploymentstype.md +++ b/docs/models/getdeploymenthasdeploymentstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentHasDeploymentsType } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentHasDeploymentsType } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentHasDeploymentsType = "host"; ``` diff --git a/docs/models/getdeploymenthastype.md b/docs/models/getdeploymenthastype.md new file mode 100644 index 00000000..87168bc4 --- /dev/null +++ b/docs/models/getdeploymenthastype.md @@ -0,0 +1,15 @@ +# GetDeploymentHasType + +## Example Usage + +```typescript +import { GetDeploymentHasType } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentHasType = "header"; +``` + +## Values + +```typescript +"header" | "cookie" | "query" +``` \ No newline at end of file diff --git a/docs/models/operations/getdeploymentmicrofrontends1.md b/docs/models/getdeploymentmicrofrontends1.md similarity index 99% rename from docs/models/operations/getdeploymentmicrofrontends1.md rename to docs/models/getdeploymentmicrofrontends1.md index 6f0e0168..2b572933 100644 --- a/docs/models/operations/getdeploymentmicrofrontends1.md +++ b/docs/models/getdeploymentmicrofrontends1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentMicrofrontends1 } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentMicrofrontends1 } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentMicrofrontends1 = { groupIds: [ diff --git a/docs/models/operations/getdeploymentmicrofrontends2.md b/docs/models/getdeploymentmicrofrontends2.md similarity index 96% rename from docs/models/operations/getdeploymentmicrofrontends2.md rename to docs/models/getdeploymentmicrofrontends2.md index 59711925..1972a9cb 100644 --- a/docs/models/operations/getdeploymentmicrofrontends2.md +++ b/docs/models/getdeploymentmicrofrontends2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentMicrofrontends2 } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentMicrofrontends2 } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentMicrofrontends2 = { isDefaultApp: false, @@ -17,7 +17,7 @@ let value: GetDeploymentMicrofrontends2 = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `applications` | Record | :heavy_minus_sign: | A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. | +| `applications` | Record | :heavy_minus_sign: | A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. | | `isDefaultApp` | *boolean* | :heavy_check_mark: | N/A | | `defaultRoute` | *string* | :heavy_minus_sign: | A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. | | `groupIds` | *string*[] | :heavy_check_mark: | The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentmicrofrontendsapplications.md b/docs/models/getdeploymentmicrofrontendsapplications.md similarity index 99% rename from docs/models/operations/getdeploymentmicrofrontendsapplications.md rename to docs/models/getdeploymentmicrofrontendsapplications.md index ab1bb1a6..caeb08e5 100644 --- a/docs/models/operations/getdeploymentmicrofrontendsapplications.md +++ b/docs/models/getdeploymentmicrofrontendsapplications.md @@ -5,7 +5,7 @@ A map of the other applications that are part of this group. Only defined on the ## Example Usage ```typescript -import { GetDeploymentMicrofrontendsApplications } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentMicrofrontendsApplications } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentMicrofrontendsApplications = { productionHost: "", diff --git a/docs/models/getdeploymentmissing1.md b/docs/models/getdeploymentmissing1.md new file mode 100644 index 00000000..d03d879f --- /dev/null +++ b/docs/models/getdeploymentmissing1.md @@ -0,0 +1,19 @@ +# GetDeploymentMissing1 + +## Example Usage + +```typescript +import { GetDeploymentMissing1 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentMissing1 = { + type: "host", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `type` | [models.GetDeploymentMissingDeploymentsType](../models/getdeploymentmissingdeploymentstype.md) | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentmissing2.md b/docs/models/getdeploymentmissing2.md new file mode 100644 index 00000000..3bcf61f1 --- /dev/null +++ b/docs/models/getdeploymentmissing2.md @@ -0,0 +1,20 @@ +# GetDeploymentMissing2 + +## Example Usage + +```typescript +import { GetDeploymentMissing2 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentMissing2 = { + type: "query", + key: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `type` | [models.GetDeploymentMissingType](../models/getdeploymentmissingtype.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentmissingdeploymentstype.md b/docs/models/getdeploymentmissingdeploymentstype.md similarity index 85% rename from docs/models/operations/getdeploymentmissingdeploymentstype.md rename to docs/models/getdeploymentmissingdeploymentstype.md index cefd7ddd..b3058fe2 100644 --- a/docs/models/operations/getdeploymentmissingdeploymentstype.md +++ b/docs/models/getdeploymentmissingdeploymentstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentMissingDeploymentsType } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentMissingDeploymentsType } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentMissingDeploymentsType = "host"; ``` diff --git a/docs/models/getdeploymentmissingtype.md b/docs/models/getdeploymentmissingtype.md new file mode 100644 index 00000000..769e3fee --- /dev/null +++ b/docs/models/getdeploymentmissingtype.md @@ -0,0 +1,15 @@ +# GetDeploymentMissingType + +## Example Usage + +```typescript +import { GetDeploymentMissingType } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentMissingType = "query"; +``` + +## Values + +```typescript +"header" | "cookie" | "query" +``` \ No newline at end of file diff --git a/docs/models/operations/getdeploymentrequest.md b/docs/models/getdeploymentrequest.md similarity index 95% rename from docs/models/operations/getdeploymentrequest.md rename to docs/models/getdeploymentrequest.md index 9ddda4e8..e603d6bd 100644 --- a/docs/models/operations/getdeploymentrequest.md +++ b/docs/models/getdeploymentrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentRequest } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentRequest } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentRequest = { idOrUrl: "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ", diff --git a/docs/models/operations/getdeploymentresponsebody.md b/docs/models/getdeploymentresponsebody.md similarity index 87% rename from docs/models/operations/getdeploymentresponsebody.md rename to docs/models/getdeploymentresponsebody.md index c7efb93f..d9153ce8 100644 --- a/docs/models/operations/getdeploymentresponsebody.md +++ b/docs/models/getdeploymentresponsebody.md @@ -6,10 +6,10 @@ The deployment including both public and private information ## Supported Types -### `operations.GetDeploymentResponseBody1` +### `models.GetDeploymentResponseBody1` ```typescript -const value: operations.GetDeploymentResponseBody1 = { +const value: models.GetDeploymentResponseBody1 = { build: { env: [ "", @@ -58,10 +58,10 @@ const value: operations.GetDeploymentResponseBody1 = { }; ``` -### `operations.GetDeploymentResponseBody2` +### `models.GetDeploymentResponseBody2` ```typescript -const value: operations.GetDeploymentResponseBody2 = { +const value: models.GetDeploymentResponseBody2 = { aliasAssigned: false, bootedAt: 4299.97, buildingAt: 357.43, diff --git a/docs/models/operations/getdeploymentresponsebody1.md b/docs/models/getdeploymentresponsebody1.md similarity index 93% rename from docs/models/operations/getdeploymentresponsebody1.md rename to docs/models/getdeploymentresponsebody1.md index 3e436c4e..7ce19369 100644 --- a/docs/models/operations/getdeploymentresponsebody1.md +++ b/docs/models/getdeploymentresponsebody1.md @@ -5,7 +5,7 @@ The deployment including both public and private information ## Example Usage ```typescript -import { GetDeploymentResponseBody1 } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBody1 } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBody1 = { build: { @@ -58,48 +58,48 @@ let value: GetDeploymentResponseBody1 = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `aliasAssignedAt` | *operations.ResponseBodyAliasAssignedAt* | :heavy_minus_sign: | N/A | +| `aliasAssignedAt` | *models.ResponseBodyAliasAssignedAt* | :heavy_minus_sign: | N/A | | `alwaysRefuseToBuild` | *boolean* | :heavy_minus_sign: | N/A | -| `build` | [operations.ResponseBodyBuild](../../models/operations/responsebodybuild.md) | :heavy_check_mark: | N/A | +| `build` | [models.ResponseBodyBuild](../models/responsebodybuild.md) | :heavy_check_mark: | N/A | | `buildArtifactUrls` | *string*[] | :heavy_minus_sign: | N/A | -| `builds` | [operations.ResponseBodyBuilds](../../models/operations/responsebodybuilds.md)[] | :heavy_minus_sign: | N/A | +| `builds` | [models.ResponseBodyBuilds](../models/responsebodybuilds.md)[] | :heavy_minus_sign: | N/A | | `env` | *string*[] | :heavy_check_mark: | N/A | | `inspectorUrl` | *string* | :heavy_check_mark: | N/A | | `isInConcurrentBuildsQueue` | *boolean* | :heavy_check_mark: | N/A | | `isInSystemBuildsQueue` | *boolean* | :heavy_check_mark: | N/A | -| `projectSettings` | [operations.ResponseBodyProjectSettings](../../models/operations/responsebodyprojectsettings.md) | :heavy_check_mark: | N/A | +| `projectSettings` | [models.ResponseBodyProjectSettings](../models/responsebodyprojectsettings.md) | :heavy_check_mark: | N/A | | `readyStateReason` | *string* | :heavy_minus_sign: | N/A | -| `integrations` | [operations.ResponseBodyIntegrations](../../models/operations/responsebodyintegrations.md) | :heavy_minus_sign: | N/A | +| `integrations` | [models.ResponseBodyIntegrations](../models/responsebodyintegrations.md) | :heavy_minus_sign: | N/A | | `alias` | *string*[] | :heavy_minus_sign: | N/A | | `aliasAssigned` | *boolean* | :heavy_check_mark: | N/A | | `bootedAt` | *number* | :heavy_check_mark: | N/A | | `buildingAt` | *number* | :heavy_check_mark: | N/A | | `buildSkipped` | *boolean* | :heavy_check_mark: | N/A | -| `creator` | [operations.ResponseBodyCreator](../../models/operations/responsebodycreator.md) | :heavy_check_mark: | N/A | +| `creator` | [models.ResponseBodyCreator](../models/responsebodycreator.md) | :heavy_check_mark: | N/A | | `initReadyAt` | *number* | :heavy_minus_sign: | N/A | | `isFirstBranchDeployment` | *boolean* | :heavy_minus_sign: | N/A | -| `lambdas` | [operations.GetDeploymentResponseBodyLambdas](../../models/operations/getdeploymentresponsebodylambdas.md)[] | :heavy_minus_sign: | N/A | +| `lambdas` | [models.GetDeploymentResponseBodyLambdas](../models/getdeploymentresponsebodylambdas.md)[] | :heavy_minus_sign: | N/A | | `public` | *boolean* | :heavy_check_mark: | N/A | | `ready` | *number* | :heavy_minus_sign: | N/A | -| `status` | [operations.ResponseBodyStatus](../../models/operations/responsebodystatus.md) | :heavy_check_mark: | N/A | -| `team` | [operations.GetDeploymentResponseBodyTeam](../../models/operations/getdeploymentresponsebodyteam.md) | :heavy_minus_sign: | N/A | +| `status` | [models.ResponseBodyStatus](../models/responsebodystatus.md) | :heavy_check_mark: | N/A | +| `team` | [models.GetDeploymentResponseBodyTeam](../models/getdeploymentresponsebodyteam.md) | :heavy_minus_sign: | N/A | | `userAliases` | *string*[] | :heavy_minus_sign: | N/A | | `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | `ttyBuildLogs` | *boolean* | :heavy_minus_sign: | N/A | -| `customEnvironment` | *operations.GetDeploymentResponseBodyCustomEnvironment* | :heavy_minus_sign: | N/A | -| `aliasWarning` | [operations.GetDeploymentResponseBodyAliasWarning](../../models/operations/getdeploymentresponsebodyaliaswarning.md) | :heavy_minus_sign: | N/A | +| `customEnvironment` | *models.GetDeploymentResponseBodyCustomEnvironment* | :heavy_minus_sign: | N/A | +| `aliasWarning` | [models.GetDeploymentResponseBodyAliasWarning](../models/getdeploymentresponsebodyaliaswarning.md) | :heavy_minus_sign: | N/A | | `id` | *string* | :heavy_check_mark: | N/A | -| `type` | [operations.ResponseBodyType](../../models/operations/responsebodytype.md) | :heavy_check_mark: | N/A | +| `type` | [models.ResponseBodyType](../models/responsebodytype.md) | :heavy_check_mark: | N/A | | `createdAt` | *number* | :heavy_check_mark: | N/A | | `name` | *string* | :heavy_check_mark: | N/A | -| `readyState` | [operations.ResponseBodyReadyState](../../models/operations/responsebodyreadystate.md) | :heavy_check_mark: | N/A | -| `aliasError` | [operations.ResponseBodyAliasError](../../models/operations/responsebodyaliaserror.md) | :heavy_minus_sign: | N/A | +| `readyState` | [models.ResponseBodyReadyState](../models/responsebodyreadystate.md) | :heavy_check_mark: | N/A | +| `aliasError` | [models.ResponseBodyAliasError](../models/responsebodyaliaserror.md) | :heavy_minus_sign: | N/A | | `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | `autoAssignCustomDomains` | *boolean* | :heavy_minus_sign: | applies to custom domains only, defaults to `true` | | `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | `buildErrorAt` | *number* | :heavy_minus_sign: | N/A | -| `checksState` | [operations.ResponseBodyChecksState](../../models/operations/responsebodychecksstate.md) | :heavy_minus_sign: | N/A | -| `checksConclusion` | [operations.ResponseBodyChecksConclusion](../../models/operations/responsebodychecksconclusion.md) | :heavy_minus_sign: | N/A | +| `checksState` | [models.ResponseBodyChecksState](../models/responsebodychecksstate.md) | :heavy_minus_sign: | N/A | +| `checksConclusion` | [models.ResponseBodyChecksConclusion](../models/responsebodychecksconclusion.md) | :heavy_minus_sign: | N/A | | `deletedAt` | *number* | :heavy_minus_sign: | N/A | | `defaultRoute` | *string* | :heavy_minus_sign: | Computed field that is only available for deployments with a microfrontend configuration. | | `canceledAt` | *number* | :heavy_minus_sign: | N/A | @@ -108,29 +108,30 @@ let value: GetDeploymentResponseBody1 = { | `errorMessage` | *string* | :heavy_minus_sign: | N/A | | `errorStep` | *string* | :heavy_minus_sign: | N/A | | `passiveRegions` | *string*[] | :heavy_minus_sign: | Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service | -| `gitSource` | *operations.GetDeploymentResponseBodyGitSource* | :heavy_minus_sign: | N/A | +| `gitSource` | *models.GetDeploymentResponseBodyGitSource* | :heavy_minus_sign: | N/A | | `meta` | Record | :heavy_check_mark: | N/A | -| `project` | [operations.ResponseBodyProject](../../models/operations/responsebodyproject.md) | :heavy_minus_sign: | N/A | -| `readySubstate` | [operations.ResponseBodyReadySubstate](../../models/operations/responsebodyreadysubstate.md) | :heavy_minus_sign: | Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic | +| `originCacheRegion` | *string* | :heavy_minus_sign: | N/A | +| `project` | [models.ResponseBodyProject](../models/responsebodyproject.md) | :heavy_minus_sign: | N/A | +| `readySubstate` | [models.ResponseBodyReadySubstate](../models/responsebodyreadysubstate.md) | :heavy_minus_sign: | Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic | | `regions` | *string*[] | :heavy_check_mark: | N/A | | `softDeletedByRetention` | *boolean* | :heavy_minus_sign: | N/A | -| `source` | [operations.ResponseBodySource](../../models/operations/responsebodysource.md) | :heavy_minus_sign: | N/A | -| `target` | [operations.ResponseBodyTarget](../../models/operations/responsebodytarget.md) | :heavy_minus_sign: | N/A | +| `source` | [models.ResponseBodySource](../models/responsebodysource.md) | :heavy_minus_sign: | N/A | +| `target` | [models.ResponseBodyTarget](../models/responsebodytarget.md) | :heavy_minus_sign: | N/A | | `undeletedAt` | *number* | :heavy_minus_sign: | N/A | | `url` | *string* | :heavy_check_mark: | N/A | | `version` | *number* | :heavy_check_mark: | N/A | -| `oidcTokenClaims` | [operations.ResponseBodyOidcTokenClaims](../../models/operations/responsebodyoidctokenclaims.md) | :heavy_minus_sign: | N/A | +| `oidcTokenClaims` | [models.ResponseBodyOidcTokenClaims](../models/responsebodyoidctokenclaims.md) | :heavy_minus_sign: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | -| `plan` | [operations.ResponseBodyPlan](../../models/operations/responsebodyplan.md) | :heavy_check_mark: | N/A | +| `plan` | [models.ResponseBodyPlan](../models/responsebodyplan.md) | :heavy_check_mark: | N/A | | `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | `createdIn` | *string* | :heavy_check_mark: | N/A | -| `crons` | [operations.ResponseBodyCrons](../../models/operations/responsebodycrons.md)[] | :heavy_minus_sign: | N/A | -| `functions` | Record | :heavy_minus_sign: | N/A | +| `crons` | [models.ResponseBodyCrons](../models/responsebodycrons.md)[] | :heavy_minus_sign: | N/A | +| `functions` | Record | :heavy_minus_sign: | N/A | | `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | `ownerId` | *string* | :heavy_check_mark: | N/A | | `passiveConnectConfigurationId` | *string* | :heavy_minus_sign: | Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions) | -| `routes` | *operations.ResponseBodyRoutes*[] | :heavy_check_mark: | N/A | -| `gitRepo` | *operations.ResponseBodyGitRepo* | :heavy_minus_sign: | N/A | -| `flags` | *operations.ResponseBodyFlags* | :heavy_minus_sign: | N/A | -| `microfrontends` | *operations.ResponseBodyMicrofrontends* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `routes` | *models.ResponseBodyRoutes*[] | :heavy_check_mark: | N/A | +| `gitRepo` | *models.ResponseBodyGitRepo* | :heavy_minus_sign: | N/A | +| `flags` | *models.ResponseBodyFlags* | :heavy_minus_sign: | N/A | +| `microfrontends` | *models.ResponseBodyMicrofrontends* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentresponsebody2.md b/docs/models/getdeploymentresponsebody2.md similarity index 91% rename from docs/models/operations/getdeploymentresponsebody2.md rename to docs/models/getdeploymentresponsebody2.md index b04e3530..b40fa286 100644 --- a/docs/models/operations/getdeploymentresponsebody2.md +++ b/docs/models/getdeploymentresponsebody2.md @@ -5,7 +5,7 @@ The deployment including only public information ## Example Usage ```typescript -import { GetDeploymentResponseBody2 } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBody2 } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBody2 = { aliasAssigned: false, @@ -42,31 +42,31 @@ let value: GetDeploymentResponseBody2 = { | `bootedAt` | *number* | :heavy_check_mark: | N/A | | `buildingAt` | *number* | :heavy_check_mark: | N/A | | `buildSkipped` | *boolean* | :heavy_check_mark: | N/A | -| `creator` | [operations.GetDeploymentResponseBodyCreator](../../models/operations/getdeploymentresponsebodycreator.md) | :heavy_check_mark: | N/A | +| `creator` | [models.GetDeploymentResponseBodyCreator](../models/getdeploymentresponsebodycreator.md) | :heavy_check_mark: | N/A | | `initReadyAt` | *number* | :heavy_minus_sign: | N/A | | `isFirstBranchDeployment` | *boolean* | :heavy_minus_sign: | N/A | -| `lambdas` | [operations.ResponseBodyLambdas](../../models/operations/responsebodylambdas.md)[] | :heavy_minus_sign: | N/A | +| `lambdas` | [models.ResponseBodyLambdas](../models/responsebodylambdas.md)[] | :heavy_minus_sign: | N/A | | `public` | *boolean* | :heavy_check_mark: | N/A | | `ready` | *number* | :heavy_minus_sign: | N/A | -| `status` | [operations.GetDeploymentResponseBodyStatus](../../models/operations/getdeploymentresponsebodystatus.md) | :heavy_check_mark: | N/A | -| `team` | [operations.ResponseBodyTeam](../../models/operations/responsebodyteam.md) | :heavy_minus_sign: | N/A | +| `status` | [models.GetDeploymentResponseBodyStatus](../models/getdeploymentresponsebodystatus.md) | :heavy_check_mark: | N/A | +| `team` | [models.ResponseBodyTeam](../models/responsebodyteam.md) | :heavy_minus_sign: | N/A | | `userAliases` | *string*[] | :heavy_minus_sign: | N/A | | `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | `ttyBuildLogs` | *boolean* | :heavy_minus_sign: | N/A | -| `customEnvironment` | *operations.ResponseBodyCustomEnvironment* | :heavy_minus_sign: | N/A | -| `aliasWarning` | [operations.ResponseBodyAliasWarning](../../models/operations/responsebodyaliaswarning.md) | :heavy_minus_sign: | N/A | +| `customEnvironment` | *models.ResponseBodyCustomEnvironment* | :heavy_minus_sign: | N/A | +| `aliasWarning` | [models.ResponseBodyAliasWarning](../models/responsebodyaliaswarning.md) | :heavy_minus_sign: | N/A | | `id` | *string* | :heavy_check_mark: | N/A | -| `type` | [operations.GetDeploymentResponseBodyType](../../models/operations/getdeploymentresponsebodytype.md) | :heavy_check_mark: | N/A | +| `type` | [models.GetDeploymentResponseBodyType](../models/getdeploymentresponsebodytype.md) | :heavy_check_mark: | N/A | | `createdAt` | *number* | :heavy_check_mark: | N/A | | `name` | *string* | :heavy_check_mark: | N/A | -| `readyState` | [operations.GetDeploymentResponseBodyReadyState](../../models/operations/getdeploymentresponsebodyreadystate.md) | :heavy_check_mark: | N/A | -| `aliasError` | [operations.GetDeploymentResponseBodyAliasError](../../models/operations/getdeploymentresponsebodyaliaserror.md) | :heavy_minus_sign: | N/A | +| `readyState` | [models.GetDeploymentResponseBodyReadyState](../models/getdeploymentresponsebodyreadystate.md) | :heavy_check_mark: | N/A | +| `aliasError` | [models.GetDeploymentResponseBodyAliasError](../models/getdeploymentresponsebodyaliaserror.md) | :heavy_minus_sign: | N/A | | `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | `autoAssignCustomDomains` | *boolean* | :heavy_minus_sign: | applies to custom domains only, defaults to `true` | | `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | `buildErrorAt` | *number* | :heavy_minus_sign: | N/A | -| `checksState` | [operations.GetDeploymentResponseBodyChecksState](../../models/operations/getdeploymentresponsebodychecksstate.md) | :heavy_minus_sign: | N/A | -| `checksConclusion` | [operations.GetDeploymentResponseBodyChecksConclusion](../../models/operations/getdeploymentresponsebodychecksconclusion.md) | :heavy_minus_sign: | N/A | +| `checksState` | [models.GetDeploymentResponseBodyChecksState](../models/getdeploymentresponsebodychecksstate.md) | :heavy_minus_sign: | N/A | +| `checksConclusion` | [models.GetDeploymentResponseBodyChecksConclusion](../models/getdeploymentresponsebodychecksconclusion.md) | :heavy_minus_sign: | N/A | | `deletedAt` | *number* | :heavy_minus_sign: | N/A | | `defaultRoute` | *string* | :heavy_minus_sign: | Computed field that is only available for deployments with a microfrontend configuration. | | `canceledAt` | *number* | :heavy_minus_sign: | N/A | @@ -75,15 +75,16 @@ let value: GetDeploymentResponseBody2 = { | `errorMessage` | *string* | :heavy_minus_sign: | N/A | | `errorStep` | *string* | :heavy_minus_sign: | N/A | | `passiveRegions` | *string*[] | :heavy_minus_sign: | Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service | -| `gitSource` | *operations.ResponseBodyGitSource* | :heavy_minus_sign: | N/A | +| `gitSource` | *models.ResponseBodyGitSource* | :heavy_minus_sign: | N/A | | `meta` | Record | :heavy_check_mark: | N/A | -| `project` | [operations.GetDeploymentResponseBodyProject](../../models/operations/getdeploymentresponsebodyproject.md) | :heavy_minus_sign: | N/A | -| `readySubstate` | [operations.GetDeploymentResponseBodyReadySubstate](../../models/operations/getdeploymentresponsebodyreadysubstate.md) | :heavy_minus_sign: | Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic | +| `originCacheRegion` | *string* | :heavy_minus_sign: | N/A | +| `project` | [models.GetDeploymentResponseBodyProject](../models/getdeploymentresponsebodyproject.md) | :heavy_minus_sign: | N/A | +| `readySubstate` | [models.GetDeploymentResponseBodyReadySubstate](../models/getdeploymentresponsebodyreadysubstate.md) | :heavy_minus_sign: | Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic | | `regions` | *string*[] | :heavy_check_mark: | N/A | | `softDeletedByRetention` | *boolean* | :heavy_minus_sign: | N/A | -| `source` | [operations.GetDeploymentResponseBodySource](../../models/operations/getdeploymentresponsebodysource.md) | :heavy_minus_sign: | N/A | -| `target` | [operations.GetDeploymentResponseBodyTarget](../../models/operations/getdeploymentresponsebodytarget.md) | :heavy_minus_sign: | N/A | +| `source` | [models.GetDeploymentResponseBodySource](../models/getdeploymentresponsebodysource.md) | :heavy_minus_sign: | N/A | +| `target` | [models.GetDeploymentResponseBodyTarget](../models/getdeploymentresponsebodytarget.md) | :heavy_minus_sign: | N/A | | `undeletedAt` | *number* | :heavy_minus_sign: | N/A | | `url` | *string* | :heavy_check_mark: | N/A | | `version` | *number* | :heavy_check_mark: | N/A | -| `oidcTokenClaims` | [operations.GetDeploymentResponseBodyOidcTokenClaims](../../models/operations/getdeploymentresponsebodyoidctokenclaims.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `oidcTokenClaims` | [models.GetDeploymentResponseBodyOidcTokenClaims](../models/getdeploymentresponsebodyoidctokenclaims.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentresponsebodyaliaserror.md b/docs/models/getdeploymentresponsebodyaliaserror.md similarity index 93% rename from docs/models/operations/getdeploymentresponsebodyaliaserror.md rename to docs/models/getdeploymentresponsebodyaliaserror.md index b50a7ffb..e94698c1 100644 --- a/docs/models/operations/getdeploymentresponsebodyaliaserror.md +++ b/docs/models/getdeploymentresponsebodyaliaserror.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodyAliasError } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyAliasError } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyAliasError = { code: "", diff --git a/docs/models/operations/getdeploymentresponsebodyaliaswarning.md b/docs/models/getdeploymentresponsebodyaliaswarning.md similarity index 95% rename from docs/models/operations/getdeploymentresponsebodyaliaswarning.md rename to docs/models/getdeploymentresponsebodyaliaswarning.md index 9c8a5ff3..c2ae4762 100644 --- a/docs/models/operations/getdeploymentresponsebodyaliaswarning.md +++ b/docs/models/getdeploymentresponsebodyaliaswarning.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodyAliasWarning } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyAliasWarning } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyAliasWarning = { code: "", diff --git a/docs/models/operations/getdeploymentresponsebodychecksconclusion.md b/docs/models/getdeploymentresponsebodychecksconclusion.md similarity index 86% rename from docs/models/operations/getdeploymentresponsebodychecksconclusion.md rename to docs/models/getdeploymentresponsebodychecksconclusion.md index 5f558a7b..5b31573c 100644 --- a/docs/models/operations/getdeploymentresponsebodychecksconclusion.md +++ b/docs/models/getdeploymentresponsebodychecksconclusion.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodyChecksConclusion } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyChecksConclusion } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyChecksConclusion = "canceled"; ``` diff --git a/docs/models/operations/getdeploymentresponsebodychecksstate.md b/docs/models/getdeploymentresponsebodychecksstate.md similarity index 87% rename from docs/models/operations/getdeploymentresponsebodychecksstate.md rename to docs/models/getdeploymentresponsebodychecksstate.md index f01cfecb..0a649c04 100644 --- a/docs/models/operations/getdeploymentresponsebodychecksstate.md +++ b/docs/models/getdeploymentresponsebodychecksstate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodyChecksState } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyChecksState } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyChecksState = "completed"; ``` diff --git a/docs/models/operations/getdeploymentresponsebodycreator.md b/docs/models/getdeploymentresponsebodycreator.md similarity index 94% rename from docs/models/operations/getdeploymentresponsebodycreator.md rename to docs/models/getdeploymentresponsebodycreator.md index 247ba78b..1cea360a 100644 --- a/docs/models/operations/getdeploymentresponsebodycreator.md +++ b/docs/models/getdeploymentresponsebodycreator.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodyCreator } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyCreator } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyCreator = { uid: "", diff --git a/docs/models/getdeploymentresponsebodycustomenvironment.md b/docs/models/getdeploymentresponsebodycustomenvironment.md new file mode 100644 index 00000000..b256db16 --- /dev/null +++ b/docs/models/getdeploymentresponsebodycustomenvironment.md @@ -0,0 +1,19 @@ +# GetDeploymentResponseBodyCustomEnvironment + + +## Supported Types + +### `models.GetDeploymentCustomEnvironmentDeployments1` + +```typescript +const value: models.GetDeploymentCustomEnvironmentDeployments1 = {}; +``` + +### `models.GetDeploymentCustomEnvironmentDeployments2` + +```typescript +const value: models.GetDeploymentCustomEnvironmentDeployments2 = { + id: "", +}; +``` + diff --git a/docs/models/operations/getdeploymentresponsebodydeploymentsreadystate.md b/docs/models/getdeploymentresponsebodydeploymentsreadystate.md similarity index 86% rename from docs/models/operations/getdeploymentresponsebodydeploymentsreadystate.md rename to docs/models/getdeploymentresponsebodydeploymentsreadystate.md index 2453ec0b..84041742 100644 --- a/docs/models/operations/getdeploymentresponsebodydeploymentsreadystate.md +++ b/docs/models/getdeploymentresponsebodydeploymentsreadystate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodyDeploymentsReadyState } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyDeploymentsReadyState } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyDeploymentsReadyState = "INITIALIZING"; ``` diff --git a/docs/models/operations/getdeploymentresponsebodydeploymentsresponsereadystate.md b/docs/models/getdeploymentresponsebodydeploymentsresponsereadystate.md similarity index 84% rename from docs/models/operations/getdeploymentresponsebodydeploymentsresponsereadystate.md rename to docs/models/getdeploymentresponsebodydeploymentsresponsereadystate.md index a07f7184..96296b64 100644 --- a/docs/models/operations/getdeploymentresponsebodydeploymentsresponsereadystate.md +++ b/docs/models/getdeploymentresponsebodydeploymentsresponsereadystate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodyDeploymentsResponseReadyState } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyDeploymentsResponseReadyState } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyDeploymentsResponseReadyState = "ERROR"; ``` diff --git a/docs/models/operations/getdeploymentresponsebodydeploymentsstatus.md b/docs/models/getdeploymentresponsebodydeploymentsstatus.md similarity index 86% rename from docs/models/operations/getdeploymentresponsebodydeploymentsstatus.md rename to docs/models/getdeploymentresponsebodydeploymentsstatus.md index a07609fb..29fbe49c 100644 --- a/docs/models/operations/getdeploymentresponsebodydeploymentsstatus.md +++ b/docs/models/getdeploymentresponsebodydeploymentsstatus.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodyDeploymentsStatus } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyDeploymentsStatus } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyDeploymentsStatus = "ready"; ``` diff --git a/docs/models/getdeploymentresponsebodygitsource.md b/docs/models/getdeploymentresponsebodygitsource.md new file mode 100644 index 00000000..cdcc937c --- /dev/null +++ b/docs/models/getdeploymentresponsebodygitsource.md @@ -0,0 +1,97 @@ +# GetDeploymentResponseBodyGitSource + + +## Supported Types + +### `models.GetDeploymentGitSourceDeployments1` + +```typescript +const value: models.GetDeploymentGitSourceDeployments1 = { + type: "github", + repoId: 9253.95, +}; +``` + +### `models.GetDeploymentGitSourceDeployments2` + +```typescript +const value: models.GetDeploymentGitSourceDeployments2 = { + type: "github", + org: "", + repo: "", +}; +``` + +### `models.GetDeploymentGitSourceDeployments3` + +```typescript +const value: models.GetDeploymentGitSourceDeployments3 = { + type: "gitlab", + projectId: 4230.54, +}; +``` + +### `models.GetDeploymentGitSourceDeployments4` + +```typescript +const value: models.GetDeploymentGitSourceDeployments4 = { + type: "bitbucket", + repoUuid: "", +}; +``` + +### `models.GetDeploymentGitSourceDeployments5` + +```typescript +const value: models.GetDeploymentGitSourceDeployments5 = { + type: "bitbucket", + owner: "", + slug: "", +}; +``` + +### `models.GetDeploymentGitSourceDeployments6` + +```typescript +const value: models.GetDeploymentGitSourceDeployments6 = { + type: "custom", + ref: "", + sha: "", + gitUrl: "https://hidden-printer.name/", +}; +``` + +### `models.GetDeploymentGitSourceDeployments7` + +```typescript +const value: models.GetDeploymentGitSourceDeployments7 = { + type: "github", + ref: "", + sha: "", + repoId: 9279.76, +}; +``` + +### `models.GetDeploymentGitSourceDeployments8` + +```typescript +const value: models.GetDeploymentGitSourceDeployments8 = { + type: "gitlab", + ref: "", + sha: "", + projectId: 8668.61, +}; +``` + +### `models.GetDeploymentGitSourceDeployments9` + +```typescript +const value: models.GetDeploymentGitSourceDeployments9 = { + type: "bitbucket", + ref: "", + sha: "", + workspaceUuid: "", + repoUuid: "", +}; +``` + diff --git a/docs/models/getdeploymentresponsebodylambdas.md b/docs/models/getdeploymentresponsebodylambdas.md new file mode 100644 index 00000000..3782f3da --- /dev/null +++ b/docs/models/getdeploymentresponsebodylambdas.md @@ -0,0 +1,29 @@ +# GetDeploymentResponseBodyLambdas + +A partial representation of a Build used by the deployment endpoint. + +## Example Usage + +```typescript +import { GetDeploymentResponseBodyLambdas } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentResponseBodyLambdas = { + output: [ + { + path: "/etc/defaults", + functionName: "", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `entrypoint` | *string* | :heavy_minus_sign: | N/A | +| `readyState` | [models.GetDeploymentResponseBodyDeploymentsResponseReadyState](../models/getdeploymentresponsebodydeploymentsresponsereadystate.md) | :heavy_minus_sign: | N/A | +| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | +| `output` | [models.ResponseBodyOutput](../models/responsebodyoutput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentresponsebodyoidctokenclaims.md b/docs/models/getdeploymentresponsebodyoidctokenclaims.md similarity index 96% rename from docs/models/operations/getdeploymentresponsebodyoidctokenclaims.md rename to docs/models/getdeploymentresponsebodyoidctokenclaims.md index 2cc4e5a7..9eeae246 100644 --- a/docs/models/operations/getdeploymentresponsebodyoidctokenclaims.md +++ b/docs/models/getdeploymentresponsebodyoidctokenclaims.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodyOidcTokenClaims } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyOidcTokenClaims } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyOidcTokenClaims = { iss: "", diff --git a/docs/models/operations/getdeploymentresponsebodyoutput.md b/docs/models/getdeploymentresponsebodyoutput.md similarity index 94% rename from docs/models/operations/getdeploymentresponsebodyoutput.md rename to docs/models/getdeploymentresponsebodyoutput.md index 9a82d3ae..ca24f18a 100644 --- a/docs/models/operations/getdeploymentresponsebodyoutput.md +++ b/docs/models/getdeploymentresponsebodyoutput.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodyOutput } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyOutput } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyOutput = { path: "/boot", diff --git a/docs/models/operations/getdeploymentresponsebodyproject.md b/docs/models/getdeploymentresponsebodyproject.md similarity index 94% rename from docs/models/operations/getdeploymentresponsebodyproject.md rename to docs/models/getdeploymentresponsebodyproject.md index 4b30074f..ccb4bc46 100644 --- a/docs/models/operations/getdeploymentresponsebodyproject.md +++ b/docs/models/getdeploymentresponsebodyproject.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodyProject } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyProject } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyProject = { id: "", diff --git a/docs/models/operations/getdeploymentresponsebodyreadystate.md b/docs/models/getdeploymentresponsebodyreadystate.md similarity index 88% rename from docs/models/operations/getdeploymentresponsebodyreadystate.md rename to docs/models/getdeploymentresponsebodyreadystate.md index 3c015350..1cef516f 100644 --- a/docs/models/operations/getdeploymentresponsebodyreadystate.md +++ b/docs/models/getdeploymentresponsebodyreadystate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodyReadyState } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyReadyState } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyReadyState = "INITIALIZING"; ``` diff --git a/docs/models/operations/getdeploymentresponsebodyreadysubstate.md b/docs/models/getdeploymentresponsebodyreadysubstate.md similarity index 91% rename from docs/models/operations/getdeploymentresponsebodyreadysubstate.md rename to docs/models/getdeploymentresponsebodyreadysubstate.md index 4957e78f..5563efd6 100644 --- a/docs/models/operations/getdeploymentresponsebodyreadysubstate.md +++ b/docs/models/getdeploymentresponsebodyreadysubstate.md @@ -5,7 +5,7 @@ Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether ## Example Usage ```typescript -import { GetDeploymentResponseBodyReadySubstate } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyReadySubstate } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyReadySubstate = "STAGED"; ``` diff --git a/docs/models/operations/getdeploymentresponsebodysource.md b/docs/models/getdeploymentresponsebodysource.md similarity index 90% rename from docs/models/operations/getdeploymentresponsebodysource.md rename to docs/models/getdeploymentresponsebodysource.md index 99598065..2fc6087c 100644 --- a/docs/models/operations/getdeploymentresponsebodysource.md +++ b/docs/models/getdeploymentresponsebodysource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodySource } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodySource } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodySource = "git"; ``` diff --git a/docs/models/operations/getdeploymentresponsebodystatus.md b/docs/models/getdeploymentresponsebodystatus.md similarity index 89% rename from docs/models/operations/getdeploymentresponsebodystatus.md rename to docs/models/getdeploymentresponsebodystatus.md index 129b012e..7cf85d9a 100644 --- a/docs/models/operations/getdeploymentresponsebodystatus.md +++ b/docs/models/getdeploymentresponsebodystatus.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodyStatus } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyStatus } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyStatus = "READY"; ``` diff --git a/docs/models/operations/getdeploymentresponsebodytarget.md b/docs/models/getdeploymentresponsebodytarget.md similarity index 87% rename from docs/models/operations/getdeploymentresponsebodytarget.md rename to docs/models/getdeploymentresponsebodytarget.md index f3ce3d93..f60b9c74 100644 --- a/docs/models/operations/getdeploymentresponsebodytarget.md +++ b/docs/models/getdeploymentresponsebodytarget.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodyTarget } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyTarget } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyTarget = "staging"; ``` diff --git a/docs/models/operations/getdeploymentresponsebodyteam.md b/docs/models/getdeploymentresponsebodyteam.md similarity index 95% rename from docs/models/operations/getdeploymentresponsebodyteam.md rename to docs/models/getdeploymentresponsebodyteam.md index d202bbbb..05d54f3f 100644 --- a/docs/models/operations/getdeploymentresponsebodyteam.md +++ b/docs/models/getdeploymentresponsebodyteam.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodyTeam } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyTeam } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyTeam = { id: "", diff --git a/docs/models/operations/getdeploymentresponsebodytype.md b/docs/models/getdeploymentresponsebodytype.md similarity index 87% rename from docs/models/operations/getdeploymentresponsebodytype.md rename to docs/models/getdeploymentresponsebodytype.md index caffd583..d3744eb2 100644 --- a/docs/models/operations/getdeploymentresponsebodytype.md +++ b/docs/models/getdeploymentresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentResponseBodyType } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentResponseBodyType } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyType = "LAMBDAS"; ``` diff --git a/docs/models/operations/getdeploymentroutes1.md b/docs/models/getdeploymentroutes1.md similarity index 93% rename from docs/models/operations/getdeploymentroutes1.md rename to docs/models/getdeploymentroutes1.md index 41472527..9f905aa2 100644 --- a/docs/models/operations/getdeploymentroutes1.md +++ b/docs/models/getdeploymentroutes1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentRoutes1 } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentRoutes1 } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentRoutes1 = { src: "", @@ -24,9 +24,9 @@ let value: GetDeploymentRoutes1 = { | `check` | *boolean* | :heavy_minus_sign: | N/A | | `important` | *boolean* | :heavy_minus_sign: | N/A | | `status` | *number* | :heavy_minus_sign: | N/A | -| `has` | *operations.GetDeploymentRoutesHas*[] | :heavy_minus_sign: | N/A | -| `missing` | *operations.GetDeploymentRoutesMissing*[] | :heavy_minus_sign: | N/A | -| `locale` | [operations.GetDeploymentRoutesLocale](../../models/operations/getdeploymentrouteslocale.md) | :heavy_minus_sign: | N/A | +| `has` | *models.GetDeploymentRoutesHas*[] | :heavy_minus_sign: | N/A | +| `missing` | *models.GetDeploymentRoutesMissing*[] | :heavy_minus_sign: | N/A | +| `locale` | [models.GetDeploymentRoutesLocale](../models/getdeploymentrouteslocale.md) | :heavy_minus_sign: | N/A | | `middlewarePath` | *string* | :heavy_minus_sign: | A middleware key within the `output` key under the build result. Overrides a `middleware` definition. | | `middlewareRawSrc` | *string*[] | :heavy_minus_sign: | The original middleware matchers. | | `middleware` | *number* | :heavy_minus_sign: | A middleware index in the `middleware` key under the build result | \ No newline at end of file diff --git a/docs/models/getdeploymentroutes2.md b/docs/models/getdeploymentroutes2.md new file mode 100644 index 00000000..edd27875 --- /dev/null +++ b/docs/models/getdeploymentroutes2.md @@ -0,0 +1,20 @@ +# GetDeploymentRoutes2 + +## Example Usage + +```typescript +import { GetDeploymentRoutes2 } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentRoutes2 = { + handle: "filesystem", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `handle` | [models.GetDeploymentRoutesHandle](../models/getdeploymentrouteshandle.md) | :heavy_check_mark: | N/A | +| `src` | *string* | :heavy_minus_sign: | N/A | +| `dest` | *string* | :heavy_minus_sign: | N/A | +| `status` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentroutes3.md b/docs/models/getdeploymentroutes3.md similarity index 87% rename from docs/models/operations/getdeploymentroutes3.md rename to docs/models/getdeploymentroutes3.md index 34db2ad7..c56a390d 100644 --- a/docs/models/operations/getdeploymentroutes3.md +++ b/docs/models/getdeploymentroutes3.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentRoutes3 } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentRoutes3 } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentRoutes3 = { src: "", diff --git a/docs/models/getdeploymentrouteshandle.md b/docs/models/getdeploymentrouteshandle.md new file mode 100644 index 00000000..24bccf1a --- /dev/null +++ b/docs/models/getdeploymentrouteshandle.md @@ -0,0 +1,15 @@ +# GetDeploymentRoutesHandle + +## Example Usage + +```typescript +import { GetDeploymentRoutesHandle } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: GetDeploymentRoutesHandle = "rewrite"; +``` + +## Values + +```typescript +"error" | "filesystem" | "hit" | "miss" | "rewrite" | "resource" +``` \ No newline at end of file diff --git a/docs/models/getdeploymentrouteshas.md b/docs/models/getdeploymentrouteshas.md new file mode 100644 index 00000000..7f583242 --- /dev/null +++ b/docs/models/getdeploymentrouteshas.md @@ -0,0 +1,23 @@ +# GetDeploymentRoutesHas + + +## Supported Types + +### `models.GetDeploymentHas1` + +```typescript +const value: models.GetDeploymentHas1 = { + type: "host", + value: "", +}; +``` + +### `models.GetDeploymentHas2` + +```typescript +const value: models.GetDeploymentHas2 = { + type: "header", + key: "", +}; +``` + diff --git a/docs/models/operations/getdeploymentrouteslocale.md b/docs/models/getdeploymentrouteslocale.md similarity index 85% rename from docs/models/operations/getdeploymentrouteslocale.md rename to docs/models/getdeploymentrouteslocale.md index 598534e9..82e750dc 100644 --- a/docs/models/operations/getdeploymentrouteslocale.md +++ b/docs/models/getdeploymentrouteslocale.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentRoutesLocale } from "@vercel/sdk/models/operations/getdeployment.js"; +import { GetDeploymentRoutesLocale } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentRoutesLocale = {}; ``` diff --git a/docs/models/getdeploymentroutesmissing.md b/docs/models/getdeploymentroutesmissing.md new file mode 100644 index 00000000..e4c203d2 --- /dev/null +++ b/docs/models/getdeploymentroutesmissing.md @@ -0,0 +1,23 @@ +# GetDeploymentRoutesMissing + + +## Supported Types + +### `models.GetDeploymentMissing1` + +```typescript +const value: models.GetDeploymentMissing1 = { + type: "host", + value: "", +}; +``` + +### `models.GetDeploymentMissing2` + +```typescript +const value: models.GetDeploymentMissing2 = { + type: "query", + key: "", +}; +``` + diff --git a/docs/models/operations/getdeploymentsaliasassigned.md b/docs/models/getdeploymentsaliasassigned.md similarity index 82% rename from docs/models/operations/getdeploymentsaliasassigned.md rename to docs/models/getdeploymentsaliasassigned.md index e96b9b49..673867ba 100644 --- a/docs/models/operations/getdeploymentsaliasassigned.md +++ b/docs/models/getdeploymentsaliasassigned.md @@ -6,7 +6,7 @@ ### `number` ```typescript -const value: number = 5314.94; +const value: number = 8020.69; ``` ### `boolean` diff --git a/docs/models/operations/getdeploymentsaliaserror.md b/docs/models/getdeploymentsaliaserror.md similarity index 85% rename from docs/models/operations/getdeploymentsaliaserror.md rename to docs/models/getdeploymentsaliaserror.md index c1f915bd..2f09de9d 100644 --- a/docs/models/operations/getdeploymentsaliaserror.md +++ b/docs/models/getdeploymentsaliaserror.md @@ -5,7 +5,7 @@ An error object in case aliasing of the deployment failed. ## Example Usage ```typescript -import { GetDeploymentsAliasError } from "@vercel/sdk/models/operations/getdeployments.js"; +import { GetDeploymentsAliasError } from "@vercel/sdk/models/getdeploymentsop.js"; let value: GetDeploymentsAliasError = { code: "", diff --git a/docs/models/operations/getdeploymentschecksconclusion.md b/docs/models/getdeploymentschecksconclusion.md similarity index 89% rename from docs/models/operations/getdeploymentschecksconclusion.md rename to docs/models/getdeploymentschecksconclusion.md index 105ad6c6..db05ed6a 100644 --- a/docs/models/operations/getdeploymentschecksconclusion.md +++ b/docs/models/getdeploymentschecksconclusion.md @@ -5,7 +5,7 @@ Conclusion for checks ## Example Usage ```typescript -import { GetDeploymentsChecksConclusion } from "@vercel/sdk/models/operations/getdeployments.js"; +import { GetDeploymentsChecksConclusion } from "@vercel/sdk/models/getdeploymentsop.js"; let value: GetDeploymentsChecksConclusion = "failed"; ``` diff --git a/docs/models/getdeploymentschecksstate.md b/docs/models/getdeploymentschecksstate.md new file mode 100644 index 00000000..11bd7b1f --- /dev/null +++ b/docs/models/getdeploymentschecksstate.md @@ -0,0 +1,17 @@ +# GetDeploymentsChecksState + +State of all registered checks + +## Example Usage + +```typescript +import { GetDeploymentsChecksState } from "@vercel/sdk/models/getdeploymentsop.js"; + +let value: GetDeploymentsChecksState = "running"; +``` + +## Values + +```typescript +"registered" | "running" | "completed" +``` \ No newline at end of file diff --git a/docs/models/operations/getdeploymentscreator.md b/docs/models/getdeploymentscreator.md similarity index 94% rename from docs/models/operations/getdeploymentscreator.md rename to docs/models/getdeploymentscreator.md index 255bedf1..34a010cd 100644 --- a/docs/models/operations/getdeploymentscreator.md +++ b/docs/models/getdeploymentscreator.md @@ -5,7 +5,7 @@ Metadata information of the user who created the deployment. ## Example Usage ```typescript -import { GetDeploymentsCreator } from "@vercel/sdk/models/operations/getdeployments.js"; +import { GetDeploymentsCreator } from "@vercel/sdk/models/getdeploymentsop.js"; let value: GetDeploymentsCreator = { uid: "eLrCnEgbKhsHyfbiNR7E8496", diff --git a/docs/models/operations/getdeploymentscustomenvironment.md b/docs/models/getdeploymentscustomenvironment.md similarity index 84% rename from docs/models/operations/getdeploymentscustomenvironment.md rename to docs/models/getdeploymentscustomenvironment.md index 8bc8fb1b..00d3d626 100644 --- a/docs/models/operations/getdeploymentscustomenvironment.md +++ b/docs/models/getdeploymentscustomenvironment.md @@ -5,7 +5,7 @@ The custom environment used for this deployment, if any ## Example Usage ```typescript -import { GetDeploymentsCustomEnvironment } from "@vercel/sdk/models/operations/getdeployments.js"; +import { GetDeploymentsCustomEnvironment } from "@vercel/sdk/models/getdeploymentsop.js"; let value: GetDeploymentsCustomEnvironment = { id: "", @@ -17,4 +17,4 @@ let value: GetDeploymentsCustomEnvironment = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | | `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `slug` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentsframework.md b/docs/models/getdeploymentsframework.md similarity index 82% rename from docs/models/operations/getdeploymentsframework.md rename to docs/models/getdeploymentsframework.md index fa643ffa..fa29d806 100644 --- a/docs/models/operations/getdeploymentsframework.md +++ b/docs/models/getdeploymentsframework.md @@ -3,9 +3,9 @@ ## Example Usage ```typescript -import { GetDeploymentsFramework } from "@vercel/sdk/models/operations/getdeployments.js"; +import { GetDeploymentsFramework } from "@vercel/sdk/models/getdeploymentsop.js"; -let value: GetDeploymentsFramework = "angular"; +let value: GetDeploymentsFramework = "nuxtjs"; ``` ## Values diff --git a/docs/models/operations/getdeploymentsgitcomments.md b/docs/models/getdeploymentsgitcomments.md similarity index 91% rename from docs/models/operations/getdeploymentsgitcomments.md rename to docs/models/getdeploymentsgitcomments.md index 76037756..f96b0211 100644 --- a/docs/models/operations/getdeploymentsgitcomments.md +++ b/docs/models/getdeploymentsgitcomments.md @@ -5,7 +5,7 @@ Since June '23 ## Example Usage ```typescript -import { GetDeploymentsGitComments } from "@vercel/sdk/models/operations/getdeployments.js"; +import { GetDeploymentsGitComments } from "@vercel/sdk/models/getdeploymentsop.js"; let value: GetDeploymentsGitComments = { onPullRequest: false, diff --git a/docs/models/getdeploymentsnodeversion.md b/docs/models/getdeploymentsnodeversion.md new file mode 100644 index 00000000..033afe28 --- /dev/null +++ b/docs/models/getdeploymentsnodeversion.md @@ -0,0 +1,15 @@ +# GetDeploymentsNodeVersion + +## Example Usage + +```typescript +import { GetDeploymentsNodeVersion } from "@vercel/sdk/models/getdeploymentsop.js"; + +let value: GetDeploymentsNodeVersion = "18.x"; +``` + +## Values + +```typescript +"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x" +``` \ No newline at end of file diff --git a/docs/models/getdeploymentsprojectsettings.md b/docs/models/getdeploymentsprojectsettings.md new file mode 100644 index 00000000..1a28dbb1 --- /dev/null +++ b/docs/models/getdeploymentsprojectsettings.md @@ -0,0 +1,35 @@ +# GetDeploymentsProjectSettings + +The project settings which was used for this deployment + +## Example Usage + +```typescript +import { GetDeploymentsProjectSettings } from "@vercel/sdk/models/getdeploymentsop.js"; + +let value: GetDeploymentsProjectSettings = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `framework` | [models.GetDeploymentsFramework](../models/getdeploymentsframework.md) | :heavy_minus_sign: | N/A | +| `gitForkProtection` | *boolean* | :heavy_minus_sign: | N/A | +| `customerSupportCodeVisibility` | *boolean* | :heavy_minus_sign: | N/A | +| `gitLFS` | *boolean* | :heavy_minus_sign: | N/A | +| `devCommand` | *string* | :heavy_minus_sign: | N/A | +| `installCommand` | *string* | :heavy_minus_sign: | N/A | +| `buildCommand` | *string* | :heavy_minus_sign: | N/A | +| `nodeVersion` | [models.GetDeploymentsNodeVersion](../models/getdeploymentsnodeversion.md) | :heavy_minus_sign: | N/A | +| `outputDirectory` | *string* | :heavy_minus_sign: | N/A | +| `publicSource` | *boolean* | :heavy_minus_sign: | N/A | +| `rootDirectory` | *string* | :heavy_minus_sign: | N/A | +| `serverlessFunctionRegion` | *string* | :heavy_minus_sign: | N/A | +| `sourceFilesOutsideRootDirectory` | *boolean* | :heavy_minus_sign: | N/A | +| `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.GetDeploymentsSpeedInsights](../models/getdeploymentsspeedinsights.md) | :heavy_minus_sign: | N/A | +| `webAnalytics` | [models.GetDeploymentsWebAnalytics](../models/getdeploymentswebanalytics.md) | :heavy_minus_sign: | N/A | +| `skipGitConnectDuringLink` | *boolean* | :heavy_minus_sign: | N/A | +| `gitComments` | [models.GetDeploymentsGitComments](../models/getdeploymentsgitcomments.md) | :heavy_minus_sign: | Since June '23 | \ No newline at end of file diff --git a/docs/models/getdeploymentsreadystate.md b/docs/models/getdeploymentsreadystate.md new file mode 100644 index 00000000..bd7f796d --- /dev/null +++ b/docs/models/getdeploymentsreadystate.md @@ -0,0 +1,17 @@ +# GetDeploymentsReadyState + +In which state is the deployment. + +## Example Usage + +```typescript +import { GetDeploymentsReadyState } from "@vercel/sdk/models/getdeploymentsop.js"; + +let value: GetDeploymentsReadyState = "READY"; +``` + +## Values + +```typescript +"BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED" | "DELETED" +``` \ No newline at end of file diff --git a/docs/models/operations/getdeploymentsreadysubstate.md b/docs/models/getdeploymentsreadysubstate.md similarity index 82% rename from docs/models/operations/getdeploymentsreadysubstate.md rename to docs/models/getdeploymentsreadysubstate.md index 0b694a5c..2ae962e4 100644 --- a/docs/models/operations/getdeploymentsreadysubstate.md +++ b/docs/models/getdeploymentsreadysubstate.md @@ -5,9 +5,9 @@ Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether ## Example Usage ```typescript -import { GetDeploymentsReadySubstate } from "@vercel/sdk/models/operations/getdeployments.js"; +import { GetDeploymentsReadySubstate } from "@vercel/sdk/models/getdeploymentsop.js"; -let value: GetDeploymentsReadySubstate = "PROMOTED"; +let value: GetDeploymentsReadySubstate = "STAGED"; ``` ## Values diff --git a/docs/models/operations/getdeploymentsrequest.md b/docs/models/getdeploymentsrequest.md similarity index 98% rename from docs/models/operations/getdeploymentsrequest.md rename to docs/models/getdeploymentsrequest.md index fe0c5c65..942a697c 100644 --- a/docs/models/operations/getdeploymentsrequest.md +++ b/docs/models/getdeploymentsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentsRequest } from "@vercel/sdk/models/operations/getdeployments.js"; +import { GetDeploymentsRequest } from "@vercel/sdk/models/getdeploymentsop.js"; let value: GetDeploymentsRequest = { app: "docs", diff --git a/docs/models/operations/getdeploymentsresponsebody.md b/docs/models/getdeploymentsresponsebody.md similarity index 90% rename from docs/models/operations/getdeploymentsresponsebody.md rename to docs/models/getdeploymentsresponsebody.md index c045ea6b..788011c4 100644 --- a/docs/models/operations/getdeploymentsresponsebody.md +++ b/docs/models/getdeploymentsresponsebody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentsResponseBody } from "@vercel/sdk/models/operations/getdeployments.js"; +import { GetDeploymentsResponseBody } from "@vercel/sdk/models/getdeploymentsop.js"; let value: GetDeploymentsResponseBody = { pagination: { @@ -46,5 +46,5 @@ let value: GetDeploymentsResponseBody = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `pagination` | [components.Pagination](../../models/components/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | -| `deployments` | [operations.Deployments](../../models/operations/deployments.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| `pagination` | [models.Pagination](../models/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | +| `deployments` | [models.Deployments](../models/deployments.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentssource.md b/docs/models/getdeploymentssource.md similarity index 75% rename from docs/models/operations/getdeploymentssource.md rename to docs/models/getdeploymentssource.md index e1f473eb..0f849e5e 100644 --- a/docs/models/operations/getdeploymentssource.md +++ b/docs/models/getdeploymentssource.md @@ -5,7 +5,7 @@ The source of the deployment. ## Example Usage ```typescript -import { GetDeploymentsSource } from "@vercel/sdk/models/operations/getdeployments.js"; +import { GetDeploymentsSource } from "@vercel/sdk/models/getdeploymentsop.js"; let value: GetDeploymentsSource = "cli"; ``` diff --git a/docs/models/operations/getdeploymentsspeedinsights.md b/docs/models/getdeploymentsspeedinsights.md similarity index 96% rename from docs/models/operations/getdeploymentsspeedinsights.md rename to docs/models/getdeploymentsspeedinsights.md index e6ce6cf1..24254d40 100644 --- a/docs/models/operations/getdeploymentsspeedinsights.md +++ b/docs/models/getdeploymentsspeedinsights.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentsSpeedInsights } from "@vercel/sdk/models/operations/getdeployments.js"; +import { GetDeploymentsSpeedInsights } from "@vercel/sdk/models/getdeploymentsop.js"; let value: GetDeploymentsSpeedInsights = { id: "", diff --git a/docs/models/getdeploymentsstate.md b/docs/models/getdeploymentsstate.md new file mode 100644 index 00000000..a73cd533 --- /dev/null +++ b/docs/models/getdeploymentsstate.md @@ -0,0 +1,17 @@ +# GetDeploymentsState + +In which state is the deployment. + +## Example Usage + +```typescript +import { GetDeploymentsState } from "@vercel/sdk/models/getdeploymentsop.js"; + +let value: GetDeploymentsState = "READY"; +``` + +## Values + +```typescript +"BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED" | "DELETED" +``` \ No newline at end of file diff --git a/docs/models/getdeploymentstarget.md b/docs/models/getdeploymentstarget.md new file mode 100644 index 00000000..3b2ab6f0 --- /dev/null +++ b/docs/models/getdeploymentstarget.md @@ -0,0 +1,17 @@ +# GetDeploymentsTarget + +On which environment has the deployment been deployed to. + +## Example Usage + +```typescript +import { GetDeploymentsTarget } from "@vercel/sdk/models/getdeploymentsop.js"; + +let value: GetDeploymentsTarget = "production"; +``` + +## Values + +```typescript +"production" | "staging" +``` \ No newline at end of file diff --git a/docs/models/getdeploymentstype.md b/docs/models/getdeploymentstype.md new file mode 100644 index 00000000..aeb9ef02 --- /dev/null +++ b/docs/models/getdeploymentstype.md @@ -0,0 +1,17 @@ +# GetDeploymentsType + +The type of the deployment. + +## Example Usage + +```typescript +import { GetDeploymentsType } from "@vercel/sdk/models/getdeploymentsop.js"; + +let value: GetDeploymentsType = "LAMBDAS"; +``` + +## Values + +```typescript +"LAMBDAS" +``` \ No newline at end of file diff --git a/docs/models/operations/getdeploymentswebanalytics.md b/docs/models/getdeploymentswebanalytics.md similarity index 88% rename from docs/models/operations/getdeploymentswebanalytics.md rename to docs/models/getdeploymentswebanalytics.md index 4bf99672..054c4788 100644 --- a/docs/models/operations/getdeploymentswebanalytics.md +++ b/docs/models/getdeploymentswebanalytics.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDeploymentsWebAnalytics } from "@vercel/sdk/models/operations/getdeployments.js"; +import { GetDeploymentsWebAnalytics } from "@vercel/sdk/models/getdeploymentsop.js"; let value: GetDeploymentsWebAnalytics = { id: "", diff --git a/docs/models/operations/getdomainconfigrequest.md b/docs/models/getdomainconfigrequest.md similarity index 98% rename from docs/models/operations/getdomainconfigrequest.md rename to docs/models/getdomainconfigrequest.md index 3831f7fb..b3479a6d 100644 --- a/docs/models/operations/getdomainconfigrequest.md +++ b/docs/models/getdomainconfigrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDomainConfigRequest } from "@vercel/sdk/models/operations/getdomainconfig.js"; +import { GetDomainConfigRequest } from "@vercel/sdk/models/getdomainconfigop.js"; let value: GetDomainConfigRequest = { domain: "example.com", @@ -15,6 +15,6 @@ let value: GetDomainConfigRequest = { | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `domain` | *string* | :heavy_check_mark: | The name of the domain. | example.com | -| `strict` | [operations.Strict](../../models/operations/strict.md) | :heavy_minus_sign: | When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain's parent zone. | | +| `strict` | [models.Strict](../models/strict.md) | :heavy_minus_sign: | When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain's parent zone. | | | `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | | `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | \ No newline at end of file diff --git a/docs/models/operations/getdomainconfigresponsebody.md b/docs/models/getdomainconfigresponsebody.md similarity index 95% rename from docs/models/operations/getdomainconfigresponsebody.md rename to docs/models/getdomainconfigresponsebody.md index fb46de5c..1b40e1c2 100644 --- a/docs/models/operations/getdomainconfigresponsebody.md +++ b/docs/models/getdomainconfigresponsebody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDomainConfigResponseBody } from "@vercel/sdk/models/operations/getdomainconfig.js"; +import { GetDomainConfigResponseBody } from "@vercel/sdk/models/getdomainconfigop.js"; let value: GetDomainConfigResponseBody = { misconfigured: false, @@ -14,6 +14,6 @@ let value: GetDomainConfigResponseBody = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `configuredBy` | [operations.ConfiguredBy](../../models/operations/configuredby.md) | :heavy_minus_sign: | How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to Vercel. - `A`: Domain's A record is resolving to Vercel. - `http`: Domain is resolving to Vercel but may be behind a Proxy. - `dns-01`: Domain is not resolving to Vercel but dns-01 challenge is enabled. - `null`: Domain is not resolving to Vercel. | -| `acceptedChallenges` | [operations.AcceptedChallenges](../../models/operations/acceptedchallenges.md)[] | :heavy_minus_sign: | Which challenge types the domain can use for issuing certs. | +| `configuredBy` | [models.ConfiguredBy](../models/configuredby.md) | :heavy_minus_sign: | How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to Vercel. - `A`: Domain's A record is resolving to Vercel. - `http`: Domain is resolving to Vercel but may be behind a Proxy. - `dns-01`: Domain is not resolving to Vercel but dns-01 challenge is enabled. - `null`: Domain is not resolving to Vercel. | +| `acceptedChallenges` | [models.AcceptedChallenges](../models/acceptedchallenges.md)[] | :heavy_minus_sign: | Which challenge types the domain can use for issuing certs. | | `misconfigured` | *boolean* | :heavy_check_mark: | Whether or not the domain is configured AND we can automatically generate a TLS certificate. | \ No newline at end of file diff --git a/docs/models/operations/getdomaincreator.md b/docs/models/getdomaincreator.md similarity index 91% rename from docs/models/operations/getdomaincreator.md rename to docs/models/getdomaincreator.md index ea5279e3..e8f43e84 100644 --- a/docs/models/operations/getdomaincreator.md +++ b/docs/models/getdomaincreator.md @@ -5,7 +5,7 @@ An object containing information of the domain creator, including the user's id, ## Example Usage ```typescript -import { GetDomainCreator } from "@vercel/sdk/models/operations/getdomain.js"; +import { GetDomainCreator } from "@vercel/sdk/models/getdomainop.js"; let value: GetDomainCreator = { username: "vercel_user", diff --git a/docs/models/operations/getdomaindomain.md b/docs/models/getdomaindomain.md similarity index 98% rename from docs/models/operations/getdomaindomain.md rename to docs/models/getdomaindomain.md index c69692bc..c93b0791 100644 --- a/docs/models/operations/getdomaindomain.md +++ b/docs/models/getdomaindomain.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDomainDomain } from "@vercel/sdk/models/operations/getdomain.js"; +import { GetDomainDomain } from "@vercel/sdk/models/getdomainop.js"; let value: GetDomainDomain = { suffix: false, @@ -49,7 +49,7 @@ let value: GetDomainDomain = { | `nameservers` | *string*[] | :heavy_check_mark: | A list of the current nameservers of the domain. | [
"ns1.nameserver.net",
"ns2.nameserver.net"
] | | `intendedNameservers` | *string*[] | :heavy_check_mark: | A list of the intended nameservers for the domain to point to Vercel DNS. | [
"ns1.vercel-dns.com",
"ns2.vercel-dns.com"
] | | `customNameservers` | *string*[] | :heavy_minus_sign: | A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel. | [
"ns1.nameserver.net",
"ns2.nameserver.net"
] | -| `creator` | [operations.GetDomainCreator](../../models/operations/getdomaincreator.md) | :heavy_check_mark: | An object containing information of the domain creator, including the user's id, username, and email. | {
"id": "ZspSRT4ljIEEmMHgoDwKWDei",
"username": "vercel_user",
"email": "demo@example.com"
} | +| `creator` | [models.GetDomainCreator](../models/getdomaincreator.md) | :heavy_check_mark: | An object containing information of the domain creator, including the user's id, username, and email. | {
"id": "ZspSRT4ljIEEmMHgoDwKWDei",
"username": "vercel_user",
"email": "demo@example.com"
} | | `teamId` | *string* | :heavy_check_mark: | N/A | | | `userId` | *string* | :heavy_check_mark: | N/A | | | `boughtAt` | *number* | :heavy_check_mark: | If it was purchased through Vercel, the timestamp in milliseconds when it was purchased. | 1613602938882 | @@ -59,6 +59,6 @@ let value: GetDomainDomain = { | `name` | *string* | :heavy_check_mark: | The domain name. | example.com | | `orderedAt` | *number* | :heavy_minus_sign: | Timestamp in milliseconds at which the domain was ordered. | 1613602938882 | | `renew` | *boolean* | :heavy_minus_sign: | Indicates whether the domain is set to automatically renew. | true | -| `serviceType` | [operations.ServiceType](../../models/operations/servicetype.md) | :heavy_check_mark: | The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. | zeit.world | +| `serviceType` | [models.ServiceType](../models/servicetype.md) | :heavy_check_mark: | The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. | zeit.world | | `transferredAt` | *number* | :heavy_minus_sign: | Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in. | 1613602938882 | | `transferStartedAt` | *number* | :heavy_minus_sign: | If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated. | 1613602938882 | \ No newline at end of file diff --git a/docs/models/operations/getdomainrequest.md b/docs/models/getdomainrequest.md similarity index 95% rename from docs/models/operations/getdomainrequest.md rename to docs/models/getdomainrequest.md index a646b33c..349db8af 100644 --- a/docs/models/operations/getdomainrequest.md +++ b/docs/models/getdomainrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDomainRequest } from "@vercel/sdk/models/operations/getdomain.js"; +import { GetDomainRequest } from "@vercel/sdk/models/getdomainop.js"; let value: GetDomainRequest = { domain: "example.com", diff --git a/docs/models/getdomainresponsebody.md b/docs/models/getdomainresponsebody.md new file mode 100644 index 00000000..fb1204e5 --- /dev/null +++ b/docs/models/getdomainresponsebody.md @@ -0,0 +1,51 @@ +# GetDomainResponseBody + +Successful response retrieving an information for a specific domains. + +## Example Usage + +```typescript +import { GetDomainResponseBody } from "@vercel/sdk/models/getdomainop.js"; + +let value: GetDomainResponseBody = { + domain: { + suffix: false, + verified: true, + nameservers: [ + "ns1.nameserver.net", + "ns2.nameserver.net", + ], + intendedNameservers: [ + "ns1.vercel-dns.com", + "ns2.vercel-dns.com", + ], + customNameservers: [ + "ns1.nameserver.net", + "ns2.nameserver.net", + ], + creator: { + username: "vercel_user", + email: "demo@example.com", + id: "ZspSRT4ljIEEmMHgoDwKWDei", + }, + teamId: "", + userId: "", + boughtAt: 1613602938882, + createdAt: 1613602938882, + expiresAt: 1613602938882, + id: "EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1", + name: "example.com", + orderedAt: 1613602938882, + renew: true, + serviceType: "zeit.world", + transferredAt: 1613602938882, + transferStartedAt: 1613602938882, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `domain` | [models.GetDomainDomain](../models/getdomaindomain.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdomainscreator.md b/docs/models/getdomainscreator.md similarity index 91% rename from docs/models/operations/getdomainscreator.md rename to docs/models/getdomainscreator.md index bc861101..cb9e94b9 100644 --- a/docs/models/operations/getdomainscreator.md +++ b/docs/models/getdomainscreator.md @@ -5,7 +5,7 @@ An object containing information of the domain creator, including the user's id, ## Example Usage ```typescript -import { GetDomainsCreator } from "@vercel/sdk/models/operations/getdomains.js"; +import { GetDomainsCreator } from "@vercel/sdk/models/getdomainsop.js"; let value: GetDomainsCreator = { username: "vercel_user", diff --git a/docs/models/operations/getdomainsrequest.md b/docs/models/getdomainsrequest.md similarity index 96% rename from docs/models/operations/getdomainsrequest.md rename to docs/models/getdomainsrequest.md index dbae14f8..4211ec2e 100644 --- a/docs/models/operations/getdomainsrequest.md +++ b/docs/models/getdomainsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDomainsRequest } from "@vercel/sdk/models/operations/getdomains.js"; +import { GetDomainsRequest } from "@vercel/sdk/models/getdomainsop.js"; let value: GetDomainsRequest = { limit: 20, diff --git a/docs/models/operations/getdomainsresponsebody.md b/docs/models/getdomainsresponsebody.md similarity index 90% rename from docs/models/operations/getdomainsresponsebody.md rename to docs/models/getdomainsresponsebody.md index 88a1d674..aa5889ed 100644 --- a/docs/models/operations/getdomainsresponsebody.md +++ b/docs/models/getdomainsresponsebody.md @@ -5,7 +5,7 @@ Successful response retrieving a list of domains. ## Example Usage ```typescript -import { GetDomainsResponseBody } from "@vercel/sdk/models/operations/getdomains.js"; +import { GetDomainsResponseBody } from "@vercel/sdk/models/getdomainsop.js"; let value: GetDomainsResponseBody = { domains: [ @@ -54,5 +54,5 @@ let value: GetDomainsResponseBody = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `domains` | [operations.Domains](../../models/operations/domains.md)[] | :heavy_check_mark: | N/A | -| `pagination` | [components.Pagination](../../models/components/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file +| `domains` | [models.Domains](../models/domains.md)[] | :heavy_check_mark: | N/A | +| `pagination` | [models.Pagination](../models/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file diff --git a/docs/models/operations/getdomainsservicetype.md b/docs/models/getdomainsservicetype.md similarity index 80% rename from docs/models/operations/getdomainsservicetype.md rename to docs/models/getdomainsservicetype.md index 02935514..cb8974ce 100644 --- a/docs/models/operations/getdomainsservicetype.md +++ b/docs/models/getdomainsservicetype.md @@ -5,7 +5,7 @@ The type of service the domain is handled by. `external` if the DNS is externall ## Example Usage ```typescript -import { GetDomainsServiceType } from "@vercel/sdk/models/operations/getdomains.js"; +import { GetDomainsServiceType } from "@vercel/sdk/models/getdomainsop.js"; let value: GetDomainsServiceType = "zeit.world"; ``` diff --git a/docs/models/operations/getdomaintransferrequest.md b/docs/models/getdomaintransferrequest.md similarity index 94% rename from docs/models/operations/getdomaintransferrequest.md rename to docs/models/getdomaintransferrequest.md index e24fb10a..65468f55 100644 --- a/docs/models/operations/getdomaintransferrequest.md +++ b/docs/models/getdomaintransferrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetDomainTransferRequest } from "@vercel/sdk/models/operations/getdomaintransfer.js"; +import { GetDomainTransferRequest } from "@vercel/sdk/models/getdomaintransferop.js"; let value: GetDomainTransferRequest = { domain: "example.com", diff --git a/docs/models/operations/getdomaintransferresponsebody.md b/docs/models/getdomaintransferresponsebody.md similarity index 97% rename from docs/models/operations/getdomaintransferresponsebody.md rename to docs/models/getdomaintransferresponsebody.md index af009d15..269b7e6d 100644 --- a/docs/models/operations/getdomaintransferresponsebody.md +++ b/docs/models/getdomaintransferresponsebody.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { GetDomainTransferResponseBody } from "@vercel/sdk/models/operations/getdomaintransfer.js"; +import { GetDomainTransferResponseBody } from "@vercel/sdk/models/getdomaintransferop.js"; let value: GetDomainTransferResponseBody = { transferable: false, - transferPolicy: "no-change", + transferPolicy: "new-term", reason: "", status: "undef", }; @@ -18,6 +18,6 @@ let value: GetDomainTransferResponseBody = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `transferable` | *boolean* | :heavy_check_mark: | Whether or not the domain is transferable | -| `transferPolicy` | [operations.TransferPolicy](../../models/operations/transferpolicy.md) | :heavy_check_mark: | The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar. | +| `transferPolicy` | [models.TransferPolicy](../models/transferpolicy.md) | :heavy_check_mark: | The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar. | | `reason` | *string* | :heavy_check_mark: | Description associated with transferable state. | -| `status` | [operations.GetDomainTransferStatus](../../models/operations/getdomaintransferstatus.md) | :heavy_check_mark: | The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar. | \ No newline at end of file +| `status` | [models.GetDomainTransferStatus](../models/getdomaintransferstatus.md) | :heavy_check_mark: | The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar. | \ No newline at end of file diff --git a/docs/models/operations/getdomaintransferstatus.md b/docs/models/getdomaintransferstatus.md similarity index 84% rename from docs/models/operations/getdomaintransferstatus.md rename to docs/models/getdomaintransferstatus.md index 2f98cd24..99078a34 100644 --- a/docs/models/operations/getdomaintransferstatus.md +++ b/docs/models/getdomaintransferstatus.md @@ -5,9 +5,9 @@ The current state of an ongoing transfer. `pending_owner`: Awaiting approval by ## Example Usage ```typescript -import { GetDomainTransferStatus } from "@vercel/sdk/models/operations/getdomaintransfer.js"; +import { GetDomainTransferStatus } from "@vercel/sdk/models/getdomaintransferop.js"; -let value: GetDomainTransferStatus = "pending_admin"; +let value: GetDomainTransferStatus = "unknown"; ``` ## Values diff --git a/docs/models/operations/getedgeconfigbackuprequest.md b/docs/models/getedgeconfigbackuprequest.md similarity index 94% rename from docs/models/operations/getedgeconfigbackuprequest.md rename to docs/models/getedgeconfigbackuprequest.md index c4749fce..d747493a 100644 --- a/docs/models/operations/getedgeconfigbackuprequest.md +++ b/docs/models/getedgeconfigbackuprequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetEdgeConfigBackupRequest } from "@vercel/sdk/models/operations/getedgeconfigbackup.js"; +import { GetEdgeConfigBackupRequest } from "@vercel/sdk/models/getedgeconfigbackupop.js"; let value: GetEdgeConfigBackupRequest = { edgeConfigId: "", diff --git a/docs/models/getedgeconfigbackupresponsebody.md b/docs/models/getedgeconfigbackupresponsebody.md new file mode 100644 index 00000000..5bd43bcf --- /dev/null +++ b/docs/models/getedgeconfigbackupresponsebody.md @@ -0,0 +1,42 @@ +# GetEdgeConfigBackupResponseBody + + +## Supported Types + +### `models.GetEdgeConfigBackupResponseBody1` + +```typescript +const value: models.GetEdgeConfigBackupResponseBody1 = { + id: "", + lastModified: 2214.90, + backup: { + digest: "", + items: {}, + slug: "", + updatedAt: 442.52, + }, + metadata: {}, +}; +``` + +### `models.GetEdgeConfigBackupResponseBody2` + +```typescript +const value: models.GetEdgeConfigBackupResponseBody2 = { + user: { + id: "", + username: "Hobart_Shields3", + email: "Clair_Runte98@yahoo.com", + }, + id: "", + lastModified: 8996.52, + backup: { + digest: "", + items: {}, + slug: "", + updatedAt: 1164.63, + }, + metadata: {}, +}; +``` + diff --git a/docs/models/getedgeconfigbackupresponsebody1.md b/docs/models/getedgeconfigbackupresponsebody1.md new file mode 100644 index 00000000..739fa372 --- /dev/null +++ b/docs/models/getedgeconfigbackupresponsebody1.md @@ -0,0 +1,31 @@ +# GetEdgeConfigBackupResponseBody1 + +The object the API responds with when requesting an Edge Config backup + +## Example Usage + +```typescript +import { GetEdgeConfigBackupResponseBody1 } from "@vercel/sdk/models/getedgeconfigbackupop.js"; + +let value: GetEdgeConfigBackupResponseBody1 = { + id: "", + lastModified: 8180.77, + backup: { + digest: "", + items: {}, + slug: "", + updatedAt: 6143.46, + }, + metadata: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `lastModified` | *number* | :heavy_check_mark: | N/A | +| `backup` | [models.Backup](../models/backup.md) | :heavy_check_mark: | N/A | +| `metadata` | [models.Metadata](../models/metadata.md) | :heavy_check_mark: | N/A | +| `user` | [models.GetEdgeConfigBackupResponseBodyUser](../models/getedgeconfigbackupresponsebodyuser.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getedgeconfigbackupresponsebody2.md b/docs/models/getedgeconfigbackupresponsebody2.md new file mode 100644 index 00000000..0e6ed87e --- /dev/null +++ b/docs/models/getedgeconfigbackupresponsebody2.md @@ -0,0 +1,34 @@ +# GetEdgeConfigBackupResponseBody2 + +## Example Usage + +```typescript +import { GetEdgeConfigBackupResponseBody2 } from "@vercel/sdk/models/getedgeconfigbackupop.js"; + +let value: GetEdgeConfigBackupResponseBody2 = { + user: { + id: "", + username: "Ivy7", + email: "Darwin_Donnelly@gmail.com", + }, + id: "", + lastModified: 9596.96, + backup: { + digest: "", + items: {}, + slug: "", + updatedAt: 2402.92, + }, + metadata: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `user` | [models.ResponseBodyUser](../models/responsebodyuser.md) | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `lastModified` | *number* | :heavy_check_mark: | N/A | +| `backup` | [models.ResponseBodyBackup](../models/responsebodybackup.md) | :heavy_check_mark: | N/A | +| `metadata` | [models.ResponseBodyMetadata](../models/responsebodymetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getedgeconfigbackupresponsebodyitems.md b/docs/models/getedgeconfigbackupresponsebodyitems.md new file mode 100644 index 00000000..9c72cb9e --- /dev/null +++ b/docs/models/getedgeconfigbackupresponsebodyitems.md @@ -0,0 +1,22 @@ +# GetEdgeConfigBackupResponseBodyItems + +## Example Usage + +```typescript +import { GetEdgeConfigBackupResponseBodyItems } from "@vercel/sdk/models/getedgeconfigbackupop.js"; + +let value: GetEdgeConfigBackupResponseBodyItems = { + updatedAt: 8018.16, + value: "", + createdAt: 4151.25, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `value` | *models.EdgeConfigItemValue* | :heavy_check_mark: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getedgeconfigbackupresponsebodyuser.md b/docs/models/getedgeconfigbackupresponsebodyuser.md similarity index 88% rename from docs/models/operations/getedgeconfigbackupresponsebodyuser.md rename to docs/models/getedgeconfigbackupresponsebodyuser.md index f5092e6e..efc428dd 100644 --- a/docs/models/operations/getedgeconfigbackupresponsebodyuser.md +++ b/docs/models/getedgeconfigbackupresponsebodyuser.md @@ -3,12 +3,12 @@ ## Example Usage ```typescript -import { GetEdgeConfigBackupResponseBodyUser } from "@vercel/sdk/models/operations/getedgeconfigbackup.js"; +import { GetEdgeConfigBackupResponseBodyUser } from "@vercel/sdk/models/getedgeconfigbackupop.js"; let value: GetEdgeConfigBackupResponseBodyUser = { id: "", - username: "Margarete76", - email: "Jacky_Keebler@yahoo.com", + username: "Laury40", + email: "Cassie37@gmail.com", }; ``` diff --git a/docs/models/operations/getedgeconfigbackupsmetadata.md b/docs/models/getedgeconfigbackupsmetadata.md similarity index 94% rename from docs/models/operations/getedgeconfigbackupsmetadata.md rename to docs/models/getedgeconfigbackupsmetadata.md index 73edd754..6c165290 100644 --- a/docs/models/operations/getedgeconfigbackupsmetadata.md +++ b/docs/models/getedgeconfigbackupsmetadata.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetEdgeConfigBackupsMetadata } from "@vercel/sdk/models/operations/getedgeconfigbackups.js"; +import { GetEdgeConfigBackupsMetadata } from "@vercel/sdk/models/getedgeconfigbackupsop.js"; let value: GetEdgeConfigBackupsMetadata = {}; ``` diff --git a/docs/models/operations/getedgeconfigbackupspagination.md b/docs/models/getedgeconfigbackupspagination.md similarity index 93% rename from docs/models/operations/getedgeconfigbackupspagination.md rename to docs/models/getedgeconfigbackupspagination.md index 3f1a8289..a886e2a7 100644 --- a/docs/models/operations/getedgeconfigbackupspagination.md +++ b/docs/models/getedgeconfigbackupspagination.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetEdgeConfigBackupsPagination } from "@vercel/sdk/models/operations/getedgeconfigbackups.js"; +import { GetEdgeConfigBackupsPagination } from "@vercel/sdk/models/getedgeconfigbackupsop.js"; let value: GetEdgeConfigBackupsPagination = { hasNext: false, diff --git a/docs/models/operations/getedgeconfigbackupsrequest.md b/docs/models/getedgeconfigbackupsrequest.md similarity index 98% rename from docs/models/operations/getedgeconfigbackupsrequest.md rename to docs/models/getedgeconfigbackupsrequest.md index ae401b0f..0a92080b 100644 --- a/docs/models/operations/getedgeconfigbackupsrequest.md +++ b/docs/models/getedgeconfigbackupsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetEdgeConfigBackupsRequest } from "@vercel/sdk/models/operations/getedgeconfigbackups.js"; +import { GetEdgeConfigBackupsRequest } from "@vercel/sdk/models/getedgeconfigbackupsop.js"; let value: GetEdgeConfigBackupsRequest = { edgeConfigId: "", diff --git a/docs/models/getedgeconfigbackupsresponsebody.md b/docs/models/getedgeconfigbackupsresponsebody.md new file mode 100644 index 00000000..2bca89c7 --- /dev/null +++ b/docs/models/getedgeconfigbackupsresponsebody.md @@ -0,0 +1,26 @@ +# GetEdgeConfigBackupsResponseBody + +## Example Usage + +```typescript +import { GetEdgeConfigBackupsResponseBody } from "@vercel/sdk/models/getedgeconfigbackupsop.js"; + +let value: GetEdgeConfigBackupsResponseBody = { + backups: [ + { + id: "", + lastModified: 6962.19, + }, + ], + pagination: { + hasNext: false, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `backups` | [models.Backups](../models/backups.md)[] | :heavy_check_mark: | N/A | +| `pagination` | [models.GetEdgeConfigBackupsPagination](../models/getedgeconfigbackupspagination.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getedgeconfigitemrequest.md b/docs/models/getedgeconfigitemrequest.md similarity index 94% rename from docs/models/operations/getedgeconfigitemrequest.md rename to docs/models/getedgeconfigitemrequest.md index e947520d..e4037911 100644 --- a/docs/models/operations/getedgeconfigitemrequest.md +++ b/docs/models/getedgeconfigitemrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetEdgeConfigItemRequest } from "@vercel/sdk/models/operations/getedgeconfigitem.js"; +import { GetEdgeConfigItemRequest } from "@vercel/sdk/models/getedgeconfigitemop.js"; let value: GetEdgeConfigItemRequest = { edgeConfigId: "", diff --git a/docs/models/operations/getedgeconfigitemsrequest.md b/docs/models/getedgeconfigitemsrequest.md similarity index 93% rename from docs/models/operations/getedgeconfigitemsrequest.md rename to docs/models/getedgeconfigitemsrequest.md index 836de3ee..67bbaf43 100644 --- a/docs/models/operations/getedgeconfigitemsrequest.md +++ b/docs/models/getedgeconfigitemsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetEdgeConfigItemsRequest } from "@vercel/sdk/models/operations/getedgeconfigitems.js"; +import { GetEdgeConfigItemsRequest } from "@vercel/sdk/models/getedgeconfigitemsop.js"; let value: GetEdgeConfigItemsRequest = { edgeConfigId: "", diff --git a/docs/models/getedgeconfigpurpose.md b/docs/models/getedgeconfigpurpose.md new file mode 100644 index 00000000..2b14e4ca --- /dev/null +++ b/docs/models/getedgeconfigpurpose.md @@ -0,0 +1,19 @@ +# GetEdgeConfigPurpose + +## Example Usage + +```typescript +import { GetEdgeConfigPurpose } from "@vercel/sdk/models/getedgeconfigop.js"; + +let value: GetEdgeConfigPurpose = { + type: "flags", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `type` | [models.GetEdgeConfigType](../models/getedgeconfigtype.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getedgeconfigrequest.md b/docs/models/getedgeconfigrequest.md similarity index 93% rename from docs/models/operations/getedgeconfigrequest.md rename to docs/models/getedgeconfigrequest.md index ed274f6d..fb1c52da 100644 --- a/docs/models/operations/getedgeconfigrequest.md +++ b/docs/models/getedgeconfigrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetEdgeConfigRequest } from "@vercel/sdk/models/operations/getedgeconfig.js"; +import { GetEdgeConfigRequest } from "@vercel/sdk/models/getedgeconfigop.js"; let value: GetEdgeConfigRequest = { edgeConfigId: "", diff --git a/docs/models/operations/getedgeconfigresponsebody.md b/docs/models/getedgeconfigresponsebody.md similarity index 93% rename from docs/models/operations/getedgeconfigresponsebody.md rename to docs/models/getedgeconfigresponsebody.md index 65563543..5b81c948 100644 --- a/docs/models/operations/getedgeconfigresponsebody.md +++ b/docs/models/getedgeconfigresponsebody.md @@ -5,11 +5,11 @@ The EdgeConfig. ## Example Usage ```typescript -import { GetEdgeConfigResponseBody } from "@vercel/sdk/models/operations/getedgeconfig.js"; +import { GetEdgeConfigResponseBody } from "@vercel/sdk/models/getedgeconfigop.js"; let value: GetEdgeConfigResponseBody = { - sizeInBytes: 6844.99, - itemCount: 4173.33, + sizeInBytes: 5897.12, + itemCount: 8815.67, }; ``` @@ -23,8 +23,8 @@ let value: GetEdgeConfigResponseBody = { | `slug` | *string* | :heavy_minus_sign: | Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). | | `ownerId` | *string* | :heavy_minus_sign: | N/A | | `digest` | *string* | :heavy_minus_sign: | N/A | -| `transfer` | [operations.GetEdgeConfigTransfer](../../models/operations/getedgeconfigtransfer.md) | :heavy_minus_sign: | Keeps track of the current state of the Edge Config while it gets transferred. | -| `schema` | [operations.GetEdgeConfigSchema](../../models/operations/getedgeconfigschema.md) | :heavy_minus_sign: | N/A | -| `purpose` | [operations.GetEdgeConfigPurpose](../../models/operations/getedgeconfigpurpose.md) | :heavy_minus_sign: | N/A | +| `transfer` | [models.GetEdgeConfigTransfer](../models/getedgeconfigtransfer.md) | :heavy_minus_sign: | Keeps track of the current state of the Edge Config while it gets transferred. | +| `schema` | [models.GetEdgeConfigSchema](../models/getedgeconfigschema.md) | :heavy_minus_sign: | N/A | +| `purpose` | [models.GetEdgeConfigPurpose](../models/getedgeconfigpurpose.md) | :heavy_minus_sign: | N/A | | `sizeInBytes` | *number* | :heavy_check_mark: | N/A | | `itemCount` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getedgeconfigschema.md b/docs/models/getedgeconfigschema.md new file mode 100644 index 00000000..4468326b --- /dev/null +++ b/docs/models/getedgeconfigschema.md @@ -0,0 +1,14 @@ +# GetEdgeConfigSchema + +## Example Usage + +```typescript +import { GetEdgeConfigSchema } from "@vercel/sdk/models/getedgeconfigop.js"; + +let value: GetEdgeConfigSchema = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/getedgeconfigschemarequest.md b/docs/models/getedgeconfigschemarequest.md similarity index 93% rename from docs/models/operations/getedgeconfigschemarequest.md rename to docs/models/getedgeconfigschemarequest.md index 5550dbb1..a3e0d444 100644 --- a/docs/models/operations/getedgeconfigschemarequest.md +++ b/docs/models/getedgeconfigschemarequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetEdgeConfigSchemaRequest } from "@vercel/sdk/models/operations/getedgeconfigschema.js"; +import { GetEdgeConfigSchemaRequest } from "@vercel/sdk/models/getedgeconfigschemaop.js"; let value: GetEdgeConfigSchemaRequest = { edgeConfigId: "", diff --git a/docs/models/operations/getedgeconfigschemaresponsebody.md b/docs/models/getedgeconfigschemaresponsebody.md similarity index 89% rename from docs/models/operations/getedgeconfigschemaresponsebody.md rename to docs/models/getedgeconfigschemaresponsebody.md index 9968149b..c736edfe 100644 --- a/docs/models/operations/getedgeconfigschemaresponsebody.md +++ b/docs/models/getedgeconfigschemaresponsebody.md @@ -5,7 +5,7 @@ The EdgeConfig. ## Example Usage ```typescript -import { GetEdgeConfigSchemaResponseBody } from "@vercel/sdk/models/operations/getedgeconfigschema.js"; +import { GetEdgeConfigSchemaResponseBody } from "@vercel/sdk/models/getedgeconfigschemaop.js"; let value: GetEdgeConfigSchemaResponseBody = {}; ``` diff --git a/docs/models/operations/getedgeconfigsrequest.md b/docs/models/getedgeconfigsrequest.md similarity index 92% rename from docs/models/operations/getedgeconfigsrequest.md rename to docs/models/getedgeconfigsrequest.md index 9d8d11f8..6e82d0d4 100644 --- a/docs/models/operations/getedgeconfigsrequest.md +++ b/docs/models/getedgeconfigsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetEdgeConfigsRequest } from "@vercel/sdk/models/operations/getedgeconfigs.js"; +import { GetEdgeConfigsRequest } from "@vercel/sdk/models/getedgeconfigsop.js"; let value: GetEdgeConfigsRequest = {}; ``` diff --git a/docs/models/operations/getedgeconfigsresponsebody.md b/docs/models/getedgeconfigsresponsebody.md similarity index 93% rename from docs/models/operations/getedgeconfigsresponsebody.md rename to docs/models/getedgeconfigsresponsebody.md index 961f36e9..75b271ad 100644 --- a/docs/models/operations/getedgeconfigsresponsebody.md +++ b/docs/models/getedgeconfigsresponsebody.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { GetEdgeConfigsResponseBody } from "@vercel/sdk/models/operations/getedgeconfigs.js"; +import { GetEdgeConfigsResponseBody } from "@vercel/sdk/models/getedgeconfigsop.js"; let value: GetEdgeConfigsResponseBody = { - sizeInBytes: 7137.18, - itemCount: 9154.08, + sizeInBytes: 3052.67, + itemCount: 9430.62, }; ``` @@ -21,8 +21,8 @@ let value: GetEdgeConfigsResponseBody = { | `slug` | *string* | :heavy_minus_sign: | Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). | | `updatedAt` | *number* | :heavy_minus_sign: | N/A | | `digest` | *string* | :heavy_minus_sign: | N/A | -| `transfer` | [operations.Transfer](../../models/operations/transfer.md) | :heavy_minus_sign: | Keeps track of the current state of the Edge Config while it gets transferred. | -| `schema` | [operations.Schema](../../models/operations/schema.md) | :heavy_minus_sign: | N/A | -| `purpose` | [operations.Purpose](../../models/operations/purpose.md) | :heavy_minus_sign: | N/A | +| `transfer` | [models.Transfer](../models/transfer.md) | :heavy_minus_sign: | Keeps track of the current state of the Edge Config while it gets transferred. | +| `schema` | [models.Schema](../models/schema.md) | :heavy_minus_sign: | N/A | +| `purpose` | [models.Purpose](../models/purpose.md) | :heavy_minus_sign: | N/A | | `sizeInBytes` | *number* | :heavy_check_mark: | N/A | | `itemCount` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getedgeconfigstype.md b/docs/models/getedgeconfigstype.md new file mode 100644 index 00000000..0a3fdf47 --- /dev/null +++ b/docs/models/getedgeconfigstype.md @@ -0,0 +1,15 @@ +# GetEdgeConfigsType + +## Example Usage + +```typescript +import { GetEdgeConfigsType } from "@vercel/sdk/models/getedgeconfigsop.js"; + +let value: GetEdgeConfigsType = "flags"; +``` + +## Values + +```typescript +"flags" +``` \ No newline at end of file diff --git a/docs/models/operations/getedgeconfigtokenrequest.md b/docs/models/getedgeconfigtokenrequest.md similarity index 94% rename from docs/models/operations/getedgeconfigtokenrequest.md rename to docs/models/getedgeconfigtokenrequest.md index fd87cea5..70f04e5f 100644 --- a/docs/models/operations/getedgeconfigtokenrequest.md +++ b/docs/models/getedgeconfigtokenrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetEdgeConfigTokenRequest } from "@vercel/sdk/models/operations/getedgeconfigtoken.js"; +import { GetEdgeConfigTokenRequest } from "@vercel/sdk/models/getedgeconfigtokenop.js"; let value: GetEdgeConfigTokenRequest = { edgeConfigId: "", diff --git a/docs/models/operations/getedgeconfigtokensrequest.md b/docs/models/getedgeconfigtokensrequest.md similarity index 93% rename from docs/models/operations/getedgeconfigtokensrequest.md rename to docs/models/getedgeconfigtokensrequest.md index fefa0821..4a91c577 100644 --- a/docs/models/operations/getedgeconfigtokensrequest.md +++ b/docs/models/getedgeconfigtokensrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetEdgeConfigTokensRequest } from "@vercel/sdk/models/operations/getedgeconfigtokens.js"; +import { GetEdgeConfigTokensRequest } from "@vercel/sdk/models/getedgeconfigtokensop.js"; let value: GetEdgeConfigTokensRequest = { edgeConfigId: "", diff --git a/docs/models/operations/getedgeconfigtransfer.md b/docs/models/getedgeconfigtransfer.md similarity index 83% rename from docs/models/operations/getedgeconfigtransfer.md rename to docs/models/getedgeconfigtransfer.md index 15b60bfc..a6b9a3c2 100644 --- a/docs/models/operations/getedgeconfigtransfer.md +++ b/docs/models/getedgeconfigtransfer.md @@ -5,12 +5,12 @@ Keeps track of the current state of the Edge Config while it gets transferred. ## Example Usage ```typescript -import { GetEdgeConfigTransfer } from "@vercel/sdk/models/operations/getedgeconfig.js"; +import { GetEdgeConfigTransfer } from "@vercel/sdk/models/getedgeconfigop.js"; let value: GetEdgeConfigTransfer = { fromAccountId: "", - startedAt: 6509.14, - doneAt: 8273.13, + startedAt: 3830.66, + doneAt: 3931.22, }; ``` diff --git a/docs/models/getedgeconfigtype.md b/docs/models/getedgeconfigtype.md new file mode 100644 index 00000000..2fc2aef4 --- /dev/null +++ b/docs/models/getedgeconfigtype.md @@ -0,0 +1,15 @@ +# GetEdgeConfigType + +## Example Usage + +```typescript +import { GetEdgeConfigType } from "@vercel/sdk/models/getedgeconfigop.js"; + +let value: GetEdgeConfigType = "flags"; +``` + +## Values + +```typescript +"flags" +``` \ No newline at end of file diff --git a/docs/models/getfirewallconfigaction.md b/docs/models/getfirewallconfigaction.md new file mode 100644 index 00000000..c3d062a7 --- /dev/null +++ b/docs/models/getfirewallconfigaction.md @@ -0,0 +1,15 @@ +# GetFirewallConfigAction + +## Example Usage + +```typescript +import { GetFirewallConfigAction } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigAction = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `mitigate` | [models.GetFirewallConfigMitigate](../models/getfirewallconfigmitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfigalgo.md b/docs/models/getfirewallconfigalgo.md new file mode 100644 index 00000000..9391e6e2 --- /dev/null +++ b/docs/models/getfirewallconfigalgo.md @@ -0,0 +1,15 @@ +# GetFirewallConfigAlgo + +## Example Usage + +```typescript +import { GetFirewallConfigAlgo } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigAlgo = "token_bucket"; +``` + +## Values + +```typescript +"fixed_window" | "token_bucket" +``` \ No newline at end of file diff --git a/docs/models/getfirewallconfigconditiongroup.md b/docs/models/getfirewallconfigconditiongroup.md new file mode 100644 index 00000000..0c789ee0 --- /dev/null +++ b/docs/models/getfirewallconfigconditiongroup.md @@ -0,0 +1,22 @@ +# GetFirewallConfigConditionGroup + +## Example Usage + +```typescript +import { GetFirewallConfigConditionGroup } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigConditionGroup = { + conditions: [ + { + type: "geo_country", + op: "neq", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `conditions` | [models.GetFirewallConfigConditions](../models/getfirewallconfigconditions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfigconditions.md b/docs/models/getfirewallconfigconditions.md new file mode 100644 index 00000000..26330890 --- /dev/null +++ b/docs/models/getfirewallconfigconditions.md @@ -0,0 +1,22 @@ +# GetFirewallConfigConditions + +## Example Usage + +```typescript +import { GetFirewallConfigConditions } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigConditions = { + type: "protocol", + op: "nex", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetFirewallConfigType](../models/getfirewallconfigtype.md) | :heavy_check_mark: | [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. | +| `op` | [models.GetFirewallConfigOp](../models/getfirewallconfigop.md) | :heavy_check_mark: | [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value | +| `neg` | *boolean* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *models.GetFirewallConfigValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfigcrs.md b/docs/models/getfirewallconfigcrs.md new file mode 100644 index 00000000..31b4ed59 --- /dev/null +++ b/docs/models/getfirewallconfigcrs.md @@ -0,0 +1,72 @@ +# GetFirewallConfigCrs + +Custom Ruleset + +## Example Usage + +```typescript +import { GetFirewallConfigCrs } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigCrs = { + sd: { + active: false, + action: "deny", + }, + ma: { + active: false, + action: "deny", + }, + lfi: { + active: false, + action: "deny", + }, + rfi: { + active: false, + action: "deny", + }, + rce: { + active: false, + action: "deny", + }, + php: { + active: false, + action: "log", + }, + gen: { + active: false, + action: "log", + }, + xss: { + active: false, + action: "deny", + }, + sqli: { + active: false, + action: "log", + }, + sf: { + active: false, + action: "deny", + }, + java: { + active: false, + action: "log", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `sd` | [models.GetFirewallConfigSd](../models/getfirewallconfigsd.md) | :heavy_check_mark: | Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools. | +| `ma` | [models.GetFirewallConfigMa](../models/getfirewallconfigma.md) | :heavy_check_mark: | Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding. | +| `lfi` | [models.GetFirewallConfigLfi](../models/getfirewallconfiglfi.md) | :heavy_check_mark: | Local File Inclusion Attack - Prevent unauthorized access to local files through web applications. | +| `rfi` | [models.GetFirewallConfigRfi](../models/getfirewallconfigrfi.md) | :heavy_check_mark: | Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files. | +| `rce` | [models.GetFirewallConfigRce](../models/getfirewallconfigrce.md) | :heavy_check_mark: | Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands. | +| `php` | [models.GetFirewallConfigPhp](../models/getfirewallconfigphp.md) | :heavy_check_mark: | PHP Attack - Safeguard against vulnerability exploits in PHP-based applications. | +| `gen` | [models.GetFirewallConfigGen](../models/getfirewallconfiggen.md) | :heavy_check_mark: | Generic Attack - Provide broad protection from various undefined or novel attack vectors. | +| `xss` | [models.GetFirewallConfigXss](../models/getfirewallconfigxss.md) | :heavy_check_mark: | XSS Attack - Prevent injection of malicious scripts into trusted webpages. | +| `sqli` | [models.GetFirewallConfigSqli](../models/getfirewallconfigsqli.md) | :heavy_check_mark: | SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases. | +| `sf` | [models.GetFirewallConfigSf](../models/getfirewallconfigsf.md) | :heavy_check_mark: | Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs. | +| `java` | [models.GetFirewallConfigJava](../models/getfirewallconfigjava.md) | :heavy_check_mark: | Java Attack - Mitigate risks of exploitation targeting Java-based applications or components. | \ No newline at end of file diff --git a/docs/models/getfirewallconfiggen.md b/docs/models/getfirewallconfiggen.md new file mode 100644 index 00000000..a5c085aa --- /dev/null +++ b/docs/models/getfirewallconfiggen.md @@ -0,0 +1,21 @@ +# GetFirewallConfigGen + +Generic Attack - Provide broad protection from various undefined or novel attack vectors. + +## Example Usage + +```typescript +import { GetFirewallConfigGen } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigGen = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction](../models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfigips.md b/docs/models/getfirewallconfigips.md new file mode 100644 index 00000000..fd8fb2cf --- /dev/null +++ b/docs/models/getfirewallconfigips.md @@ -0,0 +1,24 @@ +# GetFirewallConfigIps + +## Example Usage + +```typescript +import { GetFirewallConfigIps } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigIps = { + id: "", + hostname: "beloved-hyphenation.biz", + ip: "200.183.37.161", + action: "bypass", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `hostname` | *string* | :heavy_check_mark: | N/A | +| `ip` | *string* | :heavy_check_mark: | N/A | +| `notes` | *string* | :heavy_minus_sign: | N/A | +| `action` | [models.GetFirewallConfigSecurityAction](../models/getfirewallconfigsecurityaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfigjava.md b/docs/models/getfirewallconfigjava.md new file mode 100644 index 00000000..a7e091d5 --- /dev/null +++ b/docs/models/getfirewallconfigjava.md @@ -0,0 +1,21 @@ +# GetFirewallConfigJava + +Java Attack - Mitigate risks of exploitation targeting Java-based applications or components. + +## Example Usage + +```typescript +import { GetFirewallConfigJava } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigJava = { + active: false, + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction](../models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsjavaaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfiglfi.md b/docs/models/getfirewallconfiglfi.md new file mode 100644 index 00000000..71a5ac6f --- /dev/null +++ b/docs/models/getfirewallconfiglfi.md @@ -0,0 +1,21 @@ +# GetFirewallConfigLfi + +Local File Inclusion Attack - Prevent unauthorized access to local files through web applications. + +## Example Usage + +```typescript +import { GetFirewallConfigLfi } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigLfi = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.GetFirewallConfigSecurityResponseAction](../models/getfirewallconfigsecurityresponseaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfigma.md b/docs/models/getfirewallconfigma.md new file mode 100644 index 00000000..88866cce --- /dev/null +++ b/docs/models/getfirewallconfigma.md @@ -0,0 +1,21 @@ +# GetFirewallConfigMa + +Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding. + +## Example Usage + +```typescript +import { GetFirewallConfigMa } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigMa = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction](../models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsmaaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfigmanagedrules.md b/docs/models/getfirewallconfigmanagedrules.md new file mode 100644 index 00000000..851bdf63 --- /dev/null +++ b/docs/models/getfirewallconfigmanagedrules.md @@ -0,0 +1,16 @@ +# GetFirewallConfigManagedRules + +## Example Usage + +```typescript +import { GetFirewallConfigManagedRules } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigManagedRules = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `owasp` | [models.GetFirewallConfigOwasp](../models/getfirewallconfigowasp.md) | :heavy_minus_sign: | N/A | +| `verifiedBotsBypass` | [models.VerifiedBotsBypass](../models/verifiedbotsbypass.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfigmitigate.md b/docs/models/getfirewallconfigmitigate.md new file mode 100644 index 00000000..e7e0dd27 --- /dev/null +++ b/docs/models/getfirewallconfigmitigate.md @@ -0,0 +1,20 @@ +# GetFirewallConfigMitigate + +## Example Usage + +```typescript +import { GetFirewallConfigMitigate } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigMitigate = { + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `action` | [models.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction](../models/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesaction.md) | :heavy_check_mark: | N/A | +| `rateLimit` | [models.GetFirewallConfigRateLimit](../models/getfirewallconfigratelimit.md) | :heavy_minus_sign: | N/A | +| `redirect` | [models.GetFirewallConfigRedirect](../models/getfirewallconfigredirect.md) | :heavy_minus_sign: | N/A | +| `actionDuration` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfigop.md b/docs/models/getfirewallconfigop.md new file mode 100644 index 00000000..153543fc --- /dev/null +++ b/docs/models/getfirewallconfigop.md @@ -0,0 +1,17 @@ +# GetFirewallConfigOp + +[Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value + +## Example Usage + +```typescript +import { GetFirewallConfigOp } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigOp = "suf"; +``` + +## Values + +```typescript +"re" | "eq" | "ex" | "inc" | "pre" | "suf" | "sub" | "gt" | "gte" | "lt" | "lte" | "nex" | "ninc" | "neq" +``` \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigowasp.md b/docs/models/getfirewallconfigowasp.md similarity index 87% rename from docs/models/operations/getfirewallconfigowasp.md rename to docs/models/getfirewallconfigowasp.md index 44008b5a..f8a5a7a5 100644 --- a/docs/models/operations/getfirewallconfigowasp.md +++ b/docs/models/getfirewallconfigowasp.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetFirewallConfigOwasp } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { GetFirewallConfigOwasp } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: GetFirewallConfigOwasp = { active: false, diff --git a/docs/models/getfirewallconfigphp.md b/docs/models/getfirewallconfigphp.md new file mode 100644 index 00000000..782a67f7 --- /dev/null +++ b/docs/models/getfirewallconfigphp.md @@ -0,0 +1,21 @@ +# GetFirewallConfigPhp + +PHP Attack - Safeguard against vulnerability exploits in PHP-based applications. + +## Example Usage + +```typescript +import { GetFirewallConfigPhp } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigPhp = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction](../models/getfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfigratelimit.md b/docs/models/getfirewallconfigratelimit.md new file mode 100644 index 00000000..e52a22ad --- /dev/null +++ b/docs/models/getfirewallconfigratelimit.md @@ -0,0 +1,26 @@ +# GetFirewallConfigRateLimit + +## Example Usage + +```typescript +import { GetFirewallConfigRateLimit } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigRateLimit = { + algo: "fixed_window", + window: 4005.10, + limit: 4109.16, + keys: [ + "", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `algo` | [models.GetFirewallConfigAlgo](../models/getfirewallconfigalgo.md) | :heavy_check_mark: | N/A | +| `window` | *number* | :heavy_check_mark: | N/A | +| `limit` | *number* | :heavy_check_mark: | N/A | +| `keys` | *string*[] | :heavy_check_mark: | N/A | +| `action` | [models.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction](../models/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesactionaction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfigrce.md b/docs/models/getfirewallconfigrce.md new file mode 100644 index 00000000..30c730ba --- /dev/null +++ b/docs/models/getfirewallconfigrce.md @@ -0,0 +1,21 @@ +# GetFirewallConfigRce + +Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands. + +## Example Usage + +```typescript +import { GetFirewallConfigRce } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigRce = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.GetFirewallConfigSecurityResponse200ApplicationJSONAction](../models/getfirewallconfigsecurityresponse200applicationjsonaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigredirect.md b/docs/models/getfirewallconfigredirect.md similarity index 84% rename from docs/models/operations/getfirewallconfigredirect.md rename to docs/models/getfirewallconfigredirect.md index 686c5d43..f2b962a4 100644 --- a/docs/models/operations/getfirewallconfigredirect.md +++ b/docs/models/getfirewallconfigredirect.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetFirewallConfigRedirect } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { GetFirewallConfigRedirect } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: GetFirewallConfigRedirect = { location: "", diff --git a/docs/models/operations/getfirewallconfigrequest.md b/docs/models/getfirewallconfigrequest.md similarity index 94% rename from docs/models/operations/getfirewallconfigrequest.md rename to docs/models/getfirewallconfigrequest.md index cc61d260..90b7a7b7 100644 --- a/docs/models/operations/getfirewallconfigrequest.md +++ b/docs/models/getfirewallconfigrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetFirewallConfigRequest } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { GetFirewallConfigRequest } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: GetFirewallConfigRequest = { projectId: "", diff --git a/docs/models/getfirewallconfigresponsebody.md b/docs/models/getfirewallconfigresponsebody.md new file mode 100644 index 00000000..0298e9d5 --- /dev/null +++ b/docs/models/getfirewallconfigresponsebody.md @@ -0,0 +1,107 @@ +# GetFirewallConfigResponseBody + +## Example Usage + +```typescript +import { GetFirewallConfigResponseBody } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigResponseBody = { + ownerId: "", + projectKey: "", + id: "", + version: 7733.32, + updatedAt: "", + firewallEnabled: false, + crs: { + sd: { + active: false, + action: "deny", + }, + ma: { + active: false, + action: "log", + }, + lfi: { + active: false, + action: "log", + }, + rfi: { + active: false, + action: "log", + }, + rce: { + active: false, + action: "log", + }, + php: { + active: false, + action: "deny", + }, + gen: { + active: false, + action: "log", + }, + xss: { + active: false, + action: "log", + }, + sqli: { + active: false, + action: "log", + }, + sf: { + active: false, + action: "deny", + }, + java: { + active: false, + action: "log", + }, + }, + rules: [ + { + id: "", + name: "", + active: false, + conditionGroup: [ + { + conditions: [ + { + type: "region", + op: "eq", + }, + ], + }, + ], + action: {}, + }, + ], + ips: [ + { + id: "", + hostname: "lanky-sundae.info", + ip: "156.254.209.158", + action: "bypass", + }, + ], + changes: [ + {}, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `projectKey` | *string* | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `version` | *number* | :heavy_check_mark: | N/A | +| `updatedAt` | *string* | :heavy_check_mark: | N/A | +| `firewallEnabled` | *boolean* | :heavy_check_mark: | N/A | +| `crs` | [models.GetFirewallConfigCrs](../models/getfirewallconfigcrs.md) | :heavy_check_mark: | Custom Ruleset | +| `rules` | [models.GetFirewallConfigRules](../models/getfirewallconfigrules.md)[] | :heavy_check_mark: | N/A | +| `ips` | [models.GetFirewallConfigIps](../models/getfirewallconfigips.md)[] | :heavy_check_mark: | N/A | +| `changes` | [models.Changes](../models/changes.md)[] | :heavy_check_mark: | N/A | +| `managedRules` | [models.GetFirewallConfigManagedRules](../models/getfirewallconfigmanagedrules.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfigrfi.md b/docs/models/getfirewallconfigrfi.md new file mode 100644 index 00000000..188f89f5 --- /dev/null +++ b/docs/models/getfirewallconfigrfi.md @@ -0,0 +1,21 @@ +# GetFirewallConfigRfi + +Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files. + +## Example Usage + +```typescript +import { GetFirewallConfigRfi } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigRfi = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.GetFirewallConfigSecurityResponse200Action](../models/getfirewallconfigsecurityresponse200action.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfigrules.md b/docs/models/getfirewallconfigrules.md new file mode 100644 index 00000000..3f2de2b0 --- /dev/null +++ b/docs/models/getfirewallconfigrules.md @@ -0,0 +1,35 @@ +# GetFirewallConfigRules + +## Example Usage + +```typescript +import { GetFirewallConfigRules } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigRules = { + id: "", + name: "", + active: false, + conditionGroup: [ + { + conditions: [ + { + type: "scheme", + op: "eq", + }, + ], + }, + ], + action: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `conditionGroup` | [models.GetFirewallConfigConditionGroup](../models/getfirewallconfigconditiongroup.md)[] | :heavy_check_mark: | N/A | +| `action` | [models.GetFirewallConfigAction](../models/getfirewallconfigaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfigsd.md b/docs/models/getfirewallconfigsd.md new file mode 100644 index 00000000..bc0d8660 --- /dev/null +++ b/docs/models/getfirewallconfigsd.md @@ -0,0 +1,21 @@ +# GetFirewallConfigSd + +Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools. + +## Example Usage + +```typescript +import { GetFirewallConfigSd } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigSd = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction](../models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssdaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigsecurityaction.md b/docs/models/getfirewallconfigsecurityaction.md similarity index 87% rename from docs/models/operations/getfirewallconfigsecurityaction.md rename to docs/models/getfirewallconfigsecurityaction.md index c847c831..65483d07 100644 --- a/docs/models/operations/getfirewallconfigsecurityaction.md +++ b/docs/models/getfirewallconfigsecurityaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetFirewallConfigSecurityAction } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { GetFirewallConfigSecurityAction } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: GetFirewallConfigSecurityAction = "bypass"; ``` diff --git a/docs/models/getfirewallconfigsecurityresponse200action.md b/docs/models/getfirewallconfigsecurityresponse200action.md new file mode 100644 index 00000000..057884ab --- /dev/null +++ b/docs/models/getfirewallconfigsecurityresponse200action.md @@ -0,0 +1,15 @@ +# GetFirewallConfigSecurityResponse200Action + +## Example Usage + +```typescript +import { GetFirewallConfigSecurityResponse200Action } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigSecurityResponse200Action = "deny"; +``` + +## Values + +```typescript +"deny" | "log" +``` \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonaction.md b/docs/models/getfirewallconfigsecurityresponse200applicationjsonaction.md similarity index 81% rename from docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonaction.md rename to docs/models/getfirewallconfigsecurityresponse200applicationjsonaction.md index d06aaed5..7af82f3b 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonaction.md +++ b/docs/models/getfirewallconfigsecurityresponse200applicationjsonaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetFirewallConfigSecurityResponse200ApplicationJSONAction } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { GetFirewallConfigSecurityResponse200ApplicationJSONAction } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: GetFirewallConfigSecurityResponse200ApplicationJSONAction = "log"; ``` diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md similarity index 75% rename from docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md rename to docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md index 92009a9d..fad8a1d8 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md +++ b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md @@ -3,10 +3,11 @@ ## Example Usage ```typescript -import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction = "log"; + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction = + "deny"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsaction.md b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsaction.md similarity index 80% rename from docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsaction.md rename to docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsaction.md index 2f3f0604..0bc4d75b 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsaction.md +++ b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction = diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsjavaaction.md b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsjavaaction.md similarity index 76% rename from docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsjavaaction.md rename to docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsjavaaction.md index 7d71a3fc..4b0b53c5 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsjavaaction.md +++ b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsjavaaction.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction = - "deny"; + "log"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsmaaction.md b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsmaaction.md similarity index 80% rename from docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsmaaction.md rename to docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsmaaction.md index 77b7f8a1..dc2b9ff1 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsmaaction.md +++ b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsmaaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction = diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssdaction.md b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssdaction.md similarity index 77% rename from docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssdaction.md rename to docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssdaction.md index b5ec1e80..39318536 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssdaction.md +++ b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssdaction.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction = - "log"; + "deny"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssfaction.md b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssfaction.md similarity index 80% rename from docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssfaction.md rename to docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssfaction.md index 7620feb2..7d586d93 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssfaction.md +++ b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssfaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction = diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssqliaction.md b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssqliaction.md similarity index 79% rename from docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssqliaction.md rename to docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssqliaction.md index 8a2b023a..9a9f8538 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssqliaction.md +++ b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssqliaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction = diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsxssaction.md b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsxssaction.md similarity index 77% rename from docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsxssaction.md rename to docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsxssaction.md index 5d8ad038..d0fcf02e 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsxssaction.md +++ b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsxssaction.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction = - "log"; + "deny"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesaction.md b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesaction.md similarity index 79% rename from docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesaction.md rename to docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesaction.md index 74c063ad..59157f63 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesaction.md +++ b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesaction.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction = - "redirect"; + "bypass"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesactionaction.md b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesactionaction.md similarity index 77% rename from docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesactionaction.md rename to docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesactionaction.md index 601a5b64..9c59aff9 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesactionaction.md +++ b/docs/models/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesactionaction.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction = - "challenge"; + "log"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigsecurityresponseaction.md b/docs/models/getfirewallconfigsecurityresponseaction.md similarity index 84% rename from docs/models/operations/getfirewallconfigsecurityresponseaction.md rename to docs/models/getfirewallconfigsecurityresponseaction.md index 416a92f1..dccef3de 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponseaction.md +++ b/docs/models/getfirewallconfigsecurityresponseaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetFirewallConfigSecurityResponseAction } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { GetFirewallConfigSecurityResponseAction } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: GetFirewallConfigSecurityResponseAction = "deny"; ``` diff --git a/docs/models/getfirewallconfigsf.md b/docs/models/getfirewallconfigsf.md new file mode 100644 index 00000000..25cefeb1 --- /dev/null +++ b/docs/models/getfirewallconfigsf.md @@ -0,0 +1,21 @@ +# GetFirewallConfigSf + +Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs. + +## Example Usage + +```typescript +import { GetFirewallConfigSf } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigSf = { + active: false, + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction](../models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssfaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfigsqli.md b/docs/models/getfirewallconfigsqli.md new file mode 100644 index 00000000..3d238a8b --- /dev/null +++ b/docs/models/getfirewallconfigsqli.md @@ -0,0 +1,21 @@ +# GetFirewallConfigSqli + +SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases. + +## Example Usage + +```typescript +import { GetFirewallConfigSqli } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigSqli = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction](../models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssqliaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getfirewallconfigtype.md b/docs/models/getfirewallconfigtype.md new file mode 100644 index 00000000..b527ffc4 --- /dev/null +++ b/docs/models/getfirewallconfigtype.md @@ -0,0 +1,17 @@ +# GetFirewallConfigType + +[Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. + +## Example Usage + +```typescript +import { GetFirewallConfigType } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigType = "header"; +``` + +## Values + +```typescript +"host" | "path" | "method" | "header" | "query" | "cookie" | "target_path" | "raw_path" | "ip_address" | "protocol" | "region" | "scheme" | "environment" | "user_agent" | "geo_continent" | "geo_country" | "geo_country_region" | "geo_city" | "geo_as_number" | "ja4_digest" | "ja3_digest" | "rate_limit_api_id" +``` \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigvalue.md b/docs/models/getfirewallconfigvalue.md similarity index 87% rename from docs/models/operations/getfirewallconfigvalue.md rename to docs/models/getfirewallconfigvalue.md index b8086b4e..e5d093c7 100644 --- a/docs/models/operations/getfirewallconfigvalue.md +++ b/docs/models/getfirewallconfigvalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 2579.59; +const value: number = 7433.40; ``` ### `string[]` diff --git a/docs/models/getfirewallconfigxss.md b/docs/models/getfirewallconfigxss.md new file mode 100644 index 00000000..e542b1a4 --- /dev/null +++ b/docs/models/getfirewallconfigxss.md @@ -0,0 +1,21 @@ +# GetFirewallConfigXss + +XSS Attack - Prevent injection of malicious scripts into trusted webpages. + +## Example Usage + +```typescript +import { GetFirewallConfigXss } from "@vercel/sdk/models/getfirewallconfigop.js"; + +let value: GetFirewallConfigXss = { + active: false, + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction](../models/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsxssaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getintegrationlogdrainsdeliveryformat.md b/docs/models/getintegrationlogdrainsdeliveryformat.md similarity index 85% rename from docs/models/operations/getintegrationlogdrainsdeliveryformat.md rename to docs/models/getintegrationlogdrainsdeliveryformat.md index b458f836..411f7bdd 100644 --- a/docs/models/operations/getintegrationlogdrainsdeliveryformat.md +++ b/docs/models/getintegrationlogdrainsdeliveryformat.md @@ -5,7 +5,7 @@ The delivery log format ## Example Usage ```typescript -import { GetIntegrationLogDrainsDeliveryFormat } from "@vercel/sdk/models/operations/getintegrationlogdrains.js"; +import { GetIntegrationLogDrainsDeliveryFormat } from "@vercel/sdk/models/getintegrationlogdrainsop.js"; let value: GetIntegrationLogDrainsDeliveryFormat = "json"; ``` diff --git a/docs/models/operations/getintegrationlogdrainsenvironments.md b/docs/models/getintegrationlogdrainsenvironments.md similarity index 85% rename from docs/models/operations/getintegrationlogdrainsenvironments.md rename to docs/models/getintegrationlogdrainsenvironments.md index b82ed5d5..3e442809 100644 --- a/docs/models/operations/getintegrationlogdrainsenvironments.md +++ b/docs/models/getintegrationlogdrainsenvironments.md @@ -5,7 +5,7 @@ The environment of log drain ## Example Usage ```typescript -import { GetIntegrationLogDrainsEnvironments } from "@vercel/sdk/models/operations/getintegrationlogdrains.js"; +import { GetIntegrationLogDrainsEnvironments } from "@vercel/sdk/models/getintegrationlogdrainsop.js"; let value: GetIntegrationLogDrainsEnvironments = "production"; ``` diff --git a/docs/models/operations/getintegrationlogdrainsrequest.md b/docs/models/getintegrationlogdrainsrequest.md similarity index 96% rename from docs/models/operations/getintegrationlogdrainsrequest.md rename to docs/models/getintegrationlogdrainsrequest.md index 69d6ba49..daa10e53 100644 --- a/docs/models/operations/getintegrationlogdrainsrequest.md +++ b/docs/models/getintegrationlogdrainsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetIntegrationLogDrainsRequest } from "@vercel/sdk/models/operations/getintegrationlogdrains.js"; +import { GetIntegrationLogDrainsRequest } from "@vercel/sdk/models/getintegrationlogdrainsop.js"; let value: GetIntegrationLogDrainsRequest = {}; ``` diff --git a/docs/models/getintegrationlogdrainsresponsebody.md b/docs/models/getintegrationlogdrainsresponsebody.md new file mode 100644 index 00000000..31e91d5b --- /dev/null +++ b/docs/models/getintegrationlogdrainsresponsebody.md @@ -0,0 +1,86 @@ +# GetIntegrationLogDrainsResponseBody + +## Example Usage + +```typescript +import { GetIntegrationLogDrainsResponseBody } from "@vercel/sdk/models/getintegrationlogdrainsop.js"; + +let value: GetIntegrationLogDrainsResponseBody = { + clientId: "oac_xRhY4LAB7yLhUADD69EvV7ct", + configurationId: "icfg_cuwj0AdCdH3BwWT4LPijCC7t", + createdAt: 1558531915505, + id: "ld_nBuA7zCID8g4QZ8g", + deliveryFormat: "json", + name: "My first log drain", + ownerId: "kr1PsOIzqEL5Xg6M4VZcZosf", + projectId: "AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb", + projectIds: [ + "AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb", + ], + url: "https://example.com/log-drain", + sources: [ + "build", + "edge", + ], + createdFrom: "integration", + headers: { + "0": "{", + "1": "\"", + "2": "A", + "3": "u", + "4": "t", + "5": "h", + "6": "o", + "7": "r", + "8": "i", + "9": "z", + "10": "a", + "11": "t", + "12": "i", + "13": "o", + "14": "n", + "15": "\"", + "16": ":", + "17": " ", + "18": "\"", + "19": "B", + "20": "e", + "21": "a", + "22": "r", + "23": "e", + "24": "r", + "25": " ", + "26": "1", + "27": "2", + "28": "3", + "29": "\"", + "30": "}", + }, + environments: [ + "production", + ], + branch: "feature/*", + samplingRate: 0.5, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `clientId` | *string* | :heavy_minus_sign: | The oauth2 client application id that created this log drain | oac_xRhY4LAB7yLhUADD69EvV7ct | +| `configurationId` | *string* | :heavy_minus_sign: | The client configuration this log drain was created with | icfg_cuwj0AdCdH3BwWT4LPijCC7t | +| `createdAt` | *number* | :heavy_check_mark: | A timestamp that tells you when the log drain was created | 1558531915505 | +| `id` | *string* | :heavy_check_mark: | The unique identifier of the log drain. Always prefixed with `ld_` | ld_nBuA7zCID8g4QZ8g | +| `deliveryFormat` | [models.GetIntegrationLogDrainsDeliveryFormat](../models/getintegrationlogdrainsdeliveryformat.md) | :heavy_minus_sign: | The delivery log format | json | +| `name` | *string* | :heavy_check_mark: | The name of the log drain | My first log drain | +| `ownerId` | *string* | :heavy_check_mark: | The identifier of the team or user whose events will trigger the log drain | kr1PsOIzqEL5Xg6M4VZcZosf | +| `projectId` | *string* | :heavy_minus_sign: | N/A | AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb | +| `projectIds` | *string*[] | :heavy_minus_sign: | The identifier of the projects this log drain is associated with | AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb | +| `url` | *string* | :heavy_check_mark: | The URL to call when logs are generated | https://example.com/log-drain | +| `sources` | [models.GetIntegrationLogDrainsSources](../models/getintegrationlogdrainssources.md)[] | :heavy_minus_sign: | The sources from which logs are currently being delivered to this log drain. | [
"build",
"edge"
] | +| `createdFrom` | [models.CreatedFrom](../models/createdfrom.md) | :heavy_minus_sign: | Whether the log drain was created by an integration or by a user | integration | +| `headers` | Record | :heavy_minus_sign: | The headers to send with the request | {"Authorization": "Bearer 123"} | +| `environments` | [models.GetIntegrationLogDrainsEnvironments](../models/getintegrationlogdrainsenvironments.md)[] | :heavy_check_mark: | The environment of log drain | [
"production"
] | +| `branch` | *string* | :heavy_minus_sign: | The branch regexp of log drain | feature/* | +| `samplingRate` | *number* | :heavy_minus_sign: | The sampling rate of log drain | 0.5 | \ No newline at end of file diff --git a/docs/models/operations/getintegrationlogdrainssources.md b/docs/models/getintegrationlogdrainssources.md similarity index 89% rename from docs/models/operations/getintegrationlogdrainssources.md rename to docs/models/getintegrationlogdrainssources.md index 5ec895ab..d4a7aaad 100644 --- a/docs/models/operations/getintegrationlogdrainssources.md +++ b/docs/models/getintegrationlogdrainssources.md @@ -5,7 +5,7 @@ The sources from which logs are currently being delivered to this log drain. ## Example Usage ```typescript -import { GetIntegrationLogDrainsSources } from "@vercel/sdk/models/operations/getintegrationlogdrains.js"; +import { GetIntegrationLogDrainsSources } from "@vercel/sdk/models/getintegrationlogdrainsop.js"; let value: GetIntegrationLogDrainsSources = "static"; ``` diff --git a/docs/models/operations/getinvoicediscounts.md b/docs/models/getinvoicediscounts.md similarity index 90% rename from docs/models/operations/getinvoicediscounts.md rename to docs/models/getinvoicediscounts.md index 265cdee3..1e03d888 100644 --- a/docs/models/operations/getinvoicediscounts.md +++ b/docs/models/getinvoicediscounts.md @@ -3,12 +3,12 @@ ## Example Usage ```typescript -import { GetInvoiceDiscounts } from "@vercel/sdk/models/operations/getinvoice.js"; +import { GetInvoiceDiscounts } from "@vercel/sdk/models/getinvoiceop.js"; let value: GetInvoiceDiscounts = { billingPlanId: "", name: "", - amount: "502.51", + amount: "946.56", }; ``` diff --git a/docs/models/operations/getinvoiceitems.md b/docs/models/getinvoiceitems.md similarity index 91% rename from docs/models/operations/getinvoiceitems.md rename to docs/models/getinvoiceitems.md index 40927009..ac85e722 100644 --- a/docs/models/operations/getinvoiceitems.md +++ b/docs/models/getinvoiceitems.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { GetInvoiceItems } from "@vercel/sdk/models/operations/getinvoice.js"; +import { GetInvoiceItems } from "@vercel/sdk/models/getinvoiceop.js"; let value: GetInvoiceItems = { billingPlanId: "", name: "", - price: "968.29", - quantity: 3258.55, + price: "930.29", + quantity: 6155.97, units: "", total: "", }; diff --git a/docs/models/operations/getinvoiceperiod.md b/docs/models/getinvoiceperiod.md similarity index 85% rename from docs/models/operations/getinvoiceperiod.md rename to docs/models/getinvoiceperiod.md index dbfae3ff..8acea25d 100644 --- a/docs/models/operations/getinvoiceperiod.md +++ b/docs/models/getinvoiceperiod.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetInvoicePeriod } from "@vercel/sdk/models/operations/getinvoice.js"; +import { GetInvoicePeriod } from "@vercel/sdk/models/getinvoiceop.js"; let value: GetInvoicePeriod = { start: "", diff --git a/docs/models/operations/getinvoicerequest.md b/docs/models/getinvoicerequest.md similarity index 89% rename from docs/models/operations/getinvoicerequest.md rename to docs/models/getinvoicerequest.md index 4e383b4b..ab057ea0 100644 --- a/docs/models/operations/getinvoicerequest.md +++ b/docs/models/getinvoicerequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetInvoiceRequest } from "@vercel/sdk/models/operations/getinvoice.js"; +import { GetInvoiceRequest } from "@vercel/sdk/models/getinvoiceop.js"; let value: GetInvoiceRequest = { integrationConfigurationId: "", diff --git a/docs/models/getinvoiceresponsebody.md b/docs/models/getinvoiceresponsebody.md new file mode 100644 index 00000000..c8ce014e --- /dev/null +++ b/docs/models/getinvoiceresponsebody.md @@ -0,0 +1,51 @@ +# GetInvoiceResponseBody + +## Example Usage + +```typescript +import { GetInvoiceResponseBody } from "@vercel/sdk/models/getinvoiceop.js"; + +let value: GetInvoiceResponseBody = { + invoiceId: "", + invoiceDate: "", + period: { + start: "", + end: "", + }, + items: [ + { + billingPlanId: "", + name: "", + price: "917.99", + quantity: 4545.90, + units: "", + total: "", + }, + ], + total: "", + created: "", + updated: "", + state: "scheduled", + test: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `invoiceId` | *string* | :heavy_check_mark: | N/A | +| `externalId` | *string* | :heavy_minus_sign: | N/A | +| `invoiceNumber` | *string* | :heavy_minus_sign: | N/A | +| `invoiceDate` | *string* | :heavy_check_mark: | N/A | +| `period` | [models.GetInvoicePeriod](../models/getinvoiceperiod.md) | :heavy_check_mark: | N/A | +| `memo` | *string* | :heavy_minus_sign: | N/A | +| `items` | [models.GetInvoiceItems](../models/getinvoiceitems.md)[] | :heavy_check_mark: | N/A | +| `discounts` | [models.GetInvoiceDiscounts](../models/getinvoicediscounts.md)[] | :heavy_minus_sign: | N/A | +| `total` | *string* | :heavy_check_mark: | N/A | +| `created` | *string* | :heavy_check_mark: | N/A | +| `updated` | *string* | :heavy_check_mark: | N/A | +| `state` | [models.State](../models/state.md) | :heavy_check_mark: | N/A | +| `refundReason` | *string* | :heavy_minus_sign: | N/A | +| `refundTotal` | *string* | :heavy_minus_sign: | N/A | +| `test` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmemberrequest.md b/docs/models/getmemberrequest.md similarity index 89% rename from docs/models/operations/getmemberrequest.md rename to docs/models/getmemberrequest.md index 373e128d..3cd5e739 100644 --- a/docs/models/operations/getmemberrequest.md +++ b/docs/models/getmemberrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetMemberRequest } from "@vercel/sdk/models/operations/getmember.js"; +import { GetMemberRequest } from "@vercel/sdk/models/getmemberop.js"; let value: GetMemberRequest = { integrationConfigurationId: "", diff --git a/docs/models/getmemberresponsebody.md b/docs/models/getmemberresponsebody.md new file mode 100644 index 00000000..ff41ede1 --- /dev/null +++ b/docs/models/getmemberresponsebody.md @@ -0,0 +1,19 @@ +# GetMemberResponseBody + +## Example Usage + +```typescript +import { GetMemberResponseBody } from "@vercel/sdk/models/getmemberop.js"; + +let value: GetMemberResponseBody = { + id: "", + role: "ADMIN", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `role` | [models.GetMemberRole](../models/getmemberrole.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getmemberrole.md b/docs/models/getmemberrole.md new file mode 100644 index 00000000..142ac0d3 --- /dev/null +++ b/docs/models/getmemberrole.md @@ -0,0 +1,15 @@ +# GetMemberRole + +## Example Usage + +```typescript +import { GetMemberRole } from "@vercel/sdk/models/getmemberop.js"; + +let value: GetMemberRole = "ADMIN"; +``` + +## Values + +```typescript +"ADMIN" | "USER" +``` \ No newline at end of file diff --git a/docs/models/operations/getprojectdomainrequest.md b/docs/models/getprojectdomainrequest.md similarity index 95% rename from docs/models/operations/getprojectdomainrequest.md rename to docs/models/getprojectdomainrequest.md index 8ef7db3a..2146ced3 100644 --- a/docs/models/operations/getprojectdomainrequest.md +++ b/docs/models/getprojectdomainrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectDomainRequest } from "@vercel/sdk/models/operations/getprojectdomain.js"; +import { GetProjectDomainRequest } from "@vercel/sdk/models/getprojectdomainop.js"; let value: GetProjectDomainRequest = { idOrName: "", diff --git a/docs/models/operations/getprojectdomainresponsebody.md b/docs/models/getprojectdomainresponsebody.md similarity index 99% rename from docs/models/operations/getprojectdomainresponsebody.md rename to docs/models/getprojectdomainresponsebody.md index ff5a7d90..ad137635 100644 --- a/docs/models/operations/getprojectdomainresponsebody.md +++ b/docs/models/getprojectdomainresponsebody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectDomainResponseBody } from "@vercel/sdk/models/operations/getprojectdomain.js"; +import { GetProjectDomainResponseBody } from "@vercel/sdk/models/getprojectdomainop.js"; let value: GetProjectDomainResponseBody = { name: "", @@ -27,4 +27,4 @@ let value: GetProjectDomainResponseBody = { | `updatedAt` | *number* | :heavy_minus_sign: | N/A | | `createdAt` | *number* | :heavy_minus_sign: | N/A | | `verified` | *boolean* | :heavy_check_mark: | `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. | -| `verification` | [operations.Verification](../../models/operations/verification.md)[] | :heavy_minus_sign: | A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. | \ No newline at end of file +| `verification` | [models.Verification](../models/verification.md)[] | :heavy_minus_sign: | A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. | \ No newline at end of file diff --git a/docs/models/operations/getprojectdomainsdomains.md b/docs/models/getprojectdomainsdomains.md similarity index 98% rename from docs/models/operations/getprojectdomainsdomains.md rename to docs/models/getprojectdomainsdomains.md index aa99f036..7ab51e72 100644 --- a/docs/models/operations/getprojectdomainsdomains.md +++ b/docs/models/getprojectdomainsdomains.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectDomainsDomains } from "@vercel/sdk/models/operations/getprojectdomains.js"; +import { GetProjectDomainsDomains } from "@vercel/sdk/models/getprojectdomainsop.js"; let value: GetProjectDomainsDomains = { name: "", @@ -27,4 +27,4 @@ let value: GetProjectDomainsDomains = { | `updatedAt` | *number* | :heavy_minus_sign: | N/A | | `createdAt` | *number* | :heavy_minus_sign: | N/A | | `verified` | *boolean* | :heavy_check_mark: | `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. | -| `verification` | [operations.GetProjectDomainsVerification](../../models/operations/getprojectdomainsverification.md)[] | :heavy_minus_sign: | A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. | \ No newline at end of file +| `verification` | [models.GetProjectDomainsVerification](../models/getprojectdomainsverification.md)[] | :heavy_minus_sign: | A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. | \ No newline at end of file diff --git a/docs/models/operations/getprojectdomainsrequest.md b/docs/models/getprojectdomainsrequest.md similarity index 91% rename from docs/models/operations/getprojectdomainsrequest.md rename to docs/models/getprojectdomainsrequest.md index dbc675a6..bc20cf19 100644 --- a/docs/models/operations/getprojectdomainsrequest.md +++ b/docs/models/getprojectdomainsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectDomainsRequest } from "@vercel/sdk/models/operations/getprojectdomains.js"; +import { GetProjectDomainsRequest } from "@vercel/sdk/models/getprojectdomainsop.js"; let value: GetProjectDomainsRequest = { idOrName: "", @@ -19,15 +19,15 @@ let value: GetProjectDomainsRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | | `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | | -| `production` | [operations.Production](../../models/operations/production.md) | :heavy_minus_sign: | Filters only production domains when set to `true`. | | -| `target` | [operations.QueryParamTarget](../../models/operations/queryparamtarget.md) | :heavy_minus_sign: | Filters on the target of the domain. Can be either \"production\", \"preview\" | | +| `production` | [models.Production](../models/production.md) | :heavy_minus_sign: | Filters only production domains when set to `true`. | | +| `target` | [models.QueryParamTarget](../models/queryparamtarget.md) | :heavy_minus_sign: | Filters on the target of the domain. Can be either \"production\", \"preview\" | | | `gitBranch` | *string* | :heavy_minus_sign: | Filters domains based on specific branch. | | -| `redirects` | [operations.Redirects](../../models/operations/redirects.md) | :heavy_minus_sign: | Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default). | | +| `redirects` | [models.Redirects](../models/redirects.md) | :heavy_minus_sign: | Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default). | | | `redirect` | *string* | :heavy_minus_sign: | Filters domains based on their redirect target. | example.com | -| `verified` | [operations.Verified](../../models/operations/verified.md) | :heavy_minus_sign: | Filters domains based on their verification status. | | +| `verified` | [models.Verified](../models/verified.md) | :heavy_minus_sign: | Filters domains based on their verification status. | | | `limit` | *number* | :heavy_minus_sign: | Maximum number of domains to list from a request (max 100). | 20 | | `since` | *number* | :heavy_minus_sign: | Get domains created after this JavaScript timestamp. | 1609499532000 | | `until` | *number* | :heavy_minus_sign: | Get domains created before this JavaScript timestamp. | 1612264332000 | -| `order` | [operations.Order](../../models/operations/order.md) | :heavy_minus_sign: | Domains sort order by createdAt | | +| `order` | [models.Order](../models/order.md) | :heavy_minus_sign: | Domains sort order by createdAt | | | `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | | `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | \ No newline at end of file diff --git a/docs/models/operations/getprojectdomainsresponsebody.md b/docs/models/getprojectdomainsresponsebody.md similarity index 90% rename from docs/models/operations/getprojectdomainsresponsebody.md rename to docs/models/getprojectdomainsresponsebody.md index 2b183c7d..6d4e5cdb 100644 --- a/docs/models/operations/getprojectdomainsresponsebody.md +++ b/docs/models/getprojectdomainsresponsebody.md @@ -5,7 +5,7 @@ Successful response retrieving a list of domains ## Example Usage ```typescript -import { GetProjectDomainsResponseBody } from "@vercel/sdk/models/operations/getprojectdomains.js"; +import { GetProjectDomainsResponseBody } from "@vercel/sdk/models/getprojectdomainsop.js"; let value: GetProjectDomainsResponseBody = { domains: [ @@ -28,5 +28,5 @@ let value: GetProjectDomainsResponseBody = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `domains` | [operations.GetProjectDomainsDomains](../../models/operations/getprojectdomainsdomains.md)[] | :heavy_check_mark: | N/A | -| `pagination` | [components.Pagination](../../models/components/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file +| `domains` | [models.GetProjectDomainsDomains](../models/getprojectdomainsdomains.md)[] | :heavy_check_mark: | N/A | +| `pagination` | [models.Pagination](../models/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file diff --git a/docs/models/operations/getprojectdomainsverification.md b/docs/models/getprojectdomainsverification.md similarity index 96% rename from docs/models/operations/getprojectdomainsverification.md rename to docs/models/getprojectdomainsverification.md index 54cd7d85..6b3a5477 100644 --- a/docs/models/operations/getprojectdomainsverification.md +++ b/docs/models/getprojectdomainsverification.md @@ -5,7 +5,7 @@ A list of verification challenges, one of which must be completed to verify the ## Example Usage ```typescript -import { GetProjectDomainsVerification } from "@vercel/sdk/models/operations/getprojectdomains.js"; +import { GetProjectDomainsVerification } from "@vercel/sdk/models/getprojectdomainsop.js"; let value: GetProjectDomainsVerification = { type: "", diff --git a/docs/models/getprojectenvcontenthint1.md b/docs/models/getprojectenvcontenthint1.md new file mode 100644 index 00000000..e93dd90a --- /dev/null +++ b/docs/models/getprojectenvcontenthint1.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHint1 + +## Example Usage + +```typescript +import { GetProjectEnvContentHint1 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintType](../models/getprojectenvcontenthinttype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthint10.md b/docs/models/getprojectenvcontenthint10.md new file mode 100644 index 00000000..711d6a3b --- /dev/null +++ b/docs/models/getprojectenvcontenthint10.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHint10 + +## Example Usage + +```typescript +import { GetProjectEnvContentHint10 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthint11.md b/docs/models/getprojectenvcontenthint11.md new file mode 100644 index 00000000..23fcdbd0 --- /dev/null +++ b/docs/models/getprojectenvcontenthint11.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHint11 + +## Example Usage + +```typescript +import { GetProjectEnvContentHint11 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthint12.md b/docs/models/getprojectenvcontenthint12.md new file mode 100644 index 00000000..495fc5f6 --- /dev/null +++ b/docs/models/getprojectenvcontenthint12.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHint12 + +## Example Usage + +```typescript +import { GetProjectEnvContentHint12 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHint12 = { + type: "postgres-database", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthint13.md b/docs/models/getprojectenvcontenthint13.md new file mode 100644 index 00000000..a28a1624 --- /dev/null +++ b/docs/models/getprojectenvcontenthint13.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHint13 + +## Example Usage + +```typescript +import { GetProjectEnvContentHint13 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHint13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthint14.md b/docs/models/getprojectenvcontenthint14.md new file mode 100644 index 00000000..26e9947b --- /dev/null +++ b/docs/models/getprojectenvcontenthint14.md @@ -0,0 +1,25 @@ +# GetProjectEnvContentHint14 + +## Example Usage + +```typescript +import { GetProjectEnvContentHint14 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHint14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthint15.md b/docs/models/getprojectenvcontenthint15.md new file mode 100644 index 00000000..03ff6049 --- /dev/null +++ b/docs/models/getprojectenvcontenthint15.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHint15 + +## Example Usage + +```typescript +import { GetProjectEnvContentHint15 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHint15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthint2.md b/docs/models/getprojectenvcontenthint2.md new file mode 100644 index 00000000..eb0253e4 --- /dev/null +++ b/docs/models/getprojectenvcontenthint2.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHint2 + +## Example Usage + +```typescript +import { GetProjectEnvContentHint2 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `type` | [models.GetProjectEnvContentHintProjectsType](../models/getprojectenvcontenthintprojectstype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthint3.md b/docs/models/getprojectenvcontenthint3.md new file mode 100644 index 00000000..bbba3ca2 --- /dev/null +++ b/docs/models/getprojectenvcontenthint3.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHint3 + +## Example Usage + +```typescript +import { GetProjectEnvContentHint3 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponseType](../models/getprojectenvcontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthint4.md b/docs/models/getprojectenvcontenthint4.md new file mode 100644 index 00000000..25aeb8b0 --- /dev/null +++ b/docs/models/getprojectenvcontenthint4.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHint4 + +## Example Usage + +```typescript +import { GetProjectEnvContentHint4 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200Type](../models/getprojectenvcontenthintprojectsresponse200type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthint5.md b/docs/models/getprojectenvcontenthint5.md new file mode 100644 index 00000000..0fa35589 --- /dev/null +++ b/docs/models/getprojectenvcontenthint5.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHint5 + +## Example Usage + +```typescript +import { GetProjectEnvContentHint5 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONType](../models/getprojectenvcontenthintprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthint6.md b/docs/models/getprojectenvcontenthint6.md new file mode 100644 index 00000000..bbc0d80c --- /dev/null +++ b/docs/models/getprojectenvcontenthint6.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHint6 + +## Example Usage + +```typescript +import { GetProjectEnvContentHint6 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthint7.md b/docs/models/getprojectenvcontenthint7.md new file mode 100644 index 00000000..f5eb3864 --- /dev/null +++ b/docs/models/getprojectenvcontenthint7.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHint7 + +## Example Usage + +```typescript +import { GetProjectEnvContentHint7 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthint8.md b/docs/models/getprojectenvcontenthint8.md new file mode 100644 index 00000000..2cf7bc87 --- /dev/null +++ b/docs/models/getprojectenvcontenthint8.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHint8 + +## Example Usage + +```typescript +import { GetProjectEnvContentHint8 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthint9.md b/docs/models/getprojectenvcontenthint9.md new file mode 100644 index 00000000..17e5fffa --- /dev/null +++ b/docs/models/getprojectenvcontenthint9.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHint9 + +## Example Usage + +```typescript +import { GetProjectEnvContentHint9 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojects1.md b/docs/models/getprojectenvcontenthintprojects1.md new file mode 100644 index 00000000..c229db80 --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojects1.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjects1 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjects1 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjects1 = { + type: "redis-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojects10.md b/docs/models/getprojectenvcontenthintprojects10.md new file mode 100644 index 00000000..ea81edff --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojects10.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjects10 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjects10 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjects10 = { + type: "postgres-host", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojects11.md b/docs/models/getprojectenvcontenthintprojects11.md new file mode 100644 index 00000000..445d599b --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojects11.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjects11 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjects11 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjects11 = { + type: "postgres-password", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojects12.md b/docs/models/getprojectenvcontenthintprojects12.md new file mode 100644 index 00000000..a1bec2dc --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojects12.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjects12 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjects12 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjects12 = { + type: "postgres-database", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojects13.md b/docs/models/getprojectenvcontenthintprojects13.md new file mode 100644 index 00000000..1236e2d2 --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojects13.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjects13 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjects13 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjects13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojects14.md b/docs/models/getprojectenvcontenthintprojects14.md new file mode 100644 index 00000000..aa83f812 --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojects14.md @@ -0,0 +1,25 @@ +# GetProjectEnvContentHintProjects14 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjects14 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjects14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojects15.md b/docs/models/getprojectenvcontenthintprojects15.md new file mode 100644 index 00000000..0bfbe097 --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojects15.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjects15 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjects15 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjects15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojects2.md b/docs/models/getprojectenvcontenthintprojects2.md new file mode 100644 index 00000000..ebb9bb21 --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojects2.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjects2 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjects2 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjects2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojects3.md b/docs/models/getprojectenvcontenthintprojects3.md new file mode 100644 index 00000000..e10197a6 --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojects3.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjects3 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjects3 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjects3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojects4.md b/docs/models/getprojectenvcontenthintprojects4.md new file mode 100644 index 00000000..292ddd80 --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojects4.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjects4 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjects4 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjects4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojects5.md b/docs/models/getprojectenvcontenthintprojects5.md new file mode 100644 index 00000000..a6d75c55 --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojects5.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjects5 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjects5 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjects5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojects6.md b/docs/models/getprojectenvcontenthintprojects6.md new file mode 100644 index 00000000..d986540d --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojects6.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjects6 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjects6 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjects6 = { + type: "postgres-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojects7.md b/docs/models/getprojectenvcontenthintprojects7.md new file mode 100644 index 00000000..b619a22f --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojects7.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjects7 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjects7 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjects7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojects8.md b/docs/models/getprojectenvcontenthintprojects8.md new file mode 100644 index 00000000..7147efda --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojects8.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjects8 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjects8 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjects8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojects9.md b/docs/models/getprojectenvcontenthintprojects9.md new file mode 100644 index 00000000..39ca33ee --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojects9.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjects9 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjects9 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjects9 = { + type: "postgres-user", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojectsresponse1.md b/docs/models/getprojectenvcontenthintprojectsresponse1.md new file mode 100644 index 00000000..4be9f8a5 --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojectsresponse1.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjectsResponse1 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjectsResponse1 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjectsResponse1 = { + type: "redis-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojectsresponse10.md b/docs/models/getprojectenvcontenthintprojectsresponse10.md new file mode 100644 index 00000000..b07a1c7d --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojectsresponse10.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjectsResponse10 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjectsResponse10 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjectsResponse10 = { + type: "postgres-host", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojectsresponse11.md b/docs/models/getprojectenvcontenthintprojectsresponse11.md new file mode 100644 index 00000000..f77d37c7 --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojectsresponse11.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjectsResponse11 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjectsResponse11 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjectsResponse11 = { + type: "postgres-password", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojectsresponse12.md b/docs/models/getprojectenvcontenthintprojectsresponse12.md new file mode 100644 index 00000000..f77444f7 --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojectsresponse12.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjectsResponse12 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjectsResponse12 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjectsResponse12 = { + type: "postgres-database", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojectsresponse13.md b/docs/models/getprojectenvcontenthintprojectsresponse13.md new file mode 100644 index 00000000..0f397b13 --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojectsresponse13.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjectsResponse13 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjectsResponse13 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjectsResponse13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojectsresponse14.md b/docs/models/getprojectenvcontenthintprojectsresponse14.md new file mode 100644 index 00000000..579c4976 --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojectsresponse14.md @@ -0,0 +1,25 @@ +# GetProjectEnvContentHintProjectsResponse14 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjectsResponse14 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjectsResponse14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojectsresponse15.md b/docs/models/getprojectenvcontenthintprojectsresponse15.md new file mode 100644 index 00000000..a89c700c --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojectsresponse15.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjectsResponse15 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjectsResponse15 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjectsResponse15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojectsresponse2.md b/docs/models/getprojectenvcontenthintprojectsresponse2.md new file mode 100644 index 00000000..a219803d --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojectsresponse2.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjectsResponse2 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjectsResponse2 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjectsResponse2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md similarity index 80% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md index 9786400c..6a95cade 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md index 99faaae3..ee0fd08a 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md index 04184065..f5e85f18 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md index 5ae9e96c..bb1e50ba 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md index d74a09ff..f2876273 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md index 1948e7f2..c7cdce4a 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md index f91386ef..f090f3c4 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md index c8fe1a08..8276b809 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md similarity index 82% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md index 4751e540..c6792f01 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md similarity index 80% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md index 2fb93d8a..d4ae5e85 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md index 55679d3c..09a6b5e8 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md index 1934e0da..a20b2046 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md index 7293b043..bc8e93fd 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md index 42c8bfbe..fc81a247 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md index 2a128752..a921bd24 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md index 752c0469..b269f0a8 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md index 88fdbbbd..871a8610 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md similarity index 82% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md index d8dd9b8f..3a050368 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md index 802508f5..9985a6e5 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md index 85914afb..dba8086b 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md similarity index 82% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md index cddfbb5e..aa302328 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md index 54472663..80354ad9 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md index 7b0fe432..e494dd04 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md similarity index 80% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md index a7f311f0..8a96348e 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md similarity index 80% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md index 2df0cb4f..30e992fd 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md index 2f630deb..2700c883 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md index c6634fb1..fa714a02 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md index 79b68eef..179e52d3 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md index 25c298a4..ec7f733b 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md index 9358197a..103cfd4c 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md index 6cb22d6b..622cda57 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md index 4c5df980..f1f0aa4d 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md similarity index 82% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md index 3c032541..5769f06a 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md index 916094f7..5004eb29 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md index 9626aab1..7c8db098 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md similarity index 82% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md index c649b7fb..c7b63dd7 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md index 46a17ca5..c4b43344 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md index e78e8684..aa0a842b 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md similarity index 80% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md index ba9502f5..63bda8e6 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md similarity index 81% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md index 94187145..4576be02 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType = diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsontype.md b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsontype.md similarity index 83% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsontype.md rename to docs/models/getprojectenvcontenthintprojectsresponse200applicationjsontype.md index 7ede6f90..1a38ed30 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200applicationjsontype.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200ApplicationJSONType = "blob-read-write-token"; diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse200type.md b/docs/models/getprojectenvcontenthintprojectsresponse200type.md similarity index 86% rename from docs/models/operations/getprojectenvcontenthintprojectsresponse200type.md rename to docs/models/getprojectenvcontenthintprojectsresponse200type.md index 1dd86703..44f16d2e 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse200type.md +++ b/docs/models/getprojectenvcontenthintprojectsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponse200Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponse200Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponse200Type = "redis-rest-api-read-only-token"; diff --git a/docs/models/getprojectenvcontenthintprojectsresponse3.md b/docs/models/getprojectenvcontenthintprojectsresponse3.md new file mode 100644 index 00000000..38a70216 --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojectsresponse3.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjectsResponse3 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjectsResponse3 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjectsResponse3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojectsresponse4.md b/docs/models/getprojectenvcontenthintprojectsresponse4.md new file mode 100644 index 00000000..b9ec7b2f --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojectsresponse4.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjectsResponse4 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjectsResponse4 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjectsResponse4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojectsresponse5.md b/docs/models/getprojectenvcontenthintprojectsresponse5.md new file mode 100644 index 00000000..3f033831 --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojectsresponse5.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjectsResponse5 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjectsResponse5 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjectsResponse5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojectsresponse6.md b/docs/models/getprojectenvcontenthintprojectsresponse6.md new file mode 100644 index 00000000..1ddef11f --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojectsresponse6.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjectsResponse6 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjectsResponse6 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjectsResponse6 = { + type: "postgres-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojectsresponse7.md b/docs/models/getprojectenvcontenthintprojectsresponse7.md new file mode 100644 index 00000000..7188cc82 --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojectsresponse7.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjectsResponse7 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjectsResponse7 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjectsResponse7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojectsresponse8.md b/docs/models/getprojectenvcontenthintprojectsresponse8.md new file mode 100644 index 00000000..71bf5feb --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojectsresponse8.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjectsResponse8 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjectsResponse8 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjectsResponse8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvcontenthintprojectsresponse9.md b/docs/models/getprojectenvcontenthintprojectsresponse9.md new file mode 100644 index 00000000..7927662e --- /dev/null +++ b/docs/models/getprojectenvcontenthintprojectsresponse9.md @@ -0,0 +1,19 @@ +# GetProjectEnvContentHintProjectsResponse9 + +## Example Usage + +```typescript +import { GetProjectEnvContentHintProjectsResponse9 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvContentHintProjectsResponse9 = { + type: "postgres-user", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type](../models/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponsetype.md b/docs/models/getprojectenvcontenthintprojectsresponsetype.md similarity index 85% rename from docs/models/operations/getprojectenvcontenthintprojectsresponsetype.md rename to docs/models/getprojectenvcontenthintprojectsresponsetype.md index 2faa92e7..467e82b7 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponsetype.md +++ b/docs/models/getprojectenvcontenthintprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsResponseType } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsResponseType } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsResponseType = "redis-rest-api-token"; diff --git a/docs/models/operations/getprojectenvcontenthintprojectstype.md b/docs/models/getprojectenvcontenthintprojectstype.md similarity index 87% rename from docs/models/operations/getprojectenvcontenthintprojectstype.md rename to docs/models/getprojectenvcontenthintprojectstype.md index 2d0ba285..d83d9525 100644 --- a/docs/models/operations/getprojectenvcontenthintprojectstype.md +++ b/docs/models/getprojectenvcontenthintprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintProjectsType } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintProjectsType } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintProjectsType = "redis-rest-api-url"; ``` diff --git a/docs/models/operations/getprojectenvcontenthinttype.md b/docs/models/getprojectenvcontenthinttype.md similarity index 88% rename from docs/models/operations/getprojectenvcontenthinttype.md rename to docs/models/getprojectenvcontenthinttype.md index 1d050045..8289295d 100644 --- a/docs/models/operations/getprojectenvcontenthinttype.md +++ b/docs/models/getprojectenvcontenthinttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvContentHintType } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvContentHintType } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvContentHintType = "redis-url"; ``` diff --git a/docs/models/operations/getprojectenvrequest.md b/docs/models/getprojectenvrequest.md similarity index 96% rename from docs/models/operations/getprojectenvrequest.md rename to docs/models/getprojectenvrequest.md index c4b69cbc..1cc223e9 100644 --- a/docs/models/operations/getprojectenvrequest.md +++ b/docs/models/getprojectenvrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvRequest } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvRequest } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvRequest = { idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", diff --git a/docs/models/getprojectenvresponsebody.md b/docs/models/getprojectenvresponsebody.md new file mode 100644 index 00000000..68a8171b --- /dev/null +++ b/docs/models/getprojectenvresponsebody.md @@ -0,0 +1,35 @@ +# GetProjectEnvResponseBody + + +## Supported Types + +### `models.GetProjectEnvResponseBody1` + +```typescript +const value: models.GetProjectEnvResponseBody1 = { + decrypted: false, + type: "system", + key: "", +}; +``` + +### `models.GetProjectEnvResponseBody2` + +```typescript +const value: models.GetProjectEnvResponseBody2 = { + type: "system", + key: "", + value: "", +}; +``` + +### `models.GetProjectEnvResponseBody3` + +```typescript +const value: models.GetProjectEnvResponseBody3 = { + type: "plain", + key: "", + value: "", +}; +``` + diff --git a/docs/models/getprojectenvresponsebody1.md b/docs/models/getprojectenvresponsebody1.md new file mode 100644 index 00000000..6dd79f47 --- /dev/null +++ b/docs/models/getprojectenvresponsebody1.md @@ -0,0 +1,37 @@ +# GetProjectEnvResponseBody1 + +## Example Usage + +```typescript +import { GetProjectEnvResponseBody1 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvResponseBody1 = { + decrypted: false, + type: "plain", + key: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `decrypted` | *boolean* | :heavy_check_mark: | N/A | +| `target` | *models.GetProjectEnvResponseBodyTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.GetProjectEnvResponseBodyType](../models/getprojectenvresponsebodytype.md) | :heavy_check_mark: | N/A | +| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdBy` | *string* | :heavy_minus_sign: | N/A | +| `updatedBy` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `contentHint` | *models.GetProjectEnvResponseBodyContentHint* | :heavy_minus_sign: | N/A | +| `internalContentHint` | [models.GetProjectEnvResponseBodyInternalContentHint](../models/getprojectenvresponsebodyinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | +| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvresponsebody2.md b/docs/models/getprojectenvresponsebody2.md new file mode 100644 index 00000000..63ef997e --- /dev/null +++ b/docs/models/getprojectenvresponsebody2.md @@ -0,0 +1,38 @@ +# GetProjectEnvResponseBody2 + +## Example Usage + +```typescript +import { GetProjectEnvResponseBody2 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvResponseBody2 = { + type: "encrypted", + key: "", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `target` | *models.GetProjectEnvResponseBodyProjectsTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.GetProjectEnvResponseBodyProjectsType](../models/getprojectenvresponsebodyprojectstype.md) | :heavy_check_mark: | N/A | +| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdBy` | *string* | :heavy_minus_sign: | N/A | +| `updatedBy` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `contentHint` | *models.GetProjectEnvResponseBodyProjectsContentHint* | :heavy_minus_sign: | N/A | +| `internalContentHint` | [models.GetProjectEnvResponseBodyProjectsInternalContentHint](../models/getprojectenvresponsebodyprojectsinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | +| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | +| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvresponsebody3.md b/docs/models/getprojectenvresponsebody3.md new file mode 100644 index 00000000..d1b2c29a --- /dev/null +++ b/docs/models/getprojectenvresponsebody3.md @@ -0,0 +1,37 @@ +# GetProjectEnvResponseBody3 + +## Example Usage + +```typescript +import { GetProjectEnvResponseBody3 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvResponseBody3 = { + type: "secret", + key: "", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | +| `target` | *models.GetProjectEnvResponseBodyProjectsResponseTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.GetProjectEnvResponseBodyProjectsResponseType](../models/getprojectenvresponsebodyprojectsresponsetype.md) | :heavy_check_mark: | N/A | +| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdBy` | *string* | :heavy_minus_sign: | N/A | +| `updatedBy` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `contentHint` | *models.GetProjectEnvResponseBodyProjectsResponseContentHint* | :heavy_minus_sign: | N/A | +| `internalContentHint` | [models.GetProjectEnvResponseBodyProjectsResponseInternalContentHint](../models/getprojectenvresponsebodyprojectsresponseinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | +| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectenvresponsebodycontenthint.md b/docs/models/getprojectenvresponsebodycontenthint.md new file mode 100644 index 00000000..33bdb88b --- /dev/null +++ b/docs/models/getprojectenvresponsebodycontenthint.md @@ -0,0 +1,143 @@ +# GetProjectEnvResponseBodyContentHint + + +## Supported Types + +### `models.GetProjectEnvContentHint1` + +```typescript +const value: models.GetProjectEnvContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHint2` + +```typescript +const value: models.GetProjectEnvContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHint3` + +```typescript +const value: models.GetProjectEnvContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHint4` + +```typescript +const value: models.GetProjectEnvContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHint5` + +```typescript +const value: models.GetProjectEnvContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHint6` + +```typescript +const value: models.GetProjectEnvContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHint7` + +```typescript +const value: models.GetProjectEnvContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHint8` + +```typescript +const value: models.GetProjectEnvContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHint9` + +```typescript +const value: models.GetProjectEnvContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHint10` + +```typescript +const value: models.GetProjectEnvContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHint11` + +```typescript +const value: models.GetProjectEnvContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHint12` + +```typescript +const value: models.GetProjectEnvContentHint12 = { + type: "postgres-database", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHint13` + +```typescript +const value: models.GetProjectEnvContentHint13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHint14` + +```typescript +const value: models.GetProjectEnvContentHint14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +### `models.GetProjectEnvContentHint15` + +```typescript +const value: models.GetProjectEnvContentHint15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + diff --git a/docs/models/getprojectenvresponsebodyinternalcontenthint.md b/docs/models/getprojectenvresponsebodyinternalcontenthint.md new file mode 100644 index 00000000..4ba8bec1 --- /dev/null +++ b/docs/models/getprojectenvresponsebodyinternalcontenthint.md @@ -0,0 +1,21 @@ +# GetProjectEnvResponseBodyInternalContentHint + +Similar to `contentHints`, but should not be exposed to the user. + +## Example Usage + +```typescript +import { GetProjectEnvResponseBodyInternalContentHint } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvResponseBodyInternalContentHint = { + type: "flags-secret", + encryptedValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType](../models/getprojectenvresponsebodyprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/getprojectenvresponsebodyprojectscontenthint.md b/docs/models/getprojectenvresponsebodyprojectscontenthint.md new file mode 100644 index 00000000..43d78334 --- /dev/null +++ b/docs/models/getprojectenvresponsebodyprojectscontenthint.md @@ -0,0 +1,143 @@ +# GetProjectEnvResponseBodyProjectsContentHint + + +## Supported Types + +### `models.GetProjectEnvContentHintProjects1` + +```typescript +const value: models.GetProjectEnvContentHintProjects1 = { + type: "redis-url", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjects2` + +```typescript +const value: models.GetProjectEnvContentHintProjects2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjects3` + +```typescript +const value: models.GetProjectEnvContentHintProjects3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjects4` + +```typescript +const value: models.GetProjectEnvContentHintProjects4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjects5` + +```typescript +const value: models.GetProjectEnvContentHintProjects5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjects6` + +```typescript +const value: models.GetProjectEnvContentHintProjects6 = { + type: "postgres-url", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjects7` + +```typescript +const value: models.GetProjectEnvContentHintProjects7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjects8` + +```typescript +const value: models.GetProjectEnvContentHintProjects8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjects9` + +```typescript +const value: models.GetProjectEnvContentHintProjects9 = { + type: "postgres-user", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjects10` + +```typescript +const value: models.GetProjectEnvContentHintProjects10 = { + type: "postgres-host", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjects11` + +```typescript +const value: models.GetProjectEnvContentHintProjects11 = { + type: "postgres-password", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjects12` + +```typescript +const value: models.GetProjectEnvContentHintProjects12 = { + type: "postgres-database", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjects13` + +```typescript +const value: models.GetProjectEnvContentHintProjects13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjects14` + +```typescript +const value: models.GetProjectEnvContentHintProjects14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjects15` + +```typescript +const value: models.GetProjectEnvContentHintProjects15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + diff --git a/docs/models/getprojectenvresponsebodyprojectsinternalcontenthint.md b/docs/models/getprojectenvresponsebodyprojectsinternalcontenthint.md new file mode 100644 index 00000000..cd3c7ec3 --- /dev/null +++ b/docs/models/getprojectenvresponsebodyprojectsinternalcontenthint.md @@ -0,0 +1,21 @@ +# GetProjectEnvResponseBodyProjectsInternalContentHint + +Similar to `contentHints`, but should not be exposed to the user. + +## Example Usage + +```typescript +import { GetProjectEnvResponseBodyProjectsInternalContentHint } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvResponseBodyProjectsInternalContentHint = { + type: "flags-secret", + encryptedValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvResponseBodyProjectsResponse200Type](../models/getprojectenvresponsebodyprojectsresponse200type.md) | :heavy_check_mark: | N/A | +| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvresponsebodyprojectsresponse200applicationjson3type.md b/docs/models/getprojectenvresponsebodyprojectsresponse200applicationjson3type.md similarity index 82% rename from docs/models/operations/getprojectenvresponsebodyprojectsresponse200applicationjson3type.md rename to docs/models/getprojectenvresponsebodyprojectsresponse200applicationjson3type.md index 406eda39..e4870d65 100644 --- a/docs/models/operations/getprojectenvresponsebodyprojectsresponse200applicationjson3type.md +++ b/docs/models/getprojectenvresponsebodyprojectsresponse200applicationjson3type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type = "flags-secret"; diff --git a/docs/models/operations/getprojectenvresponsebodyprojectsresponse200applicationjsontype.md b/docs/models/getprojectenvresponsebodyprojectsresponse200applicationjsontype.md similarity index 82% rename from docs/models/operations/getprojectenvresponsebodyprojectsresponse200applicationjsontype.md rename to docs/models/getprojectenvresponsebodyprojectsresponse200applicationjsontype.md index bd9265b8..366d62a0 100644 --- a/docs/models/operations/getprojectenvresponsebodyprojectsresponse200applicationjsontype.md +++ b/docs/models/getprojectenvresponsebodyprojectsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType = "flags-secret"; diff --git a/docs/models/operations/getprojectenvresponsebodyprojectsresponse200type.md b/docs/models/getprojectenvresponsebodyprojectsresponse200type.md similarity index 84% rename from docs/models/operations/getprojectenvresponsebodyprojectsresponse200type.md rename to docs/models/getprojectenvresponsebodyprojectsresponse200type.md index 1bb9f4e7..9ae98139 100644 --- a/docs/models/operations/getprojectenvresponsebodyprojectsresponse200type.md +++ b/docs/models/getprojectenvresponsebodyprojectsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvResponseBodyProjectsResponse200Type } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvResponseBodyProjectsResponse200Type } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvResponseBodyProjectsResponse200Type = "flags-secret"; ``` diff --git a/docs/models/getprojectenvresponsebodyprojectsresponsecontenthint.md b/docs/models/getprojectenvresponsebodyprojectsresponsecontenthint.md new file mode 100644 index 00000000..7e9e0fd7 --- /dev/null +++ b/docs/models/getprojectenvresponsebodyprojectsresponsecontenthint.md @@ -0,0 +1,143 @@ +# GetProjectEnvResponseBodyProjectsResponseContentHint + + +## Supported Types + +### `models.GetProjectEnvContentHintProjectsResponse1` + +```typescript +const value: models.GetProjectEnvContentHintProjectsResponse1 = { + type: "redis-url", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjectsResponse2` + +```typescript +const value: models.GetProjectEnvContentHintProjectsResponse2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjectsResponse3` + +```typescript +const value: models.GetProjectEnvContentHintProjectsResponse3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjectsResponse4` + +```typescript +const value: models.GetProjectEnvContentHintProjectsResponse4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjectsResponse5` + +```typescript +const value: models.GetProjectEnvContentHintProjectsResponse5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjectsResponse6` + +```typescript +const value: models.GetProjectEnvContentHintProjectsResponse6 = { + type: "postgres-url", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjectsResponse7` + +```typescript +const value: models.GetProjectEnvContentHintProjectsResponse7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjectsResponse8` + +```typescript +const value: models.GetProjectEnvContentHintProjectsResponse8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjectsResponse9` + +```typescript +const value: models.GetProjectEnvContentHintProjectsResponse9 = { + type: "postgres-user", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjectsResponse10` + +```typescript +const value: models.GetProjectEnvContentHintProjectsResponse10 = { + type: "postgres-host", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjectsResponse11` + +```typescript +const value: models.GetProjectEnvContentHintProjectsResponse11 = { + type: "postgres-password", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjectsResponse12` + +```typescript +const value: models.GetProjectEnvContentHintProjectsResponse12 = { + type: "postgres-database", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjectsResponse13` + +```typescript +const value: models.GetProjectEnvContentHintProjectsResponse13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjectsResponse14` + +```typescript +const value: models.GetProjectEnvContentHintProjectsResponse14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +### `models.GetProjectEnvContentHintProjectsResponse15` + +```typescript +const value: models.GetProjectEnvContentHintProjectsResponse15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + diff --git a/docs/models/getprojectenvresponsebodyprojectsresponseinternalcontenthint.md b/docs/models/getprojectenvresponsebodyprojectsresponseinternalcontenthint.md new file mode 100644 index 00000000..0ec8f29d --- /dev/null +++ b/docs/models/getprojectenvresponsebodyprojectsresponseinternalcontenthint.md @@ -0,0 +1,21 @@ +# GetProjectEnvResponseBodyProjectsResponseInternalContentHint + +Similar to `contentHints`, but should not be exposed to the user. + +## Example Usage + +```typescript +import { GetProjectEnvResponseBodyProjectsResponseInternalContentHint } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvResponseBodyProjectsResponseInternalContentHint = { + type: "flags-secret", + encryptedValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type](../models/getprojectenvresponsebodyprojectsresponse200applicationjson3type.md) | :heavy_check_mark: | N/A | +| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/getprojectenvresponsebodyprojectsresponsetarget.md b/docs/models/getprojectenvresponsebodyprojectsresponsetarget.md new file mode 100644 index 00000000..f68c2b45 --- /dev/null +++ b/docs/models/getprojectenvresponsebodyprojectsresponsetarget.md @@ -0,0 +1,19 @@ +# GetProjectEnvResponseBodyProjectsResponseTarget + + +## Supported Types + +### `string[]` + +```typescript +const value: string[] = [ + "", +]; +``` + +### `models.GetProjectEnvTargetProjectsResponse2` + +```typescript +const value: models.GetProjectEnvTargetProjectsResponse2 = "development"; +``` + diff --git a/docs/models/operations/getprojectenvresponsebodyprojectsresponsetype.md b/docs/models/getprojectenvresponsebodyprojectsresponsetype.md similarity index 86% rename from docs/models/operations/getprojectenvresponsebodyprojectsresponsetype.md rename to docs/models/getprojectenvresponsebodyprojectsresponsetype.md index 35dd7361..f4d3d00b 100644 --- a/docs/models/operations/getprojectenvresponsebodyprojectsresponsetype.md +++ b/docs/models/getprojectenvresponsebodyprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvResponseBodyProjectsResponseType } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvResponseBodyProjectsResponseType } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvResponseBodyProjectsResponseType = "plain"; ``` diff --git a/docs/models/getprojectenvresponsebodyprojectstarget.md b/docs/models/getprojectenvresponsebodyprojectstarget.md new file mode 100644 index 00000000..af2ac9dd --- /dev/null +++ b/docs/models/getprojectenvresponsebodyprojectstarget.md @@ -0,0 +1,19 @@ +# GetProjectEnvResponseBodyProjectsTarget + + +## Supported Types + +### `models.GetProjectEnvTargetProjects1[]` + +```typescript +const value: models.GetProjectEnvTargetProjects1[] = [ + "preview", +]; +``` + +### `models.GetProjectEnvTargetProjects2` + +```typescript +const value: models.GetProjectEnvTargetProjects2 = "production"; +``` + diff --git a/docs/models/operations/getprojectenvresponsebodyprojectstype.md b/docs/models/getprojectenvresponsebodyprojectstype.md similarity index 87% rename from docs/models/operations/getprojectenvresponsebodyprojectstype.md rename to docs/models/getprojectenvresponsebodyprojectstype.md index d161caf5..bcb9a3d5 100644 --- a/docs/models/operations/getprojectenvresponsebodyprojectstype.md +++ b/docs/models/getprojectenvresponsebodyprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvResponseBodyProjectsType } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvResponseBodyProjectsType } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvResponseBodyProjectsType = "secret"; ``` diff --git a/docs/models/getprojectenvresponsebodytarget.md b/docs/models/getprojectenvresponsebodytarget.md new file mode 100644 index 00000000..ee10ca91 --- /dev/null +++ b/docs/models/getprojectenvresponsebodytarget.md @@ -0,0 +1,19 @@ +# GetProjectEnvResponseBodyTarget + + +## Supported Types + +### `models.GetProjectEnvTarget1[]` + +```typescript +const value: models.GetProjectEnvTarget1[] = [ + "development", +]; +``` + +### `models.GetProjectEnvTarget2` + +```typescript +const value: models.GetProjectEnvTarget2 = "preview"; +``` + diff --git a/docs/models/operations/getprojectenvresponsebodytype.md b/docs/models/getprojectenvresponsebodytype.md similarity index 89% rename from docs/models/operations/getprojectenvresponsebodytype.md rename to docs/models/getprojectenvresponsebodytype.md index 41e80516..ea72044e 100644 --- a/docs/models/operations/getprojectenvresponsebodytype.md +++ b/docs/models/getprojectenvresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvResponseBodyType } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvResponseBodyType } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvResponseBodyType = "sensitive"; ``` diff --git a/docs/models/getprojectenvtarget1.md b/docs/models/getprojectenvtarget1.md new file mode 100644 index 00000000..da4fa21a --- /dev/null +++ b/docs/models/getprojectenvtarget1.md @@ -0,0 +1,15 @@ +# GetProjectEnvTarget1 + +## Example Usage + +```typescript +import { GetProjectEnvTarget1 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvTarget1 = "development"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/getprojectenvtarget2.md b/docs/models/getprojectenvtarget2.md new file mode 100644 index 00000000..2fe7ded8 --- /dev/null +++ b/docs/models/getprojectenvtarget2.md @@ -0,0 +1,15 @@ +# GetProjectEnvTarget2 + +## Example Usage + +```typescript +import { GetProjectEnvTarget2 } from "@vercel/sdk/models/getprojectenvop.js"; + +let value: GetProjectEnvTarget2 = "production"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/operations/getprojectenvtargetprojects1.md b/docs/models/getprojectenvtargetprojects1.md similarity index 89% rename from docs/models/operations/getprojectenvtargetprojects1.md rename to docs/models/getprojectenvtargetprojects1.md index 7696a3aa..fb40a35f 100644 --- a/docs/models/operations/getprojectenvtargetprojects1.md +++ b/docs/models/getprojectenvtargetprojects1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvTargetProjects1 } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvTargetProjects1 } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvTargetProjects1 = "production"; ``` diff --git a/docs/models/operations/getprojectenvtargetprojects2.md b/docs/models/getprojectenvtargetprojects2.md similarity index 89% rename from docs/models/operations/getprojectenvtargetprojects2.md rename to docs/models/getprojectenvtargetprojects2.md index 3818b8d0..b8631a49 100644 --- a/docs/models/operations/getprojectenvtargetprojects2.md +++ b/docs/models/getprojectenvtargetprojects2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvTargetProjects2 } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvTargetProjects2 } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvTargetProjects2 = "production"; ``` diff --git a/docs/models/operations/getprojectenvtargetprojectsresponse2.md b/docs/models/getprojectenvtargetprojectsresponse2.md similarity index 87% rename from docs/models/operations/getprojectenvtargetprojectsresponse2.md rename to docs/models/getprojectenvtargetprojectsresponse2.md index baaa766e..0c156839 100644 --- a/docs/models/operations/getprojectenvtargetprojectsresponse2.md +++ b/docs/models/getprojectenvtargetprojectsresponse2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectEnvTargetProjectsResponse2 } from "@vercel/sdk/models/operations/getprojectenv.js"; +import { GetProjectEnvTargetProjectsResponse2 } from "@vercel/sdk/models/getprojectenvop.js"; let value: GetProjectEnvTargetProjectsResponse2 = "preview"; ``` diff --git a/docs/models/operations/getprojectmembersrequest.md b/docs/models/getprojectmembersrequest.md similarity index 97% rename from docs/models/operations/getprojectmembersrequest.md rename to docs/models/getprojectmembersrequest.md index 2af6ae4d..dc6e6aed 100644 --- a/docs/models/operations/getprojectmembersrequest.md +++ b/docs/models/getprojectmembersrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectMembersRequest } from "@vercel/sdk/models/operations/getprojectmembers.js"; +import { GetProjectMembersRequest } from "@vercel/sdk/models/getprojectmembersop.js"; let value: GetProjectMembersRequest = { idOrName: "prj_pavWOn1iLObbXLRiwVvzmPrTWyTf", diff --git a/docs/models/getprojectmembersresponsebody.md b/docs/models/getprojectmembersresponsebody.md new file mode 100644 index 00000000..ec863f57 --- /dev/null +++ b/docs/models/getprojectmembersresponsebody.md @@ -0,0 +1,39 @@ +# GetProjectMembersResponseBody + +Paginated list of members for the project. + + +## Supported Types + +### `models.GetProjectMembersResponseBody1` + +```typescript +const value: models.GetProjectMembersResponseBody1 = {}; +``` + +### `models.GetProjectMembersResponseBody2` + +```typescript +const value: models.GetProjectMembersResponseBody2 = { + members: [ + { + avatar: "123a6c5209bc3778245d011443644c8d27dc2c50", + email: "jane.doe@example.com", + role: "ADMIN", + computedProjectRole: "ADMIN", + uid: "zTuNVUXEAvvnNN3IaqinkyMw", + username: "jane-doe", + name: "Jane Doe", + createdAt: 1588720733602, + teamRole: "CONTRIBUTOR", + }, + ], + pagination: { + hasNext: false, + count: 20, + next: 1540095775951, + prev: 1540095775951, + }, +}; +``` + diff --git a/docs/models/operations/getprojectmembersresponsebody1.md b/docs/models/getprojectmembersresponsebody1.md similarity index 89% rename from docs/models/operations/getprojectmembersresponsebody1.md rename to docs/models/getprojectmembersresponsebody1.md index 6ecc34a4..31c57198 100644 --- a/docs/models/operations/getprojectmembersresponsebody1.md +++ b/docs/models/getprojectmembersresponsebody1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectMembersResponseBody1 } from "@vercel/sdk/models/operations/getprojectmembers.js"; +import { GetProjectMembersResponseBody1 } from "@vercel/sdk/models/getprojectmembersop.js"; let value: GetProjectMembersResponseBody1 = {}; ``` diff --git a/docs/models/getprojectmembersresponsebody2.md b/docs/models/getprojectmembersresponsebody2.md new file mode 100644 index 00000000..747c4fb4 --- /dev/null +++ b/docs/models/getprojectmembersresponsebody2.md @@ -0,0 +1,38 @@ +# GetProjectMembersResponseBody2 + +Paginated list of members for the project. + +## Example Usage + +```typescript +import { GetProjectMembersResponseBody2 } from "@vercel/sdk/models/getprojectmembersop.js"; + +let value: GetProjectMembersResponseBody2 = { + members: [ + { + avatar: "123a6c5209bc3778245d011443644c8d27dc2c50", + email: "jane.doe@example.com", + role: "ADMIN", + computedProjectRole: "ADMIN", + uid: "zTuNVUXEAvvnNN3IaqinkyMw", + username: "jane-doe", + name: "Jane Doe", + createdAt: 1588720733602, + teamRole: "CONTRIBUTOR", + }, + ], + pagination: { + hasNext: false, + count: 20, + next: 1540095775951, + prev: 1540095775951, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `members` | [models.ResponseBodyMembers](../models/responsebodymembers.md)[] | :heavy_check_mark: | N/A | +| `pagination` | [models.GetProjectMembersResponseBodyPagination](../models/getprojectmembersresponsebodypagination.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectmembersresponsebodypagination.md b/docs/models/getprojectmembersresponsebodypagination.md similarity index 97% rename from docs/models/operations/getprojectmembersresponsebodypagination.md rename to docs/models/getprojectmembersresponsebodypagination.md index 329d7db2..74ecf625 100644 --- a/docs/models/operations/getprojectmembersresponsebodypagination.md +++ b/docs/models/getprojectmembersresponsebodypagination.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectMembersResponseBodyPagination } from "@vercel/sdk/models/operations/getprojectmembers.js"; +import { GetProjectMembersResponseBodyPagination } from "@vercel/sdk/models/getprojectmembersop.js"; let value: GetProjectMembersResponseBodyPagination = { hasNext: false, diff --git a/docs/models/operations/getprojectmembersresponsebodyrole.md b/docs/models/getprojectmembersresponsebodyrole.md similarity index 88% rename from docs/models/operations/getprojectmembersresponsebodyrole.md rename to docs/models/getprojectmembersresponsebodyrole.md index a8f1ae29..b7935341 100644 --- a/docs/models/operations/getprojectmembersresponsebodyrole.md +++ b/docs/models/getprojectmembersresponsebodyrole.md @@ -5,7 +5,7 @@ Role of this user in the project. ## Example Usage ```typescript -import { GetProjectMembersResponseBodyRole } from "@vercel/sdk/models/operations/getprojectmembers.js"; +import { GetProjectMembersResponseBodyRole } from "@vercel/sdk/models/getprojectmembersop.js"; let value: GetProjectMembersResponseBodyRole = "ADMIN"; ``` diff --git a/docs/models/getprojectsaction.md b/docs/models/getprojectsaction.md new file mode 100644 index 00000000..f8e40747 --- /dev/null +++ b/docs/models/getprojectsaction.md @@ -0,0 +1,15 @@ +# GetProjectsAction + +## Example Usage + +```typescript +import { GetProjectsAction } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsAction = "log"; +``` + +## Values + +```typescript +"deny" | "challenge" | "log" | "bypass" | "rate_limit" | "redirect" +``` \ No newline at end of file diff --git a/docs/models/getprojectsalgo.md b/docs/models/getprojectsalgo.md new file mode 100644 index 00000000..3aabdddd --- /dev/null +++ b/docs/models/getprojectsalgo.md @@ -0,0 +1,15 @@ +# GetProjectsAlgo + +## Example Usage + +```typescript +import { GetProjectsAlgo } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsAlgo = "fixed_window"; +``` + +## Values + +```typescript +"fixed_window" | "token_bucket" +``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsaliasassigned.md b/docs/models/getprojectsaliasassigned.md similarity index 82% rename from docs/models/operations/getprojectsaliasassigned.md rename to docs/models/getprojectsaliasassigned.md index d1178236..0e2a830b 100644 --- a/docs/models/operations/getprojectsaliasassigned.md +++ b/docs/models/getprojectsaliasassigned.md @@ -6,7 +6,7 @@ ### `number` ```typescript -const value: number = 2728.22; +const value: number = 3708.53; ``` ### `boolean` diff --git a/docs/models/operations/getprojectsaliaserror.md b/docs/models/getprojectsaliaserror.md similarity index 85% rename from docs/models/operations/getprojectsaliaserror.md rename to docs/models/getprojectsaliaserror.md index 11a9635e..7b68bef4 100644 --- a/docs/models/operations/getprojectsaliaserror.md +++ b/docs/models/getprojectsaliaserror.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsAliasError } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsAliasError } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsAliasError = { code: "", diff --git a/docs/models/operations/getprojectsanalytics.md b/docs/models/getprojectsanalytics.md similarity index 88% rename from docs/models/operations/getprojectsanalytics.md rename to docs/models/getprojectsanalytics.md index 867f190b..5b1b8075 100644 --- a/docs/models/operations/getprojectsanalytics.md +++ b/docs/models/getprojectsanalytics.md @@ -3,12 +3,12 @@ ## Example Usage ```typescript -import { GetProjectsAnalytics } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsAnalytics } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsAnalytics = { id: "", - disabledAt: 6956.25, - enabledAt: 2835.19, + disabledAt: 2835.19, + enabledAt: 3799.27, }; ``` diff --git a/docs/models/getprojectsbranchmatcher.md b/docs/models/getprojectsbranchmatcher.md new file mode 100644 index 00000000..9a5be3fd --- /dev/null +++ b/docs/models/getprojectsbranchmatcher.md @@ -0,0 +1,19 @@ +# GetProjectsBranchMatcher + +## Example Usage + +```typescript +import { GetProjectsBranchMatcher } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsBranchMatcher = { + type: "startsWith", + pattern: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectsProjectsResponse200ApplicationJSONResponseBodyType](../models/getprojectsprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `pattern` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsbuilds.md b/docs/models/getprojectsbuilds.md similarity index 87% rename from docs/models/operations/getprojectsbuilds.md rename to docs/models/getprojectsbuilds.md index 21a29f9e..7dee9702 100644 --- a/docs/models/operations/getprojectsbuilds.md +++ b/docs/models/getprojectsbuilds.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsBuilds } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsBuilds } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsBuilds = { use: "", diff --git a/docs/models/getprojectschecksconclusion.md b/docs/models/getprojectschecksconclusion.md new file mode 100644 index 00000000..4128ac9b --- /dev/null +++ b/docs/models/getprojectschecksconclusion.md @@ -0,0 +1,15 @@ +# GetProjectsChecksConclusion + +## Example Usage + +```typescript +import { GetProjectsChecksConclusion } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsChecksConclusion = "succeeded"; +``` + +## Values + +```typescript +"succeeded" | "failed" | "skipped" | "canceled" +``` \ No newline at end of file diff --git a/docs/models/getprojectschecksstate.md b/docs/models/getprojectschecksstate.md new file mode 100644 index 00000000..2eec3e47 --- /dev/null +++ b/docs/models/getprojectschecksstate.md @@ -0,0 +1,15 @@ +# GetProjectsChecksState + +## Example Usage + +```typescript +import { GetProjectsChecksState } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsChecksState = "completed"; +``` + +## Values + +```typescript +"registered" | "running" | "completed" +``` \ No newline at end of file diff --git a/docs/models/getprojectscontenthint.md b/docs/models/getprojectscontenthint.md new file mode 100644 index 00000000..a23fa14a --- /dev/null +++ b/docs/models/getprojectscontenthint.md @@ -0,0 +1,143 @@ +# GetProjectsContentHint + + +## Supported Types + +### `models.GetProjectsContentHint1` + +```typescript +const value: models.GetProjectsContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +### `models.GetProjectsContentHint2` + +```typescript +const value: models.GetProjectsContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +### `models.GetProjectsContentHint3` + +```typescript +const value: models.GetProjectsContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +### `models.GetProjectsContentHint4` + +```typescript +const value: models.GetProjectsContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +### `models.GetProjectsContentHint5` + +```typescript +const value: models.GetProjectsContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +### `models.GetProjectsContentHint6` + +```typescript +const value: models.GetProjectsContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +### `models.GetProjectsContentHint7` + +```typescript +const value: models.GetProjectsContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +### `models.GetProjectsContentHint8` + +```typescript +const value: models.GetProjectsContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +### `models.GetProjectsContentHint9` + +```typescript +const value: models.GetProjectsContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +### `models.GetProjectsContentHint10` + +```typescript +const value: models.GetProjectsContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +### `models.GetProjectsContentHint11` + +```typescript +const value: models.GetProjectsContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +### `models.GetProjectsContentHint12` + +```typescript +const value: models.GetProjectsContentHint12 = { + type: "postgres-database", + storeId: "", +}; +``` + +### `models.GetProjectsContentHint13` + +```typescript +const value: models.GetProjectsContentHint13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +### `models.GetProjectsContentHint14` + +```typescript +const value: models.GetProjectsContentHint14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +### `models.GetProjectsContentHint15` + +```typescript +const value: models.GetProjectsContentHint15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + diff --git a/docs/models/getprojectscontenthint1.md b/docs/models/getprojectscontenthint1.md new file mode 100644 index 00000000..acd72254 --- /dev/null +++ b/docs/models/getprojectscontenthint1.md @@ -0,0 +1,19 @@ +# GetProjectsContentHint1 + +## Example Usage + +```typescript +import { GetProjectsContentHint1 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `type` | [models.GetProjectsContentHintType](../models/getprojectscontenthinttype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectscontenthint10.md b/docs/models/getprojectscontenthint10.md new file mode 100644 index 00000000..df73ca81 --- /dev/null +++ b/docs/models/getprojectscontenthint10.md @@ -0,0 +1,19 @@ +# GetProjectsContentHint10 + +## Example Usage + +```typescript +import { GetProjectsContentHint10 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type](../models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv10type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectscontenthint11.md b/docs/models/getprojectscontenthint11.md new file mode 100644 index 00000000..57695467 --- /dev/null +++ b/docs/models/getprojectscontenthint11.md @@ -0,0 +1,19 @@ +# GetProjectsContentHint11 + +## Example Usage + +```typescript +import { GetProjectsContentHint11 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type](../models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv11type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectscontenthint12.md b/docs/models/getprojectscontenthint12.md new file mode 100644 index 00000000..8b1d63c6 --- /dev/null +++ b/docs/models/getprojectscontenthint12.md @@ -0,0 +1,19 @@ +# GetProjectsContentHint12 + +## Example Usage + +```typescript +import { GetProjectsContentHint12 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsContentHint12 = { + type: "postgres-database", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type](../models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv12type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectscontenthint13.md b/docs/models/getprojectscontenthint13.md new file mode 100644 index 00000000..a856a4e7 --- /dev/null +++ b/docs/models/getprojectscontenthint13.md @@ -0,0 +1,19 @@ +# GetProjectsContentHint13 + +## Example Usage + +```typescript +import { GetProjectsContentHint13 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsContentHint13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type](../models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv13type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectscontenthint14.md b/docs/models/getprojectscontenthint14.md new file mode 100644 index 00000000..de58faac --- /dev/null +++ b/docs/models/getprojectscontenthint14.md @@ -0,0 +1,25 @@ +# GetProjectsContentHint14 + +## Example Usage + +```typescript +import { GetProjectsContentHint14 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsContentHint14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type](../models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv14type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectscontenthint15.md b/docs/models/getprojectscontenthint15.md new file mode 100644 index 00000000..b923ac75 --- /dev/null +++ b/docs/models/getprojectscontenthint15.md @@ -0,0 +1,19 @@ +# GetProjectsContentHint15 + +## Example Usage + +```typescript +import { GetProjectsContentHint15 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsContentHint15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type](../models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv15type.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectscontenthint2.md b/docs/models/getprojectscontenthint2.md new file mode 100644 index 00000000..e95c232b --- /dev/null +++ b/docs/models/getprojectscontenthint2.md @@ -0,0 +1,19 @@ +# GetProjectsContentHint2 + +## Example Usage + +```typescript +import { GetProjectsContentHint2 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectsContentHintProjectsType](../models/getprojectscontenthintprojectstype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectscontenthint3.md b/docs/models/getprojectscontenthint3.md new file mode 100644 index 00000000..1b0f9dbb --- /dev/null +++ b/docs/models/getprojectscontenthint3.md @@ -0,0 +1,19 @@ +# GetProjectsContentHint3 + +## Example Usage + +```typescript +import { GetProjectsContentHint3 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetProjectsContentHintProjectsResponseType](../models/getprojectscontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectscontenthint4.md b/docs/models/getprojectscontenthint4.md new file mode 100644 index 00000000..62611970 --- /dev/null +++ b/docs/models/getprojectscontenthint4.md @@ -0,0 +1,19 @@ +# GetProjectsContentHint4 + +## Example Usage + +```typescript +import { GetProjectsContentHint4 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetProjectsContentHintProjectsResponse200Type](../models/getprojectscontenthintprojectsresponse200type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectscontenthint5.md b/docs/models/getprojectscontenthint5.md new file mode 100644 index 00000000..23ef5c4a --- /dev/null +++ b/docs/models/getprojectscontenthint5.md @@ -0,0 +1,19 @@ +# GetProjectsContentHint5 + +## Example Usage + +```typescript +import { GetProjectsContentHint5 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetProjectsContentHintProjectsResponse200ApplicationJSONType](../models/getprojectscontenthintprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectscontenthint6.md b/docs/models/getprojectscontenthint6.md new file mode 100644 index 00000000..f853b46f --- /dev/null +++ b/docs/models/getprojectscontenthint6.md @@ -0,0 +1,19 @@ +# GetProjectsContentHint6 + +## Example Usage + +```typescript +import { GetProjectsContentHint6 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType](../models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectscontenthint7.md b/docs/models/getprojectscontenthint7.md new file mode 100644 index 00000000..401aae7b --- /dev/null +++ b/docs/models/getprojectscontenthint7.md @@ -0,0 +1,19 @@ +# GetProjectsContentHint7 + +## Example Usage + +```typescript +import { GetProjectsContentHint7 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType](../models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectstype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectscontenthint8.md b/docs/models/getprojectscontenthint8.md new file mode 100644 index 00000000..152b59c0 --- /dev/null +++ b/docs/models/getprojectscontenthint8.md @@ -0,0 +1,19 @@ +# GetProjectsContentHint8 + +## Example Usage + +```typescript +import { GetProjectsContentHint8 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType](../models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenvtype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectscontenthint9.md b/docs/models/getprojectscontenthint9.md new file mode 100644 index 00000000..832bf05f --- /dev/null +++ b/docs/models/getprojectscontenthint9.md @@ -0,0 +1,19 @@ +# GetProjectsContentHint9 + +## Example Usage + +```typescript +import { GetProjectsContentHint9 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type](../models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv9type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv10type.md b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv10type.md similarity index 87% rename from docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv10type.md rename to docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv10type.md index 023c335c..3b9d5616 100644 --- a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv10type.md +++ b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv10type.md @@ -5,7 +5,7 @@ ```typescript import { GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type, -} from "@vercel/sdk/models/operations/getprojects.js"; +} from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type = diff --git a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv11type.md b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv11type.md similarity index 87% rename from docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv11type.md rename to docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv11type.md index bbf24985..3e482d54 100644 --- a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv11type.md +++ b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv11type.md @@ -5,7 +5,7 @@ ```typescript import { GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type, -} from "@vercel/sdk/models/operations/getprojects.js"; +} from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type = diff --git a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv12type.md b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv12type.md similarity index 87% rename from docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv12type.md rename to docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv12type.md index be969bc5..e5696274 100644 --- a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv12type.md +++ b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv12type.md @@ -5,7 +5,7 @@ ```typescript import { GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type, -} from "@vercel/sdk/models/operations/getprojects.js"; +} from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type = diff --git a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv13type.md b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv13type.md similarity index 87% rename from docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv13type.md rename to docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv13type.md index a9a17f5e..8409bad2 100644 --- a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv13type.md +++ b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv13type.md @@ -5,7 +5,7 @@ ```typescript import { GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type, -} from "@vercel/sdk/models/operations/getprojects.js"; +} from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type = diff --git a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv14type.md b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv14type.md similarity index 88% rename from docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv14type.md rename to docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv14type.md index fa4afb31..811e6f26 100644 --- a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv14type.md +++ b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv14type.md @@ -5,7 +5,7 @@ ```typescript import { GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type, -} from "@vercel/sdk/models/operations/getprojects.js"; +} from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type = diff --git a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv15type.md b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv15type.md similarity index 88% rename from docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv15type.md rename to docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv15type.md index 076217fc..3c5465de 100644 --- a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv15type.md +++ b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv15type.md @@ -5,7 +5,7 @@ ```typescript import { GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type, -} from "@vercel/sdk/models/operations/getprojects.js"; +} from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type = diff --git a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv9type.md b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv9type.md similarity index 87% rename from docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv9type.md rename to docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv9type.md index 15fd4807..b569d56a 100644 --- a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv9type.md +++ b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv9type.md @@ -5,7 +5,7 @@ ```typescript import { GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type, -} from "@vercel/sdk/models/operations/getprojects.js"; +} from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type = diff --git a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenvtype.md b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenvtype.md similarity index 87% rename from docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenvtype.md rename to docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenvtype.md index 4b551a52..1a5391de 100644 --- a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenvtype.md +++ b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenvtype.md @@ -5,7 +5,7 @@ ```typescript import { GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType, -} from "@vercel/sdk/models/operations/getprojects.js"; +} from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType = diff --git a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectstype.md b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectstype.md similarity index 82% rename from docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectstype.md rename to docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectstype.md index 3f632c4a..1dac4315 100644 --- a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectstype.md +++ b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType = diff --git a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodytype.md b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodytype.md similarity index 81% rename from docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodytype.md rename to docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodytype.md index d859bc39..d210d8d9 100644 --- a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodytype.md +++ b/docs/models/getprojectscontenthintprojectsresponse200applicationjsonresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType = diff --git a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsontype.md b/docs/models/getprojectscontenthintprojectsresponse200applicationjsontype.md similarity index 83% rename from docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsontype.md rename to docs/models/getprojectscontenthintprojectsresponse200applicationjsontype.md index 4a866a1d..2eb51bf3 100644 --- a/docs/models/operations/getprojectscontenthintprojectsresponse200applicationjsontype.md +++ b/docs/models/getprojectscontenthintprojectsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsContentHintProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsContentHintProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsContentHintProjectsResponse200ApplicationJSONType = "blob-read-write-token"; diff --git a/docs/models/operations/getprojectscontenthintprojectsresponse200type.md b/docs/models/getprojectscontenthintprojectsresponse200type.md similarity index 86% rename from docs/models/operations/getprojectscontenthintprojectsresponse200type.md rename to docs/models/getprojectscontenthintprojectsresponse200type.md index 8ca1c9dc..6d22baed 100644 --- a/docs/models/operations/getprojectscontenthintprojectsresponse200type.md +++ b/docs/models/getprojectscontenthintprojectsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsContentHintProjectsResponse200Type } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsContentHintProjectsResponse200Type } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsContentHintProjectsResponse200Type = "redis-rest-api-read-only-token"; diff --git a/docs/models/operations/getprojectscontenthintprojectsresponsetype.md b/docs/models/getprojectscontenthintprojectsresponsetype.md similarity index 86% rename from docs/models/operations/getprojectscontenthintprojectsresponsetype.md rename to docs/models/getprojectscontenthintprojectsresponsetype.md index 62d2aa26..0a7fae28 100644 --- a/docs/models/operations/getprojectscontenthintprojectsresponsetype.md +++ b/docs/models/getprojectscontenthintprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsContentHintProjectsResponseType } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsContentHintProjectsResponseType } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsContentHintProjectsResponseType = "redis-rest-api-token"; ``` diff --git a/docs/models/operations/getprojectscontenthintprojectstype.md b/docs/models/getprojectscontenthintprojectstype.md similarity index 88% rename from docs/models/operations/getprojectscontenthintprojectstype.md rename to docs/models/getprojectscontenthintprojectstype.md index 1826fabf..0ce38357 100644 --- a/docs/models/operations/getprojectscontenthintprojectstype.md +++ b/docs/models/getprojectscontenthintprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsContentHintProjectsType } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsContentHintProjectsType } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsContentHintProjectsType = "redis-rest-api-url"; ``` diff --git a/docs/models/getprojectscontenthinttype.md b/docs/models/getprojectscontenthinttype.md new file mode 100644 index 00000000..57111284 --- /dev/null +++ b/docs/models/getprojectscontenthinttype.md @@ -0,0 +1,15 @@ +# GetProjectsContentHintType + +## Example Usage + +```typescript +import { GetProjectsContentHintType } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsContentHintType = "redis-url"; +``` + +## Values + +```typescript +"redis-url" +``` \ No newline at end of file diff --git a/docs/models/operations/getprojectscreator.md b/docs/models/getprojectscreator.md similarity index 82% rename from docs/models/operations/getprojectscreator.md rename to docs/models/getprojectscreator.md index 5609e574..c1095a76 100644 --- a/docs/models/operations/getprojectscreator.md +++ b/docs/models/getprojectscreator.md @@ -3,12 +3,12 @@ ## Example Usage ```typescript -import { GetProjectsCreator } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsCreator } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsCreator = { - email: "Arely_Hackett@hotmail.com", + email: "Josiah_Mayert64@gmail.com", uid: "", - username: "Alfonzo_Langosh68", + username: "Hipolito_Leuschke27", }; ``` diff --git a/docs/models/operations/getprojectscrons.md b/docs/models/getprojectscrons.md similarity index 93% rename from docs/models/operations/getprojectscrons.md rename to docs/models/getprojectscrons.md index 6a714635..f48e2c6e 100644 --- a/docs/models/operations/getprojectscrons.md +++ b/docs/models/getprojectscrons.md @@ -3,12 +3,12 @@ ## Example Usage ```typescript -import { GetProjectsCrons } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsCrons } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsCrons = { - enabledAt: 3799.27, - disabledAt: 1811.51, - updatedAt: 7885.46, + enabledAt: 1811.51, + disabledAt: 7885.46, + updatedAt: 568.48, deploymentId: "", definitions: [ { @@ -28,4 +28,4 @@ let value: GetProjectsCrons = { | `disabledAt` | *number* | :heavy_check_mark: | The time the feature was disabled for this project. | | `updatedAt` | *number* | :heavy_check_mark: | N/A | | `deploymentId` | *string* | :heavy_check_mark: | The ID of the Deployment from which the definitions originated. | -| `definitions` | [operations.GetProjectsDefinitions](../../models/operations/getprojectsdefinitions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| `definitions` | [models.GetProjectsDefinitions](../models/getprojectsdefinitions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscustomenvironments.md b/docs/models/getprojectscustomenvironments.md similarity index 91% rename from docs/models/operations/getprojectscustomenvironments.md rename to docs/models/getprojectscustomenvironments.md index 3ba19d63..5bb7a1b5 100644 --- a/docs/models/operations/getprojectscustomenvironments.md +++ b/docs/models/getprojectscustomenvironments.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsCustomEnvironments } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsCustomEnvironments } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsCustomEnvironments = {}; ``` diff --git a/docs/models/operations/getprojectsdatacache.md b/docs/models/getprojectsdatacache.md similarity index 86% rename from docs/models/operations/getprojectsdatacache.md rename to docs/models/getprojectsdatacache.md index cba28931..9479b65f 100644 --- a/docs/models/operations/getprojectsdatacache.md +++ b/docs/models/getprojectsdatacache.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsDataCache } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsDataCache } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsDataCache = { userDisabled: false, diff --git a/docs/models/operations/getprojectsdefinitions.md b/docs/models/getprojectsdefinitions.md similarity index 94% rename from docs/models/operations/getprojectsdefinitions.md rename to docs/models/getprojectsdefinitions.md index c277ee2a..b470cb27 100644 --- a/docs/models/operations/getprojectsdefinitions.md +++ b/docs/models/getprojectsdefinitions.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsDefinitions } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsDefinitions } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsDefinitions = { host: "vercel.com", diff --git a/docs/models/operations/getprojectsdeploymentexpiration.md b/docs/models/getprojectsdeploymentexpiration.md similarity index 96% rename from docs/models/operations/getprojectsdeploymentexpiration.md rename to docs/models/getprojectsdeploymentexpiration.md index 00afebac..475dde62 100644 --- a/docs/models/operations/getprojectsdeploymentexpiration.md +++ b/docs/models/getprojectsdeploymentexpiration.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsDeploymentExpiration } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsDeploymentExpiration } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsDeploymentExpiration = {}; ``` diff --git a/docs/models/getprojectsdeploymenttype.md b/docs/models/getprojectsdeploymenttype.md new file mode 100644 index 00000000..010b1822 --- /dev/null +++ b/docs/models/getprojectsdeploymenttype.md @@ -0,0 +1,15 @@ +# GetProjectsDeploymentType + +## Example Usage + +```typescript +import { GetProjectsDeploymentType } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsDeploymentType = "prod_deployment_urls_and_all_previews"; +``` + +## Values + +```typescript +"preview" | "all" | "prod_deployment_urls_and_all_previews" +``` \ No newline at end of file diff --git a/docs/models/getprojectsenv.md b/docs/models/getprojectsenv.md new file mode 100644 index 00000000..e9b12c5c --- /dev/null +++ b/docs/models/getprojectsenv.md @@ -0,0 +1,38 @@ +# GetProjectsEnv + +## Example Usage + +```typescript +import { GetProjectsEnv } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsEnv = { + type: "plain", + key: "", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `target` | *models.GetProjectsTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.GetProjectsType](../models/getprojectstype.md) | :heavy_check_mark: | N/A | +| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdBy` | *string* | :heavy_minus_sign: | N/A | +| `updatedBy` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `contentHint` | *models.GetProjectsContentHint* | :heavy_minus_sign: | N/A | +| `internalContentHint` | [models.GetProjectsInternalContentHint](../models/getprojectsinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | +| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | +| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectserl.md b/docs/models/getprojectserl.md new file mode 100644 index 00000000..ec222062 --- /dev/null +++ b/docs/models/getprojectserl.md @@ -0,0 +1,25 @@ +# GetProjectsErl + +## Example Usage + +```typescript +import { GetProjectsErl } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsErl = { + algo: "token_bucket", + window: 3828.08, + limit: 8953.86, + keys: [ + "", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `algo` | [models.GetProjectsAlgo](../models/getprojectsalgo.md) | :heavy_check_mark: | N/A | +| `window` | *number* | :heavy_check_mark: | N/A | +| `limit` | *number* | :heavy_check_mark: | N/A | +| `keys` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsfirewallroutes.md b/docs/models/getprojectsfirewallroutes.md new file mode 100644 index 00000000..73fb0378 --- /dev/null +++ b/docs/models/getprojectsfirewallroutes.md @@ -0,0 +1,21 @@ +# GetProjectsFirewallRoutes + +## Example Usage + +```typescript +import { GetProjectsFirewallRoutes } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsFirewallRoutes = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `src` | *models.GetProjectsSrc* | :heavy_minus_sign: | N/A | +| `has` | [models.GetProjectsHas](../models/getprojectshas.md)[] | :heavy_minus_sign: | N/A | +| `missing` | [models.GetProjectsMissing](../models/getprojectsmissing.md)[] | :heavy_minus_sign: | N/A | +| `dest` | *string* | :heavy_minus_sign: | N/A | +| `status` | *number* | :heavy_minus_sign: | N/A | +| `handle` | [models.GetProjectsHandle](../models/getprojectshandle.md) | :heavy_minus_sign: | N/A | +| `mitigate` | [models.GetProjectsMitigate](../models/getprojectsmitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsframework.md b/docs/models/getprojectsframework.md similarity index 83% rename from docs/models/operations/getprojectsframework.md rename to docs/models/getprojectsframework.md index d10db0a5..5452e340 100644 --- a/docs/models/operations/getprojectsframework.md +++ b/docs/models/getprojectsframework.md @@ -3,9 +3,9 @@ ## Example Usage ```typescript -import { GetProjectsFramework } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsFramework } from "@vercel/sdk/models/getprojectsop.js"; -let value: GetProjectsFramework = "sapper"; +let value: GetProjectsFramework = "dojo"; ``` ## Values diff --git a/docs/models/getprojectsfunctiondefaultmemorytype.md b/docs/models/getprojectsfunctiondefaultmemorytype.md new file mode 100644 index 00000000..aae050f3 --- /dev/null +++ b/docs/models/getprojectsfunctiondefaultmemorytype.md @@ -0,0 +1,15 @@ +# GetProjectsFunctionDefaultMemoryType + +## Example Usage + +```typescript +import { GetProjectsFunctionDefaultMemoryType } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsFunctionDefaultMemoryType = "standard"; +``` + +## Values + +```typescript +"standard_legacy" | "standard" | "performance" +``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsgitcomments.md b/docs/models/getprojectsgitcomments.md similarity index 91% rename from docs/models/operations/getprojectsgitcomments.md rename to docs/models/getprojectsgitcomments.md index 1279026a..eba8da74 100644 --- a/docs/models/operations/getprojectsgitcomments.md +++ b/docs/models/getprojectsgitcomments.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsGitComments } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsGitComments } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsGitComments = { onPullRequest: false, diff --git a/docs/models/getprojectshandle.md b/docs/models/getprojectshandle.md new file mode 100644 index 00000000..8bcaf1b7 --- /dev/null +++ b/docs/models/getprojectshandle.md @@ -0,0 +1,15 @@ +# GetProjectsHandle + +## Example Usage + +```typescript +import { GetProjectsHandle } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsHandle = "init"; +``` + +## Values + +```typescript +"init" | "finalize" +``` \ No newline at end of file diff --git a/docs/models/getprojectshas.md b/docs/models/getprojectshas.md new file mode 100644 index 00000000..d55be252 --- /dev/null +++ b/docs/models/getprojectshas.md @@ -0,0 +1,19 @@ +# GetProjectsHas + +## Example Usage + +```typescript +import { GetProjectsHas } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsHas = { + type: "query", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType](../models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecuritytype.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *models.GetProjectsValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsinternalcontenthint.md b/docs/models/getprojectsinternalcontenthint.md new file mode 100644 index 00000000..966d596e --- /dev/null +++ b/docs/models/getprojectsinternalcontenthint.md @@ -0,0 +1,21 @@ +# GetProjectsInternalContentHint + +Similar to `contentHints`, but should not be exposed to the user. + +## Example Usage + +```typescript +import { GetProjectsInternalContentHint } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsInternalContentHint = { + type: "flags-secret", + encryptedValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType](../models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectstype.md) | :heavy_check_mark: | N/A | +| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/getprojectsipbuckets.md b/docs/models/getprojectsipbuckets.md similarity index 84% rename from docs/models/operations/getprojectsipbuckets.md rename to docs/models/getprojectsipbuckets.md index 65ed632a..1815bc36 100644 --- a/docs/models/operations/getprojectsipbuckets.md +++ b/docs/models/getprojectsipbuckets.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsIpBuckets } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsIpBuckets } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsIpBuckets = { bucket: "", diff --git a/docs/models/getprojectsissuermode.md b/docs/models/getprojectsissuermode.md new file mode 100644 index 00000000..38bb92ee --- /dev/null +++ b/docs/models/getprojectsissuermode.md @@ -0,0 +1,17 @@ +# GetProjectsIssuerMode + +- team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` + +## Example Usage + +```typescript +import { GetProjectsIssuerMode } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsIssuerMode = "global"; +``` + +## Values + +```typescript +"team" | "global" +``` \ No newline at end of file diff --git a/docs/models/getprojectsjobstatus.md b/docs/models/getprojectsjobstatus.md new file mode 100644 index 00000000..2365ef68 --- /dev/null +++ b/docs/models/getprojectsjobstatus.md @@ -0,0 +1,15 @@ +# GetProjectsJobStatus + +## Example Usage + +```typescript +import { GetProjectsJobStatus } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsJobStatus = "pending"; +``` + +## Values + +```typescript +"succeeded" | "failed" | "skipped" | "pending" | "in-progress" +``` \ No newline at end of file diff --git a/docs/models/getprojectslastaliasrequest.md b/docs/models/getprojectslastaliasrequest.md new file mode 100644 index 00000000..26da426b --- /dev/null +++ b/docs/models/getprojectslastaliasrequest.md @@ -0,0 +1,25 @@ +# GetProjectsLastAliasRequest + +## Example Usage + +```typescript +import { GetProjectsLastAliasRequest } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsLastAliasRequest = { + fromDeploymentId: "", + toDeploymentId: "", + jobStatus: "succeeded", + requestedAt: 4492.92, + type: "promote", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `fromDeploymentId` | *string* | :heavy_check_mark: | N/A | +| `toDeploymentId` | *string* | :heavy_check_mark: | N/A | +| `jobStatus` | [models.GetProjectsJobStatus](../models/getprojectsjobstatus.md) | :heavy_check_mark: | N/A | +| `requestedAt` | *number* | :heavy_check_mark: | N/A | +| `type` | [models.GetProjectsProjectsResponse200Type](../models/getprojectsprojectsresponse200type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectslastrollbacktarget.md b/docs/models/getprojectslastrollbacktarget.md similarity index 91% rename from docs/models/operations/getprojectslastrollbacktarget.md rename to docs/models/getprojectslastrollbacktarget.md index 62cf54c4..76665587 100644 --- a/docs/models/operations/getprojectslastrollbacktarget.md +++ b/docs/models/getprojectslastrollbacktarget.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsLastRollbackTarget } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsLastRollbackTarget } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsLastRollbackTarget = {}; ``` diff --git a/docs/models/getprojectslatestdeployments.md b/docs/models/getprojectslatestdeployments.md new file mode 100644 index 00000000..ae2f18e2 --- /dev/null +++ b/docs/models/getprojectslatestdeployments.md @@ -0,0 +1,68 @@ +# GetProjectsLatestDeployments + +## Example Usage + +```typescript +import { GetProjectsLatestDeployments } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsLatestDeployments = { + id: "", + createdAt: 9039.84, + createdIn: "", + creator: { + email: "Jacques39@yahoo.com", + uid: "", + username: "Maryam_Harber63", + }, + deploymentHostname: "", + name: "", + plan: "pro", + previewCommentsEnabled: false, + private: false, + readyState: "READY", + type: "LAMBDAS", + url: "https://lavish-mouser.org", + userId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `alias` | *string*[] | :heavy_minus_sign: | N/A | | +| `aliasAssigned` | *models.GetProjectsAliasAssigned* | :heavy_minus_sign: | N/A | | +| `aliasError` | [models.GetProjectsAliasError](../models/getprojectsaliaserror.md) | :heavy_minus_sign: | N/A | | +| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | +| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | +| `branchMatcher` | [models.GetProjectsBranchMatcher](../models/getprojectsbranchmatcher.md) | :heavy_minus_sign: | N/A | | +| `buildingAt` | *number* | :heavy_minus_sign: | N/A | | +| `builds` | [models.GetProjectsBuilds](../models/getprojectsbuilds.md)[] | :heavy_minus_sign: | N/A | | +| `checksConclusion` | [models.GetProjectsChecksConclusion](../models/getprojectschecksconclusion.md) | :heavy_minus_sign: | N/A | | +| `checksState` | [models.GetProjectsChecksState](../models/getprojectschecksstate.md) | :heavy_minus_sign: | N/A | | +| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | +| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | +| `createdAt` | *number* | :heavy_check_mark: | N/A | | +| `createdIn` | *string* | :heavy_check_mark: | N/A | | +| `creator` | [models.GetProjectsCreator](../models/getprojectscreator.md) | :heavy_check_mark: | N/A | | +| `deletedAt` | *number* | :heavy_minus_sign: | N/A | | +| `deploymentHostname` | *string* | :heavy_check_mark: | N/A | | +| `forced` | *boolean* | :heavy_minus_sign: | N/A | | +| `name` | *string* | :heavy_check_mark: | N/A | | +| `meta` | Record | :heavy_minus_sign: | N/A | | +| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | +| `oidcTokenClaims` | [models.GetProjectsOidcTokenClaims](../models/getprojectsoidctokenclaims.md) | :heavy_minus_sign: | N/A | | +| `plan` | [models.GetProjectsPlan](../models/getprojectsplan.md) | :heavy_check_mark: | N/A | | +| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | +| `private` | *boolean* | :heavy_check_mark: | N/A | | +| `readyAt` | *number* | :heavy_minus_sign: | N/A | | +| `readyState` | [models.GetProjectsReadyState](../models/getprojectsreadystate.md) | :heavy_check_mark: | N/A | | +| `readySubstate` | [models.GetProjectsReadySubstate](../models/getprojectsreadysubstate.md) | :heavy_minus_sign: | N/A | | +| `requestedAt` | *number* | :heavy_minus_sign: | N/A | | +| `target` | *string* | :heavy_minus_sign: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | | +| `type` | [models.GetProjectsProjectsType](../models/getprojectsprojectstype.md) | :heavy_check_mark: | N/A | | +| `url` | *string* | :heavy_check_mark: | N/A | | +| `userId` | *string* | :heavy_check_mark: | N/A | | +| `withCache` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/getprojectslink.md b/docs/models/getprojectslink.md new file mode 100644 index 00000000..e48233db --- /dev/null +++ b/docs/models/getprojectslink.md @@ -0,0 +1,50 @@ +# GetProjectsLink + + +## Supported Types + +### `models.GetProjectsLink1` + +```typescript +const value: models.GetProjectsLink1 = { + deployHooks: [ + { + id: "", + name: "", + ref: "", + url: "https://good-department.name/", + }, + ], +}; +``` + +### `models.GetProjectsLink2` + +```typescript +const value: models.GetProjectsLink2 = { + deployHooks: [ + { + id: "", + name: "", + ref: "", + url: "https://aggravating-horde.com/", + }, + ], +}; +``` + +### `models.GetProjectsLink3` + +```typescript +const value: models.GetProjectsLink3 = { + deployHooks: [ + { + id: "", + name: "", + ref: "", + url: "https://elegant-disappointment.com/", + }, + ], +}; +``` + diff --git a/docs/models/operations/getprojectslink1.md b/docs/models/getprojectslink1.md similarity index 94% rename from docs/models/operations/getprojectslink1.md rename to docs/models/getprojectslink1.md index 9f792244..a2086599 100644 --- a/docs/models/operations/getprojectslink1.md +++ b/docs/models/getprojectslink1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsLink1 } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsLink1 } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsLink1 = { deployHooks: [ @@ -11,7 +11,7 @@ let value: GetProjectsLink1 = { id: "", name: "", ref: "", - url: "https://vengeful-bran.org/", + url: "https://buzzing-underneath.org", }, ], }; @@ -25,9 +25,9 @@ let value: GetProjectsLink1 = { | `repoOwnerId` | *number* | :heavy_minus_sign: | A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. | | `repo` | *string* | :heavy_minus_sign: | N/A | | `repoId` | *number* | :heavy_minus_sign: | N/A | -| `type` | [operations.GetProjectsLinkType](../../models/operations/getprojectslinktype.md) | :heavy_minus_sign: | N/A | +| `type` | [models.GetProjectsLinkType](../models/getprojectslinktype.md) | :heavy_minus_sign: | N/A | | `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `deployHooks` | [operations.GetProjectsLinkDeployHooks](../../models/operations/getprojectslinkdeployhooks.md)[] | :heavy_check_mark: | N/A | +| `deployHooks` | [models.GetProjectsLinkDeployHooks](../models/getprojectslinkdeployhooks.md)[] | :heavy_check_mark: | N/A | | `gitCredentialId` | *string* | :heavy_minus_sign: | N/A | | `updatedAt` | *number* | :heavy_minus_sign: | N/A | | `sourceless` | *boolean* | :heavy_minus_sign: | N/A | diff --git a/docs/models/operations/getprojectslink2.md b/docs/models/getprojectslink2.md similarity index 97% rename from docs/models/operations/getprojectslink2.md rename to docs/models/getprojectslink2.md index ea3e7b5d..b3c62da2 100644 --- a/docs/models/operations/getprojectslink2.md +++ b/docs/models/getprojectslink2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsLink2 } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsLink2 } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsLink2 = { deployHooks: [ @@ -11,7 +11,7 @@ let value: GetProjectsLink2 = { id: "", name: "", ref: "", - url: "https://thin-almighty.org/", + url: "https://animated-velocity.info", }, ], }; @@ -27,9 +27,9 @@ let value: GetProjectsLink2 = { | `projectNamespace` | *string* | :heavy_minus_sign: | N/A | | `projectOwnerId` | *number* | :heavy_minus_sign: | A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. This is the id of the top level group that a namespace belongs to. Gitlab supports group nesting (up to 20 levels). | | `projectUrl` | *string* | :heavy_minus_sign: | N/A | -| `type` | [operations.GetProjectsLinkProjectsType](../../models/operations/getprojectslinkprojectstype.md) | :heavy_minus_sign: | N/A | +| `type` | [models.GetProjectsLinkProjectsType](../models/getprojectslinkprojectstype.md) | :heavy_minus_sign: | N/A | | `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `deployHooks` | [operations.GetProjectsLinkProjectsDeployHooks](../../models/operations/getprojectslinkprojectsdeployhooks.md)[] | :heavy_check_mark: | N/A | +| `deployHooks` | [models.GetProjectsLinkProjectsDeployHooks](../models/getprojectslinkprojectsdeployhooks.md)[] | :heavy_check_mark: | N/A | | `gitCredentialId` | *string* | :heavy_minus_sign: | N/A | | `updatedAt` | *number* | :heavy_minus_sign: | N/A | | `sourceless` | *boolean* | :heavy_minus_sign: | N/A | diff --git a/docs/models/getprojectslink3.md b/docs/models/getprojectslink3.md new file mode 100644 index 00000000..bd786dd2 --- /dev/null +++ b/docs/models/getprojectslink3.md @@ -0,0 +1,35 @@ +# GetProjectsLink3 + +## Example Usage + +```typescript +import { GetProjectsLink3 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsLink3 = { + deployHooks: [ + { + id: "", + name: "", + ref: "", + url: "https://submissive-coal.name", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `slug` | *string* | :heavy_minus_sign: | N/A | +| `owner` | *string* | :heavy_minus_sign: | N/A | +| `type` | [models.GetProjectsLinkProjectsResponseType](../models/getprojectslinkprojectsresponsetype.md) | :heavy_minus_sign: | N/A | +| `uuid` | *string* | :heavy_minus_sign: | N/A | +| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `deployHooks` | [models.GetProjectsLinkProjectsResponseDeployHooks](../models/getprojectslinkprojectsresponsedeployhooks.md)[] | :heavy_check_mark: | N/A | +| `gitCredentialId` | *string* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `sourceless` | *boolean* | :heavy_minus_sign: | N/A | +| `productionBranch` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectslinkdeployhooks.md b/docs/models/getprojectslinkdeployhooks.md similarity index 85% rename from docs/models/operations/getprojectslinkdeployhooks.md rename to docs/models/getprojectslinkdeployhooks.md index c565809c..543ec693 100644 --- a/docs/models/operations/getprojectslinkdeployhooks.md +++ b/docs/models/getprojectslinkdeployhooks.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { GetProjectsLinkDeployHooks } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsLinkDeployHooks } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsLinkDeployHooks = { id: "", name: "", ref: "", - url: "https://hard-to-find-adviser.biz/", + url: "https://aggressive-convection.info/", }; ``` diff --git a/docs/models/operations/getprojectslinkprojectsdeployhooks.md b/docs/models/getprojectslinkprojectsdeployhooks.md similarity index 91% rename from docs/models/operations/getprojectslinkprojectsdeployhooks.md rename to docs/models/getprojectslinkprojectsdeployhooks.md index 729bbed2..0c5d50f4 100644 --- a/docs/models/operations/getprojectslinkprojectsdeployhooks.md +++ b/docs/models/getprojectslinkprojectsdeployhooks.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { GetProjectsLinkProjectsDeployHooks } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsLinkProjectsDeployHooks } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsLinkProjectsDeployHooks = { id: "", name: "", ref: "", - url: "https://impeccable-barge.info", + url: "https://beneficial-hippodrome.biz/", }; ``` diff --git a/docs/models/operations/getprojectslinkprojectsresponsedeployhooks.md b/docs/models/getprojectslinkprojectsresponsedeployhooks.md similarity index 91% rename from docs/models/operations/getprojectslinkprojectsresponsedeployhooks.md rename to docs/models/getprojectslinkprojectsresponsedeployhooks.md index d517fd23..8fdccd58 100644 --- a/docs/models/operations/getprojectslinkprojectsresponsedeployhooks.md +++ b/docs/models/getprojectslinkprojectsresponsedeployhooks.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { GetProjectsLinkProjectsResponseDeployHooks } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsLinkProjectsResponseDeployHooks } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsLinkProjectsResponseDeployHooks = { id: "", name: "", ref: "", - url: "https://late-utilization.name", + url: "https://well-documented-minister.net/", }; ``` diff --git a/docs/models/operations/getprojectslinkprojectsresponsetype.md b/docs/models/getprojectslinkprojectsresponsetype.md similarity index 87% rename from docs/models/operations/getprojectslinkprojectsresponsetype.md rename to docs/models/getprojectslinkprojectsresponsetype.md index b1f6ec32..b5189ce2 100644 --- a/docs/models/operations/getprojectslinkprojectsresponsetype.md +++ b/docs/models/getprojectslinkprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsLinkProjectsResponseType } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsLinkProjectsResponseType } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsLinkProjectsResponseType = "bitbucket"; ``` diff --git a/docs/models/operations/getprojectslinkprojectstype.md b/docs/models/getprojectslinkprojectstype.md similarity index 88% rename from docs/models/operations/getprojectslinkprojectstype.md rename to docs/models/getprojectslinkprojectstype.md index f8fe1c54..b9521cb8 100644 --- a/docs/models/operations/getprojectslinkprojectstype.md +++ b/docs/models/getprojectslinkprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsLinkProjectsType } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsLinkProjectsType } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsLinkProjectsType = "gitlab"; ``` diff --git a/docs/models/getprojectslinktype.md b/docs/models/getprojectslinktype.md new file mode 100644 index 00000000..a52c5cf6 --- /dev/null +++ b/docs/models/getprojectslinktype.md @@ -0,0 +1,15 @@ +# GetProjectsLinkType + +## Example Usage + +```typescript +import { GetProjectsLinkType } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsLinkType = "github"; +``` + +## Values + +```typescript +"github" +``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsmicrofrontends.md b/docs/models/getprojectsmicrofrontends.md similarity index 98% rename from docs/models/operations/getprojectsmicrofrontends.md rename to docs/models/getprojectsmicrofrontends.md index fbb2d8a4..26d31df0 100644 --- a/docs/models/operations/getprojectsmicrofrontends.md +++ b/docs/models/getprojectsmicrofrontends.md @@ -3,10 +3,10 @@ ## Example Usage ```typescript -import { GetProjectsMicrofrontends } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsMicrofrontends } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsMicrofrontends = { - updatedAt: 1310.55, + updatedAt: 120.36, groupIds: [ "", ], diff --git a/docs/models/getprojectsmissing.md b/docs/models/getprojectsmissing.md new file mode 100644 index 00000000..0bb22418 --- /dev/null +++ b/docs/models/getprojectsmissing.md @@ -0,0 +1,19 @@ +# GetProjectsMissing + +## Example Usage + +```typescript +import { GetProjectsMissing } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsMissing = { + type: "header", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType](../models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecurityfirewallroutestype.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *models.GetProjectsProjectsValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsmitigate.md b/docs/models/getprojectsmitigate.md new file mode 100644 index 00000000..479cc6aa --- /dev/null +++ b/docs/models/getprojectsmitigate.md @@ -0,0 +1,21 @@ +# GetProjectsMitigate + +## Example Usage + +```typescript +import { GetProjectsMitigate } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsMitigate = { + action: "redirect", + ruleId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `action` | [models.GetProjectsAction](../models/getprojectsaction.md) | :heavy_check_mark: | N/A | +| `ruleId` | *string* | :heavy_check_mark: | N/A | +| `ttl` | *number* | :heavy_minus_sign: | N/A | +| `erl` | [models.GetProjectsErl](../models/getprojectserl.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsnodeversion.md b/docs/models/getprojectsnodeversion.md new file mode 100644 index 00000000..108f4d59 --- /dev/null +++ b/docs/models/getprojectsnodeversion.md @@ -0,0 +1,15 @@ +# GetProjectsNodeVersion + +## Example Usage + +```typescript +import { GetProjectsNodeVersion } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsNodeVersion = "22.x"; +``` + +## Values + +```typescript +"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x" +``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsoidctokenclaims.md b/docs/models/getprojectsoidctokenclaims.md similarity index 93% rename from docs/models/operations/getprojectsoidctokenclaims.md rename to docs/models/getprojectsoidctokenclaims.md index 9858c00f..dd42199e 100644 --- a/docs/models/operations/getprojectsoidctokenclaims.md +++ b/docs/models/getprojectsoidctokenclaims.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsOidcTokenClaims } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsOidcTokenClaims } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsOidcTokenClaims = { iss: "", diff --git a/docs/models/getprojectsoidctokenconfig.md b/docs/models/getprojectsoidctokenconfig.md new file mode 100644 index 00000000..7acb49e9 --- /dev/null +++ b/docs/models/getprojectsoidctokenconfig.md @@ -0,0 +1,18 @@ +# GetProjectsOidcTokenConfig + +## Example Usage + +```typescript +import { GetProjectsOidcTokenConfig } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsOidcTokenConfig = { + enabled: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `issuerMode` | [models.GetProjectsIssuerMode](../models/getprojectsissuermode.md) | :heavy_minus_sign: | - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` | \ No newline at end of file diff --git a/docs/models/getprojectsoptionsallowlist.md b/docs/models/getprojectsoptionsallowlist.md new file mode 100644 index 00000000..c3d28ec5 --- /dev/null +++ b/docs/models/getprojectsoptionsallowlist.md @@ -0,0 +1,21 @@ +# GetProjectsOptionsAllowlist + +## Example Usage + +```typescript +import { GetProjectsOptionsAllowlist } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsOptionsAllowlist = { + paths: [ + { + value: "", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `paths` | [models.GetProjectsPaths](../models/getprojectspaths.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectspasswordprotection.md b/docs/models/getprojectspasswordprotection.md similarity index 91% rename from docs/models/operations/getprojectspasswordprotection.md rename to docs/models/getprojectspasswordprotection.md index b9196a70..f3c13d87 100644 --- a/docs/models/operations/getprojectspasswordprotection.md +++ b/docs/models/getprojectspasswordprotection.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsPasswordProtection } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsPasswordProtection } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsPasswordProtection = {}; ``` diff --git a/docs/models/operations/getprojectspaths.md b/docs/models/getprojectspaths.md similarity index 82% rename from docs/models/operations/getprojectspaths.md rename to docs/models/getprojectspaths.md index 580f8ca9..9b7f0d39 100644 --- a/docs/models/operations/getprojectspaths.md +++ b/docs/models/getprojectspaths.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsPaths } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsPaths } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsPaths = { value: "", diff --git a/docs/models/getprojectspermissions.md b/docs/models/getprojectspermissions.md new file mode 100644 index 00000000..80d7146d --- /dev/null +++ b/docs/models/getprojectspermissions.md @@ -0,0 +1,196 @@ +# GetProjectsPermissions + +## Example Usage + +```typescript +import { GetProjectsPermissions } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsPermissions = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `accessGroup` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `aliasGlobal` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `analyticsSampling` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `analyticsUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `auditLog` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingAddress` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingInformation` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingInvoice` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingInvoiceEmailRecipient` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingInvoiceLanguage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingPlan` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingPurchaseOrder` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingTaxId` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `blob` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `budget` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `cacheArtifact` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `cacheArtifactUsageEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `codeChecks` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `concurrentBuilds` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `connect` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `connectConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domain` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainAcceptDelegation` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainAuthCodes` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainCertificate` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainCheckConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainMove` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainPurchase` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainRecord` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainTransferIn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `event` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `ownEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sensitiveEnvironmentVariablePolicy` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `fileUpload` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `gitRepository` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `ipBlocking` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationAccount` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationProjects` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationVercelConfigurationOverride` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationRole` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResource` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResourceSecrets` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationDeploymentAction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceInstallationMember` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceBillingData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceInvoice` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `jobGlobal` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `logDrain` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoring` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringQuery` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringChart` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDeploymentFailed` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainExpire` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainMoved` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainPurchase` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainRenewal` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainUnverified` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationMonitoringAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationPaymentFailed` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationUsageAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationCustomerBudget` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationStatementOfReasons` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `oauth2Connection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `openTelemetryEndpoint` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `paymentMethod` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `permissions` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `postgres` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `previewDeploymentSuffix` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `proTrialOnboarding` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sharedEnvVars` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sharedEnvVarsProduction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `space` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `spaceRun` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `passwordProtectionInvoiceItem` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `rateLimit` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `redis` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `repository` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `remoteCaching` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `samlConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `secret` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `redisStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `blobStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `postgresStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResourceReplCommand` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `storeTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `supportCase` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `supportCaseComment` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `dataCacheBillingSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `team` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamAccessRequest` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamFellowMembership` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamGitExclusivity` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamInvite` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamInviteCode` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamJoin` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamMicrofrontends` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamOwnMembership` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamOwnMembershipDisconnectSAML` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `token` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `usage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `usageCycle` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `user` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `userConnection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `vpcPeeringConnection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webAnalyticsPlan` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webAuthn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `edgeConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `edgeConfigItem` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `edgeConfigSchema` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `edgeConfigToken` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webhook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webhookEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `endpointVerification` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTransferIn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `oauth2Application` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `aliasProject` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `aliasProtectionBypass` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `productionAliasProtectionBypass` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `connectConfigurationLink` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `dataCacheNamespace` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deployment` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentCheck` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentCheckPreview` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentCheckReRunFromProductionBranch` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentProductionGit` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentV0` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentPreview` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentPrivate` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentPromote` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentRollback` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `environments` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `logs` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `logsPreset` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `passwordProtection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `optionsAllowlist` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `job` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `project` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectFromV0` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectAccessGroup` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectAnalyticsSampling` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDeploymentHook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDomain` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDomainMove` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDomainCheckConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectEnvVars` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectEnvVarsProduction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectEnvVarsUnownedByIntegration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectFlags` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectId` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectIntegrationConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectLink` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectMember` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectMonitoring` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectPermissions` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectProductionBranch` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTransferOut` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectProtectionBypass` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectAnalyticsUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectSupportCase` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectSupportCaseComment` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDeploymentExpiration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTier` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `seawallConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `skewProtection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `analytics` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `trustedIps` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webAnalytics` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sharedEnvVarConnection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sonar` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsplan.md b/docs/models/getprojectsplan.md new file mode 100644 index 00000000..f5f96ee6 --- /dev/null +++ b/docs/models/getprojectsplan.md @@ -0,0 +1,15 @@ +# GetProjectsPlan + +## Example Usage + +```typescript +import { GetProjectsPlan } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsPlan = "enterprise"; +``` + +## Values + +```typescript +"pro" | "enterprise" | "hobby" +``` \ No newline at end of file diff --git a/docs/models/getprojectsprojects.md b/docs/models/getprojectsprojects.md new file mode 100644 index 00000000..55e80d11 --- /dev/null +++ b/docs/models/getprojectsprojects.md @@ -0,0 +1,144 @@ +# GetProjectsProjects + +## Example Usage + +```typescript +import { GetProjectsProjects } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsProjects = { + accountId: "", + crons: { + enabledAt: 5922.30, + disabledAt: 8967.61, + updatedAt: 4067.33, + deploymentId: "", + definitions: [ + { + host: "vercel.com", + path: "/api/crons/sync-something?hello=world", + schedule: "0 0 * * *", + }, + ], + }, + directoryListing: false, + id: "", + latestDeployments: [ + { + id: "", + createdAt: 5520.78, + createdIn: "", + creator: { + email: "Jacklyn_Franey@gmail.com", + uid: "", + username: "Judy_Hartmann86", + }, + deploymentHostname: "", + name: "", + plan: "pro", + previewCommentsEnabled: false, + private: false, + readyState: "INITIALIZING", + type: "LAMBDAS", + url: "https://guilty-relative.net/", + userId: "", + }, + ], + name: "", + nodeVersion: "14.x", + targets: { + "key": { + id: "", + createdAt: 7105.28, + createdIn: "", + creator: { + email: "Evangeline_Thiel28@gmail.com", + uid: "", + username: "Mercedes_Hintz92", + }, + deploymentHostname: "", + name: "", + plan: "enterprise", + previewCommentsEnabled: false, + private: false, + readyState: "BUILDING", + type: "LAMBDAS", + url: "https://portly-dwell.biz/", + userId: "", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `accountId` | *string* | :heavy_check_mark: | N/A | +| `analytics` | [models.GetProjectsAnalytics](../models/getprojectsanalytics.md) | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.GetProjectsSpeedInsights](../models/getprojectsspeedinsights.md) | :heavy_minus_sign: | N/A | +| `autoExposeSystemEnvs` | *boolean* | :heavy_minus_sign: | N/A | +| `autoAssignCustomDomains` | *boolean* | :heavy_minus_sign: | N/A | +| `autoAssignCustomDomainsUpdatedBy` | *string* | :heavy_minus_sign: | N/A | +| `buildCommand` | *string* | :heavy_minus_sign: | N/A | +| `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | +| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | +| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `customerSupportCodeVisibility` | *boolean* | :heavy_minus_sign: | N/A | +| `crons` | [models.GetProjectsCrons](../models/getprojectscrons.md) | :heavy_minus_sign: | N/A | +| `dataCache` | [models.GetProjectsDataCache](../models/getprojectsdatacache.md) | :heavy_minus_sign: | N/A | +| `deploymentExpiration` | [models.GetProjectsDeploymentExpiration](../models/getprojectsdeploymentexpiration.md) | :heavy_minus_sign: | N/A | +| `devCommand` | *string* | :heavy_minus_sign: | N/A | +| `directoryListing` | *boolean* | :heavy_check_mark: | N/A | +| `installCommand` | *string* | :heavy_minus_sign: | N/A | +| `env` | [models.GetProjectsEnv](../models/getprojectsenv.md)[] | :heavy_minus_sign: | N/A | +| `customEnvironments` | [models.GetProjectsCustomEnvironments](../models/getprojectscustomenvironments.md)[] | :heavy_minus_sign: | N/A | +| `framework` | [models.GetProjectsFramework](../models/getprojectsframework.md) | :heavy_minus_sign: | N/A | +| `gitForkProtection` | *boolean* | :heavy_minus_sign: | N/A | +| `gitLFS` | *boolean* | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `ipBuckets` | [models.GetProjectsIpBuckets](../models/getprojectsipbuckets.md)[] | :heavy_minus_sign: | N/A | +| `latestDeployments` | [models.GetProjectsLatestDeployments](../models/getprojectslatestdeployments.md)[] | :heavy_minus_sign: | N/A | +| `link` | *models.GetProjectsLink* | :heavy_minus_sign: | N/A | +| `microfrontends` | [models.GetProjectsMicrofrontends](../models/getprojectsmicrofrontends.md) | :heavy_minus_sign: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `nodeVersion` | [models.GetProjectsNodeVersion](../models/getprojectsnodeversion.md) | :heavy_check_mark: | N/A | +| `optionsAllowlist` | [models.GetProjectsOptionsAllowlist](../models/getprojectsoptionsallowlist.md) | :heavy_minus_sign: | N/A | +| `outputDirectory` | *string* | :heavy_minus_sign: | N/A | +| `passiveConnectConfigurationId` | *string* | :heavy_minus_sign: | N/A | +| `passwordProtection` | [models.GetProjectsPasswordProtection](../models/getprojectspasswordprotection.md) | :heavy_minus_sign: | N/A | +| `productionDeploymentsFastLane` | *boolean* | :heavy_minus_sign: | N/A | +| `publicSource` | *boolean* | :heavy_minus_sign: | N/A | +| `resourceConfig` | [models.GetProjectsResourceConfig](../models/getprojectsresourceconfig.md) | :heavy_minus_sign: | N/A | +| `rootDirectory` | *string* | :heavy_minus_sign: | N/A | +| `serverlessFunctionRegion` | *string* | :heavy_minus_sign: | N/A | +| `serverlessFunctionZeroConfigFailover` | *boolean* | :heavy_minus_sign: | N/A | +| `skewProtectionBoundaryAt` | *number* | :heavy_minus_sign: | N/A | +| `skewProtectionMaxAge` | *number* | :heavy_minus_sign: | N/A | +| `skipGitConnectDuringLink` | *boolean* | :heavy_minus_sign: | N/A | +| `sourceFilesOutsideRootDirectory` | *boolean* | :heavy_minus_sign: | N/A | +| `enableAffectedProjectsDeployments` | *boolean* | :heavy_minus_sign: | N/A | +| `ssoProtection` | [models.GetProjectsSsoProtection](../models/getprojectsssoprotection.md) | :heavy_minus_sign: | N/A | +| `targets` | Record | :heavy_minus_sign: | N/A | +| `transferCompletedAt` | *number* | :heavy_minus_sign: | N/A | +| `transferStartedAt` | *number* | :heavy_minus_sign: | N/A | +| `transferToAccountId` | *string* | :heavy_minus_sign: | N/A | +| `transferredFromAccountId` | *string* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `live` | *boolean* | :heavy_minus_sign: | N/A | +| `enablePreviewFeedback` | *boolean* | :heavy_minus_sign: | N/A | +| `enableProductionFeedback` | *boolean* | :heavy_minus_sign: | N/A | +| `permissions` | [models.GetProjectsPermissions](../models/getprojectspermissions.md) | :heavy_minus_sign: | N/A | +| `lastRollbackTarget` | [models.GetProjectsLastRollbackTarget](../models/getprojectslastrollbacktarget.md) | :heavy_minus_sign: | N/A | +| `lastAliasRequest` | [models.GetProjectsLastAliasRequest](../models/getprojectslastaliasrequest.md) | :heavy_minus_sign: | N/A | +| `hasFloatingAliases` | *boolean* | :heavy_minus_sign: | N/A | +| `protectionBypass` | Record | :heavy_minus_sign: | N/A | +| `hasActiveBranches` | *boolean* | :heavy_minus_sign: | N/A | +| `trustedIps` | *models.GetProjectsTrustedIps* | :heavy_minus_sign: | N/A | +| `gitComments` | [models.GetProjectsGitComments](../models/getprojectsgitcomments.md) | :heavy_minus_sign: | N/A | +| `paused` | *boolean* | :heavy_minus_sign: | N/A | +| `concurrencyBucketName` | *string* | :heavy_minus_sign: | N/A | +| `webAnalytics` | [models.GetProjectsWebAnalytics](../models/getprojectswebanalytics.md) | :heavy_minus_sign: | N/A | +| `security` | [models.GetProjectsSecurity](../models/getprojectssecurity.md) | :heavy_minus_sign: | N/A | +| `oidcTokenConfig` | [models.GetProjectsOidcTokenConfig](../models/getprojectsoidctokenconfig.md) | :heavy_minus_sign: | N/A | +| `tier` | [models.GetProjectsTier](../models/getprojectstier.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsprojectsaliasassigned.md b/docs/models/getprojectsprojectsaliasassigned.md similarity index 83% rename from docs/models/operations/getprojectsprojectsaliasassigned.md rename to docs/models/getprojectsprojectsaliasassigned.md index 14e6c1de..357bebc7 100644 --- a/docs/models/operations/getprojectsprojectsaliasassigned.md +++ b/docs/models/getprojectsprojectsaliasassigned.md @@ -6,7 +6,7 @@ ### `number` ```typescript -const value: number = 9903.45; +const value: number = 4090.54; ``` ### `boolean` diff --git a/docs/models/operations/getprojectsprojectsaliaserror.md b/docs/models/getprojectsprojectsaliaserror.md similarity index 95% rename from docs/models/operations/getprojectsprojectsaliaserror.md rename to docs/models/getprojectsprojectsaliaserror.md index 611265fb..07ac3750 100644 --- a/docs/models/operations/getprojectsprojectsaliaserror.md +++ b/docs/models/getprojectsprojectsaliaserror.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsProjectsAliasError } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsProjectsAliasError } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsProjectsAliasError = { code: "", diff --git a/docs/models/getprojectsprojectsbranchmatcher.md b/docs/models/getprojectsprojectsbranchmatcher.md new file mode 100644 index 00000000..9aa95d28 --- /dev/null +++ b/docs/models/getprojectsprojectsbranchmatcher.md @@ -0,0 +1,19 @@ +# GetProjectsProjectsBranchMatcher + +## Example Usage + +```typescript +import { GetProjectsProjectsBranchMatcher } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsProjectsBranchMatcher = { + type: "startsWith", + pattern: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetProjectsProjectsResponse200ApplicationJSONType](../models/getprojectsprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `pattern` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsprojectsbuilds.md b/docs/models/getprojectsprojectsbuilds.md similarity index 86% rename from docs/models/operations/getprojectsprojectsbuilds.md rename to docs/models/getprojectsprojectsbuilds.md index a425c88d..c3a397f9 100644 --- a/docs/models/operations/getprojectsprojectsbuilds.md +++ b/docs/models/getprojectsprojectsbuilds.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsProjectsBuilds } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsProjectsBuilds } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsProjectsBuilds = { use: "", diff --git a/docs/models/getprojectsprojectschecksconclusion.md b/docs/models/getprojectsprojectschecksconclusion.md new file mode 100644 index 00000000..96d2f7f5 --- /dev/null +++ b/docs/models/getprojectsprojectschecksconclusion.md @@ -0,0 +1,15 @@ +# GetProjectsProjectsChecksConclusion + +## Example Usage + +```typescript +import { GetProjectsProjectsChecksConclusion } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsProjectsChecksConclusion = "failed"; +``` + +## Values + +```typescript +"succeeded" | "failed" | "skipped" | "canceled" +``` \ No newline at end of file diff --git a/docs/models/getprojectsprojectschecksstate.md b/docs/models/getprojectsprojectschecksstate.md new file mode 100644 index 00000000..c8964907 --- /dev/null +++ b/docs/models/getprojectsprojectschecksstate.md @@ -0,0 +1,15 @@ +# GetProjectsProjectsChecksState + +## Example Usage + +```typescript +import { GetProjectsProjectsChecksState } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsProjectsChecksState = "completed"; +``` + +## Values + +```typescript +"registered" | "running" | "completed" +``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsprojectscreator.md b/docs/models/getprojectsprojectscreator.md similarity index 82% rename from docs/models/operations/getprojectsprojectscreator.md rename to docs/models/getprojectsprojectscreator.md index c0d268c4..25376036 100644 --- a/docs/models/operations/getprojectsprojectscreator.md +++ b/docs/models/getprojectsprojectscreator.md @@ -3,12 +3,12 @@ ## Example Usage ```typescript -import { GetProjectsProjectsCreator } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsProjectsCreator } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsProjectsCreator = { - email: "Anjali.Green66@hotmail.com", + email: "Otis_Flatley@gmail.com", uid: "", - username: "Mandy28", + username: "Joseph.Luettgen", }; ``` diff --git a/docs/models/operations/getprojectsprojectsoidctokenclaims.md b/docs/models/getprojectsprojectsoidctokenclaims.md similarity index 97% rename from docs/models/operations/getprojectsprojectsoidctokenclaims.md rename to docs/models/getprojectsprojectsoidctokenclaims.md index 1ed67d8a..32cb8e84 100644 --- a/docs/models/operations/getprojectsprojectsoidctokenclaims.md +++ b/docs/models/getprojectsprojectsoidctokenclaims.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsProjectsOidcTokenClaims } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsProjectsOidcTokenClaims } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsProjectsOidcTokenClaims = { iss: "", diff --git a/docs/models/getprojectsprojectsplan.md b/docs/models/getprojectsprojectsplan.md new file mode 100644 index 00000000..8dfb3151 --- /dev/null +++ b/docs/models/getprojectsprojectsplan.md @@ -0,0 +1,15 @@ +# GetProjectsProjectsPlan + +## Example Usage + +```typescript +import { GetProjectsProjectsPlan } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsProjectsPlan = "enterprise"; +``` + +## Values + +```typescript +"pro" | "enterprise" | "hobby" +``` \ No newline at end of file diff --git a/docs/models/getprojectsprojectsreadystate.md b/docs/models/getprojectsprojectsreadystate.md new file mode 100644 index 00000000..63bfd48a --- /dev/null +++ b/docs/models/getprojectsprojectsreadystate.md @@ -0,0 +1,15 @@ +# GetProjectsProjectsReadyState + +## Example Usage + +```typescript +import { GetProjectsProjectsReadyState } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsProjectsReadyState = "READY"; +``` + +## Values + +```typescript +"BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED" +``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsprojectsreadysubstate.md b/docs/models/getprojectsprojectsreadysubstate.md similarity index 88% rename from docs/models/operations/getprojectsprojectsreadysubstate.md rename to docs/models/getprojectsprojectsreadysubstate.md index d4eeaf81..9f0c9f2c 100644 --- a/docs/models/operations/getprojectsprojectsreadysubstate.md +++ b/docs/models/getprojectsprojectsreadysubstate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsProjectsReadySubstate } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsProjectsReadySubstate } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsProjectsReadySubstate = "PROMOTED"; ``` diff --git a/docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecurityfirewallroutestype.md b/docs/models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecurityfirewallroutestype.md similarity index 77% rename from docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecurityfirewallroutestype.md rename to docs/models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecurityfirewallroutestype.md index 10557483..556a506b 100644 --- a/docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecurityfirewallroutestype.md +++ b/docs/models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecurityfirewallroutestype.md @@ -5,7 +5,7 @@ ```typescript import { GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType, -} from "@vercel/sdk/models/operations/getprojects.js"; +} from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType = @@ -15,5 +15,5 @@ let value: ## Values ```typescript -"path" | "host" | "method" | "header" | "cookie" | "query" | "ip_address" | "protocol" | "scheme" | "environment" | "region" +"path" | "host" | "method" | "header" | "cookie" | "query" | "ip_address" | "protocol" | "scheme" | "environment" | "region" | "initial_request_path" ``` \ No newline at end of file diff --git a/docs/models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecuritytype.md b/docs/models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecuritytype.md new file mode 100644 index 00000000..8ea02e6d --- /dev/null +++ b/docs/models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecuritytype.md @@ -0,0 +1,17 @@ +# GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType + +## Example Usage + +```typescript +import { GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType } from "@vercel/sdk/models/getprojectsop.js"; + +let value: + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType = + "initial_request_path"; +``` + +## Values + +```typescript +"path" | "host" | "method" | "header" | "cookie" | "query" | "ip_address" | "protocol" | "scheme" | "environment" | "region" | "initial_request_path" +``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodyprojectstype.md b/docs/models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectstype.md similarity index 82% rename from docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodyprojectstype.md rename to docs/models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectstype.md index 9c9224fa..ec1de392 100644 --- a/docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodyprojectstype.md +++ b/docs/models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType = diff --git a/docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodytype.md b/docs/models/getprojectsprojectsresponse200applicationjsonresponsebodytype.md similarity index 79% rename from docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodytype.md rename to docs/models/getprojectsprojectsresponse200applicationjsonresponsebodytype.md index 4b20658f..bbf27eeb 100644 --- a/docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodytype.md +++ b/docs/models/getprojectsprojectsresponse200applicationjsonresponsebodytype.md @@ -3,10 +3,10 @@ ## Example Usage ```typescript -import { GetProjectsProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsProjectsResponse200ApplicationJSONResponseBodyType = - "startsWith"; + "endsWith"; ``` ## Values diff --git a/docs/models/operations/getprojectsprojectsresponse200applicationjsontype.md b/docs/models/getprojectsprojectsresponse200applicationjsontype.md similarity index 81% rename from docs/models/operations/getprojectsprojectsresponse200applicationjsontype.md rename to docs/models/getprojectsprojectsresponse200applicationjsontype.md index eebb472e..2f07df1e 100644 --- a/docs/models/operations/getprojectsprojectsresponse200applicationjsontype.md +++ b/docs/models/getprojectsprojectsresponse200applicationjsontype.md @@ -3,9 +3,9 @@ ## Example Usage ```typescript -import { GetProjectsProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/getprojectsop.js"; -let value: GetProjectsProjectsResponse200ApplicationJSONType = "startsWith"; +let value: GetProjectsProjectsResponse200ApplicationJSONType = "endsWith"; ``` ## Values diff --git a/docs/models/operations/getprojectsprojectsresponse200type.md b/docs/models/getprojectsprojectsresponse200type.md similarity index 87% rename from docs/models/operations/getprojectsprojectsresponse200type.md rename to docs/models/getprojectsprojectsresponse200type.md index 1d04a16c..16fe5553 100644 --- a/docs/models/operations/getprojectsprojectsresponse200type.md +++ b/docs/models/getprojectsprojectsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsProjectsResponse200Type } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsProjectsResponse200Type } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsProjectsResponse200Type = "promote"; ``` diff --git a/docs/models/operations/getprojectsprojectsresponsetype.md b/docs/models/getprojectsprojectsresponsetype.md similarity index 87% rename from docs/models/operations/getprojectsprojectsresponsetype.md rename to docs/models/getprojectsprojectsresponsetype.md index 74fa87c6..70ad12f0 100644 --- a/docs/models/operations/getprojectsprojectsresponsetype.md +++ b/docs/models/getprojectsprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsProjectsResponseType } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsProjectsResponseType } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsProjectsResponseType = "LAMBDAS"; ``` diff --git a/docs/models/getprojectsprojectstype.md b/docs/models/getprojectsprojectstype.md new file mode 100644 index 00000000..b19bdb5e --- /dev/null +++ b/docs/models/getprojectsprojectstype.md @@ -0,0 +1,15 @@ +# GetProjectsProjectsType + +## Example Usage + +```typescript +import { GetProjectsProjectsType } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsProjectsType = "LAMBDAS"; +``` + +## Values + +```typescript +"LAMBDAS" +``` \ No newline at end of file diff --git a/docs/models/getprojectsprojectsvalue.md b/docs/models/getprojectsprojectsvalue.md new file mode 100644 index 00000000..a816eea0 --- /dev/null +++ b/docs/models/getprojectsprojectsvalue.md @@ -0,0 +1,17 @@ +# GetProjectsProjectsValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.GetProjectsValueProjects2` + +```typescript +const value: models.GetProjectsValueProjects2 = {}; +``` + diff --git a/docs/models/getprojectsprotectionbypass.md b/docs/models/getprojectsprotectionbypass.md new file mode 100644 index 00000000..3ea94aa0 --- /dev/null +++ b/docs/models/getprojectsprotectionbypass.md @@ -0,0 +1,21 @@ +# GetProjectsProtectionBypass + +## Example Usage + +```typescript +import { GetProjectsProtectionBypass } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsProtectionBypass = { + createdAt: 8391.89, + createdBy: "", + scope: "automation-bypass", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdBy` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.GetProjectsScope](../models/getprojectsscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsreadystate.md b/docs/models/getprojectsreadystate.md new file mode 100644 index 00000000..5a4ef9ca --- /dev/null +++ b/docs/models/getprojectsreadystate.md @@ -0,0 +1,15 @@ +# GetProjectsReadyState + +## Example Usage + +```typescript +import { GetProjectsReadyState } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsReadyState = "CANCELED"; +``` + +## Values + +```typescript +"BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED" +``` \ No newline at end of file diff --git a/docs/models/getprojectsreadysubstate.md b/docs/models/getprojectsreadysubstate.md new file mode 100644 index 00000000..84265e53 --- /dev/null +++ b/docs/models/getprojectsreadysubstate.md @@ -0,0 +1,15 @@ +# GetProjectsReadySubstate + +## Example Usage + +```typescript +import { GetProjectsReadySubstate } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsReadySubstate = "STAGED"; +``` + +## Values + +```typescript +"STAGED" | "PROMOTED" +``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsrequest.md b/docs/models/getprojectsrequest.md similarity index 97% rename from docs/models/operations/getprojectsrequest.md rename to docs/models/getprojectsrequest.md index 389b1ebc..f59c30be 100644 --- a/docs/models/operations/getprojectsrequest.md +++ b/docs/models/getprojectsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsRequest } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsRequest } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsRequest = { gitForkProtection: "1", @@ -16,7 +16,7 @@ let value: GetProjectsRequest = { | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | | `from` | *string* | :heavy_minus_sign: | Query only projects updated after the given timestamp | | -| `gitForkProtection` | [operations.GitForkProtection](../../models/operations/gitforkprotection.md) | :heavy_minus_sign: | Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed | 1 | +| `gitForkProtection` | [models.GitForkProtection](../models/gitforkprotection.md) | :heavy_minus_sign: | Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed | 1 | | `limit` | *string* | :heavy_minus_sign: | Limit the number of projects returned | | | `search` | *string* | :heavy_minus_sign: | Search projects by the name field | | | `repo` | *string* | :heavy_minus_sign: | Filter results by repo. Also used for project count | | diff --git a/docs/models/getprojectsresourceconfig.md b/docs/models/getprojectsresourceconfig.md new file mode 100644 index 00000000..81949953 --- /dev/null +++ b/docs/models/getprojectsresourceconfig.md @@ -0,0 +1,18 @@ +# GetProjectsResourceConfig + +## Example Usage + +```typescript +import { GetProjectsResourceConfig } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsResourceConfig = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `functionDefaultTimeout` | *number* | :heavy_minus_sign: | N/A | +| `functionDefaultMemoryType` | [models.GetProjectsFunctionDefaultMemoryType](../models/getprojectsfunctiondefaultmemorytype.md) | :heavy_minus_sign: | N/A | +| `allowServerlessConcurrency` | *boolean* | :heavy_minus_sign: | N/A | +| `elasticConcurrencyEnabled` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsresponsebody.md b/docs/models/getprojectsresponsebody.md similarity index 92% rename from docs/models/operations/getprojectsresponsebody.md rename to docs/models/getprojectsresponsebody.md index e880af71..cdd24ad5 100644 --- a/docs/models/operations/getprojectsresponsebody.md +++ b/docs/models/getprojectsresponsebody.md @@ -5,7 +5,7 @@ The paginated list of projects ## Example Usage ```typescript -import { GetProjectsResponseBody } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsResponseBody } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsResponseBody = { projects: [ @@ -84,5 +84,5 @@ let value: GetProjectsResponseBody = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `projects` | [operations.GetProjectsProjects](../../models/operations/getprojectsprojects.md)[] | :heavy_check_mark: | N/A | -| `pagination` | [components.Pagination](../../models/components/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file +| `projects` | [models.GetProjectsProjects](../models/getprojectsprojects.md)[] | :heavy_check_mark: | N/A | +| `pagination` | [models.Pagination](../models/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file diff --git a/docs/models/getprojectsscope.md b/docs/models/getprojectsscope.md new file mode 100644 index 00000000..43fec42c --- /dev/null +++ b/docs/models/getprojectsscope.md @@ -0,0 +1,15 @@ +# GetProjectsScope + +## Example Usage + +```typescript +import { GetProjectsScope } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsScope = "automation-bypass"; +``` + +## Values + +```typescript +"automation-bypass" +``` \ No newline at end of file diff --git a/docs/models/getprojectssecurity.md b/docs/models/getprojectssecurity.md new file mode 100644 index 00000000..ec19a1d0 --- /dev/null +++ b/docs/models/getprojectssecurity.md @@ -0,0 +1,25 @@ +# GetProjectsSecurity + +## Example Usage + +```typescript +import { GetProjectsSecurity } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsSecurity = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `attackModeEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `attackModeUpdatedAt` | *number* | :heavy_minus_sign: | N/A | +| `firewallEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `firewallUpdatedAt` | *number* | :heavy_minus_sign: | N/A | +| `attackModeActiveUntil` | *number* | :heavy_minus_sign: | N/A | +| `firewallConfigVersion` | *number* | :heavy_minus_sign: | N/A | +| `firewallRoutes` | [models.GetProjectsFirewallRoutes](../models/getprojectsfirewallroutes.md)[] | :heavy_minus_sign: | N/A | +| `firewallSeawallEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `ja3Enabled` | *boolean* | :heavy_minus_sign: | N/A | +| `ja4Enabled` | *boolean* | :heavy_minus_sign: | N/A | +| `firewallBypassIps` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsspeedinsights.md b/docs/models/getprojectsspeedinsights.md similarity index 90% rename from docs/models/operations/getprojectsspeedinsights.md rename to docs/models/getprojectsspeedinsights.md index f665b3e1..381876f4 100644 --- a/docs/models/operations/getprojectsspeedinsights.md +++ b/docs/models/getprojectsspeedinsights.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsSpeedInsights } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsSpeedInsights } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsSpeedInsights = { id: "", diff --git a/docs/models/getprojectssrc.md b/docs/models/getprojectssrc.md new file mode 100644 index 00000000..e48f1362 --- /dev/null +++ b/docs/models/getprojectssrc.md @@ -0,0 +1,17 @@ +# GetProjectsSrc + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.GetProjectsSrc2` + +```typescript +const value: models.GetProjectsSrc2 = {}; +``` + diff --git a/docs/models/operations/getprojectssrc2.md b/docs/models/getprojectssrc2.md similarity index 93% rename from docs/models/operations/getprojectssrc2.md rename to docs/models/getprojectssrc2.md index 75bf0017..e95aaf27 100644 --- a/docs/models/operations/getprojectssrc2.md +++ b/docs/models/getprojectssrc2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsSrc2 } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsSrc2 } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsSrc2 = {}; ``` diff --git a/docs/models/getprojectsssoprotection.md b/docs/models/getprojectsssoprotection.md new file mode 100644 index 00000000..bea43929 --- /dev/null +++ b/docs/models/getprojectsssoprotection.md @@ -0,0 +1,17 @@ +# GetProjectsSsoProtection + +## Example Usage + +```typescript +import { GetProjectsSsoProtection } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsSsoProtection = { + deploymentType: "prod_deployment_urls_and_all_previews", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `deploymentType` | [models.GetProjectsDeploymentType](../models/getprojectsdeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectstarget.md b/docs/models/getprojectstarget.md new file mode 100644 index 00000000..360f6fdb --- /dev/null +++ b/docs/models/getprojectstarget.md @@ -0,0 +1,19 @@ +# GetProjectsTarget + + +## Supported Types + +### `models.GetProjectsTarget1[]` + +```typescript +const value: models.GetProjectsTarget1[] = [ + "development", +]; +``` + +### `models.GetProjectsTarget2` + +```typescript +const value: models.GetProjectsTarget2 = "production"; +``` + diff --git a/docs/models/getprojectstarget1.md b/docs/models/getprojectstarget1.md new file mode 100644 index 00000000..729ce3e4 --- /dev/null +++ b/docs/models/getprojectstarget1.md @@ -0,0 +1,15 @@ +# GetProjectsTarget1 + +## Example Usage + +```typescript +import { GetProjectsTarget1 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsTarget1 = "development"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/getprojectstarget2.md b/docs/models/getprojectstarget2.md new file mode 100644 index 00000000..1dd4bef0 --- /dev/null +++ b/docs/models/getprojectstarget2.md @@ -0,0 +1,15 @@ +# GetProjectsTarget2 + +## Example Usage + +```typescript +import { GetProjectsTarget2 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsTarget2 = "development"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/getprojectstargets.md b/docs/models/getprojectstargets.md new file mode 100644 index 00000000..47c5e978 --- /dev/null +++ b/docs/models/getprojectstargets.md @@ -0,0 +1,68 @@ +# GetProjectsTargets + +## Example Usage + +```typescript +import { GetProjectsTargets } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsTargets = { + id: "", + createdAt: 460.07, + createdIn: "", + creator: { + email: "Faustino_Yost90@gmail.com", + uid: "", + username: "Zachariah23", + }, + deploymentHostname: "", + name: "", + plan: "pro", + previewCommentsEnabled: false, + private: false, + readyState: "READY", + type: "LAMBDAS", + url: "https://first-glider.info", + userId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `alias` | *string*[] | :heavy_minus_sign: | N/A | | +| `aliasAssigned` | *models.GetProjectsProjectsAliasAssigned* | :heavy_minus_sign: | N/A | | +| `aliasError` | [models.GetProjectsProjectsAliasError](../models/getprojectsprojectsaliaserror.md) | :heavy_minus_sign: | N/A | | +| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | +| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | +| `branchMatcher` | [models.GetProjectsProjectsBranchMatcher](../models/getprojectsprojectsbranchmatcher.md) | :heavy_minus_sign: | N/A | | +| `buildingAt` | *number* | :heavy_minus_sign: | N/A | | +| `builds` | [models.GetProjectsProjectsBuilds](../models/getprojectsprojectsbuilds.md)[] | :heavy_minus_sign: | N/A | | +| `checksConclusion` | [models.GetProjectsProjectsChecksConclusion](../models/getprojectsprojectschecksconclusion.md) | :heavy_minus_sign: | N/A | | +| `checksState` | [models.GetProjectsProjectsChecksState](../models/getprojectsprojectschecksstate.md) | :heavy_minus_sign: | N/A | | +| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | +| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | +| `createdAt` | *number* | :heavy_check_mark: | N/A | | +| `createdIn` | *string* | :heavy_check_mark: | N/A | | +| `creator` | [models.GetProjectsProjectsCreator](../models/getprojectsprojectscreator.md) | :heavy_check_mark: | N/A | | +| `deletedAt` | *number* | :heavy_minus_sign: | N/A | | +| `deploymentHostname` | *string* | :heavy_check_mark: | N/A | | +| `forced` | *boolean* | :heavy_minus_sign: | N/A | | +| `name` | *string* | :heavy_check_mark: | N/A | | +| `meta` | Record | :heavy_minus_sign: | N/A | | +| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | +| `oidcTokenClaims` | [models.GetProjectsProjectsOidcTokenClaims](../models/getprojectsprojectsoidctokenclaims.md) | :heavy_minus_sign: | N/A | | +| `plan` | [models.GetProjectsProjectsPlan](../models/getprojectsprojectsplan.md) | :heavy_check_mark: | N/A | | +| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | +| `private` | *boolean* | :heavy_check_mark: | N/A | | +| `readyAt` | *number* | :heavy_minus_sign: | N/A | | +| `readyState` | [models.GetProjectsProjectsReadyState](../models/getprojectsprojectsreadystate.md) | :heavy_check_mark: | N/A | | +| `readySubstate` | [models.GetProjectsProjectsReadySubstate](../models/getprojectsprojectsreadysubstate.md) | :heavy_minus_sign: | N/A | | +| `requestedAt` | *number* | :heavy_minus_sign: | N/A | | +| `target` | *string* | :heavy_minus_sign: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | | +| `type` | [models.GetProjectsProjectsResponseType](../models/getprojectsprojectsresponsetype.md) | :heavy_check_mark: | N/A | | +| `url` | *string* | :heavy_check_mark: | N/A | | +| `userId` | *string* | :heavy_check_mark: | N/A | | +| `withCache` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/getprojectstier.md b/docs/models/getprojectstier.md new file mode 100644 index 00000000..7623c7a7 --- /dev/null +++ b/docs/models/getprojectstier.md @@ -0,0 +1,15 @@ +# GetProjectsTier + +## Example Usage + +```typescript +import { GetProjectsTier } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsTier = "standard"; +``` + +## Values + +```typescript +"standard" | "advanced" | "critical" +``` \ No newline at end of file diff --git a/docs/models/getprojectstrustedips.md b/docs/models/getprojectstrustedips.md new file mode 100644 index 00000000..6f474697 --- /dev/null +++ b/docs/models/getprojectstrustedips.md @@ -0,0 +1,27 @@ +# GetProjectsTrustedIps + + +## Supported Types + +### `models.GetProjectsTrustedIps1` + +```typescript +const value: models.GetProjectsTrustedIps1 = { + deploymentType: "prod_deployment_urls_and_all_previews", + addresses: [ + { + value: "", + }, + ], + protectionMode: "exclusive", +}; +``` + +### `models.GetProjectsTrustedIps2` + +```typescript +const value: models.GetProjectsTrustedIps2 = { + deploymentType: "prod_deployment_urls_and_all_previews", +}; +``` + diff --git a/docs/models/getprojectstrustedips1.md b/docs/models/getprojectstrustedips1.md new file mode 100644 index 00000000..f72e82a4 --- /dev/null +++ b/docs/models/getprojectstrustedips1.md @@ -0,0 +1,25 @@ +# GetProjectsTrustedIps1 + +## Example Usage + +```typescript +import { GetProjectsTrustedIps1 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsTrustedIps1 = { + deploymentType: "prod_deployment_urls_and_all_previews", + addresses: [ + { + value: "", + }, + ], + protectionMode: "exclusive", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `deploymentType` | [models.GetProjectsTrustedIpsDeploymentType](../models/getprojectstrustedipsdeploymenttype.md) | :heavy_check_mark: | N/A | +| `addresses` | [models.GetProjectsTrustedIpsAddresses](../models/getprojectstrustedipsaddresses.md)[] | :heavy_check_mark: | N/A | +| `protectionMode` | [models.GetProjectsTrustedIpsProtectionMode](../models/getprojectstrustedipsprotectionmode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectstrustedips2.md b/docs/models/getprojectstrustedips2.md new file mode 100644 index 00000000..fc8fdb81 --- /dev/null +++ b/docs/models/getprojectstrustedips2.md @@ -0,0 +1,17 @@ +# GetProjectsTrustedIps2 + +## Example Usage + +```typescript +import { GetProjectsTrustedIps2 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsTrustedIps2 = { + deploymentType: "all", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `deploymentType` | [models.GetProjectsTrustedIpsProjectsDeploymentType](../models/getprojectstrustedipsprojectsdeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectstrustedipsaddresses.md b/docs/models/getprojectstrustedipsaddresses.md similarity index 94% rename from docs/models/operations/getprojectstrustedipsaddresses.md rename to docs/models/getprojectstrustedipsaddresses.md index 892bca59..5c969aa9 100644 --- a/docs/models/operations/getprojectstrustedipsaddresses.md +++ b/docs/models/getprojectstrustedipsaddresses.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsTrustedIpsAddresses } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsTrustedIpsAddresses } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsTrustedIpsAddresses = { value: "", diff --git a/docs/models/operations/getprojectstrustedipsdeploymenttype.md b/docs/models/getprojectstrustedipsdeploymenttype.md similarity index 90% rename from docs/models/operations/getprojectstrustedipsdeploymenttype.md rename to docs/models/getprojectstrustedipsdeploymenttype.md index 39036682..091aee9f 100644 --- a/docs/models/operations/getprojectstrustedipsdeploymenttype.md +++ b/docs/models/getprojectstrustedipsdeploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsTrustedIpsDeploymentType } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsTrustedIpsDeploymentType } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsTrustedIpsDeploymentType = "prod_deployment_urls_and_all_previews"; diff --git a/docs/models/operations/getprojectstrustedipsprojectsdeploymenttype.md b/docs/models/getprojectstrustedipsprojectsdeploymenttype.md similarity index 88% rename from docs/models/operations/getprojectstrustedipsprojectsdeploymenttype.md rename to docs/models/getprojectstrustedipsprojectsdeploymenttype.md index 6b7e687b..1e9ea132 100644 --- a/docs/models/operations/getprojectstrustedipsprojectsdeploymenttype.md +++ b/docs/models/getprojectstrustedipsprojectsdeploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsTrustedIpsProjectsDeploymentType } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsTrustedIpsProjectsDeploymentType } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsTrustedIpsProjectsDeploymentType = "production"; ``` diff --git a/docs/models/operations/getprojectstrustedipsprotectionmode.md b/docs/models/getprojectstrustedipsprotectionmode.md similarity index 87% rename from docs/models/operations/getprojectstrustedipsprotectionmode.md rename to docs/models/getprojectstrustedipsprotectionmode.md index f027ecce..44a6e2d7 100644 --- a/docs/models/operations/getprojectstrustedipsprotectionmode.md +++ b/docs/models/getprojectstrustedipsprotectionmode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsTrustedIpsProtectionMode } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsTrustedIpsProtectionMode } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsTrustedIpsProtectionMode = "exclusive"; ``` diff --git a/docs/models/getprojectstype.md b/docs/models/getprojectstype.md new file mode 100644 index 00000000..604ce252 --- /dev/null +++ b/docs/models/getprojectstype.md @@ -0,0 +1,15 @@ +# GetProjectsType + +## Example Usage + +```typescript +import { GetProjectsType } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsType = "encrypted"; +``` + +## Values + +```typescript +"system" | "encrypted" | "plain" | "sensitive" | "secret" +``` \ No newline at end of file diff --git a/docs/models/getprojectsvalue.md b/docs/models/getprojectsvalue.md new file mode 100644 index 00000000..c66a3a68 --- /dev/null +++ b/docs/models/getprojectsvalue.md @@ -0,0 +1,17 @@ +# GetProjectsValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.GetProjectsValue2` + +```typescript +const value: models.GetProjectsValue2 = {}; +``` + diff --git a/docs/models/operations/getprojectsvalue2.md b/docs/models/getprojectsvalue2.md similarity index 93% rename from docs/models/operations/getprojectsvalue2.md rename to docs/models/getprojectsvalue2.md index 19de99c8..83160fa9 100644 --- a/docs/models/operations/getprojectsvalue2.md +++ b/docs/models/getprojectsvalue2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsValue2 } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsValue2 } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsValue2 = {}; ``` diff --git a/docs/models/operations/getprojectsvalueprojects2.md b/docs/models/getprojectsvalueprojects2.md similarity index 93% rename from docs/models/operations/getprojectsvalueprojects2.md rename to docs/models/getprojectsvalueprojects2.md index c84d6e69..7ed72de4 100644 --- a/docs/models/operations/getprojectsvalueprojects2.md +++ b/docs/models/getprojectsvalueprojects2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsValueProjects2 } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsValueProjects2 } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsValueProjects2 = {}; ``` diff --git a/docs/models/operations/getprojectswebanalytics.md b/docs/models/getprojectswebanalytics.md similarity index 89% rename from docs/models/operations/getprojectswebanalytics.md rename to docs/models/getprojectswebanalytics.md index 2718902a..247889ae 100644 --- a/docs/models/operations/getprojectswebanalytics.md +++ b/docs/models/getprojectswebanalytics.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetProjectsWebAnalytics } from "@vercel/sdk/models/operations/getprojects.js"; +import { GetProjectsWebAnalytics } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsWebAnalytics = { id: "", diff --git a/docs/models/operations/getrecordsrequest.md b/docs/models/getrecordsrequest.md similarity index 96% rename from docs/models/operations/getrecordsrequest.md rename to docs/models/getrecordsrequest.md index 52fa5156..46f33cfb 100644 --- a/docs/models/operations/getrecordsrequest.md +++ b/docs/models/getrecordsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetRecordsRequest } from "@vercel/sdk/models/operations/getrecords.js"; +import { GetRecordsRequest } from "@vercel/sdk/models/getrecordsop.js"; let value: GetRecordsRequest = { domain: "example.com", diff --git a/docs/models/getrecordsresponsebody.md b/docs/models/getrecordsresponsebody.md new file mode 100644 index 00000000..e3955bcd --- /dev/null +++ b/docs/models/getrecordsresponsebody.md @@ -0,0 +1,60 @@ +# GetRecordsResponseBody + +Successful response retrieving a list of paginated DNS records. + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.GetRecordsResponseBody2` + +```typescript +const value: models.GetRecordsResponseBody2 = { + records: [ + { + id: "", + slug: "", + name: "", + type: "NS", + value: "", + creator: "", + created: 7998.65, + updated: 3109.30, + createdAt: 4984.35, + updatedAt: 7017.86, + }, + ], +}; +``` + +### `models.ResponseBody3` + +```typescript +const value: models.ResponseBody3 = { + records: [ + { + id: "", + slug: "", + name: "", + type: "AAAA", + value: "", + creator: "", + created: 1939.91, + updated: 4810.42, + createdAt: 2982.46, + updatedAt: 8625.59, + }, + ], + pagination: { + count: 20, + next: 1540095775951, + prev: 1540095775951, + }, +}; +``` + diff --git a/docs/models/getrecordsresponsebody2.md b/docs/models/getrecordsresponsebody2.md new file mode 100644 index 00000000..4816c903 --- /dev/null +++ b/docs/models/getrecordsresponsebody2.md @@ -0,0 +1,30 @@ +# GetRecordsResponseBody2 + +## Example Usage + +```typescript +import { GetRecordsResponseBody2 } from "@vercel/sdk/models/getrecordsop.js"; + +let value: GetRecordsResponseBody2 = { + records: [ + { + id: "", + slug: "", + name: "", + type: "TXT", + value: "", + creator: "", + created: 738.26, + updated: 4909.66, + createdAt: 7175.60, + updatedAt: 7381.52, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `records` | [models.Records](../models/records.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getrecordsresponsebodydnstype.md b/docs/models/getrecordsresponsebodydnstype.md similarity index 76% rename from docs/models/operations/getrecordsresponsebodydnstype.md rename to docs/models/getrecordsresponsebodydnstype.md index cc7b21a0..e89e849b 100644 --- a/docs/models/operations/getrecordsresponsebodydnstype.md +++ b/docs/models/getrecordsresponsebodydnstype.md @@ -3,9 +3,9 @@ ## Example Usage ```typescript -import { GetRecordsResponseBodyDnsType } from "@vercel/sdk/models/operations/getrecords.js"; +import { GetRecordsResponseBodyDnsType } from "@vercel/sdk/models/getrecordsop.js"; -let value: GetRecordsResponseBodyDnsType = "A"; +let value: GetRecordsResponseBodyDnsType = "CNAME"; ``` ## Values diff --git a/docs/models/getrecordsresponsebodytype.md b/docs/models/getrecordsresponsebodytype.md new file mode 100644 index 00000000..97f10b75 --- /dev/null +++ b/docs/models/getrecordsresponsebodytype.md @@ -0,0 +1,15 @@ +# GetRecordsResponseBodyType + +## Example Usage + +```typescript +import { GetRecordsResponseBodyType } from "@vercel/sdk/models/getrecordsop.js"; + +let value: GetRecordsResponseBodyType = "AAAA"; +``` + +## Values + +```typescript +"A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "HTTPS" | "MX" | "SRV" | "TXT" | "NS" +``` \ No newline at end of file diff --git a/docs/models/operations/getteamaccessrequestbitbucket.md b/docs/models/getteamaccessrequestbitbucket.md similarity index 92% rename from docs/models/operations/getteamaccessrequestbitbucket.md rename to docs/models/getteamaccessrequestbitbucket.md index 0120e3c5..99d0d88a 100644 --- a/docs/models/operations/getteamaccessrequestbitbucket.md +++ b/docs/models/getteamaccessrequestbitbucket.md @@ -5,7 +5,7 @@ Map of the connected Bitbucket account. ## Example Usage ```typescript -import { GetTeamAccessRequestBitbucket } from "@vercel/sdk/models/operations/getteamaccessrequest.js"; +import { GetTeamAccessRequestBitbucket } from "@vercel/sdk/models/getteamaccessrequestop.js"; let value: GetTeamAccessRequestBitbucket = {}; ``` diff --git a/docs/models/operations/getteamaccessrequestgithub.md b/docs/models/getteamaccessrequestgithub.md similarity index 80% rename from docs/models/operations/getteamaccessrequestgithub.md rename to docs/models/getteamaccessrequestgithub.md index 903ca57c..abc96139 100644 --- a/docs/models/operations/getteamaccessrequestgithub.md +++ b/docs/models/getteamaccessrequestgithub.md @@ -5,7 +5,7 @@ Map of the connected GitHub account. ## Example Usage ```typescript -import { GetTeamAccessRequestGithub } from "@vercel/sdk/models/operations/getteamaccessrequest.js"; +import { GetTeamAccessRequestGithub } from "@vercel/sdk/models/getteamaccessrequestop.js"; let value: GetTeamAccessRequestGithub = {}; ``` diff --git a/docs/models/operations/getteamaccessrequestgitlab.md b/docs/models/getteamaccessrequestgitlab.md similarity index 80% rename from docs/models/operations/getteamaccessrequestgitlab.md rename to docs/models/getteamaccessrequestgitlab.md index 85bf393d..0da73066 100644 --- a/docs/models/operations/getteamaccessrequestgitlab.md +++ b/docs/models/getteamaccessrequestgitlab.md @@ -5,7 +5,7 @@ Map of the connected GitLab account. ## Example Usage ```typescript -import { GetTeamAccessRequestGitlab } from "@vercel/sdk/models/operations/getteamaccessrequest.js"; +import { GetTeamAccessRequestGitlab } from "@vercel/sdk/models/getteamaccessrequestop.js"; let value: GetTeamAccessRequestGitlab = {}; ``` diff --git a/docs/models/operations/getteamaccessrequestgituserid.md b/docs/models/getteamaccessrequestgituserid.md similarity index 83% rename from docs/models/operations/getteamaccessrequestgituserid.md rename to docs/models/getteamaccessrequestgituserid.md index 69b5a273..c2fa41d5 100644 --- a/docs/models/operations/getteamaccessrequestgituserid.md +++ b/docs/models/getteamaccessrequestgituserid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 7965.12; +const value: number = 9970.46; ``` diff --git a/docs/models/getteamaccessrequestjoinedfrom.md b/docs/models/getteamaccessrequestjoinedfrom.md new file mode 100644 index 00000000..2d2ef28d --- /dev/null +++ b/docs/models/getteamaccessrequestjoinedfrom.md @@ -0,0 +1,29 @@ +# GetTeamAccessRequestJoinedFrom + +A map that describes the origin from where the user joined. + +## Example Usage + +```typescript +import { GetTeamAccessRequestJoinedFrom } from "@vercel/sdk/models/getteamaccessrequestop.js"; + +let value: GetTeamAccessRequestJoinedFrom = { + origin: "import", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `origin` | [models.GetTeamAccessRequestOrigin](../models/getteamaccessrequestorigin.md) | :heavy_check_mark: | N/A | +| `commitId` | *string* | :heavy_minus_sign: | N/A | +| `repoId` | *string* | :heavy_minus_sign: | N/A | +| `repoPath` | *string* | :heavy_minus_sign: | N/A | +| `gitUserId` | *models.GetTeamAccessRequestGitUserId* | :heavy_minus_sign: | N/A | +| `gitUserLogin` | *string* | :heavy_minus_sign: | N/A | +| `ssoUserId` | *string* | :heavy_minus_sign: | N/A | +| `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | +| `idpUserId` | *string* | :heavy_minus_sign: | N/A | +| `dsyncUserId` | *string* | :heavy_minus_sign: | N/A | +| `dsyncConnectedAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getteamaccessrequestorigin.md b/docs/models/getteamaccessrequestorigin.md new file mode 100644 index 00000000..39634277 --- /dev/null +++ b/docs/models/getteamaccessrequestorigin.md @@ -0,0 +1,15 @@ +# GetTeamAccessRequestOrigin + +## Example Usage + +```typescript +import { GetTeamAccessRequestOrigin } from "@vercel/sdk/models/getteamaccessrequestop.js"; + +let value: GetTeamAccessRequestOrigin = "mail"; +``` + +## Values + +```typescript +"mail" | "link" | "import" | "teams" | "github" | "gitlab" | "bitbucket" | "saml" | "dsync" | "feedback" | "organization-teams" +``` \ No newline at end of file diff --git a/docs/models/operations/getteamaccessrequestrequest.md b/docs/models/getteamaccessrequestrequest.md similarity index 93% rename from docs/models/operations/getteamaccessrequestrequest.md rename to docs/models/getteamaccessrequestrequest.md index c4b76ea0..abe778e9 100644 --- a/docs/models/operations/getteamaccessrequestrequest.md +++ b/docs/models/getteamaccessrequestrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetTeamAccessRequestRequest } from "@vercel/sdk/models/operations/getteamaccessrequest.js"; +import { GetTeamAccessRequestRequest } from "@vercel/sdk/models/getteamaccessrequestop.js"; let value: GetTeamAccessRequestRequest = { userId: "", diff --git a/docs/models/getteamaccessrequestresponsebody.md b/docs/models/getteamaccessrequestresponsebody.md new file mode 100644 index 00000000..2ab0e617 --- /dev/null +++ b/docs/models/getteamaccessrequestresponsebody.md @@ -0,0 +1,35 @@ +# GetTeamAccessRequestResponseBody + +Successfully + +## Example Usage + +```typescript +import { GetTeamAccessRequestResponseBody } from "@vercel/sdk/models/getteamaccessrequestop.js"; + +let value: GetTeamAccessRequestResponseBody = { + teamSlug: "my-team", + teamName: "My Team", + confirmed: false, + joinedFrom: { + origin: "teams", + }, + accessRequestedAt: 1588720733602, + github: {}, + gitlab: {}, + bitbucket: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `teamSlug` | *string* | :heavy_check_mark: | The slug of the team. | my-team | +| `teamName` | *string* | :heavy_check_mark: | The name of the team. | My Team | +| `confirmed` | *boolean* | :heavy_check_mark: | Current status of the membership. Will be `true` if confirmed, if pending it'll be `false`. | false | +| `joinedFrom` | [models.GetTeamAccessRequestJoinedFrom](../models/getteamaccessrequestjoinedfrom.md) | :heavy_check_mark: | A map that describes the origin from where the user joined. | | +| `accessRequestedAt` | *number* | :heavy_check_mark: | Timestamp in milliseconds when the user requested access to the team. | 1588720733602 | +| `github` | [models.GetTeamAccessRequestGithub](../models/getteamaccessrequestgithub.md) | :heavy_check_mark: | Map of the connected GitHub account. | | +| `gitlab` | [models.GetTeamAccessRequestGitlab](../models/getteamaccessrequestgitlab.md) | :heavy_check_mark: | Map of the connected GitLab account. | | +| `bitbucket` | [models.GetTeamAccessRequestBitbucket](../models/getteamaccessrequestbitbucket.md) | :heavy_check_mark: | Map of the connected Bitbucket account. | | \ No newline at end of file diff --git a/docs/models/operations/getteammembersbitbucket.md b/docs/models/getteammembersbitbucket.md similarity index 82% rename from docs/models/operations/getteammembersbitbucket.md rename to docs/models/getteammembersbitbucket.md index 8ead6958..7ff6f432 100644 --- a/docs/models/operations/getteammembersbitbucket.md +++ b/docs/models/getteammembersbitbucket.md @@ -5,7 +5,7 @@ Information about the Bitbucket account of this user. ## Example Usage ```typescript -import { GetTeamMembersBitbucket } from "@vercel/sdk/models/operations/getteammembers.js"; +import { GetTeamMembersBitbucket } from "@vercel/sdk/models/getteammembersop.js"; let value: GetTeamMembersBitbucket = {}; ``` diff --git a/docs/models/operations/getteammembersgithub.md b/docs/models/getteammembersgithub.md similarity index 82% rename from docs/models/operations/getteammembersgithub.md rename to docs/models/getteammembersgithub.md index 01050ed7..2ff50783 100644 --- a/docs/models/operations/getteammembersgithub.md +++ b/docs/models/getteammembersgithub.md @@ -5,7 +5,7 @@ Information about the GitHub account for this user. ## Example Usage ```typescript -import { GetTeamMembersGithub } from "@vercel/sdk/models/operations/getteammembers.js"; +import { GetTeamMembersGithub } from "@vercel/sdk/models/getteammembersop.js"; let value: GetTeamMembersGithub = {}; ``` diff --git a/docs/models/operations/getteammembersgitlab.md b/docs/models/getteammembersgitlab.md similarity index 82% rename from docs/models/operations/getteammembersgitlab.md rename to docs/models/getteammembersgitlab.md index e2439b10..4ca8d95c 100644 --- a/docs/models/operations/getteammembersgitlab.md +++ b/docs/models/getteammembersgitlab.md @@ -5,7 +5,7 @@ Information about the GitLab account of this user. ## Example Usage ```typescript -import { GetTeamMembersGitlab } from "@vercel/sdk/models/operations/getteammembers.js"; +import { GetTeamMembersGitlab } from "@vercel/sdk/models/getteammembersop.js"; let value: GetTeamMembersGitlab = {}; ``` diff --git a/docs/models/operations/getteammembersgituserid.md b/docs/models/getteammembersgituserid.md similarity index 82% rename from docs/models/operations/getteammembersgituserid.md rename to docs/models/getteammembersgituserid.md index 39b79371..09620e44 100644 --- a/docs/models/operations/getteammembersgituserid.md +++ b/docs/models/getteammembersgituserid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 5341.56; +const value: number = 4986.39; ``` diff --git a/docs/models/getteammembersjoinedfrom.md b/docs/models/getteammembersjoinedfrom.md new file mode 100644 index 00000000..70cabede --- /dev/null +++ b/docs/models/getteammembersjoinedfrom.md @@ -0,0 +1,29 @@ +# GetTeamMembersJoinedFrom + +Map with information about the members origin if they joined by requesting access. + +## Example Usage + +```typescript +import { GetTeamMembersJoinedFrom } from "@vercel/sdk/models/getteammembersop.js"; + +let value: GetTeamMembersJoinedFrom = { + origin: "bitbucket", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `origin` | [models.GetTeamMembersOrigin](../models/getteammembersorigin.md) | :heavy_check_mark: | N/A | +| `commitId` | *string* | :heavy_minus_sign: | N/A | +| `repoId` | *string* | :heavy_minus_sign: | N/A | +| `repoPath` | *string* | :heavy_minus_sign: | N/A | +| `gitUserId` | *models.GetTeamMembersGitUserId* | :heavy_minus_sign: | N/A | +| `gitUserLogin` | *string* | :heavy_minus_sign: | N/A | +| `ssoUserId` | *string* | :heavy_minus_sign: | N/A | +| `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | +| `idpUserId` | *string* | :heavy_minus_sign: | N/A | +| `dsyncUserId` | *string* | :heavy_minus_sign: | N/A | +| `dsyncConnectedAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getteammembersmembers.md b/docs/models/getteammembersmembers.md new file mode 100644 index 00000000..4fe92211 --- /dev/null +++ b/docs/models/getteammembersmembers.md @@ -0,0 +1,38 @@ +# GetTeamMembersMembers + +## Example Usage + +```typescript +import { GetTeamMembersMembers } from "@vercel/sdk/models/getteammembersop.js"; + +let value: GetTeamMembersMembers = { + avatar: "123a6c5209bc3778245d011443644c8d27dc2c50", + confirmed: true, + email: "jane.doe@example.com", + role: "OWNER", + uid: "zTuNVUXEAvvnNN3IaqinkyMw", + username: "jane-doe", + name: "Jane Doe", + createdAt: 1588720733602, + accessRequestedAt: 1588820733602, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `avatar` | *string* | :heavy_minus_sign: | ID of the file for the Avatar of this member. | 123a6c5209bc3778245d011443644c8d27dc2c50 | +| `confirmed` | *boolean* | :heavy_check_mark: | Boolean that indicates if this member was confirmed by an owner. | true | +| `email` | *string* | :heavy_check_mark: | The email of this member. | jane.doe@example.com | +| `github` | [models.GetTeamMembersGithub](../models/getteammembersgithub.md) | :heavy_minus_sign: | Information about the GitHub account for this user. | | +| `gitlab` | [models.GetTeamMembersGitlab](../models/getteammembersgitlab.md) | :heavy_minus_sign: | Information about the GitLab account of this user. | | +| `bitbucket` | [models.GetTeamMembersBitbucket](../models/getteammembersbitbucket.md) | :heavy_minus_sign: | Information about the Bitbucket account of this user. | | +| `role` | [models.GetTeamMembersRole](../models/getteammembersrole.md) | :heavy_check_mark: | Role of this user in the team. | OWNER | +| `uid` | *string* | :heavy_check_mark: | The ID of this user. | zTuNVUXEAvvnNN3IaqinkyMw | +| `username` | *string* | :heavy_check_mark: | The unique username of this user. | jane-doe | +| `name` | *string* | :heavy_minus_sign: | The name of this user. | Jane Doe | +| `createdAt` | *number* | :heavy_check_mark: | Timestamp in milliseconds when this member was added. | 1588720733602 | +| `accessRequestedAt` | *number* | :heavy_minus_sign: | Timestamp in milliseconds for when this team member was accepted by an owner. | 1588820733602 | +| `joinedFrom` | [models.GetTeamMembersJoinedFrom](../models/getteammembersjoinedfrom.md) | :heavy_minus_sign: | Map with information about the members origin if they joined by requesting access. | | +| `projects` | [models.GetTeamMembersProjects](../models/getteammembersprojects.md)[] | :heavy_minus_sign: | Array of project memberships | | \ No newline at end of file diff --git a/docs/models/getteammembersorigin.md b/docs/models/getteammembersorigin.md new file mode 100644 index 00000000..f531c569 --- /dev/null +++ b/docs/models/getteammembersorigin.md @@ -0,0 +1,15 @@ +# GetTeamMembersOrigin + +## Example Usage + +```typescript +import { GetTeamMembersOrigin } from "@vercel/sdk/models/getteammembersop.js"; + +let value: GetTeamMembersOrigin = "dsync"; +``` + +## Values + +```typescript +"teams" | "link" | "mail" | "import" | "github" | "gitlab" | "bitbucket" | "saml" | "dsync" | "feedback" | "organization-teams" +``` \ No newline at end of file diff --git a/docs/models/operations/getteammemberspagination.md b/docs/models/getteammemberspagination.md similarity index 95% rename from docs/models/operations/getteammemberspagination.md rename to docs/models/getteammemberspagination.md index 1445a0c4..e1e57d14 100644 --- a/docs/models/operations/getteammemberspagination.md +++ b/docs/models/getteammemberspagination.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetTeamMembersPagination } from "@vercel/sdk/models/operations/getteammembers.js"; +import { GetTeamMembersPagination } from "@vercel/sdk/models/getteammembersop.js"; let value: GetTeamMembersPagination = { hasNext: false, diff --git a/docs/models/getteammembersprojects.md b/docs/models/getteammembersprojects.md new file mode 100644 index 00000000..e0bf4fbc --- /dev/null +++ b/docs/models/getteammembersprojects.md @@ -0,0 +1,19 @@ +# GetTeamMembersProjects + +Array of project memberships + +## Example Usage + +```typescript +import { GetTeamMembersProjects } from "@vercel/sdk/models/getteammembersop.js"; + +let value: GetTeamMembersProjects = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `role` | [models.GetTeamMembersTeamsResponseRole](../models/getteammembersteamsresponserole.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getteammembersrequest.md b/docs/models/getteammembersrequest.md similarity index 94% rename from docs/models/operations/getteammembersrequest.md rename to docs/models/getteammembersrequest.md index 6d1e038b..84adf284 100644 --- a/docs/models/operations/getteammembersrequest.md +++ b/docs/models/getteammembersrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetTeamMembersRequest } from "@vercel/sdk/models/operations/getteammembers.js"; +import { GetTeamMembersRequest } from "@vercel/sdk/models/getteammembersop.js"; let value: GetTeamMembersRequest = { limit: 20, @@ -22,7 +22,7 @@ let value: GetTeamMembersRequest = { | `since` | *number* | :heavy_minus_sign: | Timestamp in milliseconds to only include members added since then. | 1540095775951 | | `until` | *number* | :heavy_minus_sign: | Timestamp in milliseconds to only include members added until then. | 1540095775951 | | `search` | *string* | :heavy_minus_sign: | Search team members by their name, username, and email. | | -| `role` | [operations.QueryParamRole](../../models/operations/queryparamrole.md) | :heavy_minus_sign: | Only return members with the specified team role. | OWNER | +| `role` | [models.QueryParamRole](../models/queryparamrole.md) | :heavy_minus_sign: | Only return members with the specified team role. | OWNER | | `excludeProject` | *string* | :heavy_minus_sign: | Exclude members who belong to the specified project. | | | `eligibleMembersForProjectId` | *string* | :heavy_minus_sign: | Include team members who are eligible to be members of the specified project. | | | `teamId` | *string* | :heavy_check_mark: | The Team identifier to perform the request on behalf of. | | \ No newline at end of file diff --git a/docs/models/getteammembersresponsebody.md b/docs/models/getteammembersresponsebody.md new file mode 100644 index 00000000..fcf6b5ac --- /dev/null +++ b/docs/models/getteammembersresponsebody.md @@ -0,0 +1,37 @@ +# GetTeamMembersResponseBody + +## Example Usage + +```typescript +import { GetTeamMembersResponseBody } from "@vercel/sdk/models/getteammembersop.js"; + +let value: GetTeamMembersResponseBody = { + members: [ + { + avatar: "123a6c5209bc3778245d011443644c8d27dc2c50", + confirmed: true, + email: "jane.doe@example.com", + role: "OWNER", + uid: "zTuNVUXEAvvnNN3IaqinkyMw", + username: "jane-doe", + name: "Jane Doe", + createdAt: 1588720733602, + accessRequestedAt: 1588820733602, + }, + ], + pagination: { + hasNext: false, + count: 20, + next: 1540095775951, + prev: 1540095775951, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `members` | [models.GetTeamMembersMembers](../models/getteammembersmembers.md)[] | :heavy_check_mark: | N/A | +| `emailInviteCodes` | [models.EmailInviteCodes](../models/emailinvitecodes.md)[] | :heavy_minus_sign: | N/A | +| `pagination` | [models.GetTeamMembersPagination](../models/getteammemberspagination.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getteammembersrole.md b/docs/models/getteammembersrole.md new file mode 100644 index 00000000..b1a76ad7 --- /dev/null +++ b/docs/models/getteammembersrole.md @@ -0,0 +1,17 @@ +# GetTeamMembersRole + +Role of this user in the team. + +## Example Usage + +```typescript +import { GetTeamMembersRole } from "@vercel/sdk/models/getteammembersop.js"; + +let value: GetTeamMembersRole = "OWNER"; +``` + +## Values + +```typescript +"OWNER" | "MEMBER" | "DEVELOPER" | "VIEWER" | "BILLING" | "CONTRIBUTOR" +``` \ No newline at end of file diff --git a/docs/models/getteammembersteamsprojects.md b/docs/models/getteammembersteamsprojects.md new file mode 100644 index 00000000..cb05f9ad --- /dev/null +++ b/docs/models/getteammembersteamsprojects.md @@ -0,0 +1,15 @@ +# GetTeamMembersTeamsProjects + +## Example Usage + +```typescript +import { GetTeamMembersTeamsProjects } from "@vercel/sdk/models/getteammembersop.js"; + +let value: GetTeamMembersTeamsProjects = "ADMIN"; +``` + +## Values + +```typescript +"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_VIEWER" +``` \ No newline at end of file diff --git a/docs/models/getteammembersteamsresponserole.md b/docs/models/getteammembersteamsresponserole.md new file mode 100644 index 00000000..1d70068f --- /dev/null +++ b/docs/models/getteammembersteamsresponserole.md @@ -0,0 +1,15 @@ +# GetTeamMembersTeamsResponseRole + +## Example Usage + +```typescript +import { GetTeamMembersTeamsResponseRole } from "@vercel/sdk/models/getteammembersop.js"; + +let value: GetTeamMembersTeamsResponseRole = "PROJECT_VIEWER"; +``` + +## Values + +```typescript +"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_VIEWER" +``` \ No newline at end of file diff --git a/docs/models/getteammembersteamsrole.md b/docs/models/getteammembersteamsrole.md new file mode 100644 index 00000000..b25f8cf1 --- /dev/null +++ b/docs/models/getteammembersteamsrole.md @@ -0,0 +1,15 @@ +# GetTeamMembersTeamsRole + +## Example Usage + +```typescript +import { GetTeamMembersTeamsRole } from "@vercel/sdk/models/getteammembersop.js"; + +let value: GetTeamMembersTeamsRole = "CONTRIBUTOR"; +``` + +## Values + +```typescript +"OWNER" | "MEMBER" | "DEVELOPER" | "VIEWER" | "BILLING" | "CONTRIBUTOR" +``` \ No newline at end of file diff --git a/docs/models/operations/getteamrequest.md b/docs/models/getteamrequest.md similarity index 93% rename from docs/models/operations/getteamrequest.md rename to docs/models/getteamrequest.md index 035a80cc..3e84bc4c 100644 --- a/docs/models/operations/getteamrequest.md +++ b/docs/models/getteamrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetTeamRequest } from "@vercel/sdk/models/operations/getteam.js"; +import { GetTeamRequest } from "@vercel/sdk/models/getteamop.js"; let value: GetTeamRequest = { teamId: "", diff --git a/docs/models/operations/getteamsrequest.md b/docs/models/getteamsrequest.md similarity index 96% rename from docs/models/operations/getteamsrequest.md rename to docs/models/getteamsrequest.md index ad54e285..fdf106bf 100644 --- a/docs/models/operations/getteamsrequest.md +++ b/docs/models/getteamsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetTeamsRequest } from "@vercel/sdk/models/operations/getteams.js"; +import { GetTeamsRequest } from "@vercel/sdk/models/getteamsop.js"; let value: GetTeamsRequest = { limit: 20, diff --git a/docs/models/getteamsresponsebody.md b/docs/models/getteamsresponsebody.md new file mode 100644 index 00000000..ef1a59a3 --- /dev/null +++ b/docs/models/getteamsresponsebody.md @@ -0,0 +1,58 @@ +# GetTeamsResponseBody + +A paginated list of teams. + +## Example Usage + +```typescript +import { GetTeamsResponseBody } from "@vercel/sdk/models/getteamsop.js"; + +let value: GetTeamsResponseBody = { + teams: [ + { + limited: false, + saml: { + connection: { + type: "OktaSAML", + status: "linked", + state: "active", + connectedAt: 1611796915677, + lastReceivedWebhookEvent: 1611796915677, + }, + directory: { + type: "OktaSAML", + state: "active", + connectedAt: 1611796915677, + lastReceivedWebhookEvent: 1611796915677, + }, + enforced: false, + }, + id: "team_nllPyCtREAqxxdyFKbbMDlxd", + slug: "my-team", + name: "My Team", + avatar: "6eb07268bcfadd309905ffb1579354084c24655c", + membership: { + confirmed: false, + confirmedAt: 4196.00, + role: "MEMBER", + createdAt: 6566.05, + created: 3738.41, + }, + created: "", + createdAt: 1630748523395, + }, + ], + pagination: { + count: 20, + next: 1540095775951, + prev: 1540095775951, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `teams` | *models.Teams*[] | :heavy_check_mark: | N/A | +| `pagination` | [models.Pagination](../models/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file diff --git a/docs/models/operations/getwebhookevents.md b/docs/models/getwebhookevents.md similarity index 94% rename from docs/models/operations/getwebhookevents.md rename to docs/models/getwebhookevents.md index 17374e55..1327036c 100644 --- a/docs/models/operations/getwebhookevents.md +++ b/docs/models/getwebhookevents.md @@ -5,7 +5,7 @@ The webhooks events ## Example Usage ```typescript -import { GetWebhookEvents } from "@vercel/sdk/models/operations/getwebhook.js"; +import { GetWebhookEvents } from "@vercel/sdk/models/getwebhookop.js"; let value: GetWebhookEvents = "deployment.created"; ``` diff --git a/docs/models/operations/getwebhookrequest.md b/docs/models/getwebhookrequest.md similarity index 94% rename from docs/models/operations/getwebhookrequest.md rename to docs/models/getwebhookrequest.md index 0e0a5083..8477030d 100644 --- a/docs/models/operations/getwebhookrequest.md +++ b/docs/models/getwebhookrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetWebhookRequest } from "@vercel/sdk/models/operations/getwebhook.js"; +import { GetWebhookRequest } from "@vercel/sdk/models/getwebhookop.js"; let value: GetWebhookRequest = { id: "", diff --git a/docs/models/operations/getwebhookresponsebody.md b/docs/models/getwebhookresponsebody.md similarity index 94% rename from docs/models/operations/getwebhookresponsebody.md rename to docs/models/getwebhookresponsebody.md index ebee0fbe..f587e445 100644 --- a/docs/models/operations/getwebhookresponsebody.md +++ b/docs/models/getwebhookresponsebody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetWebhookResponseBody } from "@vercel/sdk/models/operations/getwebhook.js"; +import { GetWebhookResponseBody } from "@vercel/sdk/models/getwebhookop.js"; let value: GetWebhookResponseBody = { events: [ @@ -24,7 +24,7 @@ let value: GetWebhookResponseBody = { | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `events` | [operations.GetWebhookEvents](../../models/operations/getwebhookevents.md)[] | :heavy_check_mark: | The webhooks events | deployment.created | +| `events` | [models.GetWebhookEvents](../models/getwebhookevents.md)[] | :heavy_check_mark: | The webhooks events | deployment.created | | `id` | *string* | :heavy_check_mark: | The webhook id | account_hook_GflD6EYyo7F4ViYS | | `url` | *string* | :heavy_check_mark: | A string with the URL of the webhook | https://my-webhook.com | | `ownerId` | *string* | :heavy_check_mark: | The unique ID of the team the webhook belongs to | ZspSRT4ljIEEmMHgoDwKWDei | diff --git a/docs/models/operations/getwebhooksrequest.md b/docs/models/getwebhooksrequest.md similarity index 93% rename from docs/models/operations/getwebhooksrequest.md rename to docs/models/getwebhooksrequest.md index 25585602..938037fc 100644 --- a/docs/models/operations/getwebhooksrequest.md +++ b/docs/models/getwebhooksrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetWebhooksRequest } from "@vercel/sdk/models/operations/getwebhooks.js"; +import { GetWebhooksRequest } from "@vercel/sdk/models/getwebhooksop.js"; let value: GetWebhooksRequest = {}; ``` diff --git a/docs/models/operations/getwebhooksresponsebody.md b/docs/models/getwebhooksresponsebody.md similarity index 79% rename from docs/models/operations/getwebhooksresponsebody.md rename to docs/models/getwebhooksresponsebody.md index cc176d49..5addd532 100644 --- a/docs/models/operations/getwebhooksresponsebody.md +++ b/docs/models/getwebhooksresponsebody.md @@ -3,10 +3,10 @@ ## Supported Types -### `operations.GetWebhooksResponseBody1[]` +### `models.GetWebhooksResponseBody1[]` ```typescript -const value: operations.GetWebhooksResponseBody1[] = [ +const value: models.GetWebhooksResponseBody1[] = [ { projectsMetadata: [ { @@ -29,10 +29,10 @@ const value: operations.GetWebhooksResponseBody1[] = [ ]; ``` -### `operations.GetWebhooksResponseBody2[]` +### `models.GetWebhooksResponseBody2[]` ```typescript -const value: operations.GetWebhooksResponseBody2[] = [ +const value: models.GetWebhooksResponseBody2[] = [ { events: [ "deployment.created", diff --git a/docs/models/getwebhooksresponsebody1.md b/docs/models/getwebhooksresponsebody1.md new file mode 100644 index 00000000..ecf7fbb3 --- /dev/null +++ b/docs/models/getwebhooksresponsebody1.md @@ -0,0 +1,40 @@ +# GetWebhooksResponseBody1 + +## Example Usage + +```typescript +import { GetWebhooksResponseBody1 } from "@vercel/sdk/models/getwebhooksop.js"; + +let value: GetWebhooksResponseBody1 = { + projectsMetadata: [ + { + id: "", + name: "", + }, + ], + events: [ + "deployment.created", + ], + id: "account_hook_GflD6EYyo7F4ViYS", + url: "https://my-webhook.com", + ownerId: "ZspSRT4ljIEEmMHgoDwKWDei", + createdAt: 1567024758130, + updatedAt: 1567024758130, + projectIds: [ + "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `projectsMetadata` | [models.ProjectsMetadata](../models/projectsmetadata.md)[] | :heavy_check_mark: | N/A | | +| `events` | [models.ResponseBodyEvents](../models/responsebodyevents.md)[] | :heavy_check_mark: | The webhooks events | deployment.created | +| `id` | *string* | :heavy_check_mark: | The webhook id | account_hook_GflD6EYyo7F4ViYS | +| `url` | *string* | :heavy_check_mark: | A string with the URL of the webhook | https://my-webhook.com | +| `ownerId` | *string* | :heavy_check_mark: | The unique ID of the team the webhook belongs to | ZspSRT4ljIEEmMHgoDwKWDei | +| `createdAt` | *number* | :heavy_check_mark: | A number containing the date when the webhook was created in in milliseconds | 1567024758130 | +| `updatedAt` | *number* | :heavy_check_mark: | A number containing the date when the webhook was updated in in milliseconds | 1567024758130 | +| `projectIds` | *string*[] | :heavy_minus_sign: | The ID of the projects the webhook is associated with | [
"prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB"
] | \ No newline at end of file diff --git a/docs/models/getwebhooksresponsebody2.md b/docs/models/getwebhooksresponsebody2.md new file mode 100644 index 00000000..cc2b4425 --- /dev/null +++ b/docs/models/getwebhooksresponsebody2.md @@ -0,0 +1,33 @@ +# GetWebhooksResponseBody2 + +## Example Usage + +```typescript +import { GetWebhooksResponseBody2 } from "@vercel/sdk/models/getwebhooksop.js"; + +let value: GetWebhooksResponseBody2 = { + events: [ + "deployment.created", + ], + id: "account_hook_GflD6EYyo7F4ViYS", + url: "https://my-webhook.com", + ownerId: "ZspSRT4ljIEEmMHgoDwKWDei", + createdAt: 1567024758130, + updatedAt: 1567024758130, + projectIds: [ + "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `events` | [models.GetWebhooksResponseBodyEvents](../models/getwebhooksresponsebodyevents.md)[] | :heavy_check_mark: | The webhooks events | deployment.created | +| `id` | *string* | :heavy_check_mark: | The webhook id | account_hook_GflD6EYyo7F4ViYS | +| `url` | *string* | :heavy_check_mark: | A string with the URL of the webhook | https://my-webhook.com | +| `ownerId` | *string* | :heavy_check_mark: | The unique ID of the team the webhook belongs to | ZspSRT4ljIEEmMHgoDwKWDei | +| `createdAt` | *number* | :heavy_check_mark: | A number containing the date when the webhook was created in in milliseconds | 1567024758130 | +| `updatedAt` | *number* | :heavy_check_mark: | A number containing the date when the webhook was updated in in milliseconds | 1567024758130 | +| `projectIds` | *string*[] | :heavy_minus_sign: | The ID of the projects the webhook is associated with | [
"prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB"
] | \ No newline at end of file diff --git a/docs/models/operations/getwebhooksresponsebodyevents.md b/docs/models/getwebhooksresponsebodyevents.md similarity index 97% rename from docs/models/operations/getwebhooksresponsebodyevents.md rename to docs/models/getwebhooksresponsebodyevents.md index 02d12cc5..a44f24ae 100644 --- a/docs/models/operations/getwebhooksresponsebodyevents.md +++ b/docs/models/getwebhooksresponsebodyevents.md @@ -5,7 +5,7 @@ The webhooks events ## Example Usage ```typescript -import { GetWebhooksResponseBodyEvents } from "@vercel/sdk/models/operations/getwebhooks.js"; +import { GetWebhooksResponseBodyEvents } from "@vercel/sdk/models/getwebhooksop.js"; let value: GetWebhooksResponseBodyEvents = "deployment.created"; ``` diff --git a/docs/models/operations/getwebhooksresponsebodyframework.md b/docs/models/getwebhooksresponsebodyframework.md similarity index 88% rename from docs/models/operations/getwebhooksresponsebodyframework.md rename to docs/models/getwebhooksresponsebodyframework.md index 6b216cc2..17665a58 100644 --- a/docs/models/operations/getwebhooksresponsebodyframework.md +++ b/docs/models/getwebhooksresponsebodyframework.md @@ -3,9 +3,9 @@ ## Example Usage ```typescript -import { GetWebhooksResponseBodyFramework } from "@vercel/sdk/models/operations/getwebhooks.js"; +import { GetWebhooksResponseBodyFramework } from "@vercel/sdk/models/getwebhooksop.js"; -let value: GetWebhooksResponseBodyFramework = "angular"; +let value: GetWebhooksResponseBodyFramework = "docusaurus"; ``` ## Values diff --git a/docs/models/gitaccount.md b/docs/models/gitaccount.md new file mode 100644 index 00000000..5c136832 --- /dev/null +++ b/docs/models/gitaccount.md @@ -0,0 +1,19 @@ +# GitAccount + +## Example Usage + +```typescript +import { GitAccount } from "@vercel/sdk/models/searchrepoop.js"; + +let value: GitAccount = { + provider: "gitlab", + namespaceId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `provider` | [models.ResponseBodyProvider](../models/responsebodyprovider.md) | :heavy_check_mark: | N/A | +| `namespaceId` | *models.ResponseBodyNamespaceId* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitcomments.md b/docs/models/gitcomments.md similarity index 91% rename from docs/models/operations/gitcomments.md rename to docs/models/gitcomments.md index a964340b..cee6a111 100644 --- a/docs/models/operations/gitcomments.md +++ b/docs/models/gitcomments.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GitComments } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { GitComments } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: GitComments = { onPullRequest: false, diff --git a/docs/models/gitforkprotection.md b/docs/models/gitforkprotection.md new file mode 100644 index 00000000..3d329370 --- /dev/null +++ b/docs/models/gitforkprotection.md @@ -0,0 +1,17 @@ +# GitForkProtection + +Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed + +## Example Usage + +```typescript +import { GitForkProtection } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GitForkProtection = "1"; +``` + +## Values + +```typescript +"1" | "0" +``` \ No newline at end of file diff --git a/docs/models/operations/github.md b/docs/models/github.md similarity index 81% rename from docs/models/operations/github.md rename to docs/models/github.md index e4d2fab3..756bcd4e 100644 --- a/docs/models/operations/github.md +++ b/docs/models/github.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Github } from "@vercel/sdk/models/operations/requestaccesstoteam.js"; +import { Github } from "@vercel/sdk/models/requestaccesstoteamop.js"; let value: Github = {}; ``` diff --git a/docs/models/operations/gitlab.md b/docs/models/gitlab.md similarity index 81% rename from docs/models/operations/gitlab.md rename to docs/models/gitlab.md index 2f410299..4df8efc5 100644 --- a/docs/models/operations/gitlab.md +++ b/docs/models/gitlab.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Gitlab } from "@vercel/sdk/models/operations/requestaccesstoteam.js"; +import { Gitlab } from "@vercel/sdk/models/requestaccesstoteamop.js"; let value: Gitlab = {}; ``` diff --git a/docs/models/operations/gitmetadata.md b/docs/models/gitmetadata.md similarity index 98% rename from docs/models/operations/gitmetadata.md rename to docs/models/gitmetadata.md index bbb982fa..4859aad7 100644 --- a/docs/models/operations/gitmetadata.md +++ b/docs/models/gitmetadata.md @@ -5,7 +5,7 @@ Populates initial git metadata for different git providers. ## Example Usage ```typescript -import { GitMetadata } from "@vercel/sdk/models/operations/createdeployment.js"; +import { GitMetadata } from "@vercel/sdk/models/createdeploymentop.js"; let value: GitMetadata = { remoteUrl: "https://github.com/vercel/next.js", diff --git a/docs/models/components/gitnamespaceid.md b/docs/models/gitnamespaceid.md similarity index 81% rename from docs/models/components/gitnamespaceid.md rename to docs/models/gitnamespaceid.md index 0270947e..ee04c859 100644 --- a/docs/models/components/gitnamespaceid.md +++ b/docs/models/gitnamespaceid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 2870.20; +const value: number = 3539.04; ``` diff --git a/docs/models/operations/gitnamespacesid.md b/docs/models/gitnamespacesid.md similarity index 81% rename from docs/models/operations/gitnamespacesid.md rename to docs/models/gitnamespacesid.md index 1d97d7a1..c5fdf6f9 100644 --- a/docs/models/operations/gitnamespacesid.md +++ b/docs/models/gitnamespacesid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 4938.65; +const value: number = 2681.09; ``` diff --git a/docs/models/operations/gitnamespacesrequest.md b/docs/models/gitnamespacesrequest.md similarity index 88% rename from docs/models/operations/gitnamespacesrequest.md rename to docs/models/gitnamespacesrequest.md index 9fd026b9..a239c7a2 100644 --- a/docs/models/operations/gitnamespacesrequest.md +++ b/docs/models/gitnamespacesrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GitNamespacesRequest } from "@vercel/sdk/models/operations/gitnamespaces.js"; +import { GitNamespacesRequest } from "@vercel/sdk/models/gitnamespacesop.js"; let value: GitNamespacesRequest = { host: "ghes-test.now.systems", @@ -15,4 +15,4 @@ let value: GitNamespacesRequest = { | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | `host` | *string* | :heavy_minus_sign: | The custom Git host if using a custom Git provider, like GitHub Enterprise Server | ghes-test.now.systems | -| `provider` | [operations.Provider](../../models/operations/provider.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `provider` | [models.Provider](../models/provider.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/gitnamespacesresponsebody.md b/docs/models/gitnamespacesresponsebody.md new file mode 100644 index 00000000..7ed135c5 --- /dev/null +++ b/docs/models/gitnamespacesresponsebody.md @@ -0,0 +1,27 @@ +# GitNamespacesResponseBody + +## Example Usage + +```typescript +import { GitNamespacesResponseBody } from "@vercel/sdk/models/gitnamespacesop.js"; + +let value: GitNamespacesResponseBody = { + provider: "", + slug: "", + id: "", + ownerType: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `provider` | *string* | :heavy_check_mark: | N/A | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `id` | *models.GitNamespacesId* | :heavy_check_mark: | N/A | +| `ownerType` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `isAccessRestricted` | *boolean* | :heavy_minus_sign: | N/A | +| `installationId` | *number* | :heavy_minus_sign: | N/A | +| `requireReauth` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitrepo.md b/docs/models/gitrepo.md similarity index 79% rename from docs/models/operations/gitrepo.md rename to docs/models/gitrepo.md index b8547ef4..9136d825 100644 --- a/docs/models/operations/gitrepo.md +++ b/docs/models/gitrepo.md @@ -3,10 +3,10 @@ ## Supported Types -### `operations.GitRepo1` +### `models.GitRepo1` ```typescript -const value: operations.GitRepo1 = { +const value: models.GitRepo1 = { namespace: "", projectId: 2871.53, type: "gitlab", @@ -19,10 +19,10 @@ const value: operations.GitRepo1 = { }; ``` -### `operations.GitRepo2` +### `models.GitRepo2` ```typescript -const value: operations.GitRepo2 = { +const value: models.GitRepo2 = { org: "", repo: "", repoId: 6599.71, @@ -36,10 +36,10 @@ const value: operations.GitRepo2 = { }; ``` -### `operations.GitRepo3` +### `models.GitRepo3` ```typescript -const value: operations.GitRepo3 = { +const value: models.GitRepo3 = { owner: "", repoUuid: "", slug: "", diff --git a/docs/models/gitrepo1.md b/docs/models/gitrepo1.md new file mode 100644 index 00000000..efb14ff3 --- /dev/null +++ b/docs/models/gitrepo1.md @@ -0,0 +1,33 @@ +# GitRepo1 + +## Example Usage + +```typescript +import { GitRepo1 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: GitRepo1 = { + namespace: "", + projectId: 752.77, + type: "gitlab", + url: "https://honorable-rubric.net/", + path: "/usr/bin", + defaultBranch: "", + name: "", + private: false, + ownerType: "user", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `namespace` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *number* | :heavy_check_mark: | N/A | +| `type` | [models.GitRepoType](../models/gitrepotype.md) | :heavy_check_mark: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | +| `path` | *string* | :heavy_check_mark: | N/A | +| `defaultBranch` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `private` | *boolean* | :heavy_check_mark: | N/A | +| `ownerType` | [models.OwnerType](../models/ownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/gitrepo2.md b/docs/models/gitrepo2.md new file mode 100644 index 00000000..22772976 --- /dev/null +++ b/docs/models/gitrepo2.md @@ -0,0 +1,35 @@ +# GitRepo2 + +## Example Usage + +```typescript +import { GitRepo2 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: GitRepo2 = { + org: "", + repo: "", + repoId: 2958.92, + type: "github", + repoOwnerId: 3032.92, + path: "/opt", + defaultBranch: "", + name: "", + private: false, + ownerType: "user", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `org` | *string* | :heavy_check_mark: | N/A | +| `repo` | *string* | :heavy_check_mark: | N/A | +| `repoId` | *number* | :heavy_check_mark: | N/A | +| `type` | [models.CreateDeploymentGitRepoType](../models/createdeploymentgitrepotype.md) | :heavy_check_mark: | N/A | +| `repoOwnerId` | *number* | :heavy_check_mark: | N/A | +| `path` | *string* | :heavy_check_mark: | N/A | +| `defaultBranch` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `private` | *boolean* | :heavy_check_mark: | N/A | +| `ownerType` | [models.GitRepoOwnerType](../models/gitrepoownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/gitrepo3.md b/docs/models/gitrepo3.md new file mode 100644 index 00000000..fbc8bf8c --- /dev/null +++ b/docs/models/gitrepo3.md @@ -0,0 +1,35 @@ +# GitRepo3 + +## Example Usage + +```typescript +import { GitRepo3 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: GitRepo3 = { + owner: "", + repoUuid: "", + slug: "", + type: "bitbucket", + workspaceUuid: "", + path: "/opt/bin", + defaultBranch: "", + name: "", + private: false, + ownerType: "team", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `owner` | *string* | :heavy_check_mark: | N/A | +| `repoUuid` | *string* | :heavy_check_mark: | N/A | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `type` | [models.CreateDeploymentGitRepoDeploymentsType](../models/createdeploymentgitrepodeploymentstype.md) | :heavy_check_mark: | N/A | +| `workspaceUuid` | *string* | :heavy_check_mark: | N/A | +| `path` | *string* | :heavy_check_mark: | N/A | +| `defaultBranch` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `private` | *boolean* | :heavy_check_mark: | N/A | +| `ownerType` | [models.CreateDeploymentGitRepoOwnerType](../models/createdeploymentgitrepoownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/gitrepoownertype.md b/docs/models/gitrepoownertype.md new file mode 100644 index 00000000..d32a793e --- /dev/null +++ b/docs/models/gitrepoownertype.md @@ -0,0 +1,15 @@ +# GitRepoOwnerType + +## Example Usage + +```typescript +import { GitRepoOwnerType } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: GitRepoOwnerType = "user"; +``` + +## Values + +```typescript +"team" | "user" +``` \ No newline at end of file diff --git a/docs/models/gitrepository.md b/docs/models/gitrepository.md new file mode 100644 index 00000000..79547907 --- /dev/null +++ b/docs/models/gitrepository.md @@ -0,0 +1,21 @@ +# GitRepository + +The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed + +## Example Usage + +```typescript +import { GitRepository } from "@vercel/sdk/models/createprojectop.js"; + +let value: GitRepository = { + repo: "", + type: "bitbucket", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `repo` | *string* | :heavy_check_mark: | The name of the git repository. For example: \"vercel/next.js\" | +| `type` | [models.CreateProjectProjectsType](../models/createprojectprojectstype.md) | :heavy_check_mark: | The Git Provider of the repository | \ No newline at end of file diff --git a/docs/models/gitrepotype.md b/docs/models/gitrepotype.md new file mode 100644 index 00000000..75cae543 --- /dev/null +++ b/docs/models/gitrepotype.md @@ -0,0 +1,15 @@ +# GitRepoType + +## Example Usage + +```typescript +import { GitRepoType } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: GitRepoType = "gitlab"; +``` + +## Values + +```typescript +"gitlab" +``` \ No newline at end of file diff --git a/docs/models/gitsource.md b/docs/models/gitsource.md new file mode 100644 index 00000000..5f773a7b --- /dev/null +++ b/docs/models/gitsource.md @@ -0,0 +1,59 @@ +# GitSource + +Defines the Git Repository source to be deployed. This property can not be used in combination with `files`. + + +## Supported Types + +### `models.GitSource1` + +```typescript +const value: models.GitSource1 = { + ref: "", + repoId: 3203.26, + type: "github", +}; +``` + +### `models.GitSource2` + +```typescript +const value: models.GitSource2 = { + org: "", + ref: "", + repo: "", + type: "github", +}; +``` + +### `models.Three` + +```typescript +const value: models.Three = { + projectId: "", + ref: "", + type: "gitlab", +}; +``` + +### `models.Four` + +```typescript +const value: models.Four = { + ref: "", + repoUuid: "", + type: "bitbucket", +}; +``` + +### `models.Five` + +```typescript +const value: models.Five = { + owner: "", + ref: "", + slug: "", + type: "bitbucket", +}; +``` + diff --git a/docs/models/gitsource1.md b/docs/models/gitsource1.md new file mode 100644 index 00000000..cbc81b5c --- /dev/null +++ b/docs/models/gitsource1.md @@ -0,0 +1,22 @@ +# GitSource1 + +## Example Usage + +```typescript +import { GitSource1 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: GitSource1 = { + ref: "", + repoId: 510.53, + type: "github", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `repoId` | *models.RepoId* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `type` | [models.CreateDeploymentGitSourceDeploymentsRequestRequestBodyType](../models/createdeploymentgitsourcedeploymentsrequestrequestbodytype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/gitsource2.md b/docs/models/gitsource2.md new file mode 100644 index 00000000..71864b6f --- /dev/null +++ b/docs/models/gitsource2.md @@ -0,0 +1,24 @@ +# GitSource2 + +## Example Usage + +```typescript +import { GitSource2 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: GitSource2 = { + org: "", + ref: "", + repo: "", + type: "github", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `org` | *string* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `repo` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `type` | [models.GitSourceType](../models/gitsourcetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/gitsource3.md b/docs/models/gitsource3.md new file mode 100644 index 00000000..8d2b5c2f --- /dev/null +++ b/docs/models/gitsource3.md @@ -0,0 +1,22 @@ +# GitSource3 + +## Example Usage + +```typescript +import { GitSource3 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: GitSource3 = { + type: "gitlab", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType](../models/createdeploymentgitsourcedeploymentsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `projectId` | *models.GitSourceProjectId* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/gitsource4.md b/docs/models/gitsource4.md new file mode 100644 index 00000000..49667c89 --- /dev/null +++ b/docs/models/gitsource4.md @@ -0,0 +1,23 @@ +# GitSource4 + +## Example Usage + +```typescript +import { GitSource4 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: GitSource4 = { + type: "bitbucket", + repoUuid: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType](../models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | +| `repoUuid` | *string* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/gitsource5.md b/docs/models/gitsource5.md new file mode 100644 index 00000000..27d10d8c --- /dev/null +++ b/docs/models/gitsource5.md @@ -0,0 +1,24 @@ +# GitSource5 + +## Example Usage + +```typescript +import { GitSource5 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: GitSource5 = { + type: "bitbucket", + owner: "", + slug: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type](../models/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody5type.md) | :heavy_check_mark: | N/A | +| `owner` | *string* | :heavy_check_mark: | N/A | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/gitsource6.md b/docs/models/gitsource6.md new file mode 100644 index 00000000..01641045 --- /dev/null +++ b/docs/models/gitsource6.md @@ -0,0 +1,25 @@ +# GitSource6 + +Allows custom git sources (local folder mounted to the container) in test mode + +## Example Usage + +```typescript +import { GitSource6 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: GitSource6 = { + type: "custom", + ref: "", + sha: "", + gitUrl: "https://close-airman.org", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType](../models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `gitUrl` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/gitsource7.md b/docs/models/gitsource7.md new file mode 100644 index 00000000..6151cdce --- /dev/null +++ b/docs/models/gitsource7.md @@ -0,0 +1,25 @@ +# GitSource7 + +## Example Usage + +```typescript +import { GitSource7 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: GitSource7 = { + type: "github", + ref: "", + sha: "", + repoId: 9903.69, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type](../models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md) | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `repoId` | *number* | :heavy_check_mark: | N/A | +| `org` | *string* | :heavy_minus_sign: | N/A | +| `repo` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/gitsource8.md b/docs/models/gitsource8.md new file mode 100644 index 00000000..8b8cbb57 --- /dev/null +++ b/docs/models/gitsource8.md @@ -0,0 +1,23 @@ +# GitSource8 + +## Example Usage + +```typescript +import { GitSource8 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: GitSource8 = { + type: "gitlab", + ref: "", + sha: "", + projectId: 4871.48, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type](../models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md) | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/gitsource9.md b/docs/models/gitsource9.md new file mode 100644 index 00000000..ad790240 --- /dev/null +++ b/docs/models/gitsource9.md @@ -0,0 +1,27 @@ +# GitSource9 + +## Example Usage + +```typescript +import { GitSource9 } from "@vercel/sdk/models/canceldeploymentop.js"; + +let value: GitSource9 = { + type: "bitbucket", + ref: "", + sha: "", + workspaceUuid: "", + repoUuid: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type](../models/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md) | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `owner` | *string* | :heavy_minus_sign: | N/A | +| `slug` | *string* | :heavy_minus_sign: | N/A | +| `workspaceUuid` | *string* | :heavy_check_mark: | N/A | +| `repoUuid` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitsourceprojectid.md b/docs/models/gitsourceprojectid.md similarity index 100% rename from docs/models/operations/gitsourceprojectid.md rename to docs/models/gitsourceprojectid.md diff --git a/docs/models/operations/gitsourcerepoid.md b/docs/models/gitsourcerepoid.md similarity index 100% rename from docs/models/operations/gitsourcerepoid.md rename to docs/models/gitsourcerepoid.md diff --git a/docs/models/gitsourcetype.md b/docs/models/gitsourcetype.md new file mode 100644 index 00000000..4e92b8fa --- /dev/null +++ b/docs/models/gitsourcetype.md @@ -0,0 +1,15 @@ +# GitSourceType + +## Example Usage + +```typescript +import { GitSourceType } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: GitSourceType = "github"; +``` + +## Values + +```typescript +"github" +``` \ No newline at end of file diff --git a/docs/models/gituserid.md b/docs/models/gituserid.md new file mode 100644 index 00000000..ab895d2c --- /dev/null +++ b/docs/models/gituserid.md @@ -0,0 +1,17 @@ +# GitUserId + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 5082.71; +``` + diff --git a/docs/models/handle.md b/docs/models/handle.md new file mode 100644 index 00000000..325d4ff0 --- /dev/null +++ b/docs/models/handle.md @@ -0,0 +1,15 @@ +# Handle + +## Example Usage + +```typescript +import { Handle } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: Handle = "init"; +``` + +## Values + +```typescript +"init" | "finalize" +``` \ No newline at end of file diff --git a/docs/models/has.md b/docs/models/has.md new file mode 100644 index 00000000..40afbde9 --- /dev/null +++ b/docs/models/has.md @@ -0,0 +1,19 @@ +# Has + +## Example Usage + +```typescript +import { Has } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: Has = { + type: "region", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType](../models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecuritytype.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *models.UpdateProjectDataCacheProjectsValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/has1.md b/docs/models/has1.md new file mode 100644 index 00000000..ee85ff4b --- /dev/null +++ b/docs/models/has1.md @@ -0,0 +1,19 @@ +# Has1 + +## Example Usage + +```typescript +import { Has1 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: Has1 = { + type: "host", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `type` | [models.HasType](../models/hastype.md) | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/has2.md b/docs/models/has2.md new file mode 100644 index 00000000..b262c3bb --- /dev/null +++ b/docs/models/has2.md @@ -0,0 +1,20 @@ +# Has2 + +## Example Usage + +```typescript +import { Has2 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: Has2 = { + type: "cookie", + key: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `type` | [models.CreateDeploymentHasType](../models/createdeploymenthastype.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/hastype.md b/docs/models/hastype.md new file mode 100644 index 00000000..ac407d99 --- /dev/null +++ b/docs/models/hastype.md @@ -0,0 +1,15 @@ +# HasType + +## Example Usage + +```typescript +import { HasType } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: HasType = "host"; +``` + +## Values + +```typescript +"host" +``` \ No newline at end of file diff --git a/docs/models/operations/heightlighteddetails.md b/docs/models/heightlighteddetails.md similarity index 83% rename from docs/models/operations/heightlighteddetails.md rename to docs/models/heightlighteddetails.md index 7dc4f528..4355fa73 100644 --- a/docs/models/operations/heightlighteddetails.md +++ b/docs/models/heightlighteddetails.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { HeightlightedDetails } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { HeightlightedDetails } from "@vercel/sdk/models/getconfigurationsop.js"; let value: HeightlightedDetails = { label: "", diff --git a/docs/models/operations/https.md b/docs/models/https.md similarity index 87% rename from docs/models/operations/https.md rename to docs/models/https.md index 96dd0e25..0bb68c8e 100644 --- a/docs/models/operations/https.md +++ b/docs/models/https.md @@ -3,10 +3,10 @@ ## Example Usage ```typescript -import { Https } from "@vercel/sdk/models/operations/updaterecord.js"; +import { Https } from "@vercel/sdk/models/updaterecordop.js"; let value: Https = { - priority: 769789, + priority: 898826, target: "example2.com.", }; ``` diff --git a/docs/models/id.md b/docs/models/id.md new file mode 100644 index 00000000..aa9fbb28 --- /dev/null +++ b/docs/models/id.md @@ -0,0 +1,15 @@ +# Id + +## Example Usage + +```typescript +import { Id } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: Id = "sqli"; +``` + +## Values + +```typescript +"sd" | "ma" | "lfi" | "rfi" | "rce" | "php" | "gen" | "xss" | "sqli" | "sf" | "java" +``` \ No newline at end of file diff --git a/docs/models/components/importflowgitnamespace.md b/docs/models/importflowgitnamespace.md similarity index 82% rename from docs/models/components/importflowgitnamespace.md rename to docs/models/importflowgitnamespace.md index c38c6bb9..87e6c833 100644 --- a/docs/models/components/importflowgitnamespace.md +++ b/docs/models/importflowgitnamespace.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 2063.73; +const value: number = 3078.74; ``` diff --git a/docs/models/components/importflowgitnamespaceid.md b/docs/models/importflowgitnamespaceid.md similarity index 82% rename from docs/models/components/importflowgitnamespaceid.md rename to docs/models/importflowgitnamespaceid.md index bd84bcd3..045ddb26 100644 --- a/docs/models/components/importflowgitnamespaceid.md +++ b/docs/models/importflowgitnamespaceid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1609.10; +const value: number = 9454.31; ``` diff --git a/docs/models/importflowgitprovider.md b/docs/models/importflowgitprovider.md new file mode 100644 index 00000000..a606e36e --- /dev/null +++ b/docs/models/importflowgitprovider.md @@ -0,0 +1,15 @@ +# ImportFlowGitProvider + +## Example Usage + +```typescript +import { ImportFlowGitProvider } from "@vercel/sdk/models/authuser.js"; + +let value: ImportFlowGitProvider = "github"; +``` + +## Values + +```typescript +"github" | "gitlab" | "bitbucket" +``` \ No newline at end of file diff --git a/docs/models/operations/inlinedfile.md b/docs/models/inlinedfile.md similarity index 95% rename from docs/models/operations/inlinedfile.md rename to docs/models/inlinedfile.md index e2e6ae7f..8fe5c1cb 100644 --- a/docs/models/operations/inlinedfile.md +++ b/docs/models/inlinedfile.md @@ -5,7 +5,7 @@ Used in the case you want to inline a file inside the request ## Example Usage ```typescript -import { InlinedFile } from "@vercel/sdk/models/operations/createdeployment.js"; +import { InlinedFile } from "@vercel/sdk/models/createdeploymentop.js"; let value: InlinedFile = { data: "", @@ -18,5 +18,5 @@ let value: InlinedFile = { | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | | `data` | *string* | :heavy_check_mark: | The file content, it could be either a `base64` (useful for images, etc.) of the files or the plain content for source code | | -| `encoding` | [operations.Encoding](../../models/operations/encoding.md) | :heavy_minus_sign: | The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code. | | +| `encoding` | [models.Encoding](../models/encoding.md) | :heavy_minus_sign: | The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code. | | | `file` | *string* | :heavy_check_mark: | The file name including the whole path | folder/file.js | \ No newline at end of file diff --git a/docs/models/installationtype.md b/docs/models/installationtype.md new file mode 100644 index 00000000..3db51547 --- /dev/null +++ b/docs/models/installationtype.md @@ -0,0 +1,15 @@ +# InstallationType + +## Example Usage + +```typescript +import { InstallationType } from "@vercel/sdk/models/getconfigurationsop.js"; + +let value: InstallationType = "marketplace"; +``` + +## Values + +```typescript +"marketplace" | "external" +``` \ No newline at end of file diff --git a/docs/models/operations/integration.md b/docs/models/integration.md similarity index 92% rename from docs/models/operations/integration.md rename to docs/models/integration.md index bcf73fe2..cd83dadb 100644 --- a/docs/models/operations/integration.md +++ b/docs/models/integration.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Integration } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { Integration } from "@vercel/sdk/models/getconfigurationsop.js"; let value: Integration = { name: "", diff --git a/docs/models/integrations.md b/docs/models/integrations.md new file mode 100644 index 00000000..7caacd3c --- /dev/null +++ b/docs/models/integrations.md @@ -0,0 +1,22 @@ +# Integrations + +## Example Usage + +```typescript +import { Integrations } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: Integrations = { + status: "timeout", + startedAt: 2942.66, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `status` | [models.CreateDeploymentDeploymentsStatus](../models/createdeploymentdeploymentsstatus.md) | :heavy_check_mark: | N/A | +| `startedAt` | *number* | :heavy_check_mark: | N/A | +| `completedAt` | *number* | :heavy_minus_sign: | N/A | +| `skippedAt` | *number* | :heavy_minus_sign: | N/A | +| `skippedBy` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/internalcontenthint.md b/docs/models/internalcontenthint.md new file mode 100644 index 00000000..3b4f020a --- /dev/null +++ b/docs/models/internalcontenthint.md @@ -0,0 +1,21 @@ +# InternalContentHint + +Similar to `contentHints`, but should not be exposed to the user. + +## Example Usage + +```typescript +import { InternalContentHint } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: InternalContentHint = { + type: "flags-secret", + encryptedValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType](../models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/inviteusertoteamprojects.md b/docs/models/inviteusertoteamprojects.md new file mode 100644 index 00000000..f7cd879d --- /dev/null +++ b/docs/models/inviteusertoteamprojects.md @@ -0,0 +1,19 @@ +# InviteUserToTeamProjects + +## Example Usage + +```typescript +import { InviteUserToTeamProjects } from "@vercel/sdk/models/inviteusertoteamop.js"; + +let value: InviteUserToTeamProjects = { + projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", + role: "ADMIN", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `projectId` | *string* | :heavy_check_mark: | The ID of the project. | prj_ndlgr43fadlPyCtREAqxxdyFK | +| `role` | [models.InviteUserToTeamTeamsRole](../models/inviteusertoteamteamsrole.md) | :heavy_check_mark: | Sets the project roles for the invited user | ADMIN | \ No newline at end of file diff --git a/docs/models/inviteusertoteamrequest.md b/docs/models/inviteusertoteamrequest.md new file mode 100644 index 00000000..90d00d0a --- /dev/null +++ b/docs/models/inviteusertoteamrequest.md @@ -0,0 +1,29 @@ +# InviteUserToTeamRequest + +## Example Usage + +```typescript +import { InviteUserToTeamRequest } from "@vercel/sdk/models/inviteusertoteamop.js"; + +let value: InviteUserToTeamRequest = { + teamId: "", + requestBody: { + uid: "kr1PsOIzqEL5Xg6M4VZcZosf", + email: "john@example.com", + role: "BILLING", + projects: [ + { + projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", + role: "ADMIN", + }, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `teamId` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [models.InviteUserToTeamRequestBody](../models/inviteusertoteamrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/inviteusertoteamrequestbody.md b/docs/models/inviteusertoteamrequestbody.md new file mode 100644 index 00000000..30accdbe --- /dev/null +++ b/docs/models/inviteusertoteamrequestbody.md @@ -0,0 +1,28 @@ +# InviteUserToTeamRequestBody + +## Example Usage + +```typescript +import { InviteUserToTeamRequestBody } from "@vercel/sdk/models/inviteusertoteamop.js"; + +let value: InviteUserToTeamRequestBody = { + uid: "kr1PsOIzqEL5Xg6M4VZcZosf", + email: "john@example.com", + role: "DEVELOPER", + projects: [ + { + projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", + role: "ADMIN", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `uid` | *string* | :heavy_minus_sign: | The id of the user to invite | kr1PsOIzqEL5Xg6M4VZcZosf | +| `email` | *string* | :heavy_minus_sign: | The email address of the user to invite | john@example.com | +| `role` | [models.InviteUserToTeamRole](../models/inviteusertoteamrole.md) | :heavy_minus_sign: | The role of the user to invite | [
"MEMBER",
"VIEWER"
] | +| `projects` | [models.InviteUserToTeamProjects](../models/inviteusertoteamprojects.md)[] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/inviteusertoteamresponsebody.md b/docs/models/inviteusertoteamresponsebody.md new file mode 100644 index 00000000..c07ce0f5 --- /dev/null +++ b/docs/models/inviteusertoteamresponsebody.md @@ -0,0 +1,28 @@ +# InviteUserToTeamResponseBody + +The member was successfully added to the team + + +## Supported Types + +### `models.InviteUserToTeamResponseBody1` + +```typescript +const value: models.InviteUserToTeamResponseBody1 = { + uid: "kr1PsOIzqEL5Xg6M4VZcZosf", + username: "john-doe", + email: "john@user.co", + role: "MEMBER", +}; +``` + +### `models.InviteUserToTeamResponseBody2` + +```typescript +const value: models.InviteUserToTeamResponseBody2 = { + uid: "", + username: "Gino30", + role: "MEMBER", +}; +``` + diff --git a/docs/models/operations/inviteusertoteamresponsebody1.md b/docs/models/inviteusertoteamresponsebody1.md similarity index 94% rename from docs/models/operations/inviteusertoteamresponsebody1.md rename to docs/models/inviteusertoteamresponsebody1.md index 24e69543..77fee98f 100644 --- a/docs/models/operations/inviteusertoteamresponsebody1.md +++ b/docs/models/inviteusertoteamresponsebody1.md @@ -5,7 +5,7 @@ The member was successfully added to the team ## Example Usage ```typescript -import { InviteUserToTeamResponseBody1 } from "@vercel/sdk/models/operations/inviteusertoteam.js"; +import { InviteUserToTeamResponseBody1 } from "@vercel/sdk/models/inviteusertoteamop.js"; let value: InviteUserToTeamResponseBody1 = { uid: "kr1PsOIzqEL5Xg6M4VZcZosf", @@ -22,4 +22,4 @@ let value: InviteUserToTeamResponseBody1 = { | `uid` | *string* | :heavy_check_mark: | The ID of the invited user | kr1PsOIzqEL5Xg6M4VZcZosf | | `username` | *string* | :heavy_check_mark: | The username of the invited user | john-doe | | `email` | *string* | :heavy_minus_sign: | The email of the invited user. Not included if the user was invited via their UID. | john@user.co | -| `role` | [operations.ResponseBodyRole](../../models/operations/responsebodyrole.md) | :heavy_check_mark: | The role used for the invitation | MEMBER | \ No newline at end of file +| `role` | [models.ResponseBodyRole](../models/responsebodyrole.md) | :heavy_check_mark: | The role used for the invitation | MEMBER | \ No newline at end of file diff --git a/docs/models/inviteusertoteamresponsebody2.md b/docs/models/inviteusertoteamresponsebody2.md new file mode 100644 index 00000000..1d1c1171 --- /dev/null +++ b/docs/models/inviteusertoteamresponsebody2.md @@ -0,0 +1,21 @@ +# InviteUserToTeamResponseBody2 + +## Example Usage + +```typescript +import { InviteUserToTeamResponseBody2 } from "@vercel/sdk/models/inviteusertoteamop.js"; + +let value: InviteUserToTeamResponseBody2 = { + uid: "", + username: "Kamille68", + role: "VIEWER", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `uid` | *string* | :heavy_check_mark: | N/A | +| `username` | *string* | :heavy_check_mark: | N/A | +| `role` | [models.InviteUserToTeamResponseBodyRole](../models/inviteusertoteamresponsebodyrole.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/inviteusertoteamresponsebodyrole.md b/docs/models/inviteusertoteamresponsebodyrole.md new file mode 100644 index 00000000..17126c5d --- /dev/null +++ b/docs/models/inviteusertoteamresponsebodyrole.md @@ -0,0 +1,15 @@ +# InviteUserToTeamResponseBodyRole + +## Example Usage + +```typescript +import { InviteUserToTeamResponseBodyRole } from "@vercel/sdk/models/inviteusertoteamop.js"; + +let value: InviteUserToTeamResponseBodyRole = "VIEWER"; +``` + +## Values + +```typescript +"OWNER" | "MEMBER" | "DEVELOPER" | "BILLING" | "VIEWER" | "CONTRIBUTOR" +``` \ No newline at end of file diff --git a/docs/models/inviteusertoteamrole.md b/docs/models/inviteusertoteamrole.md new file mode 100644 index 00000000..0f93532b --- /dev/null +++ b/docs/models/inviteusertoteamrole.md @@ -0,0 +1,17 @@ +# InviteUserToTeamRole + +The role of the user to invite + +## Example Usage + +```typescript +import { InviteUserToTeamRole } from "@vercel/sdk/models/inviteusertoteamop.js"; + +let value: InviteUserToTeamRole = "VIEWER"; +``` + +## Values + +```typescript +"OWNER" | "MEMBER" | "DEVELOPER" | "BILLING" | "VIEWER" | "CONTRIBUTOR" +``` \ No newline at end of file diff --git a/docs/models/inviteusertoteamteamsrole.md b/docs/models/inviteusertoteamteamsrole.md new file mode 100644 index 00000000..253aa711 --- /dev/null +++ b/docs/models/inviteusertoteamteamsrole.md @@ -0,0 +1,17 @@ +# InviteUserToTeamTeamsRole + +Sets the project roles for the invited user + +## Example Usage + +```typescript +import { InviteUserToTeamTeamsRole } from "@vercel/sdk/models/inviteusertoteamop.js"; + +let value: InviteUserToTeamTeamsRole = "ADMIN"; +``` + +## Values + +```typescript +"ADMIN" | "PROJECT_VIEWER" | "PROJECT_DEVELOPER" +``` \ No newline at end of file diff --git a/docs/models/operations/ipbuckets.md b/docs/models/ipbuckets.md similarity index 84% rename from docs/models/operations/ipbuckets.md rename to docs/models/ipbuckets.md index c5017581..63c6b296 100644 --- a/docs/models/operations/ipbuckets.md +++ b/docs/models/ipbuckets.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { IpBuckets } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { IpBuckets } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: IpBuckets = { bucket: "", diff --git a/docs/models/ips.md b/docs/models/ips.md new file mode 100644 index 00000000..92aca445 --- /dev/null +++ b/docs/models/ips.md @@ -0,0 +1,23 @@ +# Ips + +## Example Usage + +```typescript +import { Ips } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Ips = { + hostname: "separate-electronics.org", + ip: "e0c6:cdb2:bdfc:ffeb:ad02:2a7e:d8be:ecd1", + action: "bypass", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `hostname` | *string* | :heavy_check_mark: | N/A | +| `ip` | *string* | :heavy_check_mark: | N/A | +| `notes` | *string* | :heavy_minus_sign: | N/A | +| `action` | [models.PutFirewallConfigSecurityRequestRequestBodyIpsAction](../models/putfirewallconfigsecurityrequestrequestbodyipsaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/issuecertrequest.md b/docs/models/issuecertrequest.md new file mode 100644 index 00000000..b166400c --- /dev/null +++ b/docs/models/issuecertrequest.md @@ -0,0 +1,19 @@ +# IssueCertRequest + +## Example Usage + +```typescript +import { IssueCertRequest } from "@vercel/sdk/models/issuecertop.js"; + +let value: IssueCertRequest = { + requestBody: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.IssueCertRequestBody](../models/issuecertrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/issuecertrequestbody.md b/docs/models/issuecertrequestbody.md similarity index 89% rename from docs/models/operations/issuecertrequestbody.md rename to docs/models/issuecertrequestbody.md index a451832a..72c4031d 100644 --- a/docs/models/operations/issuecertrequestbody.md +++ b/docs/models/issuecertrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { IssueCertRequestBody } from "@vercel/sdk/models/operations/issuecert.js"; +import { IssueCertRequestBody } from "@vercel/sdk/models/issuecertop.js"; let value: IssueCertRequestBody = {}; ``` diff --git a/docs/models/operations/issuecertresponsebody.md b/docs/models/issuecertresponsebody.md similarity index 85% rename from docs/models/operations/issuecertresponsebody.md rename to docs/models/issuecertresponsebody.md index 5a82d044..9647a4ca 100644 --- a/docs/models/operations/issuecertresponsebody.md +++ b/docs/models/issuecertresponsebody.md @@ -3,12 +3,12 @@ ## Example Usage ```typescript -import { IssueCertResponseBody } from "@vercel/sdk/models/operations/issuecert.js"; +import { IssueCertResponseBody } from "@vercel/sdk/models/issuecertop.js"; let value: IssueCertResponseBody = { id: "", - createdAt: 1664.81, - expiresAt: 5319.67, + createdAt: 220.18, + expiresAt: 7340.76, autoRenew: false, cns: [ "", diff --git a/docs/models/issuermode.md b/docs/models/issuermode.md new file mode 100644 index 00000000..d885a6c5 --- /dev/null +++ b/docs/models/issuermode.md @@ -0,0 +1,17 @@ +# IssuerMode + +team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` + +## Example Usage + +```typescript +import { IssuerMode } from "@vercel/sdk/models/createprojectop.js"; + +let value: IssuerMode = "global"; +``` + +## Values + +```typescript +"team" | "global" +``` \ No newline at end of file diff --git a/docs/models/items.md b/docs/models/items.md new file mode 100644 index 00000000..2619fc43 --- /dev/null +++ b/docs/models/items.md @@ -0,0 +1,19 @@ +# Items + + +## Supported Types + +### `models.Items1` + +```typescript +const value: models.Items1 = ""; +``` + +### `models.Items2[]` + +```typescript +const value: models.Items2[] = [ + "", +]; +``` + diff --git a/docs/models/operations/items1.md b/docs/models/items1.md similarity index 75% rename from docs/models/operations/items1.md rename to docs/models/items1.md index fa6ed9e9..7a8ba0e5 100644 --- a/docs/models/operations/items1.md +++ b/docs/models/items1.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 9191.71; +const value: number = 1988.92; ``` ### `boolean` @@ -27,9 +27,9 @@ const value: boolean = false; const value: any = ""; ``` -### `operations.One5` +### `models.One5` ```typescript -const value: operations.One5 = {}; +const value: models.One5 = {}; ``` diff --git a/docs/models/operations/items2.md b/docs/models/items2.md similarity index 75% rename from docs/models/operations/items2.md rename to docs/models/items2.md index 0f2232b5..2b45b8ba 100644 --- a/docs/models/operations/items2.md +++ b/docs/models/items2.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1465.84; +const value: number = 9906.52; ``` ### `boolean` @@ -27,9 +27,9 @@ const value: boolean = false; const value: any = ""; ``` -### `operations.Two5` +### `models.Two5` ```typescript -const value: operations.Two5 = {}; +const value: models.Two5 = {}; ``` diff --git a/docs/models/java.md b/docs/models/java.md new file mode 100644 index 00000000..f8edee8c --- /dev/null +++ b/docs/models/java.md @@ -0,0 +1,21 @@ +# Java + +Java Attack - Mitigate risks of exploitation targeting Java-based applications or components. + +## Example Usage + +```typescript +import { Java } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Java = { + active: false, + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction](../models/putfirewallconfigsecurityrequestrequestbodycrsjavaaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/jobstatus.md b/docs/models/jobstatus.md new file mode 100644 index 00000000..dad1a837 --- /dev/null +++ b/docs/models/jobstatus.md @@ -0,0 +1,15 @@ +# JobStatus + +## Example Usage + +```typescript +import { JobStatus } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: JobStatus = "succeeded"; +``` + +## Values + +```typescript +"succeeded" | "failed" | "skipped" | "pending" | "in-progress" +``` \ No newline at end of file diff --git a/docs/models/joinedfrom.md b/docs/models/joinedfrom.md new file mode 100644 index 00000000..dca14bc1 --- /dev/null +++ b/docs/models/joinedfrom.md @@ -0,0 +1,27 @@ +# JoinedFrom + +## Example Usage + +```typescript +import { JoinedFrom } from "@vercel/sdk/models/teamlimited.js"; + +let value: JoinedFrom = { + origin: "dsync", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `origin` | [models.Origin](../models/origin.md) | :heavy_check_mark: | N/A | +| `commitId` | *string* | :heavy_minus_sign: | N/A | +| `repoId` | *string* | :heavy_minus_sign: | N/A | +| `repoPath` | *string* | :heavy_minus_sign: | N/A | +| `gitUserId` | *models.GitUserId* | :heavy_minus_sign: | N/A | +| `gitUserLogin` | *string* | :heavy_minus_sign: | N/A | +| `ssoUserId` | *string* | :heavy_minus_sign: | N/A | +| `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | +| `idpUserId` | *string* | :heavy_minus_sign: | N/A | +| `dsyncUserId` | *string* | :heavy_minus_sign: | N/A | +| `dsyncConnectedAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/jointeamrequest.md b/docs/models/jointeamrequest.md new file mode 100644 index 00000000..4261af02 --- /dev/null +++ b/docs/models/jointeamrequest.md @@ -0,0 +1,21 @@ +# JoinTeamRequest + +## Example Usage + +```typescript +import { JoinTeamRequest } from "@vercel/sdk/models/jointeamop.js"; + +let value: JoinTeamRequest = { + teamId: "", + requestBody: { + inviteCode: "fisdh38aejkeivn34nslfore9vjtn4ls", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `teamId` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [models.JoinTeamRequestBody](../models/jointeamrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/jointeamrequestbody.md b/docs/models/jointeamrequestbody.md similarity index 89% rename from docs/models/operations/jointeamrequestbody.md rename to docs/models/jointeamrequestbody.md index 12e48398..7aa74123 100644 --- a/docs/models/operations/jointeamrequestbody.md +++ b/docs/models/jointeamrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { JoinTeamRequestBody } from "@vercel/sdk/models/operations/jointeam.js"; +import { JoinTeamRequestBody } from "@vercel/sdk/models/jointeamop.js"; let value: JoinTeamRequestBody = { inviteCode: "fisdh38aejkeivn34nslfore9vjtn4ls", diff --git a/docs/models/operations/jointeamresponsebody.md b/docs/models/jointeamresponsebody.md similarity index 94% rename from docs/models/operations/jointeamresponsebody.md rename to docs/models/jointeamresponsebody.md index 3ecac42f..627311b0 100644 --- a/docs/models/operations/jointeamresponsebody.md +++ b/docs/models/jointeamresponsebody.md @@ -5,7 +5,7 @@ Successfully joined a team. ## Example Usage ```typescript -import { JoinTeamResponseBody } from "@vercel/sdk/models/operations/jointeam.js"; +import { JoinTeamResponseBody } from "@vercel/sdk/models/jointeamop.js"; let value: JoinTeamResponseBody = { teamId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", diff --git a/docs/models/lambdas.md b/docs/models/lambdas.md new file mode 100644 index 00000000..a7569c59 --- /dev/null +++ b/docs/models/lambdas.md @@ -0,0 +1,29 @@ +# Lambdas + +A partial representation of a Build used by the deployment endpoint. + +## Example Usage + +```typescript +import { Lambdas } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: Lambdas = { + output: [ + { + path: "/usr", + functionName: "", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `entrypoint` | *string* | :heavy_minus_sign: | N/A | +| `readyState` | [models.CreateDeploymentReadyState](../models/createdeploymentreadystate.md) | :heavy_minus_sign: | N/A | +| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | +| `output` | [models.CreateDeploymentOutput](../models/createdeploymentoutput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/lastaliasrequest.md b/docs/models/lastaliasrequest.md new file mode 100644 index 00000000..94eec232 --- /dev/null +++ b/docs/models/lastaliasrequest.md @@ -0,0 +1,25 @@ +# LastAliasRequest + +## Example Usage + +```typescript +import { LastAliasRequest } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: LastAliasRequest = { + fromDeploymentId: "", + toDeploymentId: "", + jobStatus: "skipped", + requestedAt: 9619.36, + type: "promote", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `fromDeploymentId` | *string* | :heavy_check_mark: | N/A | +| `toDeploymentId` | *string* | :heavy_check_mark: | N/A | +| `jobStatus` | [models.JobStatus](../models/jobstatus.md) | :heavy_check_mark: | N/A | +| `requestedAt` | *number* | :heavy_check_mark: | N/A | +| `type` | [models.UpdateProjectDataCacheProjectsResponseType](../models/updateprojectdatacacheprojectsresponsetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/lastrollbacktarget.md b/docs/models/lastrollbacktarget.md new file mode 100644 index 00000000..70bbb077 --- /dev/null +++ b/docs/models/lastrollbacktarget.md @@ -0,0 +1,14 @@ +# LastRollbackTarget + +## Example Usage + +```typescript +import { LastRollbackTarget } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: LastRollbackTarget = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/latestdeployments.md b/docs/models/latestdeployments.md new file mode 100644 index 00000000..194510af --- /dev/null +++ b/docs/models/latestdeployments.md @@ -0,0 +1,68 @@ +# LatestDeployments + +## Example Usage + +```typescript +import { LatestDeployments } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: LatestDeployments = { + id: "", + createdAt: 6155.60, + createdIn: "", + creator: { + email: "Rosendo6@gmail.com", + uid: "", + username: "Jacey_Streich85", + }, + deploymentHostname: "", + name: "", + plan: "enterprise", + previewCommentsEnabled: false, + private: false, + readyState: "READY", + type: "LAMBDAS", + url: "https://misguided-avalanche.biz/", + userId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `alias` | *string*[] | :heavy_minus_sign: | N/A | | +| `aliasAssigned` | *models.AliasAssigned* | :heavy_minus_sign: | N/A | | +| `aliasError` | [models.UpdateProjectDataCacheProjectsAliasError](../models/updateprojectdatacacheprojectsaliaserror.md) | :heavy_minus_sign: | N/A | | +| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | +| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | +| `branchMatcher` | [models.BranchMatcher](../models/branchmatcher.md) | :heavy_minus_sign: | N/A | | +| `buildingAt` | *number* | :heavy_minus_sign: | N/A | | +| `builds` | [models.UpdateProjectDataCacheProjectsBuilds](../models/updateprojectdatacacheprojectsbuilds.md)[] | :heavy_minus_sign: | N/A | | +| `checksConclusion` | [models.UpdateProjectDataCacheProjectsChecksConclusion](../models/updateprojectdatacacheprojectschecksconclusion.md) | :heavy_minus_sign: | N/A | | +| `checksState` | [models.UpdateProjectDataCacheProjectsChecksState](../models/updateprojectdatacacheprojectschecksstate.md) | :heavy_minus_sign: | N/A | | +| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | +| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | +| `createdAt` | *number* | :heavy_check_mark: | N/A | | +| `createdIn` | *string* | :heavy_check_mark: | N/A | | +| `creator` | [models.UpdateProjectDataCacheProjectsCreator](../models/updateprojectdatacacheprojectscreator.md) | :heavy_check_mark: | N/A | | +| `deletedAt` | *number* | :heavy_minus_sign: | N/A | | +| `deploymentHostname` | *string* | :heavy_check_mark: | N/A | | +| `forced` | *boolean* | :heavy_minus_sign: | N/A | | +| `name` | *string* | :heavy_check_mark: | N/A | | +| `meta` | Record | :heavy_minus_sign: | N/A | | +| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | +| `oidcTokenClaims` | [models.UpdateProjectDataCacheProjectsOidcTokenClaims](../models/updateprojectdatacacheprojectsoidctokenclaims.md) | :heavy_minus_sign: | N/A | | +| `plan` | [models.UpdateProjectDataCacheProjectsPlan](../models/updateprojectdatacacheprojectsplan.md) | :heavy_check_mark: | N/A | | +| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | +| `private` | *boolean* | :heavy_check_mark: | N/A | | +| `readyAt` | *number* | :heavy_minus_sign: | N/A | | +| `readyState` | [models.UpdateProjectDataCacheProjectsReadyState](../models/updateprojectdatacacheprojectsreadystate.md) | :heavy_check_mark: | N/A | | +| `readySubstate` | [models.UpdateProjectDataCacheProjectsReadySubstate](../models/updateprojectdatacacheprojectsreadysubstate.md) | :heavy_minus_sign: | N/A | | +| `requestedAt` | *number* | :heavy_minus_sign: | N/A | | +| `target` | *string* | :heavy_minus_sign: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | | +| `type` | [models.UpdateProjectDataCacheType](../models/updateprojectdatacachetype.md) | :heavy_check_mark: | N/A | | +| `url` | *string* | :heavy_check_mark: | N/A | | +| `userId` | *string* | :heavy_check_mark: | N/A | | +| `withCache` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/lcp.md b/docs/models/lcp.md new file mode 100644 index 00000000..91800acd --- /dev/null +++ b/docs/models/lcp.md @@ -0,0 +1,21 @@ +# Lcp + +## Example Usage + +```typescript +import { Lcp } from "@vercel/sdk/models/updatecheckop.js"; + +let value: Lcp = { + value: 1200, + previousValue: 1000, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | Largest Contentful Paint value | 1200 | +| `previousValue` | *number* | :heavy_minus_sign: | Previous Largest Contentful Paint value to display a delta | 1000 | +| `source` | [models.UpdateCheckChecksSource](../models/updatecheckcheckssource.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/lfi.md b/docs/models/lfi.md new file mode 100644 index 00000000..aa39386b --- /dev/null +++ b/docs/models/lfi.md @@ -0,0 +1,21 @@ +# Lfi + +Local File Inclusion Attack - Prevent unauthorized access to local files through web applications. + +## Example Usage + +```typescript +import { Lfi } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Lfi = { + active: false, + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityRequestAction](../models/putfirewallconfigsecurityrequestaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/link.md b/docs/models/link.md similarity index 75% rename from docs/models/operations/link.md rename to docs/models/link.md index 1d436c1a..3beaee43 100644 --- a/docs/models/operations/link.md +++ b/docs/models/link.md @@ -3,10 +3,10 @@ ## Supported Types -### `operations.Link1` +### `models.Link1` ```typescript -const value: operations.Link1 = { +const value: models.Link1 = { deployHooks: [ { id: "", @@ -18,10 +18,10 @@ const value: operations.Link1 = { }; ``` -### `operations.Link2` +### `models.Link2` ```typescript -const value: operations.Link2 = { +const value: models.Link2 = { deployHooks: [ { id: "", @@ -33,10 +33,10 @@ const value: operations.Link2 = { }; ``` -### `operations.Link3` +### `models.Link3` ```typescript -const value: operations.Link3 = { +const value: models.Link3 = { deployHooks: [ { id: "", diff --git a/docs/models/operations/link1.md b/docs/models/link1.md similarity index 96% rename from docs/models/operations/link1.md rename to docs/models/link1.md index 2b426fab..22f236b4 100644 --- a/docs/models/operations/link1.md +++ b/docs/models/link1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Link1 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { Link1 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: Link1 = { deployHooks: [ @@ -25,9 +25,9 @@ let value: Link1 = { | `repoOwnerId` | *number* | :heavy_minus_sign: | A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. | | `repo` | *string* | :heavy_minus_sign: | N/A | | `repoId` | *number* | :heavy_minus_sign: | N/A | -| `type` | [operations.LinkType](../../models/operations/linktype.md) | :heavy_minus_sign: | N/A | +| `type` | [models.LinkType](../models/linktype.md) | :heavy_minus_sign: | N/A | | `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `deployHooks` | [operations.DeployHooks](../../models/operations/deployhooks.md)[] | :heavy_check_mark: | N/A | +| `deployHooks` | [models.DeployHooks](../models/deployhooks.md)[] | :heavy_check_mark: | N/A | | `gitCredentialId` | *string* | :heavy_minus_sign: | N/A | | `updatedAt` | *number* | :heavy_minus_sign: | N/A | | `sourceless` | *boolean* | :heavy_minus_sign: | N/A | diff --git a/docs/models/operations/link2.md b/docs/models/link2.md similarity index 97% rename from docs/models/operations/link2.md rename to docs/models/link2.md index 434b8613..5fddc037 100644 --- a/docs/models/operations/link2.md +++ b/docs/models/link2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Link2 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { Link2 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: Link2 = { deployHooks: [ @@ -27,9 +27,9 @@ let value: Link2 = { | `projectNamespace` | *string* | :heavy_minus_sign: | N/A | | `projectOwnerId` | *number* | :heavy_minus_sign: | A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. This is the id of the top level group that a namespace belongs to. Gitlab supports group nesting (up to 20 levels). | | `projectUrl` | *string* | :heavy_minus_sign: | N/A | -| `type` | [operations.UpdateProjectDataCacheLinkType](../../models/operations/updateprojectdatacachelinktype.md) | :heavy_minus_sign: | N/A | +| `type` | [models.UpdateProjectDataCacheLinkType](../models/updateprojectdatacachelinktype.md) | :heavy_minus_sign: | N/A | | `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `deployHooks` | [operations.LinkDeployHooks](../../models/operations/linkdeployhooks.md)[] | :heavy_check_mark: | N/A | +| `deployHooks` | [models.LinkDeployHooks](../models/linkdeployhooks.md)[] | :heavy_check_mark: | N/A | | `gitCredentialId` | *string* | :heavy_minus_sign: | N/A | | `updatedAt` | *number* | :heavy_minus_sign: | N/A | | `sourceless` | *boolean* | :heavy_minus_sign: | N/A | diff --git a/docs/models/link3.md b/docs/models/link3.md new file mode 100644 index 00000000..64074bec --- /dev/null +++ b/docs/models/link3.md @@ -0,0 +1,35 @@ +# Link3 + +## Example Usage + +```typescript +import { Link3 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: Link3 = { + deployHooks: [ + { + id: "", + name: "", + ref: "", + url: "https://same-alligator.com", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `slug` | *string* | :heavy_minus_sign: | N/A | +| `owner` | *string* | :heavy_minus_sign: | N/A | +| `type` | [models.UpdateProjectDataCacheLinkProjectsType](../models/updateprojectdatacachelinkprojectstype.md) | :heavy_minus_sign: | N/A | +| `uuid` | *string* | :heavy_minus_sign: | N/A | +| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `deployHooks` | [models.UpdateProjectDataCacheLinkDeployHooks](../models/updateprojectdatacachelinkdeployhooks.md)[] | :heavy_check_mark: | N/A | +| `gitCredentialId` | *string* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `sourceless` | *boolean* | :heavy_minus_sign: | N/A | +| `productionBranch` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/linkdeployhooks.md b/docs/models/linkdeployhooks.md similarity index 89% rename from docs/models/operations/linkdeployhooks.md rename to docs/models/linkdeployhooks.md index d0fdc269..4525136b 100644 --- a/docs/models/operations/linkdeployhooks.md +++ b/docs/models/linkdeployhooks.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { LinkDeployHooks } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { LinkDeployHooks } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: LinkDeployHooks = { id: "", diff --git a/docs/models/linktype.md b/docs/models/linktype.md new file mode 100644 index 00000000..1606216d --- /dev/null +++ b/docs/models/linktype.md @@ -0,0 +1,15 @@ +# LinkType + +## Example Usage + +```typescript +import { LinkType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: LinkType = "github"; +``` + +## Values + +```typescript +"github" +``` \ No newline at end of file diff --git a/docs/models/listaccessgroupmemberspagination.md b/docs/models/listaccessgroupmemberspagination.md new file mode 100644 index 00000000..5d1886b6 --- /dev/null +++ b/docs/models/listaccessgroupmemberspagination.md @@ -0,0 +1,19 @@ +# ListAccessGroupMembersPagination + +## Example Usage + +```typescript +import { ListAccessGroupMembersPagination } from "@vercel/sdk/models/listaccessgroupmembersop.js"; + +let value: ListAccessGroupMembersPagination = { + count: 871.29, + next: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `count` | *number* | :heavy_check_mark: | N/A | +| `next` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listaccessgroupmembersrequest.md b/docs/models/listaccessgroupmembersrequest.md similarity index 98% rename from docs/models/operations/listaccessgroupmembersrequest.md rename to docs/models/listaccessgroupmembersrequest.md index 3b7a2010..72040057 100644 --- a/docs/models/operations/listaccessgroupmembersrequest.md +++ b/docs/models/listaccessgroupmembersrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListAccessGroupMembersRequest } from "@vercel/sdk/models/operations/listaccessgroupmembers.js"; +import { ListAccessGroupMembersRequest } from "@vercel/sdk/models/listaccessgroupmembersop.js"; let value: ListAccessGroupMembersRequest = { idOrName: "ag_pavWOn1iLObbXLRiwVvzmPrTWyTf", diff --git a/docs/models/listaccessgroupmembersresponsebody.md b/docs/models/listaccessgroupmembersresponsebody.md new file mode 100644 index 00000000..ff94011d --- /dev/null +++ b/docs/models/listaccessgroupmembersresponsebody.md @@ -0,0 +1,29 @@ +# ListAccessGroupMembersResponseBody + +## Example Usage + +```typescript +import { ListAccessGroupMembersResponseBody } from "@vercel/sdk/models/listaccessgroupmembersop.js"; + +let value: ListAccessGroupMembersResponseBody = { + members: [ + { + email: "Rita_Strosin@gmail.com", + uid: "", + username: "Osborne.Nikolaus", + teamRole: "DEVELOPER", + }, + ], + pagination: { + count: 2645.56, + next: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `members` | [models.Members](../models/members.md)[] | :heavy_check_mark: | N/A | +| `pagination` | [models.ListAccessGroupMembersPagination](../models/listaccessgroupmemberspagination.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listaccessgroupprojectspagination.md b/docs/models/listaccessgroupprojectspagination.md similarity index 92% rename from docs/models/operations/listaccessgroupprojectspagination.md rename to docs/models/listaccessgroupprojectspagination.md index 1b4eea5c..b78be3fc 100644 --- a/docs/models/operations/listaccessgroupprojectspagination.md +++ b/docs/models/listaccessgroupprojectspagination.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListAccessGroupProjectsPagination } from "@vercel/sdk/models/operations/listaccessgroupprojects.js"; +import { ListAccessGroupProjectsPagination } from "@vercel/sdk/models/listaccessgroupprojectsop.js"; let value: ListAccessGroupProjectsPagination = { count: 9437.48, diff --git a/docs/models/operations/listaccessgroupprojectsproject.md b/docs/models/listaccessgroupprojectsproject.md similarity index 93% rename from docs/models/operations/listaccessgroupprojectsproject.md rename to docs/models/listaccessgroupprojectsproject.md index 384e2abe..35a1f380 100644 --- a/docs/models/operations/listaccessgroupprojectsproject.md +++ b/docs/models/listaccessgroupprojectsproject.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListAccessGroupProjectsProject } from "@vercel/sdk/models/operations/listaccessgroupprojects.js"; +import { ListAccessGroupProjectsProject } from "@vercel/sdk/models/listaccessgroupprojectsop.js"; let value: ListAccessGroupProjectsProject = {}; ``` diff --git a/docs/models/listaccessgroupprojectsprojects.md b/docs/models/listaccessgroupprojectsprojects.md new file mode 100644 index 00000000..ed0a4233 --- /dev/null +++ b/docs/models/listaccessgroupprojectsprojects.md @@ -0,0 +1,25 @@ +# ListAccessGroupProjectsProjects + +## Example Usage + +```typescript +import { ListAccessGroupProjectsProjects } from "@vercel/sdk/models/listaccessgroupprojectsop.js"; + +let value: ListAccessGroupProjectsProjects = { + projectId: "", + role: "PROJECT_DEVELOPER", + createdAt: "", + updatedAt: "", + project: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `role` | [models.ListAccessGroupProjectsRole](../models/listaccessgroupprojectsrole.md) | :heavy_check_mark: | N/A | +| `createdAt` | *string* | :heavy_check_mark: | N/A | +| `updatedAt` | *string* | :heavy_check_mark: | N/A | +| `project` | [models.ListAccessGroupProjectsProject](../models/listaccessgroupprojectsproject.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listaccessgroupprojectsrequest.md b/docs/models/listaccessgroupprojectsrequest.md similarity index 98% rename from docs/models/operations/listaccessgroupprojectsrequest.md rename to docs/models/listaccessgroupprojectsrequest.md index 97e2773c..93d28fd9 100644 --- a/docs/models/operations/listaccessgroupprojectsrequest.md +++ b/docs/models/listaccessgroupprojectsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListAccessGroupProjectsRequest } from "@vercel/sdk/models/operations/listaccessgroupprojects.js"; +import { ListAccessGroupProjectsRequest } from "@vercel/sdk/models/listaccessgroupprojectsop.js"; let value: ListAccessGroupProjectsRequest = { idOrName: "ag_pavWOn1iLObbXLRiwVvzmPrTWyTf", diff --git a/docs/models/listaccessgroupprojectsresponsebody.md b/docs/models/listaccessgroupprojectsresponsebody.md new file mode 100644 index 00000000..9f67726d --- /dev/null +++ b/docs/models/listaccessgroupprojectsresponsebody.md @@ -0,0 +1,30 @@ +# ListAccessGroupProjectsResponseBody + +## Example Usage + +```typescript +import { ListAccessGroupProjectsResponseBody } from "@vercel/sdk/models/listaccessgroupprojectsop.js"; + +let value: ListAccessGroupProjectsResponseBody = { + projects: [ + { + projectId: "", + role: "PROJECT_VIEWER", + createdAt: "", + updatedAt: "", + project: {}, + }, + ], + pagination: { + count: 3595.08, + next: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `projects` | [models.ListAccessGroupProjectsProjects](../models/listaccessgroupprojectsprojects.md)[] | :heavy_check_mark: | N/A | +| `pagination` | [models.ListAccessGroupProjectsPagination](../models/listaccessgroupprojectspagination.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listaccessgroupprojectsrole.md b/docs/models/listaccessgroupprojectsrole.md similarity index 87% rename from docs/models/operations/listaccessgroupprojectsrole.md rename to docs/models/listaccessgroupprojectsrole.md index 7cb3ed3f..fb73949e 100644 --- a/docs/models/operations/listaccessgroupprojectsrole.md +++ b/docs/models/listaccessgroupprojectsrole.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListAccessGroupProjectsRole } from "@vercel/sdk/models/operations/listaccessgroupprojects.js"; +import { ListAccessGroupProjectsRole } from "@vercel/sdk/models/listaccessgroupprojectsop.js"; let value: ListAccessGroupProjectsRole = "PROJECT_DEVELOPER"; ``` diff --git a/docs/models/operations/listaccessgroupsrequest.md b/docs/models/listaccessgroupsrequest.md similarity index 97% rename from docs/models/operations/listaccessgroupsrequest.md rename to docs/models/listaccessgroupsrequest.md index bcebbfce..d5e1abf4 100644 --- a/docs/models/operations/listaccessgroupsrequest.md +++ b/docs/models/listaccessgroupsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListAccessGroupsRequest } from "@vercel/sdk/models/operations/listaccessgroups.js"; +import { ListAccessGroupsRequest } from "@vercel/sdk/models/listaccessgroupsop.js"; let value: ListAccessGroupsRequest = { projectId: "prj_pavWOn1iLObbx3RowVvzmPrTWyTf", diff --git a/docs/models/listaccessgroupsresponsebody.md b/docs/models/listaccessgroupsresponsebody.md new file mode 100644 index 00000000..a033c740 --- /dev/null +++ b/docs/models/listaccessgroupsresponsebody.md @@ -0,0 +1,34 @@ +# ListAccessGroupsResponseBody + + +## Supported Types + +### `models.ListAccessGroupsResponseBody1` + +```typescript +const value: models.ListAccessGroupsResponseBody1 = {}; +``` + +### `models.ListAccessGroupsResponseBody2` + +```typescript +const value: models.ListAccessGroupsResponseBody2 = { + accessGroups: [ + { + isDsyncManaged: false, + name: "my-access-group", + createdAt: "1588720733602", + teamId: "team_123a6c5209bc3778245d011443644c8d27dc2c50", + updatedAt: "1588720733602", + accessGroupId: "ag_123a6c5209bc3778245d011443644c8d27dc2c50", + membersCount: 5, + projectsCount: 2, + }, + ], + pagination: { + count: 5684.34, + next: "", + }, +}; +``` + diff --git a/docs/models/operations/listaccessgroupsresponsebody1.md b/docs/models/listaccessgroupsresponsebody1.md similarity index 89% rename from docs/models/operations/listaccessgroupsresponsebody1.md rename to docs/models/listaccessgroupsresponsebody1.md index bd67f55e..0e98ab7d 100644 --- a/docs/models/operations/listaccessgroupsresponsebody1.md +++ b/docs/models/listaccessgroupsresponsebody1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListAccessGroupsResponseBody1 } from "@vercel/sdk/models/operations/listaccessgroups.js"; +import { ListAccessGroupsResponseBody1 } from "@vercel/sdk/models/listaccessgroupsop.js"; let value: ListAccessGroupsResponseBody1 = {}; ``` diff --git a/docs/models/listaccessgroupsresponsebody2.md b/docs/models/listaccessgroupsresponsebody2.md new file mode 100644 index 00000000..5789b17d --- /dev/null +++ b/docs/models/listaccessgroupsresponsebody2.md @@ -0,0 +1,33 @@ +# ListAccessGroupsResponseBody2 + +## Example Usage + +```typescript +import { ListAccessGroupsResponseBody2 } from "@vercel/sdk/models/listaccessgroupsop.js"; + +let value: ListAccessGroupsResponseBody2 = { + accessGroups: [ + { + isDsyncManaged: false, + name: "my-access-group", + createdAt: "1588720733602", + teamId: "team_123a6c5209bc3778245d011443644c8d27dc2c50", + updatedAt: "1588720733602", + accessGroupId: "ag_123a6c5209bc3778245d011443644c8d27dc2c50", + membersCount: 5, + projectsCount: 2, + }, + ], + pagination: { + count: 4561.50, + next: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `accessGroups` | [models.AccessGroups](../models/accessgroups.md)[] | :heavy_check_mark: | N/A | +| `pagination` | [models.ResponseBodyPagination](../models/responsebodypagination.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listaliasescreator.md b/docs/models/listaliasescreator.md similarity index 94% rename from docs/models/operations/listaliasescreator.md rename to docs/models/listaliasescreator.md index 1e65cc6f..cd0ed026 100644 --- a/docs/models/operations/listaliasescreator.md +++ b/docs/models/listaliasescreator.md @@ -5,7 +5,7 @@ Information of the user who created the alias ## Example Usage ```typescript -import { ListAliasesCreator } from "@vercel/sdk/models/operations/listaliases.js"; +import { ListAliasesCreator } from "@vercel/sdk/models/listaliasesop.js"; let value: ListAliasesCreator = { uid: "96SnxkFiMyVKsK3pnoHfx3Hz", diff --git a/docs/models/operations/listaliasesdeployment.md b/docs/models/listaliasesdeployment.md similarity index 93% rename from docs/models/operations/listaliasesdeployment.md rename to docs/models/listaliasesdeployment.md index 7b0dde14..fbc6f2b8 100644 --- a/docs/models/operations/listaliasesdeployment.md +++ b/docs/models/listaliasesdeployment.md @@ -5,7 +5,7 @@ A map with the deployment ID, URL and metadata ## Example Usage ```typescript -import { ListAliasesDeployment } from "@vercel/sdk/models/operations/listaliases.js"; +import { ListAliasesDeployment } from "@vercel/sdk/models/listaliasesop.js"; let value: ListAliasesDeployment = { id: "dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx", diff --git a/docs/models/listaliasesprotectionbypass.md b/docs/models/listaliasesprotectionbypass.md new file mode 100644 index 00000000..6c5a15f0 --- /dev/null +++ b/docs/models/listaliasesprotectionbypass.md @@ -0,0 +1,48 @@ +# ListAliasesProtectionBypass + + +## Supported Types + +### `models.ListAliasesProtectionBypass1` + +```typescript +const value: models.ListAliasesProtectionBypass1 = { + createdAt: 929.79, + createdBy: "", + scope: "shareable-link", +}; +``` + +### `models.ListAliasesProtectionBypass2` + +```typescript +const value: models.ListAliasesProtectionBypass2 = { + createdAt: 9042.87, + lastUpdatedAt: 4493.69, + lastUpdatedBy: "", + access: "requested", + scope: "user", +}; +``` + +### `models.ListAliasesProtectionBypass3` + +```typescript +const value: models.ListAliasesProtectionBypass3 = { + createdAt: 5938.30, + createdBy: "", + scope: "alias-protection-override", +}; +``` + +### `models.ListAliasesProtectionBypass4` + +```typescript +const value: models.ListAliasesProtectionBypass4 = { + createdAt: 5376.23, + lastUpdatedAt: 1984.07, + lastUpdatedBy: "", + scope: "email_invite", +}; +``` + diff --git a/docs/models/listaliasesprotectionbypass1.md b/docs/models/listaliasesprotectionbypass1.md new file mode 100644 index 00000000..3f1a026b --- /dev/null +++ b/docs/models/listaliasesprotectionbypass1.md @@ -0,0 +1,23 @@ +# ListAliasesProtectionBypass1 + +The protection bypass for the alias + +## Example Usage + +```typescript +import { ListAliasesProtectionBypass1 } from "@vercel/sdk/models/listaliasesop.js"; + +let value: ListAliasesProtectionBypass1 = { + createdAt: 911.36, + createdBy: "", + scope: "shareable-link", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdBy` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.ListAliasesProtectionBypassAliasesResponse200Scope](../models/listaliasesprotectionbypassaliasesresponse200scope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/listaliasesprotectionbypass2.md b/docs/models/listaliasesprotectionbypass2.md new file mode 100644 index 00000000..5647ace8 --- /dev/null +++ b/docs/models/listaliasesprotectionbypass2.md @@ -0,0 +1,27 @@ +# ListAliasesProtectionBypass2 + +The protection bypass for the alias + +## Example Usage + +```typescript +import { ListAliasesProtectionBypass2 } from "@vercel/sdk/models/listaliasesop.js"; + +let value: ListAliasesProtectionBypass2 = { + createdAt: 4343.45, + lastUpdatedAt: 9268.02, + lastUpdatedBy: "", + access: "requested", + scope: "user", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `lastUpdatedAt` | *number* | :heavy_check_mark: | N/A | +| `lastUpdatedBy` | *string* | :heavy_check_mark: | N/A | +| `access` | [models.ProtectionBypassAccess](../models/protectionbypassaccess.md) | :heavy_check_mark: | N/A | +| `scope` | [models.ListAliasesProtectionBypassScope](../models/listaliasesprotectionbypassscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/listaliasesprotectionbypass3.md b/docs/models/listaliasesprotectionbypass3.md new file mode 100644 index 00000000..ac28a243 --- /dev/null +++ b/docs/models/listaliasesprotectionbypass3.md @@ -0,0 +1,23 @@ +# ListAliasesProtectionBypass3 + +The protection bypass for the alias + +## Example Usage + +```typescript +import { ListAliasesProtectionBypass3 } from "@vercel/sdk/models/listaliasesop.js"; + +let value: ListAliasesProtectionBypass3 = { + createdAt: 1247.40, + createdBy: "", + scope: "alias-protection-override", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdBy` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.ListAliasesProtectionBypassAliasesScope](../models/listaliasesprotectionbypassaliasesscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/listaliasesprotectionbypass4.md b/docs/models/listaliasesprotectionbypass4.md new file mode 100644 index 00000000..b63e1b75 --- /dev/null +++ b/docs/models/listaliasesprotectionbypass4.md @@ -0,0 +1,25 @@ +# ListAliasesProtectionBypass4 + +The protection bypass for the alias + +## Example Usage + +```typescript +import { ListAliasesProtectionBypass4 } from "@vercel/sdk/models/listaliasesop.js"; + +let value: ListAliasesProtectionBypass4 = { + createdAt: 9999.64, + lastUpdatedAt: 3091.92, + lastUpdatedBy: "", + scope: "email_invite", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `lastUpdatedAt` | *number* | :heavy_check_mark: | N/A | +| `lastUpdatedBy` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.ListAliasesProtectionBypassAliasesResponseScope](../models/listaliasesprotectionbypassaliasesresponsescope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listaliasesprotectionbypassaliasesresponse200scope.md b/docs/models/listaliasesprotectionbypassaliasesresponse200scope.md similarity index 84% rename from docs/models/operations/listaliasesprotectionbypassaliasesresponse200scope.md rename to docs/models/listaliasesprotectionbypassaliasesresponse200scope.md index b1c24519..02b682d5 100644 --- a/docs/models/operations/listaliasesprotectionbypassaliasesresponse200scope.md +++ b/docs/models/listaliasesprotectionbypassaliasesresponse200scope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListAliasesProtectionBypassAliasesResponse200Scope } from "@vercel/sdk/models/operations/listaliases.js"; +import { ListAliasesProtectionBypassAliasesResponse200Scope } from "@vercel/sdk/models/listaliasesop.js"; let value: ListAliasesProtectionBypassAliasesResponse200Scope = "shareable-link"; diff --git a/docs/models/operations/listaliasesprotectionbypassaliasesresponsescope.md b/docs/models/listaliasesprotectionbypassaliasesresponsescope.md similarity index 85% rename from docs/models/operations/listaliasesprotectionbypassaliasesresponsescope.md rename to docs/models/listaliasesprotectionbypassaliasesresponsescope.md index c9b7f42a..1f9b8483 100644 --- a/docs/models/operations/listaliasesprotectionbypassaliasesresponsescope.md +++ b/docs/models/listaliasesprotectionbypassaliasesresponsescope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListAliasesProtectionBypassAliasesResponseScope } from "@vercel/sdk/models/operations/listaliases.js"; +import { ListAliasesProtectionBypassAliasesResponseScope } from "@vercel/sdk/models/listaliasesop.js"; let value: ListAliasesProtectionBypassAliasesResponseScope = "email_invite"; ``` diff --git a/docs/models/operations/listaliasesprotectionbypassaliasesscope.md b/docs/models/listaliasesprotectionbypassaliasesscope.md similarity index 87% rename from docs/models/operations/listaliasesprotectionbypassaliasesscope.md rename to docs/models/listaliasesprotectionbypassaliasesscope.md index 406fa96a..60ed74d6 100644 --- a/docs/models/operations/listaliasesprotectionbypassaliasesscope.md +++ b/docs/models/listaliasesprotectionbypassaliasesscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListAliasesProtectionBypassAliasesScope } from "@vercel/sdk/models/operations/listaliases.js"; +import { ListAliasesProtectionBypassAliasesScope } from "@vercel/sdk/models/listaliasesop.js"; let value: ListAliasesProtectionBypassAliasesScope = "alias-protection-override"; diff --git a/docs/models/operations/listaliasesprotectionbypassscope.md b/docs/models/listaliasesprotectionbypassscope.md similarity index 87% rename from docs/models/operations/listaliasesprotectionbypassscope.md rename to docs/models/listaliasesprotectionbypassscope.md index 3e409eda..172f3cf7 100644 --- a/docs/models/operations/listaliasesprotectionbypassscope.md +++ b/docs/models/listaliasesprotectionbypassscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListAliasesProtectionBypassScope } from "@vercel/sdk/models/operations/listaliases.js"; +import { ListAliasesProtectionBypassScope } from "@vercel/sdk/models/listaliasesop.js"; let value: ListAliasesProtectionBypassScope = "user"; ``` diff --git a/docs/models/operations/listaliasesrequest.md b/docs/models/listaliasesrequest.md similarity index 96% rename from docs/models/operations/listaliasesrequest.md rename to docs/models/listaliasesrequest.md index dbca8fd2..a663134f 100644 --- a/docs/models/operations/listaliasesrequest.md +++ b/docs/models/listaliasesrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListAliasesRequest } from "@vercel/sdk/models/operations/listaliases.js"; +import { ListAliasesRequest } from "@vercel/sdk/models/listaliasesop.js"; let value: ListAliasesRequest = { domain: "my-test-domain.com", @@ -20,7 +20,7 @@ let value: ListAliasesRequest = { | Field | Type | Required | Description | Example | | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `domain` | *operations.Domain* | :heavy_minus_sign: | Get only aliases of the given domain name | my-test-domain.com | +| `domain` | *models.Domain* | :heavy_minus_sign: | Get only aliases of the given domain name | my-test-domain.com | | `from` | *number* | :heavy_minus_sign: | Get only aliases created after the provided timestamp | 1540095775951 | | `limit` | *number* | :heavy_minus_sign: | Maximum number of aliases to list from a request | 10 | | `projectId` | *string* | :heavy_minus_sign: | Filter aliases from the given `projectId` | prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB | diff --git a/docs/models/operations/listaliasesresponsebody.md b/docs/models/listaliasesresponsebody.md similarity index 90% rename from docs/models/operations/listaliasesresponsebody.md rename to docs/models/listaliasesresponsebody.md index a6ddb3d3..90a1bcfe 100644 --- a/docs/models/operations/listaliasesresponsebody.md +++ b/docs/models/listaliasesresponsebody.md @@ -5,7 +5,7 @@ The paginated list of aliases ## Example Usage ```typescript -import { ListAliasesResponseBody } from "@vercel/sdk/models/operations/listaliases.js"; +import { ListAliasesResponseBody } from "@vercel/sdk/models/listaliasesop.js"; let value: ListAliasesResponseBody = { aliases: [ @@ -42,5 +42,5 @@ let value: ListAliasesResponseBody = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `aliases` | [operations.Aliases](../../models/operations/aliases.md)[] | :heavy_check_mark: | N/A | -| `pagination` | [components.Pagination](../../models/components/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file +| `aliases` | [models.Aliases](../models/aliases.md)[] | :heavy_check_mark: | N/A | +| `pagination` | [models.Pagination](../models/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file diff --git a/docs/models/operations/listauthtokensresponsebody.md b/docs/models/listauthtokensresponsebody.md similarity index 88% rename from docs/models/operations/listauthtokensresponsebody.md rename to docs/models/listauthtokensresponsebody.md index 93343aa4..8e2e4483 100644 --- a/docs/models/operations/listauthtokensresponsebody.md +++ b/docs/models/listauthtokensresponsebody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListAuthTokensResponseBody } from "@vercel/sdk/models/operations/listauthtokens.js"; +import { ListAuthTokensResponseBody } from "@vercel/sdk/models/listauthtokensop.js"; let value: ListAuthTokensResponseBody = { tokens: [ @@ -38,6 +38,6 @@ let value: ListAuthTokensResponseBody = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `tokens` | [components.AuthToken](../../models/components/authtoken.md)[] | :heavy_check_mark: | N/A | -| `testingToken` | [components.AuthToken](../../models/components/authtoken.md) | :heavy_minus_sign: | Authentication token metadata. | -| `pagination` | [components.Pagination](../../models/components/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file +| `tokens` | [models.AuthToken](../models/authtoken.md)[] | :heavy_check_mark: | N/A | +| `testingToken` | [models.AuthToken](../models/authtoken.md) | :heavy_minus_sign: | Authentication token metadata. | +| `pagination` | [models.Pagination](../models/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file diff --git a/docs/models/operations/listdeploymentaliasesaliases.md b/docs/models/listdeploymentaliasesaliases.md similarity index 95% rename from docs/models/operations/listdeploymentaliasesaliases.md rename to docs/models/listdeploymentaliasesaliases.md index c3c514ed..8c1c951a 100644 --- a/docs/models/operations/listdeploymentaliasesaliases.md +++ b/docs/models/listdeploymentaliasesaliases.md @@ -5,7 +5,7 @@ A list of the aliases assigned to the deployment ## Example Usage ```typescript -import { ListDeploymentAliasesAliases } from "@vercel/sdk/models/operations/listdeploymentaliases.js"; +import { ListDeploymentAliasesAliases } from "@vercel/sdk/models/listdeploymentaliasesop.js"; let value: ListDeploymentAliasesAliases = { uid: "2WjyKQmM8ZnGcJsPWMrHRHrE", @@ -22,4 +22,4 @@ let value: ListDeploymentAliasesAliases = { | `alias` | *string* | :heavy_check_mark: | The alias name, it could be a `.vercel.app` subdomain or a custom domain | my-alias.vercel.app | | `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The date when the alias was created | 2017-04-26T23:00:34.232Z | | `redirect` | *string* | :heavy_minus_sign: | Target destination domain for redirect when the alias is a redirect | | -| `protectionBypass` | Record | :heavy_minus_sign: | The protection bypass for the alias | | \ No newline at end of file +| `protectionBypass` | Record | :heavy_minus_sign: | The protection bypass for the alias | | \ No newline at end of file diff --git a/docs/models/listdeploymentaliasesprotectionbypass.md b/docs/models/listdeploymentaliasesprotectionbypass.md new file mode 100644 index 00000000..51119dc2 --- /dev/null +++ b/docs/models/listdeploymentaliasesprotectionbypass.md @@ -0,0 +1,48 @@ +# ListDeploymentAliasesProtectionBypass + + +## Supported Types + +### `models.ListDeploymentAliasesProtectionBypass1` + +```typescript +const value: models.ListDeploymentAliasesProtectionBypass1 = { + createdAt: 6490.70, + createdBy: "", + scope: "shareable-link", +}; +``` + +### `models.ListDeploymentAliasesProtectionBypass2` + +```typescript +const value: models.ListDeploymentAliasesProtectionBypass2 = { + createdAt: 8560.35, + lastUpdatedAt: 932.12, + lastUpdatedBy: "", + access: "granted", + scope: "user", +}; +``` + +### `models.ListDeploymentAliasesProtectionBypass3` + +```typescript +const value: models.ListDeploymentAliasesProtectionBypass3 = { + createdAt: 6902.11, + createdBy: "", + scope: "alias-protection-override", +}; +``` + +### `models.ListDeploymentAliasesProtectionBypass4` + +```typescript +const value: models.ListDeploymentAliasesProtectionBypass4 = { + createdAt: 8666.61, + lastUpdatedAt: 1040.92, + lastUpdatedBy: "", + scope: "email_invite", +}; +``` + diff --git a/docs/models/listdeploymentaliasesprotectionbypass1.md b/docs/models/listdeploymentaliasesprotectionbypass1.md new file mode 100644 index 00000000..0a0ffc02 --- /dev/null +++ b/docs/models/listdeploymentaliasesprotectionbypass1.md @@ -0,0 +1,23 @@ +# ListDeploymentAliasesProtectionBypass1 + +The protection bypass for the alias + +## Example Usage + +```typescript +import { ListDeploymentAliasesProtectionBypass1 } from "@vercel/sdk/models/listdeploymentaliasesop.js"; + +let value: ListDeploymentAliasesProtectionBypass1 = { + createdAt: 1377.25, + createdBy: "", + scope: "shareable-link", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdBy` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.ListDeploymentAliasesProtectionBypassScope](../models/listdeploymentaliasesprotectionbypassscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/listdeploymentaliasesprotectionbypass2.md b/docs/models/listdeploymentaliasesprotectionbypass2.md new file mode 100644 index 00000000..aabbb06f --- /dev/null +++ b/docs/models/listdeploymentaliasesprotectionbypass2.md @@ -0,0 +1,27 @@ +# ListDeploymentAliasesProtectionBypass2 + +The protection bypass for the alias + +## Example Usage + +```typescript +import { ListDeploymentAliasesProtectionBypass2 } from "@vercel/sdk/models/listdeploymentaliasesop.js"; + +let value: ListDeploymentAliasesProtectionBypass2 = { + createdAt: 3691.61, + lastUpdatedAt: 6325.09, + lastUpdatedBy: "", + access: "granted", + scope: "user", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `lastUpdatedAt` | *number* | :heavy_check_mark: | N/A | +| `lastUpdatedBy` | *string* | :heavy_check_mark: | N/A | +| `access` | [models.ListDeploymentAliasesProtectionBypassAccess](../models/listdeploymentaliasesprotectionbypassaccess.md) | :heavy_check_mark: | N/A | +| `scope` | [models.ListDeploymentAliasesProtectionBypassAliasesScope](../models/listdeploymentaliasesprotectionbypassaliasesscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/listdeploymentaliasesprotectionbypass3.md b/docs/models/listdeploymentaliasesprotectionbypass3.md new file mode 100644 index 00000000..6b79315e --- /dev/null +++ b/docs/models/listdeploymentaliasesprotectionbypass3.md @@ -0,0 +1,23 @@ +# ListDeploymentAliasesProtectionBypass3 + +The protection bypass for the alias + +## Example Usage + +```typescript +import { ListDeploymentAliasesProtectionBypass3 } from "@vercel/sdk/models/listdeploymentaliasesop.js"; + +let value: ListDeploymentAliasesProtectionBypass3 = { + createdAt: 3575.20, + createdBy: "", + scope: "alias-protection-override", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdBy` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.ListDeploymentAliasesProtectionBypassAliasesResponseScope](../models/listdeploymentaliasesprotectionbypassaliasesresponsescope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/listdeploymentaliasesprotectionbypass4.md b/docs/models/listdeploymentaliasesprotectionbypass4.md new file mode 100644 index 00000000..484e275f --- /dev/null +++ b/docs/models/listdeploymentaliasesprotectionbypass4.md @@ -0,0 +1,25 @@ +# ListDeploymentAliasesProtectionBypass4 + +The protection bypass for the alias + +## Example Usage + +```typescript +import { ListDeploymentAliasesProtectionBypass4 } from "@vercel/sdk/models/listdeploymentaliasesop.js"; + +let value: ListDeploymentAliasesProtectionBypass4 = { + createdAt: 5408.95, + lastUpdatedAt: 1254.88, + lastUpdatedBy: "", + scope: "email_invite", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `lastUpdatedAt` | *number* | :heavy_check_mark: | N/A | +| `lastUpdatedBy` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.ListDeploymentAliasesProtectionBypassAliasesResponse200Scope](../models/listdeploymentaliasesprotectionbypassaliasesresponse200scope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listdeploymentaliasesprotectionbypassaccess.md b/docs/models/listdeploymentaliasesprotectionbypassaccess.md similarity index 83% rename from docs/models/operations/listdeploymentaliasesprotectionbypassaccess.md rename to docs/models/listdeploymentaliasesprotectionbypassaccess.md index 3b81a542..de39d342 100644 --- a/docs/models/operations/listdeploymentaliasesprotectionbypassaccess.md +++ b/docs/models/listdeploymentaliasesprotectionbypassaccess.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListDeploymentAliasesProtectionBypassAccess } from "@vercel/sdk/models/operations/listdeploymentaliases.js"; +import { ListDeploymentAliasesProtectionBypassAccess } from "@vercel/sdk/models/listdeploymentaliasesop.js"; let value: ListDeploymentAliasesProtectionBypassAccess = "granted"; ``` diff --git a/docs/models/operations/listdeploymentaliasesprotectionbypassaliasesresponse200scope.md b/docs/models/listdeploymentaliasesprotectionbypassaliasesresponse200scope.md similarity index 80% rename from docs/models/operations/listdeploymentaliasesprotectionbypassaliasesresponse200scope.md rename to docs/models/listdeploymentaliasesprotectionbypassaliasesresponse200scope.md index b04f5e85..98c1b60b 100644 --- a/docs/models/operations/listdeploymentaliasesprotectionbypassaliasesresponse200scope.md +++ b/docs/models/listdeploymentaliasesprotectionbypassaliasesresponse200scope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListDeploymentAliasesProtectionBypassAliasesResponse200Scope } from "@vercel/sdk/models/operations/listdeploymentaliases.js"; +import { ListDeploymentAliasesProtectionBypassAliasesResponse200Scope } from "@vercel/sdk/models/listdeploymentaliasesop.js"; let value: ListDeploymentAliasesProtectionBypassAliasesResponse200Scope = "email_invite"; diff --git a/docs/models/operations/listdeploymentaliasesprotectionbypassaliasesresponsescope.md b/docs/models/listdeploymentaliasesprotectionbypassaliasesresponsescope.md similarity index 82% rename from docs/models/operations/listdeploymentaliasesprotectionbypassaliasesresponsescope.md rename to docs/models/listdeploymentaliasesprotectionbypassaliasesresponsescope.md index 52a583d1..b24d5d85 100644 --- a/docs/models/operations/listdeploymentaliasesprotectionbypassaliasesresponsescope.md +++ b/docs/models/listdeploymentaliasesprotectionbypassaliasesresponsescope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListDeploymentAliasesProtectionBypassAliasesResponseScope } from "@vercel/sdk/models/operations/listdeploymentaliases.js"; +import { ListDeploymentAliasesProtectionBypassAliasesResponseScope } from "@vercel/sdk/models/listdeploymentaliasesop.js"; let value: ListDeploymentAliasesProtectionBypassAliasesResponseScope = "alias-protection-override"; diff --git a/docs/models/operations/listdeploymentaliasesprotectionbypassaliasesscope.md b/docs/models/listdeploymentaliasesprotectionbypassaliasesscope.md similarity index 81% rename from docs/models/operations/listdeploymentaliasesprotectionbypassaliasesscope.md rename to docs/models/listdeploymentaliasesprotectionbypassaliasesscope.md index b089b112..53be5301 100644 --- a/docs/models/operations/listdeploymentaliasesprotectionbypassaliasesscope.md +++ b/docs/models/listdeploymentaliasesprotectionbypassaliasesscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListDeploymentAliasesProtectionBypassAliasesScope } from "@vercel/sdk/models/operations/listdeploymentaliases.js"; +import { ListDeploymentAliasesProtectionBypassAliasesScope } from "@vercel/sdk/models/listdeploymentaliasesop.js"; let value: ListDeploymentAliasesProtectionBypassAliasesScope = "user"; ``` diff --git a/docs/models/operations/listdeploymentaliasesprotectionbypassscope.md b/docs/models/listdeploymentaliasesprotectionbypassscope.md similarity index 83% rename from docs/models/operations/listdeploymentaliasesprotectionbypassscope.md rename to docs/models/listdeploymentaliasesprotectionbypassscope.md index a165e031..5941b516 100644 --- a/docs/models/operations/listdeploymentaliasesprotectionbypassscope.md +++ b/docs/models/listdeploymentaliasesprotectionbypassscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListDeploymentAliasesProtectionBypassScope } from "@vercel/sdk/models/operations/listdeploymentaliases.js"; +import { ListDeploymentAliasesProtectionBypassScope } from "@vercel/sdk/models/listdeploymentaliasesop.js"; let value: ListDeploymentAliasesProtectionBypassScope = "shareable-link"; ``` diff --git a/docs/models/operations/listdeploymentaliasesrequest.md b/docs/models/listdeploymentaliasesrequest.md similarity index 97% rename from docs/models/operations/listdeploymentaliasesrequest.md rename to docs/models/listdeploymentaliasesrequest.md index 47d06864..e1e3ff8a 100644 --- a/docs/models/operations/listdeploymentaliasesrequest.md +++ b/docs/models/listdeploymentaliasesrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListDeploymentAliasesRequest } from "@vercel/sdk/models/operations/listdeploymentaliases.js"; +import { ListDeploymentAliasesRequest } from "@vercel/sdk/models/listdeploymentaliasesop.js"; let value: ListDeploymentAliasesRequest = { id: "dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa", diff --git a/docs/models/listdeploymentaliasesresponsebody.md b/docs/models/listdeploymentaliasesresponsebody.md new file mode 100644 index 00000000..3216c2b2 --- /dev/null +++ b/docs/models/listdeploymentaliasesresponsebody.md @@ -0,0 +1,25 @@ +# ListDeploymentAliasesResponseBody + +The list of aliases assigned to the deployment + +## Example Usage + +```typescript +import { ListDeploymentAliasesResponseBody } from "@vercel/sdk/models/listdeploymentaliasesop.js"; + +let value: ListDeploymentAliasesResponseBody = { + aliases: [ + { + uid: "2WjyKQmM8ZnGcJsPWMrHRHrE", + alias: "my-alias.vercel.app", + created: new Date("2017-04-26T23:00:34.232Z"), + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `aliases` | [models.ListDeploymentAliasesAliases](../models/listdeploymentaliasesaliases.md)[] | :heavy_check_mark: | A list of the aliases assigned to the deployment | \ No newline at end of file diff --git a/docs/models/operations/listdeploymentfilesrequest.md b/docs/models/listdeploymentfilesrequest.md similarity index 93% rename from docs/models/operations/listdeploymentfilesrequest.md rename to docs/models/listdeploymentfilesrequest.md index 1512483d..d7b217fc 100644 --- a/docs/models/operations/listdeploymentfilesrequest.md +++ b/docs/models/listdeploymentfilesrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListDeploymentFilesRequest } from "@vercel/sdk/models/operations/listdeploymentfiles.js"; +import { ListDeploymentFilesRequest } from "@vercel/sdk/models/listdeploymentfilesop.js"; let value: ListDeploymentFilesRequest = { id: "", diff --git a/docs/models/operations/listpromotealiasesrequest.md b/docs/models/listpromotealiasesrequest.md similarity index 97% rename from docs/models/operations/listpromotealiasesrequest.md rename to docs/models/listpromotealiasesrequest.md index 87a4fbf1..2c2fb69d 100644 --- a/docs/models/operations/listpromotealiasesrequest.md +++ b/docs/models/listpromotealiasesrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListPromoteAliasesRequest } from "@vercel/sdk/models/operations/listpromotealiases.js"; +import { ListPromoteAliasesRequest } from "@vercel/sdk/models/listpromotealiasesop.js"; let value: ListPromoteAliasesRequest = { projectId: "", diff --git a/docs/models/listpromotealiasesresponsebody.md b/docs/models/listpromotealiasesresponsebody.md new file mode 100644 index 00000000..f7ead600 --- /dev/null +++ b/docs/models/listpromotealiasesresponsebody.md @@ -0,0 +1,30 @@ +# ListPromoteAliasesResponseBody + + +## Supported Types + +### `models.ListPromoteAliasesResponseBody1` + +```typescript +const value: models.ListPromoteAliasesResponseBody1 = {}; +``` + +### `models.ListPromoteAliasesResponseBody2` + +```typescript +const value: models.ListPromoteAliasesResponseBody2 = { + aliases: [ + { + status: "", + alias: "", + id: "", + }, + ], + pagination: { + count: 20, + next: 1540095775951, + prev: 1540095775951, + }, +}; +``` + diff --git a/docs/models/operations/listpromotealiasesresponsebody1.md b/docs/models/listpromotealiasesresponsebody1.md similarity index 88% rename from docs/models/operations/listpromotealiasesresponsebody1.md rename to docs/models/listpromotealiasesresponsebody1.md index 05dc2fc2..aa95037b 100644 --- a/docs/models/operations/listpromotealiasesresponsebody1.md +++ b/docs/models/listpromotealiasesresponsebody1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListPromoteAliasesResponseBody1 } from "@vercel/sdk/models/operations/listpromotealiases.js"; +import { ListPromoteAliasesResponseBody1 } from "@vercel/sdk/models/listpromotealiasesop.js"; let value: ListPromoteAliasesResponseBody1 = {}; ``` diff --git a/docs/models/operations/listpromotealiasesresponsebody2.md b/docs/models/listpromotealiasesresponsebody2.md similarity index 90% rename from docs/models/operations/listpromotealiasesresponsebody2.md rename to docs/models/listpromotealiasesresponsebody2.md index e2e6ee37..f17d57cc 100644 --- a/docs/models/operations/listpromotealiasesresponsebody2.md +++ b/docs/models/listpromotealiasesresponsebody2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListPromoteAliasesResponseBody2 } from "@vercel/sdk/models/operations/listpromotealiases.js"; +import { ListPromoteAliasesResponseBody2 } from "@vercel/sdk/models/listpromotealiasesop.js"; let value: ListPromoteAliasesResponseBody2 = { aliases: [ @@ -25,5 +25,5 @@ let value: ListPromoteAliasesResponseBody2 = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `aliases` | [operations.ResponseBodyAliases](../../models/operations/responsebodyaliases.md)[] | :heavy_check_mark: | N/A | -| `pagination` | [components.Pagination](../../models/components/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file +| `aliases` | [models.ResponseBodyAliases](../models/responsebodyaliases.md)[] | :heavy_check_mark: | N/A | +| `pagination` | [models.Pagination](../models/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file diff --git a/docs/models/operations/listusereventsrequest.md b/docs/models/listusereventsrequest.md similarity index 98% rename from docs/models/operations/listusereventsrequest.md rename to docs/models/listusereventsrequest.md index 972dec24..3aa42ce4 100644 --- a/docs/models/operations/listusereventsrequest.md +++ b/docs/models/listusereventsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListUserEventsRequest } from "@vercel/sdk/models/operations/listuserevents.js"; +import { ListUserEventsRequest } from "@vercel/sdk/models/listusereventsop.js"; let value: ListUserEventsRequest = { limit: 20, diff --git a/docs/models/listusereventsresponsebody.md b/docs/models/listusereventsresponsebody.md new file mode 100644 index 00000000..7a783f98 --- /dev/null +++ b/docs/models/listusereventsresponsebody.md @@ -0,0 +1,21 @@ +# ListUserEventsResponseBody + +Successful response. + +## Example Usage + +```typescript +import { ListUserEventsResponseBody } from "@vercel/sdk/models/listusereventsop.js"; + +let value: ListUserEventsResponseBody = { + events: [ + {}, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `events` | [models.UserEvent](../models/userevent.md)[] | :heavy_check_mark: | Array of events generated by the User. | \ No newline at end of file diff --git a/docs/models/operations/locale.md b/docs/models/locale.md similarity index 87% rename from docs/models/operations/locale.md rename to docs/models/locale.md index 5f38b96e..f9f77ef9 100644 --- a/docs/models/operations/locale.md +++ b/docs/models/locale.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Locale } from "@vercel/sdk/models/operations/createdeployment.js"; +import { Locale } from "@vercel/sdk/models/createdeploymentop.js"; let value: Locale = {}; ``` diff --git a/docs/models/ma.md b/docs/models/ma.md new file mode 100644 index 00000000..4cc89f8e --- /dev/null +++ b/docs/models/ma.md @@ -0,0 +1,21 @@ +# Ma + +Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding. + +## Example Usage + +```typescript +import { Ma } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Ma = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityAction](../models/putfirewallconfigsecurityaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/managedrules.md b/docs/models/managedrules.md new file mode 100644 index 00000000..df10e2c6 --- /dev/null +++ b/docs/models/managedrules.md @@ -0,0 +1,19 @@ +# ManagedRules + +## Example Usage + +```typescript +import { ManagedRules } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: ManagedRules = { + owasp: { + active: false, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | +| `owasp` | [models.Owasp](../models/owasp.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/members.md b/docs/models/members.md new file mode 100644 index 00000000..f88de864 --- /dev/null +++ b/docs/models/members.md @@ -0,0 +1,26 @@ +# Members + +## Example Usage + +```typescript +import { Members } from "@vercel/sdk/models/listaccessgroupmembersop.js"; + +let value: Members = { + email: "Leda43@hotmail.com", + uid: "", + username: "Vincenzo56", + teamRole: "OWNER", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `avatar` | *string* | :heavy_minus_sign: | N/A | +| `email` | *string* | :heavy_check_mark: | N/A | +| `uid` | *string* | :heavy_check_mark: | N/A | +| `username` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *string* | :heavy_minus_sign: | N/A | +| `teamRole` | [models.TeamRole](../models/teamrole.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/membership.md b/docs/models/membership.md new file mode 100644 index 00000000..2b4c8a37 --- /dev/null +++ b/docs/models/membership.md @@ -0,0 +1,32 @@ +# Membership + +The membership of the authenticated User in relation to the Team. + +## Example Usage + +```typescript +import { Membership } from "@vercel/sdk/models/teamlimited.js"; + +let value: Membership = { + confirmed: false, + confirmedAt: 4478.78, + role: "CONTRIBUTOR", + createdAt: 7930.29, + created: 8264.30, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `uid` | *string* | :heavy_minus_sign: | N/A | +| `entitlements` | [models.Entitlements](../models/entitlements.md)[] | :heavy_minus_sign: | N/A | +| `confirmed` | *boolean* | :heavy_check_mark: | N/A | +| `confirmedAt` | *number* | :heavy_check_mark: | N/A | +| `accessRequestedAt` | *number* | :heavy_minus_sign: | N/A | +| `role` | [models.Role](../models/role.md) | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `created` | *number* | :heavy_check_mark: | N/A | +| `joinedFrom` | [models.JoinedFrom](../models/joinedfrom.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/metadata.md b/docs/models/metadata.md similarity index 88% rename from docs/models/operations/metadata.md rename to docs/models/metadata.md index 78af4c3d..1bba740b 100644 --- a/docs/models/operations/metadata.md +++ b/docs/models/metadata.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Metadata } from "@vercel/sdk/models/operations/getedgeconfigbackup.js"; +import { Metadata } from "@vercel/sdk/models/getedgeconfigbackupop.js"; let value: Metadata = {}; ``` diff --git a/docs/models/metrics.md b/docs/models/metrics.md new file mode 100644 index 00000000..c9a39ef9 --- /dev/null +++ b/docs/models/metrics.md @@ -0,0 +1,47 @@ +# Metrics + +Metrics about the page + +## Example Usage + +```typescript +import { Metrics } from "@vercel/sdk/models/updatecheckop.js"; + +let value: Metrics = { + fcp: { + value: 1200, + previousValue: 900, + source: "web-vitals", + }, + lcp: { + value: 1200, + previousValue: 1000, + source: "web-vitals", + }, + cls: { + value: 4, + previousValue: 2, + source: "web-vitals", + }, + tbt: { + value: 3000, + previousValue: 3500, + source: "web-vitals", + }, + virtualExperienceScore: { + value: 30, + previousValue: 35, + source: "web-vitals", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `fcp` | [models.Fcp](../models/fcp.md) | :heavy_check_mark: | N/A | +| `lcp` | [models.Lcp](../models/lcp.md) | :heavy_check_mark: | N/A | +| `cls` | [models.Cls](../models/cls.md) | :heavy_check_mark: | N/A | +| `tbt` | [models.Tbt](../models/tbt.md) | :heavy_check_mark: | N/A | +| `virtualExperienceScore` | [models.VirtualExperienceScore](../models/virtualexperiencescore.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/microfrontends.md b/docs/models/microfrontends.md similarity index 98% rename from docs/models/operations/microfrontends.md rename to docs/models/microfrontends.md index 06eae809..5fd9ac63 100644 --- a/docs/models/operations/microfrontends.md +++ b/docs/models/microfrontends.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Microfrontends } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { Microfrontends } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: Microfrontends = { updatedAt: 8966.71, diff --git a/docs/models/operations/microfrontends1.md b/docs/models/microfrontends1.md similarity index 98% rename from docs/models/operations/microfrontends1.md rename to docs/models/microfrontends1.md index dfc3a76f..b6f6da6f 100644 --- a/docs/models/operations/microfrontends1.md +++ b/docs/models/microfrontends1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Microfrontends1 } from "@vercel/sdk/models/operations/createdeployment.js"; +import { Microfrontends1 } from "@vercel/sdk/models/createdeploymentop.js"; let value: Microfrontends1 = { groupIds: [ diff --git a/docs/models/operations/microfrontends2.md b/docs/models/microfrontends2.md similarity index 96% rename from docs/models/operations/microfrontends2.md rename to docs/models/microfrontends2.md index 6c5147db..5f38d82f 100644 --- a/docs/models/operations/microfrontends2.md +++ b/docs/models/microfrontends2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Microfrontends2 } from "@vercel/sdk/models/operations/createdeployment.js"; +import { Microfrontends2 } from "@vercel/sdk/models/createdeploymentop.js"; let value: Microfrontends2 = { isDefaultApp: false, @@ -17,7 +17,7 @@ let value: Microfrontends2 = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `applications` | Record | :heavy_minus_sign: | A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. | +| `applications` | Record | :heavy_minus_sign: | A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. | | `isDefaultApp` | *boolean* | :heavy_check_mark: | N/A | | `defaultRoute` | *string* | :heavy_minus_sign: | A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. | | `groupIds` | *string*[] | :heavy_check_mark: | The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. | \ No newline at end of file diff --git a/docs/models/operations/microfrontendsapplications.md b/docs/models/microfrontendsapplications.md similarity index 98% rename from docs/models/operations/microfrontendsapplications.md rename to docs/models/microfrontendsapplications.md index 5e14b980..a15df4d5 100644 --- a/docs/models/operations/microfrontendsapplications.md +++ b/docs/models/microfrontendsapplications.md @@ -5,7 +5,7 @@ A map of the other applications that are part of this group. Only defined on the ## Example Usage ```typescript -import { MicrofrontendsApplications } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { MicrofrontendsApplications } from "@vercel/sdk/models/canceldeploymentop.js"; let value: MicrofrontendsApplications = { productionHost: "", diff --git a/docs/models/missing.md b/docs/models/missing.md new file mode 100644 index 00000000..30e9ab4c --- /dev/null +++ b/docs/models/missing.md @@ -0,0 +1,19 @@ +# Missing + +## Example Usage + +```typescript +import { Missing } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: Missing = { + type: "initial_request_path", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType](../models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *models.UpdateProjectDataCacheValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/missing1.md b/docs/models/missing1.md new file mode 100644 index 00000000..a9c3a7a9 --- /dev/null +++ b/docs/models/missing1.md @@ -0,0 +1,19 @@ +# Missing1 + +## Example Usage + +```typescript +import { Missing1 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: Missing1 = { + type: "host", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `type` | [models.MissingType](../models/missingtype.md) | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/missing2.md b/docs/models/missing2.md new file mode 100644 index 00000000..6966267a --- /dev/null +++ b/docs/models/missing2.md @@ -0,0 +1,20 @@ +# Missing2 + +## Example Usage + +```typescript +import { Missing2 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: Missing2 = { + type: "header", + key: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `type` | [models.CreateDeploymentMissingType](../models/createdeploymentmissingtype.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/missingtype.md b/docs/models/missingtype.md new file mode 100644 index 00000000..9de5460e --- /dev/null +++ b/docs/models/missingtype.md @@ -0,0 +1,15 @@ +# MissingType + +## Example Usage + +```typescript +import { MissingType } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: MissingType = "host"; +``` + +## Values + +```typescript +"host" +``` \ No newline at end of file diff --git a/docs/models/mitigate.md b/docs/models/mitigate.md new file mode 100644 index 00000000..17bf74c8 --- /dev/null +++ b/docs/models/mitigate.md @@ -0,0 +1,20 @@ +# Mitigate + +## Example Usage + +```typescript +import { Mitigate } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Mitigate = { + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | +| `action` | [models.PutFirewallConfigSecurityRequestRequestBodyRulesActionAction](../models/putfirewallconfigsecurityrequestrequestbodyrulesactionaction.md) | :heavy_check_mark: | N/A | +| `rateLimit` | *models.RateLimit* | :heavy_minus_sign: | N/A | +| `redirect` | *models.Redirect* | :heavy_minus_sign: | N/A | +| `actionDuration` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/namespaceid.md b/docs/models/namespaceid.md similarity index 81% rename from docs/models/operations/namespaceid.md rename to docs/models/namespaceid.md index bcddb036..e57d9283 100644 --- a/docs/models/operations/namespaceid.md +++ b/docs/models/namespaceid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 8768.21; +const value: number = 392.11; ``` diff --git a/docs/models/nine.md b/docs/models/nine.md new file mode 100644 index 00000000..f3c6a84a --- /dev/null +++ b/docs/models/nine.md @@ -0,0 +1,25 @@ +# Nine + +## Example Usage + +```typescript +import { Nine } from "@vercel/sdk/models/createrecordop.js"; + +let value: Nine = { + name: "subdomain", + type: "TXT", + ttl: 60, + value: "ns1.example.com", + comment: "used to verify ownership of domain", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | A subdomain name. | subdomain | +| `type` | [models.CreateRecordRequestBodyDnsRequest9Type](../models/createrecordrequestbodydnsrequest9type.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | +| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | +| `value` | *string* | :heavy_minus_sign: | An NS domain value. | ns1.example.com | +| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/operations/nodeversion.md b/docs/models/nodeversion.md similarity index 75% rename from docs/models/operations/nodeversion.md rename to docs/models/nodeversion.md index 7b5064b4..83136074 100644 --- a/docs/models/operations/nodeversion.md +++ b/docs/models/nodeversion.md @@ -5,7 +5,7 @@ Override the Node.js version that should be used for this deployment ## Example Usage ```typescript -import { NodeVersion } from "@vercel/sdk/models/operations/createdeployment.js"; +import { NodeVersion } from "@vercel/sdk/models/createdeploymentop.js"; let value: NodeVersion = "16.x"; ``` diff --git a/docs/models/components/northstarmigration.md b/docs/models/northstarmigration.md similarity index 91% rename from docs/models/components/northstarmigration.md rename to docs/models/northstarmigration.md index 31fa65ef..d99af76f 100644 --- a/docs/models/components/northstarmigration.md +++ b/docs/models/northstarmigration.md @@ -3,16 +3,16 @@ ## Example Usage ```typescript -import { NorthstarMigration } from "@vercel/sdk/models/components/authuser.js"; +import { NorthstarMigration } from "@vercel/sdk/models/authuser.js"; let value: NorthstarMigration = { teamId: "", - projects: 1247.40, - stores: 4617.58, - integrationConfigurations: 4343.45, - integrationClients: 9268.02, - startTime: 1342.05, - endTime: 911.36, + projects: 2041.44, + stores: 2552.65, + integrationConfigurations: 8846.22, + integrationClients: 2064.51, + startTime: 7975.26, + endTime: 8080.49, }; ``` diff --git a/docs/models/operations/oidctokenclaims.md b/docs/models/oidctokenclaims.md similarity index 93% rename from docs/models/operations/oidctokenclaims.md rename to docs/models/oidctokenclaims.md index 440ffa53..ccb890ff 100644 --- a/docs/models/operations/oidctokenclaims.md +++ b/docs/models/oidctokenclaims.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OidcTokenClaims } from "@vercel/sdk/models/operations/createdeployment.js"; +import { OidcTokenClaims } from "@vercel/sdk/models/createdeploymentop.js"; let value: OidcTokenClaims = { iss: "", diff --git a/docs/models/operations/oidctokenconfig.md b/docs/models/oidctokenconfig.md similarity index 86% rename from docs/models/operations/oidctokenconfig.md rename to docs/models/oidctokenconfig.md index 06af316e..0cd78311 100644 --- a/docs/models/operations/oidctokenconfig.md +++ b/docs/models/oidctokenconfig.md @@ -5,7 +5,7 @@ OpenID Connect JSON Web Token generation configuration. ## Example Usage ```typescript -import { OidcTokenConfig } from "@vercel/sdk/models/operations/createproject.js"; +import { OidcTokenConfig } from "@vercel/sdk/models/createprojectop.js"; let value: OidcTokenConfig = { enabled: false, @@ -17,4 +17,4 @@ let value: OidcTokenConfig = { | Field | Type | Required | Description | | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | | `enabled` | *boolean* | :heavy_check_mark: | Whether or not to generate OpenID Connect JSON Web Tokens. | -| `issuerMode` | [operations.IssuerMode](../../models/operations/issuermode.md) | :heavy_minus_sign: | team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` | \ No newline at end of file +| `issuerMode` | [models.IssuerMode](../models/issuermode.md) | :heavy_minus_sign: | team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` | \ No newline at end of file diff --git a/docs/models/one.md b/docs/models/one.md new file mode 100644 index 00000000..7477f972 --- /dev/null +++ b/docs/models/one.md @@ -0,0 +1,23 @@ +# One + +A list of projects and spaces across teams that a user has marked as a favorite. + +## Example Usage + +```typescript +import { One } from "@vercel/sdk/models/authuser.js"; + +let value: One = { + projectId: "", + scopeSlug: "", + scopeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `scopeSlug` | *string* | :heavy_check_mark: | N/A | +| `scopeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/one5.md b/docs/models/one5.md new file mode 100644 index 00000000..7fd0dfbf --- /dev/null +++ b/docs/models/one5.md @@ -0,0 +1,14 @@ +# One5 + +## Example Usage + +```typescript +import { One5 } from "@vercel/sdk/models/createedgeconfigop.js"; + +let value: One5 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/onetarget.md b/docs/models/onetarget.md new file mode 100644 index 00000000..710b480f --- /dev/null +++ b/docs/models/onetarget.md @@ -0,0 +1,15 @@ +# OneTarget + +## Example Usage + +```typescript +import { OneTarget } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: OneTarget = "development"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/onetype.md b/docs/models/onetype.md new file mode 100644 index 00000000..d0eda3d4 --- /dev/null +++ b/docs/models/onetype.md @@ -0,0 +1,17 @@ +# OneType + +The type of environment variable + +## Example Usage + +```typescript +import { OneType } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: OneType = "plain"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/op.md b/docs/models/op.md new file mode 100644 index 00000000..2e1bcbb6 --- /dev/null +++ b/docs/models/op.md @@ -0,0 +1,17 @@ +# Op + +[Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value. + +## Example Usage + +```typescript +import { Op } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Op = "suf"; +``` + +## Values + +```typescript +"re" | "eq" | "neq" | "ex" | "nex" | "inc" | "ninc" | "pre" | "suf" | "sub" | "gt" | "gte" | "lt" | "lte" +``` \ No newline at end of file diff --git a/docs/models/operations/acceptedchallenges.md b/docs/models/operations/acceptedchallenges.md deleted file mode 100644 index b838c6b8..00000000 --- a/docs/models/operations/acceptedchallenges.md +++ /dev/null @@ -1,17 +0,0 @@ -# AcceptedChallenges - -Which challenge types the domain can use for issuing certs. - -## Example Usage - -```typescript -import { AcceptedChallenges } from "@vercel/sdk/models/operations/getdomainconfig.js"; - -let value: AcceptedChallenges = "http-01"; -``` - -## Values - -```typescript -"dns-01" | "http-01" -``` \ No newline at end of file diff --git a/docs/models/operations/access.md b/docs/models/operations/access.md deleted file mode 100644 index d3226ba5..00000000 --- a/docs/models/operations/access.md +++ /dev/null @@ -1,15 +0,0 @@ -# Access - -## Example Usage - -```typescript -import { Access } from "@vercel/sdk/models/operations/getalias.js"; - -let value: Access = "requested"; -``` - -## Values - -```typescript -"requested" | "granted" -``` \ No newline at end of file diff --git a/docs/models/operations/action.md b/docs/models/operations/action.md deleted file mode 100644 index 74852dae..00000000 --- a/docs/models/operations/action.md +++ /dev/null @@ -1,15 +0,0 @@ -# Action - -## Example Usage - -```typescript -import { Action } from "@vercel/sdk/models/operations/updateinvoice.js"; - -let value: Action = "refund"; -``` - -## Values - -```typescript -"refund" -``` \ No newline at end of file diff --git a/docs/models/operations/action1.md b/docs/models/operations/action1.md deleted file mode 100644 index e6ec4891..00000000 --- a/docs/models/operations/action1.md +++ /dev/null @@ -1,15 +0,0 @@ -# Action1 - -## Example Usage - -```typescript -import { Action1 } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Action1 = "challenge"; -``` - -## Values - -```typescript -"log" | "challenge" | "deny" | "rate_limit" -``` \ No newline at end of file diff --git a/docs/models/operations/active.md b/docs/models/operations/active.md deleted file mode 100644 index f0237333..00000000 --- a/docs/models/operations/active.md +++ /dev/null @@ -1,107 +0,0 @@ -# Active - -## Example Usage - -```typescript -import { Active } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Active = { - ownerId: "", - projectKey: "", - id: "", - version: 3396.51, - updatedAt: "", - firewallEnabled: false, - crs: { - sd: { - active: false, - action: "log", - }, - ma: { - active: false, - action: "log", - }, - lfi: { - active: false, - action: "deny", - }, - rfi: { - active: false, - action: "log", - }, - rce: { - active: false, - action: "log", - }, - php: { - active: false, - action: "log", - }, - gen: { - active: false, - action: "log", - }, - xss: { - active: false, - action: "log", - }, - sqli: { - active: false, - action: "deny", - }, - sf: { - active: false, - action: "log", - }, - java: { - active: false, - action: "log", - }, - }, - rules: [ - { - id: "", - name: "", - active: false, - conditionGroup: [ - { - conditions: [ - { - type: "geo_city", - op: "re", - }, - ], - }, - ], - action: {}, - }, - ], - ips: [ - { - id: "", - hostname: "innocent-discourse.biz", - ip: "d90f:f40b:eec6:7da2:562a:ee10:67bf:8ffa", - action: "challenge", - }, - ], - changes: [ - {}, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `ownerId` | *string* | :heavy_check_mark: | N/A | -| `projectKey` | *string* | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `version` | *number* | :heavy_check_mark: | N/A | -| `updatedAt` | *string* | :heavy_check_mark: | N/A | -| `firewallEnabled` | *boolean* | :heavy_check_mark: | N/A | -| `crs` | [operations.PutFirewallConfigCrs](../../models/operations/putfirewallconfigcrs.md) | :heavy_check_mark: | N/A | -| `rules` | [operations.PutFirewallConfigRules](../../models/operations/putfirewallconfigrules.md)[] | :heavy_check_mark: | N/A | -| `ips` | [operations.PutFirewallConfigIps](../../models/operations/putfirewallconfigips.md)[] | :heavy_check_mark: | N/A | -| `changes` | [operations.PutFirewallConfigChanges](../../models/operations/putfirewallconfigchanges.md)[] | :heavy_check_mark: | N/A | -| `managedRules` | [operations.PutFirewallConfigManagedRules](../../models/operations/putfirewallconfigmanagedrules.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addprojectdomainrequest.md b/docs/models/operations/addprojectdomainrequest.md deleted file mode 100644 index 84264563..00000000 --- a/docs/models/operations/addprojectdomainrequest.md +++ /dev/null @@ -1,26 +0,0 @@ -# AddProjectDomainRequest - -## Example Usage - -```typescript -import { AddProjectDomainRequest } from "@vercel/sdk/models/operations/addprojectdomain.js"; - -let value: AddProjectDomainRequest = { - idOrName: "", - requestBody: { - name: "www.example.com", - gitBranch: null, - redirect: "foobar.com", - redirectStatusCode: 307, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.AddProjectDomainRequestBody](../../models/operations/addprojectdomainrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addprojectdomainrequestbody.md b/docs/models/operations/addprojectdomainrequestbody.md deleted file mode 100644 index 81e066ea..00000000 --- a/docs/models/operations/addprojectdomainrequestbody.md +++ /dev/null @@ -1,23 +0,0 @@ -# AddProjectDomainRequestBody - -## Example Usage - -```typescript -import { AddProjectDomainRequestBody } from "@vercel/sdk/models/operations/addprojectdomain.js"; - -let value: AddProjectDomainRequestBody = { - name: "www.example.com", - gitBranch: null, - redirect: "foobar.com", - redirectStatusCode: 307, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | The project domain name | www.example.com | -| `gitBranch` | *string* | :heavy_minus_sign: | Git branch to link the project domain | | -| `redirect` | *string* | :heavy_minus_sign: | Target destination domain for redirect | foobar.com | -| `redirectStatusCode` | [operations.AddProjectDomainRedirectStatusCode](../../models/operations/addprojectdomainredirectstatuscode.md) | :heavy_minus_sign: | Status code for domain redirect | 307 | \ No newline at end of file diff --git a/docs/models/operations/addprojectmemberrequestbody.md b/docs/models/operations/addprojectmemberrequestbody.md deleted file mode 100644 index a9bbe210..00000000 --- a/docs/models/operations/addprojectmemberrequestbody.md +++ /dev/null @@ -1,38 +0,0 @@ -# AddProjectMemberRequestBody - - -## Supported Types - -### `operations.AddProjectMemberRequestBody1` - -```typescript -const value: operations.AddProjectMemberRequestBody1 = { - uid: "ndlgr43fadlPyCtREAqxxdyFK", - username: "example", - email: "entity@example.com", - role: "ADMIN", -}; -``` - -### `operations.AddProjectMemberRequestBody2` - -```typescript -const value: operations.AddProjectMemberRequestBody2 = { - uid: "ndlgr43fadlPyCtREAqxxdyFK", - username: "example", - email: "entity@example.com", - role: "ADMIN", -}; -``` - -### `operations.AddProjectMemberRequestBody3` - -```typescript -const value: operations.AddProjectMemberRequestBody3 = { - uid: "ndlgr43fadlPyCtREAqxxdyFK", - username: "example", - email: "entity@example.com", - role: "ADMIN", -}; -``` - diff --git a/docs/models/operations/addprojectmemberrequestbody1.md b/docs/models/operations/addprojectmemberrequestbody1.md deleted file mode 100644 index 0a62e736..00000000 --- a/docs/models/operations/addprojectmemberrequestbody1.md +++ /dev/null @@ -1,23 +0,0 @@ -# AddProjectMemberRequestBody1 - -## Example Usage - -```typescript -import { AddProjectMemberRequestBody1 } from "@vercel/sdk/models/operations/addprojectmember.js"; - -let value: AddProjectMemberRequestBody1 = { - uid: "ndlgr43fadlPyCtREAqxxdyFK", - username: "example", - email: "entity@example.com", - role: "ADMIN", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `uid` | *string* | :heavy_check_mark: | The ID of the team member that should be added to this project. | ndlgr43fadlPyCtREAqxxdyFK | -| `username` | *string* | :heavy_minus_sign: | The username of the team member that should be added to this project. | example | -| `email` | *string* | :heavy_minus_sign: | The email of the team member that should be added to this project. | entity@example.com | -| `role` | [operations.RequestBodyRole](../../models/operations/requestbodyrole.md) | :heavy_check_mark: | The project role of the member that will be added. | ADMIN | \ No newline at end of file diff --git a/docs/models/operations/addprojectmemberrequestbody2.md b/docs/models/operations/addprojectmemberrequestbody2.md deleted file mode 100644 index 874fa74b..00000000 --- a/docs/models/operations/addprojectmemberrequestbody2.md +++ /dev/null @@ -1,23 +0,0 @@ -# AddProjectMemberRequestBody2 - -## Example Usage - -```typescript -import { AddProjectMemberRequestBody2 } from "@vercel/sdk/models/operations/addprojectmember.js"; - -let value: AddProjectMemberRequestBody2 = { - uid: "ndlgr43fadlPyCtREAqxxdyFK", - username: "example", - email: "entity@example.com", - role: "ADMIN", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `uid` | *string* | :heavy_minus_sign: | The ID of the team member that should be added to this project. | ndlgr43fadlPyCtREAqxxdyFK | -| `username` | *string* | :heavy_check_mark: | The username of the team member that should be added to this project. | example | -| `email` | *string* | :heavy_minus_sign: | The email of the team member that should be added to this project. | entity@example.com | -| `role` | [operations.AddProjectMemberRequestBodyRole](../../models/operations/addprojectmemberrequestbodyrole.md) | :heavy_check_mark: | The project role of the member that will be added. | ADMIN | \ No newline at end of file diff --git a/docs/models/operations/addprojectmemberrequestbody3.md b/docs/models/operations/addprojectmemberrequestbody3.md deleted file mode 100644 index b8b0d202..00000000 --- a/docs/models/operations/addprojectmemberrequestbody3.md +++ /dev/null @@ -1,23 +0,0 @@ -# AddProjectMemberRequestBody3 - -## Example Usage - -```typescript -import { AddProjectMemberRequestBody3 } from "@vercel/sdk/models/operations/addprojectmember.js"; - -let value: AddProjectMemberRequestBody3 = { - uid: "ndlgr43fadlPyCtREAqxxdyFK", - username: "example", - email: "entity@example.com", - role: "ADMIN", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `uid` | *string* | :heavy_minus_sign: | The ID of the team member that should be added to this project. | ndlgr43fadlPyCtREAqxxdyFK | -| `username` | *string* | :heavy_minus_sign: | The username of the team member that should be added to this project. | example | -| `email` | *string* | :heavy_check_mark: | The email of the team member that should be added to this project. | entity@example.com | -| `role` | [operations.AddProjectMemberRequestBodyProjectMembersRole](../../models/operations/addprojectmemberrequestbodyprojectmembersrole.md) | :heavy_check_mark: | The project role of the member that will be added. | ADMIN | \ No newline at end of file diff --git a/docs/models/operations/algo.md b/docs/models/operations/algo.md deleted file mode 100644 index df94d204..00000000 --- a/docs/models/operations/algo.md +++ /dev/null @@ -1,15 +0,0 @@ -# Algo - -## Example Usage - -```typescript -import { Algo } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Algo = "token_bucket"; -``` - -## Values - -```typescript -"fixed_window" | "token_bucket" -``` \ No newline at end of file diff --git a/docs/models/operations/artifactqueryrequest.md b/docs/models/operations/artifactqueryrequest.md deleted file mode 100644 index 52863a1f..00000000 --- a/docs/models/operations/artifactqueryrequest.md +++ /dev/null @@ -1,17 +0,0 @@ -# ArtifactQueryRequest - -## Example Usage - -```typescript -import { ArtifactQueryRequest } from "@vercel/sdk/models/operations/artifactquery.js"; - -let value: ArtifactQueryRequest = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.ArtifactQueryRequestBody](../../models/operations/artifactqueryrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/assignaliasrequest.md b/docs/models/operations/assignaliasrequest.md deleted file mode 100644 index 190e1ea0..00000000 --- a/docs/models/operations/assignaliasrequest.md +++ /dev/null @@ -1,24 +0,0 @@ -# AssignAliasRequest - -## Example Usage - -```typescript -import { AssignAliasRequest } from "@vercel/sdk/models/operations/assignalias.js"; - -let value: AssignAliasRequest = { - id: "", - requestBody: { - alias: "my-alias.vercel.app", - redirect: null, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The ID of the deployment the aliases should be listed for | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.AssignAliasRequestBody](../../models/operations/assignaliasrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/attribution.md b/docs/models/operations/attribution.md deleted file mode 100644 index 4420650d..00000000 --- a/docs/models/operations/attribution.md +++ /dev/null @@ -1,20 +0,0 @@ -# Attribution - -Attribution information for the session or current page - -## Example Usage - -```typescript -import { Attribution } from "@vercel/sdk/models/operations/createteam.js"; - -let value: Attribution = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | -| `sessionReferrer` | *string* | :heavy_minus_sign: | Session referrer | -| `landingPage` | *string* | :heavy_minus_sign: | Session landing page | -| `pageBeforeConversionPage` | *string* | :heavy_minus_sign: | Referrer to the signup page | -| `utm` | [operations.Utm](../../models/operations/utm.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/backups.md b/docs/models/operations/backups.md deleted file mode 100644 index 96af0401..00000000 --- a/docs/models/operations/backups.md +++ /dev/null @@ -1,20 +0,0 @@ -# Backups - -## Example Usage - -```typescript -import { Backups } from "@vercel/sdk/models/operations/getedgeconfigbackups.js"; - -let value: Backups = { - id: "", - lastModified: 1887.32, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `metadata` | [operations.GetEdgeConfigBackupsMetadata](../../models/operations/getedgeconfigbackupsmetadata.md) | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `lastModified` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/billing.md b/docs/models/operations/billing.md deleted file mode 100644 index c9abd28b..00000000 --- a/docs/models/operations/billing.md +++ /dev/null @@ -1,39 +0,0 @@ -# Billing - -Billing data (interim invoicing data). - - -## Supported Types - -### `operations.Billing1[]` - -```typescript -const value: operations.Billing1[] = [ - { - billingPlanId: "", - name: "", - price: "666.30", - quantity: 7006.33, - units: "", - total: "", - }, -]; -``` - -### `operations.Billing2` - -```typescript -const value: operations.Billing2 = { - items: [ - { - billingPlanId: "", - name: "", - price: "841.99", - quantity: 6218.82, - units: "", - total: "", - }, - ], -}; -``` - diff --git a/docs/models/operations/billing2.md b/docs/models/operations/billing2.md deleted file mode 100644 index b159db2c..00000000 --- a/docs/models/operations/billing2.md +++ /dev/null @@ -1,27 +0,0 @@ -# Billing2 - -## Example Usage - -```typescript -import { Billing2 } from "@vercel/sdk/models/operations/submitbillingdata.js"; - -let value: Billing2 = { - items: [ - { - billingPlanId: "", - name: "", - price: "313.38", - quantity: 2075.13, - units: "", - total: "", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `items` | [operations.BillingItems](../../models/operations/billingitems.md)[] | :heavy_check_mark: | N/A | -| `discounts` | [operations.Discounts](../../models/operations/discounts.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/billingplan.md b/docs/models/operations/billingplan.md deleted file mode 100644 index cf7fd819..00000000 --- a/docs/models/operations/billingplan.md +++ /dev/null @@ -1,31 +0,0 @@ -# BillingPlan - -## Example Usage - -```typescript -import { BillingPlan } from "@vercel/sdk/models/operations/getconfigurations.js"; - -let value: BillingPlan = { - id: "", - type: "prepayment", - name: "", - description: "for physical next but vacation separately utter", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `type` | [operations.GetConfigurationsResponseBodyIntegrationsResponseType](../../models/operations/getconfigurationsresponsebodyintegrationsresponsetype.md) | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.ResponseBodyScope](../../models/operations/responsebodyscope.md) | :heavy_minus_sign: | N/A | -| `description` | *string* | :heavy_check_mark: | N/A | -| `paymentMethodRequired` | *boolean* | :heavy_minus_sign: | N/A | -| `preauthorizationAmount` | *number* | :heavy_minus_sign: | N/A | -| `cost` | *string* | :heavy_minus_sign: | N/A | -| `details` | [operations.Details](../../models/operations/details.md)[] | :heavy_minus_sign: | N/A | -| `heightlightedDetails` | [operations.HeightlightedDetails](../../models/operations/heightlighteddetails.md)[] | :heavy_minus_sign: | N/A | -| `quote` | [operations.Quote](../../models/operations/quote.md)[] | :heavy_minus_sign: | N/A | -| `effectiveDate` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/branchmatcher.md b/docs/models/operations/branchmatcher.md deleted file mode 100644 index ea011c14..00000000 --- a/docs/models/operations/branchmatcher.md +++ /dev/null @@ -1,19 +0,0 @@ -# BranchMatcher - -## Example Usage - -```typescript -import { BranchMatcher } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: BranchMatcher = { - type: "startsWith", - pattern: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.UpdateProjectDataCacheProjectsResponse200ApplicationJSONType](../../models/operations/updateprojectdatacacheprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `pattern` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/builds.md b/docs/models/operations/builds.md deleted file mode 100644 index 71a985c3..00000000 --- a/docs/models/operations/builds.md +++ /dev/null @@ -1,14 +0,0 @@ -# Builds - -## Example Usage - -```typescript -import { Builds } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: Builds = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/buydomaindomainsresponsebody.md b/docs/models/operations/buydomaindomainsresponsebody.md deleted file mode 100644 index 7a533d17..00000000 --- a/docs/models/operations/buydomaindomainsresponsebody.md +++ /dev/null @@ -1,25 +0,0 @@ -# BuyDomainDomainsResponseBody - -## Example Usage - -```typescript -import { BuyDomainDomainsResponseBody } from "@vercel/sdk/models/operations/buydomain.js"; - -let value: BuyDomainDomainsResponseBody = { - domain: { - uid: "", - ns: [ - "", - ], - verified: false, - created: 9003.67, - pending: false, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `domain` | [operations.BuyDomainDomain](../../models/operations/buydomaindomain.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/buydomainrequest.md b/docs/models/operations/buydomainrequest.md deleted file mode 100644 index 2ed13738..00000000 --- a/docs/models/operations/buydomainrequest.md +++ /dev/null @@ -1,33 +0,0 @@ -# BuyDomainRequest - -## Example Usage - -```typescript -import { BuyDomainRequest } from "@vercel/sdk/models/operations/buydomain.js"; - -let value: BuyDomainRequest = { - requestBody: { - name: "example.com", - expectedPrice: 10, - renew: true, - country: "US", - orgName: "Acme Inc.", - firstName: "Jane", - lastName: "Doe", - address1: "340 S Lemon Ave Suite 4133", - city: "San Francisco", - state: "CA", - postalCode: "91789", - phone: "+1.4158551452", - email: "jane.doe@someplace.com", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.BuyDomainRequestBody](../../models/operations/buydomainrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/buydomainresponse.md b/docs/models/operations/buydomainresponse.md deleted file mode 100644 index 427f9220..00000000 --- a/docs/models/operations/buydomainresponse.md +++ /dev/null @@ -1,37 +0,0 @@ -# BuyDomainResponse - - -## Supported Types - -### `operations.BuyDomainResponseBody` - -```typescript -const value: operations.BuyDomainResponseBody = { - domain: { - uid: "", - ns: [ - "", - ], - verified: false, - created: 1936.23, - pending: false, - }, -}; -``` - -### `operations.BuyDomainDomainsResponseBody` - -```typescript -const value: operations.BuyDomainDomainsResponseBody = { - domain: { - uid: "", - ns: [ - "", - ], - verified: false, - created: 1122.50, - pending: false, - }, -}; -``` - diff --git a/docs/models/operations/buydomainresponsebody.md b/docs/models/operations/buydomainresponsebody.md deleted file mode 100644 index 197296af..00000000 --- a/docs/models/operations/buydomainresponsebody.md +++ /dev/null @@ -1,25 +0,0 @@ -# BuyDomainResponseBody - -## Example Usage - -```typescript -import { BuyDomainResponseBody } from "@vercel/sdk/models/operations/buydomain.js"; - -let value: BuyDomainResponseBody = { - domain: { - uid: "", - ns: [ - "", - ], - verified: false, - created: 304.27, - pending: false, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `domain` | [operations.BuyDomainDomainsDomain](../../models/operations/buydomaindomainsdomain.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentbuilds.md b/docs/models/operations/canceldeploymentbuilds.md deleted file mode 100644 index 33550a23..00000000 --- a/docs/models/operations/canceldeploymentbuilds.md +++ /dev/null @@ -1,14 +0,0 @@ -# CancelDeploymentBuilds - -## Example Usage - -```typescript -import { CancelDeploymentBuilds } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentBuilds = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentcustomenvironment.md b/docs/models/operations/canceldeploymentcustomenvironment.md deleted file mode 100644 index 4b887877..00000000 --- a/docs/models/operations/canceldeploymentcustomenvironment.md +++ /dev/null @@ -1,19 +0,0 @@ -# CancelDeploymentCustomEnvironment - - -## Supported Types - -### `operations.CancelDeploymentCustomEnvironment1` - -```typescript -const value: operations.CancelDeploymentCustomEnvironment1 = {}; -``` - -### `operations.CancelDeploymentCustomEnvironment2` - -```typescript -const value: operations.CancelDeploymentCustomEnvironment2 = { - id: "", -}; -``` - diff --git a/docs/models/operations/canceldeploymentflags.md b/docs/models/operations/canceldeploymentflags.md deleted file mode 100644 index c250e6cd..00000000 --- a/docs/models/operations/canceldeploymentflags.md +++ /dev/null @@ -1,21 +0,0 @@ -# CancelDeploymentFlags - - -## Supported Types - -### `operations.CancelDeploymentFlags1` - -```typescript -const value: operations.CancelDeploymentFlags1 = { - definitions: {}, -}; -``` - -### `operations.CancelDeploymentFlags2[]` - -```typescript -const value: operations.CancelDeploymentFlags2[] = [ - {}, -]; -``` - diff --git a/docs/models/operations/canceldeploymentflags1.md b/docs/models/operations/canceldeploymentflags1.md deleted file mode 100644 index 7f1f1e1c..00000000 --- a/docs/models/operations/canceldeploymentflags1.md +++ /dev/null @@ -1,19 +0,0 @@ -# CancelDeploymentFlags1 - -Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. - -## Example Usage - -```typescript -import { CancelDeploymentFlags1 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentFlags1 = { - definitions: {}, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `definitions` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentflagsdefinitions.md b/docs/models/operations/canceldeploymentflagsdefinitions.md deleted file mode 100644 index 85a447f4..00000000 --- a/docs/models/operations/canceldeploymentflagsdefinitions.md +++ /dev/null @@ -1,17 +0,0 @@ -# CancelDeploymentFlagsDefinitions - -## Example Usage - -```typescript -import { CancelDeploymentFlagsDefinitions } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentFlagsDefinitions = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `options` | [operations.FlagsOptions](../../models/operations/flagsoptions.md)[] | :heavy_minus_sign: | N/A | -| `url` | *string* | :heavy_minus_sign: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentgitrepo.md b/docs/models/operations/canceldeploymentgitrepo.md deleted file mode 100644 index e2b645ff..00000000 --- a/docs/models/operations/canceldeploymentgitrepo.md +++ /dev/null @@ -1,55 +0,0 @@ -# CancelDeploymentGitRepo - - -## Supported Types - -### `operations.CancelDeploymentGitRepo1` - -```typescript -const value: operations.CancelDeploymentGitRepo1 = { - namespace: "", - projectId: 6075.45, - type: "gitlab", - url: "https://mysterious-tuber.biz", - path: "/var/yp", - defaultBranch: "", - name: "", - private: false, - ownerType: "user", -}; -``` - -### `operations.CancelDeploymentGitRepo2` - -```typescript -const value: operations.CancelDeploymentGitRepo2 = { - org: "", - repo: "", - repoId: 4587.23, - type: "github", - repoOwnerId: 8174.53, - path: "/usr/libexec", - defaultBranch: "", - name: "", - private: false, - ownerType: "user", -}; -``` - -### `operations.CancelDeploymentGitRepo3` - -```typescript -const value: operations.CancelDeploymentGitRepo3 = { - owner: "", - repoUuid: "", - slug: "", - type: "bitbucket", - workspaceUuid: "", - path: "/net", - defaultBranch: "", - name: "", - private: false, - ownerType: "team", -}; -``` - diff --git a/docs/models/operations/canceldeploymentgitrepo1.md b/docs/models/operations/canceldeploymentgitrepo1.md deleted file mode 100644 index 8eea1e2d..00000000 --- a/docs/models/operations/canceldeploymentgitrepo1.md +++ /dev/null @@ -1,33 +0,0 @@ -# CancelDeploymentGitRepo1 - -## Example Usage - -```typescript -import { CancelDeploymentGitRepo1 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentGitRepo1 = { - namespace: "", - projectId: 6152.76, - type: "gitlab", - url: "https://tangible-jazz.org", - path: "/var", - defaultBranch: "", - name: "", - private: false, - ownerType: "team", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `namespace` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *number* | :heavy_check_mark: | N/A | -| `type` | [operations.CancelDeploymentGitRepoType](../../models/operations/canceldeploymentgitrepotype.md) | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | -| `path` | *string* | :heavy_check_mark: | N/A | -| `defaultBranch` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `private` | *boolean* | :heavy_check_mark: | N/A | -| `ownerType` | [operations.CancelDeploymentGitRepoOwnerType](../../models/operations/canceldeploymentgitrepoownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentgitrepo2.md b/docs/models/operations/canceldeploymentgitrepo2.md deleted file mode 100644 index 8a2aa7ce..00000000 --- a/docs/models/operations/canceldeploymentgitrepo2.md +++ /dev/null @@ -1,35 +0,0 @@ -# CancelDeploymentGitRepo2 - -## Example Usage - -```typescript -import { CancelDeploymentGitRepo2 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentGitRepo2 = { - org: "", - repo: "", - repoId: 7044.02, - type: "github", - repoOwnerId: 2848.86, - path: "/etc/defaults", - defaultBranch: "", - name: "", - private: false, - ownerType: "user", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `org` | *string* | :heavy_check_mark: | N/A | -| `repo` | *string* | :heavy_check_mark: | N/A | -| `repoId` | *number* | :heavy_check_mark: | N/A | -| `type` | [operations.CancelDeploymentGitRepoDeploymentsType](../../models/operations/canceldeploymentgitrepodeploymentstype.md) | :heavy_check_mark: | N/A | -| `repoOwnerId` | *number* | :heavy_check_mark: | N/A | -| `path` | *string* | :heavy_check_mark: | N/A | -| `defaultBranch` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `private` | *boolean* | :heavy_check_mark: | N/A | -| `ownerType` | [operations.CancelDeploymentGitRepoDeploymentsOwnerType](../../models/operations/canceldeploymentgitrepodeploymentsownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentgitrepo3.md b/docs/models/operations/canceldeploymentgitrepo3.md deleted file mode 100644 index 48e0a692..00000000 --- a/docs/models/operations/canceldeploymentgitrepo3.md +++ /dev/null @@ -1,35 +0,0 @@ -# CancelDeploymentGitRepo3 - -## Example Usage - -```typescript -import { CancelDeploymentGitRepo3 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentGitRepo3 = { - owner: "", - repoUuid: "", - slug: "", - type: "bitbucket", - workspaceUuid: "", - path: "/private/var", - defaultBranch: "", - name: "", - private: false, - ownerType: "team", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | -| `owner` | *string* | :heavy_check_mark: | N/A | -| `repoUuid` | *string* | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `type` | [operations.CancelDeploymentGitRepoDeploymentsResponseType](../../models/operations/canceldeploymentgitrepodeploymentsresponsetype.md) | :heavy_check_mark: | N/A | -| `workspaceUuid` | *string* | :heavy_check_mark: | N/A | -| `path` | *string* | :heavy_check_mark: | N/A | -| `defaultBranch` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `private` | *boolean* | :heavy_check_mark: | N/A | -| `ownerType` | [operations.CancelDeploymentGitRepoDeploymentsResponseOwnerType](../../models/operations/canceldeploymentgitrepodeploymentsresponseownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentgitsource.md b/docs/models/operations/canceldeploymentgitsource.md deleted file mode 100644 index 7ba5af10..00000000 --- a/docs/models/operations/canceldeploymentgitsource.md +++ /dev/null @@ -1,97 +0,0 @@ -# CancelDeploymentGitSource - - -## Supported Types - -### `operations.CancelDeploymentGitSource1` - -```typescript -const value: operations.CancelDeploymentGitSource1 = { - type: "github", - repoId: "", -}; -``` - -### `operations.CancelDeploymentGitSource2` - -```typescript -const value: operations.CancelDeploymentGitSource2 = { - type: "github", - org: "", - repo: "", -}; -``` - -### `operations.CancelDeploymentGitSource3` - -```typescript -const value: operations.CancelDeploymentGitSource3 = { - type: "gitlab", - projectId: "", -}; -``` - -### `operations.CancelDeploymentGitSource4` - -```typescript -const value: operations.CancelDeploymentGitSource4 = { - type: "bitbucket", - repoUuid: "", -}; -``` - -### `operations.CancelDeploymentGitSource5` - -```typescript -const value: operations.CancelDeploymentGitSource5 = { - type: "bitbucket", - owner: "", - slug: "", -}; -``` - -### `operations.GitSource6` - -```typescript -const value: operations.GitSource6 = { - type: "custom", - ref: "", - sha: "", - gitUrl: "https://complete-corporation.net/", -}; -``` - -### `operations.GitSource7` - -```typescript -const value: operations.GitSource7 = { - type: "github", - ref: "", - sha: "", - repoId: 495.00, -}; -``` - -### `operations.GitSource8` - -```typescript -const value: operations.GitSource8 = { - type: "gitlab", - ref: "", - sha: "", - projectId: 1018.55, -}; -``` - -### `operations.GitSource9` - -```typescript -const value: operations.GitSource9 = { - type: "bitbucket", - ref: "", - sha: "", - workspaceUuid: "", - repoUuid: "", -}; -``` - diff --git a/docs/models/operations/canceldeploymentgitsource1.md b/docs/models/operations/canceldeploymentgitsource1.md deleted file mode 100644 index 1c768a83..00000000 --- a/docs/models/operations/canceldeploymentgitsource1.md +++ /dev/null @@ -1,22 +0,0 @@ -# CancelDeploymentGitSource1 - -## Example Usage - -```typescript -import { CancelDeploymentGitSource1 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentGitSource1 = { - type: "github", - repoId: 1220.86, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `type` | [operations.CancelDeploymentGitSourceType](../../models/operations/canceldeploymentgitsourcetype.md) | :heavy_check_mark: | N/A | -| `repoId` | *operations.CancelDeploymentGitSourceRepoId* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentgitsource2.md b/docs/models/operations/canceldeploymentgitsource2.md deleted file mode 100644 index 41d2d460..00000000 --- a/docs/models/operations/canceldeploymentgitsource2.md +++ /dev/null @@ -1,24 +0,0 @@ -# CancelDeploymentGitSource2 - -## Example Usage - -```typescript -import { CancelDeploymentGitSource2 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentGitSource2 = { - type: "github", - org: "", - repo: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CancelDeploymentGitSourceDeploymentsType](../../models/operations/canceldeploymentgitsourcedeploymentstype.md) | :heavy_check_mark: | N/A | -| `org` | *string* | :heavy_check_mark: | N/A | -| `repo` | *string* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentgitsource3.md b/docs/models/operations/canceldeploymentgitsource3.md deleted file mode 100644 index 44c0dc4b..00000000 --- a/docs/models/operations/canceldeploymentgitsource3.md +++ /dev/null @@ -1,22 +0,0 @@ -# CancelDeploymentGitSource3 - -## Example Usage - -```typescript -import { CancelDeploymentGitSource3 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentGitSource3 = { - type: "gitlab", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CancelDeploymentGitSourceDeploymentsResponseType](../../models/operations/canceldeploymentgitsourcedeploymentsresponsetype.md) | :heavy_check_mark: | N/A | -| `projectId` | *operations.CancelDeploymentGitSourceProjectId* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentgitsource4.md b/docs/models/operations/canceldeploymentgitsource4.md deleted file mode 100644 index 623459e6..00000000 --- a/docs/models/operations/canceldeploymentgitsource4.md +++ /dev/null @@ -1,23 +0,0 @@ -# CancelDeploymentGitSource4 - -## Example Usage - -```typescript -import { CancelDeploymentGitSource4 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentGitSource4 = { - type: "bitbucket", - repoUuid: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CancelDeploymentGitSourceDeploymentsResponse200Type](../../models/operations/canceldeploymentgitsourcedeploymentsresponse200type.md) | :heavy_check_mark: | N/A | -| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | -| `repoUuid` | *string* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentgitsource5.md b/docs/models/operations/canceldeploymentgitsource5.md deleted file mode 100644 index c5dea312..00000000 --- a/docs/models/operations/canceldeploymentgitsource5.md +++ /dev/null @@ -1,24 +0,0 @@ -# CancelDeploymentGitSource5 - -## Example Usage - -```typescript -import { CancelDeploymentGitSource5 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentGitSource5 = { - type: "bitbucket", - owner: "", - slug: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType](../../models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `owner` | *string* | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymenthas1.md b/docs/models/operations/canceldeploymenthas1.md deleted file mode 100644 index 19e3a5fb..00000000 --- a/docs/models/operations/canceldeploymenthas1.md +++ /dev/null @@ -1,19 +0,0 @@ -# CancelDeploymentHas1 - -## Example Usage - -```typescript -import { CancelDeploymentHas1 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentHas1 = { - type: "host", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `type` | [operations.CancelDeploymentHasType](../../models/operations/canceldeploymenthastype.md) | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymenthas2.md b/docs/models/operations/canceldeploymenthas2.md deleted file mode 100644 index 177042cb..00000000 --- a/docs/models/operations/canceldeploymenthas2.md +++ /dev/null @@ -1,20 +0,0 @@ -# CancelDeploymentHas2 - -## Example Usage - -```typescript -import { CancelDeploymentHas2 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentHas2 = { - type: "cookie", - key: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CancelDeploymentHasDeploymentsType](../../models/operations/canceldeploymenthasdeploymentstype.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymenthastype.md b/docs/models/operations/canceldeploymenthastype.md deleted file mode 100644 index 345dd9f1..00000000 --- a/docs/models/operations/canceldeploymenthastype.md +++ /dev/null @@ -1,15 +0,0 @@ -# CancelDeploymentHasType - -## Example Usage - -```typescript -import { CancelDeploymentHasType } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentHasType = "host"; -``` - -## Values - -```typescript -"host" -``` \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentintegrations.md b/docs/models/operations/canceldeploymentintegrations.md deleted file mode 100644 index 6e6359bc..00000000 --- a/docs/models/operations/canceldeploymentintegrations.md +++ /dev/null @@ -1,22 +0,0 @@ -# CancelDeploymentIntegrations - -## Example Usage - -```typescript -import { CancelDeploymentIntegrations } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentIntegrations = { - status: "skipped", - startedAt: 6174.97, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `status` | [operations.CancelDeploymentDeploymentsStatus](../../models/operations/canceldeploymentdeploymentsstatus.md) | :heavy_check_mark: | N/A | -| `startedAt` | *number* | :heavy_check_mark: | N/A | -| `completedAt` | *number* | :heavy_minus_sign: | N/A | -| `skippedAt` | *number* | :heavy_minus_sign: | N/A | -| `skippedBy` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentlambdas.md b/docs/models/operations/canceldeploymentlambdas.md deleted file mode 100644 index 3ea3e1da..00000000 --- a/docs/models/operations/canceldeploymentlambdas.md +++ /dev/null @@ -1,29 +0,0 @@ -# CancelDeploymentLambdas - -A partial representation of a Build used by the deployment endpoint. - -## Example Usage - -```typescript -import { CancelDeploymentLambdas } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentLambdas = { - output: [ - { - path: "/usr/libdata", - functionName: "", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `entrypoint` | *string* | :heavy_minus_sign: | N/A | -| `readyState` | [operations.CancelDeploymentDeploymentsReadyState](../../models/operations/canceldeploymentdeploymentsreadystate.md) | :heavy_minus_sign: | N/A | -| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | -| `output` | [operations.CancelDeploymentOutput](../../models/operations/canceldeploymentoutput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentmicrofrontends.md b/docs/models/operations/canceldeploymentmicrofrontends.md deleted file mode 100644 index a48bf505..00000000 --- a/docs/models/operations/canceldeploymentmicrofrontends.md +++ /dev/null @@ -1,26 +0,0 @@ -# CancelDeploymentMicrofrontends - - -## Supported Types - -### `operations.CancelDeploymentMicrofrontends1` - -```typescript -const value: operations.CancelDeploymentMicrofrontends1 = { - groupIds: [ - "", - ], -}; -``` - -### `operations.CancelDeploymentMicrofrontends2` - -```typescript -const value: operations.CancelDeploymentMicrofrontends2 = { - isDefaultApp: false, - groupIds: [ - "", - ], -}; -``` - diff --git a/docs/models/operations/canceldeploymentmissing1.md b/docs/models/operations/canceldeploymentmissing1.md deleted file mode 100644 index 64d2560c..00000000 --- a/docs/models/operations/canceldeploymentmissing1.md +++ /dev/null @@ -1,19 +0,0 @@ -# CancelDeploymentMissing1 - -## Example Usage - -```typescript -import { CancelDeploymentMissing1 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentMissing1 = { - type: "host", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `type` | [operations.CancelDeploymentMissingType](../../models/operations/canceldeploymentmissingtype.md) | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentmissing2.md b/docs/models/operations/canceldeploymentmissing2.md deleted file mode 100644 index a7b867f1..00000000 --- a/docs/models/operations/canceldeploymentmissing2.md +++ /dev/null @@ -1,20 +0,0 @@ -# CancelDeploymentMissing2 - -## Example Usage - -```typescript -import { CancelDeploymentMissing2 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentMissing2 = { - type: "cookie", - key: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CancelDeploymentMissingDeploymentsType](../../models/operations/canceldeploymentmissingdeploymentstype.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentplan.md b/docs/models/operations/canceldeploymentplan.md deleted file mode 100644 index d1ca7235..00000000 --- a/docs/models/operations/canceldeploymentplan.md +++ /dev/null @@ -1,15 +0,0 @@ -# CancelDeploymentPlan - -## Example Usage - -```typescript -import { CancelDeploymentPlan } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentPlan = "hobby"; -``` - -## Values - -```typescript -"pro" | "enterprise" | "hobby" -``` \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentprojectsettings.md b/docs/models/operations/canceldeploymentprojectsettings.md deleted file mode 100644 index 51792284..00000000 --- a/docs/models/operations/canceldeploymentprojectsettings.md +++ /dev/null @@ -1,22 +0,0 @@ -# CancelDeploymentProjectSettings - -## Example Usage - -```typescript -import { CancelDeploymentProjectSettings } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentProjectSettings = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `buildCommand` | *string* | :heavy_minus_sign: | N/A | -| `devCommand` | *string* | :heavy_minus_sign: | N/A | -| `framework` | [operations.CancelDeploymentFramework](../../models/operations/canceldeploymentframework.md) | :heavy_minus_sign: | N/A | -| `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | -| `installCommand` | *string* | :heavy_minus_sign: | N/A | -| `outputDirectory` | *string* | :heavy_minus_sign: | N/A | -| `speedInsights` | [operations.CancelDeploymentSpeedInsights](../../models/operations/canceldeploymentspeedinsights.md) | :heavy_minus_sign: | N/A | -| `webAnalytics` | [operations.CancelDeploymentWebAnalytics](../../models/operations/canceldeploymentwebanalytics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentreadystate.md b/docs/models/operations/canceldeploymentreadystate.md deleted file mode 100644 index 14e1c00b..00000000 --- a/docs/models/operations/canceldeploymentreadystate.md +++ /dev/null @@ -1,15 +0,0 @@ -# CancelDeploymentReadyState - -## Example Usage - -```typescript -import { CancelDeploymentReadyState } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentReadyState = "BUILDING"; -``` - -## Values - -```typescript -"BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED" -``` \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentroutes.md b/docs/models/operations/canceldeploymentroutes.md deleted file mode 100644 index 46b9b1bc..00000000 --- a/docs/models/operations/canceldeploymentroutes.md +++ /dev/null @@ -1,31 +0,0 @@ -# CancelDeploymentRoutes - - -## Supported Types - -### `operations.CancelDeploymentRoutes1` - -```typescript -const value: operations.CancelDeploymentRoutes1 = { - src: "", -}; -``` - -### `operations.CancelDeploymentRoutes2` - -```typescript -const value: operations.CancelDeploymentRoutes2 = { - handle: "resource", -}; -``` - -### `operations.CancelDeploymentRoutes3` - -```typescript -const value: operations.CancelDeploymentRoutes3 = { - src: "", - continue: false, - middleware: 8847.65, -}; -``` - diff --git a/docs/models/operations/canceldeploymentroutes2.md b/docs/models/operations/canceldeploymentroutes2.md deleted file mode 100644 index cdb03eeb..00000000 --- a/docs/models/operations/canceldeploymentroutes2.md +++ /dev/null @@ -1,20 +0,0 @@ -# CancelDeploymentRoutes2 - -## Example Usage - -```typescript -import { CancelDeploymentRoutes2 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentRoutes2 = { - handle: "hit", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `handle` | [operations.CancelDeploymentRoutesHandle](../../models/operations/canceldeploymentrouteshandle.md) | :heavy_check_mark: | N/A | -| `src` | *string* | :heavy_minus_sign: | N/A | -| `dest` | *string* | :heavy_minus_sign: | N/A | -| `status` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentrouteshas.md b/docs/models/operations/canceldeploymentrouteshas.md deleted file mode 100644 index c9916855..00000000 --- a/docs/models/operations/canceldeploymentrouteshas.md +++ /dev/null @@ -1,23 +0,0 @@ -# CancelDeploymentRoutesHas - - -## Supported Types - -### `operations.CancelDeploymentHas1` - -```typescript -const value: operations.CancelDeploymentHas1 = { - type: "host", - value: "", -}; -``` - -### `operations.CancelDeploymentHas2` - -```typescript -const value: operations.CancelDeploymentHas2 = { - type: "header", - key: "", -}; -``` - diff --git a/docs/models/operations/canceldeploymentroutesmissing.md b/docs/models/operations/canceldeploymentroutesmissing.md deleted file mode 100644 index 89fe1d17..00000000 --- a/docs/models/operations/canceldeploymentroutesmissing.md +++ /dev/null @@ -1,23 +0,0 @@ -# CancelDeploymentRoutesMissing - - -## Supported Types - -### `operations.CancelDeploymentMissing1` - -```typescript -const value: operations.CancelDeploymentMissing1 = { - type: "host", - value: "", -}; -``` - -### `operations.CancelDeploymentMissing2` - -```typescript -const value: operations.CancelDeploymentMissing2 = { - type: "cookie", - key: "", -}; -``` - diff --git a/docs/models/operations/canceldeploymentsource.md b/docs/models/operations/canceldeploymentsource.md deleted file mode 100644 index 0004a0cb..00000000 --- a/docs/models/operations/canceldeploymentsource.md +++ /dev/null @@ -1,15 +0,0 @@ -# CancelDeploymentSource - -## Example Usage - -```typescript -import { CancelDeploymentSource } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentSource = "clone/repo"; -``` - -## Values - -```typescript -"api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy" | "v0-web" -``` \ No newline at end of file diff --git a/docs/models/operations/canceldeploymentstatus.md b/docs/models/operations/canceldeploymentstatus.md deleted file mode 100644 index 4de9cb93..00000000 --- a/docs/models/operations/canceldeploymentstatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# CancelDeploymentStatus - -## Example Usage - -```typescript -import { CancelDeploymentStatus } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentStatus = "ERROR"; -``` - -## Values - -```typescript -"BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED" -``` \ No newline at end of file diff --git a/docs/models/operations/canceldeploymenttarget.md b/docs/models/operations/canceldeploymenttarget.md deleted file mode 100644 index 4f2b7c54..00000000 --- a/docs/models/operations/canceldeploymenttarget.md +++ /dev/null @@ -1,15 +0,0 @@ -# CancelDeploymentTarget - -## Example Usage - -```typescript -import { CancelDeploymentTarget } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentTarget = "production"; -``` - -## Values - -```typescript -"production" | "staging" -``` \ No newline at end of file diff --git a/docs/models/operations/canceldeploymenttype.md b/docs/models/operations/canceldeploymenttype.md deleted file mode 100644 index f249c336..00000000 --- a/docs/models/operations/canceldeploymenttype.md +++ /dev/null @@ -1,15 +0,0 @@ -# CancelDeploymentType - -## Example Usage - -```typescript -import { CancelDeploymentType } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: CancelDeploymentType = "LAMBDAS"; -``` - -## Values - -```typescript -"LAMBDAS" -``` \ No newline at end of file diff --git a/docs/models/operations/changes.md b/docs/models/operations/changes.md deleted file mode 100644 index 9f4f6170..00000000 --- a/docs/models/operations/changes.md +++ /dev/null @@ -1,14 +0,0 @@ -# Changes - -## Example Usage - -```typescript -import { Changes } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: Changes = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/checkdomainpricerequest.md b/docs/models/operations/checkdomainpricerequest.md deleted file mode 100644 index 70f63478..00000000 --- a/docs/models/operations/checkdomainpricerequest.md +++ /dev/null @@ -1,21 +0,0 @@ -# CheckDomainPriceRequest - -## Example Usage - -```typescript -import { CheckDomainPriceRequest } from "@vercel/sdk/models/operations/checkdomainprice.js"; - -let value: CheckDomainPriceRequest = { - name: "example.com", - type: "new", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | The name of the domain for which the price needs to be checked. | example.com | -| `type` | [operations.QueryParamType](../../models/operations/queryparamtype.md) | :heavy_minus_sign: | In which status of the domain the price needs to be checked. | new | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | \ No newline at end of file diff --git a/docs/models/operations/checks.md b/docs/models/operations/checks.md deleted file mode 100644 index dce2b6cb..00000000 --- a/docs/models/operations/checks.md +++ /dev/null @@ -1,35 +0,0 @@ -# Checks - -## Example Usage - -```typescript -import { Checks } from "@vercel/sdk/models/operations/getallchecks.js"; - -let value: Checks = { - createdAt: 5666.01, - id: "", - integrationId: "", - name: "", - rerequestable: false, - status: "registered", - updatedAt: 5232.48, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `completedAt` | *number* | :heavy_minus_sign: | N/A | -| `conclusion` | [operations.GetAllChecksConclusion](../../models/operations/getallchecksconclusion.md) | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `detailsUrl` | *string* | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `output` | [operations.GetAllChecksOutput](../../models/operations/getallchecksoutput.md) | :heavy_minus_sign: | N/A | -| `path` | *string* | :heavy_minus_sign: | N/A | -| `rerequestable` | *boolean* | :heavy_check_mark: | N/A | -| `startedAt` | *number* | :heavy_minus_sign: | N/A | -| `status` | [operations.GetAllChecksStatus](../../models/operations/getallchecksstatus.md) | :heavy_check_mark: | N/A | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/checksconclusion.md b/docs/models/operations/checksconclusion.md deleted file mode 100644 index 72f29ac1..00000000 --- a/docs/models/operations/checksconclusion.md +++ /dev/null @@ -1,15 +0,0 @@ -# ChecksConclusion - -## Example Usage - -```typescript -import { ChecksConclusion } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: ChecksConclusion = "skipped"; -``` - -## Values - -```typescript -"succeeded" | "failed" | "skipped" | "canceled" -``` \ No newline at end of file diff --git a/docs/models/operations/checksstate.md b/docs/models/operations/checksstate.md deleted file mode 100644 index 75e1e156..00000000 --- a/docs/models/operations/checksstate.md +++ /dev/null @@ -1,15 +0,0 @@ -# ChecksState - -## Example Usage - -```typescript -import { ChecksState } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: ChecksState = "registered"; -``` - -## Values - -```typescript -"registered" | "running" | "completed" -``` \ No newline at end of file diff --git a/docs/models/operations/cls.md b/docs/models/operations/cls.md deleted file mode 100644 index 551b17a6..00000000 --- a/docs/models/operations/cls.md +++ /dev/null @@ -1,21 +0,0 @@ -# Cls - -## Example Usage - -```typescript -import { Cls } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: Cls = { - value: 4, - previousValue: 2, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `value` | *number* | :heavy_check_mark: | Cumulative Layout Shift value | 4 | -| `previousValue` | *number* | :heavy_minus_sign: | Previous Cumulative Layout Shift value to display a delta | 2 | -| `source` | [operations.UpdateCheckChecksRequestSource](../../models/operations/updatecheckchecksrequestsource.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/computedprojectrole.md b/docs/models/operations/computedprojectrole.md deleted file mode 100644 index 45ab0454..00000000 --- a/docs/models/operations/computedprojectrole.md +++ /dev/null @@ -1,17 +0,0 @@ -# ComputedProjectRole - -Role of this user in the project. - -## Example Usage - -```typescript -import { ComputedProjectRole } from "@vercel/sdk/models/operations/getprojectmembers.js"; - -let value: ComputedProjectRole = "ADMIN"; -``` - -## Values - -```typescript -"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_VIEWER" -``` \ No newline at end of file diff --git a/docs/models/operations/conclusion.md b/docs/models/operations/conclusion.md deleted file mode 100644 index 7ded084e..00000000 --- a/docs/models/operations/conclusion.md +++ /dev/null @@ -1,17 +0,0 @@ -# Conclusion - -The result of the check being run - -## Example Usage - -```typescript -import { Conclusion } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: Conclusion = "neutral"; -``` - -## Values - -```typescript -"canceled" | "failed" | "neutral" | "succeeded" | "skipped" -``` \ No newline at end of file diff --git a/docs/models/operations/conditiongroup.md b/docs/models/operations/conditiongroup.md deleted file mode 100644 index 79f39cbb..00000000 --- a/docs/models/operations/conditiongroup.md +++ /dev/null @@ -1,22 +0,0 @@ -# ConditionGroup - -## Example Usage - -```typescript -import { ConditionGroup } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: ConditionGroup = { - conditions: [ - { - type: "region", - op: "ex", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `conditions` | [operations.Conditions](../../models/operations/conditions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/conditions.md b/docs/models/operations/conditions.md deleted file mode 100644 index 88feb27c..00000000 --- a/docs/models/operations/conditions.md +++ /dev/null @@ -1,22 +0,0 @@ -# Conditions - -## Example Usage - -```typescript -import { Conditions } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Conditions = { - type: "geo_country", - op: "inc", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `type` | [operations.PutFirewallConfigType](../../models/operations/putfirewallconfigtype.md) | :heavy_check_mark: | N/A | -| `op` | [operations.Op](../../models/operations/op.md) | :heavy_check_mark: | N/A | -| `neg` | *boolean* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *operations.PutFirewallConfigValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/contenthint.md b/docs/models/operations/contenthint.md deleted file mode 100644 index 99a3f5b1..00000000 --- a/docs/models/operations/contenthint.md +++ /dev/null @@ -1,143 +0,0 @@ -# ContentHint - - -## Supported Types - -### `operations.ContentHint1` - -```typescript -const value: operations.ContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -### `operations.ContentHint2` - -```typescript -const value: operations.ContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -### `operations.ContentHint3` - -```typescript -const value: operations.ContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -### `operations.ContentHint4` - -```typescript -const value: operations.ContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -### `operations.ContentHint5` - -```typescript -const value: operations.ContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -### `operations.ContentHint6` - -```typescript -const value: operations.ContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -### `operations.ContentHint7` - -```typescript -const value: operations.ContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -### `operations.ContentHint8` - -```typescript -const value: operations.ContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -### `operations.ContentHint9` - -```typescript -const value: operations.ContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -### `operations.ContentHint10` - -```typescript -const value: operations.ContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -### `operations.UpdateProjectDataCacheContentHint11` - -```typescript -const value: operations.UpdateProjectDataCacheContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -### `operations.Twelve` - -```typescript -const value: operations.Twelve = { - type: "postgres-database", - storeId: "", -}; -``` - -### `operations.Thirteen` - -```typescript -const value: operations.Thirteen = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -### `operations.Fourteen` - -```typescript -const value: operations.Fourteen = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -### `operations.Fifteen` - -```typescript -const value: operations.Fifteen = { - type: "flags-connection-string", - projectId: "", -}; -``` - diff --git a/docs/models/operations/contenthint1.md b/docs/models/operations/contenthint1.md deleted file mode 100644 index c7de6eac..00000000 --- a/docs/models/operations/contenthint1.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContentHint1 - -## Example Usage - -```typescript -import { ContentHint1 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: ContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `type` | [operations.ContentHintType](../../models/operations/contenthinttype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/contenthint10.md b/docs/models/operations/contenthint10.md deleted file mode 100644 index 22dfd447..00000000 --- a/docs/models/operations/contenthint10.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContentHint10 - -## Example Usage - -```typescript -import { ContentHint10 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: ContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type](../../models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/contenthint11.md b/docs/models/operations/contenthint11.md deleted file mode 100644 index 99a518bc..00000000 --- a/docs/models/operations/contenthint11.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContentHint11 - -## Example Usage - -```typescript -import { ContentHint11 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: ContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type](../../models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/contenthint12.md b/docs/models/operations/contenthint12.md deleted file mode 100644 index 25c91686..00000000 --- a/docs/models/operations/contenthint12.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContentHint12 - -## Example Usage - -```typescript -import { ContentHint12 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: ContentHint12 = { - type: "postgres-database", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type](../../models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/contenthint13.md b/docs/models/operations/contenthint13.md deleted file mode 100644 index 7f0b2aca..00000000 --- a/docs/models/operations/contenthint13.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContentHint13 - -## Example Usage - -```typescript -import { ContentHint13 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: ContentHint13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type](../../models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/contenthint14.md b/docs/models/operations/contenthint14.md deleted file mode 100644 index a4ae541a..00000000 --- a/docs/models/operations/contenthint14.md +++ /dev/null @@ -1,25 +0,0 @@ -# ContentHint14 - -## Example Usage - -```typescript -import { ContentHint14 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: ContentHint14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type](../../models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/contenthint15.md b/docs/models/operations/contenthint15.md deleted file mode 100644 index 37805dfe..00000000 --- a/docs/models/operations/contenthint15.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContentHint15 - -## Example Usage - -```typescript -import { ContentHint15 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: ContentHint15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type](../../models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/contenthint2.md b/docs/models/operations/contenthint2.md deleted file mode 100644 index d6013b14..00000000 --- a/docs/models/operations/contenthint2.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContentHint2 - -## Example Usage - -```typescript -import { ContentHint2 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: ContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectDataCacheContentHintType](../../models/operations/updateprojectdatacachecontenthinttype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/contenthint3.md b/docs/models/operations/contenthint3.md deleted file mode 100644 index dded9cb4..00000000 --- a/docs/models/operations/contenthint3.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContentHint3 - -## Example Usage - -```typescript -import { ContentHint3 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: ContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.UpdateProjectDataCacheContentHintProjectsType](../../models/operations/updateprojectdatacachecontenthintprojectstype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/contenthint4.md b/docs/models/operations/contenthint4.md deleted file mode 100644 index 5558eae4..00000000 --- a/docs/models/operations/contenthint4.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContentHint4 - -## Example Usage - -```typescript -import { ContentHint4 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: ContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectDataCacheContentHintProjectsResponseType](../../models/operations/updateprojectdatacachecontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/contenthint5.md b/docs/models/operations/contenthint5.md deleted file mode 100644 index 8676c969..00000000 --- a/docs/models/operations/contenthint5.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContentHint5 - -## Example Usage - -```typescript -import { ContentHint5 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: ContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectDataCacheContentHintProjectsResponse200Type](../../models/operations/updateprojectdatacachecontenthintprojectsresponse200type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/contenthint6.md b/docs/models/operations/contenthint6.md deleted file mode 100644 index 4defd48f..00000000 --- a/docs/models/operations/contenthint6.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContentHint6 - -## Example Usage - -```typescript -import { ContentHint6 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: ContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType](../../models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/contenthint7.md b/docs/models/operations/contenthint7.md deleted file mode 100644 index 00f23a08..00000000 --- a/docs/models/operations/contenthint7.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContentHint7 - -## Example Usage - -```typescript -import { ContentHint7 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: ContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType](../../models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/contenthint8.md b/docs/models/operations/contenthint8.md deleted file mode 100644 index 0aa33a33..00000000 --- a/docs/models/operations/contenthint8.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContentHint8 - -## Example Usage - -```typescript -import { ContentHint8 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: ContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType](../../models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/contenthint9.md b/docs/models/operations/contenthint9.md deleted file mode 100644 index 7d1e3ae8..00000000 --- a/docs/models/operations/contenthint9.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContentHint9 - -## Example Usage - -```typescript -import { ContentHint9 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: ContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type](../../models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/contenthinttype.md b/docs/models/operations/contenthinttype.md deleted file mode 100644 index ff5b9473..00000000 --- a/docs/models/operations/contenthinttype.md +++ /dev/null @@ -1,15 +0,0 @@ -# ContentHintType - -## Example Usage - -```typescript -import { ContentHintType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: ContentHintType = "redis-url"; -``` - -## Values - -```typescript -"redis-url" -``` \ No newline at end of file diff --git a/docs/models/operations/createaccessgroupprojectrequest.md b/docs/models/operations/createaccessgroupprojectrequest.md deleted file mode 100644 index 9ad3cdc7..00000000 --- a/docs/models/operations/createaccessgroupprojectrequest.md +++ /dev/null @@ -1,24 +0,0 @@ -# CreateAccessGroupProjectRequest - -## Example Usage - -```typescript -import { CreateAccessGroupProjectRequest } from "@vercel/sdk/models/operations/createaccessgroupproject.js"; - -let value: CreateAccessGroupProjectRequest = { - accessGroupIdOrName: "", - requestBody: { - projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", - role: "ADMIN", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `accessGroupIdOrName` | *string* | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.CreateAccessGroupProjectRequestBody](../../models/operations/createaccessgroupprojectrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createaccessgroupprojectrequestbody.md b/docs/models/operations/createaccessgroupprojectrequestbody.md deleted file mode 100644 index 330e61cc..00000000 --- a/docs/models/operations/createaccessgroupprojectrequestbody.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateAccessGroupProjectRequestBody - -## Example Usage - -```typescript -import { CreateAccessGroupProjectRequestBody } from "@vercel/sdk/models/operations/createaccessgroupproject.js"; - -let value: CreateAccessGroupProjectRequestBody = { - projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", - role: "ADMIN", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `projectId` | *string* | :heavy_check_mark: | The ID of the project. | prj_ndlgr43fadlPyCtREAqxxdyFK | -| `role` | [operations.CreateAccessGroupProjectRole](../../models/operations/createaccessgroupprojectrole.md) | :heavy_check_mark: | The project role that will be added to this Access Group. | ADMIN | \ No newline at end of file diff --git a/docs/models/operations/createaccessgroupprojectresponsebody.md b/docs/models/operations/createaccessgroupprojectresponsebody.md deleted file mode 100644 index b5c3c46b..00000000 --- a/docs/models/operations/createaccessgroupprojectresponsebody.md +++ /dev/null @@ -1,27 +0,0 @@ -# CreateAccessGroupProjectResponseBody - -## Example Usage - -```typescript -import { CreateAccessGroupProjectResponseBody } from "@vercel/sdk/models/operations/createaccessgroupproject.js"; - -let value: CreateAccessGroupProjectResponseBody = { - teamId: "", - accessGroupId: "", - projectId: "", - role: "PROJECT_VIEWER", - createdAt: "", - updatedAt: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `teamId` | *string* | :heavy_check_mark: | N/A | -| `accessGroupId` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `role` | [operations.CreateAccessGroupProjectAccessGroupsRole](../../models/operations/createaccessgroupprojectaccessgroupsrole.md) | :heavy_check_mark: | N/A | -| `createdAt` | *string* | :heavy_check_mark: | N/A | -| `updatedAt` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createaccessgrouprequest.md b/docs/models/operations/createaccessgrouprequest.md deleted file mode 100644 index eef1234d..00000000 --- a/docs/models/operations/createaccessgrouprequest.md +++ /dev/null @@ -1,27 +0,0 @@ -# CreateAccessGroupRequest - -## Example Usage - -```typescript -import { CreateAccessGroupRequest } from "@vercel/sdk/models/operations/createaccessgroup.js"; - -let value: CreateAccessGroupRequest = { - requestBody: { - name: "My access group", - projects: [ - { - projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", - role: "ADMIN", - }, - ], - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.CreateAccessGroupRequestBody](../../models/operations/createaccessgrouprequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createaccessgrouprequestbody.md b/docs/models/operations/createaccessgrouprequestbody.md deleted file mode 100644 index 36cc71f2..00000000 --- a/docs/models/operations/createaccessgrouprequestbody.md +++ /dev/null @@ -1,25 +0,0 @@ -# CreateAccessGroupRequestBody - -## Example Usage - -```typescript -import { CreateAccessGroupRequestBody } from "@vercel/sdk/models/operations/createaccessgroup.js"; - -let value: CreateAccessGroupRequestBody = { - name: "My access group", - projects: [ - { - projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", - role: "ADMIN", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | The name of the access group | My access group | -| `projects` | [operations.CreateAccessGroupProjects](../../models/operations/createaccessgroupprojects.md)[] | :heavy_minus_sign: | N/A | | -| `membersToAdd` | *string*[] | :heavy_minus_sign: | List of members to add to the access group. | | \ No newline at end of file diff --git a/docs/models/operations/createauthtokenrequest.md b/docs/models/operations/createauthtokenrequest.md deleted file mode 100644 index 0c4e8fcb..00000000 --- a/docs/models/operations/createauthtokenrequest.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateAuthTokenRequest - -## Example Usage - -```typescript -import { CreateAuthTokenRequest } from "@vercel/sdk/models/operations/createauthtoken.js"; - -let value: CreateAuthTokenRequest = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.CreateAuthTokenRequestBody](../../models/operations/createauthtokenrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createcheckcheckssource.md b/docs/models/operations/createcheckcheckssource.md deleted file mode 100644 index c266a326..00000000 --- a/docs/models/operations/createcheckcheckssource.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateCheckChecksSource - -## Example Usage - -```typescript -import { CreateCheckChecksSource } from "@vercel/sdk/models/operations/createcheck.js"; - -let value: CreateCheckChecksSource = "web-vitals"; -``` - -## Values - -```typescript -"web-vitals" -``` \ No newline at end of file diff --git a/docs/models/operations/createcheckcls.md b/docs/models/operations/createcheckcls.md deleted file mode 100644 index b889a25d..00000000 --- a/docs/models/operations/createcheckcls.md +++ /dev/null @@ -1,20 +0,0 @@ -# CreateCheckCLS - -## Example Usage - -```typescript -import { CreateCheckCLS } from "@vercel/sdk/models/operations/createcheck.js"; - -let value: CreateCheckCLS = { - value: 1381.83, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.CreateCheckChecksResponseSource](../../models/operations/createcheckchecksresponsesource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createcheckconclusion.md b/docs/models/operations/createcheckconclusion.md deleted file mode 100644 index 5ecc54b7..00000000 --- a/docs/models/operations/createcheckconclusion.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateCheckConclusion - -## Example Usage - -```typescript -import { CreateCheckConclusion } from "@vercel/sdk/models/operations/createcheck.js"; - -let value: CreateCheckConclusion = "canceled"; -``` - -## Values - -```typescript -"canceled" | "failed" | "neutral" | "succeeded" | "skipped" | "stale" -``` \ No newline at end of file diff --git a/docs/models/operations/createcheckfcp.md b/docs/models/operations/createcheckfcp.md deleted file mode 100644 index 3a5aadf4..00000000 --- a/docs/models/operations/createcheckfcp.md +++ /dev/null @@ -1,20 +0,0 @@ -# CreateCheckFCP - -## Example Usage - -```typescript -import { CreateCheckFCP } from "@vercel/sdk/models/operations/createcheck.js"; - -let value: CreateCheckFCP = { - value: 1103.75, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.CreateCheckSource](../../models/operations/createchecksource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createchecklcp.md b/docs/models/operations/createchecklcp.md deleted file mode 100644 index ab834e2d..00000000 --- a/docs/models/operations/createchecklcp.md +++ /dev/null @@ -1,20 +0,0 @@ -# CreateCheckLCP - -## Example Usage - -```typescript -import { CreateCheckLCP } from "@vercel/sdk/models/operations/createcheck.js"; - -let value: CreateCheckLCP = { - value: 6563.30, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.CreateCheckChecksSource](../../models/operations/createcheckcheckssource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createcheckmetrics.md b/docs/models/operations/createcheckmetrics.md deleted file mode 100644 index 9042f8e2..00000000 --- a/docs/models/operations/createcheckmetrics.md +++ /dev/null @@ -1,36 +0,0 @@ -# CreateCheckMetrics - -## Example Usage - -```typescript -import { CreateCheckMetrics } from "@vercel/sdk/models/operations/createcheck.js"; - -let value: CreateCheckMetrics = { - fcp: { - value: 8209.93, - source: "web-vitals", - }, - lcp: { - value: 971.01, - source: "web-vitals", - }, - cls: { - value: 8379.45, - source: "web-vitals", - }, - tbt: { - value: 960.98, - source: "web-vitals", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `fcp` | [operations.CreateCheckFCP](../../models/operations/createcheckfcp.md) | :heavy_check_mark: | N/A | -| `lcp` | [operations.CreateCheckLCP](../../models/operations/createchecklcp.md) | :heavy_check_mark: | N/A | -| `cls` | [operations.CreateCheckCLS](../../models/operations/createcheckcls.md) | :heavy_check_mark: | N/A | -| `tbt` | [operations.CreateCheckTBT](../../models/operations/createchecktbt.md) | :heavy_check_mark: | N/A | -| `virtualExperienceScore` | [operations.CreateCheckVirtualExperienceScore](../../models/operations/createcheckvirtualexperiencescore.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createcheckoutput.md b/docs/models/operations/createcheckoutput.md deleted file mode 100644 index ce6b3930..00000000 --- a/docs/models/operations/createcheckoutput.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateCheckOutput - -## Example Usage - -```typescript -import { CreateCheckOutput } from "@vercel/sdk/models/operations/createcheck.js"; - -let value: CreateCheckOutput = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `metrics` | [operations.CreateCheckMetrics](../../models/operations/createcheckmetrics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createcheckrequest.md b/docs/models/operations/createcheckrequest.md deleted file mode 100644 index d42868aa..00000000 --- a/docs/models/operations/createcheckrequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# CreateCheckRequest - -## Example Usage - -```typescript -import { CreateCheckRequest } from "@vercel/sdk/models/operations/createcheck.js"; - -let value: CreateCheckRequest = { - deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6", - requestBody: { - name: "Performance Check", - path: "/", - blocking: true, - detailsUrl: "http://example.com", - externalId: "1234abc", - rerequestable: true, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `deploymentId` | *string* | :heavy_check_mark: | The deployment to create the check for. | dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6 | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | -| `requestBody` | [operations.CreateCheckRequestBody](../../models/operations/createcheckrequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/createcheckresponsebody.md b/docs/models/operations/createcheckresponsebody.md deleted file mode 100644 index 629e4041..00000000 --- a/docs/models/operations/createcheckresponsebody.md +++ /dev/null @@ -1,39 +0,0 @@ -# CreateCheckResponseBody - -## Example Usage - -```typescript -import { CreateCheckResponseBody } from "@vercel/sdk/models/operations/createcheck.js"; - -let value: CreateCheckResponseBody = { - id: "", - name: "", - status: "completed", - blocking: false, - integrationId: "", - deploymentId: "", - createdAt: 4686.51, - updatedAt: 9767.61, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `path` | *string* | :heavy_minus_sign: | N/A | -| `status` | [operations.CreateCheckStatus](../../models/operations/createcheckstatus.md) | :heavy_check_mark: | N/A | -| `conclusion` | [operations.CreateCheckConclusion](../../models/operations/createcheckconclusion.md) | :heavy_minus_sign: | N/A | -| `blocking` | *boolean* | :heavy_check_mark: | N/A | -| `output` | [operations.CreateCheckOutput](../../models/operations/createcheckoutput.md) | :heavy_minus_sign: | N/A | -| `detailsUrl` | *string* | :heavy_minus_sign: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `deploymentId` | *string* | :heavy_check_mark: | N/A | -| `externalId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | -| `startedAt` | *number* | :heavy_minus_sign: | N/A | -| `completedAt` | *number* | :heavy_minus_sign: | N/A | -| `rerequestable` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createchecksource.md b/docs/models/operations/createchecksource.md deleted file mode 100644 index bc9dd141..00000000 --- a/docs/models/operations/createchecksource.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateCheckSource - -## Example Usage - -```typescript -import { CreateCheckSource } from "@vercel/sdk/models/operations/createcheck.js"; - -let value: CreateCheckSource = "web-vitals"; -``` - -## Values - -```typescript -"web-vitals" -``` \ No newline at end of file diff --git a/docs/models/operations/createcheckstatus.md b/docs/models/operations/createcheckstatus.md deleted file mode 100644 index 852b3ae7..00000000 --- a/docs/models/operations/createcheckstatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateCheckStatus - -## Example Usage - -```typescript -import { CreateCheckStatus } from "@vercel/sdk/models/operations/createcheck.js"; - -let value: CreateCheckStatus = "registered"; -``` - -## Values - -```typescript -"registered" | "running" | "completed" -``` \ No newline at end of file diff --git a/docs/models/operations/createchecktbt.md b/docs/models/operations/createchecktbt.md deleted file mode 100644 index 0d110bf5..00000000 --- a/docs/models/operations/createchecktbt.md +++ /dev/null @@ -1,20 +0,0 @@ -# CreateCheckTBT - -## Example Usage - -```typescript -import { CreateCheckTBT } from "@vercel/sdk/models/operations/createcheck.js"; - -let value: CreateCheckTBT = { - value: 1965.82, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.CreateCheckChecksResponse200Source](../../models/operations/createcheckchecksresponse200source.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createcheckvirtualexperiencescore.md b/docs/models/operations/createcheckvirtualexperiencescore.md deleted file mode 100644 index 93082b63..00000000 --- a/docs/models/operations/createcheckvirtualexperiencescore.md +++ /dev/null @@ -1,20 +0,0 @@ -# CreateCheckVirtualExperienceScore - -## Example Usage - -```typescript -import { CreateCheckVirtualExperienceScore } from "@vercel/sdk/models/operations/createcheck.js"; - -let value: CreateCheckVirtualExperienceScore = { - value: 3687.25, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.CreateCheckChecksResponse200ApplicationJSONSource](../../models/operations/createcheckchecksresponse200applicationjsonsource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createconfigurablelogdraindisabledreason.md b/docs/models/operations/createconfigurablelogdraindisabledreason.md deleted file mode 100644 index 7e969662..00000000 --- a/docs/models/operations/createconfigurablelogdraindisabledreason.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateConfigurableLogDrainDisabledReason - -## Example Usage - -```typescript -import { CreateConfigurableLogDrainDisabledReason } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; - -let value: CreateConfigurableLogDrainDisabledReason = "disabled-by-owner"; -``` - -## Values - -```typescript -"disabled-by-owner" | "feature-not-available" | "account-plan-downgrade" | "disabled-by-admin" -``` \ No newline at end of file diff --git a/docs/models/operations/createconfigurablelogdrainlogdrainssources.md b/docs/models/operations/createconfigurablelogdrainlogdrainssources.md deleted file mode 100644 index c20faaf6..00000000 --- a/docs/models/operations/createconfigurablelogdrainlogdrainssources.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateConfigurableLogDrainLogDrainsSources - -## Example Usage - -```typescript -import { CreateConfigurableLogDrainLogDrainsSources } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; - -let value: CreateConfigurableLogDrainLogDrainsSources = "external"; -``` - -## Values - -```typescript -"build" | "edge" | "lambda" | "static" | "external" | "firewall" -``` \ No newline at end of file diff --git a/docs/models/operations/createconfigurablelogdrainrequest.md b/docs/models/operations/createconfigurablelogdrainrequest.md deleted file mode 100644 index dd5e67ab..00000000 --- a/docs/models/operations/createconfigurablelogdrainrequest.md +++ /dev/null @@ -1,25 +0,0 @@ -# CreateConfigurableLogDrainRequest - -## Example Usage - -```typescript -import { CreateConfigurableLogDrainRequest } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; - -let value: CreateConfigurableLogDrainRequest = { - requestBody: { - deliveryFormat: "json", - url: "https://sentimental-descent.org/", - sources: [ - "external", - ], - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.CreateConfigurableLogDrainRequestBody](../../models/operations/createconfigurablelogdrainrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createconfigurablelogdrainrequestbody.md b/docs/models/operations/createconfigurablelogdrainrequestbody.md deleted file mode 100644 index b5079c58..00000000 --- a/docs/models/operations/createconfigurablelogdrainrequestbody.md +++ /dev/null @@ -1,29 +0,0 @@ -# CreateConfigurableLogDrainRequestBody - -## Example Usage - -```typescript -import { CreateConfigurableLogDrainRequestBody } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; - -let value: CreateConfigurableLogDrainRequestBody = { - deliveryFormat: "json", - url: "https://wonderful-gripper.name", - sources: [ - "static", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `deliveryFormat` | [operations.CreateConfigurableLogDrainDeliveryFormat](../../models/operations/createconfigurablelogdraindeliveryformat.md) | :heavy_check_mark: | The delivery log format | json | -| `url` | *string* | :heavy_check_mark: | The log drain url | | -| `headers` | Record | :heavy_minus_sign: | Headers to be sent together with the request | | -| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | | -| `sources` | [operations.CreateConfigurableLogDrainSources](../../models/operations/createconfigurablelogdrainsources.md)[] | :heavy_check_mark: | N/A | | -| `environments` | [operations.CreateConfigurableLogDrainEnvironments](../../models/operations/createconfigurablelogdrainenvironments.md)[] | :heavy_minus_sign: | N/A | | -| `secret` | *string* | :heavy_minus_sign: | Custom secret of log drain | | -| `samplingRate` | *number* | :heavy_minus_sign: | The sampling rate for this log drain. It should be a percentage rate between 0 and 100. With max 2 decimal points | | -| `name` | *string* | :heavy_minus_sign: | The custom name of this log drain. | | \ No newline at end of file diff --git a/docs/models/operations/createconfigurablelogdrainresponsebody.md b/docs/models/operations/createconfigurablelogdrainresponsebody.md deleted file mode 100644 index 17b26d0d..00000000 --- a/docs/models/operations/createconfigurablelogdrainresponsebody.md +++ /dev/null @@ -1,50 +0,0 @@ -# CreateConfigurableLogDrainResponseBody - -## Example Usage - -```typescript -import { CreateConfigurableLogDrainResponseBody } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; - -let value: CreateConfigurableLogDrainResponseBody = { - id: "", - deliveryFormat: "syslog", - url: "https://small-cd.biz/", - name: "", - ownerId: "", - createdAt: 7491.01, - deletedAt: 5323.36, - updatedAt: 1149.52, - environments: [ - "production", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `secret` | *string* | :heavy_minus_sign: | The secret to validate the log-drain payload | -| `id` | *string* | :heavy_check_mark: | N/A | -| `deliveryFormat` | [operations.CreateConfigurableLogDrainLogDrainsDeliveryFormat](../../models/operations/createconfigurablelogdrainlogdrainsdeliveryformat.md) | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `clientId` | *string* | :heavy_minus_sign: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | -| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `deletedAt` | *number* | :heavy_check_mark: | N/A | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | -| `sources` | [operations.CreateConfigurableLogDrainLogDrainsSources](../../models/operations/createconfigurablelogdrainlogdrainssources.md)[] | :heavy_minus_sign: | N/A | -| `headers` | Record | :heavy_minus_sign: | N/A | -| `environments` | [operations.CreateConfigurableLogDrainLogDrainsEnvironments](../../models/operations/createconfigurablelogdrainlogdrainsenvironments.md)[] | :heavy_check_mark: | N/A | -| `status` | [operations.CreateConfigurableLogDrainStatus](../../models/operations/createconfigurablelogdrainstatus.md) | :heavy_minus_sign: | N/A | -| `disabledAt` | *number* | :heavy_minus_sign: | N/A | -| `disabledReason` | [operations.CreateConfigurableLogDrainDisabledReason](../../models/operations/createconfigurablelogdraindisabledreason.md) | :heavy_minus_sign: | N/A | -| `disabledBy` | *string* | :heavy_minus_sign: | N/A | -| `firstErrorTimestamp` | *number* | :heavy_minus_sign: | N/A | -| `samplingRate` | *number* | :heavy_minus_sign: | N/A | -| `hideIpAddresses` | *boolean* | :heavy_minus_sign: | N/A | -| `createdFrom` | [operations.CreateConfigurableLogDrainCreatedFrom](../../models/operations/createconfigurablelogdraincreatedfrom.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/created.md b/docs/models/operations/created.md deleted file mode 100644 index ed836571..00000000 --- a/docs/models/operations/created.md +++ /dev/null @@ -1,19 +0,0 @@ -# Created - - -## Supported Types - -### `operations.Created1` - -```typescript -const value: operations.Created1 = {}; -``` - -### `operations.Created2[]` - -```typescript -const value: operations.Created2[] = [ - {}, -]; -``` - diff --git a/docs/models/operations/created1.md b/docs/models/operations/created1.md deleted file mode 100644 index f2400429..00000000 --- a/docs/models/operations/created1.md +++ /dev/null @@ -1,35 +0,0 @@ -# Created1 - -## Example Usage - -```typescript -import { Created1 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: Created1 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `target` | *operations.CreatedTarget* | :heavy_minus_sign: | N/A | -| `type` | [operations.CreatedType](../../models/operations/createdtype.md) | :heavy_minus_sign: | N/A | -| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *string* | :heavy_minus_sign: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `createdBy` | *string* | :heavy_minus_sign: | N/A | -| `updatedBy` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `contentHint` | *operations.CreatedContentHint* | :heavy_minus_sign: | N/A | -| `internalContentHint` | [operations.CreatedInternalContentHint](../../models/operations/createdinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | -| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | -| `vsmValue` | *string* | :heavy_minus_sign: | N/A | -| `system` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/created2.md b/docs/models/operations/created2.md deleted file mode 100644 index f4b184db..00000000 --- a/docs/models/operations/created2.md +++ /dev/null @@ -1,35 +0,0 @@ -# Created2 - -## Example Usage - -```typescript -import { Created2 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: Created2 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `target` | *operations.CreateProjectEnvCreatedTarget* | :heavy_minus_sign: | N/A | -| `type` | [operations.CreateProjectEnvCreatedType](../../models/operations/createprojectenvcreatedtype.md) | :heavy_minus_sign: | N/A | -| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *string* | :heavy_minus_sign: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `createdBy` | *string* | :heavy_minus_sign: | N/A | -| `updatedBy` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `contentHint` | *operations.CreateProjectEnvCreatedContentHint* | :heavy_minus_sign: | N/A | -| `internalContentHint` | [operations.CreateProjectEnvCreatedInternalContentHint](../../models/operations/createprojectenvcreatedinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | -| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | -| `vsmValue` | *string* | :heavy_minus_sign: | N/A | -| `system` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createdcontenthint.md b/docs/models/operations/createdcontenthint.md deleted file mode 100644 index 30b6c68a..00000000 --- a/docs/models/operations/createdcontenthint.md +++ /dev/null @@ -1,143 +0,0 @@ -# CreatedContentHint - - -## Supported Types - -### `operations.CreateProjectEnvContentHint1` - -```typescript -const value: operations.CreateProjectEnvContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHint2` - -```typescript -const value: operations.CreateProjectEnvContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHint3` - -```typescript -const value: operations.CreateProjectEnvContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHint4` - -```typescript -const value: operations.CreateProjectEnvContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHint5` - -```typescript -const value: operations.CreateProjectEnvContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHint6` - -```typescript -const value: operations.CreateProjectEnvContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHint7` - -```typescript -const value: operations.CreateProjectEnvContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHint8` - -```typescript -const value: operations.CreateProjectEnvContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHint9` - -```typescript -const value: operations.CreateProjectEnvContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHint10` - -```typescript -const value: operations.CreateProjectEnvContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHint11` - -```typescript -const value: operations.CreateProjectEnvContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHint12` - -```typescript -const value: operations.CreateProjectEnvContentHint12 = { - type: "postgres-database", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHint13` - -```typescript -const value: operations.CreateProjectEnvContentHint13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHint14` - -```typescript -const value: operations.CreateProjectEnvContentHint14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -### `operations.CreateProjectEnvContentHint15` - -```typescript -const value: operations.CreateProjectEnvContentHint15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - diff --git a/docs/models/operations/createdeploymentgitsource.md b/docs/models/operations/createdeploymentgitsource.md deleted file mode 100644 index ecba99d8..00000000 --- a/docs/models/operations/createdeploymentgitsource.md +++ /dev/null @@ -1,97 +0,0 @@ -# CreateDeploymentGitSource - - -## Supported Types - -### `operations.GitSource1` - -```typescript -const value: operations.GitSource1 = { - type: "github", - repoId: 7747.48, -}; -``` - -### `operations.GitSource2` - -```typescript -const value: operations.GitSource2 = { - type: "github", - org: "", - repo: "", -}; -``` - -### `operations.GitSource3` - -```typescript -const value: operations.GitSource3 = { - type: "gitlab", - projectId: 6147.70, -}; -``` - -### `operations.GitSource4` - -```typescript -const value: operations.GitSource4 = { - type: "bitbucket", - repoUuid: "", -}; -``` - -### `operations.GitSource5` - -```typescript -const value: operations.GitSource5 = { - type: "bitbucket", - owner: "", - slug: "", -}; -``` - -### `operations.CreateDeploymentGitSource6` - -```typescript -const value: operations.CreateDeploymentGitSource6 = { - type: "custom", - ref: "", - sha: "", - gitUrl: "https://aged-flint.net/", -}; -``` - -### `operations.CreateDeploymentGitSource7` - -```typescript -const value: operations.CreateDeploymentGitSource7 = { - type: "github", - ref: "", - sha: "", - repoId: 8661.35, -}; -``` - -### `operations.CreateDeploymentGitSource8` - -```typescript -const value: operations.CreateDeploymentGitSource8 = { - type: "gitlab", - ref: "", - sha: "", - projectId: 9608.13, -}; -``` - -### `operations.CreateDeploymentGitSource9` - -```typescript -const value: operations.CreateDeploymentGitSource9 = { - type: "bitbucket", - ref: "", - sha: "", - workspaceUuid: "", - repoUuid: "", -}; -``` - diff --git a/docs/models/operations/createdeploymentgitsource6.md b/docs/models/operations/createdeploymentgitsource6.md deleted file mode 100644 index d76d44b5..00000000 --- a/docs/models/operations/createdeploymentgitsource6.md +++ /dev/null @@ -1,25 +0,0 @@ -# CreateDeploymentGitSource6 - -Allows custom git sources (local folder mounted to the container) in test mode - -## Example Usage - -```typescript -import { CreateDeploymentGitSource6 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: CreateDeploymentGitSource6 = { - type: "custom", - ref: "", - sha: "", - gitUrl: "https://soggy-prohibition.com", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type](../../models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody6type.md) | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `gitUrl` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createdeploymentgitsource7.md b/docs/models/operations/createdeploymentgitsource7.md deleted file mode 100644 index 0d4e86f4..00000000 --- a/docs/models/operations/createdeploymentgitsource7.md +++ /dev/null @@ -1,25 +0,0 @@ -# CreateDeploymentGitSource7 - -## Example Usage - -```typescript -import { CreateDeploymentGitSource7 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: CreateDeploymentGitSource7 = { - type: "github", - ref: "", - sha: "", - repoId: 978.10, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type](../../models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md) | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `repoId` | *number* | :heavy_check_mark: | N/A | -| `org` | *string* | :heavy_minus_sign: | N/A | -| `repo` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createdeploymentgitsource8.md b/docs/models/operations/createdeploymentgitsource8.md deleted file mode 100644 index 6a65bb23..00000000 --- a/docs/models/operations/createdeploymentgitsource8.md +++ /dev/null @@ -1,23 +0,0 @@ -# CreateDeploymentGitSource8 - -## Example Usage - -```typescript -import { CreateDeploymentGitSource8 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: CreateDeploymentGitSource8 = { - type: "gitlab", - ref: "", - sha: "", - projectId: 6211.40, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type](../../models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md) | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createdeploymentgitsource9.md b/docs/models/operations/createdeploymentgitsource9.md deleted file mode 100644 index c7090354..00000000 --- a/docs/models/operations/createdeploymentgitsource9.md +++ /dev/null @@ -1,27 +0,0 @@ -# CreateDeploymentGitSource9 - -## Example Usage - -```typescript -import { CreateDeploymentGitSource9 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: CreateDeploymentGitSource9 = { - type: "bitbucket", - ref: "", - sha: "", - workspaceUuid: "", - repoUuid: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type](../../models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md) | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `owner` | *string* | :heavy_minus_sign: | N/A | -| `slug` | *string* | :heavy_minus_sign: | N/A | -| `workspaceUuid` | *string* | :heavy_check_mark: | N/A | -| `repoUuid` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createdeploymenthastype.md b/docs/models/operations/createdeploymenthastype.md deleted file mode 100644 index 85609369..00000000 --- a/docs/models/operations/createdeploymenthastype.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateDeploymentHasType - -## Example Usage - -```typescript -import { CreateDeploymentHasType } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: CreateDeploymentHasType = "query"; -``` - -## Values - -```typescript -"header" | "cookie" | "query" -``` \ No newline at end of file diff --git a/docs/models/operations/createdeploymentmicrofrontends.md b/docs/models/operations/createdeploymentmicrofrontends.md deleted file mode 100644 index 932064bb..00000000 --- a/docs/models/operations/createdeploymentmicrofrontends.md +++ /dev/null @@ -1,26 +0,0 @@ -# CreateDeploymentMicrofrontends - - -## Supported Types - -### `operations.Microfrontends1` - -```typescript -const value: operations.Microfrontends1 = { - groupIds: [ - "", - ], -}; -``` - -### `operations.Microfrontends2` - -```typescript -const value: operations.Microfrontends2 = { - isDefaultApp: false, - groupIds: [ - "", - ], -}; -``` - diff --git a/docs/models/operations/createdeploymentprojectsettings.md b/docs/models/operations/createdeploymentprojectsettings.md deleted file mode 100644 index 8dd514fd..00000000 --- a/docs/models/operations/createdeploymentprojectsettings.md +++ /dev/null @@ -1,22 +0,0 @@ -# CreateDeploymentProjectSettings - -## Example Usage - -```typescript -import { CreateDeploymentProjectSettings } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: CreateDeploymentProjectSettings = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `buildCommand` | *string* | :heavy_minus_sign: | N/A | -| `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | -| `devCommand` | *string* | :heavy_minus_sign: | N/A | -| `framework` | [operations.CreateDeploymentFramework](../../models/operations/createdeploymentframework.md) | :heavy_minus_sign: | N/A | -| `installCommand` | *string* | :heavy_minus_sign: | N/A | -| `outputDirectory` | *string* | :heavy_minus_sign: | N/A | -| `speedInsights` | [operations.CreateDeploymentSpeedInsights](../../models/operations/createdeploymentspeedinsights.md) | :heavy_minus_sign: | N/A | -| `webAnalytics` | [operations.CreateDeploymentWebAnalytics](../../models/operations/createdeploymentwebanalytics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createdeploymentreadystate.md b/docs/models/operations/createdeploymentreadystate.md deleted file mode 100644 index 9cc35e9e..00000000 --- a/docs/models/operations/createdeploymentreadystate.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateDeploymentReadyState - -## Example Usage - -```typescript -import { CreateDeploymentReadyState } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: CreateDeploymentReadyState = "ERROR"; -``` - -## Values - -```typescript -"BUILDING" | "ERROR" | "INITIALIZING" | "READY" -``` \ No newline at end of file diff --git a/docs/models/operations/createdeploymentrequest.md b/docs/models/operations/createdeploymentrequest.md deleted file mode 100644 index 4cb12c8d..00000000 --- a/docs/models/operations/createdeploymentrequest.md +++ /dev/null @@ -1,41 +0,0 @@ -# CreateDeploymentRequest - -## Example Usage - -```typescript -import { CreateDeploymentRequest } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: CreateDeploymentRequest = { - requestBody: { - files: [ - { - file: "folder/file.js", - }, - ], - gitMetadata: { - remoteUrl: "https://github.com/vercel/next.js", - commitAuthorName: "kyliau", - commitMessage: - "add method to measure Interaction to Next Paint (INP) (#36490)", - commitRef: "main", - commitSha: "dc36199b2234c6586ebe05ec94078a895c707e29", - dirty: true, - }, - meta: { - "foo": "bar", - }, - name: "my-instant-deployment", - project: "my-deployment-project", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `skipAutoDetectionConfirmation` | [operations.SkipAutoDetectionConfirmation](../../models/operations/skipautodetectionconfirmation.md) | :heavy_minus_sign: | Allows to skip framework detection so the API would not fail to ask for confirmation | -| `forceNew` | [operations.ForceNew](../../models/operations/forcenew.md) | :heavy_minus_sign: | Forces a new deployment even if there is a previous similar deployment | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.CreateDeploymentRequestBody](../../models/operations/createdeploymentrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createdeploymentsource.md b/docs/models/operations/createdeploymentsource.md deleted file mode 100644 index 78372f65..00000000 --- a/docs/models/operations/createdeploymentsource.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateDeploymentSource - -## Example Usage - -```typescript -import { CreateDeploymentSource } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: CreateDeploymentSource = "cli"; -``` - -## Values - -```typescript -"cli" | "git" | "import" | "import/repo" | "clone/repo" | "api-trigger-git-deploy" | "redeploy" | "v0-web" -``` \ No newline at end of file diff --git a/docs/models/operations/createdeploymentstatus.md b/docs/models/operations/createdeploymentstatus.md deleted file mode 100644 index c936325a..00000000 --- a/docs/models/operations/createdeploymentstatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateDeploymentStatus - -## Example Usage - -```typescript -import { CreateDeploymentStatus } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: CreateDeploymentStatus = "READY"; -``` - -## Values - -```typescript -"CANCELED" | "ERROR" | "QUEUED" | "BUILDING" | "INITIALIZING" | "READY" -``` \ No newline at end of file diff --git a/docs/models/operations/createdeploymenttarget.md b/docs/models/operations/createdeploymenttarget.md deleted file mode 100644 index dfbd4320..00000000 --- a/docs/models/operations/createdeploymenttarget.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateDeploymentTarget - -## Example Usage - -```typescript -import { CreateDeploymentTarget } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: CreateDeploymentTarget = "production"; -``` - -## Values - -```typescript -"staging" | "production" -``` \ No newline at end of file diff --git a/docs/models/operations/createdeploymenttype.md b/docs/models/operations/createdeploymenttype.md deleted file mode 100644 index 52670136..00000000 --- a/docs/models/operations/createdeploymenttype.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateDeploymentType - -## Example Usage - -```typescript -import { CreateDeploymentType } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: CreateDeploymentType = "LAMBDAS"; -``` - -## Values - -```typescript -"LAMBDAS" -``` \ No newline at end of file diff --git a/docs/models/operations/createdfrom.md b/docs/models/operations/createdfrom.md deleted file mode 100644 index e5abef9c..00000000 --- a/docs/models/operations/createdfrom.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreatedFrom - -Whether the log drain was created by an integration or by a user - -## Example Usage - -```typescript -import { CreatedFrom } from "@vercel/sdk/models/operations/getintegrationlogdrains.js"; - -let value: CreatedFrom = "integration"; -``` - -## Values - -```typescript -"self-served" | "integration" -``` \ No newline at end of file diff --git a/docs/models/operations/createdtarget.md b/docs/models/operations/createdtarget.md deleted file mode 100644 index fd7cd3e8..00000000 --- a/docs/models/operations/createdtarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreatedTarget - - -## Supported Types - -### `operations.CreateProjectEnvTarget1[]` - -```typescript -const value: operations.CreateProjectEnvTarget1[] = [ - "preview", -]; -``` - -### `operations.CreateProjectEnvTarget2` - -```typescript -const value: operations.CreateProjectEnvTarget2 = "preview"; -``` - diff --git a/docs/models/operations/createdtype.md b/docs/models/operations/createdtype.md deleted file mode 100644 index c6d1ebfc..00000000 --- a/docs/models/operations/createdtype.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreatedType - -## Example Usage - -```typescript -import { CreatedType } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreatedType = "encrypted"; -``` - -## Values - -```typescript -"system" | "encrypted" | "plain" | "sensitive" | "secret" -``` \ No newline at end of file diff --git a/docs/models/operations/createedgeconfigpurpose.md b/docs/models/operations/createedgeconfigpurpose.md deleted file mode 100644 index 68e01fa3..00000000 --- a/docs/models/operations/createedgeconfigpurpose.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateEdgeConfigPurpose - -## Example Usage - -```typescript -import { CreateEdgeConfigPurpose } from "@vercel/sdk/models/operations/createedgeconfig.js"; - -let value: CreateEdgeConfigPurpose = { - type: "flags", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `type` | [operations.CreateEdgeConfigType](../../models/operations/createedgeconfigtype.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createedgeconfigrequest.md b/docs/models/operations/createedgeconfigrequest.md deleted file mode 100644 index cdcf12ad..00000000 --- a/docs/models/operations/createedgeconfigrequest.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateEdgeConfigRequest - -## Example Usage - -```typescript -import { CreateEdgeConfigRequest } from "@vercel/sdk/models/operations/createedgeconfig.js"; - -let value: CreateEdgeConfigRequest = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.CreateEdgeConfigRequestBody](../../models/operations/createedgeconfigrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createedgeconfigrequestbody.md b/docs/models/operations/createedgeconfigrequestbody.md deleted file mode 100644 index 94cdaf72..00000000 --- a/docs/models/operations/createedgeconfigrequestbody.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateEdgeConfigRequestBody - -## Example Usage - -```typescript -import { CreateEdgeConfigRequestBody } from "@vercel/sdk/models/operations/createedgeconfig.js"; - -let value: CreateEdgeConfigRequestBody = { - slug: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `items` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createedgeconfigschema.md b/docs/models/operations/createedgeconfigschema.md deleted file mode 100644 index d74d2e8f..00000000 --- a/docs/models/operations/createedgeconfigschema.md +++ /dev/null @@ -1,14 +0,0 @@ -# CreateEdgeConfigSchema - -## Example Usage - -```typescript -import { CreateEdgeConfigSchema } from "@vercel/sdk/models/operations/createedgeconfig.js"; - -let value: CreateEdgeConfigSchema = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/createedgeconfigtokenrequest.md b/docs/models/operations/createedgeconfigtokenrequest.md deleted file mode 100644 index 5dd1ae9a..00000000 --- a/docs/models/operations/createedgeconfigtokenrequest.md +++ /dev/null @@ -1,20 +0,0 @@ -# CreateEdgeConfigTokenRequest - -## Example Usage - -```typescript -import { CreateEdgeConfigTokenRequest } from "@vercel/sdk/models/operations/createedgeconfigtoken.js"; - -let value: CreateEdgeConfigTokenRequest = { - edgeConfigId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.CreateEdgeConfigTokenRequestBody](../../models/operations/createedgeconfigtokenrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createedgeconfigtype.md b/docs/models/operations/createedgeconfigtype.md deleted file mode 100644 index 0d682d2e..00000000 --- a/docs/models/operations/createedgeconfigtype.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateEdgeConfigType - -## Example Usage - -```typescript -import { CreateEdgeConfigType } from "@vercel/sdk/models/operations/createedgeconfig.js"; - -let value: CreateEdgeConfigType = "flags"; -``` - -## Values - -```typescript -"flags" -``` \ No newline at end of file diff --git a/docs/models/operations/createeventevent.md b/docs/models/operations/createeventevent.md deleted file mode 100644 index c0c686d9..00000000 --- a/docs/models/operations/createeventevent.md +++ /dev/null @@ -1,23 +0,0 @@ -# CreateEventEvent - - -## Supported Types - -### `operations.Event1` - -```typescript -const value: operations.Event1 = { - type: "installation.updated", -}; -``` - -### `operations.Event2` - -```typescript -const value: operations.Event2 = { - type: "resource.updated", - productId: "", - resourceId: "", -}; -``` - diff --git a/docs/models/operations/createeventeventtype.md b/docs/models/operations/createeventeventtype.md deleted file mode 100644 index abcc078d..00000000 --- a/docs/models/operations/createeventeventtype.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateEventEventType - -## Example Usage - -```typescript -import { CreateEventEventType } from "@vercel/sdk/models/operations/createevent.js"; - -let value: CreateEventEventType = "resource.updated"; -``` - -## Values - -```typescript -"resource.updated" -``` \ No newline at end of file diff --git a/docs/models/operations/createeventrequest.md b/docs/models/operations/createeventrequest.md deleted file mode 100644 index 6556dd90..00000000 --- a/docs/models/operations/createeventrequest.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateEventRequest - -## Example Usage - -```typescript -import { CreateEventRequest } from "@vercel/sdk/models/operations/createevent.js"; - -let value: CreateEventRequest = { - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | -| `requestBody` | [operations.CreateEventRequestBody](../../models/operations/createeventrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createeventrequestbody.md b/docs/models/operations/createeventrequestbody.md deleted file mode 100644 index ac2f340a..00000000 --- a/docs/models/operations/createeventrequestbody.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateEventRequestBody - -## Example Usage - -```typescript -import { CreateEventRequestBody } from "@vercel/sdk/models/operations/createevent.js"; - -let value: CreateEventRequestBody = { - event: { - type: "installation.updated", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | -| `event` | *operations.CreateEventEvent* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createlogdraincreatedfrom.md b/docs/models/operations/createlogdraincreatedfrom.md deleted file mode 100644 index 5af9aada..00000000 --- a/docs/models/operations/createlogdraincreatedfrom.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateLogDrainCreatedFrom - -Whether the log drain was created by an integration or by a user - -## Example Usage - -```typescript -import { CreateLogDrainCreatedFrom } from "@vercel/sdk/models/operations/createlogdrain.js"; - -let value: CreateLogDrainCreatedFrom = "integration"; -``` - -## Values - -```typescript -"self-served" | "integration" -``` \ No newline at end of file diff --git a/docs/models/operations/createlogdrainenvironments.md b/docs/models/operations/createlogdrainenvironments.md deleted file mode 100644 index 1d8ff448..00000000 --- a/docs/models/operations/createlogdrainenvironments.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateLogDrainEnvironments - -The environment of log drain - -## Example Usage - -```typescript -import { CreateLogDrainEnvironments } from "@vercel/sdk/models/operations/createlogdrain.js"; - -let value: CreateLogDrainEnvironments = "production"; -``` - -## Values - -```typescript -"production" | "preview" -``` \ No newline at end of file diff --git a/docs/models/operations/createlogdrainrequest.md b/docs/models/operations/createlogdrainrequest.md deleted file mode 100644 index 03a926d6..00000000 --- a/docs/models/operations/createlogdrainrequest.md +++ /dev/null @@ -1,24 +0,0 @@ -# CreateLogDrainRequest - -## Example Usage - -```typescript -import { CreateLogDrainRequest } from "@vercel/sdk/models/operations/createlogdrain.js"; - -let value: CreateLogDrainRequest = { - requestBody: { - name: "My first log drain", - secret: "a1Xsfd325fXcs", - deliveryFormat: "json", - url: "https://example.com/log-drain", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.CreateLogDrainRequestBody](../../models/operations/createlogdrainrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createlogdrainresponsebody.md b/docs/models/operations/createlogdrainresponsebody.md deleted file mode 100644 index bda58893..00000000 --- a/docs/models/operations/createlogdrainresponsebody.md +++ /dev/null @@ -1,88 +0,0 @@ -# CreateLogDrainResponseBody - -The log drain was successfully created - -## Example Usage - -```typescript -import { CreateLogDrainResponseBody } from "@vercel/sdk/models/operations/createlogdrain.js"; - -let value: CreateLogDrainResponseBody = { - clientId: "oac_xRhY4LAB7yLhUADD69EvV7ct", - configurationId: "icfg_cuwj0AdCdH3BwWT4LPijCC7t", - createdAt: 1558531915505, - id: "ld_nBuA7zCID8g4QZ8g", - deliveryFormat: "json", - name: "My first log drain", - ownerId: "kr1PsOIzqEL5Xg6M4VZcZosf", - projectId: "AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb", - projectIds: [ - "AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb", - ], - url: "https://example.com/log-drain", - sources: [ - "build", - "edge", - ], - createdFrom: "integration", - headers: { - "0": "{", - "1": "\"", - "2": "A", - "3": "u", - "4": "t", - "5": "h", - "6": "o", - "7": "r", - "8": "i", - "9": "z", - "10": "a", - "11": "t", - "12": "i", - "13": "o", - "14": "n", - "15": "\"", - "16": ":", - "17": " ", - "18": "\"", - "19": "B", - "20": "e", - "21": "a", - "22": "r", - "23": "e", - "24": "r", - "25": " ", - "26": "1", - "27": "2", - "28": "3", - "29": "\"", - "30": "}", - }, - environments: [ - "production", - ], - branch: "feature/*", - samplingRate: 0.5, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `clientId` | *string* | :heavy_minus_sign: | The oauth2 client application id that created this log drain | oac_xRhY4LAB7yLhUADD69EvV7ct | -| `configurationId` | *string* | :heavy_minus_sign: | The client configuration this log drain was created with | icfg_cuwj0AdCdH3BwWT4LPijCC7t | -| `createdAt` | *number* | :heavy_check_mark: | A timestamp that tells you when the log drain was created | 1558531915505 | -| `id` | *string* | :heavy_check_mark: | The unique identifier of the log drain. Always prefixed with `ld_` | ld_nBuA7zCID8g4QZ8g | -| `deliveryFormat` | [operations.CreateLogDrainDeliveryFormat](../../models/operations/createlogdraindeliveryformat.md) | :heavy_minus_sign: | The delivery log format | json | -| `name` | *string* | :heavy_check_mark: | The name of the log drain | My first log drain | -| `ownerId` | *string* | :heavy_check_mark: | The identifier of the team or user whose events will trigger the log drain | kr1PsOIzqEL5Xg6M4VZcZosf | -| `projectId` | *string* | :heavy_minus_sign: | N/A | AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb | -| `projectIds` | *string*[] | :heavy_minus_sign: | The identifier of the projects this log drain is associated with | AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb | -| `url` | *string* | :heavy_check_mark: | The URL to call when logs are generated | https://example.com/log-drain | -| `sources` | [operations.CreateLogDrainSources](../../models/operations/createlogdrainsources.md)[] | :heavy_minus_sign: | The sources from which logs are currently being delivered to this log drain. | [
"build",
"edge"
] | -| `createdFrom` | [operations.CreateLogDrainCreatedFrom](../../models/operations/createlogdraincreatedfrom.md) | :heavy_minus_sign: | Whether the log drain was created by an integration or by a user | integration | -| `headers` | Record | :heavy_minus_sign: | The headers to send with the request | {"Authorization": "Bearer 123"} | -| `environments` | [operations.CreateLogDrainEnvironments](../../models/operations/createlogdrainenvironments.md)[] | :heavy_check_mark: | The environment of log drain | [
"production"
] | -| `branch` | *string* | :heavy_minus_sign: | The branch regexp of log drain | feature/* | -| `samplingRate` | *number* | :heavy_minus_sign: | The sampling rate of log drain | 0.5 | \ No newline at end of file diff --git a/docs/models/operations/createortransferdomainrequestbody.md b/docs/models/operations/createortransferdomainrequestbody.md deleted file mode 100644 index 0e0e701c..00000000 --- a/docs/models/operations/createortransferdomainrequestbody.md +++ /dev/null @@ -1,36 +0,0 @@ -# CreateOrTransferDomainRequestBody - - -## Supported Types - -### `operations.CreateOrTransferDomainRequestBody1` - -```typescript -const value: operations.CreateOrTransferDomainRequestBody1 = { - name: "example.com", - cdnEnabled: true, - method: "transfer-in", -}; -``` - -### `operations.CreateOrTransferDomainRequestBody2` - -```typescript -const value: operations.CreateOrTransferDomainRequestBody2 = { - name: "example.com", - method: "transfer-in", - token: "fdhfr820ad#@FAdlj$$", -}; -``` - -### `operations.CreateOrTransferDomainRequestBody3` - -```typescript -const value: operations.CreateOrTransferDomainRequestBody3 = { - name: "example.com", - method: "transfer-in", - authCode: "fdhfr820ad#@FAdlj$$", - expectedPrice: 8, -}; -``` - diff --git a/docs/models/operations/createortransferdomainresponsebody.md b/docs/models/operations/createortransferdomainresponsebody.md deleted file mode 100644 index 6498267e..00000000 --- a/docs/models/operations/createortransferdomainresponsebody.md +++ /dev/null @@ -1,48 +0,0 @@ -# CreateOrTransferDomainResponseBody - -## Example Usage - -```typescript -import { CreateOrTransferDomainResponseBody } from "@vercel/sdk/models/operations/createortransferdomain.js"; - -let value: CreateOrTransferDomainResponseBody = { - domain: { - verified: true, - nameservers: [ - "ns1.nameserver.net", - "ns2.nameserver.net", - ], - intendedNameservers: [ - "ns1.vercel-dns.com", - "ns2.vercel-dns.com", - ], - customNameservers: [ - "ns1.nameserver.net", - "ns2.nameserver.net", - ], - creator: { - username: "vercel_user", - email: "demo@example.com", - id: "ZspSRT4ljIEEmMHgoDwKWDei", - }, - name: "example.com", - boughtAt: 1613602938882, - createdAt: 1613602938882, - expiresAt: 1613602938882, - id: "EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1", - orderedAt: 1613602938882, - renew: true, - serviceType: "zeit.world", - transferredAt: 1613602938882, - transferStartedAt: 1613602938882, - userId: "", - teamId: "", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `domain` | [operations.CreateOrTransferDomainDomain](../../models/operations/createortransferdomaindomain.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectaction.md b/docs/models/operations/createprojectaction.md deleted file mode 100644 index fcd98773..00000000 --- a/docs/models/operations/createprojectaction.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectAction - -## Example Usage - -```typescript -import { CreateProjectAction } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectAction = "deny"; -``` - -## Values - -```typescript -"deny" | "challenge" | "log" | "bypass" | "rate_limit" | "redirect" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectalgo.md b/docs/models/operations/createprojectalgo.md deleted file mode 100644 index b6032eca..00000000 --- a/docs/models/operations/createprojectalgo.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectAlgo - -## Example Usage - -```typescript -import { CreateProjectAlgo } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectAlgo = "token_bucket"; -``` - -## Values - -```typescript -"fixed_window" | "token_bucket" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectbranchmatcher.md b/docs/models/operations/createprojectbranchmatcher.md deleted file mode 100644 index 3a0dd495..00000000 --- a/docs/models/operations/createprojectbranchmatcher.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectBranchMatcher - -## Example Usage - -```typescript -import { CreateProjectBranchMatcher } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectBranchMatcher = { - type: "startsWith", - pattern: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType](../../models/operations/createprojectprojectsresponse200applicationjsonresponsebodylatestdeploymentstype.md) | :heavy_check_mark: | N/A | -| `pattern` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectchecksstate.md b/docs/models/operations/createprojectchecksstate.md deleted file mode 100644 index 74cf8256..00000000 --- a/docs/models/operations/createprojectchecksstate.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectChecksState - -## Example Usage - -```typescript -import { CreateProjectChecksState } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectChecksState = "registered"; -``` - -## Values - -```typescript -"registered" | "running" | "completed" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectcontenthint.md b/docs/models/operations/createprojectcontenthint.md deleted file mode 100644 index 485abe7f..00000000 --- a/docs/models/operations/createprojectcontenthint.md +++ /dev/null @@ -1,143 +0,0 @@ -# CreateProjectContentHint - - -## Supported Types - -### `operations.CreateProjectContentHint1` - -```typescript -const value: operations.CreateProjectContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -### `operations.CreateProjectContentHint2` - -```typescript -const value: operations.CreateProjectContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -### `operations.CreateProjectContentHint3` - -```typescript -const value: operations.CreateProjectContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -### `operations.CreateProjectContentHint4` - -```typescript -const value: operations.CreateProjectContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -### `operations.CreateProjectContentHint5` - -```typescript -const value: operations.CreateProjectContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -### `operations.CreateProjectContentHint6` - -```typescript -const value: operations.CreateProjectContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -### `operations.CreateProjectContentHint7` - -```typescript -const value: operations.CreateProjectContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -### `operations.CreateProjectContentHint8` - -```typescript -const value: operations.CreateProjectContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -### `operations.CreateProjectContentHint9` - -```typescript -const value: operations.CreateProjectContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -### `operations.CreateProjectContentHint10` - -```typescript -const value: operations.CreateProjectContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -### `operations.ContentHint11` - -```typescript -const value: operations.ContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -### `operations.ContentHint12` - -```typescript -const value: operations.ContentHint12 = { - type: "postgres-database", - storeId: "", -}; -``` - -### `operations.ContentHint13` - -```typescript -const value: operations.ContentHint13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -### `operations.ContentHint14` - -```typescript -const value: operations.ContentHint14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -### `operations.ContentHint15` - -```typescript -const value: operations.ContentHint15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - diff --git a/docs/models/operations/createprojectcontenthint1.md b/docs/models/operations/createprojectcontenthint1.md deleted file mode 100644 index 6f586900..00000000 --- a/docs/models/operations/createprojectcontenthint1.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectContentHint1 - -## Example Usage - -```typescript -import { CreateProjectContentHint1 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectContentHintType](../../models/operations/createprojectcontenthinttype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectcontenthint10.md b/docs/models/operations/createprojectcontenthint10.md deleted file mode 100644 index e5864b63..00000000 --- a/docs/models/operations/createprojectcontenthint10.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectContentHint10 - -## Example Usage - -```typescript -import { CreateProjectContentHint10 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type](../../models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectcontenthint2.md b/docs/models/operations/createprojectcontenthint2.md deleted file mode 100644 index 9f02c7f7..00000000 --- a/docs/models/operations/createprojectcontenthint2.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectContentHint2 - -## Example Usage - -```typescript -import { CreateProjectContentHint2 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectContentHintProjectsType](../../models/operations/createprojectcontenthintprojectstype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectcontenthint3.md b/docs/models/operations/createprojectcontenthint3.md deleted file mode 100644 index 98cfba64..00000000 --- a/docs/models/operations/createprojectcontenthint3.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectContentHint3 - -## Example Usage - -```typescript -import { CreateProjectContentHint3 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectContentHintProjectsResponseType](../../models/operations/createprojectcontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectcontenthint4.md b/docs/models/operations/createprojectcontenthint4.md deleted file mode 100644 index cd99b71f..00000000 --- a/docs/models/operations/createprojectcontenthint4.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectContentHint4 - -## Example Usage - -```typescript -import { CreateProjectContentHint4 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectContentHintProjectsResponse200Type](../../models/operations/createprojectcontenthintprojectsresponse200type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectcontenthint5.md b/docs/models/operations/createprojectcontenthint5.md deleted file mode 100644 index 91e7d2ae..00000000 --- a/docs/models/operations/createprojectcontenthint5.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectContentHint5 - -## Example Usage - -```typescript -import { CreateProjectContentHint5 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectContentHintProjectsResponse200ApplicationJSONType](../../models/operations/createprojectcontenthintprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectcontenthint6.md b/docs/models/operations/createprojectcontenthint6.md deleted file mode 100644 index 0b1d1afd..00000000 --- a/docs/models/operations/createprojectcontenthint6.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectContentHint6 - -## Example Usage - -```typescript -import { CreateProjectContentHint6 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType](../../models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectcontenthint7.md b/docs/models/operations/createprojectcontenthint7.md deleted file mode 100644 index 34a63451..00000000 --- a/docs/models/operations/createprojectcontenthint7.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectContentHint7 - -## Example Usage - -```typescript -import { CreateProjectContentHint7 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType](../../models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectcontenthint8.md b/docs/models/operations/createprojectcontenthint8.md deleted file mode 100644 index fc62fcb8..00000000 --- a/docs/models/operations/createprojectcontenthint8.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectContentHint8 - -## Example Usage - -```typescript -import { CreateProjectContentHint8 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type](../../models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectcontenthint9.md b/docs/models/operations/createprojectcontenthint9.md deleted file mode 100644 index b4d1cc1e..00000000 --- a/docs/models/operations/createprojectcontenthint9.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectContentHint9 - -## Example Usage - -```typescript -import { CreateProjectContentHint9 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type](../../models/operations/createprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenv.md b/docs/models/operations/createprojectenv.md deleted file mode 100644 index e32ddf17..00000000 --- a/docs/models/operations/createprojectenv.md +++ /dev/null @@ -1,38 +0,0 @@ -# CreateProjectEnv - -## Example Usage - -```typescript -import { CreateProjectEnv } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectEnv = { - type: "system", - key: "", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `target` | *operations.CreateProjectProjectsTarget* | :heavy_minus_sign: | N/A | -| `type` | [operations.CreateProjectProjectsResponseType](../../models/operations/createprojectprojectsresponsetype.md) | :heavy_check_mark: | N/A | -| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `createdBy` | *string* | :heavy_minus_sign: | N/A | -| `updatedBy` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `contentHint` | *operations.CreateProjectContentHint* | :heavy_minus_sign: | N/A | -| `internalContentHint` | [operations.CreateProjectInternalContentHint](../../models/operations/createprojectinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | -| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | -| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenv12.md b/docs/models/operations/createprojectenv12.md deleted file mode 100644 index cd951bf0..00000000 --- a/docs/models/operations/createprojectenv12.md +++ /dev/null @@ -1,29 +0,0 @@ -# CreateProjectEnv12 - -## Example Usage - -```typescript -import { CreateProjectEnv12 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnv12 = { - key: "API_URL", - value: "https://api.vercel.com", - type: "plain", - target: [ - "preview", - ], - gitBranch: "feature-1", - comment: "database connection string for production", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `key` | *string* | :heavy_check_mark: | The name of the environment variable | API_URL | -| `value` | *string* | :heavy_check_mark: | The value of the environment variable | https://api.vercel.com | -| `type` | [operations.CreateProjectEnv1Type](../../models/operations/createprojectenv1type.md) | :heavy_check_mark: | The type of environment variable | plain | -| `target` | [operations.CreateProjectEnv1Target](../../models/operations/createprojectenv1target.md)[] | :heavy_minus_sign: | The target environment of the environment variable | [
"preview"
] | -| `gitBranch` | *string* | :heavy_minus_sign: | If defined, the git branch of the environment variable (must have target=preview) | feature-1 | -| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this environment variable is for | database connection string for production | \ No newline at end of file diff --git a/docs/models/operations/createprojectenv1target.md b/docs/models/operations/createprojectenv1target.md deleted file mode 100644 index 2d0ed579..00000000 --- a/docs/models/operations/createprojectenv1target.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectEnv1Target - -## Example Usage - -```typescript -import { CreateProjectEnv1Target } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnv1Target = "development"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectenv1type.md b/docs/models/operations/createprojectenv1type.md deleted file mode 100644 index 374ca47e..00000000 --- a/docs/models/operations/createprojectenv1type.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateProjectEnv1Type - -The type of environment variable - -## Example Usage - -```typescript -import { CreateProjectEnv1Type } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnv1Type = "plain"; -``` - -## Values - -```typescript -"system" | "secret" | "encrypted" | "plain" | "sensitive" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectenv2target.md b/docs/models/operations/createprojectenv2target.md deleted file mode 100644 index 94651416..00000000 --- a/docs/models/operations/createprojectenv2target.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectEnv2Target - -## Example Usage - -```typescript -import { CreateProjectEnv2Target } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnv2Target = "production"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectenv2type.md b/docs/models/operations/createprojectenv2type.md deleted file mode 100644 index 67bd2f11..00000000 --- a/docs/models/operations/createprojectenv2type.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateProjectEnv2Type - -The type of environment variable - -## Example Usage - -```typescript -import { CreateProjectEnv2Type } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnv2Type = "plain"; -``` - -## Values - -```typescript -"system" | "secret" | "encrypted" | "plain" | "sensitive" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthint1.md b/docs/models/operations/createprojectenvcontenthint1.md deleted file mode 100644 index 97a85a54..00000000 --- a/docs/models/operations/createprojectenvcontenthint1.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHint1 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHint1 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvContentHintType](../../models/operations/createprojectenvcontenthinttype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthint10.md b/docs/models/operations/createprojectenvcontenthint10.md deleted file mode 100644 index 359b4e3e..00000000 --- a/docs/models/operations/createprojectenvcontenthint10.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHint10 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHint10 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated110type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthint11.md b/docs/models/operations/createprojectenvcontenthint11.md deleted file mode 100644 index 27032d16..00000000 --- a/docs/models/operations/createprojectenvcontenthint11.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHint11 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHint11 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated111type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthint12.md b/docs/models/operations/createprojectenvcontenthint12.md deleted file mode 100644 index 577529b7..00000000 --- a/docs/models/operations/createprojectenvcontenthint12.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHint12 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHint12 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHint12 = { - type: "postgres-database", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated112type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthint13.md b/docs/models/operations/createprojectenvcontenthint13.md deleted file mode 100644 index 12fb2be0..00000000 --- a/docs/models/operations/createprojectenvcontenthint13.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHint13 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHint13 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHint13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated113type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthint14.md b/docs/models/operations/createprojectenvcontenthint14.md deleted file mode 100644 index f723a4e5..00000000 --- a/docs/models/operations/createprojectenvcontenthint14.md +++ /dev/null @@ -1,25 +0,0 @@ -# CreateProjectEnvContentHint14 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHint14 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHint14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated114type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthint15.md b/docs/models/operations/createprojectenvcontenthint15.md deleted file mode 100644 index 71a8f319..00000000 --- a/docs/models/operations/createprojectenvcontenthint15.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHint15 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHint15 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHint15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated115type.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthint2.md b/docs/models/operations/createprojectenvcontenthint2.md deleted file mode 100644 index 77d70a10..00000000 --- a/docs/models/operations/createprojectenvcontenthint2.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHint2 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHint2 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectEnvContentHintProjectsType](../../models/operations/createprojectenvcontenthintprojectstype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthint3.md b/docs/models/operations/createprojectenvcontenthint3.md deleted file mode 100644 index 01df536f..00000000 --- a/docs/models/operations/createprojectenvcontenthint3.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHint3 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHint3 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponseType](../../models/operations/createprojectenvcontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthint4.md b/docs/models/operations/createprojectenvcontenthint4.md deleted file mode 100644 index ba60cd12..00000000 --- a/docs/models/operations/createprojectenvcontenthint4.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHint4 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHint4 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201Type](../../models/operations/createprojectenvcontenthintprojectsresponse201type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthint5.md b/docs/models/operations/createprojectenvcontenthint5.md deleted file mode 100644 index ad45f4a7..00000000 --- a/docs/models/operations/createprojectenvcontenthint5.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHint5 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHint5 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsontype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthint6.md b/docs/models/operations/createprojectenvcontenthint6.md deleted file mode 100644 index 0bceb796..00000000 --- a/docs/models/operations/createprojectenvcontenthint6.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHint6 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHint6 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthint7.md b/docs/models/operations/createprojectenvcontenthint7.md deleted file mode 100644 index 2f30d661..00000000 --- a/docs/models/operations/createprojectenvcontenthint7.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHint7 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHint7 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreatedtype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthint8.md b/docs/models/operations/createprojectenvcontenthint8.md deleted file mode 100644 index df542a12..00000000 --- a/docs/models/operations/createprojectenvcontenthint8.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHint8 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHint8 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated1type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthint9.md b/docs/models/operations/createprojectenvcontenthint9.md deleted file mode 100644 index 562f7f4d..00000000 --- a/docs/models/operations/createprojectenvcontenthint9.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHint9 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHint9 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated19type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthintprojects1.md b/docs/models/operations/createprojectenvcontenthintprojects1.md deleted file mode 100644 index 0b4705d0..00000000 --- a/docs/models/operations/createprojectenvcontenthintprojects1.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHintProjects1 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHintProjects1 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHintProjects1 = { - type: "redis-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated2type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthintprojects10.md b/docs/models/operations/createprojectenvcontenthintprojects10.md deleted file mode 100644 index 8ac870b2..00000000 --- a/docs/models/operations/createprojectenvcontenthintprojects10.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHintProjects10 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHintProjects10 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHintProjects10 = { - type: "postgres-host", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated210type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthintprojects11.md b/docs/models/operations/createprojectenvcontenthintprojects11.md deleted file mode 100644 index f7d4255c..00000000 --- a/docs/models/operations/createprojectenvcontenthintprojects11.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHintProjects11 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHintProjects11 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHintProjects11 = { - type: "postgres-password", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated211type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthintprojects12.md b/docs/models/operations/createprojectenvcontenthintprojects12.md deleted file mode 100644 index 6694c593..00000000 --- a/docs/models/operations/createprojectenvcontenthintprojects12.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHintProjects12 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHintProjects12 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHintProjects12 = { - type: "postgres-database", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated212type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthintprojects13.md b/docs/models/operations/createprojectenvcontenthintprojects13.md deleted file mode 100644 index 41367f39..00000000 --- a/docs/models/operations/createprojectenvcontenthintprojects13.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHintProjects13 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHintProjects13 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHintProjects13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated213type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthintprojects14.md b/docs/models/operations/createprojectenvcontenthintprojects14.md deleted file mode 100644 index 203f4b6d..00000000 --- a/docs/models/operations/createprojectenvcontenthintprojects14.md +++ /dev/null @@ -1,25 +0,0 @@ -# CreateProjectEnvContentHintProjects14 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHintProjects14 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHintProjects14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated214type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthintprojects15.md b/docs/models/operations/createprojectenvcontenthintprojects15.md deleted file mode 100644 index 27b86c4d..00000000 --- a/docs/models/operations/createprojectenvcontenthintprojects15.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHintProjects15 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHintProjects15 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHintProjects15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated215type.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthintprojects2.md b/docs/models/operations/createprojectenvcontenthintprojects2.md deleted file mode 100644 index f8b90985..00000000 --- a/docs/models/operations/createprojectenvcontenthintprojects2.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHintProjects2 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHintProjects2 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHintProjects2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated22type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthintprojects3.md b/docs/models/operations/createprojectenvcontenthintprojects3.md deleted file mode 100644 index d9c60157..00000000 --- a/docs/models/operations/createprojectenvcontenthintprojects3.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHintProjects3 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHintProjects3 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHintProjects3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated23type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthintprojects4.md b/docs/models/operations/createprojectenvcontenthintprojects4.md deleted file mode 100644 index c67afede..00000000 --- a/docs/models/operations/createprojectenvcontenthintprojects4.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHintProjects4 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHintProjects4 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHintProjects4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated24type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthintprojects5.md b/docs/models/operations/createprojectenvcontenthintprojects5.md deleted file mode 100644 index 6b397ea7..00000000 --- a/docs/models/operations/createprojectenvcontenthintprojects5.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHintProjects5 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHintProjects5 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHintProjects5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated25type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthintprojects6.md b/docs/models/operations/createprojectenvcontenthintprojects6.md deleted file mode 100644 index 1c979802..00000000 --- a/docs/models/operations/createprojectenvcontenthintprojects6.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHintProjects6 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHintProjects6 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHintProjects6 = { - type: "postgres-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated26type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthintprojects7.md b/docs/models/operations/createprojectenvcontenthintprojects7.md deleted file mode 100644 index bb9c3d71..00000000 --- a/docs/models/operations/createprojectenvcontenthintprojects7.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHintProjects7 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHintProjects7 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHintProjects7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated27type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthintprojects8.md b/docs/models/operations/createprojectenvcontenthintprojects8.md deleted file mode 100644 index a3cf742d..00000000 --- a/docs/models/operations/createprojectenvcontenthintprojects8.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHintProjects8 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHintProjects8 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHintProjects8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated28type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcontenthintprojects9.md b/docs/models/operations/createprojectenvcontenthintprojects9.md deleted file mode 100644 index b8c7b1db..00000000 --- a/docs/models/operations/createprojectenvcontenthintprojects9.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvContentHintProjects9 - -## Example Usage - -```typescript -import { CreateProjectEnvContentHintProjects9 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvContentHintProjects9 = { - type: "postgres-user", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type](../../models/operations/createprojectenvcontenthintprojectsresponse201applicationjsonresponsebodycreated29type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcreatedcontenthint.md b/docs/models/operations/createprojectenvcreatedcontenthint.md deleted file mode 100644 index 5f54868e..00000000 --- a/docs/models/operations/createprojectenvcreatedcontenthint.md +++ /dev/null @@ -1,143 +0,0 @@ -# CreateProjectEnvCreatedContentHint - - -## Supported Types - -### `operations.CreateProjectEnvContentHintProjects1` - -```typescript -const value: operations.CreateProjectEnvContentHintProjects1 = { - type: "redis-url", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHintProjects2` - -```typescript -const value: operations.CreateProjectEnvContentHintProjects2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHintProjects3` - -```typescript -const value: operations.CreateProjectEnvContentHintProjects3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHintProjects4` - -```typescript -const value: operations.CreateProjectEnvContentHintProjects4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHintProjects5` - -```typescript -const value: operations.CreateProjectEnvContentHintProjects5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHintProjects6` - -```typescript -const value: operations.CreateProjectEnvContentHintProjects6 = { - type: "postgres-url", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHintProjects7` - -```typescript -const value: operations.CreateProjectEnvContentHintProjects7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHintProjects8` - -```typescript -const value: operations.CreateProjectEnvContentHintProjects8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHintProjects9` - -```typescript -const value: operations.CreateProjectEnvContentHintProjects9 = { - type: "postgres-user", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHintProjects10` - -```typescript -const value: operations.CreateProjectEnvContentHintProjects10 = { - type: "postgres-host", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHintProjects11` - -```typescript -const value: operations.CreateProjectEnvContentHintProjects11 = { - type: "postgres-password", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHintProjects12` - -```typescript -const value: operations.CreateProjectEnvContentHintProjects12 = { - type: "postgres-database", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHintProjects13` - -```typescript -const value: operations.CreateProjectEnvContentHintProjects13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -### `operations.CreateProjectEnvContentHintProjects14` - -```typescript -const value: operations.CreateProjectEnvContentHintProjects14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -### `operations.CreateProjectEnvContentHintProjects15` - -```typescript -const value: operations.CreateProjectEnvContentHintProjects15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - diff --git a/docs/models/operations/createprojectenvcreatedinternalcontenthint.md b/docs/models/operations/createprojectenvcreatedinternalcontenthint.md deleted file mode 100644 index 2d299154..00000000 --- a/docs/models/operations/createprojectenvcreatedinternalcontenthint.md +++ /dev/null @@ -1,21 +0,0 @@ -# CreateProjectEnvCreatedInternalContentHint - -Similar to `contentHints`, but should not be exposed to the user. - -## Example Usage - -```typescript -import { CreateProjectEnvCreatedInternalContentHint } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvCreatedInternalContentHint = { - type: "flags-secret", - encryptedValue: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectEnvCreatedProjectsResponseType](../../models/operations/createprojectenvcreatedprojectsresponsetype.md) | :heavy_check_mark: | N/A | -| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvcreatedtarget.md b/docs/models/operations/createprojectenvcreatedtarget.md deleted file mode 100644 index 96145e21..00000000 --- a/docs/models/operations/createprojectenvcreatedtarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvCreatedTarget - - -## Supported Types - -### `string[]` - -```typescript -const value: string[] = [ - "", -]; -``` - -### `operations.CreateProjectEnvTargetProjects2` - -```typescript -const value: operations.CreateProjectEnvTargetProjects2 = "development"; -``` - diff --git a/docs/models/operations/createprojectenvcreatedtype.md b/docs/models/operations/createprojectenvcreatedtype.md deleted file mode 100644 index 2556822c..00000000 --- a/docs/models/operations/createprojectenvcreatedtype.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectEnvCreatedType - -## Example Usage - -```typescript -import { CreateProjectEnvCreatedType } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvCreatedType = "system"; -``` - -## Values - -```typescript -"system" | "encrypted" | "plain" | "sensitive" | "secret" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectenverror.md b/docs/models/operations/createprojectenverror.md deleted file mode 100644 index 0db0f0a5..00000000 --- a/docs/models/operations/createprojectenverror.md +++ /dev/null @@ -1,28 +0,0 @@ -# CreateProjectEnvError - -## Example Usage - -```typescript -import { CreateProjectEnvError } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvError = { - code: "", - message: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | -| `code` | *string* | :heavy_check_mark: | N/A | -| `message` | *string* | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `envVarId` | *string* | :heavy_minus_sign: | N/A | -| `envVarKey` | *string* | :heavy_minus_sign: | N/A | -| `action` | *string* | :heavy_minus_sign: | N/A | -| `link` | *string* | :heavy_minus_sign: | N/A | -| `value` | *operations.CreateProjectEnvValue* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `target` | *operations.CreateProjectEnvTarget* | :heavy_minus_sign: | N/A | -| `project` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvrequestbody.md b/docs/models/operations/createprojectenvrequestbody.md deleted file mode 100644 index acc3dbb6..00000000 --- a/docs/models/operations/createprojectenvrequestbody.md +++ /dev/null @@ -1,37 +0,0 @@ -# CreateProjectEnvRequestBody - - -## Supported Types - -### `operations.CreateProjectEnvRequestBody1` - -```typescript -const value: operations.CreateProjectEnvRequestBody1 = { - key: "API_URL", - value: "https://api.vercel.com", - type: "plain", - target: [ - "preview", - ], - gitBranch: "feature-1", - comment: "database connection string for production", -}; -``` - -### `operations.CreateProjectEnvRequestBody2[]` - -```typescript -const value: operations.CreateProjectEnvRequestBody2[] = [ - { - key: "API_URL", - value: "https://api.vercel.com", - type: "plain", - target: [ - "preview", - ], - gitBranch: "feature-1", - comment: "database connection string for production", - }, -]; -``` - diff --git a/docs/models/operations/createprojectenvrequestbody1.md b/docs/models/operations/createprojectenvrequestbody1.md deleted file mode 100644 index 33a7696c..00000000 --- a/docs/models/operations/createprojectenvrequestbody1.md +++ /dev/null @@ -1,35 +0,0 @@ -# CreateProjectEnvRequestBody1 - - -## Supported Types - -### `operations.CreateProjectEnv11` - -```typescript -const value: operations.CreateProjectEnv11 = { - key: "API_URL", - value: "https://api.vercel.com", - type: "plain", - target: [ - "preview", - ], - gitBranch: "feature-1", - comment: "database connection string for production", -}; -``` - -### `operations.CreateProjectEnv12` - -```typescript -const value: operations.CreateProjectEnv12 = { - key: "API_URL", - value: "https://api.vercel.com", - type: "plain", - target: [ - "preview", - ], - gitBranch: "feature-1", - comment: "database connection string for production", -}; -``` - diff --git a/docs/models/operations/createprojectenvresponsebody.md b/docs/models/operations/createprojectenvresponsebody.md deleted file mode 100644 index 3bb088e3..00000000 --- a/docs/models/operations/createprojectenvresponsebody.md +++ /dev/null @@ -1,30 +0,0 @@ -# CreateProjectEnvResponseBody - -The environment variable was created successfully - -## Example Usage - -```typescript -import { CreateProjectEnvResponseBody } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvResponseBody = { - created: [ - {}, - ], - failed: [ - { - error: { - code: "", - message: "", - }, - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `created` | *operations.Created* | :heavy_check_mark: | N/A | -| `failed` | [operations.Failed](../../models/operations/failed.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectenvtarget.md b/docs/models/operations/createprojectenvtarget.md deleted file mode 100644 index c8068454..00000000 --- a/docs/models/operations/createprojectenvtarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvTarget - - -## Supported Types - -### `operations.CreateProjectEnvTargetProjects1[]` - -```typescript -const value: operations.CreateProjectEnvTargetProjects1[] = [ - "preview", -]; -``` - -### `operations.CreateProjectEnvTargetProjectsResponse2` - -```typescript -const value: operations.CreateProjectEnvTargetProjectsResponse2 = "production"; -``` - diff --git a/docs/models/operations/createprojectenvtarget1.md b/docs/models/operations/createprojectenvtarget1.md deleted file mode 100644 index cf30a98c..00000000 --- a/docs/models/operations/createprojectenvtarget1.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectEnvTarget1 - -## Example Usage - -```typescript -import { CreateProjectEnvTarget1 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvTarget1 = "development"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectenvtarget2.md b/docs/models/operations/createprojectenvtarget2.md deleted file mode 100644 index 3c780681..00000000 --- a/docs/models/operations/createprojectenvtarget2.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectEnvTarget2 - -## Example Usage - -```typescript -import { CreateProjectEnvTarget2 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvTarget2 = "production"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectenvvalue.md b/docs/models/operations/createprojectenvvalue.md deleted file mode 100644 index 9d3bd088..00000000 --- a/docs/models/operations/createprojectenvvalue.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectEnvValue - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `operations.CreateProjectEnvValue2[]` - -```typescript -const value: operations.CreateProjectEnvValue2[] = [ - "production", -]; -``` - diff --git a/docs/models/operations/createprojectenvvalue2.md b/docs/models/operations/createprojectenvvalue2.md deleted file mode 100644 index 4004c795..00000000 --- a/docs/models/operations/createprojectenvvalue2.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectEnvValue2 - -## Example Usage - -```typescript -import { CreateProjectEnvValue2 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: CreateProjectEnvValue2 = "development"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojecterl.md b/docs/models/operations/createprojecterl.md deleted file mode 100644 index dc5ce67f..00000000 --- a/docs/models/operations/createprojecterl.md +++ /dev/null @@ -1,25 +0,0 @@ -# CreateProjectErl - -## Example Usage - -```typescript -import { CreateProjectErl } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectErl = { - algo: "token_bucket", - window: 9663.90, - limit: 5076.36, - keys: [ - "", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `algo` | [operations.CreateProjectAlgo](../../models/operations/createprojectalgo.md) | :heavy_check_mark: | N/A | -| `window` | *number* | :heavy_check_mark: | N/A | -| `limit` | *number* | :heavy_check_mark: | N/A | -| `keys` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectfirewallroutes.md b/docs/models/operations/createprojectfirewallroutes.md deleted file mode 100644 index 97501d7c..00000000 --- a/docs/models/operations/createprojectfirewallroutes.md +++ /dev/null @@ -1,21 +0,0 @@ -# CreateProjectFirewallRoutes - -## Example Usage - -```typescript -import { CreateProjectFirewallRoutes } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectFirewallRoutes = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `src` | *operations.CreateProjectSrc* | :heavy_minus_sign: | N/A | -| `has` | [operations.CreateProjectHas](../../models/operations/createprojecthas.md)[] | :heavy_minus_sign: | N/A | -| `missing` | [operations.CreateProjectMissing](../../models/operations/createprojectmissing.md)[] | :heavy_minus_sign: | N/A | -| `dest` | *string* | :heavy_minus_sign: | N/A | -| `status` | *number* | :heavy_minus_sign: | N/A | -| `handle` | [operations.CreateProjectHandle](../../models/operations/createprojecthandle.md) | :heavy_minus_sign: | N/A | -| `mitigate` | [operations.CreateProjectMitigate](../../models/operations/createprojectmitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojecthandle.md b/docs/models/operations/createprojecthandle.md deleted file mode 100644 index 660764ce..00000000 --- a/docs/models/operations/createprojecthandle.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectHandle - -## Example Usage - -```typescript -import { CreateProjectHandle } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectHandle = "finalize"; -``` - -## Values - -```typescript -"init" | "finalize" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojecthas.md b/docs/models/operations/createprojecthas.md deleted file mode 100644 index 347d7a60..00000000 --- a/docs/models/operations/createprojecthas.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectHas - -## Example Usage - -```typescript -import { CreateProjectHas } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectHas = { - type: "region", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType](../../models/operations/createprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *operations.CreateProjectValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectinternalcontenthint.md b/docs/models/operations/createprojectinternalcontenthint.md deleted file mode 100644 index 3c18e11f..00000000 --- a/docs/models/operations/createprojectinternalcontenthint.md +++ /dev/null @@ -1,21 +0,0 @@ -# CreateProjectInternalContentHint - -Similar to `contentHints`, but should not be exposed to the user. - -## Example Usage - -```typescript -import { CreateProjectInternalContentHint } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectInternalContentHint = { - type: "flags-secret", - encryptedValue: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType](../../models/operations/createprojectprojectsresponse200applicationjsonresponsebodyenvtype.md) | :heavy_check_mark: | N/A | -| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/createprojectissuermode.md b/docs/models/operations/createprojectissuermode.md deleted file mode 100644 index 600b491f..00000000 --- a/docs/models/operations/createprojectissuermode.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateProjectIssuerMode - -- team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` - -## Example Usage - -```typescript -import { CreateProjectIssuerMode } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectIssuerMode = "global"; -``` - -## Values - -```typescript -"team" | "global" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectjobstatus.md b/docs/models/operations/createprojectjobstatus.md deleted file mode 100644 index 3082cf93..00000000 --- a/docs/models/operations/createprojectjobstatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectJobStatus - -## Example Usage - -```typescript -import { CreateProjectJobStatus } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectJobStatus = "skipped"; -``` - -## Values - -```typescript -"pending" | "in-progress" | "succeeded" | "failed" | "skipped" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectlastaliasrequest.md b/docs/models/operations/createprojectlastaliasrequest.md deleted file mode 100644 index 0fe717cd..00000000 --- a/docs/models/operations/createprojectlastaliasrequest.md +++ /dev/null @@ -1,25 +0,0 @@ -# CreateProjectLastAliasRequest - -## Example Usage - -```typescript -import { CreateProjectLastAliasRequest } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectLastAliasRequest = { - fromDeploymentId: "", - toDeploymentId: "", - jobStatus: "skipped", - requestedAt: 7592.82, - type: "promote", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `fromDeploymentId` | *string* | :heavy_check_mark: | N/A | -| `toDeploymentId` | *string* | :heavy_check_mark: | N/A | -| `jobStatus` | [operations.CreateProjectJobStatus](../../models/operations/createprojectjobstatus.md) | :heavy_check_mark: | N/A | -| `requestedAt` | *number* | :heavy_check_mark: | N/A | -| `type` | [operations.CreateProjectProjectsResponse200ApplicationJSONResponseBodyType](../../models/operations/createprojectprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectlatestdeployments.md b/docs/models/operations/createprojectlatestdeployments.md deleted file mode 100644 index 3c0f95c2..00000000 --- a/docs/models/operations/createprojectlatestdeployments.md +++ /dev/null @@ -1,68 +0,0 @@ -# CreateProjectLatestDeployments - -## Example Usage - -```typescript -import { CreateProjectLatestDeployments } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectLatestDeployments = { - id: "", - createdAt: 8130.54, - createdIn: "", - creator: { - email: "Sienna.Price14@hotmail.com", - uid: "", - username: "Dean_Lebsack95", - }, - deploymentHostname: "", - name: "", - plan: "pro", - previewCommentsEnabled: false, - private: false, - readyState: "QUEUED", - type: "LAMBDAS", - url: "https://thick-trolley.org", - userId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | | -| `alias` | *string*[] | :heavy_minus_sign: | N/A | | -| `aliasAssigned` | *operations.CreateProjectAliasAssigned* | :heavy_minus_sign: | N/A | | -| `aliasError` | [operations.CreateProjectAliasError](../../models/operations/createprojectaliaserror.md) | :heavy_minus_sign: | N/A | | -| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | -| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | -| `branchMatcher` | [operations.CreateProjectBranchMatcher](../../models/operations/createprojectbranchmatcher.md) | :heavy_minus_sign: | N/A | | -| `buildingAt` | *number* | :heavy_minus_sign: | N/A | | -| `builds` | [operations.CreateProjectBuilds](../../models/operations/createprojectbuilds.md)[] | :heavy_minus_sign: | N/A | | -| `checksConclusion` | [operations.CreateProjectChecksConclusion](../../models/operations/createprojectchecksconclusion.md) | :heavy_minus_sign: | N/A | | -| `checksState` | [operations.CreateProjectChecksState](../../models/operations/createprojectchecksstate.md) | :heavy_minus_sign: | N/A | | -| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | -| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | -| `createdAt` | *number* | :heavy_check_mark: | N/A | | -| `createdIn` | *string* | :heavy_check_mark: | N/A | | -| `creator` | [operations.CreateProjectCreator](../../models/operations/createprojectcreator.md) | :heavy_check_mark: | N/A | | -| `deletedAt` | *number* | :heavy_minus_sign: | N/A | | -| `deploymentHostname` | *string* | :heavy_check_mark: | N/A | | -| `forced` | *boolean* | :heavy_minus_sign: | N/A | | -| `name` | *string* | :heavy_check_mark: | N/A | | -| `meta` | Record | :heavy_minus_sign: | N/A | | -| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | -| `oidcTokenClaims` | [operations.CreateProjectOidcTokenClaims](../../models/operations/createprojectoidctokenclaims.md) | :heavy_minus_sign: | N/A | | -| `plan` | [operations.CreateProjectPlan](../../models/operations/createprojectplan.md) | :heavy_check_mark: | N/A | | -| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | -| `private` | *boolean* | :heavy_check_mark: | N/A | | -| `readyAt` | *number* | :heavy_minus_sign: | N/A | | -| `readyState` | [operations.CreateProjectReadyState](../../models/operations/createprojectreadystate.md) | :heavy_check_mark: | N/A | | -| `readySubstate` | [operations.CreateProjectReadySubstate](../../models/operations/createprojectreadysubstate.md) | :heavy_minus_sign: | N/A | | -| `requestedAt` | *number* | :heavy_minus_sign: | N/A | | -| `target` | *string* | :heavy_minus_sign: | N/A | | -| `teamId` | *string* | :heavy_minus_sign: | N/A | | -| `type` | [operations.CreateProjectProjectsResponse200Type](../../models/operations/createprojectprojectsresponse200type.md) | :heavy_check_mark: | N/A | | -| `url` | *string* | :heavy_check_mark: | N/A | | -| `userId` | *string* | :heavy_check_mark: | N/A | | -| `withCache` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/createprojectlink.md b/docs/models/operations/createprojectlink.md deleted file mode 100644 index b4ebb3da..00000000 --- a/docs/models/operations/createprojectlink.md +++ /dev/null @@ -1,50 +0,0 @@ -# CreateProjectLink - - -## Supported Types - -### `operations.CreateProjectLink1` - -```typescript -const value: operations.CreateProjectLink1 = { - deployHooks: [ - { - id: "", - name: "", - ref: "", - url: "https://scornful-paintwork.info/", - }, - ], -}; -``` - -### `operations.CreateProjectLink2` - -```typescript -const value: operations.CreateProjectLink2 = { - deployHooks: [ - { - id: "", - name: "", - ref: "", - url: "https://pleasing-begonia.net/", - }, - ], -}; -``` - -### `operations.CreateProjectLink3` - -```typescript -const value: operations.CreateProjectLink3 = { - deployHooks: [ - { - id: "", - name: "", - ref: "", - url: "https://severe-loyalty.com", - }, - ], -}; -``` - diff --git a/docs/models/operations/createprojectlink3.md b/docs/models/operations/createprojectlink3.md deleted file mode 100644 index 4e145d14..00000000 --- a/docs/models/operations/createprojectlink3.md +++ /dev/null @@ -1,35 +0,0 @@ -# CreateProjectLink3 - -## Example Usage - -```typescript -import { CreateProjectLink3 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectLink3 = { - deployHooks: [ - { - id: "", - name: "", - ref: "", - url: "https://tough-brace.info", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `slug` | *string* | :heavy_minus_sign: | N/A | -| `owner` | *string* | :heavy_minus_sign: | N/A | -| `type` | [operations.CreateProjectLinkProjectsResponseType](../../models/operations/createprojectlinkprojectsresponsetype.md) | :heavy_minus_sign: | N/A | -| `uuid` | *string* | :heavy_minus_sign: | N/A | -| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `deployHooks` | [operations.CreateProjectLinkProjectsResponseDeployHooks](../../models/operations/createprojectlinkprojectsresponsedeployhooks.md)[] | :heavy_check_mark: | N/A | -| `gitCredentialId` | *string* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `sourceless` | *boolean* | :heavy_minus_sign: | N/A | -| `productionBranch` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectlinktype.md b/docs/models/operations/createprojectlinktype.md deleted file mode 100644 index dc4139ff..00000000 --- a/docs/models/operations/createprojectlinktype.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectLinkType - -## Example Usage - -```typescript -import { CreateProjectLinkType } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectLinkType = "github"; -``` - -## Values - -```typescript -"github" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectmissing.md b/docs/models/operations/createprojectmissing.md deleted file mode 100644 index f373e61e..00000000 --- a/docs/models/operations/createprojectmissing.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectMissing - -## Example Usage - -```typescript -import { CreateProjectMissing } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectMissing = { - type: "host", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType](../../models/operations/createprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *operations.CreateProjectProjectsValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectmitigate.md b/docs/models/operations/createprojectmitigate.md deleted file mode 100644 index c863e42e..00000000 --- a/docs/models/operations/createprojectmitigate.md +++ /dev/null @@ -1,21 +0,0 @@ -# CreateProjectMitigate - -## Example Usage - -```typescript -import { CreateProjectMitigate } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectMitigate = { - action: "challenge", - ruleId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `action` | [operations.CreateProjectAction](../../models/operations/createprojectaction.md) | :heavy_check_mark: | N/A | -| `ruleId` | *string* | :heavy_check_mark: | N/A | -| `ttl` | *number* | :heavy_minus_sign: | N/A | -| `erl` | [operations.CreateProjectErl](../../models/operations/createprojecterl.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectnodeversion.md b/docs/models/operations/createprojectnodeversion.md deleted file mode 100644 index fc93b913..00000000 --- a/docs/models/operations/createprojectnodeversion.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectNodeVersion - -## Example Usage - -```typescript -import { CreateProjectNodeVersion } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectNodeVersion = "16.x"; -``` - -## Values - -```typescript -"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectoidctokenconfig.md b/docs/models/operations/createprojectoidctokenconfig.md deleted file mode 100644 index f479a484..00000000 --- a/docs/models/operations/createprojectoidctokenconfig.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateProjectOidcTokenConfig - -## Example Usage - -```typescript -import { CreateProjectOidcTokenConfig } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectOidcTokenConfig = { - enabled: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | -| `issuerMode` | [operations.CreateProjectIssuerMode](../../models/operations/createprojectissuermode.md) | :heavy_minus_sign: | - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` | \ No newline at end of file diff --git a/docs/models/operations/createprojectoptionsallowlist.md b/docs/models/operations/createprojectoptionsallowlist.md deleted file mode 100644 index a573ee0a..00000000 --- a/docs/models/operations/createprojectoptionsallowlist.md +++ /dev/null @@ -1,21 +0,0 @@ -# CreateProjectOptionsAllowlist - -## Example Usage - -```typescript -import { CreateProjectOptionsAllowlist } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectOptionsAllowlist = { - paths: [ - { - value: "", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `paths` | [operations.CreateProjectPaths](../../models/operations/createprojectpaths.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectpermissions.md b/docs/models/operations/createprojectpermissions.md deleted file mode 100644 index a6b49714..00000000 --- a/docs/models/operations/createprojectpermissions.md +++ /dev/null @@ -1,196 +0,0 @@ -# CreateProjectPermissions - -## Example Usage - -```typescript -import { CreateProjectPermissions } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectPermissions = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `accessGroup` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `aliasGlobal` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `analyticsSampling` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `analyticsUsage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `auditLog` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingAddress` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingInformation` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingInvoice` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingInvoiceEmailRecipient` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingInvoiceLanguage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingPlan` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingPurchaseOrder` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingTaxId` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `blob` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `budget` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `cacheArtifact` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `cacheArtifactUsageEvent` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `codeChecks` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `concurrentBuilds` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `connect` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `connectConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domain` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainAcceptDelegation` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainAuthCodes` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainCertificate` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainCheckConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainMove` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainPurchase` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainRecord` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainTransferIn` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `event` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `ownEvent` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sensitiveEnvironmentVariablePolicy` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `fileUpload` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `gitRepository` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `ipBlocking` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationAccount` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationConfigurationTransfer` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationConfigurationProjects` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationVercelConfigurationOverride` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationConfigurationRole` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationResource` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationEvent` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationResourceSecrets` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationDeploymentAction` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceInstallationMember` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceBillingData` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceInvoice` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `jobGlobal` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `logDrain` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoring` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoringSettings` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoringQuery` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoringChart` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoringAlert` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDeploymentFailed` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainExpire` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainMoved` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainPurchase` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainRenewal` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainTransfer` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainUnverified` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationMonitoringAlert` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationPaymentFailed` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationUsageAlert` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationCustomerBudget` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationStatementOfReasons` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `oauth2Connection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `observabilityConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `openTelemetryEndpoint` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `paymentMethod` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `permissions` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `postgres` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `previewDeploymentSuffix` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `proTrialOnboarding` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sharedEnvVars` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sharedEnvVarsProduction` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `space` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `spaceRun` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `passwordProtectionInvoiceItem` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `rateLimit` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `redis` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `repository` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `remoteCaching` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `samlConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `secret` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `redisStoreTokenSet` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `blobStoreTokenSet` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `postgresStoreTokenSet` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationStoreTokenSet` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationResourceReplCommand` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `storeTransfer` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `supportCase` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `supportCaseComment` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `dataCacheBillingSettings` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `team` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamAccessRequest` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamFellowMembership` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamGitExclusivity` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamInvite` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamInviteCode` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamJoin` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamMicrofrontends` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamOwnMembership` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamOwnMembershipDisconnectSAML` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `token` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `usage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `usageCycle` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `user` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `userConnection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `vpcPeeringConnection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webAnalyticsPlan` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webAuthn` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `edgeConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `edgeConfigItem` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `edgeConfigSchema` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `edgeConfigToken` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webhook` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webhookEvent` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `endpointVerification` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTransferIn` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `oauth2Application` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `aliasProject` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `aliasProtectionBypass` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `productionAliasProtectionBypass` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `connectConfigurationLink` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `dataCacheNamespace` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deployment` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentCheck` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentCheckPreview` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentCheckReRunFromProductionBranch` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentProductionGit` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentV0` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentPreview` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentPrivate` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentPromote` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentRollback` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `environments` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `logs` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `logsPreset` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `passwordProtection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `optionsAllowlist` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `job` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `observabilityData` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `project` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectFromV0` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectAccessGroup` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectAnalyticsSampling` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDeploymentHook` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDomain` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDomainMove` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDomainCheckConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectEnvVars` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectEnvVarsProduction` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectEnvVarsUnownedByIntegration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectFlags` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectId` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectIntegrationConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectLink` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectMember` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectMonitoring` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectPermissions` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectProductionBranch` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTransfer` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTransferOut` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectProtectionBypass` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectUsage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectAnalyticsUsage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectSupportCase` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectSupportCaseComment` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDeploymentExpiration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTier` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `seawallConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `skewProtection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `analytics` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `trustedIps` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webAnalytics` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sharedEnvVarConnection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sonar` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectplan.md b/docs/models/operations/createprojectplan.md deleted file mode 100644 index a79389e1..00000000 --- a/docs/models/operations/createprojectplan.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectPlan - -## Example Usage - -```typescript -import { CreateProjectPlan } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectPlan = "enterprise"; -``` - -## Values - -```typescript -"pro" | "enterprise" | "hobby" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectprojectsbranchmatcher.md b/docs/models/operations/createprojectprojectsbranchmatcher.md deleted file mode 100644 index e9f48dac..00000000 --- a/docs/models/operations/createprojectprojectsbranchmatcher.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectProjectsBranchMatcher - -## Example Usage - -```typescript -import { CreateProjectProjectsBranchMatcher } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectProjectsBranchMatcher = { - type: "equals", - pattern: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType](../../models/operations/createprojectprojectsresponse200applicationjsonresponsebodytargetstype.md) | :heavy_check_mark: | N/A | -| `pattern` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectprojectsplan.md b/docs/models/operations/createprojectprojectsplan.md deleted file mode 100644 index b4dc3540..00000000 --- a/docs/models/operations/createprojectprojectsplan.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectProjectsPlan - -## Example Usage - -```typescript -import { CreateProjectProjectsPlan } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectProjectsPlan = "pro"; -``` - -## Values - -```typescript -"pro" | "enterprise" | "hobby" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md b/docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md deleted file mode 100644 index e25abdf8..00000000 --- a/docs/models/operations/createprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType - -## Example Usage - -```typescript -import { CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType } from "@vercel/sdk/models/operations/createproject.js"; - -let value: - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType = - "path"; -``` - -## Values - -```typescript -"path" | "host" | "method" | "header" | "cookie" | "query" | "ip_address" | "protocol" | "scheme" | "environment" | "region" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectprojectsresponsetype.md b/docs/models/operations/createprojectprojectsresponsetype.md deleted file mode 100644 index 88ca45ac..00000000 --- a/docs/models/operations/createprojectprojectsresponsetype.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectProjectsResponseType - -## Example Usage - -```typescript -import { CreateProjectProjectsResponseType } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectProjectsResponseType = "secret"; -``` - -## Values - -```typescript -"system" | "encrypted" | "plain" | "sensitive" | "secret" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectprojectstarget.md b/docs/models/operations/createprojectprojectstarget.md deleted file mode 100644 index 75aab9bd..00000000 --- a/docs/models/operations/createprojectprojectstarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateProjectProjectsTarget - - -## Supported Types - -### `string[]` - -```typescript -const value: string[] = [ - "", -]; -``` - -### `operations.CreateProjectTarget2` - -```typescript -const value: operations.CreateProjectTarget2 = "preview"; -``` - diff --git a/docs/models/operations/createprojectprojectstype.md b/docs/models/operations/createprojectprojectstype.md deleted file mode 100644 index 1c19af65..00000000 --- a/docs/models/operations/createprojectprojectstype.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateProjectProjectsType - -The Git Provider of the repository - -## Example Usage - -```typescript -import { CreateProjectProjectsType } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectProjectsType = "bitbucket"; -``` - -## Values - -```typescript -"github" | "gitlab" | "bitbucket" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectprojectsvalue.md b/docs/models/operations/createprojectprojectsvalue.md deleted file mode 100644 index 504c9ebd..00000000 --- a/docs/models/operations/createprojectprojectsvalue.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateProjectProjectsValue - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `operations.CreateProjectValueProjects2` - -```typescript -const value: operations.CreateProjectValueProjects2 = {}; -``` - diff --git a/docs/models/operations/createprojectprotectionbypass.md b/docs/models/operations/createprojectprotectionbypass.md deleted file mode 100644 index 66034fd9..00000000 --- a/docs/models/operations/createprojectprotectionbypass.md +++ /dev/null @@ -1,21 +0,0 @@ -# CreateProjectProtectionBypass - -## Example Usage - -```typescript -import { CreateProjectProtectionBypass } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectProtectionBypass = { - createdAt: 5010.63, - createdBy: "", - scope: "automation-bypass", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `createdBy` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.CreateProjectScope](../../models/operations/createprojectscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectreadystate.md b/docs/models/operations/createprojectreadystate.md deleted file mode 100644 index 543f072d..00000000 --- a/docs/models/operations/createprojectreadystate.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectReadyState - -## Example Usage - -```typescript -import { CreateProjectReadyState } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectReadyState = "READY"; -``` - -## Values - -```typescript -"BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectreadysubstate.md b/docs/models/operations/createprojectreadysubstate.md deleted file mode 100644 index 1c1ca72d..00000000 --- a/docs/models/operations/createprojectreadysubstate.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectReadySubstate - -## Example Usage - -```typescript -import { CreateProjectReadySubstate } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectReadySubstate = "PROMOTED"; -``` - -## Values - -```typescript -"STAGED" | "PROMOTED" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectrequest.md b/docs/models/operations/createprojectrequest.md deleted file mode 100644 index ed1e973a..00000000 --- a/docs/models/operations/createprojectrequest.md +++ /dev/null @@ -1,21 +0,0 @@ -# CreateProjectRequest - -## Example Usage - -```typescript -import { CreateProjectRequest } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectRequest = { - requestBody: { - name: "a-project-name", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.CreateProjectRequestBody](../../models/operations/createprojectrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectresourceconfig.md b/docs/models/operations/createprojectresourceconfig.md deleted file mode 100644 index dc368116..00000000 --- a/docs/models/operations/createprojectresourceconfig.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateProjectResourceConfig - -## Example Usage - -```typescript -import { CreateProjectResourceConfig } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectResourceConfig = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `functionDefaultTimeout` | *number* | :heavy_minus_sign: | N/A | -| `functionDefaultMemoryType` | [operations.CreateProjectFunctionDefaultMemoryType](../../models/operations/createprojectfunctiondefaultmemorytype.md) | :heavy_minus_sign: | N/A | -| `allowServerlessConcurrency` | *boolean* | :heavy_minus_sign: | N/A | -| `elasticConcurrencyEnabled` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectresponsebody.md b/docs/models/operations/createprojectresponsebody.md deleted file mode 100644 index 93bf12a2..00000000 --- a/docs/models/operations/createprojectresponsebody.md +++ /dev/null @@ -1,146 +0,0 @@ -# CreateProjectResponseBody - -The project was successfuly created - -## Example Usage - -```typescript -import { CreateProjectResponseBody } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectResponseBody = { - accountId: "", - crons: { - enabledAt: 5207.61, - disabledAt: 2672.07, - updatedAt: 8773.99, - deploymentId: "", - definitions: [ - { - host: "vercel.com", - path: "/api/crons/sync-something?hello=world", - schedule: "0 0 * * *", - }, - ], - }, - directoryListing: false, - id: "", - latestDeployments: [ - { - id: "", - createdAt: 3719.19, - createdIn: "", - creator: { - email: "Dell.Stokes@gmail.com", - uid: "", - username: "Shanie96", - }, - deploymentHostname: "", - name: "", - plan: "hobby", - previewCommentsEnabled: false, - private: false, - readyState: "ERROR", - type: "LAMBDAS", - url: "https://dazzling-topsail.biz/", - userId: "", - }, - ], - name: "", - nodeVersion: "16.x", - targets: { - "key": { - id: "", - createdAt: 4939.58, - createdIn: "", - creator: { - email: "Rosalind_Kautzer81@hotmail.com", - uid: "", - username: "Carli.Blanda", - }, - deploymentHostname: "", - name: "", - plan: "pro", - previewCommentsEnabled: false, - private: false, - readyState: "QUEUED", - type: "LAMBDAS", - url: "https://witty-tribe.info/", - userId: "", - }, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `accountId` | *string* | :heavy_check_mark: | N/A | -| `analytics` | [operations.CreateProjectAnalytics](../../models/operations/createprojectanalytics.md) | :heavy_minus_sign: | N/A | -| `speedInsights` | [operations.CreateProjectSpeedInsights](../../models/operations/createprojectspeedinsights.md) | :heavy_minus_sign: | N/A | -| `autoExposeSystemEnvs` | *boolean* | :heavy_minus_sign: | N/A | -| `autoAssignCustomDomains` | *boolean* | :heavy_minus_sign: | N/A | -| `autoAssignCustomDomainsUpdatedBy` | *string* | :heavy_minus_sign: | N/A | -| `buildCommand` | *string* | :heavy_minus_sign: | N/A | -| `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | -| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | -| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `customerSupportCodeVisibility` | *boolean* | :heavy_minus_sign: | N/A | -| `crons` | [operations.CreateProjectCrons](../../models/operations/createprojectcrons.md) | :heavy_minus_sign: | N/A | -| `dataCache` | [operations.CreateProjectDataCache](../../models/operations/createprojectdatacache.md) | :heavy_minus_sign: | N/A | -| `deploymentExpiration` | [operations.CreateProjectDeploymentExpiration](../../models/operations/createprojectdeploymentexpiration.md) | :heavy_minus_sign: | N/A | -| `devCommand` | *string* | :heavy_minus_sign: | N/A | -| `directoryListing` | *boolean* | :heavy_check_mark: | N/A | -| `installCommand` | *string* | :heavy_minus_sign: | N/A | -| `env` | [operations.CreateProjectEnv](../../models/operations/createprojectenv.md)[] | :heavy_minus_sign: | N/A | -| `customEnvironments` | [operations.CreateProjectCustomEnvironments](../../models/operations/createprojectcustomenvironments.md)[] | :heavy_minus_sign: | N/A | -| `framework` | [operations.CreateProjectProjectsFramework](../../models/operations/createprojectprojectsframework.md) | :heavy_minus_sign: | N/A | -| `gitForkProtection` | *boolean* | :heavy_minus_sign: | N/A | -| `gitLFS` | *boolean* | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `ipBuckets` | [operations.CreateProjectIpBuckets](../../models/operations/createprojectipbuckets.md)[] | :heavy_minus_sign: | N/A | -| `latestDeployments` | [operations.CreateProjectLatestDeployments](../../models/operations/createprojectlatestdeployments.md)[] | :heavy_minus_sign: | N/A | -| `link` | *operations.CreateProjectLink* | :heavy_minus_sign: | N/A | -| `microfrontends` | [operations.CreateProjectMicrofrontends](../../models/operations/createprojectmicrofrontends.md) | :heavy_minus_sign: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `nodeVersion` | [operations.CreateProjectNodeVersion](../../models/operations/createprojectnodeversion.md) | :heavy_check_mark: | N/A | -| `optionsAllowlist` | [operations.CreateProjectOptionsAllowlist](../../models/operations/createprojectoptionsallowlist.md) | :heavy_minus_sign: | N/A | -| `outputDirectory` | *string* | :heavy_minus_sign: | N/A | -| `passiveConnectConfigurationId` | *string* | :heavy_minus_sign: | N/A | -| `passwordProtection` | [operations.CreateProjectPasswordProtection](../../models/operations/createprojectpasswordprotection.md) | :heavy_minus_sign: | N/A | -| `productionDeploymentsFastLane` | *boolean* | :heavy_minus_sign: | N/A | -| `publicSource` | *boolean* | :heavy_minus_sign: | N/A | -| `resourceConfig` | [operations.CreateProjectResourceConfig](../../models/operations/createprojectresourceconfig.md) | :heavy_minus_sign: | N/A | -| `rootDirectory` | *string* | :heavy_minus_sign: | N/A | -| `serverlessFunctionRegion` | *string* | :heavy_minus_sign: | N/A | -| `serverlessFunctionZeroConfigFailover` | *boolean* | :heavy_minus_sign: | N/A | -| `skewProtectionBoundaryAt` | *number* | :heavy_minus_sign: | N/A | -| `skewProtectionMaxAge` | *number* | :heavy_minus_sign: | N/A | -| `skipGitConnectDuringLink` | *boolean* | :heavy_minus_sign: | N/A | -| `sourceFilesOutsideRootDirectory` | *boolean* | :heavy_minus_sign: | N/A | -| `enableAffectedProjectsDeployments` | *boolean* | :heavy_minus_sign: | N/A | -| `ssoProtection` | [operations.CreateProjectSsoProtection](../../models/operations/createprojectssoprotection.md) | :heavy_minus_sign: | N/A | -| `targets` | Record | :heavy_minus_sign: | N/A | -| `transferCompletedAt` | *number* | :heavy_minus_sign: | N/A | -| `transferStartedAt` | *number* | :heavy_minus_sign: | N/A | -| `transferToAccountId` | *string* | :heavy_minus_sign: | N/A | -| `transferredFromAccountId` | *string* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `live` | *boolean* | :heavy_minus_sign: | N/A | -| `enablePreviewFeedback` | *boolean* | :heavy_minus_sign: | N/A | -| `enableProductionFeedback` | *boolean* | :heavy_minus_sign: | N/A | -| `permissions` | [operations.CreateProjectPermissions](../../models/operations/createprojectpermissions.md) | :heavy_minus_sign: | N/A | -| `lastRollbackTarget` | [operations.CreateProjectLastRollbackTarget](../../models/operations/createprojectlastrollbacktarget.md) | :heavy_minus_sign: | N/A | -| `lastAliasRequest` | [operations.CreateProjectLastAliasRequest](../../models/operations/createprojectlastaliasrequest.md) | :heavy_minus_sign: | N/A | -| `hasFloatingAliases` | *boolean* | :heavy_minus_sign: | N/A | -| `protectionBypass` | Record | :heavy_minus_sign: | N/A | -| `hasActiveBranches` | *boolean* | :heavy_minus_sign: | N/A | -| `trustedIps` | *operations.CreateProjectTrustedIps* | :heavy_minus_sign: | N/A | -| `gitComments` | [operations.CreateProjectGitComments](../../models/operations/createprojectgitcomments.md) | :heavy_minus_sign: | N/A | -| `paused` | *boolean* | :heavy_minus_sign: | N/A | -| `concurrencyBucketName` | *string* | :heavy_minus_sign: | N/A | -| `webAnalytics` | [operations.CreateProjectWebAnalytics](../../models/operations/createprojectwebanalytics.md) | :heavy_minus_sign: | N/A | -| `security` | [operations.CreateProjectSecurity](../../models/operations/createprojectsecurity.md) | :heavy_minus_sign: | N/A | -| `oidcTokenConfig` | [operations.CreateProjectOidcTokenConfig](../../models/operations/createprojectoidctokenconfig.md) | :heavy_minus_sign: | N/A | -| `tier` | [operations.CreateProjectTier](../../models/operations/createprojecttier.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectscope.md b/docs/models/operations/createprojectscope.md deleted file mode 100644 index d2aff582..00000000 --- a/docs/models/operations/createprojectscope.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectScope - -## Example Usage - -```typescript -import { CreateProjectScope } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectScope = "automation-bypass"; -``` - -## Values - -```typescript -"automation-bypass" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectsecurity.md b/docs/models/operations/createprojectsecurity.md deleted file mode 100644 index 21cbe651..00000000 --- a/docs/models/operations/createprojectsecurity.md +++ /dev/null @@ -1,25 +0,0 @@ -# CreateProjectSecurity - -## Example Usage - -```typescript -import { CreateProjectSecurity } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectSecurity = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `attackModeEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `attackModeUpdatedAt` | *number* | :heavy_minus_sign: | N/A | -| `firewallEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `firewallUpdatedAt` | *number* | :heavy_minus_sign: | N/A | -| `attackModeActiveUntil` | *number* | :heavy_minus_sign: | N/A | -| `firewallConfigVersion` | *number* | :heavy_minus_sign: | N/A | -| `firewallRoutes` | [operations.CreateProjectFirewallRoutes](../../models/operations/createprojectfirewallroutes.md)[] | :heavy_minus_sign: | N/A | -| `firewallSeawallEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `ja3Enabled` | *boolean* | :heavy_minus_sign: | N/A | -| `ja4Enabled` | *boolean* | :heavy_minus_sign: | N/A | -| `firewallBypassIps` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectsrc.md b/docs/models/operations/createprojectsrc.md deleted file mode 100644 index 9c8b5785..00000000 --- a/docs/models/operations/createprojectsrc.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateProjectSrc - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `operations.CreateProjectSrc2` - -```typescript -const value: operations.CreateProjectSrc2 = {}; -``` - diff --git a/docs/models/operations/createprojectssoprotection.md b/docs/models/operations/createprojectssoprotection.md deleted file mode 100644 index 3c560401..00000000 --- a/docs/models/operations/createprojectssoprotection.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateProjectSsoProtection - -## Example Usage - -```typescript -import { CreateProjectSsoProtection } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectSsoProtection = { - deploymentType: "prod_deployment_urls_and_all_previews", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `deploymentType` | [operations.CreateProjectDeploymentType](../../models/operations/createprojectdeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojecttarget.md b/docs/models/operations/createprojecttarget.md deleted file mode 100644 index c472bb83..00000000 --- a/docs/models/operations/createprojecttarget.md +++ /dev/null @@ -1,21 +0,0 @@ -# CreateProjectTarget - -Deployment Target or Targets in which the ENV variable will be used - - -## Supported Types - -### `operations.Target1` - -```typescript -const value: operations.Target1 = "production"; -``` - -### `operations.Target2[]` - -```typescript -const value: operations.Target2[] = [ - "development", -]; -``` - diff --git a/docs/models/operations/createprojecttarget2.md b/docs/models/operations/createprojecttarget2.md deleted file mode 100644 index 90c8c0c8..00000000 --- a/docs/models/operations/createprojecttarget2.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectTarget2 - -## Example Usage - -```typescript -import { CreateProjectTarget2 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectTarget2 = "preview"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojecttargets.md b/docs/models/operations/createprojecttargets.md deleted file mode 100644 index 4700443d..00000000 --- a/docs/models/operations/createprojecttargets.md +++ /dev/null @@ -1,68 +0,0 @@ -# CreateProjectTargets - -## Example Usage - -```typescript -import { CreateProjectTargets } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectTargets = { - id: "", - createdAt: 1000.14, - createdIn: "", - creator: { - email: "Annabel55@gmail.com", - uid: "", - username: "Jaclyn.Dooley", - }, - deploymentHostname: "", - name: "", - plan: "hobby", - previewCommentsEnabled: false, - private: false, - readyState: "READY", - type: "LAMBDAS", - url: "https://ambitious-teammate.info", - userId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | | -| `alias` | *string*[] | :heavy_minus_sign: | N/A | | -| `aliasAssigned` | *operations.CreateProjectProjectsAliasAssigned* | :heavy_minus_sign: | N/A | | -| `aliasError` | [operations.CreateProjectProjectsAliasError](../../models/operations/createprojectprojectsaliaserror.md) | :heavy_minus_sign: | N/A | | -| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | -| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | -| `branchMatcher` | [operations.CreateProjectProjectsBranchMatcher](../../models/operations/createprojectprojectsbranchmatcher.md) | :heavy_minus_sign: | N/A | | -| `buildingAt` | *number* | :heavy_minus_sign: | N/A | | -| `builds` | [operations.CreateProjectProjectsBuilds](../../models/operations/createprojectprojectsbuilds.md)[] | :heavy_minus_sign: | N/A | | -| `checksConclusion` | [operations.CreateProjectProjectsChecksConclusion](../../models/operations/createprojectprojectschecksconclusion.md) | :heavy_minus_sign: | N/A | | -| `checksState` | [operations.CreateProjectProjectsChecksState](../../models/operations/createprojectprojectschecksstate.md) | :heavy_minus_sign: | N/A | | -| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | -| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | -| `createdAt` | *number* | :heavy_check_mark: | N/A | | -| `createdIn` | *string* | :heavy_check_mark: | N/A | | -| `creator` | [operations.CreateProjectProjectsCreator](../../models/operations/createprojectprojectscreator.md) | :heavy_check_mark: | N/A | | -| `deletedAt` | *number* | :heavy_minus_sign: | N/A | | -| `deploymentHostname` | *string* | :heavy_check_mark: | N/A | | -| `forced` | *boolean* | :heavy_minus_sign: | N/A | | -| `name` | *string* | :heavy_check_mark: | N/A | | -| `meta` | Record | :heavy_minus_sign: | N/A | | -| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | -| `oidcTokenClaims` | [operations.CreateProjectProjectsOidcTokenClaims](../../models/operations/createprojectprojectsoidctokenclaims.md) | :heavy_minus_sign: | N/A | | -| `plan` | [operations.CreateProjectProjectsPlan](../../models/operations/createprojectprojectsplan.md) | :heavy_check_mark: | N/A | | -| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | -| `private` | *boolean* | :heavy_check_mark: | N/A | | -| `readyAt` | *number* | :heavy_minus_sign: | N/A | | -| `readyState` | [operations.CreateProjectProjectsReadyState](../../models/operations/createprojectprojectsreadystate.md) | :heavy_check_mark: | N/A | | -| `readySubstate` | [operations.CreateProjectProjectsReadySubstate](../../models/operations/createprojectprojectsreadysubstate.md) | :heavy_minus_sign: | N/A | | -| `requestedAt` | *number* | :heavy_minus_sign: | N/A | | -| `target` | *string* | :heavy_minus_sign: | N/A | | -| `teamId` | *string* | :heavy_minus_sign: | N/A | | -| `type` | [operations.CreateProjectProjectsResponse200ApplicationJSONType](../../models/operations/createprojectprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | | -| `url` | *string* | :heavy_check_mark: | N/A | | -| `userId` | *string* | :heavy_check_mark: | N/A | | -| `withCache` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/createprojecttier.md b/docs/models/operations/createprojecttier.md deleted file mode 100644 index 4df3a4e9..00000000 --- a/docs/models/operations/createprojecttier.md +++ /dev/null @@ -1,15 +0,0 @@ -# CreateProjectTier - -## Example Usage - -```typescript -import { CreateProjectTier } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectTier = "critical"; -``` - -## Values - -```typescript -"standard" | "advanced" | "critical" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojecttrustedips.md b/docs/models/operations/createprojecttrustedips.md deleted file mode 100644 index 26dd64bd..00000000 --- a/docs/models/operations/createprojecttrustedips.md +++ /dev/null @@ -1,27 +0,0 @@ -# CreateProjectTrustedIps - - -## Supported Types - -### `operations.CreateProjectTrustedIps1` - -```typescript -const value: operations.CreateProjectTrustedIps1 = { - deploymentType: "all", - addresses: [ - { - value: "", - }, - ], - protectionMode: "additional", -}; -``` - -### `operations.CreateProjectTrustedIps2` - -```typescript -const value: operations.CreateProjectTrustedIps2 = { - deploymentType: "production", -}; -``` - diff --git a/docs/models/operations/createprojecttrustedips1.md b/docs/models/operations/createprojecttrustedips1.md deleted file mode 100644 index 818c3953..00000000 --- a/docs/models/operations/createprojecttrustedips1.md +++ /dev/null @@ -1,25 +0,0 @@ -# CreateProjectTrustedIps1 - -## Example Usage - -```typescript -import { CreateProjectTrustedIps1 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectTrustedIps1 = { - deploymentType: "all", - addresses: [ - { - value: "", - }, - ], - protectionMode: "additional", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `deploymentType` | [operations.CreateProjectTrustedIpsDeploymentType](../../models/operations/createprojecttrustedipsdeploymenttype.md) | :heavy_check_mark: | N/A | -| `addresses` | [operations.TrustedIpsAddresses](../../models/operations/trustedipsaddresses.md)[] | :heavy_check_mark: | N/A | -| `protectionMode` | [operations.TrustedIpsProtectionMode](../../models/operations/trustedipsprotectionmode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojecttrustedips2.md b/docs/models/operations/createprojecttrustedips2.md deleted file mode 100644 index 68a652b8..00000000 --- a/docs/models/operations/createprojecttrustedips2.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateProjectTrustedIps2 - -## Example Usage - -```typescript -import { CreateProjectTrustedIps2 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectTrustedIps2 = { - deploymentType: "preview", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `deploymentType` | [operations.CreateProjectTrustedIpsProjectsDeploymentType](../../models/operations/createprojecttrustedipsprojectsdeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojecttype.md b/docs/models/operations/createprojecttype.md deleted file mode 100644 index cb330c9a..00000000 --- a/docs/models/operations/createprojecttype.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateProjectType - -Type of the ENV variable - -## Example Usage - -```typescript -import { CreateProjectType } from "@vercel/sdk/models/operations/createproject.js"; - -let value: CreateProjectType = "secret"; -``` - -## Values - -```typescript -"system" | "secret" | "encrypted" | "plain" | "sensitive" -``` \ No newline at end of file diff --git a/docs/models/operations/createprojectvalue.md b/docs/models/operations/createprojectvalue.md deleted file mode 100644 index ba2dc79e..00000000 --- a/docs/models/operations/createprojectvalue.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateProjectValue - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `operations.CreateProjectValue2` - -```typescript -const value: operations.CreateProjectValue2 = {}; -``` - diff --git a/docs/models/operations/createrecordrequestbody.md b/docs/models/operations/createrecordrequestbody.md deleted file mode 100644 index bcca4316..00000000 --- a/docs/models/operations/createrecordrequestbody.md +++ /dev/null @@ -1,132 +0,0 @@ -# CreateRecordRequestBody - - -## Supported Types - -### `operations.RequestBody1` - -```typescript -const value: operations.RequestBody1 = { - name: "subdomain", - type: "A", - ttl: 60, - value: "192.0.2.42", - comment: "used to verify ownership of domain", -}; -``` - -### `operations.RequestBody2` - -```typescript -const value: operations.RequestBody2 = { - name: "subdomain", - type: "HTTPS", - ttl: 60, - value: "2001:DB8::42", - comment: "used to verify ownership of domain", -}; -``` - -### `operations.RequestBody3` - -```typescript -const value: operations.RequestBody3 = { - name: "subdomain", - type: "HTTPS", - ttl: 60, - value: "cname.vercel-dns.com", - comment: "used to verify ownership of domain", -}; -``` - -### `operations.RequestBody4` - -```typescript -const value: operations.RequestBody4 = { - name: "subdomain", - type: "CAA", - ttl: 60, - value: "0 issue \\"letsencrypt.org\\"", - comment: "used to verify ownership of domain", -}; -``` - -### `operations.RequestBody5` - -```typescript -const value: operations.RequestBody5 = { - name: "subdomain", - type: "A", - ttl: 60, - value: "cname.vercel-dns.com", - comment: "used to verify ownership of domain", -}; -``` - -### `operations.Six` - -```typescript -const value: operations.Six = { - name: "subdomain", - type: "ALIAS", - ttl: 60, - value: "10 mail.example.com.", - mxPriority: 10, - comment: "used to verify ownership of domain", -}; -``` - -### `operations.Seven` - -```typescript -const value: operations.Seven = { - type: "CAA", - ttl: 60, - srv: { - priority: 10, - weight: 10, - port: 5000, - target: "host.example.com", - }, - comment: "used to verify ownership of domain", -}; -``` - -### `operations.Eight` - -```typescript -const value: operations.Eight = { - type: "CNAME", - ttl: 60, - value: "hello", - comment: "used to verify ownership of domain", -}; -``` - -### `operations.Nine` - -```typescript -const value: operations.Nine = { - name: "subdomain", - type: "HTTPS", - ttl: 60, - value: "ns1.example.com", - comment: "used to verify ownership of domain", -}; -``` - -### `operations.Ten` - -```typescript -const value: operations.Ten = { - type: "SRV", - ttl: 60, - https: { - priority: 10, - target: "host.example.com", - params: "alpn=h2,h3", - }, - comment: "used to verify ownership of domain", -}; -``` - diff --git a/docs/models/operations/createrecordresponsebody.md b/docs/models/operations/createrecordresponsebody.md deleted file mode 100644 index 1b8cf422..00000000 --- a/docs/models/operations/createrecordresponsebody.md +++ /dev/null @@ -1,24 +0,0 @@ -# CreateRecordResponseBody - -Successful response showing the uid of the newly created DNS record. - - -## Supported Types - -### `operations.CreateRecordResponseBody1` - -```typescript -const value: operations.CreateRecordResponseBody1 = { - uid: "", - updated: 408.75, -}; -``` - -### `operations.CreateRecordResponseBody2` - -```typescript -const value: operations.CreateRecordResponseBody2 = { - uid: "rec_V0fra8eEgQwEpFhYG2vTzC3K", -}; -``` - diff --git a/docs/models/operations/createwebhookrequest.md b/docs/models/operations/createwebhookrequest.md deleted file mode 100644 index d844e73b..00000000 --- a/docs/models/operations/createwebhookrequest.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateWebhookRequest - -## Example Usage - -```typescript -import { CreateWebhookRequest } from "@vercel/sdk/models/operations/createwebhook.js"; - -let value: CreateWebhookRequest = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.CreateWebhookRequestBody](../../models/operations/createwebhookrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createwebhookrequestbody.md b/docs/models/operations/createwebhookrequestbody.md deleted file mode 100644 index b2394043..00000000 --- a/docs/models/operations/createwebhookrequestbody.md +++ /dev/null @@ -1,22 +0,0 @@ -# CreateWebhookRequestBody - -## Example Usage - -```typescript -import { CreateWebhookRequestBody } from "@vercel/sdk/models/operations/createwebhook.js"; - -let value: CreateWebhookRequestBody = { - url: "https://wide-seagull.net/", - events: [ - "observability.anomaly", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `url` | *string* | :heavy_check_mark: | N/A | -| `events` | [operations.Events](../../models/operations/events.md)[] | :heavy_check_mark: | N/A | -| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createwebhookresponsebody.md b/docs/models/operations/createwebhookresponsebody.md deleted file mode 100644 index c2234e44..00000000 --- a/docs/models/operations/createwebhookresponsebody.md +++ /dev/null @@ -1,35 +0,0 @@ -# CreateWebhookResponseBody - -## Example Usage - -```typescript -import { CreateWebhookResponseBody } from "@vercel/sdk/models/operations/createwebhook.js"; - -let value: CreateWebhookResponseBody = { - secret: "", - events: [ - "deployment.created", - ], - id: "account_hook_GflD6EYyo7F4ViYS", - url: "https://my-webhook.com", - ownerId: "ZspSRT4ljIEEmMHgoDwKWDei", - createdAt: 1567024758130, - updatedAt: 1567024758130, - projectIds: [ - "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `secret` | *string* | :heavy_check_mark: | The webhook secret used to sign the payload | | -| `events` | [operations.CreateWebhookEvents](../../models/operations/createwebhookevents.md)[] | :heavy_check_mark: | The webhooks events | deployment.created | -| `id` | *string* | :heavy_check_mark: | The webhook id | account_hook_GflD6EYyo7F4ViYS | -| `url` | *string* | :heavy_check_mark: | A string with the URL of the webhook | https://my-webhook.com | -| `ownerId` | *string* | :heavy_check_mark: | The unique ID of the team the webhook belongs to | ZspSRT4ljIEEmMHgoDwKWDei | -| `createdAt` | *number* | :heavy_check_mark: | A number containing the date when the webhook was created in in milliseconds | 1567024758130 | -| `updatedAt` | *number* | :heavy_check_mark: | A number containing the date when the webhook was updated in in milliseconds | 1567024758130 | -| `projectIds` | *string*[] | :heavy_minus_sign: | The ID of the projects the webhook is associated with | [
"prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB"
] | \ No newline at end of file diff --git a/docs/models/operations/crs.md b/docs/models/operations/crs.md deleted file mode 100644 index 092194b9..00000000 --- a/docs/models/operations/crs.md +++ /dev/null @@ -1,25 +0,0 @@ -# Crs - -## Example Usage - -```typescript -import { Crs } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Crs = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `sd` | [operations.Sd](../../models/operations/sd.md) | :heavy_minus_sign: | N/A | -| `ma` | [operations.Ma](../../models/operations/ma.md) | :heavy_minus_sign: | N/A | -| `lfi` | [operations.Lfi](../../models/operations/lfi.md) | :heavy_minus_sign: | N/A | -| `rfi` | [operations.Rfi](../../models/operations/rfi.md) | :heavy_minus_sign: | N/A | -| `rce` | [operations.Rce](../../models/operations/rce.md) | :heavy_minus_sign: | N/A | -| `php` | [operations.Php](../../models/operations/php.md) | :heavy_minus_sign: | N/A | -| `gen` | [operations.Gen](../../models/operations/gen.md) | :heavy_minus_sign: | N/A | -| `xss` | [operations.Xss](../../models/operations/xss.md) | :heavy_minus_sign: | N/A | -| `sqli` | [operations.Sqli](../../models/operations/sqli.md) | :heavy_minus_sign: | N/A | -| `sf` | [operations.Sf](../../models/operations/sf.md) | :heavy_minus_sign: | N/A | -| `java` | [operations.Java](../../models/operations/java.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/customenvironment.md b/docs/models/operations/customenvironment.md deleted file mode 100644 index ca34958c..00000000 --- a/docs/models/operations/customenvironment.md +++ /dev/null @@ -1,19 +0,0 @@ -# CustomEnvironment - - -## Supported Types - -### `operations.CustomEnvironment1` - -```typescript -const value: operations.CustomEnvironment1 = {}; -``` - -### `operations.CustomEnvironment2` - -```typescript -const value: operations.CustomEnvironment2 = { - id: "", -}; -``` - diff --git a/docs/models/operations/customenvironment1.md b/docs/models/operations/customenvironment1.md deleted file mode 100644 index d0693567..00000000 --- a/docs/models/operations/customenvironment1.md +++ /dev/null @@ -1,14 +0,0 @@ -# CustomEnvironment1 - -## Example Usage - -```typescript -import { CustomEnvironment1 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: CustomEnvironment1 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/customenvironments.md b/docs/models/operations/customenvironments.md deleted file mode 100644 index 67e86432..00000000 --- a/docs/models/operations/customenvironments.md +++ /dev/null @@ -1,14 +0,0 @@ -# CustomEnvironments - -## Example Usage - -```typescript -import { CustomEnvironments } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: CustomEnvironments = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/datacache.md b/docs/models/operations/datacache.md deleted file mode 100644 index 4feab902..00000000 --- a/docs/models/operations/datacache.md +++ /dev/null @@ -1,19 +0,0 @@ -# DataCache - -## Example Usage - -```typescript -import { DataCache } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: DataCache = { - userDisabled: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `userDisabled` | *boolean* | :heavy_check_mark: | N/A | -| `storageSizeBytes` | *number* | :heavy_minus_sign: | N/A | -| `unlimited` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/deletealiasresponsebody.md b/docs/models/operations/deletealiasresponsebody.md deleted file mode 100644 index 6f42312a..00000000 --- a/docs/models/operations/deletealiasresponsebody.md +++ /dev/null @@ -1,19 +0,0 @@ -# DeleteAliasResponseBody - -The alias was successfully removed - -## Example Usage - -```typescript -import { DeleteAliasResponseBody } from "@vercel/sdk/models/operations/deletealias.js"; - -let value: DeleteAliasResponseBody = { - status: "SUCCESS", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `status` | [operations.DeleteAliasStatus](../../models/operations/deletealiasstatus.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/deletealiasstatus.md b/docs/models/operations/deletealiasstatus.md deleted file mode 100644 index 6035b72a..00000000 --- a/docs/models/operations/deletealiasstatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# DeleteAliasStatus - -## Example Usage - -```typescript -import { DeleteAliasStatus } from "@vercel/sdk/models/operations/deletealias.js"; - -let value: DeleteAliasStatus = "SUCCESS"; -``` - -## Values - -```typescript -"SUCCESS" -``` \ No newline at end of file diff --git a/docs/models/operations/deletedeploymentresponsebody.md b/docs/models/operations/deletedeploymentresponsebody.md deleted file mode 100644 index 7faeb66a..00000000 --- a/docs/models/operations/deletedeploymentresponsebody.md +++ /dev/null @@ -1,21 +0,0 @@ -# DeleteDeploymentResponseBody - -The deployment was successfully deleted - -## Example Usage - -```typescript -import { DeleteDeploymentResponseBody } from "@vercel/sdk/models/operations/deletedeployment.js"; - -let value: DeleteDeploymentResponseBody = { - uid: "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd", - state: "DELETED", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `uid` | *string* | :heavy_check_mark: | The removed deployment ID. | dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd | -| `state` | [operations.DeleteDeploymentState](../../models/operations/deletedeploymentstate.md) | :heavy_check_mark: | A constant with the final state of the deployment. | | \ No newline at end of file diff --git a/docs/models/operations/deletedeploymentstate.md b/docs/models/operations/deletedeploymentstate.md deleted file mode 100644 index af0a58f6..00000000 --- a/docs/models/operations/deletedeploymentstate.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteDeploymentState - -A constant with the final state of the deployment. - -## Example Usage - -```typescript -import { DeleteDeploymentState } from "@vercel/sdk/models/operations/deletedeployment.js"; - -let value: DeleteDeploymentState = "DELETED"; -``` - -## Values - -```typescript -"DELETED" -``` \ No newline at end of file diff --git a/docs/models/operations/deleteedgeconfigtokensrequest.md b/docs/models/operations/deleteedgeconfigtokensrequest.md deleted file mode 100644 index 09ca3d23..00000000 --- a/docs/models/operations/deleteedgeconfigtokensrequest.md +++ /dev/null @@ -1,20 +0,0 @@ -# DeleteEdgeConfigTokensRequest - -## Example Usage - -```typescript -import { DeleteEdgeConfigTokensRequest } from "@vercel/sdk/models/operations/deleteedgeconfigtokens.js"; - -let value: DeleteEdgeConfigTokensRequest = { - edgeConfigId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.DeleteEdgeConfigTokensRequestBody](../../models/operations/deleteedgeconfigtokensrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/deleteteamrequest.md b/docs/models/operations/deleteteamrequest.md deleted file mode 100644 index e3f29bb5..00000000 --- a/docs/models/operations/deleteteamrequest.md +++ /dev/null @@ -1,21 +0,0 @@ -# DeleteTeamRequest - -## Example Usage - -```typescript -import { DeleteTeamRequest } from "@vercel/sdk/models/operations/deleteteam.js"; - -let value: DeleteTeamRequest = { - newDefaultTeamId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", - teamId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `newDefaultTeamId` | *string* | :heavy_minus_sign: | Id of the team to be set as the new default team | team_LLHUOMOoDlqOp8wPE4kFo9pE | -| `teamId` | *string* | :heavy_check_mark: | The Team identifier to perform the request on behalf of. | | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | -| `requestBody` | [operations.DeleteTeamRequestBody](../../models/operations/deleteteamrequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/deliveryformat.md b/docs/models/operations/deliveryformat.md deleted file mode 100644 index 95f6083b..00000000 --- a/docs/models/operations/deliveryformat.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeliveryFormat - -The delivery log format - -## Example Usage - -```typescript -import { DeliveryFormat } from "@vercel/sdk/models/operations/createlogdrain.js"; - -let value: DeliveryFormat = "json"; -``` - -## Values - -```typescript -"json" | "ndjson" | "syslog" -``` \ No newline at end of file diff --git a/docs/models/operations/direction.md b/docs/models/operations/direction.md deleted file mode 100644 index 499da8c4..00000000 --- a/docs/models/operations/direction.md +++ /dev/null @@ -1,17 +0,0 @@ -# Direction - -Order of the returned events based on the timestamp. - -## Example Usage - -```typescript -import { Direction } from "@vercel/sdk/models/operations/getdeploymentevents.js"; - -let value: Direction = "backward"; -``` - -## Values - -```typescript -"backward" | "forward" -``` \ No newline at end of file diff --git a/docs/models/operations/disabledreason.md b/docs/models/operations/disabledreason.md deleted file mode 100644 index 372258ad..00000000 --- a/docs/models/operations/disabledreason.md +++ /dev/null @@ -1,15 +0,0 @@ -# DisabledReason - -## Example Usage - -```typescript -import { DisabledReason } from "@vercel/sdk/models/operations/getconfigurablelogdrain.js"; - -let value: DisabledReason = "feature-not-available"; -``` - -## Values - -```typescript -"disabled-by-owner" | "feature-not-available" | "account-plan-downgrade" | "disabled-by-admin" -``` \ No newline at end of file diff --git a/docs/models/operations/editprojectenvcontenthint1.md b/docs/models/operations/editprojectenvcontenthint1.md deleted file mode 100644 index 8122008c..00000000 --- a/docs/models/operations/editprojectenvcontenthint1.md +++ /dev/null @@ -1,19 +0,0 @@ -# EditProjectEnvContentHint1 - -## Example Usage - -```typescript -import { EditProjectEnvContentHint1 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `type` | [operations.EditProjectEnvContentHintType](../../models/operations/editprojectenvcontenthinttype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvcontenthint10.md b/docs/models/operations/editprojectenvcontenthint10.md deleted file mode 100644 index 024c162e..00000000 --- a/docs/models/operations/editprojectenvcontenthint10.md +++ /dev/null @@ -1,19 +0,0 @@ -# EditProjectEnvContentHint10 - -## Example Usage - -```typescript -import { EditProjectEnvContentHint10 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type](../../models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvcontenthint11.md b/docs/models/operations/editprojectenvcontenthint11.md deleted file mode 100644 index 6bf0eb93..00000000 --- a/docs/models/operations/editprojectenvcontenthint11.md +++ /dev/null @@ -1,19 +0,0 @@ -# EditProjectEnvContentHint11 - -## Example Usage - -```typescript -import { EditProjectEnvContentHint11 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type](../../models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvcontenthint12.md b/docs/models/operations/editprojectenvcontenthint12.md deleted file mode 100644 index 461cf3fd..00000000 --- a/docs/models/operations/editprojectenvcontenthint12.md +++ /dev/null @@ -1,19 +0,0 @@ -# EditProjectEnvContentHint12 - -## Example Usage - -```typescript -import { EditProjectEnvContentHint12 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvContentHint12 = { - type: "postgres-database", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type](../../models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvcontenthint13.md b/docs/models/operations/editprojectenvcontenthint13.md deleted file mode 100644 index 9bdf5660..00000000 --- a/docs/models/operations/editprojectenvcontenthint13.md +++ /dev/null @@ -1,19 +0,0 @@ -# EditProjectEnvContentHint13 - -## Example Usage - -```typescript -import { EditProjectEnvContentHint13 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvContentHint13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type](../../models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvcontenthint14.md b/docs/models/operations/editprojectenvcontenthint14.md deleted file mode 100644 index 0d96d2bf..00000000 --- a/docs/models/operations/editprojectenvcontenthint14.md +++ /dev/null @@ -1,25 +0,0 @@ -# EditProjectEnvContentHint14 - -## Example Usage - -```typescript -import { EditProjectEnvContentHint14 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvContentHint14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type](../../models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvcontenthint15.md b/docs/models/operations/editprojectenvcontenthint15.md deleted file mode 100644 index b5286877..00000000 --- a/docs/models/operations/editprojectenvcontenthint15.md +++ /dev/null @@ -1,19 +0,0 @@ -# EditProjectEnvContentHint15 - -## Example Usage - -```typescript -import { EditProjectEnvContentHint15 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvContentHint15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type](../../models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvcontenthint2.md b/docs/models/operations/editprojectenvcontenthint2.md deleted file mode 100644 index 6dc36c8e..00000000 --- a/docs/models/operations/editprojectenvcontenthint2.md +++ /dev/null @@ -1,19 +0,0 @@ -# EditProjectEnvContentHint2 - -## Example Usage - -```typescript -import { EditProjectEnvContentHint2 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.EditProjectEnvContentHintProjectsType](../../models/operations/editprojectenvcontenthintprojectstype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvcontenthint3.md b/docs/models/operations/editprojectenvcontenthint3.md deleted file mode 100644 index 6bd993df..00000000 --- a/docs/models/operations/editprojectenvcontenthint3.md +++ /dev/null @@ -1,19 +0,0 @@ -# EditProjectEnvContentHint3 - -## Example Usage - -```typescript -import { EditProjectEnvContentHint3 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.EditProjectEnvContentHintProjectsResponseType](../../models/operations/editprojectenvcontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvcontenthint4.md b/docs/models/operations/editprojectenvcontenthint4.md deleted file mode 100644 index a0aff76f..00000000 --- a/docs/models/operations/editprojectenvcontenthint4.md +++ /dev/null @@ -1,19 +0,0 @@ -# EditProjectEnvContentHint4 - -## Example Usage - -```typescript -import { EditProjectEnvContentHint4 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.EditProjectEnvContentHintProjectsResponse200Type](../../models/operations/editprojectenvcontenthintprojectsresponse200type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvcontenthint5.md b/docs/models/operations/editprojectenvcontenthint5.md deleted file mode 100644 index 512ffe29..00000000 --- a/docs/models/operations/editprojectenvcontenthint5.md +++ /dev/null @@ -1,19 +0,0 @@ -# EditProjectEnvContentHint5 - -## Example Usage - -```typescript -import { EditProjectEnvContentHint5 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.EditProjectEnvContentHintProjectsResponse200ApplicationJSONType](../../models/operations/editprojectenvcontenthintprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvcontenthint6.md b/docs/models/operations/editprojectenvcontenthint6.md deleted file mode 100644 index 77fd8416..00000000 --- a/docs/models/operations/editprojectenvcontenthint6.md +++ /dev/null @@ -1,19 +0,0 @@ -# EditProjectEnvContentHint6 - -## Example Usage - -```typescript -import { EditProjectEnvContentHint6 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType](../../models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvcontenthint7.md b/docs/models/operations/editprojectenvcontenthint7.md deleted file mode 100644 index 2a86f836..00000000 --- a/docs/models/operations/editprojectenvcontenthint7.md +++ /dev/null @@ -1,19 +0,0 @@ -# EditProjectEnvContentHint7 - -## Example Usage - -```typescript -import { EditProjectEnvContentHint7 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type](../../models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvcontenthint8.md b/docs/models/operations/editprojectenvcontenthint8.md deleted file mode 100644 index 64e1593d..00000000 --- a/docs/models/operations/editprojectenvcontenthint8.md +++ /dev/null @@ -1,19 +0,0 @@ -# EditProjectEnvContentHint8 - -## Example Usage - -```typescript -import { EditProjectEnvContentHint8 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type](../../models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvcontenthint9.md b/docs/models/operations/editprojectenvcontenthint9.md deleted file mode 100644 index 40d43a0b..00000000 --- a/docs/models/operations/editprojectenvcontenthint9.md +++ /dev/null @@ -1,19 +0,0 @@ -# EditProjectEnvContentHint9 - -## Example Usage - -```typescript -import { EditProjectEnvContentHint9 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type](../../models/operations/editprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvrequest.md b/docs/models/operations/editprojectenvrequest.md deleted file mode 100644 index a8b938e5..00000000 --- a/docs/models/operations/editprojectenvrequest.md +++ /dev/null @@ -1,35 +0,0 @@ -# EditProjectEnvRequest - -## Example Usage - -```typescript -import { EditProjectEnvRequest } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvRequest = { - idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", - id: "XMbOEya1gUUO1ir4", - requestBody: { - key: "GITHUB_APP_ID", - target: [ - "preview", - ], - gitBranch: "feature-1", - type: "plain", - value: "bkWIjbnxcvo78", - customEnvironmentIds: [ - "env_1234567890", - ], - comment: "database connection string for production", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA | -| `id` | *string* | :heavy_check_mark: | The unique environment variable identifier | XMbOEya1gUUO1ir4 | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | -| `requestBody` | [operations.EditProjectEnvRequestBody](../../models/operations/editprojectenvrequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvrequestbody.md b/docs/models/operations/editprojectenvrequestbody.md deleted file mode 100644 index 7d957361..00000000 --- a/docs/models/operations/editprojectenvrequestbody.md +++ /dev/null @@ -1,33 +0,0 @@ -# EditProjectEnvRequestBody - -## Example Usage - -```typescript -import { EditProjectEnvRequestBody } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvRequestBody = { - key: "GITHUB_APP_ID", - target: [ - "preview", - ], - gitBranch: "feature-1", - type: "plain", - value: "bkWIjbnxcvo78", - customEnvironmentIds: [ - "env_1234567890", - ], - comment: "database connection string for production", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `key` | *string* | :heavy_minus_sign: | The name of the environment variable | GITHUB_APP_ID | -| `target` | [operations.EditProjectEnvTarget](../../models/operations/editprojectenvtarget.md)[] | :heavy_minus_sign: | The target environment of the environment variable | [
"preview"
] | -| `gitBranch` | *string* | :heavy_minus_sign: | If defined, the git branch of the environment variable (must have target=preview) | feature-1 | -| `type` | [operations.EditProjectEnvType](../../models/operations/editprojectenvtype.md) | :heavy_minus_sign: | The type of environment variable | plain | -| `value` | *string* | :heavy_minus_sign: | The value of the environment variable | bkWIjbnxcvo78 | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | | -| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this env var is for | database connection string for production | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvresponsebody.md b/docs/models/operations/editprojectenvresponsebody.md deleted file mode 100644 index da37697c..00000000 --- a/docs/models/operations/editprojectenvresponsebody.md +++ /dev/null @@ -1,23 +0,0 @@ -# EditProjectEnvResponseBody - -The environment variable was successfully edited - - -## Supported Types - -### `operations.EditProjectEnvResponseBody1` - -```typescript -const value: operations.EditProjectEnvResponseBody1 = { - type: "plain", - key: "", - value: "", -}; -``` - -### `operations.EditProjectEnvResponseBody2` - -```typescript -const value: operations.EditProjectEnvResponseBody2 = {}; -``` - diff --git a/docs/models/operations/editprojectenvresponsebody1.md b/docs/models/operations/editprojectenvresponsebody1.md deleted file mode 100644 index 8f239cf8..00000000 --- a/docs/models/operations/editprojectenvresponsebody1.md +++ /dev/null @@ -1,37 +0,0 @@ -# EditProjectEnvResponseBody1 - -## Example Usage - -```typescript -import { EditProjectEnvResponseBody1 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvResponseBody1 = { - type: "system", - key: "", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `target` | *operations.EditProjectEnvResponseBodyTarget* | :heavy_minus_sign: | N/A | -| `type` | [operations.EditProjectEnvResponseBodyType](../../models/operations/editprojectenvresponsebodytype.md) | :heavy_check_mark: | N/A | -| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `createdBy` | *string* | :heavy_minus_sign: | N/A | -| `updatedBy` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `contentHint` | *operations.EditProjectEnvResponseBodyContentHint* | :heavy_minus_sign: | N/A | -| `internalContentHint` | [operations.EditProjectEnvResponseBodyInternalContentHint](../../models/operations/editprojectenvresponsebodyinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | -| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvresponsebodycontenthint.md b/docs/models/operations/editprojectenvresponsebodycontenthint.md deleted file mode 100644 index e0ac2a0e..00000000 --- a/docs/models/operations/editprojectenvresponsebodycontenthint.md +++ /dev/null @@ -1,143 +0,0 @@ -# EditProjectEnvResponseBodyContentHint - - -## Supported Types - -### `operations.EditProjectEnvContentHint1` - -```typescript -const value: operations.EditProjectEnvContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -### `operations.EditProjectEnvContentHint2` - -```typescript -const value: operations.EditProjectEnvContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -### `operations.EditProjectEnvContentHint3` - -```typescript -const value: operations.EditProjectEnvContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -### `operations.EditProjectEnvContentHint4` - -```typescript -const value: operations.EditProjectEnvContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -### `operations.EditProjectEnvContentHint5` - -```typescript -const value: operations.EditProjectEnvContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -### `operations.EditProjectEnvContentHint6` - -```typescript -const value: operations.EditProjectEnvContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -### `operations.EditProjectEnvContentHint7` - -```typescript -const value: operations.EditProjectEnvContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -### `operations.EditProjectEnvContentHint8` - -```typescript -const value: operations.EditProjectEnvContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -### `operations.EditProjectEnvContentHint9` - -```typescript -const value: operations.EditProjectEnvContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -### `operations.EditProjectEnvContentHint10` - -```typescript -const value: operations.EditProjectEnvContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -### `operations.EditProjectEnvContentHint11` - -```typescript -const value: operations.EditProjectEnvContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -### `operations.EditProjectEnvContentHint12` - -```typescript -const value: operations.EditProjectEnvContentHint12 = { - type: "postgres-database", - storeId: "", -}; -``` - -### `operations.EditProjectEnvContentHint13` - -```typescript -const value: operations.EditProjectEnvContentHint13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -### `operations.EditProjectEnvContentHint14` - -```typescript -const value: operations.EditProjectEnvContentHint14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -### `operations.EditProjectEnvContentHint15` - -```typescript -const value: operations.EditProjectEnvContentHint15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - diff --git a/docs/models/operations/editprojectenvresponsebodytarget.md b/docs/models/operations/editprojectenvresponsebodytarget.md deleted file mode 100644 index 33afc1fa..00000000 --- a/docs/models/operations/editprojectenvresponsebodytarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# EditProjectEnvResponseBodyTarget - - -## Supported Types - -### `string[]` - -```typescript -const value: string[] = [ - "", -]; -``` - -### `operations.EditProjectEnvTarget2` - -```typescript -const value: operations.EditProjectEnvTarget2 = "preview"; -``` - diff --git a/docs/models/operations/editprojectenvresponsebodytype.md b/docs/models/operations/editprojectenvresponsebodytype.md deleted file mode 100644 index 8a76c47e..00000000 --- a/docs/models/operations/editprojectenvresponsebodytype.md +++ /dev/null @@ -1,15 +0,0 @@ -# EditProjectEnvResponseBodyType - -## Example Usage - -```typescript -import { EditProjectEnvResponseBodyType } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvResponseBodyType = "encrypted"; -``` - -## Values - -```typescript -"system" | "encrypted" | "plain" | "sensitive" | "secret" -``` \ No newline at end of file diff --git a/docs/models/operations/editprojectenvtarget.md b/docs/models/operations/editprojectenvtarget.md deleted file mode 100644 index afb42622..00000000 --- a/docs/models/operations/editprojectenvtarget.md +++ /dev/null @@ -1,15 +0,0 @@ -# EditProjectEnvTarget - -## Example Usage - -```typescript -import { EditProjectEnvTarget } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvTarget = "preview"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/editprojectenvtarget2.md b/docs/models/operations/editprojectenvtarget2.md deleted file mode 100644 index 157ae25c..00000000 --- a/docs/models/operations/editprojectenvtarget2.md +++ /dev/null @@ -1,15 +0,0 @@ -# EditProjectEnvTarget2 - -## Example Usage - -```typescript -import { EditProjectEnvTarget2 } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvTarget2 = "production"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/editprojectenvtype.md b/docs/models/operations/editprojectenvtype.md deleted file mode 100644 index f1507060..00000000 --- a/docs/models/operations/editprojectenvtype.md +++ /dev/null @@ -1,17 +0,0 @@ -# EditProjectEnvType - -The type of environment variable - -## Example Usage - -```typescript -import { EditProjectEnvType } from "@vercel/sdk/models/operations/editprojectenv.js"; - -let value: EditProjectEnvType = "plain"; -``` - -## Values - -```typescript -"system" | "secret" | "encrypted" | "plain" | "sensitive" -``` \ No newline at end of file diff --git a/docs/models/operations/eight.md b/docs/models/operations/eight.md deleted file mode 100644 index 274a858c..00000000 --- a/docs/models/operations/eight.md +++ /dev/null @@ -1,23 +0,0 @@ -# Eight - -## Example Usage - -```typescript -import { Eight } from "@vercel/sdk/models/operations/createrecord.js"; - -let value: Eight = { - type: "HTTPS", - ttl: 60, - value: "hello", - comment: "used to verify ownership of domain", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateRecordRequestBodyDnsRequest8Type](../../models/operations/createrecordrequestbodydnsrequest8type.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | -| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | -| `value` | *string* | :heavy_check_mark: | A TXT record containing arbitrary text. | hello | -| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/operations/eleven.md b/docs/models/operations/eleven.md deleted file mode 100644 index 34949e1a..00000000 --- a/docs/models/operations/eleven.md +++ /dev/null @@ -1,25 +0,0 @@ -# Eleven - -Update a managed ruleset - -## Example Usage - -```typescript -import { Eleven } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: Eleven = { - action: "managedRules.update", - id: "owasp", - value: { - active: false, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `action` | [operations.UpdateFirewallConfigRequestBodySecurityRequest11Action](../../models/operations/updatefirewallconfigrequestbodysecurityrequest11action.md) | :heavy_check_mark: | N/A | -| `id` | [operations.RequestBodyId](../../models/operations/requestbodyid.md) | :heavy_check_mark: | N/A | -| `value` | [operations.UpdateFirewallConfigRequestBodySecurityRequest11Value](../../models/operations/updatefirewallconfigrequestbodysecurityrequest11value.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/emailinvitecodes.md b/docs/models/operations/emailinvitecodes.md deleted file mode 100644 index 86c062ee..00000000 --- a/docs/models/operations/emailinvitecodes.md +++ /dev/null @@ -1,26 +0,0 @@ -# EmailInviteCodes - -## Example Usage - -```typescript -import { EmailInviteCodes } from "@vercel/sdk/models/operations/getteammembers.js"; - -let value: EmailInviteCodes = { - id: "", - isDSyncUser: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `accessGroups` | *string*[] | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `email` | *string* | :heavy_minus_sign: | N/A | -| `role` | [operations.GetTeamMembersTeamsRole](../../models/operations/getteammembersteamsrole.md) | :heavy_minus_sign: | N/A | -| `isDSyncUser` | *boolean* | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `expired` | *boolean* | :heavy_minus_sign: | N/A | -| `projects` | Record | :heavy_minus_sign: | N/A | -| `entitlements` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/entitlements.md b/docs/models/operations/entitlements.md deleted file mode 100644 index 710ba8b5..00000000 --- a/docs/models/operations/entitlements.md +++ /dev/null @@ -1,15 +0,0 @@ -# Entitlements - -## Example Usage - -```typescript -import { Entitlements } from "@vercel/sdk/models/operations/readaccessgroup.js"; - -let value: Entitlements = "v0"; -``` - -## Values - -```typescript -"v0" -``` \ No newline at end of file diff --git a/docs/models/operations/env.md b/docs/models/operations/env.md deleted file mode 100644 index ee889d2f..00000000 --- a/docs/models/operations/env.md +++ /dev/null @@ -1,38 +0,0 @@ -# Env - -## Example Usage - -```typescript -import { Env } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: Env = { - type: "plain", - key: "", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `target` | *operations.UpdateProjectDataCacheTarget* | :heavy_minus_sign: | N/A | -| `type` | [operations.UpdateProjectDataCacheProjectsResponse200Type](../../models/operations/updateprojectdatacacheprojectsresponse200type.md) | :heavy_check_mark: | N/A | -| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `createdBy` | *string* | :heavy_minus_sign: | N/A | -| `updatedBy` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `contentHint` | *operations.ContentHint* | :heavy_minus_sign: | N/A | -| `internalContentHint` | [operations.InternalContentHint](../../models/operations/internalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | -| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | -| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/environments.md b/docs/models/operations/environments.md deleted file mode 100644 index ae7b2ef4..00000000 --- a/docs/models/operations/environments.md +++ /dev/null @@ -1,15 +0,0 @@ -# Environments - -## Example Usage - -```typescript -import { Environments } from "@vercel/sdk/models/operations/createlogdrain.js"; - -let value: Environments = "production"; -``` - -## Values - -```typescript -"preview" | "production" -``` \ No newline at end of file diff --git a/docs/models/operations/envs.md b/docs/models/operations/envs.md deleted file mode 100644 index eeee4a93..00000000 --- a/docs/models/operations/envs.md +++ /dev/null @@ -1,35 +0,0 @@ -# Envs - -## Example Usage - -```typescript -import { Envs } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: Envs = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `target` | *operations.FilterProjectEnvsResponseBodyProjectsTarget* | :heavy_minus_sign: | N/A | -| `type` | [operations.FilterProjectEnvsResponseBodyProjectsResponseType](../../models/operations/filterprojectenvsresponsebodyprojectsresponsetype.md) | :heavy_minus_sign: | N/A | -| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *string* | :heavy_minus_sign: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `createdBy` | *string* | :heavy_minus_sign: | N/A | -| `updatedBy` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `contentHint` | *operations.FilterProjectEnvsResponseBodyContentHint* | :heavy_minus_sign: | N/A | -| `internalContentHint` | [operations.FilterProjectEnvsResponseBodyInternalContentHint](../../models/operations/filterprojectenvsresponsebodyinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | -| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | -| `vsmValue` | *string* | :heavy_minus_sign: | N/A | -| `system` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/erl.md b/docs/models/operations/erl.md deleted file mode 100644 index 4897a045..00000000 --- a/docs/models/operations/erl.md +++ /dev/null @@ -1,25 +0,0 @@ -# Erl - -## Example Usage - -```typescript -import { Erl } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: Erl = { - algo: "token_bucket", - window: 6304.48, - limit: 8742.88, - keys: [ - "", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `algo` | [operations.UpdateProjectDataCacheAlgo](../../models/operations/updateprojectdatacachealgo.md) | :heavy_check_mark: | N/A | -| `window` | *number* | :heavy_check_mark: | N/A | -| `limit` | *number* | :heavy_check_mark: | N/A | -| `keys` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/errort.md b/docs/models/operations/errort.md deleted file mode 100644 index 8089c94e..00000000 --- a/docs/models/operations/errort.md +++ /dev/null @@ -1,17 +0,0 @@ -# ErrorT - -## Example Usage - -```typescript -import { ErrorT } from "@vercel/sdk/models/operations/artifactquery.js"; - -let value: ErrorT = { - message: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `message` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/event1.md b/docs/models/operations/event1.md deleted file mode 100644 index 080be04d..00000000 --- a/docs/models/operations/event1.md +++ /dev/null @@ -1,18 +0,0 @@ -# Event1 - -## Example Usage - -```typescript -import { Event1 } from "@vercel/sdk/models/operations/createevent.js"; - -let value: Event1 = { - type: "installation.updated", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `type` | [operations.EventType](../../models/operations/eventtype.md) | :heavy_check_mark: | N/A | -| `billingPlanId` | *string* | :heavy_minus_sign: | The installation-level billing plan ID | \ No newline at end of file diff --git a/docs/models/operations/event2.md b/docs/models/operations/event2.md deleted file mode 100644 index f3f55fb2..00000000 --- a/docs/models/operations/event2.md +++ /dev/null @@ -1,21 +0,0 @@ -# Event2 - -## Example Usage - -```typescript -import { Event2 } from "@vercel/sdk/models/operations/createevent.js"; - -let value: Event2 = { - type: "resource.updated", - productId: "", - resourceId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `type` | [operations.CreateEventEventType](../../models/operations/createeventeventtype.md) | :heavy_check_mark: | N/A | -| `productId` | *string* | :heavy_check_mark: | Partner-provided product slug or id | -| `resourceId` | *string* | :heavy_check_mark: | Partner provided resource ID | \ No newline at end of file diff --git a/docs/models/operations/eventtype.md b/docs/models/operations/eventtype.md deleted file mode 100644 index bcba4d5e..00000000 --- a/docs/models/operations/eventtype.md +++ /dev/null @@ -1,15 +0,0 @@ -# EventType - -## Example Usage - -```typescript -import { EventType } from "@vercel/sdk/models/operations/createevent.js"; - -let value: EventType = "installation.updated"; -``` - -## Values - -```typescript -"installation.updated" -``` \ No newline at end of file diff --git a/docs/models/operations/failed.md b/docs/models/operations/failed.md deleted file mode 100644 index 9d7a048a..00000000 --- a/docs/models/operations/failed.md +++ /dev/null @@ -1,20 +0,0 @@ -# Failed - -## Example Usage - -```typescript -import { Failed } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: Failed = { - error: { - code: "", - message: "", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `error` | [operations.CreateProjectEnvError](../../models/operations/createprojectenverror.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/fcp.md b/docs/models/operations/fcp.md deleted file mode 100644 index caa74397..00000000 --- a/docs/models/operations/fcp.md +++ /dev/null @@ -1,21 +0,0 @@ -# Fcp - -## Example Usage - -```typescript -import { Fcp } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: Fcp = { - value: 1200, - previousValue: 900, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | First Contentful Paint value | 1200 | -| `previousValue` | *number* | :heavy_minus_sign: | Previous First Contentful Paint value to display a delta | 900 | -| `source` | [operations.UpdateCheckSource](../../models/operations/updatechecksource.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/fifteen.md b/docs/models/operations/fifteen.md deleted file mode 100644 index 28ac0179..00000000 --- a/docs/models/operations/fifteen.md +++ /dev/null @@ -1,19 +0,0 @@ -# Fifteen - -## Example Usage - -```typescript -import { Fifteen } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: Fifteen = { - type: "flags-connection-string", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type](../../models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/files.md b/docs/models/operations/files.md deleted file mode 100644 index 741257dd..00000000 --- a/docs/models/operations/files.md +++ /dev/null @@ -1,22 +0,0 @@ -# Files - - -## Supported Types - -### `operations.InlinedFile` - -```typescript -const value: operations.InlinedFile = { - data: "", - file: "folder/file.js", -}; -``` - -### `operations.UploadedFile` - -```typescript -const value: operations.UploadedFile = { - file: "folder/file.js", -}; -``` - diff --git a/docs/models/operations/filterprojectenvscontenthint1.md b/docs/models/operations/filterprojectenvscontenthint1.md deleted file mode 100644 index e12b1e80..00000000 --- a/docs/models/operations/filterprojectenvscontenthint1.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHint1 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHint1 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintType](../../models/operations/filterprojectenvscontenthinttype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthint10.md b/docs/models/operations/filterprojectenvscontenthint10.md deleted file mode 100644 index 3418d2da..00000000 --- a/docs/models/operations/filterprojectenvscontenthint10.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHint10 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHint10 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody110type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthint11.md b/docs/models/operations/filterprojectenvscontenthint11.md deleted file mode 100644 index 2c436f2b..00000000 --- a/docs/models/operations/filterprojectenvscontenthint11.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHint11 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHint11 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody111type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthint12.md b/docs/models/operations/filterprojectenvscontenthint12.md deleted file mode 100644 index 5b6b8635..00000000 --- a/docs/models/operations/filterprojectenvscontenthint12.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHint12 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHint12 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHint12 = { - type: "postgres-database", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody112type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthint13.md b/docs/models/operations/filterprojectenvscontenthint13.md deleted file mode 100644 index 43e2ab06..00000000 --- a/docs/models/operations/filterprojectenvscontenthint13.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHint13 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHint13 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHint13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody113type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthint14.md b/docs/models/operations/filterprojectenvscontenthint14.md deleted file mode 100644 index fb22ee02..00000000 --- a/docs/models/operations/filterprojectenvscontenthint14.md +++ /dev/null @@ -1,25 +0,0 @@ -# FilterProjectEnvsContentHint14 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHint14 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHint14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody114type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthint15.md b/docs/models/operations/filterprojectenvscontenthint15.md deleted file mode 100644 index 2f2f99c9..00000000 --- a/docs/models/operations/filterprojectenvscontenthint15.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHint15 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHint15 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHint15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody115type.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthint2.md b/docs/models/operations/filterprojectenvscontenthint2.md deleted file mode 100644 index e7556cbc..00000000 --- a/docs/models/operations/filterprojectenvscontenthint2.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHint2 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHint2 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsType](../../models/operations/filterprojectenvscontenthintprojectstype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthint3.md b/docs/models/operations/filterprojectenvscontenthint3.md deleted file mode 100644 index b2d0a8d7..00000000 --- a/docs/models/operations/filterprojectenvscontenthint3.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHint3 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHint3 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponseType](../../models/operations/filterprojectenvscontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthint4.md b/docs/models/operations/filterprojectenvscontenthint4.md deleted file mode 100644 index 355223ba..00000000 --- a/docs/models/operations/filterprojectenvscontenthint4.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHint4 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHint4 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthint5.md b/docs/models/operations/filterprojectenvscontenthint5.md deleted file mode 100644 index d25ef4f7..00000000 --- a/docs/models/operations/filterprojectenvscontenthint5.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHint5 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHint5 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthint6.md b/docs/models/operations/filterprojectenvscontenthint6.md deleted file mode 100644 index 7abcc596..00000000 --- a/docs/models/operations/filterprojectenvscontenthint6.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHint6 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHint6 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthint7.md b/docs/models/operations/filterprojectenvscontenthint7.md deleted file mode 100644 index c8195fd3..00000000 --- a/docs/models/operations/filterprojectenvscontenthint7.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHint7 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHint7 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody1type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthint8.md b/docs/models/operations/filterprojectenvscontenthint8.md deleted file mode 100644 index 713375ab..00000000 --- a/docs/models/operations/filterprojectenvscontenthint8.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHint8 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHint8 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody18type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthint9.md b/docs/models/operations/filterprojectenvscontenthint9.md deleted file mode 100644 index 89c6b0f9..00000000 --- a/docs/models/operations/filterprojectenvscontenthint9.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHint9 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHint9 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody19type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojects1.md b/docs/models/operations/filterprojectenvscontenthintprojects1.md deleted file mode 100644 index ecfc48dc..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojects1.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjects1 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjects1 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjects1 = { - type: "redis-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojects10.md b/docs/models/operations/filterprojectenvscontenthintprojects10.md deleted file mode 100644 index 8f18a782..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojects10.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjects10 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjects10 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjects10 = { - type: "postgres-host", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs10type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojects11.md b/docs/models/operations/filterprojectenvscontenthintprojects11.md deleted file mode 100644 index 7a7cb849..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojects11.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjects11 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjects11 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjects11 = { - type: "postgres-password", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs11type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojects12.md b/docs/models/operations/filterprojectenvscontenthintprojects12.md deleted file mode 100644 index b7d60bc4..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojects12.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjects12 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjects12 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjects12 = { - type: "postgres-database", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs12type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojects13.md b/docs/models/operations/filterprojectenvscontenthintprojects13.md deleted file mode 100644 index 726a51a0..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojects13.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjects13 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjects13 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjects13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs13type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojects14.md b/docs/models/operations/filterprojectenvscontenthintprojects14.md deleted file mode 100644 index 2d200431..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojects14.md +++ /dev/null @@ -1,25 +0,0 @@ -# FilterProjectEnvsContentHintProjects14 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjects14 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjects14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs14type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojects15.md b/docs/models/operations/filterprojectenvscontenthintprojects15.md deleted file mode 100644 index 4398f03a..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojects15.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjects15 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjects15 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjects15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs15type.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojects2.md b/docs/models/operations/filterprojectenvscontenthintprojects2.md deleted file mode 100644 index 42ccdc18..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojects2.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjects2 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjects2 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjects2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envstype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojects3.md b/docs/models/operations/filterprojectenvscontenthintprojects3.md deleted file mode 100644 index da25b430..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojects3.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjects3 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjects3 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjects3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs3type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojects4.md b/docs/models/operations/filterprojectenvscontenthintprojects4.md deleted file mode 100644 index 0e326a63..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojects4.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjects4 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjects4 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjects4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs4type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojects5.md b/docs/models/operations/filterprojectenvscontenthintprojects5.md deleted file mode 100644 index 9f4beb7e..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojects5.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjects5 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjects5 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjects5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs5type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojects6.md b/docs/models/operations/filterprojectenvscontenthintprojects6.md deleted file mode 100644 index 7e12fa6f..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojects6.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjects6 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjects6 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjects6 = { - type: "postgres-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs6type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojects7.md b/docs/models/operations/filterprojectenvscontenthintprojects7.md deleted file mode 100644 index 930b0d89..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojects7.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjects7 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjects7 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjects7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs7type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojects8.md b/docs/models/operations/filterprojectenvscontenthintprojects8.md deleted file mode 100644 index b226dfc6..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojects8.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjects8 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjects8 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjects8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs8type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojects9.md b/docs/models/operations/filterprojectenvscontenthintprojects9.md deleted file mode 100644 index 24854052..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojects9.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjects9 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjects9 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjects9 = { - type: "postgres-user", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody2envs9type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse1.md b/docs/models/operations/filterprojectenvscontenthintprojectsresponse1.md deleted file mode 100644 index a7d3bd0d..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjectsResponse1 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjectsResponse1 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjectsResponse1 = { - type: "redis-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse10.md b/docs/models/operations/filterprojectenvscontenthintprojectsresponse10.md deleted file mode 100644 index 48bdc9b9..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse10.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjectsResponse10 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjectsResponse10 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjectsResponse10 = { - type: "postgres-host", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs10type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse11.md b/docs/models/operations/filterprojectenvscontenthintprojectsresponse11.md deleted file mode 100644 index 6b7a89cc..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse11.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjectsResponse11 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjectsResponse11 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjectsResponse11 = { - type: "postgres-password", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs11type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse12.md b/docs/models/operations/filterprojectenvscontenthintprojectsresponse12.md deleted file mode 100644 index befa8053..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse12.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjectsResponse12 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjectsResponse12 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjectsResponse12 = { - type: "postgres-database", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs12type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse13.md b/docs/models/operations/filterprojectenvscontenthintprojectsresponse13.md deleted file mode 100644 index 3deab37a..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse13.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjectsResponse13 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjectsResponse13 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjectsResponse13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs13type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse14.md b/docs/models/operations/filterprojectenvscontenthintprojectsresponse14.md deleted file mode 100644 index 13dd582e..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse14.md +++ /dev/null @@ -1,25 +0,0 @@ -# FilterProjectEnvsContentHintProjectsResponse14 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjectsResponse14 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjectsResponse14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs14type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse15.md b/docs/models/operations/filterprojectenvscontenthintprojectsresponse15.md deleted file mode 100644 index f1da5f14..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse15.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjectsResponse15 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjectsResponse15 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjectsResponse15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs15type.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse2.md b/docs/models/operations/filterprojectenvscontenthintprojectsresponse2.md deleted file mode 100644 index ec93011f..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse2.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjectsResponse2 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjectsResponse2 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjectsResponse2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envstype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse3.md b/docs/models/operations/filterprojectenvscontenthintprojectsresponse3.md deleted file mode 100644 index be8fea29..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse3.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjectsResponse3 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjectsResponse3 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjectsResponse3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs3type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse4.md b/docs/models/operations/filterprojectenvscontenthintprojectsresponse4.md deleted file mode 100644 index 547442cc..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse4.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjectsResponse4 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjectsResponse4 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjectsResponse4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs4type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse5.md b/docs/models/operations/filterprojectenvscontenthintprojectsresponse5.md deleted file mode 100644 index 6ea68239..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse5.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjectsResponse5 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjectsResponse5 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjectsResponse5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs5type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse6.md b/docs/models/operations/filterprojectenvscontenthintprojectsresponse6.md deleted file mode 100644 index 27d6e20f..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse6.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjectsResponse6 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjectsResponse6 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjectsResponse6 = { - type: "postgres-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs6type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse7.md b/docs/models/operations/filterprojectenvscontenthintprojectsresponse7.md deleted file mode 100644 index c4df7e4a..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse7.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjectsResponse7 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjectsResponse7 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjectsResponse7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs7type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse8.md b/docs/models/operations/filterprojectenvscontenthintprojectsresponse8.md deleted file mode 100644 index d45509d5..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse8.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjectsResponse8 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjectsResponse8 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjectsResponse8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs8type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvscontenthintprojectsresponse9.md b/docs/models/operations/filterprojectenvscontenthintprojectsresponse9.md deleted file mode 100644 index d35f2d49..00000000 --- a/docs/models/operations/filterprojectenvscontenthintprojectsresponse9.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsContentHintProjectsResponse9 - -## Example Usage - -```typescript -import { FilterProjectEnvsContentHintProjectsResponse9 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsContentHintProjectsResponse9 = { - type: "postgres-user", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type](../../models/operations/filterprojectenvscontenthintprojectsresponse200applicationjsonresponsebody3envs9type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvsresponsebody.md b/docs/models/operations/filterprojectenvsresponsebody.md deleted file mode 100644 index 7a7f61f6..00000000 --- a/docs/models/operations/filterprojectenvsresponsebody.md +++ /dev/null @@ -1,38 +0,0 @@ -# FilterProjectEnvsResponseBody - -The list of environment variables for the given project - - -## Supported Types - -### `operations.FilterProjectEnvsResponseBody1` - -```typescript -const value: operations.FilterProjectEnvsResponseBody1 = {}; -``` - -### `operations.FilterProjectEnvsResponseBody2` - -```typescript -const value: operations.FilterProjectEnvsResponseBody2 = { - envs: [ - {}, - ], - pagination: { - count: 20, - next: 1540095775951, - prev: 1540095775951, - }, -}; -``` - -### `operations.FilterProjectEnvsResponseBody3` - -```typescript -const value: operations.FilterProjectEnvsResponseBody3 = { - envs: [ - {}, - ], -}; -``` - diff --git a/docs/models/operations/filterprojectenvsresponsebody1.md b/docs/models/operations/filterprojectenvsresponsebody1.md deleted file mode 100644 index cdc17345..00000000 --- a/docs/models/operations/filterprojectenvsresponsebody1.md +++ /dev/null @@ -1,35 +0,0 @@ -# FilterProjectEnvsResponseBody1 - -## Example Usage - -```typescript -import { FilterProjectEnvsResponseBody1 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsResponseBody1 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `target` | *operations.FilterProjectEnvsResponseBodyTarget* | :heavy_minus_sign: | N/A | -| `type` | [operations.FilterProjectEnvsResponseBodyType](../../models/operations/filterprojectenvsresponsebodytype.md) | :heavy_minus_sign: | N/A | -| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *string* | :heavy_minus_sign: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `createdBy` | *string* | :heavy_minus_sign: | N/A | -| `updatedBy` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `contentHint` | *operations.ResponseBodyContentHint* | :heavy_minus_sign: | N/A | -| `internalContentHint` | [operations.ResponseBodyInternalContentHint](../../models/operations/responsebodyinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | -| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | -| `vsmValue` | *string* | :heavy_minus_sign: | N/A | -| `system` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvsresponsebody3.md b/docs/models/operations/filterprojectenvsresponsebody3.md deleted file mode 100644 index cbef7cff..00000000 --- a/docs/models/operations/filterprojectenvsresponsebody3.md +++ /dev/null @@ -1,21 +0,0 @@ -# FilterProjectEnvsResponseBody3 - -The list of environment variables for the given project - -## Example Usage - -```typescript -import { FilterProjectEnvsResponseBody3 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsResponseBody3 = { - envs: [ - {}, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `envs` | [operations.ResponseBodyEnvs](../../models/operations/responsebodyenvs.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvsresponsebodycontenthint.md b/docs/models/operations/filterprojectenvsresponsebodycontenthint.md deleted file mode 100644 index fc3b7d63..00000000 --- a/docs/models/operations/filterprojectenvsresponsebodycontenthint.md +++ /dev/null @@ -1,143 +0,0 @@ -# FilterProjectEnvsResponseBodyContentHint - - -## Supported Types - -### `operations.FilterProjectEnvsContentHintProjects1` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjects1 = { - type: "redis-url", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjects2` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjects2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjects3` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjects3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjects4` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjects4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjects5` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjects5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjects6` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjects6 = { - type: "postgres-url", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjects7` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjects7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjects8` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjects8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjects9` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjects9 = { - type: "postgres-user", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjects10` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjects10 = { - type: "postgres-host", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjects11` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjects11 = { - type: "postgres-password", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjects12` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjects12 = { - type: "postgres-database", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjects13` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjects13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjects14` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjects14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjects15` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjects15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - diff --git a/docs/models/operations/filterprojectenvsresponsebodyinternalcontenthint.md b/docs/models/operations/filterprojectenvsresponsebodyinternalcontenthint.md deleted file mode 100644 index 7e7c0995..00000000 --- a/docs/models/operations/filterprojectenvsresponsebodyinternalcontenthint.md +++ /dev/null @@ -1,21 +0,0 @@ -# FilterProjectEnvsResponseBodyInternalContentHint - -Similar to `contentHints`, but should not be exposed to the user. - -## Example Usage - -```typescript -import { FilterProjectEnvsResponseBodyInternalContentHint } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsResponseBodyInternalContentHint = { - type: "flags-secret", - encryptedValue: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType](../../models/operations/filterprojectenvsresponsebodyprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvsresponsebodyprojectscontenthint.md b/docs/models/operations/filterprojectenvsresponsebodyprojectscontenthint.md deleted file mode 100644 index 29756b24..00000000 --- a/docs/models/operations/filterprojectenvsresponsebodyprojectscontenthint.md +++ /dev/null @@ -1,143 +0,0 @@ -# FilterProjectEnvsResponseBodyProjectsContentHint - - -## Supported Types - -### `operations.FilterProjectEnvsContentHintProjectsResponse1` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjectsResponse1 = { - type: "redis-url", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjectsResponse2` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjectsResponse2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjectsResponse3` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjectsResponse3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjectsResponse4` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjectsResponse4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjectsResponse5` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjectsResponse5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjectsResponse6` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjectsResponse6 = { - type: "postgres-url", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjectsResponse7` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjectsResponse7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjectsResponse8` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjectsResponse8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjectsResponse9` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjectsResponse9 = { - type: "postgres-user", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjectsResponse10` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjectsResponse10 = { - type: "postgres-host", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjectsResponse11` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjectsResponse11 = { - type: "postgres-password", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjectsResponse12` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjectsResponse12 = { - type: "postgres-database", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjectsResponse13` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjectsResponse13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjectsResponse14` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjectsResponse14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHintProjectsResponse15` - -```typescript -const value: operations.FilterProjectEnvsContentHintProjectsResponse15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - diff --git a/docs/models/operations/filterprojectenvsresponsebodyprojectsinternalcontenthint.md b/docs/models/operations/filterprojectenvsresponsebodyprojectsinternalcontenthint.md deleted file mode 100644 index 85685dbe..00000000 --- a/docs/models/operations/filterprojectenvsresponsebodyprojectsinternalcontenthint.md +++ /dev/null @@ -1,21 +0,0 @@ -# FilterProjectEnvsResponseBodyProjectsInternalContentHint - -Similar to `contentHints`, but should not be exposed to the user. - -## Example Usage - -```typescript -import { FilterProjectEnvsResponseBodyProjectsInternalContentHint } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsResponseBodyProjectsInternalContentHint = { - type: "flags-secret", - encryptedValue: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type](../../models/operations/filterprojectenvsresponsebodyprojectsresponse200applicationjson3type.md) | :heavy_check_mark: | N/A | -| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200type.md b/docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200type.md deleted file mode 100644 index dda11f6a..00000000 --- a/docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200type.md +++ /dev/null @@ -1,15 +0,0 @@ -# FilterProjectEnvsResponseBodyProjectsResponse200Type - -## Example Usage - -```typescript -import { FilterProjectEnvsResponseBodyProjectsResponse200Type } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsResponseBodyProjectsResponse200Type = "encrypted"; -``` - -## Values - -```typescript -"system" | "encrypted" | "plain" | "sensitive" | "secret" -``` \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvsresponsebodyprojectsresponsetarget.md b/docs/models/operations/filterprojectenvsresponsebodyprojectsresponsetarget.md deleted file mode 100644 index 1b51a620..00000000 --- a/docs/models/operations/filterprojectenvsresponsebodyprojectsresponsetarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsResponseBodyProjectsResponseTarget - - -## Supported Types - -### `operations.FilterProjectEnvsTargetProjects1[]` - -```typescript -const value: operations.FilterProjectEnvsTargetProjects1[] = [ - "preview", -]; -``` - -### `operations.FilterProjectEnvsTargetProjectsResponse2` - -```typescript -const value: operations.FilterProjectEnvsTargetProjectsResponse2 = "production"; -``` - diff --git a/docs/models/operations/filterprojectenvsresponsebodyprojectsresponsetype.md b/docs/models/operations/filterprojectenvsresponsebodyprojectsresponsetype.md deleted file mode 100644 index 0a424182..00000000 --- a/docs/models/operations/filterprojectenvsresponsebodyprojectsresponsetype.md +++ /dev/null @@ -1,15 +0,0 @@ -# FilterProjectEnvsResponseBodyProjectsResponseType - -## Example Usage - -```typescript -import { FilterProjectEnvsResponseBodyProjectsResponseType } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsResponseBodyProjectsResponseType = "sensitive"; -``` - -## Values - -```typescript -"system" | "encrypted" | "plain" | "sensitive" | "secret" -``` \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvsresponsebodyprojectstarget.md b/docs/models/operations/filterprojectenvsresponsebodyprojectstarget.md deleted file mode 100644 index 1104ffc8..00000000 --- a/docs/models/operations/filterprojectenvsresponsebodyprojectstarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsResponseBodyProjectsTarget - - -## Supported Types - -### `operations.FilterProjectEnvsTarget1[]` - -```typescript -const value: operations.FilterProjectEnvsTarget1[] = [ - "production", -]; -``` - -### `operations.FilterProjectEnvsTargetProjects2` - -```typescript -const value: operations.FilterProjectEnvsTargetProjects2 = "production"; -``` - diff --git a/docs/models/operations/filterprojectenvsresponsebodytarget.md b/docs/models/operations/filterprojectenvsresponsebodytarget.md deleted file mode 100644 index a2d2352e..00000000 --- a/docs/models/operations/filterprojectenvsresponsebodytarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# FilterProjectEnvsResponseBodyTarget - - -## Supported Types - -### `string[]` - -```typescript -const value: string[] = [ - "", -]; -``` - -### `operations.FilterProjectEnvsTarget2` - -```typescript -const value: operations.FilterProjectEnvsTarget2 = "production"; -``` - diff --git a/docs/models/operations/filterprojectenvsresponsebodytype.md b/docs/models/operations/filterprojectenvsresponsebodytype.md deleted file mode 100644 index 686bc216..00000000 --- a/docs/models/operations/filterprojectenvsresponsebodytype.md +++ /dev/null @@ -1,15 +0,0 @@ -# FilterProjectEnvsResponseBodyType - -## Example Usage - -```typescript -import { FilterProjectEnvsResponseBodyType } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsResponseBodyType = "plain"; -``` - -## Values - -```typescript -"system" | "encrypted" | "plain" | "sensitive" | "secret" -``` \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvstarget1.md b/docs/models/operations/filterprojectenvstarget1.md deleted file mode 100644 index 87821aca..00000000 --- a/docs/models/operations/filterprojectenvstarget1.md +++ /dev/null @@ -1,15 +0,0 @@ -# FilterProjectEnvsTarget1 - -## Example Usage - -```typescript -import { FilterProjectEnvsTarget1 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsTarget1 = "preview"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvstarget2.md b/docs/models/operations/filterprojectenvstarget2.md deleted file mode 100644 index d4bd79f4..00000000 --- a/docs/models/operations/filterprojectenvstarget2.md +++ /dev/null @@ -1,15 +0,0 @@ -# FilterProjectEnvsTarget2 - -## Example Usage - -```typescript -import { FilterProjectEnvsTarget2 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: FilterProjectEnvsTarget2 = "development"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/firewallroutes.md b/docs/models/operations/firewallroutes.md deleted file mode 100644 index 4b65f9b0..00000000 --- a/docs/models/operations/firewallroutes.md +++ /dev/null @@ -1,21 +0,0 @@ -# FirewallRoutes - -## Example Usage - -```typescript -import { FirewallRoutes } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: FirewallRoutes = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `src` | *operations.Src* | :heavy_minus_sign: | N/A | -| `has` | [operations.Has](../../models/operations/has.md)[] | :heavy_minus_sign: | N/A | -| `missing` | [operations.Missing](../../models/operations/missing.md)[] | :heavy_minus_sign: | N/A | -| `dest` | *string* | :heavy_minus_sign: | N/A | -| `status` | *number* | :heavy_minus_sign: | N/A | -| `handle` | [operations.Handle](../../models/operations/handle.md) | :heavy_minus_sign: | N/A | -| `mitigate` | [operations.UpdateProjectDataCacheMitigate](../../models/operations/updateprojectdatacachemitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/five.md b/docs/models/operations/five.md deleted file mode 100644 index c1a7e9fa..00000000 --- a/docs/models/operations/five.md +++ /dev/null @@ -1,24 +0,0 @@ -# Five - -## Example Usage - -```typescript -import { Five } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: Five = { - owner: "", - ref: "", - slug: "", - type: "bitbucket", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `owner` | *string* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `type` | [operations.CreateDeploymentGitSourceDeploymentsRequestType](../../models/operations/createdeploymentgitsourcedeploymentsrequesttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/flags.md b/docs/models/operations/flags.md deleted file mode 100644 index 168cd8aa..00000000 --- a/docs/models/operations/flags.md +++ /dev/null @@ -1,21 +0,0 @@ -# Flags - - -## Supported Types - -### `operations.Flags1` - -```typescript -const value: operations.Flags1 = { - definitions: {}, -}; -``` - -### `operations.Flags2[]` - -```typescript -const value: operations.Flags2[] = [ - {}, -]; -``` - diff --git a/docs/models/operations/flags1.md b/docs/models/operations/flags1.md deleted file mode 100644 index 89f1e765..00000000 --- a/docs/models/operations/flags1.md +++ /dev/null @@ -1,19 +0,0 @@ -# Flags1 - -Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. - -## Example Usage - -```typescript -import { Flags1 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: Flags1 = { - definitions: {}, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `definitions` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/flagsdefinitions.md b/docs/models/operations/flagsdefinitions.md deleted file mode 100644 index c643ec9d..00000000 --- a/docs/models/operations/flagsdefinitions.md +++ /dev/null @@ -1,17 +0,0 @@ -# FlagsDefinitions - -## Example Usage - -```typescript -import { FlagsDefinitions } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: FlagsDefinitions = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `options` | [operations.Options](../../models/operations/options.md)[] | :heavy_minus_sign: | N/A | -| `url` | *string* | :heavy_minus_sign: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/flagsoptions.md b/docs/models/operations/flagsoptions.md deleted file mode 100644 index f0979334..00000000 --- a/docs/models/operations/flagsoptions.md +++ /dev/null @@ -1,18 +0,0 @@ -# FlagsOptions - -## Example Usage - -```typescript -import { FlagsOptions } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: FlagsOptions = { - value: [], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------- | -------------------------- | -------------------------- | -------------------------- | -| `value` | *components.FlagJSONValue* | :heavy_check_mark: | N/A | -| `label` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/forcenew.md b/docs/models/operations/forcenew.md deleted file mode 100644 index 9656e730..00000000 --- a/docs/models/operations/forcenew.md +++ /dev/null @@ -1,17 +0,0 @@ -# ForceNew - -Forces a new deployment even if there is a previous similar deployment - -## Example Usage - -```typescript -import { ForceNew } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: ForceNew = "1"; -``` - -## Values - -```typescript -"0" | "1" -``` \ No newline at end of file diff --git a/docs/models/operations/four.md b/docs/models/operations/four.md deleted file mode 100644 index ab2606b8..00000000 --- a/docs/models/operations/four.md +++ /dev/null @@ -1,23 +0,0 @@ -# Four - -## Example Usage - -```typescript -import { Four } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: Four = { - ref: "", - repoUuid: "", - type: "bitbucket", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `repoUuid` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `type` | [operations.CreateDeploymentGitSourceDeploymentsType](../../models/operations/createdeploymentgitsourcedeploymentstype.md) | :heavy_check_mark: | N/A | -| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/fourteen.md b/docs/models/operations/fourteen.md deleted file mode 100644 index 798101c6..00000000 --- a/docs/models/operations/fourteen.md +++ /dev/null @@ -1,25 +0,0 @@ -# Fourteen - -## Example Usage - -```typescript -import { Fourteen } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: Fourteen = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type](../../models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/functiondefaultmemorytype.md b/docs/models/operations/functiondefaultmemorytype.md deleted file mode 100644 index b9c64c93..00000000 --- a/docs/models/operations/functiondefaultmemorytype.md +++ /dev/null @@ -1,15 +0,0 @@ -# FunctionDefaultMemoryType - -## Example Usage - -```typescript -import { FunctionDefaultMemoryType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: FunctionDefaultMemoryType = "standard_legacy"; -``` - -## Values - -```typescript -"standard_legacy" | "standard" | "performance" -``` \ No newline at end of file diff --git a/docs/models/operations/gen.md b/docs/models/operations/gen.md deleted file mode 100644 index 336fc254..00000000 --- a/docs/models/operations/gen.md +++ /dev/null @@ -1,19 +0,0 @@ -# Gen - -## Example Usage - -```typescript -import { Gen } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Gen = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityRequestRequestBodyCrsGenAction](../../models/operations/putfirewallconfigsecurityrequestrequestbodycrsgenaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaccountinforesponsebody.md b/docs/models/operations/getaccountinforesponsebody.md deleted file mode 100644 index 73ca2351..00000000 --- a/docs/models/operations/getaccountinforesponsebody.md +++ /dev/null @@ -1,22 +0,0 @@ -# GetAccountInfoResponseBody - -## Example Usage - -```typescript -import { GetAccountInfoResponseBody } from "@vercel/sdk/models/operations/getaccountinfo.js"; - -let value: GetAccountInfoResponseBody = { - url: "https://burdensome-kettledrum.net/", - contact: { - email: "Arlo76@hotmail.com", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | -| `contact` | [operations.Contact](../../models/operations/contact.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaliasprotectionbypass.md b/docs/models/operations/getaliasprotectionbypass.md deleted file mode 100644 index bc6a5e77..00000000 --- a/docs/models/operations/getaliasprotectionbypass.md +++ /dev/null @@ -1,48 +0,0 @@ -# GetAliasProtectionBypass - - -## Supported Types - -### `operations.ProtectionBypass1` - -```typescript -const value: operations.ProtectionBypass1 = { - createdAt: 6650.82, - createdBy: "", - scope: "shareable-link", -}; -``` - -### `operations.ProtectionBypass2` - -```typescript -const value: operations.ProtectionBypass2 = { - createdAt: 7384.02, - lastUpdatedAt: 5882.02, - lastUpdatedBy: "", - access: "granted", - scope: "user", -}; -``` - -### `operations.ProtectionBypass3` - -```typescript -const value: operations.ProtectionBypass3 = { - createdAt: 4994.61, - createdBy: "", - scope: "alias-protection-override", -}; -``` - -### `operations.ProtectionBypass4` - -```typescript -const value: operations.ProtectionBypass4 = { - createdAt: 1362.92, - lastUpdatedAt: 6862.91, - lastUpdatedBy: "", - scope: "email_invite", -}; -``` - diff --git a/docs/models/operations/getallcheckscheckssource.md b/docs/models/operations/getallcheckscheckssource.md deleted file mode 100644 index c3515bde..00000000 --- a/docs/models/operations/getallcheckscheckssource.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetAllChecksChecksSource - -## Example Usage - -```typescript -import { GetAllChecksChecksSource } from "@vercel/sdk/models/operations/getallchecks.js"; - -let value: GetAllChecksChecksSource = "web-vitals"; -``` - -## Values - -```typescript -"web-vitals" -``` \ No newline at end of file diff --git a/docs/models/operations/getallcheckscls.md b/docs/models/operations/getallcheckscls.md deleted file mode 100644 index 57b4da01..00000000 --- a/docs/models/operations/getallcheckscls.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetAllChecksCLS - -## Example Usage - -```typescript -import { GetAllChecksCLS } from "@vercel/sdk/models/operations/getallchecks.js"; - -let value: GetAllChecksCLS = { - value: 2828.07, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.GetAllChecksChecksResponseSource](../../models/operations/getallcheckschecksresponsesource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getallchecksconclusion.md b/docs/models/operations/getallchecksconclusion.md deleted file mode 100644 index 55806e21..00000000 --- a/docs/models/operations/getallchecksconclusion.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetAllChecksConclusion - -## Example Usage - -```typescript -import { GetAllChecksConclusion } from "@vercel/sdk/models/operations/getallchecks.js"; - -let value: GetAllChecksConclusion = "succeeded"; -``` - -## Values - -```typescript -"canceled" | "failed" | "neutral" | "succeeded" | "skipped" | "stale" -``` \ No newline at end of file diff --git a/docs/models/operations/getallchecksfcp.md b/docs/models/operations/getallchecksfcp.md deleted file mode 100644 index f5d79f9a..00000000 --- a/docs/models/operations/getallchecksfcp.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetAllChecksFCP - -## Example Usage - -```typescript -import { GetAllChecksFCP } from "@vercel/sdk/models/operations/getallchecks.js"; - -let value: GetAllChecksFCP = { - value: 7392.64, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.GetAllChecksSource](../../models/operations/getallcheckssource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getallcheckslcp.md b/docs/models/operations/getallcheckslcp.md deleted file mode 100644 index f5d68d47..00000000 --- a/docs/models/operations/getallcheckslcp.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetAllChecksLCP - -## Example Usage - -```typescript -import { GetAllChecksLCP } from "@vercel/sdk/models/operations/getallchecks.js"; - -let value: GetAllChecksLCP = { - value: 391.88, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.GetAllChecksChecksSource](../../models/operations/getallcheckscheckssource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getallchecksmetrics.md b/docs/models/operations/getallchecksmetrics.md deleted file mode 100644 index a5444a5b..00000000 --- a/docs/models/operations/getallchecksmetrics.md +++ /dev/null @@ -1,36 +0,0 @@ -# GetAllChecksMetrics - -## Example Usage - -```typescript -import { GetAllChecksMetrics } from "@vercel/sdk/models/operations/getallchecks.js"; - -let value: GetAllChecksMetrics = { - fcp: { - value: 1187.28, - source: "web-vitals", - }, - lcp: { - value: 3179.83, - source: "web-vitals", - }, - cls: { - value: 4142.63, - source: "web-vitals", - }, - tbt: { - value: 641.47, - source: "web-vitals", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `fcp` | [operations.GetAllChecksFCP](../../models/operations/getallchecksfcp.md) | :heavy_check_mark: | N/A | -| `lcp` | [operations.GetAllChecksLCP](../../models/operations/getallcheckslcp.md) | :heavy_check_mark: | N/A | -| `cls` | [operations.GetAllChecksCLS](../../models/operations/getallcheckscls.md) | :heavy_check_mark: | N/A | -| `tbt` | [operations.GetAllChecksTBT](../../models/operations/getallcheckstbt.md) | :heavy_check_mark: | N/A | -| `virtualExperienceScore` | [operations.GetAllChecksVirtualExperienceScore](../../models/operations/getallchecksvirtualexperiencescore.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getallchecksoutput.md b/docs/models/operations/getallchecksoutput.md deleted file mode 100644 index d2c6a537..00000000 --- a/docs/models/operations/getallchecksoutput.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetAllChecksOutput - -## Example Usage - -```typescript -import { GetAllChecksOutput } from "@vercel/sdk/models/operations/getallchecks.js"; - -let value: GetAllChecksOutput = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `metrics` | [operations.GetAllChecksMetrics](../../models/operations/getallchecksmetrics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getallchecksresponsebody.md b/docs/models/operations/getallchecksresponsebody.md deleted file mode 100644 index 1e167840..00000000 --- a/docs/models/operations/getallchecksresponsebody.md +++ /dev/null @@ -1,27 +0,0 @@ -# GetAllChecksResponseBody - -## Example Usage - -```typescript -import { GetAllChecksResponseBody } from "@vercel/sdk/models/operations/getallchecks.js"; - -let value: GetAllChecksResponseBody = { - checks: [ - { - createdAt: 939.41, - id: "", - integrationId: "", - name: "", - rerequestable: false, - status: "running", - updatedAt: 9292.96, - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `checks` | [operations.Checks](../../models/operations/checks.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getallcheckssource.md b/docs/models/operations/getallcheckssource.md deleted file mode 100644 index 60807cfe..00000000 --- a/docs/models/operations/getallcheckssource.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetAllChecksSource - -## Example Usage - -```typescript -import { GetAllChecksSource } from "@vercel/sdk/models/operations/getallchecks.js"; - -let value: GetAllChecksSource = "web-vitals"; -``` - -## Values - -```typescript -"web-vitals" -``` \ No newline at end of file diff --git a/docs/models/operations/getallchecksstatus.md b/docs/models/operations/getallchecksstatus.md deleted file mode 100644 index 56ff8f93..00000000 --- a/docs/models/operations/getallchecksstatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetAllChecksStatus - -## Example Usage - -```typescript -import { GetAllChecksStatus } from "@vercel/sdk/models/operations/getallchecks.js"; - -let value: GetAllChecksStatus = "completed"; -``` - -## Values - -```typescript -"registered" | "running" | "completed" -``` \ No newline at end of file diff --git a/docs/models/operations/getallcheckstbt.md b/docs/models/operations/getallcheckstbt.md deleted file mode 100644 index 5111d74c..00000000 --- a/docs/models/operations/getallcheckstbt.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetAllChecksTBT - -## Example Usage - -```typescript -import { GetAllChecksTBT } from "@vercel/sdk/models/operations/getallchecks.js"; - -let value: GetAllChecksTBT = { - value: 1201.97, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.GetAllChecksChecksResponse200Source](../../models/operations/getallcheckschecksresponse200source.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getallchecksvirtualexperiencescore.md b/docs/models/operations/getallchecksvirtualexperiencescore.md deleted file mode 100644 index 050efc28..00000000 --- a/docs/models/operations/getallchecksvirtualexperiencescore.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetAllChecksVirtualExperienceScore - -## Example Usage - -```typescript -import { GetAllChecksVirtualExperienceScore } from "@vercel/sdk/models/operations/getallchecks.js"; - -let value: GetAllChecksVirtualExperienceScore = { - value: 2961.40, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.GetAllChecksChecksResponse200ApplicationJSONSource](../../models/operations/getallcheckschecksresponse200applicationjsonsource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getalllogdrainscreatedfrom.md b/docs/models/operations/getalllogdrainscreatedfrom.md deleted file mode 100644 index e6200e9f..00000000 --- a/docs/models/operations/getalllogdrainscreatedfrom.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetAllLogDrainsCreatedFrom - -## Example Usage - -```typescript -import { GetAllLogDrainsCreatedFrom } from "@vercel/sdk/models/operations/getalllogdrains.js"; - -let value: GetAllLogDrainsCreatedFrom = "self-served"; -``` - -## Values - -```typescript -"self-served" | "integration" -``` \ No newline at end of file diff --git a/docs/models/operations/getalllogdrainsdeliveryformat.md b/docs/models/operations/getalllogdrainsdeliveryformat.md deleted file mode 100644 index 95e971ea..00000000 --- a/docs/models/operations/getalllogdrainsdeliveryformat.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetAllLogDrainsDeliveryFormat - -## Example Usage - -```typescript -import { GetAllLogDrainsDeliveryFormat } from "@vercel/sdk/models/operations/getalllogdrains.js"; - -let value: GetAllLogDrainsDeliveryFormat = "json"; -``` - -## Values - -```typescript -"json" | "ndjson" | "syslog" -``` \ No newline at end of file diff --git a/docs/models/operations/getalllogdrainsdisabledreason.md b/docs/models/operations/getalllogdrainsdisabledreason.md deleted file mode 100644 index 0a24b2e8..00000000 --- a/docs/models/operations/getalllogdrainsdisabledreason.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetAllLogDrainsDisabledReason - -## Example Usage - -```typescript -import { GetAllLogDrainsDisabledReason } from "@vercel/sdk/models/operations/getalllogdrains.js"; - -let value: GetAllLogDrainsDisabledReason = "disabled-by-admin"; -``` - -## Values - -```typescript -"disabled-by-owner" | "feature-not-available" | "account-plan-downgrade" | "disabled-by-admin" -``` \ No newline at end of file diff --git a/docs/models/operations/getalllogdrainsresponsebody.md b/docs/models/operations/getalllogdrainsresponsebody.md deleted file mode 100644 index 3b7c2d8a..00000000 --- a/docs/models/operations/getalllogdrainsresponsebody.md +++ /dev/null @@ -1,50 +0,0 @@ -# GetAllLogDrainsResponseBody - -## Example Usage - -```typescript -import { GetAllLogDrainsResponseBody } from "@vercel/sdk/models/operations/getalllogdrains.js"; - -let value: GetAllLogDrainsResponseBody = { - id: "", - deliveryFormat: "json", - url: "https://sunny-glider.name/", - name: "", - ownerId: "", - createdAt: 9835.55, - deletedAt: 15.95, - updatedAt: 1454.50, - environments: [ - "preview", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `deliveryFormat` | [operations.GetAllLogDrainsDeliveryFormat](../../models/operations/getalllogdrainsdeliveryformat.md) | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `clientId` | *string* | :heavy_minus_sign: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | -| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `deletedAt` | *number* | :heavy_check_mark: | N/A | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | -| `sources` | [operations.GetAllLogDrainsSources](../../models/operations/getalllogdrainssources.md)[] | :heavy_minus_sign: | N/A | -| `headers` | Record | :heavy_minus_sign: | N/A | -| `environments` | [operations.GetAllLogDrainsEnvironments](../../models/operations/getalllogdrainsenvironments.md)[] | :heavy_check_mark: | N/A | -| `status` | [operations.GetAllLogDrainsStatus](../../models/operations/getalllogdrainsstatus.md) | :heavy_minus_sign: | N/A | -| `disabledAt` | *number* | :heavy_minus_sign: | N/A | -| `disabledReason` | [operations.GetAllLogDrainsDisabledReason](../../models/operations/getalllogdrainsdisabledreason.md) | :heavy_minus_sign: | N/A | -| `disabledBy` | *string* | :heavy_minus_sign: | N/A | -| `firstErrorTimestamp` | *number* | :heavy_minus_sign: | N/A | -| `samplingRate` | *number* | :heavy_minus_sign: | N/A | -| `hideIpAddresses` | *boolean* | :heavy_minus_sign: | N/A | -| `secret` | *string* | :heavy_minus_sign: | N/A | -| `createdFrom` | [operations.GetAllLogDrainsCreatedFrom](../../models/operations/getalllogdrainscreatedfrom.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getalllogdrainssources.md b/docs/models/operations/getalllogdrainssources.md deleted file mode 100644 index f3eda86b..00000000 --- a/docs/models/operations/getalllogdrainssources.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetAllLogDrainsSources - -## Example Usage - -```typescript -import { GetAllLogDrainsSources } from "@vercel/sdk/models/operations/getalllogdrains.js"; - -let value: GetAllLogDrainsSources = "edge"; -``` - -## Values - -```typescript -"build" | "edge" | "lambda" | "static" | "external" | "firewall" -``` \ No newline at end of file diff --git a/docs/models/operations/getalllogdrainsstatus.md b/docs/models/operations/getalllogdrainsstatus.md deleted file mode 100644 index 0b6ac457..00000000 --- a/docs/models/operations/getalllogdrainsstatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetAllLogDrainsStatus - -## Example Usage - -```typescript -import { GetAllLogDrainsStatus } from "@vercel/sdk/models/operations/getalllogdrains.js"; - -let value: GetAllLogDrainsStatus = "disabled"; -``` - -## Values - -```typescript -"enabled" | "disabled" | "errored" -``` \ No newline at end of file diff --git a/docs/models/operations/getauthtokenresponsebody.md b/docs/models/operations/getauthtokenresponsebody.md deleted file mode 100644 index aba662a3..00000000 --- a/docs/models/operations/getauthtokenresponsebody.md +++ /dev/null @@ -1,27 +0,0 @@ -# GetAuthTokenResponseBody - -Successful response. - -## Example Usage - -```typescript -import { GetAuthTokenResponseBody } from "@vercel/sdk/models/operations/getauthtoken.js"; - -let value: GetAuthTokenResponseBody = { - token: { - id: "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", - name: "", - type: "oauth2-token", - origin: "github", - expiresAt: 1632816536002, - activeAt: 1632816536002, - createdAt: 1632816536002, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `token` | [components.AuthToken](../../models/components/authtoken.md) | :heavy_check_mark: | Authentication token metadata. | \ No newline at end of file diff --git a/docs/models/operations/getauthuserresponsebody.md b/docs/models/operations/getauthuserresponsebody.md deleted file mode 100644 index 9666c77a..00000000 --- a/docs/models/operations/getauthuserresponsebody.md +++ /dev/null @@ -1,28 +0,0 @@ -# GetAuthUserResponseBody - -Successful response. - -## Example Usage - -```typescript -import { GetAuthUserResponseBody } from "@vercel/sdk/models/operations/getauthuser.js"; - -let value: GetAuthUserResponseBody = { - user: { - limited: false, - id: "AEIIDYVk59zbFF2Sxfyxxmua", - email: "me@example.com", - name: "John Doe", - username: "jdoe", - avatar: "22cb30c85ff45ac4c72de8981500006b28114aa1", - defaultTeamId: "", - version: "northstar", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `user` | *operations.User* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcheckcheckssource.md b/docs/models/operations/getcheckcheckssource.md deleted file mode 100644 index 4929633b..00000000 --- a/docs/models/operations/getcheckcheckssource.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetCheckChecksSource - -## Example Usage - -```typescript -import { GetCheckChecksSource } from "@vercel/sdk/models/operations/getcheck.js"; - -let value: GetCheckChecksSource = "web-vitals"; -``` - -## Values - -```typescript -"web-vitals" -``` \ No newline at end of file diff --git a/docs/models/operations/getcheckcls.md b/docs/models/operations/getcheckcls.md deleted file mode 100644 index c7f91c23..00000000 --- a/docs/models/operations/getcheckcls.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetCheckCLS - -## Example Usage - -```typescript -import { GetCheckCLS } from "@vercel/sdk/models/operations/getcheck.js"; - -let value: GetCheckCLS = { - value: 2894.06, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.GetCheckChecksResponseSource](../../models/operations/getcheckchecksresponsesource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcheckconclusion.md b/docs/models/operations/getcheckconclusion.md deleted file mode 100644 index 58d5df03..00000000 --- a/docs/models/operations/getcheckconclusion.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetCheckConclusion - -## Example Usage - -```typescript -import { GetCheckConclusion } from "@vercel/sdk/models/operations/getcheck.js"; - -let value: GetCheckConclusion = "skipped"; -``` - -## Values - -```typescript -"canceled" | "failed" | "neutral" | "succeeded" | "skipped" | "stale" -``` \ No newline at end of file diff --git a/docs/models/operations/getcheckfcp.md b/docs/models/operations/getcheckfcp.md deleted file mode 100644 index 4cdea143..00000000 --- a/docs/models/operations/getcheckfcp.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetCheckFCP - -## Example Usage - -```typescript -import { GetCheckFCP } from "@vercel/sdk/models/operations/getcheck.js"; - -let value: GetCheckFCP = { - value: 1317.98, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.GetCheckSource](../../models/operations/getchecksource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getchecklcp.md b/docs/models/operations/getchecklcp.md deleted file mode 100644 index 75d2f7a1..00000000 --- a/docs/models/operations/getchecklcp.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetCheckLCP - -## Example Usage - -```typescript -import { GetCheckLCP } from "@vercel/sdk/models/operations/getcheck.js"; - -let value: GetCheckLCP = { - value: 7163.27, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.GetCheckChecksSource](../../models/operations/getcheckcheckssource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcheckmetrics.md b/docs/models/operations/getcheckmetrics.md deleted file mode 100644 index ff11997c..00000000 --- a/docs/models/operations/getcheckmetrics.md +++ /dev/null @@ -1,36 +0,0 @@ -# GetCheckMetrics - -## Example Usage - -```typescript -import { GetCheckMetrics } from "@vercel/sdk/models/operations/getcheck.js"; - -let value: GetCheckMetrics = { - fcp: { - value: 201.08, - source: "web-vitals", - }, - lcp: { - value: 8289.40, - source: "web-vitals", - }, - cls: { - value: 46.95, - source: "web-vitals", - }, - tbt: { - value: 6778.17, - source: "web-vitals", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `fcp` | [operations.GetCheckFCP](../../models/operations/getcheckfcp.md) | :heavy_check_mark: | N/A | -| `lcp` | [operations.GetCheckLCP](../../models/operations/getchecklcp.md) | :heavy_check_mark: | N/A | -| `cls` | [operations.GetCheckCLS](../../models/operations/getcheckcls.md) | :heavy_check_mark: | N/A | -| `tbt` | [operations.GetCheckTBT](../../models/operations/getchecktbt.md) | :heavy_check_mark: | N/A | -| `virtualExperienceScore` | [operations.GetCheckVirtualExperienceScore](../../models/operations/getcheckvirtualexperiencescore.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcheckoutput.md b/docs/models/operations/getcheckoutput.md deleted file mode 100644 index 952f1dad..00000000 --- a/docs/models/operations/getcheckoutput.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetCheckOutput - -## Example Usage - -```typescript -import { GetCheckOutput } from "@vercel/sdk/models/operations/getcheck.js"; - -let value: GetCheckOutput = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `metrics` | [operations.GetCheckMetrics](../../models/operations/getcheckmetrics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcheckresponsebody.md b/docs/models/operations/getcheckresponsebody.md deleted file mode 100644 index 0555848c..00000000 --- a/docs/models/operations/getcheckresponsebody.md +++ /dev/null @@ -1,39 +0,0 @@ -# GetCheckResponseBody - -## Example Usage - -```typescript -import { GetCheckResponseBody } from "@vercel/sdk/models/operations/getcheck.js"; - -let value: GetCheckResponseBody = { - id: "", - name: "", - status: "registered", - blocking: false, - integrationId: "", - deploymentId: "", - createdAt: 7351.94, - updatedAt: 9621.89, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `path` | *string* | :heavy_minus_sign: | N/A | -| `status` | [operations.GetCheckStatus](../../models/operations/getcheckstatus.md) | :heavy_check_mark: | N/A | -| `conclusion` | [operations.GetCheckConclusion](../../models/operations/getcheckconclusion.md) | :heavy_minus_sign: | N/A | -| `blocking` | *boolean* | :heavy_check_mark: | N/A | -| `output` | [operations.GetCheckOutput](../../models/operations/getcheckoutput.md) | :heavy_minus_sign: | N/A | -| `detailsUrl` | *string* | :heavy_minus_sign: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `deploymentId` | *string* | :heavy_check_mark: | N/A | -| `externalId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | -| `startedAt` | *number* | :heavy_minus_sign: | N/A | -| `completedAt` | *number* | :heavy_minus_sign: | N/A | -| `rerequestable` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getchecksource.md b/docs/models/operations/getchecksource.md deleted file mode 100644 index 5293bcb2..00000000 --- a/docs/models/operations/getchecksource.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetCheckSource - -## Example Usage - -```typescript -import { GetCheckSource } from "@vercel/sdk/models/operations/getcheck.js"; - -let value: GetCheckSource = "web-vitals"; -``` - -## Values - -```typescript -"web-vitals" -``` \ No newline at end of file diff --git a/docs/models/operations/getcheckstatus.md b/docs/models/operations/getcheckstatus.md deleted file mode 100644 index 0f3464ab..00000000 --- a/docs/models/operations/getcheckstatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetCheckStatus - -## Example Usage - -```typescript -import { GetCheckStatus } from "@vercel/sdk/models/operations/getcheck.js"; - -let value: GetCheckStatus = "registered"; -``` - -## Values - -```typescript -"registered" | "running" | "completed" -``` \ No newline at end of file diff --git a/docs/models/operations/getchecktbt.md b/docs/models/operations/getchecktbt.md deleted file mode 100644 index 0a318ca2..00000000 --- a/docs/models/operations/getchecktbt.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetCheckTBT - -## Example Usage - -```typescript -import { GetCheckTBT } from "@vercel/sdk/models/operations/getcheck.js"; - -let value: GetCheckTBT = { - value: 1831.91, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.GetCheckChecksResponse200Source](../../models/operations/getcheckchecksresponse200source.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcheckvirtualexperiencescore.md b/docs/models/operations/getcheckvirtualexperiencescore.md deleted file mode 100644 index b23d9dc4..00000000 --- a/docs/models/operations/getcheckvirtualexperiencescore.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetCheckVirtualExperienceScore - -## Example Usage - -```typescript -import { GetCheckVirtualExperienceScore } from "@vercel/sdk/models/operations/getcheck.js"; - -let value: GetCheckVirtualExperienceScore = { - value: 5865.13, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.GetCheckChecksResponse200ApplicationJSONSource](../../models/operations/getcheckchecksresponse200applicationjsonsource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getconfigurablelogdrainenvironments.md b/docs/models/operations/getconfigurablelogdrainenvironments.md deleted file mode 100644 index 6966bc09..00000000 --- a/docs/models/operations/getconfigurablelogdrainenvironments.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetConfigurableLogDrainEnvironments - -## Example Usage - -```typescript -import { GetConfigurableLogDrainEnvironments } from "@vercel/sdk/models/operations/getconfigurablelogdrain.js"; - -let value: GetConfigurableLogDrainEnvironments = "production"; -``` - -## Values - -```typescript -"production" | "preview" -``` \ No newline at end of file diff --git a/docs/models/operations/getconfigurablelogdrainresponsebody.md b/docs/models/operations/getconfigurablelogdrainresponsebody.md deleted file mode 100644 index 57509b2e..00000000 --- a/docs/models/operations/getconfigurablelogdrainresponsebody.md +++ /dev/null @@ -1,51 +0,0 @@ -# GetConfigurableLogDrainResponseBody - -## Example Usage - -```typescript -import { GetConfigurableLogDrainResponseBody } from "@vercel/sdk/models/operations/getconfigurablelogdrain.js"; - -let value: GetConfigurableLogDrainResponseBody = { - id: "", - deliveryFormat: "json", - url: "https://appropriate-airman.biz/", - name: "", - ownerId: "", - createdAt: 4618.53, - deletedAt: 7262.43, - updatedAt: 4748.72, - environments: [ - "preview", - ], - secret: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `deliveryFormat` | [operations.GetConfigurableLogDrainDeliveryFormat](../../models/operations/getconfigurablelogdraindeliveryformat.md) | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `clientId` | *string* | :heavy_minus_sign: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | -| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `deletedAt` | *number* | :heavy_check_mark: | N/A | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | -| `sources` | [operations.GetConfigurableLogDrainSources](../../models/operations/getconfigurablelogdrainsources.md)[] | :heavy_minus_sign: | N/A | -| `headers` | Record | :heavy_minus_sign: | N/A | -| `environments` | [operations.GetConfigurableLogDrainEnvironments](../../models/operations/getconfigurablelogdrainenvironments.md)[] | :heavy_check_mark: | N/A | -| `status` | [operations.GetConfigurableLogDrainStatus](../../models/operations/getconfigurablelogdrainstatus.md) | :heavy_minus_sign: | N/A | -| `disabledAt` | *number* | :heavy_minus_sign: | N/A | -| `disabledReason` | [operations.DisabledReason](../../models/operations/disabledreason.md) | :heavy_minus_sign: | N/A | -| `disabledBy` | *string* | :heavy_minus_sign: | N/A | -| `firstErrorTimestamp` | *number* | :heavy_minus_sign: | N/A | -| `samplingRate` | *number* | :heavy_minus_sign: | N/A | -| `hideIpAddresses` | *boolean* | :heavy_minus_sign: | N/A | -| `secret` | *string* | :heavy_check_mark: | N/A | -| `createdFrom` | [operations.GetConfigurableLogDrainCreatedFrom](../../models/operations/getconfigurablelogdraincreatedfrom.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getconfigurablelogdrainsources.md b/docs/models/operations/getconfigurablelogdrainsources.md deleted file mode 100644 index e1c8408e..00000000 --- a/docs/models/operations/getconfigurablelogdrainsources.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetConfigurableLogDrainSources - -## Example Usage - -```typescript -import { GetConfigurableLogDrainSources } from "@vercel/sdk/models/operations/getconfigurablelogdrain.js"; - -let value: GetConfigurableLogDrainSources = "edge"; -``` - -## Values - -```typescript -"build" | "edge" | "lambda" | "static" | "external" | "firewall" -``` \ No newline at end of file diff --git a/docs/models/operations/getconfigurablelogdrainstatus.md b/docs/models/operations/getconfigurablelogdrainstatus.md deleted file mode 100644 index ff96c172..00000000 --- a/docs/models/operations/getconfigurablelogdrainstatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetConfigurableLogDrainStatus - -## Example Usage - -```typescript -import { GetConfigurableLogDrainStatus } from "@vercel/sdk/models/operations/getconfigurablelogdrain.js"; - -let value: GetConfigurableLogDrainStatus = "disabled"; -``` - -## Values - -```typescript -"enabled" | "disabled" | "errored" -``` \ No newline at end of file diff --git a/docs/models/operations/getconfigurationresponsebodybillingplan.md b/docs/models/operations/getconfigurationresponsebodybillingplan.md deleted file mode 100644 index 7e8b0177..00000000 --- a/docs/models/operations/getconfigurationresponsebodybillingplan.md +++ /dev/null @@ -1,31 +0,0 @@ -# GetConfigurationResponseBodyBillingPlan - -## Example Usage - -```typescript -import { GetConfigurationResponseBodyBillingPlan } from "@vercel/sdk/models/operations/getconfiguration.js"; - -let value: GetConfigurationResponseBodyBillingPlan = { - id: "", - type: "prepayment", - name: "", - description: "across wherever yowza ick moralise", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `type` | [operations.GetConfigurationResponseBodyIntegrationsResponseType](../../models/operations/getconfigurationresponsebodyintegrationsresponsetype.md) | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.GetConfigurationResponseBodyScope](../../models/operations/getconfigurationresponsebodyscope.md) | :heavy_minus_sign: | N/A | -| `description` | *string* | :heavy_check_mark: | N/A | -| `paymentMethodRequired` | *boolean* | :heavy_minus_sign: | N/A | -| `preauthorizationAmount` | *number* | :heavy_minus_sign: | N/A | -| `cost` | *string* | :heavy_minus_sign: | N/A | -| `details` | [operations.GetConfigurationResponseBodyDetails](../../models/operations/getconfigurationresponsebodydetails.md)[] | :heavy_minus_sign: | N/A | -| `heightlightedDetails` | [operations.GetConfigurationResponseBodyHeightlightedDetails](../../models/operations/getconfigurationresponsebodyheightlighteddetails.md)[] | :heavy_minus_sign: | N/A | -| `quote` | [operations.GetConfigurationResponseBodyQuote](../../models/operations/getconfigurationresponsebodyquote.md)[] | :heavy_minus_sign: | N/A | -| `effectiveDate` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getconfigurationresponsebodydisabledreason.md b/docs/models/operations/getconfigurationresponsebodydisabledreason.md deleted file mode 100644 index 95b30c5e..00000000 --- a/docs/models/operations/getconfigurationresponsebodydisabledreason.md +++ /dev/null @@ -1,16 +0,0 @@ -# GetConfigurationResponseBodyDisabledReason - -## Example Usage - -```typescript -import { GetConfigurationResponseBodyDisabledReason } from "@vercel/sdk/models/operations/getconfiguration.js"; - -let value: GetConfigurationResponseBodyDisabledReason = - "original-owner-role-downgraded"; -``` - -## Values - -```typescript -"disabled-by-owner" | "feature-not-available" | "disabled-by-admin" | "original-owner-left-the-team" | "account-plan-downgrade" | "original-owner-role-downgraded" -``` \ No newline at end of file diff --git a/docs/models/operations/getconfigurationresponsebodyscope.md b/docs/models/operations/getconfigurationresponsebodyscope.md deleted file mode 100644 index 2661a6df..00000000 --- a/docs/models/operations/getconfigurationresponsebodyscope.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetConfigurationResponseBodyScope - -## Example Usage - -```typescript -import { GetConfigurationResponseBodyScope } from "@vercel/sdk/models/operations/getconfiguration.js"; - -let value: GetConfigurationResponseBodyScope = "installation"; -``` - -## Values - -```typescript -"installation" | "resource" -``` \ No newline at end of file diff --git a/docs/models/operations/getconfigurationsrequest.md b/docs/models/operations/getconfigurationsrequest.md deleted file mode 100644 index 05327956..00000000 --- a/docs/models/operations/getconfigurationsrequest.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetConfigurationsRequest - -## Example Usage - -```typescript -import { GetConfigurationsRequest } from "@vercel/sdk/models/operations/getconfigurations.js"; - -let value: GetConfigurationsRequest = { - view: "project", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `view` | [operations.View](../../models/operations/view.md) | :heavy_check_mark: | N/A | -| `installationType` | [operations.InstallationType](../../models/operations/installationtype.md) | :heavy_minus_sign: | N/A | -| `integrationIdOrSlug` | *string* | :heavy_minus_sign: | ID of the integration | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentflags1.md b/docs/models/operations/getdeploymentflags1.md deleted file mode 100644 index 9ecb4882..00000000 --- a/docs/models/operations/getdeploymentflags1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetDeploymentFlags1 - -Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. - -## Example Usage - -```typescript -import { GetDeploymentFlags1 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentFlags1 = { - definitions: {}, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `definitions` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentflagsdefinitions.md b/docs/models/operations/getdeploymentflagsdefinitions.md deleted file mode 100644 index eef3d206..00000000 --- a/docs/models/operations/getdeploymentflagsdefinitions.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetDeploymentFlagsDefinitions - -## Example Usage - -```typescript -import { GetDeploymentFlagsDefinitions } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentFlagsDefinitions = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `options` | [operations.GetDeploymentFlagsOptions](../../models/operations/getdeploymentflagsoptions.md)[] | :heavy_minus_sign: | N/A | -| `url` | *string* | :heavy_minus_sign: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentflagsoptions.md b/docs/models/operations/getdeploymentflagsoptions.md deleted file mode 100644 index bf0979f3..00000000 --- a/docs/models/operations/getdeploymentflagsoptions.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetDeploymentFlagsOptions - -## Example Usage - -```typescript -import { GetDeploymentFlagsOptions } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentFlagsOptions = { - value: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------- | -------------------------- | -------------------------- | -------------------------- | -| `value` | *components.FlagJSONValue* | :heavy_check_mark: | N/A | -| `label` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitrepo1.md b/docs/models/operations/getdeploymentgitrepo1.md deleted file mode 100644 index ad773cb5..00000000 --- a/docs/models/operations/getdeploymentgitrepo1.md +++ /dev/null @@ -1,33 +0,0 @@ -# GetDeploymentGitRepo1 - -## Example Usage - -```typescript -import { GetDeploymentGitRepo1 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitRepo1 = { - namespace: "", - projectId: 5024.53, - type: "gitlab", - url: "https://creamy-saloon.name/", - path: "/var/tmp", - defaultBranch: "", - name: "", - private: false, - ownerType: "user", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `namespace` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *number* | :heavy_check_mark: | N/A | -| `type` | [operations.GetDeploymentGitRepoDeploymentsResponseType](../../models/operations/getdeploymentgitrepodeploymentsresponsetype.md) | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | -| `path` | *string* | :heavy_check_mark: | N/A | -| `defaultBranch` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `private` | *boolean* | :heavy_check_mark: | N/A | -| `ownerType` | [operations.GetDeploymentGitRepoDeploymentsOwnerType](../../models/operations/getdeploymentgitrepodeploymentsownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitrepo2.md b/docs/models/operations/getdeploymentgitrepo2.md deleted file mode 100644 index ac025ba5..00000000 --- a/docs/models/operations/getdeploymentgitrepo2.md +++ /dev/null @@ -1,35 +0,0 @@ -# GetDeploymentGitRepo2 - -## Example Usage - -```typescript -import { GetDeploymentGitRepo2 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitRepo2 = { - org: "", - repo: "", - repoId: 411.80, - type: "github", - repoOwnerId: 8164.21, - path: "/usr/local/src", - defaultBranch: "", - name: "", - private: false, - ownerType: "team", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `org` | *string* | :heavy_check_mark: | N/A | -| `repo` | *string* | :heavy_check_mark: | N/A | -| `repoId` | *number* | :heavy_check_mark: | N/A | -| `type` | [operations.GetDeploymentGitRepoType](../../models/operations/getdeploymentgitrepotype.md) | :heavy_check_mark: | N/A | -| `repoOwnerId` | *number* | :heavy_check_mark: | N/A | -| `path` | *string* | :heavy_check_mark: | N/A | -| `defaultBranch` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `private` | *boolean* | :heavy_check_mark: | N/A | -| `ownerType` | [operations.GetDeploymentGitRepoDeploymentsResponseOwnerType](../../models/operations/getdeploymentgitrepodeploymentsresponseownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitrepo3.md b/docs/models/operations/getdeploymentgitrepo3.md deleted file mode 100644 index 2b731f94..00000000 --- a/docs/models/operations/getdeploymentgitrepo3.md +++ /dev/null @@ -1,35 +0,0 @@ -# GetDeploymentGitRepo3 - -## Example Usage - -```typescript -import { GetDeploymentGitRepo3 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitRepo3 = { - owner: "", - repoUuid: "", - slug: "", - type: "bitbucket", - workspaceUuid: "", - path: "/usr/local/src", - defaultBranch: "", - name: "", - private: false, - ownerType: "team", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `owner` | *string* | :heavy_check_mark: | N/A | -| `repoUuid` | *string* | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `type` | [operations.GetDeploymentGitRepoDeploymentsType](../../models/operations/getdeploymentgitrepodeploymentstype.md) | :heavy_check_mark: | N/A | -| `workspaceUuid` | *string* | :heavy_check_mark: | N/A | -| `path` | *string* | :heavy_check_mark: | N/A | -| `defaultBranch` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `private` | *boolean* | :heavy_check_mark: | N/A | -| `ownerType` | [operations.GetDeploymentGitRepoOwnerType](../../models/operations/getdeploymentgitrepoownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitrepotype.md b/docs/models/operations/getdeploymentgitrepotype.md deleted file mode 100644 index 8b27e6cb..00000000 --- a/docs/models/operations/getdeploymentgitrepotype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetDeploymentGitRepoType - -## Example Usage - -```typescript -import { GetDeploymentGitRepoType } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitRepoType = "github"; -``` - -## Values - -```typescript -"github" -``` \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsource1.md b/docs/models/operations/getdeploymentgitsource1.md deleted file mode 100644 index 4707f6ce..00000000 --- a/docs/models/operations/getdeploymentgitsource1.md +++ /dev/null @@ -1,22 +0,0 @@ -# GetDeploymentGitSource1 - -## Example Usage - -```typescript -import { GetDeploymentGitSource1 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSource1 = { - type: "github", - repoId: 3304.41, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type](../../models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody2type.md) | :heavy_check_mark: | N/A | -| `repoId` | *operations.GetDeploymentGitSourceDeploymentsRepoId* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsource2.md b/docs/models/operations/getdeploymentgitsource2.md deleted file mode 100644 index b30c9139..00000000 --- a/docs/models/operations/getdeploymentgitsource2.md +++ /dev/null @@ -1,24 +0,0 @@ -# GetDeploymentGitSource2 - -## Example Usage - -```typescript -import { GetDeploymentGitSource2 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSource2 = { - type: "github", - org: "", - repo: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type](../../models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody22type.md) | :heavy_check_mark: | N/A | -| `org` | *string* | :heavy_check_mark: | N/A | -| `repo` | *string* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsource3.md b/docs/models/operations/getdeploymentgitsource3.md deleted file mode 100644 index dcb79f9b..00000000 --- a/docs/models/operations/getdeploymentgitsource3.md +++ /dev/null @@ -1,22 +0,0 @@ -# GetDeploymentGitSource3 - -## Example Usage - -```typescript -import { GetDeploymentGitSource3 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSource3 = { - type: "gitlab", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type](../../models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody23type.md) | :heavy_check_mark: | N/A | -| `projectId` | *operations.GetDeploymentGitSourceDeploymentsProjectId* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsource4.md b/docs/models/operations/getdeploymentgitsource4.md deleted file mode 100644 index ddeb2d29..00000000 --- a/docs/models/operations/getdeploymentgitsource4.md +++ /dev/null @@ -1,23 +0,0 @@ -# GetDeploymentGitSource4 - -## Example Usage - -```typescript -import { GetDeploymentGitSource4 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSource4 = { - type: "bitbucket", - repoUuid: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type](../../models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody24type.md) | :heavy_check_mark: | N/A | -| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | -| `repoUuid` | *string* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsource5.md b/docs/models/operations/getdeploymentgitsource5.md deleted file mode 100644 index a42173b5..00000000 --- a/docs/models/operations/getdeploymentgitsource5.md +++ /dev/null @@ -1,24 +0,0 @@ -# GetDeploymentGitSource5 - -## Example Usage - -```typescript -import { GetDeploymentGitSource5 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSource5 = { - type: "bitbucket", - owner: "", - slug: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type](../../models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody25type.md) | :heavy_check_mark: | N/A | -| `owner` | *string* | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsource6.md b/docs/models/operations/getdeploymentgitsource6.md deleted file mode 100644 index 5056337e..00000000 --- a/docs/models/operations/getdeploymentgitsource6.md +++ /dev/null @@ -1,25 +0,0 @@ -# GetDeploymentGitSource6 - -Allows custom git sources (local folder mounted to the container) in test mode - -## Example Usage - -```typescript -import { GetDeploymentGitSource6 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSource6 = { - type: "custom", - ref: "", - sha: "", - gitUrl: "https://wretched-newsprint.com", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type](../../models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody26type.md) | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `gitUrl` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsource7.md b/docs/models/operations/getdeploymentgitsource7.md deleted file mode 100644 index 7005dbbd..00000000 --- a/docs/models/operations/getdeploymentgitsource7.md +++ /dev/null @@ -1,25 +0,0 @@ -# GetDeploymentGitSource7 - -## Example Usage - -```typescript -import { GetDeploymentGitSource7 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSource7 = { - type: "github", - ref: "", - sha: "", - repoId: 6308.32, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type](../../models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody27type.md) | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `repoId` | *number* | :heavy_check_mark: | N/A | -| `org` | *string* | :heavy_minus_sign: | N/A | -| `repo` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsource8.md b/docs/models/operations/getdeploymentgitsource8.md deleted file mode 100644 index d19b011d..00000000 --- a/docs/models/operations/getdeploymentgitsource8.md +++ /dev/null @@ -1,23 +0,0 @@ -# GetDeploymentGitSource8 - -## Example Usage - -```typescript -import { GetDeploymentGitSource8 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSource8 = { - type: "gitlab", - ref: "", - sha: "", - projectId: 1105.22, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type](../../models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody28type.md) | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsource9.md b/docs/models/operations/getdeploymentgitsource9.md deleted file mode 100644 index c23c2a93..00000000 --- a/docs/models/operations/getdeploymentgitsource9.md +++ /dev/null @@ -1,27 +0,0 @@ -# GetDeploymentGitSource9 - -## Example Usage - -```typescript -import { GetDeploymentGitSource9 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSource9 = { - type: "bitbucket", - ref: "", - sha: "", - workspaceUuid: "", - repoUuid: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type](../../models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody29type.md) | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `owner` | *string* | :heavy_minus_sign: | N/A | -| `slug` | *string* | :heavy_minus_sign: | N/A | -| `workspaceUuid` | *string* | :heavy_check_mark: | N/A | -| `repoUuid` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsourcedeployments1.md b/docs/models/operations/getdeploymentgitsourcedeployments1.md deleted file mode 100644 index 4f78ac2d..00000000 --- a/docs/models/operations/getdeploymentgitsourcedeployments1.md +++ /dev/null @@ -1,22 +0,0 @@ -# GetDeploymentGitSourceDeployments1 - -## Example Usage - -```typescript -import { GetDeploymentGitSourceDeployments1 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSourceDeployments1 = { - type: "github", - repoId: 1355.48, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type](../../models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody11type.md) | :heavy_check_mark: | N/A | -| `repoId` | *operations.GetDeploymentGitSourceRepoId* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsourcedeployments2.md b/docs/models/operations/getdeploymentgitsourcedeployments2.md deleted file mode 100644 index 412440e9..00000000 --- a/docs/models/operations/getdeploymentgitsourcedeployments2.md +++ /dev/null @@ -1,24 +0,0 @@ -# GetDeploymentGitSourceDeployments2 - -## Example Usage - -```typescript -import { GetDeploymentGitSourceDeployments2 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSourceDeployments2 = { - type: "github", - org: "", - repo: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentGitSourceType](../../models/operations/getdeploymentgitsourcetype.md) | :heavy_check_mark: | N/A | -| `org` | *string* | :heavy_check_mark: | N/A | -| `repo` | *string* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsourcedeployments3.md b/docs/models/operations/getdeploymentgitsourcedeployments3.md deleted file mode 100644 index bcf6162e..00000000 --- a/docs/models/operations/getdeploymentgitsourcedeployments3.md +++ /dev/null @@ -1,22 +0,0 @@ -# GetDeploymentGitSourceDeployments3 - -## Example Usage - -```typescript -import { GetDeploymentGitSourceDeployments3 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSourceDeployments3 = { - type: "gitlab", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentGitSourceDeploymentsType](../../models/operations/getdeploymentgitsourcedeploymentstype.md) | :heavy_check_mark: | N/A | -| `projectId` | *operations.GetDeploymentGitSourceProjectId* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsourcedeployments4.md b/docs/models/operations/getdeploymentgitsourcedeployments4.md deleted file mode 100644 index 792c5e63..00000000 --- a/docs/models/operations/getdeploymentgitsourcedeployments4.md +++ /dev/null @@ -1,23 +0,0 @@ -# GetDeploymentGitSourceDeployments4 - -## Example Usage - -```typescript -import { GetDeploymentGitSourceDeployments4 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSourceDeployments4 = { - type: "bitbucket", - repoUuid: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.GetDeploymentGitSourceDeploymentsResponseType](../../models/operations/getdeploymentgitsourcedeploymentsresponsetype.md) | :heavy_check_mark: | N/A | -| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | -| `repoUuid` | *string* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsourcedeployments5.md b/docs/models/operations/getdeploymentgitsourcedeployments5.md deleted file mode 100644 index 7369b7e8..00000000 --- a/docs/models/operations/getdeploymentgitsourcedeployments5.md +++ /dev/null @@ -1,24 +0,0 @@ -# GetDeploymentGitSourceDeployments5 - -## Example Usage - -```typescript -import { GetDeploymentGitSourceDeployments5 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSourceDeployments5 = { - type: "bitbucket", - owner: "", - slug: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.GetDeploymentGitSourceDeploymentsResponse200Type](../../models/operations/getdeploymentgitsourcedeploymentsresponse200type.md) | :heavy_check_mark: | N/A | -| `owner` | *string* | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsourcedeployments6.md b/docs/models/operations/getdeploymentgitsourcedeployments6.md deleted file mode 100644 index 1e12af48..00000000 --- a/docs/models/operations/getdeploymentgitsourcedeployments6.md +++ /dev/null @@ -1,25 +0,0 @@ -# GetDeploymentGitSourceDeployments6 - -Allows custom git sources (local folder mounted to the container) in test mode - -## Example Usage - -```typescript -import { GetDeploymentGitSourceDeployments6 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSourceDeployments6 = { - type: "custom", - ref: "", - sha: "", - gitUrl: "https://low-mortise.org/", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType](../../models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `gitUrl` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsourcedeployments7.md b/docs/models/operations/getdeploymentgitsourcedeployments7.md deleted file mode 100644 index dc9b8a7d..00000000 --- a/docs/models/operations/getdeploymentgitsourcedeployments7.md +++ /dev/null @@ -1,25 +0,0 @@ -# GetDeploymentGitSourceDeployments7 - -## Example Usage - -```typescript -import { GetDeploymentGitSourceDeployments7 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSourceDeployments7 = { - type: "github", - ref: "", - sha: "", - repoId: 2991.54, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType](../../models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `repoId` | *number* | :heavy_check_mark: | N/A | -| `org` | *string* | :heavy_minus_sign: | N/A | -| `repo` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsourcedeployments8.md b/docs/models/operations/getdeploymentgitsourcedeployments8.md deleted file mode 100644 index 24b5aa25..00000000 --- a/docs/models/operations/getdeploymentgitsourcedeployments8.md +++ /dev/null @@ -1,23 +0,0 @@ -# GetDeploymentGitSourceDeployments8 - -## Example Usage - -```typescript -import { GetDeploymentGitSourceDeployments8 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSourceDeployments8 = { - type: "gitlab", - ref: "", - sha: "", - projectId: 9234.56, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type](../../models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody1type.md) | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsourcedeployments9.md b/docs/models/operations/getdeploymentgitsourcedeployments9.md deleted file mode 100644 index 5a9d089a..00000000 --- a/docs/models/operations/getdeploymentgitsourcedeployments9.md +++ /dev/null @@ -1,27 +0,0 @@ -# GetDeploymentGitSourceDeployments9 - -## Example Usage - -```typescript -import { GetDeploymentGitSourceDeployments9 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSourceDeployments9 = { - type: "bitbucket", - ref: "", - sha: "", - workspaceUuid: "", - repoUuid: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type](../../models/operations/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody19type.md) | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `owner` | *string* | :heavy_minus_sign: | N/A | -| `slug` | *string* | :heavy_minus_sign: | N/A | -| `workspaceUuid` | *string* | :heavy_check_mark: | N/A | -| `repoUuid` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentgitsourcetype.md b/docs/models/operations/getdeploymentgitsourcetype.md deleted file mode 100644 index 7bebd146..00000000 --- a/docs/models/operations/getdeploymentgitsourcetype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetDeploymentGitSourceType - -## Example Usage - -```typescript -import { GetDeploymentGitSourceType } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentGitSourceType = "github"; -``` - -## Values - -```typescript -"github" -``` \ No newline at end of file diff --git a/docs/models/operations/getdeploymenthas1.md b/docs/models/operations/getdeploymenthas1.md deleted file mode 100644 index 56abf061..00000000 --- a/docs/models/operations/getdeploymenthas1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetDeploymentHas1 - -## Example Usage - -```typescript -import { GetDeploymentHas1 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentHas1 = { - type: "host", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentHasDeploymentsType](../../models/operations/getdeploymenthasdeploymentstype.md) | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymenthas2.md b/docs/models/operations/getdeploymenthas2.md deleted file mode 100644 index 24989f33..00000000 --- a/docs/models/operations/getdeploymenthas2.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetDeploymentHas2 - -## Example Usage - -```typescript -import { GetDeploymentHas2 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentHas2 = { - type: "cookie", - key: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentHasType](../../models/operations/getdeploymenthastype.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymenthastype.md b/docs/models/operations/getdeploymenthastype.md deleted file mode 100644 index a84e4d32..00000000 --- a/docs/models/operations/getdeploymenthastype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetDeploymentHasType - -## Example Usage - -```typescript -import { GetDeploymentHasType } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentHasType = "header"; -``` - -## Values - -```typescript -"header" | "cookie" | "query" -``` \ No newline at end of file diff --git a/docs/models/operations/getdeploymentmissing1.md b/docs/models/operations/getdeploymentmissing1.md deleted file mode 100644 index 896d8094..00000000 --- a/docs/models/operations/getdeploymentmissing1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetDeploymentMissing1 - -## Example Usage - -```typescript -import { GetDeploymentMissing1 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentMissing1 = { - type: "host", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetDeploymentMissingDeploymentsType](../../models/operations/getdeploymentmissingdeploymentstype.md) | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentmissing2.md b/docs/models/operations/getdeploymentmissing2.md deleted file mode 100644 index 7bb68b8e..00000000 --- a/docs/models/operations/getdeploymentmissing2.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetDeploymentMissing2 - -## Example Usage - -```typescript -import { GetDeploymentMissing2 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentMissing2 = { - type: "query", - key: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `type` | [operations.GetDeploymentMissingType](../../models/operations/getdeploymentmissingtype.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentmissingtype.md b/docs/models/operations/getdeploymentmissingtype.md deleted file mode 100644 index f50815d5..00000000 --- a/docs/models/operations/getdeploymentmissingtype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetDeploymentMissingType - -## Example Usage - -```typescript -import { GetDeploymentMissingType } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentMissingType = "query"; -``` - -## Values - -```typescript -"header" | "cookie" | "query" -``` \ No newline at end of file diff --git a/docs/models/operations/getdeploymentresponsebodycustomenvironment.md b/docs/models/operations/getdeploymentresponsebodycustomenvironment.md deleted file mode 100644 index 40a9b4fb..00000000 --- a/docs/models/operations/getdeploymentresponsebodycustomenvironment.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetDeploymentResponseBodyCustomEnvironment - - -## Supported Types - -### `operations.GetDeploymentCustomEnvironmentDeployments1` - -```typescript -const value: operations.GetDeploymentCustomEnvironmentDeployments1 = {}; -``` - -### `operations.GetDeploymentCustomEnvironmentDeployments2` - -```typescript -const value: operations.GetDeploymentCustomEnvironmentDeployments2 = { - id: "", -}; -``` - diff --git a/docs/models/operations/getdeploymentresponsebodygitsource.md b/docs/models/operations/getdeploymentresponsebodygitsource.md deleted file mode 100644 index 6af91267..00000000 --- a/docs/models/operations/getdeploymentresponsebodygitsource.md +++ /dev/null @@ -1,97 +0,0 @@ -# GetDeploymentResponseBodyGitSource - - -## Supported Types - -### `operations.GetDeploymentGitSourceDeployments1` - -```typescript -const value: operations.GetDeploymentGitSourceDeployments1 = { - type: "github", - repoId: 9253.95, -}; -``` - -### `operations.GetDeploymentGitSourceDeployments2` - -```typescript -const value: operations.GetDeploymentGitSourceDeployments2 = { - type: "github", - org: "", - repo: "", -}; -``` - -### `operations.GetDeploymentGitSourceDeployments3` - -```typescript -const value: operations.GetDeploymentGitSourceDeployments3 = { - type: "gitlab", - projectId: 4230.54, -}; -``` - -### `operations.GetDeploymentGitSourceDeployments4` - -```typescript -const value: operations.GetDeploymentGitSourceDeployments4 = { - type: "bitbucket", - repoUuid: "", -}; -``` - -### `operations.GetDeploymentGitSourceDeployments5` - -```typescript -const value: operations.GetDeploymentGitSourceDeployments5 = { - type: "bitbucket", - owner: "", - slug: "", -}; -``` - -### `operations.GetDeploymentGitSourceDeployments6` - -```typescript -const value: operations.GetDeploymentGitSourceDeployments6 = { - type: "custom", - ref: "", - sha: "", - gitUrl: "https://hidden-printer.name/", -}; -``` - -### `operations.GetDeploymentGitSourceDeployments7` - -```typescript -const value: operations.GetDeploymentGitSourceDeployments7 = { - type: "github", - ref: "", - sha: "", - repoId: 9279.76, -}; -``` - -### `operations.GetDeploymentGitSourceDeployments8` - -```typescript -const value: operations.GetDeploymentGitSourceDeployments8 = { - type: "gitlab", - ref: "", - sha: "", - projectId: 8668.61, -}; -``` - -### `operations.GetDeploymentGitSourceDeployments9` - -```typescript -const value: operations.GetDeploymentGitSourceDeployments9 = { - type: "bitbucket", - ref: "", - sha: "", - workspaceUuid: "", - repoUuid: "", -}; -``` - diff --git a/docs/models/operations/getdeploymentresponsebodylambdas.md b/docs/models/operations/getdeploymentresponsebodylambdas.md deleted file mode 100644 index 420404f5..00000000 --- a/docs/models/operations/getdeploymentresponsebodylambdas.md +++ /dev/null @@ -1,29 +0,0 @@ -# GetDeploymentResponseBodyLambdas - -A partial representation of a Build used by the deployment endpoint. - -## Example Usage - -```typescript -import { GetDeploymentResponseBodyLambdas } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentResponseBodyLambdas = { - output: [ - { - path: "/etc/defaults", - functionName: "", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `entrypoint` | *string* | :heavy_minus_sign: | N/A | -| `readyState` | [operations.GetDeploymentResponseBodyDeploymentsResponseReadyState](../../models/operations/getdeploymentresponsebodydeploymentsresponsereadystate.md) | :heavy_minus_sign: | N/A | -| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | -| `output` | [operations.ResponseBodyOutput](../../models/operations/responsebodyoutput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentroutes2.md b/docs/models/operations/getdeploymentroutes2.md deleted file mode 100644 index 0acfcf8b..00000000 --- a/docs/models/operations/getdeploymentroutes2.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetDeploymentRoutes2 - -## Example Usage - -```typescript -import { GetDeploymentRoutes2 } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentRoutes2 = { - handle: "filesystem", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `handle` | [operations.GetDeploymentRoutesHandle](../../models/operations/getdeploymentrouteshandle.md) | :heavy_check_mark: | N/A | -| `src` | *string* | :heavy_minus_sign: | N/A | -| `dest` | *string* | :heavy_minus_sign: | N/A | -| `status` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentrouteshandle.md b/docs/models/operations/getdeploymentrouteshandle.md deleted file mode 100644 index 19cafd73..00000000 --- a/docs/models/operations/getdeploymentrouteshandle.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetDeploymentRoutesHandle - -## Example Usage - -```typescript -import { GetDeploymentRoutesHandle } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: GetDeploymentRoutesHandle = "rewrite"; -``` - -## Values - -```typescript -"error" | "filesystem" | "hit" | "miss" | "rewrite" | "resource" -``` \ No newline at end of file diff --git a/docs/models/operations/getdeploymentrouteshas.md b/docs/models/operations/getdeploymentrouteshas.md deleted file mode 100644 index ac354aea..00000000 --- a/docs/models/operations/getdeploymentrouteshas.md +++ /dev/null @@ -1,23 +0,0 @@ -# GetDeploymentRoutesHas - - -## Supported Types - -### `operations.GetDeploymentHas1` - -```typescript -const value: operations.GetDeploymentHas1 = { - type: "host", - value: "", -}; -``` - -### `operations.GetDeploymentHas2` - -```typescript -const value: operations.GetDeploymentHas2 = { - type: "header", - key: "", -}; -``` - diff --git a/docs/models/operations/getdeploymentroutesmissing.md b/docs/models/operations/getdeploymentroutesmissing.md deleted file mode 100644 index 236f3abf..00000000 --- a/docs/models/operations/getdeploymentroutesmissing.md +++ /dev/null @@ -1,23 +0,0 @@ -# GetDeploymentRoutesMissing - - -## Supported Types - -### `operations.GetDeploymentMissing1` - -```typescript -const value: operations.GetDeploymentMissing1 = { - type: "host", - value: "", -}; -``` - -### `operations.GetDeploymentMissing2` - -```typescript -const value: operations.GetDeploymentMissing2 = { - type: "query", - key: "", -}; -``` - diff --git a/docs/models/operations/getdeploymentschecksstate.md b/docs/models/operations/getdeploymentschecksstate.md deleted file mode 100644 index 18532b1c..00000000 --- a/docs/models/operations/getdeploymentschecksstate.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetDeploymentsChecksState - -State of all registered checks - -## Example Usage - -```typescript -import { GetDeploymentsChecksState } from "@vercel/sdk/models/operations/getdeployments.js"; - -let value: GetDeploymentsChecksState = "running"; -``` - -## Values - -```typescript -"registered" | "running" | "completed" -``` \ No newline at end of file diff --git a/docs/models/operations/getdeploymentsnodeversion.md b/docs/models/operations/getdeploymentsnodeversion.md deleted file mode 100644 index 619caeba..00000000 --- a/docs/models/operations/getdeploymentsnodeversion.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetDeploymentsNodeVersion - -## Example Usage - -```typescript -import { GetDeploymentsNodeVersion } from "@vercel/sdk/models/operations/getdeployments.js"; - -let value: GetDeploymentsNodeVersion = "12.x"; -``` - -## Values - -```typescript -"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x" -``` \ No newline at end of file diff --git a/docs/models/operations/getdeploymentsprojectsettings.md b/docs/models/operations/getdeploymentsprojectsettings.md deleted file mode 100644 index 92220cf4..00000000 --- a/docs/models/operations/getdeploymentsprojectsettings.md +++ /dev/null @@ -1,35 +0,0 @@ -# GetDeploymentsProjectSettings - -The project settings which was used for this deployment - -## Example Usage - -```typescript -import { GetDeploymentsProjectSettings } from "@vercel/sdk/models/operations/getdeployments.js"; - -let value: GetDeploymentsProjectSettings = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `framework` | [operations.GetDeploymentsFramework](../../models/operations/getdeploymentsframework.md) | :heavy_minus_sign: | N/A | -| `gitForkProtection` | *boolean* | :heavy_minus_sign: | N/A | -| `customerSupportCodeVisibility` | *boolean* | :heavy_minus_sign: | N/A | -| `gitLFS` | *boolean* | :heavy_minus_sign: | N/A | -| `devCommand` | *string* | :heavy_minus_sign: | N/A | -| `installCommand` | *string* | :heavy_minus_sign: | N/A | -| `buildCommand` | *string* | :heavy_minus_sign: | N/A | -| `nodeVersion` | [operations.GetDeploymentsNodeVersion](../../models/operations/getdeploymentsnodeversion.md) | :heavy_minus_sign: | N/A | -| `outputDirectory` | *string* | :heavy_minus_sign: | N/A | -| `publicSource` | *boolean* | :heavy_minus_sign: | N/A | -| `rootDirectory` | *string* | :heavy_minus_sign: | N/A | -| `serverlessFunctionRegion` | *string* | :heavy_minus_sign: | N/A | -| `sourceFilesOutsideRootDirectory` | *boolean* | :heavy_minus_sign: | N/A | -| `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `speedInsights` | [operations.GetDeploymentsSpeedInsights](../../models/operations/getdeploymentsspeedinsights.md) | :heavy_minus_sign: | N/A | -| `webAnalytics` | [operations.GetDeploymentsWebAnalytics](../../models/operations/getdeploymentswebanalytics.md) | :heavy_minus_sign: | N/A | -| `skipGitConnectDuringLink` | *boolean* | :heavy_minus_sign: | N/A | -| `gitComments` | [operations.GetDeploymentsGitComments](../../models/operations/getdeploymentsgitcomments.md) | :heavy_minus_sign: | Since June '23 | \ No newline at end of file diff --git a/docs/models/operations/getdeploymentsreadystate.md b/docs/models/operations/getdeploymentsreadystate.md deleted file mode 100644 index 876d245e..00000000 --- a/docs/models/operations/getdeploymentsreadystate.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetDeploymentsReadyState - -In which state is the deployment. - -## Example Usage - -```typescript -import { GetDeploymentsReadyState } from "@vercel/sdk/models/operations/getdeployments.js"; - -let value: GetDeploymentsReadyState = "READY"; -``` - -## Values - -```typescript -"BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED" | "DELETED" -``` \ No newline at end of file diff --git a/docs/models/operations/getdeploymentsstate.md b/docs/models/operations/getdeploymentsstate.md deleted file mode 100644 index d9f16f0a..00000000 --- a/docs/models/operations/getdeploymentsstate.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetDeploymentsState - -In which state is the deployment. - -## Example Usage - -```typescript -import { GetDeploymentsState } from "@vercel/sdk/models/operations/getdeployments.js"; - -let value: GetDeploymentsState = "READY"; -``` - -## Values - -```typescript -"BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED" | "DELETED" -``` \ No newline at end of file diff --git a/docs/models/operations/getdeploymentstarget.md b/docs/models/operations/getdeploymentstarget.md deleted file mode 100644 index a83b6c08..00000000 --- a/docs/models/operations/getdeploymentstarget.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetDeploymentsTarget - -On which environment has the deployment been deployed to. - -## Example Usage - -```typescript -import { GetDeploymentsTarget } from "@vercel/sdk/models/operations/getdeployments.js"; - -let value: GetDeploymentsTarget = "production"; -``` - -## Values - -```typescript -"production" | "staging" -``` \ No newline at end of file diff --git a/docs/models/operations/getdeploymentstype.md b/docs/models/operations/getdeploymentstype.md deleted file mode 100644 index 4c1e51cf..00000000 --- a/docs/models/operations/getdeploymentstype.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetDeploymentsType - -The type of the deployment. - -## Example Usage - -```typescript -import { GetDeploymentsType } from "@vercel/sdk/models/operations/getdeployments.js"; - -let value: GetDeploymentsType = "LAMBDAS"; -``` - -## Values - -```typescript -"LAMBDAS" -``` \ No newline at end of file diff --git a/docs/models/operations/getdomainresponsebody.md b/docs/models/operations/getdomainresponsebody.md deleted file mode 100644 index 16b947dd..00000000 --- a/docs/models/operations/getdomainresponsebody.md +++ /dev/null @@ -1,51 +0,0 @@ -# GetDomainResponseBody - -Successful response retrieving an information for a specific domains. - -## Example Usage - -```typescript -import { GetDomainResponseBody } from "@vercel/sdk/models/operations/getdomain.js"; - -let value: GetDomainResponseBody = { - domain: { - suffix: false, - verified: true, - nameservers: [ - "ns1.nameserver.net", - "ns2.nameserver.net", - ], - intendedNameservers: [ - "ns1.vercel-dns.com", - "ns2.vercel-dns.com", - ], - customNameservers: [ - "ns1.nameserver.net", - "ns2.nameserver.net", - ], - creator: { - username: "vercel_user", - email: "demo@example.com", - id: "ZspSRT4ljIEEmMHgoDwKWDei", - }, - teamId: "", - userId: "", - boughtAt: 1613602938882, - createdAt: 1613602938882, - expiresAt: 1613602938882, - id: "EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1", - name: "example.com", - orderedAt: 1613602938882, - renew: true, - serviceType: "zeit.world", - transferredAt: 1613602938882, - transferStartedAt: 1613602938882, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `domain` | [operations.GetDomainDomain](../../models/operations/getdomaindomain.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getedgeconfigbackupresponsebody.md b/docs/models/operations/getedgeconfigbackupresponsebody.md deleted file mode 100644 index ab59380b..00000000 --- a/docs/models/operations/getedgeconfigbackupresponsebody.md +++ /dev/null @@ -1,42 +0,0 @@ -# GetEdgeConfigBackupResponseBody - - -## Supported Types - -### `operations.GetEdgeConfigBackupResponseBody1` - -```typescript -const value: operations.GetEdgeConfigBackupResponseBody1 = { - id: "", - lastModified: 1665.42, - backup: { - digest: "", - items: {}, - slug: "", - updatedAt: 8511.98, - }, - metadata: {}, -}; -``` - -### `operations.GetEdgeConfigBackupResponseBody2` - -```typescript -const value: operations.GetEdgeConfigBackupResponseBody2 = { - user: { - id: "", - username: "Olen_Hodkiewicz", - email: "Alva_Pacocha85@gmail.com", - }, - id: "", - lastModified: 2441.57, - backup: { - digest: "", - items: {}, - slug: "", - updatedAt: 3390.95, - }, - metadata: {}, -}; -``` - diff --git a/docs/models/operations/getedgeconfigbackupresponsebody1.md b/docs/models/operations/getedgeconfigbackupresponsebody1.md deleted file mode 100644 index 28ef1612..00000000 --- a/docs/models/operations/getedgeconfigbackupresponsebody1.md +++ /dev/null @@ -1,31 +0,0 @@ -# GetEdgeConfigBackupResponseBody1 - -The object the API responds with when requesting an Edge Config backup - -## Example Usage - -```typescript -import { GetEdgeConfigBackupResponseBody1 } from "@vercel/sdk/models/operations/getedgeconfigbackup.js"; - -let value: GetEdgeConfigBackupResponseBody1 = { - id: "", - lastModified: 6953.46, - backup: { - digest: "", - items: {}, - slug: "", - updatedAt: 928.51, - }, - metadata: {}, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `lastModified` | *number* | :heavy_check_mark: | N/A | -| `backup` | [operations.Backup](../../models/operations/backup.md) | :heavy_check_mark: | N/A | -| `metadata` | [operations.Metadata](../../models/operations/metadata.md) | :heavy_check_mark: | N/A | -| `user` | [operations.GetEdgeConfigBackupResponseBodyUser](../../models/operations/getedgeconfigbackupresponsebodyuser.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getedgeconfigbackupresponsebody2.md b/docs/models/operations/getedgeconfigbackupresponsebody2.md deleted file mode 100644 index cb948dfe..00000000 --- a/docs/models/operations/getedgeconfigbackupresponsebody2.md +++ /dev/null @@ -1,34 +0,0 @@ -# GetEdgeConfigBackupResponseBody2 - -## Example Usage - -```typescript -import { GetEdgeConfigBackupResponseBody2 } from "@vercel/sdk/models/operations/getedgeconfigbackup.js"; - -let value: GetEdgeConfigBackupResponseBody2 = { - user: { - id: "", - username: "Dorian67", - email: "Hassan96@gmail.com", - }, - id: "", - lastModified: 779.93, - backup: { - digest: "", - items: {}, - slug: "", - updatedAt: 8049.36, - }, - metadata: {}, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `user` | [operations.ResponseBodyUser](../../models/operations/responsebodyuser.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `lastModified` | *number* | :heavy_check_mark: | N/A | -| `backup` | [operations.ResponseBodyBackup](../../models/operations/responsebodybackup.md) | :heavy_check_mark: | N/A | -| `metadata` | [operations.ResponseBodyMetadata](../../models/operations/responsebodymetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getedgeconfigbackupresponsebodyitems.md b/docs/models/operations/getedgeconfigbackupresponsebodyitems.md deleted file mode 100644 index e243c36b..00000000 --- a/docs/models/operations/getedgeconfigbackupresponsebodyitems.md +++ /dev/null @@ -1,22 +0,0 @@ -# GetEdgeConfigBackupResponseBodyItems - -## Example Usage - -```typescript -import { GetEdgeConfigBackupResponseBodyItems } from "@vercel/sdk/models/operations/getedgeconfigbackup.js"; - -let value: GetEdgeConfigBackupResponseBodyItems = { - updatedAt: 7780.39, - value: 8756.92, - createdAt: 427.63, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | -| `value` | *components.EdgeConfigItemValue* | :heavy_check_mark: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getedgeconfigbackupsresponsebody.md b/docs/models/operations/getedgeconfigbackupsresponsebody.md deleted file mode 100644 index 4b341515..00000000 --- a/docs/models/operations/getedgeconfigbackupsresponsebody.md +++ /dev/null @@ -1,26 +0,0 @@ -# GetEdgeConfigBackupsResponseBody - -## Example Usage - -```typescript -import { GetEdgeConfigBackupsResponseBody } from "@vercel/sdk/models/operations/getedgeconfigbackups.js"; - -let value: GetEdgeConfigBackupsResponseBody = { - backups: [ - { - id: "", - lastModified: 8029.75, - }, - ], - pagination: { - hasNext: false, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `backups` | [operations.Backups](../../models/operations/backups.md)[] | :heavy_check_mark: | N/A | -| `pagination` | [operations.GetEdgeConfigBackupsPagination](../../models/operations/getedgeconfigbackupspagination.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getedgeconfigpurpose.md b/docs/models/operations/getedgeconfigpurpose.md deleted file mode 100644 index cf0ee684..00000000 --- a/docs/models/operations/getedgeconfigpurpose.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetEdgeConfigPurpose - -## Example Usage - -```typescript -import { GetEdgeConfigPurpose } from "@vercel/sdk/models/operations/getedgeconfig.js"; - -let value: GetEdgeConfigPurpose = { - type: "flags", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `type` | [operations.GetEdgeConfigType](../../models/operations/getedgeconfigtype.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getedgeconfigschema.md b/docs/models/operations/getedgeconfigschema.md deleted file mode 100644 index 14021839..00000000 --- a/docs/models/operations/getedgeconfigschema.md +++ /dev/null @@ -1,14 +0,0 @@ -# GetEdgeConfigSchema - -## Example Usage - -```typescript -import { GetEdgeConfigSchema } from "@vercel/sdk/models/operations/getedgeconfig.js"; - -let value: GetEdgeConfigSchema = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/getedgeconfigstype.md b/docs/models/operations/getedgeconfigstype.md deleted file mode 100644 index 8ddb619d..00000000 --- a/docs/models/operations/getedgeconfigstype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetEdgeConfigsType - -## Example Usage - -```typescript -import { GetEdgeConfigsType } from "@vercel/sdk/models/operations/getedgeconfigs.js"; - -let value: GetEdgeConfigsType = "flags"; -``` - -## Values - -```typescript -"flags" -``` \ No newline at end of file diff --git a/docs/models/operations/getedgeconfigtype.md b/docs/models/operations/getedgeconfigtype.md deleted file mode 100644 index d41aea80..00000000 --- a/docs/models/operations/getedgeconfigtype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetEdgeConfigType - -## Example Usage - -```typescript -import { GetEdgeConfigType } from "@vercel/sdk/models/operations/getedgeconfig.js"; - -let value: GetEdgeConfigType = "flags"; -``` - -## Values - -```typescript -"flags" -``` \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigaction.md b/docs/models/operations/getfirewallconfigaction.md deleted file mode 100644 index 4430167f..00000000 --- a/docs/models/operations/getfirewallconfigaction.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetFirewallConfigAction - -## Example Usage - -```typescript -import { GetFirewallConfigAction } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigAction = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `mitigate` | [operations.GetFirewallConfigMitigate](../../models/operations/getfirewallconfigmitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigalgo.md b/docs/models/operations/getfirewallconfigalgo.md deleted file mode 100644 index 62d96b61..00000000 --- a/docs/models/operations/getfirewallconfigalgo.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetFirewallConfigAlgo - -## Example Usage - -```typescript -import { GetFirewallConfigAlgo } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigAlgo = "token_bucket"; -``` - -## Values - -```typescript -"fixed_window" | "token_bucket" -``` \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigconditiongroup.md b/docs/models/operations/getfirewallconfigconditiongroup.md deleted file mode 100644 index df9166fb..00000000 --- a/docs/models/operations/getfirewallconfigconditiongroup.md +++ /dev/null @@ -1,22 +0,0 @@ -# GetFirewallConfigConditionGroup - -## Example Usage - -```typescript -import { GetFirewallConfigConditionGroup } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigConditionGroup = { - conditions: [ - { - type: "geo_country", - op: "inc", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `conditions` | [operations.GetFirewallConfigConditions](../../models/operations/getfirewallconfigconditions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigconditions.md b/docs/models/operations/getfirewallconfigconditions.md deleted file mode 100644 index 52053fa5..00000000 --- a/docs/models/operations/getfirewallconfigconditions.md +++ /dev/null @@ -1,22 +0,0 @@ -# GetFirewallConfigConditions - -## Example Usage - -```typescript -import { GetFirewallConfigConditions } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigConditions = { - type: "geo_country_region", - op: "lte", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `type` | [operations.GetFirewallConfigType](../../models/operations/getfirewallconfigtype.md) | :heavy_check_mark: | N/A | -| `op` | [operations.GetFirewallConfigOp](../../models/operations/getfirewallconfigop.md) | :heavy_check_mark: | N/A | -| `neg` | *boolean* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *operations.GetFirewallConfigValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigcrs.md b/docs/models/operations/getfirewallconfigcrs.md deleted file mode 100644 index 2407634c..00000000 --- a/docs/models/operations/getfirewallconfigcrs.md +++ /dev/null @@ -1,70 +0,0 @@ -# GetFirewallConfigCrs - -## Example Usage - -```typescript -import { GetFirewallConfigCrs } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigCrs = { - sd: { - active: false, - action: "deny", - }, - ma: { - active: false, - action: "log", - }, - lfi: { - active: false, - action: "log", - }, - rfi: { - active: false, - action: "deny", - }, - rce: { - active: false, - action: "log", - }, - php: { - active: false, - action: "log", - }, - gen: { - active: false, - action: "deny", - }, - xss: { - active: false, - action: "log", - }, - sqli: { - active: false, - action: "log", - }, - sf: { - active: false, - action: "log", - }, - java: { - active: false, - action: "deny", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `sd` | [operations.GetFirewallConfigSd](../../models/operations/getfirewallconfigsd.md) | :heavy_check_mark: | N/A | -| `ma` | [operations.GetFirewallConfigMa](../../models/operations/getfirewallconfigma.md) | :heavy_check_mark: | N/A | -| `lfi` | [operations.GetFirewallConfigLfi](../../models/operations/getfirewallconfiglfi.md) | :heavy_check_mark: | N/A | -| `rfi` | [operations.GetFirewallConfigRfi](../../models/operations/getfirewallconfigrfi.md) | :heavy_check_mark: | N/A | -| `rce` | [operations.GetFirewallConfigRce](../../models/operations/getfirewallconfigrce.md) | :heavy_check_mark: | N/A | -| `php` | [operations.GetFirewallConfigPhp](../../models/operations/getfirewallconfigphp.md) | :heavy_check_mark: | N/A | -| `gen` | [operations.GetFirewallConfigGen](../../models/operations/getfirewallconfiggen.md) | :heavy_check_mark: | N/A | -| `xss` | [operations.GetFirewallConfigXss](../../models/operations/getfirewallconfigxss.md) | :heavy_check_mark: | N/A | -| `sqli` | [operations.GetFirewallConfigSqli](../../models/operations/getfirewallconfigsqli.md) | :heavy_check_mark: | N/A | -| `sf` | [operations.GetFirewallConfigSf](../../models/operations/getfirewallconfigsf.md) | :heavy_check_mark: | N/A | -| `java` | [operations.GetFirewallConfigJava](../../models/operations/getfirewallconfigjava.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfiggen.md b/docs/models/operations/getfirewallconfiggen.md deleted file mode 100644 index ed76c45f..00000000 --- a/docs/models/operations/getfirewallconfiggen.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetFirewallConfigGen - -## Example Usage - -```typescript -import { GetFirewallConfigGen } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigGen = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction](../../models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigips.md b/docs/models/operations/getfirewallconfigips.md deleted file mode 100644 index b7332e40..00000000 --- a/docs/models/operations/getfirewallconfigips.md +++ /dev/null @@ -1,24 +0,0 @@ -# GetFirewallConfigIps - -## Example Usage - -```typescript -import { GetFirewallConfigIps } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigIps = { - id: "", - hostname: "tiny-independence.info", - ip: "4c14:decd:faac:2fb3:f7dd:b2c7:fdc7:afba", - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `hostname` | *string* | :heavy_check_mark: | N/A | -| `ip` | *string* | :heavy_check_mark: | N/A | -| `notes` | *string* | :heavy_minus_sign: | N/A | -| `action` | [operations.GetFirewallConfigSecurityAction](../../models/operations/getfirewallconfigsecurityaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigjava.md b/docs/models/operations/getfirewallconfigjava.md deleted file mode 100644 index 060cab74..00000000 --- a/docs/models/operations/getfirewallconfigjava.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetFirewallConfigJava - -## Example Usage - -```typescript -import { GetFirewallConfigJava } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigJava = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction](../../models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsjavaaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfiglfi.md b/docs/models/operations/getfirewallconfiglfi.md deleted file mode 100644 index 5120edbc..00000000 --- a/docs/models/operations/getfirewallconfiglfi.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetFirewallConfigLfi - -## Example Usage - -```typescript -import { GetFirewallConfigLfi } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigLfi = { - active: false, - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.GetFirewallConfigSecurityResponseAction](../../models/operations/getfirewallconfigsecurityresponseaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigma.md b/docs/models/operations/getfirewallconfigma.md deleted file mode 100644 index 535ce705..00000000 --- a/docs/models/operations/getfirewallconfigma.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetFirewallConfigMa - -## Example Usage - -```typescript -import { GetFirewallConfigMa } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigMa = { - active: false, - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction](../../models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsmaaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigmanagedrules.md b/docs/models/operations/getfirewallconfigmanagedrules.md deleted file mode 100644 index 66cec6d8..00000000 --- a/docs/models/operations/getfirewallconfigmanagedrules.md +++ /dev/null @@ -1,16 +0,0 @@ -# GetFirewallConfigManagedRules - -## Example Usage - -```typescript -import { GetFirewallConfigManagedRules } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigManagedRules = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `owasp` | [operations.GetFirewallConfigOwasp](../../models/operations/getfirewallconfigowasp.md) | :heavy_minus_sign: | N/A | -| `verifiedBotsBypass` | [operations.VerifiedBotsBypass](../../models/operations/verifiedbotsbypass.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigmitigate.md b/docs/models/operations/getfirewallconfigmitigate.md deleted file mode 100644 index e7856566..00000000 --- a/docs/models/operations/getfirewallconfigmitigate.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetFirewallConfigMitigate - -## Example Usage - -```typescript -import { GetFirewallConfigMitigate } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigMitigate = { - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `action` | [operations.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction](../../models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesaction.md) | :heavy_check_mark: | N/A | -| `rateLimit` | [operations.GetFirewallConfigRateLimit](../../models/operations/getfirewallconfigratelimit.md) | :heavy_minus_sign: | N/A | -| `redirect` | [operations.GetFirewallConfigRedirect](../../models/operations/getfirewallconfigredirect.md) | :heavy_minus_sign: | N/A | -| `actionDuration` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigop.md b/docs/models/operations/getfirewallconfigop.md deleted file mode 100644 index a1fc29fd..00000000 --- a/docs/models/operations/getfirewallconfigop.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetFirewallConfigOp - -## Example Usage - -```typescript -import { GetFirewallConfigOp } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigOp = "pre"; -``` - -## Values - -```typescript -"re" | "eq" | "ex" | "inc" | "pre" | "suf" | "sub" | "gt" | "gte" | "lt" | "lte" | "nex" | "ninc" | "neq" -``` \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigphp.md b/docs/models/operations/getfirewallconfigphp.md deleted file mode 100644 index bfb5aacd..00000000 --- a/docs/models/operations/getfirewallconfigphp.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetFirewallConfigPhp - -## Example Usage - -```typescript -import { GetFirewallConfigPhp } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigPhp = { - active: false, - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction](../../models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigratelimit.md b/docs/models/operations/getfirewallconfigratelimit.md deleted file mode 100644 index f53ddc32..00000000 --- a/docs/models/operations/getfirewallconfigratelimit.md +++ /dev/null @@ -1,26 +0,0 @@ -# GetFirewallConfigRateLimit - -## Example Usage - -```typescript -import { GetFirewallConfigRateLimit } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigRateLimit = { - algo: "token_bucket", - window: 5006.92, - limit: 2835.58, - keys: [ - "", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `algo` | [operations.GetFirewallConfigAlgo](../../models/operations/getfirewallconfigalgo.md) | :heavy_check_mark: | N/A | -| `window` | *number* | :heavy_check_mark: | N/A | -| `limit` | *number* | :heavy_check_mark: | N/A | -| `keys` | *string*[] | :heavy_check_mark: | N/A | -| `action` | [operations.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction](../../models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesactionaction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigrce.md b/docs/models/operations/getfirewallconfigrce.md deleted file mode 100644 index b674ee85..00000000 --- a/docs/models/operations/getfirewallconfigrce.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetFirewallConfigRce - -## Example Usage - -```typescript -import { GetFirewallConfigRce } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigRce = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.GetFirewallConfigSecurityResponse200ApplicationJSONAction](../../models/operations/getfirewallconfigsecurityresponse200applicationjsonaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigresponsebody.md b/docs/models/operations/getfirewallconfigresponsebody.md deleted file mode 100644 index db390a52..00000000 --- a/docs/models/operations/getfirewallconfigresponsebody.md +++ /dev/null @@ -1,107 +0,0 @@ -# GetFirewallConfigResponseBody - -## Example Usage - -```typescript -import { GetFirewallConfigResponseBody } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigResponseBody = { - ownerId: "", - projectKey: "", - id: "", - version: 7002.04, - updatedAt: "", - firewallEnabled: false, - crs: { - sd: { - active: false, - action: "log", - }, - ma: { - active: false, - action: "deny", - }, - lfi: { - active: false, - action: "deny", - }, - rfi: { - active: false, - action: "log", - }, - rce: { - active: false, - action: "deny", - }, - php: { - active: false, - action: "deny", - }, - gen: { - active: false, - action: "deny", - }, - xss: { - active: false, - action: "deny", - }, - sqli: { - active: false, - action: "deny", - }, - sf: { - active: false, - action: "deny", - }, - java: { - active: false, - action: "log", - }, - }, - rules: [ - { - id: "", - name: "", - active: false, - conditionGroup: [ - { - conditions: [ - { - type: "ja3_digest", - op: "eq", - }, - ], - }, - ], - action: {}, - }, - ], - ips: [ - { - id: "", - hostname: "understated-birdbath.name", - ip: "93.190.108.206", - action: "challenge", - }, - ], - changes: [ - {}, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `ownerId` | *string* | :heavy_check_mark: | N/A | -| `projectKey` | *string* | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `version` | *number* | :heavy_check_mark: | N/A | -| `updatedAt` | *string* | :heavy_check_mark: | N/A | -| `firewallEnabled` | *boolean* | :heavy_check_mark: | N/A | -| `crs` | [operations.GetFirewallConfigCrs](../../models/operations/getfirewallconfigcrs.md) | :heavy_check_mark: | N/A | -| `rules` | [operations.GetFirewallConfigRules](../../models/operations/getfirewallconfigrules.md)[] | :heavy_check_mark: | N/A | -| `ips` | [operations.GetFirewallConfigIps](../../models/operations/getfirewallconfigips.md)[] | :heavy_check_mark: | N/A | -| `changes` | [operations.Changes](../../models/operations/changes.md)[] | :heavy_check_mark: | N/A | -| `managedRules` | [operations.GetFirewallConfigManagedRules](../../models/operations/getfirewallconfigmanagedrules.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigrfi.md b/docs/models/operations/getfirewallconfigrfi.md deleted file mode 100644 index b60b7c15..00000000 --- a/docs/models/operations/getfirewallconfigrfi.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetFirewallConfigRfi - -## Example Usage - -```typescript -import { GetFirewallConfigRfi } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigRfi = { - active: false, - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.GetFirewallConfigSecurityResponse200Action](../../models/operations/getfirewallconfigsecurityresponse200action.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigrules.md b/docs/models/operations/getfirewallconfigrules.md deleted file mode 100644 index ea612562..00000000 --- a/docs/models/operations/getfirewallconfigrules.md +++ /dev/null @@ -1,35 +0,0 @@ -# GetFirewallConfigRules - -## Example Usage - -```typescript -import { GetFirewallConfigRules } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigRules = { - id: "", - name: "", - active: false, - conditionGroup: [ - { - conditions: [ - { - type: "target_path", - op: "ex", - }, - ], - }, - ], - action: {}, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `conditionGroup` | [operations.GetFirewallConfigConditionGroup](../../models/operations/getfirewallconfigconditiongroup.md)[] | :heavy_check_mark: | N/A | -| `action` | [operations.GetFirewallConfigAction](../../models/operations/getfirewallconfigaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigsd.md b/docs/models/operations/getfirewallconfigsd.md deleted file mode 100644 index dc219367..00000000 --- a/docs/models/operations/getfirewallconfigsd.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetFirewallConfigSd - -## Example Usage - -```typescript -import { GetFirewallConfigSd } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigSd = { - active: false, - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction](../../models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssdaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200action.md b/docs/models/operations/getfirewallconfigsecurityresponse200action.md deleted file mode 100644 index fc3a6d63..00000000 --- a/docs/models/operations/getfirewallconfigsecurityresponse200action.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetFirewallConfigSecurityResponse200Action - -## Example Usage - -```typescript -import { GetFirewallConfigSecurityResponse200Action } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigSecurityResponse200Action = "log"; -``` - -## Values - -```typescript -"deny" | "log" -``` \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigsf.md b/docs/models/operations/getfirewallconfigsf.md deleted file mode 100644 index f55d9d78..00000000 --- a/docs/models/operations/getfirewallconfigsf.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetFirewallConfigSf - -## Example Usage - -```typescript -import { GetFirewallConfigSf } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigSf = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction](../../models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssfaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigsqli.md b/docs/models/operations/getfirewallconfigsqli.md deleted file mode 100644 index ca50da34..00000000 --- a/docs/models/operations/getfirewallconfigsqli.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetFirewallConfigSqli - -## Example Usage - -```typescript -import { GetFirewallConfigSqli } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigSqli = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction](../../models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssqliaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigtype.md b/docs/models/operations/getfirewallconfigtype.md deleted file mode 100644 index 35e7ad98..00000000 --- a/docs/models/operations/getfirewallconfigtype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetFirewallConfigType - -## Example Usage - -```typescript -import { GetFirewallConfigType } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigType = "header"; -``` - -## Values - -```typescript -"host" | "path" | "method" | "header" | "query" | "cookie" | "target_path" | "ip_address" | "protocol" | "region" | "scheme" | "environment" | "user_agent" | "geo_continent" | "geo_country" | "geo_country_region" | "geo_city" | "geo_as_number" | "ja4_digest" | "ja3_digest" | "rate_limit_api_id" -``` \ No newline at end of file diff --git a/docs/models/operations/getfirewallconfigxss.md b/docs/models/operations/getfirewallconfigxss.md deleted file mode 100644 index 94b08996..00000000 --- a/docs/models/operations/getfirewallconfigxss.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetFirewallConfigXss - -## Example Usage - -```typescript -import { GetFirewallConfigXss } from "@vercel/sdk/models/operations/getfirewallconfig.js"; - -let value: GetFirewallConfigXss = { - active: false, - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction](../../models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsxssaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getintegrationlogdrainsresponsebody.md b/docs/models/operations/getintegrationlogdrainsresponsebody.md deleted file mode 100644 index d923ffa2..00000000 --- a/docs/models/operations/getintegrationlogdrainsresponsebody.md +++ /dev/null @@ -1,86 +0,0 @@ -# GetIntegrationLogDrainsResponseBody - -## Example Usage - -```typescript -import { GetIntegrationLogDrainsResponseBody } from "@vercel/sdk/models/operations/getintegrationlogdrains.js"; - -let value: GetIntegrationLogDrainsResponseBody = { - clientId: "oac_xRhY4LAB7yLhUADD69EvV7ct", - configurationId: "icfg_cuwj0AdCdH3BwWT4LPijCC7t", - createdAt: 1558531915505, - id: "ld_nBuA7zCID8g4QZ8g", - deliveryFormat: "json", - name: "My first log drain", - ownerId: "kr1PsOIzqEL5Xg6M4VZcZosf", - projectId: "AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb", - projectIds: [ - "AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb", - ], - url: "https://example.com/log-drain", - sources: [ - "build", - "edge", - ], - createdFrom: "integration", - headers: { - "0": "{", - "1": "\"", - "2": "A", - "3": "u", - "4": "t", - "5": "h", - "6": "o", - "7": "r", - "8": "i", - "9": "z", - "10": "a", - "11": "t", - "12": "i", - "13": "o", - "14": "n", - "15": "\"", - "16": ":", - "17": " ", - "18": "\"", - "19": "B", - "20": "e", - "21": "a", - "22": "r", - "23": "e", - "24": "r", - "25": " ", - "26": "1", - "27": "2", - "28": "3", - "29": "\"", - "30": "}", - }, - environments: [ - "production", - ], - branch: "feature/*", - samplingRate: 0.5, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `clientId` | *string* | :heavy_minus_sign: | The oauth2 client application id that created this log drain | oac_xRhY4LAB7yLhUADD69EvV7ct | -| `configurationId` | *string* | :heavy_minus_sign: | The client configuration this log drain was created with | icfg_cuwj0AdCdH3BwWT4LPijCC7t | -| `createdAt` | *number* | :heavy_check_mark: | A timestamp that tells you when the log drain was created | 1558531915505 | -| `id` | *string* | :heavy_check_mark: | The unique identifier of the log drain. Always prefixed with `ld_` | ld_nBuA7zCID8g4QZ8g | -| `deliveryFormat` | [operations.GetIntegrationLogDrainsDeliveryFormat](../../models/operations/getintegrationlogdrainsdeliveryformat.md) | :heavy_minus_sign: | The delivery log format | json | -| `name` | *string* | :heavy_check_mark: | The name of the log drain | My first log drain | -| `ownerId` | *string* | :heavy_check_mark: | The identifier of the team or user whose events will trigger the log drain | kr1PsOIzqEL5Xg6M4VZcZosf | -| `projectId` | *string* | :heavy_minus_sign: | N/A | AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb | -| `projectIds` | *string*[] | :heavy_minus_sign: | The identifier of the projects this log drain is associated with | AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb | -| `url` | *string* | :heavy_check_mark: | The URL to call when logs are generated | https://example.com/log-drain | -| `sources` | [operations.GetIntegrationLogDrainsSources](../../models/operations/getintegrationlogdrainssources.md)[] | :heavy_minus_sign: | The sources from which logs are currently being delivered to this log drain. | [
"build",
"edge"
] | -| `createdFrom` | [operations.CreatedFrom](../../models/operations/createdfrom.md) | :heavy_minus_sign: | Whether the log drain was created by an integration or by a user | integration | -| `headers` | Record | :heavy_minus_sign: | The headers to send with the request | {"Authorization": "Bearer 123"} | -| `environments` | [operations.GetIntegrationLogDrainsEnvironments](../../models/operations/getintegrationlogdrainsenvironments.md)[] | :heavy_check_mark: | The environment of log drain | [
"production"
] | -| `branch` | *string* | :heavy_minus_sign: | The branch regexp of log drain | feature/* | -| `samplingRate` | *number* | :heavy_minus_sign: | The sampling rate of log drain | 0.5 | \ No newline at end of file diff --git a/docs/models/operations/getinvoiceresponsebody.md b/docs/models/operations/getinvoiceresponsebody.md deleted file mode 100644 index c5d31dfb..00000000 --- a/docs/models/operations/getinvoiceresponsebody.md +++ /dev/null @@ -1,51 +0,0 @@ -# GetInvoiceResponseBody - -## Example Usage - -```typescript -import { GetInvoiceResponseBody } from "@vercel/sdk/models/operations/getinvoice.js"; - -let value: GetInvoiceResponseBody = { - invoiceId: "", - invoiceDate: "", - period: { - start: "", - end: "", - }, - items: [ - { - billingPlanId: "", - name: "", - price: "559.65", - quantity: 6229.68, - units: "", - total: "", - }, - ], - total: "", - created: "", - updated: "", - state: "refunded", - test: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `invoiceId` | *string* | :heavy_check_mark: | N/A | -| `externalId` | *string* | :heavy_minus_sign: | N/A | -| `invoiceNumber` | *string* | :heavy_minus_sign: | N/A | -| `invoiceDate` | *string* | :heavy_check_mark: | N/A | -| `period` | [operations.GetInvoicePeriod](../../models/operations/getinvoiceperiod.md) | :heavy_check_mark: | N/A | -| `memo` | *string* | :heavy_minus_sign: | N/A | -| `items` | [operations.GetInvoiceItems](../../models/operations/getinvoiceitems.md)[] | :heavy_check_mark: | N/A | -| `discounts` | [operations.GetInvoiceDiscounts](../../models/operations/getinvoicediscounts.md)[] | :heavy_minus_sign: | N/A | -| `total` | *string* | :heavy_check_mark: | N/A | -| `created` | *string* | :heavy_check_mark: | N/A | -| `updated` | *string* | :heavy_check_mark: | N/A | -| `state` | [operations.State](../../models/operations/state.md) | :heavy_check_mark: | N/A | -| `refundReason` | *string* | :heavy_minus_sign: | N/A | -| `refundTotal` | *string* | :heavy_minus_sign: | N/A | -| `test` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmemberresponsebody.md b/docs/models/operations/getmemberresponsebody.md deleted file mode 100644 index 9d4244b4..00000000 --- a/docs/models/operations/getmemberresponsebody.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetMemberResponseBody - -## Example Usage - -```typescript -import { GetMemberResponseBody } from "@vercel/sdk/models/operations/getmember.js"; - -let value: GetMemberResponseBody = { - id: "", - role: "ADMIN", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `role` | [operations.GetMemberRole](../../models/operations/getmemberrole.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmemberrole.md b/docs/models/operations/getmemberrole.md deleted file mode 100644 index 80e4a4c1..00000000 --- a/docs/models/operations/getmemberrole.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetMemberRole - -## Example Usage - -```typescript -import { GetMemberRole } from "@vercel/sdk/models/operations/getmember.js"; - -let value: GetMemberRole = "USER"; -``` - -## Values - -```typescript -"ADMIN" | "USER" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthint1.md b/docs/models/operations/getprojectenvcontenthint1.md deleted file mode 100644 index eb638358..00000000 --- a/docs/models/operations/getprojectenvcontenthint1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHint1 - -## Example Usage - -```typescript -import { GetProjectEnvContentHint1 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintType](../../models/operations/getprojectenvcontenthinttype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthint10.md b/docs/models/operations/getprojectenvcontenthint10.md deleted file mode 100644 index 17eb94d0..00000000 --- a/docs/models/operations/getprojectenvcontenthint10.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHint10 - -## Example Usage - -```typescript -import { GetProjectEnvContentHint10 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthint11.md b/docs/models/operations/getprojectenvcontenthint11.md deleted file mode 100644 index 4fea7a3a..00000000 --- a/docs/models/operations/getprojectenvcontenthint11.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHint11 - -## Example Usage - -```typescript -import { GetProjectEnvContentHint11 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthint12.md b/docs/models/operations/getprojectenvcontenthint12.md deleted file mode 100644 index 25151b18..00000000 --- a/docs/models/operations/getprojectenvcontenthint12.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHint12 - -## Example Usage - -```typescript -import { GetProjectEnvContentHint12 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHint12 = { - type: "postgres-database", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthint13.md b/docs/models/operations/getprojectenvcontenthint13.md deleted file mode 100644 index 90568310..00000000 --- a/docs/models/operations/getprojectenvcontenthint13.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHint13 - -## Example Usage - -```typescript -import { GetProjectEnvContentHint13 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHint13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthint14.md b/docs/models/operations/getprojectenvcontenthint14.md deleted file mode 100644 index e5da7051..00000000 --- a/docs/models/operations/getprojectenvcontenthint14.md +++ /dev/null @@ -1,25 +0,0 @@ -# GetProjectEnvContentHint14 - -## Example Usage - -```typescript -import { GetProjectEnvContentHint14 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHint14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthint15.md b/docs/models/operations/getprojectenvcontenthint15.md deleted file mode 100644 index dad5077a..00000000 --- a/docs/models/operations/getprojectenvcontenthint15.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHint15 - -## Example Usage - -```typescript -import { GetProjectEnvContentHint15 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHint15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthint2.md b/docs/models/operations/getprojectenvcontenthint2.md deleted file mode 100644 index 93cfeded..00000000 --- a/docs/models/operations/getprojectenvcontenthint2.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHint2 - -## Example Usage - -```typescript -import { GetProjectEnvContentHint2 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.GetProjectEnvContentHintProjectsType](../../models/operations/getprojectenvcontenthintprojectstype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthint3.md b/docs/models/operations/getprojectenvcontenthint3.md deleted file mode 100644 index 38b3ed97..00000000 --- a/docs/models/operations/getprojectenvcontenthint3.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHint3 - -## Example Usage - -```typescript -import { GetProjectEnvContentHint3 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponseType](../../models/operations/getprojectenvcontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthint4.md b/docs/models/operations/getprojectenvcontenthint4.md deleted file mode 100644 index d048058c..00000000 --- a/docs/models/operations/getprojectenvcontenthint4.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHint4 - -## Example Usage - -```typescript -import { GetProjectEnvContentHint4 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200Type](../../models/operations/getprojectenvcontenthintprojectsresponse200type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthint5.md b/docs/models/operations/getprojectenvcontenthint5.md deleted file mode 100644 index 89db365e..00000000 --- a/docs/models/operations/getprojectenvcontenthint5.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHint5 - -## Example Usage - -```typescript -import { GetProjectEnvContentHint5 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONType](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthint6.md b/docs/models/operations/getprojectenvcontenthint6.md deleted file mode 100644 index f9f95c9e..00000000 --- a/docs/models/operations/getprojectenvcontenthint6.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHint6 - -## Example Usage - -```typescript -import { GetProjectEnvContentHint6 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthint7.md b/docs/models/operations/getprojectenvcontenthint7.md deleted file mode 100644 index 0ac7a2af..00000000 --- a/docs/models/operations/getprojectenvcontenthint7.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHint7 - -## Example Usage - -```typescript -import { GetProjectEnvContentHint7 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthint8.md b/docs/models/operations/getprojectenvcontenthint8.md deleted file mode 100644 index 1f8fa46b..00000000 --- a/docs/models/operations/getprojectenvcontenthint8.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHint8 - -## Example Usage - -```typescript -import { GetProjectEnvContentHint8 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthint9.md b/docs/models/operations/getprojectenvcontenthint9.md deleted file mode 100644 index a70f92b2..00000000 --- a/docs/models/operations/getprojectenvcontenthint9.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHint9 - -## Example Usage - -```typescript -import { GetProjectEnvContentHint9 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojects1.md b/docs/models/operations/getprojectenvcontenthintprojects1.md deleted file mode 100644 index d37670a1..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojects1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjects1 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjects1 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjects1 = { - type: "redis-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojects10.md b/docs/models/operations/getprojectenvcontenthintprojects10.md deleted file mode 100644 index 8ff31eab..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojects10.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjects10 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjects10 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjects10 = { - type: "postgres-host", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojects11.md b/docs/models/operations/getprojectenvcontenthintprojects11.md deleted file mode 100644 index 392e1f9f..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojects11.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjects11 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjects11 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjects11 = { - type: "postgres-password", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojects12.md b/docs/models/operations/getprojectenvcontenthintprojects12.md deleted file mode 100644 index 3e533bdf..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojects12.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjects12 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjects12 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjects12 = { - type: "postgres-database", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojects13.md b/docs/models/operations/getprojectenvcontenthintprojects13.md deleted file mode 100644 index d79ebbb2..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojects13.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjects13 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjects13 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjects13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojects14.md b/docs/models/operations/getprojectenvcontenthintprojects14.md deleted file mode 100644 index 67de89af..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojects14.md +++ /dev/null @@ -1,25 +0,0 @@ -# GetProjectEnvContentHintProjects14 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjects14 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjects14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojects15.md b/docs/models/operations/getprojectenvcontenthintprojects15.md deleted file mode 100644 index 343839cb..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojects15.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjects15 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjects15 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjects15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojects2.md b/docs/models/operations/getprojectenvcontenthintprojects2.md deleted file mode 100644 index 8c98980b..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojects2.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjects2 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjects2 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjects2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojects3.md b/docs/models/operations/getprojectenvcontenthintprojects3.md deleted file mode 100644 index 793700f7..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojects3.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjects3 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjects3 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjects3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojects4.md b/docs/models/operations/getprojectenvcontenthintprojects4.md deleted file mode 100644 index 6f95daed..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojects4.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjects4 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjects4 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjects4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojects5.md b/docs/models/operations/getprojectenvcontenthintprojects5.md deleted file mode 100644 index b4e71e42..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojects5.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjects5 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjects5 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjects5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojects6.md b/docs/models/operations/getprojectenvcontenthintprojects6.md deleted file mode 100644 index cd76f25e..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojects6.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjects6 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjects6 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjects6 = { - type: "postgres-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojects7.md b/docs/models/operations/getprojectenvcontenthintprojects7.md deleted file mode 100644 index b70b756d..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojects7.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjects7 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjects7 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjects7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojects8.md b/docs/models/operations/getprojectenvcontenthintprojects8.md deleted file mode 100644 index c07fdedb..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojects8.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjects8 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjects8 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjects8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojects9.md b/docs/models/operations/getprojectenvcontenthintprojects9.md deleted file mode 100644 index 11d7fe79..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojects9.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjects9 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjects9 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjects9 = { - type: "postgres-user", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse1.md b/docs/models/operations/getprojectenvcontenthintprojectsresponse1.md deleted file mode 100644 index b1ae2f72..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjectsResponse1 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjectsResponse1 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjectsResponse1 = { - type: "redis-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse10.md b/docs/models/operations/getprojectenvcontenthintprojectsresponse10.md deleted file mode 100644 index 5bab49ed..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse10.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjectsResponse10 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjectsResponse10 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjectsResponse10 = { - type: "postgres-host", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse11.md b/docs/models/operations/getprojectenvcontenthintprojectsresponse11.md deleted file mode 100644 index 9e272112..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse11.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjectsResponse11 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjectsResponse11 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjectsResponse11 = { - type: "postgres-password", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse12.md b/docs/models/operations/getprojectenvcontenthintprojectsresponse12.md deleted file mode 100644 index a410fa8a..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse12.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjectsResponse12 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjectsResponse12 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjectsResponse12 = { - type: "postgres-database", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse13.md b/docs/models/operations/getprojectenvcontenthintprojectsresponse13.md deleted file mode 100644 index b335b133..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse13.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjectsResponse13 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjectsResponse13 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjectsResponse13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse14.md b/docs/models/operations/getprojectenvcontenthintprojectsresponse14.md deleted file mode 100644 index f08e5047..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse14.md +++ /dev/null @@ -1,25 +0,0 @@ -# GetProjectEnvContentHintProjectsResponse14 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjectsResponse14 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjectsResponse14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse15.md b/docs/models/operations/getprojectenvcontenthintprojectsresponse15.md deleted file mode 100644 index f874f02a..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse15.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjectsResponse15 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjectsResponse15 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjectsResponse15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse2.md b/docs/models/operations/getprojectenvcontenthintprojectsresponse2.md deleted file mode 100644 index 59730628..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse2.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjectsResponse2 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjectsResponse2 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjectsResponse2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse3.md b/docs/models/operations/getprojectenvcontenthintprojectsresponse3.md deleted file mode 100644 index b5bea3fd..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse3.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjectsResponse3 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjectsResponse3 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjectsResponse3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse4.md b/docs/models/operations/getprojectenvcontenthintprojectsresponse4.md deleted file mode 100644 index 1f012612..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse4.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjectsResponse4 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjectsResponse4 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjectsResponse4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse5.md b/docs/models/operations/getprojectenvcontenthintprojectsresponse5.md deleted file mode 100644 index a33ede13..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse5.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjectsResponse5 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjectsResponse5 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjectsResponse5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse6.md b/docs/models/operations/getprojectenvcontenthintprojectsresponse6.md deleted file mode 100644 index 3294d230..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse6.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjectsResponse6 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjectsResponse6 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjectsResponse6 = { - type: "postgres-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse7.md b/docs/models/operations/getprojectenvcontenthintprojectsresponse7.md deleted file mode 100644 index c45e406b..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse7.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjectsResponse7 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjectsResponse7 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjectsResponse7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse8.md b/docs/models/operations/getprojectenvcontenthintprojectsresponse8.md deleted file mode 100644 index 5f39b976..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse8.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjectsResponse8 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjectsResponse8 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjectsResponse8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvcontenthintprojectsresponse9.md b/docs/models/operations/getprojectenvcontenthintprojectsresponse9.md deleted file mode 100644 index 18a6c98c..00000000 --- a/docs/models/operations/getprojectenvcontenthintprojectsresponse9.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvContentHintProjectsResponse9 - -## Example Usage - -```typescript -import { GetProjectEnvContentHintProjectsResponse9 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvContentHintProjectsResponse9 = { - type: "postgres-user", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type](../../models/operations/getprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvresponsebody.md b/docs/models/operations/getprojectenvresponsebody.md deleted file mode 100644 index 456d449d..00000000 --- a/docs/models/operations/getprojectenvresponsebody.md +++ /dev/null @@ -1,35 +0,0 @@ -# GetProjectEnvResponseBody - - -## Supported Types - -### `operations.GetProjectEnvResponseBody1` - -```typescript -const value: operations.GetProjectEnvResponseBody1 = { - decrypted: false, - type: "system", - key: "", -}; -``` - -### `operations.GetProjectEnvResponseBody2` - -```typescript -const value: operations.GetProjectEnvResponseBody2 = { - type: "system", - key: "", - value: "", -}; -``` - -### `operations.GetProjectEnvResponseBody3` - -```typescript -const value: operations.GetProjectEnvResponseBody3 = { - type: "plain", - key: "", - value: "", -}; -``` - diff --git a/docs/models/operations/getprojectenvresponsebody1.md b/docs/models/operations/getprojectenvresponsebody1.md deleted file mode 100644 index f69b3e2a..00000000 --- a/docs/models/operations/getprojectenvresponsebody1.md +++ /dev/null @@ -1,37 +0,0 @@ -# GetProjectEnvResponseBody1 - -## Example Usage - -```typescript -import { GetProjectEnvResponseBody1 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvResponseBody1 = { - decrypted: false, - type: "plain", - key: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `decrypted` | *boolean* | :heavy_check_mark: | N/A | -| `target` | *operations.GetProjectEnvResponseBodyTarget* | :heavy_minus_sign: | N/A | -| `type` | [operations.GetProjectEnvResponseBodyType](../../models/operations/getprojectenvresponsebodytype.md) | :heavy_check_mark: | N/A | -| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `createdBy` | *string* | :heavy_minus_sign: | N/A | -| `updatedBy` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `contentHint` | *operations.GetProjectEnvResponseBodyContentHint* | :heavy_minus_sign: | N/A | -| `internalContentHint` | [operations.GetProjectEnvResponseBodyInternalContentHint](../../models/operations/getprojectenvresponsebodyinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | -| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvresponsebody2.md b/docs/models/operations/getprojectenvresponsebody2.md deleted file mode 100644 index 32b5458f..00000000 --- a/docs/models/operations/getprojectenvresponsebody2.md +++ /dev/null @@ -1,38 +0,0 @@ -# GetProjectEnvResponseBody2 - -## Example Usage - -```typescript -import { GetProjectEnvResponseBody2 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvResponseBody2 = { - type: "encrypted", - key: "", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -| `target` | *operations.GetProjectEnvResponseBodyProjectsTarget* | :heavy_minus_sign: | N/A | -| `type` | [operations.GetProjectEnvResponseBodyProjectsType](../../models/operations/getprojectenvresponsebodyprojectstype.md) | :heavy_check_mark: | N/A | -| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `createdBy` | *string* | :heavy_minus_sign: | N/A | -| `updatedBy` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `contentHint` | *operations.GetProjectEnvResponseBodyProjectsContentHint* | :heavy_minus_sign: | N/A | -| `internalContentHint` | [operations.GetProjectEnvResponseBodyProjectsInternalContentHint](../../models/operations/getprojectenvresponsebodyprojectsinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | -| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | -| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvresponsebody3.md b/docs/models/operations/getprojectenvresponsebody3.md deleted file mode 100644 index e37b3301..00000000 --- a/docs/models/operations/getprojectenvresponsebody3.md +++ /dev/null @@ -1,37 +0,0 @@ -# GetProjectEnvResponseBody3 - -## Example Usage - -```typescript -import { GetProjectEnvResponseBody3 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvResponseBody3 = { - type: "secret", - key: "", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `target` | *operations.GetProjectEnvResponseBodyProjectsResponseTarget* | :heavy_minus_sign: | N/A | -| `type` | [operations.GetProjectEnvResponseBodyProjectsResponseType](../../models/operations/getprojectenvresponsebodyprojectsresponsetype.md) | :heavy_check_mark: | N/A | -| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `createdBy` | *string* | :heavy_minus_sign: | N/A | -| `updatedBy` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `contentHint` | *operations.GetProjectEnvResponseBodyProjectsResponseContentHint* | :heavy_minus_sign: | N/A | -| `internalContentHint` | [operations.GetProjectEnvResponseBodyProjectsResponseInternalContentHint](../../models/operations/getprojectenvresponsebodyprojectsresponseinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | -| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvresponsebodycontenthint.md b/docs/models/operations/getprojectenvresponsebodycontenthint.md deleted file mode 100644 index 5e01784a..00000000 --- a/docs/models/operations/getprojectenvresponsebodycontenthint.md +++ /dev/null @@ -1,143 +0,0 @@ -# GetProjectEnvResponseBodyContentHint - - -## Supported Types - -### `operations.GetProjectEnvContentHint1` - -```typescript -const value: operations.GetProjectEnvContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHint2` - -```typescript -const value: operations.GetProjectEnvContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHint3` - -```typescript -const value: operations.GetProjectEnvContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHint4` - -```typescript -const value: operations.GetProjectEnvContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHint5` - -```typescript -const value: operations.GetProjectEnvContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHint6` - -```typescript -const value: operations.GetProjectEnvContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHint7` - -```typescript -const value: operations.GetProjectEnvContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHint8` - -```typescript -const value: operations.GetProjectEnvContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHint9` - -```typescript -const value: operations.GetProjectEnvContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHint10` - -```typescript -const value: operations.GetProjectEnvContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHint11` - -```typescript -const value: operations.GetProjectEnvContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHint12` - -```typescript -const value: operations.GetProjectEnvContentHint12 = { - type: "postgres-database", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHint13` - -```typescript -const value: operations.GetProjectEnvContentHint13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHint14` - -```typescript -const value: operations.GetProjectEnvContentHint14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -### `operations.GetProjectEnvContentHint15` - -```typescript -const value: operations.GetProjectEnvContentHint15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - diff --git a/docs/models/operations/getprojectenvresponsebodyinternalcontenthint.md b/docs/models/operations/getprojectenvresponsebodyinternalcontenthint.md deleted file mode 100644 index 5d08b1a4..00000000 --- a/docs/models/operations/getprojectenvresponsebodyinternalcontenthint.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetProjectEnvResponseBodyInternalContentHint - -Similar to `contentHints`, but should not be exposed to the user. - -## Example Usage - -```typescript -import { GetProjectEnvResponseBodyInternalContentHint } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvResponseBodyInternalContentHint = { - type: "flags-secret", - encryptedValue: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType](../../models/operations/getprojectenvresponsebodyprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvresponsebodyprojectscontenthint.md b/docs/models/operations/getprojectenvresponsebodyprojectscontenthint.md deleted file mode 100644 index 788d3cf7..00000000 --- a/docs/models/operations/getprojectenvresponsebodyprojectscontenthint.md +++ /dev/null @@ -1,143 +0,0 @@ -# GetProjectEnvResponseBodyProjectsContentHint - - -## Supported Types - -### `operations.GetProjectEnvContentHintProjects1` - -```typescript -const value: operations.GetProjectEnvContentHintProjects1 = { - type: "redis-url", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjects2` - -```typescript -const value: operations.GetProjectEnvContentHintProjects2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjects3` - -```typescript -const value: operations.GetProjectEnvContentHintProjects3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjects4` - -```typescript -const value: operations.GetProjectEnvContentHintProjects4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjects5` - -```typescript -const value: operations.GetProjectEnvContentHintProjects5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjects6` - -```typescript -const value: operations.GetProjectEnvContentHintProjects6 = { - type: "postgres-url", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjects7` - -```typescript -const value: operations.GetProjectEnvContentHintProjects7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjects8` - -```typescript -const value: operations.GetProjectEnvContentHintProjects8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjects9` - -```typescript -const value: operations.GetProjectEnvContentHintProjects9 = { - type: "postgres-user", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjects10` - -```typescript -const value: operations.GetProjectEnvContentHintProjects10 = { - type: "postgres-host", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjects11` - -```typescript -const value: operations.GetProjectEnvContentHintProjects11 = { - type: "postgres-password", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjects12` - -```typescript -const value: operations.GetProjectEnvContentHintProjects12 = { - type: "postgres-database", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjects13` - -```typescript -const value: operations.GetProjectEnvContentHintProjects13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjects14` - -```typescript -const value: operations.GetProjectEnvContentHintProjects14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjects15` - -```typescript -const value: operations.GetProjectEnvContentHintProjects15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - diff --git a/docs/models/operations/getprojectenvresponsebodyprojectsinternalcontenthint.md b/docs/models/operations/getprojectenvresponsebodyprojectsinternalcontenthint.md deleted file mode 100644 index b66c1e94..00000000 --- a/docs/models/operations/getprojectenvresponsebodyprojectsinternalcontenthint.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetProjectEnvResponseBodyProjectsInternalContentHint - -Similar to `contentHints`, but should not be exposed to the user. - -## Example Usage - -```typescript -import { GetProjectEnvResponseBodyProjectsInternalContentHint } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvResponseBodyProjectsInternalContentHint = { - type: "flags-secret", - encryptedValue: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.GetProjectEnvResponseBodyProjectsResponse200Type](../../models/operations/getprojectenvresponsebodyprojectsresponse200type.md) | :heavy_check_mark: | N/A | -| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvresponsebodyprojectsresponsecontenthint.md b/docs/models/operations/getprojectenvresponsebodyprojectsresponsecontenthint.md deleted file mode 100644 index 098e740d..00000000 --- a/docs/models/operations/getprojectenvresponsebodyprojectsresponsecontenthint.md +++ /dev/null @@ -1,143 +0,0 @@ -# GetProjectEnvResponseBodyProjectsResponseContentHint - - -## Supported Types - -### `operations.GetProjectEnvContentHintProjectsResponse1` - -```typescript -const value: operations.GetProjectEnvContentHintProjectsResponse1 = { - type: "redis-url", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjectsResponse2` - -```typescript -const value: operations.GetProjectEnvContentHintProjectsResponse2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjectsResponse3` - -```typescript -const value: operations.GetProjectEnvContentHintProjectsResponse3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjectsResponse4` - -```typescript -const value: operations.GetProjectEnvContentHintProjectsResponse4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjectsResponse5` - -```typescript -const value: operations.GetProjectEnvContentHintProjectsResponse5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjectsResponse6` - -```typescript -const value: operations.GetProjectEnvContentHintProjectsResponse6 = { - type: "postgres-url", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjectsResponse7` - -```typescript -const value: operations.GetProjectEnvContentHintProjectsResponse7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjectsResponse8` - -```typescript -const value: operations.GetProjectEnvContentHintProjectsResponse8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjectsResponse9` - -```typescript -const value: operations.GetProjectEnvContentHintProjectsResponse9 = { - type: "postgres-user", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjectsResponse10` - -```typescript -const value: operations.GetProjectEnvContentHintProjectsResponse10 = { - type: "postgres-host", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjectsResponse11` - -```typescript -const value: operations.GetProjectEnvContentHintProjectsResponse11 = { - type: "postgres-password", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjectsResponse12` - -```typescript -const value: operations.GetProjectEnvContentHintProjectsResponse12 = { - type: "postgres-database", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjectsResponse13` - -```typescript -const value: operations.GetProjectEnvContentHintProjectsResponse13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjectsResponse14` - -```typescript -const value: operations.GetProjectEnvContentHintProjectsResponse14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -### `operations.GetProjectEnvContentHintProjectsResponse15` - -```typescript -const value: operations.GetProjectEnvContentHintProjectsResponse15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - diff --git a/docs/models/operations/getprojectenvresponsebodyprojectsresponseinternalcontenthint.md b/docs/models/operations/getprojectenvresponsebodyprojectsresponseinternalcontenthint.md deleted file mode 100644 index 756cc1ac..00000000 --- a/docs/models/operations/getprojectenvresponsebodyprojectsresponseinternalcontenthint.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetProjectEnvResponseBodyProjectsResponseInternalContentHint - -Similar to `contentHints`, but should not be exposed to the user. - -## Example Usage - -```typescript -import { GetProjectEnvResponseBodyProjectsResponseInternalContentHint } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvResponseBodyProjectsResponseInternalContentHint = { - type: "flags-secret", - encryptedValue: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type](../../models/operations/getprojectenvresponsebodyprojectsresponse200applicationjson3type.md) | :heavy_check_mark: | N/A | -| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvresponsebodyprojectsresponsetarget.md b/docs/models/operations/getprojectenvresponsebodyprojectsresponsetarget.md deleted file mode 100644 index e451b929..00000000 --- a/docs/models/operations/getprojectenvresponsebodyprojectsresponsetarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvResponseBodyProjectsResponseTarget - - -## Supported Types - -### `string[]` - -```typescript -const value: string[] = [ - "", -]; -``` - -### `operations.GetProjectEnvTargetProjectsResponse2` - -```typescript -const value: operations.GetProjectEnvTargetProjectsResponse2 = "development"; -``` - diff --git a/docs/models/operations/getprojectenvresponsebodyprojectstarget.md b/docs/models/operations/getprojectenvresponsebodyprojectstarget.md deleted file mode 100644 index 73b3699c..00000000 --- a/docs/models/operations/getprojectenvresponsebodyprojectstarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvResponseBodyProjectsTarget - - -## Supported Types - -### `operations.GetProjectEnvTargetProjects1[]` - -```typescript -const value: operations.GetProjectEnvTargetProjects1[] = [ - "preview", -]; -``` - -### `operations.GetProjectEnvTargetProjects2` - -```typescript -const value: operations.GetProjectEnvTargetProjects2 = "production"; -``` - diff --git a/docs/models/operations/getprojectenvresponsebodytarget.md b/docs/models/operations/getprojectenvresponsebodytarget.md deleted file mode 100644 index 19f68eaf..00000000 --- a/docs/models/operations/getprojectenvresponsebodytarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectEnvResponseBodyTarget - - -## Supported Types - -### `operations.GetProjectEnvTarget1[]` - -```typescript -const value: operations.GetProjectEnvTarget1[] = [ - "development", -]; -``` - -### `operations.GetProjectEnvTarget2` - -```typescript -const value: operations.GetProjectEnvTarget2 = "preview"; -``` - diff --git a/docs/models/operations/getprojectenvtarget1.md b/docs/models/operations/getprojectenvtarget1.md deleted file mode 100644 index 4f7d1519..00000000 --- a/docs/models/operations/getprojectenvtarget1.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectEnvTarget1 - -## Example Usage - -```typescript -import { GetProjectEnvTarget1 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvTarget1 = "development"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectenvtarget2.md b/docs/models/operations/getprojectenvtarget2.md deleted file mode 100644 index 180242e0..00000000 --- a/docs/models/operations/getprojectenvtarget2.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectEnvTarget2 - -## Example Usage - -```typescript -import { GetProjectEnvTarget2 } from "@vercel/sdk/models/operations/getprojectenv.js"; - -let value: GetProjectEnvTarget2 = "production"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectmembersresponsebody.md b/docs/models/operations/getprojectmembersresponsebody.md deleted file mode 100644 index bcd25f22..00000000 --- a/docs/models/operations/getprojectmembersresponsebody.md +++ /dev/null @@ -1,39 +0,0 @@ -# GetProjectMembersResponseBody - -Paginated list of members for the project. - - -## Supported Types - -### `operations.GetProjectMembersResponseBody1` - -```typescript -const value: operations.GetProjectMembersResponseBody1 = {}; -``` - -### `operations.GetProjectMembersResponseBody2` - -```typescript -const value: operations.GetProjectMembersResponseBody2 = { - members: [ - { - avatar: "123a6c5209bc3778245d011443644c8d27dc2c50", - email: "jane.doe@example.com", - role: "ADMIN", - computedProjectRole: "ADMIN", - uid: "zTuNVUXEAvvnNN3IaqinkyMw", - username: "jane-doe", - name: "Jane Doe", - createdAt: 1588720733602, - teamRole: "CONTRIBUTOR", - }, - ], - pagination: { - hasNext: false, - count: 20, - next: 1540095775951, - prev: 1540095775951, - }, -}; -``` - diff --git a/docs/models/operations/getprojectmembersresponsebody2.md b/docs/models/operations/getprojectmembersresponsebody2.md deleted file mode 100644 index 67cec39c..00000000 --- a/docs/models/operations/getprojectmembersresponsebody2.md +++ /dev/null @@ -1,38 +0,0 @@ -# GetProjectMembersResponseBody2 - -Paginated list of members for the project. - -## Example Usage - -```typescript -import { GetProjectMembersResponseBody2 } from "@vercel/sdk/models/operations/getprojectmembers.js"; - -let value: GetProjectMembersResponseBody2 = { - members: [ - { - avatar: "123a6c5209bc3778245d011443644c8d27dc2c50", - email: "jane.doe@example.com", - role: "ADMIN", - computedProjectRole: "ADMIN", - uid: "zTuNVUXEAvvnNN3IaqinkyMw", - username: "jane-doe", - name: "Jane Doe", - createdAt: 1588720733602, - teamRole: "CONTRIBUTOR", - }, - ], - pagination: { - hasNext: false, - count: 20, - next: 1540095775951, - prev: 1540095775951, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `members` | [operations.ResponseBodyMembers](../../models/operations/responsebodymembers.md)[] | :heavy_check_mark: | N/A | -| `pagination` | [operations.GetProjectMembersResponseBodyPagination](../../models/operations/getprojectmembersresponsebodypagination.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsaction.md b/docs/models/operations/getprojectsaction.md deleted file mode 100644 index 5acf7a8a..00000000 --- a/docs/models/operations/getprojectsaction.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsAction - -## Example Usage - -```typescript -import { GetProjectsAction } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsAction = "log"; -``` - -## Values - -```typescript -"deny" | "challenge" | "log" | "bypass" | "rate_limit" | "redirect" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsalgo.md b/docs/models/operations/getprojectsalgo.md deleted file mode 100644 index 056e8519..00000000 --- a/docs/models/operations/getprojectsalgo.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsAlgo - -## Example Usage - -```typescript -import { GetProjectsAlgo } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsAlgo = "fixed_window"; -``` - -## Values - -```typescript -"fixed_window" | "token_bucket" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsbranchmatcher.md b/docs/models/operations/getprojectsbranchmatcher.md deleted file mode 100644 index c23ef546..00000000 --- a/docs/models/operations/getprojectsbranchmatcher.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsBranchMatcher - -## Example Usage - -```typescript -import { GetProjectsBranchMatcher } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsBranchMatcher = { - type: "endsWith", - pattern: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectsProjectsResponse200ApplicationJSONResponseBodyType](../../models/operations/getprojectsprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | -| `pattern` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectschecksconclusion.md b/docs/models/operations/getprojectschecksconclusion.md deleted file mode 100644 index a8815224..00000000 --- a/docs/models/operations/getprojectschecksconclusion.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsChecksConclusion - -## Example Usage - -```typescript -import { GetProjectsChecksConclusion } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsChecksConclusion = "failed"; -``` - -## Values - -```typescript -"succeeded" | "failed" | "skipped" | "canceled" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectschecksstate.md b/docs/models/operations/getprojectschecksstate.md deleted file mode 100644 index c712acaf..00000000 --- a/docs/models/operations/getprojectschecksstate.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsChecksState - -## Example Usage - -```typescript -import { GetProjectsChecksState } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsChecksState = "registered"; -``` - -## Values - -```typescript -"registered" | "running" | "completed" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthint.md b/docs/models/operations/getprojectscontenthint.md deleted file mode 100644 index c2057ef2..00000000 --- a/docs/models/operations/getprojectscontenthint.md +++ /dev/null @@ -1,143 +0,0 @@ -# GetProjectsContentHint - - -## Supported Types - -### `operations.GetProjectsContentHint1` - -```typescript -const value: operations.GetProjectsContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -### `operations.GetProjectsContentHint2` - -```typescript -const value: operations.GetProjectsContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -### `operations.GetProjectsContentHint3` - -```typescript -const value: operations.GetProjectsContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -### `operations.GetProjectsContentHint4` - -```typescript -const value: operations.GetProjectsContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -### `operations.GetProjectsContentHint5` - -```typescript -const value: operations.GetProjectsContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -### `operations.GetProjectsContentHint6` - -```typescript -const value: operations.GetProjectsContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -### `operations.GetProjectsContentHint7` - -```typescript -const value: operations.GetProjectsContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -### `operations.GetProjectsContentHint8` - -```typescript -const value: operations.GetProjectsContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -### `operations.GetProjectsContentHint9` - -```typescript -const value: operations.GetProjectsContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -### `operations.GetProjectsContentHint10` - -```typescript -const value: operations.GetProjectsContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -### `operations.GetProjectsContentHint11` - -```typescript -const value: operations.GetProjectsContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -### `operations.GetProjectsContentHint12` - -```typescript -const value: operations.GetProjectsContentHint12 = { - type: "postgres-database", - storeId: "", -}; -``` - -### `operations.GetProjectsContentHint13` - -```typescript -const value: operations.GetProjectsContentHint13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -### `operations.GetProjectsContentHint14` - -```typescript -const value: operations.GetProjectsContentHint14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -### `operations.GetProjectsContentHint15` - -```typescript -const value: operations.GetProjectsContentHint15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - diff --git a/docs/models/operations/getprojectscontenthint1.md b/docs/models/operations/getprojectscontenthint1.md deleted file mode 100644 index 9da8cd8b..00000000 --- a/docs/models/operations/getprojectscontenthint1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsContentHint1 - -## Example Usage - -```typescript -import { GetProjectsContentHint1 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectsContentHintType](../../models/operations/getprojectscontenthinttype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthint10.md b/docs/models/operations/getprojectscontenthint10.md deleted file mode 100644 index 380d7458..00000000 --- a/docs/models/operations/getprojectscontenthint10.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsContentHint10 - -## Example Usage - -```typescript -import { GetProjectsContentHint10 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type](../../models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv10type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthint11.md b/docs/models/operations/getprojectscontenthint11.md deleted file mode 100644 index e16c8475..00000000 --- a/docs/models/operations/getprojectscontenthint11.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsContentHint11 - -## Example Usage - -```typescript -import { GetProjectsContentHint11 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type](../../models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv11type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthint12.md b/docs/models/operations/getprojectscontenthint12.md deleted file mode 100644 index b45dae56..00000000 --- a/docs/models/operations/getprojectscontenthint12.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsContentHint12 - -## Example Usage - -```typescript -import { GetProjectsContentHint12 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsContentHint12 = { - type: "postgres-database", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type](../../models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv12type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthint13.md b/docs/models/operations/getprojectscontenthint13.md deleted file mode 100644 index bd867c43..00000000 --- a/docs/models/operations/getprojectscontenthint13.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsContentHint13 - -## Example Usage - -```typescript -import { GetProjectsContentHint13 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsContentHint13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type](../../models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv13type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthint14.md b/docs/models/operations/getprojectscontenthint14.md deleted file mode 100644 index a1ebdfa3..00000000 --- a/docs/models/operations/getprojectscontenthint14.md +++ /dev/null @@ -1,25 +0,0 @@ -# GetProjectsContentHint14 - -## Example Usage - -```typescript -import { GetProjectsContentHint14 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsContentHint14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type](../../models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv14type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthint15.md b/docs/models/operations/getprojectscontenthint15.md deleted file mode 100644 index 394a46b2..00000000 --- a/docs/models/operations/getprojectscontenthint15.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsContentHint15 - -## Example Usage - -```typescript -import { GetProjectsContentHint15 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsContentHint15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type](../../models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv15type.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthint2.md b/docs/models/operations/getprojectscontenthint2.md deleted file mode 100644 index 3e9bf133..00000000 --- a/docs/models/operations/getprojectscontenthint2.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsContentHint2 - -## Example Usage - -```typescript -import { GetProjectsContentHint2 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectsContentHintProjectsType](../../models/operations/getprojectscontenthintprojectstype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthint3.md b/docs/models/operations/getprojectscontenthint3.md deleted file mode 100644 index ff6fc1b1..00000000 --- a/docs/models/operations/getprojectscontenthint3.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsContentHint3 - -## Example Usage - -```typescript -import { GetProjectsContentHint3 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.GetProjectsContentHintProjectsResponseType](../../models/operations/getprojectscontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthint4.md b/docs/models/operations/getprojectscontenthint4.md deleted file mode 100644 index 12a2c4a7..00000000 --- a/docs/models/operations/getprojectscontenthint4.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsContentHint4 - -## Example Usage - -```typescript -import { GetProjectsContentHint4 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.GetProjectsContentHintProjectsResponse200Type](../../models/operations/getprojectscontenthintprojectsresponse200type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthint5.md b/docs/models/operations/getprojectscontenthint5.md deleted file mode 100644 index f61eaa01..00000000 --- a/docs/models/operations/getprojectscontenthint5.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsContentHint5 - -## Example Usage - -```typescript -import { GetProjectsContentHint5 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.GetProjectsContentHintProjectsResponse200ApplicationJSONType](../../models/operations/getprojectscontenthintprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthint6.md b/docs/models/operations/getprojectscontenthint6.md deleted file mode 100644 index 26cfcf4f..00000000 --- a/docs/models/operations/getprojectscontenthint6.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsContentHint6 - -## Example Usage - -```typescript -import { GetProjectsContentHint6 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType](../../models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthint7.md b/docs/models/operations/getprojectscontenthint7.md deleted file mode 100644 index f6694252..00000000 --- a/docs/models/operations/getprojectscontenthint7.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsContentHint7 - -## Example Usage - -```typescript -import { GetProjectsContentHint7 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType](../../models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectstype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthint8.md b/docs/models/operations/getprojectscontenthint8.md deleted file mode 100644 index b744f0f1..00000000 --- a/docs/models/operations/getprojectscontenthint8.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsContentHint8 - -## Example Usage - -```typescript -import { GetProjectsContentHint8 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType](../../models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenvtype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthint9.md b/docs/models/operations/getprojectscontenthint9.md deleted file mode 100644 index 192e6c4b..00000000 --- a/docs/models/operations/getprojectscontenthint9.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsContentHint9 - -## Example Usage - -```typescript -import { GetProjectsContentHint9 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type](../../models/operations/getprojectscontenthintprojectsresponse200applicationjsonresponsebodyprojectsenv9type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectscontenthinttype.md b/docs/models/operations/getprojectscontenthinttype.md deleted file mode 100644 index 6f4aa4ab..00000000 --- a/docs/models/operations/getprojectscontenthinttype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsContentHintType - -## Example Usage - -```typescript -import { GetProjectsContentHintType } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsContentHintType = "redis-url"; -``` - -## Values - -```typescript -"redis-url" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsdeploymenttype.md b/docs/models/operations/getprojectsdeploymenttype.md deleted file mode 100644 index add46568..00000000 --- a/docs/models/operations/getprojectsdeploymenttype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsDeploymentType - -## Example Usage - -```typescript -import { GetProjectsDeploymentType } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsDeploymentType = "all"; -``` - -## Values - -```typescript -"preview" | "all" | "prod_deployment_urls_and_all_previews" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsenv.md b/docs/models/operations/getprojectsenv.md deleted file mode 100644 index d0d423a4..00000000 --- a/docs/models/operations/getprojectsenv.md +++ /dev/null @@ -1,38 +0,0 @@ -# GetProjectsEnv - -## Example Usage - -```typescript -import { GetProjectsEnv } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsEnv = { - type: "encrypted", - key: "", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `target` | *operations.GetProjectsTarget* | :heavy_minus_sign: | N/A | -| `type` | [operations.GetProjectsType](../../models/operations/getprojectstype.md) | :heavy_check_mark: | N/A | -| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `createdBy` | *string* | :heavy_minus_sign: | N/A | -| `updatedBy` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `contentHint` | *operations.GetProjectsContentHint* | :heavy_minus_sign: | N/A | -| `internalContentHint` | [operations.GetProjectsInternalContentHint](../../models/operations/getprojectsinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | -| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | -| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectserl.md b/docs/models/operations/getprojectserl.md deleted file mode 100644 index 0a1d8754..00000000 --- a/docs/models/operations/getprojectserl.md +++ /dev/null @@ -1,25 +0,0 @@ -# GetProjectsErl - -## Example Usage - -```typescript -import { GetProjectsErl } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsErl = { - algo: "token_bucket", - window: 3828.08, - limit: 8953.86, - keys: [ - "", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `algo` | [operations.GetProjectsAlgo](../../models/operations/getprojectsalgo.md) | :heavy_check_mark: | N/A | -| `window` | *number* | :heavy_check_mark: | N/A | -| `limit` | *number* | :heavy_check_mark: | N/A | -| `keys` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsfirewallroutes.md b/docs/models/operations/getprojectsfirewallroutes.md deleted file mode 100644 index fe40d8d9..00000000 --- a/docs/models/operations/getprojectsfirewallroutes.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetProjectsFirewallRoutes - -## Example Usage - -```typescript -import { GetProjectsFirewallRoutes } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsFirewallRoutes = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `src` | *operations.GetProjectsSrc* | :heavy_minus_sign: | N/A | -| `has` | [operations.GetProjectsHas](../../models/operations/getprojectshas.md)[] | :heavy_minus_sign: | N/A | -| `missing` | [operations.GetProjectsMissing](../../models/operations/getprojectsmissing.md)[] | :heavy_minus_sign: | N/A | -| `dest` | *string* | :heavy_minus_sign: | N/A | -| `status` | *number* | :heavy_minus_sign: | N/A | -| `handle` | [operations.GetProjectsHandle](../../models/operations/getprojectshandle.md) | :heavy_minus_sign: | N/A | -| `mitigate` | [operations.GetProjectsMitigate](../../models/operations/getprojectsmitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsfunctiondefaultmemorytype.md b/docs/models/operations/getprojectsfunctiondefaultmemorytype.md deleted file mode 100644 index 730025f1..00000000 --- a/docs/models/operations/getprojectsfunctiondefaultmemorytype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsFunctionDefaultMemoryType - -## Example Usage - -```typescript -import { GetProjectsFunctionDefaultMemoryType } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsFunctionDefaultMemoryType = "standard_legacy"; -``` - -## Values - -```typescript -"standard_legacy" | "standard" | "performance" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectshandle.md b/docs/models/operations/getprojectshandle.md deleted file mode 100644 index d87fa7d0..00000000 --- a/docs/models/operations/getprojectshandle.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsHandle - -## Example Usage - -```typescript -import { GetProjectsHandle } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsHandle = "init"; -``` - -## Values - -```typescript -"init" | "finalize" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectshas.md b/docs/models/operations/getprojectshas.md deleted file mode 100644 index 1adc4d9f..00000000 --- a/docs/models/operations/getprojectshas.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsHas - -## Example Usage - -```typescript -import { GetProjectsHas } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsHas = { - type: "cookie", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType](../../models/operations/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecuritytype.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *operations.GetProjectsValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsinternalcontenthint.md b/docs/models/operations/getprojectsinternalcontenthint.md deleted file mode 100644 index 171f0773..00000000 --- a/docs/models/operations/getprojectsinternalcontenthint.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetProjectsInternalContentHint - -Similar to `contentHints`, but should not be exposed to the user. - -## Example Usage - -```typescript -import { GetProjectsInternalContentHint } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsInternalContentHint = { - type: "flags-secret", - encryptedValue: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType](../../models/operations/getprojectsprojectsresponse200applicationjsonresponsebodyprojectstype.md) | :heavy_check_mark: | N/A | -| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/getprojectsissuermode.md b/docs/models/operations/getprojectsissuermode.md deleted file mode 100644 index 231fce57..00000000 --- a/docs/models/operations/getprojectsissuermode.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetProjectsIssuerMode - -- team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` - -## Example Usage - -```typescript -import { GetProjectsIssuerMode } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsIssuerMode = "global"; -``` - -## Values - -```typescript -"team" | "global" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsjobstatus.md b/docs/models/operations/getprojectsjobstatus.md deleted file mode 100644 index 91b157a7..00000000 --- a/docs/models/operations/getprojectsjobstatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsJobStatus - -## Example Usage - -```typescript -import { GetProjectsJobStatus } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsJobStatus = "pending"; -``` - -## Values - -```typescript -"succeeded" | "failed" | "skipped" | "pending" | "in-progress" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectslastaliasrequest.md b/docs/models/operations/getprojectslastaliasrequest.md deleted file mode 100644 index 3d327b82..00000000 --- a/docs/models/operations/getprojectslastaliasrequest.md +++ /dev/null @@ -1,25 +0,0 @@ -# GetProjectsLastAliasRequest - -## Example Usage - -```typescript -import { GetProjectsLastAliasRequest } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsLastAliasRequest = { - fromDeploymentId: "", - toDeploymentId: "", - jobStatus: "succeeded", - requestedAt: 4492.92, - type: "promote", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `fromDeploymentId` | *string* | :heavy_check_mark: | N/A | -| `toDeploymentId` | *string* | :heavy_check_mark: | N/A | -| `jobStatus` | [operations.GetProjectsJobStatus](../../models/operations/getprojectsjobstatus.md) | :heavy_check_mark: | N/A | -| `requestedAt` | *number* | :heavy_check_mark: | N/A | -| `type` | [operations.GetProjectsProjectsResponse200Type](../../models/operations/getprojectsprojectsresponse200type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectslatestdeployments.md b/docs/models/operations/getprojectslatestdeployments.md deleted file mode 100644 index 3407adfa..00000000 --- a/docs/models/operations/getprojectslatestdeployments.md +++ /dev/null @@ -1,68 +0,0 @@ -# GetProjectsLatestDeployments - -## Example Usage - -```typescript -import { GetProjectsLatestDeployments } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsLatestDeployments = { - id: "", - createdAt: 1871.31, - createdIn: "", - creator: { - email: "Karine.Tillman@hotmail.com", - uid: "", - username: "Stuart.Price", - }, - deploymentHostname: "", - name: "", - plan: "pro", - previewCommentsEnabled: false, - private: false, - readyState: "BUILDING", - type: "LAMBDAS", - url: "https://whimsical-impostor.name", - userId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | | -| `alias` | *string*[] | :heavy_minus_sign: | N/A | | -| `aliasAssigned` | *operations.GetProjectsAliasAssigned* | :heavy_minus_sign: | N/A | | -| `aliasError` | [operations.GetProjectsAliasError](../../models/operations/getprojectsaliaserror.md) | :heavy_minus_sign: | N/A | | -| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | -| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | -| `branchMatcher` | [operations.GetProjectsBranchMatcher](../../models/operations/getprojectsbranchmatcher.md) | :heavy_minus_sign: | N/A | | -| `buildingAt` | *number* | :heavy_minus_sign: | N/A | | -| `builds` | [operations.GetProjectsBuilds](../../models/operations/getprojectsbuilds.md)[] | :heavy_minus_sign: | N/A | | -| `checksConclusion` | [operations.GetProjectsChecksConclusion](../../models/operations/getprojectschecksconclusion.md) | :heavy_minus_sign: | N/A | | -| `checksState` | [operations.GetProjectsChecksState](../../models/operations/getprojectschecksstate.md) | :heavy_minus_sign: | N/A | | -| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | -| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | -| `createdAt` | *number* | :heavy_check_mark: | N/A | | -| `createdIn` | *string* | :heavy_check_mark: | N/A | | -| `creator` | [operations.GetProjectsCreator](../../models/operations/getprojectscreator.md) | :heavy_check_mark: | N/A | | -| `deletedAt` | *number* | :heavy_minus_sign: | N/A | | -| `deploymentHostname` | *string* | :heavy_check_mark: | N/A | | -| `forced` | *boolean* | :heavy_minus_sign: | N/A | | -| `name` | *string* | :heavy_check_mark: | N/A | | -| `meta` | Record | :heavy_minus_sign: | N/A | | -| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | -| `oidcTokenClaims` | [operations.GetProjectsOidcTokenClaims](../../models/operations/getprojectsoidctokenclaims.md) | :heavy_minus_sign: | N/A | | -| `plan` | [operations.GetProjectsPlan](../../models/operations/getprojectsplan.md) | :heavy_check_mark: | N/A | | -| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | -| `private` | *boolean* | :heavy_check_mark: | N/A | | -| `readyAt` | *number* | :heavy_minus_sign: | N/A | | -| `readyState` | [operations.GetProjectsReadyState](../../models/operations/getprojectsreadystate.md) | :heavy_check_mark: | N/A | | -| `readySubstate` | [operations.GetProjectsReadySubstate](../../models/operations/getprojectsreadysubstate.md) | :heavy_minus_sign: | N/A | | -| `requestedAt` | *number* | :heavy_minus_sign: | N/A | | -| `target` | *string* | :heavy_minus_sign: | N/A | | -| `teamId` | *string* | :heavy_minus_sign: | N/A | | -| `type` | [operations.GetProjectsProjectsType](../../models/operations/getprojectsprojectstype.md) | :heavy_check_mark: | N/A | | -| `url` | *string* | :heavy_check_mark: | N/A | | -| `userId` | *string* | :heavy_check_mark: | N/A | | -| `withCache` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/getprojectslink.md b/docs/models/operations/getprojectslink.md deleted file mode 100644 index 2f5b99ac..00000000 --- a/docs/models/operations/getprojectslink.md +++ /dev/null @@ -1,50 +0,0 @@ -# GetProjectsLink - - -## Supported Types - -### `operations.GetProjectsLink1` - -```typescript -const value: operations.GetProjectsLink1 = { - deployHooks: [ - { - id: "", - name: "", - ref: "", - url: "https://lanky-ferret.biz", - }, - ], -}; -``` - -### `operations.GetProjectsLink2` - -```typescript -const value: operations.GetProjectsLink2 = { - deployHooks: [ - { - id: "", - name: "", - ref: "", - url: "https://animated-advertisement.info", - }, - ], -}; -``` - -### `operations.GetProjectsLink3` - -```typescript -const value: operations.GetProjectsLink3 = { - deployHooks: [ - { - id: "", - name: "", - ref: "", - url: "https://failing-dead.biz/", - }, - ], -}; -``` - diff --git a/docs/models/operations/getprojectslink3.md b/docs/models/operations/getprojectslink3.md deleted file mode 100644 index 1f671534..00000000 --- a/docs/models/operations/getprojectslink3.md +++ /dev/null @@ -1,35 +0,0 @@ -# GetProjectsLink3 - -## Example Usage - -```typescript -import { GetProjectsLink3 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsLink3 = { - deployHooks: [ - { - id: "", - name: "", - ref: "", - url: "https://untrue-singing.com", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `slug` | *string* | :heavy_minus_sign: | N/A | -| `owner` | *string* | :heavy_minus_sign: | N/A | -| `type` | [operations.GetProjectsLinkProjectsResponseType](../../models/operations/getprojectslinkprojectsresponsetype.md) | :heavy_minus_sign: | N/A | -| `uuid` | *string* | :heavy_minus_sign: | N/A | -| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `deployHooks` | [operations.GetProjectsLinkProjectsResponseDeployHooks](../../models/operations/getprojectslinkprojectsresponsedeployhooks.md)[] | :heavy_check_mark: | N/A | -| `gitCredentialId` | *string* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `sourceless` | *boolean* | :heavy_minus_sign: | N/A | -| `productionBranch` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectslinktype.md b/docs/models/operations/getprojectslinktype.md deleted file mode 100644 index 49e8d07f..00000000 --- a/docs/models/operations/getprojectslinktype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsLinkType - -## Example Usage - -```typescript -import { GetProjectsLinkType } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsLinkType = "github"; -``` - -## Values - -```typescript -"github" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsmissing.md b/docs/models/operations/getprojectsmissing.md deleted file mode 100644 index 5ef3b1fe..00000000 --- a/docs/models/operations/getprojectsmissing.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsMissing - -## Example Usage - -```typescript -import { GetProjectsMissing } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsMissing = { - type: "header", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType](../../models/operations/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecurityfirewallroutestype.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *operations.GetProjectsProjectsValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsmitigate.md b/docs/models/operations/getprojectsmitigate.md deleted file mode 100644 index 015739b6..00000000 --- a/docs/models/operations/getprojectsmitigate.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetProjectsMitigate - -## Example Usage - -```typescript -import { GetProjectsMitigate } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsMitigate = { - action: "redirect", - ruleId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `action` | [operations.GetProjectsAction](../../models/operations/getprojectsaction.md) | :heavy_check_mark: | N/A | -| `ruleId` | *string* | :heavy_check_mark: | N/A | -| `ttl` | *number* | :heavy_minus_sign: | N/A | -| `erl` | [operations.GetProjectsErl](../../models/operations/getprojectserl.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsnodeversion.md b/docs/models/operations/getprojectsnodeversion.md deleted file mode 100644 index 4c3c0d89..00000000 --- a/docs/models/operations/getprojectsnodeversion.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsNodeVersion - -## Example Usage - -```typescript -import { GetProjectsNodeVersion } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsNodeVersion = "22.x"; -``` - -## Values - -```typescript -"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsoidctokenconfig.md b/docs/models/operations/getprojectsoidctokenconfig.md deleted file mode 100644 index bcee02d8..00000000 --- a/docs/models/operations/getprojectsoidctokenconfig.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetProjectsOidcTokenConfig - -## Example Usage - -```typescript -import { GetProjectsOidcTokenConfig } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsOidcTokenConfig = { - enabled: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | -| `issuerMode` | [operations.GetProjectsIssuerMode](../../models/operations/getprojectsissuermode.md) | :heavy_minus_sign: | - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` | \ No newline at end of file diff --git a/docs/models/operations/getprojectsoptionsallowlist.md b/docs/models/operations/getprojectsoptionsallowlist.md deleted file mode 100644 index 89b34577..00000000 --- a/docs/models/operations/getprojectsoptionsallowlist.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetProjectsOptionsAllowlist - -## Example Usage - -```typescript -import { GetProjectsOptionsAllowlist } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsOptionsAllowlist = { - paths: [ - { - value: "", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `paths` | [operations.GetProjectsPaths](../../models/operations/getprojectspaths.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectspermissions.md b/docs/models/operations/getprojectspermissions.md deleted file mode 100644 index 00292da0..00000000 --- a/docs/models/operations/getprojectspermissions.md +++ /dev/null @@ -1,196 +0,0 @@ -# GetProjectsPermissions - -## Example Usage - -```typescript -import { GetProjectsPermissions } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsPermissions = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `accessGroup` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `aliasGlobal` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `analyticsSampling` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `analyticsUsage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `auditLog` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingAddress` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingInformation` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingInvoice` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingInvoiceEmailRecipient` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingInvoiceLanguage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingPlan` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingPurchaseOrder` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingTaxId` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `blob` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `budget` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `cacheArtifact` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `cacheArtifactUsageEvent` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `codeChecks` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `concurrentBuilds` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `connect` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `connectConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domain` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainAcceptDelegation` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainAuthCodes` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainCertificate` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainCheckConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainMove` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainPurchase` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainRecord` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainTransferIn` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `event` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `ownEvent` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sensitiveEnvironmentVariablePolicy` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `fileUpload` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `gitRepository` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `ipBlocking` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationAccount` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationConfigurationTransfer` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationConfigurationProjects` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationVercelConfigurationOverride` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationConfigurationRole` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationResource` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationEvent` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationResourceSecrets` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationDeploymentAction` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceInstallationMember` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceBillingData` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceInvoice` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `jobGlobal` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `logDrain` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoring` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoringSettings` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoringQuery` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoringChart` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoringAlert` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDeploymentFailed` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainExpire` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainMoved` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainPurchase` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainRenewal` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainTransfer` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainUnverified` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationMonitoringAlert` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationPaymentFailed` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationUsageAlert` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationCustomerBudget` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationStatementOfReasons` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `oauth2Connection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `observabilityConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `openTelemetryEndpoint` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `paymentMethod` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `permissions` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `postgres` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `previewDeploymentSuffix` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `proTrialOnboarding` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sharedEnvVars` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sharedEnvVarsProduction` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `space` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `spaceRun` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `passwordProtectionInvoiceItem` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `rateLimit` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `redis` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `repository` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `remoteCaching` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `samlConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `secret` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `redisStoreTokenSet` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `blobStoreTokenSet` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `postgresStoreTokenSet` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationStoreTokenSet` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationResourceReplCommand` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `storeTransfer` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `supportCase` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `supportCaseComment` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `dataCacheBillingSettings` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `team` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamAccessRequest` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamFellowMembership` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamGitExclusivity` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamInvite` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamInviteCode` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamJoin` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamMicrofrontends` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamOwnMembership` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamOwnMembershipDisconnectSAML` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `token` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `usage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `usageCycle` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `user` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `userConnection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `vpcPeeringConnection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webAnalyticsPlan` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webAuthn` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `edgeConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `edgeConfigItem` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `edgeConfigSchema` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `edgeConfigToken` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webhook` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webhookEvent` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `endpointVerification` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTransferIn` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `oauth2Application` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `aliasProject` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `aliasProtectionBypass` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `productionAliasProtectionBypass` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `connectConfigurationLink` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `dataCacheNamespace` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deployment` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentCheck` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentCheckPreview` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentCheckReRunFromProductionBranch` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentProductionGit` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentV0` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentPreview` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentPrivate` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentPromote` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentRollback` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `environments` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `logs` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `logsPreset` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `passwordProtection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `optionsAllowlist` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `job` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `observabilityData` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `project` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectFromV0` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectAccessGroup` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectAnalyticsSampling` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDeploymentHook` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDomain` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDomainMove` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDomainCheckConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectEnvVars` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectEnvVarsProduction` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectEnvVarsUnownedByIntegration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectFlags` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectId` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectIntegrationConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectLink` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectMember` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectMonitoring` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectPermissions` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectProductionBranch` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTransfer` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTransferOut` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectProtectionBypass` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectUsage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectAnalyticsUsage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectSupportCase` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectSupportCaseComment` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDeploymentExpiration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTier` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `seawallConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `skewProtection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `analytics` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `trustedIps` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webAnalytics` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sharedEnvVarConnection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sonar` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsplan.md b/docs/models/operations/getprojectsplan.md deleted file mode 100644 index bf35e95a..00000000 --- a/docs/models/operations/getprojectsplan.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsPlan - -## Example Usage - -```typescript -import { GetProjectsPlan } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsPlan = "pro"; -``` - -## Values - -```typescript -"pro" | "enterprise" | "hobby" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsprojects.md b/docs/models/operations/getprojectsprojects.md deleted file mode 100644 index 99d71138..00000000 --- a/docs/models/operations/getprojectsprojects.md +++ /dev/null @@ -1,144 +0,0 @@ -# GetProjectsProjects - -## Example Usage - -```typescript -import { GetProjectsProjects } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsProjects = { - accountId: "", - crons: { - enabledAt: 5922.30, - disabledAt: 8967.61, - updatedAt: 4067.33, - deploymentId: "", - definitions: [ - { - host: "vercel.com", - path: "/api/crons/sync-something?hello=world", - schedule: "0 0 * * *", - }, - ], - }, - directoryListing: false, - id: "", - latestDeployments: [ - { - id: "", - createdAt: 5520.78, - createdIn: "", - creator: { - email: "Jacklyn_Franey@gmail.com", - uid: "", - username: "Judy_Hartmann86", - }, - deploymentHostname: "", - name: "", - plan: "pro", - previewCommentsEnabled: false, - private: false, - readyState: "INITIALIZING", - type: "LAMBDAS", - url: "https://guilty-relative.net/", - userId: "", - }, - ], - name: "", - nodeVersion: "14.x", - targets: { - "key": { - id: "", - createdAt: 7105.28, - createdIn: "", - creator: { - email: "Evangeline_Thiel28@gmail.com", - uid: "", - username: "Mercedes_Hintz92", - }, - deploymentHostname: "", - name: "", - plan: "enterprise", - previewCommentsEnabled: false, - private: false, - readyState: "BUILDING", - type: "LAMBDAS", - url: "https://portly-dwell.biz/", - userId: "", - }, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `accountId` | *string* | :heavy_check_mark: | N/A | -| `analytics` | [operations.GetProjectsAnalytics](../../models/operations/getprojectsanalytics.md) | :heavy_minus_sign: | N/A | -| `speedInsights` | [operations.GetProjectsSpeedInsights](../../models/operations/getprojectsspeedinsights.md) | :heavy_minus_sign: | N/A | -| `autoExposeSystemEnvs` | *boolean* | :heavy_minus_sign: | N/A | -| `autoAssignCustomDomains` | *boolean* | :heavy_minus_sign: | N/A | -| `autoAssignCustomDomainsUpdatedBy` | *string* | :heavy_minus_sign: | N/A | -| `buildCommand` | *string* | :heavy_minus_sign: | N/A | -| `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | -| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | -| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `customerSupportCodeVisibility` | *boolean* | :heavy_minus_sign: | N/A | -| `crons` | [operations.GetProjectsCrons](../../models/operations/getprojectscrons.md) | :heavy_minus_sign: | N/A | -| `dataCache` | [operations.GetProjectsDataCache](../../models/operations/getprojectsdatacache.md) | :heavy_minus_sign: | N/A | -| `deploymentExpiration` | [operations.GetProjectsDeploymentExpiration](../../models/operations/getprojectsdeploymentexpiration.md) | :heavy_minus_sign: | N/A | -| `devCommand` | *string* | :heavy_minus_sign: | N/A | -| `directoryListing` | *boolean* | :heavy_check_mark: | N/A | -| `installCommand` | *string* | :heavy_minus_sign: | N/A | -| `env` | [operations.GetProjectsEnv](../../models/operations/getprojectsenv.md)[] | :heavy_minus_sign: | N/A | -| `customEnvironments` | [operations.GetProjectsCustomEnvironments](../../models/operations/getprojectscustomenvironments.md)[] | :heavy_minus_sign: | N/A | -| `framework` | [operations.GetProjectsFramework](../../models/operations/getprojectsframework.md) | :heavy_minus_sign: | N/A | -| `gitForkProtection` | *boolean* | :heavy_minus_sign: | N/A | -| `gitLFS` | *boolean* | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `ipBuckets` | [operations.GetProjectsIpBuckets](../../models/operations/getprojectsipbuckets.md)[] | :heavy_minus_sign: | N/A | -| `latestDeployments` | [operations.GetProjectsLatestDeployments](../../models/operations/getprojectslatestdeployments.md)[] | :heavy_minus_sign: | N/A | -| `link` | *operations.GetProjectsLink* | :heavy_minus_sign: | N/A | -| `microfrontends` | [operations.GetProjectsMicrofrontends](../../models/operations/getprojectsmicrofrontends.md) | :heavy_minus_sign: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `nodeVersion` | [operations.GetProjectsNodeVersion](../../models/operations/getprojectsnodeversion.md) | :heavy_check_mark: | N/A | -| `optionsAllowlist` | [operations.GetProjectsOptionsAllowlist](../../models/operations/getprojectsoptionsallowlist.md) | :heavy_minus_sign: | N/A | -| `outputDirectory` | *string* | :heavy_minus_sign: | N/A | -| `passiveConnectConfigurationId` | *string* | :heavy_minus_sign: | N/A | -| `passwordProtection` | [operations.GetProjectsPasswordProtection](../../models/operations/getprojectspasswordprotection.md) | :heavy_minus_sign: | N/A | -| `productionDeploymentsFastLane` | *boolean* | :heavy_minus_sign: | N/A | -| `publicSource` | *boolean* | :heavy_minus_sign: | N/A | -| `resourceConfig` | [operations.GetProjectsResourceConfig](../../models/operations/getprojectsresourceconfig.md) | :heavy_minus_sign: | N/A | -| `rootDirectory` | *string* | :heavy_minus_sign: | N/A | -| `serverlessFunctionRegion` | *string* | :heavy_minus_sign: | N/A | -| `serverlessFunctionZeroConfigFailover` | *boolean* | :heavy_minus_sign: | N/A | -| `skewProtectionBoundaryAt` | *number* | :heavy_minus_sign: | N/A | -| `skewProtectionMaxAge` | *number* | :heavy_minus_sign: | N/A | -| `skipGitConnectDuringLink` | *boolean* | :heavy_minus_sign: | N/A | -| `sourceFilesOutsideRootDirectory` | *boolean* | :heavy_minus_sign: | N/A | -| `enableAffectedProjectsDeployments` | *boolean* | :heavy_minus_sign: | N/A | -| `ssoProtection` | [operations.GetProjectsSsoProtection](../../models/operations/getprojectsssoprotection.md) | :heavy_minus_sign: | N/A | -| `targets` | Record | :heavy_minus_sign: | N/A | -| `transferCompletedAt` | *number* | :heavy_minus_sign: | N/A | -| `transferStartedAt` | *number* | :heavy_minus_sign: | N/A | -| `transferToAccountId` | *string* | :heavy_minus_sign: | N/A | -| `transferredFromAccountId` | *string* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `live` | *boolean* | :heavy_minus_sign: | N/A | -| `enablePreviewFeedback` | *boolean* | :heavy_minus_sign: | N/A | -| `enableProductionFeedback` | *boolean* | :heavy_minus_sign: | N/A | -| `permissions` | [operations.GetProjectsPermissions](../../models/operations/getprojectspermissions.md) | :heavy_minus_sign: | N/A | -| `lastRollbackTarget` | [operations.GetProjectsLastRollbackTarget](../../models/operations/getprojectslastrollbacktarget.md) | :heavy_minus_sign: | N/A | -| `lastAliasRequest` | [operations.GetProjectsLastAliasRequest](../../models/operations/getprojectslastaliasrequest.md) | :heavy_minus_sign: | N/A | -| `hasFloatingAliases` | *boolean* | :heavy_minus_sign: | N/A | -| `protectionBypass` | Record | :heavy_minus_sign: | N/A | -| `hasActiveBranches` | *boolean* | :heavy_minus_sign: | N/A | -| `trustedIps` | *operations.GetProjectsTrustedIps* | :heavy_minus_sign: | N/A | -| `gitComments` | [operations.GetProjectsGitComments](../../models/operations/getprojectsgitcomments.md) | :heavy_minus_sign: | N/A | -| `paused` | *boolean* | :heavy_minus_sign: | N/A | -| `concurrencyBucketName` | *string* | :heavy_minus_sign: | N/A | -| `webAnalytics` | [operations.GetProjectsWebAnalytics](../../models/operations/getprojectswebanalytics.md) | :heavy_minus_sign: | N/A | -| `security` | [operations.GetProjectsSecurity](../../models/operations/getprojectssecurity.md) | :heavy_minus_sign: | N/A | -| `oidcTokenConfig` | [operations.GetProjectsOidcTokenConfig](../../models/operations/getprojectsoidctokenconfig.md) | :heavy_minus_sign: | N/A | -| `tier` | [operations.GetProjectsTier](../../models/operations/getprojectstier.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsprojectsbranchmatcher.md b/docs/models/operations/getprojectsprojectsbranchmatcher.md deleted file mode 100644 index b7bd84fb..00000000 --- a/docs/models/operations/getprojectsprojectsbranchmatcher.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsProjectsBranchMatcher - -## Example Usage - -```typescript -import { GetProjectsProjectsBranchMatcher } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsProjectsBranchMatcher = { - type: "endsWith", - pattern: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.GetProjectsProjectsResponse200ApplicationJSONType](../../models/operations/getprojectsprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `pattern` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsprojectschecksconclusion.md b/docs/models/operations/getprojectsprojectschecksconclusion.md deleted file mode 100644 index 883992e7..00000000 --- a/docs/models/operations/getprojectsprojectschecksconclusion.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsProjectsChecksConclusion - -## Example Usage - -```typescript -import { GetProjectsProjectsChecksConclusion } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsProjectsChecksConclusion = "skipped"; -``` - -## Values - -```typescript -"succeeded" | "failed" | "skipped" | "canceled" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsprojectschecksstate.md b/docs/models/operations/getprojectsprojectschecksstate.md deleted file mode 100644 index 6fe6cabf..00000000 --- a/docs/models/operations/getprojectsprojectschecksstate.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsProjectsChecksState - -## Example Usage - -```typescript -import { GetProjectsProjectsChecksState } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsProjectsChecksState = "running"; -``` - -## Values - -```typescript -"registered" | "running" | "completed" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsprojectsplan.md b/docs/models/operations/getprojectsprojectsplan.md deleted file mode 100644 index a538f983..00000000 --- a/docs/models/operations/getprojectsprojectsplan.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsProjectsPlan - -## Example Usage - -```typescript -import { GetProjectsProjectsPlan } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsProjectsPlan = "enterprise"; -``` - -## Values - -```typescript -"pro" | "enterprise" | "hobby" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsprojectsreadystate.md b/docs/models/operations/getprojectsprojectsreadystate.md deleted file mode 100644 index 2315bc76..00000000 --- a/docs/models/operations/getprojectsprojectsreadystate.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsProjectsReadyState - -## Example Usage - -```typescript -import { GetProjectsProjectsReadyState } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsProjectsReadyState = "INITIALIZING"; -``` - -## Values - -```typescript -"BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecuritytype.md b/docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecuritytype.md deleted file mode 100644 index 423ca8cb..00000000 --- a/docs/models/operations/getprojectsprojectsresponse200applicationjsonresponsebodyprojectssecuritytype.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType - -## Example Usage - -```typescript -import { GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType = - "region"; -``` - -## Values - -```typescript -"path" | "host" | "method" | "header" | "cookie" | "query" | "ip_address" | "protocol" | "scheme" | "environment" | "region" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsprojectstype.md b/docs/models/operations/getprojectsprojectstype.md deleted file mode 100644 index c3bf97d6..00000000 --- a/docs/models/operations/getprojectsprojectstype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsProjectsType - -## Example Usage - -```typescript -import { GetProjectsProjectsType } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsProjectsType = "LAMBDAS"; -``` - -## Values - -```typescript -"LAMBDAS" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsprojectsvalue.md b/docs/models/operations/getprojectsprojectsvalue.md deleted file mode 100644 index 79982564..00000000 --- a/docs/models/operations/getprojectsprojectsvalue.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetProjectsProjectsValue - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `operations.GetProjectsValueProjects2` - -```typescript -const value: operations.GetProjectsValueProjects2 = {}; -``` - diff --git a/docs/models/operations/getprojectsprotectionbypass.md b/docs/models/operations/getprojectsprotectionbypass.md deleted file mode 100644 index 72bce76c..00000000 --- a/docs/models/operations/getprojectsprotectionbypass.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetProjectsProtectionBypass - -## Example Usage - -```typescript -import { GetProjectsProtectionBypass } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsProtectionBypass = { - createdAt: 8391.89, - createdBy: "", - scope: "automation-bypass", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `createdBy` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.GetProjectsScope](../../models/operations/getprojectsscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsreadystate.md b/docs/models/operations/getprojectsreadystate.md deleted file mode 100644 index c9ea8f4a..00000000 --- a/docs/models/operations/getprojectsreadystate.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsReadyState - -## Example Usage - -```typescript -import { GetProjectsReadyState } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsReadyState = "INITIALIZING"; -``` - -## Values - -```typescript -"BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsreadysubstate.md b/docs/models/operations/getprojectsreadysubstate.md deleted file mode 100644 index 168f636f..00000000 --- a/docs/models/operations/getprojectsreadysubstate.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsReadySubstate - -## Example Usage - -```typescript -import { GetProjectsReadySubstate } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsReadySubstate = "PROMOTED"; -``` - -## Values - -```typescript -"STAGED" | "PROMOTED" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsresourceconfig.md b/docs/models/operations/getprojectsresourceconfig.md deleted file mode 100644 index 4d1a6ed6..00000000 --- a/docs/models/operations/getprojectsresourceconfig.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetProjectsResourceConfig - -## Example Usage - -```typescript -import { GetProjectsResourceConfig } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsResourceConfig = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `functionDefaultTimeout` | *number* | :heavy_minus_sign: | N/A | -| `functionDefaultMemoryType` | [operations.GetProjectsFunctionDefaultMemoryType](../../models/operations/getprojectsfunctiondefaultmemorytype.md) | :heavy_minus_sign: | N/A | -| `allowServerlessConcurrency` | *boolean* | :heavy_minus_sign: | N/A | -| `elasticConcurrencyEnabled` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsscope.md b/docs/models/operations/getprojectsscope.md deleted file mode 100644 index 92257a5e..00000000 --- a/docs/models/operations/getprojectsscope.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsScope - -## Example Usage - -```typescript -import { GetProjectsScope } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsScope = "automation-bypass"; -``` - -## Values - -```typescript -"automation-bypass" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectssecurity.md b/docs/models/operations/getprojectssecurity.md deleted file mode 100644 index 9461cc0e..00000000 --- a/docs/models/operations/getprojectssecurity.md +++ /dev/null @@ -1,25 +0,0 @@ -# GetProjectsSecurity - -## Example Usage - -```typescript -import { GetProjectsSecurity } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsSecurity = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `attackModeEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `attackModeUpdatedAt` | *number* | :heavy_minus_sign: | N/A | -| `firewallEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `firewallUpdatedAt` | *number* | :heavy_minus_sign: | N/A | -| `attackModeActiveUntil` | *number* | :heavy_minus_sign: | N/A | -| `firewallConfigVersion` | *number* | :heavy_minus_sign: | N/A | -| `firewallRoutes` | [operations.GetProjectsFirewallRoutes](../../models/operations/getprojectsfirewallroutes.md)[] | :heavy_minus_sign: | N/A | -| `firewallSeawallEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `ja3Enabled` | *boolean* | :heavy_minus_sign: | N/A | -| `ja4Enabled` | *boolean* | :heavy_minus_sign: | N/A | -| `firewallBypassIps` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectssrc.md b/docs/models/operations/getprojectssrc.md deleted file mode 100644 index ef14e830..00000000 --- a/docs/models/operations/getprojectssrc.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetProjectsSrc - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `operations.GetProjectsSrc2` - -```typescript -const value: operations.GetProjectsSrc2 = {}; -``` - diff --git a/docs/models/operations/getprojectsssoprotection.md b/docs/models/operations/getprojectsssoprotection.md deleted file mode 100644 index d3aaac9c..00000000 --- a/docs/models/operations/getprojectsssoprotection.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetProjectsSsoProtection - -## Example Usage - -```typescript -import { GetProjectsSsoProtection } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsSsoProtection = { - deploymentType: "prod_deployment_urls_and_all_previews", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `deploymentType` | [operations.GetProjectsDeploymentType](../../models/operations/getprojectsdeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectstarget.md b/docs/models/operations/getprojectstarget.md deleted file mode 100644 index ba1a7dda..00000000 --- a/docs/models/operations/getprojectstarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetProjectsTarget - - -## Supported Types - -### `operations.GetProjectsTarget1[]` - -```typescript -const value: operations.GetProjectsTarget1[] = [ - "development", -]; -``` - -### `operations.GetProjectsTarget2` - -```typescript -const value: operations.GetProjectsTarget2 = "development"; -``` - diff --git a/docs/models/operations/getprojectstarget1.md b/docs/models/operations/getprojectstarget1.md deleted file mode 100644 index 9a529d56..00000000 --- a/docs/models/operations/getprojectstarget1.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsTarget1 - -## Example Usage - -```typescript -import { GetProjectsTarget1 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsTarget1 = "development"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectstarget2.md b/docs/models/operations/getprojectstarget2.md deleted file mode 100644 index 2184d05e..00000000 --- a/docs/models/operations/getprojectstarget2.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsTarget2 - -## Example Usage - -```typescript -import { GetProjectsTarget2 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsTarget2 = "production"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectstargets.md b/docs/models/operations/getprojectstargets.md deleted file mode 100644 index 93af1c13..00000000 --- a/docs/models/operations/getprojectstargets.md +++ /dev/null @@ -1,68 +0,0 @@ -# GetProjectsTargets - -## Example Usage - -```typescript -import { GetProjectsTargets } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsTargets = { - id: "", - createdAt: 9249.67, - createdIn: "", - creator: { - email: "Darlene96@gmail.com", - uid: "", - username: "Elenora23", - }, - deploymentHostname: "", - name: "", - plan: "pro", - previewCommentsEnabled: false, - private: false, - readyState: "READY", - type: "LAMBDAS", - url: "https://first-glider.info", - userId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | | -| `alias` | *string*[] | :heavy_minus_sign: | N/A | | -| `aliasAssigned` | *operations.GetProjectsProjectsAliasAssigned* | :heavy_minus_sign: | N/A | | -| `aliasError` | [operations.GetProjectsProjectsAliasError](../../models/operations/getprojectsprojectsaliaserror.md) | :heavy_minus_sign: | N/A | | -| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | -| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | -| `branchMatcher` | [operations.GetProjectsProjectsBranchMatcher](../../models/operations/getprojectsprojectsbranchmatcher.md) | :heavy_minus_sign: | N/A | | -| `buildingAt` | *number* | :heavy_minus_sign: | N/A | | -| `builds` | [operations.GetProjectsProjectsBuilds](../../models/operations/getprojectsprojectsbuilds.md)[] | :heavy_minus_sign: | N/A | | -| `checksConclusion` | [operations.GetProjectsProjectsChecksConclusion](../../models/operations/getprojectsprojectschecksconclusion.md) | :heavy_minus_sign: | N/A | | -| `checksState` | [operations.GetProjectsProjectsChecksState](../../models/operations/getprojectsprojectschecksstate.md) | :heavy_minus_sign: | N/A | | -| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | -| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | -| `createdAt` | *number* | :heavy_check_mark: | N/A | | -| `createdIn` | *string* | :heavy_check_mark: | N/A | | -| `creator` | [operations.GetProjectsProjectsCreator](../../models/operations/getprojectsprojectscreator.md) | :heavy_check_mark: | N/A | | -| `deletedAt` | *number* | :heavy_minus_sign: | N/A | | -| `deploymentHostname` | *string* | :heavy_check_mark: | N/A | | -| `forced` | *boolean* | :heavy_minus_sign: | N/A | | -| `name` | *string* | :heavy_check_mark: | N/A | | -| `meta` | Record | :heavy_minus_sign: | N/A | | -| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | -| `oidcTokenClaims` | [operations.GetProjectsProjectsOidcTokenClaims](../../models/operations/getprojectsprojectsoidctokenclaims.md) | :heavy_minus_sign: | N/A | | -| `plan` | [operations.GetProjectsProjectsPlan](../../models/operations/getprojectsprojectsplan.md) | :heavy_check_mark: | N/A | | -| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | -| `private` | *boolean* | :heavy_check_mark: | N/A | | -| `readyAt` | *number* | :heavy_minus_sign: | N/A | | -| `readyState` | [operations.GetProjectsProjectsReadyState](../../models/operations/getprojectsprojectsreadystate.md) | :heavy_check_mark: | N/A | | -| `readySubstate` | [operations.GetProjectsProjectsReadySubstate](../../models/operations/getprojectsprojectsreadysubstate.md) | :heavy_minus_sign: | N/A | | -| `requestedAt` | *number* | :heavy_minus_sign: | N/A | | -| `target` | *string* | :heavy_minus_sign: | N/A | | -| `teamId` | *string* | :heavy_minus_sign: | N/A | | -| `type` | [operations.GetProjectsProjectsResponseType](../../models/operations/getprojectsprojectsresponsetype.md) | :heavy_check_mark: | N/A | | -| `url` | *string* | :heavy_check_mark: | N/A | | -| `userId` | *string* | :heavy_check_mark: | N/A | | -| `withCache` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/getprojectstier.md b/docs/models/operations/getprojectstier.md deleted file mode 100644 index 1221a83e..00000000 --- a/docs/models/operations/getprojectstier.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsTier - -## Example Usage - -```typescript -import { GetProjectsTier } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsTier = "standard"; -``` - -## Values - -```typescript -"standard" | "advanced" | "critical" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectstrustedips.md b/docs/models/operations/getprojectstrustedips.md deleted file mode 100644 index bd4f0591..00000000 --- a/docs/models/operations/getprojectstrustedips.md +++ /dev/null @@ -1,27 +0,0 @@ -# GetProjectsTrustedIps - - -## Supported Types - -### `operations.GetProjectsTrustedIps1` - -```typescript -const value: operations.GetProjectsTrustedIps1 = { - deploymentType: "prod_deployment_urls_and_all_previews", - addresses: [ - { - value: "", - }, - ], - protectionMode: "exclusive", -}; -``` - -### `operations.GetProjectsTrustedIps2` - -```typescript -const value: operations.GetProjectsTrustedIps2 = { - deploymentType: "prod_deployment_urls_and_all_previews", -}; -``` - diff --git a/docs/models/operations/getprojectstrustedips1.md b/docs/models/operations/getprojectstrustedips1.md deleted file mode 100644 index dd238d61..00000000 --- a/docs/models/operations/getprojectstrustedips1.md +++ /dev/null @@ -1,25 +0,0 @@ -# GetProjectsTrustedIps1 - -## Example Usage - -```typescript -import { GetProjectsTrustedIps1 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsTrustedIps1 = { - deploymentType: "prod_deployment_urls_and_all_previews", - addresses: [ - { - value: "", - }, - ], - protectionMode: "exclusive", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `deploymentType` | [operations.GetProjectsTrustedIpsDeploymentType](../../models/operations/getprojectstrustedipsdeploymenttype.md) | :heavy_check_mark: | N/A | -| `addresses` | [operations.GetProjectsTrustedIpsAddresses](../../models/operations/getprojectstrustedipsaddresses.md)[] | :heavy_check_mark: | N/A | -| `protectionMode` | [operations.GetProjectsTrustedIpsProtectionMode](../../models/operations/getprojectstrustedipsprotectionmode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectstrustedips2.md b/docs/models/operations/getprojectstrustedips2.md deleted file mode 100644 index 993f564f..00000000 --- a/docs/models/operations/getprojectstrustedips2.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetProjectsTrustedIps2 - -## Example Usage - -```typescript -import { GetProjectsTrustedIps2 } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsTrustedIps2 = { - deploymentType: "all", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `deploymentType` | [operations.GetProjectsTrustedIpsProjectsDeploymentType](../../models/operations/getprojectstrustedipsprojectsdeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectstype.md b/docs/models/operations/getprojectstype.md deleted file mode 100644 index c53e8d6a..00000000 --- a/docs/models/operations/getprojectstype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetProjectsType - -## Example Usage - -```typescript -import { GetProjectsType } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GetProjectsType = "encrypted"; -``` - -## Values - -```typescript -"system" | "encrypted" | "plain" | "sensitive" | "secret" -``` \ No newline at end of file diff --git a/docs/models/operations/getprojectsvalue.md b/docs/models/operations/getprojectsvalue.md deleted file mode 100644 index f9335df6..00000000 --- a/docs/models/operations/getprojectsvalue.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetProjectsValue - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `operations.GetProjectsValue2` - -```typescript -const value: operations.GetProjectsValue2 = {}; -``` - diff --git a/docs/models/operations/getrecordsresponsebody.md b/docs/models/operations/getrecordsresponsebody.md deleted file mode 100644 index 0ab01073..00000000 --- a/docs/models/operations/getrecordsresponsebody.md +++ /dev/null @@ -1,60 +0,0 @@ -# GetRecordsResponseBody - -Successful response retrieving a list of paginated DNS records. - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `operations.GetRecordsResponseBody2` - -```typescript -const value: operations.GetRecordsResponseBody2 = { - records: [ - { - id: "", - slug: "", - name: "", - type: "TXT", - value: "", - creator: "", - created: 738.26, - updated: 4909.66, - createdAt: 7175.60, - updatedAt: 7381.52, - }, - ], -}; -``` - -### `operations.ResponseBody3` - -```typescript -const value: operations.ResponseBody3 = { - records: [ - { - id: "", - slug: "", - name: "", - type: "NS", - value: "", - creator: "", - created: 7998.65, - updated: 3109.30, - createdAt: 4984.35, - updatedAt: 7017.86, - }, - ], - pagination: { - count: 20, - next: 1540095775951, - prev: 1540095775951, - }, -}; -``` - diff --git a/docs/models/operations/getrecordsresponsebody2.md b/docs/models/operations/getrecordsresponsebody2.md deleted file mode 100644 index b66cf373..00000000 --- a/docs/models/operations/getrecordsresponsebody2.md +++ /dev/null @@ -1,30 +0,0 @@ -# GetRecordsResponseBody2 - -## Example Usage - -```typescript -import { GetRecordsResponseBody2 } from "@vercel/sdk/models/operations/getrecords.js"; - -let value: GetRecordsResponseBody2 = { - records: [ - { - id: "", - slug: "", - name: "", - type: "HTTPS", - value: "", - creator: "", - created: 4283.79, - updated: 9231.59, - createdAt: 1050.95, - updatedAt: 9825.74, - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `records` | [operations.Records](../../models/operations/records.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getrecordsresponsebodytype.md b/docs/models/operations/getrecordsresponsebodytype.md deleted file mode 100644 index 5527087c..00000000 --- a/docs/models/operations/getrecordsresponsebodytype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetRecordsResponseBodyType - -## Example Usage - -```typescript -import { GetRecordsResponseBodyType } from "@vercel/sdk/models/operations/getrecords.js"; - -let value: GetRecordsResponseBodyType = "TXT"; -``` - -## Values - -```typescript -"A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "HTTPS" | "MX" | "SRV" | "TXT" | "NS" -``` \ No newline at end of file diff --git a/docs/models/operations/getteamaccessrequestjoinedfrom.md b/docs/models/operations/getteamaccessrequestjoinedfrom.md deleted file mode 100644 index 331b33f0..00000000 --- a/docs/models/operations/getteamaccessrequestjoinedfrom.md +++ /dev/null @@ -1,29 +0,0 @@ -# GetTeamAccessRequestJoinedFrom - -A map that describes the origin from where the user joined. - -## Example Usage - -```typescript -import { GetTeamAccessRequestJoinedFrom } from "@vercel/sdk/models/operations/getteamaccessrequest.js"; - -let value: GetTeamAccessRequestJoinedFrom = { - origin: "bitbucket", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `origin` | [operations.GetTeamAccessRequestOrigin](../../models/operations/getteamaccessrequestorigin.md) | :heavy_check_mark: | N/A | -| `commitId` | *string* | :heavy_minus_sign: | N/A | -| `repoId` | *string* | :heavy_minus_sign: | N/A | -| `repoPath` | *string* | :heavy_minus_sign: | N/A | -| `gitUserId` | *operations.GetTeamAccessRequestGitUserId* | :heavy_minus_sign: | N/A | -| `gitUserLogin` | *string* | :heavy_minus_sign: | N/A | -| `ssoUserId` | *string* | :heavy_minus_sign: | N/A | -| `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | -| `idpUserId` | *string* | :heavy_minus_sign: | N/A | -| `dsyncUserId` | *string* | :heavy_minus_sign: | N/A | -| `dsyncConnectedAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getteamaccessrequestorigin.md b/docs/models/operations/getteamaccessrequestorigin.md deleted file mode 100644 index ba2a0407..00000000 --- a/docs/models/operations/getteamaccessrequestorigin.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetTeamAccessRequestOrigin - -## Example Usage - -```typescript -import { GetTeamAccessRequestOrigin } from "@vercel/sdk/models/operations/getteamaccessrequest.js"; - -let value: GetTeamAccessRequestOrigin = "organization-teams"; -``` - -## Values - -```typescript -"mail" | "link" | "import" | "teams" | "github" | "gitlab" | "bitbucket" | "saml" | "dsync" | "feedback" | "organization-teams" -``` \ No newline at end of file diff --git a/docs/models/operations/getteamaccessrequestresponsebody.md b/docs/models/operations/getteamaccessrequestresponsebody.md deleted file mode 100644 index cc2ec6e5..00000000 --- a/docs/models/operations/getteamaccessrequestresponsebody.md +++ /dev/null @@ -1,35 +0,0 @@ -# GetTeamAccessRequestResponseBody - -Successfully - -## Example Usage - -```typescript -import { GetTeamAccessRequestResponseBody } from "@vercel/sdk/models/operations/getteamaccessrequest.js"; - -let value: GetTeamAccessRequestResponseBody = { - teamSlug: "my-team", - teamName: "My Team", - confirmed: false, - joinedFrom: { - origin: "teams", - }, - accessRequestedAt: 1588720733602, - github: {}, - gitlab: {}, - bitbucket: {}, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `teamSlug` | *string* | :heavy_check_mark: | The slug of the team. | my-team | -| `teamName` | *string* | :heavy_check_mark: | The name of the team. | My Team | -| `confirmed` | *boolean* | :heavy_check_mark: | Current status of the membership. Will be `true` if confirmed, if pending it'll be `false`. | false | -| `joinedFrom` | [operations.GetTeamAccessRequestJoinedFrom](../../models/operations/getteamaccessrequestjoinedfrom.md) | :heavy_check_mark: | A map that describes the origin from where the user joined. | | -| `accessRequestedAt` | *number* | :heavy_check_mark: | Timestamp in milliseconds when the user requested access to the team. | 1588720733602 | -| `github` | [operations.GetTeamAccessRequestGithub](../../models/operations/getteamaccessrequestgithub.md) | :heavy_check_mark: | Map of the connected GitHub account. | | -| `gitlab` | [operations.GetTeamAccessRequestGitlab](../../models/operations/getteamaccessrequestgitlab.md) | :heavy_check_mark: | Map of the connected GitLab account. | | -| `bitbucket` | [operations.GetTeamAccessRequestBitbucket](../../models/operations/getteamaccessrequestbitbucket.md) | :heavy_check_mark: | Map of the connected Bitbucket account. | | \ No newline at end of file diff --git a/docs/models/operations/getteammembersjoinedfrom.md b/docs/models/operations/getteammembersjoinedfrom.md deleted file mode 100644 index 18639909..00000000 --- a/docs/models/operations/getteammembersjoinedfrom.md +++ /dev/null @@ -1,29 +0,0 @@ -# GetTeamMembersJoinedFrom - -Map with information about the members origin if they joined by requesting access. - -## Example Usage - -```typescript -import { GetTeamMembersJoinedFrom } from "@vercel/sdk/models/operations/getteammembers.js"; - -let value: GetTeamMembersJoinedFrom = { - origin: "dsync", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `origin` | [operations.GetTeamMembersOrigin](../../models/operations/getteammembersorigin.md) | :heavy_check_mark: | N/A | -| `commitId` | *string* | :heavy_minus_sign: | N/A | -| `repoId` | *string* | :heavy_minus_sign: | N/A | -| `repoPath` | *string* | :heavy_minus_sign: | N/A | -| `gitUserId` | *operations.GetTeamMembersGitUserId* | :heavy_minus_sign: | N/A | -| `gitUserLogin` | *string* | :heavy_minus_sign: | N/A | -| `ssoUserId` | *string* | :heavy_minus_sign: | N/A | -| `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | -| `idpUserId` | *string* | :heavy_minus_sign: | N/A | -| `dsyncUserId` | *string* | :heavy_minus_sign: | N/A | -| `dsyncConnectedAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getteammembersmembers.md b/docs/models/operations/getteammembersmembers.md deleted file mode 100644 index 7b64ce18..00000000 --- a/docs/models/operations/getteammembersmembers.md +++ /dev/null @@ -1,38 +0,0 @@ -# GetTeamMembersMembers - -## Example Usage - -```typescript -import { GetTeamMembersMembers } from "@vercel/sdk/models/operations/getteammembers.js"; - -let value: GetTeamMembersMembers = { - avatar: "123a6c5209bc3778245d011443644c8d27dc2c50", - confirmed: true, - email: "jane.doe@example.com", - role: "OWNER", - uid: "zTuNVUXEAvvnNN3IaqinkyMw", - username: "jane-doe", - name: "Jane Doe", - createdAt: 1588720733602, - accessRequestedAt: 1588820733602, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `avatar` | *string* | :heavy_minus_sign: | ID of the file for the Avatar of this member. | 123a6c5209bc3778245d011443644c8d27dc2c50 | -| `confirmed` | *boolean* | :heavy_check_mark: | Boolean that indicates if this member was confirmed by an owner. | true | -| `email` | *string* | :heavy_check_mark: | The email of this member. | jane.doe@example.com | -| `github` | [operations.GetTeamMembersGithub](../../models/operations/getteammembersgithub.md) | :heavy_minus_sign: | Information about the GitHub account for this user. | | -| `gitlab` | [operations.GetTeamMembersGitlab](../../models/operations/getteammembersgitlab.md) | :heavy_minus_sign: | Information about the GitLab account of this user. | | -| `bitbucket` | [operations.GetTeamMembersBitbucket](../../models/operations/getteammembersbitbucket.md) | :heavy_minus_sign: | Information about the Bitbucket account of this user. | | -| `role` | [operations.GetTeamMembersRole](../../models/operations/getteammembersrole.md) | :heavy_check_mark: | Role of this user in the team. | OWNER | -| `uid` | *string* | :heavy_check_mark: | The ID of this user. | zTuNVUXEAvvnNN3IaqinkyMw | -| `username` | *string* | :heavy_check_mark: | The unique username of this user. | jane-doe | -| `name` | *string* | :heavy_minus_sign: | The name of this user. | Jane Doe | -| `createdAt` | *number* | :heavy_check_mark: | Timestamp in milliseconds when this member was added. | 1588720733602 | -| `accessRequestedAt` | *number* | :heavy_minus_sign: | Timestamp in milliseconds for when this team member was accepted by an owner. | 1588820733602 | -| `joinedFrom` | [operations.GetTeamMembersJoinedFrom](../../models/operations/getteammembersjoinedfrom.md) | :heavy_minus_sign: | Map with information about the members origin if they joined by requesting access. | | -| `projects` | [operations.GetTeamMembersProjects](../../models/operations/getteammembersprojects.md)[] | :heavy_minus_sign: | Array of project memberships | | \ No newline at end of file diff --git a/docs/models/operations/getteammembersorigin.md b/docs/models/operations/getteammembersorigin.md deleted file mode 100644 index 6e20d123..00000000 --- a/docs/models/operations/getteammembersorigin.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetTeamMembersOrigin - -## Example Usage - -```typescript -import { GetTeamMembersOrigin } from "@vercel/sdk/models/operations/getteammembers.js"; - -let value: GetTeamMembersOrigin = "organization-teams"; -``` - -## Values - -```typescript -"teams" | "link" | "mail" | "import" | "github" | "gitlab" | "bitbucket" | "saml" | "dsync" | "feedback" | "organization-teams" -``` \ No newline at end of file diff --git a/docs/models/operations/getteammembersprojects.md b/docs/models/operations/getteammembersprojects.md deleted file mode 100644 index 26deec17..00000000 --- a/docs/models/operations/getteammembersprojects.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetTeamMembersProjects - -Array of project memberships - -## Example Usage - -```typescript -import { GetTeamMembersProjects } from "@vercel/sdk/models/operations/getteammembers.js"; - -let value: GetTeamMembersProjects = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `role` | [operations.GetTeamMembersTeamsResponseRole](../../models/operations/getteammembersteamsresponserole.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getteammembersresponsebody.md b/docs/models/operations/getteammembersresponsebody.md deleted file mode 100644 index 73a3764c..00000000 --- a/docs/models/operations/getteammembersresponsebody.md +++ /dev/null @@ -1,37 +0,0 @@ -# GetTeamMembersResponseBody - -## Example Usage - -```typescript -import { GetTeamMembersResponseBody } from "@vercel/sdk/models/operations/getteammembers.js"; - -let value: GetTeamMembersResponseBody = { - members: [ - { - avatar: "123a6c5209bc3778245d011443644c8d27dc2c50", - confirmed: true, - email: "jane.doe@example.com", - role: "OWNER", - uid: "zTuNVUXEAvvnNN3IaqinkyMw", - username: "jane-doe", - name: "Jane Doe", - createdAt: 1588720733602, - accessRequestedAt: 1588820733602, - }, - ], - pagination: { - hasNext: false, - count: 20, - next: 1540095775951, - prev: 1540095775951, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `members` | [operations.GetTeamMembersMembers](../../models/operations/getteammembersmembers.md)[] | :heavy_check_mark: | N/A | -| `emailInviteCodes` | [operations.EmailInviteCodes](../../models/operations/emailinvitecodes.md)[] | :heavy_minus_sign: | N/A | -| `pagination` | [operations.GetTeamMembersPagination](../../models/operations/getteammemberspagination.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getteammembersrole.md b/docs/models/operations/getteammembersrole.md deleted file mode 100644 index cadacb6b..00000000 --- a/docs/models/operations/getteammembersrole.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetTeamMembersRole - -Role of this user in the team. - -## Example Usage - -```typescript -import { GetTeamMembersRole } from "@vercel/sdk/models/operations/getteammembers.js"; - -let value: GetTeamMembersRole = "OWNER"; -``` - -## Values - -```typescript -"OWNER" | "MEMBER" | "DEVELOPER" | "VIEWER" | "BILLING" | "CONTRIBUTOR" -``` \ No newline at end of file diff --git a/docs/models/operations/getteammembersteamsprojects.md b/docs/models/operations/getteammembersteamsprojects.md deleted file mode 100644 index a6dcd8ae..00000000 --- a/docs/models/operations/getteammembersteamsprojects.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetTeamMembersTeamsProjects - -## Example Usage - -```typescript -import { GetTeamMembersTeamsProjects } from "@vercel/sdk/models/operations/getteammembers.js"; - -let value: GetTeamMembersTeamsProjects = "PROJECT_DEVELOPER"; -``` - -## Values - -```typescript -"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_VIEWER" -``` \ No newline at end of file diff --git a/docs/models/operations/getteammembersteamsresponserole.md b/docs/models/operations/getteammembersteamsresponserole.md deleted file mode 100644 index e569de43..00000000 --- a/docs/models/operations/getteammembersteamsresponserole.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetTeamMembersTeamsResponseRole - -## Example Usage - -```typescript -import { GetTeamMembersTeamsResponseRole } from "@vercel/sdk/models/operations/getteammembers.js"; - -let value: GetTeamMembersTeamsResponseRole = "ADMIN"; -``` - -## Values - -```typescript -"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_VIEWER" -``` \ No newline at end of file diff --git a/docs/models/operations/getteammembersteamsrole.md b/docs/models/operations/getteammembersteamsrole.md deleted file mode 100644 index 0b82e2ef..00000000 --- a/docs/models/operations/getteammembersteamsrole.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetTeamMembersTeamsRole - -## Example Usage - -```typescript -import { GetTeamMembersTeamsRole } from "@vercel/sdk/models/operations/getteammembers.js"; - -let value: GetTeamMembersTeamsRole = "DEVELOPER"; -``` - -## Values - -```typescript -"OWNER" | "MEMBER" | "DEVELOPER" | "VIEWER" | "BILLING" | "CONTRIBUTOR" -``` \ No newline at end of file diff --git a/docs/models/operations/getteamsresponsebody.md b/docs/models/operations/getteamsresponsebody.md deleted file mode 100644 index cbf26f7d..00000000 --- a/docs/models/operations/getteamsresponsebody.md +++ /dev/null @@ -1,29 +0,0 @@ -# GetTeamsResponseBody - -A paginated list of teams. - -## Example Usage - -```typescript -import { GetTeamsResponseBody } from "@vercel/sdk/models/operations/getteams.js"; - -let value: GetTeamsResponseBody = { - teams: [ - { - "key": "", - }, - ], - pagination: { - count: 20, - next: 1540095775951, - prev: 1540095775951, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `teams` | *operations.Teams*[] | :heavy_check_mark: | N/A | -| `pagination` | [components.Pagination](../../models/components/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file diff --git a/docs/models/operations/getwebhooksresponsebody1.md b/docs/models/operations/getwebhooksresponsebody1.md deleted file mode 100644 index 612729e0..00000000 --- a/docs/models/operations/getwebhooksresponsebody1.md +++ /dev/null @@ -1,40 +0,0 @@ -# GetWebhooksResponseBody1 - -## Example Usage - -```typescript -import { GetWebhooksResponseBody1 } from "@vercel/sdk/models/operations/getwebhooks.js"; - -let value: GetWebhooksResponseBody1 = { - projectsMetadata: [ - { - id: "", - name: "", - }, - ], - events: [ - "deployment.created", - ], - id: "account_hook_GflD6EYyo7F4ViYS", - url: "https://my-webhook.com", - ownerId: "ZspSRT4ljIEEmMHgoDwKWDei", - createdAt: 1567024758130, - updatedAt: 1567024758130, - projectIds: [ - "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `projectsMetadata` | [operations.ProjectsMetadata](../../models/operations/projectsmetadata.md)[] | :heavy_check_mark: | N/A | | -| `events` | [operations.ResponseBodyEvents](../../models/operations/responsebodyevents.md)[] | :heavy_check_mark: | The webhooks events | deployment.created | -| `id` | *string* | :heavy_check_mark: | The webhook id | account_hook_GflD6EYyo7F4ViYS | -| `url` | *string* | :heavy_check_mark: | A string with the URL of the webhook | https://my-webhook.com | -| `ownerId` | *string* | :heavy_check_mark: | The unique ID of the team the webhook belongs to | ZspSRT4ljIEEmMHgoDwKWDei | -| `createdAt` | *number* | :heavy_check_mark: | A number containing the date when the webhook was created in in milliseconds | 1567024758130 | -| `updatedAt` | *number* | :heavy_check_mark: | A number containing the date when the webhook was updated in in milliseconds | 1567024758130 | -| `projectIds` | *string*[] | :heavy_minus_sign: | The ID of the projects the webhook is associated with | [
"prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB"
] | \ No newline at end of file diff --git a/docs/models/operations/getwebhooksresponsebody2.md b/docs/models/operations/getwebhooksresponsebody2.md deleted file mode 100644 index dbac32af..00000000 --- a/docs/models/operations/getwebhooksresponsebody2.md +++ /dev/null @@ -1,33 +0,0 @@ -# GetWebhooksResponseBody2 - -## Example Usage - -```typescript -import { GetWebhooksResponseBody2 } from "@vercel/sdk/models/operations/getwebhooks.js"; - -let value: GetWebhooksResponseBody2 = { - events: [ - "deployment.created", - ], - id: "account_hook_GflD6EYyo7F4ViYS", - url: "https://my-webhook.com", - ownerId: "ZspSRT4ljIEEmMHgoDwKWDei", - createdAt: 1567024758130, - updatedAt: 1567024758130, - projectIds: [ - "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `events` | [operations.GetWebhooksResponseBodyEvents](../../models/operations/getwebhooksresponsebodyevents.md)[] | :heavy_check_mark: | The webhooks events | deployment.created | -| `id` | *string* | :heavy_check_mark: | The webhook id | account_hook_GflD6EYyo7F4ViYS | -| `url` | *string* | :heavy_check_mark: | A string with the URL of the webhook | https://my-webhook.com | -| `ownerId` | *string* | :heavy_check_mark: | The unique ID of the team the webhook belongs to | ZspSRT4ljIEEmMHgoDwKWDei | -| `createdAt` | *number* | :heavy_check_mark: | A number containing the date when the webhook was created in in milliseconds | 1567024758130 | -| `updatedAt` | *number* | :heavy_check_mark: | A number containing the date when the webhook was updated in in milliseconds | 1567024758130 | -| `projectIds` | *string*[] | :heavy_minus_sign: | The ID of the projects the webhook is associated with | [
"prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB"
] | \ No newline at end of file diff --git a/docs/models/operations/gitaccount.md b/docs/models/operations/gitaccount.md deleted file mode 100644 index 5c392ba1..00000000 --- a/docs/models/operations/gitaccount.md +++ /dev/null @@ -1,19 +0,0 @@ -# GitAccount - -## Example Usage - -```typescript -import { GitAccount } from "@vercel/sdk/models/operations/searchrepo.js"; - -let value: GitAccount = { - provider: "github", - namespaceId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `provider` | [operations.ResponseBodyProvider](../../models/operations/responsebodyprovider.md) | :heavy_check_mark: | N/A | -| `namespaceId` | *operations.ResponseBodyNamespaceId* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitforkprotection.md b/docs/models/operations/gitforkprotection.md deleted file mode 100644 index 3df628fc..00000000 --- a/docs/models/operations/gitforkprotection.md +++ /dev/null @@ -1,17 +0,0 @@ -# GitForkProtection - -Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed - -## Example Usage - -```typescript -import { GitForkProtection } from "@vercel/sdk/models/operations/getprojects.js"; - -let value: GitForkProtection = "1"; -``` - -## Values - -```typescript -"1" | "0" -``` \ No newline at end of file diff --git a/docs/models/operations/gitnamespacesresponsebody.md b/docs/models/operations/gitnamespacesresponsebody.md deleted file mode 100644 index 1ddced6d..00000000 --- a/docs/models/operations/gitnamespacesresponsebody.md +++ /dev/null @@ -1,27 +0,0 @@ -# GitNamespacesResponseBody - -## Example Usage - -```typescript -import { GitNamespacesResponseBody } from "@vercel/sdk/models/operations/gitnamespaces.js"; - -let value: GitNamespacesResponseBody = { - provider: "", - slug: "", - id: 1263.68, - ownerType: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | -| `provider` | *string* | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `id` | *operations.GitNamespacesId* | :heavy_check_mark: | N/A | -| `ownerType` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `isAccessRestricted` | *boolean* | :heavy_minus_sign: | N/A | -| `installationId` | *number* | :heavy_minus_sign: | N/A | -| `requireReauth` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitrepo1.md b/docs/models/operations/gitrepo1.md deleted file mode 100644 index 287cbcf2..00000000 --- a/docs/models/operations/gitrepo1.md +++ /dev/null @@ -1,33 +0,0 @@ -# GitRepo1 - -## Example Usage - -```typescript -import { GitRepo1 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: GitRepo1 = { - namespace: "", - projectId: 752.77, - type: "gitlab", - url: "https://honorable-rubric.net/", - path: "/usr/bin", - defaultBranch: "", - name: "", - private: false, - ownerType: "user", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `namespace` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *number* | :heavy_check_mark: | N/A | -| `type` | [operations.GitRepoType](../../models/operations/gitrepotype.md) | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | -| `path` | *string* | :heavy_check_mark: | N/A | -| `defaultBranch` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `private` | *boolean* | :heavy_check_mark: | N/A | -| `ownerType` | [operations.OwnerType](../../models/operations/ownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitrepo2.md b/docs/models/operations/gitrepo2.md deleted file mode 100644 index a34060b1..00000000 --- a/docs/models/operations/gitrepo2.md +++ /dev/null @@ -1,35 +0,0 @@ -# GitRepo2 - -## Example Usage - -```typescript -import { GitRepo2 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: GitRepo2 = { - org: "", - repo: "", - repoId: 2958.92, - type: "github", - repoOwnerId: 3032.92, - path: "/opt", - defaultBranch: "", - name: "", - private: false, - ownerType: "user", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `org` | *string* | :heavy_check_mark: | N/A | -| `repo` | *string* | :heavy_check_mark: | N/A | -| `repoId` | *number* | :heavy_check_mark: | N/A | -| `type` | [operations.CreateDeploymentGitRepoType](../../models/operations/createdeploymentgitrepotype.md) | :heavy_check_mark: | N/A | -| `repoOwnerId` | *number* | :heavy_check_mark: | N/A | -| `path` | *string* | :heavy_check_mark: | N/A | -| `defaultBranch` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `private` | *boolean* | :heavy_check_mark: | N/A | -| `ownerType` | [operations.GitRepoOwnerType](../../models/operations/gitrepoownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitrepo3.md b/docs/models/operations/gitrepo3.md deleted file mode 100644 index f66fc1b8..00000000 --- a/docs/models/operations/gitrepo3.md +++ /dev/null @@ -1,35 +0,0 @@ -# GitRepo3 - -## Example Usage - -```typescript -import { GitRepo3 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: GitRepo3 = { - owner: "", - repoUuid: "", - slug: "", - type: "bitbucket", - workspaceUuid: "", - path: "/opt/bin", - defaultBranch: "", - name: "", - private: false, - ownerType: "team", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `owner` | *string* | :heavy_check_mark: | N/A | -| `repoUuid` | *string* | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `type` | [operations.CreateDeploymentGitRepoDeploymentsType](../../models/operations/createdeploymentgitrepodeploymentstype.md) | :heavy_check_mark: | N/A | -| `workspaceUuid` | *string* | :heavy_check_mark: | N/A | -| `path` | *string* | :heavy_check_mark: | N/A | -| `defaultBranch` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `private` | *boolean* | :heavy_check_mark: | N/A | -| `ownerType` | [operations.CreateDeploymentGitRepoOwnerType](../../models/operations/createdeploymentgitrepoownertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitrepoownertype.md b/docs/models/operations/gitrepoownertype.md deleted file mode 100644 index 7eeeb8cc..00000000 --- a/docs/models/operations/gitrepoownertype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GitRepoOwnerType - -## Example Usage - -```typescript -import { GitRepoOwnerType } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: GitRepoOwnerType = "user"; -``` - -## Values - -```typescript -"team" | "user" -``` \ No newline at end of file diff --git a/docs/models/operations/gitrepository.md b/docs/models/operations/gitrepository.md deleted file mode 100644 index 862b8f3e..00000000 --- a/docs/models/operations/gitrepository.md +++ /dev/null @@ -1,21 +0,0 @@ -# GitRepository - -The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed - -## Example Usage - -```typescript -import { GitRepository } from "@vercel/sdk/models/operations/createproject.js"; - -let value: GitRepository = { - repo: "", - type: "bitbucket", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `repo` | *string* | :heavy_check_mark: | The name of the git repository. For example: \"vercel/next.js\" | -| `type` | [operations.CreateProjectProjectsType](../../models/operations/createprojectprojectstype.md) | :heavy_check_mark: | The Git Provider of the repository | \ No newline at end of file diff --git a/docs/models/operations/gitrepotype.md b/docs/models/operations/gitrepotype.md deleted file mode 100644 index f8791814..00000000 --- a/docs/models/operations/gitrepotype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GitRepoType - -## Example Usage - -```typescript -import { GitRepoType } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: GitRepoType = "gitlab"; -``` - -## Values - -```typescript -"gitlab" -``` \ No newline at end of file diff --git a/docs/models/operations/gitsource.md b/docs/models/operations/gitsource.md deleted file mode 100644 index 04579c4c..00000000 --- a/docs/models/operations/gitsource.md +++ /dev/null @@ -1,59 +0,0 @@ -# GitSource - -Defines the Git Repository source to be deployed. This property can not be used in combination with `files`. - - -## Supported Types - -### `operations.One` - -```typescript -const value: operations.One = { - ref: "", - repoId: 3203.26, - type: "github", -}; -``` - -### `operations.Two` - -```typescript -const value: operations.Two = { - org: "", - ref: "", - repo: "", - type: "github", -}; -``` - -### `operations.Three` - -```typescript -const value: operations.Three = { - projectId: "", - ref: "", - type: "gitlab", -}; -``` - -### `operations.Four` - -```typescript -const value: operations.Four = { - ref: "", - repoUuid: "", - type: "bitbucket", -}; -``` - -### `operations.Five` - -```typescript -const value: operations.Five = { - owner: "", - ref: "", - slug: "", - type: "bitbucket", -}; -``` - diff --git a/docs/models/operations/gitsource1.md b/docs/models/operations/gitsource1.md deleted file mode 100644 index 7e49b3ee..00000000 --- a/docs/models/operations/gitsource1.md +++ /dev/null @@ -1,22 +0,0 @@ -# GitSource1 - -## Example Usage - -```typescript -import { GitSource1 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: GitSource1 = { - type: "github", - repoId: 8830.78, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateDeploymentGitSourceDeploymentsResponseType](../../models/operations/createdeploymentgitsourcedeploymentsresponsetype.md) | :heavy_check_mark: | N/A | -| `repoId` | *operations.GitSourceRepoId* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitsource2.md b/docs/models/operations/gitsource2.md deleted file mode 100644 index 08346417..00000000 --- a/docs/models/operations/gitsource2.md +++ /dev/null @@ -1,24 +0,0 @@ -# GitSource2 - -## Example Usage - -```typescript -import { GitSource2 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: GitSource2 = { - type: "github", - org: "", - repo: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateDeploymentGitSourceDeploymentsResponse200Type](../../models/operations/createdeploymentgitsourcedeploymentsresponse200type.md) | :heavy_check_mark: | N/A | -| `org` | *string* | :heavy_check_mark: | N/A | -| `repo` | *string* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitsource3.md b/docs/models/operations/gitsource3.md deleted file mode 100644 index 013fbbd8..00000000 --- a/docs/models/operations/gitsource3.md +++ /dev/null @@ -1,22 +0,0 @@ -# GitSource3 - -## Example Usage - -```typescript -import { GitSource3 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: GitSource3 = { - type: "gitlab", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType](../../models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `projectId` | *operations.GitSourceProjectId* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitsource4.md b/docs/models/operations/gitsource4.md deleted file mode 100644 index 7f6e6ddf..00000000 --- a/docs/models/operations/gitsource4.md +++ /dev/null @@ -1,23 +0,0 @@ -# GitSource4 - -## Example Usage - -```typescript -import { GitSource4 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: GitSource4 = { - type: "bitbucket", - repoUuid: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType](../../models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | -| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | -| `repoUuid` | *string* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitsource5.md b/docs/models/operations/gitsource5.md deleted file mode 100644 index 46616a46..00000000 --- a/docs/models/operations/gitsource5.md +++ /dev/null @@ -1,24 +0,0 @@ -# GitSource5 - -## Example Usage - -```typescript -import { GitSource5 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: GitSource5 = { - type: "bitbucket", - owner: "", - slug: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type](../../models/operations/createdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody5type.md) | :heavy_check_mark: | N/A | -| `owner` | *string* | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `prId` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitsource6.md b/docs/models/operations/gitsource6.md deleted file mode 100644 index 7ef8d444..00000000 --- a/docs/models/operations/gitsource6.md +++ /dev/null @@ -1,25 +0,0 @@ -# GitSource6 - -Allows custom git sources (local folder mounted to the container) in test mode - -## Example Usage - -```typescript -import { GitSource6 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: GitSource6 = { - type: "custom", - ref: "", - sha: "", - gitUrl: "https://close-airman.org", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType](../../models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `gitUrl` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitsource7.md b/docs/models/operations/gitsource7.md deleted file mode 100644 index daf1c46d..00000000 --- a/docs/models/operations/gitsource7.md +++ /dev/null @@ -1,25 +0,0 @@ -# GitSource7 - -## Example Usage - -```typescript -import { GitSource7 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: GitSource7 = { - type: "github", - ref: "", - sha: "", - repoId: 9903.69, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type](../../models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody7type.md) | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `repoId` | *number* | :heavy_check_mark: | N/A | -| `org` | *string* | :heavy_minus_sign: | N/A | -| `repo` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitsource8.md b/docs/models/operations/gitsource8.md deleted file mode 100644 index 099f872c..00000000 --- a/docs/models/operations/gitsource8.md +++ /dev/null @@ -1,23 +0,0 @@ -# GitSource8 - -## Example Usage - -```typescript -import { GitSource8 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: GitSource8 = { - type: "gitlab", - ref: "", - sha: "", - projectId: 4871.48, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type](../../models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody8type.md) | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitsource9.md b/docs/models/operations/gitsource9.md deleted file mode 100644 index 82ad58f8..00000000 --- a/docs/models/operations/gitsource9.md +++ /dev/null @@ -1,27 +0,0 @@ -# GitSource9 - -## Example Usage - -```typescript -import { GitSource9 } from "@vercel/sdk/models/operations/canceldeployment.js"; - -let value: GitSource9 = { - type: "bitbucket", - ref: "", - sha: "", - workspaceUuid: "", - repoUuid: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type](../../models/operations/canceldeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody9type.md) | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `owner` | *string* | :heavy_minus_sign: | N/A | -| `slug` | *string* | :heavy_minus_sign: | N/A | -| `workspaceUuid` | *string* | :heavy_check_mark: | N/A | -| `repoUuid` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gitsourcetype.md b/docs/models/operations/gitsourcetype.md deleted file mode 100644 index f28a1cac..00000000 --- a/docs/models/operations/gitsourcetype.md +++ /dev/null @@ -1,15 +0,0 @@ -# GitSourceType - -## Example Usage - -```typescript -import { GitSourceType } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: GitSourceType = "github"; -``` - -## Values - -```typescript -"github" -``` \ No newline at end of file diff --git a/docs/models/operations/gituserid.md b/docs/models/operations/gituserid.md deleted file mode 100644 index 05ab0018..00000000 --- a/docs/models/operations/gituserid.md +++ /dev/null @@ -1,19 +0,0 @@ -# GitUserId - -The ID of the Git account of the user who requests access. - - -## Supported Types - -### `string` - -```typescript -const value: string = "103053343"; -``` - -### `number` - -```typescript -const value: number = 103053343; -``` - diff --git a/docs/models/operations/handle.md b/docs/models/operations/handle.md deleted file mode 100644 index 3ce8da11..00000000 --- a/docs/models/operations/handle.md +++ /dev/null @@ -1,15 +0,0 @@ -# Handle - -## Example Usage - -```typescript -import { Handle } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: Handle = "init"; -``` - -## Values - -```typescript -"init" | "finalize" -``` \ No newline at end of file diff --git a/docs/models/operations/has.md b/docs/models/operations/has.md deleted file mode 100644 index cdd5e872..00000000 --- a/docs/models/operations/has.md +++ /dev/null @@ -1,19 +0,0 @@ -# Has - -## Example Usage - -```typescript -import { Has } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: Has = { - type: "environment", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType](../../models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecuritytype.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *operations.UpdateProjectDataCacheProjectsValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/has1.md b/docs/models/operations/has1.md deleted file mode 100644 index ab082504..00000000 --- a/docs/models/operations/has1.md +++ /dev/null @@ -1,19 +0,0 @@ -# Has1 - -## Example Usage - -```typescript -import { Has1 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: Has1 = { - type: "host", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `type` | [operations.HasType](../../models/operations/hastype.md) | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/has2.md b/docs/models/operations/has2.md deleted file mode 100644 index f8f64221..00000000 --- a/docs/models/operations/has2.md +++ /dev/null @@ -1,20 +0,0 @@ -# Has2 - -## Example Usage - -```typescript -import { Has2 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: Has2 = { - type: "cookie", - key: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `type` | [operations.CreateDeploymentHasType](../../models/operations/createdeploymenthastype.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/hastype.md b/docs/models/operations/hastype.md deleted file mode 100644 index 6dcd2173..00000000 --- a/docs/models/operations/hastype.md +++ /dev/null @@ -1,15 +0,0 @@ -# HasType - -## Example Usage - -```typescript -import { HasType } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: HasType = "host"; -``` - -## Values - -```typescript -"host" -``` \ No newline at end of file diff --git a/docs/models/operations/id.md b/docs/models/operations/id.md deleted file mode 100644 index 2cbd3069..00000000 --- a/docs/models/operations/id.md +++ /dev/null @@ -1,15 +0,0 @@ -# Id - -## Example Usage - -```typescript -import { Id } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: Id = "rfi"; -``` - -## Values - -```typescript -"sd" | "ma" | "lfi" | "rfi" | "rce" | "php" | "gen" | "xss" | "sqli" | "sf" | "java" -``` \ No newline at end of file diff --git a/docs/models/operations/installationtype.md b/docs/models/operations/installationtype.md deleted file mode 100644 index 8739ca95..00000000 --- a/docs/models/operations/installationtype.md +++ /dev/null @@ -1,15 +0,0 @@ -# InstallationType - -## Example Usage - -```typescript -import { InstallationType } from "@vercel/sdk/models/operations/getconfigurations.js"; - -let value: InstallationType = "external"; -``` - -## Values - -```typescript -"marketplace" | "external" -``` \ No newline at end of file diff --git a/docs/models/operations/integrations.md b/docs/models/operations/integrations.md deleted file mode 100644 index 48bfe4d8..00000000 --- a/docs/models/operations/integrations.md +++ /dev/null @@ -1,22 +0,0 @@ -# Integrations - -## Example Usage - -```typescript -import { Integrations } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: Integrations = { - status: "timeout", - startedAt: 2942.66, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `status` | [operations.CreateDeploymentDeploymentsStatus](../../models/operations/createdeploymentdeploymentsstatus.md) | :heavy_check_mark: | N/A | -| `startedAt` | *number* | :heavy_check_mark: | N/A | -| `completedAt` | *number* | :heavy_minus_sign: | N/A | -| `skippedAt` | *number* | :heavy_minus_sign: | N/A | -| `skippedBy` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/internalcontenthint.md b/docs/models/operations/internalcontenthint.md deleted file mode 100644 index 36bca380..00000000 --- a/docs/models/operations/internalcontenthint.md +++ /dev/null @@ -1,21 +0,0 @@ -# InternalContentHint - -Similar to `contentHints`, but should not be exposed to the user. - -## Example Usage - -```typescript -import { InternalContentHint } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: InternalContentHint = { - type: "flags-secret", - encryptedValue: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType](../../models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | -| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/inviteusertoteamprojects.md b/docs/models/operations/inviteusertoteamprojects.md deleted file mode 100644 index 1679cad0..00000000 --- a/docs/models/operations/inviteusertoteamprojects.md +++ /dev/null @@ -1,19 +0,0 @@ -# InviteUserToTeamProjects - -## Example Usage - -```typescript -import { InviteUserToTeamProjects } from "@vercel/sdk/models/operations/inviteusertoteam.js"; - -let value: InviteUserToTeamProjects = { - projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", - role: "ADMIN", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `projectId` | *string* | :heavy_check_mark: | The ID of the project. | prj_ndlgr43fadlPyCtREAqxxdyFK | -| `role` | [operations.InviteUserToTeamTeamsRole](../../models/operations/inviteusertoteamteamsrole.md) | :heavy_check_mark: | Sets the project roles for the invited user | ADMIN | \ No newline at end of file diff --git a/docs/models/operations/inviteusertoteamrequest.md b/docs/models/operations/inviteusertoteamrequest.md deleted file mode 100644 index 068bad5a..00000000 --- a/docs/models/operations/inviteusertoteamrequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# InviteUserToTeamRequest - -## Example Usage - -```typescript -import { InviteUserToTeamRequest } from "@vercel/sdk/models/operations/inviteusertoteam.js"; - -let value: InviteUserToTeamRequest = { - teamId: "", - requestBody: { - uid: "kr1PsOIzqEL5Xg6M4VZcZosf", - email: "john@example.com", - role: "BILLING", - projects: [ - { - projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", - role: "ADMIN", - }, - ], - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `teamId` | *string* | :heavy_check_mark: | N/A | -| `requestBody` | [operations.InviteUserToTeamRequestBody](../../models/operations/inviteusertoteamrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/inviteusertoteamrequestbody.md b/docs/models/operations/inviteusertoteamrequestbody.md deleted file mode 100644 index 22eda719..00000000 --- a/docs/models/operations/inviteusertoteamrequestbody.md +++ /dev/null @@ -1,28 +0,0 @@ -# InviteUserToTeamRequestBody - -## Example Usage - -```typescript -import { InviteUserToTeamRequestBody } from "@vercel/sdk/models/operations/inviteusertoteam.js"; - -let value: InviteUserToTeamRequestBody = { - uid: "kr1PsOIzqEL5Xg6M4VZcZosf", - email: "john@example.com", - role: "OWNER", - projects: [ - { - projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", - role: "ADMIN", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `uid` | *string* | :heavy_minus_sign: | The id of the user to invite | kr1PsOIzqEL5Xg6M4VZcZosf | -| `email` | *string* | :heavy_minus_sign: | The email address of the user to invite | john@example.com | -| `role` | [operations.InviteUserToTeamRole](../../models/operations/inviteusertoteamrole.md) | :heavy_minus_sign: | The role of the user to invite | [
"MEMBER",
"VIEWER"
] | -| `projects` | [operations.InviteUserToTeamProjects](../../models/operations/inviteusertoteamprojects.md)[] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/inviteusertoteamresponsebody.md b/docs/models/operations/inviteusertoteamresponsebody.md deleted file mode 100644 index 0fad8ae7..00000000 --- a/docs/models/operations/inviteusertoteamresponsebody.md +++ /dev/null @@ -1,28 +0,0 @@ -# InviteUserToTeamResponseBody - -The member was successfully added to the team - - -## Supported Types - -### `operations.InviteUserToTeamResponseBody1` - -```typescript -const value: operations.InviteUserToTeamResponseBody1 = { - uid: "kr1PsOIzqEL5Xg6M4VZcZosf", - username: "john-doe", - email: "john@user.co", - role: "MEMBER", -}; -``` - -### `operations.InviteUserToTeamResponseBody2` - -```typescript -const value: operations.InviteUserToTeamResponseBody2 = { - uid: "", - username: "Buster9", - role: "VIEWER", -}; -``` - diff --git a/docs/models/operations/inviteusertoteamresponsebody2.md b/docs/models/operations/inviteusertoteamresponsebody2.md deleted file mode 100644 index e726c720..00000000 --- a/docs/models/operations/inviteusertoteamresponsebody2.md +++ /dev/null @@ -1,21 +0,0 @@ -# InviteUserToTeamResponseBody2 - -## Example Usage - -```typescript -import { InviteUserToTeamResponseBody2 } from "@vercel/sdk/models/operations/inviteusertoteam.js"; - -let value: InviteUserToTeamResponseBody2 = { - uid: "", - username: "Sienna15", - role: "VIEWER", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `uid` | *string* | :heavy_check_mark: | N/A | -| `username` | *string* | :heavy_check_mark: | N/A | -| `role` | [operations.InviteUserToTeamResponseBodyRole](../../models/operations/inviteusertoteamresponsebodyrole.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/inviteusertoteamresponsebodyrole.md b/docs/models/operations/inviteusertoteamresponsebodyrole.md deleted file mode 100644 index 75867498..00000000 --- a/docs/models/operations/inviteusertoteamresponsebodyrole.md +++ /dev/null @@ -1,15 +0,0 @@ -# InviteUserToTeamResponseBodyRole - -## Example Usage - -```typescript -import { InviteUserToTeamResponseBodyRole } from "@vercel/sdk/models/operations/inviteusertoteam.js"; - -let value: InviteUserToTeamResponseBodyRole = "OWNER"; -``` - -## Values - -```typescript -"OWNER" | "MEMBER" | "DEVELOPER" | "BILLING" | "VIEWER" | "CONTRIBUTOR" -``` \ No newline at end of file diff --git a/docs/models/operations/inviteusertoteamrole.md b/docs/models/operations/inviteusertoteamrole.md deleted file mode 100644 index b8b62d31..00000000 --- a/docs/models/operations/inviteusertoteamrole.md +++ /dev/null @@ -1,17 +0,0 @@ -# InviteUserToTeamRole - -The role of the user to invite - -## Example Usage - -```typescript -import { InviteUserToTeamRole } from "@vercel/sdk/models/operations/inviteusertoteam.js"; - -let value: InviteUserToTeamRole = "DEVELOPER"; -``` - -## Values - -```typescript -"OWNER" | "MEMBER" | "DEVELOPER" | "BILLING" | "VIEWER" | "CONTRIBUTOR" -``` \ No newline at end of file diff --git a/docs/models/operations/inviteusertoteamteamsrole.md b/docs/models/operations/inviteusertoteamteamsrole.md deleted file mode 100644 index ce864f0c..00000000 --- a/docs/models/operations/inviteusertoteamteamsrole.md +++ /dev/null @@ -1,17 +0,0 @@ -# InviteUserToTeamTeamsRole - -Sets the project roles for the invited user - -## Example Usage - -```typescript -import { InviteUserToTeamTeamsRole } from "@vercel/sdk/models/operations/inviteusertoteam.js"; - -let value: InviteUserToTeamTeamsRole = "ADMIN"; -``` - -## Values - -```typescript -"ADMIN" | "PROJECT_VIEWER" | "PROJECT_DEVELOPER" -``` \ No newline at end of file diff --git a/docs/models/operations/ips.md b/docs/models/operations/ips.md deleted file mode 100644 index 009c9782..00000000 --- a/docs/models/operations/ips.md +++ /dev/null @@ -1,23 +0,0 @@ -# Ips - -## Example Usage - -```typescript -import { Ips } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Ips = { - hostname: "showy-vibration.info", - ip: "11.47.60.46", - action: "bypass", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `hostname` | *string* | :heavy_check_mark: | N/A | -| `ip` | *string* | :heavy_check_mark: | N/A | -| `notes` | *string* | :heavy_minus_sign: | N/A | -| `action` | [operations.PutFirewallConfigSecurityRequestRequestBodyIpsAction](../../models/operations/putfirewallconfigsecurityrequestrequestbodyipsaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/issuecertrequest.md b/docs/models/operations/issuecertrequest.md deleted file mode 100644 index 7a8fa8c2..00000000 --- a/docs/models/operations/issuecertrequest.md +++ /dev/null @@ -1,17 +0,0 @@ -# IssueCertRequest - -## Example Usage - -```typescript -import { IssueCertRequest } from "@vercel/sdk/models/operations/issuecert.js"; - -let value: IssueCertRequest = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.IssueCertRequestBody](../../models/operations/issuecertrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/issuermode.md b/docs/models/operations/issuermode.md deleted file mode 100644 index 9f70b446..00000000 --- a/docs/models/operations/issuermode.md +++ /dev/null @@ -1,17 +0,0 @@ -# IssuerMode - -team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` - -## Example Usage - -```typescript -import { IssuerMode } from "@vercel/sdk/models/operations/createproject.js"; - -let value: IssuerMode = "global"; -``` - -## Values - -```typescript -"team" | "global" -``` \ No newline at end of file diff --git a/docs/models/operations/items.md b/docs/models/operations/items.md deleted file mode 100644 index 596992ae..00000000 --- a/docs/models/operations/items.md +++ /dev/null @@ -1,19 +0,0 @@ -# Items - - -## Supported Types - -### `operations.Items1` - -```typescript -const value: operations.Items1 = false; -``` - -### `operations.Items2[]` - -```typescript -const value: operations.Items2[] = [ - 9430.62, -]; -``` - diff --git a/docs/models/operations/java.md b/docs/models/operations/java.md deleted file mode 100644 index 0d6cca43..00000000 --- a/docs/models/operations/java.md +++ /dev/null @@ -1,19 +0,0 @@ -# Java - -## Example Usage - -```typescript -import { Java } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Java = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction](../../models/operations/putfirewallconfigsecurityrequestrequestbodycrsjavaaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/jobstatus.md b/docs/models/operations/jobstatus.md deleted file mode 100644 index a66ccfd6..00000000 --- a/docs/models/operations/jobstatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# JobStatus - -## Example Usage - -```typescript -import { JobStatus } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: JobStatus = "succeeded"; -``` - -## Values - -```typescript -"succeeded" | "failed" | "skipped" | "pending" | "in-progress" -``` \ No newline at end of file diff --git a/docs/models/operations/joinedfrom.md b/docs/models/operations/joinedfrom.md deleted file mode 100644 index ebbf1700..00000000 --- a/docs/models/operations/joinedfrom.md +++ /dev/null @@ -1,27 +0,0 @@ -# JoinedFrom - -## Example Usage - -```typescript -import { JoinedFrom } from "@vercel/sdk/models/operations/requestaccesstoteam.js"; - -let value: JoinedFrom = { - origin: "github", - commitId: "f498d25d8bd654b578716203be73084b31130cd7", - repoId: "67753070", - repoPath: "jane-doe/example", - gitUserId: 103053343, - gitUserLogin: "jane-doe", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `origin` | [operations.Origin](../../models/operations/origin.md) | :heavy_check_mark: | The origin of the request. | github | -| `commitId` | *string* | :heavy_minus_sign: | The commit sha if the origin is a git provider. | f498d25d8bd654b578716203be73084b31130cd7 | -| `repoId` | *string* | :heavy_minus_sign: | The ID of the repository for the given Git provider. | 67753070 | -| `repoPath` | *string* | :heavy_minus_sign: | The path to the repository for the given Git provider. | jane-doe/example | -| `gitUserId` | *operations.GitUserId* | :heavy_minus_sign: | The ID of the Git account of the user who requests access. | 103053343 | -| `gitUserLogin` | *string* | :heavy_minus_sign: | The login name for the Git account of the user who requests access. | jane-doe | \ No newline at end of file diff --git a/docs/models/operations/jointeamrequest.md b/docs/models/operations/jointeamrequest.md deleted file mode 100644 index d87b4eda..00000000 --- a/docs/models/operations/jointeamrequest.md +++ /dev/null @@ -1,21 +0,0 @@ -# JoinTeamRequest - -## Example Usage - -```typescript -import { JoinTeamRequest } from "@vercel/sdk/models/operations/jointeam.js"; - -let value: JoinTeamRequest = { - teamId: "", - requestBody: { - inviteCode: "fisdh38aejkeivn34nslfore9vjtn4ls", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `teamId` | *string* | :heavy_check_mark: | N/A | -| `requestBody` | [operations.JoinTeamRequestBody](../../models/operations/jointeamrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/lambdas.md b/docs/models/operations/lambdas.md deleted file mode 100644 index 743bf691..00000000 --- a/docs/models/operations/lambdas.md +++ /dev/null @@ -1,29 +0,0 @@ -# Lambdas - -A partial representation of a Build used by the deployment endpoint. - -## Example Usage - -```typescript -import { Lambdas } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: Lambdas = { - output: [ - { - path: "/usr", - functionName: "", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `entrypoint` | *string* | :heavy_minus_sign: | N/A | -| `readyState` | [operations.CreateDeploymentReadyState](../../models/operations/createdeploymentreadystate.md) | :heavy_minus_sign: | N/A | -| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | -| `output` | [operations.CreateDeploymentOutput](../../models/operations/createdeploymentoutput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/lastaliasrequest.md b/docs/models/operations/lastaliasrequest.md deleted file mode 100644 index c9744e71..00000000 --- a/docs/models/operations/lastaliasrequest.md +++ /dev/null @@ -1,25 +0,0 @@ -# LastAliasRequest - -## Example Usage - -```typescript -import { LastAliasRequest } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: LastAliasRequest = { - fromDeploymentId: "", - toDeploymentId: "", - jobStatus: "skipped", - requestedAt: 9619.36, - type: "promote", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `fromDeploymentId` | *string* | :heavy_check_mark: | N/A | -| `toDeploymentId` | *string* | :heavy_check_mark: | N/A | -| `jobStatus` | [operations.JobStatus](../../models/operations/jobstatus.md) | :heavy_check_mark: | N/A | -| `requestedAt` | *number* | :heavy_check_mark: | N/A | -| `type` | [operations.UpdateProjectDataCacheProjectsResponseType](../../models/operations/updateprojectdatacacheprojectsresponsetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/lastrollbacktarget.md b/docs/models/operations/lastrollbacktarget.md deleted file mode 100644 index 6752d5b5..00000000 --- a/docs/models/operations/lastrollbacktarget.md +++ /dev/null @@ -1,14 +0,0 @@ -# LastRollbackTarget - -## Example Usage - -```typescript -import { LastRollbackTarget } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: LastRollbackTarget = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/latestdeployments.md b/docs/models/operations/latestdeployments.md deleted file mode 100644 index 331e91f5..00000000 --- a/docs/models/operations/latestdeployments.md +++ /dev/null @@ -1,68 +0,0 @@ -# LatestDeployments - -## Example Usage - -```typescript -import { LatestDeployments } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: LatestDeployments = { - id: "", - createdAt: 6155.60, - createdIn: "", - creator: { - email: "Rosendo6@gmail.com", - uid: "", - username: "Jacey_Streich85", - }, - deploymentHostname: "", - name: "", - plan: "enterprise", - previewCommentsEnabled: false, - private: false, - readyState: "READY", - type: "LAMBDAS", - url: "https://misguided-avalanche.biz/", - userId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | | -| `alias` | *string*[] | :heavy_minus_sign: | N/A | | -| `aliasAssigned` | *operations.AliasAssigned* | :heavy_minus_sign: | N/A | | -| `aliasError` | [operations.UpdateProjectDataCacheProjectsAliasError](../../models/operations/updateprojectdatacacheprojectsaliaserror.md) | :heavy_minus_sign: | N/A | | -| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | -| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | -| `branchMatcher` | [operations.BranchMatcher](../../models/operations/branchmatcher.md) | :heavy_minus_sign: | N/A | | -| `buildingAt` | *number* | :heavy_minus_sign: | N/A | | -| `builds` | [operations.UpdateProjectDataCacheProjectsBuilds](../../models/operations/updateprojectdatacacheprojectsbuilds.md)[] | :heavy_minus_sign: | N/A | | -| `checksConclusion` | [operations.UpdateProjectDataCacheProjectsChecksConclusion](../../models/operations/updateprojectdatacacheprojectschecksconclusion.md) | :heavy_minus_sign: | N/A | | -| `checksState` | [operations.UpdateProjectDataCacheProjectsChecksState](../../models/operations/updateprojectdatacacheprojectschecksstate.md) | :heavy_minus_sign: | N/A | | -| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | -| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | -| `createdAt` | *number* | :heavy_check_mark: | N/A | | -| `createdIn` | *string* | :heavy_check_mark: | N/A | | -| `creator` | [operations.UpdateProjectDataCacheProjectsCreator](../../models/operations/updateprojectdatacacheprojectscreator.md) | :heavy_check_mark: | N/A | | -| `deletedAt` | *number* | :heavy_minus_sign: | N/A | | -| `deploymentHostname` | *string* | :heavy_check_mark: | N/A | | -| `forced` | *boolean* | :heavy_minus_sign: | N/A | | -| `name` | *string* | :heavy_check_mark: | N/A | | -| `meta` | Record | :heavy_minus_sign: | N/A | | -| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | -| `oidcTokenClaims` | [operations.UpdateProjectDataCacheProjectsOidcTokenClaims](../../models/operations/updateprojectdatacacheprojectsoidctokenclaims.md) | :heavy_minus_sign: | N/A | | -| `plan` | [operations.UpdateProjectDataCacheProjectsPlan](../../models/operations/updateprojectdatacacheprojectsplan.md) | :heavy_check_mark: | N/A | | -| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | -| `private` | *boolean* | :heavy_check_mark: | N/A | | -| `readyAt` | *number* | :heavy_minus_sign: | N/A | | -| `readyState` | [operations.UpdateProjectDataCacheProjectsReadyState](../../models/operations/updateprojectdatacacheprojectsreadystate.md) | :heavy_check_mark: | N/A | | -| `readySubstate` | [operations.UpdateProjectDataCacheProjectsReadySubstate](../../models/operations/updateprojectdatacacheprojectsreadysubstate.md) | :heavy_minus_sign: | N/A | | -| `requestedAt` | *number* | :heavy_minus_sign: | N/A | | -| `target` | *string* | :heavy_minus_sign: | N/A | | -| `teamId` | *string* | :heavy_minus_sign: | N/A | | -| `type` | [operations.UpdateProjectDataCacheType](../../models/operations/updateprojectdatacachetype.md) | :heavy_check_mark: | N/A | | -| `url` | *string* | :heavy_check_mark: | N/A | | -| `userId` | *string* | :heavy_check_mark: | N/A | | -| `withCache` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/lcp.md b/docs/models/operations/lcp.md deleted file mode 100644 index 716cec77..00000000 --- a/docs/models/operations/lcp.md +++ /dev/null @@ -1,21 +0,0 @@ -# Lcp - -## Example Usage - -```typescript -import { Lcp } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: Lcp = { - value: 1200, - previousValue: 1000, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | Largest Contentful Paint value | 1200 | -| `previousValue` | *number* | :heavy_minus_sign: | Previous Largest Contentful Paint value to display a delta | 1000 | -| `source` | [operations.UpdateCheckChecksSource](../../models/operations/updatecheckcheckssource.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/lfi.md b/docs/models/operations/lfi.md deleted file mode 100644 index 882e3a9c..00000000 --- a/docs/models/operations/lfi.md +++ /dev/null @@ -1,19 +0,0 @@ -# Lfi - -## Example Usage - -```typescript -import { Lfi } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Lfi = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityRequestAction](../../models/operations/putfirewallconfigsecurityrequestaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/link3.md b/docs/models/operations/link3.md deleted file mode 100644 index 9aa89437..00000000 --- a/docs/models/operations/link3.md +++ /dev/null @@ -1,35 +0,0 @@ -# Link3 - -## Example Usage - -```typescript -import { Link3 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: Link3 = { - deployHooks: [ - { - id: "", - name: "", - ref: "", - url: "https://same-alligator.com", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `slug` | *string* | :heavy_minus_sign: | N/A | -| `owner` | *string* | :heavy_minus_sign: | N/A | -| `type` | [operations.UpdateProjectDataCacheLinkProjectsType](../../models/operations/updateprojectdatacachelinkprojectstype.md) | :heavy_minus_sign: | N/A | -| `uuid` | *string* | :heavy_minus_sign: | N/A | -| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `deployHooks` | [operations.UpdateProjectDataCacheLinkDeployHooks](../../models/operations/updateprojectdatacachelinkdeployhooks.md)[] | :heavy_check_mark: | N/A | -| `gitCredentialId` | *string* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `sourceless` | *boolean* | :heavy_minus_sign: | N/A | -| `productionBranch` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/linktype.md b/docs/models/operations/linktype.md deleted file mode 100644 index b6624b62..00000000 --- a/docs/models/operations/linktype.md +++ /dev/null @@ -1,15 +0,0 @@ -# LinkType - -## Example Usage - -```typescript -import { LinkType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: LinkType = "github"; -``` - -## Values - -```typescript -"github" -``` \ No newline at end of file diff --git a/docs/models/operations/listaccessgroupmembersresponsebody.md b/docs/models/operations/listaccessgroupmembersresponsebody.md deleted file mode 100644 index b1482509..00000000 --- a/docs/models/operations/listaccessgroupmembersresponsebody.md +++ /dev/null @@ -1,29 +0,0 @@ -# ListAccessGroupMembersResponseBody - -## Example Usage - -```typescript -import { ListAccessGroupMembersResponseBody } from "@vercel/sdk/models/operations/listaccessgroupmembers.js"; - -let value: ListAccessGroupMembersResponseBody = { - members: [ - { - email: "Rita_Strosin@gmail.com", - uid: "", - username: "Osborne.Nikolaus", - teamRole: "DEVELOPER", - }, - ], - pagination: { - count: 2645.56, - next: "", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `members` | [operations.Members](../../models/operations/members.md)[] | :heavy_check_mark: | N/A | -| `pagination` | [operations.Pagination](../../models/operations/pagination.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listaccessgroupprojectsprojects.md b/docs/models/operations/listaccessgroupprojectsprojects.md deleted file mode 100644 index c28e8694..00000000 --- a/docs/models/operations/listaccessgroupprojectsprojects.md +++ /dev/null @@ -1,25 +0,0 @@ -# ListAccessGroupProjectsProjects - -## Example Usage - -```typescript -import { ListAccessGroupProjectsProjects } from "@vercel/sdk/models/operations/listaccessgroupprojects.js"; - -let value: ListAccessGroupProjectsProjects = { - projectId: "", - role: "PROJECT_DEVELOPER", - createdAt: "", - updatedAt: "", - project: {}, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `role` | [operations.ListAccessGroupProjectsRole](../../models/operations/listaccessgroupprojectsrole.md) | :heavy_check_mark: | N/A | -| `createdAt` | *string* | :heavy_check_mark: | N/A | -| `updatedAt` | *string* | :heavy_check_mark: | N/A | -| `project` | [operations.ListAccessGroupProjectsProject](../../models/operations/listaccessgroupprojectsproject.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listaccessgroupprojectsresponsebody.md b/docs/models/operations/listaccessgroupprojectsresponsebody.md deleted file mode 100644 index 7eeed82f..00000000 --- a/docs/models/operations/listaccessgroupprojectsresponsebody.md +++ /dev/null @@ -1,30 +0,0 @@ -# ListAccessGroupProjectsResponseBody - -## Example Usage - -```typescript -import { ListAccessGroupProjectsResponseBody } from "@vercel/sdk/models/operations/listaccessgroupprojects.js"; - -let value: ListAccessGroupProjectsResponseBody = { - projects: [ - { - projectId: "", - role: "PROJECT_VIEWER", - createdAt: "", - updatedAt: "", - project: {}, - }, - ], - pagination: { - count: 3595.08, - next: "", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `projects` | [operations.ListAccessGroupProjectsProjects](../../models/operations/listaccessgroupprojectsprojects.md)[] | :heavy_check_mark: | N/A | -| `pagination` | [operations.ListAccessGroupProjectsPagination](../../models/operations/listaccessgroupprojectspagination.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listaccessgroupsresponsebody.md b/docs/models/operations/listaccessgroupsresponsebody.md deleted file mode 100644 index 01be96a8..00000000 --- a/docs/models/operations/listaccessgroupsresponsebody.md +++ /dev/null @@ -1,34 +0,0 @@ -# ListAccessGroupsResponseBody - - -## Supported Types - -### `operations.ListAccessGroupsResponseBody1` - -```typescript -const value: operations.ListAccessGroupsResponseBody1 = {}; -``` - -### `operations.ListAccessGroupsResponseBody2` - -```typescript -const value: operations.ListAccessGroupsResponseBody2 = { - accessGroups: [ - { - isDsyncManaged: false, - name: "my-access-group", - createdAt: "1588720733602", - teamId: "team_123a6c5209bc3778245d011443644c8d27dc2c50", - updatedAt: "1588720733602", - accessGroupId: "ag_123a6c5209bc3778245d011443644c8d27dc2c50", - membersCount: 5, - projectsCount: 2, - }, - ], - pagination: { - count: 5684.34, - next: "", - }, -}; -``` - diff --git a/docs/models/operations/listaccessgroupsresponsebody2.md b/docs/models/operations/listaccessgroupsresponsebody2.md deleted file mode 100644 index 0a35ffdf..00000000 --- a/docs/models/operations/listaccessgroupsresponsebody2.md +++ /dev/null @@ -1,33 +0,0 @@ -# ListAccessGroupsResponseBody2 - -## Example Usage - -```typescript -import { ListAccessGroupsResponseBody2 } from "@vercel/sdk/models/operations/listaccessgroups.js"; - -let value: ListAccessGroupsResponseBody2 = { - accessGroups: [ - { - isDsyncManaged: false, - name: "my-access-group", - createdAt: "1588720733602", - teamId: "team_123a6c5209bc3778245d011443644c8d27dc2c50", - updatedAt: "1588720733602", - accessGroupId: "ag_123a6c5209bc3778245d011443644c8d27dc2c50", - membersCount: 5, - projectsCount: 2, - }, - ], - pagination: { - count: 4561.50, - next: "", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `accessGroups` | [operations.AccessGroups](../../models/operations/accessgroups.md)[] | :heavy_check_mark: | N/A | -| `pagination` | [operations.ResponseBodyPagination](../../models/operations/responsebodypagination.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listaliasesprotectionbypass.md b/docs/models/operations/listaliasesprotectionbypass.md deleted file mode 100644 index de4e84dd..00000000 --- a/docs/models/operations/listaliasesprotectionbypass.md +++ /dev/null @@ -1,48 +0,0 @@ -# ListAliasesProtectionBypass - - -## Supported Types - -### `operations.ListAliasesProtectionBypass1` - -```typescript -const value: operations.ListAliasesProtectionBypass1 = { - createdAt: 2033.57, - createdBy: "", - scope: "shareable-link", -}; -``` - -### `operations.ListAliasesProtectionBypass2` - -```typescript -const value: operations.ListAliasesProtectionBypass2 = { - createdAt: 5700.47, - lastUpdatedAt: 7457.64, - lastUpdatedBy: "", - access: "requested", - scope: "user", -}; -``` - -### `operations.ListAliasesProtectionBypass3` - -```typescript -const value: operations.ListAliasesProtectionBypass3 = { - createdAt: 4343.82, - createdBy: "", - scope: "alias-protection-override", -}; -``` - -### `operations.ListAliasesProtectionBypass4` - -```typescript -const value: operations.ListAliasesProtectionBypass4 = { - createdAt: 5753.97, - lastUpdatedAt: 4671.09, - lastUpdatedBy: "", - scope: "email_invite", -}; -``` - diff --git a/docs/models/operations/listaliasesprotectionbypass1.md b/docs/models/operations/listaliasesprotectionbypass1.md deleted file mode 100644 index 84abc06d..00000000 --- a/docs/models/operations/listaliasesprotectionbypass1.md +++ /dev/null @@ -1,23 +0,0 @@ -# ListAliasesProtectionBypass1 - -The protection bypass for the alias - -## Example Usage - -```typescript -import { ListAliasesProtectionBypass1 } from "@vercel/sdk/models/operations/listaliases.js"; - -let value: ListAliasesProtectionBypass1 = { - createdAt: 7993.06, - createdBy: "", - scope: "shareable-link", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `createdBy` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.ListAliasesProtectionBypassAliasesResponse200Scope](../../models/operations/listaliasesprotectionbypassaliasesresponse200scope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listaliasesprotectionbypass2.md b/docs/models/operations/listaliasesprotectionbypass2.md deleted file mode 100644 index 4aac9ee3..00000000 --- a/docs/models/operations/listaliasesprotectionbypass2.md +++ /dev/null @@ -1,27 +0,0 @@ -# ListAliasesProtectionBypass2 - -The protection bypass for the alias - -## Example Usage - -```typescript -import { ListAliasesProtectionBypass2 } from "@vercel/sdk/models/operations/listaliases.js"; - -let value: ListAliasesProtectionBypass2 = { - createdAt: 2883.49, - lastUpdatedAt: 2913.62, - lastUpdatedBy: "", - access: "granted", - scope: "user", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `lastUpdatedAt` | *number* | :heavy_check_mark: | N/A | -| `lastUpdatedBy` | *string* | :heavy_check_mark: | N/A | -| `access` | [operations.ProtectionBypassAccess](../../models/operations/protectionbypassaccess.md) | :heavy_check_mark: | N/A | -| `scope` | [operations.ListAliasesProtectionBypassScope](../../models/operations/listaliasesprotectionbypassscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listaliasesprotectionbypass3.md b/docs/models/operations/listaliasesprotectionbypass3.md deleted file mode 100644 index 19c458d9..00000000 --- a/docs/models/operations/listaliasesprotectionbypass3.md +++ /dev/null @@ -1,23 +0,0 @@ -# ListAliasesProtectionBypass3 - -The protection bypass for the alias - -## Example Usage - -```typescript -import { ListAliasesProtectionBypass3 } from "@vercel/sdk/models/operations/listaliases.js"; - -let value: ListAliasesProtectionBypass3 = { - createdAt: 6734.58, - createdBy: "", - scope: "alias-protection-override", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `createdBy` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.ListAliasesProtectionBypassAliasesScope](../../models/operations/listaliasesprotectionbypassaliasesscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listaliasesprotectionbypass4.md b/docs/models/operations/listaliasesprotectionbypass4.md deleted file mode 100644 index 88d28eaa..00000000 --- a/docs/models/operations/listaliasesprotectionbypass4.md +++ /dev/null @@ -1,25 +0,0 @@ -# ListAliasesProtectionBypass4 - -The protection bypass for the alias - -## Example Usage - -```typescript -import { ListAliasesProtectionBypass4 } from "@vercel/sdk/models/operations/listaliases.js"; - -let value: ListAliasesProtectionBypass4 = { - createdAt: 5800.80, - lastUpdatedAt: 6935.92, - lastUpdatedBy: "", - scope: "email_invite", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `lastUpdatedAt` | *number* | :heavy_check_mark: | N/A | -| `lastUpdatedBy` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.ListAliasesProtectionBypassAliasesResponseScope](../../models/operations/listaliasesprotectionbypassaliasesresponsescope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listdeploymentaliasesprotectionbypass.md b/docs/models/operations/listdeploymentaliasesprotectionbypass.md deleted file mode 100644 index 10a7336e..00000000 --- a/docs/models/operations/listdeploymentaliasesprotectionbypass.md +++ /dev/null @@ -1,48 +0,0 @@ -# ListDeploymentAliasesProtectionBypass - - -## Supported Types - -### `operations.ListDeploymentAliasesProtectionBypass1` - -```typescript -const value: operations.ListDeploymentAliasesProtectionBypass1 = { - createdAt: 5929.46, - createdBy: "", - scope: "shareable-link", -}; -``` - -### `operations.ListDeploymentAliasesProtectionBypass2` - -```typescript -const value: operations.ListDeploymentAliasesProtectionBypass2 = { - createdAt: 6124.25, - lastUpdatedAt: 2326.02, - lastUpdatedBy: "", - access: "requested", - scope: "user", -}; -``` - -### `operations.ListDeploymentAliasesProtectionBypass3` - -```typescript -const value: operations.ListDeploymentAliasesProtectionBypass3 = { - createdAt: 4820.62, - createdBy: "", - scope: "alias-protection-override", -}; -``` - -### `operations.ListDeploymentAliasesProtectionBypass4` - -```typescript -const value: operations.ListDeploymentAliasesProtectionBypass4 = { - createdAt: 4531.11, - lastUpdatedAt: 8035.45, - lastUpdatedBy: "", - scope: "email_invite", -}; -``` - diff --git a/docs/models/operations/listdeploymentaliasesprotectionbypass1.md b/docs/models/operations/listdeploymentaliasesprotectionbypass1.md deleted file mode 100644 index 681549fb..00000000 --- a/docs/models/operations/listdeploymentaliasesprotectionbypass1.md +++ /dev/null @@ -1,23 +0,0 @@ -# ListDeploymentAliasesProtectionBypass1 - -The protection bypass for the alias - -## Example Usage - -```typescript -import { ListDeploymentAliasesProtectionBypass1 } from "@vercel/sdk/models/operations/listdeploymentaliases.js"; - -let value: ListDeploymentAliasesProtectionBypass1 = { - createdAt: 2449.90, - createdBy: "", - scope: "shareable-link", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `createdBy` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.ListDeploymentAliasesProtectionBypassScope](../../models/operations/listdeploymentaliasesprotectionbypassscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listdeploymentaliasesprotectionbypass2.md b/docs/models/operations/listdeploymentaliasesprotectionbypass2.md deleted file mode 100644 index 18b51559..00000000 --- a/docs/models/operations/listdeploymentaliasesprotectionbypass2.md +++ /dev/null @@ -1,27 +0,0 @@ -# ListDeploymentAliasesProtectionBypass2 - -The protection bypass for the alias - -## Example Usage - -```typescript -import { ListDeploymentAliasesProtectionBypass2 } from "@vercel/sdk/models/operations/listdeploymentaliases.js"; - -let value: ListDeploymentAliasesProtectionBypass2 = { - createdAt: 1291.56, - lastUpdatedAt: 731.97, - lastUpdatedBy: "", - access: "requested", - scope: "user", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `lastUpdatedAt` | *number* | :heavy_check_mark: | N/A | -| `lastUpdatedBy` | *string* | :heavy_check_mark: | N/A | -| `access` | [operations.ListDeploymentAliasesProtectionBypassAccess](../../models/operations/listdeploymentaliasesprotectionbypassaccess.md) | :heavy_check_mark: | N/A | -| `scope` | [operations.ListDeploymentAliasesProtectionBypassAliasesScope](../../models/operations/listdeploymentaliasesprotectionbypassaliasesscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listdeploymentaliasesprotectionbypass3.md b/docs/models/operations/listdeploymentaliasesprotectionbypass3.md deleted file mode 100644 index 66306401..00000000 --- a/docs/models/operations/listdeploymentaliasesprotectionbypass3.md +++ /dev/null @@ -1,23 +0,0 @@ -# ListDeploymentAliasesProtectionBypass3 - -The protection bypass for the alias - -## Example Usage - -```typescript -import { ListDeploymentAliasesProtectionBypass3 } from "@vercel/sdk/models/operations/listdeploymentaliases.js"; - -let value: ListDeploymentAliasesProtectionBypass3 = { - createdAt: 5458.54, - createdBy: "", - scope: "alias-protection-override", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `createdBy` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.ListDeploymentAliasesProtectionBypassAliasesResponseScope](../../models/operations/listdeploymentaliasesprotectionbypassaliasesresponsescope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listdeploymentaliasesprotectionbypass4.md b/docs/models/operations/listdeploymentaliasesprotectionbypass4.md deleted file mode 100644 index 92aea2e8..00000000 --- a/docs/models/operations/listdeploymentaliasesprotectionbypass4.md +++ /dev/null @@ -1,25 +0,0 @@ -# ListDeploymentAliasesProtectionBypass4 - -The protection bypass for the alias - -## Example Usage - -```typescript -import { ListDeploymentAliasesProtectionBypass4 } from "@vercel/sdk/models/operations/listdeploymentaliases.js"; - -let value: ListDeploymentAliasesProtectionBypass4 = { - createdAt: 6020.76, - lastUpdatedAt: 5904.21, - lastUpdatedBy: "", - scope: "email_invite", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `lastUpdatedAt` | *number* | :heavy_check_mark: | N/A | -| `lastUpdatedBy` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.ListDeploymentAliasesProtectionBypassAliasesResponse200Scope](../../models/operations/listdeploymentaliasesprotectionbypassaliasesresponse200scope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listdeploymentaliasesresponsebody.md b/docs/models/operations/listdeploymentaliasesresponsebody.md deleted file mode 100644 index 34eb364d..00000000 --- a/docs/models/operations/listdeploymentaliasesresponsebody.md +++ /dev/null @@ -1,25 +0,0 @@ -# ListDeploymentAliasesResponseBody - -The list of aliases assigned to the deployment - -## Example Usage - -```typescript -import { ListDeploymentAliasesResponseBody } from "@vercel/sdk/models/operations/listdeploymentaliases.js"; - -let value: ListDeploymentAliasesResponseBody = { - aliases: [ - { - uid: "2WjyKQmM8ZnGcJsPWMrHRHrE", - alias: "my-alias.vercel.app", - created: new Date("2017-04-26T23:00:34.232Z"), - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `aliases` | [operations.ListDeploymentAliasesAliases](../../models/operations/listdeploymentaliasesaliases.md)[] | :heavy_check_mark: | A list of the aliases assigned to the deployment | \ No newline at end of file diff --git a/docs/models/operations/listpromotealiasesresponsebody.md b/docs/models/operations/listpromotealiasesresponsebody.md deleted file mode 100644 index 89ffd859..00000000 --- a/docs/models/operations/listpromotealiasesresponsebody.md +++ /dev/null @@ -1,30 +0,0 @@ -# ListPromoteAliasesResponseBody - - -## Supported Types - -### `operations.ListPromoteAliasesResponseBody1` - -```typescript -const value: operations.ListPromoteAliasesResponseBody1 = {}; -``` - -### `operations.ListPromoteAliasesResponseBody2` - -```typescript -const value: operations.ListPromoteAliasesResponseBody2 = { - aliases: [ - { - status: "", - alias: "", - id: "", - }, - ], - pagination: { - count: 20, - next: 1540095775951, - prev: 1540095775951, - }, -}; -``` - diff --git a/docs/models/operations/listusereventsresponsebody.md b/docs/models/operations/listusereventsresponsebody.md deleted file mode 100644 index 9dd3be47..00000000 --- a/docs/models/operations/listusereventsresponsebody.md +++ /dev/null @@ -1,21 +0,0 @@ -# ListUserEventsResponseBody - -Successful response. - -## Example Usage - -```typescript -import { ListUserEventsResponseBody } from "@vercel/sdk/models/operations/listuserevents.js"; - -let value: ListUserEventsResponseBody = { - events: [ - {}, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `events` | [components.UserEvent](../../models/components/userevent.md)[] | :heavy_check_mark: | Array of events generated by the User. | \ No newline at end of file diff --git a/docs/models/operations/ma.md b/docs/models/operations/ma.md deleted file mode 100644 index 158d2d20..00000000 --- a/docs/models/operations/ma.md +++ /dev/null @@ -1,19 +0,0 @@ -# Ma - -## Example Usage - -```typescript -import { Ma } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Ma = { - active: false, - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityAction](../../models/operations/putfirewallconfigsecurityaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/managedrules.md b/docs/models/operations/managedrules.md deleted file mode 100644 index b8b950e4..00000000 --- a/docs/models/operations/managedrules.md +++ /dev/null @@ -1,19 +0,0 @@ -# ManagedRules - -## Example Usage - -```typescript -import { ManagedRules } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: ManagedRules = { - owasp: { - active: false, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `owasp` | [operations.Owasp](../../models/operations/owasp.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/members.md b/docs/models/operations/members.md deleted file mode 100644 index b380a5f4..00000000 --- a/docs/models/operations/members.md +++ /dev/null @@ -1,26 +0,0 @@ -# Members - -## Example Usage - -```typescript -import { Members } from "@vercel/sdk/models/operations/listaccessgroupmembers.js"; - -let value: Members = { - email: "Leda43@hotmail.com", - uid: "", - username: "Vincenzo56", - teamRole: "OWNER", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `avatar` | *string* | :heavy_minus_sign: | N/A | -| `email` | *string* | :heavy_check_mark: | N/A | -| `uid` | *string* | :heavy_check_mark: | N/A | -| `username` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *string* | :heavy_minus_sign: | N/A | -| `teamRole` | [operations.TeamRole](../../models/operations/teamrole.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/metrics.md b/docs/models/operations/metrics.md deleted file mode 100644 index f4257acb..00000000 --- a/docs/models/operations/metrics.md +++ /dev/null @@ -1,47 +0,0 @@ -# Metrics - -Metrics about the page - -## Example Usage - -```typescript -import { Metrics } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: Metrics = { - fcp: { - value: 1200, - previousValue: 900, - source: "web-vitals", - }, - lcp: { - value: 1200, - previousValue: 1000, - source: "web-vitals", - }, - cls: { - value: 4, - previousValue: 2, - source: "web-vitals", - }, - tbt: { - value: 3000, - previousValue: 3500, - source: "web-vitals", - }, - virtualExperienceScore: { - value: 30, - previousValue: 35, - source: "web-vitals", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `fcp` | [operations.Fcp](../../models/operations/fcp.md) | :heavy_check_mark: | N/A | -| `lcp` | [operations.Lcp](../../models/operations/lcp.md) | :heavy_check_mark: | N/A | -| `cls` | [operations.Cls](../../models/operations/cls.md) | :heavy_check_mark: | N/A | -| `tbt` | [operations.Tbt](../../models/operations/tbt.md) | :heavy_check_mark: | N/A | -| `virtualExperienceScore` | [operations.VirtualExperienceScore](../../models/operations/virtualexperiencescore.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/missing.md b/docs/models/operations/missing.md deleted file mode 100644 index 898c65ce..00000000 --- a/docs/models/operations/missing.md +++ /dev/null @@ -1,19 +0,0 @@ -# Missing - -## Example Usage - -```typescript -import { Missing } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: Missing = { - type: "region", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType](../../models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *operations.UpdateProjectDataCacheValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/missing1.md b/docs/models/operations/missing1.md deleted file mode 100644 index 435fb0bf..00000000 --- a/docs/models/operations/missing1.md +++ /dev/null @@ -1,19 +0,0 @@ -# Missing1 - -## Example Usage - -```typescript -import { Missing1 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: Missing1 = { - type: "host", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `type` | [operations.MissingType](../../models/operations/missingtype.md) | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/missing2.md b/docs/models/operations/missing2.md deleted file mode 100644 index 53f48c1f..00000000 --- a/docs/models/operations/missing2.md +++ /dev/null @@ -1,20 +0,0 @@ -# Missing2 - -## Example Usage - -```typescript -import { Missing2 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: Missing2 = { - type: "header", - key: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateDeploymentMissingType](../../models/operations/createdeploymentmissingtype.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/missingtype.md b/docs/models/operations/missingtype.md deleted file mode 100644 index 8c52c4a5..00000000 --- a/docs/models/operations/missingtype.md +++ /dev/null @@ -1,15 +0,0 @@ -# MissingType - -## Example Usage - -```typescript -import { MissingType } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: MissingType = "host"; -``` - -## Values - -```typescript -"host" -``` \ No newline at end of file diff --git a/docs/models/operations/mitigate.md b/docs/models/operations/mitigate.md deleted file mode 100644 index 43a656c1..00000000 --- a/docs/models/operations/mitigate.md +++ /dev/null @@ -1,20 +0,0 @@ -# Mitigate - -## Example Usage - -```typescript -import { Mitigate } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Mitigate = { - action: "bypass", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `action` | [operations.PutFirewallConfigSecurityRequestRequestBodyRulesActionAction](../../models/operations/putfirewallconfigsecurityrequestrequestbodyrulesactionaction.md) | :heavy_check_mark: | N/A | -| `rateLimit` | *operations.RateLimit* | :heavy_minus_sign: | N/A | -| `redirect` | *operations.Redirect* | :heavy_minus_sign: | N/A | -| `actionDuration` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/nine.md b/docs/models/operations/nine.md deleted file mode 100644 index 693c6ce5..00000000 --- a/docs/models/operations/nine.md +++ /dev/null @@ -1,25 +0,0 @@ -# Nine - -## Example Usage - -```typescript -import { Nine } from "@vercel/sdk/models/operations/createrecord.js"; - -let value: Nine = { - name: "subdomain", - type: "ALIAS", - ttl: 60, - value: "ns1.example.com", - comment: "used to verify ownership of domain", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | A subdomain name. | subdomain | -| `type` | [operations.CreateRecordRequestBodyDnsRequest9Type](../../models/operations/createrecordrequestbodydnsrequest9type.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | -| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | -| `value` | *string* | :heavy_minus_sign: | An NS domain value. | ns1.example.com | -| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/operations/one.md b/docs/models/operations/one.md deleted file mode 100644 index 18a42071..00000000 --- a/docs/models/operations/one.md +++ /dev/null @@ -1,22 +0,0 @@ -# One - -## Example Usage - -```typescript -import { One } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: One = { - ref: "", - repoId: 510.53, - type: "github", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `repoId` | *operations.RepoId* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `type` | [operations.Type](../../models/operations/type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/one5.md b/docs/models/operations/one5.md deleted file mode 100644 index f5f84d9c..00000000 --- a/docs/models/operations/one5.md +++ /dev/null @@ -1,14 +0,0 @@ -# One5 - -## Example Usage - -```typescript -import { One5 } from "@vercel/sdk/models/operations/createedgeconfig.js"; - -let value: One5 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/onetarget.md b/docs/models/operations/onetarget.md deleted file mode 100644 index 56c4ed0b..00000000 --- a/docs/models/operations/onetarget.md +++ /dev/null @@ -1,15 +0,0 @@ -# OneTarget - -## Example Usage - -```typescript -import { OneTarget } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: OneTarget = "development"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/onetype.md b/docs/models/operations/onetype.md deleted file mode 100644 index 4ff2b1e9..00000000 --- a/docs/models/operations/onetype.md +++ /dev/null @@ -1,17 +0,0 @@ -# OneType - -The type of environment variable - -## Example Usage - -```typescript -import { OneType } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: OneType = "plain"; -``` - -## Values - -```typescript -"system" | "secret" | "encrypted" | "plain" | "sensitive" -``` \ No newline at end of file diff --git a/docs/models/operations/op.md b/docs/models/operations/op.md deleted file mode 100644 index a8b5d92c..00000000 --- a/docs/models/operations/op.md +++ /dev/null @@ -1,15 +0,0 @@ -# Op - -## Example Usage - -```typescript -import { Op } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Op = "lte"; -``` - -## Values - -```typescript -"re" | "eq" | "neq" | "ex" | "nex" | "inc" | "ninc" | "pre" | "suf" | "sub" | "gt" | "gte" | "lt" | "lte" -``` \ No newline at end of file diff --git a/docs/models/operations/options.md b/docs/models/operations/options.md deleted file mode 100644 index f0dba2a9..00000000 --- a/docs/models/operations/options.md +++ /dev/null @@ -1,18 +0,0 @@ -# Options - -## Example Usage - -```typescript -import { Options } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: Options = { - value: [], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------- | -------------------------- | -------------------------- | -------------------------- | -| `value` | *components.FlagJSONValue* | :heavy_check_mark: | N/A | -| `label` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/optionsallowlist.md b/docs/models/operations/optionsallowlist.md deleted file mode 100644 index 567fe8bd..00000000 --- a/docs/models/operations/optionsallowlist.md +++ /dev/null @@ -1,23 +0,0 @@ -# OptionsAllowlist - -Specify a list of paths that should not be protected by Deployment Protection to enable Cors preflight requests - -## Example Usage - -```typescript -import { OptionsAllowlist } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: OptionsAllowlist = { - paths: [ - { - value: "", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `paths` | [operations.Paths](../../models/operations/paths.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/order.md b/docs/models/operations/order.md deleted file mode 100644 index 91bfe10d..00000000 --- a/docs/models/operations/order.md +++ /dev/null @@ -1,17 +0,0 @@ -# Order - -Domains sort order by createdAt - -## Example Usage - -```typescript -import { Order } from "@vercel/sdk/models/operations/getprojectdomains.js"; - -let value: Order = "ASC"; -``` - -## Values - -```typescript -"ASC" | "DESC" -``` \ No newline at end of file diff --git a/docs/models/operations/origin.md b/docs/models/operations/origin.md deleted file mode 100644 index 6e3c55dc..00000000 --- a/docs/models/operations/origin.md +++ /dev/null @@ -1,17 +0,0 @@ -# Origin - -The origin of the request. - -## Example Usage - -```typescript -import { Origin } from "@vercel/sdk/models/operations/requestaccesstoteam.js"; - -let value: Origin = "github"; -``` - -## Values - -```typescript -"import" | "teams" | "github" | "gitlab" | "bitbucket" | "feedback" | "organization-teams" -``` \ No newline at end of file diff --git a/docs/models/operations/output.md b/docs/models/operations/output.md deleted file mode 100644 index 3e50867a..00000000 --- a/docs/models/operations/output.md +++ /dev/null @@ -1,45 +0,0 @@ -# Output - -The results of the check Run - -## Example Usage - -```typescript -import { Output } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: Output = { - metrics: { - fcp: { - value: 1200, - previousValue: 900, - source: "web-vitals", - }, - lcp: { - value: 1200, - previousValue: 1000, - source: "web-vitals", - }, - cls: { - value: 4, - previousValue: 2, - source: "web-vitals", - }, - tbt: { - value: 3000, - previousValue: 3500, - source: "web-vitals", - }, - virtualExperienceScore: { - value: 30, - previousValue: 35, - source: "web-vitals", - }, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `metrics` | [operations.Metrics](../../models/operations/metrics.md) | :heavy_minus_sign: | Metrics about the page | \ No newline at end of file diff --git a/docs/models/operations/owner.md b/docs/models/operations/owner.md deleted file mode 100644 index 4e5e4aec..00000000 --- a/docs/models/operations/owner.md +++ /dev/null @@ -1,19 +0,0 @@ -# Owner - -## Example Usage - -```typescript -import { Owner } from "@vercel/sdk/models/operations/searchrepo.js"; - -let value: Owner = { - id: 4137.68, - name: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `id` | *operations.SearchRepoResponseBodyId* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/ownertype.md b/docs/models/operations/ownertype.md deleted file mode 100644 index b31d074f..00000000 --- a/docs/models/operations/ownertype.md +++ /dev/null @@ -1,15 +0,0 @@ -# OwnerType - -## Example Usage - -```typescript -import { OwnerType } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: OwnerType = "user"; -``` - -## Values - -```typescript -"team" | "user" -``` \ No newline at end of file diff --git a/docs/models/operations/pagination.md b/docs/models/operations/pagination.md deleted file mode 100644 index d6c2ca13..00000000 --- a/docs/models/operations/pagination.md +++ /dev/null @@ -1,19 +0,0 @@ -# Pagination - -## Example Usage - -```typescript -import { Pagination } from "@vercel/sdk/models/operations/listaccessgroupmembers.js"; - -let value: Pagination = { - count: 871.29, - next: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `count` | *number* | :heavy_check_mark: | N/A | -| `next` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/patchdomainrequestbody.md b/docs/models/operations/patchdomainrequestbody.md deleted file mode 100644 index 235a5feb..00000000 --- a/docs/models/operations/patchdomainrequestbody.md +++ /dev/null @@ -1,21 +0,0 @@ -# PatchDomainRequestBody - - -## Supported Types - -### `operations.PatchDomainRequestBody1` - -```typescript -const value: operations.PatchDomainRequestBody1 = { - op: "update", -}; -``` - -### `operations.PatchDomainRequestBody2` - -```typescript -const value: operations.PatchDomainRequestBody2 = { - op: "move-out", -}; -``` - diff --git a/docs/models/operations/patchdomainresponsebody.md b/docs/models/operations/patchdomainresponsebody.md deleted file mode 100644 index ad70b18f..00000000 --- a/docs/models/operations/patchdomainresponsebody.md +++ /dev/null @@ -1,28 +0,0 @@ -# PatchDomainResponseBody - - -## Supported Types - -### `operations.PatchDomainResponseBody1` - -```typescript -const value: operations.PatchDomainResponseBody1 = { - moved: false, -}; -``` - -### `operations.PatchDomainResponseBody2` - -```typescript -const value: operations.PatchDomainResponseBody2 = { - moved: false, - token: "", -}; -``` - -### `operations.PatchDomainResponseBody3` - -```typescript -const value: operations.PatchDomainResponseBody3 = {}; -``` - diff --git a/docs/models/operations/patchedgeconfigschemarequest.md b/docs/models/operations/patchedgeconfigschemarequest.md deleted file mode 100644 index 2073ff0d..00000000 --- a/docs/models/operations/patchedgeconfigschemarequest.md +++ /dev/null @@ -1,21 +0,0 @@ -# PatchEdgeConfigSchemaRequest - -## Example Usage - -```typescript -import { PatchEdgeConfigSchemaRequest } from "@vercel/sdk/models/operations/patchedgeconfigschema.js"; - -let value: PatchEdgeConfigSchemaRequest = { - edgeConfigId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | -| `dryRun` | *string* | :heavy_minus_sign: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.PatchEdgeConfigSchemaRequestBody](../../models/operations/patchedgeconfigschemarequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/patchteamrequest.md b/docs/models/operations/patchteamrequest.md deleted file mode 100644 index db4c1af5..00000000 --- a/docs/models/operations/patchteamrequest.md +++ /dev/null @@ -1,39 +0,0 @@ -# PatchTeamRequest - -## Example Usage - -```typescript -import { PatchTeamRequest } from "@vercel/sdk/models/operations/patchteam.js"; - -let value: PatchTeamRequest = { - teamId: "", - requestBody: { - description: - "Our mission is to make cloud computing accessible to everyone", - emailDomain: "example.com", - name: "My Team", - previewDeploymentSuffix: "example.dev", - regenerateInviteCode: true, - saml: { - enforced: true, - }, - slug: "my-team", - enablePreviewFeedback: "on", - enableProductionFeedback: "on", - sensitiveEnvironmentVariablePolicy: "on", - remoteCaching: { - enabled: true, - }, - hideIpAddresses: false, - hideIpAddressesInLogDrains: false, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `teamId` | *string* | :heavy_check_mark: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.PatchTeamRequestBody](../../models/operations/patchteamrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/permissions.md b/docs/models/operations/permissions.md deleted file mode 100644 index 80a74741..00000000 --- a/docs/models/operations/permissions.md +++ /dev/null @@ -1,196 +0,0 @@ -# Permissions - -## Example Usage - -```typescript -import { Permissions } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: Permissions = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `accessGroup` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `aliasGlobal` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `analyticsSampling` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `analyticsUsage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `auditLog` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingAddress` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingInformation` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingInvoice` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingInvoiceEmailRecipient` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingInvoiceLanguage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingPlan` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingPurchaseOrder` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingTaxId` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `blob` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `budget` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `cacheArtifact` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `cacheArtifactUsageEvent` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `codeChecks` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `concurrentBuilds` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `connect` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `connectConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domain` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainAcceptDelegation` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainAuthCodes` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainCertificate` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainCheckConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainMove` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainPurchase` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainRecord` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainTransferIn` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `event` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `ownEvent` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sensitiveEnvironmentVariablePolicy` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `fileUpload` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `gitRepository` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `ipBlocking` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationAccount` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationConfigurationTransfer` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationConfigurationProjects` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationVercelConfigurationOverride` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationConfigurationRole` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationResource` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationEvent` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationResourceSecrets` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationDeploymentAction` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceInstallationMember` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceBillingData` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceInvoice` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `jobGlobal` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `logDrain` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoring` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoringSettings` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoringQuery` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoringChart` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoringAlert` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDeploymentFailed` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainExpire` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainMoved` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainPurchase` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainRenewal` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainTransfer` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainUnverified` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationMonitoringAlert` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationPaymentFailed` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationUsageAlert` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationCustomerBudget` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationStatementOfReasons` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `oauth2Connection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `observabilityConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `openTelemetryEndpoint` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `paymentMethod` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `permissions` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `postgres` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `previewDeploymentSuffix` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `proTrialOnboarding` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sharedEnvVars` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sharedEnvVarsProduction` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `space` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `spaceRun` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `passwordProtectionInvoiceItem` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `rateLimit` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `redis` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `repository` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `remoteCaching` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `samlConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `secret` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `redisStoreTokenSet` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `blobStoreTokenSet` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `postgresStoreTokenSet` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationStoreTokenSet` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationResourceReplCommand` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `storeTransfer` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `supportCase` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `supportCaseComment` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `dataCacheBillingSettings` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `team` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamAccessRequest` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamFellowMembership` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamGitExclusivity` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamInvite` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamInviteCode` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamJoin` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamMicrofrontends` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamOwnMembership` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamOwnMembershipDisconnectSAML` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `token` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `usage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `usageCycle` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `user` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `userConnection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `vpcPeeringConnection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webAnalyticsPlan` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webAuthn` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `edgeConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `edgeConfigItem` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `edgeConfigSchema` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `edgeConfigToken` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webhook` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webhookEvent` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `endpointVerification` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTransferIn` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `oauth2Application` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `aliasProject` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `aliasProtectionBypass` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `productionAliasProtectionBypass` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `connectConfigurationLink` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `dataCacheNamespace` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deployment` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentCheck` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentCheckPreview` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentCheckReRunFromProductionBranch` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentProductionGit` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentV0` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentPreview` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentPrivate` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentPromote` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentRollback` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `environments` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `logs` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `logsPreset` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `passwordProtection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `optionsAllowlist` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `job` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `observabilityData` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `project` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectFromV0` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectAccessGroup` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectAnalyticsSampling` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDeploymentHook` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDomain` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDomainMove` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDomainCheckConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectEnvVars` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectEnvVarsProduction` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectEnvVarsUnownedByIntegration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectFlags` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectId` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectIntegrationConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectLink` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectMember` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectMonitoring` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectPermissions` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectProductionBranch` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTransfer` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTransferOut` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectProtectionBypass` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectUsage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectAnalyticsUsage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectSupportCase` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectSupportCaseComment` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDeploymentExpiration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTier` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `seawallConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `skewProtection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `analytics` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `trustedIps` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webAnalytics` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sharedEnvVarConnection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sonar` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/php.md b/docs/models/operations/php.md deleted file mode 100644 index aa42acc6..00000000 --- a/docs/models/operations/php.md +++ /dev/null @@ -1,19 +0,0 @@ -# Php - -## Example Usage - -```typescript -import { Php } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Php = { - active: false, - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction](../../models/operations/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/plan.md b/docs/models/operations/plan.md deleted file mode 100644 index acf60e95..00000000 --- a/docs/models/operations/plan.md +++ /dev/null @@ -1,15 +0,0 @@ -# Plan - -## Example Usage - -```typescript -import { Plan } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: Plan = "hobby"; -``` - -## Values - -```typescript -"pro" | "enterprise" | "hobby" -``` \ No newline at end of file diff --git a/docs/models/operations/production.md b/docs/models/operations/production.md deleted file mode 100644 index f088ee85..00000000 --- a/docs/models/operations/production.md +++ /dev/null @@ -1,17 +0,0 @@ -# Production - -Filters only production domains when set to `true`. - -## Example Usage - -```typescript -import { Production } from "@vercel/sdk/models/operations/getprojectdomains.js"; - -let value: Production = "true"; -``` - -## Values - -```typescript -"true" | "false" -``` \ No newline at end of file diff --git a/docs/models/operations/projectselection.md b/docs/models/operations/projectselection.md deleted file mode 100644 index cc78da1f..00000000 --- a/docs/models/operations/projectselection.md +++ /dev/null @@ -1,17 +0,0 @@ -# ProjectSelection - -A string representing the permission for projects. Possible values are `all` or `selected`. - -## Example Usage - -```typescript -import { ProjectSelection } from "@vercel/sdk/models/operations/getconfiguration.js"; - -let value: ProjectSelection = "all"; -``` - -## Values - -```typescript -"selected" | "all" -``` \ No newline at end of file diff --git a/docs/models/operations/projectsmetadata.md b/docs/models/operations/projectsmetadata.md deleted file mode 100644 index c27a2f5e..00000000 --- a/docs/models/operations/projectsmetadata.md +++ /dev/null @@ -1,21 +0,0 @@ -# ProjectsMetadata - -## Example Usage - -```typescript -import { ProjectsMetadata } from "@vercel/sdk/models/operations/getwebhooks.js"; - -let value: ProjectsMetadata = { - id: "", - name: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `framework` | [operations.GetWebhooksResponseBodyFramework](../../models/operations/getwebhooksresponsebodyframework.md) | :heavy_minus_sign: | N/A | -| `latestDeployment` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/protectionbypass.md b/docs/models/operations/protectionbypass.md deleted file mode 100644 index 9d2f1b93..00000000 --- a/docs/models/operations/protectionbypass.md +++ /dev/null @@ -1,21 +0,0 @@ -# ProtectionBypass - -## Example Usage - -```typescript -import { ProtectionBypass } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: ProtectionBypass = { - createdAt: 2408.29, - createdBy: "", - scope: "automation-bypass", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `createdBy` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.Scope](../../models/operations/scope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/protectionbypass1.md b/docs/models/operations/protectionbypass1.md deleted file mode 100644 index b57772fe..00000000 --- a/docs/models/operations/protectionbypass1.md +++ /dev/null @@ -1,23 +0,0 @@ -# ProtectionBypass1 - -The protection bypass for the alias - -## Example Usage - -```typescript -import { ProtectionBypass1 } from "@vercel/sdk/models/operations/getalias.js"; - -let value: ProtectionBypass1 = { - createdAt: 1580.60, - createdBy: "", - scope: "shareable-link", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `createdBy` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.ProtectionBypassScope](../../models/operations/protectionbypassscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/protectionbypass2.md b/docs/models/operations/protectionbypass2.md deleted file mode 100644 index 1a8180fa..00000000 --- a/docs/models/operations/protectionbypass2.md +++ /dev/null @@ -1,27 +0,0 @@ -# ProtectionBypass2 - -The protection bypass for the alias - -## Example Usage - -```typescript -import { ProtectionBypass2 } from "@vercel/sdk/models/operations/getalias.js"; - -let value: ProtectionBypass2 = { - createdAt: 6091.64, - lastUpdatedAt: 7759.58, - lastUpdatedBy: "", - access: "requested", - scope: "user", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `lastUpdatedAt` | *number* | :heavy_check_mark: | N/A | -| `lastUpdatedBy` | *string* | :heavy_check_mark: | N/A | -| `access` | [operations.Access](../../models/operations/access.md) | :heavy_check_mark: | N/A | -| `scope` | [operations.GetAliasProtectionBypassScope](../../models/operations/getaliasprotectionbypassscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/protectionbypass3.md b/docs/models/operations/protectionbypass3.md deleted file mode 100644 index be210586..00000000 --- a/docs/models/operations/protectionbypass3.md +++ /dev/null @@ -1,23 +0,0 @@ -# ProtectionBypass3 - -The protection bypass for the alias - -## Example Usage - -```typescript -import { ProtectionBypass3 } from "@vercel/sdk/models/operations/getalias.js"; - -let value: ProtectionBypass3 = { - createdAt: 4346.33, - createdBy: "", - scope: "alias-protection-override", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `createdBy` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.GetAliasProtectionBypassAliasesScope](../../models/operations/getaliasprotectionbypassaliasesscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/protectionbypass4.md b/docs/models/operations/protectionbypass4.md deleted file mode 100644 index 1c65454c..00000000 --- a/docs/models/operations/protectionbypass4.md +++ /dev/null @@ -1,25 +0,0 @@ -# ProtectionBypass4 - -The protection bypass for the alias - -## Example Usage - -```typescript -import { ProtectionBypass4 } from "@vercel/sdk/models/operations/getalias.js"; - -let value: ProtectionBypass4 = { - createdAt: 7530.42, - lastUpdatedAt: 59.39, - lastUpdatedBy: "", - scope: "email_invite", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `lastUpdatedAt` | *number* | :heavy_check_mark: | N/A | -| `lastUpdatedBy` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.GetAliasProtectionBypassAliasesResponseScope](../../models/operations/getaliasprotectionbypassaliasesresponsescope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/protectionbypassaccess.md b/docs/models/operations/protectionbypassaccess.md deleted file mode 100644 index 2fa1b9a9..00000000 --- a/docs/models/operations/protectionbypassaccess.md +++ /dev/null @@ -1,15 +0,0 @@ -# ProtectionBypassAccess - -## Example Usage - -```typescript -import { ProtectionBypassAccess } from "@vercel/sdk/models/operations/listaliases.js"; - -let value: ProtectionBypassAccess = "granted"; -``` - -## Values - -```typescript -"requested" | "granted" -``` \ No newline at end of file diff --git a/docs/models/operations/protectionbypassscope.md b/docs/models/operations/protectionbypassscope.md deleted file mode 100644 index fe1b1b05..00000000 --- a/docs/models/operations/protectionbypassscope.md +++ /dev/null @@ -1,15 +0,0 @@ -# ProtectionBypassScope - -## Example Usage - -```typescript -import { ProtectionBypassScope } from "@vercel/sdk/models/operations/getalias.js"; - -let value: ProtectionBypassScope = "shareable-link"; -``` - -## Values - -```typescript -"shareable-link" -``` \ No newline at end of file diff --git a/docs/models/operations/provider.md b/docs/models/operations/provider.md deleted file mode 100644 index a0b8a928..00000000 --- a/docs/models/operations/provider.md +++ /dev/null @@ -1,15 +0,0 @@ -# Provider - -## Example Usage - -```typescript -import { Provider } from "@vercel/sdk/models/operations/gitnamespaces.js"; - -let value: Provider = "gitlab"; -``` - -## Values - -```typescript -"github" | "github-custom-host" | "gitlab" | "bitbucket" -``` \ No newline at end of file diff --git a/docs/models/operations/purpose.md b/docs/models/operations/purpose.md deleted file mode 100644 index 54cb8aa4..00000000 --- a/docs/models/operations/purpose.md +++ /dev/null @@ -1,19 +0,0 @@ -# Purpose - -## Example Usage - -```typescript -import { Purpose } from "@vercel/sdk/models/operations/getedgeconfigs.js"; - -let value: Purpose = { - type: "flags", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `type` | [operations.GetEdgeConfigsType](../../models/operations/getedgeconfigstype.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigaction.md b/docs/models/operations/putfirewallconfigaction.md deleted file mode 100644 index 607bf8be..00000000 --- a/docs/models/operations/putfirewallconfigaction.md +++ /dev/null @@ -1,15 +0,0 @@ -# PutFirewallConfigAction - -## Example Usage - -```typescript -import { PutFirewallConfigAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigAction = "log"; -``` - -## Values - -```typescript -"deny" | "log" -``` \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigalgo.md b/docs/models/operations/putfirewallconfigalgo.md deleted file mode 100644 index 320b19d9..00000000 --- a/docs/models/operations/putfirewallconfigalgo.md +++ /dev/null @@ -1,15 +0,0 @@ -# PutFirewallConfigAlgo - -## Example Usage - -```typescript -import { PutFirewallConfigAlgo } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigAlgo = "token_bucket"; -``` - -## Values - -```typescript -"fixed_window" | "token_bucket" -``` \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigchanges.md b/docs/models/operations/putfirewallconfigchanges.md deleted file mode 100644 index 75371a49..00000000 --- a/docs/models/operations/putfirewallconfigchanges.md +++ /dev/null @@ -1,14 +0,0 @@ -# PutFirewallConfigChanges - -## Example Usage - -```typescript -import { PutFirewallConfigChanges } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigChanges = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigconditiongroup.md b/docs/models/operations/putfirewallconfigconditiongroup.md deleted file mode 100644 index bccad98e..00000000 --- a/docs/models/operations/putfirewallconfigconditiongroup.md +++ /dev/null @@ -1,22 +0,0 @@ -# PutFirewallConfigConditionGroup - -## Example Usage - -```typescript -import { PutFirewallConfigConditionGroup } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigConditionGroup = { - conditions: [ - { - type: "ja4_digest", - op: "re", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `conditions` | [operations.PutFirewallConfigConditions](../../models/operations/putfirewallconfigconditions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigconditions.md b/docs/models/operations/putfirewallconfigconditions.md deleted file mode 100644 index ed06e33d..00000000 --- a/docs/models/operations/putfirewallconfigconditions.md +++ /dev/null @@ -1,22 +0,0 @@ -# PutFirewallConfigConditions - -## Example Usage - -```typescript -import { PutFirewallConfigConditions } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigConditions = { - type: "rate_limit_api_id", - op: "suf", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `type` | [operations.PutFirewallConfigSecurityType](../../models/operations/putfirewallconfigsecuritytype.md) | :heavy_check_mark: | N/A | -| `op` | [operations.PutFirewallConfigOp](../../models/operations/putfirewallconfigop.md) | :heavy_check_mark: | N/A | -| `neg` | *boolean* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *operations.PutFirewallConfigSecurityValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigcrs.md b/docs/models/operations/putfirewallconfigcrs.md deleted file mode 100644 index f610e0bb..00000000 --- a/docs/models/operations/putfirewallconfigcrs.md +++ /dev/null @@ -1,70 +0,0 @@ -# PutFirewallConfigCrs - -## Example Usage - -```typescript -import { PutFirewallConfigCrs } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigCrs = { - sd: { - active: false, - action: "deny", - }, - ma: { - active: false, - action: "deny", - }, - lfi: { - active: false, - action: "deny", - }, - rfi: { - active: false, - action: "log", - }, - rce: { - active: false, - action: "log", - }, - php: { - active: false, - action: "deny", - }, - gen: { - active: false, - action: "deny", - }, - xss: { - active: false, - action: "log", - }, - sqli: { - active: false, - action: "log", - }, - sf: { - active: false, - action: "log", - }, - java: { - active: false, - action: "deny", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `sd` | [operations.PutFirewallConfigSd](../../models/operations/putfirewallconfigsd.md) | :heavy_check_mark: | N/A | -| `ma` | [operations.PutFirewallConfigMa](../../models/operations/putfirewallconfigma.md) | :heavy_check_mark: | N/A | -| `lfi` | [operations.PutFirewallConfigLfi](../../models/operations/putfirewallconfiglfi.md) | :heavy_check_mark: | N/A | -| `rfi` | [operations.PutFirewallConfigRfi](../../models/operations/putfirewallconfigrfi.md) | :heavy_check_mark: | N/A | -| `rce` | [operations.PutFirewallConfigRce](../../models/operations/putfirewallconfigrce.md) | :heavy_check_mark: | N/A | -| `php` | [operations.PutFirewallConfigPhp](../../models/operations/putfirewallconfigphp.md) | :heavy_check_mark: | N/A | -| `gen` | [operations.PutFirewallConfigGen](../../models/operations/putfirewallconfiggen.md) | :heavy_check_mark: | N/A | -| `xss` | [operations.PutFirewallConfigXss](../../models/operations/putfirewallconfigxss.md) | :heavy_check_mark: | N/A | -| `sqli` | [operations.PutFirewallConfigSqli](../../models/operations/putfirewallconfigsqli.md) | :heavy_check_mark: | N/A | -| `sf` | [operations.PutFirewallConfigSf](../../models/operations/putfirewallconfigsf.md) | :heavy_check_mark: | N/A | -| `java` | [operations.PutFirewallConfigJava](../../models/operations/putfirewallconfigjava.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfiggen.md b/docs/models/operations/putfirewallconfiggen.md deleted file mode 100644 index f0f4e341..00000000 --- a/docs/models/operations/putfirewallconfiggen.md +++ /dev/null @@ -1,19 +0,0 @@ -# PutFirewallConfigGen - -## Example Usage - -```typescript -import { PutFirewallConfigGen } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigGen = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction](../../models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsgenaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigips.md b/docs/models/operations/putfirewallconfigips.md deleted file mode 100644 index 54fcf826..00000000 --- a/docs/models/operations/putfirewallconfigips.md +++ /dev/null @@ -1,24 +0,0 @@ -# PutFirewallConfigIps - -## Example Usage - -```typescript -import { PutFirewallConfigIps } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigIps = { - id: "", - hostname: "tender-hawk.info", - ip: "e1b7:f0df:6fce:0c6c:db2b:dfcf:feba:d022", - action: "bypass", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `hostname` | *string* | :heavy_check_mark: | N/A | -| `ip` | *string* | :heavy_check_mark: | N/A | -| `notes` | *string* | :heavy_minus_sign: | N/A | -| `action` | [operations.PutFirewallConfigSecurityResponse200Action](../../models/operations/putfirewallconfigsecurityresponse200action.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigjava.md b/docs/models/operations/putfirewallconfigjava.md deleted file mode 100644 index d85ae8c3..00000000 --- a/docs/models/operations/putfirewallconfigjava.md +++ /dev/null @@ -1,19 +0,0 @@ -# PutFirewallConfigJava - -## Example Usage - -```typescript -import { PutFirewallConfigJava } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigJava = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction](../../models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsjavaaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfiglfi.md b/docs/models/operations/putfirewallconfiglfi.md deleted file mode 100644 index a95cebf7..00000000 --- a/docs/models/operations/putfirewallconfiglfi.md +++ /dev/null @@ -1,19 +0,0 @@ -# PutFirewallConfigLfi - -## Example Usage - -```typescript -import { PutFirewallConfigLfi } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigLfi = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityResponse200ApplicationJSONAction](../../models/operations/putfirewallconfigsecurityresponse200applicationjsonaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigma.md b/docs/models/operations/putfirewallconfigma.md deleted file mode 100644 index a8a5bd5d..00000000 --- a/docs/models/operations/putfirewallconfigma.md +++ /dev/null @@ -1,19 +0,0 @@ -# PutFirewallConfigMa - -## Example Usage - -```typescript -import { PutFirewallConfigMa } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigMa = { - active: false, - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction](../../models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsmaaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigmanagedrules.md b/docs/models/operations/putfirewallconfigmanagedrules.md deleted file mode 100644 index 23543a82..00000000 --- a/docs/models/operations/putfirewallconfigmanagedrules.md +++ /dev/null @@ -1,16 +0,0 @@ -# PutFirewallConfigManagedRules - -## Example Usage - -```typescript -import { PutFirewallConfigManagedRules } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigManagedRules = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `owasp` | [operations.PutFirewallConfigOwasp](../../models/operations/putfirewallconfigowasp.md) | :heavy_minus_sign: | N/A | -| `verifiedBotsBypass` | [operations.PutFirewallConfigVerifiedBotsBypass](../../models/operations/putfirewallconfigverifiedbotsbypass.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigmitigate.md b/docs/models/operations/putfirewallconfigmitigate.md deleted file mode 100644 index b2143625..00000000 --- a/docs/models/operations/putfirewallconfigmitigate.md +++ /dev/null @@ -1,20 +0,0 @@ -# PutFirewallConfigMitigate - -## Example Usage - -```typescript -import { PutFirewallConfigMitigate } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigMitigate = { - action: "rate_limit", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `action` | [operations.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction](../../models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesaction.md) | :heavy_check_mark: | N/A | -| `rateLimit` | [operations.PutFirewallConfigRateLimit](../../models/operations/putfirewallconfigratelimit.md) | :heavy_minus_sign: | N/A | -| `redirect` | [operations.PutFirewallConfigRedirect](../../models/operations/putfirewallconfigredirect.md) | :heavy_minus_sign: | N/A | -| `actionDuration` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigop.md b/docs/models/operations/putfirewallconfigop.md deleted file mode 100644 index d3703444..00000000 --- a/docs/models/operations/putfirewallconfigop.md +++ /dev/null @@ -1,15 +0,0 @@ -# PutFirewallConfigOp - -## Example Usage - -```typescript -import { PutFirewallConfigOp } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigOp = "gt"; -``` - -## Values - -```typescript -"re" | "eq" | "ex" | "inc" | "pre" | "suf" | "sub" | "gt" | "gte" | "lt" | "lte" | "nex" | "ninc" | "neq" -``` \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigphp.md b/docs/models/operations/putfirewallconfigphp.md deleted file mode 100644 index 0c58d346..00000000 --- a/docs/models/operations/putfirewallconfigphp.md +++ /dev/null @@ -1,19 +0,0 @@ -# PutFirewallConfigPhp - -## Example Usage - -```typescript -import { PutFirewallConfigPhp } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigPhp = { - active: false, - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction](../../models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigratelimit.md b/docs/models/operations/putfirewallconfigratelimit.md deleted file mode 100644 index 51d2f673..00000000 --- a/docs/models/operations/putfirewallconfigratelimit.md +++ /dev/null @@ -1,26 +0,0 @@ -# PutFirewallConfigRateLimit - -## Example Usage - -```typescript -import { PutFirewallConfigRateLimit } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigRateLimit = { - algo: "fixed_window", - window: 2779.35, - limit: 3184.03, - keys: [ - "", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `algo` | [operations.PutFirewallConfigAlgo](../../models/operations/putfirewallconfigalgo.md) | :heavy_check_mark: | N/A | -| `window` | *number* | :heavy_check_mark: | N/A | -| `limit` | *number* | :heavy_check_mark: | N/A | -| `keys` | *string*[] | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction](../../models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesactionaction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigrce.md b/docs/models/operations/putfirewallconfigrce.md deleted file mode 100644 index fa9d4c10..00000000 --- a/docs/models/operations/putfirewallconfigrce.md +++ /dev/null @@ -1,19 +0,0 @@ -# PutFirewallConfigRce - -## Example Usage - -```typescript -import { PutFirewallConfigRce } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigRce = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction](../../models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiveaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigrequest.md b/docs/models/operations/putfirewallconfigrequest.md deleted file mode 100644 index d695617c..00000000 --- a/docs/models/operations/putfirewallconfigrequest.md +++ /dev/null @@ -1,20 +0,0 @@ -# PutFirewallConfigRequest - -## Example Usage - -```typescript -import { PutFirewallConfigRequest } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigRequest = { - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.PutFirewallConfigRequestBody](../../models/operations/putfirewallconfigrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigrequestbody.md b/docs/models/operations/putfirewallconfigrequestbody.md deleted file mode 100644 index d1e3ca9a..00000000 --- a/docs/models/operations/putfirewallconfigrequestbody.md +++ /dev/null @@ -1,21 +0,0 @@ -# PutFirewallConfigRequestBody - -## Example Usage - -```typescript -import { PutFirewallConfigRequestBody } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigRequestBody = { - firewallEnabled: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `firewallEnabled` | *boolean* | :heavy_check_mark: | N/A | -| `managedRules` | [operations.ManagedRules](../../models/operations/managedrules.md) | :heavy_minus_sign: | N/A | -| `crs` | [operations.Crs](../../models/operations/crs.md) | :heavy_minus_sign: | N/A | -| `rules` | [operations.Rules](../../models/operations/rules.md)[] | :heavy_minus_sign: | N/A | -| `ips` | [operations.Ips](../../models/operations/ips.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigresponsebody.md b/docs/models/operations/putfirewallconfigresponsebody.md deleted file mode 100644 index ca57872e..00000000 --- a/docs/models/operations/putfirewallconfigresponsebody.md +++ /dev/null @@ -1,99 +0,0 @@ -# PutFirewallConfigResponseBody - -## Example Usage - -```typescript -import { PutFirewallConfigResponseBody } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigResponseBody = { - active: { - ownerId: "", - projectKey: "", - id: "", - version: 780.75, - updatedAt: "", - firewallEnabled: false, - crs: { - sd: { - active: false, - action: "deny", - }, - ma: { - active: false, - action: "log", - }, - lfi: { - active: false, - action: "deny", - }, - rfi: { - active: false, - action: "log", - }, - rce: { - active: false, - action: "log", - }, - php: { - active: false, - action: "deny", - }, - gen: { - active: false, - action: "log", - }, - xss: { - active: false, - action: "log", - }, - sqli: { - active: false, - action: "log", - }, - sf: { - active: false, - action: "log", - }, - java: { - active: false, - action: "deny", - }, - }, - rules: [ - { - id: "", - name: "", - active: false, - conditionGroup: [ - { - conditions: [ - { - type: "geo_city", - op: "suf", - }, - ], - }, - ], - action: {}, - }, - ], - ips: [ - { - id: "", - hostname: "whole-ectoderm.biz", - ip: "146.229.45.71", - action: "challenge", - }, - ], - changes: [ - {}, - ], - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `active` | [operations.Active](../../models/operations/active.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigrfi.md b/docs/models/operations/putfirewallconfigrfi.md deleted file mode 100644 index f4847189..00000000 --- a/docs/models/operations/putfirewallconfigrfi.md +++ /dev/null @@ -1,19 +0,0 @@ -# PutFirewallConfigRfi - -## Example Usage - -```typescript -import { PutFirewallConfigRfi } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigRfi = { - active: false, - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction](../../models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigrules.md b/docs/models/operations/putfirewallconfigrules.md deleted file mode 100644 index 692a2262..00000000 --- a/docs/models/operations/putfirewallconfigrules.md +++ /dev/null @@ -1,35 +0,0 @@ -# PutFirewallConfigRules - -## Example Usage - -```typescript -import { PutFirewallConfigRules } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigRules = { - id: "", - name: "", - active: false, - conditionGroup: [ - { - conditions: [ - { - type: "environment", - op: "nex", - }, - ], - }, - ], - action: {}, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `conditionGroup` | [operations.PutFirewallConfigConditionGroup](../../models/operations/putfirewallconfigconditiongroup.md)[] | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityResponseAction](../../models/operations/putfirewallconfigsecurityresponseaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigsd.md b/docs/models/operations/putfirewallconfigsd.md deleted file mode 100644 index 2df603cc..00000000 --- a/docs/models/operations/putfirewallconfigsd.md +++ /dev/null @@ -1,19 +0,0 @@ -# PutFirewallConfigSd - -## Example Usage - -```typescript -import { PutFirewallConfigSd } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigSd = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction](../../models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssdaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodyrulesaction.md b/docs/models/operations/putfirewallconfigsecurityrequestrequestbodyrulesaction.md deleted file mode 100644 index 08e65179..00000000 --- a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodyrulesaction.md +++ /dev/null @@ -1,15 +0,0 @@ -# PutFirewallConfigSecurityRequestRequestBodyRulesAction - -## Example Usage - -```typescript -import { PutFirewallConfigSecurityRequestRequestBodyRulesAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigSecurityRequestRequestBodyRulesAction = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `mitigate` | [operations.Mitigate](../../models/operations/mitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200action.md b/docs/models/operations/putfirewallconfigsecurityresponse200action.md deleted file mode 100644 index 26115820..00000000 --- a/docs/models/operations/putfirewallconfigsecurityresponse200action.md +++ /dev/null @@ -1,15 +0,0 @@ -# PutFirewallConfigSecurityResponse200Action - -## Example Usage - -```typescript -import { PutFirewallConfigSecurityResponse200Action } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigSecurityResponse200Action = "bypass"; -``` - -## Values - -```typescript -"deny" | "log" | "challenge" | "bypass" -``` \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md deleted file mode 100644 index 0b16225d..00000000 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md +++ /dev/null @@ -1,17 +0,0 @@ -# PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction - -## Example Usage - -```typescript -import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction = - "deny"; -``` - -## Values - -```typescript -"deny" | "log" -``` \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigsecurityresponseaction.md b/docs/models/operations/putfirewallconfigsecurityresponseaction.md deleted file mode 100644 index a1670c09..00000000 --- a/docs/models/operations/putfirewallconfigsecurityresponseaction.md +++ /dev/null @@ -1,15 +0,0 @@ -# PutFirewallConfigSecurityResponseAction - -## Example Usage - -```typescript -import { PutFirewallConfigSecurityResponseAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigSecurityResponseAction = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `mitigate` | [operations.PutFirewallConfigMitigate](../../models/operations/putfirewallconfigmitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigsecuritytype.md b/docs/models/operations/putfirewallconfigsecuritytype.md deleted file mode 100644 index a0a608c1..00000000 --- a/docs/models/operations/putfirewallconfigsecuritytype.md +++ /dev/null @@ -1,15 +0,0 @@ -# PutFirewallConfigSecurityType - -## Example Usage - -```typescript -import { PutFirewallConfigSecurityType } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigSecurityType = "geo_as_number"; -``` - -## Values - -```typescript -"host" | "path" | "method" | "header" | "query" | "cookie" | "target_path" | "ip_address" | "protocol" | "region" | "scheme" | "environment" | "user_agent" | "geo_continent" | "geo_country" | "geo_country_region" | "geo_city" | "geo_as_number" | "ja4_digest" | "ja3_digest" | "rate_limit_api_id" -``` \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigsf.md b/docs/models/operations/putfirewallconfigsf.md deleted file mode 100644 index 8c991739..00000000 --- a/docs/models/operations/putfirewallconfigsf.md +++ /dev/null @@ -1,19 +0,0 @@ -# PutFirewallConfigSf - -## Example Usage - -```typescript -import { PutFirewallConfigSf } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigSf = { - active: false, - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction](../../models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssfaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigsqli.md b/docs/models/operations/putfirewallconfigsqli.md deleted file mode 100644 index ea792326..00000000 --- a/docs/models/operations/putfirewallconfigsqli.md +++ /dev/null @@ -1,19 +0,0 @@ -# PutFirewallConfigSqli - -## Example Usage - -```typescript -import { PutFirewallConfigSqli } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigSqli = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction](../../models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssqliaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigtype.md b/docs/models/operations/putfirewallconfigtype.md deleted file mode 100644 index 6c809ee7..00000000 --- a/docs/models/operations/putfirewallconfigtype.md +++ /dev/null @@ -1,15 +0,0 @@ -# PutFirewallConfigType - -## Example Usage - -```typescript -import { PutFirewallConfigType } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigType = "geo_country"; -``` - -## Values - -```typescript -"host" | "path" | "method" | "header" | "query" | "cookie" | "target_path" | "ip_address" | "region" | "protocol" | "scheme" | "environment" | "user_agent" | "geo_continent" | "geo_country" | "geo_country_region" | "geo_city" | "geo_as_number" | "ja4_digest" | "ja3_digest" | "rate_limit_api_id" -``` \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigxss.md b/docs/models/operations/putfirewallconfigxss.md deleted file mode 100644 index fabbd633..00000000 --- a/docs/models/operations/putfirewallconfigxss.md +++ /dev/null @@ -1,19 +0,0 @@ -# PutFirewallConfigXss - -## Example Usage - -```typescript -import { PutFirewallConfigXss } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: PutFirewallConfigXss = { - active: false, - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction](../../models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsxssaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/queryparamprovider.md b/docs/models/operations/queryparamprovider.md deleted file mode 100644 index 69907805..00000000 --- a/docs/models/operations/queryparamprovider.md +++ /dev/null @@ -1,15 +0,0 @@ -# QueryParamProvider - -## Example Usage - -```typescript -import { QueryParamProvider } from "@vercel/sdk/models/operations/searchrepo.js"; - -let value: QueryParamProvider = "bitbucket"; -``` - -## Values - -```typescript -"github" | "github-custom-host" | "gitlab" | "bitbucket" -``` \ No newline at end of file diff --git a/docs/models/operations/queryparamrole.md b/docs/models/operations/queryparamrole.md deleted file mode 100644 index 3eeabe7a..00000000 --- a/docs/models/operations/queryparamrole.md +++ /dev/null @@ -1,17 +0,0 @@ -# QueryParamRole - -Only return members with the specified team role. - -## Example Usage - -```typescript -import { QueryParamRole } from "@vercel/sdk/models/operations/getteammembers.js"; - -let value: QueryParamRole = "OWNER"; -``` - -## Values - -```typescript -"OWNER" | "MEMBER" | "DEVELOPER" | "VIEWER" | "BILLING" | "CONTRIBUTOR" -``` \ No newline at end of file diff --git a/docs/models/operations/queryparamtarget.md b/docs/models/operations/queryparamtarget.md deleted file mode 100644 index 17045fb7..00000000 --- a/docs/models/operations/queryparamtarget.md +++ /dev/null @@ -1,17 +0,0 @@ -# QueryParamTarget - -Filters on the target of the domain. Can be either \"production\", \"preview\" - -## Example Usage - -```typescript -import { QueryParamTarget } from "@vercel/sdk/models/operations/getprojectdomains.js"; - -let value: QueryParamTarget = "production"; -``` - -## Values - -```typescript -"production" | "preview" -``` \ No newline at end of file diff --git a/docs/models/operations/queryparamtype.md b/docs/models/operations/queryparamtype.md deleted file mode 100644 index c276a1e4..00000000 --- a/docs/models/operations/queryparamtype.md +++ /dev/null @@ -1,17 +0,0 @@ -# QueryParamType - -In which status of the domain the price needs to be checked. - -## Example Usage - -```typescript -import { QueryParamType } from "@vercel/sdk/models/operations/checkdomainprice.js"; - -let value: QueryParamType = "new"; -``` - -## Values - -```typescript -"new" | "renewal" | "transfer" | "redemption" -``` \ No newline at end of file diff --git a/docs/models/operations/ratelimit.md b/docs/models/operations/ratelimit.md deleted file mode 100644 index 46a9bce0..00000000 --- a/docs/models/operations/ratelimit.md +++ /dev/null @@ -1,24 +0,0 @@ -# RateLimit - - -## Supported Types - -### `operations.RateLimit1` - -```typescript -const value: operations.RateLimit1 = { - algo: "token_bucket", - window: 2304.00, - limit: 4266.91, - keys: [ - "", - ], -}; -``` - -### `any` - -```typescript -const value: any = ""; -``` - diff --git a/docs/models/operations/ratelimit1.md b/docs/models/operations/ratelimit1.md deleted file mode 100644 index 629411c3..00000000 --- a/docs/models/operations/ratelimit1.md +++ /dev/null @@ -1,26 +0,0 @@ -# RateLimit1 - -## Example Usage - -```typescript -import { RateLimit1 } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: RateLimit1 = { - algo: "token_bucket", - window: 2580.36, - limit: 4733.86, - keys: [ - "", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `algo` | [operations.Algo](../../models/operations/algo.md) | :heavy_check_mark: | N/A | -| `window` | *number* | :heavy_check_mark: | N/A | -| `limit` | *number* | :heavy_check_mark: | N/A | -| `keys` | *string*[] | :heavy_check_mark: | N/A | -| `action` | *operations.RateLimitAction* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/ratelimitaction.md b/docs/models/operations/ratelimitaction.md deleted file mode 100644 index 6f9e3f72..00000000 --- a/docs/models/operations/ratelimitaction.md +++ /dev/null @@ -1,17 +0,0 @@ -# RateLimitAction - - -## Supported Types - -### `operations.Action1` - -```typescript -const value: operations.Action1 = "log"; -``` - -### `any` - -```typescript -const value: any = ""; -``` - diff --git a/docs/models/operations/ratelimitalgo.md b/docs/models/operations/ratelimitalgo.md deleted file mode 100644 index 03ee6d29..00000000 --- a/docs/models/operations/ratelimitalgo.md +++ /dev/null @@ -1,15 +0,0 @@ -# RateLimitAlgo - -## Example Usage - -```typescript -import { RateLimitAlgo } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: RateLimitAlgo = "fixed_window"; -``` - -## Values - -```typescript -"fixed_window" | "token_bucket" -``` \ No newline at end of file diff --git a/docs/models/operations/rce.md b/docs/models/operations/rce.md deleted file mode 100644 index 0aaa41d4..00000000 --- a/docs/models/operations/rce.md +++ /dev/null @@ -1,19 +0,0 @@ -# Rce - -## Example Usage - -```typescript -import { Rce } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Rce = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityRequestRequestBodyCrsAction](../../models/operations/putfirewallconfigsecurityrequestrequestbodycrsaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/readaccessgroupprojectresponsebody.md b/docs/models/operations/readaccessgroupprojectresponsebody.md deleted file mode 100644 index 0acf5f13..00000000 --- a/docs/models/operations/readaccessgroupprojectresponsebody.md +++ /dev/null @@ -1,27 +0,0 @@ -# ReadAccessGroupProjectResponseBody - -## Example Usage - -```typescript -import { ReadAccessGroupProjectResponseBody } from "@vercel/sdk/models/operations/readaccessgroupproject.js"; - -let value: ReadAccessGroupProjectResponseBody = { - teamId: "", - accessGroupId: "", - projectId: "", - role: "PROJECT_VIEWER", - createdAt: "", - updatedAt: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `teamId` | *string* | :heavy_check_mark: | N/A | -| `accessGroupId` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `role` | [operations.ReadAccessGroupProjectRole](../../models/operations/readaccessgroupprojectrole.md) | :heavy_check_mark: | N/A | -| `createdAt` | *string* | :heavy_check_mark: | N/A | -| `updatedAt` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/readaccessgroupprojectrole.md b/docs/models/operations/readaccessgroupprojectrole.md deleted file mode 100644 index f1880f9e..00000000 --- a/docs/models/operations/readaccessgroupprojectrole.md +++ /dev/null @@ -1,15 +0,0 @@ -# ReadAccessGroupProjectRole - -## Example Usage - -```typescript -import { ReadAccessGroupProjectRole } from "@vercel/sdk/models/operations/readaccessgroupproject.js"; - -let value: ReadAccessGroupProjectRole = "ADMIN"; -``` - -## Values - -```typescript -"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_VIEWER" -``` \ No newline at end of file diff --git a/docs/models/operations/readaccessgroupresponsebody.md b/docs/models/operations/readaccessgroupresponsebody.md deleted file mode 100644 index 7247fc94..00000000 --- a/docs/models/operations/readaccessgroupresponsebody.md +++ /dev/null @@ -1,32 +0,0 @@ -# ReadAccessGroupResponseBody - -## Example Usage - -```typescript -import { ReadAccessGroupResponseBody } from "@vercel/sdk/models/operations/readaccessgroup.js"; - -let value: ReadAccessGroupResponseBody = { - isDsyncManaged: false, - name: "my-access-group", - createdAt: "1588720733602", - teamId: "team_123a6c5209bc3778245d011443644c8d27dc2c50", - updatedAt: "1588720733602", - accessGroupId: "ag_123a6c5209bc3778245d011443644c8d27dc2c50", - membersCount: 5, - projectsCount: 2, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `entitlements` | [operations.Entitlements](../../models/operations/entitlements.md)[] | :heavy_minus_sign: | N/A | | -| `isDsyncManaged` | *boolean* | :heavy_check_mark: | N/A | | -| `name` | *string* | :heavy_check_mark: | The name of this access group. | my-access-group | -| `createdAt` | *string* | :heavy_check_mark: | Timestamp in milliseconds when the access group was created. | 1588720733602 | -| `teamId` | *string* | :heavy_check_mark: | ID of the team that this access group belongs to. | team_123a6c5209bc3778245d011443644c8d27dc2c50 | -| `updatedAt` | *string* | :heavy_check_mark: | Timestamp in milliseconds when the access group was last updated. | 1588720733602 | -| `accessGroupId` | *string* | :heavy_check_mark: | ID of the access group. | ag_123a6c5209bc3778245d011443644c8d27dc2c50 | -| `membersCount` | *number* | :heavy_check_mark: | Number of members in the access group. | 5 | -| `projectsCount` | *number* | :heavy_check_mark: | Number of projects in the access group. | 2 | \ No newline at end of file diff --git a/docs/models/operations/readystate.md b/docs/models/operations/readystate.md deleted file mode 100644 index 97a805d4..00000000 --- a/docs/models/operations/readystate.md +++ /dev/null @@ -1,15 +0,0 @@ -# ReadyState - -## Example Usage - -```typescript -import { ReadyState } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: ReadyState = "CANCELED"; -``` - -## Values - -```typescript -"CANCELED" | "ERROR" | "QUEUED" | "BUILDING" | "INITIALIZING" | "READY" -``` \ No newline at end of file diff --git a/docs/models/operations/records.md b/docs/models/operations/records.md deleted file mode 100644 index 25285bdb..00000000 --- a/docs/models/operations/records.md +++ /dev/null @@ -1,37 +0,0 @@ -# Records - -## Example Usage - -```typescript -import { Records } from "@vercel/sdk/models/operations/getrecords.js"; - -let value: Records = { - id: "", - slug: "", - name: "", - type: "HTTPS", - value: "", - creator: "", - created: 7416.03, - updated: 7705.44, - createdAt: 9082.48, - updatedAt: 1503.50, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `type` | [operations.GetRecordsResponseBodyType](../../models/operations/getrecordsresponsebodytype.md) | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `mxPriority` | *number* | :heavy_minus_sign: | N/A | -| `priority` | *number* | :heavy_minus_sign: | N/A | -| `creator` | *string* | :heavy_check_mark: | N/A | -| `created` | *number* | :heavy_check_mark: | N/A | -| `updated` | *number* | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/recordtype.md b/docs/models/operations/recordtype.md deleted file mode 100644 index 6ddcaa0d..00000000 --- a/docs/models/operations/recordtype.md +++ /dev/null @@ -1,15 +0,0 @@ -# RecordType - -## Example Usage - -```typescript -import { RecordType } from "@vercel/sdk/models/operations/updaterecord.js"; - -let value: RecordType = "NS"; -``` - -## Values - -```typescript -"A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "HTTPS" | "MX" | "SRV" | "TXT" | "NS" -``` \ No newline at end of file diff --git a/docs/models/operations/redirect.md b/docs/models/operations/redirect.md deleted file mode 100644 index 205979b1..00000000 --- a/docs/models/operations/redirect.md +++ /dev/null @@ -1,20 +0,0 @@ -# Redirect - - -## Supported Types - -### `operations.Redirect1` - -```typescript -const value: operations.Redirect1 = { - location: "", - permanent: false, -}; -``` - -### `any` - -```typescript -const value: any = ""; -``` - diff --git a/docs/models/operations/redirects.md b/docs/models/operations/redirects.md deleted file mode 100644 index 25962cf8..00000000 --- a/docs/models/operations/redirects.md +++ /dev/null @@ -1,17 +0,0 @@ -# Redirects - -Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default). - -## Example Usage - -```typescript -import { Redirects } from "@vercel/sdk/models/operations/getprojectdomains.js"; - -let value: Redirects = "true"; -``` - -## Values - -```typescript -"true" | "false" -``` \ No newline at end of file diff --git a/docs/models/operations/redirectstatuscode.md b/docs/models/operations/redirectstatuscode.md deleted file mode 100644 index 2b32ddd1..00000000 --- a/docs/models/operations/redirectstatuscode.md +++ /dev/null @@ -1,17 +0,0 @@ -# RedirectStatusCode - -Status code for domain redirect - -## Example Usage - -```typescript -import { RedirectStatusCode } from "@vercel/sdk/models/operations/updateprojectdomain.js"; - -let value: RedirectStatusCode = 307; -``` - -## Values - -```typescript -301 | 302 | 307 | 308 -``` \ No newline at end of file diff --git a/docs/models/operations/remotecaching.md b/docs/models/operations/remotecaching.md deleted file mode 100644 index f1729a91..00000000 --- a/docs/models/operations/remotecaching.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoteCaching - -Whether or not remote caching is enabled for the team - -## Example Usage - -```typescript -import { RemoteCaching } from "@vercel/sdk/models/operations/patchteam.js"; - -let value: RemoteCaching = { - enabled: true, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `enabled` | *boolean* | :heavy_minus_sign: | Enable or disable remote caching for the team. | true | \ No newline at end of file diff --git a/docs/models/operations/removecertresponsebody.md b/docs/models/operations/removecertresponsebody.md deleted file mode 100644 index 99e86f74..00000000 --- a/docs/models/operations/removecertresponsebody.md +++ /dev/null @@ -1,14 +0,0 @@ -# RemoveCertResponseBody - -## Example Usage - -```typescript -import { RemoveCertResponseBody } from "@vercel/sdk/models/operations/removecert.js"; - -let value: RemoveCertResponseBody = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthint1.md b/docs/models/operations/removeprojectenvcontenthint1.md deleted file mode 100644 index 4cae20b0..00000000 --- a/docs/models/operations/removeprojectenvcontenthint1.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHint1 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHint1 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintType](../../models/operations/removeprojectenvcontenthinttype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthint10.md b/docs/models/operations/removeprojectenvcontenthint10.md deleted file mode 100644 index db9b37f9..00000000 --- a/docs/models/operations/removeprojectenvcontenthint10.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHint10 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHint10 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthint11.md b/docs/models/operations/removeprojectenvcontenthint11.md deleted file mode 100644 index 82476c57..00000000 --- a/docs/models/operations/removeprojectenvcontenthint11.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHint11 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHint11 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthint12.md b/docs/models/operations/removeprojectenvcontenthint12.md deleted file mode 100644 index 5c2766aa..00000000 --- a/docs/models/operations/removeprojectenvcontenthint12.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHint12 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHint12 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHint12 = { - type: "postgres-database", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthint13.md b/docs/models/operations/removeprojectenvcontenthint13.md deleted file mode 100644 index 8734011f..00000000 --- a/docs/models/operations/removeprojectenvcontenthint13.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHint13 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHint13 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHint13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthint14.md b/docs/models/operations/removeprojectenvcontenthint14.md deleted file mode 100644 index 7adb9f7f..00000000 --- a/docs/models/operations/removeprojectenvcontenthint14.md +++ /dev/null @@ -1,25 +0,0 @@ -# RemoveProjectEnvContentHint14 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHint14 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHint14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthint15.md b/docs/models/operations/removeprojectenvcontenthint15.md deleted file mode 100644 index 0bb17597..00000000 --- a/docs/models/operations/removeprojectenvcontenthint15.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHint15 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHint15 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHint15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthint2.md b/docs/models/operations/removeprojectenvcontenthint2.md deleted file mode 100644 index 2cbcc28d..00000000 --- a/docs/models/operations/removeprojectenvcontenthint2.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHint2 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHint2 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.RemoveProjectEnvContentHintProjectsType](../../models/operations/removeprojectenvcontenthintprojectstype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthint3.md b/docs/models/operations/removeprojectenvcontenthint3.md deleted file mode 100644 index cc164d53..00000000 --- a/docs/models/operations/removeprojectenvcontenthint3.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHint3 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHint3 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponseType](../../models/operations/removeprojectenvcontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthint4.md b/docs/models/operations/removeprojectenvcontenthint4.md deleted file mode 100644 index f15dd933..00000000 --- a/docs/models/operations/removeprojectenvcontenthint4.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHint4 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHint4 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthint5.md b/docs/models/operations/removeprojectenvcontenthint5.md deleted file mode 100644 index d93663bf..00000000 --- a/docs/models/operations/removeprojectenvcontenthint5.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHint5 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHint5 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthint6.md b/docs/models/operations/removeprojectenvcontenthint6.md deleted file mode 100644 index 6e241176..00000000 --- a/docs/models/operations/removeprojectenvcontenthint6.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHint6 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHint6 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthint7.md b/docs/models/operations/removeprojectenvcontenthint7.md deleted file mode 100644 index 137a034e..00000000 --- a/docs/models/operations/removeprojectenvcontenthint7.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHint7 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHint7 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthint8.md b/docs/models/operations/removeprojectenvcontenthint8.md deleted file mode 100644 index add5a686..00000000 --- a/docs/models/operations/removeprojectenvcontenthint8.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHint8 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHint8 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthint9.md b/docs/models/operations/removeprojectenvcontenthint9.md deleted file mode 100644 index 26fcecd3..00000000 --- a/docs/models/operations/removeprojectenvcontenthint9.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHint9 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHint9 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojects1.md b/docs/models/operations/removeprojectenvcontenthintprojects1.md deleted file mode 100644 index 9aca093f..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojects1.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjects1 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjects1 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjects1 = { - type: "redis-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojects10.md b/docs/models/operations/removeprojectenvcontenthintprojects10.md deleted file mode 100644 index 443b740f..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojects10.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjects10 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjects10 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjects10 = { - type: "postgres-host", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojects11.md b/docs/models/operations/removeprojectenvcontenthintprojects11.md deleted file mode 100644 index 1fa43921..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojects11.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjects11 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjects11 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjects11 = { - type: "postgres-password", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojects12.md b/docs/models/operations/removeprojectenvcontenthintprojects12.md deleted file mode 100644 index b617920f..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojects12.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjects12 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjects12 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjects12 = { - type: "postgres-database", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojects13.md b/docs/models/operations/removeprojectenvcontenthintprojects13.md deleted file mode 100644 index 5014d88e..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojects13.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjects13 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjects13 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjects13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojects14.md b/docs/models/operations/removeprojectenvcontenthintprojects14.md deleted file mode 100644 index 187eb5d4..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojects14.md +++ /dev/null @@ -1,25 +0,0 @@ -# RemoveProjectEnvContentHintProjects14 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjects14 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjects14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojects15.md b/docs/models/operations/removeprojectenvcontenthintprojects15.md deleted file mode 100644 index b09fbafe..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojects15.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjects15 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjects15 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjects15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojects2.md b/docs/models/operations/removeprojectenvcontenthintprojects2.md deleted file mode 100644 index ceedbdba..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojects2.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjects2 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjects2 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjects2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojects3.md b/docs/models/operations/removeprojectenvcontenthintprojects3.md deleted file mode 100644 index 48a5f92f..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojects3.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjects3 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjects3 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjects3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojects4.md b/docs/models/operations/removeprojectenvcontenthintprojects4.md deleted file mode 100644 index aa213751..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojects4.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjects4 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjects4 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjects4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojects5.md b/docs/models/operations/removeprojectenvcontenthintprojects5.md deleted file mode 100644 index 46041840..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojects5.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjects5 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjects5 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjects5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojects6.md b/docs/models/operations/removeprojectenvcontenthintprojects6.md deleted file mode 100644 index 7db4615f..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojects6.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjects6 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjects6 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjects6 = { - type: "postgres-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojects7.md b/docs/models/operations/removeprojectenvcontenthintprojects7.md deleted file mode 100644 index 2af7cc1e..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojects7.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjects7 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjects7 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjects7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojects8.md b/docs/models/operations/removeprojectenvcontenthintprojects8.md deleted file mode 100644 index 8ee638a0..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojects8.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjects8 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjects8 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjects8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojects9.md b/docs/models/operations/removeprojectenvcontenthintprojects9.md deleted file mode 100644 index 1df9d33e..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojects9.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjects9 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjects9 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjects9 = { - type: "postgres-user", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse1.md b/docs/models/operations/removeprojectenvcontenthintprojectsresponse1.md deleted file mode 100644 index 86b90fc1..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjectsResponse1 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjectsResponse1 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjectsResponse1 = { - type: "redis-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse10.md b/docs/models/operations/removeprojectenvcontenthintprojectsresponse10.md deleted file mode 100644 index 119b6191..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse10.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjectsResponse10 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjectsResponse10 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjectsResponse10 = { - type: "postgres-host", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse11.md b/docs/models/operations/removeprojectenvcontenthintprojectsresponse11.md deleted file mode 100644 index 0495b650..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse11.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjectsResponse11 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjectsResponse11 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjectsResponse11 = { - type: "postgres-password", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse12.md b/docs/models/operations/removeprojectenvcontenthintprojectsresponse12.md deleted file mode 100644 index b84995f4..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse12.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjectsResponse12 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjectsResponse12 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjectsResponse12 = { - type: "postgres-database", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse13.md b/docs/models/operations/removeprojectenvcontenthintprojectsresponse13.md deleted file mode 100644 index b66f63c0..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse13.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjectsResponse13 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjectsResponse13 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjectsResponse13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse14.md b/docs/models/operations/removeprojectenvcontenthintprojectsresponse14.md deleted file mode 100644 index efe57bb2..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse14.md +++ /dev/null @@ -1,25 +0,0 @@ -# RemoveProjectEnvContentHintProjectsResponse14 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjectsResponse14 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjectsResponse14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse15.md b/docs/models/operations/removeprojectenvcontenthintprojectsresponse15.md deleted file mode 100644 index dccf0213..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse15.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjectsResponse15 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjectsResponse15 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjectsResponse15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse2.md b/docs/models/operations/removeprojectenvcontenthintprojectsresponse2.md deleted file mode 100644 index 82778e46..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse2.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjectsResponse2 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjectsResponse2 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjectsResponse2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse3.md b/docs/models/operations/removeprojectenvcontenthintprojectsresponse3.md deleted file mode 100644 index 27186589..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse3.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjectsResponse3 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjectsResponse3 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjectsResponse3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse4.md b/docs/models/operations/removeprojectenvcontenthintprojectsresponse4.md deleted file mode 100644 index 07b4469b..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse4.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjectsResponse4 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjectsResponse4 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjectsResponse4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse5.md b/docs/models/operations/removeprojectenvcontenthintprojectsresponse5.md deleted file mode 100644 index 4854c839..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse5.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjectsResponse5 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjectsResponse5 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjectsResponse5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse6.md b/docs/models/operations/removeprojectenvcontenthintprojectsresponse6.md deleted file mode 100644 index a5169826..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse6.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjectsResponse6 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjectsResponse6 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjectsResponse6 = { - type: "postgres-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse7.md b/docs/models/operations/removeprojectenvcontenthintprojectsresponse7.md deleted file mode 100644 index b576d068..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse7.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjectsResponse7 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjectsResponse7 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjectsResponse7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse8.md b/docs/models/operations/removeprojectenvcontenthintprojectsresponse8.md deleted file mode 100644 index 1ce86862..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse8.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjectsResponse8 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjectsResponse8 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjectsResponse8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse9.md b/docs/models/operations/removeprojectenvcontenthintprojectsresponse9.md deleted file mode 100644 index e8c8f2ad..00000000 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse9.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvContentHintProjectsResponse9 - -## Example Usage - -```typescript -import { RemoveProjectEnvContentHintProjectsResponse9 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvContentHintProjectsResponse9 = { - type: "postgres-user", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type](../../models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvresponsebody.md b/docs/models/operations/removeprojectenvresponsebody.md deleted file mode 100644 index 5c7537e2..00000000 --- a/docs/models/operations/removeprojectenvresponsebody.md +++ /dev/null @@ -1,39 +0,0 @@ -# RemoveProjectEnvResponseBody - -The environment variable was successfully removed - - -## Supported Types - -### `operations.RemoveProjectEnvResponseBody1[]` - -```typescript -const value: operations.RemoveProjectEnvResponseBody1[] = [ - { - type: "plain", - key: "", - value: "", - }, -]; -``` - -### `operations.RemoveProjectEnvResponseBody2` - -```typescript -const value: operations.RemoveProjectEnvResponseBody2 = { - type: "system", - key: "", - value: "", -}; -``` - -### `operations.RemoveProjectEnvResponseBody3` - -```typescript -const value: operations.RemoveProjectEnvResponseBody3 = { - type: "plain", - key: "", - value: "", -}; -``` - diff --git a/docs/models/operations/removeprojectenvresponsebody1.md b/docs/models/operations/removeprojectenvresponsebody1.md deleted file mode 100644 index bc1fb18c..00000000 --- a/docs/models/operations/removeprojectenvresponsebody1.md +++ /dev/null @@ -1,38 +0,0 @@ -# RemoveProjectEnvResponseBody1 - -## Example Usage - -```typescript -import { RemoveProjectEnvResponseBody1 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvResponseBody1 = { - type: "sensitive", - key: "", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `target` | *operations.RemoveProjectEnvResponseBodyTarget* | :heavy_minus_sign: | N/A | -| `type` | [operations.RemoveProjectEnvResponseBodyType](../../models/operations/removeprojectenvresponsebodytype.md) | :heavy_check_mark: | N/A | -| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `createdBy` | *string* | :heavy_minus_sign: | N/A | -| `updatedBy` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `contentHint` | *operations.RemoveProjectEnvResponseBodyContentHint* | :heavy_minus_sign: | N/A | -| `internalContentHint` | [operations.RemoveProjectEnvResponseBodyInternalContentHint](../../models/operations/removeprojectenvresponsebodyinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | -| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | -| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvresponsebody2.md b/docs/models/operations/removeprojectenvresponsebody2.md deleted file mode 100644 index eacba3ed..00000000 --- a/docs/models/operations/removeprojectenvresponsebody2.md +++ /dev/null @@ -1,39 +0,0 @@ -# RemoveProjectEnvResponseBody2 - -## Example Usage - -```typescript -import { RemoveProjectEnvResponseBody2 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvResponseBody2 = { - type: "plain", - key: "", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `system` | *boolean* | :heavy_minus_sign: | N/A | -| `target` | *operations.RemoveProjectEnvResponseBodyProjectsTarget* | :heavy_minus_sign: | N/A | -| `type` | [operations.RemoveProjectEnvResponseBodyProjectsType](../../models/operations/removeprojectenvresponsebodyprojectstype.md) | :heavy_check_mark: | N/A | -| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `createdBy` | *string* | :heavy_minus_sign: | N/A | -| `updatedBy` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `contentHint` | *operations.RemoveProjectEnvResponseBodyProjectsContentHint* | :heavy_minus_sign: | N/A | -| `internalContentHint` | [operations.RemoveProjectEnvResponseBodyProjectsInternalContentHint](../../models/operations/removeprojectenvresponsebodyprojectsinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | -| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | -| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvresponsebody3.md b/docs/models/operations/removeprojectenvresponsebody3.md deleted file mode 100644 index ca19e6a6..00000000 --- a/docs/models/operations/removeprojectenvresponsebody3.md +++ /dev/null @@ -1,38 +0,0 @@ -# RemoveProjectEnvResponseBody3 - -## Example Usage - -```typescript -import { RemoveProjectEnvResponseBody3 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvResponseBody3 = { - type: "secret", - key: "", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `target` | *operations.RemoveProjectEnvResponseBodyProjectsResponseTarget* | :heavy_minus_sign: | N/A | -| `type` | [operations.RemoveProjectEnvResponseBodyProjectsResponseType](../../models/operations/removeprojectenvresponsebodyprojectsresponsetype.md) | :heavy_check_mark: | N/A | -| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `createdBy` | *string* | :heavy_minus_sign: | N/A | -| `updatedBy` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `contentHint` | *operations.RemoveProjectEnvResponseBodyProjectsResponseContentHint* | :heavy_minus_sign: | N/A | -| `internalContentHint` | [operations.RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint](../../models/operations/removeprojectenvresponsebodyprojectsresponseinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | -| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | -| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvresponsebodycontenthint.md b/docs/models/operations/removeprojectenvresponsebodycontenthint.md deleted file mode 100644 index f69b88cc..00000000 --- a/docs/models/operations/removeprojectenvresponsebodycontenthint.md +++ /dev/null @@ -1,143 +0,0 @@ -# RemoveProjectEnvResponseBodyContentHint - - -## Supported Types - -### `operations.RemoveProjectEnvContentHint1` - -```typescript -const value: operations.RemoveProjectEnvContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHint2` - -```typescript -const value: operations.RemoveProjectEnvContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHint3` - -```typescript -const value: operations.RemoveProjectEnvContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHint4` - -```typescript -const value: operations.RemoveProjectEnvContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHint5` - -```typescript -const value: operations.RemoveProjectEnvContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHint6` - -```typescript -const value: operations.RemoveProjectEnvContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHint7` - -```typescript -const value: operations.RemoveProjectEnvContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHint8` - -```typescript -const value: operations.RemoveProjectEnvContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHint9` - -```typescript -const value: operations.RemoveProjectEnvContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHint10` - -```typescript -const value: operations.RemoveProjectEnvContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHint11` - -```typescript -const value: operations.RemoveProjectEnvContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHint12` - -```typescript -const value: operations.RemoveProjectEnvContentHint12 = { - type: "postgres-database", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHint13` - -```typescript -const value: operations.RemoveProjectEnvContentHint13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHint14` - -```typescript -const value: operations.RemoveProjectEnvContentHint14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHint15` - -```typescript -const value: operations.RemoveProjectEnvContentHint15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - diff --git a/docs/models/operations/removeprojectenvresponsebodyinternalcontenthint.md b/docs/models/operations/removeprojectenvresponsebodyinternalcontenthint.md deleted file mode 100644 index 9fe8825b..00000000 --- a/docs/models/operations/removeprojectenvresponsebodyinternalcontenthint.md +++ /dev/null @@ -1,21 +0,0 @@ -# RemoveProjectEnvResponseBodyInternalContentHint - -Similar to `contentHints`, but should not be exposed to the user. - -## Example Usage - -```typescript -import { RemoveProjectEnvResponseBodyInternalContentHint } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvResponseBodyInternalContentHint = { - type: "flags-secret", - encryptedValue: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType](../../models/operations/removeprojectenvresponsebodyprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvresponsebodyprojectscontenthint.md b/docs/models/operations/removeprojectenvresponsebodyprojectscontenthint.md deleted file mode 100644 index f2d58009..00000000 --- a/docs/models/operations/removeprojectenvresponsebodyprojectscontenthint.md +++ /dev/null @@ -1,143 +0,0 @@ -# RemoveProjectEnvResponseBodyProjectsContentHint - - -## Supported Types - -### `operations.RemoveProjectEnvContentHintProjects1` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjects1 = { - type: "redis-url", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjects2` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjects2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjects3` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjects3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjects4` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjects4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjects5` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjects5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjects6` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjects6 = { - type: "postgres-url", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjects7` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjects7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjects8` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjects8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjects9` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjects9 = { - type: "postgres-user", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjects10` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjects10 = { - type: "postgres-host", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjects11` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjects11 = { - type: "postgres-password", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjects12` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjects12 = { - type: "postgres-database", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjects13` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjects13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjects14` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjects14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjects15` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjects15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - diff --git a/docs/models/operations/removeprojectenvresponsebodyprojectsinternalcontenthint.md b/docs/models/operations/removeprojectenvresponsebodyprojectsinternalcontenthint.md deleted file mode 100644 index 5b8ed478..00000000 --- a/docs/models/operations/removeprojectenvresponsebodyprojectsinternalcontenthint.md +++ /dev/null @@ -1,21 +0,0 @@ -# RemoveProjectEnvResponseBodyProjectsInternalContentHint - -Similar to `contentHints`, but should not be exposed to the user. - -## Example Usage - -```typescript -import { RemoveProjectEnvResponseBodyProjectsInternalContentHint } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvResponseBodyProjectsInternalContentHint = { - type: "flags-secret", - encryptedValue: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.RemoveProjectEnvResponseBodyProjectsResponse200Type](../../models/operations/removeprojectenvresponsebodyprojectsresponse200type.md) | :heavy_check_mark: | N/A | -| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvresponsebodyprojectsresponsecontenthint.md b/docs/models/operations/removeprojectenvresponsebodyprojectsresponsecontenthint.md deleted file mode 100644 index ab0166e7..00000000 --- a/docs/models/operations/removeprojectenvresponsebodyprojectsresponsecontenthint.md +++ /dev/null @@ -1,143 +0,0 @@ -# RemoveProjectEnvResponseBodyProjectsResponseContentHint - - -## Supported Types - -### `operations.RemoveProjectEnvContentHintProjectsResponse1` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjectsResponse1 = { - type: "redis-url", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjectsResponse2` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjectsResponse2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjectsResponse3` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjectsResponse3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjectsResponse4` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjectsResponse4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjectsResponse5` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjectsResponse5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjectsResponse6` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjectsResponse6 = { - type: "postgres-url", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjectsResponse7` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjectsResponse7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjectsResponse8` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjectsResponse8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjectsResponse9` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjectsResponse9 = { - type: "postgres-user", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjectsResponse10` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjectsResponse10 = { - type: "postgres-host", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjectsResponse11` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjectsResponse11 = { - type: "postgres-password", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjectsResponse12` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjectsResponse12 = { - type: "postgres-database", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjectsResponse13` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjectsResponse13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjectsResponse14` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjectsResponse14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -### `operations.RemoveProjectEnvContentHintProjectsResponse15` - -```typescript -const value: operations.RemoveProjectEnvContentHintProjectsResponse15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - diff --git a/docs/models/operations/removeprojectenvresponsebodyprojectsresponseinternalcontenthint.md b/docs/models/operations/removeprojectenvresponsebodyprojectsresponseinternalcontenthint.md deleted file mode 100644 index 32f20107..00000000 --- a/docs/models/operations/removeprojectenvresponsebodyprojectsresponseinternalcontenthint.md +++ /dev/null @@ -1,21 +0,0 @@ -# RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint - -Similar to `contentHints`, but should not be exposed to the user. - -## Example Usage - -```typescript -import { RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint = { - type: "flags-secret", - encryptedValue: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type](../../models/operations/removeprojectenvresponsebodyprojectsresponse200applicationjson3type.md) | :heavy_check_mark: | N/A | -| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvresponsebodyprojectsresponsetarget.md b/docs/models/operations/removeprojectenvresponsebodyprojectsresponsetarget.md deleted file mode 100644 index 8e4aa1dd..00000000 --- a/docs/models/operations/removeprojectenvresponsebodyprojectsresponsetarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvResponseBodyProjectsResponseTarget - - -## Supported Types - -### `operations.RemoveProjectEnvTargetProjectsResponse1[]` - -```typescript -const value: operations.RemoveProjectEnvTargetProjectsResponse1[] = [ - "preview", -]; -``` - -### `operations.RemoveProjectEnvTargetProjectsResponse2` - -```typescript -const value: operations.RemoveProjectEnvTargetProjectsResponse2 = "production"; -``` - diff --git a/docs/models/operations/removeprojectenvresponsebodyprojectsresponsetype.md b/docs/models/operations/removeprojectenvresponsebodyprojectsresponsetype.md deleted file mode 100644 index 21bdd6bd..00000000 --- a/docs/models/operations/removeprojectenvresponsebodyprojectsresponsetype.md +++ /dev/null @@ -1,15 +0,0 @@ -# RemoveProjectEnvResponseBodyProjectsResponseType - -## Example Usage - -```typescript -import { RemoveProjectEnvResponseBodyProjectsResponseType } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvResponseBodyProjectsResponseType = "sensitive"; -``` - -## Values - -```typescript -"system" | "encrypted" | "plain" | "sensitive" | "secret" -``` \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvresponsebodyprojectstarget.md b/docs/models/operations/removeprojectenvresponsebodyprojectstarget.md deleted file mode 100644 index 87fbdaec..00000000 --- a/docs/models/operations/removeprojectenvresponsebodyprojectstarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvResponseBodyProjectsTarget - - -## Supported Types - -### `operations.RemoveProjectEnvTargetProjects1[]` - -```typescript -const value: operations.RemoveProjectEnvTargetProjects1[] = [ - "production", -]; -``` - -### `operations.RemoveProjectEnvTargetProjects2` - -```typescript -const value: operations.RemoveProjectEnvTargetProjects2 = "development"; -``` - diff --git a/docs/models/operations/removeprojectenvresponsebodyprojectstype.md b/docs/models/operations/removeprojectenvresponsebodyprojectstype.md deleted file mode 100644 index 4a2d3486..00000000 --- a/docs/models/operations/removeprojectenvresponsebodyprojectstype.md +++ /dev/null @@ -1,15 +0,0 @@ -# RemoveProjectEnvResponseBodyProjectsType - -## Example Usage - -```typescript -import { RemoveProjectEnvResponseBodyProjectsType } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvResponseBodyProjectsType = "sensitive"; -``` - -## Values - -```typescript -"system" | "encrypted" | "plain" | "sensitive" | "secret" -``` \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvresponsebodytarget.md b/docs/models/operations/removeprojectenvresponsebodytarget.md deleted file mode 100644 index 408916f5..00000000 --- a/docs/models/operations/removeprojectenvresponsebodytarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# RemoveProjectEnvResponseBodyTarget - - -## Supported Types - -### `operations.RemoveProjectEnvTarget1[]` - -```typescript -const value: operations.RemoveProjectEnvTarget1[] = [ - "production", -]; -``` - -### `operations.RemoveProjectEnvTarget2` - -```typescript -const value: operations.RemoveProjectEnvTarget2 = "development"; -``` - diff --git a/docs/models/operations/removeprojectenvresponsebodytype.md b/docs/models/operations/removeprojectenvresponsebodytype.md deleted file mode 100644 index 4e1d61a8..00000000 --- a/docs/models/operations/removeprojectenvresponsebodytype.md +++ /dev/null @@ -1,15 +0,0 @@ -# RemoveProjectEnvResponseBodyType - -## Example Usage - -```typescript -import { RemoveProjectEnvResponseBodyType } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvResponseBodyType = "secret"; -``` - -## Values - -```typescript -"system" | "encrypted" | "plain" | "sensitive" | "secret" -``` \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvtarget1.md b/docs/models/operations/removeprojectenvtarget1.md deleted file mode 100644 index e8dc98df..00000000 --- a/docs/models/operations/removeprojectenvtarget1.md +++ /dev/null @@ -1,15 +0,0 @@ -# RemoveProjectEnvTarget1 - -## Example Usage - -```typescript -import { RemoveProjectEnvTarget1 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvTarget1 = "development"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvtarget2.md b/docs/models/operations/removeprojectenvtarget2.md deleted file mode 100644 index 23e984e8..00000000 --- a/docs/models/operations/removeprojectenvtarget2.md +++ /dev/null @@ -1,15 +0,0 @@ -# RemoveProjectEnvTarget2 - -## Example Usage - -```typescript -import { RemoveProjectEnvTarget2 } from "@vercel/sdk/models/operations/removeprojectenv.js"; - -let value: RemoveProjectEnvTarget2 = "production"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/repos.md b/docs/models/operations/repos.md deleted file mode 100644 index 94bd7b0e..00000000 --- a/docs/models/operations/repos.md +++ /dev/null @@ -1,40 +0,0 @@ -# Repos - -## Example Usage - -```typescript -import { Repos } from "@vercel/sdk/models/operations/searchrepo.js"; - -let value: Repos = { - id: "", - provider: "bitbucket", - url: "https://waterlogged-beret.info/", - name: "", - slug: "", - namespace: "", - owner: { - id: "", - name: "", - }, - ownerType: "user", - private: false, - defaultBranch: "", - updatedAt: 5537.66, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `id` | *operations.ResponseBodyId* | :heavy_check_mark: | N/A | -| `provider` | [operations.SearchRepoResponseBodyProvider](../../models/operations/searchreporesponsebodyprovider.md) | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `namespace` | *string* | :heavy_check_mark: | N/A | -| `owner` | [operations.Owner](../../models/operations/owner.md) | :heavy_check_mark: | N/A | -| `ownerType` | [operations.ResponseBodyOwnerType](../../models/operations/responsebodyownertype.md) | :heavy_check_mark: | N/A | -| `private` | *boolean* | :heavy_check_mark: | N/A | -| `defaultBranch` | *string* | :heavy_check_mark: | N/A | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/requestaccesstoteamgituserid.md b/docs/models/operations/requestaccesstoteamgituserid.md deleted file mode 100644 index 11456450..00000000 --- a/docs/models/operations/requestaccesstoteamgituserid.md +++ /dev/null @@ -1,17 +0,0 @@ -# RequestAccessToTeamGitUserId - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `number` - -```typescript -const value: number = 5080.44; -``` - diff --git a/docs/models/operations/requestaccesstoteamjoinedfrom.md b/docs/models/operations/requestaccesstoteamjoinedfrom.md deleted file mode 100644 index d80dc30c..00000000 --- a/docs/models/operations/requestaccesstoteamjoinedfrom.md +++ /dev/null @@ -1,27 +0,0 @@ -# RequestAccessToTeamJoinedFrom - -## Example Usage - -```typescript -import { RequestAccessToTeamJoinedFrom } from "@vercel/sdk/models/operations/requestaccesstoteam.js"; - -let value: RequestAccessToTeamJoinedFrom = { - origin: "feedback", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `origin` | [operations.RequestAccessToTeamOrigin](../../models/operations/requestaccesstoteamorigin.md) | :heavy_check_mark: | N/A | -| `commitId` | *string* | :heavy_minus_sign: | N/A | -| `repoId` | *string* | :heavy_minus_sign: | N/A | -| `repoPath` | *string* | :heavy_minus_sign: | N/A | -| `gitUserId` | *operations.RequestAccessToTeamGitUserId* | :heavy_minus_sign: | N/A | -| `gitUserLogin` | *string* | :heavy_minus_sign: | N/A | -| `ssoUserId` | *string* | :heavy_minus_sign: | N/A | -| `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | -| `idpUserId` | *string* | :heavy_minus_sign: | N/A | -| `dsyncUserId` | *string* | :heavy_minus_sign: | N/A | -| `dsyncConnectedAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/requestaccesstoteamorigin.md b/docs/models/operations/requestaccesstoteamorigin.md deleted file mode 100644 index 66e413d1..00000000 --- a/docs/models/operations/requestaccesstoteamorigin.md +++ /dev/null @@ -1,15 +0,0 @@ -# RequestAccessToTeamOrigin - -## Example Usage - -```typescript -import { RequestAccessToTeamOrigin } from "@vercel/sdk/models/operations/requestaccesstoteam.js"; - -let value: RequestAccessToTeamOrigin = "saml"; -``` - -## Values - -```typescript -"import" | "teams" | "github" | "gitlab" | "bitbucket" | "feedback" | "organization-teams" | "mail" | "link" | "saml" | "dsync" -``` \ No newline at end of file diff --git a/docs/models/operations/requestaccesstoteamrequest.md b/docs/models/operations/requestaccesstoteamrequest.md deleted file mode 100644 index a3e9b36a..00000000 --- a/docs/models/operations/requestaccesstoteamrequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# RequestAccessToTeamRequest - -## Example Usage - -```typescript -import { RequestAccessToTeamRequest } from "@vercel/sdk/models/operations/requestaccesstoteam.js"; - -let value: RequestAccessToTeamRequest = { - teamId: "", - requestBody: { - joinedFrom: { - origin: "github", - commitId: "f498d25d8bd654b578716203be73084b31130cd7", - repoId: "67753070", - repoPath: "jane-doe/example", - gitUserId: 103053343, - gitUserLogin: "jane-doe", - }, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `teamId` | *string* | :heavy_check_mark: | N/A | -| `requestBody` | [operations.RequestAccessToTeamRequestBody](../../models/operations/requestaccesstoteamrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/requestaccesstoteamrequestbody.md b/docs/models/operations/requestaccesstoteamrequestbody.md deleted file mode 100644 index 413893fa..00000000 --- a/docs/models/operations/requestaccesstoteamrequestbody.md +++ /dev/null @@ -1,24 +0,0 @@ -# RequestAccessToTeamRequestBody - -## Example Usage - -```typescript -import { RequestAccessToTeamRequestBody } from "@vercel/sdk/models/operations/requestaccesstoteam.js"; - -let value: RequestAccessToTeamRequestBody = { - joinedFrom: { - origin: "github", - commitId: "f498d25d8bd654b578716203be73084b31130cd7", - repoId: "67753070", - repoPath: "jane-doe/example", - gitUserId: 103053343, - gitUserLogin: "jane-doe", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `joinedFrom` | [operations.JoinedFrom](../../models/operations/joinedfrom.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/requestaccesstoteamresponsebody.md b/docs/models/operations/requestaccesstoteamresponsebody.md deleted file mode 100644 index d91491aa..00000000 --- a/docs/models/operations/requestaccesstoteamresponsebody.md +++ /dev/null @@ -1,30 +0,0 @@ -# RequestAccessToTeamResponseBody - -Successfuly requested access to the team. - -## Example Usage - -```typescript -import { RequestAccessToTeamResponseBody } from "@vercel/sdk/models/operations/requestaccesstoteam.js"; - -let value: RequestAccessToTeamResponseBody = { - teamSlug: "", - teamName: "", - github: {}, - gitlab: {}, - bitbucket: {}, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `teamSlug` | *string* | :heavy_check_mark: | N/A | -| `teamName` | *string* | :heavy_check_mark: | N/A | -| `confirmed` | *boolean* | :heavy_minus_sign: | N/A | -| `joinedFrom` | [operations.RequestAccessToTeamJoinedFrom](../../models/operations/requestaccesstoteamjoinedfrom.md) | :heavy_minus_sign: | N/A | -| `accessRequestedAt` | *number* | :heavy_minus_sign: | N/A | -| `github` | [operations.Github](../../models/operations/github.md) | :heavy_check_mark: | N/A | -| `gitlab` | [operations.Gitlab](../../models/operations/gitlab.md) | :heavy_check_mark: | N/A | -| `bitbucket` | [operations.Bitbucket](../../models/operations/bitbucket.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/requestbody10.md b/docs/models/operations/requestbody10.md deleted file mode 100644 index 324a6443..00000000 --- a/docs/models/operations/requestbody10.md +++ /dev/null @@ -1,22 +0,0 @@ -# RequestBody10 - -Remove an IP Blocking rule - -## Example Usage - -```typescript -import { RequestBody10 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: RequestBody10 = { - action: "ip.remove", - id: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `action` | [operations.UpdateFirewallConfigRequestBodySecurityRequest10Action](../../models/operations/updatefirewallconfigrequestbodysecurityrequest10action.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `value` | *any* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/requestbody2.md b/docs/models/operations/requestbody2.md deleted file mode 100644 index 8cf3a9e0..00000000 --- a/docs/models/operations/requestbody2.md +++ /dev/null @@ -1,25 +0,0 @@ -# RequestBody2 - -## Example Usage - -```typescript -import { RequestBody2 } from "@vercel/sdk/models/operations/createrecord.js"; - -let value: RequestBody2 = { - name: "subdomain", - type: "NS", - ttl: 60, - value: "2001:DB8::42", - comment: "used to verify ownership of domain", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_check_mark: | A subdomain name or an empty string for the root domain. | subdomain | -| `type` | [operations.CreateRecordRequestBodyType](../../models/operations/createrecordrequestbodytype.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | -| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | -| `value` | *string* | :heavy_check_mark: | An AAAA record pointing to an IPv6 address. | 2001:DB8::42 | -| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/operations/requestbody3.md b/docs/models/operations/requestbody3.md deleted file mode 100644 index 03cb8fa9..00000000 --- a/docs/models/operations/requestbody3.md +++ /dev/null @@ -1,25 +0,0 @@ -# RequestBody3 - -## Example Usage - -```typescript -import { RequestBody3 } from "@vercel/sdk/models/operations/createrecord.js"; - -let value: RequestBody3 = { - name: "subdomain", - type: "CAA", - ttl: 60, - value: "cname.vercel-dns.com", - comment: "used to verify ownership of domain", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_check_mark: | A subdomain name or an empty string for the root domain. | subdomain | -| `type` | [operations.CreateRecordRequestBodyDnsType](../../models/operations/createrecordrequestbodydnstype.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | -| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | -| `value` | *string* | :heavy_check_mark: | An ALIAS virtual record pointing to a hostname resolved to an A record on server side. | cname.vercel-dns.com | -| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/operations/requestbody4.md b/docs/models/operations/requestbody4.md deleted file mode 100644 index 8d0fab06..00000000 --- a/docs/models/operations/requestbody4.md +++ /dev/null @@ -1,25 +0,0 @@ -# RequestBody4 - -## Example Usage - -```typescript -import { RequestBody4 } from "@vercel/sdk/models/operations/createrecord.js"; - -let value: RequestBody4 = { - name: "subdomain", - type: "TXT", - ttl: 60, - value: "0 issue \\"letsencrypt.org\\"", - comment: "used to verify ownership of domain", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | A subdomain name or an empty string for the root domain. | subdomain | -| `type` | [operations.CreateRecordRequestBodyDnsRequestType](../../models/operations/createrecordrequestbodydnsrequesttype.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | -| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | -| `value` | *string* | :heavy_check_mark: | A CAA record to specify which Certificate Authorities (CAs) are allowed to issue certificates for the domain. | 0 issue \"letsencrypt.org\" | -| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/operations/requestbody5.md b/docs/models/operations/requestbody5.md deleted file mode 100644 index aff6e800..00000000 --- a/docs/models/operations/requestbody5.md +++ /dev/null @@ -1,25 +0,0 @@ -# RequestBody5 - -## Example Usage - -```typescript -import { RequestBody5 } from "@vercel/sdk/models/operations/createrecord.js"; - -let value: RequestBody5 = { - name: "subdomain", - type: "CNAME", - ttl: 60, - value: "cname.vercel-dns.com", - comment: "used to verify ownership of domain", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | A subdomain name or an empty string for the root domain. | subdomain | -| `type` | [operations.CreateRecordRequestBodyDnsRequest5Type](../../models/operations/createrecordrequestbodydnsrequest5type.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | -| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | -| `value` | *string* | :heavy_minus_sign: | A CNAME record mapping to another domain name. | cname.vercel-dns.com | -| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/operations/requestbody6.md b/docs/models/operations/requestbody6.md deleted file mode 100644 index 801dfe6f..00000000 --- a/docs/models/operations/requestbody6.md +++ /dev/null @@ -1,26 +0,0 @@ -# RequestBody6 - -Enable a managed rule - -## Example Usage - -```typescript -import { RequestBody6 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: RequestBody6 = { - action: "crs.update", - id: "sf", - value: { - active: false, - action: "deny", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `action` | [operations.UpdateFirewallConfigRequestBodySecurityRequest6Action](../../models/operations/updatefirewallconfigrequestbodysecurityrequest6action.md) | :heavy_check_mark: | N/A | -| `id` | [operations.Id](../../models/operations/id.md) | :heavy_check_mark: | N/A | -| `value` | [operations.UpdateFirewallConfigRequestBodySecurityValue](../../models/operations/updatefirewallconfigrequestbodysecurityvalue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/requestbody7.md b/docs/models/operations/requestbody7.md deleted file mode 100644 index 8ac74ff6..00000000 --- a/docs/models/operations/requestbody7.md +++ /dev/null @@ -1,21 +0,0 @@ -# RequestBody7 - -Disable a managed rule - -## Example Usage - -```typescript -import { RequestBody7 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: RequestBody7 = { - action: "crs.disable", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `action` | [operations.UpdateFirewallConfigRequestBodySecurityRequest7Action](../../models/operations/updatefirewallconfigrequestbodysecurityrequest7action.md) | :heavy_check_mark: | N/A | -| `id` | *any* | :heavy_minus_sign: | N/A | -| `value` | *any* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/requestbody8.md b/docs/models/operations/requestbody8.md deleted file mode 100644 index b4d3a00b..00000000 --- a/docs/models/operations/requestbody8.md +++ /dev/null @@ -1,26 +0,0 @@ -# RequestBody8 - -Add an IP Blocking rule - -## Example Usage - -```typescript -import { RequestBody8 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: RequestBody8 = { - action: "ip.insert", - value: { - hostname: "soupy-drive.info", - ip: "147.255.59.90", - action: "challenge", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `action` | [operations.UpdateFirewallConfigRequestBodySecurityRequest8Action](../../models/operations/updatefirewallconfigrequestbodysecurityrequest8action.md) | :heavy_check_mark: | N/A | -| `id` | *any* | :heavy_minus_sign: | N/A | -| `value` | [operations.UpdateFirewallConfigRequestBodySecurityRequestValue](../../models/operations/updatefirewallconfigrequestbodysecurityrequestvalue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/requestbody9.md b/docs/models/operations/requestbody9.md deleted file mode 100644 index 346d9689..00000000 --- a/docs/models/operations/requestbody9.md +++ /dev/null @@ -1,27 +0,0 @@ -# RequestBody9 - -Update an IP Blocking rule - -## Example Usage - -```typescript -import { RequestBody9 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: RequestBody9 = { - action: "ip.update", - id: "", - value: { - hostname: "outlying-tennis.com", - ip: "b07f:af97:ccfb:e92c:d9eb:dcc2:f5fb:a5f2", - action: "bypass", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `action` | [operations.UpdateFirewallConfigRequestBodySecurityRequest9Action](../../models/operations/updatefirewallconfigrequestbodysecurityrequest9action.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `value` | [operations.UpdateFirewallConfigRequestBodySecurityRequest9Value](../../models/operations/updatefirewallconfigrequestbodysecurityrequest9value.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/requestbodyaction.md b/docs/models/operations/requestbodyaction.md deleted file mode 100644 index 2c5d9c41..00000000 --- a/docs/models/operations/requestbodyaction.md +++ /dev/null @@ -1,15 +0,0 @@ -# RequestBodyAction - -## Example Usage - -```typescript -import { RequestBodyAction } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: RequestBodyAction = "firewallEnabled"; -``` - -## Values - -```typescript -"firewallEnabled" -``` \ No newline at end of file diff --git a/docs/models/operations/requestbodyconditiongroup.md b/docs/models/operations/requestbodyconditiongroup.md deleted file mode 100644 index 8462f34d..00000000 --- a/docs/models/operations/requestbodyconditiongroup.md +++ /dev/null @@ -1,22 +0,0 @@ -# RequestBodyConditionGroup - -## Example Usage - -```typescript -import { RequestBodyConditionGroup } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: RequestBodyConditionGroup = { - conditions: [ - { - type: "environment", - op: "suf", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `conditions` | [operations.RequestBodyConditions](../../models/operations/requestbodyconditions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/requestbodyconditions.md b/docs/models/operations/requestbodyconditions.md deleted file mode 100644 index e7ea2067..00000000 --- a/docs/models/operations/requestbodyconditions.md +++ /dev/null @@ -1,22 +0,0 @@ -# RequestBodyConditions - -## Example Usage - -```typescript -import { RequestBodyConditions } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: RequestBodyConditions = { - type: "geo_as_number", - op: "re", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateFirewallConfigRequestBodyType](../../models/operations/updatefirewallconfigrequestbodytype.md) | :heavy_check_mark: | N/A | -| `op` | [operations.RequestBodyOp](../../models/operations/requestbodyop.md) | :heavy_check_mark: | N/A | -| `neg` | *boolean* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *operations.UpdateFirewallConfigRequestBodySecurityRequest2Value* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/requestbodyid.md b/docs/models/operations/requestbodyid.md deleted file mode 100644 index 34f75803..00000000 --- a/docs/models/operations/requestbodyid.md +++ /dev/null @@ -1,15 +0,0 @@ -# RequestBodyId - -## Example Usage - -```typescript -import { RequestBodyId } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: RequestBodyId = "owasp"; -``` - -## Values - -```typescript -"owasp" -``` \ No newline at end of file diff --git a/docs/models/operations/requestbodymitigate.md b/docs/models/operations/requestbodymitigate.md deleted file mode 100644 index 23bb47fe..00000000 --- a/docs/models/operations/requestbodymitigate.md +++ /dev/null @@ -1,20 +0,0 @@ -# RequestBodyMitigate - -## Example Usage - -```typescript -import { RequestBodyMitigate } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: RequestBodyMitigate = { - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `action` | [operations.UpdateFirewallConfigRequestBodySecurityRequest2ValueAction](../../models/operations/updatefirewallconfigrequestbodysecurityrequest2valueaction.md) | :heavy_check_mark: | N/A | -| `rateLimit` | *operations.RequestBodyRateLimit* | :heavy_minus_sign: | N/A | -| `redirect` | *operations.RequestBodyRedirect* | :heavy_minus_sign: | N/A | -| `actionDuration` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/requestbodyop.md b/docs/models/operations/requestbodyop.md deleted file mode 100644 index bdb7f806..00000000 --- a/docs/models/operations/requestbodyop.md +++ /dev/null @@ -1,15 +0,0 @@ -# RequestBodyOp - -## Example Usage - -```typescript -import { RequestBodyOp } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: RequestBodyOp = "pre"; -``` - -## Values - -```typescript -"re" | "eq" | "neq" | "ex" | "nex" | "inc" | "ninc" | "pre" | "suf" | "sub" | "gt" | "gte" | "lt" | "lte" -``` \ No newline at end of file diff --git a/docs/models/operations/requestbodyratelimit.md b/docs/models/operations/requestbodyratelimit.md deleted file mode 100644 index d9303de3..00000000 --- a/docs/models/operations/requestbodyratelimit.md +++ /dev/null @@ -1,24 +0,0 @@ -# RequestBodyRateLimit - - -## Supported Types - -### `operations.UpdateFirewallConfigRateLimit1` - -```typescript -const value: operations.UpdateFirewallConfigRateLimit1 = { - algo: "token_bucket", - window: 302.88, - limit: 4069.46, - keys: [ - "", - ], -}; -``` - -### `any` - -```typescript -const value: any = ""; -``` - diff --git a/docs/models/operations/requestbodyredirect.md b/docs/models/operations/requestbodyredirect.md deleted file mode 100644 index 1b5f2ed7..00000000 --- a/docs/models/operations/requestbodyredirect.md +++ /dev/null @@ -1,20 +0,0 @@ -# RequestBodyRedirect - - -## Supported Types - -### `operations.UpdateFirewallConfigRedirect1` - -```typescript -const value: operations.UpdateFirewallConfigRedirect1 = { - location: "", - permanent: false, -}; -``` - -### `any` - -```typescript -const value: any = ""; -``` - diff --git a/docs/models/operations/requestbodyrole.md b/docs/models/operations/requestbodyrole.md deleted file mode 100644 index fe82fb86..00000000 --- a/docs/models/operations/requestbodyrole.md +++ /dev/null @@ -1,17 +0,0 @@ -# RequestBodyRole - -The project role of the member that will be added. - -## Example Usage - -```typescript -import { RequestBodyRole } from "@vercel/sdk/models/operations/addprojectmember.js"; - -let value: RequestBodyRole = "ADMIN"; -``` - -## Values - -```typescript -"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_VIEWER" -``` \ No newline at end of file diff --git a/docs/models/operations/requestbodytype.md b/docs/models/operations/requestbodytype.md deleted file mode 100644 index c8c25ae4..00000000 --- a/docs/models/operations/requestbodytype.md +++ /dev/null @@ -1,17 +0,0 @@ -# RequestBodyType - -The type of record, it could be one of the valid DNS records. - -## Example Usage - -```typescript -import { RequestBodyType } from "@vercel/sdk/models/operations/createrecord.js"; - -let value: RequestBodyType = "MX"; -``` - -## Values - -```typescript -"A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "HTTPS" | "MX" | "SRV" | "TXT" | "NS" -``` \ No newline at end of file diff --git a/docs/models/operations/requestbodyvalue.md b/docs/models/operations/requestbodyvalue.md deleted file mode 100644 index bdcbcb47..00000000 --- a/docs/models/operations/requestbodyvalue.md +++ /dev/null @@ -1,33 +0,0 @@ -# RequestBodyValue - -## Example Usage - -```typescript -import { RequestBodyValue } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: RequestBodyValue = { - name: "", - active: false, - conditionGroup: [ - { - conditions: [ - { - type: "cookie", - op: "neq", - }, - ], - }, - ], - action: {}, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `conditionGroup` | [operations.RequestBodyConditionGroup](../../models/operations/requestbodyconditiongroup.md)[] | :heavy_check_mark: | N/A | -| `action` | [operations.UpdateFirewallConfigRequestBodySecurityRequest2Action](../../models/operations/updatefirewallconfigrequestbodysecurityrequest2action.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/rerequestcheckresponsebody.md b/docs/models/operations/rerequestcheckresponsebody.md deleted file mode 100644 index 0193758a..00000000 --- a/docs/models/operations/rerequestcheckresponsebody.md +++ /dev/null @@ -1,14 +0,0 @@ -# RerequestCheckResponseBody - -## Example Usage - -```typescript -import { RerequestCheckResponseBody } from "@vercel/sdk/models/operations/rerequestcheck.js"; - -let value: RerequestCheckResponseBody = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/resourceconfig.md b/docs/models/operations/resourceconfig.md deleted file mode 100644 index 3fdc6330..00000000 --- a/docs/models/operations/resourceconfig.md +++ /dev/null @@ -1,18 +0,0 @@ -# ResourceConfig - -## Example Usage - -```typescript -import { ResourceConfig } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: ResourceConfig = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `functionDefaultTimeout` | *number* | :heavy_minus_sign: | N/A | -| `functionDefaultMemoryType` | [operations.FunctionDefaultMemoryType](../../models/operations/functiondefaultmemorytype.md) | :heavy_minus_sign: | N/A | -| `allowServerlessConcurrency` | *boolean* | :heavy_minus_sign: | N/A | -| `elasticConcurrencyEnabled` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/responsebody.md b/docs/models/operations/responsebody.md deleted file mode 100644 index 3f79be9f..00000000 --- a/docs/models/operations/responsebody.md +++ /dev/null @@ -1,24 +0,0 @@ -# ResponseBody - - -## Supported Types - -### `operations.ResponseBody1` - -```typescript -const value: operations.ResponseBody1 = { - size: 2532.92, - taskDurationMs: 4663.11, -}; -``` - -### `operations.ResponseBody2` - -```typescript -const value: operations.ResponseBody2 = { - error: { - message: "", - }, -}; -``` - diff --git a/docs/models/operations/responsebody2.md b/docs/models/operations/responsebody2.md deleted file mode 100644 index 55e1560e..00000000 --- a/docs/models/operations/responsebody2.md +++ /dev/null @@ -1,19 +0,0 @@ -# ResponseBody2 - -## Example Usage - -```typescript -import { ResponseBody2 } from "@vercel/sdk/models/operations/artifactquery.js"; - -let value: ResponseBody2 = { - error: { - message: "", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `error` | [operations.ErrorT](../../models/operations/errort.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/responsebodybillingplan.md b/docs/models/operations/responsebodybillingplan.md deleted file mode 100644 index 255f86f2..00000000 --- a/docs/models/operations/responsebodybillingplan.md +++ /dev/null @@ -1,31 +0,0 @@ -# ResponseBodyBillingPlan - -## Example Usage - -```typescript -import { ResponseBodyBillingPlan } from "@vercel/sdk/models/operations/getconfigurations.js"; - -let value: ResponseBodyBillingPlan = { - id: "", - type: "prepayment", - name: "", - description: "now nephew equally cleverly", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `type` | [operations.GetConfigurationsResponseBodyIntegrationsResponse200Type](../../models/operations/getconfigurationsresponsebodyintegrationsresponse200type.md) | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.GetConfigurationsResponseBodyScope](../../models/operations/getconfigurationsresponsebodyscope.md) | :heavy_minus_sign: | N/A | -| `description` | *string* | :heavy_check_mark: | N/A | -| `paymentMethodRequired` | *boolean* | :heavy_minus_sign: | N/A | -| `preauthorizationAmount` | *number* | :heavy_minus_sign: | N/A | -| `cost` | *string* | :heavy_minus_sign: | N/A | -| `details` | [operations.ResponseBodyDetails](../../models/operations/responsebodydetails.md)[] | :heavy_minus_sign: | N/A | -| `heightlightedDetails` | [operations.ResponseBodyHeightlightedDetails](../../models/operations/responsebodyheightlighteddetails.md)[] | :heavy_minus_sign: | N/A | -| `quote` | [operations.ResponseBodyQuote](../../models/operations/responsebodyquote.md)[] | :heavy_minus_sign: | N/A | -| `effectiveDate` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/responsebodybuilds.md b/docs/models/operations/responsebodybuilds.md deleted file mode 100644 index a2f7a3f3..00000000 --- a/docs/models/operations/responsebodybuilds.md +++ /dev/null @@ -1,14 +0,0 @@ -# ResponseBodyBuilds - -## Example Usage - -```typescript -import { ResponseBodyBuilds } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: ResponseBodyBuilds = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/responsebodychecksstate.md b/docs/models/operations/responsebodychecksstate.md deleted file mode 100644 index 31547e8e..00000000 --- a/docs/models/operations/responsebodychecksstate.md +++ /dev/null @@ -1,15 +0,0 @@ -# ResponseBodyChecksState - -## Example Usage - -```typescript -import { ResponseBodyChecksState } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: ResponseBodyChecksState = "running"; -``` - -## Values - -```typescript -"registered" | "running" | "completed" -``` \ No newline at end of file diff --git a/docs/models/operations/responsebodycontenthint.md b/docs/models/operations/responsebodycontenthint.md deleted file mode 100644 index e431ed1c..00000000 --- a/docs/models/operations/responsebodycontenthint.md +++ /dev/null @@ -1,143 +0,0 @@ -# ResponseBodyContentHint - - -## Supported Types - -### `operations.FilterProjectEnvsContentHint1` - -```typescript -const value: operations.FilterProjectEnvsContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHint2` - -```typescript -const value: operations.FilterProjectEnvsContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHint3` - -```typescript -const value: operations.FilterProjectEnvsContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHint4` - -```typescript -const value: operations.FilterProjectEnvsContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHint5` - -```typescript -const value: operations.FilterProjectEnvsContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHint6` - -```typescript -const value: operations.FilterProjectEnvsContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHint7` - -```typescript -const value: operations.FilterProjectEnvsContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHint8` - -```typescript -const value: operations.FilterProjectEnvsContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHint9` - -```typescript -const value: operations.FilterProjectEnvsContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHint10` - -```typescript -const value: operations.FilterProjectEnvsContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHint11` - -```typescript -const value: operations.FilterProjectEnvsContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHint12` - -```typescript -const value: operations.FilterProjectEnvsContentHint12 = { - type: "postgres-database", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHint13` - -```typescript -const value: operations.FilterProjectEnvsContentHint13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHint14` - -```typescript -const value: operations.FilterProjectEnvsContentHint14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -### `operations.FilterProjectEnvsContentHint15` - -```typescript -const value: operations.FilterProjectEnvsContentHint15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - diff --git a/docs/models/operations/responsebodycustomenvironment.md b/docs/models/operations/responsebodycustomenvironment.md deleted file mode 100644 index 99ea1af1..00000000 --- a/docs/models/operations/responsebodycustomenvironment.md +++ /dev/null @@ -1,19 +0,0 @@ -# ResponseBodyCustomEnvironment - - -## Supported Types - -### `operations.GetDeploymentCustomEnvironment1` - -```typescript -const value: operations.GetDeploymentCustomEnvironment1 = {}; -``` - -### `operations.GetDeploymentCustomEnvironment2` - -```typescript -const value: operations.GetDeploymentCustomEnvironment2 = { - id: "", -}; -``` - diff --git a/docs/models/operations/responsebodydisabledreason.md b/docs/models/operations/responsebodydisabledreason.md deleted file mode 100644 index 2fa955c5..00000000 --- a/docs/models/operations/responsebodydisabledreason.md +++ /dev/null @@ -1,15 +0,0 @@ -# ResponseBodyDisabledReason - -## Example Usage - -```typescript -import { ResponseBodyDisabledReason } from "@vercel/sdk/models/operations/getconfigurations.js"; - -let value: ResponseBodyDisabledReason = "disabled-by-admin"; -``` - -## Values - -```typescript -"disabled-by-owner" | "feature-not-available" | "disabled-by-admin" | "original-owner-left-the-team" | "account-plan-downgrade" | "original-owner-role-downgraded" -``` \ No newline at end of file diff --git a/docs/models/operations/responsebodyenvs.md b/docs/models/operations/responsebodyenvs.md deleted file mode 100644 index 296e46d2..00000000 --- a/docs/models/operations/responsebodyenvs.md +++ /dev/null @@ -1,35 +0,0 @@ -# ResponseBodyEnvs - -## Example Usage - -```typescript -import { ResponseBodyEnvs } from "@vercel/sdk/models/operations/filterprojectenvs.js"; - -let value: ResponseBodyEnvs = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `target` | *operations.FilterProjectEnvsResponseBodyProjectsResponseTarget* | :heavy_minus_sign: | N/A | -| `type` | [operations.FilterProjectEnvsResponseBodyProjectsResponse200Type](../../models/operations/filterprojectenvsresponsebodyprojectsresponse200type.md) | :heavy_minus_sign: | N/A | -| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *string* | :heavy_minus_sign: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `createdBy` | *string* | :heavy_minus_sign: | N/A | -| `updatedBy` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `contentHint` | *operations.FilterProjectEnvsResponseBodyProjectsContentHint* | :heavy_minus_sign: | N/A | -| `internalContentHint` | [operations.FilterProjectEnvsResponseBodyProjectsInternalContentHint](../../models/operations/filterprojectenvsresponsebodyprojectsinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | -| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | -| `vsmValue` | *string* | :heavy_minus_sign: | N/A | -| `system` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/responsebodyflags.md b/docs/models/operations/responsebodyflags.md deleted file mode 100644 index c7eacc2d..00000000 --- a/docs/models/operations/responsebodyflags.md +++ /dev/null @@ -1,21 +0,0 @@ -# ResponseBodyFlags - - -## Supported Types - -### `operations.GetDeploymentFlags1` - -```typescript -const value: operations.GetDeploymentFlags1 = { - definitions: {}, -}; -``` - -### `operations.GetDeploymentFlags2[]` - -```typescript -const value: operations.GetDeploymentFlags2[] = [ - {}, -]; -``` - diff --git a/docs/models/operations/responsebodygitrepo.md b/docs/models/operations/responsebodygitrepo.md deleted file mode 100644 index 0cddc40a..00000000 --- a/docs/models/operations/responsebodygitrepo.md +++ /dev/null @@ -1,55 +0,0 @@ -# ResponseBodyGitRepo - - -## Supported Types - -### `operations.GetDeploymentGitRepo1` - -```typescript -const value: operations.GetDeploymentGitRepo1 = { - namespace: "", - projectId: 9926.67, - type: "gitlab", - url: "https://warmhearted-developing.info/", - path: "/usr/libdata", - defaultBranch: "", - name: "", - private: false, - ownerType: "team", -}; -``` - -### `operations.GetDeploymentGitRepo2` - -```typescript -const value: operations.GetDeploymentGitRepo2 = { - org: "", - repo: "", - repoId: 5663.12, - type: "github", - repoOwnerId: 1858.17, - path: "/etc/defaults", - defaultBranch: "", - name: "", - private: false, - ownerType: "team", -}; -``` - -### `operations.GetDeploymentGitRepo3` - -```typescript -const value: operations.GetDeploymentGitRepo3 = { - owner: "", - repoUuid: "", - slug: "", - type: "bitbucket", - workspaceUuid: "", - path: "/opt", - defaultBranch: "", - name: "", - private: false, - ownerType: "team", -}; -``` - diff --git a/docs/models/operations/responsebodygitsource.md b/docs/models/operations/responsebodygitsource.md deleted file mode 100644 index 75028fdd..00000000 --- a/docs/models/operations/responsebodygitsource.md +++ /dev/null @@ -1,97 +0,0 @@ -# ResponseBodyGitSource - - -## Supported Types - -### `operations.GetDeploymentGitSource1` - -```typescript -const value: operations.GetDeploymentGitSource1 = { - type: "github", - repoId: 2808.59, -}; -``` - -### `operations.GetDeploymentGitSource2` - -```typescript -const value: operations.GetDeploymentGitSource2 = { - type: "github", - org: "", - repo: "", -}; -``` - -### `operations.GetDeploymentGitSource3` - -```typescript -const value: operations.GetDeploymentGitSource3 = { - type: "gitlab", - projectId: 7285.59, -}; -``` - -### `operations.GetDeploymentGitSource4` - -```typescript -const value: operations.GetDeploymentGitSource4 = { - type: "bitbucket", - repoUuid: "", -}; -``` - -### `operations.GetDeploymentGitSource5` - -```typescript -const value: operations.GetDeploymentGitSource5 = { - type: "bitbucket", - owner: "", - slug: "", -}; -``` - -### `operations.GetDeploymentGitSource6` - -```typescript -const value: operations.GetDeploymentGitSource6 = { - type: "custom", - ref: "", - sha: "", - gitUrl: "https://squiggly-cafe.info/", -}; -``` - -### `operations.GetDeploymentGitSource7` - -```typescript -const value: operations.GetDeploymentGitSource7 = { - type: "github", - ref: "", - sha: "", - repoId: 2212.18, -}; -``` - -### `operations.GetDeploymentGitSource8` - -```typescript -const value: operations.GetDeploymentGitSource8 = { - type: "gitlab", - ref: "", - sha: "", - projectId: 6837.26, -}; -``` - -### `operations.GetDeploymentGitSource9` - -```typescript -const value: operations.GetDeploymentGitSource9 = { - type: "bitbucket", - ref: "", - sha: "", - workspaceUuid: "", - repoUuid: "", -}; -``` - diff --git a/docs/models/operations/responsebodyintegrations.md b/docs/models/operations/responsebodyintegrations.md deleted file mode 100644 index e0428bb9..00000000 --- a/docs/models/operations/responsebodyintegrations.md +++ /dev/null @@ -1,22 +0,0 @@ -# ResponseBodyIntegrations - -## Example Usage - -```typescript -import { ResponseBodyIntegrations } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: ResponseBodyIntegrations = { - status: "ready", - startedAt: 1559.78, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `status` | [operations.GetDeploymentResponseBodyDeploymentsStatus](../../models/operations/getdeploymentresponsebodydeploymentsstatus.md) | :heavy_check_mark: | N/A | -| `startedAt` | *number* | :heavy_check_mark: | N/A | -| `completedAt` | *number* | :heavy_minus_sign: | N/A | -| `skippedAt` | *number* | :heavy_minus_sign: | N/A | -| `skippedBy` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/responsebodyitems.md b/docs/models/operations/responsebodyitems.md deleted file mode 100644 index 631dfa71..00000000 --- a/docs/models/operations/responsebodyitems.md +++ /dev/null @@ -1,22 +0,0 @@ -# ResponseBodyItems - -## Example Usage - -```typescript -import { ResponseBodyItems } from "@vercel/sdk/models/operations/getedgeconfigbackup.js"; - -let value: ResponseBodyItems = { - updatedAt: 665.96, - value: 1530.97, - createdAt: 1975.19, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | -| `value` | *components.EdgeConfigItemValue* | :heavy_check_mark: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/responsebodylambdas.md b/docs/models/operations/responsebodylambdas.md deleted file mode 100644 index 4118440b..00000000 --- a/docs/models/operations/responsebodylambdas.md +++ /dev/null @@ -1,29 +0,0 @@ -# ResponseBodyLambdas - -A partial representation of a Build used by the deployment endpoint. - -## Example Usage - -```typescript -import { ResponseBodyLambdas } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: ResponseBodyLambdas = { - output: [ - { - path: "/var", - functionName: "", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `entrypoint` | *string* | :heavy_minus_sign: | N/A | -| `readyState` | [operations.GetDeploymentResponseBodyDeploymentsReadyState](../../models/operations/getdeploymentresponsebodydeploymentsreadystate.md) | :heavy_minus_sign: | N/A | -| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | -| `output` | [operations.GetDeploymentResponseBodyOutput](../../models/operations/getdeploymentresponsebodyoutput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/responsebodymembers.md b/docs/models/operations/responsebodymembers.md deleted file mode 100644 index 71295085..00000000 --- a/docs/models/operations/responsebodymembers.md +++ /dev/null @@ -1,33 +0,0 @@ -# ResponseBodyMembers - -## Example Usage - -```typescript -import { ResponseBodyMembers } from "@vercel/sdk/models/operations/getprojectmembers.js"; - -let value: ResponseBodyMembers = { - avatar: "123a6c5209bc3778245d011443644c8d27dc2c50", - email: "jane.doe@example.com", - role: "ADMIN", - computedProjectRole: "ADMIN", - uid: "zTuNVUXEAvvnNN3IaqinkyMw", - username: "jane-doe", - name: "Jane Doe", - createdAt: 1588720733602, - teamRole: "CONTRIBUTOR", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `avatar` | *string* | :heavy_minus_sign: | ID of the file for the Avatar of this member. | 123a6c5209bc3778245d011443644c8d27dc2c50 | -| `email` | *string* | :heavy_check_mark: | The email of this member. | jane.doe@example.com | -| `role` | [operations.GetProjectMembersResponseBodyRole](../../models/operations/getprojectmembersresponsebodyrole.md) | :heavy_check_mark: | Role of this user in the project. | ADMIN | -| `computedProjectRole` | [operations.ComputedProjectRole](../../models/operations/computedprojectrole.md) | :heavy_check_mark: | Role of this user in the project. | ADMIN | -| `uid` | *string* | :heavy_check_mark: | The ID of this user. | zTuNVUXEAvvnNN3IaqinkyMw | -| `username` | *string* | :heavy_check_mark: | The unique username of this user. | jane-doe | -| `name` | *string* | :heavy_minus_sign: | The name of this user. | Jane Doe | -| `createdAt` | *number* | :heavy_check_mark: | Timestamp in milliseconds when this member was added. | 1588720733602 | -| `teamRole` | [operations.ResponseBodyTeamRole](../../models/operations/responsebodyteamrole.md) | :heavy_check_mark: | The role of this user in the team. | CONTRIBUTOR | \ No newline at end of file diff --git a/docs/models/operations/responsebodymicrofrontends.md b/docs/models/operations/responsebodymicrofrontends.md deleted file mode 100644 index 11bf6278..00000000 --- a/docs/models/operations/responsebodymicrofrontends.md +++ /dev/null @@ -1,26 +0,0 @@ -# ResponseBodyMicrofrontends - - -## Supported Types - -### `operations.GetDeploymentMicrofrontends1` - -```typescript -const value: operations.GetDeploymentMicrofrontends1 = { - groupIds: [ - "", - ], -}; -``` - -### `operations.GetDeploymentMicrofrontends2` - -```typescript -const value: operations.GetDeploymentMicrofrontends2 = { - isDefaultApp: false, - groupIds: [ - "", - ], -}; -``` - diff --git a/docs/models/operations/responsebodyownertype.md b/docs/models/operations/responsebodyownertype.md deleted file mode 100644 index 7788b7e5..00000000 --- a/docs/models/operations/responsebodyownertype.md +++ /dev/null @@ -1,15 +0,0 @@ -# ResponseBodyOwnerType - -## Example Usage - -```typescript -import { ResponseBodyOwnerType } from "@vercel/sdk/models/operations/searchrepo.js"; - -let value: ResponseBodyOwnerType = "user"; -``` - -## Values - -```typescript -"user" | "team" -``` \ No newline at end of file diff --git a/docs/models/operations/responsebodyplan.md b/docs/models/operations/responsebodyplan.md deleted file mode 100644 index 523b5bab..00000000 --- a/docs/models/operations/responsebodyplan.md +++ /dev/null @@ -1,15 +0,0 @@ -# ResponseBodyPlan - -## Example Usage - -```typescript -import { ResponseBodyPlan } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: ResponseBodyPlan = "enterprise"; -``` - -## Values - -```typescript -"pro" | "enterprise" | "hobby" -``` \ No newline at end of file diff --git a/docs/models/operations/responsebodyprojectsettings.md b/docs/models/operations/responsebodyprojectsettings.md deleted file mode 100644 index e2554a2c..00000000 --- a/docs/models/operations/responsebodyprojectsettings.md +++ /dev/null @@ -1,22 +0,0 @@ -# ResponseBodyProjectSettings - -## Example Usage - -```typescript -import { ResponseBodyProjectSettings } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: ResponseBodyProjectSettings = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `buildCommand` | *string* | :heavy_minus_sign: | N/A | -| `devCommand` | *string* | :heavy_minus_sign: | N/A | -| `framework` | [operations.ResponseBodyFramework](../../models/operations/responsebodyframework.md) | :heavy_minus_sign: | N/A | -| `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | -| `installCommand` | *string* | :heavy_minus_sign: | N/A | -| `outputDirectory` | *string* | :heavy_minus_sign: | N/A | -| `speedInsights` | [operations.ResponseBodySpeedInsights](../../models/operations/responsebodyspeedinsights.md) | :heavy_minus_sign: | N/A | -| `webAnalytics` | [operations.ResponseBodyWebAnalytics](../../models/operations/responsebodywebanalytics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/responsebodyprovider.md b/docs/models/operations/responsebodyprovider.md deleted file mode 100644 index 96ee39c1..00000000 --- a/docs/models/operations/responsebodyprovider.md +++ /dev/null @@ -1,15 +0,0 @@ -# ResponseBodyProvider - -## Example Usage - -```typescript -import { ResponseBodyProvider } from "@vercel/sdk/models/operations/searchrepo.js"; - -let value: ResponseBodyProvider = "bitbucket"; -``` - -## Values - -```typescript -"github" | "github-custom-host" | "gitlab" | "bitbucket" -``` \ No newline at end of file diff --git a/docs/models/operations/responsebodyreadystate.md b/docs/models/operations/responsebodyreadystate.md deleted file mode 100644 index b1c3b4a5..00000000 --- a/docs/models/operations/responsebodyreadystate.md +++ /dev/null @@ -1,15 +0,0 @@ -# ResponseBodyReadyState - -## Example Usage - -```typescript -import { ResponseBodyReadyState } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: ResponseBodyReadyState = "INITIALIZING"; -``` - -## Values - -```typescript -"QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED" -``` \ No newline at end of file diff --git a/docs/models/operations/responsebodyrecords.md b/docs/models/operations/responsebodyrecords.md deleted file mode 100644 index b20acc7c..00000000 --- a/docs/models/operations/responsebodyrecords.md +++ /dev/null @@ -1,37 +0,0 @@ -# ResponseBodyRecords - -## Example Usage - -```typescript -import { ResponseBodyRecords } from "@vercel/sdk/models/operations/getrecords.js"; - -let value: ResponseBodyRecords = { - id: "", - slug: "", - name: "", - type: "AAAA", - value: "", - creator: "", - created: 4047.74, - updated: 6012.77, - createdAt: 7719.31, - updatedAt: 4130.86, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `type` | [operations.GetRecordsResponseBodyDnsType](../../models/operations/getrecordsresponsebodydnstype.md) | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `mxPriority` | *number* | :heavy_minus_sign: | N/A | -| `priority` | *number* | :heavy_minus_sign: | N/A | -| `creator` | *string* | :heavy_check_mark: | N/A | -| `created` | *number* | :heavy_check_mark: | N/A | -| `updated` | *number* | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/responsebodyrole.md b/docs/models/operations/responsebodyrole.md deleted file mode 100644 index 866dadda..00000000 --- a/docs/models/operations/responsebodyrole.md +++ /dev/null @@ -1,17 +0,0 @@ -# ResponseBodyRole - -The role used for the invitation - -## Example Usage - -```typescript -import { ResponseBodyRole } from "@vercel/sdk/models/operations/inviteusertoteam.js"; - -let value: ResponseBodyRole = "MEMBER"; -``` - -## Values - -```typescript -"OWNER" | "MEMBER" | "DEVELOPER" | "BILLING" | "VIEWER" | "CONTRIBUTOR" -``` \ No newline at end of file diff --git a/docs/models/operations/responsebodyroutes.md b/docs/models/operations/responsebodyroutes.md deleted file mode 100644 index 4d6f299c..00000000 --- a/docs/models/operations/responsebodyroutes.md +++ /dev/null @@ -1,31 +0,0 @@ -# ResponseBodyRoutes - - -## Supported Types - -### `operations.GetDeploymentRoutes1` - -```typescript -const value: operations.GetDeploymentRoutes1 = { - src: "", -}; -``` - -### `operations.GetDeploymentRoutes2` - -```typescript -const value: operations.GetDeploymentRoutes2 = { - handle: "miss", -}; -``` - -### `operations.GetDeploymentRoutes3` - -```typescript -const value: operations.GetDeploymentRoutes3 = { - src: "", - continue: false, - middleware: 3442.89, -}; -``` - diff --git a/docs/models/operations/responsebodyscope.md b/docs/models/operations/responsebodyscope.md deleted file mode 100644 index 97370ab5..00000000 --- a/docs/models/operations/responsebodyscope.md +++ /dev/null @@ -1,15 +0,0 @@ -# ResponseBodyScope - -## Example Usage - -```typescript -import { ResponseBodyScope } from "@vercel/sdk/models/operations/getconfigurations.js"; - -let value: ResponseBodyScope = "resource"; -``` - -## Values - -```typescript -"installation" | "resource" -``` \ No newline at end of file diff --git a/docs/models/operations/responsebodysource.md b/docs/models/operations/responsebodysource.md deleted file mode 100644 index f93cbb70..00000000 --- a/docs/models/operations/responsebodysource.md +++ /dev/null @@ -1,15 +0,0 @@ -# ResponseBodySource - -## Example Usage - -```typescript -import { ResponseBodySource } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: ResponseBodySource = "v0-web"; -``` - -## Values - -```typescript -"api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy" | "v0-web" -``` \ No newline at end of file diff --git a/docs/models/operations/responsebodystatus.md b/docs/models/operations/responsebodystatus.md deleted file mode 100644 index a4f4e321..00000000 --- a/docs/models/operations/responsebodystatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# ResponseBodyStatus - -## Example Usage - -```typescript -import { ResponseBodyStatus } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: ResponseBodyStatus = "QUEUED"; -``` - -## Values - -```typescript -"QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED" -``` \ No newline at end of file diff --git a/docs/models/operations/responsebodytarget.md b/docs/models/operations/responsebodytarget.md deleted file mode 100644 index 403283a5..00000000 --- a/docs/models/operations/responsebodytarget.md +++ /dev/null @@ -1,15 +0,0 @@ -# ResponseBodyTarget - -## Example Usage - -```typescript -import { ResponseBodyTarget } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: ResponseBodyTarget = "staging"; -``` - -## Values - -```typescript -"staging" | "production" -``` \ No newline at end of file diff --git a/docs/models/operations/responsebodyteamrole.md b/docs/models/operations/responsebodyteamrole.md deleted file mode 100644 index fdbce090..00000000 --- a/docs/models/operations/responsebodyteamrole.md +++ /dev/null @@ -1,17 +0,0 @@ -# ResponseBodyTeamRole - -The role of this user in the team. - -## Example Usage - -```typescript -import { ResponseBodyTeamRole } from "@vercel/sdk/models/operations/getprojectmembers.js"; - -let value: ResponseBodyTeamRole = "CONTRIBUTOR"; -``` - -## Values - -```typescript -"OWNER" | "MEMBER" | "DEVELOPER" | "BILLING" | "VIEWER" | "CONTRIBUTOR" -``` \ No newline at end of file diff --git a/docs/models/operations/responsebodytype.md b/docs/models/operations/responsebodytype.md deleted file mode 100644 index 73e29c55..00000000 --- a/docs/models/operations/responsebodytype.md +++ /dev/null @@ -1,15 +0,0 @@ -# ResponseBodyType - -## Example Usage - -```typescript -import { ResponseBodyType } from "@vercel/sdk/models/operations/getdeployment.js"; - -let value: ResponseBodyType = "LAMBDAS"; -``` - -## Values - -```typescript -"LAMBDAS" -``` \ No newline at end of file diff --git a/docs/models/operations/result.md b/docs/models/operations/result.md deleted file mode 100644 index e3b963d7..00000000 --- a/docs/models/operations/result.md +++ /dev/null @@ -1,15 +0,0 @@ -# Result - -## Example Usage - -```typescript -import { Result } from "@vercel/sdk/models/operations/submitinvoice.js"; - -let value: Result = "notpaid"; -``` - -## Values - -```typescript -"paid" | "notpaid" -``` \ No newline at end of file diff --git a/docs/models/operations/rfi.md b/docs/models/operations/rfi.md deleted file mode 100644 index 3dea19da..00000000 --- a/docs/models/operations/rfi.md +++ /dev/null @@ -1,19 +0,0 @@ -# Rfi - -## Example Usage - -```typescript -import { Rfi } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Rfi = { - active: false, - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityRequestRequestBodyAction](../../models/operations/putfirewallconfigsecurityrequestrequestbodyaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/role.md b/docs/models/operations/role.md deleted file mode 100644 index d142ba76..00000000 --- a/docs/models/operations/role.md +++ /dev/null @@ -1,17 +0,0 @@ -# Role - -The project role that will be added to this Access Group. \"null\" will remove this project level role. - -## Example Usage - -```typescript -import { Role } from "@vercel/sdk/models/operations/updateaccessgroup.js"; - -let value: Role = "ADMIN"; -``` - -## Values - -```typescript -"ADMIN" | "PROJECT_VIEWER" | "PROJECT_DEVELOPER" -``` \ No newline at end of file diff --git a/docs/models/operations/roles.md b/docs/models/operations/roles.md deleted file mode 100644 index 0a6ccb69..00000000 --- a/docs/models/operations/roles.md +++ /dev/null @@ -1,19 +0,0 @@ -# Roles - - -## Supported Types - -### `operations.Roles1` - -```typescript -const value: operations.Roles1 = "DEVELOPER"; -``` - -### `operations.Roles2` - -```typescript -const value: operations.Roles2 = { - accessGroupId: "", -}; -``` - diff --git a/docs/models/operations/roles1.md b/docs/models/operations/roles1.md deleted file mode 100644 index b2dd2250..00000000 --- a/docs/models/operations/roles1.md +++ /dev/null @@ -1,15 +0,0 @@ -# Roles1 - -## Example Usage - -```typescript -import { Roles1 } from "@vercel/sdk/models/operations/patchteam.js"; - -let value: Roles1 = "CONTRIBUTOR"; -``` - -## Values - -```typescript -"OWNER" | "MEMBER" | "DEVELOPER" | "BILLING" | "VIEWER" | "CONTRIBUTOR" -``` \ No newline at end of file diff --git a/docs/models/operations/routes.md b/docs/models/operations/routes.md deleted file mode 100644 index 15fae1ef..00000000 --- a/docs/models/operations/routes.md +++ /dev/null @@ -1,31 +0,0 @@ -# Routes - - -## Supported Types - -### `operations.Routes1` - -```typescript -const value: operations.Routes1 = { - src: "", -}; -``` - -### `operations.Routes2` - -```typescript -const value: operations.Routes2 = { - handle: "rewrite", -}; -``` - -### `operations.Routes3` - -```typescript -const value: operations.Routes3 = { - src: "", - continue: false, - middleware: 9492.80, -}; -``` - diff --git a/docs/models/operations/routes2.md b/docs/models/operations/routes2.md deleted file mode 100644 index 9ee3201d..00000000 --- a/docs/models/operations/routes2.md +++ /dev/null @@ -1,20 +0,0 @@ -# Routes2 - -## Example Usage - -```typescript -import { Routes2 } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: Routes2 = { - handle: "hit", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `handle` | [operations.RoutesHandle](../../models/operations/routeshandle.md) | :heavy_check_mark: | N/A | -| `src` | *string* | :heavy_minus_sign: | N/A | -| `dest` | *string* | :heavy_minus_sign: | N/A | -| `status` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/routeshandle.md b/docs/models/operations/routeshandle.md deleted file mode 100644 index 3b2095f4..00000000 --- a/docs/models/operations/routeshandle.md +++ /dev/null @@ -1,15 +0,0 @@ -# RoutesHandle - -## Example Usage - -```typescript -import { RoutesHandle } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: RoutesHandle = "miss"; -``` - -## Values - -```typescript -"error" | "filesystem" | "hit" | "miss" | "rewrite" | "resource" -``` \ No newline at end of file diff --git a/docs/models/operations/routeshas.md b/docs/models/operations/routeshas.md deleted file mode 100644 index a6ac871c..00000000 --- a/docs/models/operations/routeshas.md +++ /dev/null @@ -1,23 +0,0 @@ -# RoutesHas - - -## Supported Types - -### `operations.Has1` - -```typescript -const value: operations.Has1 = { - type: "host", - value: "", -}; -``` - -### `operations.Has2` - -```typescript -const value: operations.Has2 = { - type: "header", - key: "", -}; -``` - diff --git a/docs/models/operations/routesmissing.md b/docs/models/operations/routesmissing.md deleted file mode 100644 index 30c62481..00000000 --- a/docs/models/operations/routesmissing.md +++ /dev/null @@ -1,23 +0,0 @@ -# RoutesMissing - - -## Supported Types - -### `operations.Missing1` - -```typescript -const value: operations.Missing1 = { - type: "host", - value: "", -}; -``` - -### `operations.Missing2` - -```typescript -const value: operations.Missing2 = { - type: "cookie", - key: "", -}; -``` - diff --git a/docs/models/operations/rules.md b/docs/models/operations/rules.md deleted file mode 100644 index e7ff0a4b..00000000 --- a/docs/models/operations/rules.md +++ /dev/null @@ -1,34 +0,0 @@ -# Rules - -## Example Usage - -```typescript -import { Rules } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Rules = { - name: "", - active: false, - conditionGroup: [ - { - conditions: [ - { - type: "environment", - op: "lte", - }, - ], - }, - ], - action: {}, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `conditionGroup` | [operations.ConditionGroup](../../models/operations/conditiongroup.md)[] | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityRequestRequestBodyRulesAction](../../models/operations/putfirewallconfigsecurityrequestrequestbodyrulesaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/saml.md b/docs/models/operations/saml.md deleted file mode 100644 index 990b805a..00000000 --- a/docs/models/operations/saml.md +++ /dev/null @@ -1,18 +0,0 @@ -# Saml - -## Example Usage - -```typescript -import { Saml } from "@vercel/sdk/models/operations/patchteam.js"; - -let value: Saml = { - enforced: true, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `enforced` | *boolean* | :heavy_minus_sign: | Require that members of the team use SAML Single Sign-On. | true | -| `roles` | Record | :heavy_minus_sign: | Directory groups to role or access group mappings. | | \ No newline at end of file diff --git a/docs/models/operations/schema.md b/docs/models/operations/schema.md deleted file mode 100644 index 06919b38..00000000 --- a/docs/models/operations/schema.md +++ /dev/null @@ -1,14 +0,0 @@ -# Schema - -## Example Usage - -```typescript -import { Schema } from "@vercel/sdk/models/operations/getedgeconfigs.js"; - -let value: Schema = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/scope.md b/docs/models/operations/scope.md deleted file mode 100644 index c53f92eb..00000000 --- a/docs/models/operations/scope.md +++ /dev/null @@ -1,15 +0,0 @@ -# Scope - -## Example Usage - -```typescript -import { Scope } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: Scope = "automation-bypass"; -``` - -## Values - -```typescript -"automation-bypass" -``` \ No newline at end of file diff --git a/docs/models/operations/sd.md b/docs/models/operations/sd.md deleted file mode 100644 index 90fe1ed9..00000000 --- a/docs/models/operations/sd.md +++ /dev/null @@ -1,19 +0,0 @@ -# Sd - -## Example Usage - -```typescript -import { Sd } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Sd = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigAction](../../models/operations/putfirewallconfigaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/searchreporesponsebody.md b/docs/models/operations/searchreporesponsebody.md deleted file mode 100644 index 74a24f9e..00000000 --- a/docs/models/operations/searchreporesponsebody.md +++ /dev/null @@ -1,40 +0,0 @@ -# SearchRepoResponseBody - - -## Supported Types - -### `operations.SearchRepoResponseBody1` - -```typescript -const value: operations.SearchRepoResponseBody1 = {}; -``` - -### `operations.SearchRepoResponseBody2` - -```typescript -const value: operations.SearchRepoResponseBody2 = { - gitAccount: { - provider: "gitlab", - namespaceId: 1731.93, - }, - repos: [ - { - id: 276.53, - provider: "gitlab", - url: "https://squiggly-pupil.info/", - name: "", - slug: "", - namespace: "", - owner: { - id: 5017.73, - name: "", - }, - ownerType: "team", - private: false, - defaultBranch: "", - updatedAt: 4760.84, - }, - ], -}; -``` - diff --git a/docs/models/operations/searchreporesponsebody1.md b/docs/models/operations/searchreporesponsebody1.md deleted file mode 100644 index 74157c68..00000000 --- a/docs/models/operations/searchreporesponsebody1.md +++ /dev/null @@ -1,14 +0,0 @@ -# SearchRepoResponseBody1 - -## Example Usage - -```typescript -import { SearchRepoResponseBody1 } from "@vercel/sdk/models/operations/searchrepo.js"; - -let value: SearchRepoResponseBody1 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/searchreporesponsebody2.md b/docs/models/operations/searchreporesponsebody2.md deleted file mode 100644 index 443ae75b..00000000 --- a/docs/models/operations/searchreporesponsebody2.md +++ /dev/null @@ -1,39 +0,0 @@ -# SearchRepoResponseBody2 - -## Example Usage - -```typescript -import { SearchRepoResponseBody2 } from "@vercel/sdk/models/operations/searchrepo.js"; - -let value: SearchRepoResponseBody2 = { - gitAccount: { - provider: "github", - namespaceId: 6981.16, - }, - repos: [ - { - id: "", - provider: "bitbucket", - url: "https://friendly-produce.net", - name: "", - slug: "", - namespace: "", - owner: { - id: "", - name: "", - }, - ownerType: "user", - private: false, - defaultBranch: "", - updatedAt: 3591.07, - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `gitAccount` | [operations.GitAccount](../../models/operations/gitaccount.md) | :heavy_check_mark: | N/A | -| `repos` | [operations.Repos](../../models/operations/repos.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/searchreporesponsebodyprovider.md b/docs/models/operations/searchreporesponsebodyprovider.md deleted file mode 100644 index 2a371157..00000000 --- a/docs/models/operations/searchreporesponsebodyprovider.md +++ /dev/null @@ -1,15 +0,0 @@ -# SearchRepoResponseBodyProvider - -## Example Usage - -```typescript -import { SearchRepoResponseBodyProvider } from "@vercel/sdk/models/operations/searchrepo.js"; - -let value: SearchRepoResponseBodyProvider = "bitbucket"; -``` - -## Values - -```typescript -"github" | "github-custom-host" | "gitlab" | "bitbucket" -``` \ No newline at end of file diff --git a/docs/models/operations/secrets.md b/docs/models/operations/secrets.md deleted file mode 100644 index 0a90c3b4..00000000 --- a/docs/models/operations/secrets.md +++ /dev/null @@ -1,19 +0,0 @@ -# Secrets - -## Example Usage - -```typescript -import { Secrets } from "@vercel/sdk/models/operations/updateresourcesecrets.js"; - -let value: Secrets = { - name: "", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/security.md b/docs/models/operations/security.md deleted file mode 100644 index 88a1b166..00000000 --- a/docs/models/operations/security.md +++ /dev/null @@ -1,25 +0,0 @@ -# Security - -## Example Usage - -```typescript -import { Security } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: Security = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `attackModeEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `attackModeUpdatedAt` | *number* | :heavy_minus_sign: | N/A | -| `firewallEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `firewallUpdatedAt` | *number* | :heavy_minus_sign: | N/A | -| `attackModeActiveUntil` | *number* | :heavy_minus_sign: | N/A | -| `firewallConfigVersion` | *number* | :heavy_minus_sign: | N/A | -| `firewallRoutes` | [operations.FirewallRoutes](../../models/operations/firewallroutes.md)[] | :heavy_minus_sign: | N/A | -| `firewallSeawallEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `ja3Enabled` | *boolean* | :heavy_minus_sign: | N/A | -| `ja4Enabled` | *boolean* | :heavy_minus_sign: | N/A | -| `firewallBypassIps` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/seven.md b/docs/models/operations/seven.md deleted file mode 100644 index ee90c8ff..00000000 --- a/docs/models/operations/seven.md +++ /dev/null @@ -1,28 +0,0 @@ -# Seven - -## Example Usage - -```typescript -import { Seven } from "@vercel/sdk/models/operations/createrecord.js"; - -let value: Seven = { - type: "TXT", - ttl: 60, - srv: { - priority: 10, - weight: 10, - port: 5000, - target: "host.example.com", - }, - comment: "used to verify ownership of domain", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.CreateRecordRequestBodyDnsRequest7Type](../../models/operations/createrecordrequestbodydnsrequest7type.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | -| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | -| `srv` | [operations.RequestBodySrv](../../models/operations/requestbodysrv.md) | :heavy_check_mark: | N/A | | -| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/operations/sf.md b/docs/models/operations/sf.md deleted file mode 100644 index e2e7304b..00000000 --- a/docs/models/operations/sf.md +++ /dev/null @@ -1,19 +0,0 @@ -# Sf - -## Example Usage - -```typescript -import { Sf } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Sf = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityRequestRequestBodyCrsSfAction](../../models/operations/putfirewallconfigsecurityrequestrequestbodycrssfaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/six.md b/docs/models/operations/six.md deleted file mode 100644 index c289c8d3..00000000 --- a/docs/models/operations/six.md +++ /dev/null @@ -1,27 +0,0 @@ -# Six - -## Example Usage - -```typescript -import { Six } from "@vercel/sdk/models/operations/createrecord.js"; - -let value: Six = { - name: "subdomain", - type: "NS", - ttl: 60, - value: "10 mail.example.com.", - mxPriority: 10, - comment: "used to verify ownership of domain", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | A subdomain name or an empty string for the root domain. | subdomain | -| `type` | [operations.CreateRecordRequestBodyDnsRequest6Type](../../models/operations/createrecordrequestbodydnsrequest6type.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | -| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | -| `value` | *string* | :heavy_check_mark: | An MX record specifying the mail server responsible for accepting messages on behalf of the domain name. | 10 mail.example.com. | -| `mxPriority` | *number* | :heavy_check_mark: | N/A | 10 | -| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/operations/sources.md b/docs/models/operations/sources.md deleted file mode 100644 index 6c9b93e3..00000000 --- a/docs/models/operations/sources.md +++ /dev/null @@ -1,15 +0,0 @@ -# Sources - -## Example Usage - -```typescript -import { Sources } from "@vercel/sdk/models/operations/createlogdrain.js"; - -let value: Sources = "lambda"; -``` - -## Values - -```typescript -"static" | "lambda" | "build" | "edge" | "external" | "firewall" -``` \ No newline at end of file diff --git a/docs/models/operations/sqli.md b/docs/models/operations/sqli.md deleted file mode 100644 index 2409c53b..00000000 --- a/docs/models/operations/sqli.md +++ /dev/null @@ -1,19 +0,0 @@ -# Sqli - -## Example Usage - -```typescript -import { Sqli } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Sqli = { - active: false, - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction](../../models/operations/putfirewallconfigsecurityrequestrequestbodycrssqliaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/src.md b/docs/models/operations/src.md deleted file mode 100644 index be840c89..00000000 --- a/docs/models/operations/src.md +++ /dev/null @@ -1,17 +0,0 @@ -# Src - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `operations.Src2` - -```typescript -const value: operations.Src2 = {}; -``` - diff --git a/docs/models/operations/state.md b/docs/models/operations/state.md deleted file mode 100644 index fdd3689a..00000000 --- a/docs/models/operations/state.md +++ /dev/null @@ -1,15 +0,0 @@ -# State - -## Example Usage - -```typescript -import { State } from "@vercel/sdk/models/operations/getinvoice.js"; - -let value: State = "pending"; -``` - -## Values - -```typescript -"pending" | "scheduled" | "invoiced" | "paid" | "notpaid" | "refund_requested" | "refunded" -``` \ No newline at end of file diff --git a/docs/models/operations/status.md b/docs/models/operations/status.md deleted file mode 100644 index 7d87604c..00000000 --- a/docs/models/operations/status.md +++ /dev/null @@ -1,17 +0,0 @@ -# Status - -The current status of the check - -## Example Usage - -```typescript -import { Status } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: Status = "running"; -``` - -## Values - -```typescript -"running" | "completed" -``` \ No newline at end of file diff --git a/docs/models/operations/statusresponsebody.md b/docs/models/operations/statusresponsebody.md deleted file mode 100644 index b033e470..00000000 --- a/docs/models/operations/statusresponsebody.md +++ /dev/null @@ -1,17 +0,0 @@ -# StatusResponseBody - -## Example Usage - -```typescript -import { StatusResponseBody } from "@vercel/sdk/models/operations/status.js"; - -let value: StatusResponseBody = { - status: "disabled", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `status` | [operations.StatusStatus](../../models/operations/statusstatus.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/statusstatus.md b/docs/models/operations/statusstatus.md deleted file mode 100644 index 61dd8b66..00000000 --- a/docs/models/operations/statusstatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# StatusStatus - -## Example Usage - -```typescript -import { StatusStatus } from "@vercel/sdk/models/operations/status.js"; - -let value: StatusStatus = "disabled"; -``` - -## Values - -```typescript -"disabled" | "enabled" | "over_limit" | "paused" -``` \ No newline at end of file diff --git a/docs/models/operations/submitbillingdatarequest.md b/docs/models/operations/submitbillingdatarequest.md deleted file mode 100644 index 73e92308..00000000 --- a/docs/models/operations/submitbillingdatarequest.md +++ /dev/null @@ -1,18 +0,0 @@ -# SubmitBillingDataRequest - -## Example Usage - -```typescript -import { SubmitBillingDataRequest } from "@vercel/sdk/models/operations/submitbillingdata.js"; - -let value: SubmitBillingDataRequest = { - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | -| `requestBody` | [operations.SubmitBillingDataRequestBody](../../models/operations/submitbillingdatarequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/submitbillingdatatype.md b/docs/models/operations/submitbillingdatatype.md deleted file mode 100644 index 80af7008..00000000 --- a/docs/models/operations/submitbillingdatatype.md +++ /dev/null @@ -1,17 +0,0 @@ -# SubmitBillingDataType - -\n Type of the metric.\n - total: measured total value, such as Database size\n - interval: usage during the period, such as i/o or number of queries.\n - rate: rate of usage, such as queries per second.\n - -## Example Usage - -```typescript -import { SubmitBillingDataType } from "@vercel/sdk/models/operations/submitbillingdata.js"; - -let value: SubmitBillingDataType = "interval"; -``` - -## Values - -```typescript -"total" | "interval" | "rate" -``` \ No newline at end of file diff --git a/docs/models/operations/submitinvoicerequest.md b/docs/models/operations/submitinvoicerequest.md deleted file mode 100644 index 99956f11..00000000 --- a/docs/models/operations/submitinvoicerequest.md +++ /dev/null @@ -1,18 +0,0 @@ -# SubmitInvoiceRequest - -## Example Usage - -```typescript -import { SubmitInvoiceRequest } from "@vercel/sdk/models/operations/submitinvoice.js"; - -let value: SubmitInvoiceRequest = { - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | -| `requestBody` | [operations.SubmitInvoiceRequestBody](../../models/operations/submitinvoicerequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/target1.md b/docs/models/operations/target1.md deleted file mode 100644 index dceaba1c..00000000 --- a/docs/models/operations/target1.md +++ /dev/null @@ -1,15 +0,0 @@ -# Target1 - -## Example Usage - -```typescript -import { Target1 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: Target1 = "preview"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/target2.md b/docs/models/operations/target2.md deleted file mode 100644 index cbd0da52..00000000 --- a/docs/models/operations/target2.md +++ /dev/null @@ -1,15 +0,0 @@ -# Target2 - -## Example Usage - -```typescript -import { Target2 } from "@vercel/sdk/models/operations/createproject.js"; - -let value: Target2 = "preview"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/targets.md b/docs/models/operations/targets.md deleted file mode 100644 index 34b8ef63..00000000 --- a/docs/models/operations/targets.md +++ /dev/null @@ -1,68 +0,0 @@ -# Targets - -## Example Usage - -```typescript -import { Targets } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: Targets = { - id: "", - createdAt: 4246.85, - createdIn: "", - creator: { - email: "Jamaal_McGlynn@yahoo.com", - uid: "", - username: "Brendon_Hyatt18", - }, - deploymentHostname: "", - name: "", - plan: "enterprise", - previewCommentsEnabled: false, - private: false, - readyState: "INITIALIZING", - type: "LAMBDAS", - url: "https://sniveling-republican.org", - userId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | | -| `alias` | *string*[] | :heavy_minus_sign: | N/A | | -| `aliasAssigned` | *operations.UpdateProjectDataCacheAliasAssigned* | :heavy_minus_sign: | N/A | | -| `aliasError` | [operations.UpdateProjectDataCacheAliasError](../../models/operations/updateprojectdatacachealiaserror.md) | :heavy_minus_sign: | N/A | | -| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | -| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | -| `branchMatcher` | [operations.UpdateProjectDataCacheBranchMatcher](../../models/operations/updateprojectdatacachebranchmatcher.md) | :heavy_minus_sign: | N/A | | -| `buildingAt` | *number* | :heavy_minus_sign: | N/A | | -| `builds` | [operations.UpdateProjectDataCacheBuilds](../../models/operations/updateprojectdatacachebuilds.md)[] | :heavy_minus_sign: | N/A | | -| `checksConclusion` | [operations.UpdateProjectDataCacheChecksConclusion](../../models/operations/updateprojectdatacachechecksconclusion.md) | :heavy_minus_sign: | N/A | | -| `checksState` | [operations.UpdateProjectDataCacheChecksState](../../models/operations/updateprojectdatacachechecksstate.md) | :heavy_minus_sign: | N/A | | -| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | -| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | -| `createdAt` | *number* | :heavy_check_mark: | N/A | | -| `createdIn` | *string* | :heavy_check_mark: | N/A | | -| `creator` | [operations.UpdateProjectDataCacheCreator](../../models/operations/updateprojectdatacachecreator.md) | :heavy_check_mark: | N/A | | -| `deletedAt` | *number* | :heavy_minus_sign: | N/A | | -| `deploymentHostname` | *string* | :heavy_check_mark: | N/A | | -| `forced` | *boolean* | :heavy_minus_sign: | N/A | | -| `name` | *string* | :heavy_check_mark: | N/A | | -| `meta` | Record | :heavy_minus_sign: | N/A | | -| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | -| `oidcTokenClaims` | [operations.UpdateProjectDataCacheOidcTokenClaims](../../models/operations/updateprojectdatacacheoidctokenclaims.md) | :heavy_minus_sign: | N/A | | -| `plan` | [operations.UpdateProjectDataCachePlan](../../models/operations/updateprojectdatacacheplan.md) | :heavy_check_mark: | N/A | | -| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | -| `private` | *boolean* | :heavy_check_mark: | N/A | | -| `readyAt` | *number* | :heavy_minus_sign: | N/A | | -| `readyState` | [operations.UpdateProjectDataCacheReadyState](../../models/operations/updateprojectdatacachereadystate.md) | :heavy_check_mark: | N/A | | -| `readySubstate` | [operations.UpdateProjectDataCacheReadySubstate](../../models/operations/updateprojectdatacachereadysubstate.md) | :heavy_minus_sign: | N/A | | -| `requestedAt` | *number* | :heavy_minus_sign: | N/A | | -| `target` | *string* | :heavy_minus_sign: | N/A | | -| `teamId` | *string* | :heavy_minus_sign: | N/A | | -| `type` | [operations.UpdateProjectDataCacheProjectsType](../../models/operations/updateprojectdatacacheprojectstype.md) | :heavy_check_mark: | N/A | | -| `url` | *string* | :heavy_check_mark: | N/A | | -| `userId` | *string* | :heavy_check_mark: | N/A | | -| `withCache` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/tbt.md b/docs/models/operations/tbt.md deleted file mode 100644 index 2ee9cf36..00000000 --- a/docs/models/operations/tbt.md +++ /dev/null @@ -1,21 +0,0 @@ -# Tbt - -## Example Usage - -```typescript -import { Tbt } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: Tbt = { - value: 3000, - previousValue: 3500, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | Total Blocking Time value | 3000 | -| `previousValue` | *number* | :heavy_minus_sign: | Previous Total Blocking Time value to display a delta | 3500 | -| `source` | [operations.UpdateCheckChecksRequestRequestBodySource](../../models/operations/updatecheckchecksrequestrequestbodysource.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/teamrole.md b/docs/models/operations/teamrole.md deleted file mode 100644 index 7fdae5a8..00000000 --- a/docs/models/operations/teamrole.md +++ /dev/null @@ -1,15 +0,0 @@ -# TeamRole - -## Example Usage - -```typescript -import { TeamRole } from "@vercel/sdk/models/operations/listaccessgroupmembers.js"; - -let value: TeamRole = "BILLING"; -``` - -## Values - -```typescript -"OWNER" | "MEMBER" | "DEVELOPER" | "BILLING" | "VIEWER" | "CONTRIBUTOR" -``` \ No newline at end of file diff --git a/docs/models/operations/ten.md b/docs/models/operations/ten.md deleted file mode 100644 index 2363810c..00000000 --- a/docs/models/operations/ten.md +++ /dev/null @@ -1,27 +0,0 @@ -# Ten - -## Example Usage - -```typescript -import { Ten } from "@vercel/sdk/models/operations/createrecord.js"; - -let value: Ten = { - type: "AAAA", - ttl: 60, - https: { - priority: 10, - target: "host.example.com", - params: "alpn=h2,h3", - }, - comment: "used to verify ownership of domain", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.CreateRecordRequestBodyDnsRequest10Type](../../models/operations/createrecordrequestbodydnsrequest10type.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | -| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | -| `https` | [operations.RequestBodyHttps](../../models/operations/requestbodyhttps.md) | :heavy_check_mark: | N/A | | -| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/operations/test.md b/docs/models/operations/test.md deleted file mode 100644 index df5bef4c..00000000 --- a/docs/models/operations/test.md +++ /dev/null @@ -1,18 +0,0 @@ -# Test - -Test mode - -## Example Usage - -```typescript -import { Test } from "@vercel/sdk/models/operations/submitinvoice.js"; - -let value: Test = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `validate` | *boolean* | :heavy_minus_sign: | N/A | -| `result` | [operations.Result](../../models/operations/result.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/thirteen.md b/docs/models/operations/thirteen.md deleted file mode 100644 index 9726e0e8..00000000 --- a/docs/models/operations/thirteen.md +++ /dev/null @@ -1,19 +0,0 @@ -# Thirteen - -## Example Usage - -```typescript -import { Thirteen } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: Thirteen = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type](../../models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/three.md b/docs/models/operations/three.md deleted file mode 100644 index 9b74485e..00000000 --- a/docs/models/operations/three.md +++ /dev/null @@ -1,22 +0,0 @@ -# Three - -## Example Usage - -```typescript -import { Three } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: Three = { - projectId: 9829.90, - ref: "", - type: "gitlab", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `projectId` | *operations.ProjectId* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `type` | [operations.CreateDeploymentGitSourceType](../../models/operations/createdeploymentgitsourcetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/tier.md b/docs/models/operations/tier.md deleted file mode 100644 index 53ddee38..00000000 --- a/docs/models/operations/tier.md +++ /dev/null @@ -1,15 +0,0 @@ -# Tier - -## Example Usage - -```typescript -import { Tier } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: Tier = "advanced"; -``` - -## Values - -```typescript -"standard" | "advanced" | "critical" -``` \ No newline at end of file diff --git a/docs/models/operations/trustedips1.md b/docs/models/operations/trustedips1.md deleted file mode 100644 index 984ee5e0..00000000 --- a/docs/models/operations/trustedips1.md +++ /dev/null @@ -1,25 +0,0 @@ -# TrustedIps1 - -## Example Usage - -```typescript -import { TrustedIps1 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: TrustedIps1 = { - deploymentType: "prod_deployment_urls_and_all_previews", - addresses: [ - { - value: "", - }, - ], - protectionMode: "additional", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -| `deploymentType` | [operations.TrustedIpsDeploymentType](../../models/operations/trustedipsdeploymenttype.md) | :heavy_check_mark: | N/A | -| `addresses` | [operations.UpdateProjectDataCacheTrustedIpsAddresses](../../models/operations/updateprojectdatacachetrustedipsaddresses.md)[] | :heavy_check_mark: | N/A | -| `protectionMode` | [operations.UpdateProjectDataCacheTrustedIpsProtectionMode](../../models/operations/updateprojectdatacachetrustedipsprotectionmode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/trustedips2.md b/docs/models/operations/trustedips2.md deleted file mode 100644 index 7da3a534..00000000 --- a/docs/models/operations/trustedips2.md +++ /dev/null @@ -1,17 +0,0 @@ -# TrustedIps2 - -## Example Usage - -```typescript -import { TrustedIps2 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: TrustedIps2 = { - deploymentType: "production", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -| `deploymentType` | [operations.UpdateProjectDataCacheTrustedIpsDeploymentType](../../models/operations/updateprojectdatacachetrustedipsdeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/trustedipsdeploymenttype.md b/docs/models/operations/trustedipsdeploymenttype.md deleted file mode 100644 index 2d77d184..00000000 --- a/docs/models/operations/trustedipsdeploymenttype.md +++ /dev/null @@ -1,15 +0,0 @@ -# TrustedIpsDeploymentType - -## Example Usage - -```typescript -import { TrustedIpsDeploymentType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: TrustedIpsDeploymentType = "prod_deployment_urls_and_all_previews"; -``` - -## Values - -```typescript -"production" | "preview" | "all" | "prod_deployment_urls_and_all_previews" -``` \ No newline at end of file diff --git a/docs/models/operations/trustedipsprotectionmode.md b/docs/models/operations/trustedipsprotectionmode.md deleted file mode 100644 index e131ee2e..00000000 --- a/docs/models/operations/trustedipsprotectionmode.md +++ /dev/null @@ -1,15 +0,0 @@ -# TrustedIpsProtectionMode - -## Example Usage - -```typescript -import { TrustedIpsProtectionMode } from "@vercel/sdk/models/operations/createproject.js"; - -let value: TrustedIpsProtectionMode = "additional"; -``` - -## Values - -```typescript -"additional" | "exclusive" -``` \ No newline at end of file diff --git a/docs/models/operations/twelve.md b/docs/models/operations/twelve.md deleted file mode 100644 index 4e5670c1..00000000 --- a/docs/models/operations/twelve.md +++ /dev/null @@ -1,19 +0,0 @@ -# Twelve - -## Example Usage - -```typescript -import { Twelve } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: Twelve = { - type: "postgres-database", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type](../../models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/two.md b/docs/models/operations/two.md deleted file mode 100644 index aaa5c59f..00000000 --- a/docs/models/operations/two.md +++ /dev/null @@ -1,24 +0,0 @@ -# Two - -## Example Usage - -```typescript -import { Two } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: Two = { - org: "", - ref: "", - repo: "", - type: "github", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `org` | *string* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | -| `repo` | *string* | :heavy_check_mark: | N/A | -| `sha` | *string* | :heavy_minus_sign: | N/A | -| `type` | [operations.GitSourceType](../../models/operations/gitsourcetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/two2.md b/docs/models/operations/two2.md deleted file mode 100644 index 79e4acb2..00000000 --- a/docs/models/operations/two2.md +++ /dev/null @@ -1,29 +0,0 @@ -# Two2 - -## Example Usage - -```typescript -import { Two2 } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: Two2 = { - key: "API_URL", - value: "https://api.vercel.com", - type: "plain", - target: [ - "preview", - ], - gitBranch: "feature-1", - comment: "database connection string for production", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `key` | *string* | :heavy_check_mark: | The name of the environment variable | API_URL | -| `value` | *string* | :heavy_check_mark: | The value of the environment variable | https://api.vercel.com | -| `type` | [operations.CreateProjectEnv2Type](../../models/operations/createprojectenv2type.md) | :heavy_check_mark: | The type of environment variable | plain | -| `target` | [operations.CreateProjectEnv2Target](../../models/operations/createprojectenv2target.md)[] | :heavy_minus_sign: | The target environment of the environment variable | [
"preview"
] | -| `gitBranch` | *string* | :heavy_minus_sign: | If defined, the git branch of the environment variable (must have target=preview) | feature-1 | -| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this environment variable is for | database connection string for production | \ No newline at end of file diff --git a/docs/models/operations/two5.md b/docs/models/operations/two5.md deleted file mode 100644 index 34952092..00000000 --- a/docs/models/operations/two5.md +++ /dev/null @@ -1,14 +0,0 @@ -# Two5 - -## Example Usage - -```typescript -import { Two5 } from "@vercel/sdk/models/operations/createedgeconfig.js"; - -let value: Two5 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/twotarget.md b/docs/models/operations/twotarget.md deleted file mode 100644 index e5564e7f..00000000 --- a/docs/models/operations/twotarget.md +++ /dev/null @@ -1,15 +0,0 @@ -# TwoTarget - -## Example Usage - -```typescript -import { TwoTarget } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: TwoTarget = "production"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/twotype.md b/docs/models/operations/twotype.md deleted file mode 100644 index 736c4098..00000000 --- a/docs/models/operations/twotype.md +++ /dev/null @@ -1,17 +0,0 @@ -# TwoType - -The type of environment variable - -## Example Usage - -```typescript -import { TwoType } from "@vercel/sdk/models/operations/createprojectenv.js"; - -let value: TwoType = "plain"; -``` - -## Values - -```typescript -"system" | "secret" | "encrypted" | "plain" | "sensitive" -``` \ No newline at end of file diff --git a/docs/models/operations/type.md b/docs/models/operations/type.md deleted file mode 100644 index 764d08c4..00000000 --- a/docs/models/operations/type.md +++ /dev/null @@ -1,15 +0,0 @@ -# Type - -## Example Usage - -```typescript -import { Type } from "@vercel/sdk/models/operations/createdeployment.js"; - -let value: Type = "github"; -``` - -## Values - -```typescript -"github" -``` \ No newline at end of file diff --git a/docs/models/operations/updateaccessgroupprojectrequest.md b/docs/models/operations/updateaccessgroupprojectrequest.md deleted file mode 100644 index 4399f74b..00000000 --- a/docs/models/operations/updateaccessgroupprojectrequest.md +++ /dev/null @@ -1,25 +0,0 @@ -# UpdateAccessGroupProjectRequest - -## Example Usage - -```typescript -import { UpdateAccessGroupProjectRequest } from "@vercel/sdk/models/operations/updateaccessgroupproject.js"; - -let value: UpdateAccessGroupProjectRequest = { - accessGroupIdOrName: "", - projectId: "", - requestBody: { - role: "ADMIN", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `accessGroupIdOrName` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.UpdateAccessGroupProjectRequestBody](../../models/operations/updateaccessgroupprojectrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateaccessgroupprojectrequestbody.md b/docs/models/operations/updateaccessgroupprojectrequestbody.md deleted file mode 100644 index 2ee4b961..00000000 --- a/docs/models/operations/updateaccessgroupprojectrequestbody.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateAccessGroupProjectRequestBody - -## Example Usage - -```typescript -import { UpdateAccessGroupProjectRequestBody } from "@vercel/sdk/models/operations/updateaccessgroupproject.js"; - -let value: UpdateAccessGroupProjectRequestBody = { - role: "ADMIN", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `role` | [operations.UpdateAccessGroupProjectRole](../../models/operations/updateaccessgroupprojectrole.md) | :heavy_check_mark: | The project role that will be added to this Access Group. | ADMIN | \ No newline at end of file diff --git a/docs/models/operations/updateaccessgroupprojectresponsebody.md b/docs/models/operations/updateaccessgroupprojectresponsebody.md deleted file mode 100644 index 22c15483..00000000 --- a/docs/models/operations/updateaccessgroupprojectresponsebody.md +++ /dev/null @@ -1,27 +0,0 @@ -# UpdateAccessGroupProjectResponseBody - -## Example Usage - -```typescript -import { UpdateAccessGroupProjectResponseBody } from "@vercel/sdk/models/operations/updateaccessgroupproject.js"; - -let value: UpdateAccessGroupProjectResponseBody = { - teamId: "", - accessGroupId: "", - projectId: "", - role: "ADMIN", - createdAt: "", - updatedAt: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `teamId` | *string* | :heavy_check_mark: | N/A | -| `accessGroupId` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `role` | [operations.UpdateAccessGroupProjectAccessGroupsRole](../../models/operations/updateaccessgroupprojectaccessgroupsrole.md) | :heavy_check_mark: | N/A | -| `createdAt` | *string* | :heavy_check_mark: | N/A | -| `updatedAt` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateaccessgrouprequest.md b/docs/models/operations/updateaccessgrouprequest.md deleted file mode 100644 index da5802d3..00000000 --- a/docs/models/operations/updateaccessgrouprequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# UpdateAccessGroupRequest - -## Example Usage - -```typescript -import { UpdateAccessGroupRequest } from "@vercel/sdk/models/operations/updateaccessgroup.js"; - -let value: UpdateAccessGroupRequest = { - idOrName: "", - requestBody: { - name: "My access group", - projects: [ - { - projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", - role: "ADMIN", - }, - ], - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `idOrName` | *string* | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.UpdateAccessGroupRequestBody](../../models/operations/updateaccessgrouprequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateaccessgrouprequestbody.md b/docs/models/operations/updateaccessgrouprequestbody.md deleted file mode 100644 index 9e71580d..00000000 --- a/docs/models/operations/updateaccessgrouprequestbody.md +++ /dev/null @@ -1,26 +0,0 @@ -# UpdateAccessGroupRequestBody - -## Example Usage - -```typescript -import { UpdateAccessGroupRequestBody } from "@vercel/sdk/models/operations/updateaccessgroup.js"; - -let value: UpdateAccessGroupRequestBody = { - name: "My access group", - projects: [ - { - projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", - role: "ADMIN", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `name` | *string* | :heavy_minus_sign: | The name of the access group | My access group | -| `projects` | [operations.Projects](../../models/operations/projects.md)[] | :heavy_minus_sign: | N/A | | -| `membersToAdd` | *string*[] | :heavy_minus_sign: | List of members to add to the access group. | | -| `membersToRemove` | *string*[] | :heavy_minus_sign: | List of members to remove from the access group. | | \ No newline at end of file diff --git a/docs/models/operations/updateaccessgroupresponsebody.md b/docs/models/operations/updateaccessgroupresponsebody.md deleted file mode 100644 index e33f015d..00000000 --- a/docs/models/operations/updateaccessgroupresponsebody.md +++ /dev/null @@ -1,30 +0,0 @@ -# UpdateAccessGroupResponseBody - -## Example Usage - -```typescript -import { UpdateAccessGroupResponseBody } from "@vercel/sdk/models/operations/updateaccessgroup.js"; - -let value: UpdateAccessGroupResponseBody = { - name: "my-access-group", - createdAt: "1588720733602", - teamId: "team_123a6c5209bc3778245d011443644c8d27dc2c50", - updatedAt: "1588720733602", - accessGroupId: "ag_123a6c5209bc3778245d011443644c8d27dc2c50", - membersCount: 5, - projectsCount: 2, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `entitlements` | [operations.UpdateAccessGroupEntitlements](../../models/operations/updateaccessgroupentitlements.md)[] | :heavy_minus_sign: | N/A | | -| `name` | *string* | :heavy_check_mark: | The name of this access group. | my-access-group | -| `createdAt` | *string* | :heavy_check_mark: | Timestamp in milliseconds when the access group was created. | 1588720733602 | -| `teamId` | *string* | :heavy_check_mark: | ID of the team that this access group belongs to. | team_123a6c5209bc3778245d011443644c8d27dc2c50 | -| `updatedAt` | *string* | :heavy_check_mark: | Timestamp in milliseconds when the access group was last updated. | 1588720733602 | -| `accessGroupId` | *string* | :heavy_check_mark: | ID of the access group. | ag_123a6c5209bc3778245d011443644c8d27dc2c50 | -| `membersCount` | *number* | :heavy_check_mark: | Number of members in the access group. | 5 | -| `projectsCount` | *number* | :heavy_check_mark: | Number of projects in the access group. | 2 | \ No newline at end of file diff --git a/docs/models/operations/updateattackchallengemoderequest.md b/docs/models/operations/updateattackchallengemoderequest.md deleted file mode 100644 index cb81f5e7..00000000 --- a/docs/models/operations/updateattackchallengemoderequest.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateAttackChallengeModeRequest - -## Example Usage - -```typescript -import { UpdateAttackChallengeModeRequest } from "@vercel/sdk/models/operations/updateattackchallengemode.js"; - -let value: UpdateAttackChallengeModeRequest = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.UpdateAttackChallengeModeRequestBody](../../models/operations/updateattackchallengemoderequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatecheckcheckssource.md b/docs/models/operations/updatecheckcheckssource.md deleted file mode 100644 index 3b3d085d..00000000 --- a/docs/models/operations/updatecheckcheckssource.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateCheckChecksSource - -## Example Usage - -```typescript -import { UpdateCheckChecksSource } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: UpdateCheckChecksSource = "web-vitals"; -``` - -## Values - -```typescript -"web-vitals" -``` \ No newline at end of file diff --git a/docs/models/operations/updatecheckcls.md b/docs/models/operations/updatecheckcls.md deleted file mode 100644 index 2d889dd6..00000000 --- a/docs/models/operations/updatecheckcls.md +++ /dev/null @@ -1,20 +0,0 @@ -# UpdateCheckCLS - -## Example Usage - -```typescript -import { UpdateCheckCLS } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: UpdateCheckCLS = { - value: 4471.25, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.UpdateCheckChecksResponse200ApplicationJSONSource](../../models/operations/updatecheckchecksresponse200applicationjsonsource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatecheckconclusion.md b/docs/models/operations/updatecheckconclusion.md deleted file mode 100644 index f509ea2f..00000000 --- a/docs/models/operations/updatecheckconclusion.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateCheckConclusion - -## Example Usage - -```typescript -import { UpdateCheckConclusion } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: UpdateCheckConclusion = "succeeded"; -``` - -## Values - -```typescript -"canceled" | "failed" | "neutral" | "succeeded" | "skipped" | "stale" -``` \ No newline at end of file diff --git a/docs/models/operations/updatecheckfcp.md b/docs/models/operations/updatecheckfcp.md deleted file mode 100644 index d0ed5f5e..00000000 --- a/docs/models/operations/updatecheckfcp.md +++ /dev/null @@ -1,20 +0,0 @@ -# UpdateCheckFCP - -## Example Usage - -```typescript -import { UpdateCheckFCP } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: UpdateCheckFCP = { - value: 2230.82, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.UpdateCheckChecksResponseSource](../../models/operations/updatecheckchecksresponsesource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatechecklcp.md b/docs/models/operations/updatechecklcp.md deleted file mode 100644 index dda8fef3..00000000 --- a/docs/models/operations/updatechecklcp.md +++ /dev/null @@ -1,20 +0,0 @@ -# UpdateCheckLCP - -## Example Usage - -```typescript -import { UpdateCheckLCP } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: UpdateCheckLCP = { - value: 9527.49, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.UpdateCheckChecksResponse200Source](../../models/operations/updatecheckchecksresponse200source.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatecheckmetrics.md b/docs/models/operations/updatecheckmetrics.md deleted file mode 100644 index f40afecc..00000000 --- a/docs/models/operations/updatecheckmetrics.md +++ /dev/null @@ -1,36 +0,0 @@ -# UpdateCheckMetrics - -## Example Usage - -```typescript -import { UpdateCheckMetrics } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: UpdateCheckMetrics = { - fcp: { - value: 2974.37, - source: "web-vitals", - }, - lcp: { - value: 8137.98, - source: "web-vitals", - }, - cls: { - value: 3965.06, - source: "web-vitals", - }, - tbt: { - value: 8811.03, - source: "web-vitals", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `fcp` | [operations.UpdateCheckFCP](../../models/operations/updatecheckfcp.md) | :heavy_check_mark: | N/A | -| `lcp` | [operations.UpdateCheckLCP](../../models/operations/updatechecklcp.md) | :heavy_check_mark: | N/A | -| `cls` | [operations.UpdateCheckCLS](../../models/operations/updatecheckcls.md) | :heavy_check_mark: | N/A | -| `tbt` | [operations.UpdateCheckTBT](../../models/operations/updatechecktbt.md) | :heavy_check_mark: | N/A | -| `virtualExperienceScore` | [operations.UpdateCheckVirtualExperienceScore](../../models/operations/updatecheckvirtualexperiencescore.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatecheckoutput.md b/docs/models/operations/updatecheckoutput.md deleted file mode 100644 index 617b4e16..00000000 --- a/docs/models/operations/updatecheckoutput.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateCheckOutput - -## Example Usage - -```typescript -import { UpdateCheckOutput } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: UpdateCheckOutput = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `metrics` | [operations.UpdateCheckMetrics](../../models/operations/updatecheckmetrics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatecheckrequest.md b/docs/models/operations/updatecheckrequest.md deleted file mode 100644 index 0f854792..00000000 --- a/docs/models/operations/updatecheckrequest.md +++ /dev/null @@ -1,57 +0,0 @@ -# UpdateCheckRequest - -## Example Usage - -```typescript -import { UpdateCheckRequest } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: UpdateCheckRequest = { - deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6", - checkId: "check_2qn7PZrx89yxY34vEZPD31Y9XVj6", - requestBody: { - name: "Performance Check", - path: "/", - detailsUrl: "https://example.com/check/run/1234abc", - output: { - metrics: { - fcp: { - value: 1200, - previousValue: 900, - source: "web-vitals", - }, - lcp: { - value: 1200, - previousValue: 1000, - source: "web-vitals", - }, - cls: { - value: 4, - previousValue: 2, - source: "web-vitals", - }, - tbt: { - value: 3000, - previousValue: 3500, - source: "web-vitals", - }, - virtualExperienceScore: { - value: 30, - previousValue: 35, - source: "web-vitals", - }, - }, - }, - externalId: "1234abc", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `deploymentId` | *string* | :heavy_check_mark: | The deployment to update the check for. | dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6 | -| `checkId` | *string* | :heavy_check_mark: | The check being updated | check_2qn7PZrx89yxY34vEZPD31Y9XVj6 | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | -| `requestBody` | [operations.UpdateCheckRequestBody](../../models/operations/updatecheckrequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/updatecheckresponsebody.md b/docs/models/operations/updatecheckresponsebody.md deleted file mode 100644 index b907ad8f..00000000 --- a/docs/models/operations/updatecheckresponsebody.md +++ /dev/null @@ -1,39 +0,0 @@ -# UpdateCheckResponseBody - -## Example Usage - -```typescript -import { UpdateCheckResponseBody } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: UpdateCheckResponseBody = { - id: "", - name: "", - status: "running", - blocking: false, - integrationId: "", - deploymentId: "", - createdAt: 8817.35, - updatedAt: 6925.32, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `path` | *string* | :heavy_minus_sign: | N/A | -| `status` | [operations.UpdateCheckStatus](../../models/operations/updatecheckstatus.md) | :heavy_check_mark: | N/A | -| `conclusion` | [operations.UpdateCheckConclusion](../../models/operations/updatecheckconclusion.md) | :heavy_minus_sign: | N/A | -| `blocking` | *boolean* | :heavy_check_mark: | N/A | -| `output` | [operations.UpdateCheckOutput](../../models/operations/updatecheckoutput.md) | :heavy_minus_sign: | N/A | -| `detailsUrl` | *string* | :heavy_minus_sign: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `deploymentId` | *string* | :heavy_check_mark: | N/A | -| `externalId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | -| `startedAt` | *number* | :heavy_minus_sign: | N/A | -| `completedAt` | *number* | :heavy_minus_sign: | N/A | -| `rerequestable` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatechecksource.md b/docs/models/operations/updatechecksource.md deleted file mode 100644 index 3004ed44..00000000 --- a/docs/models/operations/updatechecksource.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateCheckSource - -## Example Usage - -```typescript -import { UpdateCheckSource } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: UpdateCheckSource = "web-vitals"; -``` - -## Values - -```typescript -"web-vitals" -``` \ No newline at end of file diff --git a/docs/models/operations/updatecheckstatus.md b/docs/models/operations/updatecheckstatus.md deleted file mode 100644 index a9a9144e..00000000 --- a/docs/models/operations/updatecheckstatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateCheckStatus - -## Example Usage - -```typescript -import { UpdateCheckStatus } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: UpdateCheckStatus = "running"; -``` - -## Values - -```typescript -"registered" | "running" | "completed" -``` \ No newline at end of file diff --git a/docs/models/operations/updatechecktbt.md b/docs/models/operations/updatechecktbt.md deleted file mode 100644 index e946c357..00000000 --- a/docs/models/operations/updatechecktbt.md +++ /dev/null @@ -1,20 +0,0 @@ -# UpdateCheckTBT - -## Example Usage - -```typescript -import { UpdateCheckTBT } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: UpdateCheckTBT = { - value: 8464.09, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.UpdateCheckChecksResponse200ApplicationJSONResponseBodySource](../../models/operations/updatecheckchecksresponse200applicationjsonresponsebodysource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatecheckvirtualexperiencescore.md b/docs/models/operations/updatecheckvirtualexperiencescore.md deleted file mode 100644 index 71f4e9c0..00000000 --- a/docs/models/operations/updatecheckvirtualexperiencescore.md +++ /dev/null @@ -1,20 +0,0 @@ -# UpdateCheckVirtualExperienceScore - -## Example Usage - -```typescript -import { UpdateCheckVirtualExperienceScore } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: UpdateCheckVirtualExperienceScore = { - value: 6994.79, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | N/A | -| `previousValue` | *number* | :heavy_minus_sign: | N/A | -| `source` | [operations.UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource](../../models/operations/updatecheckchecksresponse200applicationjsonresponsebodyoutputsource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateedgeconfigpurpose.md b/docs/models/operations/updateedgeconfigpurpose.md deleted file mode 100644 index 49f195b0..00000000 --- a/docs/models/operations/updateedgeconfigpurpose.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateEdgeConfigPurpose - -## Example Usage - -```typescript -import { UpdateEdgeConfigPurpose } from "@vercel/sdk/models/operations/updateedgeconfig.js"; - -let value: UpdateEdgeConfigPurpose = { - type: "flags", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `type` | [operations.UpdateEdgeConfigType](../../models/operations/updateedgeconfigtype.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateedgeconfigrequest.md b/docs/models/operations/updateedgeconfigrequest.md deleted file mode 100644 index 55a9bf65..00000000 --- a/docs/models/operations/updateedgeconfigrequest.md +++ /dev/null @@ -1,20 +0,0 @@ -# UpdateEdgeConfigRequest - -## Example Usage - -```typescript -import { UpdateEdgeConfigRequest } from "@vercel/sdk/models/operations/updateedgeconfig.js"; - -let value: UpdateEdgeConfigRequest = { - edgeConfigId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.UpdateEdgeConfigRequestBody](../../models/operations/updateedgeconfigrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateedgeconfigschema.md b/docs/models/operations/updateedgeconfigschema.md deleted file mode 100644 index 3dcc6378..00000000 --- a/docs/models/operations/updateedgeconfigschema.md +++ /dev/null @@ -1,14 +0,0 @@ -# UpdateEdgeConfigSchema - -## Example Usage - -```typescript -import { UpdateEdgeConfigSchema } from "@vercel/sdk/models/operations/updateedgeconfig.js"; - -let value: UpdateEdgeConfigSchema = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/updateedgeconfigtype.md b/docs/models/operations/updateedgeconfigtype.md deleted file mode 100644 index 640cef09..00000000 --- a/docs/models/operations/updateedgeconfigtype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateEdgeConfigType - -## Example Usage - -```typescript -import { UpdateEdgeConfigType } from "@vercel/sdk/models/operations/updateedgeconfig.js"; - -let value: UpdateEdgeConfigType = "flags"; -``` - -## Values - -```typescript -"flags" -``` \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigaction1.md b/docs/models/operations/updatefirewallconfigaction1.md deleted file mode 100644 index 8d7c2709..00000000 --- a/docs/models/operations/updatefirewallconfigaction1.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateFirewallConfigAction1 - -## Example Usage - -```typescript -import { UpdateFirewallConfigAction1 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigAction1 = "deny"; -``` - -## Values - -```typescript -"log" | "challenge" | "deny" | "rate_limit" -``` \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigratelimit1.md b/docs/models/operations/updatefirewallconfigratelimit1.md deleted file mode 100644 index 7dbd34b6..00000000 --- a/docs/models/operations/updatefirewallconfigratelimit1.md +++ /dev/null @@ -1,26 +0,0 @@ -# UpdateFirewallConfigRateLimit1 - -## Example Usage - -```typescript -import { UpdateFirewallConfigRateLimit1 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRateLimit1 = { - algo: "fixed_window", - window: 5874.89, - limit: 7726.04, - keys: [ - "", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `algo` | [operations.RateLimitAlgo](../../models/operations/ratelimitalgo.md) | :heavy_check_mark: | N/A | -| `window` | *number* | :heavy_check_mark: | N/A | -| `limit` | *number* | :heavy_check_mark: | N/A | -| `keys` | *string*[] | :heavy_check_mark: | N/A | -| `action` | *operations.UpdateFirewallConfigRateLimitAction* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigratelimitaction.md b/docs/models/operations/updatefirewallconfigratelimitaction.md deleted file mode 100644 index 07eac531..00000000 --- a/docs/models/operations/updatefirewallconfigratelimitaction.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateFirewallConfigRateLimitAction - - -## Supported Types - -### `operations.UpdateFirewallConfigAction1` - -```typescript -const value: operations.UpdateFirewallConfigAction1 = "log"; -``` - -### `any` - -```typescript -const value: any = ""; -``` - diff --git a/docs/models/operations/updatefirewallconfigratelimitsecurity1.md b/docs/models/operations/updatefirewallconfigratelimitsecurity1.md deleted file mode 100644 index f9c12f2d..00000000 --- a/docs/models/operations/updatefirewallconfigratelimitsecurity1.md +++ /dev/null @@ -1,26 +0,0 @@ -# UpdateFirewallConfigRateLimitSecurity1 - -## Example Usage - -```typescript -import { UpdateFirewallConfigRateLimitSecurity1 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRateLimitSecurity1 = { - algo: "token_bucket", - window: 2641.26, - limit: 4724.29, - keys: [ - "", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `algo` | [operations.UpdateFirewallConfigRateLimitAlgo](../../models/operations/updatefirewallconfigratelimitalgo.md) | :heavy_check_mark: | N/A | -| `window` | *number* | :heavy_check_mark: | N/A | -| `limit` | *number* | :heavy_check_mark: | N/A | -| `keys` | *string*[] | :heavy_check_mark: | N/A | -| `action` | *operations.UpdateFirewallConfigRateLimitSecurityAction* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigratelimitsecurityaction.md b/docs/models/operations/updatefirewallconfigratelimitsecurityaction.md deleted file mode 100644 index a477408a..00000000 --- a/docs/models/operations/updatefirewallconfigratelimitsecurityaction.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateFirewallConfigRateLimitSecurityAction - - -## Supported Types - -### `operations.UpdateFirewallConfigActionSecurity1` - -```typescript -const value: operations.UpdateFirewallConfigActionSecurity1 = "challenge"; -``` - -### `any` - -```typescript -const value: any = ""; -``` - diff --git a/docs/models/operations/updatefirewallconfigrequestbody.md b/docs/models/operations/updatefirewallconfigrequestbody.md deleted file mode 100644 index 9dbb8996..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbody.md +++ /dev/null @@ -1,149 +0,0 @@ -# UpdateFirewallConfigRequestBody - - -## Supported Types - -### `operations.UpdateFirewallConfigRequestBody1` - -```typescript -const value: operations.UpdateFirewallConfigRequestBody1 = { - action: "firewallEnabled", - value: false, -}; -``` - -### `operations.UpdateFirewallConfigRequestBody2` - -```typescript -const value: operations.UpdateFirewallConfigRequestBody2 = { - action: "rules.insert", - value: { - name: "", - active: false, - conditionGroup: [ - { - conditions: [ - { - type: "cookie", - op: "lte", - }, - ], - }, - ], - action: {}, - }, -}; -``` - -### `operations.UpdateFirewallConfigRequestBody3` - -```typescript -const value: operations.UpdateFirewallConfigRequestBody3 = { - action: "rules.update", - id: "", - value: { - name: "", - active: false, - conditionGroup: [ - { - conditions: [ - { - type: "ip_address", - op: "lt", - }, - ], - }, - ], - action: {}, - }, -}; -``` - -### `operations.UpdateFirewallConfigRequestBody4` - -```typescript -const value: operations.UpdateFirewallConfigRequestBody4 = { - action: "rules.remove", - id: "", -}; -``` - -### `operations.UpdateFirewallConfigRequestBody5` - -```typescript -const value: operations.UpdateFirewallConfigRequestBody5 = { - action: "rules.priority", - id: "", - value: 1810.42, -}; -``` - -### `operations.RequestBody6` - -```typescript -const value: operations.RequestBody6 = { - action: "crs.update", - id: "sqli", - value: { - active: false, - action: "deny", - }, -}; -``` - -### `operations.RequestBody7` - -```typescript -const value: operations.RequestBody7 = { - action: "crs.disable", -}; -``` - -### `operations.RequestBody8` - -```typescript -const value: operations.RequestBody8 = { - action: "ip.insert", - value: { - hostname: "lean-accompanist.net", - ip: "0eb7:d692:e0af:c3af:cc2d:8d6c:9d51:a9c0", - action: "bypass", - }, -}; -``` - -### `operations.RequestBody9` - -```typescript -const value: operations.RequestBody9 = { - action: "ip.update", - id: "", - value: { - hostname: "ultimate-opera.com", - ip: "250.174.41.117", - action: "bypass", - }, -}; -``` - -### `operations.RequestBody10` - -```typescript -const value: operations.RequestBody10 = { - action: "ip.remove", - id: "", -}; -``` - -### `operations.Eleven` - -```typescript -const value: operations.Eleven = { - action: "managedRules.update", - id: "owasp", - value: { - active: false, - }, -}; -``` - diff --git a/docs/models/operations/updatefirewallconfigrequestbody1.md b/docs/models/operations/updatefirewallconfigrequestbody1.md deleted file mode 100644 index 075fe553..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbody1.md +++ /dev/null @@ -1,22 +0,0 @@ -# UpdateFirewallConfigRequestBody1 - -Enable Firewall - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBody1 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBody1 = { - action: "firewallEnabled", - value: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `action` | [operations.RequestBodyAction](../../models/operations/requestbodyaction.md) | :heavy_check_mark: | N/A | -| `id` | *any* | :heavy_minus_sign: | N/A | -| `value` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbody2.md b/docs/models/operations/updatefirewallconfigrequestbody2.md deleted file mode 100644 index 49538e53..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbody2.md +++ /dev/null @@ -1,36 +0,0 @@ -# UpdateFirewallConfigRequestBody2 - -Add a custom rule - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBody2 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBody2 = { - action: "rules.insert", - value: { - name: "", - active: false, - conditionGroup: [ - { - conditions: [ - { - type: "query", - op: "nex", - }, - ], - }, - ], - action: {}, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `action` | [operations.UpdateFirewallConfigRequestBodyAction](../../models/operations/updatefirewallconfigrequestbodyaction.md) | :heavy_check_mark: | N/A | -| `id` | *any* | :heavy_minus_sign: | N/A | -| `value` | [operations.RequestBodyValue](../../models/operations/requestbodyvalue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbody3.md b/docs/models/operations/updatefirewallconfigrequestbody3.md deleted file mode 100644 index aeae07f4..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbody3.md +++ /dev/null @@ -1,37 +0,0 @@ -# UpdateFirewallConfigRequestBody3 - -Update a custom rule - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBody3 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBody3 = { - action: "rules.update", - id: "", - value: { - name: "", - active: false, - conditionGroup: [ - { - conditions: [ - { - type: "header", - op: "ninc", - }, - ], - }, - ], - action: {}, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `action` | [operations.UpdateFirewallConfigRequestBodySecurityAction](../../models/operations/updatefirewallconfigrequestbodysecurityaction.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `value` | [operations.UpdateFirewallConfigRequestBodyValue](../../models/operations/updatefirewallconfigrequestbodyvalue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbody4.md b/docs/models/operations/updatefirewallconfigrequestbody4.md deleted file mode 100644 index ee5ad40d..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbody4.md +++ /dev/null @@ -1,22 +0,0 @@ -# UpdateFirewallConfigRequestBody4 - -Remove a custom rule - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBody4 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBody4 = { - action: "rules.remove", - id: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -| `action` | [operations.UpdateFirewallConfigRequestBodySecurityRequestAction](../../models/operations/updatefirewallconfigrequestbodysecurityrequestaction.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `value` | *any* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbody5.md b/docs/models/operations/updatefirewallconfigrequestbody5.md deleted file mode 100644 index 165303b6..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbody5.md +++ /dev/null @@ -1,23 +0,0 @@ -# UpdateFirewallConfigRequestBody5 - -Reorder a custom rule - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBody5 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBody5 = { - action: "rules.priority", - id: "", - value: 3719.35, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `action` | [operations.UpdateFirewallConfigRequestBodySecurityRequest5Action](../../models/operations/updatefirewallconfigrequestbodysecurityrequest5action.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `value` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbodyconditiongroup.md b/docs/models/operations/updatefirewallconfigrequestbodyconditiongroup.md deleted file mode 100644 index 22d22cd3..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbodyconditiongroup.md +++ /dev/null @@ -1,22 +0,0 @@ -# UpdateFirewallConfigRequestBodyConditionGroup - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBodyConditionGroup } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBodyConditionGroup = { - conditions: [ - { - type: "protocol", - op: "eq", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `conditions` | [operations.UpdateFirewallConfigRequestBodyConditions](../../models/operations/updatefirewallconfigrequestbodyconditions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbodyconditions.md b/docs/models/operations/updatefirewallconfigrequestbodyconditions.md deleted file mode 100644 index 0c76b7e7..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbodyconditions.md +++ /dev/null @@ -1,22 +0,0 @@ -# UpdateFirewallConfigRequestBodyConditions - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBodyConditions } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBodyConditions = { - type: "geo_city", - op: "eq", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateFirewallConfigRequestBodySecurityType](../../models/operations/updatefirewallconfigrequestbodysecuritytype.md) | :heavy_check_mark: | N/A | -| `op` | [operations.UpdateFirewallConfigRequestBodyOp](../../models/operations/updatefirewallconfigrequestbodyop.md) | :heavy_check_mark: | N/A | -| `neg` | *boolean* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *operations.UpdateFirewallConfigRequestBodySecurityRequest3Value* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbodymitigate.md b/docs/models/operations/updatefirewallconfigrequestbodymitigate.md deleted file mode 100644 index 6da69f5b..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbodymitigate.md +++ /dev/null @@ -1,20 +0,0 @@ -# UpdateFirewallConfigRequestBodyMitigate - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBodyMitigate } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBodyMitigate = { - action: "challenge", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `action` | [operations.UpdateFirewallConfigRequestBodySecurityRequest3ValueAction](../../models/operations/updatefirewallconfigrequestbodysecurityrequest3valueaction.md) | :heavy_check_mark: | N/A | -| `rateLimit` | *operations.UpdateFirewallConfigRequestBodyRateLimit* | :heavy_minus_sign: | N/A | -| `redirect` | *operations.UpdateFirewallConfigRequestBodyRedirect* | :heavy_minus_sign: | N/A | -| `actionDuration` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbodyop.md b/docs/models/operations/updatefirewallconfigrequestbodyop.md deleted file mode 100644 index 818577d9..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbodyop.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateFirewallConfigRequestBodyOp - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBodyOp } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBodyOp = "gt"; -``` - -## Values - -```typescript -"re" | "eq" | "neq" | "ex" | "nex" | "inc" | "ninc" | "pre" | "suf" | "sub" | "gt" | "gte" | "lt" | "lte" -``` \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbodyratelimit.md b/docs/models/operations/updatefirewallconfigrequestbodyratelimit.md deleted file mode 100644 index 148d5895..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbodyratelimit.md +++ /dev/null @@ -1,24 +0,0 @@ -# UpdateFirewallConfigRequestBodyRateLimit - - -## Supported Types - -### `operations.UpdateFirewallConfigRateLimitSecurity1` - -```typescript -const value: operations.UpdateFirewallConfigRateLimitSecurity1 = { - algo: "token_bucket", - window: 8156.18, - limit: 7503.43, - keys: [ - "", - ], -}; -``` - -### `any` - -```typescript -const value: any = ""; -``` - diff --git a/docs/models/operations/updatefirewallconfigrequestbodyredirect.md b/docs/models/operations/updatefirewallconfigrequestbodyredirect.md deleted file mode 100644 index f0eec436..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbodyredirect.md +++ /dev/null @@ -1,20 +0,0 @@ -# UpdateFirewallConfigRequestBodyRedirect - - -## Supported Types - -### `operations.UpdateFirewallConfigRedirectSecurity1` - -```typescript -const value: operations.UpdateFirewallConfigRedirectSecurity1 = { - location: "", - permanent: false, -}; -``` - -### `any` - -```typescript -const value: any = ""; -``` - diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2action.md b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2action.md deleted file mode 100644 index 3ee62e83..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateFirewallConfigRequestBodySecurityRequest2Action - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBodySecurityRequest2Action } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBodySecurityRequest2Action = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `mitigate` | [operations.RequestBodyMitigate](../../models/operations/requestbodymitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3action.md b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3action.md deleted file mode 100644 index 9eca59d7..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateFirewallConfigRequestBodySecurityRequest3Action - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBodySecurityRequest3Action } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBodySecurityRequest3Action = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `mitigate` | [operations.UpdateFirewallConfigRequestBodyMitigate](../../models/operations/updatefirewallconfigrequestbodymitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9value.md b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9value.md deleted file mode 100644 index 38558bc4..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9value.md +++ /dev/null @@ -1,22 +0,0 @@ -# UpdateFirewallConfigRequestBodySecurityRequest9Value - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBodySecurityRequest9Value } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBodySecurityRequest9Value = { - hostname: "kaleidoscopic-slide.org", - ip: "175.205.132.75", - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `hostname` | *string* | :heavy_check_mark: | N/A | -| `ip` | *string* | :heavy_check_mark: | N/A | -| `notes` | *string* | :heavy_minus_sign: | N/A | -| `action` | [operations.UpdateFirewallConfigRequestBodySecurityRequest9ValueAction](../../models/operations/updatefirewallconfigrequestbodysecurityrequest9valueaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequestvalue.md b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequestvalue.md deleted file mode 100644 index de4ac2bb..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequestvalue.md +++ /dev/null @@ -1,22 +0,0 @@ -# UpdateFirewallConfigRequestBodySecurityRequestValue - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBodySecurityRequestValue } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBodySecurityRequestValue = { - hostname: "mushy-hippodrome.biz", - ip: "d6b5:74fc:a28d:13dd:ce35:9014:a5d7:ef94", - action: "challenge", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `hostname` | *string* | :heavy_check_mark: | N/A | -| `ip` | *string* | :heavy_check_mark: | N/A | -| `notes` | *string* | :heavy_minus_sign: | N/A | -| `action` | [operations.UpdateFirewallConfigRequestBodySecurityRequest8ValueAction](../../models/operations/updatefirewallconfigrequestbodysecurityrequest8valueaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecuritytype.md b/docs/models/operations/updatefirewallconfigrequestbodysecuritytype.md deleted file mode 100644 index 8ceb6aa4..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbodysecuritytype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateFirewallConfigRequestBodySecurityType - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBodySecurityType } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBodySecurityType = "ja3_digest"; -``` - -## Values - -```typescript -"host" | "path" | "method" | "header" | "query" | "cookie" | "target_path" | "ip_address" | "region" | "protocol" | "scheme" | "environment" | "user_agent" | "geo_continent" | "geo_country" | "geo_country_region" | "geo_city" | "geo_as_number" | "ja4_digest" | "ja3_digest" | "rate_limit_api_id" -``` \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityvalue.md b/docs/models/operations/updatefirewallconfigrequestbodysecurityvalue.md deleted file mode 100644 index a033c7fa..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityvalue.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateFirewallConfigRequestBodySecurityValue - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBodySecurityValue } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBodySecurityValue = { - active: false, - action: "deny", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.UpdateFirewallConfigRequestBodySecurityRequest6ValueAction](../../models/operations/updatefirewallconfigrequestbodysecurityrequest6valueaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbodytype.md b/docs/models/operations/updatefirewallconfigrequestbodytype.md deleted file mode 100644 index c91cf77f..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbodytype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateFirewallConfigRequestBodyType - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBodyType } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBodyType = "geo_country_region"; -``` - -## Values - -```typescript -"host" | "path" | "method" | "header" | "query" | "cookie" | "target_path" | "ip_address" | "region" | "protocol" | "scheme" | "environment" | "user_agent" | "geo_continent" | "geo_country" | "geo_country_region" | "geo_city" | "geo_as_number" | "ja4_digest" | "ja3_digest" | "rate_limit_api_id" -``` \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbodyvalue.md b/docs/models/operations/updatefirewallconfigrequestbodyvalue.md deleted file mode 100644 index 63f0b4fb..00000000 --- a/docs/models/operations/updatefirewallconfigrequestbodyvalue.md +++ /dev/null @@ -1,33 +0,0 @@ -# UpdateFirewallConfigRequestBodyValue - -## Example Usage - -```typescript -import { UpdateFirewallConfigRequestBodyValue } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; - -let value: UpdateFirewallConfigRequestBodyValue = { - name: "", - active: false, - conditionGroup: [ - { - conditions: [ - { - type: "scheme", - op: "neq", - }, - ], - }, - ], - action: {}, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `conditionGroup` | [operations.UpdateFirewallConfigRequestBodyConditionGroup](../../models/operations/updatefirewallconfigrequestbodyconditiongroup.md)[] | :heavy_check_mark: | N/A | -| `action` | [operations.UpdateFirewallConfigRequestBodySecurityRequest3Action](../../models/operations/updatefirewallconfigrequestbodysecurityrequest3action.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateinvoicerequest.md b/docs/models/operations/updateinvoicerequest.md deleted file mode 100644 index 662e13ae..00000000 --- a/docs/models/operations/updateinvoicerequest.md +++ /dev/null @@ -1,20 +0,0 @@ -# UpdateInvoiceRequest - -## Example Usage - -```typescript -import { UpdateInvoiceRequest } from "@vercel/sdk/models/operations/updateinvoice.js"; - -let value: UpdateInvoiceRequest = { - integrationConfigurationId: "", - invoiceId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | -| `invoiceId` | *string* | :heavy_check_mark: | N/A | -| `requestBody` | [operations.UpdateInvoiceRequestBody](../../models/operations/updateinvoicerequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectaction.md b/docs/models/operations/updateprojectaction.md deleted file mode 100644 index 70573202..00000000 --- a/docs/models/operations/updateprojectaction.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectAction - -## Example Usage - -```typescript -import { UpdateProjectAction } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectAction = "bypass"; -``` - -## Values - -```typescript -"deny" | "challenge" | "log" | "bypass" | "rate_limit" | "redirect" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectalgo.md b/docs/models/operations/updateprojectalgo.md deleted file mode 100644 index d2f124de..00000000 --- a/docs/models/operations/updateprojectalgo.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectAlgo - -## Example Usage - -```typescript -import { UpdateProjectAlgo } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectAlgo = "fixed_window"; -``` - -## Values - -```typescript -"fixed_window" | "token_bucket" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectbranchmatcher.md b/docs/models/operations/updateprojectbranchmatcher.md deleted file mode 100644 index a9ee2808..00000000 --- a/docs/models/operations/updateprojectbranchmatcher.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectBranchMatcher - -## Example Usage - -```typescript -import { UpdateProjectBranchMatcher } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectBranchMatcher = { - type: "startsWith", - pattern: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType](../../models/operations/updateprojectprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | -| `pattern` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectchecksstate.md b/docs/models/operations/updateprojectchecksstate.md deleted file mode 100644 index 685500fa..00000000 --- a/docs/models/operations/updateprojectchecksstate.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectChecksState - -## Example Usage - -```typescript -import { UpdateProjectChecksState } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectChecksState = "registered"; -``` - -## Values - -```typescript -"registered" | "running" | "completed" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectcontenthint.md b/docs/models/operations/updateprojectcontenthint.md deleted file mode 100644 index 2782c9e3..00000000 --- a/docs/models/operations/updateprojectcontenthint.md +++ /dev/null @@ -1,143 +0,0 @@ -# UpdateProjectContentHint - - -## Supported Types - -### `operations.UpdateProjectContentHint1` - -```typescript -const value: operations.UpdateProjectContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -### `operations.UpdateProjectContentHint2` - -```typescript -const value: operations.UpdateProjectContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -### `operations.UpdateProjectContentHint3` - -```typescript -const value: operations.UpdateProjectContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -### `operations.UpdateProjectContentHint4` - -```typescript -const value: operations.UpdateProjectContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -### `operations.UpdateProjectContentHint5` - -```typescript -const value: operations.UpdateProjectContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -### `operations.UpdateProjectContentHint6` - -```typescript -const value: operations.UpdateProjectContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -### `operations.UpdateProjectContentHint7` - -```typescript -const value: operations.UpdateProjectContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -### `operations.UpdateProjectContentHint8` - -```typescript -const value: operations.UpdateProjectContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -### `operations.UpdateProjectContentHint9` - -```typescript -const value: operations.UpdateProjectContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -### `operations.UpdateProjectContentHint10` - -```typescript -const value: operations.UpdateProjectContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -### `operations.UpdateProjectContentHint11` - -```typescript -const value: operations.UpdateProjectContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -### `operations.UpdateProjectContentHint12` - -```typescript -const value: operations.UpdateProjectContentHint12 = { - type: "postgres-database", - storeId: "", -}; -``` - -### `operations.UpdateProjectContentHint13` - -```typescript -const value: operations.UpdateProjectContentHint13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -### `operations.UpdateProjectContentHint14` - -```typescript -const value: operations.UpdateProjectContentHint14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -### `operations.UpdateProjectContentHint15` - -```typescript -const value: operations.UpdateProjectContentHint15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - diff --git a/docs/models/operations/updateprojectcontenthint1.md b/docs/models/operations/updateprojectcontenthint1.md deleted file mode 100644 index 87c16a9c..00000000 --- a/docs/models/operations/updateprojectcontenthint1.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectContentHint1 - -## Example Usage - -```typescript -import { UpdateProjectContentHint1 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectContentHint1 = { - type: "redis-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectContentHintType](../../models/operations/updateprojectcontenthinttype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectcontenthint10.md b/docs/models/operations/updateprojectcontenthint10.md deleted file mode 100644 index b1d5fc39..00000000 --- a/docs/models/operations/updateprojectcontenthint10.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectContentHint10 - -## Example Usage - -```typescript -import { UpdateProjectContentHint10 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectContentHint10 = { - type: "postgres-host", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type](../../models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectcontenthint11.md b/docs/models/operations/updateprojectcontenthint11.md deleted file mode 100644 index ef0c22c5..00000000 --- a/docs/models/operations/updateprojectcontenthint11.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectContentHint11 - -## Example Usage - -```typescript -import { UpdateProjectContentHint11 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type](../../models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectcontenthint12.md b/docs/models/operations/updateprojectcontenthint12.md deleted file mode 100644 index 5bbb1c80..00000000 --- a/docs/models/operations/updateprojectcontenthint12.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectContentHint12 - -## Example Usage - -```typescript -import { UpdateProjectContentHint12 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectContentHint12 = { - type: "postgres-database", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type](../../models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectcontenthint13.md b/docs/models/operations/updateprojectcontenthint13.md deleted file mode 100644 index e6b6f285..00000000 --- a/docs/models/operations/updateprojectcontenthint13.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectContentHint13 - -## Example Usage - -```typescript -import { UpdateProjectContentHint13 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectContentHint13 = { - type: "postgres-url-no-ssl", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type](../../models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectcontenthint14.md b/docs/models/operations/updateprojectcontenthint14.md deleted file mode 100644 index 9fa69e09..00000000 --- a/docs/models/operations/updateprojectcontenthint14.md +++ /dev/null @@ -1,25 +0,0 @@ -# UpdateProjectContentHint14 - -## Example Usage - -```typescript -import { UpdateProjectContentHint14 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectContentHint14 = { - type: "integration-store-secret", - storeId: "", - integrationId: "", - integrationProductId: "", - integrationConfigurationId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type](../../models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectcontenthint15.md b/docs/models/operations/updateprojectcontenthint15.md deleted file mode 100644 index f851b843..00000000 --- a/docs/models/operations/updateprojectcontenthint15.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectContentHint15 - -## Example Usage - -```typescript -import { UpdateProjectContentHint15 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectContentHint15 = { - type: "flags-connection-string", - projectId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type](../../models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectcontenthint2.md b/docs/models/operations/updateprojectcontenthint2.md deleted file mode 100644 index 88173b93..00000000 --- a/docs/models/operations/updateprojectcontenthint2.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectContentHint2 - -## Example Usage - -```typescript -import { UpdateProjectContentHint2 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectContentHint2 = { - type: "redis-rest-api-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.UpdateProjectContentHintProjectsType](../../models/operations/updateprojectcontenthintprojectstype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectcontenthint3.md b/docs/models/operations/updateprojectcontenthint3.md deleted file mode 100644 index fdb22fa6..00000000 --- a/docs/models/operations/updateprojectcontenthint3.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectContentHint3 - -## Example Usage - -```typescript -import { UpdateProjectContentHint3 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectContentHint3 = { - type: "redis-rest-api-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectContentHintProjectsResponseType](../../models/operations/updateprojectcontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectcontenthint4.md b/docs/models/operations/updateprojectcontenthint4.md deleted file mode 100644 index 1af4024a..00000000 --- a/docs/models/operations/updateprojectcontenthint4.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectContentHint4 - -## Example Usage - -```typescript -import { UpdateProjectContentHint4 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectContentHint4 = { - type: "redis-rest-api-read-only-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectContentHintProjectsResponse200Type](../../models/operations/updateprojectcontenthintprojectsresponse200type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectcontenthint5.md b/docs/models/operations/updateprojectcontenthint5.md deleted file mode 100644 index 8e80c8d6..00000000 --- a/docs/models/operations/updateprojectcontenthint5.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectContentHint5 - -## Example Usage - -```typescript -import { UpdateProjectContentHint5 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectContentHint5 = { - type: "blob-read-write-token", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectContentHintProjectsResponse200ApplicationJSONType](../../models/operations/updateprojectcontenthintprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectcontenthint6.md b/docs/models/operations/updateprojectcontenthint6.md deleted file mode 100644 index 29269ac8..00000000 --- a/docs/models/operations/updateprojectcontenthint6.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectContentHint6 - -## Example Usage - -```typescript -import { UpdateProjectContentHint6 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectContentHint6 = { - type: "postgres-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType](../../models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectcontenthint7.md b/docs/models/operations/updateprojectcontenthint7.md deleted file mode 100644 index 1668b5e4..00000000 --- a/docs/models/operations/updateprojectcontenthint7.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectContentHint7 - -## Example Usage - -```typescript -import { UpdateProjectContentHint7 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectContentHint7 = { - type: "postgres-url-non-pooling", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType](../../models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectcontenthint8.md b/docs/models/operations/updateprojectcontenthint8.md deleted file mode 100644 index a3240556..00000000 --- a/docs/models/operations/updateprojectcontenthint8.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectContentHint8 - -## Example Usage - -```typescript -import { UpdateProjectContentHint8 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectContentHint8 = { - type: "postgres-prisma-url", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type](../../models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectcontenthint9.md b/docs/models/operations/updateprojectcontenthint9.md deleted file mode 100644 index 4e0e75b2..00000000 --- a/docs/models/operations/updateprojectcontenthint9.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectContentHint9 - -## Example Usage - -```typescript -import { UpdateProjectContentHint9 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectContentHint9 = { - type: "postgres-user", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type](../../models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacachealgo.md b/docs/models/operations/updateprojectdatacachealgo.md deleted file mode 100644 index 7cd2ba0e..00000000 --- a/docs/models/operations/updateprojectdatacachealgo.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectDataCacheAlgo - -## Example Usage - -```typescript -import { UpdateProjectDataCacheAlgo } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: UpdateProjectDataCacheAlgo = "token_bucket"; -``` - -## Values - -```typescript -"fixed_window" | "token_bucket" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacachebranchmatcher.md b/docs/models/operations/updateprojectdatacachebranchmatcher.md deleted file mode 100644 index e4d2c8b3..00000000 --- a/docs/models/operations/updateprojectdatacachebranchmatcher.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectDataCacheBranchMatcher - -## Example Usage - -```typescript -import { UpdateProjectDataCacheBranchMatcher } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: UpdateProjectDataCacheBranchMatcher = { - type: "endsWith", - pattern: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType](../../models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytargetstype.md) | :heavy_check_mark: | N/A | -| `pattern` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacachecontenthint11.md b/docs/models/operations/updateprojectdatacachecontenthint11.md deleted file mode 100644 index 2bc6b86d..00000000 --- a/docs/models/operations/updateprojectdatacachecontenthint11.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectDataCacheContentHint11 - -## Example Usage - -```typescript -import { UpdateProjectDataCacheContentHint11 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: UpdateProjectDataCacheContentHint11 = { - type: "postgres-password", - storeId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type](../../models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md) | :heavy_check_mark: | N/A | -| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacachemitigate.md b/docs/models/operations/updateprojectdatacachemitigate.md deleted file mode 100644 index 42f602fa..00000000 --- a/docs/models/operations/updateprojectdatacachemitigate.md +++ /dev/null @@ -1,21 +0,0 @@ -# UpdateProjectDataCacheMitigate - -## Example Usage - -```typescript -import { UpdateProjectDataCacheMitigate } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: UpdateProjectDataCacheMitigate = { - action: "challenge", - ruleId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `action` | [operations.UpdateProjectDataCacheAction](../../models/operations/updateprojectdatacacheaction.md) | :heavy_check_mark: | N/A | -| `ruleId` | *string* | :heavy_check_mark: | N/A | -| `ttl` | *number* | :heavy_minus_sign: | N/A | -| `erl` | [operations.Erl](../../models/operations/erl.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacacheoidctokenconfig.md b/docs/models/operations/updateprojectdatacacheoidctokenconfig.md deleted file mode 100644 index 45199998..00000000 --- a/docs/models/operations/updateprojectdatacacheoidctokenconfig.md +++ /dev/null @@ -1,18 +0,0 @@ -# UpdateProjectDataCacheOidcTokenConfig - -## Example Usage - -```typescript -import { UpdateProjectDataCacheOidcTokenConfig } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: UpdateProjectDataCacheOidcTokenConfig = { - enabled: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | -| `issuerMode` | [operations.UpdateProjectDataCacheIssuerMode](../../models/operations/updateprojectdatacacheissuermode.md) | :heavy_minus_sign: | - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacacheoptionsallowlist.md b/docs/models/operations/updateprojectdatacacheoptionsallowlist.md deleted file mode 100644 index b7c12f96..00000000 --- a/docs/models/operations/updateprojectdatacacheoptionsallowlist.md +++ /dev/null @@ -1,21 +0,0 @@ -# UpdateProjectDataCacheOptionsAllowlist - -## Example Usage - -```typescript -import { UpdateProjectDataCacheOptionsAllowlist } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: UpdateProjectDataCacheOptionsAllowlist = { - paths: [ - { - value: "", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `paths` | [operations.UpdateProjectDataCachePaths](../../models/operations/updateprojectdatacachepaths.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacacheplan.md b/docs/models/operations/updateprojectdatacacheplan.md deleted file mode 100644 index 59a9a180..00000000 --- a/docs/models/operations/updateprojectdatacacheplan.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectDataCachePlan - -## Example Usage - -```typescript -import { UpdateProjectDataCachePlan } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: UpdateProjectDataCachePlan = "enterprise"; -``` - -## Values - -```typescript -"pro" | "enterprise" | "hobby" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md b/docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md deleted file mode 100644 index ac54fdb7..00000000 --- a/docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType - -## Example Usage - -```typescript -import { - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType, -} from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = - "header"; -``` - -## Values - -```typescript -"path" | "host" | "method" | "header" | "cookie" | "query" | "ip_address" | "protocol" | "scheme" | "environment" | "region" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecuritytype.md b/docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecuritytype.md deleted file mode 100644 index 431fffd9..00000000 --- a/docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecuritytype.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType - -## Example Usage - -```typescript -import { UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType = - "region"; -``` - -## Values - -```typescript -"path" | "host" | "method" | "header" | "cookie" | "query" | "ip_address" | "protocol" | "scheme" | "environment" | "region" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacacheprojectsvalue.md b/docs/models/operations/updateprojectdatacacheprojectsvalue.md deleted file mode 100644 index f5e2e96c..00000000 --- a/docs/models/operations/updateprojectdatacacheprojectsvalue.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateProjectDataCacheProjectsValue - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `operations.UpdateProjectDataCacheValueProjects2` - -```typescript -const value: operations.UpdateProjectDataCacheValueProjects2 = {}; -``` - diff --git a/docs/models/operations/updateprojectdatacacherequest.md b/docs/models/operations/updateprojectdatacacherequest.md deleted file mode 100644 index 60ef24fd..00000000 --- a/docs/models/operations/updateprojectdatacacherequest.md +++ /dev/null @@ -1,23 +0,0 @@ -# UpdateProjectDataCacheRequest - -## Example Usage - -```typescript -import { UpdateProjectDataCacheRequest } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: UpdateProjectDataCacheRequest = { - projectId: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB", - requestBody: { - disabled: true, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `projectId` | *string* | :heavy_check_mark: | The unique project identifier | prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | -| `requestBody` | [operations.UpdateProjectDataCacheRequestBody](../../models/operations/updateprojectdatacacherequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacacheresponsebody.md b/docs/models/operations/updateprojectdatacacheresponsebody.md deleted file mode 100644 index ff8568cc..00000000 --- a/docs/models/operations/updateprojectdatacacheresponsebody.md +++ /dev/null @@ -1,144 +0,0 @@ -# UpdateProjectDataCacheResponseBody - -## Example Usage - -```typescript -import { UpdateProjectDataCacheResponseBody } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: UpdateProjectDataCacheResponseBody = { - accountId: "", - crons: { - enabledAt: 132.37, - disabledAt: 3472.34, - updatedAt: 1481.41, - deploymentId: "", - definitions: [ - { - host: "vercel.com", - path: "/api/crons/sync-something?hello=world", - schedule: "0 0 * * *", - }, - ], - }, - directoryListing: false, - id: "", - latestDeployments: [ - { - id: "", - createdAt: 9818.29, - createdIn: "", - creator: { - email: "Jess.Hills82@yahoo.com", - uid: "", - username: "Johnpaul97", - }, - deploymentHostname: "", - name: "", - plan: "hobby", - previewCommentsEnabled: false, - private: false, - readyState: "READY", - type: "LAMBDAS", - url: "https://bossy-hamburger.biz/", - userId: "", - }, - ], - name: "", - nodeVersion: "20.x", - targets: { - "key": { - id: "", - createdAt: 534.27, - createdIn: "", - creator: { - email: "Aditya8@hotmail.com", - uid: "", - username: "Dejon_Lynch72", - }, - deploymentHostname: "", - name: "", - plan: "pro", - previewCommentsEnabled: false, - private: false, - readyState: "BUILDING", - type: "LAMBDAS", - url: "https://fatal-import.net/", - userId: "", - }, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `accountId` | *string* | :heavy_check_mark: | N/A | -| `analytics` | [operations.Analytics](../../models/operations/analytics.md) | :heavy_minus_sign: | N/A | -| `speedInsights` | [operations.SpeedInsights](../../models/operations/speedinsights.md) | :heavy_minus_sign: | N/A | -| `autoExposeSystemEnvs` | *boolean* | :heavy_minus_sign: | N/A | -| `autoAssignCustomDomains` | *boolean* | :heavy_minus_sign: | N/A | -| `autoAssignCustomDomainsUpdatedBy` | *string* | :heavy_minus_sign: | N/A | -| `buildCommand` | *string* | :heavy_minus_sign: | N/A | -| `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | -| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | -| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `customerSupportCodeVisibility` | *boolean* | :heavy_minus_sign: | N/A | -| `crons` | [operations.Crons](../../models/operations/crons.md) | :heavy_minus_sign: | N/A | -| `dataCache` | [operations.DataCache](../../models/operations/datacache.md) | :heavy_minus_sign: | N/A | -| `deploymentExpiration` | [operations.DeploymentExpiration](../../models/operations/deploymentexpiration.md) | :heavy_minus_sign: | N/A | -| `devCommand` | *string* | :heavy_minus_sign: | N/A | -| `directoryListing` | *boolean* | :heavy_check_mark: | N/A | -| `installCommand` | *string* | :heavy_minus_sign: | N/A | -| `env` | [operations.Env](../../models/operations/env.md)[] | :heavy_minus_sign: | N/A | -| `customEnvironments` | [operations.CustomEnvironments](../../models/operations/customenvironments.md)[] | :heavy_minus_sign: | N/A | -| `framework` | [operations.UpdateProjectDataCacheFramework](../../models/operations/updateprojectdatacacheframework.md) | :heavy_minus_sign: | N/A | -| `gitForkProtection` | *boolean* | :heavy_minus_sign: | N/A | -| `gitLFS` | *boolean* | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `ipBuckets` | [operations.IpBuckets](../../models/operations/ipbuckets.md)[] | :heavy_minus_sign: | N/A | -| `latestDeployments` | [operations.LatestDeployments](../../models/operations/latestdeployments.md)[] | :heavy_minus_sign: | N/A | -| `link` | *operations.Link* | :heavy_minus_sign: | N/A | -| `microfrontends` | [operations.Microfrontends](../../models/operations/microfrontends.md) | :heavy_minus_sign: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `nodeVersion` | [operations.UpdateProjectDataCacheNodeVersion](../../models/operations/updateprojectdatacachenodeversion.md) | :heavy_check_mark: | N/A | -| `optionsAllowlist` | [operations.UpdateProjectDataCacheOptionsAllowlist](../../models/operations/updateprojectdatacacheoptionsallowlist.md) | :heavy_minus_sign: | N/A | -| `outputDirectory` | *string* | :heavy_minus_sign: | N/A | -| `passiveConnectConfigurationId` | *string* | :heavy_minus_sign: | N/A | -| `passwordProtection` | [operations.UpdateProjectDataCachePasswordProtection](../../models/operations/updateprojectdatacachepasswordprotection.md) | :heavy_minus_sign: | N/A | -| `productionDeploymentsFastLane` | *boolean* | :heavy_minus_sign: | N/A | -| `publicSource` | *boolean* | :heavy_minus_sign: | N/A | -| `resourceConfig` | [operations.ResourceConfig](../../models/operations/resourceconfig.md) | :heavy_minus_sign: | N/A | -| `rootDirectory` | *string* | :heavy_minus_sign: | N/A | -| `serverlessFunctionRegion` | *string* | :heavy_minus_sign: | N/A | -| `serverlessFunctionZeroConfigFailover` | *boolean* | :heavy_minus_sign: | N/A | -| `skewProtectionBoundaryAt` | *number* | :heavy_minus_sign: | N/A | -| `skewProtectionMaxAge` | *number* | :heavy_minus_sign: | N/A | -| `skipGitConnectDuringLink` | *boolean* | :heavy_minus_sign: | N/A | -| `sourceFilesOutsideRootDirectory` | *boolean* | :heavy_minus_sign: | N/A | -| `enableAffectedProjectsDeployments` | *boolean* | :heavy_minus_sign: | N/A | -| `ssoProtection` | [operations.UpdateProjectDataCacheSsoProtection](../../models/operations/updateprojectdatacachessoprotection.md) | :heavy_minus_sign: | N/A | -| `targets` | Record | :heavy_minus_sign: | N/A | -| `transferCompletedAt` | *number* | :heavy_minus_sign: | N/A | -| `transferStartedAt` | *number* | :heavy_minus_sign: | N/A | -| `transferToAccountId` | *string* | :heavy_minus_sign: | N/A | -| `transferredFromAccountId` | *string* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `live` | *boolean* | :heavy_minus_sign: | N/A | -| `enablePreviewFeedback` | *boolean* | :heavy_minus_sign: | N/A | -| `enableProductionFeedback` | *boolean* | :heavy_minus_sign: | N/A | -| `permissions` | [operations.Permissions](../../models/operations/permissions.md) | :heavy_minus_sign: | N/A | -| `lastRollbackTarget` | [operations.LastRollbackTarget](../../models/operations/lastrollbacktarget.md) | :heavy_minus_sign: | N/A | -| `lastAliasRequest` | [operations.LastAliasRequest](../../models/operations/lastaliasrequest.md) | :heavy_minus_sign: | N/A | -| `hasFloatingAliases` | *boolean* | :heavy_minus_sign: | N/A | -| `protectionBypass` | Record | :heavy_minus_sign: | N/A | -| `hasActiveBranches` | *boolean* | :heavy_minus_sign: | N/A | -| `trustedIps` | *operations.UpdateProjectDataCacheTrustedIps* | :heavy_minus_sign: | N/A | -| `gitComments` | [operations.GitComments](../../models/operations/gitcomments.md) | :heavy_minus_sign: | N/A | -| `paused` | *boolean* | :heavy_minus_sign: | N/A | -| `concurrencyBucketName` | *string* | :heavy_minus_sign: | N/A | -| `webAnalytics` | [operations.WebAnalytics](../../models/operations/webanalytics.md) | :heavy_minus_sign: | N/A | -| `security` | [operations.Security](../../models/operations/security.md) | :heavy_minus_sign: | N/A | -| `oidcTokenConfig` | [operations.UpdateProjectDataCacheOidcTokenConfig](../../models/operations/updateprojectdatacacheoidctokenconfig.md) | :heavy_minus_sign: | N/A | -| `tier` | [operations.Tier](../../models/operations/tier.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacachessoprotection.md b/docs/models/operations/updateprojectdatacachessoprotection.md deleted file mode 100644 index fe18512c..00000000 --- a/docs/models/operations/updateprojectdatacachessoprotection.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateProjectDataCacheSsoProtection - -## Example Usage - -```typescript -import { UpdateProjectDataCacheSsoProtection } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: UpdateProjectDataCacheSsoProtection = { - deploymentType: "preview", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `deploymentType` | [operations.UpdateProjectDataCacheDeploymentType](../../models/operations/updateprojectdatacachedeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacachetarget.md b/docs/models/operations/updateprojectdatacachetarget.md deleted file mode 100644 index bd3b7aeb..00000000 --- a/docs/models/operations/updateprojectdatacachetarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectDataCacheTarget - - -## Supported Types - -### `operations.UpdateProjectDataCacheTarget1[]` - -```typescript -const value: operations.UpdateProjectDataCacheTarget1[] = [ - "production", -]; -``` - -### `operations.UpdateProjectDataCacheTarget2` - -```typescript -const value: operations.UpdateProjectDataCacheTarget2 = "preview"; -``` - diff --git a/docs/models/operations/updateprojectdatacachetrustedips.md b/docs/models/operations/updateprojectdatacachetrustedips.md deleted file mode 100644 index 96f7ee4b..00000000 --- a/docs/models/operations/updateprojectdatacachetrustedips.md +++ /dev/null @@ -1,27 +0,0 @@ -# UpdateProjectDataCacheTrustedIps - - -## Supported Types - -### `operations.TrustedIps1` - -```typescript -const value: operations.TrustedIps1 = { - deploymentType: "all", - addresses: [ - { - value: "", - }, - ], - protectionMode: "additional", -}; -``` - -### `operations.TrustedIps2` - -```typescript -const value: operations.TrustedIps2 = { - deploymentType: "preview", -}; -``` - diff --git a/docs/models/operations/updateprojectdatacachetype.md b/docs/models/operations/updateprojectdatacachetype.md deleted file mode 100644 index 4ee3928c..00000000 --- a/docs/models/operations/updateprojectdatacachetype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectDataCacheType - -## Example Usage - -```typescript -import { UpdateProjectDataCacheType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: UpdateProjectDataCacheType = "LAMBDAS"; -``` - -## Values - -```typescript -"LAMBDAS" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacachevalue.md b/docs/models/operations/updateprojectdatacachevalue.md deleted file mode 100644 index c9b39c8f..00000000 --- a/docs/models/operations/updateprojectdatacachevalue.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateProjectDataCacheValue - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `operations.UpdateProjectDataCacheValue2` - -```typescript -const value: operations.UpdateProjectDataCacheValue2 = {}; -``` - diff --git a/docs/models/operations/updateprojectdomainrequest.md b/docs/models/operations/updateprojectdomainrequest.md deleted file mode 100644 index ee5ce1d6..00000000 --- a/docs/models/operations/updateprojectdomainrequest.md +++ /dev/null @@ -1,27 +0,0 @@ -# UpdateProjectDomainRequest - -## Example Usage - -```typescript -import { UpdateProjectDomainRequest } from "@vercel/sdk/models/operations/updateprojectdomain.js"; - -let value: UpdateProjectDomainRequest = { - idOrName: "", - domain: "www.example.com", - requestBody: { - gitBranch: null, - redirect: "foobar.com", - redirectStatusCode: 307, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | | -| `domain` | *string* | :heavy_check_mark: | The project domain name | www.example.com | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | -| `requestBody` | [operations.UpdateProjectDomainRequestBody](../../models/operations/updateprojectdomainrequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdomainrequestbody.md b/docs/models/operations/updateprojectdomainrequestbody.md deleted file mode 100644 index e08128bf..00000000 --- a/docs/models/operations/updateprojectdomainrequestbody.md +++ /dev/null @@ -1,21 +0,0 @@ -# UpdateProjectDomainRequestBody - -## Example Usage - -```typescript -import { UpdateProjectDomainRequestBody } from "@vercel/sdk/models/operations/updateprojectdomain.js"; - -let value: UpdateProjectDomainRequestBody = { - gitBranch: null, - redirect: "foobar.com", - redirectStatusCode: 307, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `gitBranch` | *string* | :heavy_minus_sign: | Git branch to link the project domain | | -| `redirect` | *string* | :heavy_minus_sign: | Target destination domain for redirect | foobar.com | -| `redirectStatusCode` | [operations.RedirectStatusCode](../../models/operations/redirectstatuscode.md) | :heavy_minus_sign: | Status code for domain redirect | 307 | \ No newline at end of file diff --git a/docs/models/operations/updateprojectenv.md b/docs/models/operations/updateprojectenv.md deleted file mode 100644 index bedecef6..00000000 --- a/docs/models/operations/updateprojectenv.md +++ /dev/null @@ -1,38 +0,0 @@ -# UpdateProjectEnv - -## Example Usage - -```typescript -import { UpdateProjectEnv } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectEnv = { - type: "encrypted", - key: "", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `target` | *operations.UpdateProjectTarget* | :heavy_minus_sign: | N/A | -| `type` | [operations.UpdateProjectType](../../models/operations/updateprojecttype.md) | :heavy_check_mark: | N/A | -| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `configurationId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `createdBy` | *string* | :heavy_minus_sign: | N/A | -| `updatedBy` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `contentHint` | *operations.UpdateProjectContentHint* | :heavy_minus_sign: | N/A | -| `internalContentHint` | [operations.UpdateProjectInternalContentHint](../../models/operations/updateprojectinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | -| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | -| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojecterl.md b/docs/models/operations/updateprojecterl.md deleted file mode 100644 index 408cfe4e..00000000 --- a/docs/models/operations/updateprojecterl.md +++ /dev/null @@ -1,25 +0,0 @@ -# UpdateProjectErl - -## Example Usage - -```typescript -import { UpdateProjectErl } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectErl = { - algo: "fixed_window", - window: 3223.34, - limit: 3165.01, - keys: [ - "", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `algo` | [operations.UpdateProjectAlgo](../../models/operations/updateprojectalgo.md) | :heavy_check_mark: | N/A | -| `window` | *number* | :heavy_check_mark: | N/A | -| `limit` | *number* | :heavy_check_mark: | N/A | -| `keys` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectfirewallroutes.md b/docs/models/operations/updateprojectfirewallroutes.md deleted file mode 100644 index 30f9101c..00000000 --- a/docs/models/operations/updateprojectfirewallroutes.md +++ /dev/null @@ -1,21 +0,0 @@ -# UpdateProjectFirewallRoutes - -## Example Usage - -```typescript -import { UpdateProjectFirewallRoutes } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectFirewallRoutes = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `src` | *operations.UpdateProjectSrc* | :heavy_minus_sign: | N/A | -| `has` | [operations.UpdateProjectHas](../../models/operations/updateprojecthas.md)[] | :heavy_minus_sign: | N/A | -| `missing` | [operations.UpdateProjectMissing](../../models/operations/updateprojectmissing.md)[] | :heavy_minus_sign: | N/A | -| `dest` | *string* | :heavy_minus_sign: | N/A | -| `status` | *number* | :heavy_minus_sign: | N/A | -| `handle` | [operations.UpdateProjectHandle](../../models/operations/updateprojecthandle.md) | :heavy_minus_sign: | N/A | -| `mitigate` | [operations.UpdateProjectMitigate](../../models/operations/updateprojectmitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojecthandle.md b/docs/models/operations/updateprojecthandle.md deleted file mode 100644 index 567d944a..00000000 --- a/docs/models/operations/updateprojecthandle.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectHandle - -## Example Usage - -```typescript -import { UpdateProjectHandle } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectHandle = "init"; -``` - -## Values - -```typescript -"init" | "finalize" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojecthas.md b/docs/models/operations/updateprojecthas.md deleted file mode 100644 index 60879e00..00000000 --- a/docs/models/operations/updateprojecthas.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectHas - -## Example Usage - -```typescript -import { UpdateProjectHas } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectHas = { - type: "query", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType](../../models/operations/updateprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *operations.UpdateProjectValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectinternalcontenthint.md b/docs/models/operations/updateprojectinternalcontenthint.md deleted file mode 100644 index 75431b9b..00000000 --- a/docs/models/operations/updateprojectinternalcontenthint.md +++ /dev/null @@ -1,21 +0,0 @@ -# UpdateProjectInternalContentHint - -Similar to `contentHints`, but should not be exposed to the user. - -## Example Usage - -```typescript -import { UpdateProjectInternalContentHint } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectInternalContentHint = { - type: "flags-secret", - encryptedValue: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType](../../models/operations/updateprojectprojectsresponse200applicationjsonresponsebodyenvtype.md) | :heavy_check_mark: | N/A | -| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/updateprojectissuermode.md b/docs/models/operations/updateprojectissuermode.md deleted file mode 100644 index 6a5915ca..00000000 --- a/docs/models/operations/updateprojectissuermode.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateProjectIssuerMode - -team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` - -## Example Usage - -```typescript -import { UpdateProjectIssuerMode } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectIssuerMode = "team"; -``` - -## Values - -```typescript -"team" | "global" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectjobstatus.md b/docs/models/operations/updateprojectjobstatus.md deleted file mode 100644 index df87fb2f..00000000 --- a/docs/models/operations/updateprojectjobstatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectJobStatus - -## Example Usage - -```typescript -import { UpdateProjectJobStatus } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectJobStatus = "failed"; -``` - -## Values - -```typescript -"succeeded" | "failed" | "skipped" | "pending" | "in-progress" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectlastaliasrequest.md b/docs/models/operations/updateprojectlastaliasrequest.md deleted file mode 100644 index 8da4fbd6..00000000 --- a/docs/models/operations/updateprojectlastaliasrequest.md +++ /dev/null @@ -1,25 +0,0 @@ -# UpdateProjectLastAliasRequest - -## Example Usage - -```typescript -import { UpdateProjectLastAliasRequest } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectLastAliasRequest = { - fromDeploymentId: "", - toDeploymentId: "", - jobStatus: "pending", - requestedAt: 3952.33, - type: "promote", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `fromDeploymentId` | *string* | :heavy_check_mark: | N/A | -| `toDeploymentId` | *string* | :heavy_check_mark: | N/A | -| `jobStatus` | [operations.UpdateProjectJobStatus](../../models/operations/updateprojectjobstatus.md) | :heavy_check_mark: | N/A | -| `requestedAt` | *number* | :heavy_check_mark: | N/A | -| `type` | [operations.UpdateProjectProjectsResponse200Type](../../models/operations/updateprojectprojectsresponse200type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectlatestdeployments.md b/docs/models/operations/updateprojectlatestdeployments.md deleted file mode 100644 index 14ed76c6..00000000 --- a/docs/models/operations/updateprojectlatestdeployments.md +++ /dev/null @@ -1,68 +0,0 @@ -# UpdateProjectLatestDeployments - -## Example Usage - -```typescript -import { UpdateProjectLatestDeployments } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectLatestDeployments = { - id: "", - createdAt: 2928.89, - createdIn: "", - creator: { - email: "Hazle47@hotmail.com", - uid: "", - username: "Mozelle88", - }, - deploymentHostname: "", - name: "", - plan: "pro", - previewCommentsEnabled: false, - private: false, - readyState: "READY", - type: "LAMBDAS", - url: "https://scary-concentration.info", - userId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | | -| `alias` | *string*[] | :heavy_minus_sign: | N/A | | -| `aliasAssigned` | *operations.UpdateProjectAliasAssigned* | :heavy_minus_sign: | N/A | | -| `aliasError` | [operations.UpdateProjectAliasError](../../models/operations/updateprojectaliaserror.md) | :heavy_minus_sign: | N/A | | -| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | -| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | -| `branchMatcher` | [operations.UpdateProjectBranchMatcher](../../models/operations/updateprojectbranchmatcher.md) | :heavy_minus_sign: | N/A | | -| `buildingAt` | *number* | :heavy_minus_sign: | N/A | | -| `builds` | [operations.UpdateProjectBuilds](../../models/operations/updateprojectbuilds.md)[] | :heavy_minus_sign: | N/A | | -| `checksConclusion` | [operations.UpdateProjectChecksConclusion](../../models/operations/updateprojectchecksconclusion.md) | :heavy_minus_sign: | N/A | | -| `checksState` | [operations.UpdateProjectChecksState](../../models/operations/updateprojectchecksstate.md) | :heavy_minus_sign: | N/A | | -| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | -| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | -| `createdAt` | *number* | :heavy_check_mark: | N/A | | -| `createdIn` | *string* | :heavy_check_mark: | N/A | | -| `creator` | [operations.UpdateProjectCreator](../../models/operations/updateprojectcreator.md) | :heavy_check_mark: | N/A | | -| `deletedAt` | *number* | :heavy_minus_sign: | N/A | | -| `deploymentHostname` | *string* | :heavy_check_mark: | N/A | | -| `forced` | *boolean* | :heavy_minus_sign: | N/A | | -| `name` | *string* | :heavy_check_mark: | N/A | | -| `meta` | Record | :heavy_minus_sign: | N/A | | -| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | -| `oidcTokenClaims` | [operations.UpdateProjectOidcTokenClaims](../../models/operations/updateprojectoidctokenclaims.md) | :heavy_minus_sign: | N/A | | -| `plan` | [operations.UpdateProjectPlan](../../models/operations/updateprojectplan.md) | :heavy_check_mark: | N/A | | -| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | -| `private` | *boolean* | :heavy_check_mark: | N/A | | -| `readyAt` | *number* | :heavy_minus_sign: | N/A | | -| `readyState` | [operations.UpdateProjectReadyState](../../models/operations/updateprojectreadystate.md) | :heavy_check_mark: | N/A | | -| `readySubstate` | [operations.UpdateProjectReadySubstate](../../models/operations/updateprojectreadysubstate.md) | :heavy_minus_sign: | N/A | | -| `requestedAt` | *number* | :heavy_minus_sign: | N/A | | -| `target` | *string* | :heavy_minus_sign: | N/A | | -| `teamId` | *string* | :heavy_minus_sign: | N/A | | -| `type` | [operations.UpdateProjectProjectsType](../../models/operations/updateprojectprojectstype.md) | :heavy_check_mark: | N/A | | -| `url` | *string* | :heavy_check_mark: | N/A | | -| `userId` | *string* | :heavy_check_mark: | N/A | | -| `withCache` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/updateprojectlink.md b/docs/models/operations/updateprojectlink.md deleted file mode 100644 index e7e059e8..00000000 --- a/docs/models/operations/updateprojectlink.md +++ /dev/null @@ -1,50 +0,0 @@ -# UpdateProjectLink - - -## Supported Types - -### `operations.UpdateProjectLink1` - -```typescript -const value: operations.UpdateProjectLink1 = { - deployHooks: [ - { - id: "", - name: "", - ref: "", - url: "https://sparkling-season.info", - }, - ], -}; -``` - -### `operations.UpdateProjectLink2` - -```typescript -const value: operations.UpdateProjectLink2 = { - deployHooks: [ - { - id: "", - name: "", - ref: "", - url: "https://shocked-characterization.org", - }, - ], -}; -``` - -### `operations.UpdateProjectLink3` - -```typescript -const value: operations.UpdateProjectLink3 = { - deployHooks: [ - { - id: "", - name: "", - ref: "", - url: "https://low-hygienic.name/", - }, - ], -}; -``` - diff --git a/docs/models/operations/updateprojectlink3.md b/docs/models/operations/updateprojectlink3.md deleted file mode 100644 index 34f4f971..00000000 --- a/docs/models/operations/updateprojectlink3.md +++ /dev/null @@ -1,35 +0,0 @@ -# UpdateProjectLink3 - -## Example Usage - -```typescript -import { UpdateProjectLink3 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectLink3 = { - deployHooks: [ - { - id: "", - name: "", - ref: "", - url: "https://gripping-nerve.org/", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `slug` | *string* | :heavy_minus_sign: | N/A | -| `owner` | *string* | :heavy_minus_sign: | N/A | -| `type` | [operations.UpdateProjectLinkProjectsResponseType](../../models/operations/updateprojectlinkprojectsresponsetype.md) | :heavy_minus_sign: | N/A | -| `uuid` | *string* | :heavy_minus_sign: | N/A | -| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `deployHooks` | [operations.UpdateProjectLinkProjectsResponseDeployHooks](../../models/operations/updateprojectlinkprojectsresponsedeployhooks.md)[] | :heavy_check_mark: | N/A | -| `gitCredentialId` | *string* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `sourceless` | *boolean* | :heavy_minus_sign: | N/A | -| `productionBranch` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectlinktype.md b/docs/models/operations/updateprojectlinktype.md deleted file mode 100644 index 139c6849..00000000 --- a/docs/models/operations/updateprojectlinktype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectLinkType - -## Example Usage - -```typescript -import { UpdateProjectLinkType } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectLinkType = "github"; -``` - -## Values - -```typescript -"github" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectmissing.md b/docs/models/operations/updateprojectmissing.md deleted file mode 100644 index fa478def..00000000 --- a/docs/models/operations/updateprojectmissing.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectMissing - -## Example Usage - -```typescript -import { UpdateProjectMissing } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectMissing = { - type: "environment", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType](../../models/operations/updateprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `value` | *operations.UpdateProjectProjectsValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectmitigate.md b/docs/models/operations/updateprojectmitigate.md deleted file mode 100644 index a41a709f..00000000 --- a/docs/models/operations/updateprojectmitigate.md +++ /dev/null @@ -1,21 +0,0 @@ -# UpdateProjectMitigate - -## Example Usage - -```typescript -import { UpdateProjectMitigate } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectMitigate = { - action: "log", - ruleId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `action` | [operations.UpdateProjectAction](../../models/operations/updateprojectaction.md) | :heavy_check_mark: | N/A | -| `ruleId` | *string* | :heavy_check_mark: | N/A | -| `ttl` | *number* | :heavy_minus_sign: | N/A | -| `erl` | [operations.UpdateProjectErl](../../models/operations/updateprojecterl.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectnodeversion.md b/docs/models/operations/updateprojectnodeversion.md deleted file mode 100644 index dbf61d7e..00000000 --- a/docs/models/operations/updateprojectnodeversion.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectNodeVersion - -## Example Usage - -```typescript -import { UpdateProjectNodeVersion } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectNodeVersion = "20.x"; -``` - -## Values - -```typescript -"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectoidctokenconfig.md b/docs/models/operations/updateprojectoidctokenconfig.md deleted file mode 100644 index cec8bcfc..00000000 --- a/docs/models/operations/updateprojectoidctokenconfig.md +++ /dev/null @@ -1,20 +0,0 @@ -# UpdateProjectOidcTokenConfig - -OpenID Connect JSON Web Token generation configuration. - -## Example Usage - -```typescript -import { UpdateProjectOidcTokenConfig } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectOidcTokenConfig = { - enabled: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `enabled` | *boolean* | :heavy_check_mark: | Whether or not to generate OpenID Connect JSON Web Tokens. | -| `issuerMode` | [operations.UpdateProjectIssuerMode](../../models/operations/updateprojectissuermode.md) | :heavy_minus_sign: | team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` | \ No newline at end of file diff --git a/docs/models/operations/updateprojectoptionsallowlist.md b/docs/models/operations/updateprojectoptionsallowlist.md deleted file mode 100644 index b96d9d38..00000000 --- a/docs/models/operations/updateprojectoptionsallowlist.md +++ /dev/null @@ -1,21 +0,0 @@ -# UpdateProjectOptionsAllowlist - -## Example Usage - -```typescript -import { UpdateProjectOptionsAllowlist } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectOptionsAllowlist = { - paths: [ - { - value: "", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `paths` | [operations.UpdateProjectPaths](../../models/operations/updateprojectpaths.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectpermissions.md b/docs/models/operations/updateprojectpermissions.md deleted file mode 100644 index f287dcd0..00000000 --- a/docs/models/operations/updateprojectpermissions.md +++ /dev/null @@ -1,196 +0,0 @@ -# UpdateProjectPermissions - -## Example Usage - -```typescript -import { UpdateProjectPermissions } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectPermissions = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `accessGroup` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `aliasGlobal` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `analyticsSampling` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `analyticsUsage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `auditLog` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingAddress` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingInformation` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingInvoice` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingInvoiceEmailRecipient` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingInvoiceLanguage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingPlan` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingPurchaseOrder` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `billingTaxId` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `blob` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `budget` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `cacheArtifact` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `cacheArtifactUsageEvent` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `codeChecks` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `concurrentBuilds` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `connect` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `connectConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domain` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainAcceptDelegation` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainAuthCodes` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainCertificate` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainCheckConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainMove` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainPurchase` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainRecord` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `domainTransferIn` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `event` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `ownEvent` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sensitiveEnvironmentVariablePolicy` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `fileUpload` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `gitRepository` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `ipBlocking` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationAccount` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationConfigurationTransfer` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationConfigurationProjects` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationVercelConfigurationOverride` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationConfigurationRole` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationResource` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationEvent` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationResourceSecrets` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationDeploymentAction` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceInstallationMember` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceBillingData` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceInvoice` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `jobGlobal` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `logDrain` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoring` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoringSettings` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoringQuery` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoringChart` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `monitoringAlert` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDeploymentFailed` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainExpire` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainMoved` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainPurchase` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainRenewal` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainTransfer` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationDomainUnverified` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationMonitoringAlert` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationPaymentFailed` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationUsageAlert` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationCustomerBudget` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `notificationStatementOfReasons` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `oauth2Connection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `observabilityConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `openTelemetryEndpoint` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `paymentMethod` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `permissions` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `postgres` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `previewDeploymentSuffix` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `proTrialOnboarding` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sharedEnvVars` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sharedEnvVarsProduction` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `space` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `spaceRun` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `passwordProtectionInvoiceItem` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `rateLimit` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `redis` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `repository` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `remoteCaching` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `samlConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `secret` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `redisStoreTokenSet` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `blobStoreTokenSet` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `postgresStoreTokenSet` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationStoreTokenSet` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationResourceReplCommand` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `storeTransfer` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `supportCase` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `supportCaseComment` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `dataCacheBillingSettings` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `team` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamAccessRequest` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamFellowMembership` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamGitExclusivity` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamInvite` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamInviteCode` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamJoin` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamMicrofrontends` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamOwnMembership` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `teamOwnMembershipDisconnectSAML` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `token` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `usage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `usageCycle` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `user` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `userConnection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `vpcPeeringConnection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webAnalyticsPlan` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webAuthn` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `edgeConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `edgeConfigItem` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `edgeConfigSchema` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `edgeConfigToken` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webhook` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webhookEvent` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `endpointVerification` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTransferIn` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `oauth2Application` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `aliasProject` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `aliasProtectionBypass` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `productionAliasProtectionBypass` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `connectConfigurationLink` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `dataCacheNamespace` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deployment` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentCheck` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentCheckPreview` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentCheckReRunFromProductionBranch` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentProductionGit` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentV0` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentPreview` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentPrivate` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentPromote` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `deploymentRollback` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `environments` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `logs` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `logsPreset` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `passwordProtection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `optionsAllowlist` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `job` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `observabilityData` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `project` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectFromV0` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectAccessGroup` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectAnalyticsSampling` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDeploymentHook` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDomain` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDomainMove` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDomainCheckConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectEnvVars` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectEnvVarsProduction` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectEnvVarsUnownedByIntegration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectFlags` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectId` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectIntegrationConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectLink` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectMember` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectMonitoring` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectPermissions` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectProductionBranch` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTransfer` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTransferOut` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectProtectionBypass` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectUsage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectAnalyticsUsage` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectSupportCase` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectSupportCaseComment` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectDeploymentExpiration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTier` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `seawallConfig` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `skewProtection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `analytics` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `trustedIps` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webAnalytics` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sharedEnvVarConnection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `sonar` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectplan.md b/docs/models/operations/updateprojectplan.md deleted file mode 100644 index d8d4e3ea..00000000 --- a/docs/models/operations/updateprojectplan.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectPlan - -## Example Usage - -```typescript -import { UpdateProjectPlan } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectPlan = "enterprise"; -``` - -## Values - -```typescript -"pro" | "enterprise" | "hobby" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectprojectsbranchmatcher.md b/docs/models/operations/updateprojectprojectsbranchmatcher.md deleted file mode 100644 index 08aaec8a..00000000 --- a/docs/models/operations/updateprojectprojectsbranchmatcher.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectProjectsBranchMatcher - -## Example Usage - -```typescript -import { UpdateProjectProjectsBranchMatcher } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectProjectsBranchMatcher = { - type: "startsWith", - pattern: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [operations.UpdateProjectProjectsResponse200ApplicationJSONType](../../models/operations/updateprojectprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | -| `pattern` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectprojectsoidctokenconfig.md b/docs/models/operations/updateprojectprojectsoidctokenconfig.md deleted file mode 100644 index 8f09bdab..00000000 --- a/docs/models/operations/updateprojectprojectsoidctokenconfig.md +++ /dev/null @@ -1,18 +0,0 @@ -# UpdateProjectProjectsOidcTokenConfig - -## Example Usage - -```typescript -import { UpdateProjectProjectsOidcTokenConfig } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectProjectsOidcTokenConfig = { - enabled: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | -| `issuerMode` | [operations.UpdateProjectProjectsIssuerMode](../../models/operations/updateprojectprojectsissuermode.md) | :heavy_minus_sign: | - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` | \ No newline at end of file diff --git a/docs/models/operations/updateprojectprojectsplan.md b/docs/models/operations/updateprojectprojectsplan.md deleted file mode 100644 index 077940cc..00000000 --- a/docs/models/operations/updateprojectprojectsplan.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectProjectsPlan - -## Example Usage - -```typescript -import { UpdateProjectProjectsPlan } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectProjectsPlan = "hobby"; -``` - -## Values - -```typescript -"pro" | "enterprise" | "hobby" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md b/docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md deleted file mode 100644 index ce58ac68..00000000 --- a/docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType - -## Example Usage - -```typescript -import { - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType, -} from "@vercel/sdk/models/operations/updateproject.js"; - -let value: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = - "environment"; -``` - -## Values - -```typescript -"path" | "host" | "method" | "header" | "cookie" | "query" | "ip_address" | "protocol" | "scheme" | "environment" | "region" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md b/docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md deleted file mode 100644 index 570f1df6..00000000 --- a/docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType - -## Example Usage - -```typescript -import { UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType = - "query"; -``` - -## Values - -```typescript -"path" | "host" | "method" | "header" | "cookie" | "query" | "ip_address" | "protocol" | "scheme" | "environment" | "region" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectprojectstype.md b/docs/models/operations/updateprojectprojectstype.md deleted file mode 100644 index 29e94c0a..00000000 --- a/docs/models/operations/updateprojectprojectstype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectProjectsType - -## Example Usage - -```typescript -import { UpdateProjectProjectsType } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectProjectsType = "LAMBDAS"; -``` - -## Values - -```typescript -"LAMBDAS" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectprojectsvalue.md b/docs/models/operations/updateprojectprojectsvalue.md deleted file mode 100644 index b23d6b9c..00000000 --- a/docs/models/operations/updateprojectprojectsvalue.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateProjectProjectsValue - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `operations.UpdateProjectValueProjects2` - -```typescript -const value: operations.UpdateProjectValueProjects2 = {}; -``` - diff --git a/docs/models/operations/updateprojectprotectionbypass.md b/docs/models/operations/updateprojectprotectionbypass.md deleted file mode 100644 index bd1d604f..00000000 --- a/docs/models/operations/updateprojectprotectionbypass.md +++ /dev/null @@ -1,21 +0,0 @@ -# UpdateProjectProtectionBypass - -## Example Usage - -```typescript -import { UpdateProjectProtectionBypass } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectProtectionBypass = { - createdAt: 7186.26, - createdBy: "", - scope: "automation-bypass", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `createdBy` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.UpdateProjectScope](../../models/operations/updateprojectscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectprotectionbypassprotectionbypass.md b/docs/models/operations/updateprojectprotectionbypassprotectionbypass.md deleted file mode 100644 index 5a11009c..00000000 --- a/docs/models/operations/updateprojectprotectionbypassprotectionbypass.md +++ /dev/null @@ -1,21 +0,0 @@ -# UpdateProjectProtectionBypassProtectionBypass - -## Example Usage - -```typescript -import { UpdateProjectProtectionBypassProtectionBypass } from "@vercel/sdk/models/operations/updateprojectprotectionbypass.js"; - -let value: UpdateProjectProtectionBypassProtectionBypass = { - createdAt: 2628.00, - createdBy: "", - scope: "automation-bypass", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `createdBy` | *string* | :heavy_check_mark: | N/A | -| `scope` | [operations.UpdateProjectProtectionBypassScope](../../models/operations/updateprojectprotectionbypassscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectprotectionbypassrequest.md b/docs/models/operations/updateprojectprotectionbypassrequest.md deleted file mode 100644 index 4919ced4..00000000 --- a/docs/models/operations/updateprojectprotectionbypassrequest.md +++ /dev/null @@ -1,20 +0,0 @@ -# UpdateProjectProtectionBypassRequest - -## Example Usage - -```typescript -import { UpdateProjectProtectionBypassRequest } from "@vercel/sdk/models/operations/updateprojectprotectionbypass.js"; - -let value: UpdateProjectProtectionBypassRequest = { - idOrName: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.UpdateProjectProtectionBypassRequestBody](../../models/operations/updateprojectprotectionbypassrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectprotectionbypassresponsebody.md b/docs/models/operations/updateprojectprotectionbypassresponsebody.md deleted file mode 100644 index 83c6fdcd..00000000 --- a/docs/models/operations/updateprojectprotectionbypassresponsebody.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectProtectionBypassResponseBody - -## Example Usage - -```typescript -import { UpdateProjectProtectionBypassResponseBody } from "@vercel/sdk/models/operations/updateprojectprotectionbypass.js"; - -let value: UpdateProjectProtectionBypassResponseBody = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `protectionBypass` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectreadystate.md b/docs/models/operations/updateprojectreadystate.md deleted file mode 100644 index 5fd01b98..00000000 --- a/docs/models/operations/updateprojectreadystate.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectReadyState - -## Example Usage - -```typescript -import { UpdateProjectReadyState } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectReadyState = "CANCELED"; -``` - -## Values - -```typescript -"BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectreadysubstate.md b/docs/models/operations/updateprojectreadysubstate.md deleted file mode 100644 index b00d2cea..00000000 --- a/docs/models/operations/updateprojectreadysubstate.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectReadySubstate - -## Example Usage - -```typescript -import { UpdateProjectReadySubstate } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectReadySubstate = "STAGED"; -``` - -## Values - -```typescript -"STAGED" | "PROMOTED" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectrequest.md b/docs/models/operations/updateprojectrequest.md deleted file mode 100644 index 5dc8cd66..00000000 --- a/docs/models/operations/updateprojectrequest.md +++ /dev/null @@ -1,23 +0,0 @@ -# UpdateProjectRequest - -## Example Usage - -```typescript -import { UpdateProjectRequest } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectRequest = { - idOrName: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB", - requestBody: { - name: "a-project-name", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | -| `requestBody` | [operations.UpdateProjectRequestBody](../../models/operations/updateprojectrequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/updateprojectresourceconfig.md b/docs/models/operations/updateprojectresourceconfig.md deleted file mode 100644 index a36ef310..00000000 --- a/docs/models/operations/updateprojectresourceconfig.md +++ /dev/null @@ -1,18 +0,0 @@ -# UpdateProjectResourceConfig - -## Example Usage - -```typescript -import { UpdateProjectResourceConfig } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectResourceConfig = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `functionDefaultTimeout` | *number* | :heavy_minus_sign: | N/A | -| `functionDefaultMemoryType` | [operations.UpdateProjectFunctionDefaultMemoryType](../../models/operations/updateprojectfunctiondefaultmemorytype.md) | :heavy_minus_sign: | N/A | -| `allowServerlessConcurrency` | *boolean* | :heavy_minus_sign: | N/A | -| `elasticConcurrencyEnabled` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectresponsebody.md b/docs/models/operations/updateprojectresponsebody.md deleted file mode 100644 index cf435c28..00000000 --- a/docs/models/operations/updateprojectresponsebody.md +++ /dev/null @@ -1,146 +0,0 @@ -# UpdateProjectResponseBody - -The project was successfully updated - -## Example Usage - -```typescript -import { UpdateProjectResponseBody } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectResponseBody = { - accountId: "", - crons: { - enabledAt: 8791.73, - disabledAt: 7348.14, - updatedAt: 1764.99, - deploymentId: "", - definitions: [ - { - host: "vercel.com", - path: "/api/crons/sync-something?hello=world", - schedule: "0 0 * * *", - }, - ], - }, - directoryListing: false, - id: "", - latestDeployments: [ - { - id: "", - createdAt: 9391.61, - createdIn: "", - creator: { - email: "Zula.Leuschke@yahoo.com", - uid: "", - username: "Theo_Reilly", - }, - deploymentHostname: "", - name: "", - plan: "hobby", - previewCommentsEnabled: false, - private: false, - readyState: "CANCELED", - type: "LAMBDAS", - url: "https://some-adrenalin.biz/", - userId: "", - }, - ], - name: "", - nodeVersion: "20.x", - targets: { - "key": { - id: "", - createdAt: 5068.63, - createdIn: "", - creator: { - email: "Axel.Wehner@hotmail.com", - uid: "", - username: "Adeline.Quitzon", - }, - deploymentHostname: "", - name: "", - plan: "pro", - previewCommentsEnabled: false, - private: false, - readyState: "ERROR", - type: "LAMBDAS", - url: "https://our-bungalow.biz", - userId: "", - }, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `accountId` | *string* | :heavy_check_mark: | N/A | -| `analytics` | [operations.UpdateProjectAnalytics](../../models/operations/updateprojectanalytics.md) | :heavy_minus_sign: | N/A | -| `speedInsights` | [operations.UpdateProjectSpeedInsights](../../models/operations/updateprojectspeedinsights.md) | :heavy_minus_sign: | N/A | -| `autoExposeSystemEnvs` | *boolean* | :heavy_minus_sign: | N/A | -| `autoAssignCustomDomains` | *boolean* | :heavy_minus_sign: | N/A | -| `autoAssignCustomDomainsUpdatedBy` | *string* | :heavy_minus_sign: | N/A | -| `buildCommand` | *string* | :heavy_minus_sign: | N/A | -| `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | -| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | -| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `customerSupportCodeVisibility` | *boolean* | :heavy_minus_sign: | N/A | -| `crons` | [operations.UpdateProjectCrons](../../models/operations/updateprojectcrons.md) | :heavy_minus_sign: | N/A | -| `dataCache` | [operations.UpdateProjectDataCache](../../models/operations/updateprojectdatacache.md) | :heavy_minus_sign: | N/A | -| `deploymentExpiration` | [operations.UpdateProjectDeploymentExpiration](../../models/operations/updateprojectdeploymentexpiration.md) | :heavy_minus_sign: | N/A | -| `devCommand` | *string* | :heavy_minus_sign: | N/A | -| `directoryListing` | *boolean* | :heavy_check_mark: | N/A | -| `installCommand` | *string* | :heavy_minus_sign: | N/A | -| `env` | [operations.UpdateProjectEnv](../../models/operations/updateprojectenv.md)[] | :heavy_minus_sign: | N/A | -| `customEnvironments` | [operations.UpdateProjectCustomEnvironments](../../models/operations/updateprojectcustomenvironments.md)[] | :heavy_minus_sign: | N/A | -| `framework` | [operations.UpdateProjectProjectsFramework](../../models/operations/updateprojectprojectsframework.md) | :heavy_minus_sign: | N/A | -| `gitForkProtection` | *boolean* | :heavy_minus_sign: | N/A | -| `gitLFS` | *boolean* | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `ipBuckets` | [operations.UpdateProjectIpBuckets](../../models/operations/updateprojectipbuckets.md)[] | :heavy_minus_sign: | N/A | -| `latestDeployments` | [operations.UpdateProjectLatestDeployments](../../models/operations/updateprojectlatestdeployments.md)[] | :heavy_minus_sign: | N/A | -| `link` | *operations.UpdateProjectLink* | :heavy_minus_sign: | N/A | -| `microfrontends` | [operations.UpdateProjectMicrofrontends](../../models/operations/updateprojectmicrofrontends.md) | :heavy_minus_sign: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `nodeVersion` | [operations.UpdateProjectProjectsNodeVersion](../../models/operations/updateprojectprojectsnodeversion.md) | :heavy_check_mark: | N/A | -| `optionsAllowlist` | [operations.UpdateProjectOptionsAllowlist](../../models/operations/updateprojectoptionsallowlist.md) | :heavy_minus_sign: | N/A | -| `outputDirectory` | *string* | :heavy_minus_sign: | N/A | -| `passiveConnectConfigurationId` | *string* | :heavy_minus_sign: | N/A | -| `passwordProtection` | [operations.UpdateProjectPasswordProtection](../../models/operations/updateprojectpasswordprotection.md) | :heavy_minus_sign: | N/A | -| `productionDeploymentsFastLane` | *boolean* | :heavy_minus_sign: | N/A | -| `publicSource` | *boolean* | :heavy_minus_sign: | N/A | -| `resourceConfig` | [operations.UpdateProjectResourceConfig](../../models/operations/updateprojectresourceconfig.md) | :heavy_minus_sign: | N/A | -| `rootDirectory` | *string* | :heavy_minus_sign: | N/A | -| `serverlessFunctionRegion` | *string* | :heavy_minus_sign: | N/A | -| `serverlessFunctionZeroConfigFailover` | *boolean* | :heavy_minus_sign: | N/A | -| `skewProtectionBoundaryAt` | *number* | :heavy_minus_sign: | N/A | -| `skewProtectionMaxAge` | *number* | :heavy_minus_sign: | N/A | -| `skipGitConnectDuringLink` | *boolean* | :heavy_minus_sign: | N/A | -| `sourceFilesOutsideRootDirectory` | *boolean* | :heavy_minus_sign: | N/A | -| `enableAffectedProjectsDeployments` | *boolean* | :heavy_minus_sign: | N/A | -| `ssoProtection` | [operations.UpdateProjectSsoProtection](../../models/operations/updateprojectssoprotection.md) | :heavy_minus_sign: | N/A | -| `targets` | Record | :heavy_minus_sign: | N/A | -| `transferCompletedAt` | *number* | :heavy_minus_sign: | N/A | -| `transferStartedAt` | *number* | :heavy_minus_sign: | N/A | -| `transferToAccountId` | *string* | :heavy_minus_sign: | N/A | -| `transferredFromAccountId` | *string* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_minus_sign: | N/A | -| `live` | *boolean* | :heavy_minus_sign: | N/A | -| `enablePreviewFeedback` | *boolean* | :heavy_minus_sign: | N/A | -| `enableProductionFeedback` | *boolean* | :heavy_minus_sign: | N/A | -| `permissions` | [operations.UpdateProjectPermissions](../../models/operations/updateprojectpermissions.md) | :heavy_minus_sign: | N/A | -| `lastRollbackTarget` | [operations.UpdateProjectLastRollbackTarget](../../models/operations/updateprojectlastrollbacktarget.md) | :heavy_minus_sign: | N/A | -| `lastAliasRequest` | [operations.UpdateProjectLastAliasRequest](../../models/operations/updateprojectlastaliasrequest.md) | :heavy_minus_sign: | N/A | -| `hasFloatingAliases` | *boolean* | :heavy_minus_sign: | N/A | -| `protectionBypass` | Record | :heavy_minus_sign: | N/A | -| `hasActiveBranches` | *boolean* | :heavy_minus_sign: | N/A | -| `trustedIps` | *operations.UpdateProjectTrustedIps* | :heavy_minus_sign: | N/A | -| `gitComments` | [operations.UpdateProjectGitComments](../../models/operations/updateprojectgitcomments.md) | :heavy_minus_sign: | N/A | -| `paused` | *boolean* | :heavy_minus_sign: | N/A | -| `concurrencyBucketName` | *string* | :heavy_minus_sign: | N/A | -| `webAnalytics` | [operations.UpdateProjectWebAnalytics](../../models/operations/updateprojectwebanalytics.md) | :heavy_minus_sign: | N/A | -| `security` | [operations.UpdateProjectSecurity](../../models/operations/updateprojectsecurity.md) | :heavy_minus_sign: | N/A | -| `oidcTokenConfig` | [operations.UpdateProjectProjectsOidcTokenConfig](../../models/operations/updateprojectprojectsoidctokenconfig.md) | :heavy_minus_sign: | N/A | -| `tier` | [operations.UpdateProjectTier](../../models/operations/updateprojecttier.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectscope.md b/docs/models/operations/updateprojectscope.md deleted file mode 100644 index 4cd564a0..00000000 --- a/docs/models/operations/updateprojectscope.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectScope - -## Example Usage - -```typescript -import { UpdateProjectScope } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectScope = "automation-bypass"; -``` - -## Values - -```typescript -"automation-bypass" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectsecurity.md b/docs/models/operations/updateprojectsecurity.md deleted file mode 100644 index 8b2cfb2a..00000000 --- a/docs/models/operations/updateprojectsecurity.md +++ /dev/null @@ -1,25 +0,0 @@ -# UpdateProjectSecurity - -## Example Usage - -```typescript -import { UpdateProjectSecurity } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectSecurity = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `attackModeEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `attackModeUpdatedAt` | *number* | :heavy_minus_sign: | N/A | -| `firewallEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `firewallUpdatedAt` | *number* | :heavy_minus_sign: | N/A | -| `attackModeActiveUntil` | *number* | :heavy_minus_sign: | N/A | -| `firewallConfigVersion` | *number* | :heavy_minus_sign: | N/A | -| `firewallRoutes` | [operations.UpdateProjectFirewallRoutes](../../models/operations/updateprojectfirewallroutes.md)[] | :heavy_minus_sign: | N/A | -| `firewallSeawallEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `ja3Enabled` | *boolean* | :heavy_minus_sign: | N/A | -| `ja4Enabled` | *boolean* | :heavy_minus_sign: | N/A | -| `firewallBypassIps` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectsrc.md b/docs/models/operations/updateprojectsrc.md deleted file mode 100644 index 6fc104b0..00000000 --- a/docs/models/operations/updateprojectsrc.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateProjectSrc - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `operations.UpdateProjectSrc2` - -```typescript -const value: operations.UpdateProjectSrc2 = {}; -``` - diff --git a/docs/models/operations/updateprojectssoprotection.md b/docs/models/operations/updateprojectssoprotection.md deleted file mode 100644 index aabced39..00000000 --- a/docs/models/operations/updateprojectssoprotection.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateProjectSsoProtection - -## Example Usage - -```typescript -import { UpdateProjectSsoProtection } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectSsoProtection = { - deploymentType: "all", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `deploymentType` | [operations.UpdateProjectProjectsResponseDeploymentType](../../models/operations/updateprojectprojectsresponsedeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojecttarget.md b/docs/models/operations/updateprojecttarget.md deleted file mode 100644 index f1922273..00000000 --- a/docs/models/operations/updateprojecttarget.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateProjectTarget - - -## Supported Types - -### `string[]` - -```typescript -const value: string[] = [ - "", -]; -``` - -### `operations.UpdateProjectTarget2` - -```typescript -const value: operations.UpdateProjectTarget2 = "development"; -``` - diff --git a/docs/models/operations/updateprojecttarget2.md b/docs/models/operations/updateprojecttarget2.md deleted file mode 100644 index c2caca88..00000000 --- a/docs/models/operations/updateprojecttarget2.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectTarget2 - -## Example Usage - -```typescript -import { UpdateProjectTarget2 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectTarget2 = "production"; -``` - -## Values - -```typescript -"production" | "preview" | "development" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojecttargets.md b/docs/models/operations/updateprojecttargets.md deleted file mode 100644 index 8c1f28b1..00000000 --- a/docs/models/operations/updateprojecttargets.md +++ /dev/null @@ -1,68 +0,0 @@ -# UpdateProjectTargets - -## Example Usage - -```typescript -import { UpdateProjectTargets } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectTargets = { - id: "", - createdAt: 5173.26, - createdIn: "", - creator: { - email: "Stephanie3@yahoo.com", - uid: "", - username: "Curt.Baumbach", - }, - deploymentHostname: "", - name: "", - plan: "hobby", - previewCommentsEnabled: false, - private: false, - readyState: "ERROR", - type: "LAMBDAS", - url: "https://gracious-silk.com/", - userId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | | -| `alias` | *string*[] | :heavy_minus_sign: | N/A | | -| `aliasAssigned` | *operations.UpdateProjectProjectsAliasAssigned* | :heavy_minus_sign: | N/A | | -| `aliasError` | [operations.UpdateProjectProjectsAliasError](../../models/operations/updateprojectprojectsaliaserror.md) | :heavy_minus_sign: | N/A | | -| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | -| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | -| `branchMatcher` | [operations.UpdateProjectProjectsBranchMatcher](../../models/operations/updateprojectprojectsbranchmatcher.md) | :heavy_minus_sign: | N/A | | -| `buildingAt` | *number* | :heavy_minus_sign: | N/A | | -| `builds` | [operations.UpdateProjectProjectsBuilds](../../models/operations/updateprojectprojectsbuilds.md)[] | :heavy_minus_sign: | N/A | | -| `checksConclusion` | [operations.UpdateProjectProjectsChecksConclusion](../../models/operations/updateprojectprojectschecksconclusion.md) | :heavy_minus_sign: | N/A | | -| `checksState` | [operations.UpdateProjectProjectsChecksState](../../models/operations/updateprojectprojectschecksstate.md) | :heavy_minus_sign: | N/A | | -| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | -| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | -| `createdAt` | *number* | :heavy_check_mark: | N/A | | -| `createdIn` | *string* | :heavy_check_mark: | N/A | | -| `creator` | [operations.UpdateProjectProjectsCreator](../../models/operations/updateprojectprojectscreator.md) | :heavy_check_mark: | N/A | | -| `deletedAt` | *number* | :heavy_minus_sign: | N/A | | -| `deploymentHostname` | *string* | :heavy_check_mark: | N/A | | -| `forced` | *boolean* | :heavy_minus_sign: | N/A | | -| `name` | *string* | :heavy_check_mark: | N/A | | -| `meta` | Record | :heavy_minus_sign: | N/A | | -| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | -| `oidcTokenClaims` | [operations.UpdateProjectProjectsOidcTokenClaims](../../models/operations/updateprojectprojectsoidctokenclaims.md) | :heavy_minus_sign: | N/A | | -| `plan` | [operations.UpdateProjectProjectsPlan](../../models/operations/updateprojectprojectsplan.md) | :heavy_check_mark: | N/A | | -| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | -| `private` | *boolean* | :heavy_check_mark: | N/A | | -| `readyAt` | *number* | :heavy_minus_sign: | N/A | | -| `readyState` | [operations.UpdateProjectProjectsReadyState](../../models/operations/updateprojectprojectsreadystate.md) | :heavy_check_mark: | N/A | | -| `readySubstate` | [operations.UpdateProjectProjectsReadySubstate](../../models/operations/updateprojectprojectsreadysubstate.md) | :heavy_minus_sign: | N/A | | -| `requestedAt` | *number* | :heavy_minus_sign: | N/A | | -| `target` | *string* | :heavy_minus_sign: | N/A | | -| `teamId` | *string* | :heavy_minus_sign: | N/A | | -| `type` | [operations.UpdateProjectProjectsResponseType](../../models/operations/updateprojectprojectsresponsetype.md) | :heavy_check_mark: | N/A | | -| `url` | *string* | :heavy_check_mark: | N/A | | -| `userId` | *string* | :heavy_check_mark: | N/A | | -| `withCache` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/updateprojecttier.md b/docs/models/operations/updateprojecttier.md deleted file mode 100644 index 3253e577..00000000 --- a/docs/models/operations/updateprojecttier.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectTier - -## Example Usage - -```typescript -import { UpdateProjectTier } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectTier = "standard"; -``` - -## Values - -```typescript -"standard" | "advanced" | "critical" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojecttrustedips.md b/docs/models/operations/updateprojecttrustedips.md deleted file mode 100644 index 6382ea0c..00000000 --- a/docs/models/operations/updateprojecttrustedips.md +++ /dev/null @@ -1,27 +0,0 @@ -# UpdateProjectTrustedIps - - -## Supported Types - -### `operations.UpdateProjectTrustedIps1` - -```typescript -const value: operations.UpdateProjectTrustedIps1 = { - deploymentType: "preview", - addresses: [ - { - value: "", - }, - ], - protectionMode: "additional", -}; -``` - -### `operations.UpdateProjectTrustedIps2` - -```typescript -const value: operations.UpdateProjectTrustedIps2 = { - deploymentType: "preview", -}; -``` - diff --git a/docs/models/operations/updateprojecttrustedips1.md b/docs/models/operations/updateprojecttrustedips1.md deleted file mode 100644 index 33aaf6fa..00000000 --- a/docs/models/operations/updateprojecttrustedips1.md +++ /dev/null @@ -1,25 +0,0 @@ -# UpdateProjectTrustedIps1 - -## Example Usage - -```typescript -import { UpdateProjectTrustedIps1 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectTrustedIps1 = { - deploymentType: "prod_deployment_urls_and_all_previews", - addresses: [ - { - value: "", - }, - ], - protectionMode: "additional", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `deploymentType` | [operations.UpdateProjectTrustedIpsDeploymentType](../../models/operations/updateprojecttrustedipsdeploymenttype.md) | :heavy_check_mark: | N/A | -| `addresses` | [operations.UpdateProjectTrustedIpsAddresses](../../models/operations/updateprojecttrustedipsaddresses.md)[] | :heavy_check_mark: | N/A | -| `protectionMode` | [operations.UpdateProjectTrustedIpsProtectionMode](../../models/operations/updateprojecttrustedipsprotectionmode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojecttrustedips2.md b/docs/models/operations/updateprojecttrustedips2.md deleted file mode 100644 index a4385f2b..00000000 --- a/docs/models/operations/updateprojecttrustedips2.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateProjectTrustedIps2 - -## Example Usage - -```typescript -import { UpdateProjectTrustedIps2 } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectTrustedIps2 = { - deploymentType: "all", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `deploymentType` | [operations.UpdateProjectTrustedIpsProjectsDeploymentType](../../models/operations/updateprojecttrustedipsprojectsdeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojecttype.md b/docs/models/operations/updateprojecttype.md deleted file mode 100644 index 97951335..00000000 --- a/docs/models/operations/updateprojecttype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateProjectType - -## Example Usage - -```typescript -import { UpdateProjectType } from "@vercel/sdk/models/operations/updateproject.js"; - -let value: UpdateProjectType = "system"; -``` - -## Values - -```typescript -"system" | "encrypted" | "plain" | "sensitive" | "secret" -``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectvalue.md b/docs/models/operations/updateprojectvalue.md deleted file mode 100644 index fb03a75c..00000000 --- a/docs/models/operations/updateprojectvalue.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateProjectValue - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `operations.UpdateProjectValue2` - -```typescript -const value: operations.UpdateProjectValue2 = {}; -``` - diff --git a/docs/models/operations/updaterecorddnstype.md b/docs/models/operations/updaterecorddnstype.md deleted file mode 100644 index ef7ee429..00000000 --- a/docs/models/operations/updaterecorddnstype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpdateRecordDnsType - -## Example Usage - -```typescript -import { UpdateRecordDnsType } from "@vercel/sdk/models/operations/updaterecord.js"; - -let value: UpdateRecordDnsType = "record"; -``` - -## Values - -```typescript -"record" | "record-sys" -``` \ No newline at end of file diff --git a/docs/models/operations/updaterecordrequest.md b/docs/models/operations/updaterecordrequest.md deleted file mode 100644 index b032909b..00000000 --- a/docs/models/operations/updaterecordrequest.md +++ /dev/null @@ -1,37 +0,0 @@ -# UpdateRecordRequest - -## Example Usage - -```typescript -import { UpdateRecordRequest } from "@vercel/sdk/models/operations/updaterecord.js"; - -let value: UpdateRecordRequest = { - recordId: "rec_2qn7pzrx89yxy34vezpd31y9", - requestBody: { - name: "example-1", - value: "google.com", - type: "A", - ttl: 60, - srv: { - target: "example2.com.", - weight: 898826, - port: 38451, - priority: 588158, - }, - https: { - priority: 34267, - target: "example2.com.", - }, - comment: "used to verify ownership of domain", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `recordId` | *string* | :heavy_check_mark: | The id of the DNS record | rec_2qn7pzrx89yxy34vezpd31y9 | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | -| `requestBody` | [operations.UpdateRecordRequestBody](../../models/operations/updaterecordrequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/updaterecordrequestbody.md b/docs/models/operations/updaterecordrequestbody.md deleted file mode 100644 index b89afad1..00000000 --- a/docs/models/operations/updaterecordrequestbody.md +++ /dev/null @@ -1,38 +0,0 @@ -# UpdateRecordRequestBody - -## Example Usage - -```typescript -import { UpdateRecordRequestBody } from "@vercel/sdk/models/operations/updaterecord.js"; - -let value: UpdateRecordRequestBody = { - name: "example-1", - value: "google.com", - type: "A", - ttl: 60, - srv: { - target: "example2.com.", - weight: 768920, - port: 56136, - priority: 720319, - }, - https: { - priority: 979011, - target: "example2.com.", - }, - comment: "used to verify ownership of domain", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `name` | *string* | :heavy_minus_sign: | The name of the DNS record | example-1 | -| `value` | *string* | :heavy_minus_sign: | The value of the DNS record | google.com | -| `type` | [operations.UpdateRecordType](../../models/operations/updaterecordtype.md) | :heavy_minus_sign: | The type of the DNS record | A | -| `ttl` | *number* | :heavy_minus_sign: | The Time to live (TTL) value of the DNS record | 60 | -| `mxPriority` | *number* | :heavy_minus_sign: | The MX priority value of the DNS record | | -| `srv` | [operations.Srv](../../models/operations/srv.md) | :heavy_minus_sign: | N/A | | -| `https` | [operations.Https](../../models/operations/https.md) | :heavy_minus_sign: | N/A | | -| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/operations/updaterecordresponsebody.md b/docs/models/operations/updaterecordresponsebody.md deleted file mode 100644 index deda1847..00000000 --- a/docs/models/operations/updaterecordresponsebody.md +++ /dev/null @@ -1,32 +0,0 @@ -# UpdateRecordResponseBody - -## Example Usage - -```typescript -import { UpdateRecordResponseBody } from "@vercel/sdk/models/operations/updaterecord.js"; - -let value: UpdateRecordResponseBody = { - creator: "", - domain: "shrill-slime.info", - id: "", - name: "", - recordType: "AAAA", - type: "record", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `creator` | *string* | :heavy_check_mark: | N/A | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `recordType` | [operations.RecordType](../../models/operations/recordtype.md) | :heavy_check_mark: | N/A | -| `ttl` | *number* | :heavy_minus_sign: | N/A | -| `type` | [operations.UpdateRecordDnsType](../../models/operations/updaterecorddnstype.md) | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `comment` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updaterecordtype.md b/docs/models/operations/updaterecordtype.md deleted file mode 100644 index 5b83b84e..00000000 --- a/docs/models/operations/updaterecordtype.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateRecordType - -The type of the DNS record - -## Example Usage - -```typescript -import { UpdateRecordType } from "@vercel/sdk/models/operations/updaterecord.js"; - -let value: UpdateRecordType = "A"; -``` - -## Values - -```typescript -"A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "HTTPS" | "MX" | "SRV" | "TXT" | "NS" -``` \ No newline at end of file diff --git a/docs/models/operations/updateresourcesecretsrequest.md b/docs/models/operations/updateresourcesecretsrequest.md deleted file mode 100644 index dbc3684c..00000000 --- a/docs/models/operations/updateresourcesecretsrequest.md +++ /dev/null @@ -1,22 +0,0 @@ -# UpdateResourceSecretsRequest - -## Example Usage - -```typescript -import { UpdateResourceSecretsRequest } from "@vercel/sdk/models/operations/updateresourcesecrets.js"; - -let value: UpdateResourceSecretsRequest = { - integrationConfigurationId: "", - integrationProductIdOrSlug: "", - resourceId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductIdOrSlug` | *string* | :heavy_check_mark: | N/A | -| `resourceId` | *string* | :heavy_check_mark: | N/A | -| `requestBody` | [operations.UpdateResourceSecretsRequestBody](../../models/operations/updateresourcesecretsrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateresourcesecretsrequestbody.md b/docs/models/operations/updateresourcesecretsrequestbody.md deleted file mode 100644 index dc84fbfb..00000000 --- a/docs/models/operations/updateresourcesecretsrequestbody.md +++ /dev/null @@ -1,22 +0,0 @@ -# UpdateResourceSecretsRequestBody - -## Example Usage - -```typescript -import { UpdateResourceSecretsRequestBody } from "@vercel/sdk/models/operations/updateresourcesecrets.js"; - -let value: UpdateResourceSecretsRequestBody = { - secrets: [ - { - name: "", - value: "", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `secrets` | [operations.Secrets](../../models/operations/secrets.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateteammemberrequest.md b/docs/models/operations/updateteammemberrequest.md deleted file mode 100644 index ed7e9633..00000000 --- a/docs/models/operations/updateteammemberrequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# UpdateTeamMemberRequest - -## Example Usage - -```typescript -import { UpdateTeamMemberRequest } from "@vercel/sdk/models/operations/updateteammember.js"; - -let value: UpdateTeamMemberRequest = { - uid: "ndfasllgPyCtREAqxxdyFKb", - teamId: "", - requestBody: { - confirmed: true, - role: "[\"MEMBER\",\"VIEWER\"]", - projects: [ - { - projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", - role: "ADMIN", - }, - ], - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `uid` | *string* | :heavy_check_mark: | The ID of the member. | ndfasllgPyCtREAqxxdyFKb | -| `teamId` | *string* | :heavy_check_mark: | N/A | | -| `requestBody` | [operations.UpdateTeamMemberRequestBody](../../models/operations/updateteammemberrequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/updateteammemberrequestbody.md b/docs/models/operations/updateteammemberrequestbody.md deleted file mode 100644 index 50acb545..00000000 --- a/docs/models/operations/updateteammemberrequestbody.md +++ /dev/null @@ -1,27 +0,0 @@ -# UpdateTeamMemberRequestBody - -## Example Usage - -```typescript -import { UpdateTeamMemberRequestBody } from "@vercel/sdk/models/operations/updateteammember.js"; - -let value: UpdateTeamMemberRequestBody = { - confirmed: true, - role: "[\"MEMBER\",\"VIEWER\"]", - projects: [ - { - projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", - role: "ADMIN", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `confirmed` | *boolean* | :heavy_minus_sign: | Accept a user who requested access to the team. | true | -| `role` | *string* | :heavy_minus_sign: | The role in the team of the member. | [
"MEMBER",
"VIEWER"
] | -| `projects` | [operations.UpdateTeamMemberProjects](../../models/operations/updateteammemberprojects.md)[] | :heavy_minus_sign: | N/A | | -| `joinedFrom` | [operations.UpdateTeamMemberJoinedFrom](../../models/operations/updateteammemberjoinedfrom.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/uploadcertrequest.md b/docs/models/operations/uploadcertrequest.md deleted file mode 100644 index fbdfbea8..00000000 --- a/docs/models/operations/uploadcertrequest.md +++ /dev/null @@ -1,17 +0,0 @@ -# UploadCertRequest - -## Example Usage - -```typescript -import { UploadCertRequest } from "@vercel/sdk/models/operations/uploadcert.js"; - -let value: UploadCertRequest = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | [operations.UploadCertRequestBody](../../models/operations/uploadcertrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/uploadfileresponsebody.md b/docs/models/operations/uploadfileresponsebody.md deleted file mode 100644 index b4e6eed4..00000000 --- a/docs/models/operations/uploadfileresponsebody.md +++ /dev/null @@ -1,24 +0,0 @@ -# UploadFileResponseBody - -File already uploaded -File successfully uploaded - - -## Supported Types - -### `operations.UploadFileResponseBody1` - -```typescript -const value: operations.UploadFileResponseBody1 = { - urls: [ - "example-upload.aws.com", - ], -}; -``` - -### `operations.UploadFileResponseBody2` - -```typescript -const value: operations.UploadFileResponseBody2 = {}; -``` - diff --git a/docs/models/operations/uploadfileresponsebody2.md b/docs/models/operations/uploadfileresponsebody2.md deleted file mode 100644 index 79a32a5e..00000000 --- a/docs/models/operations/uploadfileresponsebody2.md +++ /dev/null @@ -1,14 +0,0 @@ -# UploadFileResponseBody2 - -## Example Usage - -```typescript -import { UploadFileResponseBody2 } from "@vercel/sdk/models/operations/uploadfile.js"; - -let value: UploadFileResponseBody2 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/verified.md b/docs/models/operations/verified.md deleted file mode 100644 index 8e056bd4..00000000 --- a/docs/models/operations/verified.md +++ /dev/null @@ -1,17 +0,0 @@ -# Verified - -Filters domains based on their verification status. - -## Example Usage - -```typescript -import { Verified } from "@vercel/sdk/models/operations/getprojectdomains.js"; - -let value: Verified = "true"; -``` - -## Values - -```typescript -"true" | "false" -``` \ No newline at end of file diff --git a/docs/models/operations/view.md b/docs/models/operations/view.md deleted file mode 100644 index 28f4bfce..00000000 --- a/docs/models/operations/view.md +++ /dev/null @@ -1,15 +0,0 @@ -# View - -## Example Usage - -```typescript -import { View } from "@vercel/sdk/models/operations/getconfigurations.js"; - -let value: View = "project"; -``` - -## Values - -```typescript -"account" | "project" -``` \ No newline at end of file diff --git a/docs/models/operations/virtualexperiencescore.md b/docs/models/operations/virtualexperiencescore.md deleted file mode 100644 index 76a4ff23..00000000 --- a/docs/models/operations/virtualexperiencescore.md +++ /dev/null @@ -1,21 +0,0 @@ -# VirtualExperienceScore - -## Example Usage - -```typescript -import { VirtualExperienceScore } from "@vercel/sdk/models/operations/updatecheck.js"; - -let value: VirtualExperienceScore = { - value: 30, - previousValue: 35, - source: "web-vitals", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *number* | :heavy_check_mark: | The calculated Virtual Experience Score value, between 0 and 100 | 30 | -| `previousValue` | *number* | :heavy_minus_sign: | A previous Virtual Experience Score value to display a delta, between 0 and 100 | 35 | -| `source` | [operations.UpdateCheckChecksRequestRequestBodyOutputSource](../../models/operations/updatecheckchecksrequestrequestbodyoutputsource.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/webanalytics.md b/docs/models/operations/webanalytics.md deleted file mode 100644 index 7d98cf3e..00000000 --- a/docs/models/operations/webanalytics.md +++ /dev/null @@ -1,21 +0,0 @@ -# WebAnalytics - -## Example Usage - -```typescript -import { WebAnalytics } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; - -let value: WebAnalytics = { - id: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `disabledAt` | *number* | :heavy_minus_sign: | N/A | -| `canceledAt` | *number* | :heavy_minus_sign: | N/A | -| `enabledAt` | *number* | :heavy_minus_sign: | N/A | -| `hasData` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/xss.md b/docs/models/operations/xss.md deleted file mode 100644 index c88117e1..00000000 --- a/docs/models/operations/xss.md +++ /dev/null @@ -1,19 +0,0 @@ -# Xss - -## Example Usage - -```typescript -import { Xss } from "@vercel/sdk/models/operations/putfirewallconfig.js"; - -let value: Xss = { - active: false, - action: "log", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityRequestRequestBodyCrsXssAction](../../models/operations/putfirewallconfigsecurityrequestrequestbodycrsxssaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/options.md b/docs/models/options.md new file mode 100644 index 00000000..f4d260e3 --- /dev/null +++ b/docs/models/options.md @@ -0,0 +1,18 @@ +# Options + +## Example Usage + +```typescript +import { Options } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: Options = { + value: [], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `value` | *models.FlagJSONValue* | :heavy_check_mark: | N/A | +| `label` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/optionsallowlist.md b/docs/models/optionsallowlist.md new file mode 100644 index 00000000..3267180e --- /dev/null +++ b/docs/models/optionsallowlist.md @@ -0,0 +1,23 @@ +# OptionsAllowlist + +Specify a list of paths that should not be protected by Deployment Protection to enable Cors preflight requests + +## Example Usage + +```typescript +import { OptionsAllowlist } from "@vercel/sdk/models/updateprojectop.js"; + +let value: OptionsAllowlist = { + paths: [ + { + value: "", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `paths` | [models.Paths](../models/paths.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/order.md b/docs/models/order.md new file mode 100644 index 00000000..157cfb60 --- /dev/null +++ b/docs/models/order.md @@ -0,0 +1,17 @@ +# Order + +Domains sort order by createdAt + +## Example Usage + +```typescript +import { Order } from "@vercel/sdk/models/getprojectdomainsop.js"; + +let value: Order = "ASC"; +``` + +## Values + +```typescript +"ASC" | "DESC" +``` \ No newline at end of file diff --git a/docs/models/origin.md b/docs/models/origin.md new file mode 100644 index 00000000..b795f82e --- /dev/null +++ b/docs/models/origin.md @@ -0,0 +1,15 @@ +# Origin + +## Example Usage + +```typescript +import { Origin } from "@vercel/sdk/models/teamlimited.js"; + +let value: Origin = "bitbucket"; +``` + +## Values + +```typescript +"link" | "saml" | "github" | "gitlab" | "bitbucket" | "mail" | "import" | "teams" | "dsync" | "feedback" | "organization-teams" +``` \ No newline at end of file diff --git a/docs/models/output.md b/docs/models/output.md new file mode 100644 index 00000000..b4a317e8 --- /dev/null +++ b/docs/models/output.md @@ -0,0 +1,45 @@ +# Output + +The results of the check Run + +## Example Usage + +```typescript +import { Output } from "@vercel/sdk/models/updatecheckop.js"; + +let value: Output = { + metrics: { + fcp: { + value: 1200, + previousValue: 900, + source: "web-vitals", + }, + lcp: { + value: 1200, + previousValue: 1000, + source: "web-vitals", + }, + cls: { + value: 4, + previousValue: 2, + source: "web-vitals", + }, + tbt: { + value: 3000, + previousValue: 3500, + source: "web-vitals", + }, + virtualExperienceScore: { + value: 30, + previousValue: 35, + source: "web-vitals", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `metrics` | [models.Metrics](../models/metrics.md) | :heavy_minus_sign: | Metrics about the page | \ No newline at end of file diff --git a/docs/models/operations/owasp.md b/docs/models/owasp.md similarity index 82% rename from docs/models/operations/owasp.md rename to docs/models/owasp.md index 14665503..b5648d26 100644 --- a/docs/models/operations/owasp.md +++ b/docs/models/owasp.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Owasp } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { Owasp } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: Owasp = { active: false, diff --git a/docs/models/owner.md b/docs/models/owner.md new file mode 100644 index 00000000..9e043c79 --- /dev/null +++ b/docs/models/owner.md @@ -0,0 +1,19 @@ +# Owner + +## Example Usage + +```typescript +import { Owner } from "@vercel/sdk/models/searchrepoop.js"; + +let value: Owner = { + id: "", + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `id` | *models.SearchRepoResponseBodyId* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ownertype.md b/docs/models/ownertype.md new file mode 100644 index 00000000..27931f42 --- /dev/null +++ b/docs/models/ownertype.md @@ -0,0 +1,15 @@ +# OwnerType + +## Example Usage + +```typescript +import { OwnerType } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: OwnerType = "user"; +``` + +## Values + +```typescript +"team" | "user" +``` \ No newline at end of file diff --git a/docs/models/pagination.md b/docs/models/pagination.md new file mode 100644 index 00000000..3afc21e8 --- /dev/null +++ b/docs/models/pagination.md @@ -0,0 +1,23 @@ +# Pagination + +This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. + +## Example Usage + +```typescript +import { Pagination } from "@vercel/sdk/models/pagination.js"; + +let value: Pagination = { + count: 20, + next: 1540095775951, + prev: 1540095775951, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `count` | *number* | :heavy_check_mark: | Amount of items in the current page. | 20 | +| `next` | *number* | :heavy_check_mark: | Timestamp that must be used to request the next page. | 1540095775951 | +| `prev` | *number* | :heavy_check_mark: | Timestamp that must be used to request the previous page. | 1540095775951 | \ No newline at end of file diff --git a/docs/models/operations/passwordprotection.md b/docs/models/passwordprotection.md similarity index 86% rename from docs/models/operations/passwordprotection.md rename to docs/models/passwordprotection.md index e49441bd..eef6bd60 100644 --- a/docs/models/operations/passwordprotection.md +++ b/docs/models/passwordprotection.md @@ -5,7 +5,7 @@ Allows to protect project deployments with a password ## Example Usage ```typescript -import { PasswordProtection } from "@vercel/sdk/models/operations/updateproject.js"; +import { PasswordProtection } from "@vercel/sdk/models/updateprojectop.js"; let value: PasswordProtection = { deploymentType: "preview", @@ -16,5 +16,5 @@ let value: PasswordProtection = { | Field | Type | Required | Description | | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `deploymentType` | [operations.DeploymentType](../../models/operations/deploymenttype.md) | :heavy_check_mark: | Specify if the password will apply to every Deployment Target or just Preview | +| `deploymentType` | [models.DeploymentType](../models/deploymenttype.md) | :heavy_check_mark: | Specify if the password will apply to every Deployment Target or just Preview | | `password` | *string* | :heavy_minus_sign: | The password that will be used to protect Project Deployments | \ No newline at end of file diff --git a/docs/models/operations/patchdomainrequest.md b/docs/models/patchdomainrequest.md similarity index 82% rename from docs/models/operations/patchdomainrequest.md rename to docs/models/patchdomainrequest.md index c6226fc9..82bcd8ea 100644 --- a/docs/models/operations/patchdomainrequest.md +++ b/docs/models/patchdomainrequest.md @@ -3,10 +3,10 @@ ## Example Usage ```typescript -import { PatchDomainRequest } from "@vercel/sdk/models/operations/patchdomain.js"; +import { PatchDomainRequest } from "@vercel/sdk/models/patchdomainop.js"; let value: PatchDomainRequest = { - domain: "steel-march.org", + domain: "discrete-habit.name", requestBody: { op: "move-out", }, @@ -20,4 +20,4 @@ let value: PatchDomainRequest = { | `domain` | *string* | :heavy_check_mark: | N/A | | `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | *operations.PatchDomainRequestBody* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `requestBody` | *models.PatchDomainRequestBody* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/patchdomainrequestbody.md b/docs/models/patchdomainrequestbody.md new file mode 100644 index 00000000..057fafda --- /dev/null +++ b/docs/models/patchdomainrequestbody.md @@ -0,0 +1,21 @@ +# PatchDomainRequestBody + + +## Supported Types + +### `models.PatchDomainRequestBody1` + +```typescript +const value: models.PatchDomainRequestBody1 = { + op: "update", +}; +``` + +### `models.PatchDomainRequestBody2` + +```typescript +const value: models.PatchDomainRequestBody2 = { + op: "move-out", +}; +``` + diff --git a/docs/models/operations/patchdomainrequestbody1.md b/docs/models/patchdomainrequestbody1.md similarity index 96% rename from docs/models/operations/patchdomainrequestbody1.md rename to docs/models/patchdomainrequestbody1.md index 7b52c0fc..6f2b7125 100644 --- a/docs/models/operations/patchdomainrequestbody1.md +++ b/docs/models/patchdomainrequestbody1.md @@ -5,7 +5,7 @@ update ## Example Usage ```typescript -import { PatchDomainRequestBody1 } from "@vercel/sdk/models/operations/patchdomain.js"; +import { PatchDomainRequestBody1 } from "@vercel/sdk/models/patchdomainop.js"; let value: PatchDomainRequestBody1 = { op: "update", diff --git a/docs/models/operations/patchdomainrequestbody2.md b/docs/models/patchdomainrequestbody2.md similarity index 90% rename from docs/models/operations/patchdomainrequestbody2.md rename to docs/models/patchdomainrequestbody2.md index f9d94d4b..1a580d5f 100644 --- a/docs/models/operations/patchdomainrequestbody2.md +++ b/docs/models/patchdomainrequestbody2.md @@ -5,7 +5,7 @@ move-out ## Example Usage ```typescript -import { PatchDomainRequestBody2 } from "@vercel/sdk/models/operations/patchdomain.js"; +import { PatchDomainRequestBody2 } from "@vercel/sdk/models/patchdomainop.js"; let value: PatchDomainRequestBody2 = { op: "move-out", diff --git a/docs/models/patchdomainresponsebody.md b/docs/models/patchdomainresponsebody.md new file mode 100644 index 00000000..f096d00e --- /dev/null +++ b/docs/models/patchdomainresponsebody.md @@ -0,0 +1,28 @@ +# PatchDomainResponseBody + + +## Supported Types + +### `models.PatchDomainResponseBody1` + +```typescript +const value: models.PatchDomainResponseBody1 = { + moved: false, +}; +``` + +### `models.PatchDomainResponseBody2` + +```typescript +const value: models.PatchDomainResponseBody2 = { + moved: false, + token: "", +}; +``` + +### `models.PatchDomainResponseBody3` + +```typescript +const value: models.PatchDomainResponseBody3 = {}; +``` + diff --git a/docs/models/operations/patchdomainresponsebody1.md b/docs/models/patchdomainresponsebody1.md similarity index 81% rename from docs/models/operations/patchdomainresponsebody1.md rename to docs/models/patchdomainresponsebody1.md index 58669094..d4395d83 100644 --- a/docs/models/operations/patchdomainresponsebody1.md +++ b/docs/models/patchdomainresponsebody1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PatchDomainResponseBody1 } from "@vercel/sdk/models/operations/patchdomain.js"; +import { PatchDomainResponseBody1 } from "@vercel/sdk/models/patchdomainop.js"; let value: PatchDomainResponseBody1 = { moved: false, diff --git a/docs/models/operations/patchdomainresponsebody2.md b/docs/models/patchdomainresponsebody2.md similarity index 84% rename from docs/models/operations/patchdomainresponsebody2.md rename to docs/models/patchdomainresponsebody2.md index c7f85471..f74fd5e8 100644 --- a/docs/models/operations/patchdomainresponsebody2.md +++ b/docs/models/patchdomainresponsebody2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PatchDomainResponseBody2 } from "@vercel/sdk/models/operations/patchdomain.js"; +import { PatchDomainResponseBody2 } from "@vercel/sdk/models/patchdomainop.js"; let value: PatchDomainResponseBody2 = { moved: false, diff --git a/docs/models/operations/patchdomainresponsebody3.md b/docs/models/patchdomainresponsebody3.md similarity index 86% rename from docs/models/operations/patchdomainresponsebody3.md rename to docs/models/patchdomainresponsebody3.md index 147fa308..0c72d5e6 100644 --- a/docs/models/operations/patchdomainresponsebody3.md +++ b/docs/models/patchdomainresponsebody3.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PatchDomainResponseBody3 } from "@vercel/sdk/models/operations/patchdomain.js"; +import { PatchDomainResponseBody3 } from "@vercel/sdk/models/patchdomainop.js"; let value: PatchDomainResponseBody3 = {}; ``` diff --git a/docs/models/patchedgeconfigschemarequest.md b/docs/models/patchedgeconfigschemarequest.md new file mode 100644 index 00000000..e6f24ab7 --- /dev/null +++ b/docs/models/patchedgeconfigschemarequest.md @@ -0,0 +1,24 @@ +# PatchEdgeConfigSchemaRequest + +## Example Usage + +```typescript +import { PatchEdgeConfigSchemaRequest } from "@vercel/sdk/models/patchedgeconfigschemaop.js"; + +let value: PatchEdgeConfigSchemaRequest = { + edgeConfigId: "", + requestBody: { + definition: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | +| `dryRun` | *string* | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.PatchEdgeConfigSchemaRequestBody](../models/patchedgeconfigschemarequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/patchedgeconfigschemarequestbody.md b/docs/models/patchedgeconfigschemarequestbody.md similarity index 91% rename from docs/models/operations/patchedgeconfigschemarequestbody.md rename to docs/models/patchedgeconfigschemarequestbody.md index c6ae83fe..33b88769 100644 --- a/docs/models/operations/patchedgeconfigschemarequestbody.md +++ b/docs/models/patchedgeconfigschemarequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PatchEdgeConfigSchemaRequestBody } from "@vercel/sdk/models/operations/patchedgeconfigschema.js"; +import { PatchEdgeConfigSchemaRequestBody } from "@vercel/sdk/models/patchedgeconfigschemaop.js"; let value: PatchEdgeConfigSchemaRequestBody = { definition: "", diff --git a/docs/models/operations/patchedgeconfigschemaresponsebody.md b/docs/models/patchedgeconfigschemaresponsebody.md similarity index 88% rename from docs/models/operations/patchedgeconfigschemaresponsebody.md rename to docs/models/patchedgeconfigschemaresponsebody.md index 6fd6d8aa..d6316e31 100644 --- a/docs/models/operations/patchedgeconfigschemaresponsebody.md +++ b/docs/models/patchedgeconfigschemaresponsebody.md @@ -5,7 +5,7 @@ The JSON schema uploaded by the user ## Example Usage ```typescript -import { PatchEdgeConfigSchemaResponseBody } from "@vercel/sdk/models/operations/patchedgeconfigschema.js"; +import { PatchEdgeConfigSchemaResponseBody } from "@vercel/sdk/models/patchedgeconfigschemaop.js"; let value: PatchEdgeConfigSchemaResponseBody = {}; ``` diff --git a/docs/models/patchteamremotecaching.md b/docs/models/patchteamremotecaching.md new file mode 100644 index 00000000..df9e5ca2 --- /dev/null +++ b/docs/models/patchteamremotecaching.md @@ -0,0 +1,19 @@ +# PatchTeamRemoteCaching + +Whether or not remote caching is enabled for the team + +## Example Usage + +```typescript +import { PatchTeamRemoteCaching } from "@vercel/sdk/models/patchteamop.js"; + +let value: PatchTeamRemoteCaching = { + enabled: true, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `enabled` | *boolean* | :heavy_minus_sign: | Enable or disable remote caching for the team. | true | \ No newline at end of file diff --git a/docs/models/patchteamrequest.md b/docs/models/patchteamrequest.md new file mode 100644 index 00000000..27a3b969 --- /dev/null +++ b/docs/models/patchteamrequest.md @@ -0,0 +1,39 @@ +# PatchTeamRequest + +## Example Usage + +```typescript +import { PatchTeamRequest } from "@vercel/sdk/models/patchteamop.js"; + +let value: PatchTeamRequest = { + teamId: "", + requestBody: { + description: + "Our mission is to make cloud computing accessible to everyone", + emailDomain: "example.com", + name: "My Team", + previewDeploymentSuffix: "example.dev", + regenerateInviteCode: true, + saml: { + enforced: true, + }, + slug: "my-team", + enablePreviewFeedback: "on", + enableProductionFeedback: "on", + sensitiveEnvironmentVariablePolicy: "on", + remoteCaching: { + enabled: true, + }, + hideIpAddresses: false, + hideIpAddressesInLogDrains: false, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `teamId` | *string* | :heavy_check_mark: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.PatchTeamRequestBody](../models/patchteamrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/patchteamrequestbody.md b/docs/models/patchteamrequestbody.md similarity index 96% rename from docs/models/operations/patchteamrequestbody.md rename to docs/models/patchteamrequestbody.md index 5e7b0c5c..672572b1 100644 --- a/docs/models/operations/patchteamrequestbody.md +++ b/docs/models/patchteamrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PatchTeamRequestBody } from "@vercel/sdk/models/operations/patchteam.js"; +import { PatchTeamRequestBody } from "@vercel/sdk/models/patchteamop.js"; let value: PatchTeamRequestBody = { description: "Our mission is to make cloud computing accessible to everyone", @@ -36,11 +36,11 @@ let value: PatchTeamRequestBody = { | `name` | *string* | :heavy_minus_sign: | The name of the team. | My Team | | `previewDeploymentSuffix` | *string* | :heavy_minus_sign: | Suffix that will be used for all preview deployments. | example.dev | | `regenerateInviteCode` | *boolean* | :heavy_minus_sign: | Create a new invite code and replace the current one. | true | -| `saml` | [operations.Saml](../../models/operations/saml.md) | :heavy_minus_sign: | N/A | | +| `saml` | [models.PatchTeamSaml](../models/patchteamsaml.md) | :heavy_minus_sign: | N/A | | | `slug` | *string* | :heavy_minus_sign: | A new slug for the team. | my-team | | `enablePreviewFeedback` | *string* | :heavy_minus_sign: | Enable preview toolbar: one of on, off or default. | on | | `enableProductionFeedback` | *string* | :heavy_minus_sign: | Enable production toolbar: one of on, off or default. | on | | `sensitiveEnvironmentVariablePolicy` | *string* | :heavy_minus_sign: | Sensitive environment variable policy: one of on, off or default. | on | -| `remoteCaching` | [operations.RemoteCaching](../../models/operations/remotecaching.md) | :heavy_minus_sign: | Whether or not remote caching is enabled for the team | | +| `remoteCaching` | [models.PatchTeamRemoteCaching](../models/patchteamremotecaching.md) | :heavy_minus_sign: | Whether or not remote caching is enabled for the team | | | `hideIpAddresses` | *boolean* | :heavy_minus_sign: | Display or hide IP addresses in Monitoring queries. | false | | `hideIpAddressesInLogDrains` | *boolean* | :heavy_minus_sign: | Display or hide IP addresses in Log Drains. | false | \ No newline at end of file diff --git a/docs/models/patchteamsaml.md b/docs/models/patchteamsaml.md new file mode 100644 index 00000000..e61e97aa --- /dev/null +++ b/docs/models/patchteamsaml.md @@ -0,0 +1,18 @@ +# PatchTeamSaml + +## Example Usage + +```typescript +import { PatchTeamSaml } from "@vercel/sdk/models/patchteamop.js"; + +let value: PatchTeamSaml = { + enforced: true, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `enforced` | *boolean* | :heavy_minus_sign: | Require that members of the team use SAML Single Sign-On. | true | +| `roles` | Record | :heavy_minus_sign: | Directory groups to role or access group mappings. | | \ No newline at end of file diff --git a/docs/models/operations/paths.md b/docs/models/paths.md similarity index 93% rename from docs/models/operations/paths.md rename to docs/models/paths.md index 8a9ef211..b6e5d189 100644 --- a/docs/models/operations/paths.md +++ b/docs/models/paths.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Paths } from "@vercel/sdk/models/operations/updateproject.js"; +import { Paths } from "@vercel/sdk/models/updateprojectop.js"; let value: Paths = { value: "", diff --git a/docs/models/operations/period.md b/docs/models/period.md similarity index 90% rename from docs/models/operations/period.md rename to docs/models/period.md index f532187e..23b0db8f 100644 --- a/docs/models/operations/period.md +++ b/docs/models/period.md @@ -5,11 +5,11 @@ Period for the billing cycle. ## Example Usage ```typescript -import { Period } from "@vercel/sdk/models/operations/submitbillingdata.js"; +import { Period } from "@vercel/sdk/models/submitbillingdataop.js"; let value: Period = { - start: new Date("2022-07-30T03:06:39.554Z"), - end: new Date("2022-10-24T10:38:09.514Z"), + start: new Date("2023-08-20T03:18:40.071Z"), + end: new Date("2024-12-09T08:09:09.462Z"), }; ``` diff --git a/docs/models/permissions.md b/docs/models/permissions.md new file mode 100644 index 00000000..735ebb03 --- /dev/null +++ b/docs/models/permissions.md @@ -0,0 +1,196 @@ +# Permissions + +## Example Usage + +```typescript +import { Permissions } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: Permissions = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `accessGroup` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `aliasGlobal` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `analyticsSampling` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `analyticsUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `auditLog` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingAddress` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingInformation` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingInvoice` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingInvoiceEmailRecipient` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingInvoiceLanguage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingPlan` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingPurchaseOrder` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingTaxId` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `blob` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `budget` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `cacheArtifact` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `cacheArtifactUsageEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `codeChecks` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `concurrentBuilds` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `connect` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `connectConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domain` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainAcceptDelegation` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainAuthCodes` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainCertificate` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainCheckConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainMove` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainPurchase` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainRecord` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainTransferIn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `event` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `ownEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sensitiveEnvironmentVariablePolicy` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `fileUpload` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `gitRepository` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `ipBlocking` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationAccount` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationProjects` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationVercelConfigurationOverride` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationRole` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResource` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResourceSecrets` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationDeploymentAction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceInstallationMember` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceBillingData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceInvoice` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `jobGlobal` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `logDrain` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoring` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringQuery` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringChart` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDeploymentFailed` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainExpire` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainMoved` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainPurchase` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainRenewal` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainUnverified` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationMonitoringAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationPaymentFailed` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationUsageAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationCustomerBudget` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationStatementOfReasons` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `oauth2Connection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `openTelemetryEndpoint` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `paymentMethod` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `permissions` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `postgres` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `previewDeploymentSuffix` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `proTrialOnboarding` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sharedEnvVars` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sharedEnvVarsProduction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `space` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `spaceRun` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `passwordProtectionInvoiceItem` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `rateLimit` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `redis` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `repository` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `remoteCaching` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `samlConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `secret` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `redisStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `blobStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `postgresStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResourceReplCommand` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `storeTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `supportCase` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `supportCaseComment` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `dataCacheBillingSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `team` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamAccessRequest` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamFellowMembership` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamGitExclusivity` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamInvite` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamInviteCode` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamJoin` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamMicrofrontends` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamOwnMembership` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamOwnMembershipDisconnectSAML` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `token` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `usage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `usageCycle` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `user` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `userConnection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `vpcPeeringConnection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webAnalyticsPlan` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webAuthn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `edgeConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `edgeConfigItem` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `edgeConfigSchema` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `edgeConfigToken` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webhook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webhookEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `endpointVerification` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTransferIn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `oauth2Application` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `aliasProject` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `aliasProtectionBypass` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `productionAliasProtectionBypass` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `connectConfigurationLink` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `dataCacheNamespace` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deployment` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentCheck` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentCheckPreview` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentCheckReRunFromProductionBranch` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentProductionGit` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentV0` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentPreview` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentPrivate` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentPromote` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentRollback` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `environments` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `logs` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `logsPreset` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `passwordProtection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `optionsAllowlist` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `job` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `project` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectFromV0` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectAccessGroup` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectAnalyticsSampling` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDeploymentHook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDomain` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDomainMove` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDomainCheckConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectEnvVars` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectEnvVarsProduction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectEnvVarsUnownedByIntegration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectFlags` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectId` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectIntegrationConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectLink` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectMember` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectMonitoring` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectPermissions` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectProductionBranch` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTransferOut` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectProtectionBypass` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectAnalyticsUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectSupportCase` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectSupportCaseComment` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDeploymentExpiration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTier` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `seawallConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `skewProtection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `analytics` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `trustedIps` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webAnalytics` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sharedEnvVarConnection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sonar` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/php.md b/docs/models/php.md new file mode 100644 index 00000000..f62c42e6 --- /dev/null +++ b/docs/models/php.md @@ -0,0 +1,21 @@ +# Php + +PHP Attack - Safeguard against vulnerability exploits in PHP-based applications. + +## Example Usage + +```typescript +import { Php } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Php = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction](../models/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/plan.md b/docs/models/plan.md new file mode 100644 index 00000000..a629fa77 --- /dev/null +++ b/docs/models/plan.md @@ -0,0 +1,15 @@ +# Plan + +## Example Usage + +```typescript +import { Plan } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: Plan = "hobby"; +``` + +## Values + +```typescript +"pro" | "enterprise" | "hobby" +``` \ No newline at end of file diff --git a/docs/models/preferredscopesandgitnamespaces.md b/docs/models/preferredscopesandgitnamespaces.md new file mode 100644 index 00000000..6f87fccb --- /dev/null +++ b/docs/models/preferredscopesandgitnamespaces.md @@ -0,0 +1,19 @@ +# PreferredScopesAndGitNamespaces + +## Example Usage + +```typescript +import { PreferredScopesAndGitNamespaces } from "@vercel/sdk/models/authuser.js"; + +let value: PreferredScopesAndGitNamespaces = { + scopeId: "", + gitNamespaceId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `scopeId` | *string* | :heavy_check_mark: | N/A | +| `gitNamespaceId` | *models.GitNamespaceId* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/production.md b/docs/models/production.md new file mode 100644 index 00000000..bfc6d92e --- /dev/null +++ b/docs/models/production.md @@ -0,0 +1,17 @@ +# Production + +Filters only production domains when set to `true`. + +## Example Usage + +```typescript +import { Production } from "@vercel/sdk/models/getprojectdomainsop.js"; + +let value: Production = "true"; +``` + +## Values + +```typescript +"true" | "false" +``` \ No newline at end of file diff --git a/docs/models/operations/project.md b/docs/models/project.md similarity index 87% rename from docs/models/operations/project.md rename to docs/models/project.md index cb764246..f058f6b8 100644 --- a/docs/models/operations/project.md +++ b/docs/models/project.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Project } from "@vercel/sdk/models/operations/createdeployment.js"; +import { Project } from "@vercel/sdk/models/createdeploymentop.js"; let value: Project = { id: "", diff --git a/docs/models/operations/projectid.md b/docs/models/projectid.md similarity index 81% rename from docs/models/operations/projectid.md rename to docs/models/projectid.md index 0c217729..86f24d97 100644 --- a/docs/models/operations/projectid.md +++ b/docs/models/projectid.md @@ -6,7 +6,7 @@ ### `number` ```typescript -const value: number = 1023.17; +const value: number = 2921.77; ``` ### `string` diff --git a/docs/models/operations/projects.md b/docs/models/projects.md similarity index 91% rename from docs/models/operations/projects.md rename to docs/models/projects.md index c68f2579..42d50d82 100644 --- a/docs/models/operations/projects.md +++ b/docs/models/projects.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Projects } from "@vercel/sdk/models/operations/updateaccessgroup.js"; +import { Projects } from "@vercel/sdk/models/updateaccessgroupop.js"; let value: Projects = { projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", @@ -16,4 +16,4 @@ let value: Projects = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | | `projectId` | *string* | :heavy_check_mark: | The ID of the project. | prj_ndlgr43fadlPyCtREAqxxdyFK | -| `role` | [operations.Role](../../models/operations/role.md) | :heavy_check_mark: | The project role that will be added to this Access Group. \"null\" will remove this project level role. | ADMIN | \ No newline at end of file +| `role` | [models.UpdateAccessGroupRole](../models/updateaccessgrouprole.md) | :heavy_check_mark: | The project role that will be added to this Access Group. \"null\" will remove this project level role. | ADMIN | \ No newline at end of file diff --git a/docs/models/projectselection.md b/docs/models/projectselection.md new file mode 100644 index 00000000..cf1ab1bb --- /dev/null +++ b/docs/models/projectselection.md @@ -0,0 +1,17 @@ +# ProjectSelection + +A string representing the permission for projects. Possible values are `all` or `selected`. + +## Example Usage + +```typescript +import { ProjectSelection } from "@vercel/sdk/models/getconfigurationop.js"; + +let value: ProjectSelection = "all"; +``` + +## Values + +```typescript +"selected" | "all" +``` \ No newline at end of file diff --git a/docs/models/operations/projectsettings.md b/docs/models/projectsettings.md similarity index 97% rename from docs/models/operations/projectsettings.md rename to docs/models/projectsettings.md index 601a2f87..e0f99118 100644 --- a/docs/models/operations/projectsettings.md +++ b/docs/models/projectsettings.md @@ -5,7 +5,7 @@ Project settings that will be applied to the deployment. It is required for the ## Example Usage ```typescript -import { ProjectSettings } from "@vercel/sdk/models/operations/createdeployment.js"; +import { ProjectSettings } from "@vercel/sdk/models/createdeploymentop.js"; let value: ProjectSettings = {}; ``` @@ -17,9 +17,9 @@ let value: ProjectSettings = {}; | `buildCommand` | *string* | :heavy_minus_sign: | The build command for this project. When `null` is used this value will be automatically detected | | `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | | `devCommand` | *string* | :heavy_minus_sign: | The dev command for this project. When `null` is used this value will be automatically detected | -| `framework` | [operations.Framework](../../models/operations/framework.md) | :heavy_minus_sign: | The framework that is being used for this project. When `null` is used no framework is selected | +| `framework` | [models.Framework](../models/framework.md) | :heavy_minus_sign: | The framework that is being used for this project. When `null` is used no framework is selected | | `installCommand` | *string* | :heavy_minus_sign: | The install command for this project. When `null` is used this value will be automatically detected | -| `nodeVersion` | [operations.NodeVersion](../../models/operations/nodeversion.md) | :heavy_minus_sign: | Override the Node.js version that should be used for this deployment | +| `nodeVersion` | [models.NodeVersion](../models/nodeversion.md) | :heavy_minus_sign: | Override the Node.js version that should be used for this deployment | | `outputDirectory` | *string* | :heavy_minus_sign: | The output directory of the project. When `null` is used this value will be automatically detected | | `rootDirectory` | *string* | :heavy_minus_sign: | The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root | | `serverlessFunctionRegion` | *string* | :heavy_minus_sign: | The region to deploy Serverless Functions in this project | diff --git a/docs/models/projectsmetadata.md b/docs/models/projectsmetadata.md new file mode 100644 index 00000000..1b445191 --- /dev/null +++ b/docs/models/projectsmetadata.md @@ -0,0 +1,21 @@ +# ProjectsMetadata + +## Example Usage + +```typescript +import { ProjectsMetadata } from "@vercel/sdk/models/getwebhooksop.js"; + +let value: ProjectsMetadata = { + id: "", + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `framework` | [models.GetWebhooksResponseBodyFramework](../models/getwebhooksresponsebodyframework.md) | :heavy_minus_sign: | N/A | +| `latestDeployment` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/protectionbypass.md b/docs/models/protectionbypass.md new file mode 100644 index 00000000..38d62855 --- /dev/null +++ b/docs/models/protectionbypass.md @@ -0,0 +1,21 @@ +# ProtectionBypass + +## Example Usage + +```typescript +import { ProtectionBypass } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: ProtectionBypass = { + createdAt: 2408.29, + createdBy: "", + scope: "automation-bypass", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdBy` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.Scope](../models/scope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/protectionbypass1.md b/docs/models/protectionbypass1.md new file mode 100644 index 00000000..621ba1e0 --- /dev/null +++ b/docs/models/protectionbypass1.md @@ -0,0 +1,23 @@ +# ProtectionBypass1 + +The protection bypass for the alias + +## Example Usage + +```typescript +import { ProtectionBypass1 } from "@vercel/sdk/models/getaliasop.js"; + +let value: ProtectionBypass1 = { + createdAt: 1557.63, + createdBy: "", + scope: "shareable-link", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdBy` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.ProtectionBypassScope](../models/protectionbypassscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/protectionbypass2.md b/docs/models/protectionbypass2.md new file mode 100644 index 00000000..251926d2 --- /dev/null +++ b/docs/models/protectionbypass2.md @@ -0,0 +1,27 @@ +# ProtectionBypass2 + +The protection bypass for the alias + +## Example Usage + +```typescript +import { ProtectionBypass2 } from "@vercel/sdk/models/getaliasop.js"; + +let value: ProtectionBypass2 = { + createdAt: 2916.49, + lastUpdatedAt: 2221.40, + lastUpdatedBy: "", + access: "granted", + scope: "user", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `lastUpdatedAt` | *number* | :heavy_check_mark: | N/A | +| `lastUpdatedBy` | *string* | :heavy_check_mark: | N/A | +| `access` | [models.Access](../models/access.md) | :heavy_check_mark: | N/A | +| `scope` | [models.GetAliasProtectionBypassScope](../models/getaliasprotectionbypassscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/protectionbypass3.md b/docs/models/protectionbypass3.md new file mode 100644 index 00000000..e03ae8f4 --- /dev/null +++ b/docs/models/protectionbypass3.md @@ -0,0 +1,23 @@ +# ProtectionBypass3 + +The protection bypass for the alias + +## Example Usage + +```typescript +import { ProtectionBypass3 } from "@vercel/sdk/models/getaliasop.js"; + +let value: ProtectionBypass3 = { + createdAt: 2383.71, + createdBy: "", + scope: "alias-protection-override", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdBy` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.GetAliasProtectionBypassAliasesScope](../models/getaliasprotectionbypassaliasesscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/protectionbypass4.md b/docs/models/protectionbypass4.md new file mode 100644 index 00000000..7f544100 --- /dev/null +++ b/docs/models/protectionbypass4.md @@ -0,0 +1,25 @@ +# ProtectionBypass4 + +The protection bypass for the alias + +## Example Usage + +```typescript +import { ProtectionBypass4 } from "@vercel/sdk/models/getaliasop.js"; + +let value: ProtectionBypass4 = { + createdAt: 6030.38, + lastUpdatedAt: 3402.31, + lastUpdatedBy: "", + scope: "email_invite", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `lastUpdatedAt` | *number* | :heavy_check_mark: | N/A | +| `lastUpdatedBy` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.GetAliasProtectionBypassAliasesResponseScope](../models/getaliasprotectionbypassaliasesresponsescope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/protectionbypassaccess.md b/docs/models/protectionbypassaccess.md new file mode 100644 index 00000000..a32d4074 --- /dev/null +++ b/docs/models/protectionbypassaccess.md @@ -0,0 +1,15 @@ +# ProtectionBypassAccess + +## Example Usage + +```typescript +import { ProtectionBypassAccess } from "@vercel/sdk/models/listaliasesop.js"; + +let value: ProtectionBypassAccess = "requested"; +``` + +## Values + +```typescript +"requested" | "granted" +``` \ No newline at end of file diff --git a/docs/models/protectionbypassscope.md b/docs/models/protectionbypassscope.md new file mode 100644 index 00000000..8a31ee95 --- /dev/null +++ b/docs/models/protectionbypassscope.md @@ -0,0 +1,15 @@ +# ProtectionBypassScope + +## Example Usage + +```typescript +import { ProtectionBypassScope } from "@vercel/sdk/models/getaliasop.js"; + +let value: ProtectionBypassScope = "shareable-link"; +``` + +## Values + +```typescript +"shareable-link" +``` \ No newline at end of file diff --git a/docs/models/operations/protectionmode.md b/docs/models/protectionmode.md similarity index 83% rename from docs/models/operations/protectionmode.md rename to docs/models/protectionmode.md index 00eb262d..4b69301d 100644 --- a/docs/models/operations/protectionmode.md +++ b/docs/models/protectionmode.md @@ -5,7 +5,7 @@ exclusive: ip match is enough to bypass deployment protection (regardless of oth ## Example Usage ```typescript -import { ProtectionMode } from "@vercel/sdk/models/operations/updateproject.js"; +import { ProtectionMode } from "@vercel/sdk/models/updateprojectop.js"; let value: ProtectionMode = "additional"; ``` diff --git a/docs/models/provider.md b/docs/models/provider.md new file mode 100644 index 00000000..b8073b57 --- /dev/null +++ b/docs/models/provider.md @@ -0,0 +1,15 @@ +# Provider + +## Example Usage + +```typescript +import { Provider } from "@vercel/sdk/models/gitnamespacesop.js"; + +let value: Provider = "github-custom-host"; +``` + +## Values + +```typescript +"github" | "github-custom-host" | "gitlab" | "bitbucket" +``` \ No newline at end of file diff --git a/docs/models/purpose.md b/docs/models/purpose.md new file mode 100644 index 00000000..232641bd --- /dev/null +++ b/docs/models/purpose.md @@ -0,0 +1,19 @@ +# Purpose + +## Example Usage + +```typescript +import { Purpose } from "@vercel/sdk/models/getedgeconfigsop.js"; + +let value: Purpose = { + type: "flags", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `type` | [models.GetEdgeConfigsType](../models/getedgeconfigstype.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigaction.md b/docs/models/putfirewallconfigaction.md new file mode 100644 index 00000000..6dc2bd1c --- /dev/null +++ b/docs/models/putfirewallconfigaction.md @@ -0,0 +1,15 @@ +# PutFirewallConfigAction + +## Example Usage + +```typescript +import { PutFirewallConfigAction } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigAction = "log"; +``` + +## Values + +```typescript +"deny" | "log" +``` \ No newline at end of file diff --git a/docs/models/putfirewallconfigalgo.md b/docs/models/putfirewallconfigalgo.md new file mode 100644 index 00000000..67edd12e --- /dev/null +++ b/docs/models/putfirewallconfigalgo.md @@ -0,0 +1,15 @@ +# PutFirewallConfigAlgo + +## Example Usage + +```typescript +import { PutFirewallConfigAlgo } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigAlgo = "fixed_window"; +``` + +## Values + +```typescript +"fixed_window" | "token_bucket" +``` \ No newline at end of file diff --git a/docs/models/putfirewallconfigchanges.md b/docs/models/putfirewallconfigchanges.md new file mode 100644 index 00000000..e093b997 --- /dev/null +++ b/docs/models/putfirewallconfigchanges.md @@ -0,0 +1,14 @@ +# PutFirewallConfigChanges + +## Example Usage + +```typescript +import { PutFirewallConfigChanges } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigChanges = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/putfirewallconfigconditiongroup.md b/docs/models/putfirewallconfigconditiongroup.md new file mode 100644 index 00000000..9f6b7656 --- /dev/null +++ b/docs/models/putfirewallconfigconditiongroup.md @@ -0,0 +1,22 @@ +# PutFirewallConfigConditionGroup + +## Example Usage + +```typescript +import { PutFirewallConfigConditionGroup } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigConditionGroup = { + conditions: [ + { + type: "geo_country_region", + op: "gte", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `conditions` | [models.PutFirewallConfigConditions](../models/putfirewallconfigconditions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigconditions.md b/docs/models/putfirewallconfigconditions.md new file mode 100644 index 00000000..6f1e1f54 --- /dev/null +++ b/docs/models/putfirewallconfigconditions.md @@ -0,0 +1,22 @@ +# PutFirewallConfigConditions + +## Example Usage + +```typescript +import { PutFirewallConfigConditions } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigConditions = { + type: "geo_country", + op: "neq", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `type` | [models.PutFirewallConfigSecurityType](../models/putfirewallconfigsecuritytype.md) | :heavy_check_mark: | N/A | +| `op` | [models.PutFirewallConfigOp](../models/putfirewallconfigop.md) | :heavy_check_mark: | N/A | +| `neg` | *boolean* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *models.PutFirewallConfigSecurityValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigcrs.md b/docs/models/putfirewallconfigcrs.md new file mode 100644 index 00000000..21ecf862 --- /dev/null +++ b/docs/models/putfirewallconfigcrs.md @@ -0,0 +1,72 @@ +# PutFirewallConfigCrs + +Custom Ruleset + +## Example Usage + +```typescript +import { PutFirewallConfigCrs } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigCrs = { + sd: { + active: false, + action: "deny", + }, + ma: { + active: false, + action: "deny", + }, + lfi: { + active: false, + action: "deny", + }, + rfi: { + active: false, + action: "deny", + }, + rce: { + active: false, + action: "deny", + }, + php: { + active: false, + action: "log", + }, + gen: { + active: false, + action: "log", + }, + xss: { + active: false, + action: "deny", + }, + sqli: { + active: false, + action: "deny", + }, + sf: { + active: false, + action: "deny", + }, + java: { + active: false, + action: "deny", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `sd` | [models.PutFirewallConfigSd](../models/putfirewallconfigsd.md) | :heavy_check_mark: | Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools. | +| `ma` | [models.PutFirewallConfigMa](../models/putfirewallconfigma.md) | :heavy_check_mark: | Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding. | +| `lfi` | [models.PutFirewallConfigLfi](../models/putfirewallconfiglfi.md) | :heavy_check_mark: | Local File Inclusion Attack - Prevent unauthorized access to local files through web applications. | +| `rfi` | [models.PutFirewallConfigRfi](../models/putfirewallconfigrfi.md) | :heavy_check_mark: | Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files. | +| `rce` | [models.PutFirewallConfigRce](../models/putfirewallconfigrce.md) | :heavy_check_mark: | Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands. | +| `php` | [models.PutFirewallConfigPhp](../models/putfirewallconfigphp.md) | :heavy_check_mark: | PHP Attack - Safeguard against vulnerability exploits in PHP-based applications. | +| `gen` | [models.PutFirewallConfigGen](../models/putfirewallconfiggen.md) | :heavy_check_mark: | Generic Attack - Provide broad protection from various undefined or novel attack vectors. | +| `xss` | [models.PutFirewallConfigXss](../models/putfirewallconfigxss.md) | :heavy_check_mark: | XSS Attack - Prevent injection of malicious scripts into trusted webpages. | +| `sqli` | [models.PutFirewallConfigSqli](../models/putfirewallconfigsqli.md) | :heavy_check_mark: | SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases. | +| `sf` | [models.PutFirewallConfigSf](../models/putfirewallconfigsf.md) | :heavy_check_mark: | Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs. | +| `java` | [models.PutFirewallConfigJava](../models/putfirewallconfigjava.md) | :heavy_check_mark: | Java Attack - Mitigate risks of exploitation targeting Java-based applications or components. | \ No newline at end of file diff --git a/docs/models/putfirewallconfiggen.md b/docs/models/putfirewallconfiggen.md new file mode 100644 index 00000000..1a3e27bd --- /dev/null +++ b/docs/models/putfirewallconfiggen.md @@ -0,0 +1,21 @@ +# PutFirewallConfigGen + +Generic Attack - Provide broad protection from various undefined or novel attack vectors. + +## Example Usage + +```typescript +import { PutFirewallConfigGen } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigGen = { + active: false, + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction](../models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsgenaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigips.md b/docs/models/putfirewallconfigips.md new file mode 100644 index 00000000..ebd33ad0 --- /dev/null +++ b/docs/models/putfirewallconfigips.md @@ -0,0 +1,24 @@ +# PutFirewallConfigIps + +## Example Usage + +```typescript +import { PutFirewallConfigIps } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigIps = { + id: "", + hostname: "mindless-certification.net", + ip: "246.72.67.85", + action: "challenge", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `hostname` | *string* | :heavy_check_mark: | N/A | +| `ip` | *string* | :heavy_check_mark: | N/A | +| `notes` | *string* | :heavy_minus_sign: | N/A | +| `action` | [models.PutFirewallConfigSecurityResponse200Action](../models/putfirewallconfigsecurityresponse200action.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigjava.md b/docs/models/putfirewallconfigjava.md new file mode 100644 index 00000000..ca8fb8ed --- /dev/null +++ b/docs/models/putfirewallconfigjava.md @@ -0,0 +1,21 @@ +# PutFirewallConfigJava + +Java Attack - Mitigate risks of exploitation targeting Java-based applications or components. + +## Example Usage + +```typescript +import { PutFirewallConfigJava } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigJava = { + active: false, + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction](../models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsjavaaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfiglfi.md b/docs/models/putfirewallconfiglfi.md new file mode 100644 index 00000000..cdd11cdb --- /dev/null +++ b/docs/models/putfirewallconfiglfi.md @@ -0,0 +1,21 @@ +# PutFirewallConfigLfi + +Local File Inclusion Attack - Prevent unauthorized access to local files through web applications. + +## Example Usage + +```typescript +import { PutFirewallConfigLfi } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigLfi = { + active: false, + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityResponse200ApplicationJSONAction](../models/putfirewallconfigsecurityresponse200applicationjsonaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigma.md b/docs/models/putfirewallconfigma.md new file mode 100644 index 00000000..b5950bd9 --- /dev/null +++ b/docs/models/putfirewallconfigma.md @@ -0,0 +1,21 @@ +# PutFirewallConfigMa + +Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding. + +## Example Usage + +```typescript +import { PutFirewallConfigMa } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigMa = { + active: false, + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction](../models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsmaaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigmanagedrules.md b/docs/models/putfirewallconfigmanagedrules.md new file mode 100644 index 00000000..b31521ee --- /dev/null +++ b/docs/models/putfirewallconfigmanagedrules.md @@ -0,0 +1,16 @@ +# PutFirewallConfigManagedRules + +## Example Usage + +```typescript +import { PutFirewallConfigManagedRules } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigManagedRules = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `owasp` | [models.PutFirewallConfigOwasp](../models/putfirewallconfigowasp.md) | :heavy_minus_sign: | N/A | +| `verifiedBotsBypass` | [models.PutFirewallConfigVerifiedBotsBypass](../models/putfirewallconfigverifiedbotsbypass.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigmitigate.md b/docs/models/putfirewallconfigmitigate.md new file mode 100644 index 00000000..5b0e73a7 --- /dev/null +++ b/docs/models/putfirewallconfigmitigate.md @@ -0,0 +1,20 @@ +# PutFirewallConfigMitigate + +## Example Usage + +```typescript +import { PutFirewallConfigMitigate } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigMitigate = { + action: "challenge", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `action` | [models.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction](../models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesaction.md) | :heavy_check_mark: | N/A | +| `rateLimit` | [models.PutFirewallConfigRateLimit](../models/putfirewallconfigratelimit.md) | :heavy_minus_sign: | N/A | +| `redirect` | [models.PutFirewallConfigRedirect](../models/putfirewallconfigredirect.md) | :heavy_minus_sign: | N/A | +| `actionDuration` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigop.md b/docs/models/putfirewallconfigop.md new file mode 100644 index 00000000..380f7305 --- /dev/null +++ b/docs/models/putfirewallconfigop.md @@ -0,0 +1,15 @@ +# PutFirewallConfigOp + +## Example Usage + +```typescript +import { PutFirewallConfigOp } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigOp = "neq"; +``` + +## Values + +```typescript +"re" | "eq" | "ex" | "inc" | "pre" | "suf" | "sub" | "gt" | "gte" | "lt" | "lte" | "nex" | "ninc" | "neq" +``` \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigowasp.md b/docs/models/putfirewallconfigowasp.md similarity index 87% rename from docs/models/operations/putfirewallconfigowasp.md rename to docs/models/putfirewallconfigowasp.md index 81ee0450..e60408f8 100644 --- a/docs/models/operations/putfirewallconfigowasp.md +++ b/docs/models/putfirewallconfigowasp.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PutFirewallConfigOwasp } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigOwasp } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigOwasp = { active: false, diff --git a/docs/models/putfirewallconfigphp.md b/docs/models/putfirewallconfigphp.md new file mode 100644 index 00000000..f1224c8a --- /dev/null +++ b/docs/models/putfirewallconfigphp.md @@ -0,0 +1,21 @@ +# PutFirewallConfigPhp + +PHP Attack - Safeguard against vulnerability exploits in PHP-based applications. + +## Example Usage + +```typescript +import { PutFirewallConfigPhp } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigPhp = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction](../models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigratelimit.md b/docs/models/putfirewallconfigratelimit.md new file mode 100644 index 00000000..512d682a --- /dev/null +++ b/docs/models/putfirewallconfigratelimit.md @@ -0,0 +1,26 @@ +# PutFirewallConfigRateLimit + +## Example Usage + +```typescript +import { PutFirewallConfigRateLimit } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigRateLimit = { + algo: "fixed_window", + window: 8435.90, + limit: 6963.24, + keys: [ + "", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `algo` | [models.PutFirewallConfigAlgo](../models/putfirewallconfigalgo.md) | :heavy_check_mark: | N/A | +| `window` | *number* | :heavy_check_mark: | N/A | +| `limit` | *number* | :heavy_check_mark: | N/A | +| `keys` | *string*[] | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction](../models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesactionaction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigrce.md b/docs/models/putfirewallconfigrce.md new file mode 100644 index 00000000..266f0552 --- /dev/null +++ b/docs/models/putfirewallconfigrce.md @@ -0,0 +1,21 @@ +# PutFirewallConfigRce + +Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands. + +## Example Usage + +```typescript +import { PutFirewallConfigRce } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigRce = { + active: false, + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction](../models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiveaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigredirect.md b/docs/models/putfirewallconfigredirect.md similarity index 84% rename from docs/models/operations/putfirewallconfigredirect.md rename to docs/models/putfirewallconfigredirect.md index 0f237578..00b08151 100644 --- a/docs/models/operations/putfirewallconfigredirect.md +++ b/docs/models/putfirewallconfigredirect.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PutFirewallConfigRedirect } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigRedirect } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigRedirect = { location: "", diff --git a/docs/models/putfirewallconfigrequest.md b/docs/models/putfirewallconfigrequest.md new file mode 100644 index 00000000..22c2bf43 --- /dev/null +++ b/docs/models/putfirewallconfigrequest.md @@ -0,0 +1,23 @@ +# PutFirewallConfigRequest + +## Example Usage + +```typescript +import { PutFirewallConfigRequest } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigRequest = { + projectId: "", + requestBody: { + firewallEnabled: false, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.PutFirewallConfigRequestBody](../models/putfirewallconfigrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigrequestbody.md b/docs/models/putfirewallconfigrequestbody.md new file mode 100644 index 00000000..fbdfd338 --- /dev/null +++ b/docs/models/putfirewallconfigrequestbody.md @@ -0,0 +1,21 @@ +# PutFirewallConfigRequestBody + +## Example Usage + +```typescript +import { PutFirewallConfigRequestBody } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigRequestBody = { + firewallEnabled: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `firewallEnabled` | *boolean* | :heavy_check_mark: | N/A | +| `managedRules` | [models.ManagedRules](../models/managedrules.md) | :heavy_minus_sign: | N/A | +| `crs` | [models.Crs](../models/crs.md) | :heavy_minus_sign: | Custom Ruleset | +| `rules` | [models.Rules](../models/rules.md)[] | :heavy_minus_sign: | N/A | +| `ips` | [models.Ips](../models/ips.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigresponsebody.md b/docs/models/putfirewallconfigresponsebody.md new file mode 100644 index 00000000..e2f3f482 --- /dev/null +++ b/docs/models/putfirewallconfigresponsebody.md @@ -0,0 +1,99 @@ +# PutFirewallConfigResponseBody + +## Example Usage + +```typescript +import { PutFirewallConfigResponseBody } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigResponseBody = { + active: { + ownerId: "", + projectKey: "", + id: "", + version: 8453.74, + updatedAt: "", + firewallEnabled: false, + crs: { + sd: { + active: false, + action: "log", + }, + ma: { + active: false, + action: "deny", + }, + lfi: { + active: false, + action: "deny", + }, + rfi: { + active: false, + action: "log", + }, + rce: { + active: false, + action: "log", + }, + php: { + active: false, + action: "deny", + }, + gen: { + active: false, + action: "log", + }, + xss: { + active: false, + action: "deny", + }, + sqli: { + active: false, + action: "deny", + }, + sf: { + active: false, + action: "deny", + }, + java: { + active: false, + action: "log", + }, + }, + rules: [ + { + id: "", + name: "", + active: false, + conditionGroup: [ + { + conditions: [ + { + type: "environment", + op: "lte", + }, + ], + }, + ], + action: {}, + }, + ], + ips: [ + { + id: "", + hostname: "buttery-fun.org", + ip: "42.160.159.214", + action: "bypass", + }, + ], + changes: [ + {}, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `active` | [models.Active](../models/active.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigrfi.md b/docs/models/putfirewallconfigrfi.md new file mode 100644 index 00000000..0694a6af --- /dev/null +++ b/docs/models/putfirewallconfigrfi.md @@ -0,0 +1,21 @@ +# PutFirewallConfigRfi + +Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files. + +## Example Usage + +```typescript +import { PutFirewallConfigRfi } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigRfi = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction](../models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigrules.md b/docs/models/putfirewallconfigrules.md new file mode 100644 index 00000000..766629fc --- /dev/null +++ b/docs/models/putfirewallconfigrules.md @@ -0,0 +1,35 @@ +# PutFirewallConfigRules + +## Example Usage + +```typescript +import { PutFirewallConfigRules } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigRules = { + id: "", + name: "", + active: false, + conditionGroup: [ + { + conditions: [ + { + type: "scheme", + op: "gt", + }, + ], + }, + ], + action: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `conditionGroup` | [models.PutFirewallConfigConditionGroup](../models/putfirewallconfigconditiongroup.md)[] | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityResponseAction](../models/putfirewallconfigsecurityresponseaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigsd.md b/docs/models/putfirewallconfigsd.md new file mode 100644 index 00000000..8484e1bd --- /dev/null +++ b/docs/models/putfirewallconfigsd.md @@ -0,0 +1,21 @@ +# PutFirewallConfigSd + +Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools. + +## Example Usage + +```typescript +import { PutFirewallConfigSd } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigSd = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction](../models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssdaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigsecurityaction.md b/docs/models/putfirewallconfigsecurityaction.md similarity index 85% rename from docs/models/operations/putfirewallconfigsecurityaction.md rename to docs/models/putfirewallconfigsecurityaction.md index d6152c90..8e0bd30c 100644 --- a/docs/models/operations/putfirewallconfigsecurityaction.md +++ b/docs/models/putfirewallconfigsecurityaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityAction } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityAction = "deny"; ``` diff --git a/docs/models/operations/putfirewallconfigsecurityrequestaction.md b/docs/models/putfirewallconfigsecurityrequestaction.md similarity index 84% rename from docs/models/operations/putfirewallconfigsecurityrequestaction.md rename to docs/models/putfirewallconfigsecurityrequestaction.md index 371c676a..8ccf8972 100644 --- a/docs/models/operations/putfirewallconfigsecurityrequestaction.md +++ b/docs/models/putfirewallconfigsecurityrequestaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityRequestAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityRequestAction } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityRequestAction = "deny"; ``` diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodyaction.md b/docs/models/putfirewallconfigsecurityrequestrequestbodyaction.md similarity index 80% rename from docs/models/operations/putfirewallconfigsecurityrequestrequestbodyaction.md rename to docs/models/putfirewallconfigsecurityrequestrequestbodyaction.md index 5145b970..0c05cc4a 100644 --- a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodyaction.md +++ b/docs/models/putfirewallconfigsecurityrequestrequestbodyaction.md @@ -3,9 +3,9 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityRequestRequestBodyAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityRequestRequestBodyAction } from "@vercel/sdk/models/putfirewallconfigop.js"; -let value: PutFirewallConfigSecurityRequestRequestBodyAction = "log"; +let value: PutFirewallConfigSecurityRequestRequestBodyAction = "deny"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsaction.md b/docs/models/putfirewallconfigsecurityrequestrequestbodycrsaction.md similarity index 82% rename from docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsaction.md rename to docs/models/putfirewallconfigsecurityrequestrequestbodycrsaction.md index f3b0743f..c5fbfe59 100644 --- a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsaction.md +++ b/docs/models/putfirewallconfigsecurityrequestrequestbodycrsaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityRequestRequestBodyCrsAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityRequestRequestBodyCrsAction } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityRequestRequestBodyCrsAction = "log"; ``` diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsgenaction.md b/docs/models/putfirewallconfigsecurityrequestrequestbodycrsgenaction.md similarity index 78% rename from docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsgenaction.md rename to docs/models/putfirewallconfigsecurityrequestrequestbodycrsgenaction.md index df00c9d0..d506eb19 100644 --- a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsgenaction.md +++ b/docs/models/putfirewallconfigsecurityrequestrequestbodycrsgenaction.md @@ -3,9 +3,9 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityRequestRequestBodyCrsGenAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityRequestRequestBodyCrsGenAction } from "@vercel/sdk/models/putfirewallconfigop.js"; -let value: PutFirewallConfigSecurityRequestRequestBodyCrsGenAction = "deny"; +let value: PutFirewallConfigSecurityRequestRequestBodyCrsGenAction = "log"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsjavaaction.md b/docs/models/putfirewallconfigsecurityrequestrequestbodycrsjavaaction.md similarity index 81% rename from docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsjavaaction.md rename to docs/models/putfirewallconfigsecurityrequestrequestbodycrsjavaaction.md index 1e31596a..4d77e083 100644 --- a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsjavaaction.md +++ b/docs/models/putfirewallconfigsecurityrequestrequestbodycrsjavaaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction = "log"; ``` diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md b/docs/models/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md similarity index 81% rename from docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md rename to docs/models/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md index 66156dc4..0f2a5efa 100644 --- a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md +++ b/docs/models/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction = "deny"; ``` diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssfaction.md b/docs/models/putfirewallconfigsecurityrequestrequestbodycrssfaction.md similarity index 78% rename from docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssfaction.md rename to docs/models/putfirewallconfigsecurityrequestrequestbodycrssfaction.md index 49b91bae..522a5989 100644 --- a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssfaction.md +++ b/docs/models/putfirewallconfigsecurityrequestrequestbodycrssfaction.md @@ -3,9 +3,9 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityRequestRequestBodyCrsSfAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityRequestRequestBodyCrsSfAction } from "@vercel/sdk/models/putfirewallconfigop.js"; -let value: PutFirewallConfigSecurityRequestRequestBodyCrsSfAction = "deny"; +let value: PutFirewallConfigSecurityRequestRequestBodyCrsSfAction = "log"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssqliaction.md b/docs/models/putfirewallconfigsecurityrequestrequestbodycrssqliaction.md similarity index 81% rename from docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssqliaction.md rename to docs/models/putfirewallconfigsecurityrequestrequestbodycrssqliaction.md index 04c1b777..143c3735 100644 --- a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssqliaction.md +++ b/docs/models/putfirewallconfigsecurityrequestrequestbodycrssqliaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction = "log"; ``` diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsxssaction.md b/docs/models/putfirewallconfigsecurityrequestrequestbodycrsxssaction.md similarity index 81% rename from docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsxssaction.md rename to docs/models/putfirewallconfigsecurityrequestrequestbodycrsxssaction.md index 25452a68..d45e28d1 100644 --- a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsxssaction.md +++ b/docs/models/putfirewallconfigsecurityrequestrequestbodycrsxssaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityRequestRequestBodyCrsXssAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityRequestRequestBodyCrsXssAction } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityRequestRequestBodyCrsXssAction = "deny"; ``` diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodyipsaction.md b/docs/models/putfirewallconfigsecurityrequestrequestbodyipsaction.md similarity index 83% rename from docs/models/operations/putfirewallconfigsecurityrequestrequestbodyipsaction.md rename to docs/models/putfirewallconfigsecurityrequestrequestbodyipsaction.md index 03d12032..c1dcc5b2 100644 --- a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodyipsaction.md +++ b/docs/models/putfirewallconfigsecurityrequestrequestbodyipsaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityRequestRequestBodyIpsAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityRequestRequestBodyIpsAction } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityRequestRequestBodyIpsAction = "log"; ``` diff --git a/docs/models/putfirewallconfigsecurityrequestrequestbodyrulesaction.md b/docs/models/putfirewallconfigsecurityrequestrequestbodyrulesaction.md new file mode 100644 index 00000000..eba97b88 --- /dev/null +++ b/docs/models/putfirewallconfigsecurityrequestrequestbodyrulesaction.md @@ -0,0 +1,15 @@ +# PutFirewallConfigSecurityRequestRequestBodyRulesAction + +## Example Usage + +```typescript +import { PutFirewallConfigSecurityRequestRequestBodyRulesAction } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigSecurityRequestRequestBodyRulesAction = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `mitigate` | [models.Mitigate](../models/mitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodyrulesactionaction.md b/docs/models/putfirewallconfigsecurityrequestrequestbodyrulesactionaction.md similarity index 81% rename from docs/models/operations/putfirewallconfigsecurityrequestrequestbodyrulesactionaction.md rename to docs/models/putfirewallconfigsecurityrequestrequestbodyrulesactionaction.md index 930e045d..c8601843 100644 --- a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodyrulesactionaction.md +++ b/docs/models/putfirewallconfigsecurityrequestrequestbodyrulesactionaction.md @@ -3,10 +3,10 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityRequestRequestBodyRulesActionAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityRequestRequestBodyRulesActionAction } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityRequestRequestBodyRulesActionAction = - "deny"; + "bypass"; ``` ## Values diff --git a/docs/models/putfirewallconfigsecurityresponse200action.md b/docs/models/putfirewallconfigsecurityresponse200action.md new file mode 100644 index 00000000..772480c4 --- /dev/null +++ b/docs/models/putfirewallconfigsecurityresponse200action.md @@ -0,0 +1,15 @@ +# PutFirewallConfigSecurityResponse200Action + +## Example Usage + +```typescript +import { PutFirewallConfigSecurityResponse200Action } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigSecurityResponse200Action = "challenge"; +``` + +## Values + +```typescript +"deny" | "log" | "challenge" | "bypass" +``` \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonaction.md b/docs/models/putfirewallconfigsecurityresponse200applicationjsonaction.md similarity index 81% rename from docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonaction.md rename to docs/models/putfirewallconfigsecurityresponse200applicationjsonaction.md index 7d255a95..95e22850 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonaction.md +++ b/docs/models/putfirewallconfigsecurityresponse200applicationjsonaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityResponse200ApplicationJSONAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityResponse200ApplicationJSONAction } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityResponse200ApplicationJSONAction = "deny"; ``` diff --git a/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md new file mode 100644 index 00000000..5295e45f --- /dev/null +++ b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md @@ -0,0 +1,16 @@ +# PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction + +## Example Usage + +```typescript +import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction = "log"; +``` + +## Values + +```typescript +"deny" | "log" +``` \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiveaction.md b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiveaction.md similarity index 79% rename from docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiveaction.md rename to docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiveaction.md index 7be9be7c..69ac5802 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiveaction.md +++ b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiveaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction = diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsaction.md b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsaction.md similarity index 76% rename from docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsaction.md rename to docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsaction.md index 7244a348..554fd63f 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsaction.md +++ b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsaction.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction = - "deny"; + "log"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsgenaction.md b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsgenaction.md similarity index 83% rename from docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsgenaction.md rename to docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsgenaction.md index df3082bf..3b14de78 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsgenaction.md +++ b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsgenaction.md @@ -5,11 +5,11 @@ ```typescript import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction, -} from "@vercel/sdk/models/operations/putfirewallconfig.js"; +} from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction = - "log"; + "deny"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsjavaaction.md b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsjavaaction.md similarity index 83% rename from docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsjavaaction.md rename to docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsjavaaction.md index 7e2579af..381eaa1c 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsjavaaction.md +++ b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsjavaaction.md @@ -5,11 +5,11 @@ ```typescript import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction, -} from "@vercel/sdk/models/operations/putfirewallconfig.js"; +} from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction = - "deny"; + "log"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsmaaction.md b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsmaaction.md similarity index 76% rename from docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsmaaction.md rename to docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsmaaction.md index bd1cfd3f..171a2d44 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsmaaction.md +++ b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsmaaction.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction = - "log"; + "deny"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssdaction.md b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssdaction.md similarity index 79% rename from docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssdaction.md rename to docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssdaction.md index 4789bd00..e54a8f73 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssdaction.md +++ b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssdaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction = diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssfaction.md b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssfaction.md similarity index 76% rename from docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssfaction.md rename to docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssfaction.md index 2112193a..a367a0df 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssfaction.md +++ b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssfaction.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction = - "log"; + "deny"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssqliaction.md b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssqliaction.md similarity index 85% rename from docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssqliaction.md rename to docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssqliaction.md index cc98f0db..2c1fb7e9 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssqliaction.md +++ b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssqliaction.md @@ -5,7 +5,7 @@ ```typescript import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction, -} from "@vercel/sdk/models/operations/putfirewallconfig.js"; +} from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction = diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsxssaction.md b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsxssaction.md similarity index 83% rename from docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsxssaction.md rename to docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsxssaction.md index f88a89c9..7a623173 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsxssaction.md +++ b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsxssaction.md @@ -5,11 +5,11 @@ ```typescript import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction, -} from "@vercel/sdk/models/operations/putfirewallconfig.js"; +} from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction = - "deny"; + "log"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesaction.md b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesaction.md similarity index 81% rename from docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesaction.md rename to docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesaction.md index 234a7ada..1cf88b5f 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesaction.md +++ b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction = diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesactionaction.md b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesactionaction.md similarity index 84% rename from docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesactionaction.md rename to docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesactionaction.md index 01907620..434bedfe 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesactionaction.md +++ b/docs/models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesactionaction.md @@ -5,11 +5,11 @@ ```typescript import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction, -} from "@vercel/sdk/models/operations/putfirewallconfig.js"; +} from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction = - "log"; + "rate_limit"; ``` ## Values diff --git a/docs/models/putfirewallconfigsecurityresponseaction.md b/docs/models/putfirewallconfigsecurityresponseaction.md new file mode 100644 index 00000000..423838af --- /dev/null +++ b/docs/models/putfirewallconfigsecurityresponseaction.md @@ -0,0 +1,15 @@ +# PutFirewallConfigSecurityResponseAction + +## Example Usage + +```typescript +import { PutFirewallConfigSecurityResponseAction } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigSecurityResponseAction = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `mitigate` | [models.PutFirewallConfigMitigate](../models/putfirewallconfigmitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigsecuritytype.md b/docs/models/putfirewallconfigsecuritytype.md new file mode 100644 index 00000000..a68d04ff --- /dev/null +++ b/docs/models/putfirewallconfigsecuritytype.md @@ -0,0 +1,15 @@ +# PutFirewallConfigSecurityType + +## Example Usage + +```typescript +import { PutFirewallConfigSecurityType } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigSecurityType = "geo_city"; +``` + +## Values + +```typescript +"host" | "path" | "method" | "header" | "query" | "cookie" | "target_path" | "raw_path" | "ip_address" | "protocol" | "region" | "scheme" | "environment" | "user_agent" | "geo_continent" | "geo_country" | "geo_country_region" | "geo_city" | "geo_as_number" | "ja4_digest" | "ja3_digest" | "rate_limit_api_id" +``` \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigsecurityvalue.md b/docs/models/putfirewallconfigsecurityvalue.md similarity index 88% rename from docs/models/operations/putfirewallconfigsecurityvalue.md rename to docs/models/putfirewallconfigsecurityvalue.md index b9b91ac1..47364e0f 100644 --- a/docs/models/operations/putfirewallconfigsecurityvalue.md +++ b/docs/models/putfirewallconfigsecurityvalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 7132.46; +const value: number = 3875.67; ``` ### `string[]` diff --git a/docs/models/putfirewallconfigsf.md b/docs/models/putfirewallconfigsf.md new file mode 100644 index 00000000..39abf01d --- /dev/null +++ b/docs/models/putfirewallconfigsf.md @@ -0,0 +1,21 @@ +# PutFirewallConfigSf + +Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs. + +## Example Usage + +```typescript +import { PutFirewallConfigSf } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigSf = { + active: false, + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction](../models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssfaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigsqli.md b/docs/models/putfirewallconfigsqli.md new file mode 100644 index 00000000..33b52480 --- /dev/null +++ b/docs/models/putfirewallconfigsqli.md @@ -0,0 +1,21 @@ +# PutFirewallConfigSqli + +SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases. + +## Example Usage + +```typescript +import { PutFirewallConfigSqli } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigSqli = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction](../models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssqliaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/putfirewallconfigtype.md b/docs/models/putfirewallconfigtype.md new file mode 100644 index 00000000..0842f439 --- /dev/null +++ b/docs/models/putfirewallconfigtype.md @@ -0,0 +1,17 @@ +# PutFirewallConfigType + +[Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. + +## Example Usage + +```typescript +import { PutFirewallConfigType } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigType = "host"; +``` + +## Values + +```typescript +"host" | "path" | "method" | "header" | "query" | "cookie" | "target_path" | "raw_path" | "ip_address" | "region" | "protocol" | "scheme" | "environment" | "user_agent" | "geo_continent" | "geo_country" | "geo_country_region" | "geo_city" | "geo_as_number" | "ja4_digest" | "ja3_digest" | "rate_limit_api_id" +``` \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigvalue.md b/docs/models/putfirewallconfigvalue.md similarity index 87% rename from docs/models/operations/putfirewallconfigvalue.md rename to docs/models/putfirewallconfigvalue.md index 120850cd..4b01ef49 100644 --- a/docs/models/operations/putfirewallconfigvalue.md +++ b/docs/models/putfirewallconfigvalue.md @@ -20,6 +20,6 @@ const value: string[] = [ ### `number` ```typescript -const value: number = 2953.07; +const value: number = 3114.49; ``` diff --git a/docs/models/operations/putfirewallconfigverifiedbotsbypass.md b/docs/models/putfirewallconfigverifiedbotsbypass.md similarity index 94% rename from docs/models/operations/putfirewallconfigverifiedbotsbypass.md rename to docs/models/putfirewallconfigverifiedbotsbypass.md index f66de9f8..7c7daff9 100644 --- a/docs/models/operations/putfirewallconfigverifiedbotsbypass.md +++ b/docs/models/putfirewallconfigverifiedbotsbypass.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PutFirewallConfigVerifiedBotsBypass } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { PutFirewallConfigVerifiedBotsBypass } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: PutFirewallConfigVerifiedBotsBypass = { active: false, diff --git a/docs/models/putfirewallconfigxss.md b/docs/models/putfirewallconfigxss.md new file mode 100644 index 00000000..9a12ac65 --- /dev/null +++ b/docs/models/putfirewallconfigxss.md @@ -0,0 +1,21 @@ +# PutFirewallConfigXss + +XSS Attack - Prevent injection of malicious scripts into trusted webpages. + +## Example Usage + +```typescript +import { PutFirewallConfigXss } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: PutFirewallConfigXss = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction](../models/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsxssaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/queryparamprovider.md b/docs/models/queryparamprovider.md new file mode 100644 index 00000000..3c1ab94a --- /dev/null +++ b/docs/models/queryparamprovider.md @@ -0,0 +1,15 @@ +# QueryParamProvider + +## Example Usage + +```typescript +import { QueryParamProvider } from "@vercel/sdk/models/searchrepoop.js"; + +let value: QueryParamProvider = "github"; +``` + +## Values + +```typescript +"github" | "github-custom-host" | "gitlab" | "bitbucket" +``` \ No newline at end of file diff --git a/docs/models/queryparamrole.md b/docs/models/queryparamrole.md new file mode 100644 index 00000000..6aafda92 --- /dev/null +++ b/docs/models/queryparamrole.md @@ -0,0 +1,17 @@ +# QueryParamRole + +Only return members with the specified team role. + +## Example Usage + +```typescript +import { QueryParamRole } from "@vercel/sdk/models/getteammembersop.js"; + +let value: QueryParamRole = "OWNER"; +``` + +## Values + +```typescript +"OWNER" | "MEMBER" | "DEVELOPER" | "VIEWER" | "BILLING" | "CONTRIBUTOR" +``` \ No newline at end of file diff --git a/docs/models/queryparamtarget.md b/docs/models/queryparamtarget.md new file mode 100644 index 00000000..33a83671 --- /dev/null +++ b/docs/models/queryparamtarget.md @@ -0,0 +1,17 @@ +# QueryParamTarget + +Filters on the target of the domain. Can be either \"production\", \"preview\" + +## Example Usage + +```typescript +import { QueryParamTarget } from "@vercel/sdk/models/getprojectdomainsop.js"; + +let value: QueryParamTarget = "production"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/queryparamtype.md b/docs/models/queryparamtype.md new file mode 100644 index 00000000..4c3f9274 --- /dev/null +++ b/docs/models/queryparamtype.md @@ -0,0 +1,17 @@ +# QueryParamType + +In which status of the domain the price needs to be checked. + +## Example Usage + +```typescript +import { QueryParamType } from "@vercel/sdk/models/checkdomainpriceop.js"; + +let value: QueryParamType = "new"; +``` + +## Values + +```typescript +"new" | "renewal" | "transfer" | "redemption" +``` \ No newline at end of file diff --git a/docs/models/operations/quote.md b/docs/models/quote.md similarity index 82% rename from docs/models/operations/quote.md rename to docs/models/quote.md index 31fe4815..8faaefc3 100644 --- a/docs/models/operations/quote.md +++ b/docs/models/quote.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { Quote } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { Quote } from "@vercel/sdk/models/getconfigurationsop.js"; let value: Quote = { line: "", - amount: "181.26", + amount: "575.75", }; ``` diff --git a/docs/models/ratelimit.md b/docs/models/ratelimit.md new file mode 100644 index 00000000..e997f5ac --- /dev/null +++ b/docs/models/ratelimit.md @@ -0,0 +1,24 @@ +# RateLimit + + +## Supported Types + +### `models.RateLimit1` + +```typescript +const value: models.RateLimit1 = { + algo: "token_bucket", + window: 804.67, + limit: 5421.87, + keys: [ + "", + ], +}; +``` + +### `any` + +```typescript +const value: any = ""; +``` + diff --git a/docs/models/ratelimit1.md b/docs/models/ratelimit1.md new file mode 100644 index 00000000..ba1bf233 --- /dev/null +++ b/docs/models/ratelimit1.md @@ -0,0 +1,26 @@ +# RateLimit1 + +## Example Usage + +```typescript +import { RateLimit1 } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: RateLimit1 = { + algo: "fixed_window", + window: 4212.73, + limit: 9262.66, + keys: [ + "", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `algo` | [models.Algo](../models/algo.md) | :heavy_check_mark: | N/A | +| `window` | *number* | :heavy_check_mark: | N/A | +| `limit` | *number* | :heavy_check_mark: | N/A | +| `keys` | *string*[] | :heavy_check_mark: | N/A | +| `action` | *models.RateLimitAction* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/ratelimitaction.md b/docs/models/ratelimitaction.md new file mode 100644 index 00000000..549092b8 --- /dev/null +++ b/docs/models/ratelimitaction.md @@ -0,0 +1,17 @@ +# RateLimitAction + + +## Supported Types + +### `models.Action1` + +```typescript +const value: models.Action1 = "rate_limit"; +``` + +### `any` + +```typescript +const value: any = ""; +``` + diff --git a/docs/models/ratelimitalgo.md b/docs/models/ratelimitalgo.md new file mode 100644 index 00000000..c91055da --- /dev/null +++ b/docs/models/ratelimitalgo.md @@ -0,0 +1,15 @@ +# RateLimitAlgo + +## Example Usage + +```typescript +import { RateLimitAlgo } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: RateLimitAlgo = "token_bucket"; +``` + +## Values + +```typescript +"fixed_window" | "token_bucket" +``` \ No newline at end of file diff --git a/docs/models/ratelimitnotice.md b/docs/models/ratelimitnotice.md new file mode 100644 index 00000000..04408ea9 --- /dev/null +++ b/docs/models/ratelimitnotice.md @@ -0,0 +1,23 @@ +# RateLimitNotice + +## Example Usage + +```typescript +import { RateLimitNotice } from "@vercel/sdk/models/ratelimitnotice.js"; + +let value: RateLimitNotice = { + remaining: 227741, + reset: 446793, + resetMs: 836991, + total: 221824, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `remaining` | *number* | :heavy_check_mark: | N/A | +| `reset` | *number* | :heavy_check_mark: | N/A | +| `resetMs` | *number* | :heavy_check_mark: | N/A | +| `total` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/rce.md b/docs/models/rce.md new file mode 100644 index 00000000..dea183bb --- /dev/null +++ b/docs/models/rce.md @@ -0,0 +1,21 @@ +# Rce + +Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands. + +## Example Usage + +```typescript +import { Rce } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Rce = { + active: false, + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityRequestRequestBodyCrsAction](../models/putfirewallconfigsecurityrequestrequestbodycrsaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/readaccessgroupentitlements.md b/docs/models/readaccessgroupentitlements.md new file mode 100644 index 00000000..aeec82fd --- /dev/null +++ b/docs/models/readaccessgroupentitlements.md @@ -0,0 +1,15 @@ +# ReadAccessGroupEntitlements + +## Example Usage + +```typescript +import { ReadAccessGroupEntitlements } from "@vercel/sdk/models/readaccessgroupop.js"; + +let value: ReadAccessGroupEntitlements = "v0"; +``` + +## Values + +```typescript +"v0" +``` \ No newline at end of file diff --git a/docs/models/operations/readaccessgroupprojectrequest.md b/docs/models/readaccessgroupprojectrequest.md similarity index 97% rename from docs/models/operations/readaccessgroupprojectrequest.md rename to docs/models/readaccessgroupprojectrequest.md index b14a9268..797f3731 100644 --- a/docs/models/operations/readaccessgroupprojectrequest.md +++ b/docs/models/readaccessgroupprojectrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ReadAccessGroupProjectRequest } from "@vercel/sdk/models/operations/readaccessgroupproject.js"; +import { ReadAccessGroupProjectRequest } from "@vercel/sdk/models/readaccessgroupprojectop.js"; let value: ReadAccessGroupProjectRequest = { accessGroupIdOrName: "", diff --git a/docs/models/readaccessgroupprojectresponsebody.md b/docs/models/readaccessgroupprojectresponsebody.md new file mode 100644 index 00000000..9e34d152 --- /dev/null +++ b/docs/models/readaccessgroupprojectresponsebody.md @@ -0,0 +1,27 @@ +# ReadAccessGroupProjectResponseBody + +## Example Usage + +```typescript +import { ReadAccessGroupProjectResponseBody } from "@vercel/sdk/models/readaccessgroupprojectop.js"; + +let value: ReadAccessGroupProjectResponseBody = { + teamId: "", + accessGroupId: "", + projectId: "", + role: "PROJECT_VIEWER", + createdAt: "", + updatedAt: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `teamId` | *string* | :heavy_check_mark: | N/A | +| `accessGroupId` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `role` | [models.ReadAccessGroupProjectRole](../models/readaccessgroupprojectrole.md) | :heavy_check_mark: | N/A | +| `createdAt` | *string* | :heavy_check_mark: | N/A | +| `updatedAt` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/readaccessgroupprojectrole.md b/docs/models/readaccessgroupprojectrole.md new file mode 100644 index 00000000..2b3f49bd --- /dev/null +++ b/docs/models/readaccessgroupprojectrole.md @@ -0,0 +1,15 @@ +# ReadAccessGroupProjectRole + +## Example Usage + +```typescript +import { ReadAccessGroupProjectRole } from "@vercel/sdk/models/readaccessgroupprojectop.js"; + +let value: ReadAccessGroupProjectRole = "ADMIN"; +``` + +## Values + +```typescript +"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_VIEWER" +``` \ No newline at end of file diff --git a/docs/models/operations/readaccessgrouprequest.md b/docs/models/readaccessgrouprequest.md similarity index 93% rename from docs/models/operations/readaccessgrouprequest.md rename to docs/models/readaccessgrouprequest.md index ce10122f..b45c091c 100644 --- a/docs/models/operations/readaccessgrouprequest.md +++ b/docs/models/readaccessgrouprequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ReadAccessGroupRequest } from "@vercel/sdk/models/operations/readaccessgroup.js"; +import { ReadAccessGroupRequest } from "@vercel/sdk/models/readaccessgroupop.js"; let value: ReadAccessGroupRequest = { idOrName: "", diff --git a/docs/models/readaccessgroupresponsebody.md b/docs/models/readaccessgroupresponsebody.md new file mode 100644 index 00000000..973b4cfb --- /dev/null +++ b/docs/models/readaccessgroupresponsebody.md @@ -0,0 +1,32 @@ +# ReadAccessGroupResponseBody + +## Example Usage + +```typescript +import { ReadAccessGroupResponseBody } from "@vercel/sdk/models/readaccessgroupop.js"; + +let value: ReadAccessGroupResponseBody = { + isDsyncManaged: false, + name: "my-access-group", + createdAt: "1588720733602", + teamId: "team_123a6c5209bc3778245d011443644c8d27dc2c50", + updatedAt: "1588720733602", + accessGroupId: "ag_123a6c5209bc3778245d011443644c8d27dc2c50", + membersCount: 5, + projectsCount: 2, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `entitlements` | [models.ReadAccessGroupEntitlements](../models/readaccessgroupentitlements.md)[] | :heavy_minus_sign: | N/A | | +| `isDsyncManaged` | *boolean* | :heavy_check_mark: | N/A | | +| `name` | *string* | :heavy_check_mark: | The name of this access group. | my-access-group | +| `createdAt` | *string* | :heavy_check_mark: | Timestamp in milliseconds when the access group was created. | 1588720733602 | +| `teamId` | *string* | :heavy_check_mark: | ID of the team that this access group belongs to. | team_123a6c5209bc3778245d011443644c8d27dc2c50 | +| `updatedAt` | *string* | :heavy_check_mark: | Timestamp in milliseconds when the access group was last updated. | 1588720733602 | +| `accessGroupId` | *string* | :heavy_check_mark: | ID of the access group. | ag_123a6c5209bc3778245d011443644c8d27dc2c50 | +| `membersCount` | *number* | :heavy_check_mark: | Number of members in the access group. | 5 | +| `projectsCount` | *number* | :heavy_check_mark: | Number of projects in the access group. | 2 | \ No newline at end of file diff --git a/docs/models/readystate.md b/docs/models/readystate.md new file mode 100644 index 00000000..964f491d --- /dev/null +++ b/docs/models/readystate.md @@ -0,0 +1,15 @@ +# ReadyState + +## Example Usage + +```typescript +import { ReadyState } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: ReadyState = "CANCELED"; +``` + +## Values + +```typescript +"CANCELED" | "ERROR" | "QUEUED" | "BUILDING" | "INITIALIZING" | "READY" +``` \ No newline at end of file diff --git a/docs/models/operations/readysubstate.md b/docs/models/readysubstate.md similarity index 80% rename from docs/models/operations/readysubstate.md rename to docs/models/readysubstate.md index 00aa6233..830e5b3f 100644 --- a/docs/models/operations/readysubstate.md +++ b/docs/models/readysubstate.md @@ -5,7 +5,7 @@ Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether ## Example Usage ```typescript -import { ReadySubstate } from "@vercel/sdk/models/operations/createdeployment.js"; +import { ReadySubstate } from "@vercel/sdk/models/createdeploymentop.js"; let value: ReadySubstate = "PROMOTED"; ``` diff --git a/docs/models/reason.md b/docs/models/reason.md new file mode 100644 index 00000000..9e8bf7f2 --- /dev/null +++ b/docs/models/reason.md @@ -0,0 +1,15 @@ +# Reason + +## Example Usage + +```typescript +import { Reason } from "@vercel/sdk/models/authuser.js"; + +let value: Reason = "FAIR_USE_LIMITS_EXCEEDED"; +``` + +## Values + +```typescript +"SUBSCRIPTION_CANCELED" | "SUBSCRIPTION_EXPIRED" | "UNPAID_INVOICE" | "ENTERPRISE_TRIAL_ENDED" | "FAIR_USE_LIMITS_EXCEEDED" | "BLOCKED_FOR_PLATFORM_ABUSE" +``` \ No newline at end of file diff --git a/docs/models/operations/reasons.md b/docs/models/reasons.md similarity index 88% rename from docs/models/operations/reasons.md rename to docs/models/reasons.md index 8bf1005b..f88895f1 100644 --- a/docs/models/operations/reasons.md +++ b/docs/models/reasons.md @@ -5,11 +5,12 @@ An object describing the reason why the team is being deleted. ## Example Usage ```typescript -import { Reasons } from "@vercel/sdk/models/operations/deleteteam.js"; +import { Reasons } from "@vercel/sdk/models/deleteteamop.js"; let value: Reasons = { slug: "", - description: "positively rosemary shaft barring happily obesity lamp", + description: + "middle accurate repeatedly supposing ferociously where loyally beyond", }; ``` diff --git a/docs/models/recentsviewpreference.md b/docs/models/recentsviewpreference.md new file mode 100644 index 00000000..d214d495 --- /dev/null +++ b/docs/models/recentsviewpreference.md @@ -0,0 +1,15 @@ +# RecentsViewPreference + +## Example Usage + +```typescript +import { RecentsViewPreference } from "@vercel/sdk/models/authuser.js"; + +let value: RecentsViewPreference = "open"; +``` + +## Values + +```typescript +"open" | "closed" +``` \ No newline at end of file diff --git a/docs/models/operations/recordeventsrequest.md b/docs/models/recordeventsrequest.md similarity index 92% rename from docs/models/operations/recordeventsrequest.md rename to docs/models/recordeventsrequest.md index 064c6589..fb5aaa18 100644 --- a/docs/models/operations/recordeventsrequest.md +++ b/docs/models/recordeventsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RecordEventsRequest } from "@vercel/sdk/models/operations/recordevents.js"; +import { RecordEventsRequest } from "@vercel/sdk/models/recordeventsop.js"; let value: RecordEventsRequest = { xArtifactClientCi: "VERCEL", @@ -28,4 +28,4 @@ let value: RecordEventsRequest = { | `xArtifactClientInteractive` | *number* | :heavy_minus_sign: | 1 if the client is an interactive shell. Otherwise 0 | 0 | | `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | | `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | -| `requestBody` | [operations.RequestBody](../../models/operations/requestbody.md)[] | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `requestBody` | [models.RequestBody](../models/requestbody.md)[] | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/records.md b/docs/models/records.md new file mode 100644 index 00000000..a944f8e0 --- /dev/null +++ b/docs/models/records.md @@ -0,0 +1,37 @@ +# Records + +## Example Usage + +```typescript +import { Records } from "@vercel/sdk/models/getrecordsop.js"; + +let value: Records = { + id: "", + slug: "", + name: "", + type: "HTTPS", + value: "", + creator: "", + created: 4283.79, + updated: 9231.59, + createdAt: 1050.95, + updatedAt: 9825.74, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `type` | [models.GetRecordsResponseBodyType](../models/getrecordsresponsebodytype.md) | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `mxPriority` | *number* | :heavy_minus_sign: | N/A | +| `priority` | *number* | :heavy_minus_sign: | N/A | +| `creator` | *string* | :heavy_check_mark: | N/A | +| `created` | *number* | :heavy_check_mark: | N/A | +| `updated` | *number* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/recordtype.md b/docs/models/recordtype.md new file mode 100644 index 00000000..987e16a1 --- /dev/null +++ b/docs/models/recordtype.md @@ -0,0 +1,15 @@ +# RecordType + +## Example Usage + +```typescript +import { RecordType } from "@vercel/sdk/models/updaterecordop.js"; + +let value: RecordType = "AAAA"; +``` + +## Values + +```typescript +"A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "HTTPS" | "MX" | "SRV" | "TXT" | "NS" +``` \ No newline at end of file diff --git a/docs/models/redirect.md b/docs/models/redirect.md new file mode 100644 index 00000000..52306882 --- /dev/null +++ b/docs/models/redirect.md @@ -0,0 +1,20 @@ +# Redirect + + +## Supported Types + +### `models.Redirect1` + +```typescript +const value: models.Redirect1 = { + location: "", + permanent: false, +}; +``` + +### `any` + +```typescript +const value: any = ""; +``` + diff --git a/docs/models/operations/redirect1.md b/docs/models/redirect1.md similarity index 85% rename from docs/models/operations/redirect1.md rename to docs/models/redirect1.md index c756c916..7aca91c3 100644 --- a/docs/models/operations/redirect1.md +++ b/docs/models/redirect1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Redirect1 } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { Redirect1 } from "@vercel/sdk/models/putfirewallconfigop.js"; let value: Redirect1 = { location: "", diff --git a/docs/models/redirects.md b/docs/models/redirects.md new file mode 100644 index 00000000..53657416 --- /dev/null +++ b/docs/models/redirects.md @@ -0,0 +1,17 @@ +# Redirects + +Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default). + +## Example Usage + +```typescript +import { Redirects } from "@vercel/sdk/models/getprojectdomainsop.js"; + +let value: Redirects = "true"; +``` + +## Values + +```typescript +"true" | "false" +``` \ No newline at end of file diff --git a/docs/models/redirectstatuscode.md b/docs/models/redirectstatuscode.md new file mode 100644 index 00000000..b6ce31a2 --- /dev/null +++ b/docs/models/redirectstatuscode.md @@ -0,0 +1,17 @@ +# RedirectStatusCode + +Status code for domain redirect + +## Example Usage + +```typescript +import { RedirectStatusCode } from "@vercel/sdk/models/updateprojectdomainop.js"; + +let value: RedirectStatusCode = 307; +``` + +## Values + +```typescript +301 | 302 | 307 | 308 +``` \ No newline at end of file diff --git a/docs/models/remotecaching.md b/docs/models/remotecaching.md new file mode 100644 index 00000000..7123bf5a --- /dev/null +++ b/docs/models/remotecaching.md @@ -0,0 +1,17 @@ +# RemoteCaching + +remote caching settings + +## Example Usage + +```typescript +import { RemoteCaching } from "@vercel/sdk/models/authuser.js"; + +let value: RemoteCaching = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `enabled` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removecertrequest.md b/docs/models/removecertrequest.md similarity index 94% rename from docs/models/operations/removecertrequest.md rename to docs/models/removecertrequest.md index c3208a4f..39af56f9 100644 --- a/docs/models/operations/removecertrequest.md +++ b/docs/models/removecertrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveCertRequest } from "@vercel/sdk/models/operations/removecert.js"; +import { RemoveCertRequest } from "@vercel/sdk/models/removecertop.js"; let value: RemoveCertRequest = { id: "", diff --git a/docs/models/removecertresponsebody.md b/docs/models/removecertresponsebody.md new file mode 100644 index 00000000..5897ded5 --- /dev/null +++ b/docs/models/removecertresponsebody.md @@ -0,0 +1,14 @@ +# RemoveCertResponseBody + +## Example Usage + +```typescript +import { RemoveCertResponseBody } from "@vercel/sdk/models/removecertop.js"; + +let value: RemoveCertResponseBody = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/removeprojectdomainrequest.md b/docs/models/removeprojectdomainrequest.md similarity index 95% rename from docs/models/operations/removeprojectdomainrequest.md rename to docs/models/removeprojectdomainrequest.md index 2d6a39ec..7c9320d8 100644 --- a/docs/models/operations/removeprojectdomainrequest.md +++ b/docs/models/removeprojectdomainrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectDomainRequest } from "@vercel/sdk/models/operations/removeprojectdomain.js"; +import { RemoveProjectDomainRequest } from "@vercel/sdk/models/removeprojectdomainop.js"; let value: RemoveProjectDomainRequest = { idOrName: "", diff --git a/docs/models/operations/removeprojectdomainresponsebody.md b/docs/models/removeprojectdomainresponsebody.md similarity index 90% rename from docs/models/operations/removeprojectdomainresponsebody.md rename to docs/models/removeprojectdomainresponsebody.md index 4be9d8fb..da2b8622 100644 --- a/docs/models/operations/removeprojectdomainresponsebody.md +++ b/docs/models/removeprojectdomainresponsebody.md @@ -5,7 +5,7 @@ The domain was succesfully removed from the project ## Example Usage ```typescript -import { RemoveProjectDomainResponseBody } from "@vercel/sdk/models/operations/removeprojectdomain.js"; +import { RemoveProjectDomainResponseBody } from "@vercel/sdk/models/removeprojectdomainop.js"; let value: RemoveProjectDomainResponseBody = {}; ``` diff --git a/docs/models/removeprojectenvcontenthint1.md b/docs/models/removeprojectenvcontenthint1.md new file mode 100644 index 00000000..990e7402 --- /dev/null +++ b/docs/models/removeprojectenvcontenthint1.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHint1 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHint1 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintType](../models/removeprojectenvcontenthinttype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthint10.md b/docs/models/removeprojectenvcontenthint10.md new file mode 100644 index 00000000..6cf299a6 --- /dev/null +++ b/docs/models/removeprojectenvcontenthint10.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHint10 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHint10 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthint11.md b/docs/models/removeprojectenvcontenthint11.md new file mode 100644 index 00000000..af725bc8 --- /dev/null +++ b/docs/models/removeprojectenvcontenthint11.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHint11 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHint11 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthint12.md b/docs/models/removeprojectenvcontenthint12.md new file mode 100644 index 00000000..b035a9ee --- /dev/null +++ b/docs/models/removeprojectenvcontenthint12.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHint12 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHint12 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHint12 = { + type: "postgres-database", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthint13.md b/docs/models/removeprojectenvcontenthint13.md new file mode 100644 index 00000000..8f230292 --- /dev/null +++ b/docs/models/removeprojectenvcontenthint13.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHint13 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHint13 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHint13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthint14.md b/docs/models/removeprojectenvcontenthint14.md new file mode 100644 index 00000000..15ba42c6 --- /dev/null +++ b/docs/models/removeprojectenvcontenthint14.md @@ -0,0 +1,25 @@ +# RemoveProjectEnvContentHint14 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHint14 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHint14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthint15.md b/docs/models/removeprojectenvcontenthint15.md new file mode 100644 index 00000000..6ce4cab4 --- /dev/null +++ b/docs/models/removeprojectenvcontenthint15.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHint15 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHint15 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHint15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthint2.md b/docs/models/removeprojectenvcontenthint2.md new file mode 100644 index 00000000..a9acf7ee --- /dev/null +++ b/docs/models/removeprojectenvcontenthint2.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHint2 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHint2 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `type` | [models.RemoveProjectEnvContentHintProjectsType](../models/removeprojectenvcontenthintprojectstype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthint3.md b/docs/models/removeprojectenvcontenthint3.md new file mode 100644 index 00000000..c5135d24 --- /dev/null +++ b/docs/models/removeprojectenvcontenthint3.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHint3 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHint3 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponseType](../models/removeprojectenvcontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthint4.md b/docs/models/removeprojectenvcontenthint4.md new file mode 100644 index 00000000..89792c65 --- /dev/null +++ b/docs/models/removeprojectenvcontenthint4.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHint4 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHint4 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200Type](../models/removeprojectenvcontenthintprojectsresponse200type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthint5.md b/docs/models/removeprojectenvcontenthint5.md new file mode 100644 index 00000000..0e6b363a --- /dev/null +++ b/docs/models/removeprojectenvcontenthint5.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHint5 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHint5 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType](../models/removeprojectenvcontenthintprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthint6.md b/docs/models/removeprojectenvcontenthint6.md new file mode 100644 index 00000000..be431e4c --- /dev/null +++ b/docs/models/removeprojectenvcontenthint6.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHint6 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHint6 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthint7.md b/docs/models/removeprojectenvcontenthint7.md new file mode 100644 index 00000000..722736a1 --- /dev/null +++ b/docs/models/removeprojectenvcontenthint7.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHint7 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHint7 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthint8.md b/docs/models/removeprojectenvcontenthint8.md new file mode 100644 index 00000000..102c7974 --- /dev/null +++ b/docs/models/removeprojectenvcontenthint8.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHint8 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHint8 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthint9.md b/docs/models/removeprojectenvcontenthint9.md new file mode 100644 index 00000000..ff2be237 --- /dev/null +++ b/docs/models/removeprojectenvcontenthint9.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHint9 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHint9 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojects1.md b/docs/models/removeprojectenvcontenthintprojects1.md new file mode 100644 index 00000000..06a849ac --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojects1.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjects1 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjects1 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjects1 = { + type: "redis-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojects10.md b/docs/models/removeprojectenvcontenthintprojects10.md new file mode 100644 index 00000000..fe53a781 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojects10.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjects10 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjects10 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjects10 = { + type: "postgres-host", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojects11.md b/docs/models/removeprojectenvcontenthintprojects11.md new file mode 100644 index 00000000..fcb261e0 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojects11.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjects11 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjects11 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjects11 = { + type: "postgres-password", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojects12.md b/docs/models/removeprojectenvcontenthintprojects12.md new file mode 100644 index 00000000..37bebfe9 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojects12.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjects12 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjects12 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjects12 = { + type: "postgres-database", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojects13.md b/docs/models/removeprojectenvcontenthintprojects13.md new file mode 100644 index 00000000..44ff4e11 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojects13.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjects13 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjects13 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjects13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojects14.md b/docs/models/removeprojectenvcontenthintprojects14.md new file mode 100644 index 00000000..39843702 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojects14.md @@ -0,0 +1,25 @@ +# RemoveProjectEnvContentHintProjects14 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjects14 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjects14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojects15.md b/docs/models/removeprojectenvcontenthintprojects15.md new file mode 100644 index 00000000..258ada08 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojects15.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjects15 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjects15 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjects15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojects2.md b/docs/models/removeprojectenvcontenthintprojects2.md new file mode 100644 index 00000000..a84c6fd2 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojects2.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjects2 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjects2 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjects2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojects3.md b/docs/models/removeprojectenvcontenthintprojects3.md new file mode 100644 index 00000000..6c22307e --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojects3.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjects3 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjects3 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjects3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojects4.md b/docs/models/removeprojectenvcontenthintprojects4.md new file mode 100644 index 00000000..00d155a5 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojects4.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjects4 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjects4 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjects4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojects5.md b/docs/models/removeprojectenvcontenthintprojects5.md new file mode 100644 index 00000000..eda525ef --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojects5.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjects5 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjects5 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjects5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojects6.md b/docs/models/removeprojectenvcontenthintprojects6.md new file mode 100644 index 00000000..01d82cc8 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojects6.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjects6 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjects6 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjects6 = { + type: "postgres-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojects7.md b/docs/models/removeprojectenvcontenthintprojects7.md new file mode 100644 index 00000000..363f41c6 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojects7.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjects7 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjects7 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjects7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojects8.md b/docs/models/removeprojectenvcontenthintprojects8.md new file mode 100644 index 00000000..a20b9a34 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojects8.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjects8 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjects8 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjects8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojects9.md b/docs/models/removeprojectenvcontenthintprojects9.md new file mode 100644 index 00000000..3918effa --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojects9.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjects9 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjects9 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjects9 = { + type: "postgres-user", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojectsresponse1.md b/docs/models/removeprojectenvcontenthintprojectsresponse1.md new file mode 100644 index 00000000..2d1d4bb8 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojectsresponse1.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjectsResponse1 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjectsResponse1 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjectsResponse1 = { + type: "redis-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojectsresponse10.md b/docs/models/removeprojectenvcontenthintprojectsresponse10.md new file mode 100644 index 00000000..0411ff22 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojectsresponse10.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjectsResponse10 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjectsResponse10 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjectsResponse10 = { + type: "postgres-host", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojectsresponse11.md b/docs/models/removeprojectenvcontenthintprojectsresponse11.md new file mode 100644 index 00000000..8f5e7173 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojectsresponse11.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjectsResponse11 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjectsResponse11 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjectsResponse11 = { + type: "postgres-password", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojectsresponse12.md b/docs/models/removeprojectenvcontenthintprojectsresponse12.md new file mode 100644 index 00000000..c7becbf9 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojectsresponse12.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjectsResponse12 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjectsResponse12 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjectsResponse12 = { + type: "postgres-database", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojectsresponse13.md b/docs/models/removeprojectenvcontenthintprojectsresponse13.md new file mode 100644 index 00000000..a7cc30c4 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojectsresponse13.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjectsResponse13 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjectsResponse13 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjectsResponse13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojectsresponse14.md b/docs/models/removeprojectenvcontenthintprojectsresponse14.md new file mode 100644 index 00000000..62e55c1d --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojectsresponse14.md @@ -0,0 +1,25 @@ +# RemoveProjectEnvContentHintProjectsResponse14 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjectsResponse14 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjectsResponse14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojectsresponse15.md b/docs/models/removeprojectenvcontenthintprojectsresponse15.md new file mode 100644 index 00000000..076ae218 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojectsresponse15.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjectsResponse15 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjectsResponse15 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjectsResponse15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojectsresponse2.md b/docs/models/removeprojectenvcontenthintprojectsresponse2.md new file mode 100644 index 00000000..6c033d02 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojectsresponse2.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjectsResponse2 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjectsResponse2 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjectsResponse2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md index d32226a3..273fcd96 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody110type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md index 7d8b2af1..6560f8bd 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody111type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md index 844d3f79..6a03c343 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody112type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md index 94da7096..d1616a61 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody113type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md similarity index 81% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md index 086b695c..69cfe287 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody114type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md similarity index 81% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md index 2426f751..bcb205eb 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody115type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md index f4759666..745e0c60 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody18type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md index e32c4bfb..31fb955f 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody19type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md similarity index 81% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md index 45556b93..9d755c87 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody1type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md index 3ee2e0a1..437a492b 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody210type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md index 7452ba9b..33361a52 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody211type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md index b64b5f9d..f67f0833 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody212type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md index 32c20192..b04921d4 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody213type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md similarity index 81% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md index 189b27e3..e2030b1f 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody214type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md similarity index 81% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md index 97533ac1..b62873d0 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody215type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md index 06399723..5c308ecb 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody22type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md index 18a6cfd8..0bdca715 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody23type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md similarity index 81% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md index 76bd85e6..5e11c054 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody24type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md index 47c2dec8..627593d3 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody25type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md index baa7a1c0..9a954e97 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody26type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md similarity index 81% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md index 288e9b40..0fdf82c8 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody27type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md index 2079340b..3eb49d81 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody28type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md index ec798867..3b8d1fa4 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody29type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md similarity index 79% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md index 145570aa..4e7d2d40 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody2type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md index d6d7be34..c1bbd716 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody310type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md index 558b57b0..2e02a52d 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody311type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md index a525d602..f48b414d 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody312type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md index 9400b42e..4e4f932d 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody313type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md similarity index 81% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md index 1bb9f86b..e8e38768 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody314type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md similarity index 81% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md index e3667ea8..a33d87d9 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody315type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md index ec0b9441..d4e18eaa 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody32type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md index ff02b3c2..b6a71009 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md similarity index 81% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md index 422a4876..7cfa806a 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md index d38d1548..0eb14811 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md index 8937884e..93308061 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md similarity index 81% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md index 3973f9c7..d060dc92 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md index 9bb730b6..cb93b53e 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md index 4f7ae443..0892d46e 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md similarity index 79% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md index 5844eb8e..e6158bad 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody3type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md similarity index 80% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md index 50c76611..191f86c3 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType = diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsontype.md b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsontype.md similarity index 82% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsontype.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsontype.md index 2dc5c92c..66979174 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200applicationjsontype.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType = "blob-read-write-token"; diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200type.md b/docs/models/removeprojectenvcontenthintprojectsresponse200type.md similarity index 84% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponse200type.md rename to docs/models/removeprojectenvcontenthintprojectsresponse200type.md index ec54b070..775f6b66 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponse200type.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponse200Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponse200Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponse200Type = "redis-rest-api-read-only-token"; diff --git a/docs/models/removeprojectenvcontenthintprojectsresponse3.md b/docs/models/removeprojectenvcontenthintprojectsresponse3.md new file mode 100644 index 00000000..012ff09c --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojectsresponse3.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjectsResponse3 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjectsResponse3 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjectsResponse3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody33type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojectsresponse4.md b/docs/models/removeprojectenvcontenthintprojectsresponse4.md new file mode 100644 index 00000000..7c0d458c --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojectsresponse4.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjectsResponse4 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjectsResponse4 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjectsResponse4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody34type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojectsresponse5.md b/docs/models/removeprojectenvcontenthintprojectsresponse5.md new file mode 100644 index 00000000..664cd8e7 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojectsresponse5.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjectsResponse5 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjectsResponse5 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjectsResponse5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody35type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojectsresponse6.md b/docs/models/removeprojectenvcontenthintprojectsresponse6.md new file mode 100644 index 00000000..37ae84b8 --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojectsresponse6.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjectsResponse6 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjectsResponse6 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjectsResponse6 = { + type: "postgres-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody36type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojectsresponse7.md b/docs/models/removeprojectenvcontenthintprojectsresponse7.md new file mode 100644 index 00000000..000f416d --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojectsresponse7.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjectsResponse7 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjectsResponse7 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjectsResponse7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody37type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojectsresponse8.md b/docs/models/removeprojectenvcontenthintprojectsresponse8.md new file mode 100644 index 00000000..284157ff --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojectsresponse8.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjectsResponse8 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjectsResponse8 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjectsResponse8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody38type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvcontenthintprojectsresponse9.md b/docs/models/removeprojectenvcontenthintprojectsresponse9.md new file mode 100644 index 00000000..68751ced --- /dev/null +++ b/docs/models/removeprojectenvcontenthintprojectsresponse9.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvContentHintProjectsResponse9 + +## Example Usage + +```typescript +import { RemoveProjectEnvContentHintProjectsResponse9 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvContentHintProjectsResponse9 = { + type: "postgres-user", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type](../models/removeprojectenvcontenthintprojectsresponse200applicationjsonresponsebody39type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvcontenthintprojectsresponsetype.md b/docs/models/removeprojectenvcontenthintprojectsresponsetype.md similarity index 84% rename from docs/models/operations/removeprojectenvcontenthintprojectsresponsetype.md rename to docs/models/removeprojectenvcontenthintprojectsresponsetype.md index 480d0861..93d0ceb6 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectsresponsetype.md +++ b/docs/models/removeprojectenvcontenthintprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsResponseType } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsResponseType } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsResponseType = "redis-rest-api-token"; diff --git a/docs/models/operations/removeprojectenvcontenthintprojectstype.md b/docs/models/removeprojectenvcontenthintprojectstype.md similarity index 85% rename from docs/models/operations/removeprojectenvcontenthintprojectstype.md rename to docs/models/removeprojectenvcontenthintprojectstype.md index 14ce1c2c..c31b65f1 100644 --- a/docs/models/operations/removeprojectenvcontenthintprojectstype.md +++ b/docs/models/removeprojectenvcontenthintprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintProjectsType } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintProjectsType } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintProjectsType = "redis-rest-api-url"; ``` diff --git a/docs/models/operations/removeprojectenvcontenthinttype.md b/docs/models/removeprojectenvcontenthinttype.md similarity index 86% rename from docs/models/operations/removeprojectenvcontenthinttype.md rename to docs/models/removeprojectenvcontenthinttype.md index 1aa79083..ba226343 100644 --- a/docs/models/operations/removeprojectenvcontenthinttype.md +++ b/docs/models/removeprojectenvcontenthinttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvContentHintType } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvContentHintType } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvContentHintType = "redis-url"; ``` diff --git a/docs/models/operations/removeprojectenvrequest.md b/docs/models/removeprojectenvrequest.md similarity index 95% rename from docs/models/operations/removeprojectenvrequest.md rename to docs/models/removeprojectenvrequest.md index be8b98ee..70af1eaa 100644 --- a/docs/models/operations/removeprojectenvrequest.md +++ b/docs/models/removeprojectenvrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvRequest } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvRequest } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvRequest = { idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", diff --git a/docs/models/removeprojectenvresponsebody.md b/docs/models/removeprojectenvresponsebody.md new file mode 100644 index 00000000..ab9c8ce1 --- /dev/null +++ b/docs/models/removeprojectenvresponsebody.md @@ -0,0 +1,39 @@ +# RemoveProjectEnvResponseBody + +The environment variable was successfully removed + + +## Supported Types + +### `models.RemoveProjectEnvResponseBody1[]` + +```typescript +const value: models.RemoveProjectEnvResponseBody1[] = [ + { + type: "encrypted", + key: "", + value: "", + }, +]; +``` + +### `models.RemoveProjectEnvResponseBody2` + +```typescript +const value: models.RemoveProjectEnvResponseBody2 = { + type: "system", + key: "", + value: "", +}; +``` + +### `models.RemoveProjectEnvResponseBody3` + +```typescript +const value: models.RemoveProjectEnvResponseBody3 = { + type: "encrypted", + key: "", + value: "", +}; +``` + diff --git a/docs/models/removeprojectenvresponsebody1.md b/docs/models/removeprojectenvresponsebody1.md new file mode 100644 index 00000000..3f779ff0 --- /dev/null +++ b/docs/models/removeprojectenvresponsebody1.md @@ -0,0 +1,38 @@ +# RemoveProjectEnvResponseBody1 + +## Example Usage + +```typescript +import { RemoveProjectEnvResponseBody1 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvResponseBody1 = { + type: "plain", + key: "", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `target` | *models.RemoveProjectEnvResponseBodyTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.RemoveProjectEnvResponseBodyType](../models/removeprojectenvresponsebodytype.md) | :heavy_check_mark: | N/A | +| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdBy` | *string* | :heavy_minus_sign: | N/A | +| `updatedBy` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `contentHint` | *models.RemoveProjectEnvResponseBodyContentHint* | :heavy_minus_sign: | N/A | +| `internalContentHint` | [models.RemoveProjectEnvResponseBodyInternalContentHint](../models/removeprojectenvresponsebodyinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | +| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | +| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvresponsebody2.md b/docs/models/removeprojectenvresponsebody2.md new file mode 100644 index 00000000..35c689ea --- /dev/null +++ b/docs/models/removeprojectenvresponsebody2.md @@ -0,0 +1,39 @@ +# RemoveProjectEnvResponseBody2 + +## Example Usage + +```typescript +import { RemoveProjectEnvResponseBody2 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvResponseBody2 = { + type: "encrypted", + key: "", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `system` | *boolean* | :heavy_minus_sign: | N/A | +| `target` | *models.RemoveProjectEnvResponseBodyProjectsTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.RemoveProjectEnvResponseBodyProjectsType](../models/removeprojectenvresponsebodyprojectstype.md) | :heavy_check_mark: | N/A | +| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdBy` | *string* | :heavy_minus_sign: | N/A | +| `updatedBy` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `contentHint` | *models.RemoveProjectEnvResponseBodyProjectsContentHint* | :heavy_minus_sign: | N/A | +| `internalContentHint` | [models.RemoveProjectEnvResponseBodyProjectsInternalContentHint](../models/removeprojectenvresponsebodyprojectsinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | +| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | +| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvresponsebody3.md b/docs/models/removeprojectenvresponsebody3.md new file mode 100644 index 00000000..fa23b257 --- /dev/null +++ b/docs/models/removeprojectenvresponsebody3.md @@ -0,0 +1,38 @@ +# RemoveProjectEnvResponseBody3 + +## Example Usage + +```typescript +import { RemoveProjectEnvResponseBody3 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvResponseBody3 = { + type: "sensitive", + key: "", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `target` | *models.RemoveProjectEnvResponseBodyProjectsResponseTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.RemoveProjectEnvResponseBodyProjectsResponseType](../models/removeprojectenvresponsebodyprojectsresponsetype.md) | :heavy_check_mark: | N/A | +| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdBy` | *string* | :heavy_minus_sign: | N/A | +| `updatedBy` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `contentHint` | *models.RemoveProjectEnvResponseBodyProjectsResponseContentHint* | :heavy_minus_sign: | N/A | +| `internalContentHint` | [models.RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint](../models/removeprojectenvresponsebodyprojectsresponseinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | +| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | +| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/removeprojectenvresponsebodycontenthint.md b/docs/models/removeprojectenvresponsebodycontenthint.md new file mode 100644 index 00000000..fd6e5665 --- /dev/null +++ b/docs/models/removeprojectenvresponsebodycontenthint.md @@ -0,0 +1,143 @@ +# RemoveProjectEnvResponseBodyContentHint + + +## Supported Types + +### `models.RemoveProjectEnvContentHint1` + +```typescript +const value: models.RemoveProjectEnvContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHint2` + +```typescript +const value: models.RemoveProjectEnvContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHint3` + +```typescript +const value: models.RemoveProjectEnvContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHint4` + +```typescript +const value: models.RemoveProjectEnvContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHint5` + +```typescript +const value: models.RemoveProjectEnvContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHint6` + +```typescript +const value: models.RemoveProjectEnvContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHint7` + +```typescript +const value: models.RemoveProjectEnvContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHint8` + +```typescript +const value: models.RemoveProjectEnvContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHint9` + +```typescript +const value: models.RemoveProjectEnvContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHint10` + +```typescript +const value: models.RemoveProjectEnvContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHint11` + +```typescript +const value: models.RemoveProjectEnvContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHint12` + +```typescript +const value: models.RemoveProjectEnvContentHint12 = { + type: "postgres-database", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHint13` + +```typescript +const value: models.RemoveProjectEnvContentHint13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHint14` + +```typescript +const value: models.RemoveProjectEnvContentHint14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +### `models.RemoveProjectEnvContentHint15` + +```typescript +const value: models.RemoveProjectEnvContentHint15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + diff --git a/docs/models/removeprojectenvresponsebodyinternalcontenthint.md b/docs/models/removeprojectenvresponsebodyinternalcontenthint.md new file mode 100644 index 00000000..233a4ef7 --- /dev/null +++ b/docs/models/removeprojectenvresponsebodyinternalcontenthint.md @@ -0,0 +1,21 @@ +# RemoveProjectEnvResponseBodyInternalContentHint + +Similar to `contentHints`, but should not be exposed to the user. + +## Example Usage + +```typescript +import { RemoveProjectEnvResponseBodyInternalContentHint } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvResponseBodyInternalContentHint = { + type: "flags-secret", + encryptedValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType](../models/removeprojectenvresponsebodyprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/removeprojectenvresponsebodyprojectscontenthint.md b/docs/models/removeprojectenvresponsebodyprojectscontenthint.md new file mode 100644 index 00000000..dcc1bd5d --- /dev/null +++ b/docs/models/removeprojectenvresponsebodyprojectscontenthint.md @@ -0,0 +1,143 @@ +# RemoveProjectEnvResponseBodyProjectsContentHint + + +## Supported Types + +### `models.RemoveProjectEnvContentHintProjects1` + +```typescript +const value: models.RemoveProjectEnvContentHintProjects1 = { + type: "redis-url", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjects2` + +```typescript +const value: models.RemoveProjectEnvContentHintProjects2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjects3` + +```typescript +const value: models.RemoveProjectEnvContentHintProjects3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjects4` + +```typescript +const value: models.RemoveProjectEnvContentHintProjects4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjects5` + +```typescript +const value: models.RemoveProjectEnvContentHintProjects5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjects6` + +```typescript +const value: models.RemoveProjectEnvContentHintProjects6 = { + type: "postgres-url", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjects7` + +```typescript +const value: models.RemoveProjectEnvContentHintProjects7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjects8` + +```typescript +const value: models.RemoveProjectEnvContentHintProjects8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjects9` + +```typescript +const value: models.RemoveProjectEnvContentHintProjects9 = { + type: "postgres-user", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjects10` + +```typescript +const value: models.RemoveProjectEnvContentHintProjects10 = { + type: "postgres-host", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjects11` + +```typescript +const value: models.RemoveProjectEnvContentHintProjects11 = { + type: "postgres-password", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjects12` + +```typescript +const value: models.RemoveProjectEnvContentHintProjects12 = { + type: "postgres-database", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjects13` + +```typescript +const value: models.RemoveProjectEnvContentHintProjects13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjects14` + +```typescript +const value: models.RemoveProjectEnvContentHintProjects14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjects15` + +```typescript +const value: models.RemoveProjectEnvContentHintProjects15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + diff --git a/docs/models/removeprojectenvresponsebodyprojectsinternalcontenthint.md b/docs/models/removeprojectenvresponsebodyprojectsinternalcontenthint.md new file mode 100644 index 00000000..7e98bff7 --- /dev/null +++ b/docs/models/removeprojectenvresponsebodyprojectsinternalcontenthint.md @@ -0,0 +1,21 @@ +# RemoveProjectEnvResponseBodyProjectsInternalContentHint + +Similar to `contentHints`, but should not be exposed to the user. + +## Example Usage + +```typescript +import { RemoveProjectEnvResponseBodyProjectsInternalContentHint } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvResponseBodyProjectsInternalContentHint = { + type: "flags-secret", + encryptedValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.RemoveProjectEnvResponseBodyProjectsResponse200Type](../models/removeprojectenvresponsebodyprojectsresponse200type.md) | :heavy_check_mark: | N/A | +| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvresponsebodyprojectsresponse200applicationjson3type.md b/docs/models/removeprojectenvresponsebodyprojectsresponse200applicationjson3type.md similarity index 81% rename from docs/models/operations/removeprojectenvresponsebodyprojectsresponse200applicationjson3type.md rename to docs/models/removeprojectenvresponsebodyprojectsresponse200applicationjson3type.md index a8d3da20..be4a2135 100644 --- a/docs/models/operations/removeprojectenvresponsebodyprojectsresponse200applicationjson3type.md +++ b/docs/models/removeprojectenvresponsebodyprojectsresponse200applicationjson3type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type = "flags-secret"; diff --git a/docs/models/operations/removeprojectenvresponsebodyprojectsresponse200applicationjsontype.md b/docs/models/removeprojectenvresponsebodyprojectsresponse200applicationjsontype.md similarity index 81% rename from docs/models/operations/removeprojectenvresponsebodyprojectsresponse200applicationjsontype.md rename to docs/models/removeprojectenvresponsebodyprojectsresponse200applicationjsontype.md index 8bb80629..c074882c 100644 --- a/docs/models/operations/removeprojectenvresponsebodyprojectsresponse200applicationjsontype.md +++ b/docs/models/removeprojectenvresponsebodyprojectsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType = "flags-secret"; diff --git a/docs/models/operations/removeprojectenvresponsebodyprojectsresponse200type.md b/docs/models/removeprojectenvresponsebodyprojectsresponse200type.md similarity index 83% rename from docs/models/operations/removeprojectenvresponsebodyprojectsresponse200type.md rename to docs/models/removeprojectenvresponsebodyprojectsresponse200type.md index 015195cc..badaad1e 100644 --- a/docs/models/operations/removeprojectenvresponsebodyprojectsresponse200type.md +++ b/docs/models/removeprojectenvresponsebodyprojectsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvResponseBodyProjectsResponse200Type } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvResponseBodyProjectsResponse200Type } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvResponseBodyProjectsResponse200Type = "flags-secret"; ``` diff --git a/docs/models/removeprojectenvresponsebodyprojectsresponsecontenthint.md b/docs/models/removeprojectenvresponsebodyprojectsresponsecontenthint.md new file mode 100644 index 00000000..ac40098d --- /dev/null +++ b/docs/models/removeprojectenvresponsebodyprojectsresponsecontenthint.md @@ -0,0 +1,143 @@ +# RemoveProjectEnvResponseBodyProjectsResponseContentHint + + +## Supported Types + +### `models.RemoveProjectEnvContentHintProjectsResponse1` + +```typescript +const value: models.RemoveProjectEnvContentHintProjectsResponse1 = { + type: "redis-url", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjectsResponse2` + +```typescript +const value: models.RemoveProjectEnvContentHintProjectsResponse2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjectsResponse3` + +```typescript +const value: models.RemoveProjectEnvContentHintProjectsResponse3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjectsResponse4` + +```typescript +const value: models.RemoveProjectEnvContentHintProjectsResponse4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjectsResponse5` + +```typescript +const value: models.RemoveProjectEnvContentHintProjectsResponse5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjectsResponse6` + +```typescript +const value: models.RemoveProjectEnvContentHintProjectsResponse6 = { + type: "postgres-url", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjectsResponse7` + +```typescript +const value: models.RemoveProjectEnvContentHintProjectsResponse7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjectsResponse8` + +```typescript +const value: models.RemoveProjectEnvContentHintProjectsResponse8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjectsResponse9` + +```typescript +const value: models.RemoveProjectEnvContentHintProjectsResponse9 = { + type: "postgres-user", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjectsResponse10` + +```typescript +const value: models.RemoveProjectEnvContentHintProjectsResponse10 = { + type: "postgres-host", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjectsResponse11` + +```typescript +const value: models.RemoveProjectEnvContentHintProjectsResponse11 = { + type: "postgres-password", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjectsResponse12` + +```typescript +const value: models.RemoveProjectEnvContentHintProjectsResponse12 = { + type: "postgres-database", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjectsResponse13` + +```typescript +const value: models.RemoveProjectEnvContentHintProjectsResponse13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjectsResponse14` + +```typescript +const value: models.RemoveProjectEnvContentHintProjectsResponse14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +### `models.RemoveProjectEnvContentHintProjectsResponse15` + +```typescript +const value: models.RemoveProjectEnvContentHintProjectsResponse15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + diff --git a/docs/models/removeprojectenvresponsebodyprojectsresponseinternalcontenthint.md b/docs/models/removeprojectenvresponsebodyprojectsresponseinternalcontenthint.md new file mode 100644 index 00000000..ec6b8205 --- /dev/null +++ b/docs/models/removeprojectenvresponsebodyprojectsresponseinternalcontenthint.md @@ -0,0 +1,21 @@ +# RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint + +Similar to `contentHints`, but should not be exposed to the user. + +## Example Usage + +```typescript +import { RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint = { + type: "flags-secret", + encryptedValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type](../models/removeprojectenvresponsebodyprojectsresponse200applicationjson3type.md) | :heavy_check_mark: | N/A | +| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/removeprojectenvresponsebodyprojectsresponsetarget.md b/docs/models/removeprojectenvresponsebodyprojectsresponsetarget.md new file mode 100644 index 00000000..c1719dab --- /dev/null +++ b/docs/models/removeprojectenvresponsebodyprojectsresponsetarget.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvResponseBodyProjectsResponseTarget + + +## Supported Types + +### `models.RemoveProjectEnvTargetProjectsResponse1[]` + +```typescript +const value: models.RemoveProjectEnvTargetProjectsResponse1[] = [ + "preview", +]; +``` + +### `models.RemoveProjectEnvTargetProjectsResponse2` + +```typescript +const value: models.RemoveProjectEnvTargetProjectsResponse2 = "production"; +``` + diff --git a/docs/models/removeprojectenvresponsebodyprojectsresponsetype.md b/docs/models/removeprojectenvresponsebodyprojectsresponsetype.md new file mode 100644 index 00000000..ec913142 --- /dev/null +++ b/docs/models/removeprojectenvresponsebodyprojectsresponsetype.md @@ -0,0 +1,15 @@ +# RemoveProjectEnvResponseBodyProjectsResponseType + +## Example Usage + +```typescript +import { RemoveProjectEnvResponseBodyProjectsResponseType } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvResponseBodyProjectsResponseType = "plain"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/removeprojectenvresponsebodyprojectstarget.md b/docs/models/removeprojectenvresponsebodyprojectstarget.md new file mode 100644 index 00000000..236616c1 --- /dev/null +++ b/docs/models/removeprojectenvresponsebodyprojectstarget.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvResponseBodyProjectsTarget + + +## Supported Types + +### `models.RemoveProjectEnvTargetProjects1[]` + +```typescript +const value: models.RemoveProjectEnvTargetProjects1[] = [ + "production", +]; +``` + +### `models.RemoveProjectEnvTargetProjects2` + +```typescript +const value: models.RemoveProjectEnvTargetProjects2 = "development"; +``` + diff --git a/docs/models/removeprojectenvresponsebodyprojectstype.md b/docs/models/removeprojectenvresponsebodyprojectstype.md new file mode 100644 index 00000000..cbba5d63 --- /dev/null +++ b/docs/models/removeprojectenvresponsebodyprojectstype.md @@ -0,0 +1,15 @@ +# RemoveProjectEnvResponseBodyProjectsType + +## Example Usage + +```typescript +import { RemoveProjectEnvResponseBodyProjectsType } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvResponseBodyProjectsType = "plain"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/removeprojectenvresponsebodytarget.md b/docs/models/removeprojectenvresponsebodytarget.md new file mode 100644 index 00000000..bc3bdbae --- /dev/null +++ b/docs/models/removeprojectenvresponsebodytarget.md @@ -0,0 +1,19 @@ +# RemoveProjectEnvResponseBodyTarget + + +## Supported Types + +### `models.RemoveProjectEnvTarget1[]` + +```typescript +const value: models.RemoveProjectEnvTarget1[] = [ + "production", +]; +``` + +### `models.RemoveProjectEnvTarget2` + +```typescript +const value: models.RemoveProjectEnvTarget2 = "development"; +``` + diff --git a/docs/models/removeprojectenvresponsebodytype.md b/docs/models/removeprojectenvresponsebodytype.md new file mode 100644 index 00000000..4f13e6dd --- /dev/null +++ b/docs/models/removeprojectenvresponsebodytype.md @@ -0,0 +1,15 @@ +# RemoveProjectEnvResponseBodyType + +## Example Usage + +```typescript +import { RemoveProjectEnvResponseBodyType } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvResponseBodyType = "sensitive"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/removeprojectenvtarget1.md b/docs/models/removeprojectenvtarget1.md new file mode 100644 index 00000000..7ddd5083 --- /dev/null +++ b/docs/models/removeprojectenvtarget1.md @@ -0,0 +1,15 @@ +# RemoveProjectEnvTarget1 + +## Example Usage + +```typescript +import { RemoveProjectEnvTarget1 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvTarget1 = "development"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/removeprojectenvtarget2.md b/docs/models/removeprojectenvtarget2.md new file mode 100644 index 00000000..02ce0f6d --- /dev/null +++ b/docs/models/removeprojectenvtarget2.md @@ -0,0 +1,15 @@ +# RemoveProjectEnvTarget2 + +## Example Usage + +```typescript +import { RemoveProjectEnvTarget2 } from "@vercel/sdk/models/removeprojectenvop.js"; + +let value: RemoveProjectEnvTarget2 = "production"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvtargetprojects1.md b/docs/models/removeprojectenvtargetprojects1.md similarity index 87% rename from docs/models/operations/removeprojectenvtargetprojects1.md rename to docs/models/removeprojectenvtargetprojects1.md index 601946c5..8474454c 100644 --- a/docs/models/operations/removeprojectenvtargetprojects1.md +++ b/docs/models/removeprojectenvtargetprojects1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvTargetProjects1 } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvTargetProjects1 } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvTargetProjects1 = "development"; ``` diff --git a/docs/models/operations/removeprojectenvtargetprojects2.md b/docs/models/removeprojectenvtargetprojects2.md similarity index 87% rename from docs/models/operations/removeprojectenvtargetprojects2.md rename to docs/models/removeprojectenvtargetprojects2.md index 8f2e798c..9906f9ca 100644 --- a/docs/models/operations/removeprojectenvtargetprojects2.md +++ b/docs/models/removeprojectenvtargetprojects2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvTargetProjects2 } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvTargetProjects2 } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvTargetProjects2 = "production"; ``` diff --git a/docs/models/operations/removeprojectenvtargetprojectsresponse1.md b/docs/models/removeprojectenvtargetprojectsresponse1.md similarity index 86% rename from docs/models/operations/removeprojectenvtargetprojectsresponse1.md rename to docs/models/removeprojectenvtargetprojectsresponse1.md index 76cd275e..9a83fa6d 100644 --- a/docs/models/operations/removeprojectenvtargetprojectsresponse1.md +++ b/docs/models/removeprojectenvtargetprojectsresponse1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvTargetProjectsResponse1 } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvTargetProjectsResponse1 } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvTargetProjectsResponse1 = "preview"; ``` diff --git a/docs/models/operations/removeprojectenvtargetprojectsresponse2.md b/docs/models/removeprojectenvtargetprojectsresponse2.md similarity index 86% rename from docs/models/operations/removeprojectenvtargetprojectsresponse2.md rename to docs/models/removeprojectenvtargetprojectsresponse2.md index 1bfb54e6..6a06604c 100644 --- a/docs/models/operations/removeprojectenvtargetprojectsresponse2.md +++ b/docs/models/removeprojectenvtargetprojectsresponse2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectEnvTargetProjectsResponse2 } from "@vercel/sdk/models/operations/removeprojectenv.js"; +import { RemoveProjectEnvTargetProjectsResponse2 } from "@vercel/sdk/models/removeprojectenvop.js"; let value: RemoveProjectEnvTargetProjectsResponse2 = "development"; ``` diff --git a/docs/models/operations/removeprojectmemberrequest.md b/docs/models/removeprojectmemberrequest.md similarity index 95% rename from docs/models/operations/removeprojectmemberrequest.md rename to docs/models/removeprojectmemberrequest.md index f96ce6ec..c840faa1 100644 --- a/docs/models/operations/removeprojectmemberrequest.md +++ b/docs/models/removeprojectmemberrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectMemberRequest } from "@vercel/sdk/models/operations/removeprojectmember.js"; +import { RemoveProjectMemberRequest } from "@vercel/sdk/models/removeprojectmemberop.js"; let value: RemoveProjectMemberRequest = { idOrName: "prj_pavWOn1iLObbXLRiwVvzmPrTWyTf", diff --git a/docs/models/operations/removeprojectmemberresponsebody.md b/docs/models/removeprojectmemberresponsebody.md similarity index 92% rename from docs/models/operations/removeprojectmemberresponsebody.md rename to docs/models/removeprojectmemberresponsebody.md index b18c7b77..0016cbe7 100644 --- a/docs/models/operations/removeprojectmemberresponsebody.md +++ b/docs/models/removeprojectmemberresponsebody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveProjectMemberResponseBody } from "@vercel/sdk/models/operations/removeprojectmember.js"; +import { RemoveProjectMemberResponseBody } from "@vercel/sdk/models/removeprojectmemberop.js"; let value: RemoveProjectMemberResponseBody = { id: "", diff --git a/docs/models/operations/removerecordrequest.md b/docs/models/removerecordrequest.md similarity index 95% rename from docs/models/operations/removerecordrequest.md rename to docs/models/removerecordrequest.md index 08963302..750fd819 100644 --- a/docs/models/operations/removerecordrequest.md +++ b/docs/models/removerecordrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveRecordRequest } from "@vercel/sdk/models/operations/removerecord.js"; +import { RemoveRecordRequest } from "@vercel/sdk/models/removerecordop.js"; let value: RemoveRecordRequest = { domain: "example.com", diff --git a/docs/models/operations/removerecordresponsebody.md b/docs/models/removerecordresponsebody.md similarity index 76% rename from docs/models/operations/removerecordresponsebody.md rename to docs/models/removerecordresponsebody.md index 7a77cee6..a5d46af9 100644 --- a/docs/models/operations/removerecordresponsebody.md +++ b/docs/models/removerecordresponsebody.md @@ -5,7 +5,7 @@ Successful response by removing the specified DNS record. ## Example Usage ```typescript -import { RemoveRecordResponseBody } from "@vercel/sdk/models/operations/removerecord.js"; +import { RemoveRecordResponseBody } from "@vercel/sdk/models/removerecordop.js"; let value: RemoveRecordResponseBody = {}; ``` diff --git a/docs/models/operations/removeteammemberrequest.md b/docs/models/removeteammemberrequest.md similarity index 95% rename from docs/models/operations/removeteammemberrequest.md rename to docs/models/removeteammemberrequest.md index d5e2b2c8..ca893438 100644 --- a/docs/models/operations/removeteammemberrequest.md +++ b/docs/models/removeteammemberrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemoveTeamMemberRequest } from "@vercel/sdk/models/operations/removeteammember.js"; +import { RemoveTeamMemberRequest } from "@vercel/sdk/models/removeteammemberop.js"; let value: RemoveTeamMemberRequest = { uid: "ndlgr43fadlPyCtREAqxxdyFK", diff --git a/docs/models/operations/removeteammemberresponsebody.md b/docs/models/removeteammemberresponsebody.md similarity index 93% rename from docs/models/operations/removeteammemberresponsebody.md rename to docs/models/removeteammemberresponsebody.md index c1728b42..c256e5eb 100644 --- a/docs/models/operations/removeteammemberresponsebody.md +++ b/docs/models/removeteammemberresponsebody.md @@ -5,7 +5,7 @@ Successfully removed a member of the team. ## Example Usage ```typescript -import { RemoveTeamMemberResponseBody } from "@vercel/sdk/models/operations/removeteammember.js"; +import { RemoveTeamMemberResponseBody } from "@vercel/sdk/models/removeteammemberop.js"; let value: RemoveTeamMemberResponseBody = { id: "", diff --git a/docs/models/operations/repoid.md b/docs/models/repoid.md similarity index 100% rename from docs/models/operations/repoid.md rename to docs/models/repoid.md diff --git a/docs/models/repos.md b/docs/models/repos.md new file mode 100644 index 00000000..1d4a84b0 --- /dev/null +++ b/docs/models/repos.md @@ -0,0 +1,40 @@ +# Repos + +## Example Usage + +```typescript +import { Repos } from "@vercel/sdk/models/searchrepoop.js"; + +let value: Repos = { + id: 3502.02, + provider: "github-custom-host", + url: "https://sunny-glider.name/", + name: "", + slug: "", + namespace: "", + owner: { + id: 15.95, + name: "", + }, + ownerType: "user", + private: false, + defaultBranch: "", + updatedAt: 7791.11, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `id` | *models.ResponseBodyId* | :heavy_check_mark: | N/A | +| `provider` | [models.SearchRepoResponseBodyProvider](../models/searchreporesponsebodyprovider.md) | :heavy_check_mark: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `namespace` | *string* | :heavy_check_mark: | N/A | +| `owner` | [models.Owner](../models/owner.md) | :heavy_check_mark: | N/A | +| `ownerType` | [models.ResponseBodyOwnerType](../models/responsebodyownertype.md) | :heavy_check_mark: | N/A | +| `private` | *boolean* | :heavy_check_mark: | N/A | +| `defaultBranch` | *string* | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/requestaccesstoteamgituserid.md b/docs/models/requestaccesstoteamgituserid.md new file mode 100644 index 00000000..c0e09470 --- /dev/null +++ b/docs/models/requestaccesstoteamgituserid.md @@ -0,0 +1,19 @@ +# RequestAccessToTeamGitUserId + +The ID of the Git account of the user who requests access. + + +## Supported Types + +### `string` + +```typescript +const value: string = "103053343"; +``` + +### `number` + +```typescript +const value: number = 103053343; +``` + diff --git a/docs/models/requestaccesstoteamjoinedfrom.md b/docs/models/requestaccesstoteamjoinedfrom.md new file mode 100644 index 00000000..cc410441 --- /dev/null +++ b/docs/models/requestaccesstoteamjoinedfrom.md @@ -0,0 +1,27 @@ +# RequestAccessToTeamJoinedFrom + +## Example Usage + +```typescript +import { RequestAccessToTeamJoinedFrom } from "@vercel/sdk/models/requestaccesstoteamop.js"; + +let value: RequestAccessToTeamJoinedFrom = { + origin: "github", + commitId: "f498d25d8bd654b578716203be73084b31130cd7", + repoId: "67753070", + repoPath: "jane-doe/example", + gitUserId: 103053343, + gitUserLogin: "jane-doe", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `origin` | [models.RequestAccessToTeamOrigin](../models/requestaccesstoteamorigin.md) | :heavy_check_mark: | The origin of the request. | github | +| `commitId` | *string* | :heavy_minus_sign: | The commit sha if the origin is a git provider. | f498d25d8bd654b578716203be73084b31130cd7 | +| `repoId` | *string* | :heavy_minus_sign: | The ID of the repository for the given Git provider. | 67753070 | +| `repoPath` | *string* | :heavy_minus_sign: | The path to the repository for the given Git provider. | jane-doe/example | +| `gitUserId` | *models.RequestAccessToTeamGitUserId* | :heavy_minus_sign: | The ID of the Git account of the user who requests access. | 103053343 | +| `gitUserLogin` | *string* | :heavy_minus_sign: | The login name for the Git account of the user who requests access. | jane-doe | \ No newline at end of file diff --git a/docs/models/requestaccesstoteamorigin.md b/docs/models/requestaccesstoteamorigin.md new file mode 100644 index 00000000..2992da4f --- /dev/null +++ b/docs/models/requestaccesstoteamorigin.md @@ -0,0 +1,17 @@ +# RequestAccessToTeamOrigin + +The origin of the request. + +## Example Usage + +```typescript +import { RequestAccessToTeamOrigin } from "@vercel/sdk/models/requestaccesstoteamop.js"; + +let value: RequestAccessToTeamOrigin = "github"; +``` + +## Values + +```typescript +"import" | "teams" | "github" | "gitlab" | "bitbucket" | "feedback" | "organization-teams" +``` \ No newline at end of file diff --git a/docs/models/requestaccesstoteamrequest.md b/docs/models/requestaccesstoteamrequest.md new file mode 100644 index 00000000..6e35def4 --- /dev/null +++ b/docs/models/requestaccesstoteamrequest.md @@ -0,0 +1,28 @@ +# RequestAccessToTeamRequest + +## Example Usage + +```typescript +import { RequestAccessToTeamRequest } from "@vercel/sdk/models/requestaccesstoteamop.js"; + +let value: RequestAccessToTeamRequest = { + teamId: "", + requestBody: { + joinedFrom: { + origin: "github", + commitId: "f498d25d8bd654b578716203be73084b31130cd7", + repoId: "67753070", + repoPath: "jane-doe/example", + gitUserId: 103053343, + gitUserLogin: "jane-doe", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `teamId` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [models.RequestAccessToTeamRequestBody](../models/requestaccesstoteamrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/requestaccesstoteamrequestbody.md b/docs/models/requestaccesstoteamrequestbody.md new file mode 100644 index 00000000..f3175335 --- /dev/null +++ b/docs/models/requestaccesstoteamrequestbody.md @@ -0,0 +1,24 @@ +# RequestAccessToTeamRequestBody + +## Example Usage + +```typescript +import { RequestAccessToTeamRequestBody } from "@vercel/sdk/models/requestaccesstoteamop.js"; + +let value: RequestAccessToTeamRequestBody = { + joinedFrom: { + origin: "github", + commitId: "f498d25d8bd654b578716203be73084b31130cd7", + repoId: "67753070", + repoPath: "jane-doe/example", + gitUserId: 103053343, + gitUserLogin: "jane-doe", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `joinedFrom` | [models.RequestAccessToTeamJoinedFrom](../models/requestaccesstoteamjoinedfrom.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/requestaccesstoteamresponsebody.md b/docs/models/requestaccesstoteamresponsebody.md new file mode 100644 index 00000000..8fd68f3a --- /dev/null +++ b/docs/models/requestaccesstoteamresponsebody.md @@ -0,0 +1,30 @@ +# RequestAccessToTeamResponseBody + +Successfuly requested access to the team. + +## Example Usage + +```typescript +import { RequestAccessToTeamResponseBody } from "@vercel/sdk/models/requestaccesstoteamop.js"; + +let value: RequestAccessToTeamResponseBody = { + teamSlug: "", + teamName: "", + github: {}, + gitlab: {}, + bitbucket: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `teamSlug` | *string* | :heavy_check_mark: | N/A | +| `teamName` | *string* | :heavy_check_mark: | N/A | +| `confirmed` | *boolean* | :heavy_minus_sign: | N/A | +| `joinedFrom` | [models.RequestAccessToTeamTeamsJoinedFrom](../models/requestaccesstoteamteamsjoinedfrom.md) | :heavy_minus_sign: | N/A | +| `accessRequestedAt` | *number* | :heavy_minus_sign: | N/A | +| `github` | [models.Github](../models/github.md) | :heavy_check_mark: | N/A | +| `gitlab` | [models.Gitlab](../models/gitlab.md) | :heavy_check_mark: | N/A | +| `bitbucket` | [models.Bitbucket](../models/bitbucket.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/requestaccesstoteamteamsgituserid.md b/docs/models/requestaccesstoteamteamsgituserid.md new file mode 100644 index 00000000..358007f4 --- /dev/null +++ b/docs/models/requestaccesstoteamteamsgituserid.md @@ -0,0 +1,17 @@ +# RequestAccessToTeamTeamsGitUserId + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 6619.49; +``` + diff --git a/docs/models/requestaccesstoteamteamsjoinedfrom.md b/docs/models/requestaccesstoteamteamsjoinedfrom.md new file mode 100644 index 00000000..3969f66a --- /dev/null +++ b/docs/models/requestaccesstoteamteamsjoinedfrom.md @@ -0,0 +1,27 @@ +# RequestAccessToTeamTeamsJoinedFrom + +## Example Usage + +```typescript +import { RequestAccessToTeamTeamsJoinedFrom } from "@vercel/sdk/models/requestaccesstoteamop.js"; + +let value: RequestAccessToTeamTeamsJoinedFrom = { + origin: "import", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `origin` | [models.RequestAccessToTeamTeamsOrigin](../models/requestaccesstoteamteamsorigin.md) | :heavy_check_mark: | N/A | +| `commitId` | *string* | :heavy_minus_sign: | N/A | +| `repoId` | *string* | :heavy_minus_sign: | N/A | +| `repoPath` | *string* | :heavy_minus_sign: | N/A | +| `gitUserId` | *models.RequestAccessToTeamTeamsGitUserId* | :heavy_minus_sign: | N/A | +| `gitUserLogin` | *string* | :heavy_minus_sign: | N/A | +| `ssoUserId` | *string* | :heavy_minus_sign: | N/A | +| `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | +| `idpUserId` | *string* | :heavy_minus_sign: | N/A | +| `dsyncUserId` | *string* | :heavy_minus_sign: | N/A | +| `dsyncConnectedAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/requestaccesstoteamteamsorigin.md b/docs/models/requestaccesstoteamteamsorigin.md new file mode 100644 index 00000000..027d55cd --- /dev/null +++ b/docs/models/requestaccesstoteamteamsorigin.md @@ -0,0 +1,15 @@ +# RequestAccessToTeamTeamsOrigin + +## Example Usage + +```typescript +import { RequestAccessToTeamTeamsOrigin } from "@vercel/sdk/models/requestaccesstoteamop.js"; + +let value: RequestAccessToTeamTeamsOrigin = "dsync"; +``` + +## Values + +```typescript +"import" | "teams" | "github" | "gitlab" | "bitbucket" | "feedback" | "organization-teams" | "mail" | "link" | "saml" | "dsync" +``` \ No newline at end of file diff --git a/docs/models/operations/requestbody.md b/docs/models/requestbody.md similarity index 94% rename from docs/models/operations/requestbody.md rename to docs/models/requestbody.md index a307cf4c..35fd8bf9 100644 --- a/docs/models/operations/requestbody.md +++ b/docs/models/requestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RequestBody } from "@vercel/sdk/models/operations/recordevents.js"; +import { RequestBody } from "@vercel/sdk/models/recordeventsop.js"; let value: RequestBody = { sessionId: "", @@ -19,7 +19,7 @@ let value: RequestBody = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `sessionId` | *string* | :heavy_check_mark: | A UUID (universally unique identifer) for the session that generated this event. | | -| `source` | [operations.Source](../../models/operations/source.md) | :heavy_check_mark: | One of `LOCAL` or `REMOTE`. `LOCAL` specifies that the cache event was from the user's filesystem cache. `REMOTE` specifies that the cache event is from a remote cache. | | -| `event` | [operations.Event](../../models/operations/event.md) | :heavy_check_mark: | One of `HIT` or `MISS`. `HIT` specifies that a cached artifact for `hash` was found in the cache. `MISS` specifies that a cached artifact with `hash` was not found. | | +| `source` | [models.Source](../models/source.md) | :heavy_check_mark: | One of `LOCAL` or `REMOTE`. `LOCAL` specifies that the cache event was from the user's filesystem cache. `REMOTE` specifies that the cache event is from a remote cache. | | +| `event` | [models.Event](../models/event.md) | :heavy_check_mark: | One of `HIT` or `MISS`. `HIT` specifies that a cached artifact for `hash` was found in the cache. `MISS` specifies that a cached artifact with `hash` was not found. | | | `hash` | *string* | :heavy_check_mark: | The artifact hash | 12HKQaOmR5t5Uy6vdcQsNIiZgHGB | | `duration` | *number* | :heavy_minus_sign: | The time taken to generate the artifact. This should be sent as a body parameter on `HIT` events. | 400 | \ No newline at end of file diff --git a/docs/models/operations/requestbody1.md b/docs/models/requestbody1.md similarity index 93% rename from docs/models/operations/requestbody1.md rename to docs/models/requestbody1.md index 43d29f74..c9ff6d96 100644 --- a/docs/models/operations/requestbody1.md +++ b/docs/models/requestbody1.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { RequestBody1 } from "@vercel/sdk/models/operations/createrecord.js"; +import { RequestBody1 } from "@vercel/sdk/models/createrecordop.js"; let value: RequestBody1 = { name: "subdomain", - type: "MX", + type: "A", ttl: 60, value: "192.0.2.42", comment: "used to verify ownership of domain", @@ -19,7 +19,7 @@ let value: RequestBody1 = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | | `name` | *string* | :heavy_check_mark: | A subdomain name or an empty string for the root domain. | subdomain | -| `type` | [operations.RequestBodyType](../../models/operations/requestbodytype.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | +| `type` | [models.RequestBodyType](../models/requestbodytype.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | | `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | | `value` | *string* | :heavy_check_mark: | The record value must be a valid IPv4 address. | 192.0.2.42 | | `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/requestbody10.md b/docs/models/requestbody10.md new file mode 100644 index 00000000..404393e5 --- /dev/null +++ b/docs/models/requestbody10.md @@ -0,0 +1,22 @@ +# RequestBody10 + +Remove an IP Blocking rule + +## Example Usage + +```typescript +import { RequestBody10 } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: RequestBody10 = { + action: "ip.remove", + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `action` | [models.UpdateFirewallConfigRequestBodySecurityRequest10Action](../models/updatefirewallconfigrequestbodysecurityrequest10action.md) | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `value` | *any* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/requestbody2.md b/docs/models/requestbody2.md new file mode 100644 index 00000000..6c4bb40e --- /dev/null +++ b/docs/models/requestbody2.md @@ -0,0 +1,25 @@ +# RequestBody2 + +## Example Usage + +```typescript +import { RequestBody2 } from "@vercel/sdk/models/createrecordop.js"; + +let value: RequestBody2 = { + name: "subdomain", + type: "HTTPS", + ttl: 60, + value: "2001:DB8::42", + comment: "used to verify ownership of domain", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | A subdomain name or an empty string for the root domain. | subdomain | +| `type` | [models.CreateRecordRequestBodyType](../models/createrecordrequestbodytype.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | +| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | +| `value` | *string* | :heavy_check_mark: | An AAAA record pointing to an IPv6 address. | 2001:DB8::42 | +| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/requestbody3.md b/docs/models/requestbody3.md new file mode 100644 index 00000000..3c8d8978 --- /dev/null +++ b/docs/models/requestbody3.md @@ -0,0 +1,25 @@ +# RequestBody3 + +## Example Usage + +```typescript +import { RequestBody3 } from "@vercel/sdk/models/createrecordop.js"; + +let value: RequestBody3 = { + name: "subdomain", + type: "A", + ttl: 60, + value: "cname.vercel-dns.com", + comment: "used to verify ownership of domain", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | A subdomain name or an empty string for the root domain. | subdomain | +| `type` | [models.CreateRecordRequestBodyDnsType](../models/createrecordrequestbodydnstype.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | +| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | +| `value` | *string* | :heavy_check_mark: | An ALIAS virtual record pointing to a hostname resolved to an A record on server side. | cname.vercel-dns.com | +| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/requestbody4.md b/docs/models/requestbody4.md new file mode 100644 index 00000000..b4b9788e --- /dev/null +++ b/docs/models/requestbody4.md @@ -0,0 +1,25 @@ +# RequestBody4 + +## Example Usage + +```typescript +import { RequestBody4 } from "@vercel/sdk/models/createrecordop.js"; + +let value: RequestBody4 = { + name: "subdomain", + type: "MX", + ttl: 60, + value: "0 issue \\"letsencrypt.org\\"", + comment: "used to verify ownership of domain", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | A subdomain name or an empty string for the root domain. | subdomain | +| `type` | [models.CreateRecordRequestBodyDnsRequestType](../models/createrecordrequestbodydnsrequesttype.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | +| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | +| `value` | *string* | :heavy_check_mark: | A CAA record to specify which Certificate Authorities (CAs) are allowed to issue certificates for the domain. | 0 issue \"letsencrypt.org\" | +| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/requestbody5.md b/docs/models/requestbody5.md new file mode 100644 index 00000000..6e9a385b --- /dev/null +++ b/docs/models/requestbody5.md @@ -0,0 +1,25 @@ +# RequestBody5 + +## Example Usage + +```typescript +import { RequestBody5 } from "@vercel/sdk/models/createrecordop.js"; + +let value: RequestBody5 = { + name: "subdomain", + type: "NS", + ttl: 60, + value: "cname.vercel-dns.com", + comment: "used to verify ownership of domain", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | A subdomain name or an empty string for the root domain. | subdomain | +| `type` | [models.CreateRecordRequestBodyDnsRequest5Type](../models/createrecordrequestbodydnsrequest5type.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | +| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | +| `value` | *string* | :heavy_minus_sign: | A CNAME record mapping to another domain name. | cname.vercel-dns.com | +| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/requestbody6.md b/docs/models/requestbody6.md new file mode 100644 index 00000000..4993ad68 --- /dev/null +++ b/docs/models/requestbody6.md @@ -0,0 +1,26 @@ +# RequestBody6 + +Enable a managed rule + +## Example Usage + +```typescript +import { RequestBody6 } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: RequestBody6 = { + action: "crs.update", + id: "sd", + value: { + active: false, + action: "deny", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `action` | [models.UpdateFirewallConfigRequestBodySecurityRequest6Action](../models/updatefirewallconfigrequestbodysecurityrequest6action.md) | :heavy_check_mark: | N/A | +| `id` | [models.Id](../models/id.md) | :heavy_check_mark: | N/A | +| `value` | [models.UpdateFirewallConfigRequestBodySecurityValue](../models/updatefirewallconfigrequestbodysecurityvalue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/requestbody7.md b/docs/models/requestbody7.md new file mode 100644 index 00000000..91b8ab83 --- /dev/null +++ b/docs/models/requestbody7.md @@ -0,0 +1,21 @@ +# RequestBody7 + +Disable a managed rule + +## Example Usage + +```typescript +import { RequestBody7 } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: RequestBody7 = { + action: "crs.disable", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `action` | [models.UpdateFirewallConfigRequestBodySecurityRequest7Action](../models/updatefirewallconfigrequestbodysecurityrequest7action.md) | :heavy_check_mark: | N/A | +| `id` | *any* | :heavy_minus_sign: | N/A | +| `value` | *any* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/requestbody8.md b/docs/models/requestbody8.md new file mode 100644 index 00000000..6a41089a --- /dev/null +++ b/docs/models/requestbody8.md @@ -0,0 +1,26 @@ +# RequestBody8 + +Add an IP Blocking rule + +## Example Usage + +```typescript +import { RequestBody8 } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: RequestBody8 = { + action: "ip.insert", + value: { + hostname: "honorable-unblinking.net", + ip: "b2a2:5378:e5ab:ba6a:449a:bdc0:cdf0:b41c", + action: "bypass", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `action` | [models.UpdateFirewallConfigRequestBodySecurityRequest8Action](../models/updatefirewallconfigrequestbodysecurityrequest8action.md) | :heavy_check_mark: | N/A | +| `id` | *any* | :heavy_minus_sign: | N/A | +| `value` | [models.UpdateFirewallConfigRequestBodySecurityRequestValue](../models/updatefirewallconfigrequestbodysecurityrequestvalue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/requestbody9.md b/docs/models/requestbody9.md new file mode 100644 index 00000000..eeb02be8 --- /dev/null +++ b/docs/models/requestbody9.md @@ -0,0 +1,27 @@ +# RequestBody9 + +Update an IP Blocking rule + +## Example Usage + +```typescript +import { RequestBody9 } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: RequestBody9 = { + action: "ip.update", + id: "", + value: { + hostname: "vain-wafer.info", + ip: "74.198.69.97", + action: "challenge", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `action` | [models.UpdateFirewallConfigRequestBodySecurityRequest9Action](../models/updatefirewallconfigrequestbodysecurityrequest9action.md) | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `value` | [models.UpdateFirewallConfigRequestBodySecurityRequest9Value](../models/updatefirewallconfigrequestbodysecurityrequest9value.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/requestbodyaction.md b/docs/models/requestbodyaction.md new file mode 100644 index 00000000..df3a416c --- /dev/null +++ b/docs/models/requestbodyaction.md @@ -0,0 +1,15 @@ +# RequestBodyAction + +## Example Usage + +```typescript +import { RequestBodyAction } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: RequestBodyAction = "firewallEnabled"; +``` + +## Values + +```typescript +"firewallEnabled" +``` \ No newline at end of file diff --git a/docs/models/requestbodyconditiongroup.md b/docs/models/requestbodyconditiongroup.md new file mode 100644 index 00000000..0485df7e --- /dev/null +++ b/docs/models/requestbodyconditiongroup.md @@ -0,0 +1,22 @@ +# RequestBodyConditionGroup + +## Example Usage + +```typescript +import { RequestBodyConditionGroup } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: RequestBodyConditionGroup = { + conditions: [ + { + type: "geo_country_region", + op: "gt", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `conditions` | [models.RequestBodyConditions](../models/requestbodyconditions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/requestbodyconditions.md b/docs/models/requestbodyconditions.md new file mode 100644 index 00000000..62083b82 --- /dev/null +++ b/docs/models/requestbodyconditions.md @@ -0,0 +1,22 @@ +# RequestBodyConditions + +## Example Usage + +```typescript +import { RequestBodyConditions } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: RequestBodyConditions = { + type: "geo_as_number", + op: "neq", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateFirewallConfigRequestBodyType](../models/updatefirewallconfigrequestbodytype.md) | :heavy_check_mark: | [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. | +| `op` | [models.RequestBodyOp](../models/requestbodyop.md) | :heavy_check_mark: | [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value. | +| `neg` | *boolean* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *models.UpdateFirewallConfigRequestBodySecurityRequest2Value* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/requestbodyhttps.md b/docs/models/requestbodyhttps.md similarity index 89% rename from docs/models/operations/requestbodyhttps.md rename to docs/models/requestbodyhttps.md index 577cce07..828d3141 100644 --- a/docs/models/operations/requestbodyhttps.md +++ b/docs/models/requestbodyhttps.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RequestBodyHttps } from "@vercel/sdk/models/operations/createrecord.js"; +import { RequestBodyHttps } from "@vercel/sdk/models/createrecordop.js"; let value: RequestBodyHttps = { priority: 10, diff --git a/docs/models/requestbodyid.md b/docs/models/requestbodyid.md new file mode 100644 index 00000000..658e7c58 --- /dev/null +++ b/docs/models/requestbodyid.md @@ -0,0 +1,15 @@ +# RequestBodyId + +## Example Usage + +```typescript +import { RequestBodyId } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: RequestBodyId = "owasp"; +``` + +## Values + +```typescript +"owasp" +``` \ No newline at end of file diff --git a/docs/models/requestbodymitigate.md b/docs/models/requestbodymitigate.md new file mode 100644 index 00000000..51fce2ce --- /dev/null +++ b/docs/models/requestbodymitigate.md @@ -0,0 +1,20 @@ +# RequestBodyMitigate + +## Example Usage + +```typescript +import { RequestBodyMitigate } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: RequestBodyMitigate = { + action: "challenge", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `action` | [models.UpdateFirewallConfigRequestBodySecurityRequest2ValueAction](../models/updatefirewallconfigrequestbodysecurityrequest2valueaction.md) | :heavy_check_mark: | N/A | +| `rateLimit` | *models.RequestBodyRateLimit* | :heavy_minus_sign: | N/A | +| `redirect` | *models.RequestBodyRedirect* | :heavy_minus_sign: | N/A | +| `actionDuration` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/requestbodyop.md b/docs/models/requestbodyop.md new file mode 100644 index 00000000..72061192 --- /dev/null +++ b/docs/models/requestbodyop.md @@ -0,0 +1,17 @@ +# RequestBodyOp + +[Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value. + +## Example Usage + +```typescript +import { RequestBodyOp } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: RequestBodyOp = "ninc"; +``` + +## Values + +```typescript +"re" | "eq" | "neq" | "ex" | "nex" | "inc" | "ninc" | "pre" | "suf" | "sub" | "gt" | "gte" | "lt" | "lte" +``` \ No newline at end of file diff --git a/docs/models/requestbodyratelimit.md b/docs/models/requestbodyratelimit.md new file mode 100644 index 00000000..1968df54 --- /dev/null +++ b/docs/models/requestbodyratelimit.md @@ -0,0 +1,24 @@ +# RequestBodyRateLimit + + +## Supported Types + +### `models.UpdateFirewallConfigRateLimit1` + +```typescript +const value: models.UpdateFirewallConfigRateLimit1 = { + algo: "token_bucket", + window: 4265.71, + limit: 8762.62, + keys: [ + "", + ], +}; +``` + +### `any` + +```typescript +const value: any = ""; +``` + diff --git a/docs/models/requestbodyredirect.md b/docs/models/requestbodyredirect.md new file mode 100644 index 00000000..2a1157eb --- /dev/null +++ b/docs/models/requestbodyredirect.md @@ -0,0 +1,20 @@ +# RequestBodyRedirect + + +## Supported Types + +### `models.UpdateFirewallConfigRedirect1` + +```typescript +const value: models.UpdateFirewallConfigRedirect1 = { + location: "", + permanent: false, +}; +``` + +### `any` + +```typescript +const value: any = ""; +``` + diff --git a/docs/models/requestbodyrole.md b/docs/models/requestbodyrole.md new file mode 100644 index 00000000..3506c820 --- /dev/null +++ b/docs/models/requestbodyrole.md @@ -0,0 +1,17 @@ +# RequestBodyRole + +The project role of the member that will be added. + +## Example Usage + +```typescript +import { RequestBodyRole } from "@vercel/sdk/models/addprojectmemberop.js"; + +let value: RequestBodyRole = "ADMIN"; +``` + +## Values + +```typescript +"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_VIEWER" +``` \ No newline at end of file diff --git a/docs/models/operations/requestbodysrv.md b/docs/models/requestbodysrv.md similarity index 91% rename from docs/models/operations/requestbodysrv.md rename to docs/models/requestbodysrv.md index 1627217b..d59e9bca 100644 --- a/docs/models/operations/requestbodysrv.md +++ b/docs/models/requestbodysrv.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RequestBodySrv } from "@vercel/sdk/models/operations/createrecord.js"; +import { RequestBodySrv } from "@vercel/sdk/models/createrecordop.js"; let value: RequestBodySrv = { priority: 10, diff --git a/docs/models/requestbodytype.md b/docs/models/requestbodytype.md new file mode 100644 index 00000000..79486a96 --- /dev/null +++ b/docs/models/requestbodytype.md @@ -0,0 +1,17 @@ +# RequestBodyType + +The type of record, it could be one of the valid DNS records. + +## Example Usage + +```typescript +import { RequestBodyType } from "@vercel/sdk/models/createrecordop.js"; + +let value: RequestBodyType = "CAA"; +``` + +## Values + +```typescript +"A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "HTTPS" | "MX" | "SRV" | "TXT" | "NS" +``` \ No newline at end of file diff --git a/docs/models/requestbodyvalue.md b/docs/models/requestbodyvalue.md new file mode 100644 index 00000000..48f0cd49 --- /dev/null +++ b/docs/models/requestbodyvalue.md @@ -0,0 +1,33 @@ +# RequestBodyValue + +## Example Usage + +```typescript +import { RequestBodyValue } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: RequestBodyValue = { + name: "", + active: false, + conditionGroup: [ + { + conditions: [ + { + type: "path", + op: "gt", + }, + ], + }, + ], + action: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `conditionGroup` | [models.RequestBodyConditionGroup](../models/requestbodyconditiongroup.md)[] | :heavy_check_mark: | N/A | +| `action` | [models.UpdateFirewallConfigRequestBodySecurityRequest2Action](../models/updatefirewallconfigrequestbodysecurityrequest2action.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/requestdeletereasons.md b/docs/models/requestdeletereasons.md similarity index 91% rename from docs/models/operations/requestdeletereasons.md rename to docs/models/requestdeletereasons.md index bd0110f9..ef78e588 100644 --- a/docs/models/operations/requestdeletereasons.md +++ b/docs/models/requestdeletereasons.md @@ -5,11 +5,11 @@ An object describing the reason why the User account is being deleted. ## Example Usage ```typescript -import { RequestDeleteReasons } from "@vercel/sdk/models/operations/requestdelete.js"; +import { RequestDeleteReasons } from "@vercel/sdk/models/requestdeleteop.js"; let value: RequestDeleteReasons = { slug: "", - description: "woot needily academics ack", + description: "cake uh-huh while instead", }; ``` diff --git a/docs/models/operations/requestdeleterequestbody.md b/docs/models/requestdeleterequestbody.md similarity index 83% rename from docs/models/operations/requestdeleterequestbody.md rename to docs/models/requestdeleterequestbody.md index a2899180..1bc56ffe 100644 --- a/docs/models/operations/requestdeleterequestbody.md +++ b/docs/models/requestdeleterequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RequestDeleteRequestBody } from "@vercel/sdk/models/operations/requestdelete.js"; +import { RequestDeleteRequestBody } from "@vercel/sdk/models/requestdeleteop.js"; let value: RequestDeleteRequestBody = {}; ``` @@ -12,4 +12,4 @@ let value: RequestDeleteRequestBody = {}; | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `reasons` | [operations.RequestDeleteReasons](../../models/operations/requestdeletereasons.md)[] | :heavy_minus_sign: | Optional array of objects that describe the reason why the User account is being deleted. | \ No newline at end of file +| `reasons` | [models.RequestDeleteReasons](../models/requestdeletereasons.md)[] | :heavy_minus_sign: | Optional array of objects that describe the reason why the User account is being deleted. | \ No newline at end of file diff --git a/docs/models/operations/requestdeleteresponsebody.md b/docs/models/requestdeleteresponsebody.md similarity index 93% rename from docs/models/operations/requestdeleteresponsebody.md rename to docs/models/requestdeleteresponsebody.md index e361ee80..e5f3c7bb 100644 --- a/docs/models/operations/requestdeleteresponsebody.md +++ b/docs/models/requestdeleteresponsebody.md @@ -5,11 +5,11 @@ Response indicating that the User deletion process has been initiated, and a con ## Example Usage ```typescript -import { RequestDeleteResponseBody } from "@vercel/sdk/models/operations/requestdelete.js"; +import { RequestDeleteResponseBody } from "@vercel/sdk/models/requestdeleteop.js"; let value: RequestDeleteResponseBody = { id: "", - email: "Tillman_Emmerich19@hotmail.com", + email: "Fermin_Hahn95@hotmail.com", message: "Verification email sent", }; ``` diff --git a/docs/models/operations/requestpromoterequest.md b/docs/models/requestpromoterequest.md similarity index 94% rename from docs/models/operations/requestpromoterequest.md rename to docs/models/requestpromoterequest.md index 589e2667..c9fca5a0 100644 --- a/docs/models/operations/requestpromoterequest.md +++ b/docs/models/requestpromoterequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RequestPromoteRequest } from "@vercel/sdk/models/operations/requestpromote.js"; +import { RequestPromoteRequest } from "@vercel/sdk/models/requestpromoteop.js"; let value: RequestPromoteRequest = { projectId: "", diff --git a/docs/models/operations/rerequestcheckrequest.md b/docs/models/rerequestcheckrequest.md similarity index 95% rename from docs/models/operations/rerequestcheckrequest.md rename to docs/models/rerequestcheckrequest.md index 5d0a24da..cbac794f 100644 --- a/docs/models/operations/rerequestcheckrequest.md +++ b/docs/models/rerequestcheckrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RerequestCheckRequest } from "@vercel/sdk/models/operations/rerequestcheck.js"; +import { RerequestCheckRequest } from "@vercel/sdk/models/rerequestcheckop.js"; let value: RerequestCheckRequest = { deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6", diff --git a/docs/models/rerequestcheckresponsebody.md b/docs/models/rerequestcheckresponsebody.md new file mode 100644 index 00000000..93d62f59 --- /dev/null +++ b/docs/models/rerequestcheckresponsebody.md @@ -0,0 +1,14 @@ +# RerequestCheckResponseBody + +## Example Usage + +```typescript +import { RerequestCheckResponseBody } from "@vercel/sdk/models/rerequestcheckop.js"; + +let value: RerequestCheckResponseBody = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/resourceconfig.md b/docs/models/resourceconfig.md new file mode 100644 index 00000000..9766e912 --- /dev/null +++ b/docs/models/resourceconfig.md @@ -0,0 +1,35 @@ +# ResourceConfig + +An object containing infomation related to the amount of platform resources may be allocated to the User account. + +## Example Usage + +```typescript +import { ResourceConfig } from "@vercel/sdk/models/authuser.js"; + +let value: ResourceConfig = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `blobStores` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `nodeType` | *string* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `concurrentBuilds` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `awsAccountType` | *string* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `awsAccountIds` | *string*[] | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `cfZoneName` | *string* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `imageOptimizationType` | *string* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `edgeConfigs` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `edgeConfigSize` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `edgeFunctionMaxSizeBytes` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `edgeFunctionExecutionTimeoutMs` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `serverlessFunctionDefaultMaxExecutionTime` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `kvDatabases` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `postgresDatabases` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `integrationStores` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `cronJobs` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `cronJobsPerProject` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `microfrontendGroupsPerTeam` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `microfrontendProjectsPerGroup` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | \ No newline at end of file diff --git a/docs/models/responsebody.md b/docs/models/responsebody.md new file mode 100644 index 00000000..51a6cdac --- /dev/null +++ b/docs/models/responsebody.md @@ -0,0 +1,24 @@ +# ResponseBody + + +## Supported Types + +### `models.ResponseBody1` + +```typescript +const value: models.ResponseBody1 = { + size: 2532.92, + taskDurationMs: 4663.11, +}; +``` + +### `models.ResponseBody2` + +```typescript +const value: models.ResponseBody2 = { + error: { + message: "", + }, +}; +``` + diff --git a/docs/models/operations/responsebody1.md b/docs/models/responsebody1.md similarity index 87% rename from docs/models/operations/responsebody1.md rename to docs/models/responsebody1.md index 8b338b83..acf28a21 100644 --- a/docs/models/operations/responsebody1.md +++ b/docs/models/responsebody1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBody1 } from "@vercel/sdk/models/operations/artifactquery.js"; +import { ResponseBody1 } from "@vercel/sdk/models/artifactqueryop.js"; let value: ResponseBody1 = { size: 1613.10, diff --git a/docs/models/responsebody2.md b/docs/models/responsebody2.md new file mode 100644 index 00000000..954984a6 --- /dev/null +++ b/docs/models/responsebody2.md @@ -0,0 +1,19 @@ +# ResponseBody2 + +## Example Usage + +```typescript +import { ResponseBody2 } from "@vercel/sdk/models/artifactqueryop.js"; + +let value: ResponseBody2 = { + error: { + message: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `error` | [models.ResponseBodyError](../models/responsebodyerror.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/responsebody3.md b/docs/models/responsebody3.md similarity index 85% rename from docs/models/operations/responsebody3.md rename to docs/models/responsebody3.md index fb4c6f61..879f5fde 100644 --- a/docs/models/operations/responsebody3.md +++ b/docs/models/responsebody3.md @@ -5,7 +5,7 @@ Successful response retrieving a list of paginated DNS records. ## Example Usage ```typescript -import { ResponseBody3 } from "@vercel/sdk/models/operations/getrecords.js"; +import { ResponseBody3 } from "@vercel/sdk/models/getrecordsop.js"; let value: ResponseBody3 = { records: [ @@ -13,13 +13,13 @@ let value: ResponseBody3 = { id: "", slug: "", name: "", - type: "SRV", + type: "TXT", value: "", creator: "", - created: 7898.70, - updated: 3172.60, - createdAt: 9792.70, - updatedAt: 6496.56, + created: 5559.38, + updated: 7416.03, + createdAt: 7705.44, + updatedAt: 9082.48, }, ], pagination: { @@ -34,5 +34,5 @@ let value: ResponseBody3 = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `records` | [operations.ResponseBodyRecords](../../models/operations/responsebodyrecords.md)[] | :heavy_check_mark: | N/A | -| `pagination` | [components.Pagination](../../models/components/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file +| `records` | [models.ResponseBodyRecords](../models/responsebodyrecords.md)[] | :heavy_check_mark: | N/A | +| `pagination` | [models.Pagination](../models/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file diff --git a/docs/models/operations/responsebodyaliasassignedat.md b/docs/models/responsebodyaliasassignedat.md similarity index 100% rename from docs/models/operations/responsebodyaliasassignedat.md rename to docs/models/responsebodyaliasassignedat.md diff --git a/docs/models/operations/responsebodyaliaserror.md b/docs/models/responsebodyaliaserror.md similarity index 84% rename from docs/models/operations/responsebodyaliaserror.md rename to docs/models/responsebodyaliaserror.md index 4e44a943..dbed2d73 100644 --- a/docs/models/operations/responsebodyaliaserror.md +++ b/docs/models/responsebodyaliaserror.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyAliasError } from "@vercel/sdk/models/operations/getdeployment.js"; +import { ResponseBodyAliasError } from "@vercel/sdk/models/getdeploymentop.js"; let value: ResponseBodyAliasError = { code: "", diff --git a/docs/models/operations/responsebodyaliases.md b/docs/models/responsebodyaliases.md similarity index 86% rename from docs/models/operations/responsebodyaliases.md rename to docs/models/responsebodyaliases.md index 82b0ee2d..06151fb0 100644 --- a/docs/models/operations/responsebodyaliases.md +++ b/docs/models/responsebodyaliases.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyAliases } from "@vercel/sdk/models/operations/listpromotealiases.js"; +import { ResponseBodyAliases } from "@vercel/sdk/models/listpromotealiasesop.js"; let value: ResponseBodyAliases = { status: "", diff --git a/docs/models/operations/responsebodyaliaswarning.md b/docs/models/responsebodyaliaswarning.md similarity index 88% rename from docs/models/operations/responsebodyaliaswarning.md rename to docs/models/responsebodyaliaswarning.md index cbf7c756..4fdf218e 100644 --- a/docs/models/operations/responsebodyaliaswarning.md +++ b/docs/models/responsebodyaliaswarning.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyAliasWarning } from "@vercel/sdk/models/operations/getdeployment.js"; +import { ResponseBodyAliasWarning } from "@vercel/sdk/models/getdeploymentop.js"; let value: ResponseBodyAliasWarning = { code: "", diff --git a/docs/models/operations/responsebodybackup.md b/docs/models/responsebodybackup.md similarity index 92% rename from docs/models/operations/responsebodybackup.md rename to docs/models/responsebodybackup.md index 4c35cb98..a2c40111 100644 --- a/docs/models/operations/responsebodybackup.md +++ b/docs/models/responsebodybackup.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { ResponseBodyBackup } from "@vercel/sdk/models/operations/getedgeconfigbackup.js"; +import { ResponseBodyBackup } from "@vercel/sdk/models/getedgeconfigbackupop.js"; let value: ResponseBodyBackup = { digest: "", items: {}, slug: "", - updatedAt: 3.67, + updatedAt: 5199.85, }; ``` @@ -18,6 +18,6 @@ let value: ResponseBodyBackup = { | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | | `digest` | *string* | :heavy_check_mark: | N/A | -| `items` | Record | :heavy_check_mark: | N/A | +| `items` | Record | :heavy_check_mark: | N/A | | `slug` | *string* | :heavy_check_mark: | Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). | | `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/responsebodybillingplan.md b/docs/models/responsebodybillingplan.md new file mode 100644 index 00000000..e8b94f4e --- /dev/null +++ b/docs/models/responsebodybillingplan.md @@ -0,0 +1,31 @@ +# ResponseBodyBillingPlan + +## Example Usage + +```typescript +import { ResponseBodyBillingPlan } from "@vercel/sdk/models/getconfigurationsop.js"; + +let value: ResponseBodyBillingPlan = { + id: "", + type: "prepayment", + name: "", + description: "fax hence optimistically militate rusty so", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `type` | [models.GetConfigurationsResponseBodyIntegrationsResponse200Type](../models/getconfigurationsresponsebodyintegrationsresponse200type.md) | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.GetConfigurationsResponseBodyScope](../models/getconfigurationsresponsebodyscope.md) | :heavy_minus_sign: | N/A | +| `description` | *string* | :heavy_check_mark: | N/A | +| `paymentMethodRequired` | *boolean* | :heavy_minus_sign: | N/A | +| `preauthorizationAmount` | *number* | :heavy_minus_sign: | N/A | +| `cost` | *string* | :heavy_minus_sign: | N/A | +| `details` | [models.ResponseBodyDetails](../models/responsebodydetails.md)[] | :heavy_minus_sign: | N/A | +| `heightlightedDetails` | [models.ResponseBodyHeightlightedDetails](../models/responsebodyheightlighteddetails.md)[] | :heavy_minus_sign: | N/A | +| `quote` | [models.ResponseBodyQuote](../models/responsebodyquote.md)[] | :heavy_minus_sign: | N/A | +| `effectiveDate` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/responsebodybuild.md b/docs/models/responsebodybuild.md similarity index 82% rename from docs/models/operations/responsebodybuild.md rename to docs/models/responsebodybuild.md index b0de5323..b59f63ce 100644 --- a/docs/models/operations/responsebodybuild.md +++ b/docs/models/responsebodybuild.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyBuild } from "@vercel/sdk/models/operations/getdeployment.js"; +import { ResponseBodyBuild } from "@vercel/sdk/models/getdeploymentop.js"; let value: ResponseBodyBuild = { env: [ diff --git a/docs/models/responsebodybuilds.md b/docs/models/responsebodybuilds.md new file mode 100644 index 00000000..acc2cde2 --- /dev/null +++ b/docs/models/responsebodybuilds.md @@ -0,0 +1,14 @@ +# ResponseBodyBuilds + +## Example Usage + +```typescript +import { ResponseBodyBuilds } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: ResponseBodyBuilds = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/responsebodychecksconclusion.md b/docs/models/responsebodychecksconclusion.md similarity index 89% rename from docs/models/operations/responsebodychecksconclusion.md rename to docs/models/responsebodychecksconclusion.md index 5a6f77c3..3d06a3cd 100644 --- a/docs/models/operations/responsebodychecksconclusion.md +++ b/docs/models/responsebodychecksconclusion.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyChecksConclusion } from "@vercel/sdk/models/operations/getdeployment.js"; +import { ResponseBodyChecksConclusion } from "@vercel/sdk/models/getdeploymentop.js"; let value: ResponseBodyChecksConclusion = "canceled"; ``` diff --git a/docs/models/responsebodychecksstate.md b/docs/models/responsebodychecksstate.md new file mode 100644 index 00000000..52ad20bf --- /dev/null +++ b/docs/models/responsebodychecksstate.md @@ -0,0 +1,15 @@ +# ResponseBodyChecksState + +## Example Usage + +```typescript +import { ResponseBodyChecksState } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: ResponseBodyChecksState = "running"; +``` + +## Values + +```typescript +"registered" | "running" | "completed" +``` \ No newline at end of file diff --git a/docs/models/responsebodycontenthint.md b/docs/models/responsebodycontenthint.md new file mode 100644 index 00000000..453510ac --- /dev/null +++ b/docs/models/responsebodycontenthint.md @@ -0,0 +1,143 @@ +# ResponseBodyContentHint + + +## Supported Types + +### `models.FilterProjectEnvsContentHint1` + +```typescript +const value: models.FilterProjectEnvsContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHint2` + +```typescript +const value: models.FilterProjectEnvsContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHint3` + +```typescript +const value: models.FilterProjectEnvsContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHint4` + +```typescript +const value: models.FilterProjectEnvsContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHint5` + +```typescript +const value: models.FilterProjectEnvsContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHint6` + +```typescript +const value: models.FilterProjectEnvsContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHint7` + +```typescript +const value: models.FilterProjectEnvsContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHint8` + +```typescript +const value: models.FilterProjectEnvsContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHint9` + +```typescript +const value: models.FilterProjectEnvsContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHint10` + +```typescript +const value: models.FilterProjectEnvsContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHint11` + +```typescript +const value: models.FilterProjectEnvsContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHint12` + +```typescript +const value: models.FilterProjectEnvsContentHint12 = { + type: "postgres-database", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHint13` + +```typescript +const value: models.FilterProjectEnvsContentHint13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +### `models.FilterProjectEnvsContentHint14` + +```typescript +const value: models.FilterProjectEnvsContentHint14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +### `models.FilterProjectEnvsContentHint15` + +```typescript +const value: models.FilterProjectEnvsContentHint15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + diff --git a/docs/models/operations/responsebodycreator.md b/docs/models/responsebodycreator.md similarity index 86% rename from docs/models/operations/responsebodycreator.md rename to docs/models/responsebodycreator.md index 170c2c52..46dac0de 100644 --- a/docs/models/operations/responsebodycreator.md +++ b/docs/models/responsebodycreator.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyCreator } from "@vercel/sdk/models/operations/getdeployment.js"; +import { ResponseBodyCreator } from "@vercel/sdk/models/getdeploymentop.js"; let value: ResponseBodyCreator = { uid: "", diff --git a/docs/models/operations/responsebodycrons.md b/docs/models/responsebodycrons.md similarity index 85% rename from docs/models/operations/responsebodycrons.md rename to docs/models/responsebodycrons.md index 6b114603..3b42bab7 100644 --- a/docs/models/operations/responsebodycrons.md +++ b/docs/models/responsebodycrons.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyCrons } from "@vercel/sdk/models/operations/getdeployment.js"; +import { ResponseBodyCrons } from "@vercel/sdk/models/getdeploymentop.js"; let value: ResponseBodyCrons = { schedule: "", diff --git a/docs/models/responsebodycustomenvironment.md b/docs/models/responsebodycustomenvironment.md new file mode 100644 index 00000000..8dec08de --- /dev/null +++ b/docs/models/responsebodycustomenvironment.md @@ -0,0 +1,19 @@ +# ResponseBodyCustomEnvironment + + +## Supported Types + +### `models.GetDeploymentCustomEnvironment1` + +```typescript +const value: models.GetDeploymentCustomEnvironment1 = {}; +``` + +### `models.GetDeploymentCustomEnvironment2` + +```typescript +const value: models.GetDeploymentCustomEnvironment2 = { + id: "", +}; +``` + diff --git a/docs/models/operations/responsebodydetails.md b/docs/models/responsebodydetails.md similarity index 84% rename from docs/models/operations/responsebodydetails.md rename to docs/models/responsebodydetails.md index 4104336d..782a0a4c 100644 --- a/docs/models/operations/responsebodydetails.md +++ b/docs/models/responsebodydetails.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyDetails } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { ResponseBodyDetails } from "@vercel/sdk/models/getconfigurationsop.js"; let value: ResponseBodyDetails = { label: "", diff --git a/docs/models/responsebodydisabledreason.md b/docs/models/responsebodydisabledreason.md new file mode 100644 index 00000000..1a0e0e32 --- /dev/null +++ b/docs/models/responsebodydisabledreason.md @@ -0,0 +1,15 @@ +# ResponseBodyDisabledReason + +## Example Usage + +```typescript +import { ResponseBodyDisabledReason } from "@vercel/sdk/models/getconfigurationsop.js"; + +let value: ResponseBodyDisabledReason = "original-owner-role-downgraded"; +``` + +## Values + +```typescript +"disabled-by-owner" | "feature-not-available" | "disabled-by-admin" | "original-owner-left-the-team" | "account-plan-downgrade" | "original-owner-role-downgraded" +``` \ No newline at end of file diff --git a/docs/models/responsebodyenvs.md b/docs/models/responsebodyenvs.md new file mode 100644 index 00000000..af43b723 --- /dev/null +++ b/docs/models/responsebodyenvs.md @@ -0,0 +1,35 @@ +# ResponseBodyEnvs + +## Example Usage + +```typescript +import { ResponseBodyEnvs } from "@vercel/sdk/models/filterprojectenvsop.js"; + +let value: ResponseBodyEnvs = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `target` | *models.FilterProjectEnvsResponseBodyProjectsResponseTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.FilterProjectEnvsResponseBodyProjectsResponse200Type](../models/filterprojectenvsresponsebodyprojectsresponse200type.md) | :heavy_minus_sign: | N/A | +| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *string* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdBy` | *string* | :heavy_minus_sign: | N/A | +| `updatedBy` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `contentHint` | *models.FilterProjectEnvsResponseBodyProjectsContentHint* | :heavy_minus_sign: | N/A | +| `internalContentHint` | [models.FilterProjectEnvsResponseBodyProjectsInternalContentHint](../models/filterprojectenvsresponsebodyprojectsinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | +| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | +| `vsmValue` | *string* | :heavy_minus_sign: | N/A | +| `system` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responsebodyerror.md b/docs/models/responsebodyerror.md new file mode 100644 index 00000000..1b44b903 --- /dev/null +++ b/docs/models/responsebodyerror.md @@ -0,0 +1,17 @@ +# ResponseBodyError + +## Example Usage + +```typescript +import { ResponseBodyError } from "@vercel/sdk/models/artifactqueryop.js"; + +let value: ResponseBodyError = { + message: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `message` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/responsebodyevents.md b/docs/models/responsebodyevents.md similarity index 94% rename from docs/models/operations/responsebodyevents.md rename to docs/models/responsebodyevents.md index 567d59fd..7d350a37 100644 --- a/docs/models/operations/responsebodyevents.md +++ b/docs/models/responsebodyevents.md @@ -5,7 +5,7 @@ The webhooks events ## Example Usage ```typescript -import { ResponseBodyEvents } from "@vercel/sdk/models/operations/getwebhooks.js"; +import { ResponseBodyEvents } from "@vercel/sdk/models/getwebhooksop.js"; let value: ResponseBodyEvents = "deployment.created"; ``` diff --git a/docs/models/responsebodyflags.md b/docs/models/responsebodyflags.md new file mode 100644 index 00000000..db20b6e7 --- /dev/null +++ b/docs/models/responsebodyflags.md @@ -0,0 +1,21 @@ +# ResponseBodyFlags + + +## Supported Types + +### `models.GetDeploymentFlags1` + +```typescript +const value: models.GetDeploymentFlags1 = { + definitions: {}, +}; +``` + +### `models.GetDeploymentFlags2[]` + +```typescript +const value: models.GetDeploymentFlags2[] = [ + {}, +]; +``` + diff --git a/docs/models/operations/responsebodyframework.md b/docs/models/responsebodyframework.md similarity index 88% rename from docs/models/operations/responsebodyframework.md rename to docs/models/responsebodyframework.md index 623a5fae..3c0ebe49 100644 --- a/docs/models/operations/responsebodyframework.md +++ b/docs/models/responsebodyframework.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyFramework } from "@vercel/sdk/models/operations/getdeployment.js"; +import { ResponseBodyFramework } from "@vercel/sdk/models/getdeploymentop.js"; let value: ResponseBodyFramework = "astro"; ``` diff --git a/docs/models/operations/responsebodyfunctions.md b/docs/models/responsebodyfunctions.md similarity index 89% rename from docs/models/operations/responsebodyfunctions.md rename to docs/models/responsebodyfunctions.md index 5a9e41bb..6c0476e2 100644 --- a/docs/models/operations/responsebodyfunctions.md +++ b/docs/models/responsebodyfunctions.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyFunctions } from "@vercel/sdk/models/operations/getdeployment.js"; +import { ResponseBodyFunctions } from "@vercel/sdk/models/getdeploymentop.js"; let value: ResponseBodyFunctions = {}; ``` diff --git a/docs/models/responsebodygitrepo.md b/docs/models/responsebodygitrepo.md new file mode 100644 index 00000000..f9ffafea --- /dev/null +++ b/docs/models/responsebodygitrepo.md @@ -0,0 +1,55 @@ +# ResponseBodyGitRepo + + +## Supported Types + +### `models.GetDeploymentGitRepo1` + +```typescript +const value: models.GetDeploymentGitRepo1 = { + namespace: "", + projectId: 9926.67, + type: "gitlab", + url: "https://warmhearted-developing.info/", + path: "/usr/libdata", + defaultBranch: "", + name: "", + private: false, + ownerType: "team", +}; +``` + +### `models.GetDeploymentGitRepo2` + +```typescript +const value: models.GetDeploymentGitRepo2 = { + org: "", + repo: "", + repoId: 5663.12, + type: "github", + repoOwnerId: 1858.17, + path: "/etc/defaults", + defaultBranch: "", + name: "", + private: false, + ownerType: "team", +}; +``` + +### `models.GetDeploymentGitRepo3` + +```typescript +const value: models.GetDeploymentGitRepo3 = { + owner: "", + repoUuid: "", + slug: "", + type: "bitbucket", + workspaceUuid: "", + path: "/opt", + defaultBranch: "", + name: "", + private: false, + ownerType: "team", +}; +``` + diff --git a/docs/models/responsebodygitsource.md b/docs/models/responsebodygitsource.md new file mode 100644 index 00000000..5ae6f3db --- /dev/null +++ b/docs/models/responsebodygitsource.md @@ -0,0 +1,97 @@ +# ResponseBodyGitSource + + +## Supported Types + +### `models.GetDeploymentGitSource1` + +```typescript +const value: models.GetDeploymentGitSource1 = { + type: "github", + repoId: 2808.59, +}; +``` + +### `models.GetDeploymentGitSource2` + +```typescript +const value: models.GetDeploymentGitSource2 = { + type: "github", + org: "", + repo: "", +}; +``` + +### `models.GetDeploymentGitSource3` + +```typescript +const value: models.GetDeploymentGitSource3 = { + type: "gitlab", + projectId: 7285.59, +}; +``` + +### `models.GetDeploymentGitSource4` + +```typescript +const value: models.GetDeploymentGitSource4 = { + type: "bitbucket", + repoUuid: "", +}; +``` + +### `models.GetDeploymentGitSource5` + +```typescript +const value: models.GetDeploymentGitSource5 = { + type: "bitbucket", + owner: "", + slug: "", +}; +``` + +### `models.GetDeploymentGitSource6` + +```typescript +const value: models.GetDeploymentGitSource6 = { + type: "custom", + ref: "", + sha: "", + gitUrl: "https://squiggly-cafe.info/", +}; +``` + +### `models.GetDeploymentGitSource7` + +```typescript +const value: models.GetDeploymentGitSource7 = { + type: "github", + ref: "", + sha: "", + repoId: 2212.18, +}; +``` + +### `models.GetDeploymentGitSource8` + +```typescript +const value: models.GetDeploymentGitSource8 = { + type: "gitlab", + ref: "", + sha: "", + projectId: 6837.26, +}; +``` + +### `models.GetDeploymentGitSource9` + +```typescript +const value: models.GetDeploymentGitSource9 = { + type: "bitbucket", + ref: "", + sha: "", + workspaceUuid: "", + repoUuid: "", +}; +``` + diff --git a/docs/models/operations/responsebodyheightlighteddetails.md b/docs/models/responsebodyheightlighteddetails.md similarity index 93% rename from docs/models/operations/responsebodyheightlighteddetails.md rename to docs/models/responsebodyheightlighteddetails.md index 84eb3fc0..98cefc2f 100644 --- a/docs/models/operations/responsebodyheightlighteddetails.md +++ b/docs/models/responsebodyheightlighteddetails.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyHeightlightedDetails } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { ResponseBodyHeightlightedDetails } from "@vercel/sdk/models/getconfigurationsop.js"; let value: ResponseBodyHeightlightedDetails = { label: "", diff --git a/docs/models/operations/responsebodyid.md b/docs/models/responsebodyid.md similarity index 81% rename from docs/models/operations/responsebodyid.md rename to docs/models/responsebodyid.md index 83e700f9..66775d77 100644 --- a/docs/models/operations/responsebodyid.md +++ b/docs/models/responsebodyid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 9642.10; +const value: number = 9040.51; ``` diff --git a/docs/models/operations/responsebodyinstallationtype.md b/docs/models/responsebodyinstallationtype.md similarity index 93% rename from docs/models/operations/responsebodyinstallationtype.md rename to docs/models/responsebodyinstallationtype.md index 67ad324a..9aba3d1f 100644 --- a/docs/models/operations/responsebodyinstallationtype.md +++ b/docs/models/responsebodyinstallationtype.md @@ -5,7 +5,7 @@ Defines the installation type. - 'external' integrations are installed via the e ## Example Usage ```typescript -import { ResponseBodyInstallationType } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { ResponseBodyInstallationType } from "@vercel/sdk/models/getconfigurationsop.js"; let value: ResponseBodyInstallationType = "marketplace"; ``` diff --git a/docs/models/responsebodyintegrations.md b/docs/models/responsebodyintegrations.md new file mode 100644 index 00000000..675ab1eb --- /dev/null +++ b/docs/models/responsebodyintegrations.md @@ -0,0 +1,22 @@ +# ResponseBodyIntegrations + +## Example Usage + +```typescript +import { ResponseBodyIntegrations } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: ResponseBodyIntegrations = { + status: "ready", + startedAt: 1559.78, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `status` | [models.GetDeploymentResponseBodyDeploymentsStatus](../models/getdeploymentresponsebodydeploymentsstatus.md) | :heavy_check_mark: | N/A | +| `startedAt` | *number* | :heavy_check_mark: | N/A | +| `completedAt` | *number* | :heavy_minus_sign: | N/A | +| `skippedAt` | *number* | :heavy_minus_sign: | N/A | +| `skippedBy` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/responsebodyinternalcontenthint.md b/docs/models/responsebodyinternalcontenthint.md similarity index 93% rename from docs/models/operations/responsebodyinternalcontenthint.md rename to docs/models/responsebodyinternalcontenthint.md index 2272e57d..a7efdcfc 100644 --- a/docs/models/operations/responsebodyinternalcontenthint.md +++ b/docs/models/responsebodyinternalcontenthint.md @@ -5,7 +5,7 @@ Similar to `contentHints`, but should not be exposed to the user. ## Example Usage ```typescript -import { ResponseBodyInternalContentHint } from "@vercel/sdk/models/operations/filterprojectenvs.js"; +import { ResponseBodyInternalContentHint } from "@vercel/sdk/models/filterprojectenvsop.js"; let value: ResponseBodyInternalContentHint = { type: "flags-secret", @@ -17,5 +17,5 @@ let value: ResponseBodyInternalContentHint = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `type` | [operations.FilterProjectEnvsResponseBodyProjectsType](../../models/operations/filterprojectenvsresponsebodyprojectstype.md) | :heavy_check_mark: | N/A | +| `type` | [models.FilterProjectEnvsResponseBodyProjectsType](../models/filterprojectenvsresponsebodyprojectstype.md) | :heavy_check_mark: | N/A | | `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/responsebodyitems.md b/docs/models/responsebodyitems.md new file mode 100644 index 00000000..3efb0a23 --- /dev/null +++ b/docs/models/responsebodyitems.md @@ -0,0 +1,22 @@ +# ResponseBodyItems + +## Example Usage + +```typescript +import { ResponseBodyItems } from "@vercel/sdk/models/getedgeconfigbackupop.js"; + +let value: ResponseBodyItems = { + updatedAt: 7631.40, + value: [], + createdAt: 5620.66, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `value` | *models.EdgeConfigItemValue* | :heavy_check_mark: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/responsebodylambdas.md b/docs/models/responsebodylambdas.md new file mode 100644 index 00000000..a405928e --- /dev/null +++ b/docs/models/responsebodylambdas.md @@ -0,0 +1,29 @@ +# ResponseBodyLambdas + +A partial representation of a Build used by the deployment endpoint. + +## Example Usage + +```typescript +import { ResponseBodyLambdas } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: ResponseBodyLambdas = { + output: [ + { + path: "/var", + functionName: "", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `entrypoint` | *string* | :heavy_minus_sign: | N/A | +| `readyState` | [models.GetDeploymentResponseBodyDeploymentsReadyState](../models/getdeploymentresponsebodydeploymentsreadystate.md) | :heavy_minus_sign: | N/A | +| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | +| `output` | [models.GetDeploymentResponseBodyOutput](../models/getdeploymentresponsebodyoutput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/responsebodymembers.md b/docs/models/responsebodymembers.md new file mode 100644 index 00000000..3854e578 --- /dev/null +++ b/docs/models/responsebodymembers.md @@ -0,0 +1,33 @@ +# ResponseBodyMembers + +## Example Usage + +```typescript +import { ResponseBodyMembers } from "@vercel/sdk/models/getprojectmembersop.js"; + +let value: ResponseBodyMembers = { + avatar: "123a6c5209bc3778245d011443644c8d27dc2c50", + email: "jane.doe@example.com", + role: "ADMIN", + computedProjectRole: "ADMIN", + uid: "zTuNVUXEAvvnNN3IaqinkyMw", + username: "jane-doe", + name: "Jane Doe", + createdAt: 1588720733602, + teamRole: "CONTRIBUTOR", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `avatar` | *string* | :heavy_minus_sign: | ID of the file for the Avatar of this member. | 123a6c5209bc3778245d011443644c8d27dc2c50 | +| `email` | *string* | :heavy_check_mark: | The email of this member. | jane.doe@example.com | +| `role` | [models.GetProjectMembersResponseBodyRole](../models/getprojectmembersresponsebodyrole.md) | :heavy_check_mark: | Role of this user in the project. | ADMIN | +| `computedProjectRole` | [models.ComputedProjectRole](../models/computedprojectrole.md) | :heavy_check_mark: | Role of this user in the project. | ADMIN | +| `uid` | *string* | :heavy_check_mark: | The ID of this user. | zTuNVUXEAvvnNN3IaqinkyMw | +| `username` | *string* | :heavy_check_mark: | The unique username of this user. | jane-doe | +| `name` | *string* | :heavy_minus_sign: | The name of this user. | Jane Doe | +| `createdAt` | *number* | :heavy_check_mark: | Timestamp in milliseconds when this member was added. | 1588720733602 | +| `teamRole` | [models.ResponseBodyTeamRole](../models/responsebodyteamrole.md) | :heavy_check_mark: | The role of this user in the team. | CONTRIBUTOR | \ No newline at end of file diff --git a/docs/models/operations/responsebodymetadata.md b/docs/models/responsebodymetadata.md similarity index 87% rename from docs/models/operations/responsebodymetadata.md rename to docs/models/responsebodymetadata.md index 64a05fc1..5f4d7bf2 100644 --- a/docs/models/operations/responsebodymetadata.md +++ b/docs/models/responsebodymetadata.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyMetadata } from "@vercel/sdk/models/operations/getedgeconfigbackup.js"; +import { ResponseBodyMetadata } from "@vercel/sdk/models/getedgeconfigbackupop.js"; let value: ResponseBodyMetadata = {}; ``` diff --git a/docs/models/responsebodymicrofrontends.md b/docs/models/responsebodymicrofrontends.md new file mode 100644 index 00000000..3de5d31e --- /dev/null +++ b/docs/models/responsebodymicrofrontends.md @@ -0,0 +1,26 @@ +# ResponseBodyMicrofrontends + + +## Supported Types + +### `models.GetDeploymentMicrofrontends1` + +```typescript +const value: models.GetDeploymentMicrofrontends1 = { + groupIds: [ + "", + ], +}; +``` + +### `models.GetDeploymentMicrofrontends2` + +```typescript +const value: models.GetDeploymentMicrofrontends2 = { + isDefaultApp: false, + groupIds: [ + "", + ], +}; +``` + diff --git a/docs/models/operations/responsebodynamespaceid.md b/docs/models/responsebodynamespaceid.md similarity index 82% rename from docs/models/operations/responsebodynamespaceid.md rename to docs/models/responsebodynamespaceid.md index 633437c6..87ee7654 100644 --- a/docs/models/operations/responsebodynamespaceid.md +++ b/docs/models/responsebodynamespaceid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 2977.23; +const value: number = 4618.53; ``` diff --git a/docs/models/operations/responsebodyoidctokenclaims.md b/docs/models/responsebodyoidctokenclaims.md similarity index 97% rename from docs/models/operations/responsebodyoidctokenclaims.md rename to docs/models/responsebodyoidctokenclaims.md index 480e9292..16eca234 100644 --- a/docs/models/operations/responsebodyoidctokenclaims.md +++ b/docs/models/responsebodyoidctokenclaims.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyOidcTokenClaims } from "@vercel/sdk/models/operations/getdeployment.js"; +import { ResponseBodyOidcTokenClaims } from "@vercel/sdk/models/getdeploymentop.js"; let value: ResponseBodyOidcTokenClaims = { iss: "", diff --git a/docs/models/operations/responsebodyoutput.md b/docs/models/responsebodyoutput.md similarity index 85% rename from docs/models/operations/responsebodyoutput.md rename to docs/models/responsebodyoutput.md index 4e8da668..31d5cc54 100644 --- a/docs/models/operations/responsebodyoutput.md +++ b/docs/models/responsebodyoutput.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyOutput } from "@vercel/sdk/models/operations/getdeployment.js"; +import { ResponseBodyOutput } from "@vercel/sdk/models/getdeploymentop.js"; let value: ResponseBodyOutput = { path: "/usr/src", diff --git a/docs/models/responsebodyownertype.md b/docs/models/responsebodyownertype.md new file mode 100644 index 00000000..e5fa13b1 --- /dev/null +++ b/docs/models/responsebodyownertype.md @@ -0,0 +1,15 @@ +# ResponseBodyOwnerType + +## Example Usage + +```typescript +import { ResponseBodyOwnerType } from "@vercel/sdk/models/searchrepoop.js"; + +let value: ResponseBodyOwnerType = "team"; +``` + +## Values + +```typescript +"user" | "team" +``` \ No newline at end of file diff --git a/docs/models/operations/responsebodypagination.md b/docs/models/responsebodypagination.md similarity index 84% rename from docs/models/operations/responsebodypagination.md rename to docs/models/responsebodypagination.md index 65479135..069ed056 100644 --- a/docs/models/operations/responsebodypagination.md +++ b/docs/models/responsebodypagination.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyPagination } from "@vercel/sdk/models/operations/listaccessgroups.js"; +import { ResponseBodyPagination } from "@vercel/sdk/models/listaccessgroupsop.js"; let value: ResponseBodyPagination = { count: 7742.34, diff --git a/docs/models/responsebodyplan.md b/docs/models/responsebodyplan.md new file mode 100644 index 00000000..9e051c55 --- /dev/null +++ b/docs/models/responsebodyplan.md @@ -0,0 +1,15 @@ +# ResponseBodyPlan + +## Example Usage + +```typescript +import { ResponseBodyPlan } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: ResponseBodyPlan = "enterprise"; +``` + +## Values + +```typescript +"pro" | "enterprise" | "hobby" +``` \ No newline at end of file diff --git a/docs/models/operations/responsebodyproject.md b/docs/models/responsebodyproject.md similarity index 86% rename from docs/models/operations/responsebodyproject.md rename to docs/models/responsebodyproject.md index ffc5316f..7d7acc50 100644 --- a/docs/models/operations/responsebodyproject.md +++ b/docs/models/responsebodyproject.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyProject } from "@vercel/sdk/models/operations/getdeployment.js"; +import { ResponseBodyProject } from "@vercel/sdk/models/getdeploymentop.js"; let value: ResponseBodyProject = { id: "", diff --git a/docs/models/responsebodyprojectsettings.md b/docs/models/responsebodyprojectsettings.md new file mode 100644 index 00000000..2530d2e0 --- /dev/null +++ b/docs/models/responsebodyprojectsettings.md @@ -0,0 +1,22 @@ +# ResponseBodyProjectSettings + +## Example Usage + +```typescript +import { ResponseBodyProjectSettings } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: ResponseBodyProjectSettings = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `buildCommand` | *string* | :heavy_minus_sign: | N/A | +| `devCommand` | *string* | :heavy_minus_sign: | N/A | +| `framework` | [models.ResponseBodyFramework](../models/responsebodyframework.md) | :heavy_minus_sign: | N/A | +| `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | +| `installCommand` | *string* | :heavy_minus_sign: | N/A | +| `outputDirectory` | *string* | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.ResponseBodySpeedInsights](../models/responsebodyspeedinsights.md) | :heavy_minus_sign: | N/A | +| `webAnalytics` | [models.ResponseBodyWebAnalytics](../models/responsebodywebanalytics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responsebodyprovider.md b/docs/models/responsebodyprovider.md new file mode 100644 index 00000000..32eae91d --- /dev/null +++ b/docs/models/responsebodyprovider.md @@ -0,0 +1,15 @@ +# ResponseBodyProvider + +## Example Usage + +```typescript +import { ResponseBodyProvider } from "@vercel/sdk/models/searchrepoop.js"; + +let value: ResponseBodyProvider = "github-custom-host"; +``` + +## Values + +```typescript +"github" | "github-custom-host" | "gitlab" | "bitbucket" +``` \ No newline at end of file diff --git a/docs/models/operations/responsebodyquote.md b/docs/models/responsebodyquote.md similarity index 81% rename from docs/models/operations/responsebodyquote.md rename to docs/models/responsebodyquote.md index 122b17ec..7e3cd97b 100644 --- a/docs/models/operations/responsebodyquote.md +++ b/docs/models/responsebodyquote.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { ResponseBodyQuote } from "@vercel/sdk/models/operations/getconfigurations.js"; +import { ResponseBodyQuote } from "@vercel/sdk/models/getconfigurationsop.js"; let value: ResponseBodyQuote = { line: "", - amount: "818.10", + amount: "349.09", }; ``` diff --git a/docs/models/responsebodyreadystate.md b/docs/models/responsebodyreadystate.md new file mode 100644 index 00000000..df2f1a2b --- /dev/null +++ b/docs/models/responsebodyreadystate.md @@ -0,0 +1,15 @@ +# ResponseBodyReadyState + +## Example Usage + +```typescript +import { ResponseBodyReadyState } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: ResponseBodyReadyState = "INITIALIZING"; +``` + +## Values + +```typescript +"QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED" +``` \ No newline at end of file diff --git a/docs/models/operations/responsebodyreadysubstate.md b/docs/models/responsebodyreadysubstate.md similarity index 80% rename from docs/models/operations/responsebodyreadysubstate.md rename to docs/models/responsebodyreadysubstate.md index 41768ea4..9c5821c6 100644 --- a/docs/models/operations/responsebodyreadysubstate.md +++ b/docs/models/responsebodyreadysubstate.md @@ -5,7 +5,7 @@ Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether ## Example Usage ```typescript -import { ResponseBodyReadySubstate } from "@vercel/sdk/models/operations/getdeployment.js"; +import { ResponseBodyReadySubstate } from "@vercel/sdk/models/getdeploymentop.js"; let value: ResponseBodyReadySubstate = "PROMOTED"; ``` diff --git a/docs/models/responsebodyrecords.md b/docs/models/responsebodyrecords.md new file mode 100644 index 00000000..91361f89 --- /dev/null +++ b/docs/models/responsebodyrecords.md @@ -0,0 +1,37 @@ +# ResponseBodyRecords + +## Example Usage + +```typescript +import { ResponseBodyRecords } from "@vercel/sdk/models/getrecordsop.js"; + +let value: ResponseBodyRecords = { + id: "", + slug: "", + name: "", + type: "SRV", + value: "", + creator: "", + created: 7898.70, + updated: 3172.60, + createdAt: 9792.70, + updatedAt: 6496.56, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `type` | [models.GetRecordsResponseBodyDnsType](../models/getrecordsresponsebodydnstype.md) | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `mxPriority` | *number* | :heavy_minus_sign: | N/A | +| `priority` | *number* | :heavy_minus_sign: | N/A | +| `creator` | *string* | :heavy_check_mark: | N/A | +| `created` | *number* | :heavy_check_mark: | N/A | +| `updated` | *number* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/responsebodyrole.md b/docs/models/responsebodyrole.md new file mode 100644 index 00000000..07c50f35 --- /dev/null +++ b/docs/models/responsebodyrole.md @@ -0,0 +1,17 @@ +# ResponseBodyRole + +The role used for the invitation + +## Example Usage + +```typescript +import { ResponseBodyRole } from "@vercel/sdk/models/inviteusertoteamop.js"; + +let value: ResponseBodyRole = "MEMBER"; +``` + +## Values + +```typescript +"OWNER" | "MEMBER" | "DEVELOPER" | "BILLING" | "VIEWER" | "CONTRIBUTOR" +``` \ No newline at end of file diff --git a/docs/models/responsebodyroutes.md b/docs/models/responsebodyroutes.md new file mode 100644 index 00000000..c9561f46 --- /dev/null +++ b/docs/models/responsebodyroutes.md @@ -0,0 +1,31 @@ +# ResponseBodyRoutes + + +## Supported Types + +### `models.GetDeploymentRoutes1` + +```typescript +const value: models.GetDeploymentRoutes1 = { + src: "", +}; +``` + +### `models.GetDeploymentRoutes2` + +```typescript +const value: models.GetDeploymentRoutes2 = { + handle: "miss", +}; +``` + +### `models.GetDeploymentRoutes3` + +```typescript +const value: models.GetDeploymentRoutes3 = { + src: "", + continue: false, + middleware: 3442.89, +}; +``` + diff --git a/docs/models/responsebodyscope.md b/docs/models/responsebodyscope.md new file mode 100644 index 00000000..d51b1a85 --- /dev/null +++ b/docs/models/responsebodyscope.md @@ -0,0 +1,15 @@ +# ResponseBodyScope + +## Example Usage + +```typescript +import { ResponseBodyScope } from "@vercel/sdk/models/getconfigurationsop.js"; + +let value: ResponseBodyScope = "installation"; +``` + +## Values + +```typescript +"installation" | "resource" +``` \ No newline at end of file diff --git a/docs/models/responsebodysource.md b/docs/models/responsebodysource.md new file mode 100644 index 00000000..05c58ea7 --- /dev/null +++ b/docs/models/responsebodysource.md @@ -0,0 +1,15 @@ +# ResponseBodySource + +## Example Usage + +```typescript +import { ResponseBodySource } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: ResponseBodySource = "v0-web"; +``` + +## Values + +```typescript +"api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy" | "v0-web" +``` \ No newline at end of file diff --git a/docs/models/operations/responsebodyspeedinsights.md b/docs/models/responsebodyspeedinsights.md similarity index 89% rename from docs/models/operations/responsebodyspeedinsights.md rename to docs/models/responsebodyspeedinsights.md index 363e7d2c..c21b59ad 100644 --- a/docs/models/operations/responsebodyspeedinsights.md +++ b/docs/models/responsebodyspeedinsights.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodySpeedInsights } from "@vercel/sdk/models/operations/getdeployment.js"; +import { ResponseBodySpeedInsights } from "@vercel/sdk/models/getdeploymentop.js"; let value: ResponseBodySpeedInsights = { id: "", diff --git a/docs/models/responsebodystatus.md b/docs/models/responsebodystatus.md new file mode 100644 index 00000000..e24fa72f --- /dev/null +++ b/docs/models/responsebodystatus.md @@ -0,0 +1,15 @@ +# ResponseBodyStatus + +## Example Usage + +```typescript +import { ResponseBodyStatus } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: ResponseBodyStatus = "QUEUED"; +``` + +## Values + +```typescript +"QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED" +``` \ No newline at end of file diff --git a/docs/models/responsebodytarget.md b/docs/models/responsebodytarget.md new file mode 100644 index 00000000..f086300c --- /dev/null +++ b/docs/models/responsebodytarget.md @@ -0,0 +1,15 @@ +# ResponseBodyTarget + +## Example Usage + +```typescript +import { ResponseBodyTarget } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: ResponseBodyTarget = "staging"; +``` + +## Values + +```typescript +"staging" | "production" +``` \ No newline at end of file diff --git a/docs/models/operations/responsebodyteam.md b/docs/models/responsebodyteam.md similarity index 88% rename from docs/models/operations/responsebodyteam.md rename to docs/models/responsebodyteam.md index cf9b1ace..7b5a21b7 100644 --- a/docs/models/operations/responsebodyteam.md +++ b/docs/models/responsebodyteam.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyTeam } from "@vercel/sdk/models/operations/getdeployment.js"; +import { ResponseBodyTeam } from "@vercel/sdk/models/getdeploymentop.js"; let value: ResponseBodyTeam = { id: "", diff --git a/docs/models/responsebodyteamrole.md b/docs/models/responsebodyteamrole.md new file mode 100644 index 00000000..587a3649 --- /dev/null +++ b/docs/models/responsebodyteamrole.md @@ -0,0 +1,17 @@ +# ResponseBodyTeamRole + +The role of this user in the team. + +## Example Usage + +```typescript +import { ResponseBodyTeamRole } from "@vercel/sdk/models/getprojectmembersop.js"; + +let value: ResponseBodyTeamRole = "CONTRIBUTOR"; +``` + +## Values + +```typescript +"OWNER" | "MEMBER" | "DEVELOPER" | "BILLING" | "VIEWER" | "CONTRIBUTOR" +``` \ No newline at end of file diff --git a/docs/models/responsebodytype.md b/docs/models/responsebodytype.md new file mode 100644 index 00000000..902544e5 --- /dev/null +++ b/docs/models/responsebodytype.md @@ -0,0 +1,15 @@ +# ResponseBodyType + +## Example Usage + +```typescript +import { ResponseBodyType } from "@vercel/sdk/models/getdeploymentop.js"; + +let value: ResponseBodyType = "LAMBDAS"; +``` + +## Values + +```typescript +"LAMBDAS" +``` \ No newline at end of file diff --git a/docs/models/operations/responsebodyuser.md b/docs/models/responsebodyuser.md similarity index 83% rename from docs/models/operations/responsebodyuser.md rename to docs/models/responsebodyuser.md index 217f8ab9..ddb71481 100644 --- a/docs/models/operations/responsebodyuser.md +++ b/docs/models/responsebodyuser.md @@ -3,12 +3,12 @@ ## Example Usage ```typescript -import { ResponseBodyUser } from "@vercel/sdk/models/operations/getedgeconfigbackup.js"; +import { ResponseBodyUser } from "@vercel/sdk/models/getedgeconfigbackupop.js"; let value: ResponseBodyUser = { id: "", - username: "Titus.Davis", - email: "Lola66@yahoo.com", + username: "Sierra30", + email: "Aaron10@gmail.com", }; ``` diff --git a/docs/models/operations/responsebodywebanalytics.md b/docs/models/responsebodywebanalytics.md similarity index 88% rename from docs/models/operations/responsebodywebanalytics.md rename to docs/models/responsebodywebanalytics.md index 188c9ace..313b3606 100644 --- a/docs/models/operations/responsebodywebanalytics.md +++ b/docs/models/responsebodywebanalytics.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyWebAnalytics } from "@vercel/sdk/models/operations/getdeployment.js"; +import { ResponseBodyWebAnalytics } from "@vercel/sdk/models/getdeploymentop.js"; let value: ResponseBodyWebAnalytics = { id: "", diff --git a/docs/models/result.md b/docs/models/result.md new file mode 100644 index 00000000..b61e27ba --- /dev/null +++ b/docs/models/result.md @@ -0,0 +1,15 @@ +# Result + +## Example Usage + +```typescript +import { Result } from "@vercel/sdk/models/submitinvoiceop.js"; + +let value: Result = "paid"; +``` + +## Values + +```typescript +"paid" | "notpaid" +``` \ No newline at end of file diff --git a/docs/models/operations/revoke.md b/docs/models/revoke.md similarity index 95% rename from docs/models/operations/revoke.md rename to docs/models/revoke.md index 98312be3..3bf497a1 100644 --- a/docs/models/operations/revoke.md +++ b/docs/models/revoke.md @@ -5,7 +5,7 @@ Optional instructions for revoking and regenerating a automation bypass ## Example Usage ```typescript -import { Revoke } from "@vercel/sdk/models/operations/updateprojectprotectionbypass.js"; +import { Revoke } from "@vercel/sdk/models/updateprojectprotectionbypassop.js"; let value: Revoke = { secret: "", diff --git a/docs/models/rfi.md b/docs/models/rfi.md new file mode 100644 index 00000000..8a31cc23 --- /dev/null +++ b/docs/models/rfi.md @@ -0,0 +1,21 @@ +# Rfi + +Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files. + +## Example Usage + +```typescript +import { Rfi } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Rfi = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityRequestRequestBodyAction](../models/putfirewallconfigsecurityrequestrequestbodyaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/role.md b/docs/models/role.md new file mode 100644 index 00000000..383a9f2c --- /dev/null +++ b/docs/models/role.md @@ -0,0 +1,15 @@ +# Role + +## Example Usage + +```typescript +import { Role } from "@vercel/sdk/models/teamlimited.js"; + +let value: Role = "VIEWER"; +``` + +## Values + +```typescript +"OWNER" | "MEMBER" | "DEVELOPER" | "BILLING" | "VIEWER" | "CONTRIBUTOR" +``` \ No newline at end of file diff --git a/docs/models/roles.md b/docs/models/roles.md new file mode 100644 index 00000000..a54b346a --- /dev/null +++ b/docs/models/roles.md @@ -0,0 +1,19 @@ +# Roles + + +## Supported Types + +### `models.Roles1` + +```typescript +const value: models.Roles1 = "CONTRIBUTOR"; +``` + +### `models.Roles2` + +```typescript +const value: models.Roles2 = { + accessGroupId: "", +}; +``` + diff --git a/docs/models/roles1.md b/docs/models/roles1.md new file mode 100644 index 00000000..b976428b --- /dev/null +++ b/docs/models/roles1.md @@ -0,0 +1,15 @@ +# Roles1 + +## Example Usage + +```typescript +import { Roles1 } from "@vercel/sdk/models/patchteamop.js"; + +let value: Roles1 = "MEMBER"; +``` + +## Values + +```typescript +"OWNER" | "MEMBER" | "DEVELOPER" | "BILLING" | "VIEWER" | "CONTRIBUTOR" +``` \ No newline at end of file diff --git a/docs/models/operations/roles2.md b/docs/models/roles2.md similarity index 84% rename from docs/models/operations/roles2.md rename to docs/models/roles2.md index 0aa88c3c..1ed6d561 100644 --- a/docs/models/operations/roles2.md +++ b/docs/models/roles2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Roles2 } from "@vercel/sdk/models/operations/patchteam.js"; +import { Roles2 } from "@vercel/sdk/models/patchteamop.js"; let value: Roles2 = { accessGroupId: "", diff --git a/docs/models/routes.md b/docs/models/routes.md new file mode 100644 index 00000000..0dc51193 --- /dev/null +++ b/docs/models/routes.md @@ -0,0 +1,31 @@ +# Routes + + +## Supported Types + +### `models.Routes1` + +```typescript +const value: models.Routes1 = { + src: "", +}; +``` + +### `models.Routes2` + +```typescript +const value: models.Routes2 = { + handle: "rewrite", +}; +``` + +### `models.Routes3` + +```typescript +const value: models.Routes3 = { + src: "", + continue: false, + middleware: 9492.80, +}; +``` + diff --git a/docs/models/operations/routes1.md b/docs/models/routes1.md similarity index 94% rename from docs/models/operations/routes1.md rename to docs/models/routes1.md index f572211f..565abafd 100644 --- a/docs/models/operations/routes1.md +++ b/docs/models/routes1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Routes1 } from "@vercel/sdk/models/operations/createdeployment.js"; +import { Routes1 } from "@vercel/sdk/models/createdeploymentop.js"; let value: Routes1 = { src: "", @@ -24,9 +24,9 @@ let value: Routes1 = { | `check` | *boolean* | :heavy_minus_sign: | N/A | | `important` | *boolean* | :heavy_minus_sign: | N/A | | `status` | *number* | :heavy_minus_sign: | N/A | -| `has` | *operations.RoutesHas*[] | :heavy_minus_sign: | N/A | -| `missing` | *operations.RoutesMissing*[] | :heavy_minus_sign: | N/A | -| `locale` | [operations.Locale](../../models/operations/locale.md) | :heavy_minus_sign: | N/A | +| `has` | *models.RoutesHas*[] | :heavy_minus_sign: | N/A | +| `missing` | *models.RoutesMissing*[] | :heavy_minus_sign: | N/A | +| `locale` | [models.Locale](../models/locale.md) | :heavy_minus_sign: | N/A | | `middlewarePath` | *string* | :heavy_minus_sign: | A middleware key within the `output` key under the build result. Overrides a `middleware` definition. | | `middlewareRawSrc` | *string*[] | :heavy_minus_sign: | The original middleware matchers. | | `middleware` | *number* | :heavy_minus_sign: | A middleware index in the `middleware` key under the build result | \ No newline at end of file diff --git a/docs/models/routes2.md b/docs/models/routes2.md new file mode 100644 index 00000000..0217d08b --- /dev/null +++ b/docs/models/routes2.md @@ -0,0 +1,20 @@ +# Routes2 + +## Example Usage + +```typescript +import { Routes2 } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: Routes2 = { + handle: "hit", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `handle` | [models.RoutesHandle](../models/routeshandle.md) | :heavy_check_mark: | N/A | +| `src` | *string* | :heavy_minus_sign: | N/A | +| `dest` | *string* | :heavy_minus_sign: | N/A | +| `status` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/routes3.md b/docs/models/routes3.md similarity index 88% rename from docs/models/operations/routes3.md rename to docs/models/routes3.md index fb7692a3..c2e005e2 100644 --- a/docs/models/operations/routes3.md +++ b/docs/models/routes3.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Routes3 } from "@vercel/sdk/models/operations/createdeployment.js"; +import { Routes3 } from "@vercel/sdk/models/createdeploymentop.js"; let value: Routes3 = { src: "", diff --git a/docs/models/routeshandle.md b/docs/models/routeshandle.md new file mode 100644 index 00000000..0d91dffa --- /dev/null +++ b/docs/models/routeshandle.md @@ -0,0 +1,15 @@ +# RoutesHandle + +## Example Usage + +```typescript +import { RoutesHandle } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: RoutesHandle = "miss"; +``` + +## Values + +```typescript +"error" | "filesystem" | "hit" | "miss" | "rewrite" | "resource" +``` \ No newline at end of file diff --git a/docs/models/routeshas.md b/docs/models/routeshas.md new file mode 100644 index 00000000..2e9a639f --- /dev/null +++ b/docs/models/routeshas.md @@ -0,0 +1,23 @@ +# RoutesHas + + +## Supported Types + +### `models.Has1` + +```typescript +const value: models.Has1 = { + type: "host", + value: "", +}; +``` + +### `models.Has2` + +```typescript +const value: models.Has2 = { + type: "header", + key: "", +}; +``` + diff --git a/docs/models/operations/routeslocale.md b/docs/models/routeslocale.md similarity index 86% rename from docs/models/operations/routeslocale.md rename to docs/models/routeslocale.md index d1a6051c..f304e2b8 100644 --- a/docs/models/operations/routeslocale.md +++ b/docs/models/routeslocale.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RoutesLocale } from "@vercel/sdk/models/operations/canceldeployment.js"; +import { RoutesLocale } from "@vercel/sdk/models/canceldeploymentop.js"; let value: RoutesLocale = {}; ``` diff --git a/docs/models/routesmissing.md b/docs/models/routesmissing.md new file mode 100644 index 00000000..f39b9eed --- /dev/null +++ b/docs/models/routesmissing.md @@ -0,0 +1,23 @@ +# RoutesMissing + + +## Supported Types + +### `models.Missing1` + +```typescript +const value: models.Missing1 = { + type: "host", + value: "", +}; +``` + +### `models.Missing2` + +```typescript +const value: models.Missing2 = { + type: "cookie", + key: "", +}; +``` + diff --git a/docs/models/rules.md b/docs/models/rules.md new file mode 100644 index 00000000..9af32aca --- /dev/null +++ b/docs/models/rules.md @@ -0,0 +1,34 @@ +# Rules + +## Example Usage + +```typescript +import { Rules } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Rules = { + name: "", + active: false, + conditionGroup: [ + { + conditions: [ + { + type: "rate_limit_api_id", + op: "re", + }, + ], + }, + ], + action: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `conditionGroup` | [models.ConditionGroup](../models/conditiongroup.md)[] | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityRequestRequestBodyRulesAction](../models/putfirewallconfigsecurityrequestrequestbodyrulesaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/saml.md b/docs/models/saml.md new file mode 100644 index 00000000..04198b41 --- /dev/null +++ b/docs/models/saml.md @@ -0,0 +1,34 @@ +# Saml + +When "Single Sign-On (SAML)" is configured, this object contains information that allows the client-side to identify whether or not this Team has SAML enforced. + +## Example Usage + +```typescript +import { Saml } from "@vercel/sdk/models/teamlimited.js"; + +let value: Saml = { + connection: { + type: "OktaSAML", + status: "linked", + state: "active", + connectedAt: 1611796915677, + lastReceivedWebhookEvent: 1611796915677, + }, + directory: { + type: "OktaSAML", + state: "active", + connectedAt: 1611796915677, + lastReceivedWebhookEvent: 1611796915677, + }, + enforced: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `connection` | [models.Connection](../models/connection.md) | :heavy_minus_sign: | Information for the SAML Single Sign-On configuration. | +| `directory` | [models.Directory](../models/directory.md) | :heavy_minus_sign: | Information for the Directory Sync configuration. | +| `enforced` | *boolean* | :heavy_check_mark: | When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team's SAML Single Sign-On provider. | \ No newline at end of file diff --git a/docs/models/schema.md b/docs/models/schema.md new file mode 100644 index 00000000..a2548164 --- /dev/null +++ b/docs/models/schema.md @@ -0,0 +1,14 @@ +# Schema + +## Example Usage + +```typescript +import { Schema } from "@vercel/sdk/models/getedgeconfigsop.js"; + +let value: Schema = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/scope.md b/docs/models/scope.md new file mode 100644 index 00000000..43b6f3d1 --- /dev/null +++ b/docs/models/scope.md @@ -0,0 +1,15 @@ +# Scope + +## Example Usage + +```typescript +import { Scope } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: Scope = "automation-bypass"; +``` + +## Values + +```typescript +"automation-bypass" +``` \ No newline at end of file diff --git a/docs/models/scopes.md b/docs/models/scopes.md new file mode 100644 index 00000000..22f6a65b --- /dev/null +++ b/docs/models/scopes.md @@ -0,0 +1,26 @@ +# Scopes + + +## Supported Types + +### `models.Scopes1` + +```typescript +const value: models.Scopes1 = { + type: "user", + origin: "sms", + createdAt: 7133.70, +}; +``` + +### `models.Scopes2` + +```typescript +const value: models.Scopes2 = { + type: "team", + teamId: "", + origin: "email", + createdAt: 5184.32, +}; +``` + diff --git a/docs/models/scopes1.md b/docs/models/scopes1.md new file mode 100644 index 00000000..33009942 --- /dev/null +++ b/docs/models/scopes1.md @@ -0,0 +1,24 @@ +# Scopes1 + +The access scopes granted to the token. + +## Example Usage + +```typescript +import { Scopes1 } from "@vercel/sdk/models/authtoken.js"; + +let value: Scopes1 = { + type: "user", + origin: "bitbucket", + createdAt: 1439.77, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `type` | [models.AuthTokenScopesType](../models/authtokenscopestype.md) | :heavy_check_mark: | N/A | +| `origin` | [models.ScopesOrigin](../models/scopesorigin.md) | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `expiresAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/scopes2.md b/docs/models/scopes2.md new file mode 100644 index 00000000..e0282961 --- /dev/null +++ b/docs/models/scopes2.md @@ -0,0 +1,26 @@ +# Scopes2 + +The access scopes granted to the token. + +## Example Usage + +```typescript +import { Scopes2 } from "@vercel/sdk/models/authtoken.js"; + +let value: Scopes2 = { + type: "team", + teamId: "", + origin: "passkey", + createdAt: 8408.30, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `type` | [models.ScopesType](../models/scopestype.md) | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_check_mark: | N/A | +| `origin` | [models.AuthTokenScopesOrigin](../models/authtokenscopesorigin.md) | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `expiresAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/scopesorigin.md b/docs/models/scopesorigin.md new file mode 100644 index 00000000..b9569eef --- /dev/null +++ b/docs/models/scopesorigin.md @@ -0,0 +1,15 @@ +# ScopesOrigin + +## Example Usage + +```typescript +import { ScopesOrigin } from "@vercel/sdk/models/authtoken.js"; + +let value: ScopesOrigin = "email"; +``` + +## Values + +```typescript +"saml" | "github" | "gitlab" | "bitbucket" | "email" | "manual" | "passkey" | "otp" | "sms" | "invite" +``` \ No newline at end of file diff --git a/docs/models/scopestype.md b/docs/models/scopestype.md new file mode 100644 index 00000000..5b27443f --- /dev/null +++ b/docs/models/scopestype.md @@ -0,0 +1,15 @@ +# ScopesType + +## Example Usage + +```typescript +import { ScopesType } from "@vercel/sdk/models/authtoken.js"; + +let value: ScopesType = "team"; +``` + +## Values + +```typescript +"team" +``` \ No newline at end of file diff --git a/docs/models/sd.md b/docs/models/sd.md new file mode 100644 index 00000000..e6bc2ee1 --- /dev/null +++ b/docs/models/sd.md @@ -0,0 +1,21 @@ +# Sd + +Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools. + +## Example Usage + +```typescript +import { Sd } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Sd = { + active: false, + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigAction](../models/putfirewallconfigaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/searchreporequest.md b/docs/models/searchreporequest.md similarity index 93% rename from docs/models/operations/searchreporequest.md rename to docs/models/searchreporequest.md index 7fb940ff..87a198f9 100644 --- a/docs/models/operations/searchreporequest.md +++ b/docs/models/searchreporequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { SearchRepoRequest } from "@vercel/sdk/models/operations/searchrepo.js"; +import { SearchRepoRequest } from "@vercel/sdk/models/searchrepoop.js"; let value: SearchRepoRequest = { host: "ghes-test.now.systems", @@ -15,8 +15,8 @@ let value: SearchRepoRequest = { | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | `query` | *string* | :heavy_minus_sign: | N/A | | -| `namespaceId` | *operations.NamespaceId* | :heavy_minus_sign: | N/A | | -| `provider` | [operations.QueryParamProvider](../../models/operations/queryparamprovider.md) | :heavy_minus_sign: | N/A | | +| `namespaceId` | *models.NamespaceId* | :heavy_minus_sign: | N/A | | +| `provider` | [models.QueryParamProvider](../models/queryparamprovider.md) | :heavy_minus_sign: | N/A | | | `installationId` | *string* | :heavy_minus_sign: | N/A | | | `host` | *string* | :heavy_minus_sign: | The custom Git host if using a custom Git provider, like GitHub Enterprise Server | ghes-test.now.systems | | `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | diff --git a/docs/models/searchreporesponsebody.md b/docs/models/searchreporesponsebody.md new file mode 100644 index 00000000..cd717db5 --- /dev/null +++ b/docs/models/searchreporesponsebody.md @@ -0,0 +1,40 @@ +# SearchRepoResponseBody + + +## Supported Types + +### `models.SearchRepoResponseBody1` + +```typescript +const value: models.SearchRepoResponseBody1 = {}; +``` + +### `models.SearchRepoResponseBody2` + +```typescript +const value: models.SearchRepoResponseBody2 = { + gitAccount: { + provider: "github", + namespaceId: 492.85, + }, + repos: [ + { + id: 2528.54, + provider: "bitbucket", + url: "https://fake-request.name/", + name: "", + slug: "", + namespace: "", + owner: { + id: "", + name: "", + }, + ownerType: "user", + private: false, + defaultBranch: "", + updatedAt: 3755.49, + }, + ], +}; +``` + diff --git a/docs/models/searchreporesponsebody1.md b/docs/models/searchreporesponsebody1.md new file mode 100644 index 00000000..0dcb939f --- /dev/null +++ b/docs/models/searchreporesponsebody1.md @@ -0,0 +1,14 @@ +# SearchRepoResponseBody1 + +## Example Usage + +```typescript +import { SearchRepoResponseBody1 } from "@vercel/sdk/models/searchrepoop.js"; + +let value: SearchRepoResponseBody1 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/searchreporesponsebody2.md b/docs/models/searchreporesponsebody2.md new file mode 100644 index 00000000..4f6ef8ac --- /dev/null +++ b/docs/models/searchreporesponsebody2.md @@ -0,0 +1,39 @@ +# SearchRepoResponseBody2 + +## Example Usage + +```typescript +import { SearchRepoResponseBody2 } from "@vercel/sdk/models/searchrepoop.js"; + +let value: SearchRepoResponseBody2 = { + gitAccount: { + provider: "bitbucket", + namespaceId: 5369.99, + }, + repos: [ + { + id: 3961.85, + provider: "gitlab", + url: "https://incomparable-puppet.biz/", + name: "", + slug: "", + namespace: "", + owner: { + id: 6867.83, + name: "", + }, + ownerType: "user", + private: false, + defaultBranch: "", + updatedAt: 7689.99, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `gitAccount` | [models.GitAccount](../models/gitaccount.md) | :heavy_check_mark: | N/A | +| `repos` | [models.Repos](../models/repos.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/searchreporesponsebodyid.md b/docs/models/searchreporesponsebodyid.md similarity index 82% rename from docs/models/operations/searchreporesponsebodyid.md rename to docs/models/searchreporesponsebodyid.md index 389728a0..c4b58395 100644 --- a/docs/models/operations/searchreporesponsebodyid.md +++ b/docs/models/searchreporesponsebodyid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1663.25; +const value: number = 1806.61; ``` diff --git a/docs/models/searchreporesponsebodyprovider.md b/docs/models/searchreporesponsebodyprovider.md new file mode 100644 index 00000000..950534ee --- /dev/null +++ b/docs/models/searchreporesponsebodyprovider.md @@ -0,0 +1,15 @@ +# SearchRepoResponseBodyProvider + +## Example Usage + +```typescript +import { SearchRepoResponseBodyProvider } from "@vercel/sdk/models/searchrepoop.js"; + +let value: SearchRepoResponseBodyProvider = "github"; +``` + +## Values + +```typescript +"github" | "github-custom-host" | "gitlab" | "bitbucket" +``` \ No newline at end of file diff --git a/docs/models/secrets.md b/docs/models/secrets.md new file mode 100644 index 00000000..3965650b --- /dev/null +++ b/docs/models/secrets.md @@ -0,0 +1,20 @@ +# Secrets + +## Example Usage + +```typescript +import { Secrets } from "@vercel/sdk/models/updateresourcesecretsop.js"; + +let value: Secrets = { + name: "", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `name` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `prefix` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/security.md b/docs/models/security.md new file mode 100644 index 00000000..51864b23 --- /dev/null +++ b/docs/models/security.md @@ -0,0 +1,15 @@ +# Security + +## Example Usage + +```typescript +import { Security } from "@vercel/sdk/models/security.js"; + +let value: Security = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `bearerToken` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/servicetype.md b/docs/models/servicetype.md similarity index 81% rename from docs/models/operations/servicetype.md rename to docs/models/servicetype.md index f8e9a220..e7701547 100644 --- a/docs/models/operations/servicetype.md +++ b/docs/models/servicetype.md @@ -5,7 +5,7 @@ The type of service the domain is handled by. `external` if the DNS is externall ## Example Usage ```typescript -import { ServiceType } from "@vercel/sdk/models/operations/getdomain.js"; +import { ServiceType } from "@vercel/sdk/models/getdomainop.js"; let value: ServiceType = "zeit.world"; ``` diff --git a/docs/models/seven.md b/docs/models/seven.md new file mode 100644 index 00000000..99156de1 --- /dev/null +++ b/docs/models/seven.md @@ -0,0 +1,28 @@ +# Seven + +## Example Usage + +```typescript +import { Seven } from "@vercel/sdk/models/createrecordop.js"; + +let value: Seven = { + type: "AAAA", + ttl: 60, + srv: { + priority: 10, + weight: 10, + port: 5000, + target: "host.example.com", + }, + comment: "used to verify ownership of domain", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateRecordRequestBodyDnsRequest7Type](../models/createrecordrequestbodydnsrequest7type.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | +| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | +| `srv` | [models.RequestBodySrv](../models/requestbodysrv.md) | :heavy_check_mark: | N/A | | +| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/sf.md b/docs/models/sf.md new file mode 100644 index 00000000..5d2940f4 --- /dev/null +++ b/docs/models/sf.md @@ -0,0 +1,21 @@ +# Sf + +Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs. + +## Example Usage + +```typescript +import { Sf } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Sf = { + active: false, + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityRequestRequestBodyCrsSfAction](../models/putfirewallconfigsecurityrequestrequestbodycrssfaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/six.md b/docs/models/six.md new file mode 100644 index 00000000..53833547 --- /dev/null +++ b/docs/models/six.md @@ -0,0 +1,27 @@ +# Six + +## Example Usage + +```typescript +import { Six } from "@vercel/sdk/models/createrecordop.js"; + +let value: Six = { + name: "subdomain", + type: "A", + ttl: 60, + value: "10 mail.example.com.", + mxPriority: 10, + comment: "used to verify ownership of domain", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | A subdomain name or an empty string for the root domain. | subdomain | +| `type` | [models.CreateRecordRequestBodyDnsRequest6Type](../models/createrecordrequestbodydnsrequest6type.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | +| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | +| `value` | *string* | :heavy_check_mark: | An MX record specifying the mail server responsible for accepting messages on behalf of the domain name. | 10 mail.example.com. | +| `mxPriority` | *number* | :heavy_check_mark: | N/A | 10 | +| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/operations/skipautodetectionconfirmation.md b/docs/models/skipautodetectionconfirmation.md similarity index 75% rename from docs/models/operations/skipautodetectionconfirmation.md rename to docs/models/skipautodetectionconfirmation.md index 562e59d8..82ce5edf 100644 --- a/docs/models/operations/skipautodetectionconfirmation.md +++ b/docs/models/skipautodetectionconfirmation.md @@ -5,9 +5,9 @@ Allows to skip framework detection so the API would not fail to ask for confirma ## Example Usage ```typescript -import { SkipAutoDetectionConfirmation } from "@vercel/sdk/models/operations/createdeployment.js"; +import { SkipAutoDetectionConfirmation } from "@vercel/sdk/models/createdeploymentop.js"; -let value: SkipAutoDetectionConfirmation = "0"; +let value: SkipAutoDetectionConfirmation = "1"; ``` ## Values diff --git a/docs/models/softblock.md b/docs/models/softblock.md new file mode 100644 index 00000000..481a45b4 --- /dev/null +++ b/docs/models/softblock.md @@ -0,0 +1,22 @@ +# SoftBlock + +When the User account has been "soft blocked", this property will contain the date when the restriction was enacted, and the identifier for why. + +## Example Usage + +```typescript +import { SoftBlock } from "@vercel/sdk/models/authuser.js"; + +let value: SoftBlock = { + blockedAt: 329.45, + reason: "SUBSCRIPTION_EXPIRED", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `blockedAt` | *number* | :heavy_check_mark: | N/A | +| `reason` | [models.Reason](../models/reason.md) | :heavy_check_mark: | N/A | +| `blockedDueToOverageType` | [models.BlockedDueToOverageType](../models/blockedduetooveragetype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/source.md b/docs/models/source.md similarity index 80% rename from docs/models/operations/source.md rename to docs/models/source.md index 3f71f19c..09357381 100644 --- a/docs/models/operations/source.md +++ b/docs/models/source.md @@ -5,7 +5,7 @@ One of `LOCAL` or `REMOTE`. `LOCAL` specifies that the cache event was from the ## Example Usage ```typescript -import { Source } from "@vercel/sdk/models/operations/recordevents.js"; +import { Source } from "@vercel/sdk/models/recordeventsop.js"; let value: Source = "LOCAL"; ``` diff --git a/docs/models/sources.md b/docs/models/sources.md new file mode 100644 index 00000000..656e805b --- /dev/null +++ b/docs/models/sources.md @@ -0,0 +1,15 @@ +# Sources + +## Example Usage + +```typescript +import { Sources } from "@vercel/sdk/models/createlogdrainop.js"; + +let value: Sources = "static"; +``` + +## Values + +```typescript +"static" | "lambda" | "build" | "edge" | "external" | "firewall" +``` \ No newline at end of file diff --git a/docs/models/operations/speedinsights.md b/docs/models/speedinsights.md similarity index 89% rename from docs/models/operations/speedinsights.md rename to docs/models/speedinsights.md index 32fc0ca3..35d4ca86 100644 --- a/docs/models/operations/speedinsights.md +++ b/docs/models/speedinsights.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { SpeedInsights } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { SpeedInsights } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: SpeedInsights = { id: "", diff --git a/docs/models/sqli.md b/docs/models/sqli.md new file mode 100644 index 00000000..f4dc7726 --- /dev/null +++ b/docs/models/sqli.md @@ -0,0 +1,21 @@ +# Sqli + +SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases. + +## Example Usage + +```typescript +import { Sqli } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Sqli = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction](../models/putfirewallconfigsecurityrequestrequestbodycrssqliaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/src.md b/docs/models/src.md new file mode 100644 index 00000000..df41978f --- /dev/null +++ b/docs/models/src.md @@ -0,0 +1,17 @@ +# Src + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.Src2` + +```typescript +const value: models.Src2 = {}; +``` + diff --git a/docs/models/operations/src2.md b/docs/models/src2.md similarity index 93% rename from docs/models/operations/src2.md rename to docs/models/src2.md index e521298f..727c5364 100644 --- a/docs/models/operations/src2.md +++ b/docs/models/src2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Src2 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { Src2 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: Src2 = {}; ``` diff --git a/docs/models/operations/srv.md b/docs/models/srv.md similarity index 85% rename from docs/models/operations/srv.md rename to docs/models/srv.md index a2436d87..4abc2b72 100644 --- a/docs/models/operations/srv.md +++ b/docs/models/srv.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { Srv } from "@vercel/sdk/models/operations/updaterecord.js"; +import { Srv } from "@vercel/sdk/models/updaterecordop.js"; let value: Srv = { target: "example2.com.", - weight: 257821, - port: 48512, - priority: 628314, + weight: 856568, + port: 47206, + priority: 979011, }; ``` diff --git a/docs/models/operations/ssoprotection.md b/docs/models/ssoprotection.md similarity index 83% rename from docs/models/operations/ssoprotection.md rename to docs/models/ssoprotection.md index 7cad8bc7..3198f1a2 100644 --- a/docs/models/operations/ssoprotection.md +++ b/docs/models/ssoprotection.md @@ -5,7 +5,7 @@ Ensures visitors to your Preview Deployments are logged into Vercel and have a m ## Example Usage ```typescript -import { SsoProtection } from "@vercel/sdk/models/operations/updateproject.js"; +import { SsoProtection } from "@vercel/sdk/models/updateprojectop.js"; let value: SsoProtection = {}; ``` @@ -14,4 +14,4 @@ let value: SsoProtection = {}; | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `deploymentType` | [operations.UpdateProjectDeploymentType](../../models/operations/updateprojectdeploymenttype.md) | :heavy_minus_sign: | Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview | \ No newline at end of file +| `deploymentType` | [models.UpdateProjectDeploymentType](../models/updateprojectdeploymenttype.md) | :heavy_minus_sign: | Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview | \ No newline at end of file diff --git a/docs/models/state.md b/docs/models/state.md new file mode 100644 index 00000000..008a7238 --- /dev/null +++ b/docs/models/state.md @@ -0,0 +1,15 @@ +# State + +## Example Usage + +```typescript +import { State } from "@vercel/sdk/models/getinvoiceop.js"; + +let value: State = "pending"; +``` + +## Values + +```typescript +"pending" | "scheduled" | "invoiced" | "paid" | "notpaid" | "refund_requested" | "refunded" +``` \ No newline at end of file diff --git a/docs/models/status.md b/docs/models/status.md new file mode 100644 index 00000000..82b049df --- /dev/null +++ b/docs/models/status.md @@ -0,0 +1,17 @@ +# Status + +The current status of the check + +## Example Usage + +```typescript +import { Status } from "@vercel/sdk/models/updatecheckop.js"; + +let value: Status = "running"; +``` + +## Values + +```typescript +"running" | "completed" +``` \ No newline at end of file diff --git a/docs/models/operations/statuscode.md b/docs/models/statuscode.md similarity index 100% rename from docs/models/operations/statuscode.md rename to docs/models/statuscode.md diff --git a/docs/models/operations/statusrequest.md b/docs/models/statusrequest.md similarity index 93% rename from docs/models/operations/statusrequest.md rename to docs/models/statusrequest.md index 5da4285a..67392392 100644 --- a/docs/models/operations/statusrequest.md +++ b/docs/models/statusrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { StatusRequest } from "@vercel/sdk/models/operations/status.js"; +import { StatusRequest } from "@vercel/sdk/models/statusop.js"; let value: StatusRequest = {}; ``` diff --git a/docs/models/statusresponsebody.md b/docs/models/statusresponsebody.md new file mode 100644 index 00000000..b69ca8f3 --- /dev/null +++ b/docs/models/statusresponsebody.md @@ -0,0 +1,17 @@ +# StatusResponseBody + +## Example Usage + +```typescript +import { StatusResponseBody } from "@vercel/sdk/models/statusop.js"; + +let value: StatusResponseBody = { + status: "disabled", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `status` | [models.StatusStatus](../models/statusstatus.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/statusstatus.md b/docs/models/statusstatus.md new file mode 100644 index 00000000..4b77db0d --- /dev/null +++ b/docs/models/statusstatus.md @@ -0,0 +1,15 @@ +# StatusStatus + +## Example Usage + +```typescript +import { StatusStatus } from "@vercel/sdk/models/statusop.js"; + +let value: StatusStatus = "disabled"; +``` + +## Values + +```typescript +"disabled" | "enabled" | "over_limit" | "paused" +``` \ No newline at end of file diff --git a/docs/models/operations/strict.md b/docs/models/strict.md similarity index 77% rename from docs/models/operations/strict.md rename to docs/models/strict.md index 281fef1a..bb0300c2 100644 --- a/docs/models/operations/strict.md +++ b/docs/models/strict.md @@ -5,9 +5,9 @@ When true, the response will only include the nameservers assigned directly to t ## Example Usage ```typescript -import { Strict } from "@vercel/sdk/models/operations/getdomainconfig.js"; +import { Strict } from "@vercel/sdk/models/getdomainconfigop.js"; -let value: Strict = "true"; +let value: Strict = "false"; ``` ## Values diff --git a/docs/models/submitbillingdatabilling.md b/docs/models/submitbillingdatabilling.md new file mode 100644 index 00000000..44f43778 --- /dev/null +++ b/docs/models/submitbillingdatabilling.md @@ -0,0 +1,39 @@ +# SubmitBillingDataBilling + +Billing data (interim invoicing data). + + +## Supported Types + +### `models.Billing1[]` + +```typescript +const value: models.Billing1[] = [ + { + billingPlanId: "", + name: "", + price: "748.90", + quantity: 2780.50, + units: "", + total: "", + }, +]; +``` + +### `models.Billing2` + +```typescript +const value: models.Billing2 = { + items: [ + { + billingPlanId: "", + name: "", + price: "547.42", + quantity: 2261.96, + units: "", + total: "", + }, + ], +}; +``` + diff --git a/docs/models/submitbillingdatarequest.md b/docs/models/submitbillingdatarequest.md new file mode 100644 index 00000000..53a9abf0 --- /dev/null +++ b/docs/models/submitbillingdatarequest.md @@ -0,0 +1,48 @@ +# SubmitBillingDataRequest + +## Example Usage + +```typescript +import { SubmitBillingDataRequest } from "@vercel/sdk/models/submitbillingdataop.js"; + +let value: SubmitBillingDataRequest = { + integrationConfigurationId: "", + requestBody: { + timestamp: new Date("2024-06-15T15:19:48.072Z"), + eod: new Date("2023-01-09T07:15:52.390Z"), + period: { + start: new Date("2022-06-16T15:26:41.808Z"), + end: new Date("2024-05-09T07:52:40.062Z"), + }, + billing: { + items: [ + { + billingPlanId: "", + name: "", + price: "967.05", + quantity: 1012.84, + units: "", + total: "", + }, + ], + }, + usage: [ + { + resourceId: "", + name: "", + type: "interval", + units: "", + dayValue: 3136.95, + periodValue: 5124.08, + }, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [models.SubmitBillingDataRequestBody](../models/submitbillingdatarequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/submitbillingdatarequestbody.md b/docs/models/submitbillingdatarequestbody.md similarity index 79% rename from docs/models/operations/submitbillingdatarequestbody.md rename to docs/models/submitbillingdatarequestbody.md index a84283d5..8b49d669 100644 --- a/docs/models/operations/submitbillingdatarequestbody.md +++ b/docs/models/submitbillingdatarequestbody.md @@ -3,22 +3,22 @@ ## Example Usage ```typescript -import { SubmitBillingDataRequestBody } from "@vercel/sdk/models/operations/submitbillingdata.js"; +import { SubmitBillingDataRequestBody } from "@vercel/sdk/models/submitbillingdataop.js"; let value: SubmitBillingDataRequestBody = { - timestamp: new Date("2022-07-07T14:30:34.396Z"), - eod: new Date("2023-04-19T07:11:20.698Z"), + timestamp: new Date("2023-09-05T22:28:02.223Z"), + eod: new Date("2024-08-16T05:08:02.805Z"), period: { - start: new Date("2022-12-18T12:57:11.461Z"), - end: new Date("2022-03-23T05:46:16.749Z"), + start: new Date("2024-02-12T09:16:32.311Z"), + end: new Date("2023-11-14T18:33:31.564Z"), }, billing: { items: [ { billingPlanId: "", name: "", - price: "771.85", - quantity: 726.00, + price: "958.35", + quantity: 4877.65, units: "", total: "", }, @@ -28,10 +28,10 @@ let value: SubmitBillingDataRequestBody = { { resourceId: "", name: "", - type: "rate", + type: "total", units: "", - dayValue: 2663.70, - periodValue: 3685.99, + dayValue: 6062.62, + periodValue: 9890.88, }, ], }; @@ -43,6 +43,6 @@ let value: SubmitBillingDataRequestBody = { | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | | `timestamp` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | N/A | | `eod` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | N/A | -| `period` | [operations.Period](../../models/operations/period.md) | :heavy_check_mark: | Period for the billing cycle. | -| `billing` | *operations.Billing* | :heavy_check_mark: | Billing data (interim invoicing data). | -| `usage` | [operations.Usage](../../models/operations/usage.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| `period` | [models.Period](../models/period.md) | :heavy_check_mark: | Period for the billing cycle. | +| `billing` | *models.SubmitBillingDataBilling* | :heavy_check_mark: | Billing data (interim invoicing data). | +| `usage` | [models.Usage](../models/usage.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/submitbillingdatatype.md b/docs/models/submitbillingdatatype.md new file mode 100644 index 00000000..80618957 --- /dev/null +++ b/docs/models/submitbillingdatatype.md @@ -0,0 +1,17 @@ +# SubmitBillingDataType + +\n Type of the metric.\n - total: measured total value, such as Database size\n - interval: usage during the period, such as i/o or number of queries.\n - rate: rate of usage, such as queries per second.\n + +## Example Usage + +```typescript +import { SubmitBillingDataType } from "@vercel/sdk/models/submitbillingdataop.js"; + +let value: SubmitBillingDataType = "total"; +``` + +## Values + +```typescript +"total" | "interval" | "rate" +``` \ No newline at end of file diff --git a/docs/models/operations/submitinvoicediscounts.md b/docs/models/submitinvoicediscounts.md similarity index 97% rename from docs/models/operations/submitinvoicediscounts.md rename to docs/models/submitinvoicediscounts.md index 326220c6..b73ae1d2 100644 --- a/docs/models/operations/submitinvoicediscounts.md +++ b/docs/models/submitinvoicediscounts.md @@ -3,12 +3,12 @@ ## Example Usage ```typescript -import { SubmitInvoiceDiscounts } from "@vercel/sdk/models/operations/submitinvoice.js"; +import { SubmitInvoiceDiscounts } from "@vercel/sdk/models/submitinvoiceop.js"; let value: SubmitInvoiceDiscounts = { billingPlanId: "", name: "", - amount: "810.98", + amount: "909.10", }; ``` diff --git a/docs/models/operations/submitinvoiceitems.md b/docs/models/submitinvoiceitems.md similarity index 97% rename from docs/models/operations/submitinvoiceitems.md rename to docs/models/submitinvoiceitems.md index fd5aef0a..84b87424 100644 --- a/docs/models/operations/submitinvoiceitems.md +++ b/docs/models/submitinvoiceitems.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { SubmitInvoiceItems } from "@vercel/sdk/models/operations/submitinvoice.js"; +import { SubmitInvoiceItems } from "@vercel/sdk/models/submitinvoiceop.js"; let value: SubmitInvoiceItems = { billingPlanId: "", name: "", - price: "145.05", - quantity: 590.23, + price: "844.45", + quantity: 4301.81, units: "", total: "", }; diff --git a/docs/models/operations/submitinvoiceperiod.md b/docs/models/submitinvoiceperiod.md similarity index 90% rename from docs/models/operations/submitinvoiceperiod.md rename to docs/models/submitinvoiceperiod.md index f50efa16..9360cfb5 100644 --- a/docs/models/operations/submitinvoiceperiod.md +++ b/docs/models/submitinvoiceperiod.md @@ -5,11 +5,11 @@ Subscription period for this billing cycle. ## Example Usage ```typescript -import { SubmitInvoicePeriod } from "@vercel/sdk/models/operations/submitinvoice.js"; +import { SubmitInvoicePeriod } from "@vercel/sdk/models/submitinvoiceop.js"; let value: SubmitInvoicePeriod = { - start: new Date("2022-08-29T07:55:29.814Z"), - end: new Date("2024-05-14T18:51:09.710Z"), + start: new Date("2022-11-27T15:57:29.589Z"), + end: new Date("2024-08-02T13:23:31.132Z"), }; ``` diff --git a/docs/models/submitinvoicerequest.md b/docs/models/submitinvoicerequest.md new file mode 100644 index 00000000..1895f889 --- /dev/null +++ b/docs/models/submitinvoicerequest.md @@ -0,0 +1,35 @@ +# SubmitInvoiceRequest + +## Example Usage + +```typescript +import { SubmitInvoiceRequest } from "@vercel/sdk/models/submitinvoiceop.js"; + +let value: SubmitInvoiceRequest = { + integrationConfigurationId: "", + requestBody: { + invoiceDate: new Date("2023-10-31T05:11:34.005Z"), + period: { + start: new Date("2022-08-22T02:23:53.093Z"), + end: new Date("2023-06-07T08:51:38.406Z"), + }, + items: [ + { + billingPlanId: "", + name: "", + price: "112.99", + quantity: 4446.25, + units: "", + total: "", + }, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [models.SubmitInvoiceRequestBody](../models/submitinvoicerequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/submitinvoicerequestbody.md b/docs/models/submitinvoicerequestbody.md similarity index 80% rename from docs/models/operations/submitinvoicerequestbody.md rename to docs/models/submitinvoicerequestbody.md index e4da14e0..582776bb 100644 --- a/docs/models/operations/submitinvoicerequestbody.md +++ b/docs/models/submitinvoicerequestbody.md @@ -3,20 +3,20 @@ ## Example Usage ```typescript -import { SubmitInvoiceRequestBody } from "@vercel/sdk/models/operations/submitinvoice.js"; +import { SubmitInvoiceRequestBody } from "@vercel/sdk/models/submitinvoiceop.js"; let value: SubmitInvoiceRequestBody = { - invoiceDate: new Date("2024-09-18T20:39:17.763Z"), + invoiceDate: new Date("2024-02-04T17:02:52.370Z"), period: { - start: new Date("2024-03-31T14:23:29.572Z"), - end: new Date("2023-09-07T23:43:29.550Z"), + start: new Date("2024-11-29T12:45:09.445Z"), + end: new Date("2022-07-12T02:26:50.159Z"), }, items: [ { billingPlanId: "", name: "", - price: "836.75", - quantity: 2936.17, + price: "202.75", + quantity: 4905.49, units: "", total: "", }, @@ -31,7 +31,7 @@ let value: SubmitInvoiceRequestBody = { | `externalId` | *string* | :heavy_minus_sign: | N/A | | `invoiceDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | Invoice date. Must be within the period's start and end. | | `memo` | *string* | :heavy_minus_sign: | Additional memo for the invoice. | -| `period` | [operations.SubmitInvoicePeriod](../../models/operations/submitinvoiceperiod.md) | :heavy_check_mark: | Subscription period for this billing cycle. | -| `items` | [operations.SubmitInvoiceItems](../../models/operations/submitinvoiceitems.md)[] | :heavy_check_mark: | N/A | -| `discounts` | [operations.SubmitInvoiceDiscounts](../../models/operations/submitinvoicediscounts.md)[] | :heavy_minus_sign: | N/A | -| `test` | [operations.Test](../../models/operations/test.md) | :heavy_minus_sign: | Test mode | \ No newline at end of file +| `period` | [models.SubmitInvoicePeriod](../models/submitinvoiceperiod.md) | :heavy_check_mark: | Subscription period for this billing cycle. | +| `items` | [models.SubmitInvoiceItems](../models/submitinvoiceitems.md)[] | :heavy_check_mark: | N/A | +| `discounts` | [models.SubmitInvoiceDiscounts](../models/submitinvoicediscounts.md)[] | :heavy_minus_sign: | N/A | +| `test` | [models.Test](../models/test.md) | :heavy_minus_sign: | Test mode | \ No newline at end of file diff --git a/docs/models/operations/submitinvoiceresponsebody.md b/docs/models/submitinvoiceresponsebody.md similarity index 85% rename from docs/models/operations/submitinvoiceresponsebody.md rename to docs/models/submitinvoiceresponsebody.md index 3985b5a3..c5d5df3f 100644 --- a/docs/models/operations/submitinvoiceresponsebody.md +++ b/docs/models/submitinvoiceresponsebody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { SubmitInvoiceResponseBody } from "@vercel/sdk/models/operations/submitinvoice.js"; +import { SubmitInvoiceResponseBody } from "@vercel/sdk/models/submitinvoiceop.js"; let value: SubmitInvoiceResponseBody = {}; ``` diff --git a/docs/models/operations/target.md b/docs/models/target.md similarity index 83% rename from docs/models/operations/target.md rename to docs/models/target.md index a893c309..6f0c5845 100644 --- a/docs/models/operations/target.md +++ b/docs/models/target.md @@ -5,7 +5,7 @@ Either not defined, `staging`, or `production`. If `staging`, a staging alias in ## Example Usage ```typescript -import { Target } from "@vercel/sdk/models/operations/createdeployment.js"; +import { Target } from "@vercel/sdk/models/createdeploymentop.js"; let value: Target = "staging"; ``` diff --git a/docs/models/target1.md b/docs/models/target1.md new file mode 100644 index 00000000..2d7c4502 --- /dev/null +++ b/docs/models/target1.md @@ -0,0 +1,15 @@ +# Target1 + +## Example Usage + +```typescript +import { Target1 } from "@vercel/sdk/models/createprojectop.js"; + +let value: Target1 = "preview"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/target2.md b/docs/models/target2.md new file mode 100644 index 00000000..57860bf7 --- /dev/null +++ b/docs/models/target2.md @@ -0,0 +1,15 @@ +# Target2 + +## Example Usage + +```typescript +import { Target2 } from "@vercel/sdk/models/createprojectop.js"; + +let value: Target2 = "preview"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/targets.md b/docs/models/targets.md new file mode 100644 index 00000000..b87f7ec8 --- /dev/null +++ b/docs/models/targets.md @@ -0,0 +1,68 @@ +# Targets + +## Example Usage + +```typescript +import { Targets } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: Targets = { + id: "", + createdAt: 4246.85, + createdIn: "", + creator: { + email: "Jamaal_McGlynn@yahoo.com", + uid: "", + username: "Brendon_Hyatt18", + }, + deploymentHostname: "", + name: "", + plan: "enterprise", + previewCommentsEnabled: false, + private: false, + readyState: "INITIALIZING", + type: "LAMBDAS", + url: "https://sniveling-republican.org", + userId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `alias` | *string*[] | :heavy_minus_sign: | N/A | | +| `aliasAssigned` | *models.UpdateProjectDataCacheAliasAssigned* | :heavy_minus_sign: | N/A | | +| `aliasError` | [models.UpdateProjectDataCacheAliasError](../models/updateprojectdatacachealiaserror.md) | :heavy_minus_sign: | N/A | | +| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | +| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | +| `branchMatcher` | [models.UpdateProjectDataCacheBranchMatcher](../models/updateprojectdatacachebranchmatcher.md) | :heavy_minus_sign: | N/A | | +| `buildingAt` | *number* | :heavy_minus_sign: | N/A | | +| `builds` | [models.UpdateProjectDataCacheBuilds](../models/updateprojectdatacachebuilds.md)[] | :heavy_minus_sign: | N/A | | +| `checksConclusion` | [models.UpdateProjectDataCacheChecksConclusion](../models/updateprojectdatacachechecksconclusion.md) | :heavy_minus_sign: | N/A | | +| `checksState` | [models.UpdateProjectDataCacheChecksState](../models/updateprojectdatacachechecksstate.md) | :heavy_minus_sign: | N/A | | +| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | +| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | +| `createdAt` | *number* | :heavy_check_mark: | N/A | | +| `createdIn` | *string* | :heavy_check_mark: | N/A | | +| `creator` | [models.UpdateProjectDataCacheCreator](../models/updateprojectdatacachecreator.md) | :heavy_check_mark: | N/A | | +| `deletedAt` | *number* | :heavy_minus_sign: | N/A | | +| `deploymentHostname` | *string* | :heavy_check_mark: | N/A | | +| `forced` | *boolean* | :heavy_minus_sign: | N/A | | +| `name` | *string* | :heavy_check_mark: | N/A | | +| `meta` | Record | :heavy_minus_sign: | N/A | | +| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | +| `oidcTokenClaims` | [models.UpdateProjectDataCacheOidcTokenClaims](../models/updateprojectdatacacheoidctokenclaims.md) | :heavy_minus_sign: | N/A | | +| `plan` | [models.UpdateProjectDataCachePlan](../models/updateprojectdatacacheplan.md) | :heavy_check_mark: | N/A | | +| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | +| `private` | *boolean* | :heavy_check_mark: | N/A | | +| `readyAt` | *number* | :heavy_minus_sign: | N/A | | +| `readyState` | [models.UpdateProjectDataCacheReadyState](../models/updateprojectdatacachereadystate.md) | :heavy_check_mark: | N/A | | +| `readySubstate` | [models.UpdateProjectDataCacheReadySubstate](../models/updateprojectdatacachereadysubstate.md) | :heavy_minus_sign: | N/A | | +| `requestedAt` | *number* | :heavy_minus_sign: | N/A | | +| `target` | *string* | :heavy_minus_sign: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | | +| `type` | [models.UpdateProjectDataCacheProjectsType](../models/updateprojectdatacacheprojectstype.md) | :heavy_check_mark: | N/A | | +| `url` | *string* | :heavy_check_mark: | N/A | | +| `userId` | *string* | :heavy_check_mark: | N/A | | +| `withCache` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/tbt.md b/docs/models/tbt.md new file mode 100644 index 00000000..6aac94ae --- /dev/null +++ b/docs/models/tbt.md @@ -0,0 +1,21 @@ +# Tbt + +## Example Usage + +```typescript +import { Tbt } from "@vercel/sdk/models/updatecheckop.js"; + +let value: Tbt = { + value: 3000, + previousValue: 3500, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | Total Blocking Time value | 3000 | +| `previousValue` | *number* | :heavy_minus_sign: | Previous Total Blocking Time value to display a delta | 3500 | +| `source` | [models.UpdateCheckChecksRequestRequestBodySource](../models/updatecheckchecksrequestrequestbodysource.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/team.md b/docs/models/team.md similarity index 89% rename from docs/models/operations/team.md rename to docs/models/team.md index 59a044f8..f88a76fc 100644 --- a/docs/models/operations/team.md +++ b/docs/models/team.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Team } from "@vercel/sdk/models/operations/createdeployment.js"; +import { Team } from "@vercel/sdk/models/createdeploymentop.js"; let value: Team = { name: "", diff --git a/docs/models/components/teamlimited.md b/docs/models/teamlimited.md similarity index 97% rename from docs/models/components/teamlimited.md rename to docs/models/teamlimited.md index fedf5214..1d519b05 100644 --- a/docs/models/components/teamlimited.md +++ b/docs/models/teamlimited.md @@ -5,7 +5,7 @@ A limited form of data representing a Team, due to the authentication token miss ## Example Usage ```typescript -import { TeamLimited } from "@vercel/sdk/models/components/teamlimited.js"; +import { TeamLimited } from "@vercel/sdk/models/teamlimited.js"; let value: TeamLimited = { limited: false, @@ -31,10 +31,10 @@ let value: TeamLimited = { avatar: "6eb07268bcfadd309905ffb1579354084c24655c", membership: { confirmed: false, - confirmedAt: 3290.16, - role: "OWNER", - createdAt: 5408.95, - created: 1254.88, + confirmedAt: 9539.20, + role: "DEVELOPER", + createdAt: 5800.80, + created: 6935.92, }, created: "", createdAt: 1630748523395, @@ -46,11 +46,11 @@ let value: TeamLimited = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `limited` | *boolean* | :heavy_check_mark: | Property indicating that this Team data contains only limited information, due to the authentication token missing privileges to read the full Team data. Re-login with the Team's configured SAML Single Sign-On provider in order to upgrade the authentication token with the necessary privileges. | | -| `saml` | [components.Saml](../../models/components/saml.md) | :heavy_minus_sign: | When "Single Sign-On (SAML)" is configured, this object contains information that allows the client-side to identify whether or not this Team has SAML enforced. | | +| `saml` | [models.Saml](../models/saml.md) | :heavy_minus_sign: | When "Single Sign-On (SAML)" is configured, this object contains information that allows the client-side to identify whether or not this Team has SAML enforced. | | | `id` | *string* | :heavy_check_mark: | The Team's unique identifier. | team_nllPyCtREAqxxdyFKbbMDlxd | | `slug` | *string* | :heavy_check_mark: | The Team's slug, which is unique across the Vercel platform. | my-team | | `name` | *string* | :heavy_check_mark: | Name associated with the Team account, or `null` if none has been provided. | My Team | | `avatar` | *string* | :heavy_check_mark: | The ID of the file used as avatar for this Team. | 6eb07268bcfadd309905ffb1579354084c24655c | -| `membership` | [components.Membership](../../models/components/membership.md) | :heavy_check_mark: | The membership of the authenticated User in relation to the Team. | | +| `membership` | [models.Membership](../models/membership.md) | :heavy_check_mark: | The membership of the authenticated User in relation to the Team. | | | `created` | *string* | :heavy_check_mark: | Will remain undocumented. Remove in v3 API. | | | `createdAt` | *number* | :heavy_check_mark: | UNIX timestamp (in milliseconds) when the Team was created. | 1630748523395 | \ No newline at end of file diff --git a/docs/models/teamrole.md b/docs/models/teamrole.md new file mode 100644 index 00000000..d3035115 --- /dev/null +++ b/docs/models/teamrole.md @@ -0,0 +1,15 @@ +# TeamRole + +## Example Usage + +```typescript +import { TeamRole } from "@vercel/sdk/models/listaccessgroupmembersop.js"; + +let value: TeamRole = "BILLING"; +``` + +## Values + +```typescript +"OWNER" | "MEMBER" | "DEVELOPER" | "BILLING" | "VIEWER" | "CONTRIBUTOR" +``` \ No newline at end of file diff --git a/docs/models/operations/teams.md b/docs/models/teams.md similarity index 82% rename from docs/models/operations/teams.md rename to docs/models/teams.md index 9fe95a91..dfdf71a4 100644 --- a/docs/models/operations/teams.md +++ b/docs/models/teams.md @@ -11,10 +11,10 @@ const value: { [k: string]: any } = { }; ``` -### `components.TeamLimited` +### `models.TeamLimited` ```typescript -const value: components.TeamLimited = { +const value: models.TeamLimited = { limited: false, saml: { connection: { @@ -38,10 +38,10 @@ const value: components.TeamLimited = { avatar: "6eb07268bcfadd309905ffb1579354084c24655c", membership: { confirmed: false, - confirmedAt: 926.85, - role: "DEVELOPER", - createdAt: 8719.68, - created: 4482.82, + confirmedAt: 6520.13, + role: "BILLING", + createdAt: 5576.51, + created: 3178.73, }, created: "", createdAt: 1630748523395, diff --git a/docs/models/ten.md b/docs/models/ten.md new file mode 100644 index 00000000..2e6f0082 --- /dev/null +++ b/docs/models/ten.md @@ -0,0 +1,27 @@ +# Ten + +## Example Usage + +```typescript +import { Ten } from "@vercel/sdk/models/createrecordop.js"; + +let value: Ten = { + type: "CAA", + ttl: 60, + https: { + priority: 10, + target: "host.example.com", + params: "alpn=h2,h3", + }, + comment: "used to verify ownership of domain", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `type` | [models.CreateRecordRequestBodyDnsRequest10Type](../models/createrecordrequestbodydnsrequest10type.md) | :heavy_check_mark: | The type of record, it could be one of the valid DNS records. | | +| `ttl` | *number* | :heavy_minus_sign: | The TTL value. Must be a number between 60 and 2147483647. Default value is 60. | 60 | +| `https` | [models.RequestBodyHttps](../models/requestbodyhttps.md) | :heavy_check_mark: | N/A | | +| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/test.md b/docs/models/test.md new file mode 100644 index 00000000..6137de4c --- /dev/null +++ b/docs/models/test.md @@ -0,0 +1,18 @@ +# Test + +Test mode + +## Example Usage + +```typescript +import { Test } from "@vercel/sdk/models/submitinvoiceop.js"; + +let value: Test = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `validate` | *boolean* | :heavy_minus_sign: | N/A | +| `result` | [models.Result](../models/result.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/thirteen.md b/docs/models/thirteen.md new file mode 100644 index 00000000..4ae84d39 --- /dev/null +++ b/docs/models/thirteen.md @@ -0,0 +1,19 @@ +# Thirteen + +## Example Usage + +```typescript +import { Thirteen } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: Thirteen = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type](../models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/three.md b/docs/models/three.md new file mode 100644 index 00000000..cb01a0a1 --- /dev/null +++ b/docs/models/three.md @@ -0,0 +1,22 @@ +# Three + +## Example Usage + +```typescript +import { Three } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: Three = { + projectId: "", + ref: "", + type: "gitlab", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `projectId` | *models.ProjectId* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | +| `sha` | *string* | :heavy_minus_sign: | N/A | +| `type` | [models.CreateDeploymentGitSourceType](../models/createdeploymentgitsourcetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/tier.md b/docs/models/tier.md new file mode 100644 index 00000000..f2a6991f --- /dev/null +++ b/docs/models/tier.md @@ -0,0 +1,15 @@ +# Tier + +## Example Usage + +```typescript +import { Tier } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: Tier = "advanced"; +``` + +## Values + +```typescript +"standard" | "advanced" | "critical" +``` \ No newline at end of file diff --git a/docs/models/operations/transfer.md b/docs/models/transfer.md similarity index 84% rename from docs/models/operations/transfer.md rename to docs/models/transfer.md index e39de0e8..493b5482 100644 --- a/docs/models/operations/transfer.md +++ b/docs/models/transfer.md @@ -5,12 +5,12 @@ Keeps track of the current state of the Edge Config while it gets transferred. ## Example Usage ```typescript -import { Transfer } from "@vercel/sdk/models/operations/getedgeconfigs.js"; +import { Transfer } from "@vercel/sdk/models/getedgeconfigsop.js"; let value: Transfer = { fromAccountId: "", - startedAt: 7486.06, - doneAt: 4526.54, + startedAt: 9191.71, + doneAt: 4116.26, }; ``` diff --git a/docs/models/operations/transferpolicy.md b/docs/models/transferpolicy.md similarity index 84% rename from docs/models/operations/transferpolicy.md rename to docs/models/transferpolicy.md index 15068a75..40a6a655 100644 --- a/docs/models/operations/transferpolicy.md +++ b/docs/models/transferpolicy.md @@ -5,9 +5,9 @@ The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: ## Example Usage ```typescript -import { TransferPolicy } from "@vercel/sdk/models/operations/getdomaintransfer.js"; +import { TransferPolicy } from "@vercel/sdk/models/getdomaintransferop.js"; -let value: TransferPolicy = "charge-and-renew"; +let value: TransferPolicy = "no-change"; ``` ## Values diff --git a/docs/models/operations/trustedips.md b/docs/models/trustedips.md similarity index 91% rename from docs/models/operations/trustedips.md rename to docs/models/trustedips.md index d06e80b0..4be4b07d 100644 --- a/docs/models/operations/trustedips.md +++ b/docs/models/trustedips.md @@ -5,7 +5,7 @@ Restricts access to deployments based on the incoming request IP address ## Example Usage ```typescript -import { TrustedIps } from "@vercel/sdk/models/operations/updateproject.js"; +import { TrustedIps } from "@vercel/sdk/models/updateprojectop.js"; let value: TrustedIps = { deploymentType: "production", @@ -22,6 +22,6 @@ let value: TrustedIps = { | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `deploymentType` | [operations.UpdateProjectProjectsDeploymentType](../../models/operations/updateprojectprojectsdeploymenttype.md) | :heavy_check_mark: | Specify if the Trusted IPs will apply to every Deployment Target or just Preview | -| `addresses` | [operations.Addresses](../../models/operations/addresses.md)[] | :heavy_check_mark: | N/A | -| `protectionMode` | [operations.ProtectionMode](../../models/operations/protectionmode.md) | :heavy_check_mark: | exclusive: ip match is enough to bypass deployment protection (regardless of other settings). additional: ip must match + any other protection should be also provided (password, vercel auth, shareable link, automation bypass header, automation bypass query param) | \ No newline at end of file +| `deploymentType` | [models.UpdateProjectProjectsDeploymentType](../models/updateprojectprojectsdeploymenttype.md) | :heavy_check_mark: | Specify if the Trusted IPs will apply to every Deployment Target or just Preview | +| `addresses` | [models.Addresses](../models/addresses.md)[] | :heavy_check_mark: | N/A | +| `protectionMode` | [models.ProtectionMode](../models/protectionmode.md) | :heavy_check_mark: | exclusive: ip match is enough to bypass deployment protection (regardless of other settings). additional: ip must match + any other protection should be also provided (password, vercel auth, shareable link, automation bypass header, automation bypass query param) | \ No newline at end of file diff --git a/docs/models/trustedips1.md b/docs/models/trustedips1.md new file mode 100644 index 00000000..6bc7c8d3 --- /dev/null +++ b/docs/models/trustedips1.md @@ -0,0 +1,25 @@ +# TrustedIps1 + +## Example Usage + +```typescript +import { TrustedIps1 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: TrustedIps1 = { + deploymentType: "prod_deployment_urls_and_all_previews", + addresses: [ + { + value: "", + }, + ], + protectionMode: "additional", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `deploymentType` | [models.TrustedIpsDeploymentType](../models/trustedipsdeploymenttype.md) | :heavy_check_mark: | N/A | +| `addresses` | [models.UpdateProjectDataCacheTrustedIpsAddresses](../models/updateprojectdatacachetrustedipsaddresses.md)[] | :heavy_check_mark: | N/A | +| `protectionMode` | [models.UpdateProjectDataCacheTrustedIpsProtectionMode](../models/updateprojectdatacachetrustedipsprotectionmode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/trustedips2.md b/docs/models/trustedips2.md new file mode 100644 index 00000000..bb14c437 --- /dev/null +++ b/docs/models/trustedips2.md @@ -0,0 +1,17 @@ +# TrustedIps2 + +## Example Usage + +```typescript +import { TrustedIps2 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: TrustedIps2 = { + deploymentType: "production", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `deploymentType` | [models.UpdateProjectDataCacheTrustedIpsDeploymentType](../models/updateprojectdatacachetrustedipsdeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/trustedipsaddresses.md b/docs/models/trustedipsaddresses.md similarity index 84% rename from docs/models/operations/trustedipsaddresses.md rename to docs/models/trustedipsaddresses.md index face2d71..a2df6cd4 100644 --- a/docs/models/operations/trustedipsaddresses.md +++ b/docs/models/trustedipsaddresses.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { TrustedIpsAddresses } from "@vercel/sdk/models/operations/createproject.js"; +import { TrustedIpsAddresses } from "@vercel/sdk/models/createprojectop.js"; let value: TrustedIpsAddresses = { value: "", diff --git a/docs/models/trustedipsdeploymenttype.md b/docs/models/trustedipsdeploymenttype.md new file mode 100644 index 00000000..dcd6d7ab --- /dev/null +++ b/docs/models/trustedipsdeploymenttype.md @@ -0,0 +1,15 @@ +# TrustedIpsDeploymentType + +## Example Usage + +```typescript +import { TrustedIpsDeploymentType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: TrustedIpsDeploymentType = "prod_deployment_urls_and_all_previews"; +``` + +## Values + +```typescript +"production" | "preview" | "all" | "prod_deployment_urls_and_all_previews" +``` \ No newline at end of file diff --git a/docs/models/trustedipsprotectionmode.md b/docs/models/trustedipsprotectionmode.md new file mode 100644 index 00000000..e3f5760a --- /dev/null +++ b/docs/models/trustedipsprotectionmode.md @@ -0,0 +1,15 @@ +# TrustedIpsProtectionMode + +## Example Usage + +```typescript +import { TrustedIpsProtectionMode } from "@vercel/sdk/models/createprojectop.js"; + +let value: TrustedIpsProtectionMode = "additional"; +``` + +## Values + +```typescript +"additional" | "exclusive" +``` \ No newline at end of file diff --git a/docs/models/twelve.md b/docs/models/twelve.md new file mode 100644 index 00000000..35a7846d --- /dev/null +++ b/docs/models/twelve.md @@ -0,0 +1,19 @@ +# Twelve + +## Example Usage + +```typescript +import { Twelve } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: Twelve = { + type: "postgres-database", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type](../models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/two.md b/docs/models/two.md new file mode 100644 index 00000000..8c5656e4 --- /dev/null +++ b/docs/models/two.md @@ -0,0 +1,23 @@ +# Two + +A list of projects and spaces across teams that a user has marked as a favorite. + +## Example Usage + +```typescript +import { Two } from "@vercel/sdk/models/authuser.js"; + +let value: Two = { + spaceId: "", + scopeSlug: "", + scopeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `spaceId` | *string* | :heavy_check_mark: | N/A | +| `scopeSlug` | *string* | :heavy_check_mark: | N/A | +| `scopeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/two1.md b/docs/models/two1.md similarity index 91% rename from docs/models/operations/two1.md rename to docs/models/two1.md index 19c78ea5..d737cbd9 100644 --- a/docs/models/operations/two1.md +++ b/docs/models/two1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Two1 } from "@vercel/sdk/models/operations/createprojectenv.js"; +import { Two1 } from "@vercel/sdk/models/createprojectenvop.js"; let value: Two1 = { key: "API_URL", @@ -23,7 +23,7 @@ let value: Two1 = { | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | `key` | *string* | :heavy_check_mark: | The name of the environment variable | API_URL | | `value` | *string* | :heavy_check_mark: | The value of the environment variable | https://api.vercel.com | -| `type` | [operations.TwoType](../../models/operations/twotype.md) | :heavy_check_mark: | The type of environment variable | plain | -| `target` | [operations.TwoTarget](../../models/operations/twotarget.md)[] | :heavy_check_mark: | The target environment of the environment variable | [
"preview"
] | +| `type` | [models.TwoType](../models/twotype.md) | :heavy_check_mark: | The type of environment variable | plain | +| `target` | [models.TwoTarget](../models/twotarget.md)[] | :heavy_check_mark: | The target environment of the environment variable | [
"preview"
] | | `gitBranch` | *string* | :heavy_minus_sign: | If defined, the git branch of the environment variable (must have target=preview) | feature-1 | | `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this environment variable is for | database connection string for production | \ No newline at end of file diff --git a/docs/models/two2.md b/docs/models/two2.md new file mode 100644 index 00000000..a635866c --- /dev/null +++ b/docs/models/two2.md @@ -0,0 +1,29 @@ +# Two2 + +## Example Usage + +```typescript +import { Two2 } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: Two2 = { + key: "API_URL", + value: "https://api.vercel.com", + type: "plain", + target: [ + "preview", + ], + gitBranch: "feature-1", + comment: "database connection string for production", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `key` | *string* | :heavy_check_mark: | The name of the environment variable | API_URL | +| `value` | *string* | :heavy_check_mark: | The value of the environment variable | https://api.vercel.com | +| `type` | [models.CreateProjectEnv2Type](../models/createprojectenv2type.md) | :heavy_check_mark: | The type of environment variable | plain | +| `target` | [models.CreateProjectEnv2Target](../models/createprojectenv2target.md)[] | :heavy_minus_sign: | The target environment of the environment variable | [
"preview"
] | +| `gitBranch` | *string* | :heavy_minus_sign: | If defined, the git branch of the environment variable (must have target=preview) | feature-1 | +| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this environment variable is for | database connection string for production | \ No newline at end of file diff --git a/docs/models/two5.md b/docs/models/two5.md new file mode 100644 index 00000000..185a57c6 --- /dev/null +++ b/docs/models/two5.md @@ -0,0 +1,14 @@ +# Two5 + +## Example Usage + +```typescript +import { Two5 } from "@vercel/sdk/models/createedgeconfigop.js"; + +let value: Two5 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/twotarget.md b/docs/models/twotarget.md new file mode 100644 index 00000000..9f4061bd --- /dev/null +++ b/docs/models/twotarget.md @@ -0,0 +1,15 @@ +# TwoTarget + +## Example Usage + +```typescript +import { TwoTarget } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: TwoTarget = "production"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/twotype.md b/docs/models/twotype.md new file mode 100644 index 00000000..6db98d32 --- /dev/null +++ b/docs/models/twotype.md @@ -0,0 +1,17 @@ +# TwoType + +The type of environment variable + +## Example Usage + +```typescript +import { TwoType } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: TwoType = "plain"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/type.md b/docs/models/type.md new file mode 100644 index 00000000..b14326dc --- /dev/null +++ b/docs/models/type.md @@ -0,0 +1,17 @@ +# Type + +String indicating the type of file tree entry. + +## Example Usage + +```typescript +import { Type } from "@vercel/sdk/models/filetree.js"; + +let value: Type = "file"; +``` + +## Values + +```typescript +"directory" | "file" | "symlink" | "lambda" | "middleware" | "invalid" +``` \ No newline at end of file diff --git a/docs/models/operations/updateaccessgroupentitlements.md b/docs/models/updateaccessgroupentitlements.md similarity index 85% rename from docs/models/operations/updateaccessgroupentitlements.md rename to docs/models/updateaccessgroupentitlements.md index 46c141fc..6d4c7328 100644 --- a/docs/models/operations/updateaccessgroupentitlements.md +++ b/docs/models/updateaccessgroupentitlements.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateAccessGroupEntitlements } from "@vercel/sdk/models/operations/updateaccessgroup.js"; +import { UpdateAccessGroupEntitlements } from "@vercel/sdk/models/updateaccessgroupop.js"; let value: UpdateAccessGroupEntitlements = "v0"; ``` diff --git a/docs/models/operations/updateaccessgroupprojectaccessgroupsrole.md b/docs/models/updateaccessgroupprojectaccessgroupsrole.md similarity index 84% rename from docs/models/operations/updateaccessgroupprojectaccessgroupsrole.md rename to docs/models/updateaccessgroupprojectaccessgroupsrole.md index ca3a7f45..5c98be6c 100644 --- a/docs/models/operations/updateaccessgroupprojectaccessgroupsrole.md +++ b/docs/models/updateaccessgroupprojectaccessgroupsrole.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateAccessGroupProjectAccessGroupsRole } from "@vercel/sdk/models/operations/updateaccessgroupproject.js"; +import { UpdateAccessGroupProjectAccessGroupsRole } from "@vercel/sdk/models/updateaccessgroupprojectop.js"; let value: UpdateAccessGroupProjectAccessGroupsRole = "PROJECT_VIEWER"; ``` diff --git a/docs/models/updateaccessgroupprojectrequest.md b/docs/models/updateaccessgroupprojectrequest.md new file mode 100644 index 00000000..269ded34 --- /dev/null +++ b/docs/models/updateaccessgroupprojectrequest.md @@ -0,0 +1,25 @@ +# UpdateAccessGroupProjectRequest + +## Example Usage + +```typescript +import { UpdateAccessGroupProjectRequest } from "@vercel/sdk/models/updateaccessgroupprojectop.js"; + +let value: UpdateAccessGroupProjectRequest = { + accessGroupIdOrName: "", + projectId: "", + requestBody: { + role: "ADMIN", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `accessGroupIdOrName` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.UpdateAccessGroupProjectRequestBody](../models/updateaccessgroupprojectrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateaccessgroupprojectrequestbody.md b/docs/models/updateaccessgroupprojectrequestbody.md new file mode 100644 index 00000000..cff06cfe --- /dev/null +++ b/docs/models/updateaccessgroupprojectrequestbody.md @@ -0,0 +1,17 @@ +# UpdateAccessGroupProjectRequestBody + +## Example Usage + +```typescript +import { UpdateAccessGroupProjectRequestBody } from "@vercel/sdk/models/updateaccessgroupprojectop.js"; + +let value: UpdateAccessGroupProjectRequestBody = { + role: "ADMIN", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `role` | [models.UpdateAccessGroupProjectRole](../models/updateaccessgroupprojectrole.md) | :heavy_check_mark: | The project role that will be added to this Access Group. | ADMIN | \ No newline at end of file diff --git a/docs/models/updateaccessgroupprojectresponsebody.md b/docs/models/updateaccessgroupprojectresponsebody.md new file mode 100644 index 00000000..9c51869d --- /dev/null +++ b/docs/models/updateaccessgroupprojectresponsebody.md @@ -0,0 +1,27 @@ +# UpdateAccessGroupProjectResponseBody + +## Example Usage + +```typescript +import { UpdateAccessGroupProjectResponseBody } from "@vercel/sdk/models/updateaccessgroupprojectop.js"; + +let value: UpdateAccessGroupProjectResponseBody = { + teamId: "", + accessGroupId: "", + projectId: "", + role: "ADMIN", + createdAt: "", + updatedAt: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `teamId` | *string* | :heavy_check_mark: | N/A | +| `accessGroupId` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `role` | [models.UpdateAccessGroupProjectAccessGroupsRole](../models/updateaccessgroupprojectaccessgroupsrole.md) | :heavy_check_mark: | N/A | +| `createdAt` | *string* | :heavy_check_mark: | N/A | +| `updatedAt` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateaccessgroupprojectrole.md b/docs/models/updateaccessgroupprojectrole.md similarity index 88% rename from docs/models/operations/updateaccessgroupprojectrole.md rename to docs/models/updateaccessgroupprojectrole.md index dd06da82..8bd254f6 100644 --- a/docs/models/operations/updateaccessgroupprojectrole.md +++ b/docs/models/updateaccessgroupprojectrole.md @@ -5,7 +5,7 @@ The project role that will be added to this Access Group. ## Example Usage ```typescript -import { UpdateAccessGroupProjectRole } from "@vercel/sdk/models/operations/updateaccessgroupproject.js"; +import { UpdateAccessGroupProjectRole } from "@vercel/sdk/models/updateaccessgroupprojectop.js"; let value: UpdateAccessGroupProjectRole = "ADMIN"; ``` diff --git a/docs/models/updateaccessgrouprequest.md b/docs/models/updateaccessgrouprequest.md new file mode 100644 index 00000000..8285d494 --- /dev/null +++ b/docs/models/updateaccessgrouprequest.md @@ -0,0 +1,29 @@ +# UpdateAccessGroupRequest + +## Example Usage + +```typescript +import { UpdateAccessGroupRequest } from "@vercel/sdk/models/updateaccessgroupop.js"; + +let value: UpdateAccessGroupRequest = { + idOrName: "", + requestBody: { + name: "My access group", + projects: [ + { + projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", + role: "ADMIN", + }, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `idOrName` | *string* | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.UpdateAccessGroupRequestBody](../models/updateaccessgrouprequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateaccessgrouprequestbody.md b/docs/models/updateaccessgrouprequestbody.md new file mode 100644 index 00000000..f6b75ea5 --- /dev/null +++ b/docs/models/updateaccessgrouprequestbody.md @@ -0,0 +1,26 @@ +# UpdateAccessGroupRequestBody + +## Example Usage + +```typescript +import { UpdateAccessGroupRequestBody } from "@vercel/sdk/models/updateaccessgroupop.js"; + +let value: UpdateAccessGroupRequestBody = { + name: "My access group", + projects: [ + { + projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", + role: "ADMIN", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `name` | *string* | :heavy_minus_sign: | The name of the access group | My access group | +| `projects` | [models.Projects](../models/projects.md)[] | :heavy_minus_sign: | N/A | | +| `membersToAdd` | *string*[] | :heavy_minus_sign: | List of members to add to the access group. | | +| `membersToRemove` | *string*[] | :heavy_minus_sign: | List of members to remove from the access group. | | \ No newline at end of file diff --git a/docs/models/updateaccessgroupresponsebody.md b/docs/models/updateaccessgroupresponsebody.md new file mode 100644 index 00000000..863fc000 --- /dev/null +++ b/docs/models/updateaccessgroupresponsebody.md @@ -0,0 +1,30 @@ +# UpdateAccessGroupResponseBody + +## Example Usage + +```typescript +import { UpdateAccessGroupResponseBody } from "@vercel/sdk/models/updateaccessgroupop.js"; + +let value: UpdateAccessGroupResponseBody = { + name: "my-access-group", + createdAt: "1588720733602", + teamId: "team_123a6c5209bc3778245d011443644c8d27dc2c50", + updatedAt: "1588720733602", + accessGroupId: "ag_123a6c5209bc3778245d011443644c8d27dc2c50", + membersCount: 5, + projectsCount: 2, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `entitlements` | [models.UpdateAccessGroupEntitlements](../models/updateaccessgroupentitlements.md)[] | :heavy_minus_sign: | N/A | | +| `name` | *string* | :heavy_check_mark: | The name of this access group. | my-access-group | +| `createdAt` | *string* | :heavy_check_mark: | Timestamp in milliseconds when the access group was created. | 1588720733602 | +| `teamId` | *string* | :heavy_check_mark: | ID of the team that this access group belongs to. | team_123a6c5209bc3778245d011443644c8d27dc2c50 | +| `updatedAt` | *string* | :heavy_check_mark: | Timestamp in milliseconds when the access group was last updated. | 1588720733602 | +| `accessGroupId` | *string* | :heavy_check_mark: | ID of the access group. | ag_123a6c5209bc3778245d011443644c8d27dc2c50 | +| `membersCount` | *number* | :heavy_check_mark: | Number of members in the access group. | 5 | +| `projectsCount` | *number* | :heavy_check_mark: | Number of projects in the access group. | 2 | \ No newline at end of file diff --git a/docs/models/updateaccessgrouprole.md b/docs/models/updateaccessgrouprole.md new file mode 100644 index 00000000..8e888be7 --- /dev/null +++ b/docs/models/updateaccessgrouprole.md @@ -0,0 +1,17 @@ +# UpdateAccessGroupRole + +The project role that will be added to this Access Group. \"null\" will remove this project level role. + +## Example Usage + +```typescript +import { UpdateAccessGroupRole } from "@vercel/sdk/models/updateaccessgroupop.js"; + +let value: UpdateAccessGroupRole = "ADMIN"; +``` + +## Values + +```typescript +"ADMIN" | "PROJECT_VIEWER" | "PROJECT_DEVELOPER" +``` \ No newline at end of file diff --git a/docs/models/updateattackchallengemoderequest.md b/docs/models/updateattackchallengemoderequest.md new file mode 100644 index 00000000..3f94d97c --- /dev/null +++ b/docs/models/updateattackchallengemoderequest.md @@ -0,0 +1,22 @@ +# UpdateAttackChallengeModeRequest + +## Example Usage + +```typescript +import { UpdateAttackChallengeModeRequest } from "@vercel/sdk/models/updateattackchallengemodeop.js"; + +let value: UpdateAttackChallengeModeRequest = { + requestBody: { + projectId: "", + attackModeEnabled: false, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.UpdateAttackChallengeModeRequestBody](../models/updateattackchallengemoderequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateattackchallengemoderequestbody.md b/docs/models/updateattackchallengemoderequestbody.md similarity index 93% rename from docs/models/operations/updateattackchallengemoderequestbody.md rename to docs/models/updateattackchallengemoderequestbody.md index e0391a25..08595e70 100644 --- a/docs/models/operations/updateattackchallengemoderequestbody.md +++ b/docs/models/updateattackchallengemoderequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateAttackChallengeModeRequestBody } from "@vercel/sdk/models/operations/updateattackchallengemode.js"; +import { UpdateAttackChallengeModeRequestBody } from "@vercel/sdk/models/updateattackchallengemodeop.js"; let value: UpdateAttackChallengeModeRequestBody = { projectId: "", diff --git a/docs/models/operations/updateattackchallengemoderesponsebody.md b/docs/models/updateattackchallengemoderesponsebody.md similarity index 88% rename from docs/models/operations/updateattackchallengemoderesponsebody.md rename to docs/models/updateattackchallengemoderesponsebody.md index 99a4b4ab..11777542 100644 --- a/docs/models/operations/updateattackchallengemoderesponsebody.md +++ b/docs/models/updateattackchallengemoderesponsebody.md @@ -3,11 +3,11 @@ ## Example Usage ```typescript -import { UpdateAttackChallengeModeResponseBody } from "@vercel/sdk/models/operations/updateattackchallengemode.js"; +import { UpdateAttackChallengeModeResponseBody } from "@vercel/sdk/models/updateattackchallengemodeop.js"; let value: UpdateAttackChallengeModeResponseBody = { attackModeEnabled: false, - attackModeUpdatedAt: 5681.62, + attackModeUpdatedAt: 7080.75, }; ``` diff --git a/docs/models/operations/updatecheckchecksrequestrequestbodyoutputsource.md b/docs/models/updatecheckchecksrequestrequestbodyoutputsource.md similarity index 84% rename from docs/models/operations/updatecheckchecksrequestrequestbodyoutputsource.md rename to docs/models/updatecheckchecksrequestrequestbodyoutputsource.md index 1f2aaa56..b2edf07b 100644 --- a/docs/models/operations/updatecheckchecksrequestrequestbodyoutputsource.md +++ b/docs/models/updatecheckchecksrequestrequestbodyoutputsource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateCheckChecksRequestRequestBodyOutputSource } from "@vercel/sdk/models/operations/updatecheck.js"; +import { UpdateCheckChecksRequestRequestBodyOutputSource } from "@vercel/sdk/models/updatecheckop.js"; let value: UpdateCheckChecksRequestRequestBodyOutputSource = "web-vitals"; ``` diff --git a/docs/models/operations/updatecheckchecksrequestrequestbodysource.md b/docs/models/updatecheckchecksrequestrequestbodysource.md similarity index 85% rename from docs/models/operations/updatecheckchecksrequestrequestbodysource.md rename to docs/models/updatecheckchecksrequestrequestbodysource.md index b7d3f43c..6ff6b349 100644 --- a/docs/models/operations/updatecheckchecksrequestrequestbodysource.md +++ b/docs/models/updatecheckchecksrequestrequestbodysource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateCheckChecksRequestRequestBodySource } from "@vercel/sdk/models/operations/updatecheck.js"; +import { UpdateCheckChecksRequestRequestBodySource } from "@vercel/sdk/models/updatecheckop.js"; let value: UpdateCheckChecksRequestRequestBodySource = "web-vitals"; ``` diff --git a/docs/models/operations/updatecheckchecksrequestsource.md b/docs/models/updatecheckchecksrequestsource.md similarity index 88% rename from docs/models/operations/updatecheckchecksrequestsource.md rename to docs/models/updatecheckchecksrequestsource.md index d7e23bc5..6ecccaf8 100644 --- a/docs/models/operations/updatecheckchecksrequestsource.md +++ b/docs/models/updatecheckchecksrequestsource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateCheckChecksRequestSource } from "@vercel/sdk/models/operations/updatecheck.js"; +import { UpdateCheckChecksRequestSource } from "@vercel/sdk/models/updatecheckop.js"; let value: UpdateCheckChecksRequestSource = "web-vitals"; ``` diff --git a/docs/models/operations/updatecheckchecksresponse200applicationjsonresponsebodyoutputsource.md b/docs/models/updatecheckchecksresponse200applicationjsonresponsebodyoutputsource.md similarity index 82% rename from docs/models/operations/updatecheckchecksresponse200applicationjsonresponsebodyoutputsource.md rename to docs/models/updatecheckchecksresponse200applicationjsonresponsebodyoutputsource.md index f2dd8c6d..118d8949 100644 --- a/docs/models/operations/updatecheckchecksresponse200applicationjsonresponsebodyoutputsource.md +++ b/docs/models/updatecheckchecksresponse200applicationjsonresponsebodyoutputsource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource } from "@vercel/sdk/models/operations/updatecheck.js"; +import { UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource } from "@vercel/sdk/models/updatecheckop.js"; let value: UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource = "web-vitals"; diff --git a/docs/models/operations/updatecheckchecksresponse200applicationjsonresponsebodysource.md b/docs/models/updatecheckchecksresponse200applicationjsonresponsebodysource.md similarity index 82% rename from docs/models/operations/updatecheckchecksresponse200applicationjsonresponsebodysource.md rename to docs/models/updatecheckchecksresponse200applicationjsonresponsebodysource.md index 5f6ccf74..7b69b6b9 100644 --- a/docs/models/operations/updatecheckchecksresponse200applicationjsonresponsebodysource.md +++ b/docs/models/updatecheckchecksresponse200applicationjsonresponsebodysource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateCheckChecksResponse200ApplicationJSONResponseBodySource } from "@vercel/sdk/models/operations/updatecheck.js"; +import { UpdateCheckChecksResponse200ApplicationJSONResponseBodySource } from "@vercel/sdk/models/updatecheckop.js"; let value: UpdateCheckChecksResponse200ApplicationJSONResponseBodySource = "web-vitals"; diff --git a/docs/models/operations/updatecheckchecksresponse200applicationjsonsource.md b/docs/models/updatecheckchecksresponse200applicationjsonsource.md similarity index 84% rename from docs/models/operations/updatecheckchecksresponse200applicationjsonsource.md rename to docs/models/updatecheckchecksresponse200applicationjsonsource.md index 814b66c5..bd9e9b26 100644 --- a/docs/models/operations/updatecheckchecksresponse200applicationjsonsource.md +++ b/docs/models/updatecheckchecksresponse200applicationjsonsource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateCheckChecksResponse200ApplicationJSONSource } from "@vercel/sdk/models/operations/updatecheck.js"; +import { UpdateCheckChecksResponse200ApplicationJSONSource } from "@vercel/sdk/models/updatecheckop.js"; let value: UpdateCheckChecksResponse200ApplicationJSONSource = "web-vitals"; ``` diff --git a/docs/models/operations/updatecheckchecksresponse200source.md b/docs/models/updatecheckchecksresponse200source.md similarity index 87% rename from docs/models/operations/updatecheckchecksresponse200source.md rename to docs/models/updatecheckchecksresponse200source.md index 35c0ff30..48019783 100644 --- a/docs/models/operations/updatecheckchecksresponse200source.md +++ b/docs/models/updatecheckchecksresponse200source.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateCheckChecksResponse200Source } from "@vercel/sdk/models/operations/updatecheck.js"; +import { UpdateCheckChecksResponse200Source } from "@vercel/sdk/models/updatecheckop.js"; let value: UpdateCheckChecksResponse200Source = "web-vitals"; ``` diff --git a/docs/models/operations/updatecheckchecksresponsesource.md b/docs/models/updatecheckchecksresponsesource.md similarity index 88% rename from docs/models/operations/updatecheckchecksresponsesource.md rename to docs/models/updatecheckchecksresponsesource.md index 6120a6bc..d4cd1a95 100644 --- a/docs/models/operations/updatecheckchecksresponsesource.md +++ b/docs/models/updatecheckchecksresponsesource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateCheckChecksResponseSource } from "@vercel/sdk/models/operations/updatecheck.js"; +import { UpdateCheckChecksResponseSource } from "@vercel/sdk/models/updatecheckop.js"; let value: UpdateCheckChecksResponseSource = "web-vitals"; ``` diff --git a/docs/models/updatecheckcheckssource.md b/docs/models/updatecheckcheckssource.md new file mode 100644 index 00000000..78f5a86d --- /dev/null +++ b/docs/models/updatecheckcheckssource.md @@ -0,0 +1,15 @@ +# UpdateCheckChecksSource + +## Example Usage + +```typescript +import { UpdateCheckChecksSource } from "@vercel/sdk/models/updatecheckop.js"; + +let value: UpdateCheckChecksSource = "web-vitals"; +``` + +## Values + +```typescript +"web-vitals" +``` \ No newline at end of file diff --git a/docs/models/updatecheckcls.md b/docs/models/updatecheckcls.md new file mode 100644 index 00000000..d3dc6517 --- /dev/null +++ b/docs/models/updatecheckcls.md @@ -0,0 +1,20 @@ +# UpdateCheckCLS + +## Example Usage + +```typescript +import { UpdateCheckCLS } from "@vercel/sdk/models/updatecheckop.js"; + +let value: UpdateCheckCLS = { + value: 4471.25, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.UpdateCheckChecksResponse200ApplicationJSONSource](../models/updatecheckchecksresponse200applicationjsonsource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatecheckconclusion.md b/docs/models/updatecheckconclusion.md new file mode 100644 index 00000000..8bfbb387 --- /dev/null +++ b/docs/models/updatecheckconclusion.md @@ -0,0 +1,15 @@ +# UpdateCheckConclusion + +## Example Usage + +```typescript +import { UpdateCheckConclusion } from "@vercel/sdk/models/updatecheckop.js"; + +let value: UpdateCheckConclusion = "succeeded"; +``` + +## Values + +```typescript +"canceled" | "failed" | "neutral" | "succeeded" | "skipped" | "stale" +``` \ No newline at end of file diff --git a/docs/models/updatecheckfcp.md b/docs/models/updatecheckfcp.md new file mode 100644 index 00000000..99f6689c --- /dev/null +++ b/docs/models/updatecheckfcp.md @@ -0,0 +1,20 @@ +# UpdateCheckFCP + +## Example Usage + +```typescript +import { UpdateCheckFCP } from "@vercel/sdk/models/updatecheckop.js"; + +let value: UpdateCheckFCP = { + value: 2230.82, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.UpdateCheckChecksResponseSource](../models/updatecheckchecksresponsesource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatechecklcp.md b/docs/models/updatechecklcp.md new file mode 100644 index 00000000..28e7ab60 --- /dev/null +++ b/docs/models/updatechecklcp.md @@ -0,0 +1,20 @@ +# UpdateCheckLCP + +## Example Usage + +```typescript +import { UpdateCheckLCP } from "@vercel/sdk/models/updatecheckop.js"; + +let value: UpdateCheckLCP = { + value: 9527.49, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.UpdateCheckChecksResponse200Source](../models/updatecheckchecksresponse200source.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatecheckmetrics.md b/docs/models/updatecheckmetrics.md new file mode 100644 index 00000000..fe1d0230 --- /dev/null +++ b/docs/models/updatecheckmetrics.md @@ -0,0 +1,36 @@ +# UpdateCheckMetrics + +## Example Usage + +```typescript +import { UpdateCheckMetrics } from "@vercel/sdk/models/updatecheckop.js"; + +let value: UpdateCheckMetrics = { + fcp: { + value: 2974.37, + source: "web-vitals", + }, + lcp: { + value: 8137.98, + source: "web-vitals", + }, + cls: { + value: 3965.06, + source: "web-vitals", + }, + tbt: { + value: 8811.03, + source: "web-vitals", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `fcp` | [models.UpdateCheckFCP](../models/updatecheckfcp.md) | :heavy_check_mark: | N/A | +| `lcp` | [models.UpdateCheckLCP](../models/updatechecklcp.md) | :heavy_check_mark: | N/A | +| `cls` | [models.UpdateCheckCLS](../models/updatecheckcls.md) | :heavy_check_mark: | N/A | +| `tbt` | [models.UpdateCheckTBT](../models/updatechecktbt.md) | :heavy_check_mark: | N/A | +| `virtualExperienceScore` | [models.UpdateCheckVirtualExperienceScore](../models/updatecheckvirtualexperiencescore.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatecheckoutput.md b/docs/models/updatecheckoutput.md new file mode 100644 index 00000000..e8d0af30 --- /dev/null +++ b/docs/models/updatecheckoutput.md @@ -0,0 +1,15 @@ +# UpdateCheckOutput + +## Example Usage + +```typescript +import { UpdateCheckOutput } from "@vercel/sdk/models/updatecheckop.js"; + +let value: UpdateCheckOutput = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `metrics` | [models.UpdateCheckMetrics](../models/updatecheckmetrics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatecheckrequest.md b/docs/models/updatecheckrequest.md new file mode 100644 index 00000000..b12aa379 --- /dev/null +++ b/docs/models/updatecheckrequest.md @@ -0,0 +1,57 @@ +# UpdateCheckRequest + +## Example Usage + +```typescript +import { UpdateCheckRequest } from "@vercel/sdk/models/updatecheckop.js"; + +let value: UpdateCheckRequest = { + deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6", + checkId: "check_2qn7PZrx89yxY34vEZPD31Y9XVj6", + requestBody: { + name: "Performance Check", + path: "/", + detailsUrl: "https://example.com/check/run/1234abc", + output: { + metrics: { + fcp: { + value: 1200, + previousValue: 900, + source: "web-vitals", + }, + lcp: { + value: 1200, + previousValue: 1000, + source: "web-vitals", + }, + cls: { + value: 4, + previousValue: 2, + source: "web-vitals", + }, + tbt: { + value: 3000, + previousValue: 3500, + source: "web-vitals", + }, + virtualExperienceScore: { + value: 30, + previousValue: 35, + source: "web-vitals", + }, + }, + }, + externalId: "1234abc", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `deploymentId` | *string* | :heavy_check_mark: | The deployment to update the check for. | dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6 | +| `checkId` | *string* | :heavy_check_mark: | The check being updated | check_2qn7PZrx89yxY34vEZPD31Y9XVj6 | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | +| `requestBody` | [models.UpdateCheckRequestBody](../models/updatecheckrequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/updatecheckrequestbody.md b/docs/models/updatecheckrequestbody.md similarity index 91% rename from docs/models/operations/updatecheckrequestbody.md rename to docs/models/updatecheckrequestbody.md index 195ea7c6..ec66448c 100644 --- a/docs/models/operations/updatecheckrequestbody.md +++ b/docs/models/updatecheckrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateCheckRequestBody } from "@vercel/sdk/models/operations/updatecheck.js"; +import { UpdateCheckRequestBody } from "@vercel/sdk/models/updatecheckop.js"; let value: UpdateCheckRequestBody = { name: "Performance Check", @@ -48,8 +48,8 @@ let value: UpdateCheckRequestBody = { | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | | `name` | *string* | :heavy_minus_sign: | The name of the check being created | Performance Check | | `path` | *string* | :heavy_minus_sign: | Path of the page that is being checked | / | -| `status` | [operations.Status](../../models/operations/status.md) | :heavy_minus_sign: | The current status of the check | | -| `conclusion` | [operations.Conclusion](../../models/operations/conclusion.md) | :heavy_minus_sign: | The result of the check being run | | +| `status` | [models.Status](../models/status.md) | :heavy_minus_sign: | The current status of the check | | +| `conclusion` | [models.Conclusion](../models/conclusion.md) | :heavy_minus_sign: | The result of the check being run | | | `detailsUrl` | *string* | :heavy_minus_sign: | A URL a user may visit to see more information about the check | https://example.com/check/run/1234abc | -| `output` | [operations.Output](../../models/operations/output.md) | :heavy_minus_sign: | The results of the check Run | | +| `output` | [models.Output](../models/output.md) | :heavy_minus_sign: | The results of the check Run | | | `externalId` | *string* | :heavy_minus_sign: | An identifier that can be used as an external reference | 1234abc | \ No newline at end of file diff --git a/docs/models/updatecheckresponsebody.md b/docs/models/updatecheckresponsebody.md new file mode 100644 index 00000000..ca1b917f --- /dev/null +++ b/docs/models/updatecheckresponsebody.md @@ -0,0 +1,39 @@ +# UpdateCheckResponseBody + +## Example Usage + +```typescript +import { UpdateCheckResponseBody } from "@vercel/sdk/models/updatecheckop.js"; + +let value: UpdateCheckResponseBody = { + id: "", + name: "", + status: "running", + blocking: false, + integrationId: "", + deploymentId: "", + createdAt: 8817.35, + updatedAt: 6925.32, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `path` | *string* | :heavy_minus_sign: | N/A | +| `status` | [models.UpdateCheckStatus](../models/updatecheckstatus.md) | :heavy_check_mark: | N/A | +| `conclusion` | [models.UpdateCheckConclusion](../models/updatecheckconclusion.md) | :heavy_minus_sign: | N/A | +| `blocking` | *boolean* | :heavy_check_mark: | N/A | +| `output` | [models.UpdateCheckOutput](../models/updatecheckoutput.md) | :heavy_minus_sign: | N/A | +| `detailsUrl` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `deploymentId` | *string* | :heavy_check_mark: | N/A | +| `externalId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `startedAt` | *number* | :heavy_minus_sign: | N/A | +| `completedAt` | *number* | :heavy_minus_sign: | N/A | +| `rerequestable` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatechecksource.md b/docs/models/updatechecksource.md new file mode 100644 index 00000000..3a2faeb4 --- /dev/null +++ b/docs/models/updatechecksource.md @@ -0,0 +1,15 @@ +# UpdateCheckSource + +## Example Usage + +```typescript +import { UpdateCheckSource } from "@vercel/sdk/models/updatecheckop.js"; + +let value: UpdateCheckSource = "web-vitals"; +``` + +## Values + +```typescript +"web-vitals" +``` \ No newline at end of file diff --git a/docs/models/updatecheckstatus.md b/docs/models/updatecheckstatus.md new file mode 100644 index 00000000..546b985d --- /dev/null +++ b/docs/models/updatecheckstatus.md @@ -0,0 +1,15 @@ +# UpdateCheckStatus + +## Example Usage + +```typescript +import { UpdateCheckStatus } from "@vercel/sdk/models/updatecheckop.js"; + +let value: UpdateCheckStatus = "running"; +``` + +## Values + +```typescript +"registered" | "running" | "completed" +``` \ No newline at end of file diff --git a/docs/models/updatechecktbt.md b/docs/models/updatechecktbt.md new file mode 100644 index 00000000..9142b2f6 --- /dev/null +++ b/docs/models/updatechecktbt.md @@ -0,0 +1,20 @@ +# UpdateCheckTBT + +## Example Usage + +```typescript +import { UpdateCheckTBT } from "@vercel/sdk/models/updatecheckop.js"; + +let value: UpdateCheckTBT = { + value: 8464.09, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.UpdateCheckChecksResponse200ApplicationJSONResponseBodySource](../models/updatecheckchecksresponse200applicationjsonresponsebodysource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatecheckvirtualexperiencescore.md b/docs/models/updatecheckvirtualexperiencescore.md new file mode 100644 index 00000000..c4cd84b0 --- /dev/null +++ b/docs/models/updatecheckvirtualexperiencescore.md @@ -0,0 +1,20 @@ +# UpdateCheckVirtualExperienceScore + +## Example Usage + +```typescript +import { UpdateCheckVirtualExperienceScore } from "@vercel/sdk/models/updatecheckop.js"; + +let value: UpdateCheckVirtualExperienceScore = { + value: 6994.79, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | N/A | +| `previousValue` | *number* | :heavy_minus_sign: | N/A | +| `source` | [models.UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource](../models/updatecheckchecksresponse200applicationjsonresponsebodyoutputsource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateedgeconfigpurpose.md b/docs/models/updateedgeconfigpurpose.md new file mode 100644 index 00000000..5611f541 --- /dev/null +++ b/docs/models/updateedgeconfigpurpose.md @@ -0,0 +1,19 @@ +# UpdateEdgeConfigPurpose + +## Example Usage + +```typescript +import { UpdateEdgeConfigPurpose } from "@vercel/sdk/models/updateedgeconfigop.js"; + +let value: UpdateEdgeConfigPurpose = { + type: "flags", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `type` | [models.UpdateEdgeConfigType](../models/updateedgeconfigtype.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateedgeconfigrequest.md b/docs/models/updateedgeconfigrequest.md new file mode 100644 index 00000000..a55f098a --- /dev/null +++ b/docs/models/updateedgeconfigrequest.md @@ -0,0 +1,23 @@ +# UpdateEdgeConfigRequest + +## Example Usage + +```typescript +import { UpdateEdgeConfigRequest } from "@vercel/sdk/models/updateedgeconfigop.js"; + +let value: UpdateEdgeConfigRequest = { + edgeConfigId: "", + requestBody: { + slug: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.UpdateEdgeConfigRequestBody](../models/updateedgeconfigrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateedgeconfigrequestbody.md b/docs/models/updateedgeconfigrequestbody.md similarity index 93% rename from docs/models/operations/updateedgeconfigrequestbody.md rename to docs/models/updateedgeconfigrequestbody.md index 7e9c286d..7a61abae 100644 --- a/docs/models/operations/updateedgeconfigrequestbody.md +++ b/docs/models/updateedgeconfigrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateEdgeConfigRequestBody } from "@vercel/sdk/models/operations/updateedgeconfig.js"; +import { UpdateEdgeConfigRequestBody } from "@vercel/sdk/models/updateedgeconfigop.js"; let value: UpdateEdgeConfigRequestBody = { slug: "", diff --git a/docs/models/operations/updateedgeconfigresponsebody.md b/docs/models/updateedgeconfigresponsebody.md similarity index 94% rename from docs/models/operations/updateedgeconfigresponsebody.md rename to docs/models/updateedgeconfigresponsebody.md index 34983767..0a76a51c 100644 --- a/docs/models/operations/updateedgeconfigresponsebody.md +++ b/docs/models/updateedgeconfigresponsebody.md @@ -5,11 +5,11 @@ An Edge Config ## Example Usage ```typescript -import { UpdateEdgeConfigResponseBody } from "@vercel/sdk/models/operations/updateedgeconfig.js"; +import { UpdateEdgeConfigResponseBody } from "@vercel/sdk/models/updateedgeconfigop.js"; let value: UpdateEdgeConfigResponseBody = { - sizeInBytes: 5897.12, - itemCount: 8815.67, + sizeInBytes: 1816.22, + itemCount: 1122.24, }; ``` @@ -23,8 +23,8 @@ let value: UpdateEdgeConfigResponseBody = { | `slug` | *string* | :heavy_minus_sign: | Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). | | `ownerId` | *string* | :heavy_minus_sign: | N/A | | `digest` | *string* | :heavy_minus_sign: | N/A | -| `transfer` | [operations.UpdateEdgeConfigTransfer](../../models/operations/updateedgeconfigtransfer.md) | :heavy_minus_sign: | Keeps track of the current state of the Edge Config while it gets transferred. | -| `schema` | [operations.UpdateEdgeConfigSchema](../../models/operations/updateedgeconfigschema.md) | :heavy_minus_sign: | N/A | -| `purpose` | [operations.UpdateEdgeConfigPurpose](../../models/operations/updateedgeconfigpurpose.md) | :heavy_minus_sign: | N/A | +| `transfer` | [models.UpdateEdgeConfigTransfer](../models/updateedgeconfigtransfer.md) | :heavy_minus_sign: | Keeps track of the current state of the Edge Config while it gets transferred. | +| `schema` | [models.UpdateEdgeConfigSchema](../models/updateedgeconfigschema.md) | :heavy_minus_sign: | N/A | +| `purpose` | [models.UpdateEdgeConfigPurpose](../models/updateedgeconfigpurpose.md) | :heavy_minus_sign: | N/A | | `sizeInBytes` | *number* | :heavy_check_mark: | N/A | | `itemCount` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateedgeconfigschema.md b/docs/models/updateedgeconfigschema.md new file mode 100644 index 00000000..1fcc86cf --- /dev/null +++ b/docs/models/updateedgeconfigschema.md @@ -0,0 +1,14 @@ +# UpdateEdgeConfigSchema + +## Example Usage + +```typescript +import { UpdateEdgeConfigSchema } from "@vercel/sdk/models/updateedgeconfigop.js"; + +let value: UpdateEdgeConfigSchema = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/updateedgeconfigtransfer.md b/docs/models/updateedgeconfigtransfer.md similarity index 82% rename from docs/models/operations/updateedgeconfigtransfer.md rename to docs/models/updateedgeconfigtransfer.md index e875d6d0..9295b243 100644 --- a/docs/models/operations/updateedgeconfigtransfer.md +++ b/docs/models/updateedgeconfigtransfer.md @@ -5,12 +5,12 @@ Keeps track of the current state of the Edge Config while it gets transferred. ## Example Usage ```typescript -import { UpdateEdgeConfigTransfer } from "@vercel/sdk/models/operations/updateedgeconfig.js"; +import { UpdateEdgeConfigTransfer } from "@vercel/sdk/models/updateedgeconfigop.js"; let value: UpdateEdgeConfigTransfer = { fromAccountId: "", - startedAt: 3830.66, - doneAt: 3931.22, + startedAt: 9290.66, + doneAt: 535.30, }; ``` diff --git a/docs/models/updateedgeconfigtype.md b/docs/models/updateedgeconfigtype.md new file mode 100644 index 00000000..859c52cb --- /dev/null +++ b/docs/models/updateedgeconfigtype.md @@ -0,0 +1,15 @@ +# UpdateEdgeConfigType + +## Example Usage + +```typescript +import { UpdateEdgeConfigType } from "@vercel/sdk/models/updateedgeconfigop.js"; + +let value: UpdateEdgeConfigType = "flags"; +``` + +## Values + +```typescript +"flags" +``` \ No newline at end of file diff --git a/docs/models/updatefirewallconfigaction1.md b/docs/models/updatefirewallconfigaction1.md new file mode 100644 index 00000000..25c26097 --- /dev/null +++ b/docs/models/updatefirewallconfigaction1.md @@ -0,0 +1,15 @@ +# UpdateFirewallConfigAction1 + +## Example Usage + +```typescript +import { UpdateFirewallConfigAction1 } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigAction1 = "log"; +``` + +## Values + +```typescript +"log" | "challenge" | "deny" | "rate_limit" +``` \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigactionsecurity1.md b/docs/models/updatefirewallconfigactionsecurity1.md similarity index 85% rename from docs/models/operations/updatefirewallconfigactionsecurity1.md rename to docs/models/updatefirewallconfigactionsecurity1.md index f6fef846..8c2737aa 100644 --- a/docs/models/operations/updatefirewallconfigactionsecurity1.md +++ b/docs/models/updatefirewallconfigactionsecurity1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigActionSecurity1 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigActionSecurity1 } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigActionSecurity1 = "challenge"; ``` diff --git a/docs/models/updatefirewallconfigratelimit1.md b/docs/models/updatefirewallconfigratelimit1.md new file mode 100644 index 00000000..a5d5240f --- /dev/null +++ b/docs/models/updatefirewallconfigratelimit1.md @@ -0,0 +1,26 @@ +# UpdateFirewallConfigRateLimit1 + +## Example Usage + +```typescript +import { UpdateFirewallConfigRateLimit1 } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRateLimit1 = { + algo: "fixed_window", + window: 8675.81, + limit: 3130.99, + keys: [ + "", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `algo` | [models.RateLimitAlgo](../models/ratelimitalgo.md) | :heavy_check_mark: | N/A | +| `window` | *number* | :heavy_check_mark: | N/A | +| `limit` | *number* | :heavy_check_mark: | N/A | +| `keys` | *string*[] | :heavy_check_mark: | N/A | +| `action` | *models.UpdateFirewallConfigRateLimitAction* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatefirewallconfigratelimitaction.md b/docs/models/updatefirewallconfigratelimitaction.md new file mode 100644 index 00000000..0112e529 --- /dev/null +++ b/docs/models/updatefirewallconfigratelimitaction.md @@ -0,0 +1,17 @@ +# UpdateFirewallConfigRateLimitAction + + +## Supported Types + +### `models.UpdateFirewallConfigAction1` + +```typescript +const value: models.UpdateFirewallConfigAction1 = "deny"; +``` + +### `any` + +```typescript +const value: any = ""; +``` + diff --git a/docs/models/operations/updatefirewallconfigratelimitalgo.md b/docs/models/updatefirewallconfigratelimitalgo.md similarity index 85% rename from docs/models/operations/updatefirewallconfigratelimitalgo.md rename to docs/models/updatefirewallconfigratelimitalgo.md index 9fc3c0d4..e74d4a5a 100644 --- a/docs/models/operations/updatefirewallconfigratelimitalgo.md +++ b/docs/models/updatefirewallconfigratelimitalgo.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRateLimitAlgo } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRateLimitAlgo } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRateLimitAlgo = "fixed_window"; ``` diff --git a/docs/models/updatefirewallconfigratelimitsecurity1.md b/docs/models/updatefirewallconfigratelimitsecurity1.md new file mode 100644 index 00000000..e674b07e --- /dev/null +++ b/docs/models/updatefirewallconfigratelimitsecurity1.md @@ -0,0 +1,26 @@ +# UpdateFirewallConfigRateLimitSecurity1 + +## Example Usage + +```typescript +import { UpdateFirewallConfigRateLimitSecurity1 } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRateLimitSecurity1 = { + algo: "token_bucket", + window: 9504.86, + limit: 351.07, + keys: [ + "", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `algo` | [models.UpdateFirewallConfigRateLimitAlgo](../models/updatefirewallconfigratelimitalgo.md) | :heavy_check_mark: | N/A | +| `window` | *number* | :heavy_check_mark: | N/A | +| `limit` | *number* | :heavy_check_mark: | N/A | +| `keys` | *string*[] | :heavy_check_mark: | N/A | +| `action` | *models.UpdateFirewallConfigRateLimitSecurityAction* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatefirewallconfigratelimitsecurityaction.md b/docs/models/updatefirewallconfigratelimitsecurityaction.md new file mode 100644 index 00000000..bc5fcf01 --- /dev/null +++ b/docs/models/updatefirewallconfigratelimitsecurityaction.md @@ -0,0 +1,17 @@ +# UpdateFirewallConfigRateLimitSecurityAction + + +## Supported Types + +### `models.UpdateFirewallConfigActionSecurity1` + +```typescript +const value: models.UpdateFirewallConfigActionSecurity1 = "log"; +``` + +### `any` + +```typescript +const value: any = ""; +``` + diff --git a/docs/models/operations/updatefirewallconfigredirect1.md b/docs/models/updatefirewallconfigredirect1.md similarity index 93% rename from docs/models/operations/updatefirewallconfigredirect1.md rename to docs/models/updatefirewallconfigredirect1.md index 6723278c..eefafa57 100644 --- a/docs/models/operations/updatefirewallconfigredirect1.md +++ b/docs/models/updatefirewallconfigredirect1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRedirect1 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRedirect1 } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRedirect1 = { location: "", diff --git a/docs/models/operations/updatefirewallconfigredirectsecurity1.md b/docs/models/updatefirewallconfigredirectsecurity1.md similarity index 92% rename from docs/models/operations/updatefirewallconfigredirectsecurity1.md rename to docs/models/updatefirewallconfigredirectsecurity1.md index 288a196d..45fd9c5e 100644 --- a/docs/models/operations/updatefirewallconfigredirectsecurity1.md +++ b/docs/models/updatefirewallconfigredirectsecurity1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRedirectSecurity1 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRedirectSecurity1 } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRedirectSecurity1 = { location: "", diff --git a/docs/models/operations/updatefirewallconfigrequest.md b/docs/models/updatefirewallconfigrequest.md similarity index 81% rename from docs/models/operations/updatefirewallconfigrequest.md rename to docs/models/updatefirewallconfigrequest.md index c15e9384..84842b7b 100644 --- a/docs/models/operations/updatefirewallconfigrequest.md +++ b/docs/models/updatefirewallconfigrequest.md @@ -3,10 +3,17 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequest } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequest } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRequest = { projectId: "", + requestBody: { + action: "managedRules.update", + id: "owasp", + value: { + active: false, + }, + }, }; ``` @@ -17,4 +24,4 @@ let value: UpdateFirewallConfigRequest = { | `projectId` | *string* | :heavy_check_mark: | N/A | | `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | -| `requestBody` | *operations.UpdateFirewallConfigRequestBody* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `requestBody` | *models.UpdateFirewallConfigRequestBody* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatefirewallconfigrequestbody.md b/docs/models/updatefirewallconfigrequestbody.md new file mode 100644 index 00000000..57e18c25 --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbody.md @@ -0,0 +1,149 @@ +# UpdateFirewallConfigRequestBody + + +## Supported Types + +### `models.UpdateFirewallConfigRequestBody1` + +```typescript +const value: models.UpdateFirewallConfigRequestBody1 = { + action: "firewallEnabled", + value: false, +}; +``` + +### `models.UpdateFirewallConfigRequestBody2` + +```typescript +const value: models.UpdateFirewallConfigRequestBody2 = { + action: "rules.insert", + value: { + name: "", + active: false, + conditionGroup: [ + { + conditions: [ + { + type: "host", + op: "lte", + }, + ], + }, + ], + action: {}, + }, +}; +``` + +### `models.UpdateFirewallConfigRequestBody3` + +```typescript +const value: models.UpdateFirewallConfigRequestBody3 = { + action: "rules.update", + id: "", + value: { + name: "", + active: false, + conditionGroup: [ + { + conditions: [ + { + type: "ja4_digest", + op: "suf", + }, + ], + }, + ], + action: {}, + }, +}; +``` + +### `models.UpdateFirewallConfigRequestBody4` + +```typescript +const value: models.UpdateFirewallConfigRequestBody4 = { + action: "rules.remove", + id: "", +}; +``` + +### `models.UpdateFirewallConfigRequestBody5` + +```typescript +const value: models.UpdateFirewallConfigRequestBody5 = { + action: "rules.priority", + id: "", + value: 170.30, +}; +``` + +### `models.RequestBody6` + +```typescript +const value: models.RequestBody6 = { + action: "crs.update", + id: "rce", + value: { + active: false, + action: "log", + }, +}; +``` + +### `models.RequestBody7` + +```typescript +const value: models.RequestBody7 = { + action: "crs.disable", +}; +``` + +### `models.RequestBody8` + +```typescript +const value: models.RequestBody8 = { + action: "ip.insert", + value: { + hostname: "responsible-coast.info", + ip: "b0d5:28c0:cbb9:cad8:df0b:8eaf:f4ec:5adf", + action: "challenge", + }, +}; +``` + +### `models.RequestBody9` + +```typescript +const value: models.RequestBody9 = { + action: "ip.update", + id: "", + value: { + hostname: "cruel-extension.biz", + ip: "ae4c:fbeb:6664:dca8:e4c1:4dec:dfaa:c2fb", + action: "deny", + }, +}; +``` + +### `models.RequestBody10` + +```typescript +const value: models.RequestBody10 = { + action: "ip.remove", + id: "", +}; +``` + +### `models.Eleven` + +```typescript +const value: models.Eleven = { + action: "managedRules.update", + id: "owasp", + value: { + active: false, + }, +}; +``` + diff --git a/docs/models/updatefirewallconfigrequestbody1.md b/docs/models/updatefirewallconfigrequestbody1.md new file mode 100644 index 00000000..4b3e3d0a --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbody1.md @@ -0,0 +1,22 @@ +# UpdateFirewallConfigRequestBody1 + +Enable Firewall + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBody1 } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBody1 = { + action: "firewallEnabled", + value: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `action` | [models.RequestBodyAction](../models/requestbodyaction.md) | :heavy_check_mark: | N/A | +| `id` | *any* | :heavy_minus_sign: | N/A | +| `value` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatefirewallconfigrequestbody2.md b/docs/models/updatefirewallconfigrequestbody2.md new file mode 100644 index 00000000..dbfb0238 --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbody2.md @@ -0,0 +1,36 @@ +# UpdateFirewallConfigRequestBody2 + +Add a custom rule + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBody2 } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBody2 = { + action: "rules.insert", + value: { + name: "", + active: false, + conditionGroup: [ + { + conditions: [ + { + type: "region", + op: "suf", + }, + ], + }, + ], + action: {}, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `action` | [models.UpdateFirewallConfigRequestBodyAction](../models/updatefirewallconfigrequestbodyaction.md) | :heavy_check_mark: | N/A | +| `id` | *any* | :heavy_minus_sign: | N/A | +| `value` | [models.RequestBodyValue](../models/requestbodyvalue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatefirewallconfigrequestbody3.md b/docs/models/updatefirewallconfigrequestbody3.md new file mode 100644 index 00000000..a51cb9b2 --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbody3.md @@ -0,0 +1,37 @@ +# UpdateFirewallConfigRequestBody3 + +Update a custom rule + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBody3 } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBody3 = { + action: "rules.update", + id: "", + value: { + name: "", + active: false, + conditionGroup: [ + { + conditions: [ + { + type: "method", + op: "sub", + }, + ], + }, + ], + action: {}, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `action` | [models.UpdateFirewallConfigRequestBodySecurityAction](../models/updatefirewallconfigrequestbodysecurityaction.md) | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `value` | [models.UpdateFirewallConfigRequestBodyValue](../models/updatefirewallconfigrequestbodyvalue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatefirewallconfigrequestbody4.md b/docs/models/updatefirewallconfigrequestbody4.md new file mode 100644 index 00000000..a7c56d45 --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbody4.md @@ -0,0 +1,22 @@ +# UpdateFirewallConfigRequestBody4 + +Remove a custom rule + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBody4 } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBody4 = { + action: "rules.remove", + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `action` | [models.UpdateFirewallConfigRequestBodySecurityRequestAction](../models/updatefirewallconfigrequestbodysecurityrequestaction.md) | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `value` | *any* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatefirewallconfigrequestbody5.md b/docs/models/updatefirewallconfigrequestbody5.md new file mode 100644 index 00000000..b91fe09e --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbody5.md @@ -0,0 +1,23 @@ +# UpdateFirewallConfigRequestBody5 + +Reorder a custom rule + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBody5 } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBody5 = { + action: "rules.priority", + id: "", + value: 1928.81, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `action` | [models.UpdateFirewallConfigRequestBodySecurityRequest5Action](../models/updatefirewallconfigrequestbodysecurityrequest5action.md) | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `value` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbodyaction.md b/docs/models/updatefirewallconfigrequestbodyaction.md similarity index 84% rename from docs/models/operations/updatefirewallconfigrequestbodyaction.md rename to docs/models/updatefirewallconfigrequestbodyaction.md index 0a1721a9..2df1f1d9 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodyaction.md +++ b/docs/models/updatefirewallconfigrequestbodyaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequestBodyAction } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequestBodyAction } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRequestBodyAction = "rules.insert"; ``` diff --git a/docs/models/updatefirewallconfigrequestbodyconditiongroup.md b/docs/models/updatefirewallconfigrequestbodyconditiongroup.md new file mode 100644 index 00000000..2ae672f9 --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbodyconditiongroup.md @@ -0,0 +1,22 @@ +# UpdateFirewallConfigRequestBodyConditionGroup + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBodyConditionGroup } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBodyConditionGroup = { + conditions: [ + { + type: "ja4_digest", + op: "neq", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `conditions` | [models.UpdateFirewallConfigRequestBodyConditions](../models/updatefirewallconfigrequestbodyconditions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatefirewallconfigrequestbodyconditions.md b/docs/models/updatefirewallconfigrequestbodyconditions.md new file mode 100644 index 00000000..54e96615 --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbodyconditions.md @@ -0,0 +1,22 @@ +# UpdateFirewallConfigRequestBodyConditions + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBodyConditions } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBodyConditions = { + type: "rate_limit_api_id", + op: "nex", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateFirewallConfigRequestBodySecurityType](../models/updatefirewallconfigrequestbodysecuritytype.md) | :heavy_check_mark: | [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. | +| `op` | [models.UpdateFirewallConfigRequestBodyOp](../models/updatefirewallconfigrequestbodyop.md) | :heavy_check_mark: | [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value | +| `neg` | *boolean* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *models.UpdateFirewallConfigRequestBodySecurityRequest3Value* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatefirewallconfigrequestbodymitigate.md b/docs/models/updatefirewallconfigrequestbodymitigate.md new file mode 100644 index 00000000..280c9cc1 --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbodymitigate.md @@ -0,0 +1,20 @@ +# UpdateFirewallConfigRequestBodyMitigate + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBodyMitigate } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBodyMitigate = { + action: "redirect", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `action` | [models.UpdateFirewallConfigRequestBodySecurityRequest3ValueAction](../models/updatefirewallconfigrequestbodysecurityrequest3valueaction.md) | :heavy_check_mark: | N/A | +| `rateLimit` | *models.UpdateFirewallConfigRequestBodyRateLimit* | :heavy_minus_sign: | N/A | +| `redirect` | *models.UpdateFirewallConfigRequestBodyRedirect* | :heavy_minus_sign: | N/A | +| `actionDuration` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatefirewallconfigrequestbodyop.md b/docs/models/updatefirewallconfigrequestbodyop.md new file mode 100644 index 00000000..79c60cd4 --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbodyop.md @@ -0,0 +1,17 @@ +# UpdateFirewallConfigRequestBodyOp + +[Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBodyOp } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBodyOp = "nex"; +``` + +## Values + +```typescript +"re" | "eq" | "neq" | "ex" | "nex" | "inc" | "ninc" | "pre" | "suf" | "sub" | "gt" | "gte" | "lt" | "lte" +``` \ No newline at end of file diff --git a/docs/models/updatefirewallconfigrequestbodyratelimit.md b/docs/models/updatefirewallconfigrequestbodyratelimit.md new file mode 100644 index 00000000..2ce3e6f7 --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbodyratelimit.md @@ -0,0 +1,24 @@ +# UpdateFirewallConfigRequestBodyRateLimit + + +## Supported Types + +### `models.UpdateFirewallConfigRateLimitSecurity1` + +```typescript +const value: models.UpdateFirewallConfigRateLimitSecurity1 = { + algo: "token_bucket", + window: 7738.54, + limit: 3588.62, + keys: [ + "", + ], +}; +``` + +### `any` + +```typescript +const value: any = ""; +``` + diff --git a/docs/models/updatefirewallconfigrequestbodyredirect.md b/docs/models/updatefirewallconfigrequestbodyredirect.md new file mode 100644 index 00000000..fa0ca9bf --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbodyredirect.md @@ -0,0 +1,20 @@ +# UpdateFirewallConfigRequestBodyRedirect + + +## Supported Types + +### `models.UpdateFirewallConfigRedirectSecurity1` + +```typescript +const value: models.UpdateFirewallConfigRedirectSecurity1 = { + location: "", + permanent: false, +}; +``` + +### `any` + +```typescript +const value: any = ""; +``` + diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityaction.md b/docs/models/updatefirewallconfigrequestbodysecurityaction.md similarity index 83% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityaction.md rename to docs/models/updatefirewallconfigrequestbodysecurityaction.md index e3dbfd03..917cd2ed 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityaction.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequestBodySecurityAction } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequestBodySecurityAction } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRequestBodySecurityAction = "rules.update"; ``` diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest10action.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest10action.md similarity index 81% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityrequest10action.md rename to docs/models/updatefirewallconfigrequestbodysecurityrequest10action.md index 847d5a4e..2a1f56ed 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest10action.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest10action.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequestBodySecurityRequest10Action } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequestBodySecurityRequest10Action } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRequestBodySecurityRequest10Action = "ip.remove"; ``` diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest11action.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest11action.md similarity index 82% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityrequest11action.md rename to docs/models/updatefirewallconfigrequestbodysecurityrequest11action.md index 38a642a3..887945f0 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest11action.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest11action.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequestBodySecurityRequest11Action } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequestBodySecurityRequest11Action } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRequestBodySecurityRequest11Action = "managedRules.update"; diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest11value.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest11value.md similarity index 89% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityrequest11value.md rename to docs/models/updatefirewallconfigrequestbodysecurityrequest11value.md index 3cde06e5..078d22e3 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest11value.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest11value.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequestBodySecurityRequest11Value } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequestBodySecurityRequest11Value } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRequestBodySecurityRequest11Value = { active: false, diff --git a/docs/models/updatefirewallconfigrequestbodysecurityrequest2action.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest2action.md new file mode 100644 index 00000000..856ee943 --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest2action.md @@ -0,0 +1,15 @@ +# UpdateFirewallConfigRequestBodySecurityRequest2Action + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBodySecurityRequest2Action } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBodySecurityRequest2Action = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `mitigate` | [models.RequestBodyMitigate](../models/requestbodymitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2value.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest2value.md similarity index 89% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2value.md rename to docs/models/updatefirewallconfigrequestbodysecurityrequest2value.md index c2f2825d..0d30dca0 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2value.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest2value.md @@ -20,6 +20,6 @@ const value: string[] = [ ### `number` ```typescript -const value: number = 8866.83; +const value: number = 6831.92; ``` diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2valueaction.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest2valueaction.md similarity index 80% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2valueaction.md rename to docs/models/updatefirewallconfigrequestbodysecurityrequest2valueaction.md index 561cd434..325d2879 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2valueaction.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest2valueaction.md @@ -3,10 +3,10 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequestBodySecurityRequest2ValueAction } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequestBodySecurityRequest2ValueAction } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRequestBodySecurityRequest2ValueAction = - "redirect"; + "bypass"; ``` ## Values diff --git a/docs/models/updatefirewallconfigrequestbodysecurityrequest3action.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest3action.md new file mode 100644 index 00000000..154e833b --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest3action.md @@ -0,0 +1,15 @@ +# UpdateFirewallConfigRequestBodySecurityRequest3Action + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBodySecurityRequest3Action } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBodySecurityRequest3Action = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `mitigate` | [models.UpdateFirewallConfigRequestBodyMitigate](../models/updatefirewallconfigrequestbodymitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3value.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest3value.md similarity index 89% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3value.md rename to docs/models/updatefirewallconfigrequestbodysecurityrequest3value.md index 6adee9aa..1af86996 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3value.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest3value.md @@ -20,6 +20,6 @@ const value: string[] = [ ### `number` ```typescript -const value: number = 5167.39; +const value: number = 2774.18; ``` diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3valueaction.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest3valueaction.md similarity index 80% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3valueaction.md rename to docs/models/updatefirewallconfigrequestbodysecurityrequest3valueaction.md index 9a95a71a..b1e8e597 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3valueaction.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest3valueaction.md @@ -3,10 +3,10 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequestBodySecurityRequest3ValueAction } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequestBodySecurityRequest3ValueAction } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRequestBodySecurityRequest3ValueAction = - "challenge"; + "rate_limit"; ``` ## Values diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest5action.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest5action.md similarity index 82% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityrequest5action.md rename to docs/models/updatefirewallconfigrequestbodysecurityrequest5action.md index b61a9033..47124fff 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest5action.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest5action.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequestBodySecurityRequest5Action } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequestBodySecurityRequest5Action } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRequestBodySecurityRequest5Action = "rules.priority"; diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest6action.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest6action.md similarity index 81% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityrequest6action.md rename to docs/models/updatefirewallconfigrequestbodysecurityrequest6action.md index fb8ee181..81f3b053 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest6action.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest6action.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequestBodySecurityRequest6Action } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequestBodySecurityRequest6Action } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRequestBodySecurityRequest6Action = "crs.update"; ``` diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest6valueaction.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest6valueaction.md similarity index 80% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityrequest6valueaction.md rename to docs/models/updatefirewallconfigrequestbodysecurityrequest6valueaction.md index a57926cc..cdaa2206 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest6valueaction.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest6valueaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequestBodySecurityRequest6ValueAction } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequestBodySecurityRequest6ValueAction } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRequestBodySecurityRequest6ValueAction = "deny"; ``` diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest7action.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest7action.md similarity index 81% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityrequest7action.md rename to docs/models/updatefirewallconfigrequestbodysecurityrequest7action.md index eb10db03..3e0d1172 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest7action.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest7action.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequestBodySecurityRequest7Action } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequestBodySecurityRequest7Action } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRequestBodySecurityRequest7Action = "crs.disable"; diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest8action.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest8action.md similarity index 81% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityrequest8action.md rename to docs/models/updatefirewallconfigrequestbodysecurityrequest8action.md index 4be2fe84..d80da3bf 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest8action.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest8action.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequestBodySecurityRequest8Action } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequestBodySecurityRequest8Action } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRequestBodySecurityRequest8Action = "ip.insert"; ``` diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest8valueaction.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest8valueaction.md similarity index 77% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityrequest8valueaction.md rename to docs/models/updatefirewallconfigrequestbodysecurityrequest8valueaction.md index a00512b5..010b7b12 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest8valueaction.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest8valueaction.md @@ -3,10 +3,9 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequestBodySecurityRequest8ValueAction } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequestBodySecurityRequest8ValueAction } from "@vercel/sdk/models/updatefirewallconfigop.js"; -let value: UpdateFirewallConfigRequestBodySecurityRequest8ValueAction = - "bypass"; +let value: UpdateFirewallConfigRequestBodySecurityRequest8ValueAction = "log"; ``` ## Values diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9action.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest9action.md similarity index 81% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9action.md rename to docs/models/updatefirewallconfigrequestbodysecurityrequest9action.md index f9181728..9482f221 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9action.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest9action.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequestBodySecurityRequest9Action } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequestBodySecurityRequest9Action } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRequestBodySecurityRequest9Action = "ip.update"; ``` diff --git a/docs/models/updatefirewallconfigrequestbodysecurityrequest9value.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest9value.md new file mode 100644 index 00000000..da594683 --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest9value.md @@ -0,0 +1,22 @@ +# UpdateFirewallConfigRequestBodySecurityRequest9Value + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBodySecurityRequest9Value } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBodySecurityRequest9Value = { + hostname: "far-off-hope.com", + ip: "57.123.64.224", + action: "challenge", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `hostname` | *string* | :heavy_check_mark: | N/A | +| `ip` | *string* | :heavy_check_mark: | N/A | +| `notes` | *string* | :heavy_minus_sign: | N/A | +| `action` | [models.UpdateFirewallConfigRequestBodySecurityRequest9ValueAction](../models/updatefirewallconfigrequestbodysecurityrequest9valueaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9valueaction.md b/docs/models/updatefirewallconfigrequestbodysecurityrequest9valueaction.md similarity index 76% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9valueaction.md rename to docs/models/updatefirewallconfigrequestbodysecurityrequest9valueaction.md index 04e5df46..2950a28b 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9valueaction.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequest9valueaction.md @@ -3,10 +3,9 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequestBodySecurityRequest9ValueAction } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequestBodySecurityRequest9ValueAction } from "@vercel/sdk/models/updatefirewallconfigop.js"; -let value: UpdateFirewallConfigRequestBodySecurityRequest9ValueAction = - "challenge"; +let value: UpdateFirewallConfigRequestBodySecurityRequest9ValueAction = "deny"; ``` ## Values diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequestaction.md b/docs/models/updatefirewallconfigrequestbodysecurityrequestaction.md similarity index 82% rename from docs/models/operations/updatefirewallconfigrequestbodysecurityrequestaction.md rename to docs/models/updatefirewallconfigrequestbodysecurityrequestaction.md index fbdea8de..6df81bc2 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequestaction.md +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequestaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigRequestBodySecurityRequestAction } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigRequestBodySecurityRequestAction } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigRequestBodySecurityRequestAction = "rules.remove"; diff --git a/docs/models/updatefirewallconfigrequestbodysecurityrequestvalue.md b/docs/models/updatefirewallconfigrequestbodysecurityrequestvalue.md new file mode 100644 index 00000000..4082341c --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbodysecurityrequestvalue.md @@ -0,0 +1,22 @@ +# UpdateFirewallConfigRequestBodySecurityRequestValue + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBodySecurityRequestValue } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBodySecurityRequestValue = { + hostname: "yummy-department.info", + ip: "92.25.92.227", + action: "challenge", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `hostname` | *string* | :heavy_check_mark: | N/A | +| `ip` | *string* | :heavy_check_mark: | N/A | +| `notes` | *string* | :heavy_minus_sign: | N/A | +| `action` | [models.UpdateFirewallConfigRequestBodySecurityRequest8ValueAction](../models/updatefirewallconfigrequestbodysecurityrequest8valueaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatefirewallconfigrequestbodysecuritytype.md b/docs/models/updatefirewallconfigrequestbodysecuritytype.md new file mode 100644 index 00000000..198a01ad --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbodysecuritytype.md @@ -0,0 +1,17 @@ +# UpdateFirewallConfigRequestBodySecurityType + +[Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBodySecurityType } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBodySecurityType = "query"; +``` + +## Values + +```typescript +"host" | "path" | "method" | "header" | "query" | "cookie" | "target_path" | "raw_path" | "ip_address" | "region" | "protocol" | "scheme" | "environment" | "user_agent" | "geo_continent" | "geo_country" | "geo_country_region" | "geo_city" | "geo_as_number" | "ja4_digest" | "ja3_digest" | "rate_limit_api_id" +``` \ No newline at end of file diff --git a/docs/models/updatefirewallconfigrequestbodysecurityvalue.md b/docs/models/updatefirewallconfigrequestbodysecurityvalue.md new file mode 100644 index 00000000..6707f91b --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbodysecurityvalue.md @@ -0,0 +1,19 @@ +# UpdateFirewallConfigRequestBodySecurityValue + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBodySecurityValue } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBodySecurityValue = { + active: false, + action: "deny", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.UpdateFirewallConfigRequestBodySecurityRequest6ValueAction](../models/updatefirewallconfigrequestbodysecurityrequest6valueaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatefirewallconfigrequestbodytype.md b/docs/models/updatefirewallconfigrequestbodytype.md new file mode 100644 index 00000000..c8ae8047 --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbodytype.md @@ -0,0 +1,17 @@ +# UpdateFirewallConfigRequestBodyType + +[Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBodyType } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBodyType = "host"; +``` + +## Values + +```typescript +"host" | "path" | "method" | "header" | "query" | "cookie" | "target_path" | "raw_path" | "ip_address" | "region" | "protocol" | "scheme" | "environment" | "user_agent" | "geo_continent" | "geo_country" | "geo_country_region" | "geo_city" | "geo_as_number" | "ja4_digest" | "ja3_digest" | "rate_limit_api_id" +``` \ No newline at end of file diff --git a/docs/models/updatefirewallconfigrequestbodyvalue.md b/docs/models/updatefirewallconfigrequestbodyvalue.md new file mode 100644 index 00000000..b9707dab --- /dev/null +++ b/docs/models/updatefirewallconfigrequestbodyvalue.md @@ -0,0 +1,33 @@ +# UpdateFirewallConfigRequestBodyValue + +## Example Usage + +```typescript +import { UpdateFirewallConfigRequestBodyValue } from "@vercel/sdk/models/updatefirewallconfigop.js"; + +let value: UpdateFirewallConfigRequestBodyValue = { + name: "", + active: false, + conditionGroup: [ + { + conditions: [ + { + type: "target_path", + op: "inc", + }, + ], + }, + ], + action: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `conditionGroup` | [models.UpdateFirewallConfigRequestBodyConditionGroup](../models/updatefirewallconfigrequestbodyconditiongroup.md)[] | :heavy_check_mark: | N/A | +| `action` | [models.UpdateFirewallConfigRequestBodySecurityRequest3Action](../models/updatefirewallconfigrequestbodysecurityrequest3action.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatefirewallconfigresponsebody.md b/docs/models/updatefirewallconfigresponsebody.md similarity index 88% rename from docs/models/operations/updatefirewallconfigresponsebody.md rename to docs/models/updatefirewallconfigresponsebody.md index cc0a3840..82c6e11b 100644 --- a/docs/models/operations/updatefirewallconfigresponsebody.md +++ b/docs/models/updatefirewallconfigresponsebody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateFirewallConfigResponseBody } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; +import { UpdateFirewallConfigResponseBody } from "@vercel/sdk/models/updatefirewallconfigop.js"; let value: UpdateFirewallConfigResponseBody = {}; ``` diff --git a/docs/models/updateinvoicerequest.md b/docs/models/updateinvoicerequest.md new file mode 100644 index 00000000..cd095774 --- /dev/null +++ b/docs/models/updateinvoicerequest.md @@ -0,0 +1,25 @@ +# UpdateInvoiceRequest + +## Example Usage + +```typescript +import { UpdateInvoiceRequest } from "@vercel/sdk/models/updateinvoiceop.js"; + +let value: UpdateInvoiceRequest = { + integrationConfigurationId: "", + invoiceId: "", + requestBody: { + action: "refund", + reason: "", + total: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | +| `invoiceId` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [models.UpdateInvoiceRequestBody](../models/updateinvoicerequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateinvoicerequestbody.md b/docs/models/updateinvoicerequestbody.md similarity index 90% rename from docs/models/operations/updateinvoicerequestbody.md rename to docs/models/updateinvoicerequestbody.md index 70ffc95b..bbe46496 100644 --- a/docs/models/operations/updateinvoicerequestbody.md +++ b/docs/models/updateinvoicerequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateInvoiceRequestBody } from "@vercel/sdk/models/operations/updateinvoice.js"; +import { UpdateInvoiceRequestBody } from "@vercel/sdk/models/updateinvoiceop.js"; let value: UpdateInvoiceRequestBody = { action: "refund", @@ -16,6 +16,6 @@ let value: UpdateInvoiceRequestBody = { | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `action` | [operations.Action](../../models/operations/action.md) | :heavy_check_mark: | N/A | +| `action` | [models.Action](../models/action.md) | :heavy_check_mark: | N/A | | `reason` | *string* | :heavy_check_mark: | Refund reason. | | `total` | *string* | :heavy_check_mark: | The total amount to be refunded. Must be less than or equal to the total amount of the invoice. | \ No newline at end of file diff --git a/docs/models/updateprojectaction.md b/docs/models/updateprojectaction.md new file mode 100644 index 00000000..d5b80a26 --- /dev/null +++ b/docs/models/updateprojectaction.md @@ -0,0 +1,15 @@ +# UpdateProjectAction + +## Example Usage + +```typescript +import { UpdateProjectAction } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectAction = "bypass"; +``` + +## Values + +```typescript +"deny" | "challenge" | "log" | "bypass" | "rate_limit" | "redirect" +``` \ No newline at end of file diff --git a/docs/models/updateprojectalgo.md b/docs/models/updateprojectalgo.md new file mode 100644 index 00000000..3e7a5891 --- /dev/null +++ b/docs/models/updateprojectalgo.md @@ -0,0 +1,15 @@ +# UpdateProjectAlgo + +## Example Usage + +```typescript +import { UpdateProjectAlgo } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectAlgo = "fixed_window"; +``` + +## Values + +```typescript +"fixed_window" | "token_bucket" +``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectaliasassigned.md b/docs/models/updateprojectaliasassigned.md similarity index 100% rename from docs/models/operations/updateprojectaliasassigned.md rename to docs/models/updateprojectaliasassigned.md diff --git a/docs/models/operations/updateprojectaliaserror.md b/docs/models/updateprojectaliaserror.md similarity index 84% rename from docs/models/operations/updateprojectaliaserror.md rename to docs/models/updateprojectaliaserror.md index fbccc612..10a6e1db 100644 --- a/docs/models/operations/updateprojectaliaserror.md +++ b/docs/models/updateprojectaliaserror.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectAliasError } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectAliasError } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectAliasError = { code: "", diff --git a/docs/models/operations/updateprojectanalytics.md b/docs/models/updateprojectanalytics.md similarity index 92% rename from docs/models/operations/updateprojectanalytics.md rename to docs/models/updateprojectanalytics.md index 4a66612c..5367a231 100644 --- a/docs/models/operations/updateprojectanalytics.md +++ b/docs/models/updateprojectanalytics.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectAnalytics } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectAnalytics } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectAnalytics = { id: "", diff --git a/docs/models/updateprojectbranchmatcher.md b/docs/models/updateprojectbranchmatcher.md new file mode 100644 index 00000000..ec5002b7 --- /dev/null +++ b/docs/models/updateprojectbranchmatcher.md @@ -0,0 +1,19 @@ +# UpdateProjectBranchMatcher + +## Example Usage + +```typescript +import { UpdateProjectBranchMatcher } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectBranchMatcher = { + type: "startsWith", + pattern: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType](../models/updateprojectprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `pattern` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectbuilds.md b/docs/models/updateprojectbuilds.md similarity index 86% rename from docs/models/operations/updateprojectbuilds.md rename to docs/models/updateprojectbuilds.md index 6e27060d..8b0dfb97 100644 --- a/docs/models/operations/updateprojectbuilds.md +++ b/docs/models/updateprojectbuilds.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectBuilds } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectBuilds } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectBuilds = { use: "", diff --git a/docs/models/operations/updateprojectchecksconclusion.md b/docs/models/updateprojectchecksconclusion.md similarity index 89% rename from docs/models/operations/updateprojectchecksconclusion.md rename to docs/models/updateprojectchecksconclusion.md index 333633bc..70c373a4 100644 --- a/docs/models/operations/updateprojectchecksconclusion.md +++ b/docs/models/updateprojectchecksconclusion.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectChecksConclusion } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectChecksConclusion } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectChecksConclusion = "failed"; ``` diff --git a/docs/models/updateprojectchecksstate.md b/docs/models/updateprojectchecksstate.md new file mode 100644 index 00000000..c9c70c69 --- /dev/null +++ b/docs/models/updateprojectchecksstate.md @@ -0,0 +1,15 @@ +# UpdateProjectChecksState + +## Example Usage + +```typescript +import { UpdateProjectChecksState } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectChecksState = "registered"; +``` + +## Values + +```typescript +"registered" | "running" | "completed" +``` \ No newline at end of file diff --git a/docs/models/updateprojectcontenthint.md b/docs/models/updateprojectcontenthint.md new file mode 100644 index 00000000..44b8a633 --- /dev/null +++ b/docs/models/updateprojectcontenthint.md @@ -0,0 +1,143 @@ +# UpdateProjectContentHint + + +## Supported Types + +### `models.UpdateProjectContentHint1` + +```typescript +const value: models.UpdateProjectContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +### `models.UpdateProjectContentHint2` + +```typescript +const value: models.UpdateProjectContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +### `models.UpdateProjectContentHint3` + +```typescript +const value: models.UpdateProjectContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +### `models.UpdateProjectContentHint4` + +```typescript +const value: models.UpdateProjectContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +### `models.UpdateProjectContentHint5` + +```typescript +const value: models.UpdateProjectContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +### `models.UpdateProjectContentHint6` + +```typescript +const value: models.UpdateProjectContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +### `models.UpdateProjectContentHint7` + +```typescript +const value: models.UpdateProjectContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +### `models.UpdateProjectContentHint8` + +```typescript +const value: models.UpdateProjectContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +### `models.UpdateProjectContentHint9` + +```typescript +const value: models.UpdateProjectContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +### `models.UpdateProjectContentHint10` + +```typescript +const value: models.UpdateProjectContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +### `models.UpdateProjectContentHint11` + +```typescript +const value: models.UpdateProjectContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +### `models.UpdateProjectContentHint12` + +```typescript +const value: models.UpdateProjectContentHint12 = { + type: "postgres-database", + storeId: "", +}; +``` + +### `models.UpdateProjectContentHint13` + +```typescript +const value: models.UpdateProjectContentHint13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +### `models.UpdateProjectContentHint14` + +```typescript +const value: models.UpdateProjectContentHint14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +### `models.UpdateProjectContentHint15` + +```typescript +const value: models.UpdateProjectContentHint15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + diff --git a/docs/models/updateprojectcontenthint1.md b/docs/models/updateprojectcontenthint1.md new file mode 100644 index 00000000..670aadb7 --- /dev/null +++ b/docs/models/updateprojectcontenthint1.md @@ -0,0 +1,19 @@ +# UpdateProjectContentHint1 + +## Example Usage + +```typescript +import { UpdateProjectContentHint1 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectContentHint1 = { + type: "redis-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectContentHintType](../models/updateprojectcontenthinttype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectcontenthint10.md b/docs/models/updateprojectcontenthint10.md new file mode 100644 index 00000000..a3985cc2 --- /dev/null +++ b/docs/models/updateprojectcontenthint10.md @@ -0,0 +1,19 @@ +# UpdateProjectContentHint10 + +## Example Usage + +```typescript +import { UpdateProjectContentHint10 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectContentHint10 = { + type: "postgres-host", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type](../models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectcontenthint11.md b/docs/models/updateprojectcontenthint11.md new file mode 100644 index 00000000..89c3039d --- /dev/null +++ b/docs/models/updateprojectcontenthint11.md @@ -0,0 +1,19 @@ +# UpdateProjectContentHint11 + +## Example Usage + +```typescript +import { UpdateProjectContentHint11 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type](../models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectcontenthint12.md b/docs/models/updateprojectcontenthint12.md new file mode 100644 index 00000000..bcde9fc6 --- /dev/null +++ b/docs/models/updateprojectcontenthint12.md @@ -0,0 +1,19 @@ +# UpdateProjectContentHint12 + +## Example Usage + +```typescript +import { UpdateProjectContentHint12 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectContentHint12 = { + type: "postgres-database", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type](../models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectcontenthint13.md b/docs/models/updateprojectcontenthint13.md new file mode 100644 index 00000000..3d807d2d --- /dev/null +++ b/docs/models/updateprojectcontenthint13.md @@ -0,0 +1,19 @@ +# UpdateProjectContentHint13 + +## Example Usage + +```typescript +import { UpdateProjectContentHint13 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectContentHint13 = { + type: "postgres-url-no-ssl", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type](../models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectcontenthint14.md b/docs/models/updateprojectcontenthint14.md new file mode 100644 index 00000000..3717c95a --- /dev/null +++ b/docs/models/updateprojectcontenthint14.md @@ -0,0 +1,25 @@ +# UpdateProjectContentHint14 + +## Example Usage + +```typescript +import { UpdateProjectContentHint14 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectContentHint14 = { + type: "integration-store-secret", + storeId: "", + integrationId: "", + integrationProductId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type](../models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectcontenthint15.md b/docs/models/updateprojectcontenthint15.md new file mode 100644 index 00000000..125375c7 --- /dev/null +++ b/docs/models/updateprojectcontenthint15.md @@ -0,0 +1,19 @@ +# UpdateProjectContentHint15 + +## Example Usage + +```typescript +import { UpdateProjectContentHint15 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectContentHint15 = { + type: "flags-connection-string", + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type](../models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectcontenthint2.md b/docs/models/updateprojectcontenthint2.md new file mode 100644 index 00000000..f3596e86 --- /dev/null +++ b/docs/models/updateprojectcontenthint2.md @@ -0,0 +1,19 @@ +# UpdateProjectContentHint2 + +## Example Usage + +```typescript +import { UpdateProjectContentHint2 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectContentHint2 = { + type: "redis-rest-api-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `type` | [models.UpdateProjectContentHintProjectsType](../models/updateprojectcontenthintprojectstype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectcontenthint3.md b/docs/models/updateprojectcontenthint3.md new file mode 100644 index 00000000..487ecaa0 --- /dev/null +++ b/docs/models/updateprojectcontenthint3.md @@ -0,0 +1,19 @@ +# UpdateProjectContentHint3 + +## Example Usage + +```typescript +import { UpdateProjectContentHint3 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectContentHint3 = { + type: "redis-rest-api-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectContentHintProjectsResponseType](../models/updateprojectcontenthintprojectsresponsetype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectcontenthint4.md b/docs/models/updateprojectcontenthint4.md new file mode 100644 index 00000000..412a2960 --- /dev/null +++ b/docs/models/updateprojectcontenthint4.md @@ -0,0 +1,19 @@ +# UpdateProjectContentHint4 + +## Example Usage + +```typescript +import { UpdateProjectContentHint4 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectContentHint4 = { + type: "redis-rest-api-read-only-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectContentHintProjectsResponse200Type](../models/updateprojectcontenthintprojectsresponse200type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectcontenthint5.md b/docs/models/updateprojectcontenthint5.md new file mode 100644 index 00000000..4aeeb239 --- /dev/null +++ b/docs/models/updateprojectcontenthint5.md @@ -0,0 +1,19 @@ +# UpdateProjectContentHint5 + +## Example Usage + +```typescript +import { UpdateProjectContentHint5 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectContentHint5 = { + type: "blob-read-write-token", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectContentHintProjectsResponse200ApplicationJSONType](../models/updateprojectcontenthintprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectcontenthint6.md b/docs/models/updateprojectcontenthint6.md new file mode 100644 index 00000000..43c2e229 --- /dev/null +++ b/docs/models/updateprojectcontenthint6.md @@ -0,0 +1,19 @@ +# UpdateProjectContentHint6 + +## Example Usage + +```typescript +import { UpdateProjectContentHint6 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectContentHint6 = { + type: "postgres-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType](../models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectcontenthint7.md b/docs/models/updateprojectcontenthint7.md new file mode 100644 index 00000000..e299a030 --- /dev/null +++ b/docs/models/updateprojectcontenthint7.md @@ -0,0 +1,19 @@ +# UpdateProjectContentHint7 + +## Example Usage + +```typescript +import { UpdateProjectContentHint7 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectContentHint7 = { + type: "postgres-url-non-pooling", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType](../models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectcontenthint8.md b/docs/models/updateprojectcontenthint8.md new file mode 100644 index 00000000..dd062cd0 --- /dev/null +++ b/docs/models/updateprojectcontenthint8.md @@ -0,0 +1,19 @@ +# UpdateProjectContentHint8 + +## Example Usage + +```typescript +import { UpdateProjectContentHint8 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectContentHint8 = { + type: "postgres-prisma-url", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type](../models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectcontenthint9.md b/docs/models/updateprojectcontenthint9.md new file mode 100644 index 00000000..9bce9e71 --- /dev/null +++ b/docs/models/updateprojectcontenthint9.md @@ -0,0 +1,19 @@ +# UpdateProjectContentHint9 + +## Example Usage + +```typescript +import { UpdateProjectContentHint9 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectContentHint9 = { + type: "postgres-user", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type](../models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md similarity index 80% rename from docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md rename to docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md index f6a27186..e1bcd8e0 100644 --- a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md +++ b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type = diff --git a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md similarity index 81% rename from docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md rename to docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md index f9008d3d..7c317360 100644 --- a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md +++ b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type = diff --git a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md similarity index 81% rename from docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md rename to docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md index 1c53b8ba..812dcac5 100644 --- a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md +++ b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type = diff --git a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md similarity index 81% rename from docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md rename to docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md index 84e71bb9..d8596d6a 100644 --- a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md +++ b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type = diff --git a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md similarity index 81% rename from docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md rename to docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md index 2f373bc5..e647d073 100644 --- a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md +++ b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type = diff --git a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md similarity index 81% rename from docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md rename to docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md index 31f31e6e..14f34ffa 100644 --- a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md +++ b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = diff --git a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md similarity index 81% rename from docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md rename to docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md index 15bcf3a3..ee5b7a8d 100644 --- a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md +++ b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv8type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type = diff --git a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md similarity index 80% rename from docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md rename to docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md index 4eaebdb6..80829087 100644 --- a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md +++ b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type = diff --git a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md similarity index 81% rename from docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md rename to docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md index 12f301e2..735e7981 100644 --- a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md +++ b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType = diff --git a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md similarity index 81% rename from docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md rename to docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md index 5d5d13e9..f26df27a 100644 --- a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md +++ b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsonresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType = diff --git a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsontype.md b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsontype.md similarity index 83% rename from docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsontype.md rename to docs/models/updateprojectcontenthintprojectsresponse200applicationjsontype.md index 28dc6ad2..19b7f862 100644 --- a/docs/models/operations/updateprojectcontenthintprojectsresponse200applicationjsontype.md +++ b/docs/models/updateprojectcontenthintprojectsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectContentHintProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectContentHintProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectContentHintProjectsResponse200ApplicationJSONType = "blob-read-write-token"; diff --git a/docs/models/operations/updateprojectcontenthintprojectsresponse200type.md b/docs/models/updateprojectcontenthintprojectsresponse200type.md similarity index 86% rename from docs/models/operations/updateprojectcontenthintprojectsresponse200type.md rename to docs/models/updateprojectcontenthintprojectsresponse200type.md index 94d6f126..32c31761 100644 --- a/docs/models/operations/updateprojectcontenthintprojectsresponse200type.md +++ b/docs/models/updateprojectcontenthintprojectsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectContentHintProjectsResponse200Type } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectContentHintProjectsResponse200Type } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectContentHintProjectsResponse200Type = "redis-rest-api-read-only-token"; diff --git a/docs/models/operations/updateprojectcontenthintprojectsresponsetype.md b/docs/models/updateprojectcontenthintprojectsresponsetype.md similarity index 85% rename from docs/models/operations/updateprojectcontenthintprojectsresponsetype.md rename to docs/models/updateprojectcontenthintprojectsresponsetype.md index 0c89289c..08f997eb 100644 --- a/docs/models/operations/updateprojectcontenthintprojectsresponsetype.md +++ b/docs/models/updateprojectcontenthintprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectContentHintProjectsResponseType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectContentHintProjectsResponseType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectContentHintProjectsResponseType = "redis-rest-api-token"; diff --git a/docs/models/operations/updateprojectcontenthintprojectstype.md b/docs/models/updateprojectcontenthintprojectstype.md similarity index 87% rename from docs/models/operations/updateprojectcontenthintprojectstype.md rename to docs/models/updateprojectcontenthintprojectstype.md index 5c01263c..b2a2cbc7 100644 --- a/docs/models/operations/updateprojectcontenthintprojectstype.md +++ b/docs/models/updateprojectcontenthintprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectContentHintProjectsType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectContentHintProjectsType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectContentHintProjectsType = "redis-rest-api-url"; ``` diff --git a/docs/models/operations/updateprojectcontenthinttype.md b/docs/models/updateprojectcontenthinttype.md similarity index 88% rename from docs/models/operations/updateprojectcontenthinttype.md rename to docs/models/updateprojectcontenthinttype.md index 238f306b..0033045a 100644 --- a/docs/models/operations/updateprojectcontenthinttype.md +++ b/docs/models/updateprojectcontenthinttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectContentHintType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectContentHintType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectContentHintType = "redis-url"; ``` diff --git a/docs/models/operations/updateprojectcreator.md b/docs/models/updateprojectcreator.md similarity index 90% rename from docs/models/operations/updateprojectcreator.md rename to docs/models/updateprojectcreator.md index 5c4644c5..430a8882 100644 --- a/docs/models/operations/updateprojectcreator.md +++ b/docs/models/updateprojectcreator.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectCreator } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectCreator } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectCreator = { email: "Anibal85@yahoo.com", diff --git a/docs/models/operations/updateprojectcrons.md b/docs/models/updateprojectcrons.md similarity index 94% rename from docs/models/operations/updateprojectcrons.md rename to docs/models/updateprojectcrons.md index c18c2085..48f951e7 100644 --- a/docs/models/operations/updateprojectcrons.md +++ b/docs/models/updateprojectcrons.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectCrons } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectCrons } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectCrons = { enabledAt: 7699.67, @@ -28,4 +28,4 @@ let value: UpdateProjectCrons = { | `disabledAt` | *number* | :heavy_check_mark: | The time the feature was disabled for this project. | | `updatedAt` | *number* | :heavy_check_mark: | N/A | | `deploymentId` | *string* | :heavy_check_mark: | The ID of the Deployment from which the definitions originated. | -| `definitions` | [operations.UpdateProjectDefinitions](../../models/operations/updateprojectdefinitions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| `definitions` | [models.UpdateProjectDefinitions](../models/updateprojectdefinitions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectcustomenvironments.md b/docs/models/updateprojectcustomenvironments.md similarity index 90% rename from docs/models/operations/updateprojectcustomenvironments.md rename to docs/models/updateprojectcustomenvironments.md index a8c5ce21..a8790599 100644 --- a/docs/models/operations/updateprojectcustomenvironments.md +++ b/docs/models/updateprojectcustomenvironments.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectCustomEnvironments } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectCustomEnvironments } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectCustomEnvironments = {}; ``` diff --git a/docs/models/operations/updateprojectdatacache.md b/docs/models/updateprojectdatacache.md similarity index 86% rename from docs/models/operations/updateprojectdatacache.md rename to docs/models/updateprojectdatacache.md index ef826522..cb1284eb 100644 --- a/docs/models/operations/updateprojectdatacache.md +++ b/docs/models/updateprojectdatacache.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCache } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectDataCache } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectDataCache = { userDisabled: false, diff --git a/docs/models/operations/updateprojectdatacacheaction.md b/docs/models/updateprojectdatacacheaction.md similarity index 87% rename from docs/models/operations/updateprojectdatacacheaction.md rename to docs/models/updateprojectdatacacheaction.md index 952245c0..69a8f00f 100644 --- a/docs/models/operations/updateprojectdatacacheaction.md +++ b/docs/models/updateprojectdatacacheaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheAction } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheAction } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheAction = "redirect"; ``` diff --git a/docs/models/updateprojectdatacachealgo.md b/docs/models/updateprojectdatacachealgo.md new file mode 100644 index 00000000..980076c9 --- /dev/null +++ b/docs/models/updateprojectdatacachealgo.md @@ -0,0 +1,15 @@ +# UpdateProjectDataCacheAlgo + +## Example Usage + +```typescript +import { UpdateProjectDataCacheAlgo } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheAlgo = "token_bucket"; +``` + +## Values + +```typescript +"fixed_window" | "token_bucket" +``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacachealiasassigned.md b/docs/models/updateprojectdatacachealiasassigned.md similarity index 100% rename from docs/models/operations/updateprojectdatacachealiasassigned.md rename to docs/models/updateprojectdatacachealiasassigned.md diff --git a/docs/models/operations/updateprojectdatacachealiaserror.md b/docs/models/updateprojectdatacachealiaserror.md similarity index 92% rename from docs/models/operations/updateprojectdatacachealiaserror.md rename to docs/models/updateprojectdatacachealiaserror.md index 9e4bf507..a6c21d65 100644 --- a/docs/models/operations/updateprojectdatacachealiaserror.md +++ b/docs/models/updateprojectdatacachealiaserror.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheAliasError } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheAliasError } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheAliasError = { code: "", diff --git a/docs/models/updateprojectdatacachebranchmatcher.md b/docs/models/updateprojectdatacachebranchmatcher.md new file mode 100644 index 00000000..6dc6c76c --- /dev/null +++ b/docs/models/updateprojectdatacachebranchmatcher.md @@ -0,0 +1,19 @@ +# UpdateProjectDataCacheBranchMatcher + +## Example Usage + +```typescript +import { UpdateProjectDataCacheBranchMatcher } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheBranchMatcher = { + type: "endsWith", + pattern: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType](../models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytargetstype.md) | :heavy_check_mark: | N/A | +| `pattern` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacachebuilds.md b/docs/models/updateprojectdatacachebuilds.md similarity index 94% rename from docs/models/operations/updateprojectdatacachebuilds.md rename to docs/models/updateprojectdatacachebuilds.md index ac5b01a4..57c94472 100644 --- a/docs/models/operations/updateprojectdatacachebuilds.md +++ b/docs/models/updateprojectdatacachebuilds.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheBuilds } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheBuilds } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheBuilds = { use: "", diff --git a/docs/models/operations/updateprojectdatacachechecksconclusion.md b/docs/models/updateprojectdatacachechecksconclusion.md similarity index 84% rename from docs/models/operations/updateprojectdatacachechecksconclusion.md rename to docs/models/updateprojectdatacachechecksconclusion.md index c13d331e..587a6278 100644 --- a/docs/models/operations/updateprojectdatacachechecksconclusion.md +++ b/docs/models/updateprojectdatacachechecksconclusion.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheChecksConclusion } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheChecksConclusion } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheChecksConclusion = "failed"; ``` diff --git a/docs/models/operations/updateprojectdatacachechecksstate.md b/docs/models/updateprojectdatacachechecksstate.md similarity index 85% rename from docs/models/operations/updateprojectdatacachechecksstate.md rename to docs/models/updateprojectdatacachechecksstate.md index dc889f5b..996f5932 100644 --- a/docs/models/operations/updateprojectdatacachechecksstate.md +++ b/docs/models/updateprojectdatacachechecksstate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheChecksState } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheChecksState } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheChecksState = "running"; ``` diff --git a/docs/models/updateprojectdatacachecontenthint11.md b/docs/models/updateprojectdatacachecontenthint11.md new file mode 100644 index 00000000..425da4a8 --- /dev/null +++ b/docs/models/updateprojectdatacachecontenthint11.md @@ -0,0 +1,19 @@ +# UpdateProjectDataCacheContentHint11 + +## Example Usage + +```typescript +import { UpdateProjectDataCacheContentHint11 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheContentHint11 = { + type: "postgres-password", + storeId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type](../models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md) | :heavy_check_mark: | N/A | +| `storeId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md similarity index 85% rename from docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md rename to docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md index 7f3e827a..b9c4dd0d 100644 --- a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md +++ b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv10type.md @@ -5,7 +5,7 @@ ```typescript import { UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type, -} from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +} from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type = diff --git a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md similarity index 86% rename from docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md rename to docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md index d329d188..4cdd479e 100644 --- a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md +++ b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv11type.md @@ -5,7 +5,7 @@ ```typescript import { UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type, -} from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +} from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type = diff --git a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md similarity index 86% rename from docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md rename to docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md index c2fb639a..cbfb1fc9 100644 --- a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md +++ b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv12type.md @@ -5,7 +5,7 @@ ```typescript import { UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type, -} from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +} from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type = diff --git a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md similarity index 86% rename from docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md rename to docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md index ff3d9807..c580d806 100644 --- a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md +++ b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv13type.md @@ -5,7 +5,7 @@ ```typescript import { UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type, -} from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +} from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type = diff --git a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md similarity index 86% rename from docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md rename to docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md index 6e9c04b0..c912ed1a 100644 --- a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md +++ b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv14type.md @@ -5,7 +5,7 @@ ```typescript import { UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type, -} from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +} from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type = diff --git a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md similarity index 86% rename from docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md rename to docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md index 29655eba..4eb52cd5 100644 --- a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md +++ b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv15type.md @@ -5,7 +5,7 @@ ```typescript import { UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type, -} from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +} from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = diff --git a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md similarity index 85% rename from docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md rename to docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md index d1fcf63d..cee11d65 100644 --- a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md +++ b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenv9type.md @@ -5,7 +5,7 @@ ```typescript import { UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type, -} from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +} from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type = diff --git a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md similarity index 86% rename from docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md rename to docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md index 6536e1fe..5d6231a8 100644 --- a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md +++ b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodyenvtype.md @@ -5,7 +5,7 @@ ```typescript import { UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType, -} from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +} from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType = diff --git a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodytype.md b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodytype.md similarity index 86% rename from docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodytype.md rename to docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodytype.md index b0453b11..fa3486e9 100644 --- a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodytype.md +++ b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsonresponsebodytype.md @@ -5,7 +5,7 @@ ```typescript import { UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType, -} from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +} from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType = diff --git a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsontype.md b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsontype.md similarity index 79% rename from docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsontype.md rename to docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsontype.md index 0d9bd8a0..0cafc304 100644 --- a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200applicationjsontype.md +++ b/docs/models/updateprojectdatacachecontenthintprojectsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType = diff --git a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200type.md b/docs/models/updateprojectdatacachecontenthintprojectsresponse200type.md similarity index 82% rename from docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200type.md rename to docs/models/updateprojectdatacachecontenthintprojectsresponse200type.md index 55db4a71..7cfaea3c 100644 --- a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponse200type.md +++ b/docs/models/updateprojectdatacachecontenthintprojectsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheContentHintProjectsResponse200Type } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheContentHintProjectsResponse200Type } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheContentHintProjectsResponse200Type = "blob-read-write-token"; diff --git a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponsetype.md b/docs/models/updateprojectdatacachecontenthintprojectsresponsetype.md similarity index 83% rename from docs/models/operations/updateprojectdatacachecontenthintprojectsresponsetype.md rename to docs/models/updateprojectdatacachecontenthintprojectsresponsetype.md index 305a16b6..4cc9fe85 100644 --- a/docs/models/operations/updateprojectdatacachecontenthintprojectsresponsetype.md +++ b/docs/models/updateprojectdatacachecontenthintprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheContentHintProjectsResponseType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheContentHintProjectsResponseType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheContentHintProjectsResponseType = "redis-rest-api-read-only-token"; diff --git a/docs/models/operations/updateprojectdatacachecontenthintprojectstype.md b/docs/models/updateprojectdatacachecontenthintprojectstype.md similarity index 83% rename from docs/models/operations/updateprojectdatacachecontenthintprojectstype.md rename to docs/models/updateprojectdatacachecontenthintprojectstype.md index 80a5a15d..4b8d0c02 100644 --- a/docs/models/operations/updateprojectdatacachecontenthintprojectstype.md +++ b/docs/models/updateprojectdatacachecontenthintprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheContentHintProjectsType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheContentHintProjectsType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheContentHintProjectsType = "redis-rest-api-token"; diff --git a/docs/models/operations/updateprojectdatacachecontenthinttype.md b/docs/models/updateprojectdatacachecontenthinttype.md similarity index 84% rename from docs/models/operations/updateprojectdatacachecontenthinttype.md rename to docs/models/updateprojectdatacachecontenthinttype.md index f23d1e7c..8a2941b1 100644 --- a/docs/models/operations/updateprojectdatacachecontenthinttype.md +++ b/docs/models/updateprojectdatacachecontenthinttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheContentHintType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheContentHintType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheContentHintType = "redis-rest-api-url"; ``` diff --git a/docs/models/operations/updateprojectdatacachecreator.md b/docs/models/updateprojectdatacachecreator.md similarity index 95% rename from docs/models/operations/updateprojectdatacachecreator.md rename to docs/models/updateprojectdatacachecreator.md index 26c227c4..d51efb69 100644 --- a/docs/models/operations/updateprojectdatacachecreator.md +++ b/docs/models/updateprojectdatacachecreator.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheCreator } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheCreator } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheCreator = { email: "Lois18@hotmail.com", diff --git a/docs/models/updateprojectdatacachedatacache.md b/docs/models/updateprojectdatacachedatacache.md new file mode 100644 index 00000000..30e92c5c --- /dev/null +++ b/docs/models/updateprojectdatacachedatacache.md @@ -0,0 +1,19 @@ +# UpdateProjectDataCacheDataCache + +## Example Usage + +```typescript +import { UpdateProjectDataCacheDataCache } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheDataCache = { + userDisabled: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `userDisabled` | *boolean* | :heavy_check_mark: | N/A | +| `storageSizeBytes` | *number* | :heavy_minus_sign: | N/A | +| `unlimited` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacachedeploymenttype.md b/docs/models/updateprojectdatacachedeploymenttype.md similarity index 85% rename from docs/models/operations/updateprojectdatacachedeploymenttype.md rename to docs/models/updateprojectdatacachedeploymenttype.md index 7e724218..78d2e02a 100644 --- a/docs/models/operations/updateprojectdatacachedeploymenttype.md +++ b/docs/models/updateprojectdatacachedeploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheDeploymentType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheDeploymentType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheDeploymentType = "all"; ``` diff --git a/docs/models/operations/updateprojectdatacacheframework.md b/docs/models/updateprojectdatacacheframework.md similarity index 94% rename from docs/models/operations/updateprojectdatacacheframework.md rename to docs/models/updateprojectdatacacheframework.md index 9654e226..05a59009 100644 --- a/docs/models/operations/updateprojectdatacacheframework.md +++ b/docs/models/updateprojectdatacacheframework.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheFramework } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheFramework } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheFramework = "svelte"; ``` diff --git a/docs/models/operations/updateprojectdatacacheissuermode.md b/docs/models/updateprojectdatacacheissuermode.md similarity index 88% rename from docs/models/operations/updateprojectdatacacheissuermode.md rename to docs/models/updateprojectdatacacheissuermode.md index 305c8178..c9490f51 100644 --- a/docs/models/operations/updateprojectdatacacheissuermode.md +++ b/docs/models/updateprojectdatacacheissuermode.md @@ -5,7 +5,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheIssuerMode } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheIssuerMode } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheIssuerMode = "global"; ``` diff --git a/docs/models/operations/updateprojectdatacachelinkdeployhooks.md b/docs/models/updateprojectdatacachelinkdeployhooks.md similarity index 94% rename from docs/models/operations/updateprojectdatacachelinkdeployhooks.md rename to docs/models/updateprojectdatacachelinkdeployhooks.md index 2f43d6da..a22ec15a 100644 --- a/docs/models/operations/updateprojectdatacachelinkdeployhooks.md +++ b/docs/models/updateprojectdatacachelinkdeployhooks.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheLinkDeployHooks } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheLinkDeployHooks } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheLinkDeployHooks = { id: "", diff --git a/docs/models/operations/updateprojectdatacachelinkprojectstype.md b/docs/models/updateprojectdatacachelinkprojectstype.md similarity index 83% rename from docs/models/operations/updateprojectdatacachelinkprojectstype.md rename to docs/models/updateprojectdatacachelinkprojectstype.md index b4e673b6..3ebd50c0 100644 --- a/docs/models/operations/updateprojectdatacachelinkprojectstype.md +++ b/docs/models/updateprojectdatacachelinkprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheLinkProjectsType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheLinkProjectsType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheLinkProjectsType = "bitbucket"; ``` diff --git a/docs/models/operations/updateprojectdatacachelinktype.md b/docs/models/updateprojectdatacachelinktype.md similarity index 84% rename from docs/models/operations/updateprojectdatacachelinktype.md rename to docs/models/updateprojectdatacachelinktype.md index dfc76598..86bf8f4d 100644 --- a/docs/models/operations/updateprojectdatacachelinktype.md +++ b/docs/models/updateprojectdatacachelinktype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheLinkType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheLinkType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheLinkType = "gitlab"; ``` diff --git a/docs/models/updateprojectdatacachemitigate.md b/docs/models/updateprojectdatacachemitigate.md new file mode 100644 index 00000000..725c204d --- /dev/null +++ b/docs/models/updateprojectdatacachemitigate.md @@ -0,0 +1,21 @@ +# UpdateProjectDataCacheMitigate + +## Example Usage + +```typescript +import { UpdateProjectDataCacheMitigate } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheMitigate = { + action: "challenge", + ruleId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `action` | [models.UpdateProjectDataCacheAction](../models/updateprojectdatacacheaction.md) | :heavy_check_mark: | N/A | +| `ruleId` | *string* | :heavy_check_mark: | N/A | +| `ttl` | *number* | :heavy_minus_sign: | N/A | +| `erl` | [models.Erl](../models/erl.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacachenodeversion.md b/docs/models/updateprojectdatacachenodeversion.md similarity index 86% rename from docs/models/operations/updateprojectdatacachenodeversion.md rename to docs/models/updateprojectdatacachenodeversion.md index b7f60661..d1783aad 100644 --- a/docs/models/operations/updateprojectdatacachenodeversion.md +++ b/docs/models/updateprojectdatacachenodeversion.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheNodeVersion } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheNodeVersion } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheNodeVersion = "8.10.x"; ``` diff --git a/docs/models/operations/updateprojectdatacacheoidctokenclaims.md b/docs/models/updateprojectdatacacheoidctokenclaims.md similarity index 96% rename from docs/models/operations/updateprojectdatacacheoidctokenclaims.md rename to docs/models/updateprojectdatacacheoidctokenclaims.md index a2f044c2..967f9e81 100644 --- a/docs/models/operations/updateprojectdatacacheoidctokenclaims.md +++ b/docs/models/updateprojectdatacacheoidctokenclaims.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheOidcTokenClaims } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheOidcTokenClaims } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheOidcTokenClaims = { iss: "", diff --git a/docs/models/updateprojectdatacacheoidctokenconfig.md b/docs/models/updateprojectdatacacheoidctokenconfig.md new file mode 100644 index 00000000..db0bcbc4 --- /dev/null +++ b/docs/models/updateprojectdatacacheoidctokenconfig.md @@ -0,0 +1,18 @@ +# UpdateProjectDataCacheOidcTokenConfig + +## Example Usage + +```typescript +import { UpdateProjectDataCacheOidcTokenConfig } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheOidcTokenConfig = { + enabled: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `issuerMode` | [models.UpdateProjectDataCacheIssuerMode](../models/updateprojectdatacacheissuermode.md) | :heavy_minus_sign: | - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` | \ No newline at end of file diff --git a/docs/models/updateprojectdatacacheoptionsallowlist.md b/docs/models/updateprojectdatacacheoptionsallowlist.md new file mode 100644 index 00000000..4a963437 --- /dev/null +++ b/docs/models/updateprojectdatacacheoptionsallowlist.md @@ -0,0 +1,21 @@ +# UpdateProjectDataCacheOptionsAllowlist + +## Example Usage + +```typescript +import { UpdateProjectDataCacheOptionsAllowlist } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheOptionsAllowlist = { + paths: [ + { + value: "", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `paths` | [models.UpdateProjectDataCachePaths](../models/updateprojectdatacachepaths.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacachepasswordprotection.md b/docs/models/updateprojectdatacachepasswordprotection.md similarity index 86% rename from docs/models/operations/updateprojectdatacachepasswordprotection.md rename to docs/models/updateprojectdatacachepasswordprotection.md index 3d85a4b4..114ac112 100644 --- a/docs/models/operations/updateprojectdatacachepasswordprotection.md +++ b/docs/models/updateprojectdatacachepasswordprotection.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCachePasswordProtection } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCachePasswordProtection } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCachePasswordProtection = {}; ``` diff --git a/docs/models/operations/updateprojectdatacachepaths.md b/docs/models/updateprojectdatacachepaths.md similarity index 92% rename from docs/models/operations/updateprojectdatacachepaths.md rename to docs/models/updateprojectdatacachepaths.md index df5b879b..a644a315 100644 --- a/docs/models/operations/updateprojectdatacachepaths.md +++ b/docs/models/updateprojectdatacachepaths.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCachePaths } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCachePaths } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCachePaths = { value: "", diff --git a/docs/models/updateprojectdatacacheplan.md b/docs/models/updateprojectdatacacheplan.md new file mode 100644 index 00000000..100279b2 --- /dev/null +++ b/docs/models/updateprojectdatacacheplan.md @@ -0,0 +1,15 @@ +# UpdateProjectDataCachePlan + +## Example Usage + +```typescript +import { UpdateProjectDataCachePlan } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCachePlan = "enterprise"; +``` + +## Values + +```typescript +"pro" | "enterprise" | "hobby" +``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacacheprojectsaliaserror.md b/docs/models/updateprojectdatacacheprojectsaliaserror.md similarity index 92% rename from docs/models/operations/updateprojectdatacacheprojectsaliaserror.md rename to docs/models/updateprojectdatacacheprojectsaliaserror.md index abdc9af1..f478af88 100644 --- a/docs/models/operations/updateprojectdatacacheprojectsaliaserror.md +++ b/docs/models/updateprojectdatacacheprojectsaliaserror.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheProjectsAliasError } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheProjectsAliasError } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheProjectsAliasError = { code: "", diff --git a/docs/models/operations/updateprojectdatacacheprojectsbuilds.md b/docs/models/updateprojectdatacacheprojectsbuilds.md similarity index 93% rename from docs/models/operations/updateprojectdatacacheprojectsbuilds.md rename to docs/models/updateprojectdatacacheprojectsbuilds.md index fdba8638..21896ba0 100644 --- a/docs/models/operations/updateprojectdatacacheprojectsbuilds.md +++ b/docs/models/updateprojectdatacacheprojectsbuilds.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheProjectsBuilds } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheProjectsBuilds } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheProjectsBuilds = { use: "", diff --git a/docs/models/operations/updateprojectdatacacheprojectschecksconclusion.md b/docs/models/updateprojectdatacacheprojectschecksconclusion.md similarity index 83% rename from docs/models/operations/updateprojectdatacacheprojectschecksconclusion.md rename to docs/models/updateprojectdatacacheprojectschecksconclusion.md index a95158eb..6ebba907 100644 --- a/docs/models/operations/updateprojectdatacacheprojectschecksconclusion.md +++ b/docs/models/updateprojectdatacacheprojectschecksconclusion.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheProjectsChecksConclusion } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheProjectsChecksConclusion } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheProjectsChecksConclusion = "skipped"; ``` diff --git a/docs/models/operations/updateprojectdatacacheprojectschecksstate.md b/docs/models/updateprojectdatacacheprojectschecksstate.md similarity index 84% rename from docs/models/operations/updateprojectdatacacheprojectschecksstate.md rename to docs/models/updateprojectdatacacheprojectschecksstate.md index 0c74307d..aba91a0c 100644 --- a/docs/models/operations/updateprojectdatacacheprojectschecksstate.md +++ b/docs/models/updateprojectdatacacheprojectschecksstate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheProjectsChecksState } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheProjectsChecksState } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheProjectsChecksState = "running"; ``` diff --git a/docs/models/operations/updateprojectdatacacheprojectscreator.md b/docs/models/updateprojectdatacacheprojectscreator.md similarity index 94% rename from docs/models/operations/updateprojectdatacacheprojectscreator.md rename to docs/models/updateprojectdatacacheprojectscreator.md index 1ef40790..628b86a0 100644 --- a/docs/models/operations/updateprojectdatacacheprojectscreator.md +++ b/docs/models/updateprojectdatacacheprojectscreator.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheProjectsCreator } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheProjectsCreator } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheProjectsCreator = { email: "Mack43@yahoo.com", diff --git a/docs/models/operations/updateprojectdatacacheprojectsoidctokenclaims.md b/docs/models/updateprojectdatacacheprojectsoidctokenclaims.md similarity index 95% rename from docs/models/operations/updateprojectdatacacheprojectsoidctokenclaims.md rename to docs/models/updateprojectdatacacheprojectsoidctokenclaims.md index 72b802d9..d5fe90fd 100644 --- a/docs/models/operations/updateprojectdatacacheprojectsoidctokenclaims.md +++ b/docs/models/updateprojectdatacacheprojectsoidctokenclaims.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheProjectsOidcTokenClaims } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheProjectsOidcTokenClaims } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheProjectsOidcTokenClaims = { iss: "", diff --git a/docs/models/operations/updateprojectdatacacheprojectsplan.md b/docs/models/updateprojectdatacacheprojectsplan.md similarity index 84% rename from docs/models/operations/updateprojectdatacacheprojectsplan.md rename to docs/models/updateprojectdatacacheprojectsplan.md index 6496a611..e9372477 100644 --- a/docs/models/operations/updateprojectdatacacheprojectsplan.md +++ b/docs/models/updateprojectdatacacheprojectsplan.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheProjectsPlan } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheProjectsPlan } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheProjectsPlan = "pro"; ``` diff --git a/docs/models/operations/updateprojectdatacacheprojectsreadystate.md b/docs/models/updateprojectdatacacheprojectsreadystate.md similarity index 85% rename from docs/models/operations/updateprojectdatacacheprojectsreadystate.md rename to docs/models/updateprojectdatacacheprojectsreadystate.md index 5f45bd0b..c29ca151 100644 --- a/docs/models/operations/updateprojectdatacacheprojectsreadystate.md +++ b/docs/models/updateprojectdatacacheprojectsreadystate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheProjectsReadyState } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheProjectsReadyState } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheProjectsReadyState = "CANCELED"; ``` diff --git a/docs/models/operations/updateprojectdatacacheprojectsreadysubstate.md b/docs/models/updateprojectdatacacheprojectsreadysubstate.md similarity index 82% rename from docs/models/operations/updateprojectdatacacheprojectsreadysubstate.md rename to docs/models/updateprojectdatacacheprojectsreadysubstate.md index 3396779d..9fc194c0 100644 --- a/docs/models/operations/updateprojectdatacacheprojectsreadysubstate.md +++ b/docs/models/updateprojectdatacacheprojectsreadysubstate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheProjectsReadySubstate } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheProjectsReadySubstate } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheProjectsReadySubstate = "STAGED"; ``` diff --git a/docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md b/docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md new file mode 100644 index 00000000..36cc521f --- /dev/null +++ b/docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md @@ -0,0 +1,19 @@ +# UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType + +## Example Usage + +```typescript +import { + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType, +} from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = + "cookie"; +``` + +## Values + +```typescript +"path" | "host" | "method" | "header" | "cookie" | "query" | "ip_address" | "protocol" | "scheme" | "environment" | "region" | "initial_request_path" +``` \ No newline at end of file diff --git a/docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecuritytype.md b/docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecuritytype.md new file mode 100644 index 00000000..0fa252f0 --- /dev/null +++ b/docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodysecuritytype.md @@ -0,0 +1,17 @@ +# UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType + +## Example Usage + +```typescript +import { UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType = + "initial_request_path"; +``` + +## Values + +```typescript +"path" | "host" | "method" | "header" | "cookie" | "query" | "ip_address" | "protocol" | "scheme" | "environment" | "region" | "initial_request_path" +``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytargetstype.md b/docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytargetstype.md similarity index 79% rename from docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytargetstype.md rename to docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytargetstype.md index 84a7602d..ebf572bd 100644 --- a/docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytargetstype.md +++ b/docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytargetstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType = diff --git a/docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytype.md b/docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytype.md similarity index 79% rename from docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytype.md rename to docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytype.md index 6bd138a8..4bd5a4e1 100644 --- a/docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytype.md +++ b/docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType = diff --git a/docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsontype.md b/docs/models/updateprojectdatacacheprojectsresponse200applicationjsontype.md similarity index 81% rename from docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsontype.md rename to docs/models/updateprojectdatacacheprojectsresponse200applicationjsontype.md index 73779fd6..8370bfaf 100644 --- a/docs/models/operations/updateprojectdatacacheprojectsresponse200applicationjsontype.md +++ b/docs/models/updateprojectdatacacheprojectsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheProjectsResponse200ApplicationJSONType = "endsWith"; diff --git a/docs/models/operations/updateprojectdatacacheprojectsresponse200type.md b/docs/models/updateprojectdatacacheprojectsresponse200type.md similarity index 84% rename from docs/models/operations/updateprojectdatacacheprojectsresponse200type.md rename to docs/models/updateprojectdatacacheprojectsresponse200type.md index 69d30466..6890b9f1 100644 --- a/docs/models/operations/updateprojectdatacacheprojectsresponse200type.md +++ b/docs/models/updateprojectdatacacheprojectsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheProjectsResponse200Type } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheProjectsResponse200Type } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheProjectsResponse200Type = "system"; ``` diff --git a/docs/models/operations/updateprojectdatacacheprojectsresponsetype.md b/docs/models/updateprojectdatacacheprojectsresponsetype.md similarity index 83% rename from docs/models/operations/updateprojectdatacacheprojectsresponsetype.md rename to docs/models/updateprojectdatacacheprojectsresponsetype.md index 5e60a4d9..7f4f6759 100644 --- a/docs/models/operations/updateprojectdatacacheprojectsresponsetype.md +++ b/docs/models/updateprojectdatacacheprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheProjectsResponseType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheProjectsResponseType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheProjectsResponseType = "rollback"; ``` diff --git a/docs/models/operations/updateprojectdatacacheprojectstype.md b/docs/models/updateprojectdatacacheprojectstype.md similarity index 83% rename from docs/models/operations/updateprojectdatacacheprojectstype.md rename to docs/models/updateprojectdatacacheprojectstype.md index 38b2dc36..b3208226 100644 --- a/docs/models/operations/updateprojectdatacacheprojectstype.md +++ b/docs/models/updateprojectdatacacheprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheProjectsType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheProjectsType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheProjectsType = "LAMBDAS"; ``` diff --git a/docs/models/updateprojectdatacacheprojectsvalue.md b/docs/models/updateprojectdatacacheprojectsvalue.md new file mode 100644 index 00000000..38696a3a --- /dev/null +++ b/docs/models/updateprojectdatacacheprojectsvalue.md @@ -0,0 +1,17 @@ +# UpdateProjectDataCacheProjectsValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.UpdateProjectDataCacheValueProjects2` + +```typescript +const value: models.UpdateProjectDataCacheValueProjects2 = {}; +``` + diff --git a/docs/models/operations/updateprojectdatacachereadystate.md b/docs/models/updateprojectdatacachereadystate.md similarity index 87% rename from docs/models/operations/updateprojectdatacachereadystate.md rename to docs/models/updateprojectdatacachereadystate.md index 441b7b4d..511df3be 100644 --- a/docs/models/operations/updateprojectdatacachereadystate.md +++ b/docs/models/updateprojectdatacachereadystate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheReadyState } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheReadyState } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheReadyState = "BUILDING"; ``` diff --git a/docs/models/operations/updateprojectdatacachereadysubstate.md b/docs/models/updateprojectdatacachereadysubstate.md similarity index 84% rename from docs/models/operations/updateprojectdatacachereadysubstate.md rename to docs/models/updateprojectdatacachereadysubstate.md index 7e31b6ec..b9db7461 100644 --- a/docs/models/operations/updateprojectdatacachereadysubstate.md +++ b/docs/models/updateprojectdatacachereadysubstate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheReadySubstate } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheReadySubstate } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheReadySubstate = "STAGED"; ``` diff --git a/docs/models/updateprojectdatacacherequest.md b/docs/models/updateprojectdatacacherequest.md new file mode 100644 index 00000000..c0912a09 --- /dev/null +++ b/docs/models/updateprojectdatacacherequest.md @@ -0,0 +1,23 @@ +# UpdateProjectDataCacheRequest + +## Example Usage + +```typescript +import { UpdateProjectDataCacheRequest } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheRequest = { + projectId: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB", + requestBody: { + disabled: true, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `projectId` | *string* | :heavy_check_mark: | The unique project identifier | prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | +| `requestBody` | [models.UpdateProjectDataCacheRequestBody](../models/updateprojectdatacacherequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdatacacherequestbody.md b/docs/models/updateprojectdatacacherequestbody.md similarity index 96% rename from docs/models/operations/updateprojectdatacacherequestbody.md rename to docs/models/updateprojectdatacacherequestbody.md index beae8f45..bfc2bd19 100644 --- a/docs/models/operations/updateprojectdatacacherequestbody.md +++ b/docs/models/updateprojectdatacacherequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheRequestBody } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheRequestBody } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheRequestBody = { disabled: true, diff --git a/docs/models/updateprojectdatacacheresourceconfig.md b/docs/models/updateprojectdatacacheresourceconfig.md new file mode 100644 index 00000000..cc082c51 --- /dev/null +++ b/docs/models/updateprojectdatacacheresourceconfig.md @@ -0,0 +1,18 @@ +# UpdateProjectDataCacheResourceConfig + +## Example Usage + +```typescript +import { UpdateProjectDataCacheResourceConfig } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheResourceConfig = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `functionDefaultTimeout` | *number* | :heavy_minus_sign: | N/A | +| `functionDefaultMemoryType` | [models.FunctionDefaultMemoryType](../models/functiondefaultmemorytype.md) | :heavy_minus_sign: | N/A | +| `allowServerlessConcurrency` | *boolean* | :heavy_minus_sign: | N/A | +| `elasticConcurrencyEnabled` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectdatacacheresponsebody.md b/docs/models/updateprojectdatacacheresponsebody.md new file mode 100644 index 00000000..bcd53c6a --- /dev/null +++ b/docs/models/updateprojectdatacacheresponsebody.md @@ -0,0 +1,144 @@ +# UpdateProjectDataCacheResponseBody + +## Example Usage + +```typescript +import { UpdateProjectDataCacheResponseBody } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheResponseBody = { + accountId: "", + crons: { + enabledAt: 132.37, + disabledAt: 3472.34, + updatedAt: 1481.41, + deploymentId: "", + definitions: [ + { + host: "vercel.com", + path: "/api/crons/sync-something?hello=world", + schedule: "0 0 * * *", + }, + ], + }, + directoryListing: false, + id: "", + latestDeployments: [ + { + id: "", + createdAt: 9818.29, + createdIn: "", + creator: { + email: "Jess.Hills82@yahoo.com", + uid: "", + username: "Johnpaul97", + }, + deploymentHostname: "", + name: "", + plan: "hobby", + previewCommentsEnabled: false, + private: false, + readyState: "READY", + type: "LAMBDAS", + url: "https://bossy-hamburger.biz/", + userId: "", + }, + ], + name: "", + nodeVersion: "20.x", + targets: { + "key": { + id: "", + createdAt: 534.27, + createdIn: "", + creator: { + email: "Aditya8@hotmail.com", + uid: "", + username: "Dejon_Lynch72", + }, + deploymentHostname: "", + name: "", + plan: "pro", + previewCommentsEnabled: false, + private: false, + readyState: "BUILDING", + type: "LAMBDAS", + url: "https://fatal-import.net/", + userId: "", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `accountId` | *string* | :heavy_check_mark: | N/A | +| `analytics` | [models.Analytics](../models/analytics.md) | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.SpeedInsights](../models/speedinsights.md) | :heavy_minus_sign: | N/A | +| `autoExposeSystemEnvs` | *boolean* | :heavy_minus_sign: | N/A | +| `autoAssignCustomDomains` | *boolean* | :heavy_minus_sign: | N/A | +| `autoAssignCustomDomainsUpdatedBy` | *string* | :heavy_minus_sign: | N/A | +| `buildCommand` | *string* | :heavy_minus_sign: | N/A | +| `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | +| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | +| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `customerSupportCodeVisibility` | *boolean* | :heavy_minus_sign: | N/A | +| `crons` | [models.Crons](../models/crons.md) | :heavy_minus_sign: | N/A | +| `dataCache` | [models.UpdateProjectDataCacheDataCache](../models/updateprojectdatacachedatacache.md) | :heavy_minus_sign: | N/A | +| `deploymentExpiration` | [models.DeploymentExpiration](../models/deploymentexpiration.md) | :heavy_minus_sign: | N/A | +| `devCommand` | *string* | :heavy_minus_sign: | N/A | +| `directoryListing` | *boolean* | :heavy_check_mark: | N/A | +| `installCommand` | *string* | :heavy_minus_sign: | N/A | +| `env` | [models.Env](../models/env.md)[] | :heavy_minus_sign: | N/A | +| `customEnvironments` | [models.CustomEnvironments](../models/customenvironments.md)[] | :heavy_minus_sign: | N/A | +| `framework` | [models.UpdateProjectDataCacheFramework](../models/updateprojectdatacacheframework.md) | :heavy_minus_sign: | N/A | +| `gitForkProtection` | *boolean* | :heavy_minus_sign: | N/A | +| `gitLFS` | *boolean* | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `ipBuckets` | [models.IpBuckets](../models/ipbuckets.md)[] | :heavy_minus_sign: | N/A | +| `latestDeployments` | [models.LatestDeployments](../models/latestdeployments.md)[] | :heavy_minus_sign: | N/A | +| `link` | *models.Link* | :heavy_minus_sign: | N/A | +| `microfrontends` | [models.Microfrontends](../models/microfrontends.md) | :heavy_minus_sign: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `nodeVersion` | [models.UpdateProjectDataCacheNodeVersion](../models/updateprojectdatacachenodeversion.md) | :heavy_check_mark: | N/A | +| `optionsAllowlist` | [models.UpdateProjectDataCacheOptionsAllowlist](../models/updateprojectdatacacheoptionsallowlist.md) | :heavy_minus_sign: | N/A | +| `outputDirectory` | *string* | :heavy_minus_sign: | N/A | +| `passiveConnectConfigurationId` | *string* | :heavy_minus_sign: | N/A | +| `passwordProtection` | [models.UpdateProjectDataCachePasswordProtection](../models/updateprojectdatacachepasswordprotection.md) | :heavy_minus_sign: | N/A | +| `productionDeploymentsFastLane` | *boolean* | :heavy_minus_sign: | N/A | +| `publicSource` | *boolean* | :heavy_minus_sign: | N/A | +| `resourceConfig` | [models.UpdateProjectDataCacheResourceConfig](../models/updateprojectdatacacheresourceconfig.md) | :heavy_minus_sign: | N/A | +| `rootDirectory` | *string* | :heavy_minus_sign: | N/A | +| `serverlessFunctionRegion` | *string* | :heavy_minus_sign: | N/A | +| `serverlessFunctionZeroConfigFailover` | *boolean* | :heavy_minus_sign: | N/A | +| `skewProtectionBoundaryAt` | *number* | :heavy_minus_sign: | N/A | +| `skewProtectionMaxAge` | *number* | :heavy_minus_sign: | N/A | +| `skipGitConnectDuringLink` | *boolean* | :heavy_minus_sign: | N/A | +| `sourceFilesOutsideRootDirectory` | *boolean* | :heavy_minus_sign: | N/A | +| `enableAffectedProjectsDeployments` | *boolean* | :heavy_minus_sign: | N/A | +| `ssoProtection` | [models.UpdateProjectDataCacheSsoProtection](../models/updateprojectdatacachessoprotection.md) | :heavy_minus_sign: | N/A | +| `targets` | Record | :heavy_minus_sign: | N/A | +| `transferCompletedAt` | *number* | :heavy_minus_sign: | N/A | +| `transferStartedAt` | *number* | :heavy_minus_sign: | N/A | +| `transferToAccountId` | *string* | :heavy_minus_sign: | N/A | +| `transferredFromAccountId` | *string* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `live` | *boolean* | :heavy_minus_sign: | N/A | +| `enablePreviewFeedback` | *boolean* | :heavy_minus_sign: | N/A | +| `enableProductionFeedback` | *boolean* | :heavy_minus_sign: | N/A | +| `permissions` | [models.Permissions](../models/permissions.md) | :heavy_minus_sign: | N/A | +| `lastRollbackTarget` | [models.LastRollbackTarget](../models/lastrollbacktarget.md) | :heavy_minus_sign: | N/A | +| `lastAliasRequest` | [models.LastAliasRequest](../models/lastaliasrequest.md) | :heavy_minus_sign: | N/A | +| `hasFloatingAliases` | *boolean* | :heavy_minus_sign: | N/A | +| `protectionBypass` | Record | :heavy_minus_sign: | N/A | +| `hasActiveBranches` | *boolean* | :heavy_minus_sign: | N/A | +| `trustedIps` | *models.UpdateProjectDataCacheTrustedIps* | :heavy_minus_sign: | N/A | +| `gitComments` | [models.GitComments](../models/gitcomments.md) | :heavy_minus_sign: | N/A | +| `paused` | *boolean* | :heavy_minus_sign: | N/A | +| `concurrencyBucketName` | *string* | :heavy_minus_sign: | N/A | +| `webAnalytics` | [models.UpdateProjectDataCacheWebAnalytics](../models/updateprojectdatacachewebanalytics.md) | :heavy_minus_sign: | N/A | +| `security` | [models.UpdateProjectDataCacheSecurity](../models/updateprojectdatacachesecurity.md) | :heavy_minus_sign: | N/A | +| `oidcTokenConfig` | [models.UpdateProjectDataCacheOidcTokenConfig](../models/updateprojectdatacacheoidctokenconfig.md) | :heavy_minus_sign: | N/A | +| `tier` | [models.Tier](../models/tier.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectdatacachesecurity.md b/docs/models/updateprojectdatacachesecurity.md new file mode 100644 index 00000000..ea681af6 --- /dev/null +++ b/docs/models/updateprojectdatacachesecurity.md @@ -0,0 +1,25 @@ +# UpdateProjectDataCacheSecurity + +## Example Usage + +```typescript +import { UpdateProjectDataCacheSecurity } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheSecurity = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `attackModeEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `attackModeUpdatedAt` | *number* | :heavy_minus_sign: | N/A | +| `firewallEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `firewallUpdatedAt` | *number* | :heavy_minus_sign: | N/A | +| `attackModeActiveUntil` | *number* | :heavy_minus_sign: | N/A | +| `firewallConfigVersion` | *number* | :heavy_minus_sign: | N/A | +| `firewallRoutes` | [models.FirewallRoutes](../models/firewallroutes.md)[] | :heavy_minus_sign: | N/A | +| `firewallSeawallEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `ja3Enabled` | *boolean* | :heavy_minus_sign: | N/A | +| `ja4Enabled` | *boolean* | :heavy_minus_sign: | N/A | +| `firewallBypassIps` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectdatacachessoprotection.md b/docs/models/updateprojectdatacachessoprotection.md new file mode 100644 index 00000000..4999ce5b --- /dev/null +++ b/docs/models/updateprojectdatacachessoprotection.md @@ -0,0 +1,17 @@ +# UpdateProjectDataCacheSsoProtection + +## Example Usage + +```typescript +import { UpdateProjectDataCacheSsoProtection } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheSsoProtection = { + deploymentType: "preview", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `deploymentType` | [models.UpdateProjectDataCacheDeploymentType](../models/updateprojectdatacachedeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectdatacachetarget.md b/docs/models/updateprojectdatacachetarget.md new file mode 100644 index 00000000..7118fada --- /dev/null +++ b/docs/models/updateprojectdatacachetarget.md @@ -0,0 +1,19 @@ +# UpdateProjectDataCacheTarget + + +## Supported Types + +### `models.UpdateProjectDataCacheTarget1[]` + +```typescript +const value: models.UpdateProjectDataCacheTarget1[] = [ + "production", +]; +``` + +### `models.UpdateProjectDataCacheTarget2` + +```typescript +const value: models.UpdateProjectDataCacheTarget2 = "preview"; +``` + diff --git a/docs/models/operations/updateprojectdatacachetarget1.md b/docs/models/updateprojectdatacachetarget1.md similarity index 86% rename from docs/models/operations/updateprojectdatacachetarget1.md rename to docs/models/updateprojectdatacachetarget1.md index 25248f37..0b7c5d3f 100644 --- a/docs/models/operations/updateprojectdatacachetarget1.md +++ b/docs/models/updateprojectdatacachetarget1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheTarget1 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheTarget1 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheTarget1 = "production"; ``` diff --git a/docs/models/operations/updateprojectdatacachetarget2.md b/docs/models/updateprojectdatacachetarget2.md similarity index 86% rename from docs/models/operations/updateprojectdatacachetarget2.md rename to docs/models/updateprojectdatacachetarget2.md index d6348018..e3741c3d 100644 --- a/docs/models/operations/updateprojectdatacachetarget2.md +++ b/docs/models/updateprojectdatacachetarget2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheTarget2 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheTarget2 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheTarget2 = "preview"; ``` diff --git a/docs/models/updateprojectdatacachetrustedips.md b/docs/models/updateprojectdatacachetrustedips.md new file mode 100644 index 00000000..f953f93a --- /dev/null +++ b/docs/models/updateprojectdatacachetrustedips.md @@ -0,0 +1,27 @@ +# UpdateProjectDataCacheTrustedIps + + +## Supported Types + +### `models.TrustedIps1` + +```typescript +const value: models.TrustedIps1 = { + deploymentType: "all", + addresses: [ + { + value: "", + }, + ], + protectionMode: "additional", +}; +``` + +### `models.TrustedIps2` + +```typescript +const value: models.TrustedIps2 = { + deploymentType: "preview", +}; +``` + diff --git a/docs/models/operations/updateprojectdatacachetrustedipsaddresses.md b/docs/models/updateprojectdatacachetrustedipsaddresses.md similarity index 91% rename from docs/models/operations/updateprojectdatacachetrustedipsaddresses.md rename to docs/models/updateprojectdatacachetrustedipsaddresses.md index 3d35b0aa..21231c39 100644 --- a/docs/models/operations/updateprojectdatacachetrustedipsaddresses.md +++ b/docs/models/updateprojectdatacachetrustedipsaddresses.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheTrustedIpsAddresses } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheTrustedIpsAddresses } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheTrustedIpsAddresses = { value: "", diff --git a/docs/models/operations/updateprojectdatacachetrustedipsdeploymenttype.md b/docs/models/updateprojectdatacachetrustedipsdeploymenttype.md similarity index 85% rename from docs/models/operations/updateprojectdatacachetrustedipsdeploymenttype.md rename to docs/models/updateprojectdatacachetrustedipsdeploymenttype.md index 846bd0b7..1e64b99e 100644 --- a/docs/models/operations/updateprojectdatacachetrustedipsdeploymenttype.md +++ b/docs/models/updateprojectdatacachetrustedipsdeploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheTrustedIpsDeploymentType } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheTrustedIpsDeploymentType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheTrustedIpsDeploymentType = "production"; ``` diff --git a/docs/models/operations/updateprojectdatacachetrustedipsprotectionmode.md b/docs/models/updateprojectdatacachetrustedipsprotectionmode.md similarity index 82% rename from docs/models/operations/updateprojectdatacachetrustedipsprotectionmode.md rename to docs/models/updateprojectdatacachetrustedipsprotectionmode.md index a500028d..3d07bac9 100644 --- a/docs/models/operations/updateprojectdatacachetrustedipsprotectionmode.md +++ b/docs/models/updateprojectdatacachetrustedipsprotectionmode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheTrustedIpsProtectionMode } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheTrustedIpsProtectionMode } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheTrustedIpsProtectionMode = "exclusive"; ``` diff --git a/docs/models/updateprojectdatacachetype.md b/docs/models/updateprojectdatacachetype.md new file mode 100644 index 00000000..e52afda7 --- /dev/null +++ b/docs/models/updateprojectdatacachetype.md @@ -0,0 +1,15 @@ +# UpdateProjectDataCacheType + +## Example Usage + +```typescript +import { UpdateProjectDataCacheType } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheType = "LAMBDAS"; +``` + +## Values + +```typescript +"LAMBDAS" +``` \ No newline at end of file diff --git a/docs/models/updateprojectdatacachevalue.md b/docs/models/updateprojectdatacachevalue.md new file mode 100644 index 00000000..33eb767f --- /dev/null +++ b/docs/models/updateprojectdatacachevalue.md @@ -0,0 +1,17 @@ +# UpdateProjectDataCacheValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.UpdateProjectDataCacheValue2` + +```typescript +const value: models.UpdateProjectDataCacheValue2 = {}; +``` + diff --git a/docs/models/operations/updateprojectdatacachevalue2.md b/docs/models/updateprojectdatacachevalue2.md similarity index 97% rename from docs/models/operations/updateprojectdatacachevalue2.md rename to docs/models/updateprojectdatacachevalue2.md index 20bc047c..dcab2ac8 100644 --- a/docs/models/operations/updateprojectdatacachevalue2.md +++ b/docs/models/updateprojectdatacachevalue2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheValue2 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheValue2 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheValue2 = {}; ``` diff --git a/docs/models/operations/updateprojectdatacachevalueprojects2.md b/docs/models/updateprojectdatacachevalueprojects2.md similarity index 96% rename from docs/models/operations/updateprojectdatacachevalueprojects2.md rename to docs/models/updateprojectdatacachevalueprojects2.md index da50c607..282c94d8 100644 --- a/docs/models/operations/updateprojectdatacachevalueprojects2.md +++ b/docs/models/updateprojectdatacachevalueprojects2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDataCacheValueProjects2 } from "@vercel/sdk/models/operations/updateprojectdatacache.js"; +import { UpdateProjectDataCacheValueProjects2 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheValueProjects2 = {}; ``` diff --git a/docs/models/updateprojectdatacachewebanalytics.md b/docs/models/updateprojectdatacachewebanalytics.md new file mode 100644 index 00000000..9d90995f --- /dev/null +++ b/docs/models/updateprojectdatacachewebanalytics.md @@ -0,0 +1,21 @@ +# UpdateProjectDataCacheWebAnalytics + +## Example Usage + +```typescript +import { UpdateProjectDataCacheWebAnalytics } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheWebAnalytics = { + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `disabledAt` | *number* | :heavy_minus_sign: | N/A | +| `canceledAt` | *number* | :heavy_minus_sign: | N/A | +| `enabledAt` | *number* | :heavy_minus_sign: | N/A | +| `hasData` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdefinitions.md b/docs/models/updateprojectdefinitions.md similarity index 94% rename from docs/models/operations/updateprojectdefinitions.md rename to docs/models/updateprojectdefinitions.md index 4f1312b2..9c69762a 100644 --- a/docs/models/operations/updateprojectdefinitions.md +++ b/docs/models/updateprojectdefinitions.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDefinitions } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectDefinitions } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectDefinitions = { host: "vercel.com", diff --git a/docs/models/operations/updateprojectdeploymentexpiration.md b/docs/models/updateprojectdeploymentexpiration.md similarity index 96% rename from docs/models/operations/updateprojectdeploymentexpiration.md rename to docs/models/updateprojectdeploymentexpiration.md index c4f1a540..af2d5a26 100644 --- a/docs/models/operations/updateprojectdeploymentexpiration.md +++ b/docs/models/updateprojectdeploymentexpiration.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectDeploymentExpiration } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectDeploymentExpiration } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectDeploymentExpiration = {}; ``` diff --git a/docs/models/operations/updateprojectdeploymenttype.md b/docs/models/updateprojectdeploymenttype.md similarity index 92% rename from docs/models/operations/updateprojectdeploymenttype.md rename to docs/models/updateprojectdeploymenttype.md index e473a32e..29471a3e 100644 --- a/docs/models/operations/updateprojectdeploymenttype.md +++ b/docs/models/updateprojectdeploymenttype.md @@ -5,7 +5,7 @@ Specify if the Vercel Authentication (SSO Protection) will apply to every Deploy ## Example Usage ```typescript -import { UpdateProjectDeploymentType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectDeploymentType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectDeploymentType = "preview"; ``` diff --git a/docs/models/updateprojectdomainrequest.md b/docs/models/updateprojectdomainrequest.md new file mode 100644 index 00000000..2fff88ce --- /dev/null +++ b/docs/models/updateprojectdomainrequest.md @@ -0,0 +1,27 @@ +# UpdateProjectDomainRequest + +## Example Usage + +```typescript +import { UpdateProjectDomainRequest } from "@vercel/sdk/models/updateprojectdomainop.js"; + +let value: UpdateProjectDomainRequest = { + idOrName: "", + domain: "www.example.com", + requestBody: { + gitBranch: null, + redirect: "foobar.com", + redirectStatusCode: 307, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | | +| `domain` | *string* | :heavy_check_mark: | The project domain name | www.example.com | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | +| `requestBody` | [models.UpdateProjectDomainRequestBody](../models/updateprojectdomainrequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/updateprojectdomainrequestbody.md b/docs/models/updateprojectdomainrequestbody.md new file mode 100644 index 00000000..b9263610 --- /dev/null +++ b/docs/models/updateprojectdomainrequestbody.md @@ -0,0 +1,21 @@ +# UpdateProjectDomainRequestBody + +## Example Usage + +```typescript +import { UpdateProjectDomainRequestBody } from "@vercel/sdk/models/updateprojectdomainop.js"; + +let value: UpdateProjectDomainRequestBody = { + gitBranch: null, + redirect: "foobar.com", + redirectStatusCode: 307, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `gitBranch` | *string* | :heavy_minus_sign: | Git branch to link the project domain | | +| `redirect` | *string* | :heavy_minus_sign: | Target destination domain for redirect | foobar.com | +| `redirectStatusCode` | [models.RedirectStatusCode](../models/redirectstatuscode.md) | :heavy_minus_sign: | Status code for domain redirect | 307 | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdomainresponsebody.md b/docs/models/updateprojectdomainresponsebody.md similarity index 98% rename from docs/models/operations/updateprojectdomainresponsebody.md rename to docs/models/updateprojectdomainresponsebody.md index 6185980b..ac186ddf 100644 --- a/docs/models/operations/updateprojectdomainresponsebody.md +++ b/docs/models/updateprojectdomainresponsebody.md @@ -5,7 +5,7 @@ The domain was updated successfuly ## Example Usage ```typescript -import { UpdateProjectDomainResponseBody } from "@vercel/sdk/models/operations/updateprojectdomain.js"; +import { UpdateProjectDomainResponseBody } from "@vercel/sdk/models/updateprojectdomainop.js"; let value: UpdateProjectDomainResponseBody = { name: "", @@ -29,4 +29,4 @@ let value: UpdateProjectDomainResponseBody = { | `updatedAt` | *number* | :heavy_minus_sign: | N/A | | `createdAt` | *number* | :heavy_minus_sign: | N/A | | `verified` | *boolean* | :heavy_check_mark: | `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. | -| `verification` | [operations.UpdateProjectDomainVerification](../../models/operations/updateprojectdomainverification.md)[] | :heavy_minus_sign: | A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. | \ No newline at end of file +| `verification` | [models.UpdateProjectDomainVerification](../models/updateprojectdomainverification.md)[] | :heavy_minus_sign: | A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdomainverification.md b/docs/models/updateprojectdomainverification.md similarity index 96% rename from docs/models/operations/updateprojectdomainverification.md rename to docs/models/updateprojectdomainverification.md index 1a7d5b4d..f23cb702 100644 --- a/docs/models/operations/updateprojectdomainverification.md +++ b/docs/models/updateprojectdomainverification.md @@ -5,7 +5,7 @@ A list of verification challenges, one of which must be completed to verify the ## Example Usage ```typescript -import { UpdateProjectDomainVerification } from "@vercel/sdk/models/operations/updateprojectdomain.js"; +import { UpdateProjectDomainVerification } from "@vercel/sdk/models/updateprojectdomainop.js"; let value: UpdateProjectDomainVerification = { type: "", diff --git a/docs/models/updateprojectenv.md b/docs/models/updateprojectenv.md new file mode 100644 index 00000000..a78eb082 --- /dev/null +++ b/docs/models/updateprojectenv.md @@ -0,0 +1,38 @@ +# UpdateProjectEnv + +## Example Usage + +```typescript +import { UpdateProjectEnv } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectEnv = { + type: "secret", + key: "", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `target` | *models.UpdateProjectTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.UpdateProjectType](../models/updateprojecttype.md) | :heavy_check_mark: | N/A | +| `sunsetSecretId` | *string* | :heavy_minus_sign: | This is used to identiy variables that have been migrated from type secret to sensitive. | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdBy` | *string* | :heavy_minus_sign: | N/A | +| `updatedBy` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `contentHint` | *models.UpdateProjectContentHint* | :heavy_minus_sign: | N/A | +| `internalContentHint` | [models.UpdateProjectInternalContentHint](../models/updateprojectinternalcontenthint.md) | :heavy_minus_sign: | Similar to `contentHints`, but should not be exposed to the user. | +| `decrypted` | *boolean* | :heavy_minus_sign: | Whether `value` and `vsmValue` are decrypted. | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | +| `vsmValue` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojecterl.md b/docs/models/updateprojecterl.md new file mode 100644 index 00000000..dbe12c41 --- /dev/null +++ b/docs/models/updateprojecterl.md @@ -0,0 +1,25 @@ +# UpdateProjectErl + +## Example Usage + +```typescript +import { UpdateProjectErl } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectErl = { + algo: "fixed_window", + window: 3223.34, + limit: 3165.01, + keys: [ + "", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `algo` | [models.UpdateProjectAlgo](../models/updateprojectalgo.md) | :heavy_check_mark: | N/A | +| `window` | *number* | :heavy_check_mark: | N/A | +| `limit` | *number* | :heavy_check_mark: | N/A | +| `keys` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectfirewallroutes.md b/docs/models/updateprojectfirewallroutes.md new file mode 100644 index 00000000..cc60a3b7 --- /dev/null +++ b/docs/models/updateprojectfirewallroutes.md @@ -0,0 +1,21 @@ +# UpdateProjectFirewallRoutes + +## Example Usage + +```typescript +import { UpdateProjectFirewallRoutes } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectFirewallRoutes = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `src` | *models.UpdateProjectSrc* | :heavy_minus_sign: | N/A | +| `has` | [models.UpdateProjectHas](../models/updateprojecthas.md)[] | :heavy_minus_sign: | N/A | +| `missing` | [models.UpdateProjectMissing](../models/updateprojectmissing.md)[] | :heavy_minus_sign: | N/A | +| `dest` | *string* | :heavy_minus_sign: | N/A | +| `status` | *number* | :heavy_minus_sign: | N/A | +| `handle` | [models.UpdateProjectHandle](../models/updateprojecthandle.md) | :heavy_minus_sign: | N/A | +| `mitigate` | [models.UpdateProjectMitigate](../models/updateprojectmitigate.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectframework.md b/docs/models/updateprojectframework.md similarity index 89% rename from docs/models/operations/updateprojectframework.md rename to docs/models/updateprojectframework.md index 227fb36d..a9acdb0d 100644 --- a/docs/models/operations/updateprojectframework.md +++ b/docs/models/updateprojectframework.md @@ -5,7 +5,7 @@ The framework that is being used for this project. When `null` is used no framew ## Example Usage ```typescript -import { UpdateProjectFramework } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectFramework } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectFramework = "solidstart-1"; ``` diff --git a/docs/models/operations/updateprojectfunctiondefaultmemorytype.md b/docs/models/updateprojectfunctiondefaultmemorytype.md similarity index 87% rename from docs/models/operations/updateprojectfunctiondefaultmemorytype.md rename to docs/models/updateprojectfunctiondefaultmemorytype.md index d0fa86bf..f6fdc545 100644 --- a/docs/models/operations/updateprojectfunctiondefaultmemorytype.md +++ b/docs/models/updateprojectfunctiondefaultmemorytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectFunctionDefaultMemoryType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectFunctionDefaultMemoryType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectFunctionDefaultMemoryType = "performance"; ``` diff --git a/docs/models/operations/updateprojectgitcomments.md b/docs/models/updateprojectgitcomments.md similarity index 91% rename from docs/models/operations/updateprojectgitcomments.md rename to docs/models/updateprojectgitcomments.md index 7bacc919..4638f327 100644 --- a/docs/models/operations/updateprojectgitcomments.md +++ b/docs/models/updateprojectgitcomments.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectGitComments } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectGitComments } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectGitComments = { onPullRequest: false, diff --git a/docs/models/updateprojecthandle.md b/docs/models/updateprojecthandle.md new file mode 100644 index 00000000..b13a0add --- /dev/null +++ b/docs/models/updateprojecthandle.md @@ -0,0 +1,15 @@ +# UpdateProjectHandle + +## Example Usage + +```typescript +import { UpdateProjectHandle } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectHandle = "init"; +``` + +## Values + +```typescript +"init" | "finalize" +``` \ No newline at end of file diff --git a/docs/models/updateprojecthas.md b/docs/models/updateprojecthas.md new file mode 100644 index 00000000..d39cb566 --- /dev/null +++ b/docs/models/updateprojecthas.md @@ -0,0 +1,19 @@ +# UpdateProjectHas + +## Example Usage + +```typescript +import { UpdateProjectHas } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectHas = { + type: "ip_address", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType](../models/updateprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *models.UpdateProjectValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectinternalcontenthint.md b/docs/models/updateprojectinternalcontenthint.md new file mode 100644 index 00000000..d75c1074 --- /dev/null +++ b/docs/models/updateprojectinternalcontenthint.md @@ -0,0 +1,21 @@ +# UpdateProjectInternalContentHint + +Similar to `contentHints`, but should not be exposed to the user. + +## Example Usage + +```typescript +import { UpdateProjectInternalContentHint } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectInternalContentHint = { + type: "flags-secret", + encryptedValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType](../models/updateprojectprojectsresponse200applicationjsonresponsebodyenvtype.md) | :heavy_check_mark: | N/A | +| `encryptedValue` | *string* | :heavy_check_mark: | Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. | \ No newline at end of file diff --git a/docs/models/operations/updateprojectipbuckets.md b/docs/models/updateprojectipbuckets.md similarity index 84% rename from docs/models/operations/updateprojectipbuckets.md rename to docs/models/updateprojectipbuckets.md index 5c542ab2..d821874f 100644 --- a/docs/models/operations/updateprojectipbuckets.md +++ b/docs/models/updateprojectipbuckets.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectIpBuckets } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectIpBuckets } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectIpBuckets = { bucket: "", diff --git a/docs/models/updateprojectissuermode.md b/docs/models/updateprojectissuermode.md new file mode 100644 index 00000000..ebefefd3 --- /dev/null +++ b/docs/models/updateprojectissuermode.md @@ -0,0 +1,17 @@ +# UpdateProjectIssuerMode + +team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` + +## Example Usage + +```typescript +import { UpdateProjectIssuerMode } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectIssuerMode = "team"; +``` + +## Values + +```typescript +"team" | "global" +``` \ No newline at end of file diff --git a/docs/models/updateprojectjobstatus.md b/docs/models/updateprojectjobstatus.md new file mode 100644 index 00000000..8453ae94 --- /dev/null +++ b/docs/models/updateprojectjobstatus.md @@ -0,0 +1,15 @@ +# UpdateProjectJobStatus + +## Example Usage + +```typescript +import { UpdateProjectJobStatus } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectJobStatus = "in-progress"; +``` + +## Values + +```typescript +"pending" | "in-progress" | "succeeded" | "failed" | "skipped" +``` \ No newline at end of file diff --git a/docs/models/updateprojectlastaliasrequest.md b/docs/models/updateprojectlastaliasrequest.md new file mode 100644 index 00000000..aa4aed1f --- /dev/null +++ b/docs/models/updateprojectlastaliasrequest.md @@ -0,0 +1,25 @@ +# UpdateProjectLastAliasRequest + +## Example Usage + +```typescript +import { UpdateProjectLastAliasRequest } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectLastAliasRequest = { + fromDeploymentId: "", + toDeploymentId: "", + jobStatus: "failed", + requestedAt: 3952.33, + type: "promote", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `fromDeploymentId` | *string* | :heavy_check_mark: | N/A | +| `toDeploymentId` | *string* | :heavy_check_mark: | N/A | +| `jobStatus` | [models.UpdateProjectJobStatus](../models/updateprojectjobstatus.md) | :heavy_check_mark: | N/A | +| `requestedAt` | *number* | :heavy_check_mark: | N/A | +| `type` | [models.UpdateProjectProjectsResponse200Type](../models/updateprojectprojectsresponse200type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectlastrollbacktarget.md b/docs/models/updateprojectlastrollbacktarget.md similarity index 90% rename from docs/models/operations/updateprojectlastrollbacktarget.md rename to docs/models/updateprojectlastrollbacktarget.md index 23754bc7..e1a96e23 100644 --- a/docs/models/operations/updateprojectlastrollbacktarget.md +++ b/docs/models/updateprojectlastrollbacktarget.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectLastRollbackTarget } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectLastRollbackTarget } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectLastRollbackTarget = {}; ``` diff --git a/docs/models/updateprojectlatestdeployments.md b/docs/models/updateprojectlatestdeployments.md new file mode 100644 index 00000000..91c2c799 --- /dev/null +++ b/docs/models/updateprojectlatestdeployments.md @@ -0,0 +1,68 @@ +# UpdateProjectLatestDeployments + +## Example Usage + +```typescript +import { UpdateProjectLatestDeployments } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectLatestDeployments = { + id: "", + createdAt: 2928.89, + createdIn: "", + creator: { + email: "Hazle47@hotmail.com", + uid: "", + username: "Mozelle88", + }, + deploymentHostname: "", + name: "", + plan: "pro", + previewCommentsEnabled: false, + private: false, + readyState: "READY", + type: "LAMBDAS", + url: "https://scary-concentration.info", + userId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `alias` | *string*[] | :heavy_minus_sign: | N/A | | +| `aliasAssigned` | *models.UpdateProjectAliasAssigned* | :heavy_minus_sign: | N/A | | +| `aliasError` | [models.UpdateProjectAliasError](../models/updateprojectaliaserror.md) | :heavy_minus_sign: | N/A | | +| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | +| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | +| `branchMatcher` | [models.UpdateProjectBranchMatcher](../models/updateprojectbranchmatcher.md) | :heavy_minus_sign: | N/A | | +| `buildingAt` | *number* | :heavy_minus_sign: | N/A | | +| `builds` | [models.UpdateProjectBuilds](../models/updateprojectbuilds.md)[] | :heavy_minus_sign: | N/A | | +| `checksConclusion` | [models.UpdateProjectChecksConclusion](../models/updateprojectchecksconclusion.md) | :heavy_minus_sign: | N/A | | +| `checksState` | [models.UpdateProjectChecksState](../models/updateprojectchecksstate.md) | :heavy_minus_sign: | N/A | | +| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | +| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | +| `createdAt` | *number* | :heavy_check_mark: | N/A | | +| `createdIn` | *string* | :heavy_check_mark: | N/A | | +| `creator` | [models.UpdateProjectCreator](../models/updateprojectcreator.md) | :heavy_check_mark: | N/A | | +| `deletedAt` | *number* | :heavy_minus_sign: | N/A | | +| `deploymentHostname` | *string* | :heavy_check_mark: | N/A | | +| `forced` | *boolean* | :heavy_minus_sign: | N/A | | +| `name` | *string* | :heavy_check_mark: | N/A | | +| `meta` | Record | :heavy_minus_sign: | N/A | | +| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | +| `oidcTokenClaims` | [models.UpdateProjectOidcTokenClaims](../models/updateprojectoidctokenclaims.md) | :heavy_minus_sign: | N/A | | +| `plan` | [models.UpdateProjectPlan](../models/updateprojectplan.md) | :heavy_check_mark: | N/A | | +| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | +| `private` | *boolean* | :heavy_check_mark: | N/A | | +| `readyAt` | *number* | :heavy_minus_sign: | N/A | | +| `readyState` | [models.UpdateProjectReadyState](../models/updateprojectreadystate.md) | :heavy_check_mark: | N/A | | +| `readySubstate` | [models.UpdateProjectReadySubstate](../models/updateprojectreadysubstate.md) | :heavy_minus_sign: | N/A | | +| `requestedAt` | *number* | :heavy_minus_sign: | N/A | | +| `target` | *string* | :heavy_minus_sign: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | | +| `type` | [models.UpdateProjectProjectsType](../models/updateprojectprojectstype.md) | :heavy_check_mark: | N/A | | +| `url` | *string* | :heavy_check_mark: | N/A | | +| `userId` | *string* | :heavy_check_mark: | N/A | | +| `withCache` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/updateprojectlink.md b/docs/models/updateprojectlink.md new file mode 100644 index 00000000..dba0c804 --- /dev/null +++ b/docs/models/updateprojectlink.md @@ -0,0 +1,50 @@ +# UpdateProjectLink + + +## Supported Types + +### `models.UpdateProjectLink1` + +```typescript +const value: models.UpdateProjectLink1 = { + deployHooks: [ + { + id: "", + name: "", + ref: "", + url: "https://sparkling-season.info", + }, + ], +}; +``` + +### `models.UpdateProjectLink2` + +```typescript +const value: models.UpdateProjectLink2 = { + deployHooks: [ + { + id: "", + name: "", + ref: "", + url: "https://shocked-characterization.org", + }, + ], +}; +``` + +### `models.UpdateProjectLink3` + +```typescript +const value: models.UpdateProjectLink3 = { + deployHooks: [ + { + id: "", + name: "", + ref: "", + url: "https://low-hygienic.name/", + }, + ], +}; +``` + diff --git a/docs/models/operations/updateprojectlink1.md b/docs/models/updateprojectlink1.md similarity index 95% rename from docs/models/operations/updateprojectlink1.md rename to docs/models/updateprojectlink1.md index 5682b3a5..4ecc254e 100644 --- a/docs/models/operations/updateprojectlink1.md +++ b/docs/models/updateprojectlink1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectLink1 } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectLink1 } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectLink1 = { deployHooks: [ @@ -25,9 +25,9 @@ let value: UpdateProjectLink1 = { | `repoOwnerId` | *number* | :heavy_minus_sign: | A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. | | `repo` | *string* | :heavy_minus_sign: | N/A | | `repoId` | *number* | :heavy_minus_sign: | N/A | -| `type` | [operations.UpdateProjectLinkType](../../models/operations/updateprojectlinktype.md) | :heavy_minus_sign: | N/A | +| `type` | [models.UpdateProjectLinkType](../models/updateprojectlinktype.md) | :heavy_minus_sign: | N/A | | `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `deployHooks` | [operations.UpdateProjectLinkDeployHooks](../../models/operations/updateprojectlinkdeployhooks.md)[] | :heavy_check_mark: | N/A | +| `deployHooks` | [models.UpdateProjectLinkDeployHooks](../models/updateprojectlinkdeployhooks.md)[] | :heavy_check_mark: | N/A | | `gitCredentialId` | *string* | :heavy_minus_sign: | N/A | | `updatedAt` | *number* | :heavy_minus_sign: | N/A | | `sourceless` | *boolean* | :heavy_minus_sign: | N/A | diff --git a/docs/models/operations/updateprojectlink2.md b/docs/models/updateprojectlink2.md similarity index 97% rename from docs/models/operations/updateprojectlink2.md rename to docs/models/updateprojectlink2.md index 450d727e..8df29eb6 100644 --- a/docs/models/operations/updateprojectlink2.md +++ b/docs/models/updateprojectlink2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectLink2 } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectLink2 } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectLink2 = { deployHooks: [ @@ -27,9 +27,9 @@ let value: UpdateProjectLink2 = { | `projectNamespace` | *string* | :heavy_minus_sign: | N/A | | `projectOwnerId` | *number* | :heavy_minus_sign: | A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. This is the id of the top level group that a namespace belongs to. Gitlab supports group nesting (up to 20 levels). | | `projectUrl` | *string* | :heavy_minus_sign: | N/A | -| `type` | [operations.UpdateProjectLinkProjectsType](../../models/operations/updateprojectlinkprojectstype.md) | :heavy_minus_sign: | N/A | +| `type` | [models.UpdateProjectLinkProjectsType](../models/updateprojectlinkprojectstype.md) | :heavy_minus_sign: | N/A | | `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `deployHooks` | [operations.UpdateProjectLinkProjectsDeployHooks](../../models/operations/updateprojectlinkprojectsdeployhooks.md)[] | :heavy_check_mark: | N/A | +| `deployHooks` | [models.UpdateProjectLinkProjectsDeployHooks](../models/updateprojectlinkprojectsdeployhooks.md)[] | :heavy_check_mark: | N/A | | `gitCredentialId` | *string* | :heavy_minus_sign: | N/A | | `updatedAt` | *number* | :heavy_minus_sign: | N/A | | `sourceless` | *boolean* | :heavy_minus_sign: | N/A | diff --git a/docs/models/updateprojectlink3.md b/docs/models/updateprojectlink3.md new file mode 100644 index 00000000..b21ad16b --- /dev/null +++ b/docs/models/updateprojectlink3.md @@ -0,0 +1,35 @@ +# UpdateProjectLink3 + +## Example Usage + +```typescript +import { UpdateProjectLink3 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectLink3 = { + deployHooks: [ + { + id: "", + name: "", + ref: "", + url: "https://gripping-nerve.org/", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `slug` | *string* | :heavy_minus_sign: | N/A | +| `owner` | *string* | :heavy_minus_sign: | N/A | +| `type` | [models.UpdateProjectLinkProjectsResponseType](../models/updateprojectlinkprojectsresponsetype.md) | :heavy_minus_sign: | N/A | +| `uuid` | *string* | :heavy_minus_sign: | N/A | +| `workspaceUuid` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `deployHooks` | [models.UpdateProjectLinkProjectsResponseDeployHooks](../models/updateprojectlinkprojectsresponsedeployhooks.md)[] | :heavy_check_mark: | N/A | +| `gitCredentialId` | *string* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `sourceless` | *boolean* | :heavy_minus_sign: | N/A | +| `productionBranch` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectlinkdeployhooks.md b/docs/models/updateprojectlinkdeployhooks.md similarity index 96% rename from docs/models/operations/updateprojectlinkdeployhooks.md rename to docs/models/updateprojectlinkdeployhooks.md index d35f407c..70961bd1 100644 --- a/docs/models/operations/updateprojectlinkdeployhooks.md +++ b/docs/models/updateprojectlinkdeployhooks.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectLinkDeployHooks } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectLinkDeployHooks } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectLinkDeployHooks = { id: "", diff --git a/docs/models/operations/updateprojectlinkprojectsdeployhooks.md b/docs/models/updateprojectlinkprojectsdeployhooks.md similarity index 95% rename from docs/models/operations/updateprojectlinkprojectsdeployhooks.md rename to docs/models/updateprojectlinkprojectsdeployhooks.md index e8ef5269..f12557ce 100644 --- a/docs/models/operations/updateprojectlinkprojectsdeployhooks.md +++ b/docs/models/updateprojectlinkprojectsdeployhooks.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectLinkProjectsDeployHooks } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectLinkProjectsDeployHooks } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectLinkProjectsDeployHooks = { id: "", diff --git a/docs/models/operations/updateprojectlinkprojectsresponsedeployhooks.md b/docs/models/updateprojectlinkprojectsresponsedeployhooks.md similarity index 95% rename from docs/models/operations/updateprojectlinkprojectsresponsedeployhooks.md rename to docs/models/updateprojectlinkprojectsresponsedeployhooks.md index 9dbc503f..6124e29a 100644 --- a/docs/models/operations/updateprojectlinkprojectsresponsedeployhooks.md +++ b/docs/models/updateprojectlinkprojectsresponsedeployhooks.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectLinkProjectsResponseDeployHooks } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectLinkProjectsResponseDeployHooks } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectLinkProjectsResponseDeployHooks = { id: "", diff --git a/docs/models/operations/updateprojectlinkprojectsresponsetype.md b/docs/models/updateprojectlinkprojectsresponsetype.md similarity index 86% rename from docs/models/operations/updateprojectlinkprojectsresponsetype.md rename to docs/models/updateprojectlinkprojectsresponsetype.md index 0874aa3c..299952fc 100644 --- a/docs/models/operations/updateprojectlinkprojectsresponsetype.md +++ b/docs/models/updateprojectlinkprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectLinkProjectsResponseType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectLinkProjectsResponseType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectLinkProjectsResponseType = "bitbucket"; ``` diff --git a/docs/models/operations/updateprojectlinkprojectstype.md b/docs/models/updateprojectlinkprojectstype.md similarity index 87% rename from docs/models/operations/updateprojectlinkprojectstype.md rename to docs/models/updateprojectlinkprojectstype.md index ea44071c..a20bfcea 100644 --- a/docs/models/operations/updateprojectlinkprojectstype.md +++ b/docs/models/updateprojectlinkprojectstype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectLinkProjectsType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectLinkProjectsType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectLinkProjectsType = "gitlab"; ``` diff --git a/docs/models/updateprojectlinktype.md b/docs/models/updateprojectlinktype.md new file mode 100644 index 00000000..a0336546 --- /dev/null +++ b/docs/models/updateprojectlinktype.md @@ -0,0 +1,15 @@ +# UpdateProjectLinkType + +## Example Usage + +```typescript +import { UpdateProjectLinkType } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectLinkType = "github"; +``` + +## Values + +```typescript +"github" +``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectmicrofrontends.md b/docs/models/updateprojectmicrofrontends.md similarity index 99% rename from docs/models/operations/updateprojectmicrofrontends.md rename to docs/models/updateprojectmicrofrontends.md index fc7ebbf2..d902e4bd 100644 --- a/docs/models/operations/updateprojectmicrofrontends.md +++ b/docs/models/updateprojectmicrofrontends.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectMicrofrontends } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectMicrofrontends } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectMicrofrontends = { updatedAt: 6211.69, diff --git a/docs/models/updateprojectmissing.md b/docs/models/updateprojectmissing.md new file mode 100644 index 00000000..ffcde547 --- /dev/null +++ b/docs/models/updateprojectmissing.md @@ -0,0 +1,19 @@ +# UpdateProjectMissing + +## Example Usage + +```typescript +import { UpdateProjectMissing } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectMissing = { + type: "region", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType](../models/updateprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `value` | *models.UpdateProjectProjectsValue* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectmitigate.md b/docs/models/updateprojectmitigate.md new file mode 100644 index 00000000..8d060a8d --- /dev/null +++ b/docs/models/updateprojectmitigate.md @@ -0,0 +1,21 @@ +# UpdateProjectMitigate + +## Example Usage + +```typescript +import { UpdateProjectMitigate } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectMitigate = { + action: "log", + ruleId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `action` | [models.UpdateProjectAction](../models/updateprojectaction.md) | :heavy_check_mark: | N/A | +| `ruleId` | *string* | :heavy_check_mark: | N/A | +| `ttl` | *number* | :heavy_minus_sign: | N/A | +| `erl` | [models.UpdateProjectErl](../models/updateprojecterl.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectnodeversion.md b/docs/models/updateprojectnodeversion.md new file mode 100644 index 00000000..3cad9642 --- /dev/null +++ b/docs/models/updateprojectnodeversion.md @@ -0,0 +1,15 @@ +# UpdateProjectNodeVersion + +## Example Usage + +```typescript +import { UpdateProjectNodeVersion } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectNodeVersion = "20.x"; +``` + +## Values + +```typescript +"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" +``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectoidctokenclaims.md b/docs/models/updateprojectoidctokenclaims.md similarity index 97% rename from docs/models/operations/updateprojectoidctokenclaims.md rename to docs/models/updateprojectoidctokenclaims.md index 4eda542d..6ad602cf 100644 --- a/docs/models/operations/updateprojectoidctokenclaims.md +++ b/docs/models/updateprojectoidctokenclaims.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectOidcTokenClaims } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectOidcTokenClaims } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectOidcTokenClaims = { iss: "", diff --git a/docs/models/updateprojectoidctokenconfig.md b/docs/models/updateprojectoidctokenconfig.md new file mode 100644 index 00000000..eb732536 --- /dev/null +++ b/docs/models/updateprojectoidctokenconfig.md @@ -0,0 +1,20 @@ +# UpdateProjectOidcTokenConfig + +OpenID Connect JSON Web Token generation configuration. + +## Example Usage + +```typescript +import { UpdateProjectOidcTokenConfig } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectOidcTokenConfig = { + enabled: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `enabled` | *boolean* | :heavy_check_mark: | Whether or not to generate OpenID Connect JSON Web Tokens. | +| `issuerMode` | [models.UpdateProjectIssuerMode](../models/updateprojectissuermode.md) | :heavy_minus_sign: | team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` | \ No newline at end of file diff --git a/docs/models/updateprojectoptionsallowlist.md b/docs/models/updateprojectoptionsallowlist.md new file mode 100644 index 00000000..840b2025 --- /dev/null +++ b/docs/models/updateprojectoptionsallowlist.md @@ -0,0 +1,21 @@ +# UpdateProjectOptionsAllowlist + +## Example Usage + +```typescript +import { UpdateProjectOptionsAllowlist } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectOptionsAllowlist = { + paths: [ + { + value: "", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `paths` | [models.UpdateProjectPaths](../models/updateprojectpaths.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectpasswordprotection.md b/docs/models/updateprojectpasswordprotection.md similarity index 90% rename from docs/models/operations/updateprojectpasswordprotection.md rename to docs/models/updateprojectpasswordprotection.md index 2c8401b1..46ee52ec 100644 --- a/docs/models/operations/updateprojectpasswordprotection.md +++ b/docs/models/updateprojectpasswordprotection.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectPasswordProtection } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectPasswordProtection } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectPasswordProtection = {}; ``` diff --git a/docs/models/operations/updateprojectpaths.md b/docs/models/updateprojectpaths.md similarity index 81% rename from docs/models/operations/updateprojectpaths.md rename to docs/models/updateprojectpaths.md index 09d802ab..0483359a 100644 --- a/docs/models/operations/updateprojectpaths.md +++ b/docs/models/updateprojectpaths.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectPaths } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectPaths } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectPaths = { value: "", diff --git a/docs/models/updateprojectpermissions.md b/docs/models/updateprojectpermissions.md new file mode 100644 index 00000000..67cda166 --- /dev/null +++ b/docs/models/updateprojectpermissions.md @@ -0,0 +1,196 @@ +# UpdateProjectPermissions + +## Example Usage + +```typescript +import { UpdateProjectPermissions } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectPermissions = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `accessGroup` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `aliasGlobal` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `analyticsSampling` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `analyticsUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `auditLog` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingAddress` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingInformation` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingInvoice` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingInvoiceEmailRecipient` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingInvoiceLanguage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingPlan` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingPurchaseOrder` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `billingTaxId` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `blob` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `budget` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `cacheArtifact` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `cacheArtifactUsageEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `codeChecks` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `concurrentBuilds` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `connect` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `connectConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domain` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainAcceptDelegation` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainAuthCodes` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainCertificate` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainCheckConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainMove` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainPurchase` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainRecord` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `domainTransferIn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `event` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `ownEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sensitiveEnvironmentVariablePolicy` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `fileUpload` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `gitRepository` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `ipBlocking` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationAccount` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationProjects` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationVercelConfigurationOverride` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationRole` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResource` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResourceSecrets` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationDeploymentAction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceInstallationMember` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceBillingData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceInvoice` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `jobGlobal` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `logDrain` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoring` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringQuery` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringChart` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDeploymentFailed` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainExpire` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainMoved` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainPurchase` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainRenewal` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationDomainUnverified` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationMonitoringAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationPaymentFailed` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationUsageAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationCustomerBudget` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationStatementOfReasons` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `oauth2Connection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `openTelemetryEndpoint` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `paymentMethod` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `permissions` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `postgres` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `previewDeploymentSuffix` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `proTrialOnboarding` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sharedEnvVars` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sharedEnvVarsProduction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `space` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `spaceRun` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `passwordProtectionInvoiceItem` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `rateLimit` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `redis` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `repository` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `remoteCaching` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `samlConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `secret` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `redisStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `blobStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `postgresStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResourceReplCommand` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `storeTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `supportCase` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `supportCaseComment` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `dataCacheBillingSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `team` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamAccessRequest` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamFellowMembership` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamGitExclusivity` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamInvite` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamInviteCode` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamJoin` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamMicrofrontends` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamOwnMembership` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `teamOwnMembershipDisconnectSAML` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `token` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `usage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `usageCycle` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `user` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `userConnection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `vpcPeeringConnection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webAnalyticsPlan` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webAuthn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `edgeConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `edgeConfigItem` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `edgeConfigSchema` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `edgeConfigToken` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webhook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webhookEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `endpointVerification` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTransferIn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `oauth2Application` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `aliasProject` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `aliasProtectionBypass` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `productionAliasProtectionBypass` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `connectConfigurationLink` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `dataCacheNamespace` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deployment` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentCheck` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentCheckPreview` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentCheckReRunFromProductionBranch` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentProductionGit` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentV0` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentPreview` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentPrivate` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentPromote` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `deploymentRollback` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `environments` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `logs` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `logsPreset` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `passwordProtection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `optionsAllowlist` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `job` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `project` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectFromV0` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectAccessGroup` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectAnalyticsSampling` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDeploymentHook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDomain` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDomainMove` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDomainCheckConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectEnvVars` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectEnvVarsProduction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectEnvVarsUnownedByIntegration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectFlags` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectId` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectIntegrationConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectLink` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectMember` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectMonitoring` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectPermissions` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectProductionBranch` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTransferOut` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectProtectionBypass` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectAnalyticsUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectSupportCase` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectSupportCaseComment` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDeploymentExpiration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTier` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `seawallConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `skewProtection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `analytics` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `trustedIps` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webAnalytics` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sharedEnvVarConnection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sonar` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectplan.md b/docs/models/updateprojectplan.md new file mode 100644 index 00000000..aed3a03f --- /dev/null +++ b/docs/models/updateprojectplan.md @@ -0,0 +1,15 @@ +# UpdateProjectPlan + +## Example Usage + +```typescript +import { UpdateProjectPlan } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectPlan = "enterprise"; +``` + +## Values + +```typescript +"pro" | "enterprise" | "hobby" +``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectprojectsaliasassigned.md b/docs/models/updateprojectprojectsaliasassigned.md similarity index 100% rename from docs/models/operations/updateprojectprojectsaliasassigned.md rename to docs/models/updateprojectprojectsaliasassigned.md diff --git a/docs/models/operations/updateprojectprojectsaliaserror.md b/docs/models/updateprojectprojectsaliaserror.md similarity index 94% rename from docs/models/operations/updateprojectprojectsaliaserror.md rename to docs/models/updateprojectprojectsaliaserror.md index 7d338a56..0d654077 100644 --- a/docs/models/operations/updateprojectprojectsaliaserror.md +++ b/docs/models/updateprojectprojectsaliaserror.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsAliasError } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsAliasError } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsAliasError = { code: "", diff --git a/docs/models/updateprojectprojectsbranchmatcher.md b/docs/models/updateprojectprojectsbranchmatcher.md new file mode 100644 index 00000000..f6a6f4d0 --- /dev/null +++ b/docs/models/updateprojectprojectsbranchmatcher.md @@ -0,0 +1,19 @@ +# UpdateProjectProjectsBranchMatcher + +## Example Usage + +```typescript +import { UpdateProjectProjectsBranchMatcher } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectProjectsBranchMatcher = { + type: "startsWith", + pattern: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.UpdateProjectProjectsResponse200ApplicationJSONType](../models/updateprojectprojectsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `pattern` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectprojectsbuilds.md b/docs/models/updateprojectprojectsbuilds.md similarity index 95% rename from docs/models/operations/updateprojectprojectsbuilds.md rename to docs/models/updateprojectprojectsbuilds.md index 59895541..77d7fc98 100644 --- a/docs/models/operations/updateprojectprojectsbuilds.md +++ b/docs/models/updateprojectprojectsbuilds.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsBuilds } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsBuilds } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsBuilds = { use: "", diff --git a/docs/models/operations/updateprojectprojectschecksconclusion.md b/docs/models/updateprojectprojectschecksconclusion.md similarity index 87% rename from docs/models/operations/updateprojectprojectschecksconclusion.md rename to docs/models/updateprojectprojectschecksconclusion.md index 375223ce..12d9049c 100644 --- a/docs/models/operations/updateprojectprojectschecksconclusion.md +++ b/docs/models/updateprojectprojectschecksconclusion.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsChecksConclusion } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsChecksConclusion } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsChecksConclusion = "succeeded"; ``` diff --git a/docs/models/operations/updateprojectprojectschecksstate.md b/docs/models/updateprojectprojectschecksstate.md similarity index 88% rename from docs/models/operations/updateprojectprojectschecksstate.md rename to docs/models/updateprojectprojectschecksstate.md index 0b0dcef0..6af038fe 100644 --- a/docs/models/operations/updateprojectprojectschecksstate.md +++ b/docs/models/updateprojectprojectschecksstate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsChecksState } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsChecksState } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsChecksState = "registered"; ``` diff --git a/docs/models/operations/updateprojectprojectscreator.md b/docs/models/updateprojectprojectscreator.md similarity index 96% rename from docs/models/operations/updateprojectprojectscreator.md rename to docs/models/updateprojectprojectscreator.md index a21e316d..f9c21af7 100644 --- a/docs/models/operations/updateprojectprojectscreator.md +++ b/docs/models/updateprojectprojectscreator.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsCreator } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsCreator } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsCreator = { email: "Terry11@hotmail.com", diff --git a/docs/models/operations/updateprojectprojectsdeploymenttype.md b/docs/models/updateprojectprojectsdeploymenttype.md similarity index 91% rename from docs/models/operations/updateprojectprojectsdeploymenttype.md rename to docs/models/updateprojectprojectsdeploymenttype.md index c65969a8..2c4f1af0 100644 --- a/docs/models/operations/updateprojectprojectsdeploymenttype.md +++ b/docs/models/updateprojectprojectsdeploymenttype.md @@ -5,7 +5,7 @@ Specify if the Trusted IPs will apply to every Deployment Target or just Preview ## Example Usage ```typescript -import { UpdateProjectProjectsDeploymentType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsDeploymentType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsDeploymentType = "preview"; ``` diff --git a/docs/models/operations/updateprojectprojectsframework.md b/docs/models/updateprojectprojectsframework.md similarity index 95% rename from docs/models/operations/updateprojectprojectsframework.md rename to docs/models/updateprojectprojectsframework.md index 2037fd43..75003385 100644 --- a/docs/models/operations/updateprojectprojectsframework.md +++ b/docs/models/updateprojectprojectsframework.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsFramework } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsFramework } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsFramework = "docusaurus"; ``` diff --git a/docs/models/operations/updateprojectprojectsissuermode.md b/docs/models/updateprojectprojectsissuermode.md similarity index 90% rename from docs/models/operations/updateprojectprojectsissuermode.md rename to docs/models/updateprojectprojectsissuermode.md index 2975f11b..a4e26671 100644 --- a/docs/models/operations/updateprojectprojectsissuermode.md +++ b/docs/models/updateprojectprojectsissuermode.md @@ -5,7 +5,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsIssuerMode } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsIssuerMode } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsIssuerMode = "global"; ``` diff --git a/docs/models/operations/updateprojectprojectsnodeversion.md b/docs/models/updateprojectprojectsnodeversion.md similarity index 89% rename from docs/models/operations/updateprojectprojectsnodeversion.md rename to docs/models/updateprojectprojectsnodeversion.md index 178aa559..18f525b1 100644 --- a/docs/models/operations/updateprojectprojectsnodeversion.md +++ b/docs/models/updateprojectprojectsnodeversion.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsNodeVersion } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsNodeVersion } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsNodeVersion = "16.x"; ``` diff --git a/docs/models/operations/updateprojectprojectsoidctokenclaims.md b/docs/models/updateprojectprojectsoidctokenclaims.md similarity index 97% rename from docs/models/operations/updateprojectprojectsoidctokenclaims.md rename to docs/models/updateprojectprojectsoidctokenclaims.md index d018465f..71c07640 100644 --- a/docs/models/operations/updateprojectprojectsoidctokenclaims.md +++ b/docs/models/updateprojectprojectsoidctokenclaims.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsOidcTokenClaims } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsOidcTokenClaims } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsOidcTokenClaims = { iss: "", diff --git a/docs/models/updateprojectprojectsoidctokenconfig.md b/docs/models/updateprojectprojectsoidctokenconfig.md new file mode 100644 index 00000000..cb13f723 --- /dev/null +++ b/docs/models/updateprojectprojectsoidctokenconfig.md @@ -0,0 +1,18 @@ +# UpdateProjectProjectsOidcTokenConfig + +## Example Usage + +```typescript +import { UpdateProjectProjectsOidcTokenConfig } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectProjectsOidcTokenConfig = { + enabled: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `issuerMode` | [models.UpdateProjectProjectsIssuerMode](../models/updateprojectprojectsissuermode.md) | :heavy_minus_sign: | - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` | \ No newline at end of file diff --git a/docs/models/updateprojectprojectsplan.md b/docs/models/updateprojectprojectsplan.md new file mode 100644 index 00000000..9ba62e9e --- /dev/null +++ b/docs/models/updateprojectprojectsplan.md @@ -0,0 +1,15 @@ +# UpdateProjectProjectsPlan + +## Example Usage + +```typescript +import { UpdateProjectProjectsPlan } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectProjectsPlan = "hobby"; +``` + +## Values + +```typescript +"pro" | "enterprise" | "hobby" +``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectprojectsreadystate.md b/docs/models/updateprojectprojectsreadystate.md similarity index 89% rename from docs/models/operations/updateprojectprojectsreadystate.md rename to docs/models/updateprojectprojectsreadystate.md index 3a3a6108..2f14fcb5 100644 --- a/docs/models/operations/updateprojectprojectsreadystate.md +++ b/docs/models/updateprojectprojectsreadystate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsReadyState } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsReadyState } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsReadyState = "ERROR"; ``` diff --git a/docs/models/operations/updateprojectprojectsreadysubstate.md b/docs/models/updateprojectprojectsreadysubstate.md similarity index 87% rename from docs/models/operations/updateprojectprojectsreadysubstate.md rename to docs/models/updateprojectprojectsreadysubstate.md index eea28e2c..3aeb984b 100644 --- a/docs/models/operations/updateprojectprojectsreadysubstate.md +++ b/docs/models/updateprojectprojectsreadysubstate.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsReadySubstate } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsReadySubstate } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsReadySubstate = "PROMOTED"; ``` diff --git a/docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodyenvtype.md b/docs/models/updateprojectprojectsresponse200applicationjsonresponsebodyenvtype.md similarity index 81% rename from docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodyenvtype.md rename to docs/models/updateprojectprojectsresponse200applicationjsonresponsebodyenvtype.md index 698fb360..67f0f096 100644 --- a/docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodyenvtype.md +++ b/docs/models/updateprojectprojectsresponse200applicationjsonresponsebodyenvtype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType = "flags-secret"; diff --git a/docs/models/updateprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md b/docs/models/updateprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md new file mode 100644 index 00000000..bcce23f3 --- /dev/null +++ b/docs/models/updateprojectprojectsresponse200applicationjsonresponsebodysecurityfirewallroutestype.md @@ -0,0 +1,19 @@ +# UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType + +## Example Usage + +```typescript +import { + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType, +} from "@vercel/sdk/models/updateprojectop.js"; + +let value: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = + "region"; +``` + +## Values + +```typescript +"path" | "host" | "method" | "header" | "cookie" | "query" | "ip_address" | "protocol" | "scheme" | "environment" | "region" | "initial_request_path" +``` \ No newline at end of file diff --git a/docs/models/updateprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md b/docs/models/updateprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md new file mode 100644 index 00000000..b756b79a --- /dev/null +++ b/docs/models/updateprojectprojectsresponse200applicationjsonresponsebodysecuritytype.md @@ -0,0 +1,17 @@ +# UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType + +## Example Usage + +```typescript +import { UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType } from "@vercel/sdk/models/updateprojectop.js"; + +let value: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType = + "query"; +``` + +## Values + +```typescript +"path" | "host" | "method" | "header" | "cookie" | "query" | "ip_address" | "protocol" | "scheme" | "environment" | "region" | "initial_request_path" +``` \ No newline at end of file diff --git a/docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodytype.md b/docs/models/updateprojectprojectsresponse200applicationjsonresponsebodytype.md similarity index 83% rename from docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodytype.md rename to docs/models/updateprojectprojectsresponse200applicationjsonresponsebodytype.md index 93e9e4da..c642bce6 100644 --- a/docs/models/operations/updateprojectprojectsresponse200applicationjsonresponsebodytype.md +++ b/docs/models/updateprojectprojectsresponse200applicationjsonresponsebodytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType = "equals"; diff --git a/docs/models/operations/updateprojectprojectsresponse200applicationjsontype.md b/docs/models/updateprojectprojectsresponse200applicationjsontype.md similarity index 84% rename from docs/models/operations/updateprojectprojectsresponse200applicationjsontype.md rename to docs/models/updateprojectprojectsresponse200applicationjsontype.md index 0c6b8540..cfdd1b44 100644 --- a/docs/models/operations/updateprojectprojectsresponse200applicationjsontype.md +++ b/docs/models/updateprojectprojectsresponse200applicationjsontype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsResponse200ApplicationJSONType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsResponse200ApplicationJSONType = "equals"; ``` diff --git a/docs/models/operations/updateprojectprojectsresponse200type.md b/docs/models/updateprojectprojectsresponse200type.md similarity index 86% rename from docs/models/operations/updateprojectprojectsresponse200type.md rename to docs/models/updateprojectprojectsresponse200type.md index 4a47e765..6249d43a 100644 --- a/docs/models/operations/updateprojectprojectsresponse200type.md +++ b/docs/models/updateprojectprojectsresponse200type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsResponse200Type } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsResponse200Type } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsResponse200Type = "promote"; ``` diff --git a/docs/models/operations/updateprojectprojectsresponsedeploymenttype.md b/docs/models/updateprojectprojectsresponsedeploymenttype.md similarity index 86% rename from docs/models/operations/updateprojectprojectsresponsedeploymenttype.md rename to docs/models/updateprojectprojectsresponsedeploymenttype.md index ba28ba36..f8cf0c29 100644 --- a/docs/models/operations/updateprojectprojectsresponsedeploymenttype.md +++ b/docs/models/updateprojectprojectsresponsedeploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsResponseDeploymentType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsResponseDeploymentType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsResponseDeploymentType = "all"; ``` diff --git a/docs/models/operations/updateprojectprojectsresponsetype.md b/docs/models/updateprojectprojectsresponsetype.md similarity index 86% rename from docs/models/operations/updateprojectprojectsresponsetype.md rename to docs/models/updateprojectprojectsresponsetype.md index a2aab398..7732b1eb 100644 --- a/docs/models/operations/updateprojectprojectsresponsetype.md +++ b/docs/models/updateprojectprojectsresponsetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProjectsResponseType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectProjectsResponseType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectProjectsResponseType = "LAMBDAS"; ``` diff --git a/docs/models/updateprojectprojectstype.md b/docs/models/updateprojectprojectstype.md new file mode 100644 index 00000000..10bb9b53 --- /dev/null +++ b/docs/models/updateprojectprojectstype.md @@ -0,0 +1,15 @@ +# UpdateProjectProjectsType + +## Example Usage + +```typescript +import { UpdateProjectProjectsType } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectProjectsType = "LAMBDAS"; +``` + +## Values + +```typescript +"LAMBDAS" +``` \ No newline at end of file diff --git a/docs/models/updateprojectprojectsvalue.md b/docs/models/updateprojectprojectsvalue.md new file mode 100644 index 00000000..f2db1492 --- /dev/null +++ b/docs/models/updateprojectprojectsvalue.md @@ -0,0 +1,17 @@ +# UpdateProjectProjectsValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.UpdateProjectValueProjects2` + +```typescript +const value: models.UpdateProjectValueProjects2 = {}; +``` + diff --git a/docs/models/updateprojectprotectionbypass.md b/docs/models/updateprojectprotectionbypass.md new file mode 100644 index 00000000..0d9d3bf6 --- /dev/null +++ b/docs/models/updateprojectprotectionbypass.md @@ -0,0 +1,21 @@ +# UpdateProjectProtectionBypass + +## Example Usage + +```typescript +import { UpdateProjectProtectionBypass } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectProtectionBypass = { + createdAt: 7186.26, + createdBy: "", + scope: "automation-bypass", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdBy` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.UpdateProjectScope](../models/updateprojectscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectprotectionbypassprotectionbypass.md b/docs/models/updateprojectprotectionbypassprotectionbypass.md new file mode 100644 index 00000000..e3bdf987 --- /dev/null +++ b/docs/models/updateprojectprotectionbypassprotectionbypass.md @@ -0,0 +1,21 @@ +# UpdateProjectProtectionBypassProtectionBypass + +## Example Usage + +```typescript +import { UpdateProjectProtectionBypassProtectionBypass } from "@vercel/sdk/models/updateprojectprotectionbypassop.js"; + +let value: UpdateProjectProtectionBypassProtectionBypass = { + createdAt: 2628.00, + createdBy: "", + scope: "automation-bypass", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdBy` | *string* | :heavy_check_mark: | N/A | +| `scope` | [models.UpdateProjectProtectionBypassScope](../models/updateprojectprotectionbypassscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectprotectionbypassrequest.md b/docs/models/updateprojectprotectionbypassrequest.md new file mode 100644 index 00000000..cd403a90 --- /dev/null +++ b/docs/models/updateprojectprotectionbypassrequest.md @@ -0,0 +1,21 @@ +# UpdateProjectProtectionBypassRequest + +## Example Usage + +```typescript +import { UpdateProjectProtectionBypassRequest } from "@vercel/sdk/models/updateprojectprotectionbypassop.js"; + +let value: UpdateProjectProtectionBypassRequest = { + idOrName: "", + requestBody: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.UpdateProjectProtectionBypassRequestBody](../models/updateprojectprotectionbypassrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectprotectionbypassrequestbody.md b/docs/models/updateprojectprotectionbypassrequestbody.md similarity index 84% rename from docs/models/operations/updateprojectprotectionbypassrequestbody.md rename to docs/models/updateprojectprotectionbypassrequestbody.md index a30375b6..cf2b212e 100644 --- a/docs/models/operations/updateprojectprotectionbypassrequestbody.md +++ b/docs/models/updateprojectprotectionbypassrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProtectionBypassRequestBody } from "@vercel/sdk/models/operations/updateprojectprotectionbypass.js"; +import { UpdateProjectProtectionBypassRequestBody } from "@vercel/sdk/models/updateprojectprotectionbypassop.js"; let value: UpdateProjectProtectionBypassRequestBody = {}; ``` @@ -12,5 +12,5 @@ let value: UpdateProjectProtectionBypassRequestBody = {}; | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `revoke` | [operations.Revoke](../../models/operations/revoke.md) | :heavy_minus_sign: | Optional instructions for revoking and regenerating a automation bypass | -| `generate` | [operations.Generate](../../models/operations/generate.md) | :heavy_minus_sign: | Generate a new secret. If neither generate or revoke are provided, a new random secret will be generated. | \ No newline at end of file +| `revoke` | [models.Revoke](../models/revoke.md) | :heavy_minus_sign: | Optional instructions for revoking and regenerating a automation bypass | +| `generate` | [models.Generate](../models/generate.md) | :heavy_minus_sign: | Generate a new secret. If neither generate or revoke are provided, a new random secret will be generated. | \ No newline at end of file diff --git a/docs/models/updateprojectprotectionbypassresponsebody.md b/docs/models/updateprojectprotectionbypassresponsebody.md new file mode 100644 index 00000000..7df6fd06 --- /dev/null +++ b/docs/models/updateprojectprotectionbypassresponsebody.md @@ -0,0 +1,15 @@ +# UpdateProjectProtectionBypassResponseBody + +## Example Usage + +```typescript +import { UpdateProjectProtectionBypassResponseBody } from "@vercel/sdk/models/updateprojectprotectionbypassop.js"; + +let value: UpdateProjectProtectionBypassResponseBody = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `protectionBypass` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectprotectionbypassscope.md b/docs/models/updateprojectprotectionbypassscope.md similarity index 82% rename from docs/models/operations/updateprojectprotectionbypassscope.md rename to docs/models/updateprojectprotectionbypassscope.md index 09a0e5c4..381edca7 100644 --- a/docs/models/operations/updateprojectprotectionbypassscope.md +++ b/docs/models/updateprojectprotectionbypassscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectProtectionBypassScope } from "@vercel/sdk/models/operations/updateprojectprotectionbypass.js"; +import { UpdateProjectProtectionBypassScope } from "@vercel/sdk/models/updateprojectprotectionbypassop.js"; let value: UpdateProjectProtectionBypassScope = "automation-bypass"; ``` diff --git a/docs/models/updateprojectreadystate.md b/docs/models/updateprojectreadystate.md new file mode 100644 index 00000000..1b4baa4a --- /dev/null +++ b/docs/models/updateprojectreadystate.md @@ -0,0 +1,15 @@ +# UpdateProjectReadyState + +## Example Usage + +```typescript +import { UpdateProjectReadyState } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectReadyState = "CANCELED"; +``` + +## Values + +```typescript +"BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED" +``` \ No newline at end of file diff --git a/docs/models/updateprojectreadysubstate.md b/docs/models/updateprojectreadysubstate.md new file mode 100644 index 00000000..1058060d --- /dev/null +++ b/docs/models/updateprojectreadysubstate.md @@ -0,0 +1,15 @@ +# UpdateProjectReadySubstate + +## Example Usage + +```typescript +import { UpdateProjectReadySubstate } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectReadySubstate = "STAGED"; +``` + +## Values + +```typescript +"STAGED" | "PROMOTED" +``` \ No newline at end of file diff --git a/docs/models/updateprojectrequest.md b/docs/models/updateprojectrequest.md new file mode 100644 index 00000000..3ed1d09c --- /dev/null +++ b/docs/models/updateprojectrequest.md @@ -0,0 +1,23 @@ +# UpdateProjectRequest + +## Example Usage + +```typescript +import { UpdateProjectRequest } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectRequest = { + idOrName: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB", + requestBody: { + name: "a-project-name", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | +| `requestBody` | [models.UpdateProjectRequestBody](../models/updateprojectrequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/updateprojectrequestbody.md b/docs/models/updateprojectrequestbody.md similarity index 97% rename from docs/models/operations/updateprojectrequestbody.md rename to docs/models/updateprojectrequestbody.md index 008ae7e7..392df0b0 100644 --- a/docs/models/operations/updateprojectrequestbody.md +++ b/docs/models/updateprojectrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectRequestBody } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectRequestBody } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectRequestBody = { name: "a-project-name", @@ -22,12 +22,12 @@ let value: UpdateProjectRequestBody = { | `customerSupportCodeVisibility` | *boolean* | :heavy_minus_sign: | Specifies whether customer support can see git source for a deployment | | | `devCommand` | *string* | :heavy_minus_sign: | The dev command for this project. When `null` is used this value will be automatically detected | | | `directoryListing` | *boolean* | :heavy_minus_sign: | N/A | | -| `framework` | [operations.UpdateProjectFramework](../../models/operations/updateprojectframework.md) | :heavy_minus_sign: | The framework that is being used for this project. When `null` is used no framework is selected | | +| `framework` | [models.UpdateProjectFramework](../models/updateprojectframework.md) | :heavy_minus_sign: | The framework that is being used for this project. When `null` is used no framework is selected | | | `gitForkProtection` | *boolean* | :heavy_minus_sign: | Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed | | | `gitLFS` | *boolean* | :heavy_minus_sign: | Specifies whether Git LFS is enabled for this project. | | | `installCommand` | *string* | :heavy_minus_sign: | The install command for this project. When `null` is used this value will be automatically detected | | | `name` | *string* | :heavy_minus_sign: | The desired name for the project | a-project-name | -| `nodeVersion` | [operations.UpdateProjectNodeVersion](../../models/operations/updateprojectnodeversion.md) | :heavy_minus_sign: | N/A | | +| `nodeVersion` | [models.UpdateProjectNodeVersion](../models/updateprojectnodeversion.md) | :heavy_minus_sign: | N/A | | | `outputDirectory` | *string* | :heavy_minus_sign: | The output directory of the project. When `null` is used this value will be automatically detected | | | `previewDeploymentsDisabled` | *boolean* | :heavy_minus_sign: | Specifies whether preview deployments are disabled for this project. | | | `publicSource` | *boolean* | :heavy_minus_sign: | Specifies whether the source code and logs of the deployments for this project should be public or not | | @@ -41,8 +41,8 @@ let value: UpdateProjectRequestBody = { | `enablePreviewFeedback` | *boolean* | :heavy_minus_sign: | Opt-in to preview toolbar on the project level | | | `enableProductionFeedback` | *boolean* | :heavy_minus_sign: | Opt-in to production toolbar on the project level | | | `enableAffectedProjectsDeployments` | *boolean* | :heavy_minus_sign: | Opt-in to skip deployments when there are no changes to the root directory and its dependencies | | -| `oidcTokenConfig` | [operations.UpdateProjectOidcTokenConfig](../../models/operations/updateprojectoidctokenconfig.md) | :heavy_minus_sign: | OpenID Connect JSON Web Token generation configuration. | | -| `passwordProtection` | [operations.PasswordProtection](../../models/operations/passwordprotection.md) | :heavy_minus_sign: | Allows to protect project deployments with a password | | -| `ssoProtection` | [operations.SsoProtection](../../models/operations/ssoprotection.md) | :heavy_minus_sign: | Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team | | -| `trustedIps` | [operations.TrustedIps](../../models/operations/trustedips.md) | :heavy_minus_sign: | Restricts access to deployments based on the incoming request IP address | | -| `optionsAllowlist` | [operations.OptionsAllowlist](../../models/operations/optionsallowlist.md) | :heavy_minus_sign: | Specify a list of paths that should not be protected by Deployment Protection to enable Cors preflight requests | | \ No newline at end of file +| `oidcTokenConfig` | [models.UpdateProjectOidcTokenConfig](../models/updateprojectoidctokenconfig.md) | :heavy_minus_sign: | OpenID Connect JSON Web Token generation configuration. | | +| `passwordProtection` | [models.PasswordProtection](../models/passwordprotection.md) | :heavy_minus_sign: | Allows to protect project deployments with a password | | +| `ssoProtection` | [models.SsoProtection](../models/ssoprotection.md) | :heavy_minus_sign: | Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team | | +| `trustedIps` | [models.TrustedIps](../models/trustedips.md) | :heavy_minus_sign: | Restricts access to deployments based on the incoming request IP address | | +| `optionsAllowlist` | [models.OptionsAllowlist](../models/optionsallowlist.md) | :heavy_minus_sign: | Specify a list of paths that should not be protected by Deployment Protection to enable Cors preflight requests | | \ No newline at end of file diff --git a/docs/models/updateprojectresourceconfig.md b/docs/models/updateprojectresourceconfig.md new file mode 100644 index 00000000..35f61c44 --- /dev/null +++ b/docs/models/updateprojectresourceconfig.md @@ -0,0 +1,18 @@ +# UpdateProjectResourceConfig + +## Example Usage + +```typescript +import { UpdateProjectResourceConfig } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectResourceConfig = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `functionDefaultTimeout` | *number* | :heavy_minus_sign: | N/A | +| `functionDefaultMemoryType` | [models.UpdateProjectFunctionDefaultMemoryType](../models/updateprojectfunctiondefaultmemorytype.md) | :heavy_minus_sign: | N/A | +| `allowServerlessConcurrency` | *boolean* | :heavy_minus_sign: | N/A | +| `elasticConcurrencyEnabled` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectresponsebody.md b/docs/models/updateprojectresponsebody.md new file mode 100644 index 00000000..5dd18973 --- /dev/null +++ b/docs/models/updateprojectresponsebody.md @@ -0,0 +1,146 @@ +# UpdateProjectResponseBody + +The project was successfully updated + +## Example Usage + +```typescript +import { UpdateProjectResponseBody } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectResponseBody = { + accountId: "", + crons: { + enabledAt: 8791.73, + disabledAt: 7348.14, + updatedAt: 1764.99, + deploymentId: "", + definitions: [ + { + host: "vercel.com", + path: "/api/crons/sync-something?hello=world", + schedule: "0 0 * * *", + }, + ], + }, + directoryListing: false, + id: "", + latestDeployments: [ + { + id: "", + createdAt: 9391.61, + createdIn: "", + creator: { + email: "Zula.Leuschke@yahoo.com", + uid: "", + username: "Theo_Reilly", + }, + deploymentHostname: "", + name: "", + plan: "hobby", + previewCommentsEnabled: false, + private: false, + readyState: "CANCELED", + type: "LAMBDAS", + url: "https://some-adrenalin.biz/", + userId: "", + }, + ], + name: "", + nodeVersion: "20.x", + targets: { + "key": { + id: "", + createdAt: 5068.63, + createdIn: "", + creator: { + email: "Axel.Wehner@hotmail.com", + uid: "", + username: "Adeline.Quitzon", + }, + deploymentHostname: "", + name: "", + plan: "pro", + previewCommentsEnabled: false, + private: false, + readyState: "ERROR", + type: "LAMBDAS", + url: "https://our-bungalow.biz", + userId: "", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `accountId` | *string* | :heavy_check_mark: | N/A | +| `analytics` | [models.UpdateProjectAnalytics](../models/updateprojectanalytics.md) | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.UpdateProjectSpeedInsights](../models/updateprojectspeedinsights.md) | :heavy_minus_sign: | N/A | +| `autoExposeSystemEnvs` | *boolean* | :heavy_minus_sign: | N/A | +| `autoAssignCustomDomains` | *boolean* | :heavy_minus_sign: | N/A | +| `autoAssignCustomDomainsUpdatedBy` | *string* | :heavy_minus_sign: | N/A | +| `buildCommand` | *string* | :heavy_minus_sign: | N/A | +| `commandForIgnoringBuildStep` | *string* | :heavy_minus_sign: | N/A | +| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | +| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `customerSupportCodeVisibility` | *boolean* | :heavy_minus_sign: | N/A | +| `crons` | [models.UpdateProjectCrons](../models/updateprojectcrons.md) | :heavy_minus_sign: | N/A | +| `dataCache` | [models.UpdateProjectDataCache](../models/updateprojectdatacache.md) | :heavy_minus_sign: | N/A | +| `deploymentExpiration` | [models.UpdateProjectDeploymentExpiration](../models/updateprojectdeploymentexpiration.md) | :heavy_minus_sign: | N/A | +| `devCommand` | *string* | :heavy_minus_sign: | N/A | +| `directoryListing` | *boolean* | :heavy_check_mark: | N/A | +| `installCommand` | *string* | :heavy_minus_sign: | N/A | +| `env` | [models.UpdateProjectEnv](../models/updateprojectenv.md)[] | :heavy_minus_sign: | N/A | +| `customEnvironments` | [models.UpdateProjectCustomEnvironments](../models/updateprojectcustomenvironments.md)[] | :heavy_minus_sign: | N/A | +| `framework` | [models.UpdateProjectProjectsFramework](../models/updateprojectprojectsframework.md) | :heavy_minus_sign: | N/A | +| `gitForkProtection` | *boolean* | :heavy_minus_sign: | N/A | +| `gitLFS` | *boolean* | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `ipBuckets` | [models.UpdateProjectIpBuckets](../models/updateprojectipbuckets.md)[] | :heavy_minus_sign: | N/A | +| `latestDeployments` | [models.UpdateProjectLatestDeployments](../models/updateprojectlatestdeployments.md)[] | :heavy_minus_sign: | N/A | +| `link` | *models.UpdateProjectLink* | :heavy_minus_sign: | N/A | +| `microfrontends` | [models.UpdateProjectMicrofrontends](../models/updateprojectmicrofrontends.md) | :heavy_minus_sign: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `nodeVersion` | [models.UpdateProjectProjectsNodeVersion](../models/updateprojectprojectsnodeversion.md) | :heavy_check_mark: | N/A | +| `optionsAllowlist` | [models.UpdateProjectOptionsAllowlist](../models/updateprojectoptionsallowlist.md) | :heavy_minus_sign: | N/A | +| `outputDirectory` | *string* | :heavy_minus_sign: | N/A | +| `passiveConnectConfigurationId` | *string* | :heavy_minus_sign: | N/A | +| `passwordProtection` | [models.UpdateProjectPasswordProtection](../models/updateprojectpasswordprotection.md) | :heavy_minus_sign: | N/A | +| `productionDeploymentsFastLane` | *boolean* | :heavy_minus_sign: | N/A | +| `publicSource` | *boolean* | :heavy_minus_sign: | N/A | +| `resourceConfig` | [models.UpdateProjectResourceConfig](../models/updateprojectresourceconfig.md) | :heavy_minus_sign: | N/A | +| `rootDirectory` | *string* | :heavy_minus_sign: | N/A | +| `serverlessFunctionRegion` | *string* | :heavy_minus_sign: | N/A | +| `serverlessFunctionZeroConfigFailover` | *boolean* | :heavy_minus_sign: | N/A | +| `skewProtectionBoundaryAt` | *number* | :heavy_minus_sign: | N/A | +| `skewProtectionMaxAge` | *number* | :heavy_minus_sign: | N/A | +| `skipGitConnectDuringLink` | *boolean* | :heavy_minus_sign: | N/A | +| `sourceFilesOutsideRootDirectory` | *boolean* | :heavy_minus_sign: | N/A | +| `enableAffectedProjectsDeployments` | *boolean* | :heavy_minus_sign: | N/A | +| `ssoProtection` | [models.UpdateProjectSsoProtection](../models/updateprojectssoprotection.md) | :heavy_minus_sign: | N/A | +| `targets` | Record | :heavy_minus_sign: | N/A | +| `transferCompletedAt` | *number* | :heavy_minus_sign: | N/A | +| `transferStartedAt` | *number* | :heavy_minus_sign: | N/A | +| `transferToAccountId` | *string* | :heavy_minus_sign: | N/A | +| `transferredFromAccountId` | *string* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `live` | *boolean* | :heavy_minus_sign: | N/A | +| `enablePreviewFeedback` | *boolean* | :heavy_minus_sign: | N/A | +| `enableProductionFeedback` | *boolean* | :heavy_minus_sign: | N/A | +| `permissions` | [models.UpdateProjectPermissions](../models/updateprojectpermissions.md) | :heavy_minus_sign: | N/A | +| `lastRollbackTarget` | [models.UpdateProjectLastRollbackTarget](../models/updateprojectlastrollbacktarget.md) | :heavy_minus_sign: | N/A | +| `lastAliasRequest` | [models.UpdateProjectLastAliasRequest](../models/updateprojectlastaliasrequest.md) | :heavy_minus_sign: | N/A | +| `hasFloatingAliases` | *boolean* | :heavy_minus_sign: | N/A | +| `protectionBypass` | Record | :heavy_minus_sign: | N/A | +| `hasActiveBranches` | *boolean* | :heavy_minus_sign: | N/A | +| `trustedIps` | *models.UpdateProjectTrustedIps* | :heavy_minus_sign: | N/A | +| `gitComments` | [models.UpdateProjectGitComments](../models/updateprojectgitcomments.md) | :heavy_minus_sign: | N/A | +| `paused` | *boolean* | :heavy_minus_sign: | N/A | +| `concurrencyBucketName` | *string* | :heavy_minus_sign: | N/A | +| `webAnalytics` | [models.UpdateProjectWebAnalytics](../models/updateprojectwebanalytics.md) | :heavy_minus_sign: | N/A | +| `security` | [models.UpdateProjectSecurity](../models/updateprojectsecurity.md) | :heavy_minus_sign: | N/A | +| `oidcTokenConfig` | [models.UpdateProjectProjectsOidcTokenConfig](../models/updateprojectprojectsoidctokenconfig.md) | :heavy_minus_sign: | N/A | +| `tier` | [models.UpdateProjectTier](../models/updateprojecttier.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectscope.md b/docs/models/updateprojectscope.md new file mode 100644 index 00000000..cd798e6c --- /dev/null +++ b/docs/models/updateprojectscope.md @@ -0,0 +1,15 @@ +# UpdateProjectScope + +## Example Usage + +```typescript +import { UpdateProjectScope } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectScope = "automation-bypass"; +``` + +## Values + +```typescript +"automation-bypass" +``` \ No newline at end of file diff --git a/docs/models/updateprojectsecurity.md b/docs/models/updateprojectsecurity.md new file mode 100644 index 00000000..1036f433 --- /dev/null +++ b/docs/models/updateprojectsecurity.md @@ -0,0 +1,25 @@ +# UpdateProjectSecurity + +## Example Usage + +```typescript +import { UpdateProjectSecurity } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectSecurity = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `attackModeEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `attackModeUpdatedAt` | *number* | :heavy_minus_sign: | N/A | +| `firewallEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `firewallUpdatedAt` | *number* | :heavy_minus_sign: | N/A | +| `attackModeActiveUntil` | *number* | :heavy_minus_sign: | N/A | +| `firewallConfigVersion` | *number* | :heavy_minus_sign: | N/A | +| `firewallRoutes` | [models.UpdateProjectFirewallRoutes](../models/updateprojectfirewallroutes.md)[] | :heavy_minus_sign: | N/A | +| `firewallSeawallEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `ja3Enabled` | *boolean* | :heavy_minus_sign: | N/A | +| `ja4Enabled` | *boolean* | :heavy_minus_sign: | N/A | +| `firewallBypassIps` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojectspeedinsights.md b/docs/models/updateprojectspeedinsights.md similarity index 89% rename from docs/models/operations/updateprojectspeedinsights.md rename to docs/models/updateprojectspeedinsights.md index 2a9a5f01..c123a501 100644 --- a/docs/models/operations/updateprojectspeedinsights.md +++ b/docs/models/updateprojectspeedinsights.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectSpeedInsights } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectSpeedInsights } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectSpeedInsights = { id: "", diff --git a/docs/models/updateprojectsrc.md b/docs/models/updateprojectsrc.md new file mode 100644 index 00000000..388fecbb --- /dev/null +++ b/docs/models/updateprojectsrc.md @@ -0,0 +1,17 @@ +# UpdateProjectSrc + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.UpdateProjectSrc2` + +```typescript +const value: models.UpdateProjectSrc2 = {}; +``` + diff --git a/docs/models/operations/updateprojectsrc2.md b/docs/models/updateprojectsrc2.md similarity index 93% rename from docs/models/operations/updateprojectsrc2.md rename to docs/models/updateprojectsrc2.md index 14ff925e..c93097fe 100644 --- a/docs/models/operations/updateprojectsrc2.md +++ b/docs/models/updateprojectsrc2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectSrc2 } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectSrc2 } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectSrc2 = {}; ``` diff --git a/docs/models/updateprojectssoprotection.md b/docs/models/updateprojectssoprotection.md new file mode 100644 index 00000000..f68f83da --- /dev/null +++ b/docs/models/updateprojectssoprotection.md @@ -0,0 +1,17 @@ +# UpdateProjectSsoProtection + +## Example Usage + +```typescript +import { UpdateProjectSsoProtection } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectSsoProtection = { + deploymentType: "all", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `deploymentType` | [models.UpdateProjectProjectsResponseDeploymentType](../models/updateprojectprojectsresponsedeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojecttarget.md b/docs/models/updateprojecttarget.md new file mode 100644 index 00000000..32a9e169 --- /dev/null +++ b/docs/models/updateprojecttarget.md @@ -0,0 +1,19 @@ +# UpdateProjectTarget + + +## Supported Types + +### `string[]` + +```typescript +const value: string[] = [ + "", +]; +``` + +### `models.UpdateProjectTarget2` + +```typescript +const value: models.UpdateProjectTarget2 = "development"; +``` + diff --git a/docs/models/updateprojecttarget2.md b/docs/models/updateprojecttarget2.md new file mode 100644 index 00000000..1ef83767 --- /dev/null +++ b/docs/models/updateprojecttarget2.md @@ -0,0 +1,15 @@ +# UpdateProjectTarget2 + +## Example Usage + +```typescript +import { UpdateProjectTarget2 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectTarget2 = "production"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/updateprojecttargets.md b/docs/models/updateprojecttargets.md new file mode 100644 index 00000000..beb73f55 --- /dev/null +++ b/docs/models/updateprojecttargets.md @@ -0,0 +1,68 @@ +# UpdateProjectTargets + +## Example Usage + +```typescript +import { UpdateProjectTargets } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectTargets = { + id: "", + createdAt: 5173.26, + createdIn: "", + creator: { + email: "Stephanie3@yahoo.com", + uid: "", + username: "Curt.Baumbach", + }, + deploymentHostname: "", + name: "", + plan: "hobby", + previewCommentsEnabled: false, + private: false, + readyState: "ERROR", + type: "LAMBDAS", + url: "https://gracious-silk.com/", + userId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `alias` | *string*[] | :heavy_minus_sign: | N/A | | +| `aliasAssigned` | *models.UpdateProjectProjectsAliasAssigned* | :heavy_minus_sign: | N/A | | +| `aliasError` | [models.UpdateProjectProjectsAliasError](../models/updateprojectprojectsaliaserror.md) | :heavy_minus_sign: | N/A | | +| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | | +| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | | +| `branchMatcher` | [models.UpdateProjectProjectsBranchMatcher](../models/updateprojectprojectsbranchmatcher.md) | :heavy_minus_sign: | N/A | | +| `buildingAt` | *number* | :heavy_minus_sign: | N/A | | +| `builds` | [models.UpdateProjectProjectsBuilds](../models/updateprojectprojectsbuilds.md)[] | :heavy_minus_sign: | N/A | | +| `checksConclusion` | [models.UpdateProjectProjectsChecksConclusion](../models/updateprojectprojectschecksconclusion.md) | :heavy_minus_sign: | N/A | | +| `checksState` | [models.UpdateProjectProjectsChecksState](../models/updateprojectprojectschecksstate.md) | :heavy_minus_sign: | N/A | | +| `connectBuildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | | +| `connectConfigurationId` | *string* | :heavy_minus_sign: | N/A | | +| `createdAt` | *number* | :heavy_check_mark: | N/A | | +| `createdIn` | *string* | :heavy_check_mark: | N/A | | +| `creator` | [models.UpdateProjectProjectsCreator](../models/updateprojectprojectscreator.md) | :heavy_check_mark: | N/A | | +| `deletedAt` | *number* | :heavy_minus_sign: | N/A | | +| `deploymentHostname` | *string* | :heavy_check_mark: | N/A | | +| `forced` | *boolean* | :heavy_minus_sign: | N/A | | +| `name` | *string* | :heavy_check_mark: | N/A | | +| `meta` | Record | :heavy_minus_sign: | N/A | | +| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | | +| `oidcTokenClaims` | [models.UpdateProjectProjectsOidcTokenClaims](../models/updateprojectprojectsoidctokenclaims.md) | :heavy_minus_sign: | N/A | | +| `plan` | [models.UpdateProjectProjectsPlan](../models/updateprojectprojectsplan.md) | :heavy_check_mark: | N/A | | +| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | +| `private` | *boolean* | :heavy_check_mark: | N/A | | +| `readyAt` | *number* | :heavy_minus_sign: | N/A | | +| `readyState` | [models.UpdateProjectProjectsReadyState](../models/updateprojectprojectsreadystate.md) | :heavy_check_mark: | N/A | | +| `readySubstate` | [models.UpdateProjectProjectsReadySubstate](../models/updateprojectprojectsreadysubstate.md) | :heavy_minus_sign: | N/A | | +| `requestedAt` | *number* | :heavy_minus_sign: | N/A | | +| `target` | *string* | :heavy_minus_sign: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | | +| `type` | [models.UpdateProjectProjectsResponseType](../models/updateprojectprojectsresponsetype.md) | :heavy_check_mark: | N/A | | +| `url` | *string* | :heavy_check_mark: | N/A | | +| `userId` | *string* | :heavy_check_mark: | N/A | | +| `withCache` | *boolean* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/updateprojecttier.md b/docs/models/updateprojecttier.md new file mode 100644 index 00000000..4ad0fceb --- /dev/null +++ b/docs/models/updateprojecttier.md @@ -0,0 +1,15 @@ +# UpdateProjectTier + +## Example Usage + +```typescript +import { UpdateProjectTier } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectTier = "standard"; +``` + +## Values + +```typescript +"standard" | "advanced" | "critical" +``` \ No newline at end of file diff --git a/docs/models/updateprojecttrustedips.md b/docs/models/updateprojecttrustedips.md new file mode 100644 index 00000000..c8b6abe0 --- /dev/null +++ b/docs/models/updateprojecttrustedips.md @@ -0,0 +1,27 @@ +# UpdateProjectTrustedIps + + +## Supported Types + +### `models.UpdateProjectTrustedIps1` + +```typescript +const value: models.UpdateProjectTrustedIps1 = { + deploymentType: "preview", + addresses: [ + { + value: "", + }, + ], + protectionMode: "additional", +}; +``` + +### `models.UpdateProjectTrustedIps2` + +```typescript +const value: models.UpdateProjectTrustedIps2 = { + deploymentType: "preview", +}; +``` + diff --git a/docs/models/updateprojecttrustedips1.md b/docs/models/updateprojecttrustedips1.md new file mode 100644 index 00000000..7ff0ddf0 --- /dev/null +++ b/docs/models/updateprojecttrustedips1.md @@ -0,0 +1,25 @@ +# UpdateProjectTrustedIps1 + +## Example Usage + +```typescript +import { UpdateProjectTrustedIps1 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectTrustedIps1 = { + deploymentType: "prod_deployment_urls_and_all_previews", + addresses: [ + { + value: "", + }, + ], + protectionMode: "additional", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `deploymentType` | [models.UpdateProjectTrustedIpsDeploymentType](../models/updateprojecttrustedipsdeploymenttype.md) | :heavy_check_mark: | N/A | +| `addresses` | [models.UpdateProjectTrustedIpsAddresses](../models/updateprojecttrustedipsaddresses.md)[] | :heavy_check_mark: | N/A | +| `protectionMode` | [models.UpdateProjectTrustedIpsProtectionMode](../models/updateprojecttrustedipsprotectionmode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojecttrustedips2.md b/docs/models/updateprojecttrustedips2.md new file mode 100644 index 00000000..ab5df100 --- /dev/null +++ b/docs/models/updateprojecttrustedips2.md @@ -0,0 +1,17 @@ +# UpdateProjectTrustedIps2 + +## Example Usage + +```typescript +import { UpdateProjectTrustedIps2 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectTrustedIps2 = { + deploymentType: "all", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `deploymentType` | [models.UpdateProjectTrustedIpsProjectsDeploymentType](../models/updateprojecttrustedipsprojectsdeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateprojecttrustedipsaddresses.md b/docs/models/updateprojecttrustedipsaddresses.md similarity index 94% rename from docs/models/operations/updateprojecttrustedipsaddresses.md rename to docs/models/updateprojecttrustedipsaddresses.md index 9c2acb58..c67da69f 100644 --- a/docs/models/operations/updateprojecttrustedipsaddresses.md +++ b/docs/models/updateprojecttrustedipsaddresses.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectTrustedIpsAddresses } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectTrustedIpsAddresses } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectTrustedIpsAddresses = { value: "", diff --git a/docs/models/operations/updateprojecttrustedipsdeploymenttype.md b/docs/models/updateprojecttrustedipsdeploymenttype.md similarity index 89% rename from docs/models/operations/updateprojecttrustedipsdeploymenttype.md rename to docs/models/updateprojecttrustedipsdeploymenttype.md index 11476517..ca099793 100644 --- a/docs/models/operations/updateprojecttrustedipsdeploymenttype.md +++ b/docs/models/updateprojecttrustedipsdeploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectTrustedIpsDeploymentType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectTrustedIpsDeploymentType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectTrustedIpsDeploymentType = "prod_deployment_urls_and_all_previews"; diff --git a/docs/models/operations/updateprojecttrustedipsprojectsdeploymenttype.md b/docs/models/updateprojecttrustedipsprojectsdeploymenttype.md similarity index 87% rename from docs/models/operations/updateprojecttrustedipsprojectsdeploymenttype.md rename to docs/models/updateprojecttrustedipsprojectsdeploymenttype.md index c3593e96..42147ff2 100644 --- a/docs/models/operations/updateprojecttrustedipsprojectsdeploymenttype.md +++ b/docs/models/updateprojecttrustedipsprojectsdeploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectTrustedIpsProjectsDeploymentType } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectTrustedIpsProjectsDeploymentType } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectTrustedIpsProjectsDeploymentType = "preview"; ``` diff --git a/docs/models/operations/updateprojecttrustedipsprotectionmode.md b/docs/models/updateprojecttrustedipsprotectionmode.md similarity index 86% rename from docs/models/operations/updateprojecttrustedipsprotectionmode.md rename to docs/models/updateprojecttrustedipsprotectionmode.md index 5e9ab3f7..974835b2 100644 --- a/docs/models/operations/updateprojecttrustedipsprotectionmode.md +++ b/docs/models/updateprojecttrustedipsprotectionmode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectTrustedIpsProtectionMode } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectTrustedIpsProtectionMode } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectTrustedIpsProtectionMode = "additional"; ``` diff --git a/docs/models/updateprojecttype.md b/docs/models/updateprojecttype.md new file mode 100644 index 00000000..f8a4221d --- /dev/null +++ b/docs/models/updateprojecttype.md @@ -0,0 +1,15 @@ +# UpdateProjectType + +## Example Usage + +```typescript +import { UpdateProjectType } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectType = "system"; +``` + +## Values + +```typescript +"system" | "secret" | "encrypted" | "plain" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/updateprojectvalue.md b/docs/models/updateprojectvalue.md new file mode 100644 index 00000000..ea32cf8a --- /dev/null +++ b/docs/models/updateprojectvalue.md @@ -0,0 +1,17 @@ +# UpdateProjectValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.UpdateProjectValue2` + +```typescript +const value: models.UpdateProjectValue2 = {}; +``` + diff --git a/docs/models/operations/updateprojectvalue2.md b/docs/models/updateprojectvalue2.md similarity index 93% rename from docs/models/operations/updateprojectvalue2.md rename to docs/models/updateprojectvalue2.md index c6a37df9..d7ed8329 100644 --- a/docs/models/operations/updateprojectvalue2.md +++ b/docs/models/updateprojectvalue2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectValue2 } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectValue2 } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectValue2 = {}; ``` diff --git a/docs/models/operations/updateprojectvalueprojects2.md b/docs/models/updateprojectvalueprojects2.md similarity index 97% rename from docs/models/operations/updateprojectvalueprojects2.md rename to docs/models/updateprojectvalueprojects2.md index 77be48d3..046fe869 100644 --- a/docs/models/operations/updateprojectvalueprojects2.md +++ b/docs/models/updateprojectvalueprojects2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectValueProjects2 } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectValueProjects2 } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectValueProjects2 = {}; ``` diff --git a/docs/models/operations/updateprojectwebanalytics.md b/docs/models/updateprojectwebanalytics.md similarity index 88% rename from docs/models/operations/updateprojectwebanalytics.md rename to docs/models/updateprojectwebanalytics.md index 26594ddc..8eecd2b3 100644 --- a/docs/models/operations/updateprojectwebanalytics.md +++ b/docs/models/updateprojectwebanalytics.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateProjectWebAnalytics } from "@vercel/sdk/models/operations/updateproject.js"; +import { UpdateProjectWebAnalytics } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectWebAnalytics = { id: "", diff --git a/docs/models/updaterecorddnstype.md b/docs/models/updaterecorddnstype.md new file mode 100644 index 00000000..1d5257f9 --- /dev/null +++ b/docs/models/updaterecorddnstype.md @@ -0,0 +1,15 @@ +# UpdateRecordDnsType + +## Example Usage + +```typescript +import { UpdateRecordDnsType } from "@vercel/sdk/models/updaterecordop.js"; + +let value: UpdateRecordDnsType = "record"; +``` + +## Values + +```typescript +"record" | "record-sys" +``` \ No newline at end of file diff --git a/docs/models/updaterecordrequest.md b/docs/models/updaterecordrequest.md new file mode 100644 index 00000000..026c184e --- /dev/null +++ b/docs/models/updaterecordrequest.md @@ -0,0 +1,37 @@ +# UpdateRecordRequest + +## Example Usage + +```typescript +import { UpdateRecordRequest } from "@vercel/sdk/models/updaterecordop.js"; + +let value: UpdateRecordRequest = { + recordId: "rec_2qn7pzrx89yxy34vezpd31y9", + requestBody: { + name: "example-1", + value: "google.com", + type: "A", + ttl: 60, + srv: { + target: "example2.com.", + weight: 131576, + port: 48519, + priority: 821016, + }, + https: { + priority: 373054, + target: "example2.com.", + }, + comment: "used to verify ownership of domain", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `recordId` | *string* | :heavy_check_mark: | The id of the DNS record | rec_2qn7pzrx89yxy34vezpd31y9 | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | +| `requestBody` | [models.UpdateRecordRequestBody](../models/updaterecordrequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/updaterecordrequestbody.md b/docs/models/updaterecordrequestbody.md new file mode 100644 index 00000000..dac9b1b9 --- /dev/null +++ b/docs/models/updaterecordrequestbody.md @@ -0,0 +1,38 @@ +# UpdateRecordRequestBody + +## Example Usage + +```typescript +import { UpdateRecordRequestBody } from "@vercel/sdk/models/updaterecordop.js"; + +let value: UpdateRecordRequestBody = { + name: "example-1", + value: "google.com", + type: "A", + ttl: 60, + srv: { + target: "example2.com.", + weight: 586717, + port: 38545, + priority: 34267, + }, + https: { + priority: 998527, + target: "example2.com.", + }, + comment: "used to verify ownership of domain", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | The name of the DNS record | example-1 | +| `value` | *string* | :heavy_minus_sign: | The value of the DNS record | google.com | +| `type` | [models.UpdateRecordType](../models/updaterecordtype.md) | :heavy_minus_sign: | The type of the DNS record | A | +| `ttl` | *number* | :heavy_minus_sign: | The Time to live (TTL) value of the DNS record | 60 | +| `mxPriority` | *number* | :heavy_minus_sign: | The MX priority value of the DNS record | | +| `srv` | [models.Srv](../models/srv.md) | :heavy_minus_sign: | N/A | | +| `https` | [models.Https](../models/https.md) | :heavy_minus_sign: | N/A | | +| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this DNS record is for | used to verify ownership of domain | \ No newline at end of file diff --git a/docs/models/updaterecordresponsebody.md b/docs/models/updaterecordresponsebody.md new file mode 100644 index 00000000..ba22ef50 --- /dev/null +++ b/docs/models/updaterecordresponsebody.md @@ -0,0 +1,32 @@ +# UpdateRecordResponseBody + +## Example Usage + +```typescript +import { UpdateRecordResponseBody } from "@vercel/sdk/models/updaterecordop.js"; + +let value: UpdateRecordResponseBody = { + creator: "", + domain: "simplistic-igloo.net", + id: "", + name: "", + recordType: "NS", + type: "record", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `creator` | *string* | :heavy_check_mark: | N/A | +| `domain` | *string* | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `recordType` | [models.RecordType](../models/recordtype.md) | :heavy_check_mark: | N/A | +| `ttl` | *number* | :heavy_minus_sign: | N/A | +| `type` | [models.UpdateRecordDnsType](../models/updaterecorddnstype.md) | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `comment` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updaterecordtype.md b/docs/models/updaterecordtype.md new file mode 100644 index 00000000..899e7d60 --- /dev/null +++ b/docs/models/updaterecordtype.md @@ -0,0 +1,17 @@ +# UpdateRecordType + +The type of the DNS record + +## Example Usage + +```typescript +import { UpdateRecordType } from "@vercel/sdk/models/updaterecordop.js"; + +let value: UpdateRecordType = "A"; +``` + +## Values + +```typescript +"A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "HTTPS" | "MX" | "SRV" | "TXT" | "NS" +``` \ No newline at end of file diff --git a/docs/models/updateresourcesecretsrequest.md b/docs/models/updateresourcesecretsrequest.md new file mode 100644 index 00000000..4b0be7f7 --- /dev/null +++ b/docs/models/updateresourcesecretsrequest.md @@ -0,0 +1,30 @@ +# UpdateResourceSecretsRequest + +## Example Usage + +```typescript +import { UpdateResourceSecretsRequest } from "@vercel/sdk/models/updateresourcesecretsop.js"; + +let value: UpdateResourceSecretsRequest = { + integrationConfigurationId: "", + integrationProductIdOrSlug: "", + resourceId: "", + requestBody: { + secrets: [ + { + name: "", + value: "", + }, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductIdOrSlug` | *string* | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [models.UpdateResourceSecretsRequestBody](../models/updateresourcesecretsrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateresourcesecretsrequestbody.md b/docs/models/updateresourcesecretsrequestbody.md new file mode 100644 index 00000000..2bb51420 --- /dev/null +++ b/docs/models/updateresourcesecretsrequestbody.md @@ -0,0 +1,22 @@ +# UpdateResourceSecretsRequestBody + +## Example Usage + +```typescript +import { UpdateResourceSecretsRequestBody } from "@vercel/sdk/models/updateresourcesecretsop.js"; + +let value: UpdateResourceSecretsRequestBody = { + secrets: [ + { + name: "", + value: "", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `secrets` | [models.Secrets](../models/secrets.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateteammemberjoinedfrom.md b/docs/models/updateteammemberjoinedfrom.md similarity index 79% rename from docs/models/operations/updateteammemberjoinedfrom.md rename to docs/models/updateteammemberjoinedfrom.md index fde9dd23..e951b6b5 100644 --- a/docs/models/operations/updateteammemberjoinedfrom.md +++ b/docs/models/updateteammemberjoinedfrom.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateTeamMemberJoinedFrom } from "@vercel/sdk/models/operations/updateteammember.js"; +import { UpdateTeamMemberJoinedFrom } from "@vercel/sdk/models/updateteammemberop.js"; let value: UpdateTeamMemberJoinedFrom = {}; ``` diff --git a/docs/models/operations/updateteammemberprojects.md b/docs/models/updateteammemberprojects.md similarity index 90% rename from docs/models/operations/updateteammemberprojects.md rename to docs/models/updateteammemberprojects.md index 05fa6b6d..a2ab5d8b 100644 --- a/docs/models/operations/updateteammemberprojects.md +++ b/docs/models/updateteammemberprojects.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateTeamMemberProjects } from "@vercel/sdk/models/operations/updateteammember.js"; +import { UpdateTeamMemberProjects } from "@vercel/sdk/models/updateteammemberop.js"; let value: UpdateTeamMemberProjects = { projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", @@ -16,4 +16,4 @@ let value: UpdateTeamMemberProjects = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | | `projectId` | *string* | :heavy_check_mark: | The ID of the project. | prj_ndlgr43fadlPyCtREAqxxdyFK | -| `role` | [operations.UpdateTeamMemberRole](../../models/operations/updateteammemberrole.md) | :heavy_check_mark: | The project role of the member that will be added. \"null\" will remove this project level role. | ADMIN | \ No newline at end of file +| `role` | [models.UpdateTeamMemberRole](../models/updateteammemberrole.md) | :heavy_check_mark: | The project role of the member that will be added. \"null\" will remove this project level role. | ADMIN | \ No newline at end of file diff --git a/docs/models/updateteammemberrequest.md b/docs/models/updateteammemberrequest.md new file mode 100644 index 00000000..efaac2dc --- /dev/null +++ b/docs/models/updateteammemberrequest.md @@ -0,0 +1,30 @@ +# UpdateTeamMemberRequest + +## Example Usage + +```typescript +import { UpdateTeamMemberRequest } from "@vercel/sdk/models/updateteammemberop.js"; + +let value: UpdateTeamMemberRequest = { + uid: "ndfasllgPyCtREAqxxdyFKb", + teamId: "", + requestBody: { + confirmed: true, + role: "[\"MEMBER\",\"VIEWER\"]", + projects: [ + { + projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", + role: "ADMIN", + }, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `uid` | *string* | :heavy_check_mark: | The ID of the member. | ndfasllgPyCtREAqxxdyFKb | +| `teamId` | *string* | :heavy_check_mark: | N/A | | +| `requestBody` | [models.UpdateTeamMemberRequestBody](../models/updateteammemberrequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/updateteammemberrequestbody.md b/docs/models/updateteammemberrequestbody.md new file mode 100644 index 00000000..ee27f5be --- /dev/null +++ b/docs/models/updateteammemberrequestbody.md @@ -0,0 +1,27 @@ +# UpdateTeamMemberRequestBody + +## Example Usage + +```typescript +import { UpdateTeamMemberRequestBody } from "@vercel/sdk/models/updateteammemberop.js"; + +let value: UpdateTeamMemberRequestBody = { + confirmed: true, + role: "[\"MEMBER\",\"VIEWER\"]", + projects: [ + { + projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", + role: "ADMIN", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `confirmed` | *boolean* | :heavy_minus_sign: | Accept a user who requested access to the team. | true | +| `role` | *string* | :heavy_minus_sign: | The role in the team of the member. | [
"MEMBER",
"VIEWER"
] | +| `projects` | [models.UpdateTeamMemberProjects](../models/updateteammemberprojects.md)[] | :heavy_minus_sign: | N/A | | +| `joinedFrom` | [models.UpdateTeamMemberJoinedFrom](../models/updateteammemberjoinedfrom.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/updateteammemberresponsebody.md b/docs/models/updateteammemberresponsebody.md similarity index 93% rename from docs/models/operations/updateteammemberresponsebody.md rename to docs/models/updateteammemberresponsebody.md index 7616bc93..803b291a 100644 --- a/docs/models/operations/updateteammemberresponsebody.md +++ b/docs/models/updateteammemberresponsebody.md @@ -5,7 +5,7 @@ Successfully updated the membership. ## Example Usage ```typescript -import { UpdateTeamMemberResponseBody } from "@vercel/sdk/models/operations/updateteammember.js"; +import { UpdateTeamMemberResponseBody } from "@vercel/sdk/models/updateteammemberop.js"; let value: UpdateTeamMemberResponseBody = { id: "", diff --git a/docs/models/operations/updateteammemberrole.md b/docs/models/updateteammemberrole.md similarity index 75% rename from docs/models/operations/updateteammemberrole.md rename to docs/models/updateteammemberrole.md index 62132afa..b919706a 100644 --- a/docs/models/operations/updateteammemberrole.md +++ b/docs/models/updateteammemberrole.md @@ -5,7 +5,7 @@ The project role of the member that will be added. \"null\" will remove this pro ## Example Usage ```typescript -import { UpdateTeamMemberRole } from "@vercel/sdk/models/operations/updateteammember.js"; +import { UpdateTeamMemberRole } from "@vercel/sdk/models/updateteammemberop.js"; let value: UpdateTeamMemberRole = "ADMIN"; ``` diff --git a/docs/models/operations/uploadartifactrequest.md b/docs/models/uploadartifactrequest.md similarity index 98% rename from docs/models/operations/uploadartifactrequest.md rename to docs/models/uploadartifactrequest.md index ed503b54..9fb95f8b 100644 --- a/docs/models/operations/uploadartifactrequest.md +++ b/docs/models/uploadartifactrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UploadArtifactRequest } from "@vercel/sdk/models/operations/uploadartifact.js"; +import { UploadArtifactRequest } from "@vercel/sdk/models/uploadartifactop.js"; // No examples available for this model ``` @@ -20,4 +20,4 @@ import { UploadArtifactRequest } from "@vercel/sdk/models/operations/uploadartif | `hash` | *string* | :heavy_check_mark: | The artifact hash | 12HKQaOmR5t5Uy6vdcQsNIiZgHGB | | `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | | `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | -| `requestBody` | *ReadableStream* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `requestBody` | *ReadableStream* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/uploadartifactresponsebody.md b/docs/models/uploadartifactresponsebody.md similarity index 93% rename from docs/models/operations/uploadartifactresponsebody.md rename to docs/models/uploadartifactresponsebody.md index d4737258..5b1383c3 100644 --- a/docs/models/operations/uploadartifactresponsebody.md +++ b/docs/models/uploadartifactresponsebody.md @@ -5,7 +5,7 @@ File successfully uploaded ## Example Usage ```typescript -import { UploadArtifactResponseBody } from "@vercel/sdk/models/operations/uploadartifact.js"; +import { UploadArtifactResponseBody } from "@vercel/sdk/models/uploadartifactop.js"; let value: UploadArtifactResponseBody = { urls: [ diff --git a/docs/models/uploadcertrequest.md b/docs/models/uploadcertrequest.md new file mode 100644 index 00000000..0bcfeb9c --- /dev/null +++ b/docs/models/uploadcertrequest.md @@ -0,0 +1,23 @@ +# UploadCertRequest + +## Example Usage + +```typescript +import { UploadCertRequest } from "@vercel/sdk/models/uploadcertop.js"; + +let value: UploadCertRequest = { + requestBody: { + ca: "", + key: "", + cert: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | +| `requestBody` | [models.UploadCertRequestBody](../models/uploadcertrequestbody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/uploadcertrequestbody.md b/docs/models/uploadcertrequestbody.md similarity index 92% rename from docs/models/operations/uploadcertrequestbody.md rename to docs/models/uploadcertrequestbody.md index ac879be8..095ab0e3 100644 --- a/docs/models/operations/uploadcertrequestbody.md +++ b/docs/models/uploadcertrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UploadCertRequestBody } from "@vercel/sdk/models/operations/uploadcert.js"; +import { UploadCertRequestBody } from "@vercel/sdk/models/uploadcertop.js"; let value: UploadCertRequestBody = { ca: "", diff --git a/docs/models/operations/uploadcertresponsebody.md b/docs/models/uploadcertresponsebody.md similarity index 85% rename from docs/models/operations/uploadcertresponsebody.md rename to docs/models/uploadcertresponsebody.md index 221ac942..b17af5e4 100644 --- a/docs/models/operations/uploadcertresponsebody.md +++ b/docs/models/uploadcertresponsebody.md @@ -3,12 +3,12 @@ ## Example Usage ```typescript -import { UploadCertResponseBody } from "@vercel/sdk/models/operations/uploadcert.js"; +import { UploadCertResponseBody } from "@vercel/sdk/models/uploadcertop.js"; let value: UploadCertResponseBody = { id: "", - createdAt: 8241.05, - expiresAt: 1777.17, + createdAt: 8579.79, + expiresAt: 4533.04, autoRenew: false, cns: [ "", diff --git a/docs/models/operations/uploadedfile.md b/docs/models/uploadedfile.md similarity index 95% rename from docs/models/operations/uploadedfile.md rename to docs/models/uploadedfile.md index adddfc1a..08d1a89c 100644 --- a/docs/models/operations/uploadedfile.md +++ b/docs/models/uploadedfile.md @@ -5,7 +5,7 @@ Used in the case you want to reference a file that was already uploaded ## Example Usage ```typescript -import { UploadedFile } from "@vercel/sdk/models/operations/createdeployment.js"; +import { UploadedFile } from "@vercel/sdk/models/createdeploymentop.js"; let value: UploadedFile = { file: "folder/file.js", diff --git a/docs/models/operations/uploadfilerequest.md b/docs/models/uploadfilerequest.md similarity index 96% rename from docs/models/operations/uploadfilerequest.md rename to docs/models/uploadfilerequest.md index 1d1708d0..79f115ca 100644 --- a/docs/models/operations/uploadfilerequest.md +++ b/docs/models/uploadfilerequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UploadFileRequest } from "@vercel/sdk/models/operations/uploadfile.js"; +import { UploadFileRequest } from "@vercel/sdk/models/uploadfileop.js"; let value: UploadFileRequest = {}; ``` diff --git a/docs/models/uploadfileresponsebody.md b/docs/models/uploadfileresponsebody.md new file mode 100644 index 00000000..516cdbc5 --- /dev/null +++ b/docs/models/uploadfileresponsebody.md @@ -0,0 +1,24 @@ +# UploadFileResponseBody + +File already uploaded +File successfully uploaded + + +## Supported Types + +### `models.UploadFileResponseBody1` + +```typescript +const value: models.UploadFileResponseBody1 = { + urls: [ + "example-upload.aws.com", + ], +}; +``` + +### `models.UploadFileResponseBody2` + +```typescript +const value: models.UploadFileResponseBody2 = {}; +``` + diff --git a/docs/models/operations/uploadfileresponsebody1.md b/docs/models/uploadfileresponsebody1.md similarity index 90% rename from docs/models/operations/uploadfileresponsebody1.md rename to docs/models/uploadfileresponsebody1.md index 599cdc21..e1c62888 100644 --- a/docs/models/operations/uploadfileresponsebody1.md +++ b/docs/models/uploadfileresponsebody1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UploadFileResponseBody1 } from "@vercel/sdk/models/operations/uploadfile.js"; +import { UploadFileResponseBody1 } from "@vercel/sdk/models/uploadfileop.js"; let value: UploadFileResponseBody1 = { urls: [ diff --git a/docs/models/uploadfileresponsebody2.md b/docs/models/uploadfileresponsebody2.md new file mode 100644 index 00000000..07da375e --- /dev/null +++ b/docs/models/uploadfileresponsebody2.md @@ -0,0 +1,14 @@ +# UploadFileResponseBody2 + +## Example Usage + +```typescript +import { UploadFileResponseBody2 } from "@vercel/sdk/models/uploadfileop.js"; + +let value: UploadFileResponseBody2 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/usage.md b/docs/models/usage.md similarity index 97% rename from docs/models/operations/usage.md rename to docs/models/usage.md index 09d3cee0..b69607c4 100644 --- a/docs/models/operations/usage.md +++ b/docs/models/usage.md @@ -3,15 +3,15 @@ ## Example Usage ```typescript -import { Usage } from "@vercel/sdk/models/operations/submitbillingdata.js"; +import { Usage } from "@vercel/sdk/models/submitbillingdataop.js"; let value: Usage = { resourceId: "", name: "", - type: "interval", + type: "total", units: "", - dayValue: 7594.50, - periodValue: 1782.01, + dayValue: 5025.09, + periodValue: 283.63, }; ``` @@ -21,7 +21,7 @@ let value: Usage = { | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `resourceId` | *string* | :heavy_check_mark: | Partner's resource ID. | | `name` | *string* | :heavy_check_mark: | Metric name. | -| `type` | [operations.SubmitBillingDataType](../../models/operations/submitbillingdatatype.md) | :heavy_check_mark: | \n Type of the metric.\n - total: measured total value, such as Database size\n - interval: usage during the period, such as i/o or number of queries.\n - rate: rate of usage, such as queries per second.\n | +| `type` | [models.SubmitBillingDataType](../models/submitbillingdatatype.md) | :heavy_check_mark: | \n Type of the metric.\n - total: measured total value, such as Database size\n - interval: usage during the period, such as i/o or number of queries.\n - rate: rate of usage, such as queries per second.\n | | `units` | *string* | :heavy_check_mark: | Metric units. Example: \"GB\" | | `dayValue` | *number* | :heavy_check_mark: | Metric value for the day. Could be a final or an interim value for the day. | | `periodValue` | *number* | :heavy_check_mark: | Metric value for the billing period. Could be a final or an interim value for the period. | diff --git a/docs/models/operations/user.md b/docs/models/user.md similarity index 80% rename from docs/models/operations/user.md rename to docs/models/user.md index c773658a..61881ddf 100644 --- a/docs/models/operations/user.md +++ b/docs/models/user.md @@ -3,13 +3,13 @@ ## Supported Types -### `components.AuthUser` +### `models.AuthUser` ```typescript -const value: components.AuthUser = { +const value: models.AuthUser = { createdAt: 1630748523395, softBlock: { - blockedAt: 7674.66, + blockedAt: 1095.70, reason: "ENTERPRISE_TRIAL_ENDED", }, billing: {}, @@ -26,10 +26,10 @@ const value: components.AuthUser = { }; ``` -### `components.AuthUserLimited` +### `models.AuthUserLimited` ```typescript -const value: components.AuthUserLimited = { +const value: models.AuthUserLimited = { limited: false, id: "AEIIDYVk59zbFF2Sxfyxxmua", email: "me@example.com", diff --git a/docs/models/components/userevent.md b/docs/models/userevent.md similarity index 77% rename from docs/models/components/userevent.md rename to docs/models/userevent.md index 591bc35a..373e50ca 100644 --- a/docs/models/components/userevent.md +++ b/docs/models/userevent.md @@ -5,7 +5,7 @@ Array of events generated by the User. ## Example Usage ```typescript -import { UserEvent } from "@vercel/sdk/models/components/userevent.js"; +import { UserEvent } from "@vercel/sdk/models/userevent.js"; let value: UserEvent = {}; ``` diff --git a/docs/models/operations/utm.md b/docs/models/utm.md similarity index 89% rename from docs/models/operations/utm.md rename to docs/models/utm.md index 1fe5f896..a2173edc 100644 --- a/docs/models/operations/utm.md +++ b/docs/models/utm.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Utm } from "@vercel/sdk/models/operations/createteam.js"; +import { Utm } from "@vercel/sdk/models/createteamop.js"; let value: Utm = {}; ``` diff --git a/docs/models/vercelbadrequesterror.md b/docs/models/vercelbadrequesterror.md new file mode 100644 index 00000000..403eda92 --- /dev/null +++ b/docs/models/vercelbadrequesterror.md @@ -0,0 +1,15 @@ +# VercelBadRequestError + +## Example Usage + +```typescript +import { VercelBadRequestError } from "@vercel/sdk/models/vercelbadrequesterror.js"; + +// No examples available for this model +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `error` | [models.ErrorT](../models/errort.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/vercelforbiddenerror.md b/docs/models/vercelforbiddenerror.md new file mode 100644 index 00000000..6299fa1f --- /dev/null +++ b/docs/models/vercelforbiddenerror.md @@ -0,0 +1,15 @@ +# VercelForbiddenError + +## Example Usage + +```typescript +import { VercelForbiddenError } from "@vercel/sdk/models/vercelforbiddenerror.js"; + +// No examples available for this model +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `error` | [models.VercelForbiddenErrorError](../models/vercelforbiddenerrorerror.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/vercelforbiddenerrorerror.md b/docs/models/vercelforbiddenerrorerror.md new file mode 100644 index 00000000..702a924b --- /dev/null +++ b/docs/models/vercelforbiddenerrorerror.md @@ -0,0 +1,18 @@ +# VercelForbiddenErrorError + +## Example Usage + +```typescript +import { VercelForbiddenErrorError } from "@vercel/sdk/models/vercelforbiddenerror.js"; + +let value: VercelForbiddenErrorError = { + message: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `code` | *string* | :heavy_check_mark: | N/A | +| `message` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/vercelnotfounderror.md b/docs/models/vercelnotfounderror.md new file mode 100644 index 00000000..2154c313 --- /dev/null +++ b/docs/models/vercelnotfounderror.md @@ -0,0 +1,15 @@ +# VercelNotFoundError + +## Example Usage + +```typescript +import { VercelNotFoundError } from "@vercel/sdk/models/vercelnotfounderror.js"; + +// No examples available for this model +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `error` | [models.VercelNotFoundErrorError](../models/vercelnotfounderrorerror.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/vercelnotfounderrorerror.md b/docs/models/vercelnotfounderrorerror.md new file mode 100644 index 00000000..1a21b446 --- /dev/null +++ b/docs/models/vercelnotfounderrorerror.md @@ -0,0 +1,16 @@ +# VercelNotFoundErrorError + +## Example Usage + +```typescript +import { VercelNotFoundErrorError } from "@vercel/sdk/models/vercelnotfounderror.js"; + +let value: VercelNotFoundErrorError = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `code` | *string* | :heavy_check_mark: | N/A | +| `message` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/vercelratelimiterror.md b/docs/models/vercelratelimiterror.md new file mode 100644 index 00000000..69992509 --- /dev/null +++ b/docs/models/vercelratelimiterror.md @@ -0,0 +1,15 @@ +# VercelRateLimitError + +## Example Usage + +```typescript +import { VercelRateLimitError } from "@vercel/sdk/models/vercelratelimiterror.js"; + +// No examples available for this model +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `error` | [models.VercelRateLimitErrorError](../models/vercelratelimiterrorerror.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/vercelratelimiterrorerror.md b/docs/models/vercelratelimiterrorerror.md new file mode 100644 index 00000000..c1c991b2 --- /dev/null +++ b/docs/models/vercelratelimiterrorerror.md @@ -0,0 +1,19 @@ +# VercelRateLimitErrorError + +## Example Usage + +```typescript +import { VercelRateLimitErrorError } from "@vercel/sdk/models/vercelratelimiterror.js"; + +let value: VercelRateLimitErrorError = { + message: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `code` | *string* | :heavy_check_mark: | N/A | +| `message` | *string* | :heavy_check_mark: | N/A | +| `limit` | [models.RateLimitNotice](../models/ratelimitnotice.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/verification.md b/docs/models/verification.md similarity index 92% rename from docs/models/operations/verification.md rename to docs/models/verification.md index 6ce087e5..7fc55b04 100644 --- a/docs/models/operations/verification.md +++ b/docs/models/verification.md @@ -5,7 +5,7 @@ A list of verification challenges, one of which must be completed to verify the ## Example Usage ```typescript -import { Verification } from "@vercel/sdk/models/operations/getprojectdomain.js"; +import { Verification } from "@vercel/sdk/models/getprojectdomainop.js"; let value: Verification = { type: "", diff --git a/docs/models/verified.md b/docs/models/verified.md new file mode 100644 index 00000000..a31bd479 --- /dev/null +++ b/docs/models/verified.md @@ -0,0 +1,17 @@ +# Verified + +Filters domains based on their verification status. + +## Example Usage + +```typescript +import { Verified } from "@vercel/sdk/models/getprojectdomainsop.js"; + +let value: Verified = "true"; +``` + +## Values + +```typescript +"true" | "false" +``` \ No newline at end of file diff --git a/docs/models/operations/verifiedbotsbypass.md b/docs/models/verifiedbotsbypass.md similarity index 87% rename from docs/models/operations/verifiedbotsbypass.md rename to docs/models/verifiedbotsbypass.md index b5dd6af8..b3c7dc52 100644 --- a/docs/models/operations/verifiedbotsbypass.md +++ b/docs/models/verifiedbotsbypass.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { VerifiedBotsBypass } from "@vercel/sdk/models/operations/getfirewallconfig.js"; +import { VerifiedBotsBypass } from "@vercel/sdk/models/getfirewallconfigop.js"; let value: VerifiedBotsBypass = { active: false, diff --git a/docs/models/operations/verifyprojectdomainrequest.md b/docs/models/verifyprojectdomainrequest.md similarity index 95% rename from docs/models/operations/verifyprojectdomainrequest.md rename to docs/models/verifyprojectdomainrequest.md index 594dd3e9..d778ce42 100644 --- a/docs/models/operations/verifyprojectdomainrequest.md +++ b/docs/models/verifyprojectdomainrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { VerifyProjectDomainRequest } from "@vercel/sdk/models/operations/verifyprojectdomain.js"; +import { VerifyProjectDomainRequest } from "@vercel/sdk/models/verifyprojectdomainop.js"; let value: VerifyProjectDomainRequest = { idOrName: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB", diff --git a/docs/models/operations/verifyprojectdomainresponsebody.md b/docs/models/verifyprojectdomainresponsebody.md similarity index 98% rename from docs/models/operations/verifyprojectdomainresponsebody.md rename to docs/models/verifyprojectdomainresponsebody.md index 54ed3c16..c94ef05c 100644 --- a/docs/models/operations/verifyprojectdomainresponsebody.md +++ b/docs/models/verifyprojectdomainresponsebody.md @@ -6,7 +6,7 @@ Domain is already verified ## Example Usage ```typescript -import { VerifyProjectDomainResponseBody } from "@vercel/sdk/models/operations/verifyprojectdomain.js"; +import { VerifyProjectDomainResponseBody } from "@vercel/sdk/models/verifyprojectdomainop.js"; let value: VerifyProjectDomainResponseBody = { name: "", @@ -30,4 +30,4 @@ let value: VerifyProjectDomainResponseBody = { | `updatedAt` | *number* | :heavy_minus_sign: | N/A | | `createdAt` | *number* | :heavy_minus_sign: | N/A | | `verified` | *boolean* | :heavy_check_mark: | `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. | -| `verification` | [operations.VerifyProjectDomainVerification](../../models/operations/verifyprojectdomainverification.md)[] | :heavy_minus_sign: | A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. | \ No newline at end of file +| `verification` | [models.VerifyProjectDomainVerification](../models/verifyprojectdomainverification.md)[] | :heavy_minus_sign: | A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. | \ No newline at end of file diff --git a/docs/models/operations/verifyprojectdomainverification.md b/docs/models/verifyprojectdomainverification.md similarity index 96% rename from docs/models/operations/verifyprojectdomainverification.md rename to docs/models/verifyprojectdomainverification.md index 3e97b816..a6431167 100644 --- a/docs/models/operations/verifyprojectdomainverification.md +++ b/docs/models/verifyprojectdomainverification.md @@ -5,7 +5,7 @@ A list of verification challenges, one of which must be completed to verify the ## Example Usage ```typescript -import { VerifyProjectDomainVerification } from "@vercel/sdk/models/operations/verifyprojectdomain.js"; +import { VerifyProjectDomainVerification } from "@vercel/sdk/models/verifyprojectdomainop.js"; let value: VerifyProjectDomainVerification = { type: "", diff --git a/docs/models/version.md b/docs/models/version.md new file mode 100644 index 00000000..359a479f --- /dev/null +++ b/docs/models/version.md @@ -0,0 +1,17 @@ +# Version + +The user's version. Will either be unset or `northstar`. + +## Example Usage + +```typescript +import { Version } from "@vercel/sdk/models/authuser.js"; + +let value: Version = "northstar"; +``` + +## Values + +```typescript +"northstar" +``` \ No newline at end of file diff --git a/docs/models/view.md b/docs/models/view.md new file mode 100644 index 00000000..b85b4629 --- /dev/null +++ b/docs/models/view.md @@ -0,0 +1,15 @@ +# View + +## Example Usage + +```typescript +import { View } from "@vercel/sdk/models/getconfigurationsop.js"; + +let value: View = "account"; +``` + +## Values + +```typescript +"account" | "project" +``` \ No newline at end of file diff --git a/docs/models/viewpreference.md b/docs/models/viewpreference.md new file mode 100644 index 00000000..37e79269 --- /dev/null +++ b/docs/models/viewpreference.md @@ -0,0 +1,15 @@ +# ViewPreference + +## Example Usage + +```typescript +import { ViewPreference } from "@vercel/sdk/models/authuser.js"; + +let value: ViewPreference = "cards"; +``` + +## Values + +```typescript +"list" | "cards" +``` \ No newline at end of file diff --git a/docs/models/virtualexperiencescore.md b/docs/models/virtualexperiencescore.md new file mode 100644 index 00000000..eeb7e02b --- /dev/null +++ b/docs/models/virtualexperiencescore.md @@ -0,0 +1,21 @@ +# VirtualExperienceScore + +## Example Usage + +```typescript +import { VirtualExperienceScore } from "@vercel/sdk/models/updatecheckop.js"; + +let value: VirtualExperienceScore = { + value: 30, + previousValue: 35, + source: "web-vitals", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `value` | *number* | :heavy_check_mark: | The calculated Virtual Experience Score value, between 0 and 100 | 30 | +| `previousValue` | *number* | :heavy_minus_sign: | A previous Virtual Experience Score value to display a delta, between 0 and 100 | 35 | +| `source` | [models.UpdateCheckChecksRequestRequestBodyOutputSource](../models/updatecheckchecksrequestrequestbodyoutputsource.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/webanalytics.md b/docs/models/webanalytics.md new file mode 100644 index 00000000..71362d38 --- /dev/null +++ b/docs/models/webanalytics.md @@ -0,0 +1,19 @@ +# WebAnalytics + +## Example Usage + +```typescript +import { WebAnalytics } from "@vercel/sdk/models/authuser.js"; + +let value: WebAnalytics = { + isCurrentlyBlocked: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `blockedFrom` | *number* | :heavy_minus_sign: | N/A | +| `blockedUntil` | *number* | :heavy_minus_sign: | N/A | +| `isCurrentlyBlocked` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/xss.md b/docs/models/xss.md new file mode 100644 index 00000000..28028da1 --- /dev/null +++ b/docs/models/xss.md @@ -0,0 +1,21 @@ +# Xss + +XSS Attack - Prevent injection of malicious scripts into trusted webpages. + +## Example Usage + +```typescript +import { Xss } from "@vercel/sdk/models/putfirewallconfigop.js"; + +let value: Xss = { + active: false, + action: "log", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.PutFirewallConfigSecurityRequestRequestBodyCrsXssAction](../models/putfirewallconfigsecurityrequestrequestbodycrsxssaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/sdks/accessgroups/README.md b/docs/sdks/accessgroups/README.md index 04f28d1b..90211c42 100644 --- a/docs/sdks/accessgroups/README.md +++ b/docs/sdks/accessgroups/README.md @@ -78,20 +78,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.ReadAccessGroupRequest](../../models/operations/readaccessgrouprequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.ReadAccessGroupRequest](../../models/readaccessgrouprequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.ReadAccessGroupResponseBody](../../models/operations/readaccessgroupresponsebody.md)\>** +**Promise\<[models.ReadAccessGroupResponseBody](../../models/readaccessgroupresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## updateAccessGroup @@ -172,20 +175,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UpdateAccessGroupRequest](../../models/operations/updateaccessgrouprequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UpdateAccessGroupRequest](../../models/updateaccessgrouprequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.UpdateAccessGroupResponseBody](../../models/operations/updateaccessgroupresponsebody.md)\>** +**Promise\<[models.UpdateAccessGroupResponseBody](../../models/updateaccessgroupresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## deleteAccessGroup @@ -246,7 +252,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteAccessGroupRequest](../../models/operations/deleteaccessgrouprequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DeleteAccessGroupRequest](../../models/deleteaccessgrouprequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -257,9 +263,12 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## listAccessGroupMembers @@ -324,20 +333,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.ListAccessGroupMembersRequest](../../models/operations/listaccessgroupmembersrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.ListAccessGroupMembersRequest](../../models/listaccessgroupmembersrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.ListAccessGroupMembersResponseBody](../../models/operations/listaccessgroupmembersresponsebody.md)\>** +**Promise\<[models.ListAccessGroupMembersResponseBody](../../models/listaccessgroupmembersresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## listAccessGroups @@ -408,20 +420,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.ListAccessGroupsRequest](../../models/operations/listaccessgroupsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.ListAccessGroupsRequest](../../models/listaccessgroupsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.ListAccessGroupsResponseBody](../../models/operations/listaccessgroupsresponsebody.md)\>** +**Promise\<[models.ListAccessGroupsResponseBody](../../models/listaccessgroupsresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## createAccessGroup @@ -500,20 +515,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateAccessGroupRequest](../../models/operations/createaccessgrouprequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CreateAccessGroupRequest](../../models/createaccessgrouprequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CreateAccessGroupResponseBody](../../models/operations/createaccessgroupresponsebody.md)\>** +**Promise\<[models.CreateAccessGroupResponseBody](../../models/createaccessgroupresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## listAccessGroupProjects @@ -578,20 +596,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.ListAccessGroupProjectsRequest](../../models/operations/listaccessgroupprojectsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.ListAccessGroupProjectsRequest](../../models/listaccessgroupprojectsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.ListAccessGroupProjectsResponseBody](../../models/operations/listaccessgroupprojectsresponsebody.md)\>** +**Promise\<[models.ListAccessGroupProjectsResponseBody](../../models/listaccessgroupprojectsresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## createAccessGroupProject @@ -662,20 +683,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateAccessGroupProjectRequest](../../models/operations/createaccessgroupprojectrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CreateAccessGroupProjectRequest](../../models/createaccessgroupprojectrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CreateAccessGroupProjectResponseBody](../../models/operations/createaccessgroupprojectresponsebody.md)\>** +**Promise\<[models.CreateAccessGroupProjectResponseBody](../../models/createaccessgroupprojectresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## readAccessGroupProject @@ -740,20 +764,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.ReadAccessGroupProjectRequest](../../models/operations/readaccessgroupprojectrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.ReadAccessGroupProjectRequest](../../models/readaccessgroupprojectrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.ReadAccessGroupProjectResponseBody](../../models/operations/readaccessgroupprojectresponsebody.md)\>** +**Promise\<[models.ReadAccessGroupProjectResponseBody](../../models/readaccessgroupprojectresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## updateAccessGroupProject @@ -824,20 +851,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UpdateAccessGroupProjectRequest](../../models/operations/updateaccessgroupprojectrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UpdateAccessGroupProjectRequest](../../models/updateaccessgroupprojectrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.UpdateAccessGroupProjectResponseBody](../../models/operations/updateaccessgroupprojectresponsebody.md)\>** +**Promise\<[models.UpdateAccessGroupProjectResponseBody](../../models/updateaccessgroupprojectresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## deleteAccessGroupProject @@ -900,7 +930,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteAccessGroupProjectRequest](../../models/operations/deleteaccessgroupprojectrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DeleteAccessGroupProjectRequest](../../models/deleteaccessgroupprojectrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -911,6 +941,9 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/aliases/README.md b/docs/sdks/aliases/README.md index a4263297..e264724e 100644 --- a/docs/sdks/aliases/README.md +++ b/docs/sdks/aliases/README.md @@ -84,20 +84,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.ListAliasesRequest](../../models/operations/listaliasesrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.ListAliasesRequest](../../models/listaliasesrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.ListAliasesResponseBody](../../models/operations/listaliasesresponsebody.md)\>** +**Promise\<[models.ListAliasesResponseBody](../../models/listaliasesresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getAlias @@ -168,20 +171,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetAliasRequest](../../models/operations/getaliasrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetAliasRequest](../../models/getaliasrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetAliasResponseBody](../../models/operations/getaliasresponsebody.md)\>** +**Promise\<[models.GetAliasResponseBody](../../models/getaliasresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## deleteAlias @@ -244,20 +250,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteAliasRequest](../../models/operations/deletealiasrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DeleteAliasRequest](../../models/deletealiasrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.DeleteAliasResponseBody](../../models/operations/deletealiasresponsebody.md)\>** +**Promise\<[models.DeleteAliasResponseBody](../../models/deletealiasresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## listDeploymentAliases @@ -320,20 +329,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.ListDeploymentAliasesRequest](../../models/operations/listdeploymentaliasesrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.ListDeploymentAliasesRequest](../../models/listdeploymentaliasesrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.ListDeploymentAliasesResponseBody](../../models/operations/listdeploymentaliasesresponsebody.md)\>** +**Promise\<[models.ListDeploymentAliasesResponseBody](../../models/listdeploymentaliasesresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## assignAlias @@ -404,17 +416,20 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.AssignAliasRequest](../../models/operations/assignaliasrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.AssignAliasRequest](../../models/assignaliasrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.AssignAliasResponseBody](../../models/operations/assignaliasresponsebody.md)\>** +**Promise\<[models.AssignAliasResponseBody](../../models/assignaliasresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/artifacts/README.md b/docs/sdks/artifacts/README.md index 92902174..66aea0d0 100644 --- a/docs/sdks/artifacts/README.md +++ b/docs/sdks/artifacts/README.md @@ -91,7 +91,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.RecordEventsRequest](../../models/operations/recordeventsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.RecordEventsRequest](../../models/recordeventsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -102,9 +102,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## status @@ -163,20 +165,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.StatusRequest](../../models/operations/statusrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.StatusRequest](../../models/statusrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.StatusResponseBody](../../models/operations/statusresponsebody.md)\>** +**Promise\<[models.StatusResponseBody](../../models/statusresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## uploadArtifact @@ -186,6 +190,7 @@ Uploads a cache artifact identified by the `hash` specified on the path. The cac ```typescript import { Vercel } from "@vercel/sdk"; +import { openAsBlob } from "node:fs"; const vercel = new Vercel({ bearerToken: "", @@ -199,6 +204,7 @@ async function run() { xArtifactClientInteractive: 0, xArtifactTag: "Tc0BmHvJYMIYJ62/zx87YqO0Flxk+5Ovip25NY825CQ=", hash: "12HKQaOmR5t5Uy6vdcQsNIiZgHGB", + requestBody: await openAsBlob("example.file"), }); // Handle the result @@ -215,6 +221,7 @@ The standalone function version of this method: ```typescript import { VercelCore } from "@vercel/sdk/core.js"; import { artifactsUploadArtifact } from "@vercel/sdk/funcs/artifactsUploadArtifact.js"; +import { openAsBlob } from "node:fs"; // Use `VercelCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -230,6 +237,7 @@ async function run() { xArtifactClientInteractive: 0, xArtifactTag: "Tc0BmHvJYMIYJ62/zx87YqO0Flxk+5Ovip25NY825CQ=", hash: "12HKQaOmR5t5Uy6vdcQsNIiZgHGB", + requestBody: await openAsBlob("example.file"), }); if (!res.ok) { @@ -249,20 +257,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UploadArtifactRequest](../../models/operations/uploadartifactrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UploadArtifactRequest](../../models/uploadartifactrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.UploadArtifactResponseBody](../../models/operations/uploadartifactresponsebody.md)\>** +**Promise\<[models.UploadArtifactResponseBody](../../models/uploadartifactresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## downloadArtifact @@ -329,7 +339,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DownloadArtifactRequest](../../models/operations/downloadartifactrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DownloadArtifactRequest](../../models/downloadartifactrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -340,9 +350,12 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## artifactExists @@ -403,7 +416,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.ArtifactExistsRequest](../../models/operations/artifactexistsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.ArtifactExistsRequest](../../models/artifactexistsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -414,9 +427,12 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## artifactQuery @@ -432,7 +448,15 @@ const vercel = new Vercel({ }); async function run() { - const result = await vercel.artifacts.artifactQuery({}); + const result = await vercel.artifacts.artifactQuery({ + requestBody: { + hashes: [ + "", + "", + "", + ], + }, + }); // Handle the result console.log(result); @@ -456,7 +480,15 @@ const vercel = new VercelCore({ }); async function run() { - const res = await artifactsArtifactQuery(vercel, {}); + const res = await artifactsArtifactQuery(vercel, { + requestBody: { + hashes: [ + "", + "", + "", + ], + }, + }); if (!res.ok) { throw res.error; @@ -475,17 +507,19 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.ArtifactQueryRequest](../../models/operations/artifactqueryrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.ArtifactQueryRequest](../../models/artifactqueryrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[{ [k: string]: operations.ResponseBody }](../../models/.md)\>** +**Promise\<[{ [k: string]: models.ResponseBody }](../../models/.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/authentication/README.md b/docs/sdks/authentication/README.md index 30793443..bb4ed31b 100644 --- a/docs/sdks/authentication/README.md +++ b/docs/sdks/authentication/README.md @@ -23,7 +23,11 @@ import { Vercel } from "@vercel/sdk"; const vercel = new Vercel(); async function run() { - const result = await vercel.authentication.exchangeSsoToken(); + const result = await vercel.authentication.exchangeSsoToken({ + code: "", + clientId: "", + clientSecret: "", + }); // Handle the result console.log(result); @@ -45,7 +49,11 @@ import { authenticationExchangeSsoToken } from "@vercel/sdk/funcs/authentication const vercel = new VercelCore(); async function run() { - const res = await authenticationExchangeSsoToken(vercel); + const res = await authenticationExchangeSsoToken(vercel, { + code: "", + clientId: "", + clientSecret: "", + }); if (!res.ok) { throw res.error; @@ -64,20 +72,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.ExchangeSsoTokenRequestBody](../../models/operations/exchangessotokenrequestbody.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.ExchangeSsoTokenRequestBody](../../models/exchangessotokenrequestbody.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.ExchangeSsoTokenResponseBody](../../models/operations/exchangessotokenresponsebody.md)\>** +**Promise\<[models.ExchangeSsoTokenResponseBody](../../models/exchangessotokenresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## listAuthTokens @@ -142,13 +152,15 @@ run(); ### Response -**Promise\<[operations.ListAuthTokensResponseBody](../../models/operations/listauthtokensresponsebody.md)\>** +**Promise\<[models.ListAuthTokensResponseBody](../../models/listauthtokensresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## createAuthToken @@ -164,7 +176,11 @@ const vercel = new Vercel({ }); async function run() { - const result = await vercel.authentication.createAuthToken({}); + const result = await vercel.authentication.createAuthToken({ + requestBody: { + name: "", + }, + }); // Handle the result console.log(result); @@ -188,7 +204,11 @@ const vercel = new VercelCore({ }); async function run() { - const res = await authenticationCreateAuthToken(vercel, {}); + const res = await authenticationCreateAuthToken(vercel, { + requestBody: { + name: "", + }, + }); if (!res.ok) { throw res.error; @@ -207,20 +227,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateAuthTokenRequest](../../models/operations/createauthtokenrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CreateAuthTokenRequest](../../models/createauthtokenrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CreateAuthTokenResponseBody](../../models/operations/createauthtokenresponsebody.md)\>** +**Promise\<[models.CreateAuthTokenResponseBody](../../models/createauthtokenresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getAuthToken @@ -283,20 +305,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetAuthTokenRequest](../../models/operations/getauthtokenrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetAuthTokenRequest](../../models/getauthtokenrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetAuthTokenResponseBody](../../models/operations/getauthtokenresponsebody.md)\>** +**Promise\<[models.GetAuthTokenResponseBody](../../models/getauthtokenresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## deleteAuthToken @@ -359,17 +384,20 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteAuthTokenRequest](../../models/operations/deleteauthtokenrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DeleteAuthTokenRequest](../../models/deleteauthtokenrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.DeleteAuthTokenResponseBody](../../models/operations/deleteauthtokenresponsebody.md)\>** +**Promise\<[models.DeleteAuthTokenResponseBody](../../models/deleteauthtokenresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/certs/README.md b/docs/sdks/certs/README.md index aac801ac..2720dde8 100644 --- a/docs/sdks/certs/README.md +++ b/docs/sdks/certs/README.md @@ -71,20 +71,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetCertByIdRequest](../../models/operations/getcertbyidrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetCertByIdRequest](../../models/getcertbyidrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetCertByIdResponseBody](../../models/operations/getcertbyidresponsebody.md)\>** +**Promise\<[models.GetCertByIdResponseBody](../../models/getcertbyidresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## removeCert @@ -147,20 +150,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.RemoveCertRequest](../../models/operations/removecertrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.RemoveCertRequest](../../models/removecertrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.RemoveCertResponseBody](../../models/operations/removecertresponsebody.md)\>** +**Promise\<[models.RemoveCertResponseBody](../../models/removecertresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## issueCert @@ -176,7 +182,9 @@ const vercel = new Vercel({ }); async function run() { - const result = await vercel.certs.issueCert({}); + const result = await vercel.certs.issueCert({ + requestBody: {}, + }); // Handle the result console.log(result); @@ -200,7 +208,9 @@ const vercel = new VercelCore({ }); async function run() { - const res = await certsIssueCert(vercel, {}); + const res = await certsIssueCert(vercel, { + requestBody: {}, + }); if (!res.ok) { throw res.error; @@ -219,20 +229,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.IssueCertRequest](../../models/operations/issuecertrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.IssueCertRequest](../../models/issuecertrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.IssueCertResponseBody](../../models/operations/issuecertresponsebody.md)\>** +**Promise\<[models.IssueCertResponseBody](../../models/issuecertresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## uploadCert @@ -248,7 +261,13 @@ const vercel = new Vercel({ }); async function run() { - const result = await vercel.certs.uploadCert({}); + const result = await vercel.certs.uploadCert({ + requestBody: { + ca: "", + key: "", + cert: "", + }, + }); // Handle the result console.log(result); @@ -272,7 +291,13 @@ const vercel = new VercelCore({ }); async function run() { - const res = await certsUploadCert(vercel, {}); + const res = await certsUploadCert(vercel, { + requestBody: { + ca: "", + key: "", + cert: "", + }, + }); if (!res.ok) { throw res.error; @@ -291,17 +316,19 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UploadCertRequest](../../models/operations/uploadcertrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UploadCertRequest](../../models/uploadcertrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.UploadCertResponseBody](../../models/operations/uploadcertresponsebody.md)\>** +**Promise\<[models.UploadCertResponseBody](../../models/uploadcertresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/checks/README.md b/docs/sdks/checks/README.md index 6d86b372..ce34656c 100644 --- a/docs/sdks/checks/README.md +++ b/docs/sdks/checks/README.md @@ -88,20 +88,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateCheckRequest](../../models/operations/createcheckrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CreateCheckRequest](../../models/createcheckrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CreateCheckResponseBody](../../models/operations/createcheckresponsebody.md)\>** +**Promise\<[models.CreateCheckResponseBody](../../models/createcheckresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getAllChecks @@ -164,20 +167,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetAllChecksRequest](../../models/operations/getallchecksrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetAllChecksRequest](../../models/getallchecksrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetAllChecksResponseBody](../../models/operations/getallchecksresponsebody.md)\>** +**Promise\<[models.GetAllChecksResponseBody](../../models/getallchecksresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getCheck @@ -242,20 +248,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetCheckRequest](../../models/operations/getcheckrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetCheckRequest](../../models/getcheckrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetCheckResponseBody](../../models/operations/getcheckresponsebody.md)\>** +**Promise\<[models.GetCheckResponseBody](../../models/getcheckresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## updateCheck @@ -390,20 +399,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UpdateCheckRequest](../../models/operations/updatecheckrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UpdateCheckRequest](../../models/updatecheckrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.UpdateCheckResponseBody](../../models/operations/updatecheckresponsebody.md)\>** +**Promise\<[models.UpdateCheckResponseBody](../../models/updatecheckresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## rerequestCheck @@ -468,17 +480,20 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.RerequestCheckRequest](../../models/operations/rerequestcheckrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.RerequestCheckRequest](../../models/rerequestcheckrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.RerequestCheckResponseBody](../../models/operations/rerequestcheckresponsebody.md)\>** +**Promise\<[models.RerequestCheckResponseBody](../../models/rerequestcheckresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/deployments/README.md b/docs/sdks/deployments/README.md index 97410f47..c5ae72dd 100644 --- a/docs/sdks/deployments/README.md +++ b/docs/sdks/deployments/README.md @@ -92,7 +92,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetDeploymentEventsRequest](../../models/operations/getdeploymenteventsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetDeploymentEventsRequest](../../models/getdeploymenteventsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -103,9 +103,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getDeployment @@ -170,20 +172,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetDeploymentRequest](../../models/operations/getdeploymentrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetDeploymentRequest](../../models/getdeploymentrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetDeploymentResponseBody](../../models/operations/getdeploymentresponsebody.md)\>** +**Promise\<[models.GetDeploymentResponseBody](../../models/getdeploymentresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## createDeployment @@ -290,20 +294,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateDeploymentRequest](../../models/operations/createdeploymentrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CreateDeploymentRequest](../../models/createdeploymentrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CreateDeploymentResponseBody](../../models/operations/createdeploymentresponsebody.md)\>** +**Promise\<[models.CreateDeploymentResponseBody](../../models/createdeploymentresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## cancelDeployment @@ -366,20 +373,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CancelDeploymentRequest](../../models/operations/canceldeploymentrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CancelDeploymentRequest](../../models/canceldeploymentrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CancelDeploymentResponseBody](../../models/operations/canceldeploymentresponsebody.md)\>** +**Promise\<[models.CancelDeploymentResponseBody](../../models/canceldeploymentresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## uploadFile @@ -438,20 +448,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UploadFileRequest](../../models/operations/uploadfilerequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UploadFileRequest](../../models/uploadfilerequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.UploadFileResponseBody](../../models/operations/uploadfileresponsebody.md)\>** +**Promise\<[models.UploadFileResponseBody](../../models/uploadfileresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## listDeploymentFiles @@ -514,20 +526,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.ListDeploymentFilesRequest](../../models/operations/listdeploymentfilesrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.ListDeploymentFilesRequest](../../models/listdeploymentfilesrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[components.FileTree[]](../../models/.md)\>** +**Promise\<[models.FileTree[]](../../models/.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getDeploymentFileContents @@ -590,7 +605,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetDeploymentFileContentsRequest](../../models/operations/getdeploymentfilecontentsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetDeploymentFileContentsRequest](../../models/getdeploymentfilecontentsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -601,9 +616,12 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getDeployments @@ -684,20 +702,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetDeploymentsRequest](../../models/operations/getdeploymentsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetDeploymentsRequest](../../models/getdeploymentsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetDeploymentsResponseBody](../../models/operations/getdeploymentsresponsebody.md)\>** +**Promise\<[models.GetDeploymentsResponseBody](../../models/getdeploymentsresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## deleteDeployment @@ -762,17 +783,20 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteDeploymentRequest](../../models/operations/deletedeploymentrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DeleteDeploymentRequest](../../models/deletedeploymentrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.DeleteDeploymentResponseBody](../../models/operations/deletedeploymentresponsebody.md)\>** +**Promise\<[models.DeleteDeploymentResponseBody](../../models/deletedeploymentresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/dns/README.md b/docs/sdks/dns/README.md index a4e56b27..c5f74ede 100644 --- a/docs/sdks/dns/README.md +++ b/docs/sdks/dns/README.md @@ -77,20 +77,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetRecordsRequest](../../models/operations/getrecordsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetRecordsRequest](../../models/getrecordsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetRecordsResponseBody](../../models/operations/getrecordsresponsebody.md)\>** +**Promise\<[models.GetRecordsResponseBody](../../models/getrecordsresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## createRecord @@ -173,20 +176,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateRecordRequest](../../models/operations/createrecordrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CreateRecordRequest](../../models/createrecordrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CreateRecordResponseBody](../../models/operations/createrecordresponsebody.md)\>** +**Promise\<[models.CreateRecordResponseBody](../../models/createrecordresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## updateRecord @@ -283,20 +289,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UpdateRecordRequest](../../models/operations/updaterecordrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UpdateRecordRequest](../../models/updaterecordrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.UpdateRecordResponseBody](../../models/operations/updaterecordresponsebody.md)\>** +**Promise\<[models.UpdateRecordResponseBody](../../models/updaterecordresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## removeRecord @@ -361,17 +370,20 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.RemoveRecordRequest](../../models/operations/removerecordrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.RemoveRecordRequest](../../models/removerecordrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.RemoveRecordResponseBody](../../models/operations/removerecordresponsebody.md)\>** +**Promise\<[models.RemoveRecordResponseBody](../../models/removerecordresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/domains/README.md b/docs/sdks/domains/README.md index 842f475c..5c50a8f9 100644 --- a/docs/sdks/domains/README.md +++ b/docs/sdks/domains/README.md @@ -105,20 +105,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.BuyDomainRequest](../../models/operations/buydomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.BuyDomainRequest](../../models/buydomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.BuyDomainResponse](../../models/operations/buydomainresponse.md)\>** +**Promise\<[models.BuyDomainResponse](../../models/buydomainresponse.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelRateLimitError | 429 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## checkDomainPrice @@ -183,20 +186,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CheckDomainPriceRequest](../../models/operations/checkdomainpricerequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CheckDomainPriceRequest](../../models/checkdomainpricerequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CheckDomainPriceResponseBody](../../models/operations/checkdomainpriceresponsebody.md)\>** +**Promise\<[models.CheckDomainPriceResponseBody](../../models/checkdomainpriceresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## checkDomainStatus @@ -259,20 +264,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CheckDomainStatusRequest](../../models/operations/checkdomainstatusrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CheckDomainStatusRequest](../../models/checkdomainstatusrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CheckDomainStatusResponseBody](../../models/operations/checkdomainstatusresponsebody.md)\>** +**Promise\<[models.CheckDomainStatusResponseBody](../../models/checkdomainstatusresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getDomainTransfer @@ -335,20 +342,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetDomainTransferRequest](../../models/operations/getdomaintransferrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetDomainTransferRequest](../../models/getdomaintransferrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetDomainTransferResponseBody](../../models/operations/getdomaintransferresponsebody.md)\>** +**Promise\<[models.GetDomainTransferResponseBody](../../models/getdomaintransferresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getDomainConfig @@ -411,20 +420,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetDomainConfigRequest](../../models/operations/getdomainconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetDomainConfigRequest](../../models/getdomainconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetDomainConfigResponseBody](../../models/operations/getdomainconfigresponsebody.md)\>** +**Promise\<[models.GetDomainConfigResponseBody](../../models/getdomainconfigresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getDomain @@ -487,20 +498,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetDomainRequest](../../models/operations/getdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetDomainRequest](../../models/getdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetDomainResponseBody](../../models/operations/getdomainresponsebody.md)\>** +**Promise\<[models.GetDomainResponseBody](../../models/getdomainresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getDomains @@ -567,20 +581,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetDomainsRequest](../../models/operations/getdomainsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetDomainsRequest](../../models/getdomainsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetDomainsResponseBody](../../models/operations/getdomainsresponsebody.md)\>** +**Promise\<[models.GetDomainsResponseBody](../../models/getdomainsresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## createOrTransferDomain @@ -653,20 +669,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateOrTransferDomainRequest](../../models/operations/createortransferdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CreateOrTransferDomainRequest](../../models/createortransferdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CreateOrTransferDomainResponseBody](../../models/operations/createortransferdomainresponsebody.md)\>** +**Promise\<[models.CreateOrTransferDomainResponseBody](../../models/createortransferdomainresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## patchDomain @@ -735,20 +754,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.PatchDomainRequest](../../models/operations/patchdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.PatchDomainRequest](../../models/patchdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.PatchDomainResponseBody](../../models/operations/patchdomainresponsebody.md)\>** +**Promise\<[models.PatchDomainResponseBody](../../models/patchdomainresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## deleteDomain @@ -811,17 +833,20 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteDomainRequest](../../models/operations/deletedomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DeleteDomainRequest](../../models/deletedomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.DeleteDomainResponseBody](../../models/operations/deletedomainresponsebody.md)\>** +**Promise\<[models.DeleteDomainResponseBody](../../models/deletedomainresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/edgeconfig/README.md b/docs/sdks/edgeconfig/README.md index e993e1cf..a2cafe75 100644 --- a/docs/sdks/edgeconfig/README.md +++ b/docs/sdks/edgeconfig/README.md @@ -79,20 +79,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetEdgeConfigsRequest](../../models/operations/getedgeconfigsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetEdgeConfigsRequest](../../models/getedgeconfigsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetEdgeConfigsResponseBody[]](../../models/.md)\>** +**Promise\<[models.GetEdgeConfigsResponseBody[]](../../models/.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## createEdgeConfig @@ -108,7 +110,11 @@ const vercel = new Vercel({ }); async function run() { - const result = await vercel.edgeConfig.createEdgeConfig({}); + const result = await vercel.edgeConfig.createEdgeConfig({ + requestBody: { + slug: "", + }, + }); // Handle the result console.log(result); @@ -132,7 +138,11 @@ const vercel = new VercelCore({ }); async function run() { - const res = await edgeConfigCreateEdgeConfig(vercel, {}); + const res = await edgeConfigCreateEdgeConfig(vercel, { + requestBody: { + slug: "", + }, + }); if (!res.ok) { throw res.error; @@ -151,20 +161,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateEdgeConfigRequest](../../models/operations/createedgeconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CreateEdgeConfigRequest](../../models/createedgeconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CreateEdgeConfigResponseBody](../../models/operations/createedgeconfigresponsebody.md)\>** +**Promise\<[models.CreateEdgeConfigResponseBody](../../models/createedgeconfigresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getEdgeConfig @@ -227,20 +239,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetEdgeConfigRequest](../../models/operations/getedgeconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetEdgeConfigRequest](../../models/getedgeconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetEdgeConfigResponseBody](../../models/operations/getedgeconfigresponsebody.md)\>** +**Promise\<[models.GetEdgeConfigResponseBody](../../models/getedgeconfigresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## updateEdgeConfig @@ -258,6 +273,9 @@ const vercel = new Vercel({ async function run() { const result = await vercel.edgeConfig.updateEdgeConfig({ edgeConfigId: "", + requestBody: { + slug: "", + }, }); // Handle the result @@ -284,6 +302,9 @@ const vercel = new VercelCore({ async function run() { const res = await edgeConfigUpdateEdgeConfig(vercel, { edgeConfigId: "", + requestBody: { + slug: "", + }, }); if (!res.ok) { @@ -303,20 +324,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UpdateEdgeConfigRequest](../../models/operations/updateedgeconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UpdateEdgeConfigRequest](../../models/updateedgeconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.UpdateEdgeConfigResponseBody](../../models/operations/updateedgeconfigresponsebody.md)\>** +**Promise\<[models.UpdateEdgeConfigResponseBody](../../models/updateedgeconfigresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## deleteEdgeConfig @@ -377,7 +401,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteEdgeConfigRequest](../../models/operations/deleteedgeconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DeleteEdgeConfigRequest](../../models/deleteedgeconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -388,9 +412,12 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getEdgeConfigItems @@ -453,20 +480,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetEdgeConfigItemsRequest](../../models/operations/getedgeconfigitemsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetEdgeConfigItemsRequest](../../models/getedgeconfigitemsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[components.EdgeConfigItem](../../models/components/edgeconfigitem.md)\>** +**Promise\<[models.EdgeConfigItem](../../models/edgeconfigitem.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getEdgeConfigSchema @@ -529,20 +559,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetEdgeConfigSchemaRequest](../../models/operations/getedgeconfigschemarequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetEdgeConfigSchemaRequest](../../models/getedgeconfigschemarequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetEdgeConfigSchemaResponseBody](../../models/operations/getedgeconfigschemaresponsebody.md)\>** +**Promise\<[models.GetEdgeConfigSchemaResponseBody](../../models/getedgeconfigschemaresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## patchEdgeConfigSchema @@ -560,6 +593,9 @@ const vercel = new Vercel({ async function run() { const result = await vercel.edgeConfig.patchEdgeConfigSchema({ edgeConfigId: "", + requestBody: { + definition: "", + }, }); // Handle the result @@ -586,6 +622,9 @@ const vercel = new VercelCore({ async function run() { const res = await edgeConfigPatchEdgeConfigSchema(vercel, { edgeConfigId: "", + requestBody: { + definition: "", + }, }); if (!res.ok) { @@ -605,20 +644,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.PatchEdgeConfigSchemaRequest](../../models/operations/patchedgeconfigschemarequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.PatchEdgeConfigSchemaRequest](../../models/patchedgeconfigschemarequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.PatchEdgeConfigSchemaResponseBody](../../models/operations/patchedgeconfigschemaresponsebody.md)\>** +**Promise\<[models.PatchEdgeConfigSchemaResponseBody](../../models/patchedgeconfigschemaresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## deleteEdgeConfigSchema @@ -679,7 +721,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteEdgeConfigSchemaRequest](../../models/operations/deleteedgeconfigschemarequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DeleteEdgeConfigSchemaRequest](../../models/deleteedgeconfigschemarequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -690,9 +732,12 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getEdgeConfigItem @@ -757,20 +802,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetEdgeConfigItemRequest](../../models/operations/getedgeconfigitemrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetEdgeConfigItemRequest](../../models/getedgeconfigitemrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[components.EdgeConfigItem](../../models/components/edgeconfigitem.md)\>** +**Promise\<[models.EdgeConfigItem](../../models/edgeconfigitem.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getEdgeConfigTokens @@ -833,20 +881,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetEdgeConfigTokensRequest](../../models/operations/getedgeconfigtokensrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetEdgeConfigTokensRequest](../../models/getedgeconfigtokensrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[components.EdgeConfigToken](../../models/components/edgeconfigtoken.md)\>** +**Promise\<[models.EdgeConfigToken](../../models/edgeconfigtoken.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## deleteEdgeConfigTokens @@ -864,6 +915,11 @@ const vercel = new Vercel({ async function run() { await vercel.edgeConfig.deleteEdgeConfigTokens({ edgeConfigId: "", + requestBody: { + tokens: [ + "", + ], + }, }); @@ -889,6 +945,11 @@ const vercel = new VercelCore({ async function run() { const res = await edgeConfigDeleteEdgeConfigTokens(vercel, { edgeConfigId: "", + requestBody: { + tokens: [ + "", + ], + }, }); if (!res.ok) { @@ -907,7 +968,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteEdgeConfigTokensRequest](../../models/operations/deleteedgeconfigtokensrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DeleteEdgeConfigTokensRequest](../../models/deleteedgeconfigtokensrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -918,9 +979,12 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getEdgeConfigToken @@ -985,20 +1049,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetEdgeConfigTokenRequest](../../models/operations/getedgeconfigtokenrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetEdgeConfigTokenRequest](../../models/getedgeconfigtokenrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[components.EdgeConfigToken](../../models/components/edgeconfigtoken.md)\>** +**Promise\<[models.EdgeConfigToken](../../models/edgeconfigtoken.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## createEdgeConfigToken @@ -1016,6 +1083,9 @@ const vercel = new Vercel({ async function run() { const result = await vercel.edgeConfig.createEdgeConfigToken({ edgeConfigId: "", + requestBody: { + label: "", + }, }); // Handle the result @@ -1042,6 +1112,9 @@ const vercel = new VercelCore({ async function run() { const res = await edgeConfigCreateEdgeConfigToken(vercel, { edgeConfigId: "", + requestBody: { + label: "", + }, }); if (!res.ok) { @@ -1061,20 +1134,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateEdgeConfigTokenRequest](../../models/operations/createedgeconfigtokenrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CreateEdgeConfigTokenRequest](../../models/createedgeconfigtokenrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CreateEdgeConfigTokenResponseBody](../../models/operations/createedgeconfigtokenresponsebody.md)\>** +**Promise\<[models.CreateEdgeConfigTokenResponseBody](../../models/createedgeconfigtokenresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getEdgeConfigBackup @@ -1139,20 +1215,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetEdgeConfigBackupRequest](../../models/operations/getedgeconfigbackuprequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetEdgeConfigBackupRequest](../../models/getedgeconfigbackuprequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetEdgeConfigBackupResponseBody](../../models/operations/getedgeconfigbackupresponsebody.md)\>** +**Promise\<[models.GetEdgeConfigBackupResponseBody](../../models/getedgeconfigbackupresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getEdgeConfigBackups @@ -1215,17 +1294,20 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetEdgeConfigBackupsRequest](../../models/operations/getedgeconfigbackupsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetEdgeConfigBackupsRequest](../../models/getedgeconfigbackupsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetEdgeConfigBackupsResponseBody](../../models/operations/getedgeconfigbackupsresponsebody.md)\>** +**Promise\<[models.GetEdgeConfigBackupsResponseBody](../../models/getedgeconfigbackupsresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/integrations/README.md b/docs/sdks/integrations/README.md index 37246179..2fac598a 100644 --- a/docs/sdks/integrations/README.md +++ b/docs/sdks/integrations/README.md @@ -72,20 +72,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetConfigurationsRequest](../../models/operations/getconfigurationsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetConfigurationsRequest](../../models/getconfigurationsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetConfigurationsResponseBody](../../models/operations/getconfigurationsresponsebody.md)\>** +**Promise\<[models.GetConfigurationsResponseBody](../../models/getconfigurationsresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getConfiguration @@ -148,20 +150,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetConfigurationRequest](../../models/operations/getconfigurationrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetConfigurationRequest](../../models/getconfigurationrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetConfigurationResponseBody](../../models/operations/getconfigurationresponsebody.md)\>** +**Promise\<[models.GetConfigurationResponseBody](../../models/getconfigurationresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## deleteConfiguration @@ -222,7 +227,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteConfigurationRequest](../../models/operations/deleteconfigurationrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DeleteConfigurationRequest](../../models/deleteconfigurationrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -233,9 +238,12 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## gitNamespaces @@ -298,20 +306,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GitNamespacesRequest](../../models/operations/gitnamespacesrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GitNamespacesRequest](../../models/gitnamespacesrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GitNamespacesResponseBody[]](../../models/.md)\>** +**Promise\<[models.GitNamespacesResponseBody[]](../../models/.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## searchRepo @@ -374,17 +384,18 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.SearchRepoRequest](../../models/operations/searchreporequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.SearchRepoRequest](../../models/searchreporequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.SearchRepoResponseBody](../../models/operations/searchreporesponsebody.md)\>** +**Promise\<[models.SearchRepoResponseBody](../../models/searchreporesponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/logdrains/README.md b/docs/sdks/logdrains/README.md index 8ce7bb74..5243f1b6 100644 --- a/docs/sdks/logdrains/README.md +++ b/docs/sdks/logdrains/README.md @@ -70,20 +70,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetIntegrationLogDrainsRequest](../../models/operations/getintegrationlogdrainsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetIntegrationLogDrainsRequest](../../models/getintegrationlogdrainsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetIntegrationLogDrainsResponseBody[]](../../models/.md)\>** +**Promise\<[models.GetIntegrationLogDrainsResponseBody[]](../../models/.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## createLogDrain @@ -156,20 +158,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateLogDrainRequest](../../models/operations/createlogdrainrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CreateLogDrainRequest](../../models/createlogdrainrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CreateLogDrainResponseBody](../../models/operations/createlogdrainresponsebody.md)\>** +**Promise\<[models.CreateLogDrainResponseBody](../../models/createlogdrainresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## deleteIntegrationLogDrain @@ -230,7 +234,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteIntegrationLogDrainRequest](../../models/operations/deleteintegrationlogdrainrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DeleteIntegrationLogDrainRequest](../../models/deleteintegrationlogdrainrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -241,9 +245,12 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getConfigurableLogDrain @@ -306,20 +313,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetConfigurableLogDrainRequest](../../models/operations/getconfigurablelogdrainrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetConfigurableLogDrainRequest](../../models/getconfigurablelogdrainrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetConfigurableLogDrainResponseBody](../../models/operations/getconfigurablelogdrainresponsebody.md)\>** +**Promise\<[models.GetConfigurableLogDrainResponseBody](../../models/getconfigurablelogdrainresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## deleteConfigurableLogDrain @@ -380,7 +390,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteConfigurableLogDrainRequest](../../models/operations/deleteconfigurablelogdrainrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DeleteConfigurableLogDrainRequest](../../models/deleteconfigurablelogdrainrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -391,9 +401,12 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getAllLogDrains @@ -452,20 +465,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetAllLogDrainsRequest](../../models/operations/getalllogdrainsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetAllLogDrainsRequest](../../models/getalllogdrainsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetAllLogDrainsResponseBody[]](../../models/.md)\>** +**Promise\<[models.GetAllLogDrainsResponseBody[]](../../models/.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## createConfigurableLogDrain @@ -540,17 +555,19 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateConfigurableLogDrainRequest](../../models/operations/createconfigurablelogdrainrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CreateConfigurableLogDrainRequest](../../models/createconfigurablelogdrainrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CreateConfigurableLogDrainResponseBody](../../models/operations/createconfigurablelogdrainresponsebody.md)\>** +**Promise\<[models.CreateConfigurableLogDrainResponseBody](../../models/createconfigurablelogdrainresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/marketplace/README.md b/docs/sdks/marketplace/README.md index 3a80ae46..1830d8f9 100644 --- a/docs/sdks/marketplace/README.md +++ b/docs/sdks/marketplace/README.md @@ -76,20 +76,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetAccountInfoRequest](../../models/operations/getaccountinforequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetAccountInfoRequest](../../models/getaccountinforequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetAccountInfoResponseBody](../../models/operations/getaccountinforesponsebody.md)\>** +**Promise\<[models.GetAccountInfoResponseBody](../../models/getaccountinforesponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getMember @@ -154,20 +156,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetMemberRequest](../../models/operations/getmemberrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetMemberRequest](../../models/getmemberrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetMemberResponseBody](../../models/operations/getmemberresponsebody.md)\>** +**Promise\<[models.GetMemberResponseBody](../../models/getmemberresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## createEvent @@ -185,6 +190,11 @@ const vercel = new Vercel({ async function run() { await vercel.marketplace.createEvent({ integrationConfigurationId: "", + requestBody: { + event: { + type: "installation.updated", + }, + }, }); @@ -210,6 +220,11 @@ const vercel = new VercelCore({ async function run() { const res = await marketplaceCreateEvent(vercel, { integrationConfigurationId: "", + requestBody: { + event: { + type: "installation.updated", + }, + }, }); if (!res.ok) { @@ -228,7 +243,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateEventRequest](../../models/operations/createeventrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CreateEventRequest](../../models/createeventrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -239,13 +254,15 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## submitBillingData -Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour.
Use the `credentials.access_token` we provided in the (Upsert Installation)[#upsert-installation] body to authorize this request. +Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour.
Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request. ### Example Usage @@ -259,6 +276,52 @@ const vercel = new Vercel({ async function run() { await vercel.marketplace.submitBillingData({ integrationConfigurationId: "", + requestBody: { + timestamp: new Date("2024-09-29T02:38:01.476Z"), + eod: new Date("2022-12-28T23:46:57.523Z"), + period: { + start: new Date("2022-06-25T19:04:50.518Z"), + end: new Date("2023-10-18T01:18:36.230Z"), + }, + billing: { + items: [ + { + billingPlanId: "", + name: "", + price: "330.95", + quantity: 5852.75, + units: "", + total: "", + }, + ], + }, + usage: [ + { + resourceId: "", + name: "", + type: "rate", + units: "", + dayValue: 9439.21, + periodValue: 6958.71, + }, + { + resourceId: "", + name: "", + type: "total", + units: "", + dayValue: 9892.22, + periodValue: 4749.62, + }, + { + resourceId: "", + name: "", + type: "rate", + units: "", + dayValue: 7119.53, + periodValue: 6310.47, + }, + ], + }, }); @@ -284,6 +347,50 @@ const vercel = new VercelCore({ async function run() { const res = await marketplaceSubmitBillingData(vercel, { integrationConfigurationId: "", + requestBody: { + timestamp: new Date("2024-09-29T02:38:01.476Z"), + eod: new Date("2022-12-28T23:46:57.523Z"), + period: { + start: new Date("2022-06-25T19:04:50.518Z"), + end: new Date("2023-10-18T01:18:36.230Z"), + }, + billing: [ + { + billingPlanId: "", + name: "", + price: "495.99", + quantity: 8962.85, + units: "", + total: "", + }, + ], + usage: [ + { + resourceId: "", + name: "", + type: "rate", + units: "", + dayValue: 9439.21, + periodValue: 6958.71, + }, + { + resourceId: "", + name: "", + type: "total", + units: "", + dayValue: 9892.22, + periodValue: 4749.62, + }, + { + resourceId: "", + name: "", + type: "rate", + units: "", + dayValue: 7119.53, + periodValue: 6310.47, + }, + ], + }, }); if (!res.ok) { @@ -302,7 +409,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.SubmitBillingDataRequest](../../models/operations/submitbillingdatarequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.SubmitBillingDataRequest](../../models/submitbillingdatarequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -313,13 +420,15 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## submitInvoice -This endpoint allows the partner to submit an invoice to Vercel. The invoice is created in Vercel's billing system and sent to the customer. Depending on the type of billing plan, the invoice can be sent at a time of signup, at the start of the billing period, or at the end of the billing period.

Use the `credentials.access_token` we provided in the (Upsert Installation)[#upsert-installation] body to authorize this request.
There are several limitations to the invoice submission:

1. A resource can only be billed once per the billing period and the billing plan.
2. The billing plan used to bill the resource must have been active for this resource during the billing period.
3. The billing plan used must be a subscription plan.
4. The interim usage data must be sent hourly for all types of subscriptions. See [Send subscription billing and usage data](#send-subscription-billing-and-usage-data) API on how to send interim billing and usage data.
+This endpoint allows the partner to submit an invoice to Vercel. The invoice is created in Vercel's billing system and sent to the customer. Depending on the type of billing plan, the invoice can be sent at a time of signup, at the start of the billing period, or at the end of the billing period.

Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request.
There are several limitations to the invoice submission:

1. A resource can only be billed once per the billing period and the billing plan.
2. The billing plan used to bill the resource must have been active for this resource during the billing period.
3. The billing plan used must be a subscription plan.
4. The interim usage data must be sent hourly for all types of subscriptions. See [Send subscription billing and usage data](#send-subscription-billing-and-usage-data) API on how to send interim billing and usage data.
### Example Usage @@ -333,6 +442,31 @@ const vercel = new Vercel({ async function run() { const result = await vercel.marketplace.submitInvoice({ integrationConfigurationId: "", + requestBody: { + invoiceDate: new Date("2022-06-05T08:54:16.353Z"), + period: { + start: new Date("2022-07-26T14:15:15.601Z"), + end: new Date("2024-10-08T09:35:48.520Z"), + }, + items: [ + { + billingPlanId: "", + name: "", + price: "905.89", + quantity: 1684.76, + units: "", + total: "", + }, + { + billingPlanId: "", + name: "", + price: "84.05", + quantity: 9130.94, + units: "", + total: "", + }, + ], + }, }); // Handle the result @@ -359,6 +493,31 @@ const vercel = new VercelCore({ async function run() { const res = await marketplaceSubmitInvoice(vercel, { integrationConfigurationId: "", + requestBody: { + invoiceDate: new Date("2022-06-05T08:54:16.353Z"), + period: { + start: new Date("2022-07-26T14:15:15.601Z"), + end: new Date("2024-10-08T09:35:48.520Z"), + }, + items: [ + { + billingPlanId: "", + name: "", + price: "905.89", + quantity: 1684.76, + units: "", + total: "", + }, + { + billingPlanId: "", + name: "", + price: "84.05", + quantity: 9130.94, + units: "", + total: "", + }, + ], + }, }); if (!res.ok) { @@ -378,20 +537,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.SubmitInvoiceRequest](../../models/operations/submitinvoicerequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.SubmitInvoiceRequest](../../models/submitinvoicerequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.SubmitInvoiceResponseBody](../../models/operations/submitinvoiceresponsebody.md)\>** +**Promise\<[models.SubmitInvoiceResponseBody](../../models/submitinvoiceresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getInvoice @@ -456,20 +617,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetInvoiceRequest](../../models/operations/getinvoicerequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetInvoiceRequest](../../models/getinvoicerequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetInvoiceResponseBody](../../models/operations/getinvoiceresponsebody.md)\>** +**Promise\<[models.GetInvoiceResponseBody](../../models/getinvoiceresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## updateInvoice @@ -488,6 +652,11 @@ async function run() { await vercel.marketplace.updateInvoice({ integrationConfigurationId: "", invoiceId: "", + requestBody: { + action: "refund", + reason: "", + total: "", + }, }); @@ -514,6 +683,11 @@ async function run() { const res = await marketplaceUpdateInvoice(vercel, { integrationConfigurationId: "", invoiceId: "", + requestBody: { + action: "refund", + reason: "", + total: "", + }, }); if (!res.ok) { @@ -532,7 +706,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UpdateInvoiceRequest](../../models/operations/updateinvoicerequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UpdateInvoiceRequest](../../models/updateinvoicerequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -543,9 +717,12 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## updateResourceSecrets @@ -565,6 +742,14 @@ async function run() { integrationConfigurationId: "", integrationProductIdOrSlug: "", resourceId: "", + requestBody: { + secrets: [ + { + name: "", + value: "", + }, + ], + }, }); @@ -592,6 +777,14 @@ async function run() { integrationConfigurationId: "", integrationProductIdOrSlug: "", resourceId: "", + requestBody: { + secrets: [ + { + name: "", + value: "", + }, + ], + }, }); if (!res.ok) { @@ -610,7 +803,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UpdateResourceSecretsRequest](../../models/operations/updateresourcesecretsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UpdateResourceSecretsRequest](../../models/updateresourcesecretsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -621,9 +814,12 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## exchangeSsoToken @@ -637,7 +833,11 @@ import { Vercel } from "@vercel/sdk"; const vercel = new Vercel(); async function run() { - const result = await vercel.marketplace.exchangeSsoToken(); + const result = await vercel.marketplace.exchangeSsoToken({ + code: "", + clientId: "", + clientSecret: "", + }); // Handle the result console.log(result); @@ -659,7 +859,11 @@ import { marketplaceExchangeSsoToken } from "@vercel/sdk/funcs/marketplaceExchan const vercel = new VercelCore(); async function run() { - const res = await marketplaceExchangeSsoToken(vercel); + const res = await marketplaceExchangeSsoToken(vercel, { + code: "", + clientId: "", + clientSecret: "", + }); if (!res.ok) { throw res.error; @@ -678,17 +882,19 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.ExchangeSsoTokenRequestBody](../../models/operations/exchangessotokenrequestbody.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.ExchangeSsoTokenRequestBody](../../models/exchangessotokenrequestbody.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.ExchangeSsoTokenResponseBody](../../models/operations/exchangessotokenresponsebody.md)\>** +**Promise\<[models.ExchangeSsoTokenResponseBody](../../models/exchangessotokenresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/projectmembers/README.md b/docs/sdks/projectmembers/README.md index 336e8dbf..6a3e8e1f 100644 --- a/docs/sdks/projectmembers/README.md +++ b/docs/sdks/projectmembers/README.md @@ -76,20 +76,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetProjectMembersRequest](../../models/operations/getprojectmembersrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetProjectMembersRequest](../../models/getprojectmembersrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetProjectMembersResponseBody](../../models/operations/getprojectmembersresponsebody.md)\>** +**Promise\<[models.GetProjectMembersResponseBody](../../models/getprojectmembersresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## addProjectMember @@ -164,20 +166,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.AddProjectMemberRequest](../../models/operations/addprojectmemberrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.AddProjectMemberRequest](../../models/addprojectmemberrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.AddProjectMemberResponseBody](../../models/operations/addprojectmemberresponsebody.md)\>** +**Promise\<[models.AddProjectMemberResponseBody](../../models/addprojectmemberresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## removeProjectMember @@ -242,17 +246,19 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.RemoveProjectMemberRequest](../../models/operations/removeprojectmemberrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.RemoveProjectMemberRequest](../../models/removeprojectmemberrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.RemoveProjectMemberResponseBody](../../models/operations/removeprojectmemberresponsebody.md)\>** +**Promise\<[models.RemoveProjectMemberResponseBody](../../models/removeprojectmemberresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/projects/README.md b/docs/sdks/projects/README.md index aedc9b48..d366a0c6 100644 --- a/docs/sdks/projects/README.md +++ b/docs/sdks/projects/README.md @@ -92,20 +92,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UpdateProjectDataCacheRequest](../../models/operations/updateprojectdatacacherequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UpdateProjectDataCacheRequest](../../models/updateprojectdatacacherequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.UpdateProjectDataCacheResponseBody](../../models/operations/updateprojectdatacacheresponsebody.md)\>** +**Promise\<[models.UpdateProjectDataCacheResponseBody](../../models/updateprojectdatacacheresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getProjects @@ -170,20 +173,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetProjectsRequest](../../models/operations/getprojectsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetProjectsRequest](../../models/getprojectsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetProjectsResponseBody](../../models/operations/getprojectsresponsebody.md)\>** +**Promise\<[models.GetProjectsResponseBody](../../models/getprojectsresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## createProject @@ -250,20 +255,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateProjectRequest](../../models/operations/createprojectrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CreateProjectRequest](../../models/createprojectrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CreateProjectResponseBody](../../models/operations/createprojectresponsebody.md)\>** +**Promise\<[models.CreateProjectResponseBody](../../models/createprojectresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## updateProject @@ -332,20 +339,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UpdateProjectRequest](../../models/operations/updateprojectrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UpdateProjectRequest](../../models/updateprojectrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.UpdateProjectResponseBody](../../models/operations/updateprojectresponsebody.md)\>** +**Promise\<[models.UpdateProjectResponseBody](../../models/updateprojectresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## deleteProject @@ -406,7 +415,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteProjectRequest](../../models/operations/deleteprojectrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DeleteProjectRequest](../../models/deleteprojectrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -417,9 +426,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getProjectDomains @@ -490,20 +501,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetProjectDomainsRequest](../../models/operations/getprojectdomainsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetProjectDomainsRequest](../../models/getprojectdomainsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetProjectDomainsResponseBody](../../models/operations/getprojectdomainsresponsebody.md)\>** +**Promise\<[models.GetProjectDomainsResponseBody](../../models/getprojectdomainsresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getProjectDomain @@ -568,20 +581,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetProjectDomainRequest](../../models/operations/getprojectdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetProjectDomainRequest](../../models/getprojectdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetProjectDomainResponseBody](../../models/operations/getprojectdomainresponsebody.md)\>** +**Promise\<[models.GetProjectDomainResponseBody](../../models/getprojectdomainresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## updateProjectDomain @@ -656,20 +671,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UpdateProjectDomainRequest](../../models/operations/updateprojectdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UpdateProjectDomainRequest](../../models/updateprojectdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.UpdateProjectDomainResponseBody](../../models/operations/updateprojectdomainresponsebody.md)\>** +**Promise\<[models.UpdateProjectDomainResponseBody](../../models/updateprojectdomainresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## removeProjectDomain @@ -734,20 +751,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.RemoveProjectDomainRequest](../../models/operations/removeprojectdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.RemoveProjectDomainRequest](../../models/removeprojectdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.RemoveProjectDomainResponseBody](../../models/operations/removeprojectdomainresponsebody.md)\>** +**Promise\<[models.RemoveProjectDomainResponseBody](../../models/removeprojectdomainresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## addProjectDomain @@ -822,20 +842,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.AddProjectDomainRequest](../../models/operations/addprojectdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.AddProjectDomainRequest](../../models/addprojectdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.AddProjectDomainResponseBody](../../models/operations/addprojectdomainresponsebody.md)\>** +**Promise\<[models.AddProjectDomainResponseBody](../../models/addprojectdomainresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## verifyProjectDomain @@ -900,20 +922,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.VerifyProjectDomainRequest](../../models/operations/verifyprojectdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.VerifyProjectDomainRequest](../../models/verifyprojectdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.VerifyProjectDomainResponseBody](../../models/operations/verifyprojectdomainresponsebody.md)\>** +**Promise\<[models.VerifyProjectDomainResponseBody](../../models/verifyprojectdomainresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## filterProjectEnvs @@ -982,20 +1006,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.FilterProjectEnvsRequest](../../models/operations/filterprojectenvsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.FilterProjectEnvsRequest](../../models/filterprojectenvsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.FilterProjectEnvsResponseBody](../../models/operations/filterprojectenvsresponsebody.md)\>** +**Promise\<[models.FilterProjectEnvsResponseBody](../../models/filterprojectenvsresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getProjectEnv @@ -1060,24 +1086,26 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetProjectEnvRequest](../../models/operations/getprojectenvrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetProjectEnvRequest](../../models/getprojectenvrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetProjectEnvResponseBody](../../models/operations/getprojectenvresponsebody.md)\>** +**Promise\<[models.GetProjectEnvResponseBody](../../models/getprojectenvresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## createProjectEnv -Create one ore more environment variables for a project by passing its `key`, `value`, `type` and `target` and by specifying the project by either passing the project `id` or `name` in the URL. +Create one or more environment variables for a project by passing its `key`, `value`, `type` and `target` and by specifying the project by either passing the project `id` or `name` in the URL. If you include `upsert=true` as a query parameter, a new environment variable will not be created if it already exists but, the existing variable's value will be updated. ### Example Usage @@ -1158,20 +1186,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateProjectEnvRequest](../../models/operations/createprojectenvrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CreateProjectEnvRequest](../../models/createprojectenvrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CreateProjectEnvResponseBody](../../models/operations/createprojectenvresponsebody.md)\>** +**Promise\<[models.CreateProjectEnvResponseBody](../../models/createprojectenvresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## removeProjectEnv @@ -1236,20 +1266,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.RemoveProjectEnvRequest](../../models/operations/removeprojectenvrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.RemoveProjectEnvRequest](../../models/removeprojectenvrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.RemoveProjectEnvResponseBody](../../models/operations/removeprojectenvresponsebody.md)\>** +**Promise\<[models.RemoveProjectEnvResponseBody](../../models/removeprojectenvresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## editProjectEnv @@ -1340,20 +1373,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.EditProjectEnvRequest](../../models/operations/editprojectenvrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.EditProjectEnvRequest](../../models/editprojectenvrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.EditProjectEnvResponseBody](../../models/operations/editprojectenvresponsebody.md)\>** +**Promise\<[models.EditProjectEnvResponseBody](../../models/editprojectenvresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## updateProjectProtectionBypass @@ -1371,6 +1406,7 @@ const vercel = new Vercel({ async function run() { const result = await vercel.projects.updateProjectProtectionBypass({ idOrName: "", + requestBody: {}, }); // Handle the result @@ -1397,6 +1433,7 @@ const vercel = new VercelCore({ async function run() { const res = await projectsUpdateProjectProtectionBypass(vercel, { idOrName: "", + requestBody: {}, }); if (!res.ok) { @@ -1416,20 +1453,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UpdateProjectProtectionBypassRequest](../../models/operations/updateprojectprotectionbypassrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UpdateProjectProtectionBypassRequest](../../models/updateprojectprotectionbypassrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.UpdateProjectProtectionBypassResponseBody](../../models/operations/updateprojectprotectionbypassresponsebody.md)\>** +**Promise\<[models.UpdateProjectProtectionBypassResponseBody](../../models/updateprojectprotectionbypassresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## requestPromote @@ -1492,7 +1532,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.RequestPromoteRequest](../../models/operations/requestpromoterequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.RequestPromoteRequest](../../models/requestpromoterequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -1503,9 +1543,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## listPromoteAliases @@ -1574,17 +1616,20 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.ListPromoteAliasesRequest](../../models/operations/listpromotealiasesrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.ListPromoteAliasesRequest](../../models/listpromotealiasesrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.ListPromoteAliasesResponseBody](../../models/operations/listpromotealiasesresponsebody.md)\>** +**Promise\<[models.ListPromoteAliasesResponseBody](../../models/listpromotealiasesresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/security/README.md b/docs/sdks/security/README.md index 2df4499d..d709a60c 100644 --- a/docs/sdks/security/README.md +++ b/docs/sdks/security/README.md @@ -24,7 +24,12 @@ const vercel = new Vercel({ }); async function run() { - const result = await vercel.security.updateAttackChallengeMode({}); + const result = await vercel.security.updateAttackChallengeMode({ + requestBody: { + projectId: "", + attackModeEnabled: true, + }, + }); // Handle the result console.log(result); @@ -48,7 +53,12 @@ const vercel = new VercelCore({ }); async function run() { - const res = await securityUpdateAttackChallengeMode(vercel, {}); + const res = await securityUpdateAttackChallengeMode(vercel, { + requestBody: { + projectId: "", + attackModeEnabled: true, + }, + }); if (!res.ok) { throw res.error; @@ -67,20 +77,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UpdateAttackChallengeModeRequest](../../models/operations/updateattackchallengemoderequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UpdateAttackChallengeModeRequest](../../models/updateattackchallengemoderequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.UpdateAttackChallengeModeResponseBody](../../models/operations/updateattackchallengemoderesponsebody.md)\>** +**Promise\<[models.UpdateAttackChallengeModeResponseBody](../../models/updateattackchallengemoderesponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## putFirewallConfig @@ -98,6 +111,9 @@ const vercel = new Vercel({ async function run() { const result = await vercel.security.putFirewallConfig({ projectId: "", + requestBody: { + firewallEnabled: true, + }, }); // Handle the result @@ -124,6 +140,9 @@ const vercel = new VercelCore({ async function run() { const res = await securityPutFirewallConfig(vercel, { projectId: "", + requestBody: { + firewallEnabled: true, + }, }); if (!res.ok) { @@ -143,20 +162,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.PutFirewallConfigRequest](../../models/operations/putfirewallconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.PutFirewallConfigRequest](../../models/putfirewallconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.PutFirewallConfigResponseBody](../../models/operations/putfirewallconfigresponsebody.md)\>** +**Promise\<[models.PutFirewallConfigResponseBody](../../models/putfirewallconfigresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## updateFirewallConfig @@ -174,6 +196,10 @@ const vercel = new Vercel({ async function run() { const result = await vercel.security.updateFirewallConfig({ projectId: "", + requestBody: { + action: "ip.remove", + id: "", + }, }); // Handle the result @@ -200,6 +226,10 @@ const vercel = new VercelCore({ async function run() { const res = await securityUpdateFirewallConfig(vercel, { projectId: "", + requestBody: { + action: "ip.remove", + id: "", + }, }); if (!res.ok) { @@ -219,20 +249,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UpdateFirewallConfigRequest](../../models/operations/updatefirewallconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UpdateFirewallConfigRequest](../../models/updatefirewallconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.UpdateFirewallConfigResponseBody](../../models/operations/updatefirewallconfigresponsebody.md)\>** +**Promise\<[models.UpdateFirewallConfigResponseBody](../../models/updatefirewallconfigresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getFirewallConfig @@ -297,17 +330,20 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetFirewallConfigRequest](../../models/operations/getfirewallconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetFirewallConfigRequest](../../models/getfirewallconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetFirewallConfigResponseBody](../../models/operations/getfirewallconfigresponsebody.md)\>** +**Promise\<[models.GetFirewallConfigResponseBody](../../models/getfirewallconfigresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/teams/README.md b/docs/sdks/teams/README.md index 5cee1b00..f82fab85 100644 --- a/docs/sdks/teams/README.md +++ b/docs/sdks/teams/README.md @@ -88,20 +88,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetTeamMembersRequest](../../models/operations/getteammembersrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetTeamMembersRequest](../../models/getteammembersrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetTeamMembersResponseBody](../../models/operations/getteammembersresponsebody.md)\>** +**Promise\<[models.GetTeamMembersResponseBody](../../models/getteammembersresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## inviteUserToTeam @@ -194,20 +197,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.InviteUserToTeamRequest](../../models/operations/inviteusertoteamrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.InviteUserToTeamRequest](../../models/inviteusertoteamrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.InviteUserToTeamResponseBody](../../models/operations/inviteusertoteamresponsebody.md)\>** +**Promise\<[models.InviteUserToTeamResponseBody](../../models/inviteusertoteamresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## requestAccessToTeam @@ -290,20 +296,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.RequestAccessToTeamRequest](../../models/operations/requestaccesstoteamrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.RequestAccessToTeamRequest](../../models/requestaccesstoteamrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.RequestAccessToTeamResponseBody](../../models/operations/requestaccesstoteamresponsebody.md)\>** +**Promise\<[models.RequestAccessToTeamResponseBody](../../models/requestaccesstoteamresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getTeamAccessRequest @@ -368,20 +377,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetTeamAccessRequestRequest](../../models/operations/getteamaccessrequestrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetTeamAccessRequestRequest](../../models/getteamaccessrequestrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetTeamAccessRequestResponseBody](../../models/operations/getteamaccessrequestresponsebody.md)\>** +**Promise\<[models.GetTeamAccessRequestResponseBody](../../models/getteamaccessrequestresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## joinTeam @@ -450,20 +462,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.JoinTeamRequest](../../models/operations/jointeamrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.JoinTeamRequest](../../models/jointeamrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.JoinTeamResponseBody](../../models/operations/jointeamresponsebody.md)\>** +**Promise\<[models.JoinTeamResponseBody](../../models/jointeamresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## updateTeamMember @@ -548,20 +563,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UpdateTeamMemberRequest](../../models/operations/updateteammemberrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.UpdateTeamMemberRequest](../../models/updateteammemberrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.UpdateTeamMemberResponseBody](../../models/operations/updateteammemberresponsebody.md)\>** +**Promise\<[models.UpdateTeamMemberResponseBody](../../models/updateteammemberresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## removeTeamMember @@ -628,20 +646,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.RemoveTeamMemberRequest](../../models/operations/removeteammemberrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.RemoveTeamMemberRequest](../../models/removeteammemberrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.RemoveTeamMemberResponseBody](../../models/operations/removeteammemberresponsebody.md)\>** +**Promise\<[models.RemoveTeamMemberResponseBody](../../models/removeteammemberresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getTeam @@ -704,7 +725,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetTeamRequest](../../models/operations/getteamrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetTeamRequest](../../models/getteamrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -715,9 +736,12 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## patchTeam @@ -818,7 +842,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.PatchTeamRequest](../../models/operations/patchteamrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.PatchTeamRequest](../../models/patchteamrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -829,9 +853,12 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getTeams @@ -898,20 +925,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetTeamsRequest](../../models/operations/getteamsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetTeamsRequest](../../models/getteamsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetTeamsResponseBody](../../models/operations/getteamsresponsebody.md)\>** +**Promise\<[models.GetTeamsResponseBody](../../models/getteamsresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## createTeam @@ -976,20 +1005,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateTeamRequestBody](../../models/operations/createteamrequestbody.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CreateTeamRequestBody](../../models/createteamrequestbody.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CreateTeamResponseBody](../../models/operations/createteamresponsebody.md)\>** +**Promise\<[models.CreateTeamResponseBody](../../models/createteamresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## deleteTeam @@ -1008,6 +1039,7 @@ async function run() { const result = await vercel.teams.deleteTeam({ newDefaultTeamId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", teamId: "", + requestBody: {}, }); // Handle the result @@ -1035,6 +1067,7 @@ async function run() { const res = await teamsDeleteTeam(vercel, { newDefaultTeamId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", teamId: "", + requestBody: {}, }); if (!res.ok) { @@ -1054,20 +1087,23 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteTeamRequest](../../models/operations/deleteteamrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DeleteTeamRequest](../../models/deleteteamrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.DeleteTeamResponseBody](../../models/operations/deleteteamresponsebody.md)\>** +**Promise\<[models.DeleteTeamResponseBody](../../models/deleteteamresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## deleteTeamInviteCode @@ -1132,17 +1168,20 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteTeamInviteCodeRequest](../../models/operations/deleteteaminvitecoderequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DeleteTeamInviteCodeRequest](../../models/deleteteaminvitecoderequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.DeleteTeamInviteCodeResponseBody](../../models/operations/deleteteaminvitecoderesponsebody.md)\>** +**Promise\<[models.DeleteTeamInviteCodeResponseBody](../../models/deleteteaminvitecoderesponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/user/README.md b/docs/sdks/user/README.md index 37f3f4eb..b425ff03 100644 --- a/docs/sdks/user/README.md +++ b/docs/sdks/user/README.md @@ -80,20 +80,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.ListUserEventsRequest](../../models/operations/listusereventsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.ListUserEventsRequest](../../models/listusereventsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.ListUserEventsResponseBody](../../models/operations/listusereventsresponsebody.md)\>** +**Promise\<[models.ListUserEventsResponseBody](../../models/listusereventsresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getAuthUser @@ -158,13 +160,15 @@ run(); ### Response -**Promise\<[operations.GetAuthUserResponseBody](../../models/operations/getauthuserresponsebody.md)\>** +**Promise\<[models.GetAuthUserResponseBody](../../models/getauthuserresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## requestDelete @@ -180,7 +184,7 @@ const vercel = new Vercel({ }); async function run() { - const result = await vercel.user.requestDelete(); + const result = await vercel.user.requestDelete({}); // Handle the result console.log(result); @@ -204,7 +208,7 @@ const vercel = new VercelCore({ }); async function run() { - const res = await userRequestDelete(vercel); + const res = await userRequestDelete(vercel, {}); if (!res.ok) { throw res.error; @@ -223,17 +227,19 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.RequestDeleteRequestBody](../../models/operations/requestdeleterequestbody.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.RequestDeleteRequestBody](../../models/requestdeleterequestbody.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.RequestDeleteResponseBody](../../models/operations/requestdeleteresponsebody.md)\>** +**Promise\<[models.RequestDeleteResponseBody](../../models/requestdeleteresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/vercel/README.md b/docs/sdks/vercel/README.md index 7a27cb14..01597320 100644 --- a/docs/sdks/vercel/README.md +++ b/docs/sdks/vercel/README.md @@ -2,4 +2,6 @@ ## Overview -Vercel API: Vercel combines the best developer experience with an obsessive focus on end-user performance. Our platform enables frontend teams to do their best work. \ No newline at end of file +Vercel API: Vercel combines the best developer experience with an obsessive focus on end-user performance. Our platform enables frontend teams to do their best work. + +### Available Operations diff --git a/docs/sdks/webhooks/README.md b/docs/sdks/webhooks/README.md index 9e8e8ee0..61ae5cf6 100644 --- a/docs/sdks/webhooks/README.md +++ b/docs/sdks/webhooks/README.md @@ -24,7 +24,14 @@ const vercel = new Vercel({ }); async function run() { - const result = await vercel.webhooks.createWebhook({}); + const result = await vercel.webhooks.createWebhook({ + requestBody: { + url: "https://woeful-yin.biz", + events: [ + "deployment-checks-completed", + ], + }, + }); // Handle the result console.log(result); @@ -48,7 +55,14 @@ const vercel = new VercelCore({ }); async function run() { - const res = await webhooksCreateWebhook(vercel, {}); + const res = await webhooksCreateWebhook(vercel, { + requestBody: { + url: "https://woeful-yin.biz", + events: [ + "test-webhook", + ], + }, + }); if (!res.ok) { throw res.error; @@ -67,20 +81,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateWebhookRequest](../../models/operations/createwebhookrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.CreateWebhookRequest](../../models/createwebhookrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.CreateWebhookResponseBody](../../models/operations/createwebhookresponsebody.md)\>** +**Promise\<[models.CreateWebhookResponseBody](../../models/createwebhookresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getWebhooks @@ -139,20 +155,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetWebhooksRequest](../../models/operations/getwebhooksrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetWebhooksRequest](../../models/getwebhooksrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetWebhooksResponseBody](../../models/operations/getwebhooksresponsebody.md)\>** +**Promise\<[models.GetWebhooksResponseBody](../../models/getwebhooksresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getWebhook @@ -215,20 +233,22 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetWebhookRequest](../../models/operations/getwebhookrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.GetWebhookRequest](../../models/getwebhookrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[operations.GetWebhookResponseBody](../../models/operations/getwebhookresponsebody.md)\>** +**Promise\<[models.GetWebhookResponseBody](../../models/getwebhookresponsebody.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## deleteWebhook @@ -289,7 +309,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteWebhookRequest](../../models/operations/deletewebhookrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.DeleteWebhookRequest](../../models/deletewebhookrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -300,6 +320,8 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/jsr.json b/jsr.json index 7afac86c..10ebbadb 100644 --- a/jsr.json +++ b/jsr.json @@ -2,12 +2,10 @@ { "name": "@vercel/sdk", - "version": "1.1.0", + "version": "1.2.0", "exports": { ".": "./src/index.ts", - "./models/errors": "./src/models/errors/index.ts", - "./models/components": "./src/models/components/index.ts", - "./models/operations": "./src/models/operations/index.ts", + "./models": "./src/models/index.ts", "./lib/config": "./src/lib/config.ts", "./lib/http": "./src/lib/http.ts", "./lib/retries": "./src/lib/retries.ts", diff --git a/package.json b/package.json index db7bab19..978052d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vercel/sdk", - "version": "1.1.0", + "version": "1.2.0", "author": "Speakeasy", "type": "module", "main": "./esm/index.js", diff --git a/src/funcs/accessGroupsCreateAccessGroup.ts b/src/funcs/accessGroupsCreateAccessGroup.ts index 81c87389..9e2d8e6f 100644 --- a/src/funcs/accessGroupsCreateAccessGroup.ts +++ b/src/funcs/accessGroupsCreateAccessGroup.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CreateAccessGroupRequest, + CreateAccessGroupRequest$outboundSchema, + CreateAccessGroupResponseBody, + CreateAccessGroupResponseBody$inboundSchema, +} from "../models/createaccessgroupop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CreateAccessGroupRequest, - CreateAccessGroupRequest$outboundSchema, - CreateAccessGroupResponseBody, - CreateAccessGroupResponseBody$inboundSchema, -} from "../models/operations/createaccessgroup.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function accessGroupsCreateAccessGroup( ): Promise< Result< CreateAccessGroupResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +106,7 @@ export async function accessGroupsCreateAccessGroup( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +129,15 @@ export async function accessGroupsCreateAccessGroup( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CreateAccessGroupResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +147,11 @@ export async function accessGroupsCreateAccessGroup( | ConnectionError >( M.json(200, CreateAccessGroupResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/accessGroupsCreateAccessGroupProject.ts b/src/funcs/accessGroupsCreateAccessGroupProject.ts index 7ef58fcf..676bc0dd 100644 --- a/src/funcs/accessGroupsCreateAccessGroupProject.ts +++ b/src/funcs/accessGroupsCreateAccessGroupProject.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CreateAccessGroupProjectRequest, + CreateAccessGroupProjectRequest$outboundSchema, + CreateAccessGroupProjectResponseBody, + CreateAccessGroupProjectResponseBody$inboundSchema, +} from "../models/createaccessgroupprojectop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CreateAccessGroupProjectRequest, - CreateAccessGroupProjectRequest$outboundSchema, - CreateAccessGroupProjectResponseBody, - CreateAccessGroupProjectResponseBody$inboundSchema, -} from "../models/operations/createaccessgroupproject.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function accessGroupsCreateAccessGroupProject( ): Promise< Result< CreateAccessGroupProjectResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -101,6 +116,7 @@ export async function accessGroupsCreateAccessGroupProject( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -123,8 +139,15 @@ export async function accessGroupsCreateAccessGroupProject( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CreateAccessGroupProjectResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -134,8 +157,11 @@ export async function accessGroupsCreateAccessGroupProject( | ConnectionError >( M.json(200, CreateAccessGroupProjectResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/accessGroupsDeleteAccessGroup.ts b/src/funcs/accessGroupsDeleteAccessGroup.ts index 4bde4bf5..7aef18f6 100644 --- a/src/funcs/accessGroupsDeleteAccessGroup.ts +++ b/src/funcs/accessGroupsDeleteAccessGroup.ts @@ -10,19 +10,31 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DeleteAccessGroupRequest, + DeleteAccessGroupRequest$outboundSchema, +} from "../models/deleteaccessgroupop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DeleteAccessGroupRequest, - DeleteAccessGroupRequest$outboundSchema, -} from "../models/operations/deleteaccessgroup.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +50,9 @@ export async function accessGroupsDeleteAccessGroup( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -73,7 +88,7 @@ export async function accessGroupsDeleteAccessGroup( }); const headers = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -96,6 +111,7 @@ export async function accessGroupsDeleteAccessGroup( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -118,8 +134,15 @@ export async function accessGroupsDeleteAccessGroup( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -129,8 +152,11 @@ export async function accessGroupsDeleteAccessGroup( | ConnectionError >( M.nil(200, z.void()), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/accessGroupsDeleteAccessGroupProject.ts b/src/funcs/accessGroupsDeleteAccessGroupProject.ts index 23e71ac7..07148b7b 100644 --- a/src/funcs/accessGroupsDeleteAccessGroupProject.ts +++ b/src/funcs/accessGroupsDeleteAccessGroupProject.ts @@ -10,19 +10,31 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DeleteAccessGroupProjectRequest, + DeleteAccessGroupProjectRequest$outboundSchema, +} from "../models/deleteaccessgroupprojectop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DeleteAccessGroupProjectRequest, - DeleteAccessGroupProjectRequest$outboundSchema, -} from "../models/operations/deleteaccessgroupproject.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +50,9 @@ export async function accessGroupsDeleteAccessGroupProject( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -80,7 +95,7 @@ export async function accessGroupsDeleteAccessGroupProject( }); const headers = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -103,6 +118,7 @@ export async function accessGroupsDeleteAccessGroupProject( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -125,8 +141,15 @@ export async function accessGroupsDeleteAccessGroupProject( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -136,8 +159,11 @@ export async function accessGroupsDeleteAccessGroupProject( | ConnectionError >( M.nil(200, z.void()), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/accessGroupsListAccessGroupMembers.ts b/src/funcs/accessGroupsListAccessGroupMembers.ts index 44c25d4c..a1f4904b 100644 --- a/src/funcs/accessGroupsListAccessGroupMembers.ts +++ b/src/funcs/accessGroupsListAccessGroupMembers.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { ListAccessGroupMembersRequest, ListAccessGroupMembersRequest$outboundSchema, ListAccessGroupMembersResponseBody, ListAccessGroupMembersResponseBody$inboundSchema, -} from "../models/operations/listaccessgroupmembers.js"; +} from "../models/listaccessgroupmembersop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function accessGroupsListAccessGroupMembers( ): Promise< Result< ListAccessGroupMembersResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -100,6 +115,7 @@ export async function accessGroupsListAccessGroupMembers( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -122,8 +138,15 @@ export async function accessGroupsListAccessGroupMembers( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< ListAccessGroupMembersResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -133,8 +156,11 @@ export async function accessGroupsListAccessGroupMembers( | ConnectionError >( M.json(200, ListAccessGroupMembersResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/accessGroupsListAccessGroupProjects.ts b/src/funcs/accessGroupsListAccessGroupProjects.ts index 3452efc5..f991dfc9 100644 --- a/src/funcs/accessGroupsListAccessGroupProjects.ts +++ b/src/funcs/accessGroupsListAccessGroupProjects.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { ListAccessGroupProjectsRequest, ListAccessGroupProjectsRequest$outboundSchema, ListAccessGroupProjectsResponseBody, ListAccessGroupProjectsResponseBody$inboundSchema, -} from "../models/operations/listaccessgroupprojects.js"; +} from "../models/listaccessgroupprojectsop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function accessGroupsListAccessGroupProjects( ): Promise< Result< ListAccessGroupProjectsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -99,6 +114,7 @@ export async function accessGroupsListAccessGroupProjects( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -121,8 +137,15 @@ export async function accessGroupsListAccessGroupProjects( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< ListAccessGroupProjectsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -132,8 +155,11 @@ export async function accessGroupsListAccessGroupProjects( | ConnectionError >( M.json(200, ListAccessGroupProjectsResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/accessGroupsListAccessGroups.ts b/src/funcs/accessGroupsListAccessGroups.ts index 8fe82a27..bf025390 100644 --- a/src/funcs/accessGroupsListAccessGroups.ts +++ b/src/funcs/accessGroupsListAccessGroups.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { ListAccessGroupsRequest, ListAccessGroupsRequest$outboundSchema, ListAccessGroupsResponseBody, ListAccessGroupsResponseBody$inboundSchema, -} from "../models/operations/listaccessgroups.js"; +} from "../models/listaccessgroupsop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function accessGroupsListAccessGroups( ): Promise< Result< ListAccessGroupsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -96,6 +111,7 @@ export async function accessGroupsListAccessGroups( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -118,8 +134,15 @@ export async function accessGroupsListAccessGroups( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< ListAccessGroupsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -129,8 +152,11 @@ export async function accessGroupsListAccessGroups( | ConnectionError >( M.json(200, ListAccessGroupsResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/accessGroupsReadAccessGroup.ts b/src/funcs/accessGroupsReadAccessGroup.ts index 40a19a08..6a0a8384 100644 --- a/src/funcs/accessGroupsReadAccessGroup.ts +++ b/src/funcs/accessGroupsReadAccessGroup.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { ReadAccessGroupRequest, ReadAccessGroupRequest$outboundSchema, ReadAccessGroupResponseBody, ReadAccessGroupResponseBody$inboundSchema, -} from "../models/operations/readaccessgroup.js"; +} from "../models/readaccessgroupop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function accessGroupsReadAccessGroup( ): Promise< Result< ReadAccessGroupResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +112,7 @@ export async function accessGroupsReadAccessGroup( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +135,15 @@ export async function accessGroupsReadAccessGroup( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< ReadAccessGroupResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +153,11 @@ export async function accessGroupsReadAccessGroup( | ConnectionError >( M.json(200, ReadAccessGroupResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/accessGroupsReadAccessGroupProject.ts b/src/funcs/accessGroupsReadAccessGroupProject.ts index d8eeb649..a9a38ba8 100644 --- a/src/funcs/accessGroupsReadAccessGroupProject.ts +++ b/src/funcs/accessGroupsReadAccessGroupProject.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { ReadAccessGroupProjectRequest, ReadAccessGroupProjectRequest$outboundSchema, ReadAccessGroupProjectResponseBody, ReadAccessGroupProjectResponseBody$inboundSchema, -} from "../models/operations/readaccessgroupproject.js"; +} from "../models/readaccessgroupprojectop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function accessGroupsReadAccessGroupProject( ): Promise< Result< ReadAccessGroupProjectResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -104,6 +119,7 @@ export async function accessGroupsReadAccessGroupProject( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -126,8 +142,15 @@ export async function accessGroupsReadAccessGroupProject( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< ReadAccessGroupProjectResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -137,8 +160,11 @@ export async function accessGroupsReadAccessGroupProject( | ConnectionError >( M.json(200, ReadAccessGroupProjectResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/accessGroupsUpdateAccessGroup.ts b/src/funcs/accessGroupsUpdateAccessGroup.ts index 1db34e3e..e8be4804 100644 --- a/src/funcs/accessGroupsUpdateAccessGroup.ts +++ b/src/funcs/accessGroupsUpdateAccessGroup.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UpdateAccessGroupRequest, UpdateAccessGroupRequest$outboundSchema, UpdateAccessGroupResponseBody, UpdateAccessGroupResponseBody$inboundSchema, -} from "../models/operations/updateaccessgroup.js"; +} from "../models/updateaccessgroupop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function accessGroupsUpdateAccessGroup( ): Promise< Result< UpdateAccessGroupResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -98,6 +113,7 @@ export async function accessGroupsUpdateAccessGroup( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -120,8 +136,15 @@ export async function accessGroupsUpdateAccessGroup( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< UpdateAccessGroupResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +154,11 @@ export async function accessGroupsUpdateAccessGroup( | ConnectionError >( M.json(200, UpdateAccessGroupResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/accessGroupsUpdateAccessGroupProject.ts b/src/funcs/accessGroupsUpdateAccessGroupProject.ts index c7c6e0e6..a8b0f553 100644 --- a/src/funcs/accessGroupsUpdateAccessGroupProject.ts +++ b/src/funcs/accessGroupsUpdateAccessGroupProject.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UpdateAccessGroupProjectRequest, UpdateAccessGroupProjectRequest$outboundSchema, UpdateAccessGroupProjectResponseBody, UpdateAccessGroupProjectResponseBody$inboundSchema, -} from "../models/operations/updateaccessgroupproject.js"; +} from "../models/updateaccessgroupprojectop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function accessGroupsUpdateAccessGroupProject( ): Promise< Result< UpdateAccessGroupProjectResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -105,6 +120,7 @@ export async function accessGroupsUpdateAccessGroupProject( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PATCH", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -127,8 +143,15 @@ export async function accessGroupsUpdateAccessGroupProject( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< UpdateAccessGroupProjectResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -138,8 +161,11 @@ export async function accessGroupsUpdateAccessGroupProject( | ConnectionError >( M.json(200, UpdateAccessGroupProjectResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/aliasesAssignAlias.ts b/src/funcs/aliasesAssignAlias.ts index 413fd036..b42f0858 100644 --- a/src/funcs/aliasesAssignAlias.ts +++ b/src/funcs/aliasesAssignAlias.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + AssignAliasRequest, + AssignAliasRequest$outboundSchema, + AssignAliasResponseBody, + AssignAliasResponseBody$inboundSchema, +} from "../models/assignaliasop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - AssignAliasRequest, - AssignAliasRequest$outboundSchema, - AssignAliasResponseBody, - AssignAliasResponseBody$inboundSchema, -} from "../models/operations/assignalias.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function aliasesAssignAlias( ): Promise< Result< AssignAliasResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -98,6 +113,7 @@ export async function aliasesAssignAlias( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -120,8 +136,15 @@ export async function aliasesAssignAlias( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< AssignAliasResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +154,11 @@ export async function aliasesAssignAlias( | ConnectionError >( M.json(200, AssignAliasResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 404, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, 409, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/aliasesDeleteAlias.ts b/src/funcs/aliasesDeleteAlias.ts index 3dd02d67..86a6ef44 100644 --- a/src/funcs/aliasesDeleteAlias.ts +++ b/src/funcs/aliasesDeleteAlias.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DeleteAliasRequest, + DeleteAliasRequest$outboundSchema, + DeleteAliasResponseBody, + DeleteAliasResponseBody$inboundSchema, +} from "../models/deletealiasop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DeleteAliasRequest, - DeleteAliasRequest$outboundSchema, - DeleteAliasResponseBody, - DeleteAliasResponseBody$inboundSchema, -} from "../models/operations/deletealias.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function aliasesDeleteAlias( ): Promise< Result< DeleteAliasResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +112,7 @@ export async function aliasesDeleteAlias( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +135,15 @@ export async function aliasesDeleteAlias( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< DeleteAliasResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +153,11 @@ export async function aliasesDeleteAlias( | ConnectionError >( M.json(200, DeleteAliasResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/aliasesGetAlias.ts b/src/funcs/aliasesGetAlias.ts index b2c776e5..71bfcab4 100644 --- a/src/funcs/aliasesGetAlias.ts +++ b/src/funcs/aliasesGetAlias.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetAliasRequest, + GetAliasRequest$outboundSchema, + GetAliasResponseBody, + GetAliasResponseBody$inboundSchema, +} from "../models/getaliasop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetAliasRequest, - GetAliasRequest$outboundSchema, - GetAliasResponseBody, - GetAliasResponseBody$inboundSchema, -} from "../models/operations/getalias.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function aliasesGetAlias( ): Promise< Result< GetAliasResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -101,6 +116,7 @@ export async function aliasesGetAlias( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -123,8 +139,15 @@ export async function aliasesGetAlias( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetAliasResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -134,8 +157,11 @@ export async function aliasesGetAlias( | ConnectionError >( M.json(200, GetAliasResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/aliasesListAliases.ts b/src/funcs/aliasesListAliases.ts index 031dc0f5..83543127 100644 --- a/src/funcs/aliasesListAliases.ts +++ b/src/funcs/aliasesListAliases.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { ListAliasesRequest, ListAliasesRequest$outboundSchema, ListAliasesResponseBody, ListAliasesResponseBody$inboundSchema, -} from "../models/operations/listaliases.js"; +} from "../models/listaliasesop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function aliasesListAliases( ): Promise< Result< ListAliasesResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +112,7 @@ export async function aliasesListAliases( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +135,15 @@ export async function aliasesListAliases( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< ListAliasesResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +153,11 @@ export async function aliasesListAliases( | ConnectionError >( M.json(200, ListAliasesResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/aliasesListDeploymentAliases.ts b/src/funcs/aliasesListDeploymentAliases.ts index 0c8958d0..be155f7b 100644 --- a/src/funcs/aliasesListDeploymentAliases.ts +++ b/src/funcs/aliasesListDeploymentAliases.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { ListDeploymentAliasesRequest, ListDeploymentAliasesRequest$outboundSchema, ListDeploymentAliasesResponseBody, ListDeploymentAliasesResponseBody$inboundSchema, -} from "../models/operations/listdeploymentaliases.js"; +} from "../models/listdeploymentaliasesop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function aliasesListDeploymentAliases( ): Promise< Result< ListDeploymentAliasesResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +112,7 @@ export async function aliasesListDeploymentAliases( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +135,15 @@ export async function aliasesListDeploymentAliases( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< ListDeploymentAliasesResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +153,11 @@ export async function aliasesListDeploymentAliases( | ConnectionError >( M.json(200, ListDeploymentAliasesResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/artifactsArtifactExists.ts b/src/funcs/artifactsArtifactExists.ts index 34eb78f5..a9e7f1ae 100644 --- a/src/funcs/artifactsArtifactExists.ts +++ b/src/funcs/artifactsArtifactExists.ts @@ -10,19 +10,31 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + ArtifactExistsRequest, + ArtifactExistsRequest$outboundSchema, +} from "../models/artifactexistsop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - ArtifactExistsRequest, - ArtifactExistsRequest$outboundSchema, -} from "../models/operations/artifactexists.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +50,9 @@ export async function artifactsArtifactExists( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -73,7 +88,7 @@ export async function artifactsArtifactExists( }); const headers = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -96,6 +111,7 @@ export async function artifactsArtifactExists( const requestRes = client._createRequest(context, { security: requestSecurity, method: "HEAD", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -118,8 +134,15 @@ export async function artifactsArtifactExists( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -129,8 +152,11 @@ export async function artifactsArtifactExists( | ConnectionError >( M.nil(200, z.void()), - M.fail([400, 401, 402, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/artifactsArtifactQuery.ts b/src/funcs/artifactsArtifactQuery.ts index 12d252fc..2d589ab4 100644 --- a/src/funcs/artifactsArtifactQuery.ts +++ b/src/funcs/artifactsArtifactQuery.ts @@ -10,21 +10,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + ArtifactQueryRequest, + ArtifactQueryRequest$outboundSchema, + ResponseBody, + ResponseBody$inboundSchema, +} from "../models/artifactqueryop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - ArtifactQueryRequest, - ArtifactQueryRequest$outboundSchema, - ResponseBody, - ResponseBody$inboundSchema, -} from "../models/operations/artifactquery.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -40,6 +48,8 @@ export async function artifactsArtifactQuery( ): Promise< Result< { [k: string]: ResponseBody }, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -92,6 +102,7 @@ export async function artifactsArtifactQuery( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -114,8 +125,14 @@ export async function artifactsArtifactQuery( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< { [k: string]: ResponseBody }, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -125,8 +142,10 @@ export async function artifactsArtifactQuery( | ConnectionError >( M.json(200, z.record(ResponseBody$inboundSchema)), - M.fail([400, 401, 402, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/artifactsDownloadArtifact.ts b/src/funcs/artifactsDownloadArtifact.ts index d7d0c090..1101837d 100644 --- a/src/funcs/artifactsDownloadArtifact.ts +++ b/src/funcs/artifactsDownloadArtifact.ts @@ -10,19 +10,31 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DownloadArtifactRequest, + DownloadArtifactRequest$outboundSchema, +} from "../models/downloadartifactop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DownloadArtifactRequest, - DownloadArtifactRequest$outboundSchema, -} from "../models/operations/downloadartifact.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +50,9 @@ export async function artifactsDownloadArtifact( ): Promise< Result< ReadableStream, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -106,6 +121,7 @@ export async function artifactsDownloadArtifact( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -128,8 +144,15 @@ export async function artifactsDownloadArtifact( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< ReadableStream, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -141,8 +164,11 @@ export async function artifactsDownloadArtifact( M.stream(200, z.instanceof(ReadableStream), { ctype: "application/json", }), - M.fail([400, 401, 402, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/artifactsRecordEvents.ts b/src/funcs/artifactsRecordEvents.ts index 559f1886..0ecc9f1e 100644 --- a/src/funcs/artifactsRecordEvents.ts +++ b/src/funcs/artifactsRecordEvents.ts @@ -16,13 +16,21 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { RecordEventsRequest, RecordEventsRequest$outboundSchema, -} from "../models/operations/recordevents.js"; +} from "../models/recordeventsop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +46,8 @@ export async function artifactsRecordEvents( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -67,7 +77,7 @@ export async function artifactsRecordEvents( const headers = new Headers({ "Content-Type": "application/json", - Accept: "*/*", + Accept: "application/json", "x-artifact-client-ci": encodeSimple( "x-artifact-client-ci", payload["x-artifact-client-ci"], @@ -100,6 +110,7 @@ export async function artifactsRecordEvents( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -122,8 +133,14 @@ export async function artifactsRecordEvents( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -133,8 +150,10 @@ export async function artifactsRecordEvents( | ConnectionError >( M.nil(200, z.void()), - M.fail([400, 401, 402, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/artifactsStatus.ts b/src/funcs/artifactsStatus.ts index 8646dbc2..1ac00df0 100644 --- a/src/funcs/artifactsStatus.ts +++ b/src/funcs/artifactsStatus.ts @@ -15,15 +15,23 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { StatusRequest, StatusRequest$outboundSchema, StatusResponseBody, StatusResponseBody$inboundSchema, -} from "../models/operations/status.js"; +} from "../models/statusop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function artifactsStatus( ): Promise< Result< StatusResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -90,6 +100,7 @@ export async function artifactsStatus( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -112,8 +123,14 @@ export async function artifactsStatus( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< StatusResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -123,8 +140,10 @@ export async function artifactsStatus( | ConnectionError >( M.json(200, StatusResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/artifactsUploadArtifact.ts b/src/funcs/artifactsUploadArtifact.ts index df449a82..41e168da 100644 --- a/src/funcs/artifactsUploadArtifact.ts +++ b/src/funcs/artifactsUploadArtifact.ts @@ -15,15 +15,23 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UploadArtifactRequest, UploadArtifactRequest$outboundSchema, UploadArtifactResponseBody, UploadArtifactResponseBody$inboundSchema, -} from "../models/operations/uploadartifact.js"; +} from "../models/uploadartifactop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function artifactsUploadArtifact( ): Promise< Result< UploadArtifactResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -123,6 +133,7 @@ export async function artifactsUploadArtifact( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PUT", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -145,8 +156,14 @@ export async function artifactsUploadArtifact( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< UploadArtifactResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -156,8 +173,10 @@ export async function artifactsUploadArtifact( | ConnectionError >( M.json(202, UploadArtifactResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/authenticationCreateAuthToken.ts b/src/funcs/authenticationCreateAuthToken.ts index 0b43f9d1..8d93412d 100644 --- a/src/funcs/authenticationCreateAuthToken.ts +++ b/src/funcs/authenticationCreateAuthToken.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CreateAuthTokenRequest, + CreateAuthTokenRequest$outboundSchema, + CreateAuthTokenResponseBody, + CreateAuthTokenResponseBody$inboundSchema, +} from "../models/createauthtokenop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CreateAuthTokenRequest, - CreateAuthTokenRequest$outboundSchema, - CreateAuthTokenResponseBody, - CreateAuthTokenResponseBody$inboundSchema, -} from "../models/operations/createauthtoken.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function authenticationCreateAuthToken( ): Promise< Result< CreateAuthTokenResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +101,7 @@ export async function authenticationCreateAuthToken( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +124,14 @@ export async function authenticationCreateAuthToken( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CreateAuthTokenResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +141,10 @@ export async function authenticationCreateAuthToken( | ConnectionError >( M.json(200, CreateAuthTokenResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/authenticationDeleteAuthToken.ts b/src/funcs/authenticationDeleteAuthToken.ts index 1e082cde..fca1fa8e 100644 --- a/src/funcs/authenticationDeleteAuthToken.ts +++ b/src/funcs/authenticationDeleteAuthToken.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DeleteAuthTokenRequest, + DeleteAuthTokenRequest$outboundSchema, + DeleteAuthTokenResponseBody, + DeleteAuthTokenResponseBody$inboundSchema, +} from "../models/deleteauthtokenop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DeleteAuthTokenRequest, - DeleteAuthTokenRequest$outboundSchema, - DeleteAuthTokenResponseBody, - DeleteAuthTokenResponseBody$inboundSchema, -} from "../models/operations/deleteauthtoken.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function authenticationDeleteAuthToken( ): Promise< Result< DeleteAuthTokenResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -92,6 +107,7 @@ export async function authenticationDeleteAuthToken( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -113,8 +129,15 @@ export async function authenticationDeleteAuthToken( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< DeleteAuthTokenResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +147,11 @@ export async function authenticationDeleteAuthToken( | ConnectionError >( M.json(200, DeleteAuthTokenResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/authenticationExchangeSsoToken.ts b/src/funcs/authenticationExchangeSsoToken.ts index 52222c04..5bcafbd5 100644 --- a/src/funcs/authenticationExchangeSsoToken.ts +++ b/src/funcs/authenticationExchangeSsoToken.ts @@ -8,21 +8,29 @@ import * as M from "../lib/matchers.js"; import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { pathToFunc } from "../lib/url.js"; +import { + ExchangeSsoTokenRequestBody, + ExchangeSsoTokenRequestBody$outboundSchema, + ExchangeSsoTokenResponseBody, + ExchangeSsoTokenResponseBody$inboundSchema, +} from "../models/exchangessotokenop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - ExchangeSsoTokenRequestBody, - ExchangeSsoTokenRequestBody$outboundSchema, - ExchangeSsoTokenResponseBody, - ExchangeSsoTokenResponseBody$inboundSchema, -} from "../models/operations/exchangessotoken.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -33,11 +41,13 @@ import { Result } from "../types/fp.js"; */ export async function authenticationExchangeSsoToken( client: VercelCore, - request?: ExchangeSsoTokenRequestBody | undefined, + request: ExchangeSsoTokenRequestBody, options?: RequestOptions, ): Promise< Result< ExchangeSsoTokenResponseBody, + | VercelBadRequestError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -49,17 +59,14 @@ export async function authenticationExchangeSsoToken( > { const parsed = safeParse( request, - (value) => - ExchangeSsoTokenRequestBody$outboundSchema.optional().parse(value), + (value) => ExchangeSsoTokenRequestBody$outboundSchema.parse(value), "Input validation failed", ); if (!parsed.ok) { return parsed; } const payload = parsed.value; - const body = payload === undefined - ? null - : encodeJSON("body", payload, { explode: true }); + const body = encodeJSON("body", payload, { explode: true }); const path = pathToFunc("/v1/integrations/sso/token")(); @@ -83,6 +90,7 @@ export async function authenticationExchangeSsoToken( const requestRes = client._createRequest(context, { method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -104,8 +112,14 @@ export async function authenticationExchangeSsoToken( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< ExchangeSsoTokenResponseBody, + | VercelBadRequestError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -115,8 +129,10 @@ export async function authenticationExchangeSsoToken( | ConnectionError >( M.json(200, ExchangeSsoTokenResponseBody$inboundSchema), - M.fail([400, 404, "4XX", 500, "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail(["4XX", 500, "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/authenticationGetAuthToken.ts b/src/funcs/authenticationGetAuthToken.ts index 00d6b494..85c6d70b 100644 --- a/src/funcs/authenticationGetAuthToken.ts +++ b/src/funcs/authenticationGetAuthToken.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetAuthTokenRequest, + GetAuthTokenRequest$outboundSchema, + GetAuthTokenResponseBody, + GetAuthTokenResponseBody$inboundSchema, +} from "../models/getauthtokenop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetAuthTokenRequest, - GetAuthTokenRequest$outboundSchema, - GetAuthTokenResponseBody, - GetAuthTokenResponseBody$inboundSchema, -} from "../models/operations/getauthtoken.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function authenticationGetAuthToken( ): Promise< Result< GetAuthTokenResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -92,6 +107,7 @@ export async function authenticationGetAuthToken( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -113,8 +129,15 @@ export async function authenticationGetAuthToken( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetAuthTokenResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +147,11 @@ export async function authenticationGetAuthToken( | ConnectionError >( M.json(200, GetAuthTokenResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/authenticationListAuthTokens.ts b/src/funcs/authenticationListAuthTokens.ts index 2b98fb3c..95a0397f 100644 --- a/src/funcs/authenticationListAuthTokens.ts +++ b/src/funcs/authenticationListAuthTokens.ts @@ -13,13 +13,21 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { ListAuthTokensResponseBody, ListAuthTokensResponseBody$inboundSchema, -} from "../models/operations/listauthtokens.js"; +} from "../models/listauthtokensop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -34,6 +42,8 @@ export async function authenticationListAuthTokens( ): Promise< Result< ListAuthTokensResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -69,6 +79,7 @@ export async function authenticationListAuthTokens( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, @@ -89,8 +100,14 @@ export async function authenticationListAuthTokens( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< ListAuthTokensResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -100,8 +117,10 @@ export async function authenticationListAuthTokens( | ConnectionError >( M.json(200, ListAuthTokensResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/certsGetCertById.ts b/src/funcs/certsGetCertById.ts index 98575b97..141e5564 100644 --- a/src/funcs/certsGetCertById.ts +++ b/src/funcs/certsGetCertById.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetCertByIdRequest, + GetCertByIdRequest$outboundSchema, + GetCertByIdResponseBody, + GetCertByIdResponseBody$inboundSchema, +} from "../models/getcertbyidop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetCertByIdRequest, - GetCertByIdRequest$outboundSchema, - GetCertByIdResponseBody, - GetCertByIdResponseBody$inboundSchema, -} from "../models/operations/getcertbyid.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function certsGetCertById( ): Promise< Result< GetCertByIdResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +112,7 @@ export async function certsGetCertById( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +135,15 @@ export async function certsGetCertById( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetCertByIdResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +153,11 @@ export async function certsGetCertById( | ConnectionError >( M.json(200, GetCertByIdResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/certsIssueCert.ts b/src/funcs/certsIssueCert.ts index d48182b7..3431b206 100644 --- a/src/funcs/certsIssueCert.ts +++ b/src/funcs/certsIssueCert.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { IssueCertRequest, IssueCertRequest$outboundSchema, IssueCertResponseBody, IssueCertResponseBody$inboundSchema, -} from "../models/operations/issuecert.js"; +} from "../models/issuecertop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function certsIssueCert( ): Promise< Result< IssueCertResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +106,7 @@ export async function certsIssueCert( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +129,15 @@ export async function certsIssueCert( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< IssueCertResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +147,11 @@ export async function certsIssueCert( | ConnectionError >( M.json(200, IssueCertResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 404, 449, "4XX", 500, "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, 449, "4XX", 500, "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/certsRemoveCert.ts b/src/funcs/certsRemoveCert.ts index ca7ad233..87e965c8 100644 --- a/src/funcs/certsRemoveCert.ts +++ b/src/funcs/certsRemoveCert.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { RemoveCertRequest, RemoveCertRequest$outboundSchema, RemoveCertResponseBody, RemoveCertResponseBody$inboundSchema, -} from "../models/operations/removecert.js"; +} from "../models/removecertop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function certsRemoveCert( ): Promise< Result< RemoveCertResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +112,7 @@ export async function certsRemoveCert( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +135,15 @@ export async function certsRemoveCert( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< RemoveCertResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +153,11 @@ export async function certsRemoveCert( | ConnectionError >( M.json(200, RemoveCertResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/certsUploadCert.ts b/src/funcs/certsUploadCert.ts index abf21b11..fb1e2925 100644 --- a/src/funcs/certsUploadCert.ts +++ b/src/funcs/certsUploadCert.ts @@ -15,15 +15,23 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UploadCertRequest, UploadCertRequest$outboundSchema, UploadCertResponseBody, UploadCertResponseBody$inboundSchema, -} from "../models/operations/uploadcert.js"; +} from "../models/uploadcertop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function certsUploadCert( ): Promise< Result< UploadCertResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +101,7 @@ export async function certsUploadCert( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PUT", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +124,14 @@ export async function certsUploadCert( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< UploadCertResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +141,10 @@ export async function certsUploadCert( | ConnectionError >( M.json(200, UploadCertResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/checksCreateCheck.ts b/src/funcs/checksCreateCheck.ts index 138caf54..bcc6f7ef 100644 --- a/src/funcs/checksCreateCheck.ts +++ b/src/funcs/checksCreateCheck.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CreateCheckRequest, + CreateCheckRequest$outboundSchema, + CreateCheckResponseBody, + CreateCheckResponseBody$inboundSchema, +} from "../models/createcheckop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CreateCheckRequest, - CreateCheckRequest$outboundSchema, - CreateCheckResponseBody, - CreateCheckResponseBody$inboundSchema, -} from "../models/operations/createcheck.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function checksCreateCheck( ): Promise< Result< CreateCheckResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -98,6 +113,7 @@ export async function checksCreateCheck( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -120,8 +136,15 @@ export async function checksCreateCheck( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CreateCheckResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +154,11 @@ export async function checksCreateCheck( | ConnectionError >( M.json(200, CreateCheckResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/checksGetAllChecks.ts b/src/funcs/checksGetAllChecks.ts index 2df7c3b1..ddb1d7c3 100644 --- a/src/funcs/checksGetAllChecks.ts +++ b/src/funcs/checksGetAllChecks.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetAllChecksRequest, + GetAllChecksRequest$outboundSchema, + GetAllChecksResponseBody, + GetAllChecksResponseBody$inboundSchema, +} from "../models/getallchecksop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetAllChecksRequest, - GetAllChecksRequest$outboundSchema, - GetAllChecksResponseBody, - GetAllChecksResponseBody$inboundSchema, -} from "../models/operations/getallchecks.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function checksGetAllChecks( ): Promise< Result< GetAllChecksResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +112,7 @@ export async function checksGetAllChecks( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +135,15 @@ export async function checksGetAllChecks( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetAllChecksResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +153,11 @@ export async function checksGetAllChecks( | ConnectionError >( M.json(200, GetAllChecksResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/checksGetCheck.ts b/src/funcs/checksGetCheck.ts index ede81587..868d0b92 100644 --- a/src/funcs/checksGetCheck.ts +++ b/src/funcs/checksGetCheck.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetCheckRequest, + GetCheckRequest$outboundSchema, + GetCheckResponseBody, + GetCheckResponseBody$inboundSchema, +} from "../models/getcheckop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetCheckRequest, - GetCheckRequest$outboundSchema, - GetCheckResponseBody, - GetCheckResponseBody$inboundSchema, -} from "../models/operations/getcheck.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function checksGetCheck( ): Promise< Result< GetCheckResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -103,6 +118,7 @@ export async function checksGetCheck( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -125,8 +141,15 @@ export async function checksGetCheck( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetCheckResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -136,8 +159,11 @@ export async function checksGetCheck( | ConnectionError >( M.json(200, GetCheckResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/checksRerequestCheck.ts b/src/funcs/checksRerequestCheck.ts index 58adc14c..42c86348 100644 --- a/src/funcs/checksRerequestCheck.ts +++ b/src/funcs/checksRerequestCheck.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { RerequestCheckRequest, RerequestCheckRequest$outboundSchema, RerequestCheckResponseBody, RerequestCheckResponseBody$inboundSchema, -} from "../models/operations/rerequestcheck.js"; +} from "../models/rerequestcheckop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function checksRerequestCheck( ): Promise< Result< RerequestCheckResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -103,6 +118,7 @@ export async function checksRerequestCheck( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -125,8 +141,15 @@ export async function checksRerequestCheck( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< RerequestCheckResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -136,8 +159,11 @@ export async function checksRerequestCheck( | ConnectionError >( M.json(200, RerequestCheckResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/checksUpdateCheck.ts b/src/funcs/checksUpdateCheck.ts index 29d2fa24..6f19085b 100644 --- a/src/funcs/checksUpdateCheck.ts +++ b/src/funcs/checksUpdateCheck.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UpdateCheckRequest, UpdateCheckRequest$outboundSchema, UpdateCheckResponseBody, UpdateCheckResponseBody$inboundSchema, -} from "../models/operations/updatecheck.js"; +} from "../models/updatecheckop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function checksUpdateCheck( ): Promise< Result< UpdateCheckResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -104,6 +119,7 @@ export async function checksUpdateCheck( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PATCH", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -126,8 +142,15 @@ export async function checksUpdateCheck( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< UpdateCheckResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -137,8 +160,11 @@ export async function checksUpdateCheck( | ConnectionError >( M.json(200, UpdateCheckResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, 413, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, 413, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/deploymentsCancelDeployment.ts b/src/funcs/deploymentsCancelDeployment.ts index c9021fba..6b6b50f8 100644 --- a/src/funcs/deploymentsCancelDeployment.ts +++ b/src/funcs/deploymentsCancelDeployment.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CancelDeploymentRequest, + CancelDeploymentRequest$outboundSchema, + CancelDeploymentResponseBody, + CancelDeploymentResponseBody$inboundSchema, +} from "../models/canceldeploymentop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CancelDeploymentRequest, - CancelDeploymentRequest$outboundSchema, - CancelDeploymentResponseBody, - CancelDeploymentResponseBody$inboundSchema, -} from "../models/operations/canceldeployment.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function deploymentsCancelDeployment( ): Promise< Result< CancelDeploymentResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +112,7 @@ export async function deploymentsCancelDeployment( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PATCH", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +135,15 @@ export async function deploymentsCancelDeployment( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CancelDeploymentResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +153,11 @@ export async function deploymentsCancelDeployment( | ConnectionError >( M.json(200, CancelDeploymentResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/deploymentsCreateDeployment.ts b/src/funcs/deploymentsCreateDeployment.ts index 988ead4e..942e5b74 100644 --- a/src/funcs/deploymentsCreateDeployment.ts +++ b/src/funcs/deploymentsCreateDeployment.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CreateDeploymentRequest, + CreateDeploymentRequest$outboundSchema, + CreateDeploymentResponseBody, + CreateDeploymentResponseBody$inboundSchema, +} from "../models/createdeploymentop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CreateDeploymentRequest, - CreateDeploymentRequest$outboundSchema, - CreateDeploymentResponseBody, - CreateDeploymentResponseBody$inboundSchema, -} from "../models/operations/createdeployment.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function deploymentsCreateDeployment( ): Promise< Result< CreateDeploymentResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -93,6 +108,7 @@ export async function deploymentsCreateDeployment( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -115,8 +131,15 @@ export async function deploymentsCreateDeployment( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CreateDeploymentResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -126,8 +149,11 @@ export async function deploymentsCreateDeployment( | ConnectionError >( M.json(200, CreateDeploymentResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 404, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, 409, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/deploymentsDeleteDeployment.ts b/src/funcs/deploymentsDeleteDeployment.ts index 16658e60..3ac77457 100644 --- a/src/funcs/deploymentsDeleteDeployment.ts +++ b/src/funcs/deploymentsDeleteDeployment.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DeleteDeploymentRequest, + DeleteDeploymentRequest$outboundSchema, + DeleteDeploymentResponseBody, + DeleteDeploymentResponseBody$inboundSchema, +} from "../models/deletedeploymentop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DeleteDeploymentRequest, - DeleteDeploymentRequest$outboundSchema, - DeleteDeploymentResponseBody, - DeleteDeploymentResponseBody$inboundSchema, -} from "../models/operations/deletedeployment.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function deploymentsDeleteDeployment( ): Promise< Result< DeleteDeploymentResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -98,6 +113,7 @@ export async function deploymentsDeleteDeployment( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -120,8 +136,15 @@ export async function deploymentsDeleteDeployment( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< DeleteDeploymentResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +154,11 @@ export async function deploymentsDeleteDeployment( | ConnectionError >( M.json(200, DeleteDeploymentResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/deploymentsGetDeployment.ts b/src/funcs/deploymentsGetDeployment.ts index 59c34dd8..6e2d7139 100644 --- a/src/funcs/deploymentsGetDeployment.ts +++ b/src/funcs/deploymentsGetDeployment.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetDeploymentRequest, + GetDeploymentRequest$outboundSchema, + GetDeploymentResponseBody, + GetDeploymentResponseBody$inboundSchema, +} from "../models/getdeploymentop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetDeploymentRequest, - GetDeploymentRequest$outboundSchema, - GetDeploymentResponseBody, - GetDeploymentResponseBody$inboundSchema, -} from "../models/operations/getdeployment.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function deploymentsGetDeployment( ): Promise< Result< GetDeploymentResponseBody, + | VercelBadRequestError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -98,6 +108,7 @@ export async function deploymentsGetDeployment( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -120,8 +131,14 @@ export async function deploymentsGetDeployment( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetDeploymentResponseBody, + | VercelBadRequestError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +148,10 @@ export async function deploymentsGetDeployment( | ConnectionError >( M.json(200, GetDeploymentResponseBody$inboundSchema), - M.fail([400, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/deploymentsGetDeploymentEvents.ts b/src/funcs/deploymentsGetDeploymentEvents.ts index 93922685..983178ff 100644 --- a/src/funcs/deploymentsGetDeploymentEvents.ts +++ b/src/funcs/deploymentsGetDeploymentEvents.ts @@ -10,19 +10,27 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetDeploymentEventsRequest, + GetDeploymentEventsRequest$outboundSchema, +} from "../models/getdeploymenteventsop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetDeploymentEventsRequest, - GetDeploymentEventsRequest$outboundSchema, -} from "../models/operations/getdeploymentevents.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +46,8 @@ export async function deploymentsGetDeploymentEvents( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -82,7 +92,7 @@ export async function deploymentsGetDeploymentEvents( }); const headers = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -105,6 +115,7 @@ export async function deploymentsGetDeploymentEvents( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -127,8 +138,14 @@ export async function deploymentsGetDeploymentEvents( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -137,9 +154,11 @@ export async function deploymentsGetDeploymentEvents( | RequestTimeoutError | ConnectionError >( - M.fail([400, 401, 403, "4XX", 500, "5XX"]), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", 500, "5XX"]), M.nil("2XX", z.void()), - )(response); + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/deploymentsGetDeploymentFileContents.ts b/src/funcs/deploymentsGetDeploymentFileContents.ts index 4da4d737..11f5760d 100644 --- a/src/funcs/deploymentsGetDeploymentFileContents.ts +++ b/src/funcs/deploymentsGetDeploymentFileContents.ts @@ -10,19 +10,31 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetDeploymentFileContentsRequest, + GetDeploymentFileContentsRequest$outboundSchema, +} from "../models/getdeploymentfilecontentsop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetDeploymentFileContentsRequest, - GetDeploymentFileContentsRequest$outboundSchema, -} from "../models/operations/getdeploymentfilecontents.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +50,9 @@ export async function deploymentsGetDeploymentFileContents( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -78,7 +93,7 @@ export async function deploymentsGetDeploymentFileContents( }); const headers = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -101,6 +116,7 @@ export async function deploymentsGetDeploymentFileContents( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -123,8 +139,15 @@ export async function deploymentsGetDeploymentFileContents( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -133,9 +156,12 @@ export async function deploymentsGetDeploymentFileContents( | RequestTimeoutError | ConnectionError >( - M.fail([400, 401, 403, 404, 410, "4XX", "5XX"]), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, 410, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), M.nil("2XX", z.void()), - )(response); + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/deploymentsGetDeployments.ts b/src/funcs/deploymentsGetDeployments.ts index 808f8de3..a434763b 100644 --- a/src/funcs/deploymentsGetDeployments.ts +++ b/src/funcs/deploymentsGetDeployments.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetDeploymentsRequest, + GetDeploymentsRequest$outboundSchema, + GetDeploymentsResponseBody, + GetDeploymentsResponseBody$inboundSchema, +} from "../models/getdeploymentsop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetDeploymentsRequest, - GetDeploymentsRequest$outboundSchema, - GetDeploymentsResponseBody, - GetDeploymentsResponseBody$inboundSchema, -} from "../models/operations/getdeployments.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function deploymentsGetDeployments( ): Promise< Result< GetDeploymentsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -101,6 +116,7 @@ export async function deploymentsGetDeployments( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -123,8 +139,15 @@ export async function deploymentsGetDeployments( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetDeploymentsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -134,8 +157,11 @@ export async function deploymentsGetDeployments( | ConnectionError >( M.json(200, GetDeploymentsResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, 422, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, 422, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/deploymentsListDeploymentFiles.ts b/src/funcs/deploymentsListDeploymentFiles.ts index 3c785313..be486e7d 100644 --- a/src/funcs/deploymentsListDeploymentFiles.ts +++ b/src/funcs/deploymentsListDeploymentFiles.ts @@ -10,23 +10,32 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; -import { - FileTree, - FileTree$inboundSchema, -} from "../models/components/filetree.js"; +import { FileTree, FileTree$inboundSchema } from "../models/filetree.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { ListDeploymentFilesRequest, ListDeploymentFilesRequest$outboundSchema, -} from "../models/operations/listdeploymentfiles.js"; +} from "../models/listdeploymentfilesop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -42,6 +51,9 @@ export async function deploymentsListDeploymentFiles( ): Promise< Result< Array, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -100,6 +112,7 @@ export async function deploymentsListDeploymentFiles( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -122,8 +135,15 @@ export async function deploymentsListDeploymentFiles( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< Array, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -133,8 +153,11 @@ export async function deploymentsListDeploymentFiles( | ConnectionError >( M.json(200, z.array(FileTree$inboundSchema)), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/deploymentsUploadFile.ts b/src/funcs/deploymentsUploadFile.ts index 3fe99097..7ac68a1b 100644 --- a/src/funcs/deploymentsUploadFile.ts +++ b/src/funcs/deploymentsUploadFile.ts @@ -15,15 +15,23 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UploadFileRequest, UploadFileRequest$outboundSchema, UploadFileResponseBody, UploadFileResponseBody$inboundSchema, -} from "../models/operations/uploadfile.js"; +} from "../models/uploadfileop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function deploymentsUploadFile( ): Promise< Result< UploadFileResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -108,6 +118,7 @@ export async function deploymentsUploadFile( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -130,8 +141,14 @@ export async function deploymentsUploadFile( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< UploadFileResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -141,8 +158,10 @@ export async function deploymentsUploadFile( | ConnectionError >( M.json(200, UploadFileResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/dnsCreateRecord.ts b/src/funcs/dnsCreateRecord.ts index b0f71f78..a51ae9a3 100644 --- a/src/funcs/dnsCreateRecord.ts +++ b/src/funcs/dnsCreateRecord.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CreateRecordRequest, + CreateRecordRequest$outboundSchema, + CreateRecordResponseBody, + CreateRecordResponseBody$inboundSchema, +} from "../models/createrecordop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CreateRecordRequest, - CreateRecordRequest$outboundSchema, - CreateRecordResponseBody, - CreateRecordResponseBody$inboundSchema, -} from "../models/operations/createrecord.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function dnsCreateRecord( ): Promise< Result< CreateRecordResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -98,6 +113,7 @@ export async function dnsCreateRecord( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -120,8 +136,15 @@ export async function dnsCreateRecord( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CreateRecordResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +154,11 @@ export async function dnsCreateRecord( | ConnectionError >( M.json(200, CreateRecordResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 404, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, 409, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/dnsGetRecords.ts b/src/funcs/dnsGetRecords.ts index bb38e39c..19fbf473 100644 --- a/src/funcs/dnsGetRecords.ts +++ b/src/funcs/dnsGetRecords.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetRecordsRequest, + GetRecordsRequest$outboundSchema, + GetRecordsResponseBody, + GetRecordsResponseBody$inboundSchema, +} from "../models/getrecordsop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetRecordsRequest, - GetRecordsRequest$outboundSchema, - GetRecordsResponseBody, - GetRecordsResponseBody$inboundSchema, -} from "../models/operations/getrecords.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function dnsGetRecords( ): Promise< Result< GetRecordsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -100,6 +115,7 @@ export async function dnsGetRecords( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -122,8 +138,15 @@ export async function dnsGetRecords( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetRecordsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -133,8 +156,11 @@ export async function dnsGetRecords( | ConnectionError >( M.json(200, GetRecordsResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/dnsRemoveRecord.ts b/src/funcs/dnsRemoveRecord.ts index a03c23b8..43010027 100644 --- a/src/funcs/dnsRemoveRecord.ts +++ b/src/funcs/dnsRemoveRecord.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { RemoveRecordRequest, RemoveRecordRequest$outboundSchema, RemoveRecordResponseBody, RemoveRecordResponseBody$inboundSchema, -} from "../models/operations/removerecord.js"; +} from "../models/removerecordop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function dnsRemoveRecord( ): Promise< Result< RemoveRecordResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -103,6 +118,7 @@ export async function dnsRemoveRecord( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -125,8 +141,15 @@ export async function dnsRemoveRecord( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< RemoveRecordResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -136,8 +159,11 @@ export async function dnsRemoveRecord( | ConnectionError >( M.json(200, RemoveRecordResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/dnsUpdateRecord.ts b/src/funcs/dnsUpdateRecord.ts index c1595e34..cd05c9b7 100644 --- a/src/funcs/dnsUpdateRecord.ts +++ b/src/funcs/dnsUpdateRecord.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UpdateRecordRequest, UpdateRecordRequest$outboundSchema, UpdateRecordResponseBody, UpdateRecordResponseBody$inboundSchema, -} from "../models/operations/updaterecord.js"; +} from "../models/updaterecordop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function dnsUpdateRecord( ): Promise< Result< UpdateRecordResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -98,6 +113,7 @@ export async function dnsUpdateRecord( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PATCH", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -120,8 +136,15 @@ export async function dnsUpdateRecord( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< UpdateRecordResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +154,11 @@ export async function dnsUpdateRecord( | ConnectionError >( M.json(200, UpdateRecordResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 404, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, 409, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/domainsBuyDomain.ts b/src/funcs/domainsBuyDomain.ts index 0f0b1bee..bb2c79e8 100644 --- a/src/funcs/domainsBuyDomain.ts +++ b/src/funcs/domainsBuyDomain.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + BuyDomainRequest, + BuyDomainRequest$outboundSchema, + BuyDomainResponse, + BuyDomainResponse$inboundSchema, +} from "../models/buydomainop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - BuyDomainRequest, - BuyDomainRequest$outboundSchema, - BuyDomainResponse, - BuyDomainResponse$inboundSchema, -} from "../models/operations/buydomain.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelRateLimitError, + VercelRateLimitError$inboundSchema, +} from "../models/vercelratelimiterror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function domainsBuyDomain( ): Promise< Result< BuyDomainResponse, + | VercelBadRequestError + | VercelForbiddenError + | VercelRateLimitError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +106,7 @@ export async function domainsBuyDomain( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +129,15 @@ export async function domainsBuyDomain( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< BuyDomainResponse, + | VercelBadRequestError + | VercelForbiddenError + | VercelRateLimitError | SDKError | SDKValidationError | UnexpectedClientError @@ -125,8 +148,11 @@ export async function domainsBuyDomain( >( M.json(201, BuyDomainResponse$inboundSchema), M.json(202, BuyDomainResponse$inboundSchema), - M.fail([400, 401, 403, 409, 429, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, 409, "4XX", "5XX"]), + M.jsonErr(429, VercelRateLimitError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/domainsCheckDomainPrice.ts b/src/funcs/domainsCheckDomainPrice.ts index f025efa3..199e86bb 100644 --- a/src/funcs/domainsCheckDomainPrice.ts +++ b/src/funcs/domainsCheckDomainPrice.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CheckDomainPriceRequest, + CheckDomainPriceRequest$outboundSchema, + CheckDomainPriceResponseBody, + CheckDomainPriceResponseBody$inboundSchema, +} from "../models/checkdomainpriceop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CheckDomainPriceRequest, - CheckDomainPriceRequest$outboundSchema, - CheckDomainPriceResponseBody, - CheckDomainPriceResponseBody$inboundSchema, -} from "../models/operations/checkdomainprice.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function domainsCheckDomainPrice( ): Promise< Result< CheckDomainPriceResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -92,6 +102,7 @@ export async function domainsCheckDomainPrice( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -114,8 +125,14 @@ export async function domainsCheckDomainPrice( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CheckDomainPriceResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -125,8 +142,10 @@ export async function domainsCheckDomainPrice( | ConnectionError >( M.json(200, CheckDomainPriceResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/domainsCheckDomainStatus.ts b/src/funcs/domainsCheckDomainStatus.ts index ea73e6c5..30234792 100644 --- a/src/funcs/domainsCheckDomainStatus.ts +++ b/src/funcs/domainsCheckDomainStatus.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CheckDomainStatusRequest, + CheckDomainStatusRequest$outboundSchema, + CheckDomainStatusResponseBody, + CheckDomainStatusResponseBody$inboundSchema, +} from "../models/checkdomainstatusop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CheckDomainStatusRequest, - CheckDomainStatusRequest$outboundSchema, - CheckDomainStatusResponseBody, - CheckDomainStatusResponseBody$inboundSchema, -} from "../models/operations/checkdomainstatus.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function domainsCheckDomainStatus( ): Promise< Result< CheckDomainStatusResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +101,7 @@ export async function domainsCheckDomainStatus( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +124,14 @@ export async function domainsCheckDomainStatus( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CheckDomainStatusResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +141,10 @@ export async function domainsCheckDomainStatus( | ConnectionError >( M.json(200, CheckDomainStatusResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/domainsCreateOrTransferDomain.ts b/src/funcs/domainsCreateOrTransferDomain.ts index f79cb9ea..1021c07f 100644 --- a/src/funcs/domainsCreateOrTransferDomain.ts +++ b/src/funcs/domainsCreateOrTransferDomain.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CreateOrTransferDomainRequest, + CreateOrTransferDomainRequest$outboundSchema, + CreateOrTransferDomainResponseBody, + CreateOrTransferDomainResponseBody$inboundSchema, +} from "../models/createortransferdomainop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CreateOrTransferDomainRequest, - CreateOrTransferDomainRequest$outboundSchema, - CreateOrTransferDomainResponseBody, - CreateOrTransferDomainResponseBody$inboundSchema, -} from "../models/operations/createortransferdomain.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function domainsCreateOrTransferDomain( ): Promise< Result< CreateOrTransferDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +106,7 @@ export async function domainsCreateOrTransferDomain( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +129,15 @@ export async function domainsCreateOrTransferDomain( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CreateOrTransferDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +147,11 @@ export async function domainsCreateOrTransferDomain( | ConnectionError >( M.json(200, CreateOrTransferDomainResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 404, 409, "4XX", 500, "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, 409, "4XX", 500, "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/domainsDeleteDomain.ts b/src/funcs/domainsDeleteDomain.ts index 28608ec1..a6d6b7ab 100644 --- a/src/funcs/domainsDeleteDomain.ts +++ b/src/funcs/domainsDeleteDomain.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DeleteDomainRequest, + DeleteDomainRequest$outboundSchema, + DeleteDomainResponseBody, + DeleteDomainResponseBody$inboundSchema, +} from "../models/deletedomainop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DeleteDomainRequest, - DeleteDomainRequest$outboundSchema, - DeleteDomainResponseBody, - DeleteDomainResponseBody$inboundSchema, -} from "../models/operations/deletedomain.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function domainsDeleteDomain( ): Promise< Result< DeleteDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +112,7 @@ export async function domainsDeleteDomain( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +135,15 @@ export async function domainsDeleteDomain( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< DeleteDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +153,11 @@ export async function domainsDeleteDomain( | ConnectionError >( M.json(200, DeleteDomainResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, 409, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/domainsGetDomain.ts b/src/funcs/domainsGetDomain.ts index cff28981..1e642317 100644 --- a/src/funcs/domainsGetDomain.ts +++ b/src/funcs/domainsGetDomain.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetDomainRequest, + GetDomainRequest$outboundSchema, + GetDomainResponseBody, + GetDomainResponseBody$inboundSchema, +} from "../models/getdomainop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetDomainRequest, - GetDomainRequest$outboundSchema, - GetDomainResponseBody, - GetDomainResponseBody$inboundSchema, -} from "../models/operations/getdomain.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function domainsGetDomain( ): Promise< Result< GetDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +112,7 @@ export async function domainsGetDomain( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +135,15 @@ export async function domainsGetDomain( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +153,11 @@ export async function domainsGetDomain( | ConnectionError >( M.json(200, GetDomainResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/domainsGetDomainConfig.ts b/src/funcs/domainsGetDomainConfig.ts index e7c138ab..3790a6fc 100644 --- a/src/funcs/domainsGetDomainConfig.ts +++ b/src/funcs/domainsGetDomainConfig.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetDomainConfigRequest, + GetDomainConfigRequest$outboundSchema, + GetDomainConfigResponseBody, + GetDomainConfigResponseBody$inboundSchema, +} from "../models/getdomainconfigop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetDomainConfigRequest, - GetDomainConfigRequest$outboundSchema, - GetDomainConfigResponseBody, - GetDomainConfigResponseBody$inboundSchema, -} from "../models/operations/getdomainconfig.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function domainsGetDomainConfig( ): Promise< Result< GetDomainConfigResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -98,6 +108,7 @@ export async function domainsGetDomainConfig( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -111,7 +122,7 @@ export async function domainsGetDomainConfig( const doResult = await client._do(req, { context, - errorCodes: ["400", "401", "403", "4XX", "5XX"], + errorCodes: ["400", "401", "403", "4XX", "500", "5XX"], retryConfig: context.retryConfig, retryCodes: context.retryCodes, }); @@ -120,8 +131,14 @@ export async function domainsGetDomainConfig( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetDomainConfigResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +148,10 @@ export async function domainsGetDomainConfig( | ConnectionError >( M.json(200, GetDomainConfigResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", 500, "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/domainsGetDomainTransfer.ts b/src/funcs/domainsGetDomainTransfer.ts index 6e4f330a..ecd4d283 100644 --- a/src/funcs/domainsGetDomainTransfer.ts +++ b/src/funcs/domainsGetDomainTransfer.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetDomainTransferRequest, + GetDomainTransferRequest$outboundSchema, + GetDomainTransferResponseBody, + GetDomainTransferResponseBody$inboundSchema, +} from "../models/getdomaintransferop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetDomainTransferRequest, - GetDomainTransferRequest$outboundSchema, - GetDomainTransferResponseBody, - GetDomainTransferResponseBody$inboundSchema, -} from "../models/operations/getdomaintransfer.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function domainsGetDomainTransfer( ): Promise< Result< GetDomainTransferResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +107,7 @@ export async function domainsGetDomainTransfer( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +130,14 @@ export async function domainsGetDomainTransfer( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetDomainTransferResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +147,10 @@ export async function domainsGetDomainTransfer( | ConnectionError >( M.json(200, GetDomainTransferResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/domainsGetDomains.ts b/src/funcs/domainsGetDomains.ts index 15b1c6dd..274cc886 100644 --- a/src/funcs/domainsGetDomains.ts +++ b/src/funcs/domainsGetDomains.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetDomainsRequest, + GetDomainsRequest$outboundSchema, + GetDomainsResponseBody, + GetDomainsResponseBody$inboundSchema, +} from "../models/getdomainsop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetDomainsRequest, - GetDomainsRequest$outboundSchema, - GetDomainsResponseBody, - GetDomainsResponseBody$inboundSchema, -} from "../models/operations/getdomains.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function domainsGetDomains( ): Promise< Result< GetDomainsResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -93,6 +103,7 @@ export async function domainsGetDomains( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -115,8 +126,14 @@ export async function domainsGetDomains( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetDomainsResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -126,8 +143,10 @@ export async function domainsGetDomains( | ConnectionError >( M.json(200, GetDomainsResponseBody$inboundSchema), - M.fail([400, 401, 403, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, 409, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/domainsPatchDomain.ts b/src/funcs/domainsPatchDomain.ts index 9dc3f046..9e88e0cb 100644 --- a/src/funcs/domainsPatchDomain.ts +++ b/src/funcs/domainsPatchDomain.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { PatchDomainRequest, PatchDomainRequest$outboundSchema, PatchDomainResponseBody, PatchDomainResponseBody$inboundSchema, -} from "../models/operations/patchdomain.js"; +} from "../models/patchdomainop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function domainsPatchDomain( ): Promise< Result< PatchDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -98,6 +113,7 @@ export async function domainsPatchDomain( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PATCH", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -120,8 +136,15 @@ export async function domainsPatchDomain( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< PatchDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +154,11 @@ export async function domainsPatchDomain( | ConnectionError >( M.json(200, PatchDomainResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, 409, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/edgeConfigCreateEdgeConfig.ts b/src/funcs/edgeConfigCreateEdgeConfig.ts index f3ef3f06..9a759da5 100644 --- a/src/funcs/edgeConfigCreateEdgeConfig.ts +++ b/src/funcs/edgeConfigCreateEdgeConfig.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CreateEdgeConfigRequest, + CreateEdgeConfigRequest$outboundSchema, + CreateEdgeConfigResponseBody, + CreateEdgeConfigResponseBody$inboundSchema, +} from "../models/createedgeconfigop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CreateEdgeConfigRequest, - CreateEdgeConfigRequest$outboundSchema, - CreateEdgeConfigResponseBody, - CreateEdgeConfigResponseBody$inboundSchema, -} from "../models/operations/createedgeconfig.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function edgeConfigCreateEdgeConfig( ): Promise< Result< CreateEdgeConfigResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +101,7 @@ export async function edgeConfigCreateEdgeConfig( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +124,14 @@ export async function edgeConfigCreateEdgeConfig( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CreateEdgeConfigResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +141,10 @@ export async function edgeConfigCreateEdgeConfig( | ConnectionError >( M.json(201, CreateEdgeConfigResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/edgeConfigCreateEdgeConfigToken.ts b/src/funcs/edgeConfigCreateEdgeConfigToken.ts index 3da76775..1e60f3bc 100644 --- a/src/funcs/edgeConfigCreateEdgeConfigToken.ts +++ b/src/funcs/edgeConfigCreateEdgeConfigToken.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CreateEdgeConfigTokenRequest, + CreateEdgeConfigTokenRequest$outboundSchema, + CreateEdgeConfigTokenResponseBody, + CreateEdgeConfigTokenResponseBody$inboundSchema, +} from "../models/createedgeconfigtokenop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CreateEdgeConfigTokenRequest, - CreateEdgeConfigTokenRequest$outboundSchema, - CreateEdgeConfigTokenResponseBody, - CreateEdgeConfigTokenResponseBody$inboundSchema, -} from "../models/operations/createedgeconfigtoken.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function edgeConfigCreateEdgeConfigToken( ): Promise< Result< CreateEdgeConfigTokenResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -98,6 +113,7 @@ export async function edgeConfigCreateEdgeConfigToken( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -120,8 +136,15 @@ export async function edgeConfigCreateEdgeConfigToken( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CreateEdgeConfigTokenResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +154,11 @@ export async function edgeConfigCreateEdgeConfigToken( | ConnectionError >( M.json(201, CreateEdgeConfigTokenResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/edgeConfigDeleteEdgeConfig.ts b/src/funcs/edgeConfigDeleteEdgeConfig.ts index e01a5dda..044a155e 100644 --- a/src/funcs/edgeConfigDeleteEdgeConfig.ts +++ b/src/funcs/edgeConfigDeleteEdgeConfig.ts @@ -10,19 +10,31 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DeleteEdgeConfigRequest, + DeleteEdgeConfigRequest$outboundSchema, +} from "../models/deleteedgeconfigop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DeleteEdgeConfigRequest, - DeleteEdgeConfigRequest$outboundSchema, -} from "../models/operations/deleteedgeconfig.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +50,9 @@ export async function edgeConfigDeleteEdgeConfig( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -73,7 +88,7 @@ export async function edgeConfigDeleteEdgeConfig( }); const headers = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -96,6 +111,7 @@ export async function edgeConfigDeleteEdgeConfig( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -118,8 +134,15 @@ export async function edgeConfigDeleteEdgeConfig( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -129,8 +152,11 @@ export async function edgeConfigDeleteEdgeConfig( | ConnectionError >( M.nil(204, z.void()), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/edgeConfigDeleteEdgeConfigSchema.ts b/src/funcs/edgeConfigDeleteEdgeConfigSchema.ts index 8c3e3145..45266c77 100644 --- a/src/funcs/edgeConfigDeleteEdgeConfigSchema.ts +++ b/src/funcs/edgeConfigDeleteEdgeConfigSchema.ts @@ -10,19 +10,31 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DeleteEdgeConfigSchemaRequest, + DeleteEdgeConfigSchemaRequest$outboundSchema, +} from "../models/deleteedgeconfigschemaop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DeleteEdgeConfigSchemaRequest, - DeleteEdgeConfigSchemaRequest$outboundSchema, -} from "../models/operations/deleteedgeconfigschema.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +50,9 @@ export async function edgeConfigDeleteEdgeConfigSchema( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -73,7 +88,7 @@ export async function edgeConfigDeleteEdgeConfigSchema( }); const headers = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -96,6 +111,7 @@ export async function edgeConfigDeleteEdgeConfigSchema( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -118,8 +134,15 @@ export async function edgeConfigDeleteEdgeConfigSchema( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -129,8 +152,11 @@ export async function edgeConfigDeleteEdgeConfigSchema( | ConnectionError >( M.nil(204, z.void()), - M.fail([400, 401, 402, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/edgeConfigDeleteEdgeConfigTokens.ts b/src/funcs/edgeConfigDeleteEdgeConfigTokens.ts index 6ec13798..a2fffeaf 100644 --- a/src/funcs/edgeConfigDeleteEdgeConfigTokens.ts +++ b/src/funcs/edgeConfigDeleteEdgeConfigTokens.ts @@ -10,19 +10,31 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DeleteEdgeConfigTokensRequest, + DeleteEdgeConfigTokensRequest$outboundSchema, +} from "../models/deleteedgeconfigtokensop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DeleteEdgeConfigTokensRequest, - DeleteEdgeConfigTokensRequest$outboundSchema, -} from "../models/operations/deleteedgeconfigtokens.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +50,9 @@ export async function edgeConfigDeleteEdgeConfigTokens( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -74,7 +89,7 @@ export async function edgeConfigDeleteEdgeConfigTokens( const headers = new Headers({ "Content-Type": "application/json", - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -97,6 +112,7 @@ export async function edgeConfigDeleteEdgeConfigTokens( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +135,15 @@ export async function edgeConfigDeleteEdgeConfigTokens( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +153,11 @@ export async function edgeConfigDeleteEdgeConfigTokens( | ConnectionError >( M.nil(204, z.void()), - M.fail([400, 401, 402, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/edgeConfigGetEdgeConfig.ts b/src/funcs/edgeConfigGetEdgeConfig.ts index f262469a..bd5bd364 100644 --- a/src/funcs/edgeConfigGetEdgeConfig.ts +++ b/src/funcs/edgeConfigGetEdgeConfig.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetEdgeConfigRequest, + GetEdgeConfigRequest$outboundSchema, + GetEdgeConfigResponseBody, + GetEdgeConfigResponseBody$inboundSchema, +} from "../models/getedgeconfigop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetEdgeConfigRequest, - GetEdgeConfigRequest$outboundSchema, - GetEdgeConfigResponseBody, - GetEdgeConfigResponseBody$inboundSchema, -} from "../models/operations/getedgeconfig.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function edgeConfigGetEdgeConfig( ): Promise< Result< GetEdgeConfigResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +112,7 @@ export async function edgeConfigGetEdgeConfig( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +135,15 @@ export async function edgeConfigGetEdgeConfig( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetEdgeConfigResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +153,11 @@ export async function edgeConfigGetEdgeConfig( | ConnectionError >( M.json(200, GetEdgeConfigResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/edgeConfigGetEdgeConfigBackup.ts b/src/funcs/edgeConfigGetEdgeConfigBackup.ts index d7974e1d..e4b8c925 100644 --- a/src/funcs/edgeConfigGetEdgeConfigBackup.ts +++ b/src/funcs/edgeConfigGetEdgeConfigBackup.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetEdgeConfigBackupRequest, + GetEdgeConfigBackupRequest$outboundSchema, + GetEdgeConfigBackupResponseBody, + GetEdgeConfigBackupResponseBody$inboundSchema, +} from "../models/getedgeconfigbackupop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetEdgeConfigBackupRequest, - GetEdgeConfigBackupRequest$outboundSchema, - GetEdgeConfigBackupResponseBody, - GetEdgeConfigBackupResponseBody$inboundSchema, -} from "../models/operations/getedgeconfigbackup.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function edgeConfigGetEdgeConfigBackup( ): Promise< Result< GetEdgeConfigBackupResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -104,6 +119,7 @@ export async function edgeConfigGetEdgeConfigBackup( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -126,8 +142,15 @@ export async function edgeConfigGetEdgeConfigBackup( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetEdgeConfigBackupResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -137,8 +160,11 @@ export async function edgeConfigGetEdgeConfigBackup( | ConnectionError >( M.json(200, GetEdgeConfigBackupResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/edgeConfigGetEdgeConfigBackups.ts b/src/funcs/edgeConfigGetEdgeConfigBackups.ts index 29f0134b..06c634c4 100644 --- a/src/funcs/edgeConfigGetEdgeConfigBackups.ts +++ b/src/funcs/edgeConfigGetEdgeConfigBackups.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetEdgeConfigBackupsRequest, + GetEdgeConfigBackupsRequest$outboundSchema, + GetEdgeConfigBackupsResponseBody, + GetEdgeConfigBackupsResponseBody$inboundSchema, +} from "../models/getedgeconfigbackupsop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetEdgeConfigBackupsRequest, - GetEdgeConfigBackupsRequest$outboundSchema, - GetEdgeConfigBackupsResponseBody, - GetEdgeConfigBackupsResponseBody$inboundSchema, -} from "../models/operations/getedgeconfigbackups.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function edgeConfigGetEdgeConfigBackups( ): Promise< Result< GetEdgeConfigBackupsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -100,6 +115,7 @@ export async function edgeConfigGetEdgeConfigBackups( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -122,8 +138,15 @@ export async function edgeConfigGetEdgeConfigBackups( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetEdgeConfigBackupsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -133,8 +156,11 @@ export async function edgeConfigGetEdgeConfigBackups( | ConnectionError >( M.json(200, GetEdgeConfigBackupsResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/edgeConfigGetEdgeConfigItem.ts b/src/funcs/edgeConfigGetEdgeConfigItem.ts index e17a8d9b..969f1975 100644 --- a/src/funcs/edgeConfigGetEdgeConfigItem.ts +++ b/src/funcs/edgeConfigGetEdgeConfigItem.ts @@ -12,20 +12,32 @@ import { pathToFunc } from "../lib/url.js"; import { EdgeConfigItem, EdgeConfigItem$inboundSchema, -} from "../models/components/edgeconfigitem.js"; +} from "../models/edgeconfigitem.js"; +import { + GetEdgeConfigItemRequest, + GetEdgeConfigItemRequest$outboundSchema, +} from "../models/getedgeconfigitemop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetEdgeConfigItemRequest, - GetEdgeConfigItemRequest$outboundSchema, -} from "../models/operations/getedgeconfigitem.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -41,6 +53,9 @@ export async function edgeConfigGetEdgeConfigItem( ): Promise< Result< EdgeConfigItem, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -106,6 +121,7 @@ export async function edgeConfigGetEdgeConfigItem( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -128,8 +144,15 @@ export async function edgeConfigGetEdgeConfigItem( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< EdgeConfigItem, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -139,8 +162,11 @@ export async function edgeConfigGetEdgeConfigItem( | ConnectionError >( M.json(200, EdgeConfigItem$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/edgeConfigGetEdgeConfigItems.ts b/src/funcs/edgeConfigGetEdgeConfigItems.ts index f583c1c8..bbaa5cde 100644 --- a/src/funcs/edgeConfigGetEdgeConfigItems.ts +++ b/src/funcs/edgeConfigGetEdgeConfigItems.ts @@ -12,20 +12,32 @@ import { pathToFunc } from "../lib/url.js"; import { EdgeConfigItem, EdgeConfigItem$inboundSchema, -} from "../models/components/edgeconfigitem.js"; +} from "../models/edgeconfigitem.js"; +import { + GetEdgeConfigItemsRequest, + GetEdgeConfigItemsRequest$outboundSchema, +} from "../models/getedgeconfigitemsop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetEdgeConfigItemsRequest, - GetEdgeConfigItemsRequest$outboundSchema, -} from "../models/operations/getedgeconfigitems.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -41,6 +53,9 @@ export async function edgeConfigGetEdgeConfigItems( ): Promise< Result< EdgeConfigItem, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -99,6 +114,7 @@ export async function edgeConfigGetEdgeConfigItems( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -121,8 +137,15 @@ export async function edgeConfigGetEdgeConfigItems( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< EdgeConfigItem, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -132,8 +155,11 @@ export async function edgeConfigGetEdgeConfigItems( | ConnectionError >( M.json(200, EdgeConfigItem$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/edgeConfigGetEdgeConfigSchema.ts b/src/funcs/edgeConfigGetEdgeConfigSchema.ts index 082912fe..f133b3da 100644 --- a/src/funcs/edgeConfigGetEdgeConfigSchema.ts +++ b/src/funcs/edgeConfigGetEdgeConfigSchema.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetEdgeConfigSchemaRequest, + GetEdgeConfigSchemaRequest$outboundSchema, + GetEdgeConfigSchemaResponseBody, + GetEdgeConfigSchemaResponseBody$inboundSchema, +} from "../models/getedgeconfigschemaop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetEdgeConfigSchemaRequest, - GetEdgeConfigSchemaRequest$outboundSchema, - GetEdgeConfigSchemaResponseBody, - GetEdgeConfigSchemaResponseBody$inboundSchema, -} from "../models/operations/getedgeconfigschema.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function edgeConfigGetEdgeConfigSchema( ): Promise< Result< GetEdgeConfigSchemaResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +112,7 @@ export async function edgeConfigGetEdgeConfigSchema( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +135,15 @@ export async function edgeConfigGetEdgeConfigSchema( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetEdgeConfigSchemaResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +153,11 @@ export async function edgeConfigGetEdgeConfigSchema( | ConnectionError >( M.json(200, GetEdgeConfigSchemaResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/edgeConfigGetEdgeConfigToken.ts b/src/funcs/edgeConfigGetEdgeConfigToken.ts index 66fe2c8e..b8e8e3a7 100644 --- a/src/funcs/edgeConfigGetEdgeConfigToken.ts +++ b/src/funcs/edgeConfigGetEdgeConfigToken.ts @@ -12,20 +12,32 @@ import { pathToFunc } from "../lib/url.js"; import { EdgeConfigToken, EdgeConfigToken$inboundSchema, -} from "../models/components/edgeconfigtoken.js"; +} from "../models/edgeconfigtoken.js"; +import { + GetEdgeConfigTokenRequest, + GetEdgeConfigTokenRequest$outboundSchema, +} from "../models/getedgeconfigtokenop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetEdgeConfigTokenRequest, - GetEdgeConfigTokenRequest$outboundSchema, -} from "../models/operations/getedgeconfigtoken.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -41,6 +53,9 @@ export async function edgeConfigGetEdgeConfigToken( ): Promise< Result< EdgeConfigToken, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -105,6 +120,7 @@ export async function edgeConfigGetEdgeConfigToken( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -127,8 +143,15 @@ export async function edgeConfigGetEdgeConfigToken( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< EdgeConfigToken, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -138,8 +161,11 @@ export async function edgeConfigGetEdgeConfigToken( | ConnectionError >( M.json(200, EdgeConfigToken$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/edgeConfigGetEdgeConfigTokens.ts b/src/funcs/edgeConfigGetEdgeConfigTokens.ts index 22f861ac..c5f2a742 100644 --- a/src/funcs/edgeConfigGetEdgeConfigTokens.ts +++ b/src/funcs/edgeConfigGetEdgeConfigTokens.ts @@ -12,20 +12,32 @@ import { pathToFunc } from "../lib/url.js"; import { EdgeConfigToken, EdgeConfigToken$inboundSchema, -} from "../models/components/edgeconfigtoken.js"; +} from "../models/edgeconfigtoken.js"; +import { + GetEdgeConfigTokensRequest, + GetEdgeConfigTokensRequest$outboundSchema, +} from "../models/getedgeconfigtokensop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetEdgeConfigTokensRequest, - GetEdgeConfigTokensRequest$outboundSchema, -} from "../models/operations/getedgeconfigtokens.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -41,6 +53,9 @@ export async function edgeConfigGetEdgeConfigTokens( ): Promise< Result< EdgeConfigToken, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -99,6 +114,7 @@ export async function edgeConfigGetEdgeConfigTokens( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -121,8 +137,15 @@ export async function edgeConfigGetEdgeConfigTokens( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< EdgeConfigToken, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -132,8 +155,11 @@ export async function edgeConfigGetEdgeConfigTokens( | ConnectionError >( M.json(200, EdgeConfigToken$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/edgeConfigGetEdgeConfigs.ts b/src/funcs/edgeConfigGetEdgeConfigs.ts index 714cf217..765dd33f 100644 --- a/src/funcs/edgeConfigGetEdgeConfigs.ts +++ b/src/funcs/edgeConfigGetEdgeConfigs.ts @@ -10,21 +10,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetEdgeConfigsRequest, + GetEdgeConfigsRequest$outboundSchema, + GetEdgeConfigsResponseBody, + GetEdgeConfigsResponseBody$inboundSchema, +} from "../models/getedgeconfigsop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetEdgeConfigsRequest, - GetEdgeConfigsRequest$outboundSchema, - GetEdgeConfigsResponseBody, - GetEdgeConfigsResponseBody$inboundSchema, -} from "../models/operations/getedgeconfigs.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -40,6 +48,8 @@ export async function edgeConfigGetEdgeConfigs( ): Promise< Result< Array, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +101,7 @@ export async function edgeConfigGetEdgeConfigs( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +124,14 @@ export async function edgeConfigGetEdgeConfigs( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< Array, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +141,10 @@ export async function edgeConfigGetEdgeConfigs( | ConnectionError >( M.json(200, z.array(GetEdgeConfigsResponseBody$inboundSchema)), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/edgeConfigPatchEdgeConfigSchema.ts b/src/funcs/edgeConfigPatchEdgeConfigSchema.ts index 16b1a10c..d8bb9af8 100644 --- a/src/funcs/edgeConfigPatchEdgeConfigSchema.ts +++ b/src/funcs/edgeConfigPatchEdgeConfigSchema.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { PatchEdgeConfigSchemaRequest, PatchEdgeConfigSchemaRequest$outboundSchema, PatchEdgeConfigSchemaResponseBody, PatchEdgeConfigSchemaResponseBody$inboundSchema, -} from "../models/operations/patchedgeconfigschema.js"; +} from "../models/patchedgeconfigschemaop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function edgeConfigPatchEdgeConfigSchema( ): Promise< Result< PatchEdgeConfigSchemaResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -99,6 +114,7 @@ export async function edgeConfigPatchEdgeConfigSchema( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -121,8 +137,15 @@ export async function edgeConfigPatchEdgeConfigSchema( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< PatchEdgeConfigSchemaResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -132,8 +155,11 @@ export async function edgeConfigPatchEdgeConfigSchema( | ConnectionError >( M.json(200, PatchEdgeConfigSchemaResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/edgeConfigUpdateEdgeConfig.ts b/src/funcs/edgeConfigUpdateEdgeConfig.ts index e145259c..df47b7ce 100644 --- a/src/funcs/edgeConfigUpdateEdgeConfig.ts +++ b/src/funcs/edgeConfigUpdateEdgeConfig.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UpdateEdgeConfigRequest, UpdateEdgeConfigRequest$outboundSchema, UpdateEdgeConfigResponseBody, UpdateEdgeConfigResponseBody$inboundSchema, -} from "../models/operations/updateedgeconfig.js"; +} from "../models/updateedgeconfigop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function edgeConfigUpdateEdgeConfig( ): Promise< Result< UpdateEdgeConfigResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -98,6 +113,7 @@ export async function edgeConfigUpdateEdgeConfig( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PUT", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -120,8 +136,15 @@ export async function edgeConfigUpdateEdgeConfig( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< UpdateEdgeConfigResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +154,11 @@ export async function edgeConfigUpdateEdgeConfig( | ConnectionError >( M.json(200, UpdateEdgeConfigResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/integrationsDeleteConfiguration.ts b/src/funcs/integrationsDeleteConfiguration.ts index 82b8f3f8..431849f4 100644 --- a/src/funcs/integrationsDeleteConfiguration.ts +++ b/src/funcs/integrationsDeleteConfiguration.ts @@ -10,19 +10,31 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DeleteConfigurationRequest, + DeleteConfigurationRequest$outboundSchema, +} from "../models/deleteconfigurationop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DeleteConfigurationRequest, - DeleteConfigurationRequest$outboundSchema, -} from "../models/operations/deleteconfiguration.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +50,9 @@ export async function integrationsDeleteConfiguration( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -73,7 +88,7 @@ export async function integrationsDeleteConfiguration( }); const headers = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -96,6 +111,7 @@ export async function integrationsDeleteConfiguration( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -118,8 +134,15 @@ export async function integrationsDeleteConfiguration( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -129,8 +152,11 @@ export async function integrationsDeleteConfiguration( | ConnectionError >( M.nil(204, z.void()), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/integrationsGetConfiguration.ts b/src/funcs/integrationsGetConfiguration.ts index 399a3b12..91531a92 100644 --- a/src/funcs/integrationsGetConfiguration.ts +++ b/src/funcs/integrationsGetConfiguration.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetConfigurationRequest, + GetConfigurationRequest$outboundSchema, + GetConfigurationResponseBody, + GetConfigurationResponseBody$inboundSchema, +} from "../models/getconfigurationop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetConfigurationRequest, - GetConfigurationRequest$outboundSchema, - GetConfigurationResponseBody, - GetConfigurationResponseBody$inboundSchema, -} from "../models/operations/getconfiguration.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function integrationsGetConfiguration( ): Promise< Result< GetConfigurationResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +112,7 @@ export async function integrationsGetConfiguration( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +135,15 @@ export async function integrationsGetConfiguration( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetConfigurationResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +153,11 @@ export async function integrationsGetConfiguration( | ConnectionError >( M.json(200, GetConfigurationResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/integrationsGetConfigurations.ts b/src/funcs/integrationsGetConfigurations.ts index 96789a4d..da07ee4b 100644 --- a/src/funcs/integrationsGetConfigurations.ts +++ b/src/funcs/integrationsGetConfigurations.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetConfigurationsRequest, + GetConfigurationsRequest$outboundSchema, + GetConfigurationsResponseBody, + GetConfigurationsResponseBody$inboundSchema, +} from "../models/getconfigurationsop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetConfigurationsRequest, - GetConfigurationsRequest$outboundSchema, - GetConfigurationsResponseBody, - GetConfigurationsResponseBody$inboundSchema, -} from "../models/operations/getconfigurations.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function integrationsGetConfigurations( ): Promise< Result< GetConfigurationsResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -93,6 +103,7 @@ export async function integrationsGetConfigurations( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -115,8 +126,14 @@ export async function integrationsGetConfigurations( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetConfigurationsResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -126,8 +143,10 @@ export async function integrationsGetConfigurations( | ConnectionError >( M.json(200, GetConfigurationsResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/integrationsGitNamespaces.ts b/src/funcs/integrationsGitNamespaces.ts index bfc8d70d..552e550a 100644 --- a/src/funcs/integrationsGitNamespaces.ts +++ b/src/funcs/integrationsGitNamespaces.ts @@ -10,21 +10,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GitNamespacesRequest, + GitNamespacesRequest$outboundSchema, + GitNamespacesResponseBody, + GitNamespacesResponseBody$inboundSchema, +} from "../models/gitnamespacesop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GitNamespacesRequest, - GitNamespacesRequest$outboundSchema, - GitNamespacesResponseBody, - GitNamespacesResponseBody$inboundSchema, -} from "../models/operations/gitnamespaces.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -40,6 +48,8 @@ export async function integrationsGitNamespaces( ): Promise< Result< Array, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +101,7 @@ export async function integrationsGitNamespaces( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +124,14 @@ export async function integrationsGitNamespaces( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< Array, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +141,10 @@ export async function integrationsGitNamespaces( | ConnectionError >( M.json(200, z.array(GitNamespacesResponseBody$inboundSchema)), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/integrationsSearchRepo.ts b/src/funcs/integrationsSearchRepo.ts index bb9bd8d0..e5e1c74d 100644 --- a/src/funcs/integrationsSearchRepo.ts +++ b/src/funcs/integrationsSearchRepo.ts @@ -15,15 +15,19 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { SearchRepoRequest, SearchRepoRequest$outboundSchema, SearchRepoResponseBody, SearchRepoResponseBody$inboundSchema, -} from "../models/operations/searchrepo.js"; +} from "../models/searchrepoop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +43,7 @@ export async function integrationsSearchRepo( ): Promise< Result< SearchRepoResponseBody, + | VercelBadRequestError | SDKError | SDKValidationError | UnexpectedClientError @@ -95,6 +100,7 @@ export async function integrationsSearchRepo( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -117,8 +123,13 @@ export async function integrationsSearchRepo( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< SearchRepoResponseBody, + | VercelBadRequestError | SDKError | SDKValidationError | UnexpectedClientError @@ -128,8 +139,9 @@ export async function integrationsSearchRepo( | ConnectionError >( M.json(200, SearchRepoResponseBody$inboundSchema), - M.fail([400, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/logDrainsCreateConfigurableLogDrain.ts b/src/funcs/logDrainsCreateConfigurableLogDrain.ts index 4dd9f0cf..2d5681de 100644 --- a/src/funcs/logDrainsCreateConfigurableLogDrain.ts +++ b/src/funcs/logDrainsCreateConfigurableLogDrain.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CreateConfigurableLogDrainRequest, + CreateConfigurableLogDrainRequest$outboundSchema, + CreateConfigurableLogDrainResponseBody, + CreateConfigurableLogDrainResponseBody$inboundSchema, +} from "../models/createconfigurablelogdrainop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CreateConfigurableLogDrainRequest, - CreateConfigurableLogDrainRequest$outboundSchema, - CreateConfigurableLogDrainResponseBody, - CreateConfigurableLogDrainResponseBody$inboundSchema, -} from "../models/operations/createconfigurablelogdrain.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function logDrainsCreateConfigurableLogDrain( ): Promise< Result< CreateConfigurableLogDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +101,7 @@ export async function logDrainsCreateConfigurableLogDrain( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +124,14 @@ export async function logDrainsCreateConfigurableLogDrain( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CreateConfigurableLogDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +141,10 @@ export async function logDrainsCreateConfigurableLogDrain( | ConnectionError >( M.json(200, CreateConfigurableLogDrainResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/logDrainsCreateLogDrain.ts b/src/funcs/logDrainsCreateLogDrain.ts index e38e2f07..93b188d2 100644 --- a/src/funcs/logDrainsCreateLogDrain.ts +++ b/src/funcs/logDrainsCreateLogDrain.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CreateLogDrainRequest, + CreateLogDrainRequest$outboundSchema, + CreateLogDrainResponseBody, + CreateLogDrainResponseBody$inboundSchema, +} from "../models/createlogdrainop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CreateLogDrainRequest, - CreateLogDrainRequest$outboundSchema, - CreateLogDrainResponseBody, - CreateLogDrainResponseBody$inboundSchema, -} from "../models/operations/createlogdrain.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function logDrainsCreateLogDrain( ): Promise< Result< CreateLogDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +101,7 @@ export async function logDrainsCreateLogDrain( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +124,14 @@ export async function logDrainsCreateLogDrain( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CreateLogDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +141,10 @@ export async function logDrainsCreateLogDrain( | ConnectionError >( M.json(200, CreateLogDrainResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/logDrainsDeleteConfigurableLogDrain.ts b/src/funcs/logDrainsDeleteConfigurableLogDrain.ts index 00622880..b177e815 100644 --- a/src/funcs/logDrainsDeleteConfigurableLogDrain.ts +++ b/src/funcs/logDrainsDeleteConfigurableLogDrain.ts @@ -10,19 +10,31 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DeleteConfigurableLogDrainRequest, + DeleteConfigurableLogDrainRequest$outboundSchema, +} from "../models/deleteconfigurablelogdrainop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DeleteConfigurableLogDrainRequest, - DeleteConfigurableLogDrainRequest$outboundSchema, -} from "../models/operations/deleteconfigurablelogdrain.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +50,9 @@ export async function logDrainsDeleteConfigurableLogDrain( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -73,7 +88,7 @@ export async function logDrainsDeleteConfigurableLogDrain( }); const headers = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -96,6 +111,7 @@ export async function logDrainsDeleteConfigurableLogDrain( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -118,8 +134,15 @@ export async function logDrainsDeleteConfigurableLogDrain( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -129,8 +152,11 @@ export async function logDrainsDeleteConfigurableLogDrain( | ConnectionError >( M.nil(204, z.void()), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/logDrainsDeleteIntegrationLogDrain.ts b/src/funcs/logDrainsDeleteIntegrationLogDrain.ts index a9e6095b..54eb6850 100644 --- a/src/funcs/logDrainsDeleteIntegrationLogDrain.ts +++ b/src/funcs/logDrainsDeleteIntegrationLogDrain.ts @@ -10,19 +10,31 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DeleteIntegrationLogDrainRequest, + DeleteIntegrationLogDrainRequest$outboundSchema, +} from "../models/deleteintegrationlogdrainop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DeleteIntegrationLogDrainRequest, - DeleteIntegrationLogDrainRequest$outboundSchema, -} from "../models/operations/deleteintegrationlogdrain.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +50,9 @@ export async function logDrainsDeleteIntegrationLogDrain( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -73,7 +88,7 @@ export async function logDrainsDeleteIntegrationLogDrain( }); const headers = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -96,6 +111,7 @@ export async function logDrainsDeleteIntegrationLogDrain( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -118,8 +134,15 @@ export async function logDrainsDeleteIntegrationLogDrain( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -129,8 +152,11 @@ export async function logDrainsDeleteIntegrationLogDrain( | ConnectionError >( M.nil(204, z.void()), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/logDrainsGetAllLogDrains.ts b/src/funcs/logDrainsGetAllLogDrains.ts index 8c81dfb3..86cc2b2a 100644 --- a/src/funcs/logDrainsGetAllLogDrains.ts +++ b/src/funcs/logDrainsGetAllLogDrains.ts @@ -10,21 +10,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetAllLogDrainsRequest, + GetAllLogDrainsRequest$outboundSchema, + GetAllLogDrainsResponseBody, + GetAllLogDrainsResponseBody$inboundSchema, +} from "../models/getalllogdrainsop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetAllLogDrainsRequest, - GetAllLogDrainsRequest$outboundSchema, - GetAllLogDrainsResponseBody, - GetAllLogDrainsResponseBody$inboundSchema, -} from "../models/operations/getalllogdrains.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -40,6 +48,8 @@ export async function logDrainsGetAllLogDrains( ): Promise< Result< Array, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -92,6 +102,7 @@ export async function logDrainsGetAllLogDrains( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -114,8 +125,14 @@ export async function logDrainsGetAllLogDrains( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< Array, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -125,8 +142,10 @@ export async function logDrainsGetAllLogDrains( | ConnectionError >( M.json(200, z.array(GetAllLogDrainsResponseBody$inboundSchema)), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/logDrainsGetConfigurableLogDrain.ts b/src/funcs/logDrainsGetConfigurableLogDrain.ts index ef43de7f..1548cd88 100644 --- a/src/funcs/logDrainsGetConfigurableLogDrain.ts +++ b/src/funcs/logDrainsGetConfigurableLogDrain.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetConfigurableLogDrainRequest, + GetConfigurableLogDrainRequest$outboundSchema, + GetConfigurableLogDrainResponseBody, + GetConfigurableLogDrainResponseBody$inboundSchema, +} from "../models/getconfigurablelogdrainop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetConfigurableLogDrainRequest, - GetConfigurableLogDrainRequest$outboundSchema, - GetConfigurableLogDrainResponseBody, - GetConfigurableLogDrainResponseBody$inboundSchema, -} from "../models/operations/getconfigurablelogdrain.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function logDrainsGetConfigurableLogDrain( ): Promise< Result< GetConfigurableLogDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +112,7 @@ export async function logDrainsGetConfigurableLogDrain( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +135,15 @@ export async function logDrainsGetConfigurableLogDrain( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetConfigurableLogDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +153,11 @@ export async function logDrainsGetConfigurableLogDrain( | ConnectionError >( M.json(200, GetConfigurableLogDrainResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/logDrainsGetIntegrationLogDrains.ts b/src/funcs/logDrainsGetIntegrationLogDrains.ts index e38f06a6..1c25e940 100644 --- a/src/funcs/logDrainsGetIntegrationLogDrains.ts +++ b/src/funcs/logDrainsGetIntegrationLogDrains.ts @@ -10,21 +10,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetIntegrationLogDrainsRequest, + GetIntegrationLogDrainsRequest$outboundSchema, + GetIntegrationLogDrainsResponseBody, + GetIntegrationLogDrainsResponseBody$inboundSchema, +} from "../models/getintegrationlogdrainsop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetIntegrationLogDrainsRequest, - GetIntegrationLogDrainsRequest$outboundSchema, - GetIntegrationLogDrainsResponseBody, - GetIntegrationLogDrainsResponseBody$inboundSchema, -} from "../models/operations/getintegrationlogdrains.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -40,6 +48,8 @@ export async function logDrainsGetIntegrationLogDrains( ): Promise< Result< Array, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +101,7 @@ export async function logDrainsGetIntegrationLogDrains( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +124,14 @@ export async function logDrainsGetIntegrationLogDrains( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< Array, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +141,10 @@ export async function logDrainsGetIntegrationLogDrains( | ConnectionError >( M.json(200, z.array(GetIntegrationLogDrainsResponseBody$inboundSchema)), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/marketplaceCreateEvent.ts b/src/funcs/marketplaceCreateEvent.ts index 338689dd..b60d5af3 100644 --- a/src/funcs/marketplaceCreateEvent.ts +++ b/src/funcs/marketplaceCreateEvent.ts @@ -10,19 +10,27 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CreateEventRequest, + CreateEventRequest$outboundSchema, +} from "../models/createeventop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CreateEventRequest, - CreateEventRequest$outboundSchema, -} from "../models/operations/createevent.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +46,8 @@ export async function marketplaceCreateEvent( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -72,7 +82,7 @@ export async function marketplaceCreateEvent( const headers = new Headers({ "Content-Type": "application/json", - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -95,6 +105,7 @@ export async function marketplaceCreateEvent( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -116,8 +127,14 @@ export async function marketplaceCreateEvent( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -127,8 +144,10 @@ export async function marketplaceCreateEvent( | ConnectionError >( M.nil(201, z.void()), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/marketplaceExchangeSsoToken.ts b/src/funcs/marketplaceExchangeSsoToken.ts index c61363c0..f0731b34 100644 --- a/src/funcs/marketplaceExchangeSsoToken.ts +++ b/src/funcs/marketplaceExchangeSsoToken.ts @@ -8,21 +8,29 @@ import * as M from "../lib/matchers.js"; import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { pathToFunc } from "../lib/url.js"; +import { + ExchangeSsoTokenRequestBody, + ExchangeSsoTokenRequestBody$outboundSchema, + ExchangeSsoTokenResponseBody, + ExchangeSsoTokenResponseBody$inboundSchema, +} from "../models/exchangessotokenop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - ExchangeSsoTokenRequestBody, - ExchangeSsoTokenRequestBody$outboundSchema, - ExchangeSsoTokenResponseBody, - ExchangeSsoTokenResponseBody$inboundSchema, -} from "../models/operations/exchangessotoken.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -33,11 +41,13 @@ import { Result } from "../types/fp.js"; */ export async function marketplaceExchangeSsoToken( client: VercelCore, - request?: ExchangeSsoTokenRequestBody | undefined, + request: ExchangeSsoTokenRequestBody, options?: RequestOptions, ): Promise< Result< ExchangeSsoTokenResponseBody, + | VercelBadRequestError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -49,17 +59,14 @@ export async function marketplaceExchangeSsoToken( > { const parsed = safeParse( request, - (value) => - ExchangeSsoTokenRequestBody$outboundSchema.optional().parse(value), + (value) => ExchangeSsoTokenRequestBody$outboundSchema.parse(value), "Input validation failed", ); if (!parsed.ok) { return parsed; } const payload = parsed.value; - const body = payload === undefined - ? null - : encodeJSON("body", payload, { explode: true }); + const body = encodeJSON("body", payload, { explode: true }); const path = pathToFunc("/v1/integrations/sso/token")(); @@ -83,6 +90,7 @@ export async function marketplaceExchangeSsoToken( const requestRes = client._createRequest(context, { method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -104,8 +112,14 @@ export async function marketplaceExchangeSsoToken( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< ExchangeSsoTokenResponseBody, + | VercelBadRequestError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -115,8 +129,10 @@ export async function marketplaceExchangeSsoToken( | ConnectionError >( M.json(200, ExchangeSsoTokenResponseBody$inboundSchema), - M.fail([400, 404, "4XX", 500, "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail(["4XX", 500, "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/marketplaceGetAccountInfo.ts b/src/funcs/marketplaceGetAccountInfo.ts index 6af17176..d77381d8 100644 --- a/src/funcs/marketplaceGetAccountInfo.ts +++ b/src/funcs/marketplaceGetAccountInfo.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetAccountInfoRequest, + GetAccountInfoRequest$outboundSchema, + GetAccountInfoResponseBody, + GetAccountInfoResponseBody$inboundSchema, +} from "../models/getaccountinfoop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetAccountInfoRequest, - GetAccountInfoRequest$outboundSchema, - GetAccountInfoResponseBody, - GetAccountInfoResponseBody$inboundSchema, -} from "../models/operations/getaccountinfo.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function marketplaceGetAccountInfo( ): Promise< Result< GetAccountInfoResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -95,6 +105,7 @@ export async function marketplaceGetAccountInfo( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -116,8 +127,14 @@ export async function marketplaceGetAccountInfo( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetAccountInfoResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -127,8 +144,10 @@ export async function marketplaceGetAccountInfo( | ConnectionError >( M.json(200, GetAccountInfoResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/marketplaceGetInvoice.ts b/src/funcs/marketplaceGetInvoice.ts index 2166d6bd..51872b5e 100644 --- a/src/funcs/marketplaceGetInvoice.ts +++ b/src/funcs/marketplaceGetInvoice.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetInvoiceRequest, + GetInvoiceRequest$outboundSchema, + GetInvoiceResponseBody, + GetInvoiceResponseBody$inboundSchema, +} from "../models/getinvoiceop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetInvoiceRequest, - GetInvoiceRequest$outboundSchema, - GetInvoiceResponseBody, - GetInvoiceResponseBody$inboundSchema, -} from "../models/operations/getinvoice.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function marketplaceGetInvoice( ): Promise< Result< GetInvoiceResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -99,6 +114,7 @@ export async function marketplaceGetInvoice( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -120,8 +136,15 @@ export async function marketplaceGetInvoice( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetInvoiceResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +154,11 @@ export async function marketplaceGetInvoice( | ConnectionError >( M.json(200, GetInvoiceResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/marketplaceGetMember.ts b/src/funcs/marketplaceGetMember.ts index de555b44..fda5a4e7 100644 --- a/src/funcs/marketplaceGetMember.ts +++ b/src/funcs/marketplaceGetMember.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetMemberRequest, + GetMemberRequest$outboundSchema, + GetMemberResponseBody, + GetMemberResponseBody$inboundSchema, +} from "../models/getmemberop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetMemberRequest, - GetMemberRequest$outboundSchema, - GetMemberResponseBody, - GetMemberResponseBody$inboundSchema, -} from "../models/operations/getmember.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function marketplaceGetMember( ): Promise< Result< GetMemberResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -99,6 +114,7 @@ export async function marketplaceGetMember( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -120,8 +136,15 @@ export async function marketplaceGetMember( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetMemberResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +154,11 @@ export async function marketplaceGetMember( | ConnectionError >( M.json(200, GetMemberResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/marketplaceSubmitBillingData.ts b/src/funcs/marketplaceSubmitBillingData.ts index 1bec918a..f993c63b 100644 --- a/src/funcs/marketplaceSubmitBillingData.ts +++ b/src/funcs/marketplaceSubmitBillingData.ts @@ -16,20 +16,28 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { SubmitBillingDataRequest, SubmitBillingDataRequest$outboundSchema, -} from "../models/operations/submitbillingdata.js"; +} from "../models/submitbillingdataop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** * Submit Billing Data * * @remarks - * Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour.
Use the `credentials.access_token` we provided in the (Upsert Installation)[#upsert-installation] body to authorize this request. + * Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour.
Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request. */ export async function marketplaceSubmitBillingData( client: VercelCore, @@ -38,6 +46,8 @@ export async function marketplaceSubmitBillingData( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -72,7 +82,7 @@ export async function marketplaceSubmitBillingData( const headers = new Headers({ "Content-Type": "application/json", - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -95,6 +105,7 @@ export async function marketplaceSubmitBillingData( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -116,8 +127,14 @@ export async function marketplaceSubmitBillingData( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -127,8 +144,10 @@ export async function marketplaceSubmitBillingData( | ConnectionError >( M.nil(201, z.void()), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/marketplaceSubmitInvoice.ts b/src/funcs/marketplaceSubmitInvoice.ts index 2b0262b7..c41ede6a 100644 --- a/src/funcs/marketplaceSubmitInvoice.ts +++ b/src/funcs/marketplaceSubmitInvoice.ts @@ -15,22 +15,30 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { SubmitInvoiceRequest, SubmitInvoiceRequest$outboundSchema, SubmitInvoiceResponseBody, SubmitInvoiceResponseBody$inboundSchema, -} from "../models/operations/submitinvoice.js"; +} from "../models/submitinvoiceop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** * Submit Invoice * * @remarks - * This endpoint allows the partner to submit an invoice to Vercel. The invoice is created in Vercel's billing system and sent to the customer. Depending on the type of billing plan, the invoice can be sent at a time of signup, at the start of the billing period, or at the end of the billing period.

Use the `credentials.access_token` we provided in the (Upsert Installation)[#upsert-installation] body to authorize this request.
There are several limitations to the invoice submission:

1. A resource can only be billed once per the billing period and the billing plan.
2. The billing plan used to bill the resource must have been active for this resource during the billing period.
3. The billing plan used must be a subscription plan.
4. The interim usage data must be sent hourly for all types of subscriptions. See [Send subscription billing and usage data](#send-subscription-billing-and-usage-data) API on how to send interim billing and usage data.
+ * This endpoint allows the partner to submit an invoice to Vercel. The invoice is created in Vercel's billing system and sent to the customer. Depending on the type of billing plan, the invoice can be sent at a time of signup, at the start of the billing period, or at the end of the billing period.

Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request.
There are several limitations to the invoice submission:

1. A resource can only be billed once per the billing period and the billing plan.
2. The billing plan used to bill the resource must have been active for this resource during the billing period.
3. The billing plan used must be a subscription plan.
4. The interim usage data must be sent hourly for all types of subscriptions. See [Send subscription billing and usage data](#send-subscription-billing-and-usage-data) API on how to send interim billing and usage data.
*/ export async function marketplaceSubmitInvoice( client: VercelCore, @@ -39,6 +47,8 @@ export async function marketplaceSubmitInvoice( ): Promise< Result< SubmitInvoiceResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -96,6 +106,7 @@ export async function marketplaceSubmitInvoice( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -117,8 +128,14 @@ export async function marketplaceSubmitInvoice( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< SubmitInvoiceResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -128,8 +145,10 @@ export async function marketplaceSubmitInvoice( | ConnectionError >( M.json(200, SubmitInvoiceResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/marketplaceUpdateInvoice.ts b/src/funcs/marketplaceUpdateInvoice.ts index 06541fb5..e2615292 100644 --- a/src/funcs/marketplaceUpdateInvoice.ts +++ b/src/funcs/marketplaceUpdateInvoice.ts @@ -16,13 +16,25 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UpdateInvoiceRequest, UpdateInvoiceRequest$outboundSchema, -} from "../models/operations/updateinvoice.js"; +} from "../models/updateinvoiceop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +50,9 @@ export async function marketplaceUpdateInvoice( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -76,7 +91,7 @@ export async function marketplaceUpdateInvoice( const headers = new Headers({ "Content-Type": "application/json", - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -99,6 +114,7 @@ export async function marketplaceUpdateInvoice( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -120,8 +136,15 @@ export async function marketplaceUpdateInvoice( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +154,11 @@ export async function marketplaceUpdateInvoice( | ConnectionError >( M.nil(204, z.void()), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/marketplaceUpdateResourceSecrets.ts b/src/funcs/marketplaceUpdateResourceSecrets.ts index 3a085c9b..72110231 100644 --- a/src/funcs/marketplaceUpdateResourceSecrets.ts +++ b/src/funcs/marketplaceUpdateResourceSecrets.ts @@ -16,13 +16,25 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UpdateResourceSecretsRequest, UpdateResourceSecretsRequest$outboundSchema, -} from "../models/operations/updateresourcesecrets.js"; +} from "../models/updateresourcesecretsop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +50,9 @@ export async function marketplaceUpdateResourceSecrets( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -81,7 +96,7 @@ export async function marketplaceUpdateResourceSecrets( const headers = new Headers({ "Content-Type": "application/json", - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -104,6 +119,7 @@ export async function marketplaceUpdateResourceSecrets( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PUT", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -125,8 +141,15 @@ export async function marketplaceUpdateResourceSecrets( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -136,8 +159,11 @@ export async function marketplaceUpdateResourceSecrets( | ConnectionError >( M.nil(201, z.void()), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectMembersAddProjectMember.ts b/src/funcs/projectMembersAddProjectMember.ts index 9b5d61ff..973be5e5 100644 --- a/src/funcs/projectMembersAddProjectMember.ts +++ b/src/funcs/projectMembersAddProjectMember.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + AddProjectMemberRequest, + AddProjectMemberRequest$outboundSchema, + AddProjectMemberResponseBody, + AddProjectMemberResponseBody$inboundSchema, +} from "../models/addprojectmemberop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - AddProjectMemberRequest, - AddProjectMemberRequest$outboundSchema, - AddProjectMemberResponseBody, - AddProjectMemberResponseBody$inboundSchema, -} from "../models/operations/addprojectmember.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function projectMembersAddProjectMember( ): Promise< Result< AddProjectMemberResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -98,6 +108,7 @@ export async function projectMembersAddProjectMember( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -120,8 +131,14 @@ export async function projectMembersAddProjectMember( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< AddProjectMemberResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +148,10 @@ export async function projectMembersAddProjectMember( | ConnectionError >( M.json(200, AddProjectMemberResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", 500, "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", 500, "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectMembersGetProjectMembers.ts b/src/funcs/projectMembersGetProjectMembers.ts index de6c58d4..cc3f4565 100644 --- a/src/funcs/projectMembersGetProjectMembers.ts +++ b/src/funcs/projectMembersGetProjectMembers.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetProjectMembersRequest, + GetProjectMembersRequest$outboundSchema, + GetProjectMembersResponseBody, + GetProjectMembersResponseBody$inboundSchema, +} from "../models/getprojectmembersop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetProjectMembersRequest, - GetProjectMembersRequest$outboundSchema, - GetProjectMembersResponseBody, - GetProjectMembersResponseBody$inboundSchema, -} from "../models/operations/getprojectmembers.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function projectMembersGetProjectMembers( ): Promise< Result< GetProjectMembersResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -101,6 +111,7 @@ export async function projectMembersGetProjectMembers( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -123,8 +134,14 @@ export async function projectMembersGetProjectMembers( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetProjectMembersResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -134,8 +151,10 @@ export async function projectMembersGetProjectMembers( | ConnectionError >( M.json(200, GetProjectMembersResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectMembersRemoveProjectMember.ts b/src/funcs/projectMembersRemoveProjectMember.ts index 1750a0f5..21e23f4d 100644 --- a/src/funcs/projectMembersRemoveProjectMember.ts +++ b/src/funcs/projectMembersRemoveProjectMember.ts @@ -15,15 +15,23 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { RemoveProjectMemberRequest, RemoveProjectMemberRequest$outboundSchema, RemoveProjectMemberResponseBody, RemoveProjectMemberResponseBody$inboundSchema, -} from "../models/operations/removeprojectmember.js"; +} from "../models/removeprojectmemberop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function projectMembersRemoveProjectMember( ): Promise< Result< RemoveProjectMemberResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -101,6 +111,7 @@ export async function projectMembersRemoveProjectMember( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -123,8 +134,14 @@ export async function projectMembersRemoveProjectMember( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< RemoveProjectMemberResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -134,8 +151,10 @@ export async function projectMembersRemoveProjectMember( | ConnectionError >( M.json(200, RemoveProjectMemberResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsAddProjectDomain.ts b/src/funcs/projectsAddProjectDomain.ts index 2ce26629..871a1e51 100644 --- a/src/funcs/projectsAddProjectDomain.ts +++ b/src/funcs/projectsAddProjectDomain.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + AddProjectDomainRequest, + AddProjectDomainRequest$outboundSchema, + AddProjectDomainResponseBody, + AddProjectDomainResponseBody$inboundSchema, +} from "../models/addprojectdomainop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - AddProjectDomainRequest, - AddProjectDomainRequest$outboundSchema, - AddProjectDomainResponseBody, - AddProjectDomainResponseBody$inboundSchema, -} from "../models/operations/addprojectdomain.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function projectsAddProjectDomain( ): Promise< Result< AddProjectDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -98,6 +108,7 @@ export async function projectsAddProjectDomain( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -120,8 +131,14 @@ export async function projectsAddProjectDomain( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< AddProjectDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +148,10 @@ export async function projectsAddProjectDomain( | ConnectionError >( M.json(200, AddProjectDomainResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, 409, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsCreateProject.ts b/src/funcs/projectsCreateProject.ts index 1fa15681..5bd4a9d4 100644 --- a/src/funcs/projectsCreateProject.ts +++ b/src/funcs/projectsCreateProject.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CreateProjectRequest, + CreateProjectRequest$outboundSchema, + CreateProjectResponseBody, + CreateProjectResponseBody$inboundSchema, +} from "../models/createprojectop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CreateProjectRequest, - CreateProjectRequest$outboundSchema, - CreateProjectResponseBody, - CreateProjectResponseBody$inboundSchema, -} from "../models/operations/createproject.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function projectsCreateProject( ): Promise< Result< CreateProjectResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +101,7 @@ export async function projectsCreateProject( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +124,14 @@ export async function projectsCreateProject( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CreateProjectResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +141,10 @@ export async function projectsCreateProject( | ConnectionError >( M.json(200, CreateProjectResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, 409, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsCreateProjectEnv.ts b/src/funcs/projectsCreateProjectEnv.ts index daf9e898..8657230c 100644 --- a/src/funcs/projectsCreateProjectEnv.ts +++ b/src/funcs/projectsCreateProjectEnv.ts @@ -9,28 +9,36 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CreateProjectEnvRequest, + CreateProjectEnvRequest$outboundSchema, + CreateProjectEnvResponseBody, + CreateProjectEnvResponseBody$inboundSchema, +} from "../models/createprojectenvop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CreateProjectEnvRequest, - CreateProjectEnvRequest$outboundSchema, - CreateProjectEnvResponseBody, - CreateProjectEnvResponseBody$inboundSchema, -} from "../models/operations/createprojectenv.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** * Create one or more environment variables * * @remarks - * Create one ore more environment variables for a project by passing its `key`, `value`, `type` and `target` and by specifying the project by either passing the project `id` or `name` in the URL. + * Create one or more environment variables for a project by passing its `key`, `value`, `type` and `target` and by specifying the project by either passing the project `id` or `name` in the URL. If you include `upsert=true` as a query parameter, a new environment variable will not be created if it already exists but, the existing variable's value will be updated. */ export async function projectsCreateProjectEnv( client: VercelCore, @@ -39,6 +47,8 @@ export async function projectsCreateProjectEnv( ): Promise< Result< CreateProjectEnvResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -99,6 +109,7 @@ export async function projectsCreateProjectEnv( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -121,8 +132,14 @@ export async function projectsCreateProjectEnv( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CreateProjectEnvResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -132,8 +149,10 @@ export async function projectsCreateProjectEnv( | ConnectionError >( M.json(201, CreateProjectEnvResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, 409, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsDeleteProject.ts b/src/funcs/projectsDeleteProject.ts index bc58175a..07fd1a7b 100644 --- a/src/funcs/projectsDeleteProject.ts +++ b/src/funcs/projectsDeleteProject.ts @@ -10,19 +10,27 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DeleteProjectRequest, + DeleteProjectRequest$outboundSchema, +} from "../models/deleteprojectop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DeleteProjectRequest, - DeleteProjectRequest$outboundSchema, -} from "../models/operations/deleteproject.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +46,8 @@ export async function projectsDeleteProject( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -73,7 +83,7 @@ export async function projectsDeleteProject( }); const headers = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -96,6 +106,7 @@ export async function projectsDeleteProject( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -118,8 +129,14 @@ export async function projectsDeleteProject( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -129,8 +146,10 @@ export async function projectsDeleteProject( | ConnectionError >( M.nil(204, z.void()), - M.fail([400, 401, 403, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, 409, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsEditProjectEnv.ts b/src/funcs/projectsEditProjectEnv.ts index 4471f20c..ba93884a 100644 --- a/src/funcs/projectsEditProjectEnv.ts +++ b/src/funcs/projectsEditProjectEnv.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + EditProjectEnvRequest, + EditProjectEnvRequest$outboundSchema, + EditProjectEnvResponseBody, + EditProjectEnvResponseBody$inboundSchema, +} from "../models/editprojectenvop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - EditProjectEnvRequest, - EditProjectEnvRequest$outboundSchema, - EditProjectEnvResponseBody, - EditProjectEnvResponseBody$inboundSchema, -} from "../models/operations/editprojectenv.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function projectsEditProjectEnv( ): Promise< Result< EditProjectEnvResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -102,6 +112,7 @@ export async function projectsEditProjectEnv( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PATCH", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -124,8 +135,14 @@ export async function projectsEditProjectEnv( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< EditProjectEnvResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -135,8 +152,10 @@ export async function projectsEditProjectEnv( | ConnectionError >( M.json(200, EditProjectEnvResponseBody$inboundSchema), - M.fail([400, 401, 403, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, 409, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsFilterProjectEnvs.ts b/src/funcs/projectsFilterProjectEnvs.ts index 3b822db1..7db4714d 100644 --- a/src/funcs/projectsFilterProjectEnvs.ts +++ b/src/funcs/projectsFilterProjectEnvs.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + FilterProjectEnvsRequest, + FilterProjectEnvsRequest$outboundSchema, + FilterProjectEnvsResponseBody, + FilterProjectEnvsResponseBody$inboundSchema, +} from "../models/filterprojectenvsop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - FilterProjectEnvsRequest, - FilterProjectEnvsRequest$outboundSchema, - FilterProjectEnvsResponseBody, - FilterProjectEnvsResponseBody$inboundSchema, -} from "../models/operations/filterprojectenvs.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function projectsFilterProjectEnvs( ): Promise< Result< FilterProjectEnvsResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -100,6 +110,7 @@ export async function projectsFilterProjectEnvs( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -122,8 +133,14 @@ export async function projectsFilterProjectEnvs( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< FilterProjectEnvsResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -133,8 +150,10 @@ export async function projectsFilterProjectEnvs( | ConnectionError >( M.json(200, FilterProjectEnvsResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsGetProjectDomain.ts b/src/funcs/projectsGetProjectDomain.ts index b64971b1..b01915b5 100644 --- a/src/funcs/projectsGetProjectDomain.ts +++ b/src/funcs/projectsGetProjectDomain.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetProjectDomainRequest, + GetProjectDomainRequest$outboundSchema, + GetProjectDomainResponseBody, + GetProjectDomainResponseBody$inboundSchema, +} from "../models/getprojectdomainop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetProjectDomainRequest, - GetProjectDomainRequest$outboundSchema, - GetProjectDomainResponseBody, - GetProjectDomainResponseBody$inboundSchema, -} from "../models/operations/getprojectdomain.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function projectsGetProjectDomain( ): Promise< Result< GetProjectDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -103,6 +113,7 @@ export async function projectsGetProjectDomain( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -125,8 +136,14 @@ export async function projectsGetProjectDomain( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetProjectDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -136,8 +153,10 @@ export async function projectsGetProjectDomain( | ConnectionError >( M.json(200, GetProjectDomainResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsGetProjectDomains.ts b/src/funcs/projectsGetProjectDomains.ts index 550be0e3..b426d2ee 100644 --- a/src/funcs/projectsGetProjectDomains.ts +++ b/src/funcs/projectsGetProjectDomains.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetProjectDomainsRequest, + GetProjectDomainsRequest$outboundSchema, + GetProjectDomainsResponseBody, + GetProjectDomainsResponseBody$inboundSchema, +} from "../models/getprojectdomainsop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetProjectDomainsRequest, - GetProjectDomainsRequest$outboundSchema, - GetProjectDomainsResponseBody, - GetProjectDomainsResponseBody$inboundSchema, -} from "../models/operations/getprojectdomains.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function projectsGetProjectDomains( ): Promise< Result< GetProjectDomainsResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -107,6 +117,7 @@ export async function projectsGetProjectDomains( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -129,8 +140,14 @@ export async function projectsGetProjectDomains( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetProjectDomainsResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -140,8 +157,10 @@ export async function projectsGetProjectDomains( | ConnectionError >( M.json(200, GetProjectDomainsResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsGetProjectEnv.ts b/src/funcs/projectsGetProjectEnv.ts index 6e560c01..78ff956c 100644 --- a/src/funcs/projectsGetProjectEnv.ts +++ b/src/funcs/projectsGetProjectEnv.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetProjectEnvRequest, + GetProjectEnvRequest$outboundSchema, + GetProjectEnvResponseBody, + GetProjectEnvResponseBody$inboundSchema, +} from "../models/getprojectenvop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetProjectEnvRequest, - GetProjectEnvRequest$outboundSchema, - GetProjectEnvResponseBody, - GetProjectEnvResponseBody$inboundSchema, -} from "../models/operations/getprojectenv.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function projectsGetProjectEnv( ): Promise< Result< GetProjectEnvResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -101,6 +111,7 @@ export async function projectsGetProjectEnv( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -123,8 +134,14 @@ export async function projectsGetProjectEnv( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetProjectEnvResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -134,8 +151,10 @@ export async function projectsGetProjectEnv( | ConnectionError >( M.json(200, GetProjectEnvResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsGetProjects.ts b/src/funcs/projectsGetProjects.ts index ae0466be..cf23262c 100644 --- a/src/funcs/projectsGetProjects.ts +++ b/src/funcs/projectsGetProjects.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetProjectsRequest, + GetProjectsRequest$outboundSchema, + GetProjectsResponseBody, + GetProjectsResponseBody$inboundSchema, +} from "../models/getprojectsop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetProjectsRequest, - GetProjectsRequest$outboundSchema, - GetProjectsResponseBody, - GetProjectsResponseBody$inboundSchema, -} from "../models/operations/getprojects.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function projectsGetProjects( ): Promise< Result< GetProjectsResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -101,6 +111,7 @@ export async function projectsGetProjects( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -123,8 +134,14 @@ export async function projectsGetProjects( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetProjectsResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -134,8 +151,10 @@ export async function projectsGetProjects( | ConnectionError >( M.json(200, GetProjectsResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsListPromoteAliases.ts b/src/funcs/projectsListPromoteAliases.ts index ff333f31..cfd03784 100644 --- a/src/funcs/projectsListPromoteAliases.ts +++ b/src/funcs/projectsListPromoteAliases.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { ListPromoteAliasesRequest, ListPromoteAliasesRequest$outboundSchema, ListPromoteAliasesResponseBody, ListPromoteAliasesResponseBody$inboundSchema, -} from "../models/operations/listpromotealiases.js"; +} from "../models/listpromotealiasesop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function projectsListPromoteAliases( ): Promise< Result< ListPromoteAliasesResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -103,6 +118,7 @@ export async function projectsListPromoteAliases( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -125,8 +141,15 @@ export async function projectsListPromoteAliases( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< ListPromoteAliasesResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -136,8 +159,11 @@ export async function projectsListPromoteAliases( | ConnectionError >( M.json(200, ListPromoteAliasesResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsRemoveProjectDomain.ts b/src/funcs/projectsRemoveProjectDomain.ts index 4096f54d..07e16781 100644 --- a/src/funcs/projectsRemoveProjectDomain.ts +++ b/src/funcs/projectsRemoveProjectDomain.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { RemoveProjectDomainRequest, RemoveProjectDomainRequest$outboundSchema, RemoveProjectDomainResponseBody, RemoveProjectDomainResponseBody$inboundSchema, -} from "../models/operations/removeprojectdomain.js"; +} from "../models/removeprojectdomainop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function projectsRemoveProjectDomain( ): Promise< Result< RemoveProjectDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -103,6 +118,7 @@ export async function projectsRemoveProjectDomain( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -125,8 +141,15 @@ export async function projectsRemoveProjectDomain( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< RemoveProjectDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -136,8 +159,11 @@ export async function projectsRemoveProjectDomain( | ConnectionError >( M.json(200, RemoveProjectDomainResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, 409, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsRemoveProjectEnv.ts b/src/funcs/projectsRemoveProjectEnv.ts index 349206fe..fa56cade 100644 --- a/src/funcs/projectsRemoveProjectEnv.ts +++ b/src/funcs/projectsRemoveProjectEnv.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { RemoveProjectEnvRequest, RemoveProjectEnvRequest$outboundSchema, RemoveProjectEnvResponseBody, RemoveProjectEnvResponseBody$inboundSchema, -} from "../models/operations/removeprojectenv.js"; +} from "../models/removeprojectenvop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function projectsRemoveProjectEnv( ): Promise< Result< RemoveProjectEnvResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -101,6 +116,7 @@ export async function projectsRemoveProjectEnv( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -123,8 +139,15 @@ export async function projectsRemoveProjectEnv( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< RemoveProjectEnvResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -134,8 +157,11 @@ export async function projectsRemoveProjectEnv( | ConnectionError >( M.json(200, RemoveProjectEnvResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, 409, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsRequestPromote.ts b/src/funcs/projectsRequestPromote.ts index 2d840931..2abc42b7 100644 --- a/src/funcs/projectsRequestPromote.ts +++ b/src/funcs/projectsRequestPromote.ts @@ -16,13 +16,21 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { RequestPromoteRequest, RequestPromoteRequest$outboundSchema, -} from "../models/operations/requestpromote.js"; +} from "../models/requestpromoteop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +46,8 @@ export async function projectsRequestPromote( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -79,7 +89,7 @@ export async function projectsRequestPromote( }); const headers = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -102,6 +112,7 @@ export async function projectsRequestPromote( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -124,8 +135,14 @@ export async function projectsRequestPromote( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -135,8 +152,10 @@ export async function projectsRequestPromote( | ConnectionError >( M.nil(201, z.void()), - M.fail([400, 401, 403, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, 409, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsUpdateProject.ts b/src/funcs/projectsUpdateProject.ts index 92e1d76e..63de926f 100644 --- a/src/funcs/projectsUpdateProject.ts +++ b/src/funcs/projectsUpdateProject.ts @@ -15,15 +15,23 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UpdateProjectRequest, UpdateProjectRequest$outboundSchema, UpdateProjectResponseBody, UpdateProjectResponseBody$inboundSchema, -} from "../models/operations/updateproject.js"; +} from "../models/updateprojectop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function projectsUpdateProject( ): Promise< Result< UpdateProjectResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -98,6 +108,7 @@ export async function projectsUpdateProject( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PATCH", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -120,8 +131,14 @@ export async function projectsUpdateProject( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< UpdateProjectResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +148,10 @@ export async function projectsUpdateProject( | ConnectionError >( M.json(200, UpdateProjectResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 409, 428, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, 409, 428, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsUpdateProjectDataCache.ts b/src/funcs/projectsUpdateProjectDataCache.ts index 99014c93..79e1fa46 100644 --- a/src/funcs/projectsUpdateProjectDataCache.ts +++ b/src/funcs/projectsUpdateProjectDataCache.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UpdateProjectDataCacheRequest, UpdateProjectDataCacheRequest$outboundSchema, UpdateProjectDataCacheResponseBody, UpdateProjectDataCacheResponseBody$inboundSchema, -} from "../models/operations/updateprojectdatacache.js"; +} from "../models/updateprojectdatacacheop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function projectsUpdateProjectDataCache( ): Promise< Result< UpdateProjectDataCacheResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -98,6 +113,7 @@ export async function projectsUpdateProjectDataCache( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PATCH", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -120,8 +136,15 @@ export async function projectsUpdateProjectDataCache( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< UpdateProjectDataCacheResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +154,11 @@ export async function projectsUpdateProjectDataCache( | ConnectionError >( M.json(200, UpdateProjectDataCacheResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsUpdateProjectDomain.ts b/src/funcs/projectsUpdateProjectDomain.ts index b44ec048..3a766427 100644 --- a/src/funcs/projectsUpdateProjectDomain.ts +++ b/src/funcs/projectsUpdateProjectDomain.ts @@ -15,15 +15,23 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UpdateProjectDomainRequest, UpdateProjectDomainRequest$outboundSchema, UpdateProjectDomainResponseBody, UpdateProjectDomainResponseBody$inboundSchema, -} from "../models/operations/updateprojectdomain.js"; +} from "../models/updateprojectdomainop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function projectsUpdateProjectDomain( ): Promise< Result< UpdateProjectDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -104,6 +114,7 @@ export async function projectsUpdateProjectDomain( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PATCH", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -126,8 +137,14 @@ export async function projectsUpdateProjectDomain( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< UpdateProjectDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -137,8 +154,10 @@ export async function projectsUpdateProjectDomain( | ConnectionError >( M.json(200, UpdateProjectDomainResponseBody$inboundSchema), - M.fail([400, 401, 403, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, 409, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsUpdateProjectProtectionBypass.ts b/src/funcs/projectsUpdateProjectProtectionBypass.ts index 2edda3a7..7af68aa2 100644 --- a/src/funcs/projectsUpdateProjectProtectionBypass.ts +++ b/src/funcs/projectsUpdateProjectProtectionBypass.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UpdateProjectProtectionBypassRequest, UpdateProjectProtectionBypassRequest$outboundSchema, UpdateProjectProtectionBypassResponseBody, UpdateProjectProtectionBypassResponseBody$inboundSchema, -} from "../models/operations/updateprojectprotectionbypass.js"; +} from "../models/updateprojectprotectionbypassop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function projectsUpdateProjectProtectionBypass( ): Promise< Result< UpdateProjectProtectionBypassResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -100,6 +115,7 @@ export async function projectsUpdateProjectProtectionBypass( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PATCH", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -122,8 +138,15 @@ export async function projectsUpdateProjectProtectionBypass( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< UpdateProjectProtectionBypassResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -133,8 +156,11 @@ export async function projectsUpdateProjectProtectionBypass( | ConnectionError >( M.json(200, UpdateProjectProtectionBypassResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, 409, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/projectsVerifyProjectDomain.ts b/src/funcs/projectsVerifyProjectDomain.ts index 2749875d..7288b156 100644 --- a/src/funcs/projectsVerifyProjectDomain.ts +++ b/src/funcs/projectsVerifyProjectDomain.ts @@ -15,15 +15,23 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { VerifyProjectDomainRequest, VerifyProjectDomainRequest$outboundSchema, VerifyProjectDomainResponseBody, VerifyProjectDomainResponseBody$inboundSchema, -} from "../models/operations/verifyprojectdomain.js"; +} from "../models/verifyprojectdomainop.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function projectsVerifyProjectDomain( ): Promise< Result< VerifyProjectDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -103,6 +113,7 @@ export async function projectsVerifyProjectDomain( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -125,8 +136,14 @@ export async function projectsVerifyProjectDomain( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< VerifyProjectDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -136,8 +153,10 @@ export async function projectsVerifyProjectDomain( | ConnectionError >( M.json(200, VerifyProjectDomainResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/securityGetFirewallConfig.ts b/src/funcs/securityGetFirewallConfig.ts index 9bdd3182..6ab79e4c 100644 --- a/src/funcs/securityGetFirewallConfig.ts +++ b/src/funcs/securityGetFirewallConfig.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetFirewallConfigRequest, + GetFirewallConfigRequest$outboundSchema, + GetFirewallConfigResponseBody, + GetFirewallConfigResponseBody$inboundSchema, +} from "../models/getfirewallconfigop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetFirewallConfigRequest, - GetFirewallConfigRequest$outboundSchema, - GetFirewallConfigResponseBody, - GetFirewallConfigResponseBody$inboundSchema, -} from "../models/operations/getfirewallconfig.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function securityGetFirewallConfig( ): Promise< Result< GetFirewallConfigResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -100,6 +115,7 @@ export async function securityGetFirewallConfig( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -122,8 +138,15 @@ export async function securityGetFirewallConfig( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetFirewallConfigResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -133,8 +156,11 @@ export async function securityGetFirewallConfig( | ConnectionError >( M.json(200, GetFirewallConfigResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/securityPutFirewallConfig.ts b/src/funcs/securityPutFirewallConfig.ts index 5fccef48..3ac159d3 100644 --- a/src/funcs/securityPutFirewallConfig.ts +++ b/src/funcs/securityPutFirewallConfig.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { PutFirewallConfigRequest, PutFirewallConfigRequest$outboundSchema, PutFirewallConfigResponseBody, PutFirewallConfigResponseBody$inboundSchema, -} from "../models/operations/putfirewallconfig.js"; +} from "../models/putfirewallconfigop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function securityPutFirewallConfig( ): Promise< Result< PutFirewallConfigResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -92,6 +107,7 @@ export async function securityPutFirewallConfig( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PUT", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -114,8 +130,15 @@ export async function securityPutFirewallConfig( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< PutFirewallConfigResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -125,8 +148,11 @@ export async function securityPutFirewallConfig( | ConnectionError >( M.json(200, PutFirewallConfigResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 404, "4XX", 500, "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", 500, "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/securityUpdateAttackChallengeMode.ts b/src/funcs/securityUpdateAttackChallengeMode.ts index 6cc7d0fb..5e48fb30 100644 --- a/src/funcs/securityUpdateAttackChallengeMode.ts +++ b/src/funcs/securityUpdateAttackChallengeMode.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UpdateAttackChallengeModeRequest, UpdateAttackChallengeModeRequest$outboundSchema, UpdateAttackChallengeModeResponseBody, UpdateAttackChallengeModeResponseBody$inboundSchema, -} from "../models/operations/updateattackchallengemode.js"; +} from "../models/updateattackchallengemodeop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function securityUpdateAttackChallengeMode( ): Promise< Result< UpdateAttackChallengeModeResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +106,7 @@ export async function securityUpdateAttackChallengeMode( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +129,15 @@ export async function securityUpdateAttackChallengeMode( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< UpdateAttackChallengeModeResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +147,11 @@ export async function securityUpdateAttackChallengeMode( | ConnectionError >( M.json(200, UpdateAttackChallengeModeResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/securityUpdateFirewallConfig.ts b/src/funcs/securityUpdateFirewallConfig.ts index 33950ce9..d3aa909d 100644 --- a/src/funcs/securityUpdateFirewallConfig.ts +++ b/src/funcs/securityUpdateFirewallConfig.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UpdateFirewallConfigRequest, UpdateFirewallConfigRequest$outboundSchema, UpdateFirewallConfigResponseBody, UpdateFirewallConfigResponseBody$inboundSchema, -} from "../models/operations/updatefirewallconfig.js"; +} from "../models/updatefirewallconfigop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function securityUpdateFirewallConfig( ): Promise< Result< UpdateFirewallConfigResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -92,6 +107,7 @@ export async function securityUpdateFirewallConfig( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PATCH", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -114,8 +130,15 @@ export async function securityUpdateFirewallConfig( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< UpdateFirewallConfigResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -125,8 +148,11 @@ export async function securityUpdateFirewallConfig( | ConnectionError >( M.json(200, UpdateFirewallConfigResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 404, "4XX", 500, "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", 500, "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/teamsCreateTeam.ts b/src/funcs/teamsCreateTeam.ts index 549010f8..287170a8 100644 --- a/src/funcs/teamsCreateTeam.ts +++ b/src/funcs/teamsCreateTeam.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CreateTeamRequestBody, + CreateTeamRequestBody$outboundSchema, + CreateTeamResponseBody, + CreateTeamResponseBody$inboundSchema, +} from "../models/createteamop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CreateTeamRequestBody, - CreateTeamRequestBody$outboundSchema, - CreateTeamResponseBody, - CreateTeamResponseBody$inboundSchema, -} from "../models/operations/createteam.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -34,11 +42,13 @@ import { Result } from "../types/fp.js"; */ export async function teamsCreateTeam( client: VercelCore, - request?: CreateTeamRequestBody | undefined, + request: CreateTeamRequestBody, options?: RequestOptions, ): Promise< Result< CreateTeamResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -50,16 +60,14 @@ export async function teamsCreateTeam( > { const parsed = safeParse( request, - (value) => CreateTeamRequestBody$outboundSchema.optional().parse(value), + (value) => CreateTeamRequestBody$outboundSchema.parse(value), "Input validation failed", ); if (!parsed.ok) { return parsed; } const payload = parsed.value; - const body = payload === undefined - ? null - : encodeJSON("body", payload, { explode: true }); + const body = encodeJSON("body", payload, { explode: true }); const path = pathToFunc("/v1/teams")(); @@ -88,6 +96,7 @@ export async function teamsCreateTeam( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -109,8 +118,14 @@ export async function teamsCreateTeam( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CreateTeamResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -120,8 +135,10 @@ export async function teamsCreateTeam( | ConnectionError >( M.json(200, CreateTeamResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/teamsDeleteTeam.ts b/src/funcs/teamsDeleteTeam.ts index a54cf99e..1e9bf750 100644 --- a/src/funcs/teamsDeleteTeam.ts +++ b/src/funcs/teamsDeleteTeam.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DeleteTeamRequest, + DeleteTeamRequest$outboundSchema, + DeleteTeamResponseBody, + DeleteTeamResponseBody$inboundSchema, +} from "../models/deleteteamop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DeleteTeamRequest, - DeleteTeamRequest$outboundSchema, - DeleteTeamResponseBody, - DeleteTeamResponseBody$inboundSchema, -} from "../models/operations/deleteteam.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function teamsDeleteTeam( ): Promise< Result< DeleteTeamResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -98,6 +113,7 @@ export async function teamsDeleteTeam( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -120,8 +136,15 @@ export async function teamsDeleteTeam( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< DeleteTeamResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -131,8 +154,11 @@ export async function teamsDeleteTeam( | ConnectionError >( M.json(200, DeleteTeamResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 404, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, 409, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/teamsDeleteTeamInviteCode.ts b/src/funcs/teamsDeleteTeamInviteCode.ts index 56076372..3473984a 100644 --- a/src/funcs/teamsDeleteTeamInviteCode.ts +++ b/src/funcs/teamsDeleteTeamInviteCode.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DeleteTeamInviteCodeRequest, + DeleteTeamInviteCodeRequest$outboundSchema, + DeleteTeamInviteCodeResponseBody, + DeleteTeamInviteCodeResponseBody$inboundSchema, +} from "../models/deleteteaminvitecodeop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DeleteTeamInviteCodeRequest, - DeleteTeamInviteCodeRequest$outboundSchema, - DeleteTeamInviteCodeResponseBody, - DeleteTeamInviteCodeResponseBody$inboundSchema, -} from "../models/operations/deleteteaminvitecode.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function teamsDeleteTeamInviteCode( ): Promise< Result< DeleteTeamInviteCodeResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -96,6 +111,7 @@ export async function teamsDeleteTeamInviteCode( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -117,8 +133,15 @@ export async function teamsDeleteTeamInviteCode( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< DeleteTeamInviteCodeResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -128,8 +151,11 @@ export async function teamsDeleteTeamInviteCode( | ConnectionError >( M.json(200, DeleteTeamInviteCodeResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/teamsGetTeam.ts b/src/funcs/teamsGetTeam.ts index 44276534..2e553dde 100644 --- a/src/funcs/teamsGetTeam.ts +++ b/src/funcs/teamsGetTeam.ts @@ -10,19 +10,31 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetTeamRequest, + GetTeamRequest$outboundSchema, +} from "../models/getteamop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetTeamRequest, - GetTeamRequest$outboundSchema, -} from "../models/operations/getteam.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +50,9 @@ export async function teamsGetTeam( ): Promise< Result< { [k: string]: any }, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -95,6 +110,7 @@ export async function teamsGetTeam( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -117,8 +133,15 @@ export async function teamsGetTeam( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< { [k: string]: any }, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -128,8 +151,11 @@ export async function teamsGetTeam( | ConnectionError >( M.json(200, z.record(z.any())), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/teamsGetTeamAccessRequest.ts b/src/funcs/teamsGetTeamAccessRequest.ts index a2e213f4..3ddc0480 100644 --- a/src/funcs/teamsGetTeamAccessRequest.ts +++ b/src/funcs/teamsGetTeamAccessRequest.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetTeamAccessRequestRequest, + GetTeamAccessRequestRequest$outboundSchema, + GetTeamAccessRequestResponseBody, + GetTeamAccessRequestResponseBody$inboundSchema, +} from "../models/getteamaccessrequestop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetTeamAccessRequestRequest, - GetTeamAccessRequestRequest$outboundSchema, - GetTeamAccessRequestResponseBody, - GetTeamAccessRequestResponseBody$inboundSchema, -} from "../models/operations/getteamaccessrequest.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function teamsGetTeamAccessRequest( ): Promise< Result< GetTeamAccessRequestResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -96,6 +111,7 @@ export async function teamsGetTeamAccessRequest( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -117,8 +133,15 @@ export async function teamsGetTeamAccessRequest( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetTeamAccessRequestResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -128,8 +151,11 @@ export async function teamsGetTeamAccessRequest( | ConnectionError >( M.json(200, GetTeamAccessRequestResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/teamsGetTeamMembers.ts b/src/funcs/teamsGetTeamMembers.ts index 64631456..40cac4b9 100644 --- a/src/funcs/teamsGetTeamMembers.ts +++ b/src/funcs/teamsGetTeamMembers.ts @@ -9,21 +9,33 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetTeamMembersRequest, + GetTeamMembersRequest$outboundSchema, + GetTeamMembersResponseBody, + GetTeamMembersResponseBody$inboundSchema, +} from "../models/getteammembersop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetTeamMembersRequest, - GetTeamMembersRequest$outboundSchema, - GetTeamMembersResponseBody, - GetTeamMembersResponseBody$inboundSchema, -} from "../models/operations/getteammembers.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function teamsGetTeamMembers( ): Promise< Result< GetTeamMembersResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -102,6 +117,7 @@ export async function teamsGetTeamMembers( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -124,8 +140,15 @@ export async function teamsGetTeamMembers( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetTeamMembersResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -135,8 +158,11 @@ export async function teamsGetTeamMembers( | ConnectionError >( M.json(200, GetTeamMembersResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/teamsGetTeams.ts b/src/funcs/teamsGetTeams.ts index f17a672f..06a8f9c5 100644 --- a/src/funcs/teamsGetTeams.ts +++ b/src/funcs/teamsGetTeams.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetTeamsRequest, + GetTeamsRequest$outboundSchema, + GetTeamsResponseBody, + GetTeamsResponseBody$inboundSchema, +} from "../models/getteamsop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetTeamsRequest, - GetTeamsRequest$outboundSchema, - GetTeamsResponseBody, - GetTeamsResponseBody$inboundSchema, -} from "../models/operations/getteams.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function teamsGetTeams( ): Promise< Result< GetTeamsResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +101,7 @@ export async function teamsGetTeams( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +124,14 @@ export async function teamsGetTeams( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetTeamsResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +141,10 @@ export async function teamsGetTeams( | ConnectionError >( M.json(200, GetTeamsResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/teamsInviteUserToTeam.ts b/src/funcs/teamsInviteUserToTeam.ts index a4bf055c..0368dc40 100644 --- a/src/funcs/teamsInviteUserToTeam.ts +++ b/src/funcs/teamsInviteUserToTeam.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { InviteUserToTeamRequest, InviteUserToTeamRequest$outboundSchema, InviteUserToTeamResponseBody, InviteUserToTeamResponseBody$inboundSchema, -} from "../models/operations/inviteusertoteam.js"; +} from "../models/inviteusertoteamop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function teamsInviteUserToTeam( ): Promise< Result< InviteUserToTeamResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -93,6 +108,7 @@ export async function teamsInviteUserToTeam( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -114,8 +130,15 @@ export async function teamsInviteUserToTeam( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< InviteUserToTeamResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -125,8 +148,11 @@ export async function teamsInviteUserToTeam( | ConnectionError >( M.json(200, InviteUserToTeamResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", 503, "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", 503, "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/teamsJoinTeam.ts b/src/funcs/teamsJoinTeam.ts index 6a38b7a1..e0a8518f 100644 --- a/src/funcs/teamsJoinTeam.ts +++ b/src/funcs/teamsJoinTeam.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { JoinTeamRequest, JoinTeamRequest$outboundSchema, JoinTeamResponseBody, JoinTeamResponseBody$inboundSchema, -} from "../models/operations/jointeam.js"; +} from "../models/jointeamop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function teamsJoinTeam( ): Promise< Result< JoinTeamResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -93,6 +108,7 @@ export async function teamsJoinTeam( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -114,8 +130,15 @@ export async function teamsJoinTeam( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< JoinTeamResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -125,8 +148,11 @@ export async function teamsJoinTeam( | ConnectionError >( M.json(200, JoinTeamResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/teamsPatchTeam.ts b/src/funcs/teamsPatchTeam.ts index ba102072..5be2ebcf 100644 --- a/src/funcs/teamsPatchTeam.ts +++ b/src/funcs/teamsPatchTeam.ts @@ -16,13 +16,25 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { PatchTeamRequest, PatchTeamRequest$outboundSchema, -} from "../models/operations/patchteam.js"; +} from "../models/patchteamop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +50,9 @@ export async function teamsPatchTeam( ): Promise< Result< { [k: string]: any }, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -96,6 +111,7 @@ export async function teamsPatchTeam( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PATCH", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -118,8 +134,15 @@ export async function teamsPatchTeam( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< { [k: string]: any }, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -129,8 +152,11 @@ export async function teamsPatchTeam( | ConnectionError >( M.json(200, z.record(z.any())), - M.fail([400, 401, 402, 403, 404, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/teamsRemoveTeamMember.ts b/src/funcs/teamsRemoveTeamMember.ts index 9a362095..ce9d3243 100644 --- a/src/funcs/teamsRemoveTeamMember.ts +++ b/src/funcs/teamsRemoveTeamMember.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { RemoveTeamMemberRequest, RemoveTeamMemberRequest$outboundSchema, RemoveTeamMemberResponseBody, RemoveTeamMemberResponseBody$inboundSchema, -} from "../models/operations/removeteammember.js"; +} from "../models/removeteammemberop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function teamsRemoveTeamMember( ): Promise< Result< RemoveTeamMemberResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -100,6 +115,7 @@ export async function teamsRemoveTeamMember( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -122,8 +138,15 @@ export async function teamsRemoveTeamMember( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< RemoveTeamMemberResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -133,8 +156,11 @@ export async function teamsRemoveTeamMember( | ConnectionError >( M.json(200, RemoveTeamMemberResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", 503, "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", 503, "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/teamsRequestAccessToTeam.ts b/src/funcs/teamsRequestAccessToTeam.ts index 8e924316..88292024 100644 --- a/src/funcs/teamsRequestAccessToTeam.ts +++ b/src/funcs/teamsRequestAccessToTeam.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { RequestAccessToTeamRequest, RequestAccessToTeamRequest$outboundSchema, RequestAccessToTeamResponseBody, RequestAccessToTeamResponseBody$inboundSchema, -} from "../models/operations/requestaccesstoteam.js"; +} from "../models/requestaccesstoteamop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function teamsRequestAccessToTeam( ): Promise< Result< RequestAccessToTeamResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -93,6 +108,7 @@ export async function teamsRequestAccessToTeam( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -114,8 +130,15 @@ export async function teamsRequestAccessToTeam( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< RequestAccessToTeamResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -125,8 +148,11 @@ export async function teamsRequestAccessToTeam( | ConnectionError >( M.json(200, RequestAccessToTeamResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, "4XX", 503, "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", 503, "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/teamsUpdateTeamMember.ts b/src/funcs/teamsUpdateTeamMember.ts index b9806157..3d3c76e5 100644 --- a/src/funcs/teamsUpdateTeamMember.ts +++ b/src/funcs/teamsUpdateTeamMember.ts @@ -15,15 +15,27 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { UpdateTeamMemberRequest, UpdateTeamMemberRequest$outboundSchema, UpdateTeamMemberResponseBody, UpdateTeamMemberResponseBody$inboundSchema, -} from "../models/operations/updateteammember.js"; +} from "../models/updateteammemberop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +51,9 @@ export async function teamsUpdateTeamMember( ): Promise< Result< UpdateTeamMemberResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +112,7 @@ export async function teamsUpdateTeamMember( const requestRes = client._createRequest(context, { security: requestSecurity, method: "PATCH", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -118,8 +134,15 @@ export async function teamsUpdateTeamMember( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< UpdateTeamMemberResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError | SDKError | SDKValidationError | UnexpectedClientError @@ -129,8 +152,11 @@ export async function teamsUpdateTeamMember( | ConnectionError >( M.json(200, UpdateTeamMemberResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, 404, "4XX", 500, "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", 500, "5XX"]), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/userGetAuthUser.ts b/src/funcs/userGetAuthUser.ts index 0468ccf6..c66c7448 100644 --- a/src/funcs/userGetAuthUser.ts +++ b/src/funcs/userGetAuthUser.ts @@ -7,19 +7,27 @@ import * as M from "../lib/matchers.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetAuthUserResponseBody, + GetAuthUserResponseBody$inboundSchema, +} from "../models/getauthuserop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetAuthUserResponseBody, - GetAuthUserResponseBody$inboundSchema, -} from "../models/operations/getauthuser.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -34,6 +42,8 @@ export async function userGetAuthUser( ): Promise< Result< GetAuthUserResponseBody | undefined, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -69,6 +79,7 @@ export async function userGetAuthUser( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, @@ -89,8 +100,14 @@ export async function userGetAuthUser( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetAuthUserResponseBody | undefined, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -101,8 +118,10 @@ export async function userGetAuthUser( >( M.json(200, GetAuthUserResponseBody$inboundSchema.optional()), M.nil(302, GetAuthUserResponseBody$inboundSchema.optional()), - M.fail([400, 401, 403, 409, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, 409, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/userListUserEvents.ts b/src/funcs/userListUserEvents.ts index 9fe8ae9b..3f1c8e4a 100644 --- a/src/funcs/userListUserEvents.ts +++ b/src/funcs/userListUserEvents.ts @@ -15,15 +15,23 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { ListUserEventsRequest, ListUserEventsRequest$outboundSchema, ListUserEventsResponseBody, ListUserEventsResponseBody$inboundSchema, -} from "../models/operations/listuserevents.js"; +} from "../models/listusereventsop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function userListUserEvents( ): Promise< Result< ListUserEventsResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -96,6 +106,7 @@ export async function userListUserEvents( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -118,8 +129,14 @@ export async function userListUserEvents( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< ListUserEventsResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -129,8 +146,10 @@ export async function userListUserEvents( | ConnectionError >( M.json(200, ListUserEventsResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/userRequestDelete.ts b/src/funcs/userRequestDelete.ts index cfe24ed3..b4e2100f 100644 --- a/src/funcs/userRequestDelete.ts +++ b/src/funcs/userRequestDelete.ts @@ -15,15 +15,23 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; import { RequestDeleteRequestBody, RequestDeleteRequestBody$outboundSchema, RequestDeleteResponseBody, RequestDeleteResponseBody$inboundSchema, -} from "../models/operations/requestdelete.js"; +} from "../models/requestdeleteop.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -34,11 +42,13 @@ import { Result } from "../types/fp.js"; */ export async function userRequestDelete( client: VercelCore, - request?: RequestDeleteRequestBody | undefined, + request: RequestDeleteRequestBody, options?: RequestOptions, ): Promise< Result< RequestDeleteResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -50,16 +60,14 @@ export async function userRequestDelete( > { const parsed = safeParse( request, - (value) => RequestDeleteRequestBody$outboundSchema.optional().parse(value), + (value) => RequestDeleteRequestBody$outboundSchema.parse(value), "Input validation failed", ); if (!parsed.ok) { return parsed; } const payload = parsed.value; - const body = payload === undefined - ? null - : encodeJSON("body", payload, { explode: true }); + const body = encodeJSON("body", payload, { explode: true }); const path = pathToFunc("/v1/user")(); @@ -88,6 +96,7 @@ export async function userRequestDelete( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, body: body, @@ -109,8 +118,14 @@ export async function userRequestDelete( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< RequestDeleteResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -120,8 +135,10 @@ export async function userRequestDelete( | ConnectionError >( M.json(202, RequestDeleteResponseBody$inboundSchema), - M.fail([400, 401, 402, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/webhooksCreateWebhook.ts b/src/funcs/webhooksCreateWebhook.ts index 1ce23f1b..ddb55ebf 100644 --- a/src/funcs/webhooksCreateWebhook.ts +++ b/src/funcs/webhooksCreateWebhook.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + CreateWebhookRequest, + CreateWebhookRequest$outboundSchema, + CreateWebhookResponseBody, + CreateWebhookResponseBody$inboundSchema, +} from "../models/createwebhookop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - CreateWebhookRequest, - CreateWebhookRequest$outboundSchema, - CreateWebhookResponseBody, - CreateWebhookResponseBody$inboundSchema, -} from "../models/operations/createwebhook.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function webhooksCreateWebhook( ): Promise< Result< CreateWebhookResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +101,7 @@ export async function webhooksCreateWebhook( const requestRes = client._createRequest(context, { security: requestSecurity, method: "POST", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +124,14 @@ export async function webhooksCreateWebhook( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< CreateWebhookResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +141,10 @@ export async function webhooksCreateWebhook( | ConnectionError >( M.json(200, CreateWebhookResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/webhooksDeleteWebhook.ts b/src/funcs/webhooksDeleteWebhook.ts index 67882384..8a879486 100644 --- a/src/funcs/webhooksDeleteWebhook.ts +++ b/src/funcs/webhooksDeleteWebhook.ts @@ -10,19 +10,27 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + DeleteWebhookRequest, + DeleteWebhookRequest$outboundSchema, +} from "../models/deletewebhookop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - DeleteWebhookRequest, - DeleteWebhookRequest$outboundSchema, -} from "../models/operations/deletewebhook.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -38,6 +46,8 @@ export async function webhooksDeleteWebhook( ): Promise< Result< void, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -73,7 +83,7 @@ export async function webhooksDeleteWebhook( }); const headers = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const secConfig = await extractSecurity(client._options.bearerToken); @@ -96,6 +106,7 @@ export async function webhooksDeleteWebhook( const requestRes = client._createRequest(context, { security: requestSecurity, method: "DELETE", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -118,8 +129,14 @@ export async function webhooksDeleteWebhook( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< void, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -129,8 +146,10 @@ export async function webhooksDeleteWebhook( | ConnectionError >( M.nil(204, z.void()), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/webhooksGetWebhook.ts b/src/funcs/webhooksGetWebhook.ts index 9b1ca5c7..d1d0398e 100644 --- a/src/funcs/webhooksGetWebhook.ts +++ b/src/funcs/webhooksGetWebhook.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetWebhookRequest, + GetWebhookRequest$outboundSchema, + GetWebhookResponseBody, + GetWebhookResponseBody$inboundSchema, +} from "../models/getwebhookop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetWebhookRequest, - GetWebhookRequest$outboundSchema, - GetWebhookResponseBody, - GetWebhookResponseBody$inboundSchema, -} from "../models/operations/getwebhook.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function webhooksGetWebhook( ): Promise< Result< GetWebhookResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -97,6 +107,7 @@ export async function webhooksGetWebhook( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -119,8 +130,14 @@ export async function webhooksGetWebhook( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetWebhookResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -130,8 +147,10 @@ export async function webhooksGetWebhook( | ConnectionError >( M.json(200, GetWebhookResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/funcs/webhooksGetWebhooks.ts b/src/funcs/webhooksGetWebhooks.ts index 218d8747..5ce12f3c 100644 --- a/src/funcs/webhooksGetWebhooks.ts +++ b/src/funcs/webhooksGetWebhooks.ts @@ -9,21 +9,29 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import { + GetWebhooksRequest, + GetWebhooksRequest$outboundSchema, + GetWebhooksResponseBody, + GetWebhooksResponseBody$inboundSchema, +} from "../models/getwebhooksop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +} from "../models/httpclienterrors.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { - GetWebhooksRequest, - GetWebhooksRequest$outboundSchema, - GetWebhooksResponseBody, - GetWebhooksResponseBody$inboundSchema, -} from "../models/operations/getwebhooks.js"; + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; import { Result } from "../types/fp.js"; /** @@ -39,6 +47,8 @@ export async function webhooksGetWebhooks( ): Promise< Result< GetWebhooksResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -91,6 +101,7 @@ export async function webhooksGetWebhooks( const requestRes = client._createRequest(context, { security: requestSecurity, method: "GET", + baseURL: options?.serverURL, path: path, headers: headers, query: query, @@ -113,8 +124,14 @@ export async function webhooksGetWebhooks( } const response = doResult.value; + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + const [result] = await M.match< GetWebhooksResponseBody, + | VercelBadRequestError + | VercelForbiddenError | SDKError | SDKValidationError | UnexpectedClientError @@ -124,8 +141,10 @@ export async function webhooksGetWebhooks( | ConnectionError >( M.json(200, GetWebhooksResponseBody$inboundSchema), - M.fail([400, 401, 403, "4XX", "5XX"]), - )(response); + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX", "5XX"]), + )(response, { extraFields: responseFields }); if (!result.ok) { return result; } diff --git a/src/hooks/hooks.ts b/src/hooks/hooks.ts index d1b3396f..d34c8849 100644 --- a/src/hooks/hooks.ts +++ b/src/hooks/hooks.ts @@ -12,6 +12,7 @@ import { BeforeCreateRequestHook, BeforeRequestContext, BeforeRequestHook, + Hook, Hooks, SDKInitHook, SDKInitOptions, @@ -27,6 +28,25 @@ export class SDKHooks implements Hooks { afterErrorHooks: AfterErrorHook[] = []; constructor() { + const presetHooks: Array = []; + + for (const hook of presetHooks) { + if ("sdkInit" in hook) { + this.registerSDKInitHook(hook); + } + if ("beforeCreateRequest" in hook) { + this.registerBeforeCreateRequestHook(hook); + } + if ("beforeRequest" in hook) { + this.registerBeforeRequestHook(hook); + } + if ("afterSuccess" in hook) { + this.registerAfterSuccessHook(hook); + } + if ("afterError" in hook) { + this.registerAfterErrorHook(hook); + } + } initHooks(this); } diff --git a/src/hooks/types.ts b/src/hooks/types.ts index df5237dc..8a27c659 100644 --- a/src/hooks/types.ts +++ b/src/hooks/types.ts @@ -100,3 +100,10 @@ export interface Hooks { /** Registers a hook to be used by the SDK for the after error event. */ registerAfterErrorHook(hook: AfterErrorHook): void; } + +export type Hook = + | SDKInitHook + | BeforeCreateRequestHook + | BeforeRequestHook + | AfterSuccessHook + | AfterErrorHook; diff --git a/src/lib/config.ts b/src/lib/config.ts index 041f6113..8a88136b 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -57,7 +57,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.0.1", - sdkVersion: "1.1.0", - genVersion: "2.461.4", - userAgent: "speakeasy-sdk/typescript 1.1.0 2.461.4 0.0.1 @vercel/sdk", + sdkVersion: "1.2.0", + genVersion: "2.481.0", + userAgent: "speakeasy-sdk/typescript 1.2.0 2.481.0 0.0.1 @vercel/sdk", } as const; diff --git a/src/lib/matchers.ts b/src/lib/matchers.ts index 19b46b33..a2ac6d49 100644 --- a/src/lib/matchers.ts +++ b/src/lib/matchers.ts @@ -2,8 +2,8 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import { SDKError } from "../models/errors/sdkerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { SDKError } from "../models/sdkerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { Result } from "../types/fp.js"; import { matchResponse, matchStatusCode, StatusCodePredicate } from "./http.js"; import { isPlainObject } from "./is-plain-object.js"; diff --git a/src/lib/primitives.ts b/src/lib/primitives.ts index 48b28674..1dc4ee43 100644 --- a/src/lib/primitives.ts +++ b/src/lib/primitives.ts @@ -58,3 +58,65 @@ export function remap< return out; } + +export function combineSignals( + ...signals: Array +): AbortSignal | null { + const filtered: AbortSignal[] = []; + for (const signal of signals) { + if (signal) { + filtered.push(signal); + } + } + + switch (filtered.length) { + case 0: + case 1: + return filtered[0] || null; + default: + if ("any" in AbortSignal && typeof AbortSignal.any === "function") { + return AbortSignal.any(filtered); + } + return abortSignalAny(filtered); + } +} + +export function abortSignalAny(signals: AbortSignal[]): AbortSignal { + const controller = new AbortController(); + const result = controller.signal; + if (!signals.length) { + return controller.signal; + } + + if (signals.length === 1) { + return signals[0] || controller.signal; + } + + for (const signal of signals) { + if (signal.aborted) { + return signal; + } + } + + function abort(this: AbortSignal) { + controller.abort(this.reason); + clean(); + } + + const signalRefs: WeakRef[] = []; + function clean() { + for (const signalRef of signalRefs) { + const signal = signalRef.deref(); + if (signal) { + signal.removeEventListener("abort", abort); + } + } + } + + for (const signal of signals) { + signalRefs.push(new WeakRef(signal)); + signal.addEventListener("abort", abort); + } + + return result; +} diff --git a/src/lib/schemas.ts b/src/lib/schemas.ts index f3856dcb..a1ac8550 100644 --- a/src/lib/schemas.ts +++ b/src/lib/schemas.ts @@ -10,7 +10,7 @@ import { ZodRawShape, ZodTypeAny, } from "zod"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { ERR, OK, Result } from "../types/fp.js"; /** diff --git a/src/lib/sdks.ts b/src/lib/sdks.ts index 2ce720a9..7a2b2049 100644 --- a/src/lib/sdks.ts +++ b/src/lib/sdks.ts @@ -10,7 +10,7 @@ import { RequestAbortedError, RequestTimeoutError, UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; +} from "../models/httpclienterrors.js"; import { ERR, OK, Result } from "../types/fp.js"; import { stringToBase64 } from "./base64.js"; import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "./config.js"; @@ -41,6 +41,10 @@ export type RequestOptions = { * Specifies the status codes which should be retried using the given retry policy. */ retryCodes?: string[]; + /** + * Overrides the base server URL that will be used by an operation. + */ + serverURL?: string | URL; /** * Sets various request options on the `fetch` call made by an SDK method. * @@ -52,7 +56,7 @@ export type RequestOptions = { type RequestConfig = { method: string; path: string; - baseURL?: string | URL; + baseURL?: string | URL | undefined; query?: string; body?: RequestInit["body"]; headers?: HeadersInit; @@ -119,6 +123,7 @@ export class ClientSDK { const inputURL = new URL(path, reqURL); if (path) { + reqURL.pathname += reqURL.pathname.endsWith("/") ? "" : "/"; reqURL.pathname += inputURL.pathname.replace(/^\/+/, ""); } diff --git a/src/lib/security.ts b/src/lib/security.ts index 9f94ac08..7cfb0c12 100644 --- a/src/lib/security.ts +++ b/src/lib/security.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import { Security } from "../models/components/security.js"; +import { Security } from "../models/security.js"; type OAuth2PasswordFlow = { username: string; diff --git a/src/models/components/aclaction.ts b/src/models/aclaction.ts similarity index 95% rename from src/models/components/aclaction.ts rename to src/models/aclaction.ts index 227ce64f..34111a79 100644 --- a/src/models/components/aclaction.ts +++ b/src/models/aclaction.ts @@ -3,7 +3,7 @@ */ import * as z from "zod"; -import { ClosedEnum } from "../../types/enums.js"; +import { ClosedEnum } from "../types/enums.js"; /** * Enum containing the actions that can be performed against a resource. Group operations are included. diff --git a/src/models/addprojectdomainop.ts b/src/models/addprojectdomainop.ts new file mode 100644 index 00000000..1be1a108 --- /dev/null +++ b/src/models/addprojectdomainop.ts @@ -0,0 +1,411 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * Status code for domain redirect + */ +export const AddProjectDomainRedirectStatusCode = { + ThreeHundredAndOne: 301, + ThreeHundredAndTwo: 302, + ThreeHundredAndSeven: 307, + ThreeHundredAndEight: 308, +} as const; +/** + * Status code for domain redirect + */ +export type AddProjectDomainRedirectStatusCode = ClosedEnum< + typeof AddProjectDomainRedirectStatusCode +>; + +export type AddProjectDomainRequestBody = { + /** + * The project domain name + */ + name: string; + /** + * Git branch to link the project domain + */ + gitBranch?: string | null | undefined; + /** + * Target destination domain for redirect + */ + redirect?: string | null | undefined; + /** + * Status code for domain redirect + */ + redirectStatusCode?: AddProjectDomainRedirectStatusCode | null | undefined; +}; + +export type AddProjectDomainRequest = { + /** + * The unique project identifier or the project name + */ + idOrName: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: AddProjectDomainRequestBody; +}; + +/** + * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. + */ +export type AddProjectDomainVerification = { + type: string; + domain: string; + value: string; + reason: string; +}; + +/** + * The domain was successfully added to the project + */ +export type AddProjectDomainResponseBody = { + name: string; + apexName: string; + projectId: string; + redirect?: string | null | undefined; + redirectStatusCode?: number | null | undefined; + gitBranch?: string | null | undefined; + customEnvironmentId?: string | null | undefined; + updatedAt?: number | undefined; + createdAt?: number | undefined; + /** + * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. + */ + verified: boolean; + /** + * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. + */ + verification?: Array | undefined; +}; + +/** @internal */ +export const AddProjectDomainRedirectStatusCode$inboundSchema: z.ZodNativeEnum< + typeof AddProjectDomainRedirectStatusCode +> = z.nativeEnum(AddProjectDomainRedirectStatusCode); + +/** @internal */ +export const AddProjectDomainRedirectStatusCode$outboundSchema: z.ZodNativeEnum< + typeof AddProjectDomainRedirectStatusCode +> = AddProjectDomainRedirectStatusCode$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AddProjectDomainRedirectStatusCode$ { + /** @deprecated use `AddProjectDomainRedirectStatusCode$inboundSchema` instead. */ + export const inboundSchema = AddProjectDomainRedirectStatusCode$inboundSchema; + /** @deprecated use `AddProjectDomainRedirectStatusCode$outboundSchema` instead. */ + export const outboundSchema = + AddProjectDomainRedirectStatusCode$outboundSchema; +} + +/** @internal */ +export const AddProjectDomainRequestBody$inboundSchema: z.ZodType< + AddProjectDomainRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + gitBranch: z.nullable(z.string()).optional(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable( + AddProjectDomainRedirectStatusCode$inboundSchema, + ).optional(), +}); + +/** @internal */ +export type AddProjectDomainRequestBody$Outbound = { + name: string; + gitBranch?: string | null | undefined; + redirect?: string | null | undefined; + redirectStatusCode?: number | null | undefined; +}; + +/** @internal */ +export const AddProjectDomainRequestBody$outboundSchema: z.ZodType< + AddProjectDomainRequestBody$Outbound, + z.ZodTypeDef, + AddProjectDomainRequestBody +> = z.object({ + name: z.string(), + gitBranch: z.nullable(z.string()).optional(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable( + AddProjectDomainRedirectStatusCode$outboundSchema, + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AddProjectDomainRequestBody$ { + /** @deprecated use `AddProjectDomainRequestBody$inboundSchema` instead. */ + export const inboundSchema = AddProjectDomainRequestBody$inboundSchema; + /** @deprecated use `AddProjectDomainRequestBody$outboundSchema` instead. */ + export const outboundSchema = AddProjectDomainRequestBody$outboundSchema; + /** @deprecated use `AddProjectDomainRequestBody$Outbound` instead. */ + export type Outbound = AddProjectDomainRequestBody$Outbound; +} + +export function addProjectDomainRequestBodyToJSON( + addProjectDomainRequestBody: AddProjectDomainRequestBody, +): string { + return JSON.stringify( + AddProjectDomainRequestBody$outboundSchema.parse( + addProjectDomainRequestBody, + ), + ); +} + +export function addProjectDomainRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AddProjectDomainRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AddProjectDomainRequestBody' from JSON`, + ); +} + +/** @internal */ +export const AddProjectDomainRequest$inboundSchema: z.ZodType< + AddProjectDomainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => AddProjectDomainRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type AddProjectDomainRequest$Outbound = { + idOrName: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: AddProjectDomainRequestBody$Outbound; +}; + +/** @internal */ +export const AddProjectDomainRequest$outboundSchema: z.ZodType< + AddProjectDomainRequest$Outbound, + z.ZodTypeDef, + AddProjectDomainRequest +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => AddProjectDomainRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AddProjectDomainRequest$ { + /** @deprecated use `AddProjectDomainRequest$inboundSchema` instead. */ + export const inboundSchema = AddProjectDomainRequest$inboundSchema; + /** @deprecated use `AddProjectDomainRequest$outboundSchema` instead. */ + export const outboundSchema = AddProjectDomainRequest$outboundSchema; + /** @deprecated use `AddProjectDomainRequest$Outbound` instead. */ + export type Outbound = AddProjectDomainRequest$Outbound; +} + +export function addProjectDomainRequestToJSON( + addProjectDomainRequest: AddProjectDomainRequest, +): string { + return JSON.stringify( + AddProjectDomainRequest$outboundSchema.parse(addProjectDomainRequest), + ); +} + +export function addProjectDomainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AddProjectDomainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AddProjectDomainRequest' from JSON`, + ); +} + +/** @internal */ +export const AddProjectDomainVerification$inboundSchema: z.ZodType< + AddProjectDomainVerification, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + domain: z.string(), + value: z.string(), + reason: z.string(), +}); + +/** @internal */ +export type AddProjectDomainVerification$Outbound = { + type: string; + domain: string; + value: string; + reason: string; +}; + +/** @internal */ +export const AddProjectDomainVerification$outboundSchema: z.ZodType< + AddProjectDomainVerification$Outbound, + z.ZodTypeDef, + AddProjectDomainVerification +> = z.object({ + type: z.string(), + domain: z.string(), + value: z.string(), + reason: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AddProjectDomainVerification$ { + /** @deprecated use `AddProjectDomainVerification$inboundSchema` instead. */ + export const inboundSchema = AddProjectDomainVerification$inboundSchema; + /** @deprecated use `AddProjectDomainVerification$outboundSchema` instead. */ + export const outboundSchema = AddProjectDomainVerification$outboundSchema; + /** @deprecated use `AddProjectDomainVerification$Outbound` instead. */ + export type Outbound = AddProjectDomainVerification$Outbound; +} + +export function addProjectDomainVerificationToJSON( + addProjectDomainVerification: AddProjectDomainVerification, +): string { + return JSON.stringify( + AddProjectDomainVerification$outboundSchema.parse( + addProjectDomainVerification, + ), + ); +} + +export function addProjectDomainVerificationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AddProjectDomainVerification$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AddProjectDomainVerification' from JSON`, + ); +} + +/** @internal */ +export const AddProjectDomainResponseBody$inboundSchema: z.ZodType< + AddProjectDomainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + apexName: z.string(), + projectId: z.string(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(z.number()).optional(), + gitBranch: z.nullable(z.string()).optional(), + customEnvironmentId: z.nullable(z.string()).optional(), + updatedAt: z.number().optional(), + createdAt: z.number().optional(), + verified: z.boolean(), + verification: z.array( + z.lazy(() => AddProjectDomainVerification$inboundSchema), + ).optional(), +}); + +/** @internal */ +export type AddProjectDomainResponseBody$Outbound = { + name: string; + apexName: string; + projectId: string; + redirect?: string | null | undefined; + redirectStatusCode?: number | null | undefined; + gitBranch?: string | null | undefined; + customEnvironmentId?: string | null | undefined; + updatedAt?: number | undefined; + createdAt?: number | undefined; + verified: boolean; + verification?: Array | undefined; +}; + +/** @internal */ +export const AddProjectDomainResponseBody$outboundSchema: z.ZodType< + AddProjectDomainResponseBody$Outbound, + z.ZodTypeDef, + AddProjectDomainResponseBody +> = z.object({ + name: z.string(), + apexName: z.string(), + projectId: z.string(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(z.number()).optional(), + gitBranch: z.nullable(z.string()).optional(), + customEnvironmentId: z.nullable(z.string()).optional(), + updatedAt: z.number().optional(), + createdAt: z.number().optional(), + verified: z.boolean(), + verification: z.array( + z.lazy(() => AddProjectDomainVerification$outboundSchema), + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AddProjectDomainResponseBody$ { + /** @deprecated use `AddProjectDomainResponseBody$inboundSchema` instead. */ + export const inboundSchema = AddProjectDomainResponseBody$inboundSchema; + /** @deprecated use `AddProjectDomainResponseBody$outboundSchema` instead. */ + export const outboundSchema = AddProjectDomainResponseBody$outboundSchema; + /** @deprecated use `AddProjectDomainResponseBody$Outbound` instead. */ + export type Outbound = AddProjectDomainResponseBody$Outbound; +} + +export function addProjectDomainResponseBodyToJSON( + addProjectDomainResponseBody: AddProjectDomainResponseBody, +): string { + return JSON.stringify( + AddProjectDomainResponseBody$outboundSchema.parse( + addProjectDomainResponseBody, + ), + ); +} + +export function addProjectDomainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AddProjectDomainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AddProjectDomainResponseBody' from JSON`, + ); +} diff --git a/src/models/addprojectmemberop.ts b/src/models/addprojectmemberop.ts new file mode 100644 index 00000000..0aae8ea7 --- /dev/null +++ b/src/models/addprojectmemberop.ts @@ -0,0 +1,600 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * The project role of the member that will be added. + */ +export const AddProjectMemberRequestBodyProjectMembersRole = { + Admin: "ADMIN", + ProjectDeveloper: "PROJECT_DEVELOPER", + ProjectViewer: "PROJECT_VIEWER", +} as const; +/** + * The project role of the member that will be added. + */ +export type AddProjectMemberRequestBodyProjectMembersRole = ClosedEnum< + typeof AddProjectMemberRequestBodyProjectMembersRole +>; + +export type AddProjectMemberRequestBody3 = { + /** + * The ID of the team member that should be added to this project. + */ + uid?: string | undefined; + /** + * The username of the team member that should be added to this project. + */ + username?: string | undefined; + /** + * The email of the team member that should be added to this project. + */ + email: string; + /** + * The project role of the member that will be added. + */ + role: AddProjectMemberRequestBodyProjectMembersRole; +}; + +/** + * The project role of the member that will be added. + */ +export const AddProjectMemberRequestBodyRole = { + Admin: "ADMIN", + ProjectDeveloper: "PROJECT_DEVELOPER", + ProjectViewer: "PROJECT_VIEWER", +} as const; +/** + * The project role of the member that will be added. + */ +export type AddProjectMemberRequestBodyRole = ClosedEnum< + typeof AddProjectMemberRequestBodyRole +>; + +export type AddProjectMemberRequestBody2 = { + /** + * The ID of the team member that should be added to this project. + */ + uid?: string | undefined; + /** + * The username of the team member that should be added to this project. + */ + username: string; + /** + * The email of the team member that should be added to this project. + */ + email?: string | undefined; + /** + * The project role of the member that will be added. + */ + role: AddProjectMemberRequestBodyRole; +}; + +/** + * The project role of the member that will be added. + */ +export const RequestBodyRole = { + Admin: "ADMIN", + ProjectDeveloper: "PROJECT_DEVELOPER", + ProjectViewer: "PROJECT_VIEWER", +} as const; +/** + * The project role of the member that will be added. + */ +export type RequestBodyRole = ClosedEnum; + +export type AddProjectMemberRequestBody1 = { + /** + * The ID of the team member that should be added to this project. + */ + uid: string; + /** + * The username of the team member that should be added to this project. + */ + username?: string | undefined; + /** + * The email of the team member that should be added to this project. + */ + email?: string | undefined; + /** + * The project role of the member that will be added. + */ + role: RequestBodyRole; +}; + +export type AddProjectMemberRequestBody = + | AddProjectMemberRequestBody1 + | AddProjectMemberRequestBody2 + | AddProjectMemberRequestBody3; + +export type AddProjectMemberRequest = { + /** + * The ID or name of the Project. + */ + idOrName: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: + | AddProjectMemberRequestBody1 + | AddProjectMemberRequestBody2 + | AddProjectMemberRequestBody3; +}; + +/** + * Responds with the project ID on success. + */ +export type AddProjectMemberResponseBody = { + id: string; +}; + +/** @internal */ +export const AddProjectMemberRequestBodyProjectMembersRole$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(AddProjectMemberRequestBodyProjectMembersRole); + +/** @internal */ +export const AddProjectMemberRequestBodyProjectMembersRole$outboundSchema: + z.ZodNativeEnum = + AddProjectMemberRequestBodyProjectMembersRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AddProjectMemberRequestBodyProjectMembersRole$ { + /** @deprecated use `AddProjectMemberRequestBodyProjectMembersRole$inboundSchema` instead. */ + export const inboundSchema = + AddProjectMemberRequestBodyProjectMembersRole$inboundSchema; + /** @deprecated use `AddProjectMemberRequestBodyProjectMembersRole$outboundSchema` instead. */ + export const outboundSchema = + AddProjectMemberRequestBodyProjectMembersRole$outboundSchema; +} + +/** @internal */ +export const AddProjectMemberRequestBody3$inboundSchema: z.ZodType< + AddProjectMemberRequestBody3, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string().optional(), + username: z.string().optional(), + email: z.string(), + role: AddProjectMemberRequestBodyProjectMembersRole$inboundSchema, +}); + +/** @internal */ +export type AddProjectMemberRequestBody3$Outbound = { + uid?: string | undefined; + username?: string | undefined; + email: string; + role: string; +}; + +/** @internal */ +export const AddProjectMemberRequestBody3$outboundSchema: z.ZodType< + AddProjectMemberRequestBody3$Outbound, + z.ZodTypeDef, + AddProjectMemberRequestBody3 +> = z.object({ + uid: z.string().optional(), + username: z.string().optional(), + email: z.string(), + role: AddProjectMemberRequestBodyProjectMembersRole$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AddProjectMemberRequestBody3$ { + /** @deprecated use `AddProjectMemberRequestBody3$inboundSchema` instead. */ + export const inboundSchema = AddProjectMemberRequestBody3$inboundSchema; + /** @deprecated use `AddProjectMemberRequestBody3$outboundSchema` instead. */ + export const outboundSchema = AddProjectMemberRequestBody3$outboundSchema; + /** @deprecated use `AddProjectMemberRequestBody3$Outbound` instead. */ + export type Outbound = AddProjectMemberRequestBody3$Outbound; +} + +export function addProjectMemberRequestBody3ToJSON( + addProjectMemberRequestBody3: AddProjectMemberRequestBody3, +): string { + return JSON.stringify( + AddProjectMemberRequestBody3$outboundSchema.parse( + addProjectMemberRequestBody3, + ), + ); +} + +export function addProjectMemberRequestBody3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AddProjectMemberRequestBody3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AddProjectMemberRequestBody3' from JSON`, + ); +} + +/** @internal */ +export const AddProjectMemberRequestBodyRole$inboundSchema: z.ZodNativeEnum< + typeof AddProjectMemberRequestBodyRole +> = z.nativeEnum(AddProjectMemberRequestBodyRole); + +/** @internal */ +export const AddProjectMemberRequestBodyRole$outboundSchema: z.ZodNativeEnum< + typeof AddProjectMemberRequestBodyRole +> = AddProjectMemberRequestBodyRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AddProjectMemberRequestBodyRole$ { + /** @deprecated use `AddProjectMemberRequestBodyRole$inboundSchema` instead. */ + export const inboundSchema = AddProjectMemberRequestBodyRole$inboundSchema; + /** @deprecated use `AddProjectMemberRequestBodyRole$outboundSchema` instead. */ + export const outboundSchema = AddProjectMemberRequestBodyRole$outboundSchema; +} + +/** @internal */ +export const AddProjectMemberRequestBody2$inboundSchema: z.ZodType< + AddProjectMemberRequestBody2, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string().optional(), + username: z.string(), + email: z.string().optional(), + role: AddProjectMemberRequestBodyRole$inboundSchema, +}); + +/** @internal */ +export type AddProjectMemberRequestBody2$Outbound = { + uid?: string | undefined; + username: string; + email?: string | undefined; + role: string; +}; + +/** @internal */ +export const AddProjectMemberRequestBody2$outboundSchema: z.ZodType< + AddProjectMemberRequestBody2$Outbound, + z.ZodTypeDef, + AddProjectMemberRequestBody2 +> = z.object({ + uid: z.string().optional(), + username: z.string(), + email: z.string().optional(), + role: AddProjectMemberRequestBodyRole$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AddProjectMemberRequestBody2$ { + /** @deprecated use `AddProjectMemberRequestBody2$inboundSchema` instead. */ + export const inboundSchema = AddProjectMemberRequestBody2$inboundSchema; + /** @deprecated use `AddProjectMemberRequestBody2$outboundSchema` instead. */ + export const outboundSchema = AddProjectMemberRequestBody2$outboundSchema; + /** @deprecated use `AddProjectMemberRequestBody2$Outbound` instead. */ + export type Outbound = AddProjectMemberRequestBody2$Outbound; +} + +export function addProjectMemberRequestBody2ToJSON( + addProjectMemberRequestBody2: AddProjectMemberRequestBody2, +): string { + return JSON.stringify( + AddProjectMemberRequestBody2$outboundSchema.parse( + addProjectMemberRequestBody2, + ), + ); +} + +export function addProjectMemberRequestBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AddProjectMemberRequestBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AddProjectMemberRequestBody2' from JSON`, + ); +} + +/** @internal */ +export const RequestBodyRole$inboundSchema: z.ZodNativeEnum< + typeof RequestBodyRole +> = z.nativeEnum(RequestBodyRole); + +/** @internal */ +export const RequestBodyRole$outboundSchema: z.ZodNativeEnum< + typeof RequestBodyRole +> = RequestBodyRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBodyRole$ { + /** @deprecated use `RequestBodyRole$inboundSchema` instead. */ + export const inboundSchema = RequestBodyRole$inboundSchema; + /** @deprecated use `RequestBodyRole$outboundSchema` instead. */ + export const outboundSchema = RequestBodyRole$outboundSchema; +} + +/** @internal */ +export const AddProjectMemberRequestBody1$inboundSchema: z.ZodType< + AddProjectMemberRequestBody1, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + username: z.string().optional(), + email: z.string().optional(), + role: RequestBodyRole$inboundSchema, +}); + +/** @internal */ +export type AddProjectMemberRequestBody1$Outbound = { + uid: string; + username?: string | undefined; + email?: string | undefined; + role: string; +}; + +/** @internal */ +export const AddProjectMemberRequestBody1$outboundSchema: z.ZodType< + AddProjectMemberRequestBody1$Outbound, + z.ZodTypeDef, + AddProjectMemberRequestBody1 +> = z.object({ + uid: z.string(), + username: z.string().optional(), + email: z.string().optional(), + role: RequestBodyRole$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AddProjectMemberRequestBody1$ { + /** @deprecated use `AddProjectMemberRequestBody1$inboundSchema` instead. */ + export const inboundSchema = AddProjectMemberRequestBody1$inboundSchema; + /** @deprecated use `AddProjectMemberRequestBody1$outboundSchema` instead. */ + export const outboundSchema = AddProjectMemberRequestBody1$outboundSchema; + /** @deprecated use `AddProjectMemberRequestBody1$Outbound` instead. */ + export type Outbound = AddProjectMemberRequestBody1$Outbound; +} + +export function addProjectMemberRequestBody1ToJSON( + addProjectMemberRequestBody1: AddProjectMemberRequestBody1, +): string { + return JSON.stringify( + AddProjectMemberRequestBody1$outboundSchema.parse( + addProjectMemberRequestBody1, + ), + ); +} + +export function addProjectMemberRequestBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AddProjectMemberRequestBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AddProjectMemberRequestBody1' from JSON`, + ); +} + +/** @internal */ +export const AddProjectMemberRequestBody$inboundSchema: z.ZodType< + AddProjectMemberRequestBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => AddProjectMemberRequestBody1$inboundSchema), + z.lazy(() => AddProjectMemberRequestBody2$inboundSchema), + z.lazy(() => AddProjectMemberRequestBody3$inboundSchema), +]); + +/** @internal */ +export type AddProjectMemberRequestBody$Outbound = + | AddProjectMemberRequestBody1$Outbound + | AddProjectMemberRequestBody2$Outbound + | AddProjectMemberRequestBody3$Outbound; + +/** @internal */ +export const AddProjectMemberRequestBody$outboundSchema: z.ZodType< + AddProjectMemberRequestBody$Outbound, + z.ZodTypeDef, + AddProjectMemberRequestBody +> = z.union([ + z.lazy(() => AddProjectMemberRequestBody1$outboundSchema), + z.lazy(() => AddProjectMemberRequestBody2$outboundSchema), + z.lazy(() => AddProjectMemberRequestBody3$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AddProjectMemberRequestBody$ { + /** @deprecated use `AddProjectMemberRequestBody$inboundSchema` instead. */ + export const inboundSchema = AddProjectMemberRequestBody$inboundSchema; + /** @deprecated use `AddProjectMemberRequestBody$outboundSchema` instead. */ + export const outboundSchema = AddProjectMemberRequestBody$outboundSchema; + /** @deprecated use `AddProjectMemberRequestBody$Outbound` instead. */ + export type Outbound = AddProjectMemberRequestBody$Outbound; +} + +export function addProjectMemberRequestBodyToJSON( + addProjectMemberRequestBody: AddProjectMemberRequestBody, +): string { + return JSON.stringify( + AddProjectMemberRequestBody$outboundSchema.parse( + addProjectMemberRequestBody, + ), + ); +} + +export function addProjectMemberRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AddProjectMemberRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AddProjectMemberRequestBody' from JSON`, + ); +} + +/** @internal */ +export const AddProjectMemberRequest$inboundSchema: z.ZodType< + AddProjectMemberRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.union([ + z.lazy(() => AddProjectMemberRequestBody1$inboundSchema), + z.lazy(() => AddProjectMemberRequestBody2$inboundSchema), + z.lazy(() => AddProjectMemberRequestBody3$inboundSchema), + ]), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type AddProjectMemberRequest$Outbound = { + idOrName: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: + | AddProjectMemberRequestBody1$Outbound + | AddProjectMemberRequestBody2$Outbound + | AddProjectMemberRequestBody3$Outbound; +}; + +/** @internal */ +export const AddProjectMemberRequest$outboundSchema: z.ZodType< + AddProjectMemberRequest$Outbound, + z.ZodTypeDef, + AddProjectMemberRequest +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.union([ + z.lazy(() => AddProjectMemberRequestBody1$outboundSchema), + z.lazy(() => AddProjectMemberRequestBody2$outboundSchema), + z.lazy(() => AddProjectMemberRequestBody3$outboundSchema), + ]), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AddProjectMemberRequest$ { + /** @deprecated use `AddProjectMemberRequest$inboundSchema` instead. */ + export const inboundSchema = AddProjectMemberRequest$inboundSchema; + /** @deprecated use `AddProjectMemberRequest$outboundSchema` instead. */ + export const outboundSchema = AddProjectMemberRequest$outboundSchema; + /** @deprecated use `AddProjectMemberRequest$Outbound` instead. */ + export type Outbound = AddProjectMemberRequest$Outbound; +} + +export function addProjectMemberRequestToJSON( + addProjectMemberRequest: AddProjectMemberRequest, +): string { + return JSON.stringify( + AddProjectMemberRequest$outboundSchema.parse(addProjectMemberRequest), + ); +} + +export function addProjectMemberRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AddProjectMemberRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AddProjectMemberRequest' from JSON`, + ); +} + +/** @internal */ +export const AddProjectMemberResponseBody$inboundSchema: z.ZodType< + AddProjectMemberResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +/** @internal */ +export type AddProjectMemberResponseBody$Outbound = { + id: string; +}; + +/** @internal */ +export const AddProjectMemberResponseBody$outboundSchema: z.ZodType< + AddProjectMemberResponseBody$Outbound, + z.ZodTypeDef, + AddProjectMemberResponseBody +> = z.object({ + id: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AddProjectMemberResponseBody$ { + /** @deprecated use `AddProjectMemberResponseBody$inboundSchema` instead. */ + export const inboundSchema = AddProjectMemberResponseBody$inboundSchema; + /** @deprecated use `AddProjectMemberResponseBody$outboundSchema` instead. */ + export const outboundSchema = AddProjectMemberResponseBody$outboundSchema; + /** @deprecated use `AddProjectMemberResponseBody$Outbound` instead. */ + export type Outbound = AddProjectMemberResponseBody$Outbound; +} + +export function addProjectMemberResponseBodyToJSON( + addProjectMemberResponseBody: AddProjectMemberResponseBody, +): string { + return JSON.stringify( + AddProjectMemberResponseBody$outboundSchema.parse( + addProjectMemberResponseBody, + ), + ); +} + +export function addProjectMemberResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AddProjectMemberResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AddProjectMemberResponseBody' from JSON`, + ); +} diff --git a/src/models/artifactexistsop.ts b/src/models/artifactexistsop.ts new file mode 100644 index 00000000..ae567aa1 --- /dev/null +++ b/src/models/artifactexistsop.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type ArtifactExistsRequest = { + /** + * The artifact hash + */ + hash: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const ArtifactExistsRequest$inboundSchema: z.ZodType< + ArtifactExistsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + hash: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type ArtifactExistsRequest$Outbound = { + hash: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const ArtifactExistsRequest$outboundSchema: z.ZodType< + ArtifactExistsRequest$Outbound, + z.ZodTypeDef, + ArtifactExistsRequest +> = z.object({ + hash: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ArtifactExistsRequest$ { + /** @deprecated use `ArtifactExistsRequest$inboundSchema` instead. */ + export const inboundSchema = ArtifactExistsRequest$inboundSchema; + /** @deprecated use `ArtifactExistsRequest$outboundSchema` instead. */ + export const outboundSchema = ArtifactExistsRequest$outboundSchema; + /** @deprecated use `ArtifactExistsRequest$Outbound` instead. */ + export type Outbound = ArtifactExistsRequest$Outbound; +} + +export function artifactExistsRequestToJSON( + artifactExistsRequest: ArtifactExistsRequest, +): string { + return JSON.stringify( + ArtifactExistsRequest$outboundSchema.parse(artifactExistsRequest), + ); +} + +export function artifactExistsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ArtifactExistsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ArtifactExistsRequest' from JSON`, + ); +} diff --git a/src/models/artifactqueryop.ts b/src/models/artifactqueryop.ts new file mode 100644 index 00000000..c5790340 --- /dev/null +++ b/src/models/artifactqueryop.ts @@ -0,0 +1,378 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type ArtifactQueryRequestBody = { + /** + * artifact hashes + */ + hashes: Array; +}; + +export type ArtifactQueryRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: ArtifactQueryRequestBody; +}; + +export type ResponseBodyError = { + message: string; +}; + +export type ResponseBody2 = { + error: ResponseBodyError; +}; + +export type ResponseBody1 = { + size: number; + taskDurationMs: number; + tag?: string | undefined; +}; + +export type ResponseBody = ResponseBody2 | ResponseBody1; + +/** @internal */ +export const ArtifactQueryRequestBody$inboundSchema: z.ZodType< + ArtifactQueryRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + hashes: z.array(z.string()), +}); + +/** @internal */ +export type ArtifactQueryRequestBody$Outbound = { + hashes: Array; +}; + +/** @internal */ +export const ArtifactQueryRequestBody$outboundSchema: z.ZodType< + ArtifactQueryRequestBody$Outbound, + z.ZodTypeDef, + ArtifactQueryRequestBody +> = z.object({ + hashes: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ArtifactQueryRequestBody$ { + /** @deprecated use `ArtifactQueryRequestBody$inboundSchema` instead. */ + export const inboundSchema = ArtifactQueryRequestBody$inboundSchema; + /** @deprecated use `ArtifactQueryRequestBody$outboundSchema` instead. */ + export const outboundSchema = ArtifactQueryRequestBody$outboundSchema; + /** @deprecated use `ArtifactQueryRequestBody$Outbound` instead. */ + export type Outbound = ArtifactQueryRequestBody$Outbound; +} + +export function artifactQueryRequestBodyToJSON( + artifactQueryRequestBody: ArtifactQueryRequestBody, +): string { + return JSON.stringify( + ArtifactQueryRequestBody$outboundSchema.parse(artifactQueryRequestBody), + ); +} + +export function artifactQueryRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ArtifactQueryRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ArtifactQueryRequestBody' from JSON`, + ); +} + +/** @internal */ +export const ArtifactQueryRequest$inboundSchema: z.ZodType< + ArtifactQueryRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => ArtifactQueryRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type ArtifactQueryRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: ArtifactQueryRequestBody$Outbound; +}; + +/** @internal */ +export const ArtifactQueryRequest$outboundSchema: z.ZodType< + ArtifactQueryRequest$Outbound, + z.ZodTypeDef, + ArtifactQueryRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => ArtifactQueryRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ArtifactQueryRequest$ { + /** @deprecated use `ArtifactQueryRequest$inboundSchema` instead. */ + export const inboundSchema = ArtifactQueryRequest$inboundSchema; + /** @deprecated use `ArtifactQueryRequest$outboundSchema` instead. */ + export const outboundSchema = ArtifactQueryRequest$outboundSchema; + /** @deprecated use `ArtifactQueryRequest$Outbound` instead. */ + export type Outbound = ArtifactQueryRequest$Outbound; +} + +export function artifactQueryRequestToJSON( + artifactQueryRequest: ArtifactQueryRequest, +): string { + return JSON.stringify( + ArtifactQueryRequest$outboundSchema.parse(artifactQueryRequest), + ); +} + +export function artifactQueryRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ArtifactQueryRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ArtifactQueryRequest' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyError$inboundSchema: z.ZodType< + ResponseBodyError, + z.ZodTypeDef, + unknown +> = z.object({ + message: z.string(), +}); + +/** @internal */ +export type ResponseBodyError$Outbound = { + message: string; +}; + +/** @internal */ +export const ResponseBodyError$outboundSchema: z.ZodType< + ResponseBodyError$Outbound, + z.ZodTypeDef, + ResponseBodyError +> = z.object({ + message: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyError$ { + /** @deprecated use `ResponseBodyError$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyError$inboundSchema; + /** @deprecated use `ResponseBodyError$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyError$outboundSchema; + /** @deprecated use `ResponseBodyError$Outbound` instead. */ + export type Outbound = ResponseBodyError$Outbound; +} + +export function responseBodyErrorToJSON( + responseBodyError: ResponseBodyError, +): string { + return JSON.stringify( + ResponseBodyError$outboundSchema.parse(responseBodyError), + ); +} + +export function responseBodyErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyError' from JSON`, + ); +} + +/** @internal */ +export const ResponseBody2$inboundSchema: z.ZodType< + ResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + error: z.lazy(() => ResponseBodyError$inboundSchema), +}); + +/** @internal */ +export type ResponseBody2$Outbound = { + error: ResponseBodyError$Outbound; +}; + +/** @internal */ +export const ResponseBody2$outboundSchema: z.ZodType< + ResponseBody2$Outbound, + z.ZodTypeDef, + ResponseBody2 +> = z.object({ + error: z.lazy(() => ResponseBodyError$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBody2$ { + /** @deprecated use `ResponseBody2$inboundSchema` instead. */ + export const inboundSchema = ResponseBody2$inboundSchema; + /** @deprecated use `ResponseBody2$outboundSchema` instead. */ + export const outboundSchema = ResponseBody2$outboundSchema; + /** @deprecated use `ResponseBody2$Outbound` instead. */ + export type Outbound = ResponseBody2$Outbound; +} + +export function responseBody2ToJSON(responseBody2: ResponseBody2): string { + return JSON.stringify(ResponseBody2$outboundSchema.parse(responseBody2)); +} + +export function responseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const ResponseBody1$inboundSchema: z.ZodType< + ResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + size: z.number(), + taskDurationMs: z.number(), + tag: z.string().optional(), +}); + +/** @internal */ +export type ResponseBody1$Outbound = { + size: number; + taskDurationMs: number; + tag?: string | undefined; +}; + +/** @internal */ +export const ResponseBody1$outboundSchema: z.ZodType< + ResponseBody1$Outbound, + z.ZodTypeDef, + ResponseBody1 +> = z.object({ + size: z.number(), + taskDurationMs: z.number(), + tag: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBody1$ { + /** @deprecated use `ResponseBody1$inboundSchema` instead. */ + export const inboundSchema = ResponseBody1$inboundSchema; + /** @deprecated use `ResponseBody1$outboundSchema` instead. */ + export const outboundSchema = ResponseBody1$outboundSchema; + /** @deprecated use `ResponseBody1$Outbound` instead. */ + export type Outbound = ResponseBody1$Outbound; +} + +export function responseBody1ToJSON(responseBody1: ResponseBody1): string { + return JSON.stringify(ResponseBody1$outboundSchema.parse(responseBody1)); +} + +export function responseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const ResponseBody$inboundSchema: z.ZodType< + ResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => ResponseBody2$inboundSchema), + z.lazy(() => ResponseBody1$inboundSchema), +]); + +/** @internal */ +export type ResponseBody$Outbound = + | ResponseBody2$Outbound + | ResponseBody1$Outbound; + +/** @internal */ +export const ResponseBody$outboundSchema: z.ZodType< + ResponseBody$Outbound, + z.ZodTypeDef, + ResponseBody +> = z.union([ + z.lazy(() => ResponseBody2$outboundSchema), + z.lazy(() => ResponseBody1$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBody$ { + /** @deprecated use `ResponseBody$inboundSchema` instead. */ + export const inboundSchema = ResponseBody$inboundSchema; + /** @deprecated use `ResponseBody$outboundSchema` instead. */ + export const outboundSchema = ResponseBody$outboundSchema; + /** @deprecated use `ResponseBody$Outbound` instead. */ + export type Outbound = ResponseBody$Outbound; +} + +export function responseBodyToJSON(responseBody: ResponseBody): string { + return JSON.stringify(ResponseBody$outboundSchema.parse(responseBody)); +} + +export function responseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBody' from JSON`, + ); +} diff --git a/src/models/assignaliasop.ts b/src/models/assignaliasop.ts new file mode 100644 index 00000000..9d555965 --- /dev/null +++ b/src/models/assignaliasop.ts @@ -0,0 +1,249 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type AssignAliasRequestBody = { + /** + * The alias we want to assign to the deployment defined in the URL + */ + alias?: string | undefined; + /** + * The redirect property will take precedence over the deployment id from the URL and consists of a hostname (like test.com) to which the alias should redirect using status code 307 + */ + redirect?: string | null | undefined; +}; + +export type AssignAliasRequest = { + /** + * The ID of the deployment the aliases should be listed for + */ + id: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: AssignAliasRequestBody; +}; + +/** + * The alias was successfully assigned to the deployment + */ +export type AssignAliasResponseBody = { + /** + * The unique identifier of the alias + */ + uid: string; + /** + * The assigned alias name + */ + alias: string; + /** + * The date when the alias was created + */ + created: Date; + /** + * The unique identifier of the previously aliased deployment, only received when the alias was used before + */ + oldDeploymentId?: string | null | undefined; +}; + +/** @internal */ +export const AssignAliasRequestBody$inboundSchema: z.ZodType< + AssignAliasRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + alias: z.string().optional(), + redirect: z.nullable(z.string()).optional(), +}); + +/** @internal */ +export type AssignAliasRequestBody$Outbound = { + alias?: string | undefined; + redirect?: string | null | undefined; +}; + +/** @internal */ +export const AssignAliasRequestBody$outboundSchema: z.ZodType< + AssignAliasRequestBody$Outbound, + z.ZodTypeDef, + AssignAliasRequestBody +> = z.object({ + alias: z.string().optional(), + redirect: z.nullable(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AssignAliasRequestBody$ { + /** @deprecated use `AssignAliasRequestBody$inboundSchema` instead. */ + export const inboundSchema = AssignAliasRequestBody$inboundSchema; + /** @deprecated use `AssignAliasRequestBody$outboundSchema` instead. */ + export const outboundSchema = AssignAliasRequestBody$outboundSchema; + /** @deprecated use `AssignAliasRequestBody$Outbound` instead. */ + export type Outbound = AssignAliasRequestBody$Outbound; +} + +export function assignAliasRequestBodyToJSON( + assignAliasRequestBody: AssignAliasRequestBody, +): string { + return JSON.stringify( + AssignAliasRequestBody$outboundSchema.parse(assignAliasRequestBody), + ); +} + +export function assignAliasRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AssignAliasRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AssignAliasRequestBody' from JSON`, + ); +} + +/** @internal */ +export const AssignAliasRequest$inboundSchema: z.ZodType< + AssignAliasRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => AssignAliasRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type AssignAliasRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: AssignAliasRequestBody$Outbound; +}; + +/** @internal */ +export const AssignAliasRequest$outboundSchema: z.ZodType< + AssignAliasRequest$Outbound, + z.ZodTypeDef, + AssignAliasRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => AssignAliasRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AssignAliasRequest$ { + /** @deprecated use `AssignAliasRequest$inboundSchema` instead. */ + export const inboundSchema = AssignAliasRequest$inboundSchema; + /** @deprecated use `AssignAliasRequest$outboundSchema` instead. */ + export const outboundSchema = AssignAliasRequest$outboundSchema; + /** @deprecated use `AssignAliasRequest$Outbound` instead. */ + export type Outbound = AssignAliasRequest$Outbound; +} + +export function assignAliasRequestToJSON( + assignAliasRequest: AssignAliasRequest, +): string { + return JSON.stringify( + AssignAliasRequest$outboundSchema.parse(assignAliasRequest), + ); +} + +export function assignAliasRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AssignAliasRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AssignAliasRequest' from JSON`, + ); +} + +/** @internal */ +export const AssignAliasResponseBody$inboundSchema: z.ZodType< + AssignAliasResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + alias: z.string(), + created: z.string().datetime({ offset: true }).transform(v => new Date(v)), + oldDeploymentId: z.nullable(z.string()).optional(), +}); + +/** @internal */ +export type AssignAliasResponseBody$Outbound = { + uid: string; + alias: string; + created: string; + oldDeploymentId?: string | null | undefined; +}; + +/** @internal */ +export const AssignAliasResponseBody$outboundSchema: z.ZodType< + AssignAliasResponseBody$Outbound, + z.ZodTypeDef, + AssignAliasResponseBody +> = z.object({ + uid: z.string(), + alias: z.string(), + created: z.date().transform(v => v.toISOString()), + oldDeploymentId: z.nullable(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AssignAliasResponseBody$ { + /** @deprecated use `AssignAliasResponseBody$inboundSchema` instead. */ + export const inboundSchema = AssignAliasResponseBody$inboundSchema; + /** @deprecated use `AssignAliasResponseBody$outboundSchema` instead. */ + export const outboundSchema = AssignAliasResponseBody$outboundSchema; + /** @deprecated use `AssignAliasResponseBody$Outbound` instead. */ + export type Outbound = AssignAliasResponseBody$Outbound; +} + +export function assignAliasResponseBodyToJSON( + assignAliasResponseBody: AssignAliasResponseBody, +): string { + return JSON.stringify( + AssignAliasResponseBody$outboundSchema.parse(assignAliasResponseBody), + ); +} + +export function assignAliasResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AssignAliasResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AssignAliasResponseBody' from JSON`, + ); +} diff --git a/src/models/components/authtoken.ts b/src/models/authtoken.ts similarity index 98% rename from src/models/components/authtoken.ts rename to src/models/authtoken.ts index 8538168d..9522b0fd 100644 --- a/src/models/components/authtoken.ts +++ b/src/models/authtoken.ts @@ -3,10 +3,10 @@ */ import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; export const ScopesType = { Team: "team", diff --git a/src/models/components/authuser.ts b/src/models/authuser.ts similarity index 99% rename from src/models/components/authuser.ts rename to src/models/authuser.ts index 0f6abdb3..1d004e3f 100644 --- a/src/models/components/authuser.ts +++ b/src/models/authuser.ts @@ -3,10 +3,10 @@ */ import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; export const Reason = { SubscriptionCanceled: "SUBSCRIPTION_CANCELED", diff --git a/src/models/components/authuserlimited.ts b/src/models/authuserlimited.ts similarity index 95% rename from src/models/components/authuserlimited.ts rename to src/models/authuserlimited.ts index abfdd138..70d38b5d 100644 --- a/src/models/components/authuserlimited.ts +++ b/src/models/authuserlimited.ts @@ -3,10 +3,10 @@ */ import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; /** * The user's version. Will either be unset or `northstar`. diff --git a/src/models/buydomainop.ts b/src/models/buydomainop.ts new file mode 100644 index 00000000..3b0e18b6 --- /dev/null +++ b/src/models/buydomainop.ts @@ -0,0 +1,558 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type BuyDomainRequestBody = { + /** + * The domain name to purchase. + */ + name: string; + /** + * The price you expect to be charged for the purchase. + */ + expectedPrice?: number | undefined; + /** + * Indicates whether the domain should be automatically renewed. + */ + renew?: boolean | undefined; + /** + * The country of the domain registrant + */ + country: string; + /** + * The company name of the domain registrant + */ + orgName?: string | undefined; + /** + * The first name of the domain registrant + */ + firstName: string; + /** + * The last name of the domain registrant + */ + lastName: string; + /** + * The street address of the domain registrant + */ + address1: string; + /** + * The city of the domain registrant + */ + city: string; + /** + * The state of the domain registrant + */ + state: string; + /** + * The postal code of the domain registrant + */ + postalCode: string; + /** + * The phone number of the domain registrant + */ + phone: string; + /** + * The email of the domain registrant + */ + email: string; +}; + +export type BuyDomainRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: BuyDomainRequestBody; +}; + +export type BuyDomainDomain = { + uid: string; + ns: Array; + verified: boolean; + created: number; + pending: boolean; +}; + +export type BuyDomainDomainsResponseBody = { + domain: BuyDomainDomain; +}; + +export type BuyDomainDomainsDomain = { + uid: string; + ns: Array; + verified: boolean; + created: number; + pending: boolean; +}; + +export type BuyDomainResponseBody = { + domain: BuyDomainDomainsDomain; +}; + +export type BuyDomainResponse = + | BuyDomainResponseBody + | BuyDomainDomainsResponseBody; + +/** @internal */ +export const BuyDomainRequestBody$inboundSchema: z.ZodType< + BuyDomainRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + expectedPrice: z.number().optional(), + renew: z.boolean().optional(), + country: z.string(), + orgName: z.string().optional(), + firstName: z.string(), + lastName: z.string(), + address1: z.string(), + city: z.string(), + state: z.string(), + postalCode: z.string(), + phone: z.string(), + email: z.string(), +}); + +/** @internal */ +export type BuyDomainRequestBody$Outbound = { + name: string; + expectedPrice?: number | undefined; + renew?: boolean | undefined; + country: string; + orgName?: string | undefined; + firstName: string; + lastName: string; + address1: string; + city: string; + state: string; + postalCode: string; + phone: string; + email: string; +}; + +/** @internal */ +export const BuyDomainRequestBody$outboundSchema: z.ZodType< + BuyDomainRequestBody$Outbound, + z.ZodTypeDef, + BuyDomainRequestBody +> = z.object({ + name: z.string(), + expectedPrice: z.number().optional(), + renew: z.boolean().optional(), + country: z.string(), + orgName: z.string().optional(), + firstName: z.string(), + lastName: z.string(), + address1: z.string(), + city: z.string(), + state: z.string(), + postalCode: z.string(), + phone: z.string(), + email: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace BuyDomainRequestBody$ { + /** @deprecated use `BuyDomainRequestBody$inboundSchema` instead. */ + export const inboundSchema = BuyDomainRequestBody$inboundSchema; + /** @deprecated use `BuyDomainRequestBody$outboundSchema` instead. */ + export const outboundSchema = BuyDomainRequestBody$outboundSchema; + /** @deprecated use `BuyDomainRequestBody$Outbound` instead. */ + export type Outbound = BuyDomainRequestBody$Outbound; +} + +export function buyDomainRequestBodyToJSON( + buyDomainRequestBody: BuyDomainRequestBody, +): string { + return JSON.stringify( + BuyDomainRequestBody$outboundSchema.parse(buyDomainRequestBody), + ); +} + +export function buyDomainRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuyDomainRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuyDomainRequestBody' from JSON`, + ); +} + +/** @internal */ +export const BuyDomainRequest$inboundSchema: z.ZodType< + BuyDomainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => BuyDomainRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type BuyDomainRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: BuyDomainRequestBody$Outbound; +}; + +/** @internal */ +export const BuyDomainRequest$outboundSchema: z.ZodType< + BuyDomainRequest$Outbound, + z.ZodTypeDef, + BuyDomainRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => BuyDomainRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace BuyDomainRequest$ { + /** @deprecated use `BuyDomainRequest$inboundSchema` instead. */ + export const inboundSchema = BuyDomainRequest$inboundSchema; + /** @deprecated use `BuyDomainRequest$outboundSchema` instead. */ + export const outboundSchema = BuyDomainRequest$outboundSchema; + /** @deprecated use `BuyDomainRequest$Outbound` instead. */ + export type Outbound = BuyDomainRequest$Outbound; +} + +export function buyDomainRequestToJSON( + buyDomainRequest: BuyDomainRequest, +): string { + return JSON.stringify( + BuyDomainRequest$outboundSchema.parse(buyDomainRequest), + ); +} + +export function buyDomainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuyDomainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuyDomainRequest' from JSON`, + ); +} + +/** @internal */ +export const BuyDomainDomain$inboundSchema: z.ZodType< + BuyDomainDomain, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + ns: z.array(z.string()), + verified: z.boolean(), + created: z.number(), + pending: z.boolean(), +}); + +/** @internal */ +export type BuyDomainDomain$Outbound = { + uid: string; + ns: Array; + verified: boolean; + created: number; + pending: boolean; +}; + +/** @internal */ +export const BuyDomainDomain$outboundSchema: z.ZodType< + BuyDomainDomain$Outbound, + z.ZodTypeDef, + BuyDomainDomain +> = z.object({ + uid: z.string(), + ns: z.array(z.string()), + verified: z.boolean(), + created: z.number(), + pending: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace BuyDomainDomain$ { + /** @deprecated use `BuyDomainDomain$inboundSchema` instead. */ + export const inboundSchema = BuyDomainDomain$inboundSchema; + /** @deprecated use `BuyDomainDomain$outboundSchema` instead. */ + export const outboundSchema = BuyDomainDomain$outboundSchema; + /** @deprecated use `BuyDomainDomain$Outbound` instead. */ + export type Outbound = BuyDomainDomain$Outbound; +} + +export function buyDomainDomainToJSON( + buyDomainDomain: BuyDomainDomain, +): string { + return JSON.stringify(BuyDomainDomain$outboundSchema.parse(buyDomainDomain)); +} + +export function buyDomainDomainFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuyDomainDomain$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuyDomainDomain' from JSON`, + ); +} + +/** @internal */ +export const BuyDomainDomainsResponseBody$inboundSchema: z.ZodType< + BuyDomainDomainsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.lazy(() => BuyDomainDomain$inboundSchema), +}); + +/** @internal */ +export type BuyDomainDomainsResponseBody$Outbound = { + domain: BuyDomainDomain$Outbound; +}; + +/** @internal */ +export const BuyDomainDomainsResponseBody$outboundSchema: z.ZodType< + BuyDomainDomainsResponseBody$Outbound, + z.ZodTypeDef, + BuyDomainDomainsResponseBody +> = z.object({ + domain: z.lazy(() => BuyDomainDomain$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace BuyDomainDomainsResponseBody$ { + /** @deprecated use `BuyDomainDomainsResponseBody$inboundSchema` instead. */ + export const inboundSchema = BuyDomainDomainsResponseBody$inboundSchema; + /** @deprecated use `BuyDomainDomainsResponseBody$outboundSchema` instead. */ + export const outboundSchema = BuyDomainDomainsResponseBody$outboundSchema; + /** @deprecated use `BuyDomainDomainsResponseBody$Outbound` instead. */ + export type Outbound = BuyDomainDomainsResponseBody$Outbound; +} + +export function buyDomainDomainsResponseBodyToJSON( + buyDomainDomainsResponseBody: BuyDomainDomainsResponseBody, +): string { + return JSON.stringify( + BuyDomainDomainsResponseBody$outboundSchema.parse( + buyDomainDomainsResponseBody, + ), + ); +} + +export function buyDomainDomainsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuyDomainDomainsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuyDomainDomainsResponseBody' from JSON`, + ); +} + +/** @internal */ +export const BuyDomainDomainsDomain$inboundSchema: z.ZodType< + BuyDomainDomainsDomain, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + ns: z.array(z.string()), + verified: z.boolean(), + created: z.number(), + pending: z.boolean(), +}); + +/** @internal */ +export type BuyDomainDomainsDomain$Outbound = { + uid: string; + ns: Array; + verified: boolean; + created: number; + pending: boolean; +}; + +/** @internal */ +export const BuyDomainDomainsDomain$outboundSchema: z.ZodType< + BuyDomainDomainsDomain$Outbound, + z.ZodTypeDef, + BuyDomainDomainsDomain +> = z.object({ + uid: z.string(), + ns: z.array(z.string()), + verified: z.boolean(), + created: z.number(), + pending: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace BuyDomainDomainsDomain$ { + /** @deprecated use `BuyDomainDomainsDomain$inboundSchema` instead. */ + export const inboundSchema = BuyDomainDomainsDomain$inboundSchema; + /** @deprecated use `BuyDomainDomainsDomain$outboundSchema` instead. */ + export const outboundSchema = BuyDomainDomainsDomain$outboundSchema; + /** @deprecated use `BuyDomainDomainsDomain$Outbound` instead. */ + export type Outbound = BuyDomainDomainsDomain$Outbound; +} + +export function buyDomainDomainsDomainToJSON( + buyDomainDomainsDomain: BuyDomainDomainsDomain, +): string { + return JSON.stringify( + BuyDomainDomainsDomain$outboundSchema.parse(buyDomainDomainsDomain), + ); +} + +export function buyDomainDomainsDomainFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuyDomainDomainsDomain$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuyDomainDomainsDomain' from JSON`, + ); +} + +/** @internal */ +export const BuyDomainResponseBody$inboundSchema: z.ZodType< + BuyDomainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.lazy(() => BuyDomainDomainsDomain$inboundSchema), +}); + +/** @internal */ +export type BuyDomainResponseBody$Outbound = { + domain: BuyDomainDomainsDomain$Outbound; +}; + +/** @internal */ +export const BuyDomainResponseBody$outboundSchema: z.ZodType< + BuyDomainResponseBody$Outbound, + z.ZodTypeDef, + BuyDomainResponseBody +> = z.object({ + domain: z.lazy(() => BuyDomainDomainsDomain$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace BuyDomainResponseBody$ { + /** @deprecated use `BuyDomainResponseBody$inboundSchema` instead. */ + export const inboundSchema = BuyDomainResponseBody$inboundSchema; + /** @deprecated use `BuyDomainResponseBody$outboundSchema` instead. */ + export const outboundSchema = BuyDomainResponseBody$outboundSchema; + /** @deprecated use `BuyDomainResponseBody$Outbound` instead. */ + export type Outbound = BuyDomainResponseBody$Outbound; +} + +export function buyDomainResponseBodyToJSON( + buyDomainResponseBody: BuyDomainResponseBody, +): string { + return JSON.stringify( + BuyDomainResponseBody$outboundSchema.parse(buyDomainResponseBody), + ); +} + +export function buyDomainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuyDomainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuyDomainResponseBody' from JSON`, + ); +} + +/** @internal */ +export const BuyDomainResponse$inboundSchema: z.ZodType< + BuyDomainResponse, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => BuyDomainResponseBody$inboundSchema), + z.lazy(() => BuyDomainDomainsResponseBody$inboundSchema), +]); + +/** @internal */ +export type BuyDomainResponse$Outbound = + | BuyDomainResponseBody$Outbound + | BuyDomainDomainsResponseBody$Outbound; + +/** @internal */ +export const BuyDomainResponse$outboundSchema: z.ZodType< + BuyDomainResponse$Outbound, + z.ZodTypeDef, + BuyDomainResponse +> = z.union([ + z.lazy(() => BuyDomainResponseBody$outboundSchema), + z.lazy(() => BuyDomainDomainsResponseBody$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace BuyDomainResponse$ { + /** @deprecated use `BuyDomainResponse$inboundSchema` instead. */ + export const inboundSchema = BuyDomainResponse$inboundSchema; + /** @deprecated use `BuyDomainResponse$outboundSchema` instead. */ + export const outboundSchema = BuyDomainResponse$outboundSchema; + /** @deprecated use `BuyDomainResponse$Outbound` instead. */ + export type Outbound = BuyDomainResponse$Outbound; +} + +export function buyDomainResponseToJSON( + buyDomainResponse: BuyDomainResponse, +): string { + return JSON.stringify( + BuyDomainResponse$outboundSchema.parse(buyDomainResponse), + ); +} + +export function buyDomainResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuyDomainResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuyDomainResponse' from JSON`, + ); +} diff --git a/src/models/canceldeploymentop.ts b/src/models/canceldeploymentop.ts new file mode 100644 index 00000000..6b332710 --- /dev/null +++ b/src/models/canceldeploymentop.ts @@ -0,0 +1,5661 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + FlagJSONValue, + FlagJSONValue$inboundSchema, + FlagJSONValue$Outbound, + FlagJSONValue$outboundSchema, +} from "./flagjsonvalue.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type CancelDeploymentRequest = { + /** + * The unique identifier of the deployment. + */ + id: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export type CancelDeploymentAliasAssignedAt = number | boolean; + +export type CancelDeploymentBuild = { + env: Array; +}; + +export type CancelDeploymentBuilds = {}; + +export const CancelDeploymentFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + Astro: "astro", + Hexo: "hexo", + Eleventy: "eleventy", + Docusaurus2: "docusaurus-2", + Docusaurus: "docusaurus", + Preact: "preact", + Solidstart1: "solidstart-1", + Solidstart: "solidstart", + Dojo: "dojo", + Ember: "ember", + Vue: "vue", + Scully: "scully", + IonicAngular: "ionic-angular", + Angular: "angular", + Polymer: "polymer", + Svelte: "svelte", + Sveltekit: "sveltekit", + Sveltekit1: "sveltekit-1", + IonicReact: "ionic-react", + CreateReactApp: "create-react-app", + Gridsome: "gridsome", + Umijs: "umijs", + Sapper: "sapper", + Saber: "saber", + Stencil: "stencil", + Nuxtjs: "nuxtjs", + Redwoodjs: "redwoodjs", + Hugo: "hugo", + Jekyll: "jekyll", + Brunch: "brunch", + Middleman: "middleman", + Zola: "zola", + Hydrogen: "hydrogen", + Vite: "vite", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", +} as const; +export type CancelDeploymentFramework = ClosedEnum< + typeof CancelDeploymentFramework +>; + +export type CancelDeploymentSpeedInsights = { + id: string; + enabledAt?: number | undefined; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + hasData?: boolean | undefined; + paidAt?: number | undefined; +}; + +export type CancelDeploymentWebAnalytics = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; +}; + +export type CancelDeploymentProjectSettings = { + buildCommand?: string | null | undefined; + devCommand?: string | null | undefined; + framework?: CancelDeploymentFramework | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + installCommand?: string | null | undefined; + outputDirectory?: string | null | undefined; + speedInsights?: CancelDeploymentSpeedInsights | undefined; + webAnalytics?: CancelDeploymentWebAnalytics | undefined; +}; + +export const CancelDeploymentDeploymentsStatus = { + Pending: "pending", + Ready: "ready", + Error: "error", + Skipped: "skipped", + Timeout: "timeout", +} as const; +export type CancelDeploymentDeploymentsStatus = ClosedEnum< + typeof CancelDeploymentDeploymentsStatus +>; + +export type CancelDeploymentIntegrations = { + status: CancelDeploymentDeploymentsStatus; + startedAt: number; + completedAt?: number | undefined; + skippedAt?: number | undefined; + skippedBy?: string | undefined; +}; + +export type CancelDeploymentCreator = { + uid: string; + username?: string | undefined; + avatar?: string | undefined; +}; + +export const CancelDeploymentDeploymentsReadyState = { + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Ready: "READY", +} as const; +export type CancelDeploymentDeploymentsReadyState = ClosedEnum< + typeof CancelDeploymentDeploymentsReadyState +>; + +export type CancelDeploymentOutput = { + path: string; + functionName: string; +}; + +/** + * A partial representation of a Build used by the deployment endpoint. + */ +export type CancelDeploymentLambdas = { + id?: string | undefined; + createdAt?: number | undefined; + entrypoint?: string | null | undefined; + readyState?: CancelDeploymentDeploymentsReadyState | undefined; + readyStateAt?: number | undefined; + output: Array; +}; + +export const CancelDeploymentStatus = { + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Queued: "QUEUED", + Ready: "READY", + Canceled: "CANCELED", +} as const; +export type CancelDeploymentStatus = ClosedEnum; + +export type CancelDeploymentTeam = { + id: string; + name: string; + avatar?: string | undefined; + slug: string; +}; + +export type CancelDeploymentCustomEnvironment2 = { + id: string; +}; + +export type CancelDeploymentCustomEnvironment1 = {}; + +export type CancelDeploymentCustomEnvironment = + | CancelDeploymentCustomEnvironment1 + | CancelDeploymentCustomEnvironment2; + +export type CancelDeploymentAliasError = { + code: string; + message: string; +}; + +export type CancelDeploymentAliasWarning = { + code: string; + message: string; + link?: string | undefined; + action?: string | undefined; +}; + +export const CancelDeploymentChecksState = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +export type CancelDeploymentChecksState = ClosedEnum< + typeof CancelDeploymentChecksState +>; + +export const CancelDeploymentChecksConclusion = { + Skipped: "skipped", + Succeeded: "succeeded", + Failed: "failed", + Canceled: "canceled", +} as const; +export type CancelDeploymentChecksConclusion = ClosedEnum< + typeof CancelDeploymentChecksConclusion +>; + +export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type = + { + Bitbucket: "bitbucket", + } as const; +export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type = + ClosedEnum< + typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type + >; + +export type GitSource9 = { + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type; + ref: string; + sha: string; + owner?: string | undefined; + slug?: string | undefined; + workspaceUuid: string; + repoUuid: string; +}; + +export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type = + { + Gitlab: "gitlab", + } as const; +export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type = + ClosedEnum< + typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type + >; + +export type GitSource8 = { + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type; + ref: string; + sha: string; + projectId: number; +}; + +export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type = + { + Github: "github", + } as const; +export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type = + ClosedEnum< + typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type + >; + +export type GitSource7 = { + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type; + ref: string; + sha: string; + repoId: number; + org?: string | undefined; + repo?: string | undefined; +}; + +export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = + { + Custom: "custom", + } as const; +export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType + >; + +/** + * Allows custom git sources (local folder mounted to the container) in test mode + */ +export type GitSource6 = { + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType; + ref: string; + sha: string; + gitUrl: string; +}; + +export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = + { + Bitbucket: "bitbucket", + } as const; +export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = + ClosedEnum< + typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType + >; + +export type CancelDeploymentGitSource5 = { + type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType; + owner: string; + slug: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export const CancelDeploymentGitSourceDeploymentsResponse200Type = { + Bitbucket: "bitbucket", +} as const; +export type CancelDeploymentGitSourceDeploymentsResponse200Type = ClosedEnum< + typeof CancelDeploymentGitSourceDeploymentsResponse200Type +>; + +export type CancelDeploymentGitSource4 = { + type: CancelDeploymentGitSourceDeploymentsResponse200Type; + workspaceUuid?: string | undefined; + repoUuid: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export const CancelDeploymentGitSourceDeploymentsResponseType = { + Gitlab: "gitlab", +} as const; +export type CancelDeploymentGitSourceDeploymentsResponseType = ClosedEnum< + typeof CancelDeploymentGitSourceDeploymentsResponseType +>; + +export type CancelDeploymentGitSourceProjectId = string | number; + +export type CancelDeploymentGitSource3 = { + type: CancelDeploymentGitSourceDeploymentsResponseType; + projectId: string | number; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export const CancelDeploymentGitSourceDeploymentsType = { + Github: "github", +} as const; +export type CancelDeploymentGitSourceDeploymentsType = ClosedEnum< + typeof CancelDeploymentGitSourceDeploymentsType +>; + +export type CancelDeploymentGitSource2 = { + type: CancelDeploymentGitSourceDeploymentsType; + org: string; + repo: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export const CancelDeploymentGitSourceType = { + Github: "github", +} as const; +export type CancelDeploymentGitSourceType = ClosedEnum< + typeof CancelDeploymentGitSourceType +>; + +export type CancelDeploymentGitSourceRepoId = string | number; + +export type CancelDeploymentGitSource1 = { + type: CancelDeploymentGitSourceType; + repoId: string | number; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export type CancelDeploymentGitSource = + | GitSource6 + | GitSource8 + | CancelDeploymentGitSource1 + | CancelDeploymentGitSource3 + | CancelDeploymentGitSource2 + | CancelDeploymentGitSource4 + | CancelDeploymentGitSource5 + | GitSource7 + | GitSource9; + +export type CancelDeploymentProject = { + id: string; + name: string; + framework?: string | null | undefined; +}; + +export const CancelDeploymentReadyState = { + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Queued: "QUEUED", + Ready: "READY", + Canceled: "CANCELED", +} as const; +export type CancelDeploymentReadyState = ClosedEnum< + typeof CancelDeploymentReadyState +>; + +/** + * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic + */ +export const CancelDeploymentReadySubstate = { + Staged: "STAGED", + Promoted: "PROMOTED", +} as const; +/** + * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic + */ +export type CancelDeploymentReadySubstate = ClosedEnum< + typeof CancelDeploymentReadySubstate +>; + +export const CancelDeploymentSource = { + ApiTriggerGitDeploy: "api-trigger-git-deploy", + Cli: "cli", + CloneRepo: "clone/repo", + Git: "git", + Import: "import", + ImportRepo: "import/repo", + Redeploy: "redeploy", + V0Web: "v0-web", +} as const; +export type CancelDeploymentSource = ClosedEnum; + +export const CancelDeploymentTarget = { + Production: "production", + Staging: "staging", +} as const; +export type CancelDeploymentTarget = ClosedEnum; + +export const CancelDeploymentType = { + Lambdas: "LAMBDAS", +} as const; +export type CancelDeploymentType = ClosedEnum; + +export type CancelDeploymentOidcTokenClaims = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + ownerId: string; + project: string; + projectId: string; + environment: string; +}; + +export type CancelDeploymentCrons = { + schedule: string; + path: string; +}; + +export type CancelDeploymentFunctions = { + memory?: number | undefined; + maxDuration?: number | undefined; + runtime?: string | undefined; + includeFiles?: string | undefined; + excludeFiles?: string | undefined; +}; + +export const CancelDeploymentPlan = { + Pro: "pro", + Enterprise: "enterprise", + Hobby: "hobby", +} as const; +export type CancelDeploymentPlan = ClosedEnum; + +export type CancelDeploymentRoutes3 = { + src: string; + continue: boolean; + middleware: number; +}; + +export const CancelDeploymentRoutesHandle = { + Error: "error", + Filesystem: "filesystem", + Hit: "hit", + Miss: "miss", + Rewrite: "rewrite", + Resource: "resource", +} as const; +export type CancelDeploymentRoutesHandle = ClosedEnum< + typeof CancelDeploymentRoutesHandle +>; + +export type CancelDeploymentRoutes2 = { + handle: CancelDeploymentRoutesHandle; + src?: string | undefined; + dest?: string | undefined; + status?: number | undefined; +}; + +export const CancelDeploymentHasDeploymentsType = { + Header: "header", + Cookie: "cookie", + Query: "query", +} as const; +export type CancelDeploymentHasDeploymentsType = ClosedEnum< + typeof CancelDeploymentHasDeploymentsType +>; + +export type CancelDeploymentHas2 = { + type: CancelDeploymentHasDeploymentsType; + key: string; + value?: string | undefined; +}; + +export const CancelDeploymentHasType = { + Host: "host", +} as const; +export type CancelDeploymentHasType = ClosedEnum< + typeof CancelDeploymentHasType +>; + +export type CancelDeploymentHas1 = { + type: CancelDeploymentHasType; + value: string; +}; + +export type CancelDeploymentRoutesHas = + | CancelDeploymentHas1 + | CancelDeploymentHas2; + +export const CancelDeploymentMissingDeploymentsType = { + Header: "header", + Cookie: "cookie", + Query: "query", +} as const; +export type CancelDeploymentMissingDeploymentsType = ClosedEnum< + typeof CancelDeploymentMissingDeploymentsType +>; + +export type CancelDeploymentMissing2 = { + type: CancelDeploymentMissingDeploymentsType; + key: string; + value?: string | undefined; +}; + +export const CancelDeploymentMissingType = { + Host: "host", +} as const; +export type CancelDeploymentMissingType = ClosedEnum< + typeof CancelDeploymentMissingType +>; + +export type CancelDeploymentMissing1 = { + type: CancelDeploymentMissingType; + value: string; +}; + +export type CancelDeploymentRoutesMissing = + | CancelDeploymentMissing1 + | CancelDeploymentMissing2; + +export type RoutesLocale = { + redirect?: { [k: string]: string } | undefined; + cookie?: string | undefined; +}; + +export type CancelDeploymentRoutes1 = { + src: string; + dest?: string | undefined; + headers?: { [k: string]: string } | undefined; + methods?: Array | undefined; + continue?: boolean | undefined; + override?: boolean | undefined; + caseSensitive?: boolean | undefined; + check?: boolean | undefined; + important?: boolean | undefined; + status?: number | undefined; + has?: Array | undefined; + missing?: + | Array + | undefined; + locale?: RoutesLocale | undefined; + /** + * A middleware key within the `output` key under the build result. Overrides a `middleware` definition. + */ + middlewarePath?: string | undefined; + /** + * The original middleware matchers. + */ + middlewareRawSrc?: Array | undefined; + /** + * A middleware index in the `middleware` key under the build result + */ + middleware?: number | undefined; +}; + +export type CancelDeploymentRoutes = + | CancelDeploymentRoutes3 + | CancelDeploymentRoutes2 + | CancelDeploymentRoutes1; + +export const CancelDeploymentGitRepoDeploymentsResponseType = { + Bitbucket: "bitbucket", +} as const; +export type CancelDeploymentGitRepoDeploymentsResponseType = ClosedEnum< + typeof CancelDeploymentGitRepoDeploymentsResponseType +>; + +export const CancelDeploymentGitRepoDeploymentsResponseOwnerType = { + Team: "team", + User: "user", +} as const; +export type CancelDeploymentGitRepoDeploymentsResponseOwnerType = ClosedEnum< + typeof CancelDeploymentGitRepoDeploymentsResponseOwnerType +>; + +export type CancelDeploymentGitRepo3 = { + owner: string; + repoUuid: string; + slug: string; + type: CancelDeploymentGitRepoDeploymentsResponseType; + workspaceUuid: string; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: CancelDeploymentGitRepoDeploymentsResponseOwnerType; +}; + +export const CancelDeploymentGitRepoDeploymentsType = { + Github: "github", +} as const; +export type CancelDeploymentGitRepoDeploymentsType = ClosedEnum< + typeof CancelDeploymentGitRepoDeploymentsType +>; + +export const CancelDeploymentGitRepoDeploymentsOwnerType = { + Team: "team", + User: "user", +} as const; +export type CancelDeploymentGitRepoDeploymentsOwnerType = ClosedEnum< + typeof CancelDeploymentGitRepoDeploymentsOwnerType +>; + +export type CancelDeploymentGitRepo2 = { + org: string; + repo: string; + repoId: number; + type: CancelDeploymentGitRepoDeploymentsType; + repoOwnerId: number; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: CancelDeploymentGitRepoDeploymentsOwnerType; +}; + +export const CancelDeploymentGitRepoType = { + Gitlab: "gitlab", +} as const; +export type CancelDeploymentGitRepoType = ClosedEnum< + typeof CancelDeploymentGitRepoType +>; + +export const CancelDeploymentGitRepoOwnerType = { + Team: "team", + User: "user", +} as const; +export type CancelDeploymentGitRepoOwnerType = ClosedEnum< + typeof CancelDeploymentGitRepoOwnerType +>; + +export type CancelDeploymentGitRepo1 = { + namespace: string; + projectId: number; + type: CancelDeploymentGitRepoType; + url: string; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: CancelDeploymentGitRepoOwnerType; +}; + +export type CancelDeploymentGitRepo = + | CancelDeploymentGitRepo1 + | CancelDeploymentGitRepo2 + | CancelDeploymentGitRepo3; + +/** + * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. + */ +export type CancelDeploymentFlags2 = {}; + +export type FlagsOptions = { + value: FlagJSONValue | null; + label?: string | undefined; +}; + +export type CancelDeploymentFlagsDefinitions = { + options?: Array | undefined; + url?: string | undefined; + description?: string | undefined; +}; + +/** + * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. + */ +export type CancelDeploymentFlags1 = { + definitions: { [k: string]: CancelDeploymentFlagsDefinitions }; +}; + +export type CancelDeploymentFlags = + | CancelDeploymentFlags1 + | Array; + +/** + * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. + */ +export type MicrofrontendsApplications = { + /** + * This is the production alias, it will always show the most up to date of each application. + */ + productionHost: string; + /** + * Use the fixed deploymentAlias and deploymentHost so that the microfrontend preview stays in sync with the deployment. These are only present for mono-repos when a single commit creates multiple deployments. If they are not present, productionHost will be used. + */ + deploymentAlias?: string | undefined; + deploymentHost?: string | undefined; +}; + +export type CancelDeploymentMicrofrontends2 = { + /** + * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. + */ + applications?: { [k: string]: MicrofrontendsApplications } | undefined; + isDefaultApp: boolean; + /** + * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. + */ + defaultRoute?: string | undefined; + /** + * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. + */ + groupIds: Array; +}; + +export type CancelDeploymentMicrofrontends1 = { + /** + * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. + */ + isDefaultApp?: boolean | undefined; + /** + * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. + */ + defaultRoute?: string | undefined; + /** + * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. + */ + groupIds: Array; +}; + +export type CancelDeploymentMicrofrontends = + | CancelDeploymentMicrofrontends1 + | CancelDeploymentMicrofrontends2; + +/** + * The private deployment representation of a Deployment. + */ +export type CancelDeploymentResponseBody = { + aliasAssignedAt?: number | boolean | null | undefined; + alwaysRefuseToBuild?: boolean | undefined; + build: CancelDeploymentBuild; + buildArtifactUrls?: Array | undefined; + builds?: Array | undefined; + env: Array; + inspectorUrl: string | null; + isInConcurrentBuildsQueue: boolean; + isInSystemBuildsQueue: boolean; + projectSettings: CancelDeploymentProjectSettings; + readyStateReason?: string | undefined; + integrations?: CancelDeploymentIntegrations | undefined; + alias?: Array | undefined; + aliasAssigned: boolean; + bootedAt: number; + buildingAt: number; + buildSkipped: boolean; + creator: CancelDeploymentCreator; + initReadyAt?: number | undefined; + isFirstBranchDeployment?: boolean | undefined; + lambdas?: Array | undefined; + public: boolean; + ready?: number | undefined; + status: CancelDeploymentStatus; + team?: CancelDeploymentTeam | undefined; + userAliases?: Array | undefined; + previewCommentsEnabled?: boolean | undefined; + ttyBuildLogs?: boolean | undefined; + customEnvironment?: + | CancelDeploymentCustomEnvironment1 + | CancelDeploymentCustomEnvironment2 + | undefined; + id: string; + aliasError?: CancelDeploymentAliasError | null | undefined; + aliasFinal?: string | null | undefined; + aliasWarning?: CancelDeploymentAliasWarning | null | undefined; + /** + * applies to custom domains only, defaults to `true` + */ + autoAssignCustomDomains?: boolean | undefined; + automaticAliases?: Array | undefined; + buildErrorAt?: number | undefined; + checksState?: CancelDeploymentChecksState | undefined; + checksConclusion?: CancelDeploymentChecksConclusion | undefined; + createdAt: number; + deletedAt?: number | null | undefined; + /** + * Computed field that is only available for deployments with a microfrontend configuration. + */ + defaultRoute?: string | undefined; + canceledAt?: number | undefined; + errorCode?: string | undefined; + errorLink?: string | undefined; + errorMessage?: string | null | undefined; + errorStep?: string | undefined; + /** + * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service + */ + passiveRegions?: Array | undefined; + gitSource?: + | GitSource6 + | GitSource8 + | CancelDeploymentGitSource1 + | CancelDeploymentGitSource3 + | CancelDeploymentGitSource2 + | CancelDeploymentGitSource4 + | CancelDeploymentGitSource5 + | GitSource7 + | GitSource9 + | undefined; + name: string; + meta: { [k: string]: string }; + originCacheRegion?: string | undefined; + project?: CancelDeploymentProject | undefined; + readyState: CancelDeploymentReadyState; + /** + * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic + */ + readySubstate?: CancelDeploymentReadySubstate | undefined; + regions: Array; + softDeletedByRetention?: boolean | undefined; + source?: CancelDeploymentSource | undefined; + target?: CancelDeploymentTarget | null | undefined; + type: CancelDeploymentType; + undeletedAt?: number | undefined; + url: string; + version: number; + oidcTokenClaims?: CancelDeploymentOidcTokenClaims | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdIn: string; + crons?: Array | undefined; + functions?: { [k: string]: CancelDeploymentFunctions } | null | undefined; + monorepoManager?: string | null | undefined; + ownerId: string; + /** + * Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions) + */ + passiveConnectConfigurationId?: string | undefined; + plan: CancelDeploymentPlan; + projectId: string; + routes: + | Array< + | CancelDeploymentRoutes3 + | CancelDeploymentRoutes2 + | CancelDeploymentRoutes1 + > + | null; + gitRepo?: + | CancelDeploymentGitRepo1 + | CancelDeploymentGitRepo2 + | CancelDeploymentGitRepo3 + | null + | undefined; + flags?: CancelDeploymentFlags1 | Array | undefined; + microfrontends?: + | CancelDeploymentMicrofrontends1 + | CancelDeploymentMicrofrontends2 + | undefined; +}; + +/** @internal */ +export const CancelDeploymentRequest$inboundSchema: z.ZodType< + CancelDeploymentRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type CancelDeploymentRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const CancelDeploymentRequest$outboundSchema: z.ZodType< + CancelDeploymentRequest$Outbound, + z.ZodTypeDef, + CancelDeploymentRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentRequest$ { + /** @deprecated use `CancelDeploymentRequest$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentRequest$inboundSchema; + /** @deprecated use `CancelDeploymentRequest$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentRequest$outboundSchema; + /** @deprecated use `CancelDeploymentRequest$Outbound` instead. */ + export type Outbound = CancelDeploymentRequest$Outbound; +} + +export function cancelDeploymentRequestToJSON( + cancelDeploymentRequest: CancelDeploymentRequest, +): string { + return JSON.stringify( + CancelDeploymentRequest$outboundSchema.parse(cancelDeploymentRequest), + ); +} + +export function cancelDeploymentRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentRequest' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentAliasAssignedAt$inboundSchema: z.ZodType< + CancelDeploymentAliasAssignedAt, + z.ZodTypeDef, + unknown +> = z.union([z.number(), z.boolean()]); + +/** @internal */ +export type CancelDeploymentAliasAssignedAt$Outbound = number | boolean; + +/** @internal */ +export const CancelDeploymentAliasAssignedAt$outboundSchema: z.ZodType< + CancelDeploymentAliasAssignedAt$Outbound, + z.ZodTypeDef, + CancelDeploymentAliasAssignedAt +> = z.union([z.number(), z.boolean()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentAliasAssignedAt$ { + /** @deprecated use `CancelDeploymentAliasAssignedAt$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentAliasAssignedAt$inboundSchema; + /** @deprecated use `CancelDeploymentAliasAssignedAt$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentAliasAssignedAt$outboundSchema; + /** @deprecated use `CancelDeploymentAliasAssignedAt$Outbound` instead. */ + export type Outbound = CancelDeploymentAliasAssignedAt$Outbound; +} + +export function cancelDeploymentAliasAssignedAtToJSON( + cancelDeploymentAliasAssignedAt: CancelDeploymentAliasAssignedAt, +): string { + return JSON.stringify( + CancelDeploymentAliasAssignedAt$outboundSchema.parse( + cancelDeploymentAliasAssignedAt, + ), + ); +} + +export function cancelDeploymentAliasAssignedAtFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentAliasAssignedAt$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentAliasAssignedAt' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentBuild$inboundSchema: z.ZodType< + CancelDeploymentBuild, + z.ZodTypeDef, + unknown +> = z.object({ + env: z.array(z.string()), +}); + +/** @internal */ +export type CancelDeploymentBuild$Outbound = { + env: Array; +}; + +/** @internal */ +export const CancelDeploymentBuild$outboundSchema: z.ZodType< + CancelDeploymentBuild$Outbound, + z.ZodTypeDef, + CancelDeploymentBuild +> = z.object({ + env: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentBuild$ { + /** @deprecated use `CancelDeploymentBuild$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentBuild$inboundSchema; + /** @deprecated use `CancelDeploymentBuild$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentBuild$outboundSchema; + /** @deprecated use `CancelDeploymentBuild$Outbound` instead. */ + export type Outbound = CancelDeploymentBuild$Outbound; +} + +export function cancelDeploymentBuildToJSON( + cancelDeploymentBuild: CancelDeploymentBuild, +): string { + return JSON.stringify( + CancelDeploymentBuild$outboundSchema.parse(cancelDeploymentBuild), + ); +} + +export function cancelDeploymentBuildFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentBuild$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentBuild' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentBuilds$inboundSchema: z.ZodType< + CancelDeploymentBuilds, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type CancelDeploymentBuilds$Outbound = {}; + +/** @internal */ +export const CancelDeploymentBuilds$outboundSchema: z.ZodType< + CancelDeploymentBuilds$Outbound, + z.ZodTypeDef, + CancelDeploymentBuilds +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentBuilds$ { + /** @deprecated use `CancelDeploymentBuilds$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentBuilds$inboundSchema; + /** @deprecated use `CancelDeploymentBuilds$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentBuilds$outboundSchema; + /** @deprecated use `CancelDeploymentBuilds$Outbound` instead. */ + export type Outbound = CancelDeploymentBuilds$Outbound; +} + +export function cancelDeploymentBuildsToJSON( + cancelDeploymentBuilds: CancelDeploymentBuilds, +): string { + return JSON.stringify( + CancelDeploymentBuilds$outboundSchema.parse(cancelDeploymentBuilds), + ); +} + +export function cancelDeploymentBuildsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentBuilds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentBuilds' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentFramework$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentFramework +> = z.nativeEnum(CancelDeploymentFramework); + +/** @internal */ +export const CancelDeploymentFramework$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentFramework +> = CancelDeploymentFramework$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentFramework$ { + /** @deprecated use `CancelDeploymentFramework$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentFramework$inboundSchema; + /** @deprecated use `CancelDeploymentFramework$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentFramework$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentSpeedInsights$inboundSchema: z.ZodType< + CancelDeploymentSpeedInsights, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + enabledAt: z.number().optional(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + hasData: z.boolean().optional(), + paidAt: z.number().optional(), +}); + +/** @internal */ +export type CancelDeploymentSpeedInsights$Outbound = { + id: string; + enabledAt?: number | undefined; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + hasData?: boolean | undefined; + paidAt?: number | undefined; +}; + +/** @internal */ +export const CancelDeploymentSpeedInsights$outboundSchema: z.ZodType< + CancelDeploymentSpeedInsights$Outbound, + z.ZodTypeDef, + CancelDeploymentSpeedInsights +> = z.object({ + id: z.string(), + enabledAt: z.number().optional(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + hasData: z.boolean().optional(), + paidAt: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentSpeedInsights$ { + /** @deprecated use `CancelDeploymentSpeedInsights$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentSpeedInsights$inboundSchema; + /** @deprecated use `CancelDeploymentSpeedInsights$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentSpeedInsights$outboundSchema; + /** @deprecated use `CancelDeploymentSpeedInsights$Outbound` instead. */ + export type Outbound = CancelDeploymentSpeedInsights$Outbound; +} + +export function cancelDeploymentSpeedInsightsToJSON( + cancelDeploymentSpeedInsights: CancelDeploymentSpeedInsights, +): string { + return JSON.stringify( + CancelDeploymentSpeedInsights$outboundSchema.parse( + cancelDeploymentSpeedInsights, + ), + ); +} + +export function cancelDeploymentSpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentSpeedInsights$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentSpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentWebAnalytics$inboundSchema: z.ZodType< + CancelDeploymentWebAnalytics, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), +}); + +/** @internal */ +export type CancelDeploymentWebAnalytics$Outbound = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; +}; + +/** @internal */ +export const CancelDeploymentWebAnalytics$outboundSchema: z.ZodType< + CancelDeploymentWebAnalytics$Outbound, + z.ZodTypeDef, + CancelDeploymentWebAnalytics +> = z.object({ + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentWebAnalytics$ { + /** @deprecated use `CancelDeploymentWebAnalytics$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentWebAnalytics$inboundSchema; + /** @deprecated use `CancelDeploymentWebAnalytics$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentWebAnalytics$outboundSchema; + /** @deprecated use `CancelDeploymentWebAnalytics$Outbound` instead. */ + export type Outbound = CancelDeploymentWebAnalytics$Outbound; +} + +export function cancelDeploymentWebAnalyticsToJSON( + cancelDeploymentWebAnalytics: CancelDeploymentWebAnalytics, +): string { + return JSON.stringify( + CancelDeploymentWebAnalytics$outboundSchema.parse( + cancelDeploymentWebAnalytics, + ), + ); +} + +export function cancelDeploymentWebAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentWebAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentWebAnalytics' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentProjectSettings$inboundSchema: z.ZodType< + CancelDeploymentProjectSettings, + z.ZodTypeDef, + unknown +> = z.object({ + buildCommand: z.nullable(z.string()).optional(), + devCommand: z.nullable(z.string()).optional(), + framework: z.nullable(CancelDeploymentFramework$inboundSchema).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + installCommand: z.nullable(z.string()).optional(), + outputDirectory: z.nullable(z.string()).optional(), + speedInsights: z.lazy(() => CancelDeploymentSpeedInsights$inboundSchema) + .optional(), + webAnalytics: z.lazy(() => CancelDeploymentWebAnalytics$inboundSchema) + .optional(), +}); + +/** @internal */ +export type CancelDeploymentProjectSettings$Outbound = { + buildCommand?: string | null | undefined; + devCommand?: string | null | undefined; + framework?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + installCommand?: string | null | undefined; + outputDirectory?: string | null | undefined; + speedInsights?: CancelDeploymentSpeedInsights$Outbound | undefined; + webAnalytics?: CancelDeploymentWebAnalytics$Outbound | undefined; +}; + +/** @internal */ +export const CancelDeploymentProjectSettings$outboundSchema: z.ZodType< + CancelDeploymentProjectSettings$Outbound, + z.ZodTypeDef, + CancelDeploymentProjectSettings +> = z.object({ + buildCommand: z.nullable(z.string()).optional(), + devCommand: z.nullable(z.string()).optional(), + framework: z.nullable(CancelDeploymentFramework$outboundSchema).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + installCommand: z.nullable(z.string()).optional(), + outputDirectory: z.nullable(z.string()).optional(), + speedInsights: z.lazy(() => CancelDeploymentSpeedInsights$outboundSchema) + .optional(), + webAnalytics: z.lazy(() => CancelDeploymentWebAnalytics$outboundSchema) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentProjectSettings$ { + /** @deprecated use `CancelDeploymentProjectSettings$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentProjectSettings$inboundSchema; + /** @deprecated use `CancelDeploymentProjectSettings$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentProjectSettings$outboundSchema; + /** @deprecated use `CancelDeploymentProjectSettings$Outbound` instead. */ + export type Outbound = CancelDeploymentProjectSettings$Outbound; +} + +export function cancelDeploymentProjectSettingsToJSON( + cancelDeploymentProjectSettings: CancelDeploymentProjectSettings, +): string { + return JSON.stringify( + CancelDeploymentProjectSettings$outboundSchema.parse( + cancelDeploymentProjectSettings, + ), + ); +} + +export function cancelDeploymentProjectSettingsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentProjectSettings$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentProjectSettings' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentDeploymentsStatus$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentDeploymentsStatus +> = z.nativeEnum(CancelDeploymentDeploymentsStatus); + +/** @internal */ +export const CancelDeploymentDeploymentsStatus$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentDeploymentsStatus +> = CancelDeploymentDeploymentsStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentDeploymentsStatus$ { + /** @deprecated use `CancelDeploymentDeploymentsStatus$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentDeploymentsStatus$inboundSchema; + /** @deprecated use `CancelDeploymentDeploymentsStatus$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentDeploymentsStatus$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentIntegrations$inboundSchema: z.ZodType< + CancelDeploymentIntegrations, + z.ZodTypeDef, + unknown +> = z.object({ + status: CancelDeploymentDeploymentsStatus$inboundSchema, + startedAt: z.number(), + completedAt: z.number().optional(), + skippedAt: z.number().optional(), + skippedBy: z.string().optional(), +}); + +/** @internal */ +export type CancelDeploymentIntegrations$Outbound = { + status: string; + startedAt: number; + completedAt?: number | undefined; + skippedAt?: number | undefined; + skippedBy?: string | undefined; +}; + +/** @internal */ +export const CancelDeploymentIntegrations$outboundSchema: z.ZodType< + CancelDeploymentIntegrations$Outbound, + z.ZodTypeDef, + CancelDeploymentIntegrations +> = z.object({ + status: CancelDeploymentDeploymentsStatus$outboundSchema, + startedAt: z.number(), + completedAt: z.number().optional(), + skippedAt: z.number().optional(), + skippedBy: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentIntegrations$ { + /** @deprecated use `CancelDeploymentIntegrations$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentIntegrations$inboundSchema; + /** @deprecated use `CancelDeploymentIntegrations$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentIntegrations$outboundSchema; + /** @deprecated use `CancelDeploymentIntegrations$Outbound` instead. */ + export type Outbound = CancelDeploymentIntegrations$Outbound; +} + +export function cancelDeploymentIntegrationsToJSON( + cancelDeploymentIntegrations: CancelDeploymentIntegrations, +): string { + return JSON.stringify( + CancelDeploymentIntegrations$outboundSchema.parse( + cancelDeploymentIntegrations, + ), + ); +} + +export function cancelDeploymentIntegrationsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentIntegrations$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentIntegrations' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentCreator$inboundSchema: z.ZodType< + CancelDeploymentCreator, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + username: z.string().optional(), + avatar: z.string().optional(), +}); + +/** @internal */ +export type CancelDeploymentCreator$Outbound = { + uid: string; + username?: string | undefined; + avatar?: string | undefined; +}; + +/** @internal */ +export const CancelDeploymentCreator$outboundSchema: z.ZodType< + CancelDeploymentCreator$Outbound, + z.ZodTypeDef, + CancelDeploymentCreator +> = z.object({ + uid: z.string(), + username: z.string().optional(), + avatar: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentCreator$ { + /** @deprecated use `CancelDeploymentCreator$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentCreator$inboundSchema; + /** @deprecated use `CancelDeploymentCreator$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentCreator$outboundSchema; + /** @deprecated use `CancelDeploymentCreator$Outbound` instead. */ + export type Outbound = CancelDeploymentCreator$Outbound; +} + +export function cancelDeploymentCreatorToJSON( + cancelDeploymentCreator: CancelDeploymentCreator, +): string { + return JSON.stringify( + CancelDeploymentCreator$outboundSchema.parse(cancelDeploymentCreator), + ); +} + +export function cancelDeploymentCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentCreator' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentDeploymentsReadyState$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CancelDeploymentDeploymentsReadyState, + ); + +/** @internal */ +export const CancelDeploymentDeploymentsReadyState$outboundSchema: + z.ZodNativeEnum = + CancelDeploymentDeploymentsReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentDeploymentsReadyState$ { + /** @deprecated use `CancelDeploymentDeploymentsReadyState$inboundSchema` instead. */ + export const inboundSchema = + CancelDeploymentDeploymentsReadyState$inboundSchema; + /** @deprecated use `CancelDeploymentDeploymentsReadyState$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentDeploymentsReadyState$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentOutput$inboundSchema: z.ZodType< + CancelDeploymentOutput, + z.ZodTypeDef, + unknown +> = z.object({ + path: z.string(), + functionName: z.string(), +}); + +/** @internal */ +export type CancelDeploymentOutput$Outbound = { + path: string; + functionName: string; +}; + +/** @internal */ +export const CancelDeploymentOutput$outboundSchema: z.ZodType< + CancelDeploymentOutput$Outbound, + z.ZodTypeDef, + CancelDeploymentOutput +> = z.object({ + path: z.string(), + functionName: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentOutput$ { + /** @deprecated use `CancelDeploymentOutput$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentOutput$inboundSchema; + /** @deprecated use `CancelDeploymentOutput$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentOutput$outboundSchema; + /** @deprecated use `CancelDeploymentOutput$Outbound` instead. */ + export type Outbound = CancelDeploymentOutput$Outbound; +} + +export function cancelDeploymentOutputToJSON( + cancelDeploymentOutput: CancelDeploymentOutput, +): string { + return JSON.stringify( + CancelDeploymentOutput$outboundSchema.parse(cancelDeploymentOutput), + ); +} + +export function cancelDeploymentOutputFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentOutput$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentOutput' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentLambdas$inboundSchema: z.ZodType< + CancelDeploymentLambdas, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + createdAt: z.number().optional(), + entrypoint: z.nullable(z.string()).optional(), + readyState: CancelDeploymentDeploymentsReadyState$inboundSchema.optional(), + readyStateAt: z.number().optional(), + output: z.array(z.lazy(() => CancelDeploymentOutput$inboundSchema)), +}); + +/** @internal */ +export type CancelDeploymentLambdas$Outbound = { + id?: string | undefined; + createdAt?: number | undefined; + entrypoint?: string | null | undefined; + readyState?: string | undefined; + readyStateAt?: number | undefined; + output: Array; +}; + +/** @internal */ +export const CancelDeploymentLambdas$outboundSchema: z.ZodType< + CancelDeploymentLambdas$Outbound, + z.ZodTypeDef, + CancelDeploymentLambdas +> = z.object({ + id: z.string().optional(), + createdAt: z.number().optional(), + entrypoint: z.nullable(z.string()).optional(), + readyState: CancelDeploymentDeploymentsReadyState$outboundSchema.optional(), + readyStateAt: z.number().optional(), + output: z.array(z.lazy(() => CancelDeploymentOutput$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentLambdas$ { + /** @deprecated use `CancelDeploymentLambdas$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentLambdas$inboundSchema; + /** @deprecated use `CancelDeploymentLambdas$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentLambdas$outboundSchema; + /** @deprecated use `CancelDeploymentLambdas$Outbound` instead. */ + export type Outbound = CancelDeploymentLambdas$Outbound; +} + +export function cancelDeploymentLambdasToJSON( + cancelDeploymentLambdas: CancelDeploymentLambdas, +): string { + return JSON.stringify( + CancelDeploymentLambdas$outboundSchema.parse(cancelDeploymentLambdas), + ); +} + +export function cancelDeploymentLambdasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentLambdas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentLambdas' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentStatus$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentStatus +> = z.nativeEnum(CancelDeploymentStatus); + +/** @internal */ +export const CancelDeploymentStatus$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentStatus +> = CancelDeploymentStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentStatus$ { + /** @deprecated use `CancelDeploymentStatus$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentStatus$inboundSchema; + /** @deprecated use `CancelDeploymentStatus$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentStatus$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentTeam$inboundSchema: z.ZodType< + CancelDeploymentTeam, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + avatar: z.string().optional(), + slug: z.string(), +}); + +/** @internal */ +export type CancelDeploymentTeam$Outbound = { + id: string; + name: string; + avatar?: string | undefined; + slug: string; +}; + +/** @internal */ +export const CancelDeploymentTeam$outboundSchema: z.ZodType< + CancelDeploymentTeam$Outbound, + z.ZodTypeDef, + CancelDeploymentTeam +> = z.object({ + id: z.string(), + name: z.string(), + avatar: z.string().optional(), + slug: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentTeam$ { + /** @deprecated use `CancelDeploymentTeam$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentTeam$inboundSchema; + /** @deprecated use `CancelDeploymentTeam$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentTeam$outboundSchema; + /** @deprecated use `CancelDeploymentTeam$Outbound` instead. */ + export type Outbound = CancelDeploymentTeam$Outbound; +} + +export function cancelDeploymentTeamToJSON( + cancelDeploymentTeam: CancelDeploymentTeam, +): string { + return JSON.stringify( + CancelDeploymentTeam$outboundSchema.parse(cancelDeploymentTeam), + ); +} + +export function cancelDeploymentTeamFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentTeam$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentTeam' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentCustomEnvironment2$inboundSchema: z.ZodType< + CancelDeploymentCustomEnvironment2, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +/** @internal */ +export type CancelDeploymentCustomEnvironment2$Outbound = { + id: string; +}; + +/** @internal */ +export const CancelDeploymentCustomEnvironment2$outboundSchema: z.ZodType< + CancelDeploymentCustomEnvironment2$Outbound, + z.ZodTypeDef, + CancelDeploymentCustomEnvironment2 +> = z.object({ + id: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentCustomEnvironment2$ { + /** @deprecated use `CancelDeploymentCustomEnvironment2$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentCustomEnvironment2$inboundSchema; + /** @deprecated use `CancelDeploymentCustomEnvironment2$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentCustomEnvironment2$outboundSchema; + /** @deprecated use `CancelDeploymentCustomEnvironment2$Outbound` instead. */ + export type Outbound = CancelDeploymentCustomEnvironment2$Outbound; +} + +export function cancelDeploymentCustomEnvironment2ToJSON( + cancelDeploymentCustomEnvironment2: CancelDeploymentCustomEnvironment2, +): string { + return JSON.stringify( + CancelDeploymentCustomEnvironment2$outboundSchema.parse( + cancelDeploymentCustomEnvironment2, + ), + ); +} + +export function cancelDeploymentCustomEnvironment2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CancelDeploymentCustomEnvironment2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentCustomEnvironment2' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentCustomEnvironment1$inboundSchema: z.ZodType< + CancelDeploymentCustomEnvironment1, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type CancelDeploymentCustomEnvironment1$Outbound = {}; + +/** @internal */ +export const CancelDeploymentCustomEnvironment1$outboundSchema: z.ZodType< + CancelDeploymentCustomEnvironment1$Outbound, + z.ZodTypeDef, + CancelDeploymentCustomEnvironment1 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentCustomEnvironment1$ { + /** @deprecated use `CancelDeploymentCustomEnvironment1$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentCustomEnvironment1$inboundSchema; + /** @deprecated use `CancelDeploymentCustomEnvironment1$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentCustomEnvironment1$outboundSchema; + /** @deprecated use `CancelDeploymentCustomEnvironment1$Outbound` instead. */ + export type Outbound = CancelDeploymentCustomEnvironment1$Outbound; +} + +export function cancelDeploymentCustomEnvironment1ToJSON( + cancelDeploymentCustomEnvironment1: CancelDeploymentCustomEnvironment1, +): string { + return JSON.stringify( + CancelDeploymentCustomEnvironment1$outboundSchema.parse( + cancelDeploymentCustomEnvironment1, + ), + ); +} + +export function cancelDeploymentCustomEnvironment1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CancelDeploymentCustomEnvironment1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentCustomEnvironment1' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentCustomEnvironment$inboundSchema: z.ZodType< + CancelDeploymentCustomEnvironment, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CancelDeploymentCustomEnvironment1$inboundSchema), + z.lazy(() => CancelDeploymentCustomEnvironment2$inboundSchema), +]); + +/** @internal */ +export type CancelDeploymentCustomEnvironment$Outbound = + | CancelDeploymentCustomEnvironment1$Outbound + | CancelDeploymentCustomEnvironment2$Outbound; + +/** @internal */ +export const CancelDeploymentCustomEnvironment$outboundSchema: z.ZodType< + CancelDeploymentCustomEnvironment$Outbound, + z.ZodTypeDef, + CancelDeploymentCustomEnvironment +> = z.union([ + z.lazy(() => CancelDeploymentCustomEnvironment1$outboundSchema), + z.lazy(() => CancelDeploymentCustomEnvironment2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentCustomEnvironment$ { + /** @deprecated use `CancelDeploymentCustomEnvironment$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentCustomEnvironment$inboundSchema; + /** @deprecated use `CancelDeploymentCustomEnvironment$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentCustomEnvironment$outboundSchema; + /** @deprecated use `CancelDeploymentCustomEnvironment$Outbound` instead. */ + export type Outbound = CancelDeploymentCustomEnvironment$Outbound; +} + +export function cancelDeploymentCustomEnvironmentToJSON( + cancelDeploymentCustomEnvironment: CancelDeploymentCustomEnvironment, +): string { + return JSON.stringify( + CancelDeploymentCustomEnvironment$outboundSchema.parse( + cancelDeploymentCustomEnvironment, + ), + ); +} + +export function cancelDeploymentCustomEnvironmentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentCustomEnvironment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentCustomEnvironment' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentAliasError$inboundSchema: z.ZodType< + CancelDeploymentAliasError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** @internal */ +export type CancelDeploymentAliasError$Outbound = { + code: string; + message: string; +}; + +/** @internal */ +export const CancelDeploymentAliasError$outboundSchema: z.ZodType< + CancelDeploymentAliasError$Outbound, + z.ZodTypeDef, + CancelDeploymentAliasError +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentAliasError$ { + /** @deprecated use `CancelDeploymentAliasError$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentAliasError$inboundSchema; + /** @deprecated use `CancelDeploymentAliasError$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentAliasError$outboundSchema; + /** @deprecated use `CancelDeploymentAliasError$Outbound` instead. */ + export type Outbound = CancelDeploymentAliasError$Outbound; +} + +export function cancelDeploymentAliasErrorToJSON( + cancelDeploymentAliasError: CancelDeploymentAliasError, +): string { + return JSON.stringify( + CancelDeploymentAliasError$outboundSchema.parse(cancelDeploymentAliasError), + ); +} + +export function cancelDeploymentAliasErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentAliasError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentAliasError' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentAliasWarning$inboundSchema: z.ZodType< + CancelDeploymentAliasWarning, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), + link: z.string().optional(), + action: z.string().optional(), +}); + +/** @internal */ +export type CancelDeploymentAliasWarning$Outbound = { + code: string; + message: string; + link?: string | undefined; + action?: string | undefined; +}; + +/** @internal */ +export const CancelDeploymentAliasWarning$outboundSchema: z.ZodType< + CancelDeploymentAliasWarning$Outbound, + z.ZodTypeDef, + CancelDeploymentAliasWarning +> = z.object({ + code: z.string(), + message: z.string(), + link: z.string().optional(), + action: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentAliasWarning$ { + /** @deprecated use `CancelDeploymentAliasWarning$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentAliasWarning$inboundSchema; + /** @deprecated use `CancelDeploymentAliasWarning$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentAliasWarning$outboundSchema; + /** @deprecated use `CancelDeploymentAliasWarning$Outbound` instead. */ + export type Outbound = CancelDeploymentAliasWarning$Outbound; +} + +export function cancelDeploymentAliasWarningToJSON( + cancelDeploymentAliasWarning: CancelDeploymentAliasWarning, +): string { + return JSON.stringify( + CancelDeploymentAliasWarning$outboundSchema.parse( + cancelDeploymentAliasWarning, + ), + ); +} + +export function cancelDeploymentAliasWarningFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentAliasWarning$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentAliasWarning' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentChecksState$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentChecksState +> = z.nativeEnum(CancelDeploymentChecksState); + +/** @internal */ +export const CancelDeploymentChecksState$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentChecksState +> = CancelDeploymentChecksState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentChecksState$ { + /** @deprecated use `CancelDeploymentChecksState$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentChecksState$inboundSchema; + /** @deprecated use `CancelDeploymentChecksState$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentChecksState$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentChecksConclusion$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentChecksConclusion +> = z.nativeEnum(CancelDeploymentChecksConclusion); + +/** @internal */ +export const CancelDeploymentChecksConclusion$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentChecksConclusion +> = CancelDeploymentChecksConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentChecksConclusion$ { + /** @deprecated use `CancelDeploymentChecksConclusion$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentChecksConclusion$inboundSchema; + /** @deprecated use `CancelDeploymentChecksConclusion$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentChecksConclusion$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema: + z.ZodNativeEnum< + typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type + > = z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type, + ); + +/** @internal */ +export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema: + z.ZodNativeEnum< + typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type + > = + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$ { + /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema` instead. */ + export const inboundSchema = + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema; + /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema; +} + +/** @internal */ +export const GitSource9$inboundSchema: z.ZodType< + GitSource9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema, + ref: z.string(), + sha: z.string(), + owner: z.string().optional(), + slug: z.string().optional(), + workspaceUuid: z.string(), + repoUuid: z.string(), +}); + +/** @internal */ +export type GitSource9$Outbound = { + type: string; + ref: string; + sha: string; + owner?: string | undefined; + slug?: string | undefined; + workspaceUuid: string; + repoUuid: string; +}; + +/** @internal */ +export const GitSource9$outboundSchema: z.ZodType< + GitSource9$Outbound, + z.ZodTypeDef, + GitSource9 +> = z.object({ + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema, + ref: z.string(), + sha: z.string(), + owner: z.string().optional(), + slug: z.string().optional(), + workspaceUuid: z.string(), + repoUuid: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitSource9$ { + /** @deprecated use `GitSource9$inboundSchema` instead. */ + export const inboundSchema = GitSource9$inboundSchema; + /** @deprecated use `GitSource9$outboundSchema` instead. */ + export const outboundSchema = GitSource9$outboundSchema; + /** @deprecated use `GitSource9$Outbound` instead. */ + export type Outbound = GitSource9$Outbound; +} + +export function gitSource9ToJSON(gitSource9: GitSource9): string { + return JSON.stringify(GitSource9$outboundSchema.parse(gitSource9)); +} + +export function gitSource9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitSource9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitSource9' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema: + z.ZodNativeEnum< + typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type + > = z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type, + ); + +/** @internal */ +export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema: + z.ZodNativeEnum< + typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type + > = + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$ { + /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema` instead. */ + export const inboundSchema = + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema; + /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema; +} + +/** @internal */ +export const GitSource8$inboundSchema: z.ZodType< + GitSource8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema, + ref: z.string(), + sha: z.string(), + projectId: z.number(), +}); + +/** @internal */ +export type GitSource8$Outbound = { + type: string; + ref: string; + sha: string; + projectId: number; +}; + +/** @internal */ +export const GitSource8$outboundSchema: z.ZodType< + GitSource8$Outbound, + z.ZodTypeDef, + GitSource8 +> = z.object({ + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema, + ref: z.string(), + sha: z.string(), + projectId: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitSource8$ { + /** @deprecated use `GitSource8$inboundSchema` instead. */ + export const inboundSchema = GitSource8$inboundSchema; + /** @deprecated use `GitSource8$outboundSchema` instead. */ + export const outboundSchema = GitSource8$outboundSchema; + /** @deprecated use `GitSource8$Outbound` instead. */ + export type Outbound = GitSource8$Outbound; +} + +export function gitSource8ToJSON(gitSource8: GitSource8): string { + return JSON.stringify(GitSource8$outboundSchema.parse(gitSource8)); +} + +export function gitSource8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitSource8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitSource8' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema: + z.ZodNativeEnum< + typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type + > = z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type, + ); + +/** @internal */ +export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema: + z.ZodNativeEnum< + typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type + > = + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$ { + /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema` instead. */ + export const inboundSchema = + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema; + /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema; +} + +/** @internal */ +export const GitSource7$inboundSchema: z.ZodType< + GitSource7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema, + ref: z.string(), + sha: z.string(), + repoId: z.number(), + org: z.string().optional(), + repo: z.string().optional(), +}); + +/** @internal */ +export type GitSource7$Outbound = { + type: string; + ref: string; + sha: string; + repoId: number; + org?: string | undefined; + repo?: string | undefined; +}; + +/** @internal */ +export const GitSource7$outboundSchema: z.ZodType< + GitSource7$Outbound, + z.ZodTypeDef, + GitSource7 +> = z.object({ + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema, + ref: z.string(), + sha: z.string(), + repoId: z.number(), + org: z.string().optional(), + repo: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitSource7$ { + /** @deprecated use `GitSource7$inboundSchema` instead. */ + export const inboundSchema = GitSource7$inboundSchema; + /** @deprecated use `GitSource7$outboundSchema` instead. */ + export const outboundSchema = GitSource7$outboundSchema; + /** @deprecated use `GitSource7$Outbound` instead. */ + export type Outbound = GitSource7$Outbound; +} + +export function gitSource7ToJSON(gitSource7: GitSource7): string { + return JSON.stringify(GitSource7$outboundSchema.parse(gitSource7)); +} + +export function gitSource7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitSource7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitSource7' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType, + ); + +/** @internal */ +export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType + > = + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$ { + /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema; + /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema; +} + +/** @internal */ +export const GitSource6$inboundSchema: z.ZodType< + GitSource6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, + ref: z.string(), + sha: z.string(), + gitUrl: z.string(), +}); + +/** @internal */ +export type GitSource6$Outbound = { + type: string; + ref: string; + sha: string; + gitUrl: string; +}; + +/** @internal */ +export const GitSource6$outboundSchema: z.ZodType< + GitSource6$Outbound, + z.ZodTypeDef, + GitSource6 +> = z.object({ + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema, + ref: z.string(), + sha: z.string(), + gitUrl: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitSource6$ { + /** @deprecated use `GitSource6$inboundSchema` instead. */ + export const inboundSchema = GitSource6$inboundSchema; + /** @deprecated use `GitSource6$outboundSchema` instead. */ + export const outboundSchema = GitSource6$outboundSchema; + /** @deprecated use `GitSource6$Outbound` instead. */ + export type Outbound = GitSource6$Outbound; +} + +export function gitSource6ToJSON(gitSource6: GitSource6): string { + return JSON.stringify(GitSource6$outboundSchema.parse(gitSource6)); +} + +export function gitSource6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitSource6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitSource6' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType + > = z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType, + ); + +/** @internal */ +export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType + > = + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$ { + /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentGitSource5$inboundSchema: z.ZodType< + CancelDeploymentGitSource5, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema, + owner: z.string(), + slug: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type CancelDeploymentGitSource5$Outbound = { + type: string; + owner: string; + slug: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const CancelDeploymentGitSource5$outboundSchema: z.ZodType< + CancelDeploymentGitSource5$Outbound, + z.ZodTypeDef, + CancelDeploymentGitSource5 +> = z.object({ + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema, + owner: z.string(), + slug: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSource5$ { + /** @deprecated use `CancelDeploymentGitSource5$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentGitSource5$inboundSchema; + /** @deprecated use `CancelDeploymentGitSource5$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentGitSource5$outboundSchema; + /** @deprecated use `CancelDeploymentGitSource5$Outbound` instead. */ + export type Outbound = CancelDeploymentGitSource5$Outbound; +} + +export function cancelDeploymentGitSource5ToJSON( + cancelDeploymentGitSource5: CancelDeploymentGitSource5, +): string { + return JSON.stringify( + CancelDeploymentGitSource5$outboundSchema.parse(cancelDeploymentGitSource5), + ); +} + +export function cancelDeploymentGitSource5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentGitSource5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentGitSource5' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentGitSourceDeploymentsResponse200Type$inboundSchema: + z.ZodNativeEnum = + z.nativeEnum(CancelDeploymentGitSourceDeploymentsResponse200Type); + +/** @internal */ +export const CancelDeploymentGitSourceDeploymentsResponse200Type$outboundSchema: + z.ZodNativeEnum = + CancelDeploymentGitSourceDeploymentsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSourceDeploymentsResponse200Type$ { + /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + CancelDeploymentGitSourceDeploymentsResponse200Type$inboundSchema; + /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentGitSourceDeploymentsResponse200Type$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentGitSource4$inboundSchema: z.ZodType< + CancelDeploymentGitSource4, + z.ZodTypeDef, + unknown +> = z.object({ + type: CancelDeploymentGitSourceDeploymentsResponse200Type$inboundSchema, + workspaceUuid: z.string().optional(), + repoUuid: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type CancelDeploymentGitSource4$Outbound = { + type: string; + workspaceUuid?: string | undefined; + repoUuid: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const CancelDeploymentGitSource4$outboundSchema: z.ZodType< + CancelDeploymentGitSource4$Outbound, + z.ZodTypeDef, + CancelDeploymentGitSource4 +> = z.object({ + type: CancelDeploymentGitSourceDeploymentsResponse200Type$outboundSchema, + workspaceUuid: z.string().optional(), + repoUuid: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSource4$ { + /** @deprecated use `CancelDeploymentGitSource4$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentGitSource4$inboundSchema; + /** @deprecated use `CancelDeploymentGitSource4$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentGitSource4$outboundSchema; + /** @deprecated use `CancelDeploymentGitSource4$Outbound` instead. */ + export type Outbound = CancelDeploymentGitSource4$Outbound; +} + +export function cancelDeploymentGitSource4ToJSON( + cancelDeploymentGitSource4: CancelDeploymentGitSource4, +): string { + return JSON.stringify( + CancelDeploymentGitSource4$outboundSchema.parse(cancelDeploymentGitSource4), + ); +} + +export function cancelDeploymentGitSource4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentGitSource4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentGitSource4' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentGitSourceDeploymentsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CancelDeploymentGitSourceDeploymentsResponseType); + +/** @internal */ +export const CancelDeploymentGitSourceDeploymentsResponseType$outboundSchema: + z.ZodNativeEnum = + CancelDeploymentGitSourceDeploymentsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSourceDeploymentsResponseType$ { + /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponseType$inboundSchema` instead. */ + export const inboundSchema = + CancelDeploymentGitSourceDeploymentsResponseType$inboundSchema; + /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponseType$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentGitSourceDeploymentsResponseType$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentGitSourceProjectId$inboundSchema: z.ZodType< + CancelDeploymentGitSourceProjectId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number()]); + +/** @internal */ +export type CancelDeploymentGitSourceProjectId$Outbound = string | number; + +/** @internal */ +export const CancelDeploymentGitSourceProjectId$outboundSchema: z.ZodType< + CancelDeploymentGitSourceProjectId$Outbound, + z.ZodTypeDef, + CancelDeploymentGitSourceProjectId +> = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSourceProjectId$ { + /** @deprecated use `CancelDeploymentGitSourceProjectId$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentGitSourceProjectId$inboundSchema; + /** @deprecated use `CancelDeploymentGitSourceProjectId$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentGitSourceProjectId$outboundSchema; + /** @deprecated use `CancelDeploymentGitSourceProjectId$Outbound` instead. */ + export type Outbound = CancelDeploymentGitSourceProjectId$Outbound; +} + +export function cancelDeploymentGitSourceProjectIdToJSON( + cancelDeploymentGitSourceProjectId: CancelDeploymentGitSourceProjectId, +): string { + return JSON.stringify( + CancelDeploymentGitSourceProjectId$outboundSchema.parse( + cancelDeploymentGitSourceProjectId, + ), + ); +} + +export function cancelDeploymentGitSourceProjectIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CancelDeploymentGitSourceProjectId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentGitSourceProjectId' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentGitSource3$inboundSchema: z.ZodType< + CancelDeploymentGitSource3, + z.ZodTypeDef, + unknown +> = z.object({ + type: CancelDeploymentGitSourceDeploymentsResponseType$inboundSchema, + projectId: z.union([z.string(), z.number()]), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type CancelDeploymentGitSource3$Outbound = { + type: string; + projectId: string | number; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const CancelDeploymentGitSource3$outboundSchema: z.ZodType< + CancelDeploymentGitSource3$Outbound, + z.ZodTypeDef, + CancelDeploymentGitSource3 +> = z.object({ + type: CancelDeploymentGitSourceDeploymentsResponseType$outboundSchema, + projectId: z.union([z.string(), z.number()]), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSource3$ { + /** @deprecated use `CancelDeploymentGitSource3$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentGitSource3$inboundSchema; + /** @deprecated use `CancelDeploymentGitSource3$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentGitSource3$outboundSchema; + /** @deprecated use `CancelDeploymentGitSource3$Outbound` instead. */ + export type Outbound = CancelDeploymentGitSource3$Outbound; +} + +export function cancelDeploymentGitSource3ToJSON( + cancelDeploymentGitSource3: CancelDeploymentGitSource3, +): string { + return JSON.stringify( + CancelDeploymentGitSource3$outboundSchema.parse(cancelDeploymentGitSource3), + ); +} + +export function cancelDeploymentGitSource3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentGitSource3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentGitSource3' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentGitSourceDeploymentsType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CancelDeploymentGitSourceDeploymentsType); + +/** @internal */ +export const CancelDeploymentGitSourceDeploymentsType$outboundSchema: + z.ZodNativeEnum = + CancelDeploymentGitSourceDeploymentsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSourceDeploymentsType$ { + /** @deprecated use `CancelDeploymentGitSourceDeploymentsType$inboundSchema` instead. */ + export const inboundSchema = + CancelDeploymentGitSourceDeploymentsType$inboundSchema; + /** @deprecated use `CancelDeploymentGitSourceDeploymentsType$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentGitSourceDeploymentsType$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentGitSource2$inboundSchema: z.ZodType< + CancelDeploymentGitSource2, + z.ZodTypeDef, + unknown +> = z.object({ + type: CancelDeploymentGitSourceDeploymentsType$inboundSchema, + org: z.string(), + repo: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type CancelDeploymentGitSource2$Outbound = { + type: string; + org: string; + repo: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const CancelDeploymentGitSource2$outboundSchema: z.ZodType< + CancelDeploymentGitSource2$Outbound, + z.ZodTypeDef, + CancelDeploymentGitSource2 +> = z.object({ + type: CancelDeploymentGitSourceDeploymentsType$outboundSchema, + org: z.string(), + repo: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSource2$ { + /** @deprecated use `CancelDeploymentGitSource2$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentGitSource2$inboundSchema; + /** @deprecated use `CancelDeploymentGitSource2$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentGitSource2$outboundSchema; + /** @deprecated use `CancelDeploymentGitSource2$Outbound` instead. */ + export type Outbound = CancelDeploymentGitSource2$Outbound; +} + +export function cancelDeploymentGitSource2ToJSON( + cancelDeploymentGitSource2: CancelDeploymentGitSource2, +): string { + return JSON.stringify( + CancelDeploymentGitSource2$outboundSchema.parse(cancelDeploymentGitSource2), + ); +} + +export function cancelDeploymentGitSource2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentGitSource2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentGitSource2' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentGitSourceType$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentGitSourceType +> = z.nativeEnum(CancelDeploymentGitSourceType); + +/** @internal */ +export const CancelDeploymentGitSourceType$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentGitSourceType +> = CancelDeploymentGitSourceType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSourceType$ { + /** @deprecated use `CancelDeploymentGitSourceType$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentGitSourceType$inboundSchema; + /** @deprecated use `CancelDeploymentGitSourceType$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentGitSourceType$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentGitSourceRepoId$inboundSchema: z.ZodType< + CancelDeploymentGitSourceRepoId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number()]); + +/** @internal */ +export type CancelDeploymentGitSourceRepoId$Outbound = string | number; + +/** @internal */ +export const CancelDeploymentGitSourceRepoId$outboundSchema: z.ZodType< + CancelDeploymentGitSourceRepoId$Outbound, + z.ZodTypeDef, + CancelDeploymentGitSourceRepoId +> = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSourceRepoId$ { + /** @deprecated use `CancelDeploymentGitSourceRepoId$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentGitSourceRepoId$inboundSchema; + /** @deprecated use `CancelDeploymentGitSourceRepoId$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentGitSourceRepoId$outboundSchema; + /** @deprecated use `CancelDeploymentGitSourceRepoId$Outbound` instead. */ + export type Outbound = CancelDeploymentGitSourceRepoId$Outbound; +} + +export function cancelDeploymentGitSourceRepoIdToJSON( + cancelDeploymentGitSourceRepoId: CancelDeploymentGitSourceRepoId, +): string { + return JSON.stringify( + CancelDeploymentGitSourceRepoId$outboundSchema.parse( + cancelDeploymentGitSourceRepoId, + ), + ); +} + +export function cancelDeploymentGitSourceRepoIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentGitSourceRepoId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentGitSourceRepoId' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentGitSource1$inboundSchema: z.ZodType< + CancelDeploymentGitSource1, + z.ZodTypeDef, + unknown +> = z.object({ + type: CancelDeploymentGitSourceType$inboundSchema, + repoId: z.union([z.string(), z.number()]), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type CancelDeploymentGitSource1$Outbound = { + type: string; + repoId: string | number; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const CancelDeploymentGitSource1$outboundSchema: z.ZodType< + CancelDeploymentGitSource1$Outbound, + z.ZodTypeDef, + CancelDeploymentGitSource1 +> = z.object({ + type: CancelDeploymentGitSourceType$outboundSchema, + repoId: z.union([z.string(), z.number()]), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSource1$ { + /** @deprecated use `CancelDeploymentGitSource1$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentGitSource1$inboundSchema; + /** @deprecated use `CancelDeploymentGitSource1$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentGitSource1$outboundSchema; + /** @deprecated use `CancelDeploymentGitSource1$Outbound` instead. */ + export type Outbound = CancelDeploymentGitSource1$Outbound; +} + +export function cancelDeploymentGitSource1ToJSON( + cancelDeploymentGitSource1: CancelDeploymentGitSource1, +): string { + return JSON.stringify( + CancelDeploymentGitSource1$outboundSchema.parse(cancelDeploymentGitSource1), + ); +} + +export function cancelDeploymentGitSource1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentGitSource1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentGitSource1' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentGitSource$inboundSchema: z.ZodType< + CancelDeploymentGitSource, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GitSource6$inboundSchema), + z.lazy(() => GitSource8$inboundSchema), + z.lazy(() => CancelDeploymentGitSource1$inboundSchema), + z.lazy(() => CancelDeploymentGitSource3$inboundSchema), + z.lazy(() => CancelDeploymentGitSource2$inboundSchema), + z.lazy(() => CancelDeploymentGitSource4$inboundSchema), + z.lazy(() => CancelDeploymentGitSource5$inboundSchema), + z.lazy(() => GitSource7$inboundSchema), + z.lazy(() => GitSource9$inboundSchema), +]); + +/** @internal */ +export type CancelDeploymentGitSource$Outbound = + | GitSource6$Outbound + | GitSource8$Outbound + | CancelDeploymentGitSource1$Outbound + | CancelDeploymentGitSource3$Outbound + | CancelDeploymentGitSource2$Outbound + | CancelDeploymentGitSource4$Outbound + | CancelDeploymentGitSource5$Outbound + | GitSource7$Outbound + | GitSource9$Outbound; + +/** @internal */ +export const CancelDeploymentGitSource$outboundSchema: z.ZodType< + CancelDeploymentGitSource$Outbound, + z.ZodTypeDef, + CancelDeploymentGitSource +> = z.union([ + z.lazy(() => GitSource6$outboundSchema), + z.lazy(() => GitSource8$outboundSchema), + z.lazy(() => CancelDeploymentGitSource1$outboundSchema), + z.lazy(() => CancelDeploymentGitSource3$outboundSchema), + z.lazy(() => CancelDeploymentGitSource2$outboundSchema), + z.lazy(() => CancelDeploymentGitSource4$outboundSchema), + z.lazy(() => CancelDeploymentGitSource5$outboundSchema), + z.lazy(() => GitSource7$outboundSchema), + z.lazy(() => GitSource9$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitSource$ { + /** @deprecated use `CancelDeploymentGitSource$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentGitSource$inboundSchema; + /** @deprecated use `CancelDeploymentGitSource$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentGitSource$outboundSchema; + /** @deprecated use `CancelDeploymentGitSource$Outbound` instead. */ + export type Outbound = CancelDeploymentGitSource$Outbound; +} + +export function cancelDeploymentGitSourceToJSON( + cancelDeploymentGitSource: CancelDeploymentGitSource, +): string { + return JSON.stringify( + CancelDeploymentGitSource$outboundSchema.parse(cancelDeploymentGitSource), + ); +} + +export function cancelDeploymentGitSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentGitSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentGitSource' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentProject$inboundSchema: z.ZodType< + CancelDeploymentProject, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(z.string()).optional(), +}); + +/** @internal */ +export type CancelDeploymentProject$Outbound = { + id: string; + name: string; + framework?: string | null | undefined; +}; + +/** @internal */ +export const CancelDeploymentProject$outboundSchema: z.ZodType< + CancelDeploymentProject$Outbound, + z.ZodTypeDef, + CancelDeploymentProject +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentProject$ { + /** @deprecated use `CancelDeploymentProject$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentProject$inboundSchema; + /** @deprecated use `CancelDeploymentProject$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentProject$outboundSchema; + /** @deprecated use `CancelDeploymentProject$Outbound` instead. */ + export type Outbound = CancelDeploymentProject$Outbound; +} + +export function cancelDeploymentProjectToJSON( + cancelDeploymentProject: CancelDeploymentProject, +): string { + return JSON.stringify( + CancelDeploymentProject$outboundSchema.parse(cancelDeploymentProject), + ); +} + +export function cancelDeploymentProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentProject' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentReadyState$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentReadyState +> = z.nativeEnum(CancelDeploymentReadyState); + +/** @internal */ +export const CancelDeploymentReadyState$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentReadyState +> = CancelDeploymentReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentReadyState$ { + /** @deprecated use `CancelDeploymentReadyState$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentReadyState$inboundSchema; + /** @deprecated use `CancelDeploymentReadyState$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentReadyState$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentReadySubstate$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentReadySubstate +> = z.nativeEnum(CancelDeploymentReadySubstate); + +/** @internal */ +export const CancelDeploymentReadySubstate$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentReadySubstate +> = CancelDeploymentReadySubstate$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentReadySubstate$ { + /** @deprecated use `CancelDeploymentReadySubstate$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentReadySubstate$inboundSchema; + /** @deprecated use `CancelDeploymentReadySubstate$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentReadySubstate$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentSource$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentSource +> = z.nativeEnum(CancelDeploymentSource); + +/** @internal */ +export const CancelDeploymentSource$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentSource +> = CancelDeploymentSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentSource$ { + /** @deprecated use `CancelDeploymentSource$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentSource$inboundSchema; + /** @deprecated use `CancelDeploymentSource$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentSource$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentTarget$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentTarget +> = z.nativeEnum(CancelDeploymentTarget); + +/** @internal */ +export const CancelDeploymentTarget$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentTarget +> = CancelDeploymentTarget$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentTarget$ { + /** @deprecated use `CancelDeploymentTarget$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentTarget$inboundSchema; + /** @deprecated use `CancelDeploymentTarget$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentTarget$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentType$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentType +> = z.nativeEnum(CancelDeploymentType); + +/** @internal */ +export const CancelDeploymentType$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentType +> = CancelDeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentType$ { + /** @deprecated use `CancelDeploymentType$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentType$inboundSchema; + /** @deprecated use `CancelDeploymentType$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentType$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentOidcTokenClaims$inboundSchema: z.ZodType< + CancelDeploymentOidcTokenClaims, + z.ZodTypeDef, + unknown +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + owner_id: z.string(), + project: z.string(), + project_id: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + "owner_id": "ownerId", + "project_id": "projectId", + }); +}); + +/** @internal */ +export type CancelDeploymentOidcTokenClaims$Outbound = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + owner_id: string; + project: string; + project_id: string; + environment: string; +}; + +/** @internal */ +export const CancelDeploymentOidcTokenClaims$outboundSchema: z.ZodType< + CancelDeploymentOidcTokenClaims$Outbound, + z.ZodTypeDef, + CancelDeploymentOidcTokenClaims +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + ownerId: z.string(), + project: z.string(), + projectId: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + ownerId: "owner_id", + projectId: "project_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentOidcTokenClaims$ { + /** @deprecated use `CancelDeploymentOidcTokenClaims$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentOidcTokenClaims$inboundSchema; + /** @deprecated use `CancelDeploymentOidcTokenClaims$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentOidcTokenClaims$outboundSchema; + /** @deprecated use `CancelDeploymentOidcTokenClaims$Outbound` instead. */ + export type Outbound = CancelDeploymentOidcTokenClaims$Outbound; +} + +export function cancelDeploymentOidcTokenClaimsToJSON( + cancelDeploymentOidcTokenClaims: CancelDeploymentOidcTokenClaims, +): string { + return JSON.stringify( + CancelDeploymentOidcTokenClaims$outboundSchema.parse( + cancelDeploymentOidcTokenClaims, + ), + ); +} + +export function cancelDeploymentOidcTokenClaimsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentOidcTokenClaims' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentCrons$inboundSchema: z.ZodType< + CancelDeploymentCrons, + z.ZodTypeDef, + unknown +> = z.object({ + schedule: z.string(), + path: z.string(), +}); + +/** @internal */ +export type CancelDeploymentCrons$Outbound = { + schedule: string; + path: string; +}; + +/** @internal */ +export const CancelDeploymentCrons$outboundSchema: z.ZodType< + CancelDeploymentCrons$Outbound, + z.ZodTypeDef, + CancelDeploymentCrons +> = z.object({ + schedule: z.string(), + path: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentCrons$ { + /** @deprecated use `CancelDeploymentCrons$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentCrons$inboundSchema; + /** @deprecated use `CancelDeploymentCrons$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentCrons$outboundSchema; + /** @deprecated use `CancelDeploymentCrons$Outbound` instead. */ + export type Outbound = CancelDeploymentCrons$Outbound; +} + +export function cancelDeploymentCronsToJSON( + cancelDeploymentCrons: CancelDeploymentCrons, +): string { + return JSON.stringify( + CancelDeploymentCrons$outboundSchema.parse(cancelDeploymentCrons), + ); +} + +export function cancelDeploymentCronsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentCrons$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentCrons' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentFunctions$inboundSchema: z.ZodType< + CancelDeploymentFunctions, + z.ZodTypeDef, + unknown +> = z.object({ + memory: z.number().optional(), + maxDuration: z.number().optional(), + runtime: z.string().optional(), + includeFiles: z.string().optional(), + excludeFiles: z.string().optional(), +}); + +/** @internal */ +export type CancelDeploymentFunctions$Outbound = { + memory?: number | undefined; + maxDuration?: number | undefined; + runtime?: string | undefined; + includeFiles?: string | undefined; + excludeFiles?: string | undefined; +}; + +/** @internal */ +export const CancelDeploymentFunctions$outboundSchema: z.ZodType< + CancelDeploymentFunctions$Outbound, + z.ZodTypeDef, + CancelDeploymentFunctions +> = z.object({ + memory: z.number().optional(), + maxDuration: z.number().optional(), + runtime: z.string().optional(), + includeFiles: z.string().optional(), + excludeFiles: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentFunctions$ { + /** @deprecated use `CancelDeploymentFunctions$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentFunctions$inboundSchema; + /** @deprecated use `CancelDeploymentFunctions$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentFunctions$outboundSchema; + /** @deprecated use `CancelDeploymentFunctions$Outbound` instead. */ + export type Outbound = CancelDeploymentFunctions$Outbound; +} + +export function cancelDeploymentFunctionsToJSON( + cancelDeploymentFunctions: CancelDeploymentFunctions, +): string { + return JSON.stringify( + CancelDeploymentFunctions$outboundSchema.parse(cancelDeploymentFunctions), + ); +} + +export function cancelDeploymentFunctionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentFunctions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentFunctions' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentPlan$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentPlan +> = z.nativeEnum(CancelDeploymentPlan); + +/** @internal */ +export const CancelDeploymentPlan$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentPlan +> = CancelDeploymentPlan$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentPlan$ { + /** @deprecated use `CancelDeploymentPlan$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentPlan$inboundSchema; + /** @deprecated use `CancelDeploymentPlan$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentPlan$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentRoutes3$inboundSchema: z.ZodType< + CancelDeploymentRoutes3, + z.ZodTypeDef, + unknown +> = z.object({ + src: z.string(), + continue: z.boolean(), + middleware: z.number(), +}); + +/** @internal */ +export type CancelDeploymentRoutes3$Outbound = { + src: string; + continue: boolean; + middleware: number; +}; + +/** @internal */ +export const CancelDeploymentRoutes3$outboundSchema: z.ZodType< + CancelDeploymentRoutes3$Outbound, + z.ZodTypeDef, + CancelDeploymentRoutes3 +> = z.object({ + src: z.string(), + continue: z.boolean(), + middleware: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentRoutes3$ { + /** @deprecated use `CancelDeploymentRoutes3$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentRoutes3$inboundSchema; + /** @deprecated use `CancelDeploymentRoutes3$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentRoutes3$outboundSchema; + /** @deprecated use `CancelDeploymentRoutes3$Outbound` instead. */ + export type Outbound = CancelDeploymentRoutes3$Outbound; +} + +export function cancelDeploymentRoutes3ToJSON( + cancelDeploymentRoutes3: CancelDeploymentRoutes3, +): string { + return JSON.stringify( + CancelDeploymentRoutes3$outboundSchema.parse(cancelDeploymentRoutes3), + ); +} + +export function cancelDeploymentRoutes3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentRoutes3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentRoutes3' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentRoutesHandle$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentRoutesHandle +> = z.nativeEnum(CancelDeploymentRoutesHandle); + +/** @internal */ +export const CancelDeploymentRoutesHandle$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentRoutesHandle +> = CancelDeploymentRoutesHandle$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentRoutesHandle$ { + /** @deprecated use `CancelDeploymentRoutesHandle$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentRoutesHandle$inboundSchema; + /** @deprecated use `CancelDeploymentRoutesHandle$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentRoutesHandle$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentRoutes2$inboundSchema: z.ZodType< + CancelDeploymentRoutes2, + z.ZodTypeDef, + unknown +> = z.object({ + handle: CancelDeploymentRoutesHandle$inboundSchema, + src: z.string().optional(), + dest: z.string().optional(), + status: z.number().optional(), +}); + +/** @internal */ +export type CancelDeploymentRoutes2$Outbound = { + handle: string; + src?: string | undefined; + dest?: string | undefined; + status?: number | undefined; +}; + +/** @internal */ +export const CancelDeploymentRoutes2$outboundSchema: z.ZodType< + CancelDeploymentRoutes2$Outbound, + z.ZodTypeDef, + CancelDeploymentRoutes2 +> = z.object({ + handle: CancelDeploymentRoutesHandle$outboundSchema, + src: z.string().optional(), + dest: z.string().optional(), + status: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentRoutes2$ { + /** @deprecated use `CancelDeploymentRoutes2$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentRoutes2$inboundSchema; + /** @deprecated use `CancelDeploymentRoutes2$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentRoutes2$outboundSchema; + /** @deprecated use `CancelDeploymentRoutes2$Outbound` instead. */ + export type Outbound = CancelDeploymentRoutes2$Outbound; +} + +export function cancelDeploymentRoutes2ToJSON( + cancelDeploymentRoutes2: CancelDeploymentRoutes2, +): string { + return JSON.stringify( + CancelDeploymentRoutes2$outboundSchema.parse(cancelDeploymentRoutes2), + ); +} + +export function cancelDeploymentRoutes2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentRoutes2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentRoutes2' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentHasDeploymentsType$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentHasDeploymentsType +> = z.nativeEnum(CancelDeploymentHasDeploymentsType); + +/** @internal */ +export const CancelDeploymentHasDeploymentsType$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentHasDeploymentsType +> = CancelDeploymentHasDeploymentsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentHasDeploymentsType$ { + /** @deprecated use `CancelDeploymentHasDeploymentsType$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentHasDeploymentsType$inboundSchema; + /** @deprecated use `CancelDeploymentHasDeploymentsType$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentHasDeploymentsType$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentHas2$inboundSchema: z.ZodType< + CancelDeploymentHas2, + z.ZodTypeDef, + unknown +> = z.object({ + type: CancelDeploymentHasDeploymentsType$inboundSchema, + key: z.string(), + value: z.string().optional(), +}); + +/** @internal */ +export type CancelDeploymentHas2$Outbound = { + type: string; + key: string; + value?: string | undefined; +}; + +/** @internal */ +export const CancelDeploymentHas2$outboundSchema: z.ZodType< + CancelDeploymentHas2$Outbound, + z.ZodTypeDef, + CancelDeploymentHas2 +> = z.object({ + type: CancelDeploymentHasDeploymentsType$outboundSchema, + key: z.string(), + value: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentHas2$ { + /** @deprecated use `CancelDeploymentHas2$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentHas2$inboundSchema; + /** @deprecated use `CancelDeploymentHas2$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentHas2$outboundSchema; + /** @deprecated use `CancelDeploymentHas2$Outbound` instead. */ + export type Outbound = CancelDeploymentHas2$Outbound; +} + +export function cancelDeploymentHas2ToJSON( + cancelDeploymentHas2: CancelDeploymentHas2, +): string { + return JSON.stringify( + CancelDeploymentHas2$outboundSchema.parse(cancelDeploymentHas2), + ); +} + +export function cancelDeploymentHas2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentHas2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentHas2' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentHasType$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentHasType +> = z.nativeEnum(CancelDeploymentHasType); + +/** @internal */ +export const CancelDeploymentHasType$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentHasType +> = CancelDeploymentHasType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentHasType$ { + /** @deprecated use `CancelDeploymentHasType$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentHasType$inboundSchema; + /** @deprecated use `CancelDeploymentHasType$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentHasType$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentHas1$inboundSchema: z.ZodType< + CancelDeploymentHas1, + z.ZodTypeDef, + unknown +> = z.object({ + type: CancelDeploymentHasType$inboundSchema, + value: z.string(), +}); + +/** @internal */ +export type CancelDeploymentHas1$Outbound = { + type: string; + value: string; +}; + +/** @internal */ +export const CancelDeploymentHas1$outboundSchema: z.ZodType< + CancelDeploymentHas1$Outbound, + z.ZodTypeDef, + CancelDeploymentHas1 +> = z.object({ + type: CancelDeploymentHasType$outboundSchema, + value: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentHas1$ { + /** @deprecated use `CancelDeploymentHas1$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentHas1$inboundSchema; + /** @deprecated use `CancelDeploymentHas1$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentHas1$outboundSchema; + /** @deprecated use `CancelDeploymentHas1$Outbound` instead. */ + export type Outbound = CancelDeploymentHas1$Outbound; +} + +export function cancelDeploymentHas1ToJSON( + cancelDeploymentHas1: CancelDeploymentHas1, +): string { + return JSON.stringify( + CancelDeploymentHas1$outboundSchema.parse(cancelDeploymentHas1), + ); +} + +export function cancelDeploymentHas1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentHas1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentHas1' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentRoutesHas$inboundSchema: z.ZodType< + CancelDeploymentRoutesHas, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CancelDeploymentHas1$inboundSchema), + z.lazy(() => CancelDeploymentHas2$inboundSchema), +]); + +/** @internal */ +export type CancelDeploymentRoutesHas$Outbound = + | CancelDeploymentHas1$Outbound + | CancelDeploymentHas2$Outbound; + +/** @internal */ +export const CancelDeploymentRoutesHas$outboundSchema: z.ZodType< + CancelDeploymentRoutesHas$Outbound, + z.ZodTypeDef, + CancelDeploymentRoutesHas +> = z.union([ + z.lazy(() => CancelDeploymentHas1$outboundSchema), + z.lazy(() => CancelDeploymentHas2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentRoutesHas$ { + /** @deprecated use `CancelDeploymentRoutesHas$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentRoutesHas$inboundSchema; + /** @deprecated use `CancelDeploymentRoutesHas$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentRoutesHas$outboundSchema; + /** @deprecated use `CancelDeploymentRoutesHas$Outbound` instead. */ + export type Outbound = CancelDeploymentRoutesHas$Outbound; +} + +export function cancelDeploymentRoutesHasToJSON( + cancelDeploymentRoutesHas: CancelDeploymentRoutesHas, +): string { + return JSON.stringify( + CancelDeploymentRoutesHas$outboundSchema.parse(cancelDeploymentRoutesHas), + ); +} + +export function cancelDeploymentRoutesHasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentRoutesHas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentRoutesHas' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentMissingDeploymentsType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CancelDeploymentMissingDeploymentsType, + ); + +/** @internal */ +export const CancelDeploymentMissingDeploymentsType$outboundSchema: + z.ZodNativeEnum = + CancelDeploymentMissingDeploymentsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentMissingDeploymentsType$ { + /** @deprecated use `CancelDeploymentMissingDeploymentsType$inboundSchema` instead. */ + export const inboundSchema = + CancelDeploymentMissingDeploymentsType$inboundSchema; + /** @deprecated use `CancelDeploymentMissingDeploymentsType$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentMissingDeploymentsType$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentMissing2$inboundSchema: z.ZodType< + CancelDeploymentMissing2, + z.ZodTypeDef, + unknown +> = z.object({ + type: CancelDeploymentMissingDeploymentsType$inboundSchema, + key: z.string(), + value: z.string().optional(), +}); + +/** @internal */ +export type CancelDeploymentMissing2$Outbound = { + type: string; + key: string; + value?: string | undefined; +}; + +/** @internal */ +export const CancelDeploymentMissing2$outboundSchema: z.ZodType< + CancelDeploymentMissing2$Outbound, + z.ZodTypeDef, + CancelDeploymentMissing2 +> = z.object({ + type: CancelDeploymentMissingDeploymentsType$outboundSchema, + key: z.string(), + value: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentMissing2$ { + /** @deprecated use `CancelDeploymentMissing2$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentMissing2$inboundSchema; + /** @deprecated use `CancelDeploymentMissing2$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentMissing2$outboundSchema; + /** @deprecated use `CancelDeploymentMissing2$Outbound` instead. */ + export type Outbound = CancelDeploymentMissing2$Outbound; +} + +export function cancelDeploymentMissing2ToJSON( + cancelDeploymentMissing2: CancelDeploymentMissing2, +): string { + return JSON.stringify( + CancelDeploymentMissing2$outboundSchema.parse(cancelDeploymentMissing2), + ); +} + +export function cancelDeploymentMissing2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentMissing2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentMissing2' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentMissingType$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentMissingType +> = z.nativeEnum(CancelDeploymentMissingType); + +/** @internal */ +export const CancelDeploymentMissingType$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentMissingType +> = CancelDeploymentMissingType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentMissingType$ { + /** @deprecated use `CancelDeploymentMissingType$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentMissingType$inboundSchema; + /** @deprecated use `CancelDeploymentMissingType$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentMissingType$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentMissing1$inboundSchema: z.ZodType< + CancelDeploymentMissing1, + z.ZodTypeDef, + unknown +> = z.object({ + type: CancelDeploymentMissingType$inboundSchema, + value: z.string(), +}); + +/** @internal */ +export type CancelDeploymentMissing1$Outbound = { + type: string; + value: string; +}; + +/** @internal */ +export const CancelDeploymentMissing1$outboundSchema: z.ZodType< + CancelDeploymentMissing1$Outbound, + z.ZodTypeDef, + CancelDeploymentMissing1 +> = z.object({ + type: CancelDeploymentMissingType$outboundSchema, + value: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentMissing1$ { + /** @deprecated use `CancelDeploymentMissing1$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentMissing1$inboundSchema; + /** @deprecated use `CancelDeploymentMissing1$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentMissing1$outboundSchema; + /** @deprecated use `CancelDeploymentMissing1$Outbound` instead. */ + export type Outbound = CancelDeploymentMissing1$Outbound; +} + +export function cancelDeploymentMissing1ToJSON( + cancelDeploymentMissing1: CancelDeploymentMissing1, +): string { + return JSON.stringify( + CancelDeploymentMissing1$outboundSchema.parse(cancelDeploymentMissing1), + ); +} + +export function cancelDeploymentMissing1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentMissing1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentMissing1' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentRoutesMissing$inboundSchema: z.ZodType< + CancelDeploymentRoutesMissing, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CancelDeploymentMissing1$inboundSchema), + z.lazy(() => CancelDeploymentMissing2$inboundSchema), +]); + +/** @internal */ +export type CancelDeploymentRoutesMissing$Outbound = + | CancelDeploymentMissing1$Outbound + | CancelDeploymentMissing2$Outbound; + +/** @internal */ +export const CancelDeploymentRoutesMissing$outboundSchema: z.ZodType< + CancelDeploymentRoutesMissing$Outbound, + z.ZodTypeDef, + CancelDeploymentRoutesMissing +> = z.union([ + z.lazy(() => CancelDeploymentMissing1$outboundSchema), + z.lazy(() => CancelDeploymentMissing2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentRoutesMissing$ { + /** @deprecated use `CancelDeploymentRoutesMissing$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentRoutesMissing$inboundSchema; + /** @deprecated use `CancelDeploymentRoutesMissing$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentRoutesMissing$outboundSchema; + /** @deprecated use `CancelDeploymentRoutesMissing$Outbound` instead. */ + export type Outbound = CancelDeploymentRoutesMissing$Outbound; +} + +export function cancelDeploymentRoutesMissingToJSON( + cancelDeploymentRoutesMissing: CancelDeploymentRoutesMissing, +): string { + return JSON.stringify( + CancelDeploymentRoutesMissing$outboundSchema.parse( + cancelDeploymentRoutesMissing, + ), + ); +} + +export function cancelDeploymentRoutesMissingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentRoutesMissing$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentRoutesMissing' from JSON`, + ); +} + +/** @internal */ +export const RoutesLocale$inboundSchema: z.ZodType< + RoutesLocale, + z.ZodTypeDef, + unknown +> = z.object({ + redirect: z.record(z.string()).optional(), + cookie: z.string().optional(), +}); + +/** @internal */ +export type RoutesLocale$Outbound = { + redirect?: { [k: string]: string } | undefined; + cookie?: string | undefined; +}; + +/** @internal */ +export const RoutesLocale$outboundSchema: z.ZodType< + RoutesLocale$Outbound, + z.ZodTypeDef, + RoutesLocale +> = z.object({ + redirect: z.record(z.string()).optional(), + cookie: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RoutesLocale$ { + /** @deprecated use `RoutesLocale$inboundSchema` instead. */ + export const inboundSchema = RoutesLocale$inboundSchema; + /** @deprecated use `RoutesLocale$outboundSchema` instead. */ + export const outboundSchema = RoutesLocale$outboundSchema; + /** @deprecated use `RoutesLocale$Outbound` instead. */ + export type Outbound = RoutesLocale$Outbound; +} + +export function routesLocaleToJSON(routesLocale: RoutesLocale): string { + return JSON.stringify(RoutesLocale$outboundSchema.parse(routesLocale)); +} + +export function routesLocaleFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RoutesLocale$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RoutesLocale' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentRoutes1$inboundSchema: z.ZodType< + CancelDeploymentRoutes1, + z.ZodTypeDef, + unknown +> = z.object({ + src: z.string(), + dest: z.string().optional(), + headers: z.record(z.string()).optional(), + methods: z.array(z.string()).optional(), + continue: z.boolean().optional(), + override: z.boolean().optional(), + caseSensitive: z.boolean().optional(), + check: z.boolean().optional(), + important: z.boolean().optional(), + status: z.number().optional(), + has: z.array( + z.union([ + z.lazy(() => CancelDeploymentHas1$inboundSchema), + z.lazy(() => CancelDeploymentHas2$inboundSchema), + ]), + ).optional(), + missing: z.array( + z.union([ + z.lazy(() => CancelDeploymentMissing1$inboundSchema), + z.lazy(() => CancelDeploymentMissing2$inboundSchema), + ]), + ).optional(), + locale: z.lazy(() => RoutesLocale$inboundSchema).optional(), + middlewarePath: z.string().optional(), + middlewareRawSrc: z.array(z.string()).optional(), + middleware: z.number().optional(), +}); + +/** @internal */ +export type CancelDeploymentRoutes1$Outbound = { + src: string; + dest?: string | undefined; + headers?: { [k: string]: string } | undefined; + methods?: Array | undefined; + continue?: boolean | undefined; + override?: boolean | undefined; + caseSensitive?: boolean | undefined; + check?: boolean | undefined; + important?: boolean | undefined; + status?: number | undefined; + has?: + | Array + | undefined; + missing?: + | Array< + CancelDeploymentMissing1$Outbound | CancelDeploymentMissing2$Outbound + > + | undefined; + locale?: RoutesLocale$Outbound | undefined; + middlewarePath?: string | undefined; + middlewareRawSrc?: Array | undefined; + middleware?: number | undefined; +}; + +/** @internal */ +export const CancelDeploymentRoutes1$outboundSchema: z.ZodType< + CancelDeploymentRoutes1$Outbound, + z.ZodTypeDef, + CancelDeploymentRoutes1 +> = z.object({ + src: z.string(), + dest: z.string().optional(), + headers: z.record(z.string()).optional(), + methods: z.array(z.string()).optional(), + continue: z.boolean().optional(), + override: z.boolean().optional(), + caseSensitive: z.boolean().optional(), + check: z.boolean().optional(), + important: z.boolean().optional(), + status: z.number().optional(), + has: z.array( + z.union([ + z.lazy(() => CancelDeploymentHas1$outboundSchema), + z.lazy(() => CancelDeploymentHas2$outboundSchema), + ]), + ).optional(), + missing: z.array( + z.union([ + z.lazy(() => CancelDeploymentMissing1$outboundSchema), + z.lazy(() => CancelDeploymentMissing2$outboundSchema), + ]), + ).optional(), + locale: z.lazy(() => RoutesLocale$outboundSchema).optional(), + middlewarePath: z.string().optional(), + middlewareRawSrc: z.array(z.string()).optional(), + middleware: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentRoutes1$ { + /** @deprecated use `CancelDeploymentRoutes1$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentRoutes1$inboundSchema; + /** @deprecated use `CancelDeploymentRoutes1$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentRoutes1$outboundSchema; + /** @deprecated use `CancelDeploymentRoutes1$Outbound` instead. */ + export type Outbound = CancelDeploymentRoutes1$Outbound; +} + +export function cancelDeploymentRoutes1ToJSON( + cancelDeploymentRoutes1: CancelDeploymentRoutes1, +): string { + return JSON.stringify( + CancelDeploymentRoutes1$outboundSchema.parse(cancelDeploymentRoutes1), + ); +} + +export function cancelDeploymentRoutes1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentRoutes1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentRoutes1' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentRoutes$inboundSchema: z.ZodType< + CancelDeploymentRoutes, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CancelDeploymentRoutes3$inboundSchema), + z.lazy(() => CancelDeploymentRoutes2$inboundSchema), + z.lazy(() => CancelDeploymentRoutes1$inboundSchema), +]); + +/** @internal */ +export type CancelDeploymentRoutes$Outbound = + | CancelDeploymentRoutes3$Outbound + | CancelDeploymentRoutes2$Outbound + | CancelDeploymentRoutes1$Outbound; + +/** @internal */ +export const CancelDeploymentRoutes$outboundSchema: z.ZodType< + CancelDeploymentRoutes$Outbound, + z.ZodTypeDef, + CancelDeploymentRoutes +> = z.union([ + z.lazy(() => CancelDeploymentRoutes3$outboundSchema), + z.lazy(() => CancelDeploymentRoutes2$outboundSchema), + z.lazy(() => CancelDeploymentRoutes1$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentRoutes$ { + /** @deprecated use `CancelDeploymentRoutes$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentRoutes$inboundSchema; + /** @deprecated use `CancelDeploymentRoutes$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentRoutes$outboundSchema; + /** @deprecated use `CancelDeploymentRoutes$Outbound` instead. */ + export type Outbound = CancelDeploymentRoutes$Outbound; +} + +export function cancelDeploymentRoutesToJSON( + cancelDeploymentRoutes: CancelDeploymentRoutes, +): string { + return JSON.stringify( + CancelDeploymentRoutes$outboundSchema.parse(cancelDeploymentRoutes), + ); +} + +export function cancelDeploymentRoutesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentRoutes$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentRoutes' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentGitRepoDeploymentsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CancelDeploymentGitRepoDeploymentsResponseType); + +/** @internal */ +export const CancelDeploymentGitRepoDeploymentsResponseType$outboundSchema: + z.ZodNativeEnum = + CancelDeploymentGitRepoDeploymentsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitRepoDeploymentsResponseType$ { + /** @deprecated use `CancelDeploymentGitRepoDeploymentsResponseType$inboundSchema` instead. */ + export const inboundSchema = + CancelDeploymentGitRepoDeploymentsResponseType$inboundSchema; + /** @deprecated use `CancelDeploymentGitRepoDeploymentsResponseType$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentGitRepoDeploymentsResponseType$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema: + z.ZodNativeEnum = + z.nativeEnum(CancelDeploymentGitRepoDeploymentsResponseOwnerType); + +/** @internal */ +export const CancelDeploymentGitRepoDeploymentsResponseOwnerType$outboundSchema: + z.ZodNativeEnum = + CancelDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitRepoDeploymentsResponseOwnerType$ { + /** @deprecated use `CancelDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema` instead. */ + export const inboundSchema = + CancelDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema; + /** @deprecated use `CancelDeploymentGitRepoDeploymentsResponseOwnerType$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentGitRepoDeploymentsResponseOwnerType$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentGitRepo3$inboundSchema: z.ZodType< + CancelDeploymentGitRepo3, + z.ZodTypeDef, + unknown +> = z.object({ + owner: z.string(), + repoUuid: z.string(), + slug: z.string(), + type: CancelDeploymentGitRepoDeploymentsResponseType$inboundSchema, + workspaceUuid: z.string(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: CancelDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema, +}); + +/** @internal */ +export type CancelDeploymentGitRepo3$Outbound = { + owner: string; + repoUuid: string; + slug: string; + type: string; + workspaceUuid: string; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: string; +}; + +/** @internal */ +export const CancelDeploymentGitRepo3$outboundSchema: z.ZodType< + CancelDeploymentGitRepo3$Outbound, + z.ZodTypeDef, + CancelDeploymentGitRepo3 +> = z.object({ + owner: z.string(), + repoUuid: z.string(), + slug: z.string(), + type: CancelDeploymentGitRepoDeploymentsResponseType$outboundSchema, + workspaceUuid: z.string(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: CancelDeploymentGitRepoDeploymentsResponseOwnerType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitRepo3$ { + /** @deprecated use `CancelDeploymentGitRepo3$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentGitRepo3$inboundSchema; + /** @deprecated use `CancelDeploymentGitRepo3$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentGitRepo3$outboundSchema; + /** @deprecated use `CancelDeploymentGitRepo3$Outbound` instead. */ + export type Outbound = CancelDeploymentGitRepo3$Outbound; +} + +export function cancelDeploymentGitRepo3ToJSON( + cancelDeploymentGitRepo3: CancelDeploymentGitRepo3, +): string { + return JSON.stringify( + CancelDeploymentGitRepo3$outboundSchema.parse(cancelDeploymentGitRepo3), + ); +} + +export function cancelDeploymentGitRepo3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentGitRepo3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentGitRepo3' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentGitRepoDeploymentsType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CancelDeploymentGitRepoDeploymentsType, + ); + +/** @internal */ +export const CancelDeploymentGitRepoDeploymentsType$outboundSchema: + z.ZodNativeEnum = + CancelDeploymentGitRepoDeploymentsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitRepoDeploymentsType$ { + /** @deprecated use `CancelDeploymentGitRepoDeploymentsType$inboundSchema` instead. */ + export const inboundSchema = + CancelDeploymentGitRepoDeploymentsType$inboundSchema; + /** @deprecated use `CancelDeploymentGitRepoDeploymentsType$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentGitRepoDeploymentsType$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentGitRepoDeploymentsOwnerType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CancelDeploymentGitRepoDeploymentsOwnerType); + +/** @internal */ +export const CancelDeploymentGitRepoDeploymentsOwnerType$outboundSchema: + z.ZodNativeEnum = + CancelDeploymentGitRepoDeploymentsOwnerType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitRepoDeploymentsOwnerType$ { + /** @deprecated use `CancelDeploymentGitRepoDeploymentsOwnerType$inboundSchema` instead. */ + export const inboundSchema = + CancelDeploymentGitRepoDeploymentsOwnerType$inboundSchema; + /** @deprecated use `CancelDeploymentGitRepoDeploymentsOwnerType$outboundSchema` instead. */ + export const outboundSchema = + CancelDeploymentGitRepoDeploymentsOwnerType$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentGitRepo2$inboundSchema: z.ZodType< + CancelDeploymentGitRepo2, + z.ZodTypeDef, + unknown +> = z.object({ + org: z.string(), + repo: z.string(), + repoId: z.number(), + type: CancelDeploymentGitRepoDeploymentsType$inboundSchema, + repoOwnerId: z.number(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: CancelDeploymentGitRepoDeploymentsOwnerType$inboundSchema, +}); + +/** @internal */ +export type CancelDeploymentGitRepo2$Outbound = { + org: string; + repo: string; + repoId: number; + type: string; + repoOwnerId: number; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: string; +}; + +/** @internal */ +export const CancelDeploymentGitRepo2$outboundSchema: z.ZodType< + CancelDeploymentGitRepo2$Outbound, + z.ZodTypeDef, + CancelDeploymentGitRepo2 +> = z.object({ + org: z.string(), + repo: z.string(), + repoId: z.number(), + type: CancelDeploymentGitRepoDeploymentsType$outboundSchema, + repoOwnerId: z.number(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: CancelDeploymentGitRepoDeploymentsOwnerType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitRepo2$ { + /** @deprecated use `CancelDeploymentGitRepo2$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentGitRepo2$inboundSchema; + /** @deprecated use `CancelDeploymentGitRepo2$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentGitRepo2$outboundSchema; + /** @deprecated use `CancelDeploymentGitRepo2$Outbound` instead. */ + export type Outbound = CancelDeploymentGitRepo2$Outbound; +} + +export function cancelDeploymentGitRepo2ToJSON( + cancelDeploymentGitRepo2: CancelDeploymentGitRepo2, +): string { + return JSON.stringify( + CancelDeploymentGitRepo2$outboundSchema.parse(cancelDeploymentGitRepo2), + ); +} + +export function cancelDeploymentGitRepo2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentGitRepo2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentGitRepo2' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentGitRepoType$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentGitRepoType +> = z.nativeEnum(CancelDeploymentGitRepoType); + +/** @internal */ +export const CancelDeploymentGitRepoType$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentGitRepoType +> = CancelDeploymentGitRepoType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitRepoType$ { + /** @deprecated use `CancelDeploymentGitRepoType$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentGitRepoType$inboundSchema; + /** @deprecated use `CancelDeploymentGitRepoType$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentGitRepoType$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentGitRepoOwnerType$inboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentGitRepoOwnerType +> = z.nativeEnum(CancelDeploymentGitRepoOwnerType); + +/** @internal */ +export const CancelDeploymentGitRepoOwnerType$outboundSchema: z.ZodNativeEnum< + typeof CancelDeploymentGitRepoOwnerType +> = CancelDeploymentGitRepoOwnerType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitRepoOwnerType$ { + /** @deprecated use `CancelDeploymentGitRepoOwnerType$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentGitRepoOwnerType$inboundSchema; + /** @deprecated use `CancelDeploymentGitRepoOwnerType$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentGitRepoOwnerType$outboundSchema; +} + +/** @internal */ +export const CancelDeploymentGitRepo1$inboundSchema: z.ZodType< + CancelDeploymentGitRepo1, + z.ZodTypeDef, + unknown +> = z.object({ + namespace: z.string(), + projectId: z.number(), + type: CancelDeploymentGitRepoType$inboundSchema, + url: z.string(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: CancelDeploymentGitRepoOwnerType$inboundSchema, +}); + +/** @internal */ +export type CancelDeploymentGitRepo1$Outbound = { + namespace: string; + projectId: number; + type: string; + url: string; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: string; +}; + +/** @internal */ +export const CancelDeploymentGitRepo1$outboundSchema: z.ZodType< + CancelDeploymentGitRepo1$Outbound, + z.ZodTypeDef, + CancelDeploymentGitRepo1 +> = z.object({ + namespace: z.string(), + projectId: z.number(), + type: CancelDeploymentGitRepoType$outboundSchema, + url: z.string(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: CancelDeploymentGitRepoOwnerType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitRepo1$ { + /** @deprecated use `CancelDeploymentGitRepo1$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentGitRepo1$inboundSchema; + /** @deprecated use `CancelDeploymentGitRepo1$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentGitRepo1$outboundSchema; + /** @deprecated use `CancelDeploymentGitRepo1$Outbound` instead. */ + export type Outbound = CancelDeploymentGitRepo1$Outbound; +} + +export function cancelDeploymentGitRepo1ToJSON( + cancelDeploymentGitRepo1: CancelDeploymentGitRepo1, +): string { + return JSON.stringify( + CancelDeploymentGitRepo1$outboundSchema.parse(cancelDeploymentGitRepo1), + ); +} + +export function cancelDeploymentGitRepo1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentGitRepo1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentGitRepo1' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentGitRepo$inboundSchema: z.ZodType< + CancelDeploymentGitRepo, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CancelDeploymentGitRepo1$inboundSchema), + z.lazy(() => CancelDeploymentGitRepo2$inboundSchema), + z.lazy(() => CancelDeploymentGitRepo3$inboundSchema), +]); + +/** @internal */ +export type CancelDeploymentGitRepo$Outbound = + | CancelDeploymentGitRepo1$Outbound + | CancelDeploymentGitRepo2$Outbound + | CancelDeploymentGitRepo3$Outbound; + +/** @internal */ +export const CancelDeploymentGitRepo$outboundSchema: z.ZodType< + CancelDeploymentGitRepo$Outbound, + z.ZodTypeDef, + CancelDeploymentGitRepo +> = z.union([ + z.lazy(() => CancelDeploymentGitRepo1$outboundSchema), + z.lazy(() => CancelDeploymentGitRepo2$outboundSchema), + z.lazy(() => CancelDeploymentGitRepo3$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentGitRepo$ { + /** @deprecated use `CancelDeploymentGitRepo$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentGitRepo$inboundSchema; + /** @deprecated use `CancelDeploymentGitRepo$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentGitRepo$outboundSchema; + /** @deprecated use `CancelDeploymentGitRepo$Outbound` instead. */ + export type Outbound = CancelDeploymentGitRepo$Outbound; +} + +export function cancelDeploymentGitRepoToJSON( + cancelDeploymentGitRepo: CancelDeploymentGitRepo, +): string { + return JSON.stringify( + CancelDeploymentGitRepo$outboundSchema.parse(cancelDeploymentGitRepo), + ); +} + +export function cancelDeploymentGitRepoFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentGitRepo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentGitRepo' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentFlags2$inboundSchema: z.ZodType< + CancelDeploymentFlags2, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type CancelDeploymentFlags2$Outbound = {}; + +/** @internal */ +export const CancelDeploymentFlags2$outboundSchema: z.ZodType< + CancelDeploymentFlags2$Outbound, + z.ZodTypeDef, + CancelDeploymentFlags2 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentFlags2$ { + /** @deprecated use `CancelDeploymentFlags2$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentFlags2$inboundSchema; + /** @deprecated use `CancelDeploymentFlags2$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentFlags2$outboundSchema; + /** @deprecated use `CancelDeploymentFlags2$Outbound` instead. */ + export type Outbound = CancelDeploymentFlags2$Outbound; +} + +export function cancelDeploymentFlags2ToJSON( + cancelDeploymentFlags2: CancelDeploymentFlags2, +): string { + return JSON.stringify( + CancelDeploymentFlags2$outboundSchema.parse(cancelDeploymentFlags2), + ); +} + +export function cancelDeploymentFlags2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentFlags2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentFlags2' from JSON`, + ); +} + +/** @internal */ +export const FlagsOptions$inboundSchema: z.ZodType< + FlagsOptions, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(FlagJSONValue$inboundSchema), + label: z.string().optional(), +}); + +/** @internal */ +export type FlagsOptions$Outbound = { + value: FlagJSONValue$Outbound | null; + label?: string | undefined; +}; + +/** @internal */ +export const FlagsOptions$outboundSchema: z.ZodType< + FlagsOptions$Outbound, + z.ZodTypeDef, + FlagsOptions +> = z.object({ + value: z.nullable(FlagJSONValue$outboundSchema), + label: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FlagsOptions$ { + /** @deprecated use `FlagsOptions$inboundSchema` instead. */ + export const inboundSchema = FlagsOptions$inboundSchema; + /** @deprecated use `FlagsOptions$outboundSchema` instead. */ + export const outboundSchema = FlagsOptions$outboundSchema; + /** @deprecated use `FlagsOptions$Outbound` instead. */ + export type Outbound = FlagsOptions$Outbound; +} + +export function flagsOptionsToJSON(flagsOptions: FlagsOptions): string { + return JSON.stringify(FlagsOptions$outboundSchema.parse(flagsOptions)); +} + +export function flagsOptionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FlagsOptions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FlagsOptions' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentFlagsDefinitions$inboundSchema: z.ZodType< + CancelDeploymentFlagsDefinitions, + z.ZodTypeDef, + unknown +> = z.object({ + options: z.array(z.lazy(() => FlagsOptions$inboundSchema)).optional(), + url: z.string().optional(), + description: z.string().optional(), +}); + +/** @internal */ +export type CancelDeploymentFlagsDefinitions$Outbound = { + options?: Array | undefined; + url?: string | undefined; + description?: string | undefined; +}; + +/** @internal */ +export const CancelDeploymentFlagsDefinitions$outboundSchema: z.ZodType< + CancelDeploymentFlagsDefinitions$Outbound, + z.ZodTypeDef, + CancelDeploymentFlagsDefinitions +> = z.object({ + options: z.array(z.lazy(() => FlagsOptions$outboundSchema)).optional(), + url: z.string().optional(), + description: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentFlagsDefinitions$ { + /** @deprecated use `CancelDeploymentFlagsDefinitions$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentFlagsDefinitions$inboundSchema; + /** @deprecated use `CancelDeploymentFlagsDefinitions$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentFlagsDefinitions$outboundSchema; + /** @deprecated use `CancelDeploymentFlagsDefinitions$Outbound` instead. */ + export type Outbound = CancelDeploymentFlagsDefinitions$Outbound; +} + +export function cancelDeploymentFlagsDefinitionsToJSON( + cancelDeploymentFlagsDefinitions: CancelDeploymentFlagsDefinitions, +): string { + return JSON.stringify( + CancelDeploymentFlagsDefinitions$outboundSchema.parse( + cancelDeploymentFlagsDefinitions, + ), + ); +} + +export function cancelDeploymentFlagsDefinitionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentFlagsDefinitions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentFlagsDefinitions' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentFlags1$inboundSchema: z.ZodType< + CancelDeploymentFlags1, + z.ZodTypeDef, + unknown +> = z.object({ + definitions: z.record( + z.lazy(() => CancelDeploymentFlagsDefinitions$inboundSchema), + ), +}); + +/** @internal */ +export type CancelDeploymentFlags1$Outbound = { + definitions: { [k: string]: CancelDeploymentFlagsDefinitions$Outbound }; +}; + +/** @internal */ +export const CancelDeploymentFlags1$outboundSchema: z.ZodType< + CancelDeploymentFlags1$Outbound, + z.ZodTypeDef, + CancelDeploymentFlags1 +> = z.object({ + definitions: z.record( + z.lazy(() => CancelDeploymentFlagsDefinitions$outboundSchema), + ), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentFlags1$ { + /** @deprecated use `CancelDeploymentFlags1$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentFlags1$inboundSchema; + /** @deprecated use `CancelDeploymentFlags1$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentFlags1$outboundSchema; + /** @deprecated use `CancelDeploymentFlags1$Outbound` instead. */ + export type Outbound = CancelDeploymentFlags1$Outbound; +} + +export function cancelDeploymentFlags1ToJSON( + cancelDeploymentFlags1: CancelDeploymentFlags1, +): string { + return JSON.stringify( + CancelDeploymentFlags1$outboundSchema.parse(cancelDeploymentFlags1), + ); +} + +export function cancelDeploymentFlags1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentFlags1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentFlags1' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentFlags$inboundSchema: z.ZodType< + CancelDeploymentFlags, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CancelDeploymentFlags1$inboundSchema), + z.array(z.lazy(() => CancelDeploymentFlags2$inboundSchema)), +]); + +/** @internal */ +export type CancelDeploymentFlags$Outbound = + | CancelDeploymentFlags1$Outbound + | Array; + +/** @internal */ +export const CancelDeploymentFlags$outboundSchema: z.ZodType< + CancelDeploymentFlags$Outbound, + z.ZodTypeDef, + CancelDeploymentFlags +> = z.union([ + z.lazy(() => CancelDeploymentFlags1$outboundSchema), + z.array(z.lazy(() => CancelDeploymentFlags2$outboundSchema)), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentFlags$ { + /** @deprecated use `CancelDeploymentFlags$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentFlags$inboundSchema; + /** @deprecated use `CancelDeploymentFlags$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentFlags$outboundSchema; + /** @deprecated use `CancelDeploymentFlags$Outbound` instead. */ + export type Outbound = CancelDeploymentFlags$Outbound; +} + +export function cancelDeploymentFlagsToJSON( + cancelDeploymentFlags: CancelDeploymentFlags, +): string { + return JSON.stringify( + CancelDeploymentFlags$outboundSchema.parse(cancelDeploymentFlags), + ); +} + +export function cancelDeploymentFlagsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentFlags$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentFlags' from JSON`, + ); +} + +/** @internal */ +export const MicrofrontendsApplications$inboundSchema: z.ZodType< + MicrofrontendsApplications, + z.ZodTypeDef, + unknown +> = z.object({ + productionHost: z.string(), + deploymentAlias: z.string().optional(), + deploymentHost: z.string().optional(), +}); + +/** @internal */ +export type MicrofrontendsApplications$Outbound = { + productionHost: string; + deploymentAlias?: string | undefined; + deploymentHost?: string | undefined; +}; + +/** @internal */ +export const MicrofrontendsApplications$outboundSchema: z.ZodType< + MicrofrontendsApplications$Outbound, + z.ZodTypeDef, + MicrofrontendsApplications +> = z.object({ + productionHost: z.string(), + deploymentAlias: z.string().optional(), + deploymentHost: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace MicrofrontendsApplications$ { + /** @deprecated use `MicrofrontendsApplications$inboundSchema` instead. */ + export const inboundSchema = MicrofrontendsApplications$inboundSchema; + /** @deprecated use `MicrofrontendsApplications$outboundSchema` instead. */ + export const outboundSchema = MicrofrontendsApplications$outboundSchema; + /** @deprecated use `MicrofrontendsApplications$Outbound` instead. */ + export type Outbound = MicrofrontendsApplications$Outbound; +} + +export function microfrontendsApplicationsToJSON( + microfrontendsApplications: MicrofrontendsApplications, +): string { + return JSON.stringify( + MicrofrontendsApplications$outboundSchema.parse(microfrontendsApplications), + ); +} + +export function microfrontendsApplicationsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => MicrofrontendsApplications$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MicrofrontendsApplications' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentMicrofrontends2$inboundSchema: z.ZodType< + CancelDeploymentMicrofrontends2, + z.ZodTypeDef, + unknown +> = z.object({ + applications: z.record(z.lazy(() => MicrofrontendsApplications$inboundSchema)) + .optional(), + isDefaultApp: z.boolean(), + defaultRoute: z.string().optional(), + groupIds: z.array(z.string()), +}); + +/** @internal */ +export type CancelDeploymentMicrofrontends2$Outbound = { + applications?: + | { [k: string]: MicrofrontendsApplications$Outbound } + | undefined; + isDefaultApp: boolean; + defaultRoute?: string | undefined; + groupIds: Array; +}; + +/** @internal */ +export const CancelDeploymentMicrofrontends2$outboundSchema: z.ZodType< + CancelDeploymentMicrofrontends2$Outbound, + z.ZodTypeDef, + CancelDeploymentMicrofrontends2 +> = z.object({ + applications: z.record( + z.lazy(() => MicrofrontendsApplications$outboundSchema), + ).optional(), + isDefaultApp: z.boolean(), + defaultRoute: z.string().optional(), + groupIds: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentMicrofrontends2$ { + /** @deprecated use `CancelDeploymentMicrofrontends2$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentMicrofrontends2$inboundSchema; + /** @deprecated use `CancelDeploymentMicrofrontends2$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentMicrofrontends2$outboundSchema; + /** @deprecated use `CancelDeploymentMicrofrontends2$Outbound` instead. */ + export type Outbound = CancelDeploymentMicrofrontends2$Outbound; +} + +export function cancelDeploymentMicrofrontends2ToJSON( + cancelDeploymentMicrofrontends2: CancelDeploymentMicrofrontends2, +): string { + return JSON.stringify( + CancelDeploymentMicrofrontends2$outboundSchema.parse( + cancelDeploymentMicrofrontends2, + ), + ); +} + +export function cancelDeploymentMicrofrontends2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentMicrofrontends2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentMicrofrontends2' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentMicrofrontends1$inboundSchema: z.ZodType< + CancelDeploymentMicrofrontends1, + z.ZodTypeDef, + unknown +> = z.object({ + isDefaultApp: z.boolean().optional(), + defaultRoute: z.string().optional(), + groupIds: z.array(z.string()), +}); + +/** @internal */ +export type CancelDeploymentMicrofrontends1$Outbound = { + isDefaultApp?: boolean | undefined; + defaultRoute?: string | undefined; + groupIds: Array; +}; + +/** @internal */ +export const CancelDeploymentMicrofrontends1$outboundSchema: z.ZodType< + CancelDeploymentMicrofrontends1$Outbound, + z.ZodTypeDef, + CancelDeploymentMicrofrontends1 +> = z.object({ + isDefaultApp: z.boolean().optional(), + defaultRoute: z.string().optional(), + groupIds: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentMicrofrontends1$ { + /** @deprecated use `CancelDeploymentMicrofrontends1$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentMicrofrontends1$inboundSchema; + /** @deprecated use `CancelDeploymentMicrofrontends1$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentMicrofrontends1$outboundSchema; + /** @deprecated use `CancelDeploymentMicrofrontends1$Outbound` instead. */ + export type Outbound = CancelDeploymentMicrofrontends1$Outbound; +} + +export function cancelDeploymentMicrofrontends1ToJSON( + cancelDeploymentMicrofrontends1: CancelDeploymentMicrofrontends1, +): string { + return JSON.stringify( + CancelDeploymentMicrofrontends1$outboundSchema.parse( + cancelDeploymentMicrofrontends1, + ), + ); +} + +export function cancelDeploymentMicrofrontends1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentMicrofrontends1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentMicrofrontends1' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentMicrofrontends$inboundSchema: z.ZodType< + CancelDeploymentMicrofrontends, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CancelDeploymentMicrofrontends1$inboundSchema), + z.lazy(() => CancelDeploymentMicrofrontends2$inboundSchema), +]); + +/** @internal */ +export type CancelDeploymentMicrofrontends$Outbound = + | CancelDeploymentMicrofrontends1$Outbound + | CancelDeploymentMicrofrontends2$Outbound; + +/** @internal */ +export const CancelDeploymentMicrofrontends$outboundSchema: z.ZodType< + CancelDeploymentMicrofrontends$Outbound, + z.ZodTypeDef, + CancelDeploymentMicrofrontends +> = z.union([ + z.lazy(() => CancelDeploymentMicrofrontends1$outboundSchema), + z.lazy(() => CancelDeploymentMicrofrontends2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentMicrofrontends$ { + /** @deprecated use `CancelDeploymentMicrofrontends$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentMicrofrontends$inboundSchema; + /** @deprecated use `CancelDeploymentMicrofrontends$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentMicrofrontends$outboundSchema; + /** @deprecated use `CancelDeploymentMicrofrontends$Outbound` instead. */ + export type Outbound = CancelDeploymentMicrofrontends$Outbound; +} + +export function cancelDeploymentMicrofrontendsToJSON( + cancelDeploymentMicrofrontends: CancelDeploymentMicrofrontends, +): string { + return JSON.stringify( + CancelDeploymentMicrofrontends$outboundSchema.parse( + cancelDeploymentMicrofrontends, + ), + ); +} + +export function cancelDeploymentMicrofrontendsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentMicrofrontends$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentMicrofrontends' from JSON`, + ); +} + +/** @internal */ +export const CancelDeploymentResponseBody$inboundSchema: z.ZodType< + CancelDeploymentResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + aliasAssignedAt: z.nullable(z.union([z.number(), z.boolean()])).optional(), + alwaysRefuseToBuild: z.boolean().optional(), + build: z.lazy(() => CancelDeploymentBuild$inboundSchema), + buildArtifactUrls: z.array(z.string()).optional(), + builds: z.array(z.lazy(() => CancelDeploymentBuilds$inboundSchema)) + .optional(), + env: z.array(z.string()), + inspectorUrl: z.nullable(z.string()), + isInConcurrentBuildsQueue: z.boolean(), + isInSystemBuildsQueue: z.boolean(), + projectSettings: z.lazy(() => CancelDeploymentProjectSettings$inboundSchema), + readyStateReason: z.string().optional(), + integrations: z.lazy(() => CancelDeploymentIntegrations$inboundSchema) + .optional(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.boolean(), + bootedAt: z.number(), + buildingAt: z.number(), + buildSkipped: z.boolean(), + creator: z.lazy(() => CancelDeploymentCreator$inboundSchema), + initReadyAt: z.number().optional(), + isFirstBranchDeployment: z.boolean().optional(), + lambdas: z.array(z.lazy(() => CancelDeploymentLambdas$inboundSchema)) + .optional(), + public: z.boolean(), + ready: z.number().optional(), + status: CancelDeploymentStatus$inboundSchema, + team: z.lazy(() => CancelDeploymentTeam$inboundSchema).optional(), + userAliases: z.array(z.string()).optional(), + previewCommentsEnabled: z.boolean().optional(), + ttyBuildLogs: z.boolean().optional(), + customEnvironment: z.union([ + z.lazy(() => CancelDeploymentCustomEnvironment1$inboundSchema), + z.lazy(() => CancelDeploymentCustomEnvironment2$inboundSchema), + ]).optional(), + id: z.string(), + aliasError: z.nullable(z.lazy(() => CancelDeploymentAliasError$inboundSchema)) + .optional(), + aliasFinal: z.nullable(z.string()).optional(), + aliasWarning: z.nullable( + z.lazy(() => CancelDeploymentAliasWarning$inboundSchema), + ).optional(), + autoAssignCustomDomains: z.boolean().optional(), + automaticAliases: z.array(z.string()).optional(), + buildErrorAt: z.number().optional(), + checksState: CancelDeploymentChecksState$inboundSchema.optional(), + checksConclusion: CancelDeploymentChecksConclusion$inboundSchema.optional(), + createdAt: z.number(), + deletedAt: z.nullable(z.number()).optional(), + defaultRoute: z.string().optional(), + canceledAt: z.number().optional(), + errorCode: z.string().optional(), + errorLink: z.string().optional(), + errorMessage: z.nullable(z.string()).optional(), + errorStep: z.string().optional(), + passiveRegions: z.array(z.string()).optional(), + gitSource: z.union([ + z.lazy(() => GitSource6$inboundSchema), + z.lazy(() => GitSource8$inboundSchema), + z.lazy(() => CancelDeploymentGitSource1$inboundSchema), + z.lazy(() => CancelDeploymentGitSource3$inboundSchema), + z.lazy(() => CancelDeploymentGitSource2$inboundSchema), + z.lazy(() => CancelDeploymentGitSource4$inboundSchema), + z.lazy(() => CancelDeploymentGitSource5$inboundSchema), + z.lazy(() => GitSource7$inboundSchema), + z.lazy(() => GitSource9$inboundSchema), + ]).optional(), + name: z.string(), + meta: z.record(z.string()), + originCacheRegion: z.string().optional(), + project: z.lazy(() => CancelDeploymentProject$inboundSchema).optional(), + readyState: CancelDeploymentReadyState$inboundSchema, + readySubstate: CancelDeploymentReadySubstate$inboundSchema.optional(), + regions: z.array(z.string()), + softDeletedByRetention: z.boolean().optional(), + source: CancelDeploymentSource$inboundSchema.optional(), + target: z.nullable(CancelDeploymentTarget$inboundSchema).optional(), + type: CancelDeploymentType$inboundSchema, + undeletedAt: z.number().optional(), + url: z.string(), + version: z.number(), + oidcTokenClaims: z.lazy(() => CancelDeploymentOidcTokenClaims$inboundSchema) + .optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdIn: z.string(), + crons: z.array(z.lazy(() => CancelDeploymentCrons$inboundSchema)).optional(), + functions: z.nullable( + z.record(z.lazy(() => CancelDeploymentFunctions$inboundSchema)), + ).optional(), + monorepoManager: z.nullable(z.string()).optional(), + ownerId: z.string(), + passiveConnectConfigurationId: z.string().optional(), + plan: CancelDeploymentPlan$inboundSchema, + projectId: z.string(), + routes: z.nullable( + z.array(z.union([ + z.lazy(() => CancelDeploymentRoutes3$inboundSchema), + z.lazy(() => + CancelDeploymentRoutes2$inboundSchema + ), + z.lazy(() => CancelDeploymentRoutes1$inboundSchema), + ])), + ), + gitRepo: z.nullable( + z.union([ + z.lazy(() => CancelDeploymentGitRepo1$inboundSchema), + z.lazy(() => CancelDeploymentGitRepo2$inboundSchema), + z.lazy(() => CancelDeploymentGitRepo3$inboundSchema), + ]), + ).optional(), + flags: z.union([ + z.lazy(() => CancelDeploymentFlags1$inboundSchema), + z.array(z.lazy(() => CancelDeploymentFlags2$inboundSchema)), + ]).optional(), + microfrontends: z.union([ + z.lazy(() => CancelDeploymentMicrofrontends1$inboundSchema), + z.lazy(() => CancelDeploymentMicrofrontends2$inboundSchema), + ]).optional(), +}); + +/** @internal */ +export type CancelDeploymentResponseBody$Outbound = { + aliasAssignedAt?: number | boolean | null | undefined; + alwaysRefuseToBuild?: boolean | undefined; + build: CancelDeploymentBuild$Outbound; + buildArtifactUrls?: Array | undefined; + builds?: Array | undefined; + env: Array; + inspectorUrl: string | null; + isInConcurrentBuildsQueue: boolean; + isInSystemBuildsQueue: boolean; + projectSettings: CancelDeploymentProjectSettings$Outbound; + readyStateReason?: string | undefined; + integrations?: CancelDeploymentIntegrations$Outbound | undefined; + alias?: Array | undefined; + aliasAssigned: boolean; + bootedAt: number; + buildingAt: number; + buildSkipped: boolean; + creator: CancelDeploymentCreator$Outbound; + initReadyAt?: number | undefined; + isFirstBranchDeployment?: boolean | undefined; + lambdas?: Array | undefined; + public: boolean; + ready?: number | undefined; + status: string; + team?: CancelDeploymentTeam$Outbound | undefined; + userAliases?: Array | undefined; + previewCommentsEnabled?: boolean | undefined; + ttyBuildLogs?: boolean | undefined; + customEnvironment?: + | CancelDeploymentCustomEnvironment1$Outbound + | CancelDeploymentCustomEnvironment2$Outbound + | undefined; + id: string; + aliasError?: CancelDeploymentAliasError$Outbound | null | undefined; + aliasFinal?: string | null | undefined; + aliasWarning?: CancelDeploymentAliasWarning$Outbound | null | undefined; + autoAssignCustomDomains?: boolean | undefined; + automaticAliases?: Array | undefined; + buildErrorAt?: number | undefined; + checksState?: string | undefined; + checksConclusion?: string | undefined; + createdAt: number; + deletedAt?: number | null | undefined; + defaultRoute?: string | undefined; + canceledAt?: number | undefined; + errorCode?: string | undefined; + errorLink?: string | undefined; + errorMessage?: string | null | undefined; + errorStep?: string | undefined; + passiveRegions?: Array | undefined; + gitSource?: + | GitSource6$Outbound + | GitSource8$Outbound + | CancelDeploymentGitSource1$Outbound + | CancelDeploymentGitSource3$Outbound + | CancelDeploymentGitSource2$Outbound + | CancelDeploymentGitSource4$Outbound + | CancelDeploymentGitSource5$Outbound + | GitSource7$Outbound + | GitSource9$Outbound + | undefined; + name: string; + meta: { [k: string]: string }; + originCacheRegion?: string | undefined; + project?: CancelDeploymentProject$Outbound | undefined; + readyState: string; + readySubstate?: string | undefined; + regions: Array; + softDeletedByRetention?: boolean | undefined; + source?: string | undefined; + target?: string | null | undefined; + type: string; + undeletedAt?: number | undefined; + url: string; + version: number; + oidcTokenClaims?: CancelDeploymentOidcTokenClaims$Outbound | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdIn: string; + crons?: Array | undefined; + functions?: + | { [k: string]: CancelDeploymentFunctions$Outbound } + | null + | undefined; + monorepoManager?: string | null | undefined; + ownerId: string; + passiveConnectConfigurationId?: string | undefined; + plan: string; + projectId: string; + routes: + | Array< + | CancelDeploymentRoutes3$Outbound + | CancelDeploymentRoutes2$Outbound + | CancelDeploymentRoutes1$Outbound + > + | null; + gitRepo?: + | CancelDeploymentGitRepo1$Outbound + | CancelDeploymentGitRepo2$Outbound + | CancelDeploymentGitRepo3$Outbound + | null + | undefined; + flags?: + | CancelDeploymentFlags1$Outbound + | Array + | undefined; + microfrontends?: + | CancelDeploymentMicrofrontends1$Outbound + | CancelDeploymentMicrofrontends2$Outbound + | undefined; +}; + +/** @internal */ +export const CancelDeploymentResponseBody$outboundSchema: z.ZodType< + CancelDeploymentResponseBody$Outbound, + z.ZodTypeDef, + CancelDeploymentResponseBody +> = z.object({ + aliasAssignedAt: z.nullable(z.union([z.number(), z.boolean()])).optional(), + alwaysRefuseToBuild: z.boolean().optional(), + build: z.lazy(() => CancelDeploymentBuild$outboundSchema), + buildArtifactUrls: z.array(z.string()).optional(), + builds: z.array(z.lazy(() => CancelDeploymentBuilds$outboundSchema)) + .optional(), + env: z.array(z.string()), + inspectorUrl: z.nullable(z.string()), + isInConcurrentBuildsQueue: z.boolean(), + isInSystemBuildsQueue: z.boolean(), + projectSettings: z.lazy(() => CancelDeploymentProjectSettings$outboundSchema), + readyStateReason: z.string().optional(), + integrations: z.lazy(() => CancelDeploymentIntegrations$outboundSchema) + .optional(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.boolean(), + bootedAt: z.number(), + buildingAt: z.number(), + buildSkipped: z.boolean(), + creator: z.lazy(() => CancelDeploymentCreator$outboundSchema), + initReadyAt: z.number().optional(), + isFirstBranchDeployment: z.boolean().optional(), + lambdas: z.array(z.lazy(() => CancelDeploymentLambdas$outboundSchema)) + .optional(), + public: z.boolean(), + ready: z.number().optional(), + status: CancelDeploymentStatus$outboundSchema, + team: z.lazy(() => CancelDeploymentTeam$outboundSchema).optional(), + userAliases: z.array(z.string()).optional(), + previewCommentsEnabled: z.boolean().optional(), + ttyBuildLogs: z.boolean().optional(), + customEnvironment: z.union([ + z.lazy(() => CancelDeploymentCustomEnvironment1$outboundSchema), + z.lazy(() => CancelDeploymentCustomEnvironment2$outboundSchema), + ]).optional(), + id: z.string(), + aliasError: z.nullable( + z.lazy(() => CancelDeploymentAliasError$outboundSchema), + ).optional(), + aliasFinal: z.nullable(z.string()).optional(), + aliasWarning: z.nullable( + z.lazy(() => CancelDeploymentAliasWarning$outboundSchema), + ).optional(), + autoAssignCustomDomains: z.boolean().optional(), + automaticAliases: z.array(z.string()).optional(), + buildErrorAt: z.number().optional(), + checksState: CancelDeploymentChecksState$outboundSchema.optional(), + checksConclusion: CancelDeploymentChecksConclusion$outboundSchema.optional(), + createdAt: z.number(), + deletedAt: z.nullable(z.number()).optional(), + defaultRoute: z.string().optional(), + canceledAt: z.number().optional(), + errorCode: z.string().optional(), + errorLink: z.string().optional(), + errorMessage: z.nullable(z.string()).optional(), + errorStep: z.string().optional(), + passiveRegions: z.array(z.string()).optional(), + gitSource: z.union([ + z.lazy(() => GitSource6$outboundSchema), + z.lazy(() => GitSource8$outboundSchema), + z.lazy(() => CancelDeploymentGitSource1$outboundSchema), + z.lazy(() => CancelDeploymentGitSource3$outboundSchema), + z.lazy(() => CancelDeploymentGitSource2$outboundSchema), + z.lazy(() => CancelDeploymentGitSource4$outboundSchema), + z.lazy(() => CancelDeploymentGitSource5$outboundSchema), + z.lazy(() => GitSource7$outboundSchema), + z.lazy(() => GitSource9$outboundSchema), + ]).optional(), + name: z.string(), + meta: z.record(z.string()), + originCacheRegion: z.string().optional(), + project: z.lazy(() => CancelDeploymentProject$outboundSchema).optional(), + readyState: CancelDeploymentReadyState$outboundSchema, + readySubstate: CancelDeploymentReadySubstate$outboundSchema.optional(), + regions: z.array(z.string()), + softDeletedByRetention: z.boolean().optional(), + source: CancelDeploymentSource$outboundSchema.optional(), + target: z.nullable(CancelDeploymentTarget$outboundSchema).optional(), + type: CancelDeploymentType$outboundSchema, + undeletedAt: z.number().optional(), + url: z.string(), + version: z.number(), + oidcTokenClaims: z.lazy(() => CancelDeploymentOidcTokenClaims$outboundSchema) + .optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdIn: z.string(), + crons: z.array(z.lazy(() => CancelDeploymentCrons$outboundSchema)).optional(), + functions: z.nullable( + z.record(z.lazy(() => CancelDeploymentFunctions$outboundSchema)), + ).optional(), + monorepoManager: z.nullable(z.string()).optional(), + ownerId: z.string(), + passiveConnectConfigurationId: z.string().optional(), + plan: CancelDeploymentPlan$outboundSchema, + projectId: z.string(), + routes: z.nullable( + z.array(z.union([ + z.lazy(() => CancelDeploymentRoutes3$outboundSchema), + z.lazy(() => + CancelDeploymentRoutes2$outboundSchema + ), + z.lazy(() => CancelDeploymentRoutes1$outboundSchema), + ])), + ), + gitRepo: z.nullable( + z.union([ + z.lazy(() => CancelDeploymentGitRepo1$outboundSchema), + z.lazy(() => CancelDeploymentGitRepo2$outboundSchema), + z.lazy(() => CancelDeploymentGitRepo3$outboundSchema), + ]), + ).optional(), + flags: z.union([ + z.lazy(() => CancelDeploymentFlags1$outboundSchema), + z.array(z.lazy(() => CancelDeploymentFlags2$outboundSchema)), + ]).optional(), + microfrontends: z.union([ + z.lazy(() => CancelDeploymentMicrofrontends1$outboundSchema), + z.lazy(() => CancelDeploymentMicrofrontends2$outboundSchema), + ]).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CancelDeploymentResponseBody$ { + /** @deprecated use `CancelDeploymentResponseBody$inboundSchema` instead. */ + export const inboundSchema = CancelDeploymentResponseBody$inboundSchema; + /** @deprecated use `CancelDeploymentResponseBody$outboundSchema` instead. */ + export const outboundSchema = CancelDeploymentResponseBody$outboundSchema; + /** @deprecated use `CancelDeploymentResponseBody$Outbound` instead. */ + export type Outbound = CancelDeploymentResponseBody$Outbound; +} + +export function cancelDeploymentResponseBodyToJSON( + cancelDeploymentResponseBody: CancelDeploymentResponseBody, +): string { + return JSON.stringify( + CancelDeploymentResponseBody$outboundSchema.parse( + cancelDeploymentResponseBody, + ), + ); +} + +export function cancelDeploymentResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancelDeploymentResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancelDeploymentResponseBody' from JSON`, + ); +} diff --git a/src/models/checkdomainpriceop.ts b/src/models/checkdomainpriceop.ts new file mode 100644 index 00000000..07b4fd28 --- /dev/null +++ b/src/models/checkdomainpriceop.ts @@ -0,0 +1,181 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * In which status of the domain the price needs to be checked. + */ +export const QueryParamType = { + New: "new", + Renewal: "renewal", + Transfer: "transfer", + Redemption: "redemption", +} as const; +/** + * In which status of the domain the price needs to be checked. + */ +export type QueryParamType = ClosedEnum; + +export type CheckDomainPriceRequest = { + /** + * The name of the domain for which the price needs to be checked. + */ + name: string; + /** + * In which status of the domain the price needs to be checked. + */ + type?: QueryParamType | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * Successful response which returns the price of the domain and the period. + */ +export type CheckDomainPriceResponseBody = {}; + +/** @internal */ +export const QueryParamType$inboundSchema: z.ZodNativeEnum< + typeof QueryParamType +> = z.nativeEnum(QueryParamType); + +/** @internal */ +export const QueryParamType$outboundSchema: z.ZodNativeEnum< + typeof QueryParamType +> = QueryParamType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace QueryParamType$ { + /** @deprecated use `QueryParamType$inboundSchema` instead. */ + export const inboundSchema = QueryParamType$inboundSchema; + /** @deprecated use `QueryParamType$outboundSchema` instead. */ + export const outboundSchema = QueryParamType$outboundSchema; +} + +/** @internal */ +export const CheckDomainPriceRequest$inboundSchema: z.ZodType< + CheckDomainPriceRequest, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + type: QueryParamType$inboundSchema.optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type CheckDomainPriceRequest$Outbound = { + name: string; + type?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const CheckDomainPriceRequest$outboundSchema: z.ZodType< + CheckDomainPriceRequest$Outbound, + z.ZodTypeDef, + CheckDomainPriceRequest +> = z.object({ + name: z.string(), + type: QueryParamType$outboundSchema.optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CheckDomainPriceRequest$ { + /** @deprecated use `CheckDomainPriceRequest$inboundSchema` instead. */ + export const inboundSchema = CheckDomainPriceRequest$inboundSchema; + /** @deprecated use `CheckDomainPriceRequest$outboundSchema` instead. */ + export const outboundSchema = CheckDomainPriceRequest$outboundSchema; + /** @deprecated use `CheckDomainPriceRequest$Outbound` instead. */ + export type Outbound = CheckDomainPriceRequest$Outbound; +} + +export function checkDomainPriceRequestToJSON( + checkDomainPriceRequest: CheckDomainPriceRequest, +): string { + return JSON.stringify( + CheckDomainPriceRequest$outboundSchema.parse(checkDomainPriceRequest), + ); +} + +export function checkDomainPriceRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CheckDomainPriceRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CheckDomainPriceRequest' from JSON`, + ); +} + +/** @internal */ +export const CheckDomainPriceResponseBody$inboundSchema: z.ZodType< + CheckDomainPriceResponseBody, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type CheckDomainPriceResponseBody$Outbound = {}; + +/** @internal */ +export const CheckDomainPriceResponseBody$outboundSchema: z.ZodType< + CheckDomainPriceResponseBody$Outbound, + z.ZodTypeDef, + CheckDomainPriceResponseBody +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CheckDomainPriceResponseBody$ { + /** @deprecated use `CheckDomainPriceResponseBody$inboundSchema` instead. */ + export const inboundSchema = CheckDomainPriceResponseBody$inboundSchema; + /** @deprecated use `CheckDomainPriceResponseBody$outboundSchema` instead. */ + export const outboundSchema = CheckDomainPriceResponseBody$outboundSchema; + /** @deprecated use `CheckDomainPriceResponseBody$Outbound` instead. */ + export type Outbound = CheckDomainPriceResponseBody$Outbound; +} + +export function checkDomainPriceResponseBodyToJSON( + checkDomainPriceResponseBody: CheckDomainPriceResponseBody, +): string { + return JSON.stringify( + CheckDomainPriceResponseBody$outboundSchema.parse( + checkDomainPriceResponseBody, + ), + ); +} + +export function checkDomainPriceResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CheckDomainPriceResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CheckDomainPriceResponseBody' from JSON`, + ); +} diff --git a/src/models/checkdomainstatusop.ts b/src/models/checkdomainstatusop.ts new file mode 100644 index 00000000..a3800740 --- /dev/null +++ b/src/models/checkdomainstatusop.ts @@ -0,0 +1,146 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type CheckDomainStatusRequest = { + /** + * The name of the domain for which we would like to check the status. + */ + name: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * Successful response checking if a Domain's name is available. + */ +export type CheckDomainStatusResponseBody = { + available: boolean; +}; + +/** @internal */ +export const CheckDomainStatusRequest$inboundSchema: z.ZodType< + CheckDomainStatusRequest, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type CheckDomainStatusRequest$Outbound = { + name: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const CheckDomainStatusRequest$outboundSchema: z.ZodType< + CheckDomainStatusRequest$Outbound, + z.ZodTypeDef, + CheckDomainStatusRequest +> = z.object({ + name: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CheckDomainStatusRequest$ { + /** @deprecated use `CheckDomainStatusRequest$inboundSchema` instead. */ + export const inboundSchema = CheckDomainStatusRequest$inboundSchema; + /** @deprecated use `CheckDomainStatusRequest$outboundSchema` instead. */ + export const outboundSchema = CheckDomainStatusRequest$outboundSchema; + /** @deprecated use `CheckDomainStatusRequest$Outbound` instead. */ + export type Outbound = CheckDomainStatusRequest$Outbound; +} + +export function checkDomainStatusRequestToJSON( + checkDomainStatusRequest: CheckDomainStatusRequest, +): string { + return JSON.stringify( + CheckDomainStatusRequest$outboundSchema.parse(checkDomainStatusRequest), + ); +} + +export function checkDomainStatusRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CheckDomainStatusRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CheckDomainStatusRequest' from JSON`, + ); +} + +/** @internal */ +export const CheckDomainStatusResponseBody$inboundSchema: z.ZodType< + CheckDomainStatusResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + available: z.boolean(), +}); + +/** @internal */ +export type CheckDomainStatusResponseBody$Outbound = { + available: boolean; +}; + +/** @internal */ +export const CheckDomainStatusResponseBody$outboundSchema: z.ZodType< + CheckDomainStatusResponseBody$Outbound, + z.ZodTypeDef, + CheckDomainStatusResponseBody +> = z.object({ + available: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CheckDomainStatusResponseBody$ { + /** @deprecated use `CheckDomainStatusResponseBody$inboundSchema` instead. */ + export const inboundSchema = CheckDomainStatusResponseBody$inboundSchema; + /** @deprecated use `CheckDomainStatusResponseBody$outboundSchema` instead. */ + export const outboundSchema = CheckDomainStatusResponseBody$outboundSchema; + /** @deprecated use `CheckDomainStatusResponseBody$Outbound` instead. */ + export type Outbound = CheckDomainStatusResponseBody$Outbound; +} + +export function checkDomainStatusResponseBodyToJSON( + checkDomainStatusResponseBody: CheckDomainStatusResponseBody, +): string { + return JSON.stringify( + CheckDomainStatusResponseBody$outboundSchema.parse( + checkDomainStatusResponseBody, + ), + ); +} + +export function checkDomainStatusResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CheckDomainStatusResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CheckDomainStatusResponseBody' from JSON`, + ); +} diff --git a/src/models/createaccessgroupop.ts b/src/models/createaccessgroupop.ts new file mode 100644 index 00000000..57b27d74 --- /dev/null +++ b/src/models/createaccessgroupop.ts @@ -0,0 +1,367 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * The project role that will be added to this Access Group. \"null\" will remove this project level role. + */ +export const CreateAccessGroupRole = { + Admin: "ADMIN", + ProjectViewer: "PROJECT_VIEWER", + ProjectDeveloper: "PROJECT_DEVELOPER", +} as const; +/** + * The project role that will be added to this Access Group. \"null\" will remove this project level role. + */ +export type CreateAccessGroupRole = ClosedEnum; + +export type CreateAccessGroupProjects = { + /** + * The ID of the project. + */ + projectId: string; + /** + * The project role that will be added to this Access Group. \"null\" will remove this project level role. + */ + role: CreateAccessGroupRole | null; +}; + +export type CreateAccessGroupRequestBody = { + /** + * The name of the access group + */ + name: string; + projects?: Array | undefined; + /** + * List of members to add to the access group. + */ + membersToAdd?: Array | undefined; +}; + +export type CreateAccessGroupRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: CreateAccessGroupRequestBody; +}; + +export type CreateAccessGroupResponseBody = { + membersCount: number; + projectsCount: number; + /** + * The name of this access group. + */ + name: string; + /** + * Timestamp in milliseconds when the access group was created. + */ + createdAt: string; + /** + * ID of the team that this access group belongs to. + */ + teamId: string; + /** + * Timestamp in milliseconds when the access group was last updated. + */ + updatedAt: string; + /** + * ID of the access group. + */ + accessGroupId: string; +}; + +/** @internal */ +export const CreateAccessGroupRole$inboundSchema: z.ZodNativeEnum< + typeof CreateAccessGroupRole +> = z.nativeEnum(CreateAccessGroupRole); + +/** @internal */ +export const CreateAccessGroupRole$outboundSchema: z.ZodNativeEnum< + typeof CreateAccessGroupRole +> = CreateAccessGroupRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateAccessGroupRole$ { + /** @deprecated use `CreateAccessGroupRole$inboundSchema` instead. */ + export const inboundSchema = CreateAccessGroupRole$inboundSchema; + /** @deprecated use `CreateAccessGroupRole$outboundSchema` instead. */ + export const outboundSchema = CreateAccessGroupRole$outboundSchema; +} + +/** @internal */ +export const CreateAccessGroupProjects$inboundSchema: z.ZodType< + CreateAccessGroupProjects, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string(), + role: z.nullable(CreateAccessGroupRole$inboundSchema), +}); + +/** @internal */ +export type CreateAccessGroupProjects$Outbound = { + projectId: string; + role: string | null; +}; + +/** @internal */ +export const CreateAccessGroupProjects$outboundSchema: z.ZodType< + CreateAccessGroupProjects$Outbound, + z.ZodTypeDef, + CreateAccessGroupProjects +> = z.object({ + projectId: z.string(), + role: z.nullable(CreateAccessGroupRole$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateAccessGroupProjects$ { + /** @deprecated use `CreateAccessGroupProjects$inboundSchema` instead. */ + export const inboundSchema = CreateAccessGroupProjects$inboundSchema; + /** @deprecated use `CreateAccessGroupProjects$outboundSchema` instead. */ + export const outboundSchema = CreateAccessGroupProjects$outboundSchema; + /** @deprecated use `CreateAccessGroupProjects$Outbound` instead. */ + export type Outbound = CreateAccessGroupProjects$Outbound; +} + +export function createAccessGroupProjectsToJSON( + createAccessGroupProjects: CreateAccessGroupProjects, +): string { + return JSON.stringify( + CreateAccessGroupProjects$outboundSchema.parse(createAccessGroupProjects), + ); +} + +export function createAccessGroupProjectsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateAccessGroupProjects$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateAccessGroupProjects' from JSON`, + ); +} + +/** @internal */ +export const CreateAccessGroupRequestBody$inboundSchema: z.ZodType< + CreateAccessGroupRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + projects: z.array(z.lazy(() => CreateAccessGroupProjects$inboundSchema)) + .optional(), + membersToAdd: z.array(z.string()).optional(), +}); + +/** @internal */ +export type CreateAccessGroupRequestBody$Outbound = { + name: string; + projects?: Array | undefined; + membersToAdd?: Array | undefined; +}; + +/** @internal */ +export const CreateAccessGroupRequestBody$outboundSchema: z.ZodType< + CreateAccessGroupRequestBody$Outbound, + z.ZodTypeDef, + CreateAccessGroupRequestBody +> = z.object({ + name: z.string(), + projects: z.array(z.lazy(() => CreateAccessGroupProjects$outboundSchema)) + .optional(), + membersToAdd: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateAccessGroupRequestBody$ { + /** @deprecated use `CreateAccessGroupRequestBody$inboundSchema` instead. */ + export const inboundSchema = CreateAccessGroupRequestBody$inboundSchema; + /** @deprecated use `CreateAccessGroupRequestBody$outboundSchema` instead. */ + export const outboundSchema = CreateAccessGroupRequestBody$outboundSchema; + /** @deprecated use `CreateAccessGroupRequestBody$Outbound` instead. */ + export type Outbound = CreateAccessGroupRequestBody$Outbound; +} + +export function createAccessGroupRequestBodyToJSON( + createAccessGroupRequestBody: CreateAccessGroupRequestBody, +): string { + return JSON.stringify( + CreateAccessGroupRequestBody$outboundSchema.parse( + createAccessGroupRequestBody, + ), + ); +} + +export function createAccessGroupRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateAccessGroupRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateAccessGroupRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateAccessGroupRequest$inboundSchema: z.ZodType< + CreateAccessGroupRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => CreateAccessGroupRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type CreateAccessGroupRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: CreateAccessGroupRequestBody$Outbound; +}; + +/** @internal */ +export const CreateAccessGroupRequest$outboundSchema: z.ZodType< + CreateAccessGroupRequest$Outbound, + z.ZodTypeDef, + CreateAccessGroupRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateAccessGroupRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateAccessGroupRequest$ { + /** @deprecated use `CreateAccessGroupRequest$inboundSchema` instead. */ + export const inboundSchema = CreateAccessGroupRequest$inboundSchema; + /** @deprecated use `CreateAccessGroupRequest$outboundSchema` instead. */ + export const outboundSchema = CreateAccessGroupRequest$outboundSchema; + /** @deprecated use `CreateAccessGroupRequest$Outbound` instead. */ + export type Outbound = CreateAccessGroupRequest$Outbound; +} + +export function createAccessGroupRequestToJSON( + createAccessGroupRequest: CreateAccessGroupRequest, +): string { + return JSON.stringify( + CreateAccessGroupRequest$outboundSchema.parse(createAccessGroupRequest), + ); +} + +export function createAccessGroupRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateAccessGroupRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateAccessGroupRequest' from JSON`, + ); +} + +/** @internal */ +export const CreateAccessGroupResponseBody$inboundSchema: z.ZodType< + CreateAccessGroupResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + membersCount: z.number(), + projectsCount: z.number(), + name: z.string(), + createdAt: z.string(), + teamId: z.string(), + updatedAt: z.string(), + accessGroupId: z.string(), +}); + +/** @internal */ +export type CreateAccessGroupResponseBody$Outbound = { + membersCount: number; + projectsCount: number; + name: string; + createdAt: string; + teamId: string; + updatedAt: string; + accessGroupId: string; +}; + +/** @internal */ +export const CreateAccessGroupResponseBody$outboundSchema: z.ZodType< + CreateAccessGroupResponseBody$Outbound, + z.ZodTypeDef, + CreateAccessGroupResponseBody +> = z.object({ + membersCount: z.number(), + projectsCount: z.number(), + name: z.string(), + createdAt: z.string(), + teamId: z.string(), + updatedAt: z.string(), + accessGroupId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateAccessGroupResponseBody$ { + /** @deprecated use `CreateAccessGroupResponseBody$inboundSchema` instead. */ + export const inboundSchema = CreateAccessGroupResponseBody$inboundSchema; + /** @deprecated use `CreateAccessGroupResponseBody$outboundSchema` instead. */ + export const outboundSchema = CreateAccessGroupResponseBody$outboundSchema; + /** @deprecated use `CreateAccessGroupResponseBody$Outbound` instead. */ + export type Outbound = CreateAccessGroupResponseBody$Outbound; +} + +export function createAccessGroupResponseBodyToJSON( + createAccessGroupResponseBody: CreateAccessGroupResponseBody, +): string { + return JSON.stringify( + CreateAccessGroupResponseBody$outboundSchema.parse( + createAccessGroupResponseBody, + ), + ); +} + +export function createAccessGroupResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateAccessGroupResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateAccessGroupResponseBody' from JSON`, + ); +} diff --git a/src/models/createaccessgroupprojectop.ts b/src/models/createaccessgroupprojectop.ts new file mode 100644 index 00000000..1f6c87c8 --- /dev/null +++ b/src/models/createaccessgroupprojectop.ts @@ -0,0 +1,320 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * The project role that will be added to this Access Group. + */ +export const CreateAccessGroupProjectRole = { + Admin: "ADMIN", + ProjectViewer: "PROJECT_VIEWER", + ProjectDeveloper: "PROJECT_DEVELOPER", +} as const; +/** + * The project role that will be added to this Access Group. + */ +export type CreateAccessGroupProjectRole = ClosedEnum< + typeof CreateAccessGroupProjectRole +>; + +export type CreateAccessGroupProjectRequestBody = { + /** + * The ID of the project. + */ + projectId: string; + /** + * The project role that will be added to this Access Group. + */ + role: CreateAccessGroupProjectRole; +}; + +export type CreateAccessGroupProjectRequest = { + accessGroupIdOrName: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: CreateAccessGroupProjectRequestBody; +}; + +export const CreateAccessGroupProjectAccessGroupsRole = { + Admin: "ADMIN", + ProjectDeveloper: "PROJECT_DEVELOPER", + ProjectViewer: "PROJECT_VIEWER", +} as const; +export type CreateAccessGroupProjectAccessGroupsRole = ClosedEnum< + typeof CreateAccessGroupProjectAccessGroupsRole +>; + +export type CreateAccessGroupProjectResponseBody = { + teamId: string; + accessGroupId: string; + projectId: string; + role: CreateAccessGroupProjectAccessGroupsRole; + createdAt: string; + updatedAt: string; +}; + +/** @internal */ +export const CreateAccessGroupProjectRole$inboundSchema: z.ZodNativeEnum< + typeof CreateAccessGroupProjectRole +> = z.nativeEnum(CreateAccessGroupProjectRole); + +/** @internal */ +export const CreateAccessGroupProjectRole$outboundSchema: z.ZodNativeEnum< + typeof CreateAccessGroupProjectRole +> = CreateAccessGroupProjectRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateAccessGroupProjectRole$ { + /** @deprecated use `CreateAccessGroupProjectRole$inboundSchema` instead. */ + export const inboundSchema = CreateAccessGroupProjectRole$inboundSchema; + /** @deprecated use `CreateAccessGroupProjectRole$outboundSchema` instead. */ + export const outboundSchema = CreateAccessGroupProjectRole$outboundSchema; +} + +/** @internal */ +export const CreateAccessGroupProjectRequestBody$inboundSchema: z.ZodType< + CreateAccessGroupProjectRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string(), + role: CreateAccessGroupProjectRole$inboundSchema, +}); + +/** @internal */ +export type CreateAccessGroupProjectRequestBody$Outbound = { + projectId: string; + role: string; +}; + +/** @internal */ +export const CreateAccessGroupProjectRequestBody$outboundSchema: z.ZodType< + CreateAccessGroupProjectRequestBody$Outbound, + z.ZodTypeDef, + CreateAccessGroupProjectRequestBody +> = z.object({ + projectId: z.string(), + role: CreateAccessGroupProjectRole$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateAccessGroupProjectRequestBody$ { + /** @deprecated use `CreateAccessGroupProjectRequestBody$inboundSchema` instead. */ + export const inboundSchema = + CreateAccessGroupProjectRequestBody$inboundSchema; + /** @deprecated use `CreateAccessGroupProjectRequestBody$outboundSchema` instead. */ + export const outboundSchema = + CreateAccessGroupProjectRequestBody$outboundSchema; + /** @deprecated use `CreateAccessGroupProjectRequestBody$Outbound` instead. */ + export type Outbound = CreateAccessGroupProjectRequestBody$Outbound; +} + +export function createAccessGroupProjectRequestBodyToJSON( + createAccessGroupProjectRequestBody: CreateAccessGroupProjectRequestBody, +): string { + return JSON.stringify( + CreateAccessGroupProjectRequestBody$outboundSchema.parse( + createAccessGroupProjectRequestBody, + ), + ); +} + +export function createAccessGroupProjectRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateAccessGroupProjectRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateAccessGroupProjectRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateAccessGroupProjectRequest$inboundSchema: z.ZodType< + CreateAccessGroupProjectRequest, + z.ZodTypeDef, + unknown +> = z.object({ + accessGroupIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => CreateAccessGroupProjectRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type CreateAccessGroupProjectRequest$Outbound = { + accessGroupIdOrName: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: CreateAccessGroupProjectRequestBody$Outbound; +}; + +/** @internal */ +export const CreateAccessGroupProjectRequest$outboundSchema: z.ZodType< + CreateAccessGroupProjectRequest$Outbound, + z.ZodTypeDef, + CreateAccessGroupProjectRequest +> = z.object({ + accessGroupIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateAccessGroupProjectRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateAccessGroupProjectRequest$ { + /** @deprecated use `CreateAccessGroupProjectRequest$inboundSchema` instead. */ + export const inboundSchema = CreateAccessGroupProjectRequest$inboundSchema; + /** @deprecated use `CreateAccessGroupProjectRequest$outboundSchema` instead. */ + export const outboundSchema = CreateAccessGroupProjectRequest$outboundSchema; + /** @deprecated use `CreateAccessGroupProjectRequest$Outbound` instead. */ + export type Outbound = CreateAccessGroupProjectRequest$Outbound; +} + +export function createAccessGroupProjectRequestToJSON( + createAccessGroupProjectRequest: CreateAccessGroupProjectRequest, +): string { + return JSON.stringify( + CreateAccessGroupProjectRequest$outboundSchema.parse( + createAccessGroupProjectRequest, + ), + ); +} + +export function createAccessGroupProjectRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateAccessGroupProjectRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateAccessGroupProjectRequest' from JSON`, + ); +} + +/** @internal */ +export const CreateAccessGroupProjectAccessGroupsRole$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateAccessGroupProjectAccessGroupsRole); + +/** @internal */ +export const CreateAccessGroupProjectAccessGroupsRole$outboundSchema: + z.ZodNativeEnum = + CreateAccessGroupProjectAccessGroupsRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateAccessGroupProjectAccessGroupsRole$ { + /** @deprecated use `CreateAccessGroupProjectAccessGroupsRole$inboundSchema` instead. */ + export const inboundSchema = + CreateAccessGroupProjectAccessGroupsRole$inboundSchema; + /** @deprecated use `CreateAccessGroupProjectAccessGroupsRole$outboundSchema` instead. */ + export const outboundSchema = + CreateAccessGroupProjectAccessGroupsRole$outboundSchema; +} + +/** @internal */ +export const CreateAccessGroupProjectResponseBody$inboundSchema: z.ZodType< + CreateAccessGroupProjectResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string(), + accessGroupId: z.string(), + projectId: z.string(), + role: CreateAccessGroupProjectAccessGroupsRole$inboundSchema, + createdAt: z.string(), + updatedAt: z.string(), +}); + +/** @internal */ +export type CreateAccessGroupProjectResponseBody$Outbound = { + teamId: string; + accessGroupId: string; + projectId: string; + role: string; + createdAt: string; + updatedAt: string; +}; + +/** @internal */ +export const CreateAccessGroupProjectResponseBody$outboundSchema: z.ZodType< + CreateAccessGroupProjectResponseBody$Outbound, + z.ZodTypeDef, + CreateAccessGroupProjectResponseBody +> = z.object({ + teamId: z.string(), + accessGroupId: z.string(), + projectId: z.string(), + role: CreateAccessGroupProjectAccessGroupsRole$outboundSchema, + createdAt: z.string(), + updatedAt: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateAccessGroupProjectResponseBody$ { + /** @deprecated use `CreateAccessGroupProjectResponseBody$inboundSchema` instead. */ + export const inboundSchema = + CreateAccessGroupProjectResponseBody$inboundSchema; + /** @deprecated use `CreateAccessGroupProjectResponseBody$outboundSchema` instead. */ + export const outboundSchema = + CreateAccessGroupProjectResponseBody$outboundSchema; + /** @deprecated use `CreateAccessGroupProjectResponseBody$Outbound` instead. */ + export type Outbound = CreateAccessGroupProjectResponseBody$Outbound; +} + +export function createAccessGroupProjectResponseBodyToJSON( + createAccessGroupProjectResponseBody: CreateAccessGroupProjectResponseBody, +): string { + return JSON.stringify( + CreateAccessGroupProjectResponseBody$outboundSchema.parse( + createAccessGroupProjectResponseBody, + ), + ); +} + +export function createAccessGroupProjectResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateAccessGroupProjectResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateAccessGroupProjectResponseBody' from JSON`, + ); +} diff --git a/src/models/createauthtokenop.ts b/src/models/createauthtokenop.ts new file mode 100644 index 00000000..65356dba --- /dev/null +++ b/src/models/createauthtokenop.ts @@ -0,0 +1,230 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + AuthToken, + AuthToken$inboundSchema, + AuthToken$Outbound, + AuthToken$outboundSchema, +} from "./authtoken.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type CreateAuthTokenRequestBody = { + name: string; + expiresAt?: number | undefined; +}; + +export type CreateAuthTokenRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: CreateAuthTokenRequestBody; +}; + +/** + * Successful response. + */ +export type CreateAuthTokenResponseBody = { + /** + * Authentication token metadata. + */ + token: AuthToken; + /** + * The authentication token's actual value. This token is only provided in this response, and can never be retrieved again in the future. Be sure to save it somewhere safe! + */ + bearerToken: string; +}; + +/** @internal */ +export const CreateAuthTokenRequestBody$inboundSchema: z.ZodType< + CreateAuthTokenRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + expiresAt: z.number().optional(), +}); + +/** @internal */ +export type CreateAuthTokenRequestBody$Outbound = { + name: string; + expiresAt?: number | undefined; +}; + +/** @internal */ +export const CreateAuthTokenRequestBody$outboundSchema: z.ZodType< + CreateAuthTokenRequestBody$Outbound, + z.ZodTypeDef, + CreateAuthTokenRequestBody +> = z.object({ + name: z.string(), + expiresAt: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateAuthTokenRequestBody$ { + /** @deprecated use `CreateAuthTokenRequestBody$inboundSchema` instead. */ + export const inboundSchema = CreateAuthTokenRequestBody$inboundSchema; + /** @deprecated use `CreateAuthTokenRequestBody$outboundSchema` instead. */ + export const outboundSchema = CreateAuthTokenRequestBody$outboundSchema; + /** @deprecated use `CreateAuthTokenRequestBody$Outbound` instead. */ + export type Outbound = CreateAuthTokenRequestBody$Outbound; +} + +export function createAuthTokenRequestBodyToJSON( + createAuthTokenRequestBody: CreateAuthTokenRequestBody, +): string { + return JSON.stringify( + CreateAuthTokenRequestBody$outboundSchema.parse(createAuthTokenRequestBody), + ); +} + +export function createAuthTokenRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateAuthTokenRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateAuthTokenRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateAuthTokenRequest$inboundSchema: z.ZodType< + CreateAuthTokenRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => CreateAuthTokenRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type CreateAuthTokenRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: CreateAuthTokenRequestBody$Outbound; +}; + +/** @internal */ +export const CreateAuthTokenRequest$outboundSchema: z.ZodType< + CreateAuthTokenRequest$Outbound, + z.ZodTypeDef, + CreateAuthTokenRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateAuthTokenRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateAuthTokenRequest$ { + /** @deprecated use `CreateAuthTokenRequest$inboundSchema` instead. */ + export const inboundSchema = CreateAuthTokenRequest$inboundSchema; + /** @deprecated use `CreateAuthTokenRequest$outboundSchema` instead. */ + export const outboundSchema = CreateAuthTokenRequest$outboundSchema; + /** @deprecated use `CreateAuthTokenRequest$Outbound` instead. */ + export type Outbound = CreateAuthTokenRequest$Outbound; +} + +export function createAuthTokenRequestToJSON( + createAuthTokenRequest: CreateAuthTokenRequest, +): string { + return JSON.stringify( + CreateAuthTokenRequest$outboundSchema.parse(createAuthTokenRequest), + ); +} + +export function createAuthTokenRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateAuthTokenRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateAuthTokenRequest' from JSON`, + ); +} + +/** @internal */ +export const CreateAuthTokenResponseBody$inboundSchema: z.ZodType< + CreateAuthTokenResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + token: AuthToken$inboundSchema, + bearerToken: z.string(), +}); + +/** @internal */ +export type CreateAuthTokenResponseBody$Outbound = { + token: AuthToken$Outbound; + bearerToken: string; +}; + +/** @internal */ +export const CreateAuthTokenResponseBody$outboundSchema: z.ZodType< + CreateAuthTokenResponseBody$Outbound, + z.ZodTypeDef, + CreateAuthTokenResponseBody +> = z.object({ + token: AuthToken$outboundSchema, + bearerToken: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateAuthTokenResponseBody$ { + /** @deprecated use `CreateAuthTokenResponseBody$inboundSchema` instead. */ + export const inboundSchema = CreateAuthTokenResponseBody$inboundSchema; + /** @deprecated use `CreateAuthTokenResponseBody$outboundSchema` instead. */ + export const outboundSchema = CreateAuthTokenResponseBody$outboundSchema; + /** @deprecated use `CreateAuthTokenResponseBody$Outbound` instead. */ + export type Outbound = CreateAuthTokenResponseBody$Outbound; +} + +export function createAuthTokenResponseBodyToJSON( + createAuthTokenResponseBody: CreateAuthTokenResponseBody, +): string { + return JSON.stringify( + CreateAuthTokenResponseBody$outboundSchema.parse( + createAuthTokenResponseBody, + ), + ); +} + +export function createAuthTokenResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateAuthTokenResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateAuthTokenResponseBody' from JSON`, + ); +} diff --git a/src/models/createcheckop.ts b/src/models/createcheckop.ts new file mode 100644 index 00000000..209a65df --- /dev/null +++ b/src/models/createcheckop.ts @@ -0,0 +1,980 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type CreateCheckRequestBody = { + /** + * The name of the check being created + */ + name: string; + /** + * Path of the page that is being checked + */ + path?: string | undefined; + /** + * Whether the check should block a deployment from succeeding + */ + blocking: boolean; + /** + * URL to display for further details + */ + detailsUrl?: string | undefined; + /** + * An identifier that can be used as an external reference + */ + externalId?: string | undefined; + /** + * Whether a user should be able to request for the check to be rerun if it fails + */ + rerequestable?: boolean | undefined; +}; + +export type CreateCheckRequest = { + /** + * The deployment to create the check for. + */ + deploymentId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: CreateCheckRequestBody; +}; + +export const CreateCheckStatus = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +export type CreateCheckStatus = ClosedEnum; + +export const CreateCheckConclusion = { + Canceled: "canceled", + Failed: "failed", + Neutral: "neutral", + Succeeded: "succeeded", + Skipped: "skipped", + Stale: "stale", +} as const; +export type CreateCheckConclusion = ClosedEnum; + +export const CreateCheckSource = { + WebVitals: "web-vitals", +} as const; +export type CreateCheckSource = ClosedEnum; + +export type CreateCheckFCP = { + value: number | null; + previousValue?: number | undefined; + source: CreateCheckSource; +}; + +export const CreateCheckChecksSource = { + WebVitals: "web-vitals", +} as const; +export type CreateCheckChecksSource = ClosedEnum< + typeof CreateCheckChecksSource +>; + +export type CreateCheckLCP = { + value: number | null; + previousValue?: number | undefined; + source: CreateCheckChecksSource; +}; + +export const CreateCheckChecksResponseSource = { + WebVitals: "web-vitals", +} as const; +export type CreateCheckChecksResponseSource = ClosedEnum< + typeof CreateCheckChecksResponseSource +>; + +export type CreateCheckCLS = { + value: number | null; + previousValue?: number | undefined; + source: CreateCheckChecksResponseSource; +}; + +export const CreateCheckChecksResponse200Source = { + WebVitals: "web-vitals", +} as const; +export type CreateCheckChecksResponse200Source = ClosedEnum< + typeof CreateCheckChecksResponse200Source +>; + +export type CreateCheckTBT = { + value: number | null; + previousValue?: number | undefined; + source: CreateCheckChecksResponse200Source; +}; + +export const CreateCheckChecksResponse200ApplicationJSONSource = { + WebVitals: "web-vitals", +} as const; +export type CreateCheckChecksResponse200ApplicationJSONSource = ClosedEnum< + typeof CreateCheckChecksResponse200ApplicationJSONSource +>; + +export type CreateCheckVirtualExperienceScore = { + value: number | null; + previousValue?: number | undefined; + source: CreateCheckChecksResponse200ApplicationJSONSource; +}; + +export type CreateCheckMetrics = { + fcp: CreateCheckFCP; + lcp: CreateCheckLCP; + cls: CreateCheckCLS; + tbt: CreateCheckTBT; + virtualExperienceScore?: CreateCheckVirtualExperienceScore | undefined; +}; + +export type CreateCheckOutput = { + metrics?: CreateCheckMetrics | undefined; +}; + +export type CreateCheckResponseBody = { + id: string; + name: string; + path?: string | undefined; + status: CreateCheckStatus; + conclusion?: CreateCheckConclusion | undefined; + blocking: boolean; + output?: CreateCheckOutput | undefined; + detailsUrl?: string | undefined; + integrationId: string; + deploymentId: string; + externalId?: string | undefined; + createdAt: number; + updatedAt: number; + startedAt?: number | undefined; + completedAt?: number | undefined; + rerequestable?: boolean | undefined; +}; + +/** @internal */ +export const CreateCheckRequestBody$inboundSchema: z.ZodType< + CreateCheckRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + path: z.string().optional(), + blocking: z.boolean(), + detailsUrl: z.string().optional(), + externalId: z.string().optional(), + rerequestable: z.boolean().optional(), +}); + +/** @internal */ +export type CreateCheckRequestBody$Outbound = { + name: string; + path?: string | undefined; + blocking: boolean; + detailsUrl?: string | undefined; + externalId?: string | undefined; + rerequestable?: boolean | undefined; +}; + +/** @internal */ +export const CreateCheckRequestBody$outboundSchema: z.ZodType< + CreateCheckRequestBody$Outbound, + z.ZodTypeDef, + CreateCheckRequestBody +> = z.object({ + name: z.string(), + path: z.string().optional(), + blocking: z.boolean(), + detailsUrl: z.string().optional(), + externalId: z.string().optional(), + rerequestable: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckRequestBody$ { + /** @deprecated use `CreateCheckRequestBody$inboundSchema` instead. */ + export const inboundSchema = CreateCheckRequestBody$inboundSchema; + /** @deprecated use `CreateCheckRequestBody$outboundSchema` instead. */ + export const outboundSchema = CreateCheckRequestBody$outboundSchema; + /** @deprecated use `CreateCheckRequestBody$Outbound` instead. */ + export type Outbound = CreateCheckRequestBody$Outbound; +} + +export function createCheckRequestBodyToJSON( + createCheckRequestBody: CreateCheckRequestBody, +): string { + return JSON.stringify( + CreateCheckRequestBody$outboundSchema.parse(createCheckRequestBody), + ); +} + +export function createCheckRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateCheckRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateCheckRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateCheckRequest$inboundSchema: z.ZodType< + CreateCheckRequest, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => CreateCheckRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type CreateCheckRequest$Outbound = { + deploymentId: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: CreateCheckRequestBody$Outbound; +}; + +/** @internal */ +export const CreateCheckRequest$outboundSchema: z.ZodType< + CreateCheckRequest$Outbound, + z.ZodTypeDef, + CreateCheckRequest +> = z.object({ + deploymentId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateCheckRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckRequest$ { + /** @deprecated use `CreateCheckRequest$inboundSchema` instead. */ + export const inboundSchema = CreateCheckRequest$inboundSchema; + /** @deprecated use `CreateCheckRequest$outboundSchema` instead. */ + export const outboundSchema = CreateCheckRequest$outboundSchema; + /** @deprecated use `CreateCheckRequest$Outbound` instead. */ + export type Outbound = CreateCheckRequest$Outbound; +} + +export function createCheckRequestToJSON( + createCheckRequest: CreateCheckRequest, +): string { + return JSON.stringify( + CreateCheckRequest$outboundSchema.parse(createCheckRequest), + ); +} + +export function createCheckRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateCheckRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateCheckRequest' from JSON`, + ); +} + +/** @internal */ +export const CreateCheckStatus$inboundSchema: z.ZodNativeEnum< + typeof CreateCheckStatus +> = z.nativeEnum(CreateCheckStatus); + +/** @internal */ +export const CreateCheckStatus$outboundSchema: z.ZodNativeEnum< + typeof CreateCheckStatus +> = CreateCheckStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckStatus$ { + /** @deprecated use `CreateCheckStatus$inboundSchema` instead. */ + export const inboundSchema = CreateCheckStatus$inboundSchema; + /** @deprecated use `CreateCheckStatus$outboundSchema` instead. */ + export const outboundSchema = CreateCheckStatus$outboundSchema; +} + +/** @internal */ +export const CreateCheckConclusion$inboundSchema: z.ZodNativeEnum< + typeof CreateCheckConclusion +> = z.nativeEnum(CreateCheckConclusion); + +/** @internal */ +export const CreateCheckConclusion$outboundSchema: z.ZodNativeEnum< + typeof CreateCheckConclusion +> = CreateCheckConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckConclusion$ { + /** @deprecated use `CreateCheckConclusion$inboundSchema` instead. */ + export const inboundSchema = CreateCheckConclusion$inboundSchema; + /** @deprecated use `CreateCheckConclusion$outboundSchema` instead. */ + export const outboundSchema = CreateCheckConclusion$outboundSchema; +} + +/** @internal */ +export const CreateCheckSource$inboundSchema: z.ZodNativeEnum< + typeof CreateCheckSource +> = z.nativeEnum(CreateCheckSource); + +/** @internal */ +export const CreateCheckSource$outboundSchema: z.ZodNativeEnum< + typeof CreateCheckSource +> = CreateCheckSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckSource$ { + /** @deprecated use `CreateCheckSource$inboundSchema` instead. */ + export const inboundSchema = CreateCheckSource$inboundSchema; + /** @deprecated use `CreateCheckSource$outboundSchema` instead. */ + export const outboundSchema = CreateCheckSource$outboundSchema; +} + +/** @internal */ +export const CreateCheckFCP$inboundSchema: z.ZodType< + CreateCheckFCP, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: CreateCheckSource$inboundSchema, +}); + +/** @internal */ +export type CreateCheckFCP$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const CreateCheckFCP$outboundSchema: z.ZodType< + CreateCheckFCP$Outbound, + z.ZodTypeDef, + CreateCheckFCP +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: CreateCheckSource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckFCP$ { + /** @deprecated use `CreateCheckFCP$inboundSchema` instead. */ + export const inboundSchema = CreateCheckFCP$inboundSchema; + /** @deprecated use `CreateCheckFCP$outboundSchema` instead. */ + export const outboundSchema = CreateCheckFCP$outboundSchema; + /** @deprecated use `CreateCheckFCP$Outbound` instead. */ + export type Outbound = CreateCheckFCP$Outbound; +} + +export function createCheckFCPToJSON(createCheckFCP: CreateCheckFCP): string { + return JSON.stringify(CreateCheckFCP$outboundSchema.parse(createCheckFCP)); +} + +export function createCheckFCPFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateCheckFCP$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateCheckFCP' from JSON`, + ); +} + +/** @internal */ +export const CreateCheckChecksSource$inboundSchema: z.ZodNativeEnum< + typeof CreateCheckChecksSource +> = z.nativeEnum(CreateCheckChecksSource); + +/** @internal */ +export const CreateCheckChecksSource$outboundSchema: z.ZodNativeEnum< + typeof CreateCheckChecksSource +> = CreateCheckChecksSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckChecksSource$ { + /** @deprecated use `CreateCheckChecksSource$inboundSchema` instead. */ + export const inboundSchema = CreateCheckChecksSource$inboundSchema; + /** @deprecated use `CreateCheckChecksSource$outboundSchema` instead. */ + export const outboundSchema = CreateCheckChecksSource$outboundSchema; +} + +/** @internal */ +export const CreateCheckLCP$inboundSchema: z.ZodType< + CreateCheckLCP, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: CreateCheckChecksSource$inboundSchema, +}); + +/** @internal */ +export type CreateCheckLCP$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const CreateCheckLCP$outboundSchema: z.ZodType< + CreateCheckLCP$Outbound, + z.ZodTypeDef, + CreateCheckLCP +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: CreateCheckChecksSource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckLCP$ { + /** @deprecated use `CreateCheckLCP$inboundSchema` instead. */ + export const inboundSchema = CreateCheckLCP$inboundSchema; + /** @deprecated use `CreateCheckLCP$outboundSchema` instead. */ + export const outboundSchema = CreateCheckLCP$outboundSchema; + /** @deprecated use `CreateCheckLCP$Outbound` instead. */ + export type Outbound = CreateCheckLCP$Outbound; +} + +export function createCheckLCPToJSON(createCheckLCP: CreateCheckLCP): string { + return JSON.stringify(CreateCheckLCP$outboundSchema.parse(createCheckLCP)); +} + +export function createCheckLCPFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateCheckLCP$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateCheckLCP' from JSON`, + ); +} + +/** @internal */ +export const CreateCheckChecksResponseSource$inboundSchema: z.ZodNativeEnum< + typeof CreateCheckChecksResponseSource +> = z.nativeEnum(CreateCheckChecksResponseSource); + +/** @internal */ +export const CreateCheckChecksResponseSource$outboundSchema: z.ZodNativeEnum< + typeof CreateCheckChecksResponseSource +> = CreateCheckChecksResponseSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckChecksResponseSource$ { + /** @deprecated use `CreateCheckChecksResponseSource$inboundSchema` instead. */ + export const inboundSchema = CreateCheckChecksResponseSource$inboundSchema; + /** @deprecated use `CreateCheckChecksResponseSource$outboundSchema` instead. */ + export const outboundSchema = CreateCheckChecksResponseSource$outboundSchema; +} + +/** @internal */ +export const CreateCheckCLS$inboundSchema: z.ZodType< + CreateCheckCLS, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: CreateCheckChecksResponseSource$inboundSchema, +}); + +/** @internal */ +export type CreateCheckCLS$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const CreateCheckCLS$outboundSchema: z.ZodType< + CreateCheckCLS$Outbound, + z.ZodTypeDef, + CreateCheckCLS +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: CreateCheckChecksResponseSource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckCLS$ { + /** @deprecated use `CreateCheckCLS$inboundSchema` instead. */ + export const inboundSchema = CreateCheckCLS$inboundSchema; + /** @deprecated use `CreateCheckCLS$outboundSchema` instead. */ + export const outboundSchema = CreateCheckCLS$outboundSchema; + /** @deprecated use `CreateCheckCLS$Outbound` instead. */ + export type Outbound = CreateCheckCLS$Outbound; +} + +export function createCheckCLSToJSON(createCheckCLS: CreateCheckCLS): string { + return JSON.stringify(CreateCheckCLS$outboundSchema.parse(createCheckCLS)); +} + +export function createCheckCLSFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateCheckCLS$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateCheckCLS' from JSON`, + ); +} + +/** @internal */ +export const CreateCheckChecksResponse200Source$inboundSchema: z.ZodNativeEnum< + typeof CreateCheckChecksResponse200Source +> = z.nativeEnum(CreateCheckChecksResponse200Source); + +/** @internal */ +export const CreateCheckChecksResponse200Source$outboundSchema: z.ZodNativeEnum< + typeof CreateCheckChecksResponse200Source +> = CreateCheckChecksResponse200Source$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckChecksResponse200Source$ { + /** @deprecated use `CreateCheckChecksResponse200Source$inboundSchema` instead. */ + export const inboundSchema = CreateCheckChecksResponse200Source$inboundSchema; + /** @deprecated use `CreateCheckChecksResponse200Source$outboundSchema` instead. */ + export const outboundSchema = + CreateCheckChecksResponse200Source$outboundSchema; +} + +/** @internal */ +export const CreateCheckTBT$inboundSchema: z.ZodType< + CreateCheckTBT, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: CreateCheckChecksResponse200Source$inboundSchema, +}); + +/** @internal */ +export type CreateCheckTBT$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const CreateCheckTBT$outboundSchema: z.ZodType< + CreateCheckTBT$Outbound, + z.ZodTypeDef, + CreateCheckTBT +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: CreateCheckChecksResponse200Source$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckTBT$ { + /** @deprecated use `CreateCheckTBT$inboundSchema` instead. */ + export const inboundSchema = CreateCheckTBT$inboundSchema; + /** @deprecated use `CreateCheckTBT$outboundSchema` instead. */ + export const outboundSchema = CreateCheckTBT$outboundSchema; + /** @deprecated use `CreateCheckTBT$Outbound` instead. */ + export type Outbound = CreateCheckTBT$Outbound; +} + +export function createCheckTBTToJSON(createCheckTBT: CreateCheckTBT): string { + return JSON.stringify(CreateCheckTBT$outboundSchema.parse(createCheckTBT)); +} + +export function createCheckTBTFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateCheckTBT$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateCheckTBT' from JSON`, + ); +} + +/** @internal */ +export const CreateCheckChecksResponse200ApplicationJSONSource$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateCheckChecksResponse200ApplicationJSONSource); + +/** @internal */ +export const CreateCheckChecksResponse200ApplicationJSONSource$outboundSchema: + z.ZodNativeEnum = + CreateCheckChecksResponse200ApplicationJSONSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckChecksResponse200ApplicationJSONSource$ { + /** @deprecated use `CreateCheckChecksResponse200ApplicationJSONSource$inboundSchema` instead. */ + export const inboundSchema = + CreateCheckChecksResponse200ApplicationJSONSource$inboundSchema; + /** @deprecated use `CreateCheckChecksResponse200ApplicationJSONSource$outboundSchema` instead. */ + export const outboundSchema = + CreateCheckChecksResponse200ApplicationJSONSource$outboundSchema; +} + +/** @internal */ +export const CreateCheckVirtualExperienceScore$inboundSchema: z.ZodType< + CreateCheckVirtualExperienceScore, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: CreateCheckChecksResponse200ApplicationJSONSource$inboundSchema, +}); + +/** @internal */ +export type CreateCheckVirtualExperienceScore$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const CreateCheckVirtualExperienceScore$outboundSchema: z.ZodType< + CreateCheckVirtualExperienceScore$Outbound, + z.ZodTypeDef, + CreateCheckVirtualExperienceScore +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: CreateCheckChecksResponse200ApplicationJSONSource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckVirtualExperienceScore$ { + /** @deprecated use `CreateCheckVirtualExperienceScore$inboundSchema` instead. */ + export const inboundSchema = CreateCheckVirtualExperienceScore$inboundSchema; + /** @deprecated use `CreateCheckVirtualExperienceScore$outboundSchema` instead. */ + export const outboundSchema = + CreateCheckVirtualExperienceScore$outboundSchema; + /** @deprecated use `CreateCheckVirtualExperienceScore$Outbound` instead. */ + export type Outbound = CreateCheckVirtualExperienceScore$Outbound; +} + +export function createCheckVirtualExperienceScoreToJSON( + createCheckVirtualExperienceScore: CreateCheckVirtualExperienceScore, +): string { + return JSON.stringify( + CreateCheckVirtualExperienceScore$outboundSchema.parse( + createCheckVirtualExperienceScore, + ), + ); +} + +export function createCheckVirtualExperienceScoreFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateCheckVirtualExperienceScore$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateCheckVirtualExperienceScore' from JSON`, + ); +} + +/** @internal */ +export const CreateCheckMetrics$inboundSchema: z.ZodType< + CreateCheckMetrics, + z.ZodTypeDef, + unknown +> = z.object({ + FCP: z.lazy(() => CreateCheckFCP$inboundSchema), + LCP: z.lazy(() => CreateCheckLCP$inboundSchema), + CLS: z.lazy(() => CreateCheckCLS$inboundSchema), + TBT: z.lazy(() => CreateCheckTBT$inboundSchema), + virtualExperienceScore: z.lazy(() => + CreateCheckVirtualExperienceScore$inboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + "FCP": "fcp", + "LCP": "lcp", + "CLS": "cls", + "TBT": "tbt", + }); +}); + +/** @internal */ +export type CreateCheckMetrics$Outbound = { + FCP: CreateCheckFCP$Outbound; + LCP: CreateCheckLCP$Outbound; + CLS: CreateCheckCLS$Outbound; + TBT: CreateCheckTBT$Outbound; + virtualExperienceScore?: + | CreateCheckVirtualExperienceScore$Outbound + | undefined; +}; + +/** @internal */ +export const CreateCheckMetrics$outboundSchema: z.ZodType< + CreateCheckMetrics$Outbound, + z.ZodTypeDef, + CreateCheckMetrics +> = z.object({ + fcp: z.lazy(() => CreateCheckFCP$outboundSchema), + lcp: z.lazy(() => CreateCheckLCP$outboundSchema), + cls: z.lazy(() => CreateCheckCLS$outboundSchema), + tbt: z.lazy(() => CreateCheckTBT$outboundSchema), + virtualExperienceScore: z.lazy(() => + CreateCheckVirtualExperienceScore$outboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + fcp: "FCP", + lcp: "LCP", + cls: "CLS", + tbt: "TBT", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckMetrics$ { + /** @deprecated use `CreateCheckMetrics$inboundSchema` instead. */ + export const inboundSchema = CreateCheckMetrics$inboundSchema; + /** @deprecated use `CreateCheckMetrics$outboundSchema` instead. */ + export const outboundSchema = CreateCheckMetrics$outboundSchema; + /** @deprecated use `CreateCheckMetrics$Outbound` instead. */ + export type Outbound = CreateCheckMetrics$Outbound; +} + +export function createCheckMetricsToJSON( + createCheckMetrics: CreateCheckMetrics, +): string { + return JSON.stringify( + CreateCheckMetrics$outboundSchema.parse(createCheckMetrics), + ); +} + +export function createCheckMetricsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateCheckMetrics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateCheckMetrics' from JSON`, + ); +} + +/** @internal */ +export const CreateCheckOutput$inboundSchema: z.ZodType< + CreateCheckOutput, + z.ZodTypeDef, + unknown +> = z.object({ + metrics: z.lazy(() => CreateCheckMetrics$inboundSchema).optional(), +}); + +/** @internal */ +export type CreateCheckOutput$Outbound = { + metrics?: CreateCheckMetrics$Outbound | undefined; +}; + +/** @internal */ +export const CreateCheckOutput$outboundSchema: z.ZodType< + CreateCheckOutput$Outbound, + z.ZodTypeDef, + CreateCheckOutput +> = z.object({ + metrics: z.lazy(() => CreateCheckMetrics$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckOutput$ { + /** @deprecated use `CreateCheckOutput$inboundSchema` instead. */ + export const inboundSchema = CreateCheckOutput$inboundSchema; + /** @deprecated use `CreateCheckOutput$outboundSchema` instead. */ + export const outboundSchema = CreateCheckOutput$outboundSchema; + /** @deprecated use `CreateCheckOutput$Outbound` instead. */ + export type Outbound = CreateCheckOutput$Outbound; +} + +export function createCheckOutputToJSON( + createCheckOutput: CreateCheckOutput, +): string { + return JSON.stringify( + CreateCheckOutput$outboundSchema.parse(createCheckOutput), + ); +} + +export function createCheckOutputFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateCheckOutput$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateCheckOutput' from JSON`, + ); +} + +/** @internal */ +export const CreateCheckResponseBody$inboundSchema: z.ZodType< + CreateCheckResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + path: z.string().optional(), + status: CreateCheckStatus$inboundSchema, + conclusion: CreateCheckConclusion$inboundSchema.optional(), + blocking: z.boolean(), + output: z.lazy(() => CreateCheckOutput$inboundSchema).optional(), + detailsUrl: z.string().optional(), + integrationId: z.string(), + deploymentId: z.string(), + externalId: z.string().optional(), + createdAt: z.number(), + updatedAt: z.number(), + startedAt: z.number().optional(), + completedAt: z.number().optional(), + rerequestable: z.boolean().optional(), +}); + +/** @internal */ +export type CreateCheckResponseBody$Outbound = { + id: string; + name: string; + path?: string | undefined; + status: string; + conclusion?: string | undefined; + blocking: boolean; + output?: CreateCheckOutput$Outbound | undefined; + detailsUrl?: string | undefined; + integrationId: string; + deploymentId: string; + externalId?: string | undefined; + createdAt: number; + updatedAt: number; + startedAt?: number | undefined; + completedAt?: number | undefined; + rerequestable?: boolean | undefined; +}; + +/** @internal */ +export const CreateCheckResponseBody$outboundSchema: z.ZodType< + CreateCheckResponseBody$Outbound, + z.ZodTypeDef, + CreateCheckResponseBody +> = z.object({ + id: z.string(), + name: z.string(), + path: z.string().optional(), + status: CreateCheckStatus$outboundSchema, + conclusion: CreateCheckConclusion$outboundSchema.optional(), + blocking: z.boolean(), + output: z.lazy(() => CreateCheckOutput$outboundSchema).optional(), + detailsUrl: z.string().optional(), + integrationId: z.string(), + deploymentId: z.string(), + externalId: z.string().optional(), + createdAt: z.number(), + updatedAt: z.number(), + startedAt: z.number().optional(), + completedAt: z.number().optional(), + rerequestable: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateCheckResponseBody$ { + /** @deprecated use `CreateCheckResponseBody$inboundSchema` instead. */ + export const inboundSchema = CreateCheckResponseBody$inboundSchema; + /** @deprecated use `CreateCheckResponseBody$outboundSchema` instead. */ + export const outboundSchema = CreateCheckResponseBody$outboundSchema; + /** @deprecated use `CreateCheckResponseBody$Outbound` instead. */ + export type Outbound = CreateCheckResponseBody$Outbound; +} + +export function createCheckResponseBodyToJSON( + createCheckResponseBody: CreateCheckResponseBody, +): string { + return JSON.stringify( + CreateCheckResponseBody$outboundSchema.parse(createCheckResponseBody), + ); +} + +export function createCheckResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateCheckResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateCheckResponseBody' from JSON`, + ); +} diff --git a/src/models/createconfigurablelogdrainop.ts b/src/models/createconfigurablelogdrainop.ts new file mode 100644 index 00000000..1def81d5 --- /dev/null +++ b/src/models/createconfigurablelogdrainop.ts @@ -0,0 +1,676 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * The delivery log format + */ +export const CreateConfigurableLogDrainDeliveryFormat = { + Json: "json", + Ndjson: "ndjson", +} as const; +/** + * The delivery log format + */ +export type CreateConfigurableLogDrainDeliveryFormat = ClosedEnum< + typeof CreateConfigurableLogDrainDeliveryFormat +>; + +export const CreateConfigurableLogDrainSources = { + Static: "static", + Lambda: "lambda", + Build: "build", + Edge: "edge", + External: "external", + Firewall: "firewall", +} as const; +export type CreateConfigurableLogDrainSources = ClosedEnum< + typeof CreateConfigurableLogDrainSources +>; + +export const CreateConfigurableLogDrainEnvironments = { + Preview: "preview", + Production: "production", +} as const; +export type CreateConfigurableLogDrainEnvironments = ClosedEnum< + typeof CreateConfigurableLogDrainEnvironments +>; + +export type CreateConfigurableLogDrainRequestBody = { + /** + * The delivery log format + */ + deliveryFormat: CreateConfigurableLogDrainDeliveryFormat; + /** + * The log drain url + */ + url: string; + /** + * Headers to be sent together with the request + */ + headers?: { [k: string]: string } | undefined; + projectIds?: Array | undefined; + sources: Array; + environments?: Array | undefined; + /** + * Custom secret of log drain + */ + secret?: string | undefined; + /** + * The sampling rate for this log drain. It should be a percentage rate between 0 and 100. With max 2 decimal points + */ + samplingRate?: number | undefined; + /** + * The custom name of this log drain. + */ + name?: string | undefined; +}; + +export type CreateConfigurableLogDrainRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: CreateConfigurableLogDrainRequestBody; +}; + +export const CreateConfigurableLogDrainLogDrainsDeliveryFormat = { + Json: "json", + Ndjson: "ndjson", + Syslog: "syslog", +} as const; +export type CreateConfigurableLogDrainLogDrainsDeliveryFormat = ClosedEnum< + typeof CreateConfigurableLogDrainLogDrainsDeliveryFormat +>; + +export const CreateConfigurableLogDrainLogDrainsSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", +} as const; +export type CreateConfigurableLogDrainLogDrainsSources = ClosedEnum< + typeof CreateConfigurableLogDrainLogDrainsSources +>; + +export const CreateConfigurableLogDrainLogDrainsEnvironments = { + Production: "production", + Preview: "preview", +} as const; +export type CreateConfigurableLogDrainLogDrainsEnvironments = ClosedEnum< + typeof CreateConfigurableLogDrainLogDrainsEnvironments +>; + +export const CreateConfigurableLogDrainStatus = { + Enabled: "enabled", + Disabled: "disabled", + Errored: "errored", +} as const; +export type CreateConfigurableLogDrainStatus = ClosedEnum< + typeof CreateConfigurableLogDrainStatus +>; + +export const CreateConfigurableLogDrainDisabledReason = { + DisabledByOwner: "disabled-by-owner", + FeatureNotAvailable: "feature-not-available", + AccountPlanDowngrade: "account-plan-downgrade", + DisabledByAdmin: "disabled-by-admin", +} as const; +export type CreateConfigurableLogDrainDisabledReason = ClosedEnum< + typeof CreateConfigurableLogDrainDisabledReason +>; + +export const CreateConfigurableLogDrainCreatedFrom = { + SelfServed: "self-served", +} as const; +export type CreateConfigurableLogDrainCreatedFrom = ClosedEnum< + typeof CreateConfigurableLogDrainCreatedFrom +>; + +export type CreateConfigurableLogDrainResponseBody = { + /** + * The secret to validate the log-drain payload + */ + secret?: string | undefined; + id: string; + deliveryFormat: CreateConfigurableLogDrainLogDrainsDeliveryFormat; + url: string; + name: string; + clientId?: string | undefined; + configurationId?: string | undefined; + teamId?: string | null | undefined; + ownerId: string; + projectIds?: Array | undefined; + createdAt: number; + deletedAt: number | null; + updatedAt: number; + sources?: Array | undefined; + headers?: { [k: string]: string } | undefined; + environments: Array; + status?: CreateConfigurableLogDrainStatus | undefined; + disabledAt?: number | undefined; + disabledReason?: CreateConfigurableLogDrainDisabledReason | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + samplingRate?: number | undefined; + hideIpAddresses?: boolean | undefined; + createdFrom?: CreateConfigurableLogDrainCreatedFrom | undefined; +}; + +/** @internal */ +export const CreateConfigurableLogDrainDeliveryFormat$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateConfigurableLogDrainDeliveryFormat); + +/** @internal */ +export const CreateConfigurableLogDrainDeliveryFormat$outboundSchema: + z.ZodNativeEnum = + CreateConfigurableLogDrainDeliveryFormat$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateConfigurableLogDrainDeliveryFormat$ { + /** @deprecated use `CreateConfigurableLogDrainDeliveryFormat$inboundSchema` instead. */ + export const inboundSchema = + CreateConfigurableLogDrainDeliveryFormat$inboundSchema; + /** @deprecated use `CreateConfigurableLogDrainDeliveryFormat$outboundSchema` instead. */ + export const outboundSchema = + CreateConfigurableLogDrainDeliveryFormat$outboundSchema; +} + +/** @internal */ +export const CreateConfigurableLogDrainSources$inboundSchema: z.ZodNativeEnum< + typeof CreateConfigurableLogDrainSources +> = z.nativeEnum(CreateConfigurableLogDrainSources); + +/** @internal */ +export const CreateConfigurableLogDrainSources$outboundSchema: z.ZodNativeEnum< + typeof CreateConfigurableLogDrainSources +> = CreateConfigurableLogDrainSources$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateConfigurableLogDrainSources$ { + /** @deprecated use `CreateConfigurableLogDrainSources$inboundSchema` instead. */ + export const inboundSchema = CreateConfigurableLogDrainSources$inboundSchema; + /** @deprecated use `CreateConfigurableLogDrainSources$outboundSchema` instead. */ + export const outboundSchema = + CreateConfigurableLogDrainSources$outboundSchema; +} + +/** @internal */ +export const CreateConfigurableLogDrainEnvironments$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateConfigurableLogDrainEnvironments, + ); + +/** @internal */ +export const CreateConfigurableLogDrainEnvironments$outboundSchema: + z.ZodNativeEnum = + CreateConfigurableLogDrainEnvironments$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateConfigurableLogDrainEnvironments$ { + /** @deprecated use `CreateConfigurableLogDrainEnvironments$inboundSchema` instead. */ + export const inboundSchema = + CreateConfigurableLogDrainEnvironments$inboundSchema; + /** @deprecated use `CreateConfigurableLogDrainEnvironments$outboundSchema` instead. */ + export const outboundSchema = + CreateConfigurableLogDrainEnvironments$outboundSchema; +} + +/** @internal */ +export const CreateConfigurableLogDrainRequestBody$inboundSchema: z.ZodType< + CreateConfigurableLogDrainRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + deliveryFormat: CreateConfigurableLogDrainDeliveryFormat$inboundSchema, + url: z.string(), + headers: z.record(z.string()).optional(), + projectIds: z.array(z.string()).optional(), + sources: z.array(CreateConfigurableLogDrainSources$inboundSchema), + environments: z.array(CreateConfigurableLogDrainEnvironments$inboundSchema) + .optional(), + secret: z.string().optional(), + samplingRate: z.number().optional(), + name: z.string().optional(), +}); + +/** @internal */ +export type CreateConfigurableLogDrainRequestBody$Outbound = { + deliveryFormat: string; + url: string; + headers?: { [k: string]: string } | undefined; + projectIds?: Array | undefined; + sources: Array; + environments?: Array | undefined; + secret?: string | undefined; + samplingRate?: number | undefined; + name?: string | undefined; +}; + +/** @internal */ +export const CreateConfigurableLogDrainRequestBody$outboundSchema: z.ZodType< + CreateConfigurableLogDrainRequestBody$Outbound, + z.ZodTypeDef, + CreateConfigurableLogDrainRequestBody +> = z.object({ + deliveryFormat: CreateConfigurableLogDrainDeliveryFormat$outboundSchema, + url: z.string(), + headers: z.record(z.string()).optional(), + projectIds: z.array(z.string()).optional(), + sources: z.array(CreateConfigurableLogDrainSources$outboundSchema), + environments: z.array(CreateConfigurableLogDrainEnvironments$outboundSchema) + .optional(), + secret: z.string().optional(), + samplingRate: z.number().optional(), + name: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateConfigurableLogDrainRequestBody$ { + /** @deprecated use `CreateConfigurableLogDrainRequestBody$inboundSchema` instead. */ + export const inboundSchema = + CreateConfigurableLogDrainRequestBody$inboundSchema; + /** @deprecated use `CreateConfigurableLogDrainRequestBody$outboundSchema` instead. */ + export const outboundSchema = + CreateConfigurableLogDrainRequestBody$outboundSchema; + /** @deprecated use `CreateConfigurableLogDrainRequestBody$Outbound` instead. */ + export type Outbound = CreateConfigurableLogDrainRequestBody$Outbound; +} + +export function createConfigurableLogDrainRequestBodyToJSON( + createConfigurableLogDrainRequestBody: CreateConfigurableLogDrainRequestBody, +): string { + return JSON.stringify( + CreateConfigurableLogDrainRequestBody$outboundSchema.parse( + createConfigurableLogDrainRequestBody, + ), + ); +} + +export function createConfigurableLogDrainRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateConfigurableLogDrainRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateConfigurableLogDrainRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateConfigurableLogDrainRequest$inboundSchema: z.ZodType< + CreateConfigurableLogDrainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => + CreateConfigurableLogDrainRequestBody$inboundSchema + ), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type CreateConfigurableLogDrainRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: CreateConfigurableLogDrainRequestBody$Outbound; +}; + +/** @internal */ +export const CreateConfigurableLogDrainRequest$outboundSchema: z.ZodType< + CreateConfigurableLogDrainRequest$Outbound, + z.ZodTypeDef, + CreateConfigurableLogDrainRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + CreateConfigurableLogDrainRequestBody$outboundSchema + ), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateConfigurableLogDrainRequest$ { + /** @deprecated use `CreateConfigurableLogDrainRequest$inboundSchema` instead. */ + export const inboundSchema = CreateConfigurableLogDrainRequest$inboundSchema; + /** @deprecated use `CreateConfigurableLogDrainRequest$outboundSchema` instead. */ + export const outboundSchema = + CreateConfigurableLogDrainRequest$outboundSchema; + /** @deprecated use `CreateConfigurableLogDrainRequest$Outbound` instead. */ + export type Outbound = CreateConfigurableLogDrainRequest$Outbound; +} + +export function createConfigurableLogDrainRequestToJSON( + createConfigurableLogDrainRequest: CreateConfigurableLogDrainRequest, +): string { + return JSON.stringify( + CreateConfigurableLogDrainRequest$outboundSchema.parse( + createConfigurableLogDrainRequest, + ), + ); +} + +export function createConfigurableLogDrainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateConfigurableLogDrainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateConfigurableLogDrainRequest' from JSON`, + ); +} + +/** @internal */ +export const CreateConfigurableLogDrainLogDrainsDeliveryFormat$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateConfigurableLogDrainLogDrainsDeliveryFormat); + +/** @internal */ +export const CreateConfigurableLogDrainLogDrainsDeliveryFormat$outboundSchema: + z.ZodNativeEnum = + CreateConfigurableLogDrainLogDrainsDeliveryFormat$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateConfigurableLogDrainLogDrainsDeliveryFormat$ { + /** @deprecated use `CreateConfigurableLogDrainLogDrainsDeliveryFormat$inboundSchema` instead. */ + export const inboundSchema = + CreateConfigurableLogDrainLogDrainsDeliveryFormat$inboundSchema; + /** @deprecated use `CreateConfigurableLogDrainLogDrainsDeliveryFormat$outboundSchema` instead. */ + export const outboundSchema = + CreateConfigurableLogDrainLogDrainsDeliveryFormat$outboundSchema; +} + +/** @internal */ +export const CreateConfigurableLogDrainLogDrainsSources$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateConfigurableLogDrainLogDrainsSources); + +/** @internal */ +export const CreateConfigurableLogDrainLogDrainsSources$outboundSchema: + z.ZodNativeEnum = + CreateConfigurableLogDrainLogDrainsSources$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateConfigurableLogDrainLogDrainsSources$ { + /** @deprecated use `CreateConfigurableLogDrainLogDrainsSources$inboundSchema` instead. */ + export const inboundSchema = + CreateConfigurableLogDrainLogDrainsSources$inboundSchema; + /** @deprecated use `CreateConfigurableLogDrainLogDrainsSources$outboundSchema` instead. */ + export const outboundSchema = + CreateConfigurableLogDrainLogDrainsSources$outboundSchema; +} + +/** @internal */ +export const CreateConfigurableLogDrainLogDrainsEnvironments$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateConfigurableLogDrainLogDrainsEnvironments); + +/** @internal */ +export const CreateConfigurableLogDrainLogDrainsEnvironments$outboundSchema: + z.ZodNativeEnum = + CreateConfigurableLogDrainLogDrainsEnvironments$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateConfigurableLogDrainLogDrainsEnvironments$ { + /** @deprecated use `CreateConfigurableLogDrainLogDrainsEnvironments$inboundSchema` instead. */ + export const inboundSchema = + CreateConfigurableLogDrainLogDrainsEnvironments$inboundSchema; + /** @deprecated use `CreateConfigurableLogDrainLogDrainsEnvironments$outboundSchema` instead. */ + export const outboundSchema = + CreateConfigurableLogDrainLogDrainsEnvironments$outboundSchema; +} + +/** @internal */ +export const CreateConfigurableLogDrainStatus$inboundSchema: z.ZodNativeEnum< + typeof CreateConfigurableLogDrainStatus +> = z.nativeEnum(CreateConfigurableLogDrainStatus); + +/** @internal */ +export const CreateConfigurableLogDrainStatus$outboundSchema: z.ZodNativeEnum< + typeof CreateConfigurableLogDrainStatus +> = CreateConfigurableLogDrainStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateConfigurableLogDrainStatus$ { + /** @deprecated use `CreateConfigurableLogDrainStatus$inboundSchema` instead. */ + export const inboundSchema = CreateConfigurableLogDrainStatus$inboundSchema; + /** @deprecated use `CreateConfigurableLogDrainStatus$outboundSchema` instead. */ + export const outboundSchema = CreateConfigurableLogDrainStatus$outboundSchema; +} + +/** @internal */ +export const CreateConfigurableLogDrainDisabledReason$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateConfigurableLogDrainDisabledReason); + +/** @internal */ +export const CreateConfigurableLogDrainDisabledReason$outboundSchema: + z.ZodNativeEnum = + CreateConfigurableLogDrainDisabledReason$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateConfigurableLogDrainDisabledReason$ { + /** @deprecated use `CreateConfigurableLogDrainDisabledReason$inboundSchema` instead. */ + export const inboundSchema = + CreateConfigurableLogDrainDisabledReason$inboundSchema; + /** @deprecated use `CreateConfigurableLogDrainDisabledReason$outboundSchema` instead. */ + export const outboundSchema = + CreateConfigurableLogDrainDisabledReason$outboundSchema; +} + +/** @internal */ +export const CreateConfigurableLogDrainCreatedFrom$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateConfigurableLogDrainCreatedFrom, + ); + +/** @internal */ +export const CreateConfigurableLogDrainCreatedFrom$outboundSchema: + z.ZodNativeEnum = + CreateConfigurableLogDrainCreatedFrom$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateConfigurableLogDrainCreatedFrom$ { + /** @deprecated use `CreateConfigurableLogDrainCreatedFrom$inboundSchema` instead. */ + export const inboundSchema = + CreateConfigurableLogDrainCreatedFrom$inboundSchema; + /** @deprecated use `CreateConfigurableLogDrainCreatedFrom$outboundSchema` instead. */ + export const outboundSchema = + CreateConfigurableLogDrainCreatedFrom$outboundSchema; +} + +/** @internal */ +export const CreateConfigurableLogDrainResponseBody$inboundSchema: z.ZodType< + CreateConfigurableLogDrainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + secret: z.string().optional(), + id: z.string(), + deliveryFormat: + CreateConfigurableLogDrainLogDrainsDeliveryFormat$inboundSchema, + url: z.string(), + name: z.string(), + clientId: z.string().optional(), + configurationId: z.string().optional(), + teamId: z.nullable(z.string()).optional(), + ownerId: z.string(), + projectIds: z.array(z.string()).optional(), + createdAt: z.number(), + deletedAt: z.nullable(z.number()), + updatedAt: z.number(), + sources: z.array(CreateConfigurableLogDrainLogDrainsSources$inboundSchema) + .optional(), + headers: z.record(z.string()).optional(), + environments: z.array( + CreateConfigurableLogDrainLogDrainsEnvironments$inboundSchema, + ), + status: CreateConfigurableLogDrainStatus$inboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: CreateConfigurableLogDrainDisabledReason$inboundSchema + .optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + samplingRate: z.number().optional(), + hideIpAddresses: z.boolean().optional(), + createdFrom: CreateConfigurableLogDrainCreatedFrom$inboundSchema.optional(), +}); + +/** @internal */ +export type CreateConfigurableLogDrainResponseBody$Outbound = { + secret?: string | undefined; + id: string; + deliveryFormat: string; + url: string; + name: string; + clientId?: string | undefined; + configurationId?: string | undefined; + teamId?: string | null | undefined; + ownerId: string; + projectIds?: Array | undefined; + createdAt: number; + deletedAt: number | null; + updatedAt: number; + sources?: Array | undefined; + headers?: { [k: string]: string } | undefined; + environments: Array; + status?: string | undefined; + disabledAt?: number | undefined; + disabledReason?: string | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + samplingRate?: number | undefined; + hideIpAddresses?: boolean | undefined; + createdFrom?: string | undefined; +}; + +/** @internal */ +export const CreateConfigurableLogDrainResponseBody$outboundSchema: z.ZodType< + CreateConfigurableLogDrainResponseBody$Outbound, + z.ZodTypeDef, + CreateConfigurableLogDrainResponseBody +> = z.object({ + secret: z.string().optional(), + id: z.string(), + deliveryFormat: + CreateConfigurableLogDrainLogDrainsDeliveryFormat$outboundSchema, + url: z.string(), + name: z.string(), + clientId: z.string().optional(), + configurationId: z.string().optional(), + teamId: z.nullable(z.string()).optional(), + ownerId: z.string(), + projectIds: z.array(z.string()).optional(), + createdAt: z.number(), + deletedAt: z.nullable(z.number()), + updatedAt: z.number(), + sources: z.array(CreateConfigurableLogDrainLogDrainsSources$outboundSchema) + .optional(), + headers: z.record(z.string()).optional(), + environments: z.array( + CreateConfigurableLogDrainLogDrainsEnvironments$outboundSchema, + ), + status: CreateConfigurableLogDrainStatus$outboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: CreateConfigurableLogDrainDisabledReason$outboundSchema + .optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + samplingRate: z.number().optional(), + hideIpAddresses: z.boolean().optional(), + createdFrom: CreateConfigurableLogDrainCreatedFrom$outboundSchema.optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateConfigurableLogDrainResponseBody$ { + /** @deprecated use `CreateConfigurableLogDrainResponseBody$inboundSchema` instead. */ + export const inboundSchema = + CreateConfigurableLogDrainResponseBody$inboundSchema; + /** @deprecated use `CreateConfigurableLogDrainResponseBody$outboundSchema` instead. */ + export const outboundSchema = + CreateConfigurableLogDrainResponseBody$outboundSchema; + /** @deprecated use `CreateConfigurableLogDrainResponseBody$Outbound` instead. */ + export type Outbound = CreateConfigurableLogDrainResponseBody$Outbound; +} + +export function createConfigurableLogDrainResponseBodyToJSON( + createConfigurableLogDrainResponseBody: + CreateConfigurableLogDrainResponseBody, +): string { + return JSON.stringify( + CreateConfigurableLogDrainResponseBody$outboundSchema.parse( + createConfigurableLogDrainResponseBody, + ), + ); +} + +export function createConfigurableLogDrainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateConfigurableLogDrainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateConfigurableLogDrainResponseBody' from JSON`, + ); +} diff --git a/src/models/createdeploymentop.ts b/src/models/createdeploymentop.ts new file mode 100644 index 00000000..5e5b8159 --- /dev/null +++ b/src/models/createdeploymentop.ts @@ -0,0 +1,6810 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + FlagJSONValue, + FlagJSONValue$inboundSchema, + FlagJSONValue$Outbound, + FlagJSONValue$outboundSchema, +} from "./flagjsonvalue.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * Allows to skip framework detection so the API would not fail to ask for confirmation + */ +export const SkipAutoDetectionConfirmation = { + Zero: "0", + One: "1", +} as const; +/** + * Allows to skip framework detection so the API would not fail to ask for confirmation + */ +export type SkipAutoDetectionConfirmation = ClosedEnum< + typeof SkipAutoDetectionConfirmation +>; + +/** + * Forces a new deployment even if there is a previous similar deployment + */ +export const ForceNew = { + Zero: "0", + One: "1", +} as const; +/** + * Forces a new deployment even if there is a previous similar deployment + */ +export type ForceNew = ClosedEnum; + +/** + * Used in the case you want to reference a file that was already uploaded + */ +export type UploadedFile = { + /** + * The file path relative to the project root + */ + file: string; + /** + * The file contents hashed with SHA1, used to check the integrity + */ + sha?: string | undefined; + /** + * The file size in bytes + */ + size?: number | undefined; +}; + +/** + * The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code. + */ +export const Encoding = { + Base64: "base64", + Utf8: "utf-8", +} as const; +/** + * The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code. + */ +export type Encoding = ClosedEnum; + +/** + * Used in the case you want to inline a file inside the request + */ +export type InlinedFile = { + /** + * The file content, it could be either a `base64` (useful for images, etc.) of the files or the plain content for source code + */ + data: string; + /** + * The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code. + */ + encoding?: Encoding | undefined; + /** + * The file name including the whole path + */ + file: string; +}; + +export type Files = InlinedFile | UploadedFile; + +/** + * Populates initial git metadata for different git providers. + */ +export type GitMetadata = { + /** + * The git repository's remote origin url + */ + remoteUrl?: string | undefined; + /** + * The name of the author of the commit + */ + commitAuthorName?: string | undefined; + /** + * The commit message + */ + commitMessage?: string | undefined; + /** + * The branch on which the commit was made + */ + commitRef?: string | undefined; + /** + * The hash of the commit + */ + commitSha?: string | undefined; + /** + * Whether or not there have been modifications to the working tree since the latest commit + */ + dirty?: boolean | undefined; +}; + +export const CreateDeploymentGitSourceDeploymentsRequestType = { + Bitbucket: "bitbucket", +} as const; +export type CreateDeploymentGitSourceDeploymentsRequestType = ClosedEnum< + typeof CreateDeploymentGitSourceDeploymentsRequestType +>; + +export type Five = { + owner: string; + ref: string; + sha?: string | undefined; + slug: string; + type: CreateDeploymentGitSourceDeploymentsRequestType; +}; + +export const CreateDeploymentGitSourceDeploymentsType = { + Bitbucket: "bitbucket", +} as const; +export type CreateDeploymentGitSourceDeploymentsType = ClosedEnum< + typeof CreateDeploymentGitSourceDeploymentsType +>; + +export type Four = { + ref: string; + repoUuid: string; + sha?: string | undefined; + type: CreateDeploymentGitSourceDeploymentsType; + workspaceUuid?: string | undefined; +}; + +export type ProjectId = number | string; + +export const CreateDeploymentGitSourceType = { + Gitlab: "gitlab", +} as const; +export type CreateDeploymentGitSourceType = ClosedEnum< + typeof CreateDeploymentGitSourceType +>; + +export type Three = { + projectId: number | string; + ref: string; + sha?: string | undefined; + type: CreateDeploymentGitSourceType; +}; + +export const GitSourceType = { + Github: "github", +} as const; +export type GitSourceType = ClosedEnum; + +export type GitSource2 = { + org: string; + ref: string; + repo: string; + sha?: string | undefined; + type: GitSourceType; +}; + +export type RepoId = number | string; + +export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType = { + Github: "github", +} as const; +export type CreateDeploymentGitSourceDeploymentsRequestRequestBodyType = + ClosedEnum; + +export type GitSource1 = { + ref: string; + repoId: number | string; + sha?: string | undefined; + type: CreateDeploymentGitSourceDeploymentsRequestRequestBodyType; +}; + +/** + * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`. + */ +export type GitSource = GitSource1 | Three | GitSource2 | Four | Five; + +/** + * The framework that is being used for this project. When `null` is used no framework is selected + */ +export const Framework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + Astro: "astro", + Hexo: "hexo", + Eleventy: "eleventy", + Docusaurus2: "docusaurus-2", + Docusaurus: "docusaurus", + Preact: "preact", + Solidstart1: "solidstart-1", + Solidstart: "solidstart", + Dojo: "dojo", + Ember: "ember", + Vue: "vue", + Scully: "scully", + IonicAngular: "ionic-angular", + Angular: "angular", + Polymer: "polymer", + Svelte: "svelte", + Sveltekit: "sveltekit", + Sveltekit1: "sveltekit-1", + IonicReact: "ionic-react", + CreateReactApp: "create-react-app", + Gridsome: "gridsome", + Umijs: "umijs", + Sapper: "sapper", + Saber: "saber", + Stencil: "stencil", + Nuxtjs: "nuxtjs", + Redwoodjs: "redwoodjs", + Hugo: "hugo", + Jekyll: "jekyll", + Brunch: "brunch", + Middleman: "middleman", + Zola: "zola", + Hydrogen: "hydrogen", + Vite: "vite", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", +} as const; +/** + * The framework that is being used for this project. When `null` is used no framework is selected + */ +export type Framework = ClosedEnum; + +/** + * Override the Node.js version that should be used for this deployment + */ +export const NodeVersion = { + TwentyTwoX: "22.x", + TwentyX: "20.x", + EighteenX: "18.x", + SixteenX: "16.x", + FourteenX: "14.x", + TwelveX: "12.x", + TenX: "10.x", + Eight10X: "8.10.x", +} as const; +/** + * Override the Node.js version that should be used for this deployment + */ +export type NodeVersion = ClosedEnum; + +/** + * Project settings that will be applied to the deployment. It is required for the first deployment of a project and will be saved for any following deployments + */ +export type ProjectSettings = { + /** + * The build command for this project. When `null` is used this value will be automatically detected + */ + buildCommand?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + /** + * The dev command for this project. When `null` is used this value will be automatically detected + */ + devCommand?: string | null | undefined; + /** + * The framework that is being used for this project. When `null` is used no framework is selected + */ + framework?: Framework | null | undefined; + /** + * The install command for this project. When `null` is used this value will be automatically detected + */ + installCommand?: string | null | undefined; + /** + * Override the Node.js version that should be used for this deployment + */ + nodeVersion?: NodeVersion | undefined; + /** + * The output directory of the project. When `null` is used this value will be automatically detected + */ + outputDirectory?: string | null | undefined; + /** + * The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root + */ + rootDirectory?: string | null | undefined; + /** + * The region to deploy Serverless Functions in this project + */ + serverlessFunctionRegion?: string | null | undefined; + /** + * Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + skipGitConnectDuringLink?: boolean | undefined; + /** + * Indicates if there are source files outside of the root directory, typically used for monorepos + */ + sourceFilesOutsideRootDirectory?: boolean | undefined; +}; + +/** + * Either not defined, `staging`, or `production`. If `staging`, a staging alias in the format `-.vercel.app` will be assigned. If `production`, any aliases defined in `alias` will be assigned. If omitted, the target will be `preview` + */ +export const Target = { + Staging: "staging", + Production: "production", +} as const; +/** + * Either not defined, `staging`, or `production`. If `staging`, a staging alias in the format `-.vercel.app` will be assigned. If `production`, any aliases defined in `alias` will be assigned. If omitted, the target will be `preview` + */ +export type Target = ClosedEnum; + +export type CreateDeploymentRequestBody = { + /** + * An deployment id for an existing deployment to redeploy + */ + deploymentId?: string | undefined; + /** + * A list of objects with the files to be deployed + */ + files?: Array | undefined; + /** + * Populates initial git metadata for different git providers. + */ + gitMetadata?: GitMetadata | undefined; + /** + * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`. + */ + gitSource?: GitSource1 | Three | GitSource2 | Four | Five | undefined; + /** + * An object containing the deployment's metadata. Multiple key-value pairs can be attached to a deployment + */ + meta?: { [k: string]: string } | undefined; + /** + * The monorepo manager that is being used for this deployment. When `null` is used no monorepo manager is selected + */ + monorepoManager?: string | null | undefined; + /** + * A string with the project name used in the deployment URL + */ + name: string; + /** + * The target project identifier in which the deployment will be created. When defined, this parameter overrides name + */ + project?: string | undefined; + /** + * Project settings that will be applied to the deployment. It is required for the first deployment of a project and will be saved for any following deployments + */ + projectSettings?: ProjectSettings | undefined; + /** + * Either not defined, `staging`, or `production`. If `staging`, a staging alias in the format `-.vercel.app` will be assigned. If `production`, any aliases defined in `alias` will be assigned. If omitted, the target will be `preview` + */ + target?: Target | undefined; + /** + * When `true` and `deploymentId` is passed in, the sha from the previous deployment's `gitSource` is removed forcing the latest commit to be used. + */ + withLatestCommit?: boolean | undefined; +}; + +export type CreateDeploymentRequest = { + /** + * Allows to skip framework detection so the API would not fail to ask for confirmation + */ + skipAutoDetectionConfirmation?: SkipAutoDetectionConfirmation | undefined; + /** + * Forces a new deployment even if there is a previous similar deployment + */ + forceNew?: ForceNew | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: CreateDeploymentRequestBody; +}; + +export type AliasAssignedAt = number | boolean; + +export type Build = { + env: Array; +}; + +export type Builds = {}; + +export const CreateDeploymentFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + Astro: "astro", + Hexo: "hexo", + Eleventy: "eleventy", + Docusaurus2: "docusaurus-2", + Docusaurus: "docusaurus", + Preact: "preact", + Solidstart1: "solidstart-1", + Solidstart: "solidstart", + Dojo: "dojo", + Ember: "ember", + Vue: "vue", + Scully: "scully", + IonicAngular: "ionic-angular", + Angular: "angular", + Polymer: "polymer", + Svelte: "svelte", + Sveltekit: "sveltekit", + Sveltekit1: "sveltekit-1", + IonicReact: "ionic-react", + CreateReactApp: "create-react-app", + Gridsome: "gridsome", + Umijs: "umijs", + Sapper: "sapper", + Saber: "saber", + Stencil: "stencil", + Nuxtjs: "nuxtjs", + Redwoodjs: "redwoodjs", + Hugo: "hugo", + Jekyll: "jekyll", + Brunch: "brunch", + Middleman: "middleman", + Zola: "zola", + Hydrogen: "hydrogen", + Vite: "vite", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", +} as const; +export type CreateDeploymentFramework = ClosedEnum< + typeof CreateDeploymentFramework +>; + +export type CreateDeploymentSpeedInsights = { + id: string; + enabledAt?: number | undefined; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + hasData?: boolean | undefined; + paidAt?: number | undefined; +}; + +export type CreateDeploymentWebAnalytics = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; +}; + +export type CreateDeploymentProjectSettings = { + buildCommand?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + devCommand?: string | null | undefined; + framework?: CreateDeploymentFramework | null | undefined; + installCommand?: string | null | undefined; + outputDirectory?: string | null | undefined; + speedInsights?: CreateDeploymentSpeedInsights | undefined; + webAnalytics?: CreateDeploymentWebAnalytics | undefined; +}; + +export const CreateDeploymentDeploymentsStatus = { + Error: "error", + Skipped: "skipped", + Pending: "pending", + Ready: "ready", + Timeout: "timeout", +} as const; +export type CreateDeploymentDeploymentsStatus = ClosedEnum< + typeof CreateDeploymentDeploymentsStatus +>; + +export type Integrations = { + status: CreateDeploymentDeploymentsStatus; + startedAt: number; + completedAt?: number | undefined; + skippedAt?: number | undefined; + skippedBy?: string | undefined; +}; + +export type Creator = { + uid: string; + username?: string | undefined; + avatar?: string | undefined; +}; + +export const CreateDeploymentReadyState = { + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Ready: "READY", +} as const; +export type CreateDeploymentReadyState = ClosedEnum< + typeof CreateDeploymentReadyState +>; + +export type CreateDeploymentOutput = { + path: string; + functionName: string; +}; + +/** + * A partial representation of a Build used by the deployment endpoint. + */ +export type Lambdas = { + id?: string | undefined; + createdAt?: number | undefined; + entrypoint?: string | null | undefined; + readyState?: CreateDeploymentReadyState | undefined; + readyStateAt?: number | undefined; + output: Array; +}; + +export const CreateDeploymentStatus = { + Canceled: "CANCELED", + Error: "ERROR", + Queued: "QUEUED", + Building: "BUILDING", + Initializing: "INITIALIZING", + Ready: "READY", +} as const; +export type CreateDeploymentStatus = ClosedEnum; + +export type Team = { + name: string; + id: string; + slug: string; + avatar?: string | undefined; +}; + +export type CustomEnvironment2 = { + id: string; +}; + +export type CustomEnvironment1 = {}; + +export type CustomEnvironment = CustomEnvironment1 | CustomEnvironment2; + +export const CreateDeploymentType = { + Lambdas: "LAMBDAS", +} as const; +export type CreateDeploymentType = ClosedEnum; + +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type = + { + Bitbucket: "bitbucket", + } as const; +export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type = + ClosedEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type + >; + +export type CreateDeploymentGitSource9 = { + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type; + ref: string; + sha: string; + owner?: string | undefined; + slug?: string | undefined; + workspaceUuid: string; + repoUuid: string; +}; + +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type = + { + Gitlab: "gitlab", + } as const; +export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type = + ClosedEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type + >; + +export type CreateDeploymentGitSource8 = { + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type; + ref: string; + sha: string; + projectId: number; +}; + +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type = + { + Github: "github", + } as const; +export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type = + ClosedEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type + >; + +export type CreateDeploymentGitSource7 = { + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type; + ref: string; + sha: string; + repoId: number; + org?: string | undefined; + repo?: string | undefined; +}; + +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type = + { + Custom: "custom", + } as const; +export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type = + ClosedEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type + >; + +/** + * Allows custom git sources (local folder mounted to the container) in test mode + */ +export type CreateDeploymentGitSource6 = { + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type; + ref: string; + sha: string; + gitUrl: string; +}; + +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type = + { + Bitbucket: "bitbucket", + } as const; +export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type = + ClosedEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type + >; + +export type GitSource5 = { + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type; + owner: string; + slug: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = + { + Bitbucket: "bitbucket", + } as const; +export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType + >; + +export type GitSource4 = { + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType; + workspaceUuid?: string | undefined; + repoUuid: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = + { + Gitlab: "gitlab", + } as const; +export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = + ClosedEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType + >; + +export type GitSourceProjectId = string | number; + +export type GitSource3 = { + type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType; + projectId: string | number; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export const CreateDeploymentGitSourceDeploymentsResponse200Type = { + Github: "github", +} as const; +export type CreateDeploymentGitSourceDeploymentsResponse200Type = ClosedEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200Type +>; + +export type CreateDeploymentGitSource2 = { + type: CreateDeploymentGitSourceDeploymentsResponse200Type; + org: string; + repo: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export const CreateDeploymentGitSourceDeploymentsResponseType = { + Github: "github", +} as const; +export type CreateDeploymentGitSourceDeploymentsResponseType = ClosedEnum< + typeof CreateDeploymentGitSourceDeploymentsResponseType +>; + +export type GitSourceRepoId = string | number; + +export type CreateDeploymentGitSource1 = { + type: CreateDeploymentGitSourceDeploymentsResponseType; + repoId: string | number; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export type CreateDeploymentGitSource = + | CreateDeploymentGitSource6 + | CreateDeploymentGitSource8 + | CreateDeploymentGitSource1 + | GitSource3 + | CreateDeploymentGitSource2 + | GitSource4 + | GitSource5 + | CreateDeploymentGitSource7 + | CreateDeploymentGitSource9; + +export type Project = { + id: string; + name: string; + framework?: string | null | undefined; +}; + +export const ReadyState = { + Canceled: "CANCELED", + Error: "ERROR", + Queued: "QUEUED", + Building: "BUILDING", + Initializing: "INITIALIZING", + Ready: "READY", +} as const; +export type ReadyState = ClosedEnum; + +export const CreateDeploymentSource = { + Cli: "cli", + Git: "git", + Import: "import", + ImportRepo: "import/repo", + CloneRepo: "clone/repo", + ApiTriggerGitDeploy: "api-trigger-git-deploy", + Redeploy: "redeploy", + V0Web: "v0-web", +} as const; +export type CreateDeploymentSource = ClosedEnum; + +export const CreateDeploymentTarget = { + Staging: "staging", + Production: "production", +} as const; +export type CreateDeploymentTarget = ClosedEnum; + +export type AliasWarning = { + code: string; + message: string; + link?: string | undefined; + action?: string | undefined; +}; + +export type AliasError = { + code: string; + message: string; +}; + +export const ChecksState = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +export type ChecksState = ClosedEnum; + +export const ChecksConclusion = { + Succeeded: "succeeded", + Failed: "failed", + Skipped: "skipped", + Canceled: "canceled", +} as const; +export type ChecksConclusion = ClosedEnum; + +/** + * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic + */ +export const ReadySubstate = { + Staged: "STAGED", + Promoted: "PROMOTED", +} as const; +/** + * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic + */ +export type ReadySubstate = ClosedEnum; + +export type OidcTokenClaims = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + ownerId: string; + project: string; + projectId: string; + environment: string; +}; + +/** + * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. + */ +export type Applications = { + /** + * This is the production alias, it will always show the most up to date of each application. + */ + productionHost: string; + /** + * Use the fixed deploymentAlias and deploymentHost so that the microfrontend preview stays in sync with the deployment. These are only present for mono-repos when a single commit creates multiple deployments. If they are not present, productionHost will be used. + */ + deploymentAlias?: string | undefined; + deploymentHost?: string | undefined; +}; + +export type Microfrontends2 = { + /** + * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. + */ + applications?: { [k: string]: Applications } | undefined; + isDefaultApp: boolean; + /** + * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. + */ + defaultRoute?: string | undefined; + /** + * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. + */ + groupIds: Array; +}; + +export type Microfrontends1 = { + /** + * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. + */ + isDefaultApp?: boolean | undefined; + /** + * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. + */ + defaultRoute?: string | undefined; + /** + * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. + */ + groupIds: Array; +}; + +export type CreateDeploymentMicrofrontends = Microfrontends1 | Microfrontends2; + +export type Functions = { + memory?: number | undefined; + maxDuration?: number | undefined; + runtime?: string | undefined; + includeFiles?: string | undefined; + excludeFiles?: string | undefined; +}; + +export type Routes3 = { + src: string; + continue: boolean; + middleware: number; +}; + +export const RoutesHandle = { + Error: "error", + Filesystem: "filesystem", + Hit: "hit", + Miss: "miss", + Rewrite: "rewrite", + Resource: "resource", +} as const; +export type RoutesHandle = ClosedEnum; + +export type Routes2 = { + handle: RoutesHandle; + src?: string | undefined; + dest?: string | undefined; + status?: number | undefined; +}; + +export const CreateDeploymentHasType = { + Header: "header", + Cookie: "cookie", + Query: "query", +} as const; +export type CreateDeploymentHasType = ClosedEnum< + typeof CreateDeploymentHasType +>; + +export type Has2 = { + type: CreateDeploymentHasType; + key: string; + value?: string | undefined; +}; + +export const HasType = { + Host: "host", +} as const; +export type HasType = ClosedEnum; + +export type Has1 = { + type: HasType; + value: string; +}; + +export type RoutesHas = Has1 | Has2; + +export const CreateDeploymentMissingType = { + Header: "header", + Cookie: "cookie", + Query: "query", +} as const; +export type CreateDeploymentMissingType = ClosedEnum< + typeof CreateDeploymentMissingType +>; + +export type Missing2 = { + type: CreateDeploymentMissingType; + key: string; + value?: string | undefined; +}; + +export const MissingType = { + Host: "host", +} as const; +export type MissingType = ClosedEnum; + +export type Missing1 = { + type: MissingType; + value: string; +}; + +export type RoutesMissing = Missing1 | Missing2; + +export type Locale = { + redirect?: { [k: string]: string } | undefined; + cookie?: string | undefined; +}; + +export type Routes1 = { + src: string; + dest?: string | undefined; + headers?: { [k: string]: string } | undefined; + methods?: Array | undefined; + continue?: boolean | undefined; + override?: boolean | undefined; + caseSensitive?: boolean | undefined; + check?: boolean | undefined; + important?: boolean | undefined; + status?: number | undefined; + has?: Array | undefined; + missing?: Array | undefined; + locale?: Locale | undefined; + /** + * A middleware key within the `output` key under the build result. Overrides a `middleware` definition. + */ + middlewarePath?: string | undefined; + /** + * The original middleware matchers. + */ + middlewareRawSrc?: Array | undefined; + /** + * A middleware index in the `middleware` key under the build result + */ + middleware?: number | undefined; +}; + +export type Routes = Routes3 | Routes2 | Routes1; + +export type CreateDeploymentCrons = { + schedule: string; + path: string; +}; + +export const Plan = { + Pro: "pro", + Enterprise: "enterprise", + Hobby: "hobby", +} as const; +export type Plan = ClosedEnum; + +export const CreateDeploymentGitRepoDeploymentsType = { + Bitbucket: "bitbucket", +} as const; +export type CreateDeploymentGitRepoDeploymentsType = ClosedEnum< + typeof CreateDeploymentGitRepoDeploymentsType +>; + +export const CreateDeploymentGitRepoOwnerType = { + Team: "team", + User: "user", +} as const; +export type CreateDeploymentGitRepoOwnerType = ClosedEnum< + typeof CreateDeploymentGitRepoOwnerType +>; + +export type GitRepo3 = { + owner: string; + repoUuid: string; + slug: string; + type: CreateDeploymentGitRepoDeploymentsType; + workspaceUuid: string; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: CreateDeploymentGitRepoOwnerType; +}; + +export const CreateDeploymentGitRepoType = { + Github: "github", +} as const; +export type CreateDeploymentGitRepoType = ClosedEnum< + typeof CreateDeploymentGitRepoType +>; + +export const GitRepoOwnerType = { + Team: "team", + User: "user", +} as const; +export type GitRepoOwnerType = ClosedEnum; + +export type GitRepo2 = { + org: string; + repo: string; + repoId: number; + type: CreateDeploymentGitRepoType; + repoOwnerId: number; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: GitRepoOwnerType; +}; + +export const GitRepoType = { + Gitlab: "gitlab", +} as const; +export type GitRepoType = ClosedEnum; + +export const OwnerType = { + Team: "team", + User: "user", +} as const; +export type OwnerType = ClosedEnum; + +export type GitRepo1 = { + namespace: string; + projectId: number; + type: GitRepoType; + url: string; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: OwnerType; +}; + +export type GitRepo = GitRepo1 | GitRepo2 | GitRepo3; + +/** + * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. + */ +export type Flags2 = {}; + +export type Options = { + value: FlagJSONValue | null; + label?: string | undefined; +}; + +export type FlagsDefinitions = { + options?: Array | undefined; + url?: string | undefined; + description?: string | undefined; +}; + +/** + * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. + */ +export type Flags1 = { + definitions: { [k: string]: FlagsDefinitions }; +}; + +export type Flags = Flags1 | Array; + +/** + * The successfully created deployment + */ +export type CreateDeploymentResponseBody = { + aliasAssignedAt?: number | boolean | null | undefined; + alwaysRefuseToBuild?: boolean | undefined; + build: Build; + buildArtifactUrls?: Array | undefined; + builds?: Array | undefined; + env: Array; + inspectorUrl: string | null; + isInConcurrentBuildsQueue: boolean; + isInSystemBuildsQueue: boolean; + projectSettings: CreateDeploymentProjectSettings; + readyStateReason?: string | undefined; + integrations?: Integrations | undefined; + alias?: Array | undefined; + aliasAssigned: boolean; + bootedAt: number; + buildingAt: number; + buildSkipped: boolean; + creator: Creator; + initReadyAt?: number | undefined; + isFirstBranchDeployment?: boolean | undefined; + lambdas?: Array | undefined; + public: boolean; + ready?: number | undefined; + status: CreateDeploymentStatus; + team?: Team | undefined; + userAliases?: Array | undefined; + previewCommentsEnabled?: boolean | undefined; + ttyBuildLogs?: boolean | undefined; + customEnvironment?: CustomEnvironment1 | CustomEnvironment2 | undefined; + type: CreateDeploymentType; + createdAt: number; + name: string; + deletedAt?: number | null | undefined; + id: string; + version: number; + /** + * applies to custom domains only, defaults to `true` + */ + autoAssignCustomDomains?: boolean | undefined; + gitSource?: + | CreateDeploymentGitSource6 + | CreateDeploymentGitSource8 + | CreateDeploymentGitSource1 + | GitSource3 + | CreateDeploymentGitSource2 + | GitSource4 + | GitSource5 + | CreateDeploymentGitSource7 + | CreateDeploymentGitSource9 + | undefined; + meta: { [k: string]: string }; + project?: Project | undefined; + readyState: ReadyState; + source?: CreateDeploymentSource | undefined; + target?: CreateDeploymentTarget | null | undefined; + /** + * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service + */ + passiveRegions?: Array | undefined; + regions: Array; + errorMessage?: string | null | undefined; + aliasWarning?: AliasWarning | null | undefined; + aliasError?: AliasError | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + buildErrorAt?: number | undefined; + checksState?: ChecksState | undefined; + checksConclusion?: ChecksConclusion | undefined; + /** + * Computed field that is only available for deployments with a microfrontend configuration. + */ + defaultRoute?: string | undefined; + canceledAt?: number | undefined; + errorCode?: string | undefined; + errorLink?: string | undefined; + errorStep?: string | undefined; + originCacheRegion?: string | undefined; + /** + * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic + */ + readySubstate?: ReadySubstate | undefined; + softDeletedByRetention?: boolean | undefined; + undeletedAt?: number | undefined; + url: string; + oidcTokenClaims?: OidcTokenClaims | undefined; + projectId: string; + ownerId: string; + microfrontends?: Microfrontends1 | Microfrontends2 | undefined; + monorepoManager?: string | null | undefined; + functions?: { [k: string]: Functions } | null | undefined; + routes: Array | null; + crons?: Array | undefined; + plan: Plan; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdIn: string; + /** + * Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions) + */ + passiveConnectConfigurationId?: string | undefined; + gitRepo?: GitRepo1 | GitRepo2 | GitRepo3 | null | undefined; + flags?: Flags1 | Array | undefined; +}; + +/** @internal */ +export const SkipAutoDetectionConfirmation$inboundSchema: z.ZodNativeEnum< + typeof SkipAutoDetectionConfirmation +> = z.nativeEnum(SkipAutoDetectionConfirmation); + +/** @internal */ +export const SkipAutoDetectionConfirmation$outboundSchema: z.ZodNativeEnum< + typeof SkipAutoDetectionConfirmation +> = SkipAutoDetectionConfirmation$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SkipAutoDetectionConfirmation$ { + /** @deprecated use `SkipAutoDetectionConfirmation$inboundSchema` instead. */ + export const inboundSchema = SkipAutoDetectionConfirmation$inboundSchema; + /** @deprecated use `SkipAutoDetectionConfirmation$outboundSchema` instead. */ + export const outboundSchema = SkipAutoDetectionConfirmation$outboundSchema; +} + +/** @internal */ +export const ForceNew$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(ForceNew); + +/** @internal */ +export const ForceNew$outboundSchema: z.ZodNativeEnum = + ForceNew$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ForceNew$ { + /** @deprecated use `ForceNew$inboundSchema` instead. */ + export const inboundSchema = ForceNew$inboundSchema; + /** @deprecated use `ForceNew$outboundSchema` instead. */ + export const outboundSchema = ForceNew$outboundSchema; +} + +/** @internal */ +export const UploadedFile$inboundSchema: z.ZodType< + UploadedFile, + z.ZodTypeDef, + unknown +> = z.object({ + file: z.string(), + sha: z.string().optional(), + size: z.number().int().optional(), +}); + +/** @internal */ +export type UploadedFile$Outbound = { + file: string; + sha?: string | undefined; + size?: number | undefined; +}; + +/** @internal */ +export const UploadedFile$outboundSchema: z.ZodType< + UploadedFile$Outbound, + z.ZodTypeDef, + UploadedFile +> = z.object({ + file: z.string(), + sha: z.string().optional(), + size: z.number().int().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UploadedFile$ { + /** @deprecated use `UploadedFile$inboundSchema` instead. */ + export const inboundSchema = UploadedFile$inboundSchema; + /** @deprecated use `UploadedFile$outboundSchema` instead. */ + export const outboundSchema = UploadedFile$outboundSchema; + /** @deprecated use `UploadedFile$Outbound` instead. */ + export type Outbound = UploadedFile$Outbound; +} + +export function uploadedFileToJSON(uploadedFile: UploadedFile): string { + return JSON.stringify(UploadedFile$outboundSchema.parse(uploadedFile)); +} + +export function uploadedFileFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UploadedFile$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UploadedFile' from JSON`, + ); +} + +/** @internal */ +export const Encoding$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Encoding); + +/** @internal */ +export const Encoding$outboundSchema: z.ZodNativeEnum = + Encoding$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Encoding$ { + /** @deprecated use `Encoding$inboundSchema` instead. */ + export const inboundSchema = Encoding$inboundSchema; + /** @deprecated use `Encoding$outboundSchema` instead. */ + export const outboundSchema = Encoding$outboundSchema; +} + +/** @internal */ +export const InlinedFile$inboundSchema: z.ZodType< + InlinedFile, + z.ZodTypeDef, + unknown +> = z.object({ + data: z.string(), + encoding: Encoding$inboundSchema.optional(), + file: z.string(), +}); + +/** @internal */ +export type InlinedFile$Outbound = { + data: string; + encoding?: string | undefined; + file: string; +}; + +/** @internal */ +export const InlinedFile$outboundSchema: z.ZodType< + InlinedFile$Outbound, + z.ZodTypeDef, + InlinedFile +> = z.object({ + data: z.string(), + encoding: Encoding$outboundSchema.optional(), + file: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace InlinedFile$ { + /** @deprecated use `InlinedFile$inboundSchema` instead. */ + export const inboundSchema = InlinedFile$inboundSchema; + /** @deprecated use `InlinedFile$outboundSchema` instead. */ + export const outboundSchema = InlinedFile$outboundSchema; + /** @deprecated use `InlinedFile$Outbound` instead. */ + export type Outbound = InlinedFile$Outbound; +} + +export function inlinedFileToJSON(inlinedFile: InlinedFile): string { + return JSON.stringify(InlinedFile$outboundSchema.parse(inlinedFile)); +} + +export function inlinedFileFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => InlinedFile$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'InlinedFile' from JSON`, + ); +} + +/** @internal */ +export const Files$inboundSchema: z.ZodType = z + .union([ + z.lazy(() => InlinedFile$inboundSchema), + z.lazy(() => UploadedFile$inboundSchema), + ]); + +/** @internal */ +export type Files$Outbound = InlinedFile$Outbound | UploadedFile$Outbound; + +/** @internal */ +export const Files$outboundSchema: z.ZodType< + Files$Outbound, + z.ZodTypeDef, + Files +> = z.union([ + z.lazy(() => InlinedFile$outboundSchema), + z.lazy(() => UploadedFile$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Files$ { + /** @deprecated use `Files$inboundSchema` instead. */ + export const inboundSchema = Files$inboundSchema; + /** @deprecated use `Files$outboundSchema` instead. */ + export const outboundSchema = Files$outboundSchema; + /** @deprecated use `Files$Outbound` instead. */ + export type Outbound = Files$Outbound; +} + +export function filesToJSON(files: Files): string { + return JSON.stringify(Files$outboundSchema.parse(files)); +} + +export function filesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Files$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Files' from JSON`, + ); +} + +/** @internal */ +export const GitMetadata$inboundSchema: z.ZodType< + GitMetadata, + z.ZodTypeDef, + unknown +> = z.object({ + remoteUrl: z.string().optional(), + commitAuthorName: z.string().optional(), + commitMessage: z.string().optional(), + commitRef: z.string().optional(), + commitSha: z.string().optional(), + dirty: z.boolean().optional(), +}); + +/** @internal */ +export type GitMetadata$Outbound = { + remoteUrl?: string | undefined; + commitAuthorName?: string | undefined; + commitMessage?: string | undefined; + commitRef?: string | undefined; + commitSha?: string | undefined; + dirty?: boolean | undefined; +}; + +/** @internal */ +export const GitMetadata$outboundSchema: z.ZodType< + GitMetadata$Outbound, + z.ZodTypeDef, + GitMetadata +> = z.object({ + remoteUrl: z.string().optional(), + commitAuthorName: z.string().optional(), + commitMessage: z.string().optional(), + commitRef: z.string().optional(), + commitSha: z.string().optional(), + dirty: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitMetadata$ { + /** @deprecated use `GitMetadata$inboundSchema` instead. */ + export const inboundSchema = GitMetadata$inboundSchema; + /** @deprecated use `GitMetadata$outboundSchema` instead. */ + export const outboundSchema = GitMetadata$outboundSchema; + /** @deprecated use `GitMetadata$Outbound` instead. */ + export type Outbound = GitMetadata$Outbound; +} + +export function gitMetadataToJSON(gitMetadata: GitMetadata): string { + return JSON.stringify(GitMetadata$outboundSchema.parse(gitMetadata)); +} + +export function gitMetadataFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitMetadata$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitMetadata' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateDeploymentGitSourceDeploymentsRequestType); + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema: + z.ZodNativeEnum = + CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSourceDeploymentsRequestType$ { + /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema` instead. */ + export const inboundSchema = + CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema; + /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema` instead. */ + export const outboundSchema = + CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema; +} + +/** @internal */ +export const Five$inboundSchema: z.ZodType = z + .object({ + owner: z.string(), + ref: z.string(), + sha: z.string().optional(), + slug: z.string(), + type: CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema, + }); + +/** @internal */ +export type Five$Outbound = { + owner: string; + ref: string; + sha?: string | undefined; + slug: string; + type: string; +}; + +/** @internal */ +export const Five$outboundSchema: z.ZodType = + z.object({ + owner: z.string(), + ref: z.string(), + sha: z.string().optional(), + slug: z.string(), + type: CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Five$ { + /** @deprecated use `Five$inboundSchema` instead. */ + export const inboundSchema = Five$inboundSchema; + /** @deprecated use `Five$outboundSchema` instead. */ + export const outboundSchema = Five$outboundSchema; + /** @deprecated use `Five$Outbound` instead. */ + export type Outbound = Five$Outbound; +} + +export function fiveToJSON(five: Five): string { + return JSON.stringify(Five$outboundSchema.parse(five)); +} + +export function fiveFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Five$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Five' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateDeploymentGitSourceDeploymentsType); + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsType$outboundSchema: + z.ZodNativeEnum = + CreateDeploymentGitSourceDeploymentsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSourceDeploymentsType$ { + /** @deprecated use `CreateDeploymentGitSourceDeploymentsType$inboundSchema` instead. */ + export const inboundSchema = + CreateDeploymentGitSourceDeploymentsType$inboundSchema; + /** @deprecated use `CreateDeploymentGitSourceDeploymentsType$outboundSchema` instead. */ + export const outboundSchema = + CreateDeploymentGitSourceDeploymentsType$outboundSchema; +} + +/** @internal */ +export const Four$inboundSchema: z.ZodType = z + .object({ + ref: z.string(), + repoUuid: z.string(), + sha: z.string().optional(), + type: CreateDeploymentGitSourceDeploymentsType$inboundSchema, + workspaceUuid: z.string().optional(), + }); + +/** @internal */ +export type Four$Outbound = { + ref: string; + repoUuid: string; + sha?: string | undefined; + type: string; + workspaceUuid?: string | undefined; +}; + +/** @internal */ +export const Four$outboundSchema: z.ZodType = + z.object({ + ref: z.string(), + repoUuid: z.string(), + sha: z.string().optional(), + type: CreateDeploymentGitSourceDeploymentsType$outboundSchema, + workspaceUuid: z.string().optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Four$ { + /** @deprecated use `Four$inboundSchema` instead. */ + export const inboundSchema = Four$inboundSchema; + /** @deprecated use `Four$outboundSchema` instead. */ + export const outboundSchema = Four$outboundSchema; + /** @deprecated use `Four$Outbound` instead. */ + export type Outbound = Four$Outbound; +} + +export function fourToJSON(four: Four): string { + return JSON.stringify(Four$outboundSchema.parse(four)); +} + +export function fourFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Four$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Four' from JSON`, + ); +} + +/** @internal */ +export const ProjectId$inboundSchema: z.ZodType< + ProjectId, + z.ZodTypeDef, + unknown +> = z.union([z.number(), z.string()]); + +/** @internal */ +export type ProjectId$Outbound = number | string; + +/** @internal */ +export const ProjectId$outboundSchema: z.ZodType< + ProjectId$Outbound, + z.ZodTypeDef, + ProjectId +> = z.union([z.number(), z.string()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ProjectId$ { + /** @deprecated use `ProjectId$inboundSchema` instead. */ + export const inboundSchema = ProjectId$inboundSchema; + /** @deprecated use `ProjectId$outboundSchema` instead. */ + export const outboundSchema = ProjectId$outboundSchema; + /** @deprecated use `ProjectId$Outbound` instead. */ + export type Outbound = ProjectId$Outbound; +} + +export function projectIdToJSON(projectId: ProjectId): string { + return JSON.stringify(ProjectId$outboundSchema.parse(projectId)); +} + +export function projectIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ProjectId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProjectId' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentGitSourceType$inboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentGitSourceType +> = z.nativeEnum(CreateDeploymentGitSourceType); + +/** @internal */ +export const CreateDeploymentGitSourceType$outboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentGitSourceType +> = CreateDeploymentGitSourceType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSourceType$ { + /** @deprecated use `CreateDeploymentGitSourceType$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentGitSourceType$inboundSchema; + /** @deprecated use `CreateDeploymentGitSourceType$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentGitSourceType$outboundSchema; +} + +/** @internal */ +export const Three$inboundSchema: z.ZodType = z + .object({ + projectId: z.union([z.number(), z.string()]), + ref: z.string(), + sha: z.string().optional(), + type: CreateDeploymentGitSourceType$inboundSchema, + }); + +/** @internal */ +export type Three$Outbound = { + projectId: number | string; + ref: string; + sha?: string | undefined; + type: string; +}; + +/** @internal */ +export const Three$outboundSchema: z.ZodType< + Three$Outbound, + z.ZodTypeDef, + Three +> = z.object({ + projectId: z.union([z.number(), z.string()]), + ref: z.string(), + sha: z.string().optional(), + type: CreateDeploymentGitSourceType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Three$ { + /** @deprecated use `Three$inboundSchema` instead. */ + export const inboundSchema = Three$inboundSchema; + /** @deprecated use `Three$outboundSchema` instead. */ + export const outboundSchema = Three$outboundSchema; + /** @deprecated use `Three$Outbound` instead. */ + export type Outbound = Three$Outbound; +} + +export function threeToJSON(three: Three): string { + return JSON.stringify(Three$outboundSchema.parse(three)); +} + +export function threeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Three$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Three' from JSON`, + ); +} + +/** @internal */ +export const GitSourceType$inboundSchema: z.ZodNativeEnum< + typeof GitSourceType +> = z.nativeEnum(GitSourceType); + +/** @internal */ +export const GitSourceType$outboundSchema: z.ZodNativeEnum< + typeof GitSourceType +> = GitSourceType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitSourceType$ { + /** @deprecated use `GitSourceType$inboundSchema` instead. */ + export const inboundSchema = GitSourceType$inboundSchema; + /** @deprecated use `GitSourceType$outboundSchema` instead. */ + export const outboundSchema = GitSourceType$outboundSchema; +} + +/** @internal */ +export const GitSource2$inboundSchema: z.ZodType< + GitSource2, + z.ZodTypeDef, + unknown +> = z.object({ + org: z.string(), + ref: z.string(), + repo: z.string(), + sha: z.string().optional(), + type: GitSourceType$inboundSchema, +}); + +/** @internal */ +export type GitSource2$Outbound = { + org: string; + ref: string; + repo: string; + sha?: string | undefined; + type: string; +}; + +/** @internal */ +export const GitSource2$outboundSchema: z.ZodType< + GitSource2$Outbound, + z.ZodTypeDef, + GitSource2 +> = z.object({ + org: z.string(), + ref: z.string(), + repo: z.string(), + sha: z.string().optional(), + type: GitSourceType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitSource2$ { + /** @deprecated use `GitSource2$inboundSchema` instead. */ + export const inboundSchema = GitSource2$inboundSchema; + /** @deprecated use `GitSource2$outboundSchema` instead. */ + export const outboundSchema = GitSource2$outboundSchema; + /** @deprecated use `GitSource2$Outbound` instead. */ + export type Outbound = GitSource2$Outbound; +} + +export function gitSource2ToJSON(gitSource2: GitSource2): string { + return JSON.stringify(GitSource2$outboundSchema.parse(gitSource2)); +} + +export function gitSource2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitSource2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitSource2' from JSON`, + ); +} + +/** @internal */ +export const RepoId$inboundSchema: z.ZodType = z + .union([z.number(), z.string()]); + +/** @internal */ +export type RepoId$Outbound = number | string; + +/** @internal */ +export const RepoId$outboundSchema: z.ZodType< + RepoId$Outbound, + z.ZodTypeDef, + RepoId +> = z.union([z.number(), z.string()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RepoId$ { + /** @deprecated use `RepoId$inboundSchema` instead. */ + export const inboundSchema = RepoId$inboundSchema; + /** @deprecated use `RepoId$outboundSchema` instead. */ + export const outboundSchema = RepoId$outboundSchema; + /** @deprecated use `RepoId$Outbound` instead. */ + export type Outbound = RepoId$Outbound; +} + +export function repoIdToJSON(repoId: RepoId): string { + return JSON.stringify(RepoId$outboundSchema.parse(repoId)); +} + +export function repoIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RepoId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RepoId' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType + > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBodyType); + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType + > = CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$ { + /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema` instead. */ + export const inboundSchema = + CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema; + /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema` instead. */ + export const outboundSchema = + CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema; +} + +/** @internal */ +export const GitSource1$inboundSchema: z.ZodType< + GitSource1, + z.ZodTypeDef, + unknown +> = z.object({ + ref: z.string(), + repoId: z.union([z.number(), z.string()]), + sha: z.string().optional(), + type: + CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema, +}); + +/** @internal */ +export type GitSource1$Outbound = { + ref: string; + repoId: number | string; + sha?: string | undefined; + type: string; +}; + +/** @internal */ +export const GitSource1$outboundSchema: z.ZodType< + GitSource1$Outbound, + z.ZodTypeDef, + GitSource1 +> = z.object({ + ref: z.string(), + repoId: z.union([z.number(), z.string()]), + sha: z.string().optional(), + type: + CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitSource1$ { + /** @deprecated use `GitSource1$inboundSchema` instead. */ + export const inboundSchema = GitSource1$inboundSchema; + /** @deprecated use `GitSource1$outboundSchema` instead. */ + export const outboundSchema = GitSource1$outboundSchema; + /** @deprecated use `GitSource1$Outbound` instead. */ + export type Outbound = GitSource1$Outbound; +} + +export function gitSource1ToJSON(gitSource1: GitSource1): string { + return JSON.stringify(GitSource1$outboundSchema.parse(gitSource1)); +} + +export function gitSource1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitSource1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitSource1' from JSON`, + ); +} + +/** @internal */ +export const GitSource$inboundSchema: z.ZodType< + GitSource, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GitSource1$inboundSchema), + z.lazy(() => Three$inboundSchema), + z.lazy(() => GitSource2$inboundSchema), + z.lazy(() => Four$inboundSchema), + z.lazy(() => Five$inboundSchema), +]); + +/** @internal */ +export type GitSource$Outbound = + | GitSource1$Outbound + | Three$Outbound + | GitSource2$Outbound + | Four$Outbound + | Five$Outbound; + +/** @internal */ +export const GitSource$outboundSchema: z.ZodType< + GitSource$Outbound, + z.ZodTypeDef, + GitSource +> = z.union([ + z.lazy(() => GitSource1$outboundSchema), + z.lazy(() => Three$outboundSchema), + z.lazy(() => GitSource2$outboundSchema), + z.lazy(() => Four$outboundSchema), + z.lazy(() => Five$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitSource$ { + /** @deprecated use `GitSource$inboundSchema` instead. */ + export const inboundSchema = GitSource$inboundSchema; + /** @deprecated use `GitSource$outboundSchema` instead. */ + export const outboundSchema = GitSource$outboundSchema; + /** @deprecated use `GitSource$Outbound` instead. */ + export type Outbound = GitSource$Outbound; +} + +export function gitSourceToJSON(gitSource: GitSource): string { + return JSON.stringify(GitSource$outboundSchema.parse(gitSource)); +} + +export function gitSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitSource' from JSON`, + ); +} + +/** @internal */ +export const Framework$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Framework); + +/** @internal */ +export const Framework$outboundSchema: z.ZodNativeEnum = + Framework$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Framework$ { + /** @deprecated use `Framework$inboundSchema` instead. */ + export const inboundSchema = Framework$inboundSchema; + /** @deprecated use `Framework$outboundSchema` instead. */ + export const outboundSchema = Framework$outboundSchema; +} + +/** @internal */ +export const NodeVersion$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(NodeVersion); + +/** @internal */ +export const NodeVersion$outboundSchema: z.ZodNativeEnum = + NodeVersion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace NodeVersion$ { + /** @deprecated use `NodeVersion$inboundSchema` instead. */ + export const inboundSchema = NodeVersion$inboundSchema; + /** @deprecated use `NodeVersion$outboundSchema` instead. */ + export const outboundSchema = NodeVersion$outboundSchema; +} + +/** @internal */ +export const ProjectSettings$inboundSchema: z.ZodType< + ProjectSettings, + z.ZodTypeDef, + unknown +> = z.object({ + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + devCommand: z.nullable(z.string()).optional(), + framework: z.nullable(Framework$inboundSchema).optional(), + installCommand: z.nullable(z.string()).optional(), + nodeVersion: NodeVersion$inboundSchema.optional(), + outputDirectory: z.nullable(z.string()).optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + skipGitConnectDuringLink: z.boolean().optional(), + sourceFilesOutsideRootDirectory: z.boolean().optional(), +}); + +/** @internal */ +export type ProjectSettings$Outbound = { + buildCommand?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + devCommand?: string | null | undefined; + framework?: string | null | undefined; + installCommand?: string | null | undefined; + nodeVersion?: string | undefined; + outputDirectory?: string | null | undefined; + rootDirectory?: string | null | undefined; + serverlessFunctionRegion?: string | null | undefined; + skipGitConnectDuringLink?: boolean | undefined; + sourceFilesOutsideRootDirectory?: boolean | undefined; +}; + +/** @internal */ +export const ProjectSettings$outboundSchema: z.ZodType< + ProjectSettings$Outbound, + z.ZodTypeDef, + ProjectSettings +> = z.object({ + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + devCommand: z.nullable(z.string()).optional(), + framework: z.nullable(Framework$outboundSchema).optional(), + installCommand: z.nullable(z.string()).optional(), + nodeVersion: NodeVersion$outboundSchema.optional(), + outputDirectory: z.nullable(z.string()).optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + skipGitConnectDuringLink: z.boolean().optional(), + sourceFilesOutsideRootDirectory: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ProjectSettings$ { + /** @deprecated use `ProjectSettings$inboundSchema` instead. */ + export const inboundSchema = ProjectSettings$inboundSchema; + /** @deprecated use `ProjectSettings$outboundSchema` instead. */ + export const outboundSchema = ProjectSettings$outboundSchema; + /** @deprecated use `ProjectSettings$Outbound` instead. */ + export type Outbound = ProjectSettings$Outbound; +} + +export function projectSettingsToJSON( + projectSettings: ProjectSettings, +): string { + return JSON.stringify(ProjectSettings$outboundSchema.parse(projectSettings)); +} + +export function projectSettingsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ProjectSettings$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProjectSettings' from JSON`, + ); +} + +/** @internal */ +export const Target$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Target); + +/** @internal */ +export const Target$outboundSchema: z.ZodNativeEnum = + Target$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Target$ { + /** @deprecated use `Target$inboundSchema` instead. */ + export const inboundSchema = Target$inboundSchema; + /** @deprecated use `Target$outboundSchema` instead. */ + export const outboundSchema = Target$outboundSchema; +} + +/** @internal */ +export const CreateDeploymentRequestBody$inboundSchema: z.ZodType< + CreateDeploymentRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentId: z.string().optional(), + files: z.array( + z.union([ + z.lazy(() => InlinedFile$inboundSchema), + z.lazy(() => UploadedFile$inboundSchema), + ]), + ).optional(), + gitMetadata: z.lazy(() => GitMetadata$inboundSchema).optional(), + gitSource: z.union([ + z.lazy(() => GitSource1$inboundSchema), + z.lazy(() => Three$inboundSchema), + z.lazy(() => GitSource2$inboundSchema), + z.lazy(() => Four$inboundSchema), + z.lazy(() => Five$inboundSchema), + ]).optional(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + name: z.string(), + project: z.string().optional(), + projectSettings: z.lazy(() => ProjectSettings$inboundSchema).optional(), + target: Target$inboundSchema.optional(), + withLatestCommit: z.boolean().optional(), +}); + +/** @internal */ +export type CreateDeploymentRequestBody$Outbound = { + deploymentId?: string | undefined; + files?: Array | undefined; + gitMetadata?: GitMetadata$Outbound | undefined; + gitSource?: + | GitSource1$Outbound + | Three$Outbound + | GitSource2$Outbound + | Four$Outbound + | Five$Outbound + | undefined; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + name: string; + project?: string | undefined; + projectSettings?: ProjectSettings$Outbound | undefined; + target?: string | undefined; + withLatestCommit?: boolean | undefined; +}; + +/** @internal */ +export const CreateDeploymentRequestBody$outboundSchema: z.ZodType< + CreateDeploymentRequestBody$Outbound, + z.ZodTypeDef, + CreateDeploymentRequestBody +> = z.object({ + deploymentId: z.string().optional(), + files: z.array( + z.union([ + z.lazy(() => InlinedFile$outboundSchema), + z.lazy(() => UploadedFile$outboundSchema), + ]), + ).optional(), + gitMetadata: z.lazy(() => GitMetadata$outboundSchema).optional(), + gitSource: z.union([ + z.lazy(() => GitSource1$outboundSchema), + z.lazy(() => Three$outboundSchema), + z.lazy(() => GitSource2$outboundSchema), + z.lazy(() => Four$outboundSchema), + z.lazy(() => Five$outboundSchema), + ]).optional(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + name: z.string(), + project: z.string().optional(), + projectSettings: z.lazy(() => ProjectSettings$outboundSchema).optional(), + target: Target$outboundSchema.optional(), + withLatestCommit: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentRequestBody$ { + /** @deprecated use `CreateDeploymentRequestBody$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentRequestBody$inboundSchema; + /** @deprecated use `CreateDeploymentRequestBody$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentRequestBody$outboundSchema; + /** @deprecated use `CreateDeploymentRequestBody$Outbound` instead. */ + export type Outbound = CreateDeploymentRequestBody$Outbound; +} + +export function createDeploymentRequestBodyToJSON( + createDeploymentRequestBody: CreateDeploymentRequestBody, +): string { + return JSON.stringify( + CreateDeploymentRequestBody$outboundSchema.parse( + createDeploymentRequestBody, + ), + ); +} + +export function createDeploymentRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentRequest$inboundSchema: z.ZodType< + CreateDeploymentRequest, + z.ZodTypeDef, + unknown +> = z.object({ + skipAutoDetectionConfirmation: SkipAutoDetectionConfirmation$inboundSchema + .optional(), + forceNew: ForceNew$inboundSchema.optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => CreateDeploymentRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type CreateDeploymentRequest$Outbound = { + skipAutoDetectionConfirmation?: string | undefined; + forceNew?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: CreateDeploymentRequestBody$Outbound; +}; + +/** @internal */ +export const CreateDeploymentRequest$outboundSchema: z.ZodType< + CreateDeploymentRequest$Outbound, + z.ZodTypeDef, + CreateDeploymentRequest +> = z.object({ + skipAutoDetectionConfirmation: SkipAutoDetectionConfirmation$outboundSchema + .optional(), + forceNew: ForceNew$outboundSchema.optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateDeploymentRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentRequest$ { + /** @deprecated use `CreateDeploymentRequest$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentRequest$inboundSchema; + /** @deprecated use `CreateDeploymentRequest$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentRequest$outboundSchema; + /** @deprecated use `CreateDeploymentRequest$Outbound` instead. */ + export type Outbound = CreateDeploymentRequest$Outbound; +} + +export function createDeploymentRequestToJSON( + createDeploymentRequest: CreateDeploymentRequest, +): string { + return JSON.stringify( + CreateDeploymentRequest$outboundSchema.parse(createDeploymentRequest), + ); +} + +export function createDeploymentRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentRequest' from JSON`, + ); +} + +/** @internal */ +export const AliasAssignedAt$inboundSchema: z.ZodType< + AliasAssignedAt, + z.ZodTypeDef, + unknown +> = z.union([z.number(), z.boolean()]); + +/** @internal */ +export type AliasAssignedAt$Outbound = number | boolean; + +/** @internal */ +export const AliasAssignedAt$outboundSchema: z.ZodType< + AliasAssignedAt$Outbound, + z.ZodTypeDef, + AliasAssignedAt +> = z.union([z.number(), z.boolean()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AliasAssignedAt$ { + /** @deprecated use `AliasAssignedAt$inboundSchema` instead. */ + export const inboundSchema = AliasAssignedAt$inboundSchema; + /** @deprecated use `AliasAssignedAt$outboundSchema` instead. */ + export const outboundSchema = AliasAssignedAt$outboundSchema; + /** @deprecated use `AliasAssignedAt$Outbound` instead. */ + export type Outbound = AliasAssignedAt$Outbound; +} + +export function aliasAssignedAtToJSON( + aliasAssignedAt: AliasAssignedAt, +): string { + return JSON.stringify(AliasAssignedAt$outboundSchema.parse(aliasAssignedAt)); +} + +export function aliasAssignedAtFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AliasAssignedAt$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AliasAssignedAt' from JSON`, + ); +} + +/** @internal */ +export const Build$inboundSchema: z.ZodType = z + .object({ + env: z.array(z.string()), + }); + +/** @internal */ +export type Build$Outbound = { + env: Array; +}; + +/** @internal */ +export const Build$outboundSchema: z.ZodType< + Build$Outbound, + z.ZodTypeDef, + Build +> = z.object({ + env: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Build$ { + /** @deprecated use `Build$inboundSchema` instead. */ + export const inboundSchema = Build$inboundSchema; + /** @deprecated use `Build$outboundSchema` instead. */ + export const outboundSchema = Build$outboundSchema; + /** @deprecated use `Build$Outbound` instead. */ + export type Outbound = Build$Outbound; +} + +export function buildToJSON(build: Build): string { + return JSON.stringify(Build$outboundSchema.parse(build)); +} + +export function buildFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Build$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Build' from JSON`, + ); +} + +/** @internal */ +export const Builds$inboundSchema: z.ZodType = z + .object({}); + +/** @internal */ +export type Builds$Outbound = {}; + +/** @internal */ +export const Builds$outboundSchema: z.ZodType< + Builds$Outbound, + z.ZodTypeDef, + Builds +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Builds$ { + /** @deprecated use `Builds$inboundSchema` instead. */ + export const inboundSchema = Builds$inboundSchema; + /** @deprecated use `Builds$outboundSchema` instead. */ + export const outboundSchema = Builds$outboundSchema; + /** @deprecated use `Builds$Outbound` instead. */ + export type Outbound = Builds$Outbound; +} + +export function buildsToJSON(builds: Builds): string { + return JSON.stringify(Builds$outboundSchema.parse(builds)); +} + +export function buildsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Builds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Builds' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentFramework$inboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentFramework +> = z.nativeEnum(CreateDeploymentFramework); + +/** @internal */ +export const CreateDeploymentFramework$outboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentFramework +> = CreateDeploymentFramework$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentFramework$ { + /** @deprecated use `CreateDeploymentFramework$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentFramework$inboundSchema; + /** @deprecated use `CreateDeploymentFramework$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentFramework$outboundSchema; +} + +/** @internal */ +export const CreateDeploymentSpeedInsights$inboundSchema: z.ZodType< + CreateDeploymentSpeedInsights, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + enabledAt: z.number().optional(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + hasData: z.boolean().optional(), + paidAt: z.number().optional(), +}); + +/** @internal */ +export type CreateDeploymentSpeedInsights$Outbound = { + id: string; + enabledAt?: number | undefined; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + hasData?: boolean | undefined; + paidAt?: number | undefined; +}; + +/** @internal */ +export const CreateDeploymentSpeedInsights$outboundSchema: z.ZodType< + CreateDeploymentSpeedInsights$Outbound, + z.ZodTypeDef, + CreateDeploymentSpeedInsights +> = z.object({ + id: z.string(), + enabledAt: z.number().optional(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + hasData: z.boolean().optional(), + paidAt: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentSpeedInsights$ { + /** @deprecated use `CreateDeploymentSpeedInsights$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentSpeedInsights$inboundSchema; + /** @deprecated use `CreateDeploymentSpeedInsights$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentSpeedInsights$outboundSchema; + /** @deprecated use `CreateDeploymentSpeedInsights$Outbound` instead. */ + export type Outbound = CreateDeploymentSpeedInsights$Outbound; +} + +export function createDeploymentSpeedInsightsToJSON( + createDeploymentSpeedInsights: CreateDeploymentSpeedInsights, +): string { + return JSON.stringify( + CreateDeploymentSpeedInsights$outboundSchema.parse( + createDeploymentSpeedInsights, + ), + ); +} + +export function createDeploymentSpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentSpeedInsights$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentSpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentWebAnalytics$inboundSchema: z.ZodType< + CreateDeploymentWebAnalytics, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), +}); + +/** @internal */ +export type CreateDeploymentWebAnalytics$Outbound = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; +}; + +/** @internal */ +export const CreateDeploymentWebAnalytics$outboundSchema: z.ZodType< + CreateDeploymentWebAnalytics$Outbound, + z.ZodTypeDef, + CreateDeploymentWebAnalytics +> = z.object({ + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentWebAnalytics$ { + /** @deprecated use `CreateDeploymentWebAnalytics$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentWebAnalytics$inboundSchema; + /** @deprecated use `CreateDeploymentWebAnalytics$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentWebAnalytics$outboundSchema; + /** @deprecated use `CreateDeploymentWebAnalytics$Outbound` instead. */ + export type Outbound = CreateDeploymentWebAnalytics$Outbound; +} + +export function createDeploymentWebAnalyticsToJSON( + createDeploymentWebAnalytics: CreateDeploymentWebAnalytics, +): string { + return JSON.stringify( + CreateDeploymentWebAnalytics$outboundSchema.parse( + createDeploymentWebAnalytics, + ), + ); +} + +export function createDeploymentWebAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentWebAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentWebAnalytics' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentProjectSettings$inboundSchema: z.ZodType< + CreateDeploymentProjectSettings, + z.ZodTypeDef, + unknown +> = z.object({ + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + devCommand: z.nullable(z.string()).optional(), + framework: z.nullable(CreateDeploymentFramework$inboundSchema).optional(), + installCommand: z.nullable(z.string()).optional(), + outputDirectory: z.nullable(z.string()).optional(), + speedInsights: z.lazy(() => CreateDeploymentSpeedInsights$inboundSchema) + .optional(), + webAnalytics: z.lazy(() => CreateDeploymentWebAnalytics$inboundSchema) + .optional(), +}); + +/** @internal */ +export type CreateDeploymentProjectSettings$Outbound = { + buildCommand?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + devCommand?: string | null | undefined; + framework?: string | null | undefined; + installCommand?: string | null | undefined; + outputDirectory?: string | null | undefined; + speedInsights?: CreateDeploymentSpeedInsights$Outbound | undefined; + webAnalytics?: CreateDeploymentWebAnalytics$Outbound | undefined; +}; + +/** @internal */ +export const CreateDeploymentProjectSettings$outboundSchema: z.ZodType< + CreateDeploymentProjectSettings$Outbound, + z.ZodTypeDef, + CreateDeploymentProjectSettings +> = z.object({ + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + devCommand: z.nullable(z.string()).optional(), + framework: z.nullable(CreateDeploymentFramework$outboundSchema).optional(), + installCommand: z.nullable(z.string()).optional(), + outputDirectory: z.nullable(z.string()).optional(), + speedInsights: z.lazy(() => CreateDeploymentSpeedInsights$outboundSchema) + .optional(), + webAnalytics: z.lazy(() => CreateDeploymentWebAnalytics$outboundSchema) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentProjectSettings$ { + /** @deprecated use `CreateDeploymentProjectSettings$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentProjectSettings$inboundSchema; + /** @deprecated use `CreateDeploymentProjectSettings$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentProjectSettings$outboundSchema; + /** @deprecated use `CreateDeploymentProjectSettings$Outbound` instead. */ + export type Outbound = CreateDeploymentProjectSettings$Outbound; +} + +export function createDeploymentProjectSettingsToJSON( + createDeploymentProjectSettings: CreateDeploymentProjectSettings, +): string { + return JSON.stringify( + CreateDeploymentProjectSettings$outboundSchema.parse( + createDeploymentProjectSettings, + ), + ); +} + +export function createDeploymentProjectSettingsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentProjectSettings$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentProjectSettings' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentDeploymentsStatus$inboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentDeploymentsStatus +> = z.nativeEnum(CreateDeploymentDeploymentsStatus); + +/** @internal */ +export const CreateDeploymentDeploymentsStatus$outboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentDeploymentsStatus +> = CreateDeploymentDeploymentsStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentDeploymentsStatus$ { + /** @deprecated use `CreateDeploymentDeploymentsStatus$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentDeploymentsStatus$inboundSchema; + /** @deprecated use `CreateDeploymentDeploymentsStatus$outboundSchema` instead. */ + export const outboundSchema = + CreateDeploymentDeploymentsStatus$outboundSchema; +} + +/** @internal */ +export const Integrations$inboundSchema: z.ZodType< + Integrations, + z.ZodTypeDef, + unknown +> = z.object({ + status: CreateDeploymentDeploymentsStatus$inboundSchema, + startedAt: z.number(), + completedAt: z.number().optional(), + skippedAt: z.number().optional(), + skippedBy: z.string().optional(), +}); + +/** @internal */ +export type Integrations$Outbound = { + status: string; + startedAt: number; + completedAt?: number | undefined; + skippedAt?: number | undefined; + skippedBy?: string | undefined; +}; + +/** @internal */ +export const Integrations$outboundSchema: z.ZodType< + Integrations$Outbound, + z.ZodTypeDef, + Integrations +> = z.object({ + status: CreateDeploymentDeploymentsStatus$outboundSchema, + startedAt: z.number(), + completedAt: z.number().optional(), + skippedAt: z.number().optional(), + skippedBy: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Integrations$ { + /** @deprecated use `Integrations$inboundSchema` instead. */ + export const inboundSchema = Integrations$inboundSchema; + /** @deprecated use `Integrations$outboundSchema` instead. */ + export const outboundSchema = Integrations$outboundSchema; + /** @deprecated use `Integrations$Outbound` instead. */ + export type Outbound = Integrations$Outbound; +} + +export function integrationsToJSON(integrations: Integrations): string { + return JSON.stringify(Integrations$outboundSchema.parse(integrations)); +} + +export function integrationsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Integrations$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Integrations' from JSON`, + ); +} + +/** @internal */ +export const Creator$inboundSchema: z.ZodType = + z.object({ + uid: z.string(), + username: z.string().optional(), + avatar: z.string().optional(), + }); + +/** @internal */ +export type Creator$Outbound = { + uid: string; + username?: string | undefined; + avatar?: string | undefined; +}; + +/** @internal */ +export const Creator$outboundSchema: z.ZodType< + Creator$Outbound, + z.ZodTypeDef, + Creator +> = z.object({ + uid: z.string(), + username: z.string().optional(), + avatar: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Creator$ { + /** @deprecated use `Creator$inboundSchema` instead. */ + export const inboundSchema = Creator$inboundSchema; + /** @deprecated use `Creator$outboundSchema` instead. */ + export const outboundSchema = Creator$outboundSchema; + /** @deprecated use `Creator$Outbound` instead. */ + export type Outbound = Creator$Outbound; +} + +export function creatorToJSON(creator: Creator): string { + return JSON.stringify(Creator$outboundSchema.parse(creator)); +} + +export function creatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Creator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Creator' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentReadyState$inboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentReadyState +> = z.nativeEnum(CreateDeploymentReadyState); + +/** @internal */ +export const CreateDeploymentReadyState$outboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentReadyState +> = CreateDeploymentReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentReadyState$ { + /** @deprecated use `CreateDeploymentReadyState$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentReadyState$inboundSchema; + /** @deprecated use `CreateDeploymentReadyState$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentReadyState$outboundSchema; +} + +/** @internal */ +export const CreateDeploymentOutput$inboundSchema: z.ZodType< + CreateDeploymentOutput, + z.ZodTypeDef, + unknown +> = z.object({ + path: z.string(), + functionName: z.string(), +}); + +/** @internal */ +export type CreateDeploymentOutput$Outbound = { + path: string; + functionName: string; +}; + +/** @internal */ +export const CreateDeploymentOutput$outboundSchema: z.ZodType< + CreateDeploymentOutput$Outbound, + z.ZodTypeDef, + CreateDeploymentOutput +> = z.object({ + path: z.string(), + functionName: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentOutput$ { + /** @deprecated use `CreateDeploymentOutput$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentOutput$inboundSchema; + /** @deprecated use `CreateDeploymentOutput$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentOutput$outboundSchema; + /** @deprecated use `CreateDeploymentOutput$Outbound` instead. */ + export type Outbound = CreateDeploymentOutput$Outbound; +} + +export function createDeploymentOutputToJSON( + createDeploymentOutput: CreateDeploymentOutput, +): string { + return JSON.stringify( + CreateDeploymentOutput$outboundSchema.parse(createDeploymentOutput), + ); +} + +export function createDeploymentOutputFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentOutput$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentOutput' from JSON`, + ); +} + +/** @internal */ +export const Lambdas$inboundSchema: z.ZodType = + z.object({ + id: z.string().optional(), + createdAt: z.number().optional(), + entrypoint: z.nullable(z.string()).optional(), + readyState: CreateDeploymentReadyState$inboundSchema.optional(), + readyStateAt: z.number().optional(), + output: z.array(z.lazy(() => CreateDeploymentOutput$inboundSchema)), + }); + +/** @internal */ +export type Lambdas$Outbound = { + id?: string | undefined; + createdAt?: number | undefined; + entrypoint?: string | null | undefined; + readyState?: string | undefined; + readyStateAt?: number | undefined; + output: Array; +}; + +/** @internal */ +export const Lambdas$outboundSchema: z.ZodType< + Lambdas$Outbound, + z.ZodTypeDef, + Lambdas +> = z.object({ + id: z.string().optional(), + createdAt: z.number().optional(), + entrypoint: z.nullable(z.string()).optional(), + readyState: CreateDeploymentReadyState$outboundSchema.optional(), + readyStateAt: z.number().optional(), + output: z.array(z.lazy(() => CreateDeploymentOutput$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Lambdas$ { + /** @deprecated use `Lambdas$inboundSchema` instead. */ + export const inboundSchema = Lambdas$inboundSchema; + /** @deprecated use `Lambdas$outboundSchema` instead. */ + export const outboundSchema = Lambdas$outboundSchema; + /** @deprecated use `Lambdas$Outbound` instead. */ + export type Outbound = Lambdas$Outbound; +} + +export function lambdasToJSON(lambdas: Lambdas): string { + return JSON.stringify(Lambdas$outboundSchema.parse(lambdas)); +} + +export function lambdasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Lambdas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Lambdas' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentStatus$inboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentStatus +> = z.nativeEnum(CreateDeploymentStatus); + +/** @internal */ +export const CreateDeploymentStatus$outboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentStatus +> = CreateDeploymentStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentStatus$ { + /** @deprecated use `CreateDeploymentStatus$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentStatus$inboundSchema; + /** @deprecated use `CreateDeploymentStatus$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentStatus$outboundSchema; +} + +/** @internal */ +export const Team$inboundSchema: z.ZodType = z + .object({ + name: z.string(), + id: z.string(), + slug: z.string(), + avatar: z.string().optional(), + }); + +/** @internal */ +export type Team$Outbound = { + name: string; + id: string; + slug: string; + avatar?: string | undefined; +}; + +/** @internal */ +export const Team$outboundSchema: z.ZodType = + z.object({ + name: z.string(), + id: z.string(), + slug: z.string(), + avatar: z.string().optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Team$ { + /** @deprecated use `Team$inboundSchema` instead. */ + export const inboundSchema = Team$inboundSchema; + /** @deprecated use `Team$outboundSchema` instead. */ + export const outboundSchema = Team$outboundSchema; + /** @deprecated use `Team$Outbound` instead. */ + export type Outbound = Team$Outbound; +} + +export function teamToJSON(team: Team): string { + return JSON.stringify(Team$outboundSchema.parse(team)); +} + +export function teamFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Team' from JSON`, + ); +} + +/** @internal */ +export const CustomEnvironment2$inboundSchema: z.ZodType< + CustomEnvironment2, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +/** @internal */ +export type CustomEnvironment2$Outbound = { + id: string; +}; + +/** @internal */ +export const CustomEnvironment2$outboundSchema: z.ZodType< + CustomEnvironment2$Outbound, + z.ZodTypeDef, + CustomEnvironment2 +> = z.object({ + id: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CustomEnvironment2$ { + /** @deprecated use `CustomEnvironment2$inboundSchema` instead. */ + export const inboundSchema = CustomEnvironment2$inboundSchema; + /** @deprecated use `CustomEnvironment2$outboundSchema` instead. */ + export const outboundSchema = CustomEnvironment2$outboundSchema; + /** @deprecated use `CustomEnvironment2$Outbound` instead. */ + export type Outbound = CustomEnvironment2$Outbound; +} + +export function customEnvironment2ToJSON( + customEnvironment2: CustomEnvironment2, +): string { + return JSON.stringify( + CustomEnvironment2$outboundSchema.parse(customEnvironment2), + ); +} + +export function customEnvironment2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CustomEnvironment2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CustomEnvironment2' from JSON`, + ); +} + +/** @internal */ +export const CustomEnvironment1$inboundSchema: z.ZodType< + CustomEnvironment1, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type CustomEnvironment1$Outbound = {}; + +/** @internal */ +export const CustomEnvironment1$outboundSchema: z.ZodType< + CustomEnvironment1$Outbound, + z.ZodTypeDef, + CustomEnvironment1 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CustomEnvironment1$ { + /** @deprecated use `CustomEnvironment1$inboundSchema` instead. */ + export const inboundSchema = CustomEnvironment1$inboundSchema; + /** @deprecated use `CustomEnvironment1$outboundSchema` instead. */ + export const outboundSchema = CustomEnvironment1$outboundSchema; + /** @deprecated use `CustomEnvironment1$Outbound` instead. */ + export type Outbound = CustomEnvironment1$Outbound; +} + +export function customEnvironment1ToJSON( + customEnvironment1: CustomEnvironment1, +): string { + return JSON.stringify( + CustomEnvironment1$outboundSchema.parse(customEnvironment1), + ); +} + +export function customEnvironment1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CustomEnvironment1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CustomEnvironment1' from JSON`, + ); +} + +/** @internal */ +export const CustomEnvironment$inboundSchema: z.ZodType< + CustomEnvironment, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CustomEnvironment1$inboundSchema), + z.lazy(() => CustomEnvironment2$inboundSchema), +]); + +/** @internal */ +export type CustomEnvironment$Outbound = + | CustomEnvironment1$Outbound + | CustomEnvironment2$Outbound; + +/** @internal */ +export const CustomEnvironment$outboundSchema: z.ZodType< + CustomEnvironment$Outbound, + z.ZodTypeDef, + CustomEnvironment +> = z.union([ + z.lazy(() => CustomEnvironment1$outboundSchema), + z.lazy(() => CustomEnvironment2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CustomEnvironment$ { + /** @deprecated use `CustomEnvironment$inboundSchema` instead. */ + export const inboundSchema = CustomEnvironment$inboundSchema; + /** @deprecated use `CustomEnvironment$outboundSchema` instead. */ + export const outboundSchema = CustomEnvironment$outboundSchema; + /** @deprecated use `CustomEnvironment$Outbound` instead. */ + export type Outbound = CustomEnvironment$Outbound; +} + +export function customEnvironmentToJSON( + customEnvironment: CustomEnvironment, +): string { + return JSON.stringify( + CustomEnvironment$outboundSchema.parse(customEnvironment), + ); +} + +export function customEnvironmentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CustomEnvironment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CustomEnvironment' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentType$inboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentType +> = z.nativeEnum(CreateDeploymentType); + +/** @internal */ +export const CreateDeploymentType$outboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentType +> = CreateDeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentType$ { + /** @deprecated use `CreateDeploymentType$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentType$inboundSchema; + /** @deprecated use `CreateDeploymentType$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentType$outboundSchema; +} + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type + > = z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type, + ); + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type + > = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$ { + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema` instead. */ + export const inboundSchema = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema; + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema` instead. */ + export const outboundSchema = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema; +} + +/** @internal */ +export const CreateDeploymentGitSource9$inboundSchema: z.ZodType< + CreateDeploymentGitSource9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema, + ref: z.string(), + sha: z.string(), + owner: z.string().optional(), + slug: z.string().optional(), + workspaceUuid: z.string(), + repoUuid: z.string(), +}); + +/** @internal */ +export type CreateDeploymentGitSource9$Outbound = { + type: string; + ref: string; + sha: string; + owner?: string | undefined; + slug?: string | undefined; + workspaceUuid: string; + repoUuid: string; +}; + +/** @internal */ +export const CreateDeploymentGitSource9$outboundSchema: z.ZodType< + CreateDeploymentGitSource9$Outbound, + z.ZodTypeDef, + CreateDeploymentGitSource9 +> = z.object({ + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema, + ref: z.string(), + sha: z.string(), + owner: z.string().optional(), + slug: z.string().optional(), + workspaceUuid: z.string(), + repoUuid: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSource9$ { + /** @deprecated use `CreateDeploymentGitSource9$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentGitSource9$inboundSchema; + /** @deprecated use `CreateDeploymentGitSource9$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentGitSource9$outboundSchema; + /** @deprecated use `CreateDeploymentGitSource9$Outbound` instead. */ + export type Outbound = CreateDeploymentGitSource9$Outbound; +} + +export function createDeploymentGitSource9ToJSON( + createDeploymentGitSource9: CreateDeploymentGitSource9, +): string { + return JSON.stringify( + CreateDeploymentGitSource9$outboundSchema.parse(createDeploymentGitSource9), + ); +} + +export function createDeploymentGitSource9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentGitSource9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentGitSource9' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type + > = z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type, + ); + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type + > = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$ { + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema` instead. */ + export const inboundSchema = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema; + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema` instead. */ + export const outboundSchema = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema; +} + +/** @internal */ +export const CreateDeploymentGitSource8$inboundSchema: z.ZodType< + CreateDeploymentGitSource8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema, + ref: z.string(), + sha: z.string(), + projectId: z.number(), +}); + +/** @internal */ +export type CreateDeploymentGitSource8$Outbound = { + type: string; + ref: string; + sha: string; + projectId: number; +}; + +/** @internal */ +export const CreateDeploymentGitSource8$outboundSchema: z.ZodType< + CreateDeploymentGitSource8$Outbound, + z.ZodTypeDef, + CreateDeploymentGitSource8 +> = z.object({ + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema, + ref: z.string(), + sha: z.string(), + projectId: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSource8$ { + /** @deprecated use `CreateDeploymentGitSource8$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentGitSource8$inboundSchema; + /** @deprecated use `CreateDeploymentGitSource8$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentGitSource8$outboundSchema; + /** @deprecated use `CreateDeploymentGitSource8$Outbound` instead. */ + export type Outbound = CreateDeploymentGitSource8$Outbound; +} + +export function createDeploymentGitSource8ToJSON( + createDeploymentGitSource8: CreateDeploymentGitSource8, +): string { + return JSON.stringify( + CreateDeploymentGitSource8$outboundSchema.parse(createDeploymentGitSource8), + ); +} + +export function createDeploymentGitSource8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentGitSource8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentGitSource8' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type + > = z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type, + ); + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type + > = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$ { + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema` instead. */ + export const inboundSchema = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema; + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema` instead. */ + export const outboundSchema = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema; +} + +/** @internal */ +export const CreateDeploymentGitSource7$inboundSchema: z.ZodType< + CreateDeploymentGitSource7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema, + ref: z.string(), + sha: z.string(), + repoId: z.number(), + org: z.string().optional(), + repo: z.string().optional(), +}); + +/** @internal */ +export type CreateDeploymentGitSource7$Outbound = { + type: string; + ref: string; + sha: string; + repoId: number; + org?: string | undefined; + repo?: string | undefined; +}; + +/** @internal */ +export const CreateDeploymentGitSource7$outboundSchema: z.ZodType< + CreateDeploymentGitSource7$Outbound, + z.ZodTypeDef, + CreateDeploymentGitSource7 +> = z.object({ + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema, + ref: z.string(), + sha: z.string(), + repoId: z.number(), + org: z.string().optional(), + repo: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSource7$ { + /** @deprecated use `CreateDeploymentGitSource7$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentGitSource7$inboundSchema; + /** @deprecated use `CreateDeploymentGitSource7$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentGitSource7$outboundSchema; + /** @deprecated use `CreateDeploymentGitSource7$Outbound` instead. */ + export type Outbound = CreateDeploymentGitSource7$Outbound; +} + +export function createDeploymentGitSource7ToJSON( + createDeploymentGitSource7: CreateDeploymentGitSource7, +): string { + return JSON.stringify( + CreateDeploymentGitSource7$outboundSchema.parse(createDeploymentGitSource7), + ); +} + +export function createDeploymentGitSource7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentGitSource7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentGitSource7' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type + > = z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type, + ); + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type + > = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$ { + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$inboundSchema` instead. */ + export const inboundSchema = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$inboundSchema; + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$outboundSchema` instead. */ + export const outboundSchema = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$outboundSchema; +} + +/** @internal */ +export const CreateDeploymentGitSource6$inboundSchema: z.ZodType< + CreateDeploymentGitSource6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$inboundSchema, + ref: z.string(), + sha: z.string(), + gitUrl: z.string(), +}); + +/** @internal */ +export type CreateDeploymentGitSource6$Outbound = { + type: string; + ref: string; + sha: string; + gitUrl: string; +}; + +/** @internal */ +export const CreateDeploymentGitSource6$outboundSchema: z.ZodType< + CreateDeploymentGitSource6$Outbound, + z.ZodTypeDef, + CreateDeploymentGitSource6 +> = z.object({ + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$outboundSchema, + ref: z.string(), + sha: z.string(), + gitUrl: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSource6$ { + /** @deprecated use `CreateDeploymentGitSource6$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentGitSource6$inboundSchema; + /** @deprecated use `CreateDeploymentGitSource6$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentGitSource6$outboundSchema; + /** @deprecated use `CreateDeploymentGitSource6$Outbound` instead. */ + export type Outbound = CreateDeploymentGitSource6$Outbound; +} + +export function createDeploymentGitSource6ToJSON( + createDeploymentGitSource6: CreateDeploymentGitSource6, +): string { + return JSON.stringify( + CreateDeploymentGitSource6$outboundSchema.parse(createDeploymentGitSource6), + ); +} + +export function createDeploymentGitSource6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentGitSource6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentGitSource6' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type + > = z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type, + ); + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type + > = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$ { + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$inboundSchema` instead. */ + export const inboundSchema = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$inboundSchema; + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$outboundSchema` instead. */ + export const outboundSchema = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$outboundSchema; +} + +/** @internal */ +export const GitSource5$inboundSchema: z.ZodType< + GitSource5, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$inboundSchema, + owner: z.string(), + slug: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type GitSource5$Outbound = { + type: string; + owner: string; + slug: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const GitSource5$outboundSchema: z.ZodType< + GitSource5$Outbound, + z.ZodTypeDef, + GitSource5 +> = z.object({ + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$outboundSchema, + owner: z.string(), + slug: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitSource5$ { + /** @deprecated use `GitSource5$inboundSchema` instead. */ + export const inboundSchema = GitSource5$inboundSchema; + /** @deprecated use `GitSource5$outboundSchema` instead. */ + export const outboundSchema = GitSource5$outboundSchema; + /** @deprecated use `GitSource5$Outbound` instead. */ + export type Outbound = GitSource5$Outbound; +} + +export function gitSource5ToJSON(gitSource5: GitSource5): string { + return JSON.stringify(GitSource5$outboundSchema.parse(gitSource5)); +} + +export function gitSource5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitSource5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitSource5' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType, + ); + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType + > = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$ { + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema; + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema; +} + +/** @internal */ +export const GitSource4$inboundSchema: z.ZodType< + GitSource4, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, + workspaceUuid: z.string().optional(), + repoUuid: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type GitSource4$Outbound = { + type: string; + workspaceUuid?: string | undefined; + repoUuid: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const GitSource4$outboundSchema: z.ZodType< + GitSource4$Outbound, + z.ZodTypeDef, + GitSource4 +> = z.object({ + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema, + workspaceUuid: z.string().optional(), + repoUuid: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitSource4$ { + /** @deprecated use `GitSource4$inboundSchema` instead. */ + export const inboundSchema = GitSource4$inboundSchema; + /** @deprecated use `GitSource4$outboundSchema` instead. */ + export const outboundSchema = GitSource4$outboundSchema; + /** @deprecated use `GitSource4$Outbound` instead. */ + export type Outbound = GitSource4$Outbound; +} + +export function gitSource4ToJSON(gitSource4: GitSource4): string { + return JSON.stringify(GitSource4$outboundSchema.parse(gitSource4)); +} + +export function gitSource4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitSource4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitSource4' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType + > = z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType, + ); + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType + > = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$ { + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const GitSourceProjectId$inboundSchema: z.ZodType< + GitSourceProjectId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number()]); + +/** @internal */ +export type GitSourceProjectId$Outbound = string | number; + +/** @internal */ +export const GitSourceProjectId$outboundSchema: z.ZodType< + GitSourceProjectId$Outbound, + z.ZodTypeDef, + GitSourceProjectId +> = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitSourceProjectId$ { + /** @deprecated use `GitSourceProjectId$inboundSchema` instead. */ + export const inboundSchema = GitSourceProjectId$inboundSchema; + /** @deprecated use `GitSourceProjectId$outboundSchema` instead. */ + export const outboundSchema = GitSourceProjectId$outboundSchema; + /** @deprecated use `GitSourceProjectId$Outbound` instead. */ + export type Outbound = GitSourceProjectId$Outbound; +} + +export function gitSourceProjectIdToJSON( + gitSourceProjectId: GitSourceProjectId, +): string { + return JSON.stringify( + GitSourceProjectId$outboundSchema.parse(gitSourceProjectId), + ); +} + +export function gitSourceProjectIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitSourceProjectId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitSourceProjectId' from JSON`, + ); +} + +/** @internal */ +export const GitSource3$inboundSchema: z.ZodType< + GitSource3, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema, + projectId: z.union([z.string(), z.number()]), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type GitSource3$Outbound = { + type: string; + projectId: string | number; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const GitSource3$outboundSchema: z.ZodType< + GitSource3$Outbound, + z.ZodTypeDef, + GitSource3 +> = z.object({ + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema, + projectId: z.union([z.string(), z.number()]), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitSource3$ { + /** @deprecated use `GitSource3$inboundSchema` instead. */ + export const inboundSchema = GitSource3$inboundSchema; + /** @deprecated use `GitSource3$outboundSchema` instead. */ + export const outboundSchema = GitSource3$outboundSchema; + /** @deprecated use `GitSource3$Outbound` instead. */ + export type Outbound = GitSource3$Outbound; +} + +export function gitSource3ToJSON(gitSource3: GitSource3): string { + return JSON.stringify(GitSource3$outboundSchema.parse(gitSource3)); +} + +export function gitSource3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitSource3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitSource3' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200Type$inboundSchema: + z.ZodNativeEnum = + z.nativeEnum(CreateDeploymentGitSourceDeploymentsResponse200Type); + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200Type$outboundSchema: + z.ZodNativeEnum = + CreateDeploymentGitSourceDeploymentsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSourceDeploymentsResponse200Type$ { + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + CreateDeploymentGitSourceDeploymentsResponse200Type$inboundSchema; + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + CreateDeploymentGitSourceDeploymentsResponse200Type$outboundSchema; +} + +/** @internal */ +export const CreateDeploymentGitSource2$inboundSchema: z.ZodType< + CreateDeploymentGitSource2, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateDeploymentGitSourceDeploymentsResponse200Type$inboundSchema, + org: z.string(), + repo: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type CreateDeploymentGitSource2$Outbound = { + type: string; + org: string; + repo: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const CreateDeploymentGitSource2$outboundSchema: z.ZodType< + CreateDeploymentGitSource2$Outbound, + z.ZodTypeDef, + CreateDeploymentGitSource2 +> = z.object({ + type: CreateDeploymentGitSourceDeploymentsResponse200Type$outboundSchema, + org: z.string(), + repo: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSource2$ { + /** @deprecated use `CreateDeploymentGitSource2$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentGitSource2$inboundSchema; + /** @deprecated use `CreateDeploymentGitSource2$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentGitSource2$outboundSchema; + /** @deprecated use `CreateDeploymentGitSource2$Outbound` instead. */ + export type Outbound = CreateDeploymentGitSource2$Outbound; +} + +export function createDeploymentGitSource2ToJSON( + createDeploymentGitSource2: CreateDeploymentGitSource2, +): string { + return JSON.stringify( + CreateDeploymentGitSource2$outboundSchema.parse(createDeploymentGitSource2), + ); +} + +export function createDeploymentGitSource2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentGitSource2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentGitSource2' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateDeploymentGitSourceDeploymentsResponseType); + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponseType$outboundSchema: + z.ZodNativeEnum = + CreateDeploymentGitSourceDeploymentsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSourceDeploymentsResponseType$ { + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponseType$inboundSchema` instead. */ + export const inboundSchema = + CreateDeploymentGitSourceDeploymentsResponseType$inboundSchema; + /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponseType$outboundSchema` instead. */ + export const outboundSchema = + CreateDeploymentGitSourceDeploymentsResponseType$outboundSchema; +} + +/** @internal */ +export const GitSourceRepoId$inboundSchema: z.ZodType< + GitSourceRepoId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number()]); + +/** @internal */ +export type GitSourceRepoId$Outbound = string | number; + +/** @internal */ +export const GitSourceRepoId$outboundSchema: z.ZodType< + GitSourceRepoId$Outbound, + z.ZodTypeDef, + GitSourceRepoId +> = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitSourceRepoId$ { + /** @deprecated use `GitSourceRepoId$inboundSchema` instead. */ + export const inboundSchema = GitSourceRepoId$inboundSchema; + /** @deprecated use `GitSourceRepoId$outboundSchema` instead. */ + export const outboundSchema = GitSourceRepoId$outboundSchema; + /** @deprecated use `GitSourceRepoId$Outbound` instead. */ + export type Outbound = GitSourceRepoId$Outbound; +} + +export function gitSourceRepoIdToJSON( + gitSourceRepoId: GitSourceRepoId, +): string { + return JSON.stringify(GitSourceRepoId$outboundSchema.parse(gitSourceRepoId)); +} + +export function gitSourceRepoIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitSourceRepoId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitSourceRepoId' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentGitSource1$inboundSchema: z.ZodType< + CreateDeploymentGitSource1, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateDeploymentGitSourceDeploymentsResponseType$inboundSchema, + repoId: z.union([z.string(), z.number()]), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type CreateDeploymentGitSource1$Outbound = { + type: string; + repoId: string | number; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const CreateDeploymentGitSource1$outboundSchema: z.ZodType< + CreateDeploymentGitSource1$Outbound, + z.ZodTypeDef, + CreateDeploymentGitSource1 +> = z.object({ + type: CreateDeploymentGitSourceDeploymentsResponseType$outboundSchema, + repoId: z.union([z.string(), z.number()]), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSource1$ { + /** @deprecated use `CreateDeploymentGitSource1$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentGitSource1$inboundSchema; + /** @deprecated use `CreateDeploymentGitSource1$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentGitSource1$outboundSchema; + /** @deprecated use `CreateDeploymentGitSource1$Outbound` instead. */ + export type Outbound = CreateDeploymentGitSource1$Outbound; +} + +export function createDeploymentGitSource1ToJSON( + createDeploymentGitSource1: CreateDeploymentGitSource1, +): string { + return JSON.stringify( + CreateDeploymentGitSource1$outboundSchema.parse(createDeploymentGitSource1), + ); +} + +export function createDeploymentGitSource1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentGitSource1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentGitSource1' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentGitSource$inboundSchema: z.ZodType< + CreateDeploymentGitSource, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateDeploymentGitSource6$inboundSchema), + z.lazy(() => CreateDeploymentGitSource8$inboundSchema), + z.lazy(() => CreateDeploymentGitSource1$inboundSchema), + z.lazy(() => GitSource3$inboundSchema), + z.lazy(() => CreateDeploymentGitSource2$inboundSchema), + z.lazy(() => GitSource4$inboundSchema), + z.lazy(() => GitSource5$inboundSchema), + z.lazy(() => CreateDeploymentGitSource7$inboundSchema), + z.lazy(() => CreateDeploymentGitSource9$inboundSchema), +]); + +/** @internal */ +export type CreateDeploymentGitSource$Outbound = + | CreateDeploymentGitSource6$Outbound + | CreateDeploymentGitSource8$Outbound + | CreateDeploymentGitSource1$Outbound + | GitSource3$Outbound + | CreateDeploymentGitSource2$Outbound + | GitSource4$Outbound + | GitSource5$Outbound + | CreateDeploymentGitSource7$Outbound + | CreateDeploymentGitSource9$Outbound; + +/** @internal */ +export const CreateDeploymentGitSource$outboundSchema: z.ZodType< + CreateDeploymentGitSource$Outbound, + z.ZodTypeDef, + CreateDeploymentGitSource +> = z.union([ + z.lazy(() => CreateDeploymentGitSource6$outboundSchema), + z.lazy(() => CreateDeploymentGitSource8$outboundSchema), + z.lazy(() => CreateDeploymentGitSource1$outboundSchema), + z.lazy(() => GitSource3$outboundSchema), + z.lazy(() => CreateDeploymentGitSource2$outboundSchema), + z.lazy(() => GitSource4$outboundSchema), + z.lazy(() => GitSource5$outboundSchema), + z.lazy(() => CreateDeploymentGitSource7$outboundSchema), + z.lazy(() => CreateDeploymentGitSource9$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitSource$ { + /** @deprecated use `CreateDeploymentGitSource$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentGitSource$inboundSchema; + /** @deprecated use `CreateDeploymentGitSource$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentGitSource$outboundSchema; + /** @deprecated use `CreateDeploymentGitSource$Outbound` instead. */ + export type Outbound = CreateDeploymentGitSource$Outbound; +} + +export function createDeploymentGitSourceToJSON( + createDeploymentGitSource: CreateDeploymentGitSource, +): string { + return JSON.stringify( + CreateDeploymentGitSource$outboundSchema.parse(createDeploymentGitSource), + ); +} + +export function createDeploymentGitSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentGitSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentGitSource' from JSON`, + ); +} + +/** @internal */ +export const Project$inboundSchema: z.ZodType = + z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(z.string()).optional(), + }); + +/** @internal */ +export type Project$Outbound = { + id: string; + name: string; + framework?: string | null | undefined; +}; + +/** @internal */ +export const Project$outboundSchema: z.ZodType< + Project$Outbound, + z.ZodTypeDef, + Project +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Project$ { + /** @deprecated use `Project$inboundSchema` instead. */ + export const inboundSchema = Project$inboundSchema; + /** @deprecated use `Project$outboundSchema` instead. */ + export const outboundSchema = Project$outboundSchema; + /** @deprecated use `Project$Outbound` instead. */ + export type Outbound = Project$Outbound; +} + +export function projectToJSON(project: Project): string { + return JSON.stringify(Project$outboundSchema.parse(project)); +} + +export function projectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Project' from JSON`, + ); +} + +/** @internal */ +export const ReadyState$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(ReadyState); + +/** @internal */ +export const ReadyState$outboundSchema: z.ZodNativeEnum = + ReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ReadyState$ { + /** @deprecated use `ReadyState$inboundSchema` instead. */ + export const inboundSchema = ReadyState$inboundSchema; + /** @deprecated use `ReadyState$outboundSchema` instead. */ + export const outboundSchema = ReadyState$outboundSchema; +} + +/** @internal */ +export const CreateDeploymentSource$inboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentSource +> = z.nativeEnum(CreateDeploymentSource); + +/** @internal */ +export const CreateDeploymentSource$outboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentSource +> = CreateDeploymentSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentSource$ { + /** @deprecated use `CreateDeploymentSource$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentSource$inboundSchema; + /** @deprecated use `CreateDeploymentSource$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentSource$outboundSchema; +} + +/** @internal */ +export const CreateDeploymentTarget$inboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentTarget +> = z.nativeEnum(CreateDeploymentTarget); + +/** @internal */ +export const CreateDeploymentTarget$outboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentTarget +> = CreateDeploymentTarget$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentTarget$ { + /** @deprecated use `CreateDeploymentTarget$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentTarget$inboundSchema; + /** @deprecated use `CreateDeploymentTarget$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentTarget$outboundSchema; +} + +/** @internal */ +export const AliasWarning$inboundSchema: z.ZodType< + AliasWarning, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), + link: z.string().optional(), + action: z.string().optional(), +}); + +/** @internal */ +export type AliasWarning$Outbound = { + code: string; + message: string; + link?: string | undefined; + action?: string | undefined; +}; + +/** @internal */ +export const AliasWarning$outboundSchema: z.ZodType< + AliasWarning$Outbound, + z.ZodTypeDef, + AliasWarning +> = z.object({ + code: z.string(), + message: z.string(), + link: z.string().optional(), + action: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AliasWarning$ { + /** @deprecated use `AliasWarning$inboundSchema` instead. */ + export const inboundSchema = AliasWarning$inboundSchema; + /** @deprecated use `AliasWarning$outboundSchema` instead. */ + export const outboundSchema = AliasWarning$outboundSchema; + /** @deprecated use `AliasWarning$Outbound` instead. */ + export type Outbound = AliasWarning$Outbound; +} + +export function aliasWarningToJSON(aliasWarning: AliasWarning): string { + return JSON.stringify(AliasWarning$outboundSchema.parse(aliasWarning)); +} + +export function aliasWarningFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AliasWarning$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AliasWarning' from JSON`, + ); +} + +/** @internal */ +export const AliasError$inboundSchema: z.ZodType< + AliasError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** @internal */ +export type AliasError$Outbound = { + code: string; + message: string; +}; + +/** @internal */ +export const AliasError$outboundSchema: z.ZodType< + AliasError$Outbound, + z.ZodTypeDef, + AliasError +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AliasError$ { + /** @deprecated use `AliasError$inboundSchema` instead. */ + export const inboundSchema = AliasError$inboundSchema; + /** @deprecated use `AliasError$outboundSchema` instead. */ + export const outboundSchema = AliasError$outboundSchema; + /** @deprecated use `AliasError$Outbound` instead. */ + export type Outbound = AliasError$Outbound; +} + +export function aliasErrorToJSON(aliasError: AliasError): string { + return JSON.stringify(AliasError$outboundSchema.parse(aliasError)); +} + +export function aliasErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AliasError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AliasError' from JSON`, + ); +} + +/** @internal */ +export const ChecksState$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(ChecksState); + +/** @internal */ +export const ChecksState$outboundSchema: z.ZodNativeEnum = + ChecksState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ChecksState$ { + /** @deprecated use `ChecksState$inboundSchema` instead. */ + export const inboundSchema = ChecksState$inboundSchema; + /** @deprecated use `ChecksState$outboundSchema` instead. */ + export const outboundSchema = ChecksState$outboundSchema; +} + +/** @internal */ +export const ChecksConclusion$inboundSchema: z.ZodNativeEnum< + typeof ChecksConclusion +> = z.nativeEnum(ChecksConclusion); + +/** @internal */ +export const ChecksConclusion$outboundSchema: z.ZodNativeEnum< + typeof ChecksConclusion +> = ChecksConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ChecksConclusion$ { + /** @deprecated use `ChecksConclusion$inboundSchema` instead. */ + export const inboundSchema = ChecksConclusion$inboundSchema; + /** @deprecated use `ChecksConclusion$outboundSchema` instead. */ + export const outboundSchema = ChecksConclusion$outboundSchema; +} + +/** @internal */ +export const ReadySubstate$inboundSchema: z.ZodNativeEnum< + typeof ReadySubstate +> = z.nativeEnum(ReadySubstate); + +/** @internal */ +export const ReadySubstate$outboundSchema: z.ZodNativeEnum< + typeof ReadySubstate +> = ReadySubstate$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ReadySubstate$ { + /** @deprecated use `ReadySubstate$inboundSchema` instead. */ + export const inboundSchema = ReadySubstate$inboundSchema; + /** @deprecated use `ReadySubstate$outboundSchema` instead. */ + export const outboundSchema = ReadySubstate$outboundSchema; +} + +/** @internal */ +export const OidcTokenClaims$inboundSchema: z.ZodType< + OidcTokenClaims, + z.ZodTypeDef, + unknown +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + owner_id: z.string(), + project: z.string(), + project_id: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + "owner_id": "ownerId", + "project_id": "projectId", + }); +}); + +/** @internal */ +export type OidcTokenClaims$Outbound = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + owner_id: string; + project: string; + project_id: string; + environment: string; +}; + +/** @internal */ +export const OidcTokenClaims$outboundSchema: z.ZodType< + OidcTokenClaims$Outbound, + z.ZodTypeDef, + OidcTokenClaims +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + ownerId: z.string(), + project: z.string(), + projectId: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + ownerId: "owner_id", + projectId: "project_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace OidcTokenClaims$ { + /** @deprecated use `OidcTokenClaims$inboundSchema` instead. */ + export const inboundSchema = OidcTokenClaims$inboundSchema; + /** @deprecated use `OidcTokenClaims$outboundSchema` instead. */ + export const outboundSchema = OidcTokenClaims$outboundSchema; + /** @deprecated use `OidcTokenClaims$Outbound` instead. */ + export type Outbound = OidcTokenClaims$Outbound; +} + +export function oidcTokenClaimsToJSON( + oidcTokenClaims: OidcTokenClaims, +): string { + return JSON.stringify(OidcTokenClaims$outboundSchema.parse(oidcTokenClaims)); +} + +export function oidcTokenClaimsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OidcTokenClaims$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OidcTokenClaims' from JSON`, + ); +} + +/** @internal */ +export const Applications$inboundSchema: z.ZodType< + Applications, + z.ZodTypeDef, + unknown +> = z.object({ + productionHost: z.string(), + deploymentAlias: z.string().optional(), + deploymentHost: z.string().optional(), +}); + +/** @internal */ +export type Applications$Outbound = { + productionHost: string; + deploymentAlias?: string | undefined; + deploymentHost?: string | undefined; +}; + +/** @internal */ +export const Applications$outboundSchema: z.ZodType< + Applications$Outbound, + z.ZodTypeDef, + Applications +> = z.object({ + productionHost: z.string(), + deploymentAlias: z.string().optional(), + deploymentHost: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Applications$ { + /** @deprecated use `Applications$inboundSchema` instead. */ + export const inboundSchema = Applications$inboundSchema; + /** @deprecated use `Applications$outboundSchema` instead. */ + export const outboundSchema = Applications$outboundSchema; + /** @deprecated use `Applications$Outbound` instead. */ + export type Outbound = Applications$Outbound; +} + +export function applicationsToJSON(applications: Applications): string { + return JSON.stringify(Applications$outboundSchema.parse(applications)); +} + +export function applicationsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Applications$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Applications' from JSON`, + ); +} + +/** @internal */ +export const Microfrontends2$inboundSchema: z.ZodType< + Microfrontends2, + z.ZodTypeDef, + unknown +> = z.object({ + applications: z.record(z.lazy(() => Applications$inboundSchema)).optional(), + isDefaultApp: z.boolean(), + defaultRoute: z.string().optional(), + groupIds: z.array(z.string()), +}); + +/** @internal */ +export type Microfrontends2$Outbound = { + applications?: { [k: string]: Applications$Outbound } | undefined; + isDefaultApp: boolean; + defaultRoute?: string | undefined; + groupIds: Array; +}; + +/** @internal */ +export const Microfrontends2$outboundSchema: z.ZodType< + Microfrontends2$Outbound, + z.ZodTypeDef, + Microfrontends2 +> = z.object({ + applications: z.record(z.lazy(() => Applications$outboundSchema)).optional(), + isDefaultApp: z.boolean(), + defaultRoute: z.string().optional(), + groupIds: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Microfrontends2$ { + /** @deprecated use `Microfrontends2$inboundSchema` instead. */ + export const inboundSchema = Microfrontends2$inboundSchema; + /** @deprecated use `Microfrontends2$outboundSchema` instead. */ + export const outboundSchema = Microfrontends2$outboundSchema; + /** @deprecated use `Microfrontends2$Outbound` instead. */ + export type Outbound = Microfrontends2$Outbound; +} + +export function microfrontends2ToJSON( + microfrontends2: Microfrontends2, +): string { + return JSON.stringify(Microfrontends2$outboundSchema.parse(microfrontends2)); +} + +export function microfrontends2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Microfrontends2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Microfrontends2' from JSON`, + ); +} + +/** @internal */ +export const Microfrontends1$inboundSchema: z.ZodType< + Microfrontends1, + z.ZodTypeDef, + unknown +> = z.object({ + isDefaultApp: z.boolean().optional(), + defaultRoute: z.string().optional(), + groupIds: z.array(z.string()), +}); + +/** @internal */ +export type Microfrontends1$Outbound = { + isDefaultApp?: boolean | undefined; + defaultRoute?: string | undefined; + groupIds: Array; +}; + +/** @internal */ +export const Microfrontends1$outboundSchema: z.ZodType< + Microfrontends1$Outbound, + z.ZodTypeDef, + Microfrontends1 +> = z.object({ + isDefaultApp: z.boolean().optional(), + defaultRoute: z.string().optional(), + groupIds: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Microfrontends1$ { + /** @deprecated use `Microfrontends1$inboundSchema` instead. */ + export const inboundSchema = Microfrontends1$inboundSchema; + /** @deprecated use `Microfrontends1$outboundSchema` instead. */ + export const outboundSchema = Microfrontends1$outboundSchema; + /** @deprecated use `Microfrontends1$Outbound` instead. */ + export type Outbound = Microfrontends1$Outbound; +} + +export function microfrontends1ToJSON( + microfrontends1: Microfrontends1, +): string { + return JSON.stringify(Microfrontends1$outboundSchema.parse(microfrontends1)); +} + +export function microfrontends1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Microfrontends1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Microfrontends1' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentMicrofrontends$inboundSchema: z.ZodType< + CreateDeploymentMicrofrontends, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => Microfrontends1$inboundSchema), + z.lazy(() => Microfrontends2$inboundSchema), +]); + +/** @internal */ +export type CreateDeploymentMicrofrontends$Outbound = + | Microfrontends1$Outbound + | Microfrontends2$Outbound; + +/** @internal */ +export const CreateDeploymentMicrofrontends$outboundSchema: z.ZodType< + CreateDeploymentMicrofrontends$Outbound, + z.ZodTypeDef, + CreateDeploymentMicrofrontends +> = z.union([ + z.lazy(() => Microfrontends1$outboundSchema), + z.lazy(() => Microfrontends2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentMicrofrontends$ { + /** @deprecated use `CreateDeploymentMicrofrontends$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentMicrofrontends$inboundSchema; + /** @deprecated use `CreateDeploymentMicrofrontends$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentMicrofrontends$outboundSchema; + /** @deprecated use `CreateDeploymentMicrofrontends$Outbound` instead. */ + export type Outbound = CreateDeploymentMicrofrontends$Outbound; +} + +export function createDeploymentMicrofrontendsToJSON( + createDeploymentMicrofrontends: CreateDeploymentMicrofrontends, +): string { + return JSON.stringify( + CreateDeploymentMicrofrontends$outboundSchema.parse( + createDeploymentMicrofrontends, + ), + ); +} + +export function createDeploymentMicrofrontendsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentMicrofrontends$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentMicrofrontends' from JSON`, + ); +} + +/** @internal */ +export const Functions$inboundSchema: z.ZodType< + Functions, + z.ZodTypeDef, + unknown +> = z.object({ + memory: z.number().optional(), + maxDuration: z.number().optional(), + runtime: z.string().optional(), + includeFiles: z.string().optional(), + excludeFiles: z.string().optional(), +}); + +/** @internal */ +export type Functions$Outbound = { + memory?: number | undefined; + maxDuration?: number | undefined; + runtime?: string | undefined; + includeFiles?: string | undefined; + excludeFiles?: string | undefined; +}; + +/** @internal */ +export const Functions$outboundSchema: z.ZodType< + Functions$Outbound, + z.ZodTypeDef, + Functions +> = z.object({ + memory: z.number().optional(), + maxDuration: z.number().optional(), + runtime: z.string().optional(), + includeFiles: z.string().optional(), + excludeFiles: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Functions$ { + /** @deprecated use `Functions$inboundSchema` instead. */ + export const inboundSchema = Functions$inboundSchema; + /** @deprecated use `Functions$outboundSchema` instead. */ + export const outboundSchema = Functions$outboundSchema; + /** @deprecated use `Functions$Outbound` instead. */ + export type Outbound = Functions$Outbound; +} + +export function functionsToJSON(functions: Functions): string { + return JSON.stringify(Functions$outboundSchema.parse(functions)); +} + +export function functionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Functions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Functions' from JSON`, + ); +} + +/** @internal */ +export const Routes3$inboundSchema: z.ZodType = + z.object({ + src: z.string(), + continue: z.boolean(), + middleware: z.number(), + }); + +/** @internal */ +export type Routes3$Outbound = { + src: string; + continue: boolean; + middleware: number; +}; + +/** @internal */ +export const Routes3$outboundSchema: z.ZodType< + Routes3$Outbound, + z.ZodTypeDef, + Routes3 +> = z.object({ + src: z.string(), + continue: z.boolean(), + middleware: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Routes3$ { + /** @deprecated use `Routes3$inboundSchema` instead. */ + export const inboundSchema = Routes3$inboundSchema; + /** @deprecated use `Routes3$outboundSchema` instead. */ + export const outboundSchema = Routes3$outboundSchema; + /** @deprecated use `Routes3$Outbound` instead. */ + export type Outbound = Routes3$Outbound; +} + +export function routes3ToJSON(routes3: Routes3): string { + return JSON.stringify(Routes3$outboundSchema.parse(routes3)); +} + +export function routes3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Routes3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Routes3' from JSON`, + ); +} + +/** @internal */ +export const RoutesHandle$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(RoutesHandle); + +/** @internal */ +export const RoutesHandle$outboundSchema: z.ZodNativeEnum = + RoutesHandle$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RoutesHandle$ { + /** @deprecated use `RoutesHandle$inboundSchema` instead. */ + export const inboundSchema = RoutesHandle$inboundSchema; + /** @deprecated use `RoutesHandle$outboundSchema` instead. */ + export const outboundSchema = RoutesHandle$outboundSchema; +} + +/** @internal */ +export const Routes2$inboundSchema: z.ZodType = + z.object({ + handle: RoutesHandle$inboundSchema, + src: z.string().optional(), + dest: z.string().optional(), + status: z.number().optional(), + }); + +/** @internal */ +export type Routes2$Outbound = { + handle: string; + src?: string | undefined; + dest?: string | undefined; + status?: number | undefined; +}; + +/** @internal */ +export const Routes2$outboundSchema: z.ZodType< + Routes2$Outbound, + z.ZodTypeDef, + Routes2 +> = z.object({ + handle: RoutesHandle$outboundSchema, + src: z.string().optional(), + dest: z.string().optional(), + status: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Routes2$ { + /** @deprecated use `Routes2$inboundSchema` instead. */ + export const inboundSchema = Routes2$inboundSchema; + /** @deprecated use `Routes2$outboundSchema` instead. */ + export const outboundSchema = Routes2$outboundSchema; + /** @deprecated use `Routes2$Outbound` instead. */ + export type Outbound = Routes2$Outbound; +} + +export function routes2ToJSON(routes2: Routes2): string { + return JSON.stringify(Routes2$outboundSchema.parse(routes2)); +} + +export function routes2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Routes2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Routes2' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentHasType$inboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentHasType +> = z.nativeEnum(CreateDeploymentHasType); + +/** @internal */ +export const CreateDeploymentHasType$outboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentHasType +> = CreateDeploymentHasType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentHasType$ { + /** @deprecated use `CreateDeploymentHasType$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentHasType$inboundSchema; + /** @deprecated use `CreateDeploymentHasType$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentHasType$outboundSchema; +} + +/** @internal */ +export const Has2$inboundSchema: z.ZodType = z + .object({ + type: CreateDeploymentHasType$inboundSchema, + key: z.string(), + value: z.string().optional(), + }); + +/** @internal */ +export type Has2$Outbound = { + type: string; + key: string; + value?: string | undefined; +}; + +/** @internal */ +export const Has2$outboundSchema: z.ZodType = + z.object({ + type: CreateDeploymentHasType$outboundSchema, + key: z.string(), + value: z.string().optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Has2$ { + /** @deprecated use `Has2$inboundSchema` instead. */ + export const inboundSchema = Has2$inboundSchema; + /** @deprecated use `Has2$outboundSchema` instead. */ + export const outboundSchema = Has2$outboundSchema; + /** @deprecated use `Has2$Outbound` instead. */ + export type Outbound = Has2$Outbound; +} + +export function has2ToJSON(has2: Has2): string { + return JSON.stringify(Has2$outboundSchema.parse(has2)); +} + +export function has2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Has2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Has2' from JSON`, + ); +} + +/** @internal */ +export const HasType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(HasType); + +/** @internal */ +export const HasType$outboundSchema: z.ZodNativeEnum = + HasType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace HasType$ { + /** @deprecated use `HasType$inboundSchema` instead. */ + export const inboundSchema = HasType$inboundSchema; + /** @deprecated use `HasType$outboundSchema` instead. */ + export const outboundSchema = HasType$outboundSchema; +} + +/** @internal */ +export const Has1$inboundSchema: z.ZodType = z + .object({ + type: HasType$inboundSchema, + value: z.string(), + }); + +/** @internal */ +export type Has1$Outbound = { + type: string; + value: string; +}; + +/** @internal */ +export const Has1$outboundSchema: z.ZodType = + z.object({ + type: HasType$outboundSchema, + value: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Has1$ { + /** @deprecated use `Has1$inboundSchema` instead. */ + export const inboundSchema = Has1$inboundSchema; + /** @deprecated use `Has1$outboundSchema` instead. */ + export const outboundSchema = Has1$outboundSchema; + /** @deprecated use `Has1$Outbound` instead. */ + export type Outbound = Has1$Outbound; +} + +export function has1ToJSON(has1: Has1): string { + return JSON.stringify(Has1$outboundSchema.parse(has1)); +} + +export function has1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Has1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Has1' from JSON`, + ); +} + +/** @internal */ +export const RoutesHas$inboundSchema: z.ZodType< + RoutesHas, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => Has1$inboundSchema), + z.lazy(() => Has2$inboundSchema), +]); + +/** @internal */ +export type RoutesHas$Outbound = Has1$Outbound | Has2$Outbound; + +/** @internal */ +export const RoutesHas$outboundSchema: z.ZodType< + RoutesHas$Outbound, + z.ZodTypeDef, + RoutesHas +> = z.union([ + z.lazy(() => Has1$outboundSchema), + z.lazy(() => Has2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RoutesHas$ { + /** @deprecated use `RoutesHas$inboundSchema` instead. */ + export const inboundSchema = RoutesHas$inboundSchema; + /** @deprecated use `RoutesHas$outboundSchema` instead. */ + export const outboundSchema = RoutesHas$outboundSchema; + /** @deprecated use `RoutesHas$Outbound` instead. */ + export type Outbound = RoutesHas$Outbound; +} + +export function routesHasToJSON(routesHas: RoutesHas): string { + return JSON.stringify(RoutesHas$outboundSchema.parse(routesHas)); +} + +export function routesHasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RoutesHas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RoutesHas' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentMissingType$inboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentMissingType +> = z.nativeEnum(CreateDeploymentMissingType); + +/** @internal */ +export const CreateDeploymentMissingType$outboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentMissingType +> = CreateDeploymentMissingType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentMissingType$ { + /** @deprecated use `CreateDeploymentMissingType$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentMissingType$inboundSchema; + /** @deprecated use `CreateDeploymentMissingType$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentMissingType$outboundSchema; +} + +/** @internal */ +export const Missing2$inboundSchema: z.ZodType< + Missing2, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateDeploymentMissingType$inboundSchema, + key: z.string(), + value: z.string().optional(), +}); + +/** @internal */ +export type Missing2$Outbound = { + type: string; + key: string; + value?: string | undefined; +}; + +/** @internal */ +export const Missing2$outboundSchema: z.ZodType< + Missing2$Outbound, + z.ZodTypeDef, + Missing2 +> = z.object({ + type: CreateDeploymentMissingType$outboundSchema, + key: z.string(), + value: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Missing2$ { + /** @deprecated use `Missing2$inboundSchema` instead. */ + export const inboundSchema = Missing2$inboundSchema; + /** @deprecated use `Missing2$outboundSchema` instead. */ + export const outboundSchema = Missing2$outboundSchema; + /** @deprecated use `Missing2$Outbound` instead. */ + export type Outbound = Missing2$Outbound; +} + +export function missing2ToJSON(missing2: Missing2): string { + return JSON.stringify(Missing2$outboundSchema.parse(missing2)); +} + +export function missing2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Missing2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Missing2' from JSON`, + ); +} + +/** @internal */ +export const MissingType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(MissingType); + +/** @internal */ +export const MissingType$outboundSchema: z.ZodNativeEnum = + MissingType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace MissingType$ { + /** @deprecated use `MissingType$inboundSchema` instead. */ + export const inboundSchema = MissingType$inboundSchema; + /** @deprecated use `MissingType$outboundSchema` instead. */ + export const outboundSchema = MissingType$outboundSchema; +} + +/** @internal */ +export const Missing1$inboundSchema: z.ZodType< + Missing1, + z.ZodTypeDef, + unknown +> = z.object({ + type: MissingType$inboundSchema, + value: z.string(), +}); + +/** @internal */ +export type Missing1$Outbound = { + type: string; + value: string; +}; + +/** @internal */ +export const Missing1$outboundSchema: z.ZodType< + Missing1$Outbound, + z.ZodTypeDef, + Missing1 +> = z.object({ + type: MissingType$outboundSchema, + value: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Missing1$ { + /** @deprecated use `Missing1$inboundSchema` instead. */ + export const inboundSchema = Missing1$inboundSchema; + /** @deprecated use `Missing1$outboundSchema` instead. */ + export const outboundSchema = Missing1$outboundSchema; + /** @deprecated use `Missing1$Outbound` instead. */ + export type Outbound = Missing1$Outbound; +} + +export function missing1ToJSON(missing1: Missing1): string { + return JSON.stringify(Missing1$outboundSchema.parse(missing1)); +} + +export function missing1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Missing1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Missing1' from JSON`, + ); +} + +/** @internal */ +export const RoutesMissing$inboundSchema: z.ZodType< + RoutesMissing, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => Missing1$inboundSchema), + z.lazy(() => Missing2$inboundSchema), +]); + +/** @internal */ +export type RoutesMissing$Outbound = Missing1$Outbound | Missing2$Outbound; + +/** @internal */ +export const RoutesMissing$outboundSchema: z.ZodType< + RoutesMissing$Outbound, + z.ZodTypeDef, + RoutesMissing +> = z.union([ + z.lazy(() => Missing1$outboundSchema), + z.lazy(() => Missing2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RoutesMissing$ { + /** @deprecated use `RoutesMissing$inboundSchema` instead. */ + export const inboundSchema = RoutesMissing$inboundSchema; + /** @deprecated use `RoutesMissing$outboundSchema` instead. */ + export const outboundSchema = RoutesMissing$outboundSchema; + /** @deprecated use `RoutesMissing$Outbound` instead. */ + export type Outbound = RoutesMissing$Outbound; +} + +export function routesMissingToJSON(routesMissing: RoutesMissing): string { + return JSON.stringify(RoutesMissing$outboundSchema.parse(routesMissing)); +} + +export function routesMissingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RoutesMissing$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RoutesMissing' from JSON`, + ); +} + +/** @internal */ +export const Locale$inboundSchema: z.ZodType = z + .object({ + redirect: z.record(z.string()).optional(), + cookie: z.string().optional(), + }); + +/** @internal */ +export type Locale$Outbound = { + redirect?: { [k: string]: string } | undefined; + cookie?: string | undefined; +}; + +/** @internal */ +export const Locale$outboundSchema: z.ZodType< + Locale$Outbound, + z.ZodTypeDef, + Locale +> = z.object({ + redirect: z.record(z.string()).optional(), + cookie: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Locale$ { + /** @deprecated use `Locale$inboundSchema` instead. */ + export const inboundSchema = Locale$inboundSchema; + /** @deprecated use `Locale$outboundSchema` instead. */ + export const outboundSchema = Locale$outboundSchema; + /** @deprecated use `Locale$Outbound` instead. */ + export type Outbound = Locale$Outbound; +} + +export function localeToJSON(locale: Locale): string { + return JSON.stringify(Locale$outboundSchema.parse(locale)); +} + +export function localeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Locale$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Locale' from JSON`, + ); +} + +/** @internal */ +export const Routes1$inboundSchema: z.ZodType = + z.object({ + src: z.string(), + dest: z.string().optional(), + headers: z.record(z.string()).optional(), + methods: z.array(z.string()).optional(), + continue: z.boolean().optional(), + override: z.boolean().optional(), + caseSensitive: z.boolean().optional(), + check: z.boolean().optional(), + important: z.boolean().optional(), + status: z.number().optional(), + has: z.array( + z.union([ + z.lazy(() => Has1$inboundSchema), + z.lazy(() => Has2$inboundSchema), + ]), + ).optional(), + missing: z.array( + z.union([ + z.lazy(() => Missing1$inboundSchema), + z.lazy(() => Missing2$inboundSchema), + ]), + ).optional(), + locale: z.lazy(() => Locale$inboundSchema).optional(), + middlewarePath: z.string().optional(), + middlewareRawSrc: z.array(z.string()).optional(), + middleware: z.number().optional(), + }); + +/** @internal */ +export type Routes1$Outbound = { + src: string; + dest?: string | undefined; + headers?: { [k: string]: string } | undefined; + methods?: Array | undefined; + continue?: boolean | undefined; + override?: boolean | undefined; + caseSensitive?: boolean | undefined; + check?: boolean | undefined; + important?: boolean | undefined; + status?: number | undefined; + has?: Array | undefined; + missing?: Array | undefined; + locale?: Locale$Outbound | undefined; + middlewarePath?: string | undefined; + middlewareRawSrc?: Array | undefined; + middleware?: number | undefined; +}; + +/** @internal */ +export const Routes1$outboundSchema: z.ZodType< + Routes1$Outbound, + z.ZodTypeDef, + Routes1 +> = z.object({ + src: z.string(), + dest: z.string().optional(), + headers: z.record(z.string()).optional(), + methods: z.array(z.string()).optional(), + continue: z.boolean().optional(), + override: z.boolean().optional(), + caseSensitive: z.boolean().optional(), + check: z.boolean().optional(), + important: z.boolean().optional(), + status: z.number().optional(), + has: z.array( + z.union([ + z.lazy(() => Has1$outboundSchema), + z.lazy(() => Has2$outboundSchema), + ]), + ).optional(), + missing: z.array( + z.union([ + z.lazy(() => Missing1$outboundSchema), + z.lazy(() => Missing2$outboundSchema), + ]), + ).optional(), + locale: z.lazy(() => Locale$outboundSchema).optional(), + middlewarePath: z.string().optional(), + middlewareRawSrc: z.array(z.string()).optional(), + middleware: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Routes1$ { + /** @deprecated use `Routes1$inboundSchema` instead. */ + export const inboundSchema = Routes1$inboundSchema; + /** @deprecated use `Routes1$outboundSchema` instead. */ + export const outboundSchema = Routes1$outboundSchema; + /** @deprecated use `Routes1$Outbound` instead. */ + export type Outbound = Routes1$Outbound; +} + +export function routes1ToJSON(routes1: Routes1): string { + return JSON.stringify(Routes1$outboundSchema.parse(routes1)); +} + +export function routes1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Routes1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Routes1' from JSON`, + ); +} + +/** @internal */ +export const Routes$inboundSchema: z.ZodType = z + .union([ + z.lazy(() => Routes3$inboundSchema), + z.lazy(() => Routes2$inboundSchema), + z.lazy(() => Routes1$inboundSchema), + ]); + +/** @internal */ +export type Routes$Outbound = + | Routes3$Outbound + | Routes2$Outbound + | Routes1$Outbound; + +/** @internal */ +export const Routes$outboundSchema: z.ZodType< + Routes$Outbound, + z.ZodTypeDef, + Routes +> = z.union([ + z.lazy(() => Routes3$outboundSchema), + z.lazy(() => Routes2$outboundSchema), + z.lazy(() => Routes1$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Routes$ { + /** @deprecated use `Routes$inboundSchema` instead. */ + export const inboundSchema = Routes$inboundSchema; + /** @deprecated use `Routes$outboundSchema` instead. */ + export const outboundSchema = Routes$outboundSchema; + /** @deprecated use `Routes$Outbound` instead. */ + export type Outbound = Routes$Outbound; +} + +export function routesToJSON(routes: Routes): string { + return JSON.stringify(Routes$outboundSchema.parse(routes)); +} + +export function routesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Routes$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Routes' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentCrons$inboundSchema: z.ZodType< + CreateDeploymentCrons, + z.ZodTypeDef, + unknown +> = z.object({ + schedule: z.string(), + path: z.string(), +}); + +/** @internal */ +export type CreateDeploymentCrons$Outbound = { + schedule: string; + path: string; +}; + +/** @internal */ +export const CreateDeploymentCrons$outboundSchema: z.ZodType< + CreateDeploymentCrons$Outbound, + z.ZodTypeDef, + CreateDeploymentCrons +> = z.object({ + schedule: z.string(), + path: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentCrons$ { + /** @deprecated use `CreateDeploymentCrons$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentCrons$inboundSchema; + /** @deprecated use `CreateDeploymentCrons$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentCrons$outboundSchema; + /** @deprecated use `CreateDeploymentCrons$Outbound` instead. */ + export type Outbound = CreateDeploymentCrons$Outbound; +} + +export function createDeploymentCronsToJSON( + createDeploymentCrons: CreateDeploymentCrons, +): string { + return JSON.stringify( + CreateDeploymentCrons$outboundSchema.parse(createDeploymentCrons), + ); +} + +export function createDeploymentCronsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentCrons$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentCrons' from JSON`, + ); +} + +/** @internal */ +export const Plan$inboundSchema: z.ZodNativeEnum = z.nativeEnum( + Plan, +); + +/** @internal */ +export const Plan$outboundSchema: z.ZodNativeEnum = + Plan$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Plan$ { + /** @deprecated use `Plan$inboundSchema` instead. */ + export const inboundSchema = Plan$inboundSchema; + /** @deprecated use `Plan$outboundSchema` instead. */ + export const outboundSchema = Plan$outboundSchema; +} + +/** @internal */ +export const CreateDeploymentGitRepoDeploymentsType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateDeploymentGitRepoDeploymentsType, + ); + +/** @internal */ +export const CreateDeploymentGitRepoDeploymentsType$outboundSchema: + z.ZodNativeEnum = + CreateDeploymentGitRepoDeploymentsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitRepoDeploymentsType$ { + /** @deprecated use `CreateDeploymentGitRepoDeploymentsType$inboundSchema` instead. */ + export const inboundSchema = + CreateDeploymentGitRepoDeploymentsType$inboundSchema; + /** @deprecated use `CreateDeploymentGitRepoDeploymentsType$outboundSchema` instead. */ + export const outboundSchema = + CreateDeploymentGitRepoDeploymentsType$outboundSchema; +} + +/** @internal */ +export const CreateDeploymentGitRepoOwnerType$inboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentGitRepoOwnerType +> = z.nativeEnum(CreateDeploymentGitRepoOwnerType); + +/** @internal */ +export const CreateDeploymentGitRepoOwnerType$outboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentGitRepoOwnerType +> = CreateDeploymentGitRepoOwnerType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitRepoOwnerType$ { + /** @deprecated use `CreateDeploymentGitRepoOwnerType$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentGitRepoOwnerType$inboundSchema; + /** @deprecated use `CreateDeploymentGitRepoOwnerType$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentGitRepoOwnerType$outboundSchema; +} + +/** @internal */ +export const GitRepo3$inboundSchema: z.ZodType< + GitRepo3, + z.ZodTypeDef, + unknown +> = z.object({ + owner: z.string(), + repoUuid: z.string(), + slug: z.string(), + type: CreateDeploymentGitRepoDeploymentsType$inboundSchema, + workspaceUuid: z.string(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: CreateDeploymentGitRepoOwnerType$inboundSchema, +}); + +/** @internal */ +export type GitRepo3$Outbound = { + owner: string; + repoUuid: string; + slug: string; + type: string; + workspaceUuid: string; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: string; +}; + +/** @internal */ +export const GitRepo3$outboundSchema: z.ZodType< + GitRepo3$Outbound, + z.ZodTypeDef, + GitRepo3 +> = z.object({ + owner: z.string(), + repoUuid: z.string(), + slug: z.string(), + type: CreateDeploymentGitRepoDeploymentsType$outboundSchema, + workspaceUuid: z.string(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: CreateDeploymentGitRepoOwnerType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitRepo3$ { + /** @deprecated use `GitRepo3$inboundSchema` instead. */ + export const inboundSchema = GitRepo3$inboundSchema; + /** @deprecated use `GitRepo3$outboundSchema` instead. */ + export const outboundSchema = GitRepo3$outboundSchema; + /** @deprecated use `GitRepo3$Outbound` instead. */ + export type Outbound = GitRepo3$Outbound; +} + +export function gitRepo3ToJSON(gitRepo3: GitRepo3): string { + return JSON.stringify(GitRepo3$outboundSchema.parse(gitRepo3)); +} + +export function gitRepo3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitRepo3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitRepo3' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentGitRepoType$inboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentGitRepoType +> = z.nativeEnum(CreateDeploymentGitRepoType); + +/** @internal */ +export const CreateDeploymentGitRepoType$outboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentGitRepoType +> = CreateDeploymentGitRepoType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentGitRepoType$ { + /** @deprecated use `CreateDeploymentGitRepoType$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentGitRepoType$inboundSchema; + /** @deprecated use `CreateDeploymentGitRepoType$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentGitRepoType$outboundSchema; +} + +/** @internal */ +export const GitRepoOwnerType$inboundSchema: z.ZodNativeEnum< + typeof GitRepoOwnerType +> = z.nativeEnum(GitRepoOwnerType); + +/** @internal */ +export const GitRepoOwnerType$outboundSchema: z.ZodNativeEnum< + typeof GitRepoOwnerType +> = GitRepoOwnerType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitRepoOwnerType$ { + /** @deprecated use `GitRepoOwnerType$inboundSchema` instead. */ + export const inboundSchema = GitRepoOwnerType$inboundSchema; + /** @deprecated use `GitRepoOwnerType$outboundSchema` instead. */ + export const outboundSchema = GitRepoOwnerType$outboundSchema; +} + +/** @internal */ +export const GitRepo2$inboundSchema: z.ZodType< + GitRepo2, + z.ZodTypeDef, + unknown +> = z.object({ + org: z.string(), + repo: z.string(), + repoId: z.number(), + type: CreateDeploymentGitRepoType$inboundSchema, + repoOwnerId: z.number(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: GitRepoOwnerType$inboundSchema, +}); + +/** @internal */ +export type GitRepo2$Outbound = { + org: string; + repo: string; + repoId: number; + type: string; + repoOwnerId: number; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: string; +}; + +/** @internal */ +export const GitRepo2$outboundSchema: z.ZodType< + GitRepo2$Outbound, + z.ZodTypeDef, + GitRepo2 +> = z.object({ + org: z.string(), + repo: z.string(), + repoId: z.number(), + type: CreateDeploymentGitRepoType$outboundSchema, + repoOwnerId: z.number(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: GitRepoOwnerType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitRepo2$ { + /** @deprecated use `GitRepo2$inboundSchema` instead. */ + export const inboundSchema = GitRepo2$inboundSchema; + /** @deprecated use `GitRepo2$outboundSchema` instead. */ + export const outboundSchema = GitRepo2$outboundSchema; + /** @deprecated use `GitRepo2$Outbound` instead. */ + export type Outbound = GitRepo2$Outbound; +} + +export function gitRepo2ToJSON(gitRepo2: GitRepo2): string { + return JSON.stringify(GitRepo2$outboundSchema.parse(gitRepo2)); +} + +export function gitRepo2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitRepo2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitRepo2' from JSON`, + ); +} + +/** @internal */ +export const GitRepoType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(GitRepoType); + +/** @internal */ +export const GitRepoType$outboundSchema: z.ZodNativeEnum = + GitRepoType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitRepoType$ { + /** @deprecated use `GitRepoType$inboundSchema` instead. */ + export const inboundSchema = GitRepoType$inboundSchema; + /** @deprecated use `GitRepoType$outboundSchema` instead. */ + export const outboundSchema = GitRepoType$outboundSchema; +} + +/** @internal */ +export const OwnerType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(OwnerType); + +/** @internal */ +export const OwnerType$outboundSchema: z.ZodNativeEnum = + OwnerType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace OwnerType$ { + /** @deprecated use `OwnerType$inboundSchema` instead. */ + export const inboundSchema = OwnerType$inboundSchema; + /** @deprecated use `OwnerType$outboundSchema` instead. */ + export const outboundSchema = OwnerType$outboundSchema; +} + +/** @internal */ +export const GitRepo1$inboundSchema: z.ZodType< + GitRepo1, + z.ZodTypeDef, + unknown +> = z.object({ + namespace: z.string(), + projectId: z.number(), + type: GitRepoType$inboundSchema, + url: z.string(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: OwnerType$inboundSchema, +}); + +/** @internal */ +export type GitRepo1$Outbound = { + namespace: string; + projectId: number; + type: string; + url: string; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: string; +}; + +/** @internal */ +export const GitRepo1$outboundSchema: z.ZodType< + GitRepo1$Outbound, + z.ZodTypeDef, + GitRepo1 +> = z.object({ + namespace: z.string(), + projectId: z.number(), + type: GitRepoType$outboundSchema, + url: z.string(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: OwnerType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitRepo1$ { + /** @deprecated use `GitRepo1$inboundSchema` instead. */ + export const inboundSchema = GitRepo1$inboundSchema; + /** @deprecated use `GitRepo1$outboundSchema` instead. */ + export const outboundSchema = GitRepo1$outboundSchema; + /** @deprecated use `GitRepo1$Outbound` instead. */ + export type Outbound = GitRepo1$Outbound; +} + +export function gitRepo1ToJSON(gitRepo1: GitRepo1): string { + return JSON.stringify(GitRepo1$outboundSchema.parse(gitRepo1)); +} + +export function gitRepo1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitRepo1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitRepo1' from JSON`, + ); +} + +/** @internal */ +export const GitRepo$inboundSchema: z.ZodType = + z.union([ + z.lazy(() => GitRepo1$inboundSchema), + z.lazy(() => GitRepo2$inboundSchema), + z.lazy(() => GitRepo3$inboundSchema), + ]); + +/** @internal */ +export type GitRepo$Outbound = + | GitRepo1$Outbound + | GitRepo2$Outbound + | GitRepo3$Outbound; + +/** @internal */ +export const GitRepo$outboundSchema: z.ZodType< + GitRepo$Outbound, + z.ZodTypeDef, + GitRepo +> = z.union([ + z.lazy(() => GitRepo1$outboundSchema), + z.lazy(() => GitRepo2$outboundSchema), + z.lazy(() => GitRepo3$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitRepo$ { + /** @deprecated use `GitRepo$inboundSchema` instead. */ + export const inboundSchema = GitRepo$inboundSchema; + /** @deprecated use `GitRepo$outboundSchema` instead. */ + export const outboundSchema = GitRepo$outboundSchema; + /** @deprecated use `GitRepo$Outbound` instead. */ + export type Outbound = GitRepo$Outbound; +} + +export function gitRepoToJSON(gitRepo: GitRepo): string { + return JSON.stringify(GitRepo$outboundSchema.parse(gitRepo)); +} + +export function gitRepoFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitRepo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitRepo' from JSON`, + ); +} + +/** @internal */ +export const Flags2$inboundSchema: z.ZodType = z + .object({}); + +/** @internal */ +export type Flags2$Outbound = {}; + +/** @internal */ +export const Flags2$outboundSchema: z.ZodType< + Flags2$Outbound, + z.ZodTypeDef, + Flags2 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Flags2$ { + /** @deprecated use `Flags2$inboundSchema` instead. */ + export const inboundSchema = Flags2$inboundSchema; + /** @deprecated use `Flags2$outboundSchema` instead. */ + export const outboundSchema = Flags2$outboundSchema; + /** @deprecated use `Flags2$Outbound` instead. */ + export type Outbound = Flags2$Outbound; +} + +export function flags2ToJSON(flags2: Flags2): string { + return JSON.stringify(Flags2$outboundSchema.parse(flags2)); +} + +export function flags2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Flags2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Flags2' from JSON`, + ); +} + +/** @internal */ +export const Options$inboundSchema: z.ZodType = + z.object({ + value: z.nullable(FlagJSONValue$inboundSchema), + label: z.string().optional(), + }); + +/** @internal */ +export type Options$Outbound = { + value: FlagJSONValue$Outbound | null; + label?: string | undefined; +}; + +/** @internal */ +export const Options$outboundSchema: z.ZodType< + Options$Outbound, + z.ZodTypeDef, + Options +> = z.object({ + value: z.nullable(FlagJSONValue$outboundSchema), + label: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Options$ { + /** @deprecated use `Options$inboundSchema` instead. */ + export const inboundSchema = Options$inboundSchema; + /** @deprecated use `Options$outboundSchema` instead. */ + export const outboundSchema = Options$outboundSchema; + /** @deprecated use `Options$Outbound` instead. */ + export type Outbound = Options$Outbound; +} + +export function optionsToJSON(options: Options): string { + return JSON.stringify(Options$outboundSchema.parse(options)); +} + +export function optionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Options$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Options' from JSON`, + ); +} + +/** @internal */ +export const FlagsDefinitions$inboundSchema: z.ZodType< + FlagsDefinitions, + z.ZodTypeDef, + unknown +> = z.object({ + options: z.array(z.lazy(() => Options$inboundSchema)).optional(), + url: z.string().optional(), + description: z.string().optional(), +}); + +/** @internal */ +export type FlagsDefinitions$Outbound = { + options?: Array | undefined; + url?: string | undefined; + description?: string | undefined; +}; + +/** @internal */ +export const FlagsDefinitions$outboundSchema: z.ZodType< + FlagsDefinitions$Outbound, + z.ZodTypeDef, + FlagsDefinitions +> = z.object({ + options: z.array(z.lazy(() => Options$outboundSchema)).optional(), + url: z.string().optional(), + description: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FlagsDefinitions$ { + /** @deprecated use `FlagsDefinitions$inboundSchema` instead. */ + export const inboundSchema = FlagsDefinitions$inboundSchema; + /** @deprecated use `FlagsDefinitions$outboundSchema` instead. */ + export const outboundSchema = FlagsDefinitions$outboundSchema; + /** @deprecated use `FlagsDefinitions$Outbound` instead. */ + export type Outbound = FlagsDefinitions$Outbound; +} + +export function flagsDefinitionsToJSON( + flagsDefinitions: FlagsDefinitions, +): string { + return JSON.stringify( + FlagsDefinitions$outboundSchema.parse(flagsDefinitions), + ); +} + +export function flagsDefinitionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FlagsDefinitions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FlagsDefinitions' from JSON`, + ); +} + +/** @internal */ +export const Flags1$inboundSchema: z.ZodType = z + .object({ + definitions: z.record(z.lazy(() => FlagsDefinitions$inboundSchema)), + }); + +/** @internal */ +export type Flags1$Outbound = { + definitions: { [k: string]: FlagsDefinitions$Outbound }; +}; + +/** @internal */ +export const Flags1$outboundSchema: z.ZodType< + Flags1$Outbound, + z.ZodTypeDef, + Flags1 +> = z.object({ + definitions: z.record(z.lazy(() => FlagsDefinitions$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Flags1$ { + /** @deprecated use `Flags1$inboundSchema` instead. */ + export const inboundSchema = Flags1$inboundSchema; + /** @deprecated use `Flags1$outboundSchema` instead. */ + export const outboundSchema = Flags1$outboundSchema; + /** @deprecated use `Flags1$Outbound` instead. */ + export type Outbound = Flags1$Outbound; +} + +export function flags1ToJSON(flags1: Flags1): string { + return JSON.stringify(Flags1$outboundSchema.parse(flags1)); +} + +export function flags1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Flags1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Flags1' from JSON`, + ); +} + +/** @internal */ +export const Flags$inboundSchema: z.ZodType = z + .union([ + z.lazy(() => Flags1$inboundSchema), + z.array(z.lazy(() => Flags2$inboundSchema)), + ]); + +/** @internal */ +export type Flags$Outbound = Flags1$Outbound | Array; + +/** @internal */ +export const Flags$outboundSchema: z.ZodType< + Flags$Outbound, + z.ZodTypeDef, + Flags +> = z.union([ + z.lazy(() => Flags1$outboundSchema), + z.array(z.lazy(() => Flags2$outboundSchema)), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Flags$ { + /** @deprecated use `Flags$inboundSchema` instead. */ + export const inboundSchema = Flags$inboundSchema; + /** @deprecated use `Flags$outboundSchema` instead. */ + export const outboundSchema = Flags$outboundSchema; + /** @deprecated use `Flags$Outbound` instead. */ + export type Outbound = Flags$Outbound; +} + +export function flagsToJSON(flags: Flags): string { + return JSON.stringify(Flags$outboundSchema.parse(flags)); +} + +export function flagsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Flags$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Flags' from JSON`, + ); +} + +/** @internal */ +export const CreateDeploymentResponseBody$inboundSchema: z.ZodType< + CreateDeploymentResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + aliasAssignedAt: z.nullable(z.union([z.number(), z.boolean()])).optional(), + alwaysRefuseToBuild: z.boolean().optional(), + build: z.lazy(() => Build$inboundSchema), + buildArtifactUrls: z.array(z.string()).optional(), + builds: z.array(z.lazy(() => Builds$inboundSchema)).optional(), + env: z.array(z.string()), + inspectorUrl: z.nullable(z.string()), + isInConcurrentBuildsQueue: z.boolean(), + isInSystemBuildsQueue: z.boolean(), + projectSettings: z.lazy(() => CreateDeploymentProjectSettings$inboundSchema), + readyStateReason: z.string().optional(), + integrations: z.lazy(() => Integrations$inboundSchema).optional(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.boolean(), + bootedAt: z.number(), + buildingAt: z.number(), + buildSkipped: z.boolean(), + creator: z.lazy(() => Creator$inboundSchema), + initReadyAt: z.number().optional(), + isFirstBranchDeployment: z.boolean().optional(), + lambdas: z.array(z.lazy(() => Lambdas$inboundSchema)).optional(), + public: z.boolean(), + ready: z.number().optional(), + status: CreateDeploymentStatus$inboundSchema, + team: z.lazy(() => Team$inboundSchema).optional(), + userAliases: z.array(z.string()).optional(), + previewCommentsEnabled: z.boolean().optional(), + ttyBuildLogs: z.boolean().optional(), + customEnvironment: z.union([ + z.lazy(() => CustomEnvironment1$inboundSchema), + z.lazy(() => CustomEnvironment2$inboundSchema), + ]).optional(), + type: CreateDeploymentType$inboundSchema, + createdAt: z.number(), + name: z.string(), + deletedAt: z.nullable(z.number()).optional(), + id: z.string(), + version: z.number(), + autoAssignCustomDomains: z.boolean().optional(), + gitSource: z.union([ + z.lazy(() => CreateDeploymentGitSource6$inboundSchema), + z.lazy(() => CreateDeploymentGitSource8$inboundSchema), + z.lazy(() => CreateDeploymentGitSource1$inboundSchema), + z.lazy(() => GitSource3$inboundSchema), + z.lazy(() => CreateDeploymentGitSource2$inboundSchema), + z.lazy(() => GitSource4$inboundSchema), + z.lazy(() => GitSource5$inboundSchema), + z.lazy(() => CreateDeploymentGitSource7$inboundSchema), + z.lazy(() => CreateDeploymentGitSource9$inboundSchema), + ]).optional(), + meta: z.record(z.string()), + project: z.lazy(() => Project$inboundSchema).optional(), + readyState: ReadyState$inboundSchema, + source: CreateDeploymentSource$inboundSchema.optional(), + target: z.nullable(CreateDeploymentTarget$inboundSchema).optional(), + passiveRegions: z.array(z.string()).optional(), + regions: z.array(z.string()), + errorMessage: z.nullable(z.string()).optional(), + aliasWarning: z.nullable(z.lazy(() => AliasWarning$inboundSchema)).optional(), + aliasError: z.nullable(z.lazy(() => AliasError$inboundSchema)).optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + buildErrorAt: z.number().optional(), + checksState: ChecksState$inboundSchema.optional(), + checksConclusion: ChecksConclusion$inboundSchema.optional(), + defaultRoute: z.string().optional(), + canceledAt: z.number().optional(), + errorCode: z.string().optional(), + errorLink: z.string().optional(), + errorStep: z.string().optional(), + originCacheRegion: z.string().optional(), + readySubstate: ReadySubstate$inboundSchema.optional(), + softDeletedByRetention: z.boolean().optional(), + undeletedAt: z.number().optional(), + url: z.string(), + oidcTokenClaims: z.lazy(() => OidcTokenClaims$inboundSchema).optional(), + projectId: z.string(), + ownerId: z.string(), + microfrontends: z.union([ + z.lazy(() => Microfrontends1$inboundSchema), + z.lazy(() => Microfrontends2$inboundSchema), + ]).optional(), + monorepoManager: z.nullable(z.string()).optional(), + functions: z.nullable(z.record(z.lazy(() => Functions$inboundSchema))) + .optional(), + routes: z.nullable( + z.array(z.union([ + z.lazy(() => Routes3$inboundSchema), + z.lazy(() => + Routes2$inboundSchema + ), + z.lazy(() => Routes1$inboundSchema), + ])), + ), + crons: z.array(z.lazy(() => CreateDeploymentCrons$inboundSchema)).optional(), + plan: Plan$inboundSchema, + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdIn: z.string(), + passiveConnectConfigurationId: z.string().optional(), + gitRepo: z.nullable( + z.union([ + z.lazy(() => GitRepo1$inboundSchema), + z.lazy(() => GitRepo2$inboundSchema), + z.lazy(() => GitRepo3$inboundSchema), + ]), + ).optional(), + flags: z.union([ + z.lazy(() => Flags1$inboundSchema), + z.array(z.lazy(() => Flags2$inboundSchema)), + ]).optional(), +}); + +/** @internal */ +export type CreateDeploymentResponseBody$Outbound = { + aliasAssignedAt?: number | boolean | null | undefined; + alwaysRefuseToBuild?: boolean | undefined; + build: Build$Outbound; + buildArtifactUrls?: Array | undefined; + builds?: Array | undefined; + env: Array; + inspectorUrl: string | null; + isInConcurrentBuildsQueue: boolean; + isInSystemBuildsQueue: boolean; + projectSettings: CreateDeploymentProjectSettings$Outbound; + readyStateReason?: string | undefined; + integrations?: Integrations$Outbound | undefined; + alias?: Array | undefined; + aliasAssigned: boolean; + bootedAt: number; + buildingAt: number; + buildSkipped: boolean; + creator: Creator$Outbound; + initReadyAt?: number | undefined; + isFirstBranchDeployment?: boolean | undefined; + lambdas?: Array | undefined; + public: boolean; + ready?: number | undefined; + status: string; + team?: Team$Outbound | undefined; + userAliases?: Array | undefined; + previewCommentsEnabled?: boolean | undefined; + ttyBuildLogs?: boolean | undefined; + customEnvironment?: + | CustomEnvironment1$Outbound + | CustomEnvironment2$Outbound + | undefined; + type: string; + createdAt: number; + name: string; + deletedAt?: number | null | undefined; + id: string; + version: number; + autoAssignCustomDomains?: boolean | undefined; + gitSource?: + | CreateDeploymentGitSource6$Outbound + | CreateDeploymentGitSource8$Outbound + | CreateDeploymentGitSource1$Outbound + | GitSource3$Outbound + | CreateDeploymentGitSource2$Outbound + | GitSource4$Outbound + | GitSource5$Outbound + | CreateDeploymentGitSource7$Outbound + | CreateDeploymentGitSource9$Outbound + | undefined; + meta: { [k: string]: string }; + project?: Project$Outbound | undefined; + readyState: string; + source?: string | undefined; + target?: string | null | undefined; + passiveRegions?: Array | undefined; + regions: Array; + errorMessage?: string | null | undefined; + aliasWarning?: AliasWarning$Outbound | null | undefined; + aliasError?: AliasError$Outbound | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + buildErrorAt?: number | undefined; + checksState?: string | undefined; + checksConclusion?: string | undefined; + defaultRoute?: string | undefined; + canceledAt?: number | undefined; + errorCode?: string | undefined; + errorLink?: string | undefined; + errorStep?: string | undefined; + originCacheRegion?: string | undefined; + readySubstate?: string | undefined; + softDeletedByRetention?: boolean | undefined; + undeletedAt?: number | undefined; + url: string; + oidcTokenClaims?: OidcTokenClaims$Outbound | undefined; + projectId: string; + ownerId: string; + microfrontends?: + | Microfrontends1$Outbound + | Microfrontends2$Outbound + | undefined; + monorepoManager?: string | null | undefined; + functions?: { [k: string]: Functions$Outbound } | null | undefined; + routes: Array | null; + crons?: Array | undefined; + plan: string; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdIn: string; + passiveConnectConfigurationId?: string | undefined; + gitRepo?: + | GitRepo1$Outbound + | GitRepo2$Outbound + | GitRepo3$Outbound + | null + | undefined; + flags?: Flags1$Outbound | Array | undefined; +}; + +/** @internal */ +export const CreateDeploymentResponseBody$outboundSchema: z.ZodType< + CreateDeploymentResponseBody$Outbound, + z.ZodTypeDef, + CreateDeploymentResponseBody +> = z.object({ + aliasAssignedAt: z.nullable(z.union([z.number(), z.boolean()])).optional(), + alwaysRefuseToBuild: z.boolean().optional(), + build: z.lazy(() => Build$outboundSchema), + buildArtifactUrls: z.array(z.string()).optional(), + builds: z.array(z.lazy(() => Builds$outboundSchema)).optional(), + env: z.array(z.string()), + inspectorUrl: z.nullable(z.string()), + isInConcurrentBuildsQueue: z.boolean(), + isInSystemBuildsQueue: z.boolean(), + projectSettings: z.lazy(() => CreateDeploymentProjectSettings$outboundSchema), + readyStateReason: z.string().optional(), + integrations: z.lazy(() => Integrations$outboundSchema).optional(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.boolean(), + bootedAt: z.number(), + buildingAt: z.number(), + buildSkipped: z.boolean(), + creator: z.lazy(() => Creator$outboundSchema), + initReadyAt: z.number().optional(), + isFirstBranchDeployment: z.boolean().optional(), + lambdas: z.array(z.lazy(() => Lambdas$outboundSchema)).optional(), + public: z.boolean(), + ready: z.number().optional(), + status: CreateDeploymentStatus$outboundSchema, + team: z.lazy(() => Team$outboundSchema).optional(), + userAliases: z.array(z.string()).optional(), + previewCommentsEnabled: z.boolean().optional(), + ttyBuildLogs: z.boolean().optional(), + customEnvironment: z.union([ + z.lazy(() => CustomEnvironment1$outboundSchema), + z.lazy(() => CustomEnvironment2$outboundSchema), + ]).optional(), + type: CreateDeploymentType$outboundSchema, + createdAt: z.number(), + name: z.string(), + deletedAt: z.nullable(z.number()).optional(), + id: z.string(), + version: z.number(), + autoAssignCustomDomains: z.boolean().optional(), + gitSource: z.union([ + z.lazy(() => CreateDeploymentGitSource6$outboundSchema), + z.lazy(() => CreateDeploymentGitSource8$outboundSchema), + z.lazy(() => CreateDeploymentGitSource1$outboundSchema), + z.lazy(() => GitSource3$outboundSchema), + z.lazy(() => CreateDeploymentGitSource2$outboundSchema), + z.lazy(() => GitSource4$outboundSchema), + z.lazy(() => GitSource5$outboundSchema), + z.lazy(() => CreateDeploymentGitSource7$outboundSchema), + z.lazy(() => CreateDeploymentGitSource9$outboundSchema), + ]).optional(), + meta: z.record(z.string()), + project: z.lazy(() => Project$outboundSchema).optional(), + readyState: ReadyState$outboundSchema, + source: CreateDeploymentSource$outboundSchema.optional(), + target: z.nullable(CreateDeploymentTarget$outboundSchema).optional(), + passiveRegions: z.array(z.string()).optional(), + regions: z.array(z.string()), + errorMessage: z.nullable(z.string()).optional(), + aliasWarning: z.nullable(z.lazy(() => AliasWarning$outboundSchema)) + .optional(), + aliasError: z.nullable(z.lazy(() => AliasError$outboundSchema)).optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + buildErrorAt: z.number().optional(), + checksState: ChecksState$outboundSchema.optional(), + checksConclusion: ChecksConclusion$outboundSchema.optional(), + defaultRoute: z.string().optional(), + canceledAt: z.number().optional(), + errorCode: z.string().optional(), + errorLink: z.string().optional(), + errorStep: z.string().optional(), + originCacheRegion: z.string().optional(), + readySubstate: ReadySubstate$outboundSchema.optional(), + softDeletedByRetention: z.boolean().optional(), + undeletedAt: z.number().optional(), + url: z.string(), + oidcTokenClaims: z.lazy(() => OidcTokenClaims$outboundSchema).optional(), + projectId: z.string(), + ownerId: z.string(), + microfrontends: z.union([ + z.lazy(() => Microfrontends1$outboundSchema), + z.lazy(() => Microfrontends2$outboundSchema), + ]).optional(), + monorepoManager: z.nullable(z.string()).optional(), + functions: z.nullable(z.record(z.lazy(() => Functions$outboundSchema))) + .optional(), + routes: z.nullable( + z.array(z.union([ + z.lazy(() => Routes3$outboundSchema), + z.lazy(() => + Routes2$outboundSchema + ), + z.lazy(() => Routes1$outboundSchema), + ])), + ), + crons: z.array(z.lazy(() => CreateDeploymentCrons$outboundSchema)).optional(), + plan: Plan$outboundSchema, + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdIn: z.string(), + passiveConnectConfigurationId: z.string().optional(), + gitRepo: z.nullable( + z.union([ + z.lazy(() => GitRepo1$outboundSchema), + z.lazy(() => GitRepo2$outboundSchema), + z.lazy(() => GitRepo3$outboundSchema), + ]), + ).optional(), + flags: z.union([ + z.lazy(() => Flags1$outboundSchema), + z.array(z.lazy(() => Flags2$outboundSchema)), + ]).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateDeploymentResponseBody$ { + /** @deprecated use `CreateDeploymentResponseBody$inboundSchema` instead. */ + export const inboundSchema = CreateDeploymentResponseBody$inboundSchema; + /** @deprecated use `CreateDeploymentResponseBody$outboundSchema` instead. */ + export const outboundSchema = CreateDeploymentResponseBody$outboundSchema; + /** @deprecated use `CreateDeploymentResponseBody$Outbound` instead. */ + export type Outbound = CreateDeploymentResponseBody$Outbound; +} + +export function createDeploymentResponseBodyToJSON( + createDeploymentResponseBody: CreateDeploymentResponseBody, +): string { + return JSON.stringify( + CreateDeploymentResponseBody$outboundSchema.parse( + createDeploymentResponseBody, + ), + ); +} + +export function createDeploymentResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentResponseBody' from JSON`, + ); +} diff --git a/src/models/createedgeconfigop.ts b/src/models/createedgeconfigop.ts new file mode 100644 index 00000000..e3421707 --- /dev/null +++ b/src/models/createedgeconfigop.ts @@ -0,0 +1,803 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type Two5 = {}; + +export type Items2 = Two5 | string | number | boolean | any; + +export type One5 = {}; + +export type Items1 = One5 | string | number | boolean | any; + +export type Items = + | One5 + | string + | number + | boolean + | any + | Array; + +export type CreateEdgeConfigRequestBody = { + slug: string; + items?: { + [k: string]: + | One5 + | string + | number + | boolean + | any + | Array; + } | undefined; +}; + +export type CreateEdgeConfigRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: CreateEdgeConfigRequestBody; +}; + +/** + * Keeps track of the current state of the Edge Config while it gets transferred. + */ +export type CreateEdgeConfigTransfer = { + fromAccountId: string; + startedAt: number; + doneAt: number | null; +}; + +export type CreateEdgeConfigSchema = {}; + +export const CreateEdgeConfigType = { + Flags: "flags", +} as const; +export type CreateEdgeConfigType = ClosedEnum; + +export type CreateEdgeConfigPurpose = { + type: CreateEdgeConfigType; + projectId: string; +}; + +/** + * An Edge Config + */ +export type CreateEdgeConfigResponseBody = { + createdAt?: number | undefined; + updatedAt?: number | undefined; + id?: string | undefined; + /** + * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). + */ + slug?: string | undefined; + ownerId?: string | undefined; + digest?: string | undefined; + /** + * Keeps track of the current state of the Edge Config while it gets transferred. + */ + transfer?: CreateEdgeConfigTransfer | undefined; + schema?: CreateEdgeConfigSchema | undefined; + purpose?: CreateEdgeConfigPurpose | undefined; + sizeInBytes: number; + itemCount: number; +}; + +/** @internal */ +export const Two5$inboundSchema: z.ZodType = z + .object({}); + +/** @internal */ +export type Two5$Outbound = {}; + +/** @internal */ +export const Two5$outboundSchema: z.ZodType = + z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Two5$ { + /** @deprecated use `Two5$inboundSchema` instead. */ + export const inboundSchema = Two5$inboundSchema; + /** @deprecated use `Two5$outboundSchema` instead. */ + export const outboundSchema = Two5$outboundSchema; + /** @deprecated use `Two5$Outbound` instead. */ + export type Outbound = Two5$Outbound; +} + +export function two5ToJSON(two5: Two5): string { + return JSON.stringify(Two5$outboundSchema.parse(two5)); +} + +export function two5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Two5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Two5' from JSON`, + ); +} + +/** @internal */ +export const Items2$inboundSchema: z.ZodType = z + .union([ + z.lazy(() => Two5$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.any(), + ]); + +/** @internal */ +export type Items2$Outbound = Two5$Outbound | string | number | boolean | any; + +/** @internal */ +export const Items2$outboundSchema: z.ZodType< + Items2$Outbound, + z.ZodTypeDef, + Items2 +> = z.union([ + z.lazy(() => Two5$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.any(), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Items2$ { + /** @deprecated use `Items2$inboundSchema` instead. */ + export const inboundSchema = Items2$inboundSchema; + /** @deprecated use `Items2$outboundSchema` instead. */ + export const outboundSchema = Items2$outboundSchema; + /** @deprecated use `Items2$Outbound` instead. */ + export type Outbound = Items2$Outbound; +} + +export function items2ToJSON(items2: Items2): string { + return JSON.stringify(Items2$outboundSchema.parse(items2)); +} + +export function items2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Items2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Items2' from JSON`, + ); +} + +/** @internal */ +export const One5$inboundSchema: z.ZodType = z + .object({}); + +/** @internal */ +export type One5$Outbound = {}; + +/** @internal */ +export const One5$outboundSchema: z.ZodType = + z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace One5$ { + /** @deprecated use `One5$inboundSchema` instead. */ + export const inboundSchema = One5$inboundSchema; + /** @deprecated use `One5$outboundSchema` instead. */ + export const outboundSchema = One5$outboundSchema; + /** @deprecated use `One5$Outbound` instead. */ + export type Outbound = One5$Outbound; +} + +export function one5ToJSON(one5: One5): string { + return JSON.stringify(One5$outboundSchema.parse(one5)); +} + +export function one5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => One5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'One5' from JSON`, + ); +} + +/** @internal */ +export const Items1$inboundSchema: z.ZodType = z + .union([ + z.lazy(() => One5$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.any(), + ]); + +/** @internal */ +export type Items1$Outbound = One5$Outbound | string | number | boolean | any; + +/** @internal */ +export const Items1$outboundSchema: z.ZodType< + Items1$Outbound, + z.ZodTypeDef, + Items1 +> = z.union([ + z.lazy(() => One5$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.any(), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Items1$ { + /** @deprecated use `Items1$inboundSchema` instead. */ + export const inboundSchema = Items1$inboundSchema; + /** @deprecated use `Items1$outboundSchema` instead. */ + export const outboundSchema = Items1$outboundSchema; + /** @deprecated use `Items1$Outbound` instead. */ + export type Outbound = Items1$Outbound; +} + +export function items1ToJSON(items1: Items1): string { + return JSON.stringify(Items1$outboundSchema.parse(items1)); +} + +export function items1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Items1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Items1' from JSON`, + ); +} + +/** @internal */ +export const Items$inboundSchema: z.ZodType = z + .union([ + z.union([ + z.lazy(() => One5$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.any(), + ]), + z.array( + z.union([ + z.lazy(() => Two5$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.any(), + ]), + ), + ]); + +/** @internal */ +export type Items$Outbound = + | One5$Outbound + | string + | number + | boolean + | any + | Array; + +/** @internal */ +export const Items$outboundSchema: z.ZodType< + Items$Outbound, + z.ZodTypeDef, + Items +> = z.union([ + z.union([ + z.lazy(() => One5$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.any(), + ]), + z.array( + z.union([ + z.lazy(() => Two5$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.any(), + ]), + ), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Items$ { + /** @deprecated use `Items$inboundSchema` instead. */ + export const inboundSchema = Items$inboundSchema; + /** @deprecated use `Items$outboundSchema` instead. */ + export const outboundSchema = Items$outboundSchema; + /** @deprecated use `Items$Outbound` instead. */ + export type Outbound = Items$Outbound; +} + +export function itemsToJSON(items: Items): string { + return JSON.stringify(Items$outboundSchema.parse(items)); +} + +export function itemsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Items$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Items' from JSON`, + ); +} + +/** @internal */ +export const CreateEdgeConfigRequestBody$inboundSchema: z.ZodType< + CreateEdgeConfigRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + slug: z.string(), + items: z.record( + z.union([ + z.union([ + z.lazy(() => One5$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.any(), + ]), + z.array( + z.union([ + z.lazy(() => Two5$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.any(), + ]), + ), + ]), + ).optional(), +}); + +/** @internal */ +export type CreateEdgeConfigRequestBody$Outbound = { + slug: string; + items?: { + [k: string]: + | One5$Outbound + | string + | number + | boolean + | any + | Array; + } | undefined; +}; + +/** @internal */ +export const CreateEdgeConfigRequestBody$outboundSchema: z.ZodType< + CreateEdgeConfigRequestBody$Outbound, + z.ZodTypeDef, + CreateEdgeConfigRequestBody +> = z.object({ + slug: z.string(), + items: z.record( + z.union([ + z.union([ + z.lazy(() => One5$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.any(), + ]), + z.array( + z.union([ + z.lazy(() => Two5$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.any(), + ]), + ), + ]), + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEdgeConfigRequestBody$ { + /** @deprecated use `CreateEdgeConfigRequestBody$inboundSchema` instead. */ + export const inboundSchema = CreateEdgeConfigRequestBody$inboundSchema; + /** @deprecated use `CreateEdgeConfigRequestBody$outboundSchema` instead. */ + export const outboundSchema = CreateEdgeConfigRequestBody$outboundSchema; + /** @deprecated use `CreateEdgeConfigRequestBody$Outbound` instead. */ + export type Outbound = CreateEdgeConfigRequestBody$Outbound; +} + +export function createEdgeConfigRequestBodyToJSON( + createEdgeConfigRequestBody: CreateEdgeConfigRequestBody, +): string { + return JSON.stringify( + CreateEdgeConfigRequestBody$outboundSchema.parse( + createEdgeConfigRequestBody, + ), + ); +} + +export function createEdgeConfigRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEdgeConfigRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEdgeConfigRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateEdgeConfigRequest$inboundSchema: z.ZodType< + CreateEdgeConfigRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => CreateEdgeConfigRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type CreateEdgeConfigRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: CreateEdgeConfigRequestBody$Outbound; +}; + +/** @internal */ +export const CreateEdgeConfigRequest$outboundSchema: z.ZodType< + CreateEdgeConfigRequest$Outbound, + z.ZodTypeDef, + CreateEdgeConfigRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateEdgeConfigRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEdgeConfigRequest$ { + /** @deprecated use `CreateEdgeConfigRequest$inboundSchema` instead. */ + export const inboundSchema = CreateEdgeConfigRequest$inboundSchema; + /** @deprecated use `CreateEdgeConfigRequest$outboundSchema` instead. */ + export const outboundSchema = CreateEdgeConfigRequest$outboundSchema; + /** @deprecated use `CreateEdgeConfigRequest$Outbound` instead. */ + export type Outbound = CreateEdgeConfigRequest$Outbound; +} + +export function createEdgeConfigRequestToJSON( + createEdgeConfigRequest: CreateEdgeConfigRequest, +): string { + return JSON.stringify( + CreateEdgeConfigRequest$outboundSchema.parse(createEdgeConfigRequest), + ); +} + +export function createEdgeConfigRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEdgeConfigRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEdgeConfigRequest' from JSON`, + ); +} + +/** @internal */ +export const CreateEdgeConfigTransfer$inboundSchema: z.ZodType< + CreateEdgeConfigTransfer, + z.ZodTypeDef, + unknown +> = z.object({ + fromAccountId: z.string(), + startedAt: z.number(), + doneAt: z.nullable(z.number()), +}); + +/** @internal */ +export type CreateEdgeConfigTransfer$Outbound = { + fromAccountId: string; + startedAt: number; + doneAt: number | null; +}; + +/** @internal */ +export const CreateEdgeConfigTransfer$outboundSchema: z.ZodType< + CreateEdgeConfigTransfer$Outbound, + z.ZodTypeDef, + CreateEdgeConfigTransfer +> = z.object({ + fromAccountId: z.string(), + startedAt: z.number(), + doneAt: z.nullable(z.number()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEdgeConfigTransfer$ { + /** @deprecated use `CreateEdgeConfigTransfer$inboundSchema` instead. */ + export const inboundSchema = CreateEdgeConfigTransfer$inboundSchema; + /** @deprecated use `CreateEdgeConfigTransfer$outboundSchema` instead. */ + export const outboundSchema = CreateEdgeConfigTransfer$outboundSchema; + /** @deprecated use `CreateEdgeConfigTransfer$Outbound` instead. */ + export type Outbound = CreateEdgeConfigTransfer$Outbound; +} + +export function createEdgeConfigTransferToJSON( + createEdgeConfigTransfer: CreateEdgeConfigTransfer, +): string { + return JSON.stringify( + CreateEdgeConfigTransfer$outboundSchema.parse(createEdgeConfigTransfer), + ); +} + +export function createEdgeConfigTransferFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEdgeConfigTransfer$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEdgeConfigTransfer' from JSON`, + ); +} + +/** @internal */ +export const CreateEdgeConfigSchema$inboundSchema: z.ZodType< + CreateEdgeConfigSchema, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type CreateEdgeConfigSchema$Outbound = {}; + +/** @internal */ +export const CreateEdgeConfigSchema$outboundSchema: z.ZodType< + CreateEdgeConfigSchema$Outbound, + z.ZodTypeDef, + CreateEdgeConfigSchema +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEdgeConfigSchema$ { + /** @deprecated use `CreateEdgeConfigSchema$inboundSchema` instead. */ + export const inboundSchema = CreateEdgeConfigSchema$inboundSchema; + /** @deprecated use `CreateEdgeConfigSchema$outboundSchema` instead. */ + export const outboundSchema = CreateEdgeConfigSchema$outboundSchema; + /** @deprecated use `CreateEdgeConfigSchema$Outbound` instead. */ + export type Outbound = CreateEdgeConfigSchema$Outbound; +} + +export function createEdgeConfigSchemaToJSON( + createEdgeConfigSchema: CreateEdgeConfigSchema, +): string { + return JSON.stringify( + CreateEdgeConfigSchema$outboundSchema.parse(createEdgeConfigSchema), + ); +} + +export function createEdgeConfigSchemaFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEdgeConfigSchema$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEdgeConfigSchema' from JSON`, + ); +} + +/** @internal */ +export const CreateEdgeConfigType$inboundSchema: z.ZodNativeEnum< + typeof CreateEdgeConfigType +> = z.nativeEnum(CreateEdgeConfigType); + +/** @internal */ +export const CreateEdgeConfigType$outboundSchema: z.ZodNativeEnum< + typeof CreateEdgeConfigType +> = CreateEdgeConfigType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEdgeConfigType$ { + /** @deprecated use `CreateEdgeConfigType$inboundSchema` instead. */ + export const inboundSchema = CreateEdgeConfigType$inboundSchema; + /** @deprecated use `CreateEdgeConfigType$outboundSchema` instead. */ + export const outboundSchema = CreateEdgeConfigType$outboundSchema; +} + +/** @internal */ +export const CreateEdgeConfigPurpose$inboundSchema: z.ZodType< + CreateEdgeConfigPurpose, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateEdgeConfigType$inboundSchema, + projectId: z.string(), +}); + +/** @internal */ +export type CreateEdgeConfigPurpose$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const CreateEdgeConfigPurpose$outboundSchema: z.ZodType< + CreateEdgeConfigPurpose$Outbound, + z.ZodTypeDef, + CreateEdgeConfigPurpose +> = z.object({ + type: CreateEdgeConfigType$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEdgeConfigPurpose$ { + /** @deprecated use `CreateEdgeConfigPurpose$inboundSchema` instead. */ + export const inboundSchema = CreateEdgeConfigPurpose$inboundSchema; + /** @deprecated use `CreateEdgeConfigPurpose$outboundSchema` instead. */ + export const outboundSchema = CreateEdgeConfigPurpose$outboundSchema; + /** @deprecated use `CreateEdgeConfigPurpose$Outbound` instead. */ + export type Outbound = CreateEdgeConfigPurpose$Outbound; +} + +export function createEdgeConfigPurposeToJSON( + createEdgeConfigPurpose: CreateEdgeConfigPurpose, +): string { + return JSON.stringify( + CreateEdgeConfigPurpose$outboundSchema.parse(createEdgeConfigPurpose), + ); +} + +export function createEdgeConfigPurposeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEdgeConfigPurpose$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEdgeConfigPurpose' from JSON`, + ); +} + +/** @internal */ +export const CreateEdgeConfigResponseBody$inboundSchema: z.ZodType< + CreateEdgeConfigResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + id: z.string().optional(), + slug: z.string().optional(), + ownerId: z.string().optional(), + digest: z.string().optional(), + transfer: z.lazy(() => CreateEdgeConfigTransfer$inboundSchema).optional(), + schema: z.lazy(() => CreateEdgeConfigSchema$inboundSchema).optional(), + purpose: z.lazy(() => CreateEdgeConfigPurpose$inboundSchema).optional(), + sizeInBytes: z.number(), + itemCount: z.number(), +}); + +/** @internal */ +export type CreateEdgeConfigResponseBody$Outbound = { + createdAt?: number | undefined; + updatedAt?: number | undefined; + id?: string | undefined; + slug?: string | undefined; + ownerId?: string | undefined; + digest?: string | undefined; + transfer?: CreateEdgeConfigTransfer$Outbound | undefined; + schema?: CreateEdgeConfigSchema$Outbound | undefined; + purpose?: CreateEdgeConfigPurpose$Outbound | undefined; + sizeInBytes: number; + itemCount: number; +}; + +/** @internal */ +export const CreateEdgeConfigResponseBody$outboundSchema: z.ZodType< + CreateEdgeConfigResponseBody$Outbound, + z.ZodTypeDef, + CreateEdgeConfigResponseBody +> = z.object({ + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + id: z.string().optional(), + slug: z.string().optional(), + ownerId: z.string().optional(), + digest: z.string().optional(), + transfer: z.lazy(() => CreateEdgeConfigTransfer$outboundSchema).optional(), + schema: z.lazy(() => CreateEdgeConfigSchema$outboundSchema).optional(), + purpose: z.lazy(() => CreateEdgeConfigPurpose$outboundSchema).optional(), + sizeInBytes: z.number(), + itemCount: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEdgeConfigResponseBody$ { + /** @deprecated use `CreateEdgeConfigResponseBody$inboundSchema` instead. */ + export const inboundSchema = CreateEdgeConfigResponseBody$inboundSchema; + /** @deprecated use `CreateEdgeConfigResponseBody$outboundSchema` instead. */ + export const outboundSchema = CreateEdgeConfigResponseBody$outboundSchema; + /** @deprecated use `CreateEdgeConfigResponseBody$Outbound` instead. */ + export type Outbound = CreateEdgeConfigResponseBody$Outbound; +} + +export function createEdgeConfigResponseBodyToJSON( + createEdgeConfigResponseBody: CreateEdgeConfigResponseBody, +): string { + return JSON.stringify( + CreateEdgeConfigResponseBody$outboundSchema.parse( + createEdgeConfigResponseBody, + ), + ); +} + +export function createEdgeConfigResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEdgeConfigResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEdgeConfigResponseBody' from JSON`, + ); +} diff --git a/src/models/createedgeconfigtokenop.ts b/src/models/createedgeconfigtokenop.ts new file mode 100644 index 00000000..5fb6e873 --- /dev/null +++ b/src/models/createedgeconfigtokenop.ts @@ -0,0 +1,220 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type CreateEdgeConfigTokenRequestBody = { + label: string; +}; + +export type CreateEdgeConfigTokenRequest = { + edgeConfigId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: CreateEdgeConfigTokenRequestBody; +}; + +export type CreateEdgeConfigTokenResponseBody = { + token: string; + id: string; +}; + +/** @internal */ +export const CreateEdgeConfigTokenRequestBody$inboundSchema: z.ZodType< + CreateEdgeConfigTokenRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + label: z.string(), +}); + +/** @internal */ +export type CreateEdgeConfigTokenRequestBody$Outbound = { + label: string; +}; + +/** @internal */ +export const CreateEdgeConfigTokenRequestBody$outboundSchema: z.ZodType< + CreateEdgeConfigTokenRequestBody$Outbound, + z.ZodTypeDef, + CreateEdgeConfigTokenRequestBody +> = z.object({ + label: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEdgeConfigTokenRequestBody$ { + /** @deprecated use `CreateEdgeConfigTokenRequestBody$inboundSchema` instead. */ + export const inboundSchema = CreateEdgeConfigTokenRequestBody$inboundSchema; + /** @deprecated use `CreateEdgeConfigTokenRequestBody$outboundSchema` instead. */ + export const outboundSchema = CreateEdgeConfigTokenRequestBody$outboundSchema; + /** @deprecated use `CreateEdgeConfigTokenRequestBody$Outbound` instead. */ + export type Outbound = CreateEdgeConfigTokenRequestBody$Outbound; +} + +export function createEdgeConfigTokenRequestBodyToJSON( + createEdgeConfigTokenRequestBody: CreateEdgeConfigTokenRequestBody, +): string { + return JSON.stringify( + CreateEdgeConfigTokenRequestBody$outboundSchema.parse( + createEdgeConfigTokenRequestBody, + ), + ); +} + +export function createEdgeConfigTokenRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEdgeConfigTokenRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEdgeConfigTokenRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateEdgeConfigTokenRequest$inboundSchema: z.ZodType< + CreateEdgeConfigTokenRequest, + z.ZodTypeDef, + unknown +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => CreateEdgeConfigTokenRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type CreateEdgeConfigTokenRequest$Outbound = { + edgeConfigId: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: CreateEdgeConfigTokenRequestBody$Outbound; +}; + +/** @internal */ +export const CreateEdgeConfigTokenRequest$outboundSchema: z.ZodType< + CreateEdgeConfigTokenRequest$Outbound, + z.ZodTypeDef, + CreateEdgeConfigTokenRequest +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateEdgeConfigTokenRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEdgeConfigTokenRequest$ { + /** @deprecated use `CreateEdgeConfigTokenRequest$inboundSchema` instead. */ + export const inboundSchema = CreateEdgeConfigTokenRequest$inboundSchema; + /** @deprecated use `CreateEdgeConfigTokenRequest$outboundSchema` instead. */ + export const outboundSchema = CreateEdgeConfigTokenRequest$outboundSchema; + /** @deprecated use `CreateEdgeConfigTokenRequest$Outbound` instead. */ + export type Outbound = CreateEdgeConfigTokenRequest$Outbound; +} + +export function createEdgeConfigTokenRequestToJSON( + createEdgeConfigTokenRequest: CreateEdgeConfigTokenRequest, +): string { + return JSON.stringify( + CreateEdgeConfigTokenRequest$outboundSchema.parse( + createEdgeConfigTokenRequest, + ), + ); +} + +export function createEdgeConfigTokenRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEdgeConfigTokenRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEdgeConfigTokenRequest' from JSON`, + ); +} + +/** @internal */ +export const CreateEdgeConfigTokenResponseBody$inboundSchema: z.ZodType< + CreateEdgeConfigTokenResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + token: z.string(), + id: z.string(), +}); + +/** @internal */ +export type CreateEdgeConfigTokenResponseBody$Outbound = { + token: string; + id: string; +}; + +/** @internal */ +export const CreateEdgeConfigTokenResponseBody$outboundSchema: z.ZodType< + CreateEdgeConfigTokenResponseBody$Outbound, + z.ZodTypeDef, + CreateEdgeConfigTokenResponseBody +> = z.object({ + token: z.string(), + id: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEdgeConfigTokenResponseBody$ { + /** @deprecated use `CreateEdgeConfigTokenResponseBody$inboundSchema` instead. */ + export const inboundSchema = CreateEdgeConfigTokenResponseBody$inboundSchema; + /** @deprecated use `CreateEdgeConfigTokenResponseBody$outboundSchema` instead. */ + export const outboundSchema = + CreateEdgeConfigTokenResponseBody$outboundSchema; + /** @deprecated use `CreateEdgeConfigTokenResponseBody$Outbound` instead. */ + export type Outbound = CreateEdgeConfigTokenResponseBody$Outbound; +} + +export function createEdgeConfigTokenResponseBodyToJSON( + createEdgeConfigTokenResponseBody: CreateEdgeConfigTokenResponseBody, +): string { + return JSON.stringify( + CreateEdgeConfigTokenResponseBody$outboundSchema.parse( + createEdgeConfigTokenResponseBody, + ), + ); +} + +export function createEdgeConfigTokenResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEdgeConfigTokenResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEdgeConfigTokenResponseBody' from JSON`, + ); +} diff --git a/src/models/createeventop.ts b/src/models/createeventop.ts new file mode 100644 index 00000000..9625fae6 --- /dev/null +++ b/src/models/createeventop.ts @@ -0,0 +1,373 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export const CreateEventEventType = { + ResourceUpdated: "resource.updated", +} as const; +export type CreateEventEventType = ClosedEnum; + +export type Event2 = { + type: CreateEventEventType; + /** + * Partner-provided product slug or id + */ + productId: string; + /** + * Partner provided resource ID + */ + resourceId: string; +}; + +export const EventType = { + InstallationUpdated: "installation.updated", +} as const; +export type EventType = ClosedEnum; + +export type Event1 = { + type: EventType; + /** + * The installation-level billing plan ID + */ + billingPlanId?: string | undefined; +}; + +export type CreateEventEvent = Event1 | Event2; + +export type CreateEventRequestBody = { + event: Event1 | Event2; +}; + +export type CreateEventRequest = { + integrationConfigurationId: string; + requestBody: CreateEventRequestBody; +}; + +/** @internal */ +export const CreateEventEventType$inboundSchema: z.ZodNativeEnum< + typeof CreateEventEventType +> = z.nativeEnum(CreateEventEventType); + +/** @internal */ +export const CreateEventEventType$outboundSchema: z.ZodNativeEnum< + typeof CreateEventEventType +> = CreateEventEventType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEventEventType$ { + /** @deprecated use `CreateEventEventType$inboundSchema` instead. */ + export const inboundSchema = CreateEventEventType$inboundSchema; + /** @deprecated use `CreateEventEventType$outboundSchema` instead. */ + export const outboundSchema = CreateEventEventType$outboundSchema; +} + +/** @internal */ +export const Event2$inboundSchema: z.ZodType = z + .object({ + type: CreateEventEventType$inboundSchema, + productId: z.string(), + resourceId: z.string(), + }); + +/** @internal */ +export type Event2$Outbound = { + type: string; + productId: string; + resourceId: string; +}; + +/** @internal */ +export const Event2$outboundSchema: z.ZodType< + Event2$Outbound, + z.ZodTypeDef, + Event2 +> = z.object({ + type: CreateEventEventType$outboundSchema, + productId: z.string(), + resourceId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Event2$ { + /** @deprecated use `Event2$inboundSchema` instead. */ + export const inboundSchema = Event2$inboundSchema; + /** @deprecated use `Event2$outboundSchema` instead. */ + export const outboundSchema = Event2$outboundSchema; + /** @deprecated use `Event2$Outbound` instead. */ + export type Outbound = Event2$Outbound; +} + +export function event2ToJSON(event2: Event2): string { + return JSON.stringify(Event2$outboundSchema.parse(event2)); +} + +export function event2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Event2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Event2' from JSON`, + ); +} + +/** @internal */ +export const EventType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(EventType); + +/** @internal */ +export const EventType$outboundSchema: z.ZodNativeEnum = + EventType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EventType$ { + /** @deprecated use `EventType$inboundSchema` instead. */ + export const inboundSchema = EventType$inboundSchema; + /** @deprecated use `EventType$outboundSchema` instead. */ + export const outboundSchema = EventType$outboundSchema; +} + +/** @internal */ +export const Event1$inboundSchema: z.ZodType = z + .object({ + type: EventType$inboundSchema, + billingPlanId: z.string().optional(), + }); + +/** @internal */ +export type Event1$Outbound = { + type: string; + billingPlanId?: string | undefined; +}; + +/** @internal */ +export const Event1$outboundSchema: z.ZodType< + Event1$Outbound, + z.ZodTypeDef, + Event1 +> = z.object({ + type: EventType$outboundSchema, + billingPlanId: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Event1$ { + /** @deprecated use `Event1$inboundSchema` instead. */ + export const inboundSchema = Event1$inboundSchema; + /** @deprecated use `Event1$outboundSchema` instead. */ + export const outboundSchema = Event1$outboundSchema; + /** @deprecated use `Event1$Outbound` instead. */ + export type Outbound = Event1$Outbound; +} + +export function event1ToJSON(event1: Event1): string { + return JSON.stringify(Event1$outboundSchema.parse(event1)); +} + +export function event1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Event1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Event1' from JSON`, + ); +} + +/** @internal */ +export const CreateEventEvent$inboundSchema: z.ZodType< + CreateEventEvent, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => Event1$inboundSchema), + z.lazy(() => Event2$inboundSchema), +]); + +/** @internal */ +export type CreateEventEvent$Outbound = Event1$Outbound | Event2$Outbound; + +/** @internal */ +export const CreateEventEvent$outboundSchema: z.ZodType< + CreateEventEvent$Outbound, + z.ZodTypeDef, + CreateEventEvent +> = z.union([ + z.lazy(() => Event1$outboundSchema), + z.lazy(() => Event2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEventEvent$ { + /** @deprecated use `CreateEventEvent$inboundSchema` instead. */ + export const inboundSchema = CreateEventEvent$inboundSchema; + /** @deprecated use `CreateEventEvent$outboundSchema` instead. */ + export const outboundSchema = CreateEventEvent$outboundSchema; + /** @deprecated use `CreateEventEvent$Outbound` instead. */ + export type Outbound = CreateEventEvent$Outbound; +} + +export function createEventEventToJSON( + createEventEvent: CreateEventEvent, +): string { + return JSON.stringify( + CreateEventEvent$outboundSchema.parse(createEventEvent), + ); +} + +export function createEventEventFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEventEvent$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEventEvent' from JSON`, + ); +} + +/** @internal */ +export const CreateEventRequestBody$inboundSchema: z.ZodType< + CreateEventRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + event: z.union([ + z.lazy(() => Event1$inboundSchema), + z.lazy(() => Event2$inboundSchema), + ]), +}); + +/** @internal */ +export type CreateEventRequestBody$Outbound = { + event: Event1$Outbound | Event2$Outbound; +}; + +/** @internal */ +export const CreateEventRequestBody$outboundSchema: z.ZodType< + CreateEventRequestBody$Outbound, + z.ZodTypeDef, + CreateEventRequestBody +> = z.object({ + event: z.union([ + z.lazy(() => Event1$outboundSchema), + z.lazy(() => Event2$outboundSchema), + ]), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEventRequestBody$ { + /** @deprecated use `CreateEventRequestBody$inboundSchema` instead. */ + export const inboundSchema = CreateEventRequestBody$inboundSchema; + /** @deprecated use `CreateEventRequestBody$outboundSchema` instead. */ + export const outboundSchema = CreateEventRequestBody$outboundSchema; + /** @deprecated use `CreateEventRequestBody$Outbound` instead. */ + export type Outbound = CreateEventRequestBody$Outbound; +} + +export function createEventRequestBodyToJSON( + createEventRequestBody: CreateEventRequestBody, +): string { + return JSON.stringify( + CreateEventRequestBody$outboundSchema.parse(createEventRequestBody), + ); +} + +export function createEventRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEventRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEventRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateEventRequest$inboundSchema: z.ZodType< + CreateEventRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), + RequestBody: z.lazy(() => CreateEventRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type CreateEventRequest$Outbound = { + integrationConfigurationId: string; + RequestBody: CreateEventRequestBody$Outbound; +}; + +/** @internal */ +export const CreateEventRequest$outboundSchema: z.ZodType< + CreateEventRequest$Outbound, + z.ZodTypeDef, + CreateEventRequest +> = z.object({ + integrationConfigurationId: z.string(), + requestBody: z.lazy(() => CreateEventRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEventRequest$ { + /** @deprecated use `CreateEventRequest$inboundSchema` instead. */ + export const inboundSchema = CreateEventRequest$inboundSchema; + /** @deprecated use `CreateEventRequest$outboundSchema` instead. */ + export const outboundSchema = CreateEventRequest$outboundSchema; + /** @deprecated use `CreateEventRequest$Outbound` instead. */ + export type Outbound = CreateEventRequest$Outbound; +} + +export function createEventRequestToJSON( + createEventRequest: CreateEventRequest, +): string { + return JSON.stringify( + CreateEventRequest$outboundSchema.parse(createEventRequest), + ); +} + +export function createEventRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEventRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEventRequest' from JSON`, + ); +} diff --git a/src/models/createlogdrainop.ts b/src/models/createlogdrainop.ts new file mode 100644 index 00000000..d70d09ac --- /dev/null +++ b/src/models/createlogdrainop.ts @@ -0,0 +1,588 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * The delivery log format + */ +export const DeliveryFormat = { + Json: "json", + Ndjson: "ndjson", + Syslog: "syslog", +} as const; +/** + * The delivery log format + */ +export type DeliveryFormat = ClosedEnum; + +export const Sources = { + Static: "static", + Lambda: "lambda", + Build: "build", + Edge: "edge", + External: "external", + Firewall: "firewall", +} as const; +export type Sources = ClosedEnum; + +export const Environments = { + Preview: "preview", + Production: "production", +} as const; +export type Environments = ClosedEnum; + +export type CreateLogDrainRequestBody = { + /** + * The name of the log drain + */ + name: string; + projectIds?: Array | undefined; + /** + * A secret to sign log drain notification headers so a consumer can verify their authenticity + */ + secret?: string | undefined; + /** + * The delivery log format + */ + deliveryFormat?: DeliveryFormat | undefined; + /** + * The url where you will receive logs. The protocol must be `https://` or `http://` when type is `json` and `ndjson`, and `syslog+tls:` or `syslog:` when the type is `syslog`. + */ + url: string; + sources?: Array | undefined; + /** + * Headers to be sent together with the request + */ + headers?: { [k: string]: string } | undefined; + environments?: Array | undefined; +}; + +export type CreateLogDrainRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: CreateLogDrainRequestBody; +}; + +/** + * The delivery log format + */ +export const CreateLogDrainDeliveryFormat = { + Json: "json", + Ndjson: "ndjson", + Syslog: "syslog", +} as const; +/** + * The delivery log format + */ +export type CreateLogDrainDeliveryFormat = ClosedEnum< + typeof CreateLogDrainDeliveryFormat +>; + +/** + * The sources from which logs are currently being delivered to this log drain. + */ +export const CreateLogDrainSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", +} as const; +/** + * The sources from which logs are currently being delivered to this log drain. + */ +export type CreateLogDrainSources = ClosedEnum; + +/** + * Whether the log drain was created by an integration or by a user + */ +export const CreateLogDrainCreatedFrom = { + SelfServed: "self-served", + Integration: "integration", +} as const; +/** + * Whether the log drain was created by an integration or by a user + */ +export type CreateLogDrainCreatedFrom = ClosedEnum< + typeof CreateLogDrainCreatedFrom +>; + +/** + * The environment of log drain + */ +export const CreateLogDrainEnvironments = { + Production: "production", + Preview: "preview", +} as const; +/** + * The environment of log drain + */ +export type CreateLogDrainEnvironments = ClosedEnum< + typeof CreateLogDrainEnvironments +>; + +/** + * The log drain was successfully created + */ +export type CreateLogDrainResponseBody = { + /** + * The oauth2 client application id that created this log drain + */ + clientId?: string | undefined; + /** + * The client configuration this log drain was created with + */ + configurationId?: string | undefined; + /** + * A timestamp that tells you when the log drain was created + */ + createdAt: number; + /** + * The unique identifier of the log drain. Always prefixed with `ld_` + */ + id: string; + /** + * The delivery log format + */ + deliveryFormat?: CreateLogDrainDeliveryFormat | undefined; + /** + * The name of the log drain + */ + name: string; + /** + * The identifier of the team or user whose events will trigger the log drain + */ + ownerId: string; + projectId?: string | null | undefined; + /** + * The identifier of the projects this log drain is associated with + */ + projectIds?: Array | undefined; + /** + * The URL to call when logs are generated + */ + url: string; + /** + * The sources from which logs are currently being delivered to this log drain. + */ + sources?: Array | undefined; + /** + * Whether the log drain was created by an integration or by a user + */ + createdFrom?: CreateLogDrainCreatedFrom | undefined; + /** + * The headers to send with the request + */ + headers?: { [k: string]: string } | undefined; + /** + * The environment of log drain + */ + environments: Array; + /** + * The branch regexp of log drain + */ + branch?: string | undefined; + /** + * The sampling rate of log drain + */ + samplingRate?: number | undefined; +}; + +/** @internal */ +export const DeliveryFormat$inboundSchema: z.ZodNativeEnum< + typeof DeliveryFormat +> = z.nativeEnum(DeliveryFormat); + +/** @internal */ +export const DeliveryFormat$outboundSchema: z.ZodNativeEnum< + typeof DeliveryFormat +> = DeliveryFormat$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeliveryFormat$ { + /** @deprecated use `DeliveryFormat$inboundSchema` instead. */ + export const inboundSchema = DeliveryFormat$inboundSchema; + /** @deprecated use `DeliveryFormat$outboundSchema` instead. */ + export const outboundSchema = DeliveryFormat$outboundSchema; +} + +/** @internal */ +export const Sources$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Sources); + +/** @internal */ +export const Sources$outboundSchema: z.ZodNativeEnum = + Sources$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Sources$ { + /** @deprecated use `Sources$inboundSchema` instead. */ + export const inboundSchema = Sources$inboundSchema; + /** @deprecated use `Sources$outboundSchema` instead. */ + export const outboundSchema = Sources$outboundSchema; +} + +/** @internal */ +export const Environments$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(Environments); + +/** @internal */ +export const Environments$outboundSchema: z.ZodNativeEnum = + Environments$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Environments$ { + /** @deprecated use `Environments$inboundSchema` instead. */ + export const inboundSchema = Environments$inboundSchema; + /** @deprecated use `Environments$outboundSchema` instead. */ + export const outboundSchema = Environments$outboundSchema; +} + +/** @internal */ +export const CreateLogDrainRequestBody$inboundSchema: z.ZodType< + CreateLogDrainRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + projectIds: z.array(z.string()).optional(), + secret: z.string().optional(), + deliveryFormat: DeliveryFormat$inboundSchema.optional(), + url: z.string(), + sources: z.array(Sources$inboundSchema).optional(), + headers: z.record(z.string()).optional(), + environments: z.array(Environments$inboundSchema).optional(), +}); + +/** @internal */ +export type CreateLogDrainRequestBody$Outbound = { + name: string; + projectIds?: Array | undefined; + secret?: string | undefined; + deliveryFormat?: string | undefined; + url: string; + sources?: Array | undefined; + headers?: { [k: string]: string } | undefined; + environments?: Array | undefined; +}; + +/** @internal */ +export const CreateLogDrainRequestBody$outboundSchema: z.ZodType< + CreateLogDrainRequestBody$Outbound, + z.ZodTypeDef, + CreateLogDrainRequestBody +> = z.object({ + name: z.string(), + projectIds: z.array(z.string()).optional(), + secret: z.string().optional(), + deliveryFormat: DeliveryFormat$outboundSchema.optional(), + url: z.string(), + sources: z.array(Sources$outboundSchema).optional(), + headers: z.record(z.string()).optional(), + environments: z.array(Environments$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateLogDrainRequestBody$ { + /** @deprecated use `CreateLogDrainRequestBody$inboundSchema` instead. */ + export const inboundSchema = CreateLogDrainRequestBody$inboundSchema; + /** @deprecated use `CreateLogDrainRequestBody$outboundSchema` instead. */ + export const outboundSchema = CreateLogDrainRequestBody$outboundSchema; + /** @deprecated use `CreateLogDrainRequestBody$Outbound` instead. */ + export type Outbound = CreateLogDrainRequestBody$Outbound; +} + +export function createLogDrainRequestBodyToJSON( + createLogDrainRequestBody: CreateLogDrainRequestBody, +): string { + return JSON.stringify( + CreateLogDrainRequestBody$outboundSchema.parse(createLogDrainRequestBody), + ); +} + +export function createLogDrainRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateLogDrainRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateLogDrainRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateLogDrainRequest$inboundSchema: z.ZodType< + CreateLogDrainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => CreateLogDrainRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type CreateLogDrainRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: CreateLogDrainRequestBody$Outbound; +}; + +/** @internal */ +export const CreateLogDrainRequest$outboundSchema: z.ZodType< + CreateLogDrainRequest$Outbound, + z.ZodTypeDef, + CreateLogDrainRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateLogDrainRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateLogDrainRequest$ { + /** @deprecated use `CreateLogDrainRequest$inboundSchema` instead. */ + export const inboundSchema = CreateLogDrainRequest$inboundSchema; + /** @deprecated use `CreateLogDrainRequest$outboundSchema` instead. */ + export const outboundSchema = CreateLogDrainRequest$outboundSchema; + /** @deprecated use `CreateLogDrainRequest$Outbound` instead. */ + export type Outbound = CreateLogDrainRequest$Outbound; +} + +export function createLogDrainRequestToJSON( + createLogDrainRequest: CreateLogDrainRequest, +): string { + return JSON.stringify( + CreateLogDrainRequest$outboundSchema.parse(createLogDrainRequest), + ); +} + +export function createLogDrainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateLogDrainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateLogDrainRequest' from JSON`, + ); +} + +/** @internal */ +export const CreateLogDrainDeliveryFormat$inboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainDeliveryFormat +> = z.nativeEnum(CreateLogDrainDeliveryFormat); + +/** @internal */ +export const CreateLogDrainDeliveryFormat$outboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainDeliveryFormat +> = CreateLogDrainDeliveryFormat$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateLogDrainDeliveryFormat$ { + /** @deprecated use `CreateLogDrainDeliveryFormat$inboundSchema` instead. */ + export const inboundSchema = CreateLogDrainDeliveryFormat$inboundSchema; + /** @deprecated use `CreateLogDrainDeliveryFormat$outboundSchema` instead. */ + export const outboundSchema = CreateLogDrainDeliveryFormat$outboundSchema; +} + +/** @internal */ +export const CreateLogDrainSources$inboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainSources +> = z.nativeEnum(CreateLogDrainSources); + +/** @internal */ +export const CreateLogDrainSources$outboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainSources +> = CreateLogDrainSources$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateLogDrainSources$ { + /** @deprecated use `CreateLogDrainSources$inboundSchema` instead. */ + export const inboundSchema = CreateLogDrainSources$inboundSchema; + /** @deprecated use `CreateLogDrainSources$outboundSchema` instead. */ + export const outboundSchema = CreateLogDrainSources$outboundSchema; +} + +/** @internal */ +export const CreateLogDrainCreatedFrom$inboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainCreatedFrom +> = z.nativeEnum(CreateLogDrainCreatedFrom); + +/** @internal */ +export const CreateLogDrainCreatedFrom$outboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainCreatedFrom +> = CreateLogDrainCreatedFrom$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateLogDrainCreatedFrom$ { + /** @deprecated use `CreateLogDrainCreatedFrom$inboundSchema` instead. */ + export const inboundSchema = CreateLogDrainCreatedFrom$inboundSchema; + /** @deprecated use `CreateLogDrainCreatedFrom$outboundSchema` instead. */ + export const outboundSchema = CreateLogDrainCreatedFrom$outboundSchema; +} + +/** @internal */ +export const CreateLogDrainEnvironments$inboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainEnvironments +> = z.nativeEnum(CreateLogDrainEnvironments); + +/** @internal */ +export const CreateLogDrainEnvironments$outboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainEnvironments +> = CreateLogDrainEnvironments$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateLogDrainEnvironments$ { + /** @deprecated use `CreateLogDrainEnvironments$inboundSchema` instead. */ + export const inboundSchema = CreateLogDrainEnvironments$inboundSchema; + /** @deprecated use `CreateLogDrainEnvironments$outboundSchema` instead. */ + export const outboundSchema = CreateLogDrainEnvironments$outboundSchema; +} + +/** @internal */ +export const CreateLogDrainResponseBody$inboundSchema: z.ZodType< + CreateLogDrainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + clientId: z.string().optional(), + configurationId: z.string().optional(), + createdAt: z.number(), + id: z.string(), + deliveryFormat: CreateLogDrainDeliveryFormat$inboundSchema.optional(), + name: z.string(), + ownerId: z.string(), + projectId: z.nullable(z.string()).optional(), + projectIds: z.array(z.string()).optional(), + url: z.string(), + sources: z.array(CreateLogDrainSources$inboundSchema).optional(), + createdFrom: CreateLogDrainCreatedFrom$inboundSchema.optional(), + headers: z.record(z.string()).optional(), + environments: z.array(CreateLogDrainEnvironments$inboundSchema), + branch: z.string().optional(), + samplingRate: z.number().optional(), +}); + +/** @internal */ +export type CreateLogDrainResponseBody$Outbound = { + clientId?: string | undefined; + configurationId?: string | undefined; + createdAt: number; + id: string; + deliveryFormat?: string | undefined; + name: string; + ownerId: string; + projectId?: string | null | undefined; + projectIds?: Array | undefined; + url: string; + sources?: Array | undefined; + createdFrom?: string | undefined; + headers?: { [k: string]: string } | undefined; + environments: Array; + branch?: string | undefined; + samplingRate?: number | undefined; +}; + +/** @internal */ +export const CreateLogDrainResponseBody$outboundSchema: z.ZodType< + CreateLogDrainResponseBody$Outbound, + z.ZodTypeDef, + CreateLogDrainResponseBody +> = z.object({ + clientId: z.string().optional(), + configurationId: z.string().optional(), + createdAt: z.number(), + id: z.string(), + deliveryFormat: CreateLogDrainDeliveryFormat$outboundSchema.optional(), + name: z.string(), + ownerId: z.string(), + projectId: z.nullable(z.string()).optional(), + projectIds: z.array(z.string()).optional(), + url: z.string(), + sources: z.array(CreateLogDrainSources$outboundSchema).optional(), + createdFrom: CreateLogDrainCreatedFrom$outboundSchema.optional(), + headers: z.record(z.string()).optional(), + environments: z.array(CreateLogDrainEnvironments$outboundSchema), + branch: z.string().optional(), + samplingRate: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateLogDrainResponseBody$ { + /** @deprecated use `CreateLogDrainResponseBody$inboundSchema` instead. */ + export const inboundSchema = CreateLogDrainResponseBody$inboundSchema; + /** @deprecated use `CreateLogDrainResponseBody$outboundSchema` instead. */ + export const outboundSchema = CreateLogDrainResponseBody$outboundSchema; + /** @deprecated use `CreateLogDrainResponseBody$Outbound` instead. */ + export type Outbound = CreateLogDrainResponseBody$Outbound; +} + +export function createLogDrainResponseBodyToJSON( + createLogDrainResponseBody: CreateLogDrainResponseBody, +): string { + return JSON.stringify( + CreateLogDrainResponseBody$outboundSchema.parse(createLogDrainResponseBody), + ); +} + +export function createLogDrainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateLogDrainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateLogDrainResponseBody' from JSON`, + ); +} diff --git a/src/models/createortransferdomainop.ts b/src/models/createortransferdomainop.ts new file mode 100644 index 00000000..9c122d4a --- /dev/null +++ b/src/models/createortransferdomainop.ts @@ -0,0 +1,777 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * transfer-in + */ +export type CreateOrTransferDomainRequestBody3 = { + /** + * The domain name you want to add. + */ + name: string; + /** + * The domain operation to perform. It can be either `add` or `transfer-in`. + */ + method: string; + /** + * The authorization code assigned to the domain. + */ + authCode?: string | undefined; + /** + * The price you expect to be charged for the required 1 year renewal. + */ + expectedPrice?: number | undefined; +}; + +/** + * move-in + */ +export type CreateOrTransferDomainRequestBody2 = { + /** + * The domain name you want to add. + */ + name: string; + /** + * The domain operation to perform. It can be either `add` or `transfer-in`. + */ + method: string; + /** + * The move-in token from Move Requested email. + */ + token?: string | undefined; +}; + +/** + * add + */ +export type CreateOrTransferDomainRequestBody1 = { + /** + * The domain name you want to add. + */ + name: string; + /** + * Whether the domain has the Vercel Edge Network enabled or not. + */ + cdnEnabled?: boolean | undefined; + zone?: boolean | undefined; + /** + * The domain operation to perform. It can be either `add` or `transfer-in`. + */ + method?: string | undefined; +}; + +export type CreateOrTransferDomainRequestBody = + | CreateOrTransferDomainRequestBody2 + | CreateOrTransferDomainRequestBody1 + | CreateOrTransferDomainRequestBody3; + +export type CreateOrTransferDomainRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: + | CreateOrTransferDomainRequestBody2 + | CreateOrTransferDomainRequestBody1 + | CreateOrTransferDomainRequestBody3; +}; + +/** + * An object containing information of the domain creator, including the user's id, username, and email. + */ +export type CreateOrTransferDomainCreator = { + username: string; + email: string; + customerId?: string | null | undefined; + isDomainReseller?: boolean | undefined; + id: string; +}; + +/** + * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. + */ +export const CreateOrTransferDomainServiceType = { + ZeitWorld: "zeit.world", + External: "external", + Na: "na", +} as const; +/** + * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. + */ +export type CreateOrTransferDomainServiceType = ClosedEnum< + typeof CreateOrTransferDomainServiceType +>; + +export type CreateOrTransferDomainDomain = { + /** + * If the domain has the ownership verified. + */ + verified: boolean; + /** + * A list of the current nameservers of the domain. + */ + nameservers: Array; + /** + * A list of the intended nameservers for the domain to point to Vercel DNS. + */ + intendedNameservers: Array; + /** + * A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel. + */ + customNameservers?: Array | undefined; + /** + * An object containing information of the domain creator, including the user's id, username, and email. + */ + creator: CreateOrTransferDomainCreator; + /** + * The domain name. + */ + name: string; + /** + * If it was purchased through Vercel, the timestamp in milliseconds when it was purchased. + */ + boughtAt: number | null; + /** + * Timestamp in milliseconds when the domain was created in the registry. + */ + createdAt: number; + /** + * Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel. + */ + expiresAt: number | null; + /** + * The unique identifier of the domain. + */ + id: string; + /** + * Timestamp in milliseconds at which the domain was ordered. + */ + orderedAt?: number | undefined; + /** + * Indicates whether the domain is set to automatically renew. + */ + renew?: boolean | undefined; + /** + * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. + */ + serviceType: CreateOrTransferDomainServiceType; + /** + * Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in. + */ + transferredAt?: number | null | undefined; + /** + * If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated. + */ + transferStartedAt?: number | undefined; + userId: string; + teamId: string | null; +}; + +export type CreateOrTransferDomainResponseBody = { + domain: CreateOrTransferDomainDomain; +}; + +/** @internal */ +export const CreateOrTransferDomainRequestBody3$inboundSchema: z.ZodType< + CreateOrTransferDomainRequestBody3, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + method: z.string(), + authCode: z.string().optional(), + expectedPrice: z.number().optional(), +}); + +/** @internal */ +export type CreateOrTransferDomainRequestBody3$Outbound = { + name: string; + method: string; + authCode?: string | undefined; + expectedPrice?: number | undefined; +}; + +/** @internal */ +export const CreateOrTransferDomainRequestBody3$outboundSchema: z.ZodType< + CreateOrTransferDomainRequestBody3$Outbound, + z.ZodTypeDef, + CreateOrTransferDomainRequestBody3 +> = z.object({ + name: z.string(), + method: z.string(), + authCode: z.string().optional(), + expectedPrice: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateOrTransferDomainRequestBody3$ { + /** @deprecated use `CreateOrTransferDomainRequestBody3$inboundSchema` instead. */ + export const inboundSchema = CreateOrTransferDomainRequestBody3$inboundSchema; + /** @deprecated use `CreateOrTransferDomainRequestBody3$outboundSchema` instead. */ + export const outboundSchema = + CreateOrTransferDomainRequestBody3$outboundSchema; + /** @deprecated use `CreateOrTransferDomainRequestBody3$Outbound` instead. */ + export type Outbound = CreateOrTransferDomainRequestBody3$Outbound; +} + +export function createOrTransferDomainRequestBody3ToJSON( + createOrTransferDomainRequestBody3: CreateOrTransferDomainRequestBody3, +): string { + return JSON.stringify( + CreateOrTransferDomainRequestBody3$outboundSchema.parse( + createOrTransferDomainRequestBody3, + ), + ); +} + +export function createOrTransferDomainRequestBody3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateOrTransferDomainRequestBody3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateOrTransferDomainRequestBody3' from JSON`, + ); +} + +/** @internal */ +export const CreateOrTransferDomainRequestBody2$inboundSchema: z.ZodType< + CreateOrTransferDomainRequestBody2, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + method: z.string(), + token: z.string().optional(), +}); + +/** @internal */ +export type CreateOrTransferDomainRequestBody2$Outbound = { + name: string; + method: string; + token?: string | undefined; +}; + +/** @internal */ +export const CreateOrTransferDomainRequestBody2$outboundSchema: z.ZodType< + CreateOrTransferDomainRequestBody2$Outbound, + z.ZodTypeDef, + CreateOrTransferDomainRequestBody2 +> = z.object({ + name: z.string(), + method: z.string(), + token: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateOrTransferDomainRequestBody2$ { + /** @deprecated use `CreateOrTransferDomainRequestBody2$inboundSchema` instead. */ + export const inboundSchema = CreateOrTransferDomainRequestBody2$inboundSchema; + /** @deprecated use `CreateOrTransferDomainRequestBody2$outboundSchema` instead. */ + export const outboundSchema = + CreateOrTransferDomainRequestBody2$outboundSchema; + /** @deprecated use `CreateOrTransferDomainRequestBody2$Outbound` instead. */ + export type Outbound = CreateOrTransferDomainRequestBody2$Outbound; +} + +export function createOrTransferDomainRequestBody2ToJSON( + createOrTransferDomainRequestBody2: CreateOrTransferDomainRequestBody2, +): string { + return JSON.stringify( + CreateOrTransferDomainRequestBody2$outboundSchema.parse( + createOrTransferDomainRequestBody2, + ), + ); +} + +export function createOrTransferDomainRequestBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateOrTransferDomainRequestBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateOrTransferDomainRequestBody2' from JSON`, + ); +} + +/** @internal */ +export const CreateOrTransferDomainRequestBody1$inboundSchema: z.ZodType< + CreateOrTransferDomainRequestBody1, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + cdnEnabled: z.boolean().optional(), + zone: z.boolean().optional(), + method: z.string().optional(), +}); + +/** @internal */ +export type CreateOrTransferDomainRequestBody1$Outbound = { + name: string; + cdnEnabled?: boolean | undefined; + zone?: boolean | undefined; + method?: string | undefined; +}; + +/** @internal */ +export const CreateOrTransferDomainRequestBody1$outboundSchema: z.ZodType< + CreateOrTransferDomainRequestBody1$Outbound, + z.ZodTypeDef, + CreateOrTransferDomainRequestBody1 +> = z.object({ + name: z.string(), + cdnEnabled: z.boolean().optional(), + zone: z.boolean().optional(), + method: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateOrTransferDomainRequestBody1$ { + /** @deprecated use `CreateOrTransferDomainRequestBody1$inboundSchema` instead. */ + export const inboundSchema = CreateOrTransferDomainRequestBody1$inboundSchema; + /** @deprecated use `CreateOrTransferDomainRequestBody1$outboundSchema` instead. */ + export const outboundSchema = + CreateOrTransferDomainRequestBody1$outboundSchema; + /** @deprecated use `CreateOrTransferDomainRequestBody1$Outbound` instead. */ + export type Outbound = CreateOrTransferDomainRequestBody1$Outbound; +} + +export function createOrTransferDomainRequestBody1ToJSON( + createOrTransferDomainRequestBody1: CreateOrTransferDomainRequestBody1, +): string { + return JSON.stringify( + CreateOrTransferDomainRequestBody1$outboundSchema.parse( + createOrTransferDomainRequestBody1, + ), + ); +} + +export function createOrTransferDomainRequestBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateOrTransferDomainRequestBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateOrTransferDomainRequestBody1' from JSON`, + ); +} + +/** @internal */ +export const CreateOrTransferDomainRequestBody$inboundSchema: z.ZodType< + CreateOrTransferDomainRequestBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateOrTransferDomainRequestBody2$inboundSchema), + z.lazy(() => CreateOrTransferDomainRequestBody1$inboundSchema), + z.lazy(() => CreateOrTransferDomainRequestBody3$inboundSchema), +]); + +/** @internal */ +export type CreateOrTransferDomainRequestBody$Outbound = + | CreateOrTransferDomainRequestBody2$Outbound + | CreateOrTransferDomainRequestBody1$Outbound + | CreateOrTransferDomainRequestBody3$Outbound; + +/** @internal */ +export const CreateOrTransferDomainRequestBody$outboundSchema: z.ZodType< + CreateOrTransferDomainRequestBody$Outbound, + z.ZodTypeDef, + CreateOrTransferDomainRequestBody +> = z.union([ + z.lazy(() => CreateOrTransferDomainRequestBody2$outboundSchema), + z.lazy(() => CreateOrTransferDomainRequestBody1$outboundSchema), + z.lazy(() => CreateOrTransferDomainRequestBody3$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateOrTransferDomainRequestBody$ { + /** @deprecated use `CreateOrTransferDomainRequestBody$inboundSchema` instead. */ + export const inboundSchema = CreateOrTransferDomainRequestBody$inboundSchema; + /** @deprecated use `CreateOrTransferDomainRequestBody$outboundSchema` instead. */ + export const outboundSchema = + CreateOrTransferDomainRequestBody$outboundSchema; + /** @deprecated use `CreateOrTransferDomainRequestBody$Outbound` instead. */ + export type Outbound = CreateOrTransferDomainRequestBody$Outbound; +} + +export function createOrTransferDomainRequestBodyToJSON( + createOrTransferDomainRequestBody: CreateOrTransferDomainRequestBody, +): string { + return JSON.stringify( + CreateOrTransferDomainRequestBody$outboundSchema.parse( + createOrTransferDomainRequestBody, + ), + ); +} + +export function createOrTransferDomainRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateOrTransferDomainRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateOrTransferDomainRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateOrTransferDomainRequest$inboundSchema: z.ZodType< + CreateOrTransferDomainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.union([ + z.lazy(() => CreateOrTransferDomainRequestBody2$inboundSchema), + z.lazy(() => CreateOrTransferDomainRequestBody1$inboundSchema), + z.lazy(() => CreateOrTransferDomainRequestBody3$inboundSchema), + ]), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type CreateOrTransferDomainRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: + | CreateOrTransferDomainRequestBody2$Outbound + | CreateOrTransferDomainRequestBody1$Outbound + | CreateOrTransferDomainRequestBody3$Outbound; +}; + +/** @internal */ +export const CreateOrTransferDomainRequest$outboundSchema: z.ZodType< + CreateOrTransferDomainRequest$Outbound, + z.ZodTypeDef, + CreateOrTransferDomainRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.union([ + z.lazy(() => CreateOrTransferDomainRequestBody2$outboundSchema), + z.lazy(() => CreateOrTransferDomainRequestBody1$outboundSchema), + z.lazy(() => CreateOrTransferDomainRequestBody3$outboundSchema), + ]), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateOrTransferDomainRequest$ { + /** @deprecated use `CreateOrTransferDomainRequest$inboundSchema` instead. */ + export const inboundSchema = CreateOrTransferDomainRequest$inboundSchema; + /** @deprecated use `CreateOrTransferDomainRequest$outboundSchema` instead. */ + export const outboundSchema = CreateOrTransferDomainRequest$outboundSchema; + /** @deprecated use `CreateOrTransferDomainRequest$Outbound` instead. */ + export type Outbound = CreateOrTransferDomainRequest$Outbound; +} + +export function createOrTransferDomainRequestToJSON( + createOrTransferDomainRequest: CreateOrTransferDomainRequest, +): string { + return JSON.stringify( + CreateOrTransferDomainRequest$outboundSchema.parse( + createOrTransferDomainRequest, + ), + ); +} + +export function createOrTransferDomainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateOrTransferDomainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateOrTransferDomainRequest' from JSON`, + ); +} + +/** @internal */ +export const CreateOrTransferDomainCreator$inboundSchema: z.ZodType< + CreateOrTransferDomainCreator, + z.ZodTypeDef, + unknown +> = z.object({ + username: z.string(), + email: z.string(), + customerId: z.nullable(z.string()).optional(), + isDomainReseller: z.boolean().optional(), + id: z.string(), +}); + +/** @internal */ +export type CreateOrTransferDomainCreator$Outbound = { + username: string; + email: string; + customerId?: string | null | undefined; + isDomainReseller?: boolean | undefined; + id: string; +}; + +/** @internal */ +export const CreateOrTransferDomainCreator$outboundSchema: z.ZodType< + CreateOrTransferDomainCreator$Outbound, + z.ZodTypeDef, + CreateOrTransferDomainCreator +> = z.object({ + username: z.string(), + email: z.string(), + customerId: z.nullable(z.string()).optional(), + isDomainReseller: z.boolean().optional(), + id: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateOrTransferDomainCreator$ { + /** @deprecated use `CreateOrTransferDomainCreator$inboundSchema` instead. */ + export const inboundSchema = CreateOrTransferDomainCreator$inboundSchema; + /** @deprecated use `CreateOrTransferDomainCreator$outboundSchema` instead. */ + export const outboundSchema = CreateOrTransferDomainCreator$outboundSchema; + /** @deprecated use `CreateOrTransferDomainCreator$Outbound` instead. */ + export type Outbound = CreateOrTransferDomainCreator$Outbound; +} + +export function createOrTransferDomainCreatorToJSON( + createOrTransferDomainCreator: CreateOrTransferDomainCreator, +): string { + return JSON.stringify( + CreateOrTransferDomainCreator$outboundSchema.parse( + createOrTransferDomainCreator, + ), + ); +} + +export function createOrTransferDomainCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateOrTransferDomainCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateOrTransferDomainCreator' from JSON`, + ); +} + +/** @internal */ +export const CreateOrTransferDomainServiceType$inboundSchema: z.ZodNativeEnum< + typeof CreateOrTransferDomainServiceType +> = z.nativeEnum(CreateOrTransferDomainServiceType); + +/** @internal */ +export const CreateOrTransferDomainServiceType$outboundSchema: z.ZodNativeEnum< + typeof CreateOrTransferDomainServiceType +> = CreateOrTransferDomainServiceType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateOrTransferDomainServiceType$ { + /** @deprecated use `CreateOrTransferDomainServiceType$inboundSchema` instead. */ + export const inboundSchema = CreateOrTransferDomainServiceType$inboundSchema; + /** @deprecated use `CreateOrTransferDomainServiceType$outboundSchema` instead. */ + export const outboundSchema = + CreateOrTransferDomainServiceType$outboundSchema; +} + +/** @internal */ +export const CreateOrTransferDomainDomain$inboundSchema: z.ZodType< + CreateOrTransferDomainDomain, + z.ZodTypeDef, + unknown +> = z.object({ + verified: z.boolean(), + nameservers: z.array(z.string()), + intendedNameservers: z.array(z.string()), + customNameservers: z.array(z.string()).optional(), + creator: z.lazy(() => CreateOrTransferDomainCreator$inboundSchema), + name: z.string(), + boughtAt: z.nullable(z.number()), + createdAt: z.number(), + expiresAt: z.nullable(z.number()), + id: z.string(), + orderedAt: z.number().optional(), + renew: z.boolean().optional(), + serviceType: CreateOrTransferDomainServiceType$inboundSchema, + transferredAt: z.nullable(z.number()).optional(), + transferStartedAt: z.number().optional(), + userId: z.string(), + teamId: z.nullable(z.string()), +}); + +/** @internal */ +export type CreateOrTransferDomainDomain$Outbound = { + verified: boolean; + nameservers: Array; + intendedNameservers: Array; + customNameservers?: Array | undefined; + creator: CreateOrTransferDomainCreator$Outbound; + name: string; + boughtAt: number | null; + createdAt: number; + expiresAt: number | null; + id: string; + orderedAt?: number | undefined; + renew?: boolean | undefined; + serviceType: string; + transferredAt?: number | null | undefined; + transferStartedAt?: number | undefined; + userId: string; + teamId: string | null; +}; + +/** @internal */ +export const CreateOrTransferDomainDomain$outboundSchema: z.ZodType< + CreateOrTransferDomainDomain$Outbound, + z.ZodTypeDef, + CreateOrTransferDomainDomain +> = z.object({ + verified: z.boolean(), + nameservers: z.array(z.string()), + intendedNameservers: z.array(z.string()), + customNameservers: z.array(z.string()).optional(), + creator: z.lazy(() => CreateOrTransferDomainCreator$outboundSchema), + name: z.string(), + boughtAt: z.nullable(z.number()), + createdAt: z.number(), + expiresAt: z.nullable(z.number()), + id: z.string(), + orderedAt: z.number().optional(), + renew: z.boolean().optional(), + serviceType: CreateOrTransferDomainServiceType$outboundSchema, + transferredAt: z.nullable(z.number()).optional(), + transferStartedAt: z.number().optional(), + userId: z.string(), + teamId: z.nullable(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateOrTransferDomainDomain$ { + /** @deprecated use `CreateOrTransferDomainDomain$inboundSchema` instead. */ + export const inboundSchema = CreateOrTransferDomainDomain$inboundSchema; + /** @deprecated use `CreateOrTransferDomainDomain$outboundSchema` instead. */ + export const outboundSchema = CreateOrTransferDomainDomain$outboundSchema; + /** @deprecated use `CreateOrTransferDomainDomain$Outbound` instead. */ + export type Outbound = CreateOrTransferDomainDomain$Outbound; +} + +export function createOrTransferDomainDomainToJSON( + createOrTransferDomainDomain: CreateOrTransferDomainDomain, +): string { + return JSON.stringify( + CreateOrTransferDomainDomain$outboundSchema.parse( + createOrTransferDomainDomain, + ), + ); +} + +export function createOrTransferDomainDomainFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateOrTransferDomainDomain$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateOrTransferDomainDomain' from JSON`, + ); +} + +/** @internal */ +export const CreateOrTransferDomainResponseBody$inboundSchema: z.ZodType< + CreateOrTransferDomainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.lazy(() => CreateOrTransferDomainDomain$inboundSchema), +}); + +/** @internal */ +export type CreateOrTransferDomainResponseBody$Outbound = { + domain: CreateOrTransferDomainDomain$Outbound; +}; + +/** @internal */ +export const CreateOrTransferDomainResponseBody$outboundSchema: z.ZodType< + CreateOrTransferDomainResponseBody$Outbound, + z.ZodTypeDef, + CreateOrTransferDomainResponseBody +> = z.object({ + domain: z.lazy(() => CreateOrTransferDomainDomain$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateOrTransferDomainResponseBody$ { + /** @deprecated use `CreateOrTransferDomainResponseBody$inboundSchema` instead. */ + export const inboundSchema = CreateOrTransferDomainResponseBody$inboundSchema; + /** @deprecated use `CreateOrTransferDomainResponseBody$outboundSchema` instead. */ + export const outboundSchema = + CreateOrTransferDomainResponseBody$outboundSchema; + /** @deprecated use `CreateOrTransferDomainResponseBody$Outbound` instead. */ + export type Outbound = CreateOrTransferDomainResponseBody$Outbound; +} + +export function createOrTransferDomainResponseBodyToJSON( + createOrTransferDomainResponseBody: CreateOrTransferDomainResponseBody, +): string { + return JSON.stringify( + CreateOrTransferDomainResponseBody$outboundSchema.parse( + createOrTransferDomainResponseBody, + ), + ); +} + +export function createOrTransferDomainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateOrTransferDomainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateOrTransferDomainResponseBody' from JSON`, + ); +} diff --git a/src/models/createprojectenvop.ts b/src/models/createprojectenvop.ts new file mode 100644 index 00000000..02199e05 --- /dev/null +++ b/src/models/createprojectenvop.ts @@ -0,0 +1,5723 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * The type of environment variable + */ +export const CreateProjectEnv2Type = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +/** + * The type of environment variable + */ +export type CreateProjectEnv2Type = ClosedEnum; + +export const CreateProjectEnv2Target = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type CreateProjectEnv2Target = ClosedEnum< + typeof CreateProjectEnv2Target +>; + +export type Two2 = { + /** + * The name of the environment variable + */ + key: string; + /** + * The value of the environment variable + */ + value: string; + /** + * The type of environment variable + */ + type: CreateProjectEnv2Type; + /** + * The target environment of the environment variable + */ + target?: Array | undefined; + /** + * If defined, the git branch of the environment variable (must have target=preview) + */ + gitBranch?: string | null | undefined; + /** + * A comment to add context on what this environment variable is for + */ + comment?: string | undefined; +}; + +/** + * The type of environment variable + */ +export const TwoType = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +/** + * The type of environment variable + */ +export type TwoType = ClosedEnum; + +export const TwoTarget = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type TwoTarget = ClosedEnum; + +export type Two1 = { + /** + * The name of the environment variable + */ + key: string; + /** + * The value of the environment variable + */ + value: string; + /** + * The type of environment variable + */ + type: TwoType; + /** + * The target environment of the environment variable + */ + target: Array; + /** + * If defined, the git branch of the environment variable (must have target=preview) + */ + gitBranch?: string | null | undefined; + /** + * A comment to add context on what this environment variable is for + */ + comment?: string | undefined; +}; + +export type CreateProjectEnvRequestBody2 = Two1 | Two2; + +/** + * The type of environment variable + */ +export const CreateProjectEnv1Type = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +/** + * The type of environment variable + */ +export type CreateProjectEnv1Type = ClosedEnum; + +export const CreateProjectEnv1Target = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type CreateProjectEnv1Target = ClosedEnum< + typeof CreateProjectEnv1Target +>; + +export type CreateProjectEnv12 = { + /** + * The name of the environment variable + */ + key: string; + /** + * The value of the environment variable + */ + value: string; + /** + * The type of environment variable + */ + type: CreateProjectEnv1Type; + /** + * The target environment of the environment variable + */ + target?: Array | undefined; + /** + * If defined, the git branch of the environment variable (must have target=preview) + */ + gitBranch?: string | null | undefined; + /** + * A comment to add context on what this environment variable is for + */ + comment?: string | undefined; +}; + +/** + * The type of environment variable + */ +export const OneType = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +/** + * The type of environment variable + */ +export type OneType = ClosedEnum; + +export const OneTarget = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type OneTarget = ClosedEnum; + +export type CreateProjectEnv11 = { + /** + * The name of the environment variable + */ + key: string; + /** + * The value of the environment variable + */ + value: string; + /** + * The type of environment variable + */ + type: OneType; + /** + * The target environment of the environment variable + */ + target: Array; + /** + * If defined, the git branch of the environment variable (must have target=preview) + */ + gitBranch?: string | null | undefined; + /** + * A comment to add context on what this environment variable is for + */ + comment?: string | undefined; +}; + +export type CreateProjectEnvRequestBody1 = + | CreateProjectEnv11 + | CreateProjectEnv12; + +export type CreateProjectEnvRequestBody = + | CreateProjectEnv11 + | CreateProjectEnv12 + | Array; + +export type CreateProjectEnvRequest = { + /** + * The unique project identifier or the project name + */ + idOrName: string; + /** + * Allow override of environment variable if it already exists + */ + upsert?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: CreateProjectEnv11 | CreateProjectEnv12 | Array; +}; + +export const CreateProjectEnvTargetProjects2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type CreateProjectEnvTargetProjects2 = ClosedEnum< + typeof CreateProjectEnvTargetProjects2 +>; + +export type CreateProjectEnvCreatedTarget = + | Array + | CreateProjectEnvTargetProjects2; + +export const CreateProjectEnvCreatedType = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +export type CreateProjectEnvCreatedType = ClosedEnum< + typeof CreateProjectEnvCreatedType +>; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type = + { + FlagsConnectionString: "flags-connection-string", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type + >; + +export type CreateProjectEnvContentHintProjects15 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type; + projectId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type = + { + IntegrationStoreSecret: "integration-store-secret", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type + >; + +export type CreateProjectEnvContentHintProjects14 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type = + { + PostgresUrlNoSsl: "postgres-url-no-ssl", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type + >; + +export type CreateProjectEnvContentHintProjects13 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type = + { + PostgresDatabase: "postgres-database", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type + >; + +export type CreateProjectEnvContentHintProjects12 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type = + { + PostgresPassword: "postgres-password", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type + >; + +export type CreateProjectEnvContentHintProjects11 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type = + { + PostgresHost: "postgres-host", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type + >; + +export type CreateProjectEnvContentHintProjects10 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type = + { + PostgresUser: "postgres-user", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type + >; + +export type CreateProjectEnvContentHintProjects9 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type = + { + PostgresPrismaUrl: "postgres-prisma-url", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type + >; + +export type CreateProjectEnvContentHintProjects8 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type = + { + PostgresUrlNonPooling: "postgres-url-non-pooling", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type + >; + +export type CreateProjectEnvContentHintProjects7 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type = + { + PostgresUrl: "postgres-url", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type + >; + +export type CreateProjectEnvContentHintProjects6 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type = + { + BlobReadWriteToken: "blob-read-write-token", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type + >; + +export type CreateProjectEnvContentHintProjects5 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type = + { + RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type + >; + +export type CreateProjectEnvContentHintProjects4 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type = + { + RedisRestApiToken: "redis-rest-api-token", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type + >; + +export type CreateProjectEnvContentHintProjects3 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type = + { + RedisRestApiUrl: "redis-rest-api-url", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type + >; + +export type CreateProjectEnvContentHintProjects2 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type = + { + RedisUrl: "redis-url", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type + >; + +export type CreateProjectEnvContentHintProjects1 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type; + storeId: string; +}; + +export type CreateProjectEnvCreatedContentHint = + | CreateProjectEnvContentHintProjects1 + | CreateProjectEnvContentHintProjects2 + | CreateProjectEnvContentHintProjects3 + | CreateProjectEnvContentHintProjects4 + | CreateProjectEnvContentHintProjects5 + | CreateProjectEnvContentHintProjects6 + | CreateProjectEnvContentHintProjects7 + | CreateProjectEnvContentHintProjects8 + | CreateProjectEnvContentHintProjects9 + | CreateProjectEnvContentHintProjects10 + | CreateProjectEnvContentHintProjects11 + | CreateProjectEnvContentHintProjects12 + | CreateProjectEnvContentHintProjects13 + | CreateProjectEnvContentHintProjects15 + | CreateProjectEnvContentHintProjects14; + +export const CreateProjectEnvCreatedProjectsResponseType = { + FlagsSecret: "flags-secret", +} as const; +export type CreateProjectEnvCreatedProjectsResponseType = ClosedEnum< + typeof CreateProjectEnvCreatedProjectsResponseType +>; + +/** + * Similar to `contentHints`, but should not be exposed to the user. + */ +export type CreateProjectEnvCreatedInternalContentHint = { + type: CreateProjectEnvCreatedProjectsResponseType; + /** + * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. + */ + encryptedValue: string; +}; + +export type Created2 = { + target?: Array | CreateProjectEnvTargetProjects2 | undefined; + type?: CreateProjectEnvCreatedType | undefined; + /** + * This is used to identiy variables that have been migrated from type secret to sensitive. + */ + sunsetSecretId?: string | undefined; + id?: string | undefined; + key?: string | undefined; + value?: string | undefined; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | CreateProjectEnvContentHintProjects1 + | CreateProjectEnvContentHintProjects2 + | CreateProjectEnvContentHintProjects3 + | CreateProjectEnvContentHintProjects4 + | CreateProjectEnvContentHintProjects5 + | CreateProjectEnvContentHintProjects6 + | CreateProjectEnvContentHintProjects7 + | CreateProjectEnvContentHintProjects8 + | CreateProjectEnvContentHintProjects9 + | CreateProjectEnvContentHintProjects10 + | CreateProjectEnvContentHintProjects11 + | CreateProjectEnvContentHintProjects12 + | CreateProjectEnvContentHintProjects13 + | CreateProjectEnvContentHintProjects15 + | CreateProjectEnvContentHintProjects14 + | null + | undefined; + /** + * Similar to `contentHints`, but should not be exposed to the user. + */ + internalContentHint?: + | CreateProjectEnvCreatedInternalContentHint + | null + | undefined; + /** + * Whether `value` and `vsmValue` are decrypted. + */ + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; + system?: boolean | undefined; +}; + +export const CreateProjectEnvTarget2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type CreateProjectEnvTarget2 = ClosedEnum< + typeof CreateProjectEnvTarget2 +>; + +export const CreateProjectEnvTarget1 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type CreateProjectEnvTarget1 = ClosedEnum< + typeof CreateProjectEnvTarget1 +>; + +export type CreatedTarget = + | Array + | CreateProjectEnvTarget2; + +export const CreatedType = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +export type CreatedType = ClosedEnum; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type = + { + FlagsConnectionString: "flags-connection-string", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type + >; + +export type CreateProjectEnvContentHint15 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type; + projectId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type = + { + IntegrationStoreSecret: "integration-store-secret", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type + >; + +export type CreateProjectEnvContentHint14 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type = + { + PostgresUrlNoSsl: "postgres-url-no-ssl", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type + >; + +export type CreateProjectEnvContentHint13 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type = + { + PostgresDatabase: "postgres-database", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type + >; + +export type CreateProjectEnvContentHint12 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type = + { + PostgresPassword: "postgres-password", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type + >; + +export type CreateProjectEnvContentHint11 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type = + { + PostgresHost: "postgres-host", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type + >; + +export type CreateProjectEnvContentHint10 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type = + { + PostgresUser: "postgres-user", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type + >; + +export type CreateProjectEnvContentHint9 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type = + { + PostgresPrismaUrl: "postgres-prisma-url", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type + >; + +export type CreateProjectEnvContentHint8 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType = + { + PostgresUrlNonPooling: "postgres-url-non-pooling", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType + >; + +export type CreateProjectEnvContentHint7 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType = + { + PostgresUrl: "postgres-url", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType + >; + +export type CreateProjectEnvContentHint6 = { + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType = + { + BlobReadWriteToken: "blob-read-write-token", + } as const; +export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType = + ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType + >; + +export type CreateProjectEnvContentHint5 = { + type: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponse201Type = { + RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", +} as const; +export type CreateProjectEnvContentHintProjectsResponse201Type = ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponse201Type +>; + +export type CreateProjectEnvContentHint4 = { + type: CreateProjectEnvContentHintProjectsResponse201Type; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsResponseType = { + RedisRestApiToken: "redis-rest-api-token", +} as const; +export type CreateProjectEnvContentHintProjectsResponseType = ClosedEnum< + typeof CreateProjectEnvContentHintProjectsResponseType +>; + +export type CreateProjectEnvContentHint3 = { + type: CreateProjectEnvContentHintProjectsResponseType; + storeId: string; +}; + +export const CreateProjectEnvContentHintProjectsType = { + RedisRestApiUrl: "redis-rest-api-url", +} as const; +export type CreateProjectEnvContentHintProjectsType = ClosedEnum< + typeof CreateProjectEnvContentHintProjectsType +>; + +export type CreateProjectEnvContentHint2 = { + type: CreateProjectEnvContentHintProjectsType; + storeId: string; +}; + +export const CreateProjectEnvContentHintType = { + RedisUrl: "redis-url", +} as const; +export type CreateProjectEnvContentHintType = ClosedEnum< + typeof CreateProjectEnvContentHintType +>; + +export type CreateProjectEnvContentHint1 = { + type: CreateProjectEnvContentHintType; + storeId: string; +}; + +export type CreatedContentHint = + | CreateProjectEnvContentHint1 + | CreateProjectEnvContentHint2 + | CreateProjectEnvContentHint3 + | CreateProjectEnvContentHint4 + | CreateProjectEnvContentHint5 + | CreateProjectEnvContentHint6 + | CreateProjectEnvContentHint7 + | CreateProjectEnvContentHint8 + | CreateProjectEnvContentHint9 + | CreateProjectEnvContentHint10 + | CreateProjectEnvContentHint11 + | CreateProjectEnvContentHint12 + | CreateProjectEnvContentHint13 + | CreateProjectEnvContentHint15 + | CreateProjectEnvContentHint14; + +export const CreateProjectEnvCreatedProjectsType = { + FlagsSecret: "flags-secret", +} as const; +export type CreateProjectEnvCreatedProjectsType = ClosedEnum< + typeof CreateProjectEnvCreatedProjectsType +>; + +/** + * Similar to `contentHints`, but should not be exposed to the user. + */ +export type CreatedInternalContentHint = { + type: CreateProjectEnvCreatedProjectsType; + /** + * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. + */ + encryptedValue: string; +}; + +export type Created1 = { + target?: Array | CreateProjectEnvTarget2 | undefined; + type?: CreatedType | undefined; + /** + * This is used to identiy variables that have been migrated from type secret to sensitive. + */ + sunsetSecretId?: string | undefined; + id?: string | undefined; + key?: string | undefined; + value?: string | undefined; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | CreateProjectEnvContentHint1 + | CreateProjectEnvContentHint2 + | CreateProjectEnvContentHint3 + | CreateProjectEnvContentHint4 + | CreateProjectEnvContentHint5 + | CreateProjectEnvContentHint6 + | CreateProjectEnvContentHint7 + | CreateProjectEnvContentHint8 + | CreateProjectEnvContentHint9 + | CreateProjectEnvContentHint10 + | CreateProjectEnvContentHint11 + | CreateProjectEnvContentHint12 + | CreateProjectEnvContentHint13 + | CreateProjectEnvContentHint15 + | CreateProjectEnvContentHint14 + | null + | undefined; + /** + * Similar to `contentHints`, but should not be exposed to the user. + */ + internalContentHint?: CreatedInternalContentHint | null | undefined; + /** + * Whether `value` and `vsmValue` are decrypted. + */ + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; + system?: boolean | undefined; +}; + +export type Created = Created1 | Array; + +export const CreateProjectEnvValue2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type CreateProjectEnvValue2 = ClosedEnum; + +export type CreateProjectEnvValue = string | Array; + +export const CreateProjectEnvTargetProjectsResponse2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type CreateProjectEnvTargetProjectsResponse2 = ClosedEnum< + typeof CreateProjectEnvTargetProjectsResponse2 +>; + +export const CreateProjectEnvTargetProjects1 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type CreateProjectEnvTargetProjects1 = ClosedEnum< + typeof CreateProjectEnvTargetProjects1 +>; + +export type CreateProjectEnvTarget = + | Array + | CreateProjectEnvTargetProjectsResponse2; + +export type CreateProjectEnvError = { + code: string; + message: string; + key?: string | undefined; + envVarId?: string | undefined; + envVarKey?: string | undefined; + action?: string | undefined; + link?: string | undefined; + value?: string | Array | undefined; + gitBranch?: string | undefined; + target?: + | Array + | CreateProjectEnvTargetProjectsResponse2 + | undefined; + project?: string | undefined; +}; + +export type Failed = { + error: CreateProjectEnvError; +}; + +/** + * The environment variable was created successfully + */ +export type CreateProjectEnvResponseBody = { + created: Created1 | Array; + failed: Array; +}; + +/** @internal */ +export const CreateProjectEnv2Type$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnv2Type +> = z.nativeEnum(CreateProjectEnv2Type); + +/** @internal */ +export const CreateProjectEnv2Type$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnv2Type +> = CreateProjectEnv2Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnv2Type$ { + /** @deprecated use `CreateProjectEnv2Type$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnv2Type$inboundSchema; + /** @deprecated use `CreateProjectEnv2Type$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnv2Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnv2Target$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnv2Target +> = z.nativeEnum(CreateProjectEnv2Target); + +/** @internal */ +export const CreateProjectEnv2Target$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnv2Target +> = CreateProjectEnv2Target$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnv2Target$ { + /** @deprecated use `CreateProjectEnv2Target$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnv2Target$inboundSchema; + /** @deprecated use `CreateProjectEnv2Target$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnv2Target$outboundSchema; +} + +/** @internal */ +export const Two2$inboundSchema: z.ZodType = z + .object({ + key: z.string(), + value: z.string(), + type: CreateProjectEnv2Type$inboundSchema, + target: z.array(CreateProjectEnv2Target$inboundSchema).optional(), + gitBranch: z.nullable(z.string()).optional(), + comment: z.string().optional(), + }); + +/** @internal */ +export type Two2$Outbound = { + key: string; + value: string; + type: string; + target?: Array | undefined; + gitBranch?: string | null | undefined; + comment?: string | undefined; +}; + +/** @internal */ +export const Two2$outboundSchema: z.ZodType = + z.object({ + key: z.string(), + value: z.string(), + type: CreateProjectEnv2Type$outboundSchema, + target: z.array(CreateProjectEnv2Target$outboundSchema).optional(), + gitBranch: z.nullable(z.string()).optional(), + comment: z.string().optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Two2$ { + /** @deprecated use `Two2$inboundSchema` instead. */ + export const inboundSchema = Two2$inboundSchema; + /** @deprecated use `Two2$outboundSchema` instead. */ + export const outboundSchema = Two2$outboundSchema; + /** @deprecated use `Two2$Outbound` instead. */ + export type Outbound = Two2$Outbound; +} + +export function two2ToJSON(two2: Two2): string { + return JSON.stringify(Two2$outboundSchema.parse(two2)); +} + +export function two2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Two2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Two2' from JSON`, + ); +} + +/** @internal */ +export const TwoType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(TwoType); + +/** @internal */ +export const TwoType$outboundSchema: z.ZodNativeEnum = + TwoType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TwoType$ { + /** @deprecated use `TwoType$inboundSchema` instead. */ + export const inboundSchema = TwoType$inboundSchema; + /** @deprecated use `TwoType$outboundSchema` instead. */ + export const outboundSchema = TwoType$outboundSchema; +} + +/** @internal */ +export const TwoTarget$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(TwoTarget); + +/** @internal */ +export const TwoTarget$outboundSchema: z.ZodNativeEnum = + TwoTarget$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TwoTarget$ { + /** @deprecated use `TwoTarget$inboundSchema` instead. */ + export const inboundSchema = TwoTarget$inboundSchema; + /** @deprecated use `TwoTarget$outboundSchema` instead. */ + export const outboundSchema = TwoTarget$outboundSchema; +} + +/** @internal */ +export const Two1$inboundSchema: z.ZodType = z + .object({ + key: z.string(), + value: z.string(), + type: TwoType$inboundSchema, + target: z.array(TwoTarget$inboundSchema), + gitBranch: z.nullable(z.string()).optional(), + comment: z.string().optional(), + }); + +/** @internal */ +export type Two1$Outbound = { + key: string; + value: string; + type: string; + target: Array; + gitBranch?: string | null | undefined; + comment?: string | undefined; +}; + +/** @internal */ +export const Two1$outboundSchema: z.ZodType = + z.object({ + key: z.string(), + value: z.string(), + type: TwoType$outboundSchema, + target: z.array(TwoTarget$outboundSchema), + gitBranch: z.nullable(z.string()).optional(), + comment: z.string().optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Two1$ { + /** @deprecated use `Two1$inboundSchema` instead. */ + export const inboundSchema = Two1$inboundSchema; + /** @deprecated use `Two1$outboundSchema` instead. */ + export const outboundSchema = Two1$outboundSchema; + /** @deprecated use `Two1$Outbound` instead. */ + export type Outbound = Two1$Outbound; +} + +export function two1ToJSON(two1: Two1): string { + return JSON.stringify(Two1$outboundSchema.parse(two1)); +} + +export function two1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Two1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Two1' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvRequestBody2$inboundSchema: z.ZodType< + CreateProjectEnvRequestBody2, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => Two1$inboundSchema), + z.lazy(() => Two2$inboundSchema), +]); + +/** @internal */ +export type CreateProjectEnvRequestBody2$Outbound = + | Two1$Outbound + | Two2$Outbound; + +/** @internal */ +export const CreateProjectEnvRequestBody2$outboundSchema: z.ZodType< + CreateProjectEnvRequestBody2$Outbound, + z.ZodTypeDef, + CreateProjectEnvRequestBody2 +> = z.union([ + z.lazy(() => Two1$outboundSchema), + z.lazy(() => Two2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvRequestBody2$ { + /** @deprecated use `CreateProjectEnvRequestBody2$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvRequestBody2$inboundSchema; + /** @deprecated use `CreateProjectEnvRequestBody2$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvRequestBody2$outboundSchema; + /** @deprecated use `CreateProjectEnvRequestBody2$Outbound` instead. */ + export type Outbound = CreateProjectEnvRequestBody2$Outbound; +} + +export function createProjectEnvRequestBody2ToJSON( + createProjectEnvRequestBody2: CreateProjectEnvRequestBody2, +): string { + return JSON.stringify( + CreateProjectEnvRequestBody2$outboundSchema.parse( + createProjectEnvRequestBody2, + ), + ); +} + +export function createProjectEnvRequestBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvRequestBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvRequestBody2' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnv1Type$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnv1Type +> = z.nativeEnum(CreateProjectEnv1Type); + +/** @internal */ +export const CreateProjectEnv1Type$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnv1Type +> = CreateProjectEnv1Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnv1Type$ { + /** @deprecated use `CreateProjectEnv1Type$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnv1Type$inboundSchema; + /** @deprecated use `CreateProjectEnv1Type$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnv1Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnv1Target$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnv1Target +> = z.nativeEnum(CreateProjectEnv1Target); + +/** @internal */ +export const CreateProjectEnv1Target$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnv1Target +> = CreateProjectEnv1Target$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnv1Target$ { + /** @deprecated use `CreateProjectEnv1Target$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnv1Target$inboundSchema; + /** @deprecated use `CreateProjectEnv1Target$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnv1Target$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnv12$inboundSchema: z.ZodType< + CreateProjectEnv12, + z.ZodTypeDef, + unknown +> = z.object({ + key: z.string(), + value: z.string(), + type: CreateProjectEnv1Type$inboundSchema, + target: z.array(CreateProjectEnv1Target$inboundSchema).optional(), + gitBranch: z.nullable(z.string()).optional(), + comment: z.string().optional(), +}); + +/** @internal */ +export type CreateProjectEnv12$Outbound = { + key: string; + value: string; + type: string; + target?: Array | undefined; + gitBranch?: string | null | undefined; + comment?: string | undefined; +}; + +/** @internal */ +export const CreateProjectEnv12$outboundSchema: z.ZodType< + CreateProjectEnv12$Outbound, + z.ZodTypeDef, + CreateProjectEnv12 +> = z.object({ + key: z.string(), + value: z.string(), + type: CreateProjectEnv1Type$outboundSchema, + target: z.array(CreateProjectEnv1Target$outboundSchema).optional(), + gitBranch: z.nullable(z.string()).optional(), + comment: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnv12$ { + /** @deprecated use `CreateProjectEnv12$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnv12$inboundSchema; + /** @deprecated use `CreateProjectEnv12$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnv12$outboundSchema; + /** @deprecated use `CreateProjectEnv12$Outbound` instead. */ + export type Outbound = CreateProjectEnv12$Outbound; +} + +export function createProjectEnv12ToJSON( + createProjectEnv12: CreateProjectEnv12, +): string { + return JSON.stringify( + CreateProjectEnv12$outboundSchema.parse(createProjectEnv12), + ); +} + +export function createProjectEnv12FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnv12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnv12' from JSON`, + ); +} + +/** @internal */ +export const OneType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(OneType); + +/** @internal */ +export const OneType$outboundSchema: z.ZodNativeEnum = + OneType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace OneType$ { + /** @deprecated use `OneType$inboundSchema` instead. */ + export const inboundSchema = OneType$inboundSchema; + /** @deprecated use `OneType$outboundSchema` instead. */ + export const outboundSchema = OneType$outboundSchema; +} + +/** @internal */ +export const OneTarget$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(OneTarget); + +/** @internal */ +export const OneTarget$outboundSchema: z.ZodNativeEnum = + OneTarget$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace OneTarget$ { + /** @deprecated use `OneTarget$inboundSchema` instead. */ + export const inboundSchema = OneTarget$inboundSchema; + /** @deprecated use `OneTarget$outboundSchema` instead. */ + export const outboundSchema = OneTarget$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnv11$inboundSchema: z.ZodType< + CreateProjectEnv11, + z.ZodTypeDef, + unknown +> = z.object({ + key: z.string(), + value: z.string(), + type: OneType$inboundSchema, + target: z.array(OneTarget$inboundSchema), + gitBranch: z.nullable(z.string()).optional(), + comment: z.string().optional(), +}); + +/** @internal */ +export type CreateProjectEnv11$Outbound = { + key: string; + value: string; + type: string; + target: Array; + gitBranch?: string | null | undefined; + comment?: string | undefined; +}; + +/** @internal */ +export const CreateProjectEnv11$outboundSchema: z.ZodType< + CreateProjectEnv11$Outbound, + z.ZodTypeDef, + CreateProjectEnv11 +> = z.object({ + key: z.string(), + value: z.string(), + type: OneType$outboundSchema, + target: z.array(OneTarget$outboundSchema), + gitBranch: z.nullable(z.string()).optional(), + comment: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnv11$ { + /** @deprecated use `CreateProjectEnv11$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnv11$inboundSchema; + /** @deprecated use `CreateProjectEnv11$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnv11$outboundSchema; + /** @deprecated use `CreateProjectEnv11$Outbound` instead. */ + export type Outbound = CreateProjectEnv11$Outbound; +} + +export function createProjectEnv11ToJSON( + createProjectEnv11: CreateProjectEnv11, +): string { + return JSON.stringify( + CreateProjectEnv11$outboundSchema.parse(createProjectEnv11), + ); +} + +export function createProjectEnv11FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnv11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnv11' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvRequestBody1$inboundSchema: z.ZodType< + CreateProjectEnvRequestBody1, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateProjectEnv11$inboundSchema), + z.lazy(() => CreateProjectEnv12$inboundSchema), +]); + +/** @internal */ +export type CreateProjectEnvRequestBody1$Outbound = + | CreateProjectEnv11$Outbound + | CreateProjectEnv12$Outbound; + +/** @internal */ +export const CreateProjectEnvRequestBody1$outboundSchema: z.ZodType< + CreateProjectEnvRequestBody1$Outbound, + z.ZodTypeDef, + CreateProjectEnvRequestBody1 +> = z.union([ + z.lazy(() => CreateProjectEnv11$outboundSchema), + z.lazy(() => CreateProjectEnv12$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvRequestBody1$ { + /** @deprecated use `CreateProjectEnvRequestBody1$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvRequestBody1$inboundSchema; + /** @deprecated use `CreateProjectEnvRequestBody1$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvRequestBody1$outboundSchema; + /** @deprecated use `CreateProjectEnvRequestBody1$Outbound` instead. */ + export type Outbound = CreateProjectEnvRequestBody1$Outbound; +} + +export function createProjectEnvRequestBody1ToJSON( + createProjectEnvRequestBody1: CreateProjectEnvRequestBody1, +): string { + return JSON.stringify( + CreateProjectEnvRequestBody1$outboundSchema.parse( + createProjectEnvRequestBody1, + ), + ); +} + +export function createProjectEnvRequestBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvRequestBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvRequestBody1' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvRequestBody$inboundSchema: z.ZodType< + CreateProjectEnvRequestBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.union([ + z.lazy(() => CreateProjectEnv11$inboundSchema), + z.lazy(() => CreateProjectEnv12$inboundSchema), + ]), + z.array( + z.union([ + z.lazy(() => Two1$inboundSchema), + z.lazy(() => Two2$inboundSchema), + ]), + ), +]); + +/** @internal */ +export type CreateProjectEnvRequestBody$Outbound = + | CreateProjectEnv11$Outbound + | CreateProjectEnv12$Outbound + | Array; + +/** @internal */ +export const CreateProjectEnvRequestBody$outboundSchema: z.ZodType< + CreateProjectEnvRequestBody$Outbound, + z.ZodTypeDef, + CreateProjectEnvRequestBody +> = z.union([ + z.union([ + z.lazy(() => CreateProjectEnv11$outboundSchema), + z.lazy(() => CreateProjectEnv12$outboundSchema), + ]), + z.array( + z.union([ + z.lazy(() => Two1$outboundSchema), + z.lazy(() => Two2$outboundSchema), + ]), + ), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvRequestBody$ { + /** @deprecated use `CreateProjectEnvRequestBody$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvRequestBody$inboundSchema; + /** @deprecated use `CreateProjectEnvRequestBody$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvRequestBody$outboundSchema; + /** @deprecated use `CreateProjectEnvRequestBody$Outbound` instead. */ + export type Outbound = CreateProjectEnvRequestBody$Outbound; +} + +export function createProjectEnvRequestBodyToJSON( + createProjectEnvRequestBody: CreateProjectEnvRequestBody, +): string { + return JSON.stringify( + CreateProjectEnvRequestBody$outboundSchema.parse( + createProjectEnvRequestBody, + ), + ); +} + +export function createProjectEnvRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvRequest$inboundSchema: z.ZodType< + CreateProjectEnvRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + upsert: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.union([ + z.union([ + z.lazy(() => CreateProjectEnv11$inboundSchema), + z.lazy(() => CreateProjectEnv12$inboundSchema), + ]), + z.array( + z.union([ + z.lazy(() => Two1$inboundSchema), + z.lazy(() => Two2$inboundSchema), + ]), + ), + ]), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type CreateProjectEnvRequest$Outbound = { + idOrName: string; + upsert?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: + | CreateProjectEnv11$Outbound + | CreateProjectEnv12$Outbound + | Array; +}; + +/** @internal */ +export const CreateProjectEnvRequest$outboundSchema: z.ZodType< + CreateProjectEnvRequest$Outbound, + z.ZodTypeDef, + CreateProjectEnvRequest +> = z.object({ + idOrName: z.string(), + upsert: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.union([ + z.union([ + z.lazy(() => CreateProjectEnv11$outboundSchema), + z.lazy(() => CreateProjectEnv12$outboundSchema), + ]), + z.array( + z.union([ + z.lazy(() => Two1$outboundSchema), + z.lazy(() => Two2$outboundSchema), + ]), + ), + ]), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvRequest$ { + /** @deprecated use `CreateProjectEnvRequest$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvRequest$inboundSchema; + /** @deprecated use `CreateProjectEnvRequest$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvRequest$outboundSchema; + /** @deprecated use `CreateProjectEnvRequest$Outbound` instead. */ + export type Outbound = CreateProjectEnvRequest$Outbound; +} + +export function createProjectEnvRequestToJSON( + createProjectEnvRequest: CreateProjectEnvRequest, +): string { + return JSON.stringify( + CreateProjectEnvRequest$outboundSchema.parse(createProjectEnvRequest), + ); +} + +export function createProjectEnvRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvRequest' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvTargetProjects2$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvTargetProjects2 +> = z.nativeEnum(CreateProjectEnvTargetProjects2); + +/** @internal */ +export const CreateProjectEnvTargetProjects2$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvTargetProjects2 +> = CreateProjectEnvTargetProjects2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvTargetProjects2$ { + /** @deprecated use `CreateProjectEnvTargetProjects2$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvTargetProjects2$inboundSchema; + /** @deprecated use `CreateProjectEnvTargetProjects2$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvTargetProjects2$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvCreatedTarget$inboundSchema: z.ZodType< + CreateProjectEnvCreatedTarget, + z.ZodTypeDef, + unknown +> = z.union([ + z.array(z.string()), + CreateProjectEnvTargetProjects2$inboundSchema, +]); + +/** @internal */ +export type CreateProjectEnvCreatedTarget$Outbound = Array | string; + +/** @internal */ +export const CreateProjectEnvCreatedTarget$outboundSchema: z.ZodType< + CreateProjectEnvCreatedTarget$Outbound, + z.ZodTypeDef, + CreateProjectEnvCreatedTarget +> = z.union([ + z.array(z.string()), + CreateProjectEnvTargetProjects2$outboundSchema, +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvCreatedTarget$ { + /** @deprecated use `CreateProjectEnvCreatedTarget$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvCreatedTarget$inboundSchema; + /** @deprecated use `CreateProjectEnvCreatedTarget$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvCreatedTarget$outboundSchema; + /** @deprecated use `CreateProjectEnvCreatedTarget$Outbound` instead. */ + export type Outbound = CreateProjectEnvCreatedTarget$Outbound; +} + +export function createProjectEnvCreatedTargetToJSON( + createProjectEnvCreatedTarget: CreateProjectEnvCreatedTarget, +): string { + return JSON.stringify( + CreateProjectEnvCreatedTarget$outboundSchema.parse( + createProjectEnvCreatedTarget, + ), + ); +} + +export function createProjectEnvCreatedTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvCreatedTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvCreatedTarget' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvCreatedType$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvCreatedType +> = z.nativeEnum(CreateProjectEnvCreatedType); + +/** @internal */ +export const CreateProjectEnvCreatedType$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvCreatedType +> = CreateProjectEnvCreatedType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvCreatedType$ { + /** @deprecated use `CreateProjectEnvCreatedType$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvCreatedType$inboundSchema; + /** @deprecated use `CreateProjectEnvCreatedType$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvCreatedType$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjects15$inboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects15, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$inboundSchema, + projectId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHintProjects15$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHintProjects15$outboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects15$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHintProjects15 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjects15$ { + /** @deprecated use `CreateProjectEnvContentHintProjects15$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjects15$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects15$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjects15$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects15$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHintProjects15$Outbound; +} + +export function createProjectEnvContentHintProjects15ToJSON( + createProjectEnvContentHintProjects15: CreateProjectEnvContentHintProjects15, +): string { + return JSON.stringify( + CreateProjectEnvContentHintProjects15$outboundSchema.parse( + createProjectEnvContentHintProjects15, + ), + ); +} + +export function createProjectEnvContentHintProjects15FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectEnvContentHintProjects15$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHintProjects15' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjects14$inboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects14, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$inboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHintProjects14$Outbound = { + type: string; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHintProjects14$outboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects14$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHintProjects14 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$outboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjects14$ { + /** @deprecated use `CreateProjectEnvContentHintProjects14$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjects14$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects14$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjects14$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects14$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHintProjects14$Outbound; +} + +export function createProjectEnvContentHintProjects14ToJSON( + createProjectEnvContentHintProjects14: CreateProjectEnvContentHintProjects14, +): string { + return JSON.stringify( + CreateProjectEnvContentHintProjects14$outboundSchema.parse( + createProjectEnvContentHintProjects14, + ), + ); +} + +export function createProjectEnvContentHintProjects14FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectEnvContentHintProjects14$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHintProjects14' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjects13$inboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects13, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHintProjects13$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHintProjects13$outboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects13$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHintProjects13 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjects13$ { + /** @deprecated use `CreateProjectEnvContentHintProjects13$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjects13$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects13$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjects13$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects13$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHintProjects13$Outbound; +} + +export function createProjectEnvContentHintProjects13ToJSON( + createProjectEnvContentHintProjects13: CreateProjectEnvContentHintProjects13, +): string { + return JSON.stringify( + CreateProjectEnvContentHintProjects13$outboundSchema.parse( + createProjectEnvContentHintProjects13, + ), + ); +} + +export function createProjectEnvContentHintProjects13FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectEnvContentHintProjects13$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHintProjects13' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjects12$inboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects12, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHintProjects12$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHintProjects12$outboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects12$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHintProjects12 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjects12$ { + /** @deprecated use `CreateProjectEnvContentHintProjects12$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjects12$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects12$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjects12$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects12$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHintProjects12$Outbound; +} + +export function createProjectEnvContentHintProjects12ToJSON( + createProjectEnvContentHintProjects12: CreateProjectEnvContentHintProjects12, +): string { + return JSON.stringify( + CreateProjectEnvContentHintProjects12$outboundSchema.parse( + createProjectEnvContentHintProjects12, + ), + ); +} + +export function createProjectEnvContentHintProjects12FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectEnvContentHintProjects12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHintProjects12' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjects11$inboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects11, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHintProjects11$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHintProjects11$outboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects11$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHintProjects11 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjects11$ { + /** @deprecated use `CreateProjectEnvContentHintProjects11$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjects11$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects11$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjects11$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects11$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHintProjects11$Outbound; +} + +export function createProjectEnvContentHintProjects11ToJSON( + createProjectEnvContentHintProjects11: CreateProjectEnvContentHintProjects11, +): string { + return JSON.stringify( + CreateProjectEnvContentHintProjects11$outboundSchema.parse( + createProjectEnvContentHintProjects11, + ), + ); +} + +export function createProjectEnvContentHintProjects11FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectEnvContentHintProjects11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHintProjects11' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjects10$inboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects10, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHintProjects10$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHintProjects10$outboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects10$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHintProjects10 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjects10$ { + /** @deprecated use `CreateProjectEnvContentHintProjects10$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjects10$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects10$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjects10$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects10$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHintProjects10$Outbound; +} + +export function createProjectEnvContentHintProjects10ToJSON( + createProjectEnvContentHintProjects10: CreateProjectEnvContentHintProjects10, +): string { + return JSON.stringify( + CreateProjectEnvContentHintProjects10$outboundSchema.parse( + createProjectEnvContentHintProjects10, + ), + ); +} + +export function createProjectEnvContentHintProjects10FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectEnvContentHintProjects10$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHintProjects10' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjects9$inboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHintProjects9$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHintProjects9$outboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects9$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHintProjects9 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjects9$ { + /** @deprecated use `CreateProjectEnvContentHintProjects9$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjects9$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects9$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjects9$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects9$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHintProjects9$Outbound; +} + +export function createProjectEnvContentHintProjects9ToJSON( + createProjectEnvContentHintProjects9: CreateProjectEnvContentHintProjects9, +): string { + return JSON.stringify( + CreateProjectEnvContentHintProjects9$outboundSchema.parse( + createProjectEnvContentHintProjects9, + ), + ); +} + +export function createProjectEnvContentHintProjects9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectEnvContentHintProjects9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHintProjects9' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjects8$inboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHintProjects8$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHintProjects8$outboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects8$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHintProjects8 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjects8$ { + /** @deprecated use `CreateProjectEnvContentHintProjects8$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjects8$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects8$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjects8$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects8$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHintProjects8$Outbound; +} + +export function createProjectEnvContentHintProjects8ToJSON( + createProjectEnvContentHintProjects8: CreateProjectEnvContentHintProjects8, +): string { + return JSON.stringify( + CreateProjectEnvContentHintProjects8$outboundSchema.parse( + createProjectEnvContentHintProjects8, + ), + ); +} + +export function createProjectEnvContentHintProjects8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectEnvContentHintProjects8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHintProjects8' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjects7$inboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHintProjects7$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHintProjects7$outboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects7$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHintProjects7 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjects7$ { + /** @deprecated use `CreateProjectEnvContentHintProjects7$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjects7$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects7$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjects7$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects7$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHintProjects7$Outbound; +} + +export function createProjectEnvContentHintProjects7ToJSON( + createProjectEnvContentHintProjects7: CreateProjectEnvContentHintProjects7, +): string { + return JSON.stringify( + CreateProjectEnvContentHintProjects7$outboundSchema.parse( + createProjectEnvContentHintProjects7, + ), + ); +} + +export function createProjectEnvContentHintProjects7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectEnvContentHintProjects7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHintProjects7' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjects6$inboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHintProjects6$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHintProjects6$outboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects6$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHintProjects6 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjects6$ { + /** @deprecated use `CreateProjectEnvContentHintProjects6$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjects6$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects6$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjects6$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects6$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHintProjects6$Outbound; +} + +export function createProjectEnvContentHintProjects6ToJSON( + createProjectEnvContentHintProjects6: CreateProjectEnvContentHintProjects6, +): string { + return JSON.stringify( + CreateProjectEnvContentHintProjects6$outboundSchema.parse( + createProjectEnvContentHintProjects6, + ), + ); +} + +export function createProjectEnvContentHintProjects6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectEnvContentHintProjects6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHintProjects6' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjects5$inboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects5, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHintProjects5$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHintProjects5$outboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects5$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHintProjects5 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjects5$ { + /** @deprecated use `CreateProjectEnvContentHintProjects5$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjects5$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects5$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjects5$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects5$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHintProjects5$Outbound; +} + +export function createProjectEnvContentHintProjects5ToJSON( + createProjectEnvContentHintProjects5: CreateProjectEnvContentHintProjects5, +): string { + return JSON.stringify( + CreateProjectEnvContentHintProjects5$outboundSchema.parse( + createProjectEnvContentHintProjects5, + ), + ); +} + +export function createProjectEnvContentHintProjects5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectEnvContentHintProjects5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHintProjects5' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjects4$inboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects4, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHintProjects4$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHintProjects4$outboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects4$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHintProjects4 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjects4$ { + /** @deprecated use `CreateProjectEnvContentHintProjects4$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjects4$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects4$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjects4$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects4$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHintProjects4$Outbound; +} + +export function createProjectEnvContentHintProjects4ToJSON( + createProjectEnvContentHintProjects4: CreateProjectEnvContentHintProjects4, +): string { + return JSON.stringify( + CreateProjectEnvContentHintProjects4$outboundSchema.parse( + createProjectEnvContentHintProjects4, + ), + ); +} + +export function createProjectEnvContentHintProjects4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectEnvContentHintProjects4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHintProjects4' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjects3$inboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects3, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHintProjects3$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHintProjects3$outboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects3$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHintProjects3 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjects3$ { + /** @deprecated use `CreateProjectEnvContentHintProjects3$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjects3$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects3$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjects3$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects3$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHintProjects3$Outbound; +} + +export function createProjectEnvContentHintProjects3ToJSON( + createProjectEnvContentHintProjects3: CreateProjectEnvContentHintProjects3, +): string { + return JSON.stringify( + CreateProjectEnvContentHintProjects3$outboundSchema.parse( + createProjectEnvContentHintProjects3, + ), + ); +} + +export function createProjectEnvContentHintProjects3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectEnvContentHintProjects3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHintProjects3' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjects2$inboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects2, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHintProjects2$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHintProjects2$outboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects2$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHintProjects2 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjects2$ { + /** @deprecated use `CreateProjectEnvContentHintProjects2$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjects2$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects2$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjects2$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects2$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHintProjects2$Outbound; +} + +export function createProjectEnvContentHintProjects2ToJSON( + createProjectEnvContentHintProjects2: CreateProjectEnvContentHintProjects2, +): string { + return JSON.stringify( + CreateProjectEnvContentHintProjects2$outboundSchema.parse( + createProjectEnvContentHintProjects2, + ), + ); +} + +export function createProjectEnvContentHintProjects2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectEnvContentHintProjects2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHintProjects2' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjects1$inboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects1, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHintProjects1$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHintProjects1$outboundSchema: z.ZodType< + CreateProjectEnvContentHintProjects1$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHintProjects1 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjects1$ { + /** @deprecated use `CreateProjectEnvContentHintProjects1$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjects1$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects1$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjects1$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjects1$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHintProjects1$Outbound; +} + +export function createProjectEnvContentHintProjects1ToJSON( + createProjectEnvContentHintProjects1: CreateProjectEnvContentHintProjects1, +): string { + return JSON.stringify( + CreateProjectEnvContentHintProjects1$outboundSchema.parse( + createProjectEnvContentHintProjects1, + ), + ); +} + +export function createProjectEnvContentHintProjects1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectEnvContentHintProjects1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHintProjects1' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvCreatedContentHint$inboundSchema: z.ZodType< + CreateProjectEnvCreatedContentHint, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateProjectEnvContentHintProjects1$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects2$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects3$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects4$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects5$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects6$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects7$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects8$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects9$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects10$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects11$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects12$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects13$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects15$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects14$inboundSchema), +]); + +/** @internal */ +export type CreateProjectEnvCreatedContentHint$Outbound = + | CreateProjectEnvContentHintProjects1$Outbound + | CreateProjectEnvContentHintProjects2$Outbound + | CreateProjectEnvContentHintProjects3$Outbound + | CreateProjectEnvContentHintProjects4$Outbound + | CreateProjectEnvContentHintProjects5$Outbound + | CreateProjectEnvContentHintProjects6$Outbound + | CreateProjectEnvContentHintProjects7$Outbound + | CreateProjectEnvContentHintProjects8$Outbound + | CreateProjectEnvContentHintProjects9$Outbound + | CreateProjectEnvContentHintProjects10$Outbound + | CreateProjectEnvContentHintProjects11$Outbound + | CreateProjectEnvContentHintProjects12$Outbound + | CreateProjectEnvContentHintProjects13$Outbound + | CreateProjectEnvContentHintProjects15$Outbound + | CreateProjectEnvContentHintProjects14$Outbound; + +/** @internal */ +export const CreateProjectEnvCreatedContentHint$outboundSchema: z.ZodType< + CreateProjectEnvCreatedContentHint$Outbound, + z.ZodTypeDef, + CreateProjectEnvCreatedContentHint +> = z.union([ + z.lazy(() => CreateProjectEnvContentHintProjects1$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects2$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects3$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects4$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects5$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects6$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects7$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects8$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects9$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects10$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects11$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects12$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects13$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects15$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects14$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvCreatedContentHint$ { + /** @deprecated use `CreateProjectEnvCreatedContentHint$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvCreatedContentHint$inboundSchema; + /** @deprecated use `CreateProjectEnvCreatedContentHint$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvCreatedContentHint$outboundSchema; + /** @deprecated use `CreateProjectEnvCreatedContentHint$Outbound` instead. */ + export type Outbound = CreateProjectEnvCreatedContentHint$Outbound; +} + +export function createProjectEnvCreatedContentHintToJSON( + createProjectEnvCreatedContentHint: CreateProjectEnvCreatedContentHint, +): string { + return JSON.stringify( + CreateProjectEnvCreatedContentHint$outboundSchema.parse( + createProjectEnvCreatedContentHint, + ), + ); +} + +export function createProjectEnvCreatedContentHintFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectEnvCreatedContentHint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvCreatedContentHint' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvCreatedProjectsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateProjectEnvCreatedProjectsResponseType); + +/** @internal */ +export const CreateProjectEnvCreatedProjectsResponseType$outboundSchema: + z.ZodNativeEnum = + CreateProjectEnvCreatedProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvCreatedProjectsResponseType$ { + /** @deprecated use `CreateProjectEnvCreatedProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvCreatedProjectsResponseType$inboundSchema; + /** @deprecated use `CreateProjectEnvCreatedProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvCreatedProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvCreatedInternalContentHint$inboundSchema: + z.ZodType = + z.object({ + type: CreateProjectEnvCreatedProjectsResponseType$inboundSchema, + encryptedValue: z.string(), + }); + +/** @internal */ +export type CreateProjectEnvCreatedInternalContentHint$Outbound = { + type: string; + encryptedValue: string; +}; + +/** @internal */ +export const CreateProjectEnvCreatedInternalContentHint$outboundSchema: + z.ZodType< + CreateProjectEnvCreatedInternalContentHint$Outbound, + z.ZodTypeDef, + CreateProjectEnvCreatedInternalContentHint + > = z.object({ + type: CreateProjectEnvCreatedProjectsResponseType$outboundSchema, + encryptedValue: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvCreatedInternalContentHint$ { + /** @deprecated use `CreateProjectEnvCreatedInternalContentHint$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvCreatedInternalContentHint$inboundSchema; + /** @deprecated use `CreateProjectEnvCreatedInternalContentHint$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvCreatedInternalContentHint$outboundSchema; + /** @deprecated use `CreateProjectEnvCreatedInternalContentHint$Outbound` instead. */ + export type Outbound = CreateProjectEnvCreatedInternalContentHint$Outbound; +} + +export function createProjectEnvCreatedInternalContentHintToJSON( + createProjectEnvCreatedInternalContentHint: + CreateProjectEnvCreatedInternalContentHint, +): string { + return JSON.stringify( + CreateProjectEnvCreatedInternalContentHint$outboundSchema.parse( + createProjectEnvCreatedInternalContentHint, + ), + ); +} + +export function createProjectEnvCreatedInternalContentHintFromJSON( + jsonString: string, +): SafeParseResult< + CreateProjectEnvCreatedInternalContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + CreateProjectEnvCreatedInternalContentHint$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'CreateProjectEnvCreatedInternalContentHint' from JSON`, + ); +} + +/** @internal */ +export const Created2$inboundSchema: z.ZodType< + Created2, + z.ZodTypeDef, + unknown +> = z.object({ + target: z.union([ + z.array(z.string()), + CreateProjectEnvTargetProjects2$inboundSchema, + ]).optional(), + type: CreateProjectEnvCreatedType$inboundSchema.optional(), + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string().optional(), + value: z.string().optional(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => CreateProjectEnvContentHintProjects1$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects2$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects3$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects4$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects5$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects6$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects7$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects8$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects9$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects10$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects11$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects12$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects13$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects15$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects14$inboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => CreateProjectEnvCreatedInternalContentHint$inboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), + system: z.boolean().optional(), +}); + +/** @internal */ +export type Created2$Outbound = { + target?: Array | string | undefined; + type?: string | undefined; + sunsetSecretId?: string | undefined; + id?: string | undefined; + key?: string | undefined; + value?: string | undefined; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | CreateProjectEnvContentHintProjects1$Outbound + | CreateProjectEnvContentHintProjects2$Outbound + | CreateProjectEnvContentHintProjects3$Outbound + | CreateProjectEnvContentHintProjects4$Outbound + | CreateProjectEnvContentHintProjects5$Outbound + | CreateProjectEnvContentHintProjects6$Outbound + | CreateProjectEnvContentHintProjects7$Outbound + | CreateProjectEnvContentHintProjects8$Outbound + | CreateProjectEnvContentHintProjects9$Outbound + | CreateProjectEnvContentHintProjects10$Outbound + | CreateProjectEnvContentHintProjects11$Outbound + | CreateProjectEnvContentHintProjects12$Outbound + | CreateProjectEnvContentHintProjects13$Outbound + | CreateProjectEnvContentHintProjects15$Outbound + | CreateProjectEnvContentHintProjects14$Outbound + | null + | undefined; + internalContentHint?: + | CreateProjectEnvCreatedInternalContentHint$Outbound + | null + | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; + system?: boolean | undefined; +}; + +/** @internal */ +export const Created2$outboundSchema: z.ZodType< + Created2$Outbound, + z.ZodTypeDef, + Created2 +> = z.object({ + target: z.union([ + z.array(z.string()), + CreateProjectEnvTargetProjects2$outboundSchema, + ]).optional(), + type: CreateProjectEnvCreatedType$outboundSchema.optional(), + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string().optional(), + value: z.string().optional(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => CreateProjectEnvContentHintProjects1$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects2$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects3$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects4$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects5$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects6$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects7$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects8$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects9$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects10$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects11$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects12$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects13$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects15$outboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects14$outboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => CreateProjectEnvCreatedInternalContentHint$outboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), + system: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Created2$ { + /** @deprecated use `Created2$inboundSchema` instead. */ + export const inboundSchema = Created2$inboundSchema; + /** @deprecated use `Created2$outboundSchema` instead. */ + export const outboundSchema = Created2$outboundSchema; + /** @deprecated use `Created2$Outbound` instead. */ + export type Outbound = Created2$Outbound; +} + +export function created2ToJSON(created2: Created2): string { + return JSON.stringify(Created2$outboundSchema.parse(created2)); +} + +export function created2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Created2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Created2' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvTarget2$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvTarget2 +> = z.nativeEnum(CreateProjectEnvTarget2); + +/** @internal */ +export const CreateProjectEnvTarget2$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvTarget2 +> = CreateProjectEnvTarget2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvTarget2$ { + /** @deprecated use `CreateProjectEnvTarget2$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvTarget2$inboundSchema; + /** @deprecated use `CreateProjectEnvTarget2$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvTarget2$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvTarget1$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvTarget1 +> = z.nativeEnum(CreateProjectEnvTarget1); + +/** @internal */ +export const CreateProjectEnvTarget1$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvTarget1 +> = CreateProjectEnvTarget1$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvTarget1$ { + /** @deprecated use `CreateProjectEnvTarget1$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvTarget1$inboundSchema; + /** @deprecated use `CreateProjectEnvTarget1$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvTarget1$outboundSchema; +} + +/** @internal */ +export const CreatedTarget$inboundSchema: z.ZodType< + CreatedTarget, + z.ZodTypeDef, + unknown +> = z.union([ + z.array(CreateProjectEnvTarget1$inboundSchema), + CreateProjectEnvTarget2$inboundSchema, +]); + +/** @internal */ +export type CreatedTarget$Outbound = Array | string; + +/** @internal */ +export const CreatedTarget$outboundSchema: z.ZodType< + CreatedTarget$Outbound, + z.ZodTypeDef, + CreatedTarget +> = z.union([ + z.array(CreateProjectEnvTarget1$outboundSchema), + CreateProjectEnvTarget2$outboundSchema, +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreatedTarget$ { + /** @deprecated use `CreatedTarget$inboundSchema` instead. */ + export const inboundSchema = CreatedTarget$inboundSchema; + /** @deprecated use `CreatedTarget$outboundSchema` instead. */ + export const outboundSchema = CreatedTarget$outboundSchema; + /** @deprecated use `CreatedTarget$Outbound` instead. */ + export type Outbound = CreatedTarget$Outbound; +} + +export function createdTargetToJSON(createdTarget: CreatedTarget): string { + return JSON.stringify(CreatedTarget$outboundSchema.parse(createdTarget)); +} + +export function createdTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreatedTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreatedTarget' from JSON`, + ); +} + +/** @internal */ +export const CreatedType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(CreatedType); + +/** @internal */ +export const CreatedType$outboundSchema: z.ZodNativeEnum = + CreatedType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreatedType$ { + /** @deprecated use `CreatedType$inboundSchema` instead. */ + export const inboundSchema = CreatedType$inboundSchema; + /** @deprecated use `CreatedType$outboundSchema` instead. */ + export const outboundSchema = CreatedType$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHint15$inboundSchema: z.ZodType< + CreateProjectEnvContentHint15, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$inboundSchema, + projectId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHint15$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHint15$outboundSchema: z.ZodType< + CreateProjectEnvContentHint15$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHint15 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHint15$ { + /** @deprecated use `CreateProjectEnvContentHint15$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvContentHint15$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHint15$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvContentHint15$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHint15$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHint15$Outbound; +} + +export function createProjectEnvContentHint15ToJSON( + createProjectEnvContentHint15: CreateProjectEnvContentHint15, +): string { + return JSON.stringify( + CreateProjectEnvContentHint15$outboundSchema.parse( + createProjectEnvContentHint15, + ), + ); +} + +export function createProjectEnvContentHint15FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvContentHint15$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHint15' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHint14$inboundSchema: z.ZodType< + CreateProjectEnvContentHint14, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$inboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHint14$Outbound = { + type: string; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHint14$outboundSchema: z.ZodType< + CreateProjectEnvContentHint14$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHint14 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$outboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHint14$ { + /** @deprecated use `CreateProjectEnvContentHint14$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvContentHint14$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHint14$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvContentHint14$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHint14$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHint14$Outbound; +} + +export function createProjectEnvContentHint14ToJSON( + createProjectEnvContentHint14: CreateProjectEnvContentHint14, +): string { + return JSON.stringify( + CreateProjectEnvContentHint14$outboundSchema.parse( + createProjectEnvContentHint14, + ), + ); +} + +export function createProjectEnvContentHint14FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvContentHint14$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHint14' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHint13$inboundSchema: z.ZodType< + CreateProjectEnvContentHint13, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHint13$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHint13$outboundSchema: z.ZodType< + CreateProjectEnvContentHint13$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHint13 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHint13$ { + /** @deprecated use `CreateProjectEnvContentHint13$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvContentHint13$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHint13$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvContentHint13$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHint13$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHint13$Outbound; +} + +export function createProjectEnvContentHint13ToJSON( + createProjectEnvContentHint13: CreateProjectEnvContentHint13, +): string { + return JSON.stringify( + CreateProjectEnvContentHint13$outboundSchema.parse( + createProjectEnvContentHint13, + ), + ); +} + +export function createProjectEnvContentHint13FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvContentHint13$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHint13' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHint12$inboundSchema: z.ZodType< + CreateProjectEnvContentHint12, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHint12$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHint12$outboundSchema: z.ZodType< + CreateProjectEnvContentHint12$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHint12 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHint12$ { + /** @deprecated use `CreateProjectEnvContentHint12$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvContentHint12$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHint12$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvContentHint12$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHint12$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHint12$Outbound; +} + +export function createProjectEnvContentHint12ToJSON( + createProjectEnvContentHint12: CreateProjectEnvContentHint12, +): string { + return JSON.stringify( + CreateProjectEnvContentHint12$outboundSchema.parse( + createProjectEnvContentHint12, + ), + ); +} + +export function createProjectEnvContentHint12FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvContentHint12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHint12' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHint11$inboundSchema: z.ZodType< + CreateProjectEnvContentHint11, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHint11$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHint11$outboundSchema: z.ZodType< + CreateProjectEnvContentHint11$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHint11 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHint11$ { + /** @deprecated use `CreateProjectEnvContentHint11$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvContentHint11$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHint11$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvContentHint11$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHint11$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHint11$Outbound; +} + +export function createProjectEnvContentHint11ToJSON( + createProjectEnvContentHint11: CreateProjectEnvContentHint11, +): string { + return JSON.stringify( + CreateProjectEnvContentHint11$outboundSchema.parse( + createProjectEnvContentHint11, + ), + ); +} + +export function createProjectEnvContentHint11FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvContentHint11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHint11' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHint10$inboundSchema: z.ZodType< + CreateProjectEnvContentHint10, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHint10$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHint10$outboundSchema: z.ZodType< + CreateProjectEnvContentHint10$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHint10 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHint10$ { + /** @deprecated use `CreateProjectEnvContentHint10$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvContentHint10$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHint10$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvContentHint10$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHint10$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHint10$Outbound; +} + +export function createProjectEnvContentHint10ToJSON( + createProjectEnvContentHint10: CreateProjectEnvContentHint10, +): string { + return JSON.stringify( + CreateProjectEnvContentHint10$outboundSchema.parse( + createProjectEnvContentHint10, + ), + ); +} + +export function createProjectEnvContentHint10FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvContentHint10$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHint10' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHint9$inboundSchema: z.ZodType< + CreateProjectEnvContentHint9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHint9$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHint9$outboundSchema: z.ZodType< + CreateProjectEnvContentHint9$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHint9 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHint9$ { + /** @deprecated use `CreateProjectEnvContentHint9$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvContentHint9$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHint9$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvContentHint9$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHint9$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHint9$Outbound; +} + +export function createProjectEnvContentHint9ToJSON( + createProjectEnvContentHint9: CreateProjectEnvContentHint9, +): string { + return JSON.stringify( + CreateProjectEnvContentHint9$outboundSchema.parse( + createProjectEnvContentHint9, + ), + ); +} + +export function createProjectEnvContentHint9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvContentHint9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHint9' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHint8$inboundSchema: z.ZodType< + CreateProjectEnvContentHint8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHint8$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHint8$outboundSchema: z.ZodType< + CreateProjectEnvContentHint8$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHint8 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHint8$ { + /** @deprecated use `CreateProjectEnvContentHint8$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvContentHint8$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHint8$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvContentHint8$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHint8$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHint8$Outbound; +} + +export function createProjectEnvContentHint8ToJSON( + createProjectEnvContentHint8: CreateProjectEnvContentHint8, +): string { + return JSON.stringify( + CreateProjectEnvContentHint8$outboundSchema.parse( + createProjectEnvContentHint8, + ), + ); +} + +export function createProjectEnvContentHint8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvContentHint8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHint8' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHint7$inboundSchema: z.ZodType< + CreateProjectEnvContentHint7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHint7$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHint7$outboundSchema: z.ZodType< + CreateProjectEnvContentHint7$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHint7 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHint7$ { + /** @deprecated use `CreateProjectEnvContentHint7$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvContentHint7$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHint7$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvContentHint7$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHint7$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHint7$Outbound; +} + +export function createProjectEnvContentHint7ToJSON( + createProjectEnvContentHint7: CreateProjectEnvContentHint7, +): string { + return JSON.stringify( + CreateProjectEnvContentHint7$outboundSchema.parse( + createProjectEnvContentHint7, + ), + ); +} + +export function createProjectEnvContentHint7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvContentHint7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHint7' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHint6$inboundSchema: z.ZodType< + CreateProjectEnvContentHint6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHint6$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHint6$outboundSchema: z.ZodType< + CreateProjectEnvContentHint6$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHint6 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHint6$ { + /** @deprecated use `CreateProjectEnvContentHint6$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvContentHint6$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHint6$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvContentHint6$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHint6$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHint6$Outbound; +} + +export function createProjectEnvContentHint6ToJSON( + createProjectEnvContentHint6: CreateProjectEnvContentHint6, +): string { + return JSON.stringify( + CreateProjectEnvContentHint6$outboundSchema.parse( + createProjectEnvContentHint6, + ), + ); +} + +export function createProjectEnvContentHint6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvContentHint6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHint6' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType + > = z.nativeEnum( + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType, + ); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType + > = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHint5$inboundSchema: z.ZodType< + CreateProjectEnvContentHint5, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHint5$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHint5$outboundSchema: z.ZodType< + CreateProjectEnvContentHint5$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHint5 +> = z.object({ + type: + CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHint5$ { + /** @deprecated use `CreateProjectEnvContentHint5$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvContentHint5$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHint5$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvContentHint5$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHint5$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHint5$Outbound; +} + +export function createProjectEnvContentHint5ToJSON( + createProjectEnvContentHint5: CreateProjectEnvContentHint5, +): string { + return JSON.stringify( + CreateProjectEnvContentHint5$outboundSchema.parse( + createProjectEnvContentHint5, + ), + ); +} + +export function createProjectEnvContentHint5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvContentHint5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHint5' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201Type$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateProjectEnvContentHintProjectsResponse201Type); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponse201Type$outboundSchema: + z.ZodNativeEnum = + CreateProjectEnvContentHintProjectsResponse201Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponse201Type$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponse201Type$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponse201Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHint4$inboundSchema: z.ZodType< + CreateProjectEnvContentHint4, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateProjectEnvContentHintProjectsResponse201Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHint4$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHint4$outboundSchema: z.ZodType< + CreateProjectEnvContentHint4$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHint4 +> = z.object({ + type: CreateProjectEnvContentHintProjectsResponse201Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHint4$ { + /** @deprecated use `CreateProjectEnvContentHint4$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvContentHint4$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHint4$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvContentHint4$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHint4$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHint4$Outbound; +} + +export function createProjectEnvContentHint4ToJSON( + createProjectEnvContentHint4: CreateProjectEnvContentHint4, +): string { + return JSON.stringify( + CreateProjectEnvContentHint4$outboundSchema.parse( + createProjectEnvContentHint4, + ), + ); +} + +export function createProjectEnvContentHint4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvContentHint4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHint4' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateProjectEnvContentHintProjectsResponseType); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsResponseType$outboundSchema: + z.ZodNativeEnum = + CreateProjectEnvContentHintProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsResponseType$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsResponseType$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHint3$inboundSchema: z.ZodType< + CreateProjectEnvContentHint3, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateProjectEnvContentHintProjectsResponseType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHint3$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHint3$outboundSchema: z.ZodType< + CreateProjectEnvContentHint3$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHint3 +> = z.object({ + type: CreateProjectEnvContentHintProjectsResponseType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHint3$ { + /** @deprecated use `CreateProjectEnvContentHint3$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvContentHint3$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHint3$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvContentHint3$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHint3$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHint3$Outbound; +} + +export function createProjectEnvContentHint3ToJSON( + createProjectEnvContentHint3: CreateProjectEnvContentHint3, +): string { + return JSON.stringify( + CreateProjectEnvContentHint3$outboundSchema.parse( + createProjectEnvContentHint3, + ), + ); +} + +export function createProjectEnvContentHint3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvContentHint3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHint3' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintProjectsType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateProjectEnvContentHintProjectsType); + +/** @internal */ +export const CreateProjectEnvContentHintProjectsType$outboundSchema: + z.ZodNativeEnum = + CreateProjectEnvContentHintProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintProjectsType$ { + /** @deprecated use `CreateProjectEnvContentHintProjectsType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvContentHintProjectsType$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintProjectsType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvContentHintProjectsType$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHint2$inboundSchema: z.ZodType< + CreateProjectEnvContentHint2, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateProjectEnvContentHintProjectsType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHint2$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHint2$outboundSchema: z.ZodType< + CreateProjectEnvContentHint2$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHint2 +> = z.object({ + type: CreateProjectEnvContentHintProjectsType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHint2$ { + /** @deprecated use `CreateProjectEnvContentHint2$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvContentHint2$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHint2$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvContentHint2$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHint2$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHint2$Outbound; +} + +export function createProjectEnvContentHint2ToJSON( + createProjectEnvContentHint2: CreateProjectEnvContentHint2, +): string { + return JSON.stringify( + CreateProjectEnvContentHint2$outboundSchema.parse( + createProjectEnvContentHint2, + ), + ); +} + +export function createProjectEnvContentHint2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvContentHint2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHint2' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvContentHintType$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvContentHintType +> = z.nativeEnum(CreateProjectEnvContentHintType); + +/** @internal */ +export const CreateProjectEnvContentHintType$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvContentHintType +> = CreateProjectEnvContentHintType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHintType$ { + /** @deprecated use `CreateProjectEnvContentHintType$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvContentHintType$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHintType$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvContentHintType$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvContentHint1$inboundSchema: z.ZodType< + CreateProjectEnvContentHint1, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateProjectEnvContentHintType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectEnvContentHint1$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectEnvContentHint1$outboundSchema: z.ZodType< + CreateProjectEnvContentHint1$Outbound, + z.ZodTypeDef, + CreateProjectEnvContentHint1 +> = z.object({ + type: CreateProjectEnvContentHintType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvContentHint1$ { + /** @deprecated use `CreateProjectEnvContentHint1$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvContentHint1$inboundSchema; + /** @deprecated use `CreateProjectEnvContentHint1$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvContentHint1$outboundSchema; + /** @deprecated use `CreateProjectEnvContentHint1$Outbound` instead. */ + export type Outbound = CreateProjectEnvContentHint1$Outbound; +} + +export function createProjectEnvContentHint1ToJSON( + createProjectEnvContentHint1: CreateProjectEnvContentHint1, +): string { + return JSON.stringify( + CreateProjectEnvContentHint1$outboundSchema.parse( + createProjectEnvContentHint1, + ), + ); +} + +export function createProjectEnvContentHint1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvContentHint1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvContentHint1' from JSON`, + ); +} + +/** @internal */ +export const CreatedContentHint$inboundSchema: z.ZodType< + CreatedContentHint, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateProjectEnvContentHint1$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint2$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint3$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint4$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint5$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint6$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint7$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint8$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint9$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint10$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint11$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint12$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint13$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint15$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint14$inboundSchema), +]); + +/** @internal */ +export type CreatedContentHint$Outbound = + | CreateProjectEnvContentHint1$Outbound + | CreateProjectEnvContentHint2$Outbound + | CreateProjectEnvContentHint3$Outbound + | CreateProjectEnvContentHint4$Outbound + | CreateProjectEnvContentHint5$Outbound + | CreateProjectEnvContentHint6$Outbound + | CreateProjectEnvContentHint7$Outbound + | CreateProjectEnvContentHint8$Outbound + | CreateProjectEnvContentHint9$Outbound + | CreateProjectEnvContentHint10$Outbound + | CreateProjectEnvContentHint11$Outbound + | CreateProjectEnvContentHint12$Outbound + | CreateProjectEnvContentHint13$Outbound + | CreateProjectEnvContentHint15$Outbound + | CreateProjectEnvContentHint14$Outbound; + +/** @internal */ +export const CreatedContentHint$outboundSchema: z.ZodType< + CreatedContentHint$Outbound, + z.ZodTypeDef, + CreatedContentHint +> = z.union([ + z.lazy(() => CreateProjectEnvContentHint1$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint2$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint3$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint4$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint5$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint6$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint7$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint8$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint9$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint10$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint11$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint12$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint13$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint15$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint14$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreatedContentHint$ { + /** @deprecated use `CreatedContentHint$inboundSchema` instead. */ + export const inboundSchema = CreatedContentHint$inboundSchema; + /** @deprecated use `CreatedContentHint$outboundSchema` instead. */ + export const outboundSchema = CreatedContentHint$outboundSchema; + /** @deprecated use `CreatedContentHint$Outbound` instead. */ + export type Outbound = CreatedContentHint$Outbound; +} + +export function createdContentHintToJSON( + createdContentHint: CreatedContentHint, +): string { + return JSON.stringify( + CreatedContentHint$outboundSchema.parse(createdContentHint), + ); +} + +export function createdContentHintFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreatedContentHint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreatedContentHint' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvCreatedProjectsType$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvCreatedProjectsType +> = z.nativeEnum(CreateProjectEnvCreatedProjectsType); + +/** @internal */ +export const CreateProjectEnvCreatedProjectsType$outboundSchema: + z.ZodNativeEnum = + CreateProjectEnvCreatedProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvCreatedProjectsType$ { + /** @deprecated use `CreateProjectEnvCreatedProjectsType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvCreatedProjectsType$inboundSchema; + /** @deprecated use `CreateProjectEnvCreatedProjectsType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvCreatedProjectsType$outboundSchema; +} + +/** @internal */ +export const CreatedInternalContentHint$inboundSchema: z.ZodType< + CreatedInternalContentHint, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateProjectEnvCreatedProjectsType$inboundSchema, + encryptedValue: z.string(), +}); + +/** @internal */ +export type CreatedInternalContentHint$Outbound = { + type: string; + encryptedValue: string; +}; + +/** @internal */ +export const CreatedInternalContentHint$outboundSchema: z.ZodType< + CreatedInternalContentHint$Outbound, + z.ZodTypeDef, + CreatedInternalContentHint +> = z.object({ + type: CreateProjectEnvCreatedProjectsType$outboundSchema, + encryptedValue: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreatedInternalContentHint$ { + /** @deprecated use `CreatedInternalContentHint$inboundSchema` instead. */ + export const inboundSchema = CreatedInternalContentHint$inboundSchema; + /** @deprecated use `CreatedInternalContentHint$outboundSchema` instead. */ + export const outboundSchema = CreatedInternalContentHint$outboundSchema; + /** @deprecated use `CreatedInternalContentHint$Outbound` instead. */ + export type Outbound = CreatedInternalContentHint$Outbound; +} + +export function createdInternalContentHintToJSON( + createdInternalContentHint: CreatedInternalContentHint, +): string { + return JSON.stringify( + CreatedInternalContentHint$outboundSchema.parse(createdInternalContentHint), + ); +} + +export function createdInternalContentHintFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreatedInternalContentHint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreatedInternalContentHint' from JSON`, + ); +} + +/** @internal */ +export const Created1$inboundSchema: z.ZodType< + Created1, + z.ZodTypeDef, + unknown +> = z.object({ + target: z.union([ + z.array(CreateProjectEnvTarget1$inboundSchema), + CreateProjectEnvTarget2$inboundSchema, + ]).optional(), + type: CreatedType$inboundSchema.optional(), + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string().optional(), + value: z.string().optional(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => CreateProjectEnvContentHint1$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint2$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint3$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint4$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint5$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint6$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint7$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint8$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint9$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint10$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint11$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint12$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint13$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint15$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint14$inboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => CreatedInternalContentHint$inboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), + system: z.boolean().optional(), +}); + +/** @internal */ +export type Created1$Outbound = { + target?: Array | string | undefined; + type?: string | undefined; + sunsetSecretId?: string | undefined; + id?: string | undefined; + key?: string | undefined; + value?: string | undefined; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | CreateProjectEnvContentHint1$Outbound + | CreateProjectEnvContentHint2$Outbound + | CreateProjectEnvContentHint3$Outbound + | CreateProjectEnvContentHint4$Outbound + | CreateProjectEnvContentHint5$Outbound + | CreateProjectEnvContentHint6$Outbound + | CreateProjectEnvContentHint7$Outbound + | CreateProjectEnvContentHint8$Outbound + | CreateProjectEnvContentHint9$Outbound + | CreateProjectEnvContentHint10$Outbound + | CreateProjectEnvContentHint11$Outbound + | CreateProjectEnvContentHint12$Outbound + | CreateProjectEnvContentHint13$Outbound + | CreateProjectEnvContentHint15$Outbound + | CreateProjectEnvContentHint14$Outbound + | null + | undefined; + internalContentHint?: CreatedInternalContentHint$Outbound | null | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; + system?: boolean | undefined; +}; + +/** @internal */ +export const Created1$outboundSchema: z.ZodType< + Created1$Outbound, + z.ZodTypeDef, + Created1 +> = z.object({ + target: z.union([ + z.array(CreateProjectEnvTarget1$outboundSchema), + CreateProjectEnvTarget2$outboundSchema, + ]).optional(), + type: CreatedType$outboundSchema.optional(), + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string().optional(), + value: z.string().optional(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => CreateProjectEnvContentHint1$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint2$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint3$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint4$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint5$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint6$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint7$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint8$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint9$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint10$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint11$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint12$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint13$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint15$outboundSchema), + z.lazy(() => CreateProjectEnvContentHint14$outboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => CreatedInternalContentHint$outboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), + system: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Created1$ { + /** @deprecated use `Created1$inboundSchema` instead. */ + export const inboundSchema = Created1$inboundSchema; + /** @deprecated use `Created1$outboundSchema` instead. */ + export const outboundSchema = Created1$outboundSchema; + /** @deprecated use `Created1$Outbound` instead. */ + export type Outbound = Created1$Outbound; +} + +export function created1ToJSON(created1: Created1): string { + return JSON.stringify(Created1$outboundSchema.parse(created1)); +} + +export function created1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Created1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Created1' from JSON`, + ); +} + +/** @internal */ +export const Created$inboundSchema: z.ZodType = + z.union([ + z.lazy(() => Created1$inboundSchema), + z.array(z.lazy(() => Created2$inboundSchema)), + ]); + +/** @internal */ +export type Created$Outbound = Created1$Outbound | Array; + +/** @internal */ +export const Created$outboundSchema: z.ZodType< + Created$Outbound, + z.ZodTypeDef, + Created +> = z.union([ + z.lazy(() => Created1$outboundSchema), + z.array(z.lazy(() => Created2$outboundSchema)), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Created$ { + /** @deprecated use `Created$inboundSchema` instead. */ + export const inboundSchema = Created$inboundSchema; + /** @deprecated use `Created$outboundSchema` instead. */ + export const outboundSchema = Created$outboundSchema; + /** @deprecated use `Created$Outbound` instead. */ + export type Outbound = Created$Outbound; +} + +export function createdToJSON(created: Created): string { + return JSON.stringify(Created$outboundSchema.parse(created)); +} + +export function createdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Created$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Created' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvValue2$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvValue2 +> = z.nativeEnum(CreateProjectEnvValue2); + +/** @internal */ +export const CreateProjectEnvValue2$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvValue2 +> = CreateProjectEnvValue2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvValue2$ { + /** @deprecated use `CreateProjectEnvValue2$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvValue2$inboundSchema; + /** @deprecated use `CreateProjectEnvValue2$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvValue2$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvValue$inboundSchema: z.ZodType< + CreateProjectEnvValue, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.array(CreateProjectEnvValue2$inboundSchema)]); + +/** @internal */ +export type CreateProjectEnvValue$Outbound = string | Array; + +/** @internal */ +export const CreateProjectEnvValue$outboundSchema: z.ZodType< + CreateProjectEnvValue$Outbound, + z.ZodTypeDef, + CreateProjectEnvValue +> = z.union([z.string(), z.array(CreateProjectEnvValue2$outboundSchema)]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvValue$ { + /** @deprecated use `CreateProjectEnvValue$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvValue$inboundSchema; + /** @deprecated use `CreateProjectEnvValue$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvValue$outboundSchema; + /** @deprecated use `CreateProjectEnvValue$Outbound` instead. */ + export type Outbound = CreateProjectEnvValue$Outbound; +} + +export function createProjectEnvValueToJSON( + createProjectEnvValue: CreateProjectEnvValue, +): string { + return JSON.stringify( + CreateProjectEnvValue$outboundSchema.parse(createProjectEnvValue), + ); +} + +export function createProjectEnvValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvValue' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvTargetProjectsResponse2$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateProjectEnvTargetProjectsResponse2); + +/** @internal */ +export const CreateProjectEnvTargetProjectsResponse2$outboundSchema: + z.ZodNativeEnum = + CreateProjectEnvTargetProjectsResponse2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvTargetProjectsResponse2$ { + /** @deprecated use `CreateProjectEnvTargetProjectsResponse2$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectEnvTargetProjectsResponse2$inboundSchema; + /** @deprecated use `CreateProjectEnvTargetProjectsResponse2$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectEnvTargetProjectsResponse2$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvTargetProjects1$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvTargetProjects1 +> = z.nativeEnum(CreateProjectEnvTargetProjects1); + +/** @internal */ +export const CreateProjectEnvTargetProjects1$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvTargetProjects1 +> = CreateProjectEnvTargetProjects1$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvTargetProjects1$ { + /** @deprecated use `CreateProjectEnvTargetProjects1$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvTargetProjects1$inboundSchema; + /** @deprecated use `CreateProjectEnvTargetProjects1$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvTargetProjects1$outboundSchema; +} + +/** @internal */ +export const CreateProjectEnvTarget$inboundSchema: z.ZodType< + CreateProjectEnvTarget, + z.ZodTypeDef, + unknown +> = z.union([ + z.array(CreateProjectEnvTargetProjects1$inboundSchema), + CreateProjectEnvTargetProjectsResponse2$inboundSchema, +]); + +/** @internal */ +export type CreateProjectEnvTarget$Outbound = Array | string; + +/** @internal */ +export const CreateProjectEnvTarget$outboundSchema: z.ZodType< + CreateProjectEnvTarget$Outbound, + z.ZodTypeDef, + CreateProjectEnvTarget +> = z.union([ + z.array(CreateProjectEnvTargetProjects1$outboundSchema), + CreateProjectEnvTargetProjectsResponse2$outboundSchema, +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvTarget$ { + /** @deprecated use `CreateProjectEnvTarget$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvTarget$inboundSchema; + /** @deprecated use `CreateProjectEnvTarget$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvTarget$outboundSchema; + /** @deprecated use `CreateProjectEnvTarget$Outbound` instead. */ + export type Outbound = CreateProjectEnvTarget$Outbound; +} + +export function createProjectEnvTargetToJSON( + createProjectEnvTarget: CreateProjectEnvTarget, +): string { + return JSON.stringify( + CreateProjectEnvTarget$outboundSchema.parse(createProjectEnvTarget), + ); +} + +export function createProjectEnvTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvTarget' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvError$inboundSchema: z.ZodType< + CreateProjectEnvError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), + key: z.string().optional(), + envVarId: z.string().optional(), + envVarKey: z.string().optional(), + action: z.string().optional(), + link: z.string().optional(), + value: z.union([z.string(), z.array(CreateProjectEnvValue2$inboundSchema)]) + .optional(), + gitBranch: z.string().optional(), + target: z.union([ + z.array(CreateProjectEnvTargetProjects1$inboundSchema), + CreateProjectEnvTargetProjectsResponse2$inboundSchema, + ]).optional(), + project: z.string().optional(), +}); + +/** @internal */ +export type CreateProjectEnvError$Outbound = { + code: string; + message: string; + key?: string | undefined; + envVarId?: string | undefined; + envVarKey?: string | undefined; + action?: string | undefined; + link?: string | undefined; + value?: string | Array | undefined; + gitBranch?: string | undefined; + target?: Array | string | undefined; + project?: string | undefined; +}; + +/** @internal */ +export const CreateProjectEnvError$outboundSchema: z.ZodType< + CreateProjectEnvError$Outbound, + z.ZodTypeDef, + CreateProjectEnvError +> = z.object({ + code: z.string(), + message: z.string(), + key: z.string().optional(), + envVarId: z.string().optional(), + envVarKey: z.string().optional(), + action: z.string().optional(), + link: z.string().optional(), + value: z.union([z.string(), z.array(CreateProjectEnvValue2$outboundSchema)]) + .optional(), + gitBranch: z.string().optional(), + target: z.union([ + z.array(CreateProjectEnvTargetProjects1$outboundSchema), + CreateProjectEnvTargetProjectsResponse2$outboundSchema, + ]).optional(), + project: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvError$ { + /** @deprecated use `CreateProjectEnvError$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvError$inboundSchema; + /** @deprecated use `CreateProjectEnvError$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvError$outboundSchema; + /** @deprecated use `CreateProjectEnvError$Outbound` instead. */ + export type Outbound = CreateProjectEnvError$Outbound; +} + +export function createProjectEnvErrorToJSON( + createProjectEnvError: CreateProjectEnvError, +): string { + return JSON.stringify( + CreateProjectEnvError$outboundSchema.parse(createProjectEnvError), + ); +} + +export function createProjectEnvErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvError' from JSON`, + ); +} + +/** @internal */ +export const Failed$inboundSchema: z.ZodType = z + .object({ + error: z.lazy(() => CreateProjectEnvError$inboundSchema), + }); + +/** @internal */ +export type Failed$Outbound = { + error: CreateProjectEnvError$Outbound; +}; + +/** @internal */ +export const Failed$outboundSchema: z.ZodType< + Failed$Outbound, + z.ZodTypeDef, + Failed +> = z.object({ + error: z.lazy(() => CreateProjectEnvError$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Failed$ { + /** @deprecated use `Failed$inboundSchema` instead. */ + export const inboundSchema = Failed$inboundSchema; + /** @deprecated use `Failed$outboundSchema` instead. */ + export const outboundSchema = Failed$outboundSchema; + /** @deprecated use `Failed$Outbound` instead. */ + export type Outbound = Failed$Outbound; +} + +export function failedToJSON(failed: Failed): string { + return JSON.stringify(Failed$outboundSchema.parse(failed)); +} + +export function failedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Failed$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Failed' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnvResponseBody$inboundSchema: z.ZodType< + CreateProjectEnvResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + created: z.union([ + z.lazy(() => Created1$inboundSchema), + z.array(z.lazy(() => Created2$inboundSchema)), + ]), + failed: z.array(z.lazy(() => Failed$inboundSchema)), +}); + +/** @internal */ +export type CreateProjectEnvResponseBody$Outbound = { + created: Created1$Outbound | Array; + failed: Array; +}; + +/** @internal */ +export const CreateProjectEnvResponseBody$outboundSchema: z.ZodType< + CreateProjectEnvResponseBody$Outbound, + z.ZodTypeDef, + CreateProjectEnvResponseBody +> = z.object({ + created: z.union([ + z.lazy(() => Created1$outboundSchema), + z.array(z.lazy(() => Created2$outboundSchema)), + ]), + failed: z.array(z.lazy(() => Failed$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnvResponseBody$ { + /** @deprecated use `CreateProjectEnvResponseBody$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnvResponseBody$inboundSchema; + /** @deprecated use `CreateProjectEnvResponseBody$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnvResponseBody$outboundSchema; + /** @deprecated use `CreateProjectEnvResponseBody$Outbound` instead. */ + export type Outbound = CreateProjectEnvResponseBody$Outbound; +} + +export function createProjectEnvResponseBodyToJSON( + createProjectEnvResponseBody: CreateProjectEnvResponseBody, +): string { + return JSON.stringify( + CreateProjectEnvResponseBody$outboundSchema.parse( + createProjectEnvResponseBody, + ), + ); +} + +export function createProjectEnvResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnvResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvResponseBody' from JSON`, + ); +} diff --git a/src/models/createprojectop.ts b/src/models/createprojectop.ts new file mode 100644 index 00000000..a7e47044 --- /dev/null +++ b/src/models/createprojectop.ts @@ -0,0 +1,9650 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + ACLAction, + ACLAction$inboundSchema, + ACLAction$outboundSchema, +} from "./aclaction.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export const Target2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type Target2 = ClosedEnum; + +export const Target1 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type Target1 = ClosedEnum; + +/** + * Deployment Target or Targets in which the ENV variable will be used + */ +export type CreateProjectTarget = Target1 | Array; + +/** + * Type of the ENV variable + */ +export const CreateProjectType = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +/** + * Type of the ENV variable + */ +export type CreateProjectType = ClosedEnum; + +export type EnvironmentVariables = { + /** + * Name of the ENV variable + */ + key: string; + /** + * Deployment Target or Targets in which the ENV variable will be used + */ + target: Target1 | Array; + /** + * If defined, the git branch of the environment variable (must have target=preview) + */ + gitBranch?: string | undefined; + /** + * Type of the ENV variable + */ + type?: CreateProjectType | undefined; + /** + * Value for the ENV variable + */ + value: string; +}; + +/** + * The framework that is being used for this project. When `null` is used no framework is selected + */ +export const CreateProjectFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + Astro: "astro", + Hexo: "hexo", + Eleventy: "eleventy", + Docusaurus2: "docusaurus-2", + Docusaurus: "docusaurus", + Preact: "preact", + Solidstart1: "solidstart-1", + Solidstart: "solidstart", + Dojo: "dojo", + Ember: "ember", + Vue: "vue", + Scully: "scully", + IonicAngular: "ionic-angular", + Angular: "angular", + Polymer: "polymer", + Svelte: "svelte", + Sveltekit: "sveltekit", + Sveltekit1: "sveltekit-1", + IonicReact: "ionic-react", + CreateReactApp: "create-react-app", + Gridsome: "gridsome", + Umijs: "umijs", + Sapper: "sapper", + Saber: "saber", + Stencil: "stencil", + Nuxtjs: "nuxtjs", + Redwoodjs: "redwoodjs", + Hugo: "hugo", + Jekyll: "jekyll", + Brunch: "brunch", + Middleman: "middleman", + Zola: "zola", + Hydrogen: "hydrogen", + Vite: "vite", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", +} as const; +/** + * The framework that is being used for this project. When `null` is used no framework is selected + */ +export type CreateProjectFramework = ClosedEnum; + +/** + * The Git Provider of the repository + */ +export const CreateProjectProjectsType = { + Github: "github", + Gitlab: "gitlab", + Bitbucket: "bitbucket", +} as const; +/** + * The Git Provider of the repository + */ +export type CreateProjectProjectsType = ClosedEnum< + typeof CreateProjectProjectsType +>; + +/** + * The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed + */ +export type GitRepository = { + /** + * The name of the git repository. For example: \"vercel/next.js\" + */ + repo: string; + /** + * The Git Provider of the repository + */ + type: CreateProjectProjectsType; +}; + +/** + * team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` + */ +export const IssuerMode = { + Team: "team", + Global: "global", +} as const; +/** + * team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` + */ +export type IssuerMode = ClosedEnum; + +/** + * OpenID Connect JSON Web Token generation configuration. + */ +export type OidcTokenConfig = { + /** + * Whether or not to generate OpenID Connect JSON Web Tokens. + */ + enabled: boolean; + /** + * team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` + */ + issuerMode?: IssuerMode | undefined; +}; + +export type CreateProjectRequestBody = { + /** + * The build command for this project. When `null` is used this value will be automatically detected + */ + buildCommand?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + /** + * The dev command for this project. When `null` is used this value will be automatically detected + */ + devCommand?: string | null | undefined; + /** + * Collection of ENV Variables the Project will use + */ + environmentVariables?: Array | undefined; + /** + * The framework that is being used for this project. When `null` is used no framework is selected + */ + framework?: CreateProjectFramework | undefined; + /** + * The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed + */ + gitRepository?: GitRepository | undefined; + /** + * The install command for this project. When `null` is used this value will be automatically detected + */ + installCommand?: string | null | undefined; + /** + * The desired name for the project + */ + name: string; + /** + * Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + skipGitConnectDuringLink?: boolean | undefined; + /** + * The output directory of the project. When `null` is used this value will be automatically detected + */ + outputDirectory?: string | null | undefined; + /** + * Specifies whether the source code and logs of the deployments for this project should be public or not + */ + publicSource?: boolean | null | undefined; + /** + * The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root + */ + rootDirectory?: string | null | undefined; + /** + * The region to deploy Serverless Functions in this project + */ + serverlessFunctionRegion?: string | null | undefined; + /** + * Specifies whether Zero Config Failover is enabled for this project. + */ + serverlessFunctionZeroConfigFailover?: boolean | undefined; + /** + * OpenID Connect JSON Web Token generation configuration. + */ + oidcTokenConfig?: OidcTokenConfig | undefined; + /** + * Opt-in to skip deployments when there are no changes to the root directory and its dependencies + */ + enableAffectedProjectsDeployments?: boolean | undefined; +}; + +export type CreateProjectRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: CreateProjectRequestBody; +}; + +export type CreateProjectAnalytics = { + id: string; + canceledAt?: number | null | undefined; + disabledAt: number; + enabledAt: number; + paidAt?: number | undefined; + sampleRatePercent?: number | null | undefined; + spendLimitInDollars?: number | null | undefined; +}; + +export type CreateProjectSpeedInsights = { + id: string; + enabledAt?: number | undefined; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + hasData?: boolean | undefined; + paidAt?: number | undefined; +}; + +export type CreateProjectDefinitions = { + /** + * The hostname that should be used. + */ + host: string; + /** + * The path that should be called for the cronjob. + */ + path: string; + /** + * The cron expression. + */ + schedule: string; +}; + +export type CreateProjectCrons = { + /** + * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs. + */ + enabledAt: number; + /** + * The time the feature was disabled for this project. + */ + disabledAt: number | null; + updatedAt: number; + /** + * The ID of the Deployment from which the definitions originated. + */ + deploymentId: string | null; + definitions: Array; +}; + +export type CreateProjectDataCache = { + userDisabled: boolean; + storageSizeBytes?: number | null | undefined; + unlimited?: boolean | undefined; +}; + +export type CreateProjectDeploymentExpiration = { + expirationDays?: number | undefined; + expirationDaysProduction?: number | undefined; + expirationDaysCanceled?: number | undefined; + expirationDaysErrored?: number | undefined; + deploymentsToKeep?: number | undefined; +}; + +export const CreateProjectTarget2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type CreateProjectTarget2 = ClosedEnum; + +export type CreateProjectProjectsTarget = Array | CreateProjectTarget2; + +export const CreateProjectProjectsResponseType = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +export type CreateProjectProjectsResponseType = ClosedEnum< + typeof CreateProjectProjectsResponseType +>; + +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = + { + FlagsConnectionString: "flags-connection-string", + } as const; +export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = + ClosedEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type + >; + +export type ContentHint15 = { + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type; + projectId: string; +}; + +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type = + { + IntegrationStoreSecret: "integration-store-secret", + } as const; +export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type = + ClosedEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type + >; + +export type ContentHint14 = { + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type = + { + PostgresUrlNoSsl: "postgres-url-no-ssl", + } as const; +export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type = + ClosedEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type + >; + +export type ContentHint13 = { + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type; + storeId: string; +}; + +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type = + { + PostgresDatabase: "postgres-database", + } as const; +export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type = + ClosedEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type + >; + +export type ContentHint12 = { + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type; + storeId: string; +}; + +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type = + { + PostgresPassword: "postgres-password", + } as const; +export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type = + ClosedEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type + >; + +export type ContentHint11 = { + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type; + storeId: string; +}; + +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type = + { + PostgresHost: "postgres-host", + } as const; +export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type = + ClosedEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type + >; + +export type CreateProjectContentHint10 = { + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type; + storeId: string; +}; + +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type = + { + PostgresUser: "postgres-user", + } as const; +export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type = + ClosedEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type + >; + +export type CreateProjectContentHint9 = { + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type; + storeId: string; +}; + +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type = + { + PostgresPrismaUrl: "postgres-prisma-url", + } as const; +export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type = + ClosedEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type + >; + +export type CreateProjectContentHint8 = { + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type; + storeId: string; +}; + +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType = + { + PostgresUrlNonPooling: "postgres-url-non-pooling", + } as const; +export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType = + ClosedEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType + >; + +export type CreateProjectContentHint7 = { + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType; + storeId: string; +}; + +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType = + { + PostgresUrl: "postgres-url", + } as const; +export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType + >; + +export type CreateProjectContentHint6 = { + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType; + storeId: string; +}; + +export const CreateProjectContentHintProjectsResponse200ApplicationJSONType = { + BlobReadWriteToken: "blob-read-write-token", +} as const; +export type CreateProjectContentHintProjectsResponse200ApplicationJSONType = + ClosedEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONType + >; + +export type CreateProjectContentHint5 = { + type: CreateProjectContentHintProjectsResponse200ApplicationJSONType; + storeId: string; +}; + +export const CreateProjectContentHintProjectsResponse200Type = { + RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", +} as const; +export type CreateProjectContentHintProjectsResponse200Type = ClosedEnum< + typeof CreateProjectContentHintProjectsResponse200Type +>; + +export type CreateProjectContentHint4 = { + type: CreateProjectContentHintProjectsResponse200Type; + storeId: string; +}; + +export const CreateProjectContentHintProjectsResponseType = { + RedisRestApiToken: "redis-rest-api-token", +} as const; +export type CreateProjectContentHintProjectsResponseType = ClosedEnum< + typeof CreateProjectContentHintProjectsResponseType +>; + +export type CreateProjectContentHint3 = { + type: CreateProjectContentHintProjectsResponseType; + storeId: string; +}; + +export const CreateProjectContentHintProjectsType = { + RedisRestApiUrl: "redis-rest-api-url", +} as const; +export type CreateProjectContentHintProjectsType = ClosedEnum< + typeof CreateProjectContentHintProjectsType +>; + +export type CreateProjectContentHint2 = { + type: CreateProjectContentHintProjectsType; + storeId: string; +}; + +export const CreateProjectContentHintType = { + RedisUrl: "redis-url", +} as const; +export type CreateProjectContentHintType = ClosedEnum< + typeof CreateProjectContentHintType +>; + +export type CreateProjectContentHint1 = { + type: CreateProjectContentHintType; + storeId: string; +}; + +export type CreateProjectContentHint = + | CreateProjectContentHint1 + | CreateProjectContentHint2 + | CreateProjectContentHint3 + | CreateProjectContentHint4 + | CreateProjectContentHint5 + | CreateProjectContentHint6 + | CreateProjectContentHint7 + | CreateProjectContentHint8 + | CreateProjectContentHint9 + | CreateProjectContentHint10 + | ContentHint11 + | ContentHint12 + | ContentHint13 + | ContentHint15 + | ContentHint14; + +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType = + { + FlagsSecret: "flags-secret", + } as const; +export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType = + ClosedEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType + >; + +/** + * Similar to `contentHints`, but should not be exposed to the user. + */ +export type CreateProjectInternalContentHint = { + type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType; + /** + * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. + */ + encryptedValue: string; +}; + +export type CreateProjectEnv = { + target?: Array | CreateProjectTarget2 | undefined; + type: CreateProjectProjectsResponseType; + /** + * This is used to identiy variables that have been migrated from type secret to sensitive. + */ + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | CreateProjectContentHint1 + | CreateProjectContentHint2 + | CreateProjectContentHint3 + | CreateProjectContentHint4 + | CreateProjectContentHint5 + | CreateProjectContentHint6 + | CreateProjectContentHint7 + | CreateProjectContentHint8 + | CreateProjectContentHint9 + | CreateProjectContentHint10 + | ContentHint11 + | ContentHint12 + | ContentHint13 + | ContentHint15 + | ContentHint14 + | null + | undefined; + /** + * Similar to `contentHints`, but should not be exposed to the user. + */ + internalContentHint?: CreateProjectInternalContentHint | null | undefined; + /** + * Whether `value` and `vsmValue` are decrypted. + */ + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +export type CreateProjectCustomEnvironments = {}; + +export const CreateProjectProjectsFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + Astro: "astro", + Hexo: "hexo", + Eleventy: "eleventy", + Docusaurus2: "docusaurus-2", + Docusaurus: "docusaurus", + Preact: "preact", + Solidstart1: "solidstart-1", + Solidstart: "solidstart", + Dojo: "dojo", + Ember: "ember", + Vue: "vue", + Scully: "scully", + IonicAngular: "ionic-angular", + Angular: "angular", + Polymer: "polymer", + Svelte: "svelte", + Sveltekit: "sveltekit", + Sveltekit1: "sveltekit-1", + IonicReact: "ionic-react", + CreateReactApp: "create-react-app", + Gridsome: "gridsome", + Umijs: "umijs", + Sapper: "sapper", + Saber: "saber", + Stencil: "stencil", + Nuxtjs: "nuxtjs", + Redwoodjs: "redwoodjs", + Hugo: "hugo", + Jekyll: "jekyll", + Brunch: "brunch", + Middleman: "middleman", + Zola: "zola", + Hydrogen: "hydrogen", + Vite: "vite", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", +} as const; +export type CreateProjectProjectsFramework = ClosedEnum< + typeof CreateProjectProjectsFramework +>; + +export type CreateProjectIpBuckets = { + bucket: string; + supportUntil?: number | undefined; +}; + +export type CreateProjectAliasAssigned = number | boolean; + +export type CreateProjectAliasError = { + code: string; + message: string; +}; + +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType = + { + EndsWith: "endsWith", + StartsWith: "startsWith", + Equals: "equals", + } as const; +export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType = + ClosedEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType + >; + +export type CreateProjectBranchMatcher = { + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType; + pattern: string; +}; + +export type CreateProjectBuilds = { + use: string; + src?: string | undefined; + dest?: string | undefined; +}; + +export const CreateProjectChecksConclusion = { + Succeeded: "succeeded", + Failed: "failed", + Skipped: "skipped", + Canceled: "canceled", +} as const; +export type CreateProjectChecksConclusion = ClosedEnum< + typeof CreateProjectChecksConclusion +>; + +export const CreateProjectChecksState = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +export type CreateProjectChecksState = ClosedEnum< + typeof CreateProjectChecksState +>; + +export type CreateProjectCreator = { + email: string; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; + uid: string; + username: string; +}; + +export type CreateProjectOidcTokenClaims = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + ownerId: string; + project: string; + projectId: string; + environment: string; +}; + +export const CreateProjectPlan = { + Pro: "pro", + Enterprise: "enterprise", + Hobby: "hobby", +} as const; +export type CreateProjectPlan = ClosedEnum; + +export const CreateProjectReadyState = { + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Queued: "QUEUED", + Ready: "READY", + Canceled: "CANCELED", +} as const; +export type CreateProjectReadyState = ClosedEnum< + typeof CreateProjectReadyState +>; + +export const CreateProjectReadySubstate = { + Staged: "STAGED", + Promoted: "PROMOTED", +} as const; +export type CreateProjectReadySubstate = ClosedEnum< + typeof CreateProjectReadySubstate +>; + +export const CreateProjectProjectsResponse200Type = { + Lambdas: "LAMBDAS", +} as const; +export type CreateProjectProjectsResponse200Type = ClosedEnum< + typeof CreateProjectProjectsResponse200Type +>; + +export type CreateProjectLatestDeployments = { + id: string; + alias?: Array | undefined; + aliasAssigned?: number | boolean | null | undefined; + aliasError?: CreateProjectAliasError | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + branchMatcher?: CreateProjectBranchMatcher | undefined; + buildingAt?: number | undefined; + builds?: Array | undefined; + checksConclusion?: CreateProjectChecksConclusion | undefined; + checksState?: CreateProjectChecksState | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdAt: number; + createdIn: string; + creator: CreateProjectCreator | null; + deletedAt?: number | undefined; + deploymentHostname: string; + forced?: boolean | undefined; + name: string; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + oidcTokenClaims?: CreateProjectOidcTokenClaims | undefined; + plan: CreateProjectPlan; + /** + * Whether or not preview comments are enabled for the deployment + */ + previewCommentsEnabled?: boolean | undefined; + private: boolean; + readyAt?: number | undefined; + readyState: CreateProjectReadyState; + readySubstate?: CreateProjectReadySubstate | undefined; + requestedAt?: number | undefined; + target?: string | null | undefined; + teamId?: string | null | undefined; + type: CreateProjectProjectsResponse200Type; + url: string; + userId: string; + withCache?: boolean | undefined; +}; + +export const CreateProjectLinkProjectsResponseType = { + Bitbucket: "bitbucket", +} as const; +export type CreateProjectLinkProjectsResponseType = ClosedEnum< + typeof CreateProjectLinkProjectsResponseType +>; + +export type CreateProjectLinkProjectsResponseDeployHooks = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +export type CreateProjectLink3 = { + name?: string | undefined; + slug?: string | undefined; + owner?: string | undefined; + type?: CreateProjectLinkProjectsResponseType | undefined; + uuid?: string | undefined; + workspaceUuid?: string | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +export const CreateProjectLinkProjectsType = { + Gitlab: "gitlab", +} as const; +export type CreateProjectLinkProjectsType = ClosedEnum< + typeof CreateProjectLinkProjectsType +>; + +export type CreateProjectLinkProjectsDeployHooks = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +export type CreateProjectLink2 = { + projectId?: string | undefined; + projectName?: string | undefined; + projectNameWithNamespace?: string | undefined; + projectNamespace?: string | undefined; + /** + * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. This is the id of the top level group that a namespace belongs to. Gitlab supports group nesting (up to 20 levels). + */ + projectOwnerId?: number | undefined; + projectUrl?: string | undefined; + type?: CreateProjectLinkProjectsType | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +export const CreateProjectLinkType = { + Github: "github", +} as const; +export type CreateProjectLinkType = ClosedEnum; + +export type CreateProjectLinkDeployHooks = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +export type CreateProjectLink1 = { + org?: string | undefined; + /** + * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. + */ + repoOwnerId?: number | undefined; + repo?: string | undefined; + repoId?: number | undefined; + type?: CreateProjectLinkType | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +export type CreateProjectLink = + | CreateProjectLink1 + | CreateProjectLink3 + | CreateProjectLink2; + +export type CreateProjectMicrofrontends = { + /** + * Timestamp when the microfrontends settings were last updated. + */ + updatedAt: number; + /** + * The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. + */ + groupIds: Array; + /** + * Whether microfrontends are enabled for this project. + */ + enabled: boolean; + /** + * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. + */ + isDefaultApp?: boolean | undefined; + /** + * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. + */ + defaultRoute?: string | undefined; +}; + +export const CreateProjectNodeVersion = { + TwentyTwoX: "22.x", + TwentyX: "20.x", + EighteenX: "18.x", + SixteenX: "16.x", + FourteenX: "14.x", + TwelveX: "12.x", + TenX: "10.x", + Eight10X: "8.10.x", +} as const; +export type CreateProjectNodeVersion = ClosedEnum< + typeof CreateProjectNodeVersion +>; + +export type CreateProjectPaths = { + value: string; +}; + +export type CreateProjectOptionsAllowlist = { + paths: Array; +}; + +export type CreateProjectPasswordProtection = {}; + +export const CreateProjectFunctionDefaultMemoryType = { + StandardLegacy: "standard_legacy", + Standard: "standard", + Performance: "performance", +} as const; +export type CreateProjectFunctionDefaultMemoryType = ClosedEnum< + typeof CreateProjectFunctionDefaultMemoryType +>; + +export type CreateProjectResourceConfig = { + functionDefaultTimeout?: number | undefined; + functionDefaultMemoryType?: + | CreateProjectFunctionDefaultMemoryType + | undefined; + allowServerlessConcurrency?: boolean | undefined; + elasticConcurrencyEnabled?: boolean | undefined; +}; + +export const CreateProjectDeploymentType = { + Preview: "preview", + All: "all", + ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", +} as const; +export type CreateProjectDeploymentType = ClosedEnum< + typeof CreateProjectDeploymentType +>; + +export type CreateProjectSsoProtection = { + deploymentType: CreateProjectDeploymentType; +}; + +export type CreateProjectProjectsAliasAssigned = number | boolean; + +export type CreateProjectProjectsAliasError = { + code: string; + message: string; +}; + +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType = + { + EndsWith: "endsWith", + StartsWith: "startsWith", + Equals: "equals", + } as const; +export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType = + ClosedEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType + >; + +export type CreateProjectProjectsBranchMatcher = { + type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType; + pattern: string; +}; + +export type CreateProjectProjectsBuilds = { + use: string; + src?: string | undefined; + dest?: string | undefined; +}; + +export const CreateProjectProjectsChecksConclusion = { + Succeeded: "succeeded", + Failed: "failed", + Skipped: "skipped", + Canceled: "canceled", +} as const; +export type CreateProjectProjectsChecksConclusion = ClosedEnum< + typeof CreateProjectProjectsChecksConclusion +>; + +export const CreateProjectProjectsChecksState = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +export type CreateProjectProjectsChecksState = ClosedEnum< + typeof CreateProjectProjectsChecksState +>; + +export type CreateProjectProjectsCreator = { + email: string; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; + uid: string; + username: string; +}; + +export type CreateProjectProjectsOidcTokenClaims = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + ownerId: string; + project: string; + projectId: string; + environment: string; +}; + +export const CreateProjectProjectsPlan = { + Pro: "pro", + Enterprise: "enterprise", + Hobby: "hobby", +} as const; +export type CreateProjectProjectsPlan = ClosedEnum< + typeof CreateProjectProjectsPlan +>; + +export const CreateProjectProjectsReadyState = { + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Queued: "QUEUED", + Ready: "READY", + Canceled: "CANCELED", +} as const; +export type CreateProjectProjectsReadyState = ClosedEnum< + typeof CreateProjectProjectsReadyState +>; + +export const CreateProjectProjectsReadySubstate = { + Staged: "STAGED", + Promoted: "PROMOTED", +} as const; +export type CreateProjectProjectsReadySubstate = ClosedEnum< + typeof CreateProjectProjectsReadySubstate +>; + +export const CreateProjectProjectsResponse200ApplicationJSONType = { + Lambdas: "LAMBDAS", +} as const; +export type CreateProjectProjectsResponse200ApplicationJSONType = ClosedEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONType +>; + +export type CreateProjectTargets = { + id: string; + alias?: Array | undefined; + aliasAssigned?: number | boolean | null | undefined; + aliasError?: CreateProjectProjectsAliasError | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + branchMatcher?: CreateProjectProjectsBranchMatcher | undefined; + buildingAt?: number | undefined; + builds?: Array | undefined; + checksConclusion?: CreateProjectProjectsChecksConclusion | undefined; + checksState?: CreateProjectProjectsChecksState | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdAt: number; + createdIn: string; + creator: CreateProjectProjectsCreator | null; + deletedAt?: number | undefined; + deploymentHostname: string; + forced?: boolean | undefined; + name: string; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + oidcTokenClaims?: CreateProjectProjectsOidcTokenClaims | undefined; + plan: CreateProjectProjectsPlan; + /** + * Whether or not preview comments are enabled for the deployment + */ + previewCommentsEnabled?: boolean | undefined; + private: boolean; + readyAt?: number | undefined; + readyState: CreateProjectProjectsReadyState; + readySubstate?: CreateProjectProjectsReadySubstate | undefined; + requestedAt?: number | undefined; + target?: string | null | undefined; + teamId?: string | null | undefined; + type: CreateProjectProjectsResponse200ApplicationJSONType; + url: string; + userId: string; + withCache?: boolean | undefined; +}; + +export type CreateProjectPermissions = { + accessGroup?: Array | undefined; + aliasGlobal?: Array | undefined; + analyticsSampling?: Array | undefined; + analyticsUsage?: Array | undefined; + auditLog?: Array | undefined; + billingAddress?: Array | undefined; + billingInformation?: Array | undefined; + billingInvoice?: Array | undefined; + billingInvoiceEmailRecipient?: Array | undefined; + billingInvoiceLanguage?: Array | undefined; + billingPlan?: Array | undefined; + billingPurchaseOrder?: Array | undefined; + billingTaxId?: Array | undefined; + blob?: Array | undefined; + budget?: Array | undefined; + cacheArtifact?: Array | undefined; + cacheArtifactUsageEvent?: Array | undefined; + codeChecks?: Array | undefined; + concurrentBuilds?: Array | undefined; + connect?: Array | undefined; + connectConfiguration?: Array | undefined; + domain?: Array | undefined; + domainAcceptDelegation?: Array | undefined; + domainAuthCodes?: Array | undefined; + domainCertificate?: Array | undefined; + domainCheckConfig?: Array | undefined; + domainMove?: Array | undefined; + domainPurchase?: Array | undefined; + domainRecord?: Array | undefined; + domainTransferIn?: Array | undefined; + event?: Array | undefined; + ownEvent?: Array | undefined; + sensitiveEnvironmentVariablePolicy?: Array | undefined; + fileUpload?: Array | undefined; + gitRepository?: Array | undefined; + ipBlocking?: Array | undefined; + integration?: Array | undefined; + integrationAccount?: Array | undefined; + integrationConfiguration?: Array | undefined; + integrationConfigurationTransfer?: Array | undefined; + integrationConfigurationProjects?: Array | undefined; + integrationVercelConfigurationOverride?: Array | undefined; + integrationConfigurationRole?: Array | undefined; + integrationResource?: Array | undefined; + integrationEvent?: Array | undefined; + integrationResourceSecrets?: Array | undefined; + integrationDeploymentAction?: Array | undefined; + marketplaceInstallationMember?: Array | undefined; + marketplaceBillingData?: Array | undefined; + marketplaceInvoice?: Array | undefined; + jobGlobal?: Array | undefined; + logDrain?: Array | undefined; + monitoring?: Array | undefined; + monitoringSettings?: Array | undefined; + monitoringQuery?: Array | undefined; + monitoringChart?: Array | undefined; + monitoringAlert?: Array | undefined; + notificationDeploymentFailed?: Array | undefined; + notificationDomainConfiguration?: Array | undefined; + notificationDomainExpire?: Array | undefined; + notificationDomainMoved?: Array | undefined; + notificationDomainPurchase?: Array | undefined; + notificationDomainRenewal?: Array | undefined; + notificationDomainTransfer?: Array | undefined; + notificationDomainUnverified?: Array | undefined; + notificationMonitoringAlert?: Array | undefined; + notificationPaymentFailed?: Array | undefined; + notificationUsageAlert?: Array | undefined; + notificationCustomerBudget?: Array | undefined; + notificationStatementOfReasons?: Array | undefined; + oauth2Connection?: Array | undefined; + observabilityConfiguration?: Array | undefined; + openTelemetryEndpoint?: Array | undefined; + paymentMethod?: Array | undefined; + permissions?: Array | undefined; + postgres?: Array | undefined; + previewDeploymentSuffix?: Array | undefined; + proTrialOnboarding?: Array | undefined; + sharedEnvVars?: Array | undefined; + sharedEnvVarsProduction?: Array | undefined; + space?: Array | undefined; + spaceRun?: Array | undefined; + passwordProtectionInvoiceItem?: Array | undefined; + rateLimit?: Array | undefined; + redis?: Array | undefined; + repository?: Array | undefined; + remoteCaching?: Array | undefined; + samlConfig?: Array | undefined; + secret?: Array | undefined; + redisStoreTokenSet?: Array | undefined; + blobStoreTokenSet?: Array | undefined; + postgresStoreTokenSet?: Array | undefined; + integrationStoreTokenSet?: Array | undefined; + integrationResourceReplCommand?: Array | undefined; + storeTransfer?: Array | undefined; + supportCase?: Array | undefined; + supportCaseComment?: Array | undefined; + dataCacheBillingSettings?: Array | undefined; + team?: Array | undefined; + teamAccessRequest?: Array | undefined; + teamFellowMembership?: Array | undefined; + teamGitExclusivity?: Array | undefined; + teamInvite?: Array | undefined; + teamInviteCode?: Array | undefined; + teamJoin?: Array | undefined; + teamMicrofrontends?: Array | undefined; + teamOwnMembership?: Array | undefined; + teamOwnMembershipDisconnectSAML?: Array | undefined; + token?: Array | undefined; + usage?: Array | undefined; + usageCycle?: Array | undefined; + user?: Array | undefined; + userConnection?: Array | undefined; + vpcPeeringConnection?: Array | undefined; + webAnalyticsPlan?: Array | undefined; + webAuthn?: Array | undefined; + edgeConfig?: Array | undefined; + edgeConfigItem?: Array | undefined; + edgeConfigSchema?: Array | undefined; + edgeConfigToken?: Array | undefined; + webhook?: Array | undefined; + webhookEvent?: Array | undefined; + endpointVerification?: Array | undefined; + projectTransferIn?: Array | undefined; + oauth2Application?: Array | undefined; + aliasProject?: Array | undefined; + aliasProtectionBypass?: Array | undefined; + productionAliasProtectionBypass?: Array | undefined; + connectConfigurationLink?: Array | undefined; + dataCacheNamespace?: Array | undefined; + deployment?: Array | undefined; + deploymentCheck?: Array | undefined; + deploymentCheckPreview?: Array | undefined; + deploymentCheckReRunFromProductionBranch?: Array | undefined; + deploymentProductionGit?: Array | undefined; + deploymentV0?: Array | undefined; + deploymentPreview?: Array | undefined; + deploymentPrivate?: Array | undefined; + deploymentPromote?: Array | undefined; + deploymentRollback?: Array | undefined; + environments?: Array | undefined; + logs?: Array | undefined; + logsPreset?: Array | undefined; + passwordProtection?: Array | undefined; + optionsAllowlist?: Array | undefined; + job?: Array | undefined; + observabilityData?: Array | undefined; + project?: Array | undefined; + projectFromV0?: Array | undefined; + projectAccessGroup?: Array | undefined; + projectAnalyticsSampling?: Array | undefined; + projectDeploymentHook?: Array | undefined; + projectDomain?: Array | undefined; + projectDomainMove?: Array | undefined; + projectDomainCheckConfig?: Array | undefined; + projectEnvVars?: Array | undefined; + projectEnvVarsProduction?: Array | undefined; + projectEnvVarsUnownedByIntegration?: Array | undefined; + projectFlags?: Array | undefined; + projectId?: Array | undefined; + projectIntegrationConfiguration?: Array | undefined; + projectLink?: Array | undefined; + projectMember?: Array | undefined; + projectMonitoring?: Array | undefined; + projectPermissions?: Array | undefined; + projectProductionBranch?: Array | undefined; + projectTransfer?: Array | undefined; + projectTransferOut?: Array | undefined; + projectProtectionBypass?: Array | undefined; + projectUsage?: Array | undefined; + projectAnalyticsUsage?: Array | undefined; + projectSupportCase?: Array | undefined; + projectSupportCaseComment?: Array | undefined; + projectDeploymentExpiration?: Array | undefined; + projectTier?: Array | undefined; + seawallConfig?: Array | undefined; + skewProtection?: Array | undefined; + analytics?: Array | undefined; + trustedIps?: Array | undefined; + webAnalytics?: Array | undefined; + sharedEnvVarConnection?: Array | undefined; + sonar?: Array | undefined; +}; + +export type CreateProjectLastRollbackTarget = {}; + +export const CreateProjectJobStatus = { + Succeeded: "succeeded", + Failed: "failed", + Skipped: "skipped", + Pending: "pending", + InProgress: "in-progress", +} as const; +export type CreateProjectJobStatus = ClosedEnum; + +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType = { + Promote: "promote", + Rollback: "rollback", +} as const; +export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType + >; + +export type CreateProjectLastAliasRequest = { + fromDeploymentId: string; + toDeploymentId: string; + jobStatus: CreateProjectJobStatus; + requestedAt: number; + type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyType; +}; + +export const CreateProjectScope = { + AutomationBypass: "automation-bypass", +} as const; +export type CreateProjectScope = ClosedEnum; + +export type CreateProjectProtectionBypass = { + createdAt: number; + createdBy: string; + scope: CreateProjectScope; +}; + +export const CreateProjectTrustedIpsProjectsDeploymentType = { + Production: "production", + Preview: "preview", + All: "all", + ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", +} as const; +export type CreateProjectTrustedIpsProjectsDeploymentType = ClosedEnum< + typeof CreateProjectTrustedIpsProjectsDeploymentType +>; + +export type CreateProjectTrustedIps2 = { + deploymentType: CreateProjectTrustedIpsProjectsDeploymentType; +}; + +export const CreateProjectTrustedIpsDeploymentType = { + Production: "production", + Preview: "preview", + All: "all", + ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", +} as const; +export type CreateProjectTrustedIpsDeploymentType = ClosedEnum< + typeof CreateProjectTrustedIpsDeploymentType +>; + +export type TrustedIpsAddresses = { + value: string; + note?: string | undefined; +}; + +export const TrustedIpsProtectionMode = { + Additional: "additional", + Exclusive: "exclusive", +} as const; +export type TrustedIpsProtectionMode = ClosedEnum< + typeof TrustedIpsProtectionMode +>; + +export type CreateProjectTrustedIps1 = { + deploymentType: CreateProjectTrustedIpsDeploymentType; + addresses: Array; + protectionMode: TrustedIpsProtectionMode; +}; + +export type CreateProjectTrustedIps = + | CreateProjectTrustedIps2 + | CreateProjectTrustedIps1; + +export type CreateProjectGitComments = { + /** + * Whether the Vercel bot should comment on PRs + */ + onPullRequest: boolean; + /** + * Whether the Vercel bot should comment on commits + */ + onCommit: boolean; +}; + +export type CreateProjectWebAnalytics = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; +}; + +export type CreateProjectSrc2 = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +export type CreateProjectSrc = CreateProjectSrc2 | string; + +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType = + { + Path: "path", + Host: "host", + Method: "method", + Header: "header", + Cookie: "cookie", + Query: "query", + IpAddress: "ip_address", + Protocol: "protocol", + Scheme: "scheme", + Environment: "environment", + Region: "region", + InitialRequestPath: "initial_request_path", + } as const; +export type CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType = + ClosedEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType + >; + +export type CreateProjectValue2 = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +export type CreateProjectValue = CreateProjectValue2 | string; + +export type CreateProjectHas = { + type: CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType; + key?: string | undefined; + value?: CreateProjectValue2 | string | undefined; +}; + +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = + { + Path: "path", + Host: "host", + Method: "method", + Header: "header", + Cookie: "cookie", + Query: "query", + IpAddress: "ip_address", + Protocol: "protocol", + Scheme: "scheme", + Environment: "environment", + Region: "region", + InitialRequestPath: "initial_request_path", + } as const; +export type CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = + ClosedEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType + >; + +export type CreateProjectValueProjects2 = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +export type CreateProjectProjectsValue = CreateProjectValueProjects2 | string; + +export type CreateProjectMissing = { + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType; + key?: string | undefined; + value?: CreateProjectValueProjects2 | string | undefined; +}; + +export const CreateProjectHandle = { + Init: "init", + Finalize: "finalize", +} as const; +export type CreateProjectHandle = ClosedEnum; + +export const CreateProjectAction = { + Deny: "deny", + Challenge: "challenge", + Log: "log", + Bypass: "bypass", + RateLimit: "rate_limit", + Redirect: "redirect", +} as const; +export type CreateProjectAction = ClosedEnum; + +export const CreateProjectAlgo = { + FixedWindow: "fixed_window", + TokenBucket: "token_bucket", +} as const; +export type CreateProjectAlgo = ClosedEnum; + +export type CreateProjectErl = { + algo: CreateProjectAlgo; + window: number; + limit: number; + keys: Array; +}; + +export type CreateProjectMitigate = { + action: CreateProjectAction; + ruleId: string; + ttl?: number | undefined; + erl?: CreateProjectErl | undefined; +}; + +export type CreateProjectFirewallRoutes = { + src?: CreateProjectSrc2 | string | undefined; + has?: Array | undefined; + missing?: Array | undefined; + dest?: string | undefined; + status?: number | undefined; + handle?: CreateProjectHandle | undefined; + mitigate?: CreateProjectMitigate | undefined; +}; + +export type CreateProjectSecurity = { + attackModeEnabled?: boolean | undefined; + attackModeUpdatedAt?: number | undefined; + firewallEnabled?: boolean | undefined; + firewallUpdatedAt?: number | undefined; + attackModeActiveUntil?: number | null | undefined; + firewallConfigVersion?: number | undefined; + firewallRoutes?: Array | undefined; + firewallSeawallEnabled?: boolean | undefined; + ja3Enabled?: boolean | undefined; + ja4Enabled?: boolean | undefined; + firewallBypassIps?: Array | undefined; +}; + +/** + * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` + */ +export const CreateProjectIssuerMode = { + Team: "team", + Global: "global", +} as const; +/** + * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` + */ +export type CreateProjectIssuerMode = ClosedEnum< + typeof CreateProjectIssuerMode +>; + +export type CreateProjectOidcTokenConfig = { + enabled: boolean; + /** + * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` + */ + issuerMode?: CreateProjectIssuerMode | undefined; +}; + +export const CreateProjectTier = { + Standard: "standard", + Advanced: "advanced", + Critical: "critical", +} as const; +export type CreateProjectTier = ClosedEnum; + +/** + * The project was successfuly created + */ +export type CreateProjectResponseBody = { + accountId: string; + analytics?: CreateProjectAnalytics | undefined; + speedInsights?: CreateProjectSpeedInsights | undefined; + autoExposeSystemEnvs?: boolean | undefined; + autoAssignCustomDomains?: boolean | undefined; + autoAssignCustomDomainsUpdatedBy?: string | undefined; + buildCommand?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + connectConfigurationId?: string | null | undefined; + connectBuildsEnabled?: boolean | undefined; + createdAt?: number | undefined; + customerSupportCodeVisibility?: boolean | undefined; + crons?: CreateProjectCrons | undefined; + dataCache?: CreateProjectDataCache | undefined; + deploymentExpiration?: CreateProjectDeploymentExpiration | null | undefined; + devCommand?: string | null | undefined; + directoryListing: boolean; + installCommand?: string | null | undefined; + env?: Array | undefined; + customEnvironments?: Array | undefined; + framework?: CreateProjectProjectsFramework | null | undefined; + gitForkProtection?: boolean | undefined; + gitLFS?: boolean | undefined; + id: string; + ipBuckets?: Array | undefined; + latestDeployments?: Array | undefined; + link?: + | CreateProjectLink1 + | CreateProjectLink3 + | CreateProjectLink2 + | undefined; + microfrontends?: CreateProjectMicrofrontends | undefined; + name: string; + nodeVersion: CreateProjectNodeVersion; + optionsAllowlist?: CreateProjectOptionsAllowlist | null | undefined; + outputDirectory?: string | null | undefined; + passiveConnectConfigurationId?: string | null | undefined; + passwordProtection?: CreateProjectPasswordProtection | null | undefined; + productionDeploymentsFastLane?: boolean | undefined; + publicSource?: boolean | null | undefined; + resourceConfig?: CreateProjectResourceConfig | undefined; + rootDirectory?: string | null | undefined; + serverlessFunctionRegion?: string | null | undefined; + serverlessFunctionZeroConfigFailover?: boolean | undefined; + skewProtectionBoundaryAt?: number | undefined; + skewProtectionMaxAge?: number | undefined; + skipGitConnectDuringLink?: boolean | undefined; + sourceFilesOutsideRootDirectory?: boolean | undefined; + enableAffectedProjectsDeployments?: boolean | undefined; + ssoProtection?: CreateProjectSsoProtection | null | undefined; + targets?: { [k: string]: CreateProjectTargets } | undefined; + transferCompletedAt?: number | undefined; + transferStartedAt?: number | undefined; + transferToAccountId?: string | undefined; + transferredFromAccountId?: string | undefined; + updatedAt?: number | undefined; + live?: boolean | undefined; + enablePreviewFeedback?: boolean | null | undefined; + enableProductionFeedback?: boolean | null | undefined; + permissions?: CreateProjectPermissions | undefined; + lastRollbackTarget?: CreateProjectLastRollbackTarget | null | undefined; + lastAliasRequest?: CreateProjectLastAliasRequest | null | undefined; + hasFloatingAliases?: boolean | undefined; + protectionBypass?: { [k: string]: CreateProjectProtectionBypass } | undefined; + hasActiveBranches?: boolean | undefined; + trustedIps?: + | CreateProjectTrustedIps2 + | CreateProjectTrustedIps1 + | null + | undefined; + gitComments?: CreateProjectGitComments | undefined; + paused?: boolean | undefined; + concurrencyBucketName?: string | undefined; + webAnalytics?: CreateProjectWebAnalytics | undefined; + security?: CreateProjectSecurity | undefined; + oidcTokenConfig?: CreateProjectOidcTokenConfig | undefined; + tier?: CreateProjectTier | undefined; +}; + +/** @internal */ +export const Target2$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Target2); + +/** @internal */ +export const Target2$outboundSchema: z.ZodNativeEnum = + Target2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Target2$ { + /** @deprecated use `Target2$inboundSchema` instead. */ + export const inboundSchema = Target2$inboundSchema; + /** @deprecated use `Target2$outboundSchema` instead. */ + export const outboundSchema = Target2$outboundSchema; +} + +/** @internal */ +export const Target1$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Target1); + +/** @internal */ +export const Target1$outboundSchema: z.ZodNativeEnum = + Target1$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Target1$ { + /** @deprecated use `Target1$inboundSchema` instead. */ + export const inboundSchema = Target1$inboundSchema; + /** @deprecated use `Target1$outboundSchema` instead. */ + export const outboundSchema = Target1$outboundSchema; +} + +/** @internal */ +export const CreateProjectTarget$inboundSchema: z.ZodType< + CreateProjectTarget, + z.ZodTypeDef, + unknown +> = z.union([Target1$inboundSchema, z.array(Target2$inboundSchema)]); + +/** @internal */ +export type CreateProjectTarget$Outbound = string | Array; + +/** @internal */ +export const CreateProjectTarget$outboundSchema: z.ZodType< + CreateProjectTarget$Outbound, + z.ZodTypeDef, + CreateProjectTarget +> = z.union([Target1$outboundSchema, z.array(Target2$outboundSchema)]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectTarget$ { + /** @deprecated use `CreateProjectTarget$inboundSchema` instead. */ + export const inboundSchema = CreateProjectTarget$inboundSchema; + /** @deprecated use `CreateProjectTarget$outboundSchema` instead. */ + export const outboundSchema = CreateProjectTarget$outboundSchema; + /** @deprecated use `CreateProjectTarget$Outbound` instead. */ + export type Outbound = CreateProjectTarget$Outbound; +} + +export function createProjectTargetToJSON( + createProjectTarget: CreateProjectTarget, +): string { + return JSON.stringify( + CreateProjectTarget$outboundSchema.parse(createProjectTarget), + ); +} + +export function createProjectTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectTarget' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectType$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectType +> = z.nativeEnum(CreateProjectType); + +/** @internal */ +export const CreateProjectType$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectType +> = CreateProjectType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectType$ { + /** @deprecated use `CreateProjectType$inboundSchema` instead. */ + export const inboundSchema = CreateProjectType$inboundSchema; + /** @deprecated use `CreateProjectType$outboundSchema` instead. */ + export const outboundSchema = CreateProjectType$outboundSchema; +} + +/** @internal */ +export const EnvironmentVariables$inboundSchema: z.ZodType< + EnvironmentVariables, + z.ZodTypeDef, + unknown +> = z.object({ + key: z.string(), + target: z.union([Target1$inboundSchema, z.array(Target2$inboundSchema)]), + gitBranch: z.string().optional(), + type: CreateProjectType$inboundSchema.optional(), + value: z.string(), +}); + +/** @internal */ +export type EnvironmentVariables$Outbound = { + key: string; + target: string | Array; + gitBranch?: string | undefined; + type?: string | undefined; + value: string; +}; + +/** @internal */ +export const EnvironmentVariables$outboundSchema: z.ZodType< + EnvironmentVariables$Outbound, + z.ZodTypeDef, + EnvironmentVariables +> = z.object({ + key: z.string(), + target: z.union([Target1$outboundSchema, z.array(Target2$outboundSchema)]), + gitBranch: z.string().optional(), + type: CreateProjectType$outboundSchema.optional(), + value: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EnvironmentVariables$ { + /** @deprecated use `EnvironmentVariables$inboundSchema` instead. */ + export const inboundSchema = EnvironmentVariables$inboundSchema; + /** @deprecated use `EnvironmentVariables$outboundSchema` instead. */ + export const outboundSchema = EnvironmentVariables$outboundSchema; + /** @deprecated use `EnvironmentVariables$Outbound` instead. */ + export type Outbound = EnvironmentVariables$Outbound; +} + +export function environmentVariablesToJSON( + environmentVariables: EnvironmentVariables, +): string { + return JSON.stringify( + EnvironmentVariables$outboundSchema.parse(environmentVariables), + ); +} + +export function environmentVariablesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EnvironmentVariables$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EnvironmentVariables' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectFramework$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectFramework +> = z.nativeEnum(CreateProjectFramework); + +/** @internal */ +export const CreateProjectFramework$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectFramework +> = CreateProjectFramework$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectFramework$ { + /** @deprecated use `CreateProjectFramework$inboundSchema` instead. */ + export const inboundSchema = CreateProjectFramework$inboundSchema; + /** @deprecated use `CreateProjectFramework$outboundSchema` instead. */ + export const outboundSchema = CreateProjectFramework$outboundSchema; +} + +/** @internal */ +export const CreateProjectProjectsType$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectProjectsType +> = z.nativeEnum(CreateProjectProjectsType); + +/** @internal */ +export const CreateProjectProjectsType$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectProjectsType +> = CreateProjectProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsType$ { + /** @deprecated use `CreateProjectProjectsType$inboundSchema` instead. */ + export const inboundSchema = CreateProjectProjectsType$inboundSchema; + /** @deprecated use `CreateProjectProjectsType$outboundSchema` instead. */ + export const outboundSchema = CreateProjectProjectsType$outboundSchema; +} + +/** @internal */ +export const GitRepository$inboundSchema: z.ZodType< + GitRepository, + z.ZodTypeDef, + unknown +> = z.object({ + repo: z.string(), + type: CreateProjectProjectsType$inboundSchema, +}); + +/** @internal */ +export type GitRepository$Outbound = { + repo: string; + type: string; +}; + +/** @internal */ +export const GitRepository$outboundSchema: z.ZodType< + GitRepository$Outbound, + z.ZodTypeDef, + GitRepository +> = z.object({ + repo: z.string(), + type: CreateProjectProjectsType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitRepository$ { + /** @deprecated use `GitRepository$inboundSchema` instead. */ + export const inboundSchema = GitRepository$inboundSchema; + /** @deprecated use `GitRepository$outboundSchema` instead. */ + export const outboundSchema = GitRepository$outboundSchema; + /** @deprecated use `GitRepository$Outbound` instead. */ + export type Outbound = GitRepository$Outbound; +} + +export function gitRepositoryToJSON(gitRepository: GitRepository): string { + return JSON.stringify(GitRepository$outboundSchema.parse(gitRepository)); +} + +export function gitRepositoryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitRepository$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitRepository' from JSON`, + ); +} + +/** @internal */ +export const IssuerMode$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(IssuerMode); + +/** @internal */ +export const IssuerMode$outboundSchema: z.ZodNativeEnum = + IssuerMode$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace IssuerMode$ { + /** @deprecated use `IssuerMode$inboundSchema` instead. */ + export const inboundSchema = IssuerMode$inboundSchema; + /** @deprecated use `IssuerMode$outboundSchema` instead. */ + export const outboundSchema = IssuerMode$outboundSchema; +} + +/** @internal */ +export const OidcTokenConfig$inboundSchema: z.ZodType< + OidcTokenConfig, + z.ZodTypeDef, + unknown +> = z.object({ + enabled: z.boolean(), + issuerMode: IssuerMode$inboundSchema.default("global"), +}); + +/** @internal */ +export type OidcTokenConfig$Outbound = { + enabled: boolean; + issuerMode: string; +}; + +/** @internal */ +export const OidcTokenConfig$outboundSchema: z.ZodType< + OidcTokenConfig$Outbound, + z.ZodTypeDef, + OidcTokenConfig +> = z.object({ + enabled: z.boolean(), + issuerMode: IssuerMode$outboundSchema.default("global"), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace OidcTokenConfig$ { + /** @deprecated use `OidcTokenConfig$inboundSchema` instead. */ + export const inboundSchema = OidcTokenConfig$inboundSchema; + /** @deprecated use `OidcTokenConfig$outboundSchema` instead. */ + export const outboundSchema = OidcTokenConfig$outboundSchema; + /** @deprecated use `OidcTokenConfig$Outbound` instead. */ + export type Outbound = OidcTokenConfig$Outbound; +} + +export function oidcTokenConfigToJSON( + oidcTokenConfig: OidcTokenConfig, +): string { + return JSON.stringify(OidcTokenConfig$outboundSchema.parse(oidcTokenConfig)); +} + +export function oidcTokenConfigFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OidcTokenConfig$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OidcTokenConfig' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectRequestBody$inboundSchema: z.ZodType< + CreateProjectRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + devCommand: z.nullable(z.string()).optional(), + environmentVariables: z.array( + z.lazy(() => EnvironmentVariables$inboundSchema), + ).optional(), + framework: CreateProjectFramework$inboundSchema.optional(), + gitRepository: z.lazy(() => GitRepository$inboundSchema).optional(), + installCommand: z.nullable(z.string()).optional(), + name: z.string(), + skipGitConnectDuringLink: z.boolean().optional(), + outputDirectory: z.nullable(z.string()).optional(), + publicSource: z.nullable(z.boolean()).optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + serverlessFunctionZeroConfigFailover: z.boolean().optional(), + oidcTokenConfig: z.lazy(() => OidcTokenConfig$inboundSchema).optional(), + enableAffectedProjectsDeployments: z.boolean().optional(), +}); + +/** @internal */ +export type CreateProjectRequestBody$Outbound = { + buildCommand?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + devCommand?: string | null | undefined; + environmentVariables?: Array | undefined; + framework?: string | undefined; + gitRepository?: GitRepository$Outbound | undefined; + installCommand?: string | null | undefined; + name: string; + skipGitConnectDuringLink?: boolean | undefined; + outputDirectory?: string | null | undefined; + publicSource?: boolean | null | undefined; + rootDirectory?: string | null | undefined; + serverlessFunctionRegion?: string | null | undefined; + serverlessFunctionZeroConfigFailover?: boolean | undefined; + oidcTokenConfig?: OidcTokenConfig$Outbound | undefined; + enableAffectedProjectsDeployments?: boolean | undefined; +}; + +/** @internal */ +export const CreateProjectRequestBody$outboundSchema: z.ZodType< + CreateProjectRequestBody$Outbound, + z.ZodTypeDef, + CreateProjectRequestBody +> = z.object({ + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + devCommand: z.nullable(z.string()).optional(), + environmentVariables: z.array( + z.lazy(() => EnvironmentVariables$outboundSchema), + ).optional(), + framework: CreateProjectFramework$outboundSchema.optional(), + gitRepository: z.lazy(() => GitRepository$outboundSchema).optional(), + installCommand: z.nullable(z.string()).optional(), + name: z.string(), + skipGitConnectDuringLink: z.boolean().optional(), + outputDirectory: z.nullable(z.string()).optional(), + publicSource: z.nullable(z.boolean()).optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + serverlessFunctionZeroConfigFailover: z.boolean().optional(), + oidcTokenConfig: z.lazy(() => OidcTokenConfig$outboundSchema).optional(), + enableAffectedProjectsDeployments: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectRequestBody$ { + /** @deprecated use `CreateProjectRequestBody$inboundSchema` instead. */ + export const inboundSchema = CreateProjectRequestBody$inboundSchema; + /** @deprecated use `CreateProjectRequestBody$outboundSchema` instead. */ + export const outboundSchema = CreateProjectRequestBody$outboundSchema; + /** @deprecated use `CreateProjectRequestBody$Outbound` instead. */ + export type Outbound = CreateProjectRequestBody$Outbound; +} + +export function createProjectRequestBodyToJSON( + createProjectRequestBody: CreateProjectRequestBody, +): string { + return JSON.stringify( + CreateProjectRequestBody$outboundSchema.parse(createProjectRequestBody), + ); +} + +export function createProjectRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectRequest$inboundSchema: z.ZodType< + CreateProjectRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => CreateProjectRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type CreateProjectRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: CreateProjectRequestBody$Outbound; +}; + +/** @internal */ +export const CreateProjectRequest$outboundSchema: z.ZodType< + CreateProjectRequest$Outbound, + z.ZodTypeDef, + CreateProjectRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateProjectRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectRequest$ { + /** @deprecated use `CreateProjectRequest$inboundSchema` instead. */ + export const inboundSchema = CreateProjectRequest$inboundSchema; + /** @deprecated use `CreateProjectRequest$outboundSchema` instead. */ + export const outboundSchema = CreateProjectRequest$outboundSchema; + /** @deprecated use `CreateProjectRequest$Outbound` instead. */ + export type Outbound = CreateProjectRequest$Outbound; +} + +export function createProjectRequestToJSON( + createProjectRequest: CreateProjectRequest, +): string { + return JSON.stringify( + CreateProjectRequest$outboundSchema.parse(createProjectRequest), + ); +} + +export function createProjectRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectRequest' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectAnalytics$inboundSchema: z.ZodType< + CreateProjectAnalytics, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + canceledAt: z.nullable(z.number()).optional(), + disabledAt: z.number(), + enabledAt: z.number(), + paidAt: z.number().optional(), + sampleRatePercent: z.nullable(z.number()).optional(), + spendLimitInDollars: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type CreateProjectAnalytics$Outbound = { + id: string; + canceledAt?: number | null | undefined; + disabledAt: number; + enabledAt: number; + paidAt?: number | undefined; + sampleRatePercent?: number | null | undefined; + spendLimitInDollars?: number | null | undefined; +}; + +/** @internal */ +export const CreateProjectAnalytics$outboundSchema: z.ZodType< + CreateProjectAnalytics$Outbound, + z.ZodTypeDef, + CreateProjectAnalytics +> = z.object({ + id: z.string(), + canceledAt: z.nullable(z.number()).optional(), + disabledAt: z.number(), + enabledAt: z.number(), + paidAt: z.number().optional(), + sampleRatePercent: z.nullable(z.number()).optional(), + spendLimitInDollars: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectAnalytics$ { + /** @deprecated use `CreateProjectAnalytics$inboundSchema` instead. */ + export const inboundSchema = CreateProjectAnalytics$inboundSchema; + /** @deprecated use `CreateProjectAnalytics$outboundSchema` instead. */ + export const outboundSchema = CreateProjectAnalytics$outboundSchema; + /** @deprecated use `CreateProjectAnalytics$Outbound` instead. */ + export type Outbound = CreateProjectAnalytics$Outbound; +} + +export function createProjectAnalyticsToJSON( + createProjectAnalytics: CreateProjectAnalytics, +): string { + return JSON.stringify( + CreateProjectAnalytics$outboundSchema.parse(createProjectAnalytics), + ); +} + +export function createProjectAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectAnalytics' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectSpeedInsights$inboundSchema: z.ZodType< + CreateProjectSpeedInsights, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + enabledAt: z.number().optional(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + hasData: z.boolean().optional(), + paidAt: z.number().optional(), +}); + +/** @internal */ +export type CreateProjectSpeedInsights$Outbound = { + id: string; + enabledAt?: number | undefined; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + hasData?: boolean | undefined; + paidAt?: number | undefined; +}; + +/** @internal */ +export const CreateProjectSpeedInsights$outboundSchema: z.ZodType< + CreateProjectSpeedInsights$Outbound, + z.ZodTypeDef, + CreateProjectSpeedInsights +> = z.object({ + id: z.string(), + enabledAt: z.number().optional(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + hasData: z.boolean().optional(), + paidAt: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectSpeedInsights$ { + /** @deprecated use `CreateProjectSpeedInsights$inboundSchema` instead. */ + export const inboundSchema = CreateProjectSpeedInsights$inboundSchema; + /** @deprecated use `CreateProjectSpeedInsights$outboundSchema` instead. */ + export const outboundSchema = CreateProjectSpeedInsights$outboundSchema; + /** @deprecated use `CreateProjectSpeedInsights$Outbound` instead. */ + export type Outbound = CreateProjectSpeedInsights$Outbound; +} + +export function createProjectSpeedInsightsToJSON( + createProjectSpeedInsights: CreateProjectSpeedInsights, +): string { + return JSON.stringify( + CreateProjectSpeedInsights$outboundSchema.parse(createProjectSpeedInsights), + ); +} + +export function createProjectSpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectSpeedInsights$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectSpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectDefinitions$inboundSchema: z.ZodType< + CreateProjectDefinitions, + z.ZodTypeDef, + unknown +> = z.object({ + host: z.string(), + path: z.string(), + schedule: z.string(), +}); + +/** @internal */ +export type CreateProjectDefinitions$Outbound = { + host: string; + path: string; + schedule: string; +}; + +/** @internal */ +export const CreateProjectDefinitions$outboundSchema: z.ZodType< + CreateProjectDefinitions$Outbound, + z.ZodTypeDef, + CreateProjectDefinitions +> = z.object({ + host: z.string(), + path: z.string(), + schedule: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectDefinitions$ { + /** @deprecated use `CreateProjectDefinitions$inboundSchema` instead. */ + export const inboundSchema = CreateProjectDefinitions$inboundSchema; + /** @deprecated use `CreateProjectDefinitions$outboundSchema` instead. */ + export const outboundSchema = CreateProjectDefinitions$outboundSchema; + /** @deprecated use `CreateProjectDefinitions$Outbound` instead. */ + export type Outbound = CreateProjectDefinitions$Outbound; +} + +export function createProjectDefinitionsToJSON( + createProjectDefinitions: CreateProjectDefinitions, +): string { + return JSON.stringify( + CreateProjectDefinitions$outboundSchema.parse(createProjectDefinitions), + ); +} + +export function createProjectDefinitionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectDefinitions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectDefinitions' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectCrons$inboundSchema: z.ZodType< + CreateProjectCrons, + z.ZodTypeDef, + unknown +> = z.object({ + enabledAt: z.number(), + disabledAt: z.nullable(z.number()), + updatedAt: z.number(), + deploymentId: z.nullable(z.string()), + definitions: z.array(z.lazy(() => CreateProjectDefinitions$inboundSchema)), +}); + +/** @internal */ +export type CreateProjectCrons$Outbound = { + enabledAt: number; + disabledAt: number | null; + updatedAt: number; + deploymentId: string | null; + definitions: Array; +}; + +/** @internal */ +export const CreateProjectCrons$outboundSchema: z.ZodType< + CreateProjectCrons$Outbound, + z.ZodTypeDef, + CreateProjectCrons +> = z.object({ + enabledAt: z.number(), + disabledAt: z.nullable(z.number()), + updatedAt: z.number(), + deploymentId: z.nullable(z.string()), + definitions: z.array(z.lazy(() => CreateProjectDefinitions$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectCrons$ { + /** @deprecated use `CreateProjectCrons$inboundSchema` instead. */ + export const inboundSchema = CreateProjectCrons$inboundSchema; + /** @deprecated use `CreateProjectCrons$outboundSchema` instead. */ + export const outboundSchema = CreateProjectCrons$outboundSchema; + /** @deprecated use `CreateProjectCrons$Outbound` instead. */ + export type Outbound = CreateProjectCrons$Outbound; +} + +export function createProjectCronsToJSON( + createProjectCrons: CreateProjectCrons, +): string { + return JSON.stringify( + CreateProjectCrons$outboundSchema.parse(createProjectCrons), + ); +} + +export function createProjectCronsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectCrons$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectCrons' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectDataCache$inboundSchema: z.ZodType< + CreateProjectDataCache, + z.ZodTypeDef, + unknown +> = z.object({ + userDisabled: z.boolean(), + storageSizeBytes: z.nullable(z.number()).optional(), + unlimited: z.boolean().optional(), +}); + +/** @internal */ +export type CreateProjectDataCache$Outbound = { + userDisabled: boolean; + storageSizeBytes?: number | null | undefined; + unlimited?: boolean | undefined; +}; + +/** @internal */ +export const CreateProjectDataCache$outboundSchema: z.ZodType< + CreateProjectDataCache$Outbound, + z.ZodTypeDef, + CreateProjectDataCache +> = z.object({ + userDisabled: z.boolean(), + storageSizeBytes: z.nullable(z.number()).optional(), + unlimited: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectDataCache$ { + /** @deprecated use `CreateProjectDataCache$inboundSchema` instead. */ + export const inboundSchema = CreateProjectDataCache$inboundSchema; + /** @deprecated use `CreateProjectDataCache$outboundSchema` instead. */ + export const outboundSchema = CreateProjectDataCache$outboundSchema; + /** @deprecated use `CreateProjectDataCache$Outbound` instead. */ + export type Outbound = CreateProjectDataCache$Outbound; +} + +export function createProjectDataCacheToJSON( + createProjectDataCache: CreateProjectDataCache, +): string { + return JSON.stringify( + CreateProjectDataCache$outboundSchema.parse(createProjectDataCache), + ); +} + +export function createProjectDataCacheFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectDataCache$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectDataCache' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectDeploymentExpiration$inboundSchema: z.ZodType< + CreateProjectDeploymentExpiration, + z.ZodTypeDef, + unknown +> = z.object({ + expirationDays: z.number().optional(), + expirationDaysProduction: z.number().optional(), + expirationDaysCanceled: z.number().optional(), + expirationDaysErrored: z.number().optional(), + deploymentsToKeep: z.number().optional(), +}); + +/** @internal */ +export type CreateProjectDeploymentExpiration$Outbound = { + expirationDays?: number | undefined; + expirationDaysProduction?: number | undefined; + expirationDaysCanceled?: number | undefined; + expirationDaysErrored?: number | undefined; + deploymentsToKeep?: number | undefined; +}; + +/** @internal */ +export const CreateProjectDeploymentExpiration$outboundSchema: z.ZodType< + CreateProjectDeploymentExpiration$Outbound, + z.ZodTypeDef, + CreateProjectDeploymentExpiration +> = z.object({ + expirationDays: z.number().optional(), + expirationDaysProduction: z.number().optional(), + expirationDaysCanceled: z.number().optional(), + expirationDaysErrored: z.number().optional(), + deploymentsToKeep: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectDeploymentExpiration$ { + /** @deprecated use `CreateProjectDeploymentExpiration$inboundSchema` instead. */ + export const inboundSchema = CreateProjectDeploymentExpiration$inboundSchema; + /** @deprecated use `CreateProjectDeploymentExpiration$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectDeploymentExpiration$outboundSchema; + /** @deprecated use `CreateProjectDeploymentExpiration$Outbound` instead. */ + export type Outbound = CreateProjectDeploymentExpiration$Outbound; +} + +export function createProjectDeploymentExpirationToJSON( + createProjectDeploymentExpiration: CreateProjectDeploymentExpiration, +): string { + return JSON.stringify( + CreateProjectDeploymentExpiration$outboundSchema.parse( + createProjectDeploymentExpiration, + ), + ); +} + +export function createProjectDeploymentExpirationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectDeploymentExpiration$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectDeploymentExpiration' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectTarget2$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectTarget2 +> = z.nativeEnum(CreateProjectTarget2); + +/** @internal */ +export const CreateProjectTarget2$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectTarget2 +> = CreateProjectTarget2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectTarget2$ { + /** @deprecated use `CreateProjectTarget2$inboundSchema` instead. */ + export const inboundSchema = CreateProjectTarget2$inboundSchema; + /** @deprecated use `CreateProjectTarget2$outboundSchema` instead. */ + export const outboundSchema = CreateProjectTarget2$outboundSchema; +} + +/** @internal */ +export const CreateProjectProjectsTarget$inboundSchema: z.ZodType< + CreateProjectProjectsTarget, + z.ZodTypeDef, + unknown +> = z.union([z.array(z.string()), CreateProjectTarget2$inboundSchema]); + +/** @internal */ +export type CreateProjectProjectsTarget$Outbound = Array | string; + +/** @internal */ +export const CreateProjectProjectsTarget$outboundSchema: z.ZodType< + CreateProjectProjectsTarget$Outbound, + z.ZodTypeDef, + CreateProjectProjectsTarget +> = z.union([z.array(z.string()), CreateProjectTarget2$outboundSchema]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsTarget$ { + /** @deprecated use `CreateProjectProjectsTarget$inboundSchema` instead. */ + export const inboundSchema = CreateProjectProjectsTarget$inboundSchema; + /** @deprecated use `CreateProjectProjectsTarget$outboundSchema` instead. */ + export const outboundSchema = CreateProjectProjectsTarget$outboundSchema; + /** @deprecated use `CreateProjectProjectsTarget$Outbound` instead. */ + export type Outbound = CreateProjectProjectsTarget$Outbound; +} + +export function createProjectProjectsTargetToJSON( + createProjectProjectsTarget: CreateProjectProjectsTarget, +): string { + return JSON.stringify( + CreateProjectProjectsTarget$outboundSchema.parse( + createProjectProjectsTarget, + ), + ); +} + +export function createProjectProjectsTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectProjectsTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectProjectsTarget' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectProjectsResponseType$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectProjectsResponseType +> = z.nativeEnum(CreateProjectProjectsResponseType); + +/** @internal */ +export const CreateProjectProjectsResponseType$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectProjectsResponseType +> = CreateProjectProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsResponseType$ { + /** @deprecated use `CreateProjectProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = CreateProjectProjectsResponseType$inboundSchema; + /** @deprecated use `CreateProjectProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type + > = z.nativeEnum( + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type, + ); + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type + > = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$ { + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema; + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema; +} + +/** @internal */ +export const ContentHint15$inboundSchema: z.ZodType< + ContentHint15, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema, + projectId: z.string(), +}); + +/** @internal */ +export type ContentHint15$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const ContentHint15$outboundSchema: z.ZodType< + ContentHint15$Outbound, + z.ZodTypeDef, + ContentHint15 +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHint15$ { + /** @deprecated use `ContentHint15$inboundSchema` instead. */ + export const inboundSchema = ContentHint15$inboundSchema; + /** @deprecated use `ContentHint15$outboundSchema` instead. */ + export const outboundSchema = ContentHint15$outboundSchema; + /** @deprecated use `ContentHint15$Outbound` instead. */ + export type Outbound = ContentHint15$Outbound; +} + +export function contentHint15ToJSON(contentHint15: ContentHint15): string { + return JSON.stringify(ContentHint15$outboundSchema.parse(contentHint15)); +} + +export function contentHint15FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContentHint15$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContentHint15' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type + > = z.nativeEnum( + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type, + ); + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type + > = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$ { + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema; + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema; +} + +/** @internal */ +export const ContentHint14$inboundSchema: z.ZodType< + ContentHint14, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** @internal */ +export type ContentHint14$Outbound = { + type: string; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const ContentHint14$outboundSchema: z.ZodType< + ContentHint14$Outbound, + z.ZodTypeDef, + ContentHint14 +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHint14$ { + /** @deprecated use `ContentHint14$inboundSchema` instead. */ + export const inboundSchema = ContentHint14$inboundSchema; + /** @deprecated use `ContentHint14$outboundSchema` instead. */ + export const outboundSchema = ContentHint14$outboundSchema; + /** @deprecated use `ContentHint14$Outbound` instead. */ + export type Outbound = ContentHint14$Outbound; +} + +export function contentHint14ToJSON(contentHint14: ContentHint14): string { + return JSON.stringify(ContentHint14$outboundSchema.parse(contentHint14)); +} + +export function contentHint14FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContentHint14$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContentHint14' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type + > = z.nativeEnum( + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type, + ); + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type + > = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$ { + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema; + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema; +} + +/** @internal */ +export const ContentHint13$inboundSchema: z.ZodType< + ContentHint13, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type ContentHint13$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const ContentHint13$outboundSchema: z.ZodType< + ContentHint13$Outbound, + z.ZodTypeDef, + ContentHint13 +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHint13$ { + /** @deprecated use `ContentHint13$inboundSchema` instead. */ + export const inboundSchema = ContentHint13$inboundSchema; + /** @deprecated use `ContentHint13$outboundSchema` instead. */ + export const outboundSchema = ContentHint13$outboundSchema; + /** @deprecated use `ContentHint13$Outbound` instead. */ + export type Outbound = ContentHint13$Outbound; +} + +export function contentHint13ToJSON(contentHint13: ContentHint13): string { + return JSON.stringify(ContentHint13$outboundSchema.parse(contentHint13)); +} + +export function contentHint13FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContentHint13$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContentHint13' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type + > = z.nativeEnum( + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type, + ); + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type + > = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$ { + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema; + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema; +} + +/** @internal */ +export const ContentHint12$inboundSchema: z.ZodType< + ContentHint12, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type ContentHint12$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const ContentHint12$outboundSchema: z.ZodType< + ContentHint12$Outbound, + z.ZodTypeDef, + ContentHint12 +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHint12$ { + /** @deprecated use `ContentHint12$inboundSchema` instead. */ + export const inboundSchema = ContentHint12$inboundSchema; + /** @deprecated use `ContentHint12$outboundSchema` instead. */ + export const outboundSchema = ContentHint12$outboundSchema; + /** @deprecated use `ContentHint12$Outbound` instead. */ + export type Outbound = ContentHint12$Outbound; +} + +export function contentHint12ToJSON(contentHint12: ContentHint12): string { + return JSON.stringify(ContentHint12$outboundSchema.parse(contentHint12)); +} + +export function contentHint12FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContentHint12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContentHint12' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type + > = z.nativeEnum( + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type, + ); + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type + > = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$ { + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema; + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema; +} + +/** @internal */ +export const ContentHint11$inboundSchema: z.ZodType< + ContentHint11, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type ContentHint11$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const ContentHint11$outboundSchema: z.ZodType< + ContentHint11$Outbound, + z.ZodTypeDef, + ContentHint11 +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHint11$ { + /** @deprecated use `ContentHint11$inboundSchema` instead. */ + export const inboundSchema = ContentHint11$inboundSchema; + /** @deprecated use `ContentHint11$outboundSchema` instead. */ + export const outboundSchema = ContentHint11$outboundSchema; + /** @deprecated use `ContentHint11$Outbound` instead. */ + export type Outbound = ContentHint11$Outbound; +} + +export function contentHint11ToJSON(contentHint11: ContentHint11): string { + return JSON.stringify(ContentHint11$outboundSchema.parse(contentHint11)); +} + +export function contentHint11FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContentHint11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContentHint11' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type + > = z.nativeEnum( + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type, + ); + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type + > = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$ { + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema; + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectContentHint10$inboundSchema: z.ZodType< + CreateProjectContentHint10, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectContentHint10$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectContentHint10$outboundSchema: z.ZodType< + CreateProjectContentHint10$Outbound, + z.ZodTypeDef, + CreateProjectContentHint10 +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHint10$ { + /** @deprecated use `CreateProjectContentHint10$inboundSchema` instead. */ + export const inboundSchema = CreateProjectContentHint10$inboundSchema; + /** @deprecated use `CreateProjectContentHint10$outboundSchema` instead. */ + export const outboundSchema = CreateProjectContentHint10$outboundSchema; + /** @deprecated use `CreateProjectContentHint10$Outbound` instead. */ + export type Outbound = CreateProjectContentHint10$Outbound; +} + +export function createProjectContentHint10ToJSON( + createProjectContentHint10: CreateProjectContentHint10, +): string { + return JSON.stringify( + CreateProjectContentHint10$outboundSchema.parse(createProjectContentHint10), + ); +} + +export function createProjectContentHint10FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectContentHint10$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectContentHint10' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type + > = z.nativeEnum( + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type, + ); + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type + > = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$ { + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema; + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectContentHint9$inboundSchema: z.ZodType< + CreateProjectContentHint9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectContentHint9$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectContentHint9$outboundSchema: z.ZodType< + CreateProjectContentHint9$Outbound, + z.ZodTypeDef, + CreateProjectContentHint9 +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHint9$ { + /** @deprecated use `CreateProjectContentHint9$inboundSchema` instead. */ + export const inboundSchema = CreateProjectContentHint9$inboundSchema; + /** @deprecated use `CreateProjectContentHint9$outboundSchema` instead. */ + export const outboundSchema = CreateProjectContentHint9$outboundSchema; + /** @deprecated use `CreateProjectContentHint9$Outbound` instead. */ + export type Outbound = CreateProjectContentHint9$Outbound; +} + +export function createProjectContentHint9ToJSON( + createProjectContentHint9: CreateProjectContentHint9, +): string { + return JSON.stringify( + CreateProjectContentHint9$outboundSchema.parse(createProjectContentHint9), + ); +} + +export function createProjectContentHint9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectContentHint9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectContentHint9' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type + > = z.nativeEnum( + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type, + ); + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type + > = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$ { + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema; + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectContentHint8$inboundSchema: z.ZodType< + CreateProjectContentHint8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectContentHint8$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectContentHint8$outboundSchema: z.ZodType< + CreateProjectContentHint8$Outbound, + z.ZodTypeDef, + CreateProjectContentHint8 +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHint8$ { + /** @deprecated use `CreateProjectContentHint8$inboundSchema` instead. */ + export const inboundSchema = CreateProjectContentHint8$inboundSchema; + /** @deprecated use `CreateProjectContentHint8$outboundSchema` instead. */ + export const outboundSchema = CreateProjectContentHint8$outboundSchema; + /** @deprecated use `CreateProjectContentHint8$Outbound` instead. */ + export type Outbound = CreateProjectContentHint8$Outbound; +} + +export function createProjectContentHint8ToJSON( + createProjectContentHint8: CreateProjectContentHint8, +): string { + return JSON.stringify( + CreateProjectContentHint8$outboundSchema.parse(createProjectContentHint8), + ); +} + +export function createProjectContentHint8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectContentHint8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectContentHint8' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType + > = z.nativeEnum( + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType, + ); + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType + > = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$ { + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema; +} + +/** @internal */ +export const CreateProjectContentHint7$inboundSchema: z.ZodType< + CreateProjectContentHint7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectContentHint7$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectContentHint7$outboundSchema: z.ZodType< + CreateProjectContentHint7$Outbound, + z.ZodTypeDef, + CreateProjectContentHint7 +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHint7$ { + /** @deprecated use `CreateProjectContentHint7$inboundSchema` instead. */ + export const inboundSchema = CreateProjectContentHint7$inboundSchema; + /** @deprecated use `CreateProjectContentHint7$outboundSchema` instead. */ + export const outboundSchema = CreateProjectContentHint7$outboundSchema; + /** @deprecated use `CreateProjectContentHint7$Outbound` instead. */ + export type Outbound = CreateProjectContentHint7$Outbound; +} + +export function createProjectContentHint7ToJSON( + createProjectContentHint7: CreateProjectContentHint7, +): string { + return JSON.stringify( + CreateProjectContentHint7$outboundSchema.parse(createProjectContentHint7), + ); +} + +export function createProjectContentHint7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectContentHint7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectContentHint7' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType, + ); + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType + > = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$ { + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; +} + +/** @internal */ +export const CreateProjectContentHint6$inboundSchema: z.ZodType< + CreateProjectContentHint6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectContentHint6$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectContentHint6$outboundSchema: z.ZodType< + CreateProjectContentHint6$Outbound, + z.ZodTypeDef, + CreateProjectContentHint6 +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHint6$ { + /** @deprecated use `CreateProjectContentHint6$inboundSchema` instead. */ + export const inboundSchema = CreateProjectContentHint6$inboundSchema; + /** @deprecated use `CreateProjectContentHint6$outboundSchema` instead. */ + export const outboundSchema = CreateProjectContentHint6$outboundSchema; + /** @deprecated use `CreateProjectContentHint6$Outbound` instead. */ + export type Outbound = CreateProjectContentHint6$Outbound; +} + +export function createProjectContentHint6ToJSON( + createProjectContentHint6: CreateProjectContentHint6, +): string { + return JSON.stringify( + CreateProjectContentHint6$outboundSchema.parse(createProjectContentHint6), + ); +} + +export function createProjectContentHint6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectContentHint6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectContentHint6' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONType + > = z.nativeEnum( + CreateProjectContentHintProjectsResponse200ApplicationJSONType, + ); + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectContentHintProjectsResponse200ApplicationJSONType + > = + CreateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONType$ { + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const CreateProjectContentHint5$inboundSchema: z.ZodType< + CreateProjectContentHint5, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectContentHint5$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectContentHint5$outboundSchema: z.ZodType< + CreateProjectContentHint5$Outbound, + z.ZodTypeDef, + CreateProjectContentHint5 +> = z.object({ + type: + CreateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHint5$ { + /** @deprecated use `CreateProjectContentHint5$inboundSchema` instead. */ + export const inboundSchema = CreateProjectContentHint5$inboundSchema; + /** @deprecated use `CreateProjectContentHint5$outboundSchema` instead. */ + export const outboundSchema = CreateProjectContentHint5$outboundSchema; + /** @deprecated use `CreateProjectContentHint5$Outbound` instead. */ + export type Outbound = CreateProjectContentHint5$Outbound; +} + +export function createProjectContentHint5ToJSON( + createProjectContentHint5: CreateProjectContentHint5, +): string { + return JSON.stringify( + CreateProjectContentHint5$outboundSchema.parse(createProjectContentHint5), + ); +} + +export function createProjectContentHint5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectContentHint5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectContentHint5' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200Type$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateProjectContentHintProjectsResponse200Type); + +/** @internal */ +export const CreateProjectContentHintProjectsResponse200Type$outboundSchema: + z.ZodNativeEnum = + CreateProjectContentHintProjectsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHintProjectsResponse200Type$ { + /** @deprecated use `CreateProjectContentHintProjectsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectContentHintProjectsResponse200Type$inboundSchema; + /** @deprecated use `CreateProjectContentHintProjectsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectContentHintProjectsResponse200Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectContentHint4$inboundSchema: z.ZodType< + CreateProjectContentHint4, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateProjectContentHintProjectsResponse200Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectContentHint4$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectContentHint4$outboundSchema: z.ZodType< + CreateProjectContentHint4$Outbound, + z.ZodTypeDef, + CreateProjectContentHint4 +> = z.object({ + type: CreateProjectContentHintProjectsResponse200Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHint4$ { + /** @deprecated use `CreateProjectContentHint4$inboundSchema` instead. */ + export const inboundSchema = CreateProjectContentHint4$inboundSchema; + /** @deprecated use `CreateProjectContentHint4$outboundSchema` instead. */ + export const outboundSchema = CreateProjectContentHint4$outboundSchema; + /** @deprecated use `CreateProjectContentHint4$Outbound` instead. */ + export type Outbound = CreateProjectContentHint4$Outbound; +} + +export function createProjectContentHint4ToJSON( + createProjectContentHint4: CreateProjectContentHint4, +): string { + return JSON.stringify( + CreateProjectContentHint4$outboundSchema.parse(createProjectContentHint4), + ); +} + +export function createProjectContentHint4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectContentHint4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectContentHint4' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectContentHintProjectsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateProjectContentHintProjectsResponseType); + +/** @internal */ +export const CreateProjectContentHintProjectsResponseType$outboundSchema: + z.ZodNativeEnum = + CreateProjectContentHintProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHintProjectsResponseType$ { + /** @deprecated use `CreateProjectContentHintProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectContentHintProjectsResponseType$inboundSchema; + /** @deprecated use `CreateProjectContentHintProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectContentHintProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const CreateProjectContentHint3$inboundSchema: z.ZodType< + CreateProjectContentHint3, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateProjectContentHintProjectsResponseType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectContentHint3$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectContentHint3$outboundSchema: z.ZodType< + CreateProjectContentHint3$Outbound, + z.ZodTypeDef, + CreateProjectContentHint3 +> = z.object({ + type: CreateProjectContentHintProjectsResponseType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHint3$ { + /** @deprecated use `CreateProjectContentHint3$inboundSchema` instead. */ + export const inboundSchema = CreateProjectContentHint3$inboundSchema; + /** @deprecated use `CreateProjectContentHint3$outboundSchema` instead. */ + export const outboundSchema = CreateProjectContentHint3$outboundSchema; + /** @deprecated use `CreateProjectContentHint3$Outbound` instead. */ + export type Outbound = CreateProjectContentHint3$Outbound; +} + +export function createProjectContentHint3ToJSON( + createProjectContentHint3: CreateProjectContentHint3, +): string { + return JSON.stringify( + CreateProjectContentHint3$outboundSchema.parse(createProjectContentHint3), + ); +} + +export function createProjectContentHint3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectContentHint3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectContentHint3' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectContentHintProjectsType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateProjectContentHintProjectsType, + ); + +/** @internal */ +export const CreateProjectContentHintProjectsType$outboundSchema: + z.ZodNativeEnum = + CreateProjectContentHintProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHintProjectsType$ { + /** @deprecated use `CreateProjectContentHintProjectsType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectContentHintProjectsType$inboundSchema; + /** @deprecated use `CreateProjectContentHintProjectsType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectContentHintProjectsType$outboundSchema; +} + +/** @internal */ +export const CreateProjectContentHint2$inboundSchema: z.ZodType< + CreateProjectContentHint2, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateProjectContentHintProjectsType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectContentHint2$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectContentHint2$outboundSchema: z.ZodType< + CreateProjectContentHint2$Outbound, + z.ZodTypeDef, + CreateProjectContentHint2 +> = z.object({ + type: CreateProjectContentHintProjectsType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHint2$ { + /** @deprecated use `CreateProjectContentHint2$inboundSchema` instead. */ + export const inboundSchema = CreateProjectContentHint2$inboundSchema; + /** @deprecated use `CreateProjectContentHint2$outboundSchema` instead. */ + export const outboundSchema = CreateProjectContentHint2$outboundSchema; + /** @deprecated use `CreateProjectContentHint2$Outbound` instead. */ + export type Outbound = CreateProjectContentHint2$Outbound; +} + +export function createProjectContentHint2ToJSON( + createProjectContentHint2: CreateProjectContentHint2, +): string { + return JSON.stringify( + CreateProjectContentHint2$outboundSchema.parse(createProjectContentHint2), + ); +} + +export function createProjectContentHint2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectContentHint2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectContentHint2' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectContentHintType$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectContentHintType +> = z.nativeEnum(CreateProjectContentHintType); + +/** @internal */ +export const CreateProjectContentHintType$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectContentHintType +> = CreateProjectContentHintType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHintType$ { + /** @deprecated use `CreateProjectContentHintType$inboundSchema` instead. */ + export const inboundSchema = CreateProjectContentHintType$inboundSchema; + /** @deprecated use `CreateProjectContentHintType$outboundSchema` instead. */ + export const outboundSchema = CreateProjectContentHintType$outboundSchema; +} + +/** @internal */ +export const CreateProjectContentHint1$inboundSchema: z.ZodType< + CreateProjectContentHint1, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateProjectContentHintType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type CreateProjectContentHint1$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const CreateProjectContentHint1$outboundSchema: z.ZodType< + CreateProjectContentHint1$Outbound, + z.ZodTypeDef, + CreateProjectContentHint1 +> = z.object({ + type: CreateProjectContentHintType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHint1$ { + /** @deprecated use `CreateProjectContentHint1$inboundSchema` instead. */ + export const inboundSchema = CreateProjectContentHint1$inboundSchema; + /** @deprecated use `CreateProjectContentHint1$outboundSchema` instead. */ + export const outboundSchema = CreateProjectContentHint1$outboundSchema; + /** @deprecated use `CreateProjectContentHint1$Outbound` instead. */ + export type Outbound = CreateProjectContentHint1$Outbound; +} + +export function createProjectContentHint1ToJSON( + createProjectContentHint1: CreateProjectContentHint1, +): string { + return JSON.stringify( + CreateProjectContentHint1$outboundSchema.parse(createProjectContentHint1), + ); +} + +export function createProjectContentHint1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectContentHint1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectContentHint1' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectContentHint$inboundSchema: z.ZodType< + CreateProjectContentHint, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateProjectContentHint1$inboundSchema), + z.lazy(() => CreateProjectContentHint2$inboundSchema), + z.lazy(() => CreateProjectContentHint3$inboundSchema), + z.lazy(() => CreateProjectContentHint4$inboundSchema), + z.lazy(() => CreateProjectContentHint5$inboundSchema), + z.lazy(() => CreateProjectContentHint6$inboundSchema), + z.lazy(() => CreateProjectContentHint7$inboundSchema), + z.lazy(() => CreateProjectContentHint8$inboundSchema), + z.lazy(() => CreateProjectContentHint9$inboundSchema), + z.lazy(() => CreateProjectContentHint10$inboundSchema), + z.lazy(() => ContentHint11$inboundSchema), + z.lazy(() => ContentHint12$inboundSchema), + z.lazy(() => ContentHint13$inboundSchema), + z.lazy(() => ContentHint15$inboundSchema), + z.lazy(() => ContentHint14$inboundSchema), +]); + +/** @internal */ +export type CreateProjectContentHint$Outbound = + | CreateProjectContentHint1$Outbound + | CreateProjectContentHint2$Outbound + | CreateProjectContentHint3$Outbound + | CreateProjectContentHint4$Outbound + | CreateProjectContentHint5$Outbound + | CreateProjectContentHint6$Outbound + | CreateProjectContentHint7$Outbound + | CreateProjectContentHint8$Outbound + | CreateProjectContentHint9$Outbound + | CreateProjectContentHint10$Outbound + | ContentHint11$Outbound + | ContentHint12$Outbound + | ContentHint13$Outbound + | ContentHint15$Outbound + | ContentHint14$Outbound; + +/** @internal */ +export const CreateProjectContentHint$outboundSchema: z.ZodType< + CreateProjectContentHint$Outbound, + z.ZodTypeDef, + CreateProjectContentHint +> = z.union([ + z.lazy(() => CreateProjectContentHint1$outboundSchema), + z.lazy(() => CreateProjectContentHint2$outboundSchema), + z.lazy(() => CreateProjectContentHint3$outboundSchema), + z.lazy(() => CreateProjectContentHint4$outboundSchema), + z.lazy(() => CreateProjectContentHint5$outboundSchema), + z.lazy(() => CreateProjectContentHint6$outboundSchema), + z.lazy(() => CreateProjectContentHint7$outboundSchema), + z.lazy(() => CreateProjectContentHint8$outboundSchema), + z.lazy(() => CreateProjectContentHint9$outboundSchema), + z.lazy(() => CreateProjectContentHint10$outboundSchema), + z.lazy(() => ContentHint11$outboundSchema), + z.lazy(() => ContentHint12$outboundSchema), + z.lazy(() => ContentHint13$outboundSchema), + z.lazy(() => ContentHint15$outboundSchema), + z.lazy(() => ContentHint14$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectContentHint$ { + /** @deprecated use `CreateProjectContentHint$inboundSchema` instead. */ + export const inboundSchema = CreateProjectContentHint$inboundSchema; + /** @deprecated use `CreateProjectContentHint$outboundSchema` instead. */ + export const outboundSchema = CreateProjectContentHint$outboundSchema; + /** @deprecated use `CreateProjectContentHint$Outbound` instead. */ + export type Outbound = CreateProjectContentHint$Outbound; +} + +export function createProjectContentHintToJSON( + createProjectContentHint: CreateProjectContentHint, +): string { + return JSON.stringify( + CreateProjectContentHint$outboundSchema.parse(createProjectContentHint), + ); +} + +export function createProjectContentHintFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectContentHint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectContentHint' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType + > = z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType, + ); + +/** @internal */ +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType + > = + CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$ { + /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; + /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema; +} + +/** @internal */ +export const CreateProjectInternalContentHint$inboundSchema: z.ZodType< + CreateProjectInternalContentHint, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, + encryptedValue: z.string(), +}); + +/** @internal */ +export type CreateProjectInternalContentHint$Outbound = { + type: string; + encryptedValue: string; +}; + +/** @internal */ +export const CreateProjectInternalContentHint$outboundSchema: z.ZodType< + CreateProjectInternalContentHint$Outbound, + z.ZodTypeDef, + CreateProjectInternalContentHint +> = z.object({ + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema, + encryptedValue: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectInternalContentHint$ { + /** @deprecated use `CreateProjectInternalContentHint$inboundSchema` instead. */ + export const inboundSchema = CreateProjectInternalContentHint$inboundSchema; + /** @deprecated use `CreateProjectInternalContentHint$outboundSchema` instead. */ + export const outboundSchema = CreateProjectInternalContentHint$outboundSchema; + /** @deprecated use `CreateProjectInternalContentHint$Outbound` instead. */ + export type Outbound = CreateProjectInternalContentHint$Outbound; +} + +export function createProjectInternalContentHintToJSON( + createProjectInternalContentHint: CreateProjectInternalContentHint, +): string { + return JSON.stringify( + CreateProjectInternalContentHint$outboundSchema.parse( + createProjectInternalContentHint, + ), + ); +} + +export function createProjectInternalContentHintFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectInternalContentHint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectInternalContentHint' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectEnv$inboundSchema: z.ZodType< + CreateProjectEnv, + z.ZodTypeDef, + unknown +> = z.object({ + target: z.union([z.array(z.string()), CreateProjectTarget2$inboundSchema]) + .optional(), + type: CreateProjectProjectsResponseType$inboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => CreateProjectContentHint1$inboundSchema), + z.lazy(() => CreateProjectContentHint2$inboundSchema), + z.lazy(() => CreateProjectContentHint3$inboundSchema), + z.lazy(() => CreateProjectContentHint4$inboundSchema), + z.lazy(() => CreateProjectContentHint5$inboundSchema), + z.lazy(() => CreateProjectContentHint6$inboundSchema), + z.lazy(() => CreateProjectContentHint7$inboundSchema), + z.lazy(() => CreateProjectContentHint8$inboundSchema), + z.lazy(() => CreateProjectContentHint9$inboundSchema), + z.lazy(() => CreateProjectContentHint10$inboundSchema), + z.lazy(() => ContentHint11$inboundSchema), + z.lazy(() => ContentHint12$inboundSchema), + z.lazy(() => ContentHint13$inboundSchema), + z.lazy(() => ContentHint15$inboundSchema), + z.lazy(() => ContentHint14$inboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => CreateProjectInternalContentHint$inboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), +}); + +/** @internal */ +export type CreateProjectEnv$Outbound = { + target?: Array | string | undefined; + type: string; + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | CreateProjectContentHint1$Outbound + | CreateProjectContentHint2$Outbound + | CreateProjectContentHint3$Outbound + | CreateProjectContentHint4$Outbound + | CreateProjectContentHint5$Outbound + | CreateProjectContentHint6$Outbound + | CreateProjectContentHint7$Outbound + | CreateProjectContentHint8$Outbound + | CreateProjectContentHint9$Outbound + | CreateProjectContentHint10$Outbound + | ContentHint11$Outbound + | ContentHint12$Outbound + | ContentHint13$Outbound + | ContentHint15$Outbound + | ContentHint14$Outbound + | null + | undefined; + internalContentHint?: + | CreateProjectInternalContentHint$Outbound + | null + | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +/** @internal */ +export const CreateProjectEnv$outboundSchema: z.ZodType< + CreateProjectEnv$Outbound, + z.ZodTypeDef, + CreateProjectEnv +> = z.object({ + target: z.union([z.array(z.string()), CreateProjectTarget2$outboundSchema]) + .optional(), + type: CreateProjectProjectsResponseType$outboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => CreateProjectContentHint1$outboundSchema), + z.lazy(() => CreateProjectContentHint2$outboundSchema), + z.lazy(() => CreateProjectContentHint3$outboundSchema), + z.lazy(() => CreateProjectContentHint4$outboundSchema), + z.lazy(() => CreateProjectContentHint5$outboundSchema), + z.lazy(() => CreateProjectContentHint6$outboundSchema), + z.lazy(() => CreateProjectContentHint7$outboundSchema), + z.lazy(() => CreateProjectContentHint8$outboundSchema), + z.lazy(() => CreateProjectContentHint9$outboundSchema), + z.lazy(() => CreateProjectContentHint10$outboundSchema), + z.lazy(() => ContentHint11$outboundSchema), + z.lazy(() => ContentHint12$outboundSchema), + z.lazy(() => ContentHint13$outboundSchema), + z.lazy(() => ContentHint15$outboundSchema), + z.lazy(() => ContentHint14$outboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => CreateProjectInternalContentHint$outboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectEnv$ { + /** @deprecated use `CreateProjectEnv$inboundSchema` instead. */ + export const inboundSchema = CreateProjectEnv$inboundSchema; + /** @deprecated use `CreateProjectEnv$outboundSchema` instead. */ + export const outboundSchema = CreateProjectEnv$outboundSchema; + /** @deprecated use `CreateProjectEnv$Outbound` instead. */ + export type Outbound = CreateProjectEnv$Outbound; +} + +export function createProjectEnvToJSON( + createProjectEnv: CreateProjectEnv, +): string { + return JSON.stringify( + CreateProjectEnv$outboundSchema.parse(createProjectEnv), + ); +} + +export function createProjectEnvFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectEnv$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnv' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectCustomEnvironments$inboundSchema: z.ZodType< + CreateProjectCustomEnvironments, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type CreateProjectCustomEnvironments$Outbound = {}; + +/** @internal */ +export const CreateProjectCustomEnvironments$outboundSchema: z.ZodType< + CreateProjectCustomEnvironments$Outbound, + z.ZodTypeDef, + CreateProjectCustomEnvironments +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectCustomEnvironments$ { + /** @deprecated use `CreateProjectCustomEnvironments$inboundSchema` instead. */ + export const inboundSchema = CreateProjectCustomEnvironments$inboundSchema; + /** @deprecated use `CreateProjectCustomEnvironments$outboundSchema` instead. */ + export const outboundSchema = CreateProjectCustomEnvironments$outboundSchema; + /** @deprecated use `CreateProjectCustomEnvironments$Outbound` instead. */ + export type Outbound = CreateProjectCustomEnvironments$Outbound; +} + +export function createProjectCustomEnvironmentsToJSON( + createProjectCustomEnvironments: CreateProjectCustomEnvironments, +): string { + return JSON.stringify( + CreateProjectCustomEnvironments$outboundSchema.parse( + createProjectCustomEnvironments, + ), + ); +} + +export function createProjectCustomEnvironmentsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectCustomEnvironments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectCustomEnvironments' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectProjectsFramework$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectProjectsFramework +> = z.nativeEnum(CreateProjectProjectsFramework); + +/** @internal */ +export const CreateProjectProjectsFramework$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectProjectsFramework +> = CreateProjectProjectsFramework$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsFramework$ { + /** @deprecated use `CreateProjectProjectsFramework$inboundSchema` instead. */ + export const inboundSchema = CreateProjectProjectsFramework$inboundSchema; + /** @deprecated use `CreateProjectProjectsFramework$outboundSchema` instead. */ + export const outboundSchema = CreateProjectProjectsFramework$outboundSchema; +} + +/** @internal */ +export const CreateProjectIpBuckets$inboundSchema: z.ZodType< + CreateProjectIpBuckets, + z.ZodTypeDef, + unknown +> = z.object({ + bucket: z.string(), + supportUntil: z.number().optional(), +}); + +/** @internal */ +export type CreateProjectIpBuckets$Outbound = { + bucket: string; + supportUntil?: number | undefined; +}; + +/** @internal */ +export const CreateProjectIpBuckets$outboundSchema: z.ZodType< + CreateProjectIpBuckets$Outbound, + z.ZodTypeDef, + CreateProjectIpBuckets +> = z.object({ + bucket: z.string(), + supportUntil: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectIpBuckets$ { + /** @deprecated use `CreateProjectIpBuckets$inboundSchema` instead. */ + export const inboundSchema = CreateProjectIpBuckets$inboundSchema; + /** @deprecated use `CreateProjectIpBuckets$outboundSchema` instead. */ + export const outboundSchema = CreateProjectIpBuckets$outboundSchema; + /** @deprecated use `CreateProjectIpBuckets$Outbound` instead. */ + export type Outbound = CreateProjectIpBuckets$Outbound; +} + +export function createProjectIpBucketsToJSON( + createProjectIpBuckets: CreateProjectIpBuckets, +): string { + return JSON.stringify( + CreateProjectIpBuckets$outboundSchema.parse(createProjectIpBuckets), + ); +} + +export function createProjectIpBucketsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectIpBuckets$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectIpBuckets' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectAliasAssigned$inboundSchema: z.ZodType< + CreateProjectAliasAssigned, + z.ZodTypeDef, + unknown +> = z.union([z.number(), z.boolean()]); + +/** @internal */ +export type CreateProjectAliasAssigned$Outbound = number | boolean; + +/** @internal */ +export const CreateProjectAliasAssigned$outboundSchema: z.ZodType< + CreateProjectAliasAssigned$Outbound, + z.ZodTypeDef, + CreateProjectAliasAssigned +> = z.union([z.number(), z.boolean()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectAliasAssigned$ { + /** @deprecated use `CreateProjectAliasAssigned$inboundSchema` instead. */ + export const inboundSchema = CreateProjectAliasAssigned$inboundSchema; + /** @deprecated use `CreateProjectAliasAssigned$outboundSchema` instead. */ + export const outboundSchema = CreateProjectAliasAssigned$outboundSchema; + /** @deprecated use `CreateProjectAliasAssigned$Outbound` instead. */ + export type Outbound = CreateProjectAliasAssigned$Outbound; +} + +export function createProjectAliasAssignedToJSON( + createProjectAliasAssigned: CreateProjectAliasAssigned, +): string { + return JSON.stringify( + CreateProjectAliasAssigned$outboundSchema.parse(createProjectAliasAssigned), + ); +} + +export function createProjectAliasAssignedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectAliasAssigned$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectAliasAssigned' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectAliasError$inboundSchema: z.ZodType< + CreateProjectAliasError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** @internal */ +export type CreateProjectAliasError$Outbound = { + code: string; + message: string; +}; + +/** @internal */ +export const CreateProjectAliasError$outboundSchema: z.ZodType< + CreateProjectAliasError$Outbound, + z.ZodTypeDef, + CreateProjectAliasError +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectAliasError$ { + /** @deprecated use `CreateProjectAliasError$inboundSchema` instead. */ + export const inboundSchema = CreateProjectAliasError$inboundSchema; + /** @deprecated use `CreateProjectAliasError$outboundSchema` instead. */ + export const outboundSchema = CreateProjectAliasError$outboundSchema; + /** @deprecated use `CreateProjectAliasError$Outbound` instead. */ + export type Outbound = CreateProjectAliasError$Outbound; +} + +export function createProjectAliasErrorToJSON( + createProjectAliasError: CreateProjectAliasError, +): string { + return JSON.stringify( + CreateProjectAliasError$outboundSchema.parse(createProjectAliasError), + ); +} + +export function createProjectAliasErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectAliasError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectAliasError' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType + > = z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, + ); + +/** @internal */ +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType + > = + CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ { + /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema; + /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema; +} + +/** @internal */ +export const CreateProjectBranchMatcher$inboundSchema: z.ZodType< + CreateProjectBranchMatcher, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, + pattern: z.string(), +}); + +/** @internal */ +export type CreateProjectBranchMatcher$Outbound = { + type: string; + pattern: string; +}; + +/** @internal */ +export const CreateProjectBranchMatcher$outboundSchema: z.ZodType< + CreateProjectBranchMatcher$Outbound, + z.ZodTypeDef, + CreateProjectBranchMatcher +> = z.object({ + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema, + pattern: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectBranchMatcher$ { + /** @deprecated use `CreateProjectBranchMatcher$inboundSchema` instead. */ + export const inboundSchema = CreateProjectBranchMatcher$inboundSchema; + /** @deprecated use `CreateProjectBranchMatcher$outboundSchema` instead. */ + export const outboundSchema = CreateProjectBranchMatcher$outboundSchema; + /** @deprecated use `CreateProjectBranchMatcher$Outbound` instead. */ + export type Outbound = CreateProjectBranchMatcher$Outbound; +} + +export function createProjectBranchMatcherToJSON( + createProjectBranchMatcher: CreateProjectBranchMatcher, +): string { + return JSON.stringify( + CreateProjectBranchMatcher$outboundSchema.parse(createProjectBranchMatcher), + ); +} + +export function createProjectBranchMatcherFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectBranchMatcher$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectBranchMatcher' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectBuilds$inboundSchema: z.ZodType< + CreateProjectBuilds, + z.ZodTypeDef, + unknown +> = z.object({ + use: z.string(), + src: z.string().optional(), + dest: z.string().optional(), +}); + +/** @internal */ +export type CreateProjectBuilds$Outbound = { + use: string; + src?: string | undefined; + dest?: string | undefined; +}; + +/** @internal */ +export const CreateProjectBuilds$outboundSchema: z.ZodType< + CreateProjectBuilds$Outbound, + z.ZodTypeDef, + CreateProjectBuilds +> = z.object({ + use: z.string(), + src: z.string().optional(), + dest: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectBuilds$ { + /** @deprecated use `CreateProjectBuilds$inboundSchema` instead. */ + export const inboundSchema = CreateProjectBuilds$inboundSchema; + /** @deprecated use `CreateProjectBuilds$outboundSchema` instead. */ + export const outboundSchema = CreateProjectBuilds$outboundSchema; + /** @deprecated use `CreateProjectBuilds$Outbound` instead. */ + export type Outbound = CreateProjectBuilds$Outbound; +} + +export function createProjectBuildsToJSON( + createProjectBuilds: CreateProjectBuilds, +): string { + return JSON.stringify( + CreateProjectBuilds$outboundSchema.parse(createProjectBuilds), + ); +} + +export function createProjectBuildsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectBuilds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectBuilds' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectChecksConclusion$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectChecksConclusion +> = z.nativeEnum(CreateProjectChecksConclusion); + +/** @internal */ +export const CreateProjectChecksConclusion$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectChecksConclusion +> = CreateProjectChecksConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectChecksConclusion$ { + /** @deprecated use `CreateProjectChecksConclusion$inboundSchema` instead. */ + export const inboundSchema = CreateProjectChecksConclusion$inboundSchema; + /** @deprecated use `CreateProjectChecksConclusion$outboundSchema` instead. */ + export const outboundSchema = CreateProjectChecksConclusion$outboundSchema; +} + +/** @internal */ +export const CreateProjectChecksState$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectChecksState +> = z.nativeEnum(CreateProjectChecksState); + +/** @internal */ +export const CreateProjectChecksState$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectChecksState +> = CreateProjectChecksState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectChecksState$ { + /** @deprecated use `CreateProjectChecksState$inboundSchema` instead. */ + export const inboundSchema = CreateProjectChecksState$inboundSchema; + /** @deprecated use `CreateProjectChecksState$outboundSchema` instead. */ + export const outboundSchema = CreateProjectChecksState$outboundSchema; +} + +/** @internal */ +export const CreateProjectCreator$inboundSchema: z.ZodType< + CreateProjectCreator, + z.ZodTypeDef, + unknown +> = z.object({ + email: z.string(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), + uid: z.string(), + username: z.string(), +}); + +/** @internal */ +export type CreateProjectCreator$Outbound = { + email: string; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; + uid: string; + username: string; +}; + +/** @internal */ +export const CreateProjectCreator$outboundSchema: z.ZodType< + CreateProjectCreator$Outbound, + z.ZodTypeDef, + CreateProjectCreator +> = z.object({ + email: z.string(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), + uid: z.string(), + username: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectCreator$ { + /** @deprecated use `CreateProjectCreator$inboundSchema` instead. */ + export const inboundSchema = CreateProjectCreator$inboundSchema; + /** @deprecated use `CreateProjectCreator$outboundSchema` instead. */ + export const outboundSchema = CreateProjectCreator$outboundSchema; + /** @deprecated use `CreateProjectCreator$Outbound` instead. */ + export type Outbound = CreateProjectCreator$Outbound; +} + +export function createProjectCreatorToJSON( + createProjectCreator: CreateProjectCreator, +): string { + return JSON.stringify( + CreateProjectCreator$outboundSchema.parse(createProjectCreator), + ); +} + +export function createProjectCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectCreator' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectOidcTokenClaims$inboundSchema: z.ZodType< + CreateProjectOidcTokenClaims, + z.ZodTypeDef, + unknown +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + owner_id: z.string(), + project: z.string(), + project_id: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + "owner_id": "ownerId", + "project_id": "projectId", + }); +}); + +/** @internal */ +export type CreateProjectOidcTokenClaims$Outbound = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + owner_id: string; + project: string; + project_id: string; + environment: string; +}; + +/** @internal */ +export const CreateProjectOidcTokenClaims$outboundSchema: z.ZodType< + CreateProjectOidcTokenClaims$Outbound, + z.ZodTypeDef, + CreateProjectOidcTokenClaims +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + ownerId: z.string(), + project: z.string(), + projectId: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + ownerId: "owner_id", + projectId: "project_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectOidcTokenClaims$ { + /** @deprecated use `CreateProjectOidcTokenClaims$inboundSchema` instead. */ + export const inboundSchema = CreateProjectOidcTokenClaims$inboundSchema; + /** @deprecated use `CreateProjectOidcTokenClaims$outboundSchema` instead. */ + export const outboundSchema = CreateProjectOidcTokenClaims$outboundSchema; + /** @deprecated use `CreateProjectOidcTokenClaims$Outbound` instead. */ + export type Outbound = CreateProjectOidcTokenClaims$Outbound; +} + +export function createProjectOidcTokenClaimsToJSON( + createProjectOidcTokenClaims: CreateProjectOidcTokenClaims, +): string { + return JSON.stringify( + CreateProjectOidcTokenClaims$outboundSchema.parse( + createProjectOidcTokenClaims, + ), + ); +} + +export function createProjectOidcTokenClaimsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectOidcTokenClaims' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectPlan$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectPlan +> = z.nativeEnum(CreateProjectPlan); + +/** @internal */ +export const CreateProjectPlan$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectPlan +> = CreateProjectPlan$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectPlan$ { + /** @deprecated use `CreateProjectPlan$inboundSchema` instead. */ + export const inboundSchema = CreateProjectPlan$inboundSchema; + /** @deprecated use `CreateProjectPlan$outboundSchema` instead. */ + export const outboundSchema = CreateProjectPlan$outboundSchema; +} + +/** @internal */ +export const CreateProjectReadyState$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectReadyState +> = z.nativeEnum(CreateProjectReadyState); + +/** @internal */ +export const CreateProjectReadyState$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectReadyState +> = CreateProjectReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectReadyState$ { + /** @deprecated use `CreateProjectReadyState$inboundSchema` instead. */ + export const inboundSchema = CreateProjectReadyState$inboundSchema; + /** @deprecated use `CreateProjectReadyState$outboundSchema` instead. */ + export const outboundSchema = CreateProjectReadyState$outboundSchema; +} + +/** @internal */ +export const CreateProjectReadySubstate$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectReadySubstate +> = z.nativeEnum(CreateProjectReadySubstate); + +/** @internal */ +export const CreateProjectReadySubstate$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectReadySubstate +> = CreateProjectReadySubstate$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectReadySubstate$ { + /** @deprecated use `CreateProjectReadySubstate$inboundSchema` instead. */ + export const inboundSchema = CreateProjectReadySubstate$inboundSchema; + /** @deprecated use `CreateProjectReadySubstate$outboundSchema` instead. */ + export const outboundSchema = CreateProjectReadySubstate$outboundSchema; +} + +/** @internal */ +export const CreateProjectProjectsResponse200Type$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateProjectProjectsResponse200Type, + ); + +/** @internal */ +export const CreateProjectProjectsResponse200Type$outboundSchema: + z.ZodNativeEnum = + CreateProjectProjectsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsResponse200Type$ { + /** @deprecated use `CreateProjectProjectsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectProjectsResponse200Type$inboundSchema; + /** @deprecated use `CreateProjectProjectsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectProjectsResponse200Type$outboundSchema; +} + +/** @internal */ +export const CreateProjectLatestDeployments$inboundSchema: z.ZodType< + CreateProjectLatestDeployments, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + aliasError: z.nullable(z.lazy(() => CreateProjectAliasError$inboundSchema)) + .optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + branchMatcher: z.lazy(() => CreateProjectBranchMatcher$inboundSchema) + .optional(), + buildingAt: z.number().optional(), + builds: z.array(z.lazy(() => CreateProjectBuilds$inboundSchema)).optional(), + checksConclusion: CreateProjectChecksConclusion$inboundSchema.optional(), + checksState: CreateProjectChecksState$inboundSchema.optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdAt: z.number(), + createdIn: z.string(), + creator: z.nullable(z.lazy(() => CreateProjectCreator$inboundSchema)), + deletedAt: z.number().optional(), + deploymentHostname: z.string(), + forced: z.boolean().optional(), + name: z.string(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + oidcTokenClaims: z.lazy(() => CreateProjectOidcTokenClaims$inboundSchema) + .optional(), + plan: CreateProjectPlan$inboundSchema, + previewCommentsEnabled: z.boolean().optional(), + private: z.boolean(), + readyAt: z.number().optional(), + readyState: CreateProjectReadyState$inboundSchema, + readySubstate: CreateProjectReadySubstate$inboundSchema.optional(), + requestedAt: z.number().optional(), + target: z.nullable(z.string()).optional(), + teamId: z.nullable(z.string()).optional(), + type: CreateProjectProjectsResponse200Type$inboundSchema, + url: z.string(), + userId: z.string(), + withCache: z.boolean().optional(), +}); + +/** @internal */ +export type CreateProjectLatestDeployments$Outbound = { + id: string; + alias?: Array | undefined; + aliasAssigned?: number | boolean | null | undefined; + aliasError?: CreateProjectAliasError$Outbound | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + branchMatcher?: CreateProjectBranchMatcher$Outbound | undefined; + buildingAt?: number | undefined; + builds?: Array | undefined; + checksConclusion?: string | undefined; + checksState?: string | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdAt: number; + createdIn: string; + creator: CreateProjectCreator$Outbound | null; + deletedAt?: number | undefined; + deploymentHostname: string; + forced?: boolean | undefined; + name: string; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + oidcTokenClaims?: CreateProjectOidcTokenClaims$Outbound | undefined; + plan: string; + previewCommentsEnabled?: boolean | undefined; + private: boolean; + readyAt?: number | undefined; + readyState: string; + readySubstate?: string | undefined; + requestedAt?: number | undefined; + target?: string | null | undefined; + teamId?: string | null | undefined; + type: string; + url: string; + userId: string; + withCache?: boolean | undefined; +}; + +/** @internal */ +export const CreateProjectLatestDeployments$outboundSchema: z.ZodType< + CreateProjectLatestDeployments$Outbound, + z.ZodTypeDef, + CreateProjectLatestDeployments +> = z.object({ + id: z.string(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + aliasError: z.nullable(z.lazy(() => CreateProjectAliasError$outboundSchema)) + .optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + branchMatcher: z.lazy(() => CreateProjectBranchMatcher$outboundSchema) + .optional(), + buildingAt: z.number().optional(), + builds: z.array(z.lazy(() => CreateProjectBuilds$outboundSchema)).optional(), + checksConclusion: CreateProjectChecksConclusion$outboundSchema.optional(), + checksState: CreateProjectChecksState$outboundSchema.optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdAt: z.number(), + createdIn: z.string(), + creator: z.nullable(z.lazy(() => CreateProjectCreator$outboundSchema)), + deletedAt: z.number().optional(), + deploymentHostname: z.string(), + forced: z.boolean().optional(), + name: z.string(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + oidcTokenClaims: z.lazy(() => CreateProjectOidcTokenClaims$outboundSchema) + .optional(), + plan: CreateProjectPlan$outboundSchema, + previewCommentsEnabled: z.boolean().optional(), + private: z.boolean(), + readyAt: z.number().optional(), + readyState: CreateProjectReadyState$outboundSchema, + readySubstate: CreateProjectReadySubstate$outboundSchema.optional(), + requestedAt: z.number().optional(), + target: z.nullable(z.string()).optional(), + teamId: z.nullable(z.string()).optional(), + type: CreateProjectProjectsResponse200Type$outboundSchema, + url: z.string(), + userId: z.string(), + withCache: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectLatestDeployments$ { + /** @deprecated use `CreateProjectLatestDeployments$inboundSchema` instead. */ + export const inboundSchema = CreateProjectLatestDeployments$inboundSchema; + /** @deprecated use `CreateProjectLatestDeployments$outboundSchema` instead. */ + export const outboundSchema = CreateProjectLatestDeployments$outboundSchema; + /** @deprecated use `CreateProjectLatestDeployments$Outbound` instead. */ + export type Outbound = CreateProjectLatestDeployments$Outbound; +} + +export function createProjectLatestDeploymentsToJSON( + createProjectLatestDeployments: CreateProjectLatestDeployments, +): string { + return JSON.stringify( + CreateProjectLatestDeployments$outboundSchema.parse( + createProjectLatestDeployments, + ), + ); +} + +export function createProjectLatestDeploymentsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectLatestDeployments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectLatestDeployments' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectLinkProjectsResponseType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateProjectLinkProjectsResponseType, + ); + +/** @internal */ +export const CreateProjectLinkProjectsResponseType$outboundSchema: + z.ZodNativeEnum = + CreateProjectLinkProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectLinkProjectsResponseType$ { + /** @deprecated use `CreateProjectLinkProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectLinkProjectsResponseType$inboundSchema; + /** @deprecated use `CreateProjectLinkProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectLinkProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const CreateProjectLinkProjectsResponseDeployHooks$inboundSchema: + z.ZodType< + CreateProjectLinkProjectsResponseDeployHooks, + z.ZodTypeDef, + unknown + > = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), + }); + +/** @internal */ +export type CreateProjectLinkProjectsResponseDeployHooks$Outbound = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +/** @internal */ +export const CreateProjectLinkProjectsResponseDeployHooks$outboundSchema: + z.ZodType< + CreateProjectLinkProjectsResponseDeployHooks$Outbound, + z.ZodTypeDef, + CreateProjectLinkProjectsResponseDeployHooks + > = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectLinkProjectsResponseDeployHooks$ { + /** @deprecated use `CreateProjectLinkProjectsResponseDeployHooks$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectLinkProjectsResponseDeployHooks$inboundSchema; + /** @deprecated use `CreateProjectLinkProjectsResponseDeployHooks$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectLinkProjectsResponseDeployHooks$outboundSchema; + /** @deprecated use `CreateProjectLinkProjectsResponseDeployHooks$Outbound` instead. */ + export type Outbound = CreateProjectLinkProjectsResponseDeployHooks$Outbound; +} + +export function createProjectLinkProjectsResponseDeployHooksToJSON( + createProjectLinkProjectsResponseDeployHooks: + CreateProjectLinkProjectsResponseDeployHooks, +): string { + return JSON.stringify( + CreateProjectLinkProjectsResponseDeployHooks$outboundSchema.parse( + createProjectLinkProjectsResponseDeployHooks, + ), + ); +} + +export function createProjectLinkProjectsResponseDeployHooksFromJSON( + jsonString: string, +): SafeParseResult< + CreateProjectLinkProjectsResponseDeployHooks, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + CreateProjectLinkProjectsResponseDeployHooks$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'CreateProjectLinkProjectsResponseDeployHooks' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectLink3$inboundSchema: z.ZodType< + CreateProjectLink3, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), + slug: z.string().optional(), + owner: z.string().optional(), + type: CreateProjectLinkProjectsResponseType$inboundSchema.optional(), + uuid: z.string().optional(), + workspaceUuid: z.string().optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => CreateProjectLinkProjectsResponseDeployHooks$inboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** @internal */ +export type CreateProjectLink3$Outbound = { + name?: string | undefined; + slug?: string | undefined; + owner?: string | undefined; + type?: string | undefined; + uuid?: string | undefined; + workspaceUuid?: string | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +/** @internal */ +export const CreateProjectLink3$outboundSchema: z.ZodType< + CreateProjectLink3$Outbound, + z.ZodTypeDef, + CreateProjectLink3 +> = z.object({ + name: z.string().optional(), + slug: z.string().optional(), + owner: z.string().optional(), + type: CreateProjectLinkProjectsResponseType$outboundSchema.optional(), + uuid: z.string().optional(), + workspaceUuid: z.string().optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => CreateProjectLinkProjectsResponseDeployHooks$outboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectLink3$ { + /** @deprecated use `CreateProjectLink3$inboundSchema` instead. */ + export const inboundSchema = CreateProjectLink3$inboundSchema; + /** @deprecated use `CreateProjectLink3$outboundSchema` instead. */ + export const outboundSchema = CreateProjectLink3$outboundSchema; + /** @deprecated use `CreateProjectLink3$Outbound` instead. */ + export type Outbound = CreateProjectLink3$Outbound; +} + +export function createProjectLink3ToJSON( + createProjectLink3: CreateProjectLink3, +): string { + return JSON.stringify( + CreateProjectLink3$outboundSchema.parse(createProjectLink3), + ); +} + +export function createProjectLink3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectLink3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectLink3' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectLinkProjectsType$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectLinkProjectsType +> = z.nativeEnum(CreateProjectLinkProjectsType); + +/** @internal */ +export const CreateProjectLinkProjectsType$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectLinkProjectsType +> = CreateProjectLinkProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectLinkProjectsType$ { + /** @deprecated use `CreateProjectLinkProjectsType$inboundSchema` instead. */ + export const inboundSchema = CreateProjectLinkProjectsType$inboundSchema; + /** @deprecated use `CreateProjectLinkProjectsType$outboundSchema` instead. */ + export const outboundSchema = CreateProjectLinkProjectsType$outboundSchema; +} + +/** @internal */ +export const CreateProjectLinkProjectsDeployHooks$inboundSchema: z.ZodType< + CreateProjectLinkProjectsDeployHooks, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** @internal */ +export type CreateProjectLinkProjectsDeployHooks$Outbound = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +/** @internal */ +export const CreateProjectLinkProjectsDeployHooks$outboundSchema: z.ZodType< + CreateProjectLinkProjectsDeployHooks$Outbound, + z.ZodTypeDef, + CreateProjectLinkProjectsDeployHooks +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectLinkProjectsDeployHooks$ { + /** @deprecated use `CreateProjectLinkProjectsDeployHooks$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectLinkProjectsDeployHooks$inboundSchema; + /** @deprecated use `CreateProjectLinkProjectsDeployHooks$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectLinkProjectsDeployHooks$outboundSchema; + /** @deprecated use `CreateProjectLinkProjectsDeployHooks$Outbound` instead. */ + export type Outbound = CreateProjectLinkProjectsDeployHooks$Outbound; +} + +export function createProjectLinkProjectsDeployHooksToJSON( + createProjectLinkProjectsDeployHooks: CreateProjectLinkProjectsDeployHooks, +): string { + return JSON.stringify( + CreateProjectLinkProjectsDeployHooks$outboundSchema.parse( + createProjectLinkProjectsDeployHooks, + ), + ); +} + +export function createProjectLinkProjectsDeployHooksFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectLinkProjectsDeployHooks$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectLinkProjectsDeployHooks' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectLink2$inboundSchema: z.ZodType< + CreateProjectLink2, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string().optional(), + projectName: z.string().optional(), + projectNameWithNamespace: z.string().optional(), + projectNamespace: z.string().optional(), + projectOwnerId: z.number().optional(), + projectUrl: z.string().optional(), + type: CreateProjectLinkProjectsType$inboundSchema.optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => CreateProjectLinkProjectsDeployHooks$inboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** @internal */ +export type CreateProjectLink2$Outbound = { + projectId?: string | undefined; + projectName?: string | undefined; + projectNameWithNamespace?: string | undefined; + projectNamespace?: string | undefined; + projectOwnerId?: number | undefined; + projectUrl?: string | undefined; + type?: string | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +/** @internal */ +export const CreateProjectLink2$outboundSchema: z.ZodType< + CreateProjectLink2$Outbound, + z.ZodTypeDef, + CreateProjectLink2 +> = z.object({ + projectId: z.string().optional(), + projectName: z.string().optional(), + projectNameWithNamespace: z.string().optional(), + projectNamespace: z.string().optional(), + projectOwnerId: z.number().optional(), + projectUrl: z.string().optional(), + type: CreateProjectLinkProjectsType$outboundSchema.optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => CreateProjectLinkProjectsDeployHooks$outboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectLink2$ { + /** @deprecated use `CreateProjectLink2$inboundSchema` instead. */ + export const inboundSchema = CreateProjectLink2$inboundSchema; + /** @deprecated use `CreateProjectLink2$outboundSchema` instead. */ + export const outboundSchema = CreateProjectLink2$outboundSchema; + /** @deprecated use `CreateProjectLink2$Outbound` instead. */ + export type Outbound = CreateProjectLink2$Outbound; +} + +export function createProjectLink2ToJSON( + createProjectLink2: CreateProjectLink2, +): string { + return JSON.stringify( + CreateProjectLink2$outboundSchema.parse(createProjectLink2), + ); +} + +export function createProjectLink2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectLink2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectLink2' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectLinkType$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectLinkType +> = z.nativeEnum(CreateProjectLinkType); + +/** @internal */ +export const CreateProjectLinkType$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectLinkType +> = CreateProjectLinkType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectLinkType$ { + /** @deprecated use `CreateProjectLinkType$inboundSchema` instead. */ + export const inboundSchema = CreateProjectLinkType$inboundSchema; + /** @deprecated use `CreateProjectLinkType$outboundSchema` instead. */ + export const outboundSchema = CreateProjectLinkType$outboundSchema; +} + +/** @internal */ +export const CreateProjectLinkDeployHooks$inboundSchema: z.ZodType< + CreateProjectLinkDeployHooks, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** @internal */ +export type CreateProjectLinkDeployHooks$Outbound = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +/** @internal */ +export const CreateProjectLinkDeployHooks$outboundSchema: z.ZodType< + CreateProjectLinkDeployHooks$Outbound, + z.ZodTypeDef, + CreateProjectLinkDeployHooks +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectLinkDeployHooks$ { + /** @deprecated use `CreateProjectLinkDeployHooks$inboundSchema` instead. */ + export const inboundSchema = CreateProjectLinkDeployHooks$inboundSchema; + /** @deprecated use `CreateProjectLinkDeployHooks$outboundSchema` instead. */ + export const outboundSchema = CreateProjectLinkDeployHooks$outboundSchema; + /** @deprecated use `CreateProjectLinkDeployHooks$Outbound` instead. */ + export type Outbound = CreateProjectLinkDeployHooks$Outbound; +} + +export function createProjectLinkDeployHooksToJSON( + createProjectLinkDeployHooks: CreateProjectLinkDeployHooks, +): string { + return JSON.stringify( + CreateProjectLinkDeployHooks$outboundSchema.parse( + createProjectLinkDeployHooks, + ), + ); +} + +export function createProjectLinkDeployHooksFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectLinkDeployHooks$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectLinkDeployHooks' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectLink1$inboundSchema: z.ZodType< + CreateProjectLink1, + z.ZodTypeDef, + unknown +> = z.object({ + org: z.string().optional(), + repoOwnerId: z.number().optional(), + repo: z.string().optional(), + repoId: z.number().optional(), + type: CreateProjectLinkType$inboundSchema.optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => CreateProjectLinkDeployHooks$inboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** @internal */ +export type CreateProjectLink1$Outbound = { + org?: string | undefined; + repoOwnerId?: number | undefined; + repo?: string | undefined; + repoId?: number | undefined; + type?: string | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +/** @internal */ +export const CreateProjectLink1$outboundSchema: z.ZodType< + CreateProjectLink1$Outbound, + z.ZodTypeDef, + CreateProjectLink1 +> = z.object({ + org: z.string().optional(), + repoOwnerId: z.number().optional(), + repo: z.string().optional(), + repoId: z.number().optional(), + type: CreateProjectLinkType$outboundSchema.optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => CreateProjectLinkDeployHooks$outboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectLink1$ { + /** @deprecated use `CreateProjectLink1$inboundSchema` instead. */ + export const inboundSchema = CreateProjectLink1$inboundSchema; + /** @deprecated use `CreateProjectLink1$outboundSchema` instead. */ + export const outboundSchema = CreateProjectLink1$outboundSchema; + /** @deprecated use `CreateProjectLink1$Outbound` instead. */ + export type Outbound = CreateProjectLink1$Outbound; +} + +export function createProjectLink1ToJSON( + createProjectLink1: CreateProjectLink1, +): string { + return JSON.stringify( + CreateProjectLink1$outboundSchema.parse(createProjectLink1), + ); +} + +export function createProjectLink1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectLink1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectLink1' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectLink$inboundSchema: z.ZodType< + CreateProjectLink, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateProjectLink1$inboundSchema), + z.lazy(() => CreateProjectLink3$inboundSchema), + z.lazy(() => CreateProjectLink2$inboundSchema), +]); + +/** @internal */ +export type CreateProjectLink$Outbound = + | CreateProjectLink1$Outbound + | CreateProjectLink3$Outbound + | CreateProjectLink2$Outbound; + +/** @internal */ +export const CreateProjectLink$outboundSchema: z.ZodType< + CreateProjectLink$Outbound, + z.ZodTypeDef, + CreateProjectLink +> = z.union([ + z.lazy(() => CreateProjectLink1$outboundSchema), + z.lazy(() => CreateProjectLink3$outboundSchema), + z.lazy(() => CreateProjectLink2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectLink$ { + /** @deprecated use `CreateProjectLink$inboundSchema` instead. */ + export const inboundSchema = CreateProjectLink$inboundSchema; + /** @deprecated use `CreateProjectLink$outboundSchema` instead. */ + export const outboundSchema = CreateProjectLink$outboundSchema; + /** @deprecated use `CreateProjectLink$Outbound` instead. */ + export type Outbound = CreateProjectLink$Outbound; +} + +export function createProjectLinkToJSON( + createProjectLink: CreateProjectLink, +): string { + return JSON.stringify( + CreateProjectLink$outboundSchema.parse(createProjectLink), + ); +} + +export function createProjectLinkFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectLink$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectLink' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectMicrofrontends$inboundSchema: z.ZodType< + CreateProjectMicrofrontends, + z.ZodTypeDef, + unknown +> = z.object({ + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + isDefaultApp: z.boolean().optional(), + defaultRoute: z.string().optional(), +}); + +/** @internal */ +export type CreateProjectMicrofrontends$Outbound = { + updatedAt: number; + groupIds: Array; + enabled: boolean; + isDefaultApp?: boolean | undefined; + defaultRoute?: string | undefined; +}; + +/** @internal */ +export const CreateProjectMicrofrontends$outboundSchema: z.ZodType< + CreateProjectMicrofrontends$Outbound, + z.ZodTypeDef, + CreateProjectMicrofrontends +> = z.object({ + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + isDefaultApp: z.boolean().optional(), + defaultRoute: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectMicrofrontends$ { + /** @deprecated use `CreateProjectMicrofrontends$inboundSchema` instead. */ + export const inboundSchema = CreateProjectMicrofrontends$inboundSchema; + /** @deprecated use `CreateProjectMicrofrontends$outboundSchema` instead. */ + export const outboundSchema = CreateProjectMicrofrontends$outboundSchema; + /** @deprecated use `CreateProjectMicrofrontends$Outbound` instead. */ + export type Outbound = CreateProjectMicrofrontends$Outbound; +} + +export function createProjectMicrofrontendsToJSON( + createProjectMicrofrontends: CreateProjectMicrofrontends, +): string { + return JSON.stringify( + CreateProjectMicrofrontends$outboundSchema.parse( + createProjectMicrofrontends, + ), + ); +} + +export function createProjectMicrofrontendsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectMicrofrontends$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectMicrofrontends' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectNodeVersion$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectNodeVersion +> = z.nativeEnum(CreateProjectNodeVersion); + +/** @internal */ +export const CreateProjectNodeVersion$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectNodeVersion +> = CreateProjectNodeVersion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectNodeVersion$ { + /** @deprecated use `CreateProjectNodeVersion$inboundSchema` instead. */ + export const inboundSchema = CreateProjectNodeVersion$inboundSchema; + /** @deprecated use `CreateProjectNodeVersion$outboundSchema` instead. */ + export const outboundSchema = CreateProjectNodeVersion$outboundSchema; +} + +/** @internal */ +export const CreateProjectPaths$inboundSchema: z.ZodType< + CreateProjectPaths, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.string(), +}); + +/** @internal */ +export type CreateProjectPaths$Outbound = { + value: string; +}; + +/** @internal */ +export const CreateProjectPaths$outboundSchema: z.ZodType< + CreateProjectPaths$Outbound, + z.ZodTypeDef, + CreateProjectPaths +> = z.object({ + value: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectPaths$ { + /** @deprecated use `CreateProjectPaths$inboundSchema` instead. */ + export const inboundSchema = CreateProjectPaths$inboundSchema; + /** @deprecated use `CreateProjectPaths$outboundSchema` instead. */ + export const outboundSchema = CreateProjectPaths$outboundSchema; + /** @deprecated use `CreateProjectPaths$Outbound` instead. */ + export type Outbound = CreateProjectPaths$Outbound; +} + +export function createProjectPathsToJSON( + createProjectPaths: CreateProjectPaths, +): string { + return JSON.stringify( + CreateProjectPaths$outboundSchema.parse(createProjectPaths), + ); +} + +export function createProjectPathsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectPaths$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectPaths' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectOptionsAllowlist$inboundSchema: z.ZodType< + CreateProjectOptionsAllowlist, + z.ZodTypeDef, + unknown +> = z.object({ + paths: z.array(z.lazy(() => CreateProjectPaths$inboundSchema)), +}); + +/** @internal */ +export type CreateProjectOptionsAllowlist$Outbound = { + paths: Array; +}; + +/** @internal */ +export const CreateProjectOptionsAllowlist$outboundSchema: z.ZodType< + CreateProjectOptionsAllowlist$Outbound, + z.ZodTypeDef, + CreateProjectOptionsAllowlist +> = z.object({ + paths: z.array(z.lazy(() => CreateProjectPaths$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectOptionsAllowlist$ { + /** @deprecated use `CreateProjectOptionsAllowlist$inboundSchema` instead. */ + export const inboundSchema = CreateProjectOptionsAllowlist$inboundSchema; + /** @deprecated use `CreateProjectOptionsAllowlist$outboundSchema` instead. */ + export const outboundSchema = CreateProjectOptionsAllowlist$outboundSchema; + /** @deprecated use `CreateProjectOptionsAllowlist$Outbound` instead. */ + export type Outbound = CreateProjectOptionsAllowlist$Outbound; +} + +export function createProjectOptionsAllowlistToJSON( + createProjectOptionsAllowlist: CreateProjectOptionsAllowlist, +): string { + return JSON.stringify( + CreateProjectOptionsAllowlist$outboundSchema.parse( + createProjectOptionsAllowlist, + ), + ); +} + +export function createProjectOptionsAllowlistFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectOptionsAllowlist$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectOptionsAllowlist' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectPasswordProtection$inboundSchema: z.ZodType< + CreateProjectPasswordProtection, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type CreateProjectPasswordProtection$Outbound = {}; + +/** @internal */ +export const CreateProjectPasswordProtection$outboundSchema: z.ZodType< + CreateProjectPasswordProtection$Outbound, + z.ZodTypeDef, + CreateProjectPasswordProtection +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectPasswordProtection$ { + /** @deprecated use `CreateProjectPasswordProtection$inboundSchema` instead. */ + export const inboundSchema = CreateProjectPasswordProtection$inboundSchema; + /** @deprecated use `CreateProjectPasswordProtection$outboundSchema` instead. */ + export const outboundSchema = CreateProjectPasswordProtection$outboundSchema; + /** @deprecated use `CreateProjectPasswordProtection$Outbound` instead. */ + export type Outbound = CreateProjectPasswordProtection$Outbound; +} + +export function createProjectPasswordProtectionToJSON( + createProjectPasswordProtection: CreateProjectPasswordProtection, +): string { + return JSON.stringify( + CreateProjectPasswordProtection$outboundSchema.parse( + createProjectPasswordProtection, + ), + ); +} + +export function createProjectPasswordProtectionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectPasswordProtection$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectPasswordProtection' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectFunctionDefaultMemoryType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateProjectFunctionDefaultMemoryType, + ); + +/** @internal */ +export const CreateProjectFunctionDefaultMemoryType$outboundSchema: + z.ZodNativeEnum = + CreateProjectFunctionDefaultMemoryType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectFunctionDefaultMemoryType$ { + /** @deprecated use `CreateProjectFunctionDefaultMemoryType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectFunctionDefaultMemoryType$inboundSchema; + /** @deprecated use `CreateProjectFunctionDefaultMemoryType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectFunctionDefaultMemoryType$outboundSchema; +} + +/** @internal */ +export const CreateProjectResourceConfig$inboundSchema: z.ZodType< + CreateProjectResourceConfig, + z.ZodTypeDef, + unknown +> = z.object({ + functionDefaultTimeout: z.number().optional(), + functionDefaultMemoryType: + CreateProjectFunctionDefaultMemoryType$inboundSchema.optional(), + allowServerlessConcurrency: z.boolean().optional(), + elasticConcurrencyEnabled: z.boolean().optional(), +}); + +/** @internal */ +export type CreateProjectResourceConfig$Outbound = { + functionDefaultTimeout?: number | undefined; + functionDefaultMemoryType?: string | undefined; + allowServerlessConcurrency?: boolean | undefined; + elasticConcurrencyEnabled?: boolean | undefined; +}; + +/** @internal */ +export const CreateProjectResourceConfig$outboundSchema: z.ZodType< + CreateProjectResourceConfig$Outbound, + z.ZodTypeDef, + CreateProjectResourceConfig +> = z.object({ + functionDefaultTimeout: z.number().optional(), + functionDefaultMemoryType: + CreateProjectFunctionDefaultMemoryType$outboundSchema.optional(), + allowServerlessConcurrency: z.boolean().optional(), + elasticConcurrencyEnabled: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectResourceConfig$ { + /** @deprecated use `CreateProjectResourceConfig$inboundSchema` instead. */ + export const inboundSchema = CreateProjectResourceConfig$inboundSchema; + /** @deprecated use `CreateProjectResourceConfig$outboundSchema` instead. */ + export const outboundSchema = CreateProjectResourceConfig$outboundSchema; + /** @deprecated use `CreateProjectResourceConfig$Outbound` instead. */ + export type Outbound = CreateProjectResourceConfig$Outbound; +} + +export function createProjectResourceConfigToJSON( + createProjectResourceConfig: CreateProjectResourceConfig, +): string { + return JSON.stringify( + CreateProjectResourceConfig$outboundSchema.parse( + createProjectResourceConfig, + ), + ); +} + +export function createProjectResourceConfigFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectResourceConfig$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectResourceConfig' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectDeploymentType$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectDeploymentType +> = z.nativeEnum(CreateProjectDeploymentType); + +/** @internal */ +export const CreateProjectDeploymentType$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectDeploymentType +> = CreateProjectDeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectDeploymentType$ { + /** @deprecated use `CreateProjectDeploymentType$inboundSchema` instead. */ + export const inboundSchema = CreateProjectDeploymentType$inboundSchema; + /** @deprecated use `CreateProjectDeploymentType$outboundSchema` instead. */ + export const outboundSchema = CreateProjectDeploymentType$outboundSchema; +} + +/** @internal */ +export const CreateProjectSsoProtection$inboundSchema: z.ZodType< + CreateProjectSsoProtection, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentType: CreateProjectDeploymentType$inboundSchema, +}); + +/** @internal */ +export type CreateProjectSsoProtection$Outbound = { + deploymentType: string; +}; + +/** @internal */ +export const CreateProjectSsoProtection$outboundSchema: z.ZodType< + CreateProjectSsoProtection$Outbound, + z.ZodTypeDef, + CreateProjectSsoProtection +> = z.object({ + deploymentType: CreateProjectDeploymentType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectSsoProtection$ { + /** @deprecated use `CreateProjectSsoProtection$inboundSchema` instead. */ + export const inboundSchema = CreateProjectSsoProtection$inboundSchema; + /** @deprecated use `CreateProjectSsoProtection$outboundSchema` instead. */ + export const outboundSchema = CreateProjectSsoProtection$outboundSchema; + /** @deprecated use `CreateProjectSsoProtection$Outbound` instead. */ + export type Outbound = CreateProjectSsoProtection$Outbound; +} + +export function createProjectSsoProtectionToJSON( + createProjectSsoProtection: CreateProjectSsoProtection, +): string { + return JSON.stringify( + CreateProjectSsoProtection$outboundSchema.parse(createProjectSsoProtection), + ); +} + +export function createProjectSsoProtectionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectSsoProtection$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectSsoProtection' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectProjectsAliasAssigned$inboundSchema: z.ZodType< + CreateProjectProjectsAliasAssigned, + z.ZodTypeDef, + unknown +> = z.union([z.number(), z.boolean()]); + +/** @internal */ +export type CreateProjectProjectsAliasAssigned$Outbound = number | boolean; + +/** @internal */ +export const CreateProjectProjectsAliasAssigned$outboundSchema: z.ZodType< + CreateProjectProjectsAliasAssigned$Outbound, + z.ZodTypeDef, + CreateProjectProjectsAliasAssigned +> = z.union([z.number(), z.boolean()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsAliasAssigned$ { + /** @deprecated use `CreateProjectProjectsAliasAssigned$inboundSchema` instead. */ + export const inboundSchema = CreateProjectProjectsAliasAssigned$inboundSchema; + /** @deprecated use `CreateProjectProjectsAliasAssigned$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectProjectsAliasAssigned$outboundSchema; + /** @deprecated use `CreateProjectProjectsAliasAssigned$Outbound` instead. */ + export type Outbound = CreateProjectProjectsAliasAssigned$Outbound; +} + +export function createProjectProjectsAliasAssignedToJSON( + createProjectProjectsAliasAssigned: CreateProjectProjectsAliasAssigned, +): string { + return JSON.stringify( + CreateProjectProjectsAliasAssigned$outboundSchema.parse( + createProjectProjectsAliasAssigned, + ), + ); +} + +export function createProjectProjectsAliasAssignedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectProjectsAliasAssigned$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectProjectsAliasAssigned' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectProjectsAliasError$inboundSchema: z.ZodType< + CreateProjectProjectsAliasError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** @internal */ +export type CreateProjectProjectsAliasError$Outbound = { + code: string; + message: string; +}; + +/** @internal */ +export const CreateProjectProjectsAliasError$outboundSchema: z.ZodType< + CreateProjectProjectsAliasError$Outbound, + z.ZodTypeDef, + CreateProjectProjectsAliasError +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsAliasError$ { + /** @deprecated use `CreateProjectProjectsAliasError$inboundSchema` instead. */ + export const inboundSchema = CreateProjectProjectsAliasError$inboundSchema; + /** @deprecated use `CreateProjectProjectsAliasError$outboundSchema` instead. */ + export const outboundSchema = CreateProjectProjectsAliasError$outboundSchema; + /** @deprecated use `CreateProjectProjectsAliasError$Outbound` instead. */ + export type Outbound = CreateProjectProjectsAliasError$Outbound; +} + +export function createProjectProjectsAliasErrorToJSON( + createProjectProjectsAliasError: CreateProjectProjectsAliasError, +): string { + return JSON.stringify( + CreateProjectProjectsAliasError$outboundSchema.parse( + createProjectProjectsAliasError, + ), + ); +} + +export function createProjectProjectsAliasErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectProjectsAliasError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectProjectsAliasError' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType + > = z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType, + ); + +/** @internal */ +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType + > = + CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$ { + /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema; + /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema; +} + +/** @internal */ +export const CreateProjectProjectsBranchMatcher$inboundSchema: z.ZodType< + CreateProjectProjectsBranchMatcher, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, + pattern: z.string(), +}); + +/** @internal */ +export type CreateProjectProjectsBranchMatcher$Outbound = { + type: string; + pattern: string; +}; + +/** @internal */ +export const CreateProjectProjectsBranchMatcher$outboundSchema: z.ZodType< + CreateProjectProjectsBranchMatcher$Outbound, + z.ZodTypeDef, + CreateProjectProjectsBranchMatcher +> = z.object({ + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema, + pattern: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsBranchMatcher$ { + /** @deprecated use `CreateProjectProjectsBranchMatcher$inboundSchema` instead. */ + export const inboundSchema = CreateProjectProjectsBranchMatcher$inboundSchema; + /** @deprecated use `CreateProjectProjectsBranchMatcher$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectProjectsBranchMatcher$outboundSchema; + /** @deprecated use `CreateProjectProjectsBranchMatcher$Outbound` instead. */ + export type Outbound = CreateProjectProjectsBranchMatcher$Outbound; +} + +export function createProjectProjectsBranchMatcherToJSON( + createProjectProjectsBranchMatcher: CreateProjectProjectsBranchMatcher, +): string { + return JSON.stringify( + CreateProjectProjectsBranchMatcher$outboundSchema.parse( + createProjectProjectsBranchMatcher, + ), + ); +} + +export function createProjectProjectsBranchMatcherFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectProjectsBranchMatcher' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectProjectsBuilds$inboundSchema: z.ZodType< + CreateProjectProjectsBuilds, + z.ZodTypeDef, + unknown +> = z.object({ + use: z.string(), + src: z.string().optional(), + dest: z.string().optional(), +}); + +/** @internal */ +export type CreateProjectProjectsBuilds$Outbound = { + use: string; + src?: string | undefined; + dest?: string | undefined; +}; + +/** @internal */ +export const CreateProjectProjectsBuilds$outboundSchema: z.ZodType< + CreateProjectProjectsBuilds$Outbound, + z.ZodTypeDef, + CreateProjectProjectsBuilds +> = z.object({ + use: z.string(), + src: z.string().optional(), + dest: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsBuilds$ { + /** @deprecated use `CreateProjectProjectsBuilds$inboundSchema` instead. */ + export const inboundSchema = CreateProjectProjectsBuilds$inboundSchema; + /** @deprecated use `CreateProjectProjectsBuilds$outboundSchema` instead. */ + export const outboundSchema = CreateProjectProjectsBuilds$outboundSchema; + /** @deprecated use `CreateProjectProjectsBuilds$Outbound` instead. */ + export type Outbound = CreateProjectProjectsBuilds$Outbound; +} + +export function createProjectProjectsBuildsToJSON( + createProjectProjectsBuilds: CreateProjectProjectsBuilds, +): string { + return JSON.stringify( + CreateProjectProjectsBuilds$outboundSchema.parse( + createProjectProjectsBuilds, + ), + ); +} + +export function createProjectProjectsBuildsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectProjectsBuilds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectProjectsBuilds' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectProjectsChecksConclusion$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateProjectProjectsChecksConclusion, + ); + +/** @internal */ +export const CreateProjectProjectsChecksConclusion$outboundSchema: + z.ZodNativeEnum = + CreateProjectProjectsChecksConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsChecksConclusion$ { + /** @deprecated use `CreateProjectProjectsChecksConclusion$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectProjectsChecksConclusion$inboundSchema; + /** @deprecated use `CreateProjectProjectsChecksConclusion$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectProjectsChecksConclusion$outboundSchema; +} + +/** @internal */ +export const CreateProjectProjectsChecksState$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectProjectsChecksState +> = z.nativeEnum(CreateProjectProjectsChecksState); + +/** @internal */ +export const CreateProjectProjectsChecksState$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectProjectsChecksState +> = CreateProjectProjectsChecksState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsChecksState$ { + /** @deprecated use `CreateProjectProjectsChecksState$inboundSchema` instead. */ + export const inboundSchema = CreateProjectProjectsChecksState$inboundSchema; + /** @deprecated use `CreateProjectProjectsChecksState$outboundSchema` instead. */ + export const outboundSchema = CreateProjectProjectsChecksState$outboundSchema; +} + +/** @internal */ +export const CreateProjectProjectsCreator$inboundSchema: z.ZodType< + CreateProjectProjectsCreator, + z.ZodTypeDef, + unknown +> = z.object({ + email: z.string(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), + uid: z.string(), + username: z.string(), +}); + +/** @internal */ +export type CreateProjectProjectsCreator$Outbound = { + email: string; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; + uid: string; + username: string; +}; + +/** @internal */ +export const CreateProjectProjectsCreator$outboundSchema: z.ZodType< + CreateProjectProjectsCreator$Outbound, + z.ZodTypeDef, + CreateProjectProjectsCreator +> = z.object({ + email: z.string(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), + uid: z.string(), + username: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsCreator$ { + /** @deprecated use `CreateProjectProjectsCreator$inboundSchema` instead. */ + export const inboundSchema = CreateProjectProjectsCreator$inboundSchema; + /** @deprecated use `CreateProjectProjectsCreator$outboundSchema` instead. */ + export const outboundSchema = CreateProjectProjectsCreator$outboundSchema; + /** @deprecated use `CreateProjectProjectsCreator$Outbound` instead. */ + export type Outbound = CreateProjectProjectsCreator$Outbound; +} + +export function createProjectProjectsCreatorToJSON( + createProjectProjectsCreator: CreateProjectProjectsCreator, +): string { + return JSON.stringify( + CreateProjectProjectsCreator$outboundSchema.parse( + createProjectProjectsCreator, + ), + ); +} + +export function createProjectProjectsCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectProjectsCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectProjectsCreator' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectProjectsOidcTokenClaims$inboundSchema: z.ZodType< + CreateProjectProjectsOidcTokenClaims, + z.ZodTypeDef, + unknown +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + owner_id: z.string(), + project: z.string(), + project_id: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + "owner_id": "ownerId", + "project_id": "projectId", + }); +}); + +/** @internal */ +export type CreateProjectProjectsOidcTokenClaims$Outbound = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + owner_id: string; + project: string; + project_id: string; + environment: string; +}; + +/** @internal */ +export const CreateProjectProjectsOidcTokenClaims$outboundSchema: z.ZodType< + CreateProjectProjectsOidcTokenClaims$Outbound, + z.ZodTypeDef, + CreateProjectProjectsOidcTokenClaims +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + ownerId: z.string(), + project: z.string(), + projectId: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + ownerId: "owner_id", + projectId: "project_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsOidcTokenClaims$ { + /** @deprecated use `CreateProjectProjectsOidcTokenClaims$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectProjectsOidcTokenClaims$inboundSchema; + /** @deprecated use `CreateProjectProjectsOidcTokenClaims$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectProjectsOidcTokenClaims$outboundSchema; + /** @deprecated use `CreateProjectProjectsOidcTokenClaims$Outbound` instead. */ + export type Outbound = CreateProjectProjectsOidcTokenClaims$Outbound; +} + +export function createProjectProjectsOidcTokenClaimsToJSON( + createProjectProjectsOidcTokenClaims: CreateProjectProjectsOidcTokenClaims, +): string { + return JSON.stringify( + CreateProjectProjectsOidcTokenClaims$outboundSchema.parse( + createProjectProjectsOidcTokenClaims, + ), + ); +} + +export function createProjectProjectsOidcTokenClaimsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateProjectProjectsOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectProjectsOidcTokenClaims' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectProjectsPlan$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectProjectsPlan +> = z.nativeEnum(CreateProjectProjectsPlan); + +/** @internal */ +export const CreateProjectProjectsPlan$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectProjectsPlan +> = CreateProjectProjectsPlan$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsPlan$ { + /** @deprecated use `CreateProjectProjectsPlan$inboundSchema` instead. */ + export const inboundSchema = CreateProjectProjectsPlan$inboundSchema; + /** @deprecated use `CreateProjectProjectsPlan$outboundSchema` instead. */ + export const outboundSchema = CreateProjectProjectsPlan$outboundSchema; +} + +/** @internal */ +export const CreateProjectProjectsReadyState$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectProjectsReadyState +> = z.nativeEnum(CreateProjectProjectsReadyState); + +/** @internal */ +export const CreateProjectProjectsReadyState$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectProjectsReadyState +> = CreateProjectProjectsReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsReadyState$ { + /** @deprecated use `CreateProjectProjectsReadyState$inboundSchema` instead. */ + export const inboundSchema = CreateProjectProjectsReadyState$inboundSchema; + /** @deprecated use `CreateProjectProjectsReadyState$outboundSchema` instead. */ + export const outboundSchema = CreateProjectProjectsReadyState$outboundSchema; +} + +/** @internal */ +export const CreateProjectProjectsReadySubstate$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectProjectsReadySubstate +> = z.nativeEnum(CreateProjectProjectsReadySubstate); + +/** @internal */ +export const CreateProjectProjectsReadySubstate$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectProjectsReadySubstate +> = CreateProjectProjectsReadySubstate$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsReadySubstate$ { + /** @deprecated use `CreateProjectProjectsReadySubstate$inboundSchema` instead. */ + export const inboundSchema = CreateProjectProjectsReadySubstate$inboundSchema; + /** @deprecated use `CreateProjectProjectsReadySubstate$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectProjectsReadySubstate$outboundSchema; +} + +/** @internal */ +export const CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum = + z.nativeEnum(CreateProjectProjectsResponse200ApplicationJSONType); + +/** @internal */ +export const CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum = + CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsResponse200ApplicationJSONType$ { + /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const CreateProjectTargets$inboundSchema: z.ZodType< + CreateProjectTargets, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + aliasError: z.nullable( + z.lazy(() => CreateProjectProjectsAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + branchMatcher: z.lazy(() => CreateProjectProjectsBranchMatcher$inboundSchema) + .optional(), + buildingAt: z.number().optional(), + builds: z.array(z.lazy(() => CreateProjectProjectsBuilds$inboundSchema)) + .optional(), + checksConclusion: CreateProjectProjectsChecksConclusion$inboundSchema + .optional(), + checksState: CreateProjectProjectsChecksState$inboundSchema.optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdAt: z.number(), + createdIn: z.string(), + creator: z.nullable(z.lazy(() => CreateProjectProjectsCreator$inboundSchema)), + deletedAt: z.number().optional(), + deploymentHostname: z.string(), + forced: z.boolean().optional(), + name: z.string(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + oidcTokenClaims: z.lazy(() => + CreateProjectProjectsOidcTokenClaims$inboundSchema + ).optional(), + plan: CreateProjectProjectsPlan$inboundSchema, + previewCommentsEnabled: z.boolean().optional(), + private: z.boolean(), + readyAt: z.number().optional(), + readyState: CreateProjectProjectsReadyState$inboundSchema, + readySubstate: CreateProjectProjectsReadySubstate$inboundSchema.optional(), + requestedAt: z.number().optional(), + target: z.nullable(z.string()).optional(), + teamId: z.nullable(z.string()).optional(), + type: CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema, + url: z.string(), + userId: z.string(), + withCache: z.boolean().optional(), +}); + +/** @internal */ +export type CreateProjectTargets$Outbound = { + id: string; + alias?: Array | undefined; + aliasAssigned?: number | boolean | null | undefined; + aliasError?: CreateProjectProjectsAliasError$Outbound | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + branchMatcher?: CreateProjectProjectsBranchMatcher$Outbound | undefined; + buildingAt?: number | undefined; + builds?: Array | undefined; + checksConclusion?: string | undefined; + checksState?: string | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdAt: number; + createdIn: string; + creator: CreateProjectProjectsCreator$Outbound | null; + deletedAt?: number | undefined; + deploymentHostname: string; + forced?: boolean | undefined; + name: string; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + oidcTokenClaims?: CreateProjectProjectsOidcTokenClaims$Outbound | undefined; + plan: string; + previewCommentsEnabled?: boolean | undefined; + private: boolean; + readyAt?: number | undefined; + readyState: string; + readySubstate?: string | undefined; + requestedAt?: number | undefined; + target?: string | null | undefined; + teamId?: string | null | undefined; + type: string; + url: string; + userId: string; + withCache?: boolean | undefined; +}; + +/** @internal */ +export const CreateProjectTargets$outboundSchema: z.ZodType< + CreateProjectTargets$Outbound, + z.ZodTypeDef, + CreateProjectTargets +> = z.object({ + id: z.string(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + aliasError: z.nullable( + z.lazy(() => CreateProjectProjectsAliasError$outboundSchema), + ).optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + branchMatcher: z.lazy(() => CreateProjectProjectsBranchMatcher$outboundSchema) + .optional(), + buildingAt: z.number().optional(), + builds: z.array(z.lazy(() => CreateProjectProjectsBuilds$outboundSchema)) + .optional(), + checksConclusion: CreateProjectProjectsChecksConclusion$outboundSchema + .optional(), + checksState: CreateProjectProjectsChecksState$outboundSchema.optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdAt: z.number(), + createdIn: z.string(), + creator: z.nullable( + z.lazy(() => CreateProjectProjectsCreator$outboundSchema), + ), + deletedAt: z.number().optional(), + deploymentHostname: z.string(), + forced: z.boolean().optional(), + name: z.string(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + oidcTokenClaims: z.lazy(() => + CreateProjectProjectsOidcTokenClaims$outboundSchema + ).optional(), + plan: CreateProjectProjectsPlan$outboundSchema, + previewCommentsEnabled: z.boolean().optional(), + private: z.boolean(), + readyAt: z.number().optional(), + readyState: CreateProjectProjectsReadyState$outboundSchema, + readySubstate: CreateProjectProjectsReadySubstate$outboundSchema.optional(), + requestedAt: z.number().optional(), + target: z.nullable(z.string()).optional(), + teamId: z.nullable(z.string()).optional(), + type: CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema, + url: z.string(), + userId: z.string(), + withCache: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectTargets$ { + /** @deprecated use `CreateProjectTargets$inboundSchema` instead. */ + export const inboundSchema = CreateProjectTargets$inboundSchema; + /** @deprecated use `CreateProjectTargets$outboundSchema` instead. */ + export const outboundSchema = CreateProjectTargets$outboundSchema; + /** @deprecated use `CreateProjectTargets$Outbound` instead. */ + export type Outbound = CreateProjectTargets$Outbound; +} + +export function createProjectTargetsToJSON( + createProjectTargets: CreateProjectTargets, +): string { + return JSON.stringify( + CreateProjectTargets$outboundSchema.parse(createProjectTargets), + ); +} + +export function createProjectTargetsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectTargets$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectTargets' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectPermissions$inboundSchema: z.ZodType< + CreateProjectPermissions, + z.ZodTypeDef, + unknown +> = z.object({ + accessGroup: z.array(ACLAction$inboundSchema).optional(), + aliasGlobal: z.array(ACLAction$inboundSchema).optional(), + analyticsSampling: z.array(ACLAction$inboundSchema).optional(), + analyticsUsage: z.array(ACLAction$inboundSchema).optional(), + auditLog: z.array(ACLAction$inboundSchema).optional(), + billingAddress: z.array(ACLAction$inboundSchema).optional(), + billingInformation: z.array(ACLAction$inboundSchema).optional(), + billingInvoice: z.array(ACLAction$inboundSchema).optional(), + billingInvoiceEmailRecipient: z.array(ACLAction$inboundSchema).optional(), + billingInvoiceLanguage: z.array(ACLAction$inboundSchema).optional(), + billingPlan: z.array(ACLAction$inboundSchema).optional(), + billingPurchaseOrder: z.array(ACLAction$inboundSchema).optional(), + billingTaxId: z.array(ACLAction$inboundSchema).optional(), + blob: z.array(ACLAction$inboundSchema).optional(), + budget: z.array(ACLAction$inboundSchema).optional(), + cacheArtifact: z.array(ACLAction$inboundSchema).optional(), + cacheArtifactUsageEvent: z.array(ACLAction$inboundSchema).optional(), + codeChecks: z.array(ACLAction$inboundSchema).optional(), + concurrentBuilds: z.array(ACLAction$inboundSchema).optional(), + connect: z.array(ACLAction$inboundSchema).optional(), + connectConfiguration: z.array(ACLAction$inboundSchema).optional(), + domain: z.array(ACLAction$inboundSchema).optional(), + domainAcceptDelegation: z.array(ACLAction$inboundSchema).optional(), + domainAuthCodes: z.array(ACLAction$inboundSchema).optional(), + domainCertificate: z.array(ACLAction$inboundSchema).optional(), + domainCheckConfig: z.array(ACLAction$inboundSchema).optional(), + domainMove: z.array(ACLAction$inboundSchema).optional(), + domainPurchase: z.array(ACLAction$inboundSchema).optional(), + domainRecord: z.array(ACLAction$inboundSchema).optional(), + domainTransferIn: z.array(ACLAction$inboundSchema).optional(), + event: z.array(ACLAction$inboundSchema).optional(), + ownEvent: z.array(ACLAction$inboundSchema).optional(), + sensitiveEnvironmentVariablePolicy: z.array(ACLAction$inboundSchema) + .optional(), + fileUpload: z.array(ACLAction$inboundSchema).optional(), + gitRepository: z.array(ACLAction$inboundSchema).optional(), + ipBlocking: z.array(ACLAction$inboundSchema).optional(), + integration: z.array(ACLAction$inboundSchema).optional(), + integrationAccount: z.array(ACLAction$inboundSchema).optional(), + integrationConfiguration: z.array(ACLAction$inboundSchema).optional(), + integrationConfigurationTransfer: z.array(ACLAction$inboundSchema).optional(), + integrationConfigurationProjects: z.array(ACLAction$inboundSchema).optional(), + integrationVercelConfigurationOverride: z.array(ACLAction$inboundSchema) + .optional(), + integrationConfigurationRole: z.array(ACLAction$inboundSchema).optional(), + integrationResource: z.array(ACLAction$inboundSchema).optional(), + integrationEvent: z.array(ACLAction$inboundSchema).optional(), + integrationResourceSecrets: z.array(ACLAction$inboundSchema).optional(), + integrationDeploymentAction: z.array(ACLAction$inboundSchema).optional(), + marketplaceInstallationMember: z.array(ACLAction$inboundSchema).optional(), + marketplaceBillingData: z.array(ACLAction$inboundSchema).optional(), + marketplaceInvoice: z.array(ACLAction$inboundSchema).optional(), + jobGlobal: z.array(ACLAction$inboundSchema).optional(), + logDrain: z.array(ACLAction$inboundSchema).optional(), + Monitoring: z.array(ACLAction$inboundSchema).optional(), + monitoringSettings: z.array(ACLAction$inboundSchema).optional(), + monitoringQuery: z.array(ACLAction$inboundSchema).optional(), + monitoringChart: z.array(ACLAction$inboundSchema).optional(), + monitoringAlert: z.array(ACLAction$inboundSchema).optional(), + notificationDeploymentFailed: z.array(ACLAction$inboundSchema).optional(), + notificationDomainConfiguration: z.array(ACLAction$inboundSchema).optional(), + notificationDomainExpire: z.array(ACLAction$inboundSchema).optional(), + notificationDomainMoved: z.array(ACLAction$inboundSchema).optional(), + notificationDomainPurchase: z.array(ACLAction$inboundSchema).optional(), + notificationDomainRenewal: z.array(ACLAction$inboundSchema).optional(), + notificationDomainTransfer: z.array(ACLAction$inboundSchema).optional(), + notificationDomainUnverified: z.array(ACLAction$inboundSchema).optional(), + NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(), + notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(), + notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(), + notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), + notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(), + oauth2Connection: z.array(ACLAction$inboundSchema).optional(), + observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(), + openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(), + paymentMethod: z.array(ACLAction$inboundSchema).optional(), + permissions: z.array(ACLAction$inboundSchema).optional(), + postgres: z.array(ACLAction$inboundSchema).optional(), + previewDeploymentSuffix: z.array(ACLAction$inboundSchema).optional(), + proTrialOnboarding: z.array(ACLAction$inboundSchema).optional(), + sharedEnvVars: z.array(ACLAction$inboundSchema).optional(), + sharedEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(), + space: z.array(ACLAction$inboundSchema).optional(), + spaceRun: z.array(ACLAction$inboundSchema).optional(), + passwordProtectionInvoiceItem: z.array(ACLAction$inboundSchema).optional(), + rateLimit: z.array(ACLAction$inboundSchema).optional(), + redis: z.array(ACLAction$inboundSchema).optional(), + repository: z.array(ACLAction$inboundSchema).optional(), + remoteCaching: z.array(ACLAction$inboundSchema).optional(), + samlConfig: z.array(ACLAction$inboundSchema).optional(), + secret: z.array(ACLAction$inboundSchema).optional(), + redisStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + blobStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + postgresStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + integrationStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + integrationResourceReplCommand: z.array(ACLAction$inboundSchema).optional(), + storeTransfer: z.array(ACLAction$inboundSchema).optional(), + supportCase: z.array(ACLAction$inboundSchema).optional(), + supportCaseComment: z.array(ACLAction$inboundSchema).optional(), + dataCacheBillingSettings: z.array(ACLAction$inboundSchema).optional(), + team: z.array(ACLAction$inboundSchema).optional(), + teamAccessRequest: z.array(ACLAction$inboundSchema).optional(), + teamFellowMembership: z.array(ACLAction$inboundSchema).optional(), + teamGitExclusivity: z.array(ACLAction$inboundSchema).optional(), + teamInvite: z.array(ACLAction$inboundSchema).optional(), + teamInviteCode: z.array(ACLAction$inboundSchema).optional(), + teamJoin: z.array(ACLAction$inboundSchema).optional(), + teamMicrofrontends: z.array(ACLAction$inboundSchema).optional(), + teamOwnMembership: z.array(ACLAction$inboundSchema).optional(), + teamOwnMembershipDisconnectSAML: z.array(ACLAction$inboundSchema).optional(), + token: z.array(ACLAction$inboundSchema).optional(), + usage: z.array(ACLAction$inboundSchema).optional(), + usageCycle: z.array(ACLAction$inboundSchema).optional(), + user: z.array(ACLAction$inboundSchema).optional(), + userConnection: z.array(ACLAction$inboundSchema).optional(), + vpcPeeringConnection: z.array(ACLAction$inboundSchema).optional(), + webAnalyticsPlan: z.array(ACLAction$inboundSchema).optional(), + webAuthn: z.array(ACLAction$inboundSchema).optional(), + edgeConfig: z.array(ACLAction$inboundSchema).optional(), + edgeConfigItem: z.array(ACLAction$inboundSchema).optional(), + edgeConfigSchema: z.array(ACLAction$inboundSchema).optional(), + edgeConfigToken: z.array(ACLAction$inboundSchema).optional(), + webhook: z.array(ACLAction$inboundSchema).optional(), + "webhook-event": z.array(ACLAction$inboundSchema).optional(), + endpointVerification: z.array(ACLAction$inboundSchema).optional(), + projectTransferIn: z.array(ACLAction$inboundSchema).optional(), + oauth2Application: z.array(ACLAction$inboundSchema).optional(), + aliasProject: z.array(ACLAction$inboundSchema).optional(), + aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), + productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), + connectConfigurationLink: z.array(ACLAction$inboundSchema).optional(), + dataCacheNamespace: z.array(ACLAction$inboundSchema).optional(), + deployment: z.array(ACLAction$inboundSchema).optional(), + deploymentCheck: z.array(ACLAction$inboundSchema).optional(), + deploymentCheckPreview: z.array(ACLAction$inboundSchema).optional(), + deploymentCheckReRunFromProductionBranch: z.array(ACLAction$inboundSchema) + .optional(), + deploymentProductionGit: z.array(ACLAction$inboundSchema).optional(), + deploymentV0: z.array(ACLAction$inboundSchema).optional(), + deploymentPreview: z.array(ACLAction$inboundSchema).optional(), + deploymentPrivate: z.array(ACLAction$inboundSchema).optional(), + deploymentPromote: z.array(ACLAction$inboundSchema).optional(), + deploymentRollback: z.array(ACLAction$inboundSchema).optional(), + environments: z.array(ACLAction$inboundSchema).optional(), + logs: z.array(ACLAction$inboundSchema).optional(), + logsPreset: z.array(ACLAction$inboundSchema).optional(), + passwordProtection: z.array(ACLAction$inboundSchema).optional(), + optionsAllowlist: z.array(ACLAction$inboundSchema).optional(), + job: z.array(ACLAction$inboundSchema).optional(), + observabilityData: z.array(ACLAction$inboundSchema).optional(), + project: z.array(ACLAction$inboundSchema).optional(), + projectFromV0: z.array(ACLAction$inboundSchema).optional(), + projectAccessGroup: z.array(ACLAction$inboundSchema).optional(), + projectAnalyticsSampling: z.array(ACLAction$inboundSchema).optional(), + projectDeploymentHook: z.array(ACLAction$inboundSchema).optional(), + projectDomain: z.array(ACLAction$inboundSchema).optional(), + projectDomainMove: z.array(ACLAction$inboundSchema).optional(), + projectDomainCheckConfig: z.array(ACLAction$inboundSchema).optional(), + projectEnvVars: z.array(ACLAction$inboundSchema).optional(), + projectEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(), + projectEnvVarsUnownedByIntegration: z.array(ACLAction$inboundSchema) + .optional(), + projectFlags: z.array(ACLAction$inboundSchema).optional(), + projectId: z.array(ACLAction$inboundSchema).optional(), + projectIntegrationConfiguration: z.array(ACLAction$inboundSchema).optional(), + projectLink: z.array(ACLAction$inboundSchema).optional(), + projectMember: z.array(ACLAction$inboundSchema).optional(), + projectMonitoring: z.array(ACLAction$inboundSchema).optional(), + projectPermissions: z.array(ACLAction$inboundSchema).optional(), + projectProductionBranch: z.array(ACLAction$inboundSchema).optional(), + projectTransfer: z.array(ACLAction$inboundSchema).optional(), + projectTransferOut: z.array(ACLAction$inboundSchema).optional(), + projectProtectionBypass: z.array(ACLAction$inboundSchema).optional(), + projectUsage: z.array(ACLAction$inboundSchema).optional(), + projectAnalyticsUsage: z.array(ACLAction$inboundSchema).optional(), + projectSupportCase: z.array(ACLAction$inboundSchema).optional(), + projectSupportCaseComment: z.array(ACLAction$inboundSchema).optional(), + projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(), + projectTier: z.array(ACLAction$inboundSchema).optional(), + seawallConfig: z.array(ACLAction$inboundSchema).optional(), + skewProtection: z.array(ACLAction$inboundSchema).optional(), + analytics: z.array(ACLAction$inboundSchema).optional(), + trustedIps: z.array(ACLAction$inboundSchema).optional(), + webAnalytics: z.array(ACLAction$inboundSchema).optional(), + sharedEnvVarConnection: z.array(ACLAction$inboundSchema).optional(), + sonar: z.array(ACLAction$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "Monitoring": "monitoring", + "NotificationMonitoringAlert": "notificationMonitoringAlert", + "webhook-event": "webhookEvent", + }); +}); + +/** @internal */ +export type CreateProjectPermissions$Outbound = { + accessGroup?: Array | undefined; + aliasGlobal?: Array | undefined; + analyticsSampling?: Array | undefined; + analyticsUsage?: Array | undefined; + auditLog?: Array | undefined; + billingAddress?: Array | undefined; + billingInformation?: Array | undefined; + billingInvoice?: Array | undefined; + billingInvoiceEmailRecipient?: Array | undefined; + billingInvoiceLanguage?: Array | undefined; + billingPlan?: Array | undefined; + billingPurchaseOrder?: Array | undefined; + billingTaxId?: Array | undefined; + blob?: Array | undefined; + budget?: Array | undefined; + cacheArtifact?: Array | undefined; + cacheArtifactUsageEvent?: Array | undefined; + codeChecks?: Array | undefined; + concurrentBuilds?: Array | undefined; + connect?: Array | undefined; + connectConfiguration?: Array | undefined; + domain?: Array | undefined; + domainAcceptDelegation?: Array | undefined; + domainAuthCodes?: Array | undefined; + domainCertificate?: Array | undefined; + domainCheckConfig?: Array | undefined; + domainMove?: Array | undefined; + domainPurchase?: Array | undefined; + domainRecord?: Array | undefined; + domainTransferIn?: Array | undefined; + event?: Array | undefined; + ownEvent?: Array | undefined; + sensitiveEnvironmentVariablePolicy?: Array | undefined; + fileUpload?: Array | undefined; + gitRepository?: Array | undefined; + ipBlocking?: Array | undefined; + integration?: Array | undefined; + integrationAccount?: Array | undefined; + integrationConfiguration?: Array | undefined; + integrationConfigurationTransfer?: Array | undefined; + integrationConfigurationProjects?: Array | undefined; + integrationVercelConfigurationOverride?: Array | undefined; + integrationConfigurationRole?: Array | undefined; + integrationResource?: Array | undefined; + integrationEvent?: Array | undefined; + integrationResourceSecrets?: Array | undefined; + integrationDeploymentAction?: Array | undefined; + marketplaceInstallationMember?: Array | undefined; + marketplaceBillingData?: Array | undefined; + marketplaceInvoice?: Array | undefined; + jobGlobal?: Array | undefined; + logDrain?: Array | undefined; + Monitoring?: Array | undefined; + monitoringSettings?: Array | undefined; + monitoringQuery?: Array | undefined; + monitoringChart?: Array | undefined; + monitoringAlert?: Array | undefined; + notificationDeploymentFailed?: Array | undefined; + notificationDomainConfiguration?: Array | undefined; + notificationDomainExpire?: Array | undefined; + notificationDomainMoved?: Array | undefined; + notificationDomainPurchase?: Array | undefined; + notificationDomainRenewal?: Array | undefined; + notificationDomainTransfer?: Array | undefined; + notificationDomainUnverified?: Array | undefined; + NotificationMonitoringAlert?: Array | undefined; + notificationPaymentFailed?: Array | undefined; + notificationUsageAlert?: Array | undefined; + notificationCustomerBudget?: Array | undefined; + notificationStatementOfReasons?: Array | undefined; + oauth2Connection?: Array | undefined; + observabilityConfiguration?: Array | undefined; + openTelemetryEndpoint?: Array | undefined; + paymentMethod?: Array | undefined; + permissions?: Array | undefined; + postgres?: Array | undefined; + previewDeploymentSuffix?: Array | undefined; + proTrialOnboarding?: Array | undefined; + sharedEnvVars?: Array | undefined; + sharedEnvVarsProduction?: Array | undefined; + space?: Array | undefined; + spaceRun?: Array | undefined; + passwordProtectionInvoiceItem?: Array | undefined; + rateLimit?: Array | undefined; + redis?: Array | undefined; + repository?: Array | undefined; + remoteCaching?: Array | undefined; + samlConfig?: Array | undefined; + secret?: Array | undefined; + redisStoreTokenSet?: Array | undefined; + blobStoreTokenSet?: Array | undefined; + postgresStoreTokenSet?: Array | undefined; + integrationStoreTokenSet?: Array | undefined; + integrationResourceReplCommand?: Array | undefined; + storeTransfer?: Array | undefined; + supportCase?: Array | undefined; + supportCaseComment?: Array | undefined; + dataCacheBillingSettings?: Array | undefined; + team?: Array | undefined; + teamAccessRequest?: Array | undefined; + teamFellowMembership?: Array | undefined; + teamGitExclusivity?: Array | undefined; + teamInvite?: Array | undefined; + teamInviteCode?: Array | undefined; + teamJoin?: Array | undefined; + teamMicrofrontends?: Array | undefined; + teamOwnMembership?: Array | undefined; + teamOwnMembershipDisconnectSAML?: Array | undefined; + token?: Array | undefined; + usage?: Array | undefined; + usageCycle?: Array | undefined; + user?: Array | undefined; + userConnection?: Array | undefined; + vpcPeeringConnection?: Array | undefined; + webAnalyticsPlan?: Array | undefined; + webAuthn?: Array | undefined; + edgeConfig?: Array | undefined; + edgeConfigItem?: Array | undefined; + edgeConfigSchema?: Array | undefined; + edgeConfigToken?: Array | undefined; + webhook?: Array | undefined; + "webhook-event"?: Array | undefined; + endpointVerification?: Array | undefined; + projectTransferIn?: Array | undefined; + oauth2Application?: Array | undefined; + aliasProject?: Array | undefined; + aliasProtectionBypass?: Array | undefined; + productionAliasProtectionBypass?: Array | undefined; + connectConfigurationLink?: Array | undefined; + dataCacheNamespace?: Array | undefined; + deployment?: Array | undefined; + deploymentCheck?: Array | undefined; + deploymentCheckPreview?: Array | undefined; + deploymentCheckReRunFromProductionBranch?: Array | undefined; + deploymentProductionGit?: Array | undefined; + deploymentV0?: Array | undefined; + deploymentPreview?: Array | undefined; + deploymentPrivate?: Array | undefined; + deploymentPromote?: Array | undefined; + deploymentRollback?: Array | undefined; + environments?: Array | undefined; + logs?: Array | undefined; + logsPreset?: Array | undefined; + passwordProtection?: Array | undefined; + optionsAllowlist?: Array | undefined; + job?: Array | undefined; + observabilityData?: Array | undefined; + project?: Array | undefined; + projectFromV0?: Array | undefined; + projectAccessGroup?: Array | undefined; + projectAnalyticsSampling?: Array | undefined; + projectDeploymentHook?: Array | undefined; + projectDomain?: Array | undefined; + projectDomainMove?: Array | undefined; + projectDomainCheckConfig?: Array | undefined; + projectEnvVars?: Array | undefined; + projectEnvVarsProduction?: Array | undefined; + projectEnvVarsUnownedByIntegration?: Array | undefined; + projectFlags?: Array | undefined; + projectId?: Array | undefined; + projectIntegrationConfiguration?: Array | undefined; + projectLink?: Array | undefined; + projectMember?: Array | undefined; + projectMonitoring?: Array | undefined; + projectPermissions?: Array | undefined; + projectProductionBranch?: Array | undefined; + projectTransfer?: Array | undefined; + projectTransferOut?: Array | undefined; + projectProtectionBypass?: Array | undefined; + projectUsage?: Array | undefined; + projectAnalyticsUsage?: Array | undefined; + projectSupportCase?: Array | undefined; + projectSupportCaseComment?: Array | undefined; + projectDeploymentExpiration?: Array | undefined; + projectTier?: Array | undefined; + seawallConfig?: Array | undefined; + skewProtection?: Array | undefined; + analytics?: Array | undefined; + trustedIps?: Array | undefined; + webAnalytics?: Array | undefined; + sharedEnvVarConnection?: Array | undefined; + sonar?: Array | undefined; +}; + +/** @internal */ +export const CreateProjectPermissions$outboundSchema: z.ZodType< + CreateProjectPermissions$Outbound, + z.ZodTypeDef, + CreateProjectPermissions +> = z.object({ + accessGroup: z.array(ACLAction$outboundSchema).optional(), + aliasGlobal: z.array(ACLAction$outboundSchema).optional(), + analyticsSampling: z.array(ACLAction$outboundSchema).optional(), + analyticsUsage: z.array(ACLAction$outboundSchema).optional(), + auditLog: z.array(ACLAction$outboundSchema).optional(), + billingAddress: z.array(ACLAction$outboundSchema).optional(), + billingInformation: z.array(ACLAction$outboundSchema).optional(), + billingInvoice: z.array(ACLAction$outboundSchema).optional(), + billingInvoiceEmailRecipient: z.array(ACLAction$outboundSchema).optional(), + billingInvoiceLanguage: z.array(ACLAction$outboundSchema).optional(), + billingPlan: z.array(ACLAction$outboundSchema).optional(), + billingPurchaseOrder: z.array(ACLAction$outboundSchema).optional(), + billingTaxId: z.array(ACLAction$outboundSchema).optional(), + blob: z.array(ACLAction$outboundSchema).optional(), + budget: z.array(ACLAction$outboundSchema).optional(), + cacheArtifact: z.array(ACLAction$outboundSchema).optional(), + cacheArtifactUsageEvent: z.array(ACLAction$outboundSchema).optional(), + codeChecks: z.array(ACLAction$outboundSchema).optional(), + concurrentBuilds: z.array(ACLAction$outboundSchema).optional(), + connect: z.array(ACLAction$outboundSchema).optional(), + connectConfiguration: z.array(ACLAction$outboundSchema).optional(), + domain: z.array(ACLAction$outboundSchema).optional(), + domainAcceptDelegation: z.array(ACLAction$outboundSchema).optional(), + domainAuthCodes: z.array(ACLAction$outboundSchema).optional(), + domainCertificate: z.array(ACLAction$outboundSchema).optional(), + domainCheckConfig: z.array(ACLAction$outboundSchema).optional(), + domainMove: z.array(ACLAction$outboundSchema).optional(), + domainPurchase: z.array(ACLAction$outboundSchema).optional(), + domainRecord: z.array(ACLAction$outboundSchema).optional(), + domainTransferIn: z.array(ACLAction$outboundSchema).optional(), + event: z.array(ACLAction$outboundSchema).optional(), + ownEvent: z.array(ACLAction$outboundSchema).optional(), + sensitiveEnvironmentVariablePolicy: z.array(ACLAction$outboundSchema) + .optional(), + fileUpload: z.array(ACLAction$outboundSchema).optional(), + gitRepository: z.array(ACLAction$outboundSchema).optional(), + ipBlocking: z.array(ACLAction$outboundSchema).optional(), + integration: z.array(ACLAction$outboundSchema).optional(), + integrationAccount: z.array(ACLAction$outboundSchema).optional(), + integrationConfiguration: z.array(ACLAction$outboundSchema).optional(), + integrationConfigurationTransfer: z.array(ACLAction$outboundSchema) + .optional(), + integrationConfigurationProjects: z.array(ACLAction$outboundSchema) + .optional(), + integrationVercelConfigurationOverride: z.array(ACLAction$outboundSchema) + .optional(), + integrationConfigurationRole: z.array(ACLAction$outboundSchema).optional(), + integrationResource: z.array(ACLAction$outboundSchema).optional(), + integrationEvent: z.array(ACLAction$outboundSchema).optional(), + integrationResourceSecrets: z.array(ACLAction$outboundSchema).optional(), + integrationDeploymentAction: z.array(ACLAction$outboundSchema).optional(), + marketplaceInstallationMember: z.array(ACLAction$outboundSchema).optional(), + marketplaceBillingData: z.array(ACLAction$outboundSchema).optional(), + marketplaceInvoice: z.array(ACLAction$outboundSchema).optional(), + jobGlobal: z.array(ACLAction$outboundSchema).optional(), + logDrain: z.array(ACLAction$outboundSchema).optional(), + monitoring: z.array(ACLAction$outboundSchema).optional(), + monitoringSettings: z.array(ACLAction$outboundSchema).optional(), + monitoringQuery: z.array(ACLAction$outboundSchema).optional(), + monitoringChart: z.array(ACLAction$outboundSchema).optional(), + monitoringAlert: z.array(ACLAction$outboundSchema).optional(), + notificationDeploymentFailed: z.array(ACLAction$outboundSchema).optional(), + notificationDomainConfiguration: z.array(ACLAction$outboundSchema).optional(), + notificationDomainExpire: z.array(ACLAction$outboundSchema).optional(), + notificationDomainMoved: z.array(ACLAction$outboundSchema).optional(), + notificationDomainPurchase: z.array(ACLAction$outboundSchema).optional(), + notificationDomainRenewal: z.array(ACLAction$outboundSchema).optional(), + notificationDomainTransfer: z.array(ACLAction$outboundSchema).optional(), + notificationDomainUnverified: z.array(ACLAction$outboundSchema).optional(), + notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(), + notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(), + notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(), + notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), + notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(), + oauth2Connection: z.array(ACLAction$outboundSchema).optional(), + observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(), + openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(), + paymentMethod: z.array(ACLAction$outboundSchema).optional(), + permissions: z.array(ACLAction$outboundSchema).optional(), + postgres: z.array(ACLAction$outboundSchema).optional(), + previewDeploymentSuffix: z.array(ACLAction$outboundSchema).optional(), + proTrialOnboarding: z.array(ACLAction$outboundSchema).optional(), + sharedEnvVars: z.array(ACLAction$outboundSchema).optional(), + sharedEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(), + space: z.array(ACLAction$outboundSchema).optional(), + spaceRun: z.array(ACLAction$outboundSchema).optional(), + passwordProtectionInvoiceItem: z.array(ACLAction$outboundSchema).optional(), + rateLimit: z.array(ACLAction$outboundSchema).optional(), + redis: z.array(ACLAction$outboundSchema).optional(), + repository: z.array(ACLAction$outboundSchema).optional(), + remoteCaching: z.array(ACLAction$outboundSchema).optional(), + samlConfig: z.array(ACLAction$outboundSchema).optional(), + secret: z.array(ACLAction$outboundSchema).optional(), + redisStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + blobStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + postgresStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + integrationStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + integrationResourceReplCommand: z.array(ACLAction$outboundSchema).optional(), + storeTransfer: z.array(ACLAction$outboundSchema).optional(), + supportCase: z.array(ACLAction$outboundSchema).optional(), + supportCaseComment: z.array(ACLAction$outboundSchema).optional(), + dataCacheBillingSettings: z.array(ACLAction$outboundSchema).optional(), + team: z.array(ACLAction$outboundSchema).optional(), + teamAccessRequest: z.array(ACLAction$outboundSchema).optional(), + teamFellowMembership: z.array(ACLAction$outboundSchema).optional(), + teamGitExclusivity: z.array(ACLAction$outboundSchema).optional(), + teamInvite: z.array(ACLAction$outboundSchema).optional(), + teamInviteCode: z.array(ACLAction$outboundSchema).optional(), + teamJoin: z.array(ACLAction$outboundSchema).optional(), + teamMicrofrontends: z.array(ACLAction$outboundSchema).optional(), + teamOwnMembership: z.array(ACLAction$outboundSchema).optional(), + teamOwnMembershipDisconnectSAML: z.array(ACLAction$outboundSchema).optional(), + token: z.array(ACLAction$outboundSchema).optional(), + usage: z.array(ACLAction$outboundSchema).optional(), + usageCycle: z.array(ACLAction$outboundSchema).optional(), + user: z.array(ACLAction$outboundSchema).optional(), + userConnection: z.array(ACLAction$outboundSchema).optional(), + vpcPeeringConnection: z.array(ACLAction$outboundSchema).optional(), + webAnalyticsPlan: z.array(ACLAction$outboundSchema).optional(), + webAuthn: z.array(ACLAction$outboundSchema).optional(), + edgeConfig: z.array(ACLAction$outboundSchema).optional(), + edgeConfigItem: z.array(ACLAction$outboundSchema).optional(), + edgeConfigSchema: z.array(ACLAction$outboundSchema).optional(), + edgeConfigToken: z.array(ACLAction$outboundSchema).optional(), + webhook: z.array(ACLAction$outboundSchema).optional(), + webhookEvent: z.array(ACLAction$outboundSchema).optional(), + endpointVerification: z.array(ACLAction$outboundSchema).optional(), + projectTransferIn: z.array(ACLAction$outboundSchema).optional(), + oauth2Application: z.array(ACLAction$outboundSchema).optional(), + aliasProject: z.array(ACLAction$outboundSchema).optional(), + aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), + productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), + connectConfigurationLink: z.array(ACLAction$outboundSchema).optional(), + dataCacheNamespace: z.array(ACLAction$outboundSchema).optional(), + deployment: z.array(ACLAction$outboundSchema).optional(), + deploymentCheck: z.array(ACLAction$outboundSchema).optional(), + deploymentCheckPreview: z.array(ACLAction$outboundSchema).optional(), + deploymentCheckReRunFromProductionBranch: z.array(ACLAction$outboundSchema) + .optional(), + deploymentProductionGit: z.array(ACLAction$outboundSchema).optional(), + deploymentV0: z.array(ACLAction$outboundSchema).optional(), + deploymentPreview: z.array(ACLAction$outboundSchema).optional(), + deploymentPrivate: z.array(ACLAction$outboundSchema).optional(), + deploymentPromote: z.array(ACLAction$outboundSchema).optional(), + deploymentRollback: z.array(ACLAction$outboundSchema).optional(), + environments: z.array(ACLAction$outboundSchema).optional(), + logs: z.array(ACLAction$outboundSchema).optional(), + logsPreset: z.array(ACLAction$outboundSchema).optional(), + passwordProtection: z.array(ACLAction$outboundSchema).optional(), + optionsAllowlist: z.array(ACLAction$outboundSchema).optional(), + job: z.array(ACLAction$outboundSchema).optional(), + observabilityData: z.array(ACLAction$outboundSchema).optional(), + project: z.array(ACLAction$outboundSchema).optional(), + projectFromV0: z.array(ACLAction$outboundSchema).optional(), + projectAccessGroup: z.array(ACLAction$outboundSchema).optional(), + projectAnalyticsSampling: z.array(ACLAction$outboundSchema).optional(), + projectDeploymentHook: z.array(ACLAction$outboundSchema).optional(), + projectDomain: z.array(ACLAction$outboundSchema).optional(), + projectDomainMove: z.array(ACLAction$outboundSchema).optional(), + projectDomainCheckConfig: z.array(ACLAction$outboundSchema).optional(), + projectEnvVars: z.array(ACLAction$outboundSchema).optional(), + projectEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(), + projectEnvVarsUnownedByIntegration: z.array(ACLAction$outboundSchema) + .optional(), + projectFlags: z.array(ACLAction$outboundSchema).optional(), + projectId: z.array(ACLAction$outboundSchema).optional(), + projectIntegrationConfiguration: z.array(ACLAction$outboundSchema).optional(), + projectLink: z.array(ACLAction$outboundSchema).optional(), + projectMember: z.array(ACLAction$outboundSchema).optional(), + projectMonitoring: z.array(ACLAction$outboundSchema).optional(), + projectPermissions: z.array(ACLAction$outboundSchema).optional(), + projectProductionBranch: z.array(ACLAction$outboundSchema).optional(), + projectTransfer: z.array(ACLAction$outboundSchema).optional(), + projectTransferOut: z.array(ACLAction$outboundSchema).optional(), + projectProtectionBypass: z.array(ACLAction$outboundSchema).optional(), + projectUsage: z.array(ACLAction$outboundSchema).optional(), + projectAnalyticsUsage: z.array(ACLAction$outboundSchema).optional(), + projectSupportCase: z.array(ACLAction$outboundSchema).optional(), + projectSupportCaseComment: z.array(ACLAction$outboundSchema).optional(), + projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(), + projectTier: z.array(ACLAction$outboundSchema).optional(), + seawallConfig: z.array(ACLAction$outboundSchema).optional(), + skewProtection: z.array(ACLAction$outboundSchema).optional(), + analytics: z.array(ACLAction$outboundSchema).optional(), + trustedIps: z.array(ACLAction$outboundSchema).optional(), + webAnalytics: z.array(ACLAction$outboundSchema).optional(), + sharedEnvVarConnection: z.array(ACLAction$outboundSchema).optional(), + sonar: z.array(ACLAction$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + monitoring: "Monitoring", + notificationMonitoringAlert: "NotificationMonitoringAlert", + webhookEvent: "webhook-event", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectPermissions$ { + /** @deprecated use `CreateProjectPermissions$inboundSchema` instead. */ + export const inboundSchema = CreateProjectPermissions$inboundSchema; + /** @deprecated use `CreateProjectPermissions$outboundSchema` instead. */ + export const outboundSchema = CreateProjectPermissions$outboundSchema; + /** @deprecated use `CreateProjectPermissions$Outbound` instead. */ + export type Outbound = CreateProjectPermissions$Outbound; +} + +export function createProjectPermissionsToJSON( + createProjectPermissions: CreateProjectPermissions, +): string { + return JSON.stringify( + CreateProjectPermissions$outboundSchema.parse(createProjectPermissions), + ); +} + +export function createProjectPermissionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectPermissions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectPermissions' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectLastRollbackTarget$inboundSchema: z.ZodType< + CreateProjectLastRollbackTarget, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type CreateProjectLastRollbackTarget$Outbound = {}; + +/** @internal */ +export const CreateProjectLastRollbackTarget$outboundSchema: z.ZodType< + CreateProjectLastRollbackTarget$Outbound, + z.ZodTypeDef, + CreateProjectLastRollbackTarget +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectLastRollbackTarget$ { + /** @deprecated use `CreateProjectLastRollbackTarget$inboundSchema` instead. */ + export const inboundSchema = CreateProjectLastRollbackTarget$inboundSchema; + /** @deprecated use `CreateProjectLastRollbackTarget$outboundSchema` instead. */ + export const outboundSchema = CreateProjectLastRollbackTarget$outboundSchema; + /** @deprecated use `CreateProjectLastRollbackTarget$Outbound` instead. */ + export type Outbound = CreateProjectLastRollbackTarget$Outbound; +} + +export function createProjectLastRollbackTargetToJSON( + createProjectLastRollbackTarget: CreateProjectLastRollbackTarget, +): string { + return JSON.stringify( + CreateProjectLastRollbackTarget$outboundSchema.parse( + createProjectLastRollbackTarget, + ), + ); +} + +export function createProjectLastRollbackTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectLastRollbackTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectLastRollbackTarget' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectJobStatus$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectJobStatus +> = z.nativeEnum(CreateProjectJobStatus); + +/** @internal */ +export const CreateProjectJobStatus$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectJobStatus +> = CreateProjectJobStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectJobStatus$ { + /** @deprecated use `CreateProjectJobStatus$inboundSchema` instead. */ + export const inboundSchema = CreateProjectJobStatus$inboundSchema; + /** @deprecated use `CreateProjectJobStatus$outboundSchema` instead. */ + export const outboundSchema = CreateProjectJobStatus$outboundSchema; +} + +/** @internal */ +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodyType, + ); + +/** @internal */ +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType + > = + CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$ { + /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; +} + +/** @internal */ +export const CreateProjectLastAliasRequest$inboundSchema: z.ZodType< + CreateProjectLastAliasRequest, + z.ZodTypeDef, + unknown +> = z.object({ + fromDeploymentId: z.string(), + toDeploymentId: z.string(), + jobStatus: CreateProjectJobStatus$inboundSchema, + requestedAt: z.number(), + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, +}); + +/** @internal */ +export type CreateProjectLastAliasRequest$Outbound = { + fromDeploymentId: string; + toDeploymentId: string; + jobStatus: string; + requestedAt: number; + type: string; +}; + +/** @internal */ +export const CreateProjectLastAliasRequest$outboundSchema: z.ZodType< + CreateProjectLastAliasRequest$Outbound, + z.ZodTypeDef, + CreateProjectLastAliasRequest +> = z.object({ + fromDeploymentId: z.string(), + toDeploymentId: z.string(), + jobStatus: CreateProjectJobStatus$outboundSchema, + requestedAt: z.number(), + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectLastAliasRequest$ { + /** @deprecated use `CreateProjectLastAliasRequest$inboundSchema` instead. */ + export const inboundSchema = CreateProjectLastAliasRequest$inboundSchema; + /** @deprecated use `CreateProjectLastAliasRequest$outboundSchema` instead. */ + export const outboundSchema = CreateProjectLastAliasRequest$outboundSchema; + /** @deprecated use `CreateProjectLastAliasRequest$Outbound` instead. */ + export type Outbound = CreateProjectLastAliasRequest$Outbound; +} + +export function createProjectLastAliasRequestToJSON( + createProjectLastAliasRequest: CreateProjectLastAliasRequest, +): string { + return JSON.stringify( + CreateProjectLastAliasRequest$outboundSchema.parse( + createProjectLastAliasRequest, + ), + ); +} + +export function createProjectLastAliasRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectLastAliasRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectLastAliasRequest' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectScope$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectScope +> = z.nativeEnum(CreateProjectScope); + +/** @internal */ +export const CreateProjectScope$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectScope +> = CreateProjectScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectScope$ { + /** @deprecated use `CreateProjectScope$inboundSchema` instead. */ + export const inboundSchema = CreateProjectScope$inboundSchema; + /** @deprecated use `CreateProjectScope$outboundSchema` instead. */ + export const outboundSchema = CreateProjectScope$outboundSchema; +} + +/** @internal */ +export const CreateProjectProtectionBypass$inboundSchema: z.ZodType< + CreateProjectProtectionBypass, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: CreateProjectScope$inboundSchema, +}); + +/** @internal */ +export type CreateProjectProtectionBypass$Outbound = { + createdAt: number; + createdBy: string; + scope: string; +}; + +/** @internal */ +export const CreateProjectProtectionBypass$outboundSchema: z.ZodType< + CreateProjectProtectionBypass$Outbound, + z.ZodTypeDef, + CreateProjectProtectionBypass +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: CreateProjectScope$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProtectionBypass$ { + /** @deprecated use `CreateProjectProtectionBypass$inboundSchema` instead. */ + export const inboundSchema = CreateProjectProtectionBypass$inboundSchema; + /** @deprecated use `CreateProjectProtectionBypass$outboundSchema` instead. */ + export const outboundSchema = CreateProjectProtectionBypass$outboundSchema; + /** @deprecated use `CreateProjectProtectionBypass$Outbound` instead. */ + export type Outbound = CreateProjectProtectionBypass$Outbound; +} + +export function createProjectProtectionBypassToJSON( + createProjectProtectionBypass: CreateProjectProtectionBypass, +): string { + return JSON.stringify( + CreateProjectProtectionBypass$outboundSchema.parse( + createProjectProtectionBypass, + ), + ); +} + +export function createProjectProtectionBypassFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectProtectionBypass$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectProtectionBypass' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectTrustedIpsProjectsDeploymentType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateProjectTrustedIpsProjectsDeploymentType); + +/** @internal */ +export const CreateProjectTrustedIpsProjectsDeploymentType$outboundSchema: + z.ZodNativeEnum = + CreateProjectTrustedIpsProjectsDeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectTrustedIpsProjectsDeploymentType$ { + /** @deprecated use `CreateProjectTrustedIpsProjectsDeploymentType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectTrustedIpsProjectsDeploymentType$inboundSchema; + /** @deprecated use `CreateProjectTrustedIpsProjectsDeploymentType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectTrustedIpsProjectsDeploymentType$outboundSchema; +} + +/** @internal */ +export const CreateProjectTrustedIps2$inboundSchema: z.ZodType< + CreateProjectTrustedIps2, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentType: CreateProjectTrustedIpsProjectsDeploymentType$inboundSchema, +}); + +/** @internal */ +export type CreateProjectTrustedIps2$Outbound = { + deploymentType: string; +}; + +/** @internal */ +export const CreateProjectTrustedIps2$outboundSchema: z.ZodType< + CreateProjectTrustedIps2$Outbound, + z.ZodTypeDef, + CreateProjectTrustedIps2 +> = z.object({ + deploymentType: CreateProjectTrustedIpsProjectsDeploymentType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectTrustedIps2$ { + /** @deprecated use `CreateProjectTrustedIps2$inboundSchema` instead. */ + export const inboundSchema = CreateProjectTrustedIps2$inboundSchema; + /** @deprecated use `CreateProjectTrustedIps2$outboundSchema` instead. */ + export const outboundSchema = CreateProjectTrustedIps2$outboundSchema; + /** @deprecated use `CreateProjectTrustedIps2$Outbound` instead. */ + export type Outbound = CreateProjectTrustedIps2$Outbound; +} + +export function createProjectTrustedIps2ToJSON( + createProjectTrustedIps2: CreateProjectTrustedIps2, +): string { + return JSON.stringify( + CreateProjectTrustedIps2$outboundSchema.parse(createProjectTrustedIps2), + ); +} + +export function createProjectTrustedIps2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectTrustedIps2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectTrustedIps2' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectTrustedIpsDeploymentType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateProjectTrustedIpsDeploymentType, + ); + +/** @internal */ +export const CreateProjectTrustedIpsDeploymentType$outboundSchema: + z.ZodNativeEnum = + CreateProjectTrustedIpsDeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectTrustedIpsDeploymentType$ { + /** @deprecated use `CreateProjectTrustedIpsDeploymentType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectTrustedIpsDeploymentType$inboundSchema; + /** @deprecated use `CreateProjectTrustedIpsDeploymentType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectTrustedIpsDeploymentType$outboundSchema; +} + +/** @internal */ +export const TrustedIpsAddresses$inboundSchema: z.ZodType< + TrustedIpsAddresses, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.string(), + note: z.string().optional(), +}); + +/** @internal */ +export type TrustedIpsAddresses$Outbound = { + value: string; + note?: string | undefined; +}; + +/** @internal */ +export const TrustedIpsAddresses$outboundSchema: z.ZodType< + TrustedIpsAddresses$Outbound, + z.ZodTypeDef, + TrustedIpsAddresses +> = z.object({ + value: z.string(), + note: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TrustedIpsAddresses$ { + /** @deprecated use `TrustedIpsAddresses$inboundSchema` instead. */ + export const inboundSchema = TrustedIpsAddresses$inboundSchema; + /** @deprecated use `TrustedIpsAddresses$outboundSchema` instead. */ + export const outboundSchema = TrustedIpsAddresses$outboundSchema; + /** @deprecated use `TrustedIpsAddresses$Outbound` instead. */ + export type Outbound = TrustedIpsAddresses$Outbound; +} + +export function trustedIpsAddressesToJSON( + trustedIpsAddresses: TrustedIpsAddresses, +): string { + return JSON.stringify( + TrustedIpsAddresses$outboundSchema.parse(trustedIpsAddresses), + ); +} + +export function trustedIpsAddressesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TrustedIpsAddresses$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TrustedIpsAddresses' from JSON`, + ); +} + +/** @internal */ +export const TrustedIpsProtectionMode$inboundSchema: z.ZodNativeEnum< + typeof TrustedIpsProtectionMode +> = z.nativeEnum(TrustedIpsProtectionMode); + +/** @internal */ +export const TrustedIpsProtectionMode$outboundSchema: z.ZodNativeEnum< + typeof TrustedIpsProtectionMode +> = TrustedIpsProtectionMode$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TrustedIpsProtectionMode$ { + /** @deprecated use `TrustedIpsProtectionMode$inboundSchema` instead. */ + export const inboundSchema = TrustedIpsProtectionMode$inboundSchema; + /** @deprecated use `TrustedIpsProtectionMode$outboundSchema` instead. */ + export const outboundSchema = TrustedIpsProtectionMode$outboundSchema; +} + +/** @internal */ +export const CreateProjectTrustedIps1$inboundSchema: z.ZodType< + CreateProjectTrustedIps1, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentType: CreateProjectTrustedIpsDeploymentType$inboundSchema, + addresses: z.array(z.lazy(() => TrustedIpsAddresses$inboundSchema)), + protectionMode: TrustedIpsProtectionMode$inboundSchema, +}); + +/** @internal */ +export type CreateProjectTrustedIps1$Outbound = { + deploymentType: string; + addresses: Array; + protectionMode: string; +}; + +/** @internal */ +export const CreateProjectTrustedIps1$outboundSchema: z.ZodType< + CreateProjectTrustedIps1$Outbound, + z.ZodTypeDef, + CreateProjectTrustedIps1 +> = z.object({ + deploymentType: CreateProjectTrustedIpsDeploymentType$outboundSchema, + addresses: z.array(z.lazy(() => TrustedIpsAddresses$outboundSchema)), + protectionMode: TrustedIpsProtectionMode$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectTrustedIps1$ { + /** @deprecated use `CreateProjectTrustedIps1$inboundSchema` instead. */ + export const inboundSchema = CreateProjectTrustedIps1$inboundSchema; + /** @deprecated use `CreateProjectTrustedIps1$outboundSchema` instead. */ + export const outboundSchema = CreateProjectTrustedIps1$outboundSchema; + /** @deprecated use `CreateProjectTrustedIps1$Outbound` instead. */ + export type Outbound = CreateProjectTrustedIps1$Outbound; +} + +export function createProjectTrustedIps1ToJSON( + createProjectTrustedIps1: CreateProjectTrustedIps1, +): string { + return JSON.stringify( + CreateProjectTrustedIps1$outboundSchema.parse(createProjectTrustedIps1), + ); +} + +export function createProjectTrustedIps1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectTrustedIps1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectTrustedIps1' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectTrustedIps$inboundSchema: z.ZodType< + CreateProjectTrustedIps, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateProjectTrustedIps2$inboundSchema), + z.lazy(() => CreateProjectTrustedIps1$inboundSchema), +]); + +/** @internal */ +export type CreateProjectTrustedIps$Outbound = + | CreateProjectTrustedIps2$Outbound + | CreateProjectTrustedIps1$Outbound; + +/** @internal */ +export const CreateProjectTrustedIps$outboundSchema: z.ZodType< + CreateProjectTrustedIps$Outbound, + z.ZodTypeDef, + CreateProjectTrustedIps +> = z.union([ + z.lazy(() => CreateProjectTrustedIps2$outboundSchema), + z.lazy(() => CreateProjectTrustedIps1$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectTrustedIps$ { + /** @deprecated use `CreateProjectTrustedIps$inboundSchema` instead. */ + export const inboundSchema = CreateProjectTrustedIps$inboundSchema; + /** @deprecated use `CreateProjectTrustedIps$outboundSchema` instead. */ + export const outboundSchema = CreateProjectTrustedIps$outboundSchema; + /** @deprecated use `CreateProjectTrustedIps$Outbound` instead. */ + export type Outbound = CreateProjectTrustedIps$Outbound; +} + +export function createProjectTrustedIpsToJSON( + createProjectTrustedIps: CreateProjectTrustedIps, +): string { + return JSON.stringify( + CreateProjectTrustedIps$outboundSchema.parse(createProjectTrustedIps), + ); +} + +export function createProjectTrustedIpsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectTrustedIps$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectTrustedIps' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectGitComments$inboundSchema: z.ZodType< + CreateProjectGitComments, + z.ZodTypeDef, + unknown +> = z.object({ + onPullRequest: z.boolean(), + onCommit: z.boolean(), +}); + +/** @internal */ +export type CreateProjectGitComments$Outbound = { + onPullRequest: boolean; + onCommit: boolean; +}; + +/** @internal */ +export const CreateProjectGitComments$outboundSchema: z.ZodType< + CreateProjectGitComments$Outbound, + z.ZodTypeDef, + CreateProjectGitComments +> = z.object({ + onPullRequest: z.boolean(), + onCommit: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectGitComments$ { + /** @deprecated use `CreateProjectGitComments$inboundSchema` instead. */ + export const inboundSchema = CreateProjectGitComments$inboundSchema; + /** @deprecated use `CreateProjectGitComments$outboundSchema` instead. */ + export const outboundSchema = CreateProjectGitComments$outboundSchema; + /** @deprecated use `CreateProjectGitComments$Outbound` instead. */ + export type Outbound = CreateProjectGitComments$Outbound; +} + +export function createProjectGitCommentsToJSON( + createProjectGitComments: CreateProjectGitComments, +): string { + return JSON.stringify( + CreateProjectGitComments$outboundSchema.parse(createProjectGitComments), + ); +} + +export function createProjectGitCommentsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectGitComments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectGitComments' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectWebAnalytics$inboundSchema: z.ZodType< + CreateProjectWebAnalytics, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), +}); + +/** @internal */ +export type CreateProjectWebAnalytics$Outbound = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; +}; + +/** @internal */ +export const CreateProjectWebAnalytics$outboundSchema: z.ZodType< + CreateProjectWebAnalytics$Outbound, + z.ZodTypeDef, + CreateProjectWebAnalytics +> = z.object({ + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectWebAnalytics$ { + /** @deprecated use `CreateProjectWebAnalytics$inboundSchema` instead. */ + export const inboundSchema = CreateProjectWebAnalytics$inboundSchema; + /** @deprecated use `CreateProjectWebAnalytics$outboundSchema` instead. */ + export const outboundSchema = CreateProjectWebAnalytics$outboundSchema; + /** @deprecated use `CreateProjectWebAnalytics$Outbound` instead. */ + export type Outbound = CreateProjectWebAnalytics$Outbound; +} + +export function createProjectWebAnalyticsToJSON( + createProjectWebAnalytics: CreateProjectWebAnalytics, +): string { + return JSON.stringify( + CreateProjectWebAnalytics$outboundSchema.parse(createProjectWebAnalytics), + ); +} + +export function createProjectWebAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectWebAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectWebAnalytics' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectSrc2$inboundSchema: z.ZodType< + CreateProjectSrc2, + z.ZodTypeDef, + unknown +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** @internal */ +export type CreateProjectSrc2$Outbound = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +/** @internal */ +export const CreateProjectSrc2$outboundSchema: z.ZodType< + CreateProjectSrc2$Outbound, + z.ZodTypeDef, + CreateProjectSrc2 +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectSrc2$ { + /** @deprecated use `CreateProjectSrc2$inboundSchema` instead. */ + export const inboundSchema = CreateProjectSrc2$inboundSchema; + /** @deprecated use `CreateProjectSrc2$outboundSchema` instead. */ + export const outboundSchema = CreateProjectSrc2$outboundSchema; + /** @deprecated use `CreateProjectSrc2$Outbound` instead. */ + export type Outbound = CreateProjectSrc2$Outbound; +} + +export function createProjectSrc2ToJSON( + createProjectSrc2: CreateProjectSrc2, +): string { + return JSON.stringify( + CreateProjectSrc2$outboundSchema.parse(createProjectSrc2), + ); +} + +export function createProjectSrc2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectSrc2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectSrc2' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectSrc$inboundSchema: z.ZodType< + CreateProjectSrc, + z.ZodTypeDef, + unknown +> = z.union([z.lazy(() => CreateProjectSrc2$inboundSchema), z.string()]); + +/** @internal */ +export type CreateProjectSrc$Outbound = CreateProjectSrc2$Outbound | string; + +/** @internal */ +export const CreateProjectSrc$outboundSchema: z.ZodType< + CreateProjectSrc$Outbound, + z.ZodTypeDef, + CreateProjectSrc +> = z.union([z.lazy(() => CreateProjectSrc2$outboundSchema), z.string()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectSrc$ { + /** @deprecated use `CreateProjectSrc$inboundSchema` instead. */ + export const inboundSchema = CreateProjectSrc$inboundSchema; + /** @deprecated use `CreateProjectSrc$outboundSchema` instead. */ + export const outboundSchema = CreateProjectSrc$outboundSchema; + /** @deprecated use `CreateProjectSrc$Outbound` instead. */ + export type Outbound = CreateProjectSrc$Outbound; +} + +export function createProjectSrcToJSON( + createProjectSrc: CreateProjectSrc, +): string { + return JSON.stringify( + CreateProjectSrc$outboundSchema.parse(createProjectSrc), + ); +} + +export function createProjectSrcFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectSrc$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectSrc' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType + > = z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType, + ); + +/** @internal */ +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType + > = + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$ { + /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema; + /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema; +} + +/** @internal */ +export const CreateProjectValue2$inboundSchema: z.ZodType< + CreateProjectValue2, + z.ZodTypeDef, + unknown +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** @internal */ +export type CreateProjectValue2$Outbound = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +/** @internal */ +export const CreateProjectValue2$outboundSchema: z.ZodType< + CreateProjectValue2$Outbound, + z.ZodTypeDef, + CreateProjectValue2 +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectValue2$ { + /** @deprecated use `CreateProjectValue2$inboundSchema` instead. */ + export const inboundSchema = CreateProjectValue2$inboundSchema; + /** @deprecated use `CreateProjectValue2$outboundSchema` instead. */ + export const outboundSchema = CreateProjectValue2$outboundSchema; + /** @deprecated use `CreateProjectValue2$Outbound` instead. */ + export type Outbound = CreateProjectValue2$Outbound; +} + +export function createProjectValue2ToJSON( + createProjectValue2: CreateProjectValue2, +): string { + return JSON.stringify( + CreateProjectValue2$outboundSchema.parse(createProjectValue2), + ); +} + +export function createProjectValue2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectValue2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectValue2' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectValue$inboundSchema: z.ZodType< + CreateProjectValue, + z.ZodTypeDef, + unknown +> = z.union([z.lazy(() => CreateProjectValue2$inboundSchema), z.string()]); + +/** @internal */ +export type CreateProjectValue$Outbound = CreateProjectValue2$Outbound | string; + +/** @internal */ +export const CreateProjectValue$outboundSchema: z.ZodType< + CreateProjectValue$Outbound, + z.ZodTypeDef, + CreateProjectValue +> = z.union([z.lazy(() => CreateProjectValue2$outboundSchema), z.string()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectValue$ { + /** @deprecated use `CreateProjectValue$inboundSchema` instead. */ + export const inboundSchema = CreateProjectValue$inboundSchema; + /** @deprecated use `CreateProjectValue$outboundSchema` instead. */ + export const outboundSchema = CreateProjectValue$outboundSchema; + /** @deprecated use `CreateProjectValue$Outbound` instead. */ + export type Outbound = CreateProjectValue$Outbound; +} + +export function createProjectValueToJSON( + createProjectValue: CreateProjectValue, +): string { + return JSON.stringify( + CreateProjectValue$outboundSchema.parse(createProjectValue), + ); +} + +export function createProjectValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectValue' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectHas$inboundSchema: z.ZodType< + CreateProjectHas, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema, + key: z.string().optional(), + value: z.union([z.lazy(() => CreateProjectValue2$inboundSchema), z.string()]) + .optional(), +}); + +/** @internal */ +export type CreateProjectHas$Outbound = { + type: string; + key?: string | undefined; + value?: CreateProjectValue2$Outbound | string | undefined; +}; + +/** @internal */ +export const CreateProjectHas$outboundSchema: z.ZodType< + CreateProjectHas$Outbound, + z.ZodTypeDef, + CreateProjectHas +> = z.object({ + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema, + key: z.string().optional(), + value: z.union([z.lazy(() => CreateProjectValue2$outboundSchema), z.string()]) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectHas$ { + /** @deprecated use `CreateProjectHas$inboundSchema` instead. */ + export const inboundSchema = CreateProjectHas$inboundSchema; + /** @deprecated use `CreateProjectHas$outboundSchema` instead. */ + export const outboundSchema = CreateProjectHas$outboundSchema; + /** @deprecated use `CreateProjectHas$Outbound` instead. */ + export type Outbound = CreateProjectHas$Outbound; +} + +export function createProjectHasToJSON( + createProjectHas: CreateProjectHas, +): string { + return JSON.stringify( + CreateProjectHas$outboundSchema.parse(createProjectHas), + ); +} + +export function createProjectHasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectHas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectHas' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType + > = z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType, + ); + +/** @internal */ +export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType + > = + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$ { + /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema` instead. */ + export const inboundSchema = + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema; + /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema` instead. */ + export const outboundSchema = + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema; +} + +/** @internal */ +export const CreateProjectValueProjects2$inboundSchema: z.ZodType< + CreateProjectValueProjects2, + z.ZodTypeDef, + unknown +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** @internal */ +export type CreateProjectValueProjects2$Outbound = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +/** @internal */ +export const CreateProjectValueProjects2$outboundSchema: z.ZodType< + CreateProjectValueProjects2$Outbound, + z.ZodTypeDef, + CreateProjectValueProjects2 +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectValueProjects2$ { + /** @deprecated use `CreateProjectValueProjects2$inboundSchema` instead. */ + export const inboundSchema = CreateProjectValueProjects2$inboundSchema; + /** @deprecated use `CreateProjectValueProjects2$outboundSchema` instead. */ + export const outboundSchema = CreateProjectValueProjects2$outboundSchema; + /** @deprecated use `CreateProjectValueProjects2$Outbound` instead. */ + export type Outbound = CreateProjectValueProjects2$Outbound; +} + +export function createProjectValueProjects2ToJSON( + createProjectValueProjects2: CreateProjectValueProjects2, +): string { + return JSON.stringify( + CreateProjectValueProjects2$outboundSchema.parse( + createProjectValueProjects2, + ), + ); +} + +export function createProjectValueProjects2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectValueProjects2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectValueProjects2' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectProjectsValue$inboundSchema: z.ZodType< + CreateProjectProjectsValue, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateProjectValueProjects2$inboundSchema), + z.string(), +]); + +/** @internal */ +export type CreateProjectProjectsValue$Outbound = + | CreateProjectValueProjects2$Outbound + | string; + +/** @internal */ +export const CreateProjectProjectsValue$outboundSchema: z.ZodType< + CreateProjectProjectsValue$Outbound, + z.ZodTypeDef, + CreateProjectProjectsValue +> = z.union([ + z.lazy(() => CreateProjectValueProjects2$outboundSchema), + z.string(), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectProjectsValue$ { + /** @deprecated use `CreateProjectProjectsValue$inboundSchema` instead. */ + export const inboundSchema = CreateProjectProjectsValue$inboundSchema; + /** @deprecated use `CreateProjectProjectsValue$outboundSchema` instead. */ + export const outboundSchema = CreateProjectProjectsValue$outboundSchema; + /** @deprecated use `CreateProjectProjectsValue$Outbound` instead. */ + export type Outbound = CreateProjectProjectsValue$Outbound; +} + +export function createProjectProjectsValueToJSON( + createProjectProjectsValue: CreateProjectProjectsValue, +): string { + return JSON.stringify( + CreateProjectProjectsValue$outboundSchema.parse(createProjectProjectsValue), + ); +} + +export function createProjectProjectsValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectProjectsValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectProjectsValue' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectMissing$inboundSchema: z.ZodType< + CreateProjectMissing, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema, + key: z.string().optional(), + value: z.union([ + z.lazy(() => CreateProjectValueProjects2$inboundSchema), + z.string(), + ]).optional(), +}); + +/** @internal */ +export type CreateProjectMissing$Outbound = { + type: string; + key?: string | undefined; + value?: CreateProjectValueProjects2$Outbound | string | undefined; +}; + +/** @internal */ +export const CreateProjectMissing$outboundSchema: z.ZodType< + CreateProjectMissing$Outbound, + z.ZodTypeDef, + CreateProjectMissing +> = z.object({ + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema, + key: z.string().optional(), + value: z.union([ + z.lazy(() => CreateProjectValueProjects2$outboundSchema), + z.string(), + ]).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectMissing$ { + /** @deprecated use `CreateProjectMissing$inboundSchema` instead. */ + export const inboundSchema = CreateProjectMissing$inboundSchema; + /** @deprecated use `CreateProjectMissing$outboundSchema` instead. */ + export const outboundSchema = CreateProjectMissing$outboundSchema; + /** @deprecated use `CreateProjectMissing$Outbound` instead. */ + export type Outbound = CreateProjectMissing$Outbound; +} + +export function createProjectMissingToJSON( + createProjectMissing: CreateProjectMissing, +): string { + return JSON.stringify( + CreateProjectMissing$outboundSchema.parse(createProjectMissing), + ); +} + +export function createProjectMissingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectMissing$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectMissing' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectHandle$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectHandle +> = z.nativeEnum(CreateProjectHandle); + +/** @internal */ +export const CreateProjectHandle$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectHandle +> = CreateProjectHandle$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectHandle$ { + /** @deprecated use `CreateProjectHandle$inboundSchema` instead. */ + export const inboundSchema = CreateProjectHandle$inboundSchema; + /** @deprecated use `CreateProjectHandle$outboundSchema` instead. */ + export const outboundSchema = CreateProjectHandle$outboundSchema; +} + +/** @internal */ +export const CreateProjectAction$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectAction +> = z.nativeEnum(CreateProjectAction); + +/** @internal */ +export const CreateProjectAction$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectAction +> = CreateProjectAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectAction$ { + /** @deprecated use `CreateProjectAction$inboundSchema` instead. */ + export const inboundSchema = CreateProjectAction$inboundSchema; + /** @deprecated use `CreateProjectAction$outboundSchema` instead. */ + export const outboundSchema = CreateProjectAction$outboundSchema; +} + +/** @internal */ +export const CreateProjectAlgo$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectAlgo +> = z.nativeEnum(CreateProjectAlgo); + +/** @internal */ +export const CreateProjectAlgo$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectAlgo +> = CreateProjectAlgo$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectAlgo$ { + /** @deprecated use `CreateProjectAlgo$inboundSchema` instead. */ + export const inboundSchema = CreateProjectAlgo$inboundSchema; + /** @deprecated use `CreateProjectAlgo$outboundSchema` instead. */ + export const outboundSchema = CreateProjectAlgo$outboundSchema; +} + +/** @internal */ +export const CreateProjectErl$inboundSchema: z.ZodType< + CreateProjectErl, + z.ZodTypeDef, + unknown +> = z.object({ + algo: CreateProjectAlgo$inboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), +}); + +/** @internal */ +export type CreateProjectErl$Outbound = { + algo: string; + window: number; + limit: number; + keys: Array; +}; + +/** @internal */ +export const CreateProjectErl$outboundSchema: z.ZodType< + CreateProjectErl$Outbound, + z.ZodTypeDef, + CreateProjectErl +> = z.object({ + algo: CreateProjectAlgo$outboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectErl$ { + /** @deprecated use `CreateProjectErl$inboundSchema` instead. */ + export const inboundSchema = CreateProjectErl$inboundSchema; + /** @deprecated use `CreateProjectErl$outboundSchema` instead. */ + export const outboundSchema = CreateProjectErl$outboundSchema; + /** @deprecated use `CreateProjectErl$Outbound` instead. */ + export type Outbound = CreateProjectErl$Outbound; +} + +export function createProjectErlToJSON( + createProjectErl: CreateProjectErl, +): string { + return JSON.stringify( + CreateProjectErl$outboundSchema.parse(createProjectErl), + ); +} + +export function createProjectErlFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectErl$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectErl' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectMitigate$inboundSchema: z.ZodType< + CreateProjectMitigate, + z.ZodTypeDef, + unknown +> = z.object({ + action: CreateProjectAction$inboundSchema, + rule_id: z.string(), + ttl: z.number().optional(), + erl: z.lazy(() => CreateProjectErl$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "rule_id": "ruleId", + }); +}); + +/** @internal */ +export type CreateProjectMitigate$Outbound = { + action: string; + rule_id: string; + ttl?: number | undefined; + erl?: CreateProjectErl$Outbound | undefined; +}; + +/** @internal */ +export const CreateProjectMitigate$outboundSchema: z.ZodType< + CreateProjectMitigate$Outbound, + z.ZodTypeDef, + CreateProjectMitigate +> = z.object({ + action: CreateProjectAction$outboundSchema, + ruleId: z.string(), + ttl: z.number().optional(), + erl: z.lazy(() => CreateProjectErl$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + ruleId: "rule_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectMitigate$ { + /** @deprecated use `CreateProjectMitigate$inboundSchema` instead. */ + export const inboundSchema = CreateProjectMitigate$inboundSchema; + /** @deprecated use `CreateProjectMitigate$outboundSchema` instead. */ + export const outboundSchema = CreateProjectMitigate$outboundSchema; + /** @deprecated use `CreateProjectMitigate$Outbound` instead. */ + export type Outbound = CreateProjectMitigate$Outbound; +} + +export function createProjectMitigateToJSON( + createProjectMitigate: CreateProjectMitigate, +): string { + return JSON.stringify( + CreateProjectMitigate$outboundSchema.parse(createProjectMitigate), + ); +} + +export function createProjectMitigateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectMitigate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectMitigate' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectFirewallRoutes$inboundSchema: z.ZodType< + CreateProjectFirewallRoutes, + z.ZodTypeDef, + unknown +> = z.object({ + src: z.union([z.lazy(() => CreateProjectSrc2$inboundSchema), z.string()]) + .optional(), + has: z.array(z.lazy(() => CreateProjectHas$inboundSchema)).optional(), + missing: z.array(z.lazy(() => CreateProjectMissing$inboundSchema)).optional(), + dest: z.string().optional(), + status: z.number().optional(), + handle: CreateProjectHandle$inboundSchema.optional(), + mitigate: z.lazy(() => CreateProjectMitigate$inboundSchema).optional(), +}); + +/** @internal */ +export type CreateProjectFirewallRoutes$Outbound = { + src?: CreateProjectSrc2$Outbound | string | undefined; + has?: Array | undefined; + missing?: Array | undefined; + dest?: string | undefined; + status?: number | undefined; + handle?: string | undefined; + mitigate?: CreateProjectMitigate$Outbound | undefined; +}; + +/** @internal */ +export const CreateProjectFirewallRoutes$outboundSchema: z.ZodType< + CreateProjectFirewallRoutes$Outbound, + z.ZodTypeDef, + CreateProjectFirewallRoutes +> = z.object({ + src: z.union([z.lazy(() => CreateProjectSrc2$outboundSchema), z.string()]) + .optional(), + has: z.array(z.lazy(() => CreateProjectHas$outboundSchema)).optional(), + missing: z.array(z.lazy(() => CreateProjectMissing$outboundSchema)) + .optional(), + dest: z.string().optional(), + status: z.number().optional(), + handle: CreateProjectHandle$outboundSchema.optional(), + mitigate: z.lazy(() => CreateProjectMitigate$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectFirewallRoutes$ { + /** @deprecated use `CreateProjectFirewallRoutes$inboundSchema` instead. */ + export const inboundSchema = CreateProjectFirewallRoutes$inboundSchema; + /** @deprecated use `CreateProjectFirewallRoutes$outboundSchema` instead. */ + export const outboundSchema = CreateProjectFirewallRoutes$outboundSchema; + /** @deprecated use `CreateProjectFirewallRoutes$Outbound` instead. */ + export type Outbound = CreateProjectFirewallRoutes$Outbound; +} + +export function createProjectFirewallRoutesToJSON( + createProjectFirewallRoutes: CreateProjectFirewallRoutes, +): string { + return JSON.stringify( + CreateProjectFirewallRoutes$outboundSchema.parse( + createProjectFirewallRoutes, + ), + ); +} + +export function createProjectFirewallRoutesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectFirewallRoutes$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectFirewallRoutes' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectSecurity$inboundSchema: z.ZodType< + CreateProjectSecurity, + z.ZodTypeDef, + unknown +> = z.object({ + attackModeEnabled: z.boolean().optional(), + attackModeUpdatedAt: z.number().optional(), + firewallEnabled: z.boolean().optional(), + firewallUpdatedAt: z.number().optional(), + attackModeActiveUntil: z.nullable(z.number()).optional(), + firewallConfigVersion: z.number().optional(), + firewallRoutes: z.array( + z.lazy(() => CreateProjectFirewallRoutes$inboundSchema), + ).optional(), + firewallSeawallEnabled: z.boolean().optional(), + ja3Enabled: z.boolean().optional(), + ja4Enabled: z.boolean().optional(), + firewallBypassIps: z.array(z.string()).optional(), +}); + +/** @internal */ +export type CreateProjectSecurity$Outbound = { + attackModeEnabled?: boolean | undefined; + attackModeUpdatedAt?: number | undefined; + firewallEnabled?: boolean | undefined; + firewallUpdatedAt?: number | undefined; + attackModeActiveUntil?: number | null | undefined; + firewallConfigVersion?: number | undefined; + firewallRoutes?: Array | undefined; + firewallSeawallEnabled?: boolean | undefined; + ja3Enabled?: boolean | undefined; + ja4Enabled?: boolean | undefined; + firewallBypassIps?: Array | undefined; +}; + +/** @internal */ +export const CreateProjectSecurity$outboundSchema: z.ZodType< + CreateProjectSecurity$Outbound, + z.ZodTypeDef, + CreateProjectSecurity +> = z.object({ + attackModeEnabled: z.boolean().optional(), + attackModeUpdatedAt: z.number().optional(), + firewallEnabled: z.boolean().optional(), + firewallUpdatedAt: z.number().optional(), + attackModeActiveUntil: z.nullable(z.number()).optional(), + firewallConfigVersion: z.number().optional(), + firewallRoutes: z.array( + z.lazy(() => CreateProjectFirewallRoutes$outboundSchema), + ).optional(), + firewallSeawallEnabled: z.boolean().optional(), + ja3Enabled: z.boolean().optional(), + ja4Enabled: z.boolean().optional(), + firewallBypassIps: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectSecurity$ { + /** @deprecated use `CreateProjectSecurity$inboundSchema` instead. */ + export const inboundSchema = CreateProjectSecurity$inboundSchema; + /** @deprecated use `CreateProjectSecurity$outboundSchema` instead. */ + export const outboundSchema = CreateProjectSecurity$outboundSchema; + /** @deprecated use `CreateProjectSecurity$Outbound` instead. */ + export type Outbound = CreateProjectSecurity$Outbound; +} + +export function createProjectSecurityToJSON( + createProjectSecurity: CreateProjectSecurity, +): string { + return JSON.stringify( + CreateProjectSecurity$outboundSchema.parse(createProjectSecurity), + ); +} + +export function createProjectSecurityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectSecurity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectSecurity' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectIssuerMode$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectIssuerMode +> = z.nativeEnum(CreateProjectIssuerMode); + +/** @internal */ +export const CreateProjectIssuerMode$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectIssuerMode +> = CreateProjectIssuerMode$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectIssuerMode$ { + /** @deprecated use `CreateProjectIssuerMode$inboundSchema` instead. */ + export const inboundSchema = CreateProjectIssuerMode$inboundSchema; + /** @deprecated use `CreateProjectIssuerMode$outboundSchema` instead. */ + export const outboundSchema = CreateProjectIssuerMode$outboundSchema; +} + +/** @internal */ +export const CreateProjectOidcTokenConfig$inboundSchema: z.ZodType< + CreateProjectOidcTokenConfig, + z.ZodTypeDef, + unknown +> = z.object({ + enabled: z.boolean(), + issuerMode: CreateProjectIssuerMode$inboundSchema.optional(), +}); + +/** @internal */ +export type CreateProjectOidcTokenConfig$Outbound = { + enabled: boolean; + issuerMode?: string | undefined; +}; + +/** @internal */ +export const CreateProjectOidcTokenConfig$outboundSchema: z.ZodType< + CreateProjectOidcTokenConfig$Outbound, + z.ZodTypeDef, + CreateProjectOidcTokenConfig +> = z.object({ + enabled: z.boolean(), + issuerMode: CreateProjectIssuerMode$outboundSchema.optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectOidcTokenConfig$ { + /** @deprecated use `CreateProjectOidcTokenConfig$inboundSchema` instead. */ + export const inboundSchema = CreateProjectOidcTokenConfig$inboundSchema; + /** @deprecated use `CreateProjectOidcTokenConfig$outboundSchema` instead. */ + export const outboundSchema = CreateProjectOidcTokenConfig$outboundSchema; + /** @deprecated use `CreateProjectOidcTokenConfig$Outbound` instead. */ + export type Outbound = CreateProjectOidcTokenConfig$Outbound; +} + +export function createProjectOidcTokenConfigToJSON( + createProjectOidcTokenConfig: CreateProjectOidcTokenConfig, +): string { + return JSON.stringify( + CreateProjectOidcTokenConfig$outboundSchema.parse( + createProjectOidcTokenConfig, + ), + ); +} + +export function createProjectOidcTokenConfigFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectOidcTokenConfig$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectOidcTokenConfig' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectTier$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectTier +> = z.nativeEnum(CreateProjectTier); + +/** @internal */ +export const CreateProjectTier$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectTier +> = CreateProjectTier$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectTier$ { + /** @deprecated use `CreateProjectTier$inboundSchema` instead. */ + export const inboundSchema = CreateProjectTier$inboundSchema; + /** @deprecated use `CreateProjectTier$outboundSchema` instead. */ + export const outboundSchema = CreateProjectTier$outboundSchema; +} + +/** @internal */ +export const CreateProjectResponseBody$inboundSchema: z.ZodType< + CreateProjectResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + accountId: z.string(), + analytics: z.lazy(() => CreateProjectAnalytics$inboundSchema).optional(), + speedInsights: z.lazy(() => CreateProjectSpeedInsights$inboundSchema) + .optional(), + autoExposeSystemEnvs: z.boolean().optional(), + autoAssignCustomDomains: z.boolean().optional(), + autoAssignCustomDomainsUpdatedBy: z.string().optional(), + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + connectConfigurationId: z.nullable(z.string()).optional(), + connectBuildsEnabled: z.boolean().optional(), + createdAt: z.number().optional(), + customerSupportCodeVisibility: z.boolean().optional(), + crons: z.lazy(() => CreateProjectCrons$inboundSchema).optional(), + dataCache: z.lazy(() => CreateProjectDataCache$inboundSchema).optional(), + deploymentExpiration: z.nullable( + z.lazy(() => CreateProjectDeploymentExpiration$inboundSchema), + ).optional(), + devCommand: z.nullable(z.string()).optional(), + directoryListing: z.boolean(), + installCommand: z.nullable(z.string()).optional(), + env: z.array(z.lazy(() => CreateProjectEnv$inboundSchema)).optional(), + customEnvironments: z.array( + z.lazy(() => CreateProjectCustomEnvironments$inboundSchema), + ).optional(), + framework: z.nullable(CreateProjectProjectsFramework$inboundSchema) + .optional(), + gitForkProtection: z.boolean().optional(), + gitLFS: z.boolean().optional(), + id: z.string(), + ipBuckets: z.array(z.lazy(() => CreateProjectIpBuckets$inboundSchema)) + .optional(), + latestDeployments: z.array( + z.lazy(() => CreateProjectLatestDeployments$inboundSchema), + ).optional(), + link: z.union([ + z.lazy(() => CreateProjectLink1$inboundSchema), + z.lazy(() => CreateProjectLink3$inboundSchema), + z.lazy(() => CreateProjectLink2$inboundSchema), + ]).optional(), + microfrontends: z.lazy(() => CreateProjectMicrofrontends$inboundSchema) + .optional(), + name: z.string(), + nodeVersion: CreateProjectNodeVersion$inboundSchema, + optionsAllowlist: z.nullable( + z.lazy(() => CreateProjectOptionsAllowlist$inboundSchema), + ).optional(), + outputDirectory: z.nullable(z.string()).optional(), + passiveConnectConfigurationId: z.nullable(z.string()).optional(), + passwordProtection: z.nullable( + z.lazy(() => CreateProjectPasswordProtection$inboundSchema), + ).optional(), + productionDeploymentsFastLane: z.boolean().optional(), + publicSource: z.nullable(z.boolean()).optional(), + resourceConfig: z.lazy(() => CreateProjectResourceConfig$inboundSchema) + .optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + serverlessFunctionZeroConfigFailover: z.boolean().optional(), + skewProtectionBoundaryAt: z.number().optional(), + skewProtectionMaxAge: z.number().optional(), + skipGitConnectDuringLink: z.boolean().optional(), + sourceFilesOutsideRootDirectory: z.boolean().optional(), + enableAffectedProjectsDeployments: z.boolean().optional(), + ssoProtection: z.nullable( + z.lazy(() => CreateProjectSsoProtection$inboundSchema), + ).optional(), + targets: z.record(z.lazy(() => CreateProjectTargets$inboundSchema)) + .optional(), + transferCompletedAt: z.number().optional(), + transferStartedAt: z.number().optional(), + transferToAccountId: z.string().optional(), + transferredFromAccountId: z.string().optional(), + updatedAt: z.number().optional(), + live: z.boolean().optional(), + enablePreviewFeedback: z.nullable(z.boolean()).optional(), + enableProductionFeedback: z.nullable(z.boolean()).optional(), + permissions: z.lazy(() => CreateProjectPermissions$inboundSchema).optional(), + lastRollbackTarget: z.nullable( + z.lazy(() => CreateProjectLastRollbackTarget$inboundSchema), + ).optional(), + lastAliasRequest: z.nullable( + z.lazy(() => CreateProjectLastAliasRequest$inboundSchema), + ).optional(), + hasFloatingAliases: z.boolean().optional(), + protectionBypass: z.record( + z.lazy(() => CreateProjectProtectionBypass$inboundSchema), + ).optional(), + hasActiveBranches: z.boolean().optional(), + trustedIps: z.nullable( + z.union([ + z.lazy(() => CreateProjectTrustedIps2$inboundSchema), + z.lazy(() => CreateProjectTrustedIps1$inboundSchema), + ]), + ).optional(), + gitComments: z.lazy(() => CreateProjectGitComments$inboundSchema).optional(), + paused: z.boolean().optional(), + concurrencyBucketName: z.string().optional(), + webAnalytics: z.lazy(() => CreateProjectWebAnalytics$inboundSchema) + .optional(), + security: z.lazy(() => CreateProjectSecurity$inboundSchema).optional(), + oidcTokenConfig: z.lazy(() => CreateProjectOidcTokenConfig$inboundSchema) + .optional(), + tier: CreateProjectTier$inboundSchema.optional(), +}); + +/** @internal */ +export type CreateProjectResponseBody$Outbound = { + accountId: string; + analytics?: CreateProjectAnalytics$Outbound | undefined; + speedInsights?: CreateProjectSpeedInsights$Outbound | undefined; + autoExposeSystemEnvs?: boolean | undefined; + autoAssignCustomDomains?: boolean | undefined; + autoAssignCustomDomainsUpdatedBy?: string | undefined; + buildCommand?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + connectConfigurationId?: string | null | undefined; + connectBuildsEnabled?: boolean | undefined; + createdAt?: number | undefined; + customerSupportCodeVisibility?: boolean | undefined; + crons?: CreateProjectCrons$Outbound | undefined; + dataCache?: CreateProjectDataCache$Outbound | undefined; + deploymentExpiration?: + | CreateProjectDeploymentExpiration$Outbound + | null + | undefined; + devCommand?: string | null | undefined; + directoryListing: boolean; + installCommand?: string | null | undefined; + env?: Array | undefined; + customEnvironments?: + | Array + | undefined; + framework?: string | null | undefined; + gitForkProtection?: boolean | undefined; + gitLFS?: boolean | undefined; + id: string; + ipBuckets?: Array | undefined; + latestDeployments?: + | Array + | undefined; + link?: + | CreateProjectLink1$Outbound + | CreateProjectLink3$Outbound + | CreateProjectLink2$Outbound + | undefined; + microfrontends?: CreateProjectMicrofrontends$Outbound | undefined; + name: string; + nodeVersion: string; + optionsAllowlist?: CreateProjectOptionsAllowlist$Outbound | null | undefined; + outputDirectory?: string | null | undefined; + passiveConnectConfigurationId?: string | null | undefined; + passwordProtection?: + | CreateProjectPasswordProtection$Outbound + | null + | undefined; + productionDeploymentsFastLane?: boolean | undefined; + publicSource?: boolean | null | undefined; + resourceConfig?: CreateProjectResourceConfig$Outbound | undefined; + rootDirectory?: string | null | undefined; + serverlessFunctionRegion?: string | null | undefined; + serverlessFunctionZeroConfigFailover?: boolean | undefined; + skewProtectionBoundaryAt?: number | undefined; + skewProtectionMaxAge?: number | undefined; + skipGitConnectDuringLink?: boolean | undefined; + sourceFilesOutsideRootDirectory?: boolean | undefined; + enableAffectedProjectsDeployments?: boolean | undefined; + ssoProtection?: CreateProjectSsoProtection$Outbound | null | undefined; + targets?: { [k: string]: CreateProjectTargets$Outbound } | undefined; + transferCompletedAt?: number | undefined; + transferStartedAt?: number | undefined; + transferToAccountId?: string | undefined; + transferredFromAccountId?: string | undefined; + updatedAt?: number | undefined; + live?: boolean | undefined; + enablePreviewFeedback?: boolean | null | undefined; + enableProductionFeedback?: boolean | null | undefined; + permissions?: CreateProjectPermissions$Outbound | undefined; + lastRollbackTarget?: + | CreateProjectLastRollbackTarget$Outbound + | null + | undefined; + lastAliasRequest?: CreateProjectLastAliasRequest$Outbound | null | undefined; + hasFloatingAliases?: boolean | undefined; + protectionBypass?: + | { [k: string]: CreateProjectProtectionBypass$Outbound } + | undefined; + hasActiveBranches?: boolean | undefined; + trustedIps?: + | CreateProjectTrustedIps2$Outbound + | CreateProjectTrustedIps1$Outbound + | null + | undefined; + gitComments?: CreateProjectGitComments$Outbound | undefined; + paused?: boolean | undefined; + concurrencyBucketName?: string | undefined; + webAnalytics?: CreateProjectWebAnalytics$Outbound | undefined; + security?: CreateProjectSecurity$Outbound | undefined; + oidcTokenConfig?: CreateProjectOidcTokenConfig$Outbound | undefined; + tier?: string | undefined; +}; + +/** @internal */ +export const CreateProjectResponseBody$outboundSchema: z.ZodType< + CreateProjectResponseBody$Outbound, + z.ZodTypeDef, + CreateProjectResponseBody +> = z.object({ + accountId: z.string(), + analytics: z.lazy(() => CreateProjectAnalytics$outboundSchema).optional(), + speedInsights: z.lazy(() => CreateProjectSpeedInsights$outboundSchema) + .optional(), + autoExposeSystemEnvs: z.boolean().optional(), + autoAssignCustomDomains: z.boolean().optional(), + autoAssignCustomDomainsUpdatedBy: z.string().optional(), + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + connectConfigurationId: z.nullable(z.string()).optional(), + connectBuildsEnabled: z.boolean().optional(), + createdAt: z.number().optional(), + customerSupportCodeVisibility: z.boolean().optional(), + crons: z.lazy(() => CreateProjectCrons$outboundSchema).optional(), + dataCache: z.lazy(() => CreateProjectDataCache$outboundSchema).optional(), + deploymentExpiration: z.nullable( + z.lazy(() => CreateProjectDeploymentExpiration$outboundSchema), + ).optional(), + devCommand: z.nullable(z.string()).optional(), + directoryListing: z.boolean(), + installCommand: z.nullable(z.string()).optional(), + env: z.array(z.lazy(() => CreateProjectEnv$outboundSchema)).optional(), + customEnvironments: z.array( + z.lazy(() => CreateProjectCustomEnvironments$outboundSchema), + ).optional(), + framework: z.nullable(CreateProjectProjectsFramework$outboundSchema) + .optional(), + gitForkProtection: z.boolean().optional(), + gitLFS: z.boolean().optional(), + id: z.string(), + ipBuckets: z.array(z.lazy(() => CreateProjectIpBuckets$outboundSchema)) + .optional(), + latestDeployments: z.array( + z.lazy(() => CreateProjectLatestDeployments$outboundSchema), + ).optional(), + link: z.union([ + z.lazy(() => CreateProjectLink1$outboundSchema), + z.lazy(() => CreateProjectLink3$outboundSchema), + z.lazy(() => CreateProjectLink2$outboundSchema), + ]).optional(), + microfrontends: z.lazy(() => CreateProjectMicrofrontends$outboundSchema) + .optional(), + name: z.string(), + nodeVersion: CreateProjectNodeVersion$outboundSchema, + optionsAllowlist: z.nullable( + z.lazy(() => CreateProjectOptionsAllowlist$outboundSchema), + ).optional(), + outputDirectory: z.nullable(z.string()).optional(), + passiveConnectConfigurationId: z.nullable(z.string()).optional(), + passwordProtection: z.nullable( + z.lazy(() => CreateProjectPasswordProtection$outboundSchema), + ).optional(), + productionDeploymentsFastLane: z.boolean().optional(), + publicSource: z.nullable(z.boolean()).optional(), + resourceConfig: z.lazy(() => CreateProjectResourceConfig$outboundSchema) + .optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + serverlessFunctionZeroConfigFailover: z.boolean().optional(), + skewProtectionBoundaryAt: z.number().optional(), + skewProtectionMaxAge: z.number().optional(), + skipGitConnectDuringLink: z.boolean().optional(), + sourceFilesOutsideRootDirectory: z.boolean().optional(), + enableAffectedProjectsDeployments: z.boolean().optional(), + ssoProtection: z.nullable( + z.lazy(() => CreateProjectSsoProtection$outboundSchema), + ).optional(), + targets: z.record(z.lazy(() => CreateProjectTargets$outboundSchema)) + .optional(), + transferCompletedAt: z.number().optional(), + transferStartedAt: z.number().optional(), + transferToAccountId: z.string().optional(), + transferredFromAccountId: z.string().optional(), + updatedAt: z.number().optional(), + live: z.boolean().optional(), + enablePreviewFeedback: z.nullable(z.boolean()).optional(), + enableProductionFeedback: z.nullable(z.boolean()).optional(), + permissions: z.lazy(() => CreateProjectPermissions$outboundSchema).optional(), + lastRollbackTarget: z.nullable( + z.lazy(() => CreateProjectLastRollbackTarget$outboundSchema), + ).optional(), + lastAliasRequest: z.nullable( + z.lazy(() => CreateProjectLastAliasRequest$outboundSchema), + ).optional(), + hasFloatingAliases: z.boolean().optional(), + protectionBypass: z.record( + z.lazy(() => CreateProjectProtectionBypass$outboundSchema), + ).optional(), + hasActiveBranches: z.boolean().optional(), + trustedIps: z.nullable( + z.union([ + z.lazy(() => CreateProjectTrustedIps2$outboundSchema), + z.lazy(() => CreateProjectTrustedIps1$outboundSchema), + ]), + ).optional(), + gitComments: z.lazy(() => CreateProjectGitComments$outboundSchema).optional(), + paused: z.boolean().optional(), + concurrencyBucketName: z.string().optional(), + webAnalytics: z.lazy(() => CreateProjectWebAnalytics$outboundSchema) + .optional(), + security: z.lazy(() => CreateProjectSecurity$outboundSchema).optional(), + oidcTokenConfig: z.lazy(() => CreateProjectOidcTokenConfig$outboundSchema) + .optional(), + tier: CreateProjectTier$outboundSchema.optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateProjectResponseBody$ { + /** @deprecated use `CreateProjectResponseBody$inboundSchema` instead. */ + export const inboundSchema = CreateProjectResponseBody$inboundSchema; + /** @deprecated use `CreateProjectResponseBody$outboundSchema` instead. */ + export const outboundSchema = CreateProjectResponseBody$outboundSchema; + /** @deprecated use `CreateProjectResponseBody$Outbound` instead. */ + export type Outbound = CreateProjectResponseBody$Outbound; +} + +export function createProjectResponseBodyToJSON( + createProjectResponseBody: CreateProjectResponseBody, +): string { + return JSON.stringify( + CreateProjectResponseBody$outboundSchema.parse(createProjectResponseBody), + ); +} + +export function createProjectResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectResponseBody' from JSON`, + ); +} diff --git a/src/models/createrecordop.ts b/src/models/createrecordop.ts new file mode 100644 index 00000000..d3ec72c1 --- /dev/null +++ b/src/models/createrecordop.ts @@ -0,0 +1,1800 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * The type of record, it could be one of the valid DNS records. + */ +export const CreateRecordRequestBodyDnsRequest10Type = { + A: "A", + Aaaa: "AAAA", + Alias: "ALIAS", + Caa: "CAA", + Cname: "CNAME", + Https: "HTTPS", + Mx: "MX", + Srv: "SRV", + Txt: "TXT", + Ns: "NS", +} as const; +/** + * The type of record, it could be one of the valid DNS records. + */ +export type CreateRecordRequestBodyDnsRequest10Type = ClosedEnum< + typeof CreateRecordRequestBodyDnsRequest10Type +>; + +export type RequestBodyHttps = { + priority: number | null; + target: string; + params?: string | undefined; +}; + +export type Ten = { + /** + * The type of record, it could be one of the valid DNS records. + */ + type: CreateRecordRequestBodyDnsRequest10Type; + /** + * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. + */ + ttl?: number | undefined; + https: RequestBodyHttps; + /** + * A comment to add context on what this DNS record is for + */ + comment?: string | undefined; +}; + +/** + * The type of record, it could be one of the valid DNS records. + */ +export const CreateRecordRequestBodyDnsRequest9Type = { + A: "A", + Aaaa: "AAAA", + Alias: "ALIAS", + Caa: "CAA", + Cname: "CNAME", + Https: "HTTPS", + Mx: "MX", + Srv: "SRV", + Txt: "TXT", + Ns: "NS", +} as const; +/** + * The type of record, it could be one of the valid DNS records. + */ +export type CreateRecordRequestBodyDnsRequest9Type = ClosedEnum< + typeof CreateRecordRequestBodyDnsRequest9Type +>; + +export type Nine = { + /** + * A subdomain name. + */ + name: string; + /** + * The type of record, it could be one of the valid DNS records. + */ + type: CreateRecordRequestBodyDnsRequest9Type; + /** + * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. + */ + ttl?: number | undefined; + /** + * An NS domain value. + */ + value?: string | undefined; + /** + * A comment to add context on what this DNS record is for + */ + comment?: string | undefined; +}; + +/** + * The type of record, it could be one of the valid DNS records. + */ +export const CreateRecordRequestBodyDnsRequest8Type = { + A: "A", + Aaaa: "AAAA", + Alias: "ALIAS", + Caa: "CAA", + Cname: "CNAME", + Https: "HTTPS", + Mx: "MX", + Srv: "SRV", + Txt: "TXT", + Ns: "NS", +} as const; +/** + * The type of record, it could be one of the valid DNS records. + */ +export type CreateRecordRequestBodyDnsRequest8Type = ClosedEnum< + typeof CreateRecordRequestBodyDnsRequest8Type +>; + +export type Eight = { + /** + * The type of record, it could be one of the valid DNS records. + */ + type: CreateRecordRequestBodyDnsRequest8Type; + /** + * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. + */ + ttl?: number | undefined; + /** + * A TXT record containing arbitrary text. + */ + value: string; + /** + * A comment to add context on what this DNS record is for + */ + comment?: string | undefined; +}; + +/** + * The type of record, it could be one of the valid DNS records. + */ +export const CreateRecordRequestBodyDnsRequest7Type = { + A: "A", + Aaaa: "AAAA", + Alias: "ALIAS", + Caa: "CAA", + Cname: "CNAME", + Https: "HTTPS", + Mx: "MX", + Srv: "SRV", + Txt: "TXT", + Ns: "NS", +} as const; +/** + * The type of record, it could be one of the valid DNS records. + */ +export type CreateRecordRequestBodyDnsRequest7Type = ClosedEnum< + typeof CreateRecordRequestBodyDnsRequest7Type +>; + +export type RequestBodySrv = { + priority: number | null; + weight: number | null; + port: number | null; + target: string; +}; + +export type Seven = { + /** + * The type of record, it could be one of the valid DNS records. + */ + type: CreateRecordRequestBodyDnsRequest7Type; + /** + * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. + */ + ttl?: number | undefined; + srv: RequestBodySrv; + /** + * A comment to add context on what this DNS record is for + */ + comment?: string | undefined; +}; + +/** + * The type of record, it could be one of the valid DNS records. + */ +export const CreateRecordRequestBodyDnsRequest6Type = { + A: "A", + Aaaa: "AAAA", + Alias: "ALIAS", + Caa: "CAA", + Cname: "CNAME", + Https: "HTTPS", + Mx: "MX", + Srv: "SRV", + Txt: "TXT", + Ns: "NS", +} as const; +/** + * The type of record, it could be one of the valid DNS records. + */ +export type CreateRecordRequestBodyDnsRequest6Type = ClosedEnum< + typeof CreateRecordRequestBodyDnsRequest6Type +>; + +export type Six = { + /** + * A subdomain name or an empty string for the root domain. + */ + name: string; + /** + * The type of record, it could be one of the valid DNS records. + */ + type: CreateRecordRequestBodyDnsRequest6Type; + /** + * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. + */ + ttl?: number | undefined; + /** + * An MX record specifying the mail server responsible for accepting messages on behalf of the domain name. + */ + value: string; + mxPriority: number; + /** + * A comment to add context on what this DNS record is for + */ + comment?: string | undefined; +}; + +/** + * The type of record, it could be one of the valid DNS records. + */ +export const CreateRecordRequestBodyDnsRequest5Type = { + A: "A", + Aaaa: "AAAA", + Alias: "ALIAS", + Caa: "CAA", + Cname: "CNAME", + Https: "HTTPS", + Mx: "MX", + Srv: "SRV", + Txt: "TXT", + Ns: "NS", +} as const; +/** + * The type of record, it could be one of the valid DNS records. + */ +export type CreateRecordRequestBodyDnsRequest5Type = ClosedEnum< + typeof CreateRecordRequestBodyDnsRequest5Type +>; + +export type RequestBody5 = { + /** + * A subdomain name or an empty string for the root domain. + */ + name: string; + /** + * The type of record, it could be one of the valid DNS records. + */ + type: CreateRecordRequestBodyDnsRequest5Type; + /** + * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. + */ + ttl?: number | undefined; + /** + * A CNAME record mapping to another domain name. + */ + value?: string | undefined; + /** + * A comment to add context on what this DNS record is for + */ + comment?: string | undefined; +}; + +/** + * The type of record, it could be one of the valid DNS records. + */ +export const CreateRecordRequestBodyDnsRequestType = { + A: "A", + Aaaa: "AAAA", + Alias: "ALIAS", + Caa: "CAA", + Cname: "CNAME", + Https: "HTTPS", + Mx: "MX", + Srv: "SRV", + Txt: "TXT", + Ns: "NS", +} as const; +/** + * The type of record, it could be one of the valid DNS records. + */ +export type CreateRecordRequestBodyDnsRequestType = ClosedEnum< + typeof CreateRecordRequestBodyDnsRequestType +>; + +export type RequestBody4 = { + /** + * A subdomain name or an empty string for the root domain. + */ + name: string; + /** + * The type of record, it could be one of the valid DNS records. + */ + type: CreateRecordRequestBodyDnsRequestType; + /** + * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. + */ + ttl?: number | undefined; + /** + * A CAA record to specify which Certificate Authorities (CAs) are allowed to issue certificates for the domain. + */ + value: string; + /** + * A comment to add context on what this DNS record is for + */ + comment?: string | undefined; +}; + +/** + * The type of record, it could be one of the valid DNS records. + */ +export const CreateRecordRequestBodyDnsType = { + A: "A", + Aaaa: "AAAA", + Alias: "ALIAS", + Caa: "CAA", + Cname: "CNAME", + Https: "HTTPS", + Mx: "MX", + Srv: "SRV", + Txt: "TXT", + Ns: "NS", +} as const; +/** + * The type of record, it could be one of the valid DNS records. + */ +export type CreateRecordRequestBodyDnsType = ClosedEnum< + typeof CreateRecordRequestBodyDnsType +>; + +export type RequestBody3 = { + /** + * A subdomain name or an empty string for the root domain. + */ + name: string; + /** + * The type of record, it could be one of the valid DNS records. + */ + type: CreateRecordRequestBodyDnsType; + /** + * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. + */ + ttl?: number | undefined; + /** + * An ALIAS virtual record pointing to a hostname resolved to an A record on server side. + */ + value: string; + /** + * A comment to add context on what this DNS record is for + */ + comment?: string | undefined; +}; + +/** + * The type of record, it could be one of the valid DNS records. + */ +export const CreateRecordRequestBodyType = { + A: "A", + Aaaa: "AAAA", + Alias: "ALIAS", + Caa: "CAA", + Cname: "CNAME", + Https: "HTTPS", + Mx: "MX", + Srv: "SRV", + Txt: "TXT", + Ns: "NS", +} as const; +/** + * The type of record, it could be one of the valid DNS records. + */ +export type CreateRecordRequestBodyType = ClosedEnum< + typeof CreateRecordRequestBodyType +>; + +export type RequestBody2 = { + /** + * A subdomain name or an empty string for the root domain. + */ + name: string; + /** + * The type of record, it could be one of the valid DNS records. + */ + type: CreateRecordRequestBodyType; + /** + * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. + */ + ttl?: number | undefined; + /** + * An AAAA record pointing to an IPv6 address. + */ + value: string; + /** + * A comment to add context on what this DNS record is for + */ + comment?: string | undefined; +}; + +/** + * The type of record, it could be one of the valid DNS records. + */ +export const RequestBodyType = { + A: "A", + Aaaa: "AAAA", + Alias: "ALIAS", + Caa: "CAA", + Cname: "CNAME", + Https: "HTTPS", + Mx: "MX", + Srv: "SRV", + Txt: "TXT", + Ns: "NS", +} as const; +/** + * The type of record, it could be one of the valid DNS records. + */ +export type RequestBodyType = ClosedEnum; + +export type RequestBody1 = { + /** + * A subdomain name or an empty string for the root domain. + */ + name: string; + /** + * The type of record, it could be one of the valid DNS records. + */ + type: RequestBodyType; + /** + * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. + */ + ttl?: number | undefined; + /** + * The record value must be a valid IPv4 address. + */ + value: string; + /** + * A comment to add context on what this DNS record is for + */ + comment?: string | undefined; +}; + +export type CreateRecordRequestBody = + | Seven + | Eight + | Ten + | RequestBody1 + | RequestBody2 + | RequestBody3 + | RequestBody4 + | RequestBody5 + | Nine + | Six; + +export type CreateRecordRequest = { + /** + * The domain used to create the DNS record. + */ + domain: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: + | Seven + | Eight + | Ten + | RequestBody1 + | RequestBody2 + | RequestBody3 + | RequestBody4 + | RequestBody5 + | Nine + | Six; +}; + +export type CreateRecordResponseBody2 = { + /** + * The id of the newly created DNS record + */ + uid: string; +}; + +export type CreateRecordResponseBody1 = { + uid: string; + updated: number; +}; + +/** + * Successful response showing the uid of the newly created DNS record. + */ +export type CreateRecordResponseBody = + | CreateRecordResponseBody2 + | CreateRecordResponseBody1; + +/** @internal */ +export const CreateRecordRequestBodyDnsRequest10Type$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateRecordRequestBodyDnsRequest10Type); + +/** @internal */ +export const CreateRecordRequestBodyDnsRequest10Type$outboundSchema: + z.ZodNativeEnum = + CreateRecordRequestBodyDnsRequest10Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateRecordRequestBodyDnsRequest10Type$ { + /** @deprecated use `CreateRecordRequestBodyDnsRequest10Type$inboundSchema` instead. */ + export const inboundSchema = + CreateRecordRequestBodyDnsRequest10Type$inboundSchema; + /** @deprecated use `CreateRecordRequestBodyDnsRequest10Type$outboundSchema` instead. */ + export const outboundSchema = + CreateRecordRequestBodyDnsRequest10Type$outboundSchema; +} + +/** @internal */ +export const RequestBodyHttps$inboundSchema: z.ZodType< + RequestBodyHttps, + z.ZodTypeDef, + unknown +> = z.object({ + priority: z.nullable(z.number()), + target: z.string(), + params: z.string().optional(), +}); + +/** @internal */ +export type RequestBodyHttps$Outbound = { + priority: number | null; + target: string; + params?: string | undefined; +}; + +/** @internal */ +export const RequestBodyHttps$outboundSchema: z.ZodType< + RequestBodyHttps$Outbound, + z.ZodTypeDef, + RequestBodyHttps +> = z.object({ + priority: z.nullable(z.number()), + target: z.string(), + params: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBodyHttps$ { + /** @deprecated use `RequestBodyHttps$inboundSchema` instead. */ + export const inboundSchema = RequestBodyHttps$inboundSchema; + /** @deprecated use `RequestBodyHttps$outboundSchema` instead. */ + export const outboundSchema = RequestBodyHttps$outboundSchema; + /** @deprecated use `RequestBodyHttps$Outbound` instead. */ + export type Outbound = RequestBodyHttps$Outbound; +} + +export function requestBodyHttpsToJSON( + requestBodyHttps: RequestBodyHttps, +): string { + return JSON.stringify( + RequestBodyHttps$outboundSchema.parse(requestBodyHttps), + ); +} + +export function requestBodyHttpsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBodyHttps$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBodyHttps' from JSON`, + ); +} + +/** @internal */ +export const Ten$inboundSchema: z.ZodType = z + .object({ + type: CreateRecordRequestBodyDnsRequest10Type$inboundSchema, + ttl: z.number().optional(), + https: z.lazy(() => RequestBodyHttps$inboundSchema), + comment: z.string().optional(), + }); + +/** @internal */ +export type Ten$Outbound = { + type: string; + ttl?: number | undefined; + https: RequestBodyHttps$Outbound; + comment?: string | undefined; +}; + +/** @internal */ +export const Ten$outboundSchema: z.ZodType = z + .object({ + type: CreateRecordRequestBodyDnsRequest10Type$outboundSchema, + ttl: z.number().optional(), + https: z.lazy(() => RequestBodyHttps$outboundSchema), + comment: z.string().optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Ten$ { + /** @deprecated use `Ten$inboundSchema` instead. */ + export const inboundSchema = Ten$inboundSchema; + /** @deprecated use `Ten$outboundSchema` instead. */ + export const outboundSchema = Ten$outboundSchema; + /** @deprecated use `Ten$Outbound` instead. */ + export type Outbound = Ten$Outbound; +} + +export function tenToJSON(ten: Ten): string { + return JSON.stringify(Ten$outboundSchema.parse(ten)); +} + +export function tenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Ten$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Ten' from JSON`, + ); +} + +/** @internal */ +export const CreateRecordRequestBodyDnsRequest9Type$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateRecordRequestBodyDnsRequest9Type, + ); + +/** @internal */ +export const CreateRecordRequestBodyDnsRequest9Type$outboundSchema: + z.ZodNativeEnum = + CreateRecordRequestBodyDnsRequest9Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateRecordRequestBodyDnsRequest9Type$ { + /** @deprecated use `CreateRecordRequestBodyDnsRequest9Type$inboundSchema` instead. */ + export const inboundSchema = + CreateRecordRequestBodyDnsRequest9Type$inboundSchema; + /** @deprecated use `CreateRecordRequestBodyDnsRequest9Type$outboundSchema` instead. */ + export const outboundSchema = + CreateRecordRequestBodyDnsRequest9Type$outboundSchema; +} + +/** @internal */ +export const Nine$inboundSchema: z.ZodType = z + .object({ + name: z.string(), + type: CreateRecordRequestBodyDnsRequest9Type$inboundSchema, + ttl: z.number().optional(), + value: z.string().optional(), + comment: z.string().optional(), + }); + +/** @internal */ +export type Nine$Outbound = { + name: string; + type: string; + ttl?: number | undefined; + value?: string | undefined; + comment?: string | undefined; +}; + +/** @internal */ +export const Nine$outboundSchema: z.ZodType = + z.object({ + name: z.string(), + type: CreateRecordRequestBodyDnsRequest9Type$outboundSchema, + ttl: z.number().optional(), + value: z.string().optional(), + comment: z.string().optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Nine$ { + /** @deprecated use `Nine$inboundSchema` instead. */ + export const inboundSchema = Nine$inboundSchema; + /** @deprecated use `Nine$outboundSchema` instead. */ + export const outboundSchema = Nine$outboundSchema; + /** @deprecated use `Nine$Outbound` instead. */ + export type Outbound = Nine$Outbound; +} + +export function nineToJSON(nine: Nine): string { + return JSON.stringify(Nine$outboundSchema.parse(nine)); +} + +export function nineFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Nine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Nine' from JSON`, + ); +} + +/** @internal */ +export const CreateRecordRequestBodyDnsRequest8Type$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateRecordRequestBodyDnsRequest8Type, + ); + +/** @internal */ +export const CreateRecordRequestBodyDnsRequest8Type$outboundSchema: + z.ZodNativeEnum = + CreateRecordRequestBodyDnsRequest8Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateRecordRequestBodyDnsRequest8Type$ { + /** @deprecated use `CreateRecordRequestBodyDnsRequest8Type$inboundSchema` instead. */ + export const inboundSchema = + CreateRecordRequestBodyDnsRequest8Type$inboundSchema; + /** @deprecated use `CreateRecordRequestBodyDnsRequest8Type$outboundSchema` instead. */ + export const outboundSchema = + CreateRecordRequestBodyDnsRequest8Type$outboundSchema; +} + +/** @internal */ +export const Eight$inboundSchema: z.ZodType = z + .object({ + type: CreateRecordRequestBodyDnsRequest8Type$inboundSchema, + ttl: z.number().optional(), + value: z.string(), + comment: z.string().optional(), + }); + +/** @internal */ +export type Eight$Outbound = { + type: string; + ttl?: number | undefined; + value: string; + comment?: string | undefined; +}; + +/** @internal */ +export const Eight$outboundSchema: z.ZodType< + Eight$Outbound, + z.ZodTypeDef, + Eight +> = z.object({ + type: CreateRecordRequestBodyDnsRequest8Type$outboundSchema, + ttl: z.number().optional(), + value: z.string(), + comment: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Eight$ { + /** @deprecated use `Eight$inboundSchema` instead. */ + export const inboundSchema = Eight$inboundSchema; + /** @deprecated use `Eight$outboundSchema` instead. */ + export const outboundSchema = Eight$outboundSchema; + /** @deprecated use `Eight$Outbound` instead. */ + export type Outbound = Eight$Outbound; +} + +export function eightToJSON(eight: Eight): string { + return JSON.stringify(Eight$outboundSchema.parse(eight)); +} + +export function eightFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Eight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Eight' from JSON`, + ); +} + +/** @internal */ +export const CreateRecordRequestBodyDnsRequest7Type$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateRecordRequestBodyDnsRequest7Type, + ); + +/** @internal */ +export const CreateRecordRequestBodyDnsRequest7Type$outboundSchema: + z.ZodNativeEnum = + CreateRecordRequestBodyDnsRequest7Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateRecordRequestBodyDnsRequest7Type$ { + /** @deprecated use `CreateRecordRequestBodyDnsRequest7Type$inboundSchema` instead. */ + export const inboundSchema = + CreateRecordRequestBodyDnsRequest7Type$inboundSchema; + /** @deprecated use `CreateRecordRequestBodyDnsRequest7Type$outboundSchema` instead. */ + export const outboundSchema = + CreateRecordRequestBodyDnsRequest7Type$outboundSchema; +} + +/** @internal */ +export const RequestBodySrv$inboundSchema: z.ZodType< + RequestBodySrv, + z.ZodTypeDef, + unknown +> = z.object({ + priority: z.nullable(z.number()), + weight: z.nullable(z.number()), + port: z.nullable(z.number()), + target: z.string(), +}); + +/** @internal */ +export type RequestBodySrv$Outbound = { + priority: number | null; + weight: number | null; + port: number | null; + target: string; +}; + +/** @internal */ +export const RequestBodySrv$outboundSchema: z.ZodType< + RequestBodySrv$Outbound, + z.ZodTypeDef, + RequestBodySrv +> = z.object({ + priority: z.nullable(z.number()), + weight: z.nullable(z.number()), + port: z.nullable(z.number()), + target: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBodySrv$ { + /** @deprecated use `RequestBodySrv$inboundSchema` instead. */ + export const inboundSchema = RequestBodySrv$inboundSchema; + /** @deprecated use `RequestBodySrv$outboundSchema` instead. */ + export const outboundSchema = RequestBodySrv$outboundSchema; + /** @deprecated use `RequestBodySrv$Outbound` instead. */ + export type Outbound = RequestBodySrv$Outbound; +} + +export function requestBodySrvToJSON(requestBodySrv: RequestBodySrv): string { + return JSON.stringify(RequestBodySrv$outboundSchema.parse(requestBodySrv)); +} + +export function requestBodySrvFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBodySrv$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBodySrv' from JSON`, + ); +} + +/** @internal */ +export const Seven$inboundSchema: z.ZodType = z + .object({ + type: CreateRecordRequestBodyDnsRequest7Type$inboundSchema, + ttl: z.number().optional(), + srv: z.lazy(() => RequestBodySrv$inboundSchema), + comment: z.string().optional(), + }); + +/** @internal */ +export type Seven$Outbound = { + type: string; + ttl?: number | undefined; + srv: RequestBodySrv$Outbound; + comment?: string | undefined; +}; + +/** @internal */ +export const Seven$outboundSchema: z.ZodType< + Seven$Outbound, + z.ZodTypeDef, + Seven +> = z.object({ + type: CreateRecordRequestBodyDnsRequest7Type$outboundSchema, + ttl: z.number().optional(), + srv: z.lazy(() => RequestBodySrv$outboundSchema), + comment: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Seven$ { + /** @deprecated use `Seven$inboundSchema` instead. */ + export const inboundSchema = Seven$inboundSchema; + /** @deprecated use `Seven$outboundSchema` instead. */ + export const outboundSchema = Seven$outboundSchema; + /** @deprecated use `Seven$Outbound` instead. */ + export type Outbound = Seven$Outbound; +} + +export function sevenToJSON(seven: Seven): string { + return JSON.stringify(Seven$outboundSchema.parse(seven)); +} + +export function sevenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Seven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Seven' from JSON`, + ); +} + +/** @internal */ +export const CreateRecordRequestBodyDnsRequest6Type$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateRecordRequestBodyDnsRequest6Type, + ); + +/** @internal */ +export const CreateRecordRequestBodyDnsRequest6Type$outboundSchema: + z.ZodNativeEnum = + CreateRecordRequestBodyDnsRequest6Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateRecordRequestBodyDnsRequest6Type$ { + /** @deprecated use `CreateRecordRequestBodyDnsRequest6Type$inboundSchema` instead. */ + export const inboundSchema = + CreateRecordRequestBodyDnsRequest6Type$inboundSchema; + /** @deprecated use `CreateRecordRequestBodyDnsRequest6Type$outboundSchema` instead. */ + export const outboundSchema = + CreateRecordRequestBodyDnsRequest6Type$outboundSchema; +} + +/** @internal */ +export const Six$inboundSchema: z.ZodType = z + .object({ + name: z.string(), + type: CreateRecordRequestBodyDnsRequest6Type$inboundSchema, + ttl: z.number().optional(), + value: z.string(), + mxPriority: z.number(), + comment: z.string().optional(), + }); + +/** @internal */ +export type Six$Outbound = { + name: string; + type: string; + ttl?: number | undefined; + value: string; + mxPriority: number; + comment?: string | undefined; +}; + +/** @internal */ +export const Six$outboundSchema: z.ZodType = z + .object({ + name: z.string(), + type: CreateRecordRequestBodyDnsRequest6Type$outboundSchema, + ttl: z.number().optional(), + value: z.string(), + mxPriority: z.number(), + comment: z.string().optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Six$ { + /** @deprecated use `Six$inboundSchema` instead. */ + export const inboundSchema = Six$inboundSchema; + /** @deprecated use `Six$outboundSchema` instead. */ + export const outboundSchema = Six$outboundSchema; + /** @deprecated use `Six$Outbound` instead. */ + export type Outbound = Six$Outbound; +} + +export function sixToJSON(six: Six): string { + return JSON.stringify(Six$outboundSchema.parse(six)); +} + +export function sixFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Six$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Six' from JSON`, + ); +} + +/** @internal */ +export const CreateRecordRequestBodyDnsRequest5Type$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateRecordRequestBodyDnsRequest5Type, + ); + +/** @internal */ +export const CreateRecordRequestBodyDnsRequest5Type$outboundSchema: + z.ZodNativeEnum = + CreateRecordRequestBodyDnsRequest5Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateRecordRequestBodyDnsRequest5Type$ { + /** @deprecated use `CreateRecordRequestBodyDnsRequest5Type$inboundSchema` instead. */ + export const inboundSchema = + CreateRecordRequestBodyDnsRequest5Type$inboundSchema; + /** @deprecated use `CreateRecordRequestBodyDnsRequest5Type$outboundSchema` instead. */ + export const outboundSchema = + CreateRecordRequestBodyDnsRequest5Type$outboundSchema; +} + +/** @internal */ +export const RequestBody5$inboundSchema: z.ZodType< + RequestBody5, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + type: CreateRecordRequestBodyDnsRequest5Type$inboundSchema, + ttl: z.number().optional(), + value: z.string().optional(), + comment: z.string().optional(), +}); + +/** @internal */ +export type RequestBody5$Outbound = { + name: string; + type: string; + ttl?: number | undefined; + value?: string | undefined; + comment?: string | undefined; +}; + +/** @internal */ +export const RequestBody5$outboundSchema: z.ZodType< + RequestBody5$Outbound, + z.ZodTypeDef, + RequestBody5 +> = z.object({ + name: z.string(), + type: CreateRecordRequestBodyDnsRequest5Type$outboundSchema, + ttl: z.number().optional(), + value: z.string().optional(), + comment: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBody5$ { + /** @deprecated use `RequestBody5$inboundSchema` instead. */ + export const inboundSchema = RequestBody5$inboundSchema; + /** @deprecated use `RequestBody5$outboundSchema` instead. */ + export const outboundSchema = RequestBody5$outboundSchema; + /** @deprecated use `RequestBody5$Outbound` instead. */ + export type Outbound = RequestBody5$Outbound; +} + +export function requestBody5ToJSON(requestBody5: RequestBody5): string { + return JSON.stringify(RequestBody5$outboundSchema.parse(requestBody5)); +} + +export function requestBody5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBody5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBody5' from JSON`, + ); +} + +/** @internal */ +export const CreateRecordRequestBodyDnsRequestType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateRecordRequestBodyDnsRequestType, + ); + +/** @internal */ +export const CreateRecordRequestBodyDnsRequestType$outboundSchema: + z.ZodNativeEnum = + CreateRecordRequestBodyDnsRequestType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateRecordRequestBodyDnsRequestType$ { + /** @deprecated use `CreateRecordRequestBodyDnsRequestType$inboundSchema` instead. */ + export const inboundSchema = + CreateRecordRequestBodyDnsRequestType$inboundSchema; + /** @deprecated use `CreateRecordRequestBodyDnsRequestType$outboundSchema` instead. */ + export const outboundSchema = + CreateRecordRequestBodyDnsRequestType$outboundSchema; +} + +/** @internal */ +export const RequestBody4$inboundSchema: z.ZodType< + RequestBody4, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + type: CreateRecordRequestBodyDnsRequestType$inboundSchema, + ttl: z.number().optional(), + value: z.string(), + comment: z.string().optional(), +}); + +/** @internal */ +export type RequestBody4$Outbound = { + name: string; + type: string; + ttl?: number | undefined; + value: string; + comment?: string | undefined; +}; + +/** @internal */ +export const RequestBody4$outboundSchema: z.ZodType< + RequestBody4$Outbound, + z.ZodTypeDef, + RequestBody4 +> = z.object({ + name: z.string(), + type: CreateRecordRequestBodyDnsRequestType$outboundSchema, + ttl: z.number().optional(), + value: z.string(), + comment: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBody4$ { + /** @deprecated use `RequestBody4$inboundSchema` instead. */ + export const inboundSchema = RequestBody4$inboundSchema; + /** @deprecated use `RequestBody4$outboundSchema` instead. */ + export const outboundSchema = RequestBody4$outboundSchema; + /** @deprecated use `RequestBody4$Outbound` instead. */ + export type Outbound = RequestBody4$Outbound; +} + +export function requestBody4ToJSON(requestBody4: RequestBody4): string { + return JSON.stringify(RequestBody4$outboundSchema.parse(requestBody4)); +} + +export function requestBody4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBody4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBody4' from JSON`, + ); +} + +/** @internal */ +export const CreateRecordRequestBodyDnsType$inboundSchema: z.ZodNativeEnum< + typeof CreateRecordRequestBodyDnsType +> = z.nativeEnum(CreateRecordRequestBodyDnsType); + +/** @internal */ +export const CreateRecordRequestBodyDnsType$outboundSchema: z.ZodNativeEnum< + typeof CreateRecordRequestBodyDnsType +> = CreateRecordRequestBodyDnsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateRecordRequestBodyDnsType$ { + /** @deprecated use `CreateRecordRequestBodyDnsType$inboundSchema` instead. */ + export const inboundSchema = CreateRecordRequestBodyDnsType$inboundSchema; + /** @deprecated use `CreateRecordRequestBodyDnsType$outboundSchema` instead. */ + export const outboundSchema = CreateRecordRequestBodyDnsType$outboundSchema; +} + +/** @internal */ +export const RequestBody3$inboundSchema: z.ZodType< + RequestBody3, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + type: CreateRecordRequestBodyDnsType$inboundSchema, + ttl: z.number().optional(), + value: z.string(), + comment: z.string().optional(), +}); + +/** @internal */ +export type RequestBody3$Outbound = { + name: string; + type: string; + ttl?: number | undefined; + value: string; + comment?: string | undefined; +}; + +/** @internal */ +export const RequestBody3$outboundSchema: z.ZodType< + RequestBody3$Outbound, + z.ZodTypeDef, + RequestBody3 +> = z.object({ + name: z.string(), + type: CreateRecordRequestBodyDnsType$outboundSchema, + ttl: z.number().optional(), + value: z.string(), + comment: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBody3$ { + /** @deprecated use `RequestBody3$inboundSchema` instead. */ + export const inboundSchema = RequestBody3$inboundSchema; + /** @deprecated use `RequestBody3$outboundSchema` instead. */ + export const outboundSchema = RequestBody3$outboundSchema; + /** @deprecated use `RequestBody3$Outbound` instead. */ + export type Outbound = RequestBody3$Outbound; +} + +export function requestBody3ToJSON(requestBody3: RequestBody3): string { + return JSON.stringify(RequestBody3$outboundSchema.parse(requestBody3)); +} + +export function requestBody3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBody3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBody3' from JSON`, + ); +} + +/** @internal */ +export const CreateRecordRequestBodyType$inboundSchema: z.ZodNativeEnum< + typeof CreateRecordRequestBodyType +> = z.nativeEnum(CreateRecordRequestBodyType); + +/** @internal */ +export const CreateRecordRequestBodyType$outboundSchema: z.ZodNativeEnum< + typeof CreateRecordRequestBodyType +> = CreateRecordRequestBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateRecordRequestBodyType$ { + /** @deprecated use `CreateRecordRequestBodyType$inboundSchema` instead. */ + export const inboundSchema = CreateRecordRequestBodyType$inboundSchema; + /** @deprecated use `CreateRecordRequestBodyType$outboundSchema` instead. */ + export const outboundSchema = CreateRecordRequestBodyType$outboundSchema; +} + +/** @internal */ +export const RequestBody2$inboundSchema: z.ZodType< + RequestBody2, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + type: CreateRecordRequestBodyType$inboundSchema, + ttl: z.number().optional(), + value: z.string(), + comment: z.string().optional(), +}); + +/** @internal */ +export type RequestBody2$Outbound = { + name: string; + type: string; + ttl?: number | undefined; + value: string; + comment?: string | undefined; +}; + +/** @internal */ +export const RequestBody2$outboundSchema: z.ZodType< + RequestBody2$Outbound, + z.ZodTypeDef, + RequestBody2 +> = z.object({ + name: z.string(), + type: CreateRecordRequestBodyType$outboundSchema, + ttl: z.number().optional(), + value: z.string(), + comment: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBody2$ { + /** @deprecated use `RequestBody2$inboundSchema` instead. */ + export const inboundSchema = RequestBody2$inboundSchema; + /** @deprecated use `RequestBody2$outboundSchema` instead. */ + export const outboundSchema = RequestBody2$outboundSchema; + /** @deprecated use `RequestBody2$Outbound` instead. */ + export type Outbound = RequestBody2$Outbound; +} + +export function requestBody2ToJSON(requestBody2: RequestBody2): string { + return JSON.stringify(RequestBody2$outboundSchema.parse(requestBody2)); +} + +export function requestBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBody2' from JSON`, + ); +} + +/** @internal */ +export const RequestBodyType$inboundSchema: z.ZodNativeEnum< + typeof RequestBodyType +> = z.nativeEnum(RequestBodyType); + +/** @internal */ +export const RequestBodyType$outboundSchema: z.ZodNativeEnum< + typeof RequestBodyType +> = RequestBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBodyType$ { + /** @deprecated use `RequestBodyType$inboundSchema` instead. */ + export const inboundSchema = RequestBodyType$inboundSchema; + /** @deprecated use `RequestBodyType$outboundSchema` instead. */ + export const outboundSchema = RequestBodyType$outboundSchema; +} + +/** @internal */ +export const RequestBody1$inboundSchema: z.ZodType< + RequestBody1, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + type: RequestBodyType$inboundSchema, + ttl: z.number().optional(), + value: z.string(), + comment: z.string().optional(), +}); + +/** @internal */ +export type RequestBody1$Outbound = { + name: string; + type: string; + ttl?: number | undefined; + value: string; + comment?: string | undefined; +}; + +/** @internal */ +export const RequestBody1$outboundSchema: z.ZodType< + RequestBody1$Outbound, + z.ZodTypeDef, + RequestBody1 +> = z.object({ + name: z.string(), + type: RequestBodyType$outboundSchema, + ttl: z.number().optional(), + value: z.string(), + comment: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBody1$ { + /** @deprecated use `RequestBody1$inboundSchema` instead. */ + export const inboundSchema = RequestBody1$inboundSchema; + /** @deprecated use `RequestBody1$outboundSchema` instead. */ + export const outboundSchema = RequestBody1$outboundSchema; + /** @deprecated use `RequestBody1$Outbound` instead. */ + export type Outbound = RequestBody1$Outbound; +} + +export function requestBody1ToJSON(requestBody1: RequestBody1): string { + return JSON.stringify(RequestBody1$outboundSchema.parse(requestBody1)); +} + +export function requestBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBody1' from JSON`, + ); +} + +/** @internal */ +export const CreateRecordRequestBody$inboundSchema: z.ZodType< + CreateRecordRequestBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => Seven$inboundSchema), + z.lazy(() => Eight$inboundSchema), + z.lazy(() => Ten$inboundSchema), + z.lazy(() => RequestBody1$inboundSchema), + z.lazy(() => RequestBody2$inboundSchema), + z.lazy(() => RequestBody3$inboundSchema), + z.lazy(() => RequestBody4$inboundSchema), + z.lazy(() => RequestBody5$inboundSchema), + z.lazy(() => Nine$inboundSchema), + z.lazy(() => Six$inboundSchema), +]); + +/** @internal */ +export type CreateRecordRequestBody$Outbound = + | Seven$Outbound + | Eight$Outbound + | Ten$Outbound + | RequestBody1$Outbound + | RequestBody2$Outbound + | RequestBody3$Outbound + | RequestBody4$Outbound + | RequestBody5$Outbound + | Nine$Outbound + | Six$Outbound; + +/** @internal */ +export const CreateRecordRequestBody$outboundSchema: z.ZodType< + CreateRecordRequestBody$Outbound, + z.ZodTypeDef, + CreateRecordRequestBody +> = z.union([ + z.lazy(() => Seven$outboundSchema), + z.lazy(() => Eight$outboundSchema), + z.lazy(() => Ten$outboundSchema), + z.lazy(() => RequestBody1$outboundSchema), + z.lazy(() => RequestBody2$outboundSchema), + z.lazy(() => RequestBody3$outboundSchema), + z.lazy(() => RequestBody4$outboundSchema), + z.lazy(() => RequestBody5$outboundSchema), + z.lazy(() => Nine$outboundSchema), + z.lazy(() => Six$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateRecordRequestBody$ { + /** @deprecated use `CreateRecordRequestBody$inboundSchema` instead. */ + export const inboundSchema = CreateRecordRequestBody$inboundSchema; + /** @deprecated use `CreateRecordRequestBody$outboundSchema` instead. */ + export const outboundSchema = CreateRecordRequestBody$outboundSchema; + /** @deprecated use `CreateRecordRequestBody$Outbound` instead. */ + export type Outbound = CreateRecordRequestBody$Outbound; +} + +export function createRecordRequestBodyToJSON( + createRecordRequestBody: CreateRecordRequestBody, +): string { + return JSON.stringify( + CreateRecordRequestBody$outboundSchema.parse(createRecordRequestBody), + ); +} + +export function createRecordRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateRecordRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateRecordRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateRecordRequest$inboundSchema: z.ZodType< + CreateRecordRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.union([ + z.lazy(() => Seven$inboundSchema), + z.lazy(() => Eight$inboundSchema), + z.lazy(() => Ten$inboundSchema), + z.lazy(() => RequestBody1$inboundSchema), + z.lazy(() => RequestBody2$inboundSchema), + z.lazy(() => RequestBody3$inboundSchema), + z.lazy(() => RequestBody4$inboundSchema), + z.lazy(() => RequestBody5$inboundSchema), + z.lazy(() => Nine$inboundSchema), + z.lazy(() => Six$inboundSchema), + ]), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type CreateRecordRequest$Outbound = { + domain: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: + | Seven$Outbound + | Eight$Outbound + | Ten$Outbound + | RequestBody1$Outbound + | RequestBody2$Outbound + | RequestBody3$Outbound + | RequestBody4$Outbound + | RequestBody5$Outbound + | Nine$Outbound + | Six$Outbound; +}; + +/** @internal */ +export const CreateRecordRequest$outboundSchema: z.ZodType< + CreateRecordRequest$Outbound, + z.ZodTypeDef, + CreateRecordRequest +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.union([ + z.lazy(() => Seven$outboundSchema), + z.lazy(() => Eight$outboundSchema), + z.lazy(() => Ten$outboundSchema), + z.lazy(() => RequestBody1$outboundSchema), + z.lazy(() => RequestBody2$outboundSchema), + z.lazy(() => RequestBody3$outboundSchema), + z.lazy(() => RequestBody4$outboundSchema), + z.lazy(() => RequestBody5$outboundSchema), + z.lazy(() => Nine$outboundSchema), + z.lazy(() => Six$outboundSchema), + ]), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateRecordRequest$ { + /** @deprecated use `CreateRecordRequest$inboundSchema` instead. */ + export const inboundSchema = CreateRecordRequest$inboundSchema; + /** @deprecated use `CreateRecordRequest$outboundSchema` instead. */ + export const outboundSchema = CreateRecordRequest$outboundSchema; + /** @deprecated use `CreateRecordRequest$Outbound` instead. */ + export type Outbound = CreateRecordRequest$Outbound; +} + +export function createRecordRequestToJSON( + createRecordRequest: CreateRecordRequest, +): string { + return JSON.stringify( + CreateRecordRequest$outboundSchema.parse(createRecordRequest), + ); +} + +export function createRecordRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateRecordRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateRecordRequest' from JSON`, + ); +} + +/** @internal */ +export const CreateRecordResponseBody2$inboundSchema: z.ZodType< + CreateRecordResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), +}); + +/** @internal */ +export type CreateRecordResponseBody2$Outbound = { + uid: string; +}; + +/** @internal */ +export const CreateRecordResponseBody2$outboundSchema: z.ZodType< + CreateRecordResponseBody2$Outbound, + z.ZodTypeDef, + CreateRecordResponseBody2 +> = z.object({ + uid: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateRecordResponseBody2$ { + /** @deprecated use `CreateRecordResponseBody2$inboundSchema` instead. */ + export const inboundSchema = CreateRecordResponseBody2$inboundSchema; + /** @deprecated use `CreateRecordResponseBody2$outboundSchema` instead. */ + export const outboundSchema = CreateRecordResponseBody2$outboundSchema; + /** @deprecated use `CreateRecordResponseBody2$Outbound` instead. */ + export type Outbound = CreateRecordResponseBody2$Outbound; +} + +export function createRecordResponseBody2ToJSON( + createRecordResponseBody2: CreateRecordResponseBody2, +): string { + return JSON.stringify( + CreateRecordResponseBody2$outboundSchema.parse(createRecordResponseBody2), + ); +} + +export function createRecordResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateRecordResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateRecordResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const CreateRecordResponseBody1$inboundSchema: z.ZodType< + CreateRecordResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + updated: z.number(), +}); + +/** @internal */ +export type CreateRecordResponseBody1$Outbound = { + uid: string; + updated: number; +}; + +/** @internal */ +export const CreateRecordResponseBody1$outboundSchema: z.ZodType< + CreateRecordResponseBody1$Outbound, + z.ZodTypeDef, + CreateRecordResponseBody1 +> = z.object({ + uid: z.string(), + updated: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateRecordResponseBody1$ { + /** @deprecated use `CreateRecordResponseBody1$inboundSchema` instead. */ + export const inboundSchema = CreateRecordResponseBody1$inboundSchema; + /** @deprecated use `CreateRecordResponseBody1$outboundSchema` instead. */ + export const outboundSchema = CreateRecordResponseBody1$outboundSchema; + /** @deprecated use `CreateRecordResponseBody1$Outbound` instead. */ + export type Outbound = CreateRecordResponseBody1$Outbound; +} + +export function createRecordResponseBody1ToJSON( + createRecordResponseBody1: CreateRecordResponseBody1, +): string { + return JSON.stringify( + CreateRecordResponseBody1$outboundSchema.parse(createRecordResponseBody1), + ); +} + +export function createRecordResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateRecordResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateRecordResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const CreateRecordResponseBody$inboundSchema: z.ZodType< + CreateRecordResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateRecordResponseBody2$inboundSchema), + z.lazy(() => CreateRecordResponseBody1$inboundSchema), +]); + +/** @internal */ +export type CreateRecordResponseBody$Outbound = + | CreateRecordResponseBody2$Outbound + | CreateRecordResponseBody1$Outbound; + +/** @internal */ +export const CreateRecordResponseBody$outboundSchema: z.ZodType< + CreateRecordResponseBody$Outbound, + z.ZodTypeDef, + CreateRecordResponseBody +> = z.union([ + z.lazy(() => CreateRecordResponseBody2$outboundSchema), + z.lazy(() => CreateRecordResponseBody1$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateRecordResponseBody$ { + /** @deprecated use `CreateRecordResponseBody$inboundSchema` instead. */ + export const inboundSchema = CreateRecordResponseBody$inboundSchema; + /** @deprecated use `CreateRecordResponseBody$outboundSchema` instead. */ + export const outboundSchema = CreateRecordResponseBody$outboundSchema; + /** @deprecated use `CreateRecordResponseBody$Outbound` instead. */ + export type Outbound = CreateRecordResponseBody$Outbound; +} + +export function createRecordResponseBodyToJSON( + createRecordResponseBody: CreateRecordResponseBody, +): string { + return JSON.stringify( + CreateRecordResponseBody$outboundSchema.parse(createRecordResponseBody), + ); +} + +export function createRecordResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateRecordResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateRecordResponseBody' from JSON`, + ); +} diff --git a/src/models/createteamop.ts b/src/models/createteamop.ts new file mode 100644 index 00000000..933bb90d --- /dev/null +++ b/src/models/createteamop.ts @@ -0,0 +1,361 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type Utm = { + /** + * UTM source + */ + utmSource?: string | undefined; + /** + * UTM medium + */ + utmMedium?: string | undefined; + /** + * UTM campaign + */ + utmCampaign?: string | undefined; + /** + * UTM term + */ + utmTerm?: string | undefined; +}; + +/** + * Attribution information for the session or current page + */ +export type Attribution = { + /** + * Session referrer + */ + sessionReferrer?: string | undefined; + /** + * Session landing page + */ + landingPage?: string | undefined; + /** + * Referrer to the signup page + */ + pageBeforeConversionPage?: string | undefined; + utm?: Utm | undefined; +}; + +export type CreateTeamRequestBody = { + /** + * The desired slug for the Team + */ + slug: string; + /** + * The desired name for the Team. It will be generated from the provided slug if nothing is provided + */ + name?: string | undefined; + /** + * Attribution information for the session or current page + */ + attribution?: Attribution | undefined; +}; + +/** + * IMPORTANT: If extending Billing, particularly with optional fields, make sure you also update `sync-orb-subscription-to-owner.ts` to handle the items when the object is recreated. + */ +export type CreateTeamBilling = {}; + +/** + * The team was created successfully + */ +export type CreateTeamResponseBody = { + /** + * Id of the created team + */ + id: string; + slug: string; + /** + * IMPORTANT: If extending Billing, particularly with optional fields, make sure you also update `sync-orb-subscription-to-owner.ts` to handle the items when the object is recreated. + */ + billing: CreateTeamBilling; +}; + +/** @internal */ +export const Utm$inboundSchema: z.ZodType = z + .object({ + utmSource: z.string().optional(), + utmMedium: z.string().optional(), + utmCampaign: z.string().optional(), + utmTerm: z.string().optional(), + }); + +/** @internal */ +export type Utm$Outbound = { + utmSource?: string | undefined; + utmMedium?: string | undefined; + utmCampaign?: string | undefined; + utmTerm?: string | undefined; +}; + +/** @internal */ +export const Utm$outboundSchema: z.ZodType = z + .object({ + utmSource: z.string().optional(), + utmMedium: z.string().optional(), + utmCampaign: z.string().optional(), + utmTerm: z.string().optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Utm$ { + /** @deprecated use `Utm$inboundSchema` instead. */ + export const inboundSchema = Utm$inboundSchema; + /** @deprecated use `Utm$outboundSchema` instead. */ + export const outboundSchema = Utm$outboundSchema; + /** @deprecated use `Utm$Outbound` instead. */ + export type Outbound = Utm$Outbound; +} + +export function utmToJSON(utm: Utm): string { + return JSON.stringify(Utm$outboundSchema.parse(utm)); +} + +export function utmFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Utm$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Utm' from JSON`, + ); +} + +/** @internal */ +export const Attribution$inboundSchema: z.ZodType< + Attribution, + z.ZodTypeDef, + unknown +> = z.object({ + sessionReferrer: z.string().optional(), + landingPage: z.string().optional(), + pageBeforeConversionPage: z.string().optional(), + utm: z.lazy(() => Utm$inboundSchema).optional(), +}); + +/** @internal */ +export type Attribution$Outbound = { + sessionReferrer?: string | undefined; + landingPage?: string | undefined; + pageBeforeConversionPage?: string | undefined; + utm?: Utm$Outbound | undefined; +}; + +/** @internal */ +export const Attribution$outboundSchema: z.ZodType< + Attribution$Outbound, + z.ZodTypeDef, + Attribution +> = z.object({ + sessionReferrer: z.string().optional(), + landingPage: z.string().optional(), + pageBeforeConversionPage: z.string().optional(), + utm: z.lazy(() => Utm$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Attribution$ { + /** @deprecated use `Attribution$inboundSchema` instead. */ + export const inboundSchema = Attribution$inboundSchema; + /** @deprecated use `Attribution$outboundSchema` instead. */ + export const outboundSchema = Attribution$outboundSchema; + /** @deprecated use `Attribution$Outbound` instead. */ + export type Outbound = Attribution$Outbound; +} + +export function attributionToJSON(attribution: Attribution): string { + return JSON.stringify(Attribution$outboundSchema.parse(attribution)); +} + +export function attributionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Attribution$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Attribution' from JSON`, + ); +} + +/** @internal */ +export const CreateTeamRequestBody$inboundSchema: z.ZodType< + CreateTeamRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + slug: z.string(), + name: z.string().optional(), + attribution: z.lazy(() => Attribution$inboundSchema).optional(), +}); + +/** @internal */ +export type CreateTeamRequestBody$Outbound = { + slug: string; + name?: string | undefined; + attribution?: Attribution$Outbound | undefined; +}; + +/** @internal */ +export const CreateTeamRequestBody$outboundSchema: z.ZodType< + CreateTeamRequestBody$Outbound, + z.ZodTypeDef, + CreateTeamRequestBody +> = z.object({ + slug: z.string(), + name: z.string().optional(), + attribution: z.lazy(() => Attribution$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateTeamRequestBody$ { + /** @deprecated use `CreateTeamRequestBody$inboundSchema` instead. */ + export const inboundSchema = CreateTeamRequestBody$inboundSchema; + /** @deprecated use `CreateTeamRequestBody$outboundSchema` instead. */ + export const outboundSchema = CreateTeamRequestBody$outboundSchema; + /** @deprecated use `CreateTeamRequestBody$Outbound` instead. */ + export type Outbound = CreateTeamRequestBody$Outbound; +} + +export function createTeamRequestBodyToJSON( + createTeamRequestBody: CreateTeamRequestBody, +): string { + return JSON.stringify( + CreateTeamRequestBody$outboundSchema.parse(createTeamRequestBody), + ); +} + +export function createTeamRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateTeamRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateTeamRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateTeamBilling$inboundSchema: z.ZodType< + CreateTeamBilling, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type CreateTeamBilling$Outbound = {}; + +/** @internal */ +export const CreateTeamBilling$outboundSchema: z.ZodType< + CreateTeamBilling$Outbound, + z.ZodTypeDef, + CreateTeamBilling +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateTeamBilling$ { + /** @deprecated use `CreateTeamBilling$inboundSchema` instead. */ + export const inboundSchema = CreateTeamBilling$inboundSchema; + /** @deprecated use `CreateTeamBilling$outboundSchema` instead. */ + export const outboundSchema = CreateTeamBilling$outboundSchema; + /** @deprecated use `CreateTeamBilling$Outbound` instead. */ + export type Outbound = CreateTeamBilling$Outbound; +} + +export function createTeamBillingToJSON( + createTeamBilling: CreateTeamBilling, +): string { + return JSON.stringify( + CreateTeamBilling$outboundSchema.parse(createTeamBilling), + ); +} + +export function createTeamBillingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateTeamBilling$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateTeamBilling' from JSON`, + ); +} + +/** @internal */ +export const CreateTeamResponseBody$inboundSchema: z.ZodType< + CreateTeamResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + slug: z.string(), + billing: z.lazy(() => CreateTeamBilling$inboundSchema), +}); + +/** @internal */ +export type CreateTeamResponseBody$Outbound = { + id: string; + slug: string; + billing: CreateTeamBilling$Outbound; +}; + +/** @internal */ +export const CreateTeamResponseBody$outboundSchema: z.ZodType< + CreateTeamResponseBody$Outbound, + z.ZodTypeDef, + CreateTeamResponseBody +> = z.object({ + id: z.string(), + slug: z.string(), + billing: z.lazy(() => CreateTeamBilling$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateTeamResponseBody$ { + /** @deprecated use `CreateTeamResponseBody$inboundSchema` instead. */ + export const inboundSchema = CreateTeamResponseBody$inboundSchema; + /** @deprecated use `CreateTeamResponseBody$outboundSchema` instead. */ + export const outboundSchema = CreateTeamResponseBody$outboundSchema; + /** @deprecated use `CreateTeamResponseBody$Outbound` instead. */ + export type Outbound = CreateTeamResponseBody$Outbound; +} + +export function createTeamResponseBodyToJSON( + createTeamResponseBody: CreateTeamResponseBody, +): string { + return JSON.stringify( + CreateTeamResponseBody$outboundSchema.parse(createTeamResponseBody), + ); +} + +export function createTeamResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateTeamResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateTeamResponseBody' from JSON`, + ); +} diff --git a/src/models/createwebhookop.ts b/src/models/createwebhookop.ts new file mode 100644 index 00000000..d392065e --- /dev/null +++ b/src/models/createwebhookop.ts @@ -0,0 +1,410 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export const Events = { + BudgetReached: "budget.reached", + BudgetReset: "budget.reset", + DomainCreated: "domain.created", + DeploymentCreated: "deployment.created", + DeploymentError: "deployment.error", + DeploymentCanceled: "deployment.canceled", + DeploymentSucceeded: "deployment.succeeded", + DeploymentReady: "deployment.ready", + DeploymentCheckRerequested: "deployment.check-rerequested", + DeploymentPromoted: "deployment.promoted", + DeploymentIntegrationActionStart: "deployment.integration.action.start", + DeploymentIntegrationActionCancel: "deployment.integration.action.cancel", + DeploymentIntegrationActionCleanup: "deployment.integration.action.cleanup", + EdgeConfigCreated: "edge-config.created", + EdgeConfigDeleted: "edge-config.deleted", + EdgeConfigItemsUpdated: "edge-config.items.updated", + FirewallAttack: "firewall.attack", + IntegrationConfigurationPermissionUpgraded: + "integration-configuration.permission-upgraded", + IntegrationConfigurationRemoved: "integration-configuration.removed", + IntegrationConfigurationScopeChangeConfirmed: + "integration-configuration.scope-change-confirmed", + ProjectCreated: "project.created", + ProjectRemoved: "project.removed", + DeploymentChecksCompletedLegacy: "deployment-checks-completed", + DeploymentReadyLegacy: "deployment-ready", + DeploymentPreparedLegacy: "deployment-prepared", + DeploymentErrorLegacy: "deployment-error", + DeploymentCheckRerequestedLegacy: "deployment-check-rerequested", + DeploymentCanceledLegacy: "deployment-canceled", + ProjectCreatedLegacy: "project-created", + ProjectRemovedLegacy: "project-removed", + DomainCreatedLegacy: "domain-created", + DeploymentLegacy: "deployment", + IntegrationConfigurationPermissionUpdatedLegacy: + "integration-configuration-permission-updated", + IntegrationConfigurationRemovedLegacy: "integration-configuration-removed", + IntegrationConfigurationScopeChangeConfirmedLegacy: + "integration-configuration-scope-change-confirmed", + MarketplaceInvoiceCreated: "marketplace.invoice.created", + MarketplaceInvoicePaid: "marketplace.invoice.paid", + MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid", + MarketplaceInvoiceRefunded: "marketplace.invoice.refunded", + TestWebhook: "observability.anomaly", + undefined: "test-webhook", +} as const; +export type Events = ClosedEnum; + +export type CreateWebhookRequestBody = { + url: string; + events: Array; + projectIds?: Array | undefined; +}; + +export type CreateWebhookRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: CreateWebhookRequestBody; +}; + +/** + * The webhooks events + */ +export const CreateWebhookEvents = { + BudgetReached: "budget.reached", + BudgetReset: "budget.reset", + DomainCreated: "domain.created", + DeploymentCreated: "deployment.created", + DeploymentError: "deployment.error", + DeploymentCanceled: "deployment.canceled", + DeploymentSucceeded: "deployment.succeeded", + DeploymentReady: "deployment.ready", + DeploymentCheckRerequested: "deployment.check-rerequested", + DeploymentPromoted: "deployment.promoted", + DeploymentIntegrationActionStart: "deployment.integration.action.start", + DeploymentIntegrationActionCancel: "deployment.integration.action.cancel", + DeploymentIntegrationActionCleanup: "deployment.integration.action.cleanup", + EdgeConfigCreated: "edge-config.created", + EdgeConfigDeleted: "edge-config.deleted", + EdgeConfigItemsUpdated: "edge-config.items.updated", + FirewallAttack: "firewall.attack", + IntegrationConfigurationPermissionUpgraded: + "integration-configuration.permission-upgraded", + IntegrationConfigurationRemoved: "integration-configuration.removed", + IntegrationConfigurationScopeChangeConfirmed: + "integration-configuration.scope-change-confirmed", + ProjectCreated: "project.created", + ProjectRemoved: "project.removed", + DeploymentChecksCompletedLegacy: "deployment-checks-completed", + DeploymentReadyLegacy: "deployment-ready", + DeploymentPreparedLegacy: "deployment-prepared", + DeploymentErrorLegacy: "deployment-error", + DeploymentCheckRerequestedLegacy: "deployment-check-rerequested", + DeploymentCanceledLegacy: "deployment-canceled", + ProjectCreatedLegacy: "project-created", + ProjectRemovedLegacy: "project-removed", + DomainCreatedLegacy: "domain-created", + DeploymentLegacy: "deployment", + IntegrationConfigurationPermissionUpdatedLegacy: + "integration-configuration-permission-updated", + IntegrationConfigurationRemovedLegacy: "integration-configuration-removed", + IntegrationConfigurationScopeChangeConfirmedLegacy: + "integration-configuration-scope-change-confirmed", + MarketplaceInvoiceCreated: "marketplace.invoice.created", + MarketplaceInvoicePaid: "marketplace.invoice.paid", + MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid", + MarketplaceInvoiceRefunded: "marketplace.invoice.refunded", + TestWebhook: "observability.anomaly", + undefined: "test-webhook", +} as const; +/** + * The webhooks events + */ +export type CreateWebhookEvents = ClosedEnum; + +export type CreateWebhookResponseBody = { + /** + * The webhook secret used to sign the payload + */ + secret: string; + /** + * The webhooks events + */ + events: Array; + /** + * The webhook id + */ + id: string; + /** + * A string with the URL of the webhook + */ + url: string; + /** + * The unique ID of the team the webhook belongs to + */ + ownerId: string; + /** + * A number containing the date when the webhook was created in in milliseconds + */ + createdAt: number; + /** + * A number containing the date when the webhook was updated in in milliseconds + */ + updatedAt: number; + /** + * The ID of the projects the webhook is associated with + */ + projectIds?: Array | undefined; +}; + +/** @internal */ +export const Events$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Events); + +/** @internal */ +export const Events$outboundSchema: z.ZodNativeEnum = + Events$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Events$ { + /** @deprecated use `Events$inboundSchema` instead. */ + export const inboundSchema = Events$inboundSchema; + /** @deprecated use `Events$outboundSchema` instead. */ + export const outboundSchema = Events$outboundSchema; +} + +/** @internal */ +export const CreateWebhookRequestBody$inboundSchema: z.ZodType< + CreateWebhookRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + url: z.string(), + events: z.array(Events$inboundSchema), + projectIds: z.array(z.string()).optional(), +}); + +/** @internal */ +export type CreateWebhookRequestBody$Outbound = { + url: string; + events: Array; + projectIds?: Array | undefined; +}; + +/** @internal */ +export const CreateWebhookRequestBody$outboundSchema: z.ZodType< + CreateWebhookRequestBody$Outbound, + z.ZodTypeDef, + CreateWebhookRequestBody +> = z.object({ + url: z.string(), + events: z.array(Events$outboundSchema), + projectIds: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateWebhookRequestBody$ { + /** @deprecated use `CreateWebhookRequestBody$inboundSchema` instead. */ + export const inboundSchema = CreateWebhookRequestBody$inboundSchema; + /** @deprecated use `CreateWebhookRequestBody$outboundSchema` instead. */ + export const outboundSchema = CreateWebhookRequestBody$outboundSchema; + /** @deprecated use `CreateWebhookRequestBody$Outbound` instead. */ + export type Outbound = CreateWebhookRequestBody$Outbound; +} + +export function createWebhookRequestBodyToJSON( + createWebhookRequestBody: CreateWebhookRequestBody, +): string { + return JSON.stringify( + CreateWebhookRequestBody$outboundSchema.parse(createWebhookRequestBody), + ); +} + +export function createWebhookRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateWebhookRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateWebhookRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateWebhookRequest$inboundSchema: z.ZodType< + CreateWebhookRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => CreateWebhookRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type CreateWebhookRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: CreateWebhookRequestBody$Outbound; +}; + +/** @internal */ +export const CreateWebhookRequest$outboundSchema: z.ZodType< + CreateWebhookRequest$Outbound, + z.ZodTypeDef, + CreateWebhookRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateWebhookRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateWebhookRequest$ { + /** @deprecated use `CreateWebhookRequest$inboundSchema` instead. */ + export const inboundSchema = CreateWebhookRequest$inboundSchema; + /** @deprecated use `CreateWebhookRequest$outboundSchema` instead. */ + export const outboundSchema = CreateWebhookRequest$outboundSchema; + /** @deprecated use `CreateWebhookRequest$Outbound` instead. */ + export type Outbound = CreateWebhookRequest$Outbound; +} + +export function createWebhookRequestToJSON( + createWebhookRequest: CreateWebhookRequest, +): string { + return JSON.stringify( + CreateWebhookRequest$outboundSchema.parse(createWebhookRequest), + ); +} + +export function createWebhookRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateWebhookRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateWebhookRequest' from JSON`, + ); +} + +/** @internal */ +export const CreateWebhookEvents$inboundSchema: z.ZodNativeEnum< + typeof CreateWebhookEvents +> = z.nativeEnum(CreateWebhookEvents); + +/** @internal */ +export const CreateWebhookEvents$outboundSchema: z.ZodNativeEnum< + typeof CreateWebhookEvents +> = CreateWebhookEvents$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateWebhookEvents$ { + /** @deprecated use `CreateWebhookEvents$inboundSchema` instead. */ + export const inboundSchema = CreateWebhookEvents$inboundSchema; + /** @deprecated use `CreateWebhookEvents$outboundSchema` instead. */ + export const outboundSchema = CreateWebhookEvents$outboundSchema; +} + +/** @internal */ +export const CreateWebhookResponseBody$inboundSchema: z.ZodType< + CreateWebhookResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + secret: z.string(), + events: z.array(CreateWebhookEvents$inboundSchema), + id: z.string(), + url: z.string(), + ownerId: z.string(), + createdAt: z.number(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), +}); + +/** @internal */ +export type CreateWebhookResponseBody$Outbound = { + secret: string; + events: Array; + id: string; + url: string; + ownerId: string; + createdAt: number; + updatedAt: number; + projectIds?: Array | undefined; +}; + +/** @internal */ +export const CreateWebhookResponseBody$outboundSchema: z.ZodType< + CreateWebhookResponseBody$Outbound, + z.ZodTypeDef, + CreateWebhookResponseBody +> = z.object({ + secret: z.string(), + events: z.array(CreateWebhookEvents$outboundSchema), + id: z.string(), + url: z.string(), + ownerId: z.string(), + createdAt: z.number(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateWebhookResponseBody$ { + /** @deprecated use `CreateWebhookResponseBody$inboundSchema` instead. */ + export const inboundSchema = CreateWebhookResponseBody$inboundSchema; + /** @deprecated use `CreateWebhookResponseBody$outboundSchema` instead. */ + export const outboundSchema = CreateWebhookResponseBody$outboundSchema; + /** @deprecated use `CreateWebhookResponseBody$Outbound` instead. */ + export type Outbound = CreateWebhookResponseBody$Outbound; +} + +export function createWebhookResponseBodyToJSON( + createWebhookResponseBody: CreateWebhookResponseBody, +): string { + return JSON.stringify( + CreateWebhookResponseBody$outboundSchema.parse(createWebhookResponseBody), + ); +} + +export function createWebhookResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateWebhookResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateWebhookResponseBody' from JSON`, + ); +} diff --git a/src/models/deleteaccessgroupop.ts b/src/models/deleteaccessgroupop.ts new file mode 100644 index 00000000..0c4d5416 --- /dev/null +++ b/src/models/deleteaccessgroupop.ts @@ -0,0 +1,80 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteAccessGroupRequest = { + idOrName: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteAccessGroupRequest$inboundSchema: z.ZodType< + DeleteAccessGroupRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type DeleteAccessGroupRequest$Outbound = { + idOrName: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteAccessGroupRequest$outboundSchema: z.ZodType< + DeleteAccessGroupRequest$Outbound, + z.ZodTypeDef, + DeleteAccessGroupRequest +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteAccessGroupRequest$ { + /** @deprecated use `DeleteAccessGroupRequest$inboundSchema` instead. */ + export const inboundSchema = DeleteAccessGroupRequest$inboundSchema; + /** @deprecated use `DeleteAccessGroupRequest$outboundSchema` instead. */ + export const outboundSchema = DeleteAccessGroupRequest$outboundSchema; + /** @deprecated use `DeleteAccessGroupRequest$Outbound` instead. */ + export type Outbound = DeleteAccessGroupRequest$Outbound; +} + +export function deleteAccessGroupRequestToJSON( + deleteAccessGroupRequest: DeleteAccessGroupRequest, +): string { + return JSON.stringify( + DeleteAccessGroupRequest$outboundSchema.parse(deleteAccessGroupRequest), + ); +} + +export function deleteAccessGroupRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteAccessGroupRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteAccessGroupRequest' from JSON`, + ); +} diff --git a/src/models/deleteaccessgroupprojectop.ts b/src/models/deleteaccessgroupprojectop.ts new file mode 100644 index 00000000..b698a80a --- /dev/null +++ b/src/models/deleteaccessgroupprojectop.ts @@ -0,0 +1,86 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteAccessGroupProjectRequest = { + accessGroupIdOrName: string; + projectId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteAccessGroupProjectRequest$inboundSchema: z.ZodType< + DeleteAccessGroupProjectRequest, + z.ZodTypeDef, + unknown +> = z.object({ + accessGroupIdOrName: z.string(), + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type DeleteAccessGroupProjectRequest$Outbound = { + accessGroupIdOrName: string; + projectId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteAccessGroupProjectRequest$outboundSchema: z.ZodType< + DeleteAccessGroupProjectRequest$Outbound, + z.ZodTypeDef, + DeleteAccessGroupProjectRequest +> = z.object({ + accessGroupIdOrName: z.string(), + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteAccessGroupProjectRequest$ { + /** @deprecated use `DeleteAccessGroupProjectRequest$inboundSchema` instead. */ + export const inboundSchema = DeleteAccessGroupProjectRequest$inboundSchema; + /** @deprecated use `DeleteAccessGroupProjectRequest$outboundSchema` instead. */ + export const outboundSchema = DeleteAccessGroupProjectRequest$outboundSchema; + /** @deprecated use `DeleteAccessGroupProjectRequest$Outbound` instead. */ + export type Outbound = DeleteAccessGroupProjectRequest$Outbound; +} + +export function deleteAccessGroupProjectRequestToJSON( + deleteAccessGroupProjectRequest: DeleteAccessGroupProjectRequest, +): string { + return JSON.stringify( + DeleteAccessGroupProjectRequest$outboundSchema.parse( + deleteAccessGroupProjectRequest, + ), + ); +} + +export function deleteAccessGroupProjectRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteAccessGroupProjectRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteAccessGroupProjectRequest' from JSON`, + ); +} diff --git a/src/models/deletealiasop.ts b/src/models/deletealiasop.ts new file mode 100644 index 00000000..94fd2a76 --- /dev/null +++ b/src/models/deletealiasop.ts @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteAliasRequest = { + /** + * The ID or alias that will be removed + */ + aliasId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export const DeleteAliasStatus = { + Success: "SUCCESS", +} as const; +export type DeleteAliasStatus = ClosedEnum; + +/** + * The alias was successfully removed + */ +export type DeleteAliasResponseBody = { + status: DeleteAliasStatus; +}; + +/** @internal */ +export const DeleteAliasRequest$inboundSchema: z.ZodType< + DeleteAliasRequest, + z.ZodTypeDef, + unknown +> = z.object({ + aliasId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type DeleteAliasRequest$Outbound = { + aliasId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteAliasRequest$outboundSchema: z.ZodType< + DeleteAliasRequest$Outbound, + z.ZodTypeDef, + DeleteAliasRequest +> = z.object({ + aliasId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteAliasRequest$ { + /** @deprecated use `DeleteAliasRequest$inboundSchema` instead. */ + export const inboundSchema = DeleteAliasRequest$inboundSchema; + /** @deprecated use `DeleteAliasRequest$outboundSchema` instead. */ + export const outboundSchema = DeleteAliasRequest$outboundSchema; + /** @deprecated use `DeleteAliasRequest$Outbound` instead. */ + export type Outbound = DeleteAliasRequest$Outbound; +} + +export function deleteAliasRequestToJSON( + deleteAliasRequest: DeleteAliasRequest, +): string { + return JSON.stringify( + DeleteAliasRequest$outboundSchema.parse(deleteAliasRequest), + ); +} + +export function deleteAliasRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteAliasRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteAliasRequest' from JSON`, + ); +} + +/** @internal */ +export const DeleteAliasStatus$inboundSchema: z.ZodNativeEnum< + typeof DeleteAliasStatus +> = z.nativeEnum(DeleteAliasStatus); + +/** @internal */ +export const DeleteAliasStatus$outboundSchema: z.ZodNativeEnum< + typeof DeleteAliasStatus +> = DeleteAliasStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteAliasStatus$ { + /** @deprecated use `DeleteAliasStatus$inboundSchema` instead. */ + export const inboundSchema = DeleteAliasStatus$inboundSchema; + /** @deprecated use `DeleteAliasStatus$outboundSchema` instead. */ + export const outboundSchema = DeleteAliasStatus$outboundSchema; +} + +/** @internal */ +export const DeleteAliasResponseBody$inboundSchema: z.ZodType< + DeleteAliasResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + status: DeleteAliasStatus$inboundSchema, +}); + +/** @internal */ +export type DeleteAliasResponseBody$Outbound = { + status: string; +}; + +/** @internal */ +export const DeleteAliasResponseBody$outboundSchema: z.ZodType< + DeleteAliasResponseBody$Outbound, + z.ZodTypeDef, + DeleteAliasResponseBody +> = z.object({ + status: DeleteAliasStatus$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteAliasResponseBody$ { + /** @deprecated use `DeleteAliasResponseBody$inboundSchema` instead. */ + export const inboundSchema = DeleteAliasResponseBody$inboundSchema; + /** @deprecated use `DeleteAliasResponseBody$outboundSchema` instead. */ + export const outboundSchema = DeleteAliasResponseBody$outboundSchema; + /** @deprecated use `DeleteAliasResponseBody$Outbound` instead. */ + export type Outbound = DeleteAliasResponseBody$Outbound; +} + +export function deleteAliasResponseBodyToJSON( + deleteAliasResponseBody: DeleteAliasResponseBody, +): string { + return JSON.stringify( + DeleteAliasResponseBody$outboundSchema.parse(deleteAliasResponseBody), + ); +} + +export function deleteAliasResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteAliasResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteAliasResponseBody' from JSON`, + ); +} diff --git a/src/models/deleteauthtokenop.ts b/src/models/deleteauthtokenop.ts new file mode 100644 index 00000000..c9938ec3 --- /dev/null +++ b/src/models/deleteauthtokenop.ts @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteAuthTokenRequest = { + /** + * The identifier of the token to invalidate. The special value \"current\" may be supplied, which invalidates the token that the HTTP request was authenticated with. + */ + tokenId: string; +}; + +/** + * Authentication token successfully deleted. + */ +export type DeleteAuthTokenResponseBody = { + /** + * The unique identifier of the token that was deleted. + */ + tokenId: string; +}; + +/** @internal */ +export const DeleteAuthTokenRequest$inboundSchema: z.ZodType< + DeleteAuthTokenRequest, + z.ZodTypeDef, + unknown +> = z.object({ + tokenId: z.string(), +}); + +/** @internal */ +export type DeleteAuthTokenRequest$Outbound = { + tokenId: string; +}; + +/** @internal */ +export const DeleteAuthTokenRequest$outboundSchema: z.ZodType< + DeleteAuthTokenRequest$Outbound, + z.ZodTypeDef, + DeleteAuthTokenRequest +> = z.object({ + tokenId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteAuthTokenRequest$ { + /** @deprecated use `DeleteAuthTokenRequest$inboundSchema` instead. */ + export const inboundSchema = DeleteAuthTokenRequest$inboundSchema; + /** @deprecated use `DeleteAuthTokenRequest$outboundSchema` instead. */ + export const outboundSchema = DeleteAuthTokenRequest$outboundSchema; + /** @deprecated use `DeleteAuthTokenRequest$Outbound` instead. */ + export type Outbound = DeleteAuthTokenRequest$Outbound; +} + +export function deleteAuthTokenRequestToJSON( + deleteAuthTokenRequest: DeleteAuthTokenRequest, +): string { + return JSON.stringify( + DeleteAuthTokenRequest$outboundSchema.parse(deleteAuthTokenRequest), + ); +} + +export function deleteAuthTokenRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteAuthTokenRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteAuthTokenRequest' from JSON`, + ); +} + +/** @internal */ +export const DeleteAuthTokenResponseBody$inboundSchema: z.ZodType< + DeleteAuthTokenResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + tokenId: z.string(), +}); + +/** @internal */ +export type DeleteAuthTokenResponseBody$Outbound = { + tokenId: string; +}; + +/** @internal */ +export const DeleteAuthTokenResponseBody$outboundSchema: z.ZodType< + DeleteAuthTokenResponseBody$Outbound, + z.ZodTypeDef, + DeleteAuthTokenResponseBody +> = z.object({ + tokenId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteAuthTokenResponseBody$ { + /** @deprecated use `DeleteAuthTokenResponseBody$inboundSchema` instead. */ + export const inboundSchema = DeleteAuthTokenResponseBody$inboundSchema; + /** @deprecated use `DeleteAuthTokenResponseBody$outboundSchema` instead. */ + export const outboundSchema = DeleteAuthTokenResponseBody$outboundSchema; + /** @deprecated use `DeleteAuthTokenResponseBody$Outbound` instead. */ + export type Outbound = DeleteAuthTokenResponseBody$Outbound; +} + +export function deleteAuthTokenResponseBodyToJSON( + deleteAuthTokenResponseBody: DeleteAuthTokenResponseBody, +): string { + return JSON.stringify( + DeleteAuthTokenResponseBody$outboundSchema.parse( + deleteAuthTokenResponseBody, + ), + ); +} + +export function deleteAuthTokenResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteAuthTokenResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteAuthTokenResponseBody' from JSON`, + ); +} diff --git a/src/models/deleteconfigurablelogdrainop.ts b/src/models/deleteconfigurablelogdrainop.ts new file mode 100644 index 00000000..c89f0042 --- /dev/null +++ b/src/models/deleteconfigurablelogdrainop.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteConfigurableLogDrainRequest = { + id: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteConfigurableLogDrainRequest$inboundSchema: z.ZodType< + DeleteConfigurableLogDrainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type DeleteConfigurableLogDrainRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteConfigurableLogDrainRequest$outboundSchema: z.ZodType< + DeleteConfigurableLogDrainRequest$Outbound, + z.ZodTypeDef, + DeleteConfigurableLogDrainRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteConfigurableLogDrainRequest$ { + /** @deprecated use `DeleteConfigurableLogDrainRequest$inboundSchema` instead. */ + export const inboundSchema = DeleteConfigurableLogDrainRequest$inboundSchema; + /** @deprecated use `DeleteConfigurableLogDrainRequest$outboundSchema` instead. */ + export const outboundSchema = + DeleteConfigurableLogDrainRequest$outboundSchema; + /** @deprecated use `DeleteConfigurableLogDrainRequest$Outbound` instead. */ + export type Outbound = DeleteConfigurableLogDrainRequest$Outbound; +} + +export function deleteConfigurableLogDrainRequestToJSON( + deleteConfigurableLogDrainRequest: DeleteConfigurableLogDrainRequest, +): string { + return JSON.stringify( + DeleteConfigurableLogDrainRequest$outboundSchema.parse( + deleteConfigurableLogDrainRequest, + ), + ); +} + +export function deleteConfigurableLogDrainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteConfigurableLogDrainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteConfigurableLogDrainRequest' from JSON`, + ); +} diff --git a/src/models/deleteconfigurationop.ts b/src/models/deleteconfigurationop.ts new file mode 100644 index 00000000..3dffd0c2 --- /dev/null +++ b/src/models/deleteconfigurationop.ts @@ -0,0 +1,80 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteConfigurationRequest = { + id: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteConfigurationRequest$inboundSchema: z.ZodType< + DeleteConfigurationRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type DeleteConfigurationRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteConfigurationRequest$outboundSchema: z.ZodType< + DeleteConfigurationRequest$Outbound, + z.ZodTypeDef, + DeleteConfigurationRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteConfigurationRequest$ { + /** @deprecated use `DeleteConfigurationRequest$inboundSchema` instead. */ + export const inboundSchema = DeleteConfigurationRequest$inboundSchema; + /** @deprecated use `DeleteConfigurationRequest$outboundSchema` instead. */ + export const outboundSchema = DeleteConfigurationRequest$outboundSchema; + /** @deprecated use `DeleteConfigurationRequest$Outbound` instead. */ + export type Outbound = DeleteConfigurationRequest$Outbound; +} + +export function deleteConfigurationRequestToJSON( + deleteConfigurationRequest: DeleteConfigurationRequest, +): string { + return JSON.stringify( + DeleteConfigurationRequest$outboundSchema.parse(deleteConfigurationRequest), + ); +} + +export function deleteConfigurationRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteConfigurationRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteConfigurationRequest' from JSON`, + ); +} diff --git a/src/models/deletedeploymentop.ts b/src/models/deletedeploymentop.ts new file mode 100644 index 00000000..c7fbb3a7 --- /dev/null +++ b/src/models/deletedeploymentop.ts @@ -0,0 +1,196 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteDeploymentRequest = { + /** + * The ID of the deployment to be deleted + */ + id: string; + /** + * A Deployment or Alias URL. In case it is passed, the ID will be ignored + */ + url?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * A constant with the final state of the deployment. + */ +export const DeleteDeploymentState = { + Deleted: "DELETED", +} as const; +/** + * A constant with the final state of the deployment. + */ +export type DeleteDeploymentState = ClosedEnum; + +/** + * The deployment was successfully deleted + */ +export type DeleteDeploymentResponseBody = { + /** + * The removed deployment ID. + */ + uid: string; + /** + * A constant with the final state of the deployment. + */ + state: DeleteDeploymentState; +}; + +/** @internal */ +export const DeleteDeploymentRequest$inboundSchema: z.ZodType< + DeleteDeploymentRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + url: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type DeleteDeploymentRequest$Outbound = { + id: string; + url?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteDeploymentRequest$outboundSchema: z.ZodType< + DeleteDeploymentRequest$Outbound, + z.ZodTypeDef, + DeleteDeploymentRequest +> = z.object({ + id: z.string(), + url: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteDeploymentRequest$ { + /** @deprecated use `DeleteDeploymentRequest$inboundSchema` instead. */ + export const inboundSchema = DeleteDeploymentRequest$inboundSchema; + /** @deprecated use `DeleteDeploymentRequest$outboundSchema` instead. */ + export const outboundSchema = DeleteDeploymentRequest$outboundSchema; + /** @deprecated use `DeleteDeploymentRequest$Outbound` instead. */ + export type Outbound = DeleteDeploymentRequest$Outbound; +} + +export function deleteDeploymentRequestToJSON( + deleteDeploymentRequest: DeleteDeploymentRequest, +): string { + return JSON.stringify( + DeleteDeploymentRequest$outboundSchema.parse(deleteDeploymentRequest), + ); +} + +export function deleteDeploymentRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteDeploymentRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteDeploymentRequest' from JSON`, + ); +} + +/** @internal */ +export const DeleteDeploymentState$inboundSchema: z.ZodNativeEnum< + typeof DeleteDeploymentState +> = z.nativeEnum(DeleteDeploymentState); + +/** @internal */ +export const DeleteDeploymentState$outboundSchema: z.ZodNativeEnum< + typeof DeleteDeploymentState +> = DeleteDeploymentState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteDeploymentState$ { + /** @deprecated use `DeleteDeploymentState$inboundSchema` instead. */ + export const inboundSchema = DeleteDeploymentState$inboundSchema; + /** @deprecated use `DeleteDeploymentState$outboundSchema` instead. */ + export const outboundSchema = DeleteDeploymentState$outboundSchema; +} + +/** @internal */ +export const DeleteDeploymentResponseBody$inboundSchema: z.ZodType< + DeleteDeploymentResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + state: DeleteDeploymentState$inboundSchema, +}); + +/** @internal */ +export type DeleteDeploymentResponseBody$Outbound = { + uid: string; + state: string; +}; + +/** @internal */ +export const DeleteDeploymentResponseBody$outboundSchema: z.ZodType< + DeleteDeploymentResponseBody$Outbound, + z.ZodTypeDef, + DeleteDeploymentResponseBody +> = z.object({ + uid: z.string(), + state: DeleteDeploymentState$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteDeploymentResponseBody$ { + /** @deprecated use `DeleteDeploymentResponseBody$inboundSchema` instead. */ + export const inboundSchema = DeleteDeploymentResponseBody$inboundSchema; + /** @deprecated use `DeleteDeploymentResponseBody$outboundSchema` instead. */ + export const outboundSchema = DeleteDeploymentResponseBody$outboundSchema; + /** @deprecated use `DeleteDeploymentResponseBody$Outbound` instead. */ + export type Outbound = DeleteDeploymentResponseBody$Outbound; +} + +export function deleteDeploymentResponseBodyToJSON( + deleteDeploymentResponseBody: DeleteDeploymentResponseBody, +): string { + return JSON.stringify( + DeleteDeploymentResponseBody$outboundSchema.parse( + deleteDeploymentResponseBody, + ), + ); +} + +export function deleteDeploymentResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteDeploymentResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteDeploymentResponseBody' from JSON`, + ); +} diff --git a/src/models/deletedomainop.ts b/src/models/deletedomainop.ts new file mode 100644 index 00000000..087ab41d --- /dev/null +++ b/src/models/deletedomainop.ts @@ -0,0 +1,147 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteDomainRequest = { + /** + * The name of the domain. + */ + domain: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * Successful response removing a domain. + */ +export type DeleteDomainResponseBody = { + /** + * The id of the newly created DNS record + */ + uid: string; +}; + +/** @internal */ +export const DeleteDomainRequest$inboundSchema: z.ZodType< + DeleteDomainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type DeleteDomainRequest$Outbound = { + domain: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteDomainRequest$outboundSchema: z.ZodType< + DeleteDomainRequest$Outbound, + z.ZodTypeDef, + DeleteDomainRequest +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteDomainRequest$ { + /** @deprecated use `DeleteDomainRequest$inboundSchema` instead. */ + export const inboundSchema = DeleteDomainRequest$inboundSchema; + /** @deprecated use `DeleteDomainRequest$outboundSchema` instead. */ + export const outboundSchema = DeleteDomainRequest$outboundSchema; + /** @deprecated use `DeleteDomainRequest$Outbound` instead. */ + export type Outbound = DeleteDomainRequest$Outbound; +} + +export function deleteDomainRequestToJSON( + deleteDomainRequest: DeleteDomainRequest, +): string { + return JSON.stringify( + DeleteDomainRequest$outboundSchema.parse(deleteDomainRequest), + ); +} + +export function deleteDomainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteDomainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteDomainRequest' from JSON`, + ); +} + +/** @internal */ +export const DeleteDomainResponseBody$inboundSchema: z.ZodType< + DeleteDomainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), +}); + +/** @internal */ +export type DeleteDomainResponseBody$Outbound = { + uid: string; +}; + +/** @internal */ +export const DeleteDomainResponseBody$outboundSchema: z.ZodType< + DeleteDomainResponseBody$Outbound, + z.ZodTypeDef, + DeleteDomainResponseBody +> = z.object({ + uid: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteDomainResponseBody$ { + /** @deprecated use `DeleteDomainResponseBody$inboundSchema` instead. */ + export const inboundSchema = DeleteDomainResponseBody$inboundSchema; + /** @deprecated use `DeleteDomainResponseBody$outboundSchema` instead. */ + export const outboundSchema = DeleteDomainResponseBody$outboundSchema; + /** @deprecated use `DeleteDomainResponseBody$Outbound` instead. */ + export type Outbound = DeleteDomainResponseBody$Outbound; +} + +export function deleteDomainResponseBodyToJSON( + deleteDomainResponseBody: DeleteDomainResponseBody, +): string { + return JSON.stringify( + DeleteDomainResponseBody$outboundSchema.parse(deleteDomainResponseBody), + ); +} + +export function deleteDomainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteDomainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteDomainResponseBody' from JSON`, + ); +} diff --git a/src/models/deleteedgeconfigop.ts b/src/models/deleteedgeconfigop.ts new file mode 100644 index 00000000..c6495f15 --- /dev/null +++ b/src/models/deleteedgeconfigop.ts @@ -0,0 +1,80 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteEdgeConfigRequest = { + edgeConfigId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteEdgeConfigRequest$inboundSchema: z.ZodType< + DeleteEdgeConfigRequest, + z.ZodTypeDef, + unknown +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type DeleteEdgeConfigRequest$Outbound = { + edgeConfigId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteEdgeConfigRequest$outboundSchema: z.ZodType< + DeleteEdgeConfigRequest$Outbound, + z.ZodTypeDef, + DeleteEdgeConfigRequest +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteEdgeConfigRequest$ { + /** @deprecated use `DeleteEdgeConfigRequest$inboundSchema` instead. */ + export const inboundSchema = DeleteEdgeConfigRequest$inboundSchema; + /** @deprecated use `DeleteEdgeConfigRequest$outboundSchema` instead. */ + export const outboundSchema = DeleteEdgeConfigRequest$outboundSchema; + /** @deprecated use `DeleteEdgeConfigRequest$Outbound` instead. */ + export type Outbound = DeleteEdgeConfigRequest$Outbound; +} + +export function deleteEdgeConfigRequestToJSON( + deleteEdgeConfigRequest: DeleteEdgeConfigRequest, +): string { + return JSON.stringify( + DeleteEdgeConfigRequest$outboundSchema.parse(deleteEdgeConfigRequest), + ); +} + +export function deleteEdgeConfigRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteEdgeConfigRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteEdgeConfigRequest' from JSON`, + ); +} diff --git a/src/models/deleteedgeconfigschemaop.ts b/src/models/deleteedgeconfigschemaop.ts new file mode 100644 index 00000000..844747e6 --- /dev/null +++ b/src/models/deleteedgeconfigschemaop.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteEdgeConfigSchemaRequest = { + edgeConfigId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteEdgeConfigSchemaRequest$inboundSchema: z.ZodType< + DeleteEdgeConfigSchemaRequest, + z.ZodTypeDef, + unknown +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type DeleteEdgeConfigSchemaRequest$Outbound = { + edgeConfigId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteEdgeConfigSchemaRequest$outboundSchema: z.ZodType< + DeleteEdgeConfigSchemaRequest$Outbound, + z.ZodTypeDef, + DeleteEdgeConfigSchemaRequest +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteEdgeConfigSchemaRequest$ { + /** @deprecated use `DeleteEdgeConfigSchemaRequest$inboundSchema` instead. */ + export const inboundSchema = DeleteEdgeConfigSchemaRequest$inboundSchema; + /** @deprecated use `DeleteEdgeConfigSchemaRequest$outboundSchema` instead. */ + export const outboundSchema = DeleteEdgeConfigSchemaRequest$outboundSchema; + /** @deprecated use `DeleteEdgeConfigSchemaRequest$Outbound` instead. */ + export type Outbound = DeleteEdgeConfigSchemaRequest$Outbound; +} + +export function deleteEdgeConfigSchemaRequestToJSON( + deleteEdgeConfigSchemaRequest: DeleteEdgeConfigSchemaRequest, +): string { + return JSON.stringify( + DeleteEdgeConfigSchemaRequest$outboundSchema.parse( + deleteEdgeConfigSchemaRequest, + ), + ); +} + +export function deleteEdgeConfigSchemaRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteEdgeConfigSchemaRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteEdgeConfigSchemaRequest' from JSON`, + ); +} diff --git a/src/models/deleteedgeconfigtokensop.ts b/src/models/deleteedgeconfigtokensop.ts new file mode 100644 index 00000000..8cc69627 --- /dev/null +++ b/src/models/deleteedgeconfigtokensop.ts @@ -0,0 +1,156 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteEdgeConfigTokensRequestBody = { + tokens: Array; +}; + +export type DeleteEdgeConfigTokensRequest = { + edgeConfigId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: DeleteEdgeConfigTokensRequestBody; +}; + +/** @internal */ +export const DeleteEdgeConfigTokensRequestBody$inboundSchema: z.ZodType< + DeleteEdgeConfigTokensRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + tokens: z.array(z.string()), +}); + +/** @internal */ +export type DeleteEdgeConfigTokensRequestBody$Outbound = { + tokens: Array; +}; + +/** @internal */ +export const DeleteEdgeConfigTokensRequestBody$outboundSchema: z.ZodType< + DeleteEdgeConfigTokensRequestBody$Outbound, + z.ZodTypeDef, + DeleteEdgeConfigTokensRequestBody +> = z.object({ + tokens: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteEdgeConfigTokensRequestBody$ { + /** @deprecated use `DeleteEdgeConfigTokensRequestBody$inboundSchema` instead. */ + export const inboundSchema = DeleteEdgeConfigTokensRequestBody$inboundSchema; + /** @deprecated use `DeleteEdgeConfigTokensRequestBody$outboundSchema` instead. */ + export const outboundSchema = + DeleteEdgeConfigTokensRequestBody$outboundSchema; + /** @deprecated use `DeleteEdgeConfigTokensRequestBody$Outbound` instead. */ + export type Outbound = DeleteEdgeConfigTokensRequestBody$Outbound; +} + +export function deleteEdgeConfigTokensRequestBodyToJSON( + deleteEdgeConfigTokensRequestBody: DeleteEdgeConfigTokensRequestBody, +): string { + return JSON.stringify( + DeleteEdgeConfigTokensRequestBody$outboundSchema.parse( + deleteEdgeConfigTokensRequestBody, + ), + ); +} + +export function deleteEdgeConfigTokensRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteEdgeConfigTokensRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteEdgeConfigTokensRequestBody' from JSON`, + ); +} + +/** @internal */ +export const DeleteEdgeConfigTokensRequest$inboundSchema: z.ZodType< + DeleteEdgeConfigTokensRequest, + z.ZodTypeDef, + unknown +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => DeleteEdgeConfigTokensRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type DeleteEdgeConfigTokensRequest$Outbound = { + edgeConfigId: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: DeleteEdgeConfigTokensRequestBody$Outbound; +}; + +/** @internal */ +export const DeleteEdgeConfigTokensRequest$outboundSchema: z.ZodType< + DeleteEdgeConfigTokensRequest$Outbound, + z.ZodTypeDef, + DeleteEdgeConfigTokensRequest +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => DeleteEdgeConfigTokensRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteEdgeConfigTokensRequest$ { + /** @deprecated use `DeleteEdgeConfigTokensRequest$inboundSchema` instead. */ + export const inboundSchema = DeleteEdgeConfigTokensRequest$inboundSchema; + /** @deprecated use `DeleteEdgeConfigTokensRequest$outboundSchema` instead. */ + export const outboundSchema = DeleteEdgeConfigTokensRequest$outboundSchema; + /** @deprecated use `DeleteEdgeConfigTokensRequest$Outbound` instead. */ + export type Outbound = DeleteEdgeConfigTokensRequest$Outbound; +} + +export function deleteEdgeConfigTokensRequestToJSON( + deleteEdgeConfigTokensRequest: DeleteEdgeConfigTokensRequest, +): string { + return JSON.stringify( + DeleteEdgeConfigTokensRequest$outboundSchema.parse( + deleteEdgeConfigTokensRequest, + ), + ); +} + +export function deleteEdgeConfigTokensRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteEdgeConfigTokensRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteEdgeConfigTokensRequest' from JSON`, + ); +} diff --git a/src/models/deleteintegrationlogdrainop.ts b/src/models/deleteintegrationlogdrainop.ts new file mode 100644 index 00000000..0921897a --- /dev/null +++ b/src/models/deleteintegrationlogdrainop.ts @@ -0,0 +1,85 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteIntegrationLogDrainRequest = { + /** + * ID of the log drain to be deleted + */ + id: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteIntegrationLogDrainRequest$inboundSchema: z.ZodType< + DeleteIntegrationLogDrainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type DeleteIntegrationLogDrainRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteIntegrationLogDrainRequest$outboundSchema: z.ZodType< + DeleteIntegrationLogDrainRequest$Outbound, + z.ZodTypeDef, + DeleteIntegrationLogDrainRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteIntegrationLogDrainRequest$ { + /** @deprecated use `DeleteIntegrationLogDrainRequest$inboundSchema` instead. */ + export const inboundSchema = DeleteIntegrationLogDrainRequest$inboundSchema; + /** @deprecated use `DeleteIntegrationLogDrainRequest$outboundSchema` instead. */ + export const outboundSchema = DeleteIntegrationLogDrainRequest$outboundSchema; + /** @deprecated use `DeleteIntegrationLogDrainRequest$Outbound` instead. */ + export type Outbound = DeleteIntegrationLogDrainRequest$Outbound; +} + +export function deleteIntegrationLogDrainRequestToJSON( + deleteIntegrationLogDrainRequest: DeleteIntegrationLogDrainRequest, +): string { + return JSON.stringify( + DeleteIntegrationLogDrainRequest$outboundSchema.parse( + deleteIntegrationLogDrainRequest, + ), + ); +} + +export function deleteIntegrationLogDrainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteIntegrationLogDrainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteIntegrationLogDrainRequest' from JSON`, + ); +} diff --git a/src/models/deleteprojectop.ts b/src/models/deleteprojectop.ts new file mode 100644 index 00000000..9dfbad4f --- /dev/null +++ b/src/models/deleteprojectop.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteProjectRequest = { + /** + * The unique project identifier or the project name + */ + idOrName: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteProjectRequest$inboundSchema: z.ZodType< + DeleteProjectRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type DeleteProjectRequest$Outbound = { + idOrName: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteProjectRequest$outboundSchema: z.ZodType< + DeleteProjectRequest$Outbound, + z.ZodTypeDef, + DeleteProjectRequest +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteProjectRequest$ { + /** @deprecated use `DeleteProjectRequest$inboundSchema` instead. */ + export const inboundSchema = DeleteProjectRequest$inboundSchema; + /** @deprecated use `DeleteProjectRequest$outboundSchema` instead. */ + export const outboundSchema = DeleteProjectRequest$outboundSchema; + /** @deprecated use `DeleteProjectRequest$Outbound` instead. */ + export type Outbound = DeleteProjectRequest$Outbound; +} + +export function deleteProjectRequestToJSON( + deleteProjectRequest: DeleteProjectRequest, +): string { + return JSON.stringify( + DeleteProjectRequest$outboundSchema.parse(deleteProjectRequest), + ); +} + +export function deleteProjectRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteProjectRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteProjectRequest' from JSON`, + ); +} diff --git a/src/models/deleteteaminvitecodeop.ts b/src/models/deleteteaminvitecodeop.ts new file mode 100644 index 00000000..8561a785 --- /dev/null +++ b/src/models/deleteteaminvitecodeop.ts @@ -0,0 +1,144 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteTeamInviteCodeRequest = { + /** + * The Team invite code ID. + */ + inviteId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId: string; +}; + +/** + * Successfully deleted Team invite code. + */ +export type DeleteTeamInviteCodeResponseBody = { + /** + * ID of the team. + */ + id: string; +}; + +/** @internal */ +export const DeleteTeamInviteCodeRequest$inboundSchema: z.ZodType< + DeleteTeamInviteCodeRequest, + z.ZodTypeDef, + unknown +> = z.object({ + inviteId: z.string(), + teamId: z.string(), +}); + +/** @internal */ +export type DeleteTeamInviteCodeRequest$Outbound = { + inviteId: string; + teamId: string; +}; + +/** @internal */ +export const DeleteTeamInviteCodeRequest$outboundSchema: z.ZodType< + DeleteTeamInviteCodeRequest$Outbound, + z.ZodTypeDef, + DeleteTeamInviteCodeRequest +> = z.object({ + inviteId: z.string(), + teamId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteTeamInviteCodeRequest$ { + /** @deprecated use `DeleteTeamInviteCodeRequest$inboundSchema` instead. */ + export const inboundSchema = DeleteTeamInviteCodeRequest$inboundSchema; + /** @deprecated use `DeleteTeamInviteCodeRequest$outboundSchema` instead. */ + export const outboundSchema = DeleteTeamInviteCodeRequest$outboundSchema; + /** @deprecated use `DeleteTeamInviteCodeRequest$Outbound` instead. */ + export type Outbound = DeleteTeamInviteCodeRequest$Outbound; +} + +export function deleteTeamInviteCodeRequestToJSON( + deleteTeamInviteCodeRequest: DeleteTeamInviteCodeRequest, +): string { + return JSON.stringify( + DeleteTeamInviteCodeRequest$outboundSchema.parse( + deleteTeamInviteCodeRequest, + ), + ); +} + +export function deleteTeamInviteCodeRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteTeamInviteCodeRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteTeamInviteCodeRequest' from JSON`, + ); +} + +/** @internal */ +export const DeleteTeamInviteCodeResponseBody$inboundSchema: z.ZodType< + DeleteTeamInviteCodeResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +/** @internal */ +export type DeleteTeamInviteCodeResponseBody$Outbound = { + id: string; +}; + +/** @internal */ +export const DeleteTeamInviteCodeResponseBody$outboundSchema: z.ZodType< + DeleteTeamInviteCodeResponseBody$Outbound, + z.ZodTypeDef, + DeleteTeamInviteCodeResponseBody +> = z.object({ + id: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteTeamInviteCodeResponseBody$ { + /** @deprecated use `DeleteTeamInviteCodeResponseBody$inboundSchema` instead. */ + export const inboundSchema = DeleteTeamInviteCodeResponseBody$inboundSchema; + /** @deprecated use `DeleteTeamInviteCodeResponseBody$outboundSchema` instead. */ + export const outboundSchema = DeleteTeamInviteCodeResponseBody$outboundSchema; + /** @deprecated use `DeleteTeamInviteCodeResponseBody$Outbound` instead. */ + export type Outbound = DeleteTeamInviteCodeResponseBody$Outbound; +} + +export function deleteTeamInviteCodeResponseBodyToJSON( + deleteTeamInviteCodeResponseBody: DeleteTeamInviteCodeResponseBody, +): string { + return JSON.stringify( + DeleteTeamInviteCodeResponseBody$outboundSchema.parse( + deleteTeamInviteCodeResponseBody, + ), + ); +} + +export function deleteTeamInviteCodeResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteTeamInviteCodeResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteTeamInviteCodeResponseBody' from JSON`, + ); +} diff --git a/src/models/deleteteamop.ts b/src/models/deleteteamop.ts new file mode 100644 index 00000000..18026d11 --- /dev/null +++ b/src/models/deleteteamop.ts @@ -0,0 +1,292 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * An object describing the reason why the team is being deleted. + */ +export type Reasons = { + /** + * Idenitifier slug of the reason why the team is being deleted. + */ + slug: string; + /** + * Description of the reason why the team is being deleted. + */ + description: string; +}; + +export type DeleteTeamRequestBody = { + /** + * Optional array of objects that describe the reason why the team is being deleted. + */ + reasons?: Array | undefined; +}; + +export type DeleteTeamRequest = { + /** + * Id of the team to be set as the new default team + */ + newDefaultTeamId?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId: string; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: DeleteTeamRequestBody; +}; + +/** + * The Team was successfully deleted + */ +export type DeleteTeamResponseBody = { + /** + * The ID of the deleted Team + */ + id: string; + /** + * Signifies whether the default team update has failed, when newDefaultTeamId is provided in request query. + */ + newDefaultTeamIdError?: boolean | undefined; +}; + +/** @internal */ +export const Reasons$inboundSchema: z.ZodType = + z.object({ + slug: z.string(), + description: z.string(), + }); + +/** @internal */ +export type Reasons$Outbound = { + slug: string; + description: string; +}; + +/** @internal */ +export const Reasons$outboundSchema: z.ZodType< + Reasons$Outbound, + z.ZodTypeDef, + Reasons +> = z.object({ + slug: z.string(), + description: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Reasons$ { + /** @deprecated use `Reasons$inboundSchema` instead. */ + export const inboundSchema = Reasons$inboundSchema; + /** @deprecated use `Reasons$outboundSchema` instead. */ + export const outboundSchema = Reasons$outboundSchema; + /** @deprecated use `Reasons$Outbound` instead. */ + export type Outbound = Reasons$Outbound; +} + +export function reasonsToJSON(reasons: Reasons): string { + return JSON.stringify(Reasons$outboundSchema.parse(reasons)); +} + +export function reasonsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Reasons$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Reasons' from JSON`, + ); +} + +/** @internal */ +export const DeleteTeamRequestBody$inboundSchema: z.ZodType< + DeleteTeamRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + reasons: z.array(z.lazy(() => Reasons$inboundSchema)).optional(), +}); + +/** @internal */ +export type DeleteTeamRequestBody$Outbound = { + reasons?: Array | undefined; +}; + +/** @internal */ +export const DeleteTeamRequestBody$outboundSchema: z.ZodType< + DeleteTeamRequestBody$Outbound, + z.ZodTypeDef, + DeleteTeamRequestBody +> = z.object({ + reasons: z.array(z.lazy(() => Reasons$outboundSchema)).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteTeamRequestBody$ { + /** @deprecated use `DeleteTeamRequestBody$inboundSchema` instead. */ + export const inboundSchema = DeleteTeamRequestBody$inboundSchema; + /** @deprecated use `DeleteTeamRequestBody$outboundSchema` instead. */ + export const outboundSchema = DeleteTeamRequestBody$outboundSchema; + /** @deprecated use `DeleteTeamRequestBody$Outbound` instead. */ + export type Outbound = DeleteTeamRequestBody$Outbound; +} + +export function deleteTeamRequestBodyToJSON( + deleteTeamRequestBody: DeleteTeamRequestBody, +): string { + return JSON.stringify( + DeleteTeamRequestBody$outboundSchema.parse(deleteTeamRequestBody), + ); +} + +export function deleteTeamRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteTeamRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteTeamRequestBody' from JSON`, + ); +} + +/** @internal */ +export const DeleteTeamRequest$inboundSchema: z.ZodType< + DeleteTeamRequest, + z.ZodTypeDef, + unknown +> = z.object({ + newDefaultTeamId: z.string().optional(), + teamId: z.string(), + slug: z.string().optional(), + RequestBody: z.lazy(() => DeleteTeamRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type DeleteTeamRequest$Outbound = { + newDefaultTeamId?: string | undefined; + teamId: string; + slug?: string | undefined; + RequestBody: DeleteTeamRequestBody$Outbound; +}; + +/** @internal */ +export const DeleteTeamRequest$outboundSchema: z.ZodType< + DeleteTeamRequest$Outbound, + z.ZodTypeDef, + DeleteTeamRequest +> = z.object({ + newDefaultTeamId: z.string().optional(), + teamId: z.string(), + slug: z.string().optional(), + requestBody: z.lazy(() => DeleteTeamRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteTeamRequest$ { + /** @deprecated use `DeleteTeamRequest$inboundSchema` instead. */ + export const inboundSchema = DeleteTeamRequest$inboundSchema; + /** @deprecated use `DeleteTeamRequest$outboundSchema` instead. */ + export const outboundSchema = DeleteTeamRequest$outboundSchema; + /** @deprecated use `DeleteTeamRequest$Outbound` instead. */ + export type Outbound = DeleteTeamRequest$Outbound; +} + +export function deleteTeamRequestToJSON( + deleteTeamRequest: DeleteTeamRequest, +): string { + return JSON.stringify( + DeleteTeamRequest$outboundSchema.parse(deleteTeamRequest), + ); +} + +export function deleteTeamRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteTeamRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteTeamRequest' from JSON`, + ); +} + +/** @internal */ +export const DeleteTeamResponseBody$inboundSchema: z.ZodType< + DeleteTeamResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + newDefaultTeamIdError: z.boolean().optional(), +}); + +/** @internal */ +export type DeleteTeamResponseBody$Outbound = { + id: string; + newDefaultTeamIdError?: boolean | undefined; +}; + +/** @internal */ +export const DeleteTeamResponseBody$outboundSchema: z.ZodType< + DeleteTeamResponseBody$Outbound, + z.ZodTypeDef, + DeleteTeamResponseBody +> = z.object({ + id: z.string(), + newDefaultTeamIdError: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteTeamResponseBody$ { + /** @deprecated use `DeleteTeamResponseBody$inboundSchema` instead. */ + export const inboundSchema = DeleteTeamResponseBody$inboundSchema; + /** @deprecated use `DeleteTeamResponseBody$outboundSchema` instead. */ + export const outboundSchema = DeleteTeamResponseBody$outboundSchema; + /** @deprecated use `DeleteTeamResponseBody$Outbound` instead. */ + export type Outbound = DeleteTeamResponseBody$Outbound; +} + +export function deleteTeamResponseBodyToJSON( + deleteTeamResponseBody: DeleteTeamResponseBody, +): string { + return JSON.stringify( + DeleteTeamResponseBody$outboundSchema.parse(deleteTeamResponseBody), + ); +} + +export function deleteTeamResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteTeamResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteTeamResponseBody' from JSON`, + ); +} diff --git a/src/models/deletewebhookop.ts b/src/models/deletewebhookop.ts new file mode 100644 index 00000000..a8591c8a --- /dev/null +++ b/src/models/deletewebhookop.ts @@ -0,0 +1,80 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteWebhookRequest = { + id: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteWebhookRequest$inboundSchema: z.ZodType< + DeleteWebhookRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type DeleteWebhookRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteWebhookRequest$outboundSchema: z.ZodType< + DeleteWebhookRequest$Outbound, + z.ZodTypeDef, + DeleteWebhookRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeleteWebhookRequest$ { + /** @deprecated use `DeleteWebhookRequest$inboundSchema` instead. */ + export const inboundSchema = DeleteWebhookRequest$inboundSchema; + /** @deprecated use `DeleteWebhookRequest$outboundSchema` instead. */ + export const outboundSchema = DeleteWebhookRequest$outboundSchema; + /** @deprecated use `DeleteWebhookRequest$Outbound` instead. */ + export type Outbound = DeleteWebhookRequest$Outbound; +} + +export function deleteWebhookRequestToJSON( + deleteWebhookRequest: DeleteWebhookRequest, +): string { + return JSON.stringify( + DeleteWebhookRequest$outboundSchema.parse(deleteWebhookRequest), + ); +} + +export function deleteWebhookRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteWebhookRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteWebhookRequest' from JSON`, + ); +} diff --git a/src/models/downloadartifactop.ts b/src/models/downloadartifactop.ts new file mode 100644 index 00000000..562fdb7a --- /dev/null +++ b/src/models/downloadartifactop.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DownloadArtifactRequest = { + /** + * The continuous integration or delivery environment where this artifact is downloaded. + */ + xArtifactClientCi?: string | undefined; + /** + * 1 if the client is an interactive shell. Otherwise 0 + */ + xArtifactClientInteractive?: number | undefined; + /** + * The artifact hash + */ + hash: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const DownloadArtifactRequest$inboundSchema: z.ZodType< + DownloadArtifactRequest, + z.ZodTypeDef, + unknown +> = z.object({ + "x-artifact-client-ci": z.string().optional(), + "x-artifact-client-interactive": z.number().int().optional(), + hash: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}).transform((v) => { + return remap$(v, { + "x-artifact-client-ci": "xArtifactClientCi", + "x-artifact-client-interactive": "xArtifactClientInteractive", + }); +}); + +/** @internal */ +export type DownloadArtifactRequest$Outbound = { + "x-artifact-client-ci"?: string | undefined; + "x-artifact-client-interactive"?: number | undefined; + hash: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const DownloadArtifactRequest$outboundSchema: z.ZodType< + DownloadArtifactRequest$Outbound, + z.ZodTypeDef, + DownloadArtifactRequest +> = z.object({ + xArtifactClientCi: z.string().optional(), + xArtifactClientInteractive: z.number().int().optional(), + hash: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}).transform((v) => { + return remap$(v, { + xArtifactClientCi: "x-artifact-client-ci", + xArtifactClientInteractive: "x-artifact-client-interactive", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DownloadArtifactRequest$ { + /** @deprecated use `DownloadArtifactRequest$inboundSchema` instead. */ + export const inboundSchema = DownloadArtifactRequest$inboundSchema; + /** @deprecated use `DownloadArtifactRequest$outboundSchema` instead. */ + export const outboundSchema = DownloadArtifactRequest$outboundSchema; + /** @deprecated use `DownloadArtifactRequest$Outbound` instead. */ + export type Outbound = DownloadArtifactRequest$Outbound; +} + +export function downloadArtifactRequestToJSON( + downloadArtifactRequest: DownloadArtifactRequest, +): string { + return JSON.stringify( + DownloadArtifactRequest$outboundSchema.parse(downloadArtifactRequest), + ); +} + +export function downloadArtifactRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DownloadArtifactRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DownloadArtifactRequest' from JSON`, + ); +} diff --git a/src/models/components/edgeconfigitem.ts b/src/models/edgeconfigitem.ts similarity index 92% rename from src/models/components/edgeconfigitem.ts rename to src/models/edgeconfigitem.ts index afdb8bc6..173f8b45 100644 --- a/src/models/components/edgeconfigitem.ts +++ b/src/models/edgeconfigitem.ts @@ -3,15 +3,15 @@ */ import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; import { EdgeConfigItemValue, EdgeConfigItemValue$inboundSchema, EdgeConfigItemValue$Outbound, EdgeConfigItemValue$outboundSchema, } from "./edgeconfigitemvalue.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; /** * The EdgeConfig. diff --git a/src/models/components/edgeconfigitemvalue.ts b/src/models/edgeconfigitemvalue.ts similarity index 92% rename from src/models/components/edgeconfigitemvalue.ts rename to src/models/edgeconfigitemvalue.ts index c0d396ac..c29efac0 100644 --- a/src/models/components/edgeconfigitemvalue.ts +++ b/src/models/edgeconfigitemvalue.ts @@ -3,9 +3,9 @@ */ import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; export type EdgeConfigItemValue = string | number | boolean | { [k: string]: EdgeConfigItemValue; diff --git a/src/models/components/edgeconfigtoken.ts b/src/models/edgeconfigtoken.ts similarity index 91% rename from src/models/components/edgeconfigtoken.ts rename to src/models/edgeconfigtoken.ts index 419dfd88..ebde166d 100644 --- a/src/models/components/edgeconfigtoken.ts +++ b/src/models/edgeconfigtoken.ts @@ -3,9 +3,9 @@ */ import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; /** * The EdgeConfig. diff --git a/src/models/editprojectenvop.ts b/src/models/editprojectenvop.ts new file mode 100644 index 00000000..254745a3 --- /dev/null +++ b/src/models/editprojectenvop.ts @@ -0,0 +1,2460 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export const EditProjectEnvTarget = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type EditProjectEnvTarget = ClosedEnum; + +/** + * The type of environment variable + */ +export const EditProjectEnvType = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +/** + * The type of environment variable + */ +export type EditProjectEnvType = ClosedEnum; + +export type EditProjectEnvRequestBody = { + /** + * The name of the environment variable + */ + key?: string | undefined; + /** + * The target environment of the environment variable + */ + target?: Array | undefined; + /** + * If defined, the git branch of the environment variable (must have target=preview) + */ + gitBranch?: string | null | undefined; + /** + * The type of environment variable + */ + type?: EditProjectEnvType | undefined; + /** + * The value of the environment variable + */ + value?: string | undefined; + customEnvironmentIds?: Array | undefined; + /** + * A comment to add context on what this env var is for + */ + comment?: string | undefined; +}; + +export type EditProjectEnvRequest = { + /** + * The unique project identifier or the project name + */ + idOrName: string; + /** + * The unique environment variable identifier + */ + id: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: EditProjectEnvRequestBody; +}; + +export type EditProjectEnvResponseBody2 = {}; + +export const EditProjectEnvTarget2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type EditProjectEnvTarget2 = ClosedEnum; + +export type EditProjectEnvResponseBodyTarget = + | Array + | EditProjectEnvTarget2; + +export const EditProjectEnvResponseBodyType = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +export type EditProjectEnvResponseBodyType = ClosedEnum< + typeof EditProjectEnvResponseBodyType +>; + +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type = + { + FlagsConnectionString: "flags-connection-string", + } as const; +export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type = + ClosedEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type + >; + +export type EditProjectEnvContentHint15 = { + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type; + projectId: string; +}; + +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type = + { + IntegrationStoreSecret: "integration-store-secret", + } as const; +export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type = + ClosedEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type + >; + +export type EditProjectEnvContentHint14 = { + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type = + { + PostgresUrlNoSsl: "postgres-url-no-ssl", + } as const; +export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type = + ClosedEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type + >; + +export type EditProjectEnvContentHint13 = { + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type; + storeId: string; +}; + +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type = + { + PostgresDatabase: "postgres-database", + } as const; +export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type = + ClosedEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type + >; + +export type EditProjectEnvContentHint12 = { + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type; + storeId: string; +}; + +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type = + { + PostgresPassword: "postgres-password", + } as const; +export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type = + ClosedEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type + >; + +export type EditProjectEnvContentHint11 = { + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type; + storeId: string; +}; + +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type = + { + PostgresHost: "postgres-host", + } as const; +export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type = + ClosedEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type + >; + +export type EditProjectEnvContentHint10 = { + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type; + storeId: string; +}; + +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type = + { + PostgresUser: "postgres-user", + } as const; +export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type = + ClosedEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type + >; + +export type EditProjectEnvContentHint9 = { + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type; + storeId: string; +}; + +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type = + { + PostgresPrismaUrl: "postgres-prisma-url", + } as const; +export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type = + ClosedEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type + >; + +export type EditProjectEnvContentHint8 = { + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type; + storeId: string; +}; + +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type = + { + PostgresUrlNonPooling: "postgres-url-non-pooling", + } as const; +export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type = + ClosedEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type + >; + +export type EditProjectEnvContentHint7 = { + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type; + storeId: string; +}; + +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType = + { + PostgresUrl: "postgres-url", + } as const; +export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType + >; + +export type EditProjectEnvContentHint6 = { + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType; + storeId: string; +}; + +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONType = { + BlobReadWriteToken: "blob-read-write-token", +} as const; +export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONType = + ClosedEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONType + >; + +export type EditProjectEnvContentHint5 = { + type: EditProjectEnvContentHintProjectsResponse200ApplicationJSONType; + storeId: string; +}; + +export const EditProjectEnvContentHintProjectsResponse200Type = { + RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", +} as const; +export type EditProjectEnvContentHintProjectsResponse200Type = ClosedEnum< + typeof EditProjectEnvContentHintProjectsResponse200Type +>; + +export type EditProjectEnvContentHint4 = { + type: EditProjectEnvContentHintProjectsResponse200Type; + storeId: string; +}; + +export const EditProjectEnvContentHintProjectsResponseType = { + RedisRestApiToken: "redis-rest-api-token", +} as const; +export type EditProjectEnvContentHintProjectsResponseType = ClosedEnum< + typeof EditProjectEnvContentHintProjectsResponseType +>; + +export type EditProjectEnvContentHint3 = { + type: EditProjectEnvContentHintProjectsResponseType; + storeId: string; +}; + +export const EditProjectEnvContentHintProjectsType = { + RedisRestApiUrl: "redis-rest-api-url", +} as const; +export type EditProjectEnvContentHintProjectsType = ClosedEnum< + typeof EditProjectEnvContentHintProjectsType +>; + +export type EditProjectEnvContentHint2 = { + type: EditProjectEnvContentHintProjectsType; + storeId: string; +}; + +export const EditProjectEnvContentHintType = { + RedisUrl: "redis-url", +} as const; +export type EditProjectEnvContentHintType = ClosedEnum< + typeof EditProjectEnvContentHintType +>; + +export type EditProjectEnvContentHint1 = { + type: EditProjectEnvContentHintType; + storeId: string; +}; + +export type EditProjectEnvResponseBodyContentHint = + | EditProjectEnvContentHint1 + | EditProjectEnvContentHint2 + | EditProjectEnvContentHint3 + | EditProjectEnvContentHint4 + | EditProjectEnvContentHint5 + | EditProjectEnvContentHint6 + | EditProjectEnvContentHint7 + | EditProjectEnvContentHint8 + | EditProjectEnvContentHint9 + | EditProjectEnvContentHint10 + | EditProjectEnvContentHint11 + | EditProjectEnvContentHint12 + | EditProjectEnvContentHint13 + | EditProjectEnvContentHint15 + | EditProjectEnvContentHint14; + +export const EditProjectEnvResponseBodyProjectsType = { + FlagsSecret: "flags-secret", +} as const; +export type EditProjectEnvResponseBodyProjectsType = ClosedEnum< + typeof EditProjectEnvResponseBodyProjectsType +>; + +/** + * Similar to `contentHints`, but should not be exposed to the user. + */ +export type EditProjectEnvResponseBodyInternalContentHint = { + type: EditProjectEnvResponseBodyProjectsType; + /** + * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. + */ + encryptedValue: string; +}; + +export type EditProjectEnvResponseBody1 = { + target?: Array | EditProjectEnvTarget2 | undefined; + type: EditProjectEnvResponseBodyType; + /** + * This is used to identiy variables that have been migrated from type secret to sensitive. + */ + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | EditProjectEnvContentHint1 + | EditProjectEnvContentHint2 + | EditProjectEnvContentHint3 + | EditProjectEnvContentHint4 + | EditProjectEnvContentHint5 + | EditProjectEnvContentHint6 + | EditProjectEnvContentHint7 + | EditProjectEnvContentHint8 + | EditProjectEnvContentHint9 + | EditProjectEnvContentHint10 + | EditProjectEnvContentHint11 + | EditProjectEnvContentHint12 + | EditProjectEnvContentHint13 + | EditProjectEnvContentHint15 + | EditProjectEnvContentHint14 + | null + | undefined; + /** + * Similar to `contentHints`, but should not be exposed to the user. + */ + internalContentHint?: + | EditProjectEnvResponseBodyInternalContentHint + | null + | undefined; + /** + * Whether `value` and `vsmValue` are decrypted. + */ + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; +}; + +/** + * The environment variable was successfully edited + */ +export type EditProjectEnvResponseBody = + | EditProjectEnvResponseBody2 + | EditProjectEnvResponseBody1; + +/** @internal */ +export const EditProjectEnvTarget$inboundSchema: z.ZodNativeEnum< + typeof EditProjectEnvTarget +> = z.nativeEnum(EditProjectEnvTarget); + +/** @internal */ +export const EditProjectEnvTarget$outboundSchema: z.ZodNativeEnum< + typeof EditProjectEnvTarget +> = EditProjectEnvTarget$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvTarget$ { + /** @deprecated use `EditProjectEnvTarget$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvTarget$inboundSchema; + /** @deprecated use `EditProjectEnvTarget$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvTarget$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvType$inboundSchema: z.ZodNativeEnum< + typeof EditProjectEnvType +> = z.nativeEnum(EditProjectEnvType); + +/** @internal */ +export const EditProjectEnvType$outboundSchema: z.ZodNativeEnum< + typeof EditProjectEnvType +> = EditProjectEnvType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvType$ { + /** @deprecated use `EditProjectEnvType$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvType$inboundSchema; + /** @deprecated use `EditProjectEnvType$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvType$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvRequestBody$inboundSchema: z.ZodType< + EditProjectEnvRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + key: z.string().optional(), + target: z.array(EditProjectEnvTarget$inboundSchema).optional(), + gitBranch: z.nullable(z.string()).optional(), + type: EditProjectEnvType$inboundSchema.optional(), + value: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + comment: z.string().optional(), +}); + +/** @internal */ +export type EditProjectEnvRequestBody$Outbound = { + key?: string | undefined; + target?: Array | undefined; + gitBranch?: string | null | undefined; + type?: string | undefined; + value?: string | undefined; + customEnvironmentIds?: Array | undefined; + comment?: string | undefined; +}; + +/** @internal */ +export const EditProjectEnvRequestBody$outboundSchema: z.ZodType< + EditProjectEnvRequestBody$Outbound, + z.ZodTypeDef, + EditProjectEnvRequestBody +> = z.object({ + key: z.string().optional(), + target: z.array(EditProjectEnvTarget$outboundSchema).optional(), + gitBranch: z.nullable(z.string()).optional(), + type: EditProjectEnvType$outboundSchema.optional(), + value: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + comment: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvRequestBody$ { + /** @deprecated use `EditProjectEnvRequestBody$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvRequestBody$inboundSchema; + /** @deprecated use `EditProjectEnvRequestBody$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvRequestBody$outboundSchema; + /** @deprecated use `EditProjectEnvRequestBody$Outbound` instead. */ + export type Outbound = EditProjectEnvRequestBody$Outbound; +} + +export function editProjectEnvRequestBodyToJSON( + editProjectEnvRequestBody: EditProjectEnvRequestBody, +): string { + return JSON.stringify( + EditProjectEnvRequestBody$outboundSchema.parse(editProjectEnvRequestBody), + ); +} + +export function editProjectEnvRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvRequestBody' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvRequest$inboundSchema: z.ZodType< + EditProjectEnvRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => EditProjectEnvRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type EditProjectEnvRequest$Outbound = { + idOrName: string; + id: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: EditProjectEnvRequestBody$Outbound; +}; + +/** @internal */ +export const EditProjectEnvRequest$outboundSchema: z.ZodType< + EditProjectEnvRequest$Outbound, + z.ZodTypeDef, + EditProjectEnvRequest +> = z.object({ + idOrName: z.string(), + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => EditProjectEnvRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvRequest$ { + /** @deprecated use `EditProjectEnvRequest$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvRequest$inboundSchema; + /** @deprecated use `EditProjectEnvRequest$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvRequest$outboundSchema; + /** @deprecated use `EditProjectEnvRequest$Outbound` instead. */ + export type Outbound = EditProjectEnvRequest$Outbound; +} + +export function editProjectEnvRequestToJSON( + editProjectEnvRequest: EditProjectEnvRequest, +): string { + return JSON.stringify( + EditProjectEnvRequest$outboundSchema.parse(editProjectEnvRequest), + ); +} + +export function editProjectEnvRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvRequest' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvResponseBody2$inboundSchema: z.ZodType< + EditProjectEnvResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type EditProjectEnvResponseBody2$Outbound = {}; + +/** @internal */ +export const EditProjectEnvResponseBody2$outboundSchema: z.ZodType< + EditProjectEnvResponseBody2$Outbound, + z.ZodTypeDef, + EditProjectEnvResponseBody2 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvResponseBody2$ { + /** @deprecated use `EditProjectEnvResponseBody2$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvResponseBody2$inboundSchema; + /** @deprecated use `EditProjectEnvResponseBody2$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvResponseBody2$outboundSchema; + /** @deprecated use `EditProjectEnvResponseBody2$Outbound` instead. */ + export type Outbound = EditProjectEnvResponseBody2$Outbound; +} + +export function editProjectEnvResponseBody2ToJSON( + editProjectEnvResponseBody2: EditProjectEnvResponseBody2, +): string { + return JSON.stringify( + EditProjectEnvResponseBody2$outboundSchema.parse( + editProjectEnvResponseBody2, + ), + ); +} + +export function editProjectEnvResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvTarget2$inboundSchema: z.ZodNativeEnum< + typeof EditProjectEnvTarget2 +> = z.nativeEnum(EditProjectEnvTarget2); + +/** @internal */ +export const EditProjectEnvTarget2$outboundSchema: z.ZodNativeEnum< + typeof EditProjectEnvTarget2 +> = EditProjectEnvTarget2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvTarget2$ { + /** @deprecated use `EditProjectEnvTarget2$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvTarget2$inboundSchema; + /** @deprecated use `EditProjectEnvTarget2$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvTarget2$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvResponseBodyTarget$inboundSchema: z.ZodType< + EditProjectEnvResponseBodyTarget, + z.ZodTypeDef, + unknown +> = z.union([z.array(z.string()), EditProjectEnvTarget2$inboundSchema]); + +/** @internal */ +export type EditProjectEnvResponseBodyTarget$Outbound = Array | string; + +/** @internal */ +export const EditProjectEnvResponseBodyTarget$outboundSchema: z.ZodType< + EditProjectEnvResponseBodyTarget$Outbound, + z.ZodTypeDef, + EditProjectEnvResponseBodyTarget +> = z.union([z.array(z.string()), EditProjectEnvTarget2$outboundSchema]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvResponseBodyTarget$ { + /** @deprecated use `EditProjectEnvResponseBodyTarget$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvResponseBodyTarget$inboundSchema; + /** @deprecated use `EditProjectEnvResponseBodyTarget$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvResponseBodyTarget$outboundSchema; + /** @deprecated use `EditProjectEnvResponseBodyTarget$Outbound` instead. */ + export type Outbound = EditProjectEnvResponseBodyTarget$Outbound; +} + +export function editProjectEnvResponseBodyTargetToJSON( + editProjectEnvResponseBodyTarget: EditProjectEnvResponseBodyTarget, +): string { + return JSON.stringify( + EditProjectEnvResponseBodyTarget$outboundSchema.parse( + editProjectEnvResponseBodyTarget, + ), + ); +} + +export function editProjectEnvResponseBodyTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvResponseBodyTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvResponseBodyTarget' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvResponseBodyType$inboundSchema: z.ZodNativeEnum< + typeof EditProjectEnvResponseBodyType +> = z.nativeEnum(EditProjectEnvResponseBodyType); + +/** @internal */ +export const EditProjectEnvResponseBodyType$outboundSchema: z.ZodNativeEnum< + typeof EditProjectEnvResponseBodyType +> = EditProjectEnvResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvResponseBodyType$ { + /** @deprecated use `EditProjectEnvResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvResponseBodyType$inboundSchema; + /** @deprecated use `EditProjectEnvResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvResponseBodyType$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type + > = z.nativeEnum( + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type, + ); + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type + > = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$ { + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema; + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvContentHint15$inboundSchema: z.ZodType< + EditProjectEnvContentHint15, + z.ZodTypeDef, + unknown +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema, + projectId: z.string(), +}); + +/** @internal */ +export type EditProjectEnvContentHint15$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const EditProjectEnvContentHint15$outboundSchema: z.ZodType< + EditProjectEnvContentHint15$Outbound, + z.ZodTypeDef, + EditProjectEnvContentHint15 +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHint15$ { + /** @deprecated use `EditProjectEnvContentHint15$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvContentHint15$inboundSchema; + /** @deprecated use `EditProjectEnvContentHint15$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvContentHint15$outboundSchema; + /** @deprecated use `EditProjectEnvContentHint15$Outbound` instead. */ + export type Outbound = EditProjectEnvContentHint15$Outbound; +} + +export function editProjectEnvContentHint15ToJSON( + editProjectEnvContentHint15: EditProjectEnvContentHint15, +): string { + return JSON.stringify( + EditProjectEnvContentHint15$outboundSchema.parse( + editProjectEnvContentHint15, + ), + ); +} + +export function editProjectEnvContentHint15FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvContentHint15$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvContentHint15' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type + > = z.nativeEnum( + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type, + ); + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type + > = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$ { + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema; + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvContentHint14$inboundSchema: z.ZodType< + EditProjectEnvContentHint14, + z.ZodTypeDef, + unknown +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** @internal */ +export type EditProjectEnvContentHint14$Outbound = { + type: string; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const EditProjectEnvContentHint14$outboundSchema: z.ZodType< + EditProjectEnvContentHint14$Outbound, + z.ZodTypeDef, + EditProjectEnvContentHint14 +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHint14$ { + /** @deprecated use `EditProjectEnvContentHint14$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvContentHint14$inboundSchema; + /** @deprecated use `EditProjectEnvContentHint14$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvContentHint14$outboundSchema; + /** @deprecated use `EditProjectEnvContentHint14$Outbound` instead. */ + export type Outbound = EditProjectEnvContentHint14$Outbound; +} + +export function editProjectEnvContentHint14ToJSON( + editProjectEnvContentHint14: EditProjectEnvContentHint14, +): string { + return JSON.stringify( + EditProjectEnvContentHint14$outboundSchema.parse( + editProjectEnvContentHint14, + ), + ); +} + +export function editProjectEnvContentHint14FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvContentHint14$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvContentHint14' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type + > = z.nativeEnum( + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type, + ); + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type + > = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$ { + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema; + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvContentHint13$inboundSchema: z.ZodType< + EditProjectEnvContentHint13, + z.ZodTypeDef, + unknown +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type EditProjectEnvContentHint13$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const EditProjectEnvContentHint13$outboundSchema: z.ZodType< + EditProjectEnvContentHint13$Outbound, + z.ZodTypeDef, + EditProjectEnvContentHint13 +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHint13$ { + /** @deprecated use `EditProjectEnvContentHint13$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvContentHint13$inboundSchema; + /** @deprecated use `EditProjectEnvContentHint13$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvContentHint13$outboundSchema; + /** @deprecated use `EditProjectEnvContentHint13$Outbound` instead. */ + export type Outbound = EditProjectEnvContentHint13$Outbound; +} + +export function editProjectEnvContentHint13ToJSON( + editProjectEnvContentHint13: EditProjectEnvContentHint13, +): string { + return JSON.stringify( + EditProjectEnvContentHint13$outboundSchema.parse( + editProjectEnvContentHint13, + ), + ); +} + +export function editProjectEnvContentHint13FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvContentHint13$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvContentHint13' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type + > = z.nativeEnum( + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type, + ); + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type + > = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$ { + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema; + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvContentHint12$inboundSchema: z.ZodType< + EditProjectEnvContentHint12, + z.ZodTypeDef, + unknown +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type EditProjectEnvContentHint12$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const EditProjectEnvContentHint12$outboundSchema: z.ZodType< + EditProjectEnvContentHint12$Outbound, + z.ZodTypeDef, + EditProjectEnvContentHint12 +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHint12$ { + /** @deprecated use `EditProjectEnvContentHint12$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvContentHint12$inboundSchema; + /** @deprecated use `EditProjectEnvContentHint12$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvContentHint12$outboundSchema; + /** @deprecated use `EditProjectEnvContentHint12$Outbound` instead. */ + export type Outbound = EditProjectEnvContentHint12$Outbound; +} + +export function editProjectEnvContentHint12ToJSON( + editProjectEnvContentHint12: EditProjectEnvContentHint12, +): string { + return JSON.stringify( + EditProjectEnvContentHint12$outboundSchema.parse( + editProjectEnvContentHint12, + ), + ); +} + +export function editProjectEnvContentHint12FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvContentHint12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvContentHint12' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type + > = z.nativeEnum( + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type, + ); + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type + > = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$ { + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema; + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvContentHint11$inboundSchema: z.ZodType< + EditProjectEnvContentHint11, + z.ZodTypeDef, + unknown +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type EditProjectEnvContentHint11$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const EditProjectEnvContentHint11$outboundSchema: z.ZodType< + EditProjectEnvContentHint11$Outbound, + z.ZodTypeDef, + EditProjectEnvContentHint11 +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHint11$ { + /** @deprecated use `EditProjectEnvContentHint11$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvContentHint11$inboundSchema; + /** @deprecated use `EditProjectEnvContentHint11$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvContentHint11$outboundSchema; + /** @deprecated use `EditProjectEnvContentHint11$Outbound` instead. */ + export type Outbound = EditProjectEnvContentHint11$Outbound; +} + +export function editProjectEnvContentHint11ToJSON( + editProjectEnvContentHint11: EditProjectEnvContentHint11, +): string { + return JSON.stringify( + EditProjectEnvContentHint11$outboundSchema.parse( + editProjectEnvContentHint11, + ), + ); +} + +export function editProjectEnvContentHint11FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvContentHint11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvContentHint11' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type + > = z.nativeEnum( + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type, + ); + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type + > = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$ { + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema; + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvContentHint10$inboundSchema: z.ZodType< + EditProjectEnvContentHint10, + z.ZodTypeDef, + unknown +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type EditProjectEnvContentHint10$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const EditProjectEnvContentHint10$outboundSchema: z.ZodType< + EditProjectEnvContentHint10$Outbound, + z.ZodTypeDef, + EditProjectEnvContentHint10 +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHint10$ { + /** @deprecated use `EditProjectEnvContentHint10$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvContentHint10$inboundSchema; + /** @deprecated use `EditProjectEnvContentHint10$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvContentHint10$outboundSchema; + /** @deprecated use `EditProjectEnvContentHint10$Outbound` instead. */ + export type Outbound = EditProjectEnvContentHint10$Outbound; +} + +export function editProjectEnvContentHint10ToJSON( + editProjectEnvContentHint10: EditProjectEnvContentHint10, +): string { + return JSON.stringify( + EditProjectEnvContentHint10$outboundSchema.parse( + editProjectEnvContentHint10, + ), + ); +} + +export function editProjectEnvContentHint10FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvContentHint10$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvContentHint10' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type + > = z.nativeEnum( + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type, + ); + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type + > = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$ { + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema; + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvContentHint9$inboundSchema: z.ZodType< + EditProjectEnvContentHint9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type EditProjectEnvContentHint9$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const EditProjectEnvContentHint9$outboundSchema: z.ZodType< + EditProjectEnvContentHint9$Outbound, + z.ZodTypeDef, + EditProjectEnvContentHint9 +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHint9$ { + /** @deprecated use `EditProjectEnvContentHint9$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvContentHint9$inboundSchema; + /** @deprecated use `EditProjectEnvContentHint9$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvContentHint9$outboundSchema; + /** @deprecated use `EditProjectEnvContentHint9$Outbound` instead. */ + export type Outbound = EditProjectEnvContentHint9$Outbound; +} + +export function editProjectEnvContentHint9ToJSON( + editProjectEnvContentHint9: EditProjectEnvContentHint9, +): string { + return JSON.stringify( + EditProjectEnvContentHint9$outboundSchema.parse(editProjectEnvContentHint9), + ); +} + +export function editProjectEnvContentHint9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvContentHint9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvContentHint9' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type + > = z.nativeEnum( + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type, + ); + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type + > = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$ { + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema; + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvContentHint8$inboundSchema: z.ZodType< + EditProjectEnvContentHint8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type EditProjectEnvContentHint8$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const EditProjectEnvContentHint8$outboundSchema: z.ZodType< + EditProjectEnvContentHint8$Outbound, + z.ZodTypeDef, + EditProjectEnvContentHint8 +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHint8$ { + /** @deprecated use `EditProjectEnvContentHint8$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvContentHint8$inboundSchema; + /** @deprecated use `EditProjectEnvContentHint8$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvContentHint8$outboundSchema; + /** @deprecated use `EditProjectEnvContentHint8$Outbound` instead. */ + export type Outbound = EditProjectEnvContentHint8$Outbound; +} + +export function editProjectEnvContentHint8ToJSON( + editProjectEnvContentHint8: EditProjectEnvContentHint8, +): string { + return JSON.stringify( + EditProjectEnvContentHint8$outboundSchema.parse(editProjectEnvContentHint8), + ); +} + +export function editProjectEnvContentHint8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvContentHint8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvContentHint8' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type + > = z.nativeEnum( + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type, + ); + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type + > = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$ { + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema; + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvContentHint7$inboundSchema: z.ZodType< + EditProjectEnvContentHint7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type EditProjectEnvContentHint7$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const EditProjectEnvContentHint7$outboundSchema: z.ZodType< + EditProjectEnvContentHint7$Outbound, + z.ZodTypeDef, + EditProjectEnvContentHint7 +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHint7$ { + /** @deprecated use `EditProjectEnvContentHint7$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvContentHint7$inboundSchema; + /** @deprecated use `EditProjectEnvContentHint7$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvContentHint7$outboundSchema; + /** @deprecated use `EditProjectEnvContentHint7$Outbound` instead. */ + export type Outbound = EditProjectEnvContentHint7$Outbound; +} + +export function editProjectEnvContentHint7ToJSON( + editProjectEnvContentHint7: EditProjectEnvContentHint7, +): string { + return JSON.stringify( + EditProjectEnvContentHint7$outboundSchema.parse(editProjectEnvContentHint7), + ); +} + +export function editProjectEnvContentHint7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvContentHint7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvContentHint7' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType, + ); + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType + > = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$ { + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvContentHint6$inboundSchema: z.ZodType< + EditProjectEnvContentHint6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type EditProjectEnvContentHint6$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const EditProjectEnvContentHint6$outboundSchema: z.ZodType< + EditProjectEnvContentHint6$Outbound, + z.ZodTypeDef, + EditProjectEnvContentHint6 +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHint6$ { + /** @deprecated use `EditProjectEnvContentHint6$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvContentHint6$inboundSchema; + /** @deprecated use `EditProjectEnvContentHint6$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvContentHint6$outboundSchema; + /** @deprecated use `EditProjectEnvContentHint6$Outbound` instead. */ + export type Outbound = EditProjectEnvContentHint6$Outbound; +} + +export function editProjectEnvContentHint6ToJSON( + editProjectEnvContentHint6: EditProjectEnvContentHint6, +): string { + return JSON.stringify( + EditProjectEnvContentHint6$outboundSchema.parse(editProjectEnvContentHint6), + ); +} + +export function editProjectEnvContentHint6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvContentHint6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvContentHint6' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONType + > = z.nativeEnum( + EditProjectEnvContentHintProjectsResponse200ApplicationJSONType, + ); + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONType + > = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$ { + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvContentHint5$inboundSchema: z.ZodType< + EditProjectEnvContentHint5, + z.ZodTypeDef, + unknown +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type EditProjectEnvContentHint5$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const EditProjectEnvContentHint5$outboundSchema: z.ZodType< + EditProjectEnvContentHint5$Outbound, + z.ZodTypeDef, + EditProjectEnvContentHint5 +> = z.object({ + type: + EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHint5$ { + /** @deprecated use `EditProjectEnvContentHint5$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvContentHint5$inboundSchema; + /** @deprecated use `EditProjectEnvContentHint5$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvContentHint5$outboundSchema; + /** @deprecated use `EditProjectEnvContentHint5$Outbound` instead. */ + export type Outbound = EditProjectEnvContentHint5$Outbound; +} + +export function editProjectEnvContentHint5ToJSON( + editProjectEnvContentHint5: EditProjectEnvContentHint5, +): string { + return JSON.stringify( + EditProjectEnvContentHint5$outboundSchema.parse(editProjectEnvContentHint5), + ); +} + +export function editProjectEnvContentHint5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvContentHint5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvContentHint5' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200Type$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(EditProjectEnvContentHintProjectsResponse200Type); + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponse200Type$outboundSchema: + z.ZodNativeEnum = + EditProjectEnvContentHintProjectsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHintProjectsResponse200Type$ { + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvContentHintProjectsResponse200Type$inboundSchema; + /** @deprecated use `EditProjectEnvContentHintProjectsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvContentHintProjectsResponse200Type$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvContentHint4$inboundSchema: z.ZodType< + EditProjectEnvContentHint4, + z.ZodTypeDef, + unknown +> = z.object({ + type: EditProjectEnvContentHintProjectsResponse200Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type EditProjectEnvContentHint4$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const EditProjectEnvContentHint4$outboundSchema: z.ZodType< + EditProjectEnvContentHint4$Outbound, + z.ZodTypeDef, + EditProjectEnvContentHint4 +> = z.object({ + type: EditProjectEnvContentHintProjectsResponse200Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHint4$ { + /** @deprecated use `EditProjectEnvContentHint4$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvContentHint4$inboundSchema; + /** @deprecated use `EditProjectEnvContentHint4$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvContentHint4$outboundSchema; + /** @deprecated use `EditProjectEnvContentHint4$Outbound` instead. */ + export type Outbound = EditProjectEnvContentHint4$Outbound; +} + +export function editProjectEnvContentHint4ToJSON( + editProjectEnvContentHint4: EditProjectEnvContentHint4, +): string { + return JSON.stringify( + EditProjectEnvContentHint4$outboundSchema.parse(editProjectEnvContentHint4), + ); +} + +export function editProjectEnvContentHint4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvContentHint4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvContentHint4' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(EditProjectEnvContentHintProjectsResponseType); + +/** @internal */ +export const EditProjectEnvContentHintProjectsResponseType$outboundSchema: + z.ZodNativeEnum = + EditProjectEnvContentHintProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHintProjectsResponseType$ { + /** @deprecated use `EditProjectEnvContentHintProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvContentHintProjectsResponseType$inboundSchema; + /** @deprecated use `EditProjectEnvContentHintProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvContentHintProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvContentHint3$inboundSchema: z.ZodType< + EditProjectEnvContentHint3, + z.ZodTypeDef, + unknown +> = z.object({ + type: EditProjectEnvContentHintProjectsResponseType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type EditProjectEnvContentHint3$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const EditProjectEnvContentHint3$outboundSchema: z.ZodType< + EditProjectEnvContentHint3$Outbound, + z.ZodTypeDef, + EditProjectEnvContentHint3 +> = z.object({ + type: EditProjectEnvContentHintProjectsResponseType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHint3$ { + /** @deprecated use `EditProjectEnvContentHint3$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvContentHint3$inboundSchema; + /** @deprecated use `EditProjectEnvContentHint3$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvContentHint3$outboundSchema; + /** @deprecated use `EditProjectEnvContentHint3$Outbound` instead. */ + export type Outbound = EditProjectEnvContentHint3$Outbound; +} + +export function editProjectEnvContentHint3ToJSON( + editProjectEnvContentHint3: EditProjectEnvContentHint3, +): string { + return JSON.stringify( + EditProjectEnvContentHint3$outboundSchema.parse(editProjectEnvContentHint3), + ); +} + +export function editProjectEnvContentHint3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvContentHint3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvContentHint3' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvContentHintProjectsType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + EditProjectEnvContentHintProjectsType, + ); + +/** @internal */ +export const EditProjectEnvContentHintProjectsType$outboundSchema: + z.ZodNativeEnum = + EditProjectEnvContentHintProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHintProjectsType$ { + /** @deprecated use `EditProjectEnvContentHintProjectsType$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvContentHintProjectsType$inboundSchema; + /** @deprecated use `EditProjectEnvContentHintProjectsType$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvContentHintProjectsType$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvContentHint2$inboundSchema: z.ZodType< + EditProjectEnvContentHint2, + z.ZodTypeDef, + unknown +> = z.object({ + type: EditProjectEnvContentHintProjectsType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type EditProjectEnvContentHint2$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const EditProjectEnvContentHint2$outboundSchema: z.ZodType< + EditProjectEnvContentHint2$Outbound, + z.ZodTypeDef, + EditProjectEnvContentHint2 +> = z.object({ + type: EditProjectEnvContentHintProjectsType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHint2$ { + /** @deprecated use `EditProjectEnvContentHint2$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvContentHint2$inboundSchema; + /** @deprecated use `EditProjectEnvContentHint2$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvContentHint2$outboundSchema; + /** @deprecated use `EditProjectEnvContentHint2$Outbound` instead. */ + export type Outbound = EditProjectEnvContentHint2$Outbound; +} + +export function editProjectEnvContentHint2ToJSON( + editProjectEnvContentHint2: EditProjectEnvContentHint2, +): string { + return JSON.stringify( + EditProjectEnvContentHint2$outboundSchema.parse(editProjectEnvContentHint2), + ); +} + +export function editProjectEnvContentHint2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvContentHint2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvContentHint2' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvContentHintType$inboundSchema: z.ZodNativeEnum< + typeof EditProjectEnvContentHintType +> = z.nativeEnum(EditProjectEnvContentHintType); + +/** @internal */ +export const EditProjectEnvContentHintType$outboundSchema: z.ZodNativeEnum< + typeof EditProjectEnvContentHintType +> = EditProjectEnvContentHintType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHintType$ { + /** @deprecated use `EditProjectEnvContentHintType$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvContentHintType$inboundSchema; + /** @deprecated use `EditProjectEnvContentHintType$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvContentHintType$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvContentHint1$inboundSchema: z.ZodType< + EditProjectEnvContentHint1, + z.ZodTypeDef, + unknown +> = z.object({ + type: EditProjectEnvContentHintType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type EditProjectEnvContentHint1$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const EditProjectEnvContentHint1$outboundSchema: z.ZodType< + EditProjectEnvContentHint1$Outbound, + z.ZodTypeDef, + EditProjectEnvContentHint1 +> = z.object({ + type: EditProjectEnvContentHintType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvContentHint1$ { + /** @deprecated use `EditProjectEnvContentHint1$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvContentHint1$inboundSchema; + /** @deprecated use `EditProjectEnvContentHint1$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvContentHint1$outboundSchema; + /** @deprecated use `EditProjectEnvContentHint1$Outbound` instead. */ + export type Outbound = EditProjectEnvContentHint1$Outbound; +} + +export function editProjectEnvContentHint1ToJSON( + editProjectEnvContentHint1: EditProjectEnvContentHint1, +): string { + return JSON.stringify( + EditProjectEnvContentHint1$outboundSchema.parse(editProjectEnvContentHint1), + ); +} + +export function editProjectEnvContentHint1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvContentHint1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvContentHint1' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvResponseBodyContentHint$inboundSchema: z.ZodType< + EditProjectEnvResponseBodyContentHint, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => EditProjectEnvContentHint1$inboundSchema), + z.lazy(() => EditProjectEnvContentHint2$inboundSchema), + z.lazy(() => EditProjectEnvContentHint3$inboundSchema), + z.lazy(() => EditProjectEnvContentHint4$inboundSchema), + z.lazy(() => EditProjectEnvContentHint5$inboundSchema), + z.lazy(() => EditProjectEnvContentHint6$inboundSchema), + z.lazy(() => EditProjectEnvContentHint7$inboundSchema), + z.lazy(() => EditProjectEnvContentHint8$inboundSchema), + z.lazy(() => EditProjectEnvContentHint9$inboundSchema), + z.lazy(() => EditProjectEnvContentHint10$inboundSchema), + z.lazy(() => EditProjectEnvContentHint11$inboundSchema), + z.lazy(() => EditProjectEnvContentHint12$inboundSchema), + z.lazy(() => EditProjectEnvContentHint13$inboundSchema), + z.lazy(() => EditProjectEnvContentHint15$inboundSchema), + z.lazy(() => EditProjectEnvContentHint14$inboundSchema), +]); + +/** @internal */ +export type EditProjectEnvResponseBodyContentHint$Outbound = + | EditProjectEnvContentHint1$Outbound + | EditProjectEnvContentHint2$Outbound + | EditProjectEnvContentHint3$Outbound + | EditProjectEnvContentHint4$Outbound + | EditProjectEnvContentHint5$Outbound + | EditProjectEnvContentHint6$Outbound + | EditProjectEnvContentHint7$Outbound + | EditProjectEnvContentHint8$Outbound + | EditProjectEnvContentHint9$Outbound + | EditProjectEnvContentHint10$Outbound + | EditProjectEnvContentHint11$Outbound + | EditProjectEnvContentHint12$Outbound + | EditProjectEnvContentHint13$Outbound + | EditProjectEnvContentHint15$Outbound + | EditProjectEnvContentHint14$Outbound; + +/** @internal */ +export const EditProjectEnvResponseBodyContentHint$outboundSchema: z.ZodType< + EditProjectEnvResponseBodyContentHint$Outbound, + z.ZodTypeDef, + EditProjectEnvResponseBodyContentHint +> = z.union([ + z.lazy(() => EditProjectEnvContentHint1$outboundSchema), + z.lazy(() => EditProjectEnvContentHint2$outboundSchema), + z.lazy(() => EditProjectEnvContentHint3$outboundSchema), + z.lazy(() => EditProjectEnvContentHint4$outboundSchema), + z.lazy(() => EditProjectEnvContentHint5$outboundSchema), + z.lazy(() => EditProjectEnvContentHint6$outboundSchema), + z.lazy(() => EditProjectEnvContentHint7$outboundSchema), + z.lazy(() => EditProjectEnvContentHint8$outboundSchema), + z.lazy(() => EditProjectEnvContentHint9$outboundSchema), + z.lazy(() => EditProjectEnvContentHint10$outboundSchema), + z.lazy(() => EditProjectEnvContentHint11$outboundSchema), + z.lazy(() => EditProjectEnvContentHint12$outboundSchema), + z.lazy(() => EditProjectEnvContentHint13$outboundSchema), + z.lazy(() => EditProjectEnvContentHint15$outboundSchema), + z.lazy(() => EditProjectEnvContentHint14$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvResponseBodyContentHint$ { + /** @deprecated use `EditProjectEnvResponseBodyContentHint$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvResponseBodyContentHint$inboundSchema; + /** @deprecated use `EditProjectEnvResponseBodyContentHint$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvResponseBodyContentHint$outboundSchema; + /** @deprecated use `EditProjectEnvResponseBodyContentHint$Outbound` instead. */ + export type Outbound = EditProjectEnvResponseBodyContentHint$Outbound; +} + +export function editProjectEnvResponseBodyContentHintToJSON( + editProjectEnvResponseBodyContentHint: EditProjectEnvResponseBodyContentHint, +): string { + return JSON.stringify( + EditProjectEnvResponseBodyContentHint$outboundSchema.parse( + editProjectEnvResponseBodyContentHint, + ), + ); +} + +export function editProjectEnvResponseBodyContentHintFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + EditProjectEnvResponseBodyContentHint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvResponseBodyContentHint' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvResponseBodyProjectsType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + EditProjectEnvResponseBodyProjectsType, + ); + +/** @internal */ +export const EditProjectEnvResponseBodyProjectsType$outboundSchema: + z.ZodNativeEnum = + EditProjectEnvResponseBodyProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvResponseBodyProjectsType$ { + /** @deprecated use `EditProjectEnvResponseBodyProjectsType$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvResponseBodyProjectsType$inboundSchema; + /** @deprecated use `EditProjectEnvResponseBodyProjectsType$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvResponseBodyProjectsType$outboundSchema; +} + +/** @internal */ +export const EditProjectEnvResponseBodyInternalContentHint$inboundSchema: + z.ZodType< + EditProjectEnvResponseBodyInternalContentHint, + z.ZodTypeDef, + unknown + > = z.object({ + type: EditProjectEnvResponseBodyProjectsType$inboundSchema, + encryptedValue: z.string(), + }); + +/** @internal */ +export type EditProjectEnvResponseBodyInternalContentHint$Outbound = { + type: string; + encryptedValue: string; +}; + +/** @internal */ +export const EditProjectEnvResponseBodyInternalContentHint$outboundSchema: + z.ZodType< + EditProjectEnvResponseBodyInternalContentHint$Outbound, + z.ZodTypeDef, + EditProjectEnvResponseBodyInternalContentHint + > = z.object({ + type: EditProjectEnvResponseBodyProjectsType$outboundSchema, + encryptedValue: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvResponseBodyInternalContentHint$ { + /** @deprecated use `EditProjectEnvResponseBodyInternalContentHint$inboundSchema` instead. */ + export const inboundSchema = + EditProjectEnvResponseBodyInternalContentHint$inboundSchema; + /** @deprecated use `EditProjectEnvResponseBodyInternalContentHint$outboundSchema` instead. */ + export const outboundSchema = + EditProjectEnvResponseBodyInternalContentHint$outboundSchema; + /** @deprecated use `EditProjectEnvResponseBodyInternalContentHint$Outbound` instead. */ + export type Outbound = EditProjectEnvResponseBodyInternalContentHint$Outbound; +} + +export function editProjectEnvResponseBodyInternalContentHintToJSON( + editProjectEnvResponseBodyInternalContentHint: + EditProjectEnvResponseBodyInternalContentHint, +): string { + return JSON.stringify( + EditProjectEnvResponseBodyInternalContentHint$outboundSchema.parse( + editProjectEnvResponseBodyInternalContentHint, + ), + ); +} + +export function editProjectEnvResponseBodyInternalContentHintFromJSON( + jsonString: string, +): SafeParseResult< + EditProjectEnvResponseBodyInternalContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + EditProjectEnvResponseBodyInternalContentHint$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'EditProjectEnvResponseBodyInternalContentHint' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvResponseBody1$inboundSchema: z.ZodType< + EditProjectEnvResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + target: z.union([z.array(z.string()), EditProjectEnvTarget2$inboundSchema]) + .optional(), + type: EditProjectEnvResponseBodyType$inboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => EditProjectEnvContentHint1$inboundSchema), + z.lazy(() => EditProjectEnvContentHint2$inboundSchema), + z.lazy(() => EditProjectEnvContentHint3$inboundSchema), + z.lazy(() => EditProjectEnvContentHint4$inboundSchema), + z.lazy(() => EditProjectEnvContentHint5$inboundSchema), + z.lazy(() => EditProjectEnvContentHint6$inboundSchema), + z.lazy(() => EditProjectEnvContentHint7$inboundSchema), + z.lazy(() => EditProjectEnvContentHint8$inboundSchema), + z.lazy(() => EditProjectEnvContentHint9$inboundSchema), + z.lazy(() => EditProjectEnvContentHint10$inboundSchema), + z.lazy(() => EditProjectEnvContentHint11$inboundSchema), + z.lazy(() => EditProjectEnvContentHint12$inboundSchema), + z.lazy(() => EditProjectEnvContentHint13$inboundSchema), + z.lazy(() => EditProjectEnvContentHint15$inboundSchema), + z.lazy(() => EditProjectEnvContentHint14$inboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => EditProjectEnvResponseBodyInternalContentHint$inboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), +}); + +/** @internal */ +export type EditProjectEnvResponseBody1$Outbound = { + target?: Array | string | undefined; + type: string; + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | EditProjectEnvContentHint1$Outbound + | EditProjectEnvContentHint2$Outbound + | EditProjectEnvContentHint3$Outbound + | EditProjectEnvContentHint4$Outbound + | EditProjectEnvContentHint5$Outbound + | EditProjectEnvContentHint6$Outbound + | EditProjectEnvContentHint7$Outbound + | EditProjectEnvContentHint8$Outbound + | EditProjectEnvContentHint9$Outbound + | EditProjectEnvContentHint10$Outbound + | EditProjectEnvContentHint11$Outbound + | EditProjectEnvContentHint12$Outbound + | EditProjectEnvContentHint13$Outbound + | EditProjectEnvContentHint15$Outbound + | EditProjectEnvContentHint14$Outbound + | null + | undefined; + internalContentHint?: + | EditProjectEnvResponseBodyInternalContentHint$Outbound + | null + | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; +}; + +/** @internal */ +export const EditProjectEnvResponseBody1$outboundSchema: z.ZodType< + EditProjectEnvResponseBody1$Outbound, + z.ZodTypeDef, + EditProjectEnvResponseBody1 +> = z.object({ + target: z.union([z.array(z.string()), EditProjectEnvTarget2$outboundSchema]) + .optional(), + type: EditProjectEnvResponseBodyType$outboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => EditProjectEnvContentHint1$outboundSchema), + z.lazy(() => EditProjectEnvContentHint2$outboundSchema), + z.lazy(() => EditProjectEnvContentHint3$outboundSchema), + z.lazy(() => EditProjectEnvContentHint4$outboundSchema), + z.lazy(() => EditProjectEnvContentHint5$outboundSchema), + z.lazy(() => EditProjectEnvContentHint6$outboundSchema), + z.lazy(() => EditProjectEnvContentHint7$outboundSchema), + z.lazy(() => EditProjectEnvContentHint8$outboundSchema), + z.lazy(() => EditProjectEnvContentHint9$outboundSchema), + z.lazy(() => EditProjectEnvContentHint10$outboundSchema), + z.lazy(() => EditProjectEnvContentHint11$outboundSchema), + z.lazy(() => EditProjectEnvContentHint12$outboundSchema), + z.lazy(() => EditProjectEnvContentHint13$outboundSchema), + z.lazy(() => EditProjectEnvContentHint15$outboundSchema), + z.lazy(() => EditProjectEnvContentHint14$outboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => EditProjectEnvResponseBodyInternalContentHint$outboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvResponseBody1$ { + /** @deprecated use `EditProjectEnvResponseBody1$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvResponseBody1$inboundSchema; + /** @deprecated use `EditProjectEnvResponseBody1$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvResponseBody1$outboundSchema; + /** @deprecated use `EditProjectEnvResponseBody1$Outbound` instead. */ + export type Outbound = EditProjectEnvResponseBody1$Outbound; +} + +export function editProjectEnvResponseBody1ToJSON( + editProjectEnvResponseBody1: EditProjectEnvResponseBody1, +): string { + return JSON.stringify( + EditProjectEnvResponseBody1$outboundSchema.parse( + editProjectEnvResponseBody1, + ), + ); +} + +export function editProjectEnvResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const EditProjectEnvResponseBody$inboundSchema: z.ZodType< + EditProjectEnvResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => EditProjectEnvResponseBody2$inboundSchema), + z.lazy(() => EditProjectEnvResponseBody1$inboundSchema), +]); + +/** @internal */ +export type EditProjectEnvResponseBody$Outbound = + | EditProjectEnvResponseBody2$Outbound + | EditProjectEnvResponseBody1$Outbound; + +/** @internal */ +export const EditProjectEnvResponseBody$outboundSchema: z.ZodType< + EditProjectEnvResponseBody$Outbound, + z.ZodTypeDef, + EditProjectEnvResponseBody +> = z.union([ + z.lazy(() => EditProjectEnvResponseBody2$outboundSchema), + z.lazy(() => EditProjectEnvResponseBody1$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EditProjectEnvResponseBody$ { + /** @deprecated use `EditProjectEnvResponseBody$inboundSchema` instead. */ + export const inboundSchema = EditProjectEnvResponseBody$inboundSchema; + /** @deprecated use `EditProjectEnvResponseBody$outboundSchema` instead. */ + export const outboundSchema = EditProjectEnvResponseBody$outboundSchema; + /** @deprecated use `EditProjectEnvResponseBody$Outbound` instead. */ + export type Outbound = EditProjectEnvResponseBody$Outbound; +} + +export function editProjectEnvResponseBodyToJSON( + editProjectEnvResponseBody: EditProjectEnvResponseBody, +): string { + return JSON.stringify( + EditProjectEnvResponseBody$outboundSchema.parse(editProjectEnvResponseBody), + ); +} + +export function editProjectEnvResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EditProjectEnvResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EditProjectEnvResponseBody' from JSON`, + ); +} diff --git a/src/models/exchangessotokenop.ts b/src/models/exchangessotokenop.ts new file mode 100644 index 00000000..77e321e4 --- /dev/null +++ b/src/models/exchangessotokenop.ts @@ -0,0 +1,192 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type ExchangeSsoTokenRequestBody = { + /** + * The sensitive code received from Vercel + */ + code: string; + /** + * The state received from the initialization request + */ + state?: string | undefined; + /** + * The integration client id + */ + clientId: string; + /** + * The integration client secret + */ + clientSecret: string; + /** + * The integration redirect URI + */ + redirectUri?: string | undefined; +}; + +export type ExchangeSsoTokenResponseBody = { + idToken: string; + accessToken?: any | null | undefined; + tokenType?: any | null | undefined; +}; + +/** @internal */ +export const ExchangeSsoTokenRequestBody$inboundSchema: z.ZodType< + ExchangeSsoTokenRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + state: z.string().optional(), + client_id: z.string(), + client_secret: z.string(), + redirect_uri: z.string().optional(), +}).transform((v) => { + return remap$(v, { + "client_id": "clientId", + "client_secret": "clientSecret", + "redirect_uri": "redirectUri", + }); +}); + +/** @internal */ +export type ExchangeSsoTokenRequestBody$Outbound = { + code: string; + state?: string | undefined; + client_id: string; + client_secret: string; + redirect_uri?: string | undefined; +}; + +/** @internal */ +export const ExchangeSsoTokenRequestBody$outboundSchema: z.ZodType< + ExchangeSsoTokenRequestBody$Outbound, + z.ZodTypeDef, + ExchangeSsoTokenRequestBody +> = z.object({ + code: z.string(), + state: z.string().optional(), + clientId: z.string(), + clientSecret: z.string(), + redirectUri: z.string().optional(), +}).transform((v) => { + return remap$(v, { + clientId: "client_id", + clientSecret: "client_secret", + redirectUri: "redirect_uri", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ExchangeSsoTokenRequestBody$ { + /** @deprecated use `ExchangeSsoTokenRequestBody$inboundSchema` instead. */ + export const inboundSchema = ExchangeSsoTokenRequestBody$inboundSchema; + /** @deprecated use `ExchangeSsoTokenRequestBody$outboundSchema` instead. */ + export const outboundSchema = ExchangeSsoTokenRequestBody$outboundSchema; + /** @deprecated use `ExchangeSsoTokenRequestBody$Outbound` instead. */ + export type Outbound = ExchangeSsoTokenRequestBody$Outbound; +} + +export function exchangeSsoTokenRequestBodyToJSON( + exchangeSsoTokenRequestBody: ExchangeSsoTokenRequestBody, +): string { + return JSON.stringify( + ExchangeSsoTokenRequestBody$outboundSchema.parse( + exchangeSsoTokenRequestBody, + ), + ); +} + +export function exchangeSsoTokenRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExchangeSsoTokenRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExchangeSsoTokenRequestBody' from JSON`, + ); +} + +/** @internal */ +export const ExchangeSsoTokenResponseBody$inboundSchema: z.ZodType< + ExchangeSsoTokenResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id_token: z.string(), + access_token: z.nullable(z.any()).optional(), + token_type: z.nullable(z.any()).optional(), +}).transform((v) => { + return remap$(v, { + "id_token": "idToken", + "access_token": "accessToken", + "token_type": "tokenType", + }); +}); + +/** @internal */ +export type ExchangeSsoTokenResponseBody$Outbound = { + id_token: string; + access_token?: any | null | undefined; + token_type?: any | null | undefined; +}; + +/** @internal */ +export const ExchangeSsoTokenResponseBody$outboundSchema: z.ZodType< + ExchangeSsoTokenResponseBody$Outbound, + z.ZodTypeDef, + ExchangeSsoTokenResponseBody +> = z.object({ + idToken: z.string(), + accessToken: z.nullable(z.any()).optional(), + tokenType: z.nullable(z.any()).optional(), +}).transform((v) => { + return remap$(v, { + idToken: "id_token", + accessToken: "access_token", + tokenType: "token_type", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ExchangeSsoTokenResponseBody$ { + /** @deprecated use `ExchangeSsoTokenResponseBody$inboundSchema` instead. */ + export const inboundSchema = ExchangeSsoTokenResponseBody$inboundSchema; + /** @deprecated use `ExchangeSsoTokenResponseBody$outboundSchema` instead. */ + export const outboundSchema = ExchangeSsoTokenResponseBody$outboundSchema; + /** @deprecated use `ExchangeSsoTokenResponseBody$Outbound` instead. */ + export type Outbound = ExchangeSsoTokenResponseBody$Outbound; +} + +export function exchangeSsoTokenResponseBodyToJSON( + exchangeSsoTokenResponseBody: ExchangeSsoTokenResponseBody, +): string { + return JSON.stringify( + ExchangeSsoTokenResponseBody$outboundSchema.parse( + exchangeSsoTokenResponseBody, + ), + ); +} + +export function exchangeSsoTokenResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExchangeSsoTokenResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExchangeSsoTokenResponseBody' from JSON`, + ); +} diff --git a/src/models/components/filetree.ts b/src/models/filetree.ts similarity index 94% rename from src/models/components/filetree.ts rename to src/models/filetree.ts index e7cb23a0..1a9564aa 100644 --- a/src/models/components/filetree.ts +++ b/src/models/filetree.ts @@ -3,10 +3,10 @@ */ import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; /** * String indicating the type of file tree entry. diff --git a/src/models/filterprojectenvsop.ts b/src/models/filterprojectenvsop.ts new file mode 100644 index 00000000..065942d5 --- /dev/null +++ b/src/models/filterprojectenvsop.ts @@ -0,0 +1,7149 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + Pagination, + Pagination$inboundSchema, + Pagination$Outbound, + Pagination$outboundSchema, +} from "./pagination.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * If true, the environment variable value will be decrypted + * + * @deprecated enum: This will be removed in a future release, please migrate away from it as soon as possible. + */ +export const Decrypt = { + True: "true", + False: "false", +} as const; +/** + * If true, the environment variable value will be decrypted + * + * @deprecated enum: This will be removed in a future release, please migrate away from it as soon as possible. + */ +export type Decrypt = ClosedEnum; + +export type FilterProjectEnvsRequest = { + /** + * The unique project identifier or the project name + */ + idOrName: string; + /** + * If defined, the git branch of the environment variable to filter the results (must have target=preview) + */ + gitBranch?: string | undefined; + /** + * If true, the environment variable value will be decrypted + */ + decrypt?: Decrypt | undefined; + /** + * The source that is calling the endpoint. + */ + source?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export const FilterProjectEnvsTargetProjectsResponse2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type FilterProjectEnvsTargetProjectsResponse2 = ClosedEnum< + typeof FilterProjectEnvsTargetProjectsResponse2 +>; + +export const FilterProjectEnvsTargetProjects1 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type FilterProjectEnvsTargetProjects1 = ClosedEnum< + typeof FilterProjectEnvsTargetProjects1 +>; + +export type FilterProjectEnvsResponseBodyProjectsResponseTarget = + | Array + | FilterProjectEnvsTargetProjectsResponse2; + +export const FilterProjectEnvsResponseBodyProjectsResponse200Type = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +export type FilterProjectEnvsResponseBodyProjectsResponse200Type = ClosedEnum< + typeof FilterProjectEnvsResponseBodyProjectsResponse200Type +>; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type = + { + FlagsConnectionString: "flags-connection-string", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type + >; + +export type FilterProjectEnvsContentHintProjectsResponse15 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type; + projectId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type = + { + IntegrationStoreSecret: "integration-store-secret", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type + >; + +export type FilterProjectEnvsContentHintProjectsResponse14 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type = + { + PostgresUrlNoSsl: "postgres-url-no-ssl", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type + >; + +export type FilterProjectEnvsContentHintProjectsResponse13 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type = + { + PostgresDatabase: "postgres-database", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type + >; + +export type FilterProjectEnvsContentHintProjectsResponse12 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type = + { + PostgresPassword: "postgres-password", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type + >; + +export type FilterProjectEnvsContentHintProjectsResponse11 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type = + { + PostgresHost: "postgres-host", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type + >; + +export type FilterProjectEnvsContentHintProjectsResponse10 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type = + { + PostgresUser: "postgres-user", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type + >; + +export type FilterProjectEnvsContentHintProjectsResponse9 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type = + { + PostgresPrismaUrl: "postgres-prisma-url", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type + >; + +export type FilterProjectEnvsContentHintProjectsResponse8 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type = + { + PostgresUrlNonPooling: "postgres-url-non-pooling", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type + >; + +export type FilterProjectEnvsContentHintProjectsResponse7 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type = + { + PostgresUrl: "postgres-url", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type + >; + +export type FilterProjectEnvsContentHintProjectsResponse6 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type = + { + BlobReadWriteToken: "blob-read-write-token", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type + >; + +export type FilterProjectEnvsContentHintProjectsResponse5 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type = + { + RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type + >; + +export type FilterProjectEnvsContentHintProjectsResponse4 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type = + { + RedisRestApiToken: "redis-rest-api-token", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type + >; + +export type FilterProjectEnvsContentHintProjectsResponse3 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType = + { + RedisRestApiUrl: "redis-rest-api-url", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType + >; + +export type FilterProjectEnvsContentHintProjectsResponse2 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type = + { + RedisUrl: "redis-url", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type + >; + +export type FilterProjectEnvsContentHintProjectsResponse1 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type; + storeId: string; +}; + +export type FilterProjectEnvsResponseBodyProjectsContentHint = + | FilterProjectEnvsContentHintProjectsResponse1 + | FilterProjectEnvsContentHintProjectsResponse2 + | FilterProjectEnvsContentHintProjectsResponse3 + | FilterProjectEnvsContentHintProjectsResponse4 + | FilterProjectEnvsContentHintProjectsResponse5 + | FilterProjectEnvsContentHintProjectsResponse6 + | FilterProjectEnvsContentHintProjectsResponse7 + | FilterProjectEnvsContentHintProjectsResponse8 + | FilterProjectEnvsContentHintProjectsResponse9 + | FilterProjectEnvsContentHintProjectsResponse10 + | FilterProjectEnvsContentHintProjectsResponse11 + | FilterProjectEnvsContentHintProjectsResponse12 + | FilterProjectEnvsContentHintProjectsResponse13 + | FilterProjectEnvsContentHintProjectsResponse15 + | FilterProjectEnvsContentHintProjectsResponse14; + +export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type = + { + FlagsSecret: "flags-secret", + } as const; +export type FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type = + ClosedEnum< + typeof FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type + >; + +/** + * Similar to `contentHints`, but should not be exposed to the user. + */ +export type FilterProjectEnvsResponseBodyProjectsInternalContentHint = { + type: FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type; + /** + * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. + */ + encryptedValue: string; +}; + +export type ResponseBodyEnvs = { + target?: + | Array + | FilterProjectEnvsTargetProjectsResponse2 + | undefined; + type?: FilterProjectEnvsResponseBodyProjectsResponse200Type | undefined; + /** + * This is used to identiy variables that have been migrated from type secret to sensitive. + */ + sunsetSecretId?: string | undefined; + id?: string | undefined; + key?: string | undefined; + value?: string | undefined; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | FilterProjectEnvsContentHintProjectsResponse1 + | FilterProjectEnvsContentHintProjectsResponse2 + | FilterProjectEnvsContentHintProjectsResponse3 + | FilterProjectEnvsContentHintProjectsResponse4 + | FilterProjectEnvsContentHintProjectsResponse5 + | FilterProjectEnvsContentHintProjectsResponse6 + | FilterProjectEnvsContentHintProjectsResponse7 + | FilterProjectEnvsContentHintProjectsResponse8 + | FilterProjectEnvsContentHintProjectsResponse9 + | FilterProjectEnvsContentHintProjectsResponse10 + | FilterProjectEnvsContentHintProjectsResponse11 + | FilterProjectEnvsContentHintProjectsResponse12 + | FilterProjectEnvsContentHintProjectsResponse13 + | FilterProjectEnvsContentHintProjectsResponse15 + | FilterProjectEnvsContentHintProjectsResponse14 + | null + | undefined; + /** + * Similar to `contentHints`, but should not be exposed to the user. + */ + internalContentHint?: + | FilterProjectEnvsResponseBodyProjectsInternalContentHint + | null + | undefined; + /** + * Whether `value` and `vsmValue` are decrypted. + */ + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; + system?: boolean | undefined; +}; + +/** + * The list of environment variables for the given project + */ +export type FilterProjectEnvsResponseBody3 = { + envs: Array; +}; + +export const FilterProjectEnvsTargetProjects2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type FilterProjectEnvsTargetProjects2 = ClosedEnum< + typeof FilterProjectEnvsTargetProjects2 +>; + +export const FilterProjectEnvsTarget1 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type FilterProjectEnvsTarget1 = ClosedEnum< + typeof FilterProjectEnvsTarget1 +>; + +export type FilterProjectEnvsResponseBodyProjectsTarget = + | Array + | FilterProjectEnvsTargetProjects2; + +export const FilterProjectEnvsResponseBodyProjectsResponseType = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +export type FilterProjectEnvsResponseBodyProjectsResponseType = ClosedEnum< + typeof FilterProjectEnvsResponseBodyProjectsResponseType +>; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type = + { + FlagsConnectionString: "flags-connection-string", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type + >; + +export type FilterProjectEnvsContentHintProjects15 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type; + projectId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type = + { + IntegrationStoreSecret: "integration-store-secret", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type + >; + +export type FilterProjectEnvsContentHintProjects14 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type = + { + PostgresUrlNoSsl: "postgres-url-no-ssl", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type + >; + +export type FilterProjectEnvsContentHintProjects13 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type = + { + PostgresDatabase: "postgres-database", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type + >; + +export type FilterProjectEnvsContentHintProjects12 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type = + { + PostgresPassword: "postgres-password", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type + >; + +export type FilterProjectEnvsContentHintProjects11 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type = + { + PostgresHost: "postgres-host", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type + >; + +export type FilterProjectEnvsContentHintProjects10 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type = + { + PostgresUser: "postgres-user", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type + >; + +export type FilterProjectEnvsContentHintProjects9 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type = + { + PostgresPrismaUrl: "postgres-prisma-url", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type + >; + +export type FilterProjectEnvsContentHintProjects8 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type = + { + PostgresUrlNonPooling: "postgres-url-non-pooling", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type + >; + +export type FilterProjectEnvsContentHintProjects7 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type = + { + PostgresUrl: "postgres-url", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type + >; + +export type FilterProjectEnvsContentHintProjects6 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type = + { + BlobReadWriteToken: "blob-read-write-token", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type + >; + +export type FilterProjectEnvsContentHintProjects5 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type = + { + RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type + >; + +export type FilterProjectEnvsContentHintProjects4 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type = + { + RedisRestApiToken: "redis-rest-api-token", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type + >; + +export type FilterProjectEnvsContentHintProjects3 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType = + { + RedisRestApiUrl: "redis-rest-api-url", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType + >; + +export type FilterProjectEnvsContentHintProjects2 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type = + { + RedisUrl: "redis-url", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type + >; + +export type FilterProjectEnvsContentHintProjects1 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type; + storeId: string; +}; + +export type FilterProjectEnvsResponseBodyContentHint = + | FilterProjectEnvsContentHintProjects1 + | FilterProjectEnvsContentHintProjects2 + | FilterProjectEnvsContentHintProjects3 + | FilterProjectEnvsContentHintProjects4 + | FilterProjectEnvsContentHintProjects5 + | FilterProjectEnvsContentHintProjects6 + | FilterProjectEnvsContentHintProjects7 + | FilterProjectEnvsContentHintProjects8 + | FilterProjectEnvsContentHintProjects9 + | FilterProjectEnvsContentHintProjects10 + | FilterProjectEnvsContentHintProjects11 + | FilterProjectEnvsContentHintProjects12 + | FilterProjectEnvsContentHintProjects13 + | FilterProjectEnvsContentHintProjects15 + | FilterProjectEnvsContentHintProjects14; + +export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType = + { + FlagsSecret: "flags-secret", + } as const; +export type FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType = + ClosedEnum< + typeof FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType + >; + +/** + * Similar to `contentHints`, but should not be exposed to the user. + */ +export type FilterProjectEnvsResponseBodyInternalContentHint = { + type: FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType; + /** + * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. + */ + encryptedValue: string; +}; + +export type Envs = { + target?: + | Array + | FilterProjectEnvsTargetProjects2 + | undefined; + type?: FilterProjectEnvsResponseBodyProjectsResponseType | undefined; + /** + * This is used to identiy variables that have been migrated from type secret to sensitive. + */ + sunsetSecretId?: string | undefined; + id?: string | undefined; + key?: string | undefined; + value?: string | undefined; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | FilterProjectEnvsContentHintProjects1 + | FilterProjectEnvsContentHintProjects2 + | FilterProjectEnvsContentHintProjects3 + | FilterProjectEnvsContentHintProjects4 + | FilterProjectEnvsContentHintProjects5 + | FilterProjectEnvsContentHintProjects6 + | FilterProjectEnvsContentHintProjects7 + | FilterProjectEnvsContentHintProjects8 + | FilterProjectEnvsContentHintProjects9 + | FilterProjectEnvsContentHintProjects10 + | FilterProjectEnvsContentHintProjects11 + | FilterProjectEnvsContentHintProjects12 + | FilterProjectEnvsContentHintProjects13 + | FilterProjectEnvsContentHintProjects15 + | FilterProjectEnvsContentHintProjects14 + | null + | undefined; + /** + * Similar to `contentHints`, but should not be exposed to the user. + */ + internalContentHint?: + | FilterProjectEnvsResponseBodyInternalContentHint + | null + | undefined; + /** + * Whether `value` and `vsmValue` are decrypted. + */ + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; + system?: boolean | undefined; +}; + +export type FilterProjectEnvsResponseBody2 = { + envs: Array; + /** + * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. + */ + pagination: Pagination; +}; + +export const FilterProjectEnvsTarget2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type FilterProjectEnvsTarget2 = ClosedEnum< + typeof FilterProjectEnvsTarget2 +>; + +export type FilterProjectEnvsResponseBodyTarget = + | Array + | FilterProjectEnvsTarget2; + +export const FilterProjectEnvsResponseBodyType = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +export type FilterProjectEnvsResponseBodyType = ClosedEnum< + typeof FilterProjectEnvsResponseBodyType +>; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type = + { + FlagsConnectionString: "flags-connection-string", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type + >; + +export type FilterProjectEnvsContentHint15 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type; + projectId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type = + { + IntegrationStoreSecret: "integration-store-secret", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type + >; + +export type FilterProjectEnvsContentHint14 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type = + { + PostgresUrlNoSsl: "postgres-url-no-ssl", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type + >; + +export type FilterProjectEnvsContentHint13 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type = + { + PostgresDatabase: "postgres-database", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type + >; + +export type FilterProjectEnvsContentHint12 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type = + { + PostgresPassword: "postgres-password", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type + >; + +export type FilterProjectEnvsContentHint11 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type = + { + PostgresHost: "postgres-host", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type + >; + +export type FilterProjectEnvsContentHint10 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type = + { + PostgresUser: "postgres-user", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type + >; + +export type FilterProjectEnvsContentHint9 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type = + { + PostgresPrismaUrl: "postgres-prisma-url", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type + >; + +export type FilterProjectEnvsContentHint8 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type = + { + PostgresUrlNonPooling: "postgres-url-non-pooling", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type + >; + +export type FilterProjectEnvsContentHint7 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType = + { + PostgresUrl: "postgres-url", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType + >; + +export type FilterProjectEnvsContentHint6 = { + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType = + { + BlobReadWriteToken: "blob-read-write-token", + } as const; +export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType = + ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType + >; + +export type FilterProjectEnvsContentHint5 = { + type: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponse200Type = { + RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", +} as const; +export type FilterProjectEnvsContentHintProjectsResponse200Type = ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200Type +>; + +export type FilterProjectEnvsContentHint4 = { + type: FilterProjectEnvsContentHintProjectsResponse200Type; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsResponseType = { + RedisRestApiToken: "redis-rest-api-token", +} as const; +export type FilterProjectEnvsContentHintProjectsResponseType = ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsResponseType +>; + +export type FilterProjectEnvsContentHint3 = { + type: FilterProjectEnvsContentHintProjectsResponseType; + storeId: string; +}; + +export const FilterProjectEnvsContentHintProjectsType = { + RedisRestApiUrl: "redis-rest-api-url", +} as const; +export type FilterProjectEnvsContentHintProjectsType = ClosedEnum< + typeof FilterProjectEnvsContentHintProjectsType +>; + +export type FilterProjectEnvsContentHint2 = { + type: FilterProjectEnvsContentHintProjectsType; + storeId: string; +}; + +export const FilterProjectEnvsContentHintType = { + RedisUrl: "redis-url", +} as const; +export type FilterProjectEnvsContentHintType = ClosedEnum< + typeof FilterProjectEnvsContentHintType +>; + +export type FilterProjectEnvsContentHint1 = { + type: FilterProjectEnvsContentHintType; + storeId: string; +}; + +export type ResponseBodyContentHint = + | FilterProjectEnvsContentHint1 + | FilterProjectEnvsContentHint2 + | FilterProjectEnvsContentHint3 + | FilterProjectEnvsContentHint4 + | FilterProjectEnvsContentHint5 + | FilterProjectEnvsContentHint6 + | FilterProjectEnvsContentHint7 + | FilterProjectEnvsContentHint8 + | FilterProjectEnvsContentHint9 + | FilterProjectEnvsContentHint10 + | FilterProjectEnvsContentHint11 + | FilterProjectEnvsContentHint12 + | FilterProjectEnvsContentHint13 + | FilterProjectEnvsContentHint15 + | FilterProjectEnvsContentHint14; + +export const FilterProjectEnvsResponseBodyProjectsType = { + FlagsSecret: "flags-secret", +} as const; +export type FilterProjectEnvsResponseBodyProjectsType = ClosedEnum< + typeof FilterProjectEnvsResponseBodyProjectsType +>; + +/** + * Similar to `contentHints`, but should not be exposed to the user. + */ +export type ResponseBodyInternalContentHint = { + type: FilterProjectEnvsResponseBodyProjectsType; + /** + * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. + */ + encryptedValue: string; +}; + +export type FilterProjectEnvsResponseBody1 = { + target?: Array | FilterProjectEnvsTarget2 | undefined; + type?: FilterProjectEnvsResponseBodyType | undefined; + /** + * This is used to identiy variables that have been migrated from type secret to sensitive. + */ + sunsetSecretId?: string | undefined; + id?: string | undefined; + key?: string | undefined; + value?: string | undefined; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | FilterProjectEnvsContentHint1 + | FilterProjectEnvsContentHint2 + | FilterProjectEnvsContentHint3 + | FilterProjectEnvsContentHint4 + | FilterProjectEnvsContentHint5 + | FilterProjectEnvsContentHint6 + | FilterProjectEnvsContentHint7 + | FilterProjectEnvsContentHint8 + | FilterProjectEnvsContentHint9 + | FilterProjectEnvsContentHint10 + | FilterProjectEnvsContentHint11 + | FilterProjectEnvsContentHint12 + | FilterProjectEnvsContentHint13 + | FilterProjectEnvsContentHint15 + | FilterProjectEnvsContentHint14 + | null + | undefined; + /** + * Similar to `contentHints`, but should not be exposed to the user. + */ + internalContentHint?: ResponseBodyInternalContentHint | null | undefined; + /** + * Whether `value` and `vsmValue` are decrypted. + */ + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; + system?: boolean | undefined; +}; + +/** + * The list of environment variables for the given project + */ +export type FilterProjectEnvsResponseBody = + | FilterProjectEnvsResponseBody3 + | FilterProjectEnvsResponseBody2 + | FilterProjectEnvsResponseBody1; + +/** @internal */ +export const Decrypt$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Decrypt); + +/** @internal */ +export const Decrypt$outboundSchema: z.ZodNativeEnum = + Decrypt$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Decrypt$ { + /** @deprecated use `Decrypt$inboundSchema` instead. */ + export const inboundSchema = Decrypt$inboundSchema; + /** @deprecated use `Decrypt$outboundSchema` instead. */ + export const outboundSchema = Decrypt$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsRequest$inboundSchema: z.ZodType< + FilterProjectEnvsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + gitBranch: z.string().optional(), + decrypt: Decrypt$inboundSchema.optional(), + source: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type FilterProjectEnvsRequest$Outbound = { + idOrName: string; + gitBranch?: string | undefined; + decrypt?: string | undefined; + source?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const FilterProjectEnvsRequest$outboundSchema: z.ZodType< + FilterProjectEnvsRequest$Outbound, + z.ZodTypeDef, + FilterProjectEnvsRequest +> = z.object({ + idOrName: z.string(), + gitBranch: z.string().optional(), + decrypt: Decrypt$outboundSchema.optional(), + source: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsRequest$ { + /** @deprecated use `FilterProjectEnvsRequest$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsRequest$inboundSchema; + /** @deprecated use `FilterProjectEnvsRequest$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsRequest$outboundSchema; + /** @deprecated use `FilterProjectEnvsRequest$Outbound` instead. */ + export type Outbound = FilterProjectEnvsRequest$Outbound; +} + +export function filterProjectEnvsRequestToJSON( + filterProjectEnvsRequest: FilterProjectEnvsRequest, +): string { + return JSON.stringify( + FilterProjectEnvsRequest$outboundSchema.parse(filterProjectEnvsRequest), + ); +} + +export function filterProjectEnvsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsRequest' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsTargetProjectsResponse2$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(FilterProjectEnvsTargetProjectsResponse2); + +/** @internal */ +export const FilterProjectEnvsTargetProjectsResponse2$outboundSchema: + z.ZodNativeEnum = + FilterProjectEnvsTargetProjectsResponse2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsTargetProjectsResponse2$ { + /** @deprecated use `FilterProjectEnvsTargetProjectsResponse2$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsTargetProjectsResponse2$inboundSchema; + /** @deprecated use `FilterProjectEnvsTargetProjectsResponse2$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsTargetProjectsResponse2$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsTargetProjects1$inboundSchema: z.ZodNativeEnum< + typeof FilterProjectEnvsTargetProjects1 +> = z.nativeEnum(FilterProjectEnvsTargetProjects1); + +/** @internal */ +export const FilterProjectEnvsTargetProjects1$outboundSchema: z.ZodNativeEnum< + typeof FilterProjectEnvsTargetProjects1 +> = FilterProjectEnvsTargetProjects1$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsTargetProjects1$ { + /** @deprecated use `FilterProjectEnvsTargetProjects1$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsTargetProjects1$inboundSchema; + /** @deprecated use `FilterProjectEnvsTargetProjects1$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsTargetProjects1$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsResponseTarget$inboundSchema: + z.ZodType< + FilterProjectEnvsResponseBodyProjectsResponseTarget, + z.ZodTypeDef, + unknown + > = z.union([ + z.array(FilterProjectEnvsTargetProjects1$inboundSchema), + FilterProjectEnvsTargetProjectsResponse2$inboundSchema, + ]); + +/** @internal */ +export type FilterProjectEnvsResponseBodyProjectsResponseTarget$Outbound = + | Array + | string; + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsResponseTarget$outboundSchema: + z.ZodType< + FilterProjectEnvsResponseBodyProjectsResponseTarget$Outbound, + z.ZodTypeDef, + FilterProjectEnvsResponseBodyProjectsResponseTarget + > = z.union([ + z.array(FilterProjectEnvsTargetProjects1$outboundSchema), + FilterProjectEnvsTargetProjectsResponse2$outboundSchema, + ]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBodyProjectsResponseTarget$ { + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponseTarget$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsResponseBodyProjectsResponseTarget$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponseTarget$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsResponseBodyProjectsResponseTarget$outboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponseTarget$Outbound` instead. */ + export type Outbound = + FilterProjectEnvsResponseBodyProjectsResponseTarget$Outbound; +} + +export function filterProjectEnvsResponseBodyProjectsResponseTargetToJSON( + filterProjectEnvsResponseBodyProjectsResponseTarget: + FilterProjectEnvsResponseBodyProjectsResponseTarget, +): string { + return JSON.stringify( + FilterProjectEnvsResponseBodyProjectsResponseTarget$outboundSchema.parse( + filterProjectEnvsResponseBodyProjectsResponseTarget, + ), + ); +} + +export function filterProjectEnvsResponseBodyProjectsResponseTargetFromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsResponseBodyProjectsResponseTarget, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsResponseBodyProjectsResponseTarget$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsResponseBodyProjectsResponseTarget' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsResponse200Type$inboundSchema: + z.ZodNativeEnum = + z.nativeEnum(FilterProjectEnvsResponseBodyProjectsResponse200Type); + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsResponse200Type$outboundSchema: + z.ZodNativeEnum = + FilterProjectEnvsResponseBodyProjectsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBodyProjectsResponse200Type$ { + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsResponseBodyProjectsResponse200Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsResponseBodyProjectsResponse200Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse15$inboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse15, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$inboundSchema, + projectId: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsContentHintProjectsResponse15$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse15$outboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse15$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjectsResponse15 + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$outboundSchema, + projectId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse15$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse15$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse15$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse15$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse15$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse15$Outbound` instead. */ + export type Outbound = + FilterProjectEnvsContentHintProjectsResponse15$Outbound; +} + +export function filterProjectEnvsContentHintProjectsResponse15ToJSON( + filterProjectEnvsContentHintProjectsResponse15: + FilterProjectEnvsContentHintProjectsResponse15, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjectsResponse15$outboundSchema.parse( + filterProjectEnvsContentHintProjectsResponse15, + ), + ); +} + +export function filterProjectEnvsContentHintProjectsResponse15FromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsContentHintProjectsResponse15, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjectsResponse15$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse15' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse14$inboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse14, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$inboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsContentHintProjectsResponse14$Outbound = { + type: string; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse14$outboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse14$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjectsResponse14 + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$outboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse14$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse14$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse14$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse14$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse14$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse14$Outbound` instead. */ + export type Outbound = + FilterProjectEnvsContentHintProjectsResponse14$Outbound; +} + +export function filterProjectEnvsContentHintProjectsResponse14ToJSON( + filterProjectEnvsContentHintProjectsResponse14: + FilterProjectEnvsContentHintProjectsResponse14, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjectsResponse14$outboundSchema.parse( + filterProjectEnvsContentHintProjectsResponse14, + ), + ); +} + +export function filterProjectEnvsContentHintProjectsResponse14FromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsContentHintProjectsResponse14, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjectsResponse14$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse14' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse13$inboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse13, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsContentHintProjectsResponse13$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse13$outboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse13$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjectsResponse13 + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse13$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse13$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse13$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse13$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse13$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse13$Outbound` instead. */ + export type Outbound = + FilterProjectEnvsContentHintProjectsResponse13$Outbound; +} + +export function filterProjectEnvsContentHintProjectsResponse13ToJSON( + filterProjectEnvsContentHintProjectsResponse13: + FilterProjectEnvsContentHintProjectsResponse13, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjectsResponse13$outboundSchema.parse( + filterProjectEnvsContentHintProjectsResponse13, + ), + ); +} + +export function filterProjectEnvsContentHintProjectsResponse13FromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsContentHintProjectsResponse13, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjectsResponse13$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse13' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse12$inboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse12, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsContentHintProjectsResponse12$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse12$outboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse12$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjectsResponse12 + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse12$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse12$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse12$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse12$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse12$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse12$Outbound` instead. */ + export type Outbound = + FilterProjectEnvsContentHintProjectsResponse12$Outbound; +} + +export function filterProjectEnvsContentHintProjectsResponse12ToJSON( + filterProjectEnvsContentHintProjectsResponse12: + FilterProjectEnvsContentHintProjectsResponse12, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjectsResponse12$outboundSchema.parse( + filterProjectEnvsContentHintProjectsResponse12, + ), + ); +} + +export function filterProjectEnvsContentHintProjectsResponse12FromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsContentHintProjectsResponse12, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjectsResponse12$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse12' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse11$inboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse11, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsContentHintProjectsResponse11$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse11$outboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse11$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjectsResponse11 + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse11$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse11$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse11$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse11$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse11$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse11$Outbound` instead. */ + export type Outbound = + FilterProjectEnvsContentHintProjectsResponse11$Outbound; +} + +export function filterProjectEnvsContentHintProjectsResponse11ToJSON( + filterProjectEnvsContentHintProjectsResponse11: + FilterProjectEnvsContentHintProjectsResponse11, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjectsResponse11$outboundSchema.parse( + filterProjectEnvsContentHintProjectsResponse11, + ), + ); +} + +export function filterProjectEnvsContentHintProjectsResponse11FromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsContentHintProjectsResponse11, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjectsResponse11$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse11' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse10$inboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse10, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsContentHintProjectsResponse10$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse10$outboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse10$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjectsResponse10 + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse10$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse10$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse10$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse10$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse10$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse10$Outbound` instead. */ + export type Outbound = + FilterProjectEnvsContentHintProjectsResponse10$Outbound; +} + +export function filterProjectEnvsContentHintProjectsResponse10ToJSON( + filterProjectEnvsContentHintProjectsResponse10: + FilterProjectEnvsContentHintProjectsResponse10, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjectsResponse10$outboundSchema.parse( + filterProjectEnvsContentHintProjectsResponse10, + ), + ); +} + +export function filterProjectEnvsContentHintProjectsResponse10FromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsContentHintProjectsResponse10, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjectsResponse10$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse10' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse9$inboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse9, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsContentHintProjectsResponse9$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse9$outboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse9$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjectsResponse9 + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse9$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse9$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse9$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse9$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse9$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse9$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjectsResponse9$Outbound; +} + +export function filterProjectEnvsContentHintProjectsResponse9ToJSON( + filterProjectEnvsContentHintProjectsResponse9: + FilterProjectEnvsContentHintProjectsResponse9, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjectsResponse9$outboundSchema.parse( + filterProjectEnvsContentHintProjectsResponse9, + ), + ); +} + +export function filterProjectEnvsContentHintProjectsResponse9FromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsContentHintProjectsResponse9, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjectsResponse9$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse9' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse8$inboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse8, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsContentHintProjectsResponse8$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse8$outboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse8$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjectsResponse8 + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse8$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse8$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse8$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse8$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse8$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse8$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjectsResponse8$Outbound; +} + +export function filterProjectEnvsContentHintProjectsResponse8ToJSON( + filterProjectEnvsContentHintProjectsResponse8: + FilterProjectEnvsContentHintProjectsResponse8, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjectsResponse8$outboundSchema.parse( + filterProjectEnvsContentHintProjectsResponse8, + ), + ); +} + +export function filterProjectEnvsContentHintProjectsResponse8FromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsContentHintProjectsResponse8, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjectsResponse8$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse8' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse7$inboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse7, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsContentHintProjectsResponse7$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse7$outboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse7$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjectsResponse7 + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse7$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse7$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse7$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse7$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse7$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse7$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjectsResponse7$Outbound; +} + +export function filterProjectEnvsContentHintProjectsResponse7ToJSON( + filterProjectEnvsContentHintProjectsResponse7: + FilterProjectEnvsContentHintProjectsResponse7, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjectsResponse7$outboundSchema.parse( + filterProjectEnvsContentHintProjectsResponse7, + ), + ); +} + +export function filterProjectEnvsContentHintProjectsResponse7FromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsContentHintProjectsResponse7, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjectsResponse7$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse7' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse6$inboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse6, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsContentHintProjectsResponse6$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse6$outboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse6$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjectsResponse6 + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse6$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse6$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse6$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse6$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse6$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse6$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjectsResponse6$Outbound; +} + +export function filterProjectEnvsContentHintProjectsResponse6ToJSON( + filterProjectEnvsContentHintProjectsResponse6: + FilterProjectEnvsContentHintProjectsResponse6, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjectsResponse6$outboundSchema.parse( + filterProjectEnvsContentHintProjectsResponse6, + ), + ); +} + +export function filterProjectEnvsContentHintProjectsResponse6FromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsContentHintProjectsResponse6, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjectsResponse6$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse6' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse5$inboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse5, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsContentHintProjectsResponse5$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse5$outboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse5$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjectsResponse5 + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse5$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse5$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse5$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse5$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse5$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse5$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjectsResponse5$Outbound; +} + +export function filterProjectEnvsContentHintProjectsResponse5ToJSON( + filterProjectEnvsContentHintProjectsResponse5: + FilterProjectEnvsContentHintProjectsResponse5, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjectsResponse5$outboundSchema.parse( + filterProjectEnvsContentHintProjectsResponse5, + ), + ); +} + +export function filterProjectEnvsContentHintProjectsResponse5FromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsContentHintProjectsResponse5, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjectsResponse5$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse5' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse4$inboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse4, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsContentHintProjectsResponse4$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse4$outboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse4$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjectsResponse4 + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse4$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse4$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse4$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse4$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse4$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse4$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjectsResponse4$Outbound; +} + +export function filterProjectEnvsContentHintProjectsResponse4ToJSON( + filterProjectEnvsContentHintProjectsResponse4: + FilterProjectEnvsContentHintProjectsResponse4, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjectsResponse4$outboundSchema.parse( + filterProjectEnvsContentHintProjectsResponse4, + ), + ); +} + +export function filterProjectEnvsContentHintProjectsResponse4FromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsContentHintProjectsResponse4, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjectsResponse4$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse4' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse3$inboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse3, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsContentHintProjectsResponse3$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse3$outboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse3$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjectsResponse3 + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse3$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse3$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse3$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse3$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse3$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse3$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjectsResponse3$Outbound; +} + +export function filterProjectEnvsContentHintProjectsResponse3ToJSON( + filterProjectEnvsContentHintProjectsResponse3: + FilterProjectEnvsContentHintProjectsResponse3, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjectsResponse3$outboundSchema.parse( + filterProjectEnvsContentHintProjectsResponse3, + ), + ); +} + +export function filterProjectEnvsContentHintProjectsResponse3FromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsContentHintProjectsResponse3, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjectsResponse3$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse3' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse2$inboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse2, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsContentHintProjectsResponse2$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse2$outboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse2$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjectsResponse2 + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse2$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse2$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse2$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse2$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse2$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse2$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjectsResponse2$Outbound; +} + +export function filterProjectEnvsContentHintProjectsResponse2ToJSON( + filterProjectEnvsContentHintProjectsResponse2: + FilterProjectEnvsContentHintProjectsResponse2, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjectsResponse2$outboundSchema.parse( + filterProjectEnvsContentHintProjectsResponse2, + ), + ); +} + +export function filterProjectEnvsContentHintProjectsResponse2FromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsContentHintProjectsResponse2, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjectsResponse2$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse2' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse1$inboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse1, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsContentHintProjectsResponse1$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse1$outboundSchema: + z.ZodType< + FilterProjectEnvsContentHintProjectsResponse1$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjectsResponse1 + > = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse1$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse1$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse1$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse1$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse1$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse1$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjectsResponse1$Outbound; +} + +export function filterProjectEnvsContentHintProjectsResponse1ToJSON( + filterProjectEnvsContentHintProjectsResponse1: + FilterProjectEnvsContentHintProjectsResponse1, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjectsResponse1$outboundSchema.parse( + filterProjectEnvsContentHintProjectsResponse1, + ), + ); +} + +export function filterProjectEnvsContentHintProjectsResponse1FromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsContentHintProjectsResponse1, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjectsResponse1$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse1' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsContentHint$inboundSchema: + z.ZodType< + FilterProjectEnvsResponseBodyProjectsContentHint, + z.ZodTypeDef, + unknown + > = z.union([ + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse1$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse2$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse3$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse4$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse5$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse6$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse7$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse8$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse9$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse10$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse11$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse12$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse13$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse15$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse14$inboundSchema), + ]); + +/** @internal */ +export type FilterProjectEnvsResponseBodyProjectsContentHint$Outbound = + | FilterProjectEnvsContentHintProjectsResponse1$Outbound + | FilterProjectEnvsContentHintProjectsResponse2$Outbound + | FilterProjectEnvsContentHintProjectsResponse3$Outbound + | FilterProjectEnvsContentHintProjectsResponse4$Outbound + | FilterProjectEnvsContentHintProjectsResponse5$Outbound + | FilterProjectEnvsContentHintProjectsResponse6$Outbound + | FilterProjectEnvsContentHintProjectsResponse7$Outbound + | FilterProjectEnvsContentHintProjectsResponse8$Outbound + | FilterProjectEnvsContentHintProjectsResponse9$Outbound + | FilterProjectEnvsContentHintProjectsResponse10$Outbound + | FilterProjectEnvsContentHintProjectsResponse11$Outbound + | FilterProjectEnvsContentHintProjectsResponse12$Outbound + | FilterProjectEnvsContentHintProjectsResponse13$Outbound + | FilterProjectEnvsContentHintProjectsResponse15$Outbound + | FilterProjectEnvsContentHintProjectsResponse14$Outbound; + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsContentHint$outboundSchema: + z.ZodType< + FilterProjectEnvsResponseBodyProjectsContentHint$Outbound, + z.ZodTypeDef, + FilterProjectEnvsResponseBodyProjectsContentHint + > = z.union([ + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse1$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse2$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse3$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse4$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse5$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse6$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse7$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse8$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse9$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse10$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse11$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse12$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse13$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse15$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse14$outboundSchema), + ]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBodyProjectsContentHint$ { + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsContentHint$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsResponseBodyProjectsContentHint$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsContentHint$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsResponseBodyProjectsContentHint$outboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsContentHint$Outbound` instead. */ + export type Outbound = + FilterProjectEnvsResponseBodyProjectsContentHint$Outbound; +} + +export function filterProjectEnvsResponseBodyProjectsContentHintToJSON( + filterProjectEnvsResponseBodyProjectsContentHint: + FilterProjectEnvsResponseBodyProjectsContentHint, +): string { + return JSON.stringify( + FilterProjectEnvsResponseBodyProjectsContentHint$outboundSchema.parse( + filterProjectEnvsResponseBodyProjectsContentHint, + ), + ); +} + +export function filterProjectEnvsResponseBodyProjectsContentHintFromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsResponseBodyProjectsContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsResponseBodyProjectsContentHint$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsResponseBodyProjectsContentHint' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type + > = z.nativeEnum( + FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type, + ); + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type + > = + FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$ { + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsInternalContentHint$inboundSchema: + z.ZodType< + FilterProjectEnvsResponseBodyProjectsInternalContentHint, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema, + encryptedValue: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsResponseBodyProjectsInternalContentHint$Outbound = + { + type: string; + encryptedValue: string; + }; + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsInternalContentHint$outboundSchema: + z.ZodType< + FilterProjectEnvsResponseBodyProjectsInternalContentHint$Outbound, + z.ZodTypeDef, + FilterProjectEnvsResponseBodyProjectsInternalContentHint + > = z.object({ + type: + FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema, + encryptedValue: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBodyProjectsInternalContentHint$ { + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsInternalContentHint$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsResponseBodyProjectsInternalContentHint$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsInternalContentHint$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsResponseBodyProjectsInternalContentHint$outboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsInternalContentHint$Outbound` instead. */ + export type Outbound = + FilterProjectEnvsResponseBodyProjectsInternalContentHint$Outbound; +} + +export function filterProjectEnvsResponseBodyProjectsInternalContentHintToJSON( + filterProjectEnvsResponseBodyProjectsInternalContentHint: + FilterProjectEnvsResponseBodyProjectsInternalContentHint, +): string { + return JSON.stringify( + FilterProjectEnvsResponseBodyProjectsInternalContentHint$outboundSchema + .parse(filterProjectEnvsResponseBodyProjectsInternalContentHint), + ); +} + +export function filterProjectEnvsResponseBodyProjectsInternalContentHintFromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsResponseBodyProjectsInternalContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsResponseBodyProjectsInternalContentHint$inboundSchema + .parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsResponseBodyProjectsInternalContentHint' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyEnvs$inboundSchema: z.ZodType< + ResponseBodyEnvs, + z.ZodTypeDef, + unknown +> = z.object({ + target: z.union([ + z.array(FilterProjectEnvsTargetProjects1$inboundSchema), + FilterProjectEnvsTargetProjectsResponse2$inboundSchema, + ]).optional(), + type: FilterProjectEnvsResponseBodyProjectsResponse200Type$inboundSchema + .optional(), + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string().optional(), + value: z.string().optional(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse1$inboundSchema), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse2$inboundSchema + ), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse3$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse4$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse5$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse6$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse7$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse8$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse9$inboundSchema), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse10$inboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse11$inboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse12$inboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse13$inboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse15$inboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse14$inboundSchema + ), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => + FilterProjectEnvsResponseBodyProjectsInternalContentHint$inboundSchema + ), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), + system: z.boolean().optional(), +}); + +/** @internal */ +export type ResponseBodyEnvs$Outbound = { + target?: Array | string | undefined; + type?: string | undefined; + sunsetSecretId?: string | undefined; + id?: string | undefined; + key?: string | undefined; + value?: string | undefined; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | FilterProjectEnvsContentHintProjectsResponse1$Outbound + | FilterProjectEnvsContentHintProjectsResponse2$Outbound + | FilterProjectEnvsContentHintProjectsResponse3$Outbound + | FilterProjectEnvsContentHintProjectsResponse4$Outbound + | FilterProjectEnvsContentHintProjectsResponse5$Outbound + | FilterProjectEnvsContentHintProjectsResponse6$Outbound + | FilterProjectEnvsContentHintProjectsResponse7$Outbound + | FilterProjectEnvsContentHintProjectsResponse8$Outbound + | FilterProjectEnvsContentHintProjectsResponse9$Outbound + | FilterProjectEnvsContentHintProjectsResponse10$Outbound + | FilterProjectEnvsContentHintProjectsResponse11$Outbound + | FilterProjectEnvsContentHintProjectsResponse12$Outbound + | FilterProjectEnvsContentHintProjectsResponse13$Outbound + | FilterProjectEnvsContentHintProjectsResponse15$Outbound + | FilterProjectEnvsContentHintProjectsResponse14$Outbound + | null + | undefined; + internalContentHint?: + | FilterProjectEnvsResponseBodyProjectsInternalContentHint$Outbound + | null + | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; + system?: boolean | undefined; +}; + +/** @internal */ +export const ResponseBodyEnvs$outboundSchema: z.ZodType< + ResponseBodyEnvs$Outbound, + z.ZodTypeDef, + ResponseBodyEnvs +> = z.object({ + target: z.union([ + z.array(FilterProjectEnvsTargetProjects1$outboundSchema), + FilterProjectEnvsTargetProjectsResponse2$outboundSchema, + ]).optional(), + type: FilterProjectEnvsResponseBodyProjectsResponse200Type$outboundSchema + .optional(), + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string().optional(), + value: z.string().optional(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse1$outboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse2$outboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse3$outboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse4$outboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse5$outboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse6$outboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse7$outboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse8$outboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse9$outboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse10$outboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse11$outboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse12$outboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse13$outboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse15$outboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse14$outboundSchema + ), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => + FilterProjectEnvsResponseBodyProjectsInternalContentHint$outboundSchema + ), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), + system: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyEnvs$ { + /** @deprecated use `ResponseBodyEnvs$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyEnvs$inboundSchema; + /** @deprecated use `ResponseBodyEnvs$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyEnvs$outboundSchema; + /** @deprecated use `ResponseBodyEnvs$Outbound` instead. */ + export type Outbound = ResponseBodyEnvs$Outbound; +} + +export function responseBodyEnvsToJSON( + responseBodyEnvs: ResponseBodyEnvs, +): string { + return JSON.stringify( + ResponseBodyEnvs$outboundSchema.parse(responseBodyEnvs), + ); +} + +export function responseBodyEnvsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyEnvs$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyEnvs' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsResponseBody3$inboundSchema: z.ZodType< + FilterProjectEnvsResponseBody3, + z.ZodTypeDef, + unknown +> = z.object({ + envs: z.array(z.lazy(() => ResponseBodyEnvs$inboundSchema)), +}); + +/** @internal */ +export type FilterProjectEnvsResponseBody3$Outbound = { + envs: Array; +}; + +/** @internal */ +export const FilterProjectEnvsResponseBody3$outboundSchema: z.ZodType< + FilterProjectEnvsResponseBody3$Outbound, + z.ZodTypeDef, + FilterProjectEnvsResponseBody3 +> = z.object({ + envs: z.array(z.lazy(() => ResponseBodyEnvs$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBody3$ { + /** @deprecated use `FilterProjectEnvsResponseBody3$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsResponseBody3$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBody3$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsResponseBody3$outboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBody3$Outbound` instead. */ + export type Outbound = FilterProjectEnvsResponseBody3$Outbound; +} + +export function filterProjectEnvsResponseBody3ToJSON( + filterProjectEnvsResponseBody3: FilterProjectEnvsResponseBody3, +): string { + return JSON.stringify( + FilterProjectEnvsResponseBody3$outboundSchema.parse( + filterProjectEnvsResponseBody3, + ), + ); +} + +export function filterProjectEnvsResponseBody3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsResponseBody3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsResponseBody3' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsTargetProjects2$inboundSchema: z.ZodNativeEnum< + typeof FilterProjectEnvsTargetProjects2 +> = z.nativeEnum(FilterProjectEnvsTargetProjects2); + +/** @internal */ +export const FilterProjectEnvsTargetProjects2$outboundSchema: z.ZodNativeEnum< + typeof FilterProjectEnvsTargetProjects2 +> = FilterProjectEnvsTargetProjects2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsTargetProjects2$ { + /** @deprecated use `FilterProjectEnvsTargetProjects2$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsTargetProjects2$inboundSchema; + /** @deprecated use `FilterProjectEnvsTargetProjects2$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsTargetProjects2$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsTarget1$inboundSchema: z.ZodNativeEnum< + typeof FilterProjectEnvsTarget1 +> = z.nativeEnum(FilterProjectEnvsTarget1); + +/** @internal */ +export const FilterProjectEnvsTarget1$outboundSchema: z.ZodNativeEnum< + typeof FilterProjectEnvsTarget1 +> = FilterProjectEnvsTarget1$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsTarget1$ { + /** @deprecated use `FilterProjectEnvsTarget1$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsTarget1$inboundSchema; + /** @deprecated use `FilterProjectEnvsTarget1$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsTarget1$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsTarget$inboundSchema: + z.ZodType< + FilterProjectEnvsResponseBodyProjectsTarget, + z.ZodTypeDef, + unknown + > = z.union([ + z.array(FilterProjectEnvsTarget1$inboundSchema), + FilterProjectEnvsTargetProjects2$inboundSchema, + ]); + +/** @internal */ +export type FilterProjectEnvsResponseBodyProjectsTarget$Outbound = + | Array + | string; + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsTarget$outboundSchema: + z.ZodType< + FilterProjectEnvsResponseBodyProjectsTarget$Outbound, + z.ZodTypeDef, + FilterProjectEnvsResponseBodyProjectsTarget + > = z.union([ + z.array(FilterProjectEnvsTarget1$outboundSchema), + FilterProjectEnvsTargetProjects2$outboundSchema, + ]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBodyProjectsTarget$ { + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsTarget$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsResponseBodyProjectsTarget$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsTarget$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsResponseBodyProjectsTarget$outboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsTarget$Outbound` instead. */ + export type Outbound = FilterProjectEnvsResponseBodyProjectsTarget$Outbound; +} + +export function filterProjectEnvsResponseBodyProjectsTargetToJSON( + filterProjectEnvsResponseBodyProjectsTarget: + FilterProjectEnvsResponseBodyProjectsTarget, +): string { + return JSON.stringify( + FilterProjectEnvsResponseBodyProjectsTarget$outboundSchema.parse( + filterProjectEnvsResponseBodyProjectsTarget, + ), + ); +} + +export function filterProjectEnvsResponseBodyProjectsTargetFromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsResponseBodyProjectsTarget, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsResponseBodyProjectsTarget$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsResponseBodyProjectsTarget' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(FilterProjectEnvsResponseBodyProjectsResponseType); + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsResponseType$outboundSchema: + z.ZodNativeEnum = + FilterProjectEnvsResponseBodyProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBodyProjectsResponseType$ { + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsResponseBodyProjectsResponseType$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsResponseBodyProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjects15$inboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects15, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$inboundSchema, + projectId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHintProjects15$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjects15$outboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects15$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjects15 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjects15$ { + /** @deprecated use `FilterProjectEnvsContentHintProjects15$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjects15$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects15$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjects15$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects15$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjects15$Outbound; +} + +export function filterProjectEnvsContentHintProjects15ToJSON( + filterProjectEnvsContentHintProjects15: + FilterProjectEnvsContentHintProjects15, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjects15$outboundSchema.parse( + filterProjectEnvsContentHintProjects15, + ), + ); +} + +export function filterProjectEnvsContentHintProjects15FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjects15$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHintProjects15' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjects14$inboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects14, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$inboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHintProjects14$Outbound = { + type: string; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjects14$outboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects14$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjects14 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$outboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjects14$ { + /** @deprecated use `FilterProjectEnvsContentHintProjects14$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjects14$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects14$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjects14$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects14$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjects14$Outbound; +} + +export function filterProjectEnvsContentHintProjects14ToJSON( + filterProjectEnvsContentHintProjects14: + FilterProjectEnvsContentHintProjects14, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjects14$outboundSchema.parse( + filterProjectEnvsContentHintProjects14, + ), + ); +} + +export function filterProjectEnvsContentHintProjects14FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjects14$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHintProjects14' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjects13$inboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects13, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHintProjects13$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjects13$outboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects13$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjects13 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjects13$ { + /** @deprecated use `FilterProjectEnvsContentHintProjects13$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjects13$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects13$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjects13$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects13$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjects13$Outbound; +} + +export function filterProjectEnvsContentHintProjects13ToJSON( + filterProjectEnvsContentHintProjects13: + FilterProjectEnvsContentHintProjects13, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjects13$outboundSchema.parse( + filterProjectEnvsContentHintProjects13, + ), + ); +} + +export function filterProjectEnvsContentHintProjects13FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjects13$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHintProjects13' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjects12$inboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects12, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHintProjects12$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjects12$outboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects12$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjects12 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjects12$ { + /** @deprecated use `FilterProjectEnvsContentHintProjects12$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjects12$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects12$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjects12$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects12$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjects12$Outbound; +} + +export function filterProjectEnvsContentHintProjects12ToJSON( + filterProjectEnvsContentHintProjects12: + FilterProjectEnvsContentHintProjects12, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjects12$outboundSchema.parse( + filterProjectEnvsContentHintProjects12, + ), + ); +} + +export function filterProjectEnvsContentHintProjects12FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjects12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHintProjects12' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjects11$inboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects11, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHintProjects11$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjects11$outboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects11$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjects11 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjects11$ { + /** @deprecated use `FilterProjectEnvsContentHintProjects11$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjects11$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects11$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjects11$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects11$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjects11$Outbound; +} + +export function filterProjectEnvsContentHintProjects11ToJSON( + filterProjectEnvsContentHintProjects11: + FilterProjectEnvsContentHintProjects11, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjects11$outboundSchema.parse( + filterProjectEnvsContentHintProjects11, + ), + ); +} + +export function filterProjectEnvsContentHintProjects11FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjects11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHintProjects11' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjects10$inboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects10, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHintProjects10$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjects10$outboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects10$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjects10 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjects10$ { + /** @deprecated use `FilterProjectEnvsContentHintProjects10$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjects10$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects10$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjects10$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects10$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjects10$Outbound; +} + +export function filterProjectEnvsContentHintProjects10ToJSON( + filterProjectEnvsContentHintProjects10: + FilterProjectEnvsContentHintProjects10, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjects10$outboundSchema.parse( + filterProjectEnvsContentHintProjects10, + ), + ); +} + +export function filterProjectEnvsContentHintProjects10FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjects10$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHintProjects10' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjects9$inboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHintProjects9$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjects9$outboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects9$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjects9 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjects9$ { + /** @deprecated use `FilterProjectEnvsContentHintProjects9$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjects9$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects9$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjects9$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects9$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjects9$Outbound; +} + +export function filterProjectEnvsContentHintProjects9ToJSON( + filterProjectEnvsContentHintProjects9: FilterProjectEnvsContentHintProjects9, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjects9$outboundSchema.parse( + filterProjectEnvsContentHintProjects9, + ), + ); +} + +export function filterProjectEnvsContentHintProjects9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjects9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHintProjects9' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjects8$inboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHintProjects8$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjects8$outboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects8$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjects8 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjects8$ { + /** @deprecated use `FilterProjectEnvsContentHintProjects8$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjects8$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects8$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjects8$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects8$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjects8$Outbound; +} + +export function filterProjectEnvsContentHintProjects8ToJSON( + filterProjectEnvsContentHintProjects8: FilterProjectEnvsContentHintProjects8, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjects8$outboundSchema.parse( + filterProjectEnvsContentHintProjects8, + ), + ); +} + +export function filterProjectEnvsContentHintProjects8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjects8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHintProjects8' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjects7$inboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHintProjects7$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjects7$outboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects7$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjects7 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjects7$ { + /** @deprecated use `FilterProjectEnvsContentHintProjects7$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjects7$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects7$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjects7$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects7$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjects7$Outbound; +} + +export function filterProjectEnvsContentHintProjects7ToJSON( + filterProjectEnvsContentHintProjects7: FilterProjectEnvsContentHintProjects7, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjects7$outboundSchema.parse( + filterProjectEnvsContentHintProjects7, + ), + ); +} + +export function filterProjectEnvsContentHintProjects7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjects7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHintProjects7' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjects6$inboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHintProjects6$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjects6$outboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects6$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjects6 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjects6$ { + /** @deprecated use `FilterProjectEnvsContentHintProjects6$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjects6$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects6$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjects6$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects6$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjects6$Outbound; +} + +export function filterProjectEnvsContentHintProjects6ToJSON( + filterProjectEnvsContentHintProjects6: FilterProjectEnvsContentHintProjects6, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjects6$outboundSchema.parse( + filterProjectEnvsContentHintProjects6, + ), + ); +} + +export function filterProjectEnvsContentHintProjects6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjects6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHintProjects6' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjects5$inboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects5, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHintProjects5$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjects5$outboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects5$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjects5 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjects5$ { + /** @deprecated use `FilterProjectEnvsContentHintProjects5$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjects5$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects5$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjects5$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects5$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjects5$Outbound; +} + +export function filterProjectEnvsContentHintProjects5ToJSON( + filterProjectEnvsContentHintProjects5: FilterProjectEnvsContentHintProjects5, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjects5$outboundSchema.parse( + filterProjectEnvsContentHintProjects5, + ), + ); +} + +export function filterProjectEnvsContentHintProjects5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjects5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHintProjects5' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjects4$inboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects4, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHintProjects4$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjects4$outboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects4$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjects4 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjects4$ { + /** @deprecated use `FilterProjectEnvsContentHintProjects4$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjects4$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects4$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjects4$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects4$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjects4$Outbound; +} + +export function filterProjectEnvsContentHintProjects4ToJSON( + filterProjectEnvsContentHintProjects4: FilterProjectEnvsContentHintProjects4, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjects4$outboundSchema.parse( + filterProjectEnvsContentHintProjects4, + ), + ); +} + +export function filterProjectEnvsContentHintProjects4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjects4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHintProjects4' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjects3$inboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects3, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHintProjects3$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjects3$outboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects3$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjects3 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjects3$ { + /** @deprecated use `FilterProjectEnvsContentHintProjects3$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjects3$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects3$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjects3$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects3$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjects3$Outbound; +} + +export function filterProjectEnvsContentHintProjects3ToJSON( + filterProjectEnvsContentHintProjects3: FilterProjectEnvsContentHintProjects3, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjects3$outboundSchema.parse( + filterProjectEnvsContentHintProjects3, + ), + ); +} + +export function filterProjectEnvsContentHintProjects3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjects3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHintProjects3' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjects2$inboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects2, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHintProjects2$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjects2$outboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects2$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjects2 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjects2$ { + /** @deprecated use `FilterProjectEnvsContentHintProjects2$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjects2$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects2$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjects2$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects2$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjects2$Outbound; +} + +export function filterProjectEnvsContentHintProjects2ToJSON( + filterProjectEnvsContentHintProjects2: FilterProjectEnvsContentHintProjects2, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjects2$outboundSchema.parse( + filterProjectEnvsContentHintProjects2, + ), + ); +} + +export function filterProjectEnvsContentHintProjects2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjects2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHintProjects2' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjects1$inboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects1, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHintProjects1$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHintProjects1$outboundSchema: z.ZodType< + FilterProjectEnvsContentHintProjects1$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHintProjects1 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjects1$ { + /** @deprecated use `FilterProjectEnvsContentHintProjects1$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjects1$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects1$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjects1$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjects1$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHintProjects1$Outbound; +} + +export function filterProjectEnvsContentHintProjects1ToJSON( + filterProjectEnvsContentHintProjects1: FilterProjectEnvsContentHintProjects1, +): string { + return JSON.stringify( + FilterProjectEnvsContentHintProjects1$outboundSchema.parse( + filterProjectEnvsContentHintProjects1, + ), + ); +} + +export function filterProjectEnvsContentHintProjects1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsContentHintProjects1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHintProjects1' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsResponseBodyContentHint$inboundSchema: z.ZodType< + FilterProjectEnvsResponseBodyContentHint, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => FilterProjectEnvsContentHintProjects1$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects2$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects3$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects4$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects5$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects6$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects7$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects8$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects9$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects10$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects11$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects12$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects13$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects15$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects14$inboundSchema), +]); + +/** @internal */ +export type FilterProjectEnvsResponseBodyContentHint$Outbound = + | FilterProjectEnvsContentHintProjects1$Outbound + | FilterProjectEnvsContentHintProjects2$Outbound + | FilterProjectEnvsContentHintProjects3$Outbound + | FilterProjectEnvsContentHintProjects4$Outbound + | FilterProjectEnvsContentHintProjects5$Outbound + | FilterProjectEnvsContentHintProjects6$Outbound + | FilterProjectEnvsContentHintProjects7$Outbound + | FilterProjectEnvsContentHintProjects8$Outbound + | FilterProjectEnvsContentHintProjects9$Outbound + | FilterProjectEnvsContentHintProjects10$Outbound + | FilterProjectEnvsContentHintProjects11$Outbound + | FilterProjectEnvsContentHintProjects12$Outbound + | FilterProjectEnvsContentHintProjects13$Outbound + | FilterProjectEnvsContentHintProjects15$Outbound + | FilterProjectEnvsContentHintProjects14$Outbound; + +/** @internal */ +export const FilterProjectEnvsResponseBodyContentHint$outboundSchema: z.ZodType< + FilterProjectEnvsResponseBodyContentHint$Outbound, + z.ZodTypeDef, + FilterProjectEnvsResponseBodyContentHint +> = z.union([ + z.lazy(() => FilterProjectEnvsContentHintProjects1$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects2$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects3$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects4$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects5$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects6$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects7$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects8$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects9$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects10$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects11$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects12$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects13$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects15$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects14$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBodyContentHint$ { + /** @deprecated use `FilterProjectEnvsResponseBodyContentHint$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsResponseBodyContentHint$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyContentHint$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsResponseBodyContentHint$outboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyContentHint$Outbound` instead. */ + export type Outbound = FilterProjectEnvsResponseBodyContentHint$Outbound; +} + +export function filterProjectEnvsResponseBodyContentHintToJSON( + filterProjectEnvsResponseBodyContentHint: + FilterProjectEnvsResponseBodyContentHint, +): string { + return JSON.stringify( + FilterProjectEnvsResponseBodyContentHint$outboundSchema.parse( + filterProjectEnvsResponseBodyContentHint, + ), + ); +} + +export function filterProjectEnvsResponseBodyContentHintFromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsResponseBodyContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsResponseBodyContentHint$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsResponseBodyContentHint' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType + > = z.nativeEnum( + FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType, + ); + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType + > = + FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$ { + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsResponseBodyInternalContentHint$inboundSchema: + z.ZodType< + FilterProjectEnvsResponseBodyInternalContentHint, + z.ZodTypeDef, + unknown + > = z.object({ + type: + FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema, + encryptedValue: z.string(), + }); + +/** @internal */ +export type FilterProjectEnvsResponseBodyInternalContentHint$Outbound = { + type: string; + encryptedValue: string; +}; + +/** @internal */ +export const FilterProjectEnvsResponseBodyInternalContentHint$outboundSchema: + z.ZodType< + FilterProjectEnvsResponseBodyInternalContentHint$Outbound, + z.ZodTypeDef, + FilterProjectEnvsResponseBodyInternalContentHint + > = z.object({ + type: + FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema, + encryptedValue: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBodyInternalContentHint$ { + /** @deprecated use `FilterProjectEnvsResponseBodyInternalContentHint$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsResponseBodyInternalContentHint$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyInternalContentHint$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsResponseBodyInternalContentHint$outboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyInternalContentHint$Outbound` instead. */ + export type Outbound = + FilterProjectEnvsResponseBodyInternalContentHint$Outbound; +} + +export function filterProjectEnvsResponseBodyInternalContentHintToJSON( + filterProjectEnvsResponseBodyInternalContentHint: + FilterProjectEnvsResponseBodyInternalContentHint, +): string { + return JSON.stringify( + FilterProjectEnvsResponseBodyInternalContentHint$outboundSchema.parse( + filterProjectEnvsResponseBodyInternalContentHint, + ), + ); +} + +export function filterProjectEnvsResponseBodyInternalContentHintFromJSON( + jsonString: string, +): SafeParseResult< + FilterProjectEnvsResponseBodyInternalContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsResponseBodyInternalContentHint$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'FilterProjectEnvsResponseBodyInternalContentHint' from JSON`, + ); +} + +/** @internal */ +export const Envs$inboundSchema: z.ZodType = z + .object({ + target: z.union([ + z.array(FilterProjectEnvsTarget1$inboundSchema), + FilterProjectEnvsTargetProjects2$inboundSchema, + ]).optional(), + type: FilterProjectEnvsResponseBodyProjectsResponseType$inboundSchema + .optional(), + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string().optional(), + value: z.string().optional(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => FilterProjectEnvsContentHintProjects1$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects2$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects3$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects4$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects5$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects6$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects7$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects8$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects9$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects10$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects11$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects12$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects13$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects15$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects14$inboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => + FilterProjectEnvsResponseBodyInternalContentHint$inboundSchema + ), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), + system: z.boolean().optional(), + }); + +/** @internal */ +export type Envs$Outbound = { + target?: Array | string | undefined; + type?: string | undefined; + sunsetSecretId?: string | undefined; + id?: string | undefined; + key?: string | undefined; + value?: string | undefined; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | FilterProjectEnvsContentHintProjects1$Outbound + | FilterProjectEnvsContentHintProjects2$Outbound + | FilterProjectEnvsContentHintProjects3$Outbound + | FilterProjectEnvsContentHintProjects4$Outbound + | FilterProjectEnvsContentHintProjects5$Outbound + | FilterProjectEnvsContentHintProjects6$Outbound + | FilterProjectEnvsContentHintProjects7$Outbound + | FilterProjectEnvsContentHintProjects8$Outbound + | FilterProjectEnvsContentHintProjects9$Outbound + | FilterProjectEnvsContentHintProjects10$Outbound + | FilterProjectEnvsContentHintProjects11$Outbound + | FilterProjectEnvsContentHintProjects12$Outbound + | FilterProjectEnvsContentHintProjects13$Outbound + | FilterProjectEnvsContentHintProjects15$Outbound + | FilterProjectEnvsContentHintProjects14$Outbound + | null + | undefined; + internalContentHint?: + | FilterProjectEnvsResponseBodyInternalContentHint$Outbound + | null + | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; + system?: boolean | undefined; +}; + +/** @internal */ +export const Envs$outboundSchema: z.ZodType = + z.object({ + target: z.union([ + z.array(FilterProjectEnvsTarget1$outboundSchema), + FilterProjectEnvsTargetProjects2$outboundSchema, + ]).optional(), + type: FilterProjectEnvsResponseBodyProjectsResponseType$outboundSchema + .optional(), + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string().optional(), + value: z.string().optional(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => FilterProjectEnvsContentHintProjects1$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects2$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects3$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects4$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects5$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects6$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects7$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects8$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects9$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects10$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects11$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects12$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects13$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects15$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects14$outboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => + FilterProjectEnvsResponseBodyInternalContentHint$outboundSchema + ), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), + system: z.boolean().optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Envs$ { + /** @deprecated use `Envs$inboundSchema` instead. */ + export const inboundSchema = Envs$inboundSchema; + /** @deprecated use `Envs$outboundSchema` instead. */ + export const outboundSchema = Envs$outboundSchema; + /** @deprecated use `Envs$Outbound` instead. */ + export type Outbound = Envs$Outbound; +} + +export function envsToJSON(envs: Envs): string { + return JSON.stringify(Envs$outboundSchema.parse(envs)); +} + +export function envsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Envs$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Envs' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsResponseBody2$inboundSchema: z.ZodType< + FilterProjectEnvsResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + envs: z.array(z.lazy(() => Envs$inboundSchema)), + pagination: Pagination$inboundSchema, +}); + +/** @internal */ +export type FilterProjectEnvsResponseBody2$Outbound = { + envs: Array; + pagination: Pagination$Outbound; +}; + +/** @internal */ +export const FilterProjectEnvsResponseBody2$outboundSchema: z.ZodType< + FilterProjectEnvsResponseBody2$Outbound, + z.ZodTypeDef, + FilterProjectEnvsResponseBody2 +> = z.object({ + envs: z.array(z.lazy(() => Envs$outboundSchema)), + pagination: Pagination$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBody2$ { + /** @deprecated use `FilterProjectEnvsResponseBody2$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsResponseBody2$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBody2$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsResponseBody2$outboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBody2$Outbound` instead. */ + export type Outbound = FilterProjectEnvsResponseBody2$Outbound; +} + +export function filterProjectEnvsResponseBody2ToJSON( + filterProjectEnvsResponseBody2: FilterProjectEnvsResponseBody2, +): string { + return JSON.stringify( + FilterProjectEnvsResponseBody2$outboundSchema.parse( + filterProjectEnvsResponseBody2, + ), + ); +} + +export function filterProjectEnvsResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsTarget2$inboundSchema: z.ZodNativeEnum< + typeof FilterProjectEnvsTarget2 +> = z.nativeEnum(FilterProjectEnvsTarget2); + +/** @internal */ +export const FilterProjectEnvsTarget2$outboundSchema: z.ZodNativeEnum< + typeof FilterProjectEnvsTarget2 +> = FilterProjectEnvsTarget2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsTarget2$ { + /** @deprecated use `FilterProjectEnvsTarget2$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsTarget2$inboundSchema; + /** @deprecated use `FilterProjectEnvsTarget2$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsTarget2$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsResponseBodyTarget$inboundSchema: z.ZodType< + FilterProjectEnvsResponseBodyTarget, + z.ZodTypeDef, + unknown +> = z.union([z.array(z.string()), FilterProjectEnvsTarget2$inboundSchema]); + +/** @internal */ +export type FilterProjectEnvsResponseBodyTarget$Outbound = + | Array + | string; + +/** @internal */ +export const FilterProjectEnvsResponseBodyTarget$outboundSchema: z.ZodType< + FilterProjectEnvsResponseBodyTarget$Outbound, + z.ZodTypeDef, + FilterProjectEnvsResponseBodyTarget +> = z.union([z.array(z.string()), FilterProjectEnvsTarget2$outboundSchema]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBodyTarget$ { + /** @deprecated use `FilterProjectEnvsResponseBodyTarget$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsResponseBodyTarget$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyTarget$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsResponseBodyTarget$outboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyTarget$Outbound` instead. */ + export type Outbound = FilterProjectEnvsResponseBodyTarget$Outbound; +} + +export function filterProjectEnvsResponseBodyTargetToJSON( + filterProjectEnvsResponseBodyTarget: FilterProjectEnvsResponseBodyTarget, +): string { + return JSON.stringify( + FilterProjectEnvsResponseBodyTarget$outboundSchema.parse( + filterProjectEnvsResponseBodyTarget, + ), + ); +} + +export function filterProjectEnvsResponseBodyTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + FilterProjectEnvsResponseBodyTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsResponseBodyTarget' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsResponseBodyType$inboundSchema: z.ZodNativeEnum< + typeof FilterProjectEnvsResponseBodyType +> = z.nativeEnum(FilterProjectEnvsResponseBodyType); + +/** @internal */ +export const FilterProjectEnvsResponseBodyType$outboundSchema: z.ZodNativeEnum< + typeof FilterProjectEnvsResponseBodyType +> = FilterProjectEnvsResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBodyType$ { + /** @deprecated use `FilterProjectEnvsResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsResponseBodyType$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsResponseBodyType$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHint15$inboundSchema: z.ZodType< + FilterProjectEnvsContentHint15, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema, + projectId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHint15$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHint15$outboundSchema: z.ZodType< + FilterProjectEnvsContentHint15$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHint15 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHint15$ { + /** @deprecated use `FilterProjectEnvsContentHint15$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsContentHint15$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint15$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsContentHint15$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint15$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHint15$Outbound; +} + +export function filterProjectEnvsContentHint15ToJSON( + filterProjectEnvsContentHint15: FilterProjectEnvsContentHint15, +): string { + return JSON.stringify( + FilterProjectEnvsContentHint15$outboundSchema.parse( + filterProjectEnvsContentHint15, + ), + ); +} + +export function filterProjectEnvsContentHint15FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsContentHint15$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHint15' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHint14$inboundSchema: z.ZodType< + FilterProjectEnvsContentHint14, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHint14$Outbound = { + type: string; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHint14$outboundSchema: z.ZodType< + FilterProjectEnvsContentHint14$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHint14 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHint14$ { + /** @deprecated use `FilterProjectEnvsContentHint14$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsContentHint14$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint14$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsContentHint14$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint14$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHint14$Outbound; +} + +export function filterProjectEnvsContentHint14ToJSON( + filterProjectEnvsContentHint14: FilterProjectEnvsContentHint14, +): string { + return JSON.stringify( + FilterProjectEnvsContentHint14$outboundSchema.parse( + filterProjectEnvsContentHint14, + ), + ); +} + +export function filterProjectEnvsContentHint14FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsContentHint14$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHint14' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHint13$inboundSchema: z.ZodType< + FilterProjectEnvsContentHint13, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHint13$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHint13$outboundSchema: z.ZodType< + FilterProjectEnvsContentHint13$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHint13 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHint13$ { + /** @deprecated use `FilterProjectEnvsContentHint13$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsContentHint13$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint13$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsContentHint13$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint13$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHint13$Outbound; +} + +export function filterProjectEnvsContentHint13ToJSON( + filterProjectEnvsContentHint13: FilterProjectEnvsContentHint13, +): string { + return JSON.stringify( + FilterProjectEnvsContentHint13$outboundSchema.parse( + filterProjectEnvsContentHint13, + ), + ); +} + +export function filterProjectEnvsContentHint13FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsContentHint13$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHint13' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHint12$inboundSchema: z.ZodType< + FilterProjectEnvsContentHint12, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHint12$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHint12$outboundSchema: z.ZodType< + FilterProjectEnvsContentHint12$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHint12 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHint12$ { + /** @deprecated use `FilterProjectEnvsContentHint12$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsContentHint12$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint12$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsContentHint12$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint12$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHint12$Outbound; +} + +export function filterProjectEnvsContentHint12ToJSON( + filterProjectEnvsContentHint12: FilterProjectEnvsContentHint12, +): string { + return JSON.stringify( + FilterProjectEnvsContentHint12$outboundSchema.parse( + filterProjectEnvsContentHint12, + ), + ); +} + +export function filterProjectEnvsContentHint12FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsContentHint12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHint12' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHint11$inboundSchema: z.ZodType< + FilterProjectEnvsContentHint11, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHint11$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHint11$outboundSchema: z.ZodType< + FilterProjectEnvsContentHint11$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHint11 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHint11$ { + /** @deprecated use `FilterProjectEnvsContentHint11$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsContentHint11$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint11$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsContentHint11$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint11$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHint11$Outbound; +} + +export function filterProjectEnvsContentHint11ToJSON( + filterProjectEnvsContentHint11: FilterProjectEnvsContentHint11, +): string { + return JSON.stringify( + FilterProjectEnvsContentHint11$outboundSchema.parse( + filterProjectEnvsContentHint11, + ), + ); +} + +export function filterProjectEnvsContentHint11FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsContentHint11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHint11' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHint10$inboundSchema: z.ZodType< + FilterProjectEnvsContentHint10, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHint10$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHint10$outboundSchema: z.ZodType< + FilterProjectEnvsContentHint10$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHint10 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHint10$ { + /** @deprecated use `FilterProjectEnvsContentHint10$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsContentHint10$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint10$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsContentHint10$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint10$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHint10$Outbound; +} + +export function filterProjectEnvsContentHint10ToJSON( + filterProjectEnvsContentHint10: FilterProjectEnvsContentHint10, +): string { + return JSON.stringify( + FilterProjectEnvsContentHint10$outboundSchema.parse( + filterProjectEnvsContentHint10, + ), + ); +} + +export function filterProjectEnvsContentHint10FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsContentHint10$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHint10' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHint9$inboundSchema: z.ZodType< + FilterProjectEnvsContentHint9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHint9$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHint9$outboundSchema: z.ZodType< + FilterProjectEnvsContentHint9$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHint9 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHint9$ { + /** @deprecated use `FilterProjectEnvsContentHint9$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsContentHint9$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint9$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsContentHint9$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint9$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHint9$Outbound; +} + +export function filterProjectEnvsContentHint9ToJSON( + filterProjectEnvsContentHint9: FilterProjectEnvsContentHint9, +): string { + return JSON.stringify( + FilterProjectEnvsContentHint9$outboundSchema.parse( + filterProjectEnvsContentHint9, + ), + ); +} + +export function filterProjectEnvsContentHint9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsContentHint9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHint9' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHint8$inboundSchema: z.ZodType< + FilterProjectEnvsContentHint8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHint8$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHint8$outboundSchema: z.ZodType< + FilterProjectEnvsContentHint8$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHint8 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHint8$ { + /** @deprecated use `FilterProjectEnvsContentHint8$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsContentHint8$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint8$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsContentHint8$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint8$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHint8$Outbound; +} + +export function filterProjectEnvsContentHint8ToJSON( + filterProjectEnvsContentHint8: FilterProjectEnvsContentHint8, +): string { + return JSON.stringify( + FilterProjectEnvsContentHint8$outboundSchema.parse( + filterProjectEnvsContentHint8, + ), + ); +} + +export function filterProjectEnvsContentHint8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsContentHint8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHint8' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHint7$inboundSchema: z.ZodType< + FilterProjectEnvsContentHint7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHint7$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHint7$outboundSchema: z.ZodType< + FilterProjectEnvsContentHint7$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHint7 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHint7$ { + /** @deprecated use `FilterProjectEnvsContentHint7$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsContentHint7$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint7$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsContentHint7$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint7$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHint7$Outbound; +} + +export function filterProjectEnvsContentHint7ToJSON( + filterProjectEnvsContentHint7: FilterProjectEnvsContentHint7, +): string { + return JSON.stringify( + FilterProjectEnvsContentHint7$outboundSchema.parse( + filterProjectEnvsContentHint7, + ), + ); +} + +export function filterProjectEnvsContentHint7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsContentHint7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHint7' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHint6$inboundSchema: z.ZodType< + FilterProjectEnvsContentHint6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHint6$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHint6$outboundSchema: z.ZodType< + FilterProjectEnvsContentHint6$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHint6 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHint6$ { + /** @deprecated use `FilterProjectEnvsContentHint6$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsContentHint6$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint6$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsContentHint6$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint6$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHint6$Outbound; +} + +export function filterProjectEnvsContentHint6ToJSON( + filterProjectEnvsContentHint6: FilterProjectEnvsContentHint6, +): string { + return JSON.stringify( + FilterProjectEnvsContentHint6$outboundSchema.parse( + filterProjectEnvsContentHint6, + ), + ); +} + +export function filterProjectEnvsContentHint6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsContentHint6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHint6' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType + > = z.nativeEnum( + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType, + ); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType + > = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHint5$inboundSchema: z.ZodType< + FilterProjectEnvsContentHint5, + z.ZodTypeDef, + unknown +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHint5$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHint5$outboundSchema: z.ZodType< + FilterProjectEnvsContentHint5$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHint5 +> = z.object({ + type: + FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHint5$ { + /** @deprecated use `FilterProjectEnvsContentHint5$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsContentHint5$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint5$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsContentHint5$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint5$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHint5$Outbound; +} + +export function filterProjectEnvsContentHint5ToJSON( + filterProjectEnvsContentHint5: FilterProjectEnvsContentHint5, +): string { + return JSON.stringify( + FilterProjectEnvsContentHint5$outboundSchema.parse( + filterProjectEnvsContentHint5, + ), + ); +} + +export function filterProjectEnvsContentHint5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsContentHint5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHint5' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200Type$inboundSchema: + z.ZodNativeEnum = + z.nativeEnum(FilterProjectEnvsContentHintProjectsResponse200Type); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponse200Type$outboundSchema: + z.ZodNativeEnum = + FilterProjectEnvsContentHintProjectsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponse200Type$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponse200Type$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponse200Type$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHint4$inboundSchema: z.ZodType< + FilterProjectEnvsContentHint4, + z.ZodTypeDef, + unknown +> = z.object({ + type: FilterProjectEnvsContentHintProjectsResponse200Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHint4$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHint4$outboundSchema: z.ZodType< + FilterProjectEnvsContentHint4$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHint4 +> = z.object({ + type: FilterProjectEnvsContentHintProjectsResponse200Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHint4$ { + /** @deprecated use `FilterProjectEnvsContentHint4$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsContentHint4$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint4$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsContentHint4$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint4$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHint4$Outbound; +} + +export function filterProjectEnvsContentHint4ToJSON( + filterProjectEnvsContentHint4: FilterProjectEnvsContentHint4, +): string { + return JSON.stringify( + FilterProjectEnvsContentHint4$outboundSchema.parse( + filterProjectEnvsContentHint4, + ), + ); +} + +export function filterProjectEnvsContentHint4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsContentHint4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHint4' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(FilterProjectEnvsContentHintProjectsResponseType); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsResponseType$outboundSchema: + z.ZodNativeEnum = + FilterProjectEnvsContentHintProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsResponseType$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsResponseType$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHint3$inboundSchema: z.ZodType< + FilterProjectEnvsContentHint3, + z.ZodTypeDef, + unknown +> = z.object({ + type: FilterProjectEnvsContentHintProjectsResponseType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHint3$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHint3$outboundSchema: z.ZodType< + FilterProjectEnvsContentHint3$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHint3 +> = z.object({ + type: FilterProjectEnvsContentHintProjectsResponseType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHint3$ { + /** @deprecated use `FilterProjectEnvsContentHint3$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsContentHint3$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint3$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsContentHint3$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint3$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHint3$Outbound; +} + +export function filterProjectEnvsContentHint3ToJSON( + filterProjectEnvsContentHint3: FilterProjectEnvsContentHint3, +): string { + return JSON.stringify( + FilterProjectEnvsContentHint3$outboundSchema.parse( + filterProjectEnvsContentHint3, + ), + ); +} + +export function filterProjectEnvsContentHint3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsContentHint3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHint3' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(FilterProjectEnvsContentHintProjectsType); + +/** @internal */ +export const FilterProjectEnvsContentHintProjectsType$outboundSchema: + z.ZodNativeEnum = + FilterProjectEnvsContentHintProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintProjectsType$ { + /** @deprecated use `FilterProjectEnvsContentHintProjectsType$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsContentHintProjectsType$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintProjectsType$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsContentHintProjectsType$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHint2$inboundSchema: z.ZodType< + FilterProjectEnvsContentHint2, + z.ZodTypeDef, + unknown +> = z.object({ + type: FilterProjectEnvsContentHintProjectsType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHint2$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHint2$outboundSchema: z.ZodType< + FilterProjectEnvsContentHint2$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHint2 +> = z.object({ + type: FilterProjectEnvsContentHintProjectsType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHint2$ { + /** @deprecated use `FilterProjectEnvsContentHint2$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsContentHint2$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint2$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsContentHint2$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint2$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHint2$Outbound; +} + +export function filterProjectEnvsContentHint2ToJSON( + filterProjectEnvsContentHint2: FilterProjectEnvsContentHint2, +): string { + return JSON.stringify( + FilterProjectEnvsContentHint2$outboundSchema.parse( + filterProjectEnvsContentHint2, + ), + ); +} + +export function filterProjectEnvsContentHint2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsContentHint2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHint2' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsContentHintType$inboundSchema: z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintType +> = z.nativeEnum(FilterProjectEnvsContentHintType); + +/** @internal */ +export const FilterProjectEnvsContentHintType$outboundSchema: z.ZodNativeEnum< + typeof FilterProjectEnvsContentHintType +> = FilterProjectEnvsContentHintType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHintType$ { + /** @deprecated use `FilterProjectEnvsContentHintType$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsContentHintType$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHintType$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsContentHintType$outboundSchema; +} + +/** @internal */ +export const FilterProjectEnvsContentHint1$inboundSchema: z.ZodType< + FilterProjectEnvsContentHint1, + z.ZodTypeDef, + unknown +> = z.object({ + type: FilterProjectEnvsContentHintType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type FilterProjectEnvsContentHint1$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const FilterProjectEnvsContentHint1$outboundSchema: z.ZodType< + FilterProjectEnvsContentHint1$Outbound, + z.ZodTypeDef, + FilterProjectEnvsContentHint1 +> = z.object({ + type: FilterProjectEnvsContentHintType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsContentHint1$ { + /** @deprecated use `FilterProjectEnvsContentHint1$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsContentHint1$inboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint1$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsContentHint1$outboundSchema; + /** @deprecated use `FilterProjectEnvsContentHint1$Outbound` instead. */ + export type Outbound = FilterProjectEnvsContentHint1$Outbound; +} + +export function filterProjectEnvsContentHint1ToJSON( + filterProjectEnvsContentHint1: FilterProjectEnvsContentHint1, +): string { + return JSON.stringify( + FilterProjectEnvsContentHint1$outboundSchema.parse( + filterProjectEnvsContentHint1, + ), + ); +} + +export function filterProjectEnvsContentHint1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsContentHint1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsContentHint1' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyContentHint$inboundSchema: z.ZodType< + ResponseBodyContentHint, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => FilterProjectEnvsContentHint1$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint2$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint3$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint4$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint5$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint6$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint7$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint8$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint9$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint10$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint11$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint12$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint13$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint15$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint14$inboundSchema), +]); + +/** @internal */ +export type ResponseBodyContentHint$Outbound = + | FilterProjectEnvsContentHint1$Outbound + | FilterProjectEnvsContentHint2$Outbound + | FilterProjectEnvsContentHint3$Outbound + | FilterProjectEnvsContentHint4$Outbound + | FilterProjectEnvsContentHint5$Outbound + | FilterProjectEnvsContentHint6$Outbound + | FilterProjectEnvsContentHint7$Outbound + | FilterProjectEnvsContentHint8$Outbound + | FilterProjectEnvsContentHint9$Outbound + | FilterProjectEnvsContentHint10$Outbound + | FilterProjectEnvsContentHint11$Outbound + | FilterProjectEnvsContentHint12$Outbound + | FilterProjectEnvsContentHint13$Outbound + | FilterProjectEnvsContentHint15$Outbound + | FilterProjectEnvsContentHint14$Outbound; + +/** @internal */ +export const ResponseBodyContentHint$outboundSchema: z.ZodType< + ResponseBodyContentHint$Outbound, + z.ZodTypeDef, + ResponseBodyContentHint +> = z.union([ + z.lazy(() => FilterProjectEnvsContentHint1$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint2$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint3$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint4$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint5$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint6$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint7$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint8$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint9$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint10$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint11$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint12$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint13$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint15$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint14$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyContentHint$ { + /** @deprecated use `ResponseBodyContentHint$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyContentHint$inboundSchema; + /** @deprecated use `ResponseBodyContentHint$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyContentHint$outboundSchema; + /** @deprecated use `ResponseBodyContentHint$Outbound` instead. */ + export type Outbound = ResponseBodyContentHint$Outbound; +} + +export function responseBodyContentHintToJSON( + responseBodyContentHint: ResponseBodyContentHint, +): string { + return JSON.stringify( + ResponseBodyContentHint$outboundSchema.parse(responseBodyContentHint), + ); +} + +export function responseBodyContentHintFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyContentHint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyContentHint' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(FilterProjectEnvsResponseBodyProjectsType); + +/** @internal */ +export const FilterProjectEnvsResponseBodyProjectsType$outboundSchema: + z.ZodNativeEnum = + FilterProjectEnvsResponseBodyProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBodyProjectsType$ { + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsType$inboundSchema` instead. */ + export const inboundSchema = + FilterProjectEnvsResponseBodyProjectsType$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBodyProjectsType$outboundSchema` instead. */ + export const outboundSchema = + FilterProjectEnvsResponseBodyProjectsType$outboundSchema; +} + +/** @internal */ +export const ResponseBodyInternalContentHint$inboundSchema: z.ZodType< + ResponseBodyInternalContentHint, + z.ZodTypeDef, + unknown +> = z.object({ + type: FilterProjectEnvsResponseBodyProjectsType$inboundSchema, + encryptedValue: z.string(), +}); + +/** @internal */ +export type ResponseBodyInternalContentHint$Outbound = { + type: string; + encryptedValue: string; +}; + +/** @internal */ +export const ResponseBodyInternalContentHint$outboundSchema: z.ZodType< + ResponseBodyInternalContentHint$Outbound, + z.ZodTypeDef, + ResponseBodyInternalContentHint +> = z.object({ + type: FilterProjectEnvsResponseBodyProjectsType$outboundSchema, + encryptedValue: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyInternalContentHint$ { + /** @deprecated use `ResponseBodyInternalContentHint$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyInternalContentHint$inboundSchema; + /** @deprecated use `ResponseBodyInternalContentHint$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyInternalContentHint$outboundSchema; + /** @deprecated use `ResponseBodyInternalContentHint$Outbound` instead. */ + export type Outbound = ResponseBodyInternalContentHint$Outbound; +} + +export function responseBodyInternalContentHintToJSON( + responseBodyInternalContentHint: ResponseBodyInternalContentHint, +): string { + return JSON.stringify( + ResponseBodyInternalContentHint$outboundSchema.parse( + responseBodyInternalContentHint, + ), + ); +} + +export function responseBodyInternalContentHintFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyInternalContentHint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyInternalContentHint' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsResponseBody1$inboundSchema: z.ZodType< + FilterProjectEnvsResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + target: z.union([z.array(z.string()), FilterProjectEnvsTarget2$inboundSchema]) + .optional(), + type: FilterProjectEnvsResponseBodyType$inboundSchema.optional(), + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string().optional(), + value: z.string().optional(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => FilterProjectEnvsContentHint1$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint2$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint3$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint4$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint5$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint6$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint7$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint8$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint9$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint10$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint11$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint12$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint13$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint15$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint14$inboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => ResponseBodyInternalContentHint$inboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), + system: z.boolean().optional(), +}); + +/** @internal */ +export type FilterProjectEnvsResponseBody1$Outbound = { + target?: Array | string | undefined; + type?: string | undefined; + sunsetSecretId?: string | undefined; + id?: string | undefined; + key?: string | undefined; + value?: string | undefined; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | FilterProjectEnvsContentHint1$Outbound + | FilterProjectEnvsContentHint2$Outbound + | FilterProjectEnvsContentHint3$Outbound + | FilterProjectEnvsContentHint4$Outbound + | FilterProjectEnvsContentHint5$Outbound + | FilterProjectEnvsContentHint6$Outbound + | FilterProjectEnvsContentHint7$Outbound + | FilterProjectEnvsContentHint8$Outbound + | FilterProjectEnvsContentHint9$Outbound + | FilterProjectEnvsContentHint10$Outbound + | FilterProjectEnvsContentHint11$Outbound + | FilterProjectEnvsContentHint12$Outbound + | FilterProjectEnvsContentHint13$Outbound + | FilterProjectEnvsContentHint15$Outbound + | FilterProjectEnvsContentHint14$Outbound + | null + | undefined; + internalContentHint?: + | ResponseBodyInternalContentHint$Outbound + | null + | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; + system?: boolean | undefined; +}; + +/** @internal */ +export const FilterProjectEnvsResponseBody1$outboundSchema: z.ZodType< + FilterProjectEnvsResponseBody1$Outbound, + z.ZodTypeDef, + FilterProjectEnvsResponseBody1 +> = z.object({ + target: z.union([ + z.array(z.string()), + FilterProjectEnvsTarget2$outboundSchema, + ]).optional(), + type: FilterProjectEnvsResponseBodyType$outboundSchema.optional(), + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string().optional(), + value: z.string().optional(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => FilterProjectEnvsContentHint1$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint2$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint3$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint4$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint5$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint6$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint7$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint8$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint9$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint10$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint11$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint12$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint13$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint15$outboundSchema), + z.lazy(() => FilterProjectEnvsContentHint14$outboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => ResponseBodyInternalContentHint$outboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), + system: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBody1$ { + /** @deprecated use `FilterProjectEnvsResponseBody1$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsResponseBody1$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBody1$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsResponseBody1$outboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBody1$Outbound` instead. */ + export type Outbound = FilterProjectEnvsResponseBody1$Outbound; +} + +export function filterProjectEnvsResponseBody1ToJSON( + filterProjectEnvsResponseBody1: FilterProjectEnvsResponseBody1, +): string { + return JSON.stringify( + FilterProjectEnvsResponseBody1$outboundSchema.parse( + filterProjectEnvsResponseBody1, + ), + ); +} + +export function filterProjectEnvsResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const FilterProjectEnvsResponseBody$inboundSchema: z.ZodType< + FilterProjectEnvsResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => FilterProjectEnvsResponseBody3$inboundSchema), + z.lazy(() => FilterProjectEnvsResponseBody2$inboundSchema), + z.lazy(() => FilterProjectEnvsResponseBody1$inboundSchema), +]); + +/** @internal */ +export type FilterProjectEnvsResponseBody$Outbound = + | FilterProjectEnvsResponseBody3$Outbound + | FilterProjectEnvsResponseBody2$Outbound + | FilterProjectEnvsResponseBody1$Outbound; + +/** @internal */ +export const FilterProjectEnvsResponseBody$outboundSchema: z.ZodType< + FilterProjectEnvsResponseBody$Outbound, + z.ZodTypeDef, + FilterProjectEnvsResponseBody +> = z.union([ + z.lazy(() => FilterProjectEnvsResponseBody3$outboundSchema), + z.lazy(() => FilterProjectEnvsResponseBody2$outboundSchema), + z.lazy(() => FilterProjectEnvsResponseBody1$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FilterProjectEnvsResponseBody$ { + /** @deprecated use `FilterProjectEnvsResponseBody$inboundSchema` instead. */ + export const inboundSchema = FilterProjectEnvsResponseBody$inboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBody$outboundSchema` instead. */ + export const outboundSchema = FilterProjectEnvsResponseBody$outboundSchema; + /** @deprecated use `FilterProjectEnvsResponseBody$Outbound` instead. */ + export type Outbound = FilterProjectEnvsResponseBody$Outbound; +} + +export function filterProjectEnvsResponseBodyToJSON( + filterProjectEnvsResponseBody: FilterProjectEnvsResponseBody, +): string { + return JSON.stringify( + FilterProjectEnvsResponseBody$outboundSchema.parse( + filterProjectEnvsResponseBody, + ), + ); +} + +export function filterProjectEnvsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProjectEnvsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProjectEnvsResponseBody' from JSON`, + ); +} diff --git a/src/models/components/flagjsonvalue.ts b/src/models/flagjsonvalue.ts similarity index 91% rename from src/models/components/flagjsonvalue.ts rename to src/models/flagjsonvalue.ts index 5f14c6a2..3e240fdf 100644 --- a/src/models/components/flagjsonvalue.ts +++ b/src/models/flagjsonvalue.ts @@ -3,9 +3,9 @@ */ import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; export type FlagJSONValue = string | number | boolean | Array | { [k: string]: FlagJSONValue; diff --git a/src/models/getaccountinfoop.ts b/src/models/getaccountinfoop.ts new file mode 100644 index 00000000..b0745408 --- /dev/null +++ b/src/models/getaccountinfoop.ts @@ -0,0 +1,187 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetAccountInfoRequest = { + integrationConfigurationId: string; +}; + +export type Contact = { + email: string; + name?: string | undefined; +}; + +export type GetAccountInfoResponseBody = { + name?: string | undefined; + url: string; + contact: Contact | null; +}; + +/** @internal */ +export const GetAccountInfoRequest$inboundSchema: z.ZodType< + GetAccountInfoRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), +}); + +/** @internal */ +export type GetAccountInfoRequest$Outbound = { + integrationConfigurationId: string; +}; + +/** @internal */ +export const GetAccountInfoRequest$outboundSchema: z.ZodType< + GetAccountInfoRequest$Outbound, + z.ZodTypeDef, + GetAccountInfoRequest +> = z.object({ + integrationConfigurationId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAccountInfoRequest$ { + /** @deprecated use `GetAccountInfoRequest$inboundSchema` instead. */ + export const inboundSchema = GetAccountInfoRequest$inboundSchema; + /** @deprecated use `GetAccountInfoRequest$outboundSchema` instead. */ + export const outboundSchema = GetAccountInfoRequest$outboundSchema; + /** @deprecated use `GetAccountInfoRequest$Outbound` instead. */ + export type Outbound = GetAccountInfoRequest$Outbound; +} + +export function getAccountInfoRequestToJSON( + getAccountInfoRequest: GetAccountInfoRequest, +): string { + return JSON.stringify( + GetAccountInfoRequest$outboundSchema.parse(getAccountInfoRequest), + ); +} + +export function getAccountInfoRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAccountInfoRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAccountInfoRequest' from JSON`, + ); +} + +/** @internal */ +export const Contact$inboundSchema: z.ZodType = + z.object({ + email: z.string(), + name: z.string().optional(), + }); + +/** @internal */ +export type Contact$Outbound = { + email: string; + name?: string | undefined; +}; + +/** @internal */ +export const Contact$outboundSchema: z.ZodType< + Contact$Outbound, + z.ZodTypeDef, + Contact +> = z.object({ + email: z.string(), + name: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Contact$ { + /** @deprecated use `Contact$inboundSchema` instead. */ + export const inboundSchema = Contact$inboundSchema; + /** @deprecated use `Contact$outboundSchema` instead. */ + export const outboundSchema = Contact$outboundSchema; + /** @deprecated use `Contact$Outbound` instead. */ + export type Outbound = Contact$Outbound; +} + +export function contactToJSON(contact: Contact): string { + return JSON.stringify(Contact$outboundSchema.parse(contact)); +} + +export function contactFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Contact$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Contact' from JSON`, + ); +} + +/** @internal */ +export const GetAccountInfoResponseBody$inboundSchema: z.ZodType< + GetAccountInfoResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), + url: z.string(), + contact: z.nullable(z.lazy(() => Contact$inboundSchema)), +}); + +/** @internal */ +export type GetAccountInfoResponseBody$Outbound = { + name?: string | undefined; + url: string; + contact: Contact$Outbound | null; +}; + +/** @internal */ +export const GetAccountInfoResponseBody$outboundSchema: z.ZodType< + GetAccountInfoResponseBody$Outbound, + z.ZodTypeDef, + GetAccountInfoResponseBody +> = z.object({ + name: z.string().optional(), + url: z.string(), + contact: z.nullable(z.lazy(() => Contact$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAccountInfoResponseBody$ { + /** @deprecated use `GetAccountInfoResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetAccountInfoResponseBody$inboundSchema; + /** @deprecated use `GetAccountInfoResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetAccountInfoResponseBody$outboundSchema; + /** @deprecated use `GetAccountInfoResponseBody$Outbound` instead. */ + export type Outbound = GetAccountInfoResponseBody$Outbound; +} + +export function getAccountInfoResponseBodyToJSON( + getAccountInfoResponseBody: GetAccountInfoResponseBody, +): string { + return JSON.stringify( + GetAccountInfoResponseBody$outboundSchema.parse(getAccountInfoResponseBody), + ); +} + +export function getAccountInfoResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAccountInfoResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAccountInfoResponseBody' from JSON`, + ); +} diff --git a/src/models/getaliasop.ts b/src/models/getaliasop.ts new file mode 100644 index 00000000..c43d32e2 --- /dev/null +++ b/src/models/getaliasop.ts @@ -0,0 +1,930 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetAliasRequest = { + /** + * Get the alias only if it was created after the provided timestamp + */ + from?: number | undefined; + /** + * The alias or alias ID to be retrieved + */ + idOrAlias: string; + /** + * Get the alias only if it is assigned to the provided project ID + */ + projectId?: string | undefined; + /** + * Get the alias only if it was created after this JavaScript timestamp + */ + since?: number | undefined; + /** + * Get the alias only if it was created before this JavaScript timestamp + */ + until?: number | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * Information of the user who created the alias + */ +export type GetAliasCreator = { + /** + * ID of the user who created the alias + */ + uid: string; + /** + * Email of the user who created the alias + */ + email: string; + /** + * Username of the user who created the alias + */ + username: string; +}; + +/** + * A map with the deployment ID, URL and metadata + */ +export type Deployment = { + /** + * The deployment unique identifier + */ + id: string; + /** + * The deployment unique URL + */ + url: string; + /** + * The deployment metadata + */ + meta?: string | undefined; +}; + +export const GetAliasProtectionBypassAliasesResponseScope = { + EmailInvite: "email_invite", +} as const; +export type GetAliasProtectionBypassAliasesResponseScope = ClosedEnum< + typeof GetAliasProtectionBypassAliasesResponseScope +>; + +/** + * The protection bypass for the alias + */ +export type ProtectionBypass4 = { + createdAt: number; + lastUpdatedAt: number; + lastUpdatedBy: string; + scope: GetAliasProtectionBypassAliasesResponseScope; +}; + +export const GetAliasProtectionBypassAliasesScope = { + AliasProtectionOverride: "alias-protection-override", +} as const; +export type GetAliasProtectionBypassAliasesScope = ClosedEnum< + typeof GetAliasProtectionBypassAliasesScope +>; + +/** + * The protection bypass for the alias + */ +export type ProtectionBypass3 = { + createdAt: number; + createdBy: string; + scope: GetAliasProtectionBypassAliasesScope; +}; + +export const Access = { + Requested: "requested", + Granted: "granted", +} as const; +export type Access = ClosedEnum; + +export const GetAliasProtectionBypassScope = { + User: "user", +} as const; +export type GetAliasProtectionBypassScope = ClosedEnum< + typeof GetAliasProtectionBypassScope +>; + +/** + * The protection bypass for the alias + */ +export type ProtectionBypass2 = { + createdAt: number; + lastUpdatedAt: number; + lastUpdatedBy: string; + access: Access; + scope: GetAliasProtectionBypassScope; +}; + +export const ProtectionBypassScope = { + ShareableLink: "shareable-link", +} as const; +export type ProtectionBypassScope = ClosedEnum; + +/** + * The protection bypass for the alias + */ +export type ProtectionBypass1 = { + createdAt: number; + createdBy: string; + scope: ProtectionBypassScope; +}; + +export type GetAliasProtectionBypass = + | ProtectionBypass1 + | ProtectionBypass3 + | ProtectionBypass4 + | ProtectionBypass2; + +/** + * The alias information + */ +export type GetAliasResponseBody = { + /** + * The alias name, it could be a `.vercel.app` subdomain or a custom domain + */ + alias: string; + /** + * The date when the alias was created + */ + created: Date; + /** + * The date when the alias was created in milliseconds since the UNIX epoch + */ + createdAt?: number | null | undefined; + /** + * Information of the user who created the alias + */ + creator?: GetAliasCreator | undefined; + /** + * The date when the alias was deleted in milliseconds since the UNIX epoch + */ + deletedAt?: number | null | undefined; + /** + * A map with the deployment ID, URL and metadata + */ + deployment?: Deployment | undefined; + /** + * The deployment ID + */ + deploymentId: string | null; + /** + * The unique identifier of the project + */ + projectId: string | null; + /** + * Target destination domain for redirect when the alias is a redirect + */ + redirect?: string | null | undefined; + /** + * Status code to be used on redirect + */ + redirectStatusCode?: number | null | undefined; + /** + * The unique identifier of the alias + */ + uid: string; + /** + * The date when the alias was updated in milliseconds since the UNIX epoch + */ + updatedAt?: number | null | undefined; + /** + * The protection bypass for the alias + */ + protectionBypass?: { + [k: string]: + | ProtectionBypass1 + | ProtectionBypass3 + | ProtectionBypass4 + | ProtectionBypass2; + } | undefined; +}; + +/** @internal */ +export const GetAliasRequest$inboundSchema: z.ZodType< + GetAliasRequest, + z.ZodTypeDef, + unknown +> = z.object({ + from: z.number().optional(), + idOrAlias: z.string(), + projectId: z.string().optional(), + since: z.number().optional(), + until: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetAliasRequest$Outbound = { + from?: number | undefined; + idOrAlias: string; + projectId?: string | undefined; + since?: number | undefined; + until?: number | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetAliasRequest$outboundSchema: z.ZodType< + GetAliasRequest$Outbound, + z.ZodTypeDef, + GetAliasRequest +> = z.object({ + from: z.number().optional(), + idOrAlias: z.string(), + projectId: z.string().optional(), + since: z.number().optional(), + until: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAliasRequest$ { + /** @deprecated use `GetAliasRequest$inboundSchema` instead. */ + export const inboundSchema = GetAliasRequest$inboundSchema; + /** @deprecated use `GetAliasRequest$outboundSchema` instead. */ + export const outboundSchema = GetAliasRequest$outboundSchema; + /** @deprecated use `GetAliasRequest$Outbound` instead. */ + export type Outbound = GetAliasRequest$Outbound; +} + +export function getAliasRequestToJSON( + getAliasRequest: GetAliasRequest, +): string { + return JSON.stringify(GetAliasRequest$outboundSchema.parse(getAliasRequest)); +} + +export function getAliasRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAliasRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAliasRequest' from JSON`, + ); +} + +/** @internal */ +export const GetAliasCreator$inboundSchema: z.ZodType< + GetAliasCreator, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + email: z.string(), + username: z.string(), +}); + +/** @internal */ +export type GetAliasCreator$Outbound = { + uid: string; + email: string; + username: string; +}; + +/** @internal */ +export const GetAliasCreator$outboundSchema: z.ZodType< + GetAliasCreator$Outbound, + z.ZodTypeDef, + GetAliasCreator +> = z.object({ + uid: z.string(), + email: z.string(), + username: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAliasCreator$ { + /** @deprecated use `GetAliasCreator$inboundSchema` instead. */ + export const inboundSchema = GetAliasCreator$inboundSchema; + /** @deprecated use `GetAliasCreator$outboundSchema` instead. */ + export const outboundSchema = GetAliasCreator$outboundSchema; + /** @deprecated use `GetAliasCreator$Outbound` instead. */ + export type Outbound = GetAliasCreator$Outbound; +} + +export function getAliasCreatorToJSON( + getAliasCreator: GetAliasCreator, +): string { + return JSON.stringify(GetAliasCreator$outboundSchema.parse(getAliasCreator)); +} + +export function getAliasCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAliasCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAliasCreator' from JSON`, + ); +} + +/** @internal */ +export const Deployment$inboundSchema: z.ZodType< + Deployment, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + url: z.string(), + meta: z.string().optional(), +}); + +/** @internal */ +export type Deployment$Outbound = { + id: string; + url: string; + meta?: string | undefined; +}; + +/** @internal */ +export const Deployment$outboundSchema: z.ZodType< + Deployment$Outbound, + z.ZodTypeDef, + Deployment +> = z.object({ + id: z.string(), + url: z.string(), + meta: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Deployment$ { + /** @deprecated use `Deployment$inboundSchema` instead. */ + export const inboundSchema = Deployment$inboundSchema; + /** @deprecated use `Deployment$outboundSchema` instead. */ + export const outboundSchema = Deployment$outboundSchema; + /** @deprecated use `Deployment$Outbound` instead. */ + export type Outbound = Deployment$Outbound; +} + +export function deploymentToJSON(deployment: Deployment): string { + return JSON.stringify(Deployment$outboundSchema.parse(deployment)); +} + +export function deploymentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Deployment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Deployment' from JSON`, + ); +} + +/** @internal */ +export const GetAliasProtectionBypassAliasesResponseScope$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAliasProtectionBypassAliasesResponseScope); + +/** @internal */ +export const GetAliasProtectionBypassAliasesResponseScope$outboundSchema: + z.ZodNativeEnum = + GetAliasProtectionBypassAliasesResponseScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAliasProtectionBypassAliasesResponseScope$ { + /** @deprecated use `GetAliasProtectionBypassAliasesResponseScope$inboundSchema` instead. */ + export const inboundSchema = + GetAliasProtectionBypassAliasesResponseScope$inboundSchema; + /** @deprecated use `GetAliasProtectionBypassAliasesResponseScope$outboundSchema` instead. */ + export const outboundSchema = + GetAliasProtectionBypassAliasesResponseScope$outboundSchema; +} + +/** @internal */ +export const ProtectionBypass4$inboundSchema: z.ZodType< + ProtectionBypass4, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number(), + lastUpdatedAt: z.number(), + lastUpdatedBy: z.string(), + scope: GetAliasProtectionBypassAliasesResponseScope$inboundSchema, +}); + +/** @internal */ +export type ProtectionBypass4$Outbound = { + createdAt: number; + lastUpdatedAt: number; + lastUpdatedBy: string; + scope: string; +}; + +/** @internal */ +export const ProtectionBypass4$outboundSchema: z.ZodType< + ProtectionBypass4$Outbound, + z.ZodTypeDef, + ProtectionBypass4 +> = z.object({ + createdAt: z.number(), + lastUpdatedAt: z.number(), + lastUpdatedBy: z.string(), + scope: GetAliasProtectionBypassAliasesResponseScope$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ProtectionBypass4$ { + /** @deprecated use `ProtectionBypass4$inboundSchema` instead. */ + export const inboundSchema = ProtectionBypass4$inboundSchema; + /** @deprecated use `ProtectionBypass4$outboundSchema` instead. */ + export const outboundSchema = ProtectionBypass4$outboundSchema; + /** @deprecated use `ProtectionBypass4$Outbound` instead. */ + export type Outbound = ProtectionBypass4$Outbound; +} + +export function protectionBypass4ToJSON( + protectionBypass4: ProtectionBypass4, +): string { + return JSON.stringify( + ProtectionBypass4$outboundSchema.parse(protectionBypass4), + ); +} + +export function protectionBypass4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ProtectionBypass4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProtectionBypass4' from JSON`, + ); +} + +/** @internal */ +export const GetAliasProtectionBypassAliasesScope$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetAliasProtectionBypassAliasesScope, + ); + +/** @internal */ +export const GetAliasProtectionBypassAliasesScope$outboundSchema: + z.ZodNativeEnum = + GetAliasProtectionBypassAliasesScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAliasProtectionBypassAliasesScope$ { + /** @deprecated use `GetAliasProtectionBypassAliasesScope$inboundSchema` instead. */ + export const inboundSchema = + GetAliasProtectionBypassAliasesScope$inboundSchema; + /** @deprecated use `GetAliasProtectionBypassAliasesScope$outboundSchema` instead. */ + export const outboundSchema = + GetAliasProtectionBypassAliasesScope$outboundSchema; +} + +/** @internal */ +export const ProtectionBypass3$inboundSchema: z.ZodType< + ProtectionBypass3, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: GetAliasProtectionBypassAliasesScope$inboundSchema, +}); + +/** @internal */ +export type ProtectionBypass3$Outbound = { + createdAt: number; + createdBy: string; + scope: string; +}; + +/** @internal */ +export const ProtectionBypass3$outboundSchema: z.ZodType< + ProtectionBypass3$Outbound, + z.ZodTypeDef, + ProtectionBypass3 +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: GetAliasProtectionBypassAliasesScope$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ProtectionBypass3$ { + /** @deprecated use `ProtectionBypass3$inboundSchema` instead. */ + export const inboundSchema = ProtectionBypass3$inboundSchema; + /** @deprecated use `ProtectionBypass3$outboundSchema` instead. */ + export const outboundSchema = ProtectionBypass3$outboundSchema; + /** @deprecated use `ProtectionBypass3$Outbound` instead. */ + export type Outbound = ProtectionBypass3$Outbound; +} + +export function protectionBypass3ToJSON( + protectionBypass3: ProtectionBypass3, +): string { + return JSON.stringify( + ProtectionBypass3$outboundSchema.parse(protectionBypass3), + ); +} + +export function protectionBypass3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ProtectionBypass3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProtectionBypass3' from JSON`, + ); +} + +/** @internal */ +export const Access$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Access); + +/** @internal */ +export const Access$outboundSchema: z.ZodNativeEnum = + Access$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Access$ { + /** @deprecated use `Access$inboundSchema` instead. */ + export const inboundSchema = Access$inboundSchema; + /** @deprecated use `Access$outboundSchema` instead. */ + export const outboundSchema = Access$outboundSchema; +} + +/** @internal */ +export const GetAliasProtectionBypassScope$inboundSchema: z.ZodNativeEnum< + typeof GetAliasProtectionBypassScope +> = z.nativeEnum(GetAliasProtectionBypassScope); + +/** @internal */ +export const GetAliasProtectionBypassScope$outboundSchema: z.ZodNativeEnum< + typeof GetAliasProtectionBypassScope +> = GetAliasProtectionBypassScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAliasProtectionBypassScope$ { + /** @deprecated use `GetAliasProtectionBypassScope$inboundSchema` instead. */ + export const inboundSchema = GetAliasProtectionBypassScope$inboundSchema; + /** @deprecated use `GetAliasProtectionBypassScope$outboundSchema` instead. */ + export const outboundSchema = GetAliasProtectionBypassScope$outboundSchema; +} + +/** @internal */ +export const ProtectionBypass2$inboundSchema: z.ZodType< + ProtectionBypass2, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number(), + lastUpdatedAt: z.number(), + lastUpdatedBy: z.string(), + access: Access$inboundSchema, + scope: GetAliasProtectionBypassScope$inboundSchema, +}); + +/** @internal */ +export type ProtectionBypass2$Outbound = { + createdAt: number; + lastUpdatedAt: number; + lastUpdatedBy: string; + access: string; + scope: string; +}; + +/** @internal */ +export const ProtectionBypass2$outboundSchema: z.ZodType< + ProtectionBypass2$Outbound, + z.ZodTypeDef, + ProtectionBypass2 +> = z.object({ + createdAt: z.number(), + lastUpdatedAt: z.number(), + lastUpdatedBy: z.string(), + access: Access$outboundSchema, + scope: GetAliasProtectionBypassScope$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ProtectionBypass2$ { + /** @deprecated use `ProtectionBypass2$inboundSchema` instead. */ + export const inboundSchema = ProtectionBypass2$inboundSchema; + /** @deprecated use `ProtectionBypass2$outboundSchema` instead. */ + export const outboundSchema = ProtectionBypass2$outboundSchema; + /** @deprecated use `ProtectionBypass2$Outbound` instead. */ + export type Outbound = ProtectionBypass2$Outbound; +} + +export function protectionBypass2ToJSON( + protectionBypass2: ProtectionBypass2, +): string { + return JSON.stringify( + ProtectionBypass2$outboundSchema.parse(protectionBypass2), + ); +} + +export function protectionBypass2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ProtectionBypass2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProtectionBypass2' from JSON`, + ); +} + +/** @internal */ +export const ProtectionBypassScope$inboundSchema: z.ZodNativeEnum< + typeof ProtectionBypassScope +> = z.nativeEnum(ProtectionBypassScope); + +/** @internal */ +export const ProtectionBypassScope$outboundSchema: z.ZodNativeEnum< + typeof ProtectionBypassScope +> = ProtectionBypassScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ProtectionBypassScope$ { + /** @deprecated use `ProtectionBypassScope$inboundSchema` instead. */ + export const inboundSchema = ProtectionBypassScope$inboundSchema; + /** @deprecated use `ProtectionBypassScope$outboundSchema` instead. */ + export const outboundSchema = ProtectionBypassScope$outboundSchema; +} + +/** @internal */ +export const ProtectionBypass1$inboundSchema: z.ZodType< + ProtectionBypass1, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: ProtectionBypassScope$inboundSchema, +}); + +/** @internal */ +export type ProtectionBypass1$Outbound = { + createdAt: number; + createdBy: string; + scope: string; +}; + +/** @internal */ +export const ProtectionBypass1$outboundSchema: z.ZodType< + ProtectionBypass1$Outbound, + z.ZodTypeDef, + ProtectionBypass1 +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: ProtectionBypassScope$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ProtectionBypass1$ { + /** @deprecated use `ProtectionBypass1$inboundSchema` instead. */ + export const inboundSchema = ProtectionBypass1$inboundSchema; + /** @deprecated use `ProtectionBypass1$outboundSchema` instead. */ + export const outboundSchema = ProtectionBypass1$outboundSchema; + /** @deprecated use `ProtectionBypass1$Outbound` instead. */ + export type Outbound = ProtectionBypass1$Outbound; +} + +export function protectionBypass1ToJSON( + protectionBypass1: ProtectionBypass1, +): string { + return JSON.stringify( + ProtectionBypass1$outboundSchema.parse(protectionBypass1), + ); +} + +export function protectionBypass1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ProtectionBypass1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProtectionBypass1' from JSON`, + ); +} + +/** @internal */ +export const GetAliasProtectionBypass$inboundSchema: z.ZodType< + GetAliasProtectionBypass, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => ProtectionBypass1$inboundSchema), + z.lazy(() => ProtectionBypass3$inboundSchema), + z.lazy(() => ProtectionBypass4$inboundSchema), + z.lazy(() => ProtectionBypass2$inboundSchema), +]); + +/** @internal */ +export type GetAliasProtectionBypass$Outbound = + | ProtectionBypass1$Outbound + | ProtectionBypass3$Outbound + | ProtectionBypass4$Outbound + | ProtectionBypass2$Outbound; + +/** @internal */ +export const GetAliasProtectionBypass$outboundSchema: z.ZodType< + GetAliasProtectionBypass$Outbound, + z.ZodTypeDef, + GetAliasProtectionBypass +> = z.union([ + z.lazy(() => ProtectionBypass1$outboundSchema), + z.lazy(() => ProtectionBypass3$outboundSchema), + z.lazy(() => ProtectionBypass4$outboundSchema), + z.lazy(() => ProtectionBypass2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAliasProtectionBypass$ { + /** @deprecated use `GetAliasProtectionBypass$inboundSchema` instead. */ + export const inboundSchema = GetAliasProtectionBypass$inboundSchema; + /** @deprecated use `GetAliasProtectionBypass$outboundSchema` instead. */ + export const outboundSchema = GetAliasProtectionBypass$outboundSchema; + /** @deprecated use `GetAliasProtectionBypass$Outbound` instead. */ + export type Outbound = GetAliasProtectionBypass$Outbound; +} + +export function getAliasProtectionBypassToJSON( + getAliasProtectionBypass: GetAliasProtectionBypass, +): string { + return JSON.stringify( + GetAliasProtectionBypass$outboundSchema.parse(getAliasProtectionBypass), + ); +} + +export function getAliasProtectionBypassFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAliasProtectionBypass$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAliasProtectionBypass' from JSON`, + ); +} + +/** @internal */ +export const GetAliasResponseBody$inboundSchema: z.ZodType< + GetAliasResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + alias: z.string(), + created: z.string().datetime({ offset: true }).transform(v => new Date(v)), + createdAt: z.nullable(z.number()).optional(), + creator: z.lazy(() => GetAliasCreator$inboundSchema).optional(), + deletedAt: z.nullable(z.number()).optional(), + deployment: z.lazy(() => Deployment$inboundSchema).optional(), + deploymentId: z.nullable(z.string()), + projectId: z.nullable(z.string()), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(z.number()).optional(), + uid: z.string(), + updatedAt: z.nullable(z.number()).optional(), + protectionBypass: z.record( + z.union([ + z.lazy(() => ProtectionBypass1$inboundSchema), + z.lazy(() => ProtectionBypass3$inboundSchema), + z.lazy(() => ProtectionBypass4$inboundSchema), + z.lazy(() => ProtectionBypass2$inboundSchema), + ]), + ).optional(), +}); + +/** @internal */ +export type GetAliasResponseBody$Outbound = { + alias: string; + created: string; + createdAt?: number | null | undefined; + creator?: GetAliasCreator$Outbound | undefined; + deletedAt?: number | null | undefined; + deployment?: Deployment$Outbound | undefined; + deploymentId: string | null; + projectId: string | null; + redirect?: string | null | undefined; + redirectStatusCode?: number | null | undefined; + uid: string; + updatedAt?: number | null | undefined; + protectionBypass?: { + [k: string]: + | ProtectionBypass1$Outbound + | ProtectionBypass3$Outbound + | ProtectionBypass4$Outbound + | ProtectionBypass2$Outbound; + } | undefined; +}; + +/** @internal */ +export const GetAliasResponseBody$outboundSchema: z.ZodType< + GetAliasResponseBody$Outbound, + z.ZodTypeDef, + GetAliasResponseBody +> = z.object({ + alias: z.string(), + created: z.date().transform(v => v.toISOString()), + createdAt: z.nullable(z.number()).optional(), + creator: z.lazy(() => GetAliasCreator$outboundSchema).optional(), + deletedAt: z.nullable(z.number()).optional(), + deployment: z.lazy(() => Deployment$outboundSchema).optional(), + deploymentId: z.nullable(z.string()), + projectId: z.nullable(z.string()), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(z.number()).optional(), + uid: z.string(), + updatedAt: z.nullable(z.number()).optional(), + protectionBypass: z.record( + z.union([ + z.lazy(() => ProtectionBypass1$outboundSchema), + z.lazy(() => ProtectionBypass3$outboundSchema), + z.lazy(() => ProtectionBypass4$outboundSchema), + z.lazy(() => ProtectionBypass2$outboundSchema), + ]), + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAliasResponseBody$ { + /** @deprecated use `GetAliasResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetAliasResponseBody$inboundSchema; + /** @deprecated use `GetAliasResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetAliasResponseBody$outboundSchema; + /** @deprecated use `GetAliasResponseBody$Outbound` instead. */ + export type Outbound = GetAliasResponseBody$Outbound; +} + +export function getAliasResponseBodyToJSON( + getAliasResponseBody: GetAliasResponseBody, +): string { + return JSON.stringify( + GetAliasResponseBody$outboundSchema.parse(getAliasResponseBody), + ); +} + +export function getAliasResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAliasResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAliasResponseBody' from JSON`, + ); +} diff --git a/src/models/getallchecksop.ts b/src/models/getallchecksop.ts new file mode 100644 index 00000000..a2a300b1 --- /dev/null +++ b/src/models/getallchecksop.ts @@ -0,0 +1,921 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetAllChecksRequest = { + /** + * The deployment to get all checks for + */ + deploymentId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export const GetAllChecksConclusion = { + Canceled: "canceled", + Failed: "failed", + Neutral: "neutral", + Succeeded: "succeeded", + Skipped: "skipped", + Stale: "stale", +} as const; +export type GetAllChecksConclusion = ClosedEnum; + +export const GetAllChecksSource = { + WebVitals: "web-vitals", +} as const; +export type GetAllChecksSource = ClosedEnum; + +export type GetAllChecksFCP = { + value: number | null; + previousValue?: number | undefined; + source: GetAllChecksSource; +}; + +export const GetAllChecksChecksSource = { + WebVitals: "web-vitals", +} as const; +export type GetAllChecksChecksSource = ClosedEnum< + typeof GetAllChecksChecksSource +>; + +export type GetAllChecksLCP = { + value: number | null; + previousValue?: number | undefined; + source: GetAllChecksChecksSource; +}; + +export const GetAllChecksChecksResponseSource = { + WebVitals: "web-vitals", +} as const; +export type GetAllChecksChecksResponseSource = ClosedEnum< + typeof GetAllChecksChecksResponseSource +>; + +export type GetAllChecksCLS = { + value: number | null; + previousValue?: number | undefined; + source: GetAllChecksChecksResponseSource; +}; + +export const GetAllChecksChecksResponse200Source = { + WebVitals: "web-vitals", +} as const; +export type GetAllChecksChecksResponse200Source = ClosedEnum< + typeof GetAllChecksChecksResponse200Source +>; + +export type GetAllChecksTBT = { + value: number | null; + previousValue?: number | undefined; + source: GetAllChecksChecksResponse200Source; +}; + +export const GetAllChecksChecksResponse200ApplicationJSONSource = { + WebVitals: "web-vitals", +} as const; +export type GetAllChecksChecksResponse200ApplicationJSONSource = ClosedEnum< + typeof GetAllChecksChecksResponse200ApplicationJSONSource +>; + +export type GetAllChecksVirtualExperienceScore = { + value: number | null; + previousValue?: number | undefined; + source: GetAllChecksChecksResponse200ApplicationJSONSource; +}; + +export type GetAllChecksMetrics = { + fcp: GetAllChecksFCP; + lcp: GetAllChecksLCP; + cls: GetAllChecksCLS; + tbt: GetAllChecksTBT; + virtualExperienceScore?: GetAllChecksVirtualExperienceScore | undefined; +}; + +export type GetAllChecksOutput = { + metrics?: GetAllChecksMetrics | undefined; +}; + +export const GetAllChecksStatus = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +export type GetAllChecksStatus = ClosedEnum; + +export type Checks = { + completedAt?: number | undefined; + conclusion?: GetAllChecksConclusion | undefined; + createdAt: number; + detailsUrl?: string | undefined; + id: string; + integrationId: string; + name: string; + output?: GetAllChecksOutput | undefined; + path?: string | undefined; + rerequestable: boolean; + startedAt?: number | undefined; + status: GetAllChecksStatus; + updatedAt: number; +}; + +export type GetAllChecksResponseBody = { + checks: Array; +}; + +/** @internal */ +export const GetAllChecksRequest$inboundSchema: z.ZodType< + GetAllChecksRequest, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetAllChecksRequest$Outbound = { + deploymentId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetAllChecksRequest$outboundSchema: z.ZodType< + GetAllChecksRequest$Outbound, + z.ZodTypeDef, + GetAllChecksRequest +> = z.object({ + deploymentId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllChecksRequest$ { + /** @deprecated use `GetAllChecksRequest$inboundSchema` instead. */ + export const inboundSchema = GetAllChecksRequest$inboundSchema; + /** @deprecated use `GetAllChecksRequest$outboundSchema` instead. */ + export const outboundSchema = GetAllChecksRequest$outboundSchema; + /** @deprecated use `GetAllChecksRequest$Outbound` instead. */ + export type Outbound = GetAllChecksRequest$Outbound; +} + +export function getAllChecksRequestToJSON( + getAllChecksRequest: GetAllChecksRequest, +): string { + return JSON.stringify( + GetAllChecksRequest$outboundSchema.parse(getAllChecksRequest), + ); +} + +export function getAllChecksRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllChecksRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllChecksRequest' from JSON`, + ); +} + +/** @internal */ +export const GetAllChecksConclusion$inboundSchema: z.ZodNativeEnum< + typeof GetAllChecksConclusion +> = z.nativeEnum(GetAllChecksConclusion); + +/** @internal */ +export const GetAllChecksConclusion$outboundSchema: z.ZodNativeEnum< + typeof GetAllChecksConclusion +> = GetAllChecksConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllChecksConclusion$ { + /** @deprecated use `GetAllChecksConclusion$inboundSchema` instead. */ + export const inboundSchema = GetAllChecksConclusion$inboundSchema; + /** @deprecated use `GetAllChecksConclusion$outboundSchema` instead. */ + export const outboundSchema = GetAllChecksConclusion$outboundSchema; +} + +/** @internal */ +export const GetAllChecksSource$inboundSchema: z.ZodNativeEnum< + typeof GetAllChecksSource +> = z.nativeEnum(GetAllChecksSource); + +/** @internal */ +export const GetAllChecksSource$outboundSchema: z.ZodNativeEnum< + typeof GetAllChecksSource +> = GetAllChecksSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllChecksSource$ { + /** @deprecated use `GetAllChecksSource$inboundSchema` instead. */ + export const inboundSchema = GetAllChecksSource$inboundSchema; + /** @deprecated use `GetAllChecksSource$outboundSchema` instead. */ + export const outboundSchema = GetAllChecksSource$outboundSchema; +} + +/** @internal */ +export const GetAllChecksFCP$inboundSchema: z.ZodType< + GetAllChecksFCP, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetAllChecksSource$inboundSchema, +}); + +/** @internal */ +export type GetAllChecksFCP$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const GetAllChecksFCP$outboundSchema: z.ZodType< + GetAllChecksFCP$Outbound, + z.ZodTypeDef, + GetAllChecksFCP +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetAllChecksSource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllChecksFCP$ { + /** @deprecated use `GetAllChecksFCP$inboundSchema` instead. */ + export const inboundSchema = GetAllChecksFCP$inboundSchema; + /** @deprecated use `GetAllChecksFCP$outboundSchema` instead. */ + export const outboundSchema = GetAllChecksFCP$outboundSchema; + /** @deprecated use `GetAllChecksFCP$Outbound` instead. */ + export type Outbound = GetAllChecksFCP$Outbound; +} + +export function getAllChecksFCPToJSON( + getAllChecksFCP: GetAllChecksFCP, +): string { + return JSON.stringify(GetAllChecksFCP$outboundSchema.parse(getAllChecksFCP)); +} + +export function getAllChecksFCPFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllChecksFCP$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllChecksFCP' from JSON`, + ); +} + +/** @internal */ +export const GetAllChecksChecksSource$inboundSchema: z.ZodNativeEnum< + typeof GetAllChecksChecksSource +> = z.nativeEnum(GetAllChecksChecksSource); + +/** @internal */ +export const GetAllChecksChecksSource$outboundSchema: z.ZodNativeEnum< + typeof GetAllChecksChecksSource +> = GetAllChecksChecksSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllChecksChecksSource$ { + /** @deprecated use `GetAllChecksChecksSource$inboundSchema` instead. */ + export const inboundSchema = GetAllChecksChecksSource$inboundSchema; + /** @deprecated use `GetAllChecksChecksSource$outboundSchema` instead. */ + export const outboundSchema = GetAllChecksChecksSource$outboundSchema; +} + +/** @internal */ +export const GetAllChecksLCP$inboundSchema: z.ZodType< + GetAllChecksLCP, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetAllChecksChecksSource$inboundSchema, +}); + +/** @internal */ +export type GetAllChecksLCP$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const GetAllChecksLCP$outboundSchema: z.ZodType< + GetAllChecksLCP$Outbound, + z.ZodTypeDef, + GetAllChecksLCP +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetAllChecksChecksSource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllChecksLCP$ { + /** @deprecated use `GetAllChecksLCP$inboundSchema` instead. */ + export const inboundSchema = GetAllChecksLCP$inboundSchema; + /** @deprecated use `GetAllChecksLCP$outboundSchema` instead. */ + export const outboundSchema = GetAllChecksLCP$outboundSchema; + /** @deprecated use `GetAllChecksLCP$Outbound` instead. */ + export type Outbound = GetAllChecksLCP$Outbound; +} + +export function getAllChecksLCPToJSON( + getAllChecksLCP: GetAllChecksLCP, +): string { + return JSON.stringify(GetAllChecksLCP$outboundSchema.parse(getAllChecksLCP)); +} + +export function getAllChecksLCPFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllChecksLCP$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllChecksLCP' from JSON`, + ); +} + +/** @internal */ +export const GetAllChecksChecksResponseSource$inboundSchema: z.ZodNativeEnum< + typeof GetAllChecksChecksResponseSource +> = z.nativeEnum(GetAllChecksChecksResponseSource); + +/** @internal */ +export const GetAllChecksChecksResponseSource$outboundSchema: z.ZodNativeEnum< + typeof GetAllChecksChecksResponseSource +> = GetAllChecksChecksResponseSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllChecksChecksResponseSource$ { + /** @deprecated use `GetAllChecksChecksResponseSource$inboundSchema` instead. */ + export const inboundSchema = GetAllChecksChecksResponseSource$inboundSchema; + /** @deprecated use `GetAllChecksChecksResponseSource$outboundSchema` instead. */ + export const outboundSchema = GetAllChecksChecksResponseSource$outboundSchema; +} + +/** @internal */ +export const GetAllChecksCLS$inboundSchema: z.ZodType< + GetAllChecksCLS, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetAllChecksChecksResponseSource$inboundSchema, +}); + +/** @internal */ +export type GetAllChecksCLS$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const GetAllChecksCLS$outboundSchema: z.ZodType< + GetAllChecksCLS$Outbound, + z.ZodTypeDef, + GetAllChecksCLS +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetAllChecksChecksResponseSource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllChecksCLS$ { + /** @deprecated use `GetAllChecksCLS$inboundSchema` instead. */ + export const inboundSchema = GetAllChecksCLS$inboundSchema; + /** @deprecated use `GetAllChecksCLS$outboundSchema` instead. */ + export const outboundSchema = GetAllChecksCLS$outboundSchema; + /** @deprecated use `GetAllChecksCLS$Outbound` instead. */ + export type Outbound = GetAllChecksCLS$Outbound; +} + +export function getAllChecksCLSToJSON( + getAllChecksCLS: GetAllChecksCLS, +): string { + return JSON.stringify(GetAllChecksCLS$outboundSchema.parse(getAllChecksCLS)); +} + +export function getAllChecksCLSFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllChecksCLS$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllChecksCLS' from JSON`, + ); +} + +/** @internal */ +export const GetAllChecksChecksResponse200Source$inboundSchema: z.ZodNativeEnum< + typeof GetAllChecksChecksResponse200Source +> = z.nativeEnum(GetAllChecksChecksResponse200Source); + +/** @internal */ +export const GetAllChecksChecksResponse200Source$outboundSchema: + z.ZodNativeEnum = + GetAllChecksChecksResponse200Source$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllChecksChecksResponse200Source$ { + /** @deprecated use `GetAllChecksChecksResponse200Source$inboundSchema` instead. */ + export const inboundSchema = + GetAllChecksChecksResponse200Source$inboundSchema; + /** @deprecated use `GetAllChecksChecksResponse200Source$outboundSchema` instead. */ + export const outboundSchema = + GetAllChecksChecksResponse200Source$outboundSchema; +} + +/** @internal */ +export const GetAllChecksTBT$inboundSchema: z.ZodType< + GetAllChecksTBT, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetAllChecksChecksResponse200Source$inboundSchema, +}); + +/** @internal */ +export type GetAllChecksTBT$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const GetAllChecksTBT$outboundSchema: z.ZodType< + GetAllChecksTBT$Outbound, + z.ZodTypeDef, + GetAllChecksTBT +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetAllChecksChecksResponse200Source$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllChecksTBT$ { + /** @deprecated use `GetAllChecksTBT$inboundSchema` instead. */ + export const inboundSchema = GetAllChecksTBT$inboundSchema; + /** @deprecated use `GetAllChecksTBT$outboundSchema` instead. */ + export const outboundSchema = GetAllChecksTBT$outboundSchema; + /** @deprecated use `GetAllChecksTBT$Outbound` instead. */ + export type Outbound = GetAllChecksTBT$Outbound; +} + +export function getAllChecksTBTToJSON( + getAllChecksTBT: GetAllChecksTBT, +): string { + return JSON.stringify(GetAllChecksTBT$outboundSchema.parse(getAllChecksTBT)); +} + +export function getAllChecksTBTFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllChecksTBT$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllChecksTBT' from JSON`, + ); +} + +/** @internal */ +export const GetAllChecksChecksResponse200ApplicationJSONSource$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAllChecksChecksResponse200ApplicationJSONSource); + +/** @internal */ +export const GetAllChecksChecksResponse200ApplicationJSONSource$outboundSchema: + z.ZodNativeEnum = + GetAllChecksChecksResponse200ApplicationJSONSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllChecksChecksResponse200ApplicationJSONSource$ { + /** @deprecated use `GetAllChecksChecksResponse200ApplicationJSONSource$inboundSchema` instead. */ + export const inboundSchema = + GetAllChecksChecksResponse200ApplicationJSONSource$inboundSchema; + /** @deprecated use `GetAllChecksChecksResponse200ApplicationJSONSource$outboundSchema` instead. */ + export const outboundSchema = + GetAllChecksChecksResponse200ApplicationJSONSource$outboundSchema; +} + +/** @internal */ +export const GetAllChecksVirtualExperienceScore$inboundSchema: z.ZodType< + GetAllChecksVirtualExperienceScore, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetAllChecksChecksResponse200ApplicationJSONSource$inboundSchema, +}); + +/** @internal */ +export type GetAllChecksVirtualExperienceScore$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const GetAllChecksVirtualExperienceScore$outboundSchema: z.ZodType< + GetAllChecksVirtualExperienceScore$Outbound, + z.ZodTypeDef, + GetAllChecksVirtualExperienceScore +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetAllChecksChecksResponse200ApplicationJSONSource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllChecksVirtualExperienceScore$ { + /** @deprecated use `GetAllChecksVirtualExperienceScore$inboundSchema` instead. */ + export const inboundSchema = GetAllChecksVirtualExperienceScore$inboundSchema; + /** @deprecated use `GetAllChecksVirtualExperienceScore$outboundSchema` instead. */ + export const outboundSchema = + GetAllChecksVirtualExperienceScore$outboundSchema; + /** @deprecated use `GetAllChecksVirtualExperienceScore$Outbound` instead. */ + export type Outbound = GetAllChecksVirtualExperienceScore$Outbound; +} + +export function getAllChecksVirtualExperienceScoreToJSON( + getAllChecksVirtualExperienceScore: GetAllChecksVirtualExperienceScore, +): string { + return JSON.stringify( + GetAllChecksVirtualExperienceScore$outboundSchema.parse( + getAllChecksVirtualExperienceScore, + ), + ); +} + +export function getAllChecksVirtualExperienceScoreFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetAllChecksVirtualExperienceScore$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllChecksVirtualExperienceScore' from JSON`, + ); +} + +/** @internal */ +export const GetAllChecksMetrics$inboundSchema: z.ZodType< + GetAllChecksMetrics, + z.ZodTypeDef, + unknown +> = z.object({ + FCP: z.lazy(() => GetAllChecksFCP$inboundSchema), + LCP: z.lazy(() => GetAllChecksLCP$inboundSchema), + CLS: z.lazy(() => GetAllChecksCLS$inboundSchema), + TBT: z.lazy(() => GetAllChecksTBT$inboundSchema), + virtualExperienceScore: z.lazy(() => + GetAllChecksVirtualExperienceScore$inboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + "FCP": "fcp", + "LCP": "lcp", + "CLS": "cls", + "TBT": "tbt", + }); +}); + +/** @internal */ +export type GetAllChecksMetrics$Outbound = { + FCP: GetAllChecksFCP$Outbound; + LCP: GetAllChecksLCP$Outbound; + CLS: GetAllChecksCLS$Outbound; + TBT: GetAllChecksTBT$Outbound; + virtualExperienceScore?: + | GetAllChecksVirtualExperienceScore$Outbound + | undefined; +}; + +/** @internal */ +export const GetAllChecksMetrics$outboundSchema: z.ZodType< + GetAllChecksMetrics$Outbound, + z.ZodTypeDef, + GetAllChecksMetrics +> = z.object({ + fcp: z.lazy(() => GetAllChecksFCP$outboundSchema), + lcp: z.lazy(() => GetAllChecksLCP$outboundSchema), + cls: z.lazy(() => GetAllChecksCLS$outboundSchema), + tbt: z.lazy(() => GetAllChecksTBT$outboundSchema), + virtualExperienceScore: z.lazy(() => + GetAllChecksVirtualExperienceScore$outboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + fcp: "FCP", + lcp: "LCP", + cls: "CLS", + tbt: "TBT", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllChecksMetrics$ { + /** @deprecated use `GetAllChecksMetrics$inboundSchema` instead. */ + export const inboundSchema = GetAllChecksMetrics$inboundSchema; + /** @deprecated use `GetAllChecksMetrics$outboundSchema` instead. */ + export const outboundSchema = GetAllChecksMetrics$outboundSchema; + /** @deprecated use `GetAllChecksMetrics$Outbound` instead. */ + export type Outbound = GetAllChecksMetrics$Outbound; +} + +export function getAllChecksMetricsToJSON( + getAllChecksMetrics: GetAllChecksMetrics, +): string { + return JSON.stringify( + GetAllChecksMetrics$outboundSchema.parse(getAllChecksMetrics), + ); +} + +export function getAllChecksMetricsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllChecksMetrics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllChecksMetrics' from JSON`, + ); +} + +/** @internal */ +export const GetAllChecksOutput$inboundSchema: z.ZodType< + GetAllChecksOutput, + z.ZodTypeDef, + unknown +> = z.object({ + metrics: z.lazy(() => GetAllChecksMetrics$inboundSchema).optional(), +}); + +/** @internal */ +export type GetAllChecksOutput$Outbound = { + metrics?: GetAllChecksMetrics$Outbound | undefined; +}; + +/** @internal */ +export const GetAllChecksOutput$outboundSchema: z.ZodType< + GetAllChecksOutput$Outbound, + z.ZodTypeDef, + GetAllChecksOutput +> = z.object({ + metrics: z.lazy(() => GetAllChecksMetrics$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllChecksOutput$ { + /** @deprecated use `GetAllChecksOutput$inboundSchema` instead. */ + export const inboundSchema = GetAllChecksOutput$inboundSchema; + /** @deprecated use `GetAllChecksOutput$outboundSchema` instead. */ + export const outboundSchema = GetAllChecksOutput$outboundSchema; + /** @deprecated use `GetAllChecksOutput$Outbound` instead. */ + export type Outbound = GetAllChecksOutput$Outbound; +} + +export function getAllChecksOutputToJSON( + getAllChecksOutput: GetAllChecksOutput, +): string { + return JSON.stringify( + GetAllChecksOutput$outboundSchema.parse(getAllChecksOutput), + ); +} + +export function getAllChecksOutputFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllChecksOutput$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllChecksOutput' from JSON`, + ); +} + +/** @internal */ +export const GetAllChecksStatus$inboundSchema: z.ZodNativeEnum< + typeof GetAllChecksStatus +> = z.nativeEnum(GetAllChecksStatus); + +/** @internal */ +export const GetAllChecksStatus$outboundSchema: z.ZodNativeEnum< + typeof GetAllChecksStatus +> = GetAllChecksStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllChecksStatus$ { + /** @deprecated use `GetAllChecksStatus$inboundSchema` instead. */ + export const inboundSchema = GetAllChecksStatus$inboundSchema; + /** @deprecated use `GetAllChecksStatus$outboundSchema` instead. */ + export const outboundSchema = GetAllChecksStatus$outboundSchema; +} + +/** @internal */ +export const Checks$inboundSchema: z.ZodType = z + .object({ + completedAt: z.number().optional(), + conclusion: GetAllChecksConclusion$inboundSchema.optional(), + createdAt: z.number(), + detailsUrl: z.string().optional(), + id: z.string(), + integrationId: z.string(), + name: z.string(), + output: z.lazy(() => GetAllChecksOutput$inboundSchema).optional(), + path: z.string().optional(), + rerequestable: z.boolean(), + startedAt: z.number().optional(), + status: GetAllChecksStatus$inboundSchema, + updatedAt: z.number(), + }); + +/** @internal */ +export type Checks$Outbound = { + completedAt?: number | undefined; + conclusion?: string | undefined; + createdAt: number; + detailsUrl?: string | undefined; + id: string; + integrationId: string; + name: string; + output?: GetAllChecksOutput$Outbound | undefined; + path?: string | undefined; + rerequestable: boolean; + startedAt?: number | undefined; + status: string; + updatedAt: number; +}; + +/** @internal */ +export const Checks$outboundSchema: z.ZodType< + Checks$Outbound, + z.ZodTypeDef, + Checks +> = z.object({ + completedAt: z.number().optional(), + conclusion: GetAllChecksConclusion$outboundSchema.optional(), + createdAt: z.number(), + detailsUrl: z.string().optional(), + id: z.string(), + integrationId: z.string(), + name: z.string(), + output: z.lazy(() => GetAllChecksOutput$outboundSchema).optional(), + path: z.string().optional(), + rerequestable: z.boolean(), + startedAt: z.number().optional(), + status: GetAllChecksStatus$outboundSchema, + updatedAt: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Checks$ { + /** @deprecated use `Checks$inboundSchema` instead. */ + export const inboundSchema = Checks$inboundSchema; + /** @deprecated use `Checks$outboundSchema` instead. */ + export const outboundSchema = Checks$outboundSchema; + /** @deprecated use `Checks$Outbound` instead. */ + export type Outbound = Checks$Outbound; +} + +export function checksToJSON(checks: Checks): string { + return JSON.stringify(Checks$outboundSchema.parse(checks)); +} + +export function checksFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Checks$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Checks' from JSON`, + ); +} + +/** @internal */ +export const GetAllChecksResponseBody$inboundSchema: z.ZodType< + GetAllChecksResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + checks: z.array(z.lazy(() => Checks$inboundSchema)), +}); + +/** @internal */ +export type GetAllChecksResponseBody$Outbound = { + checks: Array; +}; + +/** @internal */ +export const GetAllChecksResponseBody$outboundSchema: z.ZodType< + GetAllChecksResponseBody$Outbound, + z.ZodTypeDef, + GetAllChecksResponseBody +> = z.object({ + checks: z.array(z.lazy(() => Checks$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllChecksResponseBody$ { + /** @deprecated use `GetAllChecksResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetAllChecksResponseBody$inboundSchema; + /** @deprecated use `GetAllChecksResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetAllChecksResponseBody$outboundSchema; + /** @deprecated use `GetAllChecksResponseBody$Outbound` instead. */ + export type Outbound = GetAllChecksResponseBody$Outbound; +} + +export function getAllChecksResponseBodyToJSON( + getAllChecksResponseBody: GetAllChecksResponseBody, +): string { + return JSON.stringify( + GetAllChecksResponseBody$outboundSchema.parse(getAllChecksResponseBody), + ); +} + +export function getAllChecksResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllChecksResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllChecksResponseBody' from JSON`, + ); +} diff --git a/src/models/getalllogdrainsop.ts b/src/models/getalllogdrainsop.ts new file mode 100644 index 00000000..d27576c8 --- /dev/null +++ b/src/models/getalllogdrainsop.ts @@ -0,0 +1,411 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetAllLogDrainsRequest = { + projectId?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export const GetAllLogDrainsDeliveryFormat = { + Json: "json", + Ndjson: "ndjson", + Syslog: "syslog", +} as const; +export type GetAllLogDrainsDeliveryFormat = ClosedEnum< + typeof GetAllLogDrainsDeliveryFormat +>; + +export const GetAllLogDrainsSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", +} as const; +export type GetAllLogDrainsSources = ClosedEnum; + +export const GetAllLogDrainsEnvironments = { + Production: "production", + Preview: "preview", +} as const; +export type GetAllLogDrainsEnvironments = ClosedEnum< + typeof GetAllLogDrainsEnvironments +>; + +export const GetAllLogDrainsStatus = { + Enabled: "enabled", + Disabled: "disabled", + Errored: "errored", +} as const; +export type GetAllLogDrainsStatus = ClosedEnum; + +export const GetAllLogDrainsDisabledReason = { + DisabledByOwner: "disabled-by-owner", + FeatureNotAvailable: "feature-not-available", + AccountPlanDowngrade: "account-plan-downgrade", + DisabledByAdmin: "disabled-by-admin", +} as const; +export type GetAllLogDrainsDisabledReason = ClosedEnum< + typeof GetAllLogDrainsDisabledReason +>; + +export const GetAllLogDrainsCreatedFrom = { + SelfServed: "self-served", + Integration: "integration", +} as const; +export type GetAllLogDrainsCreatedFrom = ClosedEnum< + typeof GetAllLogDrainsCreatedFrom +>; + +export type GetAllLogDrainsResponseBody = { + id: string; + deliveryFormat: GetAllLogDrainsDeliveryFormat; + url: string; + name: string; + clientId?: string | undefined; + configurationId?: string | undefined; + teamId?: string | null | undefined; + ownerId: string; + projectIds?: Array | undefined; + createdAt: number; + deletedAt: number | null; + updatedAt: number; + sources?: Array | undefined; + headers?: { [k: string]: string } | undefined; + environments: Array; + status?: GetAllLogDrainsStatus | undefined; + disabledAt?: number | undefined; + disabledReason?: GetAllLogDrainsDisabledReason | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + samplingRate?: number | undefined; + hideIpAddresses?: boolean | undefined; + secret?: string | undefined; + createdFrom?: GetAllLogDrainsCreatedFrom | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsRequest$inboundSchema: z.ZodType< + GetAllLogDrainsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetAllLogDrainsRequest$Outbound = { + projectId?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsRequest$outboundSchema: z.ZodType< + GetAllLogDrainsRequest$Outbound, + z.ZodTypeDef, + GetAllLogDrainsRequest +> = z.object({ + projectId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllLogDrainsRequest$ { + /** @deprecated use `GetAllLogDrainsRequest$inboundSchema` instead. */ + export const inboundSchema = GetAllLogDrainsRequest$inboundSchema; + /** @deprecated use `GetAllLogDrainsRequest$outboundSchema` instead. */ + export const outboundSchema = GetAllLogDrainsRequest$outboundSchema; + /** @deprecated use `GetAllLogDrainsRequest$Outbound` instead. */ + export type Outbound = GetAllLogDrainsRequest$Outbound; +} + +export function getAllLogDrainsRequestToJSON( + getAllLogDrainsRequest: GetAllLogDrainsRequest, +): string { + return JSON.stringify( + GetAllLogDrainsRequest$outboundSchema.parse(getAllLogDrainsRequest), + ); +} + +export function getAllLogDrainsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsRequest' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDeliveryFormat$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryFormat +> = z.nativeEnum(GetAllLogDrainsDeliveryFormat); + +/** @internal */ +export const GetAllLogDrainsDeliveryFormat$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryFormat +> = GetAllLogDrainsDeliveryFormat$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllLogDrainsDeliveryFormat$ { + /** @deprecated use `GetAllLogDrainsDeliveryFormat$inboundSchema` instead. */ + export const inboundSchema = GetAllLogDrainsDeliveryFormat$inboundSchema; + /** @deprecated use `GetAllLogDrainsDeliveryFormat$outboundSchema` instead. */ + export const outboundSchema = GetAllLogDrainsDeliveryFormat$outboundSchema; +} + +/** @internal */ +export const GetAllLogDrainsSources$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsSources +> = z.nativeEnum(GetAllLogDrainsSources); + +/** @internal */ +export const GetAllLogDrainsSources$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsSources +> = GetAllLogDrainsSources$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllLogDrainsSources$ { + /** @deprecated use `GetAllLogDrainsSources$inboundSchema` instead. */ + export const inboundSchema = GetAllLogDrainsSources$inboundSchema; + /** @deprecated use `GetAllLogDrainsSources$outboundSchema` instead. */ + export const outboundSchema = GetAllLogDrainsSources$outboundSchema; +} + +/** @internal */ +export const GetAllLogDrainsEnvironments$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsEnvironments +> = z.nativeEnum(GetAllLogDrainsEnvironments); + +/** @internal */ +export const GetAllLogDrainsEnvironments$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsEnvironments +> = GetAllLogDrainsEnvironments$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllLogDrainsEnvironments$ { + /** @deprecated use `GetAllLogDrainsEnvironments$inboundSchema` instead. */ + export const inboundSchema = GetAllLogDrainsEnvironments$inboundSchema; + /** @deprecated use `GetAllLogDrainsEnvironments$outboundSchema` instead. */ + export const outboundSchema = GetAllLogDrainsEnvironments$outboundSchema; +} + +/** @internal */ +export const GetAllLogDrainsStatus$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsStatus +> = z.nativeEnum(GetAllLogDrainsStatus); + +/** @internal */ +export const GetAllLogDrainsStatus$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsStatus +> = GetAllLogDrainsStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllLogDrainsStatus$ { + /** @deprecated use `GetAllLogDrainsStatus$inboundSchema` instead. */ + export const inboundSchema = GetAllLogDrainsStatus$inboundSchema; + /** @deprecated use `GetAllLogDrainsStatus$outboundSchema` instead. */ + export const outboundSchema = GetAllLogDrainsStatus$outboundSchema; +} + +/** @internal */ +export const GetAllLogDrainsDisabledReason$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDisabledReason +> = z.nativeEnum(GetAllLogDrainsDisabledReason); + +/** @internal */ +export const GetAllLogDrainsDisabledReason$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDisabledReason +> = GetAllLogDrainsDisabledReason$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllLogDrainsDisabledReason$ { + /** @deprecated use `GetAllLogDrainsDisabledReason$inboundSchema` instead. */ + export const inboundSchema = GetAllLogDrainsDisabledReason$inboundSchema; + /** @deprecated use `GetAllLogDrainsDisabledReason$outboundSchema` instead. */ + export const outboundSchema = GetAllLogDrainsDisabledReason$outboundSchema; +} + +/** @internal */ +export const GetAllLogDrainsCreatedFrom$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsCreatedFrom +> = z.nativeEnum(GetAllLogDrainsCreatedFrom); + +/** @internal */ +export const GetAllLogDrainsCreatedFrom$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsCreatedFrom +> = GetAllLogDrainsCreatedFrom$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllLogDrainsCreatedFrom$ { + /** @deprecated use `GetAllLogDrainsCreatedFrom$inboundSchema` instead. */ + export const inboundSchema = GetAllLogDrainsCreatedFrom$inboundSchema; + /** @deprecated use `GetAllLogDrainsCreatedFrom$outboundSchema` instead. */ + export const outboundSchema = GetAllLogDrainsCreatedFrom$outboundSchema; +} + +/** @internal */ +export const GetAllLogDrainsResponseBody$inboundSchema: z.ZodType< + GetAllLogDrainsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + deliveryFormat: GetAllLogDrainsDeliveryFormat$inboundSchema, + url: z.string(), + name: z.string(), + clientId: z.string().optional(), + configurationId: z.string().optional(), + teamId: z.nullable(z.string()).optional(), + ownerId: z.string(), + projectIds: z.array(z.string()).optional(), + createdAt: z.number(), + deletedAt: z.nullable(z.number()), + updatedAt: z.number(), + sources: z.array(GetAllLogDrainsSources$inboundSchema).optional(), + headers: z.record(z.string()).optional(), + environments: z.array(GetAllLogDrainsEnvironments$inboundSchema), + status: GetAllLogDrainsStatus$inboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: GetAllLogDrainsDisabledReason$inboundSchema.optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + samplingRate: z.number().optional(), + hideIpAddresses: z.boolean().optional(), + secret: z.string().optional(), + createdFrom: GetAllLogDrainsCreatedFrom$inboundSchema.optional(), +}); + +/** @internal */ +export type GetAllLogDrainsResponseBody$Outbound = { + id: string; + deliveryFormat: string; + url: string; + name: string; + clientId?: string | undefined; + configurationId?: string | undefined; + teamId?: string | null | undefined; + ownerId: string; + projectIds?: Array | undefined; + createdAt: number; + deletedAt: number | null; + updatedAt: number; + sources?: Array | undefined; + headers?: { [k: string]: string } | undefined; + environments: Array; + status?: string | undefined; + disabledAt?: number | undefined; + disabledReason?: string | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + samplingRate?: number | undefined; + hideIpAddresses?: boolean | undefined; + secret?: string | undefined; + createdFrom?: string | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsResponseBody$outboundSchema: z.ZodType< + GetAllLogDrainsResponseBody$Outbound, + z.ZodTypeDef, + GetAllLogDrainsResponseBody +> = z.object({ + id: z.string(), + deliveryFormat: GetAllLogDrainsDeliveryFormat$outboundSchema, + url: z.string(), + name: z.string(), + clientId: z.string().optional(), + configurationId: z.string().optional(), + teamId: z.nullable(z.string()).optional(), + ownerId: z.string(), + projectIds: z.array(z.string()).optional(), + createdAt: z.number(), + deletedAt: z.nullable(z.number()), + updatedAt: z.number(), + sources: z.array(GetAllLogDrainsSources$outboundSchema).optional(), + headers: z.record(z.string()).optional(), + environments: z.array(GetAllLogDrainsEnvironments$outboundSchema), + status: GetAllLogDrainsStatus$outboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: GetAllLogDrainsDisabledReason$outboundSchema.optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + samplingRate: z.number().optional(), + hideIpAddresses: z.boolean().optional(), + secret: z.string().optional(), + createdFrom: GetAllLogDrainsCreatedFrom$outboundSchema.optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAllLogDrainsResponseBody$ { + /** @deprecated use `GetAllLogDrainsResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetAllLogDrainsResponseBody$inboundSchema; + /** @deprecated use `GetAllLogDrainsResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetAllLogDrainsResponseBody$outboundSchema; + /** @deprecated use `GetAllLogDrainsResponseBody$Outbound` instead. */ + export type Outbound = GetAllLogDrainsResponseBody$Outbound; +} + +export function getAllLogDrainsResponseBodyToJSON( + getAllLogDrainsResponseBody: GetAllLogDrainsResponseBody, +): string { + return JSON.stringify( + GetAllLogDrainsResponseBody$outboundSchema.parse( + getAllLogDrainsResponseBody, + ), + ); +} + +export function getAllLogDrainsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsResponseBody' from JSON`, + ); +} diff --git a/src/models/getauthtokenop.ts b/src/models/getauthtokenop.ts new file mode 100644 index 00000000..96e41e5b --- /dev/null +++ b/src/models/getauthtokenop.ts @@ -0,0 +1,139 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + AuthToken, + AuthToken$inboundSchema, + AuthToken$Outbound, + AuthToken$outboundSchema, +} from "./authtoken.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetAuthTokenRequest = { + /** + * The identifier of the token to retrieve. The special value \"current\" may be supplied, which returns the metadata for the token that the current HTTP request is authenticated with. + */ + tokenId: string; +}; + +/** + * Successful response. + */ +export type GetAuthTokenResponseBody = { + /** + * Authentication token metadata. + */ + token: AuthToken; +}; + +/** @internal */ +export const GetAuthTokenRequest$inboundSchema: z.ZodType< + GetAuthTokenRequest, + z.ZodTypeDef, + unknown +> = z.object({ + tokenId: z.string(), +}); + +/** @internal */ +export type GetAuthTokenRequest$Outbound = { + tokenId: string; +}; + +/** @internal */ +export const GetAuthTokenRequest$outboundSchema: z.ZodType< + GetAuthTokenRequest$Outbound, + z.ZodTypeDef, + GetAuthTokenRequest +> = z.object({ + tokenId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAuthTokenRequest$ { + /** @deprecated use `GetAuthTokenRequest$inboundSchema` instead. */ + export const inboundSchema = GetAuthTokenRequest$inboundSchema; + /** @deprecated use `GetAuthTokenRequest$outboundSchema` instead. */ + export const outboundSchema = GetAuthTokenRequest$outboundSchema; + /** @deprecated use `GetAuthTokenRequest$Outbound` instead. */ + export type Outbound = GetAuthTokenRequest$Outbound; +} + +export function getAuthTokenRequestToJSON( + getAuthTokenRequest: GetAuthTokenRequest, +): string { + return JSON.stringify( + GetAuthTokenRequest$outboundSchema.parse(getAuthTokenRequest), + ); +} + +export function getAuthTokenRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAuthTokenRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAuthTokenRequest' from JSON`, + ); +} + +/** @internal */ +export const GetAuthTokenResponseBody$inboundSchema: z.ZodType< + GetAuthTokenResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + token: AuthToken$inboundSchema, +}); + +/** @internal */ +export type GetAuthTokenResponseBody$Outbound = { + token: AuthToken$Outbound; +}; + +/** @internal */ +export const GetAuthTokenResponseBody$outboundSchema: z.ZodType< + GetAuthTokenResponseBody$Outbound, + z.ZodTypeDef, + GetAuthTokenResponseBody +> = z.object({ + token: AuthToken$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAuthTokenResponseBody$ { + /** @deprecated use `GetAuthTokenResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetAuthTokenResponseBody$inboundSchema; + /** @deprecated use `GetAuthTokenResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetAuthTokenResponseBody$outboundSchema; + /** @deprecated use `GetAuthTokenResponseBody$Outbound` instead. */ + export type Outbound = GetAuthTokenResponseBody$Outbound; +} + +export function getAuthTokenResponseBodyToJSON( + getAuthTokenResponseBody: GetAuthTokenResponseBody, +): string { + return JSON.stringify( + GetAuthTokenResponseBody$outboundSchema.parse(getAuthTokenResponseBody), + ); +} + +export function getAuthTokenResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAuthTokenResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAuthTokenResponseBody' from JSON`, + ); +} diff --git a/src/models/getauthuserop.ts b/src/models/getauthuserop.ts new file mode 100644 index 00000000..17d0126a --- /dev/null +++ b/src/models/getauthuserop.ts @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + AuthUser, + AuthUser$inboundSchema, + AuthUser$Outbound, + AuthUser$outboundSchema, +} from "./authuser.js"; +import { + AuthUserLimited, + AuthUserLimited$inboundSchema, + AuthUserLimited$Outbound, + AuthUserLimited$outboundSchema, +} from "./authuserlimited.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type User = AuthUserLimited | AuthUser; + +/** + * Successful response. + */ +export type GetAuthUserResponseBody = { + user: AuthUserLimited | AuthUser; +}; + +/** @internal */ +export const User$inboundSchema: z.ZodType = z + .union([AuthUserLimited$inboundSchema, AuthUser$inboundSchema]); + +/** @internal */ +export type User$Outbound = AuthUserLimited$Outbound | AuthUser$Outbound; + +/** @internal */ +export const User$outboundSchema: z.ZodType = + z.union([AuthUserLimited$outboundSchema, AuthUser$outboundSchema]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace User$ { + /** @deprecated use `User$inboundSchema` instead. */ + export const inboundSchema = User$inboundSchema; + /** @deprecated use `User$outboundSchema` instead. */ + export const outboundSchema = User$outboundSchema; + /** @deprecated use `User$Outbound` instead. */ + export type Outbound = User$Outbound; +} + +export function userToJSON(user: User): string { + return JSON.stringify(User$outboundSchema.parse(user)); +} + +export function userFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => User$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'User' from JSON`, + ); +} + +/** @internal */ +export const GetAuthUserResponseBody$inboundSchema: z.ZodType< + GetAuthUserResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + user: z.union([AuthUserLimited$inboundSchema, AuthUser$inboundSchema]), +}); + +/** @internal */ +export type GetAuthUserResponseBody$Outbound = { + user: AuthUserLimited$Outbound | AuthUser$Outbound; +}; + +/** @internal */ +export const GetAuthUserResponseBody$outboundSchema: z.ZodType< + GetAuthUserResponseBody$Outbound, + z.ZodTypeDef, + GetAuthUserResponseBody +> = z.object({ + user: z.union([AuthUserLimited$outboundSchema, AuthUser$outboundSchema]), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAuthUserResponseBody$ { + /** @deprecated use `GetAuthUserResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetAuthUserResponseBody$inboundSchema; + /** @deprecated use `GetAuthUserResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetAuthUserResponseBody$outboundSchema; + /** @deprecated use `GetAuthUserResponseBody$Outbound` instead. */ + export type Outbound = GetAuthUserResponseBody$Outbound; +} + +export function getAuthUserResponseBodyToJSON( + getAuthUserResponseBody: GetAuthUserResponseBody, +): string { + return JSON.stringify( + GetAuthUserResponseBody$outboundSchema.parse(getAuthUserResponseBody), + ); +} + +export function getAuthUserResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAuthUserResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAuthUserResponseBody' from JSON`, + ); +} diff --git a/src/models/getcertbyidop.ts b/src/models/getcertbyidop.ts new file mode 100644 index 00000000..26f2ac84 --- /dev/null +++ b/src/models/getcertbyidop.ts @@ -0,0 +1,157 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetCertByIdRequest = { + /** + * The cert id + */ + id: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export type GetCertByIdResponseBody = { + id: string; + createdAt: number; + expiresAt: number; + autoRenew: boolean; + cns: Array; +}; + +/** @internal */ +export const GetCertByIdRequest$inboundSchema: z.ZodType< + GetCertByIdRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetCertByIdRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetCertByIdRequest$outboundSchema: z.ZodType< + GetCertByIdRequest$Outbound, + z.ZodTypeDef, + GetCertByIdRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCertByIdRequest$ { + /** @deprecated use `GetCertByIdRequest$inboundSchema` instead. */ + export const inboundSchema = GetCertByIdRequest$inboundSchema; + /** @deprecated use `GetCertByIdRequest$outboundSchema` instead. */ + export const outboundSchema = GetCertByIdRequest$outboundSchema; + /** @deprecated use `GetCertByIdRequest$Outbound` instead. */ + export type Outbound = GetCertByIdRequest$Outbound; +} + +export function getCertByIdRequestToJSON( + getCertByIdRequest: GetCertByIdRequest, +): string { + return JSON.stringify( + GetCertByIdRequest$outboundSchema.parse(getCertByIdRequest), + ); +} + +export function getCertByIdRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetCertByIdRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetCertByIdRequest' from JSON`, + ); +} + +/** @internal */ +export const GetCertByIdResponseBody$inboundSchema: z.ZodType< + GetCertByIdResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + createdAt: z.number(), + expiresAt: z.number(), + autoRenew: z.boolean(), + cns: z.array(z.string()), +}); + +/** @internal */ +export type GetCertByIdResponseBody$Outbound = { + id: string; + createdAt: number; + expiresAt: number; + autoRenew: boolean; + cns: Array; +}; + +/** @internal */ +export const GetCertByIdResponseBody$outboundSchema: z.ZodType< + GetCertByIdResponseBody$Outbound, + z.ZodTypeDef, + GetCertByIdResponseBody +> = z.object({ + id: z.string(), + createdAt: z.number(), + expiresAt: z.number(), + autoRenew: z.boolean(), + cns: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCertByIdResponseBody$ { + /** @deprecated use `GetCertByIdResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetCertByIdResponseBody$inboundSchema; + /** @deprecated use `GetCertByIdResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetCertByIdResponseBody$outboundSchema; + /** @deprecated use `GetCertByIdResponseBody$Outbound` instead. */ + export type Outbound = GetCertByIdResponseBody$Outbound; +} + +export function getCertByIdResponseBodyToJSON( + getCertByIdResponseBody: GetCertByIdResponseBody, +): string { + return JSON.stringify( + GetCertByIdResponseBody$outboundSchema.parse(getCertByIdResponseBody), + ); +} + +export function getCertByIdResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetCertByIdResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetCertByIdResponseBody' from JSON`, + ); +} diff --git a/src/models/getcheckop.ts b/src/models/getcheckop.ts new file mode 100644 index 00000000..a06b2f72 --- /dev/null +++ b/src/models/getcheckop.ts @@ -0,0 +1,865 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetCheckRequest = { + /** + * The deployment to get the check for. + */ + deploymentId: string; + /** + * The check to fetch + */ + checkId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export const GetCheckStatus = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +export type GetCheckStatus = ClosedEnum; + +export const GetCheckConclusion = { + Canceled: "canceled", + Failed: "failed", + Neutral: "neutral", + Succeeded: "succeeded", + Skipped: "skipped", + Stale: "stale", +} as const; +export type GetCheckConclusion = ClosedEnum; + +export const GetCheckSource = { + WebVitals: "web-vitals", +} as const; +export type GetCheckSource = ClosedEnum; + +export type GetCheckFCP = { + value: number | null; + previousValue?: number | undefined; + source: GetCheckSource; +}; + +export const GetCheckChecksSource = { + WebVitals: "web-vitals", +} as const; +export type GetCheckChecksSource = ClosedEnum; + +export type GetCheckLCP = { + value: number | null; + previousValue?: number | undefined; + source: GetCheckChecksSource; +}; + +export const GetCheckChecksResponseSource = { + WebVitals: "web-vitals", +} as const; +export type GetCheckChecksResponseSource = ClosedEnum< + typeof GetCheckChecksResponseSource +>; + +export type GetCheckCLS = { + value: number | null; + previousValue?: number | undefined; + source: GetCheckChecksResponseSource; +}; + +export const GetCheckChecksResponse200Source = { + WebVitals: "web-vitals", +} as const; +export type GetCheckChecksResponse200Source = ClosedEnum< + typeof GetCheckChecksResponse200Source +>; + +export type GetCheckTBT = { + value: number | null; + previousValue?: number | undefined; + source: GetCheckChecksResponse200Source; +}; + +export const GetCheckChecksResponse200ApplicationJSONSource = { + WebVitals: "web-vitals", +} as const; +export type GetCheckChecksResponse200ApplicationJSONSource = ClosedEnum< + typeof GetCheckChecksResponse200ApplicationJSONSource +>; + +export type GetCheckVirtualExperienceScore = { + value: number | null; + previousValue?: number | undefined; + source: GetCheckChecksResponse200ApplicationJSONSource; +}; + +export type GetCheckMetrics = { + fcp: GetCheckFCP; + lcp: GetCheckLCP; + cls: GetCheckCLS; + tbt: GetCheckTBT; + virtualExperienceScore?: GetCheckVirtualExperienceScore | undefined; +}; + +export type GetCheckOutput = { + metrics?: GetCheckMetrics | undefined; +}; + +export type GetCheckResponseBody = { + id: string; + name: string; + path?: string | undefined; + status: GetCheckStatus; + conclusion?: GetCheckConclusion | undefined; + blocking: boolean; + output?: GetCheckOutput | undefined; + detailsUrl?: string | undefined; + integrationId: string; + deploymentId: string; + externalId?: string | undefined; + createdAt: number; + updatedAt: number; + startedAt?: number | undefined; + completedAt?: number | undefined; + rerequestable?: boolean | undefined; +}; + +/** @internal */ +export const GetCheckRequest$inboundSchema: z.ZodType< + GetCheckRequest, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentId: z.string(), + checkId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetCheckRequest$Outbound = { + deploymentId: string; + checkId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetCheckRequest$outboundSchema: z.ZodType< + GetCheckRequest$Outbound, + z.ZodTypeDef, + GetCheckRequest +> = z.object({ + deploymentId: z.string(), + checkId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCheckRequest$ { + /** @deprecated use `GetCheckRequest$inboundSchema` instead. */ + export const inboundSchema = GetCheckRequest$inboundSchema; + /** @deprecated use `GetCheckRequest$outboundSchema` instead. */ + export const outboundSchema = GetCheckRequest$outboundSchema; + /** @deprecated use `GetCheckRequest$Outbound` instead. */ + export type Outbound = GetCheckRequest$Outbound; +} + +export function getCheckRequestToJSON( + getCheckRequest: GetCheckRequest, +): string { + return JSON.stringify(GetCheckRequest$outboundSchema.parse(getCheckRequest)); +} + +export function getCheckRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetCheckRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetCheckRequest' from JSON`, + ); +} + +/** @internal */ +export const GetCheckStatus$inboundSchema: z.ZodNativeEnum< + typeof GetCheckStatus +> = z.nativeEnum(GetCheckStatus); + +/** @internal */ +export const GetCheckStatus$outboundSchema: z.ZodNativeEnum< + typeof GetCheckStatus +> = GetCheckStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCheckStatus$ { + /** @deprecated use `GetCheckStatus$inboundSchema` instead. */ + export const inboundSchema = GetCheckStatus$inboundSchema; + /** @deprecated use `GetCheckStatus$outboundSchema` instead. */ + export const outboundSchema = GetCheckStatus$outboundSchema; +} + +/** @internal */ +export const GetCheckConclusion$inboundSchema: z.ZodNativeEnum< + typeof GetCheckConclusion +> = z.nativeEnum(GetCheckConclusion); + +/** @internal */ +export const GetCheckConclusion$outboundSchema: z.ZodNativeEnum< + typeof GetCheckConclusion +> = GetCheckConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCheckConclusion$ { + /** @deprecated use `GetCheckConclusion$inboundSchema` instead. */ + export const inboundSchema = GetCheckConclusion$inboundSchema; + /** @deprecated use `GetCheckConclusion$outboundSchema` instead. */ + export const outboundSchema = GetCheckConclusion$outboundSchema; +} + +/** @internal */ +export const GetCheckSource$inboundSchema: z.ZodNativeEnum< + typeof GetCheckSource +> = z.nativeEnum(GetCheckSource); + +/** @internal */ +export const GetCheckSource$outboundSchema: z.ZodNativeEnum< + typeof GetCheckSource +> = GetCheckSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCheckSource$ { + /** @deprecated use `GetCheckSource$inboundSchema` instead. */ + export const inboundSchema = GetCheckSource$inboundSchema; + /** @deprecated use `GetCheckSource$outboundSchema` instead. */ + export const outboundSchema = GetCheckSource$outboundSchema; +} + +/** @internal */ +export const GetCheckFCP$inboundSchema: z.ZodType< + GetCheckFCP, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetCheckSource$inboundSchema, +}); + +/** @internal */ +export type GetCheckFCP$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const GetCheckFCP$outboundSchema: z.ZodType< + GetCheckFCP$Outbound, + z.ZodTypeDef, + GetCheckFCP +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetCheckSource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCheckFCP$ { + /** @deprecated use `GetCheckFCP$inboundSchema` instead. */ + export const inboundSchema = GetCheckFCP$inboundSchema; + /** @deprecated use `GetCheckFCP$outboundSchema` instead. */ + export const outboundSchema = GetCheckFCP$outboundSchema; + /** @deprecated use `GetCheckFCP$Outbound` instead. */ + export type Outbound = GetCheckFCP$Outbound; +} + +export function getCheckFCPToJSON(getCheckFCP: GetCheckFCP): string { + return JSON.stringify(GetCheckFCP$outboundSchema.parse(getCheckFCP)); +} + +export function getCheckFCPFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetCheckFCP$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetCheckFCP' from JSON`, + ); +} + +/** @internal */ +export const GetCheckChecksSource$inboundSchema: z.ZodNativeEnum< + typeof GetCheckChecksSource +> = z.nativeEnum(GetCheckChecksSource); + +/** @internal */ +export const GetCheckChecksSource$outboundSchema: z.ZodNativeEnum< + typeof GetCheckChecksSource +> = GetCheckChecksSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCheckChecksSource$ { + /** @deprecated use `GetCheckChecksSource$inboundSchema` instead. */ + export const inboundSchema = GetCheckChecksSource$inboundSchema; + /** @deprecated use `GetCheckChecksSource$outboundSchema` instead. */ + export const outboundSchema = GetCheckChecksSource$outboundSchema; +} + +/** @internal */ +export const GetCheckLCP$inboundSchema: z.ZodType< + GetCheckLCP, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetCheckChecksSource$inboundSchema, +}); + +/** @internal */ +export type GetCheckLCP$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const GetCheckLCP$outboundSchema: z.ZodType< + GetCheckLCP$Outbound, + z.ZodTypeDef, + GetCheckLCP +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetCheckChecksSource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCheckLCP$ { + /** @deprecated use `GetCheckLCP$inboundSchema` instead. */ + export const inboundSchema = GetCheckLCP$inboundSchema; + /** @deprecated use `GetCheckLCP$outboundSchema` instead. */ + export const outboundSchema = GetCheckLCP$outboundSchema; + /** @deprecated use `GetCheckLCP$Outbound` instead. */ + export type Outbound = GetCheckLCP$Outbound; +} + +export function getCheckLCPToJSON(getCheckLCP: GetCheckLCP): string { + return JSON.stringify(GetCheckLCP$outboundSchema.parse(getCheckLCP)); +} + +export function getCheckLCPFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetCheckLCP$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetCheckLCP' from JSON`, + ); +} + +/** @internal */ +export const GetCheckChecksResponseSource$inboundSchema: z.ZodNativeEnum< + typeof GetCheckChecksResponseSource +> = z.nativeEnum(GetCheckChecksResponseSource); + +/** @internal */ +export const GetCheckChecksResponseSource$outboundSchema: z.ZodNativeEnum< + typeof GetCheckChecksResponseSource +> = GetCheckChecksResponseSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCheckChecksResponseSource$ { + /** @deprecated use `GetCheckChecksResponseSource$inboundSchema` instead. */ + export const inboundSchema = GetCheckChecksResponseSource$inboundSchema; + /** @deprecated use `GetCheckChecksResponseSource$outboundSchema` instead. */ + export const outboundSchema = GetCheckChecksResponseSource$outboundSchema; +} + +/** @internal */ +export const GetCheckCLS$inboundSchema: z.ZodType< + GetCheckCLS, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetCheckChecksResponseSource$inboundSchema, +}); + +/** @internal */ +export type GetCheckCLS$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const GetCheckCLS$outboundSchema: z.ZodType< + GetCheckCLS$Outbound, + z.ZodTypeDef, + GetCheckCLS +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetCheckChecksResponseSource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCheckCLS$ { + /** @deprecated use `GetCheckCLS$inboundSchema` instead. */ + export const inboundSchema = GetCheckCLS$inboundSchema; + /** @deprecated use `GetCheckCLS$outboundSchema` instead. */ + export const outboundSchema = GetCheckCLS$outboundSchema; + /** @deprecated use `GetCheckCLS$Outbound` instead. */ + export type Outbound = GetCheckCLS$Outbound; +} + +export function getCheckCLSToJSON(getCheckCLS: GetCheckCLS): string { + return JSON.stringify(GetCheckCLS$outboundSchema.parse(getCheckCLS)); +} + +export function getCheckCLSFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetCheckCLS$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetCheckCLS' from JSON`, + ); +} + +/** @internal */ +export const GetCheckChecksResponse200Source$inboundSchema: z.ZodNativeEnum< + typeof GetCheckChecksResponse200Source +> = z.nativeEnum(GetCheckChecksResponse200Source); + +/** @internal */ +export const GetCheckChecksResponse200Source$outboundSchema: z.ZodNativeEnum< + typeof GetCheckChecksResponse200Source +> = GetCheckChecksResponse200Source$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCheckChecksResponse200Source$ { + /** @deprecated use `GetCheckChecksResponse200Source$inboundSchema` instead. */ + export const inboundSchema = GetCheckChecksResponse200Source$inboundSchema; + /** @deprecated use `GetCheckChecksResponse200Source$outboundSchema` instead. */ + export const outboundSchema = GetCheckChecksResponse200Source$outboundSchema; +} + +/** @internal */ +export const GetCheckTBT$inboundSchema: z.ZodType< + GetCheckTBT, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetCheckChecksResponse200Source$inboundSchema, +}); + +/** @internal */ +export type GetCheckTBT$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const GetCheckTBT$outboundSchema: z.ZodType< + GetCheckTBT$Outbound, + z.ZodTypeDef, + GetCheckTBT +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetCheckChecksResponse200Source$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCheckTBT$ { + /** @deprecated use `GetCheckTBT$inboundSchema` instead. */ + export const inboundSchema = GetCheckTBT$inboundSchema; + /** @deprecated use `GetCheckTBT$outboundSchema` instead. */ + export const outboundSchema = GetCheckTBT$outboundSchema; + /** @deprecated use `GetCheckTBT$Outbound` instead. */ + export type Outbound = GetCheckTBT$Outbound; +} + +export function getCheckTBTToJSON(getCheckTBT: GetCheckTBT): string { + return JSON.stringify(GetCheckTBT$outboundSchema.parse(getCheckTBT)); +} + +export function getCheckTBTFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetCheckTBT$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetCheckTBT' from JSON`, + ); +} + +/** @internal */ +export const GetCheckChecksResponse200ApplicationJSONSource$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetCheckChecksResponse200ApplicationJSONSource); + +/** @internal */ +export const GetCheckChecksResponse200ApplicationJSONSource$outboundSchema: + z.ZodNativeEnum = + GetCheckChecksResponse200ApplicationJSONSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCheckChecksResponse200ApplicationJSONSource$ { + /** @deprecated use `GetCheckChecksResponse200ApplicationJSONSource$inboundSchema` instead. */ + export const inboundSchema = + GetCheckChecksResponse200ApplicationJSONSource$inboundSchema; + /** @deprecated use `GetCheckChecksResponse200ApplicationJSONSource$outboundSchema` instead. */ + export const outboundSchema = + GetCheckChecksResponse200ApplicationJSONSource$outboundSchema; +} + +/** @internal */ +export const GetCheckVirtualExperienceScore$inboundSchema: z.ZodType< + GetCheckVirtualExperienceScore, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetCheckChecksResponse200ApplicationJSONSource$inboundSchema, +}); + +/** @internal */ +export type GetCheckVirtualExperienceScore$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const GetCheckVirtualExperienceScore$outboundSchema: z.ZodType< + GetCheckVirtualExperienceScore$Outbound, + z.ZodTypeDef, + GetCheckVirtualExperienceScore +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: GetCheckChecksResponse200ApplicationJSONSource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCheckVirtualExperienceScore$ { + /** @deprecated use `GetCheckVirtualExperienceScore$inboundSchema` instead. */ + export const inboundSchema = GetCheckVirtualExperienceScore$inboundSchema; + /** @deprecated use `GetCheckVirtualExperienceScore$outboundSchema` instead. */ + export const outboundSchema = GetCheckVirtualExperienceScore$outboundSchema; + /** @deprecated use `GetCheckVirtualExperienceScore$Outbound` instead. */ + export type Outbound = GetCheckVirtualExperienceScore$Outbound; +} + +export function getCheckVirtualExperienceScoreToJSON( + getCheckVirtualExperienceScore: GetCheckVirtualExperienceScore, +): string { + return JSON.stringify( + GetCheckVirtualExperienceScore$outboundSchema.parse( + getCheckVirtualExperienceScore, + ), + ); +} + +export function getCheckVirtualExperienceScoreFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetCheckVirtualExperienceScore$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetCheckVirtualExperienceScore' from JSON`, + ); +} + +/** @internal */ +export const GetCheckMetrics$inboundSchema: z.ZodType< + GetCheckMetrics, + z.ZodTypeDef, + unknown +> = z.object({ + FCP: z.lazy(() => GetCheckFCP$inboundSchema), + LCP: z.lazy(() => GetCheckLCP$inboundSchema), + CLS: z.lazy(() => GetCheckCLS$inboundSchema), + TBT: z.lazy(() => GetCheckTBT$inboundSchema), + virtualExperienceScore: z.lazy(() => + GetCheckVirtualExperienceScore$inboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + "FCP": "fcp", + "LCP": "lcp", + "CLS": "cls", + "TBT": "tbt", + }); +}); + +/** @internal */ +export type GetCheckMetrics$Outbound = { + FCP: GetCheckFCP$Outbound; + LCP: GetCheckLCP$Outbound; + CLS: GetCheckCLS$Outbound; + TBT: GetCheckTBT$Outbound; + virtualExperienceScore?: GetCheckVirtualExperienceScore$Outbound | undefined; +}; + +/** @internal */ +export const GetCheckMetrics$outboundSchema: z.ZodType< + GetCheckMetrics$Outbound, + z.ZodTypeDef, + GetCheckMetrics +> = z.object({ + fcp: z.lazy(() => GetCheckFCP$outboundSchema), + lcp: z.lazy(() => GetCheckLCP$outboundSchema), + cls: z.lazy(() => GetCheckCLS$outboundSchema), + tbt: z.lazy(() => GetCheckTBT$outboundSchema), + virtualExperienceScore: z.lazy(() => + GetCheckVirtualExperienceScore$outboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + fcp: "FCP", + lcp: "LCP", + cls: "CLS", + tbt: "TBT", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCheckMetrics$ { + /** @deprecated use `GetCheckMetrics$inboundSchema` instead. */ + export const inboundSchema = GetCheckMetrics$inboundSchema; + /** @deprecated use `GetCheckMetrics$outboundSchema` instead. */ + export const outboundSchema = GetCheckMetrics$outboundSchema; + /** @deprecated use `GetCheckMetrics$Outbound` instead. */ + export type Outbound = GetCheckMetrics$Outbound; +} + +export function getCheckMetricsToJSON( + getCheckMetrics: GetCheckMetrics, +): string { + return JSON.stringify(GetCheckMetrics$outboundSchema.parse(getCheckMetrics)); +} + +export function getCheckMetricsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetCheckMetrics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetCheckMetrics' from JSON`, + ); +} + +/** @internal */ +export const GetCheckOutput$inboundSchema: z.ZodType< + GetCheckOutput, + z.ZodTypeDef, + unknown +> = z.object({ + metrics: z.lazy(() => GetCheckMetrics$inboundSchema).optional(), +}); + +/** @internal */ +export type GetCheckOutput$Outbound = { + metrics?: GetCheckMetrics$Outbound | undefined; +}; + +/** @internal */ +export const GetCheckOutput$outboundSchema: z.ZodType< + GetCheckOutput$Outbound, + z.ZodTypeDef, + GetCheckOutput +> = z.object({ + metrics: z.lazy(() => GetCheckMetrics$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCheckOutput$ { + /** @deprecated use `GetCheckOutput$inboundSchema` instead. */ + export const inboundSchema = GetCheckOutput$inboundSchema; + /** @deprecated use `GetCheckOutput$outboundSchema` instead. */ + export const outboundSchema = GetCheckOutput$outboundSchema; + /** @deprecated use `GetCheckOutput$Outbound` instead. */ + export type Outbound = GetCheckOutput$Outbound; +} + +export function getCheckOutputToJSON(getCheckOutput: GetCheckOutput): string { + return JSON.stringify(GetCheckOutput$outboundSchema.parse(getCheckOutput)); +} + +export function getCheckOutputFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetCheckOutput$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetCheckOutput' from JSON`, + ); +} + +/** @internal */ +export const GetCheckResponseBody$inboundSchema: z.ZodType< + GetCheckResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + path: z.string().optional(), + status: GetCheckStatus$inboundSchema, + conclusion: GetCheckConclusion$inboundSchema.optional(), + blocking: z.boolean(), + output: z.lazy(() => GetCheckOutput$inboundSchema).optional(), + detailsUrl: z.string().optional(), + integrationId: z.string(), + deploymentId: z.string(), + externalId: z.string().optional(), + createdAt: z.number(), + updatedAt: z.number(), + startedAt: z.number().optional(), + completedAt: z.number().optional(), + rerequestable: z.boolean().optional(), +}); + +/** @internal */ +export type GetCheckResponseBody$Outbound = { + id: string; + name: string; + path?: string | undefined; + status: string; + conclusion?: string | undefined; + blocking: boolean; + output?: GetCheckOutput$Outbound | undefined; + detailsUrl?: string | undefined; + integrationId: string; + deploymentId: string; + externalId?: string | undefined; + createdAt: number; + updatedAt: number; + startedAt?: number | undefined; + completedAt?: number | undefined; + rerequestable?: boolean | undefined; +}; + +/** @internal */ +export const GetCheckResponseBody$outboundSchema: z.ZodType< + GetCheckResponseBody$Outbound, + z.ZodTypeDef, + GetCheckResponseBody +> = z.object({ + id: z.string(), + name: z.string(), + path: z.string().optional(), + status: GetCheckStatus$outboundSchema, + conclusion: GetCheckConclusion$outboundSchema.optional(), + blocking: z.boolean(), + output: z.lazy(() => GetCheckOutput$outboundSchema).optional(), + detailsUrl: z.string().optional(), + integrationId: z.string(), + deploymentId: z.string(), + externalId: z.string().optional(), + createdAt: z.number(), + updatedAt: z.number(), + startedAt: z.number().optional(), + completedAt: z.number().optional(), + rerequestable: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetCheckResponseBody$ { + /** @deprecated use `GetCheckResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetCheckResponseBody$inboundSchema; + /** @deprecated use `GetCheckResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetCheckResponseBody$outboundSchema; + /** @deprecated use `GetCheckResponseBody$Outbound` instead. */ + export type Outbound = GetCheckResponseBody$Outbound; +} + +export function getCheckResponseBodyToJSON( + getCheckResponseBody: GetCheckResponseBody, +): string { + return JSON.stringify( + GetCheckResponseBody$outboundSchema.parse(getCheckResponseBody), + ); +} + +export function getCheckResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetCheckResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetCheckResponseBody' from JSON`, + ); +} diff --git a/src/models/getconfigurablelogdrainop.ts b/src/models/getconfigurablelogdrainop.ts new file mode 100644 index 00000000..c4ba1055 --- /dev/null +++ b/src/models/getconfigurablelogdrainop.ts @@ -0,0 +1,423 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetConfigurableLogDrainRequest = { + id: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export const GetConfigurableLogDrainDeliveryFormat = { + Json: "json", + Ndjson: "ndjson", + Syslog: "syslog", +} as const; +export type GetConfigurableLogDrainDeliveryFormat = ClosedEnum< + typeof GetConfigurableLogDrainDeliveryFormat +>; + +export const GetConfigurableLogDrainSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", +} as const; +export type GetConfigurableLogDrainSources = ClosedEnum< + typeof GetConfigurableLogDrainSources +>; + +export const GetConfigurableLogDrainEnvironments = { + Production: "production", + Preview: "preview", +} as const; +export type GetConfigurableLogDrainEnvironments = ClosedEnum< + typeof GetConfigurableLogDrainEnvironments +>; + +export const GetConfigurableLogDrainStatus = { + Enabled: "enabled", + Disabled: "disabled", + Errored: "errored", +} as const; +export type GetConfigurableLogDrainStatus = ClosedEnum< + typeof GetConfigurableLogDrainStatus +>; + +export const DisabledReason = { + DisabledByOwner: "disabled-by-owner", + FeatureNotAvailable: "feature-not-available", + AccountPlanDowngrade: "account-plan-downgrade", + DisabledByAdmin: "disabled-by-admin", +} as const; +export type DisabledReason = ClosedEnum; + +export const GetConfigurableLogDrainCreatedFrom = { + SelfServed: "self-served", +} as const; +export type GetConfigurableLogDrainCreatedFrom = ClosedEnum< + typeof GetConfigurableLogDrainCreatedFrom +>; + +export type GetConfigurableLogDrainResponseBody = { + id: string; + deliveryFormat: GetConfigurableLogDrainDeliveryFormat; + url: string; + name: string; + clientId?: string | undefined; + configurationId?: string | undefined; + teamId?: string | null | undefined; + ownerId: string; + projectIds?: Array | undefined; + createdAt: number; + deletedAt: number | null; + updatedAt: number; + sources?: Array | undefined; + headers?: { [k: string]: string } | undefined; + environments: Array; + status?: GetConfigurableLogDrainStatus | undefined; + disabledAt?: number | undefined; + disabledReason?: DisabledReason | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + samplingRate?: number | undefined; + hideIpAddresses?: boolean | undefined; + secret: string; + createdFrom?: GetConfigurableLogDrainCreatedFrom | undefined; +}; + +/** @internal */ +export const GetConfigurableLogDrainRequest$inboundSchema: z.ZodType< + GetConfigurableLogDrainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetConfigurableLogDrainRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetConfigurableLogDrainRequest$outboundSchema: z.ZodType< + GetConfigurableLogDrainRequest$Outbound, + z.ZodTypeDef, + GetConfigurableLogDrainRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurableLogDrainRequest$ { + /** @deprecated use `GetConfigurableLogDrainRequest$inboundSchema` instead. */ + export const inboundSchema = GetConfigurableLogDrainRequest$inboundSchema; + /** @deprecated use `GetConfigurableLogDrainRequest$outboundSchema` instead. */ + export const outboundSchema = GetConfigurableLogDrainRequest$outboundSchema; + /** @deprecated use `GetConfigurableLogDrainRequest$Outbound` instead. */ + export type Outbound = GetConfigurableLogDrainRequest$Outbound; +} + +export function getConfigurableLogDrainRequestToJSON( + getConfigurableLogDrainRequest: GetConfigurableLogDrainRequest, +): string { + return JSON.stringify( + GetConfigurableLogDrainRequest$outboundSchema.parse( + getConfigurableLogDrainRequest, + ), + ); +} + +export function getConfigurableLogDrainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetConfigurableLogDrainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetConfigurableLogDrainRequest' from JSON`, + ); +} + +/** @internal */ +export const GetConfigurableLogDrainDeliveryFormat$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetConfigurableLogDrainDeliveryFormat, + ); + +/** @internal */ +export const GetConfigurableLogDrainDeliveryFormat$outboundSchema: + z.ZodNativeEnum = + GetConfigurableLogDrainDeliveryFormat$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurableLogDrainDeliveryFormat$ { + /** @deprecated use `GetConfigurableLogDrainDeliveryFormat$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurableLogDrainDeliveryFormat$inboundSchema; + /** @deprecated use `GetConfigurableLogDrainDeliveryFormat$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurableLogDrainDeliveryFormat$outboundSchema; +} + +/** @internal */ +export const GetConfigurableLogDrainSources$inboundSchema: z.ZodNativeEnum< + typeof GetConfigurableLogDrainSources +> = z.nativeEnum(GetConfigurableLogDrainSources); + +/** @internal */ +export const GetConfigurableLogDrainSources$outboundSchema: z.ZodNativeEnum< + typeof GetConfigurableLogDrainSources +> = GetConfigurableLogDrainSources$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurableLogDrainSources$ { + /** @deprecated use `GetConfigurableLogDrainSources$inboundSchema` instead. */ + export const inboundSchema = GetConfigurableLogDrainSources$inboundSchema; + /** @deprecated use `GetConfigurableLogDrainSources$outboundSchema` instead. */ + export const outboundSchema = GetConfigurableLogDrainSources$outboundSchema; +} + +/** @internal */ +export const GetConfigurableLogDrainEnvironments$inboundSchema: z.ZodNativeEnum< + typeof GetConfigurableLogDrainEnvironments +> = z.nativeEnum(GetConfigurableLogDrainEnvironments); + +/** @internal */ +export const GetConfigurableLogDrainEnvironments$outboundSchema: + z.ZodNativeEnum = + GetConfigurableLogDrainEnvironments$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurableLogDrainEnvironments$ { + /** @deprecated use `GetConfigurableLogDrainEnvironments$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurableLogDrainEnvironments$inboundSchema; + /** @deprecated use `GetConfigurableLogDrainEnvironments$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurableLogDrainEnvironments$outboundSchema; +} + +/** @internal */ +export const GetConfigurableLogDrainStatus$inboundSchema: z.ZodNativeEnum< + typeof GetConfigurableLogDrainStatus +> = z.nativeEnum(GetConfigurableLogDrainStatus); + +/** @internal */ +export const GetConfigurableLogDrainStatus$outboundSchema: z.ZodNativeEnum< + typeof GetConfigurableLogDrainStatus +> = GetConfigurableLogDrainStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurableLogDrainStatus$ { + /** @deprecated use `GetConfigurableLogDrainStatus$inboundSchema` instead. */ + export const inboundSchema = GetConfigurableLogDrainStatus$inboundSchema; + /** @deprecated use `GetConfigurableLogDrainStatus$outboundSchema` instead. */ + export const outboundSchema = GetConfigurableLogDrainStatus$outboundSchema; +} + +/** @internal */ +export const DisabledReason$inboundSchema: z.ZodNativeEnum< + typeof DisabledReason +> = z.nativeEnum(DisabledReason); + +/** @internal */ +export const DisabledReason$outboundSchema: z.ZodNativeEnum< + typeof DisabledReason +> = DisabledReason$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DisabledReason$ { + /** @deprecated use `DisabledReason$inboundSchema` instead. */ + export const inboundSchema = DisabledReason$inboundSchema; + /** @deprecated use `DisabledReason$outboundSchema` instead. */ + export const outboundSchema = DisabledReason$outboundSchema; +} + +/** @internal */ +export const GetConfigurableLogDrainCreatedFrom$inboundSchema: z.ZodNativeEnum< + typeof GetConfigurableLogDrainCreatedFrom +> = z.nativeEnum(GetConfigurableLogDrainCreatedFrom); + +/** @internal */ +export const GetConfigurableLogDrainCreatedFrom$outboundSchema: z.ZodNativeEnum< + typeof GetConfigurableLogDrainCreatedFrom +> = GetConfigurableLogDrainCreatedFrom$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurableLogDrainCreatedFrom$ { + /** @deprecated use `GetConfigurableLogDrainCreatedFrom$inboundSchema` instead. */ + export const inboundSchema = GetConfigurableLogDrainCreatedFrom$inboundSchema; + /** @deprecated use `GetConfigurableLogDrainCreatedFrom$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurableLogDrainCreatedFrom$outboundSchema; +} + +/** @internal */ +export const GetConfigurableLogDrainResponseBody$inboundSchema: z.ZodType< + GetConfigurableLogDrainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + deliveryFormat: GetConfigurableLogDrainDeliveryFormat$inboundSchema, + url: z.string(), + name: z.string(), + clientId: z.string().optional(), + configurationId: z.string().optional(), + teamId: z.nullable(z.string()).optional(), + ownerId: z.string(), + projectIds: z.array(z.string()).optional(), + createdAt: z.number(), + deletedAt: z.nullable(z.number()), + updatedAt: z.number(), + sources: z.array(GetConfigurableLogDrainSources$inboundSchema).optional(), + headers: z.record(z.string()).optional(), + environments: z.array(GetConfigurableLogDrainEnvironments$inboundSchema), + status: GetConfigurableLogDrainStatus$inboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: DisabledReason$inboundSchema.optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + samplingRate: z.number().optional(), + hideIpAddresses: z.boolean().optional(), + secret: z.string(), + createdFrom: GetConfigurableLogDrainCreatedFrom$inboundSchema.optional(), +}); + +/** @internal */ +export type GetConfigurableLogDrainResponseBody$Outbound = { + id: string; + deliveryFormat: string; + url: string; + name: string; + clientId?: string | undefined; + configurationId?: string | undefined; + teamId?: string | null | undefined; + ownerId: string; + projectIds?: Array | undefined; + createdAt: number; + deletedAt: number | null; + updatedAt: number; + sources?: Array | undefined; + headers?: { [k: string]: string } | undefined; + environments: Array; + status?: string | undefined; + disabledAt?: number | undefined; + disabledReason?: string | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + samplingRate?: number | undefined; + hideIpAddresses?: boolean | undefined; + secret: string; + createdFrom?: string | undefined; +}; + +/** @internal */ +export const GetConfigurableLogDrainResponseBody$outboundSchema: z.ZodType< + GetConfigurableLogDrainResponseBody$Outbound, + z.ZodTypeDef, + GetConfigurableLogDrainResponseBody +> = z.object({ + id: z.string(), + deliveryFormat: GetConfigurableLogDrainDeliveryFormat$outboundSchema, + url: z.string(), + name: z.string(), + clientId: z.string().optional(), + configurationId: z.string().optional(), + teamId: z.nullable(z.string()).optional(), + ownerId: z.string(), + projectIds: z.array(z.string()).optional(), + createdAt: z.number(), + deletedAt: z.nullable(z.number()), + updatedAt: z.number(), + sources: z.array(GetConfigurableLogDrainSources$outboundSchema).optional(), + headers: z.record(z.string()).optional(), + environments: z.array(GetConfigurableLogDrainEnvironments$outboundSchema), + status: GetConfigurableLogDrainStatus$outboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: DisabledReason$outboundSchema.optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + samplingRate: z.number().optional(), + hideIpAddresses: z.boolean().optional(), + secret: z.string(), + createdFrom: GetConfigurableLogDrainCreatedFrom$outboundSchema.optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurableLogDrainResponseBody$ { + /** @deprecated use `GetConfigurableLogDrainResponseBody$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurableLogDrainResponseBody$inboundSchema; + /** @deprecated use `GetConfigurableLogDrainResponseBody$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurableLogDrainResponseBody$outboundSchema; + /** @deprecated use `GetConfigurableLogDrainResponseBody$Outbound` instead. */ + export type Outbound = GetConfigurableLogDrainResponseBody$Outbound; +} + +export function getConfigurableLogDrainResponseBodyToJSON( + getConfigurableLogDrainResponseBody: GetConfigurableLogDrainResponseBody, +): string { + return JSON.stringify( + GetConfigurableLogDrainResponseBody$outboundSchema.parse( + getConfigurableLogDrainResponseBody, + ), + ); +} + +export function getConfigurableLogDrainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetConfigurableLogDrainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetConfigurableLogDrainResponseBody' from JSON`, + ); +} diff --git a/src/models/getconfigurationop.ts b/src/models/getconfigurationop.ts new file mode 100644 index 00000000..7950f20b --- /dev/null +++ b/src/models/getconfigurationop.ts @@ -0,0 +1,1266 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetConfigurationRequest = { + /** + * ID of the configuration to check + */ + id: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * A string representing the permission for projects. Possible values are `all` or `selected`. + */ +export const ProjectSelection = { + Selected: "selected", + All: "all", +} as const; +/** + * A string representing the permission for projects. Possible values are `all` or `selected`. + */ +export type ProjectSelection = ClosedEnum; + +/** + * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. + */ +export const GetConfigurationResponseBodyIntegrationsSource = { + Marketplace: "marketplace", + DeployButton: "deploy-button", + External: "external", +} as const; +/** + * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. + */ +export type GetConfigurationResponseBodyIntegrationsSource = ClosedEnum< + typeof GetConfigurationResponseBodyIntegrationsSource +>; + +export const GetConfigurationResponseBodyIntegrationsType = { + IntegrationConfiguration: "integration-configuration", +} as const; +export type GetConfigurationResponseBodyIntegrationsType = ClosedEnum< + typeof GetConfigurationResponseBodyIntegrationsType +>; + +export const GetConfigurationResponseBodyIntegrationsDisabledReason = { + DisabledByOwner: "disabled-by-owner", + FeatureNotAvailable: "feature-not-available", + DisabledByAdmin: "disabled-by-admin", + OriginalOwnerLeftTheTeam: "original-owner-left-the-team", + AccountPlanDowngrade: "account-plan-downgrade", + OriginalOwnerRoleDowngraded: "original-owner-role-downgraded", +} as const; +export type GetConfigurationResponseBodyIntegrationsDisabledReason = ClosedEnum< + typeof GetConfigurationResponseBodyIntegrationsDisabledReason +>; + +/** + * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' + */ +export const GetConfigurationResponseBodyIntegrationsInstallationType = { + Marketplace: "marketplace", + External: "external", +} as const; +/** + * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' + */ +export type GetConfigurationResponseBodyIntegrationsInstallationType = + ClosedEnum; + +export type GetConfigurationResponseBody2 = { + /** + * A string representing the permission for projects. Possible values are `all` or `selected`. + */ + projectSelection: ProjectSelection; + /** + * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access. + */ + projects?: Array | undefined; + /** + * A timestamp that tells you when the configuration was installed successfully + */ + completedAt?: number | undefined; + /** + * A timestamp that tells you when the configuration was created + */ + createdAt: number; + /** + * The unique identifier of the configuration + */ + id: string; + /** + * The unique identifier of the app the configuration was created for + */ + integrationId: string; + /** + * The user or team ID that owns the configuration + */ + ownerId: string; + /** + * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. + */ + source?: GetConfigurationResponseBodyIntegrationsSource | undefined; + /** + * The slug of the integration the configuration is created for. + */ + slug: string; + /** + * When the configuration was created for a team, this will show the ID of the team. + */ + teamId?: string | null | undefined; + type: GetConfigurationResponseBodyIntegrationsType; + /** + * A timestamp that tells you when the configuration was updated. + */ + updatedAt: number; + /** + * The ID of the user that created the configuration. + */ + userId: string; + /** + * The resources that are allowed to be accessed by the configuration. + */ + scopes: Array; + /** + * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team. + */ + disabledAt?: number | undefined; + /** + * A timestamp that tells you when the configuration was deleted. + */ + deletedAt?: number | null | undefined; + /** + * A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid. + */ + deleteRequestedAt?: number | null | undefined; + disabledReason?: + | GetConfigurationResponseBodyIntegrationsDisabledReason + | undefined; + /** + * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' + */ + installationType?: + | GetConfigurationResponseBodyIntegrationsInstallationType + | undefined; + canConfigureOpenTelemetry?: boolean | undefined; +}; + +export const GetConfigurationResponseBodyIntegrationsResponseType = { + Prepayment: "prepayment", + Subscription: "subscription", +} as const; +export type GetConfigurationResponseBodyIntegrationsResponseType = ClosedEnum< + typeof GetConfigurationResponseBodyIntegrationsResponseType +>; + +export const GetConfigurationResponseBodyScope = { + Installation: "installation", + Resource: "resource", +} as const; +export type GetConfigurationResponseBodyScope = ClosedEnum< + typeof GetConfigurationResponseBodyScope +>; + +export type GetConfigurationResponseBodyDetails = { + label: string; + value?: string | undefined; +}; + +export type GetConfigurationResponseBodyHeightlightedDetails = { + label: string; + value?: string | undefined; +}; + +export type GetConfigurationResponseBodyQuote = { + line: string; + amount: string; +}; + +export type GetConfigurationResponseBodyBillingPlan = { + id: string; + type: GetConfigurationResponseBodyIntegrationsResponseType; + name: string; + scope?: GetConfigurationResponseBodyScope | undefined; + description: string; + paymentMethodRequired?: boolean | undefined; + preauthorizationAmount?: number | undefined; + cost?: string | undefined; + details?: Array | undefined; + heightlightedDetails?: + | Array + | undefined; + quote?: Array | undefined; + effectiveDate?: string | undefined; +}; + +/** + * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. + */ +export const GetConfigurationResponseBodySource = { + Marketplace: "marketplace", + DeployButton: "deploy-button", + External: "external", +} as const; +/** + * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. + */ +export type GetConfigurationResponseBodySource = ClosedEnum< + typeof GetConfigurationResponseBodySource +>; + +export const GetConfigurationResponseBodyType = { + IntegrationConfiguration: "integration-configuration", +} as const; +export type GetConfigurationResponseBodyType = ClosedEnum< + typeof GetConfigurationResponseBodyType +>; + +export const GetConfigurationResponseBodyDisabledReason = { + DisabledByOwner: "disabled-by-owner", + FeatureNotAvailable: "feature-not-available", + DisabledByAdmin: "disabled-by-admin", + OriginalOwnerLeftTheTeam: "original-owner-left-the-team", + AccountPlanDowngrade: "account-plan-downgrade", + OriginalOwnerRoleDowngraded: "original-owner-role-downgraded", +} as const; +export type GetConfigurationResponseBodyDisabledReason = ClosedEnum< + typeof GetConfigurationResponseBodyDisabledReason +>; + +/** + * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' + */ +export const GetConfigurationResponseBodyInstallationType = { + Marketplace: "marketplace", + External: "external", +} as const; +/** + * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' + */ +export type GetConfigurationResponseBodyInstallationType = ClosedEnum< + typeof GetConfigurationResponseBodyInstallationType +>; + +/** + * The configuration with the provided id + */ +export type GetConfigurationResponseBody1 = { + billingPlan?: GetConfigurationResponseBodyBillingPlan | undefined; + billingTotal?: string | undefined; + periodStart?: string | undefined; + periodEnd?: string | undefined; + /** + * A timestamp that tells you when the configuration was installed successfully + */ + completedAt?: number | undefined; + /** + * A timestamp that tells you when the configuration was created + */ + createdAt: number; + /** + * The unique identifier of the configuration + */ + id: string; + /** + * The unique identifier of the app the configuration was created for + */ + integrationId: string; + /** + * The user or team ID that owns the configuration + */ + ownerId: string; + /** + * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access. + */ + projects?: Array | undefined; + /** + * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. + */ + source?: GetConfigurationResponseBodySource | undefined; + /** + * The slug of the integration the configuration is created for. + */ + slug: string; + /** + * When the configuration was created for a team, this will show the ID of the team. + */ + teamId?: string | null | undefined; + type: GetConfigurationResponseBodyType; + /** + * A timestamp that tells you when the configuration was updated. + */ + updatedAt: number; + /** + * The ID of the user that created the configuration. + */ + userId: string; + /** + * The resources that are allowed to be accessed by the configuration. + */ + scopes: Array; + /** + * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team. + */ + disabledAt?: number | undefined; + /** + * A timestamp that tells you when the configuration was deleted. + */ + deletedAt?: number | null | undefined; + /** + * A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid. + */ + deleteRequestedAt?: number | null | undefined; + disabledReason?: GetConfigurationResponseBodyDisabledReason | undefined; + /** + * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' + */ + installationType?: GetConfigurationResponseBodyInstallationType | undefined; +}; + +/** + * The configuration with the provided id + */ +export type GetConfigurationResponseBody = + | GetConfigurationResponseBody2 + | GetConfigurationResponseBody1; + +/** @internal */ +export const GetConfigurationRequest$inboundSchema: z.ZodType< + GetConfigurationRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetConfigurationRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetConfigurationRequest$outboundSchema: z.ZodType< + GetConfigurationRequest$Outbound, + z.ZodTypeDef, + GetConfigurationRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationRequest$ { + /** @deprecated use `GetConfigurationRequest$inboundSchema` instead. */ + export const inboundSchema = GetConfigurationRequest$inboundSchema; + /** @deprecated use `GetConfigurationRequest$outboundSchema` instead. */ + export const outboundSchema = GetConfigurationRequest$outboundSchema; + /** @deprecated use `GetConfigurationRequest$Outbound` instead. */ + export type Outbound = GetConfigurationRequest$Outbound; +} + +export function getConfigurationRequestToJSON( + getConfigurationRequest: GetConfigurationRequest, +): string { + return JSON.stringify( + GetConfigurationRequest$outboundSchema.parse(getConfigurationRequest), + ); +} + +export function getConfigurationRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetConfigurationRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetConfigurationRequest' from JSON`, + ); +} + +/** @internal */ +export const ProjectSelection$inboundSchema: z.ZodNativeEnum< + typeof ProjectSelection +> = z.nativeEnum(ProjectSelection); + +/** @internal */ +export const ProjectSelection$outboundSchema: z.ZodNativeEnum< + typeof ProjectSelection +> = ProjectSelection$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ProjectSelection$ { + /** @deprecated use `ProjectSelection$inboundSchema` instead. */ + export const inboundSchema = ProjectSelection$inboundSchema; + /** @deprecated use `ProjectSelection$outboundSchema` instead. */ + export const outboundSchema = ProjectSelection$outboundSchema; +} + +/** @internal */ +export const GetConfigurationResponseBodyIntegrationsSource$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetConfigurationResponseBodyIntegrationsSource); + +/** @internal */ +export const GetConfigurationResponseBodyIntegrationsSource$outboundSchema: + z.ZodNativeEnum = + GetConfigurationResponseBodyIntegrationsSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBodyIntegrationsSource$ { + /** @deprecated use `GetConfigurationResponseBodyIntegrationsSource$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationResponseBodyIntegrationsSource$inboundSchema; + /** @deprecated use `GetConfigurationResponseBodyIntegrationsSource$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationResponseBodyIntegrationsSource$outboundSchema; +} + +/** @internal */ +export const GetConfigurationResponseBodyIntegrationsType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetConfigurationResponseBodyIntegrationsType); + +/** @internal */ +export const GetConfigurationResponseBodyIntegrationsType$outboundSchema: + z.ZodNativeEnum = + GetConfigurationResponseBodyIntegrationsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBodyIntegrationsType$ { + /** @deprecated use `GetConfigurationResponseBodyIntegrationsType$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationResponseBodyIntegrationsType$inboundSchema; + /** @deprecated use `GetConfigurationResponseBodyIntegrationsType$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationResponseBodyIntegrationsType$outboundSchema; +} + +/** @internal */ +export const GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema: + z.ZodNativeEnum< + typeof GetConfigurationResponseBodyIntegrationsDisabledReason + > = z.nativeEnum(GetConfigurationResponseBodyIntegrationsDisabledReason); + +/** @internal */ +export const GetConfigurationResponseBodyIntegrationsDisabledReason$outboundSchema: + z.ZodNativeEnum< + typeof GetConfigurationResponseBodyIntegrationsDisabledReason + > = GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBodyIntegrationsDisabledReason$ { + /** @deprecated use `GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema; + /** @deprecated use `GetConfigurationResponseBodyIntegrationsDisabledReason$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationResponseBodyIntegrationsDisabledReason$outboundSchema; +} + +/** @internal */ +export const GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema: + z.ZodNativeEnum< + typeof GetConfigurationResponseBodyIntegrationsInstallationType + > = z.nativeEnum(GetConfigurationResponseBodyIntegrationsInstallationType); + +/** @internal */ +export const GetConfigurationResponseBodyIntegrationsInstallationType$outboundSchema: + z.ZodNativeEnum< + typeof GetConfigurationResponseBodyIntegrationsInstallationType + > = GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBodyIntegrationsInstallationType$ { + /** @deprecated use `GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema; + /** @deprecated use `GetConfigurationResponseBodyIntegrationsInstallationType$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationResponseBodyIntegrationsInstallationType$outboundSchema; +} + +/** @internal */ +export const GetConfigurationResponseBody2$inboundSchema: z.ZodType< + GetConfigurationResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + projectSelection: ProjectSelection$inboundSchema, + projects: z.array(z.string()).optional(), + completedAt: z.number().optional(), + createdAt: z.number(), + id: z.string(), + integrationId: z.string(), + ownerId: z.string(), + source: GetConfigurationResponseBodyIntegrationsSource$inboundSchema + .optional(), + slug: z.string(), + teamId: z.nullable(z.string()).optional(), + type: GetConfigurationResponseBodyIntegrationsType$inboundSchema, + updatedAt: z.number(), + userId: z.string(), + scopes: z.array(z.string()), + disabledAt: z.number().optional(), + deletedAt: z.nullable(z.number()).optional(), + deleteRequestedAt: z.nullable(z.number()).optional(), + disabledReason: + GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema + .optional(), + installationType: + GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema + .optional(), + canConfigureOpenTelemetry: z.boolean().optional(), +}); + +/** @internal */ +export type GetConfigurationResponseBody2$Outbound = { + projectSelection: string; + projects?: Array | undefined; + completedAt?: number | undefined; + createdAt: number; + id: string; + integrationId: string; + ownerId: string; + source?: string | undefined; + slug: string; + teamId?: string | null | undefined; + type: string; + updatedAt: number; + userId: string; + scopes: Array; + disabledAt?: number | undefined; + deletedAt?: number | null | undefined; + deleteRequestedAt?: number | null | undefined; + disabledReason?: string | undefined; + installationType?: string | undefined; + canConfigureOpenTelemetry?: boolean | undefined; +}; + +/** @internal */ +export const GetConfigurationResponseBody2$outboundSchema: z.ZodType< + GetConfigurationResponseBody2$Outbound, + z.ZodTypeDef, + GetConfigurationResponseBody2 +> = z.object({ + projectSelection: ProjectSelection$outboundSchema, + projects: z.array(z.string()).optional(), + completedAt: z.number().optional(), + createdAt: z.number(), + id: z.string(), + integrationId: z.string(), + ownerId: z.string(), + source: GetConfigurationResponseBodyIntegrationsSource$outboundSchema + .optional(), + slug: z.string(), + teamId: z.nullable(z.string()).optional(), + type: GetConfigurationResponseBodyIntegrationsType$outboundSchema, + updatedAt: z.number(), + userId: z.string(), + scopes: z.array(z.string()), + disabledAt: z.number().optional(), + deletedAt: z.nullable(z.number()).optional(), + deleteRequestedAt: z.nullable(z.number()).optional(), + disabledReason: + GetConfigurationResponseBodyIntegrationsDisabledReason$outboundSchema + .optional(), + installationType: + GetConfigurationResponseBodyIntegrationsInstallationType$outboundSchema + .optional(), + canConfigureOpenTelemetry: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBody2$ { + /** @deprecated use `GetConfigurationResponseBody2$inboundSchema` instead. */ + export const inboundSchema = GetConfigurationResponseBody2$inboundSchema; + /** @deprecated use `GetConfigurationResponseBody2$outboundSchema` instead. */ + export const outboundSchema = GetConfigurationResponseBody2$outboundSchema; + /** @deprecated use `GetConfigurationResponseBody2$Outbound` instead. */ + export type Outbound = GetConfigurationResponseBody2$Outbound; +} + +export function getConfigurationResponseBody2ToJSON( + getConfigurationResponseBody2: GetConfigurationResponseBody2, +): string { + return JSON.stringify( + GetConfigurationResponseBody2$outboundSchema.parse( + getConfigurationResponseBody2, + ), + ); +} + +export function getConfigurationResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetConfigurationResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetConfigurationResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const GetConfigurationResponseBodyIntegrationsResponseType$inboundSchema: + z.ZodNativeEnum = + z.nativeEnum(GetConfigurationResponseBodyIntegrationsResponseType); + +/** @internal */ +export const GetConfigurationResponseBodyIntegrationsResponseType$outboundSchema: + z.ZodNativeEnum = + GetConfigurationResponseBodyIntegrationsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBodyIntegrationsResponseType$ { + /** @deprecated use `GetConfigurationResponseBodyIntegrationsResponseType$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationResponseBodyIntegrationsResponseType$inboundSchema; + /** @deprecated use `GetConfigurationResponseBodyIntegrationsResponseType$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationResponseBodyIntegrationsResponseType$outboundSchema; +} + +/** @internal */ +export const GetConfigurationResponseBodyScope$inboundSchema: z.ZodNativeEnum< + typeof GetConfigurationResponseBodyScope +> = z.nativeEnum(GetConfigurationResponseBodyScope); + +/** @internal */ +export const GetConfigurationResponseBodyScope$outboundSchema: z.ZodNativeEnum< + typeof GetConfigurationResponseBodyScope +> = GetConfigurationResponseBodyScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBodyScope$ { + /** @deprecated use `GetConfigurationResponseBodyScope$inboundSchema` instead. */ + export const inboundSchema = GetConfigurationResponseBodyScope$inboundSchema; + /** @deprecated use `GetConfigurationResponseBodyScope$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationResponseBodyScope$outboundSchema; +} + +/** @internal */ +export const GetConfigurationResponseBodyDetails$inboundSchema: z.ZodType< + GetConfigurationResponseBodyDetails, + z.ZodTypeDef, + unknown +> = z.object({ + label: z.string(), + value: z.string().optional(), +}); + +/** @internal */ +export type GetConfigurationResponseBodyDetails$Outbound = { + label: string; + value?: string | undefined; +}; + +/** @internal */ +export const GetConfigurationResponseBodyDetails$outboundSchema: z.ZodType< + GetConfigurationResponseBodyDetails$Outbound, + z.ZodTypeDef, + GetConfigurationResponseBodyDetails +> = z.object({ + label: z.string(), + value: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBodyDetails$ { + /** @deprecated use `GetConfigurationResponseBodyDetails$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationResponseBodyDetails$inboundSchema; + /** @deprecated use `GetConfigurationResponseBodyDetails$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationResponseBodyDetails$outboundSchema; + /** @deprecated use `GetConfigurationResponseBodyDetails$Outbound` instead. */ + export type Outbound = GetConfigurationResponseBodyDetails$Outbound; +} + +export function getConfigurationResponseBodyDetailsToJSON( + getConfigurationResponseBodyDetails: GetConfigurationResponseBodyDetails, +): string { + return JSON.stringify( + GetConfigurationResponseBodyDetails$outboundSchema.parse( + getConfigurationResponseBodyDetails, + ), + ); +} + +export function getConfigurationResponseBodyDetailsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetConfigurationResponseBodyDetails$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetConfigurationResponseBodyDetails' from JSON`, + ); +} + +/** @internal */ +export const GetConfigurationResponseBodyHeightlightedDetails$inboundSchema: + z.ZodType< + GetConfigurationResponseBodyHeightlightedDetails, + z.ZodTypeDef, + unknown + > = z.object({ + label: z.string(), + value: z.string().optional(), + }); + +/** @internal */ +export type GetConfigurationResponseBodyHeightlightedDetails$Outbound = { + label: string; + value?: string | undefined; +}; + +/** @internal */ +export const GetConfigurationResponseBodyHeightlightedDetails$outboundSchema: + z.ZodType< + GetConfigurationResponseBodyHeightlightedDetails$Outbound, + z.ZodTypeDef, + GetConfigurationResponseBodyHeightlightedDetails + > = z.object({ + label: z.string(), + value: z.string().optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBodyHeightlightedDetails$ { + /** @deprecated use `GetConfigurationResponseBodyHeightlightedDetails$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationResponseBodyHeightlightedDetails$inboundSchema; + /** @deprecated use `GetConfigurationResponseBodyHeightlightedDetails$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationResponseBodyHeightlightedDetails$outboundSchema; + /** @deprecated use `GetConfigurationResponseBodyHeightlightedDetails$Outbound` instead. */ + export type Outbound = + GetConfigurationResponseBodyHeightlightedDetails$Outbound; +} + +export function getConfigurationResponseBodyHeightlightedDetailsToJSON( + getConfigurationResponseBodyHeightlightedDetails: + GetConfigurationResponseBodyHeightlightedDetails, +): string { + return JSON.stringify( + GetConfigurationResponseBodyHeightlightedDetails$outboundSchema.parse( + getConfigurationResponseBodyHeightlightedDetails, + ), + ); +} + +export function getConfigurationResponseBodyHeightlightedDetailsFromJSON( + jsonString: string, +): SafeParseResult< + GetConfigurationResponseBodyHeightlightedDetails, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetConfigurationResponseBodyHeightlightedDetails$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetConfigurationResponseBodyHeightlightedDetails' from JSON`, + ); +} + +/** @internal */ +export const GetConfigurationResponseBodyQuote$inboundSchema: z.ZodType< + GetConfigurationResponseBodyQuote, + z.ZodTypeDef, + unknown +> = z.object({ + line: z.string(), + amount: z.string(), +}); + +/** @internal */ +export type GetConfigurationResponseBodyQuote$Outbound = { + line: string; + amount: string; +}; + +/** @internal */ +export const GetConfigurationResponseBodyQuote$outboundSchema: z.ZodType< + GetConfigurationResponseBodyQuote$Outbound, + z.ZodTypeDef, + GetConfigurationResponseBodyQuote +> = z.object({ + line: z.string(), + amount: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBodyQuote$ { + /** @deprecated use `GetConfigurationResponseBodyQuote$inboundSchema` instead. */ + export const inboundSchema = GetConfigurationResponseBodyQuote$inboundSchema; + /** @deprecated use `GetConfigurationResponseBodyQuote$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationResponseBodyQuote$outboundSchema; + /** @deprecated use `GetConfigurationResponseBodyQuote$Outbound` instead. */ + export type Outbound = GetConfigurationResponseBodyQuote$Outbound; +} + +export function getConfigurationResponseBodyQuoteToJSON( + getConfigurationResponseBodyQuote: GetConfigurationResponseBodyQuote, +): string { + return JSON.stringify( + GetConfigurationResponseBodyQuote$outboundSchema.parse( + getConfigurationResponseBodyQuote, + ), + ); +} + +export function getConfigurationResponseBodyQuoteFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetConfigurationResponseBodyQuote$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetConfigurationResponseBodyQuote' from JSON`, + ); +} + +/** @internal */ +export const GetConfigurationResponseBodyBillingPlan$inboundSchema: z.ZodType< + GetConfigurationResponseBodyBillingPlan, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + type: GetConfigurationResponseBodyIntegrationsResponseType$inboundSchema, + name: z.string(), + scope: GetConfigurationResponseBodyScope$inboundSchema.optional(), + description: z.string(), + paymentMethodRequired: z.boolean().optional(), + preauthorizationAmount: z.number().optional(), + cost: z.string().optional(), + details: z.array( + z.lazy(() => GetConfigurationResponseBodyDetails$inboundSchema), + ).optional(), + heightlightedDetails: z.array( + z.lazy(() => + GetConfigurationResponseBodyHeightlightedDetails$inboundSchema + ), + ).optional(), + quote: z.array(z.lazy(() => GetConfigurationResponseBodyQuote$inboundSchema)) + .optional(), + effectiveDate: z.string().optional(), +}); + +/** @internal */ +export type GetConfigurationResponseBodyBillingPlan$Outbound = { + id: string; + type: string; + name: string; + scope?: string | undefined; + description: string; + paymentMethodRequired?: boolean | undefined; + preauthorizationAmount?: number | undefined; + cost?: string | undefined; + details?: Array | undefined; + heightlightedDetails?: + | Array + | undefined; + quote?: Array | undefined; + effectiveDate?: string | undefined; +}; + +/** @internal */ +export const GetConfigurationResponseBodyBillingPlan$outboundSchema: z.ZodType< + GetConfigurationResponseBodyBillingPlan$Outbound, + z.ZodTypeDef, + GetConfigurationResponseBodyBillingPlan +> = z.object({ + id: z.string(), + type: GetConfigurationResponseBodyIntegrationsResponseType$outboundSchema, + name: z.string(), + scope: GetConfigurationResponseBodyScope$outboundSchema.optional(), + description: z.string(), + paymentMethodRequired: z.boolean().optional(), + preauthorizationAmount: z.number().optional(), + cost: z.string().optional(), + details: z.array( + z.lazy(() => GetConfigurationResponseBodyDetails$outboundSchema), + ).optional(), + heightlightedDetails: z.array( + z.lazy(() => + GetConfigurationResponseBodyHeightlightedDetails$outboundSchema + ), + ).optional(), + quote: z.array(z.lazy(() => GetConfigurationResponseBodyQuote$outboundSchema)) + .optional(), + effectiveDate: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBodyBillingPlan$ { + /** @deprecated use `GetConfigurationResponseBodyBillingPlan$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationResponseBodyBillingPlan$inboundSchema; + /** @deprecated use `GetConfigurationResponseBodyBillingPlan$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationResponseBodyBillingPlan$outboundSchema; + /** @deprecated use `GetConfigurationResponseBodyBillingPlan$Outbound` instead. */ + export type Outbound = GetConfigurationResponseBodyBillingPlan$Outbound; +} + +export function getConfigurationResponseBodyBillingPlanToJSON( + getConfigurationResponseBodyBillingPlan: + GetConfigurationResponseBodyBillingPlan, +): string { + return JSON.stringify( + GetConfigurationResponseBodyBillingPlan$outboundSchema.parse( + getConfigurationResponseBodyBillingPlan, + ), + ); +} + +export function getConfigurationResponseBodyBillingPlanFromJSON( + jsonString: string, +): SafeParseResult< + GetConfigurationResponseBodyBillingPlan, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetConfigurationResponseBodyBillingPlan$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetConfigurationResponseBodyBillingPlan' from JSON`, + ); +} + +/** @internal */ +export const GetConfigurationResponseBodySource$inboundSchema: z.ZodNativeEnum< + typeof GetConfigurationResponseBodySource +> = z.nativeEnum(GetConfigurationResponseBodySource); + +/** @internal */ +export const GetConfigurationResponseBodySource$outboundSchema: z.ZodNativeEnum< + typeof GetConfigurationResponseBodySource +> = GetConfigurationResponseBodySource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBodySource$ { + /** @deprecated use `GetConfigurationResponseBodySource$inboundSchema` instead. */ + export const inboundSchema = GetConfigurationResponseBodySource$inboundSchema; + /** @deprecated use `GetConfigurationResponseBodySource$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationResponseBodySource$outboundSchema; +} + +/** @internal */ +export const GetConfigurationResponseBodyType$inboundSchema: z.ZodNativeEnum< + typeof GetConfigurationResponseBodyType +> = z.nativeEnum(GetConfigurationResponseBodyType); + +/** @internal */ +export const GetConfigurationResponseBodyType$outboundSchema: z.ZodNativeEnum< + typeof GetConfigurationResponseBodyType +> = GetConfigurationResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBodyType$ { + /** @deprecated use `GetConfigurationResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = GetConfigurationResponseBodyType$inboundSchema; + /** @deprecated use `GetConfigurationResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = GetConfigurationResponseBodyType$outboundSchema; +} + +/** @internal */ +export const GetConfigurationResponseBodyDisabledReason$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetConfigurationResponseBodyDisabledReason); + +/** @internal */ +export const GetConfigurationResponseBodyDisabledReason$outboundSchema: + z.ZodNativeEnum = + GetConfigurationResponseBodyDisabledReason$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBodyDisabledReason$ { + /** @deprecated use `GetConfigurationResponseBodyDisabledReason$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationResponseBodyDisabledReason$inboundSchema; + /** @deprecated use `GetConfigurationResponseBodyDisabledReason$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationResponseBodyDisabledReason$outboundSchema; +} + +/** @internal */ +export const GetConfigurationResponseBodyInstallationType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetConfigurationResponseBodyInstallationType); + +/** @internal */ +export const GetConfigurationResponseBodyInstallationType$outboundSchema: + z.ZodNativeEnum = + GetConfigurationResponseBodyInstallationType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBodyInstallationType$ { + /** @deprecated use `GetConfigurationResponseBodyInstallationType$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationResponseBodyInstallationType$inboundSchema; + /** @deprecated use `GetConfigurationResponseBodyInstallationType$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationResponseBodyInstallationType$outboundSchema; +} + +/** @internal */ +export const GetConfigurationResponseBody1$inboundSchema: z.ZodType< + GetConfigurationResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + billingPlan: z.lazy(() => + GetConfigurationResponseBodyBillingPlan$inboundSchema + ).optional(), + billingTotal: z.string().optional(), + periodStart: z.string().optional(), + periodEnd: z.string().optional(), + completedAt: z.number().optional(), + createdAt: z.number(), + id: z.string(), + integrationId: z.string(), + ownerId: z.string(), + projects: z.array(z.string()).optional(), + source: GetConfigurationResponseBodySource$inboundSchema.optional(), + slug: z.string(), + teamId: z.nullable(z.string()).optional(), + type: GetConfigurationResponseBodyType$inboundSchema, + updatedAt: z.number(), + userId: z.string(), + scopes: z.array(z.string()), + disabledAt: z.number().optional(), + deletedAt: z.nullable(z.number()).optional(), + deleteRequestedAt: z.nullable(z.number()).optional(), + disabledReason: GetConfigurationResponseBodyDisabledReason$inboundSchema + .optional(), + installationType: GetConfigurationResponseBodyInstallationType$inboundSchema + .optional(), +}); + +/** @internal */ +export type GetConfigurationResponseBody1$Outbound = { + billingPlan?: GetConfigurationResponseBodyBillingPlan$Outbound | undefined; + billingTotal?: string | undefined; + periodStart?: string | undefined; + periodEnd?: string | undefined; + completedAt?: number | undefined; + createdAt: number; + id: string; + integrationId: string; + ownerId: string; + projects?: Array | undefined; + source?: string | undefined; + slug: string; + teamId?: string | null | undefined; + type: string; + updatedAt: number; + userId: string; + scopes: Array; + disabledAt?: number | undefined; + deletedAt?: number | null | undefined; + deleteRequestedAt?: number | null | undefined; + disabledReason?: string | undefined; + installationType?: string | undefined; +}; + +/** @internal */ +export const GetConfigurationResponseBody1$outboundSchema: z.ZodType< + GetConfigurationResponseBody1$Outbound, + z.ZodTypeDef, + GetConfigurationResponseBody1 +> = z.object({ + billingPlan: z.lazy(() => + GetConfigurationResponseBodyBillingPlan$outboundSchema + ).optional(), + billingTotal: z.string().optional(), + periodStart: z.string().optional(), + periodEnd: z.string().optional(), + completedAt: z.number().optional(), + createdAt: z.number(), + id: z.string(), + integrationId: z.string(), + ownerId: z.string(), + projects: z.array(z.string()).optional(), + source: GetConfigurationResponseBodySource$outboundSchema.optional(), + slug: z.string(), + teamId: z.nullable(z.string()).optional(), + type: GetConfigurationResponseBodyType$outboundSchema, + updatedAt: z.number(), + userId: z.string(), + scopes: z.array(z.string()), + disabledAt: z.number().optional(), + deletedAt: z.nullable(z.number()).optional(), + deleteRequestedAt: z.nullable(z.number()).optional(), + disabledReason: GetConfigurationResponseBodyDisabledReason$outboundSchema + .optional(), + installationType: GetConfigurationResponseBodyInstallationType$outboundSchema + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBody1$ { + /** @deprecated use `GetConfigurationResponseBody1$inboundSchema` instead. */ + export const inboundSchema = GetConfigurationResponseBody1$inboundSchema; + /** @deprecated use `GetConfigurationResponseBody1$outboundSchema` instead. */ + export const outboundSchema = GetConfigurationResponseBody1$outboundSchema; + /** @deprecated use `GetConfigurationResponseBody1$Outbound` instead. */ + export type Outbound = GetConfigurationResponseBody1$Outbound; +} + +export function getConfigurationResponseBody1ToJSON( + getConfigurationResponseBody1: GetConfigurationResponseBody1, +): string { + return JSON.stringify( + GetConfigurationResponseBody1$outboundSchema.parse( + getConfigurationResponseBody1, + ), + ); +} + +export function getConfigurationResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetConfigurationResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetConfigurationResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const GetConfigurationResponseBody$inboundSchema: z.ZodType< + GetConfigurationResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetConfigurationResponseBody2$inboundSchema), + z.lazy(() => GetConfigurationResponseBody1$inboundSchema), +]); + +/** @internal */ +export type GetConfigurationResponseBody$Outbound = + | GetConfigurationResponseBody2$Outbound + | GetConfigurationResponseBody1$Outbound; + +/** @internal */ +export const GetConfigurationResponseBody$outboundSchema: z.ZodType< + GetConfigurationResponseBody$Outbound, + z.ZodTypeDef, + GetConfigurationResponseBody +> = z.union([ + z.lazy(() => GetConfigurationResponseBody2$outboundSchema), + z.lazy(() => GetConfigurationResponseBody1$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationResponseBody$ { + /** @deprecated use `GetConfigurationResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetConfigurationResponseBody$inboundSchema; + /** @deprecated use `GetConfigurationResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetConfigurationResponseBody$outboundSchema; + /** @deprecated use `GetConfigurationResponseBody$Outbound` instead. */ + export type Outbound = GetConfigurationResponseBody$Outbound; +} + +export function getConfigurationResponseBodyToJSON( + getConfigurationResponseBody: GetConfigurationResponseBody, +): string { + return JSON.stringify( + GetConfigurationResponseBody$outboundSchema.parse( + getConfigurationResponseBody, + ), + ); +} + +export function getConfigurationResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetConfigurationResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetConfigurationResponseBody' from JSON`, + ); +} diff --git a/src/models/getconfigurationsop.ts b/src/models/getconfigurationsop.ts new file mode 100644 index 00000000..5302a765 --- /dev/null +++ b/src/models/getconfigurationsop.ts @@ -0,0 +1,1648 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export const View = { + Account: "account", + Project: "project", +} as const; +export type View = ClosedEnum; + +export const InstallationType = { + Marketplace: "marketplace", + External: "external", +} as const; +export type InstallationType = ClosedEnum; + +export type GetConfigurationsRequest = { + view: View; + installationType?: InstallationType | undefined; + /** + * ID of the integration + */ + integrationIdOrSlug?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export type Integration = { + name: string; + icon: string; + category: string; + isLegacy: boolean; + flags?: Array | undefined; + assignedBetaLabelAt?: number | undefined; +}; + +/** + * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. + */ +export const GetConfigurationsResponseBodyIntegrationsSource = { + Marketplace: "marketplace", + DeployButton: "deploy-button", + External: "external", +} as const; +/** + * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. + */ +export type GetConfigurationsResponseBodyIntegrationsSource = ClosedEnum< + typeof GetConfigurationsResponseBodyIntegrationsSource +>; + +export const GetConfigurationsResponseBodyIntegrationsType = { + IntegrationConfiguration: "integration-configuration", +} as const; +export type GetConfigurationsResponseBodyIntegrationsType = ClosedEnum< + typeof GetConfigurationsResponseBodyIntegrationsType +>; + +export const ResponseBodyDisabledReason = { + DisabledByOwner: "disabled-by-owner", + FeatureNotAvailable: "feature-not-available", + DisabledByAdmin: "disabled-by-admin", + OriginalOwnerLeftTheTeam: "original-owner-left-the-team", + AccountPlanDowngrade: "account-plan-downgrade", + OriginalOwnerRoleDowngraded: "original-owner-role-downgraded", +} as const; +export type ResponseBodyDisabledReason = ClosedEnum< + typeof ResponseBodyDisabledReason +>; + +/** + * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' + */ +export const GetConfigurationsResponseBodyInstallationType = { + Marketplace: "marketplace", + External: "external", +} as const; +/** + * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' + */ +export type GetConfigurationsResponseBodyInstallationType = ClosedEnum< + typeof GetConfigurationsResponseBodyInstallationType +>; + +export const GetConfigurationsResponseBodyIntegrationsResponse200Type = { + Prepayment: "prepayment", + Subscription: "subscription", +} as const; +export type GetConfigurationsResponseBodyIntegrationsResponse200Type = + ClosedEnum; + +export const GetConfigurationsResponseBodyScope = { + Installation: "installation", + Resource: "resource", +} as const; +export type GetConfigurationsResponseBodyScope = ClosedEnum< + typeof GetConfigurationsResponseBodyScope +>; + +export type ResponseBodyDetails = { + label: string; + value?: string | undefined; +}; + +export type ResponseBodyHeightlightedDetails = { + label: string; + value?: string | undefined; +}; + +export type ResponseBodyQuote = { + line: string; + amount: string; +}; + +export type ResponseBodyBillingPlan = { + id: string; + type: GetConfigurationsResponseBodyIntegrationsResponse200Type; + name: string; + scope?: GetConfigurationsResponseBodyScope | undefined; + description: string; + paymentMethodRequired?: boolean | undefined; + preauthorizationAmount?: number | undefined; + cost?: string | undefined; + details?: Array | undefined; + heightlightedDetails?: Array | undefined; + quote?: Array | undefined; + effectiveDate?: string | undefined; +}; + +export type GetConfigurationsResponseBody2 = { + integration: Integration; + /** + * A timestamp that tells you when the configuration was installed successfully + */ + completedAt?: number | undefined; + /** + * A timestamp that tells you when the configuration was created + */ + createdAt: number; + /** + * The unique identifier of the configuration + */ + id: string; + /** + * The unique identifier of the app the configuration was created for + */ + integrationId: string; + /** + * The user or team ID that owns the configuration + */ + ownerId: string; + /** + * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access. + */ + projects?: Array | undefined; + /** + * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. + */ + source?: GetConfigurationsResponseBodyIntegrationsSource | undefined; + /** + * The slug of the integration the configuration is created for. + */ + slug: string; + /** + * When the configuration was created for a team, this will show the ID of the team. + */ + teamId?: string | null | undefined; + type: GetConfigurationsResponseBodyIntegrationsType; + /** + * A timestamp that tells you when the configuration was updated. + */ + updatedAt: number; + /** + * The ID of the user that created the configuration. + */ + userId: string; + /** + * The resources that are allowed to be accessed by the configuration. + */ + scopes: Array; + /** + * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team. + */ + disabledAt?: number | undefined; + /** + * A timestamp that tells you when the configuration was deleted. + */ + deletedAt?: number | null | undefined; + /** + * A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid. + */ + deleteRequestedAt?: number | null | undefined; + disabledReason?: ResponseBodyDisabledReason | undefined; + /** + * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' + */ + installationType?: GetConfigurationsResponseBodyInstallationType | undefined; + billingPlan?: ResponseBodyBillingPlan | undefined; + billingTotal?: string | undefined; + periodStart?: string | undefined; + periodEnd?: string | undefined; +}; + +/** + * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. + */ +export const GetConfigurationsResponseBodySource = { + Marketplace: "marketplace", + DeployButton: "deploy-button", + External: "external", +} as const; +/** + * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. + */ +export type GetConfigurationsResponseBodySource = ClosedEnum< + typeof GetConfigurationsResponseBodySource +>; + +export const GetConfigurationsResponseBodyType = { + IntegrationConfiguration: "integration-configuration", +} as const; +export type GetConfigurationsResponseBodyType = ClosedEnum< + typeof GetConfigurationsResponseBodyType +>; + +export const GetConfigurationsResponseBodyDisabledReason = { + DisabledByOwner: "disabled-by-owner", + FeatureNotAvailable: "feature-not-available", + DisabledByAdmin: "disabled-by-admin", + OriginalOwnerLeftTheTeam: "original-owner-left-the-team", + AccountPlanDowngrade: "account-plan-downgrade", + OriginalOwnerRoleDowngraded: "original-owner-role-downgraded", +} as const; +export type GetConfigurationsResponseBodyDisabledReason = ClosedEnum< + typeof GetConfigurationsResponseBodyDisabledReason +>; + +/** + * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' + */ +export const ResponseBodyInstallationType = { + Marketplace: "marketplace", + External: "external", +} as const; +/** + * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' + */ +export type ResponseBodyInstallationType = ClosedEnum< + typeof ResponseBodyInstallationType +>; + +export const GetConfigurationsResponseBodyIntegrationsResponseType = { + Prepayment: "prepayment", + Subscription: "subscription", +} as const; +export type GetConfigurationsResponseBodyIntegrationsResponseType = ClosedEnum< + typeof GetConfigurationsResponseBodyIntegrationsResponseType +>; + +export const ResponseBodyScope = { + Installation: "installation", + Resource: "resource", +} as const; +export type ResponseBodyScope = ClosedEnum; + +export type Details = { + label: string; + value?: string | undefined; +}; + +export type HeightlightedDetails = { + label: string; + value?: string | undefined; +}; + +export type Quote = { + line: string; + amount: string; +}; + +export type BillingPlan = { + id: string; + type: GetConfigurationsResponseBodyIntegrationsResponseType; + name: string; + scope?: ResponseBodyScope | undefined; + description: string; + paymentMethodRequired?: boolean | undefined; + preauthorizationAmount?: number | undefined; + cost?: string | undefined; + details?: Array
| undefined; + heightlightedDetails?: Array | undefined; + quote?: Array | undefined; + effectiveDate?: string | undefined; +}; + +/** + * The list of configurations for the authenticated user + */ +export type GetConfigurationsResponseBody1 = { + /** + * A timestamp that tells you when the configuration was installed successfully + */ + completedAt?: number | undefined; + /** + * A timestamp that tells you when the configuration was created + */ + createdAt?: number | undefined; + /** + * The unique identifier of the configuration + */ + id?: string | undefined; + /** + * The unique identifier of the app the configuration was created for + */ + integrationId?: string | undefined; + /** + * The user or team ID that owns the configuration + */ + ownerId?: string | undefined; + /** + * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access. + */ + projects?: Array | undefined; + /** + * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. + */ + source?: GetConfigurationsResponseBodySource | undefined; + /** + * The slug of the integration the configuration is created for. + */ + slug?: string | undefined; + /** + * When the configuration was created for a team, this will show the ID of the team. + */ + teamId?: string | null | undefined; + type?: GetConfigurationsResponseBodyType | undefined; + /** + * A timestamp that tells you when the configuration was updated. + */ + updatedAt?: number | undefined; + /** + * The ID of the user that created the configuration. + */ + userId?: string | undefined; + /** + * The resources that are allowed to be accessed by the configuration. + */ + scopes?: Array | undefined; + /** + * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team. + */ + disabledAt?: number | undefined; + /** + * A timestamp that tells you when the configuration was deleted. + */ + deletedAt?: number | null | undefined; + /** + * A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid. + */ + deleteRequestedAt?: number | null | undefined; + disabledReason?: GetConfigurationsResponseBodyDisabledReason | undefined; + /** + * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' + */ + installationType?: ResponseBodyInstallationType | undefined; + billingPlan?: BillingPlan | undefined; + billingTotal?: string | undefined; + periodStart?: string | undefined; + periodEnd?: string | undefined; +}; + +/** + * The list of configurations for the authenticated user + */ +export type GetConfigurationsResponseBody = + | Array + | Array; + +/** @internal */ +export const View$inboundSchema: z.ZodNativeEnum = z.nativeEnum( + View, +); + +/** @internal */ +export const View$outboundSchema: z.ZodNativeEnum = + View$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace View$ { + /** @deprecated use `View$inboundSchema` instead. */ + export const inboundSchema = View$inboundSchema; + /** @deprecated use `View$outboundSchema` instead. */ + export const outboundSchema = View$outboundSchema; +} + +/** @internal */ +export const InstallationType$inboundSchema: z.ZodNativeEnum< + typeof InstallationType +> = z.nativeEnum(InstallationType); + +/** @internal */ +export const InstallationType$outboundSchema: z.ZodNativeEnum< + typeof InstallationType +> = InstallationType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace InstallationType$ { + /** @deprecated use `InstallationType$inboundSchema` instead. */ + export const inboundSchema = InstallationType$inboundSchema; + /** @deprecated use `InstallationType$outboundSchema` instead. */ + export const outboundSchema = InstallationType$outboundSchema; +} + +/** @internal */ +export const GetConfigurationsRequest$inboundSchema: z.ZodType< + GetConfigurationsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + view: View$inboundSchema, + installationType: InstallationType$inboundSchema.optional(), + integrationIdOrSlug: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetConfigurationsRequest$Outbound = { + view: string; + installationType?: string | undefined; + integrationIdOrSlug?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetConfigurationsRequest$outboundSchema: z.ZodType< + GetConfigurationsRequest$Outbound, + z.ZodTypeDef, + GetConfigurationsRequest +> = z.object({ + view: View$outboundSchema, + installationType: InstallationType$outboundSchema.optional(), + integrationIdOrSlug: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationsRequest$ { + /** @deprecated use `GetConfigurationsRequest$inboundSchema` instead. */ + export const inboundSchema = GetConfigurationsRequest$inboundSchema; + /** @deprecated use `GetConfigurationsRequest$outboundSchema` instead. */ + export const outboundSchema = GetConfigurationsRequest$outboundSchema; + /** @deprecated use `GetConfigurationsRequest$Outbound` instead. */ + export type Outbound = GetConfigurationsRequest$Outbound; +} + +export function getConfigurationsRequestToJSON( + getConfigurationsRequest: GetConfigurationsRequest, +): string { + return JSON.stringify( + GetConfigurationsRequest$outboundSchema.parse(getConfigurationsRequest), + ); +} + +export function getConfigurationsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetConfigurationsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetConfigurationsRequest' from JSON`, + ); +} + +/** @internal */ +export const Integration$inboundSchema: z.ZodType< + Integration, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + icon: z.string(), + category: z.string(), + isLegacy: z.boolean(), + flags: z.array(z.string()).optional(), + assignedBetaLabelAt: z.number().optional(), +}); + +/** @internal */ +export type Integration$Outbound = { + name: string; + icon: string; + category: string; + isLegacy: boolean; + flags?: Array | undefined; + assignedBetaLabelAt?: number | undefined; +}; + +/** @internal */ +export const Integration$outboundSchema: z.ZodType< + Integration$Outbound, + z.ZodTypeDef, + Integration +> = z.object({ + name: z.string(), + icon: z.string(), + category: z.string(), + isLegacy: z.boolean(), + flags: z.array(z.string()).optional(), + assignedBetaLabelAt: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Integration$ { + /** @deprecated use `Integration$inboundSchema` instead. */ + export const inboundSchema = Integration$inboundSchema; + /** @deprecated use `Integration$outboundSchema` instead. */ + export const outboundSchema = Integration$outboundSchema; + /** @deprecated use `Integration$Outbound` instead. */ + export type Outbound = Integration$Outbound; +} + +export function integrationToJSON(integration: Integration): string { + return JSON.stringify(Integration$outboundSchema.parse(integration)); +} + +export function integrationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Integration$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Integration' from JSON`, + ); +} + +/** @internal */ +export const GetConfigurationsResponseBodyIntegrationsSource$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetConfigurationsResponseBodyIntegrationsSource); + +/** @internal */ +export const GetConfigurationsResponseBodyIntegrationsSource$outboundSchema: + z.ZodNativeEnum = + GetConfigurationsResponseBodyIntegrationsSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationsResponseBodyIntegrationsSource$ { + /** @deprecated use `GetConfigurationsResponseBodyIntegrationsSource$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationsResponseBodyIntegrationsSource$inboundSchema; + /** @deprecated use `GetConfigurationsResponseBodyIntegrationsSource$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationsResponseBodyIntegrationsSource$outboundSchema; +} + +/** @internal */ +export const GetConfigurationsResponseBodyIntegrationsType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetConfigurationsResponseBodyIntegrationsType); + +/** @internal */ +export const GetConfigurationsResponseBodyIntegrationsType$outboundSchema: + z.ZodNativeEnum = + GetConfigurationsResponseBodyIntegrationsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationsResponseBodyIntegrationsType$ { + /** @deprecated use `GetConfigurationsResponseBodyIntegrationsType$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationsResponseBodyIntegrationsType$inboundSchema; + /** @deprecated use `GetConfigurationsResponseBodyIntegrationsType$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationsResponseBodyIntegrationsType$outboundSchema; +} + +/** @internal */ +export const ResponseBodyDisabledReason$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyDisabledReason +> = z.nativeEnum(ResponseBodyDisabledReason); + +/** @internal */ +export const ResponseBodyDisabledReason$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyDisabledReason +> = ResponseBodyDisabledReason$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyDisabledReason$ { + /** @deprecated use `ResponseBodyDisabledReason$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyDisabledReason$inboundSchema; + /** @deprecated use `ResponseBodyDisabledReason$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyDisabledReason$outboundSchema; +} + +/** @internal */ +export const GetConfigurationsResponseBodyInstallationType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetConfigurationsResponseBodyInstallationType); + +/** @internal */ +export const GetConfigurationsResponseBodyInstallationType$outboundSchema: + z.ZodNativeEnum = + GetConfigurationsResponseBodyInstallationType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationsResponseBodyInstallationType$ { + /** @deprecated use `GetConfigurationsResponseBodyInstallationType$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationsResponseBodyInstallationType$inboundSchema; + /** @deprecated use `GetConfigurationsResponseBodyInstallationType$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationsResponseBodyInstallationType$outboundSchema; +} + +/** @internal */ +export const GetConfigurationsResponseBodyIntegrationsResponse200Type$inboundSchema: + z.ZodNativeEnum< + typeof GetConfigurationsResponseBodyIntegrationsResponse200Type + > = z.nativeEnum(GetConfigurationsResponseBodyIntegrationsResponse200Type); + +/** @internal */ +export const GetConfigurationsResponseBodyIntegrationsResponse200Type$outboundSchema: + z.ZodNativeEnum< + typeof GetConfigurationsResponseBodyIntegrationsResponse200Type + > = GetConfigurationsResponseBodyIntegrationsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationsResponseBodyIntegrationsResponse200Type$ { + /** @deprecated use `GetConfigurationsResponseBodyIntegrationsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationsResponseBodyIntegrationsResponse200Type$inboundSchema; + /** @deprecated use `GetConfigurationsResponseBodyIntegrationsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationsResponseBodyIntegrationsResponse200Type$outboundSchema; +} + +/** @internal */ +export const GetConfigurationsResponseBodyScope$inboundSchema: z.ZodNativeEnum< + typeof GetConfigurationsResponseBodyScope +> = z.nativeEnum(GetConfigurationsResponseBodyScope); + +/** @internal */ +export const GetConfigurationsResponseBodyScope$outboundSchema: z.ZodNativeEnum< + typeof GetConfigurationsResponseBodyScope +> = GetConfigurationsResponseBodyScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationsResponseBodyScope$ { + /** @deprecated use `GetConfigurationsResponseBodyScope$inboundSchema` instead. */ + export const inboundSchema = GetConfigurationsResponseBodyScope$inboundSchema; + /** @deprecated use `GetConfigurationsResponseBodyScope$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationsResponseBodyScope$outboundSchema; +} + +/** @internal */ +export const ResponseBodyDetails$inboundSchema: z.ZodType< + ResponseBodyDetails, + z.ZodTypeDef, + unknown +> = z.object({ + label: z.string(), + value: z.string().optional(), +}); + +/** @internal */ +export type ResponseBodyDetails$Outbound = { + label: string; + value?: string | undefined; +}; + +/** @internal */ +export const ResponseBodyDetails$outboundSchema: z.ZodType< + ResponseBodyDetails$Outbound, + z.ZodTypeDef, + ResponseBodyDetails +> = z.object({ + label: z.string(), + value: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyDetails$ { + /** @deprecated use `ResponseBodyDetails$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyDetails$inboundSchema; + /** @deprecated use `ResponseBodyDetails$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyDetails$outboundSchema; + /** @deprecated use `ResponseBodyDetails$Outbound` instead. */ + export type Outbound = ResponseBodyDetails$Outbound; +} + +export function responseBodyDetailsToJSON( + responseBodyDetails: ResponseBodyDetails, +): string { + return JSON.stringify( + ResponseBodyDetails$outboundSchema.parse(responseBodyDetails), + ); +} + +export function responseBodyDetailsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyDetails$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyDetails' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyHeightlightedDetails$inboundSchema: z.ZodType< + ResponseBodyHeightlightedDetails, + z.ZodTypeDef, + unknown +> = z.object({ + label: z.string(), + value: z.string().optional(), +}); + +/** @internal */ +export type ResponseBodyHeightlightedDetails$Outbound = { + label: string; + value?: string | undefined; +}; + +/** @internal */ +export const ResponseBodyHeightlightedDetails$outboundSchema: z.ZodType< + ResponseBodyHeightlightedDetails$Outbound, + z.ZodTypeDef, + ResponseBodyHeightlightedDetails +> = z.object({ + label: z.string(), + value: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyHeightlightedDetails$ { + /** @deprecated use `ResponseBodyHeightlightedDetails$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyHeightlightedDetails$inboundSchema; + /** @deprecated use `ResponseBodyHeightlightedDetails$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyHeightlightedDetails$outboundSchema; + /** @deprecated use `ResponseBodyHeightlightedDetails$Outbound` instead. */ + export type Outbound = ResponseBodyHeightlightedDetails$Outbound; +} + +export function responseBodyHeightlightedDetailsToJSON( + responseBodyHeightlightedDetails: ResponseBodyHeightlightedDetails, +): string { + return JSON.stringify( + ResponseBodyHeightlightedDetails$outboundSchema.parse( + responseBodyHeightlightedDetails, + ), + ); +} + +export function responseBodyHeightlightedDetailsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyHeightlightedDetails$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyHeightlightedDetails' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyQuote$inboundSchema: z.ZodType< + ResponseBodyQuote, + z.ZodTypeDef, + unknown +> = z.object({ + line: z.string(), + amount: z.string(), +}); + +/** @internal */ +export type ResponseBodyQuote$Outbound = { + line: string; + amount: string; +}; + +/** @internal */ +export const ResponseBodyQuote$outboundSchema: z.ZodType< + ResponseBodyQuote$Outbound, + z.ZodTypeDef, + ResponseBodyQuote +> = z.object({ + line: z.string(), + amount: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyQuote$ { + /** @deprecated use `ResponseBodyQuote$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyQuote$inboundSchema; + /** @deprecated use `ResponseBodyQuote$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyQuote$outboundSchema; + /** @deprecated use `ResponseBodyQuote$Outbound` instead. */ + export type Outbound = ResponseBodyQuote$Outbound; +} + +export function responseBodyQuoteToJSON( + responseBodyQuote: ResponseBodyQuote, +): string { + return JSON.stringify( + ResponseBodyQuote$outboundSchema.parse(responseBodyQuote), + ); +} + +export function responseBodyQuoteFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyQuote$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyQuote' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyBillingPlan$inboundSchema: z.ZodType< + ResponseBodyBillingPlan, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + type: GetConfigurationsResponseBodyIntegrationsResponse200Type$inboundSchema, + name: z.string(), + scope: GetConfigurationsResponseBodyScope$inboundSchema.optional(), + description: z.string(), + paymentMethodRequired: z.boolean().optional(), + preauthorizationAmount: z.number().optional(), + cost: z.string().optional(), + details: z.array(z.lazy(() => ResponseBodyDetails$inboundSchema)).optional(), + heightlightedDetails: z.array( + z.lazy(() => ResponseBodyHeightlightedDetails$inboundSchema), + ).optional(), + quote: z.array(z.lazy(() => ResponseBodyQuote$inboundSchema)).optional(), + effectiveDate: z.string().optional(), +}); + +/** @internal */ +export type ResponseBodyBillingPlan$Outbound = { + id: string; + type: string; + name: string; + scope?: string | undefined; + description: string; + paymentMethodRequired?: boolean | undefined; + preauthorizationAmount?: number | undefined; + cost?: string | undefined; + details?: Array | undefined; + heightlightedDetails?: + | Array + | undefined; + quote?: Array | undefined; + effectiveDate?: string | undefined; +}; + +/** @internal */ +export const ResponseBodyBillingPlan$outboundSchema: z.ZodType< + ResponseBodyBillingPlan$Outbound, + z.ZodTypeDef, + ResponseBodyBillingPlan +> = z.object({ + id: z.string(), + type: GetConfigurationsResponseBodyIntegrationsResponse200Type$outboundSchema, + name: z.string(), + scope: GetConfigurationsResponseBodyScope$outboundSchema.optional(), + description: z.string(), + paymentMethodRequired: z.boolean().optional(), + preauthorizationAmount: z.number().optional(), + cost: z.string().optional(), + details: z.array(z.lazy(() => ResponseBodyDetails$outboundSchema)).optional(), + heightlightedDetails: z.array( + z.lazy(() => ResponseBodyHeightlightedDetails$outboundSchema), + ).optional(), + quote: z.array(z.lazy(() => ResponseBodyQuote$outboundSchema)).optional(), + effectiveDate: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyBillingPlan$ { + /** @deprecated use `ResponseBodyBillingPlan$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyBillingPlan$inboundSchema; + /** @deprecated use `ResponseBodyBillingPlan$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyBillingPlan$outboundSchema; + /** @deprecated use `ResponseBodyBillingPlan$Outbound` instead. */ + export type Outbound = ResponseBodyBillingPlan$Outbound; +} + +export function responseBodyBillingPlanToJSON( + responseBodyBillingPlan: ResponseBodyBillingPlan, +): string { + return JSON.stringify( + ResponseBodyBillingPlan$outboundSchema.parse(responseBodyBillingPlan), + ); +} + +export function responseBodyBillingPlanFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyBillingPlan$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyBillingPlan' from JSON`, + ); +} + +/** @internal */ +export const GetConfigurationsResponseBody2$inboundSchema: z.ZodType< + GetConfigurationsResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + integration: z.lazy(() => Integration$inboundSchema), + completedAt: z.number().optional(), + createdAt: z.number(), + id: z.string(), + integrationId: z.string(), + ownerId: z.string(), + projects: z.array(z.string()).optional(), + source: GetConfigurationsResponseBodyIntegrationsSource$inboundSchema + .optional(), + slug: z.string(), + teamId: z.nullable(z.string()).optional(), + type: GetConfigurationsResponseBodyIntegrationsType$inboundSchema, + updatedAt: z.number(), + userId: z.string(), + scopes: z.array(z.string()), + disabledAt: z.number().optional(), + deletedAt: z.nullable(z.number()).optional(), + deleteRequestedAt: z.nullable(z.number()).optional(), + disabledReason: ResponseBodyDisabledReason$inboundSchema.optional(), + installationType: GetConfigurationsResponseBodyInstallationType$inboundSchema + .optional(), + billingPlan: z.lazy(() => ResponseBodyBillingPlan$inboundSchema).optional(), + billingTotal: z.string().optional(), + periodStart: z.string().optional(), + periodEnd: z.string().optional(), +}); + +/** @internal */ +export type GetConfigurationsResponseBody2$Outbound = { + integration: Integration$Outbound; + completedAt?: number | undefined; + createdAt: number; + id: string; + integrationId: string; + ownerId: string; + projects?: Array | undefined; + source?: string | undefined; + slug: string; + teamId?: string | null | undefined; + type: string; + updatedAt: number; + userId: string; + scopes: Array; + disabledAt?: number | undefined; + deletedAt?: number | null | undefined; + deleteRequestedAt?: number | null | undefined; + disabledReason?: string | undefined; + installationType?: string | undefined; + billingPlan?: ResponseBodyBillingPlan$Outbound | undefined; + billingTotal?: string | undefined; + periodStart?: string | undefined; + periodEnd?: string | undefined; +}; + +/** @internal */ +export const GetConfigurationsResponseBody2$outboundSchema: z.ZodType< + GetConfigurationsResponseBody2$Outbound, + z.ZodTypeDef, + GetConfigurationsResponseBody2 +> = z.object({ + integration: z.lazy(() => Integration$outboundSchema), + completedAt: z.number().optional(), + createdAt: z.number(), + id: z.string(), + integrationId: z.string(), + ownerId: z.string(), + projects: z.array(z.string()).optional(), + source: GetConfigurationsResponseBodyIntegrationsSource$outboundSchema + .optional(), + slug: z.string(), + teamId: z.nullable(z.string()).optional(), + type: GetConfigurationsResponseBodyIntegrationsType$outboundSchema, + updatedAt: z.number(), + userId: z.string(), + scopes: z.array(z.string()), + disabledAt: z.number().optional(), + deletedAt: z.nullable(z.number()).optional(), + deleteRequestedAt: z.nullable(z.number()).optional(), + disabledReason: ResponseBodyDisabledReason$outboundSchema.optional(), + installationType: GetConfigurationsResponseBodyInstallationType$outboundSchema + .optional(), + billingPlan: z.lazy(() => ResponseBodyBillingPlan$outboundSchema).optional(), + billingTotal: z.string().optional(), + periodStart: z.string().optional(), + periodEnd: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationsResponseBody2$ { + /** @deprecated use `GetConfigurationsResponseBody2$inboundSchema` instead. */ + export const inboundSchema = GetConfigurationsResponseBody2$inboundSchema; + /** @deprecated use `GetConfigurationsResponseBody2$outboundSchema` instead. */ + export const outboundSchema = GetConfigurationsResponseBody2$outboundSchema; + /** @deprecated use `GetConfigurationsResponseBody2$Outbound` instead. */ + export type Outbound = GetConfigurationsResponseBody2$Outbound; +} + +export function getConfigurationsResponseBody2ToJSON( + getConfigurationsResponseBody2: GetConfigurationsResponseBody2, +): string { + return JSON.stringify( + GetConfigurationsResponseBody2$outboundSchema.parse( + getConfigurationsResponseBody2, + ), + ); +} + +export function getConfigurationsResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetConfigurationsResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetConfigurationsResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const GetConfigurationsResponseBodySource$inboundSchema: z.ZodNativeEnum< + typeof GetConfigurationsResponseBodySource +> = z.nativeEnum(GetConfigurationsResponseBodySource); + +/** @internal */ +export const GetConfigurationsResponseBodySource$outboundSchema: + z.ZodNativeEnum = + GetConfigurationsResponseBodySource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationsResponseBodySource$ { + /** @deprecated use `GetConfigurationsResponseBodySource$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationsResponseBodySource$inboundSchema; + /** @deprecated use `GetConfigurationsResponseBodySource$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationsResponseBodySource$outboundSchema; +} + +/** @internal */ +export const GetConfigurationsResponseBodyType$inboundSchema: z.ZodNativeEnum< + typeof GetConfigurationsResponseBodyType +> = z.nativeEnum(GetConfigurationsResponseBodyType); + +/** @internal */ +export const GetConfigurationsResponseBodyType$outboundSchema: z.ZodNativeEnum< + typeof GetConfigurationsResponseBodyType +> = GetConfigurationsResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationsResponseBodyType$ { + /** @deprecated use `GetConfigurationsResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = GetConfigurationsResponseBodyType$inboundSchema; + /** @deprecated use `GetConfigurationsResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationsResponseBodyType$outboundSchema; +} + +/** @internal */ +export const GetConfigurationsResponseBodyDisabledReason$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetConfigurationsResponseBodyDisabledReason); + +/** @internal */ +export const GetConfigurationsResponseBodyDisabledReason$outboundSchema: + z.ZodNativeEnum = + GetConfigurationsResponseBodyDisabledReason$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationsResponseBodyDisabledReason$ { + /** @deprecated use `GetConfigurationsResponseBodyDisabledReason$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationsResponseBodyDisabledReason$inboundSchema; + /** @deprecated use `GetConfigurationsResponseBodyDisabledReason$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationsResponseBodyDisabledReason$outboundSchema; +} + +/** @internal */ +export const ResponseBodyInstallationType$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyInstallationType +> = z.nativeEnum(ResponseBodyInstallationType); + +/** @internal */ +export const ResponseBodyInstallationType$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyInstallationType +> = ResponseBodyInstallationType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyInstallationType$ { + /** @deprecated use `ResponseBodyInstallationType$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyInstallationType$inboundSchema; + /** @deprecated use `ResponseBodyInstallationType$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyInstallationType$outboundSchema; +} + +/** @internal */ +export const GetConfigurationsResponseBodyIntegrationsResponseType$inboundSchema: + z.ZodNativeEnum< + typeof GetConfigurationsResponseBodyIntegrationsResponseType + > = z.nativeEnum(GetConfigurationsResponseBodyIntegrationsResponseType); + +/** @internal */ +export const GetConfigurationsResponseBodyIntegrationsResponseType$outboundSchema: + z.ZodNativeEnum< + typeof GetConfigurationsResponseBodyIntegrationsResponseType + > = GetConfigurationsResponseBodyIntegrationsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationsResponseBodyIntegrationsResponseType$ { + /** @deprecated use `GetConfigurationsResponseBodyIntegrationsResponseType$inboundSchema` instead. */ + export const inboundSchema = + GetConfigurationsResponseBodyIntegrationsResponseType$inboundSchema; + /** @deprecated use `GetConfigurationsResponseBodyIntegrationsResponseType$outboundSchema` instead. */ + export const outboundSchema = + GetConfigurationsResponseBodyIntegrationsResponseType$outboundSchema; +} + +/** @internal */ +export const ResponseBodyScope$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyScope +> = z.nativeEnum(ResponseBodyScope); + +/** @internal */ +export const ResponseBodyScope$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyScope +> = ResponseBodyScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyScope$ { + /** @deprecated use `ResponseBodyScope$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyScope$inboundSchema; + /** @deprecated use `ResponseBodyScope$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyScope$outboundSchema; +} + +/** @internal */ +export const Details$inboundSchema: z.ZodType = + z.object({ + label: z.string(), + value: z.string().optional(), + }); + +/** @internal */ +export type Details$Outbound = { + label: string; + value?: string | undefined; +}; + +/** @internal */ +export const Details$outboundSchema: z.ZodType< + Details$Outbound, + z.ZodTypeDef, + Details +> = z.object({ + label: z.string(), + value: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Details$ { + /** @deprecated use `Details$inboundSchema` instead. */ + export const inboundSchema = Details$inboundSchema; + /** @deprecated use `Details$outboundSchema` instead. */ + export const outboundSchema = Details$outboundSchema; + /** @deprecated use `Details$Outbound` instead. */ + export type Outbound = Details$Outbound; +} + +export function detailsToJSON(details: Details): string { + return JSON.stringify(Details$outboundSchema.parse(details)); +} + +export function detailsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Details$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Details' from JSON`, + ); +} + +/** @internal */ +export const HeightlightedDetails$inboundSchema: z.ZodType< + HeightlightedDetails, + z.ZodTypeDef, + unknown +> = z.object({ + label: z.string(), + value: z.string().optional(), +}); + +/** @internal */ +export type HeightlightedDetails$Outbound = { + label: string; + value?: string | undefined; +}; + +/** @internal */ +export const HeightlightedDetails$outboundSchema: z.ZodType< + HeightlightedDetails$Outbound, + z.ZodTypeDef, + HeightlightedDetails +> = z.object({ + label: z.string(), + value: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace HeightlightedDetails$ { + /** @deprecated use `HeightlightedDetails$inboundSchema` instead. */ + export const inboundSchema = HeightlightedDetails$inboundSchema; + /** @deprecated use `HeightlightedDetails$outboundSchema` instead. */ + export const outboundSchema = HeightlightedDetails$outboundSchema; + /** @deprecated use `HeightlightedDetails$Outbound` instead. */ + export type Outbound = HeightlightedDetails$Outbound; +} + +export function heightlightedDetailsToJSON( + heightlightedDetails: HeightlightedDetails, +): string { + return JSON.stringify( + HeightlightedDetails$outboundSchema.parse(heightlightedDetails), + ); +} + +export function heightlightedDetailsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => HeightlightedDetails$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'HeightlightedDetails' from JSON`, + ); +} + +/** @internal */ +export const Quote$inboundSchema: z.ZodType = z + .object({ + line: z.string(), + amount: z.string(), + }); + +/** @internal */ +export type Quote$Outbound = { + line: string; + amount: string; +}; + +/** @internal */ +export const Quote$outboundSchema: z.ZodType< + Quote$Outbound, + z.ZodTypeDef, + Quote +> = z.object({ + line: z.string(), + amount: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Quote$ { + /** @deprecated use `Quote$inboundSchema` instead. */ + export const inboundSchema = Quote$inboundSchema; + /** @deprecated use `Quote$outboundSchema` instead. */ + export const outboundSchema = Quote$outboundSchema; + /** @deprecated use `Quote$Outbound` instead. */ + export type Outbound = Quote$Outbound; +} + +export function quoteToJSON(quote: Quote): string { + return JSON.stringify(Quote$outboundSchema.parse(quote)); +} + +export function quoteFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Quote$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Quote' from JSON`, + ); +} + +/** @internal */ +export const BillingPlan$inboundSchema: z.ZodType< + BillingPlan, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + type: GetConfigurationsResponseBodyIntegrationsResponseType$inboundSchema, + name: z.string(), + scope: ResponseBodyScope$inboundSchema.optional(), + description: z.string(), + paymentMethodRequired: z.boolean().optional(), + preauthorizationAmount: z.number().optional(), + cost: z.string().optional(), + details: z.array(z.lazy(() => Details$inboundSchema)).optional(), + heightlightedDetails: z.array( + z.lazy(() => HeightlightedDetails$inboundSchema), + ).optional(), + quote: z.array(z.lazy(() => Quote$inboundSchema)).optional(), + effectiveDate: z.string().optional(), +}); + +/** @internal */ +export type BillingPlan$Outbound = { + id: string; + type: string; + name: string; + scope?: string | undefined; + description: string; + paymentMethodRequired?: boolean | undefined; + preauthorizationAmount?: number | undefined; + cost?: string | undefined; + details?: Array | undefined; + heightlightedDetails?: Array | undefined; + quote?: Array | undefined; + effectiveDate?: string | undefined; +}; + +/** @internal */ +export const BillingPlan$outboundSchema: z.ZodType< + BillingPlan$Outbound, + z.ZodTypeDef, + BillingPlan +> = z.object({ + id: z.string(), + type: GetConfigurationsResponseBodyIntegrationsResponseType$outboundSchema, + name: z.string(), + scope: ResponseBodyScope$outboundSchema.optional(), + description: z.string(), + paymentMethodRequired: z.boolean().optional(), + preauthorizationAmount: z.number().optional(), + cost: z.string().optional(), + details: z.array(z.lazy(() => Details$outboundSchema)).optional(), + heightlightedDetails: z.array( + z.lazy(() => HeightlightedDetails$outboundSchema), + ).optional(), + quote: z.array(z.lazy(() => Quote$outboundSchema)).optional(), + effectiveDate: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace BillingPlan$ { + /** @deprecated use `BillingPlan$inboundSchema` instead. */ + export const inboundSchema = BillingPlan$inboundSchema; + /** @deprecated use `BillingPlan$outboundSchema` instead. */ + export const outboundSchema = BillingPlan$outboundSchema; + /** @deprecated use `BillingPlan$Outbound` instead. */ + export type Outbound = BillingPlan$Outbound; +} + +export function billingPlanToJSON(billingPlan: BillingPlan): string { + return JSON.stringify(BillingPlan$outboundSchema.parse(billingPlan)); +} + +export function billingPlanFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BillingPlan$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BillingPlan' from JSON`, + ); +} + +/** @internal */ +export const GetConfigurationsResponseBody1$inboundSchema: z.ZodType< + GetConfigurationsResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + completedAt: z.number().optional(), + createdAt: z.number().optional(), + id: z.string().optional(), + integrationId: z.string().optional(), + ownerId: z.string().optional(), + projects: z.array(z.string()).optional(), + source: GetConfigurationsResponseBodySource$inboundSchema.optional(), + slug: z.string().optional(), + teamId: z.nullable(z.string()).optional(), + type: GetConfigurationsResponseBodyType$inboundSchema.optional(), + updatedAt: z.number().optional(), + userId: z.string().optional(), + scopes: z.array(z.string()).optional(), + disabledAt: z.number().optional(), + deletedAt: z.nullable(z.number()).optional(), + deleteRequestedAt: z.nullable(z.number()).optional(), + disabledReason: GetConfigurationsResponseBodyDisabledReason$inboundSchema + .optional(), + installationType: ResponseBodyInstallationType$inboundSchema.optional(), + billingPlan: z.lazy(() => BillingPlan$inboundSchema).optional(), + billingTotal: z.string().optional(), + periodStart: z.string().optional(), + periodEnd: z.string().optional(), +}); + +/** @internal */ +export type GetConfigurationsResponseBody1$Outbound = { + completedAt?: number | undefined; + createdAt?: number | undefined; + id?: string | undefined; + integrationId?: string | undefined; + ownerId?: string | undefined; + projects?: Array | undefined; + source?: string | undefined; + slug?: string | undefined; + teamId?: string | null | undefined; + type?: string | undefined; + updatedAt?: number | undefined; + userId?: string | undefined; + scopes?: Array | undefined; + disabledAt?: number | undefined; + deletedAt?: number | null | undefined; + deleteRequestedAt?: number | null | undefined; + disabledReason?: string | undefined; + installationType?: string | undefined; + billingPlan?: BillingPlan$Outbound | undefined; + billingTotal?: string | undefined; + periodStart?: string | undefined; + periodEnd?: string | undefined; +}; + +/** @internal */ +export const GetConfigurationsResponseBody1$outboundSchema: z.ZodType< + GetConfigurationsResponseBody1$Outbound, + z.ZodTypeDef, + GetConfigurationsResponseBody1 +> = z.object({ + completedAt: z.number().optional(), + createdAt: z.number().optional(), + id: z.string().optional(), + integrationId: z.string().optional(), + ownerId: z.string().optional(), + projects: z.array(z.string()).optional(), + source: GetConfigurationsResponseBodySource$outboundSchema.optional(), + slug: z.string().optional(), + teamId: z.nullable(z.string()).optional(), + type: GetConfigurationsResponseBodyType$outboundSchema.optional(), + updatedAt: z.number().optional(), + userId: z.string().optional(), + scopes: z.array(z.string()).optional(), + disabledAt: z.number().optional(), + deletedAt: z.nullable(z.number()).optional(), + deleteRequestedAt: z.nullable(z.number()).optional(), + disabledReason: GetConfigurationsResponseBodyDisabledReason$outboundSchema + .optional(), + installationType: ResponseBodyInstallationType$outboundSchema.optional(), + billingPlan: z.lazy(() => BillingPlan$outboundSchema).optional(), + billingTotal: z.string().optional(), + periodStart: z.string().optional(), + periodEnd: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationsResponseBody1$ { + /** @deprecated use `GetConfigurationsResponseBody1$inboundSchema` instead. */ + export const inboundSchema = GetConfigurationsResponseBody1$inboundSchema; + /** @deprecated use `GetConfigurationsResponseBody1$outboundSchema` instead. */ + export const outboundSchema = GetConfigurationsResponseBody1$outboundSchema; + /** @deprecated use `GetConfigurationsResponseBody1$Outbound` instead. */ + export type Outbound = GetConfigurationsResponseBody1$Outbound; +} + +export function getConfigurationsResponseBody1ToJSON( + getConfigurationsResponseBody1: GetConfigurationsResponseBody1, +): string { + return JSON.stringify( + GetConfigurationsResponseBody1$outboundSchema.parse( + getConfigurationsResponseBody1, + ), + ); +} + +export function getConfigurationsResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetConfigurationsResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetConfigurationsResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const GetConfigurationsResponseBody$inboundSchema: z.ZodType< + GetConfigurationsResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.array(z.lazy(() => GetConfigurationsResponseBody1$inboundSchema)), + z.array(z.lazy(() => GetConfigurationsResponseBody2$inboundSchema)), +]); + +/** @internal */ +export type GetConfigurationsResponseBody$Outbound = + | Array + | Array; + +/** @internal */ +export const GetConfigurationsResponseBody$outboundSchema: z.ZodType< + GetConfigurationsResponseBody$Outbound, + z.ZodTypeDef, + GetConfigurationsResponseBody +> = z.union([ + z.array(z.lazy(() => GetConfigurationsResponseBody1$outboundSchema)), + z.array(z.lazy(() => GetConfigurationsResponseBody2$outboundSchema)), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetConfigurationsResponseBody$ { + /** @deprecated use `GetConfigurationsResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetConfigurationsResponseBody$inboundSchema; + /** @deprecated use `GetConfigurationsResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetConfigurationsResponseBody$outboundSchema; + /** @deprecated use `GetConfigurationsResponseBody$Outbound` instead. */ + export type Outbound = GetConfigurationsResponseBody$Outbound; +} + +export function getConfigurationsResponseBodyToJSON( + getConfigurationsResponseBody: GetConfigurationsResponseBody, +): string { + return JSON.stringify( + GetConfigurationsResponseBody$outboundSchema.parse( + getConfigurationsResponseBody, + ), + ); +} + +export function getConfigurationsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetConfigurationsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetConfigurationsResponseBody' from JSON`, + ); +} diff --git a/src/models/getdeploymenteventsop.ts b/src/models/getdeploymenteventsop.ts new file mode 100644 index 00000000..41158d93 --- /dev/null +++ b/src/models/getdeploymenteventsop.ts @@ -0,0 +1,221 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * Order of the returned events based on the timestamp. + */ +export const Direction = { + Backward: "backward", + Forward: "forward", +} as const; +/** + * Order of the returned events based on the timestamp. + */ +export type Direction = ClosedEnum; + +/** + * HTTP status code range to filter events by. + */ +export type StatusCode = number | string; + +export type GetDeploymentEventsRequest = { + /** + * The unique identifier or hostname of the deployment. + */ + idOrUrl: string; + /** + * Order of the returned events based on the timestamp. + */ + direction?: Direction | undefined; + /** + * When enabled, this endpoint will return live events as they happen. + */ + follow?: number | undefined; + /** + * Maximum number of events to return. Provide `-1` to return all available logs. + */ + limit?: number | undefined; + /** + * Deployment build ID. + */ + name?: string | undefined; + /** + * Timestamp for when build logs should be pulled from. + */ + since?: number | undefined; + /** + * Timestamp for when the build logs should be pulled up until. + */ + until?: number | undefined; + /** + * HTTP status code range to filter events by. + */ + statusCode?: number | string | undefined; + delimiter?: number | undefined; + builds?: number | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const Direction$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Direction); + +/** @internal */ +export const Direction$outboundSchema: z.ZodNativeEnum = + Direction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Direction$ { + /** @deprecated use `Direction$inboundSchema` instead. */ + export const inboundSchema = Direction$inboundSchema; + /** @deprecated use `Direction$outboundSchema` instead. */ + export const outboundSchema = Direction$outboundSchema; +} + +/** @internal */ +export const StatusCode$inboundSchema: z.ZodType< + StatusCode, + z.ZodTypeDef, + unknown +> = z.union([z.number(), z.string()]); + +/** @internal */ +export type StatusCode$Outbound = number | string; + +/** @internal */ +export const StatusCode$outboundSchema: z.ZodType< + StatusCode$Outbound, + z.ZodTypeDef, + StatusCode +> = z.union([z.number(), z.string()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace StatusCode$ { + /** @deprecated use `StatusCode$inboundSchema` instead. */ + export const inboundSchema = StatusCode$inboundSchema; + /** @deprecated use `StatusCode$outboundSchema` instead. */ + export const outboundSchema = StatusCode$outboundSchema; + /** @deprecated use `StatusCode$Outbound` instead. */ + export type Outbound = StatusCode$Outbound; +} + +export function statusCodeToJSON(statusCode: StatusCode): string { + return JSON.stringify(StatusCode$outboundSchema.parse(statusCode)); +} + +export function statusCodeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => StatusCode$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'StatusCode' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentEventsRequest$inboundSchema: z.ZodType< + GetDeploymentEventsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrUrl: z.string(), + direction: Direction$inboundSchema.default("forward"), + follow: z.number().optional(), + limit: z.number().optional(), + name: z.string().optional(), + since: z.number().optional(), + until: z.number().optional(), + statusCode: z.union([z.number(), z.string()]).optional(), + delimiter: z.number().optional(), + builds: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentEventsRequest$Outbound = { + idOrUrl: string; + direction: string; + follow?: number | undefined; + limit?: number | undefined; + name?: string | undefined; + since?: number | undefined; + until?: number | undefined; + statusCode?: number | string | undefined; + delimiter?: number | undefined; + builds?: number | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentEventsRequest$outboundSchema: z.ZodType< + GetDeploymentEventsRequest$Outbound, + z.ZodTypeDef, + GetDeploymentEventsRequest +> = z.object({ + idOrUrl: z.string(), + direction: Direction$outboundSchema.default("forward"), + follow: z.number().optional(), + limit: z.number().optional(), + name: z.string().optional(), + since: z.number().optional(), + until: z.number().optional(), + statusCode: z.union([z.number(), z.string()]).optional(), + delimiter: z.number().optional(), + builds: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentEventsRequest$ { + /** @deprecated use `GetDeploymentEventsRequest$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentEventsRequest$inboundSchema; + /** @deprecated use `GetDeploymentEventsRequest$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentEventsRequest$outboundSchema; + /** @deprecated use `GetDeploymentEventsRequest$Outbound` instead. */ + export type Outbound = GetDeploymentEventsRequest$Outbound; +} + +export function getDeploymentEventsRequestToJSON( + getDeploymentEventsRequest: GetDeploymentEventsRequest, +): string { + return JSON.stringify( + GetDeploymentEventsRequest$outboundSchema.parse(getDeploymentEventsRequest), + ); +} + +export function getDeploymentEventsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentEventsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentEventsRequest' from JSON`, + ); +} diff --git a/src/models/getdeploymentfilecontentsop.ts b/src/models/getdeploymentfilecontentsop.ts new file mode 100644 index 00000000..383b6539 --- /dev/null +++ b/src/models/getdeploymentfilecontentsop.ts @@ -0,0 +1,99 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetDeploymentFileContentsRequest = { + /** + * The unique deployment identifier + */ + id: string; + /** + * The unique file identifier + */ + fileId: string; + /** + * Path to the file to fetch (only for Git deployments) + */ + path?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentFileContentsRequest$inboundSchema: z.ZodType< + GetDeploymentFileContentsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + fileId: z.string(), + path: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentFileContentsRequest$Outbound = { + id: string; + fileId: string; + path?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentFileContentsRequest$outboundSchema: z.ZodType< + GetDeploymentFileContentsRequest$Outbound, + z.ZodTypeDef, + GetDeploymentFileContentsRequest +> = z.object({ + id: z.string(), + fileId: z.string(), + path: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentFileContentsRequest$ { + /** @deprecated use `GetDeploymentFileContentsRequest$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentFileContentsRequest$inboundSchema; + /** @deprecated use `GetDeploymentFileContentsRequest$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentFileContentsRequest$outboundSchema; + /** @deprecated use `GetDeploymentFileContentsRequest$Outbound` instead. */ + export type Outbound = GetDeploymentFileContentsRequest$Outbound; +} + +export function getDeploymentFileContentsRequestToJSON( + getDeploymentFileContentsRequest: GetDeploymentFileContentsRequest, +): string { + return JSON.stringify( + GetDeploymentFileContentsRequest$outboundSchema.parse( + getDeploymentFileContentsRequest, + ), + ); +} + +export function getDeploymentFileContentsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentFileContentsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentFileContentsRequest' from JSON`, + ); +} diff --git a/src/models/getdeploymentop.ts b/src/models/getdeploymentop.ts new file mode 100644 index 00000000..9358c02e --- /dev/null +++ b/src/models/getdeploymentop.ts @@ -0,0 +1,8486 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + FlagJSONValue, + FlagJSONValue$inboundSchema, + FlagJSONValue$Outbound, + FlagJSONValue$outboundSchema, +} from "./flagjsonvalue.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetDeploymentRequest = { + /** + * The unique identifier or hostname of the deployment. + */ + idOrUrl: string; + /** + * Whether to add in gitRepo information. + */ + withGitRepoInfo?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export type GetDeploymentResponseBodyCreator = { + uid: string; + username?: string | undefined; + avatar?: string | undefined; +}; + +export const GetDeploymentResponseBodyDeploymentsReadyState = { + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Ready: "READY", +} as const; +export type GetDeploymentResponseBodyDeploymentsReadyState = ClosedEnum< + typeof GetDeploymentResponseBodyDeploymentsReadyState +>; + +export type GetDeploymentResponseBodyOutput = { + path: string; + functionName: string; +}; + +/** + * A partial representation of a Build used by the deployment endpoint. + */ +export type ResponseBodyLambdas = { + id?: string | undefined; + createdAt?: number | undefined; + entrypoint?: string | null | undefined; + readyState?: GetDeploymentResponseBodyDeploymentsReadyState | undefined; + readyStateAt?: number | undefined; + output: Array; +}; + +export const GetDeploymentResponseBodyStatus = { + Queued: "QUEUED", + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Ready: "READY", + Canceled: "CANCELED", +} as const; +export type GetDeploymentResponseBodyStatus = ClosedEnum< + typeof GetDeploymentResponseBodyStatus +>; + +export type ResponseBodyTeam = { + id: string; + name: string; + slug: string; + avatar?: string | undefined; +}; + +export type GetDeploymentCustomEnvironment2 = { + id: string; +}; + +export type GetDeploymentCustomEnvironment1 = {}; + +export type ResponseBodyCustomEnvironment = + | GetDeploymentCustomEnvironment1 + | GetDeploymentCustomEnvironment2; + +export type ResponseBodyAliasWarning = { + code: string; + message: string; + link?: string | undefined; + action?: string | undefined; +}; + +export const GetDeploymentResponseBodyType = { + Lambdas: "LAMBDAS", +} as const; +export type GetDeploymentResponseBodyType = ClosedEnum< + typeof GetDeploymentResponseBodyType +>; + +export const GetDeploymentResponseBodyReadyState = { + Queued: "QUEUED", + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Ready: "READY", + Canceled: "CANCELED", +} as const; +export type GetDeploymentResponseBodyReadyState = ClosedEnum< + typeof GetDeploymentResponseBodyReadyState +>; + +export type GetDeploymentResponseBodyAliasError = { + code: string; + message: string; +}; + +export const GetDeploymentResponseBodyChecksState = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +export type GetDeploymentResponseBodyChecksState = ClosedEnum< + typeof GetDeploymentResponseBodyChecksState +>; + +export const GetDeploymentResponseBodyChecksConclusion = { + Succeeded: "succeeded", + Failed: "failed", + Skipped: "skipped", + Canceled: "canceled", +} as const; +export type GetDeploymentResponseBodyChecksConclusion = ClosedEnum< + typeof GetDeploymentResponseBodyChecksConclusion +>; + +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type = + { + Bitbucket: "bitbucket", + } as const; +export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type = + ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type + >; + +export type GetDeploymentGitSource9 = { + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type; + ref: string; + sha: string; + owner?: string | undefined; + slug?: string | undefined; + workspaceUuid: string; + repoUuid: string; +}; + +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type = + { + Gitlab: "gitlab", + } as const; +export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type = + ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type + >; + +export type GetDeploymentGitSource8 = { + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type; + ref: string; + sha: string; + projectId: number; +}; + +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type = + { + Github: "github", + } as const; +export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type = + ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type + >; + +export type GetDeploymentGitSource7 = { + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type; + ref: string; + sha: string; + repoId: number; + org?: string | undefined; + repo?: string | undefined; +}; + +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type = + { + Custom: "custom", + } as const; +export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type = + ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type + >; + +/** + * Allows custom git sources (local folder mounted to the container) in test mode + */ +export type GetDeploymentGitSource6 = { + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type; + ref: string; + sha: string; + gitUrl: string; +}; + +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type = + { + Bitbucket: "bitbucket", + } as const; +export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type = + ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type + >; + +export type GetDeploymentGitSource5 = { + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type; + owner: string; + slug: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type = + { + Bitbucket: "bitbucket", + } as const; +export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type = + ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type + >; + +export type GetDeploymentGitSource4 = { + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type; + workspaceUuid?: string | undefined; + repoUuid: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type = + { + Gitlab: "gitlab", + } as const; +export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type = + ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type + >; + +export type GetDeploymentGitSourceDeploymentsProjectId = string | number; + +export type GetDeploymentGitSource3 = { + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type; + projectId: string | number; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type = + { + Github: "github", + } as const; +export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type = + ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type + >; + +export type GetDeploymentGitSource2 = { + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type; + org: string; + repo: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type = + { + Github: "github", + } as const; +export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type = + ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type + >; + +export type GetDeploymentGitSourceDeploymentsRepoId = string | number; + +export type GetDeploymentGitSource1 = { + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type; + repoId: string | number; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export type ResponseBodyGitSource = + | GetDeploymentGitSource6 + | GetDeploymentGitSource8 + | GetDeploymentGitSource1 + | GetDeploymentGitSource3 + | GetDeploymentGitSource2 + | GetDeploymentGitSource4 + | GetDeploymentGitSource5 + | GetDeploymentGitSource7 + | GetDeploymentGitSource9; + +export type GetDeploymentResponseBodyProject = { + id: string; + name: string; + framework?: string | null | undefined; +}; + +/** + * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic + */ +export const GetDeploymentResponseBodyReadySubstate = { + Staged: "STAGED", + Promoted: "PROMOTED", +} as const; +/** + * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic + */ +export type GetDeploymentResponseBodyReadySubstate = ClosedEnum< + typeof GetDeploymentResponseBodyReadySubstate +>; + +export const GetDeploymentResponseBodySource = { + ApiTriggerGitDeploy: "api-trigger-git-deploy", + Cli: "cli", + CloneRepo: "clone/repo", + Git: "git", + Import: "import", + ImportRepo: "import/repo", + Redeploy: "redeploy", + V0Web: "v0-web", +} as const; +export type GetDeploymentResponseBodySource = ClosedEnum< + typeof GetDeploymentResponseBodySource +>; + +export const GetDeploymentResponseBodyTarget = { + Staging: "staging", + Production: "production", +} as const; +export type GetDeploymentResponseBodyTarget = ClosedEnum< + typeof GetDeploymentResponseBodyTarget +>; + +export type GetDeploymentResponseBodyOidcTokenClaims = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + ownerId: string; + project: string; + projectId: string; + environment: string; +}; + +/** + * The deployment including only public information + */ +export type GetDeploymentResponseBody2 = { + alias?: Array | undefined; + aliasAssigned: boolean; + bootedAt: number; + buildingAt: number; + buildSkipped: boolean; + creator: GetDeploymentResponseBodyCreator; + initReadyAt?: number | undefined; + isFirstBranchDeployment?: boolean | undefined; + lambdas?: Array | undefined; + public: boolean; + ready?: number | undefined; + status: GetDeploymentResponseBodyStatus; + team?: ResponseBodyTeam | undefined; + userAliases?: Array | undefined; + previewCommentsEnabled?: boolean | undefined; + ttyBuildLogs?: boolean | undefined; + customEnvironment?: + | GetDeploymentCustomEnvironment1 + | GetDeploymentCustomEnvironment2 + | undefined; + aliasWarning?: ResponseBodyAliasWarning | null | undefined; + id: string; + type: GetDeploymentResponseBodyType; + createdAt: number; + name: string; + readyState: GetDeploymentResponseBodyReadyState; + aliasError?: GetDeploymentResponseBodyAliasError | null | undefined; + aliasFinal?: string | null | undefined; + /** + * applies to custom domains only, defaults to `true` + */ + autoAssignCustomDomains?: boolean | undefined; + automaticAliases?: Array | undefined; + buildErrorAt?: number | undefined; + checksState?: GetDeploymentResponseBodyChecksState | undefined; + checksConclusion?: GetDeploymentResponseBodyChecksConclusion | undefined; + deletedAt?: number | null | undefined; + /** + * Computed field that is only available for deployments with a microfrontend configuration. + */ + defaultRoute?: string | undefined; + canceledAt?: number | undefined; + errorCode?: string | undefined; + errorLink?: string | undefined; + errorMessage?: string | null | undefined; + errorStep?: string | undefined; + /** + * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service + */ + passiveRegions?: Array | undefined; + gitSource?: + | GetDeploymentGitSource6 + | GetDeploymentGitSource8 + | GetDeploymentGitSource1 + | GetDeploymentGitSource3 + | GetDeploymentGitSource2 + | GetDeploymentGitSource4 + | GetDeploymentGitSource5 + | GetDeploymentGitSource7 + | GetDeploymentGitSource9 + | undefined; + meta: { [k: string]: string }; + originCacheRegion?: string | undefined; + project?: GetDeploymentResponseBodyProject | undefined; + /** + * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic + */ + readySubstate?: GetDeploymentResponseBodyReadySubstate | undefined; + regions: Array; + softDeletedByRetention?: boolean | undefined; + source?: GetDeploymentResponseBodySource | undefined; + target?: GetDeploymentResponseBodyTarget | null | undefined; + undeletedAt?: number | undefined; + url: string; + version: number; + oidcTokenClaims?: GetDeploymentResponseBodyOidcTokenClaims | undefined; +}; + +export type ResponseBodyAliasAssignedAt = number | boolean; + +export type ResponseBodyBuild = { + env: Array; +}; + +export type ResponseBodyBuilds = {}; + +export const ResponseBodyFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + Astro: "astro", + Hexo: "hexo", + Eleventy: "eleventy", + Docusaurus2: "docusaurus-2", + Docusaurus: "docusaurus", + Preact: "preact", + Solidstart1: "solidstart-1", + Solidstart: "solidstart", + Dojo: "dojo", + Ember: "ember", + Vue: "vue", + Scully: "scully", + IonicAngular: "ionic-angular", + Angular: "angular", + Polymer: "polymer", + Svelte: "svelte", + Sveltekit: "sveltekit", + Sveltekit1: "sveltekit-1", + IonicReact: "ionic-react", + CreateReactApp: "create-react-app", + Gridsome: "gridsome", + Umijs: "umijs", + Sapper: "sapper", + Saber: "saber", + Stencil: "stencil", + Nuxtjs: "nuxtjs", + Redwoodjs: "redwoodjs", + Hugo: "hugo", + Jekyll: "jekyll", + Brunch: "brunch", + Middleman: "middleman", + Zola: "zola", + Hydrogen: "hydrogen", + Vite: "vite", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", +} as const; +export type ResponseBodyFramework = ClosedEnum; + +export type ResponseBodySpeedInsights = { + id: string; + enabledAt?: number | undefined; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + hasData?: boolean | undefined; + paidAt?: number | undefined; +}; + +export type ResponseBodyWebAnalytics = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; +}; + +export type ResponseBodyProjectSettings = { + buildCommand?: string | null | undefined; + devCommand?: string | null | undefined; + framework?: ResponseBodyFramework | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + installCommand?: string | null | undefined; + outputDirectory?: string | null | undefined; + speedInsights?: ResponseBodySpeedInsights | undefined; + webAnalytics?: ResponseBodyWebAnalytics | undefined; +}; + +export const GetDeploymentResponseBodyDeploymentsStatus = { + Error: "error", + Skipped: "skipped", + Pending: "pending", + Ready: "ready", + Timeout: "timeout", +} as const; +export type GetDeploymentResponseBodyDeploymentsStatus = ClosedEnum< + typeof GetDeploymentResponseBodyDeploymentsStatus +>; + +export type ResponseBodyIntegrations = { + status: GetDeploymentResponseBodyDeploymentsStatus; + startedAt: number; + completedAt?: number | undefined; + skippedAt?: number | undefined; + skippedBy?: string | undefined; +}; + +export type ResponseBodyCreator = { + uid: string; + username?: string | undefined; + avatar?: string | undefined; +}; + +export const GetDeploymentResponseBodyDeploymentsResponseReadyState = { + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Ready: "READY", +} as const; +export type GetDeploymentResponseBodyDeploymentsResponseReadyState = ClosedEnum< + typeof GetDeploymentResponseBodyDeploymentsResponseReadyState +>; + +export type ResponseBodyOutput = { + path: string; + functionName: string; +}; + +/** + * A partial representation of a Build used by the deployment endpoint. + */ +export type GetDeploymentResponseBodyLambdas = { + id?: string | undefined; + createdAt?: number | undefined; + entrypoint?: string | null | undefined; + readyState?: + | GetDeploymentResponseBodyDeploymentsResponseReadyState + | undefined; + readyStateAt?: number | undefined; + output: Array; +}; + +export const ResponseBodyStatus = { + Queued: "QUEUED", + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Ready: "READY", + Canceled: "CANCELED", +} as const; +export type ResponseBodyStatus = ClosedEnum; + +export type GetDeploymentResponseBodyTeam = { + id: string; + name: string; + slug: string; + avatar?: string | undefined; +}; + +export type GetDeploymentCustomEnvironmentDeployments2 = { + id: string; +}; + +export type GetDeploymentCustomEnvironmentDeployments1 = {}; + +export type GetDeploymentResponseBodyCustomEnvironment = + | GetDeploymentCustomEnvironmentDeployments1 + | GetDeploymentCustomEnvironmentDeployments2; + +export type GetDeploymentResponseBodyAliasWarning = { + code: string; + message: string; + link?: string | undefined; + action?: string | undefined; +}; + +export const ResponseBodyType = { + Lambdas: "LAMBDAS", +} as const; +export type ResponseBodyType = ClosedEnum; + +export const ResponseBodyReadyState = { + Queued: "QUEUED", + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Ready: "READY", + Canceled: "CANCELED", +} as const; +export type ResponseBodyReadyState = ClosedEnum; + +export type ResponseBodyAliasError = { + code: string; + message: string; +}; + +export const ResponseBodyChecksState = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +export type ResponseBodyChecksState = ClosedEnum< + typeof ResponseBodyChecksState +>; + +export const ResponseBodyChecksConclusion = { + Succeeded: "succeeded", + Failed: "failed", + Skipped: "skipped", + Canceled: "canceled", +} as const; +export type ResponseBodyChecksConclusion = ClosedEnum< + typeof ResponseBodyChecksConclusion +>; + +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type = + { + Bitbucket: "bitbucket", + } as const; +export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type = + ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type + >; + +export type GetDeploymentGitSourceDeployments9 = { + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type; + ref: string; + sha: string; + owner?: string | undefined; + slug?: string | undefined; + workspaceUuid: string; + repoUuid: string; +}; + +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type = + { + Gitlab: "gitlab", + } as const; +export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type = + ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type + >; + +export type GetDeploymentGitSourceDeployments8 = { + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type; + ref: string; + sha: string; + projectId: number; +}; + +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = + { + Github: "github", + } as const; +export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType + >; + +export type GetDeploymentGitSourceDeployments7 = { + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType; + ref: string; + sha: string; + repoId: number; + org?: string | undefined; + repo?: string | undefined; +}; + +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = { + Custom: "custom", +} as const; +export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = + ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType + >; + +/** + * Allows custom git sources (local folder mounted to the container) in test mode + */ +export type GetDeploymentGitSourceDeployments6 = { + type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType; + ref: string; + sha: string; + gitUrl: string; +}; + +export const GetDeploymentGitSourceDeploymentsResponse200Type = { + Bitbucket: "bitbucket", +} as const; +export type GetDeploymentGitSourceDeploymentsResponse200Type = ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200Type +>; + +export type GetDeploymentGitSourceDeployments5 = { + type: GetDeploymentGitSourceDeploymentsResponse200Type; + owner: string; + slug: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export const GetDeploymentGitSourceDeploymentsResponseType = { + Bitbucket: "bitbucket", +} as const; +export type GetDeploymentGitSourceDeploymentsResponseType = ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsResponseType +>; + +export type GetDeploymentGitSourceDeployments4 = { + type: GetDeploymentGitSourceDeploymentsResponseType; + workspaceUuid?: string | undefined; + repoUuid: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export const GetDeploymentGitSourceDeploymentsType = { + Gitlab: "gitlab", +} as const; +export type GetDeploymentGitSourceDeploymentsType = ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsType +>; + +export type GetDeploymentGitSourceProjectId = string | number; + +export type GetDeploymentGitSourceDeployments3 = { + type: GetDeploymentGitSourceDeploymentsType; + projectId: string | number; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export const GetDeploymentGitSourceType = { + Github: "github", +} as const; +export type GetDeploymentGitSourceType = ClosedEnum< + typeof GetDeploymentGitSourceType +>; + +export type GetDeploymentGitSourceDeployments2 = { + type: GetDeploymentGitSourceType; + org: string; + repo: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type = + { + Github: "github", + } as const; +export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type = + ClosedEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type + >; + +export type GetDeploymentGitSourceRepoId = string | number; + +export type GetDeploymentGitSourceDeployments1 = { + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type; + repoId: string | number; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +export type GetDeploymentResponseBodyGitSource = + | GetDeploymentGitSourceDeployments6 + | GetDeploymentGitSourceDeployments8 + | GetDeploymentGitSourceDeployments1 + | GetDeploymentGitSourceDeployments3 + | GetDeploymentGitSourceDeployments2 + | GetDeploymentGitSourceDeployments4 + | GetDeploymentGitSourceDeployments5 + | GetDeploymentGitSourceDeployments7 + | GetDeploymentGitSourceDeployments9; + +export type ResponseBodyProject = { + id: string; + name: string; + framework?: string | null | undefined; +}; + +/** + * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic + */ +export const ResponseBodyReadySubstate = { + Staged: "STAGED", + Promoted: "PROMOTED", +} as const; +/** + * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic + */ +export type ResponseBodyReadySubstate = ClosedEnum< + typeof ResponseBodyReadySubstate +>; + +export const ResponseBodySource = { + ApiTriggerGitDeploy: "api-trigger-git-deploy", + Cli: "cli", + CloneRepo: "clone/repo", + Git: "git", + Import: "import", + ImportRepo: "import/repo", + Redeploy: "redeploy", + V0Web: "v0-web", +} as const; +export type ResponseBodySource = ClosedEnum; + +export const ResponseBodyTarget = { + Staging: "staging", + Production: "production", +} as const; +export type ResponseBodyTarget = ClosedEnum; + +export type ResponseBodyOidcTokenClaims = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + ownerId: string; + project: string; + projectId: string; + environment: string; +}; + +export const ResponseBodyPlan = { + Pro: "pro", + Enterprise: "enterprise", + Hobby: "hobby", +} as const; +export type ResponseBodyPlan = ClosedEnum; + +export type ResponseBodyCrons = { + schedule: string; + path: string; +}; + +export type ResponseBodyFunctions = { + memory?: number | undefined; + maxDuration?: number | undefined; + runtime?: string | undefined; + includeFiles?: string | undefined; + excludeFiles?: string | undefined; +}; + +export type GetDeploymentRoutes3 = { + src: string; + continue: boolean; + middleware: number; +}; + +export const GetDeploymentRoutesHandle = { + Error: "error", + Filesystem: "filesystem", + Hit: "hit", + Miss: "miss", + Rewrite: "rewrite", + Resource: "resource", +} as const; +export type GetDeploymentRoutesHandle = ClosedEnum< + typeof GetDeploymentRoutesHandle +>; + +export type GetDeploymentRoutes2 = { + handle: GetDeploymentRoutesHandle; + src?: string | undefined; + dest?: string | undefined; + status?: number | undefined; +}; + +export const GetDeploymentHasType = { + Header: "header", + Cookie: "cookie", + Query: "query", +} as const; +export type GetDeploymentHasType = ClosedEnum; + +export type GetDeploymentHas2 = { + type: GetDeploymentHasType; + key: string; + value?: string | undefined; +}; + +export const GetDeploymentHasDeploymentsType = { + Host: "host", +} as const; +export type GetDeploymentHasDeploymentsType = ClosedEnum< + typeof GetDeploymentHasDeploymentsType +>; + +export type GetDeploymentHas1 = { + type: GetDeploymentHasDeploymentsType; + value: string; +}; + +export type GetDeploymentRoutesHas = GetDeploymentHas1 | GetDeploymentHas2; + +export const GetDeploymentMissingType = { + Header: "header", + Cookie: "cookie", + Query: "query", +} as const; +export type GetDeploymentMissingType = ClosedEnum< + typeof GetDeploymentMissingType +>; + +export type GetDeploymentMissing2 = { + type: GetDeploymentMissingType; + key: string; + value?: string | undefined; +}; + +export const GetDeploymentMissingDeploymentsType = { + Host: "host", +} as const; +export type GetDeploymentMissingDeploymentsType = ClosedEnum< + typeof GetDeploymentMissingDeploymentsType +>; + +export type GetDeploymentMissing1 = { + type: GetDeploymentMissingDeploymentsType; + value: string; +}; + +export type GetDeploymentRoutesMissing = + | GetDeploymentMissing1 + | GetDeploymentMissing2; + +export type GetDeploymentRoutesLocale = { + redirect?: { [k: string]: string } | undefined; + cookie?: string | undefined; +}; + +export type GetDeploymentRoutes1 = { + src: string; + dest?: string | undefined; + headers?: { [k: string]: string } | undefined; + methods?: Array | undefined; + continue?: boolean | undefined; + override?: boolean | undefined; + caseSensitive?: boolean | undefined; + check?: boolean | undefined; + important?: boolean | undefined; + status?: number | undefined; + has?: Array | undefined; + missing?: Array | undefined; + locale?: GetDeploymentRoutesLocale | undefined; + /** + * A middleware key within the `output` key under the build result. Overrides a `middleware` definition. + */ + middlewarePath?: string | undefined; + /** + * The original middleware matchers. + */ + middlewareRawSrc?: Array | undefined; + /** + * A middleware index in the `middleware` key under the build result + */ + middleware?: number | undefined; +}; + +export type ResponseBodyRoutes = + | GetDeploymentRoutes3 + | GetDeploymentRoutes2 + | GetDeploymentRoutes1; + +export const GetDeploymentGitRepoDeploymentsType = { + Bitbucket: "bitbucket", +} as const; +export type GetDeploymentGitRepoDeploymentsType = ClosedEnum< + typeof GetDeploymentGitRepoDeploymentsType +>; + +export const GetDeploymentGitRepoOwnerType = { + Team: "team", + User: "user", +} as const; +export type GetDeploymentGitRepoOwnerType = ClosedEnum< + typeof GetDeploymentGitRepoOwnerType +>; + +export type GetDeploymentGitRepo3 = { + owner: string; + repoUuid: string; + slug: string; + type: GetDeploymentGitRepoDeploymentsType; + workspaceUuid: string; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: GetDeploymentGitRepoOwnerType; +}; + +export const GetDeploymentGitRepoType = { + Github: "github", +} as const; +export type GetDeploymentGitRepoType = ClosedEnum< + typeof GetDeploymentGitRepoType +>; + +export const GetDeploymentGitRepoDeploymentsResponseOwnerType = { + Team: "team", + User: "user", +} as const; +export type GetDeploymentGitRepoDeploymentsResponseOwnerType = ClosedEnum< + typeof GetDeploymentGitRepoDeploymentsResponseOwnerType +>; + +export type GetDeploymentGitRepo2 = { + org: string; + repo: string; + repoId: number; + type: GetDeploymentGitRepoType; + repoOwnerId: number; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: GetDeploymentGitRepoDeploymentsResponseOwnerType; +}; + +export const GetDeploymentGitRepoDeploymentsResponseType = { + Gitlab: "gitlab", +} as const; +export type GetDeploymentGitRepoDeploymentsResponseType = ClosedEnum< + typeof GetDeploymentGitRepoDeploymentsResponseType +>; + +export const GetDeploymentGitRepoDeploymentsOwnerType = { + Team: "team", + User: "user", +} as const; +export type GetDeploymentGitRepoDeploymentsOwnerType = ClosedEnum< + typeof GetDeploymentGitRepoDeploymentsOwnerType +>; + +export type GetDeploymentGitRepo1 = { + namespace: string; + projectId: number; + type: GetDeploymentGitRepoDeploymentsResponseType; + url: string; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: GetDeploymentGitRepoDeploymentsOwnerType; +}; + +export type ResponseBodyGitRepo = + | GetDeploymentGitRepo1 + | GetDeploymentGitRepo2 + | GetDeploymentGitRepo3; + +/** + * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. + */ +export type GetDeploymentFlags2 = {}; + +export type GetDeploymentFlagsOptions = { + value: FlagJSONValue | null; + label?: string | undefined; +}; + +export type GetDeploymentFlagsDefinitions = { + options?: Array | undefined; + url?: string | undefined; + description?: string | undefined; +}; + +/** + * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. + */ +export type GetDeploymentFlags1 = { + definitions: { [k: string]: GetDeploymentFlagsDefinitions }; +}; + +export type ResponseBodyFlags = + | GetDeploymentFlags1 + | Array; + +/** + * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. + */ +export type GetDeploymentMicrofrontendsApplications = { + /** + * This is the production alias, it will always show the most up to date of each application. + */ + productionHost: string; + /** + * Use the fixed deploymentAlias and deploymentHost so that the microfrontend preview stays in sync with the deployment. These are only present for mono-repos when a single commit creates multiple deployments. If they are not present, productionHost will be used. + */ + deploymentAlias?: string | undefined; + deploymentHost?: string | undefined; +}; + +export type GetDeploymentMicrofrontends2 = { + /** + * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. + */ + applications?: + | { [k: string]: GetDeploymentMicrofrontendsApplications } + | undefined; + isDefaultApp: boolean; + /** + * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. + */ + defaultRoute?: string | undefined; + /** + * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. + */ + groupIds: Array; +}; + +export type GetDeploymentMicrofrontends1 = { + /** + * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. + */ + isDefaultApp?: boolean | undefined; + /** + * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. + */ + defaultRoute?: string | undefined; + /** + * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. + */ + groupIds: Array; +}; + +export type ResponseBodyMicrofrontends = + | GetDeploymentMicrofrontends1 + | GetDeploymentMicrofrontends2; + +/** + * The deployment including both public and private information + */ +export type GetDeploymentResponseBody1 = { + aliasAssignedAt?: number | boolean | null | undefined; + alwaysRefuseToBuild?: boolean | undefined; + build: ResponseBodyBuild; + buildArtifactUrls?: Array | undefined; + builds?: Array | undefined; + env: Array; + inspectorUrl: string | null; + isInConcurrentBuildsQueue: boolean; + isInSystemBuildsQueue: boolean; + projectSettings: ResponseBodyProjectSettings; + readyStateReason?: string | undefined; + integrations?: ResponseBodyIntegrations | undefined; + alias?: Array | undefined; + aliasAssigned: boolean; + bootedAt: number; + buildingAt: number; + buildSkipped: boolean; + creator: ResponseBodyCreator; + initReadyAt?: number | undefined; + isFirstBranchDeployment?: boolean | undefined; + lambdas?: Array | undefined; + public: boolean; + ready?: number | undefined; + status: ResponseBodyStatus; + team?: GetDeploymentResponseBodyTeam | undefined; + userAliases?: Array | undefined; + previewCommentsEnabled?: boolean | undefined; + ttyBuildLogs?: boolean | undefined; + customEnvironment?: + | GetDeploymentCustomEnvironmentDeployments1 + | GetDeploymentCustomEnvironmentDeployments2 + | undefined; + aliasWarning?: GetDeploymentResponseBodyAliasWarning | null | undefined; + id: string; + type: ResponseBodyType; + createdAt: number; + name: string; + readyState: ResponseBodyReadyState; + aliasError?: ResponseBodyAliasError | null | undefined; + aliasFinal?: string | null | undefined; + /** + * applies to custom domains only, defaults to `true` + */ + autoAssignCustomDomains?: boolean | undefined; + automaticAliases?: Array | undefined; + buildErrorAt?: number | undefined; + checksState?: ResponseBodyChecksState | undefined; + checksConclusion?: ResponseBodyChecksConclusion | undefined; + deletedAt?: number | null | undefined; + /** + * Computed field that is only available for deployments with a microfrontend configuration. + */ + defaultRoute?: string | undefined; + canceledAt?: number | undefined; + errorCode?: string | undefined; + errorLink?: string | undefined; + errorMessage?: string | null | undefined; + errorStep?: string | undefined; + /** + * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service + */ + passiveRegions?: Array | undefined; + gitSource?: + | GetDeploymentGitSourceDeployments6 + | GetDeploymentGitSourceDeployments8 + | GetDeploymentGitSourceDeployments1 + | GetDeploymentGitSourceDeployments3 + | GetDeploymentGitSourceDeployments2 + | GetDeploymentGitSourceDeployments4 + | GetDeploymentGitSourceDeployments5 + | GetDeploymentGitSourceDeployments7 + | GetDeploymentGitSourceDeployments9 + | undefined; + meta: { [k: string]: string }; + originCacheRegion?: string | undefined; + project?: ResponseBodyProject | undefined; + /** + * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic + */ + readySubstate?: ResponseBodyReadySubstate | undefined; + regions: Array; + softDeletedByRetention?: boolean | undefined; + source?: ResponseBodySource | undefined; + target?: ResponseBodyTarget | null | undefined; + undeletedAt?: number | undefined; + url: string; + version: number; + oidcTokenClaims?: ResponseBodyOidcTokenClaims | undefined; + projectId: string; + plan: ResponseBodyPlan; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdIn: string; + crons?: Array | undefined; + functions?: { [k: string]: ResponseBodyFunctions } | null | undefined; + monorepoManager?: string | null | undefined; + ownerId: string; + /** + * Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions) + */ + passiveConnectConfigurationId?: string | undefined; + routes: + | Array + | null; + gitRepo?: + | GetDeploymentGitRepo1 + | GetDeploymentGitRepo2 + | GetDeploymentGitRepo3 + | null + | undefined; + flags?: GetDeploymentFlags1 | Array | undefined; + microfrontends?: + | GetDeploymentMicrofrontends1 + | GetDeploymentMicrofrontends2 + | undefined; +}; + +/** + * The deployment including only public information + * + * @remarks + * The deployment including both public and private information + */ +export type GetDeploymentResponseBody = + | GetDeploymentResponseBody2 + | GetDeploymentResponseBody1; + +/** @internal */ +export const GetDeploymentRequest$inboundSchema: z.ZodType< + GetDeploymentRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrUrl: z.string(), + withGitRepoInfo: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentRequest$Outbound = { + idOrUrl: string; + withGitRepoInfo?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentRequest$outboundSchema: z.ZodType< + GetDeploymentRequest$Outbound, + z.ZodTypeDef, + GetDeploymentRequest +> = z.object({ + idOrUrl: z.string(), + withGitRepoInfo: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentRequest$ { + /** @deprecated use `GetDeploymentRequest$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentRequest$inboundSchema; + /** @deprecated use `GetDeploymentRequest$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentRequest$outboundSchema; + /** @deprecated use `GetDeploymentRequest$Outbound` instead. */ + export type Outbound = GetDeploymentRequest$Outbound; +} + +export function getDeploymentRequestToJSON( + getDeploymentRequest: GetDeploymentRequest, +): string { + return JSON.stringify( + GetDeploymentRequest$outboundSchema.parse(getDeploymentRequest), + ); +} + +export function getDeploymentRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentRequest' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentResponseBodyCreator$inboundSchema: z.ZodType< + GetDeploymentResponseBodyCreator, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + username: z.string().optional(), + avatar: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentResponseBodyCreator$Outbound = { + uid: string; + username?: string | undefined; + avatar?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentResponseBodyCreator$outboundSchema: z.ZodType< + GetDeploymentResponseBodyCreator$Outbound, + z.ZodTypeDef, + GetDeploymentResponseBodyCreator +> = z.object({ + uid: z.string(), + username: z.string().optional(), + avatar: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyCreator$ { + /** @deprecated use `GetDeploymentResponseBodyCreator$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentResponseBodyCreator$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyCreator$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentResponseBodyCreator$outboundSchema; + /** @deprecated use `GetDeploymentResponseBodyCreator$Outbound` instead. */ + export type Outbound = GetDeploymentResponseBodyCreator$Outbound; +} + +export function getDeploymentResponseBodyCreatorToJSON( + getDeploymentResponseBodyCreator: GetDeploymentResponseBodyCreator, +): string { + return JSON.stringify( + GetDeploymentResponseBodyCreator$outboundSchema.parse( + getDeploymentResponseBodyCreator, + ), + ); +} + +export function getDeploymentResponseBodyCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentResponseBodyCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentResponseBodyCreator' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentResponseBodyDeploymentsReadyState$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetDeploymentResponseBodyDeploymentsReadyState); + +/** @internal */ +export const GetDeploymentResponseBodyDeploymentsReadyState$outboundSchema: + z.ZodNativeEnum = + GetDeploymentResponseBodyDeploymentsReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyDeploymentsReadyState$ { + /** @deprecated use `GetDeploymentResponseBodyDeploymentsReadyState$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentResponseBodyDeploymentsReadyState$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyDeploymentsReadyState$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentResponseBodyDeploymentsReadyState$outboundSchema; +} + +/** @internal */ +export const GetDeploymentResponseBodyOutput$inboundSchema: z.ZodType< + GetDeploymentResponseBodyOutput, + z.ZodTypeDef, + unknown +> = z.object({ + path: z.string(), + functionName: z.string(), +}); + +/** @internal */ +export type GetDeploymentResponseBodyOutput$Outbound = { + path: string; + functionName: string; +}; + +/** @internal */ +export const GetDeploymentResponseBodyOutput$outboundSchema: z.ZodType< + GetDeploymentResponseBodyOutput$Outbound, + z.ZodTypeDef, + GetDeploymentResponseBodyOutput +> = z.object({ + path: z.string(), + functionName: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyOutput$ { + /** @deprecated use `GetDeploymentResponseBodyOutput$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentResponseBodyOutput$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyOutput$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentResponseBodyOutput$outboundSchema; + /** @deprecated use `GetDeploymentResponseBodyOutput$Outbound` instead. */ + export type Outbound = GetDeploymentResponseBodyOutput$Outbound; +} + +export function getDeploymentResponseBodyOutputToJSON( + getDeploymentResponseBodyOutput: GetDeploymentResponseBodyOutput, +): string { + return JSON.stringify( + GetDeploymentResponseBodyOutput$outboundSchema.parse( + getDeploymentResponseBodyOutput, + ), + ); +} + +export function getDeploymentResponseBodyOutputFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentResponseBodyOutput$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentResponseBodyOutput' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyLambdas$inboundSchema: z.ZodType< + ResponseBodyLambdas, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + createdAt: z.number().optional(), + entrypoint: z.nullable(z.string()).optional(), + readyState: GetDeploymentResponseBodyDeploymentsReadyState$inboundSchema + .optional(), + readyStateAt: z.number().optional(), + output: z.array(z.lazy(() => GetDeploymentResponseBodyOutput$inboundSchema)), +}); + +/** @internal */ +export type ResponseBodyLambdas$Outbound = { + id?: string | undefined; + createdAt?: number | undefined; + entrypoint?: string | null | undefined; + readyState?: string | undefined; + readyStateAt?: number | undefined; + output: Array; +}; + +/** @internal */ +export const ResponseBodyLambdas$outboundSchema: z.ZodType< + ResponseBodyLambdas$Outbound, + z.ZodTypeDef, + ResponseBodyLambdas +> = z.object({ + id: z.string().optional(), + createdAt: z.number().optional(), + entrypoint: z.nullable(z.string()).optional(), + readyState: GetDeploymentResponseBodyDeploymentsReadyState$outboundSchema + .optional(), + readyStateAt: z.number().optional(), + output: z.array(z.lazy(() => GetDeploymentResponseBodyOutput$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyLambdas$ { + /** @deprecated use `ResponseBodyLambdas$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyLambdas$inboundSchema; + /** @deprecated use `ResponseBodyLambdas$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyLambdas$outboundSchema; + /** @deprecated use `ResponseBodyLambdas$Outbound` instead. */ + export type Outbound = ResponseBodyLambdas$Outbound; +} + +export function responseBodyLambdasToJSON( + responseBodyLambdas: ResponseBodyLambdas, +): string { + return JSON.stringify( + ResponseBodyLambdas$outboundSchema.parse(responseBodyLambdas), + ); +} + +export function responseBodyLambdasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyLambdas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyLambdas' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentResponseBodyStatus$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentResponseBodyStatus +> = z.nativeEnum(GetDeploymentResponseBodyStatus); + +/** @internal */ +export const GetDeploymentResponseBodyStatus$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentResponseBodyStatus +> = GetDeploymentResponseBodyStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyStatus$ { + /** @deprecated use `GetDeploymentResponseBodyStatus$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentResponseBodyStatus$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyStatus$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentResponseBodyStatus$outboundSchema; +} + +/** @internal */ +export const ResponseBodyTeam$inboundSchema: z.ZodType< + ResponseBodyTeam, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + slug: z.string(), + avatar: z.string().optional(), +}); + +/** @internal */ +export type ResponseBodyTeam$Outbound = { + id: string; + name: string; + slug: string; + avatar?: string | undefined; +}; + +/** @internal */ +export const ResponseBodyTeam$outboundSchema: z.ZodType< + ResponseBodyTeam$Outbound, + z.ZodTypeDef, + ResponseBodyTeam +> = z.object({ + id: z.string(), + name: z.string(), + slug: z.string(), + avatar: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyTeam$ { + /** @deprecated use `ResponseBodyTeam$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyTeam$inboundSchema; + /** @deprecated use `ResponseBodyTeam$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyTeam$outboundSchema; + /** @deprecated use `ResponseBodyTeam$Outbound` instead. */ + export type Outbound = ResponseBodyTeam$Outbound; +} + +export function responseBodyTeamToJSON( + responseBodyTeam: ResponseBodyTeam, +): string { + return JSON.stringify( + ResponseBodyTeam$outboundSchema.parse(responseBodyTeam), + ); +} + +export function responseBodyTeamFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyTeam$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyTeam' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentCustomEnvironment2$inboundSchema: z.ZodType< + GetDeploymentCustomEnvironment2, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +/** @internal */ +export type GetDeploymentCustomEnvironment2$Outbound = { + id: string; +}; + +/** @internal */ +export const GetDeploymentCustomEnvironment2$outboundSchema: z.ZodType< + GetDeploymentCustomEnvironment2$Outbound, + z.ZodTypeDef, + GetDeploymentCustomEnvironment2 +> = z.object({ + id: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentCustomEnvironment2$ { + /** @deprecated use `GetDeploymentCustomEnvironment2$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentCustomEnvironment2$inboundSchema; + /** @deprecated use `GetDeploymentCustomEnvironment2$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentCustomEnvironment2$outboundSchema; + /** @deprecated use `GetDeploymentCustomEnvironment2$Outbound` instead. */ + export type Outbound = GetDeploymentCustomEnvironment2$Outbound; +} + +export function getDeploymentCustomEnvironment2ToJSON( + getDeploymentCustomEnvironment2: GetDeploymentCustomEnvironment2, +): string { + return JSON.stringify( + GetDeploymentCustomEnvironment2$outboundSchema.parse( + getDeploymentCustomEnvironment2, + ), + ); +} + +export function getDeploymentCustomEnvironment2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentCustomEnvironment2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentCustomEnvironment2' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentCustomEnvironment1$inboundSchema: z.ZodType< + GetDeploymentCustomEnvironment1, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type GetDeploymentCustomEnvironment1$Outbound = {}; + +/** @internal */ +export const GetDeploymentCustomEnvironment1$outboundSchema: z.ZodType< + GetDeploymentCustomEnvironment1$Outbound, + z.ZodTypeDef, + GetDeploymentCustomEnvironment1 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentCustomEnvironment1$ { + /** @deprecated use `GetDeploymentCustomEnvironment1$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentCustomEnvironment1$inboundSchema; + /** @deprecated use `GetDeploymentCustomEnvironment1$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentCustomEnvironment1$outboundSchema; + /** @deprecated use `GetDeploymentCustomEnvironment1$Outbound` instead. */ + export type Outbound = GetDeploymentCustomEnvironment1$Outbound; +} + +export function getDeploymentCustomEnvironment1ToJSON( + getDeploymentCustomEnvironment1: GetDeploymentCustomEnvironment1, +): string { + return JSON.stringify( + GetDeploymentCustomEnvironment1$outboundSchema.parse( + getDeploymentCustomEnvironment1, + ), + ); +} + +export function getDeploymentCustomEnvironment1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentCustomEnvironment1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentCustomEnvironment1' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyCustomEnvironment$inboundSchema: z.ZodType< + ResponseBodyCustomEnvironment, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDeploymentCustomEnvironment1$inboundSchema), + z.lazy(() => GetDeploymentCustomEnvironment2$inboundSchema), +]); + +/** @internal */ +export type ResponseBodyCustomEnvironment$Outbound = + | GetDeploymentCustomEnvironment1$Outbound + | GetDeploymentCustomEnvironment2$Outbound; + +/** @internal */ +export const ResponseBodyCustomEnvironment$outboundSchema: z.ZodType< + ResponseBodyCustomEnvironment$Outbound, + z.ZodTypeDef, + ResponseBodyCustomEnvironment +> = z.union([ + z.lazy(() => GetDeploymentCustomEnvironment1$outboundSchema), + z.lazy(() => GetDeploymentCustomEnvironment2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyCustomEnvironment$ { + /** @deprecated use `ResponseBodyCustomEnvironment$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyCustomEnvironment$inboundSchema; + /** @deprecated use `ResponseBodyCustomEnvironment$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyCustomEnvironment$outboundSchema; + /** @deprecated use `ResponseBodyCustomEnvironment$Outbound` instead. */ + export type Outbound = ResponseBodyCustomEnvironment$Outbound; +} + +export function responseBodyCustomEnvironmentToJSON( + responseBodyCustomEnvironment: ResponseBodyCustomEnvironment, +): string { + return JSON.stringify( + ResponseBodyCustomEnvironment$outboundSchema.parse( + responseBodyCustomEnvironment, + ), + ); +} + +export function responseBodyCustomEnvironmentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyCustomEnvironment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyCustomEnvironment' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyAliasWarning$inboundSchema: z.ZodType< + ResponseBodyAliasWarning, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), + link: z.string().optional(), + action: z.string().optional(), +}); + +/** @internal */ +export type ResponseBodyAliasWarning$Outbound = { + code: string; + message: string; + link?: string | undefined; + action?: string | undefined; +}; + +/** @internal */ +export const ResponseBodyAliasWarning$outboundSchema: z.ZodType< + ResponseBodyAliasWarning$Outbound, + z.ZodTypeDef, + ResponseBodyAliasWarning +> = z.object({ + code: z.string(), + message: z.string(), + link: z.string().optional(), + action: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyAliasWarning$ { + /** @deprecated use `ResponseBodyAliasWarning$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyAliasWarning$inboundSchema; + /** @deprecated use `ResponseBodyAliasWarning$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyAliasWarning$outboundSchema; + /** @deprecated use `ResponseBodyAliasWarning$Outbound` instead. */ + export type Outbound = ResponseBodyAliasWarning$Outbound; +} + +export function responseBodyAliasWarningToJSON( + responseBodyAliasWarning: ResponseBodyAliasWarning, +): string { + return JSON.stringify( + ResponseBodyAliasWarning$outboundSchema.parse(responseBodyAliasWarning), + ); +} + +export function responseBodyAliasWarningFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyAliasWarning$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyAliasWarning' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentResponseBodyType$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentResponseBodyType +> = z.nativeEnum(GetDeploymentResponseBodyType); + +/** @internal */ +export const GetDeploymentResponseBodyType$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentResponseBodyType +> = GetDeploymentResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyType$ { + /** @deprecated use `GetDeploymentResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentResponseBodyType$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentResponseBodyType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentResponseBodyReadyState$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentResponseBodyReadyState +> = z.nativeEnum(GetDeploymentResponseBodyReadyState); + +/** @internal */ +export const GetDeploymentResponseBodyReadyState$outboundSchema: + z.ZodNativeEnum = + GetDeploymentResponseBodyReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyReadyState$ { + /** @deprecated use `GetDeploymentResponseBodyReadyState$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentResponseBodyReadyState$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyReadyState$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentResponseBodyReadyState$outboundSchema; +} + +/** @internal */ +export const GetDeploymentResponseBodyAliasError$inboundSchema: z.ZodType< + GetDeploymentResponseBodyAliasError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** @internal */ +export type GetDeploymentResponseBodyAliasError$Outbound = { + code: string; + message: string; +}; + +/** @internal */ +export const GetDeploymentResponseBodyAliasError$outboundSchema: z.ZodType< + GetDeploymentResponseBodyAliasError$Outbound, + z.ZodTypeDef, + GetDeploymentResponseBodyAliasError +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyAliasError$ { + /** @deprecated use `GetDeploymentResponseBodyAliasError$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentResponseBodyAliasError$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyAliasError$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentResponseBodyAliasError$outboundSchema; + /** @deprecated use `GetDeploymentResponseBodyAliasError$Outbound` instead. */ + export type Outbound = GetDeploymentResponseBodyAliasError$Outbound; +} + +export function getDeploymentResponseBodyAliasErrorToJSON( + getDeploymentResponseBodyAliasError: GetDeploymentResponseBodyAliasError, +): string { + return JSON.stringify( + GetDeploymentResponseBodyAliasError$outboundSchema.parse( + getDeploymentResponseBodyAliasError, + ), + ); +} + +export function getDeploymentResponseBodyAliasErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDeploymentResponseBodyAliasError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentResponseBodyAliasError' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentResponseBodyChecksState$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetDeploymentResponseBodyChecksState, + ); + +/** @internal */ +export const GetDeploymentResponseBodyChecksState$outboundSchema: + z.ZodNativeEnum = + GetDeploymentResponseBodyChecksState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyChecksState$ { + /** @deprecated use `GetDeploymentResponseBodyChecksState$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentResponseBodyChecksState$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyChecksState$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentResponseBodyChecksState$outboundSchema; +} + +/** @internal */ +export const GetDeploymentResponseBodyChecksConclusion$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetDeploymentResponseBodyChecksConclusion); + +/** @internal */ +export const GetDeploymentResponseBodyChecksConclusion$outboundSchema: + z.ZodNativeEnum = + GetDeploymentResponseBodyChecksConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyChecksConclusion$ { + /** @deprecated use `GetDeploymentResponseBodyChecksConclusion$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentResponseBodyChecksConclusion$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyChecksConclusion$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentResponseBodyChecksConclusion$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type + > = z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type, + ); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type + > = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSource9$inboundSchema: z.ZodType< + GetDeploymentGitSource9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema, + ref: z.string(), + sha: z.string(), + owner: z.string().optional(), + slug: z.string().optional(), + workspaceUuid: z.string(), + repoUuid: z.string(), +}); + +/** @internal */ +export type GetDeploymentGitSource9$Outbound = { + type: string; + ref: string; + sha: string; + owner?: string | undefined; + slug?: string | undefined; + workspaceUuid: string; + repoUuid: string; +}; + +/** @internal */ +export const GetDeploymentGitSource9$outboundSchema: z.ZodType< + GetDeploymentGitSource9$Outbound, + z.ZodTypeDef, + GetDeploymentGitSource9 +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema, + ref: z.string(), + sha: z.string(), + owner: z.string().optional(), + slug: z.string().optional(), + workspaceUuid: z.string(), + repoUuid: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSource9$ { + /** @deprecated use `GetDeploymentGitSource9$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSource9$inboundSchema; + /** @deprecated use `GetDeploymentGitSource9$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitSource9$outboundSchema; + /** @deprecated use `GetDeploymentGitSource9$Outbound` instead. */ + export type Outbound = GetDeploymentGitSource9$Outbound; +} + +export function getDeploymentGitSource9ToJSON( + getDeploymentGitSource9: GetDeploymentGitSource9, +): string { + return JSON.stringify( + GetDeploymentGitSource9$outboundSchema.parse(getDeploymentGitSource9), + ); +} + +export function getDeploymentGitSource9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentGitSource9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSource9' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$inboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type + > = z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type, + ); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$outboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type + > = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSource8$inboundSchema: z.ZodType< + GetDeploymentGitSource8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$inboundSchema, + ref: z.string(), + sha: z.string(), + projectId: z.number(), +}); + +/** @internal */ +export type GetDeploymentGitSource8$Outbound = { + type: string; + ref: string; + sha: string; + projectId: number; +}; + +/** @internal */ +export const GetDeploymentGitSource8$outboundSchema: z.ZodType< + GetDeploymentGitSource8$Outbound, + z.ZodTypeDef, + GetDeploymentGitSource8 +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$outboundSchema, + ref: z.string(), + sha: z.string(), + projectId: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSource8$ { + /** @deprecated use `GetDeploymentGitSource8$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSource8$inboundSchema; + /** @deprecated use `GetDeploymentGitSource8$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitSource8$outboundSchema; + /** @deprecated use `GetDeploymentGitSource8$Outbound` instead. */ + export type Outbound = GetDeploymentGitSource8$Outbound; +} + +export function getDeploymentGitSource8ToJSON( + getDeploymentGitSource8: GetDeploymentGitSource8, +): string { + return JSON.stringify( + GetDeploymentGitSource8$outboundSchema.parse(getDeploymentGitSource8), + ); +} + +export function getDeploymentGitSource8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentGitSource8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSource8' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$inboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type + > = z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type, + ); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$outboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type + > = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSource7$inboundSchema: z.ZodType< + GetDeploymentGitSource7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$inboundSchema, + ref: z.string(), + sha: z.string(), + repoId: z.number(), + org: z.string().optional(), + repo: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentGitSource7$Outbound = { + type: string; + ref: string; + sha: string; + repoId: number; + org?: string | undefined; + repo?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentGitSource7$outboundSchema: z.ZodType< + GetDeploymentGitSource7$Outbound, + z.ZodTypeDef, + GetDeploymentGitSource7 +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$outboundSchema, + ref: z.string(), + sha: z.string(), + repoId: z.number(), + org: z.string().optional(), + repo: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSource7$ { + /** @deprecated use `GetDeploymentGitSource7$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSource7$inboundSchema; + /** @deprecated use `GetDeploymentGitSource7$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitSource7$outboundSchema; + /** @deprecated use `GetDeploymentGitSource7$Outbound` instead. */ + export type Outbound = GetDeploymentGitSource7$Outbound; +} + +export function getDeploymentGitSource7ToJSON( + getDeploymentGitSource7: GetDeploymentGitSource7, +): string { + return JSON.stringify( + GetDeploymentGitSource7$outboundSchema.parse(getDeploymentGitSource7), + ); +} + +export function getDeploymentGitSource7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentGitSource7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSource7' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$inboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type + > = z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type, + ); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$outboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type + > = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSource6$inboundSchema: z.ZodType< + GetDeploymentGitSource6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$inboundSchema, + ref: z.string(), + sha: z.string(), + gitUrl: z.string(), +}); + +/** @internal */ +export type GetDeploymentGitSource6$Outbound = { + type: string; + ref: string; + sha: string; + gitUrl: string; +}; + +/** @internal */ +export const GetDeploymentGitSource6$outboundSchema: z.ZodType< + GetDeploymentGitSource6$Outbound, + z.ZodTypeDef, + GetDeploymentGitSource6 +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$outboundSchema, + ref: z.string(), + sha: z.string(), + gitUrl: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSource6$ { + /** @deprecated use `GetDeploymentGitSource6$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSource6$inboundSchema; + /** @deprecated use `GetDeploymentGitSource6$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitSource6$outboundSchema; + /** @deprecated use `GetDeploymentGitSource6$Outbound` instead. */ + export type Outbound = GetDeploymentGitSource6$Outbound; +} + +export function getDeploymentGitSource6ToJSON( + getDeploymentGitSource6: GetDeploymentGitSource6, +): string { + return JSON.stringify( + GetDeploymentGitSource6$outboundSchema.parse(getDeploymentGitSource6), + ); +} + +export function getDeploymentGitSource6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentGitSource6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSource6' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$inboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type + > = z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type, + ); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$outboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type + > = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSource5$inboundSchema: z.ZodType< + GetDeploymentGitSource5, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$inboundSchema, + owner: z.string(), + slug: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type GetDeploymentGitSource5$Outbound = { + type: string; + owner: string; + slug: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const GetDeploymentGitSource5$outboundSchema: z.ZodType< + GetDeploymentGitSource5$Outbound, + z.ZodTypeDef, + GetDeploymentGitSource5 +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$outboundSchema, + owner: z.string(), + slug: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSource5$ { + /** @deprecated use `GetDeploymentGitSource5$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSource5$inboundSchema; + /** @deprecated use `GetDeploymentGitSource5$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitSource5$outboundSchema; + /** @deprecated use `GetDeploymentGitSource5$Outbound` instead. */ + export type Outbound = GetDeploymentGitSource5$Outbound; +} + +export function getDeploymentGitSource5ToJSON( + getDeploymentGitSource5: GetDeploymentGitSource5, +): string { + return JSON.stringify( + GetDeploymentGitSource5$outboundSchema.parse(getDeploymentGitSource5), + ); +} + +export function getDeploymentGitSource5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentGitSource5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSource5' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$inboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type + > = z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type, + ); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$outboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type + > = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSource4$inboundSchema: z.ZodType< + GetDeploymentGitSource4, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$inboundSchema, + workspaceUuid: z.string().optional(), + repoUuid: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type GetDeploymentGitSource4$Outbound = { + type: string; + workspaceUuid?: string | undefined; + repoUuid: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const GetDeploymentGitSource4$outboundSchema: z.ZodType< + GetDeploymentGitSource4$Outbound, + z.ZodTypeDef, + GetDeploymentGitSource4 +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$outboundSchema, + workspaceUuid: z.string().optional(), + repoUuid: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSource4$ { + /** @deprecated use `GetDeploymentGitSource4$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSource4$inboundSchema; + /** @deprecated use `GetDeploymentGitSource4$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitSource4$outboundSchema; + /** @deprecated use `GetDeploymentGitSource4$Outbound` instead. */ + export type Outbound = GetDeploymentGitSource4$Outbound; +} + +export function getDeploymentGitSource4ToJSON( + getDeploymentGitSource4: GetDeploymentGitSource4, +): string { + return JSON.stringify( + GetDeploymentGitSource4$outboundSchema.parse(getDeploymentGitSource4), + ); +} + +export function getDeploymentGitSource4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentGitSource4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSource4' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$inboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type + > = z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type, + ); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$outboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type + > = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsProjectId$inboundSchema: + z.ZodType = + z.union([z.string(), z.number()]); + +/** @internal */ +export type GetDeploymentGitSourceDeploymentsProjectId$Outbound = + | string + | number; + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsProjectId$outboundSchema: + z.ZodType< + GetDeploymentGitSourceDeploymentsProjectId$Outbound, + z.ZodTypeDef, + GetDeploymentGitSourceDeploymentsProjectId + > = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsProjectId$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsProjectId$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsProjectId$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsProjectId$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsProjectId$outboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsProjectId$Outbound` instead. */ + export type Outbound = GetDeploymentGitSourceDeploymentsProjectId$Outbound; +} + +export function getDeploymentGitSourceDeploymentsProjectIdToJSON( + getDeploymentGitSourceDeploymentsProjectId: + GetDeploymentGitSourceDeploymentsProjectId, +): string { + return JSON.stringify( + GetDeploymentGitSourceDeploymentsProjectId$outboundSchema.parse( + getDeploymentGitSourceDeploymentsProjectId, + ), + ); +} + +export function getDeploymentGitSourceDeploymentsProjectIdFromJSON( + jsonString: string, +): SafeParseResult< + GetDeploymentGitSourceDeploymentsProjectId, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetDeploymentGitSourceDeploymentsProjectId$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetDeploymentGitSourceDeploymentsProjectId' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSource3$inboundSchema: z.ZodType< + GetDeploymentGitSource3, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$inboundSchema, + projectId: z.union([z.string(), z.number()]), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type GetDeploymentGitSource3$Outbound = { + type: string; + projectId: string | number; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const GetDeploymentGitSource3$outboundSchema: z.ZodType< + GetDeploymentGitSource3$Outbound, + z.ZodTypeDef, + GetDeploymentGitSource3 +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$outboundSchema, + projectId: z.union([z.string(), z.number()]), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSource3$ { + /** @deprecated use `GetDeploymentGitSource3$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSource3$inboundSchema; + /** @deprecated use `GetDeploymentGitSource3$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitSource3$outboundSchema; + /** @deprecated use `GetDeploymentGitSource3$Outbound` instead. */ + export type Outbound = GetDeploymentGitSource3$Outbound; +} + +export function getDeploymentGitSource3ToJSON( + getDeploymentGitSource3: GetDeploymentGitSource3, +): string { + return JSON.stringify( + GetDeploymentGitSource3$outboundSchema.parse(getDeploymentGitSource3), + ); +} + +export function getDeploymentGitSource3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentGitSource3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSource3' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$inboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type + > = z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type, + ); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$outboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type + > = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSource2$inboundSchema: z.ZodType< + GetDeploymentGitSource2, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$inboundSchema, + org: z.string(), + repo: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type GetDeploymentGitSource2$Outbound = { + type: string; + org: string; + repo: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const GetDeploymentGitSource2$outboundSchema: z.ZodType< + GetDeploymentGitSource2$Outbound, + z.ZodTypeDef, + GetDeploymentGitSource2 +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$outboundSchema, + org: z.string(), + repo: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSource2$ { + /** @deprecated use `GetDeploymentGitSource2$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSource2$inboundSchema; + /** @deprecated use `GetDeploymentGitSource2$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitSource2$outboundSchema; + /** @deprecated use `GetDeploymentGitSource2$Outbound` instead. */ + export type Outbound = GetDeploymentGitSource2$Outbound; +} + +export function getDeploymentGitSource2ToJSON( + getDeploymentGitSource2: GetDeploymentGitSource2, +): string { + return JSON.stringify( + GetDeploymentGitSource2$outboundSchema.parse(getDeploymentGitSource2), + ); +} + +export function getDeploymentGitSource2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentGitSource2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSource2' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type + > = z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type, + ); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$outboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type + > = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsRepoId$inboundSchema: z.ZodType< + GetDeploymentGitSourceDeploymentsRepoId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number()]); + +/** @internal */ +export type GetDeploymentGitSourceDeploymentsRepoId$Outbound = string | number; + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsRepoId$outboundSchema: z.ZodType< + GetDeploymentGitSourceDeploymentsRepoId$Outbound, + z.ZodTypeDef, + GetDeploymentGitSourceDeploymentsRepoId +> = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsRepoId$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsRepoId$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsRepoId$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsRepoId$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsRepoId$outboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsRepoId$Outbound` instead. */ + export type Outbound = GetDeploymentGitSourceDeploymentsRepoId$Outbound; +} + +export function getDeploymentGitSourceDeploymentsRepoIdToJSON( + getDeploymentGitSourceDeploymentsRepoId: + GetDeploymentGitSourceDeploymentsRepoId, +): string { + return JSON.stringify( + GetDeploymentGitSourceDeploymentsRepoId$outboundSchema.parse( + getDeploymentGitSourceDeploymentsRepoId, + ), + ); +} + +export function getDeploymentGitSourceDeploymentsRepoIdFromJSON( + jsonString: string, +): SafeParseResult< + GetDeploymentGitSourceDeploymentsRepoId, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetDeploymentGitSourceDeploymentsRepoId$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetDeploymentGitSourceDeploymentsRepoId' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSource1$inboundSchema: z.ZodType< + GetDeploymentGitSource1, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema, + repoId: z.union([z.string(), z.number()]), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type GetDeploymentGitSource1$Outbound = { + type: string; + repoId: string | number; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const GetDeploymentGitSource1$outboundSchema: z.ZodType< + GetDeploymentGitSource1$Outbound, + z.ZodTypeDef, + GetDeploymentGitSource1 +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$outboundSchema, + repoId: z.union([z.string(), z.number()]), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSource1$ { + /** @deprecated use `GetDeploymentGitSource1$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSource1$inboundSchema; + /** @deprecated use `GetDeploymentGitSource1$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitSource1$outboundSchema; + /** @deprecated use `GetDeploymentGitSource1$Outbound` instead. */ + export type Outbound = GetDeploymentGitSource1$Outbound; +} + +export function getDeploymentGitSource1ToJSON( + getDeploymentGitSource1: GetDeploymentGitSource1, +): string { + return JSON.stringify( + GetDeploymentGitSource1$outboundSchema.parse(getDeploymentGitSource1), + ); +} + +export function getDeploymentGitSource1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentGitSource1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSource1' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyGitSource$inboundSchema: z.ZodType< + ResponseBodyGitSource, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDeploymentGitSource6$inboundSchema), + z.lazy(() => GetDeploymentGitSource8$inboundSchema), + z.lazy(() => GetDeploymentGitSource1$inboundSchema), + z.lazy(() => GetDeploymentGitSource3$inboundSchema), + z.lazy(() => GetDeploymentGitSource2$inboundSchema), + z.lazy(() => GetDeploymentGitSource4$inboundSchema), + z.lazy(() => GetDeploymentGitSource5$inboundSchema), + z.lazy(() => GetDeploymentGitSource7$inboundSchema), + z.lazy(() => GetDeploymentGitSource9$inboundSchema), +]); + +/** @internal */ +export type ResponseBodyGitSource$Outbound = + | GetDeploymentGitSource6$Outbound + | GetDeploymentGitSource8$Outbound + | GetDeploymentGitSource1$Outbound + | GetDeploymentGitSource3$Outbound + | GetDeploymentGitSource2$Outbound + | GetDeploymentGitSource4$Outbound + | GetDeploymentGitSource5$Outbound + | GetDeploymentGitSource7$Outbound + | GetDeploymentGitSource9$Outbound; + +/** @internal */ +export const ResponseBodyGitSource$outboundSchema: z.ZodType< + ResponseBodyGitSource$Outbound, + z.ZodTypeDef, + ResponseBodyGitSource +> = z.union([ + z.lazy(() => GetDeploymentGitSource6$outboundSchema), + z.lazy(() => GetDeploymentGitSource8$outboundSchema), + z.lazy(() => GetDeploymentGitSource1$outboundSchema), + z.lazy(() => GetDeploymentGitSource3$outboundSchema), + z.lazy(() => GetDeploymentGitSource2$outboundSchema), + z.lazy(() => GetDeploymentGitSource4$outboundSchema), + z.lazy(() => GetDeploymentGitSource5$outboundSchema), + z.lazy(() => GetDeploymentGitSource7$outboundSchema), + z.lazy(() => GetDeploymentGitSource9$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyGitSource$ { + /** @deprecated use `ResponseBodyGitSource$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyGitSource$inboundSchema; + /** @deprecated use `ResponseBodyGitSource$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyGitSource$outboundSchema; + /** @deprecated use `ResponseBodyGitSource$Outbound` instead. */ + export type Outbound = ResponseBodyGitSource$Outbound; +} + +export function responseBodyGitSourceToJSON( + responseBodyGitSource: ResponseBodyGitSource, +): string { + return JSON.stringify( + ResponseBodyGitSource$outboundSchema.parse(responseBodyGitSource), + ); +} + +export function responseBodyGitSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyGitSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyGitSource' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentResponseBodyProject$inboundSchema: z.ZodType< + GetDeploymentResponseBodyProject, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(z.string()).optional(), +}); + +/** @internal */ +export type GetDeploymentResponseBodyProject$Outbound = { + id: string; + name: string; + framework?: string | null | undefined; +}; + +/** @internal */ +export const GetDeploymentResponseBodyProject$outboundSchema: z.ZodType< + GetDeploymentResponseBodyProject$Outbound, + z.ZodTypeDef, + GetDeploymentResponseBodyProject +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyProject$ { + /** @deprecated use `GetDeploymentResponseBodyProject$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentResponseBodyProject$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyProject$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentResponseBodyProject$outboundSchema; + /** @deprecated use `GetDeploymentResponseBodyProject$Outbound` instead. */ + export type Outbound = GetDeploymentResponseBodyProject$Outbound; +} + +export function getDeploymentResponseBodyProjectToJSON( + getDeploymentResponseBodyProject: GetDeploymentResponseBodyProject, +): string { + return JSON.stringify( + GetDeploymentResponseBodyProject$outboundSchema.parse( + getDeploymentResponseBodyProject, + ), + ); +} + +export function getDeploymentResponseBodyProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentResponseBodyProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentResponseBodyProject' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentResponseBodyReadySubstate$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetDeploymentResponseBodyReadySubstate, + ); + +/** @internal */ +export const GetDeploymentResponseBodyReadySubstate$outboundSchema: + z.ZodNativeEnum = + GetDeploymentResponseBodyReadySubstate$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyReadySubstate$ { + /** @deprecated use `GetDeploymentResponseBodyReadySubstate$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentResponseBodyReadySubstate$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyReadySubstate$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentResponseBodyReadySubstate$outboundSchema; +} + +/** @internal */ +export const GetDeploymentResponseBodySource$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentResponseBodySource +> = z.nativeEnum(GetDeploymentResponseBodySource); + +/** @internal */ +export const GetDeploymentResponseBodySource$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentResponseBodySource +> = GetDeploymentResponseBodySource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodySource$ { + /** @deprecated use `GetDeploymentResponseBodySource$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentResponseBodySource$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodySource$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentResponseBodySource$outboundSchema; +} + +/** @internal */ +export const GetDeploymentResponseBodyTarget$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentResponseBodyTarget +> = z.nativeEnum(GetDeploymentResponseBodyTarget); + +/** @internal */ +export const GetDeploymentResponseBodyTarget$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentResponseBodyTarget +> = GetDeploymentResponseBodyTarget$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyTarget$ { + /** @deprecated use `GetDeploymentResponseBodyTarget$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentResponseBodyTarget$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyTarget$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentResponseBodyTarget$outboundSchema; +} + +/** @internal */ +export const GetDeploymentResponseBodyOidcTokenClaims$inboundSchema: z.ZodType< + GetDeploymentResponseBodyOidcTokenClaims, + z.ZodTypeDef, + unknown +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + owner_id: z.string(), + project: z.string(), + project_id: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + "owner_id": "ownerId", + "project_id": "projectId", + }); +}); + +/** @internal */ +export type GetDeploymentResponseBodyOidcTokenClaims$Outbound = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + owner_id: string; + project: string; + project_id: string; + environment: string; +}; + +/** @internal */ +export const GetDeploymentResponseBodyOidcTokenClaims$outboundSchema: z.ZodType< + GetDeploymentResponseBodyOidcTokenClaims$Outbound, + z.ZodTypeDef, + GetDeploymentResponseBodyOidcTokenClaims +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + ownerId: z.string(), + project: z.string(), + projectId: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + ownerId: "owner_id", + projectId: "project_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyOidcTokenClaims$ { + /** @deprecated use `GetDeploymentResponseBodyOidcTokenClaims$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentResponseBodyOidcTokenClaims$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyOidcTokenClaims$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentResponseBodyOidcTokenClaims$outboundSchema; + /** @deprecated use `GetDeploymentResponseBodyOidcTokenClaims$Outbound` instead. */ + export type Outbound = GetDeploymentResponseBodyOidcTokenClaims$Outbound; +} + +export function getDeploymentResponseBodyOidcTokenClaimsToJSON( + getDeploymentResponseBodyOidcTokenClaims: + GetDeploymentResponseBodyOidcTokenClaims, +): string { + return JSON.stringify( + GetDeploymentResponseBodyOidcTokenClaims$outboundSchema.parse( + getDeploymentResponseBodyOidcTokenClaims, + ), + ); +} + +export function getDeploymentResponseBodyOidcTokenClaimsFromJSON( + jsonString: string, +): SafeParseResult< + GetDeploymentResponseBodyOidcTokenClaims, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetDeploymentResponseBodyOidcTokenClaims$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetDeploymentResponseBodyOidcTokenClaims' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentResponseBody2$inboundSchema: z.ZodType< + GetDeploymentResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + alias: z.array(z.string()).optional(), + aliasAssigned: z.boolean(), + bootedAt: z.number(), + buildingAt: z.number(), + buildSkipped: z.boolean(), + creator: z.lazy(() => GetDeploymentResponseBodyCreator$inboundSchema), + initReadyAt: z.number().optional(), + isFirstBranchDeployment: z.boolean().optional(), + lambdas: z.array(z.lazy(() => ResponseBodyLambdas$inboundSchema)).optional(), + public: z.boolean(), + ready: z.number().optional(), + status: GetDeploymentResponseBodyStatus$inboundSchema, + team: z.lazy(() => ResponseBodyTeam$inboundSchema).optional(), + userAliases: z.array(z.string()).optional(), + previewCommentsEnabled: z.boolean().optional(), + ttyBuildLogs: z.boolean().optional(), + customEnvironment: z.union([ + z.lazy(() => GetDeploymentCustomEnvironment1$inboundSchema), + z.lazy(() => GetDeploymentCustomEnvironment2$inboundSchema), + ]).optional(), + aliasWarning: z.nullable(z.lazy(() => ResponseBodyAliasWarning$inboundSchema)) + .optional(), + id: z.string(), + type: GetDeploymentResponseBodyType$inboundSchema, + createdAt: z.number(), + name: z.string(), + readyState: GetDeploymentResponseBodyReadyState$inboundSchema, + aliasError: z.nullable( + z.lazy(() => GetDeploymentResponseBodyAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(z.string()).optional(), + autoAssignCustomDomains: z.boolean().optional(), + automaticAliases: z.array(z.string()).optional(), + buildErrorAt: z.number().optional(), + checksState: GetDeploymentResponseBodyChecksState$inboundSchema.optional(), + checksConclusion: GetDeploymentResponseBodyChecksConclusion$inboundSchema + .optional(), + deletedAt: z.nullable(z.number()).optional(), + defaultRoute: z.string().optional(), + canceledAt: z.number().optional(), + errorCode: z.string().optional(), + errorLink: z.string().optional(), + errorMessage: z.nullable(z.string()).optional(), + errorStep: z.string().optional(), + passiveRegions: z.array(z.string()).optional(), + gitSource: z.union([ + z.lazy(() => GetDeploymentGitSource6$inboundSchema), + z.lazy(() => GetDeploymentGitSource8$inboundSchema), + z.lazy(() => GetDeploymentGitSource1$inboundSchema), + z.lazy(() => GetDeploymentGitSource3$inboundSchema), + z.lazy(() => GetDeploymentGitSource2$inboundSchema), + z.lazy(() => GetDeploymentGitSource4$inboundSchema), + z.lazy(() => GetDeploymentGitSource5$inboundSchema), + z.lazy(() => GetDeploymentGitSource7$inboundSchema), + z.lazy(() => GetDeploymentGitSource9$inboundSchema), + ]).optional(), + meta: z.record(z.string()), + originCacheRegion: z.string().optional(), + project: z.lazy(() => GetDeploymentResponseBodyProject$inboundSchema) + .optional(), + readySubstate: GetDeploymentResponseBodyReadySubstate$inboundSchema + .optional(), + regions: z.array(z.string()), + softDeletedByRetention: z.boolean().optional(), + source: GetDeploymentResponseBodySource$inboundSchema.optional(), + target: z.nullable(GetDeploymentResponseBodyTarget$inboundSchema).optional(), + undeletedAt: z.number().optional(), + url: z.string(), + version: z.number(), + oidcTokenClaims: z.lazy(() => + GetDeploymentResponseBodyOidcTokenClaims$inboundSchema + ).optional(), +}); + +/** @internal */ +export type GetDeploymentResponseBody2$Outbound = { + alias?: Array | undefined; + aliasAssigned: boolean; + bootedAt: number; + buildingAt: number; + buildSkipped: boolean; + creator: GetDeploymentResponseBodyCreator$Outbound; + initReadyAt?: number | undefined; + isFirstBranchDeployment?: boolean | undefined; + lambdas?: Array | undefined; + public: boolean; + ready?: number | undefined; + status: string; + team?: ResponseBodyTeam$Outbound | undefined; + userAliases?: Array | undefined; + previewCommentsEnabled?: boolean | undefined; + ttyBuildLogs?: boolean | undefined; + customEnvironment?: + | GetDeploymentCustomEnvironment1$Outbound + | GetDeploymentCustomEnvironment2$Outbound + | undefined; + aliasWarning?: ResponseBodyAliasWarning$Outbound | null | undefined; + id: string; + type: string; + createdAt: number; + name: string; + readyState: string; + aliasError?: GetDeploymentResponseBodyAliasError$Outbound | null | undefined; + aliasFinal?: string | null | undefined; + autoAssignCustomDomains?: boolean | undefined; + automaticAliases?: Array | undefined; + buildErrorAt?: number | undefined; + checksState?: string | undefined; + checksConclusion?: string | undefined; + deletedAt?: number | null | undefined; + defaultRoute?: string | undefined; + canceledAt?: number | undefined; + errorCode?: string | undefined; + errorLink?: string | undefined; + errorMessage?: string | null | undefined; + errorStep?: string | undefined; + passiveRegions?: Array | undefined; + gitSource?: + | GetDeploymentGitSource6$Outbound + | GetDeploymentGitSource8$Outbound + | GetDeploymentGitSource1$Outbound + | GetDeploymentGitSource3$Outbound + | GetDeploymentGitSource2$Outbound + | GetDeploymentGitSource4$Outbound + | GetDeploymentGitSource5$Outbound + | GetDeploymentGitSource7$Outbound + | GetDeploymentGitSource9$Outbound + | undefined; + meta: { [k: string]: string }; + originCacheRegion?: string | undefined; + project?: GetDeploymentResponseBodyProject$Outbound | undefined; + readySubstate?: string | undefined; + regions: Array; + softDeletedByRetention?: boolean | undefined; + source?: string | undefined; + target?: string | null | undefined; + undeletedAt?: number | undefined; + url: string; + version: number; + oidcTokenClaims?: + | GetDeploymentResponseBodyOidcTokenClaims$Outbound + | undefined; +}; + +/** @internal */ +export const GetDeploymentResponseBody2$outboundSchema: z.ZodType< + GetDeploymentResponseBody2$Outbound, + z.ZodTypeDef, + GetDeploymentResponseBody2 +> = z.object({ + alias: z.array(z.string()).optional(), + aliasAssigned: z.boolean(), + bootedAt: z.number(), + buildingAt: z.number(), + buildSkipped: z.boolean(), + creator: z.lazy(() => GetDeploymentResponseBodyCreator$outboundSchema), + initReadyAt: z.number().optional(), + isFirstBranchDeployment: z.boolean().optional(), + lambdas: z.array(z.lazy(() => ResponseBodyLambdas$outboundSchema)).optional(), + public: z.boolean(), + ready: z.number().optional(), + status: GetDeploymentResponseBodyStatus$outboundSchema, + team: z.lazy(() => ResponseBodyTeam$outboundSchema).optional(), + userAliases: z.array(z.string()).optional(), + previewCommentsEnabled: z.boolean().optional(), + ttyBuildLogs: z.boolean().optional(), + customEnvironment: z.union([ + z.lazy(() => GetDeploymentCustomEnvironment1$outboundSchema), + z.lazy(() => GetDeploymentCustomEnvironment2$outboundSchema), + ]).optional(), + aliasWarning: z.nullable( + z.lazy(() => ResponseBodyAliasWarning$outboundSchema), + ).optional(), + id: z.string(), + type: GetDeploymentResponseBodyType$outboundSchema, + createdAt: z.number(), + name: z.string(), + readyState: GetDeploymentResponseBodyReadyState$outboundSchema, + aliasError: z.nullable( + z.lazy(() => GetDeploymentResponseBodyAliasError$outboundSchema), + ).optional(), + aliasFinal: z.nullable(z.string()).optional(), + autoAssignCustomDomains: z.boolean().optional(), + automaticAliases: z.array(z.string()).optional(), + buildErrorAt: z.number().optional(), + checksState: GetDeploymentResponseBodyChecksState$outboundSchema.optional(), + checksConclusion: GetDeploymentResponseBodyChecksConclusion$outboundSchema + .optional(), + deletedAt: z.nullable(z.number()).optional(), + defaultRoute: z.string().optional(), + canceledAt: z.number().optional(), + errorCode: z.string().optional(), + errorLink: z.string().optional(), + errorMessage: z.nullable(z.string()).optional(), + errorStep: z.string().optional(), + passiveRegions: z.array(z.string()).optional(), + gitSource: z.union([ + z.lazy(() => GetDeploymentGitSource6$outboundSchema), + z.lazy(() => GetDeploymentGitSource8$outboundSchema), + z.lazy(() => GetDeploymentGitSource1$outboundSchema), + z.lazy(() => GetDeploymentGitSource3$outboundSchema), + z.lazy(() => GetDeploymentGitSource2$outboundSchema), + z.lazy(() => GetDeploymentGitSource4$outboundSchema), + z.lazy(() => GetDeploymentGitSource5$outboundSchema), + z.lazy(() => GetDeploymentGitSource7$outboundSchema), + z.lazy(() => GetDeploymentGitSource9$outboundSchema), + ]).optional(), + meta: z.record(z.string()), + originCacheRegion: z.string().optional(), + project: z.lazy(() => GetDeploymentResponseBodyProject$outboundSchema) + .optional(), + readySubstate: GetDeploymentResponseBodyReadySubstate$outboundSchema + .optional(), + regions: z.array(z.string()), + softDeletedByRetention: z.boolean().optional(), + source: GetDeploymentResponseBodySource$outboundSchema.optional(), + target: z.nullable(GetDeploymentResponseBodyTarget$outboundSchema).optional(), + undeletedAt: z.number().optional(), + url: z.string(), + version: z.number(), + oidcTokenClaims: z.lazy(() => + GetDeploymentResponseBodyOidcTokenClaims$outboundSchema + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBody2$ { + /** @deprecated use `GetDeploymentResponseBody2$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentResponseBody2$inboundSchema; + /** @deprecated use `GetDeploymentResponseBody2$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentResponseBody2$outboundSchema; + /** @deprecated use `GetDeploymentResponseBody2$Outbound` instead. */ + export type Outbound = GetDeploymentResponseBody2$Outbound; +} + +export function getDeploymentResponseBody2ToJSON( + getDeploymentResponseBody2: GetDeploymentResponseBody2, +): string { + return JSON.stringify( + GetDeploymentResponseBody2$outboundSchema.parse(getDeploymentResponseBody2), + ); +} + +export function getDeploymentResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyAliasAssignedAt$inboundSchema: z.ZodType< + ResponseBodyAliasAssignedAt, + z.ZodTypeDef, + unknown +> = z.union([z.number(), z.boolean()]); + +/** @internal */ +export type ResponseBodyAliasAssignedAt$Outbound = number | boolean; + +/** @internal */ +export const ResponseBodyAliasAssignedAt$outboundSchema: z.ZodType< + ResponseBodyAliasAssignedAt$Outbound, + z.ZodTypeDef, + ResponseBodyAliasAssignedAt +> = z.union([z.number(), z.boolean()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyAliasAssignedAt$ { + /** @deprecated use `ResponseBodyAliasAssignedAt$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyAliasAssignedAt$inboundSchema; + /** @deprecated use `ResponseBodyAliasAssignedAt$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyAliasAssignedAt$outboundSchema; + /** @deprecated use `ResponseBodyAliasAssignedAt$Outbound` instead. */ + export type Outbound = ResponseBodyAliasAssignedAt$Outbound; +} + +export function responseBodyAliasAssignedAtToJSON( + responseBodyAliasAssignedAt: ResponseBodyAliasAssignedAt, +): string { + return JSON.stringify( + ResponseBodyAliasAssignedAt$outboundSchema.parse( + responseBodyAliasAssignedAt, + ), + ); +} + +export function responseBodyAliasAssignedAtFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyAliasAssignedAt$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyAliasAssignedAt' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyBuild$inboundSchema: z.ZodType< + ResponseBodyBuild, + z.ZodTypeDef, + unknown +> = z.object({ + env: z.array(z.string()), +}); + +/** @internal */ +export type ResponseBodyBuild$Outbound = { + env: Array; +}; + +/** @internal */ +export const ResponseBodyBuild$outboundSchema: z.ZodType< + ResponseBodyBuild$Outbound, + z.ZodTypeDef, + ResponseBodyBuild +> = z.object({ + env: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyBuild$ { + /** @deprecated use `ResponseBodyBuild$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyBuild$inboundSchema; + /** @deprecated use `ResponseBodyBuild$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyBuild$outboundSchema; + /** @deprecated use `ResponseBodyBuild$Outbound` instead. */ + export type Outbound = ResponseBodyBuild$Outbound; +} + +export function responseBodyBuildToJSON( + responseBodyBuild: ResponseBodyBuild, +): string { + return JSON.stringify( + ResponseBodyBuild$outboundSchema.parse(responseBodyBuild), + ); +} + +export function responseBodyBuildFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyBuild$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyBuild' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyBuilds$inboundSchema: z.ZodType< + ResponseBodyBuilds, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type ResponseBodyBuilds$Outbound = {}; + +/** @internal */ +export const ResponseBodyBuilds$outboundSchema: z.ZodType< + ResponseBodyBuilds$Outbound, + z.ZodTypeDef, + ResponseBodyBuilds +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyBuilds$ { + /** @deprecated use `ResponseBodyBuilds$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyBuilds$inboundSchema; + /** @deprecated use `ResponseBodyBuilds$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyBuilds$outboundSchema; + /** @deprecated use `ResponseBodyBuilds$Outbound` instead. */ + export type Outbound = ResponseBodyBuilds$Outbound; +} + +export function responseBodyBuildsToJSON( + responseBodyBuilds: ResponseBodyBuilds, +): string { + return JSON.stringify( + ResponseBodyBuilds$outboundSchema.parse(responseBodyBuilds), + ); +} + +export function responseBodyBuildsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyBuilds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyBuilds' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyFramework$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyFramework +> = z.nativeEnum(ResponseBodyFramework); + +/** @internal */ +export const ResponseBodyFramework$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyFramework +> = ResponseBodyFramework$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyFramework$ { + /** @deprecated use `ResponseBodyFramework$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyFramework$inboundSchema; + /** @deprecated use `ResponseBodyFramework$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyFramework$outboundSchema; +} + +/** @internal */ +export const ResponseBodySpeedInsights$inboundSchema: z.ZodType< + ResponseBodySpeedInsights, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + enabledAt: z.number().optional(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + hasData: z.boolean().optional(), + paidAt: z.number().optional(), +}); + +/** @internal */ +export type ResponseBodySpeedInsights$Outbound = { + id: string; + enabledAt?: number | undefined; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + hasData?: boolean | undefined; + paidAt?: number | undefined; +}; + +/** @internal */ +export const ResponseBodySpeedInsights$outboundSchema: z.ZodType< + ResponseBodySpeedInsights$Outbound, + z.ZodTypeDef, + ResponseBodySpeedInsights +> = z.object({ + id: z.string(), + enabledAt: z.number().optional(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + hasData: z.boolean().optional(), + paidAt: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodySpeedInsights$ { + /** @deprecated use `ResponseBodySpeedInsights$inboundSchema` instead. */ + export const inboundSchema = ResponseBodySpeedInsights$inboundSchema; + /** @deprecated use `ResponseBodySpeedInsights$outboundSchema` instead. */ + export const outboundSchema = ResponseBodySpeedInsights$outboundSchema; + /** @deprecated use `ResponseBodySpeedInsights$Outbound` instead. */ + export type Outbound = ResponseBodySpeedInsights$Outbound; +} + +export function responseBodySpeedInsightsToJSON( + responseBodySpeedInsights: ResponseBodySpeedInsights, +): string { + return JSON.stringify( + ResponseBodySpeedInsights$outboundSchema.parse(responseBodySpeedInsights), + ); +} + +export function responseBodySpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodySpeedInsights$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodySpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyWebAnalytics$inboundSchema: z.ZodType< + ResponseBodyWebAnalytics, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), +}); + +/** @internal */ +export type ResponseBodyWebAnalytics$Outbound = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; +}; + +/** @internal */ +export const ResponseBodyWebAnalytics$outboundSchema: z.ZodType< + ResponseBodyWebAnalytics$Outbound, + z.ZodTypeDef, + ResponseBodyWebAnalytics +> = z.object({ + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyWebAnalytics$ { + /** @deprecated use `ResponseBodyWebAnalytics$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyWebAnalytics$inboundSchema; + /** @deprecated use `ResponseBodyWebAnalytics$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyWebAnalytics$outboundSchema; + /** @deprecated use `ResponseBodyWebAnalytics$Outbound` instead. */ + export type Outbound = ResponseBodyWebAnalytics$Outbound; +} + +export function responseBodyWebAnalyticsToJSON( + responseBodyWebAnalytics: ResponseBodyWebAnalytics, +): string { + return JSON.stringify( + ResponseBodyWebAnalytics$outboundSchema.parse(responseBodyWebAnalytics), + ); +} + +export function responseBodyWebAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyWebAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyWebAnalytics' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyProjectSettings$inboundSchema: z.ZodType< + ResponseBodyProjectSettings, + z.ZodTypeDef, + unknown +> = z.object({ + buildCommand: z.nullable(z.string()).optional(), + devCommand: z.nullable(z.string()).optional(), + framework: z.nullable(ResponseBodyFramework$inboundSchema).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + installCommand: z.nullable(z.string()).optional(), + outputDirectory: z.nullable(z.string()).optional(), + speedInsights: z.lazy(() => ResponseBodySpeedInsights$inboundSchema) + .optional(), + webAnalytics: z.lazy(() => ResponseBodyWebAnalytics$inboundSchema).optional(), +}); + +/** @internal */ +export type ResponseBodyProjectSettings$Outbound = { + buildCommand?: string | null | undefined; + devCommand?: string | null | undefined; + framework?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + installCommand?: string | null | undefined; + outputDirectory?: string | null | undefined; + speedInsights?: ResponseBodySpeedInsights$Outbound | undefined; + webAnalytics?: ResponseBodyWebAnalytics$Outbound | undefined; +}; + +/** @internal */ +export const ResponseBodyProjectSettings$outboundSchema: z.ZodType< + ResponseBodyProjectSettings$Outbound, + z.ZodTypeDef, + ResponseBodyProjectSettings +> = z.object({ + buildCommand: z.nullable(z.string()).optional(), + devCommand: z.nullable(z.string()).optional(), + framework: z.nullable(ResponseBodyFramework$outboundSchema).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + installCommand: z.nullable(z.string()).optional(), + outputDirectory: z.nullable(z.string()).optional(), + speedInsights: z.lazy(() => ResponseBodySpeedInsights$outboundSchema) + .optional(), + webAnalytics: z.lazy(() => ResponseBodyWebAnalytics$outboundSchema) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyProjectSettings$ { + /** @deprecated use `ResponseBodyProjectSettings$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyProjectSettings$inboundSchema; + /** @deprecated use `ResponseBodyProjectSettings$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyProjectSettings$outboundSchema; + /** @deprecated use `ResponseBodyProjectSettings$Outbound` instead. */ + export type Outbound = ResponseBodyProjectSettings$Outbound; +} + +export function responseBodyProjectSettingsToJSON( + responseBodyProjectSettings: ResponseBodyProjectSettings, +): string { + return JSON.stringify( + ResponseBodyProjectSettings$outboundSchema.parse( + responseBodyProjectSettings, + ), + ); +} + +export function responseBodyProjectSettingsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyProjectSettings$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyProjectSettings' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentResponseBodyDeploymentsStatus$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetDeploymentResponseBodyDeploymentsStatus); + +/** @internal */ +export const GetDeploymentResponseBodyDeploymentsStatus$outboundSchema: + z.ZodNativeEnum = + GetDeploymentResponseBodyDeploymentsStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyDeploymentsStatus$ { + /** @deprecated use `GetDeploymentResponseBodyDeploymentsStatus$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentResponseBodyDeploymentsStatus$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyDeploymentsStatus$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentResponseBodyDeploymentsStatus$outboundSchema; +} + +/** @internal */ +export const ResponseBodyIntegrations$inboundSchema: z.ZodType< + ResponseBodyIntegrations, + z.ZodTypeDef, + unknown +> = z.object({ + status: GetDeploymentResponseBodyDeploymentsStatus$inboundSchema, + startedAt: z.number(), + completedAt: z.number().optional(), + skippedAt: z.number().optional(), + skippedBy: z.string().optional(), +}); + +/** @internal */ +export type ResponseBodyIntegrations$Outbound = { + status: string; + startedAt: number; + completedAt?: number | undefined; + skippedAt?: number | undefined; + skippedBy?: string | undefined; +}; + +/** @internal */ +export const ResponseBodyIntegrations$outboundSchema: z.ZodType< + ResponseBodyIntegrations$Outbound, + z.ZodTypeDef, + ResponseBodyIntegrations +> = z.object({ + status: GetDeploymentResponseBodyDeploymentsStatus$outboundSchema, + startedAt: z.number(), + completedAt: z.number().optional(), + skippedAt: z.number().optional(), + skippedBy: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyIntegrations$ { + /** @deprecated use `ResponseBodyIntegrations$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyIntegrations$inboundSchema; + /** @deprecated use `ResponseBodyIntegrations$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyIntegrations$outboundSchema; + /** @deprecated use `ResponseBodyIntegrations$Outbound` instead. */ + export type Outbound = ResponseBodyIntegrations$Outbound; +} + +export function responseBodyIntegrationsToJSON( + responseBodyIntegrations: ResponseBodyIntegrations, +): string { + return JSON.stringify( + ResponseBodyIntegrations$outboundSchema.parse(responseBodyIntegrations), + ); +} + +export function responseBodyIntegrationsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyIntegrations$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyIntegrations' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyCreator$inboundSchema: z.ZodType< + ResponseBodyCreator, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + username: z.string().optional(), + avatar: z.string().optional(), +}); + +/** @internal */ +export type ResponseBodyCreator$Outbound = { + uid: string; + username?: string | undefined; + avatar?: string | undefined; +}; + +/** @internal */ +export const ResponseBodyCreator$outboundSchema: z.ZodType< + ResponseBodyCreator$Outbound, + z.ZodTypeDef, + ResponseBodyCreator +> = z.object({ + uid: z.string(), + username: z.string().optional(), + avatar: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyCreator$ { + /** @deprecated use `ResponseBodyCreator$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyCreator$inboundSchema; + /** @deprecated use `ResponseBodyCreator$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyCreator$outboundSchema; + /** @deprecated use `ResponseBodyCreator$Outbound` instead. */ + export type Outbound = ResponseBodyCreator$Outbound; +} + +export function responseBodyCreatorToJSON( + responseBodyCreator: ResponseBodyCreator, +): string { + return JSON.stringify( + ResponseBodyCreator$outboundSchema.parse(responseBodyCreator), + ); +} + +export function responseBodyCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyCreator' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentResponseBodyDeploymentsResponseReadyState + > = z.nativeEnum(GetDeploymentResponseBodyDeploymentsResponseReadyState); + +/** @internal */ +export const GetDeploymentResponseBodyDeploymentsResponseReadyState$outboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentResponseBodyDeploymentsResponseReadyState + > = GetDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyDeploymentsResponseReadyState$ { + /** @deprecated use `GetDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyDeploymentsResponseReadyState$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentResponseBodyDeploymentsResponseReadyState$outboundSchema; +} + +/** @internal */ +export const ResponseBodyOutput$inboundSchema: z.ZodType< + ResponseBodyOutput, + z.ZodTypeDef, + unknown +> = z.object({ + path: z.string(), + functionName: z.string(), +}); + +/** @internal */ +export type ResponseBodyOutput$Outbound = { + path: string; + functionName: string; +}; + +/** @internal */ +export const ResponseBodyOutput$outboundSchema: z.ZodType< + ResponseBodyOutput$Outbound, + z.ZodTypeDef, + ResponseBodyOutput +> = z.object({ + path: z.string(), + functionName: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyOutput$ { + /** @deprecated use `ResponseBodyOutput$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyOutput$inboundSchema; + /** @deprecated use `ResponseBodyOutput$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyOutput$outboundSchema; + /** @deprecated use `ResponseBodyOutput$Outbound` instead. */ + export type Outbound = ResponseBodyOutput$Outbound; +} + +export function responseBodyOutputToJSON( + responseBodyOutput: ResponseBodyOutput, +): string { + return JSON.stringify( + ResponseBodyOutput$outboundSchema.parse(responseBodyOutput), + ); +} + +export function responseBodyOutputFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyOutput$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyOutput' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentResponseBodyLambdas$inboundSchema: z.ZodType< + GetDeploymentResponseBodyLambdas, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + createdAt: z.number().optional(), + entrypoint: z.nullable(z.string()).optional(), + readyState: + GetDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema + .optional(), + readyStateAt: z.number().optional(), + output: z.array(z.lazy(() => ResponseBodyOutput$inboundSchema)), +}); + +/** @internal */ +export type GetDeploymentResponseBodyLambdas$Outbound = { + id?: string | undefined; + createdAt?: number | undefined; + entrypoint?: string | null | undefined; + readyState?: string | undefined; + readyStateAt?: number | undefined; + output: Array; +}; + +/** @internal */ +export const GetDeploymentResponseBodyLambdas$outboundSchema: z.ZodType< + GetDeploymentResponseBodyLambdas$Outbound, + z.ZodTypeDef, + GetDeploymentResponseBodyLambdas +> = z.object({ + id: z.string().optional(), + createdAt: z.number().optional(), + entrypoint: z.nullable(z.string()).optional(), + readyState: + GetDeploymentResponseBodyDeploymentsResponseReadyState$outboundSchema + .optional(), + readyStateAt: z.number().optional(), + output: z.array(z.lazy(() => ResponseBodyOutput$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyLambdas$ { + /** @deprecated use `GetDeploymentResponseBodyLambdas$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentResponseBodyLambdas$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyLambdas$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentResponseBodyLambdas$outboundSchema; + /** @deprecated use `GetDeploymentResponseBodyLambdas$Outbound` instead. */ + export type Outbound = GetDeploymentResponseBodyLambdas$Outbound; +} + +export function getDeploymentResponseBodyLambdasToJSON( + getDeploymentResponseBodyLambdas: GetDeploymentResponseBodyLambdas, +): string { + return JSON.stringify( + GetDeploymentResponseBodyLambdas$outboundSchema.parse( + getDeploymentResponseBodyLambdas, + ), + ); +} + +export function getDeploymentResponseBodyLambdasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentResponseBodyLambdas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentResponseBodyLambdas' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyStatus$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyStatus +> = z.nativeEnum(ResponseBodyStatus); + +/** @internal */ +export const ResponseBodyStatus$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyStatus +> = ResponseBodyStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyStatus$ { + /** @deprecated use `ResponseBodyStatus$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyStatus$inboundSchema; + /** @deprecated use `ResponseBodyStatus$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyStatus$outboundSchema; +} + +/** @internal */ +export const GetDeploymentResponseBodyTeam$inboundSchema: z.ZodType< + GetDeploymentResponseBodyTeam, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + slug: z.string(), + avatar: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentResponseBodyTeam$Outbound = { + id: string; + name: string; + slug: string; + avatar?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentResponseBodyTeam$outboundSchema: z.ZodType< + GetDeploymentResponseBodyTeam$Outbound, + z.ZodTypeDef, + GetDeploymentResponseBodyTeam +> = z.object({ + id: z.string(), + name: z.string(), + slug: z.string(), + avatar: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyTeam$ { + /** @deprecated use `GetDeploymentResponseBodyTeam$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentResponseBodyTeam$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyTeam$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentResponseBodyTeam$outboundSchema; + /** @deprecated use `GetDeploymentResponseBodyTeam$Outbound` instead. */ + export type Outbound = GetDeploymentResponseBodyTeam$Outbound; +} + +export function getDeploymentResponseBodyTeamToJSON( + getDeploymentResponseBodyTeam: GetDeploymentResponseBodyTeam, +): string { + return JSON.stringify( + GetDeploymentResponseBodyTeam$outboundSchema.parse( + getDeploymentResponseBodyTeam, + ), + ); +} + +export function getDeploymentResponseBodyTeamFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentResponseBodyTeam$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentResponseBodyTeam' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentCustomEnvironmentDeployments2$inboundSchema: + z.ZodType = + z.object({ + id: z.string(), + }); + +/** @internal */ +export type GetDeploymentCustomEnvironmentDeployments2$Outbound = { + id: string; +}; + +/** @internal */ +export const GetDeploymentCustomEnvironmentDeployments2$outboundSchema: + z.ZodType< + GetDeploymentCustomEnvironmentDeployments2$Outbound, + z.ZodTypeDef, + GetDeploymentCustomEnvironmentDeployments2 + > = z.object({ + id: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentCustomEnvironmentDeployments2$ { + /** @deprecated use `GetDeploymentCustomEnvironmentDeployments2$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentCustomEnvironmentDeployments2$inboundSchema; + /** @deprecated use `GetDeploymentCustomEnvironmentDeployments2$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentCustomEnvironmentDeployments2$outboundSchema; + /** @deprecated use `GetDeploymentCustomEnvironmentDeployments2$Outbound` instead. */ + export type Outbound = GetDeploymentCustomEnvironmentDeployments2$Outbound; +} + +export function getDeploymentCustomEnvironmentDeployments2ToJSON( + getDeploymentCustomEnvironmentDeployments2: + GetDeploymentCustomEnvironmentDeployments2, +): string { + return JSON.stringify( + GetDeploymentCustomEnvironmentDeployments2$outboundSchema.parse( + getDeploymentCustomEnvironmentDeployments2, + ), + ); +} + +export function getDeploymentCustomEnvironmentDeployments2FromJSON( + jsonString: string, +): SafeParseResult< + GetDeploymentCustomEnvironmentDeployments2, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetDeploymentCustomEnvironmentDeployments2$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetDeploymentCustomEnvironmentDeployments2' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentCustomEnvironmentDeployments1$inboundSchema: + z.ZodType = + z.object({}); + +/** @internal */ +export type GetDeploymentCustomEnvironmentDeployments1$Outbound = {}; + +/** @internal */ +export const GetDeploymentCustomEnvironmentDeployments1$outboundSchema: + z.ZodType< + GetDeploymentCustomEnvironmentDeployments1$Outbound, + z.ZodTypeDef, + GetDeploymentCustomEnvironmentDeployments1 + > = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentCustomEnvironmentDeployments1$ { + /** @deprecated use `GetDeploymentCustomEnvironmentDeployments1$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentCustomEnvironmentDeployments1$inboundSchema; + /** @deprecated use `GetDeploymentCustomEnvironmentDeployments1$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentCustomEnvironmentDeployments1$outboundSchema; + /** @deprecated use `GetDeploymentCustomEnvironmentDeployments1$Outbound` instead. */ + export type Outbound = GetDeploymentCustomEnvironmentDeployments1$Outbound; +} + +export function getDeploymentCustomEnvironmentDeployments1ToJSON( + getDeploymentCustomEnvironmentDeployments1: + GetDeploymentCustomEnvironmentDeployments1, +): string { + return JSON.stringify( + GetDeploymentCustomEnvironmentDeployments1$outboundSchema.parse( + getDeploymentCustomEnvironmentDeployments1, + ), + ); +} + +export function getDeploymentCustomEnvironmentDeployments1FromJSON( + jsonString: string, +): SafeParseResult< + GetDeploymentCustomEnvironmentDeployments1, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetDeploymentCustomEnvironmentDeployments1$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetDeploymentCustomEnvironmentDeployments1' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentResponseBodyCustomEnvironment$inboundSchema: + z.ZodType = + z.union([ + z.lazy(() => GetDeploymentCustomEnvironmentDeployments1$inboundSchema), + z.lazy(() => GetDeploymentCustomEnvironmentDeployments2$inboundSchema), + ]); + +/** @internal */ +export type GetDeploymentResponseBodyCustomEnvironment$Outbound = + | GetDeploymentCustomEnvironmentDeployments1$Outbound + | GetDeploymentCustomEnvironmentDeployments2$Outbound; + +/** @internal */ +export const GetDeploymentResponseBodyCustomEnvironment$outboundSchema: + z.ZodType< + GetDeploymentResponseBodyCustomEnvironment$Outbound, + z.ZodTypeDef, + GetDeploymentResponseBodyCustomEnvironment + > = z.union([ + z.lazy(() => GetDeploymentCustomEnvironmentDeployments1$outboundSchema), + z.lazy(() => GetDeploymentCustomEnvironmentDeployments2$outboundSchema), + ]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyCustomEnvironment$ { + /** @deprecated use `GetDeploymentResponseBodyCustomEnvironment$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentResponseBodyCustomEnvironment$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyCustomEnvironment$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentResponseBodyCustomEnvironment$outboundSchema; + /** @deprecated use `GetDeploymentResponseBodyCustomEnvironment$Outbound` instead. */ + export type Outbound = GetDeploymentResponseBodyCustomEnvironment$Outbound; +} + +export function getDeploymentResponseBodyCustomEnvironmentToJSON( + getDeploymentResponseBodyCustomEnvironment: + GetDeploymentResponseBodyCustomEnvironment, +): string { + return JSON.stringify( + GetDeploymentResponseBodyCustomEnvironment$outboundSchema.parse( + getDeploymentResponseBodyCustomEnvironment, + ), + ); +} + +export function getDeploymentResponseBodyCustomEnvironmentFromJSON( + jsonString: string, +): SafeParseResult< + GetDeploymentResponseBodyCustomEnvironment, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetDeploymentResponseBodyCustomEnvironment$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetDeploymentResponseBodyCustomEnvironment' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentResponseBodyAliasWarning$inboundSchema: z.ZodType< + GetDeploymentResponseBodyAliasWarning, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), + link: z.string().optional(), + action: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentResponseBodyAliasWarning$Outbound = { + code: string; + message: string; + link?: string | undefined; + action?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentResponseBodyAliasWarning$outboundSchema: z.ZodType< + GetDeploymentResponseBodyAliasWarning$Outbound, + z.ZodTypeDef, + GetDeploymentResponseBodyAliasWarning +> = z.object({ + code: z.string(), + message: z.string(), + link: z.string().optional(), + action: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyAliasWarning$ { + /** @deprecated use `GetDeploymentResponseBodyAliasWarning$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentResponseBodyAliasWarning$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyAliasWarning$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentResponseBodyAliasWarning$outboundSchema; + /** @deprecated use `GetDeploymentResponseBodyAliasWarning$Outbound` instead. */ + export type Outbound = GetDeploymentResponseBodyAliasWarning$Outbound; +} + +export function getDeploymentResponseBodyAliasWarningToJSON( + getDeploymentResponseBodyAliasWarning: GetDeploymentResponseBodyAliasWarning, +): string { + return JSON.stringify( + GetDeploymentResponseBodyAliasWarning$outboundSchema.parse( + getDeploymentResponseBodyAliasWarning, + ), + ); +} + +export function getDeploymentResponseBodyAliasWarningFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDeploymentResponseBodyAliasWarning$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentResponseBodyAliasWarning' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyType$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyType +> = z.nativeEnum(ResponseBodyType); + +/** @internal */ +export const ResponseBodyType$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyType +> = ResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyType$ { + /** @deprecated use `ResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyType$inboundSchema; + /** @deprecated use `ResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyType$outboundSchema; +} + +/** @internal */ +export const ResponseBodyReadyState$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyReadyState +> = z.nativeEnum(ResponseBodyReadyState); + +/** @internal */ +export const ResponseBodyReadyState$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyReadyState +> = ResponseBodyReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyReadyState$ { + /** @deprecated use `ResponseBodyReadyState$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyReadyState$inboundSchema; + /** @deprecated use `ResponseBodyReadyState$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyReadyState$outboundSchema; +} + +/** @internal */ +export const ResponseBodyAliasError$inboundSchema: z.ZodType< + ResponseBodyAliasError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** @internal */ +export type ResponseBodyAliasError$Outbound = { + code: string; + message: string; +}; + +/** @internal */ +export const ResponseBodyAliasError$outboundSchema: z.ZodType< + ResponseBodyAliasError$Outbound, + z.ZodTypeDef, + ResponseBodyAliasError +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyAliasError$ { + /** @deprecated use `ResponseBodyAliasError$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyAliasError$inboundSchema; + /** @deprecated use `ResponseBodyAliasError$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyAliasError$outboundSchema; + /** @deprecated use `ResponseBodyAliasError$Outbound` instead. */ + export type Outbound = ResponseBodyAliasError$Outbound; +} + +export function responseBodyAliasErrorToJSON( + responseBodyAliasError: ResponseBodyAliasError, +): string { + return JSON.stringify( + ResponseBodyAliasError$outboundSchema.parse(responseBodyAliasError), + ); +} + +export function responseBodyAliasErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyAliasError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyAliasError' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyChecksState$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyChecksState +> = z.nativeEnum(ResponseBodyChecksState); + +/** @internal */ +export const ResponseBodyChecksState$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyChecksState +> = ResponseBodyChecksState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyChecksState$ { + /** @deprecated use `ResponseBodyChecksState$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyChecksState$inboundSchema; + /** @deprecated use `ResponseBodyChecksState$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyChecksState$outboundSchema; +} + +/** @internal */ +export const ResponseBodyChecksConclusion$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyChecksConclusion +> = z.nativeEnum(ResponseBodyChecksConclusion); + +/** @internal */ +export const ResponseBodyChecksConclusion$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyChecksConclusion +> = ResponseBodyChecksConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyChecksConclusion$ { + /** @deprecated use `ResponseBodyChecksConclusion$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyChecksConclusion$inboundSchema; + /** @deprecated use `ResponseBodyChecksConclusion$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyChecksConclusion$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type + > = z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type, + ); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$outboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type + > = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSourceDeployments9$inboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema, + ref: z.string(), + sha: z.string(), + owner: z.string().optional(), + slug: z.string().optional(), + workspaceUuid: z.string(), + repoUuid: z.string(), +}); + +/** @internal */ +export type GetDeploymentGitSourceDeployments9$Outbound = { + type: string; + ref: string; + sha: string; + owner?: string | undefined; + slug?: string | undefined; + workspaceUuid: string; + repoUuid: string; +}; + +/** @internal */ +export const GetDeploymentGitSourceDeployments9$outboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments9$Outbound, + z.ZodTypeDef, + GetDeploymentGitSourceDeployments9 +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$outboundSchema, + ref: z.string(), + sha: z.string(), + owner: z.string().optional(), + slug: z.string().optional(), + workspaceUuid: z.string(), + repoUuid: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeployments9$ { + /** @deprecated use `GetDeploymentGitSourceDeployments9$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSourceDeployments9$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments9$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeployments9$outboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments9$Outbound` instead. */ + export type Outbound = GetDeploymentGitSourceDeployments9$Outbound; +} + +export function getDeploymentGitSourceDeployments9ToJSON( + getDeploymentGitSourceDeployments9: GetDeploymentGitSourceDeployments9, +): string { + return JSON.stringify( + GetDeploymentGitSourceDeployments9$outboundSchema.parse( + getDeploymentGitSourceDeployments9, + ), + ); +} + +export function getDeploymentGitSourceDeployments9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDeploymentGitSourceDeployments9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSourceDeployments9' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$inboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type + > = z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type, + ); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$outboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type + > = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSourceDeployments8$inboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$inboundSchema, + ref: z.string(), + sha: z.string(), + projectId: z.number(), +}); + +/** @internal */ +export type GetDeploymentGitSourceDeployments8$Outbound = { + type: string; + ref: string; + sha: string; + projectId: number; +}; + +/** @internal */ +export const GetDeploymentGitSourceDeployments8$outboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments8$Outbound, + z.ZodTypeDef, + GetDeploymentGitSourceDeployments8 +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$outboundSchema, + ref: z.string(), + sha: z.string(), + projectId: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeployments8$ { + /** @deprecated use `GetDeploymentGitSourceDeployments8$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSourceDeployments8$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments8$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeployments8$outboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments8$Outbound` instead. */ + export type Outbound = GetDeploymentGitSourceDeployments8$Outbound; +} + +export function getDeploymentGitSourceDeployments8ToJSON( + getDeploymentGitSourceDeployments8: GetDeploymentGitSourceDeployments8, +): string { + return JSON.stringify( + GetDeploymentGitSourceDeployments8$outboundSchema.parse( + getDeploymentGitSourceDeployments8, + ), + ); +} + +export function getDeploymentGitSourceDeployments8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDeploymentGitSourceDeployments8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSourceDeployments8' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType, + ); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType + > = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSourceDeployments7$inboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, + ref: z.string(), + sha: z.string(), + repoId: z.number(), + org: z.string().optional(), + repo: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentGitSourceDeployments7$Outbound = { + type: string; + ref: string; + sha: string; + repoId: number; + org?: string | undefined; + repo?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentGitSourceDeployments7$outboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments7$Outbound, + z.ZodTypeDef, + GetDeploymentGitSourceDeployments7 +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema, + ref: z.string(), + sha: z.string(), + repoId: z.number(), + org: z.string().optional(), + repo: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeployments7$ { + /** @deprecated use `GetDeploymentGitSourceDeployments7$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSourceDeployments7$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments7$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeployments7$outboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments7$Outbound` instead. */ + export type Outbound = GetDeploymentGitSourceDeployments7$Outbound; +} + +export function getDeploymentGitSourceDeployments7ToJSON( + getDeploymentGitSourceDeployments7: GetDeploymentGitSourceDeployments7, +): string { + return JSON.stringify( + GetDeploymentGitSourceDeployments7$outboundSchema.parse( + getDeploymentGitSourceDeployments7, + ), + ); +} + +export function getDeploymentGitSourceDeployments7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDeploymentGitSourceDeployments7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSourceDeployments7' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType + > = z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType, + ); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType + > = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSourceDeployments6$inboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema, + ref: z.string(), + sha: z.string(), + gitUrl: z.string(), +}); + +/** @internal */ +export type GetDeploymentGitSourceDeployments6$Outbound = { + type: string; + ref: string; + sha: string; + gitUrl: string; +}; + +/** @internal */ +export const GetDeploymentGitSourceDeployments6$outboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments6$Outbound, + z.ZodTypeDef, + GetDeploymentGitSourceDeployments6 +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema, + ref: z.string(), + sha: z.string(), + gitUrl: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeployments6$ { + /** @deprecated use `GetDeploymentGitSourceDeployments6$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSourceDeployments6$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments6$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeployments6$outboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments6$Outbound` instead. */ + export type Outbound = GetDeploymentGitSourceDeployments6$Outbound; +} + +export function getDeploymentGitSourceDeployments6ToJSON( + getDeploymentGitSourceDeployments6: GetDeploymentGitSourceDeployments6, +): string { + return JSON.stringify( + GetDeploymentGitSourceDeployments6$outboundSchema.parse( + getDeploymentGitSourceDeployments6, + ), + ); +} + +export function getDeploymentGitSourceDeployments6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDeploymentGitSourceDeployments6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSourceDeployments6' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200Type$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetDeploymentGitSourceDeploymentsResponse200Type); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200Type$outboundSchema: + z.ZodNativeEnum = + GetDeploymentGitSourceDeploymentsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsResponse200Type$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsResponse200Type$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsResponse200Type$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSourceDeployments5$inboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments5, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDeploymentGitSourceDeploymentsResponse200Type$inboundSchema, + owner: z.string(), + slug: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type GetDeploymentGitSourceDeployments5$Outbound = { + type: string; + owner: string; + slug: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const GetDeploymentGitSourceDeployments5$outboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments5$Outbound, + z.ZodTypeDef, + GetDeploymentGitSourceDeployments5 +> = z.object({ + type: GetDeploymentGitSourceDeploymentsResponse200Type$outboundSchema, + owner: z.string(), + slug: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeployments5$ { + /** @deprecated use `GetDeploymentGitSourceDeployments5$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSourceDeployments5$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments5$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeployments5$outboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments5$Outbound` instead. */ + export type Outbound = GetDeploymentGitSourceDeployments5$Outbound; +} + +export function getDeploymentGitSourceDeployments5ToJSON( + getDeploymentGitSourceDeployments5: GetDeploymentGitSourceDeployments5, +): string { + return JSON.stringify( + GetDeploymentGitSourceDeployments5$outboundSchema.parse( + getDeploymentGitSourceDeployments5, + ), + ); +} + +export function getDeploymentGitSourceDeployments5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDeploymentGitSourceDeployments5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSourceDeployments5' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetDeploymentGitSourceDeploymentsResponseType); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponseType$outboundSchema: + z.ZodNativeEnum = + GetDeploymentGitSourceDeploymentsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsResponseType$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponseType$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsResponseType$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponseType$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsResponseType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSourceDeployments4$inboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments4, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDeploymentGitSourceDeploymentsResponseType$inboundSchema, + workspaceUuid: z.string().optional(), + repoUuid: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type GetDeploymentGitSourceDeployments4$Outbound = { + type: string; + workspaceUuid?: string | undefined; + repoUuid: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const GetDeploymentGitSourceDeployments4$outboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments4$Outbound, + z.ZodTypeDef, + GetDeploymentGitSourceDeployments4 +> = z.object({ + type: GetDeploymentGitSourceDeploymentsResponseType$outboundSchema, + workspaceUuid: z.string().optional(), + repoUuid: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeployments4$ { + /** @deprecated use `GetDeploymentGitSourceDeployments4$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSourceDeployments4$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments4$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeployments4$outboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments4$Outbound` instead. */ + export type Outbound = GetDeploymentGitSourceDeployments4$Outbound; +} + +export function getDeploymentGitSourceDeployments4ToJSON( + getDeploymentGitSourceDeployments4: GetDeploymentGitSourceDeployments4, +): string { + return JSON.stringify( + GetDeploymentGitSourceDeployments4$outboundSchema.parse( + getDeploymentGitSourceDeployments4, + ), + ); +} + +export function getDeploymentGitSourceDeployments4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDeploymentGitSourceDeployments4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSourceDeployments4' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetDeploymentGitSourceDeploymentsType, + ); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsType$outboundSchema: + z.ZodNativeEnum = + GetDeploymentGitSourceDeploymentsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsType$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsType$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsType$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsType$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSourceProjectId$inboundSchema: z.ZodType< + GetDeploymentGitSourceProjectId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number()]); + +/** @internal */ +export type GetDeploymentGitSourceProjectId$Outbound = string | number; + +/** @internal */ +export const GetDeploymentGitSourceProjectId$outboundSchema: z.ZodType< + GetDeploymentGitSourceProjectId$Outbound, + z.ZodTypeDef, + GetDeploymentGitSourceProjectId +> = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceProjectId$ { + /** @deprecated use `GetDeploymentGitSourceProjectId$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSourceProjectId$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceProjectId$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitSourceProjectId$outboundSchema; + /** @deprecated use `GetDeploymentGitSourceProjectId$Outbound` instead. */ + export type Outbound = GetDeploymentGitSourceProjectId$Outbound; +} + +export function getDeploymentGitSourceProjectIdToJSON( + getDeploymentGitSourceProjectId: GetDeploymentGitSourceProjectId, +): string { + return JSON.stringify( + GetDeploymentGitSourceProjectId$outboundSchema.parse( + getDeploymentGitSourceProjectId, + ), + ); +} + +export function getDeploymentGitSourceProjectIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentGitSourceProjectId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSourceProjectId' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeployments3$inboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments3, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDeploymentGitSourceDeploymentsType$inboundSchema, + projectId: z.union([z.string(), z.number()]), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type GetDeploymentGitSourceDeployments3$Outbound = { + type: string; + projectId: string | number; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const GetDeploymentGitSourceDeployments3$outboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments3$Outbound, + z.ZodTypeDef, + GetDeploymentGitSourceDeployments3 +> = z.object({ + type: GetDeploymentGitSourceDeploymentsType$outboundSchema, + projectId: z.union([z.string(), z.number()]), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeployments3$ { + /** @deprecated use `GetDeploymentGitSourceDeployments3$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSourceDeployments3$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments3$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeployments3$outboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments3$Outbound` instead. */ + export type Outbound = GetDeploymentGitSourceDeployments3$Outbound; +} + +export function getDeploymentGitSourceDeployments3ToJSON( + getDeploymentGitSourceDeployments3: GetDeploymentGitSourceDeployments3, +): string { + return JSON.stringify( + GetDeploymentGitSourceDeployments3$outboundSchema.parse( + getDeploymentGitSourceDeployments3, + ), + ); +} + +export function getDeploymentGitSourceDeployments3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDeploymentGitSourceDeployments3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSourceDeployments3' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceType$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentGitSourceType +> = z.nativeEnum(GetDeploymentGitSourceType); + +/** @internal */ +export const GetDeploymentGitSourceType$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentGitSourceType +> = GetDeploymentGitSourceType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceType$ { + /** @deprecated use `GetDeploymentGitSourceType$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSourceType$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceType$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitSourceType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSourceDeployments2$inboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments2, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDeploymentGitSourceType$inboundSchema, + org: z.string(), + repo: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type GetDeploymentGitSourceDeployments2$Outbound = { + type: string; + org: string; + repo: string; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const GetDeploymentGitSourceDeployments2$outboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments2$Outbound, + z.ZodTypeDef, + GetDeploymentGitSourceDeployments2 +> = z.object({ + type: GetDeploymentGitSourceType$outboundSchema, + org: z.string(), + repo: z.string(), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeployments2$ { + /** @deprecated use `GetDeploymentGitSourceDeployments2$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSourceDeployments2$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments2$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeployments2$outboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments2$Outbound` instead. */ + export type Outbound = GetDeploymentGitSourceDeployments2$Outbound; +} + +export function getDeploymentGitSourceDeployments2ToJSON( + getDeploymentGitSourceDeployments2: GetDeploymentGitSourceDeployments2, +): string { + return JSON.stringify( + GetDeploymentGitSourceDeployments2$outboundSchema.parse( + getDeploymentGitSourceDeployments2, + ), + ); +} + +export function getDeploymentGitSourceDeployments2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDeploymentGitSourceDeployments2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSourceDeployments2' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type + > = z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type, + ); + +/** @internal */ +export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema: + z.ZodNativeEnum< + typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type + > = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$ { + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitSourceRepoId$inboundSchema: z.ZodType< + GetDeploymentGitSourceRepoId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number()]); + +/** @internal */ +export type GetDeploymentGitSourceRepoId$Outbound = string | number; + +/** @internal */ +export const GetDeploymentGitSourceRepoId$outboundSchema: z.ZodType< + GetDeploymentGitSourceRepoId$Outbound, + z.ZodTypeDef, + GetDeploymentGitSourceRepoId +> = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceRepoId$ { + /** @deprecated use `GetDeploymentGitSourceRepoId$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSourceRepoId$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceRepoId$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitSourceRepoId$outboundSchema; + /** @deprecated use `GetDeploymentGitSourceRepoId$Outbound` instead. */ + export type Outbound = GetDeploymentGitSourceRepoId$Outbound; +} + +export function getDeploymentGitSourceRepoIdToJSON( + getDeploymentGitSourceRepoId: GetDeploymentGitSourceRepoId, +): string { + return JSON.stringify( + GetDeploymentGitSourceRepoId$outboundSchema.parse( + getDeploymentGitSourceRepoId, + ), + ); +} + +export function getDeploymentGitSourceRepoIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentGitSourceRepoId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSourceRepoId' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitSourceDeployments1$inboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments1, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema, + repoId: z.union([z.string(), z.number()]), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type GetDeploymentGitSourceDeployments1$Outbound = { + type: string; + repoId: string | number; + ref?: string | null | undefined; + sha?: string | undefined; + prId?: number | null | undefined; +}; + +/** @internal */ +export const GetDeploymentGitSourceDeployments1$outboundSchema: z.ZodType< + GetDeploymentGitSourceDeployments1$Outbound, + z.ZodTypeDef, + GetDeploymentGitSourceDeployments1 +> = z.object({ + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema, + repoId: z.union([z.string(), z.number()]), + ref: z.nullable(z.string()).optional(), + sha: z.string().optional(), + prId: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitSourceDeployments1$ { + /** @deprecated use `GetDeploymentGitSourceDeployments1$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitSourceDeployments1$inboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments1$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitSourceDeployments1$outboundSchema; + /** @deprecated use `GetDeploymentGitSourceDeployments1$Outbound` instead. */ + export type Outbound = GetDeploymentGitSourceDeployments1$Outbound; +} + +export function getDeploymentGitSourceDeployments1ToJSON( + getDeploymentGitSourceDeployments1: GetDeploymentGitSourceDeployments1, +): string { + return JSON.stringify( + GetDeploymentGitSourceDeployments1$outboundSchema.parse( + getDeploymentGitSourceDeployments1, + ), + ); +} + +export function getDeploymentGitSourceDeployments1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDeploymentGitSourceDeployments1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitSourceDeployments1' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentResponseBodyGitSource$inboundSchema: z.ZodType< + GetDeploymentResponseBodyGitSource, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDeploymentGitSourceDeployments6$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments8$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments1$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments3$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments2$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments4$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments5$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments7$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments9$inboundSchema), +]); + +/** @internal */ +export type GetDeploymentResponseBodyGitSource$Outbound = + | GetDeploymentGitSourceDeployments6$Outbound + | GetDeploymentGitSourceDeployments8$Outbound + | GetDeploymentGitSourceDeployments1$Outbound + | GetDeploymentGitSourceDeployments3$Outbound + | GetDeploymentGitSourceDeployments2$Outbound + | GetDeploymentGitSourceDeployments4$Outbound + | GetDeploymentGitSourceDeployments5$Outbound + | GetDeploymentGitSourceDeployments7$Outbound + | GetDeploymentGitSourceDeployments9$Outbound; + +/** @internal */ +export const GetDeploymentResponseBodyGitSource$outboundSchema: z.ZodType< + GetDeploymentResponseBodyGitSource$Outbound, + z.ZodTypeDef, + GetDeploymentResponseBodyGitSource +> = z.union([ + z.lazy(() => GetDeploymentGitSourceDeployments6$outboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments8$outboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments1$outboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments3$outboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments2$outboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments4$outboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments5$outboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments7$outboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments9$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBodyGitSource$ { + /** @deprecated use `GetDeploymentResponseBodyGitSource$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentResponseBodyGitSource$inboundSchema; + /** @deprecated use `GetDeploymentResponseBodyGitSource$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentResponseBodyGitSource$outboundSchema; + /** @deprecated use `GetDeploymentResponseBodyGitSource$Outbound` instead. */ + export type Outbound = GetDeploymentResponseBodyGitSource$Outbound; +} + +export function getDeploymentResponseBodyGitSourceToJSON( + getDeploymentResponseBodyGitSource: GetDeploymentResponseBodyGitSource, +): string { + return JSON.stringify( + GetDeploymentResponseBodyGitSource$outboundSchema.parse( + getDeploymentResponseBodyGitSource, + ), + ); +} + +export function getDeploymentResponseBodyGitSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDeploymentResponseBodyGitSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentResponseBodyGitSource' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyProject$inboundSchema: z.ZodType< + ResponseBodyProject, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(z.string()).optional(), +}); + +/** @internal */ +export type ResponseBodyProject$Outbound = { + id: string; + name: string; + framework?: string | null | undefined; +}; + +/** @internal */ +export const ResponseBodyProject$outboundSchema: z.ZodType< + ResponseBodyProject$Outbound, + z.ZodTypeDef, + ResponseBodyProject +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyProject$ { + /** @deprecated use `ResponseBodyProject$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyProject$inboundSchema; + /** @deprecated use `ResponseBodyProject$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyProject$outboundSchema; + /** @deprecated use `ResponseBodyProject$Outbound` instead. */ + export type Outbound = ResponseBodyProject$Outbound; +} + +export function responseBodyProjectToJSON( + responseBodyProject: ResponseBodyProject, +): string { + return JSON.stringify( + ResponseBodyProject$outboundSchema.parse(responseBodyProject), + ); +} + +export function responseBodyProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyProject' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyReadySubstate$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyReadySubstate +> = z.nativeEnum(ResponseBodyReadySubstate); + +/** @internal */ +export const ResponseBodyReadySubstate$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyReadySubstate +> = ResponseBodyReadySubstate$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyReadySubstate$ { + /** @deprecated use `ResponseBodyReadySubstate$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyReadySubstate$inboundSchema; + /** @deprecated use `ResponseBodyReadySubstate$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyReadySubstate$outboundSchema; +} + +/** @internal */ +export const ResponseBodySource$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodySource +> = z.nativeEnum(ResponseBodySource); + +/** @internal */ +export const ResponseBodySource$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodySource +> = ResponseBodySource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodySource$ { + /** @deprecated use `ResponseBodySource$inboundSchema` instead. */ + export const inboundSchema = ResponseBodySource$inboundSchema; + /** @deprecated use `ResponseBodySource$outboundSchema` instead. */ + export const outboundSchema = ResponseBodySource$outboundSchema; +} + +/** @internal */ +export const ResponseBodyTarget$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyTarget +> = z.nativeEnum(ResponseBodyTarget); + +/** @internal */ +export const ResponseBodyTarget$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyTarget +> = ResponseBodyTarget$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyTarget$ { + /** @deprecated use `ResponseBodyTarget$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyTarget$inboundSchema; + /** @deprecated use `ResponseBodyTarget$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyTarget$outboundSchema; +} + +/** @internal */ +export const ResponseBodyOidcTokenClaims$inboundSchema: z.ZodType< + ResponseBodyOidcTokenClaims, + z.ZodTypeDef, + unknown +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + owner_id: z.string(), + project: z.string(), + project_id: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + "owner_id": "ownerId", + "project_id": "projectId", + }); +}); + +/** @internal */ +export type ResponseBodyOidcTokenClaims$Outbound = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + owner_id: string; + project: string; + project_id: string; + environment: string; +}; + +/** @internal */ +export const ResponseBodyOidcTokenClaims$outboundSchema: z.ZodType< + ResponseBodyOidcTokenClaims$Outbound, + z.ZodTypeDef, + ResponseBodyOidcTokenClaims +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + ownerId: z.string(), + project: z.string(), + projectId: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + ownerId: "owner_id", + projectId: "project_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyOidcTokenClaims$ { + /** @deprecated use `ResponseBodyOidcTokenClaims$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyOidcTokenClaims$inboundSchema; + /** @deprecated use `ResponseBodyOidcTokenClaims$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyOidcTokenClaims$outboundSchema; + /** @deprecated use `ResponseBodyOidcTokenClaims$Outbound` instead. */ + export type Outbound = ResponseBodyOidcTokenClaims$Outbound; +} + +export function responseBodyOidcTokenClaimsToJSON( + responseBodyOidcTokenClaims: ResponseBodyOidcTokenClaims, +): string { + return JSON.stringify( + ResponseBodyOidcTokenClaims$outboundSchema.parse( + responseBodyOidcTokenClaims, + ), + ); +} + +export function responseBodyOidcTokenClaimsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyOidcTokenClaims' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyPlan$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyPlan +> = z.nativeEnum(ResponseBodyPlan); + +/** @internal */ +export const ResponseBodyPlan$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyPlan +> = ResponseBodyPlan$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyPlan$ { + /** @deprecated use `ResponseBodyPlan$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyPlan$inboundSchema; + /** @deprecated use `ResponseBodyPlan$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyPlan$outboundSchema; +} + +/** @internal */ +export const ResponseBodyCrons$inboundSchema: z.ZodType< + ResponseBodyCrons, + z.ZodTypeDef, + unknown +> = z.object({ + schedule: z.string(), + path: z.string(), +}); + +/** @internal */ +export type ResponseBodyCrons$Outbound = { + schedule: string; + path: string; +}; + +/** @internal */ +export const ResponseBodyCrons$outboundSchema: z.ZodType< + ResponseBodyCrons$Outbound, + z.ZodTypeDef, + ResponseBodyCrons +> = z.object({ + schedule: z.string(), + path: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyCrons$ { + /** @deprecated use `ResponseBodyCrons$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyCrons$inboundSchema; + /** @deprecated use `ResponseBodyCrons$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyCrons$outboundSchema; + /** @deprecated use `ResponseBodyCrons$Outbound` instead. */ + export type Outbound = ResponseBodyCrons$Outbound; +} + +export function responseBodyCronsToJSON( + responseBodyCrons: ResponseBodyCrons, +): string { + return JSON.stringify( + ResponseBodyCrons$outboundSchema.parse(responseBodyCrons), + ); +} + +export function responseBodyCronsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyCrons$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyCrons' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyFunctions$inboundSchema: z.ZodType< + ResponseBodyFunctions, + z.ZodTypeDef, + unknown +> = z.object({ + memory: z.number().optional(), + maxDuration: z.number().optional(), + runtime: z.string().optional(), + includeFiles: z.string().optional(), + excludeFiles: z.string().optional(), +}); + +/** @internal */ +export type ResponseBodyFunctions$Outbound = { + memory?: number | undefined; + maxDuration?: number | undefined; + runtime?: string | undefined; + includeFiles?: string | undefined; + excludeFiles?: string | undefined; +}; + +/** @internal */ +export const ResponseBodyFunctions$outboundSchema: z.ZodType< + ResponseBodyFunctions$Outbound, + z.ZodTypeDef, + ResponseBodyFunctions +> = z.object({ + memory: z.number().optional(), + maxDuration: z.number().optional(), + runtime: z.string().optional(), + includeFiles: z.string().optional(), + excludeFiles: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyFunctions$ { + /** @deprecated use `ResponseBodyFunctions$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyFunctions$inboundSchema; + /** @deprecated use `ResponseBodyFunctions$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyFunctions$outboundSchema; + /** @deprecated use `ResponseBodyFunctions$Outbound` instead. */ + export type Outbound = ResponseBodyFunctions$Outbound; +} + +export function responseBodyFunctionsToJSON( + responseBodyFunctions: ResponseBodyFunctions, +): string { + return JSON.stringify( + ResponseBodyFunctions$outboundSchema.parse(responseBodyFunctions), + ); +} + +export function responseBodyFunctionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyFunctions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyFunctions' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentRoutes3$inboundSchema: z.ZodType< + GetDeploymentRoutes3, + z.ZodTypeDef, + unknown +> = z.object({ + src: z.string(), + continue: z.boolean(), + middleware: z.number(), +}); + +/** @internal */ +export type GetDeploymentRoutes3$Outbound = { + src: string; + continue: boolean; + middleware: number; +}; + +/** @internal */ +export const GetDeploymentRoutes3$outboundSchema: z.ZodType< + GetDeploymentRoutes3$Outbound, + z.ZodTypeDef, + GetDeploymentRoutes3 +> = z.object({ + src: z.string(), + continue: z.boolean(), + middleware: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentRoutes3$ { + /** @deprecated use `GetDeploymentRoutes3$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentRoutes3$inboundSchema; + /** @deprecated use `GetDeploymentRoutes3$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentRoutes3$outboundSchema; + /** @deprecated use `GetDeploymentRoutes3$Outbound` instead. */ + export type Outbound = GetDeploymentRoutes3$Outbound; +} + +export function getDeploymentRoutes3ToJSON( + getDeploymentRoutes3: GetDeploymentRoutes3, +): string { + return JSON.stringify( + GetDeploymentRoutes3$outboundSchema.parse(getDeploymentRoutes3), + ); +} + +export function getDeploymentRoutes3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentRoutes3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentRoutes3' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentRoutesHandle$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentRoutesHandle +> = z.nativeEnum(GetDeploymentRoutesHandle); + +/** @internal */ +export const GetDeploymentRoutesHandle$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentRoutesHandle +> = GetDeploymentRoutesHandle$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentRoutesHandle$ { + /** @deprecated use `GetDeploymentRoutesHandle$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentRoutesHandle$inboundSchema; + /** @deprecated use `GetDeploymentRoutesHandle$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentRoutesHandle$outboundSchema; +} + +/** @internal */ +export const GetDeploymentRoutes2$inboundSchema: z.ZodType< + GetDeploymentRoutes2, + z.ZodTypeDef, + unknown +> = z.object({ + handle: GetDeploymentRoutesHandle$inboundSchema, + src: z.string().optional(), + dest: z.string().optional(), + status: z.number().optional(), +}); + +/** @internal */ +export type GetDeploymentRoutes2$Outbound = { + handle: string; + src?: string | undefined; + dest?: string | undefined; + status?: number | undefined; +}; + +/** @internal */ +export const GetDeploymentRoutes2$outboundSchema: z.ZodType< + GetDeploymentRoutes2$Outbound, + z.ZodTypeDef, + GetDeploymentRoutes2 +> = z.object({ + handle: GetDeploymentRoutesHandle$outboundSchema, + src: z.string().optional(), + dest: z.string().optional(), + status: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentRoutes2$ { + /** @deprecated use `GetDeploymentRoutes2$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentRoutes2$inboundSchema; + /** @deprecated use `GetDeploymentRoutes2$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentRoutes2$outboundSchema; + /** @deprecated use `GetDeploymentRoutes2$Outbound` instead. */ + export type Outbound = GetDeploymentRoutes2$Outbound; +} + +export function getDeploymentRoutes2ToJSON( + getDeploymentRoutes2: GetDeploymentRoutes2, +): string { + return JSON.stringify( + GetDeploymentRoutes2$outboundSchema.parse(getDeploymentRoutes2), + ); +} + +export function getDeploymentRoutes2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentRoutes2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentRoutes2' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentHasType$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentHasType +> = z.nativeEnum(GetDeploymentHasType); + +/** @internal */ +export const GetDeploymentHasType$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentHasType +> = GetDeploymentHasType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentHasType$ { + /** @deprecated use `GetDeploymentHasType$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentHasType$inboundSchema; + /** @deprecated use `GetDeploymentHasType$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentHasType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentHas2$inboundSchema: z.ZodType< + GetDeploymentHas2, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDeploymentHasType$inboundSchema, + key: z.string(), + value: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentHas2$Outbound = { + type: string; + key: string; + value?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentHas2$outboundSchema: z.ZodType< + GetDeploymentHas2$Outbound, + z.ZodTypeDef, + GetDeploymentHas2 +> = z.object({ + type: GetDeploymentHasType$outboundSchema, + key: z.string(), + value: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentHas2$ { + /** @deprecated use `GetDeploymentHas2$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentHas2$inboundSchema; + /** @deprecated use `GetDeploymentHas2$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentHas2$outboundSchema; + /** @deprecated use `GetDeploymentHas2$Outbound` instead. */ + export type Outbound = GetDeploymentHas2$Outbound; +} + +export function getDeploymentHas2ToJSON( + getDeploymentHas2: GetDeploymentHas2, +): string { + return JSON.stringify( + GetDeploymentHas2$outboundSchema.parse(getDeploymentHas2), + ); +} + +export function getDeploymentHas2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentHas2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentHas2' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentHasDeploymentsType$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentHasDeploymentsType +> = z.nativeEnum(GetDeploymentHasDeploymentsType); + +/** @internal */ +export const GetDeploymentHasDeploymentsType$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentHasDeploymentsType +> = GetDeploymentHasDeploymentsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentHasDeploymentsType$ { + /** @deprecated use `GetDeploymentHasDeploymentsType$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentHasDeploymentsType$inboundSchema; + /** @deprecated use `GetDeploymentHasDeploymentsType$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentHasDeploymentsType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentHas1$inboundSchema: z.ZodType< + GetDeploymentHas1, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDeploymentHasDeploymentsType$inboundSchema, + value: z.string(), +}); + +/** @internal */ +export type GetDeploymentHas1$Outbound = { + type: string; + value: string; +}; + +/** @internal */ +export const GetDeploymentHas1$outboundSchema: z.ZodType< + GetDeploymentHas1$Outbound, + z.ZodTypeDef, + GetDeploymentHas1 +> = z.object({ + type: GetDeploymentHasDeploymentsType$outboundSchema, + value: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentHas1$ { + /** @deprecated use `GetDeploymentHas1$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentHas1$inboundSchema; + /** @deprecated use `GetDeploymentHas1$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentHas1$outboundSchema; + /** @deprecated use `GetDeploymentHas1$Outbound` instead. */ + export type Outbound = GetDeploymentHas1$Outbound; +} + +export function getDeploymentHas1ToJSON( + getDeploymentHas1: GetDeploymentHas1, +): string { + return JSON.stringify( + GetDeploymentHas1$outboundSchema.parse(getDeploymentHas1), + ); +} + +export function getDeploymentHas1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentHas1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentHas1' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentRoutesHas$inboundSchema: z.ZodType< + GetDeploymentRoutesHas, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDeploymentHas1$inboundSchema), + z.lazy(() => GetDeploymentHas2$inboundSchema), +]); + +/** @internal */ +export type GetDeploymentRoutesHas$Outbound = + | GetDeploymentHas1$Outbound + | GetDeploymentHas2$Outbound; + +/** @internal */ +export const GetDeploymentRoutesHas$outboundSchema: z.ZodType< + GetDeploymentRoutesHas$Outbound, + z.ZodTypeDef, + GetDeploymentRoutesHas +> = z.union([ + z.lazy(() => GetDeploymentHas1$outboundSchema), + z.lazy(() => GetDeploymentHas2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentRoutesHas$ { + /** @deprecated use `GetDeploymentRoutesHas$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentRoutesHas$inboundSchema; + /** @deprecated use `GetDeploymentRoutesHas$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentRoutesHas$outboundSchema; + /** @deprecated use `GetDeploymentRoutesHas$Outbound` instead. */ + export type Outbound = GetDeploymentRoutesHas$Outbound; +} + +export function getDeploymentRoutesHasToJSON( + getDeploymentRoutesHas: GetDeploymentRoutesHas, +): string { + return JSON.stringify( + GetDeploymentRoutesHas$outboundSchema.parse(getDeploymentRoutesHas), + ); +} + +export function getDeploymentRoutesHasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentRoutesHas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentRoutesHas' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentMissingType$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentMissingType +> = z.nativeEnum(GetDeploymentMissingType); + +/** @internal */ +export const GetDeploymentMissingType$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentMissingType +> = GetDeploymentMissingType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentMissingType$ { + /** @deprecated use `GetDeploymentMissingType$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentMissingType$inboundSchema; + /** @deprecated use `GetDeploymentMissingType$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentMissingType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentMissing2$inboundSchema: z.ZodType< + GetDeploymentMissing2, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDeploymentMissingType$inboundSchema, + key: z.string(), + value: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentMissing2$Outbound = { + type: string; + key: string; + value?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentMissing2$outboundSchema: z.ZodType< + GetDeploymentMissing2$Outbound, + z.ZodTypeDef, + GetDeploymentMissing2 +> = z.object({ + type: GetDeploymentMissingType$outboundSchema, + key: z.string(), + value: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentMissing2$ { + /** @deprecated use `GetDeploymentMissing2$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentMissing2$inboundSchema; + /** @deprecated use `GetDeploymentMissing2$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentMissing2$outboundSchema; + /** @deprecated use `GetDeploymentMissing2$Outbound` instead. */ + export type Outbound = GetDeploymentMissing2$Outbound; +} + +export function getDeploymentMissing2ToJSON( + getDeploymentMissing2: GetDeploymentMissing2, +): string { + return JSON.stringify( + GetDeploymentMissing2$outboundSchema.parse(getDeploymentMissing2), + ); +} + +export function getDeploymentMissing2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentMissing2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentMissing2' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentMissingDeploymentsType$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentMissingDeploymentsType +> = z.nativeEnum(GetDeploymentMissingDeploymentsType); + +/** @internal */ +export const GetDeploymentMissingDeploymentsType$outboundSchema: + z.ZodNativeEnum = + GetDeploymentMissingDeploymentsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentMissingDeploymentsType$ { + /** @deprecated use `GetDeploymentMissingDeploymentsType$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentMissingDeploymentsType$inboundSchema; + /** @deprecated use `GetDeploymentMissingDeploymentsType$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentMissingDeploymentsType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentMissing1$inboundSchema: z.ZodType< + GetDeploymentMissing1, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDeploymentMissingDeploymentsType$inboundSchema, + value: z.string(), +}); + +/** @internal */ +export type GetDeploymentMissing1$Outbound = { + type: string; + value: string; +}; + +/** @internal */ +export const GetDeploymentMissing1$outboundSchema: z.ZodType< + GetDeploymentMissing1$Outbound, + z.ZodTypeDef, + GetDeploymentMissing1 +> = z.object({ + type: GetDeploymentMissingDeploymentsType$outboundSchema, + value: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentMissing1$ { + /** @deprecated use `GetDeploymentMissing1$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentMissing1$inboundSchema; + /** @deprecated use `GetDeploymentMissing1$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentMissing1$outboundSchema; + /** @deprecated use `GetDeploymentMissing1$Outbound` instead. */ + export type Outbound = GetDeploymentMissing1$Outbound; +} + +export function getDeploymentMissing1ToJSON( + getDeploymentMissing1: GetDeploymentMissing1, +): string { + return JSON.stringify( + GetDeploymentMissing1$outboundSchema.parse(getDeploymentMissing1), + ); +} + +export function getDeploymentMissing1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentMissing1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentMissing1' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentRoutesMissing$inboundSchema: z.ZodType< + GetDeploymentRoutesMissing, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDeploymentMissing1$inboundSchema), + z.lazy(() => GetDeploymentMissing2$inboundSchema), +]); + +/** @internal */ +export type GetDeploymentRoutesMissing$Outbound = + | GetDeploymentMissing1$Outbound + | GetDeploymentMissing2$Outbound; + +/** @internal */ +export const GetDeploymentRoutesMissing$outboundSchema: z.ZodType< + GetDeploymentRoutesMissing$Outbound, + z.ZodTypeDef, + GetDeploymentRoutesMissing +> = z.union([ + z.lazy(() => GetDeploymentMissing1$outboundSchema), + z.lazy(() => GetDeploymentMissing2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentRoutesMissing$ { + /** @deprecated use `GetDeploymentRoutesMissing$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentRoutesMissing$inboundSchema; + /** @deprecated use `GetDeploymentRoutesMissing$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentRoutesMissing$outboundSchema; + /** @deprecated use `GetDeploymentRoutesMissing$Outbound` instead. */ + export type Outbound = GetDeploymentRoutesMissing$Outbound; +} + +export function getDeploymentRoutesMissingToJSON( + getDeploymentRoutesMissing: GetDeploymentRoutesMissing, +): string { + return JSON.stringify( + GetDeploymentRoutesMissing$outboundSchema.parse(getDeploymentRoutesMissing), + ); +} + +export function getDeploymentRoutesMissingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentRoutesMissing$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentRoutesMissing' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentRoutesLocale$inboundSchema: z.ZodType< + GetDeploymentRoutesLocale, + z.ZodTypeDef, + unknown +> = z.object({ + redirect: z.record(z.string()).optional(), + cookie: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentRoutesLocale$Outbound = { + redirect?: { [k: string]: string } | undefined; + cookie?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentRoutesLocale$outboundSchema: z.ZodType< + GetDeploymentRoutesLocale$Outbound, + z.ZodTypeDef, + GetDeploymentRoutesLocale +> = z.object({ + redirect: z.record(z.string()).optional(), + cookie: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentRoutesLocale$ { + /** @deprecated use `GetDeploymentRoutesLocale$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentRoutesLocale$inboundSchema; + /** @deprecated use `GetDeploymentRoutesLocale$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentRoutesLocale$outboundSchema; + /** @deprecated use `GetDeploymentRoutesLocale$Outbound` instead. */ + export type Outbound = GetDeploymentRoutesLocale$Outbound; +} + +export function getDeploymentRoutesLocaleToJSON( + getDeploymentRoutesLocale: GetDeploymentRoutesLocale, +): string { + return JSON.stringify( + GetDeploymentRoutesLocale$outboundSchema.parse(getDeploymentRoutesLocale), + ); +} + +export function getDeploymentRoutesLocaleFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentRoutesLocale$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentRoutesLocale' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentRoutes1$inboundSchema: z.ZodType< + GetDeploymentRoutes1, + z.ZodTypeDef, + unknown +> = z.object({ + src: z.string(), + dest: z.string().optional(), + headers: z.record(z.string()).optional(), + methods: z.array(z.string()).optional(), + continue: z.boolean().optional(), + override: z.boolean().optional(), + caseSensitive: z.boolean().optional(), + check: z.boolean().optional(), + important: z.boolean().optional(), + status: z.number().optional(), + has: z.array( + z.union([ + z.lazy(() => GetDeploymentHas1$inboundSchema), + z.lazy(() => GetDeploymentHas2$inboundSchema), + ]), + ).optional(), + missing: z.array( + z.union([ + z.lazy(() => GetDeploymentMissing1$inboundSchema), + z.lazy(() => GetDeploymentMissing2$inboundSchema), + ]), + ).optional(), + locale: z.lazy(() => GetDeploymentRoutesLocale$inboundSchema).optional(), + middlewarePath: z.string().optional(), + middlewareRawSrc: z.array(z.string()).optional(), + middleware: z.number().optional(), +}); + +/** @internal */ +export type GetDeploymentRoutes1$Outbound = { + src: string; + dest?: string | undefined; + headers?: { [k: string]: string } | undefined; + methods?: Array | undefined; + continue?: boolean | undefined; + override?: boolean | undefined; + caseSensitive?: boolean | undefined; + check?: boolean | undefined; + important?: boolean | undefined; + status?: number | undefined; + has?: + | Array + | undefined; + missing?: + | Array + | undefined; + locale?: GetDeploymentRoutesLocale$Outbound | undefined; + middlewarePath?: string | undefined; + middlewareRawSrc?: Array | undefined; + middleware?: number | undefined; +}; + +/** @internal */ +export const GetDeploymentRoutes1$outboundSchema: z.ZodType< + GetDeploymentRoutes1$Outbound, + z.ZodTypeDef, + GetDeploymentRoutes1 +> = z.object({ + src: z.string(), + dest: z.string().optional(), + headers: z.record(z.string()).optional(), + methods: z.array(z.string()).optional(), + continue: z.boolean().optional(), + override: z.boolean().optional(), + caseSensitive: z.boolean().optional(), + check: z.boolean().optional(), + important: z.boolean().optional(), + status: z.number().optional(), + has: z.array( + z.union([ + z.lazy(() => GetDeploymentHas1$outboundSchema), + z.lazy(() => GetDeploymentHas2$outboundSchema), + ]), + ).optional(), + missing: z.array( + z.union([ + z.lazy(() => GetDeploymentMissing1$outboundSchema), + z.lazy(() => GetDeploymentMissing2$outboundSchema), + ]), + ).optional(), + locale: z.lazy(() => GetDeploymentRoutesLocale$outboundSchema).optional(), + middlewarePath: z.string().optional(), + middlewareRawSrc: z.array(z.string()).optional(), + middleware: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentRoutes1$ { + /** @deprecated use `GetDeploymentRoutes1$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentRoutes1$inboundSchema; + /** @deprecated use `GetDeploymentRoutes1$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentRoutes1$outboundSchema; + /** @deprecated use `GetDeploymentRoutes1$Outbound` instead. */ + export type Outbound = GetDeploymentRoutes1$Outbound; +} + +export function getDeploymentRoutes1ToJSON( + getDeploymentRoutes1: GetDeploymentRoutes1, +): string { + return JSON.stringify( + GetDeploymentRoutes1$outboundSchema.parse(getDeploymentRoutes1), + ); +} + +export function getDeploymentRoutes1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentRoutes1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentRoutes1' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyRoutes$inboundSchema: z.ZodType< + ResponseBodyRoutes, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDeploymentRoutes3$inboundSchema), + z.lazy(() => GetDeploymentRoutes2$inboundSchema), + z.lazy(() => GetDeploymentRoutes1$inboundSchema), +]); + +/** @internal */ +export type ResponseBodyRoutes$Outbound = + | GetDeploymentRoutes3$Outbound + | GetDeploymentRoutes2$Outbound + | GetDeploymentRoutes1$Outbound; + +/** @internal */ +export const ResponseBodyRoutes$outboundSchema: z.ZodType< + ResponseBodyRoutes$Outbound, + z.ZodTypeDef, + ResponseBodyRoutes +> = z.union([ + z.lazy(() => GetDeploymentRoutes3$outboundSchema), + z.lazy(() => GetDeploymentRoutes2$outboundSchema), + z.lazy(() => GetDeploymentRoutes1$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyRoutes$ { + /** @deprecated use `ResponseBodyRoutes$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyRoutes$inboundSchema; + /** @deprecated use `ResponseBodyRoutes$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyRoutes$outboundSchema; + /** @deprecated use `ResponseBodyRoutes$Outbound` instead. */ + export type Outbound = ResponseBodyRoutes$Outbound; +} + +export function responseBodyRoutesToJSON( + responseBodyRoutes: ResponseBodyRoutes, +): string { + return JSON.stringify( + ResponseBodyRoutes$outboundSchema.parse(responseBodyRoutes), + ); +} + +export function responseBodyRoutesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyRoutes$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyRoutes' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitRepoDeploymentsType$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentGitRepoDeploymentsType +> = z.nativeEnum(GetDeploymentGitRepoDeploymentsType); + +/** @internal */ +export const GetDeploymentGitRepoDeploymentsType$outboundSchema: + z.ZodNativeEnum = + GetDeploymentGitRepoDeploymentsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitRepoDeploymentsType$ { + /** @deprecated use `GetDeploymentGitRepoDeploymentsType$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitRepoDeploymentsType$inboundSchema; + /** @deprecated use `GetDeploymentGitRepoDeploymentsType$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitRepoDeploymentsType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitRepoOwnerType$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentGitRepoOwnerType +> = z.nativeEnum(GetDeploymentGitRepoOwnerType); + +/** @internal */ +export const GetDeploymentGitRepoOwnerType$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentGitRepoOwnerType +> = GetDeploymentGitRepoOwnerType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitRepoOwnerType$ { + /** @deprecated use `GetDeploymentGitRepoOwnerType$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitRepoOwnerType$inboundSchema; + /** @deprecated use `GetDeploymentGitRepoOwnerType$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitRepoOwnerType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitRepo3$inboundSchema: z.ZodType< + GetDeploymentGitRepo3, + z.ZodTypeDef, + unknown +> = z.object({ + owner: z.string(), + repoUuid: z.string(), + slug: z.string(), + type: GetDeploymentGitRepoDeploymentsType$inboundSchema, + workspaceUuid: z.string(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: GetDeploymentGitRepoOwnerType$inboundSchema, +}); + +/** @internal */ +export type GetDeploymentGitRepo3$Outbound = { + owner: string; + repoUuid: string; + slug: string; + type: string; + workspaceUuid: string; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: string; +}; + +/** @internal */ +export const GetDeploymentGitRepo3$outboundSchema: z.ZodType< + GetDeploymentGitRepo3$Outbound, + z.ZodTypeDef, + GetDeploymentGitRepo3 +> = z.object({ + owner: z.string(), + repoUuid: z.string(), + slug: z.string(), + type: GetDeploymentGitRepoDeploymentsType$outboundSchema, + workspaceUuid: z.string(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: GetDeploymentGitRepoOwnerType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitRepo3$ { + /** @deprecated use `GetDeploymentGitRepo3$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitRepo3$inboundSchema; + /** @deprecated use `GetDeploymentGitRepo3$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitRepo3$outboundSchema; + /** @deprecated use `GetDeploymentGitRepo3$Outbound` instead. */ + export type Outbound = GetDeploymentGitRepo3$Outbound; +} + +export function getDeploymentGitRepo3ToJSON( + getDeploymentGitRepo3: GetDeploymentGitRepo3, +): string { + return JSON.stringify( + GetDeploymentGitRepo3$outboundSchema.parse(getDeploymentGitRepo3), + ); +} + +export function getDeploymentGitRepo3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentGitRepo3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitRepo3' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitRepoType$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentGitRepoType +> = z.nativeEnum(GetDeploymentGitRepoType); + +/** @internal */ +export const GetDeploymentGitRepoType$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentGitRepoType +> = GetDeploymentGitRepoType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitRepoType$ { + /** @deprecated use `GetDeploymentGitRepoType$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitRepoType$inboundSchema; + /** @deprecated use `GetDeploymentGitRepoType$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitRepoType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetDeploymentGitRepoDeploymentsResponseOwnerType); + +/** @internal */ +export const GetDeploymentGitRepoDeploymentsResponseOwnerType$outboundSchema: + z.ZodNativeEnum = + GetDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitRepoDeploymentsResponseOwnerType$ { + /** @deprecated use `GetDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema; + /** @deprecated use `GetDeploymentGitRepoDeploymentsResponseOwnerType$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitRepoDeploymentsResponseOwnerType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitRepo2$inboundSchema: z.ZodType< + GetDeploymentGitRepo2, + z.ZodTypeDef, + unknown +> = z.object({ + org: z.string(), + repo: z.string(), + repoId: z.number(), + type: GetDeploymentGitRepoType$inboundSchema, + repoOwnerId: z.number(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: GetDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema, +}); + +/** @internal */ +export type GetDeploymentGitRepo2$Outbound = { + org: string; + repo: string; + repoId: number; + type: string; + repoOwnerId: number; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: string; +}; + +/** @internal */ +export const GetDeploymentGitRepo2$outboundSchema: z.ZodType< + GetDeploymentGitRepo2$Outbound, + z.ZodTypeDef, + GetDeploymentGitRepo2 +> = z.object({ + org: z.string(), + repo: z.string(), + repoId: z.number(), + type: GetDeploymentGitRepoType$outboundSchema, + repoOwnerId: z.number(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: GetDeploymentGitRepoDeploymentsResponseOwnerType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitRepo2$ { + /** @deprecated use `GetDeploymentGitRepo2$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitRepo2$inboundSchema; + /** @deprecated use `GetDeploymentGitRepo2$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitRepo2$outboundSchema; + /** @deprecated use `GetDeploymentGitRepo2$Outbound` instead. */ + export type Outbound = GetDeploymentGitRepo2$Outbound; +} + +export function getDeploymentGitRepo2ToJSON( + getDeploymentGitRepo2: GetDeploymentGitRepo2, +): string { + return JSON.stringify( + GetDeploymentGitRepo2$outboundSchema.parse(getDeploymentGitRepo2), + ); +} + +export function getDeploymentGitRepo2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentGitRepo2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitRepo2' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentGitRepoDeploymentsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetDeploymentGitRepoDeploymentsResponseType); + +/** @internal */ +export const GetDeploymentGitRepoDeploymentsResponseType$outboundSchema: + z.ZodNativeEnum = + GetDeploymentGitRepoDeploymentsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitRepoDeploymentsResponseType$ { + /** @deprecated use `GetDeploymentGitRepoDeploymentsResponseType$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitRepoDeploymentsResponseType$inboundSchema; + /** @deprecated use `GetDeploymentGitRepoDeploymentsResponseType$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitRepoDeploymentsResponseType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitRepoDeploymentsOwnerType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetDeploymentGitRepoDeploymentsOwnerType); + +/** @internal */ +export const GetDeploymentGitRepoDeploymentsOwnerType$outboundSchema: + z.ZodNativeEnum = + GetDeploymentGitRepoDeploymentsOwnerType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitRepoDeploymentsOwnerType$ { + /** @deprecated use `GetDeploymentGitRepoDeploymentsOwnerType$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentGitRepoDeploymentsOwnerType$inboundSchema; + /** @deprecated use `GetDeploymentGitRepoDeploymentsOwnerType$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentGitRepoDeploymentsOwnerType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentGitRepo1$inboundSchema: z.ZodType< + GetDeploymentGitRepo1, + z.ZodTypeDef, + unknown +> = z.object({ + namespace: z.string(), + projectId: z.number(), + type: GetDeploymentGitRepoDeploymentsResponseType$inboundSchema, + url: z.string(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: GetDeploymentGitRepoDeploymentsOwnerType$inboundSchema, +}); + +/** @internal */ +export type GetDeploymentGitRepo1$Outbound = { + namespace: string; + projectId: number; + type: string; + url: string; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: string; +}; + +/** @internal */ +export const GetDeploymentGitRepo1$outboundSchema: z.ZodType< + GetDeploymentGitRepo1$Outbound, + z.ZodTypeDef, + GetDeploymentGitRepo1 +> = z.object({ + namespace: z.string(), + projectId: z.number(), + type: GetDeploymentGitRepoDeploymentsResponseType$outboundSchema, + url: z.string(), + path: z.string(), + defaultBranch: z.string(), + name: z.string(), + private: z.boolean(), + ownerType: GetDeploymentGitRepoDeploymentsOwnerType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentGitRepo1$ { + /** @deprecated use `GetDeploymentGitRepo1$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentGitRepo1$inboundSchema; + /** @deprecated use `GetDeploymentGitRepo1$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentGitRepo1$outboundSchema; + /** @deprecated use `GetDeploymentGitRepo1$Outbound` instead. */ + export type Outbound = GetDeploymentGitRepo1$Outbound; +} + +export function getDeploymentGitRepo1ToJSON( + getDeploymentGitRepo1: GetDeploymentGitRepo1, +): string { + return JSON.stringify( + GetDeploymentGitRepo1$outboundSchema.parse(getDeploymentGitRepo1), + ); +} + +export function getDeploymentGitRepo1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentGitRepo1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentGitRepo1' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyGitRepo$inboundSchema: z.ZodType< + ResponseBodyGitRepo, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDeploymentGitRepo1$inboundSchema), + z.lazy(() => GetDeploymentGitRepo2$inboundSchema), + z.lazy(() => GetDeploymentGitRepo3$inboundSchema), +]); + +/** @internal */ +export type ResponseBodyGitRepo$Outbound = + | GetDeploymentGitRepo1$Outbound + | GetDeploymentGitRepo2$Outbound + | GetDeploymentGitRepo3$Outbound; + +/** @internal */ +export const ResponseBodyGitRepo$outboundSchema: z.ZodType< + ResponseBodyGitRepo$Outbound, + z.ZodTypeDef, + ResponseBodyGitRepo +> = z.union([ + z.lazy(() => GetDeploymentGitRepo1$outboundSchema), + z.lazy(() => GetDeploymentGitRepo2$outboundSchema), + z.lazy(() => GetDeploymentGitRepo3$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyGitRepo$ { + /** @deprecated use `ResponseBodyGitRepo$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyGitRepo$inboundSchema; + /** @deprecated use `ResponseBodyGitRepo$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyGitRepo$outboundSchema; + /** @deprecated use `ResponseBodyGitRepo$Outbound` instead. */ + export type Outbound = ResponseBodyGitRepo$Outbound; +} + +export function responseBodyGitRepoToJSON( + responseBodyGitRepo: ResponseBodyGitRepo, +): string { + return JSON.stringify( + ResponseBodyGitRepo$outboundSchema.parse(responseBodyGitRepo), + ); +} + +export function responseBodyGitRepoFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyGitRepo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyGitRepo' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentFlags2$inboundSchema: z.ZodType< + GetDeploymentFlags2, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type GetDeploymentFlags2$Outbound = {}; + +/** @internal */ +export const GetDeploymentFlags2$outboundSchema: z.ZodType< + GetDeploymentFlags2$Outbound, + z.ZodTypeDef, + GetDeploymentFlags2 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentFlags2$ { + /** @deprecated use `GetDeploymentFlags2$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentFlags2$inboundSchema; + /** @deprecated use `GetDeploymentFlags2$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentFlags2$outboundSchema; + /** @deprecated use `GetDeploymentFlags2$Outbound` instead. */ + export type Outbound = GetDeploymentFlags2$Outbound; +} + +export function getDeploymentFlags2ToJSON( + getDeploymentFlags2: GetDeploymentFlags2, +): string { + return JSON.stringify( + GetDeploymentFlags2$outboundSchema.parse(getDeploymentFlags2), + ); +} + +export function getDeploymentFlags2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentFlags2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentFlags2' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentFlagsOptions$inboundSchema: z.ZodType< + GetDeploymentFlagsOptions, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(FlagJSONValue$inboundSchema), + label: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentFlagsOptions$Outbound = { + value: FlagJSONValue$Outbound | null; + label?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentFlagsOptions$outboundSchema: z.ZodType< + GetDeploymentFlagsOptions$Outbound, + z.ZodTypeDef, + GetDeploymentFlagsOptions +> = z.object({ + value: z.nullable(FlagJSONValue$outboundSchema), + label: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentFlagsOptions$ { + /** @deprecated use `GetDeploymentFlagsOptions$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentFlagsOptions$inboundSchema; + /** @deprecated use `GetDeploymentFlagsOptions$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentFlagsOptions$outboundSchema; + /** @deprecated use `GetDeploymentFlagsOptions$Outbound` instead. */ + export type Outbound = GetDeploymentFlagsOptions$Outbound; +} + +export function getDeploymentFlagsOptionsToJSON( + getDeploymentFlagsOptions: GetDeploymentFlagsOptions, +): string { + return JSON.stringify( + GetDeploymentFlagsOptions$outboundSchema.parse(getDeploymentFlagsOptions), + ); +} + +export function getDeploymentFlagsOptionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentFlagsOptions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentFlagsOptions' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentFlagsDefinitions$inboundSchema: z.ZodType< + GetDeploymentFlagsDefinitions, + z.ZodTypeDef, + unknown +> = z.object({ + options: z.array(z.lazy(() => GetDeploymentFlagsOptions$inboundSchema)) + .optional(), + url: z.string().optional(), + description: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentFlagsDefinitions$Outbound = { + options?: Array | undefined; + url?: string | undefined; + description?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentFlagsDefinitions$outboundSchema: z.ZodType< + GetDeploymentFlagsDefinitions$Outbound, + z.ZodTypeDef, + GetDeploymentFlagsDefinitions +> = z.object({ + options: z.array(z.lazy(() => GetDeploymentFlagsOptions$outboundSchema)) + .optional(), + url: z.string().optional(), + description: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentFlagsDefinitions$ { + /** @deprecated use `GetDeploymentFlagsDefinitions$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentFlagsDefinitions$inboundSchema; + /** @deprecated use `GetDeploymentFlagsDefinitions$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentFlagsDefinitions$outboundSchema; + /** @deprecated use `GetDeploymentFlagsDefinitions$Outbound` instead. */ + export type Outbound = GetDeploymentFlagsDefinitions$Outbound; +} + +export function getDeploymentFlagsDefinitionsToJSON( + getDeploymentFlagsDefinitions: GetDeploymentFlagsDefinitions, +): string { + return JSON.stringify( + GetDeploymentFlagsDefinitions$outboundSchema.parse( + getDeploymentFlagsDefinitions, + ), + ); +} + +export function getDeploymentFlagsDefinitionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentFlagsDefinitions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentFlagsDefinitions' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentFlags1$inboundSchema: z.ZodType< + GetDeploymentFlags1, + z.ZodTypeDef, + unknown +> = z.object({ + definitions: z.record( + z.lazy(() => GetDeploymentFlagsDefinitions$inboundSchema), + ), +}); + +/** @internal */ +export type GetDeploymentFlags1$Outbound = { + definitions: { [k: string]: GetDeploymentFlagsDefinitions$Outbound }; +}; + +/** @internal */ +export const GetDeploymentFlags1$outboundSchema: z.ZodType< + GetDeploymentFlags1$Outbound, + z.ZodTypeDef, + GetDeploymentFlags1 +> = z.object({ + definitions: z.record( + z.lazy(() => GetDeploymentFlagsDefinitions$outboundSchema), + ), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentFlags1$ { + /** @deprecated use `GetDeploymentFlags1$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentFlags1$inboundSchema; + /** @deprecated use `GetDeploymentFlags1$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentFlags1$outboundSchema; + /** @deprecated use `GetDeploymentFlags1$Outbound` instead. */ + export type Outbound = GetDeploymentFlags1$Outbound; +} + +export function getDeploymentFlags1ToJSON( + getDeploymentFlags1: GetDeploymentFlags1, +): string { + return JSON.stringify( + GetDeploymentFlags1$outboundSchema.parse(getDeploymentFlags1), + ); +} + +export function getDeploymentFlags1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentFlags1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentFlags1' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyFlags$inboundSchema: z.ZodType< + ResponseBodyFlags, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDeploymentFlags1$inboundSchema), + z.array(z.lazy(() => GetDeploymentFlags2$inboundSchema)), +]); + +/** @internal */ +export type ResponseBodyFlags$Outbound = + | GetDeploymentFlags1$Outbound + | Array; + +/** @internal */ +export const ResponseBodyFlags$outboundSchema: z.ZodType< + ResponseBodyFlags$Outbound, + z.ZodTypeDef, + ResponseBodyFlags +> = z.union([ + z.lazy(() => GetDeploymentFlags1$outboundSchema), + z.array(z.lazy(() => GetDeploymentFlags2$outboundSchema)), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyFlags$ { + /** @deprecated use `ResponseBodyFlags$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyFlags$inboundSchema; + /** @deprecated use `ResponseBodyFlags$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyFlags$outboundSchema; + /** @deprecated use `ResponseBodyFlags$Outbound` instead. */ + export type Outbound = ResponseBodyFlags$Outbound; +} + +export function responseBodyFlagsToJSON( + responseBodyFlags: ResponseBodyFlags, +): string { + return JSON.stringify( + ResponseBodyFlags$outboundSchema.parse(responseBodyFlags), + ); +} + +export function responseBodyFlagsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyFlags$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyFlags' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentMicrofrontendsApplications$inboundSchema: z.ZodType< + GetDeploymentMicrofrontendsApplications, + z.ZodTypeDef, + unknown +> = z.object({ + productionHost: z.string(), + deploymentAlias: z.string().optional(), + deploymentHost: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentMicrofrontendsApplications$Outbound = { + productionHost: string; + deploymentAlias?: string | undefined; + deploymentHost?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentMicrofrontendsApplications$outboundSchema: z.ZodType< + GetDeploymentMicrofrontendsApplications$Outbound, + z.ZodTypeDef, + GetDeploymentMicrofrontendsApplications +> = z.object({ + productionHost: z.string(), + deploymentAlias: z.string().optional(), + deploymentHost: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentMicrofrontendsApplications$ { + /** @deprecated use `GetDeploymentMicrofrontendsApplications$inboundSchema` instead. */ + export const inboundSchema = + GetDeploymentMicrofrontendsApplications$inboundSchema; + /** @deprecated use `GetDeploymentMicrofrontendsApplications$outboundSchema` instead. */ + export const outboundSchema = + GetDeploymentMicrofrontendsApplications$outboundSchema; + /** @deprecated use `GetDeploymentMicrofrontendsApplications$Outbound` instead. */ + export type Outbound = GetDeploymentMicrofrontendsApplications$Outbound; +} + +export function getDeploymentMicrofrontendsApplicationsToJSON( + getDeploymentMicrofrontendsApplications: + GetDeploymentMicrofrontendsApplications, +): string { + return JSON.stringify( + GetDeploymentMicrofrontendsApplications$outboundSchema.parse( + getDeploymentMicrofrontendsApplications, + ), + ); +} + +export function getDeploymentMicrofrontendsApplicationsFromJSON( + jsonString: string, +): SafeParseResult< + GetDeploymentMicrofrontendsApplications, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetDeploymentMicrofrontendsApplications$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetDeploymentMicrofrontendsApplications' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentMicrofrontends2$inboundSchema: z.ZodType< + GetDeploymentMicrofrontends2, + z.ZodTypeDef, + unknown +> = z.object({ + applications: z.record( + z.lazy(() => GetDeploymentMicrofrontendsApplications$inboundSchema), + ).optional(), + isDefaultApp: z.boolean(), + defaultRoute: z.string().optional(), + groupIds: z.array(z.string()), +}); + +/** @internal */ +export type GetDeploymentMicrofrontends2$Outbound = { + applications?: { + [k: string]: GetDeploymentMicrofrontendsApplications$Outbound; + } | undefined; + isDefaultApp: boolean; + defaultRoute?: string | undefined; + groupIds: Array; +}; + +/** @internal */ +export const GetDeploymentMicrofrontends2$outboundSchema: z.ZodType< + GetDeploymentMicrofrontends2$Outbound, + z.ZodTypeDef, + GetDeploymentMicrofrontends2 +> = z.object({ + applications: z.record( + z.lazy(() => GetDeploymentMicrofrontendsApplications$outboundSchema), + ).optional(), + isDefaultApp: z.boolean(), + defaultRoute: z.string().optional(), + groupIds: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentMicrofrontends2$ { + /** @deprecated use `GetDeploymentMicrofrontends2$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentMicrofrontends2$inboundSchema; + /** @deprecated use `GetDeploymentMicrofrontends2$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentMicrofrontends2$outboundSchema; + /** @deprecated use `GetDeploymentMicrofrontends2$Outbound` instead. */ + export type Outbound = GetDeploymentMicrofrontends2$Outbound; +} + +export function getDeploymentMicrofrontends2ToJSON( + getDeploymentMicrofrontends2: GetDeploymentMicrofrontends2, +): string { + return JSON.stringify( + GetDeploymentMicrofrontends2$outboundSchema.parse( + getDeploymentMicrofrontends2, + ), + ); +} + +export function getDeploymentMicrofrontends2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentMicrofrontends2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentMicrofrontends2' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentMicrofrontends1$inboundSchema: z.ZodType< + GetDeploymentMicrofrontends1, + z.ZodTypeDef, + unknown +> = z.object({ + isDefaultApp: z.boolean().optional(), + defaultRoute: z.string().optional(), + groupIds: z.array(z.string()), +}); + +/** @internal */ +export type GetDeploymentMicrofrontends1$Outbound = { + isDefaultApp?: boolean | undefined; + defaultRoute?: string | undefined; + groupIds: Array; +}; + +/** @internal */ +export const GetDeploymentMicrofrontends1$outboundSchema: z.ZodType< + GetDeploymentMicrofrontends1$Outbound, + z.ZodTypeDef, + GetDeploymentMicrofrontends1 +> = z.object({ + isDefaultApp: z.boolean().optional(), + defaultRoute: z.string().optional(), + groupIds: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentMicrofrontends1$ { + /** @deprecated use `GetDeploymentMicrofrontends1$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentMicrofrontends1$inboundSchema; + /** @deprecated use `GetDeploymentMicrofrontends1$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentMicrofrontends1$outboundSchema; + /** @deprecated use `GetDeploymentMicrofrontends1$Outbound` instead. */ + export type Outbound = GetDeploymentMicrofrontends1$Outbound; +} + +export function getDeploymentMicrofrontends1ToJSON( + getDeploymentMicrofrontends1: GetDeploymentMicrofrontends1, +): string { + return JSON.stringify( + GetDeploymentMicrofrontends1$outboundSchema.parse( + getDeploymentMicrofrontends1, + ), + ); +} + +export function getDeploymentMicrofrontends1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentMicrofrontends1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentMicrofrontends1' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyMicrofrontends$inboundSchema: z.ZodType< + ResponseBodyMicrofrontends, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDeploymentMicrofrontends1$inboundSchema), + z.lazy(() => GetDeploymentMicrofrontends2$inboundSchema), +]); + +/** @internal */ +export type ResponseBodyMicrofrontends$Outbound = + | GetDeploymentMicrofrontends1$Outbound + | GetDeploymentMicrofrontends2$Outbound; + +/** @internal */ +export const ResponseBodyMicrofrontends$outboundSchema: z.ZodType< + ResponseBodyMicrofrontends$Outbound, + z.ZodTypeDef, + ResponseBodyMicrofrontends +> = z.union([ + z.lazy(() => GetDeploymentMicrofrontends1$outboundSchema), + z.lazy(() => GetDeploymentMicrofrontends2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyMicrofrontends$ { + /** @deprecated use `ResponseBodyMicrofrontends$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyMicrofrontends$inboundSchema; + /** @deprecated use `ResponseBodyMicrofrontends$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyMicrofrontends$outboundSchema; + /** @deprecated use `ResponseBodyMicrofrontends$Outbound` instead. */ + export type Outbound = ResponseBodyMicrofrontends$Outbound; +} + +export function responseBodyMicrofrontendsToJSON( + responseBodyMicrofrontends: ResponseBodyMicrofrontends, +): string { + return JSON.stringify( + ResponseBodyMicrofrontends$outboundSchema.parse(responseBodyMicrofrontends), + ); +} + +export function responseBodyMicrofrontendsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyMicrofrontends$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyMicrofrontends' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentResponseBody1$inboundSchema: z.ZodType< + GetDeploymentResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + aliasAssignedAt: z.nullable(z.union([z.number(), z.boolean()])).optional(), + alwaysRefuseToBuild: z.boolean().optional(), + build: z.lazy(() => ResponseBodyBuild$inboundSchema), + buildArtifactUrls: z.array(z.string()).optional(), + builds: z.array(z.lazy(() => ResponseBodyBuilds$inboundSchema)).optional(), + env: z.array(z.string()), + inspectorUrl: z.nullable(z.string()), + isInConcurrentBuildsQueue: z.boolean(), + isInSystemBuildsQueue: z.boolean(), + projectSettings: z.lazy(() => ResponseBodyProjectSettings$inboundSchema), + readyStateReason: z.string().optional(), + integrations: z.lazy(() => ResponseBodyIntegrations$inboundSchema).optional(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.boolean(), + bootedAt: z.number(), + buildingAt: z.number(), + buildSkipped: z.boolean(), + creator: z.lazy(() => ResponseBodyCreator$inboundSchema), + initReadyAt: z.number().optional(), + isFirstBranchDeployment: z.boolean().optional(), + lambdas: z.array(z.lazy(() => GetDeploymentResponseBodyLambdas$inboundSchema)) + .optional(), + public: z.boolean(), + ready: z.number().optional(), + status: ResponseBodyStatus$inboundSchema, + team: z.lazy(() => GetDeploymentResponseBodyTeam$inboundSchema).optional(), + userAliases: z.array(z.string()).optional(), + previewCommentsEnabled: z.boolean().optional(), + ttyBuildLogs: z.boolean().optional(), + customEnvironment: z.union([ + z.lazy(() => GetDeploymentCustomEnvironmentDeployments1$inboundSchema), + z.lazy(() => GetDeploymentCustomEnvironmentDeployments2$inboundSchema), + ]).optional(), + aliasWarning: z.nullable( + z.lazy(() => GetDeploymentResponseBodyAliasWarning$inboundSchema), + ).optional(), + id: z.string(), + type: ResponseBodyType$inboundSchema, + createdAt: z.number(), + name: z.string(), + readyState: ResponseBodyReadyState$inboundSchema, + aliasError: z.nullable(z.lazy(() => ResponseBodyAliasError$inboundSchema)) + .optional(), + aliasFinal: z.nullable(z.string()).optional(), + autoAssignCustomDomains: z.boolean().optional(), + automaticAliases: z.array(z.string()).optional(), + buildErrorAt: z.number().optional(), + checksState: ResponseBodyChecksState$inboundSchema.optional(), + checksConclusion: ResponseBodyChecksConclusion$inboundSchema.optional(), + deletedAt: z.nullable(z.number()).optional(), + defaultRoute: z.string().optional(), + canceledAt: z.number().optional(), + errorCode: z.string().optional(), + errorLink: z.string().optional(), + errorMessage: z.nullable(z.string()).optional(), + errorStep: z.string().optional(), + passiveRegions: z.array(z.string()).optional(), + gitSource: z.union([ + z.lazy(() => GetDeploymentGitSourceDeployments6$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments8$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments1$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments3$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments2$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments4$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments5$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments7$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments9$inboundSchema), + ]).optional(), + meta: z.record(z.string()), + originCacheRegion: z.string().optional(), + project: z.lazy(() => ResponseBodyProject$inboundSchema).optional(), + readySubstate: ResponseBodyReadySubstate$inboundSchema.optional(), + regions: z.array(z.string()), + softDeletedByRetention: z.boolean().optional(), + source: ResponseBodySource$inboundSchema.optional(), + target: z.nullable(ResponseBodyTarget$inboundSchema).optional(), + undeletedAt: z.number().optional(), + url: z.string(), + version: z.number(), + oidcTokenClaims: z.lazy(() => ResponseBodyOidcTokenClaims$inboundSchema) + .optional(), + projectId: z.string(), + plan: ResponseBodyPlan$inboundSchema, + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdIn: z.string(), + crons: z.array(z.lazy(() => ResponseBodyCrons$inboundSchema)).optional(), + functions: z.nullable( + z.record(z.lazy(() => ResponseBodyFunctions$inboundSchema)), + ).optional(), + monorepoManager: z.nullable(z.string()).optional(), + ownerId: z.string(), + passiveConnectConfigurationId: z.string().optional(), + routes: z.nullable( + z.array(z.union([ + z.lazy(() => GetDeploymentRoutes3$inboundSchema), + z.lazy(() => + GetDeploymentRoutes2$inboundSchema + ), + z.lazy(() => GetDeploymentRoutes1$inboundSchema), + ])), + ), + gitRepo: z.nullable( + z.union([ + z.lazy(() => GetDeploymentGitRepo1$inboundSchema), + z.lazy(() => GetDeploymentGitRepo2$inboundSchema), + z.lazy(() => GetDeploymentGitRepo3$inboundSchema), + ]), + ).optional(), + flags: z.union([ + z.lazy(() => GetDeploymentFlags1$inboundSchema), + z.array(z.lazy(() => GetDeploymentFlags2$inboundSchema)), + ]).optional(), + microfrontends: z.union([ + z.lazy(() => GetDeploymentMicrofrontends1$inboundSchema), + z.lazy(() => GetDeploymentMicrofrontends2$inboundSchema), + ]).optional(), +}); + +/** @internal */ +export type GetDeploymentResponseBody1$Outbound = { + aliasAssignedAt?: number | boolean | null | undefined; + alwaysRefuseToBuild?: boolean | undefined; + build: ResponseBodyBuild$Outbound; + buildArtifactUrls?: Array | undefined; + builds?: Array | undefined; + env: Array; + inspectorUrl: string | null; + isInConcurrentBuildsQueue: boolean; + isInSystemBuildsQueue: boolean; + projectSettings: ResponseBodyProjectSettings$Outbound; + readyStateReason?: string | undefined; + integrations?: ResponseBodyIntegrations$Outbound | undefined; + alias?: Array | undefined; + aliasAssigned: boolean; + bootedAt: number; + buildingAt: number; + buildSkipped: boolean; + creator: ResponseBodyCreator$Outbound; + initReadyAt?: number | undefined; + isFirstBranchDeployment?: boolean | undefined; + lambdas?: Array | undefined; + public: boolean; + ready?: number | undefined; + status: string; + team?: GetDeploymentResponseBodyTeam$Outbound | undefined; + userAliases?: Array | undefined; + previewCommentsEnabled?: boolean | undefined; + ttyBuildLogs?: boolean | undefined; + customEnvironment?: + | GetDeploymentCustomEnvironmentDeployments1$Outbound + | GetDeploymentCustomEnvironmentDeployments2$Outbound + | undefined; + aliasWarning?: + | GetDeploymentResponseBodyAliasWarning$Outbound + | null + | undefined; + id: string; + type: string; + createdAt: number; + name: string; + readyState: string; + aliasError?: ResponseBodyAliasError$Outbound | null | undefined; + aliasFinal?: string | null | undefined; + autoAssignCustomDomains?: boolean | undefined; + automaticAliases?: Array | undefined; + buildErrorAt?: number | undefined; + checksState?: string | undefined; + checksConclusion?: string | undefined; + deletedAt?: number | null | undefined; + defaultRoute?: string | undefined; + canceledAt?: number | undefined; + errorCode?: string | undefined; + errorLink?: string | undefined; + errorMessage?: string | null | undefined; + errorStep?: string | undefined; + passiveRegions?: Array | undefined; + gitSource?: + | GetDeploymentGitSourceDeployments6$Outbound + | GetDeploymentGitSourceDeployments8$Outbound + | GetDeploymentGitSourceDeployments1$Outbound + | GetDeploymentGitSourceDeployments3$Outbound + | GetDeploymentGitSourceDeployments2$Outbound + | GetDeploymentGitSourceDeployments4$Outbound + | GetDeploymentGitSourceDeployments5$Outbound + | GetDeploymentGitSourceDeployments7$Outbound + | GetDeploymentGitSourceDeployments9$Outbound + | undefined; + meta: { [k: string]: string }; + originCacheRegion?: string | undefined; + project?: ResponseBodyProject$Outbound | undefined; + readySubstate?: string | undefined; + regions: Array; + softDeletedByRetention?: boolean | undefined; + source?: string | undefined; + target?: string | null | undefined; + undeletedAt?: number | undefined; + url: string; + version: number; + oidcTokenClaims?: ResponseBodyOidcTokenClaims$Outbound | undefined; + projectId: string; + plan: string; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdIn: string; + crons?: Array | undefined; + functions?: + | { [k: string]: ResponseBodyFunctions$Outbound } + | null + | undefined; + monorepoManager?: string | null | undefined; + ownerId: string; + passiveConnectConfigurationId?: string | undefined; + routes: + | Array< + | GetDeploymentRoutes3$Outbound + | GetDeploymentRoutes2$Outbound + | GetDeploymentRoutes1$Outbound + > + | null; + gitRepo?: + | GetDeploymentGitRepo1$Outbound + | GetDeploymentGitRepo2$Outbound + | GetDeploymentGitRepo3$Outbound + | null + | undefined; + flags?: + | GetDeploymentFlags1$Outbound + | Array + | undefined; + microfrontends?: + | GetDeploymentMicrofrontends1$Outbound + | GetDeploymentMicrofrontends2$Outbound + | undefined; +}; + +/** @internal */ +export const GetDeploymentResponseBody1$outboundSchema: z.ZodType< + GetDeploymentResponseBody1$Outbound, + z.ZodTypeDef, + GetDeploymentResponseBody1 +> = z.object({ + aliasAssignedAt: z.nullable(z.union([z.number(), z.boolean()])).optional(), + alwaysRefuseToBuild: z.boolean().optional(), + build: z.lazy(() => ResponseBodyBuild$outboundSchema), + buildArtifactUrls: z.array(z.string()).optional(), + builds: z.array(z.lazy(() => ResponseBodyBuilds$outboundSchema)).optional(), + env: z.array(z.string()), + inspectorUrl: z.nullable(z.string()), + isInConcurrentBuildsQueue: z.boolean(), + isInSystemBuildsQueue: z.boolean(), + projectSettings: z.lazy(() => ResponseBodyProjectSettings$outboundSchema), + readyStateReason: z.string().optional(), + integrations: z.lazy(() => ResponseBodyIntegrations$outboundSchema) + .optional(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.boolean(), + bootedAt: z.number(), + buildingAt: z.number(), + buildSkipped: z.boolean(), + creator: z.lazy(() => ResponseBodyCreator$outboundSchema), + initReadyAt: z.number().optional(), + isFirstBranchDeployment: z.boolean().optional(), + lambdas: z.array( + z.lazy(() => GetDeploymentResponseBodyLambdas$outboundSchema), + ).optional(), + public: z.boolean(), + ready: z.number().optional(), + status: ResponseBodyStatus$outboundSchema, + team: z.lazy(() => GetDeploymentResponseBodyTeam$outboundSchema).optional(), + userAliases: z.array(z.string()).optional(), + previewCommentsEnabled: z.boolean().optional(), + ttyBuildLogs: z.boolean().optional(), + customEnvironment: z.union([ + z.lazy(() => GetDeploymentCustomEnvironmentDeployments1$outboundSchema), + z.lazy(() => GetDeploymentCustomEnvironmentDeployments2$outboundSchema), + ]).optional(), + aliasWarning: z.nullable( + z.lazy(() => GetDeploymentResponseBodyAliasWarning$outboundSchema), + ).optional(), + id: z.string(), + type: ResponseBodyType$outboundSchema, + createdAt: z.number(), + name: z.string(), + readyState: ResponseBodyReadyState$outboundSchema, + aliasError: z.nullable(z.lazy(() => ResponseBodyAliasError$outboundSchema)) + .optional(), + aliasFinal: z.nullable(z.string()).optional(), + autoAssignCustomDomains: z.boolean().optional(), + automaticAliases: z.array(z.string()).optional(), + buildErrorAt: z.number().optional(), + checksState: ResponseBodyChecksState$outboundSchema.optional(), + checksConclusion: ResponseBodyChecksConclusion$outboundSchema.optional(), + deletedAt: z.nullable(z.number()).optional(), + defaultRoute: z.string().optional(), + canceledAt: z.number().optional(), + errorCode: z.string().optional(), + errorLink: z.string().optional(), + errorMessage: z.nullable(z.string()).optional(), + errorStep: z.string().optional(), + passiveRegions: z.array(z.string()).optional(), + gitSource: z.union([ + z.lazy(() => GetDeploymentGitSourceDeployments6$outboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments8$outboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments1$outboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments3$outboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments2$outboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments4$outboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments5$outboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments7$outboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments9$outboundSchema), + ]).optional(), + meta: z.record(z.string()), + originCacheRegion: z.string().optional(), + project: z.lazy(() => ResponseBodyProject$outboundSchema).optional(), + readySubstate: ResponseBodyReadySubstate$outboundSchema.optional(), + regions: z.array(z.string()), + softDeletedByRetention: z.boolean().optional(), + source: ResponseBodySource$outboundSchema.optional(), + target: z.nullable(ResponseBodyTarget$outboundSchema).optional(), + undeletedAt: z.number().optional(), + url: z.string(), + version: z.number(), + oidcTokenClaims: z.lazy(() => ResponseBodyOidcTokenClaims$outboundSchema) + .optional(), + projectId: z.string(), + plan: ResponseBodyPlan$outboundSchema, + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdIn: z.string(), + crons: z.array(z.lazy(() => ResponseBodyCrons$outboundSchema)).optional(), + functions: z.nullable( + z.record(z.lazy(() => ResponseBodyFunctions$outboundSchema)), + ).optional(), + monorepoManager: z.nullable(z.string()).optional(), + ownerId: z.string(), + passiveConnectConfigurationId: z.string().optional(), + routes: z.nullable( + z.array(z.union([ + z.lazy(() => GetDeploymentRoutes3$outboundSchema), + z.lazy(() => + GetDeploymentRoutes2$outboundSchema + ), + z.lazy(() => GetDeploymentRoutes1$outboundSchema), + ])), + ), + gitRepo: z.nullable( + z.union([ + z.lazy(() => GetDeploymentGitRepo1$outboundSchema), + z.lazy(() => GetDeploymentGitRepo2$outboundSchema), + z.lazy(() => GetDeploymentGitRepo3$outboundSchema), + ]), + ).optional(), + flags: z.union([ + z.lazy(() => GetDeploymentFlags1$outboundSchema), + z.array(z.lazy(() => GetDeploymentFlags2$outboundSchema)), + ]).optional(), + microfrontends: z.union([ + z.lazy(() => GetDeploymentMicrofrontends1$outboundSchema), + z.lazy(() => GetDeploymentMicrofrontends2$outboundSchema), + ]).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBody1$ { + /** @deprecated use `GetDeploymentResponseBody1$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentResponseBody1$inboundSchema; + /** @deprecated use `GetDeploymentResponseBody1$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentResponseBody1$outboundSchema; + /** @deprecated use `GetDeploymentResponseBody1$Outbound` instead. */ + export type Outbound = GetDeploymentResponseBody1$Outbound; +} + +export function getDeploymentResponseBody1ToJSON( + getDeploymentResponseBody1: GetDeploymentResponseBody1, +): string { + return JSON.stringify( + GetDeploymentResponseBody1$outboundSchema.parse(getDeploymentResponseBody1), + ); +} + +export function getDeploymentResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentResponseBody$inboundSchema: z.ZodType< + GetDeploymentResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDeploymentResponseBody2$inboundSchema), + z.lazy(() => GetDeploymentResponseBody1$inboundSchema), +]); + +/** @internal */ +export type GetDeploymentResponseBody$Outbound = + | GetDeploymentResponseBody2$Outbound + | GetDeploymentResponseBody1$Outbound; + +/** @internal */ +export const GetDeploymentResponseBody$outboundSchema: z.ZodType< + GetDeploymentResponseBody$Outbound, + z.ZodTypeDef, + GetDeploymentResponseBody +> = z.union([ + z.lazy(() => GetDeploymentResponseBody2$outboundSchema), + z.lazy(() => GetDeploymentResponseBody1$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentResponseBody$ { + /** @deprecated use `GetDeploymentResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentResponseBody$inboundSchema; + /** @deprecated use `GetDeploymentResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentResponseBody$outboundSchema; + /** @deprecated use `GetDeploymentResponseBody$Outbound` instead. */ + export type Outbound = GetDeploymentResponseBody$Outbound; +} + +export function getDeploymentResponseBodyToJSON( + getDeploymentResponseBody: GetDeploymentResponseBody, +): string { + return JSON.stringify( + GetDeploymentResponseBody$outboundSchema.parse(getDeploymentResponseBody), + ); +} + +export function getDeploymentResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentResponseBody' from JSON`, + ); +} diff --git a/src/models/getdeploymentsop.ts b/src/models/getdeploymentsop.ts new file mode 100644 index 00000000..44056ee8 --- /dev/null +++ b/src/models/getdeploymentsop.ts @@ -0,0 +1,1537 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + Pagination, + Pagination$inboundSchema, + Pagination$Outbound, + Pagination$outboundSchema, +} from "./pagination.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetDeploymentsRequest = { + /** + * Name of the deployment. + */ + app?: string | undefined; + /** + * Gets the deployment created after this Date timestamp. (default: current time) + */ + from?: number | undefined; + /** + * Maximum number of deployments to list from a request. + */ + limit?: number | undefined; + /** + * Filter deployments from the given ID or name. + */ + projectId?: string | undefined; + /** + * Filter deployments based on the environment. + */ + target?: string | undefined; + /** + * Gets the deployment created before this Date timestamp. (default: current time) + */ + to?: number | undefined; + /** + * Filter out deployments based on users who have created the deployment. + */ + users?: string | undefined; + /** + * Get Deployments created after this JavaScript timestamp. + */ + since?: number | undefined; + /** + * Get Deployments created before this JavaScript timestamp. + */ + until?: number | undefined; + /** + * Filter deployments based on their state (`BUILDING`, `ERROR`, `INITIALIZING`, `QUEUED`, `READY`, `CANCELED`) + */ + state?: string | undefined; + /** + * Filter deployments based on their rollback candidacy + */ + rollbackCandidate?: boolean | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * The source of the deployment. + */ +export const GetDeploymentsSource = { + ApiTriggerGitDeploy: "api-trigger-git-deploy", + Cli: "cli", + CloneRepo: "clone/repo", + Git: "git", + Import: "import", + ImportRepo: "import/repo", + Redeploy: "redeploy", + V0Web: "v0-web", +} as const; +/** + * The source of the deployment. + */ +export type GetDeploymentsSource = ClosedEnum; + +/** + * In which state is the deployment. + */ +export const GetDeploymentsState = { + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Queued: "QUEUED", + Ready: "READY", + Canceled: "CANCELED", + Deleted: "DELETED", +} as const; +/** + * In which state is the deployment. + */ +export type GetDeploymentsState = ClosedEnum; + +/** + * In which state is the deployment. + */ +export const GetDeploymentsReadyState = { + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Queued: "QUEUED", + Ready: "READY", + Canceled: "CANCELED", + Deleted: "DELETED", +} as const; +/** + * In which state is the deployment. + */ +export type GetDeploymentsReadyState = ClosedEnum< + typeof GetDeploymentsReadyState +>; + +/** + * The type of the deployment. + */ +export const GetDeploymentsType = { + Lambdas: "LAMBDAS", +} as const; +/** + * The type of the deployment. + */ +export type GetDeploymentsType = ClosedEnum; + +/** + * Metadata information of the user who created the deployment. + */ +export type GetDeploymentsCreator = { + /** + * The unique identifier of the user. + */ + uid: string; + /** + * The email address of the user. + */ + email?: string | undefined; + /** + * The username of the user. + */ + username?: string | undefined; + /** + * The GitHub login of the user. + */ + githubLogin?: string | undefined; + /** + * The GitLab login of the user. + */ + gitlabLogin?: string | undefined; +}; + +/** + * On which environment has the deployment been deployed to. + */ +export const GetDeploymentsTarget = { + Production: "production", + Staging: "staging", +} as const; +/** + * On which environment has the deployment been deployed to. + */ +export type GetDeploymentsTarget = ClosedEnum; + +/** + * An error object in case aliasing of the deployment failed. + */ +export type GetDeploymentsAliasError = { + code: string; + message: string; +}; + +export type GetDeploymentsAliasAssigned = number | boolean; + +/** + * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic + */ +export const GetDeploymentsReadySubstate = { + Staged: "STAGED", + Promoted: "PROMOTED", +} as const; +/** + * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic + */ +export type GetDeploymentsReadySubstate = ClosedEnum< + typeof GetDeploymentsReadySubstate +>; + +/** + * State of all registered checks + */ +export const GetDeploymentsChecksState = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +/** + * State of all registered checks + */ +export type GetDeploymentsChecksState = ClosedEnum< + typeof GetDeploymentsChecksState +>; + +/** + * Conclusion for checks + */ +export const GetDeploymentsChecksConclusion = { + Succeeded: "succeeded", + Failed: "failed", + Skipped: "skipped", + Canceled: "canceled", +} as const; +/** + * Conclusion for checks + */ +export type GetDeploymentsChecksConclusion = ClosedEnum< + typeof GetDeploymentsChecksConclusion +>; + +export const GetDeploymentsFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + Astro: "astro", + Hexo: "hexo", + Eleventy: "eleventy", + Docusaurus2: "docusaurus-2", + Docusaurus: "docusaurus", + Preact: "preact", + Solidstart1: "solidstart-1", + Solidstart: "solidstart", + Dojo: "dojo", + Ember: "ember", + Vue: "vue", + Scully: "scully", + IonicAngular: "ionic-angular", + Angular: "angular", + Polymer: "polymer", + Svelte: "svelte", + Sveltekit: "sveltekit", + Sveltekit1: "sveltekit-1", + IonicReact: "ionic-react", + CreateReactApp: "create-react-app", + Gridsome: "gridsome", + Umijs: "umijs", + Sapper: "sapper", + Saber: "saber", + Stencil: "stencil", + Nuxtjs: "nuxtjs", + Redwoodjs: "redwoodjs", + Hugo: "hugo", + Jekyll: "jekyll", + Brunch: "brunch", + Middleman: "middleman", + Zola: "zola", + Hydrogen: "hydrogen", + Vite: "vite", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", +} as const; +export type GetDeploymentsFramework = ClosedEnum< + typeof GetDeploymentsFramework +>; + +export const GetDeploymentsNodeVersion = { + TwentyTwoX: "22.x", + TwentyX: "20.x", + EighteenX: "18.x", + SixteenX: "16.x", + FourteenX: "14.x", + TwelveX: "12.x", + TenX: "10.x", + Eight10X: "8.10.x", +} as const; +export type GetDeploymentsNodeVersion = ClosedEnum< + typeof GetDeploymentsNodeVersion +>; + +export type GetDeploymentsSpeedInsights = { + id: string; + enabledAt?: number | undefined; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + hasData?: boolean | undefined; + paidAt?: number | undefined; +}; + +export type GetDeploymentsWebAnalytics = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; +}; + +/** + * Since June '23 + */ +export type GetDeploymentsGitComments = { + /** + * Whether the Vercel bot should comment on PRs + */ + onPullRequest: boolean; + /** + * Whether the Vercel bot should comment on commits + */ + onCommit: boolean; +}; + +/** + * The project settings which was used for this deployment + */ +export type GetDeploymentsProjectSettings = { + framework?: GetDeploymentsFramework | null | undefined; + gitForkProtection?: boolean | undefined; + customerSupportCodeVisibility?: boolean | undefined; + gitLFS?: boolean | undefined; + devCommand?: string | null | undefined; + installCommand?: string | null | undefined; + buildCommand?: string | null | undefined; + nodeVersion?: GetDeploymentsNodeVersion | undefined; + outputDirectory?: string | null | undefined; + publicSource?: boolean | null | undefined; + rootDirectory?: string | null | undefined; + serverlessFunctionRegion?: string | null | undefined; + sourceFilesOutsideRootDirectory?: boolean | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + createdAt?: number | undefined; + speedInsights?: GetDeploymentsSpeedInsights | undefined; + webAnalytics?: GetDeploymentsWebAnalytics | undefined; + skipGitConnectDuringLink?: boolean | undefined; + /** + * Since June '23 + */ + gitComments?: GetDeploymentsGitComments | undefined; +}; + +/** + * The custom environment used for this deployment, if any + */ +export type GetDeploymentsCustomEnvironment = { + id: string; + slug?: string | undefined; +}; + +export type Deployments = { + /** + * The unique identifier of the deployment. + */ + uid: string; + /** + * The name of the deployment. + */ + name: string; + /** + * The URL of the deployment. + */ + url: string; + /** + * Timestamp of when the deployment got created. + */ + created: number; + /** + * Timestamp of when the deployment got deleted. + */ + deleted?: number | undefined; + /** + * Timestamp of when the deployment was undeleted. + */ + undeleted?: number | undefined; + /** + * Optional flag to indicate if the deployment was soft deleted by retention policy. + */ + softDeletedByRetention?: boolean | undefined; + /** + * The source of the deployment. + */ + source?: GetDeploymentsSource | undefined; + /** + * In which state is the deployment. + */ + state?: GetDeploymentsState | undefined; + /** + * In which state is the deployment. + */ + readyState?: GetDeploymentsReadyState | undefined; + /** + * The type of the deployment. + */ + type: GetDeploymentsType; + /** + * Metadata information of the user who created the deployment. + */ + creator: GetDeploymentsCreator; + /** + * Metadata information from the Git provider. + */ + meta?: { [k: string]: string } | undefined; + /** + * On which environment has the deployment been deployed to. + */ + target?: GetDeploymentsTarget | null | undefined; + /** + * An error object in case aliasing of the deployment failed. + */ + aliasError?: GetDeploymentsAliasError | null | undefined; + aliasAssigned?: number | boolean | null | undefined; + /** + * Timestamp of when the deployment got created. + */ + createdAt?: number | undefined; + /** + * Timestamp of when the deployment started building at. + */ + buildingAt?: number | undefined; + /** + * Timestamp of when the deployment got ready. + */ + ready?: number | undefined; + /** + * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic + */ + readySubstate?: GetDeploymentsReadySubstate | undefined; + /** + * State of all registered checks + */ + checksState?: GetDeploymentsChecksState | undefined; + /** + * Conclusion for checks + */ + checksConclusion?: GetDeploymentsChecksConclusion | undefined; + /** + * Vercel URL to inspect the deployment. + */ + inspectorUrl: string | null; + /** + * Deployment can be used for instant rollback + */ + isRollbackCandidate?: boolean | null | undefined; + /** + * The project settings which was used for this deployment + */ + projectSettings?: GetDeploymentsProjectSettings | undefined; + /** + * The flag saying if Secure Compute network is used for builds + */ + connectBuildsEnabled?: boolean | undefined; + /** + * The ID of Secure Compute network used for this deployment + */ + connectConfigurationId?: string | undefined; + /** + * The ID of Secure Compute network used for this deployment's passive functions + */ + passiveConnectConfigurationId?: string | undefined; + /** + * The expiration configured by the project retention policy + */ + expiration?: number | undefined; + /** + * The expiration proposed to replace the existing expiration + */ + proposedExpiration?: number | undefined; + /** + * The custom environment used for this deployment, if any + */ + customEnvironment?: GetDeploymentsCustomEnvironment | undefined; +}; + +export type GetDeploymentsResponseBody = { + /** + * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. + */ + pagination: Pagination; + deployments: Array; +}; + +/** @internal */ +export const GetDeploymentsRequest$inboundSchema: z.ZodType< + GetDeploymentsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + app: z.string().optional(), + from: z.number().optional(), + limit: z.number().optional(), + projectId: z.string().optional(), + target: z.string().optional(), + to: z.number().optional(), + users: z.string().optional(), + since: z.number().optional(), + until: z.number().optional(), + state: z.string().optional(), + rollbackCandidate: z.boolean().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentsRequest$Outbound = { + app?: string | undefined; + from?: number | undefined; + limit?: number | undefined; + projectId?: string | undefined; + target?: string | undefined; + to?: number | undefined; + users?: string | undefined; + since?: number | undefined; + until?: number | undefined; + state?: string | undefined; + rollbackCandidate?: boolean | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentsRequest$outboundSchema: z.ZodType< + GetDeploymentsRequest$Outbound, + z.ZodTypeDef, + GetDeploymentsRequest +> = z.object({ + app: z.string().optional(), + from: z.number().optional(), + limit: z.number().optional(), + projectId: z.string().optional(), + target: z.string().optional(), + to: z.number().optional(), + users: z.string().optional(), + since: z.number().optional(), + until: z.number().optional(), + state: z.string().optional(), + rollbackCandidate: z.boolean().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsRequest$ { + /** @deprecated use `GetDeploymentsRequest$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsRequest$inboundSchema; + /** @deprecated use `GetDeploymentsRequest$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsRequest$outboundSchema; + /** @deprecated use `GetDeploymentsRequest$Outbound` instead. */ + export type Outbound = GetDeploymentsRequest$Outbound; +} + +export function getDeploymentsRequestToJSON( + getDeploymentsRequest: GetDeploymentsRequest, +): string { + return JSON.stringify( + GetDeploymentsRequest$outboundSchema.parse(getDeploymentsRequest), + ); +} + +export function getDeploymentsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentsRequest' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentsSource$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsSource +> = z.nativeEnum(GetDeploymentsSource); + +/** @internal */ +export const GetDeploymentsSource$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsSource +> = GetDeploymentsSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsSource$ { + /** @deprecated use `GetDeploymentsSource$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsSource$inboundSchema; + /** @deprecated use `GetDeploymentsSource$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsSource$outboundSchema; +} + +/** @internal */ +export const GetDeploymentsState$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsState +> = z.nativeEnum(GetDeploymentsState); + +/** @internal */ +export const GetDeploymentsState$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsState +> = GetDeploymentsState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsState$ { + /** @deprecated use `GetDeploymentsState$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsState$inboundSchema; + /** @deprecated use `GetDeploymentsState$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsState$outboundSchema; +} + +/** @internal */ +export const GetDeploymentsReadyState$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsReadyState +> = z.nativeEnum(GetDeploymentsReadyState); + +/** @internal */ +export const GetDeploymentsReadyState$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsReadyState +> = GetDeploymentsReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsReadyState$ { + /** @deprecated use `GetDeploymentsReadyState$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsReadyState$inboundSchema; + /** @deprecated use `GetDeploymentsReadyState$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsReadyState$outboundSchema; +} + +/** @internal */ +export const GetDeploymentsType$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsType +> = z.nativeEnum(GetDeploymentsType); + +/** @internal */ +export const GetDeploymentsType$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsType +> = GetDeploymentsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsType$ { + /** @deprecated use `GetDeploymentsType$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsType$inboundSchema; + /** @deprecated use `GetDeploymentsType$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsType$outboundSchema; +} + +/** @internal */ +export const GetDeploymentsCreator$inboundSchema: z.ZodType< + GetDeploymentsCreator, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + email: z.string().optional(), + username: z.string().optional(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentsCreator$Outbound = { + uid: string; + email?: string | undefined; + username?: string | undefined; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentsCreator$outboundSchema: z.ZodType< + GetDeploymentsCreator$Outbound, + z.ZodTypeDef, + GetDeploymentsCreator +> = z.object({ + uid: z.string(), + email: z.string().optional(), + username: z.string().optional(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsCreator$ { + /** @deprecated use `GetDeploymentsCreator$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsCreator$inboundSchema; + /** @deprecated use `GetDeploymentsCreator$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsCreator$outboundSchema; + /** @deprecated use `GetDeploymentsCreator$Outbound` instead. */ + export type Outbound = GetDeploymentsCreator$Outbound; +} + +export function getDeploymentsCreatorToJSON( + getDeploymentsCreator: GetDeploymentsCreator, +): string { + return JSON.stringify( + GetDeploymentsCreator$outboundSchema.parse(getDeploymentsCreator), + ); +} + +export function getDeploymentsCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentsCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentsCreator' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentsTarget$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsTarget +> = z.nativeEnum(GetDeploymentsTarget); + +/** @internal */ +export const GetDeploymentsTarget$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsTarget +> = GetDeploymentsTarget$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsTarget$ { + /** @deprecated use `GetDeploymentsTarget$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsTarget$inboundSchema; + /** @deprecated use `GetDeploymentsTarget$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsTarget$outboundSchema; +} + +/** @internal */ +export const GetDeploymentsAliasError$inboundSchema: z.ZodType< + GetDeploymentsAliasError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** @internal */ +export type GetDeploymentsAliasError$Outbound = { + code: string; + message: string; +}; + +/** @internal */ +export const GetDeploymentsAliasError$outboundSchema: z.ZodType< + GetDeploymentsAliasError$Outbound, + z.ZodTypeDef, + GetDeploymentsAliasError +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsAliasError$ { + /** @deprecated use `GetDeploymentsAliasError$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsAliasError$inboundSchema; + /** @deprecated use `GetDeploymentsAliasError$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsAliasError$outboundSchema; + /** @deprecated use `GetDeploymentsAliasError$Outbound` instead. */ + export type Outbound = GetDeploymentsAliasError$Outbound; +} + +export function getDeploymentsAliasErrorToJSON( + getDeploymentsAliasError: GetDeploymentsAliasError, +): string { + return JSON.stringify( + GetDeploymentsAliasError$outboundSchema.parse(getDeploymentsAliasError), + ); +} + +export function getDeploymentsAliasErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentsAliasError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentsAliasError' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentsAliasAssigned$inboundSchema: z.ZodType< + GetDeploymentsAliasAssigned, + z.ZodTypeDef, + unknown +> = z.union([z.number(), z.boolean()]); + +/** @internal */ +export type GetDeploymentsAliasAssigned$Outbound = number | boolean; + +/** @internal */ +export const GetDeploymentsAliasAssigned$outboundSchema: z.ZodType< + GetDeploymentsAliasAssigned$Outbound, + z.ZodTypeDef, + GetDeploymentsAliasAssigned +> = z.union([z.number(), z.boolean()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsAliasAssigned$ { + /** @deprecated use `GetDeploymentsAliasAssigned$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsAliasAssigned$inboundSchema; + /** @deprecated use `GetDeploymentsAliasAssigned$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsAliasAssigned$outboundSchema; + /** @deprecated use `GetDeploymentsAliasAssigned$Outbound` instead. */ + export type Outbound = GetDeploymentsAliasAssigned$Outbound; +} + +export function getDeploymentsAliasAssignedToJSON( + getDeploymentsAliasAssigned: GetDeploymentsAliasAssigned, +): string { + return JSON.stringify( + GetDeploymentsAliasAssigned$outboundSchema.parse( + getDeploymentsAliasAssigned, + ), + ); +} + +export function getDeploymentsAliasAssignedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentsAliasAssigned$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentsAliasAssigned' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentsReadySubstate$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsReadySubstate +> = z.nativeEnum(GetDeploymentsReadySubstate); + +/** @internal */ +export const GetDeploymentsReadySubstate$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsReadySubstate +> = GetDeploymentsReadySubstate$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsReadySubstate$ { + /** @deprecated use `GetDeploymentsReadySubstate$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsReadySubstate$inboundSchema; + /** @deprecated use `GetDeploymentsReadySubstate$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsReadySubstate$outboundSchema; +} + +/** @internal */ +export const GetDeploymentsChecksState$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsChecksState +> = z.nativeEnum(GetDeploymentsChecksState); + +/** @internal */ +export const GetDeploymentsChecksState$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsChecksState +> = GetDeploymentsChecksState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsChecksState$ { + /** @deprecated use `GetDeploymentsChecksState$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsChecksState$inboundSchema; + /** @deprecated use `GetDeploymentsChecksState$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsChecksState$outboundSchema; +} + +/** @internal */ +export const GetDeploymentsChecksConclusion$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsChecksConclusion +> = z.nativeEnum(GetDeploymentsChecksConclusion); + +/** @internal */ +export const GetDeploymentsChecksConclusion$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsChecksConclusion +> = GetDeploymentsChecksConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsChecksConclusion$ { + /** @deprecated use `GetDeploymentsChecksConclusion$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsChecksConclusion$inboundSchema; + /** @deprecated use `GetDeploymentsChecksConclusion$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsChecksConclusion$outboundSchema; +} + +/** @internal */ +export const GetDeploymentsFramework$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsFramework +> = z.nativeEnum(GetDeploymentsFramework); + +/** @internal */ +export const GetDeploymentsFramework$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsFramework +> = GetDeploymentsFramework$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsFramework$ { + /** @deprecated use `GetDeploymentsFramework$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsFramework$inboundSchema; + /** @deprecated use `GetDeploymentsFramework$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsFramework$outboundSchema; +} + +/** @internal */ +export const GetDeploymentsNodeVersion$inboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsNodeVersion +> = z.nativeEnum(GetDeploymentsNodeVersion); + +/** @internal */ +export const GetDeploymentsNodeVersion$outboundSchema: z.ZodNativeEnum< + typeof GetDeploymentsNodeVersion +> = GetDeploymentsNodeVersion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsNodeVersion$ { + /** @deprecated use `GetDeploymentsNodeVersion$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsNodeVersion$inboundSchema; + /** @deprecated use `GetDeploymentsNodeVersion$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsNodeVersion$outboundSchema; +} + +/** @internal */ +export const GetDeploymentsSpeedInsights$inboundSchema: z.ZodType< + GetDeploymentsSpeedInsights, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + enabledAt: z.number().optional(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + hasData: z.boolean().optional(), + paidAt: z.number().optional(), +}); + +/** @internal */ +export type GetDeploymentsSpeedInsights$Outbound = { + id: string; + enabledAt?: number | undefined; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + hasData?: boolean | undefined; + paidAt?: number | undefined; +}; + +/** @internal */ +export const GetDeploymentsSpeedInsights$outboundSchema: z.ZodType< + GetDeploymentsSpeedInsights$Outbound, + z.ZodTypeDef, + GetDeploymentsSpeedInsights +> = z.object({ + id: z.string(), + enabledAt: z.number().optional(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + hasData: z.boolean().optional(), + paidAt: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsSpeedInsights$ { + /** @deprecated use `GetDeploymentsSpeedInsights$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsSpeedInsights$inboundSchema; + /** @deprecated use `GetDeploymentsSpeedInsights$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsSpeedInsights$outboundSchema; + /** @deprecated use `GetDeploymentsSpeedInsights$Outbound` instead. */ + export type Outbound = GetDeploymentsSpeedInsights$Outbound; +} + +export function getDeploymentsSpeedInsightsToJSON( + getDeploymentsSpeedInsights: GetDeploymentsSpeedInsights, +): string { + return JSON.stringify( + GetDeploymentsSpeedInsights$outboundSchema.parse( + getDeploymentsSpeedInsights, + ), + ); +} + +export function getDeploymentsSpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentsSpeedInsights$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentsSpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentsWebAnalytics$inboundSchema: z.ZodType< + GetDeploymentsWebAnalytics, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), +}); + +/** @internal */ +export type GetDeploymentsWebAnalytics$Outbound = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; +}; + +/** @internal */ +export const GetDeploymentsWebAnalytics$outboundSchema: z.ZodType< + GetDeploymentsWebAnalytics$Outbound, + z.ZodTypeDef, + GetDeploymentsWebAnalytics +> = z.object({ + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsWebAnalytics$ { + /** @deprecated use `GetDeploymentsWebAnalytics$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsWebAnalytics$inboundSchema; + /** @deprecated use `GetDeploymentsWebAnalytics$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsWebAnalytics$outboundSchema; + /** @deprecated use `GetDeploymentsWebAnalytics$Outbound` instead. */ + export type Outbound = GetDeploymentsWebAnalytics$Outbound; +} + +export function getDeploymentsWebAnalyticsToJSON( + getDeploymentsWebAnalytics: GetDeploymentsWebAnalytics, +): string { + return JSON.stringify( + GetDeploymentsWebAnalytics$outboundSchema.parse(getDeploymentsWebAnalytics), + ); +} + +export function getDeploymentsWebAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentsWebAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentsWebAnalytics' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentsGitComments$inboundSchema: z.ZodType< + GetDeploymentsGitComments, + z.ZodTypeDef, + unknown +> = z.object({ + onPullRequest: z.boolean(), + onCommit: z.boolean(), +}); + +/** @internal */ +export type GetDeploymentsGitComments$Outbound = { + onPullRequest: boolean; + onCommit: boolean; +}; + +/** @internal */ +export const GetDeploymentsGitComments$outboundSchema: z.ZodType< + GetDeploymentsGitComments$Outbound, + z.ZodTypeDef, + GetDeploymentsGitComments +> = z.object({ + onPullRequest: z.boolean(), + onCommit: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsGitComments$ { + /** @deprecated use `GetDeploymentsGitComments$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsGitComments$inboundSchema; + /** @deprecated use `GetDeploymentsGitComments$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsGitComments$outboundSchema; + /** @deprecated use `GetDeploymentsGitComments$Outbound` instead. */ + export type Outbound = GetDeploymentsGitComments$Outbound; +} + +export function getDeploymentsGitCommentsToJSON( + getDeploymentsGitComments: GetDeploymentsGitComments, +): string { + return JSON.stringify( + GetDeploymentsGitComments$outboundSchema.parse(getDeploymentsGitComments), + ); +} + +export function getDeploymentsGitCommentsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentsGitComments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentsGitComments' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentsProjectSettings$inboundSchema: z.ZodType< + GetDeploymentsProjectSettings, + z.ZodTypeDef, + unknown +> = z.object({ + framework: z.nullable(GetDeploymentsFramework$inboundSchema).optional(), + gitForkProtection: z.boolean().optional(), + customerSupportCodeVisibility: z.boolean().optional(), + gitLFS: z.boolean().optional(), + devCommand: z.nullable(z.string()).optional(), + installCommand: z.nullable(z.string()).optional(), + buildCommand: z.nullable(z.string()).optional(), + nodeVersion: GetDeploymentsNodeVersion$inboundSchema.optional(), + outputDirectory: z.nullable(z.string()).optional(), + publicSource: z.nullable(z.boolean()).optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + sourceFilesOutsideRootDirectory: z.boolean().optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + speedInsights: z.lazy(() => GetDeploymentsSpeedInsights$inboundSchema) + .optional(), + webAnalytics: z.lazy(() => GetDeploymentsWebAnalytics$inboundSchema) + .optional(), + skipGitConnectDuringLink: z.boolean().optional(), + gitComments: z.lazy(() => GetDeploymentsGitComments$inboundSchema).optional(), +}); + +/** @internal */ +export type GetDeploymentsProjectSettings$Outbound = { + framework?: string | null | undefined; + gitForkProtection?: boolean | undefined; + customerSupportCodeVisibility?: boolean | undefined; + gitLFS?: boolean | undefined; + devCommand?: string | null | undefined; + installCommand?: string | null | undefined; + buildCommand?: string | null | undefined; + nodeVersion?: string | undefined; + outputDirectory?: string | null | undefined; + publicSource?: boolean | null | undefined; + rootDirectory?: string | null | undefined; + serverlessFunctionRegion?: string | null | undefined; + sourceFilesOutsideRootDirectory?: boolean | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + createdAt?: number | undefined; + speedInsights?: GetDeploymentsSpeedInsights$Outbound | undefined; + webAnalytics?: GetDeploymentsWebAnalytics$Outbound | undefined; + skipGitConnectDuringLink?: boolean | undefined; + gitComments?: GetDeploymentsGitComments$Outbound | undefined; +}; + +/** @internal */ +export const GetDeploymentsProjectSettings$outboundSchema: z.ZodType< + GetDeploymentsProjectSettings$Outbound, + z.ZodTypeDef, + GetDeploymentsProjectSettings +> = z.object({ + framework: z.nullable(GetDeploymentsFramework$outboundSchema).optional(), + gitForkProtection: z.boolean().optional(), + customerSupportCodeVisibility: z.boolean().optional(), + gitLFS: z.boolean().optional(), + devCommand: z.nullable(z.string()).optional(), + installCommand: z.nullable(z.string()).optional(), + buildCommand: z.nullable(z.string()).optional(), + nodeVersion: GetDeploymentsNodeVersion$outboundSchema.optional(), + outputDirectory: z.nullable(z.string()).optional(), + publicSource: z.nullable(z.boolean()).optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + sourceFilesOutsideRootDirectory: z.boolean().optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + speedInsights: z.lazy(() => GetDeploymentsSpeedInsights$outboundSchema) + .optional(), + webAnalytics: z.lazy(() => GetDeploymentsWebAnalytics$outboundSchema) + .optional(), + skipGitConnectDuringLink: z.boolean().optional(), + gitComments: z.lazy(() => GetDeploymentsGitComments$outboundSchema) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsProjectSettings$ { + /** @deprecated use `GetDeploymentsProjectSettings$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsProjectSettings$inboundSchema; + /** @deprecated use `GetDeploymentsProjectSettings$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsProjectSettings$outboundSchema; + /** @deprecated use `GetDeploymentsProjectSettings$Outbound` instead. */ + export type Outbound = GetDeploymentsProjectSettings$Outbound; +} + +export function getDeploymentsProjectSettingsToJSON( + getDeploymentsProjectSettings: GetDeploymentsProjectSettings, +): string { + return JSON.stringify( + GetDeploymentsProjectSettings$outboundSchema.parse( + getDeploymentsProjectSettings, + ), + ); +} + +export function getDeploymentsProjectSettingsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentsProjectSettings$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentsProjectSettings' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentsCustomEnvironment$inboundSchema: z.ZodType< + GetDeploymentsCustomEnvironment, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetDeploymentsCustomEnvironment$Outbound = { + id: string; + slug?: string | undefined; +}; + +/** @internal */ +export const GetDeploymentsCustomEnvironment$outboundSchema: z.ZodType< + GetDeploymentsCustomEnvironment$Outbound, + z.ZodTypeDef, + GetDeploymentsCustomEnvironment +> = z.object({ + id: z.string(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsCustomEnvironment$ { + /** @deprecated use `GetDeploymentsCustomEnvironment$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsCustomEnvironment$inboundSchema; + /** @deprecated use `GetDeploymentsCustomEnvironment$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsCustomEnvironment$outboundSchema; + /** @deprecated use `GetDeploymentsCustomEnvironment$Outbound` instead. */ + export type Outbound = GetDeploymentsCustomEnvironment$Outbound; +} + +export function getDeploymentsCustomEnvironmentToJSON( + getDeploymentsCustomEnvironment: GetDeploymentsCustomEnvironment, +): string { + return JSON.stringify( + GetDeploymentsCustomEnvironment$outboundSchema.parse( + getDeploymentsCustomEnvironment, + ), + ); +} + +export function getDeploymentsCustomEnvironmentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentsCustomEnvironment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentsCustomEnvironment' from JSON`, + ); +} + +/** @internal */ +export const Deployments$inboundSchema: z.ZodType< + Deployments, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + name: z.string(), + url: z.string(), + created: z.number(), + deleted: z.number().optional(), + undeleted: z.number().optional(), + softDeletedByRetention: z.boolean().optional(), + source: GetDeploymentsSource$inboundSchema.optional(), + state: GetDeploymentsState$inboundSchema.optional(), + readyState: GetDeploymentsReadyState$inboundSchema.optional(), + type: GetDeploymentsType$inboundSchema, + creator: z.lazy(() => GetDeploymentsCreator$inboundSchema), + meta: z.record(z.string()).optional(), + target: z.nullable(GetDeploymentsTarget$inboundSchema).optional(), + aliasError: z.nullable(z.lazy(() => GetDeploymentsAliasError$inboundSchema)) + .optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + createdAt: z.number().optional(), + buildingAt: z.number().optional(), + ready: z.number().optional(), + readySubstate: GetDeploymentsReadySubstate$inboundSchema.optional(), + checksState: GetDeploymentsChecksState$inboundSchema.optional(), + checksConclusion: GetDeploymentsChecksConclusion$inboundSchema.optional(), + inspectorUrl: z.nullable(z.string()), + isRollbackCandidate: z.nullable(z.boolean()).optional(), + projectSettings: z.lazy(() => GetDeploymentsProjectSettings$inboundSchema) + .optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + passiveConnectConfigurationId: z.string().optional(), + expiration: z.number().optional(), + proposedExpiration: z.number().optional(), + customEnvironment: z.lazy(() => GetDeploymentsCustomEnvironment$inboundSchema) + .optional(), +}); + +/** @internal */ +export type Deployments$Outbound = { + uid: string; + name: string; + url: string; + created: number; + deleted?: number | undefined; + undeleted?: number | undefined; + softDeletedByRetention?: boolean | undefined; + source?: string | undefined; + state?: string | undefined; + readyState?: string | undefined; + type: string; + creator: GetDeploymentsCreator$Outbound; + meta?: { [k: string]: string } | undefined; + target?: string | null | undefined; + aliasError?: GetDeploymentsAliasError$Outbound | null | undefined; + aliasAssigned?: number | boolean | null | undefined; + createdAt?: number | undefined; + buildingAt?: number | undefined; + ready?: number | undefined; + readySubstate?: string | undefined; + checksState?: string | undefined; + checksConclusion?: string | undefined; + inspectorUrl: string | null; + isRollbackCandidate?: boolean | null | undefined; + projectSettings?: GetDeploymentsProjectSettings$Outbound | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + passiveConnectConfigurationId?: string | undefined; + expiration?: number | undefined; + proposedExpiration?: number | undefined; + customEnvironment?: GetDeploymentsCustomEnvironment$Outbound | undefined; +}; + +/** @internal */ +export const Deployments$outboundSchema: z.ZodType< + Deployments$Outbound, + z.ZodTypeDef, + Deployments +> = z.object({ + uid: z.string(), + name: z.string(), + url: z.string(), + created: z.number(), + deleted: z.number().optional(), + undeleted: z.number().optional(), + softDeletedByRetention: z.boolean().optional(), + source: GetDeploymentsSource$outboundSchema.optional(), + state: GetDeploymentsState$outboundSchema.optional(), + readyState: GetDeploymentsReadyState$outboundSchema.optional(), + type: GetDeploymentsType$outboundSchema, + creator: z.lazy(() => GetDeploymentsCreator$outboundSchema), + meta: z.record(z.string()).optional(), + target: z.nullable(GetDeploymentsTarget$outboundSchema).optional(), + aliasError: z.nullable(z.lazy(() => GetDeploymentsAliasError$outboundSchema)) + .optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + createdAt: z.number().optional(), + buildingAt: z.number().optional(), + ready: z.number().optional(), + readySubstate: GetDeploymentsReadySubstate$outboundSchema.optional(), + checksState: GetDeploymentsChecksState$outboundSchema.optional(), + checksConclusion: GetDeploymentsChecksConclusion$outboundSchema.optional(), + inspectorUrl: z.nullable(z.string()), + isRollbackCandidate: z.nullable(z.boolean()).optional(), + projectSettings: z.lazy(() => GetDeploymentsProjectSettings$outboundSchema) + .optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + passiveConnectConfigurationId: z.string().optional(), + expiration: z.number().optional(), + proposedExpiration: z.number().optional(), + customEnvironment: z.lazy(() => + GetDeploymentsCustomEnvironment$outboundSchema + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Deployments$ { + /** @deprecated use `Deployments$inboundSchema` instead. */ + export const inboundSchema = Deployments$inboundSchema; + /** @deprecated use `Deployments$outboundSchema` instead. */ + export const outboundSchema = Deployments$outboundSchema; + /** @deprecated use `Deployments$Outbound` instead. */ + export type Outbound = Deployments$Outbound; +} + +export function deploymentsToJSON(deployments: Deployments): string { + return JSON.stringify(Deployments$outboundSchema.parse(deployments)); +} + +export function deploymentsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Deployments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Deployments' from JSON`, + ); +} + +/** @internal */ +export const GetDeploymentsResponseBody$inboundSchema: z.ZodType< + GetDeploymentsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + pagination: Pagination$inboundSchema, + deployments: z.array(z.lazy(() => Deployments$inboundSchema)), +}); + +/** @internal */ +export type GetDeploymentsResponseBody$Outbound = { + pagination: Pagination$Outbound; + deployments: Array; +}; + +/** @internal */ +export const GetDeploymentsResponseBody$outboundSchema: z.ZodType< + GetDeploymentsResponseBody$Outbound, + z.ZodTypeDef, + GetDeploymentsResponseBody +> = z.object({ + pagination: Pagination$outboundSchema, + deployments: z.array(z.lazy(() => Deployments$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDeploymentsResponseBody$ { + /** @deprecated use `GetDeploymentsResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetDeploymentsResponseBody$inboundSchema; + /** @deprecated use `GetDeploymentsResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetDeploymentsResponseBody$outboundSchema; + /** @deprecated use `GetDeploymentsResponseBody$Outbound` instead. */ + export type Outbound = GetDeploymentsResponseBody$Outbound; +} + +export function getDeploymentsResponseBodyToJSON( + getDeploymentsResponseBody: GetDeploymentsResponseBody, +): string { + return JSON.stringify( + GetDeploymentsResponseBody$outboundSchema.parse(getDeploymentsResponseBody), + ); +} + +export function getDeploymentsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDeploymentsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDeploymentsResponseBody' from JSON`, + ); +} diff --git a/src/models/getdomainconfigop.ts b/src/models/getdomainconfigop.ts new file mode 100644 index 00000000..9522bb84 --- /dev/null +++ b/src/models/getdomainconfigop.ts @@ -0,0 +1,265 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain's parent zone. + */ +export const Strict = { + True: "true", + False: "false", +} as const; +/** + * When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain's parent zone. + */ +export type Strict = ClosedEnum; + +export type GetDomainConfigRequest = { + /** + * The name of the domain. + */ + domain: string; + /** + * When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain's parent zone. + */ + strict?: Strict | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to Vercel. - `A`: Domain's A record is resolving to Vercel. - `http`: Domain is resolving to Vercel but may be behind a Proxy. - `dns-01`: Domain is not resolving to Vercel but dns-01 challenge is enabled. - `null`: Domain is not resolving to Vercel. + */ +export const ConfiguredBy = { + Cname: "CNAME", + A: "A", + Http: "http", + Dns01: "dns-01", +} as const; +/** + * How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to Vercel. - `A`: Domain's A record is resolving to Vercel. - `http`: Domain is resolving to Vercel but may be behind a Proxy. - `dns-01`: Domain is not resolving to Vercel but dns-01 challenge is enabled. - `null`: Domain is not resolving to Vercel. + */ +export type ConfiguredBy = ClosedEnum; + +/** + * Which challenge types the domain can use for issuing certs. + */ +export const AcceptedChallenges = { + Dns01: "dns-01", + Http01: "http-01", +} as const; +/** + * Which challenge types the domain can use for issuing certs. + */ +export type AcceptedChallenges = ClosedEnum; + +export type GetDomainConfigResponseBody = { + /** + * How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to Vercel. - `A`: Domain's A record is resolving to Vercel. - `http`: Domain is resolving to Vercel but may be behind a Proxy. - `dns-01`: Domain is not resolving to Vercel but dns-01 challenge is enabled. - `null`: Domain is not resolving to Vercel. + */ + configuredBy?: ConfiguredBy | null | undefined; + /** + * Which challenge types the domain can use for issuing certs. + */ + acceptedChallenges?: Array | undefined; + /** + * Whether or not the domain is configured AND we can automatically generate a TLS certificate. + */ + misconfigured: boolean; +}; + +/** @internal */ +export const Strict$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Strict); + +/** @internal */ +export const Strict$outboundSchema: z.ZodNativeEnum = + Strict$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Strict$ { + /** @deprecated use `Strict$inboundSchema` instead. */ + export const inboundSchema = Strict$inboundSchema; + /** @deprecated use `Strict$outboundSchema` instead. */ + export const outboundSchema = Strict$outboundSchema; +} + +/** @internal */ +export const GetDomainConfigRequest$inboundSchema: z.ZodType< + GetDomainConfigRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + strict: Strict$inboundSchema.optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetDomainConfigRequest$Outbound = { + domain: string; + strict?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetDomainConfigRequest$outboundSchema: z.ZodType< + GetDomainConfigRequest$Outbound, + z.ZodTypeDef, + GetDomainConfigRequest +> = z.object({ + domain: z.string(), + strict: Strict$outboundSchema.optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDomainConfigRequest$ { + /** @deprecated use `GetDomainConfigRequest$inboundSchema` instead. */ + export const inboundSchema = GetDomainConfigRequest$inboundSchema; + /** @deprecated use `GetDomainConfigRequest$outboundSchema` instead. */ + export const outboundSchema = GetDomainConfigRequest$outboundSchema; + /** @deprecated use `GetDomainConfigRequest$Outbound` instead. */ + export type Outbound = GetDomainConfigRequest$Outbound; +} + +export function getDomainConfigRequestToJSON( + getDomainConfigRequest: GetDomainConfigRequest, +): string { + return JSON.stringify( + GetDomainConfigRequest$outboundSchema.parse(getDomainConfigRequest), + ); +} + +export function getDomainConfigRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainConfigRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainConfigRequest' from JSON`, + ); +} + +/** @internal */ +export const ConfiguredBy$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(ConfiguredBy); + +/** @internal */ +export const ConfiguredBy$outboundSchema: z.ZodNativeEnum = + ConfiguredBy$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ConfiguredBy$ { + /** @deprecated use `ConfiguredBy$inboundSchema` instead. */ + export const inboundSchema = ConfiguredBy$inboundSchema; + /** @deprecated use `ConfiguredBy$outboundSchema` instead. */ + export const outboundSchema = ConfiguredBy$outboundSchema; +} + +/** @internal */ +export const AcceptedChallenges$inboundSchema: z.ZodNativeEnum< + typeof AcceptedChallenges +> = z.nativeEnum(AcceptedChallenges); + +/** @internal */ +export const AcceptedChallenges$outboundSchema: z.ZodNativeEnum< + typeof AcceptedChallenges +> = AcceptedChallenges$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AcceptedChallenges$ { + /** @deprecated use `AcceptedChallenges$inboundSchema` instead. */ + export const inboundSchema = AcceptedChallenges$inboundSchema; + /** @deprecated use `AcceptedChallenges$outboundSchema` instead. */ + export const outboundSchema = AcceptedChallenges$outboundSchema; +} + +/** @internal */ +export const GetDomainConfigResponseBody$inboundSchema: z.ZodType< + GetDomainConfigResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + configuredBy: z.nullable(ConfiguredBy$inboundSchema).optional(), + acceptedChallenges: z.array(AcceptedChallenges$inboundSchema).optional(), + misconfigured: z.boolean(), +}); + +/** @internal */ +export type GetDomainConfigResponseBody$Outbound = { + configuredBy?: string | null | undefined; + acceptedChallenges?: Array | undefined; + misconfigured: boolean; +}; + +/** @internal */ +export const GetDomainConfigResponseBody$outboundSchema: z.ZodType< + GetDomainConfigResponseBody$Outbound, + z.ZodTypeDef, + GetDomainConfigResponseBody +> = z.object({ + configuredBy: z.nullable(ConfiguredBy$outboundSchema).optional(), + acceptedChallenges: z.array(AcceptedChallenges$outboundSchema).optional(), + misconfigured: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDomainConfigResponseBody$ { + /** @deprecated use `GetDomainConfigResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetDomainConfigResponseBody$inboundSchema; + /** @deprecated use `GetDomainConfigResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetDomainConfigResponseBody$outboundSchema; + /** @deprecated use `GetDomainConfigResponseBody$Outbound` instead. */ + export type Outbound = GetDomainConfigResponseBody$Outbound; +} + +export function getDomainConfigResponseBodyToJSON( + getDomainConfigResponseBody: GetDomainConfigResponseBody, +): string { + return JSON.stringify( + GetDomainConfigResponseBody$outboundSchema.parse( + getDomainConfigResponseBody, + ), + ); +} + +export function getDomainConfigResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainConfigResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainConfigResponseBody' from JSON`, + ); +} diff --git a/src/models/getdomainop.ts b/src/models/getdomainop.ts new file mode 100644 index 00000000..f9eda8bd --- /dev/null +++ b/src/models/getdomainop.ts @@ -0,0 +1,423 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetDomainRequest = { + /** + * The name of the domain. + */ + domain: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * An object containing information of the domain creator, including the user's id, username, and email. + */ +export type GetDomainCreator = { + username: string; + email: string; + customerId?: string | null | undefined; + isDomainReseller?: boolean | undefined; + id: string; +}; + +/** + * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. + */ +export const ServiceType = { + ZeitWorld: "zeit.world", + External: "external", + Na: "na", +} as const; +/** + * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. + */ +export type ServiceType = ClosedEnum; + +export type GetDomainDomain = { + suffix: boolean; + /** + * If the domain has the ownership verified. + */ + verified: boolean; + /** + * A list of the current nameservers of the domain. + */ + nameservers: Array; + /** + * A list of the intended nameservers for the domain to point to Vercel DNS. + */ + intendedNameservers: Array; + /** + * A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel. + */ + customNameservers?: Array | undefined; + /** + * An object containing information of the domain creator, including the user's id, username, and email. + */ + creator: GetDomainCreator; + teamId: string | null; + userId: string; + /** + * If it was purchased through Vercel, the timestamp in milliseconds when it was purchased. + */ + boughtAt: number | null; + /** + * Timestamp in milliseconds when the domain was created in the registry. + */ + createdAt: number; + /** + * Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel. + */ + expiresAt: number | null; + /** + * The unique identifier of the domain. + */ + id: string; + /** + * The domain name. + */ + name: string; + /** + * Timestamp in milliseconds at which the domain was ordered. + */ + orderedAt?: number | undefined; + /** + * Indicates whether the domain is set to automatically renew. + */ + renew?: boolean | undefined; + /** + * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. + */ + serviceType: ServiceType; + /** + * Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in. + */ + transferredAt?: number | null | undefined; + /** + * If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated. + */ + transferStartedAt?: number | undefined; +}; + +/** + * Successful response retrieving an information for a specific domains. + */ +export type GetDomainResponseBody = { + domain: GetDomainDomain; +}; + +/** @internal */ +export const GetDomainRequest$inboundSchema: z.ZodType< + GetDomainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetDomainRequest$Outbound = { + domain: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetDomainRequest$outboundSchema: z.ZodType< + GetDomainRequest$Outbound, + z.ZodTypeDef, + GetDomainRequest +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDomainRequest$ { + /** @deprecated use `GetDomainRequest$inboundSchema` instead. */ + export const inboundSchema = GetDomainRequest$inboundSchema; + /** @deprecated use `GetDomainRequest$outboundSchema` instead. */ + export const outboundSchema = GetDomainRequest$outboundSchema; + /** @deprecated use `GetDomainRequest$Outbound` instead. */ + export type Outbound = GetDomainRequest$Outbound; +} + +export function getDomainRequestToJSON( + getDomainRequest: GetDomainRequest, +): string { + return JSON.stringify( + GetDomainRequest$outboundSchema.parse(getDomainRequest), + ); +} + +export function getDomainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainRequest' from JSON`, + ); +} + +/** @internal */ +export const GetDomainCreator$inboundSchema: z.ZodType< + GetDomainCreator, + z.ZodTypeDef, + unknown +> = z.object({ + username: z.string(), + email: z.string(), + customerId: z.nullable(z.string()).optional(), + isDomainReseller: z.boolean().optional(), + id: z.string(), +}); + +/** @internal */ +export type GetDomainCreator$Outbound = { + username: string; + email: string; + customerId?: string | null | undefined; + isDomainReseller?: boolean | undefined; + id: string; +}; + +/** @internal */ +export const GetDomainCreator$outboundSchema: z.ZodType< + GetDomainCreator$Outbound, + z.ZodTypeDef, + GetDomainCreator +> = z.object({ + username: z.string(), + email: z.string(), + customerId: z.nullable(z.string()).optional(), + isDomainReseller: z.boolean().optional(), + id: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDomainCreator$ { + /** @deprecated use `GetDomainCreator$inboundSchema` instead. */ + export const inboundSchema = GetDomainCreator$inboundSchema; + /** @deprecated use `GetDomainCreator$outboundSchema` instead. */ + export const outboundSchema = GetDomainCreator$outboundSchema; + /** @deprecated use `GetDomainCreator$Outbound` instead. */ + export type Outbound = GetDomainCreator$Outbound; +} + +export function getDomainCreatorToJSON( + getDomainCreator: GetDomainCreator, +): string { + return JSON.stringify( + GetDomainCreator$outboundSchema.parse(getDomainCreator), + ); +} + +export function getDomainCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainCreator' from JSON`, + ); +} + +/** @internal */ +export const ServiceType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(ServiceType); + +/** @internal */ +export const ServiceType$outboundSchema: z.ZodNativeEnum = + ServiceType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ServiceType$ { + /** @deprecated use `ServiceType$inboundSchema` instead. */ + export const inboundSchema = ServiceType$inboundSchema; + /** @deprecated use `ServiceType$outboundSchema` instead. */ + export const outboundSchema = ServiceType$outboundSchema; +} + +/** @internal */ +export const GetDomainDomain$inboundSchema: z.ZodType< + GetDomainDomain, + z.ZodTypeDef, + unknown +> = z.object({ + suffix: z.boolean(), + verified: z.boolean(), + nameservers: z.array(z.string()), + intendedNameservers: z.array(z.string()), + customNameservers: z.array(z.string()).optional(), + creator: z.lazy(() => GetDomainCreator$inboundSchema), + teamId: z.nullable(z.string()), + userId: z.string(), + boughtAt: z.nullable(z.number()), + createdAt: z.number(), + expiresAt: z.nullable(z.number()), + id: z.string(), + name: z.string(), + orderedAt: z.number().optional(), + renew: z.boolean().optional(), + serviceType: ServiceType$inboundSchema, + transferredAt: z.nullable(z.number()).optional(), + transferStartedAt: z.number().optional(), +}); + +/** @internal */ +export type GetDomainDomain$Outbound = { + suffix: boolean; + verified: boolean; + nameservers: Array; + intendedNameservers: Array; + customNameservers?: Array | undefined; + creator: GetDomainCreator$Outbound; + teamId: string | null; + userId: string; + boughtAt: number | null; + createdAt: number; + expiresAt: number | null; + id: string; + name: string; + orderedAt?: number | undefined; + renew?: boolean | undefined; + serviceType: string; + transferredAt?: number | null | undefined; + transferStartedAt?: number | undefined; +}; + +/** @internal */ +export const GetDomainDomain$outboundSchema: z.ZodType< + GetDomainDomain$Outbound, + z.ZodTypeDef, + GetDomainDomain +> = z.object({ + suffix: z.boolean(), + verified: z.boolean(), + nameservers: z.array(z.string()), + intendedNameservers: z.array(z.string()), + customNameservers: z.array(z.string()).optional(), + creator: z.lazy(() => GetDomainCreator$outboundSchema), + teamId: z.nullable(z.string()), + userId: z.string(), + boughtAt: z.nullable(z.number()), + createdAt: z.number(), + expiresAt: z.nullable(z.number()), + id: z.string(), + name: z.string(), + orderedAt: z.number().optional(), + renew: z.boolean().optional(), + serviceType: ServiceType$outboundSchema, + transferredAt: z.nullable(z.number()).optional(), + transferStartedAt: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDomainDomain$ { + /** @deprecated use `GetDomainDomain$inboundSchema` instead. */ + export const inboundSchema = GetDomainDomain$inboundSchema; + /** @deprecated use `GetDomainDomain$outboundSchema` instead. */ + export const outboundSchema = GetDomainDomain$outboundSchema; + /** @deprecated use `GetDomainDomain$Outbound` instead. */ + export type Outbound = GetDomainDomain$Outbound; +} + +export function getDomainDomainToJSON( + getDomainDomain: GetDomainDomain, +): string { + return JSON.stringify(GetDomainDomain$outboundSchema.parse(getDomainDomain)); +} + +export function getDomainDomainFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainDomain$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainDomain' from JSON`, + ); +} + +/** @internal */ +export const GetDomainResponseBody$inboundSchema: z.ZodType< + GetDomainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.lazy(() => GetDomainDomain$inboundSchema), +}); + +/** @internal */ +export type GetDomainResponseBody$Outbound = { + domain: GetDomainDomain$Outbound; +}; + +/** @internal */ +export const GetDomainResponseBody$outboundSchema: z.ZodType< + GetDomainResponseBody$Outbound, + z.ZodTypeDef, + GetDomainResponseBody +> = z.object({ + domain: z.lazy(() => GetDomainDomain$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDomainResponseBody$ { + /** @deprecated use `GetDomainResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetDomainResponseBody$inboundSchema; + /** @deprecated use `GetDomainResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetDomainResponseBody$outboundSchema; + /** @deprecated use `GetDomainResponseBody$Outbound` instead. */ + export type Outbound = GetDomainResponseBody$Outbound; +} + +export function getDomainResponseBodyToJSON( + getDomainResponseBody: GetDomainResponseBody, +): string { + return JSON.stringify( + GetDomainResponseBody$outboundSchema.parse(getDomainResponseBody), + ); +} + +export function getDomainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainResponseBody' from JSON`, + ); +} diff --git a/src/models/getdomainsop.ts b/src/models/getdomainsop.ts new file mode 100644 index 00000000..7156b180 --- /dev/null +++ b/src/models/getdomainsop.ts @@ -0,0 +1,443 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + Pagination, + Pagination$inboundSchema, + Pagination$Outbound, + Pagination$outboundSchema, +} from "./pagination.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetDomainsRequest = { + /** + * Maximum number of domains to list from a request. + */ + limit?: number | undefined; + /** + * Get domains created after this JavaScript timestamp. + */ + since?: number | undefined; + /** + * Get domains created before this JavaScript timestamp. + */ + until?: number | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * An object containing information of the domain creator, including the user's id, username, and email. + */ +export type GetDomainsCreator = { + username: string; + email: string; + customerId?: string | null | undefined; + isDomainReseller?: boolean | undefined; + id: string; +}; + +/** + * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. + */ +export const GetDomainsServiceType = { + ZeitWorld: "zeit.world", + External: "external", + Na: "na", +} as const; +/** + * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. + */ +export type GetDomainsServiceType = ClosedEnum; + +export type Domains = { + /** + * If the domain has the ownership verified. + */ + verified: boolean; + /** + * A list of the current nameservers of the domain. + */ + nameservers: Array; + /** + * A list of the intended nameservers for the domain to point to Vercel DNS. + */ + intendedNameservers: Array; + /** + * A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel. + */ + customNameservers?: Array | undefined; + /** + * An object containing information of the domain creator, including the user's id, username, and email. + */ + creator: GetDomainsCreator; + teamId: string | null; + /** + * Timestamp in milliseconds when the domain was created in the registry. + */ + createdAt: number; + /** + * If it was purchased through Vercel, the timestamp in milliseconds when it was purchased. + */ + boughtAt: number | null; + /** + * Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel. + */ + expiresAt: number | null; + /** + * The unique identifier of the domain. + */ + id: string; + /** + * The domain name. + */ + name: string; + /** + * Timestamp in milliseconds at which the domain was ordered. + */ + orderedAt?: number | undefined; + /** + * Indicates whether the domain is set to automatically renew. + */ + renew?: boolean | undefined; + /** + * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. + */ + serviceType: GetDomainsServiceType; + /** + * Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in. + */ + transferredAt?: number | null | undefined; + /** + * If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated. + */ + transferStartedAt?: number | undefined; + userId: string; +}; + +/** + * Successful response retrieving a list of domains. + */ +export type GetDomainsResponseBody = { + domains: Array; + /** + * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. + */ + pagination: Pagination; +}; + +/** @internal */ +export const GetDomainsRequest$inboundSchema: z.ZodType< + GetDomainsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetDomainsRequest$Outbound = { + limit?: number | undefined; + since?: number | undefined; + until?: number | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetDomainsRequest$outboundSchema: z.ZodType< + GetDomainsRequest$Outbound, + z.ZodTypeDef, + GetDomainsRequest +> = z.object({ + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDomainsRequest$ { + /** @deprecated use `GetDomainsRequest$inboundSchema` instead. */ + export const inboundSchema = GetDomainsRequest$inboundSchema; + /** @deprecated use `GetDomainsRequest$outboundSchema` instead. */ + export const outboundSchema = GetDomainsRequest$outboundSchema; + /** @deprecated use `GetDomainsRequest$Outbound` instead. */ + export type Outbound = GetDomainsRequest$Outbound; +} + +export function getDomainsRequestToJSON( + getDomainsRequest: GetDomainsRequest, +): string { + return JSON.stringify( + GetDomainsRequest$outboundSchema.parse(getDomainsRequest), + ); +} + +export function getDomainsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainsRequest' from JSON`, + ); +} + +/** @internal */ +export const GetDomainsCreator$inboundSchema: z.ZodType< + GetDomainsCreator, + z.ZodTypeDef, + unknown +> = z.object({ + username: z.string(), + email: z.string(), + customerId: z.nullable(z.string()).optional(), + isDomainReseller: z.boolean().optional(), + id: z.string(), +}); + +/** @internal */ +export type GetDomainsCreator$Outbound = { + username: string; + email: string; + customerId?: string | null | undefined; + isDomainReseller?: boolean | undefined; + id: string; +}; + +/** @internal */ +export const GetDomainsCreator$outboundSchema: z.ZodType< + GetDomainsCreator$Outbound, + z.ZodTypeDef, + GetDomainsCreator +> = z.object({ + username: z.string(), + email: z.string(), + customerId: z.nullable(z.string()).optional(), + isDomainReseller: z.boolean().optional(), + id: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDomainsCreator$ { + /** @deprecated use `GetDomainsCreator$inboundSchema` instead. */ + export const inboundSchema = GetDomainsCreator$inboundSchema; + /** @deprecated use `GetDomainsCreator$outboundSchema` instead. */ + export const outboundSchema = GetDomainsCreator$outboundSchema; + /** @deprecated use `GetDomainsCreator$Outbound` instead. */ + export type Outbound = GetDomainsCreator$Outbound; +} + +export function getDomainsCreatorToJSON( + getDomainsCreator: GetDomainsCreator, +): string { + return JSON.stringify( + GetDomainsCreator$outboundSchema.parse(getDomainsCreator), + ); +} + +export function getDomainsCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainsCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainsCreator' from JSON`, + ); +} + +/** @internal */ +export const GetDomainsServiceType$inboundSchema: z.ZodNativeEnum< + typeof GetDomainsServiceType +> = z.nativeEnum(GetDomainsServiceType); + +/** @internal */ +export const GetDomainsServiceType$outboundSchema: z.ZodNativeEnum< + typeof GetDomainsServiceType +> = GetDomainsServiceType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDomainsServiceType$ { + /** @deprecated use `GetDomainsServiceType$inboundSchema` instead. */ + export const inboundSchema = GetDomainsServiceType$inboundSchema; + /** @deprecated use `GetDomainsServiceType$outboundSchema` instead. */ + export const outboundSchema = GetDomainsServiceType$outboundSchema; +} + +/** @internal */ +export const Domains$inboundSchema: z.ZodType = + z.object({ + verified: z.boolean(), + nameservers: z.array(z.string()), + intendedNameservers: z.array(z.string()), + customNameservers: z.array(z.string()).optional(), + creator: z.lazy(() => GetDomainsCreator$inboundSchema), + teamId: z.nullable(z.string()), + createdAt: z.number(), + boughtAt: z.nullable(z.number()), + expiresAt: z.nullable(z.number()), + id: z.string(), + name: z.string(), + orderedAt: z.number().optional(), + renew: z.boolean().optional(), + serviceType: GetDomainsServiceType$inboundSchema, + transferredAt: z.nullable(z.number()).optional(), + transferStartedAt: z.number().optional(), + userId: z.string(), + }); + +/** @internal */ +export type Domains$Outbound = { + verified: boolean; + nameservers: Array; + intendedNameservers: Array; + customNameservers?: Array | undefined; + creator: GetDomainsCreator$Outbound; + teamId: string | null; + createdAt: number; + boughtAt: number | null; + expiresAt: number | null; + id: string; + name: string; + orderedAt?: number | undefined; + renew?: boolean | undefined; + serviceType: string; + transferredAt?: number | null | undefined; + transferStartedAt?: number | undefined; + userId: string; +}; + +/** @internal */ +export const Domains$outboundSchema: z.ZodType< + Domains$Outbound, + z.ZodTypeDef, + Domains +> = z.object({ + verified: z.boolean(), + nameservers: z.array(z.string()), + intendedNameservers: z.array(z.string()), + customNameservers: z.array(z.string()).optional(), + creator: z.lazy(() => GetDomainsCreator$outboundSchema), + teamId: z.nullable(z.string()), + createdAt: z.number(), + boughtAt: z.nullable(z.number()), + expiresAt: z.nullable(z.number()), + id: z.string(), + name: z.string(), + orderedAt: z.number().optional(), + renew: z.boolean().optional(), + serviceType: GetDomainsServiceType$outboundSchema, + transferredAt: z.nullable(z.number()).optional(), + transferStartedAt: z.number().optional(), + userId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Domains$ { + /** @deprecated use `Domains$inboundSchema` instead. */ + export const inboundSchema = Domains$inboundSchema; + /** @deprecated use `Domains$outboundSchema` instead. */ + export const outboundSchema = Domains$outboundSchema; + /** @deprecated use `Domains$Outbound` instead. */ + export type Outbound = Domains$Outbound; +} + +export function domainsToJSON(domains: Domains): string { + return JSON.stringify(Domains$outboundSchema.parse(domains)); +} + +export function domainsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Domains$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Domains' from JSON`, + ); +} + +/** @internal */ +export const GetDomainsResponseBody$inboundSchema: z.ZodType< + GetDomainsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + domains: z.array(z.lazy(() => Domains$inboundSchema)), + pagination: Pagination$inboundSchema, +}); + +/** @internal */ +export type GetDomainsResponseBody$Outbound = { + domains: Array; + pagination: Pagination$Outbound; +}; + +/** @internal */ +export const GetDomainsResponseBody$outboundSchema: z.ZodType< + GetDomainsResponseBody$Outbound, + z.ZodTypeDef, + GetDomainsResponseBody +> = z.object({ + domains: z.array(z.lazy(() => Domains$outboundSchema)), + pagination: Pagination$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDomainsResponseBody$ { + /** @deprecated use `GetDomainsResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetDomainsResponseBody$inboundSchema; + /** @deprecated use `GetDomainsResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetDomainsResponseBody$outboundSchema; + /** @deprecated use `GetDomainsResponseBody$Outbound` instead. */ + export type Outbound = GetDomainsResponseBody$Outbound; +} + +export function getDomainsResponseBodyToJSON( + getDomainsResponseBody: GetDomainsResponseBody, +): string { + return JSON.stringify( + GetDomainsResponseBody$outboundSchema.parse(getDomainsResponseBody), + ); +} + +export function getDomainsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainsResponseBody' from JSON`, + ); +} diff --git a/src/models/getdomaintransferop.ts b/src/models/getdomaintransferop.ts new file mode 100644 index 00000000..c301df5f --- /dev/null +++ b/src/models/getdomaintransferop.ts @@ -0,0 +1,241 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetDomainTransferRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + domain: string; +}; + +/** + * The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar. + */ +export const TransferPolicy = { + ChargeAndRenew: "charge-and-renew", + NoChargeNoChange: "no-charge-no-change", + NoChange: "no-change", + NewTerm: "new-term", + NotSupported: "not-supported", +} as const; +/** + * The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar. + */ +export type TransferPolicy = ClosedEnum; + +/** + * The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar. + */ +export const GetDomainTransferStatus = { + PendingOwner: "pending_owner", + PendingAdmin: "pending_admin", + PendingRegistry: "pending_registry", + Completed: "completed", + Cancelled: "cancelled", + Undef: "undef", + Unknown: "unknown", +} as const; +/** + * The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar. + */ +export type GetDomainTransferStatus = ClosedEnum< + typeof GetDomainTransferStatus +>; + +export type GetDomainTransferResponseBody = { + /** + * Whether or not the domain is transferable + */ + transferable: boolean; + /** + * The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar. + */ + transferPolicy: TransferPolicy | null; + /** + * Description associated with transferable state. + */ + reason: string; + /** + * The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar. + */ + status: GetDomainTransferStatus; +}; + +/** @internal */ +export const GetDomainTransferRequest$inboundSchema: z.ZodType< + GetDomainTransferRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + domain: z.string(), +}); + +/** @internal */ +export type GetDomainTransferRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + domain: string; +}; + +/** @internal */ +export const GetDomainTransferRequest$outboundSchema: z.ZodType< + GetDomainTransferRequest$Outbound, + z.ZodTypeDef, + GetDomainTransferRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + domain: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDomainTransferRequest$ { + /** @deprecated use `GetDomainTransferRequest$inboundSchema` instead. */ + export const inboundSchema = GetDomainTransferRequest$inboundSchema; + /** @deprecated use `GetDomainTransferRequest$outboundSchema` instead. */ + export const outboundSchema = GetDomainTransferRequest$outboundSchema; + /** @deprecated use `GetDomainTransferRequest$Outbound` instead. */ + export type Outbound = GetDomainTransferRequest$Outbound; +} + +export function getDomainTransferRequestToJSON( + getDomainTransferRequest: GetDomainTransferRequest, +): string { + return JSON.stringify( + GetDomainTransferRequest$outboundSchema.parse(getDomainTransferRequest), + ); +} + +export function getDomainTransferRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainTransferRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainTransferRequest' from JSON`, + ); +} + +/** @internal */ +export const TransferPolicy$inboundSchema: z.ZodNativeEnum< + typeof TransferPolicy +> = z.nativeEnum(TransferPolicy); + +/** @internal */ +export const TransferPolicy$outboundSchema: z.ZodNativeEnum< + typeof TransferPolicy +> = TransferPolicy$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TransferPolicy$ { + /** @deprecated use `TransferPolicy$inboundSchema` instead. */ + export const inboundSchema = TransferPolicy$inboundSchema; + /** @deprecated use `TransferPolicy$outboundSchema` instead. */ + export const outboundSchema = TransferPolicy$outboundSchema; +} + +/** @internal */ +export const GetDomainTransferStatus$inboundSchema: z.ZodNativeEnum< + typeof GetDomainTransferStatus +> = z.nativeEnum(GetDomainTransferStatus); + +/** @internal */ +export const GetDomainTransferStatus$outboundSchema: z.ZodNativeEnum< + typeof GetDomainTransferStatus +> = GetDomainTransferStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDomainTransferStatus$ { + /** @deprecated use `GetDomainTransferStatus$inboundSchema` instead. */ + export const inboundSchema = GetDomainTransferStatus$inboundSchema; + /** @deprecated use `GetDomainTransferStatus$outboundSchema` instead. */ + export const outboundSchema = GetDomainTransferStatus$outboundSchema; +} + +/** @internal */ +export const GetDomainTransferResponseBody$inboundSchema: z.ZodType< + GetDomainTransferResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + transferable: z.boolean(), + transferPolicy: z.nullable(TransferPolicy$inboundSchema), + reason: z.string(), + status: GetDomainTransferStatus$inboundSchema, +}); + +/** @internal */ +export type GetDomainTransferResponseBody$Outbound = { + transferable: boolean; + transferPolicy: string | null; + reason: string; + status: string; +}; + +/** @internal */ +export const GetDomainTransferResponseBody$outboundSchema: z.ZodType< + GetDomainTransferResponseBody$Outbound, + z.ZodTypeDef, + GetDomainTransferResponseBody +> = z.object({ + transferable: z.boolean(), + transferPolicy: z.nullable(TransferPolicy$outboundSchema), + reason: z.string(), + status: GetDomainTransferStatus$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetDomainTransferResponseBody$ { + /** @deprecated use `GetDomainTransferResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetDomainTransferResponseBody$inboundSchema; + /** @deprecated use `GetDomainTransferResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetDomainTransferResponseBody$outboundSchema; + /** @deprecated use `GetDomainTransferResponseBody$Outbound` instead. */ + export type Outbound = GetDomainTransferResponseBody$Outbound; +} + +export function getDomainTransferResponseBodyToJSON( + getDomainTransferResponseBody: GetDomainTransferResponseBody, +): string { + return JSON.stringify( + GetDomainTransferResponseBody$outboundSchema.parse( + getDomainTransferResponseBody, + ), + ); +} + +export function getDomainTransferResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainTransferResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainTransferResponseBody' from JSON`, + ); +} diff --git a/src/models/getedgeconfigbackupop.ts b/src/models/getedgeconfigbackupop.ts new file mode 100644 index 00000000..a9d47cbb --- /dev/null +++ b/src/models/getedgeconfigbackupop.ts @@ -0,0 +1,886 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + EdgeConfigItemValue, + EdgeConfigItemValue$inboundSchema, + EdgeConfigItemValue$Outbound, + EdgeConfigItemValue$outboundSchema, +} from "./edgeconfigitemvalue.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetEdgeConfigBackupRequest = { + edgeConfigId: string; + edgeConfigBackupVersionId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export type ResponseBodyUser = { + id: string; + username: string; + email: string; + name?: string | undefined; + avatar?: string | undefined; +}; + +export type GetEdgeConfigBackupResponseBodyItems = { + updatedAt: number; + value: EdgeConfigItemValue | null; + description?: string | undefined; + createdAt: number; +}; + +export type ResponseBodyBackup = { + digest: string; + items: { [k: string]: GetEdgeConfigBackupResponseBodyItems }; + /** + * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). + */ + slug: string; + updatedAt: number; +}; + +export type ResponseBodyMetadata = { + updatedAt?: string | undefined; + updatedBy?: string | undefined; + itemsCount?: number | undefined; + itemsBytes?: number | undefined; +}; + +export type GetEdgeConfigBackupResponseBody2 = { + user: ResponseBodyUser; + id: string; + lastModified: number; + backup: ResponseBodyBackup; + metadata: ResponseBodyMetadata; +}; + +export type ResponseBodyItems = { + updatedAt: number; + value: EdgeConfigItemValue | null; + description?: string | undefined; + createdAt: number; +}; + +export type Backup = { + digest: string; + items: { [k: string]: ResponseBodyItems }; + /** + * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). + */ + slug: string; + updatedAt: number; +}; + +export type Metadata = { + updatedAt?: string | undefined; + updatedBy?: string | undefined; + itemsCount?: number | undefined; + itemsBytes?: number | undefined; +}; + +export type GetEdgeConfigBackupResponseBodyUser = { + id: string; + username: string; + email: string; + name?: string | undefined; + avatar?: string | undefined; +}; + +/** + * The object the API responds with when requesting an Edge Config backup + */ +export type GetEdgeConfigBackupResponseBody1 = { + id: string; + lastModified: number; + backup: Backup; + metadata: Metadata; + user?: GetEdgeConfigBackupResponseBodyUser | undefined; +}; + +export type GetEdgeConfigBackupResponseBody = + | GetEdgeConfigBackupResponseBody1 + | GetEdgeConfigBackupResponseBody2; + +/** @internal */ +export const GetEdgeConfigBackupRequest$inboundSchema: z.ZodType< + GetEdgeConfigBackupRequest, + z.ZodTypeDef, + unknown +> = z.object({ + edgeConfigId: z.string(), + edgeConfigBackupVersionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetEdgeConfigBackupRequest$Outbound = { + edgeConfigId: string; + edgeConfigBackupVersionId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetEdgeConfigBackupRequest$outboundSchema: z.ZodType< + GetEdgeConfigBackupRequest$Outbound, + z.ZodTypeDef, + GetEdgeConfigBackupRequest +> = z.object({ + edgeConfigId: z.string(), + edgeConfigBackupVersionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigBackupRequest$ { + /** @deprecated use `GetEdgeConfigBackupRequest$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigBackupRequest$inboundSchema; + /** @deprecated use `GetEdgeConfigBackupRequest$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigBackupRequest$outboundSchema; + /** @deprecated use `GetEdgeConfigBackupRequest$Outbound` instead. */ + export type Outbound = GetEdgeConfigBackupRequest$Outbound; +} + +export function getEdgeConfigBackupRequestToJSON( + getEdgeConfigBackupRequest: GetEdgeConfigBackupRequest, +): string { + return JSON.stringify( + GetEdgeConfigBackupRequest$outboundSchema.parse(getEdgeConfigBackupRequest), + ); +} + +export function getEdgeConfigBackupRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigBackupRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigBackupRequest' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyUser$inboundSchema: z.ZodType< + ResponseBodyUser, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + username: z.string(), + email: z.string(), + name: z.string().optional(), + avatar: z.string().optional(), +}); + +/** @internal */ +export type ResponseBodyUser$Outbound = { + id: string; + username: string; + email: string; + name?: string | undefined; + avatar?: string | undefined; +}; + +/** @internal */ +export const ResponseBodyUser$outboundSchema: z.ZodType< + ResponseBodyUser$Outbound, + z.ZodTypeDef, + ResponseBodyUser +> = z.object({ + id: z.string(), + username: z.string(), + email: z.string(), + name: z.string().optional(), + avatar: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyUser$ { + /** @deprecated use `ResponseBodyUser$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyUser$inboundSchema; + /** @deprecated use `ResponseBodyUser$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyUser$outboundSchema; + /** @deprecated use `ResponseBodyUser$Outbound` instead. */ + export type Outbound = ResponseBodyUser$Outbound; +} + +export function responseBodyUserToJSON( + responseBodyUser: ResponseBodyUser, +): string { + return JSON.stringify( + ResponseBodyUser$outboundSchema.parse(responseBodyUser), + ); +} + +export function responseBodyUserFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyUser$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyUser' from JSON`, + ); +} + +/** @internal */ +export const GetEdgeConfigBackupResponseBodyItems$inboundSchema: z.ZodType< + GetEdgeConfigBackupResponseBodyItems, + z.ZodTypeDef, + unknown +> = z.object({ + updatedAt: z.number(), + value: z.nullable(EdgeConfigItemValue$inboundSchema), + description: z.string().optional(), + createdAt: z.number(), +}); + +/** @internal */ +export type GetEdgeConfigBackupResponseBodyItems$Outbound = { + updatedAt: number; + value: EdgeConfigItemValue$Outbound | null; + description?: string | undefined; + createdAt: number; +}; + +/** @internal */ +export const GetEdgeConfigBackupResponseBodyItems$outboundSchema: z.ZodType< + GetEdgeConfigBackupResponseBodyItems$Outbound, + z.ZodTypeDef, + GetEdgeConfigBackupResponseBodyItems +> = z.object({ + updatedAt: z.number(), + value: z.nullable(EdgeConfigItemValue$outboundSchema), + description: z.string().optional(), + createdAt: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigBackupResponseBodyItems$ { + /** @deprecated use `GetEdgeConfigBackupResponseBodyItems$inboundSchema` instead. */ + export const inboundSchema = + GetEdgeConfigBackupResponseBodyItems$inboundSchema; + /** @deprecated use `GetEdgeConfigBackupResponseBodyItems$outboundSchema` instead. */ + export const outboundSchema = + GetEdgeConfigBackupResponseBodyItems$outboundSchema; + /** @deprecated use `GetEdgeConfigBackupResponseBodyItems$Outbound` instead. */ + export type Outbound = GetEdgeConfigBackupResponseBodyItems$Outbound; +} + +export function getEdgeConfigBackupResponseBodyItemsToJSON( + getEdgeConfigBackupResponseBodyItems: GetEdgeConfigBackupResponseBodyItems, +): string { + return JSON.stringify( + GetEdgeConfigBackupResponseBodyItems$outboundSchema.parse( + getEdgeConfigBackupResponseBodyItems, + ), + ); +} + +export function getEdgeConfigBackupResponseBodyItemsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetEdgeConfigBackupResponseBodyItems$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigBackupResponseBodyItems' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyBackup$inboundSchema: z.ZodType< + ResponseBodyBackup, + z.ZodTypeDef, + unknown +> = z.object({ + digest: z.string(), + items: z.record( + z.lazy(() => GetEdgeConfigBackupResponseBodyItems$inboundSchema), + ), + slug: z.string(), + updatedAt: z.number(), +}); + +/** @internal */ +export type ResponseBodyBackup$Outbound = { + digest: string; + items: { [k: string]: GetEdgeConfigBackupResponseBodyItems$Outbound }; + slug: string; + updatedAt: number; +}; + +/** @internal */ +export const ResponseBodyBackup$outboundSchema: z.ZodType< + ResponseBodyBackup$Outbound, + z.ZodTypeDef, + ResponseBodyBackup +> = z.object({ + digest: z.string(), + items: z.record( + z.lazy(() => GetEdgeConfigBackupResponseBodyItems$outboundSchema), + ), + slug: z.string(), + updatedAt: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyBackup$ { + /** @deprecated use `ResponseBodyBackup$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyBackup$inboundSchema; + /** @deprecated use `ResponseBodyBackup$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyBackup$outboundSchema; + /** @deprecated use `ResponseBodyBackup$Outbound` instead. */ + export type Outbound = ResponseBodyBackup$Outbound; +} + +export function responseBodyBackupToJSON( + responseBodyBackup: ResponseBodyBackup, +): string { + return JSON.stringify( + ResponseBodyBackup$outboundSchema.parse(responseBodyBackup), + ); +} + +export function responseBodyBackupFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyBackup$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyBackup' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyMetadata$inboundSchema: z.ZodType< + ResponseBodyMetadata, + z.ZodTypeDef, + unknown +> = z.object({ + updatedAt: z.string().optional(), + updatedBy: z.string().optional(), + itemsCount: z.number().optional(), + itemsBytes: z.number().optional(), +}); + +/** @internal */ +export type ResponseBodyMetadata$Outbound = { + updatedAt?: string | undefined; + updatedBy?: string | undefined; + itemsCount?: number | undefined; + itemsBytes?: number | undefined; +}; + +/** @internal */ +export const ResponseBodyMetadata$outboundSchema: z.ZodType< + ResponseBodyMetadata$Outbound, + z.ZodTypeDef, + ResponseBodyMetadata +> = z.object({ + updatedAt: z.string().optional(), + updatedBy: z.string().optional(), + itemsCount: z.number().optional(), + itemsBytes: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyMetadata$ { + /** @deprecated use `ResponseBodyMetadata$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyMetadata$inboundSchema; + /** @deprecated use `ResponseBodyMetadata$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyMetadata$outboundSchema; + /** @deprecated use `ResponseBodyMetadata$Outbound` instead. */ + export type Outbound = ResponseBodyMetadata$Outbound; +} + +export function responseBodyMetadataToJSON( + responseBodyMetadata: ResponseBodyMetadata, +): string { + return JSON.stringify( + ResponseBodyMetadata$outboundSchema.parse(responseBodyMetadata), + ); +} + +export function responseBodyMetadataFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyMetadata$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyMetadata' from JSON`, + ); +} + +/** @internal */ +export const GetEdgeConfigBackupResponseBody2$inboundSchema: z.ZodType< + GetEdgeConfigBackupResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + user: z.lazy(() => ResponseBodyUser$inboundSchema), + id: z.string(), + lastModified: z.number(), + backup: z.lazy(() => ResponseBodyBackup$inboundSchema), + metadata: z.lazy(() => ResponseBodyMetadata$inboundSchema), +}); + +/** @internal */ +export type GetEdgeConfigBackupResponseBody2$Outbound = { + user: ResponseBodyUser$Outbound; + id: string; + lastModified: number; + backup: ResponseBodyBackup$Outbound; + metadata: ResponseBodyMetadata$Outbound; +}; + +/** @internal */ +export const GetEdgeConfigBackupResponseBody2$outboundSchema: z.ZodType< + GetEdgeConfigBackupResponseBody2$Outbound, + z.ZodTypeDef, + GetEdgeConfigBackupResponseBody2 +> = z.object({ + user: z.lazy(() => ResponseBodyUser$outboundSchema), + id: z.string(), + lastModified: z.number(), + backup: z.lazy(() => ResponseBodyBackup$outboundSchema), + metadata: z.lazy(() => ResponseBodyMetadata$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigBackupResponseBody2$ { + /** @deprecated use `GetEdgeConfigBackupResponseBody2$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigBackupResponseBody2$inboundSchema; + /** @deprecated use `GetEdgeConfigBackupResponseBody2$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigBackupResponseBody2$outboundSchema; + /** @deprecated use `GetEdgeConfigBackupResponseBody2$Outbound` instead. */ + export type Outbound = GetEdgeConfigBackupResponseBody2$Outbound; +} + +export function getEdgeConfigBackupResponseBody2ToJSON( + getEdgeConfigBackupResponseBody2: GetEdgeConfigBackupResponseBody2, +): string { + return JSON.stringify( + GetEdgeConfigBackupResponseBody2$outboundSchema.parse( + getEdgeConfigBackupResponseBody2, + ), + ); +} + +export function getEdgeConfigBackupResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigBackupResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigBackupResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyItems$inboundSchema: z.ZodType< + ResponseBodyItems, + z.ZodTypeDef, + unknown +> = z.object({ + updatedAt: z.number(), + value: z.nullable(EdgeConfigItemValue$inboundSchema), + description: z.string().optional(), + createdAt: z.number(), +}); + +/** @internal */ +export type ResponseBodyItems$Outbound = { + updatedAt: number; + value: EdgeConfigItemValue$Outbound | null; + description?: string | undefined; + createdAt: number; +}; + +/** @internal */ +export const ResponseBodyItems$outboundSchema: z.ZodType< + ResponseBodyItems$Outbound, + z.ZodTypeDef, + ResponseBodyItems +> = z.object({ + updatedAt: z.number(), + value: z.nullable(EdgeConfigItemValue$outboundSchema), + description: z.string().optional(), + createdAt: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyItems$ { + /** @deprecated use `ResponseBodyItems$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyItems$inboundSchema; + /** @deprecated use `ResponseBodyItems$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyItems$outboundSchema; + /** @deprecated use `ResponseBodyItems$Outbound` instead. */ + export type Outbound = ResponseBodyItems$Outbound; +} + +export function responseBodyItemsToJSON( + responseBodyItems: ResponseBodyItems, +): string { + return JSON.stringify( + ResponseBodyItems$outboundSchema.parse(responseBodyItems), + ); +} + +export function responseBodyItemsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyItems$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyItems' from JSON`, + ); +} + +/** @internal */ +export const Backup$inboundSchema: z.ZodType = z + .object({ + digest: z.string(), + items: z.record(z.lazy(() => ResponseBodyItems$inboundSchema)), + slug: z.string(), + updatedAt: z.number(), + }); + +/** @internal */ +export type Backup$Outbound = { + digest: string; + items: { [k: string]: ResponseBodyItems$Outbound }; + slug: string; + updatedAt: number; +}; + +/** @internal */ +export const Backup$outboundSchema: z.ZodType< + Backup$Outbound, + z.ZodTypeDef, + Backup +> = z.object({ + digest: z.string(), + items: z.record(z.lazy(() => ResponseBodyItems$outboundSchema)), + slug: z.string(), + updatedAt: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Backup$ { + /** @deprecated use `Backup$inboundSchema` instead. */ + export const inboundSchema = Backup$inboundSchema; + /** @deprecated use `Backup$outboundSchema` instead. */ + export const outboundSchema = Backup$outboundSchema; + /** @deprecated use `Backup$Outbound` instead. */ + export type Outbound = Backup$Outbound; +} + +export function backupToJSON(backup: Backup): string { + return JSON.stringify(Backup$outboundSchema.parse(backup)); +} + +export function backupFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Backup$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Backup' from JSON`, + ); +} + +/** @internal */ +export const Metadata$inboundSchema: z.ZodType< + Metadata, + z.ZodTypeDef, + unknown +> = z.object({ + updatedAt: z.string().optional(), + updatedBy: z.string().optional(), + itemsCount: z.number().optional(), + itemsBytes: z.number().optional(), +}); + +/** @internal */ +export type Metadata$Outbound = { + updatedAt?: string | undefined; + updatedBy?: string | undefined; + itemsCount?: number | undefined; + itemsBytes?: number | undefined; +}; + +/** @internal */ +export const Metadata$outboundSchema: z.ZodType< + Metadata$Outbound, + z.ZodTypeDef, + Metadata +> = z.object({ + updatedAt: z.string().optional(), + updatedBy: z.string().optional(), + itemsCount: z.number().optional(), + itemsBytes: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Metadata$ { + /** @deprecated use `Metadata$inboundSchema` instead. */ + export const inboundSchema = Metadata$inboundSchema; + /** @deprecated use `Metadata$outboundSchema` instead. */ + export const outboundSchema = Metadata$outboundSchema; + /** @deprecated use `Metadata$Outbound` instead. */ + export type Outbound = Metadata$Outbound; +} + +export function metadataToJSON(metadata: Metadata): string { + return JSON.stringify(Metadata$outboundSchema.parse(metadata)); +} + +export function metadataFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Metadata$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Metadata' from JSON`, + ); +} + +/** @internal */ +export const GetEdgeConfigBackupResponseBodyUser$inboundSchema: z.ZodType< + GetEdgeConfigBackupResponseBodyUser, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + username: z.string(), + email: z.string(), + name: z.string().optional(), + avatar: z.string().optional(), +}); + +/** @internal */ +export type GetEdgeConfigBackupResponseBodyUser$Outbound = { + id: string; + username: string; + email: string; + name?: string | undefined; + avatar?: string | undefined; +}; + +/** @internal */ +export const GetEdgeConfigBackupResponseBodyUser$outboundSchema: z.ZodType< + GetEdgeConfigBackupResponseBodyUser$Outbound, + z.ZodTypeDef, + GetEdgeConfigBackupResponseBodyUser +> = z.object({ + id: z.string(), + username: z.string(), + email: z.string(), + name: z.string().optional(), + avatar: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigBackupResponseBodyUser$ { + /** @deprecated use `GetEdgeConfigBackupResponseBodyUser$inboundSchema` instead. */ + export const inboundSchema = + GetEdgeConfigBackupResponseBodyUser$inboundSchema; + /** @deprecated use `GetEdgeConfigBackupResponseBodyUser$outboundSchema` instead. */ + export const outboundSchema = + GetEdgeConfigBackupResponseBodyUser$outboundSchema; + /** @deprecated use `GetEdgeConfigBackupResponseBodyUser$Outbound` instead. */ + export type Outbound = GetEdgeConfigBackupResponseBodyUser$Outbound; +} + +export function getEdgeConfigBackupResponseBodyUserToJSON( + getEdgeConfigBackupResponseBodyUser: GetEdgeConfigBackupResponseBodyUser, +): string { + return JSON.stringify( + GetEdgeConfigBackupResponseBodyUser$outboundSchema.parse( + getEdgeConfigBackupResponseBodyUser, + ), + ); +} + +export function getEdgeConfigBackupResponseBodyUserFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetEdgeConfigBackupResponseBodyUser$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigBackupResponseBodyUser' from JSON`, + ); +} + +/** @internal */ +export const GetEdgeConfigBackupResponseBody1$inboundSchema: z.ZodType< + GetEdgeConfigBackupResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + lastModified: z.number(), + backup: z.lazy(() => Backup$inboundSchema), + metadata: z.lazy(() => Metadata$inboundSchema), + user: z.lazy(() => GetEdgeConfigBackupResponseBodyUser$inboundSchema) + .optional(), +}); + +/** @internal */ +export type GetEdgeConfigBackupResponseBody1$Outbound = { + id: string; + lastModified: number; + backup: Backup$Outbound; + metadata: Metadata$Outbound; + user?: GetEdgeConfigBackupResponseBodyUser$Outbound | undefined; +}; + +/** @internal */ +export const GetEdgeConfigBackupResponseBody1$outboundSchema: z.ZodType< + GetEdgeConfigBackupResponseBody1$Outbound, + z.ZodTypeDef, + GetEdgeConfigBackupResponseBody1 +> = z.object({ + id: z.string(), + lastModified: z.number(), + backup: z.lazy(() => Backup$outboundSchema), + metadata: z.lazy(() => Metadata$outboundSchema), + user: z.lazy(() => GetEdgeConfigBackupResponseBodyUser$outboundSchema) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigBackupResponseBody1$ { + /** @deprecated use `GetEdgeConfigBackupResponseBody1$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigBackupResponseBody1$inboundSchema; + /** @deprecated use `GetEdgeConfigBackupResponseBody1$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigBackupResponseBody1$outboundSchema; + /** @deprecated use `GetEdgeConfigBackupResponseBody1$Outbound` instead. */ + export type Outbound = GetEdgeConfigBackupResponseBody1$Outbound; +} + +export function getEdgeConfigBackupResponseBody1ToJSON( + getEdgeConfigBackupResponseBody1: GetEdgeConfigBackupResponseBody1, +): string { + return JSON.stringify( + GetEdgeConfigBackupResponseBody1$outboundSchema.parse( + getEdgeConfigBackupResponseBody1, + ), + ); +} + +export function getEdgeConfigBackupResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigBackupResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigBackupResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const GetEdgeConfigBackupResponseBody$inboundSchema: z.ZodType< + GetEdgeConfigBackupResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetEdgeConfigBackupResponseBody1$inboundSchema), + z.lazy(() => GetEdgeConfigBackupResponseBody2$inboundSchema), +]); + +/** @internal */ +export type GetEdgeConfigBackupResponseBody$Outbound = + | GetEdgeConfigBackupResponseBody1$Outbound + | GetEdgeConfigBackupResponseBody2$Outbound; + +/** @internal */ +export const GetEdgeConfigBackupResponseBody$outboundSchema: z.ZodType< + GetEdgeConfigBackupResponseBody$Outbound, + z.ZodTypeDef, + GetEdgeConfigBackupResponseBody +> = z.union([ + z.lazy(() => GetEdgeConfigBackupResponseBody1$outboundSchema), + z.lazy(() => GetEdgeConfigBackupResponseBody2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigBackupResponseBody$ { + /** @deprecated use `GetEdgeConfigBackupResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigBackupResponseBody$inboundSchema; + /** @deprecated use `GetEdgeConfigBackupResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigBackupResponseBody$outboundSchema; + /** @deprecated use `GetEdgeConfigBackupResponseBody$Outbound` instead. */ + export type Outbound = GetEdgeConfigBackupResponseBody$Outbound; +} + +export function getEdgeConfigBackupResponseBodyToJSON( + getEdgeConfigBackupResponseBody: GetEdgeConfigBackupResponseBody, +): string { + return JSON.stringify( + GetEdgeConfigBackupResponseBody$outboundSchema.parse( + getEdgeConfigBackupResponseBody, + ), + ); +} + +export function getEdgeConfigBackupResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigBackupResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigBackupResponseBody' from JSON`, + ); +} diff --git a/src/models/getedgeconfigbackupsop.ts b/src/models/getedgeconfigbackupsop.ts new file mode 100644 index 00000000..967736c9 --- /dev/null +++ b/src/models/getedgeconfigbackupsop.ts @@ -0,0 +1,355 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetEdgeConfigBackupsRequest = { + edgeConfigId: string; + next?: string | undefined; + limit?: number | undefined; + metadata?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export type GetEdgeConfigBackupsMetadata = { + updatedAt?: string | undefined; + updatedBy?: string | undefined; + itemsCount?: number | undefined; + itemsBytes?: number | undefined; +}; + +export type Backups = { + metadata?: GetEdgeConfigBackupsMetadata | undefined; + id: string; + lastModified: number; +}; + +export type GetEdgeConfigBackupsPagination = { + hasNext: boolean; + next?: string | undefined; +}; + +export type GetEdgeConfigBackupsResponseBody = { + backups: Array; + pagination: GetEdgeConfigBackupsPagination; +}; + +/** @internal */ +export const GetEdgeConfigBackupsRequest$inboundSchema: z.ZodType< + GetEdgeConfigBackupsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + edgeConfigId: z.string(), + next: z.string().optional(), + limit: z.number().optional(), + metadata: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetEdgeConfigBackupsRequest$Outbound = { + edgeConfigId: string; + next?: string | undefined; + limit?: number | undefined; + metadata?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetEdgeConfigBackupsRequest$outboundSchema: z.ZodType< + GetEdgeConfigBackupsRequest$Outbound, + z.ZodTypeDef, + GetEdgeConfigBackupsRequest +> = z.object({ + edgeConfigId: z.string(), + next: z.string().optional(), + limit: z.number().optional(), + metadata: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigBackupsRequest$ { + /** @deprecated use `GetEdgeConfigBackupsRequest$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigBackupsRequest$inboundSchema; + /** @deprecated use `GetEdgeConfigBackupsRequest$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigBackupsRequest$outboundSchema; + /** @deprecated use `GetEdgeConfigBackupsRequest$Outbound` instead. */ + export type Outbound = GetEdgeConfigBackupsRequest$Outbound; +} + +export function getEdgeConfigBackupsRequestToJSON( + getEdgeConfigBackupsRequest: GetEdgeConfigBackupsRequest, +): string { + return JSON.stringify( + GetEdgeConfigBackupsRequest$outboundSchema.parse( + getEdgeConfigBackupsRequest, + ), + ); +} + +export function getEdgeConfigBackupsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigBackupsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigBackupsRequest' from JSON`, + ); +} + +/** @internal */ +export const GetEdgeConfigBackupsMetadata$inboundSchema: z.ZodType< + GetEdgeConfigBackupsMetadata, + z.ZodTypeDef, + unknown +> = z.object({ + updatedAt: z.string().optional(), + updatedBy: z.string().optional(), + itemsCount: z.number().optional(), + itemsBytes: z.number().optional(), +}); + +/** @internal */ +export type GetEdgeConfigBackupsMetadata$Outbound = { + updatedAt?: string | undefined; + updatedBy?: string | undefined; + itemsCount?: number | undefined; + itemsBytes?: number | undefined; +}; + +/** @internal */ +export const GetEdgeConfigBackupsMetadata$outboundSchema: z.ZodType< + GetEdgeConfigBackupsMetadata$Outbound, + z.ZodTypeDef, + GetEdgeConfigBackupsMetadata +> = z.object({ + updatedAt: z.string().optional(), + updatedBy: z.string().optional(), + itemsCount: z.number().optional(), + itemsBytes: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigBackupsMetadata$ { + /** @deprecated use `GetEdgeConfigBackupsMetadata$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigBackupsMetadata$inboundSchema; + /** @deprecated use `GetEdgeConfigBackupsMetadata$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigBackupsMetadata$outboundSchema; + /** @deprecated use `GetEdgeConfigBackupsMetadata$Outbound` instead. */ + export type Outbound = GetEdgeConfigBackupsMetadata$Outbound; +} + +export function getEdgeConfigBackupsMetadataToJSON( + getEdgeConfigBackupsMetadata: GetEdgeConfigBackupsMetadata, +): string { + return JSON.stringify( + GetEdgeConfigBackupsMetadata$outboundSchema.parse( + getEdgeConfigBackupsMetadata, + ), + ); +} + +export function getEdgeConfigBackupsMetadataFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigBackupsMetadata$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigBackupsMetadata' from JSON`, + ); +} + +/** @internal */ +export const Backups$inboundSchema: z.ZodType = + z.object({ + metadata: z.lazy(() => GetEdgeConfigBackupsMetadata$inboundSchema) + .optional(), + id: z.string(), + lastModified: z.number(), + }); + +/** @internal */ +export type Backups$Outbound = { + metadata?: GetEdgeConfigBackupsMetadata$Outbound | undefined; + id: string; + lastModified: number; +}; + +/** @internal */ +export const Backups$outboundSchema: z.ZodType< + Backups$Outbound, + z.ZodTypeDef, + Backups +> = z.object({ + metadata: z.lazy(() => GetEdgeConfigBackupsMetadata$outboundSchema) + .optional(), + id: z.string(), + lastModified: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Backups$ { + /** @deprecated use `Backups$inboundSchema` instead. */ + export const inboundSchema = Backups$inboundSchema; + /** @deprecated use `Backups$outboundSchema` instead. */ + export const outboundSchema = Backups$outboundSchema; + /** @deprecated use `Backups$Outbound` instead. */ + export type Outbound = Backups$Outbound; +} + +export function backupsToJSON(backups: Backups): string { + return JSON.stringify(Backups$outboundSchema.parse(backups)); +} + +export function backupsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Backups$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Backups' from JSON`, + ); +} + +/** @internal */ +export const GetEdgeConfigBackupsPagination$inboundSchema: z.ZodType< + GetEdgeConfigBackupsPagination, + z.ZodTypeDef, + unknown +> = z.object({ + hasNext: z.boolean(), + next: z.string().optional(), +}); + +/** @internal */ +export type GetEdgeConfigBackupsPagination$Outbound = { + hasNext: boolean; + next?: string | undefined; +}; + +/** @internal */ +export const GetEdgeConfigBackupsPagination$outboundSchema: z.ZodType< + GetEdgeConfigBackupsPagination$Outbound, + z.ZodTypeDef, + GetEdgeConfigBackupsPagination +> = z.object({ + hasNext: z.boolean(), + next: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigBackupsPagination$ { + /** @deprecated use `GetEdgeConfigBackupsPagination$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigBackupsPagination$inboundSchema; + /** @deprecated use `GetEdgeConfigBackupsPagination$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigBackupsPagination$outboundSchema; + /** @deprecated use `GetEdgeConfigBackupsPagination$Outbound` instead. */ + export type Outbound = GetEdgeConfigBackupsPagination$Outbound; +} + +export function getEdgeConfigBackupsPaginationToJSON( + getEdgeConfigBackupsPagination: GetEdgeConfigBackupsPagination, +): string { + return JSON.stringify( + GetEdgeConfigBackupsPagination$outboundSchema.parse( + getEdgeConfigBackupsPagination, + ), + ); +} + +export function getEdgeConfigBackupsPaginationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigBackupsPagination$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigBackupsPagination' from JSON`, + ); +} + +/** @internal */ +export const GetEdgeConfigBackupsResponseBody$inboundSchema: z.ZodType< + GetEdgeConfigBackupsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + backups: z.array(z.lazy(() => Backups$inboundSchema)), + pagination: z.lazy(() => GetEdgeConfigBackupsPagination$inboundSchema), +}); + +/** @internal */ +export type GetEdgeConfigBackupsResponseBody$Outbound = { + backups: Array; + pagination: GetEdgeConfigBackupsPagination$Outbound; +}; + +/** @internal */ +export const GetEdgeConfigBackupsResponseBody$outboundSchema: z.ZodType< + GetEdgeConfigBackupsResponseBody$Outbound, + z.ZodTypeDef, + GetEdgeConfigBackupsResponseBody +> = z.object({ + backups: z.array(z.lazy(() => Backups$outboundSchema)), + pagination: z.lazy(() => GetEdgeConfigBackupsPagination$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigBackupsResponseBody$ { + /** @deprecated use `GetEdgeConfigBackupsResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigBackupsResponseBody$inboundSchema; + /** @deprecated use `GetEdgeConfigBackupsResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigBackupsResponseBody$outboundSchema; + /** @deprecated use `GetEdgeConfigBackupsResponseBody$Outbound` instead. */ + export type Outbound = GetEdgeConfigBackupsResponseBody$Outbound; +} + +export function getEdgeConfigBackupsResponseBodyToJSON( + getEdgeConfigBackupsResponseBody: GetEdgeConfigBackupsResponseBody, +): string { + return JSON.stringify( + GetEdgeConfigBackupsResponseBody$outboundSchema.parse( + getEdgeConfigBackupsResponseBody, + ), + ); +} + +export function getEdgeConfigBackupsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigBackupsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigBackupsResponseBody' from JSON`, + ); +} diff --git a/src/models/getedgeconfigitemop.ts b/src/models/getedgeconfigitemop.ts new file mode 100644 index 00000000..d45f91e1 --- /dev/null +++ b/src/models/getedgeconfigitemop.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetEdgeConfigItemRequest = { + edgeConfigId: string; + edgeConfigItemKey: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const GetEdgeConfigItemRequest$inboundSchema: z.ZodType< + GetEdgeConfigItemRequest, + z.ZodTypeDef, + unknown +> = z.object({ + edgeConfigId: z.string(), + edgeConfigItemKey: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetEdgeConfigItemRequest$Outbound = { + edgeConfigId: string; + edgeConfigItemKey: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetEdgeConfigItemRequest$outboundSchema: z.ZodType< + GetEdgeConfigItemRequest$Outbound, + z.ZodTypeDef, + GetEdgeConfigItemRequest +> = z.object({ + edgeConfigId: z.string(), + edgeConfigItemKey: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigItemRequest$ { + /** @deprecated use `GetEdgeConfigItemRequest$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigItemRequest$inboundSchema; + /** @deprecated use `GetEdgeConfigItemRequest$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigItemRequest$outboundSchema; + /** @deprecated use `GetEdgeConfigItemRequest$Outbound` instead. */ + export type Outbound = GetEdgeConfigItemRequest$Outbound; +} + +export function getEdgeConfigItemRequestToJSON( + getEdgeConfigItemRequest: GetEdgeConfigItemRequest, +): string { + return JSON.stringify( + GetEdgeConfigItemRequest$outboundSchema.parse(getEdgeConfigItemRequest), + ); +} + +export function getEdgeConfigItemRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigItemRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigItemRequest' from JSON`, + ); +} diff --git a/src/models/getedgeconfigitemsop.ts b/src/models/getedgeconfigitemsop.ts new file mode 100644 index 00000000..93f9ed39 --- /dev/null +++ b/src/models/getedgeconfigitemsop.ts @@ -0,0 +1,80 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetEdgeConfigItemsRequest = { + edgeConfigId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const GetEdgeConfigItemsRequest$inboundSchema: z.ZodType< + GetEdgeConfigItemsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetEdgeConfigItemsRequest$Outbound = { + edgeConfigId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetEdgeConfigItemsRequest$outboundSchema: z.ZodType< + GetEdgeConfigItemsRequest$Outbound, + z.ZodTypeDef, + GetEdgeConfigItemsRequest +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigItemsRequest$ { + /** @deprecated use `GetEdgeConfigItemsRequest$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigItemsRequest$inboundSchema; + /** @deprecated use `GetEdgeConfigItemsRequest$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigItemsRequest$outboundSchema; + /** @deprecated use `GetEdgeConfigItemsRequest$Outbound` instead. */ + export type Outbound = GetEdgeConfigItemsRequest$Outbound; +} + +export function getEdgeConfigItemsRequestToJSON( + getEdgeConfigItemsRequest: GetEdgeConfigItemsRequest, +): string { + return JSON.stringify( + GetEdgeConfigItemsRequest$outboundSchema.parse(getEdgeConfigItemsRequest), + ); +} + +export function getEdgeConfigItemsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigItemsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigItemsRequest' from JSON`, + ); +} diff --git a/src/models/getedgeconfigop.ts b/src/models/getedgeconfigop.ts new file mode 100644 index 00000000..cdd8b211 --- /dev/null +++ b/src/models/getedgeconfigop.ts @@ -0,0 +1,395 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetEdgeConfigRequest = { + edgeConfigId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * Keeps track of the current state of the Edge Config while it gets transferred. + */ +export type GetEdgeConfigTransfer = { + fromAccountId: string; + startedAt: number; + doneAt: number | null; +}; + +export type GetEdgeConfigSchema = {}; + +export const GetEdgeConfigType = { + Flags: "flags", +} as const; +export type GetEdgeConfigType = ClosedEnum; + +export type GetEdgeConfigPurpose = { + type: GetEdgeConfigType; + projectId: string; +}; + +/** + * The EdgeConfig. + */ +export type GetEdgeConfigResponseBody = { + createdAt?: number | undefined; + updatedAt?: number | undefined; + id?: string | undefined; + /** + * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). + */ + slug?: string | undefined; + ownerId?: string | undefined; + digest?: string | undefined; + /** + * Keeps track of the current state of the Edge Config while it gets transferred. + */ + transfer?: GetEdgeConfigTransfer | undefined; + schema?: GetEdgeConfigSchema | undefined; + purpose?: GetEdgeConfigPurpose | undefined; + sizeInBytes: number; + itemCount: number; +}; + +/** @internal */ +export const GetEdgeConfigRequest$inboundSchema: z.ZodType< + GetEdgeConfigRequest, + z.ZodTypeDef, + unknown +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetEdgeConfigRequest$Outbound = { + edgeConfigId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetEdgeConfigRequest$outboundSchema: z.ZodType< + GetEdgeConfigRequest$Outbound, + z.ZodTypeDef, + GetEdgeConfigRequest +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigRequest$ { + /** @deprecated use `GetEdgeConfigRequest$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigRequest$inboundSchema; + /** @deprecated use `GetEdgeConfigRequest$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigRequest$outboundSchema; + /** @deprecated use `GetEdgeConfigRequest$Outbound` instead. */ + export type Outbound = GetEdgeConfigRequest$Outbound; +} + +export function getEdgeConfigRequestToJSON( + getEdgeConfigRequest: GetEdgeConfigRequest, +): string { + return JSON.stringify( + GetEdgeConfigRequest$outboundSchema.parse(getEdgeConfigRequest), + ); +} + +export function getEdgeConfigRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigRequest' from JSON`, + ); +} + +/** @internal */ +export const GetEdgeConfigTransfer$inboundSchema: z.ZodType< + GetEdgeConfigTransfer, + z.ZodTypeDef, + unknown +> = z.object({ + fromAccountId: z.string(), + startedAt: z.number(), + doneAt: z.nullable(z.number()), +}); + +/** @internal */ +export type GetEdgeConfigTransfer$Outbound = { + fromAccountId: string; + startedAt: number; + doneAt: number | null; +}; + +/** @internal */ +export const GetEdgeConfigTransfer$outboundSchema: z.ZodType< + GetEdgeConfigTransfer$Outbound, + z.ZodTypeDef, + GetEdgeConfigTransfer +> = z.object({ + fromAccountId: z.string(), + startedAt: z.number(), + doneAt: z.nullable(z.number()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigTransfer$ { + /** @deprecated use `GetEdgeConfigTransfer$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigTransfer$inboundSchema; + /** @deprecated use `GetEdgeConfigTransfer$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigTransfer$outboundSchema; + /** @deprecated use `GetEdgeConfigTransfer$Outbound` instead. */ + export type Outbound = GetEdgeConfigTransfer$Outbound; +} + +export function getEdgeConfigTransferToJSON( + getEdgeConfigTransfer: GetEdgeConfigTransfer, +): string { + return JSON.stringify( + GetEdgeConfigTransfer$outboundSchema.parse(getEdgeConfigTransfer), + ); +} + +export function getEdgeConfigTransferFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigTransfer$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigTransfer' from JSON`, + ); +} + +/** @internal */ +export const GetEdgeConfigSchema$inboundSchema: z.ZodType< + GetEdgeConfigSchema, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type GetEdgeConfigSchema$Outbound = {}; + +/** @internal */ +export const GetEdgeConfigSchema$outboundSchema: z.ZodType< + GetEdgeConfigSchema$Outbound, + z.ZodTypeDef, + GetEdgeConfigSchema +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigSchema$ { + /** @deprecated use `GetEdgeConfigSchema$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigSchema$inboundSchema; + /** @deprecated use `GetEdgeConfigSchema$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigSchema$outboundSchema; + /** @deprecated use `GetEdgeConfigSchema$Outbound` instead. */ + export type Outbound = GetEdgeConfigSchema$Outbound; +} + +export function getEdgeConfigSchemaToJSON( + getEdgeConfigSchema: GetEdgeConfigSchema, +): string { + return JSON.stringify( + GetEdgeConfigSchema$outboundSchema.parse(getEdgeConfigSchema), + ); +} + +export function getEdgeConfigSchemaFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigSchema$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigSchema' from JSON`, + ); +} + +/** @internal */ +export const GetEdgeConfigType$inboundSchema: z.ZodNativeEnum< + typeof GetEdgeConfigType +> = z.nativeEnum(GetEdgeConfigType); + +/** @internal */ +export const GetEdgeConfigType$outboundSchema: z.ZodNativeEnum< + typeof GetEdgeConfigType +> = GetEdgeConfigType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigType$ { + /** @deprecated use `GetEdgeConfigType$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigType$inboundSchema; + /** @deprecated use `GetEdgeConfigType$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigType$outboundSchema; +} + +/** @internal */ +export const GetEdgeConfigPurpose$inboundSchema: z.ZodType< + GetEdgeConfigPurpose, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetEdgeConfigType$inboundSchema, + projectId: z.string(), +}); + +/** @internal */ +export type GetEdgeConfigPurpose$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const GetEdgeConfigPurpose$outboundSchema: z.ZodType< + GetEdgeConfigPurpose$Outbound, + z.ZodTypeDef, + GetEdgeConfigPurpose +> = z.object({ + type: GetEdgeConfigType$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigPurpose$ { + /** @deprecated use `GetEdgeConfigPurpose$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigPurpose$inboundSchema; + /** @deprecated use `GetEdgeConfigPurpose$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigPurpose$outboundSchema; + /** @deprecated use `GetEdgeConfigPurpose$Outbound` instead. */ + export type Outbound = GetEdgeConfigPurpose$Outbound; +} + +export function getEdgeConfigPurposeToJSON( + getEdgeConfigPurpose: GetEdgeConfigPurpose, +): string { + return JSON.stringify( + GetEdgeConfigPurpose$outboundSchema.parse(getEdgeConfigPurpose), + ); +} + +export function getEdgeConfigPurposeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigPurpose$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigPurpose' from JSON`, + ); +} + +/** @internal */ +export const GetEdgeConfigResponseBody$inboundSchema: z.ZodType< + GetEdgeConfigResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + id: z.string().optional(), + slug: z.string().optional(), + ownerId: z.string().optional(), + digest: z.string().optional(), + transfer: z.lazy(() => GetEdgeConfigTransfer$inboundSchema).optional(), + schema: z.lazy(() => GetEdgeConfigSchema$inboundSchema).optional(), + purpose: z.lazy(() => GetEdgeConfigPurpose$inboundSchema).optional(), + sizeInBytes: z.number(), + itemCount: z.number(), +}); + +/** @internal */ +export type GetEdgeConfigResponseBody$Outbound = { + createdAt?: number | undefined; + updatedAt?: number | undefined; + id?: string | undefined; + slug?: string | undefined; + ownerId?: string | undefined; + digest?: string | undefined; + transfer?: GetEdgeConfigTransfer$Outbound | undefined; + schema?: GetEdgeConfigSchema$Outbound | undefined; + purpose?: GetEdgeConfigPurpose$Outbound | undefined; + sizeInBytes: number; + itemCount: number; +}; + +/** @internal */ +export const GetEdgeConfigResponseBody$outboundSchema: z.ZodType< + GetEdgeConfigResponseBody$Outbound, + z.ZodTypeDef, + GetEdgeConfigResponseBody +> = z.object({ + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + id: z.string().optional(), + slug: z.string().optional(), + ownerId: z.string().optional(), + digest: z.string().optional(), + transfer: z.lazy(() => GetEdgeConfigTransfer$outboundSchema).optional(), + schema: z.lazy(() => GetEdgeConfigSchema$outboundSchema).optional(), + purpose: z.lazy(() => GetEdgeConfigPurpose$outboundSchema).optional(), + sizeInBytes: z.number(), + itemCount: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigResponseBody$ { + /** @deprecated use `GetEdgeConfigResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigResponseBody$inboundSchema; + /** @deprecated use `GetEdgeConfigResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigResponseBody$outboundSchema; + /** @deprecated use `GetEdgeConfigResponseBody$Outbound` instead. */ + export type Outbound = GetEdgeConfigResponseBody$Outbound; +} + +export function getEdgeConfigResponseBodyToJSON( + getEdgeConfigResponseBody: GetEdgeConfigResponseBody, +): string { + return JSON.stringify( + GetEdgeConfigResponseBody$outboundSchema.parse(getEdgeConfigResponseBody), + ); +} + +export function getEdgeConfigResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigResponseBody' from JSON`, + ); +} diff --git a/src/models/getedgeconfigschemaop.ts b/src/models/getedgeconfigschemaop.ts new file mode 100644 index 00000000..ec3a526b --- /dev/null +++ b/src/models/getedgeconfigschemaop.ts @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetEdgeConfigSchemaRequest = { + edgeConfigId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * The EdgeConfig. + */ +export type GetEdgeConfigSchemaResponseBody = {}; + +/** @internal */ +export const GetEdgeConfigSchemaRequest$inboundSchema: z.ZodType< + GetEdgeConfigSchemaRequest, + z.ZodTypeDef, + unknown +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetEdgeConfigSchemaRequest$Outbound = { + edgeConfigId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetEdgeConfigSchemaRequest$outboundSchema: z.ZodType< + GetEdgeConfigSchemaRequest$Outbound, + z.ZodTypeDef, + GetEdgeConfigSchemaRequest +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigSchemaRequest$ { + /** @deprecated use `GetEdgeConfigSchemaRequest$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigSchemaRequest$inboundSchema; + /** @deprecated use `GetEdgeConfigSchemaRequest$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigSchemaRequest$outboundSchema; + /** @deprecated use `GetEdgeConfigSchemaRequest$Outbound` instead. */ + export type Outbound = GetEdgeConfigSchemaRequest$Outbound; +} + +export function getEdgeConfigSchemaRequestToJSON( + getEdgeConfigSchemaRequest: GetEdgeConfigSchemaRequest, +): string { + return JSON.stringify( + GetEdgeConfigSchemaRequest$outboundSchema.parse(getEdgeConfigSchemaRequest), + ); +} + +export function getEdgeConfigSchemaRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigSchemaRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigSchemaRequest' from JSON`, + ); +} + +/** @internal */ +export const GetEdgeConfigSchemaResponseBody$inboundSchema: z.ZodType< + GetEdgeConfigSchemaResponseBody, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type GetEdgeConfigSchemaResponseBody$Outbound = {}; + +/** @internal */ +export const GetEdgeConfigSchemaResponseBody$outboundSchema: z.ZodType< + GetEdgeConfigSchemaResponseBody$Outbound, + z.ZodTypeDef, + GetEdgeConfigSchemaResponseBody +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigSchemaResponseBody$ { + /** @deprecated use `GetEdgeConfigSchemaResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigSchemaResponseBody$inboundSchema; + /** @deprecated use `GetEdgeConfigSchemaResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigSchemaResponseBody$outboundSchema; + /** @deprecated use `GetEdgeConfigSchemaResponseBody$Outbound` instead. */ + export type Outbound = GetEdgeConfigSchemaResponseBody$Outbound; +} + +export function getEdgeConfigSchemaResponseBodyToJSON( + getEdgeConfigSchemaResponseBody: GetEdgeConfigSchemaResponseBody, +): string { + return JSON.stringify( + GetEdgeConfigSchemaResponseBody$outboundSchema.parse( + getEdgeConfigSchemaResponseBody, + ), + ); +} + +export function getEdgeConfigSchemaResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigSchemaResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigSchemaResponseBody' from JSON`, + ); +} diff --git a/src/models/getedgeconfigsop.ts b/src/models/getedgeconfigsop.ts new file mode 100644 index 00000000..b8a17ffa --- /dev/null +++ b/src/models/getedgeconfigsop.ts @@ -0,0 +1,370 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetEdgeConfigsRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * Keeps track of the current state of the Edge Config while it gets transferred. + */ +export type Transfer = { + fromAccountId: string; + startedAt: number; + doneAt: number | null; +}; + +export type Schema = {}; + +export const GetEdgeConfigsType = { + Flags: "flags", +} as const; +export type GetEdgeConfigsType = ClosedEnum; + +export type Purpose = { + type: GetEdgeConfigsType; + projectId: string; +}; + +export type GetEdgeConfigsResponseBody = { + id?: string | undefined; + createdAt?: number | undefined; + ownerId?: string | undefined; + /** + * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). + */ + slug?: string | undefined; + updatedAt?: number | undefined; + digest?: string | undefined; + /** + * Keeps track of the current state of the Edge Config while it gets transferred. + */ + transfer?: Transfer | undefined; + schema?: Schema | undefined; + purpose?: Purpose | undefined; + sizeInBytes: number; + itemCount: number; +}; + +/** @internal */ +export const GetEdgeConfigsRequest$inboundSchema: z.ZodType< + GetEdgeConfigsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetEdgeConfigsRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetEdgeConfigsRequest$outboundSchema: z.ZodType< + GetEdgeConfigsRequest$Outbound, + z.ZodTypeDef, + GetEdgeConfigsRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigsRequest$ { + /** @deprecated use `GetEdgeConfigsRequest$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigsRequest$inboundSchema; + /** @deprecated use `GetEdgeConfigsRequest$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigsRequest$outboundSchema; + /** @deprecated use `GetEdgeConfigsRequest$Outbound` instead. */ + export type Outbound = GetEdgeConfigsRequest$Outbound; +} + +export function getEdgeConfigsRequestToJSON( + getEdgeConfigsRequest: GetEdgeConfigsRequest, +): string { + return JSON.stringify( + GetEdgeConfigsRequest$outboundSchema.parse(getEdgeConfigsRequest), + ); +} + +export function getEdgeConfigsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigsRequest' from JSON`, + ); +} + +/** @internal */ +export const Transfer$inboundSchema: z.ZodType< + Transfer, + z.ZodTypeDef, + unknown +> = z.object({ + fromAccountId: z.string(), + startedAt: z.number(), + doneAt: z.nullable(z.number()), +}); + +/** @internal */ +export type Transfer$Outbound = { + fromAccountId: string; + startedAt: number; + doneAt: number | null; +}; + +/** @internal */ +export const Transfer$outboundSchema: z.ZodType< + Transfer$Outbound, + z.ZodTypeDef, + Transfer +> = z.object({ + fromAccountId: z.string(), + startedAt: z.number(), + doneAt: z.nullable(z.number()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Transfer$ { + /** @deprecated use `Transfer$inboundSchema` instead. */ + export const inboundSchema = Transfer$inboundSchema; + /** @deprecated use `Transfer$outboundSchema` instead. */ + export const outboundSchema = Transfer$outboundSchema; + /** @deprecated use `Transfer$Outbound` instead. */ + export type Outbound = Transfer$Outbound; +} + +export function transferToJSON(transfer: Transfer): string { + return JSON.stringify(Transfer$outboundSchema.parse(transfer)); +} + +export function transferFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Transfer$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Transfer' from JSON`, + ); +} + +/** @internal */ +export const Schema$inboundSchema: z.ZodType = z + .object({}); + +/** @internal */ +export type Schema$Outbound = {}; + +/** @internal */ +export const Schema$outboundSchema: z.ZodType< + Schema$Outbound, + z.ZodTypeDef, + Schema +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Schema$ { + /** @deprecated use `Schema$inboundSchema` instead. */ + export const inboundSchema = Schema$inboundSchema; + /** @deprecated use `Schema$outboundSchema` instead. */ + export const outboundSchema = Schema$outboundSchema; + /** @deprecated use `Schema$Outbound` instead. */ + export type Outbound = Schema$Outbound; +} + +export function schemaToJSON(schema: Schema): string { + return JSON.stringify(Schema$outboundSchema.parse(schema)); +} + +export function schemaFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Schema$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Schema' from JSON`, + ); +} + +/** @internal */ +export const GetEdgeConfigsType$inboundSchema: z.ZodNativeEnum< + typeof GetEdgeConfigsType +> = z.nativeEnum(GetEdgeConfigsType); + +/** @internal */ +export const GetEdgeConfigsType$outboundSchema: z.ZodNativeEnum< + typeof GetEdgeConfigsType +> = GetEdgeConfigsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigsType$ { + /** @deprecated use `GetEdgeConfigsType$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigsType$inboundSchema; + /** @deprecated use `GetEdgeConfigsType$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigsType$outboundSchema; +} + +/** @internal */ +export const Purpose$inboundSchema: z.ZodType = + z.object({ + type: GetEdgeConfigsType$inboundSchema, + projectId: z.string(), + }); + +/** @internal */ +export type Purpose$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const Purpose$outboundSchema: z.ZodType< + Purpose$Outbound, + z.ZodTypeDef, + Purpose +> = z.object({ + type: GetEdgeConfigsType$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Purpose$ { + /** @deprecated use `Purpose$inboundSchema` instead. */ + export const inboundSchema = Purpose$inboundSchema; + /** @deprecated use `Purpose$outboundSchema` instead. */ + export const outboundSchema = Purpose$outboundSchema; + /** @deprecated use `Purpose$Outbound` instead. */ + export type Outbound = Purpose$Outbound; +} + +export function purposeToJSON(purpose: Purpose): string { + return JSON.stringify(Purpose$outboundSchema.parse(purpose)); +} + +export function purposeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Purpose$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Purpose' from JSON`, + ); +} + +/** @internal */ +export const GetEdgeConfigsResponseBody$inboundSchema: z.ZodType< + GetEdgeConfigsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + createdAt: z.number().optional(), + ownerId: z.string().optional(), + slug: z.string().optional(), + updatedAt: z.number().optional(), + digest: z.string().optional(), + transfer: z.lazy(() => Transfer$inboundSchema).optional(), + schema: z.lazy(() => Schema$inboundSchema).optional(), + purpose: z.lazy(() => Purpose$inboundSchema).optional(), + sizeInBytes: z.number(), + itemCount: z.number(), +}); + +/** @internal */ +export type GetEdgeConfigsResponseBody$Outbound = { + id?: string | undefined; + createdAt?: number | undefined; + ownerId?: string | undefined; + slug?: string | undefined; + updatedAt?: number | undefined; + digest?: string | undefined; + transfer?: Transfer$Outbound | undefined; + schema?: Schema$Outbound | undefined; + purpose?: Purpose$Outbound | undefined; + sizeInBytes: number; + itemCount: number; +}; + +/** @internal */ +export const GetEdgeConfigsResponseBody$outboundSchema: z.ZodType< + GetEdgeConfigsResponseBody$Outbound, + z.ZodTypeDef, + GetEdgeConfigsResponseBody +> = z.object({ + id: z.string().optional(), + createdAt: z.number().optional(), + ownerId: z.string().optional(), + slug: z.string().optional(), + updatedAt: z.number().optional(), + digest: z.string().optional(), + transfer: z.lazy(() => Transfer$outboundSchema).optional(), + schema: z.lazy(() => Schema$outboundSchema).optional(), + purpose: z.lazy(() => Purpose$outboundSchema).optional(), + sizeInBytes: z.number(), + itemCount: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigsResponseBody$ { + /** @deprecated use `GetEdgeConfigsResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigsResponseBody$inboundSchema; + /** @deprecated use `GetEdgeConfigsResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigsResponseBody$outboundSchema; + /** @deprecated use `GetEdgeConfigsResponseBody$Outbound` instead. */ + export type Outbound = GetEdgeConfigsResponseBody$Outbound; +} + +export function getEdgeConfigsResponseBodyToJSON( + getEdgeConfigsResponseBody: GetEdgeConfigsResponseBody, +): string { + return JSON.stringify( + GetEdgeConfigsResponseBody$outboundSchema.parse(getEdgeConfigsResponseBody), + ); +} + +export function getEdgeConfigsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigsResponseBody' from JSON`, + ); +} diff --git a/src/models/getedgeconfigtokenop.ts b/src/models/getedgeconfigtokenop.ts new file mode 100644 index 00000000..4207ac5f --- /dev/null +++ b/src/models/getedgeconfigtokenop.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetEdgeConfigTokenRequest = { + edgeConfigId: string; + token: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const GetEdgeConfigTokenRequest$inboundSchema: z.ZodType< + GetEdgeConfigTokenRequest, + z.ZodTypeDef, + unknown +> = z.object({ + edgeConfigId: z.string(), + token: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetEdgeConfigTokenRequest$Outbound = { + edgeConfigId: string; + token: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetEdgeConfigTokenRequest$outboundSchema: z.ZodType< + GetEdgeConfigTokenRequest$Outbound, + z.ZodTypeDef, + GetEdgeConfigTokenRequest +> = z.object({ + edgeConfigId: z.string(), + token: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigTokenRequest$ { + /** @deprecated use `GetEdgeConfigTokenRequest$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigTokenRequest$inboundSchema; + /** @deprecated use `GetEdgeConfigTokenRequest$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigTokenRequest$outboundSchema; + /** @deprecated use `GetEdgeConfigTokenRequest$Outbound` instead. */ + export type Outbound = GetEdgeConfigTokenRequest$Outbound; +} + +export function getEdgeConfigTokenRequestToJSON( + getEdgeConfigTokenRequest: GetEdgeConfigTokenRequest, +): string { + return JSON.stringify( + GetEdgeConfigTokenRequest$outboundSchema.parse(getEdgeConfigTokenRequest), + ); +} + +export function getEdgeConfigTokenRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigTokenRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigTokenRequest' from JSON`, + ); +} diff --git a/src/models/getedgeconfigtokensop.ts b/src/models/getedgeconfigtokensop.ts new file mode 100644 index 00000000..a44dba3a --- /dev/null +++ b/src/models/getedgeconfigtokensop.ts @@ -0,0 +1,80 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetEdgeConfigTokensRequest = { + edgeConfigId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const GetEdgeConfigTokensRequest$inboundSchema: z.ZodType< + GetEdgeConfigTokensRequest, + z.ZodTypeDef, + unknown +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetEdgeConfigTokensRequest$Outbound = { + edgeConfigId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetEdgeConfigTokensRequest$outboundSchema: z.ZodType< + GetEdgeConfigTokensRequest$Outbound, + z.ZodTypeDef, + GetEdgeConfigTokensRequest +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetEdgeConfigTokensRequest$ { + /** @deprecated use `GetEdgeConfigTokensRequest$inboundSchema` instead. */ + export const inboundSchema = GetEdgeConfigTokensRequest$inboundSchema; + /** @deprecated use `GetEdgeConfigTokensRequest$outboundSchema` instead. */ + export const outboundSchema = GetEdgeConfigTokensRequest$outboundSchema; + /** @deprecated use `GetEdgeConfigTokensRequest$Outbound` instead. */ + export type Outbound = GetEdgeConfigTokensRequest$Outbound; +} + +export function getEdgeConfigTokensRequestToJSON( + getEdgeConfigTokensRequest: GetEdgeConfigTokensRequest, +): string { + return JSON.stringify( + GetEdgeConfigTokensRequest$outboundSchema.parse(getEdgeConfigTokensRequest), + ); +} + +export function getEdgeConfigTokensRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetEdgeConfigTokensRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetEdgeConfigTokensRequest' from JSON`, + ); +} diff --git a/src/models/getfirewallconfigop.ts b/src/models/getfirewallconfigop.ts new file mode 100644 index 00000000..2623c202 --- /dev/null +++ b/src/models/getfirewallconfigop.ts @@ -0,0 +1,2577 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetFirewallConfigRequest = { + projectId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + /** + * The deployed configVersion for the firewall configuration + */ + configVersion: string; +}; + +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction = + { + Deny: "deny", + Log: "log", + } as const; +export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction = + ClosedEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction + >; + +/** + * Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools. + */ +export type GetFirewallConfigSd = { + active: boolean; + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction; +}; + +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction = + { + Deny: "deny", + Log: "log", + } as const; +export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction = + ClosedEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction + >; + +/** + * Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding. + */ +export type GetFirewallConfigMa = { + active: boolean; + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction; +}; + +export const GetFirewallConfigSecurityResponseAction = { + Deny: "deny", + Log: "log", +} as const; +export type GetFirewallConfigSecurityResponseAction = ClosedEnum< + typeof GetFirewallConfigSecurityResponseAction +>; + +/** + * Local File Inclusion Attack - Prevent unauthorized access to local files through web applications. + */ +export type GetFirewallConfigLfi = { + active: boolean; + action: GetFirewallConfigSecurityResponseAction; +}; + +export const GetFirewallConfigSecurityResponse200Action = { + Deny: "deny", + Log: "log", +} as const; +export type GetFirewallConfigSecurityResponse200Action = ClosedEnum< + typeof GetFirewallConfigSecurityResponse200Action +>; + +/** + * Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files. + */ +export type GetFirewallConfigRfi = { + active: boolean; + action: GetFirewallConfigSecurityResponse200Action; +}; + +export const GetFirewallConfigSecurityResponse200ApplicationJSONAction = { + Deny: "deny", + Log: "log", +} as const; +export type GetFirewallConfigSecurityResponse200ApplicationJSONAction = + ClosedEnum; + +/** + * Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands. + */ +export type GetFirewallConfigRce = { + active: boolean; + action: GetFirewallConfigSecurityResponse200ApplicationJSONAction; +}; + +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction = + { + Deny: "deny", + Log: "log", + } as const; +export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction = + ClosedEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction + >; + +/** + * PHP Attack - Safeguard against vulnerability exploits in PHP-based applications. + */ +export type GetFirewallConfigPhp = { + active: boolean; + action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction; +}; + +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction = + { + Deny: "deny", + Log: "log", + } as const; +export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction = + ClosedEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction + >; + +/** + * Generic Attack - Provide broad protection from various undefined or novel attack vectors. + */ +export type GetFirewallConfigGen = { + active: boolean; + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction; +}; + +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction = + { + Deny: "deny", + Log: "log", + } as const; +export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction = + ClosedEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction + >; + +/** + * XSS Attack - Prevent injection of malicious scripts into trusted webpages. + */ +export type GetFirewallConfigXss = { + active: boolean; + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction; +}; + +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction = + { + Deny: "deny", + Log: "log", + } as const; +export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction = + ClosedEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction + >; + +/** + * SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases. + */ +export type GetFirewallConfigSqli = { + active: boolean; + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction; +}; + +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction = + { + Deny: "deny", + Log: "log", + } as const; +export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction = + ClosedEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction + >; + +/** + * Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs. + */ +export type GetFirewallConfigSf = { + active: boolean; + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction; +}; + +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction = + { + Deny: "deny", + Log: "log", + } as const; +export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction = + ClosedEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction + >; + +/** + * Java Attack - Mitigate risks of exploitation targeting Java-based applications or components. + */ +export type GetFirewallConfigJava = { + active: boolean; + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction; +}; + +/** + * Custom Ruleset + */ +export type GetFirewallConfigCrs = { + /** + * Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools. + */ + sd: GetFirewallConfigSd; + /** + * Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding. + */ + ma: GetFirewallConfigMa; + /** + * Local File Inclusion Attack - Prevent unauthorized access to local files through web applications. + */ + lfi: GetFirewallConfigLfi; + /** + * Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files. + */ + rfi: GetFirewallConfigRfi; + /** + * Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands. + */ + rce: GetFirewallConfigRce; + /** + * PHP Attack - Safeguard against vulnerability exploits in PHP-based applications. + */ + php: GetFirewallConfigPhp; + /** + * Generic Attack - Provide broad protection from various undefined or novel attack vectors. + */ + gen: GetFirewallConfigGen; + /** + * XSS Attack - Prevent injection of malicious scripts into trusted webpages. + */ + xss: GetFirewallConfigXss; + /** + * SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases. + */ + sqli: GetFirewallConfigSqli; + /** + * Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs. + */ + sf: GetFirewallConfigSf; + /** + * Java Attack - Mitigate risks of exploitation targeting Java-based applications or components. + */ + java: GetFirewallConfigJava; +}; + +/** + * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. + */ +export const GetFirewallConfigType = { + Host: "host", + Path: "path", + Method: "method", + Header: "header", + Query: "query", + Cookie: "cookie", + TargetPath: "target_path", + RawPath: "raw_path", + IpAddress: "ip_address", + Protocol: "protocol", + Region: "region", + Scheme: "scheme", + Environment: "environment", + UserAgent: "user_agent", + GeoContinent: "geo_continent", + GeoCountry: "geo_country", + GeoCountryRegion: "geo_country_region", + GeoCity: "geo_city", + GeoAsNumber: "geo_as_number", + Ja4Digest: "ja4_digest", + Ja3Digest: "ja3_digest", + RateLimitApiId: "rate_limit_api_id", +} as const; +/** + * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. + */ +export type GetFirewallConfigType = ClosedEnum; + +/** + * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value + */ +export const GetFirewallConfigOp = { + Re: "re", + Eq: "eq", + Ex: "ex", + Inc: "inc", + Pre: "pre", + Suf: "suf", + Sub: "sub", + Gt: "gt", + Gte: "gte", + Lt: "lt", + Lte: "lte", + Nex: "nex", + Ninc: "ninc", + Neq: "neq", +} as const; +/** + * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value + */ +export type GetFirewallConfigOp = ClosedEnum; + +export type GetFirewallConfigValue = string | number | Array; + +export type GetFirewallConfigConditions = { + /** + * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. + */ + type: GetFirewallConfigType; + /** + * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value + */ + op: GetFirewallConfigOp; + neg?: boolean | undefined; + key?: string | undefined; + value?: string | number | Array | undefined; +}; + +export type GetFirewallConfigConditionGroup = { + conditions: Array; +}; + +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction = + { + Deny: "deny", + Log: "log", + Challenge: "challenge", + Bypass: "bypass", + RateLimit: "rate_limit", + Redirect: "redirect", + } as const; +export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction = + ClosedEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction + >; + +export const GetFirewallConfigAlgo = { + FixedWindow: "fixed_window", + TokenBucket: "token_bucket", +} as const; +export type GetFirewallConfigAlgo = ClosedEnum; + +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction = + { + Deny: "deny", + Log: "log", + Challenge: "challenge", + RateLimit: "rate_limit", + } as const; +export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction = + ClosedEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction + >; + +export type GetFirewallConfigRateLimit = { + algo: GetFirewallConfigAlgo; + window: number; + limit: number; + keys: Array; + action?: + | GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction + | null + | undefined; +}; + +export type GetFirewallConfigRedirect = { + location: string; + permanent: boolean; +}; + +export type GetFirewallConfigMitigate = { + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction; + rateLimit?: GetFirewallConfigRateLimit | null | undefined; + redirect?: GetFirewallConfigRedirect | null | undefined; + actionDuration?: string | null | undefined; +}; + +export type GetFirewallConfigAction = { + mitigate?: GetFirewallConfigMitigate | undefined; +}; + +export type GetFirewallConfigRules = { + id: string; + name: string; + description?: string | undefined; + active: boolean; + conditionGroup: Array; + action: GetFirewallConfigAction; +}; + +export const GetFirewallConfigSecurityAction = { + Deny: "deny", + Log: "log", + Challenge: "challenge", + Bypass: "bypass", +} as const; +export type GetFirewallConfigSecurityAction = ClosedEnum< + typeof GetFirewallConfigSecurityAction +>; + +export type GetFirewallConfigIps = { + id: string; + hostname: string; + ip: string; + notes?: string | undefined; + action: GetFirewallConfigSecurityAction; +}; + +export type Changes = {}; + +export type GetFirewallConfigOwasp = { + active: boolean; + updatedAt?: string | undefined; + userId?: string | undefined; + username?: string | undefined; +}; + +export type VerifiedBotsBypass = { + active: boolean; + updatedAt?: string | undefined; + userId?: string | undefined; + username?: string | undefined; +}; + +export type GetFirewallConfigManagedRules = { + owasp?: GetFirewallConfigOwasp | undefined; + verifiedBotsBypass?: VerifiedBotsBypass | undefined; +}; + +export type GetFirewallConfigResponseBody = { + ownerId: string; + projectKey: string; + id: string; + version: number; + updatedAt: string; + firewallEnabled: boolean; + /** + * Custom Ruleset + */ + crs: GetFirewallConfigCrs; + rules: Array; + ips: Array; + changes: Array; + managedRules?: GetFirewallConfigManagedRules | undefined; +}; + +/** @internal */ +export const GetFirewallConfigRequest$inboundSchema: z.ZodType< + GetFirewallConfigRequest, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + configVersion: z.string(), +}); + +/** @internal */ +export type GetFirewallConfigRequest$Outbound = { + projectId: string; + teamId?: string | undefined; + slug?: string | undefined; + configVersion: string; +}; + +/** @internal */ +export const GetFirewallConfigRequest$outboundSchema: z.ZodType< + GetFirewallConfigRequest$Outbound, + z.ZodTypeDef, + GetFirewallConfigRequest +> = z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + configVersion: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigRequest$ { + /** @deprecated use `GetFirewallConfigRequest$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigRequest$inboundSchema; + /** @deprecated use `GetFirewallConfigRequest$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigRequest$outboundSchema; + /** @deprecated use `GetFirewallConfigRequest$Outbound` instead. */ + export type Outbound = GetFirewallConfigRequest$Outbound; +} + +export function getFirewallConfigRequestToJSON( + getFirewallConfigRequest: GetFirewallConfigRequest, +): string { + return JSON.stringify( + GetFirewallConfigRequest$outboundSchema.parse(getFirewallConfigRequest), + ); +} + +export function getFirewallConfigRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigRequest' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction + > = z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction, + ); + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$outboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction + > = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$ { + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema` instead. */ + export const inboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema; + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$outboundSchema` instead. */ + export const outboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigSd$inboundSchema: z.ZodType< + GetFirewallConfigSd, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema, +}); + +/** @internal */ +export type GetFirewallConfigSd$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const GetFirewallConfigSd$outboundSchema: z.ZodType< + GetFirewallConfigSd$Outbound, + z.ZodTypeDef, + GetFirewallConfigSd +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSd$ { + /** @deprecated use `GetFirewallConfigSd$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigSd$inboundSchema; + /** @deprecated use `GetFirewallConfigSd$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigSd$outboundSchema; + /** @deprecated use `GetFirewallConfigSd$Outbound` instead. */ + export type Outbound = GetFirewallConfigSd$Outbound; +} + +export function getFirewallConfigSdToJSON( + getFirewallConfigSd: GetFirewallConfigSd, +): string { + return JSON.stringify( + GetFirewallConfigSd$outboundSchema.parse(getFirewallConfigSd), + ); +} + +export function getFirewallConfigSdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigSd$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigSd' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction + > = z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction, + ); + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$outboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction + > = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$ { + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema` instead. */ + export const inboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema; + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$outboundSchema` instead. */ + export const outboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigMa$inboundSchema: z.ZodType< + GetFirewallConfigMa, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema, +}); + +/** @internal */ +export type GetFirewallConfigMa$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const GetFirewallConfigMa$outboundSchema: z.ZodType< + GetFirewallConfigMa$Outbound, + z.ZodTypeDef, + GetFirewallConfigMa +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigMa$ { + /** @deprecated use `GetFirewallConfigMa$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigMa$inboundSchema; + /** @deprecated use `GetFirewallConfigMa$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigMa$outboundSchema; + /** @deprecated use `GetFirewallConfigMa$Outbound` instead. */ + export type Outbound = GetFirewallConfigMa$Outbound; +} + +export function getFirewallConfigMaToJSON( + getFirewallConfigMa: GetFirewallConfigMa, +): string { + return JSON.stringify( + GetFirewallConfigMa$outboundSchema.parse(getFirewallConfigMa), + ); +} + +export function getFirewallConfigMaFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigMa$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigMa' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigSecurityResponseAction$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetFirewallConfigSecurityResponseAction); + +/** @internal */ +export const GetFirewallConfigSecurityResponseAction$outboundSchema: + z.ZodNativeEnum = + GetFirewallConfigSecurityResponseAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSecurityResponseAction$ { + /** @deprecated use `GetFirewallConfigSecurityResponseAction$inboundSchema` instead. */ + export const inboundSchema = + GetFirewallConfigSecurityResponseAction$inboundSchema; + /** @deprecated use `GetFirewallConfigSecurityResponseAction$outboundSchema` instead. */ + export const outboundSchema = + GetFirewallConfigSecurityResponseAction$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigLfi$inboundSchema: z.ZodType< + GetFirewallConfigLfi, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: GetFirewallConfigSecurityResponseAction$inboundSchema, +}); + +/** @internal */ +export type GetFirewallConfigLfi$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const GetFirewallConfigLfi$outboundSchema: z.ZodType< + GetFirewallConfigLfi$Outbound, + z.ZodTypeDef, + GetFirewallConfigLfi +> = z.object({ + active: z.boolean(), + action: GetFirewallConfigSecurityResponseAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigLfi$ { + /** @deprecated use `GetFirewallConfigLfi$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigLfi$inboundSchema; + /** @deprecated use `GetFirewallConfigLfi$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigLfi$outboundSchema; + /** @deprecated use `GetFirewallConfigLfi$Outbound` instead. */ + export type Outbound = GetFirewallConfigLfi$Outbound; +} + +export function getFirewallConfigLfiToJSON( + getFirewallConfigLfi: GetFirewallConfigLfi, +): string { + return JSON.stringify( + GetFirewallConfigLfi$outboundSchema.parse(getFirewallConfigLfi), + ); +} + +export function getFirewallConfigLfiFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigLfi$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigLfi' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigSecurityResponse200Action$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetFirewallConfigSecurityResponse200Action); + +/** @internal */ +export const GetFirewallConfigSecurityResponse200Action$outboundSchema: + z.ZodNativeEnum = + GetFirewallConfigSecurityResponse200Action$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSecurityResponse200Action$ { + /** @deprecated use `GetFirewallConfigSecurityResponse200Action$inboundSchema` instead. */ + export const inboundSchema = + GetFirewallConfigSecurityResponse200Action$inboundSchema; + /** @deprecated use `GetFirewallConfigSecurityResponse200Action$outboundSchema` instead. */ + export const outboundSchema = + GetFirewallConfigSecurityResponse200Action$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigRfi$inboundSchema: z.ZodType< + GetFirewallConfigRfi, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: GetFirewallConfigSecurityResponse200Action$inboundSchema, +}); + +/** @internal */ +export type GetFirewallConfigRfi$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const GetFirewallConfigRfi$outboundSchema: z.ZodType< + GetFirewallConfigRfi$Outbound, + z.ZodTypeDef, + GetFirewallConfigRfi +> = z.object({ + active: z.boolean(), + action: GetFirewallConfigSecurityResponse200Action$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigRfi$ { + /** @deprecated use `GetFirewallConfigRfi$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigRfi$inboundSchema; + /** @deprecated use `GetFirewallConfigRfi$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigRfi$outboundSchema; + /** @deprecated use `GetFirewallConfigRfi$Outbound` instead. */ + export type Outbound = GetFirewallConfigRfi$Outbound; +} + +export function getFirewallConfigRfiToJSON( + getFirewallConfigRfi: GetFirewallConfigRfi, +): string { + return JSON.stringify( + GetFirewallConfigRfi$outboundSchema.parse(getFirewallConfigRfi), + ); +} + +export function getFirewallConfigRfiFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigRfi$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigRfi' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONAction + > = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONAction); + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONAction + > = GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSecurityResponse200ApplicationJSONAction$ { + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema` instead. */ + export const inboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema; + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema` instead. */ + export const outboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigRce$inboundSchema: z.ZodType< + GetFirewallConfigRce, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema, +}); + +/** @internal */ +export type GetFirewallConfigRce$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const GetFirewallConfigRce$outboundSchema: z.ZodType< + GetFirewallConfigRce$Outbound, + z.ZodTypeDef, + GetFirewallConfigRce +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigRce$ { + /** @deprecated use `GetFirewallConfigRce$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigRce$inboundSchema; + /** @deprecated use `GetFirewallConfigRce$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigRce$outboundSchema; + /** @deprecated use `GetFirewallConfigRce$Outbound` instead. */ + export type Outbound = GetFirewallConfigRce$Outbound; +} + +export function getFirewallConfigRceToJSON( + getFirewallConfigRce: GetFirewallConfigRce, +): string { + return JSON.stringify( + GetFirewallConfigRce$outboundSchema.parse(getFirewallConfigRce), + ); +} + +export function getFirewallConfigRceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigRce$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigRce' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction + > = z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction, + ); + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction + > = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$ { + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema` instead. */ + export const inboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema; + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema` instead. */ + export const outboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigPhp$inboundSchema: z.ZodType< + GetFirewallConfigPhp, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, +}); + +/** @internal */ +export type GetFirewallConfigPhp$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const GetFirewallConfigPhp$outboundSchema: z.ZodType< + GetFirewallConfigPhp$Outbound, + z.ZodTypeDef, + GetFirewallConfigPhp +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigPhp$ { + /** @deprecated use `GetFirewallConfigPhp$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigPhp$inboundSchema; + /** @deprecated use `GetFirewallConfigPhp$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigPhp$outboundSchema; + /** @deprecated use `GetFirewallConfigPhp$Outbound` instead. */ + export type Outbound = GetFirewallConfigPhp$Outbound; +} + +export function getFirewallConfigPhpToJSON( + getFirewallConfigPhp: GetFirewallConfigPhp, +): string { + return JSON.stringify( + GetFirewallConfigPhp$outboundSchema.parse(getFirewallConfigPhp), + ); +} + +export function getFirewallConfigPhpFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigPhp$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigPhp' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction + > = z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction, + ); + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$outboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction + > = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$ { + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema` instead. */ + export const inboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema; + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$outboundSchema` instead. */ + export const outboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigGen$inboundSchema: z.ZodType< + GetFirewallConfigGen, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema, +}); + +/** @internal */ +export type GetFirewallConfigGen$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const GetFirewallConfigGen$outboundSchema: z.ZodType< + GetFirewallConfigGen$Outbound, + z.ZodTypeDef, + GetFirewallConfigGen +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigGen$ { + /** @deprecated use `GetFirewallConfigGen$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigGen$inboundSchema; + /** @deprecated use `GetFirewallConfigGen$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigGen$outboundSchema; + /** @deprecated use `GetFirewallConfigGen$Outbound` instead. */ + export type Outbound = GetFirewallConfigGen$Outbound; +} + +export function getFirewallConfigGenToJSON( + getFirewallConfigGen: GetFirewallConfigGen, +): string { + return JSON.stringify( + GetFirewallConfigGen$outboundSchema.parse(getFirewallConfigGen), + ); +} + +export function getFirewallConfigGenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigGen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigGen' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction + > = z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction, + ); + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$outboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction + > = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$ { + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema` instead. */ + export const inboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema; + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$outboundSchema` instead. */ + export const outboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigXss$inboundSchema: z.ZodType< + GetFirewallConfigXss, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema, +}); + +/** @internal */ +export type GetFirewallConfigXss$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const GetFirewallConfigXss$outboundSchema: z.ZodType< + GetFirewallConfigXss$Outbound, + z.ZodTypeDef, + GetFirewallConfigXss +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigXss$ { + /** @deprecated use `GetFirewallConfigXss$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigXss$inboundSchema; + /** @deprecated use `GetFirewallConfigXss$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigXss$outboundSchema; + /** @deprecated use `GetFirewallConfigXss$Outbound` instead. */ + export type Outbound = GetFirewallConfigXss$Outbound; +} + +export function getFirewallConfigXssToJSON( + getFirewallConfigXss: GetFirewallConfigXss, +): string { + return JSON.stringify( + GetFirewallConfigXss$outboundSchema.parse(getFirewallConfigXss), + ); +} + +export function getFirewallConfigXssFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigXss$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigXss' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction + > = z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction, + ); + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$outboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction + > = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$ { + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema` instead. */ + export const inboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema; + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$outboundSchema` instead. */ + export const outboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigSqli$inboundSchema: z.ZodType< + GetFirewallConfigSqli, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema, +}); + +/** @internal */ +export type GetFirewallConfigSqli$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const GetFirewallConfigSqli$outboundSchema: z.ZodType< + GetFirewallConfigSqli$Outbound, + z.ZodTypeDef, + GetFirewallConfigSqli +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSqli$ { + /** @deprecated use `GetFirewallConfigSqli$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigSqli$inboundSchema; + /** @deprecated use `GetFirewallConfigSqli$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigSqli$outboundSchema; + /** @deprecated use `GetFirewallConfigSqli$Outbound` instead. */ + export type Outbound = GetFirewallConfigSqli$Outbound; +} + +export function getFirewallConfigSqliToJSON( + getFirewallConfigSqli: GetFirewallConfigSqli, +): string { + return JSON.stringify( + GetFirewallConfigSqli$outboundSchema.parse(getFirewallConfigSqli), + ); +} + +export function getFirewallConfigSqliFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigSqli$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigSqli' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction + > = z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction, + ); + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$outboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction + > = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$ { + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema` instead. */ + export const inboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema; + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$outboundSchema` instead. */ + export const outboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigSf$inboundSchema: z.ZodType< + GetFirewallConfigSf, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema, +}); + +/** @internal */ +export type GetFirewallConfigSf$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const GetFirewallConfigSf$outboundSchema: z.ZodType< + GetFirewallConfigSf$Outbound, + z.ZodTypeDef, + GetFirewallConfigSf +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSf$ { + /** @deprecated use `GetFirewallConfigSf$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigSf$inboundSchema; + /** @deprecated use `GetFirewallConfigSf$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigSf$outboundSchema; + /** @deprecated use `GetFirewallConfigSf$Outbound` instead. */ + export type Outbound = GetFirewallConfigSf$Outbound; +} + +export function getFirewallConfigSfToJSON( + getFirewallConfigSf: GetFirewallConfigSf, +): string { + return JSON.stringify( + GetFirewallConfigSf$outboundSchema.parse(getFirewallConfigSf), + ); +} + +export function getFirewallConfigSfFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigSf$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigSf' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction + > = z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction, + ); + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$outboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction + > = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$ { + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema` instead. */ + export const inboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema; + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$outboundSchema` instead. */ + export const outboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigJava$inboundSchema: z.ZodType< + GetFirewallConfigJava, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema, +}); + +/** @internal */ +export type GetFirewallConfigJava$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const GetFirewallConfigJava$outboundSchema: z.ZodType< + GetFirewallConfigJava$Outbound, + z.ZodTypeDef, + GetFirewallConfigJava +> = z.object({ + active: z.boolean(), + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigJava$ { + /** @deprecated use `GetFirewallConfigJava$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigJava$inboundSchema; + /** @deprecated use `GetFirewallConfigJava$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigJava$outboundSchema; + /** @deprecated use `GetFirewallConfigJava$Outbound` instead. */ + export type Outbound = GetFirewallConfigJava$Outbound; +} + +export function getFirewallConfigJavaToJSON( + getFirewallConfigJava: GetFirewallConfigJava, +): string { + return JSON.stringify( + GetFirewallConfigJava$outboundSchema.parse(getFirewallConfigJava), + ); +} + +export function getFirewallConfigJavaFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigJava$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigJava' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigCrs$inboundSchema: z.ZodType< + GetFirewallConfigCrs, + z.ZodTypeDef, + unknown +> = z.object({ + sd: z.lazy(() => GetFirewallConfigSd$inboundSchema), + ma: z.lazy(() => GetFirewallConfigMa$inboundSchema), + lfi: z.lazy(() => GetFirewallConfigLfi$inboundSchema), + rfi: z.lazy(() => GetFirewallConfigRfi$inboundSchema), + rce: z.lazy(() => GetFirewallConfigRce$inboundSchema), + php: z.lazy(() => GetFirewallConfigPhp$inboundSchema), + gen: z.lazy(() => GetFirewallConfigGen$inboundSchema), + xss: z.lazy(() => GetFirewallConfigXss$inboundSchema), + sqli: z.lazy(() => GetFirewallConfigSqli$inboundSchema), + sf: z.lazy(() => GetFirewallConfigSf$inboundSchema), + java: z.lazy(() => GetFirewallConfigJava$inboundSchema), +}); + +/** @internal */ +export type GetFirewallConfigCrs$Outbound = { + sd: GetFirewallConfigSd$Outbound; + ma: GetFirewallConfigMa$Outbound; + lfi: GetFirewallConfigLfi$Outbound; + rfi: GetFirewallConfigRfi$Outbound; + rce: GetFirewallConfigRce$Outbound; + php: GetFirewallConfigPhp$Outbound; + gen: GetFirewallConfigGen$Outbound; + xss: GetFirewallConfigXss$Outbound; + sqli: GetFirewallConfigSqli$Outbound; + sf: GetFirewallConfigSf$Outbound; + java: GetFirewallConfigJava$Outbound; +}; + +/** @internal */ +export const GetFirewallConfigCrs$outboundSchema: z.ZodType< + GetFirewallConfigCrs$Outbound, + z.ZodTypeDef, + GetFirewallConfigCrs +> = z.object({ + sd: z.lazy(() => GetFirewallConfigSd$outboundSchema), + ma: z.lazy(() => GetFirewallConfigMa$outboundSchema), + lfi: z.lazy(() => GetFirewallConfigLfi$outboundSchema), + rfi: z.lazy(() => GetFirewallConfigRfi$outboundSchema), + rce: z.lazy(() => GetFirewallConfigRce$outboundSchema), + php: z.lazy(() => GetFirewallConfigPhp$outboundSchema), + gen: z.lazy(() => GetFirewallConfigGen$outboundSchema), + xss: z.lazy(() => GetFirewallConfigXss$outboundSchema), + sqli: z.lazy(() => GetFirewallConfigSqli$outboundSchema), + sf: z.lazy(() => GetFirewallConfigSf$outboundSchema), + java: z.lazy(() => GetFirewallConfigJava$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigCrs$ { + /** @deprecated use `GetFirewallConfigCrs$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigCrs$inboundSchema; + /** @deprecated use `GetFirewallConfigCrs$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigCrs$outboundSchema; + /** @deprecated use `GetFirewallConfigCrs$Outbound` instead. */ + export type Outbound = GetFirewallConfigCrs$Outbound; +} + +export function getFirewallConfigCrsToJSON( + getFirewallConfigCrs: GetFirewallConfigCrs, +): string { + return JSON.stringify( + GetFirewallConfigCrs$outboundSchema.parse(getFirewallConfigCrs), + ); +} + +export function getFirewallConfigCrsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigCrs$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigCrs' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigType$inboundSchema: z.ZodNativeEnum< + typeof GetFirewallConfigType +> = z.nativeEnum(GetFirewallConfigType); + +/** @internal */ +export const GetFirewallConfigType$outboundSchema: z.ZodNativeEnum< + typeof GetFirewallConfigType +> = GetFirewallConfigType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigType$ { + /** @deprecated use `GetFirewallConfigType$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigType$inboundSchema; + /** @deprecated use `GetFirewallConfigType$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigType$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigOp$inboundSchema: z.ZodNativeEnum< + typeof GetFirewallConfigOp +> = z.nativeEnum(GetFirewallConfigOp); + +/** @internal */ +export const GetFirewallConfigOp$outboundSchema: z.ZodNativeEnum< + typeof GetFirewallConfigOp +> = GetFirewallConfigOp$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigOp$ { + /** @deprecated use `GetFirewallConfigOp$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigOp$inboundSchema; + /** @deprecated use `GetFirewallConfigOp$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigOp$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigValue$inboundSchema: z.ZodType< + GetFirewallConfigValue, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number(), z.array(z.string())]); + +/** @internal */ +export type GetFirewallConfigValue$Outbound = string | number | Array; + +/** @internal */ +export const GetFirewallConfigValue$outboundSchema: z.ZodType< + GetFirewallConfigValue$Outbound, + z.ZodTypeDef, + GetFirewallConfigValue +> = z.union([z.string(), z.number(), z.array(z.string())]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigValue$ { + /** @deprecated use `GetFirewallConfigValue$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigValue$inboundSchema; + /** @deprecated use `GetFirewallConfigValue$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigValue$outboundSchema; + /** @deprecated use `GetFirewallConfigValue$Outbound` instead. */ + export type Outbound = GetFirewallConfigValue$Outbound; +} + +export function getFirewallConfigValueToJSON( + getFirewallConfigValue: GetFirewallConfigValue, +): string { + return JSON.stringify( + GetFirewallConfigValue$outboundSchema.parse(getFirewallConfigValue), + ); +} + +export function getFirewallConfigValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigValue' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigConditions$inboundSchema: z.ZodType< + GetFirewallConfigConditions, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetFirewallConfigType$inboundSchema, + op: GetFirewallConfigOp$inboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: z.union([z.string(), z.number(), z.array(z.string())]).optional(), +}); + +/** @internal */ +export type GetFirewallConfigConditions$Outbound = { + type: string; + op: string; + neg?: boolean | undefined; + key?: string | undefined; + value?: string | number | Array | undefined; +}; + +/** @internal */ +export const GetFirewallConfigConditions$outboundSchema: z.ZodType< + GetFirewallConfigConditions$Outbound, + z.ZodTypeDef, + GetFirewallConfigConditions +> = z.object({ + type: GetFirewallConfigType$outboundSchema, + op: GetFirewallConfigOp$outboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: z.union([z.string(), z.number(), z.array(z.string())]).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigConditions$ { + /** @deprecated use `GetFirewallConfigConditions$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigConditions$inboundSchema; + /** @deprecated use `GetFirewallConfigConditions$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigConditions$outboundSchema; + /** @deprecated use `GetFirewallConfigConditions$Outbound` instead. */ + export type Outbound = GetFirewallConfigConditions$Outbound; +} + +export function getFirewallConfigConditionsToJSON( + getFirewallConfigConditions: GetFirewallConfigConditions, +): string { + return JSON.stringify( + GetFirewallConfigConditions$outboundSchema.parse( + getFirewallConfigConditions, + ), + ); +} + +export function getFirewallConfigConditionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigConditions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigConditions' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigConditionGroup$inboundSchema: z.ZodType< + GetFirewallConfigConditionGroup, + z.ZodTypeDef, + unknown +> = z.object({ + conditions: z.array(z.lazy(() => GetFirewallConfigConditions$inboundSchema)), +}); + +/** @internal */ +export type GetFirewallConfigConditionGroup$Outbound = { + conditions: Array; +}; + +/** @internal */ +export const GetFirewallConfigConditionGroup$outboundSchema: z.ZodType< + GetFirewallConfigConditionGroup$Outbound, + z.ZodTypeDef, + GetFirewallConfigConditionGroup +> = z.object({ + conditions: z.array(z.lazy(() => GetFirewallConfigConditions$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigConditionGroup$ { + /** @deprecated use `GetFirewallConfigConditionGroup$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigConditionGroup$inboundSchema; + /** @deprecated use `GetFirewallConfigConditionGroup$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigConditionGroup$outboundSchema; + /** @deprecated use `GetFirewallConfigConditionGroup$Outbound` instead. */ + export type Outbound = GetFirewallConfigConditionGroup$Outbound; +} + +export function getFirewallConfigConditionGroupToJSON( + getFirewallConfigConditionGroup: GetFirewallConfigConditionGroup, +): string { + return JSON.stringify( + GetFirewallConfigConditionGroup$outboundSchema.parse( + getFirewallConfigConditionGroup, + ), + ); +} + +export function getFirewallConfigConditionGroupFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigConditionGroup$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigConditionGroup' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$inboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction + > = z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction, + ); + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$outboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction + > = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$ { + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$inboundSchema` instead. */ + export const inboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$inboundSchema; + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$outboundSchema` instead. */ + export const outboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigAlgo$inboundSchema: z.ZodNativeEnum< + typeof GetFirewallConfigAlgo +> = z.nativeEnum(GetFirewallConfigAlgo); + +/** @internal */ +export const GetFirewallConfigAlgo$outboundSchema: z.ZodNativeEnum< + typeof GetFirewallConfigAlgo +> = GetFirewallConfigAlgo$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigAlgo$ { + /** @deprecated use `GetFirewallConfigAlgo$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigAlgo$inboundSchema; + /** @deprecated use `GetFirewallConfigAlgo$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigAlgo$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$inboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction + > = z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction, + ); + +/** @internal */ +export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$outboundSchema: + z.ZodNativeEnum< + typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction + > = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$ { + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$inboundSchema` instead. */ + export const inboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$inboundSchema; + /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$outboundSchema` instead. */ + export const outboundSchema = + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigRateLimit$inboundSchema: z.ZodType< + GetFirewallConfigRateLimit, + z.ZodTypeDef, + unknown +> = z.object({ + algo: GetFirewallConfigAlgo$inboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), + action: z.nullable( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$inboundSchema, + ).optional(), +}); + +/** @internal */ +export type GetFirewallConfigRateLimit$Outbound = { + algo: string; + window: number; + limit: number; + keys: Array; + action?: string | null | undefined; +}; + +/** @internal */ +export const GetFirewallConfigRateLimit$outboundSchema: z.ZodType< + GetFirewallConfigRateLimit$Outbound, + z.ZodTypeDef, + GetFirewallConfigRateLimit +> = z.object({ + algo: GetFirewallConfigAlgo$outboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), + action: z.nullable( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$outboundSchema, + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigRateLimit$ { + /** @deprecated use `GetFirewallConfigRateLimit$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigRateLimit$inboundSchema; + /** @deprecated use `GetFirewallConfigRateLimit$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigRateLimit$outboundSchema; + /** @deprecated use `GetFirewallConfigRateLimit$Outbound` instead. */ + export type Outbound = GetFirewallConfigRateLimit$Outbound; +} + +export function getFirewallConfigRateLimitToJSON( + getFirewallConfigRateLimit: GetFirewallConfigRateLimit, +): string { + return JSON.stringify( + GetFirewallConfigRateLimit$outboundSchema.parse(getFirewallConfigRateLimit), + ); +} + +export function getFirewallConfigRateLimitFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigRateLimit$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigRateLimit' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigRedirect$inboundSchema: z.ZodType< + GetFirewallConfigRedirect, + z.ZodTypeDef, + unknown +> = z.object({ + location: z.string(), + permanent: z.boolean(), +}); + +/** @internal */ +export type GetFirewallConfigRedirect$Outbound = { + location: string; + permanent: boolean; +}; + +/** @internal */ +export const GetFirewallConfigRedirect$outboundSchema: z.ZodType< + GetFirewallConfigRedirect$Outbound, + z.ZodTypeDef, + GetFirewallConfigRedirect +> = z.object({ + location: z.string(), + permanent: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigRedirect$ { + /** @deprecated use `GetFirewallConfigRedirect$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigRedirect$inboundSchema; + /** @deprecated use `GetFirewallConfigRedirect$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigRedirect$outboundSchema; + /** @deprecated use `GetFirewallConfigRedirect$Outbound` instead. */ + export type Outbound = GetFirewallConfigRedirect$Outbound; +} + +export function getFirewallConfigRedirectToJSON( + getFirewallConfigRedirect: GetFirewallConfigRedirect, +): string { + return JSON.stringify( + GetFirewallConfigRedirect$outboundSchema.parse(getFirewallConfigRedirect), + ); +} + +export function getFirewallConfigRedirectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigRedirect$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigRedirect' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigMitigate$inboundSchema: z.ZodType< + GetFirewallConfigMitigate, + z.ZodTypeDef, + unknown +> = z.object({ + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$inboundSchema, + rateLimit: z.nullable(z.lazy(() => GetFirewallConfigRateLimit$inboundSchema)) + .optional(), + redirect: z.nullable(z.lazy(() => GetFirewallConfigRedirect$inboundSchema)) + .optional(), + actionDuration: z.nullable(z.string()).optional(), +}); + +/** @internal */ +export type GetFirewallConfigMitigate$Outbound = { + action: string; + rateLimit?: GetFirewallConfigRateLimit$Outbound | null | undefined; + redirect?: GetFirewallConfigRedirect$Outbound | null | undefined; + actionDuration?: string | null | undefined; +}; + +/** @internal */ +export const GetFirewallConfigMitigate$outboundSchema: z.ZodType< + GetFirewallConfigMitigate$Outbound, + z.ZodTypeDef, + GetFirewallConfigMitigate +> = z.object({ + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$outboundSchema, + rateLimit: z.nullable(z.lazy(() => GetFirewallConfigRateLimit$outboundSchema)) + .optional(), + redirect: z.nullable(z.lazy(() => GetFirewallConfigRedirect$outboundSchema)) + .optional(), + actionDuration: z.nullable(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigMitigate$ { + /** @deprecated use `GetFirewallConfigMitigate$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigMitigate$inboundSchema; + /** @deprecated use `GetFirewallConfigMitigate$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigMitigate$outboundSchema; + /** @deprecated use `GetFirewallConfigMitigate$Outbound` instead. */ + export type Outbound = GetFirewallConfigMitigate$Outbound; +} + +export function getFirewallConfigMitigateToJSON( + getFirewallConfigMitigate: GetFirewallConfigMitigate, +): string { + return JSON.stringify( + GetFirewallConfigMitigate$outboundSchema.parse(getFirewallConfigMitigate), + ); +} + +export function getFirewallConfigMitigateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigMitigate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigMitigate' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigAction$inboundSchema: z.ZodType< + GetFirewallConfigAction, + z.ZodTypeDef, + unknown +> = z.object({ + mitigate: z.lazy(() => GetFirewallConfigMitigate$inboundSchema).optional(), +}); + +/** @internal */ +export type GetFirewallConfigAction$Outbound = { + mitigate?: GetFirewallConfigMitigate$Outbound | undefined; +}; + +/** @internal */ +export const GetFirewallConfigAction$outboundSchema: z.ZodType< + GetFirewallConfigAction$Outbound, + z.ZodTypeDef, + GetFirewallConfigAction +> = z.object({ + mitigate: z.lazy(() => GetFirewallConfigMitigate$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigAction$ { + /** @deprecated use `GetFirewallConfigAction$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigAction$inboundSchema; + /** @deprecated use `GetFirewallConfigAction$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigAction$outboundSchema; + /** @deprecated use `GetFirewallConfigAction$Outbound` instead. */ + export type Outbound = GetFirewallConfigAction$Outbound; +} + +export function getFirewallConfigActionToJSON( + getFirewallConfigAction: GetFirewallConfigAction, +): string { + return JSON.stringify( + GetFirewallConfigAction$outboundSchema.parse(getFirewallConfigAction), + ); +} + +export function getFirewallConfigActionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigAction$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigAction' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigRules$inboundSchema: z.ZodType< + GetFirewallConfigRules, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array( + z.lazy(() => GetFirewallConfigConditionGroup$inboundSchema), + ), + action: z.lazy(() => GetFirewallConfigAction$inboundSchema), +}); + +/** @internal */ +export type GetFirewallConfigRules$Outbound = { + id: string; + name: string; + description?: string | undefined; + active: boolean; + conditionGroup: Array; + action: GetFirewallConfigAction$Outbound; +}; + +/** @internal */ +export const GetFirewallConfigRules$outboundSchema: z.ZodType< + GetFirewallConfigRules$Outbound, + z.ZodTypeDef, + GetFirewallConfigRules +> = z.object({ + id: z.string(), + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array( + z.lazy(() => GetFirewallConfigConditionGroup$outboundSchema), + ), + action: z.lazy(() => GetFirewallConfigAction$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigRules$ { + /** @deprecated use `GetFirewallConfigRules$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigRules$inboundSchema; + /** @deprecated use `GetFirewallConfigRules$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigRules$outboundSchema; + /** @deprecated use `GetFirewallConfigRules$Outbound` instead. */ + export type Outbound = GetFirewallConfigRules$Outbound; +} + +export function getFirewallConfigRulesToJSON( + getFirewallConfigRules: GetFirewallConfigRules, +): string { + return JSON.stringify( + GetFirewallConfigRules$outboundSchema.parse(getFirewallConfigRules), + ); +} + +export function getFirewallConfigRulesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigRules$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigRules' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigSecurityAction$inboundSchema: z.ZodNativeEnum< + typeof GetFirewallConfigSecurityAction +> = z.nativeEnum(GetFirewallConfigSecurityAction); + +/** @internal */ +export const GetFirewallConfigSecurityAction$outboundSchema: z.ZodNativeEnum< + typeof GetFirewallConfigSecurityAction +> = GetFirewallConfigSecurityAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigSecurityAction$ { + /** @deprecated use `GetFirewallConfigSecurityAction$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigSecurityAction$inboundSchema; + /** @deprecated use `GetFirewallConfigSecurityAction$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigSecurityAction$outboundSchema; +} + +/** @internal */ +export const GetFirewallConfigIps$inboundSchema: z.ZodType< + GetFirewallConfigIps, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + hostname: z.string(), + ip: z.string(), + notes: z.string().optional(), + action: GetFirewallConfigSecurityAction$inboundSchema, +}); + +/** @internal */ +export type GetFirewallConfigIps$Outbound = { + id: string; + hostname: string; + ip: string; + notes?: string | undefined; + action: string; +}; + +/** @internal */ +export const GetFirewallConfigIps$outboundSchema: z.ZodType< + GetFirewallConfigIps$Outbound, + z.ZodTypeDef, + GetFirewallConfigIps +> = z.object({ + id: z.string(), + hostname: z.string(), + ip: z.string(), + notes: z.string().optional(), + action: GetFirewallConfigSecurityAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigIps$ { + /** @deprecated use `GetFirewallConfigIps$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigIps$inboundSchema; + /** @deprecated use `GetFirewallConfigIps$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigIps$outboundSchema; + /** @deprecated use `GetFirewallConfigIps$Outbound` instead. */ + export type Outbound = GetFirewallConfigIps$Outbound; +} + +export function getFirewallConfigIpsToJSON( + getFirewallConfigIps: GetFirewallConfigIps, +): string { + return JSON.stringify( + GetFirewallConfigIps$outboundSchema.parse(getFirewallConfigIps), + ); +} + +export function getFirewallConfigIpsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigIps$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigIps' from JSON`, + ); +} + +/** @internal */ +export const Changes$inboundSchema: z.ZodType = + z.object({}); + +/** @internal */ +export type Changes$Outbound = {}; + +/** @internal */ +export const Changes$outboundSchema: z.ZodType< + Changes$Outbound, + z.ZodTypeDef, + Changes +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Changes$ { + /** @deprecated use `Changes$inboundSchema` instead. */ + export const inboundSchema = Changes$inboundSchema; + /** @deprecated use `Changes$outboundSchema` instead. */ + export const outboundSchema = Changes$outboundSchema; + /** @deprecated use `Changes$Outbound` instead. */ + export type Outbound = Changes$Outbound; +} + +export function changesToJSON(changes: Changes): string { + return JSON.stringify(Changes$outboundSchema.parse(changes)); +} + +export function changesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Changes$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Changes' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigOwasp$inboundSchema: z.ZodType< + GetFirewallConfigOwasp, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + updatedAt: z.string().optional(), + userId: z.string().optional(), + username: z.string().optional(), +}); + +/** @internal */ +export type GetFirewallConfigOwasp$Outbound = { + active: boolean; + updatedAt?: string | undefined; + userId?: string | undefined; + username?: string | undefined; +}; + +/** @internal */ +export const GetFirewallConfigOwasp$outboundSchema: z.ZodType< + GetFirewallConfigOwasp$Outbound, + z.ZodTypeDef, + GetFirewallConfigOwasp +> = z.object({ + active: z.boolean(), + updatedAt: z.string().optional(), + userId: z.string().optional(), + username: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigOwasp$ { + /** @deprecated use `GetFirewallConfigOwasp$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigOwasp$inboundSchema; + /** @deprecated use `GetFirewallConfigOwasp$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigOwasp$outboundSchema; + /** @deprecated use `GetFirewallConfigOwasp$Outbound` instead. */ + export type Outbound = GetFirewallConfigOwasp$Outbound; +} + +export function getFirewallConfigOwaspToJSON( + getFirewallConfigOwasp: GetFirewallConfigOwasp, +): string { + return JSON.stringify( + GetFirewallConfigOwasp$outboundSchema.parse(getFirewallConfigOwasp), + ); +} + +export function getFirewallConfigOwaspFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigOwasp$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigOwasp' from JSON`, + ); +} + +/** @internal */ +export const VerifiedBotsBypass$inboundSchema: z.ZodType< + VerifiedBotsBypass, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + updatedAt: z.string().optional(), + userId: z.string().optional(), + username: z.string().optional(), +}); + +/** @internal */ +export type VerifiedBotsBypass$Outbound = { + active: boolean; + updatedAt?: string | undefined; + userId?: string | undefined; + username?: string | undefined; +}; + +/** @internal */ +export const VerifiedBotsBypass$outboundSchema: z.ZodType< + VerifiedBotsBypass$Outbound, + z.ZodTypeDef, + VerifiedBotsBypass +> = z.object({ + active: z.boolean(), + updatedAt: z.string().optional(), + userId: z.string().optional(), + username: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace VerifiedBotsBypass$ { + /** @deprecated use `VerifiedBotsBypass$inboundSchema` instead. */ + export const inboundSchema = VerifiedBotsBypass$inboundSchema; + /** @deprecated use `VerifiedBotsBypass$outboundSchema` instead. */ + export const outboundSchema = VerifiedBotsBypass$outboundSchema; + /** @deprecated use `VerifiedBotsBypass$Outbound` instead. */ + export type Outbound = VerifiedBotsBypass$Outbound; +} + +export function verifiedBotsBypassToJSON( + verifiedBotsBypass: VerifiedBotsBypass, +): string { + return JSON.stringify( + VerifiedBotsBypass$outboundSchema.parse(verifiedBotsBypass), + ); +} + +export function verifiedBotsBypassFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VerifiedBotsBypass$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VerifiedBotsBypass' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigManagedRules$inboundSchema: z.ZodType< + GetFirewallConfigManagedRules, + z.ZodTypeDef, + unknown +> = z.object({ + owasp: z.lazy(() => GetFirewallConfigOwasp$inboundSchema).optional(), + verifiedBotsBypass: z.lazy(() => VerifiedBotsBypass$inboundSchema).optional(), +}); + +/** @internal */ +export type GetFirewallConfigManagedRules$Outbound = { + owasp?: GetFirewallConfigOwasp$Outbound | undefined; + verifiedBotsBypass?: VerifiedBotsBypass$Outbound | undefined; +}; + +/** @internal */ +export const GetFirewallConfigManagedRules$outboundSchema: z.ZodType< + GetFirewallConfigManagedRules$Outbound, + z.ZodTypeDef, + GetFirewallConfigManagedRules +> = z.object({ + owasp: z.lazy(() => GetFirewallConfigOwasp$outboundSchema).optional(), + verifiedBotsBypass: z.lazy(() => VerifiedBotsBypass$outboundSchema) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigManagedRules$ { + /** @deprecated use `GetFirewallConfigManagedRules$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigManagedRules$inboundSchema; + /** @deprecated use `GetFirewallConfigManagedRules$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigManagedRules$outboundSchema; + /** @deprecated use `GetFirewallConfigManagedRules$Outbound` instead. */ + export type Outbound = GetFirewallConfigManagedRules$Outbound; +} + +export function getFirewallConfigManagedRulesToJSON( + getFirewallConfigManagedRules: GetFirewallConfigManagedRules, +): string { + return JSON.stringify( + GetFirewallConfigManagedRules$outboundSchema.parse( + getFirewallConfigManagedRules, + ), + ); +} + +export function getFirewallConfigManagedRulesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigManagedRules$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigManagedRules' from JSON`, + ); +} + +/** @internal */ +export const GetFirewallConfigResponseBody$inboundSchema: z.ZodType< + GetFirewallConfigResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + ownerId: z.string(), + projectKey: z.string(), + id: z.string(), + version: z.number(), + updatedAt: z.string(), + firewallEnabled: z.boolean(), + crs: z.lazy(() => GetFirewallConfigCrs$inboundSchema), + rules: z.array(z.lazy(() => GetFirewallConfigRules$inboundSchema)), + ips: z.array(z.lazy(() => GetFirewallConfigIps$inboundSchema)), + changes: z.array(z.lazy(() => Changes$inboundSchema)), + managedRules: z.lazy(() => GetFirewallConfigManagedRules$inboundSchema) + .optional(), +}); + +/** @internal */ +export type GetFirewallConfigResponseBody$Outbound = { + ownerId: string; + projectKey: string; + id: string; + version: number; + updatedAt: string; + firewallEnabled: boolean; + crs: GetFirewallConfigCrs$Outbound; + rules: Array; + ips: Array; + changes: Array; + managedRules?: GetFirewallConfigManagedRules$Outbound | undefined; +}; + +/** @internal */ +export const GetFirewallConfigResponseBody$outboundSchema: z.ZodType< + GetFirewallConfigResponseBody$Outbound, + z.ZodTypeDef, + GetFirewallConfigResponseBody +> = z.object({ + ownerId: z.string(), + projectKey: z.string(), + id: z.string(), + version: z.number(), + updatedAt: z.string(), + firewallEnabled: z.boolean(), + crs: z.lazy(() => GetFirewallConfigCrs$outboundSchema), + rules: z.array(z.lazy(() => GetFirewallConfigRules$outboundSchema)), + ips: z.array(z.lazy(() => GetFirewallConfigIps$outboundSchema)), + changes: z.array(z.lazy(() => Changes$outboundSchema)), + managedRules: z.lazy(() => GetFirewallConfigManagedRules$outboundSchema) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetFirewallConfigResponseBody$ { + /** @deprecated use `GetFirewallConfigResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetFirewallConfigResponseBody$inboundSchema; + /** @deprecated use `GetFirewallConfigResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetFirewallConfigResponseBody$outboundSchema; + /** @deprecated use `GetFirewallConfigResponseBody$Outbound` instead. */ + export type Outbound = GetFirewallConfigResponseBody$Outbound; +} + +export function getFirewallConfigResponseBodyToJSON( + getFirewallConfigResponseBody: GetFirewallConfigResponseBody, +): string { + return JSON.stringify( + GetFirewallConfigResponseBody$outboundSchema.parse( + getFirewallConfigResponseBody, + ), + ); +} + +export function getFirewallConfigResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetFirewallConfigResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetFirewallConfigResponseBody' from JSON`, + ); +} diff --git a/src/models/getintegrationlogdrainsop.ts b/src/models/getintegrationlogdrainsop.ts new file mode 100644 index 00000000..05190a4d --- /dev/null +++ b/src/models/getintegrationlogdrainsop.ts @@ -0,0 +1,395 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetIntegrationLogDrainsRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * The delivery log format + */ +export const GetIntegrationLogDrainsDeliveryFormat = { + Json: "json", + Ndjson: "ndjson", + Syslog: "syslog", +} as const; +/** + * The delivery log format + */ +export type GetIntegrationLogDrainsDeliveryFormat = ClosedEnum< + typeof GetIntegrationLogDrainsDeliveryFormat +>; + +/** + * The sources from which logs are currently being delivered to this log drain. + */ +export const GetIntegrationLogDrainsSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", +} as const; +/** + * The sources from which logs are currently being delivered to this log drain. + */ +export type GetIntegrationLogDrainsSources = ClosedEnum< + typeof GetIntegrationLogDrainsSources +>; + +/** + * Whether the log drain was created by an integration or by a user + */ +export const CreatedFrom = { + SelfServed: "self-served", + Integration: "integration", +} as const; +/** + * Whether the log drain was created by an integration or by a user + */ +export type CreatedFrom = ClosedEnum; + +/** + * The environment of log drain + */ +export const GetIntegrationLogDrainsEnvironments = { + Production: "production", + Preview: "preview", +} as const; +/** + * The environment of log drain + */ +export type GetIntegrationLogDrainsEnvironments = ClosedEnum< + typeof GetIntegrationLogDrainsEnvironments +>; + +export type GetIntegrationLogDrainsResponseBody = { + /** + * The oauth2 client application id that created this log drain + */ + clientId?: string | undefined; + /** + * The client configuration this log drain was created with + */ + configurationId?: string | undefined; + /** + * A timestamp that tells you when the log drain was created + */ + createdAt: number; + /** + * The unique identifier of the log drain. Always prefixed with `ld_` + */ + id: string; + /** + * The delivery log format + */ + deliveryFormat?: GetIntegrationLogDrainsDeliveryFormat | undefined; + /** + * The name of the log drain + */ + name: string; + /** + * The identifier of the team or user whose events will trigger the log drain + */ + ownerId: string; + projectId?: string | null | undefined; + /** + * The identifier of the projects this log drain is associated with + */ + projectIds?: Array | undefined; + /** + * The URL to call when logs are generated + */ + url: string; + /** + * The sources from which logs are currently being delivered to this log drain. + */ + sources?: Array | undefined; + /** + * Whether the log drain was created by an integration or by a user + */ + createdFrom?: CreatedFrom | undefined; + /** + * The headers to send with the request + */ + headers?: { [k: string]: string } | undefined; + /** + * The environment of log drain + */ + environments: Array; + /** + * The branch regexp of log drain + */ + branch?: string | undefined; + /** + * The sampling rate of log drain + */ + samplingRate?: number | undefined; +}; + +/** @internal */ +export const GetIntegrationLogDrainsRequest$inboundSchema: z.ZodType< + GetIntegrationLogDrainsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetIntegrationLogDrainsRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetIntegrationLogDrainsRequest$outboundSchema: z.ZodType< + GetIntegrationLogDrainsRequest$Outbound, + z.ZodTypeDef, + GetIntegrationLogDrainsRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetIntegrationLogDrainsRequest$ { + /** @deprecated use `GetIntegrationLogDrainsRequest$inboundSchema` instead. */ + export const inboundSchema = GetIntegrationLogDrainsRequest$inboundSchema; + /** @deprecated use `GetIntegrationLogDrainsRequest$outboundSchema` instead. */ + export const outboundSchema = GetIntegrationLogDrainsRequest$outboundSchema; + /** @deprecated use `GetIntegrationLogDrainsRequest$Outbound` instead. */ + export type Outbound = GetIntegrationLogDrainsRequest$Outbound; +} + +export function getIntegrationLogDrainsRequestToJSON( + getIntegrationLogDrainsRequest: GetIntegrationLogDrainsRequest, +): string { + return JSON.stringify( + GetIntegrationLogDrainsRequest$outboundSchema.parse( + getIntegrationLogDrainsRequest, + ), + ); +} + +export function getIntegrationLogDrainsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetIntegrationLogDrainsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetIntegrationLogDrainsRequest' from JSON`, + ); +} + +/** @internal */ +export const GetIntegrationLogDrainsDeliveryFormat$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetIntegrationLogDrainsDeliveryFormat, + ); + +/** @internal */ +export const GetIntegrationLogDrainsDeliveryFormat$outboundSchema: + z.ZodNativeEnum = + GetIntegrationLogDrainsDeliveryFormat$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetIntegrationLogDrainsDeliveryFormat$ { + /** @deprecated use `GetIntegrationLogDrainsDeliveryFormat$inboundSchema` instead. */ + export const inboundSchema = + GetIntegrationLogDrainsDeliveryFormat$inboundSchema; + /** @deprecated use `GetIntegrationLogDrainsDeliveryFormat$outboundSchema` instead. */ + export const outboundSchema = + GetIntegrationLogDrainsDeliveryFormat$outboundSchema; +} + +/** @internal */ +export const GetIntegrationLogDrainsSources$inboundSchema: z.ZodNativeEnum< + typeof GetIntegrationLogDrainsSources +> = z.nativeEnum(GetIntegrationLogDrainsSources); + +/** @internal */ +export const GetIntegrationLogDrainsSources$outboundSchema: z.ZodNativeEnum< + typeof GetIntegrationLogDrainsSources +> = GetIntegrationLogDrainsSources$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetIntegrationLogDrainsSources$ { + /** @deprecated use `GetIntegrationLogDrainsSources$inboundSchema` instead. */ + export const inboundSchema = GetIntegrationLogDrainsSources$inboundSchema; + /** @deprecated use `GetIntegrationLogDrainsSources$outboundSchema` instead. */ + export const outboundSchema = GetIntegrationLogDrainsSources$outboundSchema; +} + +/** @internal */ +export const CreatedFrom$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(CreatedFrom); + +/** @internal */ +export const CreatedFrom$outboundSchema: z.ZodNativeEnum = + CreatedFrom$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreatedFrom$ { + /** @deprecated use `CreatedFrom$inboundSchema` instead. */ + export const inboundSchema = CreatedFrom$inboundSchema; + /** @deprecated use `CreatedFrom$outboundSchema` instead. */ + export const outboundSchema = CreatedFrom$outboundSchema; +} + +/** @internal */ +export const GetIntegrationLogDrainsEnvironments$inboundSchema: z.ZodNativeEnum< + typeof GetIntegrationLogDrainsEnvironments +> = z.nativeEnum(GetIntegrationLogDrainsEnvironments); + +/** @internal */ +export const GetIntegrationLogDrainsEnvironments$outboundSchema: + z.ZodNativeEnum = + GetIntegrationLogDrainsEnvironments$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetIntegrationLogDrainsEnvironments$ { + /** @deprecated use `GetIntegrationLogDrainsEnvironments$inboundSchema` instead. */ + export const inboundSchema = + GetIntegrationLogDrainsEnvironments$inboundSchema; + /** @deprecated use `GetIntegrationLogDrainsEnvironments$outboundSchema` instead. */ + export const outboundSchema = + GetIntegrationLogDrainsEnvironments$outboundSchema; +} + +/** @internal */ +export const GetIntegrationLogDrainsResponseBody$inboundSchema: z.ZodType< + GetIntegrationLogDrainsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + clientId: z.string().optional(), + configurationId: z.string().optional(), + createdAt: z.number(), + id: z.string(), + deliveryFormat: GetIntegrationLogDrainsDeliveryFormat$inboundSchema + .optional(), + name: z.string(), + ownerId: z.string(), + projectId: z.nullable(z.string()).optional(), + projectIds: z.array(z.string()).optional(), + url: z.string(), + sources: z.array(GetIntegrationLogDrainsSources$inboundSchema).optional(), + createdFrom: CreatedFrom$inboundSchema.optional(), + headers: z.record(z.string()).optional(), + environments: z.array(GetIntegrationLogDrainsEnvironments$inboundSchema), + branch: z.string().optional(), + samplingRate: z.number().optional(), +}); + +/** @internal */ +export type GetIntegrationLogDrainsResponseBody$Outbound = { + clientId?: string | undefined; + configurationId?: string | undefined; + createdAt: number; + id: string; + deliveryFormat?: string | undefined; + name: string; + ownerId: string; + projectId?: string | null | undefined; + projectIds?: Array | undefined; + url: string; + sources?: Array | undefined; + createdFrom?: string | undefined; + headers?: { [k: string]: string } | undefined; + environments: Array; + branch?: string | undefined; + samplingRate?: number | undefined; +}; + +/** @internal */ +export const GetIntegrationLogDrainsResponseBody$outboundSchema: z.ZodType< + GetIntegrationLogDrainsResponseBody$Outbound, + z.ZodTypeDef, + GetIntegrationLogDrainsResponseBody +> = z.object({ + clientId: z.string().optional(), + configurationId: z.string().optional(), + createdAt: z.number(), + id: z.string(), + deliveryFormat: GetIntegrationLogDrainsDeliveryFormat$outboundSchema + .optional(), + name: z.string(), + ownerId: z.string(), + projectId: z.nullable(z.string()).optional(), + projectIds: z.array(z.string()).optional(), + url: z.string(), + sources: z.array(GetIntegrationLogDrainsSources$outboundSchema).optional(), + createdFrom: CreatedFrom$outboundSchema.optional(), + headers: z.record(z.string()).optional(), + environments: z.array(GetIntegrationLogDrainsEnvironments$outboundSchema), + branch: z.string().optional(), + samplingRate: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetIntegrationLogDrainsResponseBody$ { + /** @deprecated use `GetIntegrationLogDrainsResponseBody$inboundSchema` instead. */ + export const inboundSchema = + GetIntegrationLogDrainsResponseBody$inboundSchema; + /** @deprecated use `GetIntegrationLogDrainsResponseBody$outboundSchema` instead. */ + export const outboundSchema = + GetIntegrationLogDrainsResponseBody$outboundSchema; + /** @deprecated use `GetIntegrationLogDrainsResponseBody$Outbound` instead. */ + export type Outbound = GetIntegrationLogDrainsResponseBody$Outbound; +} + +export function getIntegrationLogDrainsResponseBodyToJSON( + getIntegrationLogDrainsResponseBody: GetIntegrationLogDrainsResponseBody, +): string { + return JSON.stringify( + GetIntegrationLogDrainsResponseBody$outboundSchema.parse( + getIntegrationLogDrainsResponseBody, + ), + ); +} + +export function getIntegrationLogDrainsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetIntegrationLogDrainsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetIntegrationLogDrainsResponseBody' from JSON`, + ); +} diff --git a/src/models/getinvoiceop.ts b/src/models/getinvoiceop.ts new file mode 100644 index 00000000..e50ed6c6 --- /dev/null +++ b/src/models/getinvoiceop.ts @@ -0,0 +1,454 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetInvoiceRequest = { + integrationConfigurationId: string; + invoiceId: string; +}; + +export type GetInvoicePeriod = { + start: string; + end: string; +}; + +export type GetInvoiceItems = { + billingPlanId: string; + resourceId?: string | undefined; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + price: string; + quantity: number; + units: string; + total: string; +}; + +export type GetInvoiceDiscounts = { + billingPlanId: string; + resourceId?: string | undefined; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + amount: string; +}; + +export const State = { + Pending: "pending", + Scheduled: "scheduled", + Invoiced: "invoiced", + Paid: "paid", + Notpaid: "notpaid", + RefundRequested: "refund_requested", + Refunded: "refunded", +} as const; +export type State = ClosedEnum; + +export type GetInvoiceResponseBody = { + invoiceId: string; + externalId?: string | undefined; + invoiceNumber?: string | undefined; + invoiceDate: string; + period: GetInvoicePeriod; + memo?: string | undefined; + items: Array; + discounts?: Array | undefined; + total: string; + created: string; + updated: string; + state: State; + refundReason?: string | undefined; + refundTotal?: string | undefined; + test: boolean; +}; + +/** @internal */ +export const GetInvoiceRequest$inboundSchema: z.ZodType< + GetInvoiceRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), + invoiceId: z.string(), +}); + +/** @internal */ +export type GetInvoiceRequest$Outbound = { + integrationConfigurationId: string; + invoiceId: string; +}; + +/** @internal */ +export const GetInvoiceRequest$outboundSchema: z.ZodType< + GetInvoiceRequest$Outbound, + z.ZodTypeDef, + GetInvoiceRequest +> = z.object({ + integrationConfigurationId: z.string(), + invoiceId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetInvoiceRequest$ { + /** @deprecated use `GetInvoiceRequest$inboundSchema` instead. */ + export const inboundSchema = GetInvoiceRequest$inboundSchema; + /** @deprecated use `GetInvoiceRequest$outboundSchema` instead. */ + export const outboundSchema = GetInvoiceRequest$outboundSchema; + /** @deprecated use `GetInvoiceRequest$Outbound` instead. */ + export type Outbound = GetInvoiceRequest$Outbound; +} + +export function getInvoiceRequestToJSON( + getInvoiceRequest: GetInvoiceRequest, +): string { + return JSON.stringify( + GetInvoiceRequest$outboundSchema.parse(getInvoiceRequest), + ); +} + +export function getInvoiceRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetInvoiceRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetInvoiceRequest' from JSON`, + ); +} + +/** @internal */ +export const GetInvoicePeriod$inboundSchema: z.ZodType< + GetInvoicePeriod, + z.ZodTypeDef, + unknown +> = z.object({ + start: z.string(), + end: z.string(), +}); + +/** @internal */ +export type GetInvoicePeriod$Outbound = { + start: string; + end: string; +}; + +/** @internal */ +export const GetInvoicePeriod$outboundSchema: z.ZodType< + GetInvoicePeriod$Outbound, + z.ZodTypeDef, + GetInvoicePeriod +> = z.object({ + start: z.string(), + end: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetInvoicePeriod$ { + /** @deprecated use `GetInvoicePeriod$inboundSchema` instead. */ + export const inboundSchema = GetInvoicePeriod$inboundSchema; + /** @deprecated use `GetInvoicePeriod$outboundSchema` instead. */ + export const outboundSchema = GetInvoicePeriod$outboundSchema; + /** @deprecated use `GetInvoicePeriod$Outbound` instead. */ + export type Outbound = GetInvoicePeriod$Outbound; +} + +export function getInvoicePeriodToJSON( + getInvoicePeriod: GetInvoicePeriod, +): string { + return JSON.stringify( + GetInvoicePeriod$outboundSchema.parse(getInvoicePeriod), + ); +} + +export function getInvoicePeriodFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetInvoicePeriod$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetInvoicePeriod' from JSON`, + ); +} + +/** @internal */ +export const GetInvoiceItems$inboundSchema: z.ZodType< + GetInvoiceItems, + z.ZodTypeDef, + unknown +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.string().optional(), + end: z.string().optional(), + name: z.string(), + details: z.string().optional(), + price: z.string(), + quantity: z.number(), + units: z.string(), + total: z.string(), +}); + +/** @internal */ +export type GetInvoiceItems$Outbound = { + billingPlanId: string; + resourceId?: string | undefined; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + price: string; + quantity: number; + units: string; + total: string; +}; + +/** @internal */ +export const GetInvoiceItems$outboundSchema: z.ZodType< + GetInvoiceItems$Outbound, + z.ZodTypeDef, + GetInvoiceItems +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.string().optional(), + end: z.string().optional(), + name: z.string(), + details: z.string().optional(), + price: z.string(), + quantity: z.number(), + units: z.string(), + total: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetInvoiceItems$ { + /** @deprecated use `GetInvoiceItems$inboundSchema` instead. */ + export const inboundSchema = GetInvoiceItems$inboundSchema; + /** @deprecated use `GetInvoiceItems$outboundSchema` instead. */ + export const outboundSchema = GetInvoiceItems$outboundSchema; + /** @deprecated use `GetInvoiceItems$Outbound` instead. */ + export type Outbound = GetInvoiceItems$Outbound; +} + +export function getInvoiceItemsToJSON( + getInvoiceItems: GetInvoiceItems, +): string { + return JSON.stringify(GetInvoiceItems$outboundSchema.parse(getInvoiceItems)); +} + +export function getInvoiceItemsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetInvoiceItems$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetInvoiceItems' from JSON`, + ); +} + +/** @internal */ +export const GetInvoiceDiscounts$inboundSchema: z.ZodType< + GetInvoiceDiscounts, + z.ZodTypeDef, + unknown +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.string().optional(), + end: z.string().optional(), + name: z.string(), + details: z.string().optional(), + amount: z.string(), +}); + +/** @internal */ +export type GetInvoiceDiscounts$Outbound = { + billingPlanId: string; + resourceId?: string | undefined; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + amount: string; +}; + +/** @internal */ +export const GetInvoiceDiscounts$outboundSchema: z.ZodType< + GetInvoiceDiscounts$Outbound, + z.ZodTypeDef, + GetInvoiceDiscounts +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.string().optional(), + end: z.string().optional(), + name: z.string(), + details: z.string().optional(), + amount: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetInvoiceDiscounts$ { + /** @deprecated use `GetInvoiceDiscounts$inboundSchema` instead. */ + export const inboundSchema = GetInvoiceDiscounts$inboundSchema; + /** @deprecated use `GetInvoiceDiscounts$outboundSchema` instead. */ + export const outboundSchema = GetInvoiceDiscounts$outboundSchema; + /** @deprecated use `GetInvoiceDiscounts$Outbound` instead. */ + export type Outbound = GetInvoiceDiscounts$Outbound; +} + +export function getInvoiceDiscountsToJSON( + getInvoiceDiscounts: GetInvoiceDiscounts, +): string { + return JSON.stringify( + GetInvoiceDiscounts$outboundSchema.parse(getInvoiceDiscounts), + ); +} + +export function getInvoiceDiscountsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetInvoiceDiscounts$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetInvoiceDiscounts' from JSON`, + ); +} + +/** @internal */ +export const State$inboundSchema: z.ZodNativeEnum = z.nativeEnum( + State, +); + +/** @internal */ +export const State$outboundSchema: z.ZodNativeEnum = + State$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace State$ { + /** @deprecated use `State$inboundSchema` instead. */ + export const inboundSchema = State$inboundSchema; + /** @deprecated use `State$outboundSchema` instead. */ + export const outboundSchema = State$outboundSchema; +} + +/** @internal */ +export const GetInvoiceResponseBody$inboundSchema: z.ZodType< + GetInvoiceResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + invoiceId: z.string(), + externalId: z.string().optional(), + invoiceNumber: z.string().optional(), + invoiceDate: z.string(), + period: z.lazy(() => GetInvoicePeriod$inboundSchema), + memo: z.string().optional(), + items: z.array(z.lazy(() => GetInvoiceItems$inboundSchema)), + discounts: z.array(z.lazy(() => GetInvoiceDiscounts$inboundSchema)) + .optional(), + total: z.string(), + created: z.string(), + updated: z.string(), + state: State$inboundSchema, + refundReason: z.string().optional(), + refundTotal: z.string().optional(), + test: z.boolean(), +}); + +/** @internal */ +export type GetInvoiceResponseBody$Outbound = { + invoiceId: string; + externalId?: string | undefined; + invoiceNumber?: string | undefined; + invoiceDate: string; + period: GetInvoicePeriod$Outbound; + memo?: string | undefined; + items: Array; + discounts?: Array | undefined; + total: string; + created: string; + updated: string; + state: string; + refundReason?: string | undefined; + refundTotal?: string | undefined; + test: boolean; +}; + +/** @internal */ +export const GetInvoiceResponseBody$outboundSchema: z.ZodType< + GetInvoiceResponseBody$Outbound, + z.ZodTypeDef, + GetInvoiceResponseBody +> = z.object({ + invoiceId: z.string(), + externalId: z.string().optional(), + invoiceNumber: z.string().optional(), + invoiceDate: z.string(), + period: z.lazy(() => GetInvoicePeriod$outboundSchema), + memo: z.string().optional(), + items: z.array(z.lazy(() => GetInvoiceItems$outboundSchema)), + discounts: z.array(z.lazy(() => GetInvoiceDiscounts$outboundSchema)) + .optional(), + total: z.string(), + created: z.string(), + updated: z.string(), + state: State$outboundSchema, + refundReason: z.string().optional(), + refundTotal: z.string().optional(), + test: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetInvoiceResponseBody$ { + /** @deprecated use `GetInvoiceResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetInvoiceResponseBody$inboundSchema; + /** @deprecated use `GetInvoiceResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetInvoiceResponseBody$outboundSchema; + /** @deprecated use `GetInvoiceResponseBody$Outbound` instead. */ + export type Outbound = GetInvoiceResponseBody$Outbound; +} + +export function getInvoiceResponseBodyToJSON( + getInvoiceResponseBody: GetInvoiceResponseBody, +): string { + return JSON.stringify( + GetInvoiceResponseBody$outboundSchema.parse(getInvoiceResponseBody), + ); +} + +export function getInvoiceResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetInvoiceResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetInvoiceResponseBody' from JSON`, + ); +} diff --git a/src/models/getmemberop.ts b/src/models/getmemberop.ts new file mode 100644 index 00000000..00227fdf --- /dev/null +++ b/src/models/getmemberop.ts @@ -0,0 +1,160 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetMemberRequest = { + integrationConfigurationId: string; + memberId: string; +}; + +export const GetMemberRole = { + Admin: "ADMIN", + User: "USER", +} as const; +export type GetMemberRole = ClosedEnum; + +export type GetMemberResponseBody = { + id: string; + role: GetMemberRole; +}; + +/** @internal */ +export const GetMemberRequest$inboundSchema: z.ZodType< + GetMemberRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), + memberId: z.string(), +}); + +/** @internal */ +export type GetMemberRequest$Outbound = { + integrationConfigurationId: string; + memberId: string; +}; + +/** @internal */ +export const GetMemberRequest$outboundSchema: z.ZodType< + GetMemberRequest$Outbound, + z.ZodTypeDef, + GetMemberRequest +> = z.object({ + integrationConfigurationId: z.string(), + memberId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetMemberRequest$ { + /** @deprecated use `GetMemberRequest$inboundSchema` instead. */ + export const inboundSchema = GetMemberRequest$inboundSchema; + /** @deprecated use `GetMemberRequest$outboundSchema` instead. */ + export const outboundSchema = GetMemberRequest$outboundSchema; + /** @deprecated use `GetMemberRequest$Outbound` instead. */ + export type Outbound = GetMemberRequest$Outbound; +} + +export function getMemberRequestToJSON( + getMemberRequest: GetMemberRequest, +): string { + return JSON.stringify( + GetMemberRequest$outboundSchema.parse(getMemberRequest), + ); +} + +export function getMemberRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetMemberRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetMemberRequest' from JSON`, + ); +} + +/** @internal */ +export const GetMemberRole$inboundSchema: z.ZodNativeEnum< + typeof GetMemberRole +> = z.nativeEnum(GetMemberRole); + +/** @internal */ +export const GetMemberRole$outboundSchema: z.ZodNativeEnum< + typeof GetMemberRole +> = GetMemberRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetMemberRole$ { + /** @deprecated use `GetMemberRole$inboundSchema` instead. */ + export const inboundSchema = GetMemberRole$inboundSchema; + /** @deprecated use `GetMemberRole$outboundSchema` instead. */ + export const outboundSchema = GetMemberRole$outboundSchema; +} + +/** @internal */ +export const GetMemberResponseBody$inboundSchema: z.ZodType< + GetMemberResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + role: GetMemberRole$inboundSchema, +}); + +/** @internal */ +export type GetMemberResponseBody$Outbound = { + id: string; + role: string; +}; + +/** @internal */ +export const GetMemberResponseBody$outboundSchema: z.ZodType< + GetMemberResponseBody$Outbound, + z.ZodTypeDef, + GetMemberResponseBody +> = z.object({ + id: z.string(), + role: GetMemberRole$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetMemberResponseBody$ { + /** @deprecated use `GetMemberResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetMemberResponseBody$inboundSchema; + /** @deprecated use `GetMemberResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetMemberResponseBody$outboundSchema; + /** @deprecated use `GetMemberResponseBody$Outbound` instead. */ + export type Outbound = GetMemberResponseBody$Outbound; +} + +export function getMemberResponseBodyToJSON( + getMemberResponseBody: GetMemberResponseBody, +): string { + return JSON.stringify( + GetMemberResponseBody$outboundSchema.parse(getMemberResponseBody), + ); +} + +export function getMemberResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetMemberResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetMemberResponseBody' from JSON`, + ); +} diff --git a/src/models/getprojectdomainop.ts b/src/models/getprojectdomainop.ts new file mode 100644 index 00000000..135c227a --- /dev/null +++ b/src/models/getprojectdomainop.ts @@ -0,0 +1,265 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetProjectDomainRequest = { + /** + * The unique project identifier or the project name + */ + idOrName: string; + /** + * The project domain name + */ + domain: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. + */ +export type Verification = { + type: string; + domain: string; + value: string; + reason: string; +}; + +export type GetProjectDomainResponseBody = { + name: string; + apexName: string; + projectId: string; + redirect?: string | null | undefined; + redirectStatusCode?: number | null | undefined; + gitBranch?: string | null | undefined; + customEnvironmentId?: string | null | undefined; + updatedAt?: number | undefined; + createdAt?: number | undefined; + /** + * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. + */ + verified: boolean; + /** + * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. + */ + verification?: Array | undefined; +}; + +/** @internal */ +export const GetProjectDomainRequest$inboundSchema: z.ZodType< + GetProjectDomainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetProjectDomainRequest$Outbound = { + idOrName: string; + domain: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetProjectDomainRequest$outboundSchema: z.ZodType< + GetProjectDomainRequest$Outbound, + z.ZodTypeDef, + GetProjectDomainRequest +> = z.object({ + idOrName: z.string(), + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectDomainRequest$ { + /** @deprecated use `GetProjectDomainRequest$inboundSchema` instead. */ + export const inboundSchema = GetProjectDomainRequest$inboundSchema; + /** @deprecated use `GetProjectDomainRequest$outboundSchema` instead. */ + export const outboundSchema = GetProjectDomainRequest$outboundSchema; + /** @deprecated use `GetProjectDomainRequest$Outbound` instead. */ + export type Outbound = GetProjectDomainRequest$Outbound; +} + +export function getProjectDomainRequestToJSON( + getProjectDomainRequest: GetProjectDomainRequest, +): string { + return JSON.stringify( + GetProjectDomainRequest$outboundSchema.parse(getProjectDomainRequest), + ); +} + +export function getProjectDomainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectDomainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectDomainRequest' from JSON`, + ); +} + +/** @internal */ +export const Verification$inboundSchema: z.ZodType< + Verification, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + domain: z.string(), + value: z.string(), + reason: z.string(), +}); + +/** @internal */ +export type Verification$Outbound = { + type: string; + domain: string; + value: string; + reason: string; +}; + +/** @internal */ +export const Verification$outboundSchema: z.ZodType< + Verification$Outbound, + z.ZodTypeDef, + Verification +> = z.object({ + type: z.string(), + domain: z.string(), + value: z.string(), + reason: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Verification$ { + /** @deprecated use `Verification$inboundSchema` instead. */ + export const inboundSchema = Verification$inboundSchema; + /** @deprecated use `Verification$outboundSchema` instead. */ + export const outboundSchema = Verification$outboundSchema; + /** @deprecated use `Verification$Outbound` instead. */ + export type Outbound = Verification$Outbound; +} + +export function verificationToJSON(verification: Verification): string { + return JSON.stringify(Verification$outboundSchema.parse(verification)); +} + +export function verificationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Verification$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Verification' from JSON`, + ); +} + +/** @internal */ +export const GetProjectDomainResponseBody$inboundSchema: z.ZodType< + GetProjectDomainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + apexName: z.string(), + projectId: z.string(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(z.number()).optional(), + gitBranch: z.nullable(z.string()).optional(), + customEnvironmentId: z.nullable(z.string()).optional(), + updatedAt: z.number().optional(), + createdAt: z.number().optional(), + verified: z.boolean(), + verification: z.array(z.lazy(() => Verification$inboundSchema)).optional(), +}); + +/** @internal */ +export type GetProjectDomainResponseBody$Outbound = { + name: string; + apexName: string; + projectId: string; + redirect?: string | null | undefined; + redirectStatusCode?: number | null | undefined; + gitBranch?: string | null | undefined; + customEnvironmentId?: string | null | undefined; + updatedAt?: number | undefined; + createdAt?: number | undefined; + verified: boolean; + verification?: Array | undefined; +}; + +/** @internal */ +export const GetProjectDomainResponseBody$outboundSchema: z.ZodType< + GetProjectDomainResponseBody$Outbound, + z.ZodTypeDef, + GetProjectDomainResponseBody +> = z.object({ + name: z.string(), + apexName: z.string(), + projectId: z.string(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(z.number()).optional(), + gitBranch: z.nullable(z.string()).optional(), + customEnvironmentId: z.nullable(z.string()).optional(), + updatedAt: z.number().optional(), + createdAt: z.number().optional(), + verified: z.boolean(), + verification: z.array(z.lazy(() => Verification$outboundSchema)).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectDomainResponseBody$ { + /** @deprecated use `GetProjectDomainResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetProjectDomainResponseBody$inboundSchema; + /** @deprecated use `GetProjectDomainResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetProjectDomainResponseBody$outboundSchema; + /** @deprecated use `GetProjectDomainResponseBody$Outbound` instead. */ + export type Outbound = GetProjectDomainResponseBody$Outbound; +} + +export function getProjectDomainResponseBodyToJSON( + getProjectDomainResponseBody: GetProjectDomainResponseBody, +): string { + return JSON.stringify( + GetProjectDomainResponseBody$outboundSchema.parse( + getProjectDomainResponseBody, + ), + ); +} + +export function getProjectDomainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectDomainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectDomainResponseBody' from JSON`, + ); +} diff --git a/src/models/getprojectdomainsop.ts b/src/models/getprojectdomainsop.ts new file mode 100644 index 00000000..59dedc61 --- /dev/null +++ b/src/models/getprojectdomainsop.ts @@ -0,0 +1,571 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + Pagination, + Pagination$inboundSchema, + Pagination$Outbound, + Pagination$outboundSchema, +} from "./pagination.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * Filters only production domains when set to `true`. + */ +export const Production = { + True: "true", + False: "false", +} as const; +/** + * Filters only production domains when set to `true`. + */ +export type Production = ClosedEnum; + +/** + * Filters on the target of the domain. Can be either \"production\", \"preview\" + */ +export const QueryParamTarget = { + Production: "production", + Preview: "preview", +} as const; +/** + * Filters on the target of the domain. Can be either \"production\", \"preview\" + */ +export type QueryParamTarget = ClosedEnum; + +/** + * Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default). + */ +export const Redirects = { + True: "true", + False: "false", +} as const; +/** + * Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default). + */ +export type Redirects = ClosedEnum; + +/** + * Filters domains based on their verification status. + */ +export const Verified = { + True: "true", + False: "false", +} as const; +/** + * Filters domains based on their verification status. + */ +export type Verified = ClosedEnum; + +/** + * Domains sort order by createdAt + */ +export const Order = { + Asc: "ASC", + Desc: "DESC", +} as const; +/** + * Domains sort order by createdAt + */ +export type Order = ClosedEnum; + +export type GetProjectDomainsRequest = { + /** + * The unique project identifier or the project name + */ + idOrName: string; + /** + * Filters only production domains when set to `true`. + */ + production?: Production | undefined; + /** + * Filters on the target of the domain. Can be either \"production\", \"preview\" + */ + target?: QueryParamTarget | undefined; + /** + * Filters domains based on specific branch. + */ + gitBranch?: string | undefined; + /** + * Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default). + */ + redirects?: Redirects | undefined; + /** + * Filters domains based on their redirect target. + */ + redirect?: string | undefined; + /** + * Filters domains based on their verification status. + */ + verified?: Verified | undefined; + /** + * Maximum number of domains to list from a request (max 100). + */ + limit?: number | undefined; + /** + * Get domains created after this JavaScript timestamp. + */ + since?: number | undefined; + /** + * Get domains created before this JavaScript timestamp. + */ + until?: number | undefined; + /** + * Domains sort order by createdAt + */ + order?: Order | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. + */ +export type GetProjectDomainsVerification = { + type: string; + domain: string; + value: string; + reason: string; +}; + +export type GetProjectDomainsDomains = { + name: string; + apexName: string; + projectId: string; + redirect?: string | null | undefined; + redirectStatusCode?: number | null | undefined; + gitBranch?: string | null | undefined; + customEnvironmentId?: string | null | undefined; + updatedAt?: number | undefined; + createdAt?: number | undefined; + /** + * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. + */ + verified: boolean; + /** + * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. + */ + verification?: Array | undefined; +}; + +/** + * Successful response retrieving a list of domains + */ +export type GetProjectDomainsResponseBody = { + domains: Array; + /** + * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. + */ + pagination: Pagination; +}; + +/** @internal */ +export const Production$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Production); + +/** @internal */ +export const Production$outboundSchema: z.ZodNativeEnum = + Production$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Production$ { + /** @deprecated use `Production$inboundSchema` instead. */ + export const inboundSchema = Production$inboundSchema; + /** @deprecated use `Production$outboundSchema` instead. */ + export const outboundSchema = Production$outboundSchema; +} + +/** @internal */ +export const QueryParamTarget$inboundSchema: z.ZodNativeEnum< + typeof QueryParamTarget +> = z.nativeEnum(QueryParamTarget); + +/** @internal */ +export const QueryParamTarget$outboundSchema: z.ZodNativeEnum< + typeof QueryParamTarget +> = QueryParamTarget$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace QueryParamTarget$ { + /** @deprecated use `QueryParamTarget$inboundSchema` instead. */ + export const inboundSchema = QueryParamTarget$inboundSchema; + /** @deprecated use `QueryParamTarget$outboundSchema` instead. */ + export const outboundSchema = QueryParamTarget$outboundSchema; +} + +/** @internal */ +export const Redirects$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Redirects); + +/** @internal */ +export const Redirects$outboundSchema: z.ZodNativeEnum = + Redirects$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Redirects$ { + /** @deprecated use `Redirects$inboundSchema` instead. */ + export const inboundSchema = Redirects$inboundSchema; + /** @deprecated use `Redirects$outboundSchema` instead. */ + export const outboundSchema = Redirects$outboundSchema; +} + +/** @internal */ +export const Verified$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Verified); + +/** @internal */ +export const Verified$outboundSchema: z.ZodNativeEnum = + Verified$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Verified$ { + /** @deprecated use `Verified$inboundSchema` instead. */ + export const inboundSchema = Verified$inboundSchema; + /** @deprecated use `Verified$outboundSchema` instead. */ + export const outboundSchema = Verified$outboundSchema; +} + +/** @internal */ +export const Order$inboundSchema: z.ZodNativeEnum = z.nativeEnum( + Order, +); + +/** @internal */ +export const Order$outboundSchema: z.ZodNativeEnum = + Order$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Order$ { + /** @deprecated use `Order$inboundSchema` instead. */ + export const inboundSchema = Order$inboundSchema; + /** @deprecated use `Order$outboundSchema` instead. */ + export const outboundSchema = Order$outboundSchema; +} + +/** @internal */ +export const GetProjectDomainsRequest$inboundSchema: z.ZodType< + GetProjectDomainsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + production: Production$inboundSchema.default("false"), + target: QueryParamTarget$inboundSchema.optional(), + gitBranch: z.string().optional(), + redirects: Redirects$inboundSchema.default("true"), + redirect: z.string().optional(), + verified: Verified$inboundSchema.optional(), + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), + order: Order$inboundSchema.default("DESC"), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetProjectDomainsRequest$Outbound = { + idOrName: string; + production: string; + target?: string | undefined; + gitBranch?: string | undefined; + redirects: string; + redirect?: string | undefined; + verified?: string | undefined; + limit?: number | undefined; + since?: number | undefined; + until?: number | undefined; + order: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetProjectDomainsRequest$outboundSchema: z.ZodType< + GetProjectDomainsRequest$Outbound, + z.ZodTypeDef, + GetProjectDomainsRequest +> = z.object({ + idOrName: z.string(), + production: Production$outboundSchema.default("false"), + target: QueryParamTarget$outboundSchema.optional(), + gitBranch: z.string().optional(), + redirects: Redirects$outboundSchema.default("true"), + redirect: z.string().optional(), + verified: Verified$outboundSchema.optional(), + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), + order: Order$outboundSchema.default("DESC"), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectDomainsRequest$ { + /** @deprecated use `GetProjectDomainsRequest$inboundSchema` instead. */ + export const inboundSchema = GetProjectDomainsRequest$inboundSchema; + /** @deprecated use `GetProjectDomainsRequest$outboundSchema` instead. */ + export const outboundSchema = GetProjectDomainsRequest$outboundSchema; + /** @deprecated use `GetProjectDomainsRequest$Outbound` instead. */ + export type Outbound = GetProjectDomainsRequest$Outbound; +} + +export function getProjectDomainsRequestToJSON( + getProjectDomainsRequest: GetProjectDomainsRequest, +): string { + return JSON.stringify( + GetProjectDomainsRequest$outboundSchema.parse(getProjectDomainsRequest), + ); +} + +export function getProjectDomainsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectDomainsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectDomainsRequest' from JSON`, + ); +} + +/** @internal */ +export const GetProjectDomainsVerification$inboundSchema: z.ZodType< + GetProjectDomainsVerification, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + domain: z.string(), + value: z.string(), + reason: z.string(), +}); + +/** @internal */ +export type GetProjectDomainsVerification$Outbound = { + type: string; + domain: string; + value: string; + reason: string; +}; + +/** @internal */ +export const GetProjectDomainsVerification$outboundSchema: z.ZodType< + GetProjectDomainsVerification$Outbound, + z.ZodTypeDef, + GetProjectDomainsVerification +> = z.object({ + type: z.string(), + domain: z.string(), + value: z.string(), + reason: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectDomainsVerification$ { + /** @deprecated use `GetProjectDomainsVerification$inboundSchema` instead. */ + export const inboundSchema = GetProjectDomainsVerification$inboundSchema; + /** @deprecated use `GetProjectDomainsVerification$outboundSchema` instead. */ + export const outboundSchema = GetProjectDomainsVerification$outboundSchema; + /** @deprecated use `GetProjectDomainsVerification$Outbound` instead. */ + export type Outbound = GetProjectDomainsVerification$Outbound; +} + +export function getProjectDomainsVerificationToJSON( + getProjectDomainsVerification: GetProjectDomainsVerification, +): string { + return JSON.stringify( + GetProjectDomainsVerification$outboundSchema.parse( + getProjectDomainsVerification, + ), + ); +} + +export function getProjectDomainsVerificationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectDomainsVerification$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectDomainsVerification' from JSON`, + ); +} + +/** @internal */ +export const GetProjectDomainsDomains$inboundSchema: z.ZodType< + GetProjectDomainsDomains, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + apexName: z.string(), + projectId: z.string(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(z.number()).optional(), + gitBranch: z.nullable(z.string()).optional(), + customEnvironmentId: z.nullable(z.string()).optional(), + updatedAt: z.number().optional(), + createdAt: z.number().optional(), + verified: z.boolean(), + verification: z.array( + z.lazy(() => GetProjectDomainsVerification$inboundSchema), + ).optional(), +}); + +/** @internal */ +export type GetProjectDomainsDomains$Outbound = { + name: string; + apexName: string; + projectId: string; + redirect?: string | null | undefined; + redirectStatusCode?: number | null | undefined; + gitBranch?: string | null | undefined; + customEnvironmentId?: string | null | undefined; + updatedAt?: number | undefined; + createdAt?: number | undefined; + verified: boolean; + verification?: Array | undefined; +}; + +/** @internal */ +export const GetProjectDomainsDomains$outboundSchema: z.ZodType< + GetProjectDomainsDomains$Outbound, + z.ZodTypeDef, + GetProjectDomainsDomains +> = z.object({ + name: z.string(), + apexName: z.string(), + projectId: z.string(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(z.number()).optional(), + gitBranch: z.nullable(z.string()).optional(), + customEnvironmentId: z.nullable(z.string()).optional(), + updatedAt: z.number().optional(), + createdAt: z.number().optional(), + verified: z.boolean(), + verification: z.array( + z.lazy(() => GetProjectDomainsVerification$outboundSchema), + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectDomainsDomains$ { + /** @deprecated use `GetProjectDomainsDomains$inboundSchema` instead. */ + export const inboundSchema = GetProjectDomainsDomains$inboundSchema; + /** @deprecated use `GetProjectDomainsDomains$outboundSchema` instead. */ + export const outboundSchema = GetProjectDomainsDomains$outboundSchema; + /** @deprecated use `GetProjectDomainsDomains$Outbound` instead. */ + export type Outbound = GetProjectDomainsDomains$Outbound; +} + +export function getProjectDomainsDomainsToJSON( + getProjectDomainsDomains: GetProjectDomainsDomains, +): string { + return JSON.stringify( + GetProjectDomainsDomains$outboundSchema.parse(getProjectDomainsDomains), + ); +} + +export function getProjectDomainsDomainsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectDomainsDomains$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectDomainsDomains' from JSON`, + ); +} + +/** @internal */ +export const GetProjectDomainsResponseBody$inboundSchema: z.ZodType< + GetProjectDomainsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + domains: z.array(z.lazy(() => GetProjectDomainsDomains$inboundSchema)), + pagination: Pagination$inboundSchema, +}); + +/** @internal */ +export type GetProjectDomainsResponseBody$Outbound = { + domains: Array; + pagination: Pagination$Outbound; +}; + +/** @internal */ +export const GetProjectDomainsResponseBody$outboundSchema: z.ZodType< + GetProjectDomainsResponseBody$Outbound, + z.ZodTypeDef, + GetProjectDomainsResponseBody +> = z.object({ + domains: z.array(z.lazy(() => GetProjectDomainsDomains$outboundSchema)), + pagination: Pagination$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectDomainsResponseBody$ { + /** @deprecated use `GetProjectDomainsResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetProjectDomainsResponseBody$inboundSchema; + /** @deprecated use `GetProjectDomainsResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetProjectDomainsResponseBody$outboundSchema; + /** @deprecated use `GetProjectDomainsResponseBody$Outbound` instead. */ + export type Outbound = GetProjectDomainsResponseBody$Outbound; +} + +export function getProjectDomainsResponseBodyToJSON( + getProjectDomainsResponseBody: GetProjectDomainsResponseBody, +): string { + return JSON.stringify( + GetProjectDomainsResponseBody$outboundSchema.parse( + getProjectDomainsResponseBody, + ), + ); +} + +export function getProjectDomainsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectDomainsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectDomainsResponseBody' from JSON`, + ); +} diff --git a/src/models/getprojectenvop.ts b/src/models/getprojectenvop.ts new file mode 100644 index 00000000..fa05955c --- /dev/null +++ b/src/models/getprojectenvop.ts @@ -0,0 +1,6818 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetProjectEnvRequest = { + /** + * The unique project identifier or the project name + */ + idOrName: string; + /** + * The unique ID for the environment variable to get the decrypted value. + */ + id: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export const GetProjectEnvTargetProjectsResponse2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type GetProjectEnvTargetProjectsResponse2 = ClosedEnum< + typeof GetProjectEnvTargetProjectsResponse2 +>; + +export type GetProjectEnvResponseBodyProjectsResponseTarget = + | Array + | GetProjectEnvTargetProjectsResponse2; + +export const GetProjectEnvResponseBodyProjectsResponseType = { + System: "system", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", + Secret: "secret", +} as const; +export type GetProjectEnvResponseBodyProjectsResponseType = ClosedEnum< + typeof GetProjectEnvResponseBodyProjectsResponseType +>; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type = + { + FlagsConnectionString: "flags-connection-string", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type + >; + +export type GetProjectEnvContentHintProjectsResponse15 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type; + projectId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type = + { + IntegrationStoreSecret: "integration-store-secret", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type + >; + +export type GetProjectEnvContentHintProjectsResponse14 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type = + { + PostgresUrlNoSsl: "postgres-url-no-ssl", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type + >; + +export type GetProjectEnvContentHintProjectsResponse13 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type = + { + PostgresDatabase: "postgres-database", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type + >; + +export type GetProjectEnvContentHintProjectsResponse12 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type = + { + PostgresPassword: "postgres-password", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type + >; + +export type GetProjectEnvContentHintProjectsResponse11 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type = + { + PostgresHost: "postgres-host", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type + >; + +export type GetProjectEnvContentHintProjectsResponse10 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type = + { + PostgresUser: "postgres-user", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type + >; + +export type GetProjectEnvContentHintProjectsResponse9 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type = + { + PostgresPrismaUrl: "postgres-prisma-url", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type + >; + +export type GetProjectEnvContentHintProjectsResponse8 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type = + { + PostgresUrlNonPooling: "postgres-url-non-pooling", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type + >; + +export type GetProjectEnvContentHintProjectsResponse7 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type = + { + PostgresUrl: "postgres-url", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type + >; + +export type GetProjectEnvContentHintProjectsResponse6 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type = + { + BlobReadWriteToken: "blob-read-write-token", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type + >; + +export type GetProjectEnvContentHintProjectsResponse5 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type = + { + RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type + >; + +export type GetProjectEnvContentHintProjectsResponse4 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type = + { + RedisRestApiToken: "redis-rest-api-token", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type + >; + +export type GetProjectEnvContentHintProjectsResponse3 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type = + { + RedisRestApiUrl: "redis-rest-api-url", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type + >; + +export type GetProjectEnvContentHintProjectsResponse2 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type = + { + RedisUrl: "redis-url", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type + >; + +export type GetProjectEnvContentHintProjectsResponse1 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type; + storeId: string; +}; + +export type GetProjectEnvResponseBodyProjectsResponseContentHint = + | GetProjectEnvContentHintProjectsResponse1 + | GetProjectEnvContentHintProjectsResponse2 + | GetProjectEnvContentHintProjectsResponse3 + | GetProjectEnvContentHintProjectsResponse4 + | GetProjectEnvContentHintProjectsResponse5 + | GetProjectEnvContentHintProjectsResponse6 + | GetProjectEnvContentHintProjectsResponse7 + | GetProjectEnvContentHintProjectsResponse8 + | GetProjectEnvContentHintProjectsResponse9 + | GetProjectEnvContentHintProjectsResponse10 + | GetProjectEnvContentHintProjectsResponse11 + | GetProjectEnvContentHintProjectsResponse12 + | GetProjectEnvContentHintProjectsResponse13 + | GetProjectEnvContentHintProjectsResponse15 + | GetProjectEnvContentHintProjectsResponse14; + +export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type = + { + FlagsSecret: "flags-secret", + } as const; +export type GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type = + ClosedEnum< + typeof GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type + >; + +/** + * Similar to `contentHints`, but should not be exposed to the user. + */ +export type GetProjectEnvResponseBodyProjectsResponseInternalContentHint = { + type: GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type; + /** + * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. + */ + encryptedValue: string; +}; + +export type GetProjectEnvResponseBody3 = { + target?: Array | GetProjectEnvTargetProjectsResponse2 | undefined; + type: GetProjectEnvResponseBodyProjectsResponseType; + /** + * This is used to identiy variables that have been migrated from type secret to sensitive. + */ + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | GetProjectEnvContentHintProjectsResponse1 + | GetProjectEnvContentHintProjectsResponse2 + | GetProjectEnvContentHintProjectsResponse3 + | GetProjectEnvContentHintProjectsResponse4 + | GetProjectEnvContentHintProjectsResponse5 + | GetProjectEnvContentHintProjectsResponse6 + | GetProjectEnvContentHintProjectsResponse7 + | GetProjectEnvContentHintProjectsResponse8 + | GetProjectEnvContentHintProjectsResponse9 + | GetProjectEnvContentHintProjectsResponse10 + | GetProjectEnvContentHintProjectsResponse11 + | GetProjectEnvContentHintProjectsResponse12 + | GetProjectEnvContentHintProjectsResponse13 + | GetProjectEnvContentHintProjectsResponse15 + | GetProjectEnvContentHintProjectsResponse14 + | null + | undefined; + /** + * Similar to `contentHints`, but should not be exposed to the user. + */ + internalContentHint?: + | GetProjectEnvResponseBodyProjectsResponseInternalContentHint + | null + | undefined; + /** + * Whether `value` and `vsmValue` are decrypted. + */ + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; +}; + +export const GetProjectEnvTargetProjects2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type GetProjectEnvTargetProjects2 = ClosedEnum< + typeof GetProjectEnvTargetProjects2 +>; + +export const GetProjectEnvTargetProjects1 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type GetProjectEnvTargetProjects1 = ClosedEnum< + typeof GetProjectEnvTargetProjects1 +>; + +export type GetProjectEnvResponseBodyProjectsTarget = + | Array + | GetProjectEnvTargetProjects2; + +export const GetProjectEnvResponseBodyProjectsType = { + System: "system", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", + Secret: "secret", +} as const; +export type GetProjectEnvResponseBodyProjectsType = ClosedEnum< + typeof GetProjectEnvResponseBodyProjectsType +>; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type = + { + FlagsConnectionString: "flags-connection-string", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type + >; + +export type GetProjectEnvContentHintProjects15 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type; + projectId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type = + { + IntegrationStoreSecret: "integration-store-secret", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type + >; + +export type GetProjectEnvContentHintProjects14 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type = + { + PostgresUrlNoSsl: "postgres-url-no-ssl", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type + >; + +export type GetProjectEnvContentHintProjects13 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type = + { + PostgresDatabase: "postgres-database", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type + >; + +export type GetProjectEnvContentHintProjects12 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type = + { + PostgresPassword: "postgres-password", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type + >; + +export type GetProjectEnvContentHintProjects11 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type = + { + PostgresHost: "postgres-host", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type + >; + +export type GetProjectEnvContentHintProjects10 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type = + { + PostgresUser: "postgres-user", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type + >; + +export type GetProjectEnvContentHintProjects9 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type = + { + PostgresPrismaUrl: "postgres-prisma-url", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type + >; + +export type GetProjectEnvContentHintProjects8 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type = + { + PostgresUrlNonPooling: "postgres-url-non-pooling", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type + >; + +export type GetProjectEnvContentHintProjects7 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type = + { + PostgresUrl: "postgres-url", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type + >; + +export type GetProjectEnvContentHintProjects6 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type = + { + BlobReadWriteToken: "blob-read-write-token", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type + >; + +export type GetProjectEnvContentHintProjects5 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type = + { + RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type + >; + +export type GetProjectEnvContentHintProjects4 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type = + { + RedisRestApiToken: "redis-rest-api-token", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type + >; + +export type GetProjectEnvContentHintProjects3 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type = + { + RedisRestApiUrl: "redis-rest-api-url", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type + >; + +export type GetProjectEnvContentHintProjects2 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type = + { + RedisUrl: "redis-url", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type + >; + +export type GetProjectEnvContentHintProjects1 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type; + storeId: string; +}; + +export type GetProjectEnvResponseBodyProjectsContentHint = + | GetProjectEnvContentHintProjects1 + | GetProjectEnvContentHintProjects2 + | GetProjectEnvContentHintProjects3 + | GetProjectEnvContentHintProjects4 + | GetProjectEnvContentHintProjects5 + | GetProjectEnvContentHintProjects6 + | GetProjectEnvContentHintProjects7 + | GetProjectEnvContentHintProjects8 + | GetProjectEnvContentHintProjects9 + | GetProjectEnvContentHintProjects10 + | GetProjectEnvContentHintProjects11 + | GetProjectEnvContentHintProjects12 + | GetProjectEnvContentHintProjects13 + | GetProjectEnvContentHintProjects15 + | GetProjectEnvContentHintProjects14; + +export const GetProjectEnvResponseBodyProjectsResponse200Type = { + FlagsSecret: "flags-secret", +} as const; +export type GetProjectEnvResponseBodyProjectsResponse200Type = ClosedEnum< + typeof GetProjectEnvResponseBodyProjectsResponse200Type +>; + +/** + * Similar to `contentHints`, but should not be exposed to the user. + */ +export type GetProjectEnvResponseBodyProjectsInternalContentHint = { + type: GetProjectEnvResponseBodyProjectsResponse200Type; + /** + * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. + */ + encryptedValue: string; +}; + +export type GetProjectEnvResponseBody2 = { + target?: + | Array + | GetProjectEnvTargetProjects2 + | undefined; + type: GetProjectEnvResponseBodyProjectsType; + /** + * This is used to identiy variables that have been migrated from type secret to sensitive. + */ + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | GetProjectEnvContentHintProjects1 + | GetProjectEnvContentHintProjects2 + | GetProjectEnvContentHintProjects3 + | GetProjectEnvContentHintProjects4 + | GetProjectEnvContentHintProjects5 + | GetProjectEnvContentHintProjects6 + | GetProjectEnvContentHintProjects7 + | GetProjectEnvContentHintProjects8 + | GetProjectEnvContentHintProjects9 + | GetProjectEnvContentHintProjects10 + | GetProjectEnvContentHintProjects11 + | GetProjectEnvContentHintProjects12 + | GetProjectEnvContentHintProjects13 + | GetProjectEnvContentHintProjects15 + | GetProjectEnvContentHintProjects14 + | null + | undefined; + /** + * Similar to `contentHints`, but should not be exposed to the user. + */ + internalContentHint?: + | GetProjectEnvResponseBodyProjectsInternalContentHint + | null + | undefined; + /** + * Whether `value` and `vsmValue` are decrypted. + */ + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +export const GetProjectEnvTarget2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type GetProjectEnvTarget2 = ClosedEnum; + +export const GetProjectEnvTarget1 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type GetProjectEnvTarget1 = ClosedEnum; + +export type GetProjectEnvResponseBodyTarget = + | Array + | GetProjectEnvTarget2; + +export const GetProjectEnvResponseBodyType = { + System: "system", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", + Secret: "secret", +} as const; +export type GetProjectEnvResponseBodyType = ClosedEnum< + typeof GetProjectEnvResponseBodyType +>; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type = + { + FlagsConnectionString: "flags-connection-string", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type + >; + +export type GetProjectEnvContentHint15 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type; + projectId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type = + { + IntegrationStoreSecret: "integration-store-secret", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type + >; + +export type GetProjectEnvContentHint14 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type = + { + PostgresUrlNoSsl: "postgres-url-no-ssl", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type + >; + +export type GetProjectEnvContentHint13 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type = + { + PostgresDatabase: "postgres-database", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type + >; + +export type GetProjectEnvContentHint12 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type = + { + PostgresPassword: "postgres-password", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type + >; + +export type GetProjectEnvContentHint11 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type = + { + PostgresHost: "postgres-host", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type + >; + +export type GetProjectEnvContentHint10 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type = + { + PostgresUser: "postgres-user", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type + >; + +export type GetProjectEnvContentHint9 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type = + { + PostgresPrismaUrl: "postgres-prisma-url", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type + >; + +export type GetProjectEnvContentHint8 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type = + { + PostgresUrlNonPooling: "postgres-url-non-pooling", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type + >; + +export type GetProjectEnvContentHint7 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType = + { + PostgresUrl: "postgres-url", + } as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType + >; + +export type GetProjectEnvContentHint6 = { + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONType = { + BlobReadWriteToken: "blob-read-write-token", +} as const; +export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONType = + ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONType + >; + +export type GetProjectEnvContentHint5 = { + type: GetProjectEnvContentHintProjectsResponse200ApplicationJSONType; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponse200Type = { + RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", +} as const; +export type GetProjectEnvContentHintProjectsResponse200Type = ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponse200Type +>; + +export type GetProjectEnvContentHint4 = { + type: GetProjectEnvContentHintProjectsResponse200Type; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsResponseType = { + RedisRestApiToken: "redis-rest-api-token", +} as const; +export type GetProjectEnvContentHintProjectsResponseType = ClosedEnum< + typeof GetProjectEnvContentHintProjectsResponseType +>; + +export type GetProjectEnvContentHint3 = { + type: GetProjectEnvContentHintProjectsResponseType; + storeId: string; +}; + +export const GetProjectEnvContentHintProjectsType = { + RedisRestApiUrl: "redis-rest-api-url", +} as const; +export type GetProjectEnvContentHintProjectsType = ClosedEnum< + typeof GetProjectEnvContentHintProjectsType +>; + +export type GetProjectEnvContentHint2 = { + type: GetProjectEnvContentHintProjectsType; + storeId: string; +}; + +export const GetProjectEnvContentHintType = { + RedisUrl: "redis-url", +} as const; +export type GetProjectEnvContentHintType = ClosedEnum< + typeof GetProjectEnvContentHintType +>; + +export type GetProjectEnvContentHint1 = { + type: GetProjectEnvContentHintType; + storeId: string; +}; + +export type GetProjectEnvResponseBodyContentHint = + | GetProjectEnvContentHint1 + | GetProjectEnvContentHint2 + | GetProjectEnvContentHint3 + | GetProjectEnvContentHint4 + | GetProjectEnvContentHint5 + | GetProjectEnvContentHint6 + | GetProjectEnvContentHint7 + | GetProjectEnvContentHint8 + | GetProjectEnvContentHint9 + | GetProjectEnvContentHint10 + | GetProjectEnvContentHint11 + | GetProjectEnvContentHint12 + | GetProjectEnvContentHint13 + | GetProjectEnvContentHint15 + | GetProjectEnvContentHint14; + +export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType = { + FlagsSecret: "flags-secret", +} as const; +export type GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType = + ClosedEnum< + typeof GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType + >; + +/** + * Similar to `contentHints`, but should not be exposed to the user. + */ +export type GetProjectEnvResponseBodyInternalContentHint = { + type: GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType; + /** + * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. + */ + encryptedValue: string; +}; + +export type GetProjectEnvResponseBody1 = { + decrypted: boolean; + target?: Array | GetProjectEnvTarget2 | undefined; + type: GetProjectEnvResponseBodyType; + /** + * This is used to identiy variables that have been migrated from type secret to sensitive. + */ + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | GetProjectEnvContentHint1 + | GetProjectEnvContentHint2 + | GetProjectEnvContentHint3 + | GetProjectEnvContentHint4 + | GetProjectEnvContentHint5 + | GetProjectEnvContentHint6 + | GetProjectEnvContentHint7 + | GetProjectEnvContentHint8 + | GetProjectEnvContentHint9 + | GetProjectEnvContentHint10 + | GetProjectEnvContentHint11 + | GetProjectEnvContentHint12 + | GetProjectEnvContentHint13 + | GetProjectEnvContentHint15 + | GetProjectEnvContentHint14 + | null + | undefined; + /** + * Similar to `contentHints`, but should not be exposed to the user. + */ + internalContentHint?: + | GetProjectEnvResponseBodyInternalContentHint + | null + | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +export type GetProjectEnvResponseBody = + | GetProjectEnvResponseBody1 + | GetProjectEnvResponseBody3 + | GetProjectEnvResponseBody2; + +/** @internal */ +export const GetProjectEnvRequest$inboundSchema: z.ZodType< + GetProjectEnvRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetProjectEnvRequest$Outbound = { + idOrName: string; + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetProjectEnvRequest$outboundSchema: z.ZodType< + GetProjectEnvRequest$Outbound, + z.ZodTypeDef, + GetProjectEnvRequest +> = z.object({ + idOrName: z.string(), + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvRequest$ { + /** @deprecated use `GetProjectEnvRequest$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvRequest$inboundSchema; + /** @deprecated use `GetProjectEnvRequest$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvRequest$outboundSchema; + /** @deprecated use `GetProjectEnvRequest$Outbound` instead. */ + export type Outbound = GetProjectEnvRequest$Outbound; +} + +export function getProjectEnvRequestToJSON( + getProjectEnvRequest: GetProjectEnvRequest, +): string { + return JSON.stringify( + GetProjectEnvRequest$outboundSchema.parse(getProjectEnvRequest), + ); +} + +export function getProjectEnvRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvRequest' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvTargetProjectsResponse2$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetProjectEnvTargetProjectsResponse2, + ); + +/** @internal */ +export const GetProjectEnvTargetProjectsResponse2$outboundSchema: + z.ZodNativeEnum = + GetProjectEnvTargetProjectsResponse2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvTargetProjectsResponse2$ { + /** @deprecated use `GetProjectEnvTargetProjectsResponse2$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvTargetProjectsResponse2$inboundSchema; + /** @deprecated use `GetProjectEnvTargetProjectsResponse2$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvTargetProjectsResponse2$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsResponseTarget$inboundSchema: + z.ZodType< + GetProjectEnvResponseBodyProjectsResponseTarget, + z.ZodTypeDef, + unknown + > = z.union([ + z.array(z.string()), + GetProjectEnvTargetProjectsResponse2$inboundSchema, + ]); + +/** @internal */ +export type GetProjectEnvResponseBodyProjectsResponseTarget$Outbound = + | Array + | string; + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsResponseTarget$outboundSchema: + z.ZodType< + GetProjectEnvResponseBodyProjectsResponseTarget$Outbound, + z.ZodTypeDef, + GetProjectEnvResponseBodyProjectsResponseTarget + > = z.union([ + z.array(z.string()), + GetProjectEnvTargetProjectsResponse2$outboundSchema, + ]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBodyProjectsResponseTarget$ { + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseTarget$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvResponseBodyProjectsResponseTarget$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseTarget$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvResponseBodyProjectsResponseTarget$outboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseTarget$Outbound` instead. */ + export type Outbound = + GetProjectEnvResponseBodyProjectsResponseTarget$Outbound; +} + +export function getProjectEnvResponseBodyProjectsResponseTargetToJSON( + getProjectEnvResponseBodyProjectsResponseTarget: + GetProjectEnvResponseBodyProjectsResponseTarget, +): string { + return JSON.stringify( + GetProjectEnvResponseBodyProjectsResponseTarget$outboundSchema.parse( + getProjectEnvResponseBodyProjectsResponseTarget, + ), + ); +} + +export function getProjectEnvResponseBodyProjectsResponseTargetFromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvResponseBodyProjectsResponseTarget, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvResponseBodyProjectsResponseTarget$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvResponseBodyProjectsResponseTarget' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetProjectEnvResponseBodyProjectsResponseType); + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsResponseType$outboundSchema: + z.ZodNativeEnum = + GetProjectEnvResponseBodyProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBodyProjectsResponseType$ { + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvResponseBodyProjectsResponseType$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvResponseBodyProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse15$inboundSchema: + z.ZodType = + z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema, + projectId: z.string(), + }); + +/** @internal */ +export type GetProjectEnvContentHintProjectsResponse15$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse15$outboundSchema: + z.ZodType< + GetProjectEnvContentHintProjectsResponse15$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjectsResponse15 + > = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema, + projectId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse15$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse15$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse15$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse15$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse15$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse15$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjectsResponse15$Outbound; +} + +export function getProjectEnvContentHintProjectsResponse15ToJSON( + getProjectEnvContentHintProjectsResponse15: + GetProjectEnvContentHintProjectsResponse15, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjectsResponse15$outboundSchema.parse( + getProjectEnvContentHintProjectsResponse15, + ), + ); +} + +export function getProjectEnvContentHintProjectsResponse15FromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvContentHintProjectsResponse15, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjectsResponse15$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvContentHintProjectsResponse15' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse14$inboundSchema: + z.ZodType = + z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), + }); + +/** @internal */ +export type GetProjectEnvContentHintProjectsResponse14$Outbound = { + type: string; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse14$outboundSchema: + z.ZodType< + GetProjectEnvContentHintProjectsResponse14$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjectsResponse14 + > = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse14$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse14$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse14$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse14$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse14$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse14$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjectsResponse14$Outbound; +} + +export function getProjectEnvContentHintProjectsResponse14ToJSON( + getProjectEnvContentHintProjectsResponse14: + GetProjectEnvContentHintProjectsResponse14, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjectsResponse14$outboundSchema.parse( + getProjectEnvContentHintProjectsResponse14, + ), + ); +} + +export function getProjectEnvContentHintProjectsResponse14FromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvContentHintProjectsResponse14, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjectsResponse14$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvContentHintProjectsResponse14' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse13$inboundSchema: + z.ZodType = + z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type GetProjectEnvContentHintProjectsResponse13$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse13$outboundSchema: + z.ZodType< + GetProjectEnvContentHintProjectsResponse13$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjectsResponse13 + > = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse13$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse13$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse13$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse13$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse13$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse13$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjectsResponse13$Outbound; +} + +export function getProjectEnvContentHintProjectsResponse13ToJSON( + getProjectEnvContentHintProjectsResponse13: + GetProjectEnvContentHintProjectsResponse13, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjectsResponse13$outboundSchema.parse( + getProjectEnvContentHintProjectsResponse13, + ), + ); +} + +export function getProjectEnvContentHintProjectsResponse13FromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvContentHintProjectsResponse13, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjectsResponse13$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvContentHintProjectsResponse13' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse12$inboundSchema: + z.ZodType = + z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type GetProjectEnvContentHintProjectsResponse12$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse12$outboundSchema: + z.ZodType< + GetProjectEnvContentHintProjectsResponse12$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjectsResponse12 + > = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse12$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse12$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse12$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse12$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse12$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse12$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjectsResponse12$Outbound; +} + +export function getProjectEnvContentHintProjectsResponse12ToJSON( + getProjectEnvContentHintProjectsResponse12: + GetProjectEnvContentHintProjectsResponse12, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjectsResponse12$outboundSchema.parse( + getProjectEnvContentHintProjectsResponse12, + ), + ); +} + +export function getProjectEnvContentHintProjectsResponse12FromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvContentHintProjectsResponse12, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjectsResponse12$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvContentHintProjectsResponse12' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse11$inboundSchema: + z.ZodType = + z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type GetProjectEnvContentHintProjectsResponse11$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse11$outboundSchema: + z.ZodType< + GetProjectEnvContentHintProjectsResponse11$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjectsResponse11 + > = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse11$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse11$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse11$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse11$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse11$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse11$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjectsResponse11$Outbound; +} + +export function getProjectEnvContentHintProjectsResponse11ToJSON( + getProjectEnvContentHintProjectsResponse11: + GetProjectEnvContentHintProjectsResponse11, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjectsResponse11$outboundSchema.parse( + getProjectEnvContentHintProjectsResponse11, + ), + ); +} + +export function getProjectEnvContentHintProjectsResponse11FromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvContentHintProjectsResponse11, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjectsResponse11$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvContentHintProjectsResponse11' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse10$inboundSchema: + z.ZodType = + z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type GetProjectEnvContentHintProjectsResponse10$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse10$outboundSchema: + z.ZodType< + GetProjectEnvContentHintProjectsResponse10$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjectsResponse10 + > = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse10$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse10$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse10$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse10$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse10$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse10$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjectsResponse10$Outbound; +} + +export function getProjectEnvContentHintProjectsResponse10ToJSON( + getProjectEnvContentHintProjectsResponse10: + GetProjectEnvContentHintProjectsResponse10, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjectsResponse10$outboundSchema.parse( + getProjectEnvContentHintProjectsResponse10, + ), + ); +} + +export function getProjectEnvContentHintProjectsResponse10FromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvContentHintProjectsResponse10, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjectsResponse10$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvContentHintProjectsResponse10' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse9$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjectsResponse9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjectsResponse9$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse9$outboundSchema: + z.ZodType< + GetProjectEnvContentHintProjectsResponse9$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjectsResponse9 + > = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse9$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse9$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse9$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse9$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse9$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse9$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjectsResponse9$Outbound; +} + +export function getProjectEnvContentHintProjectsResponse9ToJSON( + getProjectEnvContentHintProjectsResponse9: + GetProjectEnvContentHintProjectsResponse9, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjectsResponse9$outboundSchema.parse( + getProjectEnvContentHintProjectsResponse9, + ), + ); +} + +export function getProjectEnvContentHintProjectsResponse9FromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvContentHintProjectsResponse9, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjectsResponse9$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvContentHintProjectsResponse9' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse8$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjectsResponse8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjectsResponse8$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse8$outboundSchema: + z.ZodType< + GetProjectEnvContentHintProjectsResponse8$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjectsResponse8 + > = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse8$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse8$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse8$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse8$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse8$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse8$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjectsResponse8$Outbound; +} + +export function getProjectEnvContentHintProjectsResponse8ToJSON( + getProjectEnvContentHintProjectsResponse8: + GetProjectEnvContentHintProjectsResponse8, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjectsResponse8$outboundSchema.parse( + getProjectEnvContentHintProjectsResponse8, + ), + ); +} + +export function getProjectEnvContentHintProjectsResponse8FromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvContentHintProjectsResponse8, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjectsResponse8$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvContentHintProjectsResponse8' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse7$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjectsResponse7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjectsResponse7$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse7$outboundSchema: + z.ZodType< + GetProjectEnvContentHintProjectsResponse7$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjectsResponse7 + > = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse7$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse7$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse7$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse7$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse7$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse7$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjectsResponse7$Outbound; +} + +export function getProjectEnvContentHintProjectsResponse7ToJSON( + getProjectEnvContentHintProjectsResponse7: + GetProjectEnvContentHintProjectsResponse7, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjectsResponse7$outboundSchema.parse( + getProjectEnvContentHintProjectsResponse7, + ), + ); +} + +export function getProjectEnvContentHintProjectsResponse7FromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvContentHintProjectsResponse7, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjectsResponse7$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvContentHintProjectsResponse7' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse6$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjectsResponse6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjectsResponse6$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse6$outboundSchema: + z.ZodType< + GetProjectEnvContentHintProjectsResponse6$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjectsResponse6 + > = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse6$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse6$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse6$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse6$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse6$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse6$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjectsResponse6$Outbound; +} + +export function getProjectEnvContentHintProjectsResponse6ToJSON( + getProjectEnvContentHintProjectsResponse6: + GetProjectEnvContentHintProjectsResponse6, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjectsResponse6$outboundSchema.parse( + getProjectEnvContentHintProjectsResponse6, + ), + ); +} + +export function getProjectEnvContentHintProjectsResponse6FromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvContentHintProjectsResponse6, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjectsResponse6$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvContentHintProjectsResponse6' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse5$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjectsResponse5, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjectsResponse5$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse5$outboundSchema: + z.ZodType< + GetProjectEnvContentHintProjectsResponse5$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjectsResponse5 + > = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse5$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse5$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse5$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse5$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse5$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse5$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjectsResponse5$Outbound; +} + +export function getProjectEnvContentHintProjectsResponse5ToJSON( + getProjectEnvContentHintProjectsResponse5: + GetProjectEnvContentHintProjectsResponse5, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjectsResponse5$outboundSchema.parse( + getProjectEnvContentHintProjectsResponse5, + ), + ); +} + +export function getProjectEnvContentHintProjectsResponse5FromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvContentHintProjectsResponse5, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjectsResponse5$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvContentHintProjectsResponse5' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse4$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjectsResponse4, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjectsResponse4$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse4$outboundSchema: + z.ZodType< + GetProjectEnvContentHintProjectsResponse4$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjectsResponse4 + > = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse4$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse4$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse4$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse4$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse4$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse4$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjectsResponse4$Outbound; +} + +export function getProjectEnvContentHintProjectsResponse4ToJSON( + getProjectEnvContentHintProjectsResponse4: + GetProjectEnvContentHintProjectsResponse4, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjectsResponse4$outboundSchema.parse( + getProjectEnvContentHintProjectsResponse4, + ), + ); +} + +export function getProjectEnvContentHintProjectsResponse4FromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvContentHintProjectsResponse4, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjectsResponse4$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvContentHintProjectsResponse4' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse3$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjectsResponse3, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjectsResponse3$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse3$outboundSchema: + z.ZodType< + GetProjectEnvContentHintProjectsResponse3$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjectsResponse3 + > = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse3$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse3$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse3$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse3$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse3$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse3$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjectsResponse3$Outbound; +} + +export function getProjectEnvContentHintProjectsResponse3ToJSON( + getProjectEnvContentHintProjectsResponse3: + GetProjectEnvContentHintProjectsResponse3, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjectsResponse3$outboundSchema.parse( + getProjectEnvContentHintProjectsResponse3, + ), + ); +} + +export function getProjectEnvContentHintProjectsResponse3FromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvContentHintProjectsResponse3, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjectsResponse3$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvContentHintProjectsResponse3' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse2$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjectsResponse2, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjectsResponse2$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse2$outboundSchema: + z.ZodType< + GetProjectEnvContentHintProjectsResponse2$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjectsResponse2 + > = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse2$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse2$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse2$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse2$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse2$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse2$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjectsResponse2$Outbound; +} + +export function getProjectEnvContentHintProjectsResponse2ToJSON( + getProjectEnvContentHintProjectsResponse2: + GetProjectEnvContentHintProjectsResponse2, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjectsResponse2$outboundSchema.parse( + getProjectEnvContentHintProjectsResponse2, + ), + ); +} + +export function getProjectEnvContentHintProjectsResponse2FromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvContentHintProjectsResponse2, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjectsResponse2$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvContentHintProjectsResponse2' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse1$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjectsResponse1, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjectsResponse1$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse1$outboundSchema: + z.ZodType< + GetProjectEnvContentHintProjectsResponse1$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjectsResponse1 + > = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse1$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse1$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse1$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse1$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse1$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse1$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjectsResponse1$Outbound; +} + +export function getProjectEnvContentHintProjectsResponse1ToJSON( + getProjectEnvContentHintProjectsResponse1: + GetProjectEnvContentHintProjectsResponse1, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjectsResponse1$outboundSchema.parse( + getProjectEnvContentHintProjectsResponse1, + ), + ); +} + +export function getProjectEnvContentHintProjectsResponse1FromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvContentHintProjectsResponse1, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjectsResponse1$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvContentHintProjectsResponse1' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema: + z.ZodType< + GetProjectEnvResponseBodyProjectsResponseContentHint, + z.ZodTypeDef, + unknown + > = z.union([ + z.lazy(() => GetProjectEnvContentHintProjectsResponse1$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse2$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse3$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse4$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse5$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse6$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse7$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse8$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse9$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse10$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse11$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse12$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse13$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse15$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse14$inboundSchema), + ]); + +/** @internal */ +export type GetProjectEnvResponseBodyProjectsResponseContentHint$Outbound = + | GetProjectEnvContentHintProjectsResponse1$Outbound + | GetProjectEnvContentHintProjectsResponse2$Outbound + | GetProjectEnvContentHintProjectsResponse3$Outbound + | GetProjectEnvContentHintProjectsResponse4$Outbound + | GetProjectEnvContentHintProjectsResponse5$Outbound + | GetProjectEnvContentHintProjectsResponse6$Outbound + | GetProjectEnvContentHintProjectsResponse7$Outbound + | GetProjectEnvContentHintProjectsResponse8$Outbound + | GetProjectEnvContentHintProjectsResponse9$Outbound + | GetProjectEnvContentHintProjectsResponse10$Outbound + | GetProjectEnvContentHintProjectsResponse11$Outbound + | GetProjectEnvContentHintProjectsResponse12$Outbound + | GetProjectEnvContentHintProjectsResponse13$Outbound + | GetProjectEnvContentHintProjectsResponse15$Outbound + | GetProjectEnvContentHintProjectsResponse14$Outbound; + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema: + z.ZodType< + GetProjectEnvResponseBodyProjectsResponseContentHint$Outbound, + z.ZodTypeDef, + GetProjectEnvResponseBodyProjectsResponseContentHint + > = z.union([ + z.lazy(() => GetProjectEnvContentHintProjectsResponse1$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse2$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse3$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse4$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse5$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse6$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse7$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse8$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse9$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse10$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse11$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse12$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse13$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse15$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse14$outboundSchema), + ]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBodyProjectsResponseContentHint$ { + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseContentHint$Outbound` instead. */ + export type Outbound = + GetProjectEnvResponseBodyProjectsResponseContentHint$Outbound; +} + +export function getProjectEnvResponseBodyProjectsResponseContentHintToJSON( + getProjectEnvResponseBodyProjectsResponseContentHint: + GetProjectEnvResponseBodyProjectsResponseContentHint, +): string { + return JSON.stringify( + GetProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema.parse( + getProjectEnvResponseBodyProjectsResponseContentHint, + ), + ); +} + +export function getProjectEnvResponseBodyProjectsResponseContentHintFromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvResponseBodyProjectsResponseContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvResponseBodyProjectsResponseContentHint' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type + > = z.nativeEnum( + GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type, + ); + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type + > = + GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$ { + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema: + z.ZodType< + GetProjectEnvResponseBodyProjectsResponseInternalContentHint, + z.ZodTypeDef, + unknown + > = z.object({ + type: + GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema, + encryptedValue: z.string(), + }); + +/** @internal */ +export type GetProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound = + { + type: string; + encryptedValue: string; + }; + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema: + z.ZodType< + GetProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound, + z.ZodTypeDef, + GetProjectEnvResponseBodyProjectsResponseInternalContentHint + > = z.object({ + type: + GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema, + encryptedValue: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBodyProjectsResponseInternalContentHint$ { + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound` instead. */ + export type Outbound = + GetProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound; +} + +export function getProjectEnvResponseBodyProjectsResponseInternalContentHintToJSON( + getProjectEnvResponseBodyProjectsResponseInternalContentHint: + GetProjectEnvResponseBodyProjectsResponseInternalContentHint, +): string { + return JSON.stringify( + GetProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema + .parse(getProjectEnvResponseBodyProjectsResponseInternalContentHint), + ); +} + +export function getProjectEnvResponseBodyProjectsResponseInternalContentHintFromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvResponseBodyProjectsResponseInternalContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema + .parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvResponseBodyProjectsResponseInternalContentHint' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvResponseBody3$inboundSchema: z.ZodType< + GetProjectEnvResponseBody3, + z.ZodTypeDef, + unknown +> = z.object({ + target: z.union([ + z.array(z.string()), + GetProjectEnvTargetProjectsResponse2$inboundSchema, + ]).optional(), + type: GetProjectEnvResponseBodyProjectsResponseType$inboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => GetProjectEnvContentHintProjectsResponse1$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse2$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse3$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse4$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse5$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse6$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse7$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse8$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse9$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse10$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse11$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse12$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse13$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse15$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse14$inboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => + GetProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema + ), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), +}); + +/** @internal */ +export type GetProjectEnvResponseBody3$Outbound = { + target?: Array | string | undefined; + type: string; + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | GetProjectEnvContentHintProjectsResponse1$Outbound + | GetProjectEnvContentHintProjectsResponse2$Outbound + | GetProjectEnvContentHintProjectsResponse3$Outbound + | GetProjectEnvContentHintProjectsResponse4$Outbound + | GetProjectEnvContentHintProjectsResponse5$Outbound + | GetProjectEnvContentHintProjectsResponse6$Outbound + | GetProjectEnvContentHintProjectsResponse7$Outbound + | GetProjectEnvContentHintProjectsResponse8$Outbound + | GetProjectEnvContentHintProjectsResponse9$Outbound + | GetProjectEnvContentHintProjectsResponse10$Outbound + | GetProjectEnvContentHintProjectsResponse11$Outbound + | GetProjectEnvContentHintProjectsResponse12$Outbound + | GetProjectEnvContentHintProjectsResponse13$Outbound + | GetProjectEnvContentHintProjectsResponse15$Outbound + | GetProjectEnvContentHintProjectsResponse14$Outbound + | null + | undefined; + internalContentHint?: + | GetProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound + | null + | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; +}; + +/** @internal */ +export const GetProjectEnvResponseBody3$outboundSchema: z.ZodType< + GetProjectEnvResponseBody3$Outbound, + z.ZodTypeDef, + GetProjectEnvResponseBody3 +> = z.object({ + target: z.union([ + z.array(z.string()), + GetProjectEnvTargetProjectsResponse2$outboundSchema, + ]).optional(), + type: GetProjectEnvResponseBodyProjectsResponseType$outboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => GetProjectEnvContentHintProjectsResponse1$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse2$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse3$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse4$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse5$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse6$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse7$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse8$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse9$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse10$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse11$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse12$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse13$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse15$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse14$outboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => + GetProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema + ), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBody3$ { + /** @deprecated use `GetProjectEnvResponseBody3$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvResponseBody3$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBody3$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvResponseBody3$outboundSchema; + /** @deprecated use `GetProjectEnvResponseBody3$Outbound` instead. */ + export type Outbound = GetProjectEnvResponseBody3$Outbound; +} + +export function getProjectEnvResponseBody3ToJSON( + getProjectEnvResponseBody3: GetProjectEnvResponseBody3, +): string { + return JSON.stringify( + GetProjectEnvResponseBody3$outboundSchema.parse(getProjectEnvResponseBody3), + ); +} + +export function getProjectEnvResponseBody3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvResponseBody3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvResponseBody3' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvTargetProjects2$inboundSchema: z.ZodNativeEnum< + typeof GetProjectEnvTargetProjects2 +> = z.nativeEnum(GetProjectEnvTargetProjects2); + +/** @internal */ +export const GetProjectEnvTargetProjects2$outboundSchema: z.ZodNativeEnum< + typeof GetProjectEnvTargetProjects2 +> = GetProjectEnvTargetProjects2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvTargetProjects2$ { + /** @deprecated use `GetProjectEnvTargetProjects2$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvTargetProjects2$inboundSchema; + /** @deprecated use `GetProjectEnvTargetProjects2$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvTargetProjects2$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvTargetProjects1$inboundSchema: z.ZodNativeEnum< + typeof GetProjectEnvTargetProjects1 +> = z.nativeEnum(GetProjectEnvTargetProjects1); + +/** @internal */ +export const GetProjectEnvTargetProjects1$outboundSchema: z.ZodNativeEnum< + typeof GetProjectEnvTargetProjects1 +> = GetProjectEnvTargetProjects1$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvTargetProjects1$ { + /** @deprecated use `GetProjectEnvTargetProjects1$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvTargetProjects1$inboundSchema; + /** @deprecated use `GetProjectEnvTargetProjects1$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvTargetProjects1$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsTarget$inboundSchema: z.ZodType< + GetProjectEnvResponseBodyProjectsTarget, + z.ZodTypeDef, + unknown +> = z.union([ + z.array(GetProjectEnvTargetProjects1$inboundSchema), + GetProjectEnvTargetProjects2$inboundSchema, +]); + +/** @internal */ +export type GetProjectEnvResponseBodyProjectsTarget$Outbound = + | Array + | string; + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsTarget$outboundSchema: z.ZodType< + GetProjectEnvResponseBodyProjectsTarget$Outbound, + z.ZodTypeDef, + GetProjectEnvResponseBodyProjectsTarget +> = z.union([ + z.array(GetProjectEnvTargetProjects1$outboundSchema), + GetProjectEnvTargetProjects2$outboundSchema, +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBodyProjectsTarget$ { + /** @deprecated use `GetProjectEnvResponseBodyProjectsTarget$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvResponseBodyProjectsTarget$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsTarget$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvResponseBodyProjectsTarget$outboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsTarget$Outbound` instead. */ + export type Outbound = GetProjectEnvResponseBodyProjectsTarget$Outbound; +} + +export function getProjectEnvResponseBodyProjectsTargetToJSON( + getProjectEnvResponseBodyProjectsTarget: + GetProjectEnvResponseBodyProjectsTarget, +): string { + return JSON.stringify( + GetProjectEnvResponseBodyProjectsTarget$outboundSchema.parse( + getProjectEnvResponseBodyProjectsTarget, + ), + ); +} + +export function getProjectEnvResponseBodyProjectsTargetFromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvResponseBodyProjectsTarget, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvResponseBodyProjectsTarget$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvResponseBodyProjectsTarget' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetProjectEnvResponseBodyProjectsType, + ); + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsType$outboundSchema: + z.ZodNativeEnum = + GetProjectEnvResponseBodyProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBodyProjectsType$ { + /** @deprecated use `GetProjectEnvResponseBodyProjectsType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvResponseBodyProjectsType$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvResponseBodyProjectsType$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjects15$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjects15, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema, + projectId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjects15$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjects15$outboundSchema: z.ZodType< + GetProjectEnvContentHintProjects15$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjects15 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjects15$ { + /** @deprecated use `GetProjectEnvContentHintProjects15$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHintProjects15$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects15$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjects15$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects15$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjects15$Outbound; +} + +export function getProjectEnvContentHintProjects15ToJSON( + getProjectEnvContentHintProjects15: GetProjectEnvContentHintProjects15, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjects15$outboundSchema.parse( + getProjectEnvContentHintProjects15, + ), + ); +} + +export function getProjectEnvContentHintProjects15FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjects15$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHintProjects15' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjects14$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjects14, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjects14$Outbound = { + type: string; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjects14$outboundSchema: z.ZodType< + GetProjectEnvContentHintProjects14$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjects14 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjects14$ { + /** @deprecated use `GetProjectEnvContentHintProjects14$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHintProjects14$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects14$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjects14$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects14$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjects14$Outbound; +} + +export function getProjectEnvContentHintProjects14ToJSON( + getProjectEnvContentHintProjects14: GetProjectEnvContentHintProjects14, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjects14$outboundSchema.parse( + getProjectEnvContentHintProjects14, + ), + ); +} + +export function getProjectEnvContentHintProjects14FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjects14$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHintProjects14' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjects13$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjects13, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjects13$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjects13$outboundSchema: z.ZodType< + GetProjectEnvContentHintProjects13$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjects13 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjects13$ { + /** @deprecated use `GetProjectEnvContentHintProjects13$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHintProjects13$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects13$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjects13$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects13$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjects13$Outbound; +} + +export function getProjectEnvContentHintProjects13ToJSON( + getProjectEnvContentHintProjects13: GetProjectEnvContentHintProjects13, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjects13$outboundSchema.parse( + getProjectEnvContentHintProjects13, + ), + ); +} + +export function getProjectEnvContentHintProjects13FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjects13$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHintProjects13' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjects12$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjects12, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjects12$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjects12$outboundSchema: z.ZodType< + GetProjectEnvContentHintProjects12$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjects12 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjects12$ { + /** @deprecated use `GetProjectEnvContentHintProjects12$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHintProjects12$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects12$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjects12$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects12$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjects12$Outbound; +} + +export function getProjectEnvContentHintProjects12ToJSON( + getProjectEnvContentHintProjects12: GetProjectEnvContentHintProjects12, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjects12$outboundSchema.parse( + getProjectEnvContentHintProjects12, + ), + ); +} + +export function getProjectEnvContentHintProjects12FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjects12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHintProjects12' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjects11$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjects11, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjects11$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjects11$outboundSchema: z.ZodType< + GetProjectEnvContentHintProjects11$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjects11 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjects11$ { + /** @deprecated use `GetProjectEnvContentHintProjects11$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHintProjects11$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects11$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjects11$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects11$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjects11$Outbound; +} + +export function getProjectEnvContentHintProjects11ToJSON( + getProjectEnvContentHintProjects11: GetProjectEnvContentHintProjects11, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjects11$outboundSchema.parse( + getProjectEnvContentHintProjects11, + ), + ); +} + +export function getProjectEnvContentHintProjects11FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjects11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHintProjects11' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjects10$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjects10, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjects10$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjects10$outboundSchema: z.ZodType< + GetProjectEnvContentHintProjects10$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjects10 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjects10$ { + /** @deprecated use `GetProjectEnvContentHintProjects10$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHintProjects10$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects10$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjects10$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects10$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjects10$Outbound; +} + +export function getProjectEnvContentHintProjects10ToJSON( + getProjectEnvContentHintProjects10: GetProjectEnvContentHintProjects10, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjects10$outboundSchema.parse( + getProjectEnvContentHintProjects10, + ), + ); +} + +export function getProjectEnvContentHintProjects10FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetProjectEnvContentHintProjects10$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHintProjects10' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjects9$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjects9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjects9$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjects9$outboundSchema: z.ZodType< + GetProjectEnvContentHintProjects9$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjects9 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjects9$ { + /** @deprecated use `GetProjectEnvContentHintProjects9$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHintProjects9$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects9$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjects9$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects9$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjects9$Outbound; +} + +export function getProjectEnvContentHintProjects9ToJSON( + getProjectEnvContentHintProjects9: GetProjectEnvContentHintProjects9, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjects9$outboundSchema.parse( + getProjectEnvContentHintProjects9, + ), + ); +} + +export function getProjectEnvContentHintProjects9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHintProjects9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHintProjects9' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjects8$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjects8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjects8$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjects8$outboundSchema: z.ZodType< + GetProjectEnvContentHintProjects8$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjects8 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjects8$ { + /** @deprecated use `GetProjectEnvContentHintProjects8$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHintProjects8$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects8$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjects8$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects8$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjects8$Outbound; +} + +export function getProjectEnvContentHintProjects8ToJSON( + getProjectEnvContentHintProjects8: GetProjectEnvContentHintProjects8, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjects8$outboundSchema.parse( + getProjectEnvContentHintProjects8, + ), + ); +} + +export function getProjectEnvContentHintProjects8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHintProjects8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHintProjects8' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjects7$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjects7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjects7$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjects7$outboundSchema: z.ZodType< + GetProjectEnvContentHintProjects7$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjects7 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjects7$ { + /** @deprecated use `GetProjectEnvContentHintProjects7$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHintProjects7$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects7$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjects7$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects7$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjects7$Outbound; +} + +export function getProjectEnvContentHintProjects7ToJSON( + getProjectEnvContentHintProjects7: GetProjectEnvContentHintProjects7, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjects7$outboundSchema.parse( + getProjectEnvContentHintProjects7, + ), + ); +} + +export function getProjectEnvContentHintProjects7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHintProjects7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHintProjects7' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjects6$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjects6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjects6$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjects6$outboundSchema: z.ZodType< + GetProjectEnvContentHintProjects6$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjects6 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjects6$ { + /** @deprecated use `GetProjectEnvContentHintProjects6$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHintProjects6$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects6$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjects6$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects6$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjects6$Outbound; +} + +export function getProjectEnvContentHintProjects6ToJSON( + getProjectEnvContentHintProjects6: GetProjectEnvContentHintProjects6, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjects6$outboundSchema.parse( + getProjectEnvContentHintProjects6, + ), + ); +} + +export function getProjectEnvContentHintProjects6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHintProjects6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHintProjects6' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjects5$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjects5, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjects5$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjects5$outboundSchema: z.ZodType< + GetProjectEnvContentHintProjects5$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjects5 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjects5$ { + /** @deprecated use `GetProjectEnvContentHintProjects5$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHintProjects5$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects5$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjects5$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects5$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjects5$Outbound; +} + +export function getProjectEnvContentHintProjects5ToJSON( + getProjectEnvContentHintProjects5: GetProjectEnvContentHintProjects5, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjects5$outboundSchema.parse( + getProjectEnvContentHintProjects5, + ), + ); +} + +export function getProjectEnvContentHintProjects5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHintProjects5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHintProjects5' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjects4$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjects4, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjects4$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjects4$outboundSchema: z.ZodType< + GetProjectEnvContentHintProjects4$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjects4 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjects4$ { + /** @deprecated use `GetProjectEnvContentHintProjects4$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHintProjects4$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects4$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjects4$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects4$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjects4$Outbound; +} + +export function getProjectEnvContentHintProjects4ToJSON( + getProjectEnvContentHintProjects4: GetProjectEnvContentHintProjects4, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjects4$outboundSchema.parse( + getProjectEnvContentHintProjects4, + ), + ); +} + +export function getProjectEnvContentHintProjects4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHintProjects4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHintProjects4' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjects3$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjects3, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjects3$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjects3$outboundSchema: z.ZodType< + GetProjectEnvContentHintProjects3$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjects3 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjects3$ { + /** @deprecated use `GetProjectEnvContentHintProjects3$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHintProjects3$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects3$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjects3$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects3$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjects3$Outbound; +} + +export function getProjectEnvContentHintProjects3ToJSON( + getProjectEnvContentHintProjects3: GetProjectEnvContentHintProjects3, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjects3$outboundSchema.parse( + getProjectEnvContentHintProjects3, + ), + ); +} + +export function getProjectEnvContentHintProjects3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHintProjects3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHintProjects3' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjects2$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjects2, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjects2$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjects2$outboundSchema: z.ZodType< + GetProjectEnvContentHintProjects2$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjects2 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjects2$ { + /** @deprecated use `GetProjectEnvContentHintProjects2$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHintProjects2$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects2$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjects2$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects2$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjects2$Outbound; +} + +export function getProjectEnvContentHintProjects2ToJSON( + getProjectEnvContentHintProjects2: GetProjectEnvContentHintProjects2, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjects2$outboundSchema.parse( + getProjectEnvContentHintProjects2, + ), + ); +} + +export function getProjectEnvContentHintProjects2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHintProjects2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHintProjects2' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjects1$inboundSchema: z.ZodType< + GetProjectEnvContentHintProjects1, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHintProjects1$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHintProjects1$outboundSchema: z.ZodType< + GetProjectEnvContentHintProjects1$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHintProjects1 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjects1$ { + /** @deprecated use `GetProjectEnvContentHintProjects1$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHintProjects1$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects1$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjects1$outboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjects1$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHintProjects1$Outbound; +} + +export function getProjectEnvContentHintProjects1ToJSON( + getProjectEnvContentHintProjects1: GetProjectEnvContentHintProjects1, +): string { + return JSON.stringify( + GetProjectEnvContentHintProjects1$outboundSchema.parse( + getProjectEnvContentHintProjects1, + ), + ); +} + +export function getProjectEnvContentHintProjects1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHintProjects1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHintProjects1' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsContentHint$inboundSchema: + z.ZodType< + GetProjectEnvResponseBodyProjectsContentHint, + z.ZodTypeDef, + unknown + > = z.union([ + z.lazy(() => GetProjectEnvContentHintProjects1$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects2$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects3$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects4$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects5$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects6$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects7$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects8$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects9$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects10$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects11$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects12$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects13$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects15$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects14$inboundSchema), + ]); + +/** @internal */ +export type GetProjectEnvResponseBodyProjectsContentHint$Outbound = + | GetProjectEnvContentHintProjects1$Outbound + | GetProjectEnvContentHintProjects2$Outbound + | GetProjectEnvContentHintProjects3$Outbound + | GetProjectEnvContentHintProjects4$Outbound + | GetProjectEnvContentHintProjects5$Outbound + | GetProjectEnvContentHintProjects6$Outbound + | GetProjectEnvContentHintProjects7$Outbound + | GetProjectEnvContentHintProjects8$Outbound + | GetProjectEnvContentHintProjects9$Outbound + | GetProjectEnvContentHintProjects10$Outbound + | GetProjectEnvContentHintProjects11$Outbound + | GetProjectEnvContentHintProjects12$Outbound + | GetProjectEnvContentHintProjects13$Outbound + | GetProjectEnvContentHintProjects15$Outbound + | GetProjectEnvContentHintProjects14$Outbound; + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsContentHint$outboundSchema: + z.ZodType< + GetProjectEnvResponseBodyProjectsContentHint$Outbound, + z.ZodTypeDef, + GetProjectEnvResponseBodyProjectsContentHint + > = z.union([ + z.lazy(() => GetProjectEnvContentHintProjects1$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects2$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects3$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects4$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects5$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects6$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects7$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects8$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects9$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects10$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects11$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects12$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects13$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects15$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects14$outboundSchema), + ]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBodyProjectsContentHint$ { + /** @deprecated use `GetProjectEnvResponseBodyProjectsContentHint$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvResponseBodyProjectsContentHint$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsContentHint$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvResponseBodyProjectsContentHint$outboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsContentHint$Outbound` instead. */ + export type Outbound = GetProjectEnvResponseBodyProjectsContentHint$Outbound; +} + +export function getProjectEnvResponseBodyProjectsContentHintToJSON( + getProjectEnvResponseBodyProjectsContentHint: + GetProjectEnvResponseBodyProjectsContentHint, +): string { + return JSON.stringify( + GetProjectEnvResponseBodyProjectsContentHint$outboundSchema.parse( + getProjectEnvResponseBodyProjectsContentHint, + ), + ); +} + +export function getProjectEnvResponseBodyProjectsContentHintFromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvResponseBodyProjectsContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvResponseBodyProjectsContentHint$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvResponseBodyProjectsContentHint' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsResponse200Type$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetProjectEnvResponseBodyProjectsResponse200Type); + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsResponse200Type$outboundSchema: + z.ZodNativeEnum = + GetProjectEnvResponseBodyProjectsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBodyProjectsResponse200Type$ { + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvResponseBodyProjectsResponse200Type$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvResponseBodyProjectsResponse200Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema: + z.ZodType< + GetProjectEnvResponseBodyProjectsInternalContentHint, + z.ZodTypeDef, + unknown + > = z.object({ + type: GetProjectEnvResponseBodyProjectsResponse200Type$inboundSchema, + encryptedValue: z.string(), + }); + +/** @internal */ +export type GetProjectEnvResponseBodyProjectsInternalContentHint$Outbound = { + type: string; + encryptedValue: string; +}; + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema: + z.ZodType< + GetProjectEnvResponseBodyProjectsInternalContentHint$Outbound, + z.ZodTypeDef, + GetProjectEnvResponseBodyProjectsInternalContentHint + > = z.object({ + type: GetProjectEnvResponseBodyProjectsResponse200Type$outboundSchema, + encryptedValue: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBodyProjectsInternalContentHint$ { + /** @deprecated use `GetProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsInternalContentHint$Outbound` instead. */ + export type Outbound = + GetProjectEnvResponseBodyProjectsInternalContentHint$Outbound; +} + +export function getProjectEnvResponseBodyProjectsInternalContentHintToJSON( + getProjectEnvResponseBodyProjectsInternalContentHint: + GetProjectEnvResponseBodyProjectsInternalContentHint, +): string { + return JSON.stringify( + GetProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema.parse( + getProjectEnvResponseBodyProjectsInternalContentHint, + ), + ); +} + +export function getProjectEnvResponseBodyProjectsInternalContentHintFromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvResponseBodyProjectsInternalContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvResponseBodyProjectsInternalContentHint' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvResponseBody2$inboundSchema: z.ZodType< + GetProjectEnvResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + target: z.union([ + z.array(GetProjectEnvTargetProjects1$inboundSchema), + GetProjectEnvTargetProjects2$inboundSchema, + ]).optional(), + type: GetProjectEnvResponseBodyProjectsType$inboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => GetProjectEnvContentHintProjects1$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects2$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects3$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects4$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects5$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects6$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects7$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects8$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects9$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects10$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects11$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects12$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects13$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects15$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects14$inboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => + GetProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema + ), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), +}); + +/** @internal */ +export type GetProjectEnvResponseBody2$Outbound = { + target?: Array | string | undefined; + type: string; + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | GetProjectEnvContentHintProjects1$Outbound + | GetProjectEnvContentHintProjects2$Outbound + | GetProjectEnvContentHintProjects3$Outbound + | GetProjectEnvContentHintProjects4$Outbound + | GetProjectEnvContentHintProjects5$Outbound + | GetProjectEnvContentHintProjects6$Outbound + | GetProjectEnvContentHintProjects7$Outbound + | GetProjectEnvContentHintProjects8$Outbound + | GetProjectEnvContentHintProjects9$Outbound + | GetProjectEnvContentHintProjects10$Outbound + | GetProjectEnvContentHintProjects11$Outbound + | GetProjectEnvContentHintProjects12$Outbound + | GetProjectEnvContentHintProjects13$Outbound + | GetProjectEnvContentHintProjects15$Outbound + | GetProjectEnvContentHintProjects14$Outbound + | null + | undefined; + internalContentHint?: + | GetProjectEnvResponseBodyProjectsInternalContentHint$Outbound + | null + | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +/** @internal */ +export const GetProjectEnvResponseBody2$outboundSchema: z.ZodType< + GetProjectEnvResponseBody2$Outbound, + z.ZodTypeDef, + GetProjectEnvResponseBody2 +> = z.object({ + target: z.union([ + z.array(GetProjectEnvTargetProjects1$outboundSchema), + GetProjectEnvTargetProjects2$outboundSchema, + ]).optional(), + type: GetProjectEnvResponseBodyProjectsType$outboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => GetProjectEnvContentHintProjects1$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects2$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects3$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects4$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects5$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects6$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects7$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects8$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects9$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects10$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects11$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects12$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects13$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects15$outboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects14$outboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => + GetProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema + ), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBody2$ { + /** @deprecated use `GetProjectEnvResponseBody2$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvResponseBody2$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBody2$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvResponseBody2$outboundSchema; + /** @deprecated use `GetProjectEnvResponseBody2$Outbound` instead. */ + export type Outbound = GetProjectEnvResponseBody2$Outbound; +} + +export function getProjectEnvResponseBody2ToJSON( + getProjectEnvResponseBody2: GetProjectEnvResponseBody2, +): string { + return JSON.stringify( + GetProjectEnvResponseBody2$outboundSchema.parse(getProjectEnvResponseBody2), + ); +} + +export function getProjectEnvResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvTarget2$inboundSchema: z.ZodNativeEnum< + typeof GetProjectEnvTarget2 +> = z.nativeEnum(GetProjectEnvTarget2); + +/** @internal */ +export const GetProjectEnvTarget2$outboundSchema: z.ZodNativeEnum< + typeof GetProjectEnvTarget2 +> = GetProjectEnvTarget2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvTarget2$ { + /** @deprecated use `GetProjectEnvTarget2$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvTarget2$inboundSchema; + /** @deprecated use `GetProjectEnvTarget2$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvTarget2$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvTarget1$inboundSchema: z.ZodNativeEnum< + typeof GetProjectEnvTarget1 +> = z.nativeEnum(GetProjectEnvTarget1); + +/** @internal */ +export const GetProjectEnvTarget1$outboundSchema: z.ZodNativeEnum< + typeof GetProjectEnvTarget1 +> = GetProjectEnvTarget1$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvTarget1$ { + /** @deprecated use `GetProjectEnvTarget1$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvTarget1$inboundSchema; + /** @deprecated use `GetProjectEnvTarget1$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvTarget1$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvResponseBodyTarget$inboundSchema: z.ZodType< + GetProjectEnvResponseBodyTarget, + z.ZodTypeDef, + unknown +> = z.union([ + z.array(GetProjectEnvTarget1$inboundSchema), + GetProjectEnvTarget2$inboundSchema, +]); + +/** @internal */ +export type GetProjectEnvResponseBodyTarget$Outbound = Array | string; + +/** @internal */ +export const GetProjectEnvResponseBodyTarget$outboundSchema: z.ZodType< + GetProjectEnvResponseBodyTarget$Outbound, + z.ZodTypeDef, + GetProjectEnvResponseBodyTarget +> = z.union([ + z.array(GetProjectEnvTarget1$outboundSchema), + GetProjectEnvTarget2$outboundSchema, +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBodyTarget$ { + /** @deprecated use `GetProjectEnvResponseBodyTarget$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvResponseBodyTarget$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyTarget$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvResponseBodyTarget$outboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyTarget$Outbound` instead. */ + export type Outbound = GetProjectEnvResponseBodyTarget$Outbound; +} + +export function getProjectEnvResponseBodyTargetToJSON( + getProjectEnvResponseBodyTarget: GetProjectEnvResponseBodyTarget, +): string { + return JSON.stringify( + GetProjectEnvResponseBodyTarget$outboundSchema.parse( + getProjectEnvResponseBodyTarget, + ), + ); +} + +export function getProjectEnvResponseBodyTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvResponseBodyTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvResponseBodyTarget' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvResponseBodyType$inboundSchema: z.ZodNativeEnum< + typeof GetProjectEnvResponseBodyType +> = z.nativeEnum(GetProjectEnvResponseBodyType); + +/** @internal */ +export const GetProjectEnvResponseBodyType$outboundSchema: z.ZodNativeEnum< + typeof GetProjectEnvResponseBodyType +> = GetProjectEnvResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBodyType$ { + /** @deprecated use `GetProjectEnvResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvResponseBodyType$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvResponseBodyType$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHint15$inboundSchema: z.ZodType< + GetProjectEnvContentHint15, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema, + projectId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHint15$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHint15$outboundSchema: z.ZodType< + GetProjectEnvContentHint15$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHint15 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHint15$ { + /** @deprecated use `GetProjectEnvContentHint15$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHint15$inboundSchema; + /** @deprecated use `GetProjectEnvContentHint15$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvContentHint15$outboundSchema; + /** @deprecated use `GetProjectEnvContentHint15$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHint15$Outbound; +} + +export function getProjectEnvContentHint15ToJSON( + getProjectEnvContentHint15: GetProjectEnvContentHint15, +): string { + return JSON.stringify( + GetProjectEnvContentHint15$outboundSchema.parse(getProjectEnvContentHint15), + ); +} + +export function getProjectEnvContentHint15FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHint15$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHint15' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHint14$inboundSchema: z.ZodType< + GetProjectEnvContentHint14, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHint14$Outbound = { + type: string; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHint14$outboundSchema: z.ZodType< + GetProjectEnvContentHint14$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHint14 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHint14$ { + /** @deprecated use `GetProjectEnvContentHint14$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHint14$inboundSchema; + /** @deprecated use `GetProjectEnvContentHint14$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvContentHint14$outboundSchema; + /** @deprecated use `GetProjectEnvContentHint14$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHint14$Outbound; +} + +export function getProjectEnvContentHint14ToJSON( + getProjectEnvContentHint14: GetProjectEnvContentHint14, +): string { + return JSON.stringify( + GetProjectEnvContentHint14$outboundSchema.parse(getProjectEnvContentHint14), + ); +} + +export function getProjectEnvContentHint14FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHint14$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHint14' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHint13$inboundSchema: z.ZodType< + GetProjectEnvContentHint13, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHint13$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHint13$outboundSchema: z.ZodType< + GetProjectEnvContentHint13$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHint13 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHint13$ { + /** @deprecated use `GetProjectEnvContentHint13$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHint13$inboundSchema; + /** @deprecated use `GetProjectEnvContentHint13$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvContentHint13$outboundSchema; + /** @deprecated use `GetProjectEnvContentHint13$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHint13$Outbound; +} + +export function getProjectEnvContentHint13ToJSON( + getProjectEnvContentHint13: GetProjectEnvContentHint13, +): string { + return JSON.stringify( + GetProjectEnvContentHint13$outboundSchema.parse(getProjectEnvContentHint13), + ); +} + +export function getProjectEnvContentHint13FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHint13$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHint13' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHint12$inboundSchema: z.ZodType< + GetProjectEnvContentHint12, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHint12$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHint12$outboundSchema: z.ZodType< + GetProjectEnvContentHint12$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHint12 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHint12$ { + /** @deprecated use `GetProjectEnvContentHint12$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHint12$inboundSchema; + /** @deprecated use `GetProjectEnvContentHint12$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvContentHint12$outboundSchema; + /** @deprecated use `GetProjectEnvContentHint12$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHint12$Outbound; +} + +export function getProjectEnvContentHint12ToJSON( + getProjectEnvContentHint12: GetProjectEnvContentHint12, +): string { + return JSON.stringify( + GetProjectEnvContentHint12$outboundSchema.parse(getProjectEnvContentHint12), + ); +} + +export function getProjectEnvContentHint12FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHint12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHint12' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHint11$inboundSchema: z.ZodType< + GetProjectEnvContentHint11, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHint11$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHint11$outboundSchema: z.ZodType< + GetProjectEnvContentHint11$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHint11 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHint11$ { + /** @deprecated use `GetProjectEnvContentHint11$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHint11$inboundSchema; + /** @deprecated use `GetProjectEnvContentHint11$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvContentHint11$outboundSchema; + /** @deprecated use `GetProjectEnvContentHint11$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHint11$Outbound; +} + +export function getProjectEnvContentHint11ToJSON( + getProjectEnvContentHint11: GetProjectEnvContentHint11, +): string { + return JSON.stringify( + GetProjectEnvContentHint11$outboundSchema.parse(getProjectEnvContentHint11), + ); +} + +export function getProjectEnvContentHint11FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHint11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHint11' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHint10$inboundSchema: z.ZodType< + GetProjectEnvContentHint10, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHint10$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHint10$outboundSchema: z.ZodType< + GetProjectEnvContentHint10$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHint10 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHint10$ { + /** @deprecated use `GetProjectEnvContentHint10$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHint10$inboundSchema; + /** @deprecated use `GetProjectEnvContentHint10$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvContentHint10$outboundSchema; + /** @deprecated use `GetProjectEnvContentHint10$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHint10$Outbound; +} + +export function getProjectEnvContentHint10ToJSON( + getProjectEnvContentHint10: GetProjectEnvContentHint10, +): string { + return JSON.stringify( + GetProjectEnvContentHint10$outboundSchema.parse(getProjectEnvContentHint10), + ); +} + +export function getProjectEnvContentHint10FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHint10$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHint10' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHint9$inboundSchema: z.ZodType< + GetProjectEnvContentHint9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHint9$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHint9$outboundSchema: z.ZodType< + GetProjectEnvContentHint9$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHint9 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHint9$ { + /** @deprecated use `GetProjectEnvContentHint9$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHint9$inboundSchema; + /** @deprecated use `GetProjectEnvContentHint9$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvContentHint9$outboundSchema; + /** @deprecated use `GetProjectEnvContentHint9$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHint9$Outbound; +} + +export function getProjectEnvContentHint9ToJSON( + getProjectEnvContentHint9: GetProjectEnvContentHint9, +): string { + return JSON.stringify( + GetProjectEnvContentHint9$outboundSchema.parse(getProjectEnvContentHint9), + ); +} + +export function getProjectEnvContentHint9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHint9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHint9' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHint8$inboundSchema: z.ZodType< + GetProjectEnvContentHint8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHint8$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHint8$outboundSchema: z.ZodType< + GetProjectEnvContentHint8$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHint8 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHint8$ { + /** @deprecated use `GetProjectEnvContentHint8$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHint8$inboundSchema; + /** @deprecated use `GetProjectEnvContentHint8$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvContentHint8$outboundSchema; + /** @deprecated use `GetProjectEnvContentHint8$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHint8$Outbound; +} + +export function getProjectEnvContentHint8ToJSON( + getProjectEnvContentHint8: GetProjectEnvContentHint8, +): string { + return JSON.stringify( + GetProjectEnvContentHint8$outboundSchema.parse(getProjectEnvContentHint8), + ); +} + +export function getProjectEnvContentHint8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHint8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHint8' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHint7$inboundSchema: z.ZodType< + GetProjectEnvContentHint7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHint7$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHint7$outboundSchema: z.ZodType< + GetProjectEnvContentHint7$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHint7 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHint7$ { + /** @deprecated use `GetProjectEnvContentHint7$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHint7$inboundSchema; + /** @deprecated use `GetProjectEnvContentHint7$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvContentHint7$outboundSchema; + /** @deprecated use `GetProjectEnvContentHint7$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHint7$Outbound; +} + +export function getProjectEnvContentHint7ToJSON( + getProjectEnvContentHint7: GetProjectEnvContentHint7, +): string { + return JSON.stringify( + GetProjectEnvContentHint7$outboundSchema.parse(getProjectEnvContentHint7), + ); +} + +export function getProjectEnvContentHint7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHint7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHint7' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHint6$inboundSchema: z.ZodType< + GetProjectEnvContentHint6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHint6$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHint6$outboundSchema: z.ZodType< + GetProjectEnvContentHint6$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHint6 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHint6$ { + /** @deprecated use `GetProjectEnvContentHint6$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHint6$inboundSchema; + /** @deprecated use `GetProjectEnvContentHint6$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvContentHint6$outboundSchema; + /** @deprecated use `GetProjectEnvContentHint6$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHint6$Outbound; +} + +export function getProjectEnvContentHint6ToJSON( + getProjectEnvContentHint6: GetProjectEnvContentHint6, +): string { + return JSON.stringify( + GetProjectEnvContentHint6$outboundSchema.parse(getProjectEnvContentHint6), + ); +} + +export function getProjectEnvContentHint6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHint6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHint6' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONType + > = z.nativeEnum( + GetProjectEnvContentHintProjectsResponse200ApplicationJSONType, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONType + > = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHint5$inboundSchema: z.ZodType< + GetProjectEnvContentHint5, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHint5$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHint5$outboundSchema: z.ZodType< + GetProjectEnvContentHint5$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHint5 +> = z.object({ + type: + GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHint5$ { + /** @deprecated use `GetProjectEnvContentHint5$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHint5$inboundSchema; + /** @deprecated use `GetProjectEnvContentHint5$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvContentHint5$outboundSchema; + /** @deprecated use `GetProjectEnvContentHint5$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHint5$Outbound; +} + +export function getProjectEnvContentHint5ToJSON( + getProjectEnvContentHint5: GetProjectEnvContentHint5, +): string { + return JSON.stringify( + GetProjectEnvContentHint5$outboundSchema.parse(getProjectEnvContentHint5), + ); +} + +export function getProjectEnvContentHint5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHint5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHint5' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200Type$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetProjectEnvContentHintProjectsResponse200Type); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponse200Type$outboundSchema: + z.ZodNativeEnum = + GetProjectEnvContentHintProjectsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponse200Type$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponse200Type$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponse200Type$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHint4$inboundSchema: z.ZodType< + GetProjectEnvContentHint4, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetProjectEnvContentHintProjectsResponse200Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHint4$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHint4$outboundSchema: z.ZodType< + GetProjectEnvContentHint4$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHint4 +> = z.object({ + type: GetProjectEnvContentHintProjectsResponse200Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHint4$ { + /** @deprecated use `GetProjectEnvContentHint4$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHint4$inboundSchema; + /** @deprecated use `GetProjectEnvContentHint4$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvContentHint4$outboundSchema; + /** @deprecated use `GetProjectEnvContentHint4$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHint4$Outbound; +} + +export function getProjectEnvContentHint4ToJSON( + getProjectEnvContentHint4: GetProjectEnvContentHint4, +): string { + return JSON.stringify( + GetProjectEnvContentHint4$outboundSchema.parse(getProjectEnvContentHint4), + ); +} + +export function getProjectEnvContentHint4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHint4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHint4' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetProjectEnvContentHintProjectsResponseType); + +/** @internal */ +export const GetProjectEnvContentHintProjectsResponseType$outboundSchema: + z.ZodNativeEnum = + GetProjectEnvContentHintProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsResponseType$ { + /** @deprecated use `GetProjectEnvContentHintProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsResponseType$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHint3$inboundSchema: z.ZodType< + GetProjectEnvContentHint3, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetProjectEnvContentHintProjectsResponseType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHint3$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHint3$outboundSchema: z.ZodType< + GetProjectEnvContentHint3$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHint3 +> = z.object({ + type: GetProjectEnvContentHintProjectsResponseType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHint3$ { + /** @deprecated use `GetProjectEnvContentHint3$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHint3$inboundSchema; + /** @deprecated use `GetProjectEnvContentHint3$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvContentHint3$outboundSchema; + /** @deprecated use `GetProjectEnvContentHint3$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHint3$Outbound; +} + +export function getProjectEnvContentHint3ToJSON( + getProjectEnvContentHint3: GetProjectEnvContentHint3, +): string { + return JSON.stringify( + GetProjectEnvContentHint3$outboundSchema.parse(getProjectEnvContentHint3), + ); +} + +export function getProjectEnvContentHint3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHint3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHint3' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintProjectsType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetProjectEnvContentHintProjectsType, + ); + +/** @internal */ +export const GetProjectEnvContentHintProjectsType$outboundSchema: + z.ZodNativeEnum = + GetProjectEnvContentHintProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintProjectsType$ { + /** @deprecated use `GetProjectEnvContentHintProjectsType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvContentHintProjectsType$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintProjectsType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvContentHintProjectsType$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHint2$inboundSchema: z.ZodType< + GetProjectEnvContentHint2, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetProjectEnvContentHintProjectsType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHint2$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHint2$outboundSchema: z.ZodType< + GetProjectEnvContentHint2$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHint2 +> = z.object({ + type: GetProjectEnvContentHintProjectsType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHint2$ { + /** @deprecated use `GetProjectEnvContentHint2$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHint2$inboundSchema; + /** @deprecated use `GetProjectEnvContentHint2$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvContentHint2$outboundSchema; + /** @deprecated use `GetProjectEnvContentHint2$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHint2$Outbound; +} + +export function getProjectEnvContentHint2ToJSON( + getProjectEnvContentHint2: GetProjectEnvContentHint2, +): string { + return JSON.stringify( + GetProjectEnvContentHint2$outboundSchema.parse(getProjectEnvContentHint2), + ); +} + +export function getProjectEnvContentHint2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHint2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHint2' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvContentHintType$inboundSchema: z.ZodNativeEnum< + typeof GetProjectEnvContentHintType +> = z.nativeEnum(GetProjectEnvContentHintType); + +/** @internal */ +export const GetProjectEnvContentHintType$outboundSchema: z.ZodNativeEnum< + typeof GetProjectEnvContentHintType +> = GetProjectEnvContentHintType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHintType$ { + /** @deprecated use `GetProjectEnvContentHintType$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHintType$inboundSchema; + /** @deprecated use `GetProjectEnvContentHintType$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvContentHintType$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvContentHint1$inboundSchema: z.ZodType< + GetProjectEnvContentHint1, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetProjectEnvContentHintType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectEnvContentHint1$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectEnvContentHint1$outboundSchema: z.ZodType< + GetProjectEnvContentHint1$Outbound, + z.ZodTypeDef, + GetProjectEnvContentHint1 +> = z.object({ + type: GetProjectEnvContentHintType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvContentHint1$ { + /** @deprecated use `GetProjectEnvContentHint1$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvContentHint1$inboundSchema; + /** @deprecated use `GetProjectEnvContentHint1$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvContentHint1$outboundSchema; + /** @deprecated use `GetProjectEnvContentHint1$Outbound` instead. */ + export type Outbound = GetProjectEnvContentHint1$Outbound; +} + +export function getProjectEnvContentHint1ToJSON( + getProjectEnvContentHint1: GetProjectEnvContentHint1, +): string { + return JSON.stringify( + GetProjectEnvContentHint1$outboundSchema.parse(getProjectEnvContentHint1), + ); +} + +export function getProjectEnvContentHint1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvContentHint1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvContentHint1' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvResponseBodyContentHint$inboundSchema: z.ZodType< + GetProjectEnvResponseBodyContentHint, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetProjectEnvContentHint1$inboundSchema), + z.lazy(() => GetProjectEnvContentHint2$inboundSchema), + z.lazy(() => GetProjectEnvContentHint3$inboundSchema), + z.lazy(() => GetProjectEnvContentHint4$inboundSchema), + z.lazy(() => GetProjectEnvContentHint5$inboundSchema), + z.lazy(() => GetProjectEnvContentHint6$inboundSchema), + z.lazy(() => GetProjectEnvContentHint7$inboundSchema), + z.lazy(() => GetProjectEnvContentHint8$inboundSchema), + z.lazy(() => GetProjectEnvContentHint9$inboundSchema), + z.lazy(() => GetProjectEnvContentHint10$inboundSchema), + z.lazy(() => GetProjectEnvContentHint11$inboundSchema), + z.lazy(() => GetProjectEnvContentHint12$inboundSchema), + z.lazy(() => GetProjectEnvContentHint13$inboundSchema), + z.lazy(() => GetProjectEnvContentHint15$inboundSchema), + z.lazy(() => GetProjectEnvContentHint14$inboundSchema), +]); + +/** @internal */ +export type GetProjectEnvResponseBodyContentHint$Outbound = + | GetProjectEnvContentHint1$Outbound + | GetProjectEnvContentHint2$Outbound + | GetProjectEnvContentHint3$Outbound + | GetProjectEnvContentHint4$Outbound + | GetProjectEnvContentHint5$Outbound + | GetProjectEnvContentHint6$Outbound + | GetProjectEnvContentHint7$Outbound + | GetProjectEnvContentHint8$Outbound + | GetProjectEnvContentHint9$Outbound + | GetProjectEnvContentHint10$Outbound + | GetProjectEnvContentHint11$Outbound + | GetProjectEnvContentHint12$Outbound + | GetProjectEnvContentHint13$Outbound + | GetProjectEnvContentHint15$Outbound + | GetProjectEnvContentHint14$Outbound; + +/** @internal */ +export const GetProjectEnvResponseBodyContentHint$outboundSchema: z.ZodType< + GetProjectEnvResponseBodyContentHint$Outbound, + z.ZodTypeDef, + GetProjectEnvResponseBodyContentHint +> = z.union([ + z.lazy(() => GetProjectEnvContentHint1$outboundSchema), + z.lazy(() => GetProjectEnvContentHint2$outboundSchema), + z.lazy(() => GetProjectEnvContentHint3$outboundSchema), + z.lazy(() => GetProjectEnvContentHint4$outboundSchema), + z.lazy(() => GetProjectEnvContentHint5$outboundSchema), + z.lazy(() => GetProjectEnvContentHint6$outboundSchema), + z.lazy(() => GetProjectEnvContentHint7$outboundSchema), + z.lazy(() => GetProjectEnvContentHint8$outboundSchema), + z.lazy(() => GetProjectEnvContentHint9$outboundSchema), + z.lazy(() => GetProjectEnvContentHint10$outboundSchema), + z.lazy(() => GetProjectEnvContentHint11$outboundSchema), + z.lazy(() => GetProjectEnvContentHint12$outboundSchema), + z.lazy(() => GetProjectEnvContentHint13$outboundSchema), + z.lazy(() => GetProjectEnvContentHint15$outboundSchema), + z.lazy(() => GetProjectEnvContentHint14$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBodyContentHint$ { + /** @deprecated use `GetProjectEnvResponseBodyContentHint$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvResponseBodyContentHint$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyContentHint$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvResponseBodyContentHint$outboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyContentHint$Outbound` instead. */ + export type Outbound = GetProjectEnvResponseBodyContentHint$Outbound; +} + +export function getProjectEnvResponseBodyContentHintToJSON( + getProjectEnvResponseBodyContentHint: GetProjectEnvResponseBodyContentHint, +): string { + return JSON.stringify( + GetProjectEnvResponseBodyContentHint$outboundSchema.parse( + getProjectEnvResponseBodyContentHint, + ), + ); +} + +export function getProjectEnvResponseBodyContentHintFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetProjectEnvResponseBodyContentHint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvResponseBodyContentHint' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType + > = z.nativeEnum( + GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType, + ); + +/** @internal */ +export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType + > = + GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$ { + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const GetProjectEnvResponseBodyInternalContentHint$inboundSchema: + z.ZodType< + GetProjectEnvResponseBodyInternalContentHint, + z.ZodTypeDef, + unknown + > = z.object({ + type: + GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema, + encryptedValue: z.string(), + }); + +/** @internal */ +export type GetProjectEnvResponseBodyInternalContentHint$Outbound = { + type: string; + encryptedValue: string; +}; + +/** @internal */ +export const GetProjectEnvResponseBodyInternalContentHint$outboundSchema: + z.ZodType< + GetProjectEnvResponseBodyInternalContentHint$Outbound, + z.ZodTypeDef, + GetProjectEnvResponseBodyInternalContentHint + > = z.object({ + type: + GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema, + encryptedValue: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBodyInternalContentHint$ { + /** @deprecated use `GetProjectEnvResponseBodyInternalContentHint$inboundSchema` instead. */ + export const inboundSchema = + GetProjectEnvResponseBodyInternalContentHint$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyInternalContentHint$outboundSchema` instead. */ + export const outboundSchema = + GetProjectEnvResponseBodyInternalContentHint$outboundSchema; + /** @deprecated use `GetProjectEnvResponseBodyInternalContentHint$Outbound` instead. */ + export type Outbound = GetProjectEnvResponseBodyInternalContentHint$Outbound; +} + +export function getProjectEnvResponseBodyInternalContentHintToJSON( + getProjectEnvResponseBodyInternalContentHint: + GetProjectEnvResponseBodyInternalContentHint, +): string { + return JSON.stringify( + GetProjectEnvResponseBodyInternalContentHint$outboundSchema.parse( + getProjectEnvResponseBodyInternalContentHint, + ), + ); +} + +export function getProjectEnvResponseBodyInternalContentHintFromJSON( + jsonString: string, +): SafeParseResult< + GetProjectEnvResponseBodyInternalContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectEnvResponseBodyInternalContentHint$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectEnvResponseBodyInternalContentHint' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvResponseBody1$inboundSchema: z.ZodType< + GetProjectEnvResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + decrypted: z.boolean(), + target: z.union([ + z.array(GetProjectEnvTarget1$inboundSchema), + GetProjectEnvTarget2$inboundSchema, + ]).optional(), + type: GetProjectEnvResponseBodyType$inboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => GetProjectEnvContentHint1$inboundSchema), + z.lazy(() => GetProjectEnvContentHint2$inboundSchema), + z.lazy(() => GetProjectEnvContentHint3$inboundSchema), + z.lazy(() => GetProjectEnvContentHint4$inboundSchema), + z.lazy(() => GetProjectEnvContentHint5$inboundSchema), + z.lazy(() => GetProjectEnvContentHint6$inboundSchema), + z.lazy(() => GetProjectEnvContentHint7$inboundSchema), + z.lazy(() => GetProjectEnvContentHint8$inboundSchema), + z.lazy(() => GetProjectEnvContentHint9$inboundSchema), + z.lazy(() => GetProjectEnvContentHint10$inboundSchema), + z.lazy(() => GetProjectEnvContentHint11$inboundSchema), + z.lazy(() => GetProjectEnvContentHint12$inboundSchema), + z.lazy(() => GetProjectEnvContentHint13$inboundSchema), + z.lazy(() => GetProjectEnvContentHint15$inboundSchema), + z.lazy(() => GetProjectEnvContentHint14$inboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => GetProjectEnvResponseBodyInternalContentHint$inboundSchema), + ).optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), +}); + +/** @internal */ +export type GetProjectEnvResponseBody1$Outbound = { + decrypted: boolean; + target?: Array | string | undefined; + type: string; + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | GetProjectEnvContentHint1$Outbound + | GetProjectEnvContentHint2$Outbound + | GetProjectEnvContentHint3$Outbound + | GetProjectEnvContentHint4$Outbound + | GetProjectEnvContentHint5$Outbound + | GetProjectEnvContentHint6$Outbound + | GetProjectEnvContentHint7$Outbound + | GetProjectEnvContentHint8$Outbound + | GetProjectEnvContentHint9$Outbound + | GetProjectEnvContentHint10$Outbound + | GetProjectEnvContentHint11$Outbound + | GetProjectEnvContentHint12$Outbound + | GetProjectEnvContentHint13$Outbound + | GetProjectEnvContentHint15$Outbound + | GetProjectEnvContentHint14$Outbound + | null + | undefined; + internalContentHint?: + | GetProjectEnvResponseBodyInternalContentHint$Outbound + | null + | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +/** @internal */ +export const GetProjectEnvResponseBody1$outboundSchema: z.ZodType< + GetProjectEnvResponseBody1$Outbound, + z.ZodTypeDef, + GetProjectEnvResponseBody1 +> = z.object({ + decrypted: z.boolean(), + target: z.union([ + z.array(GetProjectEnvTarget1$outboundSchema), + GetProjectEnvTarget2$outboundSchema, + ]).optional(), + type: GetProjectEnvResponseBodyType$outboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => GetProjectEnvContentHint1$outboundSchema), + z.lazy(() => GetProjectEnvContentHint2$outboundSchema), + z.lazy(() => GetProjectEnvContentHint3$outboundSchema), + z.lazy(() => GetProjectEnvContentHint4$outboundSchema), + z.lazy(() => GetProjectEnvContentHint5$outboundSchema), + z.lazy(() => GetProjectEnvContentHint6$outboundSchema), + z.lazy(() => GetProjectEnvContentHint7$outboundSchema), + z.lazy(() => GetProjectEnvContentHint8$outboundSchema), + z.lazy(() => GetProjectEnvContentHint9$outboundSchema), + z.lazy(() => GetProjectEnvContentHint10$outboundSchema), + z.lazy(() => GetProjectEnvContentHint11$outboundSchema), + z.lazy(() => GetProjectEnvContentHint12$outboundSchema), + z.lazy(() => GetProjectEnvContentHint13$outboundSchema), + z.lazy(() => GetProjectEnvContentHint15$outboundSchema), + z.lazy(() => GetProjectEnvContentHint14$outboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => GetProjectEnvResponseBodyInternalContentHint$outboundSchema), + ).optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBody1$ { + /** @deprecated use `GetProjectEnvResponseBody1$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvResponseBody1$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBody1$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvResponseBody1$outboundSchema; + /** @deprecated use `GetProjectEnvResponseBody1$Outbound` instead. */ + export type Outbound = GetProjectEnvResponseBody1$Outbound; +} + +export function getProjectEnvResponseBody1ToJSON( + getProjectEnvResponseBody1: GetProjectEnvResponseBody1, +): string { + return JSON.stringify( + GetProjectEnvResponseBody1$outboundSchema.parse(getProjectEnvResponseBody1), + ); +} + +export function getProjectEnvResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const GetProjectEnvResponseBody$inboundSchema: z.ZodType< + GetProjectEnvResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetProjectEnvResponseBody1$inboundSchema), + z.lazy(() => GetProjectEnvResponseBody3$inboundSchema), + z.lazy(() => GetProjectEnvResponseBody2$inboundSchema), +]); + +/** @internal */ +export type GetProjectEnvResponseBody$Outbound = + | GetProjectEnvResponseBody1$Outbound + | GetProjectEnvResponseBody3$Outbound + | GetProjectEnvResponseBody2$Outbound; + +/** @internal */ +export const GetProjectEnvResponseBody$outboundSchema: z.ZodType< + GetProjectEnvResponseBody$Outbound, + z.ZodTypeDef, + GetProjectEnvResponseBody +> = z.union([ + z.lazy(() => GetProjectEnvResponseBody1$outboundSchema), + z.lazy(() => GetProjectEnvResponseBody3$outboundSchema), + z.lazy(() => GetProjectEnvResponseBody2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectEnvResponseBody$ { + /** @deprecated use `GetProjectEnvResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetProjectEnvResponseBody$inboundSchema; + /** @deprecated use `GetProjectEnvResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetProjectEnvResponseBody$outboundSchema; + /** @deprecated use `GetProjectEnvResponseBody$Outbound` instead. */ + export type Outbound = GetProjectEnvResponseBody$Outbound; +} + +export function getProjectEnvResponseBodyToJSON( + getProjectEnvResponseBody: GetProjectEnvResponseBody, +): string { + return JSON.stringify( + GetProjectEnvResponseBody$outboundSchema.parse(getProjectEnvResponseBody), + ); +} + +export function getProjectEnvResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectEnvResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectEnvResponseBody' from JSON`, + ); +} diff --git a/src/models/getprojectmembersop.ts b/src/models/getprojectmembersop.ts new file mode 100644 index 00000000..3f3cb6c9 --- /dev/null +++ b/src/models/getprojectmembersop.ts @@ -0,0 +1,615 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetProjectMembersRequest = { + /** + * The ID or name of the Project. + */ + idOrName: string; + /** + * Limit how many project members should be returned + */ + limit?: number | undefined; + /** + * Timestamp in milliseconds to only include members added since then. + */ + since?: number | undefined; + /** + * Timestamp in milliseconds to only include members added until then. + */ + until?: number | undefined; + /** + * Search project members by their name, username, and email. + */ + search?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * Role of this user in the project. + */ +export const GetProjectMembersResponseBodyRole = { + Admin: "ADMIN", + ProjectDeveloper: "PROJECT_DEVELOPER", + ProjectViewer: "PROJECT_VIEWER", +} as const; +/** + * Role of this user in the project. + */ +export type GetProjectMembersResponseBodyRole = ClosedEnum< + typeof GetProjectMembersResponseBodyRole +>; + +/** + * Role of this user in the project. + */ +export const ComputedProjectRole = { + Admin: "ADMIN", + ProjectDeveloper: "PROJECT_DEVELOPER", + ProjectViewer: "PROJECT_VIEWER", +} as const; +/** + * Role of this user in the project. + */ +export type ComputedProjectRole = ClosedEnum; + +/** + * The role of this user in the team. + */ +export const ResponseBodyTeamRole = { + Owner: "OWNER", + Member: "MEMBER", + Developer: "DEVELOPER", + Billing: "BILLING", + Viewer: "VIEWER", + Contributor: "CONTRIBUTOR", +} as const; +/** + * The role of this user in the team. + */ +export type ResponseBodyTeamRole = ClosedEnum; + +export type ResponseBodyMembers = { + /** + * ID of the file for the Avatar of this member. + */ + avatar?: string | undefined; + /** + * The email of this member. + */ + email: string; + /** + * Role of this user in the project. + */ + role: GetProjectMembersResponseBodyRole; + /** + * Role of this user in the project. + */ + computedProjectRole: ComputedProjectRole; + /** + * The ID of this user. + */ + uid: string; + /** + * The unique username of this user. + */ + username: string; + /** + * The name of this user. + */ + name?: string | undefined; + /** + * Timestamp in milliseconds when this member was added. + */ + createdAt: number; + /** + * The role of this user in the team. + */ + teamRole: ResponseBodyTeamRole; +}; + +export type GetProjectMembersResponseBodyPagination = { + hasNext: boolean; + /** + * Amount of items in the current page. + */ + count: number; + /** + * Timestamp that must be used to request the next page. + */ + next: number | null; + /** + * Timestamp that must be used to request the previous page. + */ + prev: number | null; +}; + +/** + * Paginated list of members for the project. + */ +export type GetProjectMembersResponseBody2 = { + members: Array; + pagination: GetProjectMembersResponseBodyPagination; +}; + +export type GetProjectMembersResponseBody1 = {}; + +/** + * Paginated list of members for the project. + */ +export type GetProjectMembersResponseBody = + | GetProjectMembersResponseBody1 + | GetProjectMembersResponseBody2; + +/** @internal */ +export const GetProjectMembersRequest$inboundSchema: z.ZodType< + GetProjectMembersRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + limit: z.number().int().optional(), + since: z.number().int().optional(), + until: z.number().int().optional(), + search: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetProjectMembersRequest$Outbound = { + idOrName: string; + limit?: number | undefined; + since?: number | undefined; + until?: number | undefined; + search?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetProjectMembersRequest$outboundSchema: z.ZodType< + GetProjectMembersRequest$Outbound, + z.ZodTypeDef, + GetProjectMembersRequest +> = z.object({ + idOrName: z.string(), + limit: z.number().int().optional(), + since: z.number().int().optional(), + until: z.number().int().optional(), + search: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectMembersRequest$ { + /** @deprecated use `GetProjectMembersRequest$inboundSchema` instead. */ + export const inboundSchema = GetProjectMembersRequest$inboundSchema; + /** @deprecated use `GetProjectMembersRequest$outboundSchema` instead. */ + export const outboundSchema = GetProjectMembersRequest$outboundSchema; + /** @deprecated use `GetProjectMembersRequest$Outbound` instead. */ + export type Outbound = GetProjectMembersRequest$Outbound; +} + +export function getProjectMembersRequestToJSON( + getProjectMembersRequest: GetProjectMembersRequest, +): string { + return JSON.stringify( + GetProjectMembersRequest$outboundSchema.parse(getProjectMembersRequest), + ); +} + +export function getProjectMembersRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectMembersRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectMembersRequest' from JSON`, + ); +} + +/** @internal */ +export const GetProjectMembersResponseBodyRole$inboundSchema: z.ZodNativeEnum< + typeof GetProjectMembersResponseBodyRole +> = z.nativeEnum(GetProjectMembersResponseBodyRole); + +/** @internal */ +export const GetProjectMembersResponseBodyRole$outboundSchema: z.ZodNativeEnum< + typeof GetProjectMembersResponseBodyRole +> = GetProjectMembersResponseBodyRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectMembersResponseBodyRole$ { + /** @deprecated use `GetProjectMembersResponseBodyRole$inboundSchema` instead. */ + export const inboundSchema = GetProjectMembersResponseBodyRole$inboundSchema; + /** @deprecated use `GetProjectMembersResponseBodyRole$outboundSchema` instead. */ + export const outboundSchema = + GetProjectMembersResponseBodyRole$outboundSchema; +} + +/** @internal */ +export const ComputedProjectRole$inboundSchema: z.ZodNativeEnum< + typeof ComputedProjectRole +> = z.nativeEnum(ComputedProjectRole); + +/** @internal */ +export const ComputedProjectRole$outboundSchema: z.ZodNativeEnum< + typeof ComputedProjectRole +> = ComputedProjectRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ComputedProjectRole$ { + /** @deprecated use `ComputedProjectRole$inboundSchema` instead. */ + export const inboundSchema = ComputedProjectRole$inboundSchema; + /** @deprecated use `ComputedProjectRole$outboundSchema` instead. */ + export const outboundSchema = ComputedProjectRole$outboundSchema; +} + +/** @internal */ +export const ResponseBodyTeamRole$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyTeamRole +> = z.nativeEnum(ResponseBodyTeamRole); + +/** @internal */ +export const ResponseBodyTeamRole$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyTeamRole +> = ResponseBodyTeamRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyTeamRole$ { + /** @deprecated use `ResponseBodyTeamRole$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyTeamRole$inboundSchema; + /** @deprecated use `ResponseBodyTeamRole$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyTeamRole$outboundSchema; +} + +/** @internal */ +export const ResponseBodyMembers$inboundSchema: z.ZodType< + ResponseBodyMembers, + z.ZodTypeDef, + unknown +> = z.object({ + avatar: z.string().optional(), + email: z.string(), + role: GetProjectMembersResponseBodyRole$inboundSchema, + computedProjectRole: ComputedProjectRole$inboundSchema, + uid: z.string(), + username: z.string(), + name: z.string().optional(), + createdAt: z.number(), + teamRole: ResponseBodyTeamRole$inboundSchema, +}); + +/** @internal */ +export type ResponseBodyMembers$Outbound = { + avatar?: string | undefined; + email: string; + role: string; + computedProjectRole: string; + uid: string; + username: string; + name?: string | undefined; + createdAt: number; + teamRole: string; +}; + +/** @internal */ +export const ResponseBodyMembers$outboundSchema: z.ZodType< + ResponseBodyMembers$Outbound, + z.ZodTypeDef, + ResponseBodyMembers +> = z.object({ + avatar: z.string().optional(), + email: z.string(), + role: GetProjectMembersResponseBodyRole$outboundSchema, + computedProjectRole: ComputedProjectRole$outboundSchema, + uid: z.string(), + username: z.string(), + name: z.string().optional(), + createdAt: z.number(), + teamRole: ResponseBodyTeamRole$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyMembers$ { + /** @deprecated use `ResponseBodyMembers$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyMembers$inboundSchema; + /** @deprecated use `ResponseBodyMembers$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyMembers$outboundSchema; + /** @deprecated use `ResponseBodyMembers$Outbound` instead. */ + export type Outbound = ResponseBodyMembers$Outbound; +} + +export function responseBodyMembersToJSON( + responseBodyMembers: ResponseBodyMembers, +): string { + return JSON.stringify( + ResponseBodyMembers$outboundSchema.parse(responseBodyMembers), + ); +} + +export function responseBodyMembersFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyMembers$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyMembers' from JSON`, + ); +} + +/** @internal */ +export const GetProjectMembersResponseBodyPagination$inboundSchema: z.ZodType< + GetProjectMembersResponseBodyPagination, + z.ZodTypeDef, + unknown +> = z.object({ + hasNext: z.boolean(), + count: z.number(), + next: z.nullable(z.number()), + prev: z.nullable(z.number()), +}); + +/** @internal */ +export type GetProjectMembersResponseBodyPagination$Outbound = { + hasNext: boolean; + count: number; + next: number | null; + prev: number | null; +}; + +/** @internal */ +export const GetProjectMembersResponseBodyPagination$outboundSchema: z.ZodType< + GetProjectMembersResponseBodyPagination$Outbound, + z.ZodTypeDef, + GetProjectMembersResponseBodyPagination +> = z.object({ + hasNext: z.boolean(), + count: z.number(), + next: z.nullable(z.number()), + prev: z.nullable(z.number()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectMembersResponseBodyPagination$ { + /** @deprecated use `GetProjectMembersResponseBodyPagination$inboundSchema` instead. */ + export const inboundSchema = + GetProjectMembersResponseBodyPagination$inboundSchema; + /** @deprecated use `GetProjectMembersResponseBodyPagination$outboundSchema` instead. */ + export const outboundSchema = + GetProjectMembersResponseBodyPagination$outboundSchema; + /** @deprecated use `GetProjectMembersResponseBodyPagination$Outbound` instead. */ + export type Outbound = GetProjectMembersResponseBodyPagination$Outbound; +} + +export function getProjectMembersResponseBodyPaginationToJSON( + getProjectMembersResponseBodyPagination: + GetProjectMembersResponseBodyPagination, +): string { + return JSON.stringify( + GetProjectMembersResponseBodyPagination$outboundSchema.parse( + getProjectMembersResponseBodyPagination, + ), + ); +} + +export function getProjectMembersResponseBodyPaginationFromJSON( + jsonString: string, +): SafeParseResult< + GetProjectMembersResponseBodyPagination, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectMembersResponseBodyPagination$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectMembersResponseBodyPagination' from JSON`, + ); +} + +/** @internal */ +export const GetProjectMembersResponseBody2$inboundSchema: z.ZodType< + GetProjectMembersResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + members: z.array(z.lazy(() => ResponseBodyMembers$inboundSchema)), + pagination: z.lazy(() => + GetProjectMembersResponseBodyPagination$inboundSchema + ), +}); + +/** @internal */ +export type GetProjectMembersResponseBody2$Outbound = { + members: Array; + pagination: GetProjectMembersResponseBodyPagination$Outbound; +}; + +/** @internal */ +export const GetProjectMembersResponseBody2$outboundSchema: z.ZodType< + GetProjectMembersResponseBody2$Outbound, + z.ZodTypeDef, + GetProjectMembersResponseBody2 +> = z.object({ + members: z.array(z.lazy(() => ResponseBodyMembers$outboundSchema)), + pagination: z.lazy(() => + GetProjectMembersResponseBodyPagination$outboundSchema + ), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectMembersResponseBody2$ { + /** @deprecated use `GetProjectMembersResponseBody2$inboundSchema` instead. */ + export const inboundSchema = GetProjectMembersResponseBody2$inboundSchema; + /** @deprecated use `GetProjectMembersResponseBody2$outboundSchema` instead. */ + export const outboundSchema = GetProjectMembersResponseBody2$outboundSchema; + /** @deprecated use `GetProjectMembersResponseBody2$Outbound` instead. */ + export type Outbound = GetProjectMembersResponseBody2$Outbound; +} + +export function getProjectMembersResponseBody2ToJSON( + getProjectMembersResponseBody2: GetProjectMembersResponseBody2, +): string { + return JSON.stringify( + GetProjectMembersResponseBody2$outboundSchema.parse( + getProjectMembersResponseBody2, + ), + ); +} + +export function getProjectMembersResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectMembersResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectMembersResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const GetProjectMembersResponseBody1$inboundSchema: z.ZodType< + GetProjectMembersResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type GetProjectMembersResponseBody1$Outbound = {}; + +/** @internal */ +export const GetProjectMembersResponseBody1$outboundSchema: z.ZodType< + GetProjectMembersResponseBody1$Outbound, + z.ZodTypeDef, + GetProjectMembersResponseBody1 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectMembersResponseBody1$ { + /** @deprecated use `GetProjectMembersResponseBody1$inboundSchema` instead. */ + export const inboundSchema = GetProjectMembersResponseBody1$inboundSchema; + /** @deprecated use `GetProjectMembersResponseBody1$outboundSchema` instead. */ + export const outboundSchema = GetProjectMembersResponseBody1$outboundSchema; + /** @deprecated use `GetProjectMembersResponseBody1$Outbound` instead. */ + export type Outbound = GetProjectMembersResponseBody1$Outbound; +} + +export function getProjectMembersResponseBody1ToJSON( + getProjectMembersResponseBody1: GetProjectMembersResponseBody1, +): string { + return JSON.stringify( + GetProjectMembersResponseBody1$outboundSchema.parse( + getProjectMembersResponseBody1, + ), + ); +} + +export function getProjectMembersResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectMembersResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectMembersResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const GetProjectMembersResponseBody$inboundSchema: z.ZodType< + GetProjectMembersResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetProjectMembersResponseBody1$inboundSchema), + z.lazy(() => GetProjectMembersResponseBody2$inboundSchema), +]); + +/** @internal */ +export type GetProjectMembersResponseBody$Outbound = + | GetProjectMembersResponseBody1$Outbound + | GetProjectMembersResponseBody2$Outbound; + +/** @internal */ +export const GetProjectMembersResponseBody$outboundSchema: z.ZodType< + GetProjectMembersResponseBody$Outbound, + z.ZodTypeDef, + GetProjectMembersResponseBody +> = z.union([ + z.lazy(() => GetProjectMembersResponseBody1$outboundSchema), + z.lazy(() => GetProjectMembersResponseBody2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectMembersResponseBody$ { + /** @deprecated use `GetProjectMembersResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetProjectMembersResponseBody$inboundSchema; + /** @deprecated use `GetProjectMembersResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetProjectMembersResponseBody$outboundSchema; + /** @deprecated use `GetProjectMembersResponseBody$Outbound` instead. */ + export type Outbound = GetProjectMembersResponseBody$Outbound; +} + +export function getProjectMembersResponseBodyToJSON( + getProjectMembersResponseBody: GetProjectMembersResponseBody, +): string { + return JSON.stringify( + GetProjectMembersResponseBody$outboundSchema.parse( + getProjectMembersResponseBody, + ), + ); +} + +export function getProjectMembersResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectMembersResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectMembersResponseBody' from JSON`, + ); +} diff --git a/src/models/getprojectsop.ts b/src/models/getprojectsop.ts new file mode 100644 index 00000000..9f299800 --- /dev/null +++ b/src/models/getprojectsop.ts @@ -0,0 +1,9089 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + ACLAction, + ACLAction$inboundSchema, + ACLAction$outboundSchema, +} from "./aclaction.js"; +import { + Pagination, + Pagination$inboundSchema, + Pagination$Outbound, + Pagination$outboundSchema, +} from "./pagination.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed + */ +export const GitForkProtection = { + One: "1", + Zero: "0", +} as const; +/** + * Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed + */ +export type GitForkProtection = ClosedEnum; + +export type GetProjectsRequest = { + /** + * Query only projects updated after the given timestamp + */ + from?: string | undefined; + /** + * Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed + */ + gitForkProtection?: GitForkProtection | undefined; + /** + * Limit the number of projects returned + */ + limit?: string | undefined; + /** + * Search projects by the name field + */ + search?: string | undefined; + /** + * Filter results by repo. Also used for project count + */ + repo?: string | undefined; + /** + * Filter results by Repository ID. + */ + repoId?: string | undefined; + /** + * Filter results by Repository URL. + */ + repoUrl?: string | undefined; + /** + * Filter results by excluding those projects that belong to a repo + */ + excludeRepos?: string | undefined; + /** + * Filter results by connected Edge Config ID + */ + edgeConfigId?: string | undefined; + /** + * Filter results by connected Edge Config Token ID + */ + edgeConfigTokenId?: string | undefined; + deprecated?: boolean | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export type GetProjectsAnalytics = { + id: string; + canceledAt?: number | null | undefined; + disabledAt: number; + enabledAt: number; + paidAt?: number | undefined; + sampleRatePercent?: number | null | undefined; + spendLimitInDollars?: number | null | undefined; +}; + +export type GetProjectsSpeedInsights = { + id: string; + enabledAt?: number | undefined; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + hasData?: boolean | undefined; + paidAt?: number | undefined; +}; + +export type GetProjectsDefinitions = { + /** + * The hostname that should be used. + */ + host: string; + /** + * The path that should be called for the cronjob. + */ + path: string; + /** + * The cron expression. + */ + schedule: string; +}; + +export type GetProjectsCrons = { + /** + * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs. + */ + enabledAt: number; + /** + * The time the feature was disabled for this project. + */ + disabledAt: number | null; + updatedAt: number; + /** + * The ID of the Deployment from which the definitions originated. + */ + deploymentId: string | null; + definitions: Array; +}; + +export type GetProjectsDataCache = { + userDisabled: boolean; + storageSizeBytes?: number | null | undefined; + unlimited?: boolean | undefined; +}; + +export type GetProjectsDeploymentExpiration = { + expirationDays?: number | undefined; + expirationDaysProduction?: number | undefined; + expirationDaysCanceled?: number | undefined; + expirationDaysErrored?: number | undefined; + deploymentsToKeep?: number | undefined; +}; + +export const GetProjectsTarget2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type GetProjectsTarget2 = ClosedEnum; + +export const GetProjectsTarget1 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type GetProjectsTarget1 = ClosedEnum; + +export type GetProjectsTarget = Array | GetProjectsTarget2; + +export const GetProjectsType = { + System: "system", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", + Secret: "secret", +} as const; +export type GetProjectsType = ClosedEnum; + +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type = + { + FlagsConnectionString: "flags-connection-string", + } as const; +export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type = + ClosedEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type + >; + +export type GetProjectsContentHint15 = { + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type; + projectId: string; +}; + +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type = + { + IntegrationStoreSecret: "integration-store-secret", + } as const; +export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type = + ClosedEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type + >; + +export type GetProjectsContentHint14 = { + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type = + { + PostgresUrlNoSsl: "postgres-url-no-ssl", + } as const; +export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type = + ClosedEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type + >; + +export type GetProjectsContentHint13 = { + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type; + storeId: string; +}; + +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type = + { + PostgresDatabase: "postgres-database", + } as const; +export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type = + ClosedEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type + >; + +export type GetProjectsContentHint12 = { + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type; + storeId: string; +}; + +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type = + { + PostgresPassword: "postgres-password", + } as const; +export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type = + ClosedEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type + >; + +export type GetProjectsContentHint11 = { + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type; + storeId: string; +}; + +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type = + { + PostgresHost: "postgres-host", + } as const; +export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type = + ClosedEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type + >; + +export type GetProjectsContentHint10 = { + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type; + storeId: string; +}; + +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type = + { + PostgresUser: "postgres-user", + } as const; +export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type = + ClosedEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type + >; + +export type GetProjectsContentHint9 = { + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type; + storeId: string; +}; + +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType = + { + PostgresPrismaUrl: "postgres-prisma-url", + } as const; +export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType = + ClosedEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType + >; + +export type GetProjectsContentHint8 = { + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType; + storeId: string; +}; + +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType = + { + PostgresUrlNonPooling: "postgres-url-non-pooling", + } as const; +export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType = + ClosedEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType + >; + +export type GetProjectsContentHint7 = { + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType; + storeId: string; +}; + +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType = + { + PostgresUrl: "postgres-url", + } as const; +export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType + >; + +export type GetProjectsContentHint6 = { + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType; + storeId: string; +}; + +export const GetProjectsContentHintProjectsResponse200ApplicationJSONType = { + BlobReadWriteToken: "blob-read-write-token", +} as const; +export type GetProjectsContentHintProjectsResponse200ApplicationJSONType = + ClosedEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONType + >; + +export type GetProjectsContentHint5 = { + type: GetProjectsContentHintProjectsResponse200ApplicationJSONType; + storeId: string; +}; + +export const GetProjectsContentHintProjectsResponse200Type = { + RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", +} as const; +export type GetProjectsContentHintProjectsResponse200Type = ClosedEnum< + typeof GetProjectsContentHintProjectsResponse200Type +>; + +export type GetProjectsContentHint4 = { + type: GetProjectsContentHintProjectsResponse200Type; + storeId: string; +}; + +export const GetProjectsContentHintProjectsResponseType = { + RedisRestApiToken: "redis-rest-api-token", +} as const; +export type GetProjectsContentHintProjectsResponseType = ClosedEnum< + typeof GetProjectsContentHintProjectsResponseType +>; + +export type GetProjectsContentHint3 = { + type: GetProjectsContentHintProjectsResponseType; + storeId: string; +}; + +export const GetProjectsContentHintProjectsType = { + RedisRestApiUrl: "redis-rest-api-url", +} as const; +export type GetProjectsContentHintProjectsType = ClosedEnum< + typeof GetProjectsContentHintProjectsType +>; + +export type GetProjectsContentHint2 = { + type: GetProjectsContentHintProjectsType; + storeId: string; +}; + +export const GetProjectsContentHintType = { + RedisUrl: "redis-url", +} as const; +export type GetProjectsContentHintType = ClosedEnum< + typeof GetProjectsContentHintType +>; + +export type GetProjectsContentHint1 = { + type: GetProjectsContentHintType; + storeId: string; +}; + +export type GetProjectsContentHint = + | GetProjectsContentHint1 + | GetProjectsContentHint2 + | GetProjectsContentHint3 + | GetProjectsContentHint4 + | GetProjectsContentHint5 + | GetProjectsContentHint6 + | GetProjectsContentHint7 + | GetProjectsContentHint8 + | GetProjectsContentHint9 + | GetProjectsContentHint10 + | GetProjectsContentHint11 + | GetProjectsContentHint12 + | GetProjectsContentHint13 + | GetProjectsContentHint15 + | GetProjectsContentHint14; + +export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType = + { + FlagsSecret: "flags-secret", + } as const; +export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType = + ClosedEnum< + typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType + >; + +/** + * Similar to `contentHints`, but should not be exposed to the user. + */ +export type GetProjectsInternalContentHint = { + type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType; + /** + * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. + */ + encryptedValue: string; +}; + +export type GetProjectsEnv = { + target?: Array | GetProjectsTarget2 | undefined; + type: GetProjectsType; + /** + * This is used to identiy variables that have been migrated from type secret to sensitive. + */ + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | GetProjectsContentHint1 + | GetProjectsContentHint2 + | GetProjectsContentHint3 + | GetProjectsContentHint4 + | GetProjectsContentHint5 + | GetProjectsContentHint6 + | GetProjectsContentHint7 + | GetProjectsContentHint8 + | GetProjectsContentHint9 + | GetProjectsContentHint10 + | GetProjectsContentHint11 + | GetProjectsContentHint12 + | GetProjectsContentHint13 + | GetProjectsContentHint15 + | GetProjectsContentHint14 + | null + | undefined; + /** + * Similar to `contentHints`, but should not be exposed to the user. + */ + internalContentHint?: GetProjectsInternalContentHint | null | undefined; + /** + * Whether `value` and `vsmValue` are decrypted. + */ + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +export type GetProjectsCustomEnvironments = {}; + +export const GetProjectsFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + Astro: "astro", + Hexo: "hexo", + Eleventy: "eleventy", + Docusaurus2: "docusaurus-2", + Docusaurus: "docusaurus", + Preact: "preact", + Solidstart1: "solidstart-1", + Solidstart: "solidstart", + Dojo: "dojo", + Ember: "ember", + Vue: "vue", + Scully: "scully", + IonicAngular: "ionic-angular", + Angular: "angular", + Polymer: "polymer", + Svelte: "svelte", + Sveltekit: "sveltekit", + Sveltekit1: "sveltekit-1", + IonicReact: "ionic-react", + CreateReactApp: "create-react-app", + Gridsome: "gridsome", + Umijs: "umijs", + Sapper: "sapper", + Saber: "saber", + Stencil: "stencil", + Nuxtjs: "nuxtjs", + Redwoodjs: "redwoodjs", + Hugo: "hugo", + Jekyll: "jekyll", + Brunch: "brunch", + Middleman: "middleman", + Zola: "zola", + Hydrogen: "hydrogen", + Vite: "vite", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", +} as const; +export type GetProjectsFramework = ClosedEnum; + +export type GetProjectsIpBuckets = { + bucket: string; + supportUntil?: number | undefined; +}; + +export type GetProjectsAliasAssigned = number | boolean; + +export type GetProjectsAliasError = { + code: string; + message: string; +}; + +export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType = { + EndsWith: "endsWith", + StartsWith: "startsWith", + Equals: "equals", +} as const; +export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType + >; + +export type GetProjectsBranchMatcher = { + type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyType; + pattern: string; +}; + +export type GetProjectsBuilds = { + use: string; + src?: string | undefined; + dest?: string | undefined; +}; + +export const GetProjectsChecksConclusion = { + Succeeded: "succeeded", + Failed: "failed", + Skipped: "skipped", + Canceled: "canceled", +} as const; +export type GetProjectsChecksConclusion = ClosedEnum< + typeof GetProjectsChecksConclusion +>; + +export const GetProjectsChecksState = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +export type GetProjectsChecksState = ClosedEnum; + +export type GetProjectsCreator = { + email: string; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; + uid: string; + username: string; +}; + +export type GetProjectsOidcTokenClaims = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + ownerId: string; + project: string; + projectId: string; + environment: string; +}; + +export const GetProjectsPlan = { + Pro: "pro", + Enterprise: "enterprise", + Hobby: "hobby", +} as const; +export type GetProjectsPlan = ClosedEnum; + +export const GetProjectsReadyState = { + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Queued: "QUEUED", + Ready: "READY", + Canceled: "CANCELED", +} as const; +export type GetProjectsReadyState = ClosedEnum; + +export const GetProjectsReadySubstate = { + Staged: "STAGED", + Promoted: "PROMOTED", +} as const; +export type GetProjectsReadySubstate = ClosedEnum< + typeof GetProjectsReadySubstate +>; + +export const GetProjectsProjectsType = { + Lambdas: "LAMBDAS", +} as const; +export type GetProjectsProjectsType = ClosedEnum< + typeof GetProjectsProjectsType +>; + +export type GetProjectsLatestDeployments = { + id: string; + alias?: Array | undefined; + aliasAssigned?: number | boolean | null | undefined; + aliasError?: GetProjectsAliasError | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + branchMatcher?: GetProjectsBranchMatcher | undefined; + buildingAt?: number | undefined; + builds?: Array | undefined; + checksConclusion?: GetProjectsChecksConclusion | undefined; + checksState?: GetProjectsChecksState | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdAt: number; + createdIn: string; + creator: GetProjectsCreator | null; + deletedAt?: number | undefined; + deploymentHostname: string; + forced?: boolean | undefined; + name: string; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + oidcTokenClaims?: GetProjectsOidcTokenClaims | undefined; + plan: GetProjectsPlan; + /** + * Whether or not preview comments are enabled for the deployment + */ + previewCommentsEnabled?: boolean | undefined; + private: boolean; + readyAt?: number | undefined; + readyState: GetProjectsReadyState; + readySubstate?: GetProjectsReadySubstate | undefined; + requestedAt?: number | undefined; + target?: string | null | undefined; + teamId?: string | null | undefined; + type: GetProjectsProjectsType; + url: string; + userId: string; + withCache?: boolean | undefined; +}; + +export const GetProjectsLinkProjectsResponseType = { + Bitbucket: "bitbucket", +} as const; +export type GetProjectsLinkProjectsResponseType = ClosedEnum< + typeof GetProjectsLinkProjectsResponseType +>; + +export type GetProjectsLinkProjectsResponseDeployHooks = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +export type GetProjectsLink3 = { + name?: string | undefined; + slug?: string | undefined; + owner?: string | undefined; + type?: GetProjectsLinkProjectsResponseType | undefined; + uuid?: string | undefined; + workspaceUuid?: string | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +export const GetProjectsLinkProjectsType = { + Gitlab: "gitlab", +} as const; +export type GetProjectsLinkProjectsType = ClosedEnum< + typeof GetProjectsLinkProjectsType +>; + +export type GetProjectsLinkProjectsDeployHooks = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +export type GetProjectsLink2 = { + projectId?: string | undefined; + projectName?: string | undefined; + projectNameWithNamespace?: string | undefined; + projectNamespace?: string | undefined; + /** + * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. This is the id of the top level group that a namespace belongs to. Gitlab supports group nesting (up to 20 levels). + */ + projectOwnerId?: number | undefined; + projectUrl?: string | undefined; + type?: GetProjectsLinkProjectsType | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +export const GetProjectsLinkType = { + Github: "github", +} as const; +export type GetProjectsLinkType = ClosedEnum; + +export type GetProjectsLinkDeployHooks = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +export type GetProjectsLink1 = { + org?: string | undefined; + /** + * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. + */ + repoOwnerId?: number | undefined; + repo?: string | undefined; + repoId?: number | undefined; + type?: GetProjectsLinkType | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +export type GetProjectsLink = + | GetProjectsLink1 + | GetProjectsLink3 + | GetProjectsLink2; + +export type GetProjectsMicrofrontends = { + /** + * Timestamp when the microfrontends settings were last updated. + */ + updatedAt: number; + /** + * The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. + */ + groupIds: Array; + /** + * Whether microfrontends are enabled for this project. + */ + enabled: boolean; + /** + * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. + */ + isDefaultApp?: boolean | undefined; + /** + * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. + */ + defaultRoute?: string | undefined; +}; + +export const GetProjectsNodeVersion = { + TwentyTwoX: "22.x", + TwentyX: "20.x", + EighteenX: "18.x", + SixteenX: "16.x", + FourteenX: "14.x", + TwelveX: "12.x", + TenX: "10.x", + Eight10X: "8.10.x", +} as const; +export type GetProjectsNodeVersion = ClosedEnum; + +export type GetProjectsPaths = { + value: string; +}; + +export type GetProjectsOptionsAllowlist = { + paths: Array; +}; + +export type GetProjectsPasswordProtection = {}; + +export const GetProjectsFunctionDefaultMemoryType = { + StandardLegacy: "standard_legacy", + Standard: "standard", + Performance: "performance", +} as const; +export type GetProjectsFunctionDefaultMemoryType = ClosedEnum< + typeof GetProjectsFunctionDefaultMemoryType +>; + +export type GetProjectsResourceConfig = { + functionDefaultTimeout?: number | undefined; + functionDefaultMemoryType?: GetProjectsFunctionDefaultMemoryType | undefined; + allowServerlessConcurrency?: boolean | undefined; + elasticConcurrencyEnabled?: boolean | undefined; +}; + +export const GetProjectsDeploymentType = { + Preview: "preview", + All: "all", + ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", +} as const; +export type GetProjectsDeploymentType = ClosedEnum< + typeof GetProjectsDeploymentType +>; + +export type GetProjectsSsoProtection = { + deploymentType: GetProjectsDeploymentType; +}; + +export type GetProjectsProjectsAliasAssigned = number | boolean; + +export type GetProjectsProjectsAliasError = { + code: string; + message: string; +}; + +export const GetProjectsProjectsResponse200ApplicationJSONType = { + EndsWith: "endsWith", + StartsWith: "startsWith", + Equals: "equals", +} as const; +export type GetProjectsProjectsResponse200ApplicationJSONType = ClosedEnum< + typeof GetProjectsProjectsResponse200ApplicationJSONType +>; + +export type GetProjectsProjectsBranchMatcher = { + type: GetProjectsProjectsResponse200ApplicationJSONType; + pattern: string; +}; + +export type GetProjectsProjectsBuilds = { + use: string; + src?: string | undefined; + dest?: string | undefined; +}; + +export const GetProjectsProjectsChecksConclusion = { + Succeeded: "succeeded", + Failed: "failed", + Skipped: "skipped", + Canceled: "canceled", +} as const; +export type GetProjectsProjectsChecksConclusion = ClosedEnum< + typeof GetProjectsProjectsChecksConclusion +>; + +export const GetProjectsProjectsChecksState = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +export type GetProjectsProjectsChecksState = ClosedEnum< + typeof GetProjectsProjectsChecksState +>; + +export type GetProjectsProjectsCreator = { + email: string; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; + uid: string; + username: string; +}; + +export type GetProjectsProjectsOidcTokenClaims = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + ownerId: string; + project: string; + projectId: string; + environment: string; +}; + +export const GetProjectsProjectsPlan = { + Pro: "pro", + Enterprise: "enterprise", + Hobby: "hobby", +} as const; +export type GetProjectsProjectsPlan = ClosedEnum< + typeof GetProjectsProjectsPlan +>; + +export const GetProjectsProjectsReadyState = { + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Queued: "QUEUED", + Ready: "READY", + Canceled: "CANCELED", +} as const; +export type GetProjectsProjectsReadyState = ClosedEnum< + typeof GetProjectsProjectsReadyState +>; + +export const GetProjectsProjectsReadySubstate = { + Staged: "STAGED", + Promoted: "PROMOTED", +} as const; +export type GetProjectsProjectsReadySubstate = ClosedEnum< + typeof GetProjectsProjectsReadySubstate +>; + +export const GetProjectsProjectsResponseType = { + Lambdas: "LAMBDAS", +} as const; +export type GetProjectsProjectsResponseType = ClosedEnum< + typeof GetProjectsProjectsResponseType +>; + +export type GetProjectsTargets = { + id: string; + alias?: Array | undefined; + aliasAssigned?: number | boolean | null | undefined; + aliasError?: GetProjectsProjectsAliasError | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + branchMatcher?: GetProjectsProjectsBranchMatcher | undefined; + buildingAt?: number | undefined; + builds?: Array | undefined; + checksConclusion?: GetProjectsProjectsChecksConclusion | undefined; + checksState?: GetProjectsProjectsChecksState | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdAt: number; + createdIn: string; + creator: GetProjectsProjectsCreator | null; + deletedAt?: number | undefined; + deploymentHostname: string; + forced?: boolean | undefined; + name: string; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + oidcTokenClaims?: GetProjectsProjectsOidcTokenClaims | undefined; + plan: GetProjectsProjectsPlan; + /** + * Whether or not preview comments are enabled for the deployment + */ + previewCommentsEnabled?: boolean | undefined; + private: boolean; + readyAt?: number | undefined; + readyState: GetProjectsProjectsReadyState; + readySubstate?: GetProjectsProjectsReadySubstate | undefined; + requestedAt?: number | undefined; + target?: string | null | undefined; + teamId?: string | null | undefined; + type: GetProjectsProjectsResponseType; + url: string; + userId: string; + withCache?: boolean | undefined; +}; + +export type GetProjectsPermissions = { + accessGroup?: Array | undefined; + aliasGlobal?: Array | undefined; + analyticsSampling?: Array | undefined; + analyticsUsage?: Array | undefined; + auditLog?: Array | undefined; + billingAddress?: Array | undefined; + billingInformation?: Array | undefined; + billingInvoice?: Array | undefined; + billingInvoiceEmailRecipient?: Array | undefined; + billingInvoiceLanguage?: Array | undefined; + billingPlan?: Array | undefined; + billingPurchaseOrder?: Array | undefined; + billingTaxId?: Array | undefined; + blob?: Array | undefined; + budget?: Array | undefined; + cacheArtifact?: Array | undefined; + cacheArtifactUsageEvent?: Array | undefined; + codeChecks?: Array | undefined; + concurrentBuilds?: Array | undefined; + connect?: Array | undefined; + connectConfiguration?: Array | undefined; + domain?: Array | undefined; + domainAcceptDelegation?: Array | undefined; + domainAuthCodes?: Array | undefined; + domainCertificate?: Array | undefined; + domainCheckConfig?: Array | undefined; + domainMove?: Array | undefined; + domainPurchase?: Array | undefined; + domainRecord?: Array | undefined; + domainTransferIn?: Array | undefined; + event?: Array | undefined; + ownEvent?: Array | undefined; + sensitiveEnvironmentVariablePolicy?: Array | undefined; + fileUpload?: Array | undefined; + gitRepository?: Array | undefined; + ipBlocking?: Array | undefined; + integration?: Array | undefined; + integrationAccount?: Array | undefined; + integrationConfiguration?: Array | undefined; + integrationConfigurationTransfer?: Array | undefined; + integrationConfigurationProjects?: Array | undefined; + integrationVercelConfigurationOverride?: Array | undefined; + integrationConfigurationRole?: Array | undefined; + integrationResource?: Array | undefined; + integrationEvent?: Array | undefined; + integrationResourceSecrets?: Array | undefined; + integrationDeploymentAction?: Array | undefined; + marketplaceInstallationMember?: Array | undefined; + marketplaceBillingData?: Array | undefined; + marketplaceInvoice?: Array | undefined; + jobGlobal?: Array | undefined; + logDrain?: Array | undefined; + monitoring?: Array | undefined; + monitoringSettings?: Array | undefined; + monitoringQuery?: Array | undefined; + monitoringChart?: Array | undefined; + monitoringAlert?: Array | undefined; + notificationDeploymentFailed?: Array | undefined; + notificationDomainConfiguration?: Array | undefined; + notificationDomainExpire?: Array | undefined; + notificationDomainMoved?: Array | undefined; + notificationDomainPurchase?: Array | undefined; + notificationDomainRenewal?: Array | undefined; + notificationDomainTransfer?: Array | undefined; + notificationDomainUnverified?: Array | undefined; + notificationMonitoringAlert?: Array | undefined; + notificationPaymentFailed?: Array | undefined; + notificationUsageAlert?: Array | undefined; + notificationCustomerBudget?: Array | undefined; + notificationStatementOfReasons?: Array | undefined; + oauth2Connection?: Array | undefined; + observabilityConfiguration?: Array | undefined; + openTelemetryEndpoint?: Array | undefined; + paymentMethod?: Array | undefined; + permissions?: Array | undefined; + postgres?: Array | undefined; + previewDeploymentSuffix?: Array | undefined; + proTrialOnboarding?: Array | undefined; + sharedEnvVars?: Array | undefined; + sharedEnvVarsProduction?: Array | undefined; + space?: Array | undefined; + spaceRun?: Array | undefined; + passwordProtectionInvoiceItem?: Array | undefined; + rateLimit?: Array | undefined; + redis?: Array | undefined; + repository?: Array | undefined; + remoteCaching?: Array | undefined; + samlConfig?: Array | undefined; + secret?: Array | undefined; + redisStoreTokenSet?: Array | undefined; + blobStoreTokenSet?: Array | undefined; + postgresStoreTokenSet?: Array | undefined; + integrationStoreTokenSet?: Array | undefined; + integrationResourceReplCommand?: Array | undefined; + storeTransfer?: Array | undefined; + supportCase?: Array | undefined; + supportCaseComment?: Array | undefined; + dataCacheBillingSettings?: Array | undefined; + team?: Array | undefined; + teamAccessRequest?: Array | undefined; + teamFellowMembership?: Array | undefined; + teamGitExclusivity?: Array | undefined; + teamInvite?: Array | undefined; + teamInviteCode?: Array | undefined; + teamJoin?: Array | undefined; + teamMicrofrontends?: Array | undefined; + teamOwnMembership?: Array | undefined; + teamOwnMembershipDisconnectSAML?: Array | undefined; + token?: Array | undefined; + usage?: Array | undefined; + usageCycle?: Array | undefined; + user?: Array | undefined; + userConnection?: Array | undefined; + vpcPeeringConnection?: Array | undefined; + webAnalyticsPlan?: Array | undefined; + webAuthn?: Array | undefined; + edgeConfig?: Array | undefined; + edgeConfigItem?: Array | undefined; + edgeConfigSchema?: Array | undefined; + edgeConfigToken?: Array | undefined; + webhook?: Array | undefined; + webhookEvent?: Array | undefined; + endpointVerification?: Array | undefined; + projectTransferIn?: Array | undefined; + oauth2Application?: Array | undefined; + aliasProject?: Array | undefined; + aliasProtectionBypass?: Array | undefined; + productionAliasProtectionBypass?: Array | undefined; + connectConfigurationLink?: Array | undefined; + dataCacheNamespace?: Array | undefined; + deployment?: Array | undefined; + deploymentCheck?: Array | undefined; + deploymentCheckPreview?: Array | undefined; + deploymentCheckReRunFromProductionBranch?: Array | undefined; + deploymentProductionGit?: Array | undefined; + deploymentV0?: Array | undefined; + deploymentPreview?: Array | undefined; + deploymentPrivate?: Array | undefined; + deploymentPromote?: Array | undefined; + deploymentRollback?: Array | undefined; + environments?: Array | undefined; + logs?: Array | undefined; + logsPreset?: Array | undefined; + passwordProtection?: Array | undefined; + optionsAllowlist?: Array | undefined; + job?: Array | undefined; + observabilityData?: Array | undefined; + project?: Array | undefined; + projectFromV0?: Array | undefined; + projectAccessGroup?: Array | undefined; + projectAnalyticsSampling?: Array | undefined; + projectDeploymentHook?: Array | undefined; + projectDomain?: Array | undefined; + projectDomainMove?: Array | undefined; + projectDomainCheckConfig?: Array | undefined; + projectEnvVars?: Array | undefined; + projectEnvVarsProduction?: Array | undefined; + projectEnvVarsUnownedByIntegration?: Array | undefined; + projectFlags?: Array | undefined; + projectId?: Array | undefined; + projectIntegrationConfiguration?: Array | undefined; + projectLink?: Array | undefined; + projectMember?: Array | undefined; + projectMonitoring?: Array | undefined; + projectPermissions?: Array | undefined; + projectProductionBranch?: Array | undefined; + projectTransfer?: Array | undefined; + projectTransferOut?: Array | undefined; + projectProtectionBypass?: Array | undefined; + projectUsage?: Array | undefined; + projectAnalyticsUsage?: Array | undefined; + projectSupportCase?: Array | undefined; + projectSupportCaseComment?: Array | undefined; + projectDeploymentExpiration?: Array | undefined; + projectTier?: Array | undefined; + seawallConfig?: Array | undefined; + skewProtection?: Array | undefined; + analytics?: Array | undefined; + trustedIps?: Array | undefined; + webAnalytics?: Array | undefined; + sharedEnvVarConnection?: Array | undefined; + sonar?: Array | undefined; +}; + +export type GetProjectsLastRollbackTarget = {}; + +export const GetProjectsJobStatus = { + Succeeded: "succeeded", + Failed: "failed", + Skipped: "skipped", + Pending: "pending", + InProgress: "in-progress", +} as const; +export type GetProjectsJobStatus = ClosedEnum; + +export const GetProjectsProjectsResponse200Type = { + Promote: "promote", + Rollback: "rollback", +} as const; +export type GetProjectsProjectsResponse200Type = ClosedEnum< + typeof GetProjectsProjectsResponse200Type +>; + +export type GetProjectsLastAliasRequest = { + fromDeploymentId: string; + toDeploymentId: string; + jobStatus: GetProjectsJobStatus; + requestedAt: number; + type: GetProjectsProjectsResponse200Type; +}; + +export const GetProjectsScope = { + AutomationBypass: "automation-bypass", +} as const; +export type GetProjectsScope = ClosedEnum; + +export type GetProjectsProtectionBypass = { + createdAt: number; + createdBy: string; + scope: GetProjectsScope; +}; + +export const GetProjectsTrustedIpsProjectsDeploymentType = { + Production: "production", + Preview: "preview", + All: "all", + ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", +} as const; +export type GetProjectsTrustedIpsProjectsDeploymentType = ClosedEnum< + typeof GetProjectsTrustedIpsProjectsDeploymentType +>; + +export type GetProjectsTrustedIps2 = { + deploymentType: GetProjectsTrustedIpsProjectsDeploymentType; +}; + +export const GetProjectsTrustedIpsDeploymentType = { + Production: "production", + Preview: "preview", + All: "all", + ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", +} as const; +export type GetProjectsTrustedIpsDeploymentType = ClosedEnum< + typeof GetProjectsTrustedIpsDeploymentType +>; + +export type GetProjectsTrustedIpsAddresses = { + value: string; + note?: string | undefined; +}; + +export const GetProjectsTrustedIpsProtectionMode = { + Additional: "additional", + Exclusive: "exclusive", +} as const; +export type GetProjectsTrustedIpsProtectionMode = ClosedEnum< + typeof GetProjectsTrustedIpsProtectionMode +>; + +export type GetProjectsTrustedIps1 = { + deploymentType: GetProjectsTrustedIpsDeploymentType; + addresses: Array; + protectionMode: GetProjectsTrustedIpsProtectionMode; +}; + +export type GetProjectsTrustedIps = + | GetProjectsTrustedIps2 + | GetProjectsTrustedIps1; + +export type GetProjectsGitComments = { + /** + * Whether the Vercel bot should comment on PRs + */ + onPullRequest: boolean; + /** + * Whether the Vercel bot should comment on commits + */ + onCommit: boolean; +}; + +export type GetProjectsWebAnalytics = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; +}; + +export type GetProjectsSrc2 = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +export type GetProjectsSrc = GetProjectsSrc2 | string; + +export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType = + { + Path: "path", + Host: "host", + Method: "method", + Header: "header", + Cookie: "cookie", + Query: "query", + IpAddress: "ip_address", + Protocol: "protocol", + Scheme: "scheme", + Environment: "environment", + Region: "region", + InitialRequestPath: "initial_request_path", + } as const; +export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType = + ClosedEnum< + typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType + >; + +export type GetProjectsValue2 = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +export type GetProjectsValue = GetProjectsValue2 | string; + +export type GetProjectsHas = { + type: + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType; + key?: string | undefined; + value?: GetProjectsValue2 | string | undefined; +}; + +export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType = + { + Path: "path", + Host: "host", + Method: "method", + Header: "header", + Cookie: "cookie", + Query: "query", + IpAddress: "ip_address", + Protocol: "protocol", + Scheme: "scheme", + Environment: "environment", + Region: "region", + InitialRequestPath: "initial_request_path", + } as const; +export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType = + ClosedEnum< + typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType + >; + +export type GetProjectsValueProjects2 = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +export type GetProjectsProjectsValue = GetProjectsValueProjects2 | string; + +export type GetProjectsMissing = { + type: + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType; + key?: string | undefined; + value?: GetProjectsValueProjects2 | string | undefined; +}; + +export const GetProjectsHandle = { + Init: "init", + Finalize: "finalize", +} as const; +export type GetProjectsHandle = ClosedEnum; + +export const GetProjectsAction = { + Deny: "deny", + Challenge: "challenge", + Log: "log", + Bypass: "bypass", + RateLimit: "rate_limit", + Redirect: "redirect", +} as const; +export type GetProjectsAction = ClosedEnum; + +export const GetProjectsAlgo = { + FixedWindow: "fixed_window", + TokenBucket: "token_bucket", +} as const; +export type GetProjectsAlgo = ClosedEnum; + +export type GetProjectsErl = { + algo: GetProjectsAlgo; + window: number; + limit: number; + keys: Array; +}; + +export type GetProjectsMitigate = { + action: GetProjectsAction; + ruleId: string; + ttl?: number | undefined; + erl?: GetProjectsErl | undefined; +}; + +export type GetProjectsFirewallRoutes = { + src?: GetProjectsSrc2 | string | undefined; + has?: Array | undefined; + missing?: Array | undefined; + dest?: string | undefined; + status?: number | undefined; + handle?: GetProjectsHandle | undefined; + mitigate?: GetProjectsMitigate | undefined; +}; + +export type GetProjectsSecurity = { + attackModeEnabled?: boolean | undefined; + attackModeUpdatedAt?: number | undefined; + firewallEnabled?: boolean | undefined; + firewallUpdatedAt?: number | undefined; + attackModeActiveUntil?: number | null | undefined; + firewallConfigVersion?: number | undefined; + firewallRoutes?: Array | undefined; + firewallSeawallEnabled?: boolean | undefined; + ja3Enabled?: boolean | undefined; + ja4Enabled?: boolean | undefined; + firewallBypassIps?: Array | undefined; +}; + +/** + * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` + */ +export const GetProjectsIssuerMode = { + Team: "team", + Global: "global", +} as const; +/** + * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` + */ +export type GetProjectsIssuerMode = ClosedEnum; + +export type GetProjectsOidcTokenConfig = { + enabled: boolean; + /** + * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` + */ + issuerMode?: GetProjectsIssuerMode | undefined; +}; + +export const GetProjectsTier = { + Standard: "standard", + Advanced: "advanced", + Critical: "critical", +} as const; +export type GetProjectsTier = ClosedEnum; + +export type GetProjectsProjects = { + accountId: string; + analytics?: GetProjectsAnalytics | undefined; + speedInsights?: GetProjectsSpeedInsights | undefined; + autoExposeSystemEnvs?: boolean | undefined; + autoAssignCustomDomains?: boolean | undefined; + autoAssignCustomDomainsUpdatedBy?: string | undefined; + buildCommand?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + connectConfigurationId?: string | null | undefined; + connectBuildsEnabled?: boolean | undefined; + createdAt?: number | undefined; + customerSupportCodeVisibility?: boolean | undefined; + crons?: GetProjectsCrons | undefined; + dataCache?: GetProjectsDataCache | undefined; + deploymentExpiration?: GetProjectsDeploymentExpiration | null | undefined; + devCommand?: string | null | undefined; + directoryListing: boolean; + installCommand?: string | null | undefined; + env?: Array | undefined; + customEnvironments?: Array | undefined; + framework?: GetProjectsFramework | null | undefined; + gitForkProtection?: boolean | undefined; + gitLFS?: boolean | undefined; + id: string; + ipBuckets?: Array | undefined; + latestDeployments?: Array | undefined; + link?: GetProjectsLink1 | GetProjectsLink3 | GetProjectsLink2 | undefined; + microfrontends?: GetProjectsMicrofrontends | undefined; + name: string; + nodeVersion: GetProjectsNodeVersion; + optionsAllowlist?: GetProjectsOptionsAllowlist | null | undefined; + outputDirectory?: string | null | undefined; + passiveConnectConfigurationId?: string | null | undefined; + passwordProtection?: GetProjectsPasswordProtection | null | undefined; + productionDeploymentsFastLane?: boolean | undefined; + publicSource?: boolean | null | undefined; + resourceConfig?: GetProjectsResourceConfig | undefined; + rootDirectory?: string | null | undefined; + serverlessFunctionRegion?: string | null | undefined; + serverlessFunctionZeroConfigFailover?: boolean | undefined; + skewProtectionBoundaryAt?: number | undefined; + skewProtectionMaxAge?: number | undefined; + skipGitConnectDuringLink?: boolean | undefined; + sourceFilesOutsideRootDirectory?: boolean | undefined; + enableAffectedProjectsDeployments?: boolean | undefined; + ssoProtection?: GetProjectsSsoProtection | null | undefined; + targets?: { [k: string]: GetProjectsTargets } | undefined; + transferCompletedAt?: number | undefined; + transferStartedAt?: number | undefined; + transferToAccountId?: string | undefined; + transferredFromAccountId?: string | undefined; + updatedAt?: number | undefined; + live?: boolean | undefined; + enablePreviewFeedback?: boolean | null | undefined; + enableProductionFeedback?: boolean | null | undefined; + permissions?: GetProjectsPermissions | undefined; + lastRollbackTarget?: GetProjectsLastRollbackTarget | null | undefined; + lastAliasRequest?: GetProjectsLastAliasRequest | null | undefined; + hasFloatingAliases?: boolean | undefined; + protectionBypass?: { [k: string]: GetProjectsProtectionBypass } | undefined; + hasActiveBranches?: boolean | undefined; + trustedIps?: + | GetProjectsTrustedIps2 + | GetProjectsTrustedIps1 + | null + | undefined; + gitComments?: GetProjectsGitComments | undefined; + paused?: boolean | undefined; + concurrencyBucketName?: string | undefined; + webAnalytics?: GetProjectsWebAnalytics | undefined; + security?: GetProjectsSecurity | undefined; + oidcTokenConfig?: GetProjectsOidcTokenConfig | undefined; + tier?: GetProjectsTier | undefined; +}; + +/** + * The paginated list of projects + */ +export type GetProjectsResponseBody = { + projects: Array; + /** + * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. + */ + pagination: Pagination; +}; + +/** @internal */ +export const GitForkProtection$inboundSchema: z.ZodNativeEnum< + typeof GitForkProtection +> = z.nativeEnum(GitForkProtection); + +/** @internal */ +export const GitForkProtection$outboundSchema: z.ZodNativeEnum< + typeof GitForkProtection +> = GitForkProtection$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitForkProtection$ { + /** @deprecated use `GitForkProtection$inboundSchema` instead. */ + export const inboundSchema = GitForkProtection$inboundSchema; + /** @deprecated use `GitForkProtection$outboundSchema` instead. */ + export const outboundSchema = GitForkProtection$outboundSchema; +} + +/** @internal */ +export const GetProjectsRequest$inboundSchema: z.ZodType< + GetProjectsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + from: z.string().optional(), + gitForkProtection: GitForkProtection$inboundSchema.optional(), + limit: z.string().optional(), + search: z.string().optional(), + repo: z.string().optional(), + repoId: z.string().optional(), + repoUrl: z.string().optional(), + excludeRepos: z.string().optional(), + edgeConfigId: z.string().optional(), + edgeConfigTokenId: z.string().optional(), + deprecated: z.boolean().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetProjectsRequest$Outbound = { + from?: string | undefined; + gitForkProtection?: string | undefined; + limit?: string | undefined; + search?: string | undefined; + repo?: string | undefined; + repoId?: string | undefined; + repoUrl?: string | undefined; + excludeRepos?: string | undefined; + edgeConfigId?: string | undefined; + edgeConfigTokenId?: string | undefined; + deprecated?: boolean | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetProjectsRequest$outboundSchema: z.ZodType< + GetProjectsRequest$Outbound, + z.ZodTypeDef, + GetProjectsRequest +> = z.object({ + from: z.string().optional(), + gitForkProtection: GitForkProtection$outboundSchema.optional(), + limit: z.string().optional(), + search: z.string().optional(), + repo: z.string().optional(), + repoId: z.string().optional(), + repoUrl: z.string().optional(), + excludeRepos: z.string().optional(), + edgeConfigId: z.string().optional(), + edgeConfigTokenId: z.string().optional(), + deprecated: z.boolean().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsRequest$ { + /** @deprecated use `GetProjectsRequest$inboundSchema` instead. */ + export const inboundSchema = GetProjectsRequest$inboundSchema; + /** @deprecated use `GetProjectsRequest$outboundSchema` instead. */ + export const outboundSchema = GetProjectsRequest$outboundSchema; + /** @deprecated use `GetProjectsRequest$Outbound` instead. */ + export type Outbound = GetProjectsRequest$Outbound; +} + +export function getProjectsRequestToJSON( + getProjectsRequest: GetProjectsRequest, +): string { + return JSON.stringify( + GetProjectsRequest$outboundSchema.parse(getProjectsRequest), + ); +} + +export function getProjectsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsRequest' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsAnalytics$inboundSchema: z.ZodType< + GetProjectsAnalytics, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + canceledAt: z.nullable(z.number()).optional(), + disabledAt: z.number(), + enabledAt: z.number(), + paidAt: z.number().optional(), + sampleRatePercent: z.nullable(z.number()).optional(), + spendLimitInDollars: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type GetProjectsAnalytics$Outbound = { + id: string; + canceledAt?: number | null | undefined; + disabledAt: number; + enabledAt: number; + paidAt?: number | undefined; + sampleRatePercent?: number | null | undefined; + spendLimitInDollars?: number | null | undefined; +}; + +/** @internal */ +export const GetProjectsAnalytics$outboundSchema: z.ZodType< + GetProjectsAnalytics$Outbound, + z.ZodTypeDef, + GetProjectsAnalytics +> = z.object({ + id: z.string(), + canceledAt: z.nullable(z.number()).optional(), + disabledAt: z.number(), + enabledAt: z.number(), + paidAt: z.number().optional(), + sampleRatePercent: z.nullable(z.number()).optional(), + spendLimitInDollars: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsAnalytics$ { + /** @deprecated use `GetProjectsAnalytics$inboundSchema` instead. */ + export const inboundSchema = GetProjectsAnalytics$inboundSchema; + /** @deprecated use `GetProjectsAnalytics$outboundSchema` instead. */ + export const outboundSchema = GetProjectsAnalytics$outboundSchema; + /** @deprecated use `GetProjectsAnalytics$Outbound` instead. */ + export type Outbound = GetProjectsAnalytics$Outbound; +} + +export function getProjectsAnalyticsToJSON( + getProjectsAnalytics: GetProjectsAnalytics, +): string { + return JSON.stringify( + GetProjectsAnalytics$outboundSchema.parse(getProjectsAnalytics), + ); +} + +export function getProjectsAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsAnalytics' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsSpeedInsights$inboundSchema: z.ZodType< + GetProjectsSpeedInsights, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + enabledAt: z.number().optional(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + hasData: z.boolean().optional(), + paidAt: z.number().optional(), +}); + +/** @internal */ +export type GetProjectsSpeedInsights$Outbound = { + id: string; + enabledAt?: number | undefined; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + hasData?: boolean | undefined; + paidAt?: number | undefined; +}; + +/** @internal */ +export const GetProjectsSpeedInsights$outboundSchema: z.ZodType< + GetProjectsSpeedInsights$Outbound, + z.ZodTypeDef, + GetProjectsSpeedInsights +> = z.object({ + id: z.string(), + enabledAt: z.number().optional(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + hasData: z.boolean().optional(), + paidAt: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsSpeedInsights$ { + /** @deprecated use `GetProjectsSpeedInsights$inboundSchema` instead. */ + export const inboundSchema = GetProjectsSpeedInsights$inboundSchema; + /** @deprecated use `GetProjectsSpeedInsights$outboundSchema` instead. */ + export const outboundSchema = GetProjectsSpeedInsights$outboundSchema; + /** @deprecated use `GetProjectsSpeedInsights$Outbound` instead. */ + export type Outbound = GetProjectsSpeedInsights$Outbound; +} + +export function getProjectsSpeedInsightsToJSON( + getProjectsSpeedInsights: GetProjectsSpeedInsights, +): string { + return JSON.stringify( + GetProjectsSpeedInsights$outboundSchema.parse(getProjectsSpeedInsights), + ); +} + +export function getProjectsSpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsSpeedInsights$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsSpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsDefinitions$inboundSchema: z.ZodType< + GetProjectsDefinitions, + z.ZodTypeDef, + unknown +> = z.object({ + host: z.string(), + path: z.string(), + schedule: z.string(), +}); + +/** @internal */ +export type GetProjectsDefinitions$Outbound = { + host: string; + path: string; + schedule: string; +}; + +/** @internal */ +export const GetProjectsDefinitions$outboundSchema: z.ZodType< + GetProjectsDefinitions$Outbound, + z.ZodTypeDef, + GetProjectsDefinitions +> = z.object({ + host: z.string(), + path: z.string(), + schedule: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsDefinitions$ { + /** @deprecated use `GetProjectsDefinitions$inboundSchema` instead. */ + export const inboundSchema = GetProjectsDefinitions$inboundSchema; + /** @deprecated use `GetProjectsDefinitions$outboundSchema` instead. */ + export const outboundSchema = GetProjectsDefinitions$outboundSchema; + /** @deprecated use `GetProjectsDefinitions$Outbound` instead. */ + export type Outbound = GetProjectsDefinitions$Outbound; +} + +export function getProjectsDefinitionsToJSON( + getProjectsDefinitions: GetProjectsDefinitions, +): string { + return JSON.stringify( + GetProjectsDefinitions$outboundSchema.parse(getProjectsDefinitions), + ); +} + +export function getProjectsDefinitionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsDefinitions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsDefinitions' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsCrons$inboundSchema: z.ZodType< + GetProjectsCrons, + z.ZodTypeDef, + unknown +> = z.object({ + enabledAt: z.number(), + disabledAt: z.nullable(z.number()), + updatedAt: z.number(), + deploymentId: z.nullable(z.string()), + definitions: z.array(z.lazy(() => GetProjectsDefinitions$inboundSchema)), +}); + +/** @internal */ +export type GetProjectsCrons$Outbound = { + enabledAt: number; + disabledAt: number | null; + updatedAt: number; + deploymentId: string | null; + definitions: Array; +}; + +/** @internal */ +export const GetProjectsCrons$outboundSchema: z.ZodType< + GetProjectsCrons$Outbound, + z.ZodTypeDef, + GetProjectsCrons +> = z.object({ + enabledAt: z.number(), + disabledAt: z.nullable(z.number()), + updatedAt: z.number(), + deploymentId: z.nullable(z.string()), + definitions: z.array(z.lazy(() => GetProjectsDefinitions$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsCrons$ { + /** @deprecated use `GetProjectsCrons$inboundSchema` instead. */ + export const inboundSchema = GetProjectsCrons$inboundSchema; + /** @deprecated use `GetProjectsCrons$outboundSchema` instead. */ + export const outboundSchema = GetProjectsCrons$outboundSchema; + /** @deprecated use `GetProjectsCrons$Outbound` instead. */ + export type Outbound = GetProjectsCrons$Outbound; +} + +export function getProjectsCronsToJSON( + getProjectsCrons: GetProjectsCrons, +): string { + return JSON.stringify( + GetProjectsCrons$outboundSchema.parse(getProjectsCrons), + ); +} + +export function getProjectsCronsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsCrons$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsCrons' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsDataCache$inboundSchema: z.ZodType< + GetProjectsDataCache, + z.ZodTypeDef, + unknown +> = z.object({ + userDisabled: z.boolean(), + storageSizeBytes: z.nullable(z.number()).optional(), + unlimited: z.boolean().optional(), +}); + +/** @internal */ +export type GetProjectsDataCache$Outbound = { + userDisabled: boolean; + storageSizeBytes?: number | null | undefined; + unlimited?: boolean | undefined; +}; + +/** @internal */ +export const GetProjectsDataCache$outboundSchema: z.ZodType< + GetProjectsDataCache$Outbound, + z.ZodTypeDef, + GetProjectsDataCache +> = z.object({ + userDisabled: z.boolean(), + storageSizeBytes: z.nullable(z.number()).optional(), + unlimited: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsDataCache$ { + /** @deprecated use `GetProjectsDataCache$inboundSchema` instead. */ + export const inboundSchema = GetProjectsDataCache$inboundSchema; + /** @deprecated use `GetProjectsDataCache$outboundSchema` instead. */ + export const outboundSchema = GetProjectsDataCache$outboundSchema; + /** @deprecated use `GetProjectsDataCache$Outbound` instead. */ + export type Outbound = GetProjectsDataCache$Outbound; +} + +export function getProjectsDataCacheToJSON( + getProjectsDataCache: GetProjectsDataCache, +): string { + return JSON.stringify( + GetProjectsDataCache$outboundSchema.parse(getProjectsDataCache), + ); +} + +export function getProjectsDataCacheFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsDataCache$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsDataCache' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsDeploymentExpiration$inboundSchema: z.ZodType< + GetProjectsDeploymentExpiration, + z.ZodTypeDef, + unknown +> = z.object({ + expirationDays: z.number().optional(), + expirationDaysProduction: z.number().optional(), + expirationDaysCanceled: z.number().optional(), + expirationDaysErrored: z.number().optional(), + deploymentsToKeep: z.number().optional(), +}); + +/** @internal */ +export type GetProjectsDeploymentExpiration$Outbound = { + expirationDays?: number | undefined; + expirationDaysProduction?: number | undefined; + expirationDaysCanceled?: number | undefined; + expirationDaysErrored?: number | undefined; + deploymentsToKeep?: number | undefined; +}; + +/** @internal */ +export const GetProjectsDeploymentExpiration$outboundSchema: z.ZodType< + GetProjectsDeploymentExpiration$Outbound, + z.ZodTypeDef, + GetProjectsDeploymentExpiration +> = z.object({ + expirationDays: z.number().optional(), + expirationDaysProduction: z.number().optional(), + expirationDaysCanceled: z.number().optional(), + expirationDaysErrored: z.number().optional(), + deploymentsToKeep: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsDeploymentExpiration$ { + /** @deprecated use `GetProjectsDeploymentExpiration$inboundSchema` instead. */ + export const inboundSchema = GetProjectsDeploymentExpiration$inboundSchema; + /** @deprecated use `GetProjectsDeploymentExpiration$outboundSchema` instead. */ + export const outboundSchema = GetProjectsDeploymentExpiration$outboundSchema; + /** @deprecated use `GetProjectsDeploymentExpiration$Outbound` instead. */ + export type Outbound = GetProjectsDeploymentExpiration$Outbound; +} + +export function getProjectsDeploymentExpirationToJSON( + getProjectsDeploymentExpiration: GetProjectsDeploymentExpiration, +): string { + return JSON.stringify( + GetProjectsDeploymentExpiration$outboundSchema.parse( + getProjectsDeploymentExpiration, + ), + ); +} + +export function getProjectsDeploymentExpirationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsDeploymentExpiration$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsDeploymentExpiration' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsTarget2$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsTarget2 +> = z.nativeEnum(GetProjectsTarget2); + +/** @internal */ +export const GetProjectsTarget2$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsTarget2 +> = GetProjectsTarget2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsTarget2$ { + /** @deprecated use `GetProjectsTarget2$inboundSchema` instead. */ + export const inboundSchema = GetProjectsTarget2$inboundSchema; + /** @deprecated use `GetProjectsTarget2$outboundSchema` instead. */ + export const outboundSchema = GetProjectsTarget2$outboundSchema; +} + +/** @internal */ +export const GetProjectsTarget1$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsTarget1 +> = z.nativeEnum(GetProjectsTarget1); + +/** @internal */ +export const GetProjectsTarget1$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsTarget1 +> = GetProjectsTarget1$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsTarget1$ { + /** @deprecated use `GetProjectsTarget1$inboundSchema` instead. */ + export const inboundSchema = GetProjectsTarget1$inboundSchema; + /** @deprecated use `GetProjectsTarget1$outboundSchema` instead. */ + export const outboundSchema = GetProjectsTarget1$outboundSchema; +} + +/** @internal */ +export const GetProjectsTarget$inboundSchema: z.ZodType< + GetProjectsTarget, + z.ZodTypeDef, + unknown +> = z.union([ + z.array(GetProjectsTarget1$inboundSchema), + GetProjectsTarget2$inboundSchema, +]); + +/** @internal */ +export type GetProjectsTarget$Outbound = Array | string; + +/** @internal */ +export const GetProjectsTarget$outboundSchema: z.ZodType< + GetProjectsTarget$Outbound, + z.ZodTypeDef, + GetProjectsTarget +> = z.union([ + z.array(GetProjectsTarget1$outboundSchema), + GetProjectsTarget2$outboundSchema, +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsTarget$ { + /** @deprecated use `GetProjectsTarget$inboundSchema` instead. */ + export const inboundSchema = GetProjectsTarget$inboundSchema; + /** @deprecated use `GetProjectsTarget$outboundSchema` instead. */ + export const outboundSchema = GetProjectsTarget$outboundSchema; + /** @deprecated use `GetProjectsTarget$Outbound` instead. */ + export type Outbound = GetProjectsTarget$Outbound; +} + +export function getProjectsTargetToJSON( + getProjectsTarget: GetProjectsTarget, +): string { + return JSON.stringify( + GetProjectsTarget$outboundSchema.parse(getProjectsTarget), + ); +} + +export function getProjectsTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsTarget' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsType$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsType +> = z.nativeEnum(GetProjectsType); + +/** @internal */ +export const GetProjectsType$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsType +> = GetProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsType$ { + /** @deprecated use `GetProjectsType$inboundSchema` instead. */ + export const inboundSchema = GetProjectsType$inboundSchema; + /** @deprecated use `GetProjectsType$outboundSchema` instead. */ + export const outboundSchema = GetProjectsType$outboundSchema; +} + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type + > = z.nativeEnum( + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type, + ); + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type + > = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$ { + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$inboundSchema; + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$outboundSchema; +} + +/** @internal */ +export const GetProjectsContentHint15$inboundSchema: z.ZodType< + GetProjectsContentHint15, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$inboundSchema, + projectId: z.string(), +}); + +/** @internal */ +export type GetProjectsContentHint15$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const GetProjectsContentHint15$outboundSchema: z.ZodType< + GetProjectsContentHint15$Outbound, + z.ZodTypeDef, + GetProjectsContentHint15 +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHint15$ { + /** @deprecated use `GetProjectsContentHint15$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHint15$inboundSchema; + /** @deprecated use `GetProjectsContentHint15$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHint15$outboundSchema; + /** @deprecated use `GetProjectsContentHint15$Outbound` instead. */ + export type Outbound = GetProjectsContentHint15$Outbound; +} + +export function getProjectsContentHint15ToJSON( + getProjectsContentHint15: GetProjectsContentHint15, +): string { + return JSON.stringify( + GetProjectsContentHint15$outboundSchema.parse(getProjectsContentHint15), + ); +} + +export function getProjectsContentHint15FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsContentHint15$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsContentHint15' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type + > = z.nativeEnum( + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type, + ); + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type + > = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$ { + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$inboundSchema; + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$outboundSchema; +} + +/** @internal */ +export const GetProjectsContentHint14$inboundSchema: z.ZodType< + GetProjectsContentHint14, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$inboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** @internal */ +export type GetProjectsContentHint14$Outbound = { + type: string; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const GetProjectsContentHint14$outboundSchema: z.ZodType< + GetProjectsContentHint14$Outbound, + z.ZodTypeDef, + GetProjectsContentHint14 +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$outboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHint14$ { + /** @deprecated use `GetProjectsContentHint14$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHint14$inboundSchema; + /** @deprecated use `GetProjectsContentHint14$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHint14$outboundSchema; + /** @deprecated use `GetProjectsContentHint14$Outbound` instead. */ + export type Outbound = GetProjectsContentHint14$Outbound; +} + +export function getProjectsContentHint14ToJSON( + getProjectsContentHint14: GetProjectsContentHint14, +): string { + return JSON.stringify( + GetProjectsContentHint14$outboundSchema.parse(getProjectsContentHint14), + ); +} + +export function getProjectsContentHint14FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsContentHint14$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsContentHint14' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type + > = z.nativeEnum( + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type, + ); + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type + > = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$ { + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$inboundSchema; + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$outboundSchema; +} + +/** @internal */ +export const GetProjectsContentHint13$inboundSchema: z.ZodType< + GetProjectsContentHint13, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectsContentHint13$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectsContentHint13$outboundSchema: z.ZodType< + GetProjectsContentHint13$Outbound, + z.ZodTypeDef, + GetProjectsContentHint13 +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHint13$ { + /** @deprecated use `GetProjectsContentHint13$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHint13$inboundSchema; + /** @deprecated use `GetProjectsContentHint13$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHint13$outboundSchema; + /** @deprecated use `GetProjectsContentHint13$Outbound` instead. */ + export type Outbound = GetProjectsContentHint13$Outbound; +} + +export function getProjectsContentHint13ToJSON( + getProjectsContentHint13: GetProjectsContentHint13, +): string { + return JSON.stringify( + GetProjectsContentHint13$outboundSchema.parse(getProjectsContentHint13), + ); +} + +export function getProjectsContentHint13FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsContentHint13$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsContentHint13' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type + > = z.nativeEnum( + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type, + ); + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type + > = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$ { + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$inboundSchema; + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$outboundSchema; +} + +/** @internal */ +export const GetProjectsContentHint12$inboundSchema: z.ZodType< + GetProjectsContentHint12, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectsContentHint12$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectsContentHint12$outboundSchema: z.ZodType< + GetProjectsContentHint12$Outbound, + z.ZodTypeDef, + GetProjectsContentHint12 +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHint12$ { + /** @deprecated use `GetProjectsContentHint12$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHint12$inboundSchema; + /** @deprecated use `GetProjectsContentHint12$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHint12$outboundSchema; + /** @deprecated use `GetProjectsContentHint12$Outbound` instead. */ + export type Outbound = GetProjectsContentHint12$Outbound; +} + +export function getProjectsContentHint12ToJSON( + getProjectsContentHint12: GetProjectsContentHint12, +): string { + return JSON.stringify( + GetProjectsContentHint12$outboundSchema.parse(getProjectsContentHint12), + ); +} + +export function getProjectsContentHint12FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsContentHint12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsContentHint12' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type + > = z.nativeEnum( + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type, + ); + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type + > = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$ { + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$inboundSchema; + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$outboundSchema; +} + +/** @internal */ +export const GetProjectsContentHint11$inboundSchema: z.ZodType< + GetProjectsContentHint11, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectsContentHint11$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectsContentHint11$outboundSchema: z.ZodType< + GetProjectsContentHint11$Outbound, + z.ZodTypeDef, + GetProjectsContentHint11 +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHint11$ { + /** @deprecated use `GetProjectsContentHint11$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHint11$inboundSchema; + /** @deprecated use `GetProjectsContentHint11$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHint11$outboundSchema; + /** @deprecated use `GetProjectsContentHint11$Outbound` instead. */ + export type Outbound = GetProjectsContentHint11$Outbound; +} + +export function getProjectsContentHint11ToJSON( + getProjectsContentHint11: GetProjectsContentHint11, +): string { + return JSON.stringify( + GetProjectsContentHint11$outboundSchema.parse(getProjectsContentHint11), + ); +} + +export function getProjectsContentHint11FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsContentHint11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsContentHint11' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type + > = z.nativeEnum( + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type, + ); + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type + > = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$ { + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$inboundSchema; + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$outboundSchema; +} + +/** @internal */ +export const GetProjectsContentHint10$inboundSchema: z.ZodType< + GetProjectsContentHint10, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectsContentHint10$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectsContentHint10$outboundSchema: z.ZodType< + GetProjectsContentHint10$Outbound, + z.ZodTypeDef, + GetProjectsContentHint10 +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHint10$ { + /** @deprecated use `GetProjectsContentHint10$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHint10$inboundSchema; + /** @deprecated use `GetProjectsContentHint10$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHint10$outboundSchema; + /** @deprecated use `GetProjectsContentHint10$Outbound` instead. */ + export type Outbound = GetProjectsContentHint10$Outbound; +} + +export function getProjectsContentHint10ToJSON( + getProjectsContentHint10: GetProjectsContentHint10, +): string { + return JSON.stringify( + GetProjectsContentHint10$outboundSchema.parse(getProjectsContentHint10), + ); +} + +export function getProjectsContentHint10FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsContentHint10$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsContentHint10' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type + > = z.nativeEnum( + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type, + ); + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type + > = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$ { + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$inboundSchema; + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$outboundSchema; +} + +/** @internal */ +export const GetProjectsContentHint9$inboundSchema: z.ZodType< + GetProjectsContentHint9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectsContentHint9$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectsContentHint9$outboundSchema: z.ZodType< + GetProjectsContentHint9$Outbound, + z.ZodTypeDef, + GetProjectsContentHint9 +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHint9$ { + /** @deprecated use `GetProjectsContentHint9$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHint9$inboundSchema; + /** @deprecated use `GetProjectsContentHint9$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHint9$outboundSchema; + /** @deprecated use `GetProjectsContentHint9$Outbound` instead. */ + export type Outbound = GetProjectsContentHint9$Outbound; +} + +export function getProjectsContentHint9ToJSON( + getProjectsContentHint9: GetProjectsContentHint9, +): string { + return JSON.stringify( + GetProjectsContentHint9$outboundSchema.parse(getProjectsContentHint9), + ); +} + +export function getProjectsContentHint9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsContentHint9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsContentHint9' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType + > = z.nativeEnum( + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType, + ); + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType + > = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$ { + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$inboundSchema; + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$outboundSchema; +} + +/** @internal */ +export const GetProjectsContentHint8$inboundSchema: z.ZodType< + GetProjectsContentHint8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectsContentHint8$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectsContentHint8$outboundSchema: z.ZodType< + GetProjectsContentHint8$Outbound, + z.ZodTypeDef, + GetProjectsContentHint8 +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHint8$ { + /** @deprecated use `GetProjectsContentHint8$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHint8$inboundSchema; + /** @deprecated use `GetProjectsContentHint8$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHint8$outboundSchema; + /** @deprecated use `GetProjectsContentHint8$Outbound` instead. */ + export type Outbound = GetProjectsContentHint8$Outbound; +} + +export function getProjectsContentHint8ToJSON( + getProjectsContentHint8: GetProjectsContentHint8, +): string { + return JSON.stringify( + GetProjectsContentHint8$outboundSchema.parse(getProjectsContentHint8), + ); +} + +export function getProjectsContentHint8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsContentHint8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsContentHint8' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType + > = z.nativeEnum( + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType, + ); + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType + > = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$ { + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema; + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema; +} + +/** @internal */ +export const GetProjectsContentHint7$inboundSchema: z.ZodType< + GetProjectsContentHint7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectsContentHint7$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectsContentHint7$outboundSchema: z.ZodType< + GetProjectsContentHint7$Outbound, + z.ZodTypeDef, + GetProjectsContentHint7 +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHint7$ { + /** @deprecated use `GetProjectsContentHint7$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHint7$inboundSchema; + /** @deprecated use `GetProjectsContentHint7$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHint7$outboundSchema; + /** @deprecated use `GetProjectsContentHint7$Outbound` instead. */ + export type Outbound = GetProjectsContentHint7$Outbound; +} + +export function getProjectsContentHint7ToJSON( + getProjectsContentHint7: GetProjectsContentHint7, +): string { + return JSON.stringify( + GetProjectsContentHint7$outboundSchema.parse(getProjectsContentHint7), + ); +} + +export function getProjectsContentHint7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsContentHint7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsContentHint7' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType, + ); + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType + > = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$ { + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; +} + +/** @internal */ +export const GetProjectsContentHint6$inboundSchema: z.ZodType< + GetProjectsContentHint6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectsContentHint6$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectsContentHint6$outboundSchema: z.ZodType< + GetProjectsContentHint6$Outbound, + z.ZodTypeDef, + GetProjectsContentHint6 +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHint6$ { + /** @deprecated use `GetProjectsContentHint6$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHint6$inboundSchema; + /** @deprecated use `GetProjectsContentHint6$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHint6$outboundSchema; + /** @deprecated use `GetProjectsContentHint6$Outbound` instead. */ + export type Outbound = GetProjectsContentHint6$Outbound; +} + +export function getProjectsContentHint6ToJSON( + getProjectsContentHint6: GetProjectsContentHint6, +): string { + return JSON.stringify( + GetProjectsContentHint6$outboundSchema.parse(getProjectsContentHint6), + ); +} + +export function getProjectsContentHint6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsContentHint6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsContentHint6' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONType + > = z.nativeEnum( + GetProjectsContentHintProjectsResponse200ApplicationJSONType, + ); + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsResponse200ApplicationJSONType + > = + GetProjectsContentHintProjectsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONType$ { + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsContentHintProjectsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const GetProjectsContentHint5$inboundSchema: z.ZodType< + GetProjectsContentHint5, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectsContentHint5$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectsContentHint5$outboundSchema: z.ZodType< + GetProjectsContentHint5$Outbound, + z.ZodTypeDef, + GetProjectsContentHint5 +> = z.object({ + type: + GetProjectsContentHintProjectsResponse200ApplicationJSONType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHint5$ { + /** @deprecated use `GetProjectsContentHint5$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHint5$inboundSchema; + /** @deprecated use `GetProjectsContentHint5$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHint5$outboundSchema; + /** @deprecated use `GetProjectsContentHint5$Outbound` instead. */ + export type Outbound = GetProjectsContentHint5$Outbound; +} + +export function getProjectsContentHint5ToJSON( + getProjectsContentHint5: GetProjectsContentHint5, +): string { + return JSON.stringify( + GetProjectsContentHint5$outboundSchema.parse(getProjectsContentHint5), + ); +} + +export function getProjectsContentHint5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsContentHint5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsContentHint5' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200Type$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetProjectsContentHintProjectsResponse200Type); + +/** @internal */ +export const GetProjectsContentHintProjectsResponse200Type$outboundSchema: + z.ZodNativeEnum = + GetProjectsContentHintProjectsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHintProjectsResponse200Type$ { + /** @deprecated use `GetProjectsContentHintProjectsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsContentHintProjectsResponse200Type$inboundSchema; + /** @deprecated use `GetProjectsContentHintProjectsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsContentHintProjectsResponse200Type$outboundSchema; +} + +/** @internal */ +export const GetProjectsContentHint4$inboundSchema: z.ZodType< + GetProjectsContentHint4, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetProjectsContentHintProjectsResponse200Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectsContentHint4$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectsContentHint4$outboundSchema: z.ZodType< + GetProjectsContentHint4$Outbound, + z.ZodTypeDef, + GetProjectsContentHint4 +> = z.object({ + type: GetProjectsContentHintProjectsResponse200Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHint4$ { + /** @deprecated use `GetProjectsContentHint4$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHint4$inboundSchema; + /** @deprecated use `GetProjectsContentHint4$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHint4$outboundSchema; + /** @deprecated use `GetProjectsContentHint4$Outbound` instead. */ + export type Outbound = GetProjectsContentHint4$Outbound; +} + +export function getProjectsContentHint4ToJSON( + getProjectsContentHint4: GetProjectsContentHint4, +): string { + return JSON.stringify( + GetProjectsContentHint4$outboundSchema.parse(getProjectsContentHint4), + ); +} + +export function getProjectsContentHint4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsContentHint4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsContentHint4' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsContentHintProjectsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetProjectsContentHintProjectsResponseType); + +/** @internal */ +export const GetProjectsContentHintProjectsResponseType$outboundSchema: + z.ZodNativeEnum = + GetProjectsContentHintProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHintProjectsResponseType$ { + /** @deprecated use `GetProjectsContentHintProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsContentHintProjectsResponseType$inboundSchema; + /** @deprecated use `GetProjectsContentHintProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsContentHintProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const GetProjectsContentHint3$inboundSchema: z.ZodType< + GetProjectsContentHint3, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetProjectsContentHintProjectsResponseType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectsContentHint3$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectsContentHint3$outboundSchema: z.ZodType< + GetProjectsContentHint3$Outbound, + z.ZodTypeDef, + GetProjectsContentHint3 +> = z.object({ + type: GetProjectsContentHintProjectsResponseType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHint3$ { + /** @deprecated use `GetProjectsContentHint3$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHint3$inboundSchema; + /** @deprecated use `GetProjectsContentHint3$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHint3$outboundSchema; + /** @deprecated use `GetProjectsContentHint3$Outbound` instead. */ + export type Outbound = GetProjectsContentHint3$Outbound; +} + +export function getProjectsContentHint3ToJSON( + getProjectsContentHint3: GetProjectsContentHint3, +): string { + return JSON.stringify( + GetProjectsContentHint3$outboundSchema.parse(getProjectsContentHint3), + ); +} + +export function getProjectsContentHint3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsContentHint3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsContentHint3' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsContentHintProjectsType$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsType +> = z.nativeEnum(GetProjectsContentHintProjectsType); + +/** @internal */ +export const GetProjectsContentHintProjectsType$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsContentHintProjectsType +> = GetProjectsContentHintProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHintProjectsType$ { + /** @deprecated use `GetProjectsContentHintProjectsType$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHintProjectsType$inboundSchema; + /** @deprecated use `GetProjectsContentHintProjectsType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsContentHintProjectsType$outboundSchema; +} + +/** @internal */ +export const GetProjectsContentHint2$inboundSchema: z.ZodType< + GetProjectsContentHint2, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetProjectsContentHintProjectsType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectsContentHint2$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectsContentHint2$outboundSchema: z.ZodType< + GetProjectsContentHint2$Outbound, + z.ZodTypeDef, + GetProjectsContentHint2 +> = z.object({ + type: GetProjectsContentHintProjectsType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHint2$ { + /** @deprecated use `GetProjectsContentHint2$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHint2$inboundSchema; + /** @deprecated use `GetProjectsContentHint2$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHint2$outboundSchema; + /** @deprecated use `GetProjectsContentHint2$Outbound` instead. */ + export type Outbound = GetProjectsContentHint2$Outbound; +} + +export function getProjectsContentHint2ToJSON( + getProjectsContentHint2: GetProjectsContentHint2, +): string { + return JSON.stringify( + GetProjectsContentHint2$outboundSchema.parse(getProjectsContentHint2), + ); +} + +export function getProjectsContentHint2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsContentHint2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsContentHint2' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsContentHintType$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsContentHintType +> = z.nativeEnum(GetProjectsContentHintType); + +/** @internal */ +export const GetProjectsContentHintType$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsContentHintType +> = GetProjectsContentHintType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHintType$ { + /** @deprecated use `GetProjectsContentHintType$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHintType$inboundSchema; + /** @deprecated use `GetProjectsContentHintType$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHintType$outboundSchema; +} + +/** @internal */ +export const GetProjectsContentHint1$inboundSchema: z.ZodType< + GetProjectsContentHint1, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetProjectsContentHintType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type GetProjectsContentHint1$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const GetProjectsContentHint1$outboundSchema: z.ZodType< + GetProjectsContentHint1$Outbound, + z.ZodTypeDef, + GetProjectsContentHint1 +> = z.object({ + type: GetProjectsContentHintType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHint1$ { + /** @deprecated use `GetProjectsContentHint1$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHint1$inboundSchema; + /** @deprecated use `GetProjectsContentHint1$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHint1$outboundSchema; + /** @deprecated use `GetProjectsContentHint1$Outbound` instead. */ + export type Outbound = GetProjectsContentHint1$Outbound; +} + +export function getProjectsContentHint1ToJSON( + getProjectsContentHint1: GetProjectsContentHint1, +): string { + return JSON.stringify( + GetProjectsContentHint1$outboundSchema.parse(getProjectsContentHint1), + ); +} + +export function getProjectsContentHint1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsContentHint1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsContentHint1' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsContentHint$inboundSchema: z.ZodType< + GetProjectsContentHint, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetProjectsContentHint1$inboundSchema), + z.lazy(() => GetProjectsContentHint2$inboundSchema), + z.lazy(() => GetProjectsContentHint3$inboundSchema), + z.lazy(() => GetProjectsContentHint4$inboundSchema), + z.lazy(() => GetProjectsContentHint5$inboundSchema), + z.lazy(() => GetProjectsContentHint6$inboundSchema), + z.lazy(() => GetProjectsContentHint7$inboundSchema), + z.lazy(() => GetProjectsContentHint8$inboundSchema), + z.lazy(() => GetProjectsContentHint9$inboundSchema), + z.lazy(() => GetProjectsContentHint10$inboundSchema), + z.lazy(() => GetProjectsContentHint11$inboundSchema), + z.lazy(() => GetProjectsContentHint12$inboundSchema), + z.lazy(() => GetProjectsContentHint13$inboundSchema), + z.lazy(() => GetProjectsContentHint15$inboundSchema), + z.lazy(() => GetProjectsContentHint14$inboundSchema), +]); + +/** @internal */ +export type GetProjectsContentHint$Outbound = + | GetProjectsContentHint1$Outbound + | GetProjectsContentHint2$Outbound + | GetProjectsContentHint3$Outbound + | GetProjectsContentHint4$Outbound + | GetProjectsContentHint5$Outbound + | GetProjectsContentHint6$Outbound + | GetProjectsContentHint7$Outbound + | GetProjectsContentHint8$Outbound + | GetProjectsContentHint9$Outbound + | GetProjectsContentHint10$Outbound + | GetProjectsContentHint11$Outbound + | GetProjectsContentHint12$Outbound + | GetProjectsContentHint13$Outbound + | GetProjectsContentHint15$Outbound + | GetProjectsContentHint14$Outbound; + +/** @internal */ +export const GetProjectsContentHint$outboundSchema: z.ZodType< + GetProjectsContentHint$Outbound, + z.ZodTypeDef, + GetProjectsContentHint +> = z.union([ + z.lazy(() => GetProjectsContentHint1$outboundSchema), + z.lazy(() => GetProjectsContentHint2$outboundSchema), + z.lazy(() => GetProjectsContentHint3$outboundSchema), + z.lazy(() => GetProjectsContentHint4$outboundSchema), + z.lazy(() => GetProjectsContentHint5$outboundSchema), + z.lazy(() => GetProjectsContentHint6$outboundSchema), + z.lazy(() => GetProjectsContentHint7$outboundSchema), + z.lazy(() => GetProjectsContentHint8$outboundSchema), + z.lazy(() => GetProjectsContentHint9$outboundSchema), + z.lazy(() => GetProjectsContentHint10$outboundSchema), + z.lazy(() => GetProjectsContentHint11$outboundSchema), + z.lazy(() => GetProjectsContentHint12$outboundSchema), + z.lazy(() => GetProjectsContentHint13$outboundSchema), + z.lazy(() => GetProjectsContentHint15$outboundSchema), + z.lazy(() => GetProjectsContentHint14$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsContentHint$ { + /** @deprecated use `GetProjectsContentHint$inboundSchema` instead. */ + export const inboundSchema = GetProjectsContentHint$inboundSchema; + /** @deprecated use `GetProjectsContentHint$outboundSchema` instead. */ + export const outboundSchema = GetProjectsContentHint$outboundSchema; + /** @deprecated use `GetProjectsContentHint$Outbound` instead. */ + export type Outbound = GetProjectsContentHint$Outbound; +} + +export function getProjectsContentHintToJSON( + getProjectsContentHint: GetProjectsContentHint, +): string { + return JSON.stringify( + GetProjectsContentHint$outboundSchema.parse(getProjectsContentHint), + ); +} + +export function getProjectsContentHintFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsContentHint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsContentHint' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType + > = z.nativeEnum( + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType, + ); + +/** @internal */ +export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType + > = + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$ { + /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema; + /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema; +} + +/** @internal */ +export const GetProjectsInternalContentHint$inboundSchema: z.ZodType< + GetProjectsInternalContentHint, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema, + encryptedValue: z.string(), +}); + +/** @internal */ +export type GetProjectsInternalContentHint$Outbound = { + type: string; + encryptedValue: string; +}; + +/** @internal */ +export const GetProjectsInternalContentHint$outboundSchema: z.ZodType< + GetProjectsInternalContentHint$Outbound, + z.ZodTypeDef, + GetProjectsInternalContentHint +> = z.object({ + type: + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema, + encryptedValue: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsInternalContentHint$ { + /** @deprecated use `GetProjectsInternalContentHint$inboundSchema` instead. */ + export const inboundSchema = GetProjectsInternalContentHint$inboundSchema; + /** @deprecated use `GetProjectsInternalContentHint$outboundSchema` instead. */ + export const outboundSchema = GetProjectsInternalContentHint$outboundSchema; + /** @deprecated use `GetProjectsInternalContentHint$Outbound` instead. */ + export type Outbound = GetProjectsInternalContentHint$Outbound; +} + +export function getProjectsInternalContentHintToJSON( + getProjectsInternalContentHint: GetProjectsInternalContentHint, +): string { + return JSON.stringify( + GetProjectsInternalContentHint$outboundSchema.parse( + getProjectsInternalContentHint, + ), + ); +} + +export function getProjectsInternalContentHintFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsInternalContentHint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsInternalContentHint' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsEnv$inboundSchema: z.ZodType< + GetProjectsEnv, + z.ZodTypeDef, + unknown +> = z.object({ + target: z.union([ + z.array(GetProjectsTarget1$inboundSchema), + GetProjectsTarget2$inboundSchema, + ]).optional(), + type: GetProjectsType$inboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => GetProjectsContentHint1$inboundSchema), + z.lazy(() => GetProjectsContentHint2$inboundSchema), + z.lazy(() => GetProjectsContentHint3$inboundSchema), + z.lazy(() => GetProjectsContentHint4$inboundSchema), + z.lazy(() => GetProjectsContentHint5$inboundSchema), + z.lazy(() => GetProjectsContentHint6$inboundSchema), + z.lazy(() => GetProjectsContentHint7$inboundSchema), + z.lazy(() => GetProjectsContentHint8$inboundSchema), + z.lazy(() => GetProjectsContentHint9$inboundSchema), + z.lazy(() => GetProjectsContentHint10$inboundSchema), + z.lazy(() => GetProjectsContentHint11$inboundSchema), + z.lazy(() => GetProjectsContentHint12$inboundSchema), + z.lazy(() => GetProjectsContentHint13$inboundSchema), + z.lazy(() => GetProjectsContentHint15$inboundSchema), + z.lazy(() => GetProjectsContentHint14$inboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => GetProjectsInternalContentHint$inboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), +}); + +/** @internal */ +export type GetProjectsEnv$Outbound = { + target?: Array | string | undefined; + type: string; + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | GetProjectsContentHint1$Outbound + | GetProjectsContentHint2$Outbound + | GetProjectsContentHint3$Outbound + | GetProjectsContentHint4$Outbound + | GetProjectsContentHint5$Outbound + | GetProjectsContentHint6$Outbound + | GetProjectsContentHint7$Outbound + | GetProjectsContentHint8$Outbound + | GetProjectsContentHint9$Outbound + | GetProjectsContentHint10$Outbound + | GetProjectsContentHint11$Outbound + | GetProjectsContentHint12$Outbound + | GetProjectsContentHint13$Outbound + | GetProjectsContentHint15$Outbound + | GetProjectsContentHint14$Outbound + | null + | undefined; + internalContentHint?: + | GetProjectsInternalContentHint$Outbound + | null + | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +/** @internal */ +export const GetProjectsEnv$outboundSchema: z.ZodType< + GetProjectsEnv$Outbound, + z.ZodTypeDef, + GetProjectsEnv +> = z.object({ + target: z.union([ + z.array(GetProjectsTarget1$outboundSchema), + GetProjectsTarget2$outboundSchema, + ]).optional(), + type: GetProjectsType$outboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => GetProjectsContentHint1$outboundSchema), + z.lazy(() => GetProjectsContentHint2$outboundSchema), + z.lazy(() => GetProjectsContentHint3$outboundSchema), + z.lazy(() => GetProjectsContentHint4$outboundSchema), + z.lazy(() => GetProjectsContentHint5$outboundSchema), + z.lazy(() => GetProjectsContentHint6$outboundSchema), + z.lazy(() => GetProjectsContentHint7$outboundSchema), + z.lazy(() => GetProjectsContentHint8$outboundSchema), + z.lazy(() => GetProjectsContentHint9$outboundSchema), + z.lazy(() => GetProjectsContentHint10$outboundSchema), + z.lazy(() => GetProjectsContentHint11$outboundSchema), + z.lazy(() => GetProjectsContentHint12$outboundSchema), + z.lazy(() => GetProjectsContentHint13$outboundSchema), + z.lazy(() => GetProjectsContentHint15$outboundSchema), + z.lazy(() => GetProjectsContentHint14$outboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => GetProjectsInternalContentHint$outboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsEnv$ { + /** @deprecated use `GetProjectsEnv$inboundSchema` instead. */ + export const inboundSchema = GetProjectsEnv$inboundSchema; + /** @deprecated use `GetProjectsEnv$outboundSchema` instead. */ + export const outboundSchema = GetProjectsEnv$outboundSchema; + /** @deprecated use `GetProjectsEnv$Outbound` instead. */ + export type Outbound = GetProjectsEnv$Outbound; +} + +export function getProjectsEnvToJSON(getProjectsEnv: GetProjectsEnv): string { + return JSON.stringify(GetProjectsEnv$outboundSchema.parse(getProjectsEnv)); +} + +export function getProjectsEnvFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsEnv$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsEnv' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsCustomEnvironments$inboundSchema: z.ZodType< + GetProjectsCustomEnvironments, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type GetProjectsCustomEnvironments$Outbound = {}; + +/** @internal */ +export const GetProjectsCustomEnvironments$outboundSchema: z.ZodType< + GetProjectsCustomEnvironments$Outbound, + z.ZodTypeDef, + GetProjectsCustomEnvironments +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsCustomEnvironments$ { + /** @deprecated use `GetProjectsCustomEnvironments$inboundSchema` instead. */ + export const inboundSchema = GetProjectsCustomEnvironments$inboundSchema; + /** @deprecated use `GetProjectsCustomEnvironments$outboundSchema` instead. */ + export const outboundSchema = GetProjectsCustomEnvironments$outboundSchema; + /** @deprecated use `GetProjectsCustomEnvironments$Outbound` instead. */ + export type Outbound = GetProjectsCustomEnvironments$Outbound; +} + +export function getProjectsCustomEnvironmentsToJSON( + getProjectsCustomEnvironments: GetProjectsCustomEnvironments, +): string { + return JSON.stringify( + GetProjectsCustomEnvironments$outboundSchema.parse( + getProjectsCustomEnvironments, + ), + ); +} + +export function getProjectsCustomEnvironmentsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsCustomEnvironments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsCustomEnvironments' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsFramework$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsFramework +> = z.nativeEnum(GetProjectsFramework); + +/** @internal */ +export const GetProjectsFramework$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsFramework +> = GetProjectsFramework$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsFramework$ { + /** @deprecated use `GetProjectsFramework$inboundSchema` instead. */ + export const inboundSchema = GetProjectsFramework$inboundSchema; + /** @deprecated use `GetProjectsFramework$outboundSchema` instead. */ + export const outboundSchema = GetProjectsFramework$outboundSchema; +} + +/** @internal */ +export const GetProjectsIpBuckets$inboundSchema: z.ZodType< + GetProjectsIpBuckets, + z.ZodTypeDef, + unknown +> = z.object({ + bucket: z.string(), + supportUntil: z.number().optional(), +}); + +/** @internal */ +export type GetProjectsIpBuckets$Outbound = { + bucket: string; + supportUntil?: number | undefined; +}; + +/** @internal */ +export const GetProjectsIpBuckets$outboundSchema: z.ZodType< + GetProjectsIpBuckets$Outbound, + z.ZodTypeDef, + GetProjectsIpBuckets +> = z.object({ + bucket: z.string(), + supportUntil: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsIpBuckets$ { + /** @deprecated use `GetProjectsIpBuckets$inboundSchema` instead. */ + export const inboundSchema = GetProjectsIpBuckets$inboundSchema; + /** @deprecated use `GetProjectsIpBuckets$outboundSchema` instead. */ + export const outboundSchema = GetProjectsIpBuckets$outboundSchema; + /** @deprecated use `GetProjectsIpBuckets$Outbound` instead. */ + export type Outbound = GetProjectsIpBuckets$Outbound; +} + +export function getProjectsIpBucketsToJSON( + getProjectsIpBuckets: GetProjectsIpBuckets, +): string { + return JSON.stringify( + GetProjectsIpBuckets$outboundSchema.parse(getProjectsIpBuckets), + ); +} + +export function getProjectsIpBucketsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsIpBuckets$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsIpBuckets' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsAliasAssigned$inboundSchema: z.ZodType< + GetProjectsAliasAssigned, + z.ZodTypeDef, + unknown +> = z.union([z.number(), z.boolean()]); + +/** @internal */ +export type GetProjectsAliasAssigned$Outbound = number | boolean; + +/** @internal */ +export const GetProjectsAliasAssigned$outboundSchema: z.ZodType< + GetProjectsAliasAssigned$Outbound, + z.ZodTypeDef, + GetProjectsAliasAssigned +> = z.union([z.number(), z.boolean()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsAliasAssigned$ { + /** @deprecated use `GetProjectsAliasAssigned$inboundSchema` instead. */ + export const inboundSchema = GetProjectsAliasAssigned$inboundSchema; + /** @deprecated use `GetProjectsAliasAssigned$outboundSchema` instead. */ + export const outboundSchema = GetProjectsAliasAssigned$outboundSchema; + /** @deprecated use `GetProjectsAliasAssigned$Outbound` instead. */ + export type Outbound = GetProjectsAliasAssigned$Outbound; +} + +export function getProjectsAliasAssignedToJSON( + getProjectsAliasAssigned: GetProjectsAliasAssigned, +): string { + return JSON.stringify( + GetProjectsAliasAssigned$outboundSchema.parse(getProjectsAliasAssigned), + ); +} + +export function getProjectsAliasAssignedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsAliasAssigned$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsAliasAssigned' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsAliasError$inboundSchema: z.ZodType< + GetProjectsAliasError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** @internal */ +export type GetProjectsAliasError$Outbound = { + code: string; + message: string; +}; + +/** @internal */ +export const GetProjectsAliasError$outboundSchema: z.ZodType< + GetProjectsAliasError$Outbound, + z.ZodTypeDef, + GetProjectsAliasError +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsAliasError$ { + /** @deprecated use `GetProjectsAliasError$inboundSchema` instead. */ + export const inboundSchema = GetProjectsAliasError$inboundSchema; + /** @deprecated use `GetProjectsAliasError$outboundSchema` instead. */ + export const outboundSchema = GetProjectsAliasError$outboundSchema; + /** @deprecated use `GetProjectsAliasError$Outbound` instead. */ + export type Outbound = GetProjectsAliasError$Outbound; +} + +export function getProjectsAliasErrorToJSON( + getProjectsAliasError: GetProjectsAliasError, +): string { + return JSON.stringify( + GetProjectsAliasError$outboundSchema.parse(getProjectsAliasError), + ); +} + +export function getProjectsAliasErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsAliasError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsAliasError' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + GetProjectsProjectsResponse200ApplicationJSONResponseBodyType, + ); + +/** @internal */ +export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType + > = + GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$ { + /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; +} + +/** @internal */ +export const GetProjectsBranchMatcher$inboundSchema: z.ZodType< + GetProjectsBranchMatcher, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + pattern: z.string(), +}); + +/** @internal */ +export type GetProjectsBranchMatcher$Outbound = { + type: string; + pattern: string; +}; + +/** @internal */ +export const GetProjectsBranchMatcher$outboundSchema: z.ZodType< + GetProjectsBranchMatcher$Outbound, + z.ZodTypeDef, + GetProjectsBranchMatcher +> = z.object({ + type: + GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, + pattern: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsBranchMatcher$ { + /** @deprecated use `GetProjectsBranchMatcher$inboundSchema` instead. */ + export const inboundSchema = GetProjectsBranchMatcher$inboundSchema; + /** @deprecated use `GetProjectsBranchMatcher$outboundSchema` instead. */ + export const outboundSchema = GetProjectsBranchMatcher$outboundSchema; + /** @deprecated use `GetProjectsBranchMatcher$Outbound` instead. */ + export type Outbound = GetProjectsBranchMatcher$Outbound; +} + +export function getProjectsBranchMatcherToJSON( + getProjectsBranchMatcher: GetProjectsBranchMatcher, +): string { + return JSON.stringify( + GetProjectsBranchMatcher$outboundSchema.parse(getProjectsBranchMatcher), + ); +} + +export function getProjectsBranchMatcherFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsBranchMatcher' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsBuilds$inboundSchema: z.ZodType< + GetProjectsBuilds, + z.ZodTypeDef, + unknown +> = z.object({ + use: z.string(), + src: z.string().optional(), + dest: z.string().optional(), +}); + +/** @internal */ +export type GetProjectsBuilds$Outbound = { + use: string; + src?: string | undefined; + dest?: string | undefined; +}; + +/** @internal */ +export const GetProjectsBuilds$outboundSchema: z.ZodType< + GetProjectsBuilds$Outbound, + z.ZodTypeDef, + GetProjectsBuilds +> = z.object({ + use: z.string(), + src: z.string().optional(), + dest: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsBuilds$ { + /** @deprecated use `GetProjectsBuilds$inboundSchema` instead. */ + export const inboundSchema = GetProjectsBuilds$inboundSchema; + /** @deprecated use `GetProjectsBuilds$outboundSchema` instead. */ + export const outboundSchema = GetProjectsBuilds$outboundSchema; + /** @deprecated use `GetProjectsBuilds$Outbound` instead. */ + export type Outbound = GetProjectsBuilds$Outbound; +} + +export function getProjectsBuildsToJSON( + getProjectsBuilds: GetProjectsBuilds, +): string { + return JSON.stringify( + GetProjectsBuilds$outboundSchema.parse(getProjectsBuilds), + ); +} + +export function getProjectsBuildsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsBuilds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsBuilds' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsChecksConclusion$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsChecksConclusion +> = z.nativeEnum(GetProjectsChecksConclusion); + +/** @internal */ +export const GetProjectsChecksConclusion$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsChecksConclusion +> = GetProjectsChecksConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsChecksConclusion$ { + /** @deprecated use `GetProjectsChecksConclusion$inboundSchema` instead. */ + export const inboundSchema = GetProjectsChecksConclusion$inboundSchema; + /** @deprecated use `GetProjectsChecksConclusion$outboundSchema` instead. */ + export const outboundSchema = GetProjectsChecksConclusion$outboundSchema; +} + +/** @internal */ +export const GetProjectsChecksState$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsChecksState +> = z.nativeEnum(GetProjectsChecksState); + +/** @internal */ +export const GetProjectsChecksState$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsChecksState +> = GetProjectsChecksState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsChecksState$ { + /** @deprecated use `GetProjectsChecksState$inboundSchema` instead. */ + export const inboundSchema = GetProjectsChecksState$inboundSchema; + /** @deprecated use `GetProjectsChecksState$outboundSchema` instead. */ + export const outboundSchema = GetProjectsChecksState$outboundSchema; +} + +/** @internal */ +export const GetProjectsCreator$inboundSchema: z.ZodType< + GetProjectsCreator, + z.ZodTypeDef, + unknown +> = z.object({ + email: z.string(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), + uid: z.string(), + username: z.string(), +}); + +/** @internal */ +export type GetProjectsCreator$Outbound = { + email: string; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; + uid: string; + username: string; +}; + +/** @internal */ +export const GetProjectsCreator$outboundSchema: z.ZodType< + GetProjectsCreator$Outbound, + z.ZodTypeDef, + GetProjectsCreator +> = z.object({ + email: z.string(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), + uid: z.string(), + username: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsCreator$ { + /** @deprecated use `GetProjectsCreator$inboundSchema` instead. */ + export const inboundSchema = GetProjectsCreator$inboundSchema; + /** @deprecated use `GetProjectsCreator$outboundSchema` instead. */ + export const outboundSchema = GetProjectsCreator$outboundSchema; + /** @deprecated use `GetProjectsCreator$Outbound` instead. */ + export type Outbound = GetProjectsCreator$Outbound; +} + +export function getProjectsCreatorToJSON( + getProjectsCreator: GetProjectsCreator, +): string { + return JSON.stringify( + GetProjectsCreator$outboundSchema.parse(getProjectsCreator), + ); +} + +export function getProjectsCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsCreator' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsOidcTokenClaims$inboundSchema: z.ZodType< + GetProjectsOidcTokenClaims, + z.ZodTypeDef, + unknown +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + owner_id: z.string(), + project: z.string(), + project_id: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + "owner_id": "ownerId", + "project_id": "projectId", + }); +}); + +/** @internal */ +export type GetProjectsOidcTokenClaims$Outbound = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + owner_id: string; + project: string; + project_id: string; + environment: string; +}; + +/** @internal */ +export const GetProjectsOidcTokenClaims$outboundSchema: z.ZodType< + GetProjectsOidcTokenClaims$Outbound, + z.ZodTypeDef, + GetProjectsOidcTokenClaims +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + ownerId: z.string(), + project: z.string(), + projectId: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + ownerId: "owner_id", + projectId: "project_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsOidcTokenClaims$ { + /** @deprecated use `GetProjectsOidcTokenClaims$inboundSchema` instead. */ + export const inboundSchema = GetProjectsOidcTokenClaims$inboundSchema; + /** @deprecated use `GetProjectsOidcTokenClaims$outboundSchema` instead. */ + export const outboundSchema = GetProjectsOidcTokenClaims$outboundSchema; + /** @deprecated use `GetProjectsOidcTokenClaims$Outbound` instead. */ + export type Outbound = GetProjectsOidcTokenClaims$Outbound; +} + +export function getProjectsOidcTokenClaimsToJSON( + getProjectsOidcTokenClaims: GetProjectsOidcTokenClaims, +): string { + return JSON.stringify( + GetProjectsOidcTokenClaims$outboundSchema.parse(getProjectsOidcTokenClaims), + ); +} + +export function getProjectsOidcTokenClaimsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsOidcTokenClaims' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsPlan$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsPlan +> = z.nativeEnum(GetProjectsPlan); + +/** @internal */ +export const GetProjectsPlan$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsPlan +> = GetProjectsPlan$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsPlan$ { + /** @deprecated use `GetProjectsPlan$inboundSchema` instead. */ + export const inboundSchema = GetProjectsPlan$inboundSchema; + /** @deprecated use `GetProjectsPlan$outboundSchema` instead. */ + export const outboundSchema = GetProjectsPlan$outboundSchema; +} + +/** @internal */ +export const GetProjectsReadyState$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsReadyState +> = z.nativeEnum(GetProjectsReadyState); + +/** @internal */ +export const GetProjectsReadyState$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsReadyState +> = GetProjectsReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsReadyState$ { + /** @deprecated use `GetProjectsReadyState$inboundSchema` instead. */ + export const inboundSchema = GetProjectsReadyState$inboundSchema; + /** @deprecated use `GetProjectsReadyState$outboundSchema` instead. */ + export const outboundSchema = GetProjectsReadyState$outboundSchema; +} + +/** @internal */ +export const GetProjectsReadySubstate$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsReadySubstate +> = z.nativeEnum(GetProjectsReadySubstate); + +/** @internal */ +export const GetProjectsReadySubstate$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsReadySubstate +> = GetProjectsReadySubstate$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsReadySubstate$ { + /** @deprecated use `GetProjectsReadySubstate$inboundSchema` instead. */ + export const inboundSchema = GetProjectsReadySubstate$inboundSchema; + /** @deprecated use `GetProjectsReadySubstate$outboundSchema` instead. */ + export const outboundSchema = GetProjectsReadySubstate$outboundSchema; +} + +/** @internal */ +export const GetProjectsProjectsType$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsType +> = z.nativeEnum(GetProjectsProjectsType); + +/** @internal */ +export const GetProjectsProjectsType$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsType +> = GetProjectsProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsType$ { + /** @deprecated use `GetProjectsProjectsType$inboundSchema` instead. */ + export const inboundSchema = GetProjectsProjectsType$inboundSchema; + /** @deprecated use `GetProjectsProjectsType$outboundSchema` instead. */ + export const outboundSchema = GetProjectsProjectsType$outboundSchema; +} + +/** @internal */ +export const GetProjectsLatestDeployments$inboundSchema: z.ZodType< + GetProjectsLatestDeployments, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + aliasError: z.nullable(z.lazy(() => GetProjectsAliasError$inboundSchema)) + .optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + branchMatcher: z.lazy(() => GetProjectsBranchMatcher$inboundSchema) + .optional(), + buildingAt: z.number().optional(), + builds: z.array(z.lazy(() => GetProjectsBuilds$inboundSchema)).optional(), + checksConclusion: GetProjectsChecksConclusion$inboundSchema.optional(), + checksState: GetProjectsChecksState$inboundSchema.optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdAt: z.number(), + createdIn: z.string(), + creator: z.nullable(z.lazy(() => GetProjectsCreator$inboundSchema)), + deletedAt: z.number().optional(), + deploymentHostname: z.string(), + forced: z.boolean().optional(), + name: z.string(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + oidcTokenClaims: z.lazy(() => GetProjectsOidcTokenClaims$inboundSchema) + .optional(), + plan: GetProjectsPlan$inboundSchema, + previewCommentsEnabled: z.boolean().optional(), + private: z.boolean(), + readyAt: z.number().optional(), + readyState: GetProjectsReadyState$inboundSchema, + readySubstate: GetProjectsReadySubstate$inboundSchema.optional(), + requestedAt: z.number().optional(), + target: z.nullable(z.string()).optional(), + teamId: z.nullable(z.string()).optional(), + type: GetProjectsProjectsType$inboundSchema, + url: z.string(), + userId: z.string(), + withCache: z.boolean().optional(), +}); + +/** @internal */ +export type GetProjectsLatestDeployments$Outbound = { + id: string; + alias?: Array | undefined; + aliasAssigned?: number | boolean | null | undefined; + aliasError?: GetProjectsAliasError$Outbound | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + branchMatcher?: GetProjectsBranchMatcher$Outbound | undefined; + buildingAt?: number | undefined; + builds?: Array | undefined; + checksConclusion?: string | undefined; + checksState?: string | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdAt: number; + createdIn: string; + creator: GetProjectsCreator$Outbound | null; + deletedAt?: number | undefined; + deploymentHostname: string; + forced?: boolean | undefined; + name: string; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + oidcTokenClaims?: GetProjectsOidcTokenClaims$Outbound | undefined; + plan: string; + previewCommentsEnabled?: boolean | undefined; + private: boolean; + readyAt?: number | undefined; + readyState: string; + readySubstate?: string | undefined; + requestedAt?: number | undefined; + target?: string | null | undefined; + teamId?: string | null | undefined; + type: string; + url: string; + userId: string; + withCache?: boolean | undefined; +}; + +/** @internal */ +export const GetProjectsLatestDeployments$outboundSchema: z.ZodType< + GetProjectsLatestDeployments$Outbound, + z.ZodTypeDef, + GetProjectsLatestDeployments +> = z.object({ + id: z.string(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + aliasError: z.nullable(z.lazy(() => GetProjectsAliasError$outboundSchema)) + .optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + branchMatcher: z.lazy(() => GetProjectsBranchMatcher$outboundSchema) + .optional(), + buildingAt: z.number().optional(), + builds: z.array(z.lazy(() => GetProjectsBuilds$outboundSchema)).optional(), + checksConclusion: GetProjectsChecksConclusion$outboundSchema.optional(), + checksState: GetProjectsChecksState$outboundSchema.optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdAt: z.number(), + createdIn: z.string(), + creator: z.nullable(z.lazy(() => GetProjectsCreator$outboundSchema)), + deletedAt: z.number().optional(), + deploymentHostname: z.string(), + forced: z.boolean().optional(), + name: z.string(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + oidcTokenClaims: z.lazy(() => GetProjectsOidcTokenClaims$outboundSchema) + .optional(), + plan: GetProjectsPlan$outboundSchema, + previewCommentsEnabled: z.boolean().optional(), + private: z.boolean(), + readyAt: z.number().optional(), + readyState: GetProjectsReadyState$outboundSchema, + readySubstate: GetProjectsReadySubstate$outboundSchema.optional(), + requestedAt: z.number().optional(), + target: z.nullable(z.string()).optional(), + teamId: z.nullable(z.string()).optional(), + type: GetProjectsProjectsType$outboundSchema, + url: z.string(), + userId: z.string(), + withCache: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsLatestDeployments$ { + /** @deprecated use `GetProjectsLatestDeployments$inboundSchema` instead. */ + export const inboundSchema = GetProjectsLatestDeployments$inboundSchema; + /** @deprecated use `GetProjectsLatestDeployments$outboundSchema` instead. */ + export const outboundSchema = GetProjectsLatestDeployments$outboundSchema; + /** @deprecated use `GetProjectsLatestDeployments$Outbound` instead. */ + export type Outbound = GetProjectsLatestDeployments$Outbound; +} + +export function getProjectsLatestDeploymentsToJSON( + getProjectsLatestDeployments: GetProjectsLatestDeployments, +): string { + return JSON.stringify( + GetProjectsLatestDeployments$outboundSchema.parse( + getProjectsLatestDeployments, + ), + ); +} + +export function getProjectsLatestDeploymentsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsLatestDeployments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsLatestDeployments' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsLinkProjectsResponseType$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsLinkProjectsResponseType +> = z.nativeEnum(GetProjectsLinkProjectsResponseType); + +/** @internal */ +export const GetProjectsLinkProjectsResponseType$outboundSchema: + z.ZodNativeEnum = + GetProjectsLinkProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsLinkProjectsResponseType$ { + /** @deprecated use `GetProjectsLinkProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsLinkProjectsResponseType$inboundSchema; + /** @deprecated use `GetProjectsLinkProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsLinkProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const GetProjectsLinkProjectsResponseDeployHooks$inboundSchema: + z.ZodType = + z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), + }); + +/** @internal */ +export type GetProjectsLinkProjectsResponseDeployHooks$Outbound = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +/** @internal */ +export const GetProjectsLinkProjectsResponseDeployHooks$outboundSchema: + z.ZodType< + GetProjectsLinkProjectsResponseDeployHooks$Outbound, + z.ZodTypeDef, + GetProjectsLinkProjectsResponseDeployHooks + > = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsLinkProjectsResponseDeployHooks$ { + /** @deprecated use `GetProjectsLinkProjectsResponseDeployHooks$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsLinkProjectsResponseDeployHooks$inboundSchema; + /** @deprecated use `GetProjectsLinkProjectsResponseDeployHooks$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsLinkProjectsResponseDeployHooks$outboundSchema; + /** @deprecated use `GetProjectsLinkProjectsResponseDeployHooks$Outbound` instead. */ + export type Outbound = GetProjectsLinkProjectsResponseDeployHooks$Outbound; +} + +export function getProjectsLinkProjectsResponseDeployHooksToJSON( + getProjectsLinkProjectsResponseDeployHooks: + GetProjectsLinkProjectsResponseDeployHooks, +): string { + return JSON.stringify( + GetProjectsLinkProjectsResponseDeployHooks$outboundSchema.parse( + getProjectsLinkProjectsResponseDeployHooks, + ), + ); +} + +export function getProjectsLinkProjectsResponseDeployHooksFromJSON( + jsonString: string, +): SafeParseResult< + GetProjectsLinkProjectsResponseDeployHooks, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetProjectsLinkProjectsResponseDeployHooks$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetProjectsLinkProjectsResponseDeployHooks' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsLink3$inboundSchema: z.ZodType< + GetProjectsLink3, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), + slug: z.string().optional(), + owner: z.string().optional(), + type: GetProjectsLinkProjectsResponseType$inboundSchema.optional(), + uuid: z.string().optional(), + workspaceUuid: z.string().optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => GetProjectsLinkProjectsResponseDeployHooks$inboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** @internal */ +export type GetProjectsLink3$Outbound = { + name?: string | undefined; + slug?: string | undefined; + owner?: string | undefined; + type?: string | undefined; + uuid?: string | undefined; + workspaceUuid?: string | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +/** @internal */ +export const GetProjectsLink3$outboundSchema: z.ZodType< + GetProjectsLink3$Outbound, + z.ZodTypeDef, + GetProjectsLink3 +> = z.object({ + name: z.string().optional(), + slug: z.string().optional(), + owner: z.string().optional(), + type: GetProjectsLinkProjectsResponseType$outboundSchema.optional(), + uuid: z.string().optional(), + workspaceUuid: z.string().optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => GetProjectsLinkProjectsResponseDeployHooks$outboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsLink3$ { + /** @deprecated use `GetProjectsLink3$inboundSchema` instead. */ + export const inboundSchema = GetProjectsLink3$inboundSchema; + /** @deprecated use `GetProjectsLink3$outboundSchema` instead. */ + export const outboundSchema = GetProjectsLink3$outboundSchema; + /** @deprecated use `GetProjectsLink3$Outbound` instead. */ + export type Outbound = GetProjectsLink3$Outbound; +} + +export function getProjectsLink3ToJSON( + getProjectsLink3: GetProjectsLink3, +): string { + return JSON.stringify( + GetProjectsLink3$outboundSchema.parse(getProjectsLink3), + ); +} + +export function getProjectsLink3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsLink3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsLink3' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsLinkProjectsType$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsLinkProjectsType +> = z.nativeEnum(GetProjectsLinkProjectsType); + +/** @internal */ +export const GetProjectsLinkProjectsType$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsLinkProjectsType +> = GetProjectsLinkProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsLinkProjectsType$ { + /** @deprecated use `GetProjectsLinkProjectsType$inboundSchema` instead. */ + export const inboundSchema = GetProjectsLinkProjectsType$inboundSchema; + /** @deprecated use `GetProjectsLinkProjectsType$outboundSchema` instead. */ + export const outboundSchema = GetProjectsLinkProjectsType$outboundSchema; +} + +/** @internal */ +export const GetProjectsLinkProjectsDeployHooks$inboundSchema: z.ZodType< + GetProjectsLinkProjectsDeployHooks, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** @internal */ +export type GetProjectsLinkProjectsDeployHooks$Outbound = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +/** @internal */ +export const GetProjectsLinkProjectsDeployHooks$outboundSchema: z.ZodType< + GetProjectsLinkProjectsDeployHooks$Outbound, + z.ZodTypeDef, + GetProjectsLinkProjectsDeployHooks +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsLinkProjectsDeployHooks$ { + /** @deprecated use `GetProjectsLinkProjectsDeployHooks$inboundSchema` instead. */ + export const inboundSchema = GetProjectsLinkProjectsDeployHooks$inboundSchema; + /** @deprecated use `GetProjectsLinkProjectsDeployHooks$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsLinkProjectsDeployHooks$outboundSchema; + /** @deprecated use `GetProjectsLinkProjectsDeployHooks$Outbound` instead. */ + export type Outbound = GetProjectsLinkProjectsDeployHooks$Outbound; +} + +export function getProjectsLinkProjectsDeployHooksToJSON( + getProjectsLinkProjectsDeployHooks: GetProjectsLinkProjectsDeployHooks, +): string { + return JSON.stringify( + GetProjectsLinkProjectsDeployHooks$outboundSchema.parse( + getProjectsLinkProjectsDeployHooks, + ), + ); +} + +export function getProjectsLinkProjectsDeployHooksFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetProjectsLinkProjectsDeployHooks$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsLinkProjectsDeployHooks' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsLink2$inboundSchema: z.ZodType< + GetProjectsLink2, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string().optional(), + projectName: z.string().optional(), + projectNameWithNamespace: z.string().optional(), + projectNamespace: z.string().optional(), + projectOwnerId: z.number().optional(), + projectUrl: z.string().optional(), + type: GetProjectsLinkProjectsType$inboundSchema.optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => GetProjectsLinkProjectsDeployHooks$inboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** @internal */ +export type GetProjectsLink2$Outbound = { + projectId?: string | undefined; + projectName?: string | undefined; + projectNameWithNamespace?: string | undefined; + projectNamespace?: string | undefined; + projectOwnerId?: number | undefined; + projectUrl?: string | undefined; + type?: string | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +/** @internal */ +export const GetProjectsLink2$outboundSchema: z.ZodType< + GetProjectsLink2$Outbound, + z.ZodTypeDef, + GetProjectsLink2 +> = z.object({ + projectId: z.string().optional(), + projectName: z.string().optional(), + projectNameWithNamespace: z.string().optional(), + projectNamespace: z.string().optional(), + projectOwnerId: z.number().optional(), + projectUrl: z.string().optional(), + type: GetProjectsLinkProjectsType$outboundSchema.optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => GetProjectsLinkProjectsDeployHooks$outboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsLink2$ { + /** @deprecated use `GetProjectsLink2$inboundSchema` instead. */ + export const inboundSchema = GetProjectsLink2$inboundSchema; + /** @deprecated use `GetProjectsLink2$outboundSchema` instead. */ + export const outboundSchema = GetProjectsLink2$outboundSchema; + /** @deprecated use `GetProjectsLink2$Outbound` instead. */ + export type Outbound = GetProjectsLink2$Outbound; +} + +export function getProjectsLink2ToJSON( + getProjectsLink2: GetProjectsLink2, +): string { + return JSON.stringify( + GetProjectsLink2$outboundSchema.parse(getProjectsLink2), + ); +} + +export function getProjectsLink2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsLink2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsLink2' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsLinkType$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsLinkType +> = z.nativeEnum(GetProjectsLinkType); + +/** @internal */ +export const GetProjectsLinkType$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsLinkType +> = GetProjectsLinkType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsLinkType$ { + /** @deprecated use `GetProjectsLinkType$inboundSchema` instead. */ + export const inboundSchema = GetProjectsLinkType$inboundSchema; + /** @deprecated use `GetProjectsLinkType$outboundSchema` instead. */ + export const outboundSchema = GetProjectsLinkType$outboundSchema; +} + +/** @internal */ +export const GetProjectsLinkDeployHooks$inboundSchema: z.ZodType< + GetProjectsLinkDeployHooks, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** @internal */ +export type GetProjectsLinkDeployHooks$Outbound = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +/** @internal */ +export const GetProjectsLinkDeployHooks$outboundSchema: z.ZodType< + GetProjectsLinkDeployHooks$Outbound, + z.ZodTypeDef, + GetProjectsLinkDeployHooks +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsLinkDeployHooks$ { + /** @deprecated use `GetProjectsLinkDeployHooks$inboundSchema` instead. */ + export const inboundSchema = GetProjectsLinkDeployHooks$inboundSchema; + /** @deprecated use `GetProjectsLinkDeployHooks$outboundSchema` instead. */ + export const outboundSchema = GetProjectsLinkDeployHooks$outboundSchema; + /** @deprecated use `GetProjectsLinkDeployHooks$Outbound` instead. */ + export type Outbound = GetProjectsLinkDeployHooks$Outbound; +} + +export function getProjectsLinkDeployHooksToJSON( + getProjectsLinkDeployHooks: GetProjectsLinkDeployHooks, +): string { + return JSON.stringify( + GetProjectsLinkDeployHooks$outboundSchema.parse(getProjectsLinkDeployHooks), + ); +} + +export function getProjectsLinkDeployHooksFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsLinkDeployHooks$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsLinkDeployHooks' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsLink1$inboundSchema: z.ZodType< + GetProjectsLink1, + z.ZodTypeDef, + unknown +> = z.object({ + org: z.string().optional(), + repoOwnerId: z.number().optional(), + repo: z.string().optional(), + repoId: z.number().optional(), + type: GetProjectsLinkType$inboundSchema.optional(), + createdAt: z.number().optional(), + deployHooks: z.array(z.lazy(() => GetProjectsLinkDeployHooks$inboundSchema)), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** @internal */ +export type GetProjectsLink1$Outbound = { + org?: string | undefined; + repoOwnerId?: number | undefined; + repo?: string | undefined; + repoId?: number | undefined; + type?: string | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +/** @internal */ +export const GetProjectsLink1$outboundSchema: z.ZodType< + GetProjectsLink1$Outbound, + z.ZodTypeDef, + GetProjectsLink1 +> = z.object({ + org: z.string().optional(), + repoOwnerId: z.number().optional(), + repo: z.string().optional(), + repoId: z.number().optional(), + type: GetProjectsLinkType$outboundSchema.optional(), + createdAt: z.number().optional(), + deployHooks: z.array(z.lazy(() => GetProjectsLinkDeployHooks$outboundSchema)), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsLink1$ { + /** @deprecated use `GetProjectsLink1$inboundSchema` instead. */ + export const inboundSchema = GetProjectsLink1$inboundSchema; + /** @deprecated use `GetProjectsLink1$outboundSchema` instead. */ + export const outboundSchema = GetProjectsLink1$outboundSchema; + /** @deprecated use `GetProjectsLink1$Outbound` instead. */ + export type Outbound = GetProjectsLink1$Outbound; +} + +export function getProjectsLink1ToJSON( + getProjectsLink1: GetProjectsLink1, +): string { + return JSON.stringify( + GetProjectsLink1$outboundSchema.parse(getProjectsLink1), + ); +} + +export function getProjectsLink1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsLink1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsLink1' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsLink$inboundSchema: z.ZodType< + GetProjectsLink, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetProjectsLink1$inboundSchema), + z.lazy(() => GetProjectsLink3$inboundSchema), + z.lazy(() => GetProjectsLink2$inboundSchema), +]); + +/** @internal */ +export type GetProjectsLink$Outbound = + | GetProjectsLink1$Outbound + | GetProjectsLink3$Outbound + | GetProjectsLink2$Outbound; + +/** @internal */ +export const GetProjectsLink$outboundSchema: z.ZodType< + GetProjectsLink$Outbound, + z.ZodTypeDef, + GetProjectsLink +> = z.union([ + z.lazy(() => GetProjectsLink1$outboundSchema), + z.lazy(() => GetProjectsLink3$outboundSchema), + z.lazy(() => GetProjectsLink2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsLink$ { + /** @deprecated use `GetProjectsLink$inboundSchema` instead. */ + export const inboundSchema = GetProjectsLink$inboundSchema; + /** @deprecated use `GetProjectsLink$outboundSchema` instead. */ + export const outboundSchema = GetProjectsLink$outboundSchema; + /** @deprecated use `GetProjectsLink$Outbound` instead. */ + export type Outbound = GetProjectsLink$Outbound; +} + +export function getProjectsLinkToJSON( + getProjectsLink: GetProjectsLink, +): string { + return JSON.stringify(GetProjectsLink$outboundSchema.parse(getProjectsLink)); +} + +export function getProjectsLinkFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsLink$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsLink' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsMicrofrontends$inboundSchema: z.ZodType< + GetProjectsMicrofrontends, + z.ZodTypeDef, + unknown +> = z.object({ + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + isDefaultApp: z.boolean().optional(), + defaultRoute: z.string().optional(), +}); + +/** @internal */ +export type GetProjectsMicrofrontends$Outbound = { + updatedAt: number; + groupIds: Array; + enabled: boolean; + isDefaultApp?: boolean | undefined; + defaultRoute?: string | undefined; +}; + +/** @internal */ +export const GetProjectsMicrofrontends$outboundSchema: z.ZodType< + GetProjectsMicrofrontends$Outbound, + z.ZodTypeDef, + GetProjectsMicrofrontends +> = z.object({ + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + isDefaultApp: z.boolean().optional(), + defaultRoute: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsMicrofrontends$ { + /** @deprecated use `GetProjectsMicrofrontends$inboundSchema` instead. */ + export const inboundSchema = GetProjectsMicrofrontends$inboundSchema; + /** @deprecated use `GetProjectsMicrofrontends$outboundSchema` instead. */ + export const outboundSchema = GetProjectsMicrofrontends$outboundSchema; + /** @deprecated use `GetProjectsMicrofrontends$Outbound` instead. */ + export type Outbound = GetProjectsMicrofrontends$Outbound; +} + +export function getProjectsMicrofrontendsToJSON( + getProjectsMicrofrontends: GetProjectsMicrofrontends, +): string { + return JSON.stringify( + GetProjectsMicrofrontends$outboundSchema.parse(getProjectsMicrofrontends), + ); +} + +export function getProjectsMicrofrontendsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsMicrofrontends$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsMicrofrontends' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsNodeVersion$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsNodeVersion +> = z.nativeEnum(GetProjectsNodeVersion); + +/** @internal */ +export const GetProjectsNodeVersion$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsNodeVersion +> = GetProjectsNodeVersion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsNodeVersion$ { + /** @deprecated use `GetProjectsNodeVersion$inboundSchema` instead. */ + export const inboundSchema = GetProjectsNodeVersion$inboundSchema; + /** @deprecated use `GetProjectsNodeVersion$outboundSchema` instead. */ + export const outboundSchema = GetProjectsNodeVersion$outboundSchema; +} + +/** @internal */ +export const GetProjectsPaths$inboundSchema: z.ZodType< + GetProjectsPaths, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.string(), +}); + +/** @internal */ +export type GetProjectsPaths$Outbound = { + value: string; +}; + +/** @internal */ +export const GetProjectsPaths$outboundSchema: z.ZodType< + GetProjectsPaths$Outbound, + z.ZodTypeDef, + GetProjectsPaths +> = z.object({ + value: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsPaths$ { + /** @deprecated use `GetProjectsPaths$inboundSchema` instead. */ + export const inboundSchema = GetProjectsPaths$inboundSchema; + /** @deprecated use `GetProjectsPaths$outboundSchema` instead. */ + export const outboundSchema = GetProjectsPaths$outboundSchema; + /** @deprecated use `GetProjectsPaths$Outbound` instead. */ + export type Outbound = GetProjectsPaths$Outbound; +} + +export function getProjectsPathsToJSON( + getProjectsPaths: GetProjectsPaths, +): string { + return JSON.stringify( + GetProjectsPaths$outboundSchema.parse(getProjectsPaths), + ); +} + +export function getProjectsPathsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsPaths$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsPaths' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsOptionsAllowlist$inboundSchema: z.ZodType< + GetProjectsOptionsAllowlist, + z.ZodTypeDef, + unknown +> = z.object({ + paths: z.array(z.lazy(() => GetProjectsPaths$inboundSchema)), +}); + +/** @internal */ +export type GetProjectsOptionsAllowlist$Outbound = { + paths: Array; +}; + +/** @internal */ +export const GetProjectsOptionsAllowlist$outboundSchema: z.ZodType< + GetProjectsOptionsAllowlist$Outbound, + z.ZodTypeDef, + GetProjectsOptionsAllowlist +> = z.object({ + paths: z.array(z.lazy(() => GetProjectsPaths$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsOptionsAllowlist$ { + /** @deprecated use `GetProjectsOptionsAllowlist$inboundSchema` instead. */ + export const inboundSchema = GetProjectsOptionsAllowlist$inboundSchema; + /** @deprecated use `GetProjectsOptionsAllowlist$outboundSchema` instead. */ + export const outboundSchema = GetProjectsOptionsAllowlist$outboundSchema; + /** @deprecated use `GetProjectsOptionsAllowlist$Outbound` instead. */ + export type Outbound = GetProjectsOptionsAllowlist$Outbound; +} + +export function getProjectsOptionsAllowlistToJSON( + getProjectsOptionsAllowlist: GetProjectsOptionsAllowlist, +): string { + return JSON.stringify( + GetProjectsOptionsAllowlist$outboundSchema.parse( + getProjectsOptionsAllowlist, + ), + ); +} + +export function getProjectsOptionsAllowlistFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsOptionsAllowlist$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsOptionsAllowlist' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsPasswordProtection$inboundSchema: z.ZodType< + GetProjectsPasswordProtection, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type GetProjectsPasswordProtection$Outbound = {}; + +/** @internal */ +export const GetProjectsPasswordProtection$outboundSchema: z.ZodType< + GetProjectsPasswordProtection$Outbound, + z.ZodTypeDef, + GetProjectsPasswordProtection +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsPasswordProtection$ { + /** @deprecated use `GetProjectsPasswordProtection$inboundSchema` instead. */ + export const inboundSchema = GetProjectsPasswordProtection$inboundSchema; + /** @deprecated use `GetProjectsPasswordProtection$outboundSchema` instead. */ + export const outboundSchema = GetProjectsPasswordProtection$outboundSchema; + /** @deprecated use `GetProjectsPasswordProtection$Outbound` instead. */ + export type Outbound = GetProjectsPasswordProtection$Outbound; +} + +export function getProjectsPasswordProtectionToJSON( + getProjectsPasswordProtection: GetProjectsPasswordProtection, +): string { + return JSON.stringify( + GetProjectsPasswordProtection$outboundSchema.parse( + getProjectsPasswordProtection, + ), + ); +} + +export function getProjectsPasswordProtectionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsPasswordProtection$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsPasswordProtection' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsFunctionDefaultMemoryType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetProjectsFunctionDefaultMemoryType, + ); + +/** @internal */ +export const GetProjectsFunctionDefaultMemoryType$outboundSchema: + z.ZodNativeEnum = + GetProjectsFunctionDefaultMemoryType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsFunctionDefaultMemoryType$ { + /** @deprecated use `GetProjectsFunctionDefaultMemoryType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsFunctionDefaultMemoryType$inboundSchema; + /** @deprecated use `GetProjectsFunctionDefaultMemoryType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsFunctionDefaultMemoryType$outboundSchema; +} + +/** @internal */ +export const GetProjectsResourceConfig$inboundSchema: z.ZodType< + GetProjectsResourceConfig, + z.ZodTypeDef, + unknown +> = z.object({ + functionDefaultTimeout: z.number().optional(), + functionDefaultMemoryType: GetProjectsFunctionDefaultMemoryType$inboundSchema + .optional(), + allowServerlessConcurrency: z.boolean().optional(), + elasticConcurrencyEnabled: z.boolean().optional(), +}); + +/** @internal */ +export type GetProjectsResourceConfig$Outbound = { + functionDefaultTimeout?: number | undefined; + functionDefaultMemoryType?: string | undefined; + allowServerlessConcurrency?: boolean | undefined; + elasticConcurrencyEnabled?: boolean | undefined; +}; + +/** @internal */ +export const GetProjectsResourceConfig$outboundSchema: z.ZodType< + GetProjectsResourceConfig$Outbound, + z.ZodTypeDef, + GetProjectsResourceConfig +> = z.object({ + functionDefaultTimeout: z.number().optional(), + functionDefaultMemoryType: GetProjectsFunctionDefaultMemoryType$outboundSchema + .optional(), + allowServerlessConcurrency: z.boolean().optional(), + elasticConcurrencyEnabled: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsResourceConfig$ { + /** @deprecated use `GetProjectsResourceConfig$inboundSchema` instead. */ + export const inboundSchema = GetProjectsResourceConfig$inboundSchema; + /** @deprecated use `GetProjectsResourceConfig$outboundSchema` instead. */ + export const outboundSchema = GetProjectsResourceConfig$outboundSchema; + /** @deprecated use `GetProjectsResourceConfig$Outbound` instead. */ + export type Outbound = GetProjectsResourceConfig$Outbound; +} + +export function getProjectsResourceConfigToJSON( + getProjectsResourceConfig: GetProjectsResourceConfig, +): string { + return JSON.stringify( + GetProjectsResourceConfig$outboundSchema.parse(getProjectsResourceConfig), + ); +} + +export function getProjectsResourceConfigFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsResourceConfig$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsResourceConfig' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsDeploymentType$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsDeploymentType +> = z.nativeEnum(GetProjectsDeploymentType); + +/** @internal */ +export const GetProjectsDeploymentType$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsDeploymentType +> = GetProjectsDeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsDeploymentType$ { + /** @deprecated use `GetProjectsDeploymentType$inboundSchema` instead. */ + export const inboundSchema = GetProjectsDeploymentType$inboundSchema; + /** @deprecated use `GetProjectsDeploymentType$outboundSchema` instead. */ + export const outboundSchema = GetProjectsDeploymentType$outboundSchema; +} + +/** @internal */ +export const GetProjectsSsoProtection$inboundSchema: z.ZodType< + GetProjectsSsoProtection, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentType: GetProjectsDeploymentType$inboundSchema, +}); + +/** @internal */ +export type GetProjectsSsoProtection$Outbound = { + deploymentType: string; +}; + +/** @internal */ +export const GetProjectsSsoProtection$outboundSchema: z.ZodType< + GetProjectsSsoProtection$Outbound, + z.ZodTypeDef, + GetProjectsSsoProtection +> = z.object({ + deploymentType: GetProjectsDeploymentType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsSsoProtection$ { + /** @deprecated use `GetProjectsSsoProtection$inboundSchema` instead. */ + export const inboundSchema = GetProjectsSsoProtection$inboundSchema; + /** @deprecated use `GetProjectsSsoProtection$outboundSchema` instead. */ + export const outboundSchema = GetProjectsSsoProtection$outboundSchema; + /** @deprecated use `GetProjectsSsoProtection$Outbound` instead. */ + export type Outbound = GetProjectsSsoProtection$Outbound; +} + +export function getProjectsSsoProtectionToJSON( + getProjectsSsoProtection: GetProjectsSsoProtection, +): string { + return JSON.stringify( + GetProjectsSsoProtection$outboundSchema.parse(getProjectsSsoProtection), + ); +} + +export function getProjectsSsoProtectionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsSsoProtection$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsSsoProtection' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsProjectsAliasAssigned$inboundSchema: z.ZodType< + GetProjectsProjectsAliasAssigned, + z.ZodTypeDef, + unknown +> = z.union([z.number(), z.boolean()]); + +/** @internal */ +export type GetProjectsProjectsAliasAssigned$Outbound = number | boolean; + +/** @internal */ +export const GetProjectsProjectsAliasAssigned$outboundSchema: z.ZodType< + GetProjectsProjectsAliasAssigned$Outbound, + z.ZodTypeDef, + GetProjectsProjectsAliasAssigned +> = z.union([z.number(), z.boolean()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsAliasAssigned$ { + /** @deprecated use `GetProjectsProjectsAliasAssigned$inboundSchema` instead. */ + export const inboundSchema = GetProjectsProjectsAliasAssigned$inboundSchema; + /** @deprecated use `GetProjectsProjectsAliasAssigned$outboundSchema` instead. */ + export const outboundSchema = GetProjectsProjectsAliasAssigned$outboundSchema; + /** @deprecated use `GetProjectsProjectsAliasAssigned$Outbound` instead. */ + export type Outbound = GetProjectsProjectsAliasAssigned$Outbound; +} + +export function getProjectsProjectsAliasAssignedToJSON( + getProjectsProjectsAliasAssigned: GetProjectsProjectsAliasAssigned, +): string { + return JSON.stringify( + GetProjectsProjectsAliasAssigned$outboundSchema.parse( + getProjectsProjectsAliasAssigned, + ), + ); +} + +export function getProjectsProjectsAliasAssignedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsProjectsAliasAssigned$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsProjectsAliasAssigned' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsProjectsAliasError$inboundSchema: z.ZodType< + GetProjectsProjectsAliasError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** @internal */ +export type GetProjectsProjectsAliasError$Outbound = { + code: string; + message: string; +}; + +/** @internal */ +export const GetProjectsProjectsAliasError$outboundSchema: z.ZodType< + GetProjectsProjectsAliasError$Outbound, + z.ZodTypeDef, + GetProjectsProjectsAliasError +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsAliasError$ { + /** @deprecated use `GetProjectsProjectsAliasError$inboundSchema` instead. */ + export const inboundSchema = GetProjectsProjectsAliasError$inboundSchema; + /** @deprecated use `GetProjectsProjectsAliasError$outboundSchema` instead. */ + export const outboundSchema = GetProjectsProjectsAliasError$outboundSchema; + /** @deprecated use `GetProjectsProjectsAliasError$Outbound` instead. */ + export type Outbound = GetProjectsProjectsAliasError$Outbound; +} + +export function getProjectsProjectsAliasErrorToJSON( + getProjectsProjectsAliasError: GetProjectsProjectsAliasError, +): string { + return JSON.stringify( + GetProjectsProjectsAliasError$outboundSchema.parse( + getProjectsProjectsAliasError, + ), + ); +} + +export function getProjectsProjectsAliasErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsProjectsAliasError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsProjectsAliasError' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetProjectsProjectsResponse200ApplicationJSONType); + +/** @internal */ +export const GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum = + GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsResponse200ApplicationJSONType$ { + /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const GetProjectsProjectsBranchMatcher$inboundSchema: z.ZodType< + GetProjectsProjectsBranchMatcher, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema, + pattern: z.string(), +}); + +/** @internal */ +export type GetProjectsProjectsBranchMatcher$Outbound = { + type: string; + pattern: string; +}; + +/** @internal */ +export const GetProjectsProjectsBranchMatcher$outboundSchema: z.ZodType< + GetProjectsProjectsBranchMatcher$Outbound, + z.ZodTypeDef, + GetProjectsProjectsBranchMatcher +> = z.object({ + type: GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema, + pattern: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsBranchMatcher$ { + /** @deprecated use `GetProjectsProjectsBranchMatcher$inboundSchema` instead. */ + export const inboundSchema = GetProjectsProjectsBranchMatcher$inboundSchema; + /** @deprecated use `GetProjectsProjectsBranchMatcher$outboundSchema` instead. */ + export const outboundSchema = GetProjectsProjectsBranchMatcher$outboundSchema; + /** @deprecated use `GetProjectsProjectsBranchMatcher$Outbound` instead. */ + export type Outbound = GetProjectsProjectsBranchMatcher$Outbound; +} + +export function getProjectsProjectsBranchMatcherToJSON( + getProjectsProjectsBranchMatcher: GetProjectsProjectsBranchMatcher, +): string { + return JSON.stringify( + GetProjectsProjectsBranchMatcher$outboundSchema.parse( + getProjectsProjectsBranchMatcher, + ), + ); +} + +export function getProjectsProjectsBranchMatcherFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsProjectsBranchMatcher' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsProjectsBuilds$inboundSchema: z.ZodType< + GetProjectsProjectsBuilds, + z.ZodTypeDef, + unknown +> = z.object({ + use: z.string(), + src: z.string().optional(), + dest: z.string().optional(), +}); + +/** @internal */ +export type GetProjectsProjectsBuilds$Outbound = { + use: string; + src?: string | undefined; + dest?: string | undefined; +}; + +/** @internal */ +export const GetProjectsProjectsBuilds$outboundSchema: z.ZodType< + GetProjectsProjectsBuilds$Outbound, + z.ZodTypeDef, + GetProjectsProjectsBuilds +> = z.object({ + use: z.string(), + src: z.string().optional(), + dest: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsBuilds$ { + /** @deprecated use `GetProjectsProjectsBuilds$inboundSchema` instead. */ + export const inboundSchema = GetProjectsProjectsBuilds$inboundSchema; + /** @deprecated use `GetProjectsProjectsBuilds$outboundSchema` instead. */ + export const outboundSchema = GetProjectsProjectsBuilds$outboundSchema; + /** @deprecated use `GetProjectsProjectsBuilds$Outbound` instead. */ + export type Outbound = GetProjectsProjectsBuilds$Outbound; +} + +export function getProjectsProjectsBuildsToJSON( + getProjectsProjectsBuilds: GetProjectsProjectsBuilds, +): string { + return JSON.stringify( + GetProjectsProjectsBuilds$outboundSchema.parse(getProjectsProjectsBuilds), + ); +} + +export function getProjectsProjectsBuildsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsProjectsBuilds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsProjectsBuilds' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsProjectsChecksConclusion$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsChecksConclusion +> = z.nativeEnum(GetProjectsProjectsChecksConclusion); + +/** @internal */ +export const GetProjectsProjectsChecksConclusion$outboundSchema: + z.ZodNativeEnum = + GetProjectsProjectsChecksConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsChecksConclusion$ { + /** @deprecated use `GetProjectsProjectsChecksConclusion$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsProjectsChecksConclusion$inboundSchema; + /** @deprecated use `GetProjectsProjectsChecksConclusion$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsProjectsChecksConclusion$outboundSchema; +} + +/** @internal */ +export const GetProjectsProjectsChecksState$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsChecksState +> = z.nativeEnum(GetProjectsProjectsChecksState); + +/** @internal */ +export const GetProjectsProjectsChecksState$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsChecksState +> = GetProjectsProjectsChecksState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsChecksState$ { + /** @deprecated use `GetProjectsProjectsChecksState$inboundSchema` instead. */ + export const inboundSchema = GetProjectsProjectsChecksState$inboundSchema; + /** @deprecated use `GetProjectsProjectsChecksState$outboundSchema` instead. */ + export const outboundSchema = GetProjectsProjectsChecksState$outboundSchema; +} + +/** @internal */ +export const GetProjectsProjectsCreator$inboundSchema: z.ZodType< + GetProjectsProjectsCreator, + z.ZodTypeDef, + unknown +> = z.object({ + email: z.string(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), + uid: z.string(), + username: z.string(), +}); + +/** @internal */ +export type GetProjectsProjectsCreator$Outbound = { + email: string; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; + uid: string; + username: string; +}; + +/** @internal */ +export const GetProjectsProjectsCreator$outboundSchema: z.ZodType< + GetProjectsProjectsCreator$Outbound, + z.ZodTypeDef, + GetProjectsProjectsCreator +> = z.object({ + email: z.string(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), + uid: z.string(), + username: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsCreator$ { + /** @deprecated use `GetProjectsProjectsCreator$inboundSchema` instead. */ + export const inboundSchema = GetProjectsProjectsCreator$inboundSchema; + /** @deprecated use `GetProjectsProjectsCreator$outboundSchema` instead. */ + export const outboundSchema = GetProjectsProjectsCreator$outboundSchema; + /** @deprecated use `GetProjectsProjectsCreator$Outbound` instead. */ + export type Outbound = GetProjectsProjectsCreator$Outbound; +} + +export function getProjectsProjectsCreatorToJSON( + getProjectsProjectsCreator: GetProjectsProjectsCreator, +): string { + return JSON.stringify( + GetProjectsProjectsCreator$outboundSchema.parse(getProjectsProjectsCreator), + ); +} + +export function getProjectsProjectsCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsProjectsCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsProjectsCreator' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsProjectsOidcTokenClaims$inboundSchema: z.ZodType< + GetProjectsProjectsOidcTokenClaims, + z.ZodTypeDef, + unknown +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + owner_id: z.string(), + project: z.string(), + project_id: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + "owner_id": "ownerId", + "project_id": "projectId", + }); +}); + +/** @internal */ +export type GetProjectsProjectsOidcTokenClaims$Outbound = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + owner_id: string; + project: string; + project_id: string; + environment: string; +}; + +/** @internal */ +export const GetProjectsProjectsOidcTokenClaims$outboundSchema: z.ZodType< + GetProjectsProjectsOidcTokenClaims$Outbound, + z.ZodTypeDef, + GetProjectsProjectsOidcTokenClaims +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + ownerId: z.string(), + project: z.string(), + projectId: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + ownerId: "owner_id", + projectId: "project_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsOidcTokenClaims$ { + /** @deprecated use `GetProjectsProjectsOidcTokenClaims$inboundSchema` instead. */ + export const inboundSchema = GetProjectsProjectsOidcTokenClaims$inboundSchema; + /** @deprecated use `GetProjectsProjectsOidcTokenClaims$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsProjectsOidcTokenClaims$outboundSchema; + /** @deprecated use `GetProjectsProjectsOidcTokenClaims$Outbound` instead. */ + export type Outbound = GetProjectsProjectsOidcTokenClaims$Outbound; +} + +export function getProjectsProjectsOidcTokenClaimsToJSON( + getProjectsProjectsOidcTokenClaims: GetProjectsProjectsOidcTokenClaims, +): string { + return JSON.stringify( + GetProjectsProjectsOidcTokenClaims$outboundSchema.parse( + getProjectsProjectsOidcTokenClaims, + ), + ); +} + +export function getProjectsProjectsOidcTokenClaimsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetProjectsProjectsOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsProjectsOidcTokenClaims' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsProjectsPlan$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsPlan +> = z.nativeEnum(GetProjectsProjectsPlan); + +/** @internal */ +export const GetProjectsProjectsPlan$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsPlan +> = GetProjectsProjectsPlan$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsPlan$ { + /** @deprecated use `GetProjectsProjectsPlan$inboundSchema` instead. */ + export const inboundSchema = GetProjectsProjectsPlan$inboundSchema; + /** @deprecated use `GetProjectsProjectsPlan$outboundSchema` instead. */ + export const outboundSchema = GetProjectsProjectsPlan$outboundSchema; +} + +/** @internal */ +export const GetProjectsProjectsReadyState$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsReadyState +> = z.nativeEnum(GetProjectsProjectsReadyState); + +/** @internal */ +export const GetProjectsProjectsReadyState$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsReadyState +> = GetProjectsProjectsReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsReadyState$ { + /** @deprecated use `GetProjectsProjectsReadyState$inboundSchema` instead. */ + export const inboundSchema = GetProjectsProjectsReadyState$inboundSchema; + /** @deprecated use `GetProjectsProjectsReadyState$outboundSchema` instead. */ + export const outboundSchema = GetProjectsProjectsReadyState$outboundSchema; +} + +/** @internal */ +export const GetProjectsProjectsReadySubstate$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsReadySubstate +> = z.nativeEnum(GetProjectsProjectsReadySubstate); + +/** @internal */ +export const GetProjectsProjectsReadySubstate$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsReadySubstate +> = GetProjectsProjectsReadySubstate$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsReadySubstate$ { + /** @deprecated use `GetProjectsProjectsReadySubstate$inboundSchema` instead. */ + export const inboundSchema = GetProjectsProjectsReadySubstate$inboundSchema; + /** @deprecated use `GetProjectsProjectsReadySubstate$outboundSchema` instead. */ + export const outboundSchema = GetProjectsProjectsReadySubstate$outboundSchema; +} + +/** @internal */ +export const GetProjectsProjectsResponseType$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsResponseType +> = z.nativeEnum(GetProjectsProjectsResponseType); + +/** @internal */ +export const GetProjectsProjectsResponseType$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsResponseType +> = GetProjectsProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsResponseType$ { + /** @deprecated use `GetProjectsProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = GetProjectsProjectsResponseType$inboundSchema; + /** @deprecated use `GetProjectsProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = GetProjectsProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const GetProjectsTargets$inboundSchema: z.ZodType< + GetProjectsTargets, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + aliasError: z.nullable( + z.lazy(() => GetProjectsProjectsAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + branchMatcher: z.lazy(() => GetProjectsProjectsBranchMatcher$inboundSchema) + .optional(), + buildingAt: z.number().optional(), + builds: z.array(z.lazy(() => GetProjectsProjectsBuilds$inboundSchema)) + .optional(), + checksConclusion: GetProjectsProjectsChecksConclusion$inboundSchema + .optional(), + checksState: GetProjectsProjectsChecksState$inboundSchema.optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdAt: z.number(), + createdIn: z.string(), + creator: z.nullable(z.lazy(() => GetProjectsProjectsCreator$inboundSchema)), + deletedAt: z.number().optional(), + deploymentHostname: z.string(), + forced: z.boolean().optional(), + name: z.string(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + oidcTokenClaims: z.lazy(() => + GetProjectsProjectsOidcTokenClaims$inboundSchema + ).optional(), + plan: GetProjectsProjectsPlan$inboundSchema, + previewCommentsEnabled: z.boolean().optional(), + private: z.boolean(), + readyAt: z.number().optional(), + readyState: GetProjectsProjectsReadyState$inboundSchema, + readySubstate: GetProjectsProjectsReadySubstate$inboundSchema.optional(), + requestedAt: z.number().optional(), + target: z.nullable(z.string()).optional(), + teamId: z.nullable(z.string()).optional(), + type: GetProjectsProjectsResponseType$inboundSchema, + url: z.string(), + userId: z.string(), + withCache: z.boolean().optional(), +}); + +/** @internal */ +export type GetProjectsTargets$Outbound = { + id: string; + alias?: Array | undefined; + aliasAssigned?: number | boolean | null | undefined; + aliasError?: GetProjectsProjectsAliasError$Outbound | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + branchMatcher?: GetProjectsProjectsBranchMatcher$Outbound | undefined; + buildingAt?: number | undefined; + builds?: Array | undefined; + checksConclusion?: string | undefined; + checksState?: string | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdAt: number; + createdIn: string; + creator: GetProjectsProjectsCreator$Outbound | null; + deletedAt?: number | undefined; + deploymentHostname: string; + forced?: boolean | undefined; + name: string; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + oidcTokenClaims?: GetProjectsProjectsOidcTokenClaims$Outbound | undefined; + plan: string; + previewCommentsEnabled?: boolean | undefined; + private: boolean; + readyAt?: number | undefined; + readyState: string; + readySubstate?: string | undefined; + requestedAt?: number | undefined; + target?: string | null | undefined; + teamId?: string | null | undefined; + type: string; + url: string; + userId: string; + withCache?: boolean | undefined; +}; + +/** @internal */ +export const GetProjectsTargets$outboundSchema: z.ZodType< + GetProjectsTargets$Outbound, + z.ZodTypeDef, + GetProjectsTargets +> = z.object({ + id: z.string(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + aliasError: z.nullable( + z.lazy(() => GetProjectsProjectsAliasError$outboundSchema), + ).optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + branchMatcher: z.lazy(() => GetProjectsProjectsBranchMatcher$outboundSchema) + .optional(), + buildingAt: z.number().optional(), + builds: z.array(z.lazy(() => GetProjectsProjectsBuilds$outboundSchema)) + .optional(), + checksConclusion: GetProjectsProjectsChecksConclusion$outboundSchema + .optional(), + checksState: GetProjectsProjectsChecksState$outboundSchema.optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdAt: z.number(), + createdIn: z.string(), + creator: z.nullable(z.lazy(() => GetProjectsProjectsCreator$outboundSchema)), + deletedAt: z.number().optional(), + deploymentHostname: z.string(), + forced: z.boolean().optional(), + name: z.string(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + oidcTokenClaims: z.lazy(() => + GetProjectsProjectsOidcTokenClaims$outboundSchema + ).optional(), + plan: GetProjectsProjectsPlan$outboundSchema, + previewCommentsEnabled: z.boolean().optional(), + private: z.boolean(), + readyAt: z.number().optional(), + readyState: GetProjectsProjectsReadyState$outboundSchema, + readySubstate: GetProjectsProjectsReadySubstate$outboundSchema.optional(), + requestedAt: z.number().optional(), + target: z.nullable(z.string()).optional(), + teamId: z.nullable(z.string()).optional(), + type: GetProjectsProjectsResponseType$outboundSchema, + url: z.string(), + userId: z.string(), + withCache: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsTargets$ { + /** @deprecated use `GetProjectsTargets$inboundSchema` instead. */ + export const inboundSchema = GetProjectsTargets$inboundSchema; + /** @deprecated use `GetProjectsTargets$outboundSchema` instead. */ + export const outboundSchema = GetProjectsTargets$outboundSchema; + /** @deprecated use `GetProjectsTargets$Outbound` instead. */ + export type Outbound = GetProjectsTargets$Outbound; +} + +export function getProjectsTargetsToJSON( + getProjectsTargets: GetProjectsTargets, +): string { + return JSON.stringify( + GetProjectsTargets$outboundSchema.parse(getProjectsTargets), + ); +} + +export function getProjectsTargetsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsTargets$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsTargets' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsPermissions$inboundSchema: z.ZodType< + GetProjectsPermissions, + z.ZodTypeDef, + unknown +> = z.object({ + accessGroup: z.array(ACLAction$inboundSchema).optional(), + aliasGlobal: z.array(ACLAction$inboundSchema).optional(), + analyticsSampling: z.array(ACLAction$inboundSchema).optional(), + analyticsUsage: z.array(ACLAction$inboundSchema).optional(), + auditLog: z.array(ACLAction$inboundSchema).optional(), + billingAddress: z.array(ACLAction$inboundSchema).optional(), + billingInformation: z.array(ACLAction$inboundSchema).optional(), + billingInvoice: z.array(ACLAction$inboundSchema).optional(), + billingInvoiceEmailRecipient: z.array(ACLAction$inboundSchema).optional(), + billingInvoiceLanguage: z.array(ACLAction$inboundSchema).optional(), + billingPlan: z.array(ACLAction$inboundSchema).optional(), + billingPurchaseOrder: z.array(ACLAction$inboundSchema).optional(), + billingTaxId: z.array(ACLAction$inboundSchema).optional(), + blob: z.array(ACLAction$inboundSchema).optional(), + budget: z.array(ACLAction$inboundSchema).optional(), + cacheArtifact: z.array(ACLAction$inboundSchema).optional(), + cacheArtifactUsageEvent: z.array(ACLAction$inboundSchema).optional(), + codeChecks: z.array(ACLAction$inboundSchema).optional(), + concurrentBuilds: z.array(ACLAction$inboundSchema).optional(), + connect: z.array(ACLAction$inboundSchema).optional(), + connectConfiguration: z.array(ACLAction$inboundSchema).optional(), + domain: z.array(ACLAction$inboundSchema).optional(), + domainAcceptDelegation: z.array(ACLAction$inboundSchema).optional(), + domainAuthCodes: z.array(ACLAction$inboundSchema).optional(), + domainCertificate: z.array(ACLAction$inboundSchema).optional(), + domainCheckConfig: z.array(ACLAction$inboundSchema).optional(), + domainMove: z.array(ACLAction$inboundSchema).optional(), + domainPurchase: z.array(ACLAction$inboundSchema).optional(), + domainRecord: z.array(ACLAction$inboundSchema).optional(), + domainTransferIn: z.array(ACLAction$inboundSchema).optional(), + event: z.array(ACLAction$inboundSchema).optional(), + ownEvent: z.array(ACLAction$inboundSchema).optional(), + sensitiveEnvironmentVariablePolicy: z.array(ACLAction$inboundSchema) + .optional(), + fileUpload: z.array(ACLAction$inboundSchema).optional(), + gitRepository: z.array(ACLAction$inboundSchema).optional(), + ipBlocking: z.array(ACLAction$inboundSchema).optional(), + integration: z.array(ACLAction$inboundSchema).optional(), + integrationAccount: z.array(ACLAction$inboundSchema).optional(), + integrationConfiguration: z.array(ACLAction$inboundSchema).optional(), + integrationConfigurationTransfer: z.array(ACLAction$inboundSchema).optional(), + integrationConfigurationProjects: z.array(ACLAction$inboundSchema).optional(), + integrationVercelConfigurationOverride: z.array(ACLAction$inboundSchema) + .optional(), + integrationConfigurationRole: z.array(ACLAction$inboundSchema).optional(), + integrationResource: z.array(ACLAction$inboundSchema).optional(), + integrationEvent: z.array(ACLAction$inboundSchema).optional(), + integrationResourceSecrets: z.array(ACLAction$inboundSchema).optional(), + integrationDeploymentAction: z.array(ACLAction$inboundSchema).optional(), + marketplaceInstallationMember: z.array(ACLAction$inboundSchema).optional(), + marketplaceBillingData: z.array(ACLAction$inboundSchema).optional(), + marketplaceInvoice: z.array(ACLAction$inboundSchema).optional(), + jobGlobal: z.array(ACLAction$inboundSchema).optional(), + logDrain: z.array(ACLAction$inboundSchema).optional(), + Monitoring: z.array(ACLAction$inboundSchema).optional(), + monitoringSettings: z.array(ACLAction$inboundSchema).optional(), + monitoringQuery: z.array(ACLAction$inboundSchema).optional(), + monitoringChart: z.array(ACLAction$inboundSchema).optional(), + monitoringAlert: z.array(ACLAction$inboundSchema).optional(), + notificationDeploymentFailed: z.array(ACLAction$inboundSchema).optional(), + notificationDomainConfiguration: z.array(ACLAction$inboundSchema).optional(), + notificationDomainExpire: z.array(ACLAction$inboundSchema).optional(), + notificationDomainMoved: z.array(ACLAction$inboundSchema).optional(), + notificationDomainPurchase: z.array(ACLAction$inboundSchema).optional(), + notificationDomainRenewal: z.array(ACLAction$inboundSchema).optional(), + notificationDomainTransfer: z.array(ACLAction$inboundSchema).optional(), + notificationDomainUnverified: z.array(ACLAction$inboundSchema).optional(), + NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(), + notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(), + notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(), + notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), + notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(), + oauth2Connection: z.array(ACLAction$inboundSchema).optional(), + observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(), + openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(), + paymentMethod: z.array(ACLAction$inboundSchema).optional(), + permissions: z.array(ACLAction$inboundSchema).optional(), + postgres: z.array(ACLAction$inboundSchema).optional(), + previewDeploymentSuffix: z.array(ACLAction$inboundSchema).optional(), + proTrialOnboarding: z.array(ACLAction$inboundSchema).optional(), + sharedEnvVars: z.array(ACLAction$inboundSchema).optional(), + sharedEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(), + space: z.array(ACLAction$inboundSchema).optional(), + spaceRun: z.array(ACLAction$inboundSchema).optional(), + passwordProtectionInvoiceItem: z.array(ACLAction$inboundSchema).optional(), + rateLimit: z.array(ACLAction$inboundSchema).optional(), + redis: z.array(ACLAction$inboundSchema).optional(), + repository: z.array(ACLAction$inboundSchema).optional(), + remoteCaching: z.array(ACLAction$inboundSchema).optional(), + samlConfig: z.array(ACLAction$inboundSchema).optional(), + secret: z.array(ACLAction$inboundSchema).optional(), + redisStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + blobStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + postgresStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + integrationStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + integrationResourceReplCommand: z.array(ACLAction$inboundSchema).optional(), + storeTransfer: z.array(ACLAction$inboundSchema).optional(), + supportCase: z.array(ACLAction$inboundSchema).optional(), + supportCaseComment: z.array(ACLAction$inboundSchema).optional(), + dataCacheBillingSettings: z.array(ACLAction$inboundSchema).optional(), + team: z.array(ACLAction$inboundSchema).optional(), + teamAccessRequest: z.array(ACLAction$inboundSchema).optional(), + teamFellowMembership: z.array(ACLAction$inboundSchema).optional(), + teamGitExclusivity: z.array(ACLAction$inboundSchema).optional(), + teamInvite: z.array(ACLAction$inboundSchema).optional(), + teamInviteCode: z.array(ACLAction$inboundSchema).optional(), + teamJoin: z.array(ACLAction$inboundSchema).optional(), + teamMicrofrontends: z.array(ACLAction$inboundSchema).optional(), + teamOwnMembership: z.array(ACLAction$inboundSchema).optional(), + teamOwnMembershipDisconnectSAML: z.array(ACLAction$inboundSchema).optional(), + token: z.array(ACLAction$inboundSchema).optional(), + usage: z.array(ACLAction$inboundSchema).optional(), + usageCycle: z.array(ACLAction$inboundSchema).optional(), + user: z.array(ACLAction$inboundSchema).optional(), + userConnection: z.array(ACLAction$inboundSchema).optional(), + vpcPeeringConnection: z.array(ACLAction$inboundSchema).optional(), + webAnalyticsPlan: z.array(ACLAction$inboundSchema).optional(), + webAuthn: z.array(ACLAction$inboundSchema).optional(), + edgeConfig: z.array(ACLAction$inboundSchema).optional(), + edgeConfigItem: z.array(ACLAction$inboundSchema).optional(), + edgeConfigSchema: z.array(ACLAction$inboundSchema).optional(), + edgeConfigToken: z.array(ACLAction$inboundSchema).optional(), + webhook: z.array(ACLAction$inboundSchema).optional(), + "webhook-event": z.array(ACLAction$inboundSchema).optional(), + endpointVerification: z.array(ACLAction$inboundSchema).optional(), + projectTransferIn: z.array(ACLAction$inboundSchema).optional(), + oauth2Application: z.array(ACLAction$inboundSchema).optional(), + aliasProject: z.array(ACLAction$inboundSchema).optional(), + aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), + productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), + connectConfigurationLink: z.array(ACLAction$inboundSchema).optional(), + dataCacheNamespace: z.array(ACLAction$inboundSchema).optional(), + deployment: z.array(ACLAction$inboundSchema).optional(), + deploymentCheck: z.array(ACLAction$inboundSchema).optional(), + deploymentCheckPreview: z.array(ACLAction$inboundSchema).optional(), + deploymentCheckReRunFromProductionBranch: z.array(ACLAction$inboundSchema) + .optional(), + deploymentProductionGit: z.array(ACLAction$inboundSchema).optional(), + deploymentV0: z.array(ACLAction$inboundSchema).optional(), + deploymentPreview: z.array(ACLAction$inboundSchema).optional(), + deploymentPrivate: z.array(ACLAction$inboundSchema).optional(), + deploymentPromote: z.array(ACLAction$inboundSchema).optional(), + deploymentRollback: z.array(ACLAction$inboundSchema).optional(), + environments: z.array(ACLAction$inboundSchema).optional(), + logs: z.array(ACLAction$inboundSchema).optional(), + logsPreset: z.array(ACLAction$inboundSchema).optional(), + passwordProtection: z.array(ACLAction$inboundSchema).optional(), + optionsAllowlist: z.array(ACLAction$inboundSchema).optional(), + job: z.array(ACLAction$inboundSchema).optional(), + observabilityData: z.array(ACLAction$inboundSchema).optional(), + project: z.array(ACLAction$inboundSchema).optional(), + projectFromV0: z.array(ACLAction$inboundSchema).optional(), + projectAccessGroup: z.array(ACLAction$inboundSchema).optional(), + projectAnalyticsSampling: z.array(ACLAction$inboundSchema).optional(), + projectDeploymentHook: z.array(ACLAction$inboundSchema).optional(), + projectDomain: z.array(ACLAction$inboundSchema).optional(), + projectDomainMove: z.array(ACLAction$inboundSchema).optional(), + projectDomainCheckConfig: z.array(ACLAction$inboundSchema).optional(), + projectEnvVars: z.array(ACLAction$inboundSchema).optional(), + projectEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(), + projectEnvVarsUnownedByIntegration: z.array(ACLAction$inboundSchema) + .optional(), + projectFlags: z.array(ACLAction$inboundSchema).optional(), + projectId: z.array(ACLAction$inboundSchema).optional(), + projectIntegrationConfiguration: z.array(ACLAction$inboundSchema).optional(), + projectLink: z.array(ACLAction$inboundSchema).optional(), + projectMember: z.array(ACLAction$inboundSchema).optional(), + projectMonitoring: z.array(ACLAction$inboundSchema).optional(), + projectPermissions: z.array(ACLAction$inboundSchema).optional(), + projectProductionBranch: z.array(ACLAction$inboundSchema).optional(), + projectTransfer: z.array(ACLAction$inboundSchema).optional(), + projectTransferOut: z.array(ACLAction$inboundSchema).optional(), + projectProtectionBypass: z.array(ACLAction$inboundSchema).optional(), + projectUsage: z.array(ACLAction$inboundSchema).optional(), + projectAnalyticsUsage: z.array(ACLAction$inboundSchema).optional(), + projectSupportCase: z.array(ACLAction$inboundSchema).optional(), + projectSupportCaseComment: z.array(ACLAction$inboundSchema).optional(), + projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(), + projectTier: z.array(ACLAction$inboundSchema).optional(), + seawallConfig: z.array(ACLAction$inboundSchema).optional(), + skewProtection: z.array(ACLAction$inboundSchema).optional(), + analytics: z.array(ACLAction$inboundSchema).optional(), + trustedIps: z.array(ACLAction$inboundSchema).optional(), + webAnalytics: z.array(ACLAction$inboundSchema).optional(), + sharedEnvVarConnection: z.array(ACLAction$inboundSchema).optional(), + sonar: z.array(ACLAction$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "Monitoring": "monitoring", + "NotificationMonitoringAlert": "notificationMonitoringAlert", + "webhook-event": "webhookEvent", + }); +}); + +/** @internal */ +export type GetProjectsPermissions$Outbound = { + accessGroup?: Array | undefined; + aliasGlobal?: Array | undefined; + analyticsSampling?: Array | undefined; + analyticsUsage?: Array | undefined; + auditLog?: Array | undefined; + billingAddress?: Array | undefined; + billingInformation?: Array | undefined; + billingInvoice?: Array | undefined; + billingInvoiceEmailRecipient?: Array | undefined; + billingInvoiceLanguage?: Array | undefined; + billingPlan?: Array | undefined; + billingPurchaseOrder?: Array | undefined; + billingTaxId?: Array | undefined; + blob?: Array | undefined; + budget?: Array | undefined; + cacheArtifact?: Array | undefined; + cacheArtifactUsageEvent?: Array | undefined; + codeChecks?: Array | undefined; + concurrentBuilds?: Array | undefined; + connect?: Array | undefined; + connectConfiguration?: Array | undefined; + domain?: Array | undefined; + domainAcceptDelegation?: Array | undefined; + domainAuthCodes?: Array | undefined; + domainCertificate?: Array | undefined; + domainCheckConfig?: Array | undefined; + domainMove?: Array | undefined; + domainPurchase?: Array | undefined; + domainRecord?: Array | undefined; + domainTransferIn?: Array | undefined; + event?: Array | undefined; + ownEvent?: Array | undefined; + sensitiveEnvironmentVariablePolicy?: Array | undefined; + fileUpload?: Array | undefined; + gitRepository?: Array | undefined; + ipBlocking?: Array | undefined; + integration?: Array | undefined; + integrationAccount?: Array | undefined; + integrationConfiguration?: Array | undefined; + integrationConfigurationTransfer?: Array | undefined; + integrationConfigurationProjects?: Array | undefined; + integrationVercelConfigurationOverride?: Array | undefined; + integrationConfigurationRole?: Array | undefined; + integrationResource?: Array | undefined; + integrationEvent?: Array | undefined; + integrationResourceSecrets?: Array | undefined; + integrationDeploymentAction?: Array | undefined; + marketplaceInstallationMember?: Array | undefined; + marketplaceBillingData?: Array | undefined; + marketplaceInvoice?: Array | undefined; + jobGlobal?: Array | undefined; + logDrain?: Array | undefined; + Monitoring?: Array | undefined; + monitoringSettings?: Array | undefined; + monitoringQuery?: Array | undefined; + monitoringChart?: Array | undefined; + monitoringAlert?: Array | undefined; + notificationDeploymentFailed?: Array | undefined; + notificationDomainConfiguration?: Array | undefined; + notificationDomainExpire?: Array | undefined; + notificationDomainMoved?: Array | undefined; + notificationDomainPurchase?: Array | undefined; + notificationDomainRenewal?: Array | undefined; + notificationDomainTransfer?: Array | undefined; + notificationDomainUnverified?: Array | undefined; + NotificationMonitoringAlert?: Array | undefined; + notificationPaymentFailed?: Array | undefined; + notificationUsageAlert?: Array | undefined; + notificationCustomerBudget?: Array | undefined; + notificationStatementOfReasons?: Array | undefined; + oauth2Connection?: Array | undefined; + observabilityConfiguration?: Array | undefined; + openTelemetryEndpoint?: Array | undefined; + paymentMethod?: Array | undefined; + permissions?: Array | undefined; + postgres?: Array | undefined; + previewDeploymentSuffix?: Array | undefined; + proTrialOnboarding?: Array | undefined; + sharedEnvVars?: Array | undefined; + sharedEnvVarsProduction?: Array | undefined; + space?: Array | undefined; + spaceRun?: Array | undefined; + passwordProtectionInvoiceItem?: Array | undefined; + rateLimit?: Array | undefined; + redis?: Array | undefined; + repository?: Array | undefined; + remoteCaching?: Array | undefined; + samlConfig?: Array | undefined; + secret?: Array | undefined; + redisStoreTokenSet?: Array | undefined; + blobStoreTokenSet?: Array | undefined; + postgresStoreTokenSet?: Array | undefined; + integrationStoreTokenSet?: Array | undefined; + integrationResourceReplCommand?: Array | undefined; + storeTransfer?: Array | undefined; + supportCase?: Array | undefined; + supportCaseComment?: Array | undefined; + dataCacheBillingSettings?: Array | undefined; + team?: Array | undefined; + teamAccessRequest?: Array | undefined; + teamFellowMembership?: Array | undefined; + teamGitExclusivity?: Array | undefined; + teamInvite?: Array | undefined; + teamInviteCode?: Array | undefined; + teamJoin?: Array | undefined; + teamMicrofrontends?: Array | undefined; + teamOwnMembership?: Array | undefined; + teamOwnMembershipDisconnectSAML?: Array | undefined; + token?: Array | undefined; + usage?: Array | undefined; + usageCycle?: Array | undefined; + user?: Array | undefined; + userConnection?: Array | undefined; + vpcPeeringConnection?: Array | undefined; + webAnalyticsPlan?: Array | undefined; + webAuthn?: Array | undefined; + edgeConfig?: Array | undefined; + edgeConfigItem?: Array | undefined; + edgeConfigSchema?: Array | undefined; + edgeConfigToken?: Array | undefined; + webhook?: Array | undefined; + "webhook-event"?: Array | undefined; + endpointVerification?: Array | undefined; + projectTransferIn?: Array | undefined; + oauth2Application?: Array | undefined; + aliasProject?: Array | undefined; + aliasProtectionBypass?: Array | undefined; + productionAliasProtectionBypass?: Array | undefined; + connectConfigurationLink?: Array | undefined; + dataCacheNamespace?: Array | undefined; + deployment?: Array | undefined; + deploymentCheck?: Array | undefined; + deploymentCheckPreview?: Array | undefined; + deploymentCheckReRunFromProductionBranch?: Array | undefined; + deploymentProductionGit?: Array | undefined; + deploymentV0?: Array | undefined; + deploymentPreview?: Array | undefined; + deploymentPrivate?: Array | undefined; + deploymentPromote?: Array | undefined; + deploymentRollback?: Array | undefined; + environments?: Array | undefined; + logs?: Array | undefined; + logsPreset?: Array | undefined; + passwordProtection?: Array | undefined; + optionsAllowlist?: Array | undefined; + job?: Array | undefined; + observabilityData?: Array | undefined; + project?: Array | undefined; + projectFromV0?: Array | undefined; + projectAccessGroup?: Array | undefined; + projectAnalyticsSampling?: Array | undefined; + projectDeploymentHook?: Array | undefined; + projectDomain?: Array | undefined; + projectDomainMove?: Array | undefined; + projectDomainCheckConfig?: Array | undefined; + projectEnvVars?: Array | undefined; + projectEnvVarsProduction?: Array | undefined; + projectEnvVarsUnownedByIntegration?: Array | undefined; + projectFlags?: Array | undefined; + projectId?: Array | undefined; + projectIntegrationConfiguration?: Array | undefined; + projectLink?: Array | undefined; + projectMember?: Array | undefined; + projectMonitoring?: Array | undefined; + projectPermissions?: Array | undefined; + projectProductionBranch?: Array | undefined; + projectTransfer?: Array | undefined; + projectTransferOut?: Array | undefined; + projectProtectionBypass?: Array | undefined; + projectUsage?: Array | undefined; + projectAnalyticsUsage?: Array | undefined; + projectSupportCase?: Array | undefined; + projectSupportCaseComment?: Array | undefined; + projectDeploymentExpiration?: Array | undefined; + projectTier?: Array | undefined; + seawallConfig?: Array | undefined; + skewProtection?: Array | undefined; + analytics?: Array | undefined; + trustedIps?: Array | undefined; + webAnalytics?: Array | undefined; + sharedEnvVarConnection?: Array | undefined; + sonar?: Array | undefined; +}; + +/** @internal */ +export const GetProjectsPermissions$outboundSchema: z.ZodType< + GetProjectsPermissions$Outbound, + z.ZodTypeDef, + GetProjectsPermissions +> = z.object({ + accessGroup: z.array(ACLAction$outboundSchema).optional(), + aliasGlobal: z.array(ACLAction$outboundSchema).optional(), + analyticsSampling: z.array(ACLAction$outboundSchema).optional(), + analyticsUsage: z.array(ACLAction$outboundSchema).optional(), + auditLog: z.array(ACLAction$outboundSchema).optional(), + billingAddress: z.array(ACLAction$outboundSchema).optional(), + billingInformation: z.array(ACLAction$outboundSchema).optional(), + billingInvoice: z.array(ACLAction$outboundSchema).optional(), + billingInvoiceEmailRecipient: z.array(ACLAction$outboundSchema).optional(), + billingInvoiceLanguage: z.array(ACLAction$outboundSchema).optional(), + billingPlan: z.array(ACLAction$outboundSchema).optional(), + billingPurchaseOrder: z.array(ACLAction$outboundSchema).optional(), + billingTaxId: z.array(ACLAction$outboundSchema).optional(), + blob: z.array(ACLAction$outboundSchema).optional(), + budget: z.array(ACLAction$outboundSchema).optional(), + cacheArtifact: z.array(ACLAction$outboundSchema).optional(), + cacheArtifactUsageEvent: z.array(ACLAction$outboundSchema).optional(), + codeChecks: z.array(ACLAction$outboundSchema).optional(), + concurrentBuilds: z.array(ACLAction$outboundSchema).optional(), + connect: z.array(ACLAction$outboundSchema).optional(), + connectConfiguration: z.array(ACLAction$outboundSchema).optional(), + domain: z.array(ACLAction$outboundSchema).optional(), + domainAcceptDelegation: z.array(ACLAction$outboundSchema).optional(), + domainAuthCodes: z.array(ACLAction$outboundSchema).optional(), + domainCertificate: z.array(ACLAction$outboundSchema).optional(), + domainCheckConfig: z.array(ACLAction$outboundSchema).optional(), + domainMove: z.array(ACLAction$outboundSchema).optional(), + domainPurchase: z.array(ACLAction$outboundSchema).optional(), + domainRecord: z.array(ACLAction$outboundSchema).optional(), + domainTransferIn: z.array(ACLAction$outboundSchema).optional(), + event: z.array(ACLAction$outboundSchema).optional(), + ownEvent: z.array(ACLAction$outboundSchema).optional(), + sensitiveEnvironmentVariablePolicy: z.array(ACLAction$outboundSchema) + .optional(), + fileUpload: z.array(ACLAction$outboundSchema).optional(), + gitRepository: z.array(ACLAction$outboundSchema).optional(), + ipBlocking: z.array(ACLAction$outboundSchema).optional(), + integration: z.array(ACLAction$outboundSchema).optional(), + integrationAccount: z.array(ACLAction$outboundSchema).optional(), + integrationConfiguration: z.array(ACLAction$outboundSchema).optional(), + integrationConfigurationTransfer: z.array(ACLAction$outboundSchema) + .optional(), + integrationConfigurationProjects: z.array(ACLAction$outboundSchema) + .optional(), + integrationVercelConfigurationOverride: z.array(ACLAction$outboundSchema) + .optional(), + integrationConfigurationRole: z.array(ACLAction$outboundSchema).optional(), + integrationResource: z.array(ACLAction$outboundSchema).optional(), + integrationEvent: z.array(ACLAction$outboundSchema).optional(), + integrationResourceSecrets: z.array(ACLAction$outboundSchema).optional(), + integrationDeploymentAction: z.array(ACLAction$outboundSchema).optional(), + marketplaceInstallationMember: z.array(ACLAction$outboundSchema).optional(), + marketplaceBillingData: z.array(ACLAction$outboundSchema).optional(), + marketplaceInvoice: z.array(ACLAction$outboundSchema).optional(), + jobGlobal: z.array(ACLAction$outboundSchema).optional(), + logDrain: z.array(ACLAction$outboundSchema).optional(), + monitoring: z.array(ACLAction$outboundSchema).optional(), + monitoringSettings: z.array(ACLAction$outboundSchema).optional(), + monitoringQuery: z.array(ACLAction$outboundSchema).optional(), + monitoringChart: z.array(ACLAction$outboundSchema).optional(), + monitoringAlert: z.array(ACLAction$outboundSchema).optional(), + notificationDeploymentFailed: z.array(ACLAction$outboundSchema).optional(), + notificationDomainConfiguration: z.array(ACLAction$outboundSchema).optional(), + notificationDomainExpire: z.array(ACLAction$outboundSchema).optional(), + notificationDomainMoved: z.array(ACLAction$outboundSchema).optional(), + notificationDomainPurchase: z.array(ACLAction$outboundSchema).optional(), + notificationDomainRenewal: z.array(ACLAction$outboundSchema).optional(), + notificationDomainTransfer: z.array(ACLAction$outboundSchema).optional(), + notificationDomainUnverified: z.array(ACLAction$outboundSchema).optional(), + notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(), + notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(), + notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(), + notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), + notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(), + oauth2Connection: z.array(ACLAction$outboundSchema).optional(), + observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(), + openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(), + paymentMethod: z.array(ACLAction$outboundSchema).optional(), + permissions: z.array(ACLAction$outboundSchema).optional(), + postgres: z.array(ACLAction$outboundSchema).optional(), + previewDeploymentSuffix: z.array(ACLAction$outboundSchema).optional(), + proTrialOnboarding: z.array(ACLAction$outboundSchema).optional(), + sharedEnvVars: z.array(ACLAction$outboundSchema).optional(), + sharedEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(), + space: z.array(ACLAction$outboundSchema).optional(), + spaceRun: z.array(ACLAction$outboundSchema).optional(), + passwordProtectionInvoiceItem: z.array(ACLAction$outboundSchema).optional(), + rateLimit: z.array(ACLAction$outboundSchema).optional(), + redis: z.array(ACLAction$outboundSchema).optional(), + repository: z.array(ACLAction$outboundSchema).optional(), + remoteCaching: z.array(ACLAction$outboundSchema).optional(), + samlConfig: z.array(ACLAction$outboundSchema).optional(), + secret: z.array(ACLAction$outboundSchema).optional(), + redisStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + blobStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + postgresStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + integrationStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + integrationResourceReplCommand: z.array(ACLAction$outboundSchema).optional(), + storeTransfer: z.array(ACLAction$outboundSchema).optional(), + supportCase: z.array(ACLAction$outboundSchema).optional(), + supportCaseComment: z.array(ACLAction$outboundSchema).optional(), + dataCacheBillingSettings: z.array(ACLAction$outboundSchema).optional(), + team: z.array(ACLAction$outboundSchema).optional(), + teamAccessRequest: z.array(ACLAction$outboundSchema).optional(), + teamFellowMembership: z.array(ACLAction$outboundSchema).optional(), + teamGitExclusivity: z.array(ACLAction$outboundSchema).optional(), + teamInvite: z.array(ACLAction$outboundSchema).optional(), + teamInviteCode: z.array(ACLAction$outboundSchema).optional(), + teamJoin: z.array(ACLAction$outboundSchema).optional(), + teamMicrofrontends: z.array(ACLAction$outboundSchema).optional(), + teamOwnMembership: z.array(ACLAction$outboundSchema).optional(), + teamOwnMembershipDisconnectSAML: z.array(ACLAction$outboundSchema).optional(), + token: z.array(ACLAction$outboundSchema).optional(), + usage: z.array(ACLAction$outboundSchema).optional(), + usageCycle: z.array(ACLAction$outboundSchema).optional(), + user: z.array(ACLAction$outboundSchema).optional(), + userConnection: z.array(ACLAction$outboundSchema).optional(), + vpcPeeringConnection: z.array(ACLAction$outboundSchema).optional(), + webAnalyticsPlan: z.array(ACLAction$outboundSchema).optional(), + webAuthn: z.array(ACLAction$outboundSchema).optional(), + edgeConfig: z.array(ACLAction$outboundSchema).optional(), + edgeConfigItem: z.array(ACLAction$outboundSchema).optional(), + edgeConfigSchema: z.array(ACLAction$outboundSchema).optional(), + edgeConfigToken: z.array(ACLAction$outboundSchema).optional(), + webhook: z.array(ACLAction$outboundSchema).optional(), + webhookEvent: z.array(ACLAction$outboundSchema).optional(), + endpointVerification: z.array(ACLAction$outboundSchema).optional(), + projectTransferIn: z.array(ACLAction$outboundSchema).optional(), + oauth2Application: z.array(ACLAction$outboundSchema).optional(), + aliasProject: z.array(ACLAction$outboundSchema).optional(), + aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), + productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), + connectConfigurationLink: z.array(ACLAction$outboundSchema).optional(), + dataCacheNamespace: z.array(ACLAction$outboundSchema).optional(), + deployment: z.array(ACLAction$outboundSchema).optional(), + deploymentCheck: z.array(ACLAction$outboundSchema).optional(), + deploymentCheckPreview: z.array(ACLAction$outboundSchema).optional(), + deploymentCheckReRunFromProductionBranch: z.array(ACLAction$outboundSchema) + .optional(), + deploymentProductionGit: z.array(ACLAction$outboundSchema).optional(), + deploymentV0: z.array(ACLAction$outboundSchema).optional(), + deploymentPreview: z.array(ACLAction$outboundSchema).optional(), + deploymentPrivate: z.array(ACLAction$outboundSchema).optional(), + deploymentPromote: z.array(ACLAction$outboundSchema).optional(), + deploymentRollback: z.array(ACLAction$outboundSchema).optional(), + environments: z.array(ACLAction$outboundSchema).optional(), + logs: z.array(ACLAction$outboundSchema).optional(), + logsPreset: z.array(ACLAction$outboundSchema).optional(), + passwordProtection: z.array(ACLAction$outboundSchema).optional(), + optionsAllowlist: z.array(ACLAction$outboundSchema).optional(), + job: z.array(ACLAction$outboundSchema).optional(), + observabilityData: z.array(ACLAction$outboundSchema).optional(), + project: z.array(ACLAction$outboundSchema).optional(), + projectFromV0: z.array(ACLAction$outboundSchema).optional(), + projectAccessGroup: z.array(ACLAction$outboundSchema).optional(), + projectAnalyticsSampling: z.array(ACLAction$outboundSchema).optional(), + projectDeploymentHook: z.array(ACLAction$outboundSchema).optional(), + projectDomain: z.array(ACLAction$outboundSchema).optional(), + projectDomainMove: z.array(ACLAction$outboundSchema).optional(), + projectDomainCheckConfig: z.array(ACLAction$outboundSchema).optional(), + projectEnvVars: z.array(ACLAction$outboundSchema).optional(), + projectEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(), + projectEnvVarsUnownedByIntegration: z.array(ACLAction$outboundSchema) + .optional(), + projectFlags: z.array(ACLAction$outboundSchema).optional(), + projectId: z.array(ACLAction$outboundSchema).optional(), + projectIntegrationConfiguration: z.array(ACLAction$outboundSchema).optional(), + projectLink: z.array(ACLAction$outboundSchema).optional(), + projectMember: z.array(ACLAction$outboundSchema).optional(), + projectMonitoring: z.array(ACLAction$outboundSchema).optional(), + projectPermissions: z.array(ACLAction$outboundSchema).optional(), + projectProductionBranch: z.array(ACLAction$outboundSchema).optional(), + projectTransfer: z.array(ACLAction$outboundSchema).optional(), + projectTransferOut: z.array(ACLAction$outboundSchema).optional(), + projectProtectionBypass: z.array(ACLAction$outboundSchema).optional(), + projectUsage: z.array(ACLAction$outboundSchema).optional(), + projectAnalyticsUsage: z.array(ACLAction$outboundSchema).optional(), + projectSupportCase: z.array(ACLAction$outboundSchema).optional(), + projectSupportCaseComment: z.array(ACLAction$outboundSchema).optional(), + projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(), + projectTier: z.array(ACLAction$outboundSchema).optional(), + seawallConfig: z.array(ACLAction$outboundSchema).optional(), + skewProtection: z.array(ACLAction$outboundSchema).optional(), + analytics: z.array(ACLAction$outboundSchema).optional(), + trustedIps: z.array(ACLAction$outboundSchema).optional(), + webAnalytics: z.array(ACLAction$outboundSchema).optional(), + sharedEnvVarConnection: z.array(ACLAction$outboundSchema).optional(), + sonar: z.array(ACLAction$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + monitoring: "Monitoring", + notificationMonitoringAlert: "NotificationMonitoringAlert", + webhookEvent: "webhook-event", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsPermissions$ { + /** @deprecated use `GetProjectsPermissions$inboundSchema` instead. */ + export const inboundSchema = GetProjectsPermissions$inboundSchema; + /** @deprecated use `GetProjectsPermissions$outboundSchema` instead. */ + export const outboundSchema = GetProjectsPermissions$outboundSchema; + /** @deprecated use `GetProjectsPermissions$Outbound` instead. */ + export type Outbound = GetProjectsPermissions$Outbound; +} + +export function getProjectsPermissionsToJSON( + getProjectsPermissions: GetProjectsPermissions, +): string { + return JSON.stringify( + GetProjectsPermissions$outboundSchema.parse(getProjectsPermissions), + ); +} + +export function getProjectsPermissionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsPermissions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsPermissions' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsLastRollbackTarget$inboundSchema: z.ZodType< + GetProjectsLastRollbackTarget, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type GetProjectsLastRollbackTarget$Outbound = {}; + +/** @internal */ +export const GetProjectsLastRollbackTarget$outboundSchema: z.ZodType< + GetProjectsLastRollbackTarget$Outbound, + z.ZodTypeDef, + GetProjectsLastRollbackTarget +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsLastRollbackTarget$ { + /** @deprecated use `GetProjectsLastRollbackTarget$inboundSchema` instead. */ + export const inboundSchema = GetProjectsLastRollbackTarget$inboundSchema; + /** @deprecated use `GetProjectsLastRollbackTarget$outboundSchema` instead. */ + export const outboundSchema = GetProjectsLastRollbackTarget$outboundSchema; + /** @deprecated use `GetProjectsLastRollbackTarget$Outbound` instead. */ + export type Outbound = GetProjectsLastRollbackTarget$Outbound; +} + +export function getProjectsLastRollbackTargetToJSON( + getProjectsLastRollbackTarget: GetProjectsLastRollbackTarget, +): string { + return JSON.stringify( + GetProjectsLastRollbackTarget$outboundSchema.parse( + getProjectsLastRollbackTarget, + ), + ); +} + +export function getProjectsLastRollbackTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsLastRollbackTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsLastRollbackTarget' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsJobStatus$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsJobStatus +> = z.nativeEnum(GetProjectsJobStatus); + +/** @internal */ +export const GetProjectsJobStatus$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsJobStatus +> = GetProjectsJobStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsJobStatus$ { + /** @deprecated use `GetProjectsJobStatus$inboundSchema` instead. */ + export const inboundSchema = GetProjectsJobStatus$inboundSchema; + /** @deprecated use `GetProjectsJobStatus$outboundSchema` instead. */ + export const outboundSchema = GetProjectsJobStatus$outboundSchema; +} + +/** @internal */ +export const GetProjectsProjectsResponse200Type$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsResponse200Type +> = z.nativeEnum(GetProjectsProjectsResponse200Type); + +/** @internal */ +export const GetProjectsProjectsResponse200Type$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsResponse200Type +> = GetProjectsProjectsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsResponse200Type$ { + /** @deprecated use `GetProjectsProjectsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = GetProjectsProjectsResponse200Type$inboundSchema; + /** @deprecated use `GetProjectsProjectsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsProjectsResponse200Type$outboundSchema; +} + +/** @internal */ +export const GetProjectsLastAliasRequest$inboundSchema: z.ZodType< + GetProjectsLastAliasRequest, + z.ZodTypeDef, + unknown +> = z.object({ + fromDeploymentId: z.string(), + toDeploymentId: z.string(), + jobStatus: GetProjectsJobStatus$inboundSchema, + requestedAt: z.number(), + type: GetProjectsProjectsResponse200Type$inboundSchema, +}); + +/** @internal */ +export type GetProjectsLastAliasRequest$Outbound = { + fromDeploymentId: string; + toDeploymentId: string; + jobStatus: string; + requestedAt: number; + type: string; +}; + +/** @internal */ +export const GetProjectsLastAliasRequest$outboundSchema: z.ZodType< + GetProjectsLastAliasRequest$Outbound, + z.ZodTypeDef, + GetProjectsLastAliasRequest +> = z.object({ + fromDeploymentId: z.string(), + toDeploymentId: z.string(), + jobStatus: GetProjectsJobStatus$outboundSchema, + requestedAt: z.number(), + type: GetProjectsProjectsResponse200Type$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsLastAliasRequest$ { + /** @deprecated use `GetProjectsLastAliasRequest$inboundSchema` instead. */ + export const inboundSchema = GetProjectsLastAliasRequest$inboundSchema; + /** @deprecated use `GetProjectsLastAliasRequest$outboundSchema` instead. */ + export const outboundSchema = GetProjectsLastAliasRequest$outboundSchema; + /** @deprecated use `GetProjectsLastAliasRequest$Outbound` instead. */ + export type Outbound = GetProjectsLastAliasRequest$Outbound; +} + +export function getProjectsLastAliasRequestToJSON( + getProjectsLastAliasRequest: GetProjectsLastAliasRequest, +): string { + return JSON.stringify( + GetProjectsLastAliasRequest$outboundSchema.parse( + getProjectsLastAliasRequest, + ), + ); +} + +export function getProjectsLastAliasRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsLastAliasRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsLastAliasRequest' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsScope$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsScope +> = z.nativeEnum(GetProjectsScope); + +/** @internal */ +export const GetProjectsScope$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsScope +> = GetProjectsScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsScope$ { + /** @deprecated use `GetProjectsScope$inboundSchema` instead. */ + export const inboundSchema = GetProjectsScope$inboundSchema; + /** @deprecated use `GetProjectsScope$outboundSchema` instead. */ + export const outboundSchema = GetProjectsScope$outboundSchema; +} + +/** @internal */ +export const GetProjectsProtectionBypass$inboundSchema: z.ZodType< + GetProjectsProtectionBypass, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: GetProjectsScope$inboundSchema, +}); + +/** @internal */ +export type GetProjectsProtectionBypass$Outbound = { + createdAt: number; + createdBy: string; + scope: string; +}; + +/** @internal */ +export const GetProjectsProtectionBypass$outboundSchema: z.ZodType< + GetProjectsProtectionBypass$Outbound, + z.ZodTypeDef, + GetProjectsProtectionBypass +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: GetProjectsScope$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProtectionBypass$ { + /** @deprecated use `GetProjectsProtectionBypass$inboundSchema` instead. */ + export const inboundSchema = GetProjectsProtectionBypass$inboundSchema; + /** @deprecated use `GetProjectsProtectionBypass$outboundSchema` instead. */ + export const outboundSchema = GetProjectsProtectionBypass$outboundSchema; + /** @deprecated use `GetProjectsProtectionBypass$Outbound` instead. */ + export type Outbound = GetProjectsProtectionBypass$Outbound; +} + +export function getProjectsProtectionBypassToJSON( + getProjectsProtectionBypass: GetProjectsProtectionBypass, +): string { + return JSON.stringify( + GetProjectsProtectionBypass$outboundSchema.parse( + getProjectsProtectionBypass, + ), + ); +} + +export function getProjectsProtectionBypassFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsProtectionBypass$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsProtectionBypass' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsTrustedIpsProjectsDeploymentType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetProjectsTrustedIpsProjectsDeploymentType); + +/** @internal */ +export const GetProjectsTrustedIpsProjectsDeploymentType$outboundSchema: + z.ZodNativeEnum = + GetProjectsTrustedIpsProjectsDeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsTrustedIpsProjectsDeploymentType$ { + /** @deprecated use `GetProjectsTrustedIpsProjectsDeploymentType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsTrustedIpsProjectsDeploymentType$inboundSchema; + /** @deprecated use `GetProjectsTrustedIpsProjectsDeploymentType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsTrustedIpsProjectsDeploymentType$outboundSchema; +} + +/** @internal */ +export const GetProjectsTrustedIps2$inboundSchema: z.ZodType< + GetProjectsTrustedIps2, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentType: GetProjectsTrustedIpsProjectsDeploymentType$inboundSchema, +}); + +/** @internal */ +export type GetProjectsTrustedIps2$Outbound = { + deploymentType: string; +}; + +/** @internal */ +export const GetProjectsTrustedIps2$outboundSchema: z.ZodType< + GetProjectsTrustedIps2$Outbound, + z.ZodTypeDef, + GetProjectsTrustedIps2 +> = z.object({ + deploymentType: GetProjectsTrustedIpsProjectsDeploymentType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsTrustedIps2$ { + /** @deprecated use `GetProjectsTrustedIps2$inboundSchema` instead. */ + export const inboundSchema = GetProjectsTrustedIps2$inboundSchema; + /** @deprecated use `GetProjectsTrustedIps2$outboundSchema` instead. */ + export const outboundSchema = GetProjectsTrustedIps2$outboundSchema; + /** @deprecated use `GetProjectsTrustedIps2$Outbound` instead. */ + export type Outbound = GetProjectsTrustedIps2$Outbound; +} + +export function getProjectsTrustedIps2ToJSON( + getProjectsTrustedIps2: GetProjectsTrustedIps2, +): string { + return JSON.stringify( + GetProjectsTrustedIps2$outboundSchema.parse(getProjectsTrustedIps2), + ); +} + +export function getProjectsTrustedIps2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsTrustedIps2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsTrustedIps2' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsTrustedIpsDeploymentType$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsTrustedIpsDeploymentType +> = z.nativeEnum(GetProjectsTrustedIpsDeploymentType); + +/** @internal */ +export const GetProjectsTrustedIpsDeploymentType$outboundSchema: + z.ZodNativeEnum = + GetProjectsTrustedIpsDeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsTrustedIpsDeploymentType$ { + /** @deprecated use `GetProjectsTrustedIpsDeploymentType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsTrustedIpsDeploymentType$inboundSchema; + /** @deprecated use `GetProjectsTrustedIpsDeploymentType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsTrustedIpsDeploymentType$outboundSchema; +} + +/** @internal */ +export const GetProjectsTrustedIpsAddresses$inboundSchema: z.ZodType< + GetProjectsTrustedIpsAddresses, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.string(), + note: z.string().optional(), +}); + +/** @internal */ +export type GetProjectsTrustedIpsAddresses$Outbound = { + value: string; + note?: string | undefined; +}; + +/** @internal */ +export const GetProjectsTrustedIpsAddresses$outboundSchema: z.ZodType< + GetProjectsTrustedIpsAddresses$Outbound, + z.ZodTypeDef, + GetProjectsTrustedIpsAddresses +> = z.object({ + value: z.string(), + note: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsTrustedIpsAddresses$ { + /** @deprecated use `GetProjectsTrustedIpsAddresses$inboundSchema` instead. */ + export const inboundSchema = GetProjectsTrustedIpsAddresses$inboundSchema; + /** @deprecated use `GetProjectsTrustedIpsAddresses$outboundSchema` instead. */ + export const outboundSchema = GetProjectsTrustedIpsAddresses$outboundSchema; + /** @deprecated use `GetProjectsTrustedIpsAddresses$Outbound` instead. */ + export type Outbound = GetProjectsTrustedIpsAddresses$Outbound; +} + +export function getProjectsTrustedIpsAddressesToJSON( + getProjectsTrustedIpsAddresses: GetProjectsTrustedIpsAddresses, +): string { + return JSON.stringify( + GetProjectsTrustedIpsAddresses$outboundSchema.parse( + getProjectsTrustedIpsAddresses, + ), + ); +} + +export function getProjectsTrustedIpsAddressesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsTrustedIpsAddresses$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsTrustedIpsAddresses' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsTrustedIpsProtectionMode$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsTrustedIpsProtectionMode +> = z.nativeEnum(GetProjectsTrustedIpsProtectionMode); + +/** @internal */ +export const GetProjectsTrustedIpsProtectionMode$outboundSchema: + z.ZodNativeEnum = + GetProjectsTrustedIpsProtectionMode$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsTrustedIpsProtectionMode$ { + /** @deprecated use `GetProjectsTrustedIpsProtectionMode$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsTrustedIpsProtectionMode$inboundSchema; + /** @deprecated use `GetProjectsTrustedIpsProtectionMode$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsTrustedIpsProtectionMode$outboundSchema; +} + +/** @internal */ +export const GetProjectsTrustedIps1$inboundSchema: z.ZodType< + GetProjectsTrustedIps1, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentType: GetProjectsTrustedIpsDeploymentType$inboundSchema, + addresses: z.array( + z.lazy(() => GetProjectsTrustedIpsAddresses$inboundSchema), + ), + protectionMode: GetProjectsTrustedIpsProtectionMode$inboundSchema, +}); + +/** @internal */ +export type GetProjectsTrustedIps1$Outbound = { + deploymentType: string; + addresses: Array; + protectionMode: string; +}; + +/** @internal */ +export const GetProjectsTrustedIps1$outboundSchema: z.ZodType< + GetProjectsTrustedIps1$Outbound, + z.ZodTypeDef, + GetProjectsTrustedIps1 +> = z.object({ + deploymentType: GetProjectsTrustedIpsDeploymentType$outboundSchema, + addresses: z.array( + z.lazy(() => GetProjectsTrustedIpsAddresses$outboundSchema), + ), + protectionMode: GetProjectsTrustedIpsProtectionMode$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsTrustedIps1$ { + /** @deprecated use `GetProjectsTrustedIps1$inboundSchema` instead. */ + export const inboundSchema = GetProjectsTrustedIps1$inboundSchema; + /** @deprecated use `GetProjectsTrustedIps1$outboundSchema` instead. */ + export const outboundSchema = GetProjectsTrustedIps1$outboundSchema; + /** @deprecated use `GetProjectsTrustedIps1$Outbound` instead. */ + export type Outbound = GetProjectsTrustedIps1$Outbound; +} + +export function getProjectsTrustedIps1ToJSON( + getProjectsTrustedIps1: GetProjectsTrustedIps1, +): string { + return JSON.stringify( + GetProjectsTrustedIps1$outboundSchema.parse(getProjectsTrustedIps1), + ); +} + +export function getProjectsTrustedIps1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsTrustedIps1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsTrustedIps1' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsTrustedIps$inboundSchema: z.ZodType< + GetProjectsTrustedIps, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetProjectsTrustedIps2$inboundSchema), + z.lazy(() => GetProjectsTrustedIps1$inboundSchema), +]); + +/** @internal */ +export type GetProjectsTrustedIps$Outbound = + | GetProjectsTrustedIps2$Outbound + | GetProjectsTrustedIps1$Outbound; + +/** @internal */ +export const GetProjectsTrustedIps$outboundSchema: z.ZodType< + GetProjectsTrustedIps$Outbound, + z.ZodTypeDef, + GetProjectsTrustedIps +> = z.union([ + z.lazy(() => GetProjectsTrustedIps2$outboundSchema), + z.lazy(() => GetProjectsTrustedIps1$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsTrustedIps$ { + /** @deprecated use `GetProjectsTrustedIps$inboundSchema` instead. */ + export const inboundSchema = GetProjectsTrustedIps$inboundSchema; + /** @deprecated use `GetProjectsTrustedIps$outboundSchema` instead. */ + export const outboundSchema = GetProjectsTrustedIps$outboundSchema; + /** @deprecated use `GetProjectsTrustedIps$Outbound` instead. */ + export type Outbound = GetProjectsTrustedIps$Outbound; +} + +export function getProjectsTrustedIpsToJSON( + getProjectsTrustedIps: GetProjectsTrustedIps, +): string { + return JSON.stringify( + GetProjectsTrustedIps$outboundSchema.parse(getProjectsTrustedIps), + ); +} + +export function getProjectsTrustedIpsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsTrustedIps$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsTrustedIps' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsGitComments$inboundSchema: z.ZodType< + GetProjectsGitComments, + z.ZodTypeDef, + unknown +> = z.object({ + onPullRequest: z.boolean(), + onCommit: z.boolean(), +}); + +/** @internal */ +export type GetProjectsGitComments$Outbound = { + onPullRequest: boolean; + onCommit: boolean; +}; + +/** @internal */ +export const GetProjectsGitComments$outboundSchema: z.ZodType< + GetProjectsGitComments$Outbound, + z.ZodTypeDef, + GetProjectsGitComments +> = z.object({ + onPullRequest: z.boolean(), + onCommit: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsGitComments$ { + /** @deprecated use `GetProjectsGitComments$inboundSchema` instead. */ + export const inboundSchema = GetProjectsGitComments$inboundSchema; + /** @deprecated use `GetProjectsGitComments$outboundSchema` instead. */ + export const outboundSchema = GetProjectsGitComments$outboundSchema; + /** @deprecated use `GetProjectsGitComments$Outbound` instead. */ + export type Outbound = GetProjectsGitComments$Outbound; +} + +export function getProjectsGitCommentsToJSON( + getProjectsGitComments: GetProjectsGitComments, +): string { + return JSON.stringify( + GetProjectsGitComments$outboundSchema.parse(getProjectsGitComments), + ); +} + +export function getProjectsGitCommentsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsGitComments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsGitComments' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsWebAnalytics$inboundSchema: z.ZodType< + GetProjectsWebAnalytics, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), +}); + +/** @internal */ +export type GetProjectsWebAnalytics$Outbound = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; +}; + +/** @internal */ +export const GetProjectsWebAnalytics$outboundSchema: z.ZodType< + GetProjectsWebAnalytics$Outbound, + z.ZodTypeDef, + GetProjectsWebAnalytics +> = z.object({ + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsWebAnalytics$ { + /** @deprecated use `GetProjectsWebAnalytics$inboundSchema` instead. */ + export const inboundSchema = GetProjectsWebAnalytics$inboundSchema; + /** @deprecated use `GetProjectsWebAnalytics$outboundSchema` instead. */ + export const outboundSchema = GetProjectsWebAnalytics$outboundSchema; + /** @deprecated use `GetProjectsWebAnalytics$Outbound` instead. */ + export type Outbound = GetProjectsWebAnalytics$Outbound; +} + +export function getProjectsWebAnalyticsToJSON( + getProjectsWebAnalytics: GetProjectsWebAnalytics, +): string { + return JSON.stringify( + GetProjectsWebAnalytics$outboundSchema.parse(getProjectsWebAnalytics), + ); +} + +export function getProjectsWebAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsWebAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsWebAnalytics' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsSrc2$inboundSchema: z.ZodType< + GetProjectsSrc2, + z.ZodTypeDef, + unknown +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** @internal */ +export type GetProjectsSrc2$Outbound = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +/** @internal */ +export const GetProjectsSrc2$outboundSchema: z.ZodType< + GetProjectsSrc2$Outbound, + z.ZodTypeDef, + GetProjectsSrc2 +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsSrc2$ { + /** @deprecated use `GetProjectsSrc2$inboundSchema` instead. */ + export const inboundSchema = GetProjectsSrc2$inboundSchema; + /** @deprecated use `GetProjectsSrc2$outboundSchema` instead. */ + export const outboundSchema = GetProjectsSrc2$outboundSchema; + /** @deprecated use `GetProjectsSrc2$Outbound` instead. */ + export type Outbound = GetProjectsSrc2$Outbound; +} + +export function getProjectsSrc2ToJSON( + getProjectsSrc2: GetProjectsSrc2, +): string { + return JSON.stringify(GetProjectsSrc2$outboundSchema.parse(getProjectsSrc2)); +} + +export function getProjectsSrc2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsSrc2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsSrc2' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsSrc$inboundSchema: z.ZodType< + GetProjectsSrc, + z.ZodTypeDef, + unknown +> = z.union([z.lazy(() => GetProjectsSrc2$inboundSchema), z.string()]); + +/** @internal */ +export type GetProjectsSrc$Outbound = GetProjectsSrc2$Outbound | string; + +/** @internal */ +export const GetProjectsSrc$outboundSchema: z.ZodType< + GetProjectsSrc$Outbound, + z.ZodTypeDef, + GetProjectsSrc +> = z.union([z.lazy(() => GetProjectsSrc2$outboundSchema), z.string()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsSrc$ { + /** @deprecated use `GetProjectsSrc$inboundSchema` instead. */ + export const inboundSchema = GetProjectsSrc$inboundSchema; + /** @deprecated use `GetProjectsSrc$outboundSchema` instead. */ + export const outboundSchema = GetProjectsSrc$outboundSchema; + /** @deprecated use `GetProjectsSrc$Outbound` instead. */ + export type Outbound = GetProjectsSrc$Outbound; +} + +export function getProjectsSrcToJSON(getProjectsSrc: GetProjectsSrc): string { + return JSON.stringify(GetProjectsSrc$outboundSchema.parse(getProjectsSrc)); +} + +export function getProjectsSrcFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsSrc$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsSrc' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType + > = z.nativeEnum( + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType, + ); + +/** @internal */ +export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType + > = + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$ { + /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$inboundSchema; + /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$outboundSchema; +} + +/** @internal */ +export const GetProjectsValue2$inboundSchema: z.ZodType< + GetProjectsValue2, + z.ZodTypeDef, + unknown +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** @internal */ +export type GetProjectsValue2$Outbound = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +/** @internal */ +export const GetProjectsValue2$outboundSchema: z.ZodType< + GetProjectsValue2$Outbound, + z.ZodTypeDef, + GetProjectsValue2 +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsValue2$ { + /** @deprecated use `GetProjectsValue2$inboundSchema` instead. */ + export const inboundSchema = GetProjectsValue2$inboundSchema; + /** @deprecated use `GetProjectsValue2$outboundSchema` instead. */ + export const outboundSchema = GetProjectsValue2$outboundSchema; + /** @deprecated use `GetProjectsValue2$Outbound` instead. */ + export type Outbound = GetProjectsValue2$Outbound; +} + +export function getProjectsValue2ToJSON( + getProjectsValue2: GetProjectsValue2, +): string { + return JSON.stringify( + GetProjectsValue2$outboundSchema.parse(getProjectsValue2), + ); +} + +export function getProjectsValue2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsValue2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsValue2' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsValue$inboundSchema: z.ZodType< + GetProjectsValue, + z.ZodTypeDef, + unknown +> = z.union([z.lazy(() => GetProjectsValue2$inboundSchema), z.string()]); + +/** @internal */ +export type GetProjectsValue$Outbound = GetProjectsValue2$Outbound | string; + +/** @internal */ +export const GetProjectsValue$outboundSchema: z.ZodType< + GetProjectsValue$Outbound, + z.ZodTypeDef, + GetProjectsValue +> = z.union([z.lazy(() => GetProjectsValue2$outboundSchema), z.string()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsValue$ { + /** @deprecated use `GetProjectsValue$inboundSchema` instead. */ + export const inboundSchema = GetProjectsValue$inboundSchema; + /** @deprecated use `GetProjectsValue$outboundSchema` instead. */ + export const outboundSchema = GetProjectsValue$outboundSchema; + /** @deprecated use `GetProjectsValue$Outbound` instead. */ + export type Outbound = GetProjectsValue$Outbound; +} + +export function getProjectsValueToJSON( + getProjectsValue: GetProjectsValue, +): string { + return JSON.stringify( + GetProjectsValue$outboundSchema.parse(getProjectsValue), + ); +} + +export function getProjectsValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsValue' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsHas$inboundSchema: z.ZodType< + GetProjectsHas, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$inboundSchema, + key: z.string().optional(), + value: z.union([z.lazy(() => GetProjectsValue2$inboundSchema), z.string()]) + .optional(), +}); + +/** @internal */ +export type GetProjectsHas$Outbound = { + type: string; + key?: string | undefined; + value?: GetProjectsValue2$Outbound | string | undefined; +}; + +/** @internal */ +export const GetProjectsHas$outboundSchema: z.ZodType< + GetProjectsHas$Outbound, + z.ZodTypeDef, + GetProjectsHas +> = z.object({ + type: + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$outboundSchema, + key: z.string().optional(), + value: z.union([z.lazy(() => GetProjectsValue2$outboundSchema), z.string()]) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsHas$ { + /** @deprecated use `GetProjectsHas$inboundSchema` instead. */ + export const inboundSchema = GetProjectsHas$inboundSchema; + /** @deprecated use `GetProjectsHas$outboundSchema` instead. */ + export const outboundSchema = GetProjectsHas$outboundSchema; + /** @deprecated use `GetProjectsHas$Outbound` instead. */ + export type Outbound = GetProjectsHas$Outbound; +} + +export function getProjectsHasToJSON(getProjectsHas: GetProjectsHas): string { + return JSON.stringify(GetProjectsHas$outboundSchema.parse(getProjectsHas)); +} + +export function getProjectsHasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsHas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsHas' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$inboundSchema: + z.ZodNativeEnum< + typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType + > = z.nativeEnum( + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType, + ); + +/** @internal */ +export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$outboundSchema: + z.ZodNativeEnum< + typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType + > = + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$ { + /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$inboundSchema` instead. */ + export const inboundSchema = + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$inboundSchema; + /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$outboundSchema` instead. */ + export const outboundSchema = + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$outboundSchema; +} + +/** @internal */ +export const GetProjectsValueProjects2$inboundSchema: z.ZodType< + GetProjectsValueProjects2, + z.ZodTypeDef, + unknown +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** @internal */ +export type GetProjectsValueProjects2$Outbound = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +/** @internal */ +export const GetProjectsValueProjects2$outboundSchema: z.ZodType< + GetProjectsValueProjects2$Outbound, + z.ZodTypeDef, + GetProjectsValueProjects2 +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsValueProjects2$ { + /** @deprecated use `GetProjectsValueProjects2$inboundSchema` instead. */ + export const inboundSchema = GetProjectsValueProjects2$inboundSchema; + /** @deprecated use `GetProjectsValueProjects2$outboundSchema` instead. */ + export const outboundSchema = GetProjectsValueProjects2$outboundSchema; + /** @deprecated use `GetProjectsValueProjects2$Outbound` instead. */ + export type Outbound = GetProjectsValueProjects2$Outbound; +} + +export function getProjectsValueProjects2ToJSON( + getProjectsValueProjects2: GetProjectsValueProjects2, +): string { + return JSON.stringify( + GetProjectsValueProjects2$outboundSchema.parse(getProjectsValueProjects2), + ); +} + +export function getProjectsValueProjects2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsValueProjects2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsValueProjects2' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsProjectsValue$inboundSchema: z.ZodType< + GetProjectsProjectsValue, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetProjectsValueProjects2$inboundSchema), + z.string(), +]); + +/** @internal */ +export type GetProjectsProjectsValue$Outbound = + | GetProjectsValueProjects2$Outbound + | string; + +/** @internal */ +export const GetProjectsProjectsValue$outboundSchema: z.ZodType< + GetProjectsProjectsValue$Outbound, + z.ZodTypeDef, + GetProjectsProjectsValue +> = z.union([ + z.lazy(() => GetProjectsValueProjects2$outboundSchema), + z.string(), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjectsValue$ { + /** @deprecated use `GetProjectsProjectsValue$inboundSchema` instead. */ + export const inboundSchema = GetProjectsProjectsValue$inboundSchema; + /** @deprecated use `GetProjectsProjectsValue$outboundSchema` instead. */ + export const outboundSchema = GetProjectsProjectsValue$outboundSchema; + /** @deprecated use `GetProjectsProjectsValue$Outbound` instead. */ + export type Outbound = GetProjectsProjectsValue$Outbound; +} + +export function getProjectsProjectsValueToJSON( + getProjectsProjectsValue: GetProjectsProjectsValue, +): string { + return JSON.stringify( + GetProjectsProjectsValue$outboundSchema.parse(getProjectsProjectsValue), + ); +} + +export function getProjectsProjectsValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsProjectsValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsProjectsValue' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsMissing$inboundSchema: z.ZodType< + GetProjectsMissing, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$inboundSchema, + key: z.string().optional(), + value: z.union([ + z.lazy(() => GetProjectsValueProjects2$inboundSchema), + z.string(), + ]).optional(), +}); + +/** @internal */ +export type GetProjectsMissing$Outbound = { + type: string; + key?: string | undefined; + value?: GetProjectsValueProjects2$Outbound | string | undefined; +}; + +/** @internal */ +export const GetProjectsMissing$outboundSchema: z.ZodType< + GetProjectsMissing$Outbound, + z.ZodTypeDef, + GetProjectsMissing +> = z.object({ + type: + GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$outboundSchema, + key: z.string().optional(), + value: z.union([ + z.lazy(() => GetProjectsValueProjects2$outboundSchema), + z.string(), + ]).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsMissing$ { + /** @deprecated use `GetProjectsMissing$inboundSchema` instead. */ + export const inboundSchema = GetProjectsMissing$inboundSchema; + /** @deprecated use `GetProjectsMissing$outboundSchema` instead. */ + export const outboundSchema = GetProjectsMissing$outboundSchema; + /** @deprecated use `GetProjectsMissing$Outbound` instead. */ + export type Outbound = GetProjectsMissing$Outbound; +} + +export function getProjectsMissingToJSON( + getProjectsMissing: GetProjectsMissing, +): string { + return JSON.stringify( + GetProjectsMissing$outboundSchema.parse(getProjectsMissing), + ); +} + +export function getProjectsMissingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsMissing$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsMissing' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsHandle$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsHandle +> = z.nativeEnum(GetProjectsHandle); + +/** @internal */ +export const GetProjectsHandle$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsHandle +> = GetProjectsHandle$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsHandle$ { + /** @deprecated use `GetProjectsHandle$inboundSchema` instead. */ + export const inboundSchema = GetProjectsHandle$inboundSchema; + /** @deprecated use `GetProjectsHandle$outboundSchema` instead. */ + export const outboundSchema = GetProjectsHandle$outboundSchema; +} + +/** @internal */ +export const GetProjectsAction$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsAction +> = z.nativeEnum(GetProjectsAction); + +/** @internal */ +export const GetProjectsAction$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsAction +> = GetProjectsAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsAction$ { + /** @deprecated use `GetProjectsAction$inboundSchema` instead. */ + export const inboundSchema = GetProjectsAction$inboundSchema; + /** @deprecated use `GetProjectsAction$outboundSchema` instead. */ + export const outboundSchema = GetProjectsAction$outboundSchema; +} + +/** @internal */ +export const GetProjectsAlgo$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsAlgo +> = z.nativeEnum(GetProjectsAlgo); + +/** @internal */ +export const GetProjectsAlgo$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsAlgo +> = GetProjectsAlgo$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsAlgo$ { + /** @deprecated use `GetProjectsAlgo$inboundSchema` instead. */ + export const inboundSchema = GetProjectsAlgo$inboundSchema; + /** @deprecated use `GetProjectsAlgo$outboundSchema` instead. */ + export const outboundSchema = GetProjectsAlgo$outboundSchema; +} + +/** @internal */ +export const GetProjectsErl$inboundSchema: z.ZodType< + GetProjectsErl, + z.ZodTypeDef, + unknown +> = z.object({ + algo: GetProjectsAlgo$inboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), +}); + +/** @internal */ +export type GetProjectsErl$Outbound = { + algo: string; + window: number; + limit: number; + keys: Array; +}; + +/** @internal */ +export const GetProjectsErl$outboundSchema: z.ZodType< + GetProjectsErl$Outbound, + z.ZodTypeDef, + GetProjectsErl +> = z.object({ + algo: GetProjectsAlgo$outboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsErl$ { + /** @deprecated use `GetProjectsErl$inboundSchema` instead. */ + export const inboundSchema = GetProjectsErl$inboundSchema; + /** @deprecated use `GetProjectsErl$outboundSchema` instead. */ + export const outboundSchema = GetProjectsErl$outboundSchema; + /** @deprecated use `GetProjectsErl$Outbound` instead. */ + export type Outbound = GetProjectsErl$Outbound; +} + +export function getProjectsErlToJSON(getProjectsErl: GetProjectsErl): string { + return JSON.stringify(GetProjectsErl$outboundSchema.parse(getProjectsErl)); +} + +export function getProjectsErlFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsErl$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsErl' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsMitigate$inboundSchema: z.ZodType< + GetProjectsMitigate, + z.ZodTypeDef, + unknown +> = z.object({ + action: GetProjectsAction$inboundSchema, + rule_id: z.string(), + ttl: z.number().optional(), + erl: z.lazy(() => GetProjectsErl$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "rule_id": "ruleId", + }); +}); + +/** @internal */ +export type GetProjectsMitigate$Outbound = { + action: string; + rule_id: string; + ttl?: number | undefined; + erl?: GetProjectsErl$Outbound | undefined; +}; + +/** @internal */ +export const GetProjectsMitigate$outboundSchema: z.ZodType< + GetProjectsMitigate$Outbound, + z.ZodTypeDef, + GetProjectsMitigate +> = z.object({ + action: GetProjectsAction$outboundSchema, + ruleId: z.string(), + ttl: z.number().optional(), + erl: z.lazy(() => GetProjectsErl$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + ruleId: "rule_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsMitigate$ { + /** @deprecated use `GetProjectsMitigate$inboundSchema` instead. */ + export const inboundSchema = GetProjectsMitigate$inboundSchema; + /** @deprecated use `GetProjectsMitigate$outboundSchema` instead. */ + export const outboundSchema = GetProjectsMitigate$outboundSchema; + /** @deprecated use `GetProjectsMitigate$Outbound` instead. */ + export type Outbound = GetProjectsMitigate$Outbound; +} + +export function getProjectsMitigateToJSON( + getProjectsMitigate: GetProjectsMitigate, +): string { + return JSON.stringify( + GetProjectsMitigate$outboundSchema.parse(getProjectsMitigate), + ); +} + +export function getProjectsMitigateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsMitigate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsMitigate' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsFirewallRoutes$inboundSchema: z.ZodType< + GetProjectsFirewallRoutes, + z.ZodTypeDef, + unknown +> = z.object({ + src: z.union([z.lazy(() => GetProjectsSrc2$inboundSchema), z.string()]) + .optional(), + has: z.array(z.lazy(() => GetProjectsHas$inboundSchema)).optional(), + missing: z.array(z.lazy(() => GetProjectsMissing$inboundSchema)).optional(), + dest: z.string().optional(), + status: z.number().optional(), + handle: GetProjectsHandle$inboundSchema.optional(), + mitigate: z.lazy(() => GetProjectsMitigate$inboundSchema).optional(), +}); + +/** @internal */ +export type GetProjectsFirewallRoutes$Outbound = { + src?: GetProjectsSrc2$Outbound | string | undefined; + has?: Array | undefined; + missing?: Array | undefined; + dest?: string | undefined; + status?: number | undefined; + handle?: string | undefined; + mitigate?: GetProjectsMitigate$Outbound | undefined; +}; + +/** @internal */ +export const GetProjectsFirewallRoutes$outboundSchema: z.ZodType< + GetProjectsFirewallRoutes$Outbound, + z.ZodTypeDef, + GetProjectsFirewallRoutes +> = z.object({ + src: z.union([z.lazy(() => GetProjectsSrc2$outboundSchema), z.string()]) + .optional(), + has: z.array(z.lazy(() => GetProjectsHas$outboundSchema)).optional(), + missing: z.array(z.lazy(() => GetProjectsMissing$outboundSchema)).optional(), + dest: z.string().optional(), + status: z.number().optional(), + handle: GetProjectsHandle$outboundSchema.optional(), + mitigate: z.lazy(() => GetProjectsMitigate$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsFirewallRoutes$ { + /** @deprecated use `GetProjectsFirewallRoutes$inboundSchema` instead. */ + export const inboundSchema = GetProjectsFirewallRoutes$inboundSchema; + /** @deprecated use `GetProjectsFirewallRoutes$outboundSchema` instead. */ + export const outboundSchema = GetProjectsFirewallRoutes$outboundSchema; + /** @deprecated use `GetProjectsFirewallRoutes$Outbound` instead. */ + export type Outbound = GetProjectsFirewallRoutes$Outbound; +} + +export function getProjectsFirewallRoutesToJSON( + getProjectsFirewallRoutes: GetProjectsFirewallRoutes, +): string { + return JSON.stringify( + GetProjectsFirewallRoutes$outboundSchema.parse(getProjectsFirewallRoutes), + ); +} + +export function getProjectsFirewallRoutesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsFirewallRoutes$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsFirewallRoutes' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsSecurity$inboundSchema: z.ZodType< + GetProjectsSecurity, + z.ZodTypeDef, + unknown +> = z.object({ + attackModeEnabled: z.boolean().optional(), + attackModeUpdatedAt: z.number().optional(), + firewallEnabled: z.boolean().optional(), + firewallUpdatedAt: z.number().optional(), + attackModeActiveUntil: z.nullable(z.number()).optional(), + firewallConfigVersion: z.number().optional(), + firewallRoutes: z.array(z.lazy(() => GetProjectsFirewallRoutes$inboundSchema)) + .optional(), + firewallSeawallEnabled: z.boolean().optional(), + ja3Enabled: z.boolean().optional(), + ja4Enabled: z.boolean().optional(), + firewallBypassIps: z.array(z.string()).optional(), +}); + +/** @internal */ +export type GetProjectsSecurity$Outbound = { + attackModeEnabled?: boolean | undefined; + attackModeUpdatedAt?: number | undefined; + firewallEnabled?: boolean | undefined; + firewallUpdatedAt?: number | undefined; + attackModeActiveUntil?: number | null | undefined; + firewallConfigVersion?: number | undefined; + firewallRoutes?: Array | undefined; + firewallSeawallEnabled?: boolean | undefined; + ja3Enabled?: boolean | undefined; + ja4Enabled?: boolean | undefined; + firewallBypassIps?: Array | undefined; +}; + +/** @internal */ +export const GetProjectsSecurity$outboundSchema: z.ZodType< + GetProjectsSecurity$Outbound, + z.ZodTypeDef, + GetProjectsSecurity +> = z.object({ + attackModeEnabled: z.boolean().optional(), + attackModeUpdatedAt: z.number().optional(), + firewallEnabled: z.boolean().optional(), + firewallUpdatedAt: z.number().optional(), + attackModeActiveUntil: z.nullable(z.number()).optional(), + firewallConfigVersion: z.number().optional(), + firewallRoutes: z.array( + z.lazy(() => GetProjectsFirewallRoutes$outboundSchema), + ).optional(), + firewallSeawallEnabled: z.boolean().optional(), + ja3Enabled: z.boolean().optional(), + ja4Enabled: z.boolean().optional(), + firewallBypassIps: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsSecurity$ { + /** @deprecated use `GetProjectsSecurity$inboundSchema` instead. */ + export const inboundSchema = GetProjectsSecurity$inboundSchema; + /** @deprecated use `GetProjectsSecurity$outboundSchema` instead. */ + export const outboundSchema = GetProjectsSecurity$outboundSchema; + /** @deprecated use `GetProjectsSecurity$Outbound` instead. */ + export type Outbound = GetProjectsSecurity$Outbound; +} + +export function getProjectsSecurityToJSON( + getProjectsSecurity: GetProjectsSecurity, +): string { + return JSON.stringify( + GetProjectsSecurity$outboundSchema.parse(getProjectsSecurity), + ); +} + +export function getProjectsSecurityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsSecurity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsSecurity' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsIssuerMode$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsIssuerMode +> = z.nativeEnum(GetProjectsIssuerMode); + +/** @internal */ +export const GetProjectsIssuerMode$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsIssuerMode +> = GetProjectsIssuerMode$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsIssuerMode$ { + /** @deprecated use `GetProjectsIssuerMode$inboundSchema` instead. */ + export const inboundSchema = GetProjectsIssuerMode$inboundSchema; + /** @deprecated use `GetProjectsIssuerMode$outboundSchema` instead. */ + export const outboundSchema = GetProjectsIssuerMode$outboundSchema; +} + +/** @internal */ +export const GetProjectsOidcTokenConfig$inboundSchema: z.ZodType< + GetProjectsOidcTokenConfig, + z.ZodTypeDef, + unknown +> = z.object({ + enabled: z.boolean(), + issuerMode: GetProjectsIssuerMode$inboundSchema.optional(), +}); + +/** @internal */ +export type GetProjectsOidcTokenConfig$Outbound = { + enabled: boolean; + issuerMode?: string | undefined; +}; + +/** @internal */ +export const GetProjectsOidcTokenConfig$outboundSchema: z.ZodType< + GetProjectsOidcTokenConfig$Outbound, + z.ZodTypeDef, + GetProjectsOidcTokenConfig +> = z.object({ + enabled: z.boolean(), + issuerMode: GetProjectsIssuerMode$outboundSchema.optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsOidcTokenConfig$ { + /** @deprecated use `GetProjectsOidcTokenConfig$inboundSchema` instead. */ + export const inboundSchema = GetProjectsOidcTokenConfig$inboundSchema; + /** @deprecated use `GetProjectsOidcTokenConfig$outboundSchema` instead. */ + export const outboundSchema = GetProjectsOidcTokenConfig$outboundSchema; + /** @deprecated use `GetProjectsOidcTokenConfig$Outbound` instead. */ + export type Outbound = GetProjectsOidcTokenConfig$Outbound; +} + +export function getProjectsOidcTokenConfigToJSON( + getProjectsOidcTokenConfig: GetProjectsOidcTokenConfig, +): string { + return JSON.stringify( + GetProjectsOidcTokenConfig$outboundSchema.parse(getProjectsOidcTokenConfig), + ); +} + +export function getProjectsOidcTokenConfigFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsOidcTokenConfig$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsOidcTokenConfig' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsTier$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsTier +> = z.nativeEnum(GetProjectsTier); + +/** @internal */ +export const GetProjectsTier$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsTier +> = GetProjectsTier$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsTier$ { + /** @deprecated use `GetProjectsTier$inboundSchema` instead. */ + export const inboundSchema = GetProjectsTier$inboundSchema; + /** @deprecated use `GetProjectsTier$outboundSchema` instead. */ + export const outboundSchema = GetProjectsTier$outboundSchema; +} + +/** @internal */ +export const GetProjectsProjects$inboundSchema: z.ZodType< + GetProjectsProjects, + z.ZodTypeDef, + unknown +> = z.object({ + accountId: z.string(), + analytics: z.lazy(() => GetProjectsAnalytics$inboundSchema).optional(), + speedInsights: z.lazy(() => GetProjectsSpeedInsights$inboundSchema) + .optional(), + autoExposeSystemEnvs: z.boolean().optional(), + autoAssignCustomDomains: z.boolean().optional(), + autoAssignCustomDomainsUpdatedBy: z.string().optional(), + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + connectConfigurationId: z.nullable(z.string()).optional(), + connectBuildsEnabled: z.boolean().optional(), + createdAt: z.number().optional(), + customerSupportCodeVisibility: z.boolean().optional(), + crons: z.lazy(() => GetProjectsCrons$inboundSchema).optional(), + dataCache: z.lazy(() => GetProjectsDataCache$inboundSchema).optional(), + deploymentExpiration: z.nullable( + z.lazy(() => GetProjectsDeploymentExpiration$inboundSchema), + ).optional(), + devCommand: z.nullable(z.string()).optional(), + directoryListing: z.boolean(), + installCommand: z.nullable(z.string()).optional(), + env: z.array(z.lazy(() => GetProjectsEnv$inboundSchema)).optional(), + customEnvironments: z.array( + z.lazy(() => GetProjectsCustomEnvironments$inboundSchema), + ).optional(), + framework: z.nullable(GetProjectsFramework$inboundSchema).optional(), + gitForkProtection: z.boolean().optional(), + gitLFS: z.boolean().optional(), + id: z.string(), + ipBuckets: z.array(z.lazy(() => GetProjectsIpBuckets$inboundSchema)) + .optional(), + latestDeployments: z.array( + z.lazy(() => GetProjectsLatestDeployments$inboundSchema), + ).optional(), + link: z.union([ + z.lazy(() => GetProjectsLink1$inboundSchema), + z.lazy(() => GetProjectsLink3$inboundSchema), + z.lazy(() => GetProjectsLink2$inboundSchema), + ]).optional(), + microfrontends: z.lazy(() => GetProjectsMicrofrontends$inboundSchema) + .optional(), + name: z.string(), + nodeVersion: GetProjectsNodeVersion$inboundSchema, + optionsAllowlist: z.nullable( + z.lazy(() => GetProjectsOptionsAllowlist$inboundSchema), + ).optional(), + outputDirectory: z.nullable(z.string()).optional(), + passiveConnectConfigurationId: z.nullable(z.string()).optional(), + passwordProtection: z.nullable( + z.lazy(() => GetProjectsPasswordProtection$inboundSchema), + ).optional(), + productionDeploymentsFastLane: z.boolean().optional(), + publicSource: z.nullable(z.boolean()).optional(), + resourceConfig: z.lazy(() => GetProjectsResourceConfig$inboundSchema) + .optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + serverlessFunctionZeroConfigFailover: z.boolean().optional(), + skewProtectionBoundaryAt: z.number().optional(), + skewProtectionMaxAge: z.number().optional(), + skipGitConnectDuringLink: z.boolean().optional(), + sourceFilesOutsideRootDirectory: z.boolean().optional(), + enableAffectedProjectsDeployments: z.boolean().optional(), + ssoProtection: z.nullable( + z.lazy(() => GetProjectsSsoProtection$inboundSchema), + ).optional(), + targets: z.record(z.lazy(() => GetProjectsTargets$inboundSchema)).optional(), + transferCompletedAt: z.number().optional(), + transferStartedAt: z.number().optional(), + transferToAccountId: z.string().optional(), + transferredFromAccountId: z.string().optional(), + updatedAt: z.number().optional(), + live: z.boolean().optional(), + enablePreviewFeedback: z.nullable(z.boolean()).optional(), + enableProductionFeedback: z.nullable(z.boolean()).optional(), + permissions: z.lazy(() => GetProjectsPermissions$inboundSchema).optional(), + lastRollbackTarget: z.nullable( + z.lazy(() => GetProjectsLastRollbackTarget$inboundSchema), + ).optional(), + lastAliasRequest: z.nullable( + z.lazy(() => GetProjectsLastAliasRequest$inboundSchema), + ).optional(), + hasFloatingAliases: z.boolean().optional(), + protectionBypass: z.record( + z.lazy(() => GetProjectsProtectionBypass$inboundSchema), + ).optional(), + hasActiveBranches: z.boolean().optional(), + trustedIps: z.nullable( + z.union([ + z.lazy(() => GetProjectsTrustedIps2$inboundSchema), + z.lazy(() => GetProjectsTrustedIps1$inboundSchema), + ]), + ).optional(), + gitComments: z.lazy(() => GetProjectsGitComments$inboundSchema).optional(), + paused: z.boolean().optional(), + concurrencyBucketName: z.string().optional(), + webAnalytics: z.lazy(() => GetProjectsWebAnalytics$inboundSchema).optional(), + security: z.lazy(() => GetProjectsSecurity$inboundSchema).optional(), + oidcTokenConfig: z.lazy(() => GetProjectsOidcTokenConfig$inboundSchema) + .optional(), + tier: GetProjectsTier$inboundSchema.optional(), +}); + +/** @internal */ +export type GetProjectsProjects$Outbound = { + accountId: string; + analytics?: GetProjectsAnalytics$Outbound | undefined; + speedInsights?: GetProjectsSpeedInsights$Outbound | undefined; + autoExposeSystemEnvs?: boolean | undefined; + autoAssignCustomDomains?: boolean | undefined; + autoAssignCustomDomainsUpdatedBy?: string | undefined; + buildCommand?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + connectConfigurationId?: string | null | undefined; + connectBuildsEnabled?: boolean | undefined; + createdAt?: number | undefined; + customerSupportCodeVisibility?: boolean | undefined; + crons?: GetProjectsCrons$Outbound | undefined; + dataCache?: GetProjectsDataCache$Outbound | undefined; + deploymentExpiration?: + | GetProjectsDeploymentExpiration$Outbound + | null + | undefined; + devCommand?: string | null | undefined; + directoryListing: boolean; + installCommand?: string | null | undefined; + env?: Array | undefined; + customEnvironments?: + | Array + | undefined; + framework?: string | null | undefined; + gitForkProtection?: boolean | undefined; + gitLFS?: boolean | undefined; + id: string; + ipBuckets?: Array | undefined; + latestDeployments?: Array | undefined; + link?: + | GetProjectsLink1$Outbound + | GetProjectsLink3$Outbound + | GetProjectsLink2$Outbound + | undefined; + microfrontends?: GetProjectsMicrofrontends$Outbound | undefined; + name: string; + nodeVersion: string; + optionsAllowlist?: GetProjectsOptionsAllowlist$Outbound | null | undefined; + outputDirectory?: string | null | undefined; + passiveConnectConfigurationId?: string | null | undefined; + passwordProtection?: + | GetProjectsPasswordProtection$Outbound + | null + | undefined; + productionDeploymentsFastLane?: boolean | undefined; + publicSource?: boolean | null | undefined; + resourceConfig?: GetProjectsResourceConfig$Outbound | undefined; + rootDirectory?: string | null | undefined; + serverlessFunctionRegion?: string | null | undefined; + serverlessFunctionZeroConfigFailover?: boolean | undefined; + skewProtectionBoundaryAt?: number | undefined; + skewProtectionMaxAge?: number | undefined; + skipGitConnectDuringLink?: boolean | undefined; + sourceFilesOutsideRootDirectory?: boolean | undefined; + enableAffectedProjectsDeployments?: boolean | undefined; + ssoProtection?: GetProjectsSsoProtection$Outbound | null | undefined; + targets?: { [k: string]: GetProjectsTargets$Outbound } | undefined; + transferCompletedAt?: number | undefined; + transferStartedAt?: number | undefined; + transferToAccountId?: string | undefined; + transferredFromAccountId?: string | undefined; + updatedAt?: number | undefined; + live?: boolean | undefined; + enablePreviewFeedback?: boolean | null | undefined; + enableProductionFeedback?: boolean | null | undefined; + permissions?: GetProjectsPermissions$Outbound | undefined; + lastRollbackTarget?: + | GetProjectsLastRollbackTarget$Outbound + | null + | undefined; + lastAliasRequest?: GetProjectsLastAliasRequest$Outbound | null | undefined; + hasFloatingAliases?: boolean | undefined; + protectionBypass?: + | { [k: string]: GetProjectsProtectionBypass$Outbound } + | undefined; + hasActiveBranches?: boolean | undefined; + trustedIps?: + | GetProjectsTrustedIps2$Outbound + | GetProjectsTrustedIps1$Outbound + | null + | undefined; + gitComments?: GetProjectsGitComments$Outbound | undefined; + paused?: boolean | undefined; + concurrencyBucketName?: string | undefined; + webAnalytics?: GetProjectsWebAnalytics$Outbound | undefined; + security?: GetProjectsSecurity$Outbound | undefined; + oidcTokenConfig?: GetProjectsOidcTokenConfig$Outbound | undefined; + tier?: string | undefined; +}; + +/** @internal */ +export const GetProjectsProjects$outboundSchema: z.ZodType< + GetProjectsProjects$Outbound, + z.ZodTypeDef, + GetProjectsProjects +> = z.object({ + accountId: z.string(), + analytics: z.lazy(() => GetProjectsAnalytics$outboundSchema).optional(), + speedInsights: z.lazy(() => GetProjectsSpeedInsights$outboundSchema) + .optional(), + autoExposeSystemEnvs: z.boolean().optional(), + autoAssignCustomDomains: z.boolean().optional(), + autoAssignCustomDomainsUpdatedBy: z.string().optional(), + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + connectConfigurationId: z.nullable(z.string()).optional(), + connectBuildsEnabled: z.boolean().optional(), + createdAt: z.number().optional(), + customerSupportCodeVisibility: z.boolean().optional(), + crons: z.lazy(() => GetProjectsCrons$outboundSchema).optional(), + dataCache: z.lazy(() => GetProjectsDataCache$outboundSchema).optional(), + deploymentExpiration: z.nullable( + z.lazy(() => GetProjectsDeploymentExpiration$outboundSchema), + ).optional(), + devCommand: z.nullable(z.string()).optional(), + directoryListing: z.boolean(), + installCommand: z.nullable(z.string()).optional(), + env: z.array(z.lazy(() => GetProjectsEnv$outboundSchema)).optional(), + customEnvironments: z.array( + z.lazy(() => GetProjectsCustomEnvironments$outboundSchema), + ).optional(), + framework: z.nullable(GetProjectsFramework$outboundSchema).optional(), + gitForkProtection: z.boolean().optional(), + gitLFS: z.boolean().optional(), + id: z.string(), + ipBuckets: z.array(z.lazy(() => GetProjectsIpBuckets$outboundSchema)) + .optional(), + latestDeployments: z.array( + z.lazy(() => GetProjectsLatestDeployments$outboundSchema), + ).optional(), + link: z.union([ + z.lazy(() => GetProjectsLink1$outboundSchema), + z.lazy(() => GetProjectsLink3$outboundSchema), + z.lazy(() => GetProjectsLink2$outboundSchema), + ]).optional(), + microfrontends: z.lazy(() => GetProjectsMicrofrontends$outboundSchema) + .optional(), + name: z.string(), + nodeVersion: GetProjectsNodeVersion$outboundSchema, + optionsAllowlist: z.nullable( + z.lazy(() => GetProjectsOptionsAllowlist$outboundSchema), + ).optional(), + outputDirectory: z.nullable(z.string()).optional(), + passiveConnectConfigurationId: z.nullable(z.string()).optional(), + passwordProtection: z.nullable( + z.lazy(() => GetProjectsPasswordProtection$outboundSchema), + ).optional(), + productionDeploymentsFastLane: z.boolean().optional(), + publicSource: z.nullable(z.boolean()).optional(), + resourceConfig: z.lazy(() => GetProjectsResourceConfig$outboundSchema) + .optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + serverlessFunctionZeroConfigFailover: z.boolean().optional(), + skewProtectionBoundaryAt: z.number().optional(), + skewProtectionMaxAge: z.number().optional(), + skipGitConnectDuringLink: z.boolean().optional(), + sourceFilesOutsideRootDirectory: z.boolean().optional(), + enableAffectedProjectsDeployments: z.boolean().optional(), + ssoProtection: z.nullable( + z.lazy(() => GetProjectsSsoProtection$outboundSchema), + ).optional(), + targets: z.record(z.lazy(() => GetProjectsTargets$outboundSchema)).optional(), + transferCompletedAt: z.number().optional(), + transferStartedAt: z.number().optional(), + transferToAccountId: z.string().optional(), + transferredFromAccountId: z.string().optional(), + updatedAt: z.number().optional(), + live: z.boolean().optional(), + enablePreviewFeedback: z.nullable(z.boolean()).optional(), + enableProductionFeedback: z.nullable(z.boolean()).optional(), + permissions: z.lazy(() => GetProjectsPermissions$outboundSchema).optional(), + lastRollbackTarget: z.nullable( + z.lazy(() => GetProjectsLastRollbackTarget$outboundSchema), + ).optional(), + lastAliasRequest: z.nullable( + z.lazy(() => GetProjectsLastAliasRequest$outboundSchema), + ).optional(), + hasFloatingAliases: z.boolean().optional(), + protectionBypass: z.record( + z.lazy(() => GetProjectsProtectionBypass$outboundSchema), + ).optional(), + hasActiveBranches: z.boolean().optional(), + trustedIps: z.nullable( + z.union([ + z.lazy(() => GetProjectsTrustedIps2$outboundSchema), + z.lazy(() => GetProjectsTrustedIps1$outboundSchema), + ]), + ).optional(), + gitComments: z.lazy(() => GetProjectsGitComments$outboundSchema).optional(), + paused: z.boolean().optional(), + concurrencyBucketName: z.string().optional(), + webAnalytics: z.lazy(() => GetProjectsWebAnalytics$outboundSchema).optional(), + security: z.lazy(() => GetProjectsSecurity$outboundSchema).optional(), + oidcTokenConfig: z.lazy(() => GetProjectsOidcTokenConfig$outboundSchema) + .optional(), + tier: GetProjectsTier$outboundSchema.optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsProjects$ { + /** @deprecated use `GetProjectsProjects$inboundSchema` instead. */ + export const inboundSchema = GetProjectsProjects$inboundSchema; + /** @deprecated use `GetProjectsProjects$outboundSchema` instead. */ + export const outboundSchema = GetProjectsProjects$outboundSchema; + /** @deprecated use `GetProjectsProjects$Outbound` instead. */ + export type Outbound = GetProjectsProjects$Outbound; +} + +export function getProjectsProjectsToJSON( + getProjectsProjects: GetProjectsProjects, +): string { + return JSON.stringify( + GetProjectsProjects$outboundSchema.parse(getProjectsProjects), + ); +} + +export function getProjectsProjectsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsProjects$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsProjects' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsResponseBody$inboundSchema: z.ZodType< + GetProjectsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + projects: z.array(z.lazy(() => GetProjectsProjects$inboundSchema)), + pagination: Pagination$inboundSchema, +}); + +/** @internal */ +export type GetProjectsResponseBody$Outbound = { + projects: Array; + pagination: Pagination$Outbound; +}; + +/** @internal */ +export const GetProjectsResponseBody$outboundSchema: z.ZodType< + GetProjectsResponseBody$Outbound, + z.ZodTypeDef, + GetProjectsResponseBody +> = z.object({ + projects: z.array(z.lazy(() => GetProjectsProjects$outboundSchema)), + pagination: Pagination$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectsResponseBody$ { + /** @deprecated use `GetProjectsResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetProjectsResponseBody$inboundSchema; + /** @deprecated use `GetProjectsResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetProjectsResponseBody$outboundSchema; + /** @deprecated use `GetProjectsResponseBody$Outbound` instead. */ + export type Outbound = GetProjectsResponseBody$Outbound; +} + +export function getProjectsResponseBodyToJSON( + getProjectsResponseBody: GetProjectsResponseBody, +): string { + return JSON.stringify( + GetProjectsResponseBody$outboundSchema.parse(getProjectsResponseBody), + ); +} + +export function getProjectsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsResponseBody' from JSON`, + ); +} diff --git a/src/models/getrecordsop.ts b/src/models/getrecordsop.ts new file mode 100644 index 00000000..e055308c --- /dev/null +++ b/src/models/getrecordsop.ts @@ -0,0 +1,568 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + Pagination, + Pagination$inboundSchema, + Pagination$Outbound, + Pagination$outboundSchema, +} from "./pagination.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetRecordsRequest = { + domain: string; + /** + * Maximum number of records to list from a request. + */ + limit?: string | undefined; + /** + * Get records created after this JavaScript timestamp. + */ + since?: string | undefined; + /** + * Get records created before this JavaScript timestamp. + */ + until?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export const GetRecordsResponseBodyDnsType = { + A: "A", + Aaaa: "AAAA", + Alias: "ALIAS", + Caa: "CAA", + Cname: "CNAME", + Https: "HTTPS", + Mx: "MX", + Srv: "SRV", + Txt: "TXT", + Ns: "NS", +} as const; +export type GetRecordsResponseBodyDnsType = ClosedEnum< + typeof GetRecordsResponseBodyDnsType +>; + +export type ResponseBodyRecords = { + id: string; + slug: string; + name: string; + type: GetRecordsResponseBodyDnsType; + value: string; + mxPriority?: number | undefined; + priority?: number | undefined; + creator: string; + created: number | null; + updated: number | null; + createdAt: number | null; + updatedAt: number | null; +}; + +/** + * Successful response retrieving a list of paginated DNS records. + */ +export type ResponseBody3 = { + records: Array; + /** + * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. + */ + pagination: Pagination; +}; + +export const GetRecordsResponseBodyType = { + A: "A", + Aaaa: "AAAA", + Alias: "ALIAS", + Caa: "CAA", + Cname: "CNAME", + Https: "HTTPS", + Mx: "MX", + Srv: "SRV", + Txt: "TXT", + Ns: "NS", +} as const; +export type GetRecordsResponseBodyType = ClosedEnum< + typeof GetRecordsResponseBodyType +>; + +export type Records = { + id: string; + slug: string; + name: string; + type: GetRecordsResponseBodyType; + value: string; + mxPriority?: number | undefined; + priority?: number | undefined; + creator: string; + created: number | null; + updated: number | null; + createdAt: number | null; + updatedAt: number | null; +}; + +export type GetRecordsResponseBody2 = { + records: Array; +}; + +/** + * Successful response retrieving a list of paginated DNS records. + */ +export type GetRecordsResponseBody = + | GetRecordsResponseBody2 + | ResponseBody3 + | string; + +/** @internal */ +export const GetRecordsRequest$inboundSchema: z.ZodType< + GetRecordsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + limit: z.string().optional(), + since: z.string().optional(), + until: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetRecordsRequest$Outbound = { + domain: string; + limit?: string | undefined; + since?: string | undefined; + until?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetRecordsRequest$outboundSchema: z.ZodType< + GetRecordsRequest$Outbound, + z.ZodTypeDef, + GetRecordsRequest +> = z.object({ + domain: z.string(), + limit: z.string().optional(), + since: z.string().optional(), + until: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetRecordsRequest$ { + /** @deprecated use `GetRecordsRequest$inboundSchema` instead. */ + export const inboundSchema = GetRecordsRequest$inboundSchema; + /** @deprecated use `GetRecordsRequest$outboundSchema` instead. */ + export const outboundSchema = GetRecordsRequest$outboundSchema; + /** @deprecated use `GetRecordsRequest$Outbound` instead. */ + export type Outbound = GetRecordsRequest$Outbound; +} + +export function getRecordsRequestToJSON( + getRecordsRequest: GetRecordsRequest, +): string { + return JSON.stringify( + GetRecordsRequest$outboundSchema.parse(getRecordsRequest), + ); +} + +export function getRecordsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetRecordsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetRecordsRequest' from JSON`, + ); +} + +/** @internal */ +export const GetRecordsResponseBodyDnsType$inboundSchema: z.ZodNativeEnum< + typeof GetRecordsResponseBodyDnsType +> = z.nativeEnum(GetRecordsResponseBodyDnsType); + +/** @internal */ +export const GetRecordsResponseBodyDnsType$outboundSchema: z.ZodNativeEnum< + typeof GetRecordsResponseBodyDnsType +> = GetRecordsResponseBodyDnsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetRecordsResponseBodyDnsType$ { + /** @deprecated use `GetRecordsResponseBodyDnsType$inboundSchema` instead. */ + export const inboundSchema = GetRecordsResponseBodyDnsType$inboundSchema; + /** @deprecated use `GetRecordsResponseBodyDnsType$outboundSchema` instead. */ + export const outboundSchema = GetRecordsResponseBodyDnsType$outboundSchema; +} + +/** @internal */ +export const ResponseBodyRecords$inboundSchema: z.ZodType< + ResponseBodyRecords, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + slug: z.string(), + name: z.string(), + type: GetRecordsResponseBodyDnsType$inboundSchema, + value: z.string(), + mxPriority: z.number().optional(), + priority: z.number().optional(), + creator: z.string(), + created: z.nullable(z.number()), + updated: z.nullable(z.number()), + createdAt: z.nullable(z.number()), + updatedAt: z.nullable(z.number()), +}); + +/** @internal */ +export type ResponseBodyRecords$Outbound = { + id: string; + slug: string; + name: string; + type: string; + value: string; + mxPriority?: number | undefined; + priority?: number | undefined; + creator: string; + created: number | null; + updated: number | null; + createdAt: number | null; + updatedAt: number | null; +}; + +/** @internal */ +export const ResponseBodyRecords$outboundSchema: z.ZodType< + ResponseBodyRecords$Outbound, + z.ZodTypeDef, + ResponseBodyRecords +> = z.object({ + id: z.string(), + slug: z.string(), + name: z.string(), + type: GetRecordsResponseBodyDnsType$outboundSchema, + value: z.string(), + mxPriority: z.number().optional(), + priority: z.number().optional(), + creator: z.string(), + created: z.nullable(z.number()), + updated: z.nullable(z.number()), + createdAt: z.nullable(z.number()), + updatedAt: z.nullable(z.number()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyRecords$ { + /** @deprecated use `ResponseBodyRecords$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyRecords$inboundSchema; + /** @deprecated use `ResponseBodyRecords$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyRecords$outboundSchema; + /** @deprecated use `ResponseBodyRecords$Outbound` instead. */ + export type Outbound = ResponseBodyRecords$Outbound; +} + +export function responseBodyRecordsToJSON( + responseBodyRecords: ResponseBodyRecords, +): string { + return JSON.stringify( + ResponseBodyRecords$outboundSchema.parse(responseBodyRecords), + ); +} + +export function responseBodyRecordsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyRecords$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyRecords' from JSON`, + ); +} + +/** @internal */ +export const ResponseBody3$inboundSchema: z.ZodType< + ResponseBody3, + z.ZodTypeDef, + unknown +> = z.object({ + records: z.array(z.lazy(() => ResponseBodyRecords$inboundSchema)), + pagination: Pagination$inboundSchema, +}); + +/** @internal */ +export type ResponseBody3$Outbound = { + records: Array; + pagination: Pagination$Outbound; +}; + +/** @internal */ +export const ResponseBody3$outboundSchema: z.ZodType< + ResponseBody3$Outbound, + z.ZodTypeDef, + ResponseBody3 +> = z.object({ + records: z.array(z.lazy(() => ResponseBodyRecords$outboundSchema)), + pagination: Pagination$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBody3$ { + /** @deprecated use `ResponseBody3$inboundSchema` instead. */ + export const inboundSchema = ResponseBody3$inboundSchema; + /** @deprecated use `ResponseBody3$outboundSchema` instead. */ + export const outboundSchema = ResponseBody3$outboundSchema; + /** @deprecated use `ResponseBody3$Outbound` instead. */ + export type Outbound = ResponseBody3$Outbound; +} + +export function responseBody3ToJSON(responseBody3: ResponseBody3): string { + return JSON.stringify(ResponseBody3$outboundSchema.parse(responseBody3)); +} + +export function responseBody3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBody3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBody3' from JSON`, + ); +} + +/** @internal */ +export const GetRecordsResponseBodyType$inboundSchema: z.ZodNativeEnum< + typeof GetRecordsResponseBodyType +> = z.nativeEnum(GetRecordsResponseBodyType); + +/** @internal */ +export const GetRecordsResponseBodyType$outboundSchema: z.ZodNativeEnum< + typeof GetRecordsResponseBodyType +> = GetRecordsResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetRecordsResponseBodyType$ { + /** @deprecated use `GetRecordsResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = GetRecordsResponseBodyType$inboundSchema; + /** @deprecated use `GetRecordsResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = GetRecordsResponseBodyType$outboundSchema; +} + +/** @internal */ +export const Records$inboundSchema: z.ZodType = + z.object({ + id: z.string(), + slug: z.string(), + name: z.string(), + type: GetRecordsResponseBodyType$inboundSchema, + value: z.string(), + mxPriority: z.number().optional(), + priority: z.number().optional(), + creator: z.string(), + created: z.nullable(z.number()), + updated: z.nullable(z.number()), + createdAt: z.nullable(z.number()), + updatedAt: z.nullable(z.number()), + }); + +/** @internal */ +export type Records$Outbound = { + id: string; + slug: string; + name: string; + type: string; + value: string; + mxPriority?: number | undefined; + priority?: number | undefined; + creator: string; + created: number | null; + updated: number | null; + createdAt: number | null; + updatedAt: number | null; +}; + +/** @internal */ +export const Records$outboundSchema: z.ZodType< + Records$Outbound, + z.ZodTypeDef, + Records +> = z.object({ + id: z.string(), + slug: z.string(), + name: z.string(), + type: GetRecordsResponseBodyType$outboundSchema, + value: z.string(), + mxPriority: z.number().optional(), + priority: z.number().optional(), + creator: z.string(), + created: z.nullable(z.number()), + updated: z.nullable(z.number()), + createdAt: z.nullable(z.number()), + updatedAt: z.nullable(z.number()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Records$ { + /** @deprecated use `Records$inboundSchema` instead. */ + export const inboundSchema = Records$inboundSchema; + /** @deprecated use `Records$outboundSchema` instead. */ + export const outboundSchema = Records$outboundSchema; + /** @deprecated use `Records$Outbound` instead. */ + export type Outbound = Records$Outbound; +} + +export function recordsToJSON(records: Records): string { + return JSON.stringify(Records$outboundSchema.parse(records)); +} + +export function recordsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Records$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Records' from JSON`, + ); +} + +/** @internal */ +export const GetRecordsResponseBody2$inboundSchema: z.ZodType< + GetRecordsResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + records: z.array(z.lazy(() => Records$inboundSchema)), +}); + +/** @internal */ +export type GetRecordsResponseBody2$Outbound = { + records: Array; +}; + +/** @internal */ +export const GetRecordsResponseBody2$outboundSchema: z.ZodType< + GetRecordsResponseBody2$Outbound, + z.ZodTypeDef, + GetRecordsResponseBody2 +> = z.object({ + records: z.array(z.lazy(() => Records$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetRecordsResponseBody2$ { + /** @deprecated use `GetRecordsResponseBody2$inboundSchema` instead. */ + export const inboundSchema = GetRecordsResponseBody2$inboundSchema; + /** @deprecated use `GetRecordsResponseBody2$outboundSchema` instead. */ + export const outboundSchema = GetRecordsResponseBody2$outboundSchema; + /** @deprecated use `GetRecordsResponseBody2$Outbound` instead. */ + export type Outbound = GetRecordsResponseBody2$Outbound; +} + +export function getRecordsResponseBody2ToJSON( + getRecordsResponseBody2: GetRecordsResponseBody2, +): string { + return JSON.stringify( + GetRecordsResponseBody2$outboundSchema.parse(getRecordsResponseBody2), + ); +} + +export function getRecordsResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetRecordsResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetRecordsResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const GetRecordsResponseBody$inboundSchema: z.ZodType< + GetRecordsResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetRecordsResponseBody2$inboundSchema), + z.lazy(() => ResponseBody3$inboundSchema), + z.string(), +]); + +/** @internal */ +export type GetRecordsResponseBody$Outbound = + | GetRecordsResponseBody2$Outbound + | ResponseBody3$Outbound + | string; + +/** @internal */ +export const GetRecordsResponseBody$outboundSchema: z.ZodType< + GetRecordsResponseBody$Outbound, + z.ZodTypeDef, + GetRecordsResponseBody +> = z.union([ + z.lazy(() => GetRecordsResponseBody2$outboundSchema), + z.lazy(() => ResponseBody3$outboundSchema), + z.string(), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetRecordsResponseBody$ { + /** @deprecated use `GetRecordsResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetRecordsResponseBody$inboundSchema; + /** @deprecated use `GetRecordsResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetRecordsResponseBody$outboundSchema; + /** @deprecated use `GetRecordsResponseBody$Outbound` instead. */ + export type Outbound = GetRecordsResponseBody$Outbound; +} + +export function getRecordsResponseBodyToJSON( + getRecordsResponseBody: GetRecordsResponseBody, +): string { + return JSON.stringify( + GetRecordsResponseBody$outboundSchema.parse(getRecordsResponseBody), + ); +} + +export function getRecordsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetRecordsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetRecordsResponseBody' from JSON`, + ); +} diff --git a/src/models/getteamaccessrequestop.ts b/src/models/getteamaccessrequestop.ts new file mode 100644 index 00000000..16deeccf --- /dev/null +++ b/src/models/getteamaccessrequestop.ts @@ -0,0 +1,570 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetTeamAccessRequestRequest = { + userId: string; + teamId: string; +}; + +export const GetTeamAccessRequestOrigin = { + Mail: "mail", + Link: "link", + Import: "import", + Teams: "teams", + Github: "github", + Gitlab: "gitlab", + Bitbucket: "bitbucket", + Saml: "saml", + Dsync: "dsync", + Feedback: "feedback", + OrganizationTeams: "organization-teams", +} as const; +export type GetTeamAccessRequestOrigin = ClosedEnum< + typeof GetTeamAccessRequestOrigin +>; + +export type GetTeamAccessRequestGitUserId = string | number; + +/** + * A map that describes the origin from where the user joined. + */ +export type GetTeamAccessRequestJoinedFrom = { + origin: GetTeamAccessRequestOrigin; + commitId?: string | undefined; + repoId?: string | undefined; + repoPath?: string | undefined; + gitUserId?: string | number | undefined; + gitUserLogin?: string | undefined; + ssoUserId?: string | undefined; + ssoConnectedAt?: number | undefined; + idpUserId?: string | undefined; + dsyncUserId?: string | undefined; + dsyncConnectedAt?: number | undefined; +}; + +/** + * Map of the connected GitHub account. + */ +export type GetTeamAccessRequestGithub = { + login?: string | undefined; +}; + +/** + * Map of the connected GitLab account. + */ +export type GetTeamAccessRequestGitlab = { + login?: string | undefined; +}; + +/** + * Map of the connected Bitbucket account. + */ +export type GetTeamAccessRequestBitbucket = { + login?: string | undefined; +}; + +/** + * Successfully + */ +export type GetTeamAccessRequestResponseBody = { + /** + * The slug of the team. + */ + teamSlug: string; + /** + * The name of the team. + */ + teamName: string; + /** + * Current status of the membership. Will be `true` if confirmed, if pending it'll be `false`. + */ + confirmed: boolean; + /** + * A map that describes the origin from where the user joined. + */ + joinedFrom: GetTeamAccessRequestJoinedFrom; + /** + * Timestamp in milliseconds when the user requested access to the team. + */ + accessRequestedAt: number; + /** + * Map of the connected GitHub account. + */ + github: GetTeamAccessRequestGithub | null; + /** + * Map of the connected GitLab account. + */ + gitlab: GetTeamAccessRequestGitlab | null; + /** + * Map of the connected Bitbucket account. + */ + bitbucket: GetTeamAccessRequestBitbucket | null; +}; + +/** @internal */ +export const GetTeamAccessRequestRequest$inboundSchema: z.ZodType< + GetTeamAccessRequestRequest, + z.ZodTypeDef, + unknown +> = z.object({ + userId: z.string(), + teamId: z.string(), +}); + +/** @internal */ +export type GetTeamAccessRequestRequest$Outbound = { + userId: string; + teamId: string; +}; + +/** @internal */ +export const GetTeamAccessRequestRequest$outboundSchema: z.ZodType< + GetTeamAccessRequestRequest$Outbound, + z.ZodTypeDef, + GetTeamAccessRequestRequest +> = z.object({ + userId: z.string(), + teamId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamAccessRequestRequest$ { + /** @deprecated use `GetTeamAccessRequestRequest$inboundSchema` instead. */ + export const inboundSchema = GetTeamAccessRequestRequest$inboundSchema; + /** @deprecated use `GetTeamAccessRequestRequest$outboundSchema` instead. */ + export const outboundSchema = GetTeamAccessRequestRequest$outboundSchema; + /** @deprecated use `GetTeamAccessRequestRequest$Outbound` instead. */ + export type Outbound = GetTeamAccessRequestRequest$Outbound; +} + +export function getTeamAccessRequestRequestToJSON( + getTeamAccessRequestRequest: GetTeamAccessRequestRequest, +): string { + return JSON.stringify( + GetTeamAccessRequestRequest$outboundSchema.parse( + getTeamAccessRequestRequest, + ), + ); +} + +export function getTeamAccessRequestRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamAccessRequestRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamAccessRequestRequest' from JSON`, + ); +} + +/** @internal */ +export const GetTeamAccessRequestOrigin$inboundSchema: z.ZodNativeEnum< + typeof GetTeamAccessRequestOrigin +> = z.nativeEnum(GetTeamAccessRequestOrigin); + +/** @internal */ +export const GetTeamAccessRequestOrigin$outboundSchema: z.ZodNativeEnum< + typeof GetTeamAccessRequestOrigin +> = GetTeamAccessRequestOrigin$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamAccessRequestOrigin$ { + /** @deprecated use `GetTeamAccessRequestOrigin$inboundSchema` instead. */ + export const inboundSchema = GetTeamAccessRequestOrigin$inboundSchema; + /** @deprecated use `GetTeamAccessRequestOrigin$outboundSchema` instead. */ + export const outboundSchema = GetTeamAccessRequestOrigin$outboundSchema; +} + +/** @internal */ +export const GetTeamAccessRequestGitUserId$inboundSchema: z.ZodType< + GetTeamAccessRequestGitUserId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number()]); + +/** @internal */ +export type GetTeamAccessRequestGitUserId$Outbound = string | number; + +/** @internal */ +export const GetTeamAccessRequestGitUserId$outboundSchema: z.ZodType< + GetTeamAccessRequestGitUserId$Outbound, + z.ZodTypeDef, + GetTeamAccessRequestGitUserId +> = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamAccessRequestGitUserId$ { + /** @deprecated use `GetTeamAccessRequestGitUserId$inboundSchema` instead. */ + export const inboundSchema = GetTeamAccessRequestGitUserId$inboundSchema; + /** @deprecated use `GetTeamAccessRequestGitUserId$outboundSchema` instead. */ + export const outboundSchema = GetTeamAccessRequestGitUserId$outboundSchema; + /** @deprecated use `GetTeamAccessRequestGitUserId$Outbound` instead. */ + export type Outbound = GetTeamAccessRequestGitUserId$Outbound; +} + +export function getTeamAccessRequestGitUserIdToJSON( + getTeamAccessRequestGitUserId: GetTeamAccessRequestGitUserId, +): string { + return JSON.stringify( + GetTeamAccessRequestGitUserId$outboundSchema.parse( + getTeamAccessRequestGitUserId, + ), + ); +} + +export function getTeamAccessRequestGitUserIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamAccessRequestGitUserId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamAccessRequestGitUserId' from JSON`, + ); +} + +/** @internal */ +export const GetTeamAccessRequestJoinedFrom$inboundSchema: z.ZodType< + GetTeamAccessRequestJoinedFrom, + z.ZodTypeDef, + unknown +> = z.object({ + origin: GetTeamAccessRequestOrigin$inboundSchema, + commitId: z.string().optional(), + repoId: z.string().optional(), + repoPath: z.string().optional(), + gitUserId: z.union([z.string(), z.number()]).optional(), + gitUserLogin: z.string().optional(), + ssoUserId: z.string().optional(), + ssoConnectedAt: z.number().optional(), + idpUserId: z.string().optional(), + dsyncUserId: z.string().optional(), + dsyncConnectedAt: z.number().optional(), +}); + +/** @internal */ +export type GetTeamAccessRequestJoinedFrom$Outbound = { + origin: string; + commitId?: string | undefined; + repoId?: string | undefined; + repoPath?: string | undefined; + gitUserId?: string | number | undefined; + gitUserLogin?: string | undefined; + ssoUserId?: string | undefined; + ssoConnectedAt?: number | undefined; + idpUserId?: string | undefined; + dsyncUserId?: string | undefined; + dsyncConnectedAt?: number | undefined; +}; + +/** @internal */ +export const GetTeamAccessRequestJoinedFrom$outboundSchema: z.ZodType< + GetTeamAccessRequestJoinedFrom$Outbound, + z.ZodTypeDef, + GetTeamAccessRequestJoinedFrom +> = z.object({ + origin: GetTeamAccessRequestOrigin$outboundSchema, + commitId: z.string().optional(), + repoId: z.string().optional(), + repoPath: z.string().optional(), + gitUserId: z.union([z.string(), z.number()]).optional(), + gitUserLogin: z.string().optional(), + ssoUserId: z.string().optional(), + ssoConnectedAt: z.number().optional(), + idpUserId: z.string().optional(), + dsyncUserId: z.string().optional(), + dsyncConnectedAt: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamAccessRequestJoinedFrom$ { + /** @deprecated use `GetTeamAccessRequestJoinedFrom$inboundSchema` instead. */ + export const inboundSchema = GetTeamAccessRequestJoinedFrom$inboundSchema; + /** @deprecated use `GetTeamAccessRequestJoinedFrom$outboundSchema` instead. */ + export const outboundSchema = GetTeamAccessRequestJoinedFrom$outboundSchema; + /** @deprecated use `GetTeamAccessRequestJoinedFrom$Outbound` instead. */ + export type Outbound = GetTeamAccessRequestJoinedFrom$Outbound; +} + +export function getTeamAccessRequestJoinedFromToJSON( + getTeamAccessRequestJoinedFrom: GetTeamAccessRequestJoinedFrom, +): string { + return JSON.stringify( + GetTeamAccessRequestJoinedFrom$outboundSchema.parse( + getTeamAccessRequestJoinedFrom, + ), + ); +} + +export function getTeamAccessRequestJoinedFromFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamAccessRequestJoinedFrom$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamAccessRequestJoinedFrom' from JSON`, + ); +} + +/** @internal */ +export const GetTeamAccessRequestGithub$inboundSchema: z.ZodType< + GetTeamAccessRequestGithub, + z.ZodTypeDef, + unknown +> = z.object({ + login: z.string().optional(), +}); + +/** @internal */ +export type GetTeamAccessRequestGithub$Outbound = { + login?: string | undefined; +}; + +/** @internal */ +export const GetTeamAccessRequestGithub$outboundSchema: z.ZodType< + GetTeamAccessRequestGithub$Outbound, + z.ZodTypeDef, + GetTeamAccessRequestGithub +> = z.object({ + login: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamAccessRequestGithub$ { + /** @deprecated use `GetTeamAccessRequestGithub$inboundSchema` instead. */ + export const inboundSchema = GetTeamAccessRequestGithub$inboundSchema; + /** @deprecated use `GetTeamAccessRequestGithub$outboundSchema` instead. */ + export const outboundSchema = GetTeamAccessRequestGithub$outboundSchema; + /** @deprecated use `GetTeamAccessRequestGithub$Outbound` instead. */ + export type Outbound = GetTeamAccessRequestGithub$Outbound; +} + +export function getTeamAccessRequestGithubToJSON( + getTeamAccessRequestGithub: GetTeamAccessRequestGithub, +): string { + return JSON.stringify( + GetTeamAccessRequestGithub$outboundSchema.parse(getTeamAccessRequestGithub), + ); +} + +export function getTeamAccessRequestGithubFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamAccessRequestGithub$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamAccessRequestGithub' from JSON`, + ); +} + +/** @internal */ +export const GetTeamAccessRequestGitlab$inboundSchema: z.ZodType< + GetTeamAccessRequestGitlab, + z.ZodTypeDef, + unknown +> = z.object({ + login: z.string().optional(), +}); + +/** @internal */ +export type GetTeamAccessRequestGitlab$Outbound = { + login?: string | undefined; +}; + +/** @internal */ +export const GetTeamAccessRequestGitlab$outboundSchema: z.ZodType< + GetTeamAccessRequestGitlab$Outbound, + z.ZodTypeDef, + GetTeamAccessRequestGitlab +> = z.object({ + login: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamAccessRequestGitlab$ { + /** @deprecated use `GetTeamAccessRequestGitlab$inboundSchema` instead. */ + export const inboundSchema = GetTeamAccessRequestGitlab$inboundSchema; + /** @deprecated use `GetTeamAccessRequestGitlab$outboundSchema` instead. */ + export const outboundSchema = GetTeamAccessRequestGitlab$outboundSchema; + /** @deprecated use `GetTeamAccessRequestGitlab$Outbound` instead. */ + export type Outbound = GetTeamAccessRequestGitlab$Outbound; +} + +export function getTeamAccessRequestGitlabToJSON( + getTeamAccessRequestGitlab: GetTeamAccessRequestGitlab, +): string { + return JSON.stringify( + GetTeamAccessRequestGitlab$outboundSchema.parse(getTeamAccessRequestGitlab), + ); +} + +export function getTeamAccessRequestGitlabFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamAccessRequestGitlab$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamAccessRequestGitlab' from JSON`, + ); +} + +/** @internal */ +export const GetTeamAccessRequestBitbucket$inboundSchema: z.ZodType< + GetTeamAccessRequestBitbucket, + z.ZodTypeDef, + unknown +> = z.object({ + login: z.string().optional(), +}); + +/** @internal */ +export type GetTeamAccessRequestBitbucket$Outbound = { + login?: string | undefined; +}; + +/** @internal */ +export const GetTeamAccessRequestBitbucket$outboundSchema: z.ZodType< + GetTeamAccessRequestBitbucket$Outbound, + z.ZodTypeDef, + GetTeamAccessRequestBitbucket +> = z.object({ + login: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamAccessRequestBitbucket$ { + /** @deprecated use `GetTeamAccessRequestBitbucket$inboundSchema` instead. */ + export const inboundSchema = GetTeamAccessRequestBitbucket$inboundSchema; + /** @deprecated use `GetTeamAccessRequestBitbucket$outboundSchema` instead. */ + export const outboundSchema = GetTeamAccessRequestBitbucket$outboundSchema; + /** @deprecated use `GetTeamAccessRequestBitbucket$Outbound` instead. */ + export type Outbound = GetTeamAccessRequestBitbucket$Outbound; +} + +export function getTeamAccessRequestBitbucketToJSON( + getTeamAccessRequestBitbucket: GetTeamAccessRequestBitbucket, +): string { + return JSON.stringify( + GetTeamAccessRequestBitbucket$outboundSchema.parse( + getTeamAccessRequestBitbucket, + ), + ); +} + +export function getTeamAccessRequestBitbucketFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamAccessRequestBitbucket$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamAccessRequestBitbucket' from JSON`, + ); +} + +/** @internal */ +export const GetTeamAccessRequestResponseBody$inboundSchema: z.ZodType< + GetTeamAccessRequestResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + teamSlug: z.string(), + teamName: z.string(), + confirmed: z.boolean(), + joinedFrom: z.lazy(() => GetTeamAccessRequestJoinedFrom$inboundSchema), + accessRequestedAt: z.number(), + github: z.nullable(z.lazy(() => GetTeamAccessRequestGithub$inboundSchema)), + gitlab: z.nullable(z.lazy(() => GetTeamAccessRequestGitlab$inboundSchema)), + bitbucket: z.nullable( + z.lazy(() => GetTeamAccessRequestBitbucket$inboundSchema), + ), +}); + +/** @internal */ +export type GetTeamAccessRequestResponseBody$Outbound = { + teamSlug: string; + teamName: string; + confirmed: boolean; + joinedFrom: GetTeamAccessRequestJoinedFrom$Outbound; + accessRequestedAt: number; + github: GetTeamAccessRequestGithub$Outbound | null; + gitlab: GetTeamAccessRequestGitlab$Outbound | null; + bitbucket: GetTeamAccessRequestBitbucket$Outbound | null; +}; + +/** @internal */ +export const GetTeamAccessRequestResponseBody$outboundSchema: z.ZodType< + GetTeamAccessRequestResponseBody$Outbound, + z.ZodTypeDef, + GetTeamAccessRequestResponseBody +> = z.object({ + teamSlug: z.string(), + teamName: z.string(), + confirmed: z.boolean(), + joinedFrom: z.lazy(() => GetTeamAccessRequestJoinedFrom$outboundSchema), + accessRequestedAt: z.number(), + github: z.nullable(z.lazy(() => GetTeamAccessRequestGithub$outboundSchema)), + gitlab: z.nullable(z.lazy(() => GetTeamAccessRequestGitlab$outboundSchema)), + bitbucket: z.nullable( + z.lazy(() => GetTeamAccessRequestBitbucket$outboundSchema), + ), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamAccessRequestResponseBody$ { + /** @deprecated use `GetTeamAccessRequestResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetTeamAccessRequestResponseBody$inboundSchema; + /** @deprecated use `GetTeamAccessRequestResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetTeamAccessRequestResponseBody$outboundSchema; + /** @deprecated use `GetTeamAccessRequestResponseBody$Outbound` instead. */ + export type Outbound = GetTeamAccessRequestResponseBody$Outbound; +} + +export function getTeamAccessRequestResponseBodyToJSON( + getTeamAccessRequestResponseBody: GetTeamAccessRequestResponseBody, +): string { + return JSON.stringify( + GetTeamAccessRequestResponseBody$outboundSchema.parse( + getTeamAccessRequestResponseBody, + ), + ); +} + +export function getTeamAccessRequestResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamAccessRequestResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamAccessRequestResponseBody' from JSON`, + ); +} diff --git a/src/models/getteammembersop.ts b/src/models/getteammembersop.ts new file mode 100644 index 00000000..b5815e87 --- /dev/null +++ b/src/models/getteammembersop.ts @@ -0,0 +1,1116 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * Only return members with the specified team role. + */ +export const QueryParamRole = { + Owner: "OWNER", + Member: "MEMBER", + Developer: "DEVELOPER", + Viewer: "VIEWER", + Billing: "BILLING", + Contributor: "CONTRIBUTOR", +} as const; +/** + * Only return members with the specified team role. + */ +export type QueryParamRole = ClosedEnum; + +export type GetTeamMembersRequest = { + /** + * Limit how many teams should be returned + */ + limit?: number | undefined; + /** + * Timestamp in milliseconds to only include members added since then. + */ + since?: number | undefined; + /** + * Timestamp in milliseconds to only include members added until then. + */ + until?: number | undefined; + /** + * Search team members by their name, username, and email. + */ + search?: string | undefined; + /** + * Only return members with the specified team role. + */ + role?: QueryParamRole | undefined; + /** + * Exclude members who belong to the specified project. + */ + excludeProject?: string | undefined; + /** + * Include team members who are eligible to be members of the specified project. + */ + eligibleMembersForProjectId?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId: string; +}; + +/** + * Information about the GitHub account for this user. + */ +export type GetTeamMembersGithub = { + login?: string | undefined; +}; + +/** + * Information about the GitLab account of this user. + */ +export type GetTeamMembersGitlab = { + login?: string | undefined; +}; + +/** + * Information about the Bitbucket account of this user. + */ +export type GetTeamMembersBitbucket = { + login?: string | undefined; +}; + +/** + * Role of this user in the team. + */ +export const GetTeamMembersRole = { + Owner: "OWNER", + Member: "MEMBER", + Developer: "DEVELOPER", + Viewer: "VIEWER", + Billing: "BILLING", + Contributor: "CONTRIBUTOR", +} as const; +/** + * Role of this user in the team. + */ +export type GetTeamMembersRole = ClosedEnum; + +export const GetTeamMembersOrigin = { + Teams: "teams", + Link: "link", + Mail: "mail", + Import: "import", + Github: "github", + Gitlab: "gitlab", + Bitbucket: "bitbucket", + Saml: "saml", + Dsync: "dsync", + Feedback: "feedback", + OrganizationTeams: "organization-teams", +} as const; +export type GetTeamMembersOrigin = ClosedEnum; + +export type GetTeamMembersGitUserId = string | number; + +/** + * Map with information about the members origin if they joined by requesting access. + */ +export type GetTeamMembersJoinedFrom = { + origin: GetTeamMembersOrigin; + commitId?: string | undefined; + repoId?: string | undefined; + repoPath?: string | undefined; + gitUserId?: string | number | undefined; + gitUserLogin?: string | undefined; + ssoUserId?: string | undefined; + ssoConnectedAt?: number | undefined; + idpUserId?: string | undefined; + dsyncUserId?: string | undefined; + dsyncConnectedAt?: number | undefined; +}; + +export const GetTeamMembersTeamsResponseRole = { + Admin: "ADMIN", + ProjectDeveloper: "PROJECT_DEVELOPER", + ProjectViewer: "PROJECT_VIEWER", +} as const; +export type GetTeamMembersTeamsResponseRole = ClosedEnum< + typeof GetTeamMembersTeamsResponseRole +>; + +/** + * Array of project memberships + */ +export type GetTeamMembersProjects = { + name?: string | undefined; + id?: string | undefined; + role?: GetTeamMembersTeamsResponseRole | undefined; +}; + +export type GetTeamMembersMembers = { + /** + * ID of the file for the Avatar of this member. + */ + avatar?: string | undefined; + /** + * Boolean that indicates if this member was confirmed by an owner. + */ + confirmed: boolean; + /** + * The email of this member. + */ + email: string; + /** + * Information about the GitHub account for this user. + */ + github?: GetTeamMembersGithub | undefined; + /** + * Information about the GitLab account of this user. + */ + gitlab?: GetTeamMembersGitlab | undefined; + /** + * Information about the Bitbucket account of this user. + */ + bitbucket?: GetTeamMembersBitbucket | undefined; + /** + * Role of this user in the team. + */ + role: GetTeamMembersRole; + /** + * The ID of this user. + */ + uid: string; + /** + * The unique username of this user. + */ + username: string; + /** + * The name of this user. + */ + name?: string | undefined; + /** + * Timestamp in milliseconds when this member was added. + */ + createdAt: number; + /** + * Timestamp in milliseconds for when this team member was accepted by an owner. + */ + accessRequestedAt?: number | undefined; + /** + * Map with information about the members origin if they joined by requesting access. + */ + joinedFrom?: GetTeamMembersJoinedFrom | undefined; + /** + * Array of project memberships + */ + projects?: Array | undefined; +}; + +export const GetTeamMembersTeamsRole = { + Owner: "OWNER", + Member: "MEMBER", + Developer: "DEVELOPER", + Viewer: "VIEWER", + Billing: "BILLING", + Contributor: "CONTRIBUTOR", +} as const; +export type GetTeamMembersTeamsRole = ClosedEnum< + typeof GetTeamMembersTeamsRole +>; + +export const GetTeamMembersTeamsProjects = { + Admin: "ADMIN", + ProjectDeveloper: "PROJECT_DEVELOPER", + ProjectViewer: "PROJECT_VIEWER", +} as const; +export type GetTeamMembersTeamsProjects = ClosedEnum< + typeof GetTeamMembersTeamsProjects +>; + +export type EmailInviteCodes = { + accessGroups?: Array | undefined; + id: string; + email?: string | undefined; + role?: GetTeamMembersTeamsRole | undefined; + isDSyncUser: boolean; + createdAt?: number | undefined; + expired?: boolean | undefined; + projects?: { [k: string]: GetTeamMembersTeamsProjects } | undefined; + entitlements?: Array | undefined; +}; + +export type GetTeamMembersPagination = { + hasNext: boolean; + /** + * Amount of items in the current page. + */ + count: number; + /** + * Timestamp that must be used to request the next page. + */ + next: number | null; + /** + * Timestamp that must be used to request the previous page. + */ + prev: number | null; +}; + +export type GetTeamMembersResponseBody = { + members: Array; + emailInviteCodes?: Array | undefined; + pagination: GetTeamMembersPagination; +}; + +/** @internal */ +export const QueryParamRole$inboundSchema: z.ZodNativeEnum< + typeof QueryParamRole +> = z.nativeEnum(QueryParamRole); + +/** @internal */ +export const QueryParamRole$outboundSchema: z.ZodNativeEnum< + typeof QueryParamRole +> = QueryParamRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace QueryParamRole$ { + /** @deprecated use `QueryParamRole$inboundSchema` instead. */ + export const inboundSchema = QueryParamRole$inboundSchema; + /** @deprecated use `QueryParamRole$outboundSchema` instead. */ + export const outboundSchema = QueryParamRole$outboundSchema; +} + +/** @internal */ +export const GetTeamMembersRequest$inboundSchema: z.ZodType< + GetTeamMembersRequest, + z.ZodTypeDef, + unknown +> = z.object({ + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), + search: z.string().optional(), + role: QueryParamRole$inboundSchema.optional(), + excludeProject: z.string().optional(), + eligibleMembersForProjectId: z.string().optional(), + teamId: z.string(), +}); + +/** @internal */ +export type GetTeamMembersRequest$Outbound = { + limit?: number | undefined; + since?: number | undefined; + until?: number | undefined; + search?: string | undefined; + role?: string | undefined; + excludeProject?: string | undefined; + eligibleMembersForProjectId?: string | undefined; + teamId: string; +}; + +/** @internal */ +export const GetTeamMembersRequest$outboundSchema: z.ZodType< + GetTeamMembersRequest$Outbound, + z.ZodTypeDef, + GetTeamMembersRequest +> = z.object({ + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), + search: z.string().optional(), + role: QueryParamRole$outboundSchema.optional(), + excludeProject: z.string().optional(), + eligibleMembersForProjectId: z.string().optional(), + teamId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamMembersRequest$ { + /** @deprecated use `GetTeamMembersRequest$inboundSchema` instead. */ + export const inboundSchema = GetTeamMembersRequest$inboundSchema; + /** @deprecated use `GetTeamMembersRequest$outboundSchema` instead. */ + export const outboundSchema = GetTeamMembersRequest$outboundSchema; + /** @deprecated use `GetTeamMembersRequest$Outbound` instead. */ + export type Outbound = GetTeamMembersRequest$Outbound; +} + +export function getTeamMembersRequestToJSON( + getTeamMembersRequest: GetTeamMembersRequest, +): string { + return JSON.stringify( + GetTeamMembersRequest$outboundSchema.parse(getTeamMembersRequest), + ); +} + +export function getTeamMembersRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamMembersRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamMembersRequest' from JSON`, + ); +} + +/** @internal */ +export const GetTeamMembersGithub$inboundSchema: z.ZodType< + GetTeamMembersGithub, + z.ZodTypeDef, + unknown +> = z.object({ + login: z.string().optional(), +}); + +/** @internal */ +export type GetTeamMembersGithub$Outbound = { + login?: string | undefined; +}; + +/** @internal */ +export const GetTeamMembersGithub$outboundSchema: z.ZodType< + GetTeamMembersGithub$Outbound, + z.ZodTypeDef, + GetTeamMembersGithub +> = z.object({ + login: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamMembersGithub$ { + /** @deprecated use `GetTeamMembersGithub$inboundSchema` instead. */ + export const inboundSchema = GetTeamMembersGithub$inboundSchema; + /** @deprecated use `GetTeamMembersGithub$outboundSchema` instead. */ + export const outboundSchema = GetTeamMembersGithub$outboundSchema; + /** @deprecated use `GetTeamMembersGithub$Outbound` instead. */ + export type Outbound = GetTeamMembersGithub$Outbound; +} + +export function getTeamMembersGithubToJSON( + getTeamMembersGithub: GetTeamMembersGithub, +): string { + return JSON.stringify( + GetTeamMembersGithub$outboundSchema.parse(getTeamMembersGithub), + ); +} + +export function getTeamMembersGithubFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamMembersGithub$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamMembersGithub' from JSON`, + ); +} + +/** @internal */ +export const GetTeamMembersGitlab$inboundSchema: z.ZodType< + GetTeamMembersGitlab, + z.ZodTypeDef, + unknown +> = z.object({ + login: z.string().optional(), +}); + +/** @internal */ +export type GetTeamMembersGitlab$Outbound = { + login?: string | undefined; +}; + +/** @internal */ +export const GetTeamMembersGitlab$outboundSchema: z.ZodType< + GetTeamMembersGitlab$Outbound, + z.ZodTypeDef, + GetTeamMembersGitlab +> = z.object({ + login: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamMembersGitlab$ { + /** @deprecated use `GetTeamMembersGitlab$inboundSchema` instead. */ + export const inboundSchema = GetTeamMembersGitlab$inboundSchema; + /** @deprecated use `GetTeamMembersGitlab$outboundSchema` instead. */ + export const outboundSchema = GetTeamMembersGitlab$outboundSchema; + /** @deprecated use `GetTeamMembersGitlab$Outbound` instead. */ + export type Outbound = GetTeamMembersGitlab$Outbound; +} + +export function getTeamMembersGitlabToJSON( + getTeamMembersGitlab: GetTeamMembersGitlab, +): string { + return JSON.stringify( + GetTeamMembersGitlab$outboundSchema.parse(getTeamMembersGitlab), + ); +} + +export function getTeamMembersGitlabFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamMembersGitlab$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamMembersGitlab' from JSON`, + ); +} + +/** @internal */ +export const GetTeamMembersBitbucket$inboundSchema: z.ZodType< + GetTeamMembersBitbucket, + z.ZodTypeDef, + unknown +> = z.object({ + login: z.string().optional(), +}); + +/** @internal */ +export type GetTeamMembersBitbucket$Outbound = { + login?: string | undefined; +}; + +/** @internal */ +export const GetTeamMembersBitbucket$outboundSchema: z.ZodType< + GetTeamMembersBitbucket$Outbound, + z.ZodTypeDef, + GetTeamMembersBitbucket +> = z.object({ + login: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamMembersBitbucket$ { + /** @deprecated use `GetTeamMembersBitbucket$inboundSchema` instead. */ + export const inboundSchema = GetTeamMembersBitbucket$inboundSchema; + /** @deprecated use `GetTeamMembersBitbucket$outboundSchema` instead. */ + export const outboundSchema = GetTeamMembersBitbucket$outboundSchema; + /** @deprecated use `GetTeamMembersBitbucket$Outbound` instead. */ + export type Outbound = GetTeamMembersBitbucket$Outbound; +} + +export function getTeamMembersBitbucketToJSON( + getTeamMembersBitbucket: GetTeamMembersBitbucket, +): string { + return JSON.stringify( + GetTeamMembersBitbucket$outboundSchema.parse(getTeamMembersBitbucket), + ); +} + +export function getTeamMembersBitbucketFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamMembersBitbucket$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamMembersBitbucket' from JSON`, + ); +} + +/** @internal */ +export const GetTeamMembersRole$inboundSchema: z.ZodNativeEnum< + typeof GetTeamMembersRole +> = z.nativeEnum(GetTeamMembersRole); + +/** @internal */ +export const GetTeamMembersRole$outboundSchema: z.ZodNativeEnum< + typeof GetTeamMembersRole +> = GetTeamMembersRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamMembersRole$ { + /** @deprecated use `GetTeamMembersRole$inboundSchema` instead. */ + export const inboundSchema = GetTeamMembersRole$inboundSchema; + /** @deprecated use `GetTeamMembersRole$outboundSchema` instead. */ + export const outboundSchema = GetTeamMembersRole$outboundSchema; +} + +/** @internal */ +export const GetTeamMembersOrigin$inboundSchema: z.ZodNativeEnum< + typeof GetTeamMembersOrigin +> = z.nativeEnum(GetTeamMembersOrigin); + +/** @internal */ +export const GetTeamMembersOrigin$outboundSchema: z.ZodNativeEnum< + typeof GetTeamMembersOrigin +> = GetTeamMembersOrigin$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamMembersOrigin$ { + /** @deprecated use `GetTeamMembersOrigin$inboundSchema` instead. */ + export const inboundSchema = GetTeamMembersOrigin$inboundSchema; + /** @deprecated use `GetTeamMembersOrigin$outboundSchema` instead. */ + export const outboundSchema = GetTeamMembersOrigin$outboundSchema; +} + +/** @internal */ +export const GetTeamMembersGitUserId$inboundSchema: z.ZodType< + GetTeamMembersGitUserId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number()]); + +/** @internal */ +export type GetTeamMembersGitUserId$Outbound = string | number; + +/** @internal */ +export const GetTeamMembersGitUserId$outboundSchema: z.ZodType< + GetTeamMembersGitUserId$Outbound, + z.ZodTypeDef, + GetTeamMembersGitUserId +> = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamMembersGitUserId$ { + /** @deprecated use `GetTeamMembersGitUserId$inboundSchema` instead. */ + export const inboundSchema = GetTeamMembersGitUserId$inboundSchema; + /** @deprecated use `GetTeamMembersGitUserId$outboundSchema` instead. */ + export const outboundSchema = GetTeamMembersGitUserId$outboundSchema; + /** @deprecated use `GetTeamMembersGitUserId$Outbound` instead. */ + export type Outbound = GetTeamMembersGitUserId$Outbound; +} + +export function getTeamMembersGitUserIdToJSON( + getTeamMembersGitUserId: GetTeamMembersGitUserId, +): string { + return JSON.stringify( + GetTeamMembersGitUserId$outboundSchema.parse(getTeamMembersGitUserId), + ); +} + +export function getTeamMembersGitUserIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamMembersGitUserId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamMembersGitUserId' from JSON`, + ); +} + +/** @internal */ +export const GetTeamMembersJoinedFrom$inboundSchema: z.ZodType< + GetTeamMembersJoinedFrom, + z.ZodTypeDef, + unknown +> = z.object({ + origin: GetTeamMembersOrigin$inboundSchema, + commitId: z.string().optional(), + repoId: z.string().optional(), + repoPath: z.string().optional(), + gitUserId: z.union([z.string(), z.number()]).optional(), + gitUserLogin: z.string().optional(), + ssoUserId: z.string().optional(), + ssoConnectedAt: z.number().optional(), + idpUserId: z.string().optional(), + dsyncUserId: z.string().optional(), + dsyncConnectedAt: z.number().optional(), +}); + +/** @internal */ +export type GetTeamMembersJoinedFrom$Outbound = { + origin: string; + commitId?: string | undefined; + repoId?: string | undefined; + repoPath?: string | undefined; + gitUserId?: string | number | undefined; + gitUserLogin?: string | undefined; + ssoUserId?: string | undefined; + ssoConnectedAt?: number | undefined; + idpUserId?: string | undefined; + dsyncUserId?: string | undefined; + dsyncConnectedAt?: number | undefined; +}; + +/** @internal */ +export const GetTeamMembersJoinedFrom$outboundSchema: z.ZodType< + GetTeamMembersJoinedFrom$Outbound, + z.ZodTypeDef, + GetTeamMembersJoinedFrom +> = z.object({ + origin: GetTeamMembersOrigin$outboundSchema, + commitId: z.string().optional(), + repoId: z.string().optional(), + repoPath: z.string().optional(), + gitUserId: z.union([z.string(), z.number()]).optional(), + gitUserLogin: z.string().optional(), + ssoUserId: z.string().optional(), + ssoConnectedAt: z.number().optional(), + idpUserId: z.string().optional(), + dsyncUserId: z.string().optional(), + dsyncConnectedAt: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamMembersJoinedFrom$ { + /** @deprecated use `GetTeamMembersJoinedFrom$inboundSchema` instead. */ + export const inboundSchema = GetTeamMembersJoinedFrom$inboundSchema; + /** @deprecated use `GetTeamMembersJoinedFrom$outboundSchema` instead. */ + export const outboundSchema = GetTeamMembersJoinedFrom$outboundSchema; + /** @deprecated use `GetTeamMembersJoinedFrom$Outbound` instead. */ + export type Outbound = GetTeamMembersJoinedFrom$Outbound; +} + +export function getTeamMembersJoinedFromToJSON( + getTeamMembersJoinedFrom: GetTeamMembersJoinedFrom, +): string { + return JSON.stringify( + GetTeamMembersJoinedFrom$outboundSchema.parse(getTeamMembersJoinedFrom), + ); +} + +export function getTeamMembersJoinedFromFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamMembersJoinedFrom$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamMembersJoinedFrom' from JSON`, + ); +} + +/** @internal */ +export const GetTeamMembersTeamsResponseRole$inboundSchema: z.ZodNativeEnum< + typeof GetTeamMembersTeamsResponseRole +> = z.nativeEnum(GetTeamMembersTeamsResponseRole); + +/** @internal */ +export const GetTeamMembersTeamsResponseRole$outboundSchema: z.ZodNativeEnum< + typeof GetTeamMembersTeamsResponseRole +> = GetTeamMembersTeamsResponseRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamMembersTeamsResponseRole$ { + /** @deprecated use `GetTeamMembersTeamsResponseRole$inboundSchema` instead. */ + export const inboundSchema = GetTeamMembersTeamsResponseRole$inboundSchema; + /** @deprecated use `GetTeamMembersTeamsResponseRole$outboundSchema` instead. */ + export const outboundSchema = GetTeamMembersTeamsResponseRole$outboundSchema; +} + +/** @internal */ +export const GetTeamMembersProjects$inboundSchema: z.ZodType< + GetTeamMembersProjects, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), + id: z.string().optional(), + role: GetTeamMembersTeamsResponseRole$inboundSchema.optional(), +}); + +/** @internal */ +export type GetTeamMembersProjects$Outbound = { + name?: string | undefined; + id?: string | undefined; + role?: string | undefined; +}; + +/** @internal */ +export const GetTeamMembersProjects$outboundSchema: z.ZodType< + GetTeamMembersProjects$Outbound, + z.ZodTypeDef, + GetTeamMembersProjects +> = z.object({ + name: z.string().optional(), + id: z.string().optional(), + role: GetTeamMembersTeamsResponseRole$outboundSchema.optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamMembersProjects$ { + /** @deprecated use `GetTeamMembersProjects$inboundSchema` instead. */ + export const inboundSchema = GetTeamMembersProjects$inboundSchema; + /** @deprecated use `GetTeamMembersProjects$outboundSchema` instead. */ + export const outboundSchema = GetTeamMembersProjects$outboundSchema; + /** @deprecated use `GetTeamMembersProjects$Outbound` instead. */ + export type Outbound = GetTeamMembersProjects$Outbound; +} + +export function getTeamMembersProjectsToJSON( + getTeamMembersProjects: GetTeamMembersProjects, +): string { + return JSON.stringify( + GetTeamMembersProjects$outboundSchema.parse(getTeamMembersProjects), + ); +} + +export function getTeamMembersProjectsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamMembersProjects$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamMembersProjects' from JSON`, + ); +} + +/** @internal */ +export const GetTeamMembersMembers$inboundSchema: z.ZodType< + GetTeamMembersMembers, + z.ZodTypeDef, + unknown +> = z.object({ + avatar: z.string().optional(), + confirmed: z.boolean(), + email: z.string(), + github: z.lazy(() => GetTeamMembersGithub$inboundSchema).optional(), + gitlab: z.lazy(() => GetTeamMembersGitlab$inboundSchema).optional(), + bitbucket: z.lazy(() => GetTeamMembersBitbucket$inboundSchema).optional(), + role: GetTeamMembersRole$inboundSchema, + uid: z.string(), + username: z.string(), + name: z.string().optional(), + createdAt: z.number(), + accessRequestedAt: z.number().optional(), + joinedFrom: z.lazy(() => GetTeamMembersJoinedFrom$inboundSchema).optional(), + projects: z.array(z.lazy(() => GetTeamMembersProjects$inboundSchema)) + .optional(), +}); + +/** @internal */ +export type GetTeamMembersMembers$Outbound = { + avatar?: string | undefined; + confirmed: boolean; + email: string; + github?: GetTeamMembersGithub$Outbound | undefined; + gitlab?: GetTeamMembersGitlab$Outbound | undefined; + bitbucket?: GetTeamMembersBitbucket$Outbound | undefined; + role: string; + uid: string; + username: string; + name?: string | undefined; + createdAt: number; + accessRequestedAt?: number | undefined; + joinedFrom?: GetTeamMembersJoinedFrom$Outbound | undefined; + projects?: Array | undefined; +}; + +/** @internal */ +export const GetTeamMembersMembers$outboundSchema: z.ZodType< + GetTeamMembersMembers$Outbound, + z.ZodTypeDef, + GetTeamMembersMembers +> = z.object({ + avatar: z.string().optional(), + confirmed: z.boolean(), + email: z.string(), + github: z.lazy(() => GetTeamMembersGithub$outboundSchema).optional(), + gitlab: z.lazy(() => GetTeamMembersGitlab$outboundSchema).optional(), + bitbucket: z.lazy(() => GetTeamMembersBitbucket$outboundSchema).optional(), + role: GetTeamMembersRole$outboundSchema, + uid: z.string(), + username: z.string(), + name: z.string().optional(), + createdAt: z.number(), + accessRequestedAt: z.number().optional(), + joinedFrom: z.lazy(() => GetTeamMembersJoinedFrom$outboundSchema).optional(), + projects: z.array(z.lazy(() => GetTeamMembersProjects$outboundSchema)) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamMembersMembers$ { + /** @deprecated use `GetTeamMembersMembers$inboundSchema` instead. */ + export const inboundSchema = GetTeamMembersMembers$inboundSchema; + /** @deprecated use `GetTeamMembersMembers$outboundSchema` instead. */ + export const outboundSchema = GetTeamMembersMembers$outboundSchema; + /** @deprecated use `GetTeamMembersMembers$Outbound` instead. */ + export type Outbound = GetTeamMembersMembers$Outbound; +} + +export function getTeamMembersMembersToJSON( + getTeamMembersMembers: GetTeamMembersMembers, +): string { + return JSON.stringify( + GetTeamMembersMembers$outboundSchema.parse(getTeamMembersMembers), + ); +} + +export function getTeamMembersMembersFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamMembersMembers$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamMembersMembers' from JSON`, + ); +} + +/** @internal */ +export const GetTeamMembersTeamsRole$inboundSchema: z.ZodNativeEnum< + typeof GetTeamMembersTeamsRole +> = z.nativeEnum(GetTeamMembersTeamsRole); + +/** @internal */ +export const GetTeamMembersTeamsRole$outboundSchema: z.ZodNativeEnum< + typeof GetTeamMembersTeamsRole +> = GetTeamMembersTeamsRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamMembersTeamsRole$ { + /** @deprecated use `GetTeamMembersTeamsRole$inboundSchema` instead. */ + export const inboundSchema = GetTeamMembersTeamsRole$inboundSchema; + /** @deprecated use `GetTeamMembersTeamsRole$outboundSchema` instead. */ + export const outboundSchema = GetTeamMembersTeamsRole$outboundSchema; +} + +/** @internal */ +export const GetTeamMembersTeamsProjects$inboundSchema: z.ZodNativeEnum< + typeof GetTeamMembersTeamsProjects +> = z.nativeEnum(GetTeamMembersTeamsProjects); + +/** @internal */ +export const GetTeamMembersTeamsProjects$outboundSchema: z.ZodNativeEnum< + typeof GetTeamMembersTeamsProjects +> = GetTeamMembersTeamsProjects$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamMembersTeamsProjects$ { + /** @deprecated use `GetTeamMembersTeamsProjects$inboundSchema` instead. */ + export const inboundSchema = GetTeamMembersTeamsProjects$inboundSchema; + /** @deprecated use `GetTeamMembersTeamsProjects$outboundSchema` instead. */ + export const outboundSchema = GetTeamMembersTeamsProjects$outboundSchema; +} + +/** @internal */ +export const EmailInviteCodes$inboundSchema: z.ZodType< + EmailInviteCodes, + z.ZodTypeDef, + unknown +> = z.object({ + accessGroups: z.array(z.string()).optional(), + id: z.string(), + email: z.string().optional(), + role: GetTeamMembersTeamsRole$inboundSchema.optional(), + isDSyncUser: z.boolean(), + createdAt: z.number().optional(), + expired: z.boolean().optional(), + projects: z.record(GetTeamMembersTeamsProjects$inboundSchema).optional(), + entitlements: z.array(z.string()).optional(), +}); + +/** @internal */ +export type EmailInviteCodes$Outbound = { + accessGroups?: Array | undefined; + id: string; + email?: string | undefined; + role?: string | undefined; + isDSyncUser: boolean; + createdAt?: number | undefined; + expired?: boolean | undefined; + projects?: { [k: string]: string } | undefined; + entitlements?: Array | undefined; +}; + +/** @internal */ +export const EmailInviteCodes$outboundSchema: z.ZodType< + EmailInviteCodes$Outbound, + z.ZodTypeDef, + EmailInviteCodes +> = z.object({ + accessGroups: z.array(z.string()).optional(), + id: z.string(), + email: z.string().optional(), + role: GetTeamMembersTeamsRole$outboundSchema.optional(), + isDSyncUser: z.boolean(), + createdAt: z.number().optional(), + expired: z.boolean().optional(), + projects: z.record(GetTeamMembersTeamsProjects$outboundSchema).optional(), + entitlements: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EmailInviteCodes$ { + /** @deprecated use `EmailInviteCodes$inboundSchema` instead. */ + export const inboundSchema = EmailInviteCodes$inboundSchema; + /** @deprecated use `EmailInviteCodes$outboundSchema` instead. */ + export const outboundSchema = EmailInviteCodes$outboundSchema; + /** @deprecated use `EmailInviteCodes$Outbound` instead. */ + export type Outbound = EmailInviteCodes$Outbound; +} + +export function emailInviteCodesToJSON( + emailInviteCodes: EmailInviteCodes, +): string { + return JSON.stringify( + EmailInviteCodes$outboundSchema.parse(emailInviteCodes), + ); +} + +export function emailInviteCodesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EmailInviteCodes$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmailInviteCodes' from JSON`, + ); +} + +/** @internal */ +export const GetTeamMembersPagination$inboundSchema: z.ZodType< + GetTeamMembersPagination, + z.ZodTypeDef, + unknown +> = z.object({ + hasNext: z.boolean(), + count: z.number(), + next: z.nullable(z.number()), + prev: z.nullable(z.number()), +}); + +/** @internal */ +export type GetTeamMembersPagination$Outbound = { + hasNext: boolean; + count: number; + next: number | null; + prev: number | null; +}; + +/** @internal */ +export const GetTeamMembersPagination$outboundSchema: z.ZodType< + GetTeamMembersPagination$Outbound, + z.ZodTypeDef, + GetTeamMembersPagination +> = z.object({ + hasNext: z.boolean(), + count: z.number(), + next: z.nullable(z.number()), + prev: z.nullable(z.number()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamMembersPagination$ { + /** @deprecated use `GetTeamMembersPagination$inboundSchema` instead. */ + export const inboundSchema = GetTeamMembersPagination$inboundSchema; + /** @deprecated use `GetTeamMembersPagination$outboundSchema` instead. */ + export const outboundSchema = GetTeamMembersPagination$outboundSchema; + /** @deprecated use `GetTeamMembersPagination$Outbound` instead. */ + export type Outbound = GetTeamMembersPagination$Outbound; +} + +export function getTeamMembersPaginationToJSON( + getTeamMembersPagination: GetTeamMembersPagination, +): string { + return JSON.stringify( + GetTeamMembersPagination$outboundSchema.parse(getTeamMembersPagination), + ); +} + +export function getTeamMembersPaginationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamMembersPagination$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamMembersPagination' from JSON`, + ); +} + +/** @internal */ +export const GetTeamMembersResponseBody$inboundSchema: z.ZodType< + GetTeamMembersResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + members: z.array(z.lazy(() => GetTeamMembersMembers$inboundSchema)), + emailInviteCodes: z.array(z.lazy(() => EmailInviteCodes$inboundSchema)) + .optional(), + pagination: z.lazy(() => GetTeamMembersPagination$inboundSchema), +}); + +/** @internal */ +export type GetTeamMembersResponseBody$Outbound = { + members: Array; + emailInviteCodes?: Array | undefined; + pagination: GetTeamMembersPagination$Outbound; +}; + +/** @internal */ +export const GetTeamMembersResponseBody$outboundSchema: z.ZodType< + GetTeamMembersResponseBody$Outbound, + z.ZodTypeDef, + GetTeamMembersResponseBody +> = z.object({ + members: z.array(z.lazy(() => GetTeamMembersMembers$outboundSchema)), + emailInviteCodes: z.array(z.lazy(() => EmailInviteCodes$outboundSchema)) + .optional(), + pagination: z.lazy(() => GetTeamMembersPagination$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamMembersResponseBody$ { + /** @deprecated use `GetTeamMembersResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetTeamMembersResponseBody$inboundSchema; + /** @deprecated use `GetTeamMembersResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetTeamMembersResponseBody$outboundSchema; + /** @deprecated use `GetTeamMembersResponseBody$Outbound` instead. */ + export type Outbound = GetTeamMembersResponseBody$Outbound; +} + +export function getTeamMembersResponseBodyToJSON( + getTeamMembersResponseBody: GetTeamMembersResponseBody, +): string { + return JSON.stringify( + GetTeamMembersResponseBody$outboundSchema.parse(getTeamMembersResponseBody), + ); +} + +export function getTeamMembersResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamMembersResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamMembersResponseBody' from JSON`, + ); +} diff --git a/src/models/getteamop.ts b/src/models/getteamop.ts new file mode 100644 index 00000000..4ce15371 --- /dev/null +++ b/src/models/getteamop.ts @@ -0,0 +1,72 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetTeamRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId: string; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const GetTeamRequest$inboundSchema: z.ZodType< + GetTeamRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetTeamRequest$Outbound = { + teamId: string; + slug?: string | undefined; +}; + +/** @internal */ +export const GetTeamRequest$outboundSchema: z.ZodType< + GetTeamRequest$Outbound, + z.ZodTypeDef, + GetTeamRequest +> = z.object({ + teamId: z.string(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamRequest$ { + /** @deprecated use `GetTeamRequest$inboundSchema` instead. */ + export const inboundSchema = GetTeamRequest$inboundSchema; + /** @deprecated use `GetTeamRequest$outboundSchema` instead. */ + export const outboundSchema = GetTeamRequest$outboundSchema; + /** @deprecated use `GetTeamRequest$Outbound` instead. */ + export type Outbound = GetTeamRequest$Outbound; +} + +export function getTeamRequestToJSON(getTeamRequest: GetTeamRequest): string { + return JSON.stringify(GetTeamRequest$outboundSchema.parse(getTeamRequest)); +} + +export function getTeamRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamRequest' from JSON`, + ); +} diff --git a/src/models/getteamsop.ts b/src/models/getteamsop.ts new file mode 100644 index 00000000..9e0e2b5b --- /dev/null +++ b/src/models/getteamsop.ts @@ -0,0 +1,204 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + Pagination, + Pagination$inboundSchema, + Pagination$Outbound, + Pagination$outboundSchema, +} from "./pagination.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; +import { + TeamLimited, + TeamLimited$inboundSchema, + TeamLimited$Outbound, + TeamLimited$outboundSchema, +} from "./teamlimited.js"; + +export type GetTeamsRequest = { + /** + * Maximum number of Teams which may be returned. + */ + limit?: number | undefined; + /** + * Timestamp (in milliseconds) to only include Teams created since then. + */ + since?: number | undefined; + /** + * Timestamp (in milliseconds) to only include Teams created until then. + */ + until?: number | undefined; +}; + +export type Teams = TeamLimited | { [k: string]: any }; + +/** + * A paginated list of teams. + */ +export type GetTeamsResponseBody = { + teams: Array; + /** + * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. + */ + pagination: Pagination; +}; + +/** @internal */ +export const GetTeamsRequest$inboundSchema: z.ZodType< + GetTeamsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), +}); + +/** @internal */ +export type GetTeamsRequest$Outbound = { + limit?: number | undefined; + since?: number | undefined; + until?: number | undefined; +}; + +/** @internal */ +export const GetTeamsRequest$outboundSchema: z.ZodType< + GetTeamsRequest$Outbound, + z.ZodTypeDef, + GetTeamsRequest +> = z.object({ + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamsRequest$ { + /** @deprecated use `GetTeamsRequest$inboundSchema` instead. */ + export const inboundSchema = GetTeamsRequest$inboundSchema; + /** @deprecated use `GetTeamsRequest$outboundSchema` instead. */ + export const outboundSchema = GetTeamsRequest$outboundSchema; + /** @deprecated use `GetTeamsRequest$Outbound` instead. */ + export type Outbound = GetTeamsRequest$Outbound; +} + +export function getTeamsRequestToJSON( + getTeamsRequest: GetTeamsRequest, +): string { + return JSON.stringify(GetTeamsRequest$outboundSchema.parse(getTeamsRequest)); +} + +export function getTeamsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamsRequest' from JSON`, + ); +} + +/** @internal */ +export const Teams$inboundSchema: z.ZodType = z + .union([TeamLimited$inboundSchema, z.record(z.any())]); + +/** @internal */ +export type Teams$Outbound = TeamLimited$Outbound | { [k: string]: any }; + +/** @internal */ +export const Teams$outboundSchema: z.ZodType< + Teams$Outbound, + z.ZodTypeDef, + Teams +> = z.union([TeamLimited$outboundSchema, z.record(z.any())]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Teams$ { + /** @deprecated use `Teams$inboundSchema` instead. */ + export const inboundSchema = Teams$inboundSchema; + /** @deprecated use `Teams$outboundSchema` instead. */ + export const outboundSchema = Teams$outboundSchema; + /** @deprecated use `Teams$Outbound` instead. */ + export type Outbound = Teams$Outbound; +} + +export function teamsToJSON(teams: Teams): string { + return JSON.stringify(Teams$outboundSchema.parse(teams)); +} + +export function teamsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Teams$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Teams' from JSON`, + ); +} + +/** @internal */ +export const GetTeamsResponseBody$inboundSchema: z.ZodType< + GetTeamsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + teams: z.array(z.union([TeamLimited$inboundSchema, z.record(z.any())])), + pagination: Pagination$inboundSchema, +}); + +/** @internal */ +export type GetTeamsResponseBody$Outbound = { + teams: Array; + pagination: Pagination$Outbound; +}; + +/** @internal */ +export const GetTeamsResponseBody$outboundSchema: z.ZodType< + GetTeamsResponseBody$Outbound, + z.ZodTypeDef, + GetTeamsResponseBody +> = z.object({ + teams: z.array(z.union([TeamLimited$outboundSchema, z.record(z.any())])), + pagination: Pagination$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetTeamsResponseBody$ { + /** @deprecated use `GetTeamsResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetTeamsResponseBody$inboundSchema; + /** @deprecated use `GetTeamsResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetTeamsResponseBody$outboundSchema; + /** @deprecated use `GetTeamsResponseBody$Outbound` instead. */ + export type Outbound = GetTeamsResponseBody$Outbound; +} + +export function getTeamsResponseBodyToJSON( + getTeamsResponseBody: GetTeamsResponseBody, +): string { + return JSON.stringify( + GetTeamsResponseBody$outboundSchema.parse(getTeamsResponseBody), + ); +} + +export function getTeamsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTeamsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTeamsResponseBody' from JSON`, + ); +} diff --git a/src/models/getwebhookop.ts b/src/models/getwebhookop.ts new file mode 100644 index 00000000..6589be3d --- /dev/null +++ b/src/models/getwebhookop.ts @@ -0,0 +1,260 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetWebhookRequest = { + id: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * The webhooks events + */ +export const GetWebhookEvents = { + BudgetReached: "budget.reached", + BudgetReset: "budget.reset", + DomainCreated: "domain.created", + DeploymentCreated: "deployment.created", + DeploymentError: "deployment.error", + DeploymentCanceled: "deployment.canceled", + DeploymentSucceeded: "deployment.succeeded", + DeploymentReady: "deployment.ready", + DeploymentCheckRerequested: "deployment.check-rerequested", + DeploymentPromoted: "deployment.promoted", + DeploymentIntegrationActionStart: "deployment.integration.action.start", + DeploymentIntegrationActionCancel: "deployment.integration.action.cancel", + DeploymentIntegrationActionCleanup: "deployment.integration.action.cleanup", + EdgeConfigCreated: "edge-config.created", + EdgeConfigDeleted: "edge-config.deleted", + EdgeConfigItemsUpdated: "edge-config.items.updated", + FirewallAttack: "firewall.attack", + IntegrationConfigurationPermissionUpgraded: + "integration-configuration.permission-upgraded", + IntegrationConfigurationRemoved: "integration-configuration.removed", + IntegrationConfigurationScopeChangeConfirmed: + "integration-configuration.scope-change-confirmed", + ProjectCreated: "project.created", + ProjectRemoved: "project.removed", + DeploymentChecksCompletedLegacy: "deployment-checks-completed", + DeploymentReadyLegacy: "deployment-ready", + DeploymentPreparedLegacy: "deployment-prepared", + DeploymentErrorLegacy: "deployment-error", + DeploymentCheckRerequestedLegacy: "deployment-check-rerequested", + DeploymentCanceledLegacy: "deployment-canceled", + ProjectCreatedLegacy: "project-created", + ProjectRemovedLegacy: "project-removed", + DomainCreatedLegacy: "domain-created", + DeploymentLegacy: "deployment", + IntegrationConfigurationPermissionUpdatedLegacy: + "integration-configuration-permission-updated", + IntegrationConfigurationRemovedLegacy: "integration-configuration-removed", + IntegrationConfigurationScopeChangeConfirmedLegacy: + "integration-configuration-scope-change-confirmed", + MarketplaceInvoiceCreated: "marketplace.invoice.created", + MarketplaceInvoicePaid: "marketplace.invoice.paid", + MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid", + MarketplaceInvoiceRefunded: "marketplace.invoice.refunded", + TestWebhook: "observability.anomaly", + undefined: "test-webhook", +} as const; +/** + * The webhooks events + */ +export type GetWebhookEvents = ClosedEnum; + +export type GetWebhookResponseBody = { + /** + * The webhooks events + */ + events: Array; + /** + * The webhook id + */ + id: string; + /** + * A string with the URL of the webhook + */ + url: string; + /** + * The unique ID of the team the webhook belongs to + */ + ownerId: string; + /** + * A number containing the date when the webhook was created in in milliseconds + */ + createdAt: number; + /** + * A number containing the date when the webhook was updated in in milliseconds + */ + updatedAt: number; + /** + * The ID of the projects the webhook is associated with + */ + projectIds?: Array | undefined; +}; + +/** @internal */ +export const GetWebhookRequest$inboundSchema: z.ZodType< + GetWebhookRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetWebhookRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetWebhookRequest$outboundSchema: z.ZodType< + GetWebhookRequest$Outbound, + z.ZodTypeDef, + GetWebhookRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetWebhookRequest$ { + /** @deprecated use `GetWebhookRequest$inboundSchema` instead. */ + export const inboundSchema = GetWebhookRequest$inboundSchema; + /** @deprecated use `GetWebhookRequest$outboundSchema` instead. */ + export const outboundSchema = GetWebhookRequest$outboundSchema; + /** @deprecated use `GetWebhookRequest$Outbound` instead. */ + export type Outbound = GetWebhookRequest$Outbound; +} + +export function getWebhookRequestToJSON( + getWebhookRequest: GetWebhookRequest, +): string { + return JSON.stringify( + GetWebhookRequest$outboundSchema.parse(getWebhookRequest), + ); +} + +export function getWebhookRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetWebhookRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetWebhookRequest' from JSON`, + ); +} + +/** @internal */ +export const GetWebhookEvents$inboundSchema: z.ZodNativeEnum< + typeof GetWebhookEvents +> = z.nativeEnum(GetWebhookEvents); + +/** @internal */ +export const GetWebhookEvents$outboundSchema: z.ZodNativeEnum< + typeof GetWebhookEvents +> = GetWebhookEvents$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetWebhookEvents$ { + /** @deprecated use `GetWebhookEvents$inboundSchema` instead. */ + export const inboundSchema = GetWebhookEvents$inboundSchema; + /** @deprecated use `GetWebhookEvents$outboundSchema` instead. */ + export const outboundSchema = GetWebhookEvents$outboundSchema; +} + +/** @internal */ +export const GetWebhookResponseBody$inboundSchema: z.ZodType< + GetWebhookResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + events: z.array(GetWebhookEvents$inboundSchema), + id: z.string(), + url: z.string(), + ownerId: z.string(), + createdAt: z.number(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), +}); + +/** @internal */ +export type GetWebhookResponseBody$Outbound = { + events: Array; + id: string; + url: string; + ownerId: string; + createdAt: number; + updatedAt: number; + projectIds?: Array | undefined; +}; + +/** @internal */ +export const GetWebhookResponseBody$outboundSchema: z.ZodType< + GetWebhookResponseBody$Outbound, + z.ZodTypeDef, + GetWebhookResponseBody +> = z.object({ + events: z.array(GetWebhookEvents$outboundSchema), + id: z.string(), + url: z.string(), + ownerId: z.string(), + createdAt: z.number(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetWebhookResponseBody$ { + /** @deprecated use `GetWebhookResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetWebhookResponseBody$inboundSchema; + /** @deprecated use `GetWebhookResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetWebhookResponseBody$outboundSchema; + /** @deprecated use `GetWebhookResponseBody$Outbound` instead. */ + export type Outbound = GetWebhookResponseBody$Outbound; +} + +export function getWebhookResponseBodyToJSON( + getWebhookResponseBody: GetWebhookResponseBody, +): string { + return JSON.stringify( + GetWebhookResponseBody$outboundSchema.parse(getWebhookResponseBody), + ); +} + +export function getWebhookResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetWebhookResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetWebhookResponseBody' from JSON`, + ); +} diff --git a/src/models/getwebhooksop.ts b/src/models/getwebhooksop.ts new file mode 100644 index 00000000..56ad2442 --- /dev/null +++ b/src/models/getwebhooksop.ts @@ -0,0 +1,653 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetWebhooksRequest = { + projectId?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * The webhooks events + */ +export const GetWebhooksResponseBodyEvents = { + BudgetReached: "budget.reached", + BudgetReset: "budget.reset", + DomainCreated: "domain.created", + DeploymentCreated: "deployment.created", + DeploymentError: "deployment.error", + DeploymentCanceled: "deployment.canceled", + DeploymentSucceeded: "deployment.succeeded", + DeploymentReady: "deployment.ready", + DeploymentCheckRerequested: "deployment.check-rerequested", + DeploymentPromoted: "deployment.promoted", + DeploymentIntegrationActionStart: "deployment.integration.action.start", + DeploymentIntegrationActionCancel: "deployment.integration.action.cancel", + DeploymentIntegrationActionCleanup: "deployment.integration.action.cleanup", + EdgeConfigCreated: "edge-config.created", + EdgeConfigDeleted: "edge-config.deleted", + EdgeConfigItemsUpdated: "edge-config.items.updated", + FirewallAttack: "firewall.attack", + IntegrationConfigurationPermissionUpgraded: + "integration-configuration.permission-upgraded", + IntegrationConfigurationRemoved: "integration-configuration.removed", + IntegrationConfigurationScopeChangeConfirmed: + "integration-configuration.scope-change-confirmed", + ProjectCreated: "project.created", + ProjectRemoved: "project.removed", + DeploymentChecksCompletedLegacy: "deployment-checks-completed", + DeploymentReadyLegacy: "deployment-ready", + DeploymentPreparedLegacy: "deployment-prepared", + DeploymentErrorLegacy: "deployment-error", + DeploymentCheckRerequestedLegacy: "deployment-check-rerequested", + DeploymentCanceledLegacy: "deployment-canceled", + ProjectCreatedLegacy: "project-created", + ProjectRemovedLegacy: "project-removed", + DomainCreatedLegacy: "domain-created", + DeploymentLegacy: "deployment", + IntegrationConfigurationPermissionUpdatedLegacy: + "integration-configuration-permission-updated", + IntegrationConfigurationRemovedLegacy: "integration-configuration-removed", + IntegrationConfigurationScopeChangeConfirmedLegacy: + "integration-configuration-scope-change-confirmed", + MarketplaceInvoiceCreated: "marketplace.invoice.created", + MarketplaceInvoicePaid: "marketplace.invoice.paid", + MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid", + MarketplaceInvoiceRefunded: "marketplace.invoice.refunded", + TestWebhook: "observability.anomaly", + undefined: "test-webhook", +} as const; +/** + * The webhooks events + */ +export type GetWebhooksResponseBodyEvents = ClosedEnum< + typeof GetWebhooksResponseBodyEvents +>; + +export type GetWebhooksResponseBody2 = { + /** + * The webhooks events + */ + events: Array; + /** + * The webhook id + */ + id: string; + /** + * A string with the URL of the webhook + */ + url: string; + /** + * The unique ID of the team the webhook belongs to + */ + ownerId: string; + /** + * A number containing the date when the webhook was created in in milliseconds + */ + createdAt: number; + /** + * A number containing the date when the webhook was updated in in milliseconds + */ + updatedAt: number; + /** + * The ID of the projects the webhook is associated with + */ + projectIds?: Array | undefined; +}; + +export const GetWebhooksResponseBodyFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + Astro: "astro", + Hexo: "hexo", + Eleventy: "eleventy", + Docusaurus2: "docusaurus-2", + Docusaurus: "docusaurus", + Preact: "preact", + Solidstart1: "solidstart-1", + Solidstart: "solidstart", + Dojo: "dojo", + Ember: "ember", + Vue: "vue", + Scully: "scully", + IonicAngular: "ionic-angular", + Angular: "angular", + Polymer: "polymer", + Svelte: "svelte", + Sveltekit: "sveltekit", + Sveltekit1: "sveltekit-1", + IonicReact: "ionic-react", + CreateReactApp: "create-react-app", + Gridsome: "gridsome", + Umijs: "umijs", + Sapper: "sapper", + Saber: "saber", + Stencil: "stencil", + Nuxtjs: "nuxtjs", + Redwoodjs: "redwoodjs", + Hugo: "hugo", + Jekyll: "jekyll", + Brunch: "brunch", + Middleman: "middleman", + Zola: "zola", + Hydrogen: "hydrogen", + Vite: "vite", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", +} as const; +export type GetWebhooksResponseBodyFramework = ClosedEnum< + typeof GetWebhooksResponseBodyFramework +>; + +export type ProjectsMetadata = { + id: string; + name: string; + framework?: GetWebhooksResponseBodyFramework | null | undefined; + latestDeployment?: string | undefined; +}; + +/** + * The webhooks events + */ +export const ResponseBodyEvents = { + BudgetReached: "budget.reached", + BudgetReset: "budget.reset", + DomainCreated: "domain.created", + DeploymentCreated: "deployment.created", + DeploymentError: "deployment.error", + DeploymentCanceled: "deployment.canceled", + DeploymentSucceeded: "deployment.succeeded", + DeploymentReady: "deployment.ready", + DeploymentCheckRerequested: "deployment.check-rerequested", + DeploymentPromoted: "deployment.promoted", + DeploymentIntegrationActionStart: "deployment.integration.action.start", + DeploymentIntegrationActionCancel: "deployment.integration.action.cancel", + DeploymentIntegrationActionCleanup: "deployment.integration.action.cleanup", + EdgeConfigCreated: "edge-config.created", + EdgeConfigDeleted: "edge-config.deleted", + EdgeConfigItemsUpdated: "edge-config.items.updated", + FirewallAttack: "firewall.attack", + IntegrationConfigurationPermissionUpgraded: + "integration-configuration.permission-upgraded", + IntegrationConfigurationRemoved: "integration-configuration.removed", + IntegrationConfigurationScopeChangeConfirmed: + "integration-configuration.scope-change-confirmed", + ProjectCreated: "project.created", + ProjectRemoved: "project.removed", + DeploymentChecksCompletedLegacy: "deployment-checks-completed", + DeploymentReadyLegacy: "deployment-ready", + DeploymentPreparedLegacy: "deployment-prepared", + DeploymentErrorLegacy: "deployment-error", + DeploymentCheckRerequestedLegacy: "deployment-check-rerequested", + DeploymentCanceledLegacy: "deployment-canceled", + ProjectCreatedLegacy: "project-created", + ProjectRemovedLegacy: "project-removed", + DomainCreatedLegacy: "domain-created", + DeploymentLegacy: "deployment", + IntegrationConfigurationPermissionUpdatedLegacy: + "integration-configuration-permission-updated", + IntegrationConfigurationRemovedLegacy: "integration-configuration-removed", + IntegrationConfigurationScopeChangeConfirmedLegacy: + "integration-configuration-scope-change-confirmed", + MarketplaceInvoiceCreated: "marketplace.invoice.created", + MarketplaceInvoicePaid: "marketplace.invoice.paid", + MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid", + MarketplaceInvoiceRefunded: "marketplace.invoice.refunded", + TestWebhook: "observability.anomaly", + undefined: "test-webhook", +} as const; +/** + * The webhooks events + */ +export type ResponseBodyEvents = ClosedEnum; + +export type GetWebhooksResponseBody1 = { + projectsMetadata: Array | null; + /** + * The webhooks events + */ + events: Array; + /** + * The webhook id + */ + id: string; + /** + * A string with the URL of the webhook + */ + url: string; + /** + * The unique ID of the team the webhook belongs to + */ + ownerId: string; + /** + * A number containing the date when the webhook was created in in milliseconds + */ + createdAt: number; + /** + * A number containing the date when the webhook was updated in in milliseconds + */ + updatedAt: number; + /** + * The ID of the projects the webhook is associated with + */ + projectIds?: Array | undefined; +}; + +export type GetWebhooksResponseBody = + | Array + | Array; + +/** @internal */ +export const GetWebhooksRequest$inboundSchema: z.ZodType< + GetWebhooksRequest, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetWebhooksRequest$Outbound = { + projectId?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetWebhooksRequest$outboundSchema: z.ZodType< + GetWebhooksRequest$Outbound, + z.ZodTypeDef, + GetWebhooksRequest +> = z.object({ + projectId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetWebhooksRequest$ { + /** @deprecated use `GetWebhooksRequest$inboundSchema` instead. */ + export const inboundSchema = GetWebhooksRequest$inboundSchema; + /** @deprecated use `GetWebhooksRequest$outboundSchema` instead. */ + export const outboundSchema = GetWebhooksRequest$outboundSchema; + /** @deprecated use `GetWebhooksRequest$Outbound` instead. */ + export type Outbound = GetWebhooksRequest$Outbound; +} + +export function getWebhooksRequestToJSON( + getWebhooksRequest: GetWebhooksRequest, +): string { + return JSON.stringify( + GetWebhooksRequest$outboundSchema.parse(getWebhooksRequest), + ); +} + +export function getWebhooksRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetWebhooksRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetWebhooksRequest' from JSON`, + ); +} + +/** @internal */ +export const GetWebhooksResponseBodyEvents$inboundSchema: z.ZodNativeEnum< + typeof GetWebhooksResponseBodyEvents +> = z.nativeEnum(GetWebhooksResponseBodyEvents); + +/** @internal */ +export const GetWebhooksResponseBodyEvents$outboundSchema: z.ZodNativeEnum< + typeof GetWebhooksResponseBodyEvents +> = GetWebhooksResponseBodyEvents$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetWebhooksResponseBodyEvents$ { + /** @deprecated use `GetWebhooksResponseBodyEvents$inboundSchema` instead. */ + export const inboundSchema = GetWebhooksResponseBodyEvents$inboundSchema; + /** @deprecated use `GetWebhooksResponseBodyEvents$outboundSchema` instead. */ + export const outboundSchema = GetWebhooksResponseBodyEvents$outboundSchema; +} + +/** @internal */ +export const GetWebhooksResponseBody2$inboundSchema: z.ZodType< + GetWebhooksResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + events: z.array(GetWebhooksResponseBodyEvents$inboundSchema), + id: z.string(), + url: z.string(), + ownerId: z.string(), + createdAt: z.number(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), +}); + +/** @internal */ +export type GetWebhooksResponseBody2$Outbound = { + events: Array; + id: string; + url: string; + ownerId: string; + createdAt: number; + updatedAt: number; + projectIds?: Array | undefined; +}; + +/** @internal */ +export const GetWebhooksResponseBody2$outboundSchema: z.ZodType< + GetWebhooksResponseBody2$Outbound, + z.ZodTypeDef, + GetWebhooksResponseBody2 +> = z.object({ + events: z.array(GetWebhooksResponseBodyEvents$outboundSchema), + id: z.string(), + url: z.string(), + ownerId: z.string(), + createdAt: z.number(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetWebhooksResponseBody2$ { + /** @deprecated use `GetWebhooksResponseBody2$inboundSchema` instead. */ + export const inboundSchema = GetWebhooksResponseBody2$inboundSchema; + /** @deprecated use `GetWebhooksResponseBody2$outboundSchema` instead. */ + export const outboundSchema = GetWebhooksResponseBody2$outboundSchema; + /** @deprecated use `GetWebhooksResponseBody2$Outbound` instead. */ + export type Outbound = GetWebhooksResponseBody2$Outbound; +} + +export function getWebhooksResponseBody2ToJSON( + getWebhooksResponseBody2: GetWebhooksResponseBody2, +): string { + return JSON.stringify( + GetWebhooksResponseBody2$outboundSchema.parse(getWebhooksResponseBody2), + ); +} + +export function getWebhooksResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetWebhooksResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetWebhooksResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const GetWebhooksResponseBodyFramework$inboundSchema: z.ZodNativeEnum< + typeof GetWebhooksResponseBodyFramework +> = z.nativeEnum(GetWebhooksResponseBodyFramework); + +/** @internal */ +export const GetWebhooksResponseBodyFramework$outboundSchema: z.ZodNativeEnum< + typeof GetWebhooksResponseBodyFramework +> = GetWebhooksResponseBodyFramework$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetWebhooksResponseBodyFramework$ { + /** @deprecated use `GetWebhooksResponseBodyFramework$inboundSchema` instead. */ + export const inboundSchema = GetWebhooksResponseBodyFramework$inboundSchema; + /** @deprecated use `GetWebhooksResponseBodyFramework$outboundSchema` instead. */ + export const outboundSchema = GetWebhooksResponseBodyFramework$outboundSchema; +} + +/** @internal */ +export const ProjectsMetadata$inboundSchema: z.ZodType< + ProjectsMetadata, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(GetWebhooksResponseBodyFramework$inboundSchema) + .optional(), + latestDeployment: z.string().optional(), +}); + +/** @internal */ +export type ProjectsMetadata$Outbound = { + id: string; + name: string; + framework?: string | null | undefined; + latestDeployment?: string | undefined; +}; + +/** @internal */ +export const ProjectsMetadata$outboundSchema: z.ZodType< + ProjectsMetadata$Outbound, + z.ZodTypeDef, + ProjectsMetadata +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(GetWebhooksResponseBodyFramework$outboundSchema) + .optional(), + latestDeployment: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ProjectsMetadata$ { + /** @deprecated use `ProjectsMetadata$inboundSchema` instead. */ + export const inboundSchema = ProjectsMetadata$inboundSchema; + /** @deprecated use `ProjectsMetadata$outboundSchema` instead. */ + export const outboundSchema = ProjectsMetadata$outboundSchema; + /** @deprecated use `ProjectsMetadata$Outbound` instead. */ + export type Outbound = ProjectsMetadata$Outbound; +} + +export function projectsMetadataToJSON( + projectsMetadata: ProjectsMetadata, +): string { + return JSON.stringify( + ProjectsMetadata$outboundSchema.parse(projectsMetadata), + ); +} + +export function projectsMetadataFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ProjectsMetadata$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProjectsMetadata' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyEvents$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyEvents +> = z.nativeEnum(ResponseBodyEvents); + +/** @internal */ +export const ResponseBodyEvents$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyEvents +> = ResponseBodyEvents$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyEvents$ { + /** @deprecated use `ResponseBodyEvents$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyEvents$inboundSchema; + /** @deprecated use `ResponseBodyEvents$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyEvents$outboundSchema; +} + +/** @internal */ +export const GetWebhooksResponseBody1$inboundSchema: z.ZodType< + GetWebhooksResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + projectsMetadata: z.nullable( + z.array(z.lazy(() => ProjectsMetadata$inboundSchema)), + ), + events: z.array(ResponseBodyEvents$inboundSchema), + id: z.string(), + url: z.string(), + ownerId: z.string(), + createdAt: z.number(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), +}); + +/** @internal */ +export type GetWebhooksResponseBody1$Outbound = { + projectsMetadata: Array | null; + events: Array; + id: string; + url: string; + ownerId: string; + createdAt: number; + updatedAt: number; + projectIds?: Array | undefined; +}; + +/** @internal */ +export const GetWebhooksResponseBody1$outboundSchema: z.ZodType< + GetWebhooksResponseBody1$Outbound, + z.ZodTypeDef, + GetWebhooksResponseBody1 +> = z.object({ + projectsMetadata: z.nullable( + z.array(z.lazy(() => ProjectsMetadata$outboundSchema)), + ), + events: z.array(ResponseBodyEvents$outboundSchema), + id: z.string(), + url: z.string(), + ownerId: z.string(), + createdAt: z.number(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetWebhooksResponseBody1$ { + /** @deprecated use `GetWebhooksResponseBody1$inboundSchema` instead. */ + export const inboundSchema = GetWebhooksResponseBody1$inboundSchema; + /** @deprecated use `GetWebhooksResponseBody1$outboundSchema` instead. */ + export const outboundSchema = GetWebhooksResponseBody1$outboundSchema; + /** @deprecated use `GetWebhooksResponseBody1$Outbound` instead. */ + export type Outbound = GetWebhooksResponseBody1$Outbound; +} + +export function getWebhooksResponseBody1ToJSON( + getWebhooksResponseBody1: GetWebhooksResponseBody1, +): string { + return JSON.stringify( + GetWebhooksResponseBody1$outboundSchema.parse(getWebhooksResponseBody1), + ); +} + +export function getWebhooksResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetWebhooksResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetWebhooksResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const GetWebhooksResponseBody$inboundSchema: z.ZodType< + GetWebhooksResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.array(z.lazy(() => GetWebhooksResponseBody1$inboundSchema)), + z.array(z.lazy(() => GetWebhooksResponseBody2$inboundSchema)), +]); + +/** @internal */ +export type GetWebhooksResponseBody$Outbound = + | Array + | Array; + +/** @internal */ +export const GetWebhooksResponseBody$outboundSchema: z.ZodType< + GetWebhooksResponseBody$Outbound, + z.ZodTypeDef, + GetWebhooksResponseBody +> = z.union([ + z.array(z.lazy(() => GetWebhooksResponseBody1$outboundSchema)), + z.array(z.lazy(() => GetWebhooksResponseBody2$outboundSchema)), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetWebhooksResponseBody$ { + /** @deprecated use `GetWebhooksResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetWebhooksResponseBody$inboundSchema; + /** @deprecated use `GetWebhooksResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetWebhooksResponseBody$outboundSchema; + /** @deprecated use `GetWebhooksResponseBody$Outbound` instead. */ + export type Outbound = GetWebhooksResponseBody$Outbound; +} + +export function getWebhooksResponseBodyToJSON( + getWebhooksResponseBody: GetWebhooksResponseBody, +): string { + return JSON.stringify( + GetWebhooksResponseBody$outboundSchema.parse(getWebhooksResponseBody), + ); +} + +export function getWebhooksResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetWebhooksResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetWebhooksResponseBody' from JSON`, + ); +} diff --git a/src/models/gitnamespacesop.ts b/src/models/gitnamespacesop.ts new file mode 100644 index 00000000..be77a228 --- /dev/null +++ b/src/models/gitnamespacesop.ts @@ -0,0 +1,235 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export const Provider = { + Github: "github", + GithubCustomHost: "github-custom-host", + Gitlab: "gitlab", + Bitbucket: "bitbucket", +} as const; +export type Provider = ClosedEnum; + +export type GitNamespacesRequest = { + /** + * The custom Git host if using a custom Git provider, like GitHub Enterprise Server + */ + host?: string | undefined; + provider?: Provider | undefined; +}; + +export type GitNamespacesId = string | number; + +export type GitNamespacesResponseBody = { + provider: string; + slug: string; + id: string | number; + ownerType: string; + name?: string | undefined; + isAccessRestricted?: boolean | undefined; + installationId?: number | undefined; + requireReauth?: boolean | undefined; +}; + +/** @internal */ +export const Provider$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Provider); + +/** @internal */ +export const Provider$outboundSchema: z.ZodNativeEnum = + Provider$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Provider$ { + /** @deprecated use `Provider$inboundSchema` instead. */ + export const inboundSchema = Provider$inboundSchema; + /** @deprecated use `Provider$outboundSchema` instead. */ + export const outboundSchema = Provider$outboundSchema; +} + +/** @internal */ +export const GitNamespacesRequest$inboundSchema: z.ZodType< + GitNamespacesRequest, + z.ZodTypeDef, + unknown +> = z.object({ + host: z.string().optional(), + provider: Provider$inboundSchema.optional(), +}); + +/** @internal */ +export type GitNamespacesRequest$Outbound = { + host?: string | undefined; + provider?: string | undefined; +}; + +/** @internal */ +export const GitNamespacesRequest$outboundSchema: z.ZodType< + GitNamespacesRequest$Outbound, + z.ZodTypeDef, + GitNamespacesRequest +> = z.object({ + host: z.string().optional(), + provider: Provider$outboundSchema.optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitNamespacesRequest$ { + /** @deprecated use `GitNamespacesRequest$inboundSchema` instead. */ + export const inboundSchema = GitNamespacesRequest$inboundSchema; + /** @deprecated use `GitNamespacesRequest$outboundSchema` instead. */ + export const outboundSchema = GitNamespacesRequest$outboundSchema; + /** @deprecated use `GitNamespacesRequest$Outbound` instead. */ + export type Outbound = GitNamespacesRequest$Outbound; +} + +export function gitNamespacesRequestToJSON( + gitNamespacesRequest: GitNamespacesRequest, +): string { + return JSON.stringify( + GitNamespacesRequest$outboundSchema.parse(gitNamespacesRequest), + ); +} + +export function gitNamespacesRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitNamespacesRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitNamespacesRequest' from JSON`, + ); +} + +/** @internal */ +export const GitNamespacesId$inboundSchema: z.ZodType< + GitNamespacesId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number()]); + +/** @internal */ +export type GitNamespacesId$Outbound = string | number; + +/** @internal */ +export const GitNamespacesId$outboundSchema: z.ZodType< + GitNamespacesId$Outbound, + z.ZodTypeDef, + GitNamespacesId +> = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitNamespacesId$ { + /** @deprecated use `GitNamespacesId$inboundSchema` instead. */ + export const inboundSchema = GitNamespacesId$inboundSchema; + /** @deprecated use `GitNamespacesId$outboundSchema` instead. */ + export const outboundSchema = GitNamespacesId$outboundSchema; + /** @deprecated use `GitNamespacesId$Outbound` instead. */ + export type Outbound = GitNamespacesId$Outbound; +} + +export function gitNamespacesIdToJSON( + gitNamespacesId: GitNamespacesId, +): string { + return JSON.stringify(GitNamespacesId$outboundSchema.parse(gitNamespacesId)); +} + +export function gitNamespacesIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitNamespacesId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitNamespacesId' from JSON`, + ); +} + +/** @internal */ +export const GitNamespacesResponseBody$inboundSchema: z.ZodType< + GitNamespacesResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + provider: z.string(), + slug: z.string(), + id: z.union([z.string(), z.number()]), + ownerType: z.string(), + name: z.string().optional(), + isAccessRestricted: z.boolean().optional(), + installationId: z.number().optional(), + requireReauth: z.boolean().optional(), +}); + +/** @internal */ +export type GitNamespacesResponseBody$Outbound = { + provider: string; + slug: string; + id: string | number; + ownerType: string; + name?: string | undefined; + isAccessRestricted?: boolean | undefined; + installationId?: number | undefined; + requireReauth?: boolean | undefined; +}; + +/** @internal */ +export const GitNamespacesResponseBody$outboundSchema: z.ZodType< + GitNamespacesResponseBody$Outbound, + z.ZodTypeDef, + GitNamespacesResponseBody +> = z.object({ + provider: z.string(), + slug: z.string(), + id: z.union([z.string(), z.number()]), + ownerType: z.string(), + name: z.string().optional(), + isAccessRestricted: z.boolean().optional(), + installationId: z.number().optional(), + requireReauth: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitNamespacesResponseBody$ { + /** @deprecated use `GitNamespacesResponseBody$inboundSchema` instead. */ + export const inboundSchema = GitNamespacesResponseBody$inboundSchema; + /** @deprecated use `GitNamespacesResponseBody$outboundSchema` instead. */ + export const outboundSchema = GitNamespacesResponseBody$outboundSchema; + /** @deprecated use `GitNamespacesResponseBody$Outbound` instead. */ + export type Outbound = GitNamespacesResponseBody$Outbound; +} + +export function gitNamespacesResponseBodyToJSON( + gitNamespacesResponseBody: GitNamespacesResponseBody, +): string { + return JSON.stringify( + GitNamespacesResponseBody$outboundSchema.parse(gitNamespacesResponseBody), + ); +} + +export function gitNamespacesResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitNamespacesResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitNamespacesResponseBody' from JSON`, + ); +} diff --git a/src/models/errors/httpclienterrors.ts b/src/models/httpclienterrors.ts similarity index 100% rename from src/models/errors/httpclienterrors.ts rename to src/models/httpclienterrors.ts diff --git a/src/models/inviteusertoteamop.ts b/src/models/inviteusertoteamop.ts new file mode 100644 index 00000000..7b957e17 --- /dev/null +++ b/src/models/inviteusertoteamop.ts @@ -0,0 +1,594 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * The role of the user to invite + */ +export const InviteUserToTeamRole = { + Owner: "OWNER", + Member: "MEMBER", + Developer: "DEVELOPER", + Billing: "BILLING", + Viewer: "VIEWER", + Contributor: "CONTRIBUTOR", +} as const; +/** + * The role of the user to invite + */ +export type InviteUserToTeamRole = ClosedEnum; + +/** + * Sets the project roles for the invited user + */ +export const InviteUserToTeamTeamsRole = { + Admin: "ADMIN", + ProjectViewer: "PROJECT_VIEWER", + ProjectDeveloper: "PROJECT_DEVELOPER", +} as const; +/** + * Sets the project roles for the invited user + */ +export type InviteUserToTeamTeamsRole = ClosedEnum< + typeof InviteUserToTeamTeamsRole +>; + +export type InviteUserToTeamProjects = { + /** + * The ID of the project. + */ + projectId: string; + /** + * Sets the project roles for the invited user + */ + role: InviteUserToTeamTeamsRole; +}; + +export type InviteUserToTeamRequestBody = { + /** + * The id of the user to invite + */ + uid?: string | undefined; + /** + * The email address of the user to invite + */ + email?: string | undefined; + /** + * The role of the user to invite + */ + role?: InviteUserToTeamRole | undefined; + projects?: Array | undefined; +}; + +export type InviteUserToTeamRequest = { + teamId: string; + requestBody: InviteUserToTeamRequestBody; +}; + +export const InviteUserToTeamResponseBodyRole = { + Owner: "OWNER", + Member: "MEMBER", + Developer: "DEVELOPER", + Billing: "BILLING", + Viewer: "VIEWER", + Contributor: "CONTRIBUTOR", +} as const; +export type InviteUserToTeamResponseBodyRole = ClosedEnum< + typeof InviteUserToTeamResponseBodyRole +>; + +export type InviteUserToTeamResponseBody2 = { + uid: string; + username: string; + role: InviteUserToTeamResponseBodyRole; +}; + +/** + * The role used for the invitation + */ +export const ResponseBodyRole = { + Owner: "OWNER", + Member: "MEMBER", + Developer: "DEVELOPER", + Billing: "BILLING", + Viewer: "VIEWER", + Contributor: "CONTRIBUTOR", +} as const; +/** + * The role used for the invitation + */ +export type ResponseBodyRole = ClosedEnum; + +/** + * The member was successfully added to the team + */ +export type InviteUserToTeamResponseBody1 = { + /** + * The ID of the invited user + */ + uid: string; + /** + * The username of the invited user + */ + username: string; + /** + * The email of the invited user. Not included if the user was invited via their UID. + */ + email?: string | undefined; + /** + * The role used for the invitation + */ + role: ResponseBodyRole; +}; + +/** + * The member was successfully added to the team + */ +export type InviteUserToTeamResponseBody = + | InviteUserToTeamResponseBody2 + | InviteUserToTeamResponseBody1; + +/** @internal */ +export const InviteUserToTeamRole$inboundSchema: z.ZodNativeEnum< + typeof InviteUserToTeamRole +> = z.nativeEnum(InviteUserToTeamRole); + +/** @internal */ +export const InviteUserToTeamRole$outboundSchema: z.ZodNativeEnum< + typeof InviteUserToTeamRole +> = InviteUserToTeamRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace InviteUserToTeamRole$ { + /** @deprecated use `InviteUserToTeamRole$inboundSchema` instead. */ + export const inboundSchema = InviteUserToTeamRole$inboundSchema; + /** @deprecated use `InviteUserToTeamRole$outboundSchema` instead. */ + export const outboundSchema = InviteUserToTeamRole$outboundSchema; +} + +/** @internal */ +export const InviteUserToTeamTeamsRole$inboundSchema: z.ZodNativeEnum< + typeof InviteUserToTeamTeamsRole +> = z.nativeEnum(InviteUserToTeamTeamsRole); + +/** @internal */ +export const InviteUserToTeamTeamsRole$outboundSchema: z.ZodNativeEnum< + typeof InviteUserToTeamTeamsRole +> = InviteUserToTeamTeamsRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace InviteUserToTeamTeamsRole$ { + /** @deprecated use `InviteUserToTeamTeamsRole$inboundSchema` instead. */ + export const inboundSchema = InviteUserToTeamTeamsRole$inboundSchema; + /** @deprecated use `InviteUserToTeamTeamsRole$outboundSchema` instead. */ + export const outboundSchema = InviteUserToTeamTeamsRole$outboundSchema; +} + +/** @internal */ +export const InviteUserToTeamProjects$inboundSchema: z.ZodType< + InviteUserToTeamProjects, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string(), + role: InviteUserToTeamTeamsRole$inboundSchema, +}); + +/** @internal */ +export type InviteUserToTeamProjects$Outbound = { + projectId: string; + role: string; +}; + +/** @internal */ +export const InviteUserToTeamProjects$outboundSchema: z.ZodType< + InviteUserToTeamProjects$Outbound, + z.ZodTypeDef, + InviteUserToTeamProjects +> = z.object({ + projectId: z.string(), + role: InviteUserToTeamTeamsRole$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace InviteUserToTeamProjects$ { + /** @deprecated use `InviteUserToTeamProjects$inboundSchema` instead. */ + export const inboundSchema = InviteUserToTeamProjects$inboundSchema; + /** @deprecated use `InviteUserToTeamProjects$outboundSchema` instead. */ + export const outboundSchema = InviteUserToTeamProjects$outboundSchema; + /** @deprecated use `InviteUserToTeamProjects$Outbound` instead. */ + export type Outbound = InviteUserToTeamProjects$Outbound; +} + +export function inviteUserToTeamProjectsToJSON( + inviteUserToTeamProjects: InviteUserToTeamProjects, +): string { + return JSON.stringify( + InviteUserToTeamProjects$outboundSchema.parse(inviteUserToTeamProjects), + ); +} + +export function inviteUserToTeamProjectsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => InviteUserToTeamProjects$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'InviteUserToTeamProjects' from JSON`, + ); +} + +/** @internal */ +export const InviteUserToTeamRequestBody$inboundSchema: z.ZodType< + InviteUserToTeamRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string().optional(), + email: z.string().optional(), + role: InviteUserToTeamRole$inboundSchema.default("MEMBER"), + projects: z.array(z.lazy(() => InviteUserToTeamProjects$inboundSchema)) + .optional(), +}); + +/** @internal */ +export type InviteUserToTeamRequestBody$Outbound = { + uid?: string | undefined; + email?: string | undefined; + role: string; + projects?: Array | undefined; +}; + +/** @internal */ +export const InviteUserToTeamRequestBody$outboundSchema: z.ZodType< + InviteUserToTeamRequestBody$Outbound, + z.ZodTypeDef, + InviteUserToTeamRequestBody +> = z.object({ + uid: z.string().optional(), + email: z.string().optional(), + role: InviteUserToTeamRole$outboundSchema.default("MEMBER"), + projects: z.array(z.lazy(() => InviteUserToTeamProjects$outboundSchema)) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace InviteUserToTeamRequestBody$ { + /** @deprecated use `InviteUserToTeamRequestBody$inboundSchema` instead. */ + export const inboundSchema = InviteUserToTeamRequestBody$inboundSchema; + /** @deprecated use `InviteUserToTeamRequestBody$outboundSchema` instead. */ + export const outboundSchema = InviteUserToTeamRequestBody$outboundSchema; + /** @deprecated use `InviteUserToTeamRequestBody$Outbound` instead. */ + export type Outbound = InviteUserToTeamRequestBody$Outbound; +} + +export function inviteUserToTeamRequestBodyToJSON( + inviteUserToTeamRequestBody: InviteUserToTeamRequestBody, +): string { + return JSON.stringify( + InviteUserToTeamRequestBody$outboundSchema.parse( + inviteUserToTeamRequestBody, + ), + ); +} + +export function inviteUserToTeamRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => InviteUserToTeamRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'InviteUserToTeamRequestBody' from JSON`, + ); +} + +/** @internal */ +export const InviteUserToTeamRequest$inboundSchema: z.ZodType< + InviteUserToTeamRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string(), + RequestBody: z.lazy(() => InviteUserToTeamRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type InviteUserToTeamRequest$Outbound = { + teamId: string; + RequestBody: InviteUserToTeamRequestBody$Outbound; +}; + +/** @internal */ +export const InviteUserToTeamRequest$outboundSchema: z.ZodType< + InviteUserToTeamRequest$Outbound, + z.ZodTypeDef, + InviteUserToTeamRequest +> = z.object({ + teamId: z.string(), + requestBody: z.lazy(() => InviteUserToTeamRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace InviteUserToTeamRequest$ { + /** @deprecated use `InviteUserToTeamRequest$inboundSchema` instead. */ + export const inboundSchema = InviteUserToTeamRequest$inboundSchema; + /** @deprecated use `InviteUserToTeamRequest$outboundSchema` instead. */ + export const outboundSchema = InviteUserToTeamRequest$outboundSchema; + /** @deprecated use `InviteUserToTeamRequest$Outbound` instead. */ + export type Outbound = InviteUserToTeamRequest$Outbound; +} + +export function inviteUserToTeamRequestToJSON( + inviteUserToTeamRequest: InviteUserToTeamRequest, +): string { + return JSON.stringify( + InviteUserToTeamRequest$outboundSchema.parse(inviteUserToTeamRequest), + ); +} + +export function inviteUserToTeamRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => InviteUserToTeamRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'InviteUserToTeamRequest' from JSON`, + ); +} + +/** @internal */ +export const InviteUserToTeamResponseBodyRole$inboundSchema: z.ZodNativeEnum< + typeof InviteUserToTeamResponseBodyRole +> = z.nativeEnum(InviteUserToTeamResponseBodyRole); + +/** @internal */ +export const InviteUserToTeamResponseBodyRole$outboundSchema: z.ZodNativeEnum< + typeof InviteUserToTeamResponseBodyRole +> = InviteUserToTeamResponseBodyRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace InviteUserToTeamResponseBodyRole$ { + /** @deprecated use `InviteUserToTeamResponseBodyRole$inboundSchema` instead. */ + export const inboundSchema = InviteUserToTeamResponseBodyRole$inboundSchema; + /** @deprecated use `InviteUserToTeamResponseBodyRole$outboundSchema` instead. */ + export const outboundSchema = InviteUserToTeamResponseBodyRole$outboundSchema; +} + +/** @internal */ +export const InviteUserToTeamResponseBody2$inboundSchema: z.ZodType< + InviteUserToTeamResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + username: z.string(), + role: InviteUserToTeamResponseBodyRole$inboundSchema, +}); + +/** @internal */ +export type InviteUserToTeamResponseBody2$Outbound = { + uid: string; + username: string; + role: string; +}; + +/** @internal */ +export const InviteUserToTeamResponseBody2$outboundSchema: z.ZodType< + InviteUserToTeamResponseBody2$Outbound, + z.ZodTypeDef, + InviteUserToTeamResponseBody2 +> = z.object({ + uid: z.string(), + username: z.string(), + role: InviteUserToTeamResponseBodyRole$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace InviteUserToTeamResponseBody2$ { + /** @deprecated use `InviteUserToTeamResponseBody2$inboundSchema` instead. */ + export const inboundSchema = InviteUserToTeamResponseBody2$inboundSchema; + /** @deprecated use `InviteUserToTeamResponseBody2$outboundSchema` instead. */ + export const outboundSchema = InviteUserToTeamResponseBody2$outboundSchema; + /** @deprecated use `InviteUserToTeamResponseBody2$Outbound` instead. */ + export type Outbound = InviteUserToTeamResponseBody2$Outbound; +} + +export function inviteUserToTeamResponseBody2ToJSON( + inviteUserToTeamResponseBody2: InviteUserToTeamResponseBody2, +): string { + return JSON.stringify( + InviteUserToTeamResponseBody2$outboundSchema.parse( + inviteUserToTeamResponseBody2, + ), + ); +} + +export function inviteUserToTeamResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => InviteUserToTeamResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'InviteUserToTeamResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyRole$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyRole +> = z.nativeEnum(ResponseBodyRole); + +/** @internal */ +export const ResponseBodyRole$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyRole +> = ResponseBodyRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyRole$ { + /** @deprecated use `ResponseBodyRole$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyRole$inboundSchema; + /** @deprecated use `ResponseBodyRole$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyRole$outboundSchema; +} + +/** @internal */ +export const InviteUserToTeamResponseBody1$inboundSchema: z.ZodType< + InviteUserToTeamResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + username: z.string(), + email: z.string().optional(), + role: ResponseBodyRole$inboundSchema, +}); + +/** @internal */ +export type InviteUserToTeamResponseBody1$Outbound = { + uid: string; + username: string; + email?: string | undefined; + role: string; +}; + +/** @internal */ +export const InviteUserToTeamResponseBody1$outboundSchema: z.ZodType< + InviteUserToTeamResponseBody1$Outbound, + z.ZodTypeDef, + InviteUserToTeamResponseBody1 +> = z.object({ + uid: z.string(), + username: z.string(), + email: z.string().optional(), + role: ResponseBodyRole$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace InviteUserToTeamResponseBody1$ { + /** @deprecated use `InviteUserToTeamResponseBody1$inboundSchema` instead. */ + export const inboundSchema = InviteUserToTeamResponseBody1$inboundSchema; + /** @deprecated use `InviteUserToTeamResponseBody1$outboundSchema` instead. */ + export const outboundSchema = InviteUserToTeamResponseBody1$outboundSchema; + /** @deprecated use `InviteUserToTeamResponseBody1$Outbound` instead. */ + export type Outbound = InviteUserToTeamResponseBody1$Outbound; +} + +export function inviteUserToTeamResponseBody1ToJSON( + inviteUserToTeamResponseBody1: InviteUserToTeamResponseBody1, +): string { + return JSON.stringify( + InviteUserToTeamResponseBody1$outboundSchema.parse( + inviteUserToTeamResponseBody1, + ), + ); +} + +export function inviteUserToTeamResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => InviteUserToTeamResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'InviteUserToTeamResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const InviteUserToTeamResponseBody$inboundSchema: z.ZodType< + InviteUserToTeamResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => InviteUserToTeamResponseBody2$inboundSchema), + z.lazy(() => InviteUserToTeamResponseBody1$inboundSchema), +]); + +/** @internal */ +export type InviteUserToTeamResponseBody$Outbound = + | InviteUserToTeamResponseBody2$Outbound + | InviteUserToTeamResponseBody1$Outbound; + +/** @internal */ +export const InviteUserToTeamResponseBody$outboundSchema: z.ZodType< + InviteUserToTeamResponseBody$Outbound, + z.ZodTypeDef, + InviteUserToTeamResponseBody +> = z.union([ + z.lazy(() => InviteUserToTeamResponseBody2$outboundSchema), + z.lazy(() => InviteUserToTeamResponseBody1$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace InviteUserToTeamResponseBody$ { + /** @deprecated use `InviteUserToTeamResponseBody$inboundSchema` instead. */ + export const inboundSchema = InviteUserToTeamResponseBody$inboundSchema; + /** @deprecated use `InviteUserToTeamResponseBody$outboundSchema` instead. */ + export const outboundSchema = InviteUserToTeamResponseBody$outboundSchema; + /** @deprecated use `InviteUserToTeamResponseBody$Outbound` instead. */ + export type Outbound = InviteUserToTeamResponseBody$Outbound; +} + +export function inviteUserToTeamResponseBodyToJSON( + inviteUserToTeamResponseBody: InviteUserToTeamResponseBody, +): string { + return JSON.stringify( + InviteUserToTeamResponseBody$outboundSchema.parse( + inviteUserToTeamResponseBody, + ), + ); +} + +export function inviteUserToTeamResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => InviteUserToTeamResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'InviteUserToTeamResponseBody' from JSON`, + ); +} diff --git a/src/models/issuecertop.ts b/src/models/issuecertop.ts new file mode 100644 index 00000000..4aaecd42 --- /dev/null +++ b/src/models/issuecertop.ts @@ -0,0 +1,224 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type IssueCertRequestBody = { + /** + * The common names the cert should be issued for + */ + cns?: Array | undefined; +}; + +export type IssueCertRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: IssueCertRequestBody; +}; + +export type IssueCertResponseBody = { + id: string; + createdAt: number; + expiresAt: number; + autoRenew: boolean; + cns: Array; +}; + +/** @internal */ +export const IssueCertRequestBody$inboundSchema: z.ZodType< + IssueCertRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + cns: z.array(z.string()).optional(), +}); + +/** @internal */ +export type IssueCertRequestBody$Outbound = { + cns?: Array | undefined; +}; + +/** @internal */ +export const IssueCertRequestBody$outboundSchema: z.ZodType< + IssueCertRequestBody$Outbound, + z.ZodTypeDef, + IssueCertRequestBody +> = z.object({ + cns: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace IssueCertRequestBody$ { + /** @deprecated use `IssueCertRequestBody$inboundSchema` instead. */ + export const inboundSchema = IssueCertRequestBody$inboundSchema; + /** @deprecated use `IssueCertRequestBody$outboundSchema` instead. */ + export const outboundSchema = IssueCertRequestBody$outboundSchema; + /** @deprecated use `IssueCertRequestBody$Outbound` instead. */ + export type Outbound = IssueCertRequestBody$Outbound; +} + +export function issueCertRequestBodyToJSON( + issueCertRequestBody: IssueCertRequestBody, +): string { + return JSON.stringify( + IssueCertRequestBody$outboundSchema.parse(issueCertRequestBody), + ); +} + +export function issueCertRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => IssueCertRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'IssueCertRequestBody' from JSON`, + ); +} + +/** @internal */ +export const IssueCertRequest$inboundSchema: z.ZodType< + IssueCertRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => IssueCertRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type IssueCertRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: IssueCertRequestBody$Outbound; +}; + +/** @internal */ +export const IssueCertRequest$outboundSchema: z.ZodType< + IssueCertRequest$Outbound, + z.ZodTypeDef, + IssueCertRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => IssueCertRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace IssueCertRequest$ { + /** @deprecated use `IssueCertRequest$inboundSchema` instead. */ + export const inboundSchema = IssueCertRequest$inboundSchema; + /** @deprecated use `IssueCertRequest$outboundSchema` instead. */ + export const outboundSchema = IssueCertRequest$outboundSchema; + /** @deprecated use `IssueCertRequest$Outbound` instead. */ + export type Outbound = IssueCertRequest$Outbound; +} + +export function issueCertRequestToJSON( + issueCertRequest: IssueCertRequest, +): string { + return JSON.stringify( + IssueCertRequest$outboundSchema.parse(issueCertRequest), + ); +} + +export function issueCertRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => IssueCertRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'IssueCertRequest' from JSON`, + ); +} + +/** @internal */ +export const IssueCertResponseBody$inboundSchema: z.ZodType< + IssueCertResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + createdAt: z.number(), + expiresAt: z.number(), + autoRenew: z.boolean(), + cns: z.array(z.string()), +}); + +/** @internal */ +export type IssueCertResponseBody$Outbound = { + id: string; + createdAt: number; + expiresAt: number; + autoRenew: boolean; + cns: Array; +}; + +/** @internal */ +export const IssueCertResponseBody$outboundSchema: z.ZodType< + IssueCertResponseBody$Outbound, + z.ZodTypeDef, + IssueCertResponseBody +> = z.object({ + id: z.string(), + createdAt: z.number(), + expiresAt: z.number(), + autoRenew: z.boolean(), + cns: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace IssueCertResponseBody$ { + /** @deprecated use `IssueCertResponseBody$inboundSchema` instead. */ + export const inboundSchema = IssueCertResponseBody$inboundSchema; + /** @deprecated use `IssueCertResponseBody$outboundSchema` instead. */ + export const outboundSchema = IssueCertResponseBody$outboundSchema; + /** @deprecated use `IssueCertResponseBody$Outbound` instead. */ + export type Outbound = IssueCertResponseBody$Outbound; +} + +export function issueCertResponseBodyToJSON( + issueCertResponseBody: IssueCertResponseBody, +): string { + return JSON.stringify( + IssueCertResponseBody$outboundSchema.parse(issueCertResponseBody), + ); +} + +export function issueCertResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => IssueCertResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'IssueCertResponseBody' from JSON`, + ); +} diff --git a/src/models/jointeamop.ts b/src/models/jointeamop.ts new file mode 100644 index 00000000..4d3dade5 --- /dev/null +++ b/src/models/jointeamop.ts @@ -0,0 +1,223 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type JoinTeamRequestBody = { + /** + * The invite code to join the team. + */ + inviteCode?: string | undefined; +}; + +export type JoinTeamRequest = { + teamId: string; + requestBody: JoinTeamRequestBody; +}; + +/** + * Successfully joined a team. + */ +export type JoinTeamResponseBody = { + /** + * The ID of the team the user joined. + */ + teamId: string; + /** + * The slug of the team the user joined. + */ + slug: string; + /** + * The name of the team the user joined. + */ + name: string; + /** + * The origin of how the user joined. + */ + from: string; +}; + +/** @internal */ +export const JoinTeamRequestBody$inboundSchema: z.ZodType< + JoinTeamRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + inviteCode: z.string().optional(), +}); + +/** @internal */ +export type JoinTeamRequestBody$Outbound = { + inviteCode?: string | undefined; +}; + +/** @internal */ +export const JoinTeamRequestBody$outboundSchema: z.ZodType< + JoinTeamRequestBody$Outbound, + z.ZodTypeDef, + JoinTeamRequestBody +> = z.object({ + inviteCode: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace JoinTeamRequestBody$ { + /** @deprecated use `JoinTeamRequestBody$inboundSchema` instead. */ + export const inboundSchema = JoinTeamRequestBody$inboundSchema; + /** @deprecated use `JoinTeamRequestBody$outboundSchema` instead. */ + export const outboundSchema = JoinTeamRequestBody$outboundSchema; + /** @deprecated use `JoinTeamRequestBody$Outbound` instead. */ + export type Outbound = JoinTeamRequestBody$Outbound; +} + +export function joinTeamRequestBodyToJSON( + joinTeamRequestBody: JoinTeamRequestBody, +): string { + return JSON.stringify( + JoinTeamRequestBody$outboundSchema.parse(joinTeamRequestBody), + ); +} + +export function joinTeamRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => JoinTeamRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'JoinTeamRequestBody' from JSON`, + ); +} + +/** @internal */ +export const JoinTeamRequest$inboundSchema: z.ZodType< + JoinTeamRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string(), + RequestBody: z.lazy(() => JoinTeamRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type JoinTeamRequest$Outbound = { + teamId: string; + RequestBody: JoinTeamRequestBody$Outbound; +}; + +/** @internal */ +export const JoinTeamRequest$outboundSchema: z.ZodType< + JoinTeamRequest$Outbound, + z.ZodTypeDef, + JoinTeamRequest +> = z.object({ + teamId: z.string(), + requestBody: z.lazy(() => JoinTeamRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace JoinTeamRequest$ { + /** @deprecated use `JoinTeamRequest$inboundSchema` instead. */ + export const inboundSchema = JoinTeamRequest$inboundSchema; + /** @deprecated use `JoinTeamRequest$outboundSchema` instead. */ + export const outboundSchema = JoinTeamRequest$outboundSchema; + /** @deprecated use `JoinTeamRequest$Outbound` instead. */ + export type Outbound = JoinTeamRequest$Outbound; +} + +export function joinTeamRequestToJSON( + joinTeamRequest: JoinTeamRequest, +): string { + return JSON.stringify(JoinTeamRequest$outboundSchema.parse(joinTeamRequest)); +} + +export function joinTeamRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => JoinTeamRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'JoinTeamRequest' from JSON`, + ); +} + +/** @internal */ +export const JoinTeamResponseBody$inboundSchema: z.ZodType< + JoinTeamResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string(), + slug: z.string(), + name: z.string(), + from: z.string(), +}); + +/** @internal */ +export type JoinTeamResponseBody$Outbound = { + teamId: string; + slug: string; + name: string; + from: string; +}; + +/** @internal */ +export const JoinTeamResponseBody$outboundSchema: z.ZodType< + JoinTeamResponseBody$Outbound, + z.ZodTypeDef, + JoinTeamResponseBody +> = z.object({ + teamId: z.string(), + slug: z.string(), + name: z.string(), + from: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace JoinTeamResponseBody$ { + /** @deprecated use `JoinTeamResponseBody$inboundSchema` instead. */ + export const inboundSchema = JoinTeamResponseBody$inboundSchema; + /** @deprecated use `JoinTeamResponseBody$outboundSchema` instead. */ + export const outboundSchema = JoinTeamResponseBody$outboundSchema; + /** @deprecated use `JoinTeamResponseBody$Outbound` instead. */ + export type Outbound = JoinTeamResponseBody$Outbound; +} + +export function joinTeamResponseBodyToJSON( + joinTeamResponseBody: JoinTeamResponseBody, +): string { + return JSON.stringify( + JoinTeamResponseBody$outboundSchema.parse(joinTeamResponseBody), + ); +} + +export function joinTeamResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => JoinTeamResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'JoinTeamResponseBody' from JSON`, + ); +} diff --git a/src/models/listaccessgroupmembersop.ts b/src/models/listaccessgroupmembersop.ts new file mode 100644 index 00000000..5ed98151 --- /dev/null +++ b/src/models/listaccessgroupmembersop.ts @@ -0,0 +1,341 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type ListAccessGroupMembersRequest = { + /** + * The ID or name of the Access Group. + */ + idOrName: string; + /** + * Limit how many access group members should be returned. + */ + limit?: number | undefined; + /** + * Continuation cursor to retrieve the next page of results. + */ + next?: string | undefined; + /** + * Search project members by their name, username, and email. + */ + search?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export const TeamRole = { + Owner: "OWNER", + Member: "MEMBER", + Developer: "DEVELOPER", + Billing: "BILLING", + Viewer: "VIEWER", + Contributor: "CONTRIBUTOR", +} as const; +export type TeamRole = ClosedEnum; + +export type Members = { + avatar?: string | undefined; + email: string; + uid: string; + username: string; + name?: string | undefined; + createdAt?: string | undefined; + teamRole: TeamRole; +}; + +export type ListAccessGroupMembersPagination = { + count: number; + next: string | null; +}; + +export type ListAccessGroupMembersResponseBody = { + members: Array; + pagination: ListAccessGroupMembersPagination; +}; + +/** @internal */ +export const ListAccessGroupMembersRequest$inboundSchema: z.ZodType< + ListAccessGroupMembersRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + limit: z.number().int().optional(), + next: z.string().optional(), + search: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type ListAccessGroupMembersRequest$Outbound = { + idOrName: string; + limit?: number | undefined; + next?: string | undefined; + search?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const ListAccessGroupMembersRequest$outboundSchema: z.ZodType< + ListAccessGroupMembersRequest$Outbound, + z.ZodTypeDef, + ListAccessGroupMembersRequest +> = z.object({ + idOrName: z.string(), + limit: z.number().int().optional(), + next: z.string().optional(), + search: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAccessGroupMembersRequest$ { + /** @deprecated use `ListAccessGroupMembersRequest$inboundSchema` instead. */ + export const inboundSchema = ListAccessGroupMembersRequest$inboundSchema; + /** @deprecated use `ListAccessGroupMembersRequest$outboundSchema` instead. */ + export const outboundSchema = ListAccessGroupMembersRequest$outboundSchema; + /** @deprecated use `ListAccessGroupMembersRequest$Outbound` instead. */ + export type Outbound = ListAccessGroupMembersRequest$Outbound; +} + +export function listAccessGroupMembersRequestToJSON( + listAccessGroupMembersRequest: ListAccessGroupMembersRequest, +): string { + return JSON.stringify( + ListAccessGroupMembersRequest$outboundSchema.parse( + listAccessGroupMembersRequest, + ), + ); +} + +export function listAccessGroupMembersRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAccessGroupMembersRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAccessGroupMembersRequest' from JSON`, + ); +} + +/** @internal */ +export const TeamRole$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(TeamRole); + +/** @internal */ +export const TeamRole$outboundSchema: z.ZodNativeEnum = + TeamRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TeamRole$ { + /** @deprecated use `TeamRole$inboundSchema` instead. */ + export const inboundSchema = TeamRole$inboundSchema; + /** @deprecated use `TeamRole$outboundSchema` instead. */ + export const outboundSchema = TeamRole$outboundSchema; +} + +/** @internal */ +export const Members$inboundSchema: z.ZodType = + z.object({ + avatar: z.string().optional(), + email: z.string(), + uid: z.string(), + username: z.string(), + name: z.string().optional(), + createdAt: z.string().optional(), + teamRole: TeamRole$inboundSchema, + }); + +/** @internal */ +export type Members$Outbound = { + avatar?: string | undefined; + email: string; + uid: string; + username: string; + name?: string | undefined; + createdAt?: string | undefined; + teamRole: string; +}; + +/** @internal */ +export const Members$outboundSchema: z.ZodType< + Members$Outbound, + z.ZodTypeDef, + Members +> = z.object({ + avatar: z.string().optional(), + email: z.string(), + uid: z.string(), + username: z.string(), + name: z.string().optional(), + createdAt: z.string().optional(), + teamRole: TeamRole$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Members$ { + /** @deprecated use `Members$inboundSchema` instead. */ + export const inboundSchema = Members$inboundSchema; + /** @deprecated use `Members$outboundSchema` instead. */ + export const outboundSchema = Members$outboundSchema; + /** @deprecated use `Members$Outbound` instead. */ + export type Outbound = Members$Outbound; +} + +export function membersToJSON(members: Members): string { + return JSON.stringify(Members$outboundSchema.parse(members)); +} + +export function membersFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Members$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Members' from JSON`, + ); +} + +/** @internal */ +export const ListAccessGroupMembersPagination$inboundSchema: z.ZodType< + ListAccessGroupMembersPagination, + z.ZodTypeDef, + unknown +> = z.object({ + count: z.number(), + next: z.nullable(z.string()), +}); + +/** @internal */ +export type ListAccessGroupMembersPagination$Outbound = { + count: number; + next: string | null; +}; + +/** @internal */ +export const ListAccessGroupMembersPagination$outboundSchema: z.ZodType< + ListAccessGroupMembersPagination$Outbound, + z.ZodTypeDef, + ListAccessGroupMembersPagination +> = z.object({ + count: z.number(), + next: z.nullable(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAccessGroupMembersPagination$ { + /** @deprecated use `ListAccessGroupMembersPagination$inboundSchema` instead. */ + export const inboundSchema = ListAccessGroupMembersPagination$inboundSchema; + /** @deprecated use `ListAccessGroupMembersPagination$outboundSchema` instead. */ + export const outboundSchema = ListAccessGroupMembersPagination$outboundSchema; + /** @deprecated use `ListAccessGroupMembersPagination$Outbound` instead. */ + export type Outbound = ListAccessGroupMembersPagination$Outbound; +} + +export function listAccessGroupMembersPaginationToJSON( + listAccessGroupMembersPagination: ListAccessGroupMembersPagination, +): string { + return JSON.stringify( + ListAccessGroupMembersPagination$outboundSchema.parse( + listAccessGroupMembersPagination, + ), + ); +} + +export function listAccessGroupMembersPaginationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAccessGroupMembersPagination$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAccessGroupMembersPagination' from JSON`, + ); +} + +/** @internal */ +export const ListAccessGroupMembersResponseBody$inboundSchema: z.ZodType< + ListAccessGroupMembersResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + members: z.array(z.lazy(() => Members$inboundSchema)), + pagination: z.lazy(() => ListAccessGroupMembersPagination$inboundSchema), +}); + +/** @internal */ +export type ListAccessGroupMembersResponseBody$Outbound = { + members: Array; + pagination: ListAccessGroupMembersPagination$Outbound; +}; + +/** @internal */ +export const ListAccessGroupMembersResponseBody$outboundSchema: z.ZodType< + ListAccessGroupMembersResponseBody$Outbound, + z.ZodTypeDef, + ListAccessGroupMembersResponseBody +> = z.object({ + members: z.array(z.lazy(() => Members$outboundSchema)), + pagination: z.lazy(() => ListAccessGroupMembersPagination$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAccessGroupMembersResponseBody$ { + /** @deprecated use `ListAccessGroupMembersResponseBody$inboundSchema` instead. */ + export const inboundSchema = ListAccessGroupMembersResponseBody$inboundSchema; + /** @deprecated use `ListAccessGroupMembersResponseBody$outboundSchema` instead. */ + export const outboundSchema = + ListAccessGroupMembersResponseBody$outboundSchema; + /** @deprecated use `ListAccessGroupMembersResponseBody$Outbound` instead. */ + export type Outbound = ListAccessGroupMembersResponseBody$Outbound; +} + +export function listAccessGroupMembersResponseBodyToJSON( + listAccessGroupMembersResponseBody: ListAccessGroupMembersResponseBody, +): string { + return JSON.stringify( + ListAccessGroupMembersResponseBody$outboundSchema.parse( + listAccessGroupMembersResponseBody, + ), + ); +} + +export function listAccessGroupMembersResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + ListAccessGroupMembersResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAccessGroupMembersResponseBody' from JSON`, + ); +} diff --git a/src/models/listaccessgroupprojectsop.ts b/src/models/listaccessgroupprojectsop.ts new file mode 100644 index 00000000..1fe3934a --- /dev/null +++ b/src/models/listaccessgroupprojectsop.ts @@ -0,0 +1,410 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type ListAccessGroupProjectsRequest = { + /** + * The ID or name of the Access Group. + */ + idOrName: string; + /** + * Limit how many access group projects should be returned. + */ + limit?: number | undefined; + /** + * Continuation cursor to retrieve the next page of results. + */ + next?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export const ListAccessGroupProjectsRole = { + Admin: "ADMIN", + ProjectDeveloper: "PROJECT_DEVELOPER", + ProjectViewer: "PROJECT_VIEWER", +} as const; +export type ListAccessGroupProjectsRole = ClosedEnum< + typeof ListAccessGroupProjectsRole +>; + +export type ListAccessGroupProjectsProject = { + name?: string | undefined; + framework?: string | null | undefined; + latestDeploymentId?: string | undefined; +}; + +export type ListAccessGroupProjectsProjects = { + projectId: string; + role: ListAccessGroupProjectsRole; + createdAt: string; + updatedAt: string; + project: ListAccessGroupProjectsProject; +}; + +export type ListAccessGroupProjectsPagination = { + count: number; + next: string | null; +}; + +export type ListAccessGroupProjectsResponseBody = { + projects: Array; + pagination: ListAccessGroupProjectsPagination; +}; + +/** @internal */ +export const ListAccessGroupProjectsRequest$inboundSchema: z.ZodType< + ListAccessGroupProjectsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + limit: z.number().int().optional(), + next: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type ListAccessGroupProjectsRequest$Outbound = { + idOrName: string; + limit?: number | undefined; + next?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const ListAccessGroupProjectsRequest$outboundSchema: z.ZodType< + ListAccessGroupProjectsRequest$Outbound, + z.ZodTypeDef, + ListAccessGroupProjectsRequest +> = z.object({ + idOrName: z.string(), + limit: z.number().int().optional(), + next: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAccessGroupProjectsRequest$ { + /** @deprecated use `ListAccessGroupProjectsRequest$inboundSchema` instead. */ + export const inboundSchema = ListAccessGroupProjectsRequest$inboundSchema; + /** @deprecated use `ListAccessGroupProjectsRequest$outboundSchema` instead. */ + export const outboundSchema = ListAccessGroupProjectsRequest$outboundSchema; + /** @deprecated use `ListAccessGroupProjectsRequest$Outbound` instead. */ + export type Outbound = ListAccessGroupProjectsRequest$Outbound; +} + +export function listAccessGroupProjectsRequestToJSON( + listAccessGroupProjectsRequest: ListAccessGroupProjectsRequest, +): string { + return JSON.stringify( + ListAccessGroupProjectsRequest$outboundSchema.parse( + listAccessGroupProjectsRequest, + ), + ); +} + +export function listAccessGroupProjectsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAccessGroupProjectsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAccessGroupProjectsRequest' from JSON`, + ); +} + +/** @internal */ +export const ListAccessGroupProjectsRole$inboundSchema: z.ZodNativeEnum< + typeof ListAccessGroupProjectsRole +> = z.nativeEnum(ListAccessGroupProjectsRole); + +/** @internal */ +export const ListAccessGroupProjectsRole$outboundSchema: z.ZodNativeEnum< + typeof ListAccessGroupProjectsRole +> = ListAccessGroupProjectsRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAccessGroupProjectsRole$ { + /** @deprecated use `ListAccessGroupProjectsRole$inboundSchema` instead. */ + export const inboundSchema = ListAccessGroupProjectsRole$inboundSchema; + /** @deprecated use `ListAccessGroupProjectsRole$outboundSchema` instead. */ + export const outboundSchema = ListAccessGroupProjectsRole$outboundSchema; +} + +/** @internal */ +export const ListAccessGroupProjectsProject$inboundSchema: z.ZodType< + ListAccessGroupProjectsProject, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), + framework: z.nullable(z.string()).optional(), + latestDeploymentId: z.string().optional(), +}); + +/** @internal */ +export type ListAccessGroupProjectsProject$Outbound = { + name?: string | undefined; + framework?: string | null | undefined; + latestDeploymentId?: string | undefined; +}; + +/** @internal */ +export const ListAccessGroupProjectsProject$outboundSchema: z.ZodType< + ListAccessGroupProjectsProject$Outbound, + z.ZodTypeDef, + ListAccessGroupProjectsProject +> = z.object({ + name: z.string().optional(), + framework: z.nullable(z.string()).optional(), + latestDeploymentId: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAccessGroupProjectsProject$ { + /** @deprecated use `ListAccessGroupProjectsProject$inboundSchema` instead. */ + export const inboundSchema = ListAccessGroupProjectsProject$inboundSchema; + /** @deprecated use `ListAccessGroupProjectsProject$outboundSchema` instead. */ + export const outboundSchema = ListAccessGroupProjectsProject$outboundSchema; + /** @deprecated use `ListAccessGroupProjectsProject$Outbound` instead. */ + export type Outbound = ListAccessGroupProjectsProject$Outbound; +} + +export function listAccessGroupProjectsProjectToJSON( + listAccessGroupProjectsProject: ListAccessGroupProjectsProject, +): string { + return JSON.stringify( + ListAccessGroupProjectsProject$outboundSchema.parse( + listAccessGroupProjectsProject, + ), + ); +} + +export function listAccessGroupProjectsProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAccessGroupProjectsProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAccessGroupProjectsProject' from JSON`, + ); +} + +/** @internal */ +export const ListAccessGroupProjectsProjects$inboundSchema: z.ZodType< + ListAccessGroupProjectsProjects, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string(), + role: ListAccessGroupProjectsRole$inboundSchema, + createdAt: z.string(), + updatedAt: z.string(), + project: z.lazy(() => ListAccessGroupProjectsProject$inboundSchema), +}); + +/** @internal */ +export type ListAccessGroupProjectsProjects$Outbound = { + projectId: string; + role: string; + createdAt: string; + updatedAt: string; + project: ListAccessGroupProjectsProject$Outbound; +}; + +/** @internal */ +export const ListAccessGroupProjectsProjects$outboundSchema: z.ZodType< + ListAccessGroupProjectsProjects$Outbound, + z.ZodTypeDef, + ListAccessGroupProjectsProjects +> = z.object({ + projectId: z.string(), + role: ListAccessGroupProjectsRole$outboundSchema, + createdAt: z.string(), + updatedAt: z.string(), + project: z.lazy(() => ListAccessGroupProjectsProject$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAccessGroupProjectsProjects$ { + /** @deprecated use `ListAccessGroupProjectsProjects$inboundSchema` instead. */ + export const inboundSchema = ListAccessGroupProjectsProjects$inboundSchema; + /** @deprecated use `ListAccessGroupProjectsProjects$outboundSchema` instead. */ + export const outboundSchema = ListAccessGroupProjectsProjects$outboundSchema; + /** @deprecated use `ListAccessGroupProjectsProjects$Outbound` instead. */ + export type Outbound = ListAccessGroupProjectsProjects$Outbound; +} + +export function listAccessGroupProjectsProjectsToJSON( + listAccessGroupProjectsProjects: ListAccessGroupProjectsProjects, +): string { + return JSON.stringify( + ListAccessGroupProjectsProjects$outboundSchema.parse( + listAccessGroupProjectsProjects, + ), + ); +} + +export function listAccessGroupProjectsProjectsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAccessGroupProjectsProjects$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAccessGroupProjectsProjects' from JSON`, + ); +} + +/** @internal */ +export const ListAccessGroupProjectsPagination$inboundSchema: z.ZodType< + ListAccessGroupProjectsPagination, + z.ZodTypeDef, + unknown +> = z.object({ + count: z.number(), + next: z.nullable(z.string()), +}); + +/** @internal */ +export type ListAccessGroupProjectsPagination$Outbound = { + count: number; + next: string | null; +}; + +/** @internal */ +export const ListAccessGroupProjectsPagination$outboundSchema: z.ZodType< + ListAccessGroupProjectsPagination$Outbound, + z.ZodTypeDef, + ListAccessGroupProjectsPagination +> = z.object({ + count: z.number(), + next: z.nullable(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAccessGroupProjectsPagination$ { + /** @deprecated use `ListAccessGroupProjectsPagination$inboundSchema` instead. */ + export const inboundSchema = ListAccessGroupProjectsPagination$inboundSchema; + /** @deprecated use `ListAccessGroupProjectsPagination$outboundSchema` instead. */ + export const outboundSchema = + ListAccessGroupProjectsPagination$outboundSchema; + /** @deprecated use `ListAccessGroupProjectsPagination$Outbound` instead. */ + export type Outbound = ListAccessGroupProjectsPagination$Outbound; +} + +export function listAccessGroupProjectsPaginationToJSON( + listAccessGroupProjectsPagination: ListAccessGroupProjectsPagination, +): string { + return JSON.stringify( + ListAccessGroupProjectsPagination$outboundSchema.parse( + listAccessGroupProjectsPagination, + ), + ); +} + +export function listAccessGroupProjectsPaginationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAccessGroupProjectsPagination$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAccessGroupProjectsPagination' from JSON`, + ); +} + +/** @internal */ +export const ListAccessGroupProjectsResponseBody$inboundSchema: z.ZodType< + ListAccessGroupProjectsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + projects: z.array( + z.lazy(() => ListAccessGroupProjectsProjects$inboundSchema), + ), + pagination: z.lazy(() => ListAccessGroupProjectsPagination$inboundSchema), +}); + +/** @internal */ +export type ListAccessGroupProjectsResponseBody$Outbound = { + projects: Array; + pagination: ListAccessGroupProjectsPagination$Outbound; +}; + +/** @internal */ +export const ListAccessGroupProjectsResponseBody$outboundSchema: z.ZodType< + ListAccessGroupProjectsResponseBody$Outbound, + z.ZodTypeDef, + ListAccessGroupProjectsResponseBody +> = z.object({ + projects: z.array( + z.lazy(() => ListAccessGroupProjectsProjects$outboundSchema), + ), + pagination: z.lazy(() => ListAccessGroupProjectsPagination$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAccessGroupProjectsResponseBody$ { + /** @deprecated use `ListAccessGroupProjectsResponseBody$inboundSchema` instead. */ + export const inboundSchema = + ListAccessGroupProjectsResponseBody$inboundSchema; + /** @deprecated use `ListAccessGroupProjectsResponseBody$outboundSchema` instead. */ + export const outboundSchema = + ListAccessGroupProjectsResponseBody$outboundSchema; + /** @deprecated use `ListAccessGroupProjectsResponseBody$Outbound` instead. */ + export type Outbound = ListAccessGroupProjectsResponseBody$Outbound; +} + +export function listAccessGroupProjectsResponseBodyToJSON( + listAccessGroupProjectsResponseBody: ListAccessGroupProjectsResponseBody, +): string { + return JSON.stringify( + ListAccessGroupProjectsResponseBody$outboundSchema.parse( + listAccessGroupProjectsResponseBody, + ), + ); +} + +export function listAccessGroupProjectsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + ListAccessGroupProjectsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAccessGroupProjectsResponseBody' from JSON`, + ); +} diff --git a/src/models/listaccessgroupsop.ts b/src/models/listaccessgroupsop.ts new file mode 100644 index 00000000..fd4dfc05 --- /dev/null +++ b/src/models/listaccessgroupsop.ts @@ -0,0 +1,473 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type ListAccessGroupsRequest = { + /** + * Filter access groups by project. + */ + projectId?: string | undefined; + /** + * Search for access groups by name. + */ + search?: string | undefined; + /** + * Number of members to include in the response. + */ + membersLimit?: number | undefined; + /** + * Number of projects to include in the response. + */ + projectsLimit?: number | undefined; + /** + * Limit how many access group should be returned. + */ + limit?: number | undefined; + /** + * Continuation cursor to retrieve the next page of results. + */ + next?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export type AccessGroups = { + members?: Array | undefined; + projects?: Array | undefined; + entitlements?: Array | undefined; + isDsyncManaged: boolean; + /** + * The name of this access group. + */ + name: string; + /** + * Timestamp in milliseconds when the access group was created. + */ + createdAt: string; + /** + * ID of the team that this access group belongs to. + */ + teamId: string; + /** + * Timestamp in milliseconds when the access group was last updated. + */ + updatedAt: string; + /** + * ID of the access group. + */ + accessGroupId: string; + /** + * Number of members in the access group. + */ + membersCount: number; + /** + * Number of projects in the access group. + */ + projectsCount: number; +}; + +export type ResponseBodyPagination = { + count: number; + next: string | null; +}; + +export type ListAccessGroupsResponseBody2 = { + accessGroups: Array; + pagination: ResponseBodyPagination; +}; + +export type ListAccessGroupsResponseBody1 = {}; + +export type ListAccessGroupsResponseBody = + | ListAccessGroupsResponseBody1 + | ListAccessGroupsResponseBody2; + +/** @internal */ +export const ListAccessGroupsRequest$inboundSchema: z.ZodType< + ListAccessGroupsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string().optional(), + search: z.string().optional(), + membersLimit: z.number().int().optional(), + projectsLimit: z.number().int().optional(), + limit: z.number().int().optional(), + next: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type ListAccessGroupsRequest$Outbound = { + projectId?: string | undefined; + search?: string | undefined; + membersLimit?: number | undefined; + projectsLimit?: number | undefined; + limit?: number | undefined; + next?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const ListAccessGroupsRequest$outboundSchema: z.ZodType< + ListAccessGroupsRequest$Outbound, + z.ZodTypeDef, + ListAccessGroupsRequest +> = z.object({ + projectId: z.string().optional(), + search: z.string().optional(), + membersLimit: z.number().int().optional(), + projectsLimit: z.number().int().optional(), + limit: z.number().int().optional(), + next: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAccessGroupsRequest$ { + /** @deprecated use `ListAccessGroupsRequest$inboundSchema` instead. */ + export const inboundSchema = ListAccessGroupsRequest$inboundSchema; + /** @deprecated use `ListAccessGroupsRequest$outboundSchema` instead. */ + export const outboundSchema = ListAccessGroupsRequest$outboundSchema; + /** @deprecated use `ListAccessGroupsRequest$Outbound` instead. */ + export type Outbound = ListAccessGroupsRequest$Outbound; +} + +export function listAccessGroupsRequestToJSON( + listAccessGroupsRequest: ListAccessGroupsRequest, +): string { + return JSON.stringify( + ListAccessGroupsRequest$outboundSchema.parse(listAccessGroupsRequest), + ); +} + +export function listAccessGroupsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAccessGroupsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAccessGroupsRequest' from JSON`, + ); +} + +/** @internal */ +export const AccessGroups$inboundSchema: z.ZodType< + AccessGroups, + z.ZodTypeDef, + unknown +> = z.object({ + members: z.array(z.string()).optional(), + projects: z.array(z.string()).optional(), + entitlements: z.array(z.string()).optional(), + isDsyncManaged: z.boolean(), + name: z.string(), + createdAt: z.string(), + teamId: z.string(), + updatedAt: z.string(), + accessGroupId: z.string(), + membersCount: z.number(), + projectsCount: z.number(), +}); + +/** @internal */ +export type AccessGroups$Outbound = { + members?: Array | undefined; + projects?: Array | undefined; + entitlements?: Array | undefined; + isDsyncManaged: boolean; + name: string; + createdAt: string; + teamId: string; + updatedAt: string; + accessGroupId: string; + membersCount: number; + projectsCount: number; +}; + +/** @internal */ +export const AccessGroups$outboundSchema: z.ZodType< + AccessGroups$Outbound, + z.ZodTypeDef, + AccessGroups +> = z.object({ + members: z.array(z.string()).optional(), + projects: z.array(z.string()).optional(), + entitlements: z.array(z.string()).optional(), + isDsyncManaged: z.boolean(), + name: z.string(), + createdAt: z.string(), + teamId: z.string(), + updatedAt: z.string(), + accessGroupId: z.string(), + membersCount: z.number(), + projectsCount: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AccessGroups$ { + /** @deprecated use `AccessGroups$inboundSchema` instead. */ + export const inboundSchema = AccessGroups$inboundSchema; + /** @deprecated use `AccessGroups$outboundSchema` instead. */ + export const outboundSchema = AccessGroups$outboundSchema; + /** @deprecated use `AccessGroups$Outbound` instead. */ + export type Outbound = AccessGroups$Outbound; +} + +export function accessGroupsToJSON(accessGroups: AccessGroups): string { + return JSON.stringify(AccessGroups$outboundSchema.parse(accessGroups)); +} + +export function accessGroupsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AccessGroups$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AccessGroups' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyPagination$inboundSchema: z.ZodType< + ResponseBodyPagination, + z.ZodTypeDef, + unknown +> = z.object({ + count: z.number(), + next: z.nullable(z.string()), +}); + +/** @internal */ +export type ResponseBodyPagination$Outbound = { + count: number; + next: string | null; +}; + +/** @internal */ +export const ResponseBodyPagination$outboundSchema: z.ZodType< + ResponseBodyPagination$Outbound, + z.ZodTypeDef, + ResponseBodyPagination +> = z.object({ + count: z.number(), + next: z.nullable(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyPagination$ { + /** @deprecated use `ResponseBodyPagination$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyPagination$inboundSchema; + /** @deprecated use `ResponseBodyPagination$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyPagination$outboundSchema; + /** @deprecated use `ResponseBodyPagination$Outbound` instead. */ + export type Outbound = ResponseBodyPagination$Outbound; +} + +export function responseBodyPaginationToJSON( + responseBodyPagination: ResponseBodyPagination, +): string { + return JSON.stringify( + ResponseBodyPagination$outboundSchema.parse(responseBodyPagination), + ); +} + +export function responseBodyPaginationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyPagination$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyPagination' from JSON`, + ); +} + +/** @internal */ +export const ListAccessGroupsResponseBody2$inboundSchema: z.ZodType< + ListAccessGroupsResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + accessGroups: z.array(z.lazy(() => AccessGroups$inboundSchema)), + pagination: z.lazy(() => ResponseBodyPagination$inboundSchema), +}); + +/** @internal */ +export type ListAccessGroupsResponseBody2$Outbound = { + accessGroups: Array; + pagination: ResponseBodyPagination$Outbound; +}; + +/** @internal */ +export const ListAccessGroupsResponseBody2$outboundSchema: z.ZodType< + ListAccessGroupsResponseBody2$Outbound, + z.ZodTypeDef, + ListAccessGroupsResponseBody2 +> = z.object({ + accessGroups: z.array(z.lazy(() => AccessGroups$outboundSchema)), + pagination: z.lazy(() => ResponseBodyPagination$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAccessGroupsResponseBody2$ { + /** @deprecated use `ListAccessGroupsResponseBody2$inboundSchema` instead. */ + export const inboundSchema = ListAccessGroupsResponseBody2$inboundSchema; + /** @deprecated use `ListAccessGroupsResponseBody2$outboundSchema` instead. */ + export const outboundSchema = ListAccessGroupsResponseBody2$outboundSchema; + /** @deprecated use `ListAccessGroupsResponseBody2$Outbound` instead. */ + export type Outbound = ListAccessGroupsResponseBody2$Outbound; +} + +export function listAccessGroupsResponseBody2ToJSON( + listAccessGroupsResponseBody2: ListAccessGroupsResponseBody2, +): string { + return JSON.stringify( + ListAccessGroupsResponseBody2$outboundSchema.parse( + listAccessGroupsResponseBody2, + ), + ); +} + +export function listAccessGroupsResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAccessGroupsResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAccessGroupsResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const ListAccessGroupsResponseBody1$inboundSchema: z.ZodType< + ListAccessGroupsResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type ListAccessGroupsResponseBody1$Outbound = {}; + +/** @internal */ +export const ListAccessGroupsResponseBody1$outboundSchema: z.ZodType< + ListAccessGroupsResponseBody1$Outbound, + z.ZodTypeDef, + ListAccessGroupsResponseBody1 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAccessGroupsResponseBody1$ { + /** @deprecated use `ListAccessGroupsResponseBody1$inboundSchema` instead. */ + export const inboundSchema = ListAccessGroupsResponseBody1$inboundSchema; + /** @deprecated use `ListAccessGroupsResponseBody1$outboundSchema` instead. */ + export const outboundSchema = ListAccessGroupsResponseBody1$outboundSchema; + /** @deprecated use `ListAccessGroupsResponseBody1$Outbound` instead. */ + export type Outbound = ListAccessGroupsResponseBody1$Outbound; +} + +export function listAccessGroupsResponseBody1ToJSON( + listAccessGroupsResponseBody1: ListAccessGroupsResponseBody1, +): string { + return JSON.stringify( + ListAccessGroupsResponseBody1$outboundSchema.parse( + listAccessGroupsResponseBody1, + ), + ); +} + +export function listAccessGroupsResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAccessGroupsResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAccessGroupsResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const ListAccessGroupsResponseBody$inboundSchema: z.ZodType< + ListAccessGroupsResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => ListAccessGroupsResponseBody1$inboundSchema), + z.lazy(() => ListAccessGroupsResponseBody2$inboundSchema), +]); + +/** @internal */ +export type ListAccessGroupsResponseBody$Outbound = + | ListAccessGroupsResponseBody1$Outbound + | ListAccessGroupsResponseBody2$Outbound; + +/** @internal */ +export const ListAccessGroupsResponseBody$outboundSchema: z.ZodType< + ListAccessGroupsResponseBody$Outbound, + z.ZodTypeDef, + ListAccessGroupsResponseBody +> = z.union([ + z.lazy(() => ListAccessGroupsResponseBody1$outboundSchema), + z.lazy(() => ListAccessGroupsResponseBody2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAccessGroupsResponseBody$ { + /** @deprecated use `ListAccessGroupsResponseBody$inboundSchema` instead. */ + export const inboundSchema = ListAccessGroupsResponseBody$inboundSchema; + /** @deprecated use `ListAccessGroupsResponseBody$outboundSchema` instead. */ + export const outboundSchema = ListAccessGroupsResponseBody$outboundSchema; + /** @deprecated use `ListAccessGroupsResponseBody$Outbound` instead. */ + export type Outbound = ListAccessGroupsResponseBody$Outbound; +} + +export function listAccessGroupsResponseBodyToJSON( + listAccessGroupsResponseBody: ListAccessGroupsResponseBody, +): string { + return JSON.stringify( + ListAccessGroupsResponseBody$outboundSchema.parse( + listAccessGroupsResponseBody, + ), + ); +} + +export function listAccessGroupsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAccessGroupsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAccessGroupsResponseBody' from JSON`, + ); +} diff --git a/src/models/listaliasesop.ts b/src/models/listaliasesop.ts new file mode 100644 index 00000000..acee5136 --- /dev/null +++ b/src/models/listaliasesop.ts @@ -0,0 +1,1077 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + Pagination, + Pagination$inboundSchema, + Pagination$Outbound, + Pagination$outboundSchema, +} from "./pagination.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * Get only aliases of the given domain name + */ +export type Domain = Array | string; + +export type ListAliasesRequest = { + /** + * Get only aliases of the given domain name + */ + domain?: Array | string | undefined; + /** + * Get only aliases created after the provided timestamp + */ + from?: number | undefined; + /** + * Maximum number of aliases to list from a request + */ + limit?: number | undefined; + /** + * Filter aliases from the given `projectId` + */ + projectId?: string | undefined; + /** + * Get aliases created after this JavaScript timestamp + */ + since?: number | undefined; + /** + * Get aliases created before this JavaScript timestamp + */ + until?: number | undefined; + /** + * Get aliases that would be rolled back for the given deployment + */ + rollbackDeploymentId?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * Information of the user who created the alias + */ +export type ListAliasesCreator = { + /** + * ID of the user who created the alias + */ + uid: string; + /** + * Email of the user who created the alias + */ + email: string; + /** + * Username of the user who created the alias + */ + username: string; +}; + +/** + * A map with the deployment ID, URL and metadata + */ +export type ListAliasesDeployment = { + /** + * The deployment unique identifier + */ + id: string; + /** + * The deployment unique URL + */ + url: string; + /** + * The deployment metadata + */ + meta?: string | undefined; +}; + +export const ListAliasesProtectionBypassAliasesResponseScope = { + EmailInvite: "email_invite", +} as const; +export type ListAliasesProtectionBypassAliasesResponseScope = ClosedEnum< + typeof ListAliasesProtectionBypassAliasesResponseScope +>; + +/** + * The protection bypass for the alias + */ +export type ListAliasesProtectionBypass4 = { + createdAt: number; + lastUpdatedAt: number; + lastUpdatedBy: string; + scope: ListAliasesProtectionBypassAliasesResponseScope; +}; + +export const ListAliasesProtectionBypassAliasesScope = { + AliasProtectionOverride: "alias-protection-override", +} as const; +export type ListAliasesProtectionBypassAliasesScope = ClosedEnum< + typeof ListAliasesProtectionBypassAliasesScope +>; + +/** + * The protection bypass for the alias + */ +export type ListAliasesProtectionBypass3 = { + createdAt: number; + createdBy: string; + scope: ListAliasesProtectionBypassAliasesScope; +}; + +export const ProtectionBypassAccess = { + Requested: "requested", + Granted: "granted", +} as const; +export type ProtectionBypassAccess = ClosedEnum; + +export const ListAliasesProtectionBypassScope = { + User: "user", +} as const; +export type ListAliasesProtectionBypassScope = ClosedEnum< + typeof ListAliasesProtectionBypassScope +>; + +/** + * The protection bypass for the alias + */ +export type ListAliasesProtectionBypass2 = { + createdAt: number; + lastUpdatedAt: number; + lastUpdatedBy: string; + access: ProtectionBypassAccess; + scope: ListAliasesProtectionBypassScope; +}; + +export const ListAliasesProtectionBypassAliasesResponse200Scope = { + ShareableLink: "shareable-link", +} as const; +export type ListAliasesProtectionBypassAliasesResponse200Scope = ClosedEnum< + typeof ListAliasesProtectionBypassAliasesResponse200Scope +>; + +/** + * The protection bypass for the alias + */ +export type ListAliasesProtectionBypass1 = { + createdAt: number; + createdBy: string; + scope: ListAliasesProtectionBypassAliasesResponse200Scope; +}; + +export type ListAliasesProtectionBypass = + | ListAliasesProtectionBypass1 + | ListAliasesProtectionBypass3 + | ListAliasesProtectionBypass4 + | ListAliasesProtectionBypass2; + +export type Aliases = { + /** + * The alias name, it could be a `.vercel.app` subdomain or a custom domain + */ + alias: string; + /** + * The date when the alias was created + */ + created: Date; + /** + * The date when the alias was created in milliseconds since the UNIX epoch + */ + createdAt?: number | undefined; + /** + * Information of the user who created the alias + */ + creator?: ListAliasesCreator | undefined; + /** + * The date when the alias was deleted in milliseconds since the UNIX epoch + */ + deletedAt?: number | null | undefined; + /** + * A map with the deployment ID, URL and metadata + */ + deployment?: ListAliasesDeployment | undefined; + /** + * The deployment ID + */ + deploymentId: string | null; + /** + * The unique identifier of the project + */ + projectId: string | null; + /** + * Target destination domain for redirect when the alias is a redirect + */ + redirect?: string | null | undefined; + /** + * Status code to be used on redirect + */ + redirectStatusCode?: number | null | undefined; + /** + * The unique identifier of the alias + */ + uid: string; + /** + * The date when the alias was updated in milliseconds since the UNIX epoch + */ + updatedAt?: number | undefined; + /** + * The protection bypass for the alias + */ + protectionBypass?: { + [k: string]: + | ListAliasesProtectionBypass1 + | ListAliasesProtectionBypass3 + | ListAliasesProtectionBypass4 + | ListAliasesProtectionBypass2; + } | undefined; +}; + +/** + * The paginated list of aliases + */ +export type ListAliasesResponseBody = { + aliases: Array; + /** + * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. + */ + pagination: Pagination; +}; + +/** @internal */ +export const Domain$inboundSchema: z.ZodType = z + .union([z.array(z.string()), z.string()]); + +/** @internal */ +export type Domain$Outbound = Array | string; + +/** @internal */ +export const Domain$outboundSchema: z.ZodType< + Domain$Outbound, + z.ZodTypeDef, + Domain +> = z.union([z.array(z.string()), z.string()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Domain$ { + /** @deprecated use `Domain$inboundSchema` instead. */ + export const inboundSchema = Domain$inboundSchema; + /** @deprecated use `Domain$outboundSchema` instead. */ + export const outboundSchema = Domain$outboundSchema; + /** @deprecated use `Domain$Outbound` instead. */ + export type Outbound = Domain$Outbound; +} + +export function domainToJSON(domain: Domain): string { + return JSON.stringify(Domain$outboundSchema.parse(domain)); +} + +export function domainFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Domain$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Domain' from JSON`, + ); +} + +/** @internal */ +export const ListAliasesRequest$inboundSchema: z.ZodType< + ListAliasesRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.union([z.array(z.string()), z.string()]).optional(), + from: z.number().optional(), + limit: z.number().optional(), + projectId: z.string().optional(), + since: z.number().optional(), + until: z.number().optional(), + rollbackDeploymentId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type ListAliasesRequest$Outbound = { + domain?: Array | string | undefined; + from?: number | undefined; + limit?: number | undefined; + projectId?: string | undefined; + since?: number | undefined; + until?: number | undefined; + rollbackDeploymentId?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const ListAliasesRequest$outboundSchema: z.ZodType< + ListAliasesRequest$Outbound, + z.ZodTypeDef, + ListAliasesRequest +> = z.object({ + domain: z.union([z.array(z.string()), z.string()]).optional(), + from: z.number().optional(), + limit: z.number().optional(), + projectId: z.string().optional(), + since: z.number().optional(), + until: z.number().optional(), + rollbackDeploymentId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAliasesRequest$ { + /** @deprecated use `ListAliasesRequest$inboundSchema` instead. */ + export const inboundSchema = ListAliasesRequest$inboundSchema; + /** @deprecated use `ListAliasesRequest$outboundSchema` instead. */ + export const outboundSchema = ListAliasesRequest$outboundSchema; + /** @deprecated use `ListAliasesRequest$Outbound` instead. */ + export type Outbound = ListAliasesRequest$Outbound; +} + +export function listAliasesRequestToJSON( + listAliasesRequest: ListAliasesRequest, +): string { + return JSON.stringify( + ListAliasesRequest$outboundSchema.parse(listAliasesRequest), + ); +} + +export function listAliasesRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAliasesRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAliasesRequest' from JSON`, + ); +} + +/** @internal */ +export const ListAliasesCreator$inboundSchema: z.ZodType< + ListAliasesCreator, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + email: z.string(), + username: z.string(), +}); + +/** @internal */ +export type ListAliasesCreator$Outbound = { + uid: string; + email: string; + username: string; +}; + +/** @internal */ +export const ListAliasesCreator$outboundSchema: z.ZodType< + ListAliasesCreator$Outbound, + z.ZodTypeDef, + ListAliasesCreator +> = z.object({ + uid: z.string(), + email: z.string(), + username: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAliasesCreator$ { + /** @deprecated use `ListAliasesCreator$inboundSchema` instead. */ + export const inboundSchema = ListAliasesCreator$inboundSchema; + /** @deprecated use `ListAliasesCreator$outboundSchema` instead. */ + export const outboundSchema = ListAliasesCreator$outboundSchema; + /** @deprecated use `ListAliasesCreator$Outbound` instead. */ + export type Outbound = ListAliasesCreator$Outbound; +} + +export function listAliasesCreatorToJSON( + listAliasesCreator: ListAliasesCreator, +): string { + return JSON.stringify( + ListAliasesCreator$outboundSchema.parse(listAliasesCreator), + ); +} + +export function listAliasesCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAliasesCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAliasesCreator' from JSON`, + ); +} + +/** @internal */ +export const ListAliasesDeployment$inboundSchema: z.ZodType< + ListAliasesDeployment, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + url: z.string(), + meta: z.string().optional(), +}); + +/** @internal */ +export type ListAliasesDeployment$Outbound = { + id: string; + url: string; + meta?: string | undefined; +}; + +/** @internal */ +export const ListAliasesDeployment$outboundSchema: z.ZodType< + ListAliasesDeployment$Outbound, + z.ZodTypeDef, + ListAliasesDeployment +> = z.object({ + id: z.string(), + url: z.string(), + meta: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAliasesDeployment$ { + /** @deprecated use `ListAliasesDeployment$inboundSchema` instead. */ + export const inboundSchema = ListAliasesDeployment$inboundSchema; + /** @deprecated use `ListAliasesDeployment$outboundSchema` instead. */ + export const outboundSchema = ListAliasesDeployment$outboundSchema; + /** @deprecated use `ListAliasesDeployment$Outbound` instead. */ + export type Outbound = ListAliasesDeployment$Outbound; +} + +export function listAliasesDeploymentToJSON( + listAliasesDeployment: ListAliasesDeployment, +): string { + return JSON.stringify( + ListAliasesDeployment$outboundSchema.parse(listAliasesDeployment), + ); +} + +export function listAliasesDeploymentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAliasesDeployment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAliasesDeployment' from JSON`, + ); +} + +/** @internal */ +export const ListAliasesProtectionBypassAliasesResponseScope$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(ListAliasesProtectionBypassAliasesResponseScope); + +/** @internal */ +export const ListAliasesProtectionBypassAliasesResponseScope$outboundSchema: + z.ZodNativeEnum = + ListAliasesProtectionBypassAliasesResponseScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAliasesProtectionBypassAliasesResponseScope$ { + /** @deprecated use `ListAliasesProtectionBypassAliasesResponseScope$inboundSchema` instead. */ + export const inboundSchema = + ListAliasesProtectionBypassAliasesResponseScope$inboundSchema; + /** @deprecated use `ListAliasesProtectionBypassAliasesResponseScope$outboundSchema` instead. */ + export const outboundSchema = + ListAliasesProtectionBypassAliasesResponseScope$outboundSchema; +} + +/** @internal */ +export const ListAliasesProtectionBypass4$inboundSchema: z.ZodType< + ListAliasesProtectionBypass4, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number(), + lastUpdatedAt: z.number(), + lastUpdatedBy: z.string(), + scope: ListAliasesProtectionBypassAliasesResponseScope$inboundSchema, +}); + +/** @internal */ +export type ListAliasesProtectionBypass4$Outbound = { + createdAt: number; + lastUpdatedAt: number; + lastUpdatedBy: string; + scope: string; +}; + +/** @internal */ +export const ListAliasesProtectionBypass4$outboundSchema: z.ZodType< + ListAliasesProtectionBypass4$Outbound, + z.ZodTypeDef, + ListAliasesProtectionBypass4 +> = z.object({ + createdAt: z.number(), + lastUpdatedAt: z.number(), + lastUpdatedBy: z.string(), + scope: ListAliasesProtectionBypassAliasesResponseScope$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAliasesProtectionBypass4$ { + /** @deprecated use `ListAliasesProtectionBypass4$inboundSchema` instead. */ + export const inboundSchema = ListAliasesProtectionBypass4$inboundSchema; + /** @deprecated use `ListAliasesProtectionBypass4$outboundSchema` instead. */ + export const outboundSchema = ListAliasesProtectionBypass4$outboundSchema; + /** @deprecated use `ListAliasesProtectionBypass4$Outbound` instead. */ + export type Outbound = ListAliasesProtectionBypass4$Outbound; +} + +export function listAliasesProtectionBypass4ToJSON( + listAliasesProtectionBypass4: ListAliasesProtectionBypass4, +): string { + return JSON.stringify( + ListAliasesProtectionBypass4$outboundSchema.parse( + listAliasesProtectionBypass4, + ), + ); +} + +export function listAliasesProtectionBypass4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAliasesProtectionBypass4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAliasesProtectionBypass4' from JSON`, + ); +} + +/** @internal */ +export const ListAliasesProtectionBypassAliasesScope$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(ListAliasesProtectionBypassAliasesScope); + +/** @internal */ +export const ListAliasesProtectionBypassAliasesScope$outboundSchema: + z.ZodNativeEnum = + ListAliasesProtectionBypassAliasesScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAliasesProtectionBypassAliasesScope$ { + /** @deprecated use `ListAliasesProtectionBypassAliasesScope$inboundSchema` instead. */ + export const inboundSchema = + ListAliasesProtectionBypassAliasesScope$inboundSchema; + /** @deprecated use `ListAliasesProtectionBypassAliasesScope$outboundSchema` instead. */ + export const outboundSchema = + ListAliasesProtectionBypassAliasesScope$outboundSchema; +} + +/** @internal */ +export const ListAliasesProtectionBypass3$inboundSchema: z.ZodType< + ListAliasesProtectionBypass3, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: ListAliasesProtectionBypassAliasesScope$inboundSchema, +}); + +/** @internal */ +export type ListAliasesProtectionBypass3$Outbound = { + createdAt: number; + createdBy: string; + scope: string; +}; + +/** @internal */ +export const ListAliasesProtectionBypass3$outboundSchema: z.ZodType< + ListAliasesProtectionBypass3$Outbound, + z.ZodTypeDef, + ListAliasesProtectionBypass3 +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: ListAliasesProtectionBypassAliasesScope$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAliasesProtectionBypass3$ { + /** @deprecated use `ListAliasesProtectionBypass3$inboundSchema` instead. */ + export const inboundSchema = ListAliasesProtectionBypass3$inboundSchema; + /** @deprecated use `ListAliasesProtectionBypass3$outboundSchema` instead. */ + export const outboundSchema = ListAliasesProtectionBypass3$outboundSchema; + /** @deprecated use `ListAliasesProtectionBypass3$Outbound` instead. */ + export type Outbound = ListAliasesProtectionBypass3$Outbound; +} + +export function listAliasesProtectionBypass3ToJSON( + listAliasesProtectionBypass3: ListAliasesProtectionBypass3, +): string { + return JSON.stringify( + ListAliasesProtectionBypass3$outboundSchema.parse( + listAliasesProtectionBypass3, + ), + ); +} + +export function listAliasesProtectionBypass3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAliasesProtectionBypass3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAliasesProtectionBypass3' from JSON`, + ); +} + +/** @internal */ +export const ProtectionBypassAccess$inboundSchema: z.ZodNativeEnum< + typeof ProtectionBypassAccess +> = z.nativeEnum(ProtectionBypassAccess); + +/** @internal */ +export const ProtectionBypassAccess$outboundSchema: z.ZodNativeEnum< + typeof ProtectionBypassAccess +> = ProtectionBypassAccess$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ProtectionBypassAccess$ { + /** @deprecated use `ProtectionBypassAccess$inboundSchema` instead. */ + export const inboundSchema = ProtectionBypassAccess$inboundSchema; + /** @deprecated use `ProtectionBypassAccess$outboundSchema` instead. */ + export const outboundSchema = ProtectionBypassAccess$outboundSchema; +} + +/** @internal */ +export const ListAliasesProtectionBypassScope$inboundSchema: z.ZodNativeEnum< + typeof ListAliasesProtectionBypassScope +> = z.nativeEnum(ListAliasesProtectionBypassScope); + +/** @internal */ +export const ListAliasesProtectionBypassScope$outboundSchema: z.ZodNativeEnum< + typeof ListAliasesProtectionBypassScope +> = ListAliasesProtectionBypassScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAliasesProtectionBypassScope$ { + /** @deprecated use `ListAliasesProtectionBypassScope$inboundSchema` instead. */ + export const inboundSchema = ListAliasesProtectionBypassScope$inboundSchema; + /** @deprecated use `ListAliasesProtectionBypassScope$outboundSchema` instead. */ + export const outboundSchema = ListAliasesProtectionBypassScope$outboundSchema; +} + +/** @internal */ +export const ListAliasesProtectionBypass2$inboundSchema: z.ZodType< + ListAliasesProtectionBypass2, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number(), + lastUpdatedAt: z.number(), + lastUpdatedBy: z.string(), + access: ProtectionBypassAccess$inboundSchema, + scope: ListAliasesProtectionBypassScope$inboundSchema, +}); + +/** @internal */ +export type ListAliasesProtectionBypass2$Outbound = { + createdAt: number; + lastUpdatedAt: number; + lastUpdatedBy: string; + access: string; + scope: string; +}; + +/** @internal */ +export const ListAliasesProtectionBypass2$outboundSchema: z.ZodType< + ListAliasesProtectionBypass2$Outbound, + z.ZodTypeDef, + ListAliasesProtectionBypass2 +> = z.object({ + createdAt: z.number(), + lastUpdatedAt: z.number(), + lastUpdatedBy: z.string(), + access: ProtectionBypassAccess$outboundSchema, + scope: ListAliasesProtectionBypassScope$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAliasesProtectionBypass2$ { + /** @deprecated use `ListAliasesProtectionBypass2$inboundSchema` instead. */ + export const inboundSchema = ListAliasesProtectionBypass2$inboundSchema; + /** @deprecated use `ListAliasesProtectionBypass2$outboundSchema` instead. */ + export const outboundSchema = ListAliasesProtectionBypass2$outboundSchema; + /** @deprecated use `ListAliasesProtectionBypass2$Outbound` instead. */ + export type Outbound = ListAliasesProtectionBypass2$Outbound; +} + +export function listAliasesProtectionBypass2ToJSON( + listAliasesProtectionBypass2: ListAliasesProtectionBypass2, +): string { + return JSON.stringify( + ListAliasesProtectionBypass2$outboundSchema.parse( + listAliasesProtectionBypass2, + ), + ); +} + +export function listAliasesProtectionBypass2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAliasesProtectionBypass2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAliasesProtectionBypass2' from JSON`, + ); +} + +/** @internal */ +export const ListAliasesProtectionBypassAliasesResponse200Scope$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(ListAliasesProtectionBypassAliasesResponse200Scope); + +/** @internal */ +export const ListAliasesProtectionBypassAliasesResponse200Scope$outboundSchema: + z.ZodNativeEnum = + ListAliasesProtectionBypassAliasesResponse200Scope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAliasesProtectionBypassAliasesResponse200Scope$ { + /** @deprecated use `ListAliasesProtectionBypassAliasesResponse200Scope$inboundSchema` instead. */ + export const inboundSchema = + ListAliasesProtectionBypassAliasesResponse200Scope$inboundSchema; + /** @deprecated use `ListAliasesProtectionBypassAliasesResponse200Scope$outboundSchema` instead. */ + export const outboundSchema = + ListAliasesProtectionBypassAliasesResponse200Scope$outboundSchema; +} + +/** @internal */ +export const ListAliasesProtectionBypass1$inboundSchema: z.ZodType< + ListAliasesProtectionBypass1, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: ListAliasesProtectionBypassAliasesResponse200Scope$inboundSchema, +}); + +/** @internal */ +export type ListAliasesProtectionBypass1$Outbound = { + createdAt: number; + createdBy: string; + scope: string; +}; + +/** @internal */ +export const ListAliasesProtectionBypass1$outboundSchema: z.ZodType< + ListAliasesProtectionBypass1$Outbound, + z.ZodTypeDef, + ListAliasesProtectionBypass1 +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: ListAliasesProtectionBypassAliasesResponse200Scope$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAliasesProtectionBypass1$ { + /** @deprecated use `ListAliasesProtectionBypass1$inboundSchema` instead. */ + export const inboundSchema = ListAliasesProtectionBypass1$inboundSchema; + /** @deprecated use `ListAliasesProtectionBypass1$outboundSchema` instead. */ + export const outboundSchema = ListAliasesProtectionBypass1$outboundSchema; + /** @deprecated use `ListAliasesProtectionBypass1$Outbound` instead. */ + export type Outbound = ListAliasesProtectionBypass1$Outbound; +} + +export function listAliasesProtectionBypass1ToJSON( + listAliasesProtectionBypass1: ListAliasesProtectionBypass1, +): string { + return JSON.stringify( + ListAliasesProtectionBypass1$outboundSchema.parse( + listAliasesProtectionBypass1, + ), + ); +} + +export function listAliasesProtectionBypass1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAliasesProtectionBypass1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAliasesProtectionBypass1' from JSON`, + ); +} + +/** @internal */ +export const ListAliasesProtectionBypass$inboundSchema: z.ZodType< + ListAliasesProtectionBypass, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => ListAliasesProtectionBypass1$inboundSchema), + z.lazy(() => ListAliasesProtectionBypass3$inboundSchema), + z.lazy(() => ListAliasesProtectionBypass4$inboundSchema), + z.lazy(() => ListAliasesProtectionBypass2$inboundSchema), +]); + +/** @internal */ +export type ListAliasesProtectionBypass$Outbound = + | ListAliasesProtectionBypass1$Outbound + | ListAliasesProtectionBypass3$Outbound + | ListAliasesProtectionBypass4$Outbound + | ListAliasesProtectionBypass2$Outbound; + +/** @internal */ +export const ListAliasesProtectionBypass$outboundSchema: z.ZodType< + ListAliasesProtectionBypass$Outbound, + z.ZodTypeDef, + ListAliasesProtectionBypass +> = z.union([ + z.lazy(() => ListAliasesProtectionBypass1$outboundSchema), + z.lazy(() => ListAliasesProtectionBypass3$outboundSchema), + z.lazy(() => ListAliasesProtectionBypass4$outboundSchema), + z.lazy(() => ListAliasesProtectionBypass2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAliasesProtectionBypass$ { + /** @deprecated use `ListAliasesProtectionBypass$inboundSchema` instead. */ + export const inboundSchema = ListAliasesProtectionBypass$inboundSchema; + /** @deprecated use `ListAliasesProtectionBypass$outboundSchema` instead. */ + export const outboundSchema = ListAliasesProtectionBypass$outboundSchema; + /** @deprecated use `ListAliasesProtectionBypass$Outbound` instead. */ + export type Outbound = ListAliasesProtectionBypass$Outbound; +} + +export function listAliasesProtectionBypassToJSON( + listAliasesProtectionBypass: ListAliasesProtectionBypass, +): string { + return JSON.stringify( + ListAliasesProtectionBypass$outboundSchema.parse( + listAliasesProtectionBypass, + ), + ); +} + +export function listAliasesProtectionBypassFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAliasesProtectionBypass$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAliasesProtectionBypass' from JSON`, + ); +} + +/** @internal */ +export const Aliases$inboundSchema: z.ZodType = + z.object({ + alias: z.string(), + created: z.string().datetime({ offset: true }).transform(v => new Date(v)), + createdAt: z.number().optional(), + creator: z.lazy(() => ListAliasesCreator$inboundSchema).optional(), + deletedAt: z.nullable(z.number()).optional(), + deployment: z.lazy(() => ListAliasesDeployment$inboundSchema).optional(), + deploymentId: z.nullable(z.string()), + projectId: z.nullable(z.string()), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(z.number()).optional(), + uid: z.string(), + updatedAt: z.number().optional(), + protectionBypass: z.record( + z.union([ + z.lazy(() => ListAliasesProtectionBypass1$inboundSchema), + z.lazy(() => ListAliasesProtectionBypass3$inboundSchema), + z.lazy(() => ListAliasesProtectionBypass4$inboundSchema), + z.lazy(() => ListAliasesProtectionBypass2$inboundSchema), + ]), + ).optional(), + }); + +/** @internal */ +export type Aliases$Outbound = { + alias: string; + created: string; + createdAt?: number | undefined; + creator?: ListAliasesCreator$Outbound | undefined; + deletedAt?: number | null | undefined; + deployment?: ListAliasesDeployment$Outbound | undefined; + deploymentId: string | null; + projectId: string | null; + redirect?: string | null | undefined; + redirectStatusCode?: number | null | undefined; + uid: string; + updatedAt?: number | undefined; + protectionBypass?: { + [k: string]: + | ListAliasesProtectionBypass1$Outbound + | ListAliasesProtectionBypass3$Outbound + | ListAliasesProtectionBypass4$Outbound + | ListAliasesProtectionBypass2$Outbound; + } | undefined; +}; + +/** @internal */ +export const Aliases$outboundSchema: z.ZodType< + Aliases$Outbound, + z.ZodTypeDef, + Aliases +> = z.object({ + alias: z.string(), + created: z.date().transform(v => v.toISOString()), + createdAt: z.number().optional(), + creator: z.lazy(() => ListAliasesCreator$outboundSchema).optional(), + deletedAt: z.nullable(z.number()).optional(), + deployment: z.lazy(() => ListAliasesDeployment$outboundSchema).optional(), + deploymentId: z.nullable(z.string()), + projectId: z.nullable(z.string()), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(z.number()).optional(), + uid: z.string(), + updatedAt: z.number().optional(), + protectionBypass: z.record( + z.union([ + z.lazy(() => ListAliasesProtectionBypass1$outboundSchema), + z.lazy(() => ListAliasesProtectionBypass3$outboundSchema), + z.lazy(() => ListAliasesProtectionBypass4$outboundSchema), + z.lazy(() => ListAliasesProtectionBypass2$outboundSchema), + ]), + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Aliases$ { + /** @deprecated use `Aliases$inboundSchema` instead. */ + export const inboundSchema = Aliases$inboundSchema; + /** @deprecated use `Aliases$outboundSchema` instead. */ + export const outboundSchema = Aliases$outboundSchema; + /** @deprecated use `Aliases$Outbound` instead. */ + export type Outbound = Aliases$Outbound; +} + +export function aliasesToJSON(aliases: Aliases): string { + return JSON.stringify(Aliases$outboundSchema.parse(aliases)); +} + +export function aliasesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Aliases$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Aliases' from JSON`, + ); +} + +/** @internal */ +export const ListAliasesResponseBody$inboundSchema: z.ZodType< + ListAliasesResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + aliases: z.array(z.lazy(() => Aliases$inboundSchema)), + pagination: Pagination$inboundSchema, +}); + +/** @internal */ +export type ListAliasesResponseBody$Outbound = { + aliases: Array; + pagination: Pagination$Outbound; +}; + +/** @internal */ +export const ListAliasesResponseBody$outboundSchema: z.ZodType< + ListAliasesResponseBody$Outbound, + z.ZodTypeDef, + ListAliasesResponseBody +> = z.object({ + aliases: z.array(z.lazy(() => Aliases$outboundSchema)), + pagination: Pagination$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAliasesResponseBody$ { + /** @deprecated use `ListAliasesResponseBody$inboundSchema` instead. */ + export const inboundSchema = ListAliasesResponseBody$inboundSchema; + /** @deprecated use `ListAliasesResponseBody$outboundSchema` instead. */ + export const outboundSchema = ListAliasesResponseBody$outboundSchema; + /** @deprecated use `ListAliasesResponseBody$Outbound` instead. */ + export type Outbound = ListAliasesResponseBody$Outbound; +} + +export function listAliasesResponseBodyToJSON( + listAliasesResponseBody: ListAliasesResponseBody, +): string { + return JSON.stringify( + ListAliasesResponseBody$outboundSchema.parse(listAliasesResponseBody), + ); +} + +export function listAliasesResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAliasesResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAliasesResponseBody' from JSON`, + ); +} diff --git a/src/models/listauthtokensop.ts b/src/models/listauthtokensop.ts new file mode 100644 index 00000000..c0648c29 --- /dev/null +++ b/src/models/listauthtokensop.ts @@ -0,0 +1,92 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + AuthToken, + AuthToken$inboundSchema, + AuthToken$Outbound, + AuthToken$outboundSchema, +} from "./authtoken.js"; +import { + Pagination, + Pagination$inboundSchema, + Pagination$Outbound, + Pagination$outboundSchema, +} from "./pagination.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type ListAuthTokensResponseBody = { + tokens: Array; + /** + * Authentication token metadata. + */ + testingToken?: AuthToken | undefined; + /** + * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. + */ + pagination: Pagination; +}; + +/** @internal */ +export const ListAuthTokensResponseBody$inboundSchema: z.ZodType< + ListAuthTokensResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + tokens: z.array(AuthToken$inboundSchema), + testingToken: AuthToken$inboundSchema.optional(), + pagination: Pagination$inboundSchema, +}); + +/** @internal */ +export type ListAuthTokensResponseBody$Outbound = { + tokens: Array; + testingToken?: AuthToken$Outbound | undefined; + pagination: Pagination$Outbound; +}; + +/** @internal */ +export const ListAuthTokensResponseBody$outboundSchema: z.ZodType< + ListAuthTokensResponseBody$Outbound, + z.ZodTypeDef, + ListAuthTokensResponseBody +> = z.object({ + tokens: z.array(AuthToken$outboundSchema), + testingToken: AuthToken$outboundSchema.optional(), + pagination: Pagination$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListAuthTokensResponseBody$ { + /** @deprecated use `ListAuthTokensResponseBody$inboundSchema` instead. */ + export const inboundSchema = ListAuthTokensResponseBody$inboundSchema; + /** @deprecated use `ListAuthTokensResponseBody$outboundSchema` instead. */ + export const outboundSchema = ListAuthTokensResponseBody$outboundSchema; + /** @deprecated use `ListAuthTokensResponseBody$Outbound` instead. */ + export type Outbound = ListAuthTokensResponseBody$Outbound; +} + +export function listAuthTokensResponseBodyToJSON( + listAuthTokensResponseBody: ListAuthTokensResponseBody, +): string { + return JSON.stringify( + ListAuthTokensResponseBody$outboundSchema.parse(listAuthTokensResponseBody), + ); +} + +export function listAuthTokensResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListAuthTokensResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListAuthTokensResponseBody' from JSON`, + ); +} diff --git a/src/models/listdeploymentaliasesop.ts b/src/models/listdeploymentaliasesop.ts new file mode 100644 index 00000000..3751752e --- /dev/null +++ b/src/models/listdeploymentaliasesop.ts @@ -0,0 +1,820 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type ListDeploymentAliasesRequest = { + /** + * The ID of the deployment the aliases should be listed for + */ + id: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope = { + EmailInvite: "email_invite", +} as const; +export type ListDeploymentAliasesProtectionBypassAliasesResponse200Scope = + ClosedEnum< + typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope + >; + +/** + * The protection bypass for the alias + */ +export type ListDeploymentAliasesProtectionBypass4 = { + createdAt: number; + lastUpdatedAt: number; + lastUpdatedBy: string; + scope: ListDeploymentAliasesProtectionBypassAliasesResponse200Scope; +}; + +export const ListDeploymentAliasesProtectionBypassAliasesResponseScope = { + AliasProtectionOverride: "alias-protection-override", +} as const; +export type ListDeploymentAliasesProtectionBypassAliasesResponseScope = + ClosedEnum; + +/** + * The protection bypass for the alias + */ +export type ListDeploymentAliasesProtectionBypass3 = { + createdAt: number; + createdBy: string; + scope: ListDeploymentAliasesProtectionBypassAliasesResponseScope; +}; + +export const ListDeploymentAliasesProtectionBypassAccess = { + Requested: "requested", + Granted: "granted", +} as const; +export type ListDeploymentAliasesProtectionBypassAccess = ClosedEnum< + typeof ListDeploymentAliasesProtectionBypassAccess +>; + +export const ListDeploymentAliasesProtectionBypassAliasesScope = { + User: "user", +} as const; +export type ListDeploymentAliasesProtectionBypassAliasesScope = ClosedEnum< + typeof ListDeploymentAliasesProtectionBypassAliasesScope +>; + +/** + * The protection bypass for the alias + */ +export type ListDeploymentAliasesProtectionBypass2 = { + createdAt: number; + lastUpdatedAt: number; + lastUpdatedBy: string; + access: ListDeploymentAliasesProtectionBypassAccess; + scope: ListDeploymentAliasesProtectionBypassAliasesScope; +}; + +export const ListDeploymentAliasesProtectionBypassScope = { + ShareableLink: "shareable-link", +} as const; +export type ListDeploymentAliasesProtectionBypassScope = ClosedEnum< + typeof ListDeploymentAliasesProtectionBypassScope +>; + +/** + * The protection bypass for the alias + */ +export type ListDeploymentAliasesProtectionBypass1 = { + createdAt: number; + createdBy: string; + scope: ListDeploymentAliasesProtectionBypassScope; +}; + +export type ListDeploymentAliasesProtectionBypass = + | ListDeploymentAliasesProtectionBypass1 + | ListDeploymentAliasesProtectionBypass3 + | ListDeploymentAliasesProtectionBypass4 + | ListDeploymentAliasesProtectionBypass2; + +/** + * A list of the aliases assigned to the deployment + */ +export type ListDeploymentAliasesAliases = { + /** + * The unique identifier of the alias + */ + uid: string; + /** + * The alias name, it could be a `.vercel.app` subdomain or a custom domain + */ + alias: string; + /** + * The date when the alias was created + */ + created: Date; + /** + * Target destination domain for redirect when the alias is a redirect + */ + redirect?: string | null | undefined; + /** + * The protection bypass for the alias + */ + protectionBypass?: { + [k: string]: + | ListDeploymentAliasesProtectionBypass1 + | ListDeploymentAliasesProtectionBypass3 + | ListDeploymentAliasesProtectionBypass4 + | ListDeploymentAliasesProtectionBypass2; + } | undefined; +}; + +/** + * The list of aliases assigned to the deployment + */ +export type ListDeploymentAliasesResponseBody = { + /** + * A list of the aliases assigned to the deployment + */ + aliases: Array; +}; + +/** @internal */ +export const ListDeploymentAliasesRequest$inboundSchema: z.ZodType< + ListDeploymentAliasesRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type ListDeploymentAliasesRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const ListDeploymentAliasesRequest$outboundSchema: z.ZodType< + ListDeploymentAliasesRequest$Outbound, + z.ZodTypeDef, + ListDeploymentAliasesRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListDeploymentAliasesRequest$ { + /** @deprecated use `ListDeploymentAliasesRequest$inboundSchema` instead. */ + export const inboundSchema = ListDeploymentAliasesRequest$inboundSchema; + /** @deprecated use `ListDeploymentAliasesRequest$outboundSchema` instead. */ + export const outboundSchema = ListDeploymentAliasesRequest$outboundSchema; + /** @deprecated use `ListDeploymentAliasesRequest$Outbound` instead. */ + export type Outbound = ListDeploymentAliasesRequest$Outbound; +} + +export function listDeploymentAliasesRequestToJSON( + listDeploymentAliasesRequest: ListDeploymentAliasesRequest, +): string { + return JSON.stringify( + ListDeploymentAliasesRequest$outboundSchema.parse( + listDeploymentAliasesRequest, + ), + ); +} + +export function listDeploymentAliasesRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListDeploymentAliasesRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListDeploymentAliasesRequest' from JSON`, + ); +} + +/** @internal */ +export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema: + z.ZodNativeEnum< + typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope + > = z.nativeEnum( + ListDeploymentAliasesProtectionBypassAliasesResponse200Scope, + ); + +/** @internal */ +export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema: + z.ZodNativeEnum< + typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope + > = + ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$ { + /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema` instead. */ + export const inboundSchema = + ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema; + /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema` instead. */ + export const outboundSchema = + ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema; +} + +/** @internal */ +export const ListDeploymentAliasesProtectionBypass4$inboundSchema: z.ZodType< + ListDeploymentAliasesProtectionBypass4, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number(), + lastUpdatedAt: z.number(), + lastUpdatedBy: z.string(), + scope: + ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema, +}); + +/** @internal */ +export type ListDeploymentAliasesProtectionBypass4$Outbound = { + createdAt: number; + lastUpdatedAt: number; + lastUpdatedBy: string; + scope: string; +}; + +/** @internal */ +export const ListDeploymentAliasesProtectionBypass4$outboundSchema: z.ZodType< + ListDeploymentAliasesProtectionBypass4$Outbound, + z.ZodTypeDef, + ListDeploymentAliasesProtectionBypass4 +> = z.object({ + createdAt: z.number(), + lastUpdatedAt: z.number(), + lastUpdatedBy: z.string(), + scope: + ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListDeploymentAliasesProtectionBypass4$ { + /** @deprecated use `ListDeploymentAliasesProtectionBypass4$inboundSchema` instead. */ + export const inboundSchema = + ListDeploymentAliasesProtectionBypass4$inboundSchema; + /** @deprecated use `ListDeploymentAliasesProtectionBypass4$outboundSchema` instead. */ + export const outboundSchema = + ListDeploymentAliasesProtectionBypass4$outboundSchema; + /** @deprecated use `ListDeploymentAliasesProtectionBypass4$Outbound` instead. */ + export type Outbound = ListDeploymentAliasesProtectionBypass4$Outbound; +} + +export function listDeploymentAliasesProtectionBypass4ToJSON( + listDeploymentAliasesProtectionBypass4: + ListDeploymentAliasesProtectionBypass4, +): string { + return JSON.stringify( + ListDeploymentAliasesProtectionBypass4$outboundSchema.parse( + listDeploymentAliasesProtectionBypass4, + ), + ); +} + +export function listDeploymentAliasesProtectionBypass4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + ListDeploymentAliasesProtectionBypass4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListDeploymentAliasesProtectionBypass4' from JSON`, + ); +} + +/** @internal */ +export const ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema: + z.ZodNativeEnum< + typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope + > = z.nativeEnum(ListDeploymentAliasesProtectionBypassAliasesResponseScope); + +/** @internal */ +export const ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema: + z.ZodNativeEnum< + typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope + > = ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListDeploymentAliasesProtectionBypassAliasesResponseScope$ { + /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema` instead. */ + export const inboundSchema = + ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema; + /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema` instead. */ + export const outboundSchema = + ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema; +} + +/** @internal */ +export const ListDeploymentAliasesProtectionBypass3$inboundSchema: z.ZodType< + ListDeploymentAliasesProtectionBypass3, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: + ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema, +}); + +/** @internal */ +export type ListDeploymentAliasesProtectionBypass3$Outbound = { + createdAt: number; + createdBy: string; + scope: string; +}; + +/** @internal */ +export const ListDeploymentAliasesProtectionBypass3$outboundSchema: z.ZodType< + ListDeploymentAliasesProtectionBypass3$Outbound, + z.ZodTypeDef, + ListDeploymentAliasesProtectionBypass3 +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: + ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListDeploymentAliasesProtectionBypass3$ { + /** @deprecated use `ListDeploymentAliasesProtectionBypass3$inboundSchema` instead. */ + export const inboundSchema = + ListDeploymentAliasesProtectionBypass3$inboundSchema; + /** @deprecated use `ListDeploymentAliasesProtectionBypass3$outboundSchema` instead. */ + export const outboundSchema = + ListDeploymentAliasesProtectionBypass3$outboundSchema; + /** @deprecated use `ListDeploymentAliasesProtectionBypass3$Outbound` instead. */ + export type Outbound = ListDeploymentAliasesProtectionBypass3$Outbound; +} + +export function listDeploymentAliasesProtectionBypass3ToJSON( + listDeploymentAliasesProtectionBypass3: + ListDeploymentAliasesProtectionBypass3, +): string { + return JSON.stringify( + ListDeploymentAliasesProtectionBypass3$outboundSchema.parse( + listDeploymentAliasesProtectionBypass3, + ), + ); +} + +export function listDeploymentAliasesProtectionBypass3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + ListDeploymentAliasesProtectionBypass3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListDeploymentAliasesProtectionBypass3' from JSON`, + ); +} + +/** @internal */ +export const ListDeploymentAliasesProtectionBypassAccess$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(ListDeploymentAliasesProtectionBypassAccess); + +/** @internal */ +export const ListDeploymentAliasesProtectionBypassAccess$outboundSchema: + z.ZodNativeEnum = + ListDeploymentAliasesProtectionBypassAccess$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListDeploymentAliasesProtectionBypassAccess$ { + /** @deprecated use `ListDeploymentAliasesProtectionBypassAccess$inboundSchema` instead. */ + export const inboundSchema = + ListDeploymentAliasesProtectionBypassAccess$inboundSchema; + /** @deprecated use `ListDeploymentAliasesProtectionBypassAccess$outboundSchema` instead. */ + export const outboundSchema = + ListDeploymentAliasesProtectionBypassAccess$outboundSchema; +} + +/** @internal */ +export const ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(ListDeploymentAliasesProtectionBypassAliasesScope); + +/** @internal */ +export const ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema: + z.ZodNativeEnum = + ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListDeploymentAliasesProtectionBypassAliasesScope$ { + /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema` instead. */ + export const inboundSchema = + ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema; + /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema` instead. */ + export const outboundSchema = + ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema; +} + +/** @internal */ +export const ListDeploymentAliasesProtectionBypass2$inboundSchema: z.ZodType< + ListDeploymentAliasesProtectionBypass2, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number(), + lastUpdatedAt: z.number(), + lastUpdatedBy: z.string(), + access: ListDeploymentAliasesProtectionBypassAccess$inboundSchema, + scope: ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema, +}); + +/** @internal */ +export type ListDeploymentAliasesProtectionBypass2$Outbound = { + createdAt: number; + lastUpdatedAt: number; + lastUpdatedBy: string; + access: string; + scope: string; +}; + +/** @internal */ +export const ListDeploymentAliasesProtectionBypass2$outboundSchema: z.ZodType< + ListDeploymentAliasesProtectionBypass2$Outbound, + z.ZodTypeDef, + ListDeploymentAliasesProtectionBypass2 +> = z.object({ + createdAt: z.number(), + lastUpdatedAt: z.number(), + lastUpdatedBy: z.string(), + access: ListDeploymentAliasesProtectionBypassAccess$outboundSchema, + scope: ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListDeploymentAliasesProtectionBypass2$ { + /** @deprecated use `ListDeploymentAliasesProtectionBypass2$inboundSchema` instead. */ + export const inboundSchema = + ListDeploymentAliasesProtectionBypass2$inboundSchema; + /** @deprecated use `ListDeploymentAliasesProtectionBypass2$outboundSchema` instead. */ + export const outboundSchema = + ListDeploymentAliasesProtectionBypass2$outboundSchema; + /** @deprecated use `ListDeploymentAliasesProtectionBypass2$Outbound` instead. */ + export type Outbound = ListDeploymentAliasesProtectionBypass2$Outbound; +} + +export function listDeploymentAliasesProtectionBypass2ToJSON( + listDeploymentAliasesProtectionBypass2: + ListDeploymentAliasesProtectionBypass2, +): string { + return JSON.stringify( + ListDeploymentAliasesProtectionBypass2$outboundSchema.parse( + listDeploymentAliasesProtectionBypass2, + ), + ); +} + +export function listDeploymentAliasesProtectionBypass2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + ListDeploymentAliasesProtectionBypass2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListDeploymentAliasesProtectionBypass2' from JSON`, + ); +} + +/** @internal */ +export const ListDeploymentAliasesProtectionBypassScope$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(ListDeploymentAliasesProtectionBypassScope); + +/** @internal */ +export const ListDeploymentAliasesProtectionBypassScope$outboundSchema: + z.ZodNativeEnum = + ListDeploymentAliasesProtectionBypassScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListDeploymentAliasesProtectionBypassScope$ { + /** @deprecated use `ListDeploymentAliasesProtectionBypassScope$inboundSchema` instead. */ + export const inboundSchema = + ListDeploymentAliasesProtectionBypassScope$inboundSchema; + /** @deprecated use `ListDeploymentAliasesProtectionBypassScope$outboundSchema` instead. */ + export const outboundSchema = + ListDeploymentAliasesProtectionBypassScope$outboundSchema; +} + +/** @internal */ +export const ListDeploymentAliasesProtectionBypass1$inboundSchema: z.ZodType< + ListDeploymentAliasesProtectionBypass1, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: ListDeploymentAliasesProtectionBypassScope$inboundSchema, +}); + +/** @internal */ +export type ListDeploymentAliasesProtectionBypass1$Outbound = { + createdAt: number; + createdBy: string; + scope: string; +}; + +/** @internal */ +export const ListDeploymentAliasesProtectionBypass1$outboundSchema: z.ZodType< + ListDeploymentAliasesProtectionBypass1$Outbound, + z.ZodTypeDef, + ListDeploymentAliasesProtectionBypass1 +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: ListDeploymentAliasesProtectionBypassScope$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListDeploymentAliasesProtectionBypass1$ { + /** @deprecated use `ListDeploymentAliasesProtectionBypass1$inboundSchema` instead. */ + export const inboundSchema = + ListDeploymentAliasesProtectionBypass1$inboundSchema; + /** @deprecated use `ListDeploymentAliasesProtectionBypass1$outboundSchema` instead. */ + export const outboundSchema = + ListDeploymentAliasesProtectionBypass1$outboundSchema; + /** @deprecated use `ListDeploymentAliasesProtectionBypass1$Outbound` instead. */ + export type Outbound = ListDeploymentAliasesProtectionBypass1$Outbound; +} + +export function listDeploymentAliasesProtectionBypass1ToJSON( + listDeploymentAliasesProtectionBypass1: + ListDeploymentAliasesProtectionBypass1, +): string { + return JSON.stringify( + ListDeploymentAliasesProtectionBypass1$outboundSchema.parse( + listDeploymentAliasesProtectionBypass1, + ), + ); +} + +export function listDeploymentAliasesProtectionBypass1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + ListDeploymentAliasesProtectionBypass1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListDeploymentAliasesProtectionBypass1' from JSON`, + ); +} + +/** @internal */ +export const ListDeploymentAliasesProtectionBypass$inboundSchema: z.ZodType< + ListDeploymentAliasesProtectionBypass, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => ListDeploymentAliasesProtectionBypass1$inboundSchema), + z.lazy(() => ListDeploymentAliasesProtectionBypass3$inboundSchema), + z.lazy(() => ListDeploymentAliasesProtectionBypass4$inboundSchema), + z.lazy(() => ListDeploymentAliasesProtectionBypass2$inboundSchema), +]); + +/** @internal */ +export type ListDeploymentAliasesProtectionBypass$Outbound = + | ListDeploymentAliasesProtectionBypass1$Outbound + | ListDeploymentAliasesProtectionBypass3$Outbound + | ListDeploymentAliasesProtectionBypass4$Outbound + | ListDeploymentAliasesProtectionBypass2$Outbound; + +/** @internal */ +export const ListDeploymentAliasesProtectionBypass$outboundSchema: z.ZodType< + ListDeploymentAliasesProtectionBypass$Outbound, + z.ZodTypeDef, + ListDeploymentAliasesProtectionBypass +> = z.union([ + z.lazy(() => ListDeploymentAliasesProtectionBypass1$outboundSchema), + z.lazy(() => ListDeploymentAliasesProtectionBypass3$outboundSchema), + z.lazy(() => ListDeploymentAliasesProtectionBypass4$outboundSchema), + z.lazy(() => ListDeploymentAliasesProtectionBypass2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListDeploymentAliasesProtectionBypass$ { + /** @deprecated use `ListDeploymentAliasesProtectionBypass$inboundSchema` instead. */ + export const inboundSchema = + ListDeploymentAliasesProtectionBypass$inboundSchema; + /** @deprecated use `ListDeploymentAliasesProtectionBypass$outboundSchema` instead. */ + export const outboundSchema = + ListDeploymentAliasesProtectionBypass$outboundSchema; + /** @deprecated use `ListDeploymentAliasesProtectionBypass$Outbound` instead. */ + export type Outbound = ListDeploymentAliasesProtectionBypass$Outbound; +} + +export function listDeploymentAliasesProtectionBypassToJSON( + listDeploymentAliasesProtectionBypass: ListDeploymentAliasesProtectionBypass, +): string { + return JSON.stringify( + ListDeploymentAliasesProtectionBypass$outboundSchema.parse( + listDeploymentAliasesProtectionBypass, + ), + ); +} + +export function listDeploymentAliasesProtectionBypassFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + ListDeploymentAliasesProtectionBypass$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListDeploymentAliasesProtectionBypass' from JSON`, + ); +} + +/** @internal */ +export const ListDeploymentAliasesAliases$inboundSchema: z.ZodType< + ListDeploymentAliasesAliases, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + alias: z.string(), + created: z.string().datetime({ offset: true }).transform(v => new Date(v)), + redirect: z.nullable(z.string()).optional(), + protectionBypass: z.record( + z.union([ + z.lazy(() => ListDeploymentAliasesProtectionBypass1$inboundSchema), + z.lazy(() => ListDeploymentAliasesProtectionBypass3$inboundSchema), + z.lazy(() => ListDeploymentAliasesProtectionBypass4$inboundSchema), + z.lazy(() => ListDeploymentAliasesProtectionBypass2$inboundSchema), + ]), + ).optional(), +}); + +/** @internal */ +export type ListDeploymentAliasesAliases$Outbound = { + uid: string; + alias: string; + created: string; + redirect?: string | null | undefined; + protectionBypass?: { + [k: string]: + | ListDeploymentAliasesProtectionBypass1$Outbound + | ListDeploymentAliasesProtectionBypass3$Outbound + | ListDeploymentAliasesProtectionBypass4$Outbound + | ListDeploymentAliasesProtectionBypass2$Outbound; + } | undefined; +}; + +/** @internal */ +export const ListDeploymentAliasesAliases$outboundSchema: z.ZodType< + ListDeploymentAliasesAliases$Outbound, + z.ZodTypeDef, + ListDeploymentAliasesAliases +> = z.object({ + uid: z.string(), + alias: z.string(), + created: z.date().transform(v => v.toISOString()), + redirect: z.nullable(z.string()).optional(), + protectionBypass: z.record( + z.union([ + z.lazy(() => ListDeploymentAliasesProtectionBypass1$outboundSchema), + z.lazy(() => ListDeploymentAliasesProtectionBypass3$outboundSchema), + z.lazy(() => ListDeploymentAliasesProtectionBypass4$outboundSchema), + z.lazy(() => ListDeploymentAliasesProtectionBypass2$outboundSchema), + ]), + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListDeploymentAliasesAliases$ { + /** @deprecated use `ListDeploymentAliasesAliases$inboundSchema` instead. */ + export const inboundSchema = ListDeploymentAliasesAliases$inboundSchema; + /** @deprecated use `ListDeploymentAliasesAliases$outboundSchema` instead. */ + export const outboundSchema = ListDeploymentAliasesAliases$outboundSchema; + /** @deprecated use `ListDeploymentAliasesAliases$Outbound` instead. */ + export type Outbound = ListDeploymentAliasesAliases$Outbound; +} + +export function listDeploymentAliasesAliasesToJSON( + listDeploymentAliasesAliases: ListDeploymentAliasesAliases, +): string { + return JSON.stringify( + ListDeploymentAliasesAliases$outboundSchema.parse( + listDeploymentAliasesAliases, + ), + ); +} + +export function listDeploymentAliasesAliasesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListDeploymentAliasesAliases$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListDeploymentAliasesAliases' from JSON`, + ); +} + +/** @internal */ +export const ListDeploymentAliasesResponseBody$inboundSchema: z.ZodType< + ListDeploymentAliasesResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + aliases: z.array(z.lazy(() => ListDeploymentAliasesAliases$inboundSchema)), +}); + +/** @internal */ +export type ListDeploymentAliasesResponseBody$Outbound = { + aliases: Array; +}; + +/** @internal */ +export const ListDeploymentAliasesResponseBody$outboundSchema: z.ZodType< + ListDeploymentAliasesResponseBody$Outbound, + z.ZodTypeDef, + ListDeploymentAliasesResponseBody +> = z.object({ + aliases: z.array(z.lazy(() => ListDeploymentAliasesAliases$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListDeploymentAliasesResponseBody$ { + /** @deprecated use `ListDeploymentAliasesResponseBody$inboundSchema` instead. */ + export const inboundSchema = ListDeploymentAliasesResponseBody$inboundSchema; + /** @deprecated use `ListDeploymentAliasesResponseBody$outboundSchema` instead. */ + export const outboundSchema = + ListDeploymentAliasesResponseBody$outboundSchema; + /** @deprecated use `ListDeploymentAliasesResponseBody$Outbound` instead. */ + export type Outbound = ListDeploymentAliasesResponseBody$Outbound; +} + +export function listDeploymentAliasesResponseBodyToJSON( + listDeploymentAliasesResponseBody: ListDeploymentAliasesResponseBody, +): string { + return JSON.stringify( + ListDeploymentAliasesResponseBody$outboundSchema.parse( + listDeploymentAliasesResponseBody, + ), + ); +} + +export function listDeploymentAliasesResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListDeploymentAliasesResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListDeploymentAliasesResponseBody' from JSON`, + ); +} diff --git a/src/models/listdeploymentfilesop.ts b/src/models/listdeploymentfilesop.ts new file mode 100644 index 00000000..a0909599 --- /dev/null +++ b/src/models/listdeploymentfilesop.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type ListDeploymentFilesRequest = { + /** + * The unique deployment identifier + */ + id: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const ListDeploymentFilesRequest$inboundSchema: z.ZodType< + ListDeploymentFilesRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type ListDeploymentFilesRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const ListDeploymentFilesRequest$outboundSchema: z.ZodType< + ListDeploymentFilesRequest$Outbound, + z.ZodTypeDef, + ListDeploymentFilesRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListDeploymentFilesRequest$ { + /** @deprecated use `ListDeploymentFilesRequest$inboundSchema` instead. */ + export const inboundSchema = ListDeploymentFilesRequest$inboundSchema; + /** @deprecated use `ListDeploymentFilesRequest$outboundSchema` instead. */ + export const outboundSchema = ListDeploymentFilesRequest$outboundSchema; + /** @deprecated use `ListDeploymentFilesRequest$Outbound` instead. */ + export type Outbound = ListDeploymentFilesRequest$Outbound; +} + +export function listDeploymentFilesRequestToJSON( + listDeploymentFilesRequest: ListDeploymentFilesRequest, +): string { + return JSON.stringify( + ListDeploymentFilesRequest$outboundSchema.parse(listDeploymentFilesRequest), + ); +} + +export function listDeploymentFilesRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListDeploymentFilesRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListDeploymentFilesRequest' from JSON`, + ); +} diff --git a/src/models/listpromotealiasesop.ts b/src/models/listpromotealiasesop.ts new file mode 100644 index 00000000..4daff7a6 --- /dev/null +++ b/src/models/listpromotealiasesop.ts @@ -0,0 +1,361 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + Pagination, + Pagination$inboundSchema, + Pagination$Outbound, + Pagination$outboundSchema, +} from "./pagination.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type ListPromoteAliasesRequest = { + projectId: string; + /** + * Maximum number of aliases to list from a request (max 100). + */ + limit?: number | undefined; + /** + * Get aliases created after this epoch timestamp. + */ + since?: number | undefined; + /** + * Get aliases created before this epoch timestamp. + */ + until?: number | undefined; + /** + * Filter results down to aliases that failed to map to the requested deployment + */ + failedOnly?: boolean | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export type ResponseBodyAliases = { + status: string; + alias: string; + id: string; +}; + +export type ListPromoteAliasesResponseBody2 = { + aliases: Array; + /** + * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. + */ + pagination: Pagination; +}; + +export type ListPromoteAliasesResponseBody1 = {}; + +export type ListPromoteAliasesResponseBody = + | ListPromoteAliasesResponseBody1 + | ListPromoteAliasesResponseBody2; + +/** @internal */ +export const ListPromoteAliasesRequest$inboundSchema: z.ZodType< + ListPromoteAliasesRequest, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string(), + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), + failedOnly: z.boolean().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type ListPromoteAliasesRequest$Outbound = { + projectId: string; + limit?: number | undefined; + since?: number | undefined; + until?: number | undefined; + failedOnly?: boolean | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const ListPromoteAliasesRequest$outboundSchema: z.ZodType< + ListPromoteAliasesRequest$Outbound, + z.ZodTypeDef, + ListPromoteAliasesRequest +> = z.object({ + projectId: z.string(), + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), + failedOnly: z.boolean().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListPromoteAliasesRequest$ { + /** @deprecated use `ListPromoteAliasesRequest$inboundSchema` instead. */ + export const inboundSchema = ListPromoteAliasesRequest$inboundSchema; + /** @deprecated use `ListPromoteAliasesRequest$outboundSchema` instead. */ + export const outboundSchema = ListPromoteAliasesRequest$outboundSchema; + /** @deprecated use `ListPromoteAliasesRequest$Outbound` instead. */ + export type Outbound = ListPromoteAliasesRequest$Outbound; +} + +export function listPromoteAliasesRequestToJSON( + listPromoteAliasesRequest: ListPromoteAliasesRequest, +): string { + return JSON.stringify( + ListPromoteAliasesRequest$outboundSchema.parse(listPromoteAliasesRequest), + ); +} + +export function listPromoteAliasesRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListPromoteAliasesRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListPromoteAliasesRequest' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyAliases$inboundSchema: z.ZodType< + ResponseBodyAliases, + z.ZodTypeDef, + unknown +> = z.object({ + status: z.string(), + alias: z.string(), + id: z.string(), +}); + +/** @internal */ +export type ResponseBodyAliases$Outbound = { + status: string; + alias: string; + id: string; +}; + +/** @internal */ +export const ResponseBodyAliases$outboundSchema: z.ZodType< + ResponseBodyAliases$Outbound, + z.ZodTypeDef, + ResponseBodyAliases +> = z.object({ + status: z.string(), + alias: z.string(), + id: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyAliases$ { + /** @deprecated use `ResponseBodyAliases$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyAliases$inboundSchema; + /** @deprecated use `ResponseBodyAliases$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyAliases$outboundSchema; + /** @deprecated use `ResponseBodyAliases$Outbound` instead. */ + export type Outbound = ResponseBodyAliases$Outbound; +} + +export function responseBodyAliasesToJSON( + responseBodyAliases: ResponseBodyAliases, +): string { + return JSON.stringify( + ResponseBodyAliases$outboundSchema.parse(responseBodyAliases), + ); +} + +export function responseBodyAliasesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyAliases$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyAliases' from JSON`, + ); +} + +/** @internal */ +export const ListPromoteAliasesResponseBody2$inboundSchema: z.ZodType< + ListPromoteAliasesResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + aliases: z.array(z.lazy(() => ResponseBodyAliases$inboundSchema)), + pagination: Pagination$inboundSchema, +}); + +/** @internal */ +export type ListPromoteAliasesResponseBody2$Outbound = { + aliases: Array; + pagination: Pagination$Outbound; +}; + +/** @internal */ +export const ListPromoteAliasesResponseBody2$outboundSchema: z.ZodType< + ListPromoteAliasesResponseBody2$Outbound, + z.ZodTypeDef, + ListPromoteAliasesResponseBody2 +> = z.object({ + aliases: z.array(z.lazy(() => ResponseBodyAliases$outboundSchema)), + pagination: Pagination$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListPromoteAliasesResponseBody2$ { + /** @deprecated use `ListPromoteAliasesResponseBody2$inboundSchema` instead. */ + export const inboundSchema = ListPromoteAliasesResponseBody2$inboundSchema; + /** @deprecated use `ListPromoteAliasesResponseBody2$outboundSchema` instead. */ + export const outboundSchema = ListPromoteAliasesResponseBody2$outboundSchema; + /** @deprecated use `ListPromoteAliasesResponseBody2$Outbound` instead. */ + export type Outbound = ListPromoteAliasesResponseBody2$Outbound; +} + +export function listPromoteAliasesResponseBody2ToJSON( + listPromoteAliasesResponseBody2: ListPromoteAliasesResponseBody2, +): string { + return JSON.stringify( + ListPromoteAliasesResponseBody2$outboundSchema.parse( + listPromoteAliasesResponseBody2, + ), + ); +} + +export function listPromoteAliasesResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListPromoteAliasesResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListPromoteAliasesResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const ListPromoteAliasesResponseBody1$inboundSchema: z.ZodType< + ListPromoteAliasesResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type ListPromoteAliasesResponseBody1$Outbound = {}; + +/** @internal */ +export const ListPromoteAliasesResponseBody1$outboundSchema: z.ZodType< + ListPromoteAliasesResponseBody1$Outbound, + z.ZodTypeDef, + ListPromoteAliasesResponseBody1 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListPromoteAliasesResponseBody1$ { + /** @deprecated use `ListPromoteAliasesResponseBody1$inboundSchema` instead. */ + export const inboundSchema = ListPromoteAliasesResponseBody1$inboundSchema; + /** @deprecated use `ListPromoteAliasesResponseBody1$outboundSchema` instead. */ + export const outboundSchema = ListPromoteAliasesResponseBody1$outboundSchema; + /** @deprecated use `ListPromoteAliasesResponseBody1$Outbound` instead. */ + export type Outbound = ListPromoteAliasesResponseBody1$Outbound; +} + +export function listPromoteAliasesResponseBody1ToJSON( + listPromoteAliasesResponseBody1: ListPromoteAliasesResponseBody1, +): string { + return JSON.stringify( + ListPromoteAliasesResponseBody1$outboundSchema.parse( + listPromoteAliasesResponseBody1, + ), + ); +} + +export function listPromoteAliasesResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListPromoteAliasesResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListPromoteAliasesResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const ListPromoteAliasesResponseBody$inboundSchema: z.ZodType< + ListPromoteAliasesResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => ListPromoteAliasesResponseBody1$inboundSchema), + z.lazy(() => ListPromoteAliasesResponseBody2$inboundSchema), +]); + +/** @internal */ +export type ListPromoteAliasesResponseBody$Outbound = + | ListPromoteAliasesResponseBody1$Outbound + | ListPromoteAliasesResponseBody2$Outbound; + +/** @internal */ +export const ListPromoteAliasesResponseBody$outboundSchema: z.ZodType< + ListPromoteAliasesResponseBody$Outbound, + z.ZodTypeDef, + ListPromoteAliasesResponseBody +> = z.union([ + z.lazy(() => ListPromoteAliasesResponseBody1$outboundSchema), + z.lazy(() => ListPromoteAliasesResponseBody2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListPromoteAliasesResponseBody$ { + /** @deprecated use `ListPromoteAliasesResponseBody$inboundSchema` instead. */ + export const inboundSchema = ListPromoteAliasesResponseBody$inboundSchema; + /** @deprecated use `ListPromoteAliasesResponseBody$outboundSchema` instead. */ + export const outboundSchema = ListPromoteAliasesResponseBody$outboundSchema; + /** @deprecated use `ListPromoteAliasesResponseBody$Outbound` instead. */ + export type Outbound = ListPromoteAliasesResponseBody$Outbound; +} + +export function listPromoteAliasesResponseBodyToJSON( + listPromoteAliasesResponseBody: ListPromoteAliasesResponseBody, +): string { + return JSON.stringify( + ListPromoteAliasesResponseBody$outboundSchema.parse( + listPromoteAliasesResponseBody, + ), + ); +} + +export function listPromoteAliasesResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListPromoteAliasesResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListPromoteAliasesResponseBody' from JSON`, + ); +} diff --git a/src/models/listusereventsop.ts b/src/models/listusereventsop.ts new file mode 100644 index 00000000..ffce5378 --- /dev/null +++ b/src/models/listusereventsop.ts @@ -0,0 +1,188 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; +import { + UserEvent, + UserEvent$inboundSchema, + UserEvent$Outbound, + UserEvent$outboundSchema, +} from "./userevent.js"; + +export type ListUserEventsRequest = { + /** + * Maximum number of items which may be returned. + */ + limit?: number | undefined; + /** + * Timestamp to only include items created since then. + */ + since?: string | undefined; + /** + * Timestamp to only include items created until then. + */ + until?: string | undefined; + /** + * Comma-delimited list of event \"types\" to filter the results by. + */ + types?: string | undefined; + /** + * When retrieving events for a Team, the `userId` parameter may be specified to filter events generated by a specific member of the Team. + */ + userId?: string | undefined; + /** + * When set to `true`, the response will include the `payload` field for each event. + */ + withPayload?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * Successful response. + */ +export type ListUserEventsResponseBody = { + /** + * Array of events generated by the User. + */ + events: Array; +}; + +/** @internal */ +export const ListUserEventsRequest$inboundSchema: z.ZodType< + ListUserEventsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + limit: z.number().optional(), + since: z.string().optional(), + until: z.string().optional(), + types: z.string().optional(), + userId: z.string().optional(), + withPayload: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type ListUserEventsRequest$Outbound = { + limit?: number | undefined; + since?: string | undefined; + until?: string | undefined; + types?: string | undefined; + userId?: string | undefined; + withPayload?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const ListUserEventsRequest$outboundSchema: z.ZodType< + ListUserEventsRequest$Outbound, + z.ZodTypeDef, + ListUserEventsRequest +> = z.object({ + limit: z.number().optional(), + since: z.string().optional(), + until: z.string().optional(), + types: z.string().optional(), + userId: z.string().optional(), + withPayload: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListUserEventsRequest$ { + /** @deprecated use `ListUserEventsRequest$inboundSchema` instead. */ + export const inboundSchema = ListUserEventsRequest$inboundSchema; + /** @deprecated use `ListUserEventsRequest$outboundSchema` instead. */ + export const outboundSchema = ListUserEventsRequest$outboundSchema; + /** @deprecated use `ListUserEventsRequest$Outbound` instead. */ + export type Outbound = ListUserEventsRequest$Outbound; +} + +export function listUserEventsRequestToJSON( + listUserEventsRequest: ListUserEventsRequest, +): string { + return JSON.stringify( + ListUserEventsRequest$outboundSchema.parse(listUserEventsRequest), + ); +} + +export function listUserEventsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListUserEventsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListUserEventsRequest' from JSON`, + ); +} + +/** @internal */ +export const ListUserEventsResponseBody$inboundSchema: z.ZodType< + ListUserEventsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + events: z.array(UserEvent$inboundSchema), +}); + +/** @internal */ +export type ListUserEventsResponseBody$Outbound = { + events: Array; +}; + +/** @internal */ +export const ListUserEventsResponseBody$outboundSchema: z.ZodType< + ListUserEventsResponseBody$Outbound, + z.ZodTypeDef, + ListUserEventsResponseBody +> = z.object({ + events: z.array(UserEvent$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ListUserEventsResponseBody$ { + /** @deprecated use `ListUserEventsResponseBody$inboundSchema` instead. */ + export const inboundSchema = ListUserEventsResponseBody$inboundSchema; + /** @deprecated use `ListUserEventsResponseBody$outboundSchema` instead. */ + export const outboundSchema = ListUserEventsResponseBody$outboundSchema; + /** @deprecated use `ListUserEventsResponseBody$Outbound` instead. */ + export type Outbound = ListUserEventsResponseBody$Outbound; +} + +export function listUserEventsResponseBodyToJSON( + listUserEventsResponseBody: ListUserEventsResponseBody, +): string { + return JSON.stringify( + ListUserEventsResponseBody$outboundSchema.parse(listUserEventsResponseBody), + ); +} + +export function listUserEventsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListUserEventsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListUserEventsResponseBody' from JSON`, + ); +} diff --git a/src/models/operations/addprojectdomain.ts b/src/models/operations/addprojectdomain.ts deleted file mode 100644 index 16286058..00000000 --- a/src/models/operations/addprojectdomain.ts +++ /dev/null @@ -1,413 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Status code for domain redirect - */ -export const AddProjectDomainRedirectStatusCode = { - ThreeHundredAndOne: 301, - ThreeHundredAndTwo: 302, - ThreeHundredAndSeven: 307, - ThreeHundredAndEight: 308, -} as const; -/** - * Status code for domain redirect - */ -export type AddProjectDomainRedirectStatusCode = ClosedEnum< - typeof AddProjectDomainRedirectStatusCode ->; - -export type AddProjectDomainRequestBody = { - /** - * The project domain name - */ - name: string; - /** - * Git branch to link the project domain - */ - gitBranch?: string | null | undefined; - /** - * Target destination domain for redirect - */ - redirect?: string | null | undefined; - /** - * Status code for domain redirect - */ - redirectStatusCode?: AddProjectDomainRedirectStatusCode | null | undefined; -}; - -export type AddProjectDomainRequest = { - /** - * The unique project identifier or the project name - */ - idOrName: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: AddProjectDomainRequestBody | undefined; -}; - -/** - * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. - */ -export type AddProjectDomainVerification = { - type: string; - domain: string; - value: string; - reason: string; -}; - -/** - * The domain was successfully added to the project - */ -export type AddProjectDomainResponseBody = { - name: string; - apexName: string; - projectId: string; - redirect?: string | null | undefined; - redirectStatusCode?: number | null | undefined; - gitBranch?: string | null | undefined; - customEnvironmentId?: string | null | undefined; - updatedAt?: number | undefined; - createdAt?: number | undefined; - /** - * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. - */ - verified: boolean; - /** - * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. - */ - verification?: Array | undefined; -}; - -/** @internal */ -export const AddProjectDomainRedirectStatusCode$inboundSchema: z.ZodNativeEnum< - typeof AddProjectDomainRedirectStatusCode -> = z.nativeEnum(AddProjectDomainRedirectStatusCode); - -/** @internal */ -export const AddProjectDomainRedirectStatusCode$outboundSchema: z.ZodNativeEnum< - typeof AddProjectDomainRedirectStatusCode -> = AddProjectDomainRedirectStatusCode$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddProjectDomainRedirectStatusCode$ { - /** @deprecated use `AddProjectDomainRedirectStatusCode$inboundSchema` instead. */ - export const inboundSchema = AddProjectDomainRedirectStatusCode$inboundSchema; - /** @deprecated use `AddProjectDomainRedirectStatusCode$outboundSchema` instead. */ - export const outboundSchema = - AddProjectDomainRedirectStatusCode$outboundSchema; -} - -/** @internal */ -export const AddProjectDomainRequestBody$inboundSchema: z.ZodType< - AddProjectDomainRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - gitBranch: z.nullable(z.string()).optional(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable( - AddProjectDomainRedirectStatusCode$inboundSchema, - ).optional(), -}); - -/** @internal */ -export type AddProjectDomainRequestBody$Outbound = { - name: string; - gitBranch?: string | null | undefined; - redirect?: string | null | undefined; - redirectStatusCode?: number | null | undefined; -}; - -/** @internal */ -export const AddProjectDomainRequestBody$outboundSchema: z.ZodType< - AddProjectDomainRequestBody$Outbound, - z.ZodTypeDef, - AddProjectDomainRequestBody -> = z.object({ - name: z.string(), - gitBranch: z.nullable(z.string()).optional(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable( - AddProjectDomainRedirectStatusCode$outboundSchema, - ).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddProjectDomainRequestBody$ { - /** @deprecated use `AddProjectDomainRequestBody$inboundSchema` instead. */ - export const inboundSchema = AddProjectDomainRequestBody$inboundSchema; - /** @deprecated use `AddProjectDomainRequestBody$outboundSchema` instead. */ - export const outboundSchema = AddProjectDomainRequestBody$outboundSchema; - /** @deprecated use `AddProjectDomainRequestBody$Outbound` instead. */ - export type Outbound = AddProjectDomainRequestBody$Outbound; -} - -export function addProjectDomainRequestBodyToJSON( - addProjectDomainRequestBody: AddProjectDomainRequestBody, -): string { - return JSON.stringify( - AddProjectDomainRequestBody$outboundSchema.parse( - addProjectDomainRequestBody, - ), - ); -} - -export function addProjectDomainRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AddProjectDomainRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AddProjectDomainRequestBody' from JSON`, - ); -} - -/** @internal */ -export const AddProjectDomainRequest$inboundSchema: z.ZodType< - AddProjectDomainRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => AddProjectDomainRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type AddProjectDomainRequest$Outbound = { - idOrName: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: AddProjectDomainRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const AddProjectDomainRequest$outboundSchema: z.ZodType< - AddProjectDomainRequest$Outbound, - z.ZodTypeDef, - AddProjectDomainRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => AddProjectDomainRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddProjectDomainRequest$ { - /** @deprecated use `AddProjectDomainRequest$inboundSchema` instead. */ - export const inboundSchema = AddProjectDomainRequest$inboundSchema; - /** @deprecated use `AddProjectDomainRequest$outboundSchema` instead. */ - export const outboundSchema = AddProjectDomainRequest$outboundSchema; - /** @deprecated use `AddProjectDomainRequest$Outbound` instead. */ - export type Outbound = AddProjectDomainRequest$Outbound; -} - -export function addProjectDomainRequestToJSON( - addProjectDomainRequest: AddProjectDomainRequest, -): string { - return JSON.stringify( - AddProjectDomainRequest$outboundSchema.parse(addProjectDomainRequest), - ); -} - -export function addProjectDomainRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AddProjectDomainRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AddProjectDomainRequest' from JSON`, - ); -} - -/** @internal */ -export const AddProjectDomainVerification$inboundSchema: z.ZodType< - AddProjectDomainVerification, - z.ZodTypeDef, - unknown -> = z.object({ - type: z.string(), - domain: z.string(), - value: z.string(), - reason: z.string(), -}); - -/** @internal */ -export type AddProjectDomainVerification$Outbound = { - type: string; - domain: string; - value: string; - reason: string; -}; - -/** @internal */ -export const AddProjectDomainVerification$outboundSchema: z.ZodType< - AddProjectDomainVerification$Outbound, - z.ZodTypeDef, - AddProjectDomainVerification -> = z.object({ - type: z.string(), - domain: z.string(), - value: z.string(), - reason: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddProjectDomainVerification$ { - /** @deprecated use `AddProjectDomainVerification$inboundSchema` instead. */ - export const inboundSchema = AddProjectDomainVerification$inboundSchema; - /** @deprecated use `AddProjectDomainVerification$outboundSchema` instead. */ - export const outboundSchema = AddProjectDomainVerification$outboundSchema; - /** @deprecated use `AddProjectDomainVerification$Outbound` instead. */ - export type Outbound = AddProjectDomainVerification$Outbound; -} - -export function addProjectDomainVerificationToJSON( - addProjectDomainVerification: AddProjectDomainVerification, -): string { - return JSON.stringify( - AddProjectDomainVerification$outboundSchema.parse( - addProjectDomainVerification, - ), - ); -} - -export function addProjectDomainVerificationFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AddProjectDomainVerification$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AddProjectDomainVerification' from JSON`, - ); -} - -/** @internal */ -export const AddProjectDomainResponseBody$inboundSchema: z.ZodType< - AddProjectDomainResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - apexName: z.string(), - projectId: z.string(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(z.number()).optional(), - gitBranch: z.nullable(z.string()).optional(), - customEnvironmentId: z.nullable(z.string()).optional(), - updatedAt: z.number().optional(), - createdAt: z.number().optional(), - verified: z.boolean(), - verification: z.array( - z.lazy(() => AddProjectDomainVerification$inboundSchema), - ).optional(), -}); - -/** @internal */ -export type AddProjectDomainResponseBody$Outbound = { - name: string; - apexName: string; - projectId: string; - redirect?: string | null | undefined; - redirectStatusCode?: number | null | undefined; - gitBranch?: string | null | undefined; - customEnvironmentId?: string | null | undefined; - updatedAt?: number | undefined; - createdAt?: number | undefined; - verified: boolean; - verification?: Array | undefined; -}; - -/** @internal */ -export const AddProjectDomainResponseBody$outboundSchema: z.ZodType< - AddProjectDomainResponseBody$Outbound, - z.ZodTypeDef, - AddProjectDomainResponseBody -> = z.object({ - name: z.string(), - apexName: z.string(), - projectId: z.string(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(z.number()).optional(), - gitBranch: z.nullable(z.string()).optional(), - customEnvironmentId: z.nullable(z.string()).optional(), - updatedAt: z.number().optional(), - createdAt: z.number().optional(), - verified: z.boolean(), - verification: z.array( - z.lazy(() => AddProjectDomainVerification$outboundSchema), - ).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddProjectDomainResponseBody$ { - /** @deprecated use `AddProjectDomainResponseBody$inboundSchema` instead. */ - export const inboundSchema = AddProjectDomainResponseBody$inboundSchema; - /** @deprecated use `AddProjectDomainResponseBody$outboundSchema` instead. */ - export const outboundSchema = AddProjectDomainResponseBody$outboundSchema; - /** @deprecated use `AddProjectDomainResponseBody$Outbound` instead. */ - export type Outbound = AddProjectDomainResponseBody$Outbound; -} - -export function addProjectDomainResponseBodyToJSON( - addProjectDomainResponseBody: AddProjectDomainResponseBody, -): string { - return JSON.stringify( - AddProjectDomainResponseBody$outboundSchema.parse( - addProjectDomainResponseBody, - ), - ); -} - -export function addProjectDomainResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AddProjectDomainResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AddProjectDomainResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/addprojectmember.ts b/src/models/operations/addprojectmember.ts deleted file mode 100644 index f5238d3f..00000000 --- a/src/models/operations/addprojectmember.ts +++ /dev/null @@ -1,602 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The project role of the member that will be added. - */ -export const AddProjectMemberRequestBodyProjectMembersRole = { - Admin: "ADMIN", - ProjectDeveloper: "PROJECT_DEVELOPER", - ProjectViewer: "PROJECT_VIEWER", -} as const; -/** - * The project role of the member that will be added. - */ -export type AddProjectMemberRequestBodyProjectMembersRole = ClosedEnum< - typeof AddProjectMemberRequestBodyProjectMembersRole ->; - -export type AddProjectMemberRequestBody3 = { - /** - * The ID of the team member that should be added to this project. - */ - uid?: string | undefined; - /** - * The username of the team member that should be added to this project. - */ - username?: string | undefined; - /** - * The email of the team member that should be added to this project. - */ - email: string; - /** - * The project role of the member that will be added. - */ - role: AddProjectMemberRequestBodyProjectMembersRole; -}; - -/** - * The project role of the member that will be added. - */ -export const AddProjectMemberRequestBodyRole = { - Admin: "ADMIN", - ProjectDeveloper: "PROJECT_DEVELOPER", - ProjectViewer: "PROJECT_VIEWER", -} as const; -/** - * The project role of the member that will be added. - */ -export type AddProjectMemberRequestBodyRole = ClosedEnum< - typeof AddProjectMemberRequestBodyRole ->; - -export type AddProjectMemberRequestBody2 = { - /** - * The ID of the team member that should be added to this project. - */ - uid?: string | undefined; - /** - * The username of the team member that should be added to this project. - */ - username: string; - /** - * The email of the team member that should be added to this project. - */ - email?: string | undefined; - /** - * The project role of the member that will be added. - */ - role: AddProjectMemberRequestBodyRole; -}; - -/** - * The project role of the member that will be added. - */ -export const RequestBodyRole = { - Admin: "ADMIN", - ProjectDeveloper: "PROJECT_DEVELOPER", - ProjectViewer: "PROJECT_VIEWER", -} as const; -/** - * The project role of the member that will be added. - */ -export type RequestBodyRole = ClosedEnum; - -export type AddProjectMemberRequestBody1 = { - /** - * The ID of the team member that should be added to this project. - */ - uid: string; - /** - * The username of the team member that should be added to this project. - */ - username?: string | undefined; - /** - * The email of the team member that should be added to this project. - */ - email?: string | undefined; - /** - * The project role of the member that will be added. - */ - role: RequestBodyRole; -}; - -export type AddProjectMemberRequestBody = - | AddProjectMemberRequestBody1 - | AddProjectMemberRequestBody2 - | AddProjectMemberRequestBody3; - -export type AddProjectMemberRequest = { - /** - * The ID or name of the Project. - */ - idOrName: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: - | AddProjectMemberRequestBody1 - | AddProjectMemberRequestBody2 - | AddProjectMemberRequestBody3 - | undefined; -}; - -/** - * Responds with the project ID on success. - */ -export type AddProjectMemberResponseBody = { - id: string; -}; - -/** @internal */ -export const AddProjectMemberRequestBodyProjectMembersRole$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(AddProjectMemberRequestBodyProjectMembersRole); - -/** @internal */ -export const AddProjectMemberRequestBodyProjectMembersRole$outboundSchema: - z.ZodNativeEnum = - AddProjectMemberRequestBodyProjectMembersRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddProjectMemberRequestBodyProjectMembersRole$ { - /** @deprecated use `AddProjectMemberRequestBodyProjectMembersRole$inboundSchema` instead. */ - export const inboundSchema = - AddProjectMemberRequestBodyProjectMembersRole$inboundSchema; - /** @deprecated use `AddProjectMemberRequestBodyProjectMembersRole$outboundSchema` instead. */ - export const outboundSchema = - AddProjectMemberRequestBodyProjectMembersRole$outboundSchema; -} - -/** @internal */ -export const AddProjectMemberRequestBody3$inboundSchema: z.ZodType< - AddProjectMemberRequestBody3, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string().optional(), - username: z.string().optional(), - email: z.string(), - role: AddProjectMemberRequestBodyProjectMembersRole$inboundSchema, -}); - -/** @internal */ -export type AddProjectMemberRequestBody3$Outbound = { - uid?: string | undefined; - username?: string | undefined; - email: string; - role: string; -}; - -/** @internal */ -export const AddProjectMemberRequestBody3$outboundSchema: z.ZodType< - AddProjectMemberRequestBody3$Outbound, - z.ZodTypeDef, - AddProjectMemberRequestBody3 -> = z.object({ - uid: z.string().optional(), - username: z.string().optional(), - email: z.string(), - role: AddProjectMemberRequestBodyProjectMembersRole$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddProjectMemberRequestBody3$ { - /** @deprecated use `AddProjectMemberRequestBody3$inboundSchema` instead. */ - export const inboundSchema = AddProjectMemberRequestBody3$inboundSchema; - /** @deprecated use `AddProjectMemberRequestBody3$outboundSchema` instead. */ - export const outboundSchema = AddProjectMemberRequestBody3$outboundSchema; - /** @deprecated use `AddProjectMemberRequestBody3$Outbound` instead. */ - export type Outbound = AddProjectMemberRequestBody3$Outbound; -} - -export function addProjectMemberRequestBody3ToJSON( - addProjectMemberRequestBody3: AddProjectMemberRequestBody3, -): string { - return JSON.stringify( - AddProjectMemberRequestBody3$outboundSchema.parse( - addProjectMemberRequestBody3, - ), - ); -} - -export function addProjectMemberRequestBody3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AddProjectMemberRequestBody3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AddProjectMemberRequestBody3' from JSON`, - ); -} - -/** @internal */ -export const AddProjectMemberRequestBodyRole$inboundSchema: z.ZodNativeEnum< - typeof AddProjectMemberRequestBodyRole -> = z.nativeEnum(AddProjectMemberRequestBodyRole); - -/** @internal */ -export const AddProjectMemberRequestBodyRole$outboundSchema: z.ZodNativeEnum< - typeof AddProjectMemberRequestBodyRole -> = AddProjectMemberRequestBodyRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddProjectMemberRequestBodyRole$ { - /** @deprecated use `AddProjectMemberRequestBodyRole$inboundSchema` instead. */ - export const inboundSchema = AddProjectMemberRequestBodyRole$inboundSchema; - /** @deprecated use `AddProjectMemberRequestBodyRole$outboundSchema` instead. */ - export const outboundSchema = AddProjectMemberRequestBodyRole$outboundSchema; -} - -/** @internal */ -export const AddProjectMemberRequestBody2$inboundSchema: z.ZodType< - AddProjectMemberRequestBody2, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string().optional(), - username: z.string(), - email: z.string().optional(), - role: AddProjectMemberRequestBodyRole$inboundSchema, -}); - -/** @internal */ -export type AddProjectMemberRequestBody2$Outbound = { - uid?: string | undefined; - username: string; - email?: string | undefined; - role: string; -}; - -/** @internal */ -export const AddProjectMemberRequestBody2$outboundSchema: z.ZodType< - AddProjectMemberRequestBody2$Outbound, - z.ZodTypeDef, - AddProjectMemberRequestBody2 -> = z.object({ - uid: z.string().optional(), - username: z.string(), - email: z.string().optional(), - role: AddProjectMemberRequestBodyRole$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddProjectMemberRequestBody2$ { - /** @deprecated use `AddProjectMemberRequestBody2$inboundSchema` instead. */ - export const inboundSchema = AddProjectMemberRequestBody2$inboundSchema; - /** @deprecated use `AddProjectMemberRequestBody2$outboundSchema` instead. */ - export const outboundSchema = AddProjectMemberRequestBody2$outboundSchema; - /** @deprecated use `AddProjectMemberRequestBody2$Outbound` instead. */ - export type Outbound = AddProjectMemberRequestBody2$Outbound; -} - -export function addProjectMemberRequestBody2ToJSON( - addProjectMemberRequestBody2: AddProjectMemberRequestBody2, -): string { - return JSON.stringify( - AddProjectMemberRequestBody2$outboundSchema.parse( - addProjectMemberRequestBody2, - ), - ); -} - -export function addProjectMemberRequestBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AddProjectMemberRequestBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AddProjectMemberRequestBody2' from JSON`, - ); -} - -/** @internal */ -export const RequestBodyRole$inboundSchema: z.ZodNativeEnum< - typeof RequestBodyRole -> = z.nativeEnum(RequestBodyRole); - -/** @internal */ -export const RequestBodyRole$outboundSchema: z.ZodNativeEnum< - typeof RequestBodyRole -> = RequestBodyRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBodyRole$ { - /** @deprecated use `RequestBodyRole$inboundSchema` instead. */ - export const inboundSchema = RequestBodyRole$inboundSchema; - /** @deprecated use `RequestBodyRole$outboundSchema` instead. */ - export const outboundSchema = RequestBodyRole$outboundSchema; -} - -/** @internal */ -export const AddProjectMemberRequestBody1$inboundSchema: z.ZodType< - AddProjectMemberRequestBody1, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - username: z.string().optional(), - email: z.string().optional(), - role: RequestBodyRole$inboundSchema, -}); - -/** @internal */ -export type AddProjectMemberRequestBody1$Outbound = { - uid: string; - username?: string | undefined; - email?: string | undefined; - role: string; -}; - -/** @internal */ -export const AddProjectMemberRequestBody1$outboundSchema: z.ZodType< - AddProjectMemberRequestBody1$Outbound, - z.ZodTypeDef, - AddProjectMemberRequestBody1 -> = z.object({ - uid: z.string(), - username: z.string().optional(), - email: z.string().optional(), - role: RequestBodyRole$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddProjectMemberRequestBody1$ { - /** @deprecated use `AddProjectMemberRequestBody1$inboundSchema` instead. */ - export const inboundSchema = AddProjectMemberRequestBody1$inboundSchema; - /** @deprecated use `AddProjectMemberRequestBody1$outboundSchema` instead. */ - export const outboundSchema = AddProjectMemberRequestBody1$outboundSchema; - /** @deprecated use `AddProjectMemberRequestBody1$Outbound` instead. */ - export type Outbound = AddProjectMemberRequestBody1$Outbound; -} - -export function addProjectMemberRequestBody1ToJSON( - addProjectMemberRequestBody1: AddProjectMemberRequestBody1, -): string { - return JSON.stringify( - AddProjectMemberRequestBody1$outboundSchema.parse( - addProjectMemberRequestBody1, - ), - ); -} - -export function addProjectMemberRequestBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AddProjectMemberRequestBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AddProjectMemberRequestBody1' from JSON`, - ); -} - -/** @internal */ -export const AddProjectMemberRequestBody$inboundSchema: z.ZodType< - AddProjectMemberRequestBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => AddProjectMemberRequestBody1$inboundSchema), - z.lazy(() => AddProjectMemberRequestBody2$inboundSchema), - z.lazy(() => AddProjectMemberRequestBody3$inboundSchema), -]); - -/** @internal */ -export type AddProjectMemberRequestBody$Outbound = - | AddProjectMemberRequestBody1$Outbound - | AddProjectMemberRequestBody2$Outbound - | AddProjectMemberRequestBody3$Outbound; - -/** @internal */ -export const AddProjectMemberRequestBody$outboundSchema: z.ZodType< - AddProjectMemberRequestBody$Outbound, - z.ZodTypeDef, - AddProjectMemberRequestBody -> = z.union([ - z.lazy(() => AddProjectMemberRequestBody1$outboundSchema), - z.lazy(() => AddProjectMemberRequestBody2$outboundSchema), - z.lazy(() => AddProjectMemberRequestBody3$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddProjectMemberRequestBody$ { - /** @deprecated use `AddProjectMemberRequestBody$inboundSchema` instead. */ - export const inboundSchema = AddProjectMemberRequestBody$inboundSchema; - /** @deprecated use `AddProjectMemberRequestBody$outboundSchema` instead. */ - export const outboundSchema = AddProjectMemberRequestBody$outboundSchema; - /** @deprecated use `AddProjectMemberRequestBody$Outbound` instead. */ - export type Outbound = AddProjectMemberRequestBody$Outbound; -} - -export function addProjectMemberRequestBodyToJSON( - addProjectMemberRequestBody: AddProjectMemberRequestBody, -): string { - return JSON.stringify( - AddProjectMemberRequestBody$outboundSchema.parse( - addProjectMemberRequestBody, - ), - ); -} - -export function addProjectMemberRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AddProjectMemberRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AddProjectMemberRequestBody' from JSON`, - ); -} - -/** @internal */ -export const AddProjectMemberRequest$inboundSchema: z.ZodType< - AddProjectMemberRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.union([ - z.lazy(() => AddProjectMemberRequestBody1$inboundSchema), - z.lazy(() => AddProjectMemberRequestBody2$inboundSchema), - z.lazy(() => AddProjectMemberRequestBody3$inboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type AddProjectMemberRequest$Outbound = { - idOrName: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: - | AddProjectMemberRequestBody1$Outbound - | AddProjectMemberRequestBody2$Outbound - | AddProjectMemberRequestBody3$Outbound - | undefined; -}; - -/** @internal */ -export const AddProjectMemberRequest$outboundSchema: z.ZodType< - AddProjectMemberRequest$Outbound, - z.ZodTypeDef, - AddProjectMemberRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.union([ - z.lazy(() => AddProjectMemberRequestBody1$outboundSchema), - z.lazy(() => AddProjectMemberRequestBody2$outboundSchema), - z.lazy(() => AddProjectMemberRequestBody3$outboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddProjectMemberRequest$ { - /** @deprecated use `AddProjectMemberRequest$inboundSchema` instead. */ - export const inboundSchema = AddProjectMemberRequest$inboundSchema; - /** @deprecated use `AddProjectMemberRequest$outboundSchema` instead. */ - export const outboundSchema = AddProjectMemberRequest$outboundSchema; - /** @deprecated use `AddProjectMemberRequest$Outbound` instead. */ - export type Outbound = AddProjectMemberRequest$Outbound; -} - -export function addProjectMemberRequestToJSON( - addProjectMemberRequest: AddProjectMemberRequest, -): string { - return JSON.stringify( - AddProjectMemberRequest$outboundSchema.parse(addProjectMemberRequest), - ); -} - -export function addProjectMemberRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AddProjectMemberRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AddProjectMemberRequest' from JSON`, - ); -} - -/** @internal */ -export const AddProjectMemberResponseBody$inboundSchema: z.ZodType< - AddProjectMemberResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); - -/** @internal */ -export type AddProjectMemberResponseBody$Outbound = { - id: string; -}; - -/** @internal */ -export const AddProjectMemberResponseBody$outboundSchema: z.ZodType< - AddProjectMemberResponseBody$Outbound, - z.ZodTypeDef, - AddProjectMemberResponseBody -> = z.object({ - id: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddProjectMemberResponseBody$ { - /** @deprecated use `AddProjectMemberResponseBody$inboundSchema` instead. */ - export const inboundSchema = AddProjectMemberResponseBody$inboundSchema; - /** @deprecated use `AddProjectMemberResponseBody$outboundSchema` instead. */ - export const outboundSchema = AddProjectMemberResponseBody$outboundSchema; - /** @deprecated use `AddProjectMemberResponseBody$Outbound` instead. */ - export type Outbound = AddProjectMemberResponseBody$Outbound; -} - -export function addProjectMemberResponseBodyToJSON( - addProjectMemberResponseBody: AddProjectMemberResponseBody, -): string { - return JSON.stringify( - AddProjectMemberResponseBody$outboundSchema.parse( - addProjectMemberResponseBody, - ), - ); -} - -export function addProjectMemberResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AddProjectMemberResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AddProjectMemberResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/artifactexists.ts b/src/models/operations/artifactexists.ts deleted file mode 100644 index 126efbca..00000000 --- a/src/models/operations/artifactexists.ts +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type ArtifactExistsRequest = { - /** - * The artifact hash - */ - hash: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const ArtifactExistsRequest$inboundSchema: z.ZodType< - ArtifactExistsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - hash: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type ArtifactExistsRequest$Outbound = { - hash: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const ArtifactExistsRequest$outboundSchema: z.ZodType< - ArtifactExistsRequest$Outbound, - z.ZodTypeDef, - ArtifactExistsRequest -> = z.object({ - hash: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ArtifactExistsRequest$ { - /** @deprecated use `ArtifactExistsRequest$inboundSchema` instead. */ - export const inboundSchema = ArtifactExistsRequest$inboundSchema; - /** @deprecated use `ArtifactExistsRequest$outboundSchema` instead. */ - export const outboundSchema = ArtifactExistsRequest$outboundSchema; - /** @deprecated use `ArtifactExistsRequest$Outbound` instead. */ - export type Outbound = ArtifactExistsRequest$Outbound; -} - -export function artifactExistsRequestToJSON( - artifactExistsRequest: ArtifactExistsRequest, -): string { - return JSON.stringify( - ArtifactExistsRequest$outboundSchema.parse(artifactExistsRequest), - ); -} - -export function artifactExistsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ArtifactExistsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ArtifactExistsRequest' from JSON`, - ); -} diff --git a/src/models/operations/artifactquery.ts b/src/models/operations/artifactquery.ts deleted file mode 100644 index f05f3876..00000000 --- a/src/models/operations/artifactquery.ts +++ /dev/null @@ -1,371 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type ArtifactQueryRequestBody = { - /** - * artifact hashes - */ - hashes: Array; -}; - -export type ArtifactQueryRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: ArtifactQueryRequestBody | undefined; -}; - -export type ErrorT = { - message: string; -}; - -export type ResponseBody2 = { - error: ErrorT; -}; - -export type ResponseBody1 = { - size: number; - taskDurationMs: number; - tag?: string | undefined; -}; - -export type ResponseBody = ResponseBody2 | ResponseBody1; - -/** @internal */ -export const ArtifactQueryRequestBody$inboundSchema: z.ZodType< - ArtifactQueryRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - hashes: z.array(z.string()), -}); - -/** @internal */ -export type ArtifactQueryRequestBody$Outbound = { - hashes: Array; -}; - -/** @internal */ -export const ArtifactQueryRequestBody$outboundSchema: z.ZodType< - ArtifactQueryRequestBody$Outbound, - z.ZodTypeDef, - ArtifactQueryRequestBody -> = z.object({ - hashes: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ArtifactQueryRequestBody$ { - /** @deprecated use `ArtifactQueryRequestBody$inboundSchema` instead. */ - export const inboundSchema = ArtifactQueryRequestBody$inboundSchema; - /** @deprecated use `ArtifactQueryRequestBody$outboundSchema` instead. */ - export const outboundSchema = ArtifactQueryRequestBody$outboundSchema; - /** @deprecated use `ArtifactQueryRequestBody$Outbound` instead. */ - export type Outbound = ArtifactQueryRequestBody$Outbound; -} - -export function artifactQueryRequestBodyToJSON( - artifactQueryRequestBody: ArtifactQueryRequestBody, -): string { - return JSON.stringify( - ArtifactQueryRequestBody$outboundSchema.parse(artifactQueryRequestBody), - ); -} - -export function artifactQueryRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ArtifactQueryRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ArtifactQueryRequestBody' from JSON`, - ); -} - -/** @internal */ -export const ArtifactQueryRequest$inboundSchema: z.ZodType< - ArtifactQueryRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => ArtifactQueryRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type ArtifactQueryRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: ArtifactQueryRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const ArtifactQueryRequest$outboundSchema: z.ZodType< - ArtifactQueryRequest$Outbound, - z.ZodTypeDef, - ArtifactQueryRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => ArtifactQueryRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ArtifactQueryRequest$ { - /** @deprecated use `ArtifactQueryRequest$inboundSchema` instead. */ - export const inboundSchema = ArtifactQueryRequest$inboundSchema; - /** @deprecated use `ArtifactQueryRequest$outboundSchema` instead. */ - export const outboundSchema = ArtifactQueryRequest$outboundSchema; - /** @deprecated use `ArtifactQueryRequest$Outbound` instead. */ - export type Outbound = ArtifactQueryRequest$Outbound; -} - -export function artifactQueryRequestToJSON( - artifactQueryRequest: ArtifactQueryRequest, -): string { - return JSON.stringify( - ArtifactQueryRequest$outboundSchema.parse(artifactQueryRequest), - ); -} - -export function artifactQueryRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ArtifactQueryRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ArtifactQueryRequest' from JSON`, - ); -} - -/** @internal */ -export const ErrorT$inboundSchema: z.ZodType = z - .object({ - message: z.string(), - }); - -/** @internal */ -export type ErrorT$Outbound = { - message: string; -}; - -/** @internal */ -export const ErrorT$outboundSchema: z.ZodType< - ErrorT$Outbound, - z.ZodTypeDef, - ErrorT -> = z.object({ - message: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ErrorT$ { - /** @deprecated use `ErrorT$inboundSchema` instead. */ - export const inboundSchema = ErrorT$inboundSchema; - /** @deprecated use `ErrorT$outboundSchema` instead. */ - export const outboundSchema = ErrorT$outboundSchema; - /** @deprecated use `ErrorT$Outbound` instead. */ - export type Outbound = ErrorT$Outbound; -} - -export function errorTToJSON(errorT: ErrorT): string { - return JSON.stringify(ErrorT$outboundSchema.parse(errorT)); -} - -export function errorTFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ErrorT$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ErrorT' from JSON`, - ); -} - -/** @internal */ -export const ResponseBody2$inboundSchema: z.ZodType< - ResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - error: z.lazy(() => ErrorT$inboundSchema), -}); - -/** @internal */ -export type ResponseBody2$Outbound = { - error: ErrorT$Outbound; -}; - -/** @internal */ -export const ResponseBody2$outboundSchema: z.ZodType< - ResponseBody2$Outbound, - z.ZodTypeDef, - ResponseBody2 -> = z.object({ - error: z.lazy(() => ErrorT$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBody2$ { - /** @deprecated use `ResponseBody2$inboundSchema` instead. */ - export const inboundSchema = ResponseBody2$inboundSchema; - /** @deprecated use `ResponseBody2$outboundSchema` instead. */ - export const outboundSchema = ResponseBody2$outboundSchema; - /** @deprecated use `ResponseBody2$Outbound` instead. */ - export type Outbound = ResponseBody2$Outbound; -} - -export function responseBody2ToJSON(responseBody2: ResponseBody2): string { - return JSON.stringify(ResponseBody2$outboundSchema.parse(responseBody2)); -} - -export function responseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const ResponseBody1$inboundSchema: z.ZodType< - ResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({ - size: z.number(), - taskDurationMs: z.number(), - tag: z.string().optional(), -}); - -/** @internal */ -export type ResponseBody1$Outbound = { - size: number; - taskDurationMs: number; - tag?: string | undefined; -}; - -/** @internal */ -export const ResponseBody1$outboundSchema: z.ZodType< - ResponseBody1$Outbound, - z.ZodTypeDef, - ResponseBody1 -> = z.object({ - size: z.number(), - taskDurationMs: z.number(), - tag: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBody1$ { - /** @deprecated use `ResponseBody1$inboundSchema` instead. */ - export const inboundSchema = ResponseBody1$inboundSchema; - /** @deprecated use `ResponseBody1$outboundSchema` instead. */ - export const outboundSchema = ResponseBody1$outboundSchema; - /** @deprecated use `ResponseBody1$Outbound` instead. */ - export type Outbound = ResponseBody1$Outbound; -} - -export function responseBody1ToJSON(responseBody1: ResponseBody1): string { - return JSON.stringify(ResponseBody1$outboundSchema.parse(responseBody1)); -} - -export function responseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const ResponseBody$inboundSchema: z.ZodType< - ResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => ResponseBody2$inboundSchema), - z.lazy(() => ResponseBody1$inboundSchema), -]); - -/** @internal */ -export type ResponseBody$Outbound = - | ResponseBody2$Outbound - | ResponseBody1$Outbound; - -/** @internal */ -export const ResponseBody$outboundSchema: z.ZodType< - ResponseBody$Outbound, - z.ZodTypeDef, - ResponseBody -> = z.union([ - z.lazy(() => ResponseBody2$outboundSchema), - z.lazy(() => ResponseBody1$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBody$ { - /** @deprecated use `ResponseBody$inboundSchema` instead. */ - export const inboundSchema = ResponseBody$inboundSchema; - /** @deprecated use `ResponseBody$outboundSchema` instead. */ - export const outboundSchema = ResponseBody$outboundSchema; - /** @deprecated use `ResponseBody$Outbound` instead. */ - export type Outbound = ResponseBody$Outbound; -} - -export function responseBodyToJSON(responseBody: ResponseBody): string { - return JSON.stringify(ResponseBody$outboundSchema.parse(responseBody)); -} - -export function responseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/assignalias.ts b/src/models/operations/assignalias.ts deleted file mode 100644 index 86884782..00000000 --- a/src/models/operations/assignalias.ts +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type AssignAliasRequestBody = { - /** - * The alias we want to assign to the deployment defined in the URL - */ - alias?: string | undefined; - /** - * The redirect property will take precedence over the deployment id from the URL and consists of a hostname (like test.com) to which the alias should redirect using status code 307 - */ - redirect?: string | null | undefined; -}; - -export type AssignAliasRequest = { - /** - * The ID of the deployment the aliases should be listed for - */ - id: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: AssignAliasRequestBody | undefined; -}; - -/** - * The alias was successfully assigned to the deployment - */ -export type AssignAliasResponseBody = { - /** - * The unique identifier of the alias - */ - uid: string; - /** - * The assigned alias name - */ - alias: string; - /** - * The date when the alias was created - */ - created: Date; - /** - * The unique identifier of the previously aliased deployment, only received when the alias was used before - */ - oldDeploymentId?: string | null | undefined; -}; - -/** @internal */ -export const AssignAliasRequestBody$inboundSchema: z.ZodType< - AssignAliasRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - alias: z.string().optional(), - redirect: z.nullable(z.string()).optional(), -}); - -/** @internal */ -export type AssignAliasRequestBody$Outbound = { - alias?: string | undefined; - redirect?: string | null | undefined; -}; - -/** @internal */ -export const AssignAliasRequestBody$outboundSchema: z.ZodType< - AssignAliasRequestBody$Outbound, - z.ZodTypeDef, - AssignAliasRequestBody -> = z.object({ - alias: z.string().optional(), - redirect: z.nullable(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AssignAliasRequestBody$ { - /** @deprecated use `AssignAliasRequestBody$inboundSchema` instead. */ - export const inboundSchema = AssignAliasRequestBody$inboundSchema; - /** @deprecated use `AssignAliasRequestBody$outboundSchema` instead. */ - export const outboundSchema = AssignAliasRequestBody$outboundSchema; - /** @deprecated use `AssignAliasRequestBody$Outbound` instead. */ - export type Outbound = AssignAliasRequestBody$Outbound; -} - -export function assignAliasRequestBodyToJSON( - assignAliasRequestBody: AssignAliasRequestBody, -): string { - return JSON.stringify( - AssignAliasRequestBody$outboundSchema.parse(assignAliasRequestBody), - ); -} - -export function assignAliasRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AssignAliasRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AssignAliasRequestBody' from JSON`, - ); -} - -/** @internal */ -export const AssignAliasRequest$inboundSchema: z.ZodType< - AssignAliasRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => AssignAliasRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type AssignAliasRequest$Outbound = { - id: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: AssignAliasRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const AssignAliasRequest$outboundSchema: z.ZodType< - AssignAliasRequest$Outbound, - z.ZodTypeDef, - AssignAliasRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => AssignAliasRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AssignAliasRequest$ { - /** @deprecated use `AssignAliasRequest$inboundSchema` instead. */ - export const inboundSchema = AssignAliasRequest$inboundSchema; - /** @deprecated use `AssignAliasRequest$outboundSchema` instead. */ - export const outboundSchema = AssignAliasRequest$outboundSchema; - /** @deprecated use `AssignAliasRequest$Outbound` instead. */ - export type Outbound = AssignAliasRequest$Outbound; -} - -export function assignAliasRequestToJSON( - assignAliasRequest: AssignAliasRequest, -): string { - return JSON.stringify( - AssignAliasRequest$outboundSchema.parse(assignAliasRequest), - ); -} - -export function assignAliasRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AssignAliasRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AssignAliasRequest' from JSON`, - ); -} - -/** @internal */ -export const AssignAliasResponseBody$inboundSchema: z.ZodType< - AssignAliasResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - alias: z.string(), - created: z.string().datetime({ offset: true }).transform(v => new Date(v)), - oldDeploymentId: z.nullable(z.string()).optional(), -}); - -/** @internal */ -export type AssignAliasResponseBody$Outbound = { - uid: string; - alias: string; - created: string; - oldDeploymentId?: string | null | undefined; -}; - -/** @internal */ -export const AssignAliasResponseBody$outboundSchema: z.ZodType< - AssignAliasResponseBody$Outbound, - z.ZodTypeDef, - AssignAliasResponseBody -> = z.object({ - uid: z.string(), - alias: z.string(), - created: z.date().transform(v => v.toISOString()), - oldDeploymentId: z.nullable(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AssignAliasResponseBody$ { - /** @deprecated use `AssignAliasResponseBody$inboundSchema` instead. */ - export const inboundSchema = AssignAliasResponseBody$inboundSchema; - /** @deprecated use `AssignAliasResponseBody$outboundSchema` instead. */ - export const outboundSchema = AssignAliasResponseBody$outboundSchema; - /** @deprecated use `AssignAliasResponseBody$Outbound` instead. */ - export type Outbound = AssignAliasResponseBody$Outbound; -} - -export function assignAliasResponseBodyToJSON( - assignAliasResponseBody: AssignAliasResponseBody, -): string { - return JSON.stringify( - AssignAliasResponseBody$outboundSchema.parse(assignAliasResponseBody), - ); -} - -export function assignAliasResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AssignAliasResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AssignAliasResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/buydomain.ts b/src/models/operations/buydomain.ts deleted file mode 100644 index 2cb7136b..00000000 --- a/src/models/operations/buydomain.ts +++ /dev/null @@ -1,558 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type BuyDomainRequestBody = { - /** - * The domain name to purchase. - */ - name: string; - /** - * The price you expect to be charged for the purchase. - */ - expectedPrice?: number | undefined; - /** - * Indicates whether the domain should be automatically renewed. - */ - renew?: boolean | undefined; - /** - * The country of the domain registrant - */ - country: string; - /** - * The company name of the domain registrant - */ - orgName?: string | undefined; - /** - * The first name of the domain registrant - */ - firstName: string; - /** - * The last name of the domain registrant - */ - lastName: string; - /** - * The street address of the domain registrant - */ - address1: string; - /** - * The city of the domain registrant - */ - city: string; - /** - * The state of the domain registrant - */ - state: string; - /** - * The postal code of the domain registrant - */ - postalCode: string; - /** - * The phone number of the domain registrant - */ - phone: string; - /** - * The email of the domain registrant - */ - email: string; -}; - -export type BuyDomainRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: BuyDomainRequestBody | undefined; -}; - -export type BuyDomainDomain = { - uid: string; - ns: Array; - verified: boolean; - created: number; - pending: boolean; -}; - -export type BuyDomainDomainsResponseBody = { - domain: BuyDomainDomain; -}; - -export type BuyDomainDomainsDomain = { - uid: string; - ns: Array; - verified: boolean; - created: number; - pending: boolean; -}; - -export type BuyDomainResponseBody = { - domain: BuyDomainDomainsDomain; -}; - -export type BuyDomainResponse = - | BuyDomainResponseBody - | BuyDomainDomainsResponseBody; - -/** @internal */ -export const BuyDomainRequestBody$inboundSchema: z.ZodType< - BuyDomainRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - expectedPrice: z.number().optional(), - renew: z.boolean().optional(), - country: z.string(), - orgName: z.string().optional(), - firstName: z.string(), - lastName: z.string(), - address1: z.string(), - city: z.string(), - state: z.string(), - postalCode: z.string(), - phone: z.string(), - email: z.string(), -}); - -/** @internal */ -export type BuyDomainRequestBody$Outbound = { - name: string; - expectedPrice?: number | undefined; - renew?: boolean | undefined; - country: string; - orgName?: string | undefined; - firstName: string; - lastName: string; - address1: string; - city: string; - state: string; - postalCode: string; - phone: string; - email: string; -}; - -/** @internal */ -export const BuyDomainRequestBody$outboundSchema: z.ZodType< - BuyDomainRequestBody$Outbound, - z.ZodTypeDef, - BuyDomainRequestBody -> = z.object({ - name: z.string(), - expectedPrice: z.number().optional(), - renew: z.boolean().optional(), - country: z.string(), - orgName: z.string().optional(), - firstName: z.string(), - lastName: z.string(), - address1: z.string(), - city: z.string(), - state: z.string(), - postalCode: z.string(), - phone: z.string(), - email: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BuyDomainRequestBody$ { - /** @deprecated use `BuyDomainRequestBody$inboundSchema` instead. */ - export const inboundSchema = BuyDomainRequestBody$inboundSchema; - /** @deprecated use `BuyDomainRequestBody$outboundSchema` instead. */ - export const outboundSchema = BuyDomainRequestBody$outboundSchema; - /** @deprecated use `BuyDomainRequestBody$Outbound` instead. */ - export type Outbound = BuyDomainRequestBody$Outbound; -} - -export function buyDomainRequestBodyToJSON( - buyDomainRequestBody: BuyDomainRequestBody, -): string { - return JSON.stringify( - BuyDomainRequestBody$outboundSchema.parse(buyDomainRequestBody), - ); -} - -export function buyDomainRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BuyDomainRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BuyDomainRequestBody' from JSON`, - ); -} - -/** @internal */ -export const BuyDomainRequest$inboundSchema: z.ZodType< - BuyDomainRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => BuyDomainRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type BuyDomainRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: BuyDomainRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const BuyDomainRequest$outboundSchema: z.ZodType< - BuyDomainRequest$Outbound, - z.ZodTypeDef, - BuyDomainRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => BuyDomainRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BuyDomainRequest$ { - /** @deprecated use `BuyDomainRequest$inboundSchema` instead. */ - export const inboundSchema = BuyDomainRequest$inboundSchema; - /** @deprecated use `BuyDomainRequest$outboundSchema` instead. */ - export const outboundSchema = BuyDomainRequest$outboundSchema; - /** @deprecated use `BuyDomainRequest$Outbound` instead. */ - export type Outbound = BuyDomainRequest$Outbound; -} - -export function buyDomainRequestToJSON( - buyDomainRequest: BuyDomainRequest, -): string { - return JSON.stringify( - BuyDomainRequest$outboundSchema.parse(buyDomainRequest), - ); -} - -export function buyDomainRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BuyDomainRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BuyDomainRequest' from JSON`, - ); -} - -/** @internal */ -export const BuyDomainDomain$inboundSchema: z.ZodType< - BuyDomainDomain, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - ns: z.array(z.string()), - verified: z.boolean(), - created: z.number(), - pending: z.boolean(), -}); - -/** @internal */ -export type BuyDomainDomain$Outbound = { - uid: string; - ns: Array; - verified: boolean; - created: number; - pending: boolean; -}; - -/** @internal */ -export const BuyDomainDomain$outboundSchema: z.ZodType< - BuyDomainDomain$Outbound, - z.ZodTypeDef, - BuyDomainDomain -> = z.object({ - uid: z.string(), - ns: z.array(z.string()), - verified: z.boolean(), - created: z.number(), - pending: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BuyDomainDomain$ { - /** @deprecated use `BuyDomainDomain$inboundSchema` instead. */ - export const inboundSchema = BuyDomainDomain$inboundSchema; - /** @deprecated use `BuyDomainDomain$outboundSchema` instead. */ - export const outboundSchema = BuyDomainDomain$outboundSchema; - /** @deprecated use `BuyDomainDomain$Outbound` instead. */ - export type Outbound = BuyDomainDomain$Outbound; -} - -export function buyDomainDomainToJSON( - buyDomainDomain: BuyDomainDomain, -): string { - return JSON.stringify(BuyDomainDomain$outboundSchema.parse(buyDomainDomain)); -} - -export function buyDomainDomainFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BuyDomainDomain$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BuyDomainDomain' from JSON`, - ); -} - -/** @internal */ -export const BuyDomainDomainsResponseBody$inboundSchema: z.ZodType< - BuyDomainDomainsResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - domain: z.lazy(() => BuyDomainDomain$inboundSchema), -}); - -/** @internal */ -export type BuyDomainDomainsResponseBody$Outbound = { - domain: BuyDomainDomain$Outbound; -}; - -/** @internal */ -export const BuyDomainDomainsResponseBody$outboundSchema: z.ZodType< - BuyDomainDomainsResponseBody$Outbound, - z.ZodTypeDef, - BuyDomainDomainsResponseBody -> = z.object({ - domain: z.lazy(() => BuyDomainDomain$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BuyDomainDomainsResponseBody$ { - /** @deprecated use `BuyDomainDomainsResponseBody$inboundSchema` instead. */ - export const inboundSchema = BuyDomainDomainsResponseBody$inboundSchema; - /** @deprecated use `BuyDomainDomainsResponseBody$outboundSchema` instead. */ - export const outboundSchema = BuyDomainDomainsResponseBody$outboundSchema; - /** @deprecated use `BuyDomainDomainsResponseBody$Outbound` instead. */ - export type Outbound = BuyDomainDomainsResponseBody$Outbound; -} - -export function buyDomainDomainsResponseBodyToJSON( - buyDomainDomainsResponseBody: BuyDomainDomainsResponseBody, -): string { - return JSON.stringify( - BuyDomainDomainsResponseBody$outboundSchema.parse( - buyDomainDomainsResponseBody, - ), - ); -} - -export function buyDomainDomainsResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BuyDomainDomainsResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BuyDomainDomainsResponseBody' from JSON`, - ); -} - -/** @internal */ -export const BuyDomainDomainsDomain$inboundSchema: z.ZodType< - BuyDomainDomainsDomain, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - ns: z.array(z.string()), - verified: z.boolean(), - created: z.number(), - pending: z.boolean(), -}); - -/** @internal */ -export type BuyDomainDomainsDomain$Outbound = { - uid: string; - ns: Array; - verified: boolean; - created: number; - pending: boolean; -}; - -/** @internal */ -export const BuyDomainDomainsDomain$outboundSchema: z.ZodType< - BuyDomainDomainsDomain$Outbound, - z.ZodTypeDef, - BuyDomainDomainsDomain -> = z.object({ - uid: z.string(), - ns: z.array(z.string()), - verified: z.boolean(), - created: z.number(), - pending: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BuyDomainDomainsDomain$ { - /** @deprecated use `BuyDomainDomainsDomain$inboundSchema` instead. */ - export const inboundSchema = BuyDomainDomainsDomain$inboundSchema; - /** @deprecated use `BuyDomainDomainsDomain$outboundSchema` instead. */ - export const outboundSchema = BuyDomainDomainsDomain$outboundSchema; - /** @deprecated use `BuyDomainDomainsDomain$Outbound` instead. */ - export type Outbound = BuyDomainDomainsDomain$Outbound; -} - -export function buyDomainDomainsDomainToJSON( - buyDomainDomainsDomain: BuyDomainDomainsDomain, -): string { - return JSON.stringify( - BuyDomainDomainsDomain$outboundSchema.parse(buyDomainDomainsDomain), - ); -} - -export function buyDomainDomainsDomainFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BuyDomainDomainsDomain$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BuyDomainDomainsDomain' from JSON`, - ); -} - -/** @internal */ -export const BuyDomainResponseBody$inboundSchema: z.ZodType< - BuyDomainResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - domain: z.lazy(() => BuyDomainDomainsDomain$inboundSchema), -}); - -/** @internal */ -export type BuyDomainResponseBody$Outbound = { - domain: BuyDomainDomainsDomain$Outbound; -}; - -/** @internal */ -export const BuyDomainResponseBody$outboundSchema: z.ZodType< - BuyDomainResponseBody$Outbound, - z.ZodTypeDef, - BuyDomainResponseBody -> = z.object({ - domain: z.lazy(() => BuyDomainDomainsDomain$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BuyDomainResponseBody$ { - /** @deprecated use `BuyDomainResponseBody$inboundSchema` instead. */ - export const inboundSchema = BuyDomainResponseBody$inboundSchema; - /** @deprecated use `BuyDomainResponseBody$outboundSchema` instead. */ - export const outboundSchema = BuyDomainResponseBody$outboundSchema; - /** @deprecated use `BuyDomainResponseBody$Outbound` instead. */ - export type Outbound = BuyDomainResponseBody$Outbound; -} - -export function buyDomainResponseBodyToJSON( - buyDomainResponseBody: BuyDomainResponseBody, -): string { - return JSON.stringify( - BuyDomainResponseBody$outboundSchema.parse(buyDomainResponseBody), - ); -} - -export function buyDomainResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BuyDomainResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BuyDomainResponseBody' from JSON`, - ); -} - -/** @internal */ -export const BuyDomainResponse$inboundSchema: z.ZodType< - BuyDomainResponse, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => BuyDomainResponseBody$inboundSchema), - z.lazy(() => BuyDomainDomainsResponseBody$inboundSchema), -]); - -/** @internal */ -export type BuyDomainResponse$Outbound = - | BuyDomainResponseBody$Outbound - | BuyDomainDomainsResponseBody$Outbound; - -/** @internal */ -export const BuyDomainResponse$outboundSchema: z.ZodType< - BuyDomainResponse$Outbound, - z.ZodTypeDef, - BuyDomainResponse -> = z.union([ - z.lazy(() => BuyDomainResponseBody$outboundSchema), - z.lazy(() => BuyDomainDomainsResponseBody$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BuyDomainResponse$ { - /** @deprecated use `BuyDomainResponse$inboundSchema` instead. */ - export const inboundSchema = BuyDomainResponse$inboundSchema; - /** @deprecated use `BuyDomainResponse$outboundSchema` instead. */ - export const outboundSchema = BuyDomainResponse$outboundSchema; - /** @deprecated use `BuyDomainResponse$Outbound` instead. */ - export type Outbound = BuyDomainResponse$Outbound; -} - -export function buyDomainResponseToJSON( - buyDomainResponse: BuyDomainResponse, -): string { - return JSON.stringify( - BuyDomainResponse$outboundSchema.parse(buyDomainResponse), - ); -} - -export function buyDomainResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BuyDomainResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BuyDomainResponse' from JSON`, - ); -} diff --git a/src/models/operations/canceldeployment.ts b/src/models/operations/canceldeployment.ts deleted file mode 100644 index cbe5ec91..00000000 --- a/src/models/operations/canceldeployment.ts +++ /dev/null @@ -1,5657 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - FlagJSONValue, - FlagJSONValue$inboundSchema, - FlagJSONValue$Outbound, - FlagJSONValue$outboundSchema, -} from "../components/flagjsonvalue.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type CancelDeploymentRequest = { - /** - * The unique identifier of the deployment. - */ - id: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export type CancelDeploymentAliasAssignedAt = number | boolean; - -export type CancelDeploymentBuild = { - env: Array; -}; - -export type CancelDeploymentBuilds = {}; - -export const CancelDeploymentFramework = { - Blitzjs: "blitzjs", - Nextjs: "nextjs", - Gatsby: "gatsby", - Remix: "remix", - Astro: "astro", - Hexo: "hexo", - Eleventy: "eleventy", - Docusaurus2: "docusaurus-2", - Docusaurus: "docusaurus", - Preact: "preact", - Solidstart1: "solidstart-1", - Solidstart: "solidstart", - Dojo: "dojo", - Ember: "ember", - Vue: "vue", - Scully: "scully", - IonicAngular: "ionic-angular", - Angular: "angular", - Polymer: "polymer", - Svelte: "svelte", - Sveltekit: "sveltekit", - Sveltekit1: "sveltekit-1", - IonicReact: "ionic-react", - CreateReactApp: "create-react-app", - Gridsome: "gridsome", - Umijs: "umijs", - Sapper: "sapper", - Saber: "saber", - Stencil: "stencil", - Nuxtjs: "nuxtjs", - Redwoodjs: "redwoodjs", - Hugo: "hugo", - Jekyll: "jekyll", - Brunch: "brunch", - Middleman: "middleman", - Zola: "zola", - Hydrogen: "hydrogen", - Vite: "vite", - Vitepress: "vitepress", - Vuepress: "vuepress", - Parcel: "parcel", - Fasthtml: "fasthtml", - SanityV3: "sanity-v3", - Sanity: "sanity", - Storybook: "storybook", -} as const; -export type CancelDeploymentFramework = ClosedEnum< - typeof CancelDeploymentFramework ->; - -export type CancelDeploymentSpeedInsights = { - id: string; - enabledAt?: number | undefined; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - hasData?: boolean | undefined; - paidAt?: number | undefined; -}; - -export type CancelDeploymentWebAnalytics = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; -}; - -export type CancelDeploymentProjectSettings = { - buildCommand?: string | null | undefined; - devCommand?: string | null | undefined; - framework?: CancelDeploymentFramework | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - installCommand?: string | null | undefined; - outputDirectory?: string | null | undefined; - speedInsights?: CancelDeploymentSpeedInsights | undefined; - webAnalytics?: CancelDeploymentWebAnalytics | undefined; -}; - -export const CancelDeploymentDeploymentsStatus = { - Pending: "pending", - Ready: "ready", - Error: "error", - Skipped: "skipped", - Timeout: "timeout", -} as const; -export type CancelDeploymentDeploymentsStatus = ClosedEnum< - typeof CancelDeploymentDeploymentsStatus ->; - -export type CancelDeploymentIntegrations = { - status: CancelDeploymentDeploymentsStatus; - startedAt: number; - completedAt?: number | undefined; - skippedAt?: number | undefined; - skippedBy?: string | undefined; -}; - -export type CancelDeploymentCreator = { - uid: string; - username?: string | undefined; - avatar?: string | undefined; -}; - -export const CancelDeploymentDeploymentsReadyState = { - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Ready: "READY", -} as const; -export type CancelDeploymentDeploymentsReadyState = ClosedEnum< - typeof CancelDeploymentDeploymentsReadyState ->; - -export type CancelDeploymentOutput = { - path: string; - functionName: string; -}; - -/** - * A partial representation of a Build used by the deployment endpoint. - */ -export type CancelDeploymentLambdas = { - id?: string | undefined; - createdAt?: number | undefined; - entrypoint?: string | null | undefined; - readyState?: CancelDeploymentDeploymentsReadyState | undefined; - readyStateAt?: number | undefined; - output: Array; -}; - -export const CancelDeploymentStatus = { - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Queued: "QUEUED", - Ready: "READY", - Canceled: "CANCELED", -} as const; -export type CancelDeploymentStatus = ClosedEnum; - -export type CancelDeploymentTeam = { - id: string; - name: string; - avatar?: string | undefined; - slug: string; -}; - -export type CancelDeploymentCustomEnvironment2 = { - id: string; -}; - -export type CancelDeploymentCustomEnvironment1 = {}; - -export type CancelDeploymentCustomEnvironment = - | CancelDeploymentCustomEnvironment1 - | CancelDeploymentCustomEnvironment2; - -export type CancelDeploymentAliasError = { - code: string; - message: string; -}; - -export type CancelDeploymentAliasWarning = { - code: string; - message: string; - link?: string | undefined; - action?: string | undefined; -}; - -export const CancelDeploymentChecksState = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type CancelDeploymentChecksState = ClosedEnum< - typeof CancelDeploymentChecksState ->; - -export const CancelDeploymentChecksConclusion = { - Skipped: "skipped", - Succeeded: "succeeded", - Failed: "failed", - Canceled: "canceled", -} as const; -export type CancelDeploymentChecksConclusion = ClosedEnum< - typeof CancelDeploymentChecksConclusion ->; - -export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type = - { - Bitbucket: "bitbucket", - } as const; -export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type = - ClosedEnum< - typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type - >; - -export type GitSource9 = { - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type; - ref: string; - sha: string; - owner?: string | undefined; - slug?: string | undefined; - workspaceUuid: string; - repoUuid: string; -}; - -export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type = - { - Gitlab: "gitlab", - } as const; -export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type = - ClosedEnum< - typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type - >; - -export type GitSource8 = { - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type; - ref: string; - sha: string; - projectId: number; -}; - -export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type = - { - Github: "github", - } as const; -export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type = - ClosedEnum< - typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type - >; - -export type GitSource7 = { - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type; - ref: string; - sha: string; - repoId: number; - org?: string | undefined; - repo?: string | undefined; -}; - -export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = - { - Custom: "custom", - } as const; -export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = - ClosedEnum< - typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType - >; - -/** - * Allows custom git sources (local folder mounted to the container) in test mode - */ -export type GitSource6 = { - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType; - ref: string; - sha: string; - gitUrl: string; -}; - -export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = - { - Bitbucket: "bitbucket", - } as const; -export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = - ClosedEnum< - typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType - >; - -export type CancelDeploymentGitSource5 = { - type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType; - owner: string; - slug: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export const CancelDeploymentGitSourceDeploymentsResponse200Type = { - Bitbucket: "bitbucket", -} as const; -export type CancelDeploymentGitSourceDeploymentsResponse200Type = ClosedEnum< - typeof CancelDeploymentGitSourceDeploymentsResponse200Type ->; - -export type CancelDeploymentGitSource4 = { - type: CancelDeploymentGitSourceDeploymentsResponse200Type; - workspaceUuid?: string | undefined; - repoUuid: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export const CancelDeploymentGitSourceDeploymentsResponseType = { - Gitlab: "gitlab", -} as const; -export type CancelDeploymentGitSourceDeploymentsResponseType = ClosedEnum< - typeof CancelDeploymentGitSourceDeploymentsResponseType ->; - -export type CancelDeploymentGitSourceProjectId = string | number; - -export type CancelDeploymentGitSource3 = { - type: CancelDeploymentGitSourceDeploymentsResponseType; - projectId: string | number; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export const CancelDeploymentGitSourceDeploymentsType = { - Github: "github", -} as const; -export type CancelDeploymentGitSourceDeploymentsType = ClosedEnum< - typeof CancelDeploymentGitSourceDeploymentsType ->; - -export type CancelDeploymentGitSource2 = { - type: CancelDeploymentGitSourceDeploymentsType; - org: string; - repo: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export const CancelDeploymentGitSourceType = { - Github: "github", -} as const; -export type CancelDeploymentGitSourceType = ClosedEnum< - typeof CancelDeploymentGitSourceType ->; - -export type CancelDeploymentGitSourceRepoId = string | number; - -export type CancelDeploymentGitSource1 = { - type: CancelDeploymentGitSourceType; - repoId: string | number; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export type CancelDeploymentGitSource = - | GitSource6 - | GitSource8 - | CancelDeploymentGitSource1 - | CancelDeploymentGitSource3 - | CancelDeploymentGitSource2 - | CancelDeploymentGitSource4 - | CancelDeploymentGitSource5 - | GitSource7 - | GitSource9; - -export type CancelDeploymentProject = { - id: string; - name: string; - framework?: string | null | undefined; -}; - -export const CancelDeploymentReadyState = { - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Queued: "QUEUED", - Ready: "READY", - Canceled: "CANCELED", -} as const; -export type CancelDeploymentReadyState = ClosedEnum< - typeof CancelDeploymentReadyState ->; - -/** - * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic - */ -export const CancelDeploymentReadySubstate = { - Staged: "STAGED", - Promoted: "PROMOTED", -} as const; -/** - * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic - */ -export type CancelDeploymentReadySubstate = ClosedEnum< - typeof CancelDeploymentReadySubstate ->; - -export const CancelDeploymentSource = { - ApiTriggerGitDeploy: "api-trigger-git-deploy", - Cli: "cli", - CloneRepo: "clone/repo", - Git: "git", - Import: "import", - ImportRepo: "import/repo", - Redeploy: "redeploy", - V0Web: "v0-web", -} as const; -export type CancelDeploymentSource = ClosedEnum; - -export const CancelDeploymentTarget = { - Production: "production", - Staging: "staging", -} as const; -export type CancelDeploymentTarget = ClosedEnum; - -export const CancelDeploymentType = { - Lambdas: "LAMBDAS", -} as const; -export type CancelDeploymentType = ClosedEnum; - -export type CancelDeploymentOidcTokenClaims = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - ownerId: string; - project: string; - projectId: string; - environment: string; -}; - -export type CancelDeploymentCrons = { - schedule: string; - path: string; -}; - -export type CancelDeploymentFunctions = { - memory?: number | undefined; - maxDuration?: number | undefined; - runtime?: string | undefined; - includeFiles?: string | undefined; - excludeFiles?: string | undefined; -}; - -export const CancelDeploymentPlan = { - Pro: "pro", - Enterprise: "enterprise", - Hobby: "hobby", -} as const; -export type CancelDeploymentPlan = ClosedEnum; - -export type CancelDeploymentRoutes3 = { - src: string; - continue: boolean; - middleware: number; -}; - -export const CancelDeploymentRoutesHandle = { - Error: "error", - Filesystem: "filesystem", - Hit: "hit", - Miss: "miss", - Rewrite: "rewrite", - Resource: "resource", -} as const; -export type CancelDeploymentRoutesHandle = ClosedEnum< - typeof CancelDeploymentRoutesHandle ->; - -export type CancelDeploymentRoutes2 = { - handle: CancelDeploymentRoutesHandle; - src?: string | undefined; - dest?: string | undefined; - status?: number | undefined; -}; - -export const CancelDeploymentHasDeploymentsType = { - Header: "header", - Cookie: "cookie", - Query: "query", -} as const; -export type CancelDeploymentHasDeploymentsType = ClosedEnum< - typeof CancelDeploymentHasDeploymentsType ->; - -export type CancelDeploymentHas2 = { - type: CancelDeploymentHasDeploymentsType; - key: string; - value?: string | undefined; -}; - -export const CancelDeploymentHasType = { - Host: "host", -} as const; -export type CancelDeploymentHasType = ClosedEnum< - typeof CancelDeploymentHasType ->; - -export type CancelDeploymentHas1 = { - type: CancelDeploymentHasType; - value: string; -}; - -export type CancelDeploymentRoutesHas = - | CancelDeploymentHas1 - | CancelDeploymentHas2; - -export const CancelDeploymentMissingDeploymentsType = { - Header: "header", - Cookie: "cookie", - Query: "query", -} as const; -export type CancelDeploymentMissingDeploymentsType = ClosedEnum< - typeof CancelDeploymentMissingDeploymentsType ->; - -export type CancelDeploymentMissing2 = { - type: CancelDeploymentMissingDeploymentsType; - key: string; - value?: string | undefined; -}; - -export const CancelDeploymentMissingType = { - Host: "host", -} as const; -export type CancelDeploymentMissingType = ClosedEnum< - typeof CancelDeploymentMissingType ->; - -export type CancelDeploymentMissing1 = { - type: CancelDeploymentMissingType; - value: string; -}; - -export type CancelDeploymentRoutesMissing = - | CancelDeploymentMissing1 - | CancelDeploymentMissing2; - -export type RoutesLocale = { - redirect?: { [k: string]: string } | undefined; - cookie?: string | undefined; -}; - -export type CancelDeploymentRoutes1 = { - src: string; - dest?: string | undefined; - headers?: { [k: string]: string } | undefined; - methods?: Array | undefined; - continue?: boolean | undefined; - override?: boolean | undefined; - caseSensitive?: boolean | undefined; - check?: boolean | undefined; - important?: boolean | undefined; - status?: number | undefined; - has?: Array | undefined; - missing?: - | Array - | undefined; - locale?: RoutesLocale | undefined; - /** - * A middleware key within the `output` key under the build result. Overrides a `middleware` definition. - */ - middlewarePath?: string | undefined; - /** - * The original middleware matchers. - */ - middlewareRawSrc?: Array | undefined; - /** - * A middleware index in the `middleware` key under the build result - */ - middleware?: number | undefined; -}; - -export type CancelDeploymentRoutes = - | CancelDeploymentRoutes3 - | CancelDeploymentRoutes2 - | CancelDeploymentRoutes1; - -export const CancelDeploymentGitRepoDeploymentsResponseType = { - Bitbucket: "bitbucket", -} as const; -export type CancelDeploymentGitRepoDeploymentsResponseType = ClosedEnum< - typeof CancelDeploymentGitRepoDeploymentsResponseType ->; - -export const CancelDeploymentGitRepoDeploymentsResponseOwnerType = { - Team: "team", - User: "user", -} as const; -export type CancelDeploymentGitRepoDeploymentsResponseOwnerType = ClosedEnum< - typeof CancelDeploymentGitRepoDeploymentsResponseOwnerType ->; - -export type CancelDeploymentGitRepo3 = { - owner: string; - repoUuid: string; - slug: string; - type: CancelDeploymentGitRepoDeploymentsResponseType; - workspaceUuid: string; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: CancelDeploymentGitRepoDeploymentsResponseOwnerType; -}; - -export const CancelDeploymentGitRepoDeploymentsType = { - Github: "github", -} as const; -export type CancelDeploymentGitRepoDeploymentsType = ClosedEnum< - typeof CancelDeploymentGitRepoDeploymentsType ->; - -export const CancelDeploymentGitRepoDeploymentsOwnerType = { - Team: "team", - User: "user", -} as const; -export type CancelDeploymentGitRepoDeploymentsOwnerType = ClosedEnum< - typeof CancelDeploymentGitRepoDeploymentsOwnerType ->; - -export type CancelDeploymentGitRepo2 = { - org: string; - repo: string; - repoId: number; - type: CancelDeploymentGitRepoDeploymentsType; - repoOwnerId: number; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: CancelDeploymentGitRepoDeploymentsOwnerType; -}; - -export const CancelDeploymentGitRepoType = { - Gitlab: "gitlab", -} as const; -export type CancelDeploymentGitRepoType = ClosedEnum< - typeof CancelDeploymentGitRepoType ->; - -export const CancelDeploymentGitRepoOwnerType = { - Team: "team", - User: "user", -} as const; -export type CancelDeploymentGitRepoOwnerType = ClosedEnum< - typeof CancelDeploymentGitRepoOwnerType ->; - -export type CancelDeploymentGitRepo1 = { - namespace: string; - projectId: number; - type: CancelDeploymentGitRepoType; - url: string; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: CancelDeploymentGitRepoOwnerType; -}; - -export type CancelDeploymentGitRepo = - | CancelDeploymentGitRepo1 - | CancelDeploymentGitRepo2 - | CancelDeploymentGitRepo3; - -/** - * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. - */ -export type CancelDeploymentFlags2 = {}; - -export type FlagsOptions = { - value: FlagJSONValue | null; - label?: string | undefined; -}; - -export type CancelDeploymentFlagsDefinitions = { - options?: Array | undefined; - url?: string | undefined; - description?: string | undefined; -}; - -/** - * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. - */ -export type CancelDeploymentFlags1 = { - definitions: { [k: string]: CancelDeploymentFlagsDefinitions }; -}; - -export type CancelDeploymentFlags = - | CancelDeploymentFlags1 - | Array; - -/** - * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. - */ -export type MicrofrontendsApplications = { - /** - * This is the production alias, it will always show the most up to date of each application. - */ - productionHost: string; - /** - * Use the fixed deploymentAlias and deploymentHost so that the microfrontend preview stays in sync with the deployment. These are only present for mono-repos when a single commit creates multiple deployments. If they are not present, productionHost will be used. - */ - deploymentAlias?: string | undefined; - deploymentHost?: string | undefined; -}; - -export type CancelDeploymentMicrofrontends2 = { - /** - * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. - */ - applications?: { [k: string]: MicrofrontendsApplications } | undefined; - isDefaultApp: boolean; - /** - * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. - */ - defaultRoute?: string | undefined; - /** - * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. - */ - groupIds: Array; -}; - -export type CancelDeploymentMicrofrontends1 = { - /** - * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. - */ - isDefaultApp?: boolean | undefined; - /** - * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. - */ - defaultRoute?: string | undefined; - /** - * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. - */ - groupIds: Array; -}; - -export type CancelDeploymentMicrofrontends = - | CancelDeploymentMicrofrontends1 - | CancelDeploymentMicrofrontends2; - -/** - * The private deployment representation of a Deployment. - */ -export type CancelDeploymentResponseBody = { - aliasAssignedAt?: number | boolean | null | undefined; - alwaysRefuseToBuild?: boolean | undefined; - build: CancelDeploymentBuild; - buildArtifactUrls?: Array | undefined; - builds?: Array | undefined; - env: Array; - inspectorUrl: string | null; - isInConcurrentBuildsQueue: boolean; - isInSystemBuildsQueue: boolean; - projectSettings: CancelDeploymentProjectSettings; - readyStateReason?: string | undefined; - integrations?: CancelDeploymentIntegrations | undefined; - alias?: Array | undefined; - aliasAssigned: boolean; - bootedAt: number; - buildingAt: number; - buildSkipped: boolean; - creator: CancelDeploymentCreator; - initReadyAt?: number | undefined; - isFirstBranchDeployment?: boolean | undefined; - lambdas?: Array | undefined; - public: boolean; - ready?: number | undefined; - status: CancelDeploymentStatus; - team?: CancelDeploymentTeam | undefined; - userAliases?: Array | undefined; - previewCommentsEnabled?: boolean | undefined; - ttyBuildLogs?: boolean | undefined; - customEnvironment?: - | CancelDeploymentCustomEnvironment1 - | CancelDeploymentCustomEnvironment2 - | undefined; - id: string; - aliasError?: CancelDeploymentAliasError | null | undefined; - aliasFinal?: string | null | undefined; - aliasWarning?: CancelDeploymentAliasWarning | null | undefined; - /** - * applies to custom domains only, defaults to `true` - */ - autoAssignCustomDomains?: boolean | undefined; - automaticAliases?: Array | undefined; - buildErrorAt?: number | undefined; - checksState?: CancelDeploymentChecksState | undefined; - checksConclusion?: CancelDeploymentChecksConclusion | undefined; - createdAt: number; - deletedAt?: number | null | undefined; - /** - * Computed field that is only available for deployments with a microfrontend configuration. - */ - defaultRoute?: string | undefined; - canceledAt?: number | undefined; - errorCode?: string | undefined; - errorLink?: string | undefined; - errorMessage?: string | null | undefined; - errorStep?: string | undefined; - /** - * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service - */ - passiveRegions?: Array | undefined; - gitSource?: - | GitSource6 - | GitSource8 - | CancelDeploymentGitSource1 - | CancelDeploymentGitSource3 - | CancelDeploymentGitSource2 - | CancelDeploymentGitSource4 - | CancelDeploymentGitSource5 - | GitSource7 - | GitSource9 - | undefined; - name: string; - meta: { [k: string]: string }; - project?: CancelDeploymentProject | undefined; - readyState: CancelDeploymentReadyState; - /** - * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic - */ - readySubstate?: CancelDeploymentReadySubstate | undefined; - regions: Array; - softDeletedByRetention?: boolean | undefined; - source?: CancelDeploymentSource | undefined; - target?: CancelDeploymentTarget | null | undefined; - type: CancelDeploymentType; - undeletedAt?: number | undefined; - url: string; - version: number; - oidcTokenClaims?: CancelDeploymentOidcTokenClaims | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdIn: string; - crons?: Array | undefined; - functions?: { [k: string]: CancelDeploymentFunctions } | null | undefined; - monorepoManager?: string | null | undefined; - ownerId: string; - /** - * Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions) - */ - passiveConnectConfigurationId?: string | undefined; - plan: CancelDeploymentPlan; - projectId: string; - routes: - | Array< - | CancelDeploymentRoutes3 - | CancelDeploymentRoutes2 - | CancelDeploymentRoutes1 - > - | null; - gitRepo?: - | CancelDeploymentGitRepo1 - | CancelDeploymentGitRepo2 - | CancelDeploymentGitRepo3 - | null - | undefined; - flags?: CancelDeploymentFlags1 | Array | undefined; - microfrontends?: - | CancelDeploymentMicrofrontends1 - | CancelDeploymentMicrofrontends2 - | undefined; -}; - -/** @internal */ -export const CancelDeploymentRequest$inboundSchema: z.ZodType< - CancelDeploymentRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type CancelDeploymentRequest$Outbound = { - id: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const CancelDeploymentRequest$outboundSchema: z.ZodType< - CancelDeploymentRequest$Outbound, - z.ZodTypeDef, - CancelDeploymentRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentRequest$ { - /** @deprecated use `CancelDeploymentRequest$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentRequest$inboundSchema; - /** @deprecated use `CancelDeploymentRequest$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentRequest$outboundSchema; - /** @deprecated use `CancelDeploymentRequest$Outbound` instead. */ - export type Outbound = CancelDeploymentRequest$Outbound; -} - -export function cancelDeploymentRequestToJSON( - cancelDeploymentRequest: CancelDeploymentRequest, -): string { - return JSON.stringify( - CancelDeploymentRequest$outboundSchema.parse(cancelDeploymentRequest), - ); -} - -export function cancelDeploymentRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentRequest' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentAliasAssignedAt$inboundSchema: z.ZodType< - CancelDeploymentAliasAssignedAt, - z.ZodTypeDef, - unknown -> = z.union([z.number(), z.boolean()]); - -/** @internal */ -export type CancelDeploymentAliasAssignedAt$Outbound = number | boolean; - -/** @internal */ -export const CancelDeploymentAliasAssignedAt$outboundSchema: z.ZodType< - CancelDeploymentAliasAssignedAt$Outbound, - z.ZodTypeDef, - CancelDeploymentAliasAssignedAt -> = z.union([z.number(), z.boolean()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentAliasAssignedAt$ { - /** @deprecated use `CancelDeploymentAliasAssignedAt$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentAliasAssignedAt$inboundSchema; - /** @deprecated use `CancelDeploymentAliasAssignedAt$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentAliasAssignedAt$outboundSchema; - /** @deprecated use `CancelDeploymentAliasAssignedAt$Outbound` instead. */ - export type Outbound = CancelDeploymentAliasAssignedAt$Outbound; -} - -export function cancelDeploymentAliasAssignedAtToJSON( - cancelDeploymentAliasAssignedAt: CancelDeploymentAliasAssignedAt, -): string { - return JSON.stringify( - CancelDeploymentAliasAssignedAt$outboundSchema.parse( - cancelDeploymentAliasAssignedAt, - ), - ); -} - -export function cancelDeploymentAliasAssignedAtFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentAliasAssignedAt$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentAliasAssignedAt' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentBuild$inboundSchema: z.ZodType< - CancelDeploymentBuild, - z.ZodTypeDef, - unknown -> = z.object({ - env: z.array(z.string()), -}); - -/** @internal */ -export type CancelDeploymentBuild$Outbound = { - env: Array; -}; - -/** @internal */ -export const CancelDeploymentBuild$outboundSchema: z.ZodType< - CancelDeploymentBuild$Outbound, - z.ZodTypeDef, - CancelDeploymentBuild -> = z.object({ - env: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentBuild$ { - /** @deprecated use `CancelDeploymentBuild$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentBuild$inboundSchema; - /** @deprecated use `CancelDeploymentBuild$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentBuild$outboundSchema; - /** @deprecated use `CancelDeploymentBuild$Outbound` instead. */ - export type Outbound = CancelDeploymentBuild$Outbound; -} - -export function cancelDeploymentBuildToJSON( - cancelDeploymentBuild: CancelDeploymentBuild, -): string { - return JSON.stringify( - CancelDeploymentBuild$outboundSchema.parse(cancelDeploymentBuild), - ); -} - -export function cancelDeploymentBuildFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentBuild$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentBuild' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentBuilds$inboundSchema: z.ZodType< - CancelDeploymentBuilds, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type CancelDeploymentBuilds$Outbound = {}; - -/** @internal */ -export const CancelDeploymentBuilds$outboundSchema: z.ZodType< - CancelDeploymentBuilds$Outbound, - z.ZodTypeDef, - CancelDeploymentBuilds -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentBuilds$ { - /** @deprecated use `CancelDeploymentBuilds$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentBuilds$inboundSchema; - /** @deprecated use `CancelDeploymentBuilds$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentBuilds$outboundSchema; - /** @deprecated use `CancelDeploymentBuilds$Outbound` instead. */ - export type Outbound = CancelDeploymentBuilds$Outbound; -} - -export function cancelDeploymentBuildsToJSON( - cancelDeploymentBuilds: CancelDeploymentBuilds, -): string { - return JSON.stringify( - CancelDeploymentBuilds$outboundSchema.parse(cancelDeploymentBuilds), - ); -} - -export function cancelDeploymentBuildsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentBuilds$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentBuilds' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentFramework$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentFramework -> = z.nativeEnum(CancelDeploymentFramework); - -/** @internal */ -export const CancelDeploymentFramework$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentFramework -> = CancelDeploymentFramework$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentFramework$ { - /** @deprecated use `CancelDeploymentFramework$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentFramework$inboundSchema; - /** @deprecated use `CancelDeploymentFramework$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentFramework$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentSpeedInsights$inboundSchema: z.ZodType< - CancelDeploymentSpeedInsights, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - enabledAt: z.number().optional(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - hasData: z.boolean().optional(), - paidAt: z.number().optional(), -}); - -/** @internal */ -export type CancelDeploymentSpeedInsights$Outbound = { - id: string; - enabledAt?: number | undefined; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - hasData?: boolean | undefined; - paidAt?: number | undefined; -}; - -/** @internal */ -export const CancelDeploymentSpeedInsights$outboundSchema: z.ZodType< - CancelDeploymentSpeedInsights$Outbound, - z.ZodTypeDef, - CancelDeploymentSpeedInsights -> = z.object({ - id: z.string(), - enabledAt: z.number().optional(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - hasData: z.boolean().optional(), - paidAt: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentSpeedInsights$ { - /** @deprecated use `CancelDeploymentSpeedInsights$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentSpeedInsights$inboundSchema; - /** @deprecated use `CancelDeploymentSpeedInsights$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentSpeedInsights$outboundSchema; - /** @deprecated use `CancelDeploymentSpeedInsights$Outbound` instead. */ - export type Outbound = CancelDeploymentSpeedInsights$Outbound; -} - -export function cancelDeploymentSpeedInsightsToJSON( - cancelDeploymentSpeedInsights: CancelDeploymentSpeedInsights, -): string { - return JSON.stringify( - CancelDeploymentSpeedInsights$outboundSchema.parse( - cancelDeploymentSpeedInsights, - ), - ); -} - -export function cancelDeploymentSpeedInsightsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentSpeedInsights$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentSpeedInsights' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentWebAnalytics$inboundSchema: z.ZodType< - CancelDeploymentWebAnalytics, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); - -/** @internal */ -export type CancelDeploymentWebAnalytics$Outbound = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; -}; - -/** @internal */ -export const CancelDeploymentWebAnalytics$outboundSchema: z.ZodType< - CancelDeploymentWebAnalytics$Outbound, - z.ZodTypeDef, - CancelDeploymentWebAnalytics -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentWebAnalytics$ { - /** @deprecated use `CancelDeploymentWebAnalytics$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentWebAnalytics$inboundSchema; - /** @deprecated use `CancelDeploymentWebAnalytics$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentWebAnalytics$outboundSchema; - /** @deprecated use `CancelDeploymentWebAnalytics$Outbound` instead. */ - export type Outbound = CancelDeploymentWebAnalytics$Outbound; -} - -export function cancelDeploymentWebAnalyticsToJSON( - cancelDeploymentWebAnalytics: CancelDeploymentWebAnalytics, -): string { - return JSON.stringify( - CancelDeploymentWebAnalytics$outboundSchema.parse( - cancelDeploymentWebAnalytics, - ), - ); -} - -export function cancelDeploymentWebAnalyticsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentWebAnalytics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentWebAnalytics' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentProjectSettings$inboundSchema: z.ZodType< - CancelDeploymentProjectSettings, - z.ZodTypeDef, - unknown -> = z.object({ - buildCommand: z.nullable(z.string()).optional(), - devCommand: z.nullable(z.string()).optional(), - framework: z.nullable(CancelDeploymentFramework$inboundSchema).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - installCommand: z.nullable(z.string()).optional(), - outputDirectory: z.nullable(z.string()).optional(), - speedInsights: z.lazy(() => CancelDeploymentSpeedInsights$inboundSchema) - .optional(), - webAnalytics: z.lazy(() => CancelDeploymentWebAnalytics$inboundSchema) - .optional(), -}); - -/** @internal */ -export type CancelDeploymentProjectSettings$Outbound = { - buildCommand?: string | null | undefined; - devCommand?: string | null | undefined; - framework?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - installCommand?: string | null | undefined; - outputDirectory?: string | null | undefined; - speedInsights?: CancelDeploymentSpeedInsights$Outbound | undefined; - webAnalytics?: CancelDeploymentWebAnalytics$Outbound | undefined; -}; - -/** @internal */ -export const CancelDeploymentProjectSettings$outboundSchema: z.ZodType< - CancelDeploymentProjectSettings$Outbound, - z.ZodTypeDef, - CancelDeploymentProjectSettings -> = z.object({ - buildCommand: z.nullable(z.string()).optional(), - devCommand: z.nullable(z.string()).optional(), - framework: z.nullable(CancelDeploymentFramework$outboundSchema).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - installCommand: z.nullable(z.string()).optional(), - outputDirectory: z.nullable(z.string()).optional(), - speedInsights: z.lazy(() => CancelDeploymentSpeedInsights$outboundSchema) - .optional(), - webAnalytics: z.lazy(() => CancelDeploymentWebAnalytics$outboundSchema) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentProjectSettings$ { - /** @deprecated use `CancelDeploymentProjectSettings$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentProjectSettings$inboundSchema; - /** @deprecated use `CancelDeploymentProjectSettings$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentProjectSettings$outboundSchema; - /** @deprecated use `CancelDeploymentProjectSettings$Outbound` instead. */ - export type Outbound = CancelDeploymentProjectSettings$Outbound; -} - -export function cancelDeploymentProjectSettingsToJSON( - cancelDeploymentProjectSettings: CancelDeploymentProjectSettings, -): string { - return JSON.stringify( - CancelDeploymentProjectSettings$outboundSchema.parse( - cancelDeploymentProjectSettings, - ), - ); -} - -export function cancelDeploymentProjectSettingsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentProjectSettings$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentProjectSettings' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentDeploymentsStatus$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentDeploymentsStatus -> = z.nativeEnum(CancelDeploymentDeploymentsStatus); - -/** @internal */ -export const CancelDeploymentDeploymentsStatus$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentDeploymentsStatus -> = CancelDeploymentDeploymentsStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentDeploymentsStatus$ { - /** @deprecated use `CancelDeploymentDeploymentsStatus$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentDeploymentsStatus$inboundSchema; - /** @deprecated use `CancelDeploymentDeploymentsStatus$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentDeploymentsStatus$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentIntegrations$inboundSchema: z.ZodType< - CancelDeploymentIntegrations, - z.ZodTypeDef, - unknown -> = z.object({ - status: CancelDeploymentDeploymentsStatus$inboundSchema, - startedAt: z.number(), - completedAt: z.number().optional(), - skippedAt: z.number().optional(), - skippedBy: z.string().optional(), -}); - -/** @internal */ -export type CancelDeploymentIntegrations$Outbound = { - status: string; - startedAt: number; - completedAt?: number | undefined; - skippedAt?: number | undefined; - skippedBy?: string | undefined; -}; - -/** @internal */ -export const CancelDeploymentIntegrations$outboundSchema: z.ZodType< - CancelDeploymentIntegrations$Outbound, - z.ZodTypeDef, - CancelDeploymentIntegrations -> = z.object({ - status: CancelDeploymentDeploymentsStatus$outboundSchema, - startedAt: z.number(), - completedAt: z.number().optional(), - skippedAt: z.number().optional(), - skippedBy: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentIntegrations$ { - /** @deprecated use `CancelDeploymentIntegrations$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentIntegrations$inboundSchema; - /** @deprecated use `CancelDeploymentIntegrations$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentIntegrations$outboundSchema; - /** @deprecated use `CancelDeploymentIntegrations$Outbound` instead. */ - export type Outbound = CancelDeploymentIntegrations$Outbound; -} - -export function cancelDeploymentIntegrationsToJSON( - cancelDeploymentIntegrations: CancelDeploymentIntegrations, -): string { - return JSON.stringify( - CancelDeploymentIntegrations$outboundSchema.parse( - cancelDeploymentIntegrations, - ), - ); -} - -export function cancelDeploymentIntegrationsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentIntegrations$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentIntegrations' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentCreator$inboundSchema: z.ZodType< - CancelDeploymentCreator, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - username: z.string().optional(), - avatar: z.string().optional(), -}); - -/** @internal */ -export type CancelDeploymentCreator$Outbound = { - uid: string; - username?: string | undefined; - avatar?: string | undefined; -}; - -/** @internal */ -export const CancelDeploymentCreator$outboundSchema: z.ZodType< - CancelDeploymentCreator$Outbound, - z.ZodTypeDef, - CancelDeploymentCreator -> = z.object({ - uid: z.string(), - username: z.string().optional(), - avatar: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentCreator$ { - /** @deprecated use `CancelDeploymentCreator$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentCreator$inboundSchema; - /** @deprecated use `CancelDeploymentCreator$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentCreator$outboundSchema; - /** @deprecated use `CancelDeploymentCreator$Outbound` instead. */ - export type Outbound = CancelDeploymentCreator$Outbound; -} - -export function cancelDeploymentCreatorToJSON( - cancelDeploymentCreator: CancelDeploymentCreator, -): string { - return JSON.stringify( - CancelDeploymentCreator$outboundSchema.parse(cancelDeploymentCreator), - ); -} - -export function cancelDeploymentCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentCreator' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentDeploymentsReadyState$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CancelDeploymentDeploymentsReadyState, - ); - -/** @internal */ -export const CancelDeploymentDeploymentsReadyState$outboundSchema: - z.ZodNativeEnum = - CancelDeploymentDeploymentsReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentDeploymentsReadyState$ { - /** @deprecated use `CancelDeploymentDeploymentsReadyState$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentDeploymentsReadyState$inboundSchema; - /** @deprecated use `CancelDeploymentDeploymentsReadyState$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentDeploymentsReadyState$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentOutput$inboundSchema: z.ZodType< - CancelDeploymentOutput, - z.ZodTypeDef, - unknown -> = z.object({ - path: z.string(), - functionName: z.string(), -}); - -/** @internal */ -export type CancelDeploymentOutput$Outbound = { - path: string; - functionName: string; -}; - -/** @internal */ -export const CancelDeploymentOutput$outboundSchema: z.ZodType< - CancelDeploymentOutput$Outbound, - z.ZodTypeDef, - CancelDeploymentOutput -> = z.object({ - path: z.string(), - functionName: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentOutput$ { - /** @deprecated use `CancelDeploymentOutput$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentOutput$inboundSchema; - /** @deprecated use `CancelDeploymentOutput$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentOutput$outboundSchema; - /** @deprecated use `CancelDeploymentOutput$Outbound` instead. */ - export type Outbound = CancelDeploymentOutput$Outbound; -} - -export function cancelDeploymentOutputToJSON( - cancelDeploymentOutput: CancelDeploymentOutput, -): string { - return JSON.stringify( - CancelDeploymentOutput$outboundSchema.parse(cancelDeploymentOutput), - ); -} - -export function cancelDeploymentOutputFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentOutput$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentOutput' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentLambdas$inboundSchema: z.ZodType< - CancelDeploymentLambdas, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - createdAt: z.number().optional(), - entrypoint: z.nullable(z.string()).optional(), - readyState: CancelDeploymentDeploymentsReadyState$inboundSchema.optional(), - readyStateAt: z.number().optional(), - output: z.array(z.lazy(() => CancelDeploymentOutput$inboundSchema)), -}); - -/** @internal */ -export type CancelDeploymentLambdas$Outbound = { - id?: string | undefined; - createdAt?: number | undefined; - entrypoint?: string | null | undefined; - readyState?: string | undefined; - readyStateAt?: number | undefined; - output: Array; -}; - -/** @internal */ -export const CancelDeploymentLambdas$outboundSchema: z.ZodType< - CancelDeploymentLambdas$Outbound, - z.ZodTypeDef, - CancelDeploymentLambdas -> = z.object({ - id: z.string().optional(), - createdAt: z.number().optional(), - entrypoint: z.nullable(z.string()).optional(), - readyState: CancelDeploymentDeploymentsReadyState$outboundSchema.optional(), - readyStateAt: z.number().optional(), - output: z.array(z.lazy(() => CancelDeploymentOutput$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentLambdas$ { - /** @deprecated use `CancelDeploymentLambdas$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentLambdas$inboundSchema; - /** @deprecated use `CancelDeploymentLambdas$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentLambdas$outboundSchema; - /** @deprecated use `CancelDeploymentLambdas$Outbound` instead. */ - export type Outbound = CancelDeploymentLambdas$Outbound; -} - -export function cancelDeploymentLambdasToJSON( - cancelDeploymentLambdas: CancelDeploymentLambdas, -): string { - return JSON.stringify( - CancelDeploymentLambdas$outboundSchema.parse(cancelDeploymentLambdas), - ); -} - -export function cancelDeploymentLambdasFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentLambdas$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentLambdas' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentStatus$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentStatus -> = z.nativeEnum(CancelDeploymentStatus); - -/** @internal */ -export const CancelDeploymentStatus$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentStatus -> = CancelDeploymentStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentStatus$ { - /** @deprecated use `CancelDeploymentStatus$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentStatus$inboundSchema; - /** @deprecated use `CancelDeploymentStatus$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentStatus$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentTeam$inboundSchema: z.ZodType< - CancelDeploymentTeam, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string(), - avatar: z.string().optional(), - slug: z.string(), -}); - -/** @internal */ -export type CancelDeploymentTeam$Outbound = { - id: string; - name: string; - avatar?: string | undefined; - slug: string; -}; - -/** @internal */ -export const CancelDeploymentTeam$outboundSchema: z.ZodType< - CancelDeploymentTeam$Outbound, - z.ZodTypeDef, - CancelDeploymentTeam -> = z.object({ - id: z.string(), - name: z.string(), - avatar: z.string().optional(), - slug: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentTeam$ { - /** @deprecated use `CancelDeploymentTeam$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentTeam$inboundSchema; - /** @deprecated use `CancelDeploymentTeam$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentTeam$outboundSchema; - /** @deprecated use `CancelDeploymentTeam$Outbound` instead. */ - export type Outbound = CancelDeploymentTeam$Outbound; -} - -export function cancelDeploymentTeamToJSON( - cancelDeploymentTeam: CancelDeploymentTeam, -): string { - return JSON.stringify( - CancelDeploymentTeam$outboundSchema.parse(cancelDeploymentTeam), - ); -} - -export function cancelDeploymentTeamFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentTeam$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentTeam' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentCustomEnvironment2$inboundSchema: z.ZodType< - CancelDeploymentCustomEnvironment2, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); - -/** @internal */ -export type CancelDeploymentCustomEnvironment2$Outbound = { - id: string; -}; - -/** @internal */ -export const CancelDeploymentCustomEnvironment2$outboundSchema: z.ZodType< - CancelDeploymentCustomEnvironment2$Outbound, - z.ZodTypeDef, - CancelDeploymentCustomEnvironment2 -> = z.object({ - id: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentCustomEnvironment2$ { - /** @deprecated use `CancelDeploymentCustomEnvironment2$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentCustomEnvironment2$inboundSchema; - /** @deprecated use `CancelDeploymentCustomEnvironment2$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentCustomEnvironment2$outboundSchema; - /** @deprecated use `CancelDeploymentCustomEnvironment2$Outbound` instead. */ - export type Outbound = CancelDeploymentCustomEnvironment2$Outbound; -} - -export function cancelDeploymentCustomEnvironment2ToJSON( - cancelDeploymentCustomEnvironment2: CancelDeploymentCustomEnvironment2, -): string { - return JSON.stringify( - CancelDeploymentCustomEnvironment2$outboundSchema.parse( - cancelDeploymentCustomEnvironment2, - ), - ); -} - -export function cancelDeploymentCustomEnvironment2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CancelDeploymentCustomEnvironment2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentCustomEnvironment2' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentCustomEnvironment1$inboundSchema: z.ZodType< - CancelDeploymentCustomEnvironment1, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type CancelDeploymentCustomEnvironment1$Outbound = {}; - -/** @internal */ -export const CancelDeploymentCustomEnvironment1$outboundSchema: z.ZodType< - CancelDeploymentCustomEnvironment1$Outbound, - z.ZodTypeDef, - CancelDeploymentCustomEnvironment1 -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentCustomEnvironment1$ { - /** @deprecated use `CancelDeploymentCustomEnvironment1$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentCustomEnvironment1$inboundSchema; - /** @deprecated use `CancelDeploymentCustomEnvironment1$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentCustomEnvironment1$outboundSchema; - /** @deprecated use `CancelDeploymentCustomEnvironment1$Outbound` instead. */ - export type Outbound = CancelDeploymentCustomEnvironment1$Outbound; -} - -export function cancelDeploymentCustomEnvironment1ToJSON( - cancelDeploymentCustomEnvironment1: CancelDeploymentCustomEnvironment1, -): string { - return JSON.stringify( - CancelDeploymentCustomEnvironment1$outboundSchema.parse( - cancelDeploymentCustomEnvironment1, - ), - ); -} - -export function cancelDeploymentCustomEnvironment1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CancelDeploymentCustomEnvironment1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentCustomEnvironment1' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentCustomEnvironment$inboundSchema: z.ZodType< - CancelDeploymentCustomEnvironment, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CancelDeploymentCustomEnvironment1$inboundSchema), - z.lazy(() => CancelDeploymentCustomEnvironment2$inboundSchema), -]); - -/** @internal */ -export type CancelDeploymentCustomEnvironment$Outbound = - | CancelDeploymentCustomEnvironment1$Outbound - | CancelDeploymentCustomEnvironment2$Outbound; - -/** @internal */ -export const CancelDeploymentCustomEnvironment$outboundSchema: z.ZodType< - CancelDeploymentCustomEnvironment$Outbound, - z.ZodTypeDef, - CancelDeploymentCustomEnvironment -> = z.union([ - z.lazy(() => CancelDeploymentCustomEnvironment1$outboundSchema), - z.lazy(() => CancelDeploymentCustomEnvironment2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentCustomEnvironment$ { - /** @deprecated use `CancelDeploymentCustomEnvironment$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentCustomEnvironment$inboundSchema; - /** @deprecated use `CancelDeploymentCustomEnvironment$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentCustomEnvironment$outboundSchema; - /** @deprecated use `CancelDeploymentCustomEnvironment$Outbound` instead. */ - export type Outbound = CancelDeploymentCustomEnvironment$Outbound; -} - -export function cancelDeploymentCustomEnvironmentToJSON( - cancelDeploymentCustomEnvironment: CancelDeploymentCustomEnvironment, -): string { - return JSON.stringify( - CancelDeploymentCustomEnvironment$outboundSchema.parse( - cancelDeploymentCustomEnvironment, - ), - ); -} - -export function cancelDeploymentCustomEnvironmentFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentCustomEnvironment$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentCustomEnvironment' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentAliasError$inboundSchema: z.ZodType< - CancelDeploymentAliasError, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** @internal */ -export type CancelDeploymentAliasError$Outbound = { - code: string; - message: string; -}; - -/** @internal */ -export const CancelDeploymentAliasError$outboundSchema: z.ZodType< - CancelDeploymentAliasError$Outbound, - z.ZodTypeDef, - CancelDeploymentAliasError -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentAliasError$ { - /** @deprecated use `CancelDeploymentAliasError$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentAliasError$inboundSchema; - /** @deprecated use `CancelDeploymentAliasError$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentAliasError$outboundSchema; - /** @deprecated use `CancelDeploymentAliasError$Outbound` instead. */ - export type Outbound = CancelDeploymentAliasError$Outbound; -} - -export function cancelDeploymentAliasErrorToJSON( - cancelDeploymentAliasError: CancelDeploymentAliasError, -): string { - return JSON.stringify( - CancelDeploymentAliasError$outboundSchema.parse(cancelDeploymentAliasError), - ); -} - -export function cancelDeploymentAliasErrorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentAliasError$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentAliasError' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentAliasWarning$inboundSchema: z.ZodType< - CancelDeploymentAliasWarning, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), - link: z.string().optional(), - action: z.string().optional(), -}); - -/** @internal */ -export type CancelDeploymentAliasWarning$Outbound = { - code: string; - message: string; - link?: string | undefined; - action?: string | undefined; -}; - -/** @internal */ -export const CancelDeploymentAliasWarning$outboundSchema: z.ZodType< - CancelDeploymentAliasWarning$Outbound, - z.ZodTypeDef, - CancelDeploymentAliasWarning -> = z.object({ - code: z.string(), - message: z.string(), - link: z.string().optional(), - action: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentAliasWarning$ { - /** @deprecated use `CancelDeploymentAliasWarning$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentAliasWarning$inboundSchema; - /** @deprecated use `CancelDeploymentAliasWarning$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentAliasWarning$outboundSchema; - /** @deprecated use `CancelDeploymentAliasWarning$Outbound` instead. */ - export type Outbound = CancelDeploymentAliasWarning$Outbound; -} - -export function cancelDeploymentAliasWarningToJSON( - cancelDeploymentAliasWarning: CancelDeploymentAliasWarning, -): string { - return JSON.stringify( - CancelDeploymentAliasWarning$outboundSchema.parse( - cancelDeploymentAliasWarning, - ), - ); -} - -export function cancelDeploymentAliasWarningFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentAliasWarning$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentAliasWarning' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentChecksState$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentChecksState -> = z.nativeEnum(CancelDeploymentChecksState); - -/** @internal */ -export const CancelDeploymentChecksState$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentChecksState -> = CancelDeploymentChecksState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentChecksState$ { - /** @deprecated use `CancelDeploymentChecksState$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentChecksState$inboundSchema; - /** @deprecated use `CancelDeploymentChecksState$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentChecksState$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentChecksConclusion$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentChecksConclusion -> = z.nativeEnum(CancelDeploymentChecksConclusion); - -/** @internal */ -export const CancelDeploymentChecksConclusion$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentChecksConclusion -> = CancelDeploymentChecksConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentChecksConclusion$ { - /** @deprecated use `CancelDeploymentChecksConclusion$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentChecksConclusion$inboundSchema; - /** @deprecated use `CancelDeploymentChecksConclusion$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentChecksConclusion$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema: - z.ZodNativeEnum< - typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type, - ); - -/** @internal */ -export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema: - z.ZodNativeEnum< - typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type - > = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$ { - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema; -} - -/** @internal */ -export const GitSource9$inboundSchema: z.ZodType< - GitSource9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema, - ref: z.string(), - sha: z.string(), - owner: z.string().optional(), - slug: z.string().optional(), - workspaceUuid: z.string(), - repoUuid: z.string(), -}); - -/** @internal */ -export type GitSource9$Outbound = { - type: string; - ref: string; - sha: string; - owner?: string | undefined; - slug?: string | undefined; - workspaceUuid: string; - repoUuid: string; -}; - -/** @internal */ -export const GitSource9$outboundSchema: z.ZodType< - GitSource9$Outbound, - z.ZodTypeDef, - GitSource9 -> = z.object({ - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema, - ref: z.string(), - sha: z.string(), - owner: z.string().optional(), - slug: z.string().optional(), - workspaceUuid: z.string(), - repoUuid: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitSource9$ { - /** @deprecated use `GitSource9$inboundSchema` instead. */ - export const inboundSchema = GitSource9$inboundSchema; - /** @deprecated use `GitSource9$outboundSchema` instead. */ - export const outboundSchema = GitSource9$outboundSchema; - /** @deprecated use `GitSource9$Outbound` instead. */ - export type Outbound = GitSource9$Outbound; -} - -export function gitSource9ToJSON(gitSource9: GitSource9): string { - return JSON.stringify(GitSource9$outboundSchema.parse(gitSource9)); -} - -export function gitSource9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitSource9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitSource9' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema: - z.ZodNativeEnum< - typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type, - ); - -/** @internal */ -export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema: - z.ZodNativeEnum< - typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type - > = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$ { - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema; -} - -/** @internal */ -export const GitSource8$inboundSchema: z.ZodType< - GitSource8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema, - ref: z.string(), - sha: z.string(), - projectId: z.number(), -}); - -/** @internal */ -export type GitSource8$Outbound = { - type: string; - ref: string; - sha: string; - projectId: number; -}; - -/** @internal */ -export const GitSource8$outboundSchema: z.ZodType< - GitSource8$Outbound, - z.ZodTypeDef, - GitSource8 -> = z.object({ - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema, - ref: z.string(), - sha: z.string(), - projectId: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitSource8$ { - /** @deprecated use `GitSource8$inboundSchema` instead. */ - export const inboundSchema = GitSource8$inboundSchema; - /** @deprecated use `GitSource8$outboundSchema` instead. */ - export const outboundSchema = GitSource8$outboundSchema; - /** @deprecated use `GitSource8$Outbound` instead. */ - export type Outbound = GitSource8$Outbound; -} - -export function gitSource8ToJSON(gitSource8: GitSource8): string { - return JSON.stringify(GitSource8$outboundSchema.parse(gitSource8)); -} - -export function gitSource8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitSource8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitSource8' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema: - z.ZodNativeEnum< - typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type, - ); - -/** @internal */ -export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema: - z.ZodNativeEnum< - typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type - > = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$ { - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema; -} - -/** @internal */ -export const GitSource7$inboundSchema: z.ZodType< - GitSource7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema, - ref: z.string(), - sha: z.string(), - repoId: z.number(), - org: z.string().optional(), - repo: z.string().optional(), -}); - -/** @internal */ -export type GitSource7$Outbound = { - type: string; - ref: string; - sha: string; - repoId: number; - org?: string | undefined; - repo?: string | undefined; -}; - -/** @internal */ -export const GitSource7$outboundSchema: z.ZodType< - GitSource7$Outbound, - z.ZodTypeDef, - GitSource7 -> = z.object({ - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema, - ref: z.string(), - sha: z.string(), - repoId: z.number(), - org: z.string().optional(), - repo: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitSource7$ { - /** @deprecated use `GitSource7$inboundSchema` instead. */ - export const inboundSchema = GitSource7$inboundSchema; - /** @deprecated use `GitSource7$outboundSchema` instead. */ - export const outboundSchema = GitSource7$outboundSchema; - /** @deprecated use `GitSource7$Outbound` instead. */ - export type Outbound = GitSource7$Outbound; -} - -export function gitSource7ToJSON(gitSource7: GitSource7): string { - return JSON.stringify(GitSource7$outboundSchema.parse(gitSource7)); -} - -export function gitSource7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitSource7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitSource7' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema: - z.ZodNativeEnum< - typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType, - ); - -/** @internal */ -export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema: - z.ZodNativeEnum< - typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType - > = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - -/** @internal */ -export const GitSource6$inboundSchema: z.ZodType< - GitSource6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, - ref: z.string(), - sha: z.string(), - gitUrl: z.string(), -}); - -/** @internal */ -export type GitSource6$Outbound = { - type: string; - ref: string; - sha: string; - gitUrl: string; -}; - -/** @internal */ -export const GitSource6$outboundSchema: z.ZodType< - GitSource6$Outbound, - z.ZodTypeDef, - GitSource6 -> = z.object({ - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema, - ref: z.string(), - sha: z.string(), - gitUrl: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitSource6$ { - /** @deprecated use `GitSource6$inboundSchema` instead. */ - export const inboundSchema = GitSource6$inboundSchema; - /** @deprecated use `GitSource6$outboundSchema` instead. */ - export const outboundSchema = GitSource6$outboundSchema; - /** @deprecated use `GitSource6$Outbound` instead. */ - export type Outbound = GitSource6$Outbound; -} - -export function gitSource6ToJSON(gitSource6: GitSource6): string { - return JSON.stringify(GitSource6$outboundSchema.parse(gitSource6)); -} - -export function gitSource6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitSource6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitSource6' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum< - typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType, - ); - -/** @internal */ -export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum< - typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType - > = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$ { - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentGitSource5$inboundSchema: z.ZodType< - CancelDeploymentGitSource5, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema, - owner: z.string(), - slug: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type CancelDeploymentGitSource5$Outbound = { - type: string; - owner: string; - slug: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const CancelDeploymentGitSource5$outboundSchema: z.ZodType< - CancelDeploymentGitSource5$Outbound, - z.ZodTypeDef, - CancelDeploymentGitSource5 -> = z.object({ - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema, - owner: z.string(), - slug: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSource5$ { - /** @deprecated use `CancelDeploymentGitSource5$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitSource5$inboundSchema; - /** @deprecated use `CancelDeploymentGitSource5$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentGitSource5$outboundSchema; - /** @deprecated use `CancelDeploymentGitSource5$Outbound` instead. */ - export type Outbound = CancelDeploymentGitSource5$Outbound; -} - -export function cancelDeploymentGitSource5ToJSON( - cancelDeploymentGitSource5: CancelDeploymentGitSource5, -): string { - return JSON.stringify( - CancelDeploymentGitSource5$outboundSchema.parse(cancelDeploymentGitSource5), - ); -} - -export function cancelDeploymentGitSource5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentGitSource5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentGitSource5' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentGitSourceDeploymentsResponse200Type$inboundSchema: - z.ZodNativeEnum = - z.nativeEnum(CancelDeploymentGitSourceDeploymentsResponse200Type); - -/** @internal */ -export const CancelDeploymentGitSourceDeploymentsResponse200Type$outboundSchema: - z.ZodNativeEnum = - CancelDeploymentGitSourceDeploymentsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceDeploymentsResponse200Type$ { - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200Type$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200Type$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentGitSource4$inboundSchema: z.ZodType< - CancelDeploymentGitSource4, - z.ZodTypeDef, - unknown -> = z.object({ - type: CancelDeploymentGitSourceDeploymentsResponse200Type$inboundSchema, - workspaceUuid: z.string().optional(), - repoUuid: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type CancelDeploymentGitSource4$Outbound = { - type: string; - workspaceUuid?: string | undefined; - repoUuid: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const CancelDeploymentGitSource4$outboundSchema: z.ZodType< - CancelDeploymentGitSource4$Outbound, - z.ZodTypeDef, - CancelDeploymentGitSource4 -> = z.object({ - type: CancelDeploymentGitSourceDeploymentsResponse200Type$outboundSchema, - workspaceUuid: z.string().optional(), - repoUuid: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSource4$ { - /** @deprecated use `CancelDeploymentGitSource4$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitSource4$inboundSchema; - /** @deprecated use `CancelDeploymentGitSource4$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentGitSource4$outboundSchema; - /** @deprecated use `CancelDeploymentGitSource4$Outbound` instead. */ - export type Outbound = CancelDeploymentGitSource4$Outbound; -} - -export function cancelDeploymentGitSource4ToJSON( - cancelDeploymentGitSource4: CancelDeploymentGitSource4, -): string { - return JSON.stringify( - CancelDeploymentGitSource4$outboundSchema.parse(cancelDeploymentGitSource4), - ); -} - -export function cancelDeploymentGitSource4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentGitSource4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentGitSource4' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentGitSourceDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentGitSourceDeploymentsResponseType); - -/** @internal */ -export const CancelDeploymentGitSourceDeploymentsResponseType$outboundSchema: - z.ZodNativeEnum = - CancelDeploymentGitSourceDeploymentsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceDeploymentsResponseType$ { - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponseType$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitSourceDeploymentsResponseType$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponseType$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceDeploymentsResponseType$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentGitSourceProjectId$inboundSchema: z.ZodType< - CancelDeploymentGitSourceProjectId, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number()]); - -/** @internal */ -export type CancelDeploymentGitSourceProjectId$Outbound = string | number; - -/** @internal */ -export const CancelDeploymentGitSourceProjectId$outboundSchema: z.ZodType< - CancelDeploymentGitSourceProjectId$Outbound, - z.ZodTypeDef, - CancelDeploymentGitSourceProjectId -> = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceProjectId$ { - /** @deprecated use `CancelDeploymentGitSourceProjectId$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitSourceProjectId$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceProjectId$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceProjectId$outboundSchema; - /** @deprecated use `CancelDeploymentGitSourceProjectId$Outbound` instead. */ - export type Outbound = CancelDeploymentGitSourceProjectId$Outbound; -} - -export function cancelDeploymentGitSourceProjectIdToJSON( - cancelDeploymentGitSourceProjectId: CancelDeploymentGitSourceProjectId, -): string { - return JSON.stringify( - CancelDeploymentGitSourceProjectId$outboundSchema.parse( - cancelDeploymentGitSourceProjectId, - ), - ); -} - -export function cancelDeploymentGitSourceProjectIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CancelDeploymentGitSourceProjectId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentGitSourceProjectId' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentGitSource3$inboundSchema: z.ZodType< - CancelDeploymentGitSource3, - z.ZodTypeDef, - unknown -> = z.object({ - type: CancelDeploymentGitSourceDeploymentsResponseType$inboundSchema, - projectId: z.union([z.string(), z.number()]), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type CancelDeploymentGitSource3$Outbound = { - type: string; - projectId: string | number; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const CancelDeploymentGitSource3$outboundSchema: z.ZodType< - CancelDeploymentGitSource3$Outbound, - z.ZodTypeDef, - CancelDeploymentGitSource3 -> = z.object({ - type: CancelDeploymentGitSourceDeploymentsResponseType$outboundSchema, - projectId: z.union([z.string(), z.number()]), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSource3$ { - /** @deprecated use `CancelDeploymentGitSource3$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitSource3$inboundSchema; - /** @deprecated use `CancelDeploymentGitSource3$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentGitSource3$outboundSchema; - /** @deprecated use `CancelDeploymentGitSource3$Outbound` instead. */ - export type Outbound = CancelDeploymentGitSource3$Outbound; -} - -export function cancelDeploymentGitSource3ToJSON( - cancelDeploymentGitSource3: CancelDeploymentGitSource3, -): string { - return JSON.stringify( - CancelDeploymentGitSource3$outboundSchema.parse(cancelDeploymentGitSource3), - ); -} - -export function cancelDeploymentGitSource3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentGitSource3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentGitSource3' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentGitSourceDeploymentsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentGitSourceDeploymentsType); - -/** @internal */ -export const CancelDeploymentGitSourceDeploymentsType$outboundSchema: - z.ZodNativeEnum = - CancelDeploymentGitSourceDeploymentsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceDeploymentsType$ { - /** @deprecated use `CancelDeploymentGitSourceDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitSourceDeploymentsType$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceDeploymentsType$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentGitSource2$inboundSchema: z.ZodType< - CancelDeploymentGitSource2, - z.ZodTypeDef, - unknown -> = z.object({ - type: CancelDeploymentGitSourceDeploymentsType$inboundSchema, - org: z.string(), - repo: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type CancelDeploymentGitSource2$Outbound = { - type: string; - org: string; - repo: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const CancelDeploymentGitSource2$outboundSchema: z.ZodType< - CancelDeploymentGitSource2$Outbound, - z.ZodTypeDef, - CancelDeploymentGitSource2 -> = z.object({ - type: CancelDeploymentGitSourceDeploymentsType$outboundSchema, - org: z.string(), - repo: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSource2$ { - /** @deprecated use `CancelDeploymentGitSource2$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitSource2$inboundSchema; - /** @deprecated use `CancelDeploymentGitSource2$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentGitSource2$outboundSchema; - /** @deprecated use `CancelDeploymentGitSource2$Outbound` instead. */ - export type Outbound = CancelDeploymentGitSource2$Outbound; -} - -export function cancelDeploymentGitSource2ToJSON( - cancelDeploymentGitSource2: CancelDeploymentGitSource2, -): string { - return JSON.stringify( - CancelDeploymentGitSource2$outboundSchema.parse(cancelDeploymentGitSource2), - ); -} - -export function cancelDeploymentGitSource2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentGitSource2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentGitSource2' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentGitSourceType$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentGitSourceType -> = z.nativeEnum(CancelDeploymentGitSourceType); - -/** @internal */ -export const CancelDeploymentGitSourceType$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentGitSourceType -> = CancelDeploymentGitSourceType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceType$ { - /** @deprecated use `CancelDeploymentGitSourceType$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitSourceType$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceType$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentGitSourceType$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentGitSourceRepoId$inboundSchema: z.ZodType< - CancelDeploymentGitSourceRepoId, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number()]); - -/** @internal */ -export type CancelDeploymentGitSourceRepoId$Outbound = string | number; - -/** @internal */ -export const CancelDeploymentGitSourceRepoId$outboundSchema: z.ZodType< - CancelDeploymentGitSourceRepoId$Outbound, - z.ZodTypeDef, - CancelDeploymentGitSourceRepoId -> = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceRepoId$ { - /** @deprecated use `CancelDeploymentGitSourceRepoId$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitSourceRepoId$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceRepoId$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentGitSourceRepoId$outboundSchema; - /** @deprecated use `CancelDeploymentGitSourceRepoId$Outbound` instead. */ - export type Outbound = CancelDeploymentGitSourceRepoId$Outbound; -} - -export function cancelDeploymentGitSourceRepoIdToJSON( - cancelDeploymentGitSourceRepoId: CancelDeploymentGitSourceRepoId, -): string { - return JSON.stringify( - CancelDeploymentGitSourceRepoId$outboundSchema.parse( - cancelDeploymentGitSourceRepoId, - ), - ); -} - -export function cancelDeploymentGitSourceRepoIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentGitSourceRepoId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentGitSourceRepoId' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentGitSource1$inboundSchema: z.ZodType< - CancelDeploymentGitSource1, - z.ZodTypeDef, - unknown -> = z.object({ - type: CancelDeploymentGitSourceType$inboundSchema, - repoId: z.union([z.string(), z.number()]), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type CancelDeploymentGitSource1$Outbound = { - type: string; - repoId: string | number; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const CancelDeploymentGitSource1$outboundSchema: z.ZodType< - CancelDeploymentGitSource1$Outbound, - z.ZodTypeDef, - CancelDeploymentGitSource1 -> = z.object({ - type: CancelDeploymentGitSourceType$outboundSchema, - repoId: z.union([z.string(), z.number()]), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSource1$ { - /** @deprecated use `CancelDeploymentGitSource1$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitSource1$inboundSchema; - /** @deprecated use `CancelDeploymentGitSource1$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentGitSource1$outboundSchema; - /** @deprecated use `CancelDeploymentGitSource1$Outbound` instead. */ - export type Outbound = CancelDeploymentGitSource1$Outbound; -} - -export function cancelDeploymentGitSource1ToJSON( - cancelDeploymentGitSource1: CancelDeploymentGitSource1, -): string { - return JSON.stringify( - CancelDeploymentGitSource1$outboundSchema.parse(cancelDeploymentGitSource1), - ); -} - -export function cancelDeploymentGitSource1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentGitSource1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentGitSource1' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentGitSource$inboundSchema: z.ZodType< - CancelDeploymentGitSource, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GitSource6$inboundSchema), - z.lazy(() => GitSource8$inboundSchema), - z.lazy(() => CancelDeploymentGitSource1$inboundSchema), - z.lazy(() => CancelDeploymentGitSource3$inboundSchema), - z.lazy(() => CancelDeploymentGitSource2$inboundSchema), - z.lazy(() => CancelDeploymentGitSource4$inboundSchema), - z.lazy(() => CancelDeploymentGitSource5$inboundSchema), - z.lazy(() => GitSource7$inboundSchema), - z.lazy(() => GitSource9$inboundSchema), -]); - -/** @internal */ -export type CancelDeploymentGitSource$Outbound = - | GitSource6$Outbound - | GitSource8$Outbound - | CancelDeploymentGitSource1$Outbound - | CancelDeploymentGitSource3$Outbound - | CancelDeploymentGitSource2$Outbound - | CancelDeploymentGitSource4$Outbound - | CancelDeploymentGitSource5$Outbound - | GitSource7$Outbound - | GitSource9$Outbound; - -/** @internal */ -export const CancelDeploymentGitSource$outboundSchema: z.ZodType< - CancelDeploymentGitSource$Outbound, - z.ZodTypeDef, - CancelDeploymentGitSource -> = z.union([ - z.lazy(() => GitSource6$outboundSchema), - z.lazy(() => GitSource8$outboundSchema), - z.lazy(() => CancelDeploymentGitSource1$outboundSchema), - z.lazy(() => CancelDeploymentGitSource3$outboundSchema), - z.lazy(() => CancelDeploymentGitSource2$outboundSchema), - z.lazy(() => CancelDeploymentGitSource4$outboundSchema), - z.lazy(() => CancelDeploymentGitSource5$outboundSchema), - z.lazy(() => GitSource7$outboundSchema), - z.lazy(() => GitSource9$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSource$ { - /** @deprecated use `CancelDeploymentGitSource$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitSource$inboundSchema; - /** @deprecated use `CancelDeploymentGitSource$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentGitSource$outboundSchema; - /** @deprecated use `CancelDeploymentGitSource$Outbound` instead. */ - export type Outbound = CancelDeploymentGitSource$Outbound; -} - -export function cancelDeploymentGitSourceToJSON( - cancelDeploymentGitSource: CancelDeploymentGitSource, -): string { - return JSON.stringify( - CancelDeploymentGitSource$outboundSchema.parse(cancelDeploymentGitSource), - ); -} - -export function cancelDeploymentGitSourceFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentGitSource$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentGitSource' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentProject$inboundSchema: z.ZodType< - CancelDeploymentProject, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string(), - framework: z.nullable(z.string()).optional(), -}); - -/** @internal */ -export type CancelDeploymentProject$Outbound = { - id: string; - name: string; - framework?: string | null | undefined; -}; - -/** @internal */ -export const CancelDeploymentProject$outboundSchema: z.ZodType< - CancelDeploymentProject$Outbound, - z.ZodTypeDef, - CancelDeploymentProject -> = z.object({ - id: z.string(), - name: z.string(), - framework: z.nullable(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentProject$ { - /** @deprecated use `CancelDeploymentProject$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentProject$inboundSchema; - /** @deprecated use `CancelDeploymentProject$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentProject$outboundSchema; - /** @deprecated use `CancelDeploymentProject$Outbound` instead. */ - export type Outbound = CancelDeploymentProject$Outbound; -} - -export function cancelDeploymentProjectToJSON( - cancelDeploymentProject: CancelDeploymentProject, -): string { - return JSON.stringify( - CancelDeploymentProject$outboundSchema.parse(cancelDeploymentProject), - ); -} - -export function cancelDeploymentProjectFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentProject$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentProject' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentReadyState$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentReadyState -> = z.nativeEnum(CancelDeploymentReadyState); - -/** @internal */ -export const CancelDeploymentReadyState$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentReadyState -> = CancelDeploymentReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentReadyState$ { - /** @deprecated use `CancelDeploymentReadyState$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentReadyState$inboundSchema; - /** @deprecated use `CancelDeploymentReadyState$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentReadyState$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentReadySubstate$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentReadySubstate -> = z.nativeEnum(CancelDeploymentReadySubstate); - -/** @internal */ -export const CancelDeploymentReadySubstate$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentReadySubstate -> = CancelDeploymentReadySubstate$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentReadySubstate$ { - /** @deprecated use `CancelDeploymentReadySubstate$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentReadySubstate$inboundSchema; - /** @deprecated use `CancelDeploymentReadySubstate$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentReadySubstate$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentSource$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentSource -> = z.nativeEnum(CancelDeploymentSource); - -/** @internal */ -export const CancelDeploymentSource$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentSource -> = CancelDeploymentSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentSource$ { - /** @deprecated use `CancelDeploymentSource$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentSource$inboundSchema; - /** @deprecated use `CancelDeploymentSource$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentSource$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentTarget$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentTarget -> = z.nativeEnum(CancelDeploymentTarget); - -/** @internal */ -export const CancelDeploymentTarget$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentTarget -> = CancelDeploymentTarget$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentTarget$ { - /** @deprecated use `CancelDeploymentTarget$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentTarget$inboundSchema; - /** @deprecated use `CancelDeploymentTarget$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentTarget$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentType$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentType -> = z.nativeEnum(CancelDeploymentType); - -/** @internal */ -export const CancelDeploymentType$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentType -> = CancelDeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentType$ { - /** @deprecated use `CancelDeploymentType$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentType$inboundSchema; - /** @deprecated use `CancelDeploymentType$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentType$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentOidcTokenClaims$inboundSchema: z.ZodType< - CancelDeploymentOidcTokenClaims, - z.ZodTypeDef, - unknown -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - owner_id: z.string(), - project: z.string(), - project_id: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); - -/** @internal */ -export type CancelDeploymentOidcTokenClaims$Outbound = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - owner_id: string; - project: string; - project_id: string; - environment: string; -}; - -/** @internal */ -export const CancelDeploymentOidcTokenClaims$outboundSchema: z.ZodType< - CancelDeploymentOidcTokenClaims$Outbound, - z.ZodTypeDef, - CancelDeploymentOidcTokenClaims -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - ownerId: z.string(), - project: z.string(), - projectId: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - ownerId: "owner_id", - projectId: "project_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentOidcTokenClaims$ { - /** @deprecated use `CancelDeploymentOidcTokenClaims$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentOidcTokenClaims$inboundSchema; - /** @deprecated use `CancelDeploymentOidcTokenClaims$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentOidcTokenClaims$outboundSchema; - /** @deprecated use `CancelDeploymentOidcTokenClaims$Outbound` instead. */ - export type Outbound = CancelDeploymentOidcTokenClaims$Outbound; -} - -export function cancelDeploymentOidcTokenClaimsToJSON( - cancelDeploymentOidcTokenClaims: CancelDeploymentOidcTokenClaims, -): string { - return JSON.stringify( - CancelDeploymentOidcTokenClaims$outboundSchema.parse( - cancelDeploymentOidcTokenClaims, - ), - ); -} - -export function cancelDeploymentOidcTokenClaimsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentOidcTokenClaims' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentCrons$inboundSchema: z.ZodType< - CancelDeploymentCrons, - z.ZodTypeDef, - unknown -> = z.object({ - schedule: z.string(), - path: z.string(), -}); - -/** @internal */ -export type CancelDeploymentCrons$Outbound = { - schedule: string; - path: string; -}; - -/** @internal */ -export const CancelDeploymentCrons$outboundSchema: z.ZodType< - CancelDeploymentCrons$Outbound, - z.ZodTypeDef, - CancelDeploymentCrons -> = z.object({ - schedule: z.string(), - path: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentCrons$ { - /** @deprecated use `CancelDeploymentCrons$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentCrons$inboundSchema; - /** @deprecated use `CancelDeploymentCrons$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentCrons$outboundSchema; - /** @deprecated use `CancelDeploymentCrons$Outbound` instead. */ - export type Outbound = CancelDeploymentCrons$Outbound; -} - -export function cancelDeploymentCronsToJSON( - cancelDeploymentCrons: CancelDeploymentCrons, -): string { - return JSON.stringify( - CancelDeploymentCrons$outboundSchema.parse(cancelDeploymentCrons), - ); -} - -export function cancelDeploymentCronsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentCrons$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentCrons' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentFunctions$inboundSchema: z.ZodType< - CancelDeploymentFunctions, - z.ZodTypeDef, - unknown -> = z.object({ - memory: z.number().optional(), - maxDuration: z.number().optional(), - runtime: z.string().optional(), - includeFiles: z.string().optional(), - excludeFiles: z.string().optional(), -}); - -/** @internal */ -export type CancelDeploymentFunctions$Outbound = { - memory?: number | undefined; - maxDuration?: number | undefined; - runtime?: string | undefined; - includeFiles?: string | undefined; - excludeFiles?: string | undefined; -}; - -/** @internal */ -export const CancelDeploymentFunctions$outboundSchema: z.ZodType< - CancelDeploymentFunctions$Outbound, - z.ZodTypeDef, - CancelDeploymentFunctions -> = z.object({ - memory: z.number().optional(), - maxDuration: z.number().optional(), - runtime: z.string().optional(), - includeFiles: z.string().optional(), - excludeFiles: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentFunctions$ { - /** @deprecated use `CancelDeploymentFunctions$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentFunctions$inboundSchema; - /** @deprecated use `CancelDeploymentFunctions$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentFunctions$outboundSchema; - /** @deprecated use `CancelDeploymentFunctions$Outbound` instead. */ - export type Outbound = CancelDeploymentFunctions$Outbound; -} - -export function cancelDeploymentFunctionsToJSON( - cancelDeploymentFunctions: CancelDeploymentFunctions, -): string { - return JSON.stringify( - CancelDeploymentFunctions$outboundSchema.parse(cancelDeploymentFunctions), - ); -} - -export function cancelDeploymentFunctionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentFunctions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentFunctions' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentPlan$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentPlan -> = z.nativeEnum(CancelDeploymentPlan); - -/** @internal */ -export const CancelDeploymentPlan$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentPlan -> = CancelDeploymentPlan$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentPlan$ { - /** @deprecated use `CancelDeploymentPlan$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentPlan$inboundSchema; - /** @deprecated use `CancelDeploymentPlan$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentPlan$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentRoutes3$inboundSchema: z.ZodType< - CancelDeploymentRoutes3, - z.ZodTypeDef, - unknown -> = z.object({ - src: z.string(), - continue: z.boolean(), - middleware: z.number(), -}); - -/** @internal */ -export type CancelDeploymentRoutes3$Outbound = { - src: string; - continue: boolean; - middleware: number; -}; - -/** @internal */ -export const CancelDeploymentRoutes3$outboundSchema: z.ZodType< - CancelDeploymentRoutes3$Outbound, - z.ZodTypeDef, - CancelDeploymentRoutes3 -> = z.object({ - src: z.string(), - continue: z.boolean(), - middleware: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentRoutes3$ { - /** @deprecated use `CancelDeploymentRoutes3$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentRoutes3$inboundSchema; - /** @deprecated use `CancelDeploymentRoutes3$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentRoutes3$outboundSchema; - /** @deprecated use `CancelDeploymentRoutes3$Outbound` instead. */ - export type Outbound = CancelDeploymentRoutes3$Outbound; -} - -export function cancelDeploymentRoutes3ToJSON( - cancelDeploymentRoutes3: CancelDeploymentRoutes3, -): string { - return JSON.stringify( - CancelDeploymentRoutes3$outboundSchema.parse(cancelDeploymentRoutes3), - ); -} - -export function cancelDeploymentRoutes3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentRoutes3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentRoutes3' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentRoutesHandle$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentRoutesHandle -> = z.nativeEnum(CancelDeploymentRoutesHandle); - -/** @internal */ -export const CancelDeploymentRoutesHandle$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentRoutesHandle -> = CancelDeploymentRoutesHandle$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentRoutesHandle$ { - /** @deprecated use `CancelDeploymentRoutesHandle$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentRoutesHandle$inboundSchema; - /** @deprecated use `CancelDeploymentRoutesHandle$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentRoutesHandle$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentRoutes2$inboundSchema: z.ZodType< - CancelDeploymentRoutes2, - z.ZodTypeDef, - unknown -> = z.object({ - handle: CancelDeploymentRoutesHandle$inboundSchema, - src: z.string().optional(), - dest: z.string().optional(), - status: z.number().optional(), -}); - -/** @internal */ -export type CancelDeploymentRoutes2$Outbound = { - handle: string; - src?: string | undefined; - dest?: string | undefined; - status?: number | undefined; -}; - -/** @internal */ -export const CancelDeploymentRoutes2$outboundSchema: z.ZodType< - CancelDeploymentRoutes2$Outbound, - z.ZodTypeDef, - CancelDeploymentRoutes2 -> = z.object({ - handle: CancelDeploymentRoutesHandle$outboundSchema, - src: z.string().optional(), - dest: z.string().optional(), - status: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentRoutes2$ { - /** @deprecated use `CancelDeploymentRoutes2$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentRoutes2$inboundSchema; - /** @deprecated use `CancelDeploymentRoutes2$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentRoutes2$outboundSchema; - /** @deprecated use `CancelDeploymentRoutes2$Outbound` instead. */ - export type Outbound = CancelDeploymentRoutes2$Outbound; -} - -export function cancelDeploymentRoutes2ToJSON( - cancelDeploymentRoutes2: CancelDeploymentRoutes2, -): string { - return JSON.stringify( - CancelDeploymentRoutes2$outboundSchema.parse(cancelDeploymentRoutes2), - ); -} - -export function cancelDeploymentRoutes2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentRoutes2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentRoutes2' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentHasDeploymentsType$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentHasDeploymentsType -> = z.nativeEnum(CancelDeploymentHasDeploymentsType); - -/** @internal */ -export const CancelDeploymentHasDeploymentsType$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentHasDeploymentsType -> = CancelDeploymentHasDeploymentsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentHasDeploymentsType$ { - /** @deprecated use `CancelDeploymentHasDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentHasDeploymentsType$inboundSchema; - /** @deprecated use `CancelDeploymentHasDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentHasDeploymentsType$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentHas2$inboundSchema: z.ZodType< - CancelDeploymentHas2, - z.ZodTypeDef, - unknown -> = z.object({ - type: CancelDeploymentHasDeploymentsType$inboundSchema, - key: z.string(), - value: z.string().optional(), -}); - -/** @internal */ -export type CancelDeploymentHas2$Outbound = { - type: string; - key: string; - value?: string | undefined; -}; - -/** @internal */ -export const CancelDeploymentHas2$outboundSchema: z.ZodType< - CancelDeploymentHas2$Outbound, - z.ZodTypeDef, - CancelDeploymentHas2 -> = z.object({ - type: CancelDeploymentHasDeploymentsType$outboundSchema, - key: z.string(), - value: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentHas2$ { - /** @deprecated use `CancelDeploymentHas2$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentHas2$inboundSchema; - /** @deprecated use `CancelDeploymentHas2$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentHas2$outboundSchema; - /** @deprecated use `CancelDeploymentHas2$Outbound` instead. */ - export type Outbound = CancelDeploymentHas2$Outbound; -} - -export function cancelDeploymentHas2ToJSON( - cancelDeploymentHas2: CancelDeploymentHas2, -): string { - return JSON.stringify( - CancelDeploymentHas2$outboundSchema.parse(cancelDeploymentHas2), - ); -} - -export function cancelDeploymentHas2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentHas2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentHas2' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentHasType$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentHasType -> = z.nativeEnum(CancelDeploymentHasType); - -/** @internal */ -export const CancelDeploymentHasType$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentHasType -> = CancelDeploymentHasType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentHasType$ { - /** @deprecated use `CancelDeploymentHasType$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentHasType$inboundSchema; - /** @deprecated use `CancelDeploymentHasType$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentHasType$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentHas1$inboundSchema: z.ZodType< - CancelDeploymentHas1, - z.ZodTypeDef, - unknown -> = z.object({ - type: CancelDeploymentHasType$inboundSchema, - value: z.string(), -}); - -/** @internal */ -export type CancelDeploymentHas1$Outbound = { - type: string; - value: string; -}; - -/** @internal */ -export const CancelDeploymentHas1$outboundSchema: z.ZodType< - CancelDeploymentHas1$Outbound, - z.ZodTypeDef, - CancelDeploymentHas1 -> = z.object({ - type: CancelDeploymentHasType$outboundSchema, - value: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentHas1$ { - /** @deprecated use `CancelDeploymentHas1$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentHas1$inboundSchema; - /** @deprecated use `CancelDeploymentHas1$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentHas1$outboundSchema; - /** @deprecated use `CancelDeploymentHas1$Outbound` instead. */ - export type Outbound = CancelDeploymentHas1$Outbound; -} - -export function cancelDeploymentHas1ToJSON( - cancelDeploymentHas1: CancelDeploymentHas1, -): string { - return JSON.stringify( - CancelDeploymentHas1$outboundSchema.parse(cancelDeploymentHas1), - ); -} - -export function cancelDeploymentHas1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentHas1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentHas1' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentRoutesHas$inboundSchema: z.ZodType< - CancelDeploymentRoutesHas, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CancelDeploymentHas1$inboundSchema), - z.lazy(() => CancelDeploymentHas2$inboundSchema), -]); - -/** @internal */ -export type CancelDeploymentRoutesHas$Outbound = - | CancelDeploymentHas1$Outbound - | CancelDeploymentHas2$Outbound; - -/** @internal */ -export const CancelDeploymentRoutesHas$outboundSchema: z.ZodType< - CancelDeploymentRoutesHas$Outbound, - z.ZodTypeDef, - CancelDeploymentRoutesHas -> = z.union([ - z.lazy(() => CancelDeploymentHas1$outboundSchema), - z.lazy(() => CancelDeploymentHas2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentRoutesHas$ { - /** @deprecated use `CancelDeploymentRoutesHas$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentRoutesHas$inboundSchema; - /** @deprecated use `CancelDeploymentRoutesHas$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentRoutesHas$outboundSchema; - /** @deprecated use `CancelDeploymentRoutesHas$Outbound` instead. */ - export type Outbound = CancelDeploymentRoutesHas$Outbound; -} - -export function cancelDeploymentRoutesHasToJSON( - cancelDeploymentRoutesHas: CancelDeploymentRoutesHas, -): string { - return JSON.stringify( - CancelDeploymentRoutesHas$outboundSchema.parse(cancelDeploymentRoutesHas), - ); -} - -export function cancelDeploymentRoutesHasFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentRoutesHas$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentRoutesHas' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentMissingDeploymentsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CancelDeploymentMissingDeploymentsType, - ); - -/** @internal */ -export const CancelDeploymentMissingDeploymentsType$outboundSchema: - z.ZodNativeEnum = - CancelDeploymentMissingDeploymentsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentMissingDeploymentsType$ { - /** @deprecated use `CancelDeploymentMissingDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentMissingDeploymentsType$inboundSchema; - /** @deprecated use `CancelDeploymentMissingDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentMissingDeploymentsType$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentMissing2$inboundSchema: z.ZodType< - CancelDeploymentMissing2, - z.ZodTypeDef, - unknown -> = z.object({ - type: CancelDeploymentMissingDeploymentsType$inboundSchema, - key: z.string(), - value: z.string().optional(), -}); - -/** @internal */ -export type CancelDeploymentMissing2$Outbound = { - type: string; - key: string; - value?: string | undefined; -}; - -/** @internal */ -export const CancelDeploymentMissing2$outboundSchema: z.ZodType< - CancelDeploymentMissing2$Outbound, - z.ZodTypeDef, - CancelDeploymentMissing2 -> = z.object({ - type: CancelDeploymentMissingDeploymentsType$outboundSchema, - key: z.string(), - value: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentMissing2$ { - /** @deprecated use `CancelDeploymentMissing2$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentMissing2$inboundSchema; - /** @deprecated use `CancelDeploymentMissing2$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentMissing2$outboundSchema; - /** @deprecated use `CancelDeploymentMissing2$Outbound` instead. */ - export type Outbound = CancelDeploymentMissing2$Outbound; -} - -export function cancelDeploymentMissing2ToJSON( - cancelDeploymentMissing2: CancelDeploymentMissing2, -): string { - return JSON.stringify( - CancelDeploymentMissing2$outboundSchema.parse(cancelDeploymentMissing2), - ); -} - -export function cancelDeploymentMissing2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentMissing2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentMissing2' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentMissingType$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentMissingType -> = z.nativeEnum(CancelDeploymentMissingType); - -/** @internal */ -export const CancelDeploymentMissingType$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentMissingType -> = CancelDeploymentMissingType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentMissingType$ { - /** @deprecated use `CancelDeploymentMissingType$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentMissingType$inboundSchema; - /** @deprecated use `CancelDeploymentMissingType$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentMissingType$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentMissing1$inboundSchema: z.ZodType< - CancelDeploymentMissing1, - z.ZodTypeDef, - unknown -> = z.object({ - type: CancelDeploymentMissingType$inboundSchema, - value: z.string(), -}); - -/** @internal */ -export type CancelDeploymentMissing1$Outbound = { - type: string; - value: string; -}; - -/** @internal */ -export const CancelDeploymentMissing1$outboundSchema: z.ZodType< - CancelDeploymentMissing1$Outbound, - z.ZodTypeDef, - CancelDeploymentMissing1 -> = z.object({ - type: CancelDeploymentMissingType$outboundSchema, - value: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentMissing1$ { - /** @deprecated use `CancelDeploymentMissing1$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentMissing1$inboundSchema; - /** @deprecated use `CancelDeploymentMissing1$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentMissing1$outboundSchema; - /** @deprecated use `CancelDeploymentMissing1$Outbound` instead. */ - export type Outbound = CancelDeploymentMissing1$Outbound; -} - -export function cancelDeploymentMissing1ToJSON( - cancelDeploymentMissing1: CancelDeploymentMissing1, -): string { - return JSON.stringify( - CancelDeploymentMissing1$outboundSchema.parse(cancelDeploymentMissing1), - ); -} - -export function cancelDeploymentMissing1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentMissing1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentMissing1' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentRoutesMissing$inboundSchema: z.ZodType< - CancelDeploymentRoutesMissing, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CancelDeploymentMissing1$inboundSchema), - z.lazy(() => CancelDeploymentMissing2$inboundSchema), -]); - -/** @internal */ -export type CancelDeploymentRoutesMissing$Outbound = - | CancelDeploymentMissing1$Outbound - | CancelDeploymentMissing2$Outbound; - -/** @internal */ -export const CancelDeploymentRoutesMissing$outboundSchema: z.ZodType< - CancelDeploymentRoutesMissing$Outbound, - z.ZodTypeDef, - CancelDeploymentRoutesMissing -> = z.union([ - z.lazy(() => CancelDeploymentMissing1$outboundSchema), - z.lazy(() => CancelDeploymentMissing2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentRoutesMissing$ { - /** @deprecated use `CancelDeploymentRoutesMissing$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentRoutesMissing$inboundSchema; - /** @deprecated use `CancelDeploymentRoutesMissing$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentRoutesMissing$outboundSchema; - /** @deprecated use `CancelDeploymentRoutesMissing$Outbound` instead. */ - export type Outbound = CancelDeploymentRoutesMissing$Outbound; -} - -export function cancelDeploymentRoutesMissingToJSON( - cancelDeploymentRoutesMissing: CancelDeploymentRoutesMissing, -): string { - return JSON.stringify( - CancelDeploymentRoutesMissing$outboundSchema.parse( - cancelDeploymentRoutesMissing, - ), - ); -} - -export function cancelDeploymentRoutesMissingFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentRoutesMissing$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentRoutesMissing' from JSON`, - ); -} - -/** @internal */ -export const RoutesLocale$inboundSchema: z.ZodType< - RoutesLocale, - z.ZodTypeDef, - unknown -> = z.object({ - redirect: z.record(z.string()).optional(), - cookie: z.string().optional(), -}); - -/** @internal */ -export type RoutesLocale$Outbound = { - redirect?: { [k: string]: string } | undefined; - cookie?: string | undefined; -}; - -/** @internal */ -export const RoutesLocale$outboundSchema: z.ZodType< - RoutesLocale$Outbound, - z.ZodTypeDef, - RoutesLocale -> = z.object({ - redirect: z.record(z.string()).optional(), - cookie: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RoutesLocale$ { - /** @deprecated use `RoutesLocale$inboundSchema` instead. */ - export const inboundSchema = RoutesLocale$inboundSchema; - /** @deprecated use `RoutesLocale$outboundSchema` instead. */ - export const outboundSchema = RoutesLocale$outboundSchema; - /** @deprecated use `RoutesLocale$Outbound` instead. */ - export type Outbound = RoutesLocale$Outbound; -} - -export function routesLocaleToJSON(routesLocale: RoutesLocale): string { - return JSON.stringify(RoutesLocale$outboundSchema.parse(routesLocale)); -} - -export function routesLocaleFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RoutesLocale$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RoutesLocale' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentRoutes1$inboundSchema: z.ZodType< - CancelDeploymentRoutes1, - z.ZodTypeDef, - unknown -> = z.object({ - src: z.string(), - dest: z.string().optional(), - headers: z.record(z.string()).optional(), - methods: z.array(z.string()).optional(), - continue: z.boolean().optional(), - override: z.boolean().optional(), - caseSensitive: z.boolean().optional(), - check: z.boolean().optional(), - important: z.boolean().optional(), - status: z.number().optional(), - has: z.array( - z.union([ - z.lazy(() => CancelDeploymentHas1$inboundSchema), - z.lazy(() => CancelDeploymentHas2$inboundSchema), - ]), - ).optional(), - missing: z.array( - z.union([ - z.lazy(() => CancelDeploymentMissing1$inboundSchema), - z.lazy(() => CancelDeploymentMissing2$inboundSchema), - ]), - ).optional(), - locale: z.lazy(() => RoutesLocale$inboundSchema).optional(), - middlewarePath: z.string().optional(), - middlewareRawSrc: z.array(z.string()).optional(), - middleware: z.number().optional(), -}); - -/** @internal */ -export type CancelDeploymentRoutes1$Outbound = { - src: string; - dest?: string | undefined; - headers?: { [k: string]: string } | undefined; - methods?: Array | undefined; - continue?: boolean | undefined; - override?: boolean | undefined; - caseSensitive?: boolean | undefined; - check?: boolean | undefined; - important?: boolean | undefined; - status?: number | undefined; - has?: - | Array - | undefined; - missing?: - | Array< - CancelDeploymentMissing1$Outbound | CancelDeploymentMissing2$Outbound - > - | undefined; - locale?: RoutesLocale$Outbound | undefined; - middlewarePath?: string | undefined; - middlewareRawSrc?: Array | undefined; - middleware?: number | undefined; -}; - -/** @internal */ -export const CancelDeploymentRoutes1$outboundSchema: z.ZodType< - CancelDeploymentRoutes1$Outbound, - z.ZodTypeDef, - CancelDeploymentRoutes1 -> = z.object({ - src: z.string(), - dest: z.string().optional(), - headers: z.record(z.string()).optional(), - methods: z.array(z.string()).optional(), - continue: z.boolean().optional(), - override: z.boolean().optional(), - caseSensitive: z.boolean().optional(), - check: z.boolean().optional(), - important: z.boolean().optional(), - status: z.number().optional(), - has: z.array( - z.union([ - z.lazy(() => CancelDeploymentHas1$outboundSchema), - z.lazy(() => CancelDeploymentHas2$outboundSchema), - ]), - ).optional(), - missing: z.array( - z.union([ - z.lazy(() => CancelDeploymentMissing1$outboundSchema), - z.lazy(() => CancelDeploymentMissing2$outboundSchema), - ]), - ).optional(), - locale: z.lazy(() => RoutesLocale$outboundSchema).optional(), - middlewarePath: z.string().optional(), - middlewareRawSrc: z.array(z.string()).optional(), - middleware: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentRoutes1$ { - /** @deprecated use `CancelDeploymentRoutes1$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentRoutes1$inboundSchema; - /** @deprecated use `CancelDeploymentRoutes1$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentRoutes1$outboundSchema; - /** @deprecated use `CancelDeploymentRoutes1$Outbound` instead. */ - export type Outbound = CancelDeploymentRoutes1$Outbound; -} - -export function cancelDeploymentRoutes1ToJSON( - cancelDeploymentRoutes1: CancelDeploymentRoutes1, -): string { - return JSON.stringify( - CancelDeploymentRoutes1$outboundSchema.parse(cancelDeploymentRoutes1), - ); -} - -export function cancelDeploymentRoutes1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentRoutes1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentRoutes1' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentRoutes$inboundSchema: z.ZodType< - CancelDeploymentRoutes, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CancelDeploymentRoutes3$inboundSchema), - z.lazy(() => CancelDeploymentRoutes2$inboundSchema), - z.lazy(() => CancelDeploymentRoutes1$inboundSchema), -]); - -/** @internal */ -export type CancelDeploymentRoutes$Outbound = - | CancelDeploymentRoutes3$Outbound - | CancelDeploymentRoutes2$Outbound - | CancelDeploymentRoutes1$Outbound; - -/** @internal */ -export const CancelDeploymentRoutes$outboundSchema: z.ZodType< - CancelDeploymentRoutes$Outbound, - z.ZodTypeDef, - CancelDeploymentRoutes -> = z.union([ - z.lazy(() => CancelDeploymentRoutes3$outboundSchema), - z.lazy(() => CancelDeploymentRoutes2$outboundSchema), - z.lazy(() => CancelDeploymentRoutes1$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentRoutes$ { - /** @deprecated use `CancelDeploymentRoutes$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentRoutes$inboundSchema; - /** @deprecated use `CancelDeploymentRoutes$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentRoutes$outboundSchema; - /** @deprecated use `CancelDeploymentRoutes$Outbound` instead. */ - export type Outbound = CancelDeploymentRoutes$Outbound; -} - -export function cancelDeploymentRoutesToJSON( - cancelDeploymentRoutes: CancelDeploymentRoutes, -): string { - return JSON.stringify( - CancelDeploymentRoutes$outboundSchema.parse(cancelDeploymentRoutes), - ); -} - -export function cancelDeploymentRoutesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentRoutes$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentRoutes' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentGitRepoDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentGitRepoDeploymentsResponseType); - -/** @internal */ -export const CancelDeploymentGitRepoDeploymentsResponseType$outboundSchema: - z.ZodNativeEnum = - CancelDeploymentGitRepoDeploymentsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitRepoDeploymentsResponseType$ { - /** @deprecated use `CancelDeploymentGitRepoDeploymentsResponseType$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitRepoDeploymentsResponseType$inboundSchema; - /** @deprecated use `CancelDeploymentGitRepoDeploymentsResponseType$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitRepoDeploymentsResponseType$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema: - z.ZodNativeEnum = - z.nativeEnum(CancelDeploymentGitRepoDeploymentsResponseOwnerType); - -/** @internal */ -export const CancelDeploymentGitRepoDeploymentsResponseOwnerType$outboundSchema: - z.ZodNativeEnum = - CancelDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitRepoDeploymentsResponseOwnerType$ { - /** @deprecated use `CancelDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema; - /** @deprecated use `CancelDeploymentGitRepoDeploymentsResponseOwnerType$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitRepoDeploymentsResponseOwnerType$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentGitRepo3$inboundSchema: z.ZodType< - CancelDeploymentGitRepo3, - z.ZodTypeDef, - unknown -> = z.object({ - owner: z.string(), - repoUuid: z.string(), - slug: z.string(), - type: CancelDeploymentGitRepoDeploymentsResponseType$inboundSchema, - workspaceUuid: z.string(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: CancelDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema, -}); - -/** @internal */ -export type CancelDeploymentGitRepo3$Outbound = { - owner: string; - repoUuid: string; - slug: string; - type: string; - workspaceUuid: string; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: string; -}; - -/** @internal */ -export const CancelDeploymentGitRepo3$outboundSchema: z.ZodType< - CancelDeploymentGitRepo3$Outbound, - z.ZodTypeDef, - CancelDeploymentGitRepo3 -> = z.object({ - owner: z.string(), - repoUuid: z.string(), - slug: z.string(), - type: CancelDeploymentGitRepoDeploymentsResponseType$outboundSchema, - workspaceUuid: z.string(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: CancelDeploymentGitRepoDeploymentsResponseOwnerType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitRepo3$ { - /** @deprecated use `CancelDeploymentGitRepo3$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitRepo3$inboundSchema; - /** @deprecated use `CancelDeploymentGitRepo3$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentGitRepo3$outboundSchema; - /** @deprecated use `CancelDeploymentGitRepo3$Outbound` instead. */ - export type Outbound = CancelDeploymentGitRepo3$Outbound; -} - -export function cancelDeploymentGitRepo3ToJSON( - cancelDeploymentGitRepo3: CancelDeploymentGitRepo3, -): string { - return JSON.stringify( - CancelDeploymentGitRepo3$outboundSchema.parse(cancelDeploymentGitRepo3), - ); -} - -export function cancelDeploymentGitRepo3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentGitRepo3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentGitRepo3' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentGitRepoDeploymentsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CancelDeploymentGitRepoDeploymentsType, - ); - -/** @internal */ -export const CancelDeploymentGitRepoDeploymentsType$outboundSchema: - z.ZodNativeEnum = - CancelDeploymentGitRepoDeploymentsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitRepoDeploymentsType$ { - /** @deprecated use `CancelDeploymentGitRepoDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitRepoDeploymentsType$inboundSchema; - /** @deprecated use `CancelDeploymentGitRepoDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitRepoDeploymentsType$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentGitRepoDeploymentsOwnerType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentGitRepoDeploymentsOwnerType); - -/** @internal */ -export const CancelDeploymentGitRepoDeploymentsOwnerType$outboundSchema: - z.ZodNativeEnum = - CancelDeploymentGitRepoDeploymentsOwnerType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitRepoDeploymentsOwnerType$ { - /** @deprecated use `CancelDeploymentGitRepoDeploymentsOwnerType$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitRepoDeploymentsOwnerType$inboundSchema; - /** @deprecated use `CancelDeploymentGitRepoDeploymentsOwnerType$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitRepoDeploymentsOwnerType$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentGitRepo2$inboundSchema: z.ZodType< - CancelDeploymentGitRepo2, - z.ZodTypeDef, - unknown -> = z.object({ - org: z.string(), - repo: z.string(), - repoId: z.number(), - type: CancelDeploymentGitRepoDeploymentsType$inboundSchema, - repoOwnerId: z.number(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: CancelDeploymentGitRepoDeploymentsOwnerType$inboundSchema, -}); - -/** @internal */ -export type CancelDeploymentGitRepo2$Outbound = { - org: string; - repo: string; - repoId: number; - type: string; - repoOwnerId: number; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: string; -}; - -/** @internal */ -export const CancelDeploymentGitRepo2$outboundSchema: z.ZodType< - CancelDeploymentGitRepo2$Outbound, - z.ZodTypeDef, - CancelDeploymentGitRepo2 -> = z.object({ - org: z.string(), - repo: z.string(), - repoId: z.number(), - type: CancelDeploymentGitRepoDeploymentsType$outboundSchema, - repoOwnerId: z.number(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: CancelDeploymentGitRepoDeploymentsOwnerType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitRepo2$ { - /** @deprecated use `CancelDeploymentGitRepo2$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitRepo2$inboundSchema; - /** @deprecated use `CancelDeploymentGitRepo2$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentGitRepo2$outboundSchema; - /** @deprecated use `CancelDeploymentGitRepo2$Outbound` instead. */ - export type Outbound = CancelDeploymentGitRepo2$Outbound; -} - -export function cancelDeploymentGitRepo2ToJSON( - cancelDeploymentGitRepo2: CancelDeploymentGitRepo2, -): string { - return JSON.stringify( - CancelDeploymentGitRepo2$outboundSchema.parse(cancelDeploymentGitRepo2), - ); -} - -export function cancelDeploymentGitRepo2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentGitRepo2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentGitRepo2' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentGitRepoType$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentGitRepoType -> = z.nativeEnum(CancelDeploymentGitRepoType); - -/** @internal */ -export const CancelDeploymentGitRepoType$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentGitRepoType -> = CancelDeploymentGitRepoType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitRepoType$ { - /** @deprecated use `CancelDeploymentGitRepoType$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitRepoType$inboundSchema; - /** @deprecated use `CancelDeploymentGitRepoType$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentGitRepoType$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentGitRepoOwnerType$inboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentGitRepoOwnerType -> = z.nativeEnum(CancelDeploymentGitRepoOwnerType); - -/** @internal */ -export const CancelDeploymentGitRepoOwnerType$outboundSchema: z.ZodNativeEnum< - typeof CancelDeploymentGitRepoOwnerType -> = CancelDeploymentGitRepoOwnerType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitRepoOwnerType$ { - /** @deprecated use `CancelDeploymentGitRepoOwnerType$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitRepoOwnerType$inboundSchema; - /** @deprecated use `CancelDeploymentGitRepoOwnerType$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentGitRepoOwnerType$outboundSchema; -} - -/** @internal */ -export const CancelDeploymentGitRepo1$inboundSchema: z.ZodType< - CancelDeploymentGitRepo1, - z.ZodTypeDef, - unknown -> = z.object({ - namespace: z.string(), - projectId: z.number(), - type: CancelDeploymentGitRepoType$inboundSchema, - url: z.string(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: CancelDeploymentGitRepoOwnerType$inboundSchema, -}); - -/** @internal */ -export type CancelDeploymentGitRepo1$Outbound = { - namespace: string; - projectId: number; - type: string; - url: string; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: string; -}; - -/** @internal */ -export const CancelDeploymentGitRepo1$outboundSchema: z.ZodType< - CancelDeploymentGitRepo1$Outbound, - z.ZodTypeDef, - CancelDeploymentGitRepo1 -> = z.object({ - namespace: z.string(), - projectId: z.number(), - type: CancelDeploymentGitRepoType$outboundSchema, - url: z.string(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: CancelDeploymentGitRepoOwnerType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitRepo1$ { - /** @deprecated use `CancelDeploymentGitRepo1$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitRepo1$inboundSchema; - /** @deprecated use `CancelDeploymentGitRepo1$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentGitRepo1$outboundSchema; - /** @deprecated use `CancelDeploymentGitRepo1$Outbound` instead. */ - export type Outbound = CancelDeploymentGitRepo1$Outbound; -} - -export function cancelDeploymentGitRepo1ToJSON( - cancelDeploymentGitRepo1: CancelDeploymentGitRepo1, -): string { - return JSON.stringify( - CancelDeploymentGitRepo1$outboundSchema.parse(cancelDeploymentGitRepo1), - ); -} - -export function cancelDeploymentGitRepo1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentGitRepo1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentGitRepo1' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentGitRepo$inboundSchema: z.ZodType< - CancelDeploymentGitRepo, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CancelDeploymentGitRepo1$inboundSchema), - z.lazy(() => CancelDeploymentGitRepo2$inboundSchema), - z.lazy(() => CancelDeploymentGitRepo3$inboundSchema), -]); - -/** @internal */ -export type CancelDeploymentGitRepo$Outbound = - | CancelDeploymentGitRepo1$Outbound - | CancelDeploymentGitRepo2$Outbound - | CancelDeploymentGitRepo3$Outbound; - -/** @internal */ -export const CancelDeploymentGitRepo$outboundSchema: z.ZodType< - CancelDeploymentGitRepo$Outbound, - z.ZodTypeDef, - CancelDeploymentGitRepo -> = z.union([ - z.lazy(() => CancelDeploymentGitRepo1$outboundSchema), - z.lazy(() => CancelDeploymentGitRepo2$outboundSchema), - z.lazy(() => CancelDeploymentGitRepo3$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitRepo$ { - /** @deprecated use `CancelDeploymentGitRepo$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitRepo$inboundSchema; - /** @deprecated use `CancelDeploymentGitRepo$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentGitRepo$outboundSchema; - /** @deprecated use `CancelDeploymentGitRepo$Outbound` instead. */ - export type Outbound = CancelDeploymentGitRepo$Outbound; -} - -export function cancelDeploymentGitRepoToJSON( - cancelDeploymentGitRepo: CancelDeploymentGitRepo, -): string { - return JSON.stringify( - CancelDeploymentGitRepo$outboundSchema.parse(cancelDeploymentGitRepo), - ); -} - -export function cancelDeploymentGitRepoFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentGitRepo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentGitRepo' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentFlags2$inboundSchema: z.ZodType< - CancelDeploymentFlags2, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type CancelDeploymentFlags2$Outbound = {}; - -/** @internal */ -export const CancelDeploymentFlags2$outboundSchema: z.ZodType< - CancelDeploymentFlags2$Outbound, - z.ZodTypeDef, - CancelDeploymentFlags2 -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentFlags2$ { - /** @deprecated use `CancelDeploymentFlags2$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentFlags2$inboundSchema; - /** @deprecated use `CancelDeploymentFlags2$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentFlags2$outboundSchema; - /** @deprecated use `CancelDeploymentFlags2$Outbound` instead. */ - export type Outbound = CancelDeploymentFlags2$Outbound; -} - -export function cancelDeploymentFlags2ToJSON( - cancelDeploymentFlags2: CancelDeploymentFlags2, -): string { - return JSON.stringify( - CancelDeploymentFlags2$outboundSchema.parse(cancelDeploymentFlags2), - ); -} - -export function cancelDeploymentFlags2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentFlags2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentFlags2' from JSON`, - ); -} - -/** @internal */ -export const FlagsOptions$inboundSchema: z.ZodType< - FlagsOptions, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(FlagJSONValue$inboundSchema), - label: z.string().optional(), -}); - -/** @internal */ -export type FlagsOptions$Outbound = { - value: FlagJSONValue$Outbound | null; - label?: string | undefined; -}; - -/** @internal */ -export const FlagsOptions$outboundSchema: z.ZodType< - FlagsOptions$Outbound, - z.ZodTypeDef, - FlagsOptions -> = z.object({ - value: z.nullable(FlagJSONValue$outboundSchema), - label: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FlagsOptions$ { - /** @deprecated use `FlagsOptions$inboundSchema` instead. */ - export const inboundSchema = FlagsOptions$inboundSchema; - /** @deprecated use `FlagsOptions$outboundSchema` instead. */ - export const outboundSchema = FlagsOptions$outboundSchema; - /** @deprecated use `FlagsOptions$Outbound` instead. */ - export type Outbound = FlagsOptions$Outbound; -} - -export function flagsOptionsToJSON(flagsOptions: FlagsOptions): string { - return JSON.stringify(FlagsOptions$outboundSchema.parse(flagsOptions)); -} - -export function flagsOptionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FlagsOptions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FlagsOptions' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentFlagsDefinitions$inboundSchema: z.ZodType< - CancelDeploymentFlagsDefinitions, - z.ZodTypeDef, - unknown -> = z.object({ - options: z.array(z.lazy(() => FlagsOptions$inboundSchema)).optional(), - url: z.string().optional(), - description: z.string().optional(), -}); - -/** @internal */ -export type CancelDeploymentFlagsDefinitions$Outbound = { - options?: Array | undefined; - url?: string | undefined; - description?: string | undefined; -}; - -/** @internal */ -export const CancelDeploymentFlagsDefinitions$outboundSchema: z.ZodType< - CancelDeploymentFlagsDefinitions$Outbound, - z.ZodTypeDef, - CancelDeploymentFlagsDefinitions -> = z.object({ - options: z.array(z.lazy(() => FlagsOptions$outboundSchema)).optional(), - url: z.string().optional(), - description: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentFlagsDefinitions$ { - /** @deprecated use `CancelDeploymentFlagsDefinitions$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentFlagsDefinitions$inboundSchema; - /** @deprecated use `CancelDeploymentFlagsDefinitions$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentFlagsDefinitions$outboundSchema; - /** @deprecated use `CancelDeploymentFlagsDefinitions$Outbound` instead. */ - export type Outbound = CancelDeploymentFlagsDefinitions$Outbound; -} - -export function cancelDeploymentFlagsDefinitionsToJSON( - cancelDeploymentFlagsDefinitions: CancelDeploymentFlagsDefinitions, -): string { - return JSON.stringify( - CancelDeploymentFlagsDefinitions$outboundSchema.parse( - cancelDeploymentFlagsDefinitions, - ), - ); -} - -export function cancelDeploymentFlagsDefinitionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentFlagsDefinitions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentFlagsDefinitions' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentFlags1$inboundSchema: z.ZodType< - CancelDeploymentFlags1, - z.ZodTypeDef, - unknown -> = z.object({ - definitions: z.record( - z.lazy(() => CancelDeploymentFlagsDefinitions$inboundSchema), - ), -}); - -/** @internal */ -export type CancelDeploymentFlags1$Outbound = { - definitions: { [k: string]: CancelDeploymentFlagsDefinitions$Outbound }; -}; - -/** @internal */ -export const CancelDeploymentFlags1$outboundSchema: z.ZodType< - CancelDeploymentFlags1$Outbound, - z.ZodTypeDef, - CancelDeploymentFlags1 -> = z.object({ - definitions: z.record( - z.lazy(() => CancelDeploymentFlagsDefinitions$outboundSchema), - ), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentFlags1$ { - /** @deprecated use `CancelDeploymentFlags1$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentFlags1$inboundSchema; - /** @deprecated use `CancelDeploymentFlags1$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentFlags1$outboundSchema; - /** @deprecated use `CancelDeploymentFlags1$Outbound` instead. */ - export type Outbound = CancelDeploymentFlags1$Outbound; -} - -export function cancelDeploymentFlags1ToJSON( - cancelDeploymentFlags1: CancelDeploymentFlags1, -): string { - return JSON.stringify( - CancelDeploymentFlags1$outboundSchema.parse(cancelDeploymentFlags1), - ); -} - -export function cancelDeploymentFlags1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentFlags1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentFlags1' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentFlags$inboundSchema: z.ZodType< - CancelDeploymentFlags, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CancelDeploymentFlags1$inboundSchema), - z.array(z.lazy(() => CancelDeploymentFlags2$inboundSchema)), -]); - -/** @internal */ -export type CancelDeploymentFlags$Outbound = - | CancelDeploymentFlags1$Outbound - | Array; - -/** @internal */ -export const CancelDeploymentFlags$outboundSchema: z.ZodType< - CancelDeploymentFlags$Outbound, - z.ZodTypeDef, - CancelDeploymentFlags -> = z.union([ - z.lazy(() => CancelDeploymentFlags1$outboundSchema), - z.array(z.lazy(() => CancelDeploymentFlags2$outboundSchema)), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentFlags$ { - /** @deprecated use `CancelDeploymentFlags$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentFlags$inboundSchema; - /** @deprecated use `CancelDeploymentFlags$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentFlags$outboundSchema; - /** @deprecated use `CancelDeploymentFlags$Outbound` instead. */ - export type Outbound = CancelDeploymentFlags$Outbound; -} - -export function cancelDeploymentFlagsToJSON( - cancelDeploymentFlags: CancelDeploymentFlags, -): string { - return JSON.stringify( - CancelDeploymentFlags$outboundSchema.parse(cancelDeploymentFlags), - ); -} - -export function cancelDeploymentFlagsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentFlags$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentFlags' from JSON`, - ); -} - -/** @internal */ -export const MicrofrontendsApplications$inboundSchema: z.ZodType< - MicrofrontendsApplications, - z.ZodTypeDef, - unknown -> = z.object({ - productionHost: z.string(), - deploymentAlias: z.string().optional(), - deploymentHost: z.string().optional(), -}); - -/** @internal */ -export type MicrofrontendsApplications$Outbound = { - productionHost: string; - deploymentAlias?: string | undefined; - deploymentHost?: string | undefined; -}; - -/** @internal */ -export const MicrofrontendsApplications$outboundSchema: z.ZodType< - MicrofrontendsApplications$Outbound, - z.ZodTypeDef, - MicrofrontendsApplications -> = z.object({ - productionHost: z.string(), - deploymentAlias: z.string().optional(), - deploymentHost: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace MicrofrontendsApplications$ { - /** @deprecated use `MicrofrontendsApplications$inboundSchema` instead. */ - export const inboundSchema = MicrofrontendsApplications$inboundSchema; - /** @deprecated use `MicrofrontendsApplications$outboundSchema` instead. */ - export const outboundSchema = MicrofrontendsApplications$outboundSchema; - /** @deprecated use `MicrofrontendsApplications$Outbound` instead. */ - export type Outbound = MicrofrontendsApplications$Outbound; -} - -export function microfrontendsApplicationsToJSON( - microfrontendsApplications: MicrofrontendsApplications, -): string { - return JSON.stringify( - MicrofrontendsApplications$outboundSchema.parse(microfrontendsApplications), - ); -} - -export function microfrontendsApplicationsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => MicrofrontendsApplications$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'MicrofrontendsApplications' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentMicrofrontends2$inboundSchema: z.ZodType< - CancelDeploymentMicrofrontends2, - z.ZodTypeDef, - unknown -> = z.object({ - applications: z.record(z.lazy(() => MicrofrontendsApplications$inboundSchema)) - .optional(), - isDefaultApp: z.boolean(), - defaultRoute: z.string().optional(), - groupIds: z.array(z.string()), -}); - -/** @internal */ -export type CancelDeploymentMicrofrontends2$Outbound = { - applications?: - | { [k: string]: MicrofrontendsApplications$Outbound } - | undefined; - isDefaultApp: boolean; - defaultRoute?: string | undefined; - groupIds: Array; -}; - -/** @internal */ -export const CancelDeploymentMicrofrontends2$outboundSchema: z.ZodType< - CancelDeploymentMicrofrontends2$Outbound, - z.ZodTypeDef, - CancelDeploymentMicrofrontends2 -> = z.object({ - applications: z.record( - z.lazy(() => MicrofrontendsApplications$outboundSchema), - ).optional(), - isDefaultApp: z.boolean(), - defaultRoute: z.string().optional(), - groupIds: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentMicrofrontends2$ { - /** @deprecated use `CancelDeploymentMicrofrontends2$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentMicrofrontends2$inboundSchema; - /** @deprecated use `CancelDeploymentMicrofrontends2$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentMicrofrontends2$outboundSchema; - /** @deprecated use `CancelDeploymentMicrofrontends2$Outbound` instead. */ - export type Outbound = CancelDeploymentMicrofrontends2$Outbound; -} - -export function cancelDeploymentMicrofrontends2ToJSON( - cancelDeploymentMicrofrontends2: CancelDeploymentMicrofrontends2, -): string { - return JSON.stringify( - CancelDeploymentMicrofrontends2$outboundSchema.parse( - cancelDeploymentMicrofrontends2, - ), - ); -} - -export function cancelDeploymentMicrofrontends2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentMicrofrontends2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentMicrofrontends2' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentMicrofrontends1$inboundSchema: z.ZodType< - CancelDeploymentMicrofrontends1, - z.ZodTypeDef, - unknown -> = z.object({ - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), - groupIds: z.array(z.string()), -}); - -/** @internal */ -export type CancelDeploymentMicrofrontends1$Outbound = { - isDefaultApp?: boolean | undefined; - defaultRoute?: string | undefined; - groupIds: Array; -}; - -/** @internal */ -export const CancelDeploymentMicrofrontends1$outboundSchema: z.ZodType< - CancelDeploymentMicrofrontends1$Outbound, - z.ZodTypeDef, - CancelDeploymentMicrofrontends1 -> = z.object({ - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), - groupIds: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentMicrofrontends1$ { - /** @deprecated use `CancelDeploymentMicrofrontends1$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentMicrofrontends1$inboundSchema; - /** @deprecated use `CancelDeploymentMicrofrontends1$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentMicrofrontends1$outboundSchema; - /** @deprecated use `CancelDeploymentMicrofrontends1$Outbound` instead. */ - export type Outbound = CancelDeploymentMicrofrontends1$Outbound; -} - -export function cancelDeploymentMicrofrontends1ToJSON( - cancelDeploymentMicrofrontends1: CancelDeploymentMicrofrontends1, -): string { - return JSON.stringify( - CancelDeploymentMicrofrontends1$outboundSchema.parse( - cancelDeploymentMicrofrontends1, - ), - ); -} - -export function cancelDeploymentMicrofrontends1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentMicrofrontends1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentMicrofrontends1' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentMicrofrontends$inboundSchema: z.ZodType< - CancelDeploymentMicrofrontends, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CancelDeploymentMicrofrontends1$inboundSchema), - z.lazy(() => CancelDeploymentMicrofrontends2$inboundSchema), -]); - -/** @internal */ -export type CancelDeploymentMicrofrontends$Outbound = - | CancelDeploymentMicrofrontends1$Outbound - | CancelDeploymentMicrofrontends2$Outbound; - -/** @internal */ -export const CancelDeploymentMicrofrontends$outboundSchema: z.ZodType< - CancelDeploymentMicrofrontends$Outbound, - z.ZodTypeDef, - CancelDeploymentMicrofrontends -> = z.union([ - z.lazy(() => CancelDeploymentMicrofrontends1$outboundSchema), - z.lazy(() => CancelDeploymentMicrofrontends2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentMicrofrontends$ { - /** @deprecated use `CancelDeploymentMicrofrontends$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentMicrofrontends$inboundSchema; - /** @deprecated use `CancelDeploymentMicrofrontends$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentMicrofrontends$outboundSchema; - /** @deprecated use `CancelDeploymentMicrofrontends$Outbound` instead. */ - export type Outbound = CancelDeploymentMicrofrontends$Outbound; -} - -export function cancelDeploymentMicrofrontendsToJSON( - cancelDeploymentMicrofrontends: CancelDeploymentMicrofrontends, -): string { - return JSON.stringify( - CancelDeploymentMicrofrontends$outboundSchema.parse( - cancelDeploymentMicrofrontends, - ), - ); -} - -export function cancelDeploymentMicrofrontendsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentMicrofrontends$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentMicrofrontends' from JSON`, - ); -} - -/** @internal */ -export const CancelDeploymentResponseBody$inboundSchema: z.ZodType< - CancelDeploymentResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - aliasAssignedAt: z.nullable(z.union([z.number(), z.boolean()])).optional(), - alwaysRefuseToBuild: z.boolean().optional(), - build: z.lazy(() => CancelDeploymentBuild$inboundSchema), - buildArtifactUrls: z.array(z.string()).optional(), - builds: z.array(z.lazy(() => CancelDeploymentBuilds$inboundSchema)) - .optional(), - env: z.array(z.string()), - inspectorUrl: z.nullable(z.string()), - isInConcurrentBuildsQueue: z.boolean(), - isInSystemBuildsQueue: z.boolean(), - projectSettings: z.lazy(() => CancelDeploymentProjectSettings$inboundSchema), - readyStateReason: z.string().optional(), - integrations: z.lazy(() => CancelDeploymentIntegrations$inboundSchema) - .optional(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.boolean(), - bootedAt: z.number(), - buildingAt: z.number(), - buildSkipped: z.boolean(), - creator: z.lazy(() => CancelDeploymentCreator$inboundSchema), - initReadyAt: z.number().optional(), - isFirstBranchDeployment: z.boolean().optional(), - lambdas: z.array(z.lazy(() => CancelDeploymentLambdas$inboundSchema)) - .optional(), - public: z.boolean(), - ready: z.number().optional(), - status: CancelDeploymentStatus$inboundSchema, - team: z.lazy(() => CancelDeploymentTeam$inboundSchema).optional(), - userAliases: z.array(z.string()).optional(), - previewCommentsEnabled: z.boolean().optional(), - ttyBuildLogs: z.boolean().optional(), - customEnvironment: z.union([ - z.lazy(() => CancelDeploymentCustomEnvironment1$inboundSchema), - z.lazy(() => CancelDeploymentCustomEnvironment2$inboundSchema), - ]).optional(), - id: z.string(), - aliasError: z.nullable(z.lazy(() => CancelDeploymentAliasError$inboundSchema)) - .optional(), - aliasFinal: z.nullable(z.string()).optional(), - aliasWarning: z.nullable( - z.lazy(() => CancelDeploymentAliasWarning$inboundSchema), - ).optional(), - autoAssignCustomDomains: z.boolean().optional(), - automaticAliases: z.array(z.string()).optional(), - buildErrorAt: z.number().optional(), - checksState: CancelDeploymentChecksState$inboundSchema.optional(), - checksConclusion: CancelDeploymentChecksConclusion$inboundSchema.optional(), - createdAt: z.number(), - deletedAt: z.nullable(z.number()).optional(), - defaultRoute: z.string().optional(), - canceledAt: z.number().optional(), - errorCode: z.string().optional(), - errorLink: z.string().optional(), - errorMessage: z.nullable(z.string()).optional(), - errorStep: z.string().optional(), - passiveRegions: z.array(z.string()).optional(), - gitSource: z.union([ - z.lazy(() => GitSource6$inboundSchema), - z.lazy(() => GitSource8$inboundSchema), - z.lazy(() => CancelDeploymentGitSource1$inboundSchema), - z.lazy(() => CancelDeploymentGitSource3$inboundSchema), - z.lazy(() => CancelDeploymentGitSource2$inboundSchema), - z.lazy(() => CancelDeploymentGitSource4$inboundSchema), - z.lazy(() => CancelDeploymentGitSource5$inboundSchema), - z.lazy(() => GitSource7$inboundSchema), - z.lazy(() => GitSource9$inboundSchema), - ]).optional(), - name: z.string(), - meta: z.record(z.string()), - project: z.lazy(() => CancelDeploymentProject$inboundSchema).optional(), - readyState: CancelDeploymentReadyState$inboundSchema, - readySubstate: CancelDeploymentReadySubstate$inboundSchema.optional(), - regions: z.array(z.string()), - softDeletedByRetention: z.boolean().optional(), - source: CancelDeploymentSource$inboundSchema.optional(), - target: z.nullable(CancelDeploymentTarget$inboundSchema).optional(), - type: CancelDeploymentType$inboundSchema, - undeletedAt: z.number().optional(), - url: z.string(), - version: z.number(), - oidcTokenClaims: z.lazy(() => CancelDeploymentOidcTokenClaims$inboundSchema) - .optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdIn: z.string(), - crons: z.array(z.lazy(() => CancelDeploymentCrons$inboundSchema)).optional(), - functions: z.nullable( - z.record(z.lazy(() => CancelDeploymentFunctions$inboundSchema)), - ).optional(), - monorepoManager: z.nullable(z.string()).optional(), - ownerId: z.string(), - passiveConnectConfigurationId: z.string().optional(), - plan: CancelDeploymentPlan$inboundSchema, - projectId: z.string(), - routes: z.nullable( - z.array(z.union([ - z.lazy(() => CancelDeploymentRoutes3$inboundSchema), - z.lazy(() => - CancelDeploymentRoutes2$inboundSchema - ), - z.lazy(() => CancelDeploymentRoutes1$inboundSchema), - ])), - ), - gitRepo: z.nullable( - z.union([ - z.lazy(() => CancelDeploymentGitRepo1$inboundSchema), - z.lazy(() => CancelDeploymentGitRepo2$inboundSchema), - z.lazy(() => CancelDeploymentGitRepo3$inboundSchema), - ]), - ).optional(), - flags: z.union([ - z.lazy(() => CancelDeploymentFlags1$inboundSchema), - z.array(z.lazy(() => CancelDeploymentFlags2$inboundSchema)), - ]).optional(), - microfrontends: z.union([ - z.lazy(() => CancelDeploymentMicrofrontends1$inboundSchema), - z.lazy(() => CancelDeploymentMicrofrontends2$inboundSchema), - ]).optional(), -}); - -/** @internal */ -export type CancelDeploymentResponseBody$Outbound = { - aliasAssignedAt?: number | boolean | null | undefined; - alwaysRefuseToBuild?: boolean | undefined; - build: CancelDeploymentBuild$Outbound; - buildArtifactUrls?: Array | undefined; - builds?: Array | undefined; - env: Array; - inspectorUrl: string | null; - isInConcurrentBuildsQueue: boolean; - isInSystemBuildsQueue: boolean; - projectSettings: CancelDeploymentProjectSettings$Outbound; - readyStateReason?: string | undefined; - integrations?: CancelDeploymentIntegrations$Outbound | undefined; - alias?: Array | undefined; - aliasAssigned: boolean; - bootedAt: number; - buildingAt: number; - buildSkipped: boolean; - creator: CancelDeploymentCreator$Outbound; - initReadyAt?: number | undefined; - isFirstBranchDeployment?: boolean | undefined; - lambdas?: Array | undefined; - public: boolean; - ready?: number | undefined; - status: string; - team?: CancelDeploymentTeam$Outbound | undefined; - userAliases?: Array | undefined; - previewCommentsEnabled?: boolean | undefined; - ttyBuildLogs?: boolean | undefined; - customEnvironment?: - | CancelDeploymentCustomEnvironment1$Outbound - | CancelDeploymentCustomEnvironment2$Outbound - | undefined; - id: string; - aliasError?: CancelDeploymentAliasError$Outbound | null | undefined; - aliasFinal?: string | null | undefined; - aliasWarning?: CancelDeploymentAliasWarning$Outbound | null | undefined; - autoAssignCustomDomains?: boolean | undefined; - automaticAliases?: Array | undefined; - buildErrorAt?: number | undefined; - checksState?: string | undefined; - checksConclusion?: string | undefined; - createdAt: number; - deletedAt?: number | null | undefined; - defaultRoute?: string | undefined; - canceledAt?: number | undefined; - errorCode?: string | undefined; - errorLink?: string | undefined; - errorMessage?: string | null | undefined; - errorStep?: string | undefined; - passiveRegions?: Array | undefined; - gitSource?: - | GitSource6$Outbound - | GitSource8$Outbound - | CancelDeploymentGitSource1$Outbound - | CancelDeploymentGitSource3$Outbound - | CancelDeploymentGitSource2$Outbound - | CancelDeploymentGitSource4$Outbound - | CancelDeploymentGitSource5$Outbound - | GitSource7$Outbound - | GitSource9$Outbound - | undefined; - name: string; - meta: { [k: string]: string }; - project?: CancelDeploymentProject$Outbound | undefined; - readyState: string; - readySubstate?: string | undefined; - regions: Array; - softDeletedByRetention?: boolean | undefined; - source?: string | undefined; - target?: string | null | undefined; - type: string; - undeletedAt?: number | undefined; - url: string; - version: number; - oidcTokenClaims?: CancelDeploymentOidcTokenClaims$Outbound | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdIn: string; - crons?: Array | undefined; - functions?: - | { [k: string]: CancelDeploymentFunctions$Outbound } - | null - | undefined; - monorepoManager?: string | null | undefined; - ownerId: string; - passiveConnectConfigurationId?: string | undefined; - plan: string; - projectId: string; - routes: - | Array< - | CancelDeploymentRoutes3$Outbound - | CancelDeploymentRoutes2$Outbound - | CancelDeploymentRoutes1$Outbound - > - | null; - gitRepo?: - | CancelDeploymentGitRepo1$Outbound - | CancelDeploymentGitRepo2$Outbound - | CancelDeploymentGitRepo3$Outbound - | null - | undefined; - flags?: - | CancelDeploymentFlags1$Outbound - | Array - | undefined; - microfrontends?: - | CancelDeploymentMicrofrontends1$Outbound - | CancelDeploymentMicrofrontends2$Outbound - | undefined; -}; - -/** @internal */ -export const CancelDeploymentResponseBody$outboundSchema: z.ZodType< - CancelDeploymentResponseBody$Outbound, - z.ZodTypeDef, - CancelDeploymentResponseBody -> = z.object({ - aliasAssignedAt: z.nullable(z.union([z.number(), z.boolean()])).optional(), - alwaysRefuseToBuild: z.boolean().optional(), - build: z.lazy(() => CancelDeploymentBuild$outboundSchema), - buildArtifactUrls: z.array(z.string()).optional(), - builds: z.array(z.lazy(() => CancelDeploymentBuilds$outboundSchema)) - .optional(), - env: z.array(z.string()), - inspectorUrl: z.nullable(z.string()), - isInConcurrentBuildsQueue: z.boolean(), - isInSystemBuildsQueue: z.boolean(), - projectSettings: z.lazy(() => CancelDeploymentProjectSettings$outboundSchema), - readyStateReason: z.string().optional(), - integrations: z.lazy(() => CancelDeploymentIntegrations$outboundSchema) - .optional(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.boolean(), - bootedAt: z.number(), - buildingAt: z.number(), - buildSkipped: z.boolean(), - creator: z.lazy(() => CancelDeploymentCreator$outboundSchema), - initReadyAt: z.number().optional(), - isFirstBranchDeployment: z.boolean().optional(), - lambdas: z.array(z.lazy(() => CancelDeploymentLambdas$outboundSchema)) - .optional(), - public: z.boolean(), - ready: z.number().optional(), - status: CancelDeploymentStatus$outboundSchema, - team: z.lazy(() => CancelDeploymentTeam$outboundSchema).optional(), - userAliases: z.array(z.string()).optional(), - previewCommentsEnabled: z.boolean().optional(), - ttyBuildLogs: z.boolean().optional(), - customEnvironment: z.union([ - z.lazy(() => CancelDeploymentCustomEnvironment1$outboundSchema), - z.lazy(() => CancelDeploymentCustomEnvironment2$outboundSchema), - ]).optional(), - id: z.string(), - aliasError: z.nullable( - z.lazy(() => CancelDeploymentAliasError$outboundSchema), - ).optional(), - aliasFinal: z.nullable(z.string()).optional(), - aliasWarning: z.nullable( - z.lazy(() => CancelDeploymentAliasWarning$outboundSchema), - ).optional(), - autoAssignCustomDomains: z.boolean().optional(), - automaticAliases: z.array(z.string()).optional(), - buildErrorAt: z.number().optional(), - checksState: CancelDeploymentChecksState$outboundSchema.optional(), - checksConclusion: CancelDeploymentChecksConclusion$outboundSchema.optional(), - createdAt: z.number(), - deletedAt: z.nullable(z.number()).optional(), - defaultRoute: z.string().optional(), - canceledAt: z.number().optional(), - errorCode: z.string().optional(), - errorLink: z.string().optional(), - errorMessage: z.nullable(z.string()).optional(), - errorStep: z.string().optional(), - passiveRegions: z.array(z.string()).optional(), - gitSource: z.union([ - z.lazy(() => GitSource6$outboundSchema), - z.lazy(() => GitSource8$outboundSchema), - z.lazy(() => CancelDeploymentGitSource1$outboundSchema), - z.lazy(() => CancelDeploymentGitSource3$outboundSchema), - z.lazy(() => CancelDeploymentGitSource2$outboundSchema), - z.lazy(() => CancelDeploymentGitSource4$outboundSchema), - z.lazy(() => CancelDeploymentGitSource5$outboundSchema), - z.lazy(() => GitSource7$outboundSchema), - z.lazy(() => GitSource9$outboundSchema), - ]).optional(), - name: z.string(), - meta: z.record(z.string()), - project: z.lazy(() => CancelDeploymentProject$outboundSchema).optional(), - readyState: CancelDeploymentReadyState$outboundSchema, - readySubstate: CancelDeploymentReadySubstate$outboundSchema.optional(), - regions: z.array(z.string()), - softDeletedByRetention: z.boolean().optional(), - source: CancelDeploymentSource$outboundSchema.optional(), - target: z.nullable(CancelDeploymentTarget$outboundSchema).optional(), - type: CancelDeploymentType$outboundSchema, - undeletedAt: z.number().optional(), - url: z.string(), - version: z.number(), - oidcTokenClaims: z.lazy(() => CancelDeploymentOidcTokenClaims$outboundSchema) - .optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdIn: z.string(), - crons: z.array(z.lazy(() => CancelDeploymentCrons$outboundSchema)).optional(), - functions: z.nullable( - z.record(z.lazy(() => CancelDeploymentFunctions$outboundSchema)), - ).optional(), - monorepoManager: z.nullable(z.string()).optional(), - ownerId: z.string(), - passiveConnectConfigurationId: z.string().optional(), - plan: CancelDeploymentPlan$outboundSchema, - projectId: z.string(), - routes: z.nullable( - z.array(z.union([ - z.lazy(() => CancelDeploymentRoutes3$outboundSchema), - z.lazy(() => - CancelDeploymentRoutes2$outboundSchema - ), - z.lazy(() => CancelDeploymentRoutes1$outboundSchema), - ])), - ), - gitRepo: z.nullable( - z.union([ - z.lazy(() => CancelDeploymentGitRepo1$outboundSchema), - z.lazy(() => CancelDeploymentGitRepo2$outboundSchema), - z.lazy(() => CancelDeploymentGitRepo3$outboundSchema), - ]), - ).optional(), - flags: z.union([ - z.lazy(() => CancelDeploymentFlags1$outboundSchema), - z.array(z.lazy(() => CancelDeploymentFlags2$outboundSchema)), - ]).optional(), - microfrontends: z.union([ - z.lazy(() => CancelDeploymentMicrofrontends1$outboundSchema), - z.lazy(() => CancelDeploymentMicrofrontends2$outboundSchema), - ]).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentResponseBody$ { - /** @deprecated use `CancelDeploymentResponseBody$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentResponseBody$inboundSchema; - /** @deprecated use `CancelDeploymentResponseBody$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentResponseBody$outboundSchema; - /** @deprecated use `CancelDeploymentResponseBody$Outbound` instead. */ - export type Outbound = CancelDeploymentResponseBody$Outbound; -} - -export function cancelDeploymentResponseBodyToJSON( - cancelDeploymentResponseBody: CancelDeploymentResponseBody, -): string { - return JSON.stringify( - CancelDeploymentResponseBody$outboundSchema.parse( - cancelDeploymentResponseBody, - ), - ); -} - -export function cancelDeploymentResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancelDeploymentResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancelDeploymentResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/checkdomainprice.ts b/src/models/operations/checkdomainprice.ts deleted file mode 100644 index ed23ee2d..00000000 --- a/src/models/operations/checkdomainprice.ts +++ /dev/null @@ -1,181 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * In which status of the domain the price needs to be checked. - */ -export const QueryParamType = { - New: "new", - Renewal: "renewal", - Transfer: "transfer", - Redemption: "redemption", -} as const; -/** - * In which status of the domain the price needs to be checked. - */ -export type QueryParamType = ClosedEnum; - -export type CheckDomainPriceRequest = { - /** - * The name of the domain for which the price needs to be checked. - */ - name: string; - /** - * In which status of the domain the price needs to be checked. - */ - type?: QueryParamType | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * Successful response which returns the price of the domain and the period. - */ -export type CheckDomainPriceResponseBody = {}; - -/** @internal */ -export const QueryParamType$inboundSchema: z.ZodNativeEnum< - typeof QueryParamType -> = z.nativeEnum(QueryParamType); - -/** @internal */ -export const QueryParamType$outboundSchema: z.ZodNativeEnum< - typeof QueryParamType -> = QueryParamType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace QueryParamType$ { - /** @deprecated use `QueryParamType$inboundSchema` instead. */ - export const inboundSchema = QueryParamType$inboundSchema; - /** @deprecated use `QueryParamType$outboundSchema` instead. */ - export const outboundSchema = QueryParamType$outboundSchema; -} - -/** @internal */ -export const CheckDomainPriceRequest$inboundSchema: z.ZodType< - CheckDomainPriceRequest, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - type: QueryParamType$inboundSchema.optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type CheckDomainPriceRequest$Outbound = { - name: string; - type?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const CheckDomainPriceRequest$outboundSchema: z.ZodType< - CheckDomainPriceRequest$Outbound, - z.ZodTypeDef, - CheckDomainPriceRequest -> = z.object({ - name: z.string(), - type: QueryParamType$outboundSchema.optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CheckDomainPriceRequest$ { - /** @deprecated use `CheckDomainPriceRequest$inboundSchema` instead. */ - export const inboundSchema = CheckDomainPriceRequest$inboundSchema; - /** @deprecated use `CheckDomainPriceRequest$outboundSchema` instead. */ - export const outboundSchema = CheckDomainPriceRequest$outboundSchema; - /** @deprecated use `CheckDomainPriceRequest$Outbound` instead. */ - export type Outbound = CheckDomainPriceRequest$Outbound; -} - -export function checkDomainPriceRequestToJSON( - checkDomainPriceRequest: CheckDomainPriceRequest, -): string { - return JSON.stringify( - CheckDomainPriceRequest$outboundSchema.parse(checkDomainPriceRequest), - ); -} - -export function checkDomainPriceRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CheckDomainPriceRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CheckDomainPriceRequest' from JSON`, - ); -} - -/** @internal */ -export const CheckDomainPriceResponseBody$inboundSchema: z.ZodType< - CheckDomainPriceResponseBody, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type CheckDomainPriceResponseBody$Outbound = {}; - -/** @internal */ -export const CheckDomainPriceResponseBody$outboundSchema: z.ZodType< - CheckDomainPriceResponseBody$Outbound, - z.ZodTypeDef, - CheckDomainPriceResponseBody -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CheckDomainPriceResponseBody$ { - /** @deprecated use `CheckDomainPriceResponseBody$inboundSchema` instead. */ - export const inboundSchema = CheckDomainPriceResponseBody$inboundSchema; - /** @deprecated use `CheckDomainPriceResponseBody$outboundSchema` instead. */ - export const outboundSchema = CheckDomainPriceResponseBody$outboundSchema; - /** @deprecated use `CheckDomainPriceResponseBody$Outbound` instead. */ - export type Outbound = CheckDomainPriceResponseBody$Outbound; -} - -export function checkDomainPriceResponseBodyToJSON( - checkDomainPriceResponseBody: CheckDomainPriceResponseBody, -): string { - return JSON.stringify( - CheckDomainPriceResponseBody$outboundSchema.parse( - checkDomainPriceResponseBody, - ), - ); -} - -export function checkDomainPriceResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CheckDomainPriceResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CheckDomainPriceResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/checkdomainstatus.ts b/src/models/operations/checkdomainstatus.ts deleted file mode 100644 index b594f4bc..00000000 --- a/src/models/operations/checkdomainstatus.ts +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type CheckDomainStatusRequest = { - /** - * The name of the domain for which we would like to check the status. - */ - name: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * Successful response checking if a Domain's name is available. - */ -export type CheckDomainStatusResponseBody = { - available: boolean; -}; - -/** @internal */ -export const CheckDomainStatusRequest$inboundSchema: z.ZodType< - CheckDomainStatusRequest, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type CheckDomainStatusRequest$Outbound = { - name: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const CheckDomainStatusRequest$outboundSchema: z.ZodType< - CheckDomainStatusRequest$Outbound, - z.ZodTypeDef, - CheckDomainStatusRequest -> = z.object({ - name: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CheckDomainStatusRequest$ { - /** @deprecated use `CheckDomainStatusRequest$inboundSchema` instead. */ - export const inboundSchema = CheckDomainStatusRequest$inboundSchema; - /** @deprecated use `CheckDomainStatusRequest$outboundSchema` instead. */ - export const outboundSchema = CheckDomainStatusRequest$outboundSchema; - /** @deprecated use `CheckDomainStatusRequest$Outbound` instead. */ - export type Outbound = CheckDomainStatusRequest$Outbound; -} - -export function checkDomainStatusRequestToJSON( - checkDomainStatusRequest: CheckDomainStatusRequest, -): string { - return JSON.stringify( - CheckDomainStatusRequest$outboundSchema.parse(checkDomainStatusRequest), - ); -} - -export function checkDomainStatusRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CheckDomainStatusRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CheckDomainStatusRequest' from JSON`, - ); -} - -/** @internal */ -export const CheckDomainStatusResponseBody$inboundSchema: z.ZodType< - CheckDomainStatusResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - available: z.boolean(), -}); - -/** @internal */ -export type CheckDomainStatusResponseBody$Outbound = { - available: boolean; -}; - -/** @internal */ -export const CheckDomainStatusResponseBody$outboundSchema: z.ZodType< - CheckDomainStatusResponseBody$Outbound, - z.ZodTypeDef, - CheckDomainStatusResponseBody -> = z.object({ - available: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CheckDomainStatusResponseBody$ { - /** @deprecated use `CheckDomainStatusResponseBody$inboundSchema` instead. */ - export const inboundSchema = CheckDomainStatusResponseBody$inboundSchema; - /** @deprecated use `CheckDomainStatusResponseBody$outboundSchema` instead. */ - export const outboundSchema = CheckDomainStatusResponseBody$outboundSchema; - /** @deprecated use `CheckDomainStatusResponseBody$Outbound` instead. */ - export type Outbound = CheckDomainStatusResponseBody$Outbound; -} - -export function checkDomainStatusResponseBodyToJSON( - checkDomainStatusResponseBody: CheckDomainStatusResponseBody, -): string { - return JSON.stringify( - CheckDomainStatusResponseBody$outboundSchema.parse( - checkDomainStatusResponseBody, - ), - ); -} - -export function checkDomainStatusResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CheckDomainStatusResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CheckDomainStatusResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/createaccessgroup.ts b/src/models/operations/createaccessgroup.ts deleted file mode 100644 index 601b33a6..00000000 --- a/src/models/operations/createaccessgroup.ts +++ /dev/null @@ -1,369 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The project role that will be added to this Access Group. \"null\" will remove this project level role. - */ -export const CreateAccessGroupRole = { - Admin: "ADMIN", - ProjectViewer: "PROJECT_VIEWER", - ProjectDeveloper: "PROJECT_DEVELOPER", -} as const; -/** - * The project role that will be added to this Access Group. \"null\" will remove this project level role. - */ -export type CreateAccessGroupRole = ClosedEnum; - -export type CreateAccessGroupProjects = { - /** - * The ID of the project. - */ - projectId: string; - /** - * The project role that will be added to this Access Group. \"null\" will remove this project level role. - */ - role: CreateAccessGroupRole | null; -}; - -export type CreateAccessGroupRequestBody = { - /** - * The name of the access group - */ - name: string; - projects?: Array | undefined; - /** - * List of members to add to the access group. - */ - membersToAdd?: Array | undefined; -}; - -export type CreateAccessGroupRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: CreateAccessGroupRequestBody | undefined; -}; - -export type CreateAccessGroupResponseBody = { - membersCount: number; - projectsCount: number; - /** - * The name of this access group. - */ - name: string; - /** - * Timestamp in milliseconds when the access group was created. - */ - createdAt: string; - /** - * ID of the team that this access group belongs to. - */ - teamId: string; - /** - * Timestamp in milliseconds when the access group was last updated. - */ - updatedAt: string; - /** - * ID of the access group. - */ - accessGroupId: string; -}; - -/** @internal */ -export const CreateAccessGroupRole$inboundSchema: z.ZodNativeEnum< - typeof CreateAccessGroupRole -> = z.nativeEnum(CreateAccessGroupRole); - -/** @internal */ -export const CreateAccessGroupRole$outboundSchema: z.ZodNativeEnum< - typeof CreateAccessGroupRole -> = CreateAccessGroupRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateAccessGroupRole$ { - /** @deprecated use `CreateAccessGroupRole$inboundSchema` instead. */ - export const inboundSchema = CreateAccessGroupRole$inboundSchema; - /** @deprecated use `CreateAccessGroupRole$outboundSchema` instead. */ - export const outboundSchema = CreateAccessGroupRole$outboundSchema; -} - -/** @internal */ -export const CreateAccessGroupProjects$inboundSchema: z.ZodType< - CreateAccessGroupProjects, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string(), - role: z.nullable(CreateAccessGroupRole$inboundSchema), -}); - -/** @internal */ -export type CreateAccessGroupProjects$Outbound = { - projectId: string; - role: string | null; -}; - -/** @internal */ -export const CreateAccessGroupProjects$outboundSchema: z.ZodType< - CreateAccessGroupProjects$Outbound, - z.ZodTypeDef, - CreateAccessGroupProjects -> = z.object({ - projectId: z.string(), - role: z.nullable(CreateAccessGroupRole$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateAccessGroupProjects$ { - /** @deprecated use `CreateAccessGroupProjects$inboundSchema` instead. */ - export const inboundSchema = CreateAccessGroupProjects$inboundSchema; - /** @deprecated use `CreateAccessGroupProjects$outboundSchema` instead. */ - export const outboundSchema = CreateAccessGroupProjects$outboundSchema; - /** @deprecated use `CreateAccessGroupProjects$Outbound` instead. */ - export type Outbound = CreateAccessGroupProjects$Outbound; -} - -export function createAccessGroupProjectsToJSON( - createAccessGroupProjects: CreateAccessGroupProjects, -): string { - return JSON.stringify( - CreateAccessGroupProjects$outboundSchema.parse(createAccessGroupProjects), - ); -} - -export function createAccessGroupProjectsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateAccessGroupProjects$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateAccessGroupProjects' from JSON`, - ); -} - -/** @internal */ -export const CreateAccessGroupRequestBody$inboundSchema: z.ZodType< - CreateAccessGroupRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - projects: z.array(z.lazy(() => CreateAccessGroupProjects$inboundSchema)) - .optional(), - membersToAdd: z.array(z.string()).optional(), -}); - -/** @internal */ -export type CreateAccessGroupRequestBody$Outbound = { - name: string; - projects?: Array | undefined; - membersToAdd?: Array | undefined; -}; - -/** @internal */ -export const CreateAccessGroupRequestBody$outboundSchema: z.ZodType< - CreateAccessGroupRequestBody$Outbound, - z.ZodTypeDef, - CreateAccessGroupRequestBody -> = z.object({ - name: z.string(), - projects: z.array(z.lazy(() => CreateAccessGroupProjects$outboundSchema)) - .optional(), - membersToAdd: z.array(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateAccessGroupRequestBody$ { - /** @deprecated use `CreateAccessGroupRequestBody$inboundSchema` instead. */ - export const inboundSchema = CreateAccessGroupRequestBody$inboundSchema; - /** @deprecated use `CreateAccessGroupRequestBody$outboundSchema` instead. */ - export const outboundSchema = CreateAccessGroupRequestBody$outboundSchema; - /** @deprecated use `CreateAccessGroupRequestBody$Outbound` instead. */ - export type Outbound = CreateAccessGroupRequestBody$Outbound; -} - -export function createAccessGroupRequestBodyToJSON( - createAccessGroupRequestBody: CreateAccessGroupRequestBody, -): string { - return JSON.stringify( - CreateAccessGroupRequestBody$outboundSchema.parse( - createAccessGroupRequestBody, - ), - ); -} - -export function createAccessGroupRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateAccessGroupRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateAccessGroupRequestBody' from JSON`, - ); -} - -/** @internal */ -export const CreateAccessGroupRequest$inboundSchema: z.ZodType< - CreateAccessGroupRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => CreateAccessGroupRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type CreateAccessGroupRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: CreateAccessGroupRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const CreateAccessGroupRequest$outboundSchema: z.ZodType< - CreateAccessGroupRequest$Outbound, - z.ZodTypeDef, - CreateAccessGroupRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateAccessGroupRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateAccessGroupRequest$ { - /** @deprecated use `CreateAccessGroupRequest$inboundSchema` instead. */ - export const inboundSchema = CreateAccessGroupRequest$inboundSchema; - /** @deprecated use `CreateAccessGroupRequest$outboundSchema` instead. */ - export const outboundSchema = CreateAccessGroupRequest$outboundSchema; - /** @deprecated use `CreateAccessGroupRequest$Outbound` instead. */ - export type Outbound = CreateAccessGroupRequest$Outbound; -} - -export function createAccessGroupRequestToJSON( - createAccessGroupRequest: CreateAccessGroupRequest, -): string { - return JSON.stringify( - CreateAccessGroupRequest$outboundSchema.parse(createAccessGroupRequest), - ); -} - -export function createAccessGroupRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateAccessGroupRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateAccessGroupRequest' from JSON`, - ); -} - -/** @internal */ -export const CreateAccessGroupResponseBody$inboundSchema: z.ZodType< - CreateAccessGroupResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - membersCount: z.number(), - projectsCount: z.number(), - name: z.string(), - createdAt: z.string(), - teamId: z.string(), - updatedAt: z.string(), - accessGroupId: z.string(), -}); - -/** @internal */ -export type CreateAccessGroupResponseBody$Outbound = { - membersCount: number; - projectsCount: number; - name: string; - createdAt: string; - teamId: string; - updatedAt: string; - accessGroupId: string; -}; - -/** @internal */ -export const CreateAccessGroupResponseBody$outboundSchema: z.ZodType< - CreateAccessGroupResponseBody$Outbound, - z.ZodTypeDef, - CreateAccessGroupResponseBody -> = z.object({ - membersCount: z.number(), - projectsCount: z.number(), - name: z.string(), - createdAt: z.string(), - teamId: z.string(), - updatedAt: z.string(), - accessGroupId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateAccessGroupResponseBody$ { - /** @deprecated use `CreateAccessGroupResponseBody$inboundSchema` instead. */ - export const inboundSchema = CreateAccessGroupResponseBody$inboundSchema; - /** @deprecated use `CreateAccessGroupResponseBody$outboundSchema` instead. */ - export const outboundSchema = CreateAccessGroupResponseBody$outboundSchema; - /** @deprecated use `CreateAccessGroupResponseBody$Outbound` instead. */ - export type Outbound = CreateAccessGroupResponseBody$Outbound; -} - -export function createAccessGroupResponseBodyToJSON( - createAccessGroupResponseBody: CreateAccessGroupResponseBody, -): string { - return JSON.stringify( - CreateAccessGroupResponseBody$outboundSchema.parse( - createAccessGroupResponseBody, - ), - ); -} - -export function createAccessGroupResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateAccessGroupResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateAccessGroupResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/createaccessgroupproject.ts b/src/models/operations/createaccessgroupproject.ts deleted file mode 100644 index e6143ae8..00000000 --- a/src/models/operations/createaccessgroupproject.ts +++ /dev/null @@ -1,322 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The project role that will be added to this Access Group. - */ -export const CreateAccessGroupProjectRole = { - Admin: "ADMIN", - ProjectViewer: "PROJECT_VIEWER", - ProjectDeveloper: "PROJECT_DEVELOPER", -} as const; -/** - * The project role that will be added to this Access Group. - */ -export type CreateAccessGroupProjectRole = ClosedEnum< - typeof CreateAccessGroupProjectRole ->; - -export type CreateAccessGroupProjectRequestBody = { - /** - * The ID of the project. - */ - projectId: string; - /** - * The project role that will be added to this Access Group. - */ - role: CreateAccessGroupProjectRole; -}; - -export type CreateAccessGroupProjectRequest = { - accessGroupIdOrName: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: CreateAccessGroupProjectRequestBody | undefined; -}; - -export const CreateAccessGroupProjectAccessGroupsRole = { - Admin: "ADMIN", - ProjectDeveloper: "PROJECT_DEVELOPER", - ProjectViewer: "PROJECT_VIEWER", -} as const; -export type CreateAccessGroupProjectAccessGroupsRole = ClosedEnum< - typeof CreateAccessGroupProjectAccessGroupsRole ->; - -export type CreateAccessGroupProjectResponseBody = { - teamId: string; - accessGroupId: string; - projectId: string; - role: CreateAccessGroupProjectAccessGroupsRole; - createdAt: string; - updatedAt: string; -}; - -/** @internal */ -export const CreateAccessGroupProjectRole$inboundSchema: z.ZodNativeEnum< - typeof CreateAccessGroupProjectRole -> = z.nativeEnum(CreateAccessGroupProjectRole); - -/** @internal */ -export const CreateAccessGroupProjectRole$outboundSchema: z.ZodNativeEnum< - typeof CreateAccessGroupProjectRole -> = CreateAccessGroupProjectRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateAccessGroupProjectRole$ { - /** @deprecated use `CreateAccessGroupProjectRole$inboundSchema` instead. */ - export const inboundSchema = CreateAccessGroupProjectRole$inboundSchema; - /** @deprecated use `CreateAccessGroupProjectRole$outboundSchema` instead. */ - export const outboundSchema = CreateAccessGroupProjectRole$outboundSchema; -} - -/** @internal */ -export const CreateAccessGroupProjectRequestBody$inboundSchema: z.ZodType< - CreateAccessGroupProjectRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string(), - role: CreateAccessGroupProjectRole$inboundSchema, -}); - -/** @internal */ -export type CreateAccessGroupProjectRequestBody$Outbound = { - projectId: string; - role: string; -}; - -/** @internal */ -export const CreateAccessGroupProjectRequestBody$outboundSchema: z.ZodType< - CreateAccessGroupProjectRequestBody$Outbound, - z.ZodTypeDef, - CreateAccessGroupProjectRequestBody -> = z.object({ - projectId: z.string(), - role: CreateAccessGroupProjectRole$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateAccessGroupProjectRequestBody$ { - /** @deprecated use `CreateAccessGroupProjectRequestBody$inboundSchema` instead. */ - export const inboundSchema = - CreateAccessGroupProjectRequestBody$inboundSchema; - /** @deprecated use `CreateAccessGroupProjectRequestBody$outboundSchema` instead. */ - export const outboundSchema = - CreateAccessGroupProjectRequestBody$outboundSchema; - /** @deprecated use `CreateAccessGroupProjectRequestBody$Outbound` instead. */ - export type Outbound = CreateAccessGroupProjectRequestBody$Outbound; -} - -export function createAccessGroupProjectRequestBodyToJSON( - createAccessGroupProjectRequestBody: CreateAccessGroupProjectRequestBody, -): string { - return JSON.stringify( - CreateAccessGroupProjectRequestBody$outboundSchema.parse( - createAccessGroupProjectRequestBody, - ), - ); -} - -export function createAccessGroupProjectRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateAccessGroupProjectRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateAccessGroupProjectRequestBody' from JSON`, - ); -} - -/** @internal */ -export const CreateAccessGroupProjectRequest$inboundSchema: z.ZodType< - CreateAccessGroupProjectRequest, - z.ZodTypeDef, - unknown -> = z.object({ - accessGroupIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => CreateAccessGroupProjectRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type CreateAccessGroupProjectRequest$Outbound = { - accessGroupIdOrName: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: CreateAccessGroupProjectRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const CreateAccessGroupProjectRequest$outboundSchema: z.ZodType< - CreateAccessGroupProjectRequest$Outbound, - z.ZodTypeDef, - CreateAccessGroupProjectRequest -> = z.object({ - accessGroupIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateAccessGroupProjectRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateAccessGroupProjectRequest$ { - /** @deprecated use `CreateAccessGroupProjectRequest$inboundSchema` instead. */ - export const inboundSchema = CreateAccessGroupProjectRequest$inboundSchema; - /** @deprecated use `CreateAccessGroupProjectRequest$outboundSchema` instead. */ - export const outboundSchema = CreateAccessGroupProjectRequest$outboundSchema; - /** @deprecated use `CreateAccessGroupProjectRequest$Outbound` instead. */ - export type Outbound = CreateAccessGroupProjectRequest$Outbound; -} - -export function createAccessGroupProjectRequestToJSON( - createAccessGroupProjectRequest: CreateAccessGroupProjectRequest, -): string { - return JSON.stringify( - CreateAccessGroupProjectRequest$outboundSchema.parse( - createAccessGroupProjectRequest, - ), - ); -} - -export function createAccessGroupProjectRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateAccessGroupProjectRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateAccessGroupProjectRequest' from JSON`, - ); -} - -/** @internal */ -export const CreateAccessGroupProjectAccessGroupsRole$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateAccessGroupProjectAccessGroupsRole); - -/** @internal */ -export const CreateAccessGroupProjectAccessGroupsRole$outboundSchema: - z.ZodNativeEnum = - CreateAccessGroupProjectAccessGroupsRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateAccessGroupProjectAccessGroupsRole$ { - /** @deprecated use `CreateAccessGroupProjectAccessGroupsRole$inboundSchema` instead. */ - export const inboundSchema = - CreateAccessGroupProjectAccessGroupsRole$inboundSchema; - /** @deprecated use `CreateAccessGroupProjectAccessGroupsRole$outboundSchema` instead. */ - export const outboundSchema = - CreateAccessGroupProjectAccessGroupsRole$outboundSchema; -} - -/** @internal */ -export const CreateAccessGroupProjectResponseBody$inboundSchema: z.ZodType< - CreateAccessGroupProjectResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string(), - accessGroupId: z.string(), - projectId: z.string(), - role: CreateAccessGroupProjectAccessGroupsRole$inboundSchema, - createdAt: z.string(), - updatedAt: z.string(), -}); - -/** @internal */ -export type CreateAccessGroupProjectResponseBody$Outbound = { - teamId: string; - accessGroupId: string; - projectId: string; - role: string; - createdAt: string; - updatedAt: string; -}; - -/** @internal */ -export const CreateAccessGroupProjectResponseBody$outboundSchema: z.ZodType< - CreateAccessGroupProjectResponseBody$Outbound, - z.ZodTypeDef, - CreateAccessGroupProjectResponseBody -> = z.object({ - teamId: z.string(), - accessGroupId: z.string(), - projectId: z.string(), - role: CreateAccessGroupProjectAccessGroupsRole$outboundSchema, - createdAt: z.string(), - updatedAt: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateAccessGroupProjectResponseBody$ { - /** @deprecated use `CreateAccessGroupProjectResponseBody$inboundSchema` instead. */ - export const inboundSchema = - CreateAccessGroupProjectResponseBody$inboundSchema; - /** @deprecated use `CreateAccessGroupProjectResponseBody$outboundSchema` instead. */ - export const outboundSchema = - CreateAccessGroupProjectResponseBody$outboundSchema; - /** @deprecated use `CreateAccessGroupProjectResponseBody$Outbound` instead. */ - export type Outbound = CreateAccessGroupProjectResponseBody$Outbound; -} - -export function createAccessGroupProjectResponseBodyToJSON( - createAccessGroupProjectResponseBody: CreateAccessGroupProjectResponseBody, -): string { - return JSON.stringify( - CreateAccessGroupProjectResponseBody$outboundSchema.parse( - createAccessGroupProjectResponseBody, - ), - ); -} - -export function createAccessGroupProjectResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateAccessGroupProjectResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateAccessGroupProjectResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/createauthtoken.ts b/src/models/operations/createauthtoken.ts deleted file mode 100644 index f3930016..00000000 --- a/src/models/operations/createauthtoken.ts +++ /dev/null @@ -1,232 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - AuthToken, - AuthToken$inboundSchema, - AuthToken$Outbound, - AuthToken$outboundSchema, -} from "../components/authtoken.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type CreateAuthTokenRequestBody = { - name: string; - expiresAt?: number | undefined; -}; - -export type CreateAuthTokenRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: CreateAuthTokenRequestBody | undefined; -}; - -/** - * Successful response. - */ -export type CreateAuthTokenResponseBody = { - /** - * Authentication token metadata. - */ - token: AuthToken; - /** - * The authentication token's actual value. This token is only provided in this response, and can never be retrieved again in the future. Be sure to save it somewhere safe! - */ - bearerToken: string; -}; - -/** @internal */ -export const CreateAuthTokenRequestBody$inboundSchema: z.ZodType< - CreateAuthTokenRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - expiresAt: z.number().optional(), -}); - -/** @internal */ -export type CreateAuthTokenRequestBody$Outbound = { - name: string; - expiresAt?: number | undefined; -}; - -/** @internal */ -export const CreateAuthTokenRequestBody$outboundSchema: z.ZodType< - CreateAuthTokenRequestBody$Outbound, - z.ZodTypeDef, - CreateAuthTokenRequestBody -> = z.object({ - name: z.string(), - expiresAt: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateAuthTokenRequestBody$ { - /** @deprecated use `CreateAuthTokenRequestBody$inboundSchema` instead. */ - export const inboundSchema = CreateAuthTokenRequestBody$inboundSchema; - /** @deprecated use `CreateAuthTokenRequestBody$outboundSchema` instead. */ - export const outboundSchema = CreateAuthTokenRequestBody$outboundSchema; - /** @deprecated use `CreateAuthTokenRequestBody$Outbound` instead. */ - export type Outbound = CreateAuthTokenRequestBody$Outbound; -} - -export function createAuthTokenRequestBodyToJSON( - createAuthTokenRequestBody: CreateAuthTokenRequestBody, -): string { - return JSON.stringify( - CreateAuthTokenRequestBody$outboundSchema.parse(createAuthTokenRequestBody), - ); -} - -export function createAuthTokenRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateAuthTokenRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateAuthTokenRequestBody' from JSON`, - ); -} - -/** @internal */ -export const CreateAuthTokenRequest$inboundSchema: z.ZodType< - CreateAuthTokenRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => CreateAuthTokenRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type CreateAuthTokenRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: CreateAuthTokenRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const CreateAuthTokenRequest$outboundSchema: z.ZodType< - CreateAuthTokenRequest$Outbound, - z.ZodTypeDef, - CreateAuthTokenRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateAuthTokenRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateAuthTokenRequest$ { - /** @deprecated use `CreateAuthTokenRequest$inboundSchema` instead. */ - export const inboundSchema = CreateAuthTokenRequest$inboundSchema; - /** @deprecated use `CreateAuthTokenRequest$outboundSchema` instead. */ - export const outboundSchema = CreateAuthTokenRequest$outboundSchema; - /** @deprecated use `CreateAuthTokenRequest$Outbound` instead. */ - export type Outbound = CreateAuthTokenRequest$Outbound; -} - -export function createAuthTokenRequestToJSON( - createAuthTokenRequest: CreateAuthTokenRequest, -): string { - return JSON.stringify( - CreateAuthTokenRequest$outboundSchema.parse(createAuthTokenRequest), - ); -} - -export function createAuthTokenRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateAuthTokenRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateAuthTokenRequest' from JSON`, - ); -} - -/** @internal */ -export const CreateAuthTokenResponseBody$inboundSchema: z.ZodType< - CreateAuthTokenResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - token: AuthToken$inboundSchema, - bearerToken: z.string(), -}); - -/** @internal */ -export type CreateAuthTokenResponseBody$Outbound = { - token: AuthToken$Outbound; - bearerToken: string; -}; - -/** @internal */ -export const CreateAuthTokenResponseBody$outboundSchema: z.ZodType< - CreateAuthTokenResponseBody$Outbound, - z.ZodTypeDef, - CreateAuthTokenResponseBody -> = z.object({ - token: AuthToken$outboundSchema, - bearerToken: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateAuthTokenResponseBody$ { - /** @deprecated use `CreateAuthTokenResponseBody$inboundSchema` instead. */ - export const inboundSchema = CreateAuthTokenResponseBody$inboundSchema; - /** @deprecated use `CreateAuthTokenResponseBody$outboundSchema` instead. */ - export const outboundSchema = CreateAuthTokenResponseBody$outboundSchema; - /** @deprecated use `CreateAuthTokenResponseBody$Outbound` instead. */ - export type Outbound = CreateAuthTokenResponseBody$Outbound; -} - -export function createAuthTokenResponseBodyToJSON( - createAuthTokenResponseBody: CreateAuthTokenResponseBody, -): string { - return JSON.stringify( - CreateAuthTokenResponseBody$outboundSchema.parse( - createAuthTokenResponseBody, - ), - ); -} - -export function createAuthTokenResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateAuthTokenResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateAuthTokenResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/createcheck.ts b/src/models/operations/createcheck.ts deleted file mode 100644 index 5e47005b..00000000 --- a/src/models/operations/createcheck.ts +++ /dev/null @@ -1,980 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type CreateCheckRequestBody = { - /** - * The name of the check being created - */ - name: string; - /** - * Path of the page that is being checked - */ - path?: string | undefined; - /** - * Whether the check should block a deployment from succeeding - */ - blocking: boolean; - /** - * URL to display for further details - */ - detailsUrl?: string | undefined; - /** - * An identifier that can be used as an external reference - */ - externalId?: string | undefined; - /** - * Whether a user should be able to request for the check to be rerun if it fails - */ - rerequestable?: boolean | undefined; -}; - -export type CreateCheckRequest = { - /** - * The deployment to create the check for. - */ - deploymentId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: CreateCheckRequestBody | undefined; -}; - -export const CreateCheckStatus = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type CreateCheckStatus = ClosedEnum; - -export const CreateCheckConclusion = { - Canceled: "canceled", - Failed: "failed", - Neutral: "neutral", - Succeeded: "succeeded", - Skipped: "skipped", - Stale: "stale", -} as const; -export type CreateCheckConclusion = ClosedEnum; - -export const CreateCheckSource = { - WebVitals: "web-vitals", -} as const; -export type CreateCheckSource = ClosedEnum; - -export type CreateCheckFCP = { - value: number | null; - previousValue?: number | undefined; - source: CreateCheckSource; -}; - -export const CreateCheckChecksSource = { - WebVitals: "web-vitals", -} as const; -export type CreateCheckChecksSource = ClosedEnum< - typeof CreateCheckChecksSource ->; - -export type CreateCheckLCP = { - value: number | null; - previousValue?: number | undefined; - source: CreateCheckChecksSource; -}; - -export const CreateCheckChecksResponseSource = { - WebVitals: "web-vitals", -} as const; -export type CreateCheckChecksResponseSource = ClosedEnum< - typeof CreateCheckChecksResponseSource ->; - -export type CreateCheckCLS = { - value: number | null; - previousValue?: number | undefined; - source: CreateCheckChecksResponseSource; -}; - -export const CreateCheckChecksResponse200Source = { - WebVitals: "web-vitals", -} as const; -export type CreateCheckChecksResponse200Source = ClosedEnum< - typeof CreateCheckChecksResponse200Source ->; - -export type CreateCheckTBT = { - value: number | null; - previousValue?: number | undefined; - source: CreateCheckChecksResponse200Source; -}; - -export const CreateCheckChecksResponse200ApplicationJSONSource = { - WebVitals: "web-vitals", -} as const; -export type CreateCheckChecksResponse200ApplicationJSONSource = ClosedEnum< - typeof CreateCheckChecksResponse200ApplicationJSONSource ->; - -export type CreateCheckVirtualExperienceScore = { - value: number | null; - previousValue?: number | undefined; - source: CreateCheckChecksResponse200ApplicationJSONSource; -}; - -export type CreateCheckMetrics = { - fcp: CreateCheckFCP; - lcp: CreateCheckLCP; - cls: CreateCheckCLS; - tbt: CreateCheckTBT; - virtualExperienceScore?: CreateCheckVirtualExperienceScore | undefined; -}; - -export type CreateCheckOutput = { - metrics?: CreateCheckMetrics | undefined; -}; - -export type CreateCheckResponseBody = { - id: string; - name: string; - path?: string | undefined; - status: CreateCheckStatus; - conclusion?: CreateCheckConclusion | undefined; - blocking: boolean; - output?: CreateCheckOutput | undefined; - detailsUrl?: string | undefined; - integrationId: string; - deploymentId: string; - externalId?: string | undefined; - createdAt: number; - updatedAt: number; - startedAt?: number | undefined; - completedAt?: number | undefined; - rerequestable?: boolean | undefined; -}; - -/** @internal */ -export const CreateCheckRequestBody$inboundSchema: z.ZodType< - CreateCheckRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - path: z.string().optional(), - blocking: z.boolean(), - detailsUrl: z.string().optional(), - externalId: z.string().optional(), - rerequestable: z.boolean().optional(), -}); - -/** @internal */ -export type CreateCheckRequestBody$Outbound = { - name: string; - path?: string | undefined; - blocking: boolean; - detailsUrl?: string | undefined; - externalId?: string | undefined; - rerequestable?: boolean | undefined; -}; - -/** @internal */ -export const CreateCheckRequestBody$outboundSchema: z.ZodType< - CreateCheckRequestBody$Outbound, - z.ZodTypeDef, - CreateCheckRequestBody -> = z.object({ - name: z.string(), - path: z.string().optional(), - blocking: z.boolean(), - detailsUrl: z.string().optional(), - externalId: z.string().optional(), - rerequestable: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckRequestBody$ { - /** @deprecated use `CreateCheckRequestBody$inboundSchema` instead. */ - export const inboundSchema = CreateCheckRequestBody$inboundSchema; - /** @deprecated use `CreateCheckRequestBody$outboundSchema` instead. */ - export const outboundSchema = CreateCheckRequestBody$outboundSchema; - /** @deprecated use `CreateCheckRequestBody$Outbound` instead. */ - export type Outbound = CreateCheckRequestBody$Outbound; -} - -export function createCheckRequestBodyToJSON( - createCheckRequestBody: CreateCheckRequestBody, -): string { - return JSON.stringify( - CreateCheckRequestBody$outboundSchema.parse(createCheckRequestBody), - ); -} - -export function createCheckRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateCheckRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateCheckRequestBody' from JSON`, - ); -} - -/** @internal */ -export const CreateCheckRequest$inboundSchema: z.ZodType< - CreateCheckRequest, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => CreateCheckRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type CreateCheckRequest$Outbound = { - deploymentId: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: CreateCheckRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const CreateCheckRequest$outboundSchema: z.ZodType< - CreateCheckRequest$Outbound, - z.ZodTypeDef, - CreateCheckRequest -> = z.object({ - deploymentId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateCheckRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckRequest$ { - /** @deprecated use `CreateCheckRequest$inboundSchema` instead. */ - export const inboundSchema = CreateCheckRequest$inboundSchema; - /** @deprecated use `CreateCheckRequest$outboundSchema` instead. */ - export const outboundSchema = CreateCheckRequest$outboundSchema; - /** @deprecated use `CreateCheckRequest$Outbound` instead. */ - export type Outbound = CreateCheckRequest$Outbound; -} - -export function createCheckRequestToJSON( - createCheckRequest: CreateCheckRequest, -): string { - return JSON.stringify( - CreateCheckRequest$outboundSchema.parse(createCheckRequest), - ); -} - -export function createCheckRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateCheckRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateCheckRequest' from JSON`, - ); -} - -/** @internal */ -export const CreateCheckStatus$inboundSchema: z.ZodNativeEnum< - typeof CreateCheckStatus -> = z.nativeEnum(CreateCheckStatus); - -/** @internal */ -export const CreateCheckStatus$outboundSchema: z.ZodNativeEnum< - typeof CreateCheckStatus -> = CreateCheckStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckStatus$ { - /** @deprecated use `CreateCheckStatus$inboundSchema` instead. */ - export const inboundSchema = CreateCheckStatus$inboundSchema; - /** @deprecated use `CreateCheckStatus$outboundSchema` instead. */ - export const outboundSchema = CreateCheckStatus$outboundSchema; -} - -/** @internal */ -export const CreateCheckConclusion$inboundSchema: z.ZodNativeEnum< - typeof CreateCheckConclusion -> = z.nativeEnum(CreateCheckConclusion); - -/** @internal */ -export const CreateCheckConclusion$outboundSchema: z.ZodNativeEnum< - typeof CreateCheckConclusion -> = CreateCheckConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckConclusion$ { - /** @deprecated use `CreateCheckConclusion$inboundSchema` instead. */ - export const inboundSchema = CreateCheckConclusion$inboundSchema; - /** @deprecated use `CreateCheckConclusion$outboundSchema` instead. */ - export const outboundSchema = CreateCheckConclusion$outboundSchema; -} - -/** @internal */ -export const CreateCheckSource$inboundSchema: z.ZodNativeEnum< - typeof CreateCheckSource -> = z.nativeEnum(CreateCheckSource); - -/** @internal */ -export const CreateCheckSource$outboundSchema: z.ZodNativeEnum< - typeof CreateCheckSource -> = CreateCheckSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckSource$ { - /** @deprecated use `CreateCheckSource$inboundSchema` instead. */ - export const inboundSchema = CreateCheckSource$inboundSchema; - /** @deprecated use `CreateCheckSource$outboundSchema` instead. */ - export const outboundSchema = CreateCheckSource$outboundSchema; -} - -/** @internal */ -export const CreateCheckFCP$inboundSchema: z.ZodType< - CreateCheckFCP, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: CreateCheckSource$inboundSchema, -}); - -/** @internal */ -export type CreateCheckFCP$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const CreateCheckFCP$outboundSchema: z.ZodType< - CreateCheckFCP$Outbound, - z.ZodTypeDef, - CreateCheckFCP -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: CreateCheckSource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckFCP$ { - /** @deprecated use `CreateCheckFCP$inboundSchema` instead. */ - export const inboundSchema = CreateCheckFCP$inboundSchema; - /** @deprecated use `CreateCheckFCP$outboundSchema` instead. */ - export const outboundSchema = CreateCheckFCP$outboundSchema; - /** @deprecated use `CreateCheckFCP$Outbound` instead. */ - export type Outbound = CreateCheckFCP$Outbound; -} - -export function createCheckFCPToJSON(createCheckFCP: CreateCheckFCP): string { - return JSON.stringify(CreateCheckFCP$outboundSchema.parse(createCheckFCP)); -} - -export function createCheckFCPFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateCheckFCP$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateCheckFCP' from JSON`, - ); -} - -/** @internal */ -export const CreateCheckChecksSource$inboundSchema: z.ZodNativeEnum< - typeof CreateCheckChecksSource -> = z.nativeEnum(CreateCheckChecksSource); - -/** @internal */ -export const CreateCheckChecksSource$outboundSchema: z.ZodNativeEnum< - typeof CreateCheckChecksSource -> = CreateCheckChecksSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckChecksSource$ { - /** @deprecated use `CreateCheckChecksSource$inboundSchema` instead. */ - export const inboundSchema = CreateCheckChecksSource$inboundSchema; - /** @deprecated use `CreateCheckChecksSource$outboundSchema` instead. */ - export const outboundSchema = CreateCheckChecksSource$outboundSchema; -} - -/** @internal */ -export const CreateCheckLCP$inboundSchema: z.ZodType< - CreateCheckLCP, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: CreateCheckChecksSource$inboundSchema, -}); - -/** @internal */ -export type CreateCheckLCP$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const CreateCheckLCP$outboundSchema: z.ZodType< - CreateCheckLCP$Outbound, - z.ZodTypeDef, - CreateCheckLCP -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: CreateCheckChecksSource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckLCP$ { - /** @deprecated use `CreateCheckLCP$inboundSchema` instead. */ - export const inboundSchema = CreateCheckLCP$inboundSchema; - /** @deprecated use `CreateCheckLCP$outboundSchema` instead. */ - export const outboundSchema = CreateCheckLCP$outboundSchema; - /** @deprecated use `CreateCheckLCP$Outbound` instead. */ - export type Outbound = CreateCheckLCP$Outbound; -} - -export function createCheckLCPToJSON(createCheckLCP: CreateCheckLCP): string { - return JSON.stringify(CreateCheckLCP$outboundSchema.parse(createCheckLCP)); -} - -export function createCheckLCPFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateCheckLCP$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateCheckLCP' from JSON`, - ); -} - -/** @internal */ -export const CreateCheckChecksResponseSource$inboundSchema: z.ZodNativeEnum< - typeof CreateCheckChecksResponseSource -> = z.nativeEnum(CreateCheckChecksResponseSource); - -/** @internal */ -export const CreateCheckChecksResponseSource$outboundSchema: z.ZodNativeEnum< - typeof CreateCheckChecksResponseSource -> = CreateCheckChecksResponseSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckChecksResponseSource$ { - /** @deprecated use `CreateCheckChecksResponseSource$inboundSchema` instead. */ - export const inboundSchema = CreateCheckChecksResponseSource$inboundSchema; - /** @deprecated use `CreateCheckChecksResponseSource$outboundSchema` instead. */ - export const outboundSchema = CreateCheckChecksResponseSource$outboundSchema; -} - -/** @internal */ -export const CreateCheckCLS$inboundSchema: z.ZodType< - CreateCheckCLS, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: CreateCheckChecksResponseSource$inboundSchema, -}); - -/** @internal */ -export type CreateCheckCLS$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const CreateCheckCLS$outboundSchema: z.ZodType< - CreateCheckCLS$Outbound, - z.ZodTypeDef, - CreateCheckCLS -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: CreateCheckChecksResponseSource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckCLS$ { - /** @deprecated use `CreateCheckCLS$inboundSchema` instead. */ - export const inboundSchema = CreateCheckCLS$inboundSchema; - /** @deprecated use `CreateCheckCLS$outboundSchema` instead. */ - export const outboundSchema = CreateCheckCLS$outboundSchema; - /** @deprecated use `CreateCheckCLS$Outbound` instead. */ - export type Outbound = CreateCheckCLS$Outbound; -} - -export function createCheckCLSToJSON(createCheckCLS: CreateCheckCLS): string { - return JSON.stringify(CreateCheckCLS$outboundSchema.parse(createCheckCLS)); -} - -export function createCheckCLSFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateCheckCLS$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateCheckCLS' from JSON`, - ); -} - -/** @internal */ -export const CreateCheckChecksResponse200Source$inboundSchema: z.ZodNativeEnum< - typeof CreateCheckChecksResponse200Source -> = z.nativeEnum(CreateCheckChecksResponse200Source); - -/** @internal */ -export const CreateCheckChecksResponse200Source$outboundSchema: z.ZodNativeEnum< - typeof CreateCheckChecksResponse200Source -> = CreateCheckChecksResponse200Source$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckChecksResponse200Source$ { - /** @deprecated use `CreateCheckChecksResponse200Source$inboundSchema` instead. */ - export const inboundSchema = CreateCheckChecksResponse200Source$inboundSchema; - /** @deprecated use `CreateCheckChecksResponse200Source$outboundSchema` instead. */ - export const outboundSchema = - CreateCheckChecksResponse200Source$outboundSchema; -} - -/** @internal */ -export const CreateCheckTBT$inboundSchema: z.ZodType< - CreateCheckTBT, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: CreateCheckChecksResponse200Source$inboundSchema, -}); - -/** @internal */ -export type CreateCheckTBT$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const CreateCheckTBT$outboundSchema: z.ZodType< - CreateCheckTBT$Outbound, - z.ZodTypeDef, - CreateCheckTBT -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: CreateCheckChecksResponse200Source$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckTBT$ { - /** @deprecated use `CreateCheckTBT$inboundSchema` instead. */ - export const inboundSchema = CreateCheckTBT$inboundSchema; - /** @deprecated use `CreateCheckTBT$outboundSchema` instead. */ - export const outboundSchema = CreateCheckTBT$outboundSchema; - /** @deprecated use `CreateCheckTBT$Outbound` instead. */ - export type Outbound = CreateCheckTBT$Outbound; -} - -export function createCheckTBTToJSON(createCheckTBT: CreateCheckTBT): string { - return JSON.stringify(CreateCheckTBT$outboundSchema.parse(createCheckTBT)); -} - -export function createCheckTBTFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateCheckTBT$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateCheckTBT' from JSON`, - ); -} - -/** @internal */ -export const CreateCheckChecksResponse200ApplicationJSONSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateCheckChecksResponse200ApplicationJSONSource); - -/** @internal */ -export const CreateCheckChecksResponse200ApplicationJSONSource$outboundSchema: - z.ZodNativeEnum = - CreateCheckChecksResponse200ApplicationJSONSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckChecksResponse200ApplicationJSONSource$ { - /** @deprecated use `CreateCheckChecksResponse200ApplicationJSONSource$inboundSchema` instead. */ - export const inboundSchema = - CreateCheckChecksResponse200ApplicationJSONSource$inboundSchema; - /** @deprecated use `CreateCheckChecksResponse200ApplicationJSONSource$outboundSchema` instead. */ - export const outboundSchema = - CreateCheckChecksResponse200ApplicationJSONSource$outboundSchema; -} - -/** @internal */ -export const CreateCheckVirtualExperienceScore$inboundSchema: z.ZodType< - CreateCheckVirtualExperienceScore, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: CreateCheckChecksResponse200ApplicationJSONSource$inboundSchema, -}); - -/** @internal */ -export type CreateCheckVirtualExperienceScore$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const CreateCheckVirtualExperienceScore$outboundSchema: z.ZodType< - CreateCheckVirtualExperienceScore$Outbound, - z.ZodTypeDef, - CreateCheckVirtualExperienceScore -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: CreateCheckChecksResponse200ApplicationJSONSource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckVirtualExperienceScore$ { - /** @deprecated use `CreateCheckVirtualExperienceScore$inboundSchema` instead. */ - export const inboundSchema = CreateCheckVirtualExperienceScore$inboundSchema; - /** @deprecated use `CreateCheckVirtualExperienceScore$outboundSchema` instead. */ - export const outboundSchema = - CreateCheckVirtualExperienceScore$outboundSchema; - /** @deprecated use `CreateCheckVirtualExperienceScore$Outbound` instead. */ - export type Outbound = CreateCheckVirtualExperienceScore$Outbound; -} - -export function createCheckVirtualExperienceScoreToJSON( - createCheckVirtualExperienceScore: CreateCheckVirtualExperienceScore, -): string { - return JSON.stringify( - CreateCheckVirtualExperienceScore$outboundSchema.parse( - createCheckVirtualExperienceScore, - ), - ); -} - -export function createCheckVirtualExperienceScoreFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateCheckVirtualExperienceScore$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateCheckVirtualExperienceScore' from JSON`, - ); -} - -/** @internal */ -export const CreateCheckMetrics$inboundSchema: z.ZodType< - CreateCheckMetrics, - z.ZodTypeDef, - unknown -> = z.object({ - FCP: z.lazy(() => CreateCheckFCP$inboundSchema), - LCP: z.lazy(() => CreateCheckLCP$inboundSchema), - CLS: z.lazy(() => CreateCheckCLS$inboundSchema), - TBT: z.lazy(() => CreateCheckTBT$inboundSchema), - virtualExperienceScore: z.lazy(() => - CreateCheckVirtualExperienceScore$inboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - "FCP": "fcp", - "LCP": "lcp", - "CLS": "cls", - "TBT": "tbt", - }); -}); - -/** @internal */ -export type CreateCheckMetrics$Outbound = { - FCP: CreateCheckFCP$Outbound; - LCP: CreateCheckLCP$Outbound; - CLS: CreateCheckCLS$Outbound; - TBT: CreateCheckTBT$Outbound; - virtualExperienceScore?: - | CreateCheckVirtualExperienceScore$Outbound - | undefined; -}; - -/** @internal */ -export const CreateCheckMetrics$outboundSchema: z.ZodType< - CreateCheckMetrics$Outbound, - z.ZodTypeDef, - CreateCheckMetrics -> = z.object({ - fcp: z.lazy(() => CreateCheckFCP$outboundSchema), - lcp: z.lazy(() => CreateCheckLCP$outboundSchema), - cls: z.lazy(() => CreateCheckCLS$outboundSchema), - tbt: z.lazy(() => CreateCheckTBT$outboundSchema), - virtualExperienceScore: z.lazy(() => - CreateCheckVirtualExperienceScore$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - fcp: "FCP", - lcp: "LCP", - cls: "CLS", - tbt: "TBT", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckMetrics$ { - /** @deprecated use `CreateCheckMetrics$inboundSchema` instead. */ - export const inboundSchema = CreateCheckMetrics$inboundSchema; - /** @deprecated use `CreateCheckMetrics$outboundSchema` instead. */ - export const outboundSchema = CreateCheckMetrics$outboundSchema; - /** @deprecated use `CreateCheckMetrics$Outbound` instead. */ - export type Outbound = CreateCheckMetrics$Outbound; -} - -export function createCheckMetricsToJSON( - createCheckMetrics: CreateCheckMetrics, -): string { - return JSON.stringify( - CreateCheckMetrics$outboundSchema.parse(createCheckMetrics), - ); -} - -export function createCheckMetricsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateCheckMetrics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateCheckMetrics' from JSON`, - ); -} - -/** @internal */ -export const CreateCheckOutput$inboundSchema: z.ZodType< - CreateCheckOutput, - z.ZodTypeDef, - unknown -> = z.object({ - metrics: z.lazy(() => CreateCheckMetrics$inboundSchema).optional(), -}); - -/** @internal */ -export type CreateCheckOutput$Outbound = { - metrics?: CreateCheckMetrics$Outbound | undefined; -}; - -/** @internal */ -export const CreateCheckOutput$outboundSchema: z.ZodType< - CreateCheckOutput$Outbound, - z.ZodTypeDef, - CreateCheckOutput -> = z.object({ - metrics: z.lazy(() => CreateCheckMetrics$outboundSchema).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckOutput$ { - /** @deprecated use `CreateCheckOutput$inboundSchema` instead. */ - export const inboundSchema = CreateCheckOutput$inboundSchema; - /** @deprecated use `CreateCheckOutput$outboundSchema` instead. */ - export const outboundSchema = CreateCheckOutput$outboundSchema; - /** @deprecated use `CreateCheckOutput$Outbound` instead. */ - export type Outbound = CreateCheckOutput$Outbound; -} - -export function createCheckOutputToJSON( - createCheckOutput: CreateCheckOutput, -): string { - return JSON.stringify( - CreateCheckOutput$outboundSchema.parse(createCheckOutput), - ); -} - -export function createCheckOutputFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateCheckOutput$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateCheckOutput' from JSON`, - ); -} - -/** @internal */ -export const CreateCheckResponseBody$inboundSchema: z.ZodType< - CreateCheckResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string(), - path: z.string().optional(), - status: CreateCheckStatus$inboundSchema, - conclusion: CreateCheckConclusion$inboundSchema.optional(), - blocking: z.boolean(), - output: z.lazy(() => CreateCheckOutput$inboundSchema).optional(), - detailsUrl: z.string().optional(), - integrationId: z.string(), - deploymentId: z.string(), - externalId: z.string().optional(), - createdAt: z.number(), - updatedAt: z.number(), - startedAt: z.number().optional(), - completedAt: z.number().optional(), - rerequestable: z.boolean().optional(), -}); - -/** @internal */ -export type CreateCheckResponseBody$Outbound = { - id: string; - name: string; - path?: string | undefined; - status: string; - conclusion?: string | undefined; - blocking: boolean; - output?: CreateCheckOutput$Outbound | undefined; - detailsUrl?: string | undefined; - integrationId: string; - deploymentId: string; - externalId?: string | undefined; - createdAt: number; - updatedAt: number; - startedAt?: number | undefined; - completedAt?: number | undefined; - rerequestable?: boolean | undefined; -}; - -/** @internal */ -export const CreateCheckResponseBody$outboundSchema: z.ZodType< - CreateCheckResponseBody$Outbound, - z.ZodTypeDef, - CreateCheckResponseBody -> = z.object({ - id: z.string(), - name: z.string(), - path: z.string().optional(), - status: CreateCheckStatus$outboundSchema, - conclusion: CreateCheckConclusion$outboundSchema.optional(), - blocking: z.boolean(), - output: z.lazy(() => CreateCheckOutput$outboundSchema).optional(), - detailsUrl: z.string().optional(), - integrationId: z.string(), - deploymentId: z.string(), - externalId: z.string().optional(), - createdAt: z.number(), - updatedAt: z.number(), - startedAt: z.number().optional(), - completedAt: z.number().optional(), - rerequestable: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCheckResponseBody$ { - /** @deprecated use `CreateCheckResponseBody$inboundSchema` instead. */ - export const inboundSchema = CreateCheckResponseBody$inboundSchema; - /** @deprecated use `CreateCheckResponseBody$outboundSchema` instead. */ - export const outboundSchema = CreateCheckResponseBody$outboundSchema; - /** @deprecated use `CreateCheckResponseBody$Outbound` instead. */ - export type Outbound = CreateCheckResponseBody$Outbound; -} - -export function createCheckResponseBodyToJSON( - createCheckResponseBody: CreateCheckResponseBody, -): string { - return JSON.stringify( - CreateCheckResponseBody$outboundSchema.parse(createCheckResponseBody), - ); -} - -export function createCheckResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateCheckResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateCheckResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/createconfigurablelogdrain.ts b/src/models/operations/createconfigurablelogdrain.ts deleted file mode 100644 index 744cf58d..00000000 --- a/src/models/operations/createconfigurablelogdrain.ts +++ /dev/null @@ -1,675 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The delivery log format - */ -export const CreateConfigurableLogDrainDeliveryFormat = { - Json: "json", - Ndjson: "ndjson", -} as const; -/** - * The delivery log format - */ -export type CreateConfigurableLogDrainDeliveryFormat = ClosedEnum< - typeof CreateConfigurableLogDrainDeliveryFormat ->; - -export const CreateConfigurableLogDrainSources = { - Static: "static", - Lambda: "lambda", - Build: "build", - Edge: "edge", - External: "external", - Firewall: "firewall", -} as const; -export type CreateConfigurableLogDrainSources = ClosedEnum< - typeof CreateConfigurableLogDrainSources ->; - -export const CreateConfigurableLogDrainEnvironments = { - Preview: "preview", - Production: "production", -} as const; -export type CreateConfigurableLogDrainEnvironments = ClosedEnum< - typeof CreateConfigurableLogDrainEnvironments ->; - -export type CreateConfigurableLogDrainRequestBody = { - /** - * The delivery log format - */ - deliveryFormat: CreateConfigurableLogDrainDeliveryFormat; - /** - * The log drain url - */ - url: string; - /** - * Headers to be sent together with the request - */ - headers?: { [k: string]: string } | undefined; - projectIds?: Array | undefined; - sources: Array; - environments?: Array | undefined; - /** - * Custom secret of log drain - */ - secret?: string | undefined; - /** - * The sampling rate for this log drain. It should be a percentage rate between 0 and 100. With max 2 decimal points - */ - samplingRate?: number | undefined; - /** - * The custom name of this log drain. - */ - name?: string | undefined; -}; - -export type CreateConfigurableLogDrainRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: CreateConfigurableLogDrainRequestBody | undefined; -}; - -export const CreateConfigurableLogDrainLogDrainsDeliveryFormat = { - Json: "json", - Ndjson: "ndjson", - Syslog: "syslog", -} as const; -export type CreateConfigurableLogDrainLogDrainsDeliveryFormat = ClosedEnum< - typeof CreateConfigurableLogDrainLogDrainsDeliveryFormat ->; - -export const CreateConfigurableLogDrainLogDrainsSources = { - Build: "build", - Edge: "edge", - Lambda: "lambda", - Static: "static", - External: "external", - Firewall: "firewall", -} as const; -export type CreateConfigurableLogDrainLogDrainsSources = ClosedEnum< - typeof CreateConfigurableLogDrainLogDrainsSources ->; - -export const CreateConfigurableLogDrainLogDrainsEnvironments = { - Production: "production", - Preview: "preview", -} as const; -export type CreateConfigurableLogDrainLogDrainsEnvironments = ClosedEnum< - typeof CreateConfigurableLogDrainLogDrainsEnvironments ->; - -export const CreateConfigurableLogDrainStatus = { - Enabled: "enabled", - Disabled: "disabled", - Errored: "errored", -} as const; -export type CreateConfigurableLogDrainStatus = ClosedEnum< - typeof CreateConfigurableLogDrainStatus ->; - -export const CreateConfigurableLogDrainDisabledReason = { - DisabledByOwner: "disabled-by-owner", - FeatureNotAvailable: "feature-not-available", - AccountPlanDowngrade: "account-plan-downgrade", - DisabledByAdmin: "disabled-by-admin", -} as const; -export type CreateConfigurableLogDrainDisabledReason = ClosedEnum< - typeof CreateConfigurableLogDrainDisabledReason ->; - -export const CreateConfigurableLogDrainCreatedFrom = { - SelfServed: "self-served", -} as const; -export type CreateConfigurableLogDrainCreatedFrom = ClosedEnum< - typeof CreateConfigurableLogDrainCreatedFrom ->; - -export type CreateConfigurableLogDrainResponseBody = { - /** - * The secret to validate the log-drain payload - */ - secret?: string | undefined; - id: string; - deliveryFormat: CreateConfigurableLogDrainLogDrainsDeliveryFormat; - url: string; - name: string; - clientId?: string | undefined; - configurationId?: string | undefined; - teamId?: string | null | undefined; - ownerId: string; - projectIds?: Array | undefined; - createdAt: number; - deletedAt: number | null; - updatedAt: number; - sources?: Array | undefined; - headers?: { [k: string]: string } | undefined; - environments: Array; - status?: CreateConfigurableLogDrainStatus | undefined; - disabledAt?: number | undefined; - disabledReason?: CreateConfigurableLogDrainDisabledReason | undefined; - disabledBy?: string | undefined; - firstErrorTimestamp?: number | undefined; - samplingRate?: number | undefined; - hideIpAddresses?: boolean | undefined; - createdFrom?: CreateConfigurableLogDrainCreatedFrom | undefined; -}; - -/** @internal */ -export const CreateConfigurableLogDrainDeliveryFormat$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateConfigurableLogDrainDeliveryFormat); - -/** @internal */ -export const CreateConfigurableLogDrainDeliveryFormat$outboundSchema: - z.ZodNativeEnum = - CreateConfigurableLogDrainDeliveryFormat$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateConfigurableLogDrainDeliveryFormat$ { - /** @deprecated use `CreateConfigurableLogDrainDeliveryFormat$inboundSchema` instead. */ - export const inboundSchema = - CreateConfigurableLogDrainDeliveryFormat$inboundSchema; - /** @deprecated use `CreateConfigurableLogDrainDeliveryFormat$outboundSchema` instead. */ - export const outboundSchema = - CreateConfigurableLogDrainDeliveryFormat$outboundSchema; -} - -/** @internal */ -export const CreateConfigurableLogDrainSources$inboundSchema: z.ZodNativeEnum< - typeof CreateConfigurableLogDrainSources -> = z.nativeEnum(CreateConfigurableLogDrainSources); - -/** @internal */ -export const CreateConfigurableLogDrainSources$outboundSchema: z.ZodNativeEnum< - typeof CreateConfigurableLogDrainSources -> = CreateConfigurableLogDrainSources$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateConfigurableLogDrainSources$ { - /** @deprecated use `CreateConfigurableLogDrainSources$inboundSchema` instead. */ - export const inboundSchema = CreateConfigurableLogDrainSources$inboundSchema; - /** @deprecated use `CreateConfigurableLogDrainSources$outboundSchema` instead. */ - export const outboundSchema = - CreateConfigurableLogDrainSources$outboundSchema; -} - -/** @internal */ -export const CreateConfigurableLogDrainEnvironments$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateConfigurableLogDrainEnvironments, - ); - -/** @internal */ -export const CreateConfigurableLogDrainEnvironments$outboundSchema: - z.ZodNativeEnum = - CreateConfigurableLogDrainEnvironments$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateConfigurableLogDrainEnvironments$ { - /** @deprecated use `CreateConfigurableLogDrainEnvironments$inboundSchema` instead. */ - export const inboundSchema = - CreateConfigurableLogDrainEnvironments$inboundSchema; - /** @deprecated use `CreateConfigurableLogDrainEnvironments$outboundSchema` instead. */ - export const outboundSchema = - CreateConfigurableLogDrainEnvironments$outboundSchema; -} - -/** @internal */ -export const CreateConfigurableLogDrainRequestBody$inboundSchema: z.ZodType< - CreateConfigurableLogDrainRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - deliveryFormat: CreateConfigurableLogDrainDeliveryFormat$inboundSchema, - url: z.string(), - headers: z.record(z.string()).optional(), - projectIds: z.array(z.string()).optional(), - sources: z.array(CreateConfigurableLogDrainSources$inboundSchema), - environments: z.array(CreateConfigurableLogDrainEnvironments$inboundSchema) - .optional(), - secret: z.string().optional(), - samplingRate: z.number().optional(), - name: z.string().optional(), -}); - -/** @internal */ -export type CreateConfigurableLogDrainRequestBody$Outbound = { - deliveryFormat: string; - url: string; - headers?: { [k: string]: string } | undefined; - projectIds?: Array | undefined; - sources: Array; - environments?: Array | undefined; - secret?: string | undefined; - samplingRate?: number | undefined; - name?: string | undefined; -}; - -/** @internal */ -export const CreateConfigurableLogDrainRequestBody$outboundSchema: z.ZodType< - CreateConfigurableLogDrainRequestBody$Outbound, - z.ZodTypeDef, - CreateConfigurableLogDrainRequestBody -> = z.object({ - deliveryFormat: CreateConfigurableLogDrainDeliveryFormat$outboundSchema, - url: z.string(), - headers: z.record(z.string()).optional(), - projectIds: z.array(z.string()).optional(), - sources: z.array(CreateConfigurableLogDrainSources$outboundSchema), - environments: z.array(CreateConfigurableLogDrainEnvironments$outboundSchema) - .optional(), - secret: z.string().optional(), - samplingRate: z.number().optional(), - name: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateConfigurableLogDrainRequestBody$ { - /** @deprecated use `CreateConfigurableLogDrainRequestBody$inboundSchema` instead. */ - export const inboundSchema = - CreateConfigurableLogDrainRequestBody$inboundSchema; - /** @deprecated use `CreateConfigurableLogDrainRequestBody$outboundSchema` instead. */ - export const outboundSchema = - CreateConfigurableLogDrainRequestBody$outboundSchema; - /** @deprecated use `CreateConfigurableLogDrainRequestBody$Outbound` instead. */ - export type Outbound = CreateConfigurableLogDrainRequestBody$Outbound; -} - -export function createConfigurableLogDrainRequestBodyToJSON( - createConfigurableLogDrainRequestBody: CreateConfigurableLogDrainRequestBody, -): string { - return JSON.stringify( - CreateConfigurableLogDrainRequestBody$outboundSchema.parse( - createConfigurableLogDrainRequestBody, - ), - ); -} - -export function createConfigurableLogDrainRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateConfigurableLogDrainRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateConfigurableLogDrainRequestBody' from JSON`, - ); -} - -/** @internal */ -export const CreateConfigurableLogDrainRequest$inboundSchema: z.ZodType< - CreateConfigurableLogDrainRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => CreateConfigurableLogDrainRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type CreateConfigurableLogDrainRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: CreateConfigurableLogDrainRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const CreateConfigurableLogDrainRequest$outboundSchema: z.ZodType< - CreateConfigurableLogDrainRequest$Outbound, - z.ZodTypeDef, - CreateConfigurableLogDrainRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - CreateConfigurableLogDrainRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateConfigurableLogDrainRequest$ { - /** @deprecated use `CreateConfigurableLogDrainRequest$inboundSchema` instead. */ - export const inboundSchema = CreateConfigurableLogDrainRequest$inboundSchema; - /** @deprecated use `CreateConfigurableLogDrainRequest$outboundSchema` instead. */ - export const outboundSchema = - CreateConfigurableLogDrainRequest$outboundSchema; - /** @deprecated use `CreateConfigurableLogDrainRequest$Outbound` instead. */ - export type Outbound = CreateConfigurableLogDrainRequest$Outbound; -} - -export function createConfigurableLogDrainRequestToJSON( - createConfigurableLogDrainRequest: CreateConfigurableLogDrainRequest, -): string { - return JSON.stringify( - CreateConfigurableLogDrainRequest$outboundSchema.parse( - createConfigurableLogDrainRequest, - ), - ); -} - -export function createConfigurableLogDrainRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateConfigurableLogDrainRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateConfigurableLogDrainRequest' from JSON`, - ); -} - -/** @internal */ -export const CreateConfigurableLogDrainLogDrainsDeliveryFormat$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateConfigurableLogDrainLogDrainsDeliveryFormat); - -/** @internal */ -export const CreateConfigurableLogDrainLogDrainsDeliveryFormat$outboundSchema: - z.ZodNativeEnum = - CreateConfigurableLogDrainLogDrainsDeliveryFormat$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateConfigurableLogDrainLogDrainsDeliveryFormat$ { - /** @deprecated use `CreateConfigurableLogDrainLogDrainsDeliveryFormat$inboundSchema` instead. */ - export const inboundSchema = - CreateConfigurableLogDrainLogDrainsDeliveryFormat$inboundSchema; - /** @deprecated use `CreateConfigurableLogDrainLogDrainsDeliveryFormat$outboundSchema` instead. */ - export const outboundSchema = - CreateConfigurableLogDrainLogDrainsDeliveryFormat$outboundSchema; -} - -/** @internal */ -export const CreateConfigurableLogDrainLogDrainsSources$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateConfigurableLogDrainLogDrainsSources); - -/** @internal */ -export const CreateConfigurableLogDrainLogDrainsSources$outboundSchema: - z.ZodNativeEnum = - CreateConfigurableLogDrainLogDrainsSources$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateConfigurableLogDrainLogDrainsSources$ { - /** @deprecated use `CreateConfigurableLogDrainLogDrainsSources$inboundSchema` instead. */ - export const inboundSchema = - CreateConfigurableLogDrainLogDrainsSources$inboundSchema; - /** @deprecated use `CreateConfigurableLogDrainLogDrainsSources$outboundSchema` instead. */ - export const outboundSchema = - CreateConfigurableLogDrainLogDrainsSources$outboundSchema; -} - -/** @internal */ -export const CreateConfigurableLogDrainLogDrainsEnvironments$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateConfigurableLogDrainLogDrainsEnvironments); - -/** @internal */ -export const CreateConfigurableLogDrainLogDrainsEnvironments$outboundSchema: - z.ZodNativeEnum = - CreateConfigurableLogDrainLogDrainsEnvironments$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateConfigurableLogDrainLogDrainsEnvironments$ { - /** @deprecated use `CreateConfigurableLogDrainLogDrainsEnvironments$inboundSchema` instead. */ - export const inboundSchema = - CreateConfigurableLogDrainLogDrainsEnvironments$inboundSchema; - /** @deprecated use `CreateConfigurableLogDrainLogDrainsEnvironments$outboundSchema` instead. */ - export const outboundSchema = - CreateConfigurableLogDrainLogDrainsEnvironments$outboundSchema; -} - -/** @internal */ -export const CreateConfigurableLogDrainStatus$inboundSchema: z.ZodNativeEnum< - typeof CreateConfigurableLogDrainStatus -> = z.nativeEnum(CreateConfigurableLogDrainStatus); - -/** @internal */ -export const CreateConfigurableLogDrainStatus$outboundSchema: z.ZodNativeEnum< - typeof CreateConfigurableLogDrainStatus -> = CreateConfigurableLogDrainStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateConfigurableLogDrainStatus$ { - /** @deprecated use `CreateConfigurableLogDrainStatus$inboundSchema` instead. */ - export const inboundSchema = CreateConfigurableLogDrainStatus$inboundSchema; - /** @deprecated use `CreateConfigurableLogDrainStatus$outboundSchema` instead. */ - export const outboundSchema = CreateConfigurableLogDrainStatus$outboundSchema; -} - -/** @internal */ -export const CreateConfigurableLogDrainDisabledReason$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateConfigurableLogDrainDisabledReason); - -/** @internal */ -export const CreateConfigurableLogDrainDisabledReason$outboundSchema: - z.ZodNativeEnum = - CreateConfigurableLogDrainDisabledReason$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateConfigurableLogDrainDisabledReason$ { - /** @deprecated use `CreateConfigurableLogDrainDisabledReason$inboundSchema` instead. */ - export const inboundSchema = - CreateConfigurableLogDrainDisabledReason$inboundSchema; - /** @deprecated use `CreateConfigurableLogDrainDisabledReason$outboundSchema` instead. */ - export const outboundSchema = - CreateConfigurableLogDrainDisabledReason$outboundSchema; -} - -/** @internal */ -export const CreateConfigurableLogDrainCreatedFrom$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateConfigurableLogDrainCreatedFrom, - ); - -/** @internal */ -export const CreateConfigurableLogDrainCreatedFrom$outboundSchema: - z.ZodNativeEnum = - CreateConfigurableLogDrainCreatedFrom$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateConfigurableLogDrainCreatedFrom$ { - /** @deprecated use `CreateConfigurableLogDrainCreatedFrom$inboundSchema` instead. */ - export const inboundSchema = - CreateConfigurableLogDrainCreatedFrom$inboundSchema; - /** @deprecated use `CreateConfigurableLogDrainCreatedFrom$outboundSchema` instead. */ - export const outboundSchema = - CreateConfigurableLogDrainCreatedFrom$outboundSchema; -} - -/** @internal */ -export const CreateConfigurableLogDrainResponseBody$inboundSchema: z.ZodType< - CreateConfigurableLogDrainResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - secret: z.string().optional(), - id: z.string(), - deliveryFormat: - CreateConfigurableLogDrainLogDrainsDeliveryFormat$inboundSchema, - url: z.string(), - name: z.string(), - clientId: z.string().optional(), - configurationId: z.string().optional(), - teamId: z.nullable(z.string()).optional(), - ownerId: z.string(), - projectIds: z.array(z.string()).optional(), - createdAt: z.number(), - deletedAt: z.nullable(z.number()), - updatedAt: z.number(), - sources: z.array(CreateConfigurableLogDrainLogDrainsSources$inboundSchema) - .optional(), - headers: z.record(z.string()).optional(), - environments: z.array( - CreateConfigurableLogDrainLogDrainsEnvironments$inboundSchema, - ), - status: CreateConfigurableLogDrainStatus$inboundSchema.optional(), - disabledAt: z.number().optional(), - disabledReason: CreateConfigurableLogDrainDisabledReason$inboundSchema - .optional(), - disabledBy: z.string().optional(), - firstErrorTimestamp: z.number().optional(), - samplingRate: z.number().optional(), - hideIpAddresses: z.boolean().optional(), - createdFrom: CreateConfigurableLogDrainCreatedFrom$inboundSchema.optional(), -}); - -/** @internal */ -export type CreateConfigurableLogDrainResponseBody$Outbound = { - secret?: string | undefined; - id: string; - deliveryFormat: string; - url: string; - name: string; - clientId?: string | undefined; - configurationId?: string | undefined; - teamId?: string | null | undefined; - ownerId: string; - projectIds?: Array | undefined; - createdAt: number; - deletedAt: number | null; - updatedAt: number; - sources?: Array | undefined; - headers?: { [k: string]: string } | undefined; - environments: Array; - status?: string | undefined; - disabledAt?: number | undefined; - disabledReason?: string | undefined; - disabledBy?: string | undefined; - firstErrorTimestamp?: number | undefined; - samplingRate?: number | undefined; - hideIpAddresses?: boolean | undefined; - createdFrom?: string | undefined; -}; - -/** @internal */ -export const CreateConfigurableLogDrainResponseBody$outboundSchema: z.ZodType< - CreateConfigurableLogDrainResponseBody$Outbound, - z.ZodTypeDef, - CreateConfigurableLogDrainResponseBody -> = z.object({ - secret: z.string().optional(), - id: z.string(), - deliveryFormat: - CreateConfigurableLogDrainLogDrainsDeliveryFormat$outboundSchema, - url: z.string(), - name: z.string(), - clientId: z.string().optional(), - configurationId: z.string().optional(), - teamId: z.nullable(z.string()).optional(), - ownerId: z.string(), - projectIds: z.array(z.string()).optional(), - createdAt: z.number(), - deletedAt: z.nullable(z.number()), - updatedAt: z.number(), - sources: z.array(CreateConfigurableLogDrainLogDrainsSources$outboundSchema) - .optional(), - headers: z.record(z.string()).optional(), - environments: z.array( - CreateConfigurableLogDrainLogDrainsEnvironments$outboundSchema, - ), - status: CreateConfigurableLogDrainStatus$outboundSchema.optional(), - disabledAt: z.number().optional(), - disabledReason: CreateConfigurableLogDrainDisabledReason$outboundSchema - .optional(), - disabledBy: z.string().optional(), - firstErrorTimestamp: z.number().optional(), - samplingRate: z.number().optional(), - hideIpAddresses: z.boolean().optional(), - createdFrom: CreateConfigurableLogDrainCreatedFrom$outboundSchema.optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateConfigurableLogDrainResponseBody$ { - /** @deprecated use `CreateConfigurableLogDrainResponseBody$inboundSchema` instead. */ - export const inboundSchema = - CreateConfigurableLogDrainResponseBody$inboundSchema; - /** @deprecated use `CreateConfigurableLogDrainResponseBody$outboundSchema` instead. */ - export const outboundSchema = - CreateConfigurableLogDrainResponseBody$outboundSchema; - /** @deprecated use `CreateConfigurableLogDrainResponseBody$Outbound` instead. */ - export type Outbound = CreateConfigurableLogDrainResponseBody$Outbound; -} - -export function createConfigurableLogDrainResponseBodyToJSON( - createConfigurableLogDrainResponseBody: - CreateConfigurableLogDrainResponseBody, -): string { - return JSON.stringify( - CreateConfigurableLogDrainResponseBody$outboundSchema.parse( - createConfigurableLogDrainResponseBody, - ), - ); -} - -export function createConfigurableLogDrainResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateConfigurableLogDrainResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateConfigurableLogDrainResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/createdeployment.ts b/src/models/operations/createdeployment.ts deleted file mode 100644 index 78e4943c..00000000 --- a/src/models/operations/createdeployment.ts +++ /dev/null @@ -1,6780 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - FlagJSONValue, - FlagJSONValue$inboundSchema, - FlagJSONValue$Outbound, - FlagJSONValue$outboundSchema, -} from "../components/flagjsonvalue.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Allows to skip framework detection so the API would not fail to ask for confirmation - */ -export const SkipAutoDetectionConfirmation = { - Zero: "0", - One: "1", -} as const; -/** - * Allows to skip framework detection so the API would not fail to ask for confirmation - */ -export type SkipAutoDetectionConfirmation = ClosedEnum< - typeof SkipAutoDetectionConfirmation ->; - -/** - * Forces a new deployment even if there is a previous similar deployment - */ -export const ForceNew = { - Zero: "0", - One: "1", -} as const; -/** - * Forces a new deployment even if there is a previous similar deployment - */ -export type ForceNew = ClosedEnum; - -/** - * Used in the case you want to reference a file that was already uploaded - */ -export type UploadedFile = { - /** - * The file path relative to the project root - */ - file: string; - /** - * The file contents hashed with SHA1, used to check the integrity - */ - sha?: string | undefined; - /** - * The file size in bytes - */ - size?: number | undefined; -}; - -/** - * The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code. - */ -export const Encoding = { - Base64: "base64", - Utf8: "utf-8", -} as const; -/** - * The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code. - */ -export type Encoding = ClosedEnum; - -/** - * Used in the case you want to inline a file inside the request - */ -export type InlinedFile = { - /** - * The file content, it could be either a `base64` (useful for images, etc.) of the files or the plain content for source code - */ - data: string; - /** - * The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code. - */ - encoding?: Encoding | undefined; - /** - * The file name including the whole path - */ - file: string; -}; - -export type Files = InlinedFile | UploadedFile; - -/** - * Populates initial git metadata for different git providers. - */ -export type GitMetadata = { - /** - * The git repository's remote origin url - */ - remoteUrl?: string | undefined; - /** - * The name of the author of the commit - */ - commitAuthorName?: string | undefined; - /** - * The commit message - */ - commitMessage?: string | undefined; - /** - * The branch on which the commit was made - */ - commitRef?: string | undefined; - /** - * The hash of the commit - */ - commitSha?: string | undefined; - /** - * Whether or not there have been modifications to the working tree since the latest commit - */ - dirty?: boolean | undefined; -}; - -export const CreateDeploymentGitSourceDeploymentsRequestType = { - Bitbucket: "bitbucket", -} as const; -export type CreateDeploymentGitSourceDeploymentsRequestType = ClosedEnum< - typeof CreateDeploymentGitSourceDeploymentsRequestType ->; - -export type Five = { - owner: string; - ref: string; - sha?: string | undefined; - slug: string; - type: CreateDeploymentGitSourceDeploymentsRequestType; -}; - -export const CreateDeploymentGitSourceDeploymentsType = { - Bitbucket: "bitbucket", -} as const; -export type CreateDeploymentGitSourceDeploymentsType = ClosedEnum< - typeof CreateDeploymentGitSourceDeploymentsType ->; - -export type Four = { - ref: string; - repoUuid: string; - sha?: string | undefined; - type: CreateDeploymentGitSourceDeploymentsType; - workspaceUuid?: string | undefined; -}; - -export type ProjectId = number | string; - -export const CreateDeploymentGitSourceType = { - Gitlab: "gitlab", -} as const; -export type CreateDeploymentGitSourceType = ClosedEnum< - typeof CreateDeploymentGitSourceType ->; - -export type Three = { - projectId: number | string; - ref: string; - sha?: string | undefined; - type: CreateDeploymentGitSourceType; -}; - -export const GitSourceType = { - Github: "github", -} as const; -export type GitSourceType = ClosedEnum; - -export type Two = { - org: string; - ref: string; - repo: string; - sha?: string | undefined; - type: GitSourceType; -}; - -export type RepoId = number | string; - -export const Type = { - Github: "github", -} as const; -export type Type = ClosedEnum; - -export type One = { - ref: string; - repoId: number | string; - sha?: string | undefined; - type: Type; -}; - -/** - * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`. - */ -export type GitSource = One | Three | Two | Four | Five; - -/** - * The framework that is being used for this project. When `null` is used no framework is selected - */ -export const Framework = { - Blitzjs: "blitzjs", - Nextjs: "nextjs", - Gatsby: "gatsby", - Remix: "remix", - Astro: "astro", - Hexo: "hexo", - Eleventy: "eleventy", - Docusaurus2: "docusaurus-2", - Docusaurus: "docusaurus", - Preact: "preact", - Solidstart1: "solidstart-1", - Solidstart: "solidstart", - Dojo: "dojo", - Ember: "ember", - Vue: "vue", - Scully: "scully", - IonicAngular: "ionic-angular", - Angular: "angular", - Polymer: "polymer", - Svelte: "svelte", - Sveltekit: "sveltekit", - Sveltekit1: "sveltekit-1", - IonicReact: "ionic-react", - CreateReactApp: "create-react-app", - Gridsome: "gridsome", - Umijs: "umijs", - Sapper: "sapper", - Saber: "saber", - Stencil: "stencil", - Nuxtjs: "nuxtjs", - Redwoodjs: "redwoodjs", - Hugo: "hugo", - Jekyll: "jekyll", - Brunch: "brunch", - Middleman: "middleman", - Zola: "zola", - Hydrogen: "hydrogen", - Vite: "vite", - Vitepress: "vitepress", - Vuepress: "vuepress", - Parcel: "parcel", - Fasthtml: "fasthtml", - SanityV3: "sanity-v3", - Sanity: "sanity", - Storybook: "storybook", -} as const; -/** - * The framework that is being used for this project. When `null` is used no framework is selected - */ -export type Framework = ClosedEnum; - -/** - * Override the Node.js version that should be used for this deployment - */ -export const NodeVersion = { - TwentyTwoX: "22.x", - TwentyX: "20.x", - EighteenX: "18.x", - SixteenX: "16.x", - FourteenX: "14.x", - TwelveX: "12.x", - TenX: "10.x", - Eight10X: "8.10.x", -} as const; -/** - * Override the Node.js version that should be used for this deployment - */ -export type NodeVersion = ClosedEnum; - -/** - * Project settings that will be applied to the deployment. It is required for the first deployment of a project and will be saved for any following deployments - */ -export type ProjectSettings = { - /** - * The build command for this project. When `null` is used this value will be automatically detected - */ - buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - /** - * The dev command for this project. When `null` is used this value will be automatically detected - */ - devCommand?: string | null | undefined; - /** - * The framework that is being used for this project. When `null` is used no framework is selected - */ - framework?: Framework | null | undefined; - /** - * The install command for this project. When `null` is used this value will be automatically detected - */ - installCommand?: string | null | undefined; - /** - * Override the Node.js version that should be used for this deployment - */ - nodeVersion?: NodeVersion | undefined; - /** - * The output directory of the project. When `null` is used this value will be automatically detected - */ - outputDirectory?: string | null | undefined; - /** - * The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root - */ - rootDirectory?: string | null | undefined; - /** - * The region to deploy Serverless Functions in this project - */ - serverlessFunctionRegion?: string | null | undefined; - /** - * Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - skipGitConnectDuringLink?: boolean | undefined; - /** - * Indicates if there are source files outside of the root directory, typically used for monorepos - */ - sourceFilesOutsideRootDirectory?: boolean | undefined; -}; - -/** - * Either not defined, `staging`, or `production`. If `staging`, a staging alias in the format `-.vercel.app` will be assigned. If `production`, any aliases defined in `alias` will be assigned. If omitted, the target will be `preview` - */ -export const Target = { - Staging: "staging", - Production: "production", -} as const; -/** - * Either not defined, `staging`, or `production`. If `staging`, a staging alias in the format `-.vercel.app` will be assigned. If `production`, any aliases defined in `alias` will be assigned. If omitted, the target will be `preview` - */ -export type Target = ClosedEnum; - -export type CreateDeploymentRequestBody = { - /** - * An deployment id for an existing deployment to redeploy - */ - deploymentId?: string | undefined; - /** - * A list of objects with the files to be deployed - */ - files?: Array | undefined; - /** - * Populates initial git metadata for different git providers. - */ - gitMetadata?: GitMetadata | undefined; - /** - * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`. - */ - gitSource?: One | Three | Two | Four | Five | undefined; - /** - * An object containing the deployment's metadata. Multiple key-value pairs can be attached to a deployment - */ - meta?: { [k: string]: string } | undefined; - /** - * The monorepo manager that is being used for this deployment. When `null` is used no monorepo manager is selected - */ - monorepoManager?: string | null | undefined; - /** - * A string with the project name used in the deployment URL - */ - name: string; - /** - * The target project identifier in which the deployment will be created. When defined, this parameter overrides name - */ - project?: string | undefined; - /** - * Project settings that will be applied to the deployment. It is required for the first deployment of a project and will be saved for any following deployments - */ - projectSettings?: ProjectSettings | undefined; - /** - * Either not defined, `staging`, or `production`. If `staging`, a staging alias in the format `-.vercel.app` will be assigned. If `production`, any aliases defined in `alias` will be assigned. If omitted, the target will be `preview` - */ - target?: Target | undefined; - /** - * When `true` and `deploymentId` is passed in, the sha from the previous deployment's `gitSource` is removed forcing the latest commit to be used. - */ - withLatestCommit?: boolean | undefined; -}; - -export type CreateDeploymentRequest = { - /** - * Allows to skip framework detection so the API would not fail to ask for confirmation - */ - skipAutoDetectionConfirmation?: SkipAutoDetectionConfirmation | undefined; - /** - * Forces a new deployment even if there is a previous similar deployment - */ - forceNew?: ForceNew | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: CreateDeploymentRequestBody | undefined; -}; - -export type AliasAssignedAt = number | boolean; - -export type Build = { - env: Array; -}; - -export type Builds = {}; - -export const CreateDeploymentFramework = { - Blitzjs: "blitzjs", - Nextjs: "nextjs", - Gatsby: "gatsby", - Remix: "remix", - Astro: "astro", - Hexo: "hexo", - Eleventy: "eleventy", - Docusaurus2: "docusaurus-2", - Docusaurus: "docusaurus", - Preact: "preact", - Solidstart1: "solidstart-1", - Solidstart: "solidstart", - Dojo: "dojo", - Ember: "ember", - Vue: "vue", - Scully: "scully", - IonicAngular: "ionic-angular", - Angular: "angular", - Polymer: "polymer", - Svelte: "svelte", - Sveltekit: "sveltekit", - Sveltekit1: "sveltekit-1", - IonicReact: "ionic-react", - CreateReactApp: "create-react-app", - Gridsome: "gridsome", - Umijs: "umijs", - Sapper: "sapper", - Saber: "saber", - Stencil: "stencil", - Nuxtjs: "nuxtjs", - Redwoodjs: "redwoodjs", - Hugo: "hugo", - Jekyll: "jekyll", - Brunch: "brunch", - Middleman: "middleman", - Zola: "zola", - Hydrogen: "hydrogen", - Vite: "vite", - Vitepress: "vitepress", - Vuepress: "vuepress", - Parcel: "parcel", - Fasthtml: "fasthtml", - SanityV3: "sanity-v3", - Sanity: "sanity", - Storybook: "storybook", -} as const; -export type CreateDeploymentFramework = ClosedEnum< - typeof CreateDeploymentFramework ->; - -export type CreateDeploymentSpeedInsights = { - id: string; - enabledAt?: number | undefined; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - hasData?: boolean | undefined; - paidAt?: number | undefined; -}; - -export type CreateDeploymentWebAnalytics = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; -}; - -export type CreateDeploymentProjectSettings = { - buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - devCommand?: string | null | undefined; - framework?: CreateDeploymentFramework | null | undefined; - installCommand?: string | null | undefined; - outputDirectory?: string | null | undefined; - speedInsights?: CreateDeploymentSpeedInsights | undefined; - webAnalytics?: CreateDeploymentWebAnalytics | undefined; -}; - -export const CreateDeploymentDeploymentsStatus = { - Error: "error", - Skipped: "skipped", - Pending: "pending", - Ready: "ready", - Timeout: "timeout", -} as const; -export type CreateDeploymentDeploymentsStatus = ClosedEnum< - typeof CreateDeploymentDeploymentsStatus ->; - -export type Integrations = { - status: CreateDeploymentDeploymentsStatus; - startedAt: number; - completedAt?: number | undefined; - skippedAt?: number | undefined; - skippedBy?: string | undefined; -}; - -export type Creator = { - uid: string; - username?: string | undefined; - avatar?: string | undefined; -}; - -export const CreateDeploymentReadyState = { - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Ready: "READY", -} as const; -export type CreateDeploymentReadyState = ClosedEnum< - typeof CreateDeploymentReadyState ->; - -export type CreateDeploymentOutput = { - path: string; - functionName: string; -}; - -/** - * A partial representation of a Build used by the deployment endpoint. - */ -export type Lambdas = { - id?: string | undefined; - createdAt?: number | undefined; - entrypoint?: string | null | undefined; - readyState?: CreateDeploymentReadyState | undefined; - readyStateAt?: number | undefined; - output: Array; -}; - -export const CreateDeploymentStatus = { - Canceled: "CANCELED", - Error: "ERROR", - Queued: "QUEUED", - Building: "BUILDING", - Initializing: "INITIALIZING", - Ready: "READY", -} as const; -export type CreateDeploymentStatus = ClosedEnum; - -export type Team = { - name: string; - id: string; - slug: string; - avatar?: string | undefined; -}; - -export type CustomEnvironment2 = { - id: string; -}; - -export type CustomEnvironment1 = {}; - -export type CustomEnvironment = CustomEnvironment1 | CustomEnvironment2; - -export const CreateDeploymentType = { - Lambdas: "LAMBDAS", -} as const; -export type CreateDeploymentType = ClosedEnum; - -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type = - { - Bitbucket: "bitbucket", - } as const; -export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type = - ClosedEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type - >; - -export type CreateDeploymentGitSource9 = { - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type; - ref: string; - sha: string; - owner?: string | undefined; - slug?: string | undefined; - workspaceUuid: string; - repoUuid: string; -}; - -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type = - { - Gitlab: "gitlab", - } as const; -export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type = - ClosedEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type - >; - -export type CreateDeploymentGitSource8 = { - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type; - ref: string; - sha: string; - projectId: number; -}; - -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type = - { - Github: "github", - } as const; -export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type = - ClosedEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type - >; - -export type CreateDeploymentGitSource7 = { - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type; - ref: string; - sha: string; - repoId: number; - org?: string | undefined; - repo?: string | undefined; -}; - -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type = - { - Custom: "custom", - } as const; -export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type = - ClosedEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type - >; - -/** - * Allows custom git sources (local folder mounted to the container) in test mode - */ -export type CreateDeploymentGitSource6 = { - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type; - ref: string; - sha: string; - gitUrl: string; -}; - -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type = - { - Bitbucket: "bitbucket", - } as const; -export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type = - ClosedEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type - >; - -export type GitSource5 = { - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type; - owner: string; - slug: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = - { - Bitbucket: "bitbucket", - } as const; -export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = - ClosedEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType - >; - -export type GitSource4 = { - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType; - workspaceUuid?: string | undefined; - repoUuid: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = - { - Gitlab: "gitlab", - } as const; -export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = - ClosedEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType - >; - -export type GitSourceProjectId = string | number; - -export type GitSource3 = { - type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType; - projectId: string | number; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export const CreateDeploymentGitSourceDeploymentsResponse200Type = { - Github: "github", -} as const; -export type CreateDeploymentGitSourceDeploymentsResponse200Type = ClosedEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200Type ->; - -export type GitSource2 = { - type: CreateDeploymentGitSourceDeploymentsResponse200Type; - org: string; - repo: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export const CreateDeploymentGitSourceDeploymentsResponseType = { - Github: "github", -} as const; -export type CreateDeploymentGitSourceDeploymentsResponseType = ClosedEnum< - typeof CreateDeploymentGitSourceDeploymentsResponseType ->; - -export type GitSourceRepoId = string | number; - -export type GitSource1 = { - type: CreateDeploymentGitSourceDeploymentsResponseType; - repoId: string | number; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export type CreateDeploymentGitSource = - | CreateDeploymentGitSource6 - | CreateDeploymentGitSource8 - | GitSource1 - | GitSource3 - | GitSource2 - | GitSource4 - | GitSource5 - | CreateDeploymentGitSource7 - | CreateDeploymentGitSource9; - -export type Project = { - id: string; - name: string; - framework?: string | null | undefined; -}; - -export const ReadyState = { - Canceled: "CANCELED", - Error: "ERROR", - Queued: "QUEUED", - Building: "BUILDING", - Initializing: "INITIALIZING", - Ready: "READY", -} as const; -export type ReadyState = ClosedEnum; - -export const CreateDeploymentSource = { - Cli: "cli", - Git: "git", - Import: "import", - ImportRepo: "import/repo", - CloneRepo: "clone/repo", - ApiTriggerGitDeploy: "api-trigger-git-deploy", - Redeploy: "redeploy", - V0Web: "v0-web", -} as const; -export type CreateDeploymentSource = ClosedEnum; - -export const CreateDeploymentTarget = { - Staging: "staging", - Production: "production", -} as const; -export type CreateDeploymentTarget = ClosedEnum; - -export type AliasWarning = { - code: string; - message: string; - link?: string | undefined; - action?: string | undefined; -}; - -export type AliasError = { - code: string; - message: string; -}; - -export const ChecksState = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type ChecksState = ClosedEnum; - -export const ChecksConclusion = { - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", - Canceled: "canceled", -} as const; -export type ChecksConclusion = ClosedEnum; - -/** - * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic - */ -export const ReadySubstate = { - Staged: "STAGED", - Promoted: "PROMOTED", -} as const; -/** - * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic - */ -export type ReadySubstate = ClosedEnum; - -export type OidcTokenClaims = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - ownerId: string; - project: string; - projectId: string; - environment: string; -}; - -/** - * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. - */ -export type Applications = { - /** - * This is the production alias, it will always show the most up to date of each application. - */ - productionHost: string; - /** - * Use the fixed deploymentAlias and deploymentHost so that the microfrontend preview stays in sync with the deployment. These are only present for mono-repos when a single commit creates multiple deployments. If they are not present, productionHost will be used. - */ - deploymentAlias?: string | undefined; - deploymentHost?: string | undefined; -}; - -export type Microfrontends2 = { - /** - * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. - */ - applications?: { [k: string]: Applications } | undefined; - isDefaultApp: boolean; - /** - * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. - */ - defaultRoute?: string | undefined; - /** - * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. - */ - groupIds: Array; -}; - -export type Microfrontends1 = { - /** - * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. - */ - isDefaultApp?: boolean | undefined; - /** - * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. - */ - defaultRoute?: string | undefined; - /** - * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. - */ - groupIds: Array; -}; - -export type CreateDeploymentMicrofrontends = Microfrontends1 | Microfrontends2; - -export type Functions = { - memory?: number | undefined; - maxDuration?: number | undefined; - runtime?: string | undefined; - includeFiles?: string | undefined; - excludeFiles?: string | undefined; -}; - -export type Routes3 = { - src: string; - continue: boolean; - middleware: number; -}; - -export const RoutesHandle = { - Error: "error", - Filesystem: "filesystem", - Hit: "hit", - Miss: "miss", - Rewrite: "rewrite", - Resource: "resource", -} as const; -export type RoutesHandle = ClosedEnum; - -export type Routes2 = { - handle: RoutesHandle; - src?: string | undefined; - dest?: string | undefined; - status?: number | undefined; -}; - -export const CreateDeploymentHasType = { - Header: "header", - Cookie: "cookie", - Query: "query", -} as const; -export type CreateDeploymentHasType = ClosedEnum< - typeof CreateDeploymentHasType ->; - -export type Has2 = { - type: CreateDeploymentHasType; - key: string; - value?: string | undefined; -}; - -export const HasType = { - Host: "host", -} as const; -export type HasType = ClosedEnum; - -export type Has1 = { - type: HasType; - value: string; -}; - -export type RoutesHas = Has1 | Has2; - -export const CreateDeploymentMissingType = { - Header: "header", - Cookie: "cookie", - Query: "query", -} as const; -export type CreateDeploymentMissingType = ClosedEnum< - typeof CreateDeploymentMissingType ->; - -export type Missing2 = { - type: CreateDeploymentMissingType; - key: string; - value?: string | undefined; -}; - -export const MissingType = { - Host: "host", -} as const; -export type MissingType = ClosedEnum; - -export type Missing1 = { - type: MissingType; - value: string; -}; - -export type RoutesMissing = Missing1 | Missing2; - -export type Locale = { - redirect?: { [k: string]: string } | undefined; - cookie?: string | undefined; -}; - -export type Routes1 = { - src: string; - dest?: string | undefined; - headers?: { [k: string]: string } | undefined; - methods?: Array | undefined; - continue?: boolean | undefined; - override?: boolean | undefined; - caseSensitive?: boolean | undefined; - check?: boolean | undefined; - important?: boolean | undefined; - status?: number | undefined; - has?: Array | undefined; - missing?: Array | undefined; - locale?: Locale | undefined; - /** - * A middleware key within the `output` key under the build result. Overrides a `middleware` definition. - */ - middlewarePath?: string | undefined; - /** - * The original middleware matchers. - */ - middlewareRawSrc?: Array | undefined; - /** - * A middleware index in the `middleware` key under the build result - */ - middleware?: number | undefined; -}; - -export type Routes = Routes3 | Routes2 | Routes1; - -export type CreateDeploymentCrons = { - schedule: string; - path: string; -}; - -export const Plan = { - Pro: "pro", - Enterprise: "enterprise", - Hobby: "hobby", -} as const; -export type Plan = ClosedEnum; - -export const CreateDeploymentGitRepoDeploymentsType = { - Bitbucket: "bitbucket", -} as const; -export type CreateDeploymentGitRepoDeploymentsType = ClosedEnum< - typeof CreateDeploymentGitRepoDeploymentsType ->; - -export const CreateDeploymentGitRepoOwnerType = { - Team: "team", - User: "user", -} as const; -export type CreateDeploymentGitRepoOwnerType = ClosedEnum< - typeof CreateDeploymentGitRepoOwnerType ->; - -export type GitRepo3 = { - owner: string; - repoUuid: string; - slug: string; - type: CreateDeploymentGitRepoDeploymentsType; - workspaceUuid: string; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: CreateDeploymentGitRepoOwnerType; -}; - -export const CreateDeploymentGitRepoType = { - Github: "github", -} as const; -export type CreateDeploymentGitRepoType = ClosedEnum< - typeof CreateDeploymentGitRepoType ->; - -export const GitRepoOwnerType = { - Team: "team", - User: "user", -} as const; -export type GitRepoOwnerType = ClosedEnum; - -export type GitRepo2 = { - org: string; - repo: string; - repoId: number; - type: CreateDeploymentGitRepoType; - repoOwnerId: number; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: GitRepoOwnerType; -}; - -export const GitRepoType = { - Gitlab: "gitlab", -} as const; -export type GitRepoType = ClosedEnum; - -export const OwnerType = { - Team: "team", - User: "user", -} as const; -export type OwnerType = ClosedEnum; - -export type GitRepo1 = { - namespace: string; - projectId: number; - type: GitRepoType; - url: string; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: OwnerType; -}; - -export type GitRepo = GitRepo1 | GitRepo2 | GitRepo3; - -/** - * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. - */ -export type Flags2 = {}; - -export type Options = { - value: FlagJSONValue | null; - label?: string | undefined; -}; - -export type FlagsDefinitions = { - options?: Array | undefined; - url?: string | undefined; - description?: string | undefined; -}; - -/** - * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. - */ -export type Flags1 = { - definitions: { [k: string]: FlagsDefinitions }; -}; - -export type Flags = Flags1 | Array; - -/** - * The successfully created deployment - */ -export type CreateDeploymentResponseBody = { - aliasAssignedAt?: number | boolean | null | undefined; - alwaysRefuseToBuild?: boolean | undefined; - build: Build; - buildArtifactUrls?: Array | undefined; - builds?: Array | undefined; - env: Array; - inspectorUrl: string | null; - isInConcurrentBuildsQueue: boolean; - isInSystemBuildsQueue: boolean; - projectSettings: CreateDeploymentProjectSettings; - readyStateReason?: string | undefined; - integrations?: Integrations | undefined; - alias?: Array | undefined; - aliasAssigned: boolean; - bootedAt: number; - buildingAt: number; - buildSkipped: boolean; - creator: Creator; - initReadyAt?: number | undefined; - isFirstBranchDeployment?: boolean | undefined; - lambdas?: Array | undefined; - public: boolean; - ready?: number | undefined; - status: CreateDeploymentStatus; - team?: Team | undefined; - userAliases?: Array | undefined; - previewCommentsEnabled?: boolean | undefined; - ttyBuildLogs?: boolean | undefined; - customEnvironment?: CustomEnvironment1 | CustomEnvironment2 | undefined; - type: CreateDeploymentType; - createdAt: number; - name: string; - deletedAt?: number | null | undefined; - id: string; - version: number; - /** - * applies to custom domains only, defaults to `true` - */ - autoAssignCustomDomains?: boolean | undefined; - gitSource?: - | CreateDeploymentGitSource6 - | CreateDeploymentGitSource8 - | GitSource1 - | GitSource3 - | GitSource2 - | GitSource4 - | GitSource5 - | CreateDeploymentGitSource7 - | CreateDeploymentGitSource9 - | undefined; - meta: { [k: string]: string }; - project?: Project | undefined; - readyState: ReadyState; - source?: CreateDeploymentSource | undefined; - target?: CreateDeploymentTarget | null | undefined; - /** - * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service - */ - passiveRegions?: Array | undefined; - regions: Array; - errorMessage?: string | null | undefined; - aliasWarning?: AliasWarning | null | undefined; - aliasError?: AliasError | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - buildErrorAt?: number | undefined; - checksState?: ChecksState | undefined; - checksConclusion?: ChecksConclusion | undefined; - /** - * Computed field that is only available for deployments with a microfrontend configuration. - */ - defaultRoute?: string | undefined; - canceledAt?: number | undefined; - errorCode?: string | undefined; - errorLink?: string | undefined; - errorStep?: string | undefined; - /** - * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic - */ - readySubstate?: ReadySubstate | undefined; - softDeletedByRetention?: boolean | undefined; - undeletedAt?: number | undefined; - url: string; - oidcTokenClaims?: OidcTokenClaims | undefined; - projectId: string; - ownerId: string; - microfrontends?: Microfrontends1 | Microfrontends2 | undefined; - monorepoManager?: string | null | undefined; - functions?: { [k: string]: Functions } | null | undefined; - routes: Array | null; - crons?: Array | undefined; - plan: Plan; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdIn: string; - /** - * Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions) - */ - passiveConnectConfigurationId?: string | undefined; - gitRepo?: GitRepo1 | GitRepo2 | GitRepo3 | null | undefined; - flags?: Flags1 | Array | undefined; -}; - -/** @internal */ -export const SkipAutoDetectionConfirmation$inboundSchema: z.ZodNativeEnum< - typeof SkipAutoDetectionConfirmation -> = z.nativeEnum(SkipAutoDetectionConfirmation); - -/** @internal */ -export const SkipAutoDetectionConfirmation$outboundSchema: z.ZodNativeEnum< - typeof SkipAutoDetectionConfirmation -> = SkipAutoDetectionConfirmation$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SkipAutoDetectionConfirmation$ { - /** @deprecated use `SkipAutoDetectionConfirmation$inboundSchema` instead. */ - export const inboundSchema = SkipAutoDetectionConfirmation$inboundSchema; - /** @deprecated use `SkipAutoDetectionConfirmation$outboundSchema` instead. */ - export const outboundSchema = SkipAutoDetectionConfirmation$outboundSchema; -} - -/** @internal */ -export const ForceNew$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ForceNew); - -/** @internal */ -export const ForceNew$outboundSchema: z.ZodNativeEnum = - ForceNew$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ForceNew$ { - /** @deprecated use `ForceNew$inboundSchema` instead. */ - export const inboundSchema = ForceNew$inboundSchema; - /** @deprecated use `ForceNew$outboundSchema` instead. */ - export const outboundSchema = ForceNew$outboundSchema; -} - -/** @internal */ -export const UploadedFile$inboundSchema: z.ZodType< - UploadedFile, - z.ZodTypeDef, - unknown -> = z.object({ - file: z.string(), - sha: z.string().optional(), - size: z.number().int().optional(), -}); - -/** @internal */ -export type UploadedFile$Outbound = { - file: string; - sha?: string | undefined; - size?: number | undefined; -}; - -/** @internal */ -export const UploadedFile$outboundSchema: z.ZodType< - UploadedFile$Outbound, - z.ZodTypeDef, - UploadedFile -> = z.object({ - file: z.string(), - sha: z.string().optional(), - size: z.number().int().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UploadedFile$ { - /** @deprecated use `UploadedFile$inboundSchema` instead. */ - export const inboundSchema = UploadedFile$inboundSchema; - /** @deprecated use `UploadedFile$outboundSchema` instead. */ - export const outboundSchema = UploadedFile$outboundSchema; - /** @deprecated use `UploadedFile$Outbound` instead. */ - export type Outbound = UploadedFile$Outbound; -} - -export function uploadedFileToJSON(uploadedFile: UploadedFile): string { - return JSON.stringify(UploadedFile$outboundSchema.parse(uploadedFile)); -} - -export function uploadedFileFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UploadedFile$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UploadedFile' from JSON`, - ); -} - -/** @internal */ -export const Encoding$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Encoding); - -/** @internal */ -export const Encoding$outboundSchema: z.ZodNativeEnum = - Encoding$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Encoding$ { - /** @deprecated use `Encoding$inboundSchema` instead. */ - export const inboundSchema = Encoding$inboundSchema; - /** @deprecated use `Encoding$outboundSchema` instead. */ - export const outboundSchema = Encoding$outboundSchema; -} - -/** @internal */ -export const InlinedFile$inboundSchema: z.ZodType< - InlinedFile, - z.ZodTypeDef, - unknown -> = z.object({ - data: z.string(), - encoding: Encoding$inboundSchema.optional(), - file: z.string(), -}); - -/** @internal */ -export type InlinedFile$Outbound = { - data: string; - encoding?: string | undefined; - file: string; -}; - -/** @internal */ -export const InlinedFile$outboundSchema: z.ZodType< - InlinedFile$Outbound, - z.ZodTypeDef, - InlinedFile -> = z.object({ - data: z.string(), - encoding: Encoding$outboundSchema.optional(), - file: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InlinedFile$ { - /** @deprecated use `InlinedFile$inboundSchema` instead. */ - export const inboundSchema = InlinedFile$inboundSchema; - /** @deprecated use `InlinedFile$outboundSchema` instead. */ - export const outboundSchema = InlinedFile$outboundSchema; - /** @deprecated use `InlinedFile$Outbound` instead. */ - export type Outbound = InlinedFile$Outbound; -} - -export function inlinedFileToJSON(inlinedFile: InlinedFile): string { - return JSON.stringify(InlinedFile$outboundSchema.parse(inlinedFile)); -} - -export function inlinedFileFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => InlinedFile$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'InlinedFile' from JSON`, - ); -} - -/** @internal */ -export const Files$inboundSchema: z.ZodType = z - .union([ - z.lazy(() => InlinedFile$inboundSchema), - z.lazy(() => UploadedFile$inboundSchema), - ]); - -/** @internal */ -export type Files$Outbound = InlinedFile$Outbound | UploadedFile$Outbound; - -/** @internal */ -export const Files$outboundSchema: z.ZodType< - Files$Outbound, - z.ZodTypeDef, - Files -> = z.union([ - z.lazy(() => InlinedFile$outboundSchema), - z.lazy(() => UploadedFile$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Files$ { - /** @deprecated use `Files$inboundSchema` instead. */ - export const inboundSchema = Files$inboundSchema; - /** @deprecated use `Files$outboundSchema` instead. */ - export const outboundSchema = Files$outboundSchema; - /** @deprecated use `Files$Outbound` instead. */ - export type Outbound = Files$Outbound; -} - -export function filesToJSON(files: Files): string { - return JSON.stringify(Files$outboundSchema.parse(files)); -} - -export function filesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Files$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Files' from JSON`, - ); -} - -/** @internal */ -export const GitMetadata$inboundSchema: z.ZodType< - GitMetadata, - z.ZodTypeDef, - unknown -> = z.object({ - remoteUrl: z.string().optional(), - commitAuthorName: z.string().optional(), - commitMessage: z.string().optional(), - commitRef: z.string().optional(), - commitSha: z.string().optional(), - dirty: z.boolean().optional(), -}); - -/** @internal */ -export type GitMetadata$Outbound = { - remoteUrl?: string | undefined; - commitAuthorName?: string | undefined; - commitMessage?: string | undefined; - commitRef?: string | undefined; - commitSha?: string | undefined; - dirty?: boolean | undefined; -}; - -/** @internal */ -export const GitMetadata$outboundSchema: z.ZodType< - GitMetadata$Outbound, - z.ZodTypeDef, - GitMetadata -> = z.object({ - remoteUrl: z.string().optional(), - commitAuthorName: z.string().optional(), - commitMessage: z.string().optional(), - commitRef: z.string().optional(), - commitSha: z.string().optional(), - dirty: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitMetadata$ { - /** @deprecated use `GitMetadata$inboundSchema` instead. */ - export const inboundSchema = GitMetadata$inboundSchema; - /** @deprecated use `GitMetadata$outboundSchema` instead. */ - export const outboundSchema = GitMetadata$outboundSchema; - /** @deprecated use `GitMetadata$Outbound` instead. */ - export type Outbound = GitMetadata$Outbound; -} - -export function gitMetadataToJSON(gitMetadata: GitMetadata): string { - return JSON.stringify(GitMetadata$outboundSchema.parse(gitMetadata)); -} - -export function gitMetadataFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitMetadata$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitMetadata' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentGitSourceDeploymentsRequestType); - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema: - z.ZodNativeEnum = - CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsRequestType$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema; -} - -/** @internal */ -export const Five$inboundSchema: z.ZodType = z - .object({ - owner: z.string(), - ref: z.string(), - sha: z.string().optional(), - slug: z.string(), - type: CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema, - }); - -/** @internal */ -export type Five$Outbound = { - owner: string; - ref: string; - sha?: string | undefined; - slug: string; - type: string; -}; - -/** @internal */ -export const Five$outboundSchema: z.ZodType = - z.object({ - owner: z.string(), - ref: z.string(), - sha: z.string().optional(), - slug: z.string(), - type: CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Five$ { - /** @deprecated use `Five$inboundSchema` instead. */ - export const inboundSchema = Five$inboundSchema; - /** @deprecated use `Five$outboundSchema` instead. */ - export const outboundSchema = Five$outboundSchema; - /** @deprecated use `Five$Outbound` instead. */ - export type Outbound = Five$Outbound; -} - -export function fiveToJSON(five: Five): string { - return JSON.stringify(Five$outboundSchema.parse(five)); -} - -export function fiveFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Five$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Five' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentGitSourceDeploymentsType); - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsType$outboundSchema: - z.ZodNativeEnum = - CreateDeploymentGitSourceDeploymentsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsType$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsType$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsType$outboundSchema; -} - -/** @internal */ -export const Four$inboundSchema: z.ZodType = z - .object({ - ref: z.string(), - repoUuid: z.string(), - sha: z.string().optional(), - type: CreateDeploymentGitSourceDeploymentsType$inboundSchema, - workspaceUuid: z.string().optional(), - }); - -/** @internal */ -export type Four$Outbound = { - ref: string; - repoUuid: string; - sha?: string | undefined; - type: string; - workspaceUuid?: string | undefined; -}; - -/** @internal */ -export const Four$outboundSchema: z.ZodType = - z.object({ - ref: z.string(), - repoUuid: z.string(), - sha: z.string().optional(), - type: CreateDeploymentGitSourceDeploymentsType$outboundSchema, - workspaceUuid: z.string().optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Four$ { - /** @deprecated use `Four$inboundSchema` instead. */ - export const inboundSchema = Four$inboundSchema; - /** @deprecated use `Four$outboundSchema` instead. */ - export const outboundSchema = Four$outboundSchema; - /** @deprecated use `Four$Outbound` instead. */ - export type Outbound = Four$Outbound; -} - -export function fourToJSON(four: Four): string { - return JSON.stringify(Four$outboundSchema.parse(four)); -} - -export function fourFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Four$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Four' from JSON`, - ); -} - -/** @internal */ -export const ProjectId$inboundSchema: z.ZodType< - ProjectId, - z.ZodTypeDef, - unknown -> = z.union([z.number(), z.string()]); - -/** @internal */ -export type ProjectId$Outbound = number | string; - -/** @internal */ -export const ProjectId$outboundSchema: z.ZodType< - ProjectId$Outbound, - z.ZodTypeDef, - ProjectId -> = z.union([z.number(), z.string()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ProjectId$ { - /** @deprecated use `ProjectId$inboundSchema` instead. */ - export const inboundSchema = ProjectId$inboundSchema; - /** @deprecated use `ProjectId$outboundSchema` instead. */ - export const outboundSchema = ProjectId$outboundSchema; - /** @deprecated use `ProjectId$Outbound` instead. */ - export type Outbound = ProjectId$Outbound; -} - -export function projectIdToJSON(projectId: ProjectId): string { - return JSON.stringify(ProjectId$outboundSchema.parse(projectId)); -} - -export function projectIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ProjectId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ProjectId' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentGitSourceType$inboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentGitSourceType -> = z.nativeEnum(CreateDeploymentGitSourceType); - -/** @internal */ -export const CreateDeploymentGitSourceType$outboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentGitSourceType -> = CreateDeploymentGitSourceType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceType$ { - /** @deprecated use `CreateDeploymentGitSourceType$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitSourceType$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceType$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitSourceType$outboundSchema; -} - -/** @internal */ -export const Three$inboundSchema: z.ZodType = z - .object({ - projectId: z.union([z.number(), z.string()]), - ref: z.string(), - sha: z.string().optional(), - type: CreateDeploymentGitSourceType$inboundSchema, - }); - -/** @internal */ -export type Three$Outbound = { - projectId: number | string; - ref: string; - sha?: string | undefined; - type: string; -}; - -/** @internal */ -export const Three$outboundSchema: z.ZodType< - Three$Outbound, - z.ZodTypeDef, - Three -> = z.object({ - projectId: z.union([z.number(), z.string()]), - ref: z.string(), - sha: z.string().optional(), - type: CreateDeploymentGitSourceType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Three$ { - /** @deprecated use `Three$inboundSchema` instead. */ - export const inboundSchema = Three$inboundSchema; - /** @deprecated use `Three$outboundSchema` instead. */ - export const outboundSchema = Three$outboundSchema; - /** @deprecated use `Three$Outbound` instead. */ - export type Outbound = Three$Outbound; -} - -export function threeToJSON(three: Three): string { - return JSON.stringify(Three$outboundSchema.parse(three)); -} - -export function threeFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Three$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Three' from JSON`, - ); -} - -/** @internal */ -export const GitSourceType$inboundSchema: z.ZodNativeEnum< - typeof GitSourceType -> = z.nativeEnum(GitSourceType); - -/** @internal */ -export const GitSourceType$outboundSchema: z.ZodNativeEnum< - typeof GitSourceType -> = GitSourceType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitSourceType$ { - /** @deprecated use `GitSourceType$inboundSchema` instead. */ - export const inboundSchema = GitSourceType$inboundSchema; - /** @deprecated use `GitSourceType$outboundSchema` instead. */ - export const outboundSchema = GitSourceType$outboundSchema; -} - -/** @internal */ -export const Two$inboundSchema: z.ZodType = z - .object({ - org: z.string(), - ref: z.string(), - repo: z.string(), - sha: z.string().optional(), - type: GitSourceType$inboundSchema, - }); - -/** @internal */ -export type Two$Outbound = { - org: string; - ref: string; - repo: string; - sha?: string | undefined; - type: string; -}; - -/** @internal */ -export const Two$outboundSchema: z.ZodType = z - .object({ - org: z.string(), - ref: z.string(), - repo: z.string(), - sha: z.string().optional(), - type: GitSourceType$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Two$ { - /** @deprecated use `Two$inboundSchema` instead. */ - export const inboundSchema = Two$inboundSchema; - /** @deprecated use `Two$outboundSchema` instead. */ - export const outboundSchema = Two$outboundSchema; - /** @deprecated use `Two$Outbound` instead. */ - export type Outbound = Two$Outbound; -} - -export function twoToJSON(two: Two): string { - return JSON.stringify(Two$outboundSchema.parse(two)); -} - -export function twoFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Two$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Two' from JSON`, - ); -} - -/** @internal */ -export const RepoId$inboundSchema: z.ZodType = z - .union([z.number(), z.string()]); - -/** @internal */ -export type RepoId$Outbound = number | string; - -/** @internal */ -export const RepoId$outboundSchema: z.ZodType< - RepoId$Outbound, - z.ZodTypeDef, - RepoId -> = z.union([z.number(), z.string()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RepoId$ { - /** @deprecated use `RepoId$inboundSchema` instead. */ - export const inboundSchema = RepoId$inboundSchema; - /** @deprecated use `RepoId$outboundSchema` instead. */ - export const outboundSchema = RepoId$outboundSchema; - /** @deprecated use `RepoId$Outbound` instead. */ - export type Outbound = RepoId$Outbound; -} - -export function repoIdToJSON(repoId: RepoId): string { - return JSON.stringify(RepoId$outboundSchema.parse(repoId)); -} - -export function repoIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RepoId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RepoId' from JSON`, - ); -} - -/** @internal */ -export const Type$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Type, -); - -/** @internal */ -export const Type$outboundSchema: z.ZodNativeEnum = - Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Type$ { - /** @deprecated use `Type$inboundSchema` instead. */ - export const inboundSchema = Type$inboundSchema; - /** @deprecated use `Type$outboundSchema` instead. */ - export const outboundSchema = Type$outboundSchema; -} - -/** @internal */ -export const One$inboundSchema: z.ZodType = z - .object({ - ref: z.string(), - repoId: z.union([z.number(), z.string()]), - sha: z.string().optional(), - type: Type$inboundSchema, - }); - -/** @internal */ -export type One$Outbound = { - ref: string; - repoId: number | string; - sha?: string | undefined; - type: string; -}; - -/** @internal */ -export const One$outboundSchema: z.ZodType = z - .object({ - ref: z.string(), - repoId: z.union([z.number(), z.string()]), - sha: z.string().optional(), - type: Type$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace One$ { - /** @deprecated use `One$inboundSchema` instead. */ - export const inboundSchema = One$inboundSchema; - /** @deprecated use `One$outboundSchema` instead. */ - export const outboundSchema = One$outboundSchema; - /** @deprecated use `One$Outbound` instead. */ - export type Outbound = One$Outbound; -} - -export function oneToJSON(one: One): string { - return JSON.stringify(One$outboundSchema.parse(one)); -} - -export function oneFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => One$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'One' from JSON`, - ); -} - -/** @internal */ -export const GitSource$inboundSchema: z.ZodType< - GitSource, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => One$inboundSchema), - z.lazy(() => Three$inboundSchema), - z.lazy(() => Two$inboundSchema), - z.lazy(() => Four$inboundSchema), - z.lazy(() => Five$inboundSchema), -]); - -/** @internal */ -export type GitSource$Outbound = - | One$Outbound - | Three$Outbound - | Two$Outbound - | Four$Outbound - | Five$Outbound; - -/** @internal */ -export const GitSource$outboundSchema: z.ZodType< - GitSource$Outbound, - z.ZodTypeDef, - GitSource -> = z.union([ - z.lazy(() => One$outboundSchema), - z.lazy(() => Three$outboundSchema), - z.lazy(() => Two$outboundSchema), - z.lazy(() => Four$outboundSchema), - z.lazy(() => Five$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitSource$ { - /** @deprecated use `GitSource$inboundSchema` instead. */ - export const inboundSchema = GitSource$inboundSchema; - /** @deprecated use `GitSource$outboundSchema` instead. */ - export const outboundSchema = GitSource$outboundSchema; - /** @deprecated use `GitSource$Outbound` instead. */ - export type Outbound = GitSource$Outbound; -} - -export function gitSourceToJSON(gitSource: GitSource): string { - return JSON.stringify(GitSource$outboundSchema.parse(gitSource)); -} - -export function gitSourceFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitSource$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitSource' from JSON`, - ); -} - -/** @internal */ -export const Framework$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Framework); - -/** @internal */ -export const Framework$outboundSchema: z.ZodNativeEnum = - Framework$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Framework$ { - /** @deprecated use `Framework$inboundSchema` instead. */ - export const inboundSchema = Framework$inboundSchema; - /** @deprecated use `Framework$outboundSchema` instead. */ - export const outboundSchema = Framework$outboundSchema; -} - -/** @internal */ -export const NodeVersion$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(NodeVersion); - -/** @internal */ -export const NodeVersion$outboundSchema: z.ZodNativeEnum = - NodeVersion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace NodeVersion$ { - /** @deprecated use `NodeVersion$inboundSchema` instead. */ - export const inboundSchema = NodeVersion$inboundSchema; - /** @deprecated use `NodeVersion$outboundSchema` instead. */ - export const outboundSchema = NodeVersion$outboundSchema; -} - -/** @internal */ -export const ProjectSettings$inboundSchema: z.ZodType< - ProjectSettings, - z.ZodTypeDef, - unknown -> = z.object({ - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - devCommand: z.nullable(z.string()).optional(), - framework: z.nullable(Framework$inboundSchema).optional(), - installCommand: z.nullable(z.string()).optional(), - nodeVersion: NodeVersion$inboundSchema.optional(), - outputDirectory: z.nullable(z.string()).optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - skipGitConnectDuringLink: z.boolean().optional(), - sourceFilesOutsideRootDirectory: z.boolean().optional(), -}); - -/** @internal */ -export type ProjectSettings$Outbound = { - buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - devCommand?: string | null | undefined; - framework?: string | null | undefined; - installCommand?: string | null | undefined; - nodeVersion?: string | undefined; - outputDirectory?: string | null | undefined; - rootDirectory?: string | null | undefined; - serverlessFunctionRegion?: string | null | undefined; - skipGitConnectDuringLink?: boolean | undefined; - sourceFilesOutsideRootDirectory?: boolean | undefined; -}; - -/** @internal */ -export const ProjectSettings$outboundSchema: z.ZodType< - ProjectSettings$Outbound, - z.ZodTypeDef, - ProjectSettings -> = z.object({ - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - devCommand: z.nullable(z.string()).optional(), - framework: z.nullable(Framework$outboundSchema).optional(), - installCommand: z.nullable(z.string()).optional(), - nodeVersion: NodeVersion$outboundSchema.optional(), - outputDirectory: z.nullable(z.string()).optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - skipGitConnectDuringLink: z.boolean().optional(), - sourceFilesOutsideRootDirectory: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ProjectSettings$ { - /** @deprecated use `ProjectSettings$inboundSchema` instead. */ - export const inboundSchema = ProjectSettings$inboundSchema; - /** @deprecated use `ProjectSettings$outboundSchema` instead. */ - export const outboundSchema = ProjectSettings$outboundSchema; - /** @deprecated use `ProjectSettings$Outbound` instead. */ - export type Outbound = ProjectSettings$Outbound; -} - -export function projectSettingsToJSON( - projectSettings: ProjectSettings, -): string { - return JSON.stringify(ProjectSettings$outboundSchema.parse(projectSettings)); -} - -export function projectSettingsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ProjectSettings$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ProjectSettings' from JSON`, - ); -} - -/** @internal */ -export const Target$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Target); - -/** @internal */ -export const Target$outboundSchema: z.ZodNativeEnum = - Target$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Target$ { - /** @deprecated use `Target$inboundSchema` instead. */ - export const inboundSchema = Target$inboundSchema; - /** @deprecated use `Target$outboundSchema` instead. */ - export const outboundSchema = Target$outboundSchema; -} - -/** @internal */ -export const CreateDeploymentRequestBody$inboundSchema: z.ZodType< - CreateDeploymentRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentId: z.string().optional(), - files: z.array( - z.union([ - z.lazy(() => InlinedFile$inboundSchema), - z.lazy(() => UploadedFile$inboundSchema), - ]), - ).optional(), - gitMetadata: z.lazy(() => GitMetadata$inboundSchema).optional(), - gitSource: z.union([ - z.lazy(() => One$inboundSchema), - z.lazy(() => Three$inboundSchema), - z.lazy(() => Two$inboundSchema), - z.lazy(() => Four$inboundSchema), - z.lazy(() => Five$inboundSchema), - ]).optional(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - name: z.string(), - project: z.string().optional(), - projectSettings: z.lazy(() => ProjectSettings$inboundSchema).optional(), - target: Target$inboundSchema.optional(), - withLatestCommit: z.boolean().optional(), -}); - -/** @internal */ -export type CreateDeploymentRequestBody$Outbound = { - deploymentId?: string | undefined; - files?: Array | undefined; - gitMetadata?: GitMetadata$Outbound | undefined; - gitSource?: - | One$Outbound - | Three$Outbound - | Two$Outbound - | Four$Outbound - | Five$Outbound - | undefined; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - name: string; - project?: string | undefined; - projectSettings?: ProjectSettings$Outbound | undefined; - target?: string | undefined; - withLatestCommit?: boolean | undefined; -}; - -/** @internal */ -export const CreateDeploymentRequestBody$outboundSchema: z.ZodType< - CreateDeploymentRequestBody$Outbound, - z.ZodTypeDef, - CreateDeploymentRequestBody -> = z.object({ - deploymentId: z.string().optional(), - files: z.array( - z.union([ - z.lazy(() => InlinedFile$outboundSchema), - z.lazy(() => UploadedFile$outboundSchema), - ]), - ).optional(), - gitMetadata: z.lazy(() => GitMetadata$outboundSchema).optional(), - gitSource: z.union([ - z.lazy(() => One$outboundSchema), - z.lazy(() => Three$outboundSchema), - z.lazy(() => Two$outboundSchema), - z.lazy(() => Four$outboundSchema), - z.lazy(() => Five$outboundSchema), - ]).optional(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - name: z.string(), - project: z.string().optional(), - projectSettings: z.lazy(() => ProjectSettings$outboundSchema).optional(), - target: Target$outboundSchema.optional(), - withLatestCommit: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentRequestBody$ { - /** @deprecated use `CreateDeploymentRequestBody$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentRequestBody$inboundSchema; - /** @deprecated use `CreateDeploymentRequestBody$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentRequestBody$outboundSchema; - /** @deprecated use `CreateDeploymentRequestBody$Outbound` instead. */ - export type Outbound = CreateDeploymentRequestBody$Outbound; -} - -export function createDeploymentRequestBodyToJSON( - createDeploymentRequestBody: CreateDeploymentRequestBody, -): string { - return JSON.stringify( - CreateDeploymentRequestBody$outboundSchema.parse( - createDeploymentRequestBody, - ), - ); -} - -export function createDeploymentRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateDeploymentRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentRequestBody' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentRequest$inboundSchema: z.ZodType< - CreateDeploymentRequest, - z.ZodTypeDef, - unknown -> = z.object({ - skipAutoDetectionConfirmation: SkipAutoDetectionConfirmation$inboundSchema - .optional(), - forceNew: ForceNew$inboundSchema.optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => CreateDeploymentRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type CreateDeploymentRequest$Outbound = { - skipAutoDetectionConfirmation?: string | undefined; - forceNew?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: CreateDeploymentRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const CreateDeploymentRequest$outboundSchema: z.ZodType< - CreateDeploymentRequest$Outbound, - z.ZodTypeDef, - CreateDeploymentRequest -> = z.object({ - skipAutoDetectionConfirmation: SkipAutoDetectionConfirmation$outboundSchema - .optional(), - forceNew: ForceNew$outboundSchema.optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateDeploymentRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentRequest$ { - /** @deprecated use `CreateDeploymentRequest$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentRequest$inboundSchema; - /** @deprecated use `CreateDeploymentRequest$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentRequest$outboundSchema; - /** @deprecated use `CreateDeploymentRequest$Outbound` instead. */ - export type Outbound = CreateDeploymentRequest$Outbound; -} - -export function createDeploymentRequestToJSON( - createDeploymentRequest: CreateDeploymentRequest, -): string { - return JSON.stringify( - CreateDeploymentRequest$outboundSchema.parse(createDeploymentRequest), - ); -} - -export function createDeploymentRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateDeploymentRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentRequest' from JSON`, - ); -} - -/** @internal */ -export const AliasAssignedAt$inboundSchema: z.ZodType< - AliasAssignedAt, - z.ZodTypeDef, - unknown -> = z.union([z.number(), z.boolean()]); - -/** @internal */ -export type AliasAssignedAt$Outbound = number | boolean; - -/** @internal */ -export const AliasAssignedAt$outboundSchema: z.ZodType< - AliasAssignedAt$Outbound, - z.ZodTypeDef, - AliasAssignedAt -> = z.union([z.number(), z.boolean()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AliasAssignedAt$ { - /** @deprecated use `AliasAssignedAt$inboundSchema` instead. */ - export const inboundSchema = AliasAssignedAt$inboundSchema; - /** @deprecated use `AliasAssignedAt$outboundSchema` instead. */ - export const outboundSchema = AliasAssignedAt$outboundSchema; - /** @deprecated use `AliasAssignedAt$Outbound` instead. */ - export type Outbound = AliasAssignedAt$Outbound; -} - -export function aliasAssignedAtToJSON( - aliasAssignedAt: AliasAssignedAt, -): string { - return JSON.stringify(AliasAssignedAt$outboundSchema.parse(aliasAssignedAt)); -} - -export function aliasAssignedAtFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AliasAssignedAt$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AliasAssignedAt' from JSON`, - ); -} - -/** @internal */ -export const Build$inboundSchema: z.ZodType = z - .object({ - env: z.array(z.string()), - }); - -/** @internal */ -export type Build$Outbound = { - env: Array; -}; - -/** @internal */ -export const Build$outboundSchema: z.ZodType< - Build$Outbound, - z.ZodTypeDef, - Build -> = z.object({ - env: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Build$ { - /** @deprecated use `Build$inboundSchema` instead. */ - export const inboundSchema = Build$inboundSchema; - /** @deprecated use `Build$outboundSchema` instead. */ - export const outboundSchema = Build$outboundSchema; - /** @deprecated use `Build$Outbound` instead. */ - export type Outbound = Build$Outbound; -} - -export function buildToJSON(build: Build): string { - return JSON.stringify(Build$outboundSchema.parse(build)); -} - -export function buildFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Build$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Build' from JSON`, - ); -} - -/** @internal */ -export const Builds$inboundSchema: z.ZodType = z - .object({}); - -/** @internal */ -export type Builds$Outbound = {}; - -/** @internal */ -export const Builds$outboundSchema: z.ZodType< - Builds$Outbound, - z.ZodTypeDef, - Builds -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Builds$ { - /** @deprecated use `Builds$inboundSchema` instead. */ - export const inboundSchema = Builds$inboundSchema; - /** @deprecated use `Builds$outboundSchema` instead. */ - export const outboundSchema = Builds$outboundSchema; - /** @deprecated use `Builds$Outbound` instead. */ - export type Outbound = Builds$Outbound; -} - -export function buildsToJSON(builds: Builds): string { - return JSON.stringify(Builds$outboundSchema.parse(builds)); -} - -export function buildsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Builds$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Builds' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentFramework$inboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentFramework -> = z.nativeEnum(CreateDeploymentFramework); - -/** @internal */ -export const CreateDeploymentFramework$outboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentFramework -> = CreateDeploymentFramework$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentFramework$ { - /** @deprecated use `CreateDeploymentFramework$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentFramework$inboundSchema; - /** @deprecated use `CreateDeploymentFramework$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentFramework$outboundSchema; -} - -/** @internal */ -export const CreateDeploymentSpeedInsights$inboundSchema: z.ZodType< - CreateDeploymentSpeedInsights, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - enabledAt: z.number().optional(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - hasData: z.boolean().optional(), - paidAt: z.number().optional(), -}); - -/** @internal */ -export type CreateDeploymentSpeedInsights$Outbound = { - id: string; - enabledAt?: number | undefined; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - hasData?: boolean | undefined; - paidAt?: number | undefined; -}; - -/** @internal */ -export const CreateDeploymentSpeedInsights$outboundSchema: z.ZodType< - CreateDeploymentSpeedInsights$Outbound, - z.ZodTypeDef, - CreateDeploymentSpeedInsights -> = z.object({ - id: z.string(), - enabledAt: z.number().optional(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - hasData: z.boolean().optional(), - paidAt: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentSpeedInsights$ { - /** @deprecated use `CreateDeploymentSpeedInsights$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentSpeedInsights$inboundSchema; - /** @deprecated use `CreateDeploymentSpeedInsights$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentSpeedInsights$outboundSchema; - /** @deprecated use `CreateDeploymentSpeedInsights$Outbound` instead. */ - export type Outbound = CreateDeploymentSpeedInsights$Outbound; -} - -export function createDeploymentSpeedInsightsToJSON( - createDeploymentSpeedInsights: CreateDeploymentSpeedInsights, -): string { - return JSON.stringify( - CreateDeploymentSpeedInsights$outboundSchema.parse( - createDeploymentSpeedInsights, - ), - ); -} - -export function createDeploymentSpeedInsightsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateDeploymentSpeedInsights$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentSpeedInsights' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentWebAnalytics$inboundSchema: z.ZodType< - CreateDeploymentWebAnalytics, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); - -/** @internal */ -export type CreateDeploymentWebAnalytics$Outbound = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; -}; - -/** @internal */ -export const CreateDeploymentWebAnalytics$outboundSchema: z.ZodType< - CreateDeploymentWebAnalytics$Outbound, - z.ZodTypeDef, - CreateDeploymentWebAnalytics -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentWebAnalytics$ { - /** @deprecated use `CreateDeploymentWebAnalytics$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentWebAnalytics$inboundSchema; - /** @deprecated use `CreateDeploymentWebAnalytics$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentWebAnalytics$outboundSchema; - /** @deprecated use `CreateDeploymentWebAnalytics$Outbound` instead. */ - export type Outbound = CreateDeploymentWebAnalytics$Outbound; -} - -export function createDeploymentWebAnalyticsToJSON( - createDeploymentWebAnalytics: CreateDeploymentWebAnalytics, -): string { - return JSON.stringify( - CreateDeploymentWebAnalytics$outboundSchema.parse( - createDeploymentWebAnalytics, - ), - ); -} - -export function createDeploymentWebAnalyticsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateDeploymentWebAnalytics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentWebAnalytics' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentProjectSettings$inboundSchema: z.ZodType< - CreateDeploymentProjectSettings, - z.ZodTypeDef, - unknown -> = z.object({ - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - devCommand: z.nullable(z.string()).optional(), - framework: z.nullable(CreateDeploymentFramework$inboundSchema).optional(), - installCommand: z.nullable(z.string()).optional(), - outputDirectory: z.nullable(z.string()).optional(), - speedInsights: z.lazy(() => CreateDeploymentSpeedInsights$inboundSchema) - .optional(), - webAnalytics: z.lazy(() => CreateDeploymentWebAnalytics$inboundSchema) - .optional(), -}); - -/** @internal */ -export type CreateDeploymentProjectSettings$Outbound = { - buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - devCommand?: string | null | undefined; - framework?: string | null | undefined; - installCommand?: string | null | undefined; - outputDirectory?: string | null | undefined; - speedInsights?: CreateDeploymentSpeedInsights$Outbound | undefined; - webAnalytics?: CreateDeploymentWebAnalytics$Outbound | undefined; -}; - -/** @internal */ -export const CreateDeploymentProjectSettings$outboundSchema: z.ZodType< - CreateDeploymentProjectSettings$Outbound, - z.ZodTypeDef, - CreateDeploymentProjectSettings -> = z.object({ - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - devCommand: z.nullable(z.string()).optional(), - framework: z.nullable(CreateDeploymentFramework$outboundSchema).optional(), - installCommand: z.nullable(z.string()).optional(), - outputDirectory: z.nullable(z.string()).optional(), - speedInsights: z.lazy(() => CreateDeploymentSpeedInsights$outboundSchema) - .optional(), - webAnalytics: z.lazy(() => CreateDeploymentWebAnalytics$outboundSchema) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentProjectSettings$ { - /** @deprecated use `CreateDeploymentProjectSettings$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentProjectSettings$inboundSchema; - /** @deprecated use `CreateDeploymentProjectSettings$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentProjectSettings$outboundSchema; - /** @deprecated use `CreateDeploymentProjectSettings$Outbound` instead. */ - export type Outbound = CreateDeploymentProjectSettings$Outbound; -} - -export function createDeploymentProjectSettingsToJSON( - createDeploymentProjectSettings: CreateDeploymentProjectSettings, -): string { - return JSON.stringify( - CreateDeploymentProjectSettings$outboundSchema.parse( - createDeploymentProjectSettings, - ), - ); -} - -export function createDeploymentProjectSettingsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateDeploymentProjectSettings$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentProjectSettings' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentDeploymentsStatus$inboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentDeploymentsStatus -> = z.nativeEnum(CreateDeploymentDeploymentsStatus); - -/** @internal */ -export const CreateDeploymentDeploymentsStatus$outboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentDeploymentsStatus -> = CreateDeploymentDeploymentsStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentDeploymentsStatus$ { - /** @deprecated use `CreateDeploymentDeploymentsStatus$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentDeploymentsStatus$inboundSchema; - /** @deprecated use `CreateDeploymentDeploymentsStatus$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentDeploymentsStatus$outboundSchema; -} - -/** @internal */ -export const Integrations$inboundSchema: z.ZodType< - Integrations, - z.ZodTypeDef, - unknown -> = z.object({ - status: CreateDeploymentDeploymentsStatus$inboundSchema, - startedAt: z.number(), - completedAt: z.number().optional(), - skippedAt: z.number().optional(), - skippedBy: z.string().optional(), -}); - -/** @internal */ -export type Integrations$Outbound = { - status: string; - startedAt: number; - completedAt?: number | undefined; - skippedAt?: number | undefined; - skippedBy?: string | undefined; -}; - -/** @internal */ -export const Integrations$outboundSchema: z.ZodType< - Integrations$Outbound, - z.ZodTypeDef, - Integrations -> = z.object({ - status: CreateDeploymentDeploymentsStatus$outboundSchema, - startedAt: z.number(), - completedAt: z.number().optional(), - skippedAt: z.number().optional(), - skippedBy: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Integrations$ { - /** @deprecated use `Integrations$inboundSchema` instead. */ - export const inboundSchema = Integrations$inboundSchema; - /** @deprecated use `Integrations$outboundSchema` instead. */ - export const outboundSchema = Integrations$outboundSchema; - /** @deprecated use `Integrations$Outbound` instead. */ - export type Outbound = Integrations$Outbound; -} - -export function integrationsToJSON(integrations: Integrations): string { - return JSON.stringify(Integrations$outboundSchema.parse(integrations)); -} - -export function integrationsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Integrations$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Integrations' from JSON`, - ); -} - -/** @internal */ -export const Creator$inboundSchema: z.ZodType = - z.object({ - uid: z.string(), - username: z.string().optional(), - avatar: z.string().optional(), - }); - -/** @internal */ -export type Creator$Outbound = { - uid: string; - username?: string | undefined; - avatar?: string | undefined; -}; - -/** @internal */ -export const Creator$outboundSchema: z.ZodType< - Creator$Outbound, - z.ZodTypeDef, - Creator -> = z.object({ - uid: z.string(), - username: z.string().optional(), - avatar: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Creator$ { - /** @deprecated use `Creator$inboundSchema` instead. */ - export const inboundSchema = Creator$inboundSchema; - /** @deprecated use `Creator$outboundSchema` instead. */ - export const outboundSchema = Creator$outboundSchema; - /** @deprecated use `Creator$Outbound` instead. */ - export type Outbound = Creator$Outbound; -} - -export function creatorToJSON(creator: Creator): string { - return JSON.stringify(Creator$outboundSchema.parse(creator)); -} - -export function creatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Creator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Creator' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentReadyState$inboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentReadyState -> = z.nativeEnum(CreateDeploymentReadyState); - -/** @internal */ -export const CreateDeploymentReadyState$outboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentReadyState -> = CreateDeploymentReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentReadyState$ { - /** @deprecated use `CreateDeploymentReadyState$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentReadyState$inboundSchema; - /** @deprecated use `CreateDeploymentReadyState$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentReadyState$outboundSchema; -} - -/** @internal */ -export const CreateDeploymentOutput$inboundSchema: z.ZodType< - CreateDeploymentOutput, - z.ZodTypeDef, - unknown -> = z.object({ - path: z.string(), - functionName: z.string(), -}); - -/** @internal */ -export type CreateDeploymentOutput$Outbound = { - path: string; - functionName: string; -}; - -/** @internal */ -export const CreateDeploymentOutput$outboundSchema: z.ZodType< - CreateDeploymentOutput$Outbound, - z.ZodTypeDef, - CreateDeploymentOutput -> = z.object({ - path: z.string(), - functionName: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentOutput$ { - /** @deprecated use `CreateDeploymentOutput$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentOutput$inboundSchema; - /** @deprecated use `CreateDeploymentOutput$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentOutput$outboundSchema; - /** @deprecated use `CreateDeploymentOutput$Outbound` instead. */ - export type Outbound = CreateDeploymentOutput$Outbound; -} - -export function createDeploymentOutputToJSON( - createDeploymentOutput: CreateDeploymentOutput, -): string { - return JSON.stringify( - CreateDeploymentOutput$outboundSchema.parse(createDeploymentOutput), - ); -} - -export function createDeploymentOutputFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateDeploymentOutput$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentOutput' from JSON`, - ); -} - -/** @internal */ -export const Lambdas$inboundSchema: z.ZodType = - z.object({ - id: z.string().optional(), - createdAt: z.number().optional(), - entrypoint: z.nullable(z.string()).optional(), - readyState: CreateDeploymentReadyState$inboundSchema.optional(), - readyStateAt: z.number().optional(), - output: z.array(z.lazy(() => CreateDeploymentOutput$inboundSchema)), - }); - -/** @internal */ -export type Lambdas$Outbound = { - id?: string | undefined; - createdAt?: number | undefined; - entrypoint?: string | null | undefined; - readyState?: string | undefined; - readyStateAt?: number | undefined; - output: Array; -}; - -/** @internal */ -export const Lambdas$outboundSchema: z.ZodType< - Lambdas$Outbound, - z.ZodTypeDef, - Lambdas -> = z.object({ - id: z.string().optional(), - createdAt: z.number().optional(), - entrypoint: z.nullable(z.string()).optional(), - readyState: CreateDeploymentReadyState$outboundSchema.optional(), - readyStateAt: z.number().optional(), - output: z.array(z.lazy(() => CreateDeploymentOutput$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Lambdas$ { - /** @deprecated use `Lambdas$inboundSchema` instead. */ - export const inboundSchema = Lambdas$inboundSchema; - /** @deprecated use `Lambdas$outboundSchema` instead. */ - export const outboundSchema = Lambdas$outboundSchema; - /** @deprecated use `Lambdas$Outbound` instead. */ - export type Outbound = Lambdas$Outbound; -} - -export function lambdasToJSON(lambdas: Lambdas): string { - return JSON.stringify(Lambdas$outboundSchema.parse(lambdas)); -} - -export function lambdasFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Lambdas$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Lambdas' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentStatus$inboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentStatus -> = z.nativeEnum(CreateDeploymentStatus); - -/** @internal */ -export const CreateDeploymentStatus$outboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentStatus -> = CreateDeploymentStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentStatus$ { - /** @deprecated use `CreateDeploymentStatus$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentStatus$inboundSchema; - /** @deprecated use `CreateDeploymentStatus$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentStatus$outboundSchema; -} - -/** @internal */ -export const Team$inboundSchema: z.ZodType = z - .object({ - name: z.string(), - id: z.string(), - slug: z.string(), - avatar: z.string().optional(), - }); - -/** @internal */ -export type Team$Outbound = { - name: string; - id: string; - slug: string; - avatar?: string | undefined; -}; - -/** @internal */ -export const Team$outboundSchema: z.ZodType = - z.object({ - name: z.string(), - id: z.string(), - slug: z.string(), - avatar: z.string().optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Team$ { - /** @deprecated use `Team$inboundSchema` instead. */ - export const inboundSchema = Team$inboundSchema; - /** @deprecated use `Team$outboundSchema` instead. */ - export const outboundSchema = Team$outboundSchema; - /** @deprecated use `Team$Outbound` instead. */ - export type Outbound = Team$Outbound; -} - -export function teamToJSON(team: Team): string { - return JSON.stringify(Team$outboundSchema.parse(team)); -} - -export function teamFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Team' from JSON`, - ); -} - -/** @internal */ -export const CustomEnvironment2$inboundSchema: z.ZodType< - CustomEnvironment2, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); - -/** @internal */ -export type CustomEnvironment2$Outbound = { - id: string; -}; - -/** @internal */ -export const CustomEnvironment2$outboundSchema: z.ZodType< - CustomEnvironment2$Outbound, - z.ZodTypeDef, - CustomEnvironment2 -> = z.object({ - id: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CustomEnvironment2$ { - /** @deprecated use `CustomEnvironment2$inboundSchema` instead. */ - export const inboundSchema = CustomEnvironment2$inboundSchema; - /** @deprecated use `CustomEnvironment2$outboundSchema` instead. */ - export const outboundSchema = CustomEnvironment2$outboundSchema; - /** @deprecated use `CustomEnvironment2$Outbound` instead. */ - export type Outbound = CustomEnvironment2$Outbound; -} - -export function customEnvironment2ToJSON( - customEnvironment2: CustomEnvironment2, -): string { - return JSON.stringify( - CustomEnvironment2$outboundSchema.parse(customEnvironment2), - ); -} - -export function customEnvironment2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CustomEnvironment2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CustomEnvironment2' from JSON`, - ); -} - -/** @internal */ -export const CustomEnvironment1$inboundSchema: z.ZodType< - CustomEnvironment1, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type CustomEnvironment1$Outbound = {}; - -/** @internal */ -export const CustomEnvironment1$outboundSchema: z.ZodType< - CustomEnvironment1$Outbound, - z.ZodTypeDef, - CustomEnvironment1 -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CustomEnvironment1$ { - /** @deprecated use `CustomEnvironment1$inboundSchema` instead. */ - export const inboundSchema = CustomEnvironment1$inboundSchema; - /** @deprecated use `CustomEnvironment1$outboundSchema` instead. */ - export const outboundSchema = CustomEnvironment1$outboundSchema; - /** @deprecated use `CustomEnvironment1$Outbound` instead. */ - export type Outbound = CustomEnvironment1$Outbound; -} - -export function customEnvironment1ToJSON( - customEnvironment1: CustomEnvironment1, -): string { - return JSON.stringify( - CustomEnvironment1$outboundSchema.parse(customEnvironment1), - ); -} - -export function customEnvironment1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CustomEnvironment1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CustomEnvironment1' from JSON`, - ); -} - -/** @internal */ -export const CustomEnvironment$inboundSchema: z.ZodType< - CustomEnvironment, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CustomEnvironment1$inboundSchema), - z.lazy(() => CustomEnvironment2$inboundSchema), -]); - -/** @internal */ -export type CustomEnvironment$Outbound = - | CustomEnvironment1$Outbound - | CustomEnvironment2$Outbound; - -/** @internal */ -export const CustomEnvironment$outboundSchema: z.ZodType< - CustomEnvironment$Outbound, - z.ZodTypeDef, - CustomEnvironment -> = z.union([ - z.lazy(() => CustomEnvironment1$outboundSchema), - z.lazy(() => CustomEnvironment2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CustomEnvironment$ { - /** @deprecated use `CustomEnvironment$inboundSchema` instead. */ - export const inboundSchema = CustomEnvironment$inboundSchema; - /** @deprecated use `CustomEnvironment$outboundSchema` instead. */ - export const outboundSchema = CustomEnvironment$outboundSchema; - /** @deprecated use `CustomEnvironment$Outbound` instead. */ - export type Outbound = CustomEnvironment$Outbound; -} - -export function customEnvironmentToJSON( - customEnvironment: CustomEnvironment, -): string { - return JSON.stringify( - CustomEnvironment$outboundSchema.parse(customEnvironment), - ); -} - -export function customEnvironmentFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CustomEnvironment$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CustomEnvironment' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentType$inboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentType -> = z.nativeEnum(CreateDeploymentType); - -/** @internal */ -export const CreateDeploymentType$outboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentType -> = CreateDeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentType$ { - /** @deprecated use `CreateDeploymentType$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentType$inboundSchema; - /** @deprecated use `CreateDeploymentType$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentType$outboundSchema; -} - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type, - ); - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type - > = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema; -} - -/** @internal */ -export const CreateDeploymentGitSource9$inboundSchema: z.ZodType< - CreateDeploymentGitSource9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema, - ref: z.string(), - sha: z.string(), - owner: z.string().optional(), - slug: z.string().optional(), - workspaceUuid: z.string(), - repoUuid: z.string(), -}); - -/** @internal */ -export type CreateDeploymentGitSource9$Outbound = { - type: string; - ref: string; - sha: string; - owner?: string | undefined; - slug?: string | undefined; - workspaceUuid: string; - repoUuid: string; -}; - -/** @internal */ -export const CreateDeploymentGitSource9$outboundSchema: z.ZodType< - CreateDeploymentGitSource9$Outbound, - z.ZodTypeDef, - CreateDeploymentGitSource9 -> = z.object({ - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema, - ref: z.string(), - sha: z.string(), - owner: z.string().optional(), - slug: z.string().optional(), - workspaceUuid: z.string(), - repoUuid: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSource9$ { - /** @deprecated use `CreateDeploymentGitSource9$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitSource9$inboundSchema; - /** @deprecated use `CreateDeploymentGitSource9$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitSource9$outboundSchema; - /** @deprecated use `CreateDeploymentGitSource9$Outbound` instead. */ - export type Outbound = CreateDeploymentGitSource9$Outbound; -} - -export function createDeploymentGitSource9ToJSON( - createDeploymentGitSource9: CreateDeploymentGitSource9, -): string { - return JSON.stringify( - CreateDeploymentGitSource9$outboundSchema.parse(createDeploymentGitSource9), - ); -} - -export function createDeploymentGitSource9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateDeploymentGitSource9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentGitSource9' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type, - ); - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type - > = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema; -} - -/** @internal */ -export const CreateDeploymentGitSource8$inboundSchema: z.ZodType< - CreateDeploymentGitSource8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema, - ref: z.string(), - sha: z.string(), - projectId: z.number(), -}); - -/** @internal */ -export type CreateDeploymentGitSource8$Outbound = { - type: string; - ref: string; - sha: string; - projectId: number; -}; - -/** @internal */ -export const CreateDeploymentGitSource8$outboundSchema: z.ZodType< - CreateDeploymentGitSource8$Outbound, - z.ZodTypeDef, - CreateDeploymentGitSource8 -> = z.object({ - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema, - ref: z.string(), - sha: z.string(), - projectId: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSource8$ { - /** @deprecated use `CreateDeploymentGitSource8$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitSource8$inboundSchema; - /** @deprecated use `CreateDeploymentGitSource8$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitSource8$outboundSchema; - /** @deprecated use `CreateDeploymentGitSource8$Outbound` instead. */ - export type Outbound = CreateDeploymentGitSource8$Outbound; -} - -export function createDeploymentGitSource8ToJSON( - createDeploymentGitSource8: CreateDeploymentGitSource8, -): string { - return JSON.stringify( - CreateDeploymentGitSource8$outboundSchema.parse(createDeploymentGitSource8), - ); -} - -export function createDeploymentGitSource8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateDeploymentGitSource8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentGitSource8' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type, - ); - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type - > = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema; -} - -/** @internal */ -export const CreateDeploymentGitSource7$inboundSchema: z.ZodType< - CreateDeploymentGitSource7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema, - ref: z.string(), - sha: z.string(), - repoId: z.number(), - org: z.string().optional(), - repo: z.string().optional(), -}); - -/** @internal */ -export type CreateDeploymentGitSource7$Outbound = { - type: string; - ref: string; - sha: string; - repoId: number; - org?: string | undefined; - repo?: string | undefined; -}; - -/** @internal */ -export const CreateDeploymentGitSource7$outboundSchema: z.ZodType< - CreateDeploymentGitSource7$Outbound, - z.ZodTypeDef, - CreateDeploymentGitSource7 -> = z.object({ - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema, - ref: z.string(), - sha: z.string(), - repoId: z.number(), - org: z.string().optional(), - repo: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSource7$ { - /** @deprecated use `CreateDeploymentGitSource7$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitSource7$inboundSchema; - /** @deprecated use `CreateDeploymentGitSource7$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitSource7$outboundSchema; - /** @deprecated use `CreateDeploymentGitSource7$Outbound` instead. */ - export type Outbound = CreateDeploymentGitSource7$Outbound; -} - -export function createDeploymentGitSource7ToJSON( - createDeploymentGitSource7: CreateDeploymentGitSource7, -): string { - return JSON.stringify( - CreateDeploymentGitSource7$outboundSchema.parse(createDeploymentGitSource7), - ); -} - -export function createDeploymentGitSource7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateDeploymentGitSource7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentGitSource7' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type, - ); - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type - > = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$outboundSchema; -} - -/** @internal */ -export const CreateDeploymentGitSource6$inboundSchema: z.ZodType< - CreateDeploymentGitSource6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$inboundSchema, - ref: z.string(), - sha: z.string(), - gitUrl: z.string(), -}); - -/** @internal */ -export type CreateDeploymentGitSource6$Outbound = { - type: string; - ref: string; - sha: string; - gitUrl: string; -}; - -/** @internal */ -export const CreateDeploymentGitSource6$outboundSchema: z.ZodType< - CreateDeploymentGitSource6$Outbound, - z.ZodTypeDef, - CreateDeploymentGitSource6 -> = z.object({ - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$outboundSchema, - ref: z.string(), - sha: z.string(), - gitUrl: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSource6$ { - /** @deprecated use `CreateDeploymentGitSource6$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitSource6$inboundSchema; - /** @deprecated use `CreateDeploymentGitSource6$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitSource6$outboundSchema; - /** @deprecated use `CreateDeploymentGitSource6$Outbound` instead. */ - export type Outbound = CreateDeploymentGitSource6$Outbound; -} - -export function createDeploymentGitSource6ToJSON( - createDeploymentGitSource6: CreateDeploymentGitSource6, -): string { - return JSON.stringify( - CreateDeploymentGitSource6$outboundSchema.parse(createDeploymentGitSource6), - ); -} - -export function createDeploymentGitSource6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateDeploymentGitSource6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentGitSource6' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type, - ); - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type - > = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$outboundSchema; -} - -/** @internal */ -export const GitSource5$inboundSchema: z.ZodType< - GitSource5, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$inboundSchema, - owner: z.string(), - slug: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type GitSource5$Outbound = { - type: string; - owner: string; - slug: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const GitSource5$outboundSchema: z.ZodType< - GitSource5$Outbound, - z.ZodTypeDef, - GitSource5 -> = z.object({ - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$outboundSchema, - owner: z.string(), - slug: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitSource5$ { - /** @deprecated use `GitSource5$inboundSchema` instead. */ - export const inboundSchema = GitSource5$inboundSchema; - /** @deprecated use `GitSource5$outboundSchema` instead. */ - export const outboundSchema = GitSource5$outboundSchema; - /** @deprecated use `GitSource5$Outbound` instead. */ - export type Outbound = GitSource5$Outbound; -} - -export function gitSource5ToJSON(gitSource5: GitSource5): string { - return JSON.stringify(GitSource5$outboundSchema.parse(gitSource5)); -} - -export function gitSource5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitSource5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitSource5' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema: - z.ZodNativeEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType, - ); - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema: - z.ZodNativeEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType - > = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - -/** @internal */ -export const GitSource4$inboundSchema: z.ZodType< - GitSource4, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, - workspaceUuid: z.string().optional(), - repoUuid: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type GitSource4$Outbound = { - type: string; - workspaceUuid?: string | undefined; - repoUuid: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const GitSource4$outboundSchema: z.ZodType< - GitSource4$Outbound, - z.ZodTypeDef, - GitSource4 -> = z.object({ - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema, - workspaceUuid: z.string().optional(), - repoUuid: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitSource4$ { - /** @deprecated use `GitSource4$inboundSchema` instead. */ - export const inboundSchema = GitSource4$inboundSchema; - /** @deprecated use `GitSource4$outboundSchema` instead. */ - export const outboundSchema = GitSource4$outboundSchema; - /** @deprecated use `GitSource4$Outbound` instead. */ - export type Outbound = GitSource4$Outbound; -} - -export function gitSource4ToJSON(gitSource4: GitSource4): string { - return JSON.stringify(GitSource4$outboundSchema.parse(gitSource4)); -} - -export function gitSource4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitSource4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitSource4' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType, - ); - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType - > = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const GitSourceProjectId$inboundSchema: z.ZodType< - GitSourceProjectId, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number()]); - -/** @internal */ -export type GitSourceProjectId$Outbound = string | number; - -/** @internal */ -export const GitSourceProjectId$outboundSchema: z.ZodType< - GitSourceProjectId$Outbound, - z.ZodTypeDef, - GitSourceProjectId -> = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitSourceProjectId$ { - /** @deprecated use `GitSourceProjectId$inboundSchema` instead. */ - export const inboundSchema = GitSourceProjectId$inboundSchema; - /** @deprecated use `GitSourceProjectId$outboundSchema` instead. */ - export const outboundSchema = GitSourceProjectId$outboundSchema; - /** @deprecated use `GitSourceProjectId$Outbound` instead. */ - export type Outbound = GitSourceProjectId$Outbound; -} - -export function gitSourceProjectIdToJSON( - gitSourceProjectId: GitSourceProjectId, -): string { - return JSON.stringify( - GitSourceProjectId$outboundSchema.parse(gitSourceProjectId), - ); -} - -export function gitSourceProjectIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitSourceProjectId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitSourceProjectId' from JSON`, - ); -} - -/** @internal */ -export const GitSource3$inboundSchema: z.ZodType< - GitSource3, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema, - projectId: z.union([z.string(), z.number()]), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type GitSource3$Outbound = { - type: string; - projectId: string | number; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const GitSource3$outboundSchema: z.ZodType< - GitSource3$Outbound, - z.ZodTypeDef, - GitSource3 -> = z.object({ - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema, - projectId: z.union([z.string(), z.number()]), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitSource3$ { - /** @deprecated use `GitSource3$inboundSchema` instead. */ - export const inboundSchema = GitSource3$inboundSchema; - /** @deprecated use `GitSource3$outboundSchema` instead. */ - export const outboundSchema = GitSource3$outboundSchema; - /** @deprecated use `GitSource3$Outbound` instead. */ - export type Outbound = GitSource3$Outbound; -} - -export function gitSource3ToJSON(gitSource3: GitSource3): string { - return JSON.stringify(GitSource3$outboundSchema.parse(gitSource3)); -} - -export function gitSource3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitSource3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitSource3' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200Type$inboundSchema: - z.ZodNativeEnum = - z.nativeEnum(CreateDeploymentGitSourceDeploymentsResponse200Type); - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200Type$outboundSchema: - z.ZodNativeEnum = - CreateDeploymentGitSourceDeploymentsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsResponse200Type$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200Type$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200Type$outboundSchema; -} - -/** @internal */ -export const GitSource2$inboundSchema: z.ZodType< - GitSource2, - z.ZodTypeDef, - unknown -> = z.object({ - type: CreateDeploymentGitSourceDeploymentsResponse200Type$inboundSchema, - org: z.string(), - repo: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type GitSource2$Outbound = { - type: string; - org: string; - repo: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const GitSource2$outboundSchema: z.ZodType< - GitSource2$Outbound, - z.ZodTypeDef, - GitSource2 -> = z.object({ - type: CreateDeploymentGitSourceDeploymentsResponse200Type$outboundSchema, - org: z.string(), - repo: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitSource2$ { - /** @deprecated use `GitSource2$inboundSchema` instead. */ - export const inboundSchema = GitSource2$inboundSchema; - /** @deprecated use `GitSource2$outboundSchema` instead. */ - export const outboundSchema = GitSource2$outboundSchema; - /** @deprecated use `GitSource2$Outbound` instead. */ - export type Outbound = GitSource2$Outbound; -} - -export function gitSource2ToJSON(gitSource2: GitSource2): string { - return JSON.stringify(GitSource2$outboundSchema.parse(gitSource2)); -} - -export function gitSource2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitSource2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitSource2' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentGitSourceDeploymentsResponseType); - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponseType$outboundSchema: - z.ZodNativeEnum = - CreateDeploymentGitSourceDeploymentsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsResponseType$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponseType$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsResponseType$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponseType$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsResponseType$outboundSchema; -} - -/** @internal */ -export const GitSourceRepoId$inboundSchema: z.ZodType< - GitSourceRepoId, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number()]); - -/** @internal */ -export type GitSourceRepoId$Outbound = string | number; - -/** @internal */ -export const GitSourceRepoId$outboundSchema: z.ZodType< - GitSourceRepoId$Outbound, - z.ZodTypeDef, - GitSourceRepoId -> = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitSourceRepoId$ { - /** @deprecated use `GitSourceRepoId$inboundSchema` instead. */ - export const inboundSchema = GitSourceRepoId$inboundSchema; - /** @deprecated use `GitSourceRepoId$outboundSchema` instead. */ - export const outboundSchema = GitSourceRepoId$outboundSchema; - /** @deprecated use `GitSourceRepoId$Outbound` instead. */ - export type Outbound = GitSourceRepoId$Outbound; -} - -export function gitSourceRepoIdToJSON( - gitSourceRepoId: GitSourceRepoId, -): string { - return JSON.stringify(GitSourceRepoId$outboundSchema.parse(gitSourceRepoId)); -} - -export function gitSourceRepoIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitSourceRepoId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitSourceRepoId' from JSON`, - ); -} - -/** @internal */ -export const GitSource1$inboundSchema: z.ZodType< - GitSource1, - z.ZodTypeDef, - unknown -> = z.object({ - type: CreateDeploymentGitSourceDeploymentsResponseType$inboundSchema, - repoId: z.union([z.string(), z.number()]), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type GitSource1$Outbound = { - type: string; - repoId: string | number; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const GitSource1$outboundSchema: z.ZodType< - GitSource1$Outbound, - z.ZodTypeDef, - GitSource1 -> = z.object({ - type: CreateDeploymentGitSourceDeploymentsResponseType$outboundSchema, - repoId: z.union([z.string(), z.number()]), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitSource1$ { - /** @deprecated use `GitSource1$inboundSchema` instead. */ - export const inboundSchema = GitSource1$inboundSchema; - /** @deprecated use `GitSource1$outboundSchema` instead. */ - export const outboundSchema = GitSource1$outboundSchema; - /** @deprecated use `GitSource1$Outbound` instead. */ - export type Outbound = GitSource1$Outbound; -} - -export function gitSource1ToJSON(gitSource1: GitSource1): string { - return JSON.stringify(GitSource1$outboundSchema.parse(gitSource1)); -} - -export function gitSource1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitSource1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitSource1' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentGitSource$inboundSchema: z.ZodType< - CreateDeploymentGitSource, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CreateDeploymentGitSource6$inboundSchema), - z.lazy(() => CreateDeploymentGitSource8$inboundSchema), - z.lazy(() => GitSource1$inboundSchema), - z.lazy(() => GitSource3$inboundSchema), - z.lazy(() => GitSource2$inboundSchema), - z.lazy(() => GitSource4$inboundSchema), - z.lazy(() => GitSource5$inboundSchema), - z.lazy(() => CreateDeploymentGitSource7$inboundSchema), - z.lazy(() => CreateDeploymentGitSource9$inboundSchema), -]); - -/** @internal */ -export type CreateDeploymentGitSource$Outbound = - | CreateDeploymentGitSource6$Outbound - | CreateDeploymentGitSource8$Outbound - | GitSource1$Outbound - | GitSource3$Outbound - | GitSource2$Outbound - | GitSource4$Outbound - | GitSource5$Outbound - | CreateDeploymentGitSource7$Outbound - | CreateDeploymentGitSource9$Outbound; - -/** @internal */ -export const CreateDeploymentGitSource$outboundSchema: z.ZodType< - CreateDeploymentGitSource$Outbound, - z.ZodTypeDef, - CreateDeploymentGitSource -> = z.union([ - z.lazy(() => CreateDeploymentGitSource6$outboundSchema), - z.lazy(() => CreateDeploymentGitSource8$outboundSchema), - z.lazy(() => GitSource1$outboundSchema), - z.lazy(() => GitSource3$outboundSchema), - z.lazy(() => GitSource2$outboundSchema), - z.lazy(() => GitSource4$outboundSchema), - z.lazy(() => GitSource5$outboundSchema), - z.lazy(() => CreateDeploymentGitSource7$outboundSchema), - z.lazy(() => CreateDeploymentGitSource9$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSource$ { - /** @deprecated use `CreateDeploymentGitSource$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitSource$inboundSchema; - /** @deprecated use `CreateDeploymentGitSource$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitSource$outboundSchema; - /** @deprecated use `CreateDeploymentGitSource$Outbound` instead. */ - export type Outbound = CreateDeploymentGitSource$Outbound; -} - -export function createDeploymentGitSourceToJSON( - createDeploymentGitSource: CreateDeploymentGitSource, -): string { - return JSON.stringify( - CreateDeploymentGitSource$outboundSchema.parse(createDeploymentGitSource), - ); -} - -export function createDeploymentGitSourceFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateDeploymentGitSource$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentGitSource' from JSON`, - ); -} - -/** @internal */ -export const Project$inboundSchema: z.ZodType = - z.object({ - id: z.string(), - name: z.string(), - framework: z.nullable(z.string()).optional(), - }); - -/** @internal */ -export type Project$Outbound = { - id: string; - name: string; - framework?: string | null | undefined; -}; - -/** @internal */ -export const Project$outboundSchema: z.ZodType< - Project$Outbound, - z.ZodTypeDef, - Project -> = z.object({ - id: z.string(), - name: z.string(), - framework: z.nullable(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Project$ { - /** @deprecated use `Project$inboundSchema` instead. */ - export const inboundSchema = Project$inboundSchema; - /** @deprecated use `Project$outboundSchema` instead. */ - export const outboundSchema = Project$outboundSchema; - /** @deprecated use `Project$Outbound` instead. */ - export type Outbound = Project$Outbound; -} - -export function projectToJSON(project: Project): string { - return JSON.stringify(Project$outboundSchema.parse(project)); -} - -export function projectFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Project' from JSON`, - ); -} - -/** @internal */ -export const ReadyState$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ReadyState); - -/** @internal */ -export const ReadyState$outboundSchema: z.ZodNativeEnum = - ReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ReadyState$ { - /** @deprecated use `ReadyState$inboundSchema` instead. */ - export const inboundSchema = ReadyState$inboundSchema; - /** @deprecated use `ReadyState$outboundSchema` instead. */ - export const outboundSchema = ReadyState$outboundSchema; -} - -/** @internal */ -export const CreateDeploymentSource$inboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentSource -> = z.nativeEnum(CreateDeploymentSource); - -/** @internal */ -export const CreateDeploymentSource$outboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentSource -> = CreateDeploymentSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentSource$ { - /** @deprecated use `CreateDeploymentSource$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentSource$inboundSchema; - /** @deprecated use `CreateDeploymentSource$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentSource$outboundSchema; -} - -/** @internal */ -export const CreateDeploymentTarget$inboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentTarget -> = z.nativeEnum(CreateDeploymentTarget); - -/** @internal */ -export const CreateDeploymentTarget$outboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentTarget -> = CreateDeploymentTarget$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentTarget$ { - /** @deprecated use `CreateDeploymentTarget$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentTarget$inboundSchema; - /** @deprecated use `CreateDeploymentTarget$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentTarget$outboundSchema; -} - -/** @internal */ -export const AliasWarning$inboundSchema: z.ZodType< - AliasWarning, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), - link: z.string().optional(), - action: z.string().optional(), -}); - -/** @internal */ -export type AliasWarning$Outbound = { - code: string; - message: string; - link?: string | undefined; - action?: string | undefined; -}; - -/** @internal */ -export const AliasWarning$outboundSchema: z.ZodType< - AliasWarning$Outbound, - z.ZodTypeDef, - AliasWarning -> = z.object({ - code: z.string(), - message: z.string(), - link: z.string().optional(), - action: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AliasWarning$ { - /** @deprecated use `AliasWarning$inboundSchema` instead. */ - export const inboundSchema = AliasWarning$inboundSchema; - /** @deprecated use `AliasWarning$outboundSchema` instead. */ - export const outboundSchema = AliasWarning$outboundSchema; - /** @deprecated use `AliasWarning$Outbound` instead. */ - export type Outbound = AliasWarning$Outbound; -} - -export function aliasWarningToJSON(aliasWarning: AliasWarning): string { - return JSON.stringify(AliasWarning$outboundSchema.parse(aliasWarning)); -} - -export function aliasWarningFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AliasWarning$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AliasWarning' from JSON`, - ); -} - -/** @internal */ -export const AliasError$inboundSchema: z.ZodType< - AliasError, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** @internal */ -export type AliasError$Outbound = { - code: string; - message: string; -}; - -/** @internal */ -export const AliasError$outboundSchema: z.ZodType< - AliasError$Outbound, - z.ZodTypeDef, - AliasError -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AliasError$ { - /** @deprecated use `AliasError$inboundSchema` instead. */ - export const inboundSchema = AliasError$inboundSchema; - /** @deprecated use `AliasError$outboundSchema` instead. */ - export const outboundSchema = AliasError$outboundSchema; - /** @deprecated use `AliasError$Outbound` instead. */ - export type Outbound = AliasError$Outbound; -} - -export function aliasErrorToJSON(aliasError: AliasError): string { - return JSON.stringify(AliasError$outboundSchema.parse(aliasError)); -} - -export function aliasErrorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AliasError$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AliasError' from JSON`, - ); -} - -/** @internal */ -export const ChecksState$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ChecksState); - -/** @internal */ -export const ChecksState$outboundSchema: z.ZodNativeEnum = - ChecksState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ChecksState$ { - /** @deprecated use `ChecksState$inboundSchema` instead. */ - export const inboundSchema = ChecksState$inboundSchema; - /** @deprecated use `ChecksState$outboundSchema` instead. */ - export const outboundSchema = ChecksState$outboundSchema; -} - -/** @internal */ -export const ChecksConclusion$inboundSchema: z.ZodNativeEnum< - typeof ChecksConclusion -> = z.nativeEnum(ChecksConclusion); - -/** @internal */ -export const ChecksConclusion$outboundSchema: z.ZodNativeEnum< - typeof ChecksConclusion -> = ChecksConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ChecksConclusion$ { - /** @deprecated use `ChecksConclusion$inboundSchema` instead. */ - export const inboundSchema = ChecksConclusion$inboundSchema; - /** @deprecated use `ChecksConclusion$outboundSchema` instead. */ - export const outboundSchema = ChecksConclusion$outboundSchema; -} - -/** @internal */ -export const ReadySubstate$inboundSchema: z.ZodNativeEnum< - typeof ReadySubstate -> = z.nativeEnum(ReadySubstate); - -/** @internal */ -export const ReadySubstate$outboundSchema: z.ZodNativeEnum< - typeof ReadySubstate -> = ReadySubstate$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ReadySubstate$ { - /** @deprecated use `ReadySubstate$inboundSchema` instead. */ - export const inboundSchema = ReadySubstate$inboundSchema; - /** @deprecated use `ReadySubstate$outboundSchema` instead. */ - export const outboundSchema = ReadySubstate$outboundSchema; -} - -/** @internal */ -export const OidcTokenClaims$inboundSchema: z.ZodType< - OidcTokenClaims, - z.ZodTypeDef, - unknown -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - owner_id: z.string(), - project: z.string(), - project_id: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); - -/** @internal */ -export type OidcTokenClaims$Outbound = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - owner_id: string; - project: string; - project_id: string; - environment: string; -}; - -/** @internal */ -export const OidcTokenClaims$outboundSchema: z.ZodType< - OidcTokenClaims$Outbound, - z.ZodTypeDef, - OidcTokenClaims -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - ownerId: z.string(), - project: z.string(), - projectId: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - ownerId: "owner_id", - projectId: "project_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OidcTokenClaims$ { - /** @deprecated use `OidcTokenClaims$inboundSchema` instead. */ - export const inboundSchema = OidcTokenClaims$inboundSchema; - /** @deprecated use `OidcTokenClaims$outboundSchema` instead. */ - export const outboundSchema = OidcTokenClaims$outboundSchema; - /** @deprecated use `OidcTokenClaims$Outbound` instead. */ - export type Outbound = OidcTokenClaims$Outbound; -} - -export function oidcTokenClaimsToJSON( - oidcTokenClaims: OidcTokenClaims, -): string { - return JSON.stringify(OidcTokenClaims$outboundSchema.parse(oidcTokenClaims)); -} - -export function oidcTokenClaimsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => OidcTokenClaims$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OidcTokenClaims' from JSON`, - ); -} - -/** @internal */ -export const Applications$inboundSchema: z.ZodType< - Applications, - z.ZodTypeDef, - unknown -> = z.object({ - productionHost: z.string(), - deploymentAlias: z.string().optional(), - deploymentHost: z.string().optional(), -}); - -/** @internal */ -export type Applications$Outbound = { - productionHost: string; - deploymentAlias?: string | undefined; - deploymentHost?: string | undefined; -}; - -/** @internal */ -export const Applications$outboundSchema: z.ZodType< - Applications$Outbound, - z.ZodTypeDef, - Applications -> = z.object({ - productionHost: z.string(), - deploymentAlias: z.string().optional(), - deploymentHost: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Applications$ { - /** @deprecated use `Applications$inboundSchema` instead. */ - export const inboundSchema = Applications$inboundSchema; - /** @deprecated use `Applications$outboundSchema` instead. */ - export const outboundSchema = Applications$outboundSchema; - /** @deprecated use `Applications$Outbound` instead. */ - export type Outbound = Applications$Outbound; -} - -export function applicationsToJSON(applications: Applications): string { - return JSON.stringify(Applications$outboundSchema.parse(applications)); -} - -export function applicationsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Applications$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Applications' from JSON`, - ); -} - -/** @internal */ -export const Microfrontends2$inboundSchema: z.ZodType< - Microfrontends2, - z.ZodTypeDef, - unknown -> = z.object({ - applications: z.record(z.lazy(() => Applications$inboundSchema)).optional(), - isDefaultApp: z.boolean(), - defaultRoute: z.string().optional(), - groupIds: z.array(z.string()), -}); - -/** @internal */ -export type Microfrontends2$Outbound = { - applications?: { [k: string]: Applications$Outbound } | undefined; - isDefaultApp: boolean; - defaultRoute?: string | undefined; - groupIds: Array; -}; - -/** @internal */ -export const Microfrontends2$outboundSchema: z.ZodType< - Microfrontends2$Outbound, - z.ZodTypeDef, - Microfrontends2 -> = z.object({ - applications: z.record(z.lazy(() => Applications$outboundSchema)).optional(), - isDefaultApp: z.boolean(), - defaultRoute: z.string().optional(), - groupIds: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Microfrontends2$ { - /** @deprecated use `Microfrontends2$inboundSchema` instead. */ - export const inboundSchema = Microfrontends2$inboundSchema; - /** @deprecated use `Microfrontends2$outboundSchema` instead. */ - export const outboundSchema = Microfrontends2$outboundSchema; - /** @deprecated use `Microfrontends2$Outbound` instead. */ - export type Outbound = Microfrontends2$Outbound; -} - -export function microfrontends2ToJSON( - microfrontends2: Microfrontends2, -): string { - return JSON.stringify(Microfrontends2$outboundSchema.parse(microfrontends2)); -} - -export function microfrontends2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Microfrontends2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Microfrontends2' from JSON`, - ); -} - -/** @internal */ -export const Microfrontends1$inboundSchema: z.ZodType< - Microfrontends1, - z.ZodTypeDef, - unknown -> = z.object({ - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), - groupIds: z.array(z.string()), -}); - -/** @internal */ -export type Microfrontends1$Outbound = { - isDefaultApp?: boolean | undefined; - defaultRoute?: string | undefined; - groupIds: Array; -}; - -/** @internal */ -export const Microfrontends1$outboundSchema: z.ZodType< - Microfrontends1$Outbound, - z.ZodTypeDef, - Microfrontends1 -> = z.object({ - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), - groupIds: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Microfrontends1$ { - /** @deprecated use `Microfrontends1$inboundSchema` instead. */ - export const inboundSchema = Microfrontends1$inboundSchema; - /** @deprecated use `Microfrontends1$outboundSchema` instead. */ - export const outboundSchema = Microfrontends1$outboundSchema; - /** @deprecated use `Microfrontends1$Outbound` instead. */ - export type Outbound = Microfrontends1$Outbound; -} - -export function microfrontends1ToJSON( - microfrontends1: Microfrontends1, -): string { - return JSON.stringify(Microfrontends1$outboundSchema.parse(microfrontends1)); -} - -export function microfrontends1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Microfrontends1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Microfrontends1' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentMicrofrontends$inboundSchema: z.ZodType< - CreateDeploymentMicrofrontends, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => Microfrontends1$inboundSchema), - z.lazy(() => Microfrontends2$inboundSchema), -]); - -/** @internal */ -export type CreateDeploymentMicrofrontends$Outbound = - | Microfrontends1$Outbound - | Microfrontends2$Outbound; - -/** @internal */ -export const CreateDeploymentMicrofrontends$outboundSchema: z.ZodType< - CreateDeploymentMicrofrontends$Outbound, - z.ZodTypeDef, - CreateDeploymentMicrofrontends -> = z.union([ - z.lazy(() => Microfrontends1$outboundSchema), - z.lazy(() => Microfrontends2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentMicrofrontends$ { - /** @deprecated use `CreateDeploymentMicrofrontends$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentMicrofrontends$inboundSchema; - /** @deprecated use `CreateDeploymentMicrofrontends$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentMicrofrontends$outboundSchema; - /** @deprecated use `CreateDeploymentMicrofrontends$Outbound` instead. */ - export type Outbound = CreateDeploymentMicrofrontends$Outbound; -} - -export function createDeploymentMicrofrontendsToJSON( - createDeploymentMicrofrontends: CreateDeploymentMicrofrontends, -): string { - return JSON.stringify( - CreateDeploymentMicrofrontends$outboundSchema.parse( - createDeploymentMicrofrontends, - ), - ); -} - -export function createDeploymentMicrofrontendsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateDeploymentMicrofrontends$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentMicrofrontends' from JSON`, - ); -} - -/** @internal */ -export const Functions$inboundSchema: z.ZodType< - Functions, - z.ZodTypeDef, - unknown -> = z.object({ - memory: z.number().optional(), - maxDuration: z.number().optional(), - runtime: z.string().optional(), - includeFiles: z.string().optional(), - excludeFiles: z.string().optional(), -}); - -/** @internal */ -export type Functions$Outbound = { - memory?: number | undefined; - maxDuration?: number | undefined; - runtime?: string | undefined; - includeFiles?: string | undefined; - excludeFiles?: string | undefined; -}; - -/** @internal */ -export const Functions$outboundSchema: z.ZodType< - Functions$Outbound, - z.ZodTypeDef, - Functions -> = z.object({ - memory: z.number().optional(), - maxDuration: z.number().optional(), - runtime: z.string().optional(), - includeFiles: z.string().optional(), - excludeFiles: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Functions$ { - /** @deprecated use `Functions$inboundSchema` instead. */ - export const inboundSchema = Functions$inboundSchema; - /** @deprecated use `Functions$outboundSchema` instead. */ - export const outboundSchema = Functions$outboundSchema; - /** @deprecated use `Functions$Outbound` instead. */ - export type Outbound = Functions$Outbound; -} - -export function functionsToJSON(functions: Functions): string { - return JSON.stringify(Functions$outboundSchema.parse(functions)); -} - -export function functionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Functions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Functions' from JSON`, - ); -} - -/** @internal */ -export const Routes3$inboundSchema: z.ZodType = - z.object({ - src: z.string(), - continue: z.boolean(), - middleware: z.number(), - }); - -/** @internal */ -export type Routes3$Outbound = { - src: string; - continue: boolean; - middleware: number; -}; - -/** @internal */ -export const Routes3$outboundSchema: z.ZodType< - Routes3$Outbound, - z.ZodTypeDef, - Routes3 -> = z.object({ - src: z.string(), - continue: z.boolean(), - middleware: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Routes3$ { - /** @deprecated use `Routes3$inboundSchema` instead. */ - export const inboundSchema = Routes3$inboundSchema; - /** @deprecated use `Routes3$outboundSchema` instead. */ - export const outboundSchema = Routes3$outboundSchema; - /** @deprecated use `Routes3$Outbound` instead. */ - export type Outbound = Routes3$Outbound; -} - -export function routes3ToJSON(routes3: Routes3): string { - return JSON.stringify(Routes3$outboundSchema.parse(routes3)); -} - -export function routes3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Routes3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Routes3' from JSON`, - ); -} - -/** @internal */ -export const RoutesHandle$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(RoutesHandle); - -/** @internal */ -export const RoutesHandle$outboundSchema: z.ZodNativeEnum = - RoutesHandle$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RoutesHandle$ { - /** @deprecated use `RoutesHandle$inboundSchema` instead. */ - export const inboundSchema = RoutesHandle$inboundSchema; - /** @deprecated use `RoutesHandle$outboundSchema` instead. */ - export const outboundSchema = RoutesHandle$outboundSchema; -} - -/** @internal */ -export const Routes2$inboundSchema: z.ZodType = - z.object({ - handle: RoutesHandle$inboundSchema, - src: z.string().optional(), - dest: z.string().optional(), - status: z.number().optional(), - }); - -/** @internal */ -export type Routes2$Outbound = { - handle: string; - src?: string | undefined; - dest?: string | undefined; - status?: number | undefined; -}; - -/** @internal */ -export const Routes2$outboundSchema: z.ZodType< - Routes2$Outbound, - z.ZodTypeDef, - Routes2 -> = z.object({ - handle: RoutesHandle$outboundSchema, - src: z.string().optional(), - dest: z.string().optional(), - status: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Routes2$ { - /** @deprecated use `Routes2$inboundSchema` instead. */ - export const inboundSchema = Routes2$inboundSchema; - /** @deprecated use `Routes2$outboundSchema` instead. */ - export const outboundSchema = Routes2$outboundSchema; - /** @deprecated use `Routes2$Outbound` instead. */ - export type Outbound = Routes2$Outbound; -} - -export function routes2ToJSON(routes2: Routes2): string { - return JSON.stringify(Routes2$outboundSchema.parse(routes2)); -} - -export function routes2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Routes2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Routes2' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentHasType$inboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentHasType -> = z.nativeEnum(CreateDeploymentHasType); - -/** @internal */ -export const CreateDeploymentHasType$outboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentHasType -> = CreateDeploymentHasType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentHasType$ { - /** @deprecated use `CreateDeploymentHasType$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentHasType$inboundSchema; - /** @deprecated use `CreateDeploymentHasType$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentHasType$outboundSchema; -} - -/** @internal */ -export const Has2$inboundSchema: z.ZodType = z - .object({ - type: CreateDeploymentHasType$inboundSchema, - key: z.string(), - value: z.string().optional(), - }); - -/** @internal */ -export type Has2$Outbound = { - type: string; - key: string; - value?: string | undefined; -}; - -/** @internal */ -export const Has2$outboundSchema: z.ZodType = - z.object({ - type: CreateDeploymentHasType$outboundSchema, - key: z.string(), - value: z.string().optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Has2$ { - /** @deprecated use `Has2$inboundSchema` instead. */ - export const inboundSchema = Has2$inboundSchema; - /** @deprecated use `Has2$outboundSchema` instead. */ - export const outboundSchema = Has2$outboundSchema; - /** @deprecated use `Has2$Outbound` instead. */ - export type Outbound = Has2$Outbound; -} - -export function has2ToJSON(has2: Has2): string { - return JSON.stringify(Has2$outboundSchema.parse(has2)); -} - -export function has2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Has2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Has2' from JSON`, - ); -} - -/** @internal */ -export const HasType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(HasType); - -/** @internal */ -export const HasType$outboundSchema: z.ZodNativeEnum = - HasType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace HasType$ { - /** @deprecated use `HasType$inboundSchema` instead. */ - export const inboundSchema = HasType$inboundSchema; - /** @deprecated use `HasType$outboundSchema` instead. */ - export const outboundSchema = HasType$outboundSchema; -} - -/** @internal */ -export const Has1$inboundSchema: z.ZodType = z - .object({ - type: HasType$inboundSchema, - value: z.string(), - }); - -/** @internal */ -export type Has1$Outbound = { - type: string; - value: string; -}; - -/** @internal */ -export const Has1$outboundSchema: z.ZodType = - z.object({ - type: HasType$outboundSchema, - value: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Has1$ { - /** @deprecated use `Has1$inboundSchema` instead. */ - export const inboundSchema = Has1$inboundSchema; - /** @deprecated use `Has1$outboundSchema` instead. */ - export const outboundSchema = Has1$outboundSchema; - /** @deprecated use `Has1$Outbound` instead. */ - export type Outbound = Has1$Outbound; -} - -export function has1ToJSON(has1: Has1): string { - return JSON.stringify(Has1$outboundSchema.parse(has1)); -} - -export function has1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Has1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Has1' from JSON`, - ); -} - -/** @internal */ -export const RoutesHas$inboundSchema: z.ZodType< - RoutesHas, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => Has1$inboundSchema), - z.lazy(() => Has2$inboundSchema), -]); - -/** @internal */ -export type RoutesHas$Outbound = Has1$Outbound | Has2$Outbound; - -/** @internal */ -export const RoutesHas$outboundSchema: z.ZodType< - RoutesHas$Outbound, - z.ZodTypeDef, - RoutesHas -> = z.union([ - z.lazy(() => Has1$outboundSchema), - z.lazy(() => Has2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RoutesHas$ { - /** @deprecated use `RoutesHas$inboundSchema` instead. */ - export const inboundSchema = RoutesHas$inboundSchema; - /** @deprecated use `RoutesHas$outboundSchema` instead. */ - export const outboundSchema = RoutesHas$outboundSchema; - /** @deprecated use `RoutesHas$Outbound` instead. */ - export type Outbound = RoutesHas$Outbound; -} - -export function routesHasToJSON(routesHas: RoutesHas): string { - return JSON.stringify(RoutesHas$outboundSchema.parse(routesHas)); -} - -export function routesHasFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RoutesHas$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RoutesHas' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentMissingType$inboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentMissingType -> = z.nativeEnum(CreateDeploymentMissingType); - -/** @internal */ -export const CreateDeploymentMissingType$outboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentMissingType -> = CreateDeploymentMissingType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentMissingType$ { - /** @deprecated use `CreateDeploymentMissingType$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentMissingType$inboundSchema; - /** @deprecated use `CreateDeploymentMissingType$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentMissingType$outboundSchema; -} - -/** @internal */ -export const Missing2$inboundSchema: z.ZodType< - Missing2, - z.ZodTypeDef, - unknown -> = z.object({ - type: CreateDeploymentMissingType$inboundSchema, - key: z.string(), - value: z.string().optional(), -}); - -/** @internal */ -export type Missing2$Outbound = { - type: string; - key: string; - value?: string | undefined; -}; - -/** @internal */ -export const Missing2$outboundSchema: z.ZodType< - Missing2$Outbound, - z.ZodTypeDef, - Missing2 -> = z.object({ - type: CreateDeploymentMissingType$outboundSchema, - key: z.string(), - value: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Missing2$ { - /** @deprecated use `Missing2$inboundSchema` instead. */ - export const inboundSchema = Missing2$inboundSchema; - /** @deprecated use `Missing2$outboundSchema` instead. */ - export const outboundSchema = Missing2$outboundSchema; - /** @deprecated use `Missing2$Outbound` instead. */ - export type Outbound = Missing2$Outbound; -} - -export function missing2ToJSON(missing2: Missing2): string { - return JSON.stringify(Missing2$outboundSchema.parse(missing2)); -} - -export function missing2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Missing2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Missing2' from JSON`, - ); -} - -/** @internal */ -export const MissingType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(MissingType); - -/** @internal */ -export const MissingType$outboundSchema: z.ZodNativeEnum = - MissingType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace MissingType$ { - /** @deprecated use `MissingType$inboundSchema` instead. */ - export const inboundSchema = MissingType$inboundSchema; - /** @deprecated use `MissingType$outboundSchema` instead. */ - export const outboundSchema = MissingType$outboundSchema; -} - -/** @internal */ -export const Missing1$inboundSchema: z.ZodType< - Missing1, - z.ZodTypeDef, - unknown -> = z.object({ - type: MissingType$inboundSchema, - value: z.string(), -}); - -/** @internal */ -export type Missing1$Outbound = { - type: string; - value: string; -}; - -/** @internal */ -export const Missing1$outboundSchema: z.ZodType< - Missing1$Outbound, - z.ZodTypeDef, - Missing1 -> = z.object({ - type: MissingType$outboundSchema, - value: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Missing1$ { - /** @deprecated use `Missing1$inboundSchema` instead. */ - export const inboundSchema = Missing1$inboundSchema; - /** @deprecated use `Missing1$outboundSchema` instead. */ - export const outboundSchema = Missing1$outboundSchema; - /** @deprecated use `Missing1$Outbound` instead. */ - export type Outbound = Missing1$Outbound; -} - -export function missing1ToJSON(missing1: Missing1): string { - return JSON.stringify(Missing1$outboundSchema.parse(missing1)); -} - -export function missing1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Missing1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Missing1' from JSON`, - ); -} - -/** @internal */ -export const RoutesMissing$inboundSchema: z.ZodType< - RoutesMissing, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => Missing1$inboundSchema), - z.lazy(() => Missing2$inboundSchema), -]); - -/** @internal */ -export type RoutesMissing$Outbound = Missing1$Outbound | Missing2$Outbound; - -/** @internal */ -export const RoutesMissing$outboundSchema: z.ZodType< - RoutesMissing$Outbound, - z.ZodTypeDef, - RoutesMissing -> = z.union([ - z.lazy(() => Missing1$outboundSchema), - z.lazy(() => Missing2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RoutesMissing$ { - /** @deprecated use `RoutesMissing$inboundSchema` instead. */ - export const inboundSchema = RoutesMissing$inboundSchema; - /** @deprecated use `RoutesMissing$outboundSchema` instead. */ - export const outboundSchema = RoutesMissing$outboundSchema; - /** @deprecated use `RoutesMissing$Outbound` instead. */ - export type Outbound = RoutesMissing$Outbound; -} - -export function routesMissingToJSON(routesMissing: RoutesMissing): string { - return JSON.stringify(RoutesMissing$outboundSchema.parse(routesMissing)); -} - -export function routesMissingFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RoutesMissing$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RoutesMissing' from JSON`, - ); -} - -/** @internal */ -export const Locale$inboundSchema: z.ZodType = z - .object({ - redirect: z.record(z.string()).optional(), - cookie: z.string().optional(), - }); - -/** @internal */ -export type Locale$Outbound = { - redirect?: { [k: string]: string } | undefined; - cookie?: string | undefined; -}; - -/** @internal */ -export const Locale$outboundSchema: z.ZodType< - Locale$Outbound, - z.ZodTypeDef, - Locale -> = z.object({ - redirect: z.record(z.string()).optional(), - cookie: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Locale$ { - /** @deprecated use `Locale$inboundSchema` instead. */ - export const inboundSchema = Locale$inboundSchema; - /** @deprecated use `Locale$outboundSchema` instead. */ - export const outboundSchema = Locale$outboundSchema; - /** @deprecated use `Locale$Outbound` instead. */ - export type Outbound = Locale$Outbound; -} - -export function localeToJSON(locale: Locale): string { - return JSON.stringify(Locale$outboundSchema.parse(locale)); -} - -export function localeFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Locale$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Locale' from JSON`, - ); -} - -/** @internal */ -export const Routes1$inboundSchema: z.ZodType = - z.object({ - src: z.string(), - dest: z.string().optional(), - headers: z.record(z.string()).optional(), - methods: z.array(z.string()).optional(), - continue: z.boolean().optional(), - override: z.boolean().optional(), - caseSensitive: z.boolean().optional(), - check: z.boolean().optional(), - important: z.boolean().optional(), - status: z.number().optional(), - has: z.array( - z.union([ - z.lazy(() => Has1$inboundSchema), - z.lazy(() => Has2$inboundSchema), - ]), - ).optional(), - missing: z.array( - z.union([ - z.lazy(() => Missing1$inboundSchema), - z.lazy(() => Missing2$inboundSchema), - ]), - ).optional(), - locale: z.lazy(() => Locale$inboundSchema).optional(), - middlewarePath: z.string().optional(), - middlewareRawSrc: z.array(z.string()).optional(), - middleware: z.number().optional(), - }); - -/** @internal */ -export type Routes1$Outbound = { - src: string; - dest?: string | undefined; - headers?: { [k: string]: string } | undefined; - methods?: Array | undefined; - continue?: boolean | undefined; - override?: boolean | undefined; - caseSensitive?: boolean | undefined; - check?: boolean | undefined; - important?: boolean | undefined; - status?: number | undefined; - has?: Array | undefined; - missing?: Array | undefined; - locale?: Locale$Outbound | undefined; - middlewarePath?: string | undefined; - middlewareRawSrc?: Array | undefined; - middleware?: number | undefined; -}; - -/** @internal */ -export const Routes1$outboundSchema: z.ZodType< - Routes1$Outbound, - z.ZodTypeDef, - Routes1 -> = z.object({ - src: z.string(), - dest: z.string().optional(), - headers: z.record(z.string()).optional(), - methods: z.array(z.string()).optional(), - continue: z.boolean().optional(), - override: z.boolean().optional(), - caseSensitive: z.boolean().optional(), - check: z.boolean().optional(), - important: z.boolean().optional(), - status: z.number().optional(), - has: z.array( - z.union([ - z.lazy(() => Has1$outboundSchema), - z.lazy(() => Has2$outboundSchema), - ]), - ).optional(), - missing: z.array( - z.union([ - z.lazy(() => Missing1$outboundSchema), - z.lazy(() => Missing2$outboundSchema), - ]), - ).optional(), - locale: z.lazy(() => Locale$outboundSchema).optional(), - middlewarePath: z.string().optional(), - middlewareRawSrc: z.array(z.string()).optional(), - middleware: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Routes1$ { - /** @deprecated use `Routes1$inboundSchema` instead. */ - export const inboundSchema = Routes1$inboundSchema; - /** @deprecated use `Routes1$outboundSchema` instead. */ - export const outboundSchema = Routes1$outboundSchema; - /** @deprecated use `Routes1$Outbound` instead. */ - export type Outbound = Routes1$Outbound; -} - -export function routes1ToJSON(routes1: Routes1): string { - return JSON.stringify(Routes1$outboundSchema.parse(routes1)); -} - -export function routes1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Routes1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Routes1' from JSON`, - ); -} - -/** @internal */ -export const Routes$inboundSchema: z.ZodType = z - .union([ - z.lazy(() => Routes3$inboundSchema), - z.lazy(() => Routes2$inboundSchema), - z.lazy(() => Routes1$inboundSchema), - ]); - -/** @internal */ -export type Routes$Outbound = - | Routes3$Outbound - | Routes2$Outbound - | Routes1$Outbound; - -/** @internal */ -export const Routes$outboundSchema: z.ZodType< - Routes$Outbound, - z.ZodTypeDef, - Routes -> = z.union([ - z.lazy(() => Routes3$outboundSchema), - z.lazy(() => Routes2$outboundSchema), - z.lazy(() => Routes1$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Routes$ { - /** @deprecated use `Routes$inboundSchema` instead. */ - export const inboundSchema = Routes$inboundSchema; - /** @deprecated use `Routes$outboundSchema` instead. */ - export const outboundSchema = Routes$outboundSchema; - /** @deprecated use `Routes$Outbound` instead. */ - export type Outbound = Routes$Outbound; -} - -export function routesToJSON(routes: Routes): string { - return JSON.stringify(Routes$outboundSchema.parse(routes)); -} - -export function routesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Routes$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Routes' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentCrons$inboundSchema: z.ZodType< - CreateDeploymentCrons, - z.ZodTypeDef, - unknown -> = z.object({ - schedule: z.string(), - path: z.string(), -}); - -/** @internal */ -export type CreateDeploymentCrons$Outbound = { - schedule: string; - path: string; -}; - -/** @internal */ -export const CreateDeploymentCrons$outboundSchema: z.ZodType< - CreateDeploymentCrons$Outbound, - z.ZodTypeDef, - CreateDeploymentCrons -> = z.object({ - schedule: z.string(), - path: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentCrons$ { - /** @deprecated use `CreateDeploymentCrons$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentCrons$inboundSchema; - /** @deprecated use `CreateDeploymentCrons$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentCrons$outboundSchema; - /** @deprecated use `CreateDeploymentCrons$Outbound` instead. */ - export type Outbound = CreateDeploymentCrons$Outbound; -} - -export function createDeploymentCronsToJSON( - createDeploymentCrons: CreateDeploymentCrons, -): string { - return JSON.stringify( - CreateDeploymentCrons$outboundSchema.parse(createDeploymentCrons), - ); -} - -export function createDeploymentCronsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateDeploymentCrons$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentCrons' from JSON`, - ); -} - -/** @internal */ -export const Plan$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Plan, -); - -/** @internal */ -export const Plan$outboundSchema: z.ZodNativeEnum = - Plan$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Plan$ { - /** @deprecated use `Plan$inboundSchema` instead. */ - export const inboundSchema = Plan$inboundSchema; - /** @deprecated use `Plan$outboundSchema` instead. */ - export const outboundSchema = Plan$outboundSchema; -} - -/** @internal */ -export const CreateDeploymentGitRepoDeploymentsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateDeploymentGitRepoDeploymentsType, - ); - -/** @internal */ -export const CreateDeploymentGitRepoDeploymentsType$outboundSchema: - z.ZodNativeEnum = - CreateDeploymentGitRepoDeploymentsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitRepoDeploymentsType$ { - /** @deprecated use `CreateDeploymentGitRepoDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitRepoDeploymentsType$inboundSchema; - /** @deprecated use `CreateDeploymentGitRepoDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitRepoDeploymentsType$outboundSchema; -} - -/** @internal */ -export const CreateDeploymentGitRepoOwnerType$inboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentGitRepoOwnerType -> = z.nativeEnum(CreateDeploymentGitRepoOwnerType); - -/** @internal */ -export const CreateDeploymentGitRepoOwnerType$outboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentGitRepoOwnerType -> = CreateDeploymentGitRepoOwnerType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitRepoOwnerType$ { - /** @deprecated use `CreateDeploymentGitRepoOwnerType$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitRepoOwnerType$inboundSchema; - /** @deprecated use `CreateDeploymentGitRepoOwnerType$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitRepoOwnerType$outboundSchema; -} - -/** @internal */ -export const GitRepo3$inboundSchema: z.ZodType< - GitRepo3, - z.ZodTypeDef, - unknown -> = z.object({ - owner: z.string(), - repoUuid: z.string(), - slug: z.string(), - type: CreateDeploymentGitRepoDeploymentsType$inboundSchema, - workspaceUuid: z.string(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: CreateDeploymentGitRepoOwnerType$inboundSchema, -}); - -/** @internal */ -export type GitRepo3$Outbound = { - owner: string; - repoUuid: string; - slug: string; - type: string; - workspaceUuid: string; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: string; -}; - -/** @internal */ -export const GitRepo3$outboundSchema: z.ZodType< - GitRepo3$Outbound, - z.ZodTypeDef, - GitRepo3 -> = z.object({ - owner: z.string(), - repoUuid: z.string(), - slug: z.string(), - type: CreateDeploymentGitRepoDeploymentsType$outboundSchema, - workspaceUuid: z.string(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: CreateDeploymentGitRepoOwnerType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitRepo3$ { - /** @deprecated use `GitRepo3$inboundSchema` instead. */ - export const inboundSchema = GitRepo3$inboundSchema; - /** @deprecated use `GitRepo3$outboundSchema` instead. */ - export const outboundSchema = GitRepo3$outboundSchema; - /** @deprecated use `GitRepo3$Outbound` instead. */ - export type Outbound = GitRepo3$Outbound; -} - -export function gitRepo3ToJSON(gitRepo3: GitRepo3): string { - return JSON.stringify(GitRepo3$outboundSchema.parse(gitRepo3)); -} - -export function gitRepo3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitRepo3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitRepo3' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentGitRepoType$inboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentGitRepoType -> = z.nativeEnum(CreateDeploymentGitRepoType); - -/** @internal */ -export const CreateDeploymentGitRepoType$outboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentGitRepoType -> = CreateDeploymentGitRepoType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitRepoType$ { - /** @deprecated use `CreateDeploymentGitRepoType$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitRepoType$inboundSchema; - /** @deprecated use `CreateDeploymentGitRepoType$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitRepoType$outboundSchema; -} - -/** @internal */ -export const GitRepoOwnerType$inboundSchema: z.ZodNativeEnum< - typeof GitRepoOwnerType -> = z.nativeEnum(GitRepoOwnerType); - -/** @internal */ -export const GitRepoOwnerType$outboundSchema: z.ZodNativeEnum< - typeof GitRepoOwnerType -> = GitRepoOwnerType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitRepoOwnerType$ { - /** @deprecated use `GitRepoOwnerType$inboundSchema` instead. */ - export const inboundSchema = GitRepoOwnerType$inboundSchema; - /** @deprecated use `GitRepoOwnerType$outboundSchema` instead. */ - export const outboundSchema = GitRepoOwnerType$outboundSchema; -} - -/** @internal */ -export const GitRepo2$inboundSchema: z.ZodType< - GitRepo2, - z.ZodTypeDef, - unknown -> = z.object({ - org: z.string(), - repo: z.string(), - repoId: z.number(), - type: CreateDeploymentGitRepoType$inboundSchema, - repoOwnerId: z.number(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: GitRepoOwnerType$inboundSchema, -}); - -/** @internal */ -export type GitRepo2$Outbound = { - org: string; - repo: string; - repoId: number; - type: string; - repoOwnerId: number; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: string; -}; - -/** @internal */ -export const GitRepo2$outboundSchema: z.ZodType< - GitRepo2$Outbound, - z.ZodTypeDef, - GitRepo2 -> = z.object({ - org: z.string(), - repo: z.string(), - repoId: z.number(), - type: CreateDeploymentGitRepoType$outboundSchema, - repoOwnerId: z.number(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: GitRepoOwnerType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitRepo2$ { - /** @deprecated use `GitRepo2$inboundSchema` instead. */ - export const inboundSchema = GitRepo2$inboundSchema; - /** @deprecated use `GitRepo2$outboundSchema` instead. */ - export const outboundSchema = GitRepo2$outboundSchema; - /** @deprecated use `GitRepo2$Outbound` instead. */ - export type Outbound = GitRepo2$Outbound; -} - -export function gitRepo2ToJSON(gitRepo2: GitRepo2): string { - return JSON.stringify(GitRepo2$outboundSchema.parse(gitRepo2)); -} - -export function gitRepo2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitRepo2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitRepo2' from JSON`, - ); -} - -/** @internal */ -export const GitRepoType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(GitRepoType); - -/** @internal */ -export const GitRepoType$outboundSchema: z.ZodNativeEnum = - GitRepoType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitRepoType$ { - /** @deprecated use `GitRepoType$inboundSchema` instead. */ - export const inboundSchema = GitRepoType$inboundSchema; - /** @deprecated use `GitRepoType$outboundSchema` instead. */ - export const outboundSchema = GitRepoType$outboundSchema; -} - -/** @internal */ -export const OwnerType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(OwnerType); - -/** @internal */ -export const OwnerType$outboundSchema: z.ZodNativeEnum = - OwnerType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OwnerType$ { - /** @deprecated use `OwnerType$inboundSchema` instead. */ - export const inboundSchema = OwnerType$inboundSchema; - /** @deprecated use `OwnerType$outboundSchema` instead. */ - export const outboundSchema = OwnerType$outboundSchema; -} - -/** @internal */ -export const GitRepo1$inboundSchema: z.ZodType< - GitRepo1, - z.ZodTypeDef, - unknown -> = z.object({ - namespace: z.string(), - projectId: z.number(), - type: GitRepoType$inboundSchema, - url: z.string(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: OwnerType$inboundSchema, -}); - -/** @internal */ -export type GitRepo1$Outbound = { - namespace: string; - projectId: number; - type: string; - url: string; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: string; -}; - -/** @internal */ -export const GitRepo1$outboundSchema: z.ZodType< - GitRepo1$Outbound, - z.ZodTypeDef, - GitRepo1 -> = z.object({ - namespace: z.string(), - projectId: z.number(), - type: GitRepoType$outboundSchema, - url: z.string(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: OwnerType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitRepo1$ { - /** @deprecated use `GitRepo1$inboundSchema` instead. */ - export const inboundSchema = GitRepo1$inboundSchema; - /** @deprecated use `GitRepo1$outboundSchema` instead. */ - export const outboundSchema = GitRepo1$outboundSchema; - /** @deprecated use `GitRepo1$Outbound` instead. */ - export type Outbound = GitRepo1$Outbound; -} - -export function gitRepo1ToJSON(gitRepo1: GitRepo1): string { - return JSON.stringify(GitRepo1$outboundSchema.parse(gitRepo1)); -} - -export function gitRepo1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitRepo1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitRepo1' from JSON`, - ); -} - -/** @internal */ -export const GitRepo$inboundSchema: z.ZodType = - z.union([ - z.lazy(() => GitRepo1$inboundSchema), - z.lazy(() => GitRepo2$inboundSchema), - z.lazy(() => GitRepo3$inboundSchema), - ]); - -/** @internal */ -export type GitRepo$Outbound = - | GitRepo1$Outbound - | GitRepo2$Outbound - | GitRepo3$Outbound; - -/** @internal */ -export const GitRepo$outboundSchema: z.ZodType< - GitRepo$Outbound, - z.ZodTypeDef, - GitRepo -> = z.union([ - z.lazy(() => GitRepo1$outboundSchema), - z.lazy(() => GitRepo2$outboundSchema), - z.lazy(() => GitRepo3$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitRepo$ { - /** @deprecated use `GitRepo$inboundSchema` instead. */ - export const inboundSchema = GitRepo$inboundSchema; - /** @deprecated use `GitRepo$outboundSchema` instead. */ - export const outboundSchema = GitRepo$outboundSchema; - /** @deprecated use `GitRepo$Outbound` instead. */ - export type Outbound = GitRepo$Outbound; -} - -export function gitRepoToJSON(gitRepo: GitRepo): string { - return JSON.stringify(GitRepo$outboundSchema.parse(gitRepo)); -} - -export function gitRepoFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitRepo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitRepo' from JSON`, - ); -} - -/** @internal */ -export const Flags2$inboundSchema: z.ZodType = z - .object({}); - -/** @internal */ -export type Flags2$Outbound = {}; - -/** @internal */ -export const Flags2$outboundSchema: z.ZodType< - Flags2$Outbound, - z.ZodTypeDef, - Flags2 -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Flags2$ { - /** @deprecated use `Flags2$inboundSchema` instead. */ - export const inboundSchema = Flags2$inboundSchema; - /** @deprecated use `Flags2$outboundSchema` instead. */ - export const outboundSchema = Flags2$outboundSchema; - /** @deprecated use `Flags2$Outbound` instead. */ - export type Outbound = Flags2$Outbound; -} - -export function flags2ToJSON(flags2: Flags2): string { - return JSON.stringify(Flags2$outboundSchema.parse(flags2)); -} - -export function flags2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Flags2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Flags2' from JSON`, - ); -} - -/** @internal */ -export const Options$inboundSchema: z.ZodType = - z.object({ - value: z.nullable(FlagJSONValue$inboundSchema), - label: z.string().optional(), - }); - -/** @internal */ -export type Options$Outbound = { - value: FlagJSONValue$Outbound | null; - label?: string | undefined; -}; - -/** @internal */ -export const Options$outboundSchema: z.ZodType< - Options$Outbound, - z.ZodTypeDef, - Options -> = z.object({ - value: z.nullable(FlagJSONValue$outboundSchema), - label: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Options$ { - /** @deprecated use `Options$inboundSchema` instead. */ - export const inboundSchema = Options$inboundSchema; - /** @deprecated use `Options$outboundSchema` instead. */ - export const outboundSchema = Options$outboundSchema; - /** @deprecated use `Options$Outbound` instead. */ - export type Outbound = Options$Outbound; -} - -export function optionsToJSON(options: Options): string { - return JSON.stringify(Options$outboundSchema.parse(options)); -} - -export function optionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Options$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Options' from JSON`, - ); -} - -/** @internal */ -export const FlagsDefinitions$inboundSchema: z.ZodType< - FlagsDefinitions, - z.ZodTypeDef, - unknown -> = z.object({ - options: z.array(z.lazy(() => Options$inboundSchema)).optional(), - url: z.string().optional(), - description: z.string().optional(), -}); - -/** @internal */ -export type FlagsDefinitions$Outbound = { - options?: Array | undefined; - url?: string | undefined; - description?: string | undefined; -}; - -/** @internal */ -export const FlagsDefinitions$outboundSchema: z.ZodType< - FlagsDefinitions$Outbound, - z.ZodTypeDef, - FlagsDefinitions -> = z.object({ - options: z.array(z.lazy(() => Options$outboundSchema)).optional(), - url: z.string().optional(), - description: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FlagsDefinitions$ { - /** @deprecated use `FlagsDefinitions$inboundSchema` instead. */ - export const inboundSchema = FlagsDefinitions$inboundSchema; - /** @deprecated use `FlagsDefinitions$outboundSchema` instead. */ - export const outboundSchema = FlagsDefinitions$outboundSchema; - /** @deprecated use `FlagsDefinitions$Outbound` instead. */ - export type Outbound = FlagsDefinitions$Outbound; -} - -export function flagsDefinitionsToJSON( - flagsDefinitions: FlagsDefinitions, -): string { - return JSON.stringify( - FlagsDefinitions$outboundSchema.parse(flagsDefinitions), - ); -} - -export function flagsDefinitionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FlagsDefinitions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FlagsDefinitions' from JSON`, - ); -} - -/** @internal */ -export const Flags1$inboundSchema: z.ZodType = z - .object({ - definitions: z.record(z.lazy(() => FlagsDefinitions$inboundSchema)), - }); - -/** @internal */ -export type Flags1$Outbound = { - definitions: { [k: string]: FlagsDefinitions$Outbound }; -}; - -/** @internal */ -export const Flags1$outboundSchema: z.ZodType< - Flags1$Outbound, - z.ZodTypeDef, - Flags1 -> = z.object({ - definitions: z.record(z.lazy(() => FlagsDefinitions$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Flags1$ { - /** @deprecated use `Flags1$inboundSchema` instead. */ - export const inboundSchema = Flags1$inboundSchema; - /** @deprecated use `Flags1$outboundSchema` instead. */ - export const outboundSchema = Flags1$outboundSchema; - /** @deprecated use `Flags1$Outbound` instead. */ - export type Outbound = Flags1$Outbound; -} - -export function flags1ToJSON(flags1: Flags1): string { - return JSON.stringify(Flags1$outboundSchema.parse(flags1)); -} - -export function flags1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Flags1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Flags1' from JSON`, - ); -} - -/** @internal */ -export const Flags$inboundSchema: z.ZodType = z - .union([ - z.lazy(() => Flags1$inboundSchema), - z.array(z.lazy(() => Flags2$inboundSchema)), - ]); - -/** @internal */ -export type Flags$Outbound = Flags1$Outbound | Array; - -/** @internal */ -export const Flags$outboundSchema: z.ZodType< - Flags$Outbound, - z.ZodTypeDef, - Flags -> = z.union([ - z.lazy(() => Flags1$outboundSchema), - z.array(z.lazy(() => Flags2$outboundSchema)), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Flags$ { - /** @deprecated use `Flags$inboundSchema` instead. */ - export const inboundSchema = Flags$inboundSchema; - /** @deprecated use `Flags$outboundSchema` instead. */ - export const outboundSchema = Flags$outboundSchema; - /** @deprecated use `Flags$Outbound` instead. */ - export type Outbound = Flags$Outbound; -} - -export function flagsToJSON(flags: Flags): string { - return JSON.stringify(Flags$outboundSchema.parse(flags)); -} - -export function flagsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Flags$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Flags' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentResponseBody$inboundSchema: z.ZodType< - CreateDeploymentResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - aliasAssignedAt: z.nullable(z.union([z.number(), z.boolean()])).optional(), - alwaysRefuseToBuild: z.boolean().optional(), - build: z.lazy(() => Build$inboundSchema), - buildArtifactUrls: z.array(z.string()).optional(), - builds: z.array(z.lazy(() => Builds$inboundSchema)).optional(), - env: z.array(z.string()), - inspectorUrl: z.nullable(z.string()), - isInConcurrentBuildsQueue: z.boolean(), - isInSystemBuildsQueue: z.boolean(), - projectSettings: z.lazy(() => CreateDeploymentProjectSettings$inboundSchema), - readyStateReason: z.string().optional(), - integrations: z.lazy(() => Integrations$inboundSchema).optional(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.boolean(), - bootedAt: z.number(), - buildingAt: z.number(), - buildSkipped: z.boolean(), - creator: z.lazy(() => Creator$inboundSchema), - initReadyAt: z.number().optional(), - isFirstBranchDeployment: z.boolean().optional(), - lambdas: z.array(z.lazy(() => Lambdas$inboundSchema)).optional(), - public: z.boolean(), - ready: z.number().optional(), - status: CreateDeploymentStatus$inboundSchema, - team: z.lazy(() => Team$inboundSchema).optional(), - userAliases: z.array(z.string()).optional(), - previewCommentsEnabled: z.boolean().optional(), - ttyBuildLogs: z.boolean().optional(), - customEnvironment: z.union([ - z.lazy(() => CustomEnvironment1$inboundSchema), - z.lazy(() => CustomEnvironment2$inboundSchema), - ]).optional(), - type: CreateDeploymentType$inboundSchema, - createdAt: z.number(), - name: z.string(), - deletedAt: z.nullable(z.number()).optional(), - id: z.string(), - version: z.number(), - autoAssignCustomDomains: z.boolean().optional(), - gitSource: z.union([ - z.lazy(() => CreateDeploymentGitSource6$inboundSchema), - z.lazy(() => CreateDeploymentGitSource8$inboundSchema), - z.lazy(() => GitSource1$inboundSchema), - z.lazy(() => GitSource3$inboundSchema), - z.lazy(() => GitSource2$inboundSchema), - z.lazy(() => GitSource4$inboundSchema), - z.lazy(() => GitSource5$inboundSchema), - z.lazy(() => CreateDeploymentGitSource7$inboundSchema), - z.lazy(() => CreateDeploymentGitSource9$inboundSchema), - ]).optional(), - meta: z.record(z.string()), - project: z.lazy(() => Project$inboundSchema).optional(), - readyState: ReadyState$inboundSchema, - source: CreateDeploymentSource$inboundSchema.optional(), - target: z.nullable(CreateDeploymentTarget$inboundSchema).optional(), - passiveRegions: z.array(z.string()).optional(), - regions: z.array(z.string()), - errorMessage: z.nullable(z.string()).optional(), - aliasWarning: z.nullable(z.lazy(() => AliasWarning$inboundSchema)).optional(), - aliasError: z.nullable(z.lazy(() => AliasError$inboundSchema)).optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - buildErrorAt: z.number().optional(), - checksState: ChecksState$inboundSchema.optional(), - checksConclusion: ChecksConclusion$inboundSchema.optional(), - defaultRoute: z.string().optional(), - canceledAt: z.number().optional(), - errorCode: z.string().optional(), - errorLink: z.string().optional(), - errorStep: z.string().optional(), - readySubstate: ReadySubstate$inboundSchema.optional(), - softDeletedByRetention: z.boolean().optional(), - undeletedAt: z.number().optional(), - url: z.string(), - oidcTokenClaims: z.lazy(() => OidcTokenClaims$inboundSchema).optional(), - projectId: z.string(), - ownerId: z.string(), - microfrontends: z.union([ - z.lazy(() => Microfrontends1$inboundSchema), - z.lazy(() => Microfrontends2$inboundSchema), - ]).optional(), - monorepoManager: z.nullable(z.string()).optional(), - functions: z.nullable(z.record(z.lazy(() => Functions$inboundSchema))) - .optional(), - routes: z.nullable( - z.array(z.union([ - z.lazy(() => Routes3$inboundSchema), - z.lazy(() => - Routes2$inboundSchema - ), - z.lazy(() => Routes1$inboundSchema), - ])), - ), - crons: z.array(z.lazy(() => CreateDeploymentCrons$inboundSchema)).optional(), - plan: Plan$inboundSchema, - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdIn: z.string(), - passiveConnectConfigurationId: z.string().optional(), - gitRepo: z.nullable( - z.union([ - z.lazy(() => GitRepo1$inboundSchema), - z.lazy(() => GitRepo2$inboundSchema), - z.lazy(() => GitRepo3$inboundSchema), - ]), - ).optional(), - flags: z.union([ - z.lazy(() => Flags1$inboundSchema), - z.array(z.lazy(() => Flags2$inboundSchema)), - ]).optional(), -}); - -/** @internal */ -export type CreateDeploymentResponseBody$Outbound = { - aliasAssignedAt?: number | boolean | null | undefined; - alwaysRefuseToBuild?: boolean | undefined; - build: Build$Outbound; - buildArtifactUrls?: Array | undefined; - builds?: Array | undefined; - env: Array; - inspectorUrl: string | null; - isInConcurrentBuildsQueue: boolean; - isInSystemBuildsQueue: boolean; - projectSettings: CreateDeploymentProjectSettings$Outbound; - readyStateReason?: string | undefined; - integrations?: Integrations$Outbound | undefined; - alias?: Array | undefined; - aliasAssigned: boolean; - bootedAt: number; - buildingAt: number; - buildSkipped: boolean; - creator: Creator$Outbound; - initReadyAt?: number | undefined; - isFirstBranchDeployment?: boolean | undefined; - lambdas?: Array | undefined; - public: boolean; - ready?: number | undefined; - status: string; - team?: Team$Outbound | undefined; - userAliases?: Array | undefined; - previewCommentsEnabled?: boolean | undefined; - ttyBuildLogs?: boolean | undefined; - customEnvironment?: - | CustomEnvironment1$Outbound - | CustomEnvironment2$Outbound - | undefined; - type: string; - createdAt: number; - name: string; - deletedAt?: number | null | undefined; - id: string; - version: number; - autoAssignCustomDomains?: boolean | undefined; - gitSource?: - | CreateDeploymentGitSource6$Outbound - | CreateDeploymentGitSource8$Outbound - | GitSource1$Outbound - | GitSource3$Outbound - | GitSource2$Outbound - | GitSource4$Outbound - | GitSource5$Outbound - | CreateDeploymentGitSource7$Outbound - | CreateDeploymentGitSource9$Outbound - | undefined; - meta: { [k: string]: string }; - project?: Project$Outbound | undefined; - readyState: string; - source?: string | undefined; - target?: string | null | undefined; - passiveRegions?: Array | undefined; - regions: Array; - errorMessage?: string | null | undefined; - aliasWarning?: AliasWarning$Outbound | null | undefined; - aliasError?: AliasError$Outbound | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - buildErrorAt?: number | undefined; - checksState?: string | undefined; - checksConclusion?: string | undefined; - defaultRoute?: string | undefined; - canceledAt?: number | undefined; - errorCode?: string | undefined; - errorLink?: string | undefined; - errorStep?: string | undefined; - readySubstate?: string | undefined; - softDeletedByRetention?: boolean | undefined; - undeletedAt?: number | undefined; - url: string; - oidcTokenClaims?: OidcTokenClaims$Outbound | undefined; - projectId: string; - ownerId: string; - microfrontends?: - | Microfrontends1$Outbound - | Microfrontends2$Outbound - | undefined; - monorepoManager?: string | null | undefined; - functions?: { [k: string]: Functions$Outbound } | null | undefined; - routes: Array | null; - crons?: Array | undefined; - plan: string; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdIn: string; - passiveConnectConfigurationId?: string | undefined; - gitRepo?: - | GitRepo1$Outbound - | GitRepo2$Outbound - | GitRepo3$Outbound - | null - | undefined; - flags?: Flags1$Outbound | Array | undefined; -}; - -/** @internal */ -export const CreateDeploymentResponseBody$outboundSchema: z.ZodType< - CreateDeploymentResponseBody$Outbound, - z.ZodTypeDef, - CreateDeploymentResponseBody -> = z.object({ - aliasAssignedAt: z.nullable(z.union([z.number(), z.boolean()])).optional(), - alwaysRefuseToBuild: z.boolean().optional(), - build: z.lazy(() => Build$outboundSchema), - buildArtifactUrls: z.array(z.string()).optional(), - builds: z.array(z.lazy(() => Builds$outboundSchema)).optional(), - env: z.array(z.string()), - inspectorUrl: z.nullable(z.string()), - isInConcurrentBuildsQueue: z.boolean(), - isInSystemBuildsQueue: z.boolean(), - projectSettings: z.lazy(() => CreateDeploymentProjectSettings$outboundSchema), - readyStateReason: z.string().optional(), - integrations: z.lazy(() => Integrations$outboundSchema).optional(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.boolean(), - bootedAt: z.number(), - buildingAt: z.number(), - buildSkipped: z.boolean(), - creator: z.lazy(() => Creator$outboundSchema), - initReadyAt: z.number().optional(), - isFirstBranchDeployment: z.boolean().optional(), - lambdas: z.array(z.lazy(() => Lambdas$outboundSchema)).optional(), - public: z.boolean(), - ready: z.number().optional(), - status: CreateDeploymentStatus$outboundSchema, - team: z.lazy(() => Team$outboundSchema).optional(), - userAliases: z.array(z.string()).optional(), - previewCommentsEnabled: z.boolean().optional(), - ttyBuildLogs: z.boolean().optional(), - customEnvironment: z.union([ - z.lazy(() => CustomEnvironment1$outboundSchema), - z.lazy(() => CustomEnvironment2$outboundSchema), - ]).optional(), - type: CreateDeploymentType$outboundSchema, - createdAt: z.number(), - name: z.string(), - deletedAt: z.nullable(z.number()).optional(), - id: z.string(), - version: z.number(), - autoAssignCustomDomains: z.boolean().optional(), - gitSource: z.union([ - z.lazy(() => CreateDeploymentGitSource6$outboundSchema), - z.lazy(() => CreateDeploymentGitSource8$outboundSchema), - z.lazy(() => GitSource1$outboundSchema), - z.lazy(() => GitSource3$outboundSchema), - z.lazy(() => GitSource2$outboundSchema), - z.lazy(() => GitSource4$outboundSchema), - z.lazy(() => GitSource5$outboundSchema), - z.lazy(() => CreateDeploymentGitSource7$outboundSchema), - z.lazy(() => CreateDeploymentGitSource9$outboundSchema), - ]).optional(), - meta: z.record(z.string()), - project: z.lazy(() => Project$outboundSchema).optional(), - readyState: ReadyState$outboundSchema, - source: CreateDeploymentSource$outboundSchema.optional(), - target: z.nullable(CreateDeploymentTarget$outboundSchema).optional(), - passiveRegions: z.array(z.string()).optional(), - regions: z.array(z.string()), - errorMessage: z.nullable(z.string()).optional(), - aliasWarning: z.nullable(z.lazy(() => AliasWarning$outboundSchema)) - .optional(), - aliasError: z.nullable(z.lazy(() => AliasError$outboundSchema)).optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - buildErrorAt: z.number().optional(), - checksState: ChecksState$outboundSchema.optional(), - checksConclusion: ChecksConclusion$outboundSchema.optional(), - defaultRoute: z.string().optional(), - canceledAt: z.number().optional(), - errorCode: z.string().optional(), - errorLink: z.string().optional(), - errorStep: z.string().optional(), - readySubstate: ReadySubstate$outboundSchema.optional(), - softDeletedByRetention: z.boolean().optional(), - undeletedAt: z.number().optional(), - url: z.string(), - oidcTokenClaims: z.lazy(() => OidcTokenClaims$outboundSchema).optional(), - projectId: z.string(), - ownerId: z.string(), - microfrontends: z.union([ - z.lazy(() => Microfrontends1$outboundSchema), - z.lazy(() => Microfrontends2$outboundSchema), - ]).optional(), - monorepoManager: z.nullable(z.string()).optional(), - functions: z.nullable(z.record(z.lazy(() => Functions$outboundSchema))) - .optional(), - routes: z.nullable( - z.array(z.union([ - z.lazy(() => Routes3$outboundSchema), - z.lazy(() => - Routes2$outboundSchema - ), - z.lazy(() => Routes1$outboundSchema), - ])), - ), - crons: z.array(z.lazy(() => CreateDeploymentCrons$outboundSchema)).optional(), - plan: Plan$outboundSchema, - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdIn: z.string(), - passiveConnectConfigurationId: z.string().optional(), - gitRepo: z.nullable( - z.union([ - z.lazy(() => GitRepo1$outboundSchema), - z.lazy(() => GitRepo2$outboundSchema), - z.lazy(() => GitRepo3$outboundSchema), - ]), - ).optional(), - flags: z.union([ - z.lazy(() => Flags1$outboundSchema), - z.array(z.lazy(() => Flags2$outboundSchema)), - ]).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentResponseBody$ { - /** @deprecated use `CreateDeploymentResponseBody$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentResponseBody$inboundSchema; - /** @deprecated use `CreateDeploymentResponseBody$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentResponseBody$outboundSchema; - /** @deprecated use `CreateDeploymentResponseBody$Outbound` instead. */ - export type Outbound = CreateDeploymentResponseBody$Outbound; -} - -export function createDeploymentResponseBodyToJSON( - createDeploymentResponseBody: CreateDeploymentResponseBody, -): string { - return JSON.stringify( - CreateDeploymentResponseBody$outboundSchema.parse( - createDeploymentResponseBody, - ), - ); -} - -export function createDeploymentResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateDeploymentResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/createedgeconfig.ts b/src/models/operations/createedgeconfig.ts deleted file mode 100644 index cb8ff9a1..00000000 --- a/src/models/operations/createedgeconfig.ts +++ /dev/null @@ -1,805 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type Two5 = {}; - -export type Items2 = Two5 | string | number | boolean | any; - -export type One5 = {}; - -export type Items1 = One5 | string | number | boolean | any; - -export type Items = - | One5 - | string - | number - | boolean - | any - | Array; - -export type CreateEdgeConfigRequestBody = { - slug: string; - items?: { - [k: string]: - | One5 - | string - | number - | boolean - | any - | Array; - } | undefined; -}; - -export type CreateEdgeConfigRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: CreateEdgeConfigRequestBody | undefined; -}; - -/** - * Keeps track of the current state of the Edge Config while it gets transferred. - */ -export type CreateEdgeConfigTransfer = { - fromAccountId: string; - startedAt: number; - doneAt: number | null; -}; - -export type CreateEdgeConfigSchema = {}; - -export const CreateEdgeConfigType = { - Flags: "flags", -} as const; -export type CreateEdgeConfigType = ClosedEnum; - -export type CreateEdgeConfigPurpose = { - type: CreateEdgeConfigType; - projectId: string; -}; - -/** - * An Edge Config - */ -export type CreateEdgeConfigResponseBody = { - createdAt?: number | undefined; - updatedAt?: number | undefined; - id?: string | undefined; - /** - * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). - */ - slug?: string | undefined; - ownerId?: string | undefined; - digest?: string | undefined; - /** - * Keeps track of the current state of the Edge Config while it gets transferred. - */ - transfer?: CreateEdgeConfigTransfer | undefined; - schema?: CreateEdgeConfigSchema | undefined; - purpose?: CreateEdgeConfigPurpose | undefined; - sizeInBytes: number; - itemCount: number; -}; - -/** @internal */ -export const Two5$inboundSchema: z.ZodType = z - .object({}); - -/** @internal */ -export type Two5$Outbound = {}; - -/** @internal */ -export const Two5$outboundSchema: z.ZodType = - z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Two5$ { - /** @deprecated use `Two5$inboundSchema` instead. */ - export const inboundSchema = Two5$inboundSchema; - /** @deprecated use `Two5$outboundSchema` instead. */ - export const outboundSchema = Two5$outboundSchema; - /** @deprecated use `Two5$Outbound` instead. */ - export type Outbound = Two5$Outbound; -} - -export function two5ToJSON(two5: Two5): string { - return JSON.stringify(Two5$outboundSchema.parse(two5)); -} - -export function two5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Two5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Two5' from JSON`, - ); -} - -/** @internal */ -export const Items2$inboundSchema: z.ZodType = z - .union([ - z.lazy(() => Two5$inboundSchema), - z.string(), - z.number(), - z.boolean(), - z.any(), - ]); - -/** @internal */ -export type Items2$Outbound = Two5$Outbound | string | number | boolean | any; - -/** @internal */ -export const Items2$outboundSchema: z.ZodType< - Items2$Outbound, - z.ZodTypeDef, - Items2 -> = z.union([ - z.lazy(() => Two5$outboundSchema), - z.string(), - z.number(), - z.boolean(), - z.any(), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Items2$ { - /** @deprecated use `Items2$inboundSchema` instead. */ - export const inboundSchema = Items2$inboundSchema; - /** @deprecated use `Items2$outboundSchema` instead. */ - export const outboundSchema = Items2$outboundSchema; - /** @deprecated use `Items2$Outbound` instead. */ - export type Outbound = Items2$Outbound; -} - -export function items2ToJSON(items2: Items2): string { - return JSON.stringify(Items2$outboundSchema.parse(items2)); -} - -export function items2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Items2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Items2' from JSON`, - ); -} - -/** @internal */ -export const One5$inboundSchema: z.ZodType = z - .object({}); - -/** @internal */ -export type One5$Outbound = {}; - -/** @internal */ -export const One5$outboundSchema: z.ZodType = - z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace One5$ { - /** @deprecated use `One5$inboundSchema` instead. */ - export const inboundSchema = One5$inboundSchema; - /** @deprecated use `One5$outboundSchema` instead. */ - export const outboundSchema = One5$outboundSchema; - /** @deprecated use `One5$Outbound` instead. */ - export type Outbound = One5$Outbound; -} - -export function one5ToJSON(one5: One5): string { - return JSON.stringify(One5$outboundSchema.parse(one5)); -} - -export function one5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => One5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'One5' from JSON`, - ); -} - -/** @internal */ -export const Items1$inboundSchema: z.ZodType = z - .union([ - z.lazy(() => One5$inboundSchema), - z.string(), - z.number(), - z.boolean(), - z.any(), - ]); - -/** @internal */ -export type Items1$Outbound = One5$Outbound | string | number | boolean | any; - -/** @internal */ -export const Items1$outboundSchema: z.ZodType< - Items1$Outbound, - z.ZodTypeDef, - Items1 -> = z.union([ - z.lazy(() => One5$outboundSchema), - z.string(), - z.number(), - z.boolean(), - z.any(), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Items1$ { - /** @deprecated use `Items1$inboundSchema` instead. */ - export const inboundSchema = Items1$inboundSchema; - /** @deprecated use `Items1$outboundSchema` instead. */ - export const outboundSchema = Items1$outboundSchema; - /** @deprecated use `Items1$Outbound` instead. */ - export type Outbound = Items1$Outbound; -} - -export function items1ToJSON(items1: Items1): string { - return JSON.stringify(Items1$outboundSchema.parse(items1)); -} - -export function items1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Items1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Items1' from JSON`, - ); -} - -/** @internal */ -export const Items$inboundSchema: z.ZodType = z - .union([ - z.union([ - z.lazy(() => One5$inboundSchema), - z.string(), - z.number(), - z.boolean(), - z.any(), - ]), - z.array( - z.union([ - z.lazy(() => Two5$inboundSchema), - z.string(), - z.number(), - z.boolean(), - z.any(), - ]), - ), - ]); - -/** @internal */ -export type Items$Outbound = - | One5$Outbound - | string - | number - | boolean - | any - | Array; - -/** @internal */ -export const Items$outboundSchema: z.ZodType< - Items$Outbound, - z.ZodTypeDef, - Items -> = z.union([ - z.union([ - z.lazy(() => One5$outboundSchema), - z.string(), - z.number(), - z.boolean(), - z.any(), - ]), - z.array( - z.union([ - z.lazy(() => Two5$outboundSchema), - z.string(), - z.number(), - z.boolean(), - z.any(), - ]), - ), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Items$ { - /** @deprecated use `Items$inboundSchema` instead. */ - export const inboundSchema = Items$inboundSchema; - /** @deprecated use `Items$outboundSchema` instead. */ - export const outboundSchema = Items$outboundSchema; - /** @deprecated use `Items$Outbound` instead. */ - export type Outbound = Items$Outbound; -} - -export function itemsToJSON(items: Items): string { - return JSON.stringify(Items$outboundSchema.parse(items)); -} - -export function itemsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Items$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Items' from JSON`, - ); -} - -/** @internal */ -export const CreateEdgeConfigRequestBody$inboundSchema: z.ZodType< - CreateEdgeConfigRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - slug: z.string(), - items: z.record( - z.union([ - z.union([ - z.lazy(() => One5$inboundSchema), - z.string(), - z.number(), - z.boolean(), - z.any(), - ]), - z.array( - z.union([ - z.lazy(() => Two5$inboundSchema), - z.string(), - z.number(), - z.boolean(), - z.any(), - ]), - ), - ]), - ).optional(), -}); - -/** @internal */ -export type CreateEdgeConfigRequestBody$Outbound = { - slug: string; - items?: { - [k: string]: - | One5$Outbound - | string - | number - | boolean - | any - | Array; - } | undefined; -}; - -/** @internal */ -export const CreateEdgeConfigRequestBody$outboundSchema: z.ZodType< - CreateEdgeConfigRequestBody$Outbound, - z.ZodTypeDef, - CreateEdgeConfigRequestBody -> = z.object({ - slug: z.string(), - items: z.record( - z.union([ - z.union([ - z.lazy(() => One5$outboundSchema), - z.string(), - z.number(), - z.boolean(), - z.any(), - ]), - z.array( - z.union([ - z.lazy(() => Two5$outboundSchema), - z.string(), - z.number(), - z.boolean(), - z.any(), - ]), - ), - ]), - ).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEdgeConfigRequestBody$ { - /** @deprecated use `CreateEdgeConfigRequestBody$inboundSchema` instead. */ - export const inboundSchema = CreateEdgeConfigRequestBody$inboundSchema; - /** @deprecated use `CreateEdgeConfigRequestBody$outboundSchema` instead. */ - export const outboundSchema = CreateEdgeConfigRequestBody$outboundSchema; - /** @deprecated use `CreateEdgeConfigRequestBody$Outbound` instead. */ - export type Outbound = CreateEdgeConfigRequestBody$Outbound; -} - -export function createEdgeConfigRequestBodyToJSON( - createEdgeConfigRequestBody: CreateEdgeConfigRequestBody, -): string { - return JSON.stringify( - CreateEdgeConfigRequestBody$outboundSchema.parse( - createEdgeConfigRequestBody, - ), - ); -} - -export function createEdgeConfigRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateEdgeConfigRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateEdgeConfigRequestBody' from JSON`, - ); -} - -/** @internal */ -export const CreateEdgeConfigRequest$inboundSchema: z.ZodType< - CreateEdgeConfigRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => CreateEdgeConfigRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type CreateEdgeConfigRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: CreateEdgeConfigRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const CreateEdgeConfigRequest$outboundSchema: z.ZodType< - CreateEdgeConfigRequest$Outbound, - z.ZodTypeDef, - CreateEdgeConfigRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateEdgeConfigRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEdgeConfigRequest$ { - /** @deprecated use `CreateEdgeConfigRequest$inboundSchema` instead. */ - export const inboundSchema = CreateEdgeConfigRequest$inboundSchema; - /** @deprecated use `CreateEdgeConfigRequest$outboundSchema` instead. */ - export const outboundSchema = CreateEdgeConfigRequest$outboundSchema; - /** @deprecated use `CreateEdgeConfigRequest$Outbound` instead. */ - export type Outbound = CreateEdgeConfigRequest$Outbound; -} - -export function createEdgeConfigRequestToJSON( - createEdgeConfigRequest: CreateEdgeConfigRequest, -): string { - return JSON.stringify( - CreateEdgeConfigRequest$outboundSchema.parse(createEdgeConfigRequest), - ); -} - -export function createEdgeConfigRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateEdgeConfigRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateEdgeConfigRequest' from JSON`, - ); -} - -/** @internal */ -export const CreateEdgeConfigTransfer$inboundSchema: z.ZodType< - CreateEdgeConfigTransfer, - z.ZodTypeDef, - unknown -> = z.object({ - fromAccountId: z.string(), - startedAt: z.number(), - doneAt: z.nullable(z.number()), -}); - -/** @internal */ -export type CreateEdgeConfigTransfer$Outbound = { - fromAccountId: string; - startedAt: number; - doneAt: number | null; -}; - -/** @internal */ -export const CreateEdgeConfigTransfer$outboundSchema: z.ZodType< - CreateEdgeConfigTransfer$Outbound, - z.ZodTypeDef, - CreateEdgeConfigTransfer -> = z.object({ - fromAccountId: z.string(), - startedAt: z.number(), - doneAt: z.nullable(z.number()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEdgeConfigTransfer$ { - /** @deprecated use `CreateEdgeConfigTransfer$inboundSchema` instead. */ - export const inboundSchema = CreateEdgeConfigTransfer$inboundSchema; - /** @deprecated use `CreateEdgeConfigTransfer$outboundSchema` instead. */ - export const outboundSchema = CreateEdgeConfigTransfer$outboundSchema; - /** @deprecated use `CreateEdgeConfigTransfer$Outbound` instead. */ - export type Outbound = CreateEdgeConfigTransfer$Outbound; -} - -export function createEdgeConfigTransferToJSON( - createEdgeConfigTransfer: CreateEdgeConfigTransfer, -): string { - return JSON.stringify( - CreateEdgeConfigTransfer$outboundSchema.parse(createEdgeConfigTransfer), - ); -} - -export function createEdgeConfigTransferFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateEdgeConfigTransfer$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateEdgeConfigTransfer' from JSON`, - ); -} - -/** @internal */ -export const CreateEdgeConfigSchema$inboundSchema: z.ZodType< - CreateEdgeConfigSchema, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type CreateEdgeConfigSchema$Outbound = {}; - -/** @internal */ -export const CreateEdgeConfigSchema$outboundSchema: z.ZodType< - CreateEdgeConfigSchema$Outbound, - z.ZodTypeDef, - CreateEdgeConfigSchema -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEdgeConfigSchema$ { - /** @deprecated use `CreateEdgeConfigSchema$inboundSchema` instead. */ - export const inboundSchema = CreateEdgeConfigSchema$inboundSchema; - /** @deprecated use `CreateEdgeConfigSchema$outboundSchema` instead. */ - export const outboundSchema = CreateEdgeConfigSchema$outboundSchema; - /** @deprecated use `CreateEdgeConfigSchema$Outbound` instead. */ - export type Outbound = CreateEdgeConfigSchema$Outbound; -} - -export function createEdgeConfigSchemaToJSON( - createEdgeConfigSchema: CreateEdgeConfigSchema, -): string { - return JSON.stringify( - CreateEdgeConfigSchema$outboundSchema.parse(createEdgeConfigSchema), - ); -} - -export function createEdgeConfigSchemaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateEdgeConfigSchema$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateEdgeConfigSchema' from JSON`, - ); -} - -/** @internal */ -export const CreateEdgeConfigType$inboundSchema: z.ZodNativeEnum< - typeof CreateEdgeConfigType -> = z.nativeEnum(CreateEdgeConfigType); - -/** @internal */ -export const CreateEdgeConfigType$outboundSchema: z.ZodNativeEnum< - typeof CreateEdgeConfigType -> = CreateEdgeConfigType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEdgeConfigType$ { - /** @deprecated use `CreateEdgeConfigType$inboundSchema` instead. */ - export const inboundSchema = CreateEdgeConfigType$inboundSchema; - /** @deprecated use `CreateEdgeConfigType$outboundSchema` instead. */ - export const outboundSchema = CreateEdgeConfigType$outboundSchema; -} - -/** @internal */ -export const CreateEdgeConfigPurpose$inboundSchema: z.ZodType< - CreateEdgeConfigPurpose, - z.ZodTypeDef, - unknown -> = z.object({ - type: CreateEdgeConfigType$inboundSchema, - projectId: z.string(), -}); - -/** @internal */ -export type CreateEdgeConfigPurpose$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const CreateEdgeConfigPurpose$outboundSchema: z.ZodType< - CreateEdgeConfigPurpose$Outbound, - z.ZodTypeDef, - CreateEdgeConfigPurpose -> = z.object({ - type: CreateEdgeConfigType$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEdgeConfigPurpose$ { - /** @deprecated use `CreateEdgeConfigPurpose$inboundSchema` instead. */ - export const inboundSchema = CreateEdgeConfigPurpose$inboundSchema; - /** @deprecated use `CreateEdgeConfigPurpose$outboundSchema` instead. */ - export const outboundSchema = CreateEdgeConfigPurpose$outboundSchema; - /** @deprecated use `CreateEdgeConfigPurpose$Outbound` instead. */ - export type Outbound = CreateEdgeConfigPurpose$Outbound; -} - -export function createEdgeConfigPurposeToJSON( - createEdgeConfigPurpose: CreateEdgeConfigPurpose, -): string { - return JSON.stringify( - CreateEdgeConfigPurpose$outboundSchema.parse(createEdgeConfigPurpose), - ); -} - -export function createEdgeConfigPurposeFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateEdgeConfigPurpose$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateEdgeConfigPurpose' from JSON`, - ); -} - -/** @internal */ -export const CreateEdgeConfigResponseBody$inboundSchema: z.ZodType< - CreateEdgeConfigResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - id: z.string().optional(), - slug: z.string().optional(), - ownerId: z.string().optional(), - digest: z.string().optional(), - transfer: z.lazy(() => CreateEdgeConfigTransfer$inboundSchema).optional(), - schema: z.lazy(() => CreateEdgeConfigSchema$inboundSchema).optional(), - purpose: z.lazy(() => CreateEdgeConfigPurpose$inboundSchema).optional(), - sizeInBytes: z.number(), - itemCount: z.number(), -}); - -/** @internal */ -export type CreateEdgeConfigResponseBody$Outbound = { - createdAt?: number | undefined; - updatedAt?: number | undefined; - id?: string | undefined; - slug?: string | undefined; - ownerId?: string | undefined; - digest?: string | undefined; - transfer?: CreateEdgeConfigTransfer$Outbound | undefined; - schema?: CreateEdgeConfigSchema$Outbound | undefined; - purpose?: CreateEdgeConfigPurpose$Outbound | undefined; - sizeInBytes: number; - itemCount: number; -}; - -/** @internal */ -export const CreateEdgeConfigResponseBody$outboundSchema: z.ZodType< - CreateEdgeConfigResponseBody$Outbound, - z.ZodTypeDef, - CreateEdgeConfigResponseBody -> = z.object({ - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - id: z.string().optional(), - slug: z.string().optional(), - ownerId: z.string().optional(), - digest: z.string().optional(), - transfer: z.lazy(() => CreateEdgeConfigTransfer$outboundSchema).optional(), - schema: z.lazy(() => CreateEdgeConfigSchema$outboundSchema).optional(), - purpose: z.lazy(() => CreateEdgeConfigPurpose$outboundSchema).optional(), - sizeInBytes: z.number(), - itemCount: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEdgeConfigResponseBody$ { - /** @deprecated use `CreateEdgeConfigResponseBody$inboundSchema` instead. */ - export const inboundSchema = CreateEdgeConfigResponseBody$inboundSchema; - /** @deprecated use `CreateEdgeConfigResponseBody$outboundSchema` instead. */ - export const outboundSchema = CreateEdgeConfigResponseBody$outboundSchema; - /** @deprecated use `CreateEdgeConfigResponseBody$Outbound` instead. */ - export type Outbound = CreateEdgeConfigResponseBody$Outbound; -} - -export function createEdgeConfigResponseBodyToJSON( - createEdgeConfigResponseBody: CreateEdgeConfigResponseBody, -): string { - return JSON.stringify( - CreateEdgeConfigResponseBody$outboundSchema.parse( - createEdgeConfigResponseBody, - ), - ); -} - -export function createEdgeConfigResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateEdgeConfigResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateEdgeConfigResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/createedgeconfigtoken.ts b/src/models/operations/createedgeconfigtoken.ts deleted file mode 100644 index 6d049878..00000000 --- a/src/models/operations/createedgeconfigtoken.ts +++ /dev/null @@ -1,222 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type CreateEdgeConfigTokenRequestBody = { - label: string; -}; - -export type CreateEdgeConfigTokenRequest = { - edgeConfigId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: CreateEdgeConfigTokenRequestBody | undefined; -}; - -export type CreateEdgeConfigTokenResponseBody = { - token: string; - id: string; -}; - -/** @internal */ -export const CreateEdgeConfigTokenRequestBody$inboundSchema: z.ZodType< - CreateEdgeConfigTokenRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - label: z.string(), -}); - -/** @internal */ -export type CreateEdgeConfigTokenRequestBody$Outbound = { - label: string; -}; - -/** @internal */ -export const CreateEdgeConfigTokenRequestBody$outboundSchema: z.ZodType< - CreateEdgeConfigTokenRequestBody$Outbound, - z.ZodTypeDef, - CreateEdgeConfigTokenRequestBody -> = z.object({ - label: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEdgeConfigTokenRequestBody$ { - /** @deprecated use `CreateEdgeConfigTokenRequestBody$inboundSchema` instead. */ - export const inboundSchema = CreateEdgeConfigTokenRequestBody$inboundSchema; - /** @deprecated use `CreateEdgeConfigTokenRequestBody$outboundSchema` instead. */ - export const outboundSchema = CreateEdgeConfigTokenRequestBody$outboundSchema; - /** @deprecated use `CreateEdgeConfigTokenRequestBody$Outbound` instead. */ - export type Outbound = CreateEdgeConfigTokenRequestBody$Outbound; -} - -export function createEdgeConfigTokenRequestBodyToJSON( - createEdgeConfigTokenRequestBody: CreateEdgeConfigTokenRequestBody, -): string { - return JSON.stringify( - CreateEdgeConfigTokenRequestBody$outboundSchema.parse( - createEdgeConfigTokenRequestBody, - ), - ); -} - -export function createEdgeConfigTokenRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateEdgeConfigTokenRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateEdgeConfigTokenRequestBody' from JSON`, - ); -} - -/** @internal */ -export const CreateEdgeConfigTokenRequest$inboundSchema: z.ZodType< - CreateEdgeConfigTokenRequest, - z.ZodTypeDef, - unknown -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => CreateEdgeConfigTokenRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type CreateEdgeConfigTokenRequest$Outbound = { - edgeConfigId: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: CreateEdgeConfigTokenRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const CreateEdgeConfigTokenRequest$outboundSchema: z.ZodType< - CreateEdgeConfigTokenRequest$Outbound, - z.ZodTypeDef, - CreateEdgeConfigTokenRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateEdgeConfigTokenRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEdgeConfigTokenRequest$ { - /** @deprecated use `CreateEdgeConfigTokenRequest$inboundSchema` instead. */ - export const inboundSchema = CreateEdgeConfigTokenRequest$inboundSchema; - /** @deprecated use `CreateEdgeConfigTokenRequest$outboundSchema` instead. */ - export const outboundSchema = CreateEdgeConfigTokenRequest$outboundSchema; - /** @deprecated use `CreateEdgeConfigTokenRequest$Outbound` instead. */ - export type Outbound = CreateEdgeConfigTokenRequest$Outbound; -} - -export function createEdgeConfigTokenRequestToJSON( - createEdgeConfigTokenRequest: CreateEdgeConfigTokenRequest, -): string { - return JSON.stringify( - CreateEdgeConfigTokenRequest$outboundSchema.parse( - createEdgeConfigTokenRequest, - ), - ); -} - -export function createEdgeConfigTokenRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateEdgeConfigTokenRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateEdgeConfigTokenRequest' from JSON`, - ); -} - -/** @internal */ -export const CreateEdgeConfigTokenResponseBody$inboundSchema: z.ZodType< - CreateEdgeConfigTokenResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - token: z.string(), - id: z.string(), -}); - -/** @internal */ -export type CreateEdgeConfigTokenResponseBody$Outbound = { - token: string; - id: string; -}; - -/** @internal */ -export const CreateEdgeConfigTokenResponseBody$outboundSchema: z.ZodType< - CreateEdgeConfigTokenResponseBody$Outbound, - z.ZodTypeDef, - CreateEdgeConfigTokenResponseBody -> = z.object({ - token: z.string(), - id: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEdgeConfigTokenResponseBody$ { - /** @deprecated use `CreateEdgeConfigTokenResponseBody$inboundSchema` instead. */ - export const inboundSchema = CreateEdgeConfigTokenResponseBody$inboundSchema; - /** @deprecated use `CreateEdgeConfigTokenResponseBody$outboundSchema` instead. */ - export const outboundSchema = - CreateEdgeConfigTokenResponseBody$outboundSchema; - /** @deprecated use `CreateEdgeConfigTokenResponseBody$Outbound` instead. */ - export type Outbound = CreateEdgeConfigTokenResponseBody$Outbound; -} - -export function createEdgeConfigTokenResponseBodyToJSON( - createEdgeConfigTokenResponseBody: CreateEdgeConfigTokenResponseBody, -): string { - return JSON.stringify( - CreateEdgeConfigTokenResponseBody$outboundSchema.parse( - createEdgeConfigTokenResponseBody, - ), - ); -} - -export function createEdgeConfigTokenResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateEdgeConfigTokenResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateEdgeConfigTokenResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/createevent.ts b/src/models/operations/createevent.ts deleted file mode 100644 index 4e1dae97..00000000 --- a/src/models/operations/createevent.ts +++ /dev/null @@ -1,373 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export const CreateEventEventType = { - ResourceUpdated: "resource.updated", -} as const; -export type CreateEventEventType = ClosedEnum; - -export type Event2 = { - type: CreateEventEventType; - /** - * Partner-provided product slug or id - */ - productId: string; - /** - * Partner provided resource ID - */ - resourceId: string; -}; - -export const EventType = { - InstallationUpdated: "installation.updated", -} as const; -export type EventType = ClosedEnum; - -export type Event1 = { - type: EventType; - /** - * The installation-level billing plan ID - */ - billingPlanId?: string | undefined; -}; - -export type CreateEventEvent = Event1 | Event2; - -export type CreateEventRequestBody = { - event: Event1 | Event2; -}; - -export type CreateEventRequest = { - integrationConfigurationId: string; - requestBody?: CreateEventRequestBody | undefined; -}; - -/** @internal */ -export const CreateEventEventType$inboundSchema: z.ZodNativeEnum< - typeof CreateEventEventType -> = z.nativeEnum(CreateEventEventType); - -/** @internal */ -export const CreateEventEventType$outboundSchema: z.ZodNativeEnum< - typeof CreateEventEventType -> = CreateEventEventType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEventEventType$ { - /** @deprecated use `CreateEventEventType$inboundSchema` instead. */ - export const inboundSchema = CreateEventEventType$inboundSchema; - /** @deprecated use `CreateEventEventType$outboundSchema` instead. */ - export const outboundSchema = CreateEventEventType$outboundSchema; -} - -/** @internal */ -export const Event2$inboundSchema: z.ZodType = z - .object({ - type: CreateEventEventType$inboundSchema, - productId: z.string(), - resourceId: z.string(), - }); - -/** @internal */ -export type Event2$Outbound = { - type: string; - productId: string; - resourceId: string; -}; - -/** @internal */ -export const Event2$outboundSchema: z.ZodType< - Event2$Outbound, - z.ZodTypeDef, - Event2 -> = z.object({ - type: CreateEventEventType$outboundSchema, - productId: z.string(), - resourceId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Event2$ { - /** @deprecated use `Event2$inboundSchema` instead. */ - export const inboundSchema = Event2$inboundSchema; - /** @deprecated use `Event2$outboundSchema` instead. */ - export const outboundSchema = Event2$outboundSchema; - /** @deprecated use `Event2$Outbound` instead. */ - export type Outbound = Event2$Outbound; -} - -export function event2ToJSON(event2: Event2): string { - return JSON.stringify(Event2$outboundSchema.parse(event2)); -} - -export function event2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Event2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Event2' from JSON`, - ); -} - -/** @internal */ -export const EventType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(EventType); - -/** @internal */ -export const EventType$outboundSchema: z.ZodNativeEnum = - EventType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EventType$ { - /** @deprecated use `EventType$inboundSchema` instead. */ - export const inboundSchema = EventType$inboundSchema; - /** @deprecated use `EventType$outboundSchema` instead. */ - export const outboundSchema = EventType$outboundSchema; -} - -/** @internal */ -export const Event1$inboundSchema: z.ZodType = z - .object({ - type: EventType$inboundSchema, - billingPlanId: z.string().optional(), - }); - -/** @internal */ -export type Event1$Outbound = { - type: string; - billingPlanId?: string | undefined; -}; - -/** @internal */ -export const Event1$outboundSchema: z.ZodType< - Event1$Outbound, - z.ZodTypeDef, - Event1 -> = z.object({ - type: EventType$outboundSchema, - billingPlanId: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Event1$ { - /** @deprecated use `Event1$inboundSchema` instead. */ - export const inboundSchema = Event1$inboundSchema; - /** @deprecated use `Event1$outboundSchema` instead. */ - export const outboundSchema = Event1$outboundSchema; - /** @deprecated use `Event1$Outbound` instead. */ - export type Outbound = Event1$Outbound; -} - -export function event1ToJSON(event1: Event1): string { - return JSON.stringify(Event1$outboundSchema.parse(event1)); -} - -export function event1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Event1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Event1' from JSON`, - ); -} - -/** @internal */ -export const CreateEventEvent$inboundSchema: z.ZodType< - CreateEventEvent, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => Event1$inboundSchema), - z.lazy(() => Event2$inboundSchema), -]); - -/** @internal */ -export type CreateEventEvent$Outbound = Event1$Outbound | Event2$Outbound; - -/** @internal */ -export const CreateEventEvent$outboundSchema: z.ZodType< - CreateEventEvent$Outbound, - z.ZodTypeDef, - CreateEventEvent -> = z.union([ - z.lazy(() => Event1$outboundSchema), - z.lazy(() => Event2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEventEvent$ { - /** @deprecated use `CreateEventEvent$inboundSchema` instead. */ - export const inboundSchema = CreateEventEvent$inboundSchema; - /** @deprecated use `CreateEventEvent$outboundSchema` instead. */ - export const outboundSchema = CreateEventEvent$outboundSchema; - /** @deprecated use `CreateEventEvent$Outbound` instead. */ - export type Outbound = CreateEventEvent$Outbound; -} - -export function createEventEventToJSON( - createEventEvent: CreateEventEvent, -): string { - return JSON.stringify( - CreateEventEvent$outboundSchema.parse(createEventEvent), - ); -} - -export function createEventEventFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateEventEvent$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateEventEvent' from JSON`, - ); -} - -/** @internal */ -export const CreateEventRequestBody$inboundSchema: z.ZodType< - CreateEventRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - event: z.union([ - z.lazy(() => Event1$inboundSchema), - z.lazy(() => Event2$inboundSchema), - ]), -}); - -/** @internal */ -export type CreateEventRequestBody$Outbound = { - event: Event1$Outbound | Event2$Outbound; -}; - -/** @internal */ -export const CreateEventRequestBody$outboundSchema: z.ZodType< - CreateEventRequestBody$Outbound, - z.ZodTypeDef, - CreateEventRequestBody -> = z.object({ - event: z.union([ - z.lazy(() => Event1$outboundSchema), - z.lazy(() => Event2$outboundSchema), - ]), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEventRequestBody$ { - /** @deprecated use `CreateEventRequestBody$inboundSchema` instead. */ - export const inboundSchema = CreateEventRequestBody$inboundSchema; - /** @deprecated use `CreateEventRequestBody$outboundSchema` instead. */ - export const outboundSchema = CreateEventRequestBody$outboundSchema; - /** @deprecated use `CreateEventRequestBody$Outbound` instead. */ - export type Outbound = CreateEventRequestBody$Outbound; -} - -export function createEventRequestBodyToJSON( - createEventRequestBody: CreateEventRequestBody, -): string { - return JSON.stringify( - CreateEventRequestBody$outboundSchema.parse(createEventRequestBody), - ); -} - -export function createEventRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateEventRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateEventRequestBody' from JSON`, - ); -} - -/** @internal */ -export const CreateEventRequest$inboundSchema: z.ZodType< - CreateEventRequest, - z.ZodTypeDef, - unknown -> = z.object({ - integrationConfigurationId: z.string(), - RequestBody: z.lazy(() => CreateEventRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type CreateEventRequest$Outbound = { - integrationConfigurationId: string; - RequestBody?: CreateEventRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const CreateEventRequest$outboundSchema: z.ZodType< - CreateEventRequest$Outbound, - z.ZodTypeDef, - CreateEventRequest -> = z.object({ - integrationConfigurationId: z.string(), - requestBody: z.lazy(() => CreateEventRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEventRequest$ { - /** @deprecated use `CreateEventRequest$inboundSchema` instead. */ - export const inboundSchema = CreateEventRequest$inboundSchema; - /** @deprecated use `CreateEventRequest$outboundSchema` instead. */ - export const outboundSchema = CreateEventRequest$outboundSchema; - /** @deprecated use `CreateEventRequest$Outbound` instead. */ - export type Outbound = CreateEventRequest$Outbound; -} - -export function createEventRequestToJSON( - createEventRequest: CreateEventRequest, -): string { - return JSON.stringify( - CreateEventRequest$outboundSchema.parse(createEventRequest), - ); -} - -export function createEventRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateEventRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateEventRequest' from JSON`, - ); -} diff --git a/src/models/operations/createlogdrain.ts b/src/models/operations/createlogdrain.ts deleted file mode 100644 index 3131bec3..00000000 --- a/src/models/operations/createlogdrain.ts +++ /dev/null @@ -1,589 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The delivery log format - */ -export const DeliveryFormat = { - Json: "json", - Ndjson: "ndjson", - Syslog: "syslog", -} as const; -/** - * The delivery log format - */ -export type DeliveryFormat = ClosedEnum; - -export const Sources = { - Static: "static", - Lambda: "lambda", - Build: "build", - Edge: "edge", - External: "external", - Firewall: "firewall", -} as const; -export type Sources = ClosedEnum; - -export const Environments = { - Preview: "preview", - Production: "production", -} as const; -export type Environments = ClosedEnum; - -export type CreateLogDrainRequestBody = { - /** - * The name of the log drain - */ - name: string; - projectIds?: Array | undefined; - /** - * A secret to sign log drain notification headers so a consumer can verify their authenticity - */ - secret?: string | undefined; - /** - * The delivery log format - */ - deliveryFormat?: DeliveryFormat | undefined; - /** - * The url where you will receive logs. The protocol must be `https://` or `http://` when type is `json` and `ndjson`, and `syslog+tls:` or `syslog:` when the type is `syslog`. - */ - url: string; - sources?: Array | undefined; - /** - * Headers to be sent together with the request - */ - headers?: { [k: string]: string } | undefined; - environments?: Array | undefined; -}; - -export type CreateLogDrainRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: CreateLogDrainRequestBody | undefined; -}; - -/** - * The delivery log format - */ -export const CreateLogDrainDeliveryFormat = { - Json: "json", - Ndjson: "ndjson", - Syslog: "syslog", -} as const; -/** - * The delivery log format - */ -export type CreateLogDrainDeliveryFormat = ClosedEnum< - typeof CreateLogDrainDeliveryFormat ->; - -/** - * The sources from which logs are currently being delivered to this log drain. - */ -export const CreateLogDrainSources = { - Build: "build", - Edge: "edge", - Lambda: "lambda", - Static: "static", - External: "external", - Firewall: "firewall", -} as const; -/** - * The sources from which logs are currently being delivered to this log drain. - */ -export type CreateLogDrainSources = ClosedEnum; - -/** - * Whether the log drain was created by an integration or by a user - */ -export const CreateLogDrainCreatedFrom = { - SelfServed: "self-served", - Integration: "integration", -} as const; -/** - * Whether the log drain was created by an integration or by a user - */ -export type CreateLogDrainCreatedFrom = ClosedEnum< - typeof CreateLogDrainCreatedFrom ->; - -/** - * The environment of log drain - */ -export const CreateLogDrainEnvironments = { - Production: "production", - Preview: "preview", -} as const; -/** - * The environment of log drain - */ -export type CreateLogDrainEnvironments = ClosedEnum< - typeof CreateLogDrainEnvironments ->; - -/** - * The log drain was successfully created - */ -export type CreateLogDrainResponseBody = { - /** - * The oauth2 client application id that created this log drain - */ - clientId?: string | undefined; - /** - * The client configuration this log drain was created with - */ - configurationId?: string | undefined; - /** - * A timestamp that tells you when the log drain was created - */ - createdAt: number; - /** - * The unique identifier of the log drain. Always prefixed with `ld_` - */ - id: string; - /** - * The delivery log format - */ - deliveryFormat?: CreateLogDrainDeliveryFormat | undefined; - /** - * The name of the log drain - */ - name: string; - /** - * The identifier of the team or user whose events will trigger the log drain - */ - ownerId: string; - projectId?: string | null | undefined; - /** - * The identifier of the projects this log drain is associated with - */ - projectIds?: Array | undefined; - /** - * The URL to call when logs are generated - */ - url: string; - /** - * The sources from which logs are currently being delivered to this log drain. - */ - sources?: Array | undefined; - /** - * Whether the log drain was created by an integration or by a user - */ - createdFrom?: CreateLogDrainCreatedFrom | undefined; - /** - * The headers to send with the request - */ - headers?: { [k: string]: string } | undefined; - /** - * The environment of log drain - */ - environments: Array; - /** - * The branch regexp of log drain - */ - branch?: string | undefined; - /** - * The sampling rate of log drain - */ - samplingRate?: number | undefined; -}; - -/** @internal */ -export const DeliveryFormat$inboundSchema: z.ZodNativeEnum< - typeof DeliveryFormat -> = z.nativeEnum(DeliveryFormat); - -/** @internal */ -export const DeliveryFormat$outboundSchema: z.ZodNativeEnum< - typeof DeliveryFormat -> = DeliveryFormat$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeliveryFormat$ { - /** @deprecated use `DeliveryFormat$inboundSchema` instead. */ - export const inboundSchema = DeliveryFormat$inboundSchema; - /** @deprecated use `DeliveryFormat$outboundSchema` instead. */ - export const outboundSchema = DeliveryFormat$outboundSchema; -} - -/** @internal */ -export const Sources$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Sources); - -/** @internal */ -export const Sources$outboundSchema: z.ZodNativeEnum = - Sources$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Sources$ { - /** @deprecated use `Sources$inboundSchema` instead. */ - export const inboundSchema = Sources$inboundSchema; - /** @deprecated use `Sources$outboundSchema` instead. */ - export const outboundSchema = Sources$outboundSchema; -} - -/** @internal */ -export const Environments$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(Environments); - -/** @internal */ -export const Environments$outboundSchema: z.ZodNativeEnum = - Environments$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Environments$ { - /** @deprecated use `Environments$inboundSchema` instead. */ - export const inboundSchema = Environments$inboundSchema; - /** @deprecated use `Environments$outboundSchema` instead. */ - export const outboundSchema = Environments$outboundSchema; -} - -/** @internal */ -export const CreateLogDrainRequestBody$inboundSchema: z.ZodType< - CreateLogDrainRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - projectIds: z.array(z.string()).optional(), - secret: z.string().optional(), - deliveryFormat: DeliveryFormat$inboundSchema.optional(), - url: z.string(), - sources: z.array(Sources$inboundSchema).optional(), - headers: z.record(z.string()).optional(), - environments: z.array(Environments$inboundSchema).optional(), -}); - -/** @internal */ -export type CreateLogDrainRequestBody$Outbound = { - name: string; - projectIds?: Array | undefined; - secret?: string | undefined; - deliveryFormat?: string | undefined; - url: string; - sources?: Array | undefined; - headers?: { [k: string]: string } | undefined; - environments?: Array | undefined; -}; - -/** @internal */ -export const CreateLogDrainRequestBody$outboundSchema: z.ZodType< - CreateLogDrainRequestBody$Outbound, - z.ZodTypeDef, - CreateLogDrainRequestBody -> = z.object({ - name: z.string(), - projectIds: z.array(z.string()).optional(), - secret: z.string().optional(), - deliveryFormat: DeliveryFormat$outboundSchema.optional(), - url: z.string(), - sources: z.array(Sources$outboundSchema).optional(), - headers: z.record(z.string()).optional(), - environments: z.array(Environments$outboundSchema).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateLogDrainRequestBody$ { - /** @deprecated use `CreateLogDrainRequestBody$inboundSchema` instead. */ - export const inboundSchema = CreateLogDrainRequestBody$inboundSchema; - /** @deprecated use `CreateLogDrainRequestBody$outboundSchema` instead. */ - export const outboundSchema = CreateLogDrainRequestBody$outboundSchema; - /** @deprecated use `CreateLogDrainRequestBody$Outbound` instead. */ - export type Outbound = CreateLogDrainRequestBody$Outbound; -} - -export function createLogDrainRequestBodyToJSON( - createLogDrainRequestBody: CreateLogDrainRequestBody, -): string { - return JSON.stringify( - CreateLogDrainRequestBody$outboundSchema.parse(createLogDrainRequestBody), - ); -} - -export function createLogDrainRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateLogDrainRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateLogDrainRequestBody' from JSON`, - ); -} - -/** @internal */ -export const CreateLogDrainRequest$inboundSchema: z.ZodType< - CreateLogDrainRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => CreateLogDrainRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type CreateLogDrainRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: CreateLogDrainRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const CreateLogDrainRequest$outboundSchema: z.ZodType< - CreateLogDrainRequest$Outbound, - z.ZodTypeDef, - CreateLogDrainRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateLogDrainRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateLogDrainRequest$ { - /** @deprecated use `CreateLogDrainRequest$inboundSchema` instead. */ - export const inboundSchema = CreateLogDrainRequest$inboundSchema; - /** @deprecated use `CreateLogDrainRequest$outboundSchema` instead. */ - export const outboundSchema = CreateLogDrainRequest$outboundSchema; - /** @deprecated use `CreateLogDrainRequest$Outbound` instead. */ - export type Outbound = CreateLogDrainRequest$Outbound; -} - -export function createLogDrainRequestToJSON( - createLogDrainRequest: CreateLogDrainRequest, -): string { - return JSON.stringify( - CreateLogDrainRequest$outboundSchema.parse(createLogDrainRequest), - ); -} - -export function createLogDrainRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateLogDrainRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateLogDrainRequest' from JSON`, - ); -} - -/** @internal */ -export const CreateLogDrainDeliveryFormat$inboundSchema: z.ZodNativeEnum< - typeof CreateLogDrainDeliveryFormat -> = z.nativeEnum(CreateLogDrainDeliveryFormat); - -/** @internal */ -export const CreateLogDrainDeliveryFormat$outboundSchema: z.ZodNativeEnum< - typeof CreateLogDrainDeliveryFormat -> = CreateLogDrainDeliveryFormat$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateLogDrainDeliveryFormat$ { - /** @deprecated use `CreateLogDrainDeliveryFormat$inboundSchema` instead. */ - export const inboundSchema = CreateLogDrainDeliveryFormat$inboundSchema; - /** @deprecated use `CreateLogDrainDeliveryFormat$outboundSchema` instead. */ - export const outboundSchema = CreateLogDrainDeliveryFormat$outboundSchema; -} - -/** @internal */ -export const CreateLogDrainSources$inboundSchema: z.ZodNativeEnum< - typeof CreateLogDrainSources -> = z.nativeEnum(CreateLogDrainSources); - -/** @internal */ -export const CreateLogDrainSources$outboundSchema: z.ZodNativeEnum< - typeof CreateLogDrainSources -> = CreateLogDrainSources$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateLogDrainSources$ { - /** @deprecated use `CreateLogDrainSources$inboundSchema` instead. */ - export const inboundSchema = CreateLogDrainSources$inboundSchema; - /** @deprecated use `CreateLogDrainSources$outboundSchema` instead. */ - export const outboundSchema = CreateLogDrainSources$outboundSchema; -} - -/** @internal */ -export const CreateLogDrainCreatedFrom$inboundSchema: z.ZodNativeEnum< - typeof CreateLogDrainCreatedFrom -> = z.nativeEnum(CreateLogDrainCreatedFrom); - -/** @internal */ -export const CreateLogDrainCreatedFrom$outboundSchema: z.ZodNativeEnum< - typeof CreateLogDrainCreatedFrom -> = CreateLogDrainCreatedFrom$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateLogDrainCreatedFrom$ { - /** @deprecated use `CreateLogDrainCreatedFrom$inboundSchema` instead. */ - export const inboundSchema = CreateLogDrainCreatedFrom$inboundSchema; - /** @deprecated use `CreateLogDrainCreatedFrom$outboundSchema` instead. */ - export const outboundSchema = CreateLogDrainCreatedFrom$outboundSchema; -} - -/** @internal */ -export const CreateLogDrainEnvironments$inboundSchema: z.ZodNativeEnum< - typeof CreateLogDrainEnvironments -> = z.nativeEnum(CreateLogDrainEnvironments); - -/** @internal */ -export const CreateLogDrainEnvironments$outboundSchema: z.ZodNativeEnum< - typeof CreateLogDrainEnvironments -> = CreateLogDrainEnvironments$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateLogDrainEnvironments$ { - /** @deprecated use `CreateLogDrainEnvironments$inboundSchema` instead. */ - export const inboundSchema = CreateLogDrainEnvironments$inboundSchema; - /** @deprecated use `CreateLogDrainEnvironments$outboundSchema` instead. */ - export const outboundSchema = CreateLogDrainEnvironments$outboundSchema; -} - -/** @internal */ -export const CreateLogDrainResponseBody$inboundSchema: z.ZodType< - CreateLogDrainResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - clientId: z.string().optional(), - configurationId: z.string().optional(), - createdAt: z.number(), - id: z.string(), - deliveryFormat: CreateLogDrainDeliveryFormat$inboundSchema.optional(), - name: z.string(), - ownerId: z.string(), - projectId: z.nullable(z.string()).optional(), - projectIds: z.array(z.string()).optional(), - url: z.string(), - sources: z.array(CreateLogDrainSources$inboundSchema).optional(), - createdFrom: CreateLogDrainCreatedFrom$inboundSchema.optional(), - headers: z.record(z.string()).optional(), - environments: z.array(CreateLogDrainEnvironments$inboundSchema), - branch: z.string().optional(), - samplingRate: z.number().optional(), -}); - -/** @internal */ -export type CreateLogDrainResponseBody$Outbound = { - clientId?: string | undefined; - configurationId?: string | undefined; - createdAt: number; - id: string; - deliveryFormat?: string | undefined; - name: string; - ownerId: string; - projectId?: string | null | undefined; - projectIds?: Array | undefined; - url: string; - sources?: Array | undefined; - createdFrom?: string | undefined; - headers?: { [k: string]: string } | undefined; - environments: Array; - branch?: string | undefined; - samplingRate?: number | undefined; -}; - -/** @internal */ -export const CreateLogDrainResponseBody$outboundSchema: z.ZodType< - CreateLogDrainResponseBody$Outbound, - z.ZodTypeDef, - CreateLogDrainResponseBody -> = z.object({ - clientId: z.string().optional(), - configurationId: z.string().optional(), - createdAt: z.number(), - id: z.string(), - deliveryFormat: CreateLogDrainDeliveryFormat$outboundSchema.optional(), - name: z.string(), - ownerId: z.string(), - projectId: z.nullable(z.string()).optional(), - projectIds: z.array(z.string()).optional(), - url: z.string(), - sources: z.array(CreateLogDrainSources$outboundSchema).optional(), - createdFrom: CreateLogDrainCreatedFrom$outboundSchema.optional(), - headers: z.record(z.string()).optional(), - environments: z.array(CreateLogDrainEnvironments$outboundSchema), - branch: z.string().optional(), - samplingRate: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateLogDrainResponseBody$ { - /** @deprecated use `CreateLogDrainResponseBody$inboundSchema` instead. */ - export const inboundSchema = CreateLogDrainResponseBody$inboundSchema; - /** @deprecated use `CreateLogDrainResponseBody$outboundSchema` instead. */ - export const outboundSchema = CreateLogDrainResponseBody$outboundSchema; - /** @deprecated use `CreateLogDrainResponseBody$Outbound` instead. */ - export type Outbound = CreateLogDrainResponseBody$Outbound; -} - -export function createLogDrainResponseBodyToJSON( - createLogDrainResponseBody: CreateLogDrainResponseBody, -): string { - return JSON.stringify( - CreateLogDrainResponseBody$outboundSchema.parse(createLogDrainResponseBody), - ); -} - -export function createLogDrainResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateLogDrainResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateLogDrainResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/createortransferdomain.ts b/src/models/operations/createortransferdomain.ts deleted file mode 100644 index f735d946..00000000 --- a/src/models/operations/createortransferdomain.ts +++ /dev/null @@ -1,779 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * transfer-in - */ -export type CreateOrTransferDomainRequestBody3 = { - /** - * The domain name you want to add. - */ - name: string; - /** - * The domain operation to perform. It can be either `add` or `transfer-in`. - */ - method: string; - /** - * The authorization code assigned to the domain. - */ - authCode?: string | undefined; - /** - * The price you expect to be charged for the required 1 year renewal. - */ - expectedPrice?: number | undefined; -}; - -/** - * move-in - */ -export type CreateOrTransferDomainRequestBody2 = { - /** - * The domain name you want to add. - */ - name: string; - /** - * The domain operation to perform. It can be either `add` or `transfer-in`. - */ - method: string; - /** - * The move-in token from Move Requested email. - */ - token?: string | undefined; -}; - -/** - * add - */ -export type CreateOrTransferDomainRequestBody1 = { - /** - * The domain name you want to add. - */ - name: string; - /** - * Whether the domain has the Vercel Edge Network enabled or not. - */ - cdnEnabled?: boolean | undefined; - zone?: boolean | undefined; - /** - * The domain operation to perform. It can be either `add` or `transfer-in`. - */ - method?: string | undefined; -}; - -export type CreateOrTransferDomainRequestBody = - | CreateOrTransferDomainRequestBody2 - | CreateOrTransferDomainRequestBody1 - | CreateOrTransferDomainRequestBody3; - -export type CreateOrTransferDomainRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: - | CreateOrTransferDomainRequestBody2 - | CreateOrTransferDomainRequestBody1 - | CreateOrTransferDomainRequestBody3 - | undefined; -}; - -/** - * An object containing information of the domain creator, including the user's id, username, and email. - */ -export type CreateOrTransferDomainCreator = { - username: string; - email: string; - customerId?: string | null | undefined; - isDomainReseller?: boolean | undefined; - id: string; -}; - -/** - * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. - */ -export const CreateOrTransferDomainServiceType = { - ZeitWorld: "zeit.world", - External: "external", - Na: "na", -} as const; -/** - * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. - */ -export type CreateOrTransferDomainServiceType = ClosedEnum< - typeof CreateOrTransferDomainServiceType ->; - -export type CreateOrTransferDomainDomain = { - /** - * If the domain has the ownership verified. - */ - verified: boolean; - /** - * A list of the current nameservers of the domain. - */ - nameservers: Array; - /** - * A list of the intended nameservers for the domain to point to Vercel DNS. - */ - intendedNameservers: Array; - /** - * A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel. - */ - customNameservers?: Array | undefined; - /** - * An object containing information of the domain creator, including the user's id, username, and email. - */ - creator: CreateOrTransferDomainCreator; - /** - * The domain name. - */ - name: string; - /** - * If it was purchased through Vercel, the timestamp in milliseconds when it was purchased. - */ - boughtAt: number | null; - /** - * Timestamp in milliseconds when the domain was created in the registry. - */ - createdAt: number; - /** - * Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel. - */ - expiresAt: number | null; - /** - * The unique identifier of the domain. - */ - id: string; - /** - * Timestamp in milliseconds at which the domain was ordered. - */ - orderedAt?: number | undefined; - /** - * Indicates whether the domain is set to automatically renew. - */ - renew?: boolean | undefined; - /** - * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. - */ - serviceType: CreateOrTransferDomainServiceType; - /** - * Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in. - */ - transferredAt?: number | null | undefined; - /** - * If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated. - */ - transferStartedAt?: number | undefined; - userId: string; - teamId: string | null; -}; - -export type CreateOrTransferDomainResponseBody = { - domain: CreateOrTransferDomainDomain; -}; - -/** @internal */ -export const CreateOrTransferDomainRequestBody3$inboundSchema: z.ZodType< - CreateOrTransferDomainRequestBody3, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - method: z.string(), - authCode: z.string().optional(), - expectedPrice: z.number().optional(), -}); - -/** @internal */ -export type CreateOrTransferDomainRequestBody3$Outbound = { - name: string; - method: string; - authCode?: string | undefined; - expectedPrice?: number | undefined; -}; - -/** @internal */ -export const CreateOrTransferDomainRequestBody3$outboundSchema: z.ZodType< - CreateOrTransferDomainRequestBody3$Outbound, - z.ZodTypeDef, - CreateOrTransferDomainRequestBody3 -> = z.object({ - name: z.string(), - method: z.string(), - authCode: z.string().optional(), - expectedPrice: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateOrTransferDomainRequestBody3$ { - /** @deprecated use `CreateOrTransferDomainRequestBody3$inboundSchema` instead. */ - export const inboundSchema = CreateOrTransferDomainRequestBody3$inboundSchema; - /** @deprecated use `CreateOrTransferDomainRequestBody3$outboundSchema` instead. */ - export const outboundSchema = - CreateOrTransferDomainRequestBody3$outboundSchema; - /** @deprecated use `CreateOrTransferDomainRequestBody3$Outbound` instead. */ - export type Outbound = CreateOrTransferDomainRequestBody3$Outbound; -} - -export function createOrTransferDomainRequestBody3ToJSON( - createOrTransferDomainRequestBody3: CreateOrTransferDomainRequestBody3, -): string { - return JSON.stringify( - CreateOrTransferDomainRequestBody3$outboundSchema.parse( - createOrTransferDomainRequestBody3, - ), - ); -} - -export function createOrTransferDomainRequestBody3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateOrTransferDomainRequestBody3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateOrTransferDomainRequestBody3' from JSON`, - ); -} - -/** @internal */ -export const CreateOrTransferDomainRequestBody2$inboundSchema: z.ZodType< - CreateOrTransferDomainRequestBody2, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - method: z.string(), - token: z.string().optional(), -}); - -/** @internal */ -export type CreateOrTransferDomainRequestBody2$Outbound = { - name: string; - method: string; - token?: string | undefined; -}; - -/** @internal */ -export const CreateOrTransferDomainRequestBody2$outboundSchema: z.ZodType< - CreateOrTransferDomainRequestBody2$Outbound, - z.ZodTypeDef, - CreateOrTransferDomainRequestBody2 -> = z.object({ - name: z.string(), - method: z.string(), - token: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateOrTransferDomainRequestBody2$ { - /** @deprecated use `CreateOrTransferDomainRequestBody2$inboundSchema` instead. */ - export const inboundSchema = CreateOrTransferDomainRequestBody2$inboundSchema; - /** @deprecated use `CreateOrTransferDomainRequestBody2$outboundSchema` instead. */ - export const outboundSchema = - CreateOrTransferDomainRequestBody2$outboundSchema; - /** @deprecated use `CreateOrTransferDomainRequestBody2$Outbound` instead. */ - export type Outbound = CreateOrTransferDomainRequestBody2$Outbound; -} - -export function createOrTransferDomainRequestBody2ToJSON( - createOrTransferDomainRequestBody2: CreateOrTransferDomainRequestBody2, -): string { - return JSON.stringify( - CreateOrTransferDomainRequestBody2$outboundSchema.parse( - createOrTransferDomainRequestBody2, - ), - ); -} - -export function createOrTransferDomainRequestBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateOrTransferDomainRequestBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateOrTransferDomainRequestBody2' from JSON`, - ); -} - -/** @internal */ -export const CreateOrTransferDomainRequestBody1$inboundSchema: z.ZodType< - CreateOrTransferDomainRequestBody1, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - cdnEnabled: z.boolean().optional(), - zone: z.boolean().optional(), - method: z.string().optional(), -}); - -/** @internal */ -export type CreateOrTransferDomainRequestBody1$Outbound = { - name: string; - cdnEnabled?: boolean | undefined; - zone?: boolean | undefined; - method?: string | undefined; -}; - -/** @internal */ -export const CreateOrTransferDomainRequestBody1$outboundSchema: z.ZodType< - CreateOrTransferDomainRequestBody1$Outbound, - z.ZodTypeDef, - CreateOrTransferDomainRequestBody1 -> = z.object({ - name: z.string(), - cdnEnabled: z.boolean().optional(), - zone: z.boolean().optional(), - method: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateOrTransferDomainRequestBody1$ { - /** @deprecated use `CreateOrTransferDomainRequestBody1$inboundSchema` instead. */ - export const inboundSchema = CreateOrTransferDomainRequestBody1$inboundSchema; - /** @deprecated use `CreateOrTransferDomainRequestBody1$outboundSchema` instead. */ - export const outboundSchema = - CreateOrTransferDomainRequestBody1$outboundSchema; - /** @deprecated use `CreateOrTransferDomainRequestBody1$Outbound` instead. */ - export type Outbound = CreateOrTransferDomainRequestBody1$Outbound; -} - -export function createOrTransferDomainRequestBody1ToJSON( - createOrTransferDomainRequestBody1: CreateOrTransferDomainRequestBody1, -): string { - return JSON.stringify( - CreateOrTransferDomainRequestBody1$outboundSchema.parse( - createOrTransferDomainRequestBody1, - ), - ); -} - -export function createOrTransferDomainRequestBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateOrTransferDomainRequestBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateOrTransferDomainRequestBody1' from JSON`, - ); -} - -/** @internal */ -export const CreateOrTransferDomainRequestBody$inboundSchema: z.ZodType< - CreateOrTransferDomainRequestBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CreateOrTransferDomainRequestBody2$inboundSchema), - z.lazy(() => CreateOrTransferDomainRequestBody1$inboundSchema), - z.lazy(() => CreateOrTransferDomainRequestBody3$inboundSchema), -]); - -/** @internal */ -export type CreateOrTransferDomainRequestBody$Outbound = - | CreateOrTransferDomainRequestBody2$Outbound - | CreateOrTransferDomainRequestBody1$Outbound - | CreateOrTransferDomainRequestBody3$Outbound; - -/** @internal */ -export const CreateOrTransferDomainRequestBody$outboundSchema: z.ZodType< - CreateOrTransferDomainRequestBody$Outbound, - z.ZodTypeDef, - CreateOrTransferDomainRequestBody -> = z.union([ - z.lazy(() => CreateOrTransferDomainRequestBody2$outboundSchema), - z.lazy(() => CreateOrTransferDomainRequestBody1$outboundSchema), - z.lazy(() => CreateOrTransferDomainRequestBody3$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateOrTransferDomainRequestBody$ { - /** @deprecated use `CreateOrTransferDomainRequestBody$inboundSchema` instead. */ - export const inboundSchema = CreateOrTransferDomainRequestBody$inboundSchema; - /** @deprecated use `CreateOrTransferDomainRequestBody$outboundSchema` instead. */ - export const outboundSchema = - CreateOrTransferDomainRequestBody$outboundSchema; - /** @deprecated use `CreateOrTransferDomainRequestBody$Outbound` instead. */ - export type Outbound = CreateOrTransferDomainRequestBody$Outbound; -} - -export function createOrTransferDomainRequestBodyToJSON( - createOrTransferDomainRequestBody: CreateOrTransferDomainRequestBody, -): string { - return JSON.stringify( - CreateOrTransferDomainRequestBody$outboundSchema.parse( - createOrTransferDomainRequestBody, - ), - ); -} - -export function createOrTransferDomainRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateOrTransferDomainRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateOrTransferDomainRequestBody' from JSON`, - ); -} - -/** @internal */ -export const CreateOrTransferDomainRequest$inboundSchema: z.ZodType< - CreateOrTransferDomainRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.union([ - z.lazy(() => CreateOrTransferDomainRequestBody2$inboundSchema), - z.lazy(() => CreateOrTransferDomainRequestBody1$inboundSchema), - z.lazy(() => CreateOrTransferDomainRequestBody3$inboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type CreateOrTransferDomainRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: - | CreateOrTransferDomainRequestBody2$Outbound - | CreateOrTransferDomainRequestBody1$Outbound - | CreateOrTransferDomainRequestBody3$Outbound - | undefined; -}; - -/** @internal */ -export const CreateOrTransferDomainRequest$outboundSchema: z.ZodType< - CreateOrTransferDomainRequest$Outbound, - z.ZodTypeDef, - CreateOrTransferDomainRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.union([ - z.lazy(() => CreateOrTransferDomainRequestBody2$outboundSchema), - z.lazy(() => CreateOrTransferDomainRequestBody1$outboundSchema), - z.lazy(() => CreateOrTransferDomainRequestBody3$outboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateOrTransferDomainRequest$ { - /** @deprecated use `CreateOrTransferDomainRequest$inboundSchema` instead. */ - export const inboundSchema = CreateOrTransferDomainRequest$inboundSchema; - /** @deprecated use `CreateOrTransferDomainRequest$outboundSchema` instead. */ - export const outboundSchema = CreateOrTransferDomainRequest$outboundSchema; - /** @deprecated use `CreateOrTransferDomainRequest$Outbound` instead. */ - export type Outbound = CreateOrTransferDomainRequest$Outbound; -} - -export function createOrTransferDomainRequestToJSON( - createOrTransferDomainRequest: CreateOrTransferDomainRequest, -): string { - return JSON.stringify( - CreateOrTransferDomainRequest$outboundSchema.parse( - createOrTransferDomainRequest, - ), - ); -} - -export function createOrTransferDomainRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateOrTransferDomainRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateOrTransferDomainRequest' from JSON`, - ); -} - -/** @internal */ -export const CreateOrTransferDomainCreator$inboundSchema: z.ZodType< - CreateOrTransferDomainCreator, - z.ZodTypeDef, - unknown -> = z.object({ - username: z.string(), - email: z.string(), - customerId: z.nullable(z.string()).optional(), - isDomainReseller: z.boolean().optional(), - id: z.string(), -}); - -/** @internal */ -export type CreateOrTransferDomainCreator$Outbound = { - username: string; - email: string; - customerId?: string | null | undefined; - isDomainReseller?: boolean | undefined; - id: string; -}; - -/** @internal */ -export const CreateOrTransferDomainCreator$outboundSchema: z.ZodType< - CreateOrTransferDomainCreator$Outbound, - z.ZodTypeDef, - CreateOrTransferDomainCreator -> = z.object({ - username: z.string(), - email: z.string(), - customerId: z.nullable(z.string()).optional(), - isDomainReseller: z.boolean().optional(), - id: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateOrTransferDomainCreator$ { - /** @deprecated use `CreateOrTransferDomainCreator$inboundSchema` instead. */ - export const inboundSchema = CreateOrTransferDomainCreator$inboundSchema; - /** @deprecated use `CreateOrTransferDomainCreator$outboundSchema` instead. */ - export const outboundSchema = CreateOrTransferDomainCreator$outboundSchema; - /** @deprecated use `CreateOrTransferDomainCreator$Outbound` instead. */ - export type Outbound = CreateOrTransferDomainCreator$Outbound; -} - -export function createOrTransferDomainCreatorToJSON( - createOrTransferDomainCreator: CreateOrTransferDomainCreator, -): string { - return JSON.stringify( - CreateOrTransferDomainCreator$outboundSchema.parse( - createOrTransferDomainCreator, - ), - ); -} - -export function createOrTransferDomainCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateOrTransferDomainCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateOrTransferDomainCreator' from JSON`, - ); -} - -/** @internal */ -export const CreateOrTransferDomainServiceType$inboundSchema: z.ZodNativeEnum< - typeof CreateOrTransferDomainServiceType -> = z.nativeEnum(CreateOrTransferDomainServiceType); - -/** @internal */ -export const CreateOrTransferDomainServiceType$outboundSchema: z.ZodNativeEnum< - typeof CreateOrTransferDomainServiceType -> = CreateOrTransferDomainServiceType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateOrTransferDomainServiceType$ { - /** @deprecated use `CreateOrTransferDomainServiceType$inboundSchema` instead. */ - export const inboundSchema = CreateOrTransferDomainServiceType$inboundSchema; - /** @deprecated use `CreateOrTransferDomainServiceType$outboundSchema` instead. */ - export const outboundSchema = - CreateOrTransferDomainServiceType$outboundSchema; -} - -/** @internal */ -export const CreateOrTransferDomainDomain$inboundSchema: z.ZodType< - CreateOrTransferDomainDomain, - z.ZodTypeDef, - unknown -> = z.object({ - verified: z.boolean(), - nameservers: z.array(z.string()), - intendedNameservers: z.array(z.string()), - customNameservers: z.array(z.string()).optional(), - creator: z.lazy(() => CreateOrTransferDomainCreator$inboundSchema), - name: z.string(), - boughtAt: z.nullable(z.number()), - createdAt: z.number(), - expiresAt: z.nullable(z.number()), - id: z.string(), - orderedAt: z.number().optional(), - renew: z.boolean().optional(), - serviceType: CreateOrTransferDomainServiceType$inboundSchema, - transferredAt: z.nullable(z.number()).optional(), - transferStartedAt: z.number().optional(), - userId: z.string(), - teamId: z.nullable(z.string()), -}); - -/** @internal */ -export type CreateOrTransferDomainDomain$Outbound = { - verified: boolean; - nameservers: Array; - intendedNameservers: Array; - customNameservers?: Array | undefined; - creator: CreateOrTransferDomainCreator$Outbound; - name: string; - boughtAt: number | null; - createdAt: number; - expiresAt: number | null; - id: string; - orderedAt?: number | undefined; - renew?: boolean | undefined; - serviceType: string; - transferredAt?: number | null | undefined; - transferStartedAt?: number | undefined; - userId: string; - teamId: string | null; -}; - -/** @internal */ -export const CreateOrTransferDomainDomain$outboundSchema: z.ZodType< - CreateOrTransferDomainDomain$Outbound, - z.ZodTypeDef, - CreateOrTransferDomainDomain -> = z.object({ - verified: z.boolean(), - nameservers: z.array(z.string()), - intendedNameservers: z.array(z.string()), - customNameservers: z.array(z.string()).optional(), - creator: z.lazy(() => CreateOrTransferDomainCreator$outboundSchema), - name: z.string(), - boughtAt: z.nullable(z.number()), - createdAt: z.number(), - expiresAt: z.nullable(z.number()), - id: z.string(), - orderedAt: z.number().optional(), - renew: z.boolean().optional(), - serviceType: CreateOrTransferDomainServiceType$outboundSchema, - transferredAt: z.nullable(z.number()).optional(), - transferStartedAt: z.number().optional(), - userId: z.string(), - teamId: z.nullable(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateOrTransferDomainDomain$ { - /** @deprecated use `CreateOrTransferDomainDomain$inboundSchema` instead. */ - export const inboundSchema = CreateOrTransferDomainDomain$inboundSchema; - /** @deprecated use `CreateOrTransferDomainDomain$outboundSchema` instead. */ - export const outboundSchema = CreateOrTransferDomainDomain$outboundSchema; - /** @deprecated use `CreateOrTransferDomainDomain$Outbound` instead. */ - export type Outbound = CreateOrTransferDomainDomain$Outbound; -} - -export function createOrTransferDomainDomainToJSON( - createOrTransferDomainDomain: CreateOrTransferDomainDomain, -): string { - return JSON.stringify( - CreateOrTransferDomainDomain$outboundSchema.parse( - createOrTransferDomainDomain, - ), - ); -} - -export function createOrTransferDomainDomainFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateOrTransferDomainDomain$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateOrTransferDomainDomain' from JSON`, - ); -} - -/** @internal */ -export const CreateOrTransferDomainResponseBody$inboundSchema: z.ZodType< - CreateOrTransferDomainResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - domain: z.lazy(() => CreateOrTransferDomainDomain$inboundSchema), -}); - -/** @internal */ -export type CreateOrTransferDomainResponseBody$Outbound = { - domain: CreateOrTransferDomainDomain$Outbound; -}; - -/** @internal */ -export const CreateOrTransferDomainResponseBody$outboundSchema: z.ZodType< - CreateOrTransferDomainResponseBody$Outbound, - z.ZodTypeDef, - CreateOrTransferDomainResponseBody -> = z.object({ - domain: z.lazy(() => CreateOrTransferDomainDomain$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateOrTransferDomainResponseBody$ { - /** @deprecated use `CreateOrTransferDomainResponseBody$inboundSchema` instead. */ - export const inboundSchema = CreateOrTransferDomainResponseBody$inboundSchema; - /** @deprecated use `CreateOrTransferDomainResponseBody$outboundSchema` instead. */ - export const outboundSchema = - CreateOrTransferDomainResponseBody$outboundSchema; - /** @deprecated use `CreateOrTransferDomainResponseBody$Outbound` instead. */ - export type Outbound = CreateOrTransferDomainResponseBody$Outbound; -} - -export function createOrTransferDomainResponseBodyToJSON( - createOrTransferDomainResponseBody: CreateOrTransferDomainResponseBody, -): string { - return JSON.stringify( - CreateOrTransferDomainResponseBody$outboundSchema.parse( - createOrTransferDomainResponseBody, - ), - ); -} - -export function createOrTransferDomainResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateOrTransferDomainResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateOrTransferDomainResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/createproject.ts b/src/models/operations/createproject.ts deleted file mode 100644 index fae1da64..00000000 --- a/src/models/operations/createproject.ts +++ /dev/null @@ -1,9648 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - ACLAction, - ACLAction$inboundSchema, - ACLAction$outboundSchema, -} from "../components/aclaction.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export const Target2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type Target2 = ClosedEnum; - -export const Target1 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type Target1 = ClosedEnum; - -/** - * Deployment Target or Targets in which the ENV variable will be used - */ -export type CreateProjectTarget = Target1 | Array; - -/** - * Type of the ENV variable - */ -export const CreateProjectType = { - System: "system", - Secret: "secret", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", -} as const; -/** - * Type of the ENV variable - */ -export type CreateProjectType = ClosedEnum; - -export type EnvironmentVariables = { - /** - * Name of the ENV variable - */ - key: string; - /** - * Deployment Target or Targets in which the ENV variable will be used - */ - target: Target1 | Array; - /** - * If defined, the git branch of the environment variable (must have target=preview) - */ - gitBranch?: string | undefined; - /** - * Type of the ENV variable - */ - type?: CreateProjectType | undefined; - /** - * Value for the ENV variable - */ - value: string; -}; - -/** - * The framework that is being used for this project. When `null` is used no framework is selected - */ -export const CreateProjectFramework = { - Blitzjs: "blitzjs", - Nextjs: "nextjs", - Gatsby: "gatsby", - Remix: "remix", - Astro: "astro", - Hexo: "hexo", - Eleventy: "eleventy", - Docusaurus2: "docusaurus-2", - Docusaurus: "docusaurus", - Preact: "preact", - Solidstart1: "solidstart-1", - Solidstart: "solidstart", - Dojo: "dojo", - Ember: "ember", - Vue: "vue", - Scully: "scully", - IonicAngular: "ionic-angular", - Angular: "angular", - Polymer: "polymer", - Svelte: "svelte", - Sveltekit: "sveltekit", - Sveltekit1: "sveltekit-1", - IonicReact: "ionic-react", - CreateReactApp: "create-react-app", - Gridsome: "gridsome", - Umijs: "umijs", - Sapper: "sapper", - Saber: "saber", - Stencil: "stencil", - Nuxtjs: "nuxtjs", - Redwoodjs: "redwoodjs", - Hugo: "hugo", - Jekyll: "jekyll", - Brunch: "brunch", - Middleman: "middleman", - Zola: "zola", - Hydrogen: "hydrogen", - Vite: "vite", - Vitepress: "vitepress", - Vuepress: "vuepress", - Parcel: "parcel", - Fasthtml: "fasthtml", - SanityV3: "sanity-v3", - Sanity: "sanity", - Storybook: "storybook", -} as const; -/** - * The framework that is being used for this project. When `null` is used no framework is selected - */ -export type CreateProjectFramework = ClosedEnum; - -/** - * The Git Provider of the repository - */ -export const CreateProjectProjectsType = { - Github: "github", - Gitlab: "gitlab", - Bitbucket: "bitbucket", -} as const; -/** - * The Git Provider of the repository - */ -export type CreateProjectProjectsType = ClosedEnum< - typeof CreateProjectProjectsType ->; - -/** - * The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed - */ -export type GitRepository = { - /** - * The name of the git repository. For example: \"vercel/next.js\" - */ - repo: string; - /** - * The Git Provider of the repository - */ - type: CreateProjectProjectsType; -}; - -/** - * team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` - */ -export const IssuerMode = { - Team: "team", - Global: "global", -} as const; -/** - * team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` - */ -export type IssuerMode = ClosedEnum; - -/** - * OpenID Connect JSON Web Token generation configuration. - */ -export type OidcTokenConfig = { - /** - * Whether or not to generate OpenID Connect JSON Web Tokens. - */ - enabled: boolean; - /** - * team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` - */ - issuerMode?: IssuerMode | undefined; -}; - -export type CreateProjectRequestBody = { - /** - * The build command for this project. When `null` is used this value will be automatically detected - */ - buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - /** - * The dev command for this project. When `null` is used this value will be automatically detected - */ - devCommand?: string | null | undefined; - /** - * Collection of ENV Variables the Project will use - */ - environmentVariables?: Array | undefined; - /** - * The framework that is being used for this project. When `null` is used no framework is selected - */ - framework?: CreateProjectFramework | undefined; - /** - * The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed - */ - gitRepository?: GitRepository | undefined; - /** - * The install command for this project. When `null` is used this value will be automatically detected - */ - installCommand?: string | null | undefined; - /** - * The desired name for the project - */ - name: string; - /** - * Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - skipGitConnectDuringLink?: boolean | undefined; - /** - * The output directory of the project. When `null` is used this value will be automatically detected - */ - outputDirectory?: string | null | undefined; - /** - * Specifies whether the source code and logs of the deployments for this project should be public or not - */ - publicSource?: boolean | null | undefined; - /** - * The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root - */ - rootDirectory?: string | null | undefined; - /** - * The region to deploy Serverless Functions in this project - */ - serverlessFunctionRegion?: string | null | undefined; - /** - * Specifies whether Zero Config Failover is enabled for this project. - */ - serverlessFunctionZeroConfigFailover?: boolean | undefined; - /** - * OpenID Connect JSON Web Token generation configuration. - */ - oidcTokenConfig?: OidcTokenConfig | undefined; - /** - * Opt-in to skip deployments when there are no changes to the root directory and its dependencies - */ - enableAffectedProjectsDeployments?: boolean | undefined; -}; - -export type CreateProjectRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: CreateProjectRequestBody | undefined; -}; - -export type CreateProjectAnalytics = { - id: string; - canceledAt?: number | null | undefined; - disabledAt: number; - enabledAt: number; - paidAt?: number | undefined; - sampleRatePercent?: number | null | undefined; - spendLimitInDollars?: number | null | undefined; -}; - -export type CreateProjectSpeedInsights = { - id: string; - enabledAt?: number | undefined; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - hasData?: boolean | undefined; - paidAt?: number | undefined; -}; - -export type CreateProjectDefinitions = { - /** - * The hostname that should be used. - */ - host: string; - /** - * The path that should be called for the cronjob. - */ - path: string; - /** - * The cron expression. - */ - schedule: string; -}; - -export type CreateProjectCrons = { - /** - * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs. - */ - enabledAt: number; - /** - * The time the feature was disabled for this project. - */ - disabledAt: number | null; - updatedAt: number; - /** - * The ID of the Deployment from which the definitions originated. - */ - deploymentId: string | null; - definitions: Array; -}; - -export type CreateProjectDataCache = { - userDisabled: boolean; - storageSizeBytes?: number | null | undefined; - unlimited?: boolean | undefined; -}; - -export type CreateProjectDeploymentExpiration = { - expirationDays?: number | undefined; - expirationDaysProduction?: number | undefined; - expirationDaysCanceled?: number | undefined; - expirationDaysErrored?: number | undefined; - deploymentsToKeep?: number | undefined; -}; - -export const CreateProjectTarget2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type CreateProjectTarget2 = ClosedEnum; - -export type CreateProjectProjectsTarget = Array | CreateProjectTarget2; - -export const CreateProjectProjectsResponseType = { - System: "system", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", - Secret: "secret", -} as const; -export type CreateProjectProjectsResponseType = ClosedEnum< - typeof CreateProjectProjectsResponseType ->; - -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = - { - FlagsConnectionString: "flags-connection-string", - } as const; -export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = - ClosedEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type - >; - -export type ContentHint15 = { - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type; - projectId: string; -}; - -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type = - { - IntegrationStoreSecret: "integration-store-secret", - } as const; -export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type = - ClosedEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type - >; - -export type ContentHint14 = { - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type = - { - PostgresUrlNoSsl: "postgres-url-no-ssl", - } as const; -export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type = - ClosedEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type - >; - -export type ContentHint13 = { - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type; - storeId: string; -}; - -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type = - { - PostgresDatabase: "postgres-database", - } as const; -export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type = - ClosedEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type - >; - -export type ContentHint12 = { - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type; - storeId: string; -}; - -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type = - { - PostgresPassword: "postgres-password", - } as const; -export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type = - ClosedEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type - >; - -export type ContentHint11 = { - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type; - storeId: string; -}; - -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type = - { - PostgresHost: "postgres-host", - } as const; -export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type = - ClosedEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type - >; - -export type CreateProjectContentHint10 = { - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type; - storeId: string; -}; - -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type = - { - PostgresUser: "postgres-user", - } as const; -export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type = - ClosedEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type - >; - -export type CreateProjectContentHint9 = { - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type; - storeId: string; -}; - -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type = - { - PostgresPrismaUrl: "postgres-prisma-url", - } as const; -export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type = - ClosedEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type - >; - -export type CreateProjectContentHint8 = { - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type; - storeId: string; -}; - -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType = - { - PostgresUrlNonPooling: "postgres-url-non-pooling", - } as const; -export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType = - ClosedEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType - >; - -export type CreateProjectContentHint7 = { - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType; - storeId: string; -}; - -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType = - { - PostgresUrl: "postgres-url", - } as const; -export type CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType = - ClosedEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType - >; - -export type CreateProjectContentHint6 = { - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType; - storeId: string; -}; - -export const CreateProjectContentHintProjectsResponse200ApplicationJSONType = { - BlobReadWriteToken: "blob-read-write-token", -} as const; -export type CreateProjectContentHintProjectsResponse200ApplicationJSONType = - ClosedEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONType - >; - -export type CreateProjectContentHint5 = { - type: CreateProjectContentHintProjectsResponse200ApplicationJSONType; - storeId: string; -}; - -export const CreateProjectContentHintProjectsResponse200Type = { - RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", -} as const; -export type CreateProjectContentHintProjectsResponse200Type = ClosedEnum< - typeof CreateProjectContentHintProjectsResponse200Type ->; - -export type CreateProjectContentHint4 = { - type: CreateProjectContentHintProjectsResponse200Type; - storeId: string; -}; - -export const CreateProjectContentHintProjectsResponseType = { - RedisRestApiToken: "redis-rest-api-token", -} as const; -export type CreateProjectContentHintProjectsResponseType = ClosedEnum< - typeof CreateProjectContentHintProjectsResponseType ->; - -export type CreateProjectContentHint3 = { - type: CreateProjectContentHintProjectsResponseType; - storeId: string; -}; - -export const CreateProjectContentHintProjectsType = { - RedisRestApiUrl: "redis-rest-api-url", -} as const; -export type CreateProjectContentHintProjectsType = ClosedEnum< - typeof CreateProjectContentHintProjectsType ->; - -export type CreateProjectContentHint2 = { - type: CreateProjectContentHintProjectsType; - storeId: string; -}; - -export const CreateProjectContentHintType = { - RedisUrl: "redis-url", -} as const; -export type CreateProjectContentHintType = ClosedEnum< - typeof CreateProjectContentHintType ->; - -export type CreateProjectContentHint1 = { - type: CreateProjectContentHintType; - storeId: string; -}; - -export type CreateProjectContentHint = - | CreateProjectContentHint1 - | CreateProjectContentHint2 - | CreateProjectContentHint3 - | CreateProjectContentHint4 - | CreateProjectContentHint5 - | CreateProjectContentHint6 - | CreateProjectContentHint7 - | CreateProjectContentHint8 - | CreateProjectContentHint9 - | CreateProjectContentHint10 - | ContentHint11 - | ContentHint12 - | ContentHint13 - | ContentHint15 - | ContentHint14; - -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType = - { - FlagsSecret: "flags-secret", - } as const; -export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType = - ClosedEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType - >; - -/** - * Similar to `contentHints`, but should not be exposed to the user. - */ -export type CreateProjectInternalContentHint = { - type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType; - /** - * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. - */ - encryptedValue: string; -}; - -export type CreateProjectEnv = { - target?: Array | CreateProjectTarget2 | undefined; - type: CreateProjectProjectsResponseType; - /** - * This is used to identiy variables that have been migrated from type secret to sensitive. - */ - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | CreateProjectContentHint1 - | CreateProjectContentHint2 - | CreateProjectContentHint3 - | CreateProjectContentHint4 - | CreateProjectContentHint5 - | CreateProjectContentHint6 - | CreateProjectContentHint7 - | CreateProjectContentHint8 - | CreateProjectContentHint9 - | CreateProjectContentHint10 - | ContentHint11 - | ContentHint12 - | ContentHint13 - | ContentHint15 - | ContentHint14 - | null - | undefined; - /** - * Similar to `contentHints`, but should not be exposed to the user. - */ - internalContentHint?: CreateProjectInternalContentHint | null | undefined; - /** - * Whether `value` and `vsmValue` are decrypted. - */ - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -export type CreateProjectCustomEnvironments = {}; - -export const CreateProjectProjectsFramework = { - Blitzjs: "blitzjs", - Nextjs: "nextjs", - Gatsby: "gatsby", - Remix: "remix", - Astro: "astro", - Hexo: "hexo", - Eleventy: "eleventy", - Docusaurus2: "docusaurus-2", - Docusaurus: "docusaurus", - Preact: "preact", - Solidstart1: "solidstart-1", - Solidstart: "solidstart", - Dojo: "dojo", - Ember: "ember", - Vue: "vue", - Scully: "scully", - IonicAngular: "ionic-angular", - Angular: "angular", - Polymer: "polymer", - Svelte: "svelte", - Sveltekit: "sveltekit", - Sveltekit1: "sveltekit-1", - IonicReact: "ionic-react", - CreateReactApp: "create-react-app", - Gridsome: "gridsome", - Umijs: "umijs", - Sapper: "sapper", - Saber: "saber", - Stencil: "stencil", - Nuxtjs: "nuxtjs", - Redwoodjs: "redwoodjs", - Hugo: "hugo", - Jekyll: "jekyll", - Brunch: "brunch", - Middleman: "middleman", - Zola: "zola", - Hydrogen: "hydrogen", - Vite: "vite", - Vitepress: "vitepress", - Vuepress: "vuepress", - Parcel: "parcel", - Fasthtml: "fasthtml", - SanityV3: "sanity-v3", - Sanity: "sanity", - Storybook: "storybook", -} as const; -export type CreateProjectProjectsFramework = ClosedEnum< - typeof CreateProjectProjectsFramework ->; - -export type CreateProjectIpBuckets = { - bucket: string; - supportUntil?: number | undefined; -}; - -export type CreateProjectAliasAssigned = number | boolean; - -export type CreateProjectAliasError = { - code: string; - message: string; -}; - -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType = - { - EndsWith: "endsWith", - StartsWith: "startsWith", - Equals: "equals", - } as const; -export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType = - ClosedEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType - >; - -export type CreateProjectBranchMatcher = { - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType; - pattern: string; -}; - -export type CreateProjectBuilds = { - use: string; - src?: string | undefined; - dest?: string | undefined; -}; - -export const CreateProjectChecksConclusion = { - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", - Canceled: "canceled", -} as const; -export type CreateProjectChecksConclusion = ClosedEnum< - typeof CreateProjectChecksConclusion ->; - -export const CreateProjectChecksState = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type CreateProjectChecksState = ClosedEnum< - typeof CreateProjectChecksState ->; - -export type CreateProjectCreator = { - email: string; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; - uid: string; - username: string; -}; - -export type CreateProjectOidcTokenClaims = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - ownerId: string; - project: string; - projectId: string; - environment: string; -}; - -export const CreateProjectPlan = { - Pro: "pro", - Enterprise: "enterprise", - Hobby: "hobby", -} as const; -export type CreateProjectPlan = ClosedEnum; - -export const CreateProjectReadyState = { - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Queued: "QUEUED", - Ready: "READY", - Canceled: "CANCELED", -} as const; -export type CreateProjectReadyState = ClosedEnum< - typeof CreateProjectReadyState ->; - -export const CreateProjectReadySubstate = { - Staged: "STAGED", - Promoted: "PROMOTED", -} as const; -export type CreateProjectReadySubstate = ClosedEnum< - typeof CreateProjectReadySubstate ->; - -export const CreateProjectProjectsResponse200Type = { - Lambdas: "LAMBDAS", -} as const; -export type CreateProjectProjectsResponse200Type = ClosedEnum< - typeof CreateProjectProjectsResponse200Type ->; - -export type CreateProjectLatestDeployments = { - id: string; - alias?: Array | undefined; - aliasAssigned?: number | boolean | null | undefined; - aliasError?: CreateProjectAliasError | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - branchMatcher?: CreateProjectBranchMatcher | undefined; - buildingAt?: number | undefined; - builds?: Array | undefined; - checksConclusion?: CreateProjectChecksConclusion | undefined; - checksState?: CreateProjectChecksState | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdAt: number; - createdIn: string; - creator: CreateProjectCreator | null; - deletedAt?: number | undefined; - deploymentHostname: string; - forced?: boolean | undefined; - name: string; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - oidcTokenClaims?: CreateProjectOidcTokenClaims | undefined; - plan: CreateProjectPlan; - /** - * Whether or not preview comments are enabled for the deployment - */ - previewCommentsEnabled?: boolean | undefined; - private: boolean; - readyAt?: number | undefined; - readyState: CreateProjectReadyState; - readySubstate?: CreateProjectReadySubstate | undefined; - requestedAt?: number | undefined; - target?: string | null | undefined; - teamId?: string | null | undefined; - type: CreateProjectProjectsResponse200Type; - url: string; - userId: string; - withCache?: boolean | undefined; -}; - -export const CreateProjectLinkProjectsResponseType = { - Bitbucket: "bitbucket", -} as const; -export type CreateProjectLinkProjectsResponseType = ClosedEnum< - typeof CreateProjectLinkProjectsResponseType ->; - -export type CreateProjectLinkProjectsResponseDeployHooks = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -export type CreateProjectLink3 = { - name?: string | undefined; - slug?: string | undefined; - owner?: string | undefined; - type?: CreateProjectLinkProjectsResponseType | undefined; - uuid?: string | undefined; - workspaceUuid?: string | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -export const CreateProjectLinkProjectsType = { - Gitlab: "gitlab", -} as const; -export type CreateProjectLinkProjectsType = ClosedEnum< - typeof CreateProjectLinkProjectsType ->; - -export type CreateProjectLinkProjectsDeployHooks = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -export type CreateProjectLink2 = { - projectId?: string | undefined; - projectName?: string | undefined; - projectNameWithNamespace?: string | undefined; - projectNamespace?: string | undefined; - /** - * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. This is the id of the top level group that a namespace belongs to. Gitlab supports group nesting (up to 20 levels). - */ - projectOwnerId?: number | undefined; - projectUrl?: string | undefined; - type?: CreateProjectLinkProjectsType | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -export const CreateProjectLinkType = { - Github: "github", -} as const; -export type CreateProjectLinkType = ClosedEnum; - -export type CreateProjectLinkDeployHooks = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -export type CreateProjectLink1 = { - org?: string | undefined; - /** - * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. - */ - repoOwnerId?: number | undefined; - repo?: string | undefined; - repoId?: number | undefined; - type?: CreateProjectLinkType | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -export type CreateProjectLink = - | CreateProjectLink1 - | CreateProjectLink3 - | CreateProjectLink2; - -export type CreateProjectMicrofrontends = { - /** - * Timestamp when the microfrontends settings were last updated. - */ - updatedAt: number; - /** - * The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. - */ - groupIds: Array; - /** - * Whether microfrontends are enabled for this project. - */ - enabled: boolean; - /** - * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. - */ - isDefaultApp?: boolean | undefined; - /** - * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. - */ - defaultRoute?: string | undefined; -}; - -export const CreateProjectNodeVersion = { - TwentyTwoX: "22.x", - TwentyX: "20.x", - EighteenX: "18.x", - SixteenX: "16.x", - FourteenX: "14.x", - TwelveX: "12.x", - TenX: "10.x", - Eight10X: "8.10.x", -} as const; -export type CreateProjectNodeVersion = ClosedEnum< - typeof CreateProjectNodeVersion ->; - -export type CreateProjectPaths = { - value: string; -}; - -export type CreateProjectOptionsAllowlist = { - paths: Array; -}; - -export type CreateProjectPasswordProtection = {}; - -export const CreateProjectFunctionDefaultMemoryType = { - StandardLegacy: "standard_legacy", - Standard: "standard", - Performance: "performance", -} as const; -export type CreateProjectFunctionDefaultMemoryType = ClosedEnum< - typeof CreateProjectFunctionDefaultMemoryType ->; - -export type CreateProjectResourceConfig = { - functionDefaultTimeout?: number | undefined; - functionDefaultMemoryType?: - | CreateProjectFunctionDefaultMemoryType - | undefined; - allowServerlessConcurrency?: boolean | undefined; - elasticConcurrencyEnabled?: boolean | undefined; -}; - -export const CreateProjectDeploymentType = { - Preview: "preview", - All: "all", - ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", -} as const; -export type CreateProjectDeploymentType = ClosedEnum< - typeof CreateProjectDeploymentType ->; - -export type CreateProjectSsoProtection = { - deploymentType: CreateProjectDeploymentType; -}; - -export type CreateProjectProjectsAliasAssigned = number | boolean; - -export type CreateProjectProjectsAliasError = { - code: string; - message: string; -}; - -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType = - { - EndsWith: "endsWith", - StartsWith: "startsWith", - Equals: "equals", - } as const; -export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType = - ClosedEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType - >; - -export type CreateProjectProjectsBranchMatcher = { - type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType; - pattern: string; -}; - -export type CreateProjectProjectsBuilds = { - use: string; - src?: string | undefined; - dest?: string | undefined; -}; - -export const CreateProjectProjectsChecksConclusion = { - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", - Canceled: "canceled", -} as const; -export type CreateProjectProjectsChecksConclusion = ClosedEnum< - typeof CreateProjectProjectsChecksConclusion ->; - -export const CreateProjectProjectsChecksState = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type CreateProjectProjectsChecksState = ClosedEnum< - typeof CreateProjectProjectsChecksState ->; - -export type CreateProjectProjectsCreator = { - email: string; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; - uid: string; - username: string; -}; - -export type CreateProjectProjectsOidcTokenClaims = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - ownerId: string; - project: string; - projectId: string; - environment: string; -}; - -export const CreateProjectProjectsPlan = { - Pro: "pro", - Enterprise: "enterprise", - Hobby: "hobby", -} as const; -export type CreateProjectProjectsPlan = ClosedEnum< - typeof CreateProjectProjectsPlan ->; - -export const CreateProjectProjectsReadyState = { - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Queued: "QUEUED", - Ready: "READY", - Canceled: "CANCELED", -} as const; -export type CreateProjectProjectsReadyState = ClosedEnum< - typeof CreateProjectProjectsReadyState ->; - -export const CreateProjectProjectsReadySubstate = { - Staged: "STAGED", - Promoted: "PROMOTED", -} as const; -export type CreateProjectProjectsReadySubstate = ClosedEnum< - typeof CreateProjectProjectsReadySubstate ->; - -export const CreateProjectProjectsResponse200ApplicationJSONType = { - Lambdas: "LAMBDAS", -} as const; -export type CreateProjectProjectsResponse200ApplicationJSONType = ClosedEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONType ->; - -export type CreateProjectTargets = { - id: string; - alias?: Array | undefined; - aliasAssigned?: number | boolean | null | undefined; - aliasError?: CreateProjectProjectsAliasError | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - branchMatcher?: CreateProjectProjectsBranchMatcher | undefined; - buildingAt?: number | undefined; - builds?: Array | undefined; - checksConclusion?: CreateProjectProjectsChecksConclusion | undefined; - checksState?: CreateProjectProjectsChecksState | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdAt: number; - createdIn: string; - creator: CreateProjectProjectsCreator | null; - deletedAt?: number | undefined; - deploymentHostname: string; - forced?: boolean | undefined; - name: string; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - oidcTokenClaims?: CreateProjectProjectsOidcTokenClaims | undefined; - plan: CreateProjectProjectsPlan; - /** - * Whether or not preview comments are enabled for the deployment - */ - previewCommentsEnabled?: boolean | undefined; - private: boolean; - readyAt?: number | undefined; - readyState: CreateProjectProjectsReadyState; - readySubstate?: CreateProjectProjectsReadySubstate | undefined; - requestedAt?: number | undefined; - target?: string | null | undefined; - teamId?: string | null | undefined; - type: CreateProjectProjectsResponse200ApplicationJSONType; - url: string; - userId: string; - withCache?: boolean | undefined; -}; - -export type CreateProjectPermissions = { - accessGroup?: Array | undefined; - aliasGlobal?: Array | undefined; - analyticsSampling?: Array | undefined; - analyticsUsage?: Array | undefined; - auditLog?: Array | undefined; - billingAddress?: Array | undefined; - billingInformation?: Array | undefined; - billingInvoice?: Array | undefined; - billingInvoiceEmailRecipient?: Array | undefined; - billingInvoiceLanguage?: Array | undefined; - billingPlan?: Array | undefined; - billingPurchaseOrder?: Array | undefined; - billingTaxId?: Array | undefined; - blob?: Array | undefined; - budget?: Array | undefined; - cacheArtifact?: Array | undefined; - cacheArtifactUsageEvent?: Array | undefined; - codeChecks?: Array | undefined; - concurrentBuilds?: Array | undefined; - connect?: Array | undefined; - connectConfiguration?: Array | undefined; - domain?: Array | undefined; - domainAcceptDelegation?: Array | undefined; - domainAuthCodes?: Array | undefined; - domainCertificate?: Array | undefined; - domainCheckConfig?: Array | undefined; - domainMove?: Array | undefined; - domainPurchase?: Array | undefined; - domainRecord?: Array | undefined; - domainTransferIn?: Array | undefined; - event?: Array | undefined; - ownEvent?: Array | undefined; - sensitiveEnvironmentVariablePolicy?: Array | undefined; - fileUpload?: Array | undefined; - gitRepository?: Array | undefined; - ipBlocking?: Array | undefined; - integration?: Array | undefined; - integrationAccount?: Array | undefined; - integrationConfiguration?: Array | undefined; - integrationConfigurationTransfer?: Array | undefined; - integrationConfigurationProjects?: Array | undefined; - integrationVercelConfigurationOverride?: Array | undefined; - integrationConfigurationRole?: Array | undefined; - integrationResource?: Array | undefined; - integrationEvent?: Array | undefined; - integrationResourceSecrets?: Array | undefined; - integrationDeploymentAction?: Array | undefined; - marketplaceInstallationMember?: Array | undefined; - marketplaceBillingData?: Array | undefined; - marketplaceInvoice?: Array | undefined; - jobGlobal?: Array | undefined; - logDrain?: Array | undefined; - monitoring?: Array | undefined; - monitoringSettings?: Array | undefined; - monitoringQuery?: Array | undefined; - monitoringChart?: Array | undefined; - monitoringAlert?: Array | undefined; - notificationDeploymentFailed?: Array | undefined; - notificationDomainConfiguration?: Array | undefined; - notificationDomainExpire?: Array | undefined; - notificationDomainMoved?: Array | undefined; - notificationDomainPurchase?: Array | undefined; - notificationDomainRenewal?: Array | undefined; - notificationDomainTransfer?: Array | undefined; - notificationDomainUnverified?: Array | undefined; - notificationMonitoringAlert?: Array | undefined; - notificationPaymentFailed?: Array | undefined; - notificationUsageAlert?: Array | undefined; - notificationCustomerBudget?: Array | undefined; - notificationStatementOfReasons?: Array | undefined; - oauth2Connection?: Array | undefined; - observabilityConfiguration?: Array | undefined; - openTelemetryEndpoint?: Array | undefined; - paymentMethod?: Array | undefined; - permissions?: Array | undefined; - postgres?: Array | undefined; - previewDeploymentSuffix?: Array | undefined; - proTrialOnboarding?: Array | undefined; - sharedEnvVars?: Array | undefined; - sharedEnvVarsProduction?: Array | undefined; - space?: Array | undefined; - spaceRun?: Array | undefined; - passwordProtectionInvoiceItem?: Array | undefined; - rateLimit?: Array | undefined; - redis?: Array | undefined; - repository?: Array | undefined; - remoteCaching?: Array | undefined; - samlConfig?: Array | undefined; - secret?: Array | undefined; - redisStoreTokenSet?: Array | undefined; - blobStoreTokenSet?: Array | undefined; - postgresStoreTokenSet?: Array | undefined; - integrationStoreTokenSet?: Array | undefined; - integrationResourceReplCommand?: Array | undefined; - storeTransfer?: Array | undefined; - supportCase?: Array | undefined; - supportCaseComment?: Array | undefined; - dataCacheBillingSettings?: Array | undefined; - team?: Array | undefined; - teamAccessRequest?: Array | undefined; - teamFellowMembership?: Array | undefined; - teamGitExclusivity?: Array | undefined; - teamInvite?: Array | undefined; - teamInviteCode?: Array | undefined; - teamJoin?: Array | undefined; - teamMicrofrontends?: Array | undefined; - teamOwnMembership?: Array | undefined; - teamOwnMembershipDisconnectSAML?: Array | undefined; - token?: Array | undefined; - usage?: Array | undefined; - usageCycle?: Array | undefined; - user?: Array | undefined; - userConnection?: Array | undefined; - vpcPeeringConnection?: Array | undefined; - webAnalyticsPlan?: Array | undefined; - webAuthn?: Array | undefined; - edgeConfig?: Array | undefined; - edgeConfigItem?: Array | undefined; - edgeConfigSchema?: Array | undefined; - edgeConfigToken?: Array | undefined; - webhook?: Array | undefined; - webhookEvent?: Array | undefined; - endpointVerification?: Array | undefined; - projectTransferIn?: Array | undefined; - oauth2Application?: Array | undefined; - aliasProject?: Array | undefined; - aliasProtectionBypass?: Array | undefined; - productionAliasProtectionBypass?: Array | undefined; - connectConfigurationLink?: Array | undefined; - dataCacheNamespace?: Array | undefined; - deployment?: Array | undefined; - deploymentCheck?: Array | undefined; - deploymentCheckPreview?: Array | undefined; - deploymentCheckReRunFromProductionBranch?: Array | undefined; - deploymentProductionGit?: Array | undefined; - deploymentV0?: Array | undefined; - deploymentPreview?: Array | undefined; - deploymentPrivate?: Array | undefined; - deploymentPromote?: Array | undefined; - deploymentRollback?: Array | undefined; - environments?: Array | undefined; - logs?: Array | undefined; - logsPreset?: Array | undefined; - passwordProtection?: Array | undefined; - optionsAllowlist?: Array | undefined; - job?: Array | undefined; - observabilityData?: Array | undefined; - project?: Array | undefined; - projectFromV0?: Array | undefined; - projectAccessGroup?: Array | undefined; - projectAnalyticsSampling?: Array | undefined; - projectDeploymentHook?: Array | undefined; - projectDomain?: Array | undefined; - projectDomainMove?: Array | undefined; - projectDomainCheckConfig?: Array | undefined; - projectEnvVars?: Array | undefined; - projectEnvVarsProduction?: Array | undefined; - projectEnvVarsUnownedByIntegration?: Array | undefined; - projectFlags?: Array | undefined; - projectId?: Array | undefined; - projectIntegrationConfiguration?: Array | undefined; - projectLink?: Array | undefined; - projectMember?: Array | undefined; - projectMonitoring?: Array | undefined; - projectPermissions?: Array | undefined; - projectProductionBranch?: Array | undefined; - projectTransfer?: Array | undefined; - projectTransferOut?: Array | undefined; - projectProtectionBypass?: Array | undefined; - projectUsage?: Array | undefined; - projectAnalyticsUsage?: Array | undefined; - projectSupportCase?: Array | undefined; - projectSupportCaseComment?: Array | undefined; - projectDeploymentExpiration?: Array | undefined; - projectTier?: Array | undefined; - seawallConfig?: Array | undefined; - skewProtection?: Array | undefined; - analytics?: Array | undefined; - trustedIps?: Array | undefined; - webAnalytics?: Array | undefined; - sharedEnvVarConnection?: Array | undefined; - sonar?: Array | undefined; -}; - -export type CreateProjectLastRollbackTarget = {}; - -export const CreateProjectJobStatus = { - Pending: "pending", - InProgress: "in-progress", - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", -} as const; -export type CreateProjectJobStatus = ClosedEnum; - -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType = { - Promote: "promote", - Rollback: "rollback", -} as const; -export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyType = - ClosedEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType - >; - -export type CreateProjectLastAliasRequest = { - fromDeploymentId: string; - toDeploymentId: string; - jobStatus: CreateProjectJobStatus; - requestedAt: number; - type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyType; -}; - -export const CreateProjectScope = { - AutomationBypass: "automation-bypass", -} as const; -export type CreateProjectScope = ClosedEnum; - -export type CreateProjectProtectionBypass = { - createdAt: number; - createdBy: string; - scope: CreateProjectScope; -}; - -export const CreateProjectTrustedIpsProjectsDeploymentType = { - Production: "production", - Preview: "preview", - All: "all", - ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", -} as const; -export type CreateProjectTrustedIpsProjectsDeploymentType = ClosedEnum< - typeof CreateProjectTrustedIpsProjectsDeploymentType ->; - -export type CreateProjectTrustedIps2 = { - deploymentType: CreateProjectTrustedIpsProjectsDeploymentType; -}; - -export const CreateProjectTrustedIpsDeploymentType = { - Production: "production", - Preview: "preview", - All: "all", - ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", -} as const; -export type CreateProjectTrustedIpsDeploymentType = ClosedEnum< - typeof CreateProjectTrustedIpsDeploymentType ->; - -export type TrustedIpsAddresses = { - value: string; - note?: string | undefined; -}; - -export const TrustedIpsProtectionMode = { - Additional: "additional", - Exclusive: "exclusive", -} as const; -export type TrustedIpsProtectionMode = ClosedEnum< - typeof TrustedIpsProtectionMode ->; - -export type CreateProjectTrustedIps1 = { - deploymentType: CreateProjectTrustedIpsDeploymentType; - addresses: Array; - protectionMode: TrustedIpsProtectionMode; -}; - -export type CreateProjectTrustedIps = - | CreateProjectTrustedIps2 - | CreateProjectTrustedIps1; - -export type CreateProjectGitComments = { - /** - * Whether the Vercel bot should comment on PRs - */ - onPullRequest: boolean; - /** - * Whether the Vercel bot should comment on commits - */ - onCommit: boolean; -}; - -export type CreateProjectWebAnalytics = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; -}; - -export type CreateProjectSrc2 = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -export type CreateProjectSrc = CreateProjectSrc2 | string; - -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType = - { - Path: "path", - Host: "host", - Method: "method", - Header: "header", - Cookie: "cookie", - Query: "query", - IpAddress: "ip_address", - Protocol: "protocol", - Scheme: "scheme", - Environment: "environment", - Region: "region", - } as const; -export type CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType = - ClosedEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType - >; - -export type CreateProjectValue2 = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -export type CreateProjectValue = CreateProjectValue2 | string; - -export type CreateProjectHas = { - type: CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType; - key?: string | undefined; - value?: CreateProjectValue2 | string | undefined; -}; - -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = - { - Path: "path", - Host: "host", - Method: "method", - Header: "header", - Cookie: "cookie", - Query: "query", - IpAddress: "ip_address", - Protocol: "protocol", - Scheme: "scheme", - Environment: "environment", - Region: "region", - } as const; -export type CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = - ClosedEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType - >; - -export type CreateProjectValueProjects2 = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -export type CreateProjectProjectsValue = CreateProjectValueProjects2 | string; - -export type CreateProjectMissing = { - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType; - key?: string | undefined; - value?: CreateProjectValueProjects2 | string | undefined; -}; - -export const CreateProjectHandle = { - Init: "init", - Finalize: "finalize", -} as const; -export type CreateProjectHandle = ClosedEnum; - -export const CreateProjectAction = { - Deny: "deny", - Challenge: "challenge", - Log: "log", - Bypass: "bypass", - RateLimit: "rate_limit", - Redirect: "redirect", -} as const; -export type CreateProjectAction = ClosedEnum; - -export const CreateProjectAlgo = { - FixedWindow: "fixed_window", - TokenBucket: "token_bucket", -} as const; -export type CreateProjectAlgo = ClosedEnum; - -export type CreateProjectErl = { - algo: CreateProjectAlgo; - window: number; - limit: number; - keys: Array; -}; - -export type CreateProjectMitigate = { - action: CreateProjectAction; - ruleId: string; - ttl?: number | undefined; - erl?: CreateProjectErl | undefined; -}; - -export type CreateProjectFirewallRoutes = { - src?: CreateProjectSrc2 | string | undefined; - has?: Array | undefined; - missing?: Array | undefined; - dest?: string | undefined; - status?: number | undefined; - handle?: CreateProjectHandle | undefined; - mitigate?: CreateProjectMitigate | undefined; -}; - -export type CreateProjectSecurity = { - attackModeEnabled?: boolean | undefined; - attackModeUpdatedAt?: number | undefined; - firewallEnabled?: boolean | undefined; - firewallUpdatedAt?: number | undefined; - attackModeActiveUntil?: number | null | undefined; - firewallConfigVersion?: number | undefined; - firewallRoutes?: Array | undefined; - firewallSeawallEnabled?: boolean | undefined; - ja3Enabled?: boolean | undefined; - ja4Enabled?: boolean | undefined; - firewallBypassIps?: Array | undefined; -}; - -/** - * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` - */ -export const CreateProjectIssuerMode = { - Team: "team", - Global: "global", -} as const; -/** - * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` - */ -export type CreateProjectIssuerMode = ClosedEnum< - typeof CreateProjectIssuerMode ->; - -export type CreateProjectOidcTokenConfig = { - enabled: boolean; - /** - * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` - */ - issuerMode?: CreateProjectIssuerMode | undefined; -}; - -export const CreateProjectTier = { - Standard: "standard", - Advanced: "advanced", - Critical: "critical", -} as const; -export type CreateProjectTier = ClosedEnum; - -/** - * The project was successfuly created - */ -export type CreateProjectResponseBody = { - accountId: string; - analytics?: CreateProjectAnalytics | undefined; - speedInsights?: CreateProjectSpeedInsights | undefined; - autoExposeSystemEnvs?: boolean | undefined; - autoAssignCustomDomains?: boolean | undefined; - autoAssignCustomDomainsUpdatedBy?: string | undefined; - buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - connectConfigurationId?: string | null | undefined; - connectBuildsEnabled?: boolean | undefined; - createdAt?: number | undefined; - customerSupportCodeVisibility?: boolean | undefined; - crons?: CreateProjectCrons | undefined; - dataCache?: CreateProjectDataCache | undefined; - deploymentExpiration?: CreateProjectDeploymentExpiration | null | undefined; - devCommand?: string | null | undefined; - directoryListing: boolean; - installCommand?: string | null | undefined; - env?: Array | undefined; - customEnvironments?: Array | undefined; - framework?: CreateProjectProjectsFramework | null | undefined; - gitForkProtection?: boolean | undefined; - gitLFS?: boolean | undefined; - id: string; - ipBuckets?: Array | undefined; - latestDeployments?: Array | undefined; - link?: - | CreateProjectLink1 - | CreateProjectLink3 - | CreateProjectLink2 - | undefined; - microfrontends?: CreateProjectMicrofrontends | undefined; - name: string; - nodeVersion: CreateProjectNodeVersion; - optionsAllowlist?: CreateProjectOptionsAllowlist | null | undefined; - outputDirectory?: string | null | undefined; - passiveConnectConfigurationId?: string | null | undefined; - passwordProtection?: CreateProjectPasswordProtection | null | undefined; - productionDeploymentsFastLane?: boolean | undefined; - publicSource?: boolean | null | undefined; - resourceConfig?: CreateProjectResourceConfig | undefined; - rootDirectory?: string | null | undefined; - serverlessFunctionRegion?: string | null | undefined; - serverlessFunctionZeroConfigFailover?: boolean | undefined; - skewProtectionBoundaryAt?: number | undefined; - skewProtectionMaxAge?: number | undefined; - skipGitConnectDuringLink?: boolean | undefined; - sourceFilesOutsideRootDirectory?: boolean | undefined; - enableAffectedProjectsDeployments?: boolean | undefined; - ssoProtection?: CreateProjectSsoProtection | null | undefined; - targets?: { [k: string]: CreateProjectTargets } | undefined; - transferCompletedAt?: number | undefined; - transferStartedAt?: number | undefined; - transferToAccountId?: string | undefined; - transferredFromAccountId?: string | undefined; - updatedAt?: number | undefined; - live?: boolean | undefined; - enablePreviewFeedback?: boolean | null | undefined; - enableProductionFeedback?: boolean | null | undefined; - permissions?: CreateProjectPermissions | undefined; - lastRollbackTarget?: CreateProjectLastRollbackTarget | null | undefined; - lastAliasRequest?: CreateProjectLastAliasRequest | null | undefined; - hasFloatingAliases?: boolean | undefined; - protectionBypass?: { [k: string]: CreateProjectProtectionBypass } | undefined; - hasActiveBranches?: boolean | undefined; - trustedIps?: - | CreateProjectTrustedIps2 - | CreateProjectTrustedIps1 - | null - | undefined; - gitComments?: CreateProjectGitComments | undefined; - paused?: boolean | undefined; - concurrencyBucketName?: string | undefined; - webAnalytics?: CreateProjectWebAnalytics | undefined; - security?: CreateProjectSecurity | undefined; - oidcTokenConfig?: CreateProjectOidcTokenConfig | undefined; - tier?: CreateProjectTier | undefined; -}; - -/** @internal */ -export const Target2$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Target2); - -/** @internal */ -export const Target2$outboundSchema: z.ZodNativeEnum = - Target2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Target2$ { - /** @deprecated use `Target2$inboundSchema` instead. */ - export const inboundSchema = Target2$inboundSchema; - /** @deprecated use `Target2$outboundSchema` instead. */ - export const outboundSchema = Target2$outboundSchema; -} - -/** @internal */ -export const Target1$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Target1); - -/** @internal */ -export const Target1$outboundSchema: z.ZodNativeEnum = - Target1$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Target1$ { - /** @deprecated use `Target1$inboundSchema` instead. */ - export const inboundSchema = Target1$inboundSchema; - /** @deprecated use `Target1$outboundSchema` instead. */ - export const outboundSchema = Target1$outboundSchema; -} - -/** @internal */ -export const CreateProjectTarget$inboundSchema: z.ZodType< - CreateProjectTarget, - z.ZodTypeDef, - unknown -> = z.union([Target1$inboundSchema, z.array(Target2$inboundSchema)]); - -/** @internal */ -export type CreateProjectTarget$Outbound = string | Array; - -/** @internal */ -export const CreateProjectTarget$outboundSchema: z.ZodType< - CreateProjectTarget$Outbound, - z.ZodTypeDef, - CreateProjectTarget -> = z.union([Target1$outboundSchema, z.array(Target2$outboundSchema)]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectTarget$ { - /** @deprecated use `CreateProjectTarget$inboundSchema` instead. */ - export const inboundSchema = CreateProjectTarget$inboundSchema; - /** @deprecated use `CreateProjectTarget$outboundSchema` instead. */ - export const outboundSchema = CreateProjectTarget$outboundSchema; - /** @deprecated use `CreateProjectTarget$Outbound` instead. */ - export type Outbound = CreateProjectTarget$Outbound; -} - -export function createProjectTargetToJSON( - createProjectTarget: CreateProjectTarget, -): string { - return JSON.stringify( - CreateProjectTarget$outboundSchema.parse(createProjectTarget), - ); -} - -export function createProjectTargetFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectTarget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectTarget' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectType$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectType -> = z.nativeEnum(CreateProjectType); - -/** @internal */ -export const CreateProjectType$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectType -> = CreateProjectType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectType$ { - /** @deprecated use `CreateProjectType$inboundSchema` instead. */ - export const inboundSchema = CreateProjectType$inboundSchema; - /** @deprecated use `CreateProjectType$outboundSchema` instead. */ - export const outboundSchema = CreateProjectType$outboundSchema; -} - -/** @internal */ -export const EnvironmentVariables$inboundSchema: z.ZodType< - EnvironmentVariables, - z.ZodTypeDef, - unknown -> = z.object({ - key: z.string(), - target: z.union([Target1$inboundSchema, z.array(Target2$inboundSchema)]), - gitBranch: z.string().optional(), - type: CreateProjectType$inboundSchema.optional(), - value: z.string(), -}); - -/** @internal */ -export type EnvironmentVariables$Outbound = { - key: string; - target: string | Array; - gitBranch?: string | undefined; - type?: string | undefined; - value: string; -}; - -/** @internal */ -export const EnvironmentVariables$outboundSchema: z.ZodType< - EnvironmentVariables$Outbound, - z.ZodTypeDef, - EnvironmentVariables -> = z.object({ - key: z.string(), - target: z.union([Target1$outboundSchema, z.array(Target2$outboundSchema)]), - gitBranch: z.string().optional(), - type: CreateProjectType$outboundSchema.optional(), - value: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EnvironmentVariables$ { - /** @deprecated use `EnvironmentVariables$inboundSchema` instead. */ - export const inboundSchema = EnvironmentVariables$inboundSchema; - /** @deprecated use `EnvironmentVariables$outboundSchema` instead. */ - export const outboundSchema = EnvironmentVariables$outboundSchema; - /** @deprecated use `EnvironmentVariables$Outbound` instead. */ - export type Outbound = EnvironmentVariables$Outbound; -} - -export function environmentVariablesToJSON( - environmentVariables: EnvironmentVariables, -): string { - return JSON.stringify( - EnvironmentVariables$outboundSchema.parse(environmentVariables), - ); -} - -export function environmentVariablesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EnvironmentVariables$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EnvironmentVariables' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectFramework$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectFramework -> = z.nativeEnum(CreateProjectFramework); - -/** @internal */ -export const CreateProjectFramework$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectFramework -> = CreateProjectFramework$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectFramework$ { - /** @deprecated use `CreateProjectFramework$inboundSchema` instead. */ - export const inboundSchema = CreateProjectFramework$inboundSchema; - /** @deprecated use `CreateProjectFramework$outboundSchema` instead. */ - export const outboundSchema = CreateProjectFramework$outboundSchema; -} - -/** @internal */ -export const CreateProjectProjectsType$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectProjectsType -> = z.nativeEnum(CreateProjectProjectsType); - -/** @internal */ -export const CreateProjectProjectsType$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectProjectsType -> = CreateProjectProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsType$ { - /** @deprecated use `CreateProjectProjectsType$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProjectsType$inboundSchema; - /** @deprecated use `CreateProjectProjectsType$outboundSchema` instead. */ - export const outboundSchema = CreateProjectProjectsType$outboundSchema; -} - -/** @internal */ -export const GitRepository$inboundSchema: z.ZodType< - GitRepository, - z.ZodTypeDef, - unknown -> = z.object({ - repo: z.string(), - type: CreateProjectProjectsType$inboundSchema, -}); - -/** @internal */ -export type GitRepository$Outbound = { - repo: string; - type: string; -}; - -/** @internal */ -export const GitRepository$outboundSchema: z.ZodType< - GitRepository$Outbound, - z.ZodTypeDef, - GitRepository -> = z.object({ - repo: z.string(), - type: CreateProjectProjectsType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitRepository$ { - /** @deprecated use `GitRepository$inboundSchema` instead. */ - export const inboundSchema = GitRepository$inboundSchema; - /** @deprecated use `GitRepository$outboundSchema` instead. */ - export const outboundSchema = GitRepository$outboundSchema; - /** @deprecated use `GitRepository$Outbound` instead. */ - export type Outbound = GitRepository$Outbound; -} - -export function gitRepositoryToJSON(gitRepository: GitRepository): string { - return JSON.stringify(GitRepository$outboundSchema.parse(gitRepository)); -} - -export function gitRepositoryFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitRepository$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitRepository' from JSON`, - ); -} - -/** @internal */ -export const IssuerMode$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(IssuerMode); - -/** @internal */ -export const IssuerMode$outboundSchema: z.ZodNativeEnum = - IssuerMode$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace IssuerMode$ { - /** @deprecated use `IssuerMode$inboundSchema` instead. */ - export const inboundSchema = IssuerMode$inboundSchema; - /** @deprecated use `IssuerMode$outboundSchema` instead. */ - export const outboundSchema = IssuerMode$outboundSchema; -} - -/** @internal */ -export const OidcTokenConfig$inboundSchema: z.ZodType< - OidcTokenConfig, - z.ZodTypeDef, - unknown -> = z.object({ - enabled: z.boolean(), - issuerMode: IssuerMode$inboundSchema.default("global"), -}); - -/** @internal */ -export type OidcTokenConfig$Outbound = { - enabled: boolean; - issuerMode: string; -}; - -/** @internal */ -export const OidcTokenConfig$outboundSchema: z.ZodType< - OidcTokenConfig$Outbound, - z.ZodTypeDef, - OidcTokenConfig -> = z.object({ - enabled: z.boolean(), - issuerMode: IssuerMode$outboundSchema.default("global"), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OidcTokenConfig$ { - /** @deprecated use `OidcTokenConfig$inboundSchema` instead. */ - export const inboundSchema = OidcTokenConfig$inboundSchema; - /** @deprecated use `OidcTokenConfig$outboundSchema` instead. */ - export const outboundSchema = OidcTokenConfig$outboundSchema; - /** @deprecated use `OidcTokenConfig$Outbound` instead. */ - export type Outbound = OidcTokenConfig$Outbound; -} - -export function oidcTokenConfigToJSON( - oidcTokenConfig: OidcTokenConfig, -): string { - return JSON.stringify(OidcTokenConfig$outboundSchema.parse(oidcTokenConfig)); -} - -export function oidcTokenConfigFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => OidcTokenConfig$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OidcTokenConfig' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectRequestBody$inboundSchema: z.ZodType< - CreateProjectRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - devCommand: z.nullable(z.string()).optional(), - environmentVariables: z.array( - z.lazy(() => EnvironmentVariables$inboundSchema), - ).optional(), - framework: CreateProjectFramework$inboundSchema.optional(), - gitRepository: z.lazy(() => GitRepository$inboundSchema).optional(), - installCommand: z.nullable(z.string()).optional(), - name: z.string(), - skipGitConnectDuringLink: z.boolean().optional(), - outputDirectory: z.nullable(z.string()).optional(), - publicSource: z.nullable(z.boolean()).optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - serverlessFunctionZeroConfigFailover: z.boolean().optional(), - oidcTokenConfig: z.lazy(() => OidcTokenConfig$inboundSchema).optional(), - enableAffectedProjectsDeployments: z.boolean().optional(), -}); - -/** @internal */ -export type CreateProjectRequestBody$Outbound = { - buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - devCommand?: string | null | undefined; - environmentVariables?: Array | undefined; - framework?: string | undefined; - gitRepository?: GitRepository$Outbound | undefined; - installCommand?: string | null | undefined; - name: string; - skipGitConnectDuringLink?: boolean | undefined; - outputDirectory?: string | null | undefined; - publicSource?: boolean | null | undefined; - rootDirectory?: string | null | undefined; - serverlessFunctionRegion?: string | null | undefined; - serverlessFunctionZeroConfigFailover?: boolean | undefined; - oidcTokenConfig?: OidcTokenConfig$Outbound | undefined; - enableAffectedProjectsDeployments?: boolean | undefined; -}; - -/** @internal */ -export const CreateProjectRequestBody$outboundSchema: z.ZodType< - CreateProjectRequestBody$Outbound, - z.ZodTypeDef, - CreateProjectRequestBody -> = z.object({ - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - devCommand: z.nullable(z.string()).optional(), - environmentVariables: z.array( - z.lazy(() => EnvironmentVariables$outboundSchema), - ).optional(), - framework: CreateProjectFramework$outboundSchema.optional(), - gitRepository: z.lazy(() => GitRepository$outboundSchema).optional(), - installCommand: z.nullable(z.string()).optional(), - name: z.string(), - skipGitConnectDuringLink: z.boolean().optional(), - outputDirectory: z.nullable(z.string()).optional(), - publicSource: z.nullable(z.boolean()).optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - serverlessFunctionZeroConfigFailover: z.boolean().optional(), - oidcTokenConfig: z.lazy(() => OidcTokenConfig$outboundSchema).optional(), - enableAffectedProjectsDeployments: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectRequestBody$ { - /** @deprecated use `CreateProjectRequestBody$inboundSchema` instead. */ - export const inboundSchema = CreateProjectRequestBody$inboundSchema; - /** @deprecated use `CreateProjectRequestBody$outboundSchema` instead. */ - export const outboundSchema = CreateProjectRequestBody$outboundSchema; - /** @deprecated use `CreateProjectRequestBody$Outbound` instead. */ - export type Outbound = CreateProjectRequestBody$Outbound; -} - -export function createProjectRequestBodyToJSON( - createProjectRequestBody: CreateProjectRequestBody, -): string { - return JSON.stringify( - CreateProjectRequestBody$outboundSchema.parse(createProjectRequestBody), - ); -} - -export function createProjectRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectRequestBody' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectRequest$inboundSchema: z.ZodType< - CreateProjectRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => CreateProjectRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type CreateProjectRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: CreateProjectRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const CreateProjectRequest$outboundSchema: z.ZodType< - CreateProjectRequest$Outbound, - z.ZodTypeDef, - CreateProjectRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateProjectRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectRequest$ { - /** @deprecated use `CreateProjectRequest$inboundSchema` instead. */ - export const inboundSchema = CreateProjectRequest$inboundSchema; - /** @deprecated use `CreateProjectRequest$outboundSchema` instead. */ - export const outboundSchema = CreateProjectRequest$outboundSchema; - /** @deprecated use `CreateProjectRequest$Outbound` instead. */ - export type Outbound = CreateProjectRequest$Outbound; -} - -export function createProjectRequestToJSON( - createProjectRequest: CreateProjectRequest, -): string { - return JSON.stringify( - CreateProjectRequest$outboundSchema.parse(createProjectRequest), - ); -} - -export function createProjectRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectRequest' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectAnalytics$inboundSchema: z.ZodType< - CreateProjectAnalytics, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - canceledAt: z.nullable(z.number()).optional(), - disabledAt: z.number(), - enabledAt: z.number(), - paidAt: z.number().optional(), - sampleRatePercent: z.nullable(z.number()).optional(), - spendLimitInDollars: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type CreateProjectAnalytics$Outbound = { - id: string; - canceledAt?: number | null | undefined; - disabledAt: number; - enabledAt: number; - paidAt?: number | undefined; - sampleRatePercent?: number | null | undefined; - spendLimitInDollars?: number | null | undefined; -}; - -/** @internal */ -export const CreateProjectAnalytics$outboundSchema: z.ZodType< - CreateProjectAnalytics$Outbound, - z.ZodTypeDef, - CreateProjectAnalytics -> = z.object({ - id: z.string(), - canceledAt: z.nullable(z.number()).optional(), - disabledAt: z.number(), - enabledAt: z.number(), - paidAt: z.number().optional(), - sampleRatePercent: z.nullable(z.number()).optional(), - spendLimitInDollars: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectAnalytics$ { - /** @deprecated use `CreateProjectAnalytics$inboundSchema` instead. */ - export const inboundSchema = CreateProjectAnalytics$inboundSchema; - /** @deprecated use `CreateProjectAnalytics$outboundSchema` instead. */ - export const outboundSchema = CreateProjectAnalytics$outboundSchema; - /** @deprecated use `CreateProjectAnalytics$Outbound` instead. */ - export type Outbound = CreateProjectAnalytics$Outbound; -} - -export function createProjectAnalyticsToJSON( - createProjectAnalytics: CreateProjectAnalytics, -): string { - return JSON.stringify( - CreateProjectAnalytics$outboundSchema.parse(createProjectAnalytics), - ); -} - -export function createProjectAnalyticsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectAnalytics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectAnalytics' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectSpeedInsights$inboundSchema: z.ZodType< - CreateProjectSpeedInsights, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - enabledAt: z.number().optional(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - hasData: z.boolean().optional(), - paidAt: z.number().optional(), -}); - -/** @internal */ -export type CreateProjectSpeedInsights$Outbound = { - id: string; - enabledAt?: number | undefined; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - hasData?: boolean | undefined; - paidAt?: number | undefined; -}; - -/** @internal */ -export const CreateProjectSpeedInsights$outboundSchema: z.ZodType< - CreateProjectSpeedInsights$Outbound, - z.ZodTypeDef, - CreateProjectSpeedInsights -> = z.object({ - id: z.string(), - enabledAt: z.number().optional(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - hasData: z.boolean().optional(), - paidAt: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectSpeedInsights$ { - /** @deprecated use `CreateProjectSpeedInsights$inboundSchema` instead. */ - export const inboundSchema = CreateProjectSpeedInsights$inboundSchema; - /** @deprecated use `CreateProjectSpeedInsights$outboundSchema` instead. */ - export const outboundSchema = CreateProjectSpeedInsights$outboundSchema; - /** @deprecated use `CreateProjectSpeedInsights$Outbound` instead. */ - export type Outbound = CreateProjectSpeedInsights$Outbound; -} - -export function createProjectSpeedInsightsToJSON( - createProjectSpeedInsights: CreateProjectSpeedInsights, -): string { - return JSON.stringify( - CreateProjectSpeedInsights$outboundSchema.parse(createProjectSpeedInsights), - ); -} - -export function createProjectSpeedInsightsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectSpeedInsights$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectSpeedInsights' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectDefinitions$inboundSchema: z.ZodType< - CreateProjectDefinitions, - z.ZodTypeDef, - unknown -> = z.object({ - host: z.string(), - path: z.string(), - schedule: z.string(), -}); - -/** @internal */ -export type CreateProjectDefinitions$Outbound = { - host: string; - path: string; - schedule: string; -}; - -/** @internal */ -export const CreateProjectDefinitions$outboundSchema: z.ZodType< - CreateProjectDefinitions$Outbound, - z.ZodTypeDef, - CreateProjectDefinitions -> = z.object({ - host: z.string(), - path: z.string(), - schedule: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectDefinitions$ { - /** @deprecated use `CreateProjectDefinitions$inboundSchema` instead. */ - export const inboundSchema = CreateProjectDefinitions$inboundSchema; - /** @deprecated use `CreateProjectDefinitions$outboundSchema` instead. */ - export const outboundSchema = CreateProjectDefinitions$outboundSchema; - /** @deprecated use `CreateProjectDefinitions$Outbound` instead. */ - export type Outbound = CreateProjectDefinitions$Outbound; -} - -export function createProjectDefinitionsToJSON( - createProjectDefinitions: CreateProjectDefinitions, -): string { - return JSON.stringify( - CreateProjectDefinitions$outboundSchema.parse(createProjectDefinitions), - ); -} - -export function createProjectDefinitionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectDefinitions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectDefinitions' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectCrons$inboundSchema: z.ZodType< - CreateProjectCrons, - z.ZodTypeDef, - unknown -> = z.object({ - enabledAt: z.number(), - disabledAt: z.nullable(z.number()), - updatedAt: z.number(), - deploymentId: z.nullable(z.string()), - definitions: z.array(z.lazy(() => CreateProjectDefinitions$inboundSchema)), -}); - -/** @internal */ -export type CreateProjectCrons$Outbound = { - enabledAt: number; - disabledAt: number | null; - updatedAt: number; - deploymentId: string | null; - definitions: Array; -}; - -/** @internal */ -export const CreateProjectCrons$outboundSchema: z.ZodType< - CreateProjectCrons$Outbound, - z.ZodTypeDef, - CreateProjectCrons -> = z.object({ - enabledAt: z.number(), - disabledAt: z.nullable(z.number()), - updatedAt: z.number(), - deploymentId: z.nullable(z.string()), - definitions: z.array(z.lazy(() => CreateProjectDefinitions$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectCrons$ { - /** @deprecated use `CreateProjectCrons$inboundSchema` instead. */ - export const inboundSchema = CreateProjectCrons$inboundSchema; - /** @deprecated use `CreateProjectCrons$outboundSchema` instead. */ - export const outboundSchema = CreateProjectCrons$outboundSchema; - /** @deprecated use `CreateProjectCrons$Outbound` instead. */ - export type Outbound = CreateProjectCrons$Outbound; -} - -export function createProjectCronsToJSON( - createProjectCrons: CreateProjectCrons, -): string { - return JSON.stringify( - CreateProjectCrons$outboundSchema.parse(createProjectCrons), - ); -} - -export function createProjectCronsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectCrons$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectCrons' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectDataCache$inboundSchema: z.ZodType< - CreateProjectDataCache, - z.ZodTypeDef, - unknown -> = z.object({ - userDisabled: z.boolean(), - storageSizeBytes: z.nullable(z.number()).optional(), - unlimited: z.boolean().optional(), -}); - -/** @internal */ -export type CreateProjectDataCache$Outbound = { - userDisabled: boolean; - storageSizeBytes?: number | null | undefined; - unlimited?: boolean | undefined; -}; - -/** @internal */ -export const CreateProjectDataCache$outboundSchema: z.ZodType< - CreateProjectDataCache$Outbound, - z.ZodTypeDef, - CreateProjectDataCache -> = z.object({ - userDisabled: z.boolean(), - storageSizeBytes: z.nullable(z.number()).optional(), - unlimited: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectDataCache$ { - /** @deprecated use `CreateProjectDataCache$inboundSchema` instead. */ - export const inboundSchema = CreateProjectDataCache$inboundSchema; - /** @deprecated use `CreateProjectDataCache$outboundSchema` instead. */ - export const outboundSchema = CreateProjectDataCache$outboundSchema; - /** @deprecated use `CreateProjectDataCache$Outbound` instead. */ - export type Outbound = CreateProjectDataCache$Outbound; -} - -export function createProjectDataCacheToJSON( - createProjectDataCache: CreateProjectDataCache, -): string { - return JSON.stringify( - CreateProjectDataCache$outboundSchema.parse(createProjectDataCache), - ); -} - -export function createProjectDataCacheFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectDataCache$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectDataCache' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectDeploymentExpiration$inboundSchema: z.ZodType< - CreateProjectDeploymentExpiration, - z.ZodTypeDef, - unknown -> = z.object({ - expirationDays: z.number().optional(), - expirationDaysProduction: z.number().optional(), - expirationDaysCanceled: z.number().optional(), - expirationDaysErrored: z.number().optional(), - deploymentsToKeep: z.number().optional(), -}); - -/** @internal */ -export type CreateProjectDeploymentExpiration$Outbound = { - expirationDays?: number | undefined; - expirationDaysProduction?: number | undefined; - expirationDaysCanceled?: number | undefined; - expirationDaysErrored?: number | undefined; - deploymentsToKeep?: number | undefined; -}; - -/** @internal */ -export const CreateProjectDeploymentExpiration$outboundSchema: z.ZodType< - CreateProjectDeploymentExpiration$Outbound, - z.ZodTypeDef, - CreateProjectDeploymentExpiration -> = z.object({ - expirationDays: z.number().optional(), - expirationDaysProduction: z.number().optional(), - expirationDaysCanceled: z.number().optional(), - expirationDaysErrored: z.number().optional(), - deploymentsToKeep: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectDeploymentExpiration$ { - /** @deprecated use `CreateProjectDeploymentExpiration$inboundSchema` instead. */ - export const inboundSchema = CreateProjectDeploymentExpiration$inboundSchema; - /** @deprecated use `CreateProjectDeploymentExpiration$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectDeploymentExpiration$outboundSchema; - /** @deprecated use `CreateProjectDeploymentExpiration$Outbound` instead. */ - export type Outbound = CreateProjectDeploymentExpiration$Outbound; -} - -export function createProjectDeploymentExpirationToJSON( - createProjectDeploymentExpiration: CreateProjectDeploymentExpiration, -): string { - return JSON.stringify( - CreateProjectDeploymentExpiration$outboundSchema.parse( - createProjectDeploymentExpiration, - ), - ); -} - -export function createProjectDeploymentExpirationFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectDeploymentExpiration$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectDeploymentExpiration' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectTarget2$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectTarget2 -> = z.nativeEnum(CreateProjectTarget2); - -/** @internal */ -export const CreateProjectTarget2$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectTarget2 -> = CreateProjectTarget2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectTarget2$ { - /** @deprecated use `CreateProjectTarget2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectTarget2$inboundSchema; - /** @deprecated use `CreateProjectTarget2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectTarget2$outboundSchema; -} - -/** @internal */ -export const CreateProjectProjectsTarget$inboundSchema: z.ZodType< - CreateProjectProjectsTarget, - z.ZodTypeDef, - unknown -> = z.union([z.array(z.string()), CreateProjectTarget2$inboundSchema]); - -/** @internal */ -export type CreateProjectProjectsTarget$Outbound = Array | string; - -/** @internal */ -export const CreateProjectProjectsTarget$outboundSchema: z.ZodType< - CreateProjectProjectsTarget$Outbound, - z.ZodTypeDef, - CreateProjectProjectsTarget -> = z.union([z.array(z.string()), CreateProjectTarget2$outboundSchema]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsTarget$ { - /** @deprecated use `CreateProjectProjectsTarget$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProjectsTarget$inboundSchema; - /** @deprecated use `CreateProjectProjectsTarget$outboundSchema` instead. */ - export const outboundSchema = CreateProjectProjectsTarget$outboundSchema; - /** @deprecated use `CreateProjectProjectsTarget$Outbound` instead. */ - export type Outbound = CreateProjectProjectsTarget$Outbound; -} - -export function createProjectProjectsTargetToJSON( - createProjectProjectsTarget: CreateProjectProjectsTarget, -): string { - return JSON.stringify( - CreateProjectProjectsTarget$outboundSchema.parse( - createProjectProjectsTarget, - ), - ); -} - -export function createProjectProjectsTargetFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectProjectsTarget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectProjectsTarget' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectProjectsResponseType$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectProjectsResponseType -> = z.nativeEnum(CreateProjectProjectsResponseType); - -/** @internal */ -export const CreateProjectProjectsResponseType$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectProjectsResponseType -> = CreateProjectProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsResponseType$ { - /** @deprecated use `CreateProjectProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProjectsResponseType$inboundSchema; - /** @deprecated use `CreateProjectProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type - > = z.nativeEnum( - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type, - ); - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type - > = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$ { - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema; - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema; -} - -/** @internal */ -export const ContentHint15$inboundSchema: z.ZodType< - ContentHint15, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema, - projectId: z.string(), -}); - -/** @internal */ -export type ContentHint15$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const ContentHint15$outboundSchema: z.ZodType< - ContentHint15$Outbound, - z.ZodTypeDef, - ContentHint15 -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHint15$ { - /** @deprecated use `ContentHint15$inboundSchema` instead. */ - export const inboundSchema = ContentHint15$inboundSchema; - /** @deprecated use `ContentHint15$outboundSchema` instead. */ - export const outboundSchema = ContentHint15$outboundSchema; - /** @deprecated use `ContentHint15$Outbound` instead. */ - export type Outbound = ContentHint15$Outbound; -} - -export function contentHint15ToJSON(contentHint15: ContentHint15): string { - return JSON.stringify(ContentHint15$outboundSchema.parse(contentHint15)); -} - -export function contentHint15FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContentHint15$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContentHint15' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type - > = z.nativeEnum( - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type, - ); - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type - > = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$ { - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema; - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema; -} - -/** @internal */ -export const ContentHint14$inboundSchema: z.ZodType< - ContentHint14, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** @internal */ -export type ContentHint14$Outbound = { - type: string; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -/** @internal */ -export const ContentHint14$outboundSchema: z.ZodType< - ContentHint14$Outbound, - z.ZodTypeDef, - ContentHint14 -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHint14$ { - /** @deprecated use `ContentHint14$inboundSchema` instead. */ - export const inboundSchema = ContentHint14$inboundSchema; - /** @deprecated use `ContentHint14$outboundSchema` instead. */ - export const outboundSchema = ContentHint14$outboundSchema; - /** @deprecated use `ContentHint14$Outbound` instead. */ - export type Outbound = ContentHint14$Outbound; -} - -export function contentHint14ToJSON(contentHint14: ContentHint14): string { - return JSON.stringify(ContentHint14$outboundSchema.parse(contentHint14)); -} - -export function contentHint14FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContentHint14$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContentHint14' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type - > = z.nativeEnum( - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type, - ); - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type - > = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$ { - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema; - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema; -} - -/** @internal */ -export const ContentHint13$inboundSchema: z.ZodType< - ContentHint13, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type ContentHint13$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const ContentHint13$outboundSchema: z.ZodType< - ContentHint13$Outbound, - z.ZodTypeDef, - ContentHint13 -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHint13$ { - /** @deprecated use `ContentHint13$inboundSchema` instead. */ - export const inboundSchema = ContentHint13$inboundSchema; - /** @deprecated use `ContentHint13$outboundSchema` instead. */ - export const outboundSchema = ContentHint13$outboundSchema; - /** @deprecated use `ContentHint13$Outbound` instead. */ - export type Outbound = ContentHint13$Outbound; -} - -export function contentHint13ToJSON(contentHint13: ContentHint13): string { - return JSON.stringify(ContentHint13$outboundSchema.parse(contentHint13)); -} - -export function contentHint13FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContentHint13$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContentHint13' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type - > = z.nativeEnum( - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type, - ); - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type - > = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$ { - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema; - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema; -} - -/** @internal */ -export const ContentHint12$inboundSchema: z.ZodType< - ContentHint12, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type ContentHint12$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const ContentHint12$outboundSchema: z.ZodType< - ContentHint12$Outbound, - z.ZodTypeDef, - ContentHint12 -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHint12$ { - /** @deprecated use `ContentHint12$inboundSchema` instead. */ - export const inboundSchema = ContentHint12$inboundSchema; - /** @deprecated use `ContentHint12$outboundSchema` instead. */ - export const outboundSchema = ContentHint12$outboundSchema; - /** @deprecated use `ContentHint12$Outbound` instead. */ - export type Outbound = ContentHint12$Outbound; -} - -export function contentHint12ToJSON(contentHint12: ContentHint12): string { - return JSON.stringify(ContentHint12$outboundSchema.parse(contentHint12)); -} - -export function contentHint12FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContentHint12$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContentHint12' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type - > = z.nativeEnum( - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type, - ); - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type - > = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$ { - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema; - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema; -} - -/** @internal */ -export const ContentHint11$inboundSchema: z.ZodType< - ContentHint11, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type ContentHint11$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const ContentHint11$outboundSchema: z.ZodType< - ContentHint11$Outbound, - z.ZodTypeDef, - ContentHint11 -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHint11$ { - /** @deprecated use `ContentHint11$inboundSchema` instead. */ - export const inboundSchema = ContentHint11$inboundSchema; - /** @deprecated use `ContentHint11$outboundSchema` instead. */ - export const outboundSchema = ContentHint11$outboundSchema; - /** @deprecated use `ContentHint11$Outbound` instead. */ - export type Outbound = ContentHint11$Outbound; -} - -export function contentHint11ToJSON(contentHint11: ContentHint11): string { - return JSON.stringify(ContentHint11$outboundSchema.parse(contentHint11)); -} - -export function contentHint11FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContentHint11$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContentHint11' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type - > = z.nativeEnum( - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type, - ); - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type - > = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$ { - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema; - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectContentHint10$inboundSchema: z.ZodType< - CreateProjectContentHint10, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectContentHint10$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectContentHint10$outboundSchema: z.ZodType< - CreateProjectContentHint10$Outbound, - z.ZodTypeDef, - CreateProjectContentHint10 -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHint10$ { - /** @deprecated use `CreateProjectContentHint10$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHint10$inboundSchema; - /** @deprecated use `CreateProjectContentHint10$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHint10$outboundSchema; - /** @deprecated use `CreateProjectContentHint10$Outbound` instead. */ - export type Outbound = CreateProjectContentHint10$Outbound; -} - -export function createProjectContentHint10ToJSON( - createProjectContentHint10: CreateProjectContentHint10, -): string { - return JSON.stringify( - CreateProjectContentHint10$outboundSchema.parse(createProjectContentHint10), - ); -} - -export function createProjectContentHint10FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectContentHint10$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectContentHint10' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type - > = z.nativeEnum( - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type, - ); - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type - > = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$ { - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema; - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectContentHint9$inboundSchema: z.ZodType< - CreateProjectContentHint9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectContentHint9$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectContentHint9$outboundSchema: z.ZodType< - CreateProjectContentHint9$Outbound, - z.ZodTypeDef, - CreateProjectContentHint9 -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHint9$ { - /** @deprecated use `CreateProjectContentHint9$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHint9$inboundSchema; - /** @deprecated use `CreateProjectContentHint9$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHint9$outboundSchema; - /** @deprecated use `CreateProjectContentHint9$Outbound` instead. */ - export type Outbound = CreateProjectContentHint9$Outbound; -} - -export function createProjectContentHint9ToJSON( - createProjectContentHint9: CreateProjectContentHint9, -): string { - return JSON.stringify( - CreateProjectContentHint9$outboundSchema.parse(createProjectContentHint9), - ); -} - -export function createProjectContentHint9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectContentHint9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectContentHint9' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type - > = z.nativeEnum( - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type, - ); - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type - > = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$ { - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema; - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectContentHint8$inboundSchema: z.ZodType< - CreateProjectContentHint8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectContentHint8$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectContentHint8$outboundSchema: z.ZodType< - CreateProjectContentHint8$Outbound, - z.ZodTypeDef, - CreateProjectContentHint8 -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHint8$ { - /** @deprecated use `CreateProjectContentHint8$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHint8$inboundSchema; - /** @deprecated use `CreateProjectContentHint8$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHint8$outboundSchema; - /** @deprecated use `CreateProjectContentHint8$Outbound` instead. */ - export type Outbound = CreateProjectContentHint8$Outbound; -} - -export function createProjectContentHint8ToJSON( - createProjectContentHint8: CreateProjectContentHint8, -): string { - return JSON.stringify( - CreateProjectContentHint8$outboundSchema.parse(createProjectContentHint8), - ); -} - -export function createProjectContentHint8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectContentHint8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectContentHint8' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType - > = z.nativeEnum( - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType, - ); - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType - > = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$ { - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema; -} - -/** @internal */ -export const CreateProjectContentHint7$inboundSchema: z.ZodType< - CreateProjectContentHint7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectContentHint7$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectContentHint7$outboundSchema: z.ZodType< - CreateProjectContentHint7$Outbound, - z.ZodTypeDef, - CreateProjectContentHint7 -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHint7$ { - /** @deprecated use `CreateProjectContentHint7$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHint7$inboundSchema; - /** @deprecated use `CreateProjectContentHint7$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHint7$outboundSchema; - /** @deprecated use `CreateProjectContentHint7$Outbound` instead. */ - export type Outbound = CreateProjectContentHint7$Outbound; -} - -export function createProjectContentHint7ToJSON( - createProjectContentHint7: CreateProjectContentHint7, -): string { - return JSON.stringify( - CreateProjectContentHint7$outboundSchema.parse(createProjectContentHint7), - ); -} - -export function createProjectContentHint7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectContentHint7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectContentHint7' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType, - ); - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType - > = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - -/** @internal */ -export const CreateProjectContentHint6$inboundSchema: z.ZodType< - CreateProjectContentHint6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectContentHint6$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectContentHint6$outboundSchema: z.ZodType< - CreateProjectContentHint6$Outbound, - z.ZodTypeDef, - CreateProjectContentHint6 -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHint6$ { - /** @deprecated use `CreateProjectContentHint6$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHint6$inboundSchema; - /** @deprecated use `CreateProjectContentHint6$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHint6$outboundSchema; - /** @deprecated use `CreateProjectContentHint6$Outbound` instead. */ - export type Outbound = CreateProjectContentHint6$Outbound; -} - -export function createProjectContentHint6ToJSON( - createProjectContentHint6: CreateProjectContentHint6, -): string { - return JSON.stringify( - CreateProjectContentHint6$outboundSchema.parse(createProjectContentHint6), - ); -} - -export function createProjectContentHint6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectContentHint6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectContentHint6' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONType - > = z.nativeEnum( - CreateProjectContentHintProjectsResponse200ApplicationJSONType, - ); - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectContentHintProjectsResponse200ApplicationJSONType - > = - CreateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHintProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `CreateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const CreateProjectContentHint5$inboundSchema: z.ZodType< - CreateProjectContentHint5, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectContentHint5$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectContentHint5$outboundSchema: z.ZodType< - CreateProjectContentHint5$Outbound, - z.ZodTypeDef, - CreateProjectContentHint5 -> = z.object({ - type: - CreateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHint5$ { - /** @deprecated use `CreateProjectContentHint5$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHint5$inboundSchema; - /** @deprecated use `CreateProjectContentHint5$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHint5$outboundSchema; - /** @deprecated use `CreateProjectContentHint5$Outbound` instead. */ - export type Outbound = CreateProjectContentHint5$Outbound; -} - -export function createProjectContentHint5ToJSON( - createProjectContentHint5: CreateProjectContentHint5, -): string { - return JSON.stringify( - CreateProjectContentHint5$outboundSchema.parse(createProjectContentHint5), - ); -} - -export function createProjectContentHint5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectContentHint5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectContentHint5' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectContentHintProjectsResponse200Type); - -/** @internal */ -export const CreateProjectContentHintProjectsResponse200Type$outboundSchema: - z.ZodNativeEnum = - CreateProjectContentHintProjectsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHintProjectsResponse200Type$ { - /** @deprecated use `CreateProjectContentHintProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectContentHintProjectsResponse200Type$inboundSchema; - /** @deprecated use `CreateProjectContentHintProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectContentHintProjectsResponse200Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectContentHint4$inboundSchema: z.ZodType< - CreateProjectContentHint4, - z.ZodTypeDef, - unknown -> = z.object({ - type: CreateProjectContentHintProjectsResponse200Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectContentHint4$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectContentHint4$outboundSchema: z.ZodType< - CreateProjectContentHint4$Outbound, - z.ZodTypeDef, - CreateProjectContentHint4 -> = z.object({ - type: CreateProjectContentHintProjectsResponse200Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHint4$ { - /** @deprecated use `CreateProjectContentHint4$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHint4$inboundSchema; - /** @deprecated use `CreateProjectContentHint4$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHint4$outboundSchema; - /** @deprecated use `CreateProjectContentHint4$Outbound` instead. */ - export type Outbound = CreateProjectContentHint4$Outbound; -} - -export function createProjectContentHint4ToJSON( - createProjectContentHint4: CreateProjectContentHint4, -): string { - return JSON.stringify( - CreateProjectContentHint4$outboundSchema.parse(createProjectContentHint4), - ); -} - -export function createProjectContentHint4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectContentHint4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectContentHint4' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectContentHintProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectContentHintProjectsResponseType); - -/** @internal */ -export const CreateProjectContentHintProjectsResponseType$outboundSchema: - z.ZodNativeEnum = - CreateProjectContentHintProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHintProjectsResponseType$ { - /** @deprecated use `CreateProjectContentHintProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectContentHintProjectsResponseType$inboundSchema; - /** @deprecated use `CreateProjectContentHintProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectContentHintProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const CreateProjectContentHint3$inboundSchema: z.ZodType< - CreateProjectContentHint3, - z.ZodTypeDef, - unknown -> = z.object({ - type: CreateProjectContentHintProjectsResponseType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectContentHint3$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectContentHint3$outboundSchema: z.ZodType< - CreateProjectContentHint3$Outbound, - z.ZodTypeDef, - CreateProjectContentHint3 -> = z.object({ - type: CreateProjectContentHintProjectsResponseType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHint3$ { - /** @deprecated use `CreateProjectContentHint3$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHint3$inboundSchema; - /** @deprecated use `CreateProjectContentHint3$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHint3$outboundSchema; - /** @deprecated use `CreateProjectContentHint3$Outbound` instead. */ - export type Outbound = CreateProjectContentHint3$Outbound; -} - -export function createProjectContentHint3ToJSON( - createProjectContentHint3: CreateProjectContentHint3, -): string { - return JSON.stringify( - CreateProjectContentHint3$outboundSchema.parse(createProjectContentHint3), - ); -} - -export function createProjectContentHint3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectContentHint3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectContentHint3' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectContentHintProjectsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectContentHintProjectsType, - ); - -/** @internal */ -export const CreateProjectContentHintProjectsType$outboundSchema: - z.ZodNativeEnum = - CreateProjectContentHintProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHintProjectsType$ { - /** @deprecated use `CreateProjectContentHintProjectsType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectContentHintProjectsType$inboundSchema; - /** @deprecated use `CreateProjectContentHintProjectsType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectContentHintProjectsType$outboundSchema; -} - -/** @internal */ -export const CreateProjectContentHint2$inboundSchema: z.ZodType< - CreateProjectContentHint2, - z.ZodTypeDef, - unknown -> = z.object({ - type: CreateProjectContentHintProjectsType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectContentHint2$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectContentHint2$outboundSchema: z.ZodType< - CreateProjectContentHint2$Outbound, - z.ZodTypeDef, - CreateProjectContentHint2 -> = z.object({ - type: CreateProjectContentHintProjectsType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHint2$ { - /** @deprecated use `CreateProjectContentHint2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHint2$inboundSchema; - /** @deprecated use `CreateProjectContentHint2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHint2$outboundSchema; - /** @deprecated use `CreateProjectContentHint2$Outbound` instead. */ - export type Outbound = CreateProjectContentHint2$Outbound; -} - -export function createProjectContentHint2ToJSON( - createProjectContentHint2: CreateProjectContentHint2, -): string { - return JSON.stringify( - CreateProjectContentHint2$outboundSchema.parse(createProjectContentHint2), - ); -} - -export function createProjectContentHint2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectContentHint2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectContentHint2' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectContentHintType$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectContentHintType -> = z.nativeEnum(CreateProjectContentHintType); - -/** @internal */ -export const CreateProjectContentHintType$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectContentHintType -> = CreateProjectContentHintType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHintType$ { - /** @deprecated use `CreateProjectContentHintType$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHintType$inboundSchema; - /** @deprecated use `CreateProjectContentHintType$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHintType$outboundSchema; -} - -/** @internal */ -export const CreateProjectContentHint1$inboundSchema: z.ZodType< - CreateProjectContentHint1, - z.ZodTypeDef, - unknown -> = z.object({ - type: CreateProjectContentHintType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectContentHint1$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectContentHint1$outboundSchema: z.ZodType< - CreateProjectContentHint1$Outbound, - z.ZodTypeDef, - CreateProjectContentHint1 -> = z.object({ - type: CreateProjectContentHintType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHint1$ { - /** @deprecated use `CreateProjectContentHint1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHint1$inboundSchema; - /** @deprecated use `CreateProjectContentHint1$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHint1$outboundSchema; - /** @deprecated use `CreateProjectContentHint1$Outbound` instead. */ - export type Outbound = CreateProjectContentHint1$Outbound; -} - -export function createProjectContentHint1ToJSON( - createProjectContentHint1: CreateProjectContentHint1, -): string { - return JSON.stringify( - CreateProjectContentHint1$outboundSchema.parse(createProjectContentHint1), - ); -} - -export function createProjectContentHint1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectContentHint1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectContentHint1' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectContentHint$inboundSchema: z.ZodType< - CreateProjectContentHint, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CreateProjectContentHint1$inboundSchema), - z.lazy(() => CreateProjectContentHint2$inboundSchema), - z.lazy(() => CreateProjectContentHint3$inboundSchema), - z.lazy(() => CreateProjectContentHint4$inboundSchema), - z.lazy(() => CreateProjectContentHint5$inboundSchema), - z.lazy(() => CreateProjectContentHint6$inboundSchema), - z.lazy(() => CreateProjectContentHint7$inboundSchema), - z.lazy(() => CreateProjectContentHint8$inboundSchema), - z.lazy(() => CreateProjectContentHint9$inboundSchema), - z.lazy(() => CreateProjectContentHint10$inboundSchema), - z.lazy(() => ContentHint11$inboundSchema), - z.lazy(() => ContentHint12$inboundSchema), - z.lazy(() => ContentHint13$inboundSchema), - z.lazy(() => ContentHint15$inboundSchema), - z.lazy(() => ContentHint14$inboundSchema), -]); - -/** @internal */ -export type CreateProjectContentHint$Outbound = - | CreateProjectContentHint1$Outbound - | CreateProjectContentHint2$Outbound - | CreateProjectContentHint3$Outbound - | CreateProjectContentHint4$Outbound - | CreateProjectContentHint5$Outbound - | CreateProjectContentHint6$Outbound - | CreateProjectContentHint7$Outbound - | CreateProjectContentHint8$Outbound - | CreateProjectContentHint9$Outbound - | CreateProjectContentHint10$Outbound - | ContentHint11$Outbound - | ContentHint12$Outbound - | ContentHint13$Outbound - | ContentHint15$Outbound - | ContentHint14$Outbound; - -/** @internal */ -export const CreateProjectContentHint$outboundSchema: z.ZodType< - CreateProjectContentHint$Outbound, - z.ZodTypeDef, - CreateProjectContentHint -> = z.union([ - z.lazy(() => CreateProjectContentHint1$outboundSchema), - z.lazy(() => CreateProjectContentHint2$outboundSchema), - z.lazy(() => CreateProjectContentHint3$outboundSchema), - z.lazy(() => CreateProjectContentHint4$outboundSchema), - z.lazy(() => CreateProjectContentHint5$outboundSchema), - z.lazy(() => CreateProjectContentHint6$outboundSchema), - z.lazy(() => CreateProjectContentHint7$outboundSchema), - z.lazy(() => CreateProjectContentHint8$outboundSchema), - z.lazy(() => CreateProjectContentHint9$outboundSchema), - z.lazy(() => CreateProjectContentHint10$outboundSchema), - z.lazy(() => ContentHint11$outboundSchema), - z.lazy(() => ContentHint12$outboundSchema), - z.lazy(() => ContentHint13$outboundSchema), - z.lazy(() => ContentHint15$outboundSchema), - z.lazy(() => ContentHint14$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHint$ { - /** @deprecated use `CreateProjectContentHint$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHint$inboundSchema; - /** @deprecated use `CreateProjectContentHint$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHint$outboundSchema; - /** @deprecated use `CreateProjectContentHint$Outbound` instead. */ - export type Outbound = CreateProjectContentHint$Outbound; -} - -export function createProjectContentHintToJSON( - createProjectContentHint: CreateProjectContentHint, -): string { - return JSON.stringify( - CreateProjectContentHint$outboundSchema.parse(createProjectContentHint), - ); -} - -export function createProjectContentHintFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectContentHint$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectContentHint' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType, - ); - -/** @internal */ -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType - > = - CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$ { - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema; -} - -/** @internal */ -export const CreateProjectInternalContentHint$inboundSchema: z.ZodType< - CreateProjectInternalContentHint, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, - encryptedValue: z.string(), -}); - -/** @internal */ -export type CreateProjectInternalContentHint$Outbound = { - type: string; - encryptedValue: string; -}; - -/** @internal */ -export const CreateProjectInternalContentHint$outboundSchema: z.ZodType< - CreateProjectInternalContentHint$Outbound, - z.ZodTypeDef, - CreateProjectInternalContentHint -> = z.object({ - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema, - encryptedValue: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectInternalContentHint$ { - /** @deprecated use `CreateProjectInternalContentHint$inboundSchema` instead. */ - export const inboundSchema = CreateProjectInternalContentHint$inboundSchema; - /** @deprecated use `CreateProjectInternalContentHint$outboundSchema` instead. */ - export const outboundSchema = CreateProjectInternalContentHint$outboundSchema; - /** @deprecated use `CreateProjectInternalContentHint$Outbound` instead. */ - export type Outbound = CreateProjectInternalContentHint$Outbound; -} - -export function createProjectInternalContentHintToJSON( - createProjectInternalContentHint: CreateProjectInternalContentHint, -): string { - return JSON.stringify( - CreateProjectInternalContentHint$outboundSchema.parse( - createProjectInternalContentHint, - ), - ); -} - -export function createProjectInternalContentHintFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectInternalContentHint$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectInternalContentHint' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnv$inboundSchema: z.ZodType< - CreateProjectEnv, - z.ZodTypeDef, - unknown -> = z.object({ - target: z.union([z.array(z.string()), CreateProjectTarget2$inboundSchema]) - .optional(), - type: CreateProjectProjectsResponseType$inboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => CreateProjectContentHint1$inboundSchema), - z.lazy(() => CreateProjectContentHint2$inboundSchema), - z.lazy(() => CreateProjectContentHint3$inboundSchema), - z.lazy(() => CreateProjectContentHint4$inboundSchema), - z.lazy(() => CreateProjectContentHint5$inboundSchema), - z.lazy(() => CreateProjectContentHint6$inboundSchema), - z.lazy(() => CreateProjectContentHint7$inboundSchema), - z.lazy(() => CreateProjectContentHint8$inboundSchema), - z.lazy(() => CreateProjectContentHint9$inboundSchema), - z.lazy(() => CreateProjectContentHint10$inboundSchema), - z.lazy(() => ContentHint11$inboundSchema), - z.lazy(() => ContentHint12$inboundSchema), - z.lazy(() => ContentHint13$inboundSchema), - z.lazy(() => ContentHint15$inboundSchema), - z.lazy(() => ContentHint14$inboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => CreateProjectInternalContentHint$inboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), -}); - -/** @internal */ -export type CreateProjectEnv$Outbound = { - target?: Array | string | undefined; - type: string; - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | CreateProjectContentHint1$Outbound - | CreateProjectContentHint2$Outbound - | CreateProjectContentHint3$Outbound - | CreateProjectContentHint4$Outbound - | CreateProjectContentHint5$Outbound - | CreateProjectContentHint6$Outbound - | CreateProjectContentHint7$Outbound - | CreateProjectContentHint8$Outbound - | CreateProjectContentHint9$Outbound - | CreateProjectContentHint10$Outbound - | ContentHint11$Outbound - | ContentHint12$Outbound - | ContentHint13$Outbound - | ContentHint15$Outbound - | ContentHint14$Outbound - | null - | undefined; - internalContentHint?: - | CreateProjectInternalContentHint$Outbound - | null - | undefined; - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -/** @internal */ -export const CreateProjectEnv$outboundSchema: z.ZodType< - CreateProjectEnv$Outbound, - z.ZodTypeDef, - CreateProjectEnv -> = z.object({ - target: z.union([z.array(z.string()), CreateProjectTarget2$outboundSchema]) - .optional(), - type: CreateProjectProjectsResponseType$outboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => CreateProjectContentHint1$outboundSchema), - z.lazy(() => CreateProjectContentHint2$outboundSchema), - z.lazy(() => CreateProjectContentHint3$outboundSchema), - z.lazy(() => CreateProjectContentHint4$outboundSchema), - z.lazy(() => CreateProjectContentHint5$outboundSchema), - z.lazy(() => CreateProjectContentHint6$outboundSchema), - z.lazy(() => CreateProjectContentHint7$outboundSchema), - z.lazy(() => CreateProjectContentHint8$outboundSchema), - z.lazy(() => CreateProjectContentHint9$outboundSchema), - z.lazy(() => CreateProjectContentHint10$outboundSchema), - z.lazy(() => ContentHint11$outboundSchema), - z.lazy(() => ContentHint12$outboundSchema), - z.lazy(() => ContentHint13$outboundSchema), - z.lazy(() => ContentHint15$outboundSchema), - z.lazy(() => ContentHint14$outboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => CreateProjectInternalContentHint$outboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnv$ { - /** @deprecated use `CreateProjectEnv$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnv$inboundSchema; - /** @deprecated use `CreateProjectEnv$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnv$outboundSchema; - /** @deprecated use `CreateProjectEnv$Outbound` instead. */ - export type Outbound = CreateProjectEnv$Outbound; -} - -export function createProjectEnvToJSON( - createProjectEnv: CreateProjectEnv, -): string { - return JSON.stringify( - CreateProjectEnv$outboundSchema.parse(createProjectEnv), - ); -} - -export function createProjectEnvFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnv$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnv' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectCustomEnvironments$inboundSchema: z.ZodType< - CreateProjectCustomEnvironments, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type CreateProjectCustomEnvironments$Outbound = {}; - -/** @internal */ -export const CreateProjectCustomEnvironments$outboundSchema: z.ZodType< - CreateProjectCustomEnvironments$Outbound, - z.ZodTypeDef, - CreateProjectCustomEnvironments -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectCustomEnvironments$ { - /** @deprecated use `CreateProjectCustomEnvironments$inboundSchema` instead. */ - export const inboundSchema = CreateProjectCustomEnvironments$inboundSchema; - /** @deprecated use `CreateProjectCustomEnvironments$outboundSchema` instead. */ - export const outboundSchema = CreateProjectCustomEnvironments$outboundSchema; - /** @deprecated use `CreateProjectCustomEnvironments$Outbound` instead. */ - export type Outbound = CreateProjectCustomEnvironments$Outbound; -} - -export function createProjectCustomEnvironmentsToJSON( - createProjectCustomEnvironments: CreateProjectCustomEnvironments, -): string { - return JSON.stringify( - CreateProjectCustomEnvironments$outboundSchema.parse( - createProjectCustomEnvironments, - ), - ); -} - -export function createProjectCustomEnvironmentsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectCustomEnvironments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectCustomEnvironments' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectProjectsFramework$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectProjectsFramework -> = z.nativeEnum(CreateProjectProjectsFramework); - -/** @internal */ -export const CreateProjectProjectsFramework$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectProjectsFramework -> = CreateProjectProjectsFramework$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsFramework$ { - /** @deprecated use `CreateProjectProjectsFramework$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProjectsFramework$inboundSchema; - /** @deprecated use `CreateProjectProjectsFramework$outboundSchema` instead. */ - export const outboundSchema = CreateProjectProjectsFramework$outboundSchema; -} - -/** @internal */ -export const CreateProjectIpBuckets$inboundSchema: z.ZodType< - CreateProjectIpBuckets, - z.ZodTypeDef, - unknown -> = z.object({ - bucket: z.string(), - supportUntil: z.number().optional(), -}); - -/** @internal */ -export type CreateProjectIpBuckets$Outbound = { - bucket: string; - supportUntil?: number | undefined; -}; - -/** @internal */ -export const CreateProjectIpBuckets$outboundSchema: z.ZodType< - CreateProjectIpBuckets$Outbound, - z.ZodTypeDef, - CreateProjectIpBuckets -> = z.object({ - bucket: z.string(), - supportUntil: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectIpBuckets$ { - /** @deprecated use `CreateProjectIpBuckets$inboundSchema` instead. */ - export const inboundSchema = CreateProjectIpBuckets$inboundSchema; - /** @deprecated use `CreateProjectIpBuckets$outboundSchema` instead. */ - export const outboundSchema = CreateProjectIpBuckets$outboundSchema; - /** @deprecated use `CreateProjectIpBuckets$Outbound` instead. */ - export type Outbound = CreateProjectIpBuckets$Outbound; -} - -export function createProjectIpBucketsToJSON( - createProjectIpBuckets: CreateProjectIpBuckets, -): string { - return JSON.stringify( - CreateProjectIpBuckets$outboundSchema.parse(createProjectIpBuckets), - ); -} - -export function createProjectIpBucketsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectIpBuckets$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectIpBuckets' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectAliasAssigned$inboundSchema: z.ZodType< - CreateProjectAliasAssigned, - z.ZodTypeDef, - unknown -> = z.union([z.number(), z.boolean()]); - -/** @internal */ -export type CreateProjectAliasAssigned$Outbound = number | boolean; - -/** @internal */ -export const CreateProjectAliasAssigned$outboundSchema: z.ZodType< - CreateProjectAliasAssigned$Outbound, - z.ZodTypeDef, - CreateProjectAliasAssigned -> = z.union([z.number(), z.boolean()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectAliasAssigned$ { - /** @deprecated use `CreateProjectAliasAssigned$inboundSchema` instead. */ - export const inboundSchema = CreateProjectAliasAssigned$inboundSchema; - /** @deprecated use `CreateProjectAliasAssigned$outboundSchema` instead. */ - export const outboundSchema = CreateProjectAliasAssigned$outboundSchema; - /** @deprecated use `CreateProjectAliasAssigned$Outbound` instead. */ - export type Outbound = CreateProjectAliasAssigned$Outbound; -} - -export function createProjectAliasAssignedToJSON( - createProjectAliasAssigned: CreateProjectAliasAssigned, -): string { - return JSON.stringify( - CreateProjectAliasAssigned$outboundSchema.parse(createProjectAliasAssigned), - ); -} - -export function createProjectAliasAssignedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectAliasAssigned$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectAliasAssigned' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectAliasError$inboundSchema: z.ZodType< - CreateProjectAliasError, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** @internal */ -export type CreateProjectAliasError$Outbound = { - code: string; - message: string; -}; - -/** @internal */ -export const CreateProjectAliasError$outboundSchema: z.ZodType< - CreateProjectAliasError$Outbound, - z.ZodTypeDef, - CreateProjectAliasError -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectAliasError$ { - /** @deprecated use `CreateProjectAliasError$inboundSchema` instead. */ - export const inboundSchema = CreateProjectAliasError$inboundSchema; - /** @deprecated use `CreateProjectAliasError$outboundSchema` instead. */ - export const outboundSchema = CreateProjectAliasError$outboundSchema; - /** @deprecated use `CreateProjectAliasError$Outbound` instead. */ - export type Outbound = CreateProjectAliasError$Outbound; -} - -export function createProjectAliasErrorToJSON( - createProjectAliasError: CreateProjectAliasError, -): string { - return JSON.stringify( - CreateProjectAliasError$outboundSchema.parse(createProjectAliasError), - ); -} - -export function createProjectAliasErrorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectAliasError$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectAliasError' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, - ); - -/** @internal */ -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType - > = - CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ { - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema; - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema; -} - -/** @internal */ -export const CreateProjectBranchMatcher$inboundSchema: z.ZodType< - CreateProjectBranchMatcher, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, - pattern: z.string(), -}); - -/** @internal */ -export type CreateProjectBranchMatcher$Outbound = { - type: string; - pattern: string; -}; - -/** @internal */ -export const CreateProjectBranchMatcher$outboundSchema: z.ZodType< - CreateProjectBranchMatcher$Outbound, - z.ZodTypeDef, - CreateProjectBranchMatcher -> = z.object({ - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema, - pattern: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectBranchMatcher$ { - /** @deprecated use `CreateProjectBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = CreateProjectBranchMatcher$inboundSchema; - /** @deprecated use `CreateProjectBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = CreateProjectBranchMatcher$outboundSchema; - /** @deprecated use `CreateProjectBranchMatcher$Outbound` instead. */ - export type Outbound = CreateProjectBranchMatcher$Outbound; -} - -export function createProjectBranchMatcherToJSON( - createProjectBranchMatcher: CreateProjectBranchMatcher, -): string { - return JSON.stringify( - CreateProjectBranchMatcher$outboundSchema.parse(createProjectBranchMatcher), - ); -} - -export function createProjectBranchMatcherFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectBranchMatcher$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectBranchMatcher' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectBuilds$inboundSchema: z.ZodType< - CreateProjectBuilds, - z.ZodTypeDef, - unknown -> = z.object({ - use: z.string(), - src: z.string().optional(), - dest: z.string().optional(), -}); - -/** @internal */ -export type CreateProjectBuilds$Outbound = { - use: string; - src?: string | undefined; - dest?: string | undefined; -}; - -/** @internal */ -export const CreateProjectBuilds$outboundSchema: z.ZodType< - CreateProjectBuilds$Outbound, - z.ZodTypeDef, - CreateProjectBuilds -> = z.object({ - use: z.string(), - src: z.string().optional(), - dest: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectBuilds$ { - /** @deprecated use `CreateProjectBuilds$inboundSchema` instead. */ - export const inboundSchema = CreateProjectBuilds$inboundSchema; - /** @deprecated use `CreateProjectBuilds$outboundSchema` instead. */ - export const outboundSchema = CreateProjectBuilds$outboundSchema; - /** @deprecated use `CreateProjectBuilds$Outbound` instead. */ - export type Outbound = CreateProjectBuilds$Outbound; -} - -export function createProjectBuildsToJSON( - createProjectBuilds: CreateProjectBuilds, -): string { - return JSON.stringify( - CreateProjectBuilds$outboundSchema.parse(createProjectBuilds), - ); -} - -export function createProjectBuildsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectBuilds$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectBuilds' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectChecksConclusion$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectChecksConclusion -> = z.nativeEnum(CreateProjectChecksConclusion); - -/** @internal */ -export const CreateProjectChecksConclusion$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectChecksConclusion -> = CreateProjectChecksConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectChecksConclusion$ { - /** @deprecated use `CreateProjectChecksConclusion$inboundSchema` instead. */ - export const inboundSchema = CreateProjectChecksConclusion$inboundSchema; - /** @deprecated use `CreateProjectChecksConclusion$outboundSchema` instead. */ - export const outboundSchema = CreateProjectChecksConclusion$outboundSchema; -} - -/** @internal */ -export const CreateProjectChecksState$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectChecksState -> = z.nativeEnum(CreateProjectChecksState); - -/** @internal */ -export const CreateProjectChecksState$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectChecksState -> = CreateProjectChecksState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectChecksState$ { - /** @deprecated use `CreateProjectChecksState$inboundSchema` instead. */ - export const inboundSchema = CreateProjectChecksState$inboundSchema; - /** @deprecated use `CreateProjectChecksState$outboundSchema` instead. */ - export const outboundSchema = CreateProjectChecksState$outboundSchema; -} - -/** @internal */ -export const CreateProjectCreator$inboundSchema: z.ZodType< - CreateProjectCreator, - z.ZodTypeDef, - unknown -> = z.object({ - email: z.string(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), - uid: z.string(), - username: z.string(), -}); - -/** @internal */ -export type CreateProjectCreator$Outbound = { - email: string; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; - uid: string; - username: string; -}; - -/** @internal */ -export const CreateProjectCreator$outboundSchema: z.ZodType< - CreateProjectCreator$Outbound, - z.ZodTypeDef, - CreateProjectCreator -> = z.object({ - email: z.string(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), - uid: z.string(), - username: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectCreator$ { - /** @deprecated use `CreateProjectCreator$inboundSchema` instead. */ - export const inboundSchema = CreateProjectCreator$inboundSchema; - /** @deprecated use `CreateProjectCreator$outboundSchema` instead. */ - export const outboundSchema = CreateProjectCreator$outboundSchema; - /** @deprecated use `CreateProjectCreator$Outbound` instead. */ - export type Outbound = CreateProjectCreator$Outbound; -} - -export function createProjectCreatorToJSON( - createProjectCreator: CreateProjectCreator, -): string { - return JSON.stringify( - CreateProjectCreator$outboundSchema.parse(createProjectCreator), - ); -} - -export function createProjectCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectCreator' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectOidcTokenClaims$inboundSchema: z.ZodType< - CreateProjectOidcTokenClaims, - z.ZodTypeDef, - unknown -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - owner_id: z.string(), - project: z.string(), - project_id: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); - -/** @internal */ -export type CreateProjectOidcTokenClaims$Outbound = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - owner_id: string; - project: string; - project_id: string; - environment: string; -}; - -/** @internal */ -export const CreateProjectOidcTokenClaims$outboundSchema: z.ZodType< - CreateProjectOidcTokenClaims$Outbound, - z.ZodTypeDef, - CreateProjectOidcTokenClaims -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - ownerId: z.string(), - project: z.string(), - projectId: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - ownerId: "owner_id", - projectId: "project_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectOidcTokenClaims$ { - /** @deprecated use `CreateProjectOidcTokenClaims$inboundSchema` instead. */ - export const inboundSchema = CreateProjectOidcTokenClaims$inboundSchema; - /** @deprecated use `CreateProjectOidcTokenClaims$outboundSchema` instead. */ - export const outboundSchema = CreateProjectOidcTokenClaims$outboundSchema; - /** @deprecated use `CreateProjectOidcTokenClaims$Outbound` instead. */ - export type Outbound = CreateProjectOidcTokenClaims$Outbound; -} - -export function createProjectOidcTokenClaimsToJSON( - createProjectOidcTokenClaims: CreateProjectOidcTokenClaims, -): string { - return JSON.stringify( - CreateProjectOidcTokenClaims$outboundSchema.parse( - createProjectOidcTokenClaims, - ), - ); -} - -export function createProjectOidcTokenClaimsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectOidcTokenClaims' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectPlan$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectPlan -> = z.nativeEnum(CreateProjectPlan); - -/** @internal */ -export const CreateProjectPlan$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectPlan -> = CreateProjectPlan$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectPlan$ { - /** @deprecated use `CreateProjectPlan$inboundSchema` instead. */ - export const inboundSchema = CreateProjectPlan$inboundSchema; - /** @deprecated use `CreateProjectPlan$outboundSchema` instead. */ - export const outboundSchema = CreateProjectPlan$outboundSchema; -} - -/** @internal */ -export const CreateProjectReadyState$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectReadyState -> = z.nativeEnum(CreateProjectReadyState); - -/** @internal */ -export const CreateProjectReadyState$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectReadyState -> = CreateProjectReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectReadyState$ { - /** @deprecated use `CreateProjectReadyState$inboundSchema` instead. */ - export const inboundSchema = CreateProjectReadyState$inboundSchema; - /** @deprecated use `CreateProjectReadyState$outboundSchema` instead. */ - export const outboundSchema = CreateProjectReadyState$outboundSchema; -} - -/** @internal */ -export const CreateProjectReadySubstate$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectReadySubstate -> = z.nativeEnum(CreateProjectReadySubstate); - -/** @internal */ -export const CreateProjectReadySubstate$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectReadySubstate -> = CreateProjectReadySubstate$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectReadySubstate$ { - /** @deprecated use `CreateProjectReadySubstate$inboundSchema` instead. */ - export const inboundSchema = CreateProjectReadySubstate$inboundSchema; - /** @deprecated use `CreateProjectReadySubstate$outboundSchema` instead. */ - export const outboundSchema = CreateProjectReadySubstate$outboundSchema; -} - -/** @internal */ -export const CreateProjectProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectProjectsResponse200Type, - ); - -/** @internal */ -export const CreateProjectProjectsResponse200Type$outboundSchema: - z.ZodNativeEnum = - CreateProjectProjectsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsResponse200Type$ { - /** @deprecated use `CreateProjectProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsResponse200Type$inboundSchema; - /** @deprecated use `CreateProjectProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsResponse200Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectLatestDeployments$inboundSchema: z.ZodType< - CreateProjectLatestDeployments, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - aliasError: z.nullable(z.lazy(() => CreateProjectAliasError$inboundSchema)) - .optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - branchMatcher: z.lazy(() => CreateProjectBranchMatcher$inboundSchema) - .optional(), - buildingAt: z.number().optional(), - builds: z.array(z.lazy(() => CreateProjectBuilds$inboundSchema)).optional(), - checksConclusion: CreateProjectChecksConclusion$inboundSchema.optional(), - checksState: CreateProjectChecksState$inboundSchema.optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdAt: z.number(), - createdIn: z.string(), - creator: z.nullable(z.lazy(() => CreateProjectCreator$inboundSchema)), - deletedAt: z.number().optional(), - deploymentHostname: z.string(), - forced: z.boolean().optional(), - name: z.string(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - oidcTokenClaims: z.lazy(() => CreateProjectOidcTokenClaims$inboundSchema) - .optional(), - plan: CreateProjectPlan$inboundSchema, - previewCommentsEnabled: z.boolean().optional(), - private: z.boolean(), - readyAt: z.number().optional(), - readyState: CreateProjectReadyState$inboundSchema, - readySubstate: CreateProjectReadySubstate$inboundSchema.optional(), - requestedAt: z.number().optional(), - target: z.nullable(z.string()).optional(), - teamId: z.nullable(z.string()).optional(), - type: CreateProjectProjectsResponse200Type$inboundSchema, - url: z.string(), - userId: z.string(), - withCache: z.boolean().optional(), -}); - -/** @internal */ -export type CreateProjectLatestDeployments$Outbound = { - id: string; - alias?: Array | undefined; - aliasAssigned?: number | boolean | null | undefined; - aliasError?: CreateProjectAliasError$Outbound | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - branchMatcher?: CreateProjectBranchMatcher$Outbound | undefined; - buildingAt?: number | undefined; - builds?: Array | undefined; - checksConclusion?: string | undefined; - checksState?: string | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdAt: number; - createdIn: string; - creator: CreateProjectCreator$Outbound | null; - deletedAt?: number | undefined; - deploymentHostname: string; - forced?: boolean | undefined; - name: string; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - oidcTokenClaims?: CreateProjectOidcTokenClaims$Outbound | undefined; - plan: string; - previewCommentsEnabled?: boolean | undefined; - private: boolean; - readyAt?: number | undefined; - readyState: string; - readySubstate?: string | undefined; - requestedAt?: number | undefined; - target?: string | null | undefined; - teamId?: string | null | undefined; - type: string; - url: string; - userId: string; - withCache?: boolean | undefined; -}; - -/** @internal */ -export const CreateProjectLatestDeployments$outboundSchema: z.ZodType< - CreateProjectLatestDeployments$Outbound, - z.ZodTypeDef, - CreateProjectLatestDeployments -> = z.object({ - id: z.string(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - aliasError: z.nullable(z.lazy(() => CreateProjectAliasError$outboundSchema)) - .optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - branchMatcher: z.lazy(() => CreateProjectBranchMatcher$outboundSchema) - .optional(), - buildingAt: z.number().optional(), - builds: z.array(z.lazy(() => CreateProjectBuilds$outboundSchema)).optional(), - checksConclusion: CreateProjectChecksConclusion$outboundSchema.optional(), - checksState: CreateProjectChecksState$outboundSchema.optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdAt: z.number(), - createdIn: z.string(), - creator: z.nullable(z.lazy(() => CreateProjectCreator$outboundSchema)), - deletedAt: z.number().optional(), - deploymentHostname: z.string(), - forced: z.boolean().optional(), - name: z.string(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - oidcTokenClaims: z.lazy(() => CreateProjectOidcTokenClaims$outboundSchema) - .optional(), - plan: CreateProjectPlan$outboundSchema, - previewCommentsEnabled: z.boolean().optional(), - private: z.boolean(), - readyAt: z.number().optional(), - readyState: CreateProjectReadyState$outboundSchema, - readySubstate: CreateProjectReadySubstate$outboundSchema.optional(), - requestedAt: z.number().optional(), - target: z.nullable(z.string()).optional(), - teamId: z.nullable(z.string()).optional(), - type: CreateProjectProjectsResponse200Type$outboundSchema, - url: z.string(), - userId: z.string(), - withCache: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLatestDeployments$ { - /** @deprecated use `CreateProjectLatestDeployments$inboundSchema` instead. */ - export const inboundSchema = CreateProjectLatestDeployments$inboundSchema; - /** @deprecated use `CreateProjectLatestDeployments$outboundSchema` instead. */ - export const outboundSchema = CreateProjectLatestDeployments$outboundSchema; - /** @deprecated use `CreateProjectLatestDeployments$Outbound` instead. */ - export type Outbound = CreateProjectLatestDeployments$Outbound; -} - -export function createProjectLatestDeploymentsToJSON( - createProjectLatestDeployments: CreateProjectLatestDeployments, -): string { - return JSON.stringify( - CreateProjectLatestDeployments$outboundSchema.parse( - createProjectLatestDeployments, - ), - ); -} - -export function createProjectLatestDeploymentsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectLatestDeployments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectLatestDeployments' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectLinkProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectLinkProjectsResponseType, - ); - -/** @internal */ -export const CreateProjectLinkProjectsResponseType$outboundSchema: - z.ZodNativeEnum = - CreateProjectLinkProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLinkProjectsResponseType$ { - /** @deprecated use `CreateProjectLinkProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectLinkProjectsResponseType$inboundSchema; - /** @deprecated use `CreateProjectLinkProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectLinkProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const CreateProjectLinkProjectsResponseDeployHooks$inboundSchema: - z.ZodType< - CreateProjectLinkProjectsResponseDeployHooks, - z.ZodTypeDef, - unknown - > = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), - }); - -/** @internal */ -export type CreateProjectLinkProjectsResponseDeployHooks$Outbound = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -/** @internal */ -export const CreateProjectLinkProjectsResponseDeployHooks$outboundSchema: - z.ZodType< - CreateProjectLinkProjectsResponseDeployHooks$Outbound, - z.ZodTypeDef, - CreateProjectLinkProjectsResponseDeployHooks - > = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLinkProjectsResponseDeployHooks$ { - /** @deprecated use `CreateProjectLinkProjectsResponseDeployHooks$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectLinkProjectsResponseDeployHooks$inboundSchema; - /** @deprecated use `CreateProjectLinkProjectsResponseDeployHooks$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectLinkProjectsResponseDeployHooks$outboundSchema; - /** @deprecated use `CreateProjectLinkProjectsResponseDeployHooks$Outbound` instead. */ - export type Outbound = CreateProjectLinkProjectsResponseDeployHooks$Outbound; -} - -export function createProjectLinkProjectsResponseDeployHooksToJSON( - createProjectLinkProjectsResponseDeployHooks: - CreateProjectLinkProjectsResponseDeployHooks, -): string { - return JSON.stringify( - CreateProjectLinkProjectsResponseDeployHooks$outboundSchema.parse( - createProjectLinkProjectsResponseDeployHooks, - ), - ); -} - -export function createProjectLinkProjectsResponseDeployHooksFromJSON( - jsonString: string, -): SafeParseResult< - CreateProjectLinkProjectsResponseDeployHooks, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - CreateProjectLinkProjectsResponseDeployHooks$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'CreateProjectLinkProjectsResponseDeployHooks' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectLink3$inboundSchema: z.ZodType< - CreateProjectLink3, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string().optional(), - slug: z.string().optional(), - owner: z.string().optional(), - type: CreateProjectLinkProjectsResponseType$inboundSchema.optional(), - uuid: z.string().optional(), - workspaceUuid: z.string().optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => CreateProjectLinkProjectsResponseDeployHooks$inboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** @internal */ -export type CreateProjectLink3$Outbound = { - name?: string | undefined; - slug?: string | undefined; - owner?: string | undefined; - type?: string | undefined; - uuid?: string | undefined; - workspaceUuid?: string | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -/** @internal */ -export const CreateProjectLink3$outboundSchema: z.ZodType< - CreateProjectLink3$Outbound, - z.ZodTypeDef, - CreateProjectLink3 -> = z.object({ - name: z.string().optional(), - slug: z.string().optional(), - owner: z.string().optional(), - type: CreateProjectLinkProjectsResponseType$outboundSchema.optional(), - uuid: z.string().optional(), - workspaceUuid: z.string().optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => CreateProjectLinkProjectsResponseDeployHooks$outboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLink3$ { - /** @deprecated use `CreateProjectLink3$inboundSchema` instead. */ - export const inboundSchema = CreateProjectLink3$inboundSchema; - /** @deprecated use `CreateProjectLink3$outboundSchema` instead. */ - export const outboundSchema = CreateProjectLink3$outboundSchema; - /** @deprecated use `CreateProjectLink3$Outbound` instead. */ - export type Outbound = CreateProjectLink3$Outbound; -} - -export function createProjectLink3ToJSON( - createProjectLink3: CreateProjectLink3, -): string { - return JSON.stringify( - CreateProjectLink3$outboundSchema.parse(createProjectLink3), - ); -} - -export function createProjectLink3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectLink3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectLink3' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectLinkProjectsType$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectLinkProjectsType -> = z.nativeEnum(CreateProjectLinkProjectsType); - -/** @internal */ -export const CreateProjectLinkProjectsType$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectLinkProjectsType -> = CreateProjectLinkProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLinkProjectsType$ { - /** @deprecated use `CreateProjectLinkProjectsType$inboundSchema` instead. */ - export const inboundSchema = CreateProjectLinkProjectsType$inboundSchema; - /** @deprecated use `CreateProjectLinkProjectsType$outboundSchema` instead. */ - export const outboundSchema = CreateProjectLinkProjectsType$outboundSchema; -} - -/** @internal */ -export const CreateProjectLinkProjectsDeployHooks$inboundSchema: z.ZodType< - CreateProjectLinkProjectsDeployHooks, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** @internal */ -export type CreateProjectLinkProjectsDeployHooks$Outbound = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -/** @internal */ -export const CreateProjectLinkProjectsDeployHooks$outboundSchema: z.ZodType< - CreateProjectLinkProjectsDeployHooks$Outbound, - z.ZodTypeDef, - CreateProjectLinkProjectsDeployHooks -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLinkProjectsDeployHooks$ { - /** @deprecated use `CreateProjectLinkProjectsDeployHooks$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectLinkProjectsDeployHooks$inboundSchema; - /** @deprecated use `CreateProjectLinkProjectsDeployHooks$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectLinkProjectsDeployHooks$outboundSchema; - /** @deprecated use `CreateProjectLinkProjectsDeployHooks$Outbound` instead. */ - export type Outbound = CreateProjectLinkProjectsDeployHooks$Outbound; -} - -export function createProjectLinkProjectsDeployHooksToJSON( - createProjectLinkProjectsDeployHooks: CreateProjectLinkProjectsDeployHooks, -): string { - return JSON.stringify( - CreateProjectLinkProjectsDeployHooks$outboundSchema.parse( - createProjectLinkProjectsDeployHooks, - ), - ); -} - -export function createProjectLinkProjectsDeployHooksFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectLinkProjectsDeployHooks$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectLinkProjectsDeployHooks' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectLink2$inboundSchema: z.ZodType< - CreateProjectLink2, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string().optional(), - projectName: z.string().optional(), - projectNameWithNamespace: z.string().optional(), - projectNamespace: z.string().optional(), - projectOwnerId: z.number().optional(), - projectUrl: z.string().optional(), - type: CreateProjectLinkProjectsType$inboundSchema.optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => CreateProjectLinkProjectsDeployHooks$inboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** @internal */ -export type CreateProjectLink2$Outbound = { - projectId?: string | undefined; - projectName?: string | undefined; - projectNameWithNamespace?: string | undefined; - projectNamespace?: string | undefined; - projectOwnerId?: number | undefined; - projectUrl?: string | undefined; - type?: string | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -/** @internal */ -export const CreateProjectLink2$outboundSchema: z.ZodType< - CreateProjectLink2$Outbound, - z.ZodTypeDef, - CreateProjectLink2 -> = z.object({ - projectId: z.string().optional(), - projectName: z.string().optional(), - projectNameWithNamespace: z.string().optional(), - projectNamespace: z.string().optional(), - projectOwnerId: z.number().optional(), - projectUrl: z.string().optional(), - type: CreateProjectLinkProjectsType$outboundSchema.optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => CreateProjectLinkProjectsDeployHooks$outboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLink2$ { - /** @deprecated use `CreateProjectLink2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectLink2$inboundSchema; - /** @deprecated use `CreateProjectLink2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectLink2$outboundSchema; - /** @deprecated use `CreateProjectLink2$Outbound` instead. */ - export type Outbound = CreateProjectLink2$Outbound; -} - -export function createProjectLink2ToJSON( - createProjectLink2: CreateProjectLink2, -): string { - return JSON.stringify( - CreateProjectLink2$outboundSchema.parse(createProjectLink2), - ); -} - -export function createProjectLink2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectLink2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectLink2' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectLinkType$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectLinkType -> = z.nativeEnum(CreateProjectLinkType); - -/** @internal */ -export const CreateProjectLinkType$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectLinkType -> = CreateProjectLinkType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLinkType$ { - /** @deprecated use `CreateProjectLinkType$inboundSchema` instead. */ - export const inboundSchema = CreateProjectLinkType$inboundSchema; - /** @deprecated use `CreateProjectLinkType$outboundSchema` instead. */ - export const outboundSchema = CreateProjectLinkType$outboundSchema; -} - -/** @internal */ -export const CreateProjectLinkDeployHooks$inboundSchema: z.ZodType< - CreateProjectLinkDeployHooks, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** @internal */ -export type CreateProjectLinkDeployHooks$Outbound = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -/** @internal */ -export const CreateProjectLinkDeployHooks$outboundSchema: z.ZodType< - CreateProjectLinkDeployHooks$Outbound, - z.ZodTypeDef, - CreateProjectLinkDeployHooks -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLinkDeployHooks$ { - /** @deprecated use `CreateProjectLinkDeployHooks$inboundSchema` instead. */ - export const inboundSchema = CreateProjectLinkDeployHooks$inboundSchema; - /** @deprecated use `CreateProjectLinkDeployHooks$outboundSchema` instead. */ - export const outboundSchema = CreateProjectLinkDeployHooks$outboundSchema; - /** @deprecated use `CreateProjectLinkDeployHooks$Outbound` instead. */ - export type Outbound = CreateProjectLinkDeployHooks$Outbound; -} - -export function createProjectLinkDeployHooksToJSON( - createProjectLinkDeployHooks: CreateProjectLinkDeployHooks, -): string { - return JSON.stringify( - CreateProjectLinkDeployHooks$outboundSchema.parse( - createProjectLinkDeployHooks, - ), - ); -} - -export function createProjectLinkDeployHooksFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectLinkDeployHooks$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectLinkDeployHooks' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectLink1$inboundSchema: z.ZodType< - CreateProjectLink1, - z.ZodTypeDef, - unknown -> = z.object({ - org: z.string().optional(), - repoOwnerId: z.number().optional(), - repo: z.string().optional(), - repoId: z.number().optional(), - type: CreateProjectLinkType$inboundSchema.optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => CreateProjectLinkDeployHooks$inboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** @internal */ -export type CreateProjectLink1$Outbound = { - org?: string | undefined; - repoOwnerId?: number | undefined; - repo?: string | undefined; - repoId?: number | undefined; - type?: string | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -/** @internal */ -export const CreateProjectLink1$outboundSchema: z.ZodType< - CreateProjectLink1$Outbound, - z.ZodTypeDef, - CreateProjectLink1 -> = z.object({ - org: z.string().optional(), - repoOwnerId: z.number().optional(), - repo: z.string().optional(), - repoId: z.number().optional(), - type: CreateProjectLinkType$outboundSchema.optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => CreateProjectLinkDeployHooks$outboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLink1$ { - /** @deprecated use `CreateProjectLink1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectLink1$inboundSchema; - /** @deprecated use `CreateProjectLink1$outboundSchema` instead. */ - export const outboundSchema = CreateProjectLink1$outboundSchema; - /** @deprecated use `CreateProjectLink1$Outbound` instead. */ - export type Outbound = CreateProjectLink1$Outbound; -} - -export function createProjectLink1ToJSON( - createProjectLink1: CreateProjectLink1, -): string { - return JSON.stringify( - CreateProjectLink1$outboundSchema.parse(createProjectLink1), - ); -} - -export function createProjectLink1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectLink1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectLink1' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectLink$inboundSchema: z.ZodType< - CreateProjectLink, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CreateProjectLink1$inboundSchema), - z.lazy(() => CreateProjectLink3$inboundSchema), - z.lazy(() => CreateProjectLink2$inboundSchema), -]); - -/** @internal */ -export type CreateProjectLink$Outbound = - | CreateProjectLink1$Outbound - | CreateProjectLink3$Outbound - | CreateProjectLink2$Outbound; - -/** @internal */ -export const CreateProjectLink$outboundSchema: z.ZodType< - CreateProjectLink$Outbound, - z.ZodTypeDef, - CreateProjectLink -> = z.union([ - z.lazy(() => CreateProjectLink1$outboundSchema), - z.lazy(() => CreateProjectLink3$outboundSchema), - z.lazy(() => CreateProjectLink2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLink$ { - /** @deprecated use `CreateProjectLink$inboundSchema` instead. */ - export const inboundSchema = CreateProjectLink$inboundSchema; - /** @deprecated use `CreateProjectLink$outboundSchema` instead. */ - export const outboundSchema = CreateProjectLink$outboundSchema; - /** @deprecated use `CreateProjectLink$Outbound` instead. */ - export type Outbound = CreateProjectLink$Outbound; -} - -export function createProjectLinkToJSON( - createProjectLink: CreateProjectLink, -): string { - return JSON.stringify( - CreateProjectLink$outboundSchema.parse(createProjectLink), - ); -} - -export function createProjectLinkFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectLink$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectLink' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectMicrofrontends$inboundSchema: z.ZodType< - CreateProjectMicrofrontends, - z.ZodTypeDef, - unknown -> = z.object({ - updatedAt: z.number(), - groupIds: z.array(z.string()), - enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), -}); - -/** @internal */ -export type CreateProjectMicrofrontends$Outbound = { - updatedAt: number; - groupIds: Array; - enabled: boolean; - isDefaultApp?: boolean | undefined; - defaultRoute?: string | undefined; -}; - -/** @internal */ -export const CreateProjectMicrofrontends$outboundSchema: z.ZodType< - CreateProjectMicrofrontends$Outbound, - z.ZodTypeDef, - CreateProjectMicrofrontends -> = z.object({ - updatedAt: z.number(), - groupIds: z.array(z.string()), - enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectMicrofrontends$ { - /** @deprecated use `CreateProjectMicrofrontends$inboundSchema` instead. */ - export const inboundSchema = CreateProjectMicrofrontends$inboundSchema; - /** @deprecated use `CreateProjectMicrofrontends$outboundSchema` instead. */ - export const outboundSchema = CreateProjectMicrofrontends$outboundSchema; - /** @deprecated use `CreateProjectMicrofrontends$Outbound` instead. */ - export type Outbound = CreateProjectMicrofrontends$Outbound; -} - -export function createProjectMicrofrontendsToJSON( - createProjectMicrofrontends: CreateProjectMicrofrontends, -): string { - return JSON.stringify( - CreateProjectMicrofrontends$outboundSchema.parse( - createProjectMicrofrontends, - ), - ); -} - -export function createProjectMicrofrontendsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectMicrofrontends$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectMicrofrontends' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectNodeVersion$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectNodeVersion -> = z.nativeEnum(CreateProjectNodeVersion); - -/** @internal */ -export const CreateProjectNodeVersion$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectNodeVersion -> = CreateProjectNodeVersion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectNodeVersion$ { - /** @deprecated use `CreateProjectNodeVersion$inboundSchema` instead. */ - export const inboundSchema = CreateProjectNodeVersion$inboundSchema; - /** @deprecated use `CreateProjectNodeVersion$outboundSchema` instead. */ - export const outboundSchema = CreateProjectNodeVersion$outboundSchema; -} - -/** @internal */ -export const CreateProjectPaths$inboundSchema: z.ZodType< - CreateProjectPaths, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.string(), -}); - -/** @internal */ -export type CreateProjectPaths$Outbound = { - value: string; -}; - -/** @internal */ -export const CreateProjectPaths$outboundSchema: z.ZodType< - CreateProjectPaths$Outbound, - z.ZodTypeDef, - CreateProjectPaths -> = z.object({ - value: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectPaths$ { - /** @deprecated use `CreateProjectPaths$inboundSchema` instead. */ - export const inboundSchema = CreateProjectPaths$inboundSchema; - /** @deprecated use `CreateProjectPaths$outboundSchema` instead. */ - export const outboundSchema = CreateProjectPaths$outboundSchema; - /** @deprecated use `CreateProjectPaths$Outbound` instead. */ - export type Outbound = CreateProjectPaths$Outbound; -} - -export function createProjectPathsToJSON( - createProjectPaths: CreateProjectPaths, -): string { - return JSON.stringify( - CreateProjectPaths$outboundSchema.parse(createProjectPaths), - ); -} - -export function createProjectPathsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectPaths$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectPaths' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectOptionsAllowlist$inboundSchema: z.ZodType< - CreateProjectOptionsAllowlist, - z.ZodTypeDef, - unknown -> = z.object({ - paths: z.array(z.lazy(() => CreateProjectPaths$inboundSchema)), -}); - -/** @internal */ -export type CreateProjectOptionsAllowlist$Outbound = { - paths: Array; -}; - -/** @internal */ -export const CreateProjectOptionsAllowlist$outboundSchema: z.ZodType< - CreateProjectOptionsAllowlist$Outbound, - z.ZodTypeDef, - CreateProjectOptionsAllowlist -> = z.object({ - paths: z.array(z.lazy(() => CreateProjectPaths$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectOptionsAllowlist$ { - /** @deprecated use `CreateProjectOptionsAllowlist$inboundSchema` instead. */ - export const inboundSchema = CreateProjectOptionsAllowlist$inboundSchema; - /** @deprecated use `CreateProjectOptionsAllowlist$outboundSchema` instead. */ - export const outboundSchema = CreateProjectOptionsAllowlist$outboundSchema; - /** @deprecated use `CreateProjectOptionsAllowlist$Outbound` instead. */ - export type Outbound = CreateProjectOptionsAllowlist$Outbound; -} - -export function createProjectOptionsAllowlistToJSON( - createProjectOptionsAllowlist: CreateProjectOptionsAllowlist, -): string { - return JSON.stringify( - CreateProjectOptionsAllowlist$outboundSchema.parse( - createProjectOptionsAllowlist, - ), - ); -} - -export function createProjectOptionsAllowlistFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectOptionsAllowlist$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectOptionsAllowlist' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectPasswordProtection$inboundSchema: z.ZodType< - CreateProjectPasswordProtection, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type CreateProjectPasswordProtection$Outbound = {}; - -/** @internal */ -export const CreateProjectPasswordProtection$outboundSchema: z.ZodType< - CreateProjectPasswordProtection$Outbound, - z.ZodTypeDef, - CreateProjectPasswordProtection -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectPasswordProtection$ { - /** @deprecated use `CreateProjectPasswordProtection$inboundSchema` instead. */ - export const inboundSchema = CreateProjectPasswordProtection$inboundSchema; - /** @deprecated use `CreateProjectPasswordProtection$outboundSchema` instead. */ - export const outboundSchema = CreateProjectPasswordProtection$outboundSchema; - /** @deprecated use `CreateProjectPasswordProtection$Outbound` instead. */ - export type Outbound = CreateProjectPasswordProtection$Outbound; -} - -export function createProjectPasswordProtectionToJSON( - createProjectPasswordProtection: CreateProjectPasswordProtection, -): string { - return JSON.stringify( - CreateProjectPasswordProtection$outboundSchema.parse( - createProjectPasswordProtection, - ), - ); -} - -export function createProjectPasswordProtectionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectPasswordProtection$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectPasswordProtection' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectFunctionDefaultMemoryType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectFunctionDefaultMemoryType, - ); - -/** @internal */ -export const CreateProjectFunctionDefaultMemoryType$outboundSchema: - z.ZodNativeEnum = - CreateProjectFunctionDefaultMemoryType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectFunctionDefaultMemoryType$ { - /** @deprecated use `CreateProjectFunctionDefaultMemoryType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectFunctionDefaultMemoryType$inboundSchema; - /** @deprecated use `CreateProjectFunctionDefaultMemoryType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectFunctionDefaultMemoryType$outboundSchema; -} - -/** @internal */ -export const CreateProjectResourceConfig$inboundSchema: z.ZodType< - CreateProjectResourceConfig, - z.ZodTypeDef, - unknown -> = z.object({ - functionDefaultTimeout: z.number().optional(), - functionDefaultMemoryType: - CreateProjectFunctionDefaultMemoryType$inboundSchema.optional(), - allowServerlessConcurrency: z.boolean().optional(), - elasticConcurrencyEnabled: z.boolean().optional(), -}); - -/** @internal */ -export type CreateProjectResourceConfig$Outbound = { - functionDefaultTimeout?: number | undefined; - functionDefaultMemoryType?: string | undefined; - allowServerlessConcurrency?: boolean | undefined; - elasticConcurrencyEnabled?: boolean | undefined; -}; - -/** @internal */ -export const CreateProjectResourceConfig$outboundSchema: z.ZodType< - CreateProjectResourceConfig$Outbound, - z.ZodTypeDef, - CreateProjectResourceConfig -> = z.object({ - functionDefaultTimeout: z.number().optional(), - functionDefaultMemoryType: - CreateProjectFunctionDefaultMemoryType$outboundSchema.optional(), - allowServerlessConcurrency: z.boolean().optional(), - elasticConcurrencyEnabled: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectResourceConfig$ { - /** @deprecated use `CreateProjectResourceConfig$inboundSchema` instead. */ - export const inboundSchema = CreateProjectResourceConfig$inboundSchema; - /** @deprecated use `CreateProjectResourceConfig$outboundSchema` instead. */ - export const outboundSchema = CreateProjectResourceConfig$outboundSchema; - /** @deprecated use `CreateProjectResourceConfig$Outbound` instead. */ - export type Outbound = CreateProjectResourceConfig$Outbound; -} - -export function createProjectResourceConfigToJSON( - createProjectResourceConfig: CreateProjectResourceConfig, -): string { - return JSON.stringify( - CreateProjectResourceConfig$outboundSchema.parse( - createProjectResourceConfig, - ), - ); -} - -export function createProjectResourceConfigFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectResourceConfig$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectResourceConfig' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectDeploymentType$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectDeploymentType -> = z.nativeEnum(CreateProjectDeploymentType); - -/** @internal */ -export const CreateProjectDeploymentType$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectDeploymentType -> = CreateProjectDeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectDeploymentType$ { - /** @deprecated use `CreateProjectDeploymentType$inboundSchema` instead. */ - export const inboundSchema = CreateProjectDeploymentType$inboundSchema; - /** @deprecated use `CreateProjectDeploymentType$outboundSchema` instead. */ - export const outboundSchema = CreateProjectDeploymentType$outboundSchema; -} - -/** @internal */ -export const CreateProjectSsoProtection$inboundSchema: z.ZodType< - CreateProjectSsoProtection, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentType: CreateProjectDeploymentType$inboundSchema, -}); - -/** @internal */ -export type CreateProjectSsoProtection$Outbound = { - deploymentType: string; -}; - -/** @internal */ -export const CreateProjectSsoProtection$outboundSchema: z.ZodType< - CreateProjectSsoProtection$Outbound, - z.ZodTypeDef, - CreateProjectSsoProtection -> = z.object({ - deploymentType: CreateProjectDeploymentType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectSsoProtection$ { - /** @deprecated use `CreateProjectSsoProtection$inboundSchema` instead. */ - export const inboundSchema = CreateProjectSsoProtection$inboundSchema; - /** @deprecated use `CreateProjectSsoProtection$outboundSchema` instead. */ - export const outboundSchema = CreateProjectSsoProtection$outboundSchema; - /** @deprecated use `CreateProjectSsoProtection$Outbound` instead. */ - export type Outbound = CreateProjectSsoProtection$Outbound; -} - -export function createProjectSsoProtectionToJSON( - createProjectSsoProtection: CreateProjectSsoProtection, -): string { - return JSON.stringify( - CreateProjectSsoProtection$outboundSchema.parse(createProjectSsoProtection), - ); -} - -export function createProjectSsoProtectionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectSsoProtection$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectSsoProtection' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectProjectsAliasAssigned$inboundSchema: z.ZodType< - CreateProjectProjectsAliasAssigned, - z.ZodTypeDef, - unknown -> = z.union([z.number(), z.boolean()]); - -/** @internal */ -export type CreateProjectProjectsAliasAssigned$Outbound = number | boolean; - -/** @internal */ -export const CreateProjectProjectsAliasAssigned$outboundSchema: z.ZodType< - CreateProjectProjectsAliasAssigned$Outbound, - z.ZodTypeDef, - CreateProjectProjectsAliasAssigned -> = z.union([z.number(), z.boolean()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsAliasAssigned$ { - /** @deprecated use `CreateProjectProjectsAliasAssigned$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProjectsAliasAssigned$inboundSchema; - /** @deprecated use `CreateProjectProjectsAliasAssigned$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsAliasAssigned$outboundSchema; - /** @deprecated use `CreateProjectProjectsAliasAssigned$Outbound` instead. */ - export type Outbound = CreateProjectProjectsAliasAssigned$Outbound; -} - -export function createProjectProjectsAliasAssignedToJSON( - createProjectProjectsAliasAssigned: CreateProjectProjectsAliasAssigned, -): string { - return JSON.stringify( - CreateProjectProjectsAliasAssigned$outboundSchema.parse( - createProjectProjectsAliasAssigned, - ), - ); -} - -export function createProjectProjectsAliasAssignedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectProjectsAliasAssigned$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectProjectsAliasAssigned' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectProjectsAliasError$inboundSchema: z.ZodType< - CreateProjectProjectsAliasError, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** @internal */ -export type CreateProjectProjectsAliasError$Outbound = { - code: string; - message: string; -}; - -/** @internal */ -export const CreateProjectProjectsAliasError$outboundSchema: z.ZodType< - CreateProjectProjectsAliasError$Outbound, - z.ZodTypeDef, - CreateProjectProjectsAliasError -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsAliasError$ { - /** @deprecated use `CreateProjectProjectsAliasError$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProjectsAliasError$inboundSchema; - /** @deprecated use `CreateProjectProjectsAliasError$outboundSchema` instead. */ - export const outboundSchema = CreateProjectProjectsAliasError$outboundSchema; - /** @deprecated use `CreateProjectProjectsAliasError$Outbound` instead. */ - export type Outbound = CreateProjectProjectsAliasError$Outbound; -} - -export function createProjectProjectsAliasErrorToJSON( - createProjectProjectsAliasError: CreateProjectProjectsAliasError, -): string { - return JSON.stringify( - CreateProjectProjectsAliasError$outboundSchema.parse( - createProjectProjectsAliasError, - ), - ); -} - -export function createProjectProjectsAliasErrorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectProjectsAliasError$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectProjectsAliasError' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType, - ); - -/** @internal */ -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType - > = - CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$ { - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema; - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema; -} - -/** @internal */ -export const CreateProjectProjectsBranchMatcher$inboundSchema: z.ZodType< - CreateProjectProjectsBranchMatcher, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, - pattern: z.string(), -}); - -/** @internal */ -export type CreateProjectProjectsBranchMatcher$Outbound = { - type: string; - pattern: string; -}; - -/** @internal */ -export const CreateProjectProjectsBranchMatcher$outboundSchema: z.ZodType< - CreateProjectProjectsBranchMatcher$Outbound, - z.ZodTypeDef, - CreateProjectProjectsBranchMatcher -> = z.object({ - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema, - pattern: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsBranchMatcher$ { - /** @deprecated use `CreateProjectProjectsBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProjectsBranchMatcher$inboundSchema; - /** @deprecated use `CreateProjectProjectsBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsBranchMatcher$outboundSchema; - /** @deprecated use `CreateProjectProjectsBranchMatcher$Outbound` instead. */ - export type Outbound = CreateProjectProjectsBranchMatcher$Outbound; -} - -export function createProjectProjectsBranchMatcherToJSON( - createProjectProjectsBranchMatcher: CreateProjectProjectsBranchMatcher, -): string { - return JSON.stringify( - CreateProjectProjectsBranchMatcher$outboundSchema.parse( - createProjectProjectsBranchMatcher, - ), - ); -} - -export function createProjectProjectsBranchMatcherFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectProjectsBranchMatcher' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectProjectsBuilds$inboundSchema: z.ZodType< - CreateProjectProjectsBuilds, - z.ZodTypeDef, - unknown -> = z.object({ - use: z.string(), - src: z.string().optional(), - dest: z.string().optional(), -}); - -/** @internal */ -export type CreateProjectProjectsBuilds$Outbound = { - use: string; - src?: string | undefined; - dest?: string | undefined; -}; - -/** @internal */ -export const CreateProjectProjectsBuilds$outboundSchema: z.ZodType< - CreateProjectProjectsBuilds$Outbound, - z.ZodTypeDef, - CreateProjectProjectsBuilds -> = z.object({ - use: z.string(), - src: z.string().optional(), - dest: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsBuilds$ { - /** @deprecated use `CreateProjectProjectsBuilds$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProjectsBuilds$inboundSchema; - /** @deprecated use `CreateProjectProjectsBuilds$outboundSchema` instead. */ - export const outboundSchema = CreateProjectProjectsBuilds$outboundSchema; - /** @deprecated use `CreateProjectProjectsBuilds$Outbound` instead. */ - export type Outbound = CreateProjectProjectsBuilds$Outbound; -} - -export function createProjectProjectsBuildsToJSON( - createProjectProjectsBuilds: CreateProjectProjectsBuilds, -): string { - return JSON.stringify( - CreateProjectProjectsBuilds$outboundSchema.parse( - createProjectProjectsBuilds, - ), - ); -} - -export function createProjectProjectsBuildsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectProjectsBuilds$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectProjectsBuilds' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectProjectsChecksConclusion$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectProjectsChecksConclusion, - ); - -/** @internal */ -export const CreateProjectProjectsChecksConclusion$outboundSchema: - z.ZodNativeEnum = - CreateProjectProjectsChecksConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsChecksConclusion$ { - /** @deprecated use `CreateProjectProjectsChecksConclusion$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsChecksConclusion$inboundSchema; - /** @deprecated use `CreateProjectProjectsChecksConclusion$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsChecksConclusion$outboundSchema; -} - -/** @internal */ -export const CreateProjectProjectsChecksState$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectProjectsChecksState -> = z.nativeEnum(CreateProjectProjectsChecksState); - -/** @internal */ -export const CreateProjectProjectsChecksState$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectProjectsChecksState -> = CreateProjectProjectsChecksState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsChecksState$ { - /** @deprecated use `CreateProjectProjectsChecksState$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProjectsChecksState$inboundSchema; - /** @deprecated use `CreateProjectProjectsChecksState$outboundSchema` instead. */ - export const outboundSchema = CreateProjectProjectsChecksState$outboundSchema; -} - -/** @internal */ -export const CreateProjectProjectsCreator$inboundSchema: z.ZodType< - CreateProjectProjectsCreator, - z.ZodTypeDef, - unknown -> = z.object({ - email: z.string(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), - uid: z.string(), - username: z.string(), -}); - -/** @internal */ -export type CreateProjectProjectsCreator$Outbound = { - email: string; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; - uid: string; - username: string; -}; - -/** @internal */ -export const CreateProjectProjectsCreator$outboundSchema: z.ZodType< - CreateProjectProjectsCreator$Outbound, - z.ZodTypeDef, - CreateProjectProjectsCreator -> = z.object({ - email: z.string(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), - uid: z.string(), - username: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsCreator$ { - /** @deprecated use `CreateProjectProjectsCreator$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProjectsCreator$inboundSchema; - /** @deprecated use `CreateProjectProjectsCreator$outboundSchema` instead. */ - export const outboundSchema = CreateProjectProjectsCreator$outboundSchema; - /** @deprecated use `CreateProjectProjectsCreator$Outbound` instead. */ - export type Outbound = CreateProjectProjectsCreator$Outbound; -} - -export function createProjectProjectsCreatorToJSON( - createProjectProjectsCreator: CreateProjectProjectsCreator, -): string { - return JSON.stringify( - CreateProjectProjectsCreator$outboundSchema.parse( - createProjectProjectsCreator, - ), - ); -} - -export function createProjectProjectsCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectProjectsCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectProjectsCreator' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectProjectsOidcTokenClaims$inboundSchema: z.ZodType< - CreateProjectProjectsOidcTokenClaims, - z.ZodTypeDef, - unknown -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - owner_id: z.string(), - project: z.string(), - project_id: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); - -/** @internal */ -export type CreateProjectProjectsOidcTokenClaims$Outbound = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - owner_id: string; - project: string; - project_id: string; - environment: string; -}; - -/** @internal */ -export const CreateProjectProjectsOidcTokenClaims$outboundSchema: z.ZodType< - CreateProjectProjectsOidcTokenClaims$Outbound, - z.ZodTypeDef, - CreateProjectProjectsOidcTokenClaims -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - ownerId: z.string(), - project: z.string(), - projectId: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - ownerId: "owner_id", - projectId: "project_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsOidcTokenClaims$ { - /** @deprecated use `CreateProjectProjectsOidcTokenClaims$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsOidcTokenClaims$inboundSchema; - /** @deprecated use `CreateProjectProjectsOidcTokenClaims$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsOidcTokenClaims$outboundSchema; - /** @deprecated use `CreateProjectProjectsOidcTokenClaims$Outbound` instead. */ - export type Outbound = CreateProjectProjectsOidcTokenClaims$Outbound; -} - -export function createProjectProjectsOidcTokenClaimsToJSON( - createProjectProjectsOidcTokenClaims: CreateProjectProjectsOidcTokenClaims, -): string { - return JSON.stringify( - CreateProjectProjectsOidcTokenClaims$outboundSchema.parse( - createProjectProjectsOidcTokenClaims, - ), - ); -} - -export function createProjectProjectsOidcTokenClaimsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectProjectsOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectProjectsOidcTokenClaims' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectProjectsPlan$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectProjectsPlan -> = z.nativeEnum(CreateProjectProjectsPlan); - -/** @internal */ -export const CreateProjectProjectsPlan$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectProjectsPlan -> = CreateProjectProjectsPlan$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsPlan$ { - /** @deprecated use `CreateProjectProjectsPlan$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProjectsPlan$inboundSchema; - /** @deprecated use `CreateProjectProjectsPlan$outboundSchema` instead. */ - export const outboundSchema = CreateProjectProjectsPlan$outboundSchema; -} - -/** @internal */ -export const CreateProjectProjectsReadyState$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectProjectsReadyState -> = z.nativeEnum(CreateProjectProjectsReadyState); - -/** @internal */ -export const CreateProjectProjectsReadyState$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectProjectsReadyState -> = CreateProjectProjectsReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsReadyState$ { - /** @deprecated use `CreateProjectProjectsReadyState$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProjectsReadyState$inboundSchema; - /** @deprecated use `CreateProjectProjectsReadyState$outboundSchema` instead. */ - export const outboundSchema = CreateProjectProjectsReadyState$outboundSchema; -} - -/** @internal */ -export const CreateProjectProjectsReadySubstate$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectProjectsReadySubstate -> = z.nativeEnum(CreateProjectProjectsReadySubstate); - -/** @internal */ -export const CreateProjectProjectsReadySubstate$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectProjectsReadySubstate -> = CreateProjectProjectsReadySubstate$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsReadySubstate$ { - /** @deprecated use `CreateProjectProjectsReadySubstate$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProjectsReadySubstate$inboundSchema; - /** @deprecated use `CreateProjectProjectsReadySubstate$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsReadySubstate$outboundSchema; -} - -/** @internal */ -export const CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum = - z.nativeEnum(CreateProjectProjectsResponse200ApplicationJSONType); - -/** @internal */ -export const CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum = - CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const CreateProjectTargets$inboundSchema: z.ZodType< - CreateProjectTargets, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - aliasError: z.nullable( - z.lazy(() => CreateProjectProjectsAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - branchMatcher: z.lazy(() => CreateProjectProjectsBranchMatcher$inboundSchema) - .optional(), - buildingAt: z.number().optional(), - builds: z.array(z.lazy(() => CreateProjectProjectsBuilds$inboundSchema)) - .optional(), - checksConclusion: CreateProjectProjectsChecksConclusion$inboundSchema - .optional(), - checksState: CreateProjectProjectsChecksState$inboundSchema.optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdAt: z.number(), - createdIn: z.string(), - creator: z.nullable(z.lazy(() => CreateProjectProjectsCreator$inboundSchema)), - deletedAt: z.number().optional(), - deploymentHostname: z.string(), - forced: z.boolean().optional(), - name: z.string(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - oidcTokenClaims: z.lazy(() => - CreateProjectProjectsOidcTokenClaims$inboundSchema - ).optional(), - plan: CreateProjectProjectsPlan$inboundSchema, - previewCommentsEnabled: z.boolean().optional(), - private: z.boolean(), - readyAt: z.number().optional(), - readyState: CreateProjectProjectsReadyState$inboundSchema, - readySubstate: CreateProjectProjectsReadySubstate$inboundSchema.optional(), - requestedAt: z.number().optional(), - target: z.nullable(z.string()).optional(), - teamId: z.nullable(z.string()).optional(), - type: CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema, - url: z.string(), - userId: z.string(), - withCache: z.boolean().optional(), -}); - -/** @internal */ -export type CreateProjectTargets$Outbound = { - id: string; - alias?: Array | undefined; - aliasAssigned?: number | boolean | null | undefined; - aliasError?: CreateProjectProjectsAliasError$Outbound | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - branchMatcher?: CreateProjectProjectsBranchMatcher$Outbound | undefined; - buildingAt?: number | undefined; - builds?: Array | undefined; - checksConclusion?: string | undefined; - checksState?: string | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdAt: number; - createdIn: string; - creator: CreateProjectProjectsCreator$Outbound | null; - deletedAt?: number | undefined; - deploymentHostname: string; - forced?: boolean | undefined; - name: string; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - oidcTokenClaims?: CreateProjectProjectsOidcTokenClaims$Outbound | undefined; - plan: string; - previewCommentsEnabled?: boolean | undefined; - private: boolean; - readyAt?: number | undefined; - readyState: string; - readySubstate?: string | undefined; - requestedAt?: number | undefined; - target?: string | null | undefined; - teamId?: string | null | undefined; - type: string; - url: string; - userId: string; - withCache?: boolean | undefined; -}; - -/** @internal */ -export const CreateProjectTargets$outboundSchema: z.ZodType< - CreateProjectTargets$Outbound, - z.ZodTypeDef, - CreateProjectTargets -> = z.object({ - id: z.string(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - aliasError: z.nullable( - z.lazy(() => CreateProjectProjectsAliasError$outboundSchema), - ).optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - branchMatcher: z.lazy(() => CreateProjectProjectsBranchMatcher$outboundSchema) - .optional(), - buildingAt: z.number().optional(), - builds: z.array(z.lazy(() => CreateProjectProjectsBuilds$outboundSchema)) - .optional(), - checksConclusion: CreateProjectProjectsChecksConclusion$outboundSchema - .optional(), - checksState: CreateProjectProjectsChecksState$outboundSchema.optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdAt: z.number(), - createdIn: z.string(), - creator: z.nullable( - z.lazy(() => CreateProjectProjectsCreator$outboundSchema), - ), - deletedAt: z.number().optional(), - deploymentHostname: z.string(), - forced: z.boolean().optional(), - name: z.string(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - oidcTokenClaims: z.lazy(() => - CreateProjectProjectsOidcTokenClaims$outboundSchema - ).optional(), - plan: CreateProjectProjectsPlan$outboundSchema, - previewCommentsEnabled: z.boolean().optional(), - private: z.boolean(), - readyAt: z.number().optional(), - readyState: CreateProjectProjectsReadyState$outboundSchema, - readySubstate: CreateProjectProjectsReadySubstate$outboundSchema.optional(), - requestedAt: z.number().optional(), - target: z.nullable(z.string()).optional(), - teamId: z.nullable(z.string()).optional(), - type: CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema, - url: z.string(), - userId: z.string(), - withCache: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectTargets$ { - /** @deprecated use `CreateProjectTargets$inboundSchema` instead. */ - export const inboundSchema = CreateProjectTargets$inboundSchema; - /** @deprecated use `CreateProjectTargets$outboundSchema` instead. */ - export const outboundSchema = CreateProjectTargets$outboundSchema; - /** @deprecated use `CreateProjectTargets$Outbound` instead. */ - export type Outbound = CreateProjectTargets$Outbound; -} - -export function createProjectTargetsToJSON( - createProjectTargets: CreateProjectTargets, -): string { - return JSON.stringify( - CreateProjectTargets$outboundSchema.parse(createProjectTargets), - ); -} - -export function createProjectTargetsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectTargets$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectTargets' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectPermissions$inboundSchema: z.ZodType< - CreateProjectPermissions, - z.ZodTypeDef, - unknown -> = z.object({ - accessGroup: z.array(ACLAction$inboundSchema).optional(), - aliasGlobal: z.array(ACLAction$inboundSchema).optional(), - analyticsSampling: z.array(ACLAction$inboundSchema).optional(), - analyticsUsage: z.array(ACLAction$inboundSchema).optional(), - auditLog: z.array(ACLAction$inboundSchema).optional(), - billingAddress: z.array(ACLAction$inboundSchema).optional(), - billingInformation: z.array(ACLAction$inboundSchema).optional(), - billingInvoice: z.array(ACLAction$inboundSchema).optional(), - billingInvoiceEmailRecipient: z.array(ACLAction$inboundSchema).optional(), - billingInvoiceLanguage: z.array(ACLAction$inboundSchema).optional(), - billingPlan: z.array(ACLAction$inboundSchema).optional(), - billingPurchaseOrder: z.array(ACLAction$inboundSchema).optional(), - billingTaxId: z.array(ACLAction$inboundSchema).optional(), - blob: z.array(ACLAction$inboundSchema).optional(), - budget: z.array(ACLAction$inboundSchema).optional(), - cacheArtifact: z.array(ACLAction$inboundSchema).optional(), - cacheArtifactUsageEvent: z.array(ACLAction$inboundSchema).optional(), - codeChecks: z.array(ACLAction$inboundSchema).optional(), - concurrentBuilds: z.array(ACLAction$inboundSchema).optional(), - connect: z.array(ACLAction$inboundSchema).optional(), - connectConfiguration: z.array(ACLAction$inboundSchema).optional(), - domain: z.array(ACLAction$inboundSchema).optional(), - domainAcceptDelegation: z.array(ACLAction$inboundSchema).optional(), - domainAuthCodes: z.array(ACLAction$inboundSchema).optional(), - domainCertificate: z.array(ACLAction$inboundSchema).optional(), - domainCheckConfig: z.array(ACLAction$inboundSchema).optional(), - domainMove: z.array(ACLAction$inboundSchema).optional(), - domainPurchase: z.array(ACLAction$inboundSchema).optional(), - domainRecord: z.array(ACLAction$inboundSchema).optional(), - domainTransferIn: z.array(ACLAction$inboundSchema).optional(), - event: z.array(ACLAction$inboundSchema).optional(), - ownEvent: z.array(ACLAction$inboundSchema).optional(), - sensitiveEnvironmentVariablePolicy: z.array(ACLAction$inboundSchema) - .optional(), - fileUpload: z.array(ACLAction$inboundSchema).optional(), - gitRepository: z.array(ACLAction$inboundSchema).optional(), - ipBlocking: z.array(ACLAction$inboundSchema).optional(), - integration: z.array(ACLAction$inboundSchema).optional(), - integrationAccount: z.array(ACLAction$inboundSchema).optional(), - integrationConfiguration: z.array(ACLAction$inboundSchema).optional(), - integrationConfigurationTransfer: z.array(ACLAction$inboundSchema).optional(), - integrationConfigurationProjects: z.array(ACLAction$inboundSchema).optional(), - integrationVercelConfigurationOverride: z.array(ACLAction$inboundSchema) - .optional(), - integrationConfigurationRole: z.array(ACLAction$inboundSchema).optional(), - integrationResource: z.array(ACLAction$inboundSchema).optional(), - integrationEvent: z.array(ACLAction$inboundSchema).optional(), - integrationResourceSecrets: z.array(ACLAction$inboundSchema).optional(), - integrationDeploymentAction: z.array(ACLAction$inboundSchema).optional(), - marketplaceInstallationMember: z.array(ACLAction$inboundSchema).optional(), - marketplaceBillingData: z.array(ACLAction$inboundSchema).optional(), - marketplaceInvoice: z.array(ACLAction$inboundSchema).optional(), - jobGlobal: z.array(ACLAction$inboundSchema).optional(), - logDrain: z.array(ACLAction$inboundSchema).optional(), - Monitoring: z.array(ACLAction$inboundSchema).optional(), - monitoringSettings: z.array(ACLAction$inboundSchema).optional(), - monitoringQuery: z.array(ACLAction$inboundSchema).optional(), - monitoringChart: z.array(ACLAction$inboundSchema).optional(), - monitoringAlert: z.array(ACLAction$inboundSchema).optional(), - notificationDeploymentFailed: z.array(ACLAction$inboundSchema).optional(), - notificationDomainConfiguration: z.array(ACLAction$inboundSchema).optional(), - notificationDomainExpire: z.array(ACLAction$inboundSchema).optional(), - notificationDomainMoved: z.array(ACLAction$inboundSchema).optional(), - notificationDomainPurchase: z.array(ACLAction$inboundSchema).optional(), - notificationDomainRenewal: z.array(ACLAction$inboundSchema).optional(), - notificationDomainTransfer: z.array(ACLAction$inboundSchema).optional(), - notificationDomainUnverified: z.array(ACLAction$inboundSchema).optional(), - NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(), - notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(), - notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(), - notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), - notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(), - oauth2Connection: z.array(ACLAction$inboundSchema).optional(), - observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(), - openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(), - paymentMethod: z.array(ACLAction$inboundSchema).optional(), - permissions: z.array(ACLAction$inboundSchema).optional(), - postgres: z.array(ACLAction$inboundSchema).optional(), - previewDeploymentSuffix: z.array(ACLAction$inboundSchema).optional(), - proTrialOnboarding: z.array(ACLAction$inboundSchema).optional(), - sharedEnvVars: z.array(ACLAction$inboundSchema).optional(), - sharedEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(), - space: z.array(ACLAction$inboundSchema).optional(), - spaceRun: z.array(ACLAction$inboundSchema).optional(), - passwordProtectionInvoiceItem: z.array(ACLAction$inboundSchema).optional(), - rateLimit: z.array(ACLAction$inboundSchema).optional(), - redis: z.array(ACLAction$inboundSchema).optional(), - repository: z.array(ACLAction$inboundSchema).optional(), - remoteCaching: z.array(ACLAction$inboundSchema).optional(), - samlConfig: z.array(ACLAction$inboundSchema).optional(), - secret: z.array(ACLAction$inboundSchema).optional(), - redisStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), - blobStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), - postgresStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), - integrationStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), - integrationResourceReplCommand: z.array(ACLAction$inboundSchema).optional(), - storeTransfer: z.array(ACLAction$inboundSchema).optional(), - supportCase: z.array(ACLAction$inboundSchema).optional(), - supportCaseComment: z.array(ACLAction$inboundSchema).optional(), - dataCacheBillingSettings: z.array(ACLAction$inboundSchema).optional(), - team: z.array(ACLAction$inboundSchema).optional(), - teamAccessRequest: z.array(ACLAction$inboundSchema).optional(), - teamFellowMembership: z.array(ACLAction$inboundSchema).optional(), - teamGitExclusivity: z.array(ACLAction$inboundSchema).optional(), - teamInvite: z.array(ACLAction$inboundSchema).optional(), - teamInviteCode: z.array(ACLAction$inboundSchema).optional(), - teamJoin: z.array(ACLAction$inboundSchema).optional(), - teamMicrofrontends: z.array(ACLAction$inboundSchema).optional(), - teamOwnMembership: z.array(ACLAction$inboundSchema).optional(), - teamOwnMembershipDisconnectSAML: z.array(ACLAction$inboundSchema).optional(), - token: z.array(ACLAction$inboundSchema).optional(), - usage: z.array(ACLAction$inboundSchema).optional(), - usageCycle: z.array(ACLAction$inboundSchema).optional(), - user: z.array(ACLAction$inboundSchema).optional(), - userConnection: z.array(ACLAction$inboundSchema).optional(), - vpcPeeringConnection: z.array(ACLAction$inboundSchema).optional(), - webAnalyticsPlan: z.array(ACLAction$inboundSchema).optional(), - webAuthn: z.array(ACLAction$inboundSchema).optional(), - edgeConfig: z.array(ACLAction$inboundSchema).optional(), - edgeConfigItem: z.array(ACLAction$inboundSchema).optional(), - edgeConfigSchema: z.array(ACLAction$inboundSchema).optional(), - edgeConfigToken: z.array(ACLAction$inboundSchema).optional(), - webhook: z.array(ACLAction$inboundSchema).optional(), - "webhook-event": z.array(ACLAction$inboundSchema).optional(), - endpointVerification: z.array(ACLAction$inboundSchema).optional(), - projectTransferIn: z.array(ACLAction$inboundSchema).optional(), - oauth2Application: z.array(ACLAction$inboundSchema).optional(), - aliasProject: z.array(ACLAction$inboundSchema).optional(), - aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), - productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), - connectConfigurationLink: z.array(ACLAction$inboundSchema).optional(), - dataCacheNamespace: z.array(ACLAction$inboundSchema).optional(), - deployment: z.array(ACLAction$inboundSchema).optional(), - deploymentCheck: z.array(ACLAction$inboundSchema).optional(), - deploymentCheckPreview: z.array(ACLAction$inboundSchema).optional(), - deploymentCheckReRunFromProductionBranch: z.array(ACLAction$inboundSchema) - .optional(), - deploymentProductionGit: z.array(ACLAction$inboundSchema).optional(), - deploymentV0: z.array(ACLAction$inboundSchema).optional(), - deploymentPreview: z.array(ACLAction$inboundSchema).optional(), - deploymentPrivate: z.array(ACLAction$inboundSchema).optional(), - deploymentPromote: z.array(ACLAction$inboundSchema).optional(), - deploymentRollback: z.array(ACLAction$inboundSchema).optional(), - environments: z.array(ACLAction$inboundSchema).optional(), - logs: z.array(ACLAction$inboundSchema).optional(), - logsPreset: z.array(ACLAction$inboundSchema).optional(), - passwordProtection: z.array(ACLAction$inboundSchema).optional(), - optionsAllowlist: z.array(ACLAction$inboundSchema).optional(), - job: z.array(ACLAction$inboundSchema).optional(), - observabilityData: z.array(ACLAction$inboundSchema).optional(), - project: z.array(ACLAction$inboundSchema).optional(), - projectFromV0: z.array(ACLAction$inboundSchema).optional(), - projectAccessGroup: z.array(ACLAction$inboundSchema).optional(), - projectAnalyticsSampling: z.array(ACLAction$inboundSchema).optional(), - projectDeploymentHook: z.array(ACLAction$inboundSchema).optional(), - projectDomain: z.array(ACLAction$inboundSchema).optional(), - projectDomainMove: z.array(ACLAction$inboundSchema).optional(), - projectDomainCheckConfig: z.array(ACLAction$inboundSchema).optional(), - projectEnvVars: z.array(ACLAction$inboundSchema).optional(), - projectEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(), - projectEnvVarsUnownedByIntegration: z.array(ACLAction$inboundSchema) - .optional(), - projectFlags: z.array(ACLAction$inboundSchema).optional(), - projectId: z.array(ACLAction$inboundSchema).optional(), - projectIntegrationConfiguration: z.array(ACLAction$inboundSchema).optional(), - projectLink: z.array(ACLAction$inboundSchema).optional(), - projectMember: z.array(ACLAction$inboundSchema).optional(), - projectMonitoring: z.array(ACLAction$inboundSchema).optional(), - projectPermissions: z.array(ACLAction$inboundSchema).optional(), - projectProductionBranch: z.array(ACLAction$inboundSchema).optional(), - projectTransfer: z.array(ACLAction$inboundSchema).optional(), - projectTransferOut: z.array(ACLAction$inboundSchema).optional(), - projectProtectionBypass: z.array(ACLAction$inboundSchema).optional(), - projectUsage: z.array(ACLAction$inboundSchema).optional(), - projectAnalyticsUsage: z.array(ACLAction$inboundSchema).optional(), - projectSupportCase: z.array(ACLAction$inboundSchema).optional(), - projectSupportCaseComment: z.array(ACLAction$inboundSchema).optional(), - projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(), - projectTier: z.array(ACLAction$inboundSchema).optional(), - seawallConfig: z.array(ACLAction$inboundSchema).optional(), - skewProtection: z.array(ACLAction$inboundSchema).optional(), - analytics: z.array(ACLAction$inboundSchema).optional(), - trustedIps: z.array(ACLAction$inboundSchema).optional(), - webAnalytics: z.array(ACLAction$inboundSchema).optional(), - sharedEnvVarConnection: z.array(ACLAction$inboundSchema).optional(), - sonar: z.array(ACLAction$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "Monitoring": "monitoring", - "NotificationMonitoringAlert": "notificationMonitoringAlert", - "webhook-event": "webhookEvent", - }); -}); - -/** @internal */ -export type CreateProjectPermissions$Outbound = { - accessGroup?: Array | undefined; - aliasGlobal?: Array | undefined; - analyticsSampling?: Array | undefined; - analyticsUsage?: Array | undefined; - auditLog?: Array | undefined; - billingAddress?: Array | undefined; - billingInformation?: Array | undefined; - billingInvoice?: Array | undefined; - billingInvoiceEmailRecipient?: Array | undefined; - billingInvoiceLanguage?: Array | undefined; - billingPlan?: Array | undefined; - billingPurchaseOrder?: Array | undefined; - billingTaxId?: Array | undefined; - blob?: Array | undefined; - budget?: Array | undefined; - cacheArtifact?: Array | undefined; - cacheArtifactUsageEvent?: Array | undefined; - codeChecks?: Array | undefined; - concurrentBuilds?: Array | undefined; - connect?: Array | undefined; - connectConfiguration?: Array | undefined; - domain?: Array | undefined; - domainAcceptDelegation?: Array | undefined; - domainAuthCodes?: Array | undefined; - domainCertificate?: Array | undefined; - domainCheckConfig?: Array | undefined; - domainMove?: Array | undefined; - domainPurchase?: Array | undefined; - domainRecord?: Array | undefined; - domainTransferIn?: Array | undefined; - event?: Array | undefined; - ownEvent?: Array | undefined; - sensitiveEnvironmentVariablePolicy?: Array | undefined; - fileUpload?: Array | undefined; - gitRepository?: Array | undefined; - ipBlocking?: Array | undefined; - integration?: Array | undefined; - integrationAccount?: Array | undefined; - integrationConfiguration?: Array | undefined; - integrationConfigurationTransfer?: Array | undefined; - integrationConfigurationProjects?: Array | undefined; - integrationVercelConfigurationOverride?: Array | undefined; - integrationConfigurationRole?: Array | undefined; - integrationResource?: Array | undefined; - integrationEvent?: Array | undefined; - integrationResourceSecrets?: Array | undefined; - integrationDeploymentAction?: Array | undefined; - marketplaceInstallationMember?: Array | undefined; - marketplaceBillingData?: Array | undefined; - marketplaceInvoice?: Array | undefined; - jobGlobal?: Array | undefined; - logDrain?: Array | undefined; - Monitoring?: Array | undefined; - monitoringSettings?: Array | undefined; - monitoringQuery?: Array | undefined; - monitoringChart?: Array | undefined; - monitoringAlert?: Array | undefined; - notificationDeploymentFailed?: Array | undefined; - notificationDomainConfiguration?: Array | undefined; - notificationDomainExpire?: Array | undefined; - notificationDomainMoved?: Array | undefined; - notificationDomainPurchase?: Array | undefined; - notificationDomainRenewal?: Array | undefined; - notificationDomainTransfer?: Array | undefined; - notificationDomainUnverified?: Array | undefined; - NotificationMonitoringAlert?: Array | undefined; - notificationPaymentFailed?: Array | undefined; - notificationUsageAlert?: Array | undefined; - notificationCustomerBudget?: Array | undefined; - notificationStatementOfReasons?: Array | undefined; - oauth2Connection?: Array | undefined; - observabilityConfiguration?: Array | undefined; - openTelemetryEndpoint?: Array | undefined; - paymentMethod?: Array | undefined; - permissions?: Array | undefined; - postgres?: Array | undefined; - previewDeploymentSuffix?: Array | undefined; - proTrialOnboarding?: Array | undefined; - sharedEnvVars?: Array | undefined; - sharedEnvVarsProduction?: Array | undefined; - space?: Array | undefined; - spaceRun?: Array | undefined; - passwordProtectionInvoiceItem?: Array | undefined; - rateLimit?: Array | undefined; - redis?: Array | undefined; - repository?: Array | undefined; - remoteCaching?: Array | undefined; - samlConfig?: Array | undefined; - secret?: Array | undefined; - redisStoreTokenSet?: Array | undefined; - blobStoreTokenSet?: Array | undefined; - postgresStoreTokenSet?: Array | undefined; - integrationStoreTokenSet?: Array | undefined; - integrationResourceReplCommand?: Array | undefined; - storeTransfer?: Array | undefined; - supportCase?: Array | undefined; - supportCaseComment?: Array | undefined; - dataCacheBillingSettings?: Array | undefined; - team?: Array | undefined; - teamAccessRequest?: Array | undefined; - teamFellowMembership?: Array | undefined; - teamGitExclusivity?: Array | undefined; - teamInvite?: Array | undefined; - teamInviteCode?: Array | undefined; - teamJoin?: Array | undefined; - teamMicrofrontends?: Array | undefined; - teamOwnMembership?: Array | undefined; - teamOwnMembershipDisconnectSAML?: Array | undefined; - token?: Array | undefined; - usage?: Array | undefined; - usageCycle?: Array | undefined; - user?: Array | undefined; - userConnection?: Array | undefined; - vpcPeeringConnection?: Array | undefined; - webAnalyticsPlan?: Array | undefined; - webAuthn?: Array | undefined; - edgeConfig?: Array | undefined; - edgeConfigItem?: Array | undefined; - edgeConfigSchema?: Array | undefined; - edgeConfigToken?: Array | undefined; - webhook?: Array | undefined; - "webhook-event"?: Array | undefined; - endpointVerification?: Array | undefined; - projectTransferIn?: Array | undefined; - oauth2Application?: Array | undefined; - aliasProject?: Array | undefined; - aliasProtectionBypass?: Array | undefined; - productionAliasProtectionBypass?: Array | undefined; - connectConfigurationLink?: Array | undefined; - dataCacheNamespace?: Array | undefined; - deployment?: Array | undefined; - deploymentCheck?: Array | undefined; - deploymentCheckPreview?: Array | undefined; - deploymentCheckReRunFromProductionBranch?: Array | undefined; - deploymentProductionGit?: Array | undefined; - deploymentV0?: Array | undefined; - deploymentPreview?: Array | undefined; - deploymentPrivate?: Array | undefined; - deploymentPromote?: Array | undefined; - deploymentRollback?: Array | undefined; - environments?: Array | undefined; - logs?: Array | undefined; - logsPreset?: Array | undefined; - passwordProtection?: Array | undefined; - optionsAllowlist?: Array | undefined; - job?: Array | undefined; - observabilityData?: Array | undefined; - project?: Array | undefined; - projectFromV0?: Array | undefined; - projectAccessGroup?: Array | undefined; - projectAnalyticsSampling?: Array | undefined; - projectDeploymentHook?: Array | undefined; - projectDomain?: Array | undefined; - projectDomainMove?: Array | undefined; - projectDomainCheckConfig?: Array | undefined; - projectEnvVars?: Array | undefined; - projectEnvVarsProduction?: Array | undefined; - projectEnvVarsUnownedByIntegration?: Array | undefined; - projectFlags?: Array | undefined; - projectId?: Array | undefined; - projectIntegrationConfiguration?: Array | undefined; - projectLink?: Array | undefined; - projectMember?: Array | undefined; - projectMonitoring?: Array | undefined; - projectPermissions?: Array | undefined; - projectProductionBranch?: Array | undefined; - projectTransfer?: Array | undefined; - projectTransferOut?: Array | undefined; - projectProtectionBypass?: Array | undefined; - projectUsage?: Array | undefined; - projectAnalyticsUsage?: Array | undefined; - projectSupportCase?: Array | undefined; - projectSupportCaseComment?: Array | undefined; - projectDeploymentExpiration?: Array | undefined; - projectTier?: Array | undefined; - seawallConfig?: Array | undefined; - skewProtection?: Array | undefined; - analytics?: Array | undefined; - trustedIps?: Array | undefined; - webAnalytics?: Array | undefined; - sharedEnvVarConnection?: Array | undefined; - sonar?: Array | undefined; -}; - -/** @internal */ -export const CreateProjectPermissions$outboundSchema: z.ZodType< - CreateProjectPermissions$Outbound, - z.ZodTypeDef, - CreateProjectPermissions -> = z.object({ - accessGroup: z.array(ACLAction$outboundSchema).optional(), - aliasGlobal: z.array(ACLAction$outboundSchema).optional(), - analyticsSampling: z.array(ACLAction$outboundSchema).optional(), - analyticsUsage: z.array(ACLAction$outboundSchema).optional(), - auditLog: z.array(ACLAction$outboundSchema).optional(), - billingAddress: z.array(ACLAction$outboundSchema).optional(), - billingInformation: z.array(ACLAction$outboundSchema).optional(), - billingInvoice: z.array(ACLAction$outboundSchema).optional(), - billingInvoiceEmailRecipient: z.array(ACLAction$outboundSchema).optional(), - billingInvoiceLanguage: z.array(ACLAction$outboundSchema).optional(), - billingPlan: z.array(ACLAction$outboundSchema).optional(), - billingPurchaseOrder: z.array(ACLAction$outboundSchema).optional(), - billingTaxId: z.array(ACLAction$outboundSchema).optional(), - blob: z.array(ACLAction$outboundSchema).optional(), - budget: z.array(ACLAction$outboundSchema).optional(), - cacheArtifact: z.array(ACLAction$outboundSchema).optional(), - cacheArtifactUsageEvent: z.array(ACLAction$outboundSchema).optional(), - codeChecks: z.array(ACLAction$outboundSchema).optional(), - concurrentBuilds: z.array(ACLAction$outboundSchema).optional(), - connect: z.array(ACLAction$outboundSchema).optional(), - connectConfiguration: z.array(ACLAction$outboundSchema).optional(), - domain: z.array(ACLAction$outboundSchema).optional(), - domainAcceptDelegation: z.array(ACLAction$outboundSchema).optional(), - domainAuthCodes: z.array(ACLAction$outboundSchema).optional(), - domainCertificate: z.array(ACLAction$outboundSchema).optional(), - domainCheckConfig: z.array(ACLAction$outboundSchema).optional(), - domainMove: z.array(ACLAction$outboundSchema).optional(), - domainPurchase: z.array(ACLAction$outboundSchema).optional(), - domainRecord: z.array(ACLAction$outboundSchema).optional(), - domainTransferIn: z.array(ACLAction$outboundSchema).optional(), - event: z.array(ACLAction$outboundSchema).optional(), - ownEvent: z.array(ACLAction$outboundSchema).optional(), - sensitiveEnvironmentVariablePolicy: z.array(ACLAction$outboundSchema) - .optional(), - fileUpload: z.array(ACLAction$outboundSchema).optional(), - gitRepository: z.array(ACLAction$outboundSchema).optional(), - ipBlocking: z.array(ACLAction$outboundSchema).optional(), - integration: z.array(ACLAction$outboundSchema).optional(), - integrationAccount: z.array(ACLAction$outboundSchema).optional(), - integrationConfiguration: z.array(ACLAction$outboundSchema).optional(), - integrationConfigurationTransfer: z.array(ACLAction$outboundSchema) - .optional(), - integrationConfigurationProjects: z.array(ACLAction$outboundSchema) - .optional(), - integrationVercelConfigurationOverride: z.array(ACLAction$outboundSchema) - .optional(), - integrationConfigurationRole: z.array(ACLAction$outboundSchema).optional(), - integrationResource: z.array(ACLAction$outboundSchema).optional(), - integrationEvent: z.array(ACLAction$outboundSchema).optional(), - integrationResourceSecrets: z.array(ACLAction$outboundSchema).optional(), - integrationDeploymentAction: z.array(ACLAction$outboundSchema).optional(), - marketplaceInstallationMember: z.array(ACLAction$outboundSchema).optional(), - marketplaceBillingData: z.array(ACLAction$outboundSchema).optional(), - marketplaceInvoice: z.array(ACLAction$outboundSchema).optional(), - jobGlobal: z.array(ACLAction$outboundSchema).optional(), - logDrain: z.array(ACLAction$outboundSchema).optional(), - monitoring: z.array(ACLAction$outboundSchema).optional(), - monitoringSettings: z.array(ACLAction$outboundSchema).optional(), - monitoringQuery: z.array(ACLAction$outboundSchema).optional(), - monitoringChart: z.array(ACLAction$outboundSchema).optional(), - monitoringAlert: z.array(ACLAction$outboundSchema).optional(), - notificationDeploymentFailed: z.array(ACLAction$outboundSchema).optional(), - notificationDomainConfiguration: z.array(ACLAction$outboundSchema).optional(), - notificationDomainExpire: z.array(ACLAction$outboundSchema).optional(), - notificationDomainMoved: z.array(ACLAction$outboundSchema).optional(), - notificationDomainPurchase: z.array(ACLAction$outboundSchema).optional(), - notificationDomainRenewal: z.array(ACLAction$outboundSchema).optional(), - notificationDomainTransfer: z.array(ACLAction$outboundSchema).optional(), - notificationDomainUnverified: z.array(ACLAction$outboundSchema).optional(), - notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(), - notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(), - notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(), - notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), - notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(), - oauth2Connection: z.array(ACLAction$outboundSchema).optional(), - observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(), - openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(), - paymentMethod: z.array(ACLAction$outboundSchema).optional(), - permissions: z.array(ACLAction$outboundSchema).optional(), - postgres: z.array(ACLAction$outboundSchema).optional(), - previewDeploymentSuffix: z.array(ACLAction$outboundSchema).optional(), - proTrialOnboarding: z.array(ACLAction$outboundSchema).optional(), - sharedEnvVars: z.array(ACLAction$outboundSchema).optional(), - sharedEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(), - space: z.array(ACLAction$outboundSchema).optional(), - spaceRun: z.array(ACLAction$outboundSchema).optional(), - passwordProtectionInvoiceItem: z.array(ACLAction$outboundSchema).optional(), - rateLimit: z.array(ACLAction$outboundSchema).optional(), - redis: z.array(ACLAction$outboundSchema).optional(), - repository: z.array(ACLAction$outboundSchema).optional(), - remoteCaching: z.array(ACLAction$outboundSchema).optional(), - samlConfig: z.array(ACLAction$outboundSchema).optional(), - secret: z.array(ACLAction$outboundSchema).optional(), - redisStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), - blobStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), - postgresStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), - integrationStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), - integrationResourceReplCommand: z.array(ACLAction$outboundSchema).optional(), - storeTransfer: z.array(ACLAction$outboundSchema).optional(), - supportCase: z.array(ACLAction$outboundSchema).optional(), - supportCaseComment: z.array(ACLAction$outboundSchema).optional(), - dataCacheBillingSettings: z.array(ACLAction$outboundSchema).optional(), - team: z.array(ACLAction$outboundSchema).optional(), - teamAccessRequest: z.array(ACLAction$outboundSchema).optional(), - teamFellowMembership: z.array(ACLAction$outboundSchema).optional(), - teamGitExclusivity: z.array(ACLAction$outboundSchema).optional(), - teamInvite: z.array(ACLAction$outboundSchema).optional(), - teamInviteCode: z.array(ACLAction$outboundSchema).optional(), - teamJoin: z.array(ACLAction$outboundSchema).optional(), - teamMicrofrontends: z.array(ACLAction$outboundSchema).optional(), - teamOwnMembership: z.array(ACLAction$outboundSchema).optional(), - teamOwnMembershipDisconnectSAML: z.array(ACLAction$outboundSchema).optional(), - token: z.array(ACLAction$outboundSchema).optional(), - usage: z.array(ACLAction$outboundSchema).optional(), - usageCycle: z.array(ACLAction$outboundSchema).optional(), - user: z.array(ACLAction$outboundSchema).optional(), - userConnection: z.array(ACLAction$outboundSchema).optional(), - vpcPeeringConnection: z.array(ACLAction$outboundSchema).optional(), - webAnalyticsPlan: z.array(ACLAction$outboundSchema).optional(), - webAuthn: z.array(ACLAction$outboundSchema).optional(), - edgeConfig: z.array(ACLAction$outboundSchema).optional(), - edgeConfigItem: z.array(ACLAction$outboundSchema).optional(), - edgeConfigSchema: z.array(ACLAction$outboundSchema).optional(), - edgeConfigToken: z.array(ACLAction$outboundSchema).optional(), - webhook: z.array(ACLAction$outboundSchema).optional(), - webhookEvent: z.array(ACLAction$outboundSchema).optional(), - endpointVerification: z.array(ACLAction$outboundSchema).optional(), - projectTransferIn: z.array(ACLAction$outboundSchema).optional(), - oauth2Application: z.array(ACLAction$outboundSchema).optional(), - aliasProject: z.array(ACLAction$outboundSchema).optional(), - aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), - productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), - connectConfigurationLink: z.array(ACLAction$outboundSchema).optional(), - dataCacheNamespace: z.array(ACLAction$outboundSchema).optional(), - deployment: z.array(ACLAction$outboundSchema).optional(), - deploymentCheck: z.array(ACLAction$outboundSchema).optional(), - deploymentCheckPreview: z.array(ACLAction$outboundSchema).optional(), - deploymentCheckReRunFromProductionBranch: z.array(ACLAction$outboundSchema) - .optional(), - deploymentProductionGit: z.array(ACLAction$outboundSchema).optional(), - deploymentV0: z.array(ACLAction$outboundSchema).optional(), - deploymentPreview: z.array(ACLAction$outboundSchema).optional(), - deploymentPrivate: z.array(ACLAction$outboundSchema).optional(), - deploymentPromote: z.array(ACLAction$outboundSchema).optional(), - deploymentRollback: z.array(ACLAction$outboundSchema).optional(), - environments: z.array(ACLAction$outboundSchema).optional(), - logs: z.array(ACLAction$outboundSchema).optional(), - logsPreset: z.array(ACLAction$outboundSchema).optional(), - passwordProtection: z.array(ACLAction$outboundSchema).optional(), - optionsAllowlist: z.array(ACLAction$outboundSchema).optional(), - job: z.array(ACLAction$outboundSchema).optional(), - observabilityData: z.array(ACLAction$outboundSchema).optional(), - project: z.array(ACLAction$outboundSchema).optional(), - projectFromV0: z.array(ACLAction$outboundSchema).optional(), - projectAccessGroup: z.array(ACLAction$outboundSchema).optional(), - projectAnalyticsSampling: z.array(ACLAction$outboundSchema).optional(), - projectDeploymentHook: z.array(ACLAction$outboundSchema).optional(), - projectDomain: z.array(ACLAction$outboundSchema).optional(), - projectDomainMove: z.array(ACLAction$outboundSchema).optional(), - projectDomainCheckConfig: z.array(ACLAction$outboundSchema).optional(), - projectEnvVars: z.array(ACLAction$outboundSchema).optional(), - projectEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(), - projectEnvVarsUnownedByIntegration: z.array(ACLAction$outboundSchema) - .optional(), - projectFlags: z.array(ACLAction$outboundSchema).optional(), - projectId: z.array(ACLAction$outboundSchema).optional(), - projectIntegrationConfiguration: z.array(ACLAction$outboundSchema).optional(), - projectLink: z.array(ACLAction$outboundSchema).optional(), - projectMember: z.array(ACLAction$outboundSchema).optional(), - projectMonitoring: z.array(ACLAction$outboundSchema).optional(), - projectPermissions: z.array(ACLAction$outboundSchema).optional(), - projectProductionBranch: z.array(ACLAction$outboundSchema).optional(), - projectTransfer: z.array(ACLAction$outboundSchema).optional(), - projectTransferOut: z.array(ACLAction$outboundSchema).optional(), - projectProtectionBypass: z.array(ACLAction$outboundSchema).optional(), - projectUsage: z.array(ACLAction$outboundSchema).optional(), - projectAnalyticsUsage: z.array(ACLAction$outboundSchema).optional(), - projectSupportCase: z.array(ACLAction$outboundSchema).optional(), - projectSupportCaseComment: z.array(ACLAction$outboundSchema).optional(), - projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(), - projectTier: z.array(ACLAction$outboundSchema).optional(), - seawallConfig: z.array(ACLAction$outboundSchema).optional(), - skewProtection: z.array(ACLAction$outboundSchema).optional(), - analytics: z.array(ACLAction$outboundSchema).optional(), - trustedIps: z.array(ACLAction$outboundSchema).optional(), - webAnalytics: z.array(ACLAction$outboundSchema).optional(), - sharedEnvVarConnection: z.array(ACLAction$outboundSchema).optional(), - sonar: z.array(ACLAction$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - monitoring: "Monitoring", - notificationMonitoringAlert: "NotificationMonitoringAlert", - webhookEvent: "webhook-event", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectPermissions$ { - /** @deprecated use `CreateProjectPermissions$inboundSchema` instead. */ - export const inboundSchema = CreateProjectPermissions$inboundSchema; - /** @deprecated use `CreateProjectPermissions$outboundSchema` instead. */ - export const outboundSchema = CreateProjectPermissions$outboundSchema; - /** @deprecated use `CreateProjectPermissions$Outbound` instead. */ - export type Outbound = CreateProjectPermissions$Outbound; -} - -export function createProjectPermissionsToJSON( - createProjectPermissions: CreateProjectPermissions, -): string { - return JSON.stringify( - CreateProjectPermissions$outboundSchema.parse(createProjectPermissions), - ); -} - -export function createProjectPermissionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectPermissions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectPermissions' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectLastRollbackTarget$inboundSchema: z.ZodType< - CreateProjectLastRollbackTarget, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type CreateProjectLastRollbackTarget$Outbound = {}; - -/** @internal */ -export const CreateProjectLastRollbackTarget$outboundSchema: z.ZodType< - CreateProjectLastRollbackTarget$Outbound, - z.ZodTypeDef, - CreateProjectLastRollbackTarget -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLastRollbackTarget$ { - /** @deprecated use `CreateProjectLastRollbackTarget$inboundSchema` instead. */ - export const inboundSchema = CreateProjectLastRollbackTarget$inboundSchema; - /** @deprecated use `CreateProjectLastRollbackTarget$outboundSchema` instead. */ - export const outboundSchema = CreateProjectLastRollbackTarget$outboundSchema; - /** @deprecated use `CreateProjectLastRollbackTarget$Outbound` instead. */ - export type Outbound = CreateProjectLastRollbackTarget$Outbound; -} - -export function createProjectLastRollbackTargetToJSON( - createProjectLastRollbackTarget: CreateProjectLastRollbackTarget, -): string { - return JSON.stringify( - CreateProjectLastRollbackTarget$outboundSchema.parse( - createProjectLastRollbackTarget, - ), - ); -} - -export function createProjectLastRollbackTargetFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectLastRollbackTarget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectLastRollbackTarget' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectJobStatus$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectJobStatus -> = z.nativeEnum(CreateProjectJobStatus); - -/** @internal */ -export const CreateProjectJobStatus$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectJobStatus -> = CreateProjectJobStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectJobStatus$ { - /** @deprecated use `CreateProjectJobStatus$inboundSchema` instead. */ - export const inboundSchema = CreateProjectJobStatus$inboundSchema; - /** @deprecated use `CreateProjectJobStatus$outboundSchema` instead. */ - export const outboundSchema = CreateProjectJobStatus$outboundSchema; -} - -/** @internal */ -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodyType, - ); - -/** @internal */ -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType - > = - CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - -/** @internal */ -export const CreateProjectLastAliasRequest$inboundSchema: z.ZodType< - CreateProjectLastAliasRequest, - z.ZodTypeDef, - unknown -> = z.object({ - fromDeploymentId: z.string(), - toDeploymentId: z.string(), - jobStatus: CreateProjectJobStatus$inboundSchema, - requestedAt: z.number(), - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, -}); - -/** @internal */ -export type CreateProjectLastAliasRequest$Outbound = { - fromDeploymentId: string; - toDeploymentId: string; - jobStatus: string; - requestedAt: number; - type: string; -}; - -/** @internal */ -export const CreateProjectLastAliasRequest$outboundSchema: z.ZodType< - CreateProjectLastAliasRequest$Outbound, - z.ZodTypeDef, - CreateProjectLastAliasRequest -> = z.object({ - fromDeploymentId: z.string(), - toDeploymentId: z.string(), - jobStatus: CreateProjectJobStatus$outboundSchema, - requestedAt: z.number(), - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLastAliasRequest$ { - /** @deprecated use `CreateProjectLastAliasRequest$inboundSchema` instead. */ - export const inboundSchema = CreateProjectLastAliasRequest$inboundSchema; - /** @deprecated use `CreateProjectLastAliasRequest$outboundSchema` instead. */ - export const outboundSchema = CreateProjectLastAliasRequest$outboundSchema; - /** @deprecated use `CreateProjectLastAliasRequest$Outbound` instead. */ - export type Outbound = CreateProjectLastAliasRequest$Outbound; -} - -export function createProjectLastAliasRequestToJSON( - createProjectLastAliasRequest: CreateProjectLastAliasRequest, -): string { - return JSON.stringify( - CreateProjectLastAliasRequest$outboundSchema.parse( - createProjectLastAliasRequest, - ), - ); -} - -export function createProjectLastAliasRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectLastAliasRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectLastAliasRequest' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectScope$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectScope -> = z.nativeEnum(CreateProjectScope); - -/** @internal */ -export const CreateProjectScope$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectScope -> = CreateProjectScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectScope$ { - /** @deprecated use `CreateProjectScope$inboundSchema` instead. */ - export const inboundSchema = CreateProjectScope$inboundSchema; - /** @deprecated use `CreateProjectScope$outboundSchema` instead. */ - export const outboundSchema = CreateProjectScope$outboundSchema; -} - -/** @internal */ -export const CreateProjectProtectionBypass$inboundSchema: z.ZodType< - CreateProjectProtectionBypass, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: CreateProjectScope$inboundSchema, -}); - -/** @internal */ -export type CreateProjectProtectionBypass$Outbound = { - createdAt: number; - createdBy: string; - scope: string; -}; - -/** @internal */ -export const CreateProjectProtectionBypass$outboundSchema: z.ZodType< - CreateProjectProtectionBypass$Outbound, - z.ZodTypeDef, - CreateProjectProtectionBypass -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: CreateProjectScope$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProtectionBypass$ { - /** @deprecated use `CreateProjectProtectionBypass$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProtectionBypass$inboundSchema; - /** @deprecated use `CreateProjectProtectionBypass$outboundSchema` instead. */ - export const outboundSchema = CreateProjectProtectionBypass$outboundSchema; - /** @deprecated use `CreateProjectProtectionBypass$Outbound` instead. */ - export type Outbound = CreateProjectProtectionBypass$Outbound; -} - -export function createProjectProtectionBypassToJSON( - createProjectProtectionBypass: CreateProjectProtectionBypass, -): string { - return JSON.stringify( - CreateProjectProtectionBypass$outboundSchema.parse( - createProjectProtectionBypass, - ), - ); -} - -export function createProjectProtectionBypassFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectProtectionBypass$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectProtectionBypass' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectTrustedIpsProjectsDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectTrustedIpsProjectsDeploymentType); - -/** @internal */ -export const CreateProjectTrustedIpsProjectsDeploymentType$outboundSchema: - z.ZodNativeEnum = - CreateProjectTrustedIpsProjectsDeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectTrustedIpsProjectsDeploymentType$ { - /** @deprecated use `CreateProjectTrustedIpsProjectsDeploymentType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectTrustedIpsProjectsDeploymentType$inboundSchema; - /** @deprecated use `CreateProjectTrustedIpsProjectsDeploymentType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectTrustedIpsProjectsDeploymentType$outboundSchema; -} - -/** @internal */ -export const CreateProjectTrustedIps2$inboundSchema: z.ZodType< - CreateProjectTrustedIps2, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentType: CreateProjectTrustedIpsProjectsDeploymentType$inboundSchema, -}); - -/** @internal */ -export type CreateProjectTrustedIps2$Outbound = { - deploymentType: string; -}; - -/** @internal */ -export const CreateProjectTrustedIps2$outboundSchema: z.ZodType< - CreateProjectTrustedIps2$Outbound, - z.ZodTypeDef, - CreateProjectTrustedIps2 -> = z.object({ - deploymentType: CreateProjectTrustedIpsProjectsDeploymentType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectTrustedIps2$ { - /** @deprecated use `CreateProjectTrustedIps2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectTrustedIps2$inboundSchema; - /** @deprecated use `CreateProjectTrustedIps2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectTrustedIps2$outboundSchema; - /** @deprecated use `CreateProjectTrustedIps2$Outbound` instead. */ - export type Outbound = CreateProjectTrustedIps2$Outbound; -} - -export function createProjectTrustedIps2ToJSON( - createProjectTrustedIps2: CreateProjectTrustedIps2, -): string { - return JSON.stringify( - CreateProjectTrustedIps2$outboundSchema.parse(createProjectTrustedIps2), - ); -} - -export function createProjectTrustedIps2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectTrustedIps2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectTrustedIps2' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectTrustedIpsDeploymentType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectTrustedIpsDeploymentType, - ); - -/** @internal */ -export const CreateProjectTrustedIpsDeploymentType$outboundSchema: - z.ZodNativeEnum = - CreateProjectTrustedIpsDeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectTrustedIpsDeploymentType$ { - /** @deprecated use `CreateProjectTrustedIpsDeploymentType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectTrustedIpsDeploymentType$inboundSchema; - /** @deprecated use `CreateProjectTrustedIpsDeploymentType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectTrustedIpsDeploymentType$outboundSchema; -} - -/** @internal */ -export const TrustedIpsAddresses$inboundSchema: z.ZodType< - TrustedIpsAddresses, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.string(), - note: z.string().optional(), -}); - -/** @internal */ -export type TrustedIpsAddresses$Outbound = { - value: string; - note?: string | undefined; -}; - -/** @internal */ -export const TrustedIpsAddresses$outboundSchema: z.ZodType< - TrustedIpsAddresses$Outbound, - z.ZodTypeDef, - TrustedIpsAddresses -> = z.object({ - value: z.string(), - note: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TrustedIpsAddresses$ { - /** @deprecated use `TrustedIpsAddresses$inboundSchema` instead. */ - export const inboundSchema = TrustedIpsAddresses$inboundSchema; - /** @deprecated use `TrustedIpsAddresses$outboundSchema` instead. */ - export const outboundSchema = TrustedIpsAddresses$outboundSchema; - /** @deprecated use `TrustedIpsAddresses$Outbound` instead. */ - export type Outbound = TrustedIpsAddresses$Outbound; -} - -export function trustedIpsAddressesToJSON( - trustedIpsAddresses: TrustedIpsAddresses, -): string { - return JSON.stringify( - TrustedIpsAddresses$outboundSchema.parse(trustedIpsAddresses), - ); -} - -export function trustedIpsAddressesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TrustedIpsAddresses$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TrustedIpsAddresses' from JSON`, - ); -} - -/** @internal */ -export const TrustedIpsProtectionMode$inboundSchema: z.ZodNativeEnum< - typeof TrustedIpsProtectionMode -> = z.nativeEnum(TrustedIpsProtectionMode); - -/** @internal */ -export const TrustedIpsProtectionMode$outboundSchema: z.ZodNativeEnum< - typeof TrustedIpsProtectionMode -> = TrustedIpsProtectionMode$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TrustedIpsProtectionMode$ { - /** @deprecated use `TrustedIpsProtectionMode$inboundSchema` instead. */ - export const inboundSchema = TrustedIpsProtectionMode$inboundSchema; - /** @deprecated use `TrustedIpsProtectionMode$outboundSchema` instead. */ - export const outboundSchema = TrustedIpsProtectionMode$outboundSchema; -} - -/** @internal */ -export const CreateProjectTrustedIps1$inboundSchema: z.ZodType< - CreateProjectTrustedIps1, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentType: CreateProjectTrustedIpsDeploymentType$inboundSchema, - addresses: z.array(z.lazy(() => TrustedIpsAddresses$inboundSchema)), - protectionMode: TrustedIpsProtectionMode$inboundSchema, -}); - -/** @internal */ -export type CreateProjectTrustedIps1$Outbound = { - deploymentType: string; - addresses: Array; - protectionMode: string; -}; - -/** @internal */ -export const CreateProjectTrustedIps1$outboundSchema: z.ZodType< - CreateProjectTrustedIps1$Outbound, - z.ZodTypeDef, - CreateProjectTrustedIps1 -> = z.object({ - deploymentType: CreateProjectTrustedIpsDeploymentType$outboundSchema, - addresses: z.array(z.lazy(() => TrustedIpsAddresses$outboundSchema)), - protectionMode: TrustedIpsProtectionMode$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectTrustedIps1$ { - /** @deprecated use `CreateProjectTrustedIps1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectTrustedIps1$inboundSchema; - /** @deprecated use `CreateProjectTrustedIps1$outboundSchema` instead. */ - export const outboundSchema = CreateProjectTrustedIps1$outboundSchema; - /** @deprecated use `CreateProjectTrustedIps1$Outbound` instead. */ - export type Outbound = CreateProjectTrustedIps1$Outbound; -} - -export function createProjectTrustedIps1ToJSON( - createProjectTrustedIps1: CreateProjectTrustedIps1, -): string { - return JSON.stringify( - CreateProjectTrustedIps1$outboundSchema.parse(createProjectTrustedIps1), - ); -} - -export function createProjectTrustedIps1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectTrustedIps1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectTrustedIps1' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectTrustedIps$inboundSchema: z.ZodType< - CreateProjectTrustedIps, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CreateProjectTrustedIps2$inboundSchema), - z.lazy(() => CreateProjectTrustedIps1$inboundSchema), -]); - -/** @internal */ -export type CreateProjectTrustedIps$Outbound = - | CreateProjectTrustedIps2$Outbound - | CreateProjectTrustedIps1$Outbound; - -/** @internal */ -export const CreateProjectTrustedIps$outboundSchema: z.ZodType< - CreateProjectTrustedIps$Outbound, - z.ZodTypeDef, - CreateProjectTrustedIps -> = z.union([ - z.lazy(() => CreateProjectTrustedIps2$outboundSchema), - z.lazy(() => CreateProjectTrustedIps1$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectTrustedIps$ { - /** @deprecated use `CreateProjectTrustedIps$inboundSchema` instead. */ - export const inboundSchema = CreateProjectTrustedIps$inboundSchema; - /** @deprecated use `CreateProjectTrustedIps$outboundSchema` instead. */ - export const outboundSchema = CreateProjectTrustedIps$outboundSchema; - /** @deprecated use `CreateProjectTrustedIps$Outbound` instead. */ - export type Outbound = CreateProjectTrustedIps$Outbound; -} - -export function createProjectTrustedIpsToJSON( - createProjectTrustedIps: CreateProjectTrustedIps, -): string { - return JSON.stringify( - CreateProjectTrustedIps$outboundSchema.parse(createProjectTrustedIps), - ); -} - -export function createProjectTrustedIpsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectTrustedIps$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectTrustedIps' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectGitComments$inboundSchema: z.ZodType< - CreateProjectGitComments, - z.ZodTypeDef, - unknown -> = z.object({ - onPullRequest: z.boolean(), - onCommit: z.boolean(), -}); - -/** @internal */ -export type CreateProjectGitComments$Outbound = { - onPullRequest: boolean; - onCommit: boolean; -}; - -/** @internal */ -export const CreateProjectGitComments$outboundSchema: z.ZodType< - CreateProjectGitComments$Outbound, - z.ZodTypeDef, - CreateProjectGitComments -> = z.object({ - onPullRequest: z.boolean(), - onCommit: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectGitComments$ { - /** @deprecated use `CreateProjectGitComments$inboundSchema` instead. */ - export const inboundSchema = CreateProjectGitComments$inboundSchema; - /** @deprecated use `CreateProjectGitComments$outboundSchema` instead. */ - export const outboundSchema = CreateProjectGitComments$outboundSchema; - /** @deprecated use `CreateProjectGitComments$Outbound` instead. */ - export type Outbound = CreateProjectGitComments$Outbound; -} - -export function createProjectGitCommentsToJSON( - createProjectGitComments: CreateProjectGitComments, -): string { - return JSON.stringify( - CreateProjectGitComments$outboundSchema.parse(createProjectGitComments), - ); -} - -export function createProjectGitCommentsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectGitComments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectGitComments' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectWebAnalytics$inboundSchema: z.ZodType< - CreateProjectWebAnalytics, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); - -/** @internal */ -export type CreateProjectWebAnalytics$Outbound = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; -}; - -/** @internal */ -export const CreateProjectWebAnalytics$outboundSchema: z.ZodType< - CreateProjectWebAnalytics$Outbound, - z.ZodTypeDef, - CreateProjectWebAnalytics -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectWebAnalytics$ { - /** @deprecated use `CreateProjectWebAnalytics$inboundSchema` instead. */ - export const inboundSchema = CreateProjectWebAnalytics$inboundSchema; - /** @deprecated use `CreateProjectWebAnalytics$outboundSchema` instead. */ - export const outboundSchema = CreateProjectWebAnalytics$outboundSchema; - /** @deprecated use `CreateProjectWebAnalytics$Outbound` instead. */ - export type Outbound = CreateProjectWebAnalytics$Outbound; -} - -export function createProjectWebAnalyticsToJSON( - createProjectWebAnalytics: CreateProjectWebAnalytics, -): string { - return JSON.stringify( - CreateProjectWebAnalytics$outboundSchema.parse(createProjectWebAnalytics), - ); -} - -export function createProjectWebAnalyticsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectWebAnalytics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectWebAnalytics' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectSrc2$inboundSchema: z.ZodType< - CreateProjectSrc2, - z.ZodTypeDef, - unknown -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** @internal */ -export type CreateProjectSrc2$Outbound = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -/** @internal */ -export const CreateProjectSrc2$outboundSchema: z.ZodType< - CreateProjectSrc2$Outbound, - z.ZodTypeDef, - CreateProjectSrc2 -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectSrc2$ { - /** @deprecated use `CreateProjectSrc2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectSrc2$inboundSchema; - /** @deprecated use `CreateProjectSrc2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectSrc2$outboundSchema; - /** @deprecated use `CreateProjectSrc2$Outbound` instead. */ - export type Outbound = CreateProjectSrc2$Outbound; -} - -export function createProjectSrc2ToJSON( - createProjectSrc2: CreateProjectSrc2, -): string { - return JSON.stringify( - CreateProjectSrc2$outboundSchema.parse(createProjectSrc2), - ); -} - -export function createProjectSrc2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectSrc2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectSrc2' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectSrc$inboundSchema: z.ZodType< - CreateProjectSrc, - z.ZodTypeDef, - unknown -> = z.union([z.lazy(() => CreateProjectSrc2$inboundSchema), z.string()]); - -/** @internal */ -export type CreateProjectSrc$Outbound = CreateProjectSrc2$Outbound | string; - -/** @internal */ -export const CreateProjectSrc$outboundSchema: z.ZodType< - CreateProjectSrc$Outbound, - z.ZodTypeDef, - CreateProjectSrc -> = z.union([z.lazy(() => CreateProjectSrc2$outboundSchema), z.string()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectSrc$ { - /** @deprecated use `CreateProjectSrc$inboundSchema` instead. */ - export const inboundSchema = CreateProjectSrc$inboundSchema; - /** @deprecated use `CreateProjectSrc$outboundSchema` instead. */ - export const outboundSchema = CreateProjectSrc$outboundSchema; - /** @deprecated use `CreateProjectSrc$Outbound` instead. */ - export type Outbound = CreateProjectSrc$Outbound; -} - -export function createProjectSrcToJSON( - createProjectSrc: CreateProjectSrc, -): string { - return JSON.stringify( - CreateProjectSrc$outboundSchema.parse(createProjectSrc), - ); -} - -export function createProjectSrcFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectSrc$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectSrc' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType, - ); - -/** @internal */ -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType - > = - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$ { - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema; - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema; -} - -/** @internal */ -export const CreateProjectValue2$inboundSchema: z.ZodType< - CreateProjectValue2, - z.ZodTypeDef, - unknown -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** @internal */ -export type CreateProjectValue2$Outbound = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -/** @internal */ -export const CreateProjectValue2$outboundSchema: z.ZodType< - CreateProjectValue2$Outbound, - z.ZodTypeDef, - CreateProjectValue2 -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectValue2$ { - /** @deprecated use `CreateProjectValue2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectValue2$inboundSchema; - /** @deprecated use `CreateProjectValue2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectValue2$outboundSchema; - /** @deprecated use `CreateProjectValue2$Outbound` instead. */ - export type Outbound = CreateProjectValue2$Outbound; -} - -export function createProjectValue2ToJSON( - createProjectValue2: CreateProjectValue2, -): string { - return JSON.stringify( - CreateProjectValue2$outboundSchema.parse(createProjectValue2), - ); -} - -export function createProjectValue2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectValue2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectValue2' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectValue$inboundSchema: z.ZodType< - CreateProjectValue, - z.ZodTypeDef, - unknown -> = z.union([z.lazy(() => CreateProjectValue2$inboundSchema), z.string()]); - -/** @internal */ -export type CreateProjectValue$Outbound = CreateProjectValue2$Outbound | string; - -/** @internal */ -export const CreateProjectValue$outboundSchema: z.ZodType< - CreateProjectValue$Outbound, - z.ZodTypeDef, - CreateProjectValue -> = z.union([z.lazy(() => CreateProjectValue2$outboundSchema), z.string()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectValue$ { - /** @deprecated use `CreateProjectValue$inboundSchema` instead. */ - export const inboundSchema = CreateProjectValue$inboundSchema; - /** @deprecated use `CreateProjectValue$outboundSchema` instead. */ - export const outboundSchema = CreateProjectValue$outboundSchema; - /** @deprecated use `CreateProjectValue$Outbound` instead. */ - export type Outbound = CreateProjectValue$Outbound; -} - -export function createProjectValueToJSON( - createProjectValue: CreateProjectValue, -): string { - return JSON.stringify( - CreateProjectValue$outboundSchema.parse(createProjectValue), - ); -} - -export function createProjectValueFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectValue$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectValue' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectHas$inboundSchema: z.ZodType< - CreateProjectHas, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema, - key: z.string().optional(), - value: z.union([z.lazy(() => CreateProjectValue2$inboundSchema), z.string()]) - .optional(), -}); - -/** @internal */ -export type CreateProjectHas$Outbound = { - type: string; - key?: string | undefined; - value?: CreateProjectValue2$Outbound | string | undefined; -}; - -/** @internal */ -export const CreateProjectHas$outboundSchema: z.ZodType< - CreateProjectHas$Outbound, - z.ZodTypeDef, - CreateProjectHas -> = z.object({ - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema, - key: z.string().optional(), - value: z.union([z.lazy(() => CreateProjectValue2$outboundSchema), z.string()]) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHas$ { - /** @deprecated use `CreateProjectHas$inboundSchema` instead. */ - export const inboundSchema = CreateProjectHas$inboundSchema; - /** @deprecated use `CreateProjectHas$outboundSchema` instead. */ - export const outboundSchema = CreateProjectHas$outboundSchema; - /** @deprecated use `CreateProjectHas$Outbound` instead. */ - export type Outbound = CreateProjectHas$Outbound; -} - -export function createProjectHasToJSON( - createProjectHas: CreateProjectHas, -): string { - return JSON.stringify( - CreateProjectHas$outboundSchema.parse(createProjectHas), - ); -} - -export function createProjectHasFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectHas$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectHas' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType, - ); - -/** @internal */ -export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType - > = - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$ { - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema; - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema; -} - -/** @internal */ -export const CreateProjectValueProjects2$inboundSchema: z.ZodType< - CreateProjectValueProjects2, - z.ZodTypeDef, - unknown -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** @internal */ -export type CreateProjectValueProjects2$Outbound = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -/** @internal */ -export const CreateProjectValueProjects2$outboundSchema: z.ZodType< - CreateProjectValueProjects2$Outbound, - z.ZodTypeDef, - CreateProjectValueProjects2 -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectValueProjects2$ { - /** @deprecated use `CreateProjectValueProjects2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectValueProjects2$inboundSchema; - /** @deprecated use `CreateProjectValueProjects2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectValueProjects2$outboundSchema; - /** @deprecated use `CreateProjectValueProjects2$Outbound` instead. */ - export type Outbound = CreateProjectValueProjects2$Outbound; -} - -export function createProjectValueProjects2ToJSON( - createProjectValueProjects2: CreateProjectValueProjects2, -): string { - return JSON.stringify( - CreateProjectValueProjects2$outboundSchema.parse( - createProjectValueProjects2, - ), - ); -} - -export function createProjectValueProjects2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectValueProjects2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectValueProjects2' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectProjectsValue$inboundSchema: z.ZodType< - CreateProjectProjectsValue, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CreateProjectValueProjects2$inboundSchema), - z.string(), -]); - -/** @internal */ -export type CreateProjectProjectsValue$Outbound = - | CreateProjectValueProjects2$Outbound - | string; - -/** @internal */ -export const CreateProjectProjectsValue$outboundSchema: z.ZodType< - CreateProjectProjectsValue$Outbound, - z.ZodTypeDef, - CreateProjectProjectsValue -> = z.union([ - z.lazy(() => CreateProjectValueProjects2$outboundSchema), - z.string(), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsValue$ { - /** @deprecated use `CreateProjectProjectsValue$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProjectsValue$inboundSchema; - /** @deprecated use `CreateProjectProjectsValue$outboundSchema` instead. */ - export const outboundSchema = CreateProjectProjectsValue$outboundSchema; - /** @deprecated use `CreateProjectProjectsValue$Outbound` instead. */ - export type Outbound = CreateProjectProjectsValue$Outbound; -} - -export function createProjectProjectsValueToJSON( - createProjectProjectsValue: CreateProjectProjectsValue, -): string { - return JSON.stringify( - CreateProjectProjectsValue$outboundSchema.parse(createProjectProjectsValue), - ); -} - -export function createProjectProjectsValueFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectProjectsValue$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectProjectsValue' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectMissing$inboundSchema: z.ZodType< - CreateProjectMissing, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema, - key: z.string().optional(), - value: z.union([ - z.lazy(() => CreateProjectValueProjects2$inboundSchema), - z.string(), - ]).optional(), -}); - -/** @internal */ -export type CreateProjectMissing$Outbound = { - type: string; - key?: string | undefined; - value?: CreateProjectValueProjects2$Outbound | string | undefined; -}; - -/** @internal */ -export const CreateProjectMissing$outboundSchema: z.ZodType< - CreateProjectMissing$Outbound, - z.ZodTypeDef, - CreateProjectMissing -> = z.object({ - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema, - key: z.string().optional(), - value: z.union([ - z.lazy(() => CreateProjectValueProjects2$outboundSchema), - z.string(), - ]).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectMissing$ { - /** @deprecated use `CreateProjectMissing$inboundSchema` instead. */ - export const inboundSchema = CreateProjectMissing$inboundSchema; - /** @deprecated use `CreateProjectMissing$outboundSchema` instead. */ - export const outboundSchema = CreateProjectMissing$outboundSchema; - /** @deprecated use `CreateProjectMissing$Outbound` instead. */ - export type Outbound = CreateProjectMissing$Outbound; -} - -export function createProjectMissingToJSON( - createProjectMissing: CreateProjectMissing, -): string { - return JSON.stringify( - CreateProjectMissing$outboundSchema.parse(createProjectMissing), - ); -} - -export function createProjectMissingFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectMissing$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectMissing' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectHandle$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectHandle -> = z.nativeEnum(CreateProjectHandle); - -/** @internal */ -export const CreateProjectHandle$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectHandle -> = CreateProjectHandle$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHandle$ { - /** @deprecated use `CreateProjectHandle$inboundSchema` instead. */ - export const inboundSchema = CreateProjectHandle$inboundSchema; - /** @deprecated use `CreateProjectHandle$outboundSchema` instead. */ - export const outboundSchema = CreateProjectHandle$outboundSchema; -} - -/** @internal */ -export const CreateProjectAction$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectAction -> = z.nativeEnum(CreateProjectAction); - -/** @internal */ -export const CreateProjectAction$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectAction -> = CreateProjectAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectAction$ { - /** @deprecated use `CreateProjectAction$inboundSchema` instead. */ - export const inboundSchema = CreateProjectAction$inboundSchema; - /** @deprecated use `CreateProjectAction$outboundSchema` instead. */ - export const outboundSchema = CreateProjectAction$outboundSchema; -} - -/** @internal */ -export const CreateProjectAlgo$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectAlgo -> = z.nativeEnum(CreateProjectAlgo); - -/** @internal */ -export const CreateProjectAlgo$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectAlgo -> = CreateProjectAlgo$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectAlgo$ { - /** @deprecated use `CreateProjectAlgo$inboundSchema` instead. */ - export const inboundSchema = CreateProjectAlgo$inboundSchema; - /** @deprecated use `CreateProjectAlgo$outboundSchema` instead. */ - export const outboundSchema = CreateProjectAlgo$outboundSchema; -} - -/** @internal */ -export const CreateProjectErl$inboundSchema: z.ZodType< - CreateProjectErl, - z.ZodTypeDef, - unknown -> = z.object({ - algo: CreateProjectAlgo$inboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), -}); - -/** @internal */ -export type CreateProjectErl$Outbound = { - algo: string; - window: number; - limit: number; - keys: Array; -}; - -/** @internal */ -export const CreateProjectErl$outboundSchema: z.ZodType< - CreateProjectErl$Outbound, - z.ZodTypeDef, - CreateProjectErl -> = z.object({ - algo: CreateProjectAlgo$outboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectErl$ { - /** @deprecated use `CreateProjectErl$inboundSchema` instead. */ - export const inboundSchema = CreateProjectErl$inboundSchema; - /** @deprecated use `CreateProjectErl$outboundSchema` instead. */ - export const outboundSchema = CreateProjectErl$outboundSchema; - /** @deprecated use `CreateProjectErl$Outbound` instead. */ - export type Outbound = CreateProjectErl$Outbound; -} - -export function createProjectErlToJSON( - createProjectErl: CreateProjectErl, -): string { - return JSON.stringify( - CreateProjectErl$outboundSchema.parse(createProjectErl), - ); -} - -export function createProjectErlFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectErl$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectErl' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectMitigate$inboundSchema: z.ZodType< - CreateProjectMitigate, - z.ZodTypeDef, - unknown -> = z.object({ - action: CreateProjectAction$inboundSchema, - rule_id: z.string(), - ttl: z.number().optional(), - erl: z.lazy(() => CreateProjectErl$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "rule_id": "ruleId", - }); -}); - -/** @internal */ -export type CreateProjectMitigate$Outbound = { - action: string; - rule_id: string; - ttl?: number | undefined; - erl?: CreateProjectErl$Outbound | undefined; -}; - -/** @internal */ -export const CreateProjectMitigate$outboundSchema: z.ZodType< - CreateProjectMitigate$Outbound, - z.ZodTypeDef, - CreateProjectMitigate -> = z.object({ - action: CreateProjectAction$outboundSchema, - ruleId: z.string(), - ttl: z.number().optional(), - erl: z.lazy(() => CreateProjectErl$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - ruleId: "rule_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectMitigate$ { - /** @deprecated use `CreateProjectMitigate$inboundSchema` instead. */ - export const inboundSchema = CreateProjectMitigate$inboundSchema; - /** @deprecated use `CreateProjectMitigate$outboundSchema` instead. */ - export const outboundSchema = CreateProjectMitigate$outboundSchema; - /** @deprecated use `CreateProjectMitigate$Outbound` instead. */ - export type Outbound = CreateProjectMitigate$Outbound; -} - -export function createProjectMitigateToJSON( - createProjectMitigate: CreateProjectMitigate, -): string { - return JSON.stringify( - CreateProjectMitigate$outboundSchema.parse(createProjectMitigate), - ); -} - -export function createProjectMitigateFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectMitigate$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectMitigate' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectFirewallRoutes$inboundSchema: z.ZodType< - CreateProjectFirewallRoutes, - z.ZodTypeDef, - unknown -> = z.object({ - src: z.union([z.lazy(() => CreateProjectSrc2$inboundSchema), z.string()]) - .optional(), - has: z.array(z.lazy(() => CreateProjectHas$inboundSchema)).optional(), - missing: z.array(z.lazy(() => CreateProjectMissing$inboundSchema)).optional(), - dest: z.string().optional(), - status: z.number().optional(), - handle: CreateProjectHandle$inboundSchema.optional(), - mitigate: z.lazy(() => CreateProjectMitigate$inboundSchema).optional(), -}); - -/** @internal */ -export type CreateProjectFirewallRoutes$Outbound = { - src?: CreateProjectSrc2$Outbound | string | undefined; - has?: Array | undefined; - missing?: Array | undefined; - dest?: string | undefined; - status?: number | undefined; - handle?: string | undefined; - mitigate?: CreateProjectMitigate$Outbound | undefined; -}; - -/** @internal */ -export const CreateProjectFirewallRoutes$outboundSchema: z.ZodType< - CreateProjectFirewallRoutes$Outbound, - z.ZodTypeDef, - CreateProjectFirewallRoutes -> = z.object({ - src: z.union([z.lazy(() => CreateProjectSrc2$outboundSchema), z.string()]) - .optional(), - has: z.array(z.lazy(() => CreateProjectHas$outboundSchema)).optional(), - missing: z.array(z.lazy(() => CreateProjectMissing$outboundSchema)) - .optional(), - dest: z.string().optional(), - status: z.number().optional(), - handle: CreateProjectHandle$outboundSchema.optional(), - mitigate: z.lazy(() => CreateProjectMitigate$outboundSchema).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectFirewallRoutes$ { - /** @deprecated use `CreateProjectFirewallRoutes$inboundSchema` instead. */ - export const inboundSchema = CreateProjectFirewallRoutes$inboundSchema; - /** @deprecated use `CreateProjectFirewallRoutes$outboundSchema` instead. */ - export const outboundSchema = CreateProjectFirewallRoutes$outboundSchema; - /** @deprecated use `CreateProjectFirewallRoutes$Outbound` instead. */ - export type Outbound = CreateProjectFirewallRoutes$Outbound; -} - -export function createProjectFirewallRoutesToJSON( - createProjectFirewallRoutes: CreateProjectFirewallRoutes, -): string { - return JSON.stringify( - CreateProjectFirewallRoutes$outboundSchema.parse( - createProjectFirewallRoutes, - ), - ); -} - -export function createProjectFirewallRoutesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectFirewallRoutes$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectFirewallRoutes' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectSecurity$inboundSchema: z.ZodType< - CreateProjectSecurity, - z.ZodTypeDef, - unknown -> = z.object({ - attackModeEnabled: z.boolean().optional(), - attackModeUpdatedAt: z.number().optional(), - firewallEnabled: z.boolean().optional(), - firewallUpdatedAt: z.number().optional(), - attackModeActiveUntil: z.nullable(z.number()).optional(), - firewallConfigVersion: z.number().optional(), - firewallRoutes: z.array( - z.lazy(() => CreateProjectFirewallRoutes$inboundSchema), - ).optional(), - firewallSeawallEnabled: z.boolean().optional(), - ja3Enabled: z.boolean().optional(), - ja4Enabled: z.boolean().optional(), - firewallBypassIps: z.array(z.string()).optional(), -}); - -/** @internal */ -export type CreateProjectSecurity$Outbound = { - attackModeEnabled?: boolean | undefined; - attackModeUpdatedAt?: number | undefined; - firewallEnabled?: boolean | undefined; - firewallUpdatedAt?: number | undefined; - attackModeActiveUntil?: number | null | undefined; - firewallConfigVersion?: number | undefined; - firewallRoutes?: Array | undefined; - firewallSeawallEnabled?: boolean | undefined; - ja3Enabled?: boolean | undefined; - ja4Enabled?: boolean | undefined; - firewallBypassIps?: Array | undefined; -}; - -/** @internal */ -export const CreateProjectSecurity$outboundSchema: z.ZodType< - CreateProjectSecurity$Outbound, - z.ZodTypeDef, - CreateProjectSecurity -> = z.object({ - attackModeEnabled: z.boolean().optional(), - attackModeUpdatedAt: z.number().optional(), - firewallEnabled: z.boolean().optional(), - firewallUpdatedAt: z.number().optional(), - attackModeActiveUntil: z.nullable(z.number()).optional(), - firewallConfigVersion: z.number().optional(), - firewallRoutes: z.array( - z.lazy(() => CreateProjectFirewallRoutes$outboundSchema), - ).optional(), - firewallSeawallEnabled: z.boolean().optional(), - ja3Enabled: z.boolean().optional(), - ja4Enabled: z.boolean().optional(), - firewallBypassIps: z.array(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectSecurity$ { - /** @deprecated use `CreateProjectSecurity$inboundSchema` instead. */ - export const inboundSchema = CreateProjectSecurity$inboundSchema; - /** @deprecated use `CreateProjectSecurity$outboundSchema` instead. */ - export const outboundSchema = CreateProjectSecurity$outboundSchema; - /** @deprecated use `CreateProjectSecurity$Outbound` instead. */ - export type Outbound = CreateProjectSecurity$Outbound; -} - -export function createProjectSecurityToJSON( - createProjectSecurity: CreateProjectSecurity, -): string { - return JSON.stringify( - CreateProjectSecurity$outboundSchema.parse(createProjectSecurity), - ); -} - -export function createProjectSecurityFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectSecurity$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectSecurity' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectIssuerMode$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectIssuerMode -> = z.nativeEnum(CreateProjectIssuerMode); - -/** @internal */ -export const CreateProjectIssuerMode$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectIssuerMode -> = CreateProjectIssuerMode$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectIssuerMode$ { - /** @deprecated use `CreateProjectIssuerMode$inboundSchema` instead. */ - export const inboundSchema = CreateProjectIssuerMode$inboundSchema; - /** @deprecated use `CreateProjectIssuerMode$outboundSchema` instead. */ - export const outboundSchema = CreateProjectIssuerMode$outboundSchema; -} - -/** @internal */ -export const CreateProjectOidcTokenConfig$inboundSchema: z.ZodType< - CreateProjectOidcTokenConfig, - z.ZodTypeDef, - unknown -> = z.object({ - enabled: z.boolean(), - issuerMode: CreateProjectIssuerMode$inboundSchema.optional(), -}); - -/** @internal */ -export type CreateProjectOidcTokenConfig$Outbound = { - enabled: boolean; - issuerMode?: string | undefined; -}; - -/** @internal */ -export const CreateProjectOidcTokenConfig$outboundSchema: z.ZodType< - CreateProjectOidcTokenConfig$Outbound, - z.ZodTypeDef, - CreateProjectOidcTokenConfig -> = z.object({ - enabled: z.boolean(), - issuerMode: CreateProjectIssuerMode$outboundSchema.optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectOidcTokenConfig$ { - /** @deprecated use `CreateProjectOidcTokenConfig$inboundSchema` instead. */ - export const inboundSchema = CreateProjectOidcTokenConfig$inboundSchema; - /** @deprecated use `CreateProjectOidcTokenConfig$outboundSchema` instead. */ - export const outboundSchema = CreateProjectOidcTokenConfig$outboundSchema; - /** @deprecated use `CreateProjectOidcTokenConfig$Outbound` instead. */ - export type Outbound = CreateProjectOidcTokenConfig$Outbound; -} - -export function createProjectOidcTokenConfigToJSON( - createProjectOidcTokenConfig: CreateProjectOidcTokenConfig, -): string { - return JSON.stringify( - CreateProjectOidcTokenConfig$outboundSchema.parse( - createProjectOidcTokenConfig, - ), - ); -} - -export function createProjectOidcTokenConfigFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectOidcTokenConfig$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectOidcTokenConfig' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectTier$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectTier -> = z.nativeEnum(CreateProjectTier); - -/** @internal */ -export const CreateProjectTier$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectTier -> = CreateProjectTier$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectTier$ { - /** @deprecated use `CreateProjectTier$inboundSchema` instead. */ - export const inboundSchema = CreateProjectTier$inboundSchema; - /** @deprecated use `CreateProjectTier$outboundSchema` instead. */ - export const outboundSchema = CreateProjectTier$outboundSchema; -} - -/** @internal */ -export const CreateProjectResponseBody$inboundSchema: z.ZodType< - CreateProjectResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - accountId: z.string(), - analytics: z.lazy(() => CreateProjectAnalytics$inboundSchema).optional(), - speedInsights: z.lazy(() => CreateProjectSpeedInsights$inboundSchema) - .optional(), - autoExposeSystemEnvs: z.boolean().optional(), - autoAssignCustomDomains: z.boolean().optional(), - autoAssignCustomDomainsUpdatedBy: z.string().optional(), - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - connectConfigurationId: z.nullable(z.string()).optional(), - connectBuildsEnabled: z.boolean().optional(), - createdAt: z.number().optional(), - customerSupportCodeVisibility: z.boolean().optional(), - crons: z.lazy(() => CreateProjectCrons$inboundSchema).optional(), - dataCache: z.lazy(() => CreateProjectDataCache$inboundSchema).optional(), - deploymentExpiration: z.nullable( - z.lazy(() => CreateProjectDeploymentExpiration$inboundSchema), - ).optional(), - devCommand: z.nullable(z.string()).optional(), - directoryListing: z.boolean(), - installCommand: z.nullable(z.string()).optional(), - env: z.array(z.lazy(() => CreateProjectEnv$inboundSchema)).optional(), - customEnvironments: z.array( - z.lazy(() => CreateProjectCustomEnvironments$inboundSchema), - ).optional(), - framework: z.nullable(CreateProjectProjectsFramework$inboundSchema) - .optional(), - gitForkProtection: z.boolean().optional(), - gitLFS: z.boolean().optional(), - id: z.string(), - ipBuckets: z.array(z.lazy(() => CreateProjectIpBuckets$inboundSchema)) - .optional(), - latestDeployments: z.array( - z.lazy(() => CreateProjectLatestDeployments$inboundSchema), - ).optional(), - link: z.union([ - z.lazy(() => CreateProjectLink1$inboundSchema), - z.lazy(() => CreateProjectLink3$inboundSchema), - z.lazy(() => CreateProjectLink2$inboundSchema), - ]).optional(), - microfrontends: z.lazy(() => CreateProjectMicrofrontends$inboundSchema) - .optional(), - name: z.string(), - nodeVersion: CreateProjectNodeVersion$inboundSchema, - optionsAllowlist: z.nullable( - z.lazy(() => CreateProjectOptionsAllowlist$inboundSchema), - ).optional(), - outputDirectory: z.nullable(z.string()).optional(), - passiveConnectConfigurationId: z.nullable(z.string()).optional(), - passwordProtection: z.nullable( - z.lazy(() => CreateProjectPasswordProtection$inboundSchema), - ).optional(), - productionDeploymentsFastLane: z.boolean().optional(), - publicSource: z.nullable(z.boolean()).optional(), - resourceConfig: z.lazy(() => CreateProjectResourceConfig$inboundSchema) - .optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - serverlessFunctionZeroConfigFailover: z.boolean().optional(), - skewProtectionBoundaryAt: z.number().optional(), - skewProtectionMaxAge: z.number().optional(), - skipGitConnectDuringLink: z.boolean().optional(), - sourceFilesOutsideRootDirectory: z.boolean().optional(), - enableAffectedProjectsDeployments: z.boolean().optional(), - ssoProtection: z.nullable( - z.lazy(() => CreateProjectSsoProtection$inboundSchema), - ).optional(), - targets: z.record(z.lazy(() => CreateProjectTargets$inboundSchema)) - .optional(), - transferCompletedAt: z.number().optional(), - transferStartedAt: z.number().optional(), - transferToAccountId: z.string().optional(), - transferredFromAccountId: z.string().optional(), - updatedAt: z.number().optional(), - live: z.boolean().optional(), - enablePreviewFeedback: z.nullable(z.boolean()).optional(), - enableProductionFeedback: z.nullable(z.boolean()).optional(), - permissions: z.lazy(() => CreateProjectPermissions$inboundSchema).optional(), - lastRollbackTarget: z.nullable( - z.lazy(() => CreateProjectLastRollbackTarget$inboundSchema), - ).optional(), - lastAliasRequest: z.nullable( - z.lazy(() => CreateProjectLastAliasRequest$inboundSchema), - ).optional(), - hasFloatingAliases: z.boolean().optional(), - protectionBypass: z.record( - z.lazy(() => CreateProjectProtectionBypass$inboundSchema), - ).optional(), - hasActiveBranches: z.boolean().optional(), - trustedIps: z.nullable( - z.union([ - z.lazy(() => CreateProjectTrustedIps2$inboundSchema), - z.lazy(() => CreateProjectTrustedIps1$inboundSchema), - ]), - ).optional(), - gitComments: z.lazy(() => CreateProjectGitComments$inboundSchema).optional(), - paused: z.boolean().optional(), - concurrencyBucketName: z.string().optional(), - webAnalytics: z.lazy(() => CreateProjectWebAnalytics$inboundSchema) - .optional(), - security: z.lazy(() => CreateProjectSecurity$inboundSchema).optional(), - oidcTokenConfig: z.lazy(() => CreateProjectOidcTokenConfig$inboundSchema) - .optional(), - tier: CreateProjectTier$inboundSchema.optional(), -}); - -/** @internal */ -export type CreateProjectResponseBody$Outbound = { - accountId: string; - analytics?: CreateProjectAnalytics$Outbound | undefined; - speedInsights?: CreateProjectSpeedInsights$Outbound | undefined; - autoExposeSystemEnvs?: boolean | undefined; - autoAssignCustomDomains?: boolean | undefined; - autoAssignCustomDomainsUpdatedBy?: string | undefined; - buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - connectConfigurationId?: string | null | undefined; - connectBuildsEnabled?: boolean | undefined; - createdAt?: number | undefined; - customerSupportCodeVisibility?: boolean | undefined; - crons?: CreateProjectCrons$Outbound | undefined; - dataCache?: CreateProjectDataCache$Outbound | undefined; - deploymentExpiration?: - | CreateProjectDeploymentExpiration$Outbound - | null - | undefined; - devCommand?: string | null | undefined; - directoryListing: boolean; - installCommand?: string | null | undefined; - env?: Array | undefined; - customEnvironments?: - | Array - | undefined; - framework?: string | null | undefined; - gitForkProtection?: boolean | undefined; - gitLFS?: boolean | undefined; - id: string; - ipBuckets?: Array | undefined; - latestDeployments?: - | Array - | undefined; - link?: - | CreateProjectLink1$Outbound - | CreateProjectLink3$Outbound - | CreateProjectLink2$Outbound - | undefined; - microfrontends?: CreateProjectMicrofrontends$Outbound | undefined; - name: string; - nodeVersion: string; - optionsAllowlist?: CreateProjectOptionsAllowlist$Outbound | null | undefined; - outputDirectory?: string | null | undefined; - passiveConnectConfigurationId?: string | null | undefined; - passwordProtection?: - | CreateProjectPasswordProtection$Outbound - | null - | undefined; - productionDeploymentsFastLane?: boolean | undefined; - publicSource?: boolean | null | undefined; - resourceConfig?: CreateProjectResourceConfig$Outbound | undefined; - rootDirectory?: string | null | undefined; - serverlessFunctionRegion?: string | null | undefined; - serverlessFunctionZeroConfigFailover?: boolean | undefined; - skewProtectionBoundaryAt?: number | undefined; - skewProtectionMaxAge?: number | undefined; - skipGitConnectDuringLink?: boolean | undefined; - sourceFilesOutsideRootDirectory?: boolean | undefined; - enableAffectedProjectsDeployments?: boolean | undefined; - ssoProtection?: CreateProjectSsoProtection$Outbound | null | undefined; - targets?: { [k: string]: CreateProjectTargets$Outbound } | undefined; - transferCompletedAt?: number | undefined; - transferStartedAt?: number | undefined; - transferToAccountId?: string | undefined; - transferredFromAccountId?: string | undefined; - updatedAt?: number | undefined; - live?: boolean | undefined; - enablePreviewFeedback?: boolean | null | undefined; - enableProductionFeedback?: boolean | null | undefined; - permissions?: CreateProjectPermissions$Outbound | undefined; - lastRollbackTarget?: - | CreateProjectLastRollbackTarget$Outbound - | null - | undefined; - lastAliasRequest?: CreateProjectLastAliasRequest$Outbound | null | undefined; - hasFloatingAliases?: boolean | undefined; - protectionBypass?: - | { [k: string]: CreateProjectProtectionBypass$Outbound } - | undefined; - hasActiveBranches?: boolean | undefined; - trustedIps?: - | CreateProjectTrustedIps2$Outbound - | CreateProjectTrustedIps1$Outbound - | null - | undefined; - gitComments?: CreateProjectGitComments$Outbound | undefined; - paused?: boolean | undefined; - concurrencyBucketName?: string | undefined; - webAnalytics?: CreateProjectWebAnalytics$Outbound | undefined; - security?: CreateProjectSecurity$Outbound | undefined; - oidcTokenConfig?: CreateProjectOidcTokenConfig$Outbound | undefined; - tier?: string | undefined; -}; - -/** @internal */ -export const CreateProjectResponseBody$outboundSchema: z.ZodType< - CreateProjectResponseBody$Outbound, - z.ZodTypeDef, - CreateProjectResponseBody -> = z.object({ - accountId: z.string(), - analytics: z.lazy(() => CreateProjectAnalytics$outboundSchema).optional(), - speedInsights: z.lazy(() => CreateProjectSpeedInsights$outboundSchema) - .optional(), - autoExposeSystemEnvs: z.boolean().optional(), - autoAssignCustomDomains: z.boolean().optional(), - autoAssignCustomDomainsUpdatedBy: z.string().optional(), - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - connectConfigurationId: z.nullable(z.string()).optional(), - connectBuildsEnabled: z.boolean().optional(), - createdAt: z.number().optional(), - customerSupportCodeVisibility: z.boolean().optional(), - crons: z.lazy(() => CreateProjectCrons$outboundSchema).optional(), - dataCache: z.lazy(() => CreateProjectDataCache$outboundSchema).optional(), - deploymentExpiration: z.nullable( - z.lazy(() => CreateProjectDeploymentExpiration$outboundSchema), - ).optional(), - devCommand: z.nullable(z.string()).optional(), - directoryListing: z.boolean(), - installCommand: z.nullable(z.string()).optional(), - env: z.array(z.lazy(() => CreateProjectEnv$outboundSchema)).optional(), - customEnvironments: z.array( - z.lazy(() => CreateProjectCustomEnvironments$outboundSchema), - ).optional(), - framework: z.nullable(CreateProjectProjectsFramework$outboundSchema) - .optional(), - gitForkProtection: z.boolean().optional(), - gitLFS: z.boolean().optional(), - id: z.string(), - ipBuckets: z.array(z.lazy(() => CreateProjectIpBuckets$outboundSchema)) - .optional(), - latestDeployments: z.array( - z.lazy(() => CreateProjectLatestDeployments$outboundSchema), - ).optional(), - link: z.union([ - z.lazy(() => CreateProjectLink1$outboundSchema), - z.lazy(() => CreateProjectLink3$outboundSchema), - z.lazy(() => CreateProjectLink2$outboundSchema), - ]).optional(), - microfrontends: z.lazy(() => CreateProjectMicrofrontends$outboundSchema) - .optional(), - name: z.string(), - nodeVersion: CreateProjectNodeVersion$outboundSchema, - optionsAllowlist: z.nullable( - z.lazy(() => CreateProjectOptionsAllowlist$outboundSchema), - ).optional(), - outputDirectory: z.nullable(z.string()).optional(), - passiveConnectConfigurationId: z.nullable(z.string()).optional(), - passwordProtection: z.nullable( - z.lazy(() => CreateProjectPasswordProtection$outboundSchema), - ).optional(), - productionDeploymentsFastLane: z.boolean().optional(), - publicSource: z.nullable(z.boolean()).optional(), - resourceConfig: z.lazy(() => CreateProjectResourceConfig$outboundSchema) - .optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - serverlessFunctionZeroConfigFailover: z.boolean().optional(), - skewProtectionBoundaryAt: z.number().optional(), - skewProtectionMaxAge: z.number().optional(), - skipGitConnectDuringLink: z.boolean().optional(), - sourceFilesOutsideRootDirectory: z.boolean().optional(), - enableAffectedProjectsDeployments: z.boolean().optional(), - ssoProtection: z.nullable( - z.lazy(() => CreateProjectSsoProtection$outboundSchema), - ).optional(), - targets: z.record(z.lazy(() => CreateProjectTargets$outboundSchema)) - .optional(), - transferCompletedAt: z.number().optional(), - transferStartedAt: z.number().optional(), - transferToAccountId: z.string().optional(), - transferredFromAccountId: z.string().optional(), - updatedAt: z.number().optional(), - live: z.boolean().optional(), - enablePreviewFeedback: z.nullable(z.boolean()).optional(), - enableProductionFeedback: z.nullable(z.boolean()).optional(), - permissions: z.lazy(() => CreateProjectPermissions$outboundSchema).optional(), - lastRollbackTarget: z.nullable( - z.lazy(() => CreateProjectLastRollbackTarget$outboundSchema), - ).optional(), - lastAliasRequest: z.nullable( - z.lazy(() => CreateProjectLastAliasRequest$outboundSchema), - ).optional(), - hasFloatingAliases: z.boolean().optional(), - protectionBypass: z.record( - z.lazy(() => CreateProjectProtectionBypass$outboundSchema), - ).optional(), - hasActiveBranches: z.boolean().optional(), - trustedIps: z.nullable( - z.union([ - z.lazy(() => CreateProjectTrustedIps2$outboundSchema), - z.lazy(() => CreateProjectTrustedIps1$outboundSchema), - ]), - ).optional(), - gitComments: z.lazy(() => CreateProjectGitComments$outboundSchema).optional(), - paused: z.boolean().optional(), - concurrencyBucketName: z.string().optional(), - webAnalytics: z.lazy(() => CreateProjectWebAnalytics$outboundSchema) - .optional(), - security: z.lazy(() => CreateProjectSecurity$outboundSchema).optional(), - oidcTokenConfig: z.lazy(() => CreateProjectOidcTokenConfig$outboundSchema) - .optional(), - tier: CreateProjectTier$outboundSchema.optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectResponseBody$ { - /** @deprecated use `CreateProjectResponseBody$inboundSchema` instead. */ - export const inboundSchema = CreateProjectResponseBody$inboundSchema; - /** @deprecated use `CreateProjectResponseBody$outboundSchema` instead. */ - export const outboundSchema = CreateProjectResponseBody$outboundSchema; - /** @deprecated use `CreateProjectResponseBody$Outbound` instead. */ - export type Outbound = CreateProjectResponseBody$Outbound; -} - -export function createProjectResponseBodyToJSON( - createProjectResponseBody: CreateProjectResponseBody, -): string { - return JSON.stringify( - CreateProjectResponseBody$outboundSchema.parse(createProjectResponseBody), - ); -} - -export function createProjectResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/createprojectenv.ts b/src/models/operations/createprojectenv.ts deleted file mode 100644 index 98b9eb4a..00000000 --- a/src/models/operations/createprojectenv.ts +++ /dev/null @@ -1,5728 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The type of environment variable - */ -export const CreateProjectEnv2Type = { - System: "system", - Secret: "secret", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", -} as const; -/** - * The type of environment variable - */ -export type CreateProjectEnv2Type = ClosedEnum; - -export const CreateProjectEnv2Target = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type CreateProjectEnv2Target = ClosedEnum< - typeof CreateProjectEnv2Target ->; - -export type Two2 = { - /** - * The name of the environment variable - */ - key: string; - /** - * The value of the environment variable - */ - value: string; - /** - * The type of environment variable - */ - type: CreateProjectEnv2Type; - /** - * The target environment of the environment variable - */ - target?: Array | undefined; - /** - * If defined, the git branch of the environment variable (must have target=preview) - */ - gitBranch?: string | null | undefined; - /** - * A comment to add context on what this environment variable is for - */ - comment?: string | undefined; -}; - -/** - * The type of environment variable - */ -export const TwoType = { - System: "system", - Secret: "secret", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", -} as const; -/** - * The type of environment variable - */ -export type TwoType = ClosedEnum; - -export const TwoTarget = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type TwoTarget = ClosedEnum; - -export type Two1 = { - /** - * The name of the environment variable - */ - key: string; - /** - * The value of the environment variable - */ - value: string; - /** - * The type of environment variable - */ - type: TwoType; - /** - * The target environment of the environment variable - */ - target: Array; - /** - * If defined, the git branch of the environment variable (must have target=preview) - */ - gitBranch?: string | null | undefined; - /** - * A comment to add context on what this environment variable is for - */ - comment?: string | undefined; -}; - -export type CreateProjectEnvRequestBody2 = Two1 | Two2; - -/** - * The type of environment variable - */ -export const CreateProjectEnv1Type = { - System: "system", - Secret: "secret", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", -} as const; -/** - * The type of environment variable - */ -export type CreateProjectEnv1Type = ClosedEnum; - -export const CreateProjectEnv1Target = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type CreateProjectEnv1Target = ClosedEnum< - typeof CreateProjectEnv1Target ->; - -export type CreateProjectEnv12 = { - /** - * The name of the environment variable - */ - key: string; - /** - * The value of the environment variable - */ - value: string; - /** - * The type of environment variable - */ - type: CreateProjectEnv1Type; - /** - * The target environment of the environment variable - */ - target?: Array | undefined; - /** - * If defined, the git branch of the environment variable (must have target=preview) - */ - gitBranch?: string | null | undefined; - /** - * A comment to add context on what this environment variable is for - */ - comment?: string | undefined; -}; - -/** - * The type of environment variable - */ -export const OneType = { - System: "system", - Secret: "secret", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", -} as const; -/** - * The type of environment variable - */ -export type OneType = ClosedEnum; - -export const OneTarget = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type OneTarget = ClosedEnum; - -export type CreateProjectEnv11 = { - /** - * The name of the environment variable - */ - key: string; - /** - * The value of the environment variable - */ - value: string; - /** - * The type of environment variable - */ - type: OneType; - /** - * The target environment of the environment variable - */ - target: Array; - /** - * If defined, the git branch of the environment variable (must have target=preview) - */ - gitBranch?: string | null | undefined; - /** - * A comment to add context on what this environment variable is for - */ - comment?: string | undefined; -}; - -export type CreateProjectEnvRequestBody1 = - | CreateProjectEnv11 - | CreateProjectEnv12; - -export type CreateProjectEnvRequestBody = - | CreateProjectEnv11 - | CreateProjectEnv12 - | Array; - -export type CreateProjectEnvRequest = { - /** - * The unique project identifier or the project name - */ - idOrName: string; - /** - * Allow override of environment variable if it already exists - */ - upsert?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: - | CreateProjectEnv11 - | CreateProjectEnv12 - | Array - | undefined; -}; - -export const CreateProjectEnvTargetProjects2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type CreateProjectEnvTargetProjects2 = ClosedEnum< - typeof CreateProjectEnvTargetProjects2 ->; - -export type CreateProjectEnvCreatedTarget = - | Array - | CreateProjectEnvTargetProjects2; - -export const CreateProjectEnvCreatedType = { - System: "system", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", - Secret: "secret", -} as const; -export type CreateProjectEnvCreatedType = ClosedEnum< - typeof CreateProjectEnvCreatedType ->; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type = - { - FlagsConnectionString: "flags-connection-string", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type - >; - -export type CreateProjectEnvContentHintProjects15 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type; - projectId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type = - { - IntegrationStoreSecret: "integration-store-secret", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type - >; - -export type CreateProjectEnvContentHintProjects14 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type = - { - PostgresUrlNoSsl: "postgres-url-no-ssl", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type - >; - -export type CreateProjectEnvContentHintProjects13 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type = - { - PostgresDatabase: "postgres-database", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type - >; - -export type CreateProjectEnvContentHintProjects12 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type = - { - PostgresPassword: "postgres-password", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type - >; - -export type CreateProjectEnvContentHintProjects11 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type = - { - PostgresHost: "postgres-host", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type - >; - -export type CreateProjectEnvContentHintProjects10 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type = - { - PostgresUser: "postgres-user", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type - >; - -export type CreateProjectEnvContentHintProjects9 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type = - { - PostgresPrismaUrl: "postgres-prisma-url", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type - >; - -export type CreateProjectEnvContentHintProjects8 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type = - { - PostgresUrlNonPooling: "postgres-url-non-pooling", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type - >; - -export type CreateProjectEnvContentHintProjects7 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type = - { - PostgresUrl: "postgres-url", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type - >; - -export type CreateProjectEnvContentHintProjects6 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type = - { - BlobReadWriteToken: "blob-read-write-token", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type - >; - -export type CreateProjectEnvContentHintProjects5 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type = - { - RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type - >; - -export type CreateProjectEnvContentHintProjects4 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type = - { - RedisRestApiToken: "redis-rest-api-token", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type - >; - -export type CreateProjectEnvContentHintProjects3 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type = - { - RedisRestApiUrl: "redis-rest-api-url", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type - >; - -export type CreateProjectEnvContentHintProjects2 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type = - { - RedisUrl: "redis-url", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type - >; - -export type CreateProjectEnvContentHintProjects1 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type; - storeId: string; -}; - -export type CreateProjectEnvCreatedContentHint = - | CreateProjectEnvContentHintProjects1 - | CreateProjectEnvContentHintProjects2 - | CreateProjectEnvContentHintProjects3 - | CreateProjectEnvContentHintProjects4 - | CreateProjectEnvContentHintProjects5 - | CreateProjectEnvContentHintProjects6 - | CreateProjectEnvContentHintProjects7 - | CreateProjectEnvContentHintProjects8 - | CreateProjectEnvContentHintProjects9 - | CreateProjectEnvContentHintProjects10 - | CreateProjectEnvContentHintProjects11 - | CreateProjectEnvContentHintProjects12 - | CreateProjectEnvContentHintProjects13 - | CreateProjectEnvContentHintProjects15 - | CreateProjectEnvContentHintProjects14; - -export const CreateProjectEnvCreatedProjectsResponseType = { - FlagsSecret: "flags-secret", -} as const; -export type CreateProjectEnvCreatedProjectsResponseType = ClosedEnum< - typeof CreateProjectEnvCreatedProjectsResponseType ->; - -/** - * Similar to `contentHints`, but should not be exposed to the user. - */ -export type CreateProjectEnvCreatedInternalContentHint = { - type: CreateProjectEnvCreatedProjectsResponseType; - /** - * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. - */ - encryptedValue: string; -}; - -export type Created2 = { - target?: Array | CreateProjectEnvTargetProjects2 | undefined; - type?: CreateProjectEnvCreatedType | undefined; - /** - * This is used to identiy variables that have been migrated from type secret to sensitive. - */ - sunsetSecretId?: string | undefined; - id?: string | undefined; - key?: string | undefined; - value?: string | undefined; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | CreateProjectEnvContentHintProjects1 - | CreateProjectEnvContentHintProjects2 - | CreateProjectEnvContentHintProjects3 - | CreateProjectEnvContentHintProjects4 - | CreateProjectEnvContentHintProjects5 - | CreateProjectEnvContentHintProjects6 - | CreateProjectEnvContentHintProjects7 - | CreateProjectEnvContentHintProjects8 - | CreateProjectEnvContentHintProjects9 - | CreateProjectEnvContentHintProjects10 - | CreateProjectEnvContentHintProjects11 - | CreateProjectEnvContentHintProjects12 - | CreateProjectEnvContentHintProjects13 - | CreateProjectEnvContentHintProjects15 - | CreateProjectEnvContentHintProjects14 - | null - | undefined; - /** - * Similar to `contentHints`, but should not be exposed to the user. - */ - internalContentHint?: - | CreateProjectEnvCreatedInternalContentHint - | null - | undefined; - /** - * Whether `value` and `vsmValue` are decrypted. - */ - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; - system?: boolean | undefined; -}; - -export const CreateProjectEnvTarget2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type CreateProjectEnvTarget2 = ClosedEnum< - typeof CreateProjectEnvTarget2 ->; - -export const CreateProjectEnvTarget1 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type CreateProjectEnvTarget1 = ClosedEnum< - typeof CreateProjectEnvTarget1 ->; - -export type CreatedTarget = - | Array - | CreateProjectEnvTarget2; - -export const CreatedType = { - System: "system", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", - Secret: "secret", -} as const; -export type CreatedType = ClosedEnum; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type = - { - FlagsConnectionString: "flags-connection-string", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type - >; - -export type CreateProjectEnvContentHint15 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type; - projectId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type = - { - IntegrationStoreSecret: "integration-store-secret", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type - >; - -export type CreateProjectEnvContentHint14 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type = - { - PostgresUrlNoSsl: "postgres-url-no-ssl", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type - >; - -export type CreateProjectEnvContentHint13 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type = - { - PostgresDatabase: "postgres-database", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type - >; - -export type CreateProjectEnvContentHint12 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type = - { - PostgresPassword: "postgres-password", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type - >; - -export type CreateProjectEnvContentHint11 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type = - { - PostgresHost: "postgres-host", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type - >; - -export type CreateProjectEnvContentHint10 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type = - { - PostgresUser: "postgres-user", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type - >; - -export type CreateProjectEnvContentHint9 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type = - { - PostgresPrismaUrl: "postgres-prisma-url", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type - >; - -export type CreateProjectEnvContentHint8 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType = - { - PostgresUrlNonPooling: "postgres-url-non-pooling", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType - >; - -export type CreateProjectEnvContentHint7 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType = - { - PostgresUrl: "postgres-url", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType - >; - -export type CreateProjectEnvContentHint6 = { - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType = - { - BlobReadWriteToken: "blob-read-write-token", - } as const; -export type CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType = - ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType - >; - -export type CreateProjectEnvContentHint5 = { - type: CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponse201Type = { - RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", -} as const; -export type CreateProjectEnvContentHintProjectsResponse201Type = ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponse201Type ->; - -export type CreateProjectEnvContentHint4 = { - type: CreateProjectEnvContentHintProjectsResponse201Type; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsResponseType = { - RedisRestApiToken: "redis-rest-api-token", -} as const; -export type CreateProjectEnvContentHintProjectsResponseType = ClosedEnum< - typeof CreateProjectEnvContentHintProjectsResponseType ->; - -export type CreateProjectEnvContentHint3 = { - type: CreateProjectEnvContentHintProjectsResponseType; - storeId: string; -}; - -export const CreateProjectEnvContentHintProjectsType = { - RedisRestApiUrl: "redis-rest-api-url", -} as const; -export type CreateProjectEnvContentHintProjectsType = ClosedEnum< - typeof CreateProjectEnvContentHintProjectsType ->; - -export type CreateProjectEnvContentHint2 = { - type: CreateProjectEnvContentHintProjectsType; - storeId: string; -}; - -export const CreateProjectEnvContentHintType = { - RedisUrl: "redis-url", -} as const; -export type CreateProjectEnvContentHintType = ClosedEnum< - typeof CreateProjectEnvContentHintType ->; - -export type CreateProjectEnvContentHint1 = { - type: CreateProjectEnvContentHintType; - storeId: string; -}; - -export type CreatedContentHint = - | CreateProjectEnvContentHint1 - | CreateProjectEnvContentHint2 - | CreateProjectEnvContentHint3 - | CreateProjectEnvContentHint4 - | CreateProjectEnvContentHint5 - | CreateProjectEnvContentHint6 - | CreateProjectEnvContentHint7 - | CreateProjectEnvContentHint8 - | CreateProjectEnvContentHint9 - | CreateProjectEnvContentHint10 - | CreateProjectEnvContentHint11 - | CreateProjectEnvContentHint12 - | CreateProjectEnvContentHint13 - | CreateProjectEnvContentHint15 - | CreateProjectEnvContentHint14; - -export const CreateProjectEnvCreatedProjectsType = { - FlagsSecret: "flags-secret", -} as const; -export type CreateProjectEnvCreatedProjectsType = ClosedEnum< - typeof CreateProjectEnvCreatedProjectsType ->; - -/** - * Similar to `contentHints`, but should not be exposed to the user. - */ -export type CreatedInternalContentHint = { - type: CreateProjectEnvCreatedProjectsType; - /** - * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. - */ - encryptedValue: string; -}; - -export type Created1 = { - target?: Array | CreateProjectEnvTarget2 | undefined; - type?: CreatedType | undefined; - /** - * This is used to identiy variables that have been migrated from type secret to sensitive. - */ - sunsetSecretId?: string | undefined; - id?: string | undefined; - key?: string | undefined; - value?: string | undefined; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | CreateProjectEnvContentHint1 - | CreateProjectEnvContentHint2 - | CreateProjectEnvContentHint3 - | CreateProjectEnvContentHint4 - | CreateProjectEnvContentHint5 - | CreateProjectEnvContentHint6 - | CreateProjectEnvContentHint7 - | CreateProjectEnvContentHint8 - | CreateProjectEnvContentHint9 - | CreateProjectEnvContentHint10 - | CreateProjectEnvContentHint11 - | CreateProjectEnvContentHint12 - | CreateProjectEnvContentHint13 - | CreateProjectEnvContentHint15 - | CreateProjectEnvContentHint14 - | null - | undefined; - /** - * Similar to `contentHints`, but should not be exposed to the user. - */ - internalContentHint?: CreatedInternalContentHint | null | undefined; - /** - * Whether `value` and `vsmValue` are decrypted. - */ - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; - system?: boolean | undefined; -}; - -export type Created = Created1 | Array; - -export const CreateProjectEnvValue2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type CreateProjectEnvValue2 = ClosedEnum; - -export type CreateProjectEnvValue = string | Array; - -export const CreateProjectEnvTargetProjectsResponse2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type CreateProjectEnvTargetProjectsResponse2 = ClosedEnum< - typeof CreateProjectEnvTargetProjectsResponse2 ->; - -export const CreateProjectEnvTargetProjects1 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type CreateProjectEnvTargetProjects1 = ClosedEnum< - typeof CreateProjectEnvTargetProjects1 ->; - -export type CreateProjectEnvTarget = - | Array - | CreateProjectEnvTargetProjectsResponse2; - -export type CreateProjectEnvError = { - code: string; - message: string; - key?: string | undefined; - envVarId?: string | undefined; - envVarKey?: string | undefined; - action?: string | undefined; - link?: string | undefined; - value?: string | Array | undefined; - gitBranch?: string | undefined; - target?: - | Array - | CreateProjectEnvTargetProjectsResponse2 - | undefined; - project?: string | undefined; -}; - -export type Failed = { - error: CreateProjectEnvError; -}; - -/** - * The environment variable was created successfully - */ -export type CreateProjectEnvResponseBody = { - created: Created1 | Array; - failed: Array; -}; - -/** @internal */ -export const CreateProjectEnv2Type$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnv2Type -> = z.nativeEnum(CreateProjectEnv2Type); - -/** @internal */ -export const CreateProjectEnv2Type$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnv2Type -> = CreateProjectEnv2Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnv2Type$ { - /** @deprecated use `CreateProjectEnv2Type$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnv2Type$inboundSchema; - /** @deprecated use `CreateProjectEnv2Type$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnv2Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnv2Target$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnv2Target -> = z.nativeEnum(CreateProjectEnv2Target); - -/** @internal */ -export const CreateProjectEnv2Target$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnv2Target -> = CreateProjectEnv2Target$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnv2Target$ { - /** @deprecated use `CreateProjectEnv2Target$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnv2Target$inboundSchema; - /** @deprecated use `CreateProjectEnv2Target$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnv2Target$outboundSchema; -} - -/** @internal */ -export const Two2$inboundSchema: z.ZodType = z - .object({ - key: z.string(), - value: z.string(), - type: CreateProjectEnv2Type$inboundSchema, - target: z.array(CreateProjectEnv2Target$inboundSchema).optional(), - gitBranch: z.nullable(z.string()).optional(), - comment: z.string().optional(), - }); - -/** @internal */ -export type Two2$Outbound = { - key: string; - value: string; - type: string; - target?: Array | undefined; - gitBranch?: string | null | undefined; - comment?: string | undefined; -}; - -/** @internal */ -export const Two2$outboundSchema: z.ZodType = - z.object({ - key: z.string(), - value: z.string(), - type: CreateProjectEnv2Type$outboundSchema, - target: z.array(CreateProjectEnv2Target$outboundSchema).optional(), - gitBranch: z.nullable(z.string()).optional(), - comment: z.string().optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Two2$ { - /** @deprecated use `Two2$inboundSchema` instead. */ - export const inboundSchema = Two2$inboundSchema; - /** @deprecated use `Two2$outboundSchema` instead. */ - export const outboundSchema = Two2$outboundSchema; - /** @deprecated use `Two2$Outbound` instead. */ - export type Outbound = Two2$Outbound; -} - -export function two2ToJSON(two2: Two2): string { - return JSON.stringify(Two2$outboundSchema.parse(two2)); -} - -export function two2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Two2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Two2' from JSON`, - ); -} - -/** @internal */ -export const TwoType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TwoType); - -/** @internal */ -export const TwoType$outboundSchema: z.ZodNativeEnum = - TwoType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TwoType$ { - /** @deprecated use `TwoType$inboundSchema` instead. */ - export const inboundSchema = TwoType$inboundSchema; - /** @deprecated use `TwoType$outboundSchema` instead. */ - export const outboundSchema = TwoType$outboundSchema; -} - -/** @internal */ -export const TwoTarget$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TwoTarget); - -/** @internal */ -export const TwoTarget$outboundSchema: z.ZodNativeEnum = - TwoTarget$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TwoTarget$ { - /** @deprecated use `TwoTarget$inboundSchema` instead. */ - export const inboundSchema = TwoTarget$inboundSchema; - /** @deprecated use `TwoTarget$outboundSchema` instead. */ - export const outboundSchema = TwoTarget$outboundSchema; -} - -/** @internal */ -export const Two1$inboundSchema: z.ZodType = z - .object({ - key: z.string(), - value: z.string(), - type: TwoType$inboundSchema, - target: z.array(TwoTarget$inboundSchema), - gitBranch: z.nullable(z.string()).optional(), - comment: z.string().optional(), - }); - -/** @internal */ -export type Two1$Outbound = { - key: string; - value: string; - type: string; - target: Array; - gitBranch?: string | null | undefined; - comment?: string | undefined; -}; - -/** @internal */ -export const Two1$outboundSchema: z.ZodType = - z.object({ - key: z.string(), - value: z.string(), - type: TwoType$outboundSchema, - target: z.array(TwoTarget$outboundSchema), - gitBranch: z.nullable(z.string()).optional(), - comment: z.string().optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Two1$ { - /** @deprecated use `Two1$inboundSchema` instead. */ - export const inboundSchema = Two1$inboundSchema; - /** @deprecated use `Two1$outboundSchema` instead. */ - export const outboundSchema = Two1$outboundSchema; - /** @deprecated use `Two1$Outbound` instead. */ - export type Outbound = Two1$Outbound; -} - -export function two1ToJSON(two1: Two1): string { - return JSON.stringify(Two1$outboundSchema.parse(two1)); -} - -export function two1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Two1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Two1' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvRequestBody2$inboundSchema: z.ZodType< - CreateProjectEnvRequestBody2, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => Two1$inboundSchema), - z.lazy(() => Two2$inboundSchema), -]); - -/** @internal */ -export type CreateProjectEnvRequestBody2$Outbound = - | Two1$Outbound - | Two2$Outbound; - -/** @internal */ -export const CreateProjectEnvRequestBody2$outboundSchema: z.ZodType< - CreateProjectEnvRequestBody2$Outbound, - z.ZodTypeDef, - CreateProjectEnvRequestBody2 -> = z.union([ - z.lazy(() => Two1$outboundSchema), - z.lazy(() => Two2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvRequestBody2$ { - /** @deprecated use `CreateProjectEnvRequestBody2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvRequestBody2$inboundSchema; - /** @deprecated use `CreateProjectEnvRequestBody2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvRequestBody2$outboundSchema; - /** @deprecated use `CreateProjectEnvRequestBody2$Outbound` instead. */ - export type Outbound = CreateProjectEnvRequestBody2$Outbound; -} - -export function createProjectEnvRequestBody2ToJSON( - createProjectEnvRequestBody2: CreateProjectEnvRequestBody2, -): string { - return JSON.stringify( - CreateProjectEnvRequestBody2$outboundSchema.parse( - createProjectEnvRequestBody2, - ), - ); -} - -export function createProjectEnvRequestBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvRequestBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvRequestBody2' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnv1Type$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnv1Type -> = z.nativeEnum(CreateProjectEnv1Type); - -/** @internal */ -export const CreateProjectEnv1Type$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnv1Type -> = CreateProjectEnv1Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnv1Type$ { - /** @deprecated use `CreateProjectEnv1Type$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnv1Type$inboundSchema; - /** @deprecated use `CreateProjectEnv1Type$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnv1Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnv1Target$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnv1Target -> = z.nativeEnum(CreateProjectEnv1Target); - -/** @internal */ -export const CreateProjectEnv1Target$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnv1Target -> = CreateProjectEnv1Target$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnv1Target$ { - /** @deprecated use `CreateProjectEnv1Target$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnv1Target$inboundSchema; - /** @deprecated use `CreateProjectEnv1Target$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnv1Target$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnv12$inboundSchema: z.ZodType< - CreateProjectEnv12, - z.ZodTypeDef, - unknown -> = z.object({ - key: z.string(), - value: z.string(), - type: CreateProjectEnv1Type$inboundSchema, - target: z.array(CreateProjectEnv1Target$inboundSchema).optional(), - gitBranch: z.nullable(z.string()).optional(), - comment: z.string().optional(), -}); - -/** @internal */ -export type CreateProjectEnv12$Outbound = { - key: string; - value: string; - type: string; - target?: Array | undefined; - gitBranch?: string | null | undefined; - comment?: string | undefined; -}; - -/** @internal */ -export const CreateProjectEnv12$outboundSchema: z.ZodType< - CreateProjectEnv12$Outbound, - z.ZodTypeDef, - CreateProjectEnv12 -> = z.object({ - key: z.string(), - value: z.string(), - type: CreateProjectEnv1Type$outboundSchema, - target: z.array(CreateProjectEnv1Target$outboundSchema).optional(), - gitBranch: z.nullable(z.string()).optional(), - comment: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnv12$ { - /** @deprecated use `CreateProjectEnv12$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnv12$inboundSchema; - /** @deprecated use `CreateProjectEnv12$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnv12$outboundSchema; - /** @deprecated use `CreateProjectEnv12$Outbound` instead. */ - export type Outbound = CreateProjectEnv12$Outbound; -} - -export function createProjectEnv12ToJSON( - createProjectEnv12: CreateProjectEnv12, -): string { - return JSON.stringify( - CreateProjectEnv12$outboundSchema.parse(createProjectEnv12), - ); -} - -export function createProjectEnv12FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnv12$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnv12' from JSON`, - ); -} - -/** @internal */ -export const OneType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(OneType); - -/** @internal */ -export const OneType$outboundSchema: z.ZodNativeEnum = - OneType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneType$ { - /** @deprecated use `OneType$inboundSchema` instead. */ - export const inboundSchema = OneType$inboundSchema; - /** @deprecated use `OneType$outboundSchema` instead. */ - export const outboundSchema = OneType$outboundSchema; -} - -/** @internal */ -export const OneTarget$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(OneTarget); - -/** @internal */ -export const OneTarget$outboundSchema: z.ZodNativeEnum = - OneTarget$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneTarget$ { - /** @deprecated use `OneTarget$inboundSchema` instead. */ - export const inboundSchema = OneTarget$inboundSchema; - /** @deprecated use `OneTarget$outboundSchema` instead. */ - export const outboundSchema = OneTarget$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnv11$inboundSchema: z.ZodType< - CreateProjectEnv11, - z.ZodTypeDef, - unknown -> = z.object({ - key: z.string(), - value: z.string(), - type: OneType$inboundSchema, - target: z.array(OneTarget$inboundSchema), - gitBranch: z.nullable(z.string()).optional(), - comment: z.string().optional(), -}); - -/** @internal */ -export type CreateProjectEnv11$Outbound = { - key: string; - value: string; - type: string; - target: Array; - gitBranch?: string | null | undefined; - comment?: string | undefined; -}; - -/** @internal */ -export const CreateProjectEnv11$outboundSchema: z.ZodType< - CreateProjectEnv11$Outbound, - z.ZodTypeDef, - CreateProjectEnv11 -> = z.object({ - key: z.string(), - value: z.string(), - type: OneType$outboundSchema, - target: z.array(OneTarget$outboundSchema), - gitBranch: z.nullable(z.string()).optional(), - comment: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnv11$ { - /** @deprecated use `CreateProjectEnv11$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnv11$inboundSchema; - /** @deprecated use `CreateProjectEnv11$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnv11$outboundSchema; - /** @deprecated use `CreateProjectEnv11$Outbound` instead. */ - export type Outbound = CreateProjectEnv11$Outbound; -} - -export function createProjectEnv11ToJSON( - createProjectEnv11: CreateProjectEnv11, -): string { - return JSON.stringify( - CreateProjectEnv11$outboundSchema.parse(createProjectEnv11), - ); -} - -export function createProjectEnv11FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnv11$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnv11' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvRequestBody1$inboundSchema: z.ZodType< - CreateProjectEnvRequestBody1, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CreateProjectEnv11$inboundSchema), - z.lazy(() => CreateProjectEnv12$inboundSchema), -]); - -/** @internal */ -export type CreateProjectEnvRequestBody1$Outbound = - | CreateProjectEnv11$Outbound - | CreateProjectEnv12$Outbound; - -/** @internal */ -export const CreateProjectEnvRequestBody1$outboundSchema: z.ZodType< - CreateProjectEnvRequestBody1$Outbound, - z.ZodTypeDef, - CreateProjectEnvRequestBody1 -> = z.union([ - z.lazy(() => CreateProjectEnv11$outboundSchema), - z.lazy(() => CreateProjectEnv12$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvRequestBody1$ { - /** @deprecated use `CreateProjectEnvRequestBody1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvRequestBody1$inboundSchema; - /** @deprecated use `CreateProjectEnvRequestBody1$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvRequestBody1$outboundSchema; - /** @deprecated use `CreateProjectEnvRequestBody1$Outbound` instead. */ - export type Outbound = CreateProjectEnvRequestBody1$Outbound; -} - -export function createProjectEnvRequestBody1ToJSON( - createProjectEnvRequestBody1: CreateProjectEnvRequestBody1, -): string { - return JSON.stringify( - CreateProjectEnvRequestBody1$outboundSchema.parse( - createProjectEnvRequestBody1, - ), - ); -} - -export function createProjectEnvRequestBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvRequestBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvRequestBody1' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvRequestBody$inboundSchema: z.ZodType< - CreateProjectEnvRequestBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.union([ - z.lazy(() => CreateProjectEnv11$inboundSchema), - z.lazy(() => CreateProjectEnv12$inboundSchema), - ]), - z.array( - z.union([ - z.lazy(() => Two1$inboundSchema), - z.lazy(() => Two2$inboundSchema), - ]), - ), -]); - -/** @internal */ -export type CreateProjectEnvRequestBody$Outbound = - | CreateProjectEnv11$Outbound - | CreateProjectEnv12$Outbound - | Array; - -/** @internal */ -export const CreateProjectEnvRequestBody$outboundSchema: z.ZodType< - CreateProjectEnvRequestBody$Outbound, - z.ZodTypeDef, - CreateProjectEnvRequestBody -> = z.union([ - z.union([ - z.lazy(() => CreateProjectEnv11$outboundSchema), - z.lazy(() => CreateProjectEnv12$outboundSchema), - ]), - z.array( - z.union([ - z.lazy(() => Two1$outboundSchema), - z.lazy(() => Two2$outboundSchema), - ]), - ), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvRequestBody$ { - /** @deprecated use `CreateProjectEnvRequestBody$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvRequestBody$inboundSchema; - /** @deprecated use `CreateProjectEnvRequestBody$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvRequestBody$outboundSchema; - /** @deprecated use `CreateProjectEnvRequestBody$Outbound` instead. */ - export type Outbound = CreateProjectEnvRequestBody$Outbound; -} - -export function createProjectEnvRequestBodyToJSON( - createProjectEnvRequestBody: CreateProjectEnvRequestBody, -): string { - return JSON.stringify( - CreateProjectEnvRequestBody$outboundSchema.parse( - createProjectEnvRequestBody, - ), - ); -} - -export function createProjectEnvRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvRequestBody' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvRequest$inboundSchema: z.ZodType< - CreateProjectEnvRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - upsert: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.union([ - z.union([ - z.lazy(() => CreateProjectEnv11$inboundSchema), - z.lazy(() => CreateProjectEnv12$inboundSchema), - ]), - z.array( - z.union([ - z.lazy(() => Two1$inboundSchema), - z.lazy(() => Two2$inboundSchema), - ]), - ), - ]).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type CreateProjectEnvRequest$Outbound = { - idOrName: string; - upsert?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: - | CreateProjectEnv11$Outbound - | CreateProjectEnv12$Outbound - | Array - | undefined; -}; - -/** @internal */ -export const CreateProjectEnvRequest$outboundSchema: z.ZodType< - CreateProjectEnvRequest$Outbound, - z.ZodTypeDef, - CreateProjectEnvRequest -> = z.object({ - idOrName: z.string(), - upsert: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.union([ - z.union([ - z.lazy(() => CreateProjectEnv11$outboundSchema), - z.lazy(() => CreateProjectEnv12$outboundSchema), - ]), - z.array( - z.union([ - z.lazy(() => Two1$outboundSchema), - z.lazy(() => Two2$outboundSchema), - ]), - ), - ]).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvRequest$ { - /** @deprecated use `CreateProjectEnvRequest$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvRequest$inboundSchema; - /** @deprecated use `CreateProjectEnvRequest$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvRequest$outboundSchema; - /** @deprecated use `CreateProjectEnvRequest$Outbound` instead. */ - export type Outbound = CreateProjectEnvRequest$Outbound; -} - -export function createProjectEnvRequestToJSON( - createProjectEnvRequest: CreateProjectEnvRequest, -): string { - return JSON.stringify( - CreateProjectEnvRequest$outboundSchema.parse(createProjectEnvRequest), - ); -} - -export function createProjectEnvRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvRequest' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvTargetProjects2$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnvTargetProjects2 -> = z.nativeEnum(CreateProjectEnvTargetProjects2); - -/** @internal */ -export const CreateProjectEnvTargetProjects2$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnvTargetProjects2 -> = CreateProjectEnvTargetProjects2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvTargetProjects2$ { - /** @deprecated use `CreateProjectEnvTargetProjects2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvTargetProjects2$inboundSchema; - /** @deprecated use `CreateProjectEnvTargetProjects2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvTargetProjects2$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvCreatedTarget$inboundSchema: z.ZodType< - CreateProjectEnvCreatedTarget, - z.ZodTypeDef, - unknown -> = z.union([ - z.array(z.string()), - CreateProjectEnvTargetProjects2$inboundSchema, -]); - -/** @internal */ -export type CreateProjectEnvCreatedTarget$Outbound = Array | string; - -/** @internal */ -export const CreateProjectEnvCreatedTarget$outboundSchema: z.ZodType< - CreateProjectEnvCreatedTarget$Outbound, - z.ZodTypeDef, - CreateProjectEnvCreatedTarget -> = z.union([ - z.array(z.string()), - CreateProjectEnvTargetProjects2$outboundSchema, -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvCreatedTarget$ { - /** @deprecated use `CreateProjectEnvCreatedTarget$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvCreatedTarget$inboundSchema; - /** @deprecated use `CreateProjectEnvCreatedTarget$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvCreatedTarget$outboundSchema; - /** @deprecated use `CreateProjectEnvCreatedTarget$Outbound` instead. */ - export type Outbound = CreateProjectEnvCreatedTarget$Outbound; -} - -export function createProjectEnvCreatedTargetToJSON( - createProjectEnvCreatedTarget: CreateProjectEnvCreatedTarget, -): string { - return JSON.stringify( - CreateProjectEnvCreatedTarget$outboundSchema.parse( - createProjectEnvCreatedTarget, - ), - ); -} - -export function createProjectEnvCreatedTargetFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvCreatedTarget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvCreatedTarget' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvCreatedType$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnvCreatedType -> = z.nativeEnum(CreateProjectEnvCreatedType); - -/** @internal */ -export const CreateProjectEnvCreatedType$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnvCreatedType -> = CreateProjectEnvCreatedType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvCreatedType$ { - /** @deprecated use `CreateProjectEnvCreatedType$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvCreatedType$inboundSchema; - /** @deprecated use `CreateProjectEnvCreatedType$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvCreatedType$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjects15$inboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects15, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$inboundSchema, - projectId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHintProjects15$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHintProjects15$outboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects15$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHintProjects15 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjects15$ { - /** @deprecated use `CreateProjectEnvContentHintProjects15$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjects15$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects15$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjects15$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects15$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHintProjects15$Outbound; -} - -export function createProjectEnvContentHintProjects15ToJSON( - createProjectEnvContentHintProjects15: CreateProjectEnvContentHintProjects15, -): string { - return JSON.stringify( - CreateProjectEnvContentHintProjects15$outboundSchema.parse( - createProjectEnvContentHintProjects15, - ), - ); -} - -export function createProjectEnvContentHintProjects15FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectEnvContentHintProjects15$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHintProjects15' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjects14$inboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects14, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$inboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHintProjects14$Outbound = { - type: string; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHintProjects14$outboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects14$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHintProjects14 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$outboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjects14$ { - /** @deprecated use `CreateProjectEnvContentHintProjects14$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjects14$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects14$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjects14$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects14$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHintProjects14$Outbound; -} - -export function createProjectEnvContentHintProjects14ToJSON( - createProjectEnvContentHintProjects14: CreateProjectEnvContentHintProjects14, -): string { - return JSON.stringify( - CreateProjectEnvContentHintProjects14$outboundSchema.parse( - createProjectEnvContentHintProjects14, - ), - ); -} - -export function createProjectEnvContentHintProjects14FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectEnvContentHintProjects14$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHintProjects14' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjects13$inboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects13, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHintProjects13$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHintProjects13$outboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects13$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHintProjects13 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjects13$ { - /** @deprecated use `CreateProjectEnvContentHintProjects13$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjects13$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects13$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjects13$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects13$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHintProjects13$Outbound; -} - -export function createProjectEnvContentHintProjects13ToJSON( - createProjectEnvContentHintProjects13: CreateProjectEnvContentHintProjects13, -): string { - return JSON.stringify( - CreateProjectEnvContentHintProjects13$outboundSchema.parse( - createProjectEnvContentHintProjects13, - ), - ); -} - -export function createProjectEnvContentHintProjects13FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectEnvContentHintProjects13$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHintProjects13' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjects12$inboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects12, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHintProjects12$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHintProjects12$outboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects12$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHintProjects12 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjects12$ { - /** @deprecated use `CreateProjectEnvContentHintProjects12$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjects12$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects12$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjects12$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects12$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHintProjects12$Outbound; -} - -export function createProjectEnvContentHintProjects12ToJSON( - createProjectEnvContentHintProjects12: CreateProjectEnvContentHintProjects12, -): string { - return JSON.stringify( - CreateProjectEnvContentHintProjects12$outboundSchema.parse( - createProjectEnvContentHintProjects12, - ), - ); -} - -export function createProjectEnvContentHintProjects12FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectEnvContentHintProjects12$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHintProjects12' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjects11$inboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects11, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHintProjects11$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHintProjects11$outboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects11$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHintProjects11 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjects11$ { - /** @deprecated use `CreateProjectEnvContentHintProjects11$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjects11$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects11$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjects11$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects11$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHintProjects11$Outbound; -} - -export function createProjectEnvContentHintProjects11ToJSON( - createProjectEnvContentHintProjects11: CreateProjectEnvContentHintProjects11, -): string { - return JSON.stringify( - CreateProjectEnvContentHintProjects11$outboundSchema.parse( - createProjectEnvContentHintProjects11, - ), - ); -} - -export function createProjectEnvContentHintProjects11FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectEnvContentHintProjects11$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHintProjects11' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjects10$inboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects10, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHintProjects10$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHintProjects10$outboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects10$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHintProjects10 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjects10$ { - /** @deprecated use `CreateProjectEnvContentHintProjects10$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjects10$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects10$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjects10$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects10$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHintProjects10$Outbound; -} - -export function createProjectEnvContentHintProjects10ToJSON( - createProjectEnvContentHintProjects10: CreateProjectEnvContentHintProjects10, -): string { - return JSON.stringify( - CreateProjectEnvContentHintProjects10$outboundSchema.parse( - createProjectEnvContentHintProjects10, - ), - ); -} - -export function createProjectEnvContentHintProjects10FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectEnvContentHintProjects10$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHintProjects10' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjects9$inboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHintProjects9$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHintProjects9$outboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects9$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHintProjects9 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjects9$ { - /** @deprecated use `CreateProjectEnvContentHintProjects9$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjects9$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects9$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjects9$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects9$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHintProjects9$Outbound; -} - -export function createProjectEnvContentHintProjects9ToJSON( - createProjectEnvContentHintProjects9: CreateProjectEnvContentHintProjects9, -): string { - return JSON.stringify( - CreateProjectEnvContentHintProjects9$outboundSchema.parse( - createProjectEnvContentHintProjects9, - ), - ); -} - -export function createProjectEnvContentHintProjects9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectEnvContentHintProjects9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHintProjects9' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjects8$inboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHintProjects8$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHintProjects8$outboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects8$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHintProjects8 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjects8$ { - /** @deprecated use `CreateProjectEnvContentHintProjects8$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjects8$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects8$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjects8$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects8$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHintProjects8$Outbound; -} - -export function createProjectEnvContentHintProjects8ToJSON( - createProjectEnvContentHintProjects8: CreateProjectEnvContentHintProjects8, -): string { - return JSON.stringify( - CreateProjectEnvContentHintProjects8$outboundSchema.parse( - createProjectEnvContentHintProjects8, - ), - ); -} - -export function createProjectEnvContentHintProjects8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectEnvContentHintProjects8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHintProjects8' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjects7$inboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHintProjects7$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHintProjects7$outboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects7$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHintProjects7 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjects7$ { - /** @deprecated use `CreateProjectEnvContentHintProjects7$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjects7$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects7$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjects7$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects7$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHintProjects7$Outbound; -} - -export function createProjectEnvContentHintProjects7ToJSON( - createProjectEnvContentHintProjects7: CreateProjectEnvContentHintProjects7, -): string { - return JSON.stringify( - CreateProjectEnvContentHintProjects7$outboundSchema.parse( - createProjectEnvContentHintProjects7, - ), - ); -} - -export function createProjectEnvContentHintProjects7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectEnvContentHintProjects7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHintProjects7' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjects6$inboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHintProjects6$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHintProjects6$outboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects6$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHintProjects6 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjects6$ { - /** @deprecated use `CreateProjectEnvContentHintProjects6$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjects6$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects6$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjects6$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects6$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHintProjects6$Outbound; -} - -export function createProjectEnvContentHintProjects6ToJSON( - createProjectEnvContentHintProjects6: CreateProjectEnvContentHintProjects6, -): string { - return JSON.stringify( - CreateProjectEnvContentHintProjects6$outboundSchema.parse( - createProjectEnvContentHintProjects6, - ), - ); -} - -export function createProjectEnvContentHintProjects6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectEnvContentHintProjects6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHintProjects6' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjects5$inboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects5, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHintProjects5$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHintProjects5$outboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects5$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHintProjects5 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjects5$ { - /** @deprecated use `CreateProjectEnvContentHintProjects5$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjects5$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects5$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjects5$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects5$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHintProjects5$Outbound; -} - -export function createProjectEnvContentHintProjects5ToJSON( - createProjectEnvContentHintProjects5: CreateProjectEnvContentHintProjects5, -): string { - return JSON.stringify( - CreateProjectEnvContentHintProjects5$outboundSchema.parse( - createProjectEnvContentHintProjects5, - ), - ); -} - -export function createProjectEnvContentHintProjects5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectEnvContentHintProjects5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHintProjects5' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjects4$inboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects4, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHintProjects4$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHintProjects4$outboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects4$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHintProjects4 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjects4$ { - /** @deprecated use `CreateProjectEnvContentHintProjects4$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjects4$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects4$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjects4$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects4$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHintProjects4$Outbound; -} - -export function createProjectEnvContentHintProjects4ToJSON( - createProjectEnvContentHintProjects4: CreateProjectEnvContentHintProjects4, -): string { - return JSON.stringify( - CreateProjectEnvContentHintProjects4$outboundSchema.parse( - createProjectEnvContentHintProjects4, - ), - ); -} - -export function createProjectEnvContentHintProjects4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectEnvContentHintProjects4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHintProjects4' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjects3$inboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects3, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHintProjects3$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHintProjects3$outboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects3$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHintProjects3 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjects3$ { - /** @deprecated use `CreateProjectEnvContentHintProjects3$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjects3$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects3$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjects3$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects3$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHintProjects3$Outbound; -} - -export function createProjectEnvContentHintProjects3ToJSON( - createProjectEnvContentHintProjects3: CreateProjectEnvContentHintProjects3, -): string { - return JSON.stringify( - CreateProjectEnvContentHintProjects3$outboundSchema.parse( - createProjectEnvContentHintProjects3, - ), - ); -} - -export function createProjectEnvContentHintProjects3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectEnvContentHintProjects3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHintProjects3' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjects2$inboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects2, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHintProjects2$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHintProjects2$outboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects2$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHintProjects2 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjects2$ { - /** @deprecated use `CreateProjectEnvContentHintProjects2$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjects2$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects2$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjects2$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects2$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHintProjects2$Outbound; -} - -export function createProjectEnvContentHintProjects2ToJSON( - createProjectEnvContentHintProjects2: CreateProjectEnvContentHintProjects2, -): string { - return JSON.stringify( - CreateProjectEnvContentHintProjects2$outboundSchema.parse( - createProjectEnvContentHintProjects2, - ), - ); -} - -export function createProjectEnvContentHintProjects2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectEnvContentHintProjects2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHintProjects2' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjects1$inboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects1, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHintProjects1$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHintProjects1$outboundSchema: z.ZodType< - CreateProjectEnvContentHintProjects1$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHintProjects1 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjects1$ { - /** @deprecated use `CreateProjectEnvContentHintProjects1$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjects1$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects1$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjects1$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjects1$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHintProjects1$Outbound; -} - -export function createProjectEnvContentHintProjects1ToJSON( - createProjectEnvContentHintProjects1: CreateProjectEnvContentHintProjects1, -): string { - return JSON.stringify( - CreateProjectEnvContentHintProjects1$outboundSchema.parse( - createProjectEnvContentHintProjects1, - ), - ); -} - -export function createProjectEnvContentHintProjects1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectEnvContentHintProjects1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHintProjects1' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvCreatedContentHint$inboundSchema: z.ZodType< - CreateProjectEnvCreatedContentHint, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CreateProjectEnvContentHintProjects1$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects2$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects3$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects4$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects5$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects6$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects7$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects8$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects9$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects10$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects11$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects12$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects13$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects15$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects14$inboundSchema), -]); - -/** @internal */ -export type CreateProjectEnvCreatedContentHint$Outbound = - | CreateProjectEnvContentHintProjects1$Outbound - | CreateProjectEnvContentHintProjects2$Outbound - | CreateProjectEnvContentHintProjects3$Outbound - | CreateProjectEnvContentHintProjects4$Outbound - | CreateProjectEnvContentHintProjects5$Outbound - | CreateProjectEnvContentHintProjects6$Outbound - | CreateProjectEnvContentHintProjects7$Outbound - | CreateProjectEnvContentHintProjects8$Outbound - | CreateProjectEnvContentHintProjects9$Outbound - | CreateProjectEnvContentHintProjects10$Outbound - | CreateProjectEnvContentHintProjects11$Outbound - | CreateProjectEnvContentHintProjects12$Outbound - | CreateProjectEnvContentHintProjects13$Outbound - | CreateProjectEnvContentHintProjects15$Outbound - | CreateProjectEnvContentHintProjects14$Outbound; - -/** @internal */ -export const CreateProjectEnvCreatedContentHint$outboundSchema: z.ZodType< - CreateProjectEnvCreatedContentHint$Outbound, - z.ZodTypeDef, - CreateProjectEnvCreatedContentHint -> = z.union([ - z.lazy(() => CreateProjectEnvContentHintProjects1$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects2$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects3$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects4$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects5$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects6$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects7$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects8$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects9$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects10$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects11$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects12$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects13$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects15$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects14$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvCreatedContentHint$ { - /** @deprecated use `CreateProjectEnvCreatedContentHint$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvCreatedContentHint$inboundSchema; - /** @deprecated use `CreateProjectEnvCreatedContentHint$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvCreatedContentHint$outboundSchema; - /** @deprecated use `CreateProjectEnvCreatedContentHint$Outbound` instead. */ - export type Outbound = CreateProjectEnvCreatedContentHint$Outbound; -} - -export function createProjectEnvCreatedContentHintToJSON( - createProjectEnvCreatedContentHint: CreateProjectEnvCreatedContentHint, -): string { - return JSON.stringify( - CreateProjectEnvCreatedContentHint$outboundSchema.parse( - createProjectEnvCreatedContentHint, - ), - ); -} - -export function createProjectEnvCreatedContentHintFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - CreateProjectEnvCreatedContentHint$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvCreatedContentHint' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvCreatedProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectEnvCreatedProjectsResponseType); - -/** @internal */ -export const CreateProjectEnvCreatedProjectsResponseType$outboundSchema: - z.ZodNativeEnum = - CreateProjectEnvCreatedProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvCreatedProjectsResponseType$ { - /** @deprecated use `CreateProjectEnvCreatedProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvCreatedProjectsResponseType$inboundSchema; - /** @deprecated use `CreateProjectEnvCreatedProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvCreatedProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvCreatedInternalContentHint$inboundSchema: - z.ZodType = - z.object({ - type: CreateProjectEnvCreatedProjectsResponseType$inboundSchema, - encryptedValue: z.string(), - }); - -/** @internal */ -export type CreateProjectEnvCreatedInternalContentHint$Outbound = { - type: string; - encryptedValue: string; -}; - -/** @internal */ -export const CreateProjectEnvCreatedInternalContentHint$outboundSchema: - z.ZodType< - CreateProjectEnvCreatedInternalContentHint$Outbound, - z.ZodTypeDef, - CreateProjectEnvCreatedInternalContentHint - > = z.object({ - type: CreateProjectEnvCreatedProjectsResponseType$outboundSchema, - encryptedValue: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvCreatedInternalContentHint$ { - /** @deprecated use `CreateProjectEnvCreatedInternalContentHint$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvCreatedInternalContentHint$inboundSchema; - /** @deprecated use `CreateProjectEnvCreatedInternalContentHint$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvCreatedInternalContentHint$outboundSchema; - /** @deprecated use `CreateProjectEnvCreatedInternalContentHint$Outbound` instead. */ - export type Outbound = CreateProjectEnvCreatedInternalContentHint$Outbound; -} - -export function createProjectEnvCreatedInternalContentHintToJSON( - createProjectEnvCreatedInternalContentHint: - CreateProjectEnvCreatedInternalContentHint, -): string { - return JSON.stringify( - CreateProjectEnvCreatedInternalContentHint$outboundSchema.parse( - createProjectEnvCreatedInternalContentHint, - ), - ); -} - -export function createProjectEnvCreatedInternalContentHintFromJSON( - jsonString: string, -): SafeParseResult< - CreateProjectEnvCreatedInternalContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - CreateProjectEnvCreatedInternalContentHint$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'CreateProjectEnvCreatedInternalContentHint' from JSON`, - ); -} - -/** @internal */ -export const Created2$inboundSchema: z.ZodType< - Created2, - z.ZodTypeDef, - unknown -> = z.object({ - target: z.union([ - z.array(z.string()), - CreateProjectEnvTargetProjects2$inboundSchema, - ]).optional(), - type: CreateProjectEnvCreatedType$inboundSchema.optional(), - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string().optional(), - value: z.string().optional(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => CreateProjectEnvContentHintProjects1$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects2$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects3$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects4$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects5$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects6$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects7$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects8$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects9$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects10$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects11$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects12$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects13$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects15$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects14$inboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => CreateProjectEnvCreatedInternalContentHint$inboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), - system: z.boolean().optional(), -}); - -/** @internal */ -export type Created2$Outbound = { - target?: Array | string | undefined; - type?: string | undefined; - sunsetSecretId?: string | undefined; - id?: string | undefined; - key?: string | undefined; - value?: string | undefined; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | CreateProjectEnvContentHintProjects1$Outbound - | CreateProjectEnvContentHintProjects2$Outbound - | CreateProjectEnvContentHintProjects3$Outbound - | CreateProjectEnvContentHintProjects4$Outbound - | CreateProjectEnvContentHintProjects5$Outbound - | CreateProjectEnvContentHintProjects6$Outbound - | CreateProjectEnvContentHintProjects7$Outbound - | CreateProjectEnvContentHintProjects8$Outbound - | CreateProjectEnvContentHintProjects9$Outbound - | CreateProjectEnvContentHintProjects10$Outbound - | CreateProjectEnvContentHintProjects11$Outbound - | CreateProjectEnvContentHintProjects12$Outbound - | CreateProjectEnvContentHintProjects13$Outbound - | CreateProjectEnvContentHintProjects15$Outbound - | CreateProjectEnvContentHintProjects14$Outbound - | null - | undefined; - internalContentHint?: - | CreateProjectEnvCreatedInternalContentHint$Outbound - | null - | undefined; - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; - system?: boolean | undefined; -}; - -/** @internal */ -export const Created2$outboundSchema: z.ZodType< - Created2$Outbound, - z.ZodTypeDef, - Created2 -> = z.object({ - target: z.union([ - z.array(z.string()), - CreateProjectEnvTargetProjects2$outboundSchema, - ]).optional(), - type: CreateProjectEnvCreatedType$outboundSchema.optional(), - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string().optional(), - value: z.string().optional(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => CreateProjectEnvContentHintProjects1$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects2$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects3$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects4$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects5$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects6$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects7$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects8$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects9$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects10$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects11$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects12$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects13$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects15$outboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects14$outboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => CreateProjectEnvCreatedInternalContentHint$outboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), - system: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Created2$ { - /** @deprecated use `Created2$inboundSchema` instead. */ - export const inboundSchema = Created2$inboundSchema; - /** @deprecated use `Created2$outboundSchema` instead. */ - export const outboundSchema = Created2$outboundSchema; - /** @deprecated use `Created2$Outbound` instead. */ - export type Outbound = Created2$Outbound; -} - -export function created2ToJSON(created2: Created2): string { - return JSON.stringify(Created2$outboundSchema.parse(created2)); -} - -export function created2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Created2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Created2' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvTarget2$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnvTarget2 -> = z.nativeEnum(CreateProjectEnvTarget2); - -/** @internal */ -export const CreateProjectEnvTarget2$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnvTarget2 -> = CreateProjectEnvTarget2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvTarget2$ { - /** @deprecated use `CreateProjectEnvTarget2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvTarget2$inboundSchema; - /** @deprecated use `CreateProjectEnvTarget2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvTarget2$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvTarget1$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnvTarget1 -> = z.nativeEnum(CreateProjectEnvTarget1); - -/** @internal */ -export const CreateProjectEnvTarget1$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnvTarget1 -> = CreateProjectEnvTarget1$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvTarget1$ { - /** @deprecated use `CreateProjectEnvTarget1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvTarget1$inboundSchema; - /** @deprecated use `CreateProjectEnvTarget1$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvTarget1$outboundSchema; -} - -/** @internal */ -export const CreatedTarget$inboundSchema: z.ZodType< - CreatedTarget, - z.ZodTypeDef, - unknown -> = z.union([ - z.array(CreateProjectEnvTarget1$inboundSchema), - CreateProjectEnvTarget2$inboundSchema, -]); - -/** @internal */ -export type CreatedTarget$Outbound = Array | string; - -/** @internal */ -export const CreatedTarget$outboundSchema: z.ZodType< - CreatedTarget$Outbound, - z.ZodTypeDef, - CreatedTarget -> = z.union([ - z.array(CreateProjectEnvTarget1$outboundSchema), - CreateProjectEnvTarget2$outboundSchema, -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreatedTarget$ { - /** @deprecated use `CreatedTarget$inboundSchema` instead. */ - export const inboundSchema = CreatedTarget$inboundSchema; - /** @deprecated use `CreatedTarget$outboundSchema` instead. */ - export const outboundSchema = CreatedTarget$outboundSchema; - /** @deprecated use `CreatedTarget$Outbound` instead. */ - export type Outbound = CreatedTarget$Outbound; -} - -export function createdTargetToJSON(createdTarget: CreatedTarget): string { - return JSON.stringify(CreatedTarget$outboundSchema.parse(createdTarget)); -} - -export function createdTargetFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreatedTarget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreatedTarget' from JSON`, - ); -} - -/** @internal */ -export const CreatedType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(CreatedType); - -/** @internal */ -export const CreatedType$outboundSchema: z.ZodNativeEnum = - CreatedType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreatedType$ { - /** @deprecated use `CreatedType$inboundSchema` instead. */ - export const inboundSchema = CreatedType$inboundSchema; - /** @deprecated use `CreatedType$outboundSchema` instead. */ - export const outboundSchema = CreatedType$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHint15$inboundSchema: z.ZodType< - CreateProjectEnvContentHint15, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$inboundSchema, - projectId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHint15$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHint15$outboundSchema: z.ZodType< - CreateProjectEnvContentHint15$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHint15 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHint15$ { - /** @deprecated use `CreateProjectEnvContentHint15$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvContentHint15$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHint15$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvContentHint15$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHint15$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHint15$Outbound; -} - -export function createProjectEnvContentHint15ToJSON( - createProjectEnvContentHint15: CreateProjectEnvContentHint15, -): string { - return JSON.stringify( - CreateProjectEnvContentHint15$outboundSchema.parse( - createProjectEnvContentHint15, - ), - ); -} - -export function createProjectEnvContentHint15FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvContentHint15$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHint15' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHint14$inboundSchema: z.ZodType< - CreateProjectEnvContentHint14, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$inboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHint14$Outbound = { - type: string; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHint14$outboundSchema: z.ZodType< - CreateProjectEnvContentHint14$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHint14 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$outboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHint14$ { - /** @deprecated use `CreateProjectEnvContentHint14$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvContentHint14$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHint14$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvContentHint14$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHint14$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHint14$Outbound; -} - -export function createProjectEnvContentHint14ToJSON( - createProjectEnvContentHint14: CreateProjectEnvContentHint14, -): string { - return JSON.stringify( - CreateProjectEnvContentHint14$outboundSchema.parse( - createProjectEnvContentHint14, - ), - ); -} - -export function createProjectEnvContentHint14FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvContentHint14$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHint14' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHint13$inboundSchema: z.ZodType< - CreateProjectEnvContentHint13, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHint13$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHint13$outboundSchema: z.ZodType< - CreateProjectEnvContentHint13$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHint13 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHint13$ { - /** @deprecated use `CreateProjectEnvContentHint13$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvContentHint13$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHint13$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvContentHint13$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHint13$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHint13$Outbound; -} - -export function createProjectEnvContentHint13ToJSON( - createProjectEnvContentHint13: CreateProjectEnvContentHint13, -): string { - return JSON.stringify( - CreateProjectEnvContentHint13$outboundSchema.parse( - createProjectEnvContentHint13, - ), - ); -} - -export function createProjectEnvContentHint13FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvContentHint13$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHint13' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHint12$inboundSchema: z.ZodType< - CreateProjectEnvContentHint12, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHint12$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHint12$outboundSchema: z.ZodType< - CreateProjectEnvContentHint12$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHint12 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHint12$ { - /** @deprecated use `CreateProjectEnvContentHint12$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvContentHint12$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHint12$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvContentHint12$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHint12$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHint12$Outbound; -} - -export function createProjectEnvContentHint12ToJSON( - createProjectEnvContentHint12: CreateProjectEnvContentHint12, -): string { - return JSON.stringify( - CreateProjectEnvContentHint12$outboundSchema.parse( - createProjectEnvContentHint12, - ), - ); -} - -export function createProjectEnvContentHint12FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvContentHint12$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHint12' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHint11$inboundSchema: z.ZodType< - CreateProjectEnvContentHint11, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHint11$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHint11$outboundSchema: z.ZodType< - CreateProjectEnvContentHint11$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHint11 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHint11$ { - /** @deprecated use `CreateProjectEnvContentHint11$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvContentHint11$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHint11$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvContentHint11$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHint11$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHint11$Outbound; -} - -export function createProjectEnvContentHint11ToJSON( - createProjectEnvContentHint11: CreateProjectEnvContentHint11, -): string { - return JSON.stringify( - CreateProjectEnvContentHint11$outboundSchema.parse( - createProjectEnvContentHint11, - ), - ); -} - -export function createProjectEnvContentHint11FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvContentHint11$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHint11' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHint10$inboundSchema: z.ZodType< - CreateProjectEnvContentHint10, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHint10$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHint10$outboundSchema: z.ZodType< - CreateProjectEnvContentHint10$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHint10 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHint10$ { - /** @deprecated use `CreateProjectEnvContentHint10$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvContentHint10$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHint10$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvContentHint10$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHint10$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHint10$Outbound; -} - -export function createProjectEnvContentHint10ToJSON( - createProjectEnvContentHint10: CreateProjectEnvContentHint10, -): string { - return JSON.stringify( - CreateProjectEnvContentHint10$outboundSchema.parse( - createProjectEnvContentHint10, - ), - ); -} - -export function createProjectEnvContentHint10FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvContentHint10$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHint10' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHint9$inboundSchema: z.ZodType< - CreateProjectEnvContentHint9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHint9$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHint9$outboundSchema: z.ZodType< - CreateProjectEnvContentHint9$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHint9 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHint9$ { - /** @deprecated use `CreateProjectEnvContentHint9$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvContentHint9$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHint9$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvContentHint9$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHint9$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHint9$Outbound; -} - -export function createProjectEnvContentHint9ToJSON( - createProjectEnvContentHint9: CreateProjectEnvContentHint9, -): string { - return JSON.stringify( - CreateProjectEnvContentHint9$outboundSchema.parse( - createProjectEnvContentHint9, - ), - ); -} - -export function createProjectEnvContentHint9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvContentHint9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHint9' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHint8$inboundSchema: z.ZodType< - CreateProjectEnvContentHint8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHint8$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHint8$outboundSchema: z.ZodType< - CreateProjectEnvContentHint8$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHint8 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHint8$ { - /** @deprecated use `CreateProjectEnvContentHint8$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvContentHint8$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHint8$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvContentHint8$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHint8$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHint8$Outbound; -} - -export function createProjectEnvContentHint8ToJSON( - createProjectEnvContentHint8: CreateProjectEnvContentHint8, -): string { - return JSON.stringify( - CreateProjectEnvContentHint8$outboundSchema.parse( - createProjectEnvContentHint8, - ), - ); -} - -export function createProjectEnvContentHint8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvContentHint8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHint8' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHint7$inboundSchema: z.ZodType< - CreateProjectEnvContentHint7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHint7$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHint7$outboundSchema: z.ZodType< - CreateProjectEnvContentHint7$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHint7 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHint7$ { - /** @deprecated use `CreateProjectEnvContentHint7$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvContentHint7$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHint7$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvContentHint7$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHint7$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHint7$Outbound; -} - -export function createProjectEnvContentHint7ToJSON( - createProjectEnvContentHint7: CreateProjectEnvContentHint7, -): string { - return JSON.stringify( - CreateProjectEnvContentHint7$outboundSchema.parse( - createProjectEnvContentHint7, - ), - ); -} - -export function createProjectEnvContentHint7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvContentHint7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHint7' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHint6$inboundSchema: z.ZodType< - CreateProjectEnvContentHint6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHint6$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHint6$outboundSchema: z.ZodType< - CreateProjectEnvContentHint6$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHint6 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHint6$ { - /** @deprecated use `CreateProjectEnvContentHint6$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvContentHint6$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHint6$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvContentHint6$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHint6$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHint6$Outbound; -} - -export function createProjectEnvContentHint6ToJSON( - createProjectEnvContentHint6: CreateProjectEnvContentHint6, -): string { - return JSON.stringify( - CreateProjectEnvContentHint6$outboundSchema.parse( - createProjectEnvContentHint6, - ), - ); -} - -export function createProjectEnvContentHint6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvContentHint6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHint6' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$inboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType - > = z.nativeEnum( - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType, - ); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$outboundSchema: - z.ZodNativeEnum< - typeof CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType - > = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHint5$inboundSchema: z.ZodType< - CreateProjectEnvContentHint5, - z.ZodTypeDef, - unknown -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHint5$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHint5$outboundSchema: z.ZodType< - CreateProjectEnvContentHint5$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHint5 -> = z.object({ - type: - CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHint5$ { - /** @deprecated use `CreateProjectEnvContentHint5$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvContentHint5$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHint5$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvContentHint5$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHint5$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHint5$Outbound; -} - -export function createProjectEnvContentHint5ToJSON( - createProjectEnvContentHint5: CreateProjectEnvContentHint5, -): string { - return JSON.stringify( - CreateProjectEnvContentHint5$outboundSchema.parse( - createProjectEnvContentHint5, - ), - ); -} - -export function createProjectEnvContentHint5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvContentHint5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHint5' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectEnvContentHintProjectsResponse201Type); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponse201Type$outboundSchema: - z.ZodNativeEnum = - CreateProjectEnvContentHintProjectsResponse201Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponse201Type$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponse201Type$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponse201Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponse201Type$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHint4$inboundSchema: z.ZodType< - CreateProjectEnvContentHint4, - z.ZodTypeDef, - unknown -> = z.object({ - type: CreateProjectEnvContentHintProjectsResponse201Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHint4$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHint4$outboundSchema: z.ZodType< - CreateProjectEnvContentHint4$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHint4 -> = z.object({ - type: CreateProjectEnvContentHintProjectsResponse201Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHint4$ { - /** @deprecated use `CreateProjectEnvContentHint4$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvContentHint4$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHint4$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvContentHint4$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHint4$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHint4$Outbound; -} - -export function createProjectEnvContentHint4ToJSON( - createProjectEnvContentHint4: CreateProjectEnvContentHint4, -): string { - return JSON.stringify( - CreateProjectEnvContentHint4$outboundSchema.parse( - createProjectEnvContentHint4, - ), - ); -} - -export function createProjectEnvContentHint4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvContentHint4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHint4' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectEnvContentHintProjectsResponseType); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsResponseType$outboundSchema: - z.ZodNativeEnum = - CreateProjectEnvContentHintProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsResponseType$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsResponseType$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHint3$inboundSchema: z.ZodType< - CreateProjectEnvContentHint3, - z.ZodTypeDef, - unknown -> = z.object({ - type: CreateProjectEnvContentHintProjectsResponseType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHint3$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHint3$outboundSchema: z.ZodType< - CreateProjectEnvContentHint3$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHint3 -> = z.object({ - type: CreateProjectEnvContentHintProjectsResponseType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHint3$ { - /** @deprecated use `CreateProjectEnvContentHint3$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvContentHint3$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHint3$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvContentHint3$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHint3$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHint3$Outbound; -} - -export function createProjectEnvContentHint3ToJSON( - createProjectEnvContentHint3: CreateProjectEnvContentHint3, -): string { - return JSON.stringify( - CreateProjectEnvContentHint3$outboundSchema.parse( - createProjectEnvContentHint3, - ), - ); -} - -export function createProjectEnvContentHint3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvContentHint3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHint3' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintProjectsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectEnvContentHintProjectsType); - -/** @internal */ -export const CreateProjectEnvContentHintProjectsType$outboundSchema: - z.ZodNativeEnum = - CreateProjectEnvContentHintProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintProjectsType$ { - /** @deprecated use `CreateProjectEnvContentHintProjectsType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvContentHintProjectsType$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintProjectsType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvContentHintProjectsType$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHint2$inboundSchema: z.ZodType< - CreateProjectEnvContentHint2, - z.ZodTypeDef, - unknown -> = z.object({ - type: CreateProjectEnvContentHintProjectsType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHint2$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHint2$outboundSchema: z.ZodType< - CreateProjectEnvContentHint2$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHint2 -> = z.object({ - type: CreateProjectEnvContentHintProjectsType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHint2$ { - /** @deprecated use `CreateProjectEnvContentHint2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvContentHint2$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHint2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvContentHint2$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHint2$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHint2$Outbound; -} - -export function createProjectEnvContentHint2ToJSON( - createProjectEnvContentHint2: CreateProjectEnvContentHint2, -): string { - return JSON.stringify( - CreateProjectEnvContentHint2$outboundSchema.parse( - createProjectEnvContentHint2, - ), - ); -} - -export function createProjectEnvContentHint2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvContentHint2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHint2' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvContentHintType$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnvContentHintType -> = z.nativeEnum(CreateProjectEnvContentHintType); - -/** @internal */ -export const CreateProjectEnvContentHintType$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnvContentHintType -> = CreateProjectEnvContentHintType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHintType$ { - /** @deprecated use `CreateProjectEnvContentHintType$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvContentHintType$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHintType$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvContentHintType$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvContentHint1$inboundSchema: z.ZodType< - CreateProjectEnvContentHint1, - z.ZodTypeDef, - unknown -> = z.object({ - type: CreateProjectEnvContentHintType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type CreateProjectEnvContentHint1$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const CreateProjectEnvContentHint1$outboundSchema: z.ZodType< - CreateProjectEnvContentHint1$Outbound, - z.ZodTypeDef, - CreateProjectEnvContentHint1 -> = z.object({ - type: CreateProjectEnvContentHintType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvContentHint1$ { - /** @deprecated use `CreateProjectEnvContentHint1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvContentHint1$inboundSchema; - /** @deprecated use `CreateProjectEnvContentHint1$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvContentHint1$outboundSchema; - /** @deprecated use `CreateProjectEnvContentHint1$Outbound` instead. */ - export type Outbound = CreateProjectEnvContentHint1$Outbound; -} - -export function createProjectEnvContentHint1ToJSON( - createProjectEnvContentHint1: CreateProjectEnvContentHint1, -): string { - return JSON.stringify( - CreateProjectEnvContentHint1$outboundSchema.parse( - createProjectEnvContentHint1, - ), - ); -} - -export function createProjectEnvContentHint1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvContentHint1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvContentHint1' from JSON`, - ); -} - -/** @internal */ -export const CreatedContentHint$inboundSchema: z.ZodType< - CreatedContentHint, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CreateProjectEnvContentHint1$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint2$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint3$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint4$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint5$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint6$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint7$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint8$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint9$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint10$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint11$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint12$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint13$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint15$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint14$inboundSchema), -]); - -/** @internal */ -export type CreatedContentHint$Outbound = - | CreateProjectEnvContentHint1$Outbound - | CreateProjectEnvContentHint2$Outbound - | CreateProjectEnvContentHint3$Outbound - | CreateProjectEnvContentHint4$Outbound - | CreateProjectEnvContentHint5$Outbound - | CreateProjectEnvContentHint6$Outbound - | CreateProjectEnvContentHint7$Outbound - | CreateProjectEnvContentHint8$Outbound - | CreateProjectEnvContentHint9$Outbound - | CreateProjectEnvContentHint10$Outbound - | CreateProjectEnvContentHint11$Outbound - | CreateProjectEnvContentHint12$Outbound - | CreateProjectEnvContentHint13$Outbound - | CreateProjectEnvContentHint15$Outbound - | CreateProjectEnvContentHint14$Outbound; - -/** @internal */ -export const CreatedContentHint$outboundSchema: z.ZodType< - CreatedContentHint$Outbound, - z.ZodTypeDef, - CreatedContentHint -> = z.union([ - z.lazy(() => CreateProjectEnvContentHint1$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint2$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint3$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint4$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint5$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint6$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint7$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint8$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint9$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint10$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint11$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint12$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint13$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint15$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint14$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreatedContentHint$ { - /** @deprecated use `CreatedContentHint$inboundSchema` instead. */ - export const inboundSchema = CreatedContentHint$inboundSchema; - /** @deprecated use `CreatedContentHint$outboundSchema` instead. */ - export const outboundSchema = CreatedContentHint$outboundSchema; - /** @deprecated use `CreatedContentHint$Outbound` instead. */ - export type Outbound = CreatedContentHint$Outbound; -} - -export function createdContentHintToJSON( - createdContentHint: CreatedContentHint, -): string { - return JSON.stringify( - CreatedContentHint$outboundSchema.parse(createdContentHint), - ); -} - -export function createdContentHintFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreatedContentHint$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreatedContentHint' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvCreatedProjectsType$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnvCreatedProjectsType -> = z.nativeEnum(CreateProjectEnvCreatedProjectsType); - -/** @internal */ -export const CreateProjectEnvCreatedProjectsType$outboundSchema: - z.ZodNativeEnum = - CreateProjectEnvCreatedProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvCreatedProjectsType$ { - /** @deprecated use `CreateProjectEnvCreatedProjectsType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvCreatedProjectsType$inboundSchema; - /** @deprecated use `CreateProjectEnvCreatedProjectsType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvCreatedProjectsType$outboundSchema; -} - -/** @internal */ -export const CreatedInternalContentHint$inboundSchema: z.ZodType< - CreatedInternalContentHint, - z.ZodTypeDef, - unknown -> = z.object({ - type: CreateProjectEnvCreatedProjectsType$inboundSchema, - encryptedValue: z.string(), -}); - -/** @internal */ -export type CreatedInternalContentHint$Outbound = { - type: string; - encryptedValue: string; -}; - -/** @internal */ -export const CreatedInternalContentHint$outboundSchema: z.ZodType< - CreatedInternalContentHint$Outbound, - z.ZodTypeDef, - CreatedInternalContentHint -> = z.object({ - type: CreateProjectEnvCreatedProjectsType$outboundSchema, - encryptedValue: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreatedInternalContentHint$ { - /** @deprecated use `CreatedInternalContentHint$inboundSchema` instead. */ - export const inboundSchema = CreatedInternalContentHint$inboundSchema; - /** @deprecated use `CreatedInternalContentHint$outboundSchema` instead. */ - export const outboundSchema = CreatedInternalContentHint$outboundSchema; - /** @deprecated use `CreatedInternalContentHint$Outbound` instead. */ - export type Outbound = CreatedInternalContentHint$Outbound; -} - -export function createdInternalContentHintToJSON( - createdInternalContentHint: CreatedInternalContentHint, -): string { - return JSON.stringify( - CreatedInternalContentHint$outboundSchema.parse(createdInternalContentHint), - ); -} - -export function createdInternalContentHintFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreatedInternalContentHint$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreatedInternalContentHint' from JSON`, - ); -} - -/** @internal */ -export const Created1$inboundSchema: z.ZodType< - Created1, - z.ZodTypeDef, - unknown -> = z.object({ - target: z.union([ - z.array(CreateProjectEnvTarget1$inboundSchema), - CreateProjectEnvTarget2$inboundSchema, - ]).optional(), - type: CreatedType$inboundSchema.optional(), - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string().optional(), - value: z.string().optional(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => CreateProjectEnvContentHint1$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint2$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint3$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint4$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint5$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint6$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint7$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint8$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint9$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint10$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint11$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint12$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint13$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint15$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint14$inboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => CreatedInternalContentHint$inboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), - system: z.boolean().optional(), -}); - -/** @internal */ -export type Created1$Outbound = { - target?: Array | string | undefined; - type?: string | undefined; - sunsetSecretId?: string | undefined; - id?: string | undefined; - key?: string | undefined; - value?: string | undefined; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | CreateProjectEnvContentHint1$Outbound - | CreateProjectEnvContentHint2$Outbound - | CreateProjectEnvContentHint3$Outbound - | CreateProjectEnvContentHint4$Outbound - | CreateProjectEnvContentHint5$Outbound - | CreateProjectEnvContentHint6$Outbound - | CreateProjectEnvContentHint7$Outbound - | CreateProjectEnvContentHint8$Outbound - | CreateProjectEnvContentHint9$Outbound - | CreateProjectEnvContentHint10$Outbound - | CreateProjectEnvContentHint11$Outbound - | CreateProjectEnvContentHint12$Outbound - | CreateProjectEnvContentHint13$Outbound - | CreateProjectEnvContentHint15$Outbound - | CreateProjectEnvContentHint14$Outbound - | null - | undefined; - internalContentHint?: CreatedInternalContentHint$Outbound | null | undefined; - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; - system?: boolean | undefined; -}; - -/** @internal */ -export const Created1$outboundSchema: z.ZodType< - Created1$Outbound, - z.ZodTypeDef, - Created1 -> = z.object({ - target: z.union([ - z.array(CreateProjectEnvTarget1$outboundSchema), - CreateProjectEnvTarget2$outboundSchema, - ]).optional(), - type: CreatedType$outboundSchema.optional(), - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string().optional(), - value: z.string().optional(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => CreateProjectEnvContentHint1$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint2$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint3$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint4$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint5$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint6$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint7$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint8$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint9$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint10$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint11$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint12$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint13$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint15$outboundSchema), - z.lazy(() => CreateProjectEnvContentHint14$outboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => CreatedInternalContentHint$outboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), - system: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Created1$ { - /** @deprecated use `Created1$inboundSchema` instead. */ - export const inboundSchema = Created1$inboundSchema; - /** @deprecated use `Created1$outboundSchema` instead. */ - export const outboundSchema = Created1$outboundSchema; - /** @deprecated use `Created1$Outbound` instead. */ - export type Outbound = Created1$Outbound; -} - -export function created1ToJSON(created1: Created1): string { - return JSON.stringify(Created1$outboundSchema.parse(created1)); -} - -export function created1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Created1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Created1' from JSON`, - ); -} - -/** @internal */ -export const Created$inboundSchema: z.ZodType = - z.union([ - z.lazy(() => Created1$inboundSchema), - z.array(z.lazy(() => Created2$inboundSchema)), - ]); - -/** @internal */ -export type Created$Outbound = Created1$Outbound | Array; - -/** @internal */ -export const Created$outboundSchema: z.ZodType< - Created$Outbound, - z.ZodTypeDef, - Created -> = z.union([ - z.lazy(() => Created1$outboundSchema), - z.array(z.lazy(() => Created2$outboundSchema)), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Created$ { - /** @deprecated use `Created$inboundSchema` instead. */ - export const inboundSchema = Created$inboundSchema; - /** @deprecated use `Created$outboundSchema` instead. */ - export const outboundSchema = Created$outboundSchema; - /** @deprecated use `Created$Outbound` instead. */ - export type Outbound = Created$Outbound; -} - -export function createdToJSON(created: Created): string { - return JSON.stringify(Created$outboundSchema.parse(created)); -} - -export function createdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Created$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Created' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvValue2$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnvValue2 -> = z.nativeEnum(CreateProjectEnvValue2); - -/** @internal */ -export const CreateProjectEnvValue2$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnvValue2 -> = CreateProjectEnvValue2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvValue2$ { - /** @deprecated use `CreateProjectEnvValue2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvValue2$inboundSchema; - /** @deprecated use `CreateProjectEnvValue2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvValue2$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvValue$inboundSchema: z.ZodType< - CreateProjectEnvValue, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.array(CreateProjectEnvValue2$inboundSchema)]); - -/** @internal */ -export type CreateProjectEnvValue$Outbound = string | Array; - -/** @internal */ -export const CreateProjectEnvValue$outboundSchema: z.ZodType< - CreateProjectEnvValue$Outbound, - z.ZodTypeDef, - CreateProjectEnvValue -> = z.union([z.string(), z.array(CreateProjectEnvValue2$outboundSchema)]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvValue$ { - /** @deprecated use `CreateProjectEnvValue$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvValue$inboundSchema; - /** @deprecated use `CreateProjectEnvValue$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvValue$outboundSchema; - /** @deprecated use `CreateProjectEnvValue$Outbound` instead. */ - export type Outbound = CreateProjectEnvValue$Outbound; -} - -export function createProjectEnvValueToJSON( - createProjectEnvValue: CreateProjectEnvValue, -): string { - return JSON.stringify( - CreateProjectEnvValue$outboundSchema.parse(createProjectEnvValue), - ); -} - -export function createProjectEnvValueFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvValue$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvValue' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvTargetProjectsResponse2$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectEnvTargetProjectsResponse2); - -/** @internal */ -export const CreateProjectEnvTargetProjectsResponse2$outboundSchema: - z.ZodNativeEnum = - CreateProjectEnvTargetProjectsResponse2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvTargetProjectsResponse2$ { - /** @deprecated use `CreateProjectEnvTargetProjectsResponse2$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectEnvTargetProjectsResponse2$inboundSchema; - /** @deprecated use `CreateProjectEnvTargetProjectsResponse2$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectEnvTargetProjectsResponse2$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvTargetProjects1$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnvTargetProjects1 -> = z.nativeEnum(CreateProjectEnvTargetProjects1); - -/** @internal */ -export const CreateProjectEnvTargetProjects1$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectEnvTargetProjects1 -> = CreateProjectEnvTargetProjects1$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvTargetProjects1$ { - /** @deprecated use `CreateProjectEnvTargetProjects1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvTargetProjects1$inboundSchema; - /** @deprecated use `CreateProjectEnvTargetProjects1$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvTargetProjects1$outboundSchema; -} - -/** @internal */ -export const CreateProjectEnvTarget$inboundSchema: z.ZodType< - CreateProjectEnvTarget, - z.ZodTypeDef, - unknown -> = z.union([ - z.array(CreateProjectEnvTargetProjects1$inboundSchema), - CreateProjectEnvTargetProjectsResponse2$inboundSchema, -]); - -/** @internal */ -export type CreateProjectEnvTarget$Outbound = Array | string; - -/** @internal */ -export const CreateProjectEnvTarget$outboundSchema: z.ZodType< - CreateProjectEnvTarget$Outbound, - z.ZodTypeDef, - CreateProjectEnvTarget -> = z.union([ - z.array(CreateProjectEnvTargetProjects1$outboundSchema), - CreateProjectEnvTargetProjectsResponse2$outboundSchema, -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvTarget$ { - /** @deprecated use `CreateProjectEnvTarget$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvTarget$inboundSchema; - /** @deprecated use `CreateProjectEnvTarget$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvTarget$outboundSchema; - /** @deprecated use `CreateProjectEnvTarget$Outbound` instead. */ - export type Outbound = CreateProjectEnvTarget$Outbound; -} - -export function createProjectEnvTargetToJSON( - createProjectEnvTarget: CreateProjectEnvTarget, -): string { - return JSON.stringify( - CreateProjectEnvTarget$outboundSchema.parse(createProjectEnvTarget), - ); -} - -export function createProjectEnvTargetFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvTarget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvTarget' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvError$inboundSchema: z.ZodType< - CreateProjectEnvError, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), - key: z.string().optional(), - envVarId: z.string().optional(), - envVarKey: z.string().optional(), - action: z.string().optional(), - link: z.string().optional(), - value: z.union([z.string(), z.array(CreateProjectEnvValue2$inboundSchema)]) - .optional(), - gitBranch: z.string().optional(), - target: z.union([ - z.array(CreateProjectEnvTargetProjects1$inboundSchema), - CreateProjectEnvTargetProjectsResponse2$inboundSchema, - ]).optional(), - project: z.string().optional(), -}); - -/** @internal */ -export type CreateProjectEnvError$Outbound = { - code: string; - message: string; - key?: string | undefined; - envVarId?: string | undefined; - envVarKey?: string | undefined; - action?: string | undefined; - link?: string | undefined; - value?: string | Array | undefined; - gitBranch?: string | undefined; - target?: Array | string | undefined; - project?: string | undefined; -}; - -/** @internal */ -export const CreateProjectEnvError$outboundSchema: z.ZodType< - CreateProjectEnvError$Outbound, - z.ZodTypeDef, - CreateProjectEnvError -> = z.object({ - code: z.string(), - message: z.string(), - key: z.string().optional(), - envVarId: z.string().optional(), - envVarKey: z.string().optional(), - action: z.string().optional(), - link: z.string().optional(), - value: z.union([z.string(), z.array(CreateProjectEnvValue2$outboundSchema)]) - .optional(), - gitBranch: z.string().optional(), - target: z.union([ - z.array(CreateProjectEnvTargetProjects1$outboundSchema), - CreateProjectEnvTargetProjectsResponse2$outboundSchema, - ]).optional(), - project: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvError$ { - /** @deprecated use `CreateProjectEnvError$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvError$inboundSchema; - /** @deprecated use `CreateProjectEnvError$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvError$outboundSchema; - /** @deprecated use `CreateProjectEnvError$Outbound` instead. */ - export type Outbound = CreateProjectEnvError$Outbound; -} - -export function createProjectEnvErrorToJSON( - createProjectEnvError: CreateProjectEnvError, -): string { - return JSON.stringify( - CreateProjectEnvError$outboundSchema.parse(createProjectEnvError), - ); -} - -export function createProjectEnvErrorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvError$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvError' from JSON`, - ); -} - -/** @internal */ -export const Failed$inboundSchema: z.ZodType = z - .object({ - error: z.lazy(() => CreateProjectEnvError$inboundSchema), - }); - -/** @internal */ -export type Failed$Outbound = { - error: CreateProjectEnvError$Outbound; -}; - -/** @internal */ -export const Failed$outboundSchema: z.ZodType< - Failed$Outbound, - z.ZodTypeDef, - Failed -> = z.object({ - error: z.lazy(() => CreateProjectEnvError$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Failed$ { - /** @deprecated use `Failed$inboundSchema` instead. */ - export const inboundSchema = Failed$inboundSchema; - /** @deprecated use `Failed$outboundSchema` instead. */ - export const outboundSchema = Failed$outboundSchema; - /** @deprecated use `Failed$Outbound` instead. */ - export type Outbound = Failed$Outbound; -} - -export function failedToJSON(failed: Failed): string { - return JSON.stringify(Failed$outboundSchema.parse(failed)); -} - -export function failedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Failed$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Failed' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectEnvResponseBody$inboundSchema: z.ZodType< - CreateProjectEnvResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - created: z.union([ - z.lazy(() => Created1$inboundSchema), - z.array(z.lazy(() => Created2$inboundSchema)), - ]), - failed: z.array(z.lazy(() => Failed$inboundSchema)), -}); - -/** @internal */ -export type CreateProjectEnvResponseBody$Outbound = { - created: Created1$Outbound | Array; - failed: Array; -}; - -/** @internal */ -export const CreateProjectEnvResponseBody$outboundSchema: z.ZodType< - CreateProjectEnvResponseBody$Outbound, - z.ZodTypeDef, - CreateProjectEnvResponseBody -> = z.object({ - created: z.union([ - z.lazy(() => Created1$outboundSchema), - z.array(z.lazy(() => Created2$outboundSchema)), - ]), - failed: z.array(z.lazy(() => Failed$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvResponseBody$ { - /** @deprecated use `CreateProjectEnvResponseBody$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvResponseBody$inboundSchema; - /** @deprecated use `CreateProjectEnvResponseBody$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvResponseBody$outboundSchema; - /** @deprecated use `CreateProjectEnvResponseBody$Outbound` instead. */ - export type Outbound = CreateProjectEnvResponseBody$Outbound; -} - -export function createProjectEnvResponseBodyToJSON( - createProjectEnvResponseBody: CreateProjectEnvResponseBody, -): string { - return JSON.stringify( - CreateProjectEnvResponseBody$outboundSchema.parse( - createProjectEnvResponseBody, - ), - ); -} - -export function createProjectEnvResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateProjectEnvResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectEnvResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/createrecord.ts b/src/models/operations/createrecord.ts deleted file mode 100644 index f43288af..00000000 --- a/src/models/operations/createrecord.ts +++ /dev/null @@ -1,1802 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The type of record, it could be one of the valid DNS records. - */ -export const CreateRecordRequestBodyDnsRequest10Type = { - A: "A", - Aaaa: "AAAA", - Alias: "ALIAS", - Caa: "CAA", - Cname: "CNAME", - Https: "HTTPS", - Mx: "MX", - Srv: "SRV", - Txt: "TXT", - Ns: "NS", -} as const; -/** - * The type of record, it could be one of the valid DNS records. - */ -export type CreateRecordRequestBodyDnsRequest10Type = ClosedEnum< - typeof CreateRecordRequestBodyDnsRequest10Type ->; - -export type RequestBodyHttps = { - priority: number | null; - target: string; - params?: string | undefined; -}; - -export type Ten = { - /** - * The type of record, it could be one of the valid DNS records. - */ - type: CreateRecordRequestBodyDnsRequest10Type; - /** - * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. - */ - ttl?: number | undefined; - https: RequestBodyHttps; - /** - * A comment to add context on what this DNS record is for - */ - comment?: string | undefined; -}; - -/** - * The type of record, it could be one of the valid DNS records. - */ -export const CreateRecordRequestBodyDnsRequest9Type = { - A: "A", - Aaaa: "AAAA", - Alias: "ALIAS", - Caa: "CAA", - Cname: "CNAME", - Https: "HTTPS", - Mx: "MX", - Srv: "SRV", - Txt: "TXT", - Ns: "NS", -} as const; -/** - * The type of record, it could be one of the valid DNS records. - */ -export type CreateRecordRequestBodyDnsRequest9Type = ClosedEnum< - typeof CreateRecordRequestBodyDnsRequest9Type ->; - -export type Nine = { - /** - * A subdomain name. - */ - name: string; - /** - * The type of record, it could be one of the valid DNS records. - */ - type: CreateRecordRequestBodyDnsRequest9Type; - /** - * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. - */ - ttl?: number | undefined; - /** - * An NS domain value. - */ - value?: string | undefined; - /** - * A comment to add context on what this DNS record is for - */ - comment?: string | undefined; -}; - -/** - * The type of record, it could be one of the valid DNS records. - */ -export const CreateRecordRequestBodyDnsRequest8Type = { - A: "A", - Aaaa: "AAAA", - Alias: "ALIAS", - Caa: "CAA", - Cname: "CNAME", - Https: "HTTPS", - Mx: "MX", - Srv: "SRV", - Txt: "TXT", - Ns: "NS", -} as const; -/** - * The type of record, it could be one of the valid DNS records. - */ -export type CreateRecordRequestBodyDnsRequest8Type = ClosedEnum< - typeof CreateRecordRequestBodyDnsRequest8Type ->; - -export type Eight = { - /** - * The type of record, it could be one of the valid DNS records. - */ - type: CreateRecordRequestBodyDnsRequest8Type; - /** - * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. - */ - ttl?: number | undefined; - /** - * A TXT record containing arbitrary text. - */ - value: string; - /** - * A comment to add context on what this DNS record is for - */ - comment?: string | undefined; -}; - -/** - * The type of record, it could be one of the valid DNS records. - */ -export const CreateRecordRequestBodyDnsRequest7Type = { - A: "A", - Aaaa: "AAAA", - Alias: "ALIAS", - Caa: "CAA", - Cname: "CNAME", - Https: "HTTPS", - Mx: "MX", - Srv: "SRV", - Txt: "TXT", - Ns: "NS", -} as const; -/** - * The type of record, it could be one of the valid DNS records. - */ -export type CreateRecordRequestBodyDnsRequest7Type = ClosedEnum< - typeof CreateRecordRequestBodyDnsRequest7Type ->; - -export type RequestBodySrv = { - priority: number | null; - weight: number | null; - port: number | null; - target: string; -}; - -export type Seven = { - /** - * The type of record, it could be one of the valid DNS records. - */ - type: CreateRecordRequestBodyDnsRequest7Type; - /** - * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. - */ - ttl?: number | undefined; - srv: RequestBodySrv; - /** - * A comment to add context on what this DNS record is for - */ - comment?: string | undefined; -}; - -/** - * The type of record, it could be one of the valid DNS records. - */ -export const CreateRecordRequestBodyDnsRequest6Type = { - A: "A", - Aaaa: "AAAA", - Alias: "ALIAS", - Caa: "CAA", - Cname: "CNAME", - Https: "HTTPS", - Mx: "MX", - Srv: "SRV", - Txt: "TXT", - Ns: "NS", -} as const; -/** - * The type of record, it could be one of the valid DNS records. - */ -export type CreateRecordRequestBodyDnsRequest6Type = ClosedEnum< - typeof CreateRecordRequestBodyDnsRequest6Type ->; - -export type Six = { - /** - * A subdomain name or an empty string for the root domain. - */ - name: string; - /** - * The type of record, it could be one of the valid DNS records. - */ - type: CreateRecordRequestBodyDnsRequest6Type; - /** - * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. - */ - ttl?: number | undefined; - /** - * An MX record specifying the mail server responsible for accepting messages on behalf of the domain name. - */ - value: string; - mxPriority: number; - /** - * A comment to add context on what this DNS record is for - */ - comment?: string | undefined; -}; - -/** - * The type of record, it could be one of the valid DNS records. - */ -export const CreateRecordRequestBodyDnsRequest5Type = { - A: "A", - Aaaa: "AAAA", - Alias: "ALIAS", - Caa: "CAA", - Cname: "CNAME", - Https: "HTTPS", - Mx: "MX", - Srv: "SRV", - Txt: "TXT", - Ns: "NS", -} as const; -/** - * The type of record, it could be one of the valid DNS records. - */ -export type CreateRecordRequestBodyDnsRequest5Type = ClosedEnum< - typeof CreateRecordRequestBodyDnsRequest5Type ->; - -export type RequestBody5 = { - /** - * A subdomain name or an empty string for the root domain. - */ - name: string; - /** - * The type of record, it could be one of the valid DNS records. - */ - type: CreateRecordRequestBodyDnsRequest5Type; - /** - * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. - */ - ttl?: number | undefined; - /** - * A CNAME record mapping to another domain name. - */ - value?: string | undefined; - /** - * A comment to add context on what this DNS record is for - */ - comment?: string | undefined; -}; - -/** - * The type of record, it could be one of the valid DNS records. - */ -export const CreateRecordRequestBodyDnsRequestType = { - A: "A", - Aaaa: "AAAA", - Alias: "ALIAS", - Caa: "CAA", - Cname: "CNAME", - Https: "HTTPS", - Mx: "MX", - Srv: "SRV", - Txt: "TXT", - Ns: "NS", -} as const; -/** - * The type of record, it could be one of the valid DNS records. - */ -export type CreateRecordRequestBodyDnsRequestType = ClosedEnum< - typeof CreateRecordRequestBodyDnsRequestType ->; - -export type RequestBody4 = { - /** - * A subdomain name or an empty string for the root domain. - */ - name: string; - /** - * The type of record, it could be one of the valid DNS records. - */ - type: CreateRecordRequestBodyDnsRequestType; - /** - * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. - */ - ttl?: number | undefined; - /** - * A CAA record to specify which Certificate Authorities (CAs) are allowed to issue certificates for the domain. - */ - value: string; - /** - * A comment to add context on what this DNS record is for - */ - comment?: string | undefined; -}; - -/** - * The type of record, it could be one of the valid DNS records. - */ -export const CreateRecordRequestBodyDnsType = { - A: "A", - Aaaa: "AAAA", - Alias: "ALIAS", - Caa: "CAA", - Cname: "CNAME", - Https: "HTTPS", - Mx: "MX", - Srv: "SRV", - Txt: "TXT", - Ns: "NS", -} as const; -/** - * The type of record, it could be one of the valid DNS records. - */ -export type CreateRecordRequestBodyDnsType = ClosedEnum< - typeof CreateRecordRequestBodyDnsType ->; - -export type RequestBody3 = { - /** - * A subdomain name or an empty string for the root domain. - */ - name: string; - /** - * The type of record, it could be one of the valid DNS records. - */ - type: CreateRecordRequestBodyDnsType; - /** - * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. - */ - ttl?: number | undefined; - /** - * An ALIAS virtual record pointing to a hostname resolved to an A record on server side. - */ - value: string; - /** - * A comment to add context on what this DNS record is for - */ - comment?: string | undefined; -}; - -/** - * The type of record, it could be one of the valid DNS records. - */ -export const CreateRecordRequestBodyType = { - A: "A", - Aaaa: "AAAA", - Alias: "ALIAS", - Caa: "CAA", - Cname: "CNAME", - Https: "HTTPS", - Mx: "MX", - Srv: "SRV", - Txt: "TXT", - Ns: "NS", -} as const; -/** - * The type of record, it could be one of the valid DNS records. - */ -export type CreateRecordRequestBodyType = ClosedEnum< - typeof CreateRecordRequestBodyType ->; - -export type RequestBody2 = { - /** - * A subdomain name or an empty string for the root domain. - */ - name: string; - /** - * The type of record, it could be one of the valid DNS records. - */ - type: CreateRecordRequestBodyType; - /** - * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. - */ - ttl?: number | undefined; - /** - * An AAAA record pointing to an IPv6 address. - */ - value: string; - /** - * A comment to add context on what this DNS record is for - */ - comment?: string | undefined; -}; - -/** - * The type of record, it could be one of the valid DNS records. - */ -export const RequestBodyType = { - A: "A", - Aaaa: "AAAA", - Alias: "ALIAS", - Caa: "CAA", - Cname: "CNAME", - Https: "HTTPS", - Mx: "MX", - Srv: "SRV", - Txt: "TXT", - Ns: "NS", -} as const; -/** - * The type of record, it could be one of the valid DNS records. - */ -export type RequestBodyType = ClosedEnum; - -export type RequestBody1 = { - /** - * A subdomain name or an empty string for the root domain. - */ - name: string; - /** - * The type of record, it could be one of the valid DNS records. - */ - type: RequestBodyType; - /** - * The TTL value. Must be a number between 60 and 2147483647. Default value is 60. - */ - ttl?: number | undefined; - /** - * The record value must be a valid IPv4 address. - */ - value: string; - /** - * A comment to add context on what this DNS record is for - */ - comment?: string | undefined; -}; - -export type CreateRecordRequestBody = - | Seven - | Eight - | Ten - | RequestBody1 - | RequestBody2 - | RequestBody3 - | RequestBody4 - | RequestBody5 - | Nine - | Six; - -export type CreateRecordRequest = { - /** - * The domain used to create the DNS record. - */ - domain: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: - | Seven - | Eight - | Ten - | RequestBody1 - | RequestBody2 - | RequestBody3 - | RequestBody4 - | RequestBody5 - | Nine - | Six - | undefined; -}; - -export type CreateRecordResponseBody2 = { - /** - * The id of the newly created DNS record - */ - uid: string; -}; - -export type CreateRecordResponseBody1 = { - uid: string; - updated: number; -}; - -/** - * Successful response showing the uid of the newly created DNS record. - */ -export type CreateRecordResponseBody = - | CreateRecordResponseBody2 - | CreateRecordResponseBody1; - -/** @internal */ -export const CreateRecordRequestBodyDnsRequest10Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateRecordRequestBodyDnsRequest10Type); - -/** @internal */ -export const CreateRecordRequestBodyDnsRequest10Type$outboundSchema: - z.ZodNativeEnum = - CreateRecordRequestBodyDnsRequest10Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateRecordRequestBodyDnsRequest10Type$ { - /** @deprecated use `CreateRecordRequestBodyDnsRequest10Type$inboundSchema` instead. */ - export const inboundSchema = - CreateRecordRequestBodyDnsRequest10Type$inboundSchema; - /** @deprecated use `CreateRecordRequestBodyDnsRequest10Type$outboundSchema` instead. */ - export const outboundSchema = - CreateRecordRequestBodyDnsRequest10Type$outboundSchema; -} - -/** @internal */ -export const RequestBodyHttps$inboundSchema: z.ZodType< - RequestBodyHttps, - z.ZodTypeDef, - unknown -> = z.object({ - priority: z.nullable(z.number()), - target: z.string(), - params: z.string().optional(), -}); - -/** @internal */ -export type RequestBodyHttps$Outbound = { - priority: number | null; - target: string; - params?: string | undefined; -}; - -/** @internal */ -export const RequestBodyHttps$outboundSchema: z.ZodType< - RequestBodyHttps$Outbound, - z.ZodTypeDef, - RequestBodyHttps -> = z.object({ - priority: z.nullable(z.number()), - target: z.string(), - params: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBodyHttps$ { - /** @deprecated use `RequestBodyHttps$inboundSchema` instead. */ - export const inboundSchema = RequestBodyHttps$inboundSchema; - /** @deprecated use `RequestBodyHttps$outboundSchema` instead. */ - export const outboundSchema = RequestBodyHttps$outboundSchema; - /** @deprecated use `RequestBodyHttps$Outbound` instead. */ - export type Outbound = RequestBodyHttps$Outbound; -} - -export function requestBodyHttpsToJSON( - requestBodyHttps: RequestBodyHttps, -): string { - return JSON.stringify( - RequestBodyHttps$outboundSchema.parse(requestBodyHttps), - ); -} - -export function requestBodyHttpsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBodyHttps$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBodyHttps' from JSON`, - ); -} - -/** @internal */ -export const Ten$inboundSchema: z.ZodType = z - .object({ - type: CreateRecordRequestBodyDnsRequest10Type$inboundSchema, - ttl: z.number().optional(), - https: z.lazy(() => RequestBodyHttps$inboundSchema), - comment: z.string().optional(), - }); - -/** @internal */ -export type Ten$Outbound = { - type: string; - ttl?: number | undefined; - https: RequestBodyHttps$Outbound; - comment?: string | undefined; -}; - -/** @internal */ -export const Ten$outboundSchema: z.ZodType = z - .object({ - type: CreateRecordRequestBodyDnsRequest10Type$outboundSchema, - ttl: z.number().optional(), - https: z.lazy(() => RequestBodyHttps$outboundSchema), - comment: z.string().optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Ten$ { - /** @deprecated use `Ten$inboundSchema` instead. */ - export const inboundSchema = Ten$inboundSchema; - /** @deprecated use `Ten$outboundSchema` instead. */ - export const outboundSchema = Ten$outboundSchema; - /** @deprecated use `Ten$Outbound` instead. */ - export type Outbound = Ten$Outbound; -} - -export function tenToJSON(ten: Ten): string { - return JSON.stringify(Ten$outboundSchema.parse(ten)); -} - -export function tenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Ten$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Ten' from JSON`, - ); -} - -/** @internal */ -export const CreateRecordRequestBodyDnsRequest9Type$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateRecordRequestBodyDnsRequest9Type, - ); - -/** @internal */ -export const CreateRecordRequestBodyDnsRequest9Type$outboundSchema: - z.ZodNativeEnum = - CreateRecordRequestBodyDnsRequest9Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateRecordRequestBodyDnsRequest9Type$ { - /** @deprecated use `CreateRecordRequestBodyDnsRequest9Type$inboundSchema` instead. */ - export const inboundSchema = - CreateRecordRequestBodyDnsRequest9Type$inboundSchema; - /** @deprecated use `CreateRecordRequestBodyDnsRequest9Type$outboundSchema` instead. */ - export const outboundSchema = - CreateRecordRequestBodyDnsRequest9Type$outboundSchema; -} - -/** @internal */ -export const Nine$inboundSchema: z.ZodType = z - .object({ - name: z.string(), - type: CreateRecordRequestBodyDnsRequest9Type$inboundSchema, - ttl: z.number().optional(), - value: z.string().optional(), - comment: z.string().optional(), - }); - -/** @internal */ -export type Nine$Outbound = { - name: string; - type: string; - ttl?: number | undefined; - value?: string | undefined; - comment?: string | undefined; -}; - -/** @internal */ -export const Nine$outboundSchema: z.ZodType = - z.object({ - name: z.string(), - type: CreateRecordRequestBodyDnsRequest9Type$outboundSchema, - ttl: z.number().optional(), - value: z.string().optional(), - comment: z.string().optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Nine$ { - /** @deprecated use `Nine$inboundSchema` instead. */ - export const inboundSchema = Nine$inboundSchema; - /** @deprecated use `Nine$outboundSchema` instead. */ - export const outboundSchema = Nine$outboundSchema; - /** @deprecated use `Nine$Outbound` instead. */ - export type Outbound = Nine$Outbound; -} - -export function nineToJSON(nine: Nine): string { - return JSON.stringify(Nine$outboundSchema.parse(nine)); -} - -export function nineFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Nine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Nine' from JSON`, - ); -} - -/** @internal */ -export const CreateRecordRequestBodyDnsRequest8Type$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateRecordRequestBodyDnsRequest8Type, - ); - -/** @internal */ -export const CreateRecordRequestBodyDnsRequest8Type$outboundSchema: - z.ZodNativeEnum = - CreateRecordRequestBodyDnsRequest8Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateRecordRequestBodyDnsRequest8Type$ { - /** @deprecated use `CreateRecordRequestBodyDnsRequest8Type$inboundSchema` instead. */ - export const inboundSchema = - CreateRecordRequestBodyDnsRequest8Type$inboundSchema; - /** @deprecated use `CreateRecordRequestBodyDnsRequest8Type$outboundSchema` instead. */ - export const outboundSchema = - CreateRecordRequestBodyDnsRequest8Type$outboundSchema; -} - -/** @internal */ -export const Eight$inboundSchema: z.ZodType = z - .object({ - type: CreateRecordRequestBodyDnsRequest8Type$inboundSchema, - ttl: z.number().optional(), - value: z.string(), - comment: z.string().optional(), - }); - -/** @internal */ -export type Eight$Outbound = { - type: string; - ttl?: number | undefined; - value: string; - comment?: string | undefined; -}; - -/** @internal */ -export const Eight$outboundSchema: z.ZodType< - Eight$Outbound, - z.ZodTypeDef, - Eight -> = z.object({ - type: CreateRecordRequestBodyDnsRequest8Type$outboundSchema, - ttl: z.number().optional(), - value: z.string(), - comment: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Eight$ { - /** @deprecated use `Eight$inboundSchema` instead. */ - export const inboundSchema = Eight$inboundSchema; - /** @deprecated use `Eight$outboundSchema` instead. */ - export const outboundSchema = Eight$outboundSchema; - /** @deprecated use `Eight$Outbound` instead. */ - export type Outbound = Eight$Outbound; -} - -export function eightToJSON(eight: Eight): string { - return JSON.stringify(Eight$outboundSchema.parse(eight)); -} - -export function eightFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Eight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Eight' from JSON`, - ); -} - -/** @internal */ -export const CreateRecordRequestBodyDnsRequest7Type$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateRecordRequestBodyDnsRequest7Type, - ); - -/** @internal */ -export const CreateRecordRequestBodyDnsRequest7Type$outboundSchema: - z.ZodNativeEnum = - CreateRecordRequestBodyDnsRequest7Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateRecordRequestBodyDnsRequest7Type$ { - /** @deprecated use `CreateRecordRequestBodyDnsRequest7Type$inboundSchema` instead. */ - export const inboundSchema = - CreateRecordRequestBodyDnsRequest7Type$inboundSchema; - /** @deprecated use `CreateRecordRequestBodyDnsRequest7Type$outboundSchema` instead. */ - export const outboundSchema = - CreateRecordRequestBodyDnsRequest7Type$outboundSchema; -} - -/** @internal */ -export const RequestBodySrv$inboundSchema: z.ZodType< - RequestBodySrv, - z.ZodTypeDef, - unknown -> = z.object({ - priority: z.nullable(z.number()), - weight: z.nullable(z.number()), - port: z.nullable(z.number()), - target: z.string(), -}); - -/** @internal */ -export type RequestBodySrv$Outbound = { - priority: number | null; - weight: number | null; - port: number | null; - target: string; -}; - -/** @internal */ -export const RequestBodySrv$outboundSchema: z.ZodType< - RequestBodySrv$Outbound, - z.ZodTypeDef, - RequestBodySrv -> = z.object({ - priority: z.nullable(z.number()), - weight: z.nullable(z.number()), - port: z.nullable(z.number()), - target: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBodySrv$ { - /** @deprecated use `RequestBodySrv$inboundSchema` instead. */ - export const inboundSchema = RequestBodySrv$inboundSchema; - /** @deprecated use `RequestBodySrv$outboundSchema` instead. */ - export const outboundSchema = RequestBodySrv$outboundSchema; - /** @deprecated use `RequestBodySrv$Outbound` instead. */ - export type Outbound = RequestBodySrv$Outbound; -} - -export function requestBodySrvToJSON(requestBodySrv: RequestBodySrv): string { - return JSON.stringify(RequestBodySrv$outboundSchema.parse(requestBodySrv)); -} - -export function requestBodySrvFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBodySrv$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBodySrv' from JSON`, - ); -} - -/** @internal */ -export const Seven$inboundSchema: z.ZodType = z - .object({ - type: CreateRecordRequestBodyDnsRequest7Type$inboundSchema, - ttl: z.number().optional(), - srv: z.lazy(() => RequestBodySrv$inboundSchema), - comment: z.string().optional(), - }); - -/** @internal */ -export type Seven$Outbound = { - type: string; - ttl?: number | undefined; - srv: RequestBodySrv$Outbound; - comment?: string | undefined; -}; - -/** @internal */ -export const Seven$outboundSchema: z.ZodType< - Seven$Outbound, - z.ZodTypeDef, - Seven -> = z.object({ - type: CreateRecordRequestBodyDnsRequest7Type$outboundSchema, - ttl: z.number().optional(), - srv: z.lazy(() => RequestBodySrv$outboundSchema), - comment: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Seven$ { - /** @deprecated use `Seven$inboundSchema` instead. */ - export const inboundSchema = Seven$inboundSchema; - /** @deprecated use `Seven$outboundSchema` instead. */ - export const outboundSchema = Seven$outboundSchema; - /** @deprecated use `Seven$Outbound` instead. */ - export type Outbound = Seven$Outbound; -} - -export function sevenToJSON(seven: Seven): string { - return JSON.stringify(Seven$outboundSchema.parse(seven)); -} - -export function sevenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Seven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Seven' from JSON`, - ); -} - -/** @internal */ -export const CreateRecordRequestBodyDnsRequest6Type$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateRecordRequestBodyDnsRequest6Type, - ); - -/** @internal */ -export const CreateRecordRequestBodyDnsRequest6Type$outboundSchema: - z.ZodNativeEnum = - CreateRecordRequestBodyDnsRequest6Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateRecordRequestBodyDnsRequest6Type$ { - /** @deprecated use `CreateRecordRequestBodyDnsRequest6Type$inboundSchema` instead. */ - export const inboundSchema = - CreateRecordRequestBodyDnsRequest6Type$inboundSchema; - /** @deprecated use `CreateRecordRequestBodyDnsRequest6Type$outboundSchema` instead. */ - export const outboundSchema = - CreateRecordRequestBodyDnsRequest6Type$outboundSchema; -} - -/** @internal */ -export const Six$inboundSchema: z.ZodType = z - .object({ - name: z.string(), - type: CreateRecordRequestBodyDnsRequest6Type$inboundSchema, - ttl: z.number().optional(), - value: z.string(), - mxPriority: z.number(), - comment: z.string().optional(), - }); - -/** @internal */ -export type Six$Outbound = { - name: string; - type: string; - ttl?: number | undefined; - value: string; - mxPriority: number; - comment?: string | undefined; -}; - -/** @internal */ -export const Six$outboundSchema: z.ZodType = z - .object({ - name: z.string(), - type: CreateRecordRequestBodyDnsRequest6Type$outboundSchema, - ttl: z.number().optional(), - value: z.string(), - mxPriority: z.number(), - comment: z.string().optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Six$ { - /** @deprecated use `Six$inboundSchema` instead. */ - export const inboundSchema = Six$inboundSchema; - /** @deprecated use `Six$outboundSchema` instead. */ - export const outboundSchema = Six$outboundSchema; - /** @deprecated use `Six$Outbound` instead. */ - export type Outbound = Six$Outbound; -} - -export function sixToJSON(six: Six): string { - return JSON.stringify(Six$outboundSchema.parse(six)); -} - -export function sixFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Six$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Six' from JSON`, - ); -} - -/** @internal */ -export const CreateRecordRequestBodyDnsRequest5Type$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateRecordRequestBodyDnsRequest5Type, - ); - -/** @internal */ -export const CreateRecordRequestBodyDnsRequest5Type$outboundSchema: - z.ZodNativeEnum = - CreateRecordRequestBodyDnsRequest5Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateRecordRequestBodyDnsRequest5Type$ { - /** @deprecated use `CreateRecordRequestBodyDnsRequest5Type$inboundSchema` instead. */ - export const inboundSchema = - CreateRecordRequestBodyDnsRequest5Type$inboundSchema; - /** @deprecated use `CreateRecordRequestBodyDnsRequest5Type$outboundSchema` instead. */ - export const outboundSchema = - CreateRecordRequestBodyDnsRequest5Type$outboundSchema; -} - -/** @internal */ -export const RequestBody5$inboundSchema: z.ZodType< - RequestBody5, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - type: CreateRecordRequestBodyDnsRequest5Type$inboundSchema, - ttl: z.number().optional(), - value: z.string().optional(), - comment: z.string().optional(), -}); - -/** @internal */ -export type RequestBody5$Outbound = { - name: string; - type: string; - ttl?: number | undefined; - value?: string | undefined; - comment?: string | undefined; -}; - -/** @internal */ -export const RequestBody5$outboundSchema: z.ZodType< - RequestBody5$Outbound, - z.ZodTypeDef, - RequestBody5 -> = z.object({ - name: z.string(), - type: CreateRecordRequestBodyDnsRequest5Type$outboundSchema, - ttl: z.number().optional(), - value: z.string().optional(), - comment: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBody5$ { - /** @deprecated use `RequestBody5$inboundSchema` instead. */ - export const inboundSchema = RequestBody5$inboundSchema; - /** @deprecated use `RequestBody5$outboundSchema` instead. */ - export const outboundSchema = RequestBody5$outboundSchema; - /** @deprecated use `RequestBody5$Outbound` instead. */ - export type Outbound = RequestBody5$Outbound; -} - -export function requestBody5ToJSON(requestBody5: RequestBody5): string { - return JSON.stringify(RequestBody5$outboundSchema.parse(requestBody5)); -} - -export function requestBody5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBody5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBody5' from JSON`, - ); -} - -/** @internal */ -export const CreateRecordRequestBodyDnsRequestType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateRecordRequestBodyDnsRequestType, - ); - -/** @internal */ -export const CreateRecordRequestBodyDnsRequestType$outboundSchema: - z.ZodNativeEnum = - CreateRecordRequestBodyDnsRequestType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateRecordRequestBodyDnsRequestType$ { - /** @deprecated use `CreateRecordRequestBodyDnsRequestType$inboundSchema` instead. */ - export const inboundSchema = - CreateRecordRequestBodyDnsRequestType$inboundSchema; - /** @deprecated use `CreateRecordRequestBodyDnsRequestType$outboundSchema` instead. */ - export const outboundSchema = - CreateRecordRequestBodyDnsRequestType$outboundSchema; -} - -/** @internal */ -export const RequestBody4$inboundSchema: z.ZodType< - RequestBody4, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - type: CreateRecordRequestBodyDnsRequestType$inboundSchema, - ttl: z.number().optional(), - value: z.string(), - comment: z.string().optional(), -}); - -/** @internal */ -export type RequestBody4$Outbound = { - name: string; - type: string; - ttl?: number | undefined; - value: string; - comment?: string | undefined; -}; - -/** @internal */ -export const RequestBody4$outboundSchema: z.ZodType< - RequestBody4$Outbound, - z.ZodTypeDef, - RequestBody4 -> = z.object({ - name: z.string(), - type: CreateRecordRequestBodyDnsRequestType$outboundSchema, - ttl: z.number().optional(), - value: z.string(), - comment: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBody4$ { - /** @deprecated use `RequestBody4$inboundSchema` instead. */ - export const inboundSchema = RequestBody4$inboundSchema; - /** @deprecated use `RequestBody4$outboundSchema` instead. */ - export const outboundSchema = RequestBody4$outboundSchema; - /** @deprecated use `RequestBody4$Outbound` instead. */ - export type Outbound = RequestBody4$Outbound; -} - -export function requestBody4ToJSON(requestBody4: RequestBody4): string { - return JSON.stringify(RequestBody4$outboundSchema.parse(requestBody4)); -} - -export function requestBody4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBody4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBody4' from JSON`, - ); -} - -/** @internal */ -export const CreateRecordRequestBodyDnsType$inboundSchema: z.ZodNativeEnum< - typeof CreateRecordRequestBodyDnsType -> = z.nativeEnum(CreateRecordRequestBodyDnsType); - -/** @internal */ -export const CreateRecordRequestBodyDnsType$outboundSchema: z.ZodNativeEnum< - typeof CreateRecordRequestBodyDnsType -> = CreateRecordRequestBodyDnsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateRecordRequestBodyDnsType$ { - /** @deprecated use `CreateRecordRequestBodyDnsType$inboundSchema` instead. */ - export const inboundSchema = CreateRecordRequestBodyDnsType$inboundSchema; - /** @deprecated use `CreateRecordRequestBodyDnsType$outboundSchema` instead. */ - export const outboundSchema = CreateRecordRequestBodyDnsType$outboundSchema; -} - -/** @internal */ -export const RequestBody3$inboundSchema: z.ZodType< - RequestBody3, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - type: CreateRecordRequestBodyDnsType$inboundSchema, - ttl: z.number().optional(), - value: z.string(), - comment: z.string().optional(), -}); - -/** @internal */ -export type RequestBody3$Outbound = { - name: string; - type: string; - ttl?: number | undefined; - value: string; - comment?: string | undefined; -}; - -/** @internal */ -export const RequestBody3$outboundSchema: z.ZodType< - RequestBody3$Outbound, - z.ZodTypeDef, - RequestBody3 -> = z.object({ - name: z.string(), - type: CreateRecordRequestBodyDnsType$outboundSchema, - ttl: z.number().optional(), - value: z.string(), - comment: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBody3$ { - /** @deprecated use `RequestBody3$inboundSchema` instead. */ - export const inboundSchema = RequestBody3$inboundSchema; - /** @deprecated use `RequestBody3$outboundSchema` instead. */ - export const outboundSchema = RequestBody3$outboundSchema; - /** @deprecated use `RequestBody3$Outbound` instead. */ - export type Outbound = RequestBody3$Outbound; -} - -export function requestBody3ToJSON(requestBody3: RequestBody3): string { - return JSON.stringify(RequestBody3$outboundSchema.parse(requestBody3)); -} - -export function requestBody3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBody3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBody3' from JSON`, - ); -} - -/** @internal */ -export const CreateRecordRequestBodyType$inboundSchema: z.ZodNativeEnum< - typeof CreateRecordRequestBodyType -> = z.nativeEnum(CreateRecordRequestBodyType); - -/** @internal */ -export const CreateRecordRequestBodyType$outboundSchema: z.ZodNativeEnum< - typeof CreateRecordRequestBodyType -> = CreateRecordRequestBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateRecordRequestBodyType$ { - /** @deprecated use `CreateRecordRequestBodyType$inboundSchema` instead. */ - export const inboundSchema = CreateRecordRequestBodyType$inboundSchema; - /** @deprecated use `CreateRecordRequestBodyType$outboundSchema` instead. */ - export const outboundSchema = CreateRecordRequestBodyType$outboundSchema; -} - -/** @internal */ -export const RequestBody2$inboundSchema: z.ZodType< - RequestBody2, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - type: CreateRecordRequestBodyType$inboundSchema, - ttl: z.number().optional(), - value: z.string(), - comment: z.string().optional(), -}); - -/** @internal */ -export type RequestBody2$Outbound = { - name: string; - type: string; - ttl?: number | undefined; - value: string; - comment?: string | undefined; -}; - -/** @internal */ -export const RequestBody2$outboundSchema: z.ZodType< - RequestBody2$Outbound, - z.ZodTypeDef, - RequestBody2 -> = z.object({ - name: z.string(), - type: CreateRecordRequestBodyType$outboundSchema, - ttl: z.number().optional(), - value: z.string(), - comment: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBody2$ { - /** @deprecated use `RequestBody2$inboundSchema` instead. */ - export const inboundSchema = RequestBody2$inboundSchema; - /** @deprecated use `RequestBody2$outboundSchema` instead. */ - export const outboundSchema = RequestBody2$outboundSchema; - /** @deprecated use `RequestBody2$Outbound` instead. */ - export type Outbound = RequestBody2$Outbound; -} - -export function requestBody2ToJSON(requestBody2: RequestBody2): string { - return JSON.stringify(RequestBody2$outboundSchema.parse(requestBody2)); -} - -export function requestBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBody2' from JSON`, - ); -} - -/** @internal */ -export const RequestBodyType$inboundSchema: z.ZodNativeEnum< - typeof RequestBodyType -> = z.nativeEnum(RequestBodyType); - -/** @internal */ -export const RequestBodyType$outboundSchema: z.ZodNativeEnum< - typeof RequestBodyType -> = RequestBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBodyType$ { - /** @deprecated use `RequestBodyType$inboundSchema` instead. */ - export const inboundSchema = RequestBodyType$inboundSchema; - /** @deprecated use `RequestBodyType$outboundSchema` instead. */ - export const outboundSchema = RequestBodyType$outboundSchema; -} - -/** @internal */ -export const RequestBody1$inboundSchema: z.ZodType< - RequestBody1, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - type: RequestBodyType$inboundSchema, - ttl: z.number().optional(), - value: z.string(), - comment: z.string().optional(), -}); - -/** @internal */ -export type RequestBody1$Outbound = { - name: string; - type: string; - ttl?: number | undefined; - value: string; - comment?: string | undefined; -}; - -/** @internal */ -export const RequestBody1$outboundSchema: z.ZodType< - RequestBody1$Outbound, - z.ZodTypeDef, - RequestBody1 -> = z.object({ - name: z.string(), - type: RequestBodyType$outboundSchema, - ttl: z.number().optional(), - value: z.string(), - comment: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBody1$ { - /** @deprecated use `RequestBody1$inboundSchema` instead. */ - export const inboundSchema = RequestBody1$inboundSchema; - /** @deprecated use `RequestBody1$outboundSchema` instead. */ - export const outboundSchema = RequestBody1$outboundSchema; - /** @deprecated use `RequestBody1$Outbound` instead. */ - export type Outbound = RequestBody1$Outbound; -} - -export function requestBody1ToJSON(requestBody1: RequestBody1): string { - return JSON.stringify(RequestBody1$outboundSchema.parse(requestBody1)); -} - -export function requestBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBody1' from JSON`, - ); -} - -/** @internal */ -export const CreateRecordRequestBody$inboundSchema: z.ZodType< - CreateRecordRequestBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => Seven$inboundSchema), - z.lazy(() => Eight$inboundSchema), - z.lazy(() => Ten$inboundSchema), - z.lazy(() => RequestBody1$inboundSchema), - z.lazy(() => RequestBody2$inboundSchema), - z.lazy(() => RequestBody3$inboundSchema), - z.lazy(() => RequestBody4$inboundSchema), - z.lazy(() => RequestBody5$inboundSchema), - z.lazy(() => Nine$inboundSchema), - z.lazy(() => Six$inboundSchema), -]); - -/** @internal */ -export type CreateRecordRequestBody$Outbound = - | Seven$Outbound - | Eight$Outbound - | Ten$Outbound - | RequestBody1$Outbound - | RequestBody2$Outbound - | RequestBody3$Outbound - | RequestBody4$Outbound - | RequestBody5$Outbound - | Nine$Outbound - | Six$Outbound; - -/** @internal */ -export const CreateRecordRequestBody$outboundSchema: z.ZodType< - CreateRecordRequestBody$Outbound, - z.ZodTypeDef, - CreateRecordRequestBody -> = z.union([ - z.lazy(() => Seven$outboundSchema), - z.lazy(() => Eight$outboundSchema), - z.lazy(() => Ten$outboundSchema), - z.lazy(() => RequestBody1$outboundSchema), - z.lazy(() => RequestBody2$outboundSchema), - z.lazy(() => RequestBody3$outboundSchema), - z.lazy(() => RequestBody4$outboundSchema), - z.lazy(() => RequestBody5$outboundSchema), - z.lazy(() => Nine$outboundSchema), - z.lazy(() => Six$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateRecordRequestBody$ { - /** @deprecated use `CreateRecordRequestBody$inboundSchema` instead. */ - export const inboundSchema = CreateRecordRequestBody$inboundSchema; - /** @deprecated use `CreateRecordRequestBody$outboundSchema` instead. */ - export const outboundSchema = CreateRecordRequestBody$outboundSchema; - /** @deprecated use `CreateRecordRequestBody$Outbound` instead. */ - export type Outbound = CreateRecordRequestBody$Outbound; -} - -export function createRecordRequestBodyToJSON( - createRecordRequestBody: CreateRecordRequestBody, -): string { - return JSON.stringify( - CreateRecordRequestBody$outboundSchema.parse(createRecordRequestBody), - ); -} - -export function createRecordRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateRecordRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateRecordRequestBody' from JSON`, - ); -} - -/** @internal */ -export const CreateRecordRequest$inboundSchema: z.ZodType< - CreateRecordRequest, - z.ZodTypeDef, - unknown -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.union([ - z.lazy(() => Seven$inboundSchema), - z.lazy(() => Eight$inboundSchema), - z.lazy(() => Ten$inboundSchema), - z.lazy(() => RequestBody1$inboundSchema), - z.lazy(() => RequestBody2$inboundSchema), - z.lazy(() => RequestBody3$inboundSchema), - z.lazy(() => RequestBody4$inboundSchema), - z.lazy(() => RequestBody5$inboundSchema), - z.lazy(() => Nine$inboundSchema), - z.lazy(() => Six$inboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type CreateRecordRequest$Outbound = { - domain: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: - | Seven$Outbound - | Eight$Outbound - | Ten$Outbound - | RequestBody1$Outbound - | RequestBody2$Outbound - | RequestBody3$Outbound - | RequestBody4$Outbound - | RequestBody5$Outbound - | Nine$Outbound - | Six$Outbound - | undefined; -}; - -/** @internal */ -export const CreateRecordRequest$outboundSchema: z.ZodType< - CreateRecordRequest$Outbound, - z.ZodTypeDef, - CreateRecordRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.union([ - z.lazy(() => Seven$outboundSchema), - z.lazy(() => Eight$outboundSchema), - z.lazy(() => Ten$outboundSchema), - z.lazy(() => RequestBody1$outboundSchema), - z.lazy(() => RequestBody2$outboundSchema), - z.lazy(() => RequestBody3$outboundSchema), - z.lazy(() => RequestBody4$outboundSchema), - z.lazy(() => RequestBody5$outboundSchema), - z.lazy(() => Nine$outboundSchema), - z.lazy(() => Six$outboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateRecordRequest$ { - /** @deprecated use `CreateRecordRequest$inboundSchema` instead. */ - export const inboundSchema = CreateRecordRequest$inboundSchema; - /** @deprecated use `CreateRecordRequest$outboundSchema` instead. */ - export const outboundSchema = CreateRecordRequest$outboundSchema; - /** @deprecated use `CreateRecordRequest$Outbound` instead. */ - export type Outbound = CreateRecordRequest$Outbound; -} - -export function createRecordRequestToJSON( - createRecordRequest: CreateRecordRequest, -): string { - return JSON.stringify( - CreateRecordRequest$outboundSchema.parse(createRecordRequest), - ); -} - -export function createRecordRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateRecordRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateRecordRequest' from JSON`, - ); -} - -/** @internal */ -export const CreateRecordResponseBody2$inboundSchema: z.ZodType< - CreateRecordResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), -}); - -/** @internal */ -export type CreateRecordResponseBody2$Outbound = { - uid: string; -}; - -/** @internal */ -export const CreateRecordResponseBody2$outboundSchema: z.ZodType< - CreateRecordResponseBody2$Outbound, - z.ZodTypeDef, - CreateRecordResponseBody2 -> = z.object({ - uid: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateRecordResponseBody2$ { - /** @deprecated use `CreateRecordResponseBody2$inboundSchema` instead. */ - export const inboundSchema = CreateRecordResponseBody2$inboundSchema; - /** @deprecated use `CreateRecordResponseBody2$outboundSchema` instead. */ - export const outboundSchema = CreateRecordResponseBody2$outboundSchema; - /** @deprecated use `CreateRecordResponseBody2$Outbound` instead. */ - export type Outbound = CreateRecordResponseBody2$Outbound; -} - -export function createRecordResponseBody2ToJSON( - createRecordResponseBody2: CreateRecordResponseBody2, -): string { - return JSON.stringify( - CreateRecordResponseBody2$outboundSchema.parse(createRecordResponseBody2), - ); -} - -export function createRecordResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateRecordResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateRecordResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const CreateRecordResponseBody1$inboundSchema: z.ZodType< - CreateRecordResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - updated: z.number(), -}); - -/** @internal */ -export type CreateRecordResponseBody1$Outbound = { - uid: string; - updated: number; -}; - -/** @internal */ -export const CreateRecordResponseBody1$outboundSchema: z.ZodType< - CreateRecordResponseBody1$Outbound, - z.ZodTypeDef, - CreateRecordResponseBody1 -> = z.object({ - uid: z.string(), - updated: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateRecordResponseBody1$ { - /** @deprecated use `CreateRecordResponseBody1$inboundSchema` instead. */ - export const inboundSchema = CreateRecordResponseBody1$inboundSchema; - /** @deprecated use `CreateRecordResponseBody1$outboundSchema` instead. */ - export const outboundSchema = CreateRecordResponseBody1$outboundSchema; - /** @deprecated use `CreateRecordResponseBody1$Outbound` instead. */ - export type Outbound = CreateRecordResponseBody1$Outbound; -} - -export function createRecordResponseBody1ToJSON( - createRecordResponseBody1: CreateRecordResponseBody1, -): string { - return JSON.stringify( - CreateRecordResponseBody1$outboundSchema.parse(createRecordResponseBody1), - ); -} - -export function createRecordResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateRecordResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateRecordResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const CreateRecordResponseBody$inboundSchema: z.ZodType< - CreateRecordResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CreateRecordResponseBody2$inboundSchema), - z.lazy(() => CreateRecordResponseBody1$inboundSchema), -]); - -/** @internal */ -export type CreateRecordResponseBody$Outbound = - | CreateRecordResponseBody2$Outbound - | CreateRecordResponseBody1$Outbound; - -/** @internal */ -export const CreateRecordResponseBody$outboundSchema: z.ZodType< - CreateRecordResponseBody$Outbound, - z.ZodTypeDef, - CreateRecordResponseBody -> = z.union([ - z.lazy(() => CreateRecordResponseBody2$outboundSchema), - z.lazy(() => CreateRecordResponseBody1$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateRecordResponseBody$ { - /** @deprecated use `CreateRecordResponseBody$inboundSchema` instead. */ - export const inboundSchema = CreateRecordResponseBody$inboundSchema; - /** @deprecated use `CreateRecordResponseBody$outboundSchema` instead. */ - export const outboundSchema = CreateRecordResponseBody$outboundSchema; - /** @deprecated use `CreateRecordResponseBody$Outbound` instead. */ - export type Outbound = CreateRecordResponseBody$Outbound; -} - -export function createRecordResponseBodyToJSON( - createRecordResponseBody: CreateRecordResponseBody, -): string { - return JSON.stringify( - CreateRecordResponseBody$outboundSchema.parse(createRecordResponseBody), - ); -} - -export function createRecordResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateRecordResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateRecordResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/createteam.ts b/src/models/operations/createteam.ts deleted file mode 100644 index b433fa6f..00000000 --- a/src/models/operations/createteam.ts +++ /dev/null @@ -1,361 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type Utm = { - /** - * UTM source - */ - utmSource?: string | undefined; - /** - * UTM medium - */ - utmMedium?: string | undefined; - /** - * UTM campaign - */ - utmCampaign?: string | undefined; - /** - * UTM term - */ - utmTerm?: string | undefined; -}; - -/** - * Attribution information for the session or current page - */ -export type Attribution = { - /** - * Session referrer - */ - sessionReferrer?: string | undefined; - /** - * Session landing page - */ - landingPage?: string | undefined; - /** - * Referrer to the signup page - */ - pageBeforeConversionPage?: string | undefined; - utm?: Utm | undefined; -}; - -export type CreateTeamRequestBody = { - /** - * The desired slug for the Team - */ - slug: string; - /** - * The desired name for the Team. It will be generated from the provided slug if nothing is provided - */ - name?: string | undefined; - /** - * Attribution information for the session or current page - */ - attribution?: Attribution | undefined; -}; - -/** - * IMPORTANT: If extending Billing, particularly with optional fields, make sure you also update `sync-orb-subscription-to-owner.ts` to handle the items when the object is recreated. - */ -export type CreateTeamBilling = {}; - -/** - * The team was created successfully - */ -export type CreateTeamResponseBody = { - /** - * Id of the created team - */ - id: string; - slug: string; - /** - * IMPORTANT: If extending Billing, particularly with optional fields, make sure you also update `sync-orb-subscription-to-owner.ts` to handle the items when the object is recreated. - */ - billing: CreateTeamBilling; -}; - -/** @internal */ -export const Utm$inboundSchema: z.ZodType = z - .object({ - utmSource: z.string().optional(), - utmMedium: z.string().optional(), - utmCampaign: z.string().optional(), - utmTerm: z.string().optional(), - }); - -/** @internal */ -export type Utm$Outbound = { - utmSource?: string | undefined; - utmMedium?: string | undefined; - utmCampaign?: string | undefined; - utmTerm?: string | undefined; -}; - -/** @internal */ -export const Utm$outboundSchema: z.ZodType = z - .object({ - utmSource: z.string().optional(), - utmMedium: z.string().optional(), - utmCampaign: z.string().optional(), - utmTerm: z.string().optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Utm$ { - /** @deprecated use `Utm$inboundSchema` instead. */ - export const inboundSchema = Utm$inboundSchema; - /** @deprecated use `Utm$outboundSchema` instead. */ - export const outboundSchema = Utm$outboundSchema; - /** @deprecated use `Utm$Outbound` instead. */ - export type Outbound = Utm$Outbound; -} - -export function utmToJSON(utm: Utm): string { - return JSON.stringify(Utm$outboundSchema.parse(utm)); -} - -export function utmFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Utm$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Utm' from JSON`, - ); -} - -/** @internal */ -export const Attribution$inboundSchema: z.ZodType< - Attribution, - z.ZodTypeDef, - unknown -> = z.object({ - sessionReferrer: z.string().optional(), - landingPage: z.string().optional(), - pageBeforeConversionPage: z.string().optional(), - utm: z.lazy(() => Utm$inboundSchema).optional(), -}); - -/** @internal */ -export type Attribution$Outbound = { - sessionReferrer?: string | undefined; - landingPage?: string | undefined; - pageBeforeConversionPage?: string | undefined; - utm?: Utm$Outbound | undefined; -}; - -/** @internal */ -export const Attribution$outboundSchema: z.ZodType< - Attribution$Outbound, - z.ZodTypeDef, - Attribution -> = z.object({ - sessionReferrer: z.string().optional(), - landingPage: z.string().optional(), - pageBeforeConversionPage: z.string().optional(), - utm: z.lazy(() => Utm$outboundSchema).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Attribution$ { - /** @deprecated use `Attribution$inboundSchema` instead. */ - export const inboundSchema = Attribution$inboundSchema; - /** @deprecated use `Attribution$outboundSchema` instead. */ - export const outboundSchema = Attribution$outboundSchema; - /** @deprecated use `Attribution$Outbound` instead. */ - export type Outbound = Attribution$Outbound; -} - -export function attributionToJSON(attribution: Attribution): string { - return JSON.stringify(Attribution$outboundSchema.parse(attribution)); -} - -export function attributionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Attribution$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Attribution' from JSON`, - ); -} - -/** @internal */ -export const CreateTeamRequestBody$inboundSchema: z.ZodType< - CreateTeamRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - slug: z.string(), - name: z.string().optional(), - attribution: z.lazy(() => Attribution$inboundSchema).optional(), -}); - -/** @internal */ -export type CreateTeamRequestBody$Outbound = { - slug: string; - name?: string | undefined; - attribution?: Attribution$Outbound | undefined; -}; - -/** @internal */ -export const CreateTeamRequestBody$outboundSchema: z.ZodType< - CreateTeamRequestBody$Outbound, - z.ZodTypeDef, - CreateTeamRequestBody -> = z.object({ - slug: z.string(), - name: z.string().optional(), - attribution: z.lazy(() => Attribution$outboundSchema).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateTeamRequestBody$ { - /** @deprecated use `CreateTeamRequestBody$inboundSchema` instead. */ - export const inboundSchema = CreateTeamRequestBody$inboundSchema; - /** @deprecated use `CreateTeamRequestBody$outboundSchema` instead. */ - export const outboundSchema = CreateTeamRequestBody$outboundSchema; - /** @deprecated use `CreateTeamRequestBody$Outbound` instead. */ - export type Outbound = CreateTeamRequestBody$Outbound; -} - -export function createTeamRequestBodyToJSON( - createTeamRequestBody: CreateTeamRequestBody, -): string { - return JSON.stringify( - CreateTeamRequestBody$outboundSchema.parse(createTeamRequestBody), - ); -} - -export function createTeamRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateTeamRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateTeamRequestBody' from JSON`, - ); -} - -/** @internal */ -export const CreateTeamBilling$inboundSchema: z.ZodType< - CreateTeamBilling, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type CreateTeamBilling$Outbound = {}; - -/** @internal */ -export const CreateTeamBilling$outboundSchema: z.ZodType< - CreateTeamBilling$Outbound, - z.ZodTypeDef, - CreateTeamBilling -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateTeamBilling$ { - /** @deprecated use `CreateTeamBilling$inboundSchema` instead. */ - export const inboundSchema = CreateTeamBilling$inboundSchema; - /** @deprecated use `CreateTeamBilling$outboundSchema` instead. */ - export const outboundSchema = CreateTeamBilling$outboundSchema; - /** @deprecated use `CreateTeamBilling$Outbound` instead. */ - export type Outbound = CreateTeamBilling$Outbound; -} - -export function createTeamBillingToJSON( - createTeamBilling: CreateTeamBilling, -): string { - return JSON.stringify( - CreateTeamBilling$outboundSchema.parse(createTeamBilling), - ); -} - -export function createTeamBillingFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateTeamBilling$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateTeamBilling' from JSON`, - ); -} - -/** @internal */ -export const CreateTeamResponseBody$inboundSchema: z.ZodType< - CreateTeamResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - slug: z.string(), - billing: z.lazy(() => CreateTeamBilling$inboundSchema), -}); - -/** @internal */ -export type CreateTeamResponseBody$Outbound = { - id: string; - slug: string; - billing: CreateTeamBilling$Outbound; -}; - -/** @internal */ -export const CreateTeamResponseBody$outboundSchema: z.ZodType< - CreateTeamResponseBody$Outbound, - z.ZodTypeDef, - CreateTeamResponseBody -> = z.object({ - id: z.string(), - slug: z.string(), - billing: z.lazy(() => CreateTeamBilling$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateTeamResponseBody$ { - /** @deprecated use `CreateTeamResponseBody$inboundSchema` instead. */ - export const inboundSchema = CreateTeamResponseBody$inboundSchema; - /** @deprecated use `CreateTeamResponseBody$outboundSchema` instead. */ - export const outboundSchema = CreateTeamResponseBody$outboundSchema; - /** @deprecated use `CreateTeamResponseBody$Outbound` instead. */ - export type Outbound = CreateTeamResponseBody$Outbound; -} - -export function createTeamResponseBodyToJSON( - createTeamResponseBody: CreateTeamResponseBody, -): string { - return JSON.stringify( - CreateTeamResponseBody$outboundSchema.parse(createTeamResponseBody), - ); -} - -export function createTeamResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateTeamResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateTeamResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/createwebhook.ts b/src/models/operations/createwebhook.ts deleted file mode 100644 index 14c27660..00000000 --- a/src/models/operations/createwebhook.ts +++ /dev/null @@ -1,410 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export const Events = { - BudgetReached: "budget.reached", - BudgetReset: "budget.reset", - DomainCreated: "domain.created", - DeploymentCreated: "deployment.created", - DeploymentError: "deployment.error", - DeploymentCanceled: "deployment.canceled", - DeploymentSucceeded: "deployment.succeeded", - DeploymentReady: "deployment.ready", - DeploymentCheckRerequested: "deployment.check-rerequested", - DeploymentPromoted: "deployment.promoted", - DeploymentIntegrationActionStart: "deployment.integration.action.start", - DeploymentIntegrationActionCancel: "deployment.integration.action.cancel", - DeploymentIntegrationActionCleanup: "deployment.integration.action.cleanup", - EdgeConfigCreated: "edge-config.created", - EdgeConfigDeleted: "edge-config.deleted", - EdgeConfigItemsUpdated: "edge-config.items.updated", - FirewallAttack: "firewall.attack", - IntegrationConfigurationPermissionUpgraded: - "integration-configuration.permission-upgraded", - IntegrationConfigurationRemoved: "integration-configuration.removed", - IntegrationConfigurationScopeChangeConfirmed: - "integration-configuration.scope-change-confirmed", - ProjectCreated: "project.created", - ProjectRemoved: "project.removed", - DeploymentChecksCompletedLegacy: "deployment-checks-completed", - DeploymentReadyLegacy: "deployment-ready", - DeploymentPreparedLegacy: "deployment-prepared", - DeploymentErrorLegacy: "deployment-error", - DeploymentCheckRerequestedLegacy: "deployment-check-rerequested", - DeploymentCanceledLegacy: "deployment-canceled", - ProjectCreatedLegacy: "project-created", - ProjectRemovedLegacy: "project-removed", - DomainCreatedLegacy: "domain-created", - DeploymentLegacy: "deployment", - IntegrationConfigurationPermissionUpdatedLegacy: - "integration-configuration-permission-updated", - IntegrationConfigurationRemovedLegacy: "integration-configuration-removed", - IntegrationConfigurationScopeChangeConfirmedLegacy: - "integration-configuration-scope-change-confirmed", - MarketplaceInvoiceCreated: "marketplace.invoice.created", - MarketplaceInvoicePaid: "marketplace.invoice.paid", - MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid", - MarketplaceInvoiceRefunded: "marketplace.invoice.refunded", - TestWebhook: "observability.anomaly", - undefined: "test-webhook", -} as const; -export type Events = ClosedEnum; - -export type CreateWebhookRequestBody = { - url: string; - events: Array; - projectIds?: Array | undefined; -}; - -export type CreateWebhookRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: CreateWebhookRequestBody | undefined; -}; - -/** - * The webhooks events - */ -export const CreateWebhookEvents = { - BudgetReached: "budget.reached", - BudgetReset: "budget.reset", - DomainCreated: "domain.created", - DeploymentCreated: "deployment.created", - DeploymentError: "deployment.error", - DeploymentCanceled: "deployment.canceled", - DeploymentSucceeded: "deployment.succeeded", - DeploymentReady: "deployment.ready", - DeploymentCheckRerequested: "deployment.check-rerequested", - DeploymentPromoted: "deployment.promoted", - DeploymentIntegrationActionStart: "deployment.integration.action.start", - DeploymentIntegrationActionCancel: "deployment.integration.action.cancel", - DeploymentIntegrationActionCleanup: "deployment.integration.action.cleanup", - EdgeConfigCreated: "edge-config.created", - EdgeConfigDeleted: "edge-config.deleted", - EdgeConfigItemsUpdated: "edge-config.items.updated", - FirewallAttack: "firewall.attack", - IntegrationConfigurationPermissionUpgraded: - "integration-configuration.permission-upgraded", - IntegrationConfigurationRemoved: "integration-configuration.removed", - IntegrationConfigurationScopeChangeConfirmed: - "integration-configuration.scope-change-confirmed", - ProjectCreated: "project.created", - ProjectRemoved: "project.removed", - DeploymentChecksCompletedLegacy: "deployment-checks-completed", - DeploymentReadyLegacy: "deployment-ready", - DeploymentPreparedLegacy: "deployment-prepared", - DeploymentErrorLegacy: "deployment-error", - DeploymentCheckRerequestedLegacy: "deployment-check-rerequested", - DeploymentCanceledLegacy: "deployment-canceled", - ProjectCreatedLegacy: "project-created", - ProjectRemovedLegacy: "project-removed", - DomainCreatedLegacy: "domain-created", - DeploymentLegacy: "deployment", - IntegrationConfigurationPermissionUpdatedLegacy: - "integration-configuration-permission-updated", - IntegrationConfigurationRemovedLegacy: "integration-configuration-removed", - IntegrationConfigurationScopeChangeConfirmedLegacy: - "integration-configuration-scope-change-confirmed", - MarketplaceInvoiceCreated: "marketplace.invoice.created", - MarketplaceInvoicePaid: "marketplace.invoice.paid", - MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid", - MarketplaceInvoiceRefunded: "marketplace.invoice.refunded", - TestWebhook: "observability.anomaly", - undefined: "test-webhook", -} as const; -/** - * The webhooks events - */ -export type CreateWebhookEvents = ClosedEnum; - -export type CreateWebhookResponseBody = { - /** - * The webhook secret used to sign the payload - */ - secret: string; - /** - * The webhooks events - */ - events: Array; - /** - * The webhook id - */ - id: string; - /** - * A string with the URL of the webhook - */ - url: string; - /** - * The unique ID of the team the webhook belongs to - */ - ownerId: string; - /** - * A number containing the date when the webhook was created in in milliseconds - */ - createdAt: number; - /** - * A number containing the date when the webhook was updated in in milliseconds - */ - updatedAt: number; - /** - * The ID of the projects the webhook is associated with - */ - projectIds?: Array | undefined; -}; - -/** @internal */ -export const Events$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Events); - -/** @internal */ -export const Events$outboundSchema: z.ZodNativeEnum = - Events$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Events$ { - /** @deprecated use `Events$inboundSchema` instead. */ - export const inboundSchema = Events$inboundSchema; - /** @deprecated use `Events$outboundSchema` instead. */ - export const outboundSchema = Events$outboundSchema; -} - -/** @internal */ -export const CreateWebhookRequestBody$inboundSchema: z.ZodType< - CreateWebhookRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - url: z.string(), - events: z.array(Events$inboundSchema), - projectIds: z.array(z.string()).optional(), -}); - -/** @internal */ -export type CreateWebhookRequestBody$Outbound = { - url: string; - events: Array; - projectIds?: Array | undefined; -}; - -/** @internal */ -export const CreateWebhookRequestBody$outboundSchema: z.ZodType< - CreateWebhookRequestBody$Outbound, - z.ZodTypeDef, - CreateWebhookRequestBody -> = z.object({ - url: z.string(), - events: z.array(Events$outboundSchema), - projectIds: z.array(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateWebhookRequestBody$ { - /** @deprecated use `CreateWebhookRequestBody$inboundSchema` instead. */ - export const inboundSchema = CreateWebhookRequestBody$inboundSchema; - /** @deprecated use `CreateWebhookRequestBody$outboundSchema` instead. */ - export const outboundSchema = CreateWebhookRequestBody$outboundSchema; - /** @deprecated use `CreateWebhookRequestBody$Outbound` instead. */ - export type Outbound = CreateWebhookRequestBody$Outbound; -} - -export function createWebhookRequestBodyToJSON( - createWebhookRequestBody: CreateWebhookRequestBody, -): string { - return JSON.stringify( - CreateWebhookRequestBody$outboundSchema.parse(createWebhookRequestBody), - ); -} - -export function createWebhookRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateWebhookRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateWebhookRequestBody' from JSON`, - ); -} - -/** @internal */ -export const CreateWebhookRequest$inboundSchema: z.ZodType< - CreateWebhookRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => CreateWebhookRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type CreateWebhookRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: CreateWebhookRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const CreateWebhookRequest$outboundSchema: z.ZodType< - CreateWebhookRequest$Outbound, - z.ZodTypeDef, - CreateWebhookRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateWebhookRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateWebhookRequest$ { - /** @deprecated use `CreateWebhookRequest$inboundSchema` instead. */ - export const inboundSchema = CreateWebhookRequest$inboundSchema; - /** @deprecated use `CreateWebhookRequest$outboundSchema` instead. */ - export const outboundSchema = CreateWebhookRequest$outboundSchema; - /** @deprecated use `CreateWebhookRequest$Outbound` instead. */ - export type Outbound = CreateWebhookRequest$Outbound; -} - -export function createWebhookRequestToJSON( - createWebhookRequest: CreateWebhookRequest, -): string { - return JSON.stringify( - CreateWebhookRequest$outboundSchema.parse(createWebhookRequest), - ); -} - -export function createWebhookRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateWebhookRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateWebhookRequest' from JSON`, - ); -} - -/** @internal */ -export const CreateWebhookEvents$inboundSchema: z.ZodNativeEnum< - typeof CreateWebhookEvents -> = z.nativeEnum(CreateWebhookEvents); - -/** @internal */ -export const CreateWebhookEvents$outboundSchema: z.ZodNativeEnum< - typeof CreateWebhookEvents -> = CreateWebhookEvents$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateWebhookEvents$ { - /** @deprecated use `CreateWebhookEvents$inboundSchema` instead. */ - export const inboundSchema = CreateWebhookEvents$inboundSchema; - /** @deprecated use `CreateWebhookEvents$outboundSchema` instead. */ - export const outboundSchema = CreateWebhookEvents$outboundSchema; -} - -/** @internal */ -export const CreateWebhookResponseBody$inboundSchema: z.ZodType< - CreateWebhookResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - secret: z.string(), - events: z.array(CreateWebhookEvents$inboundSchema), - id: z.string(), - url: z.string(), - ownerId: z.string(), - createdAt: z.number(), - updatedAt: z.number(), - projectIds: z.array(z.string()).optional(), -}); - -/** @internal */ -export type CreateWebhookResponseBody$Outbound = { - secret: string; - events: Array; - id: string; - url: string; - ownerId: string; - createdAt: number; - updatedAt: number; - projectIds?: Array | undefined; -}; - -/** @internal */ -export const CreateWebhookResponseBody$outboundSchema: z.ZodType< - CreateWebhookResponseBody$Outbound, - z.ZodTypeDef, - CreateWebhookResponseBody -> = z.object({ - secret: z.string(), - events: z.array(CreateWebhookEvents$outboundSchema), - id: z.string(), - url: z.string(), - ownerId: z.string(), - createdAt: z.number(), - updatedAt: z.number(), - projectIds: z.array(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateWebhookResponseBody$ { - /** @deprecated use `CreateWebhookResponseBody$inboundSchema` instead. */ - export const inboundSchema = CreateWebhookResponseBody$inboundSchema; - /** @deprecated use `CreateWebhookResponseBody$outboundSchema` instead. */ - export const outboundSchema = CreateWebhookResponseBody$outboundSchema; - /** @deprecated use `CreateWebhookResponseBody$Outbound` instead. */ - export type Outbound = CreateWebhookResponseBody$Outbound; -} - -export function createWebhookResponseBodyToJSON( - createWebhookResponseBody: CreateWebhookResponseBody, -): string { - return JSON.stringify( - CreateWebhookResponseBody$outboundSchema.parse(createWebhookResponseBody), - ); -} - -export function createWebhookResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateWebhookResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateWebhookResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/deleteaccessgroup.ts b/src/models/operations/deleteaccessgroup.ts deleted file mode 100644 index f35bf328..00000000 --- a/src/models/operations/deleteaccessgroup.ts +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type DeleteAccessGroupRequest = { - idOrName: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteAccessGroupRequest$inboundSchema: z.ZodType< - DeleteAccessGroupRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type DeleteAccessGroupRequest$Outbound = { - idOrName: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteAccessGroupRequest$outboundSchema: z.ZodType< - DeleteAccessGroupRequest$Outbound, - z.ZodTypeDef, - DeleteAccessGroupRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteAccessGroupRequest$ { - /** @deprecated use `DeleteAccessGroupRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteAccessGroupRequest$inboundSchema; - /** @deprecated use `DeleteAccessGroupRequest$outboundSchema` instead. */ - export const outboundSchema = DeleteAccessGroupRequest$outboundSchema; - /** @deprecated use `DeleteAccessGroupRequest$Outbound` instead. */ - export type Outbound = DeleteAccessGroupRequest$Outbound; -} - -export function deleteAccessGroupRequestToJSON( - deleteAccessGroupRequest: DeleteAccessGroupRequest, -): string { - return JSON.stringify( - DeleteAccessGroupRequest$outboundSchema.parse(deleteAccessGroupRequest), - ); -} - -export function deleteAccessGroupRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteAccessGroupRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteAccessGroupRequest' from JSON`, - ); -} diff --git a/src/models/operations/deleteaccessgroupproject.ts b/src/models/operations/deleteaccessgroupproject.ts deleted file mode 100644 index 155731f0..00000000 --- a/src/models/operations/deleteaccessgroupproject.ts +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type DeleteAccessGroupProjectRequest = { - accessGroupIdOrName: string; - projectId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteAccessGroupProjectRequest$inboundSchema: z.ZodType< - DeleteAccessGroupProjectRequest, - z.ZodTypeDef, - unknown -> = z.object({ - accessGroupIdOrName: z.string(), - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type DeleteAccessGroupProjectRequest$Outbound = { - accessGroupIdOrName: string; - projectId: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteAccessGroupProjectRequest$outboundSchema: z.ZodType< - DeleteAccessGroupProjectRequest$Outbound, - z.ZodTypeDef, - DeleteAccessGroupProjectRequest -> = z.object({ - accessGroupIdOrName: z.string(), - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteAccessGroupProjectRequest$ { - /** @deprecated use `DeleteAccessGroupProjectRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteAccessGroupProjectRequest$inboundSchema; - /** @deprecated use `DeleteAccessGroupProjectRequest$outboundSchema` instead. */ - export const outboundSchema = DeleteAccessGroupProjectRequest$outboundSchema; - /** @deprecated use `DeleteAccessGroupProjectRequest$Outbound` instead. */ - export type Outbound = DeleteAccessGroupProjectRequest$Outbound; -} - -export function deleteAccessGroupProjectRequestToJSON( - deleteAccessGroupProjectRequest: DeleteAccessGroupProjectRequest, -): string { - return JSON.stringify( - DeleteAccessGroupProjectRequest$outboundSchema.parse( - deleteAccessGroupProjectRequest, - ), - ); -} - -export function deleteAccessGroupProjectRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteAccessGroupProjectRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteAccessGroupProjectRequest' from JSON`, - ); -} diff --git a/src/models/operations/deletealias.ts b/src/models/operations/deletealias.ts deleted file mode 100644 index ee92275a..00000000 --- a/src/models/operations/deletealias.ts +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type DeleteAliasRequest = { - /** - * The ID or alias that will be removed - */ - aliasId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export const DeleteAliasStatus = { - Success: "SUCCESS", -} as const; -export type DeleteAliasStatus = ClosedEnum; - -/** - * The alias was successfully removed - */ -export type DeleteAliasResponseBody = { - status: DeleteAliasStatus; -}; - -/** @internal */ -export const DeleteAliasRequest$inboundSchema: z.ZodType< - DeleteAliasRequest, - z.ZodTypeDef, - unknown -> = z.object({ - aliasId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type DeleteAliasRequest$Outbound = { - aliasId: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteAliasRequest$outboundSchema: z.ZodType< - DeleteAliasRequest$Outbound, - z.ZodTypeDef, - DeleteAliasRequest -> = z.object({ - aliasId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteAliasRequest$ { - /** @deprecated use `DeleteAliasRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteAliasRequest$inboundSchema; - /** @deprecated use `DeleteAliasRequest$outboundSchema` instead. */ - export const outboundSchema = DeleteAliasRequest$outboundSchema; - /** @deprecated use `DeleteAliasRequest$Outbound` instead. */ - export type Outbound = DeleteAliasRequest$Outbound; -} - -export function deleteAliasRequestToJSON( - deleteAliasRequest: DeleteAliasRequest, -): string { - return JSON.stringify( - DeleteAliasRequest$outboundSchema.parse(deleteAliasRequest), - ); -} - -export function deleteAliasRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteAliasRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteAliasRequest' from JSON`, - ); -} - -/** @internal */ -export const DeleteAliasStatus$inboundSchema: z.ZodNativeEnum< - typeof DeleteAliasStatus -> = z.nativeEnum(DeleteAliasStatus); - -/** @internal */ -export const DeleteAliasStatus$outboundSchema: z.ZodNativeEnum< - typeof DeleteAliasStatus -> = DeleteAliasStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteAliasStatus$ { - /** @deprecated use `DeleteAliasStatus$inboundSchema` instead. */ - export const inboundSchema = DeleteAliasStatus$inboundSchema; - /** @deprecated use `DeleteAliasStatus$outboundSchema` instead. */ - export const outboundSchema = DeleteAliasStatus$outboundSchema; -} - -/** @internal */ -export const DeleteAliasResponseBody$inboundSchema: z.ZodType< - DeleteAliasResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - status: DeleteAliasStatus$inboundSchema, -}); - -/** @internal */ -export type DeleteAliasResponseBody$Outbound = { - status: string; -}; - -/** @internal */ -export const DeleteAliasResponseBody$outboundSchema: z.ZodType< - DeleteAliasResponseBody$Outbound, - z.ZodTypeDef, - DeleteAliasResponseBody -> = z.object({ - status: DeleteAliasStatus$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteAliasResponseBody$ { - /** @deprecated use `DeleteAliasResponseBody$inboundSchema` instead. */ - export const inboundSchema = DeleteAliasResponseBody$inboundSchema; - /** @deprecated use `DeleteAliasResponseBody$outboundSchema` instead. */ - export const outboundSchema = DeleteAliasResponseBody$outboundSchema; - /** @deprecated use `DeleteAliasResponseBody$Outbound` instead. */ - export type Outbound = DeleteAliasResponseBody$Outbound; -} - -export function deleteAliasResponseBodyToJSON( - deleteAliasResponseBody: DeleteAliasResponseBody, -): string { - return JSON.stringify( - DeleteAliasResponseBody$outboundSchema.parse(deleteAliasResponseBody), - ); -} - -export function deleteAliasResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteAliasResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteAliasResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/deleteauthtoken.ts b/src/models/operations/deleteauthtoken.ts deleted file mode 100644 index c5f4e87e..00000000 --- a/src/models/operations/deleteauthtoken.ts +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type DeleteAuthTokenRequest = { - /** - * The identifier of the token to invalidate. The special value \"current\" may be supplied, which invalidates the token that the HTTP request was authenticated with. - */ - tokenId: string; -}; - -/** - * Authentication token successfully deleted. - */ -export type DeleteAuthTokenResponseBody = { - /** - * The unique identifier of the token that was deleted. - */ - tokenId: string; -}; - -/** @internal */ -export const DeleteAuthTokenRequest$inboundSchema: z.ZodType< - DeleteAuthTokenRequest, - z.ZodTypeDef, - unknown -> = z.object({ - tokenId: z.string(), -}); - -/** @internal */ -export type DeleteAuthTokenRequest$Outbound = { - tokenId: string; -}; - -/** @internal */ -export const DeleteAuthTokenRequest$outboundSchema: z.ZodType< - DeleteAuthTokenRequest$Outbound, - z.ZodTypeDef, - DeleteAuthTokenRequest -> = z.object({ - tokenId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteAuthTokenRequest$ { - /** @deprecated use `DeleteAuthTokenRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteAuthTokenRequest$inboundSchema; - /** @deprecated use `DeleteAuthTokenRequest$outboundSchema` instead. */ - export const outboundSchema = DeleteAuthTokenRequest$outboundSchema; - /** @deprecated use `DeleteAuthTokenRequest$Outbound` instead. */ - export type Outbound = DeleteAuthTokenRequest$Outbound; -} - -export function deleteAuthTokenRequestToJSON( - deleteAuthTokenRequest: DeleteAuthTokenRequest, -): string { - return JSON.stringify( - DeleteAuthTokenRequest$outboundSchema.parse(deleteAuthTokenRequest), - ); -} - -export function deleteAuthTokenRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteAuthTokenRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteAuthTokenRequest' from JSON`, - ); -} - -/** @internal */ -export const DeleteAuthTokenResponseBody$inboundSchema: z.ZodType< - DeleteAuthTokenResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - tokenId: z.string(), -}); - -/** @internal */ -export type DeleteAuthTokenResponseBody$Outbound = { - tokenId: string; -}; - -/** @internal */ -export const DeleteAuthTokenResponseBody$outboundSchema: z.ZodType< - DeleteAuthTokenResponseBody$Outbound, - z.ZodTypeDef, - DeleteAuthTokenResponseBody -> = z.object({ - tokenId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteAuthTokenResponseBody$ { - /** @deprecated use `DeleteAuthTokenResponseBody$inboundSchema` instead. */ - export const inboundSchema = DeleteAuthTokenResponseBody$inboundSchema; - /** @deprecated use `DeleteAuthTokenResponseBody$outboundSchema` instead. */ - export const outboundSchema = DeleteAuthTokenResponseBody$outboundSchema; - /** @deprecated use `DeleteAuthTokenResponseBody$Outbound` instead. */ - export type Outbound = DeleteAuthTokenResponseBody$Outbound; -} - -export function deleteAuthTokenResponseBodyToJSON( - deleteAuthTokenResponseBody: DeleteAuthTokenResponseBody, -): string { - return JSON.stringify( - DeleteAuthTokenResponseBody$outboundSchema.parse( - deleteAuthTokenResponseBody, - ), - ); -} - -export function deleteAuthTokenResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteAuthTokenResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteAuthTokenResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/deleteconfigurablelogdrain.ts b/src/models/operations/deleteconfigurablelogdrain.ts deleted file mode 100644 index e786cd24..00000000 --- a/src/models/operations/deleteconfigurablelogdrain.ts +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type DeleteConfigurableLogDrainRequest = { - id: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteConfigurableLogDrainRequest$inboundSchema: z.ZodType< - DeleteConfigurableLogDrainRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type DeleteConfigurableLogDrainRequest$Outbound = { - id: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteConfigurableLogDrainRequest$outboundSchema: z.ZodType< - DeleteConfigurableLogDrainRequest$Outbound, - z.ZodTypeDef, - DeleteConfigurableLogDrainRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteConfigurableLogDrainRequest$ { - /** @deprecated use `DeleteConfigurableLogDrainRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteConfigurableLogDrainRequest$inboundSchema; - /** @deprecated use `DeleteConfigurableLogDrainRequest$outboundSchema` instead. */ - export const outboundSchema = - DeleteConfigurableLogDrainRequest$outboundSchema; - /** @deprecated use `DeleteConfigurableLogDrainRequest$Outbound` instead. */ - export type Outbound = DeleteConfigurableLogDrainRequest$Outbound; -} - -export function deleteConfigurableLogDrainRequestToJSON( - deleteConfigurableLogDrainRequest: DeleteConfigurableLogDrainRequest, -): string { - return JSON.stringify( - DeleteConfigurableLogDrainRequest$outboundSchema.parse( - deleteConfigurableLogDrainRequest, - ), - ); -} - -export function deleteConfigurableLogDrainRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteConfigurableLogDrainRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteConfigurableLogDrainRequest' from JSON`, - ); -} diff --git a/src/models/operations/deleteconfiguration.ts b/src/models/operations/deleteconfiguration.ts deleted file mode 100644 index c441786e..00000000 --- a/src/models/operations/deleteconfiguration.ts +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type DeleteConfigurationRequest = { - id: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteConfigurationRequest$inboundSchema: z.ZodType< - DeleteConfigurationRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type DeleteConfigurationRequest$Outbound = { - id: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteConfigurationRequest$outboundSchema: z.ZodType< - DeleteConfigurationRequest$Outbound, - z.ZodTypeDef, - DeleteConfigurationRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteConfigurationRequest$ { - /** @deprecated use `DeleteConfigurationRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteConfigurationRequest$inboundSchema; - /** @deprecated use `DeleteConfigurationRequest$outboundSchema` instead. */ - export const outboundSchema = DeleteConfigurationRequest$outboundSchema; - /** @deprecated use `DeleteConfigurationRequest$Outbound` instead. */ - export type Outbound = DeleteConfigurationRequest$Outbound; -} - -export function deleteConfigurationRequestToJSON( - deleteConfigurationRequest: DeleteConfigurationRequest, -): string { - return JSON.stringify( - DeleteConfigurationRequest$outboundSchema.parse(deleteConfigurationRequest), - ); -} - -export function deleteConfigurationRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteConfigurationRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteConfigurationRequest' from JSON`, - ); -} diff --git a/src/models/operations/deletedeployment.ts b/src/models/operations/deletedeployment.ts deleted file mode 100644 index 9eeeca67..00000000 --- a/src/models/operations/deletedeployment.ts +++ /dev/null @@ -1,196 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type DeleteDeploymentRequest = { - /** - * The ID of the deployment to be deleted - */ - id: string; - /** - * A Deployment or Alias URL. In case it is passed, the ID will be ignored - */ - url?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * A constant with the final state of the deployment. - */ -export const DeleteDeploymentState = { - Deleted: "DELETED", -} as const; -/** - * A constant with the final state of the deployment. - */ -export type DeleteDeploymentState = ClosedEnum; - -/** - * The deployment was successfully deleted - */ -export type DeleteDeploymentResponseBody = { - /** - * The removed deployment ID. - */ - uid: string; - /** - * A constant with the final state of the deployment. - */ - state: DeleteDeploymentState; -}; - -/** @internal */ -export const DeleteDeploymentRequest$inboundSchema: z.ZodType< - DeleteDeploymentRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - url: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type DeleteDeploymentRequest$Outbound = { - id: string; - url?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteDeploymentRequest$outboundSchema: z.ZodType< - DeleteDeploymentRequest$Outbound, - z.ZodTypeDef, - DeleteDeploymentRequest -> = z.object({ - id: z.string(), - url: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteDeploymentRequest$ { - /** @deprecated use `DeleteDeploymentRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteDeploymentRequest$inboundSchema; - /** @deprecated use `DeleteDeploymentRequest$outboundSchema` instead. */ - export const outboundSchema = DeleteDeploymentRequest$outboundSchema; - /** @deprecated use `DeleteDeploymentRequest$Outbound` instead. */ - export type Outbound = DeleteDeploymentRequest$Outbound; -} - -export function deleteDeploymentRequestToJSON( - deleteDeploymentRequest: DeleteDeploymentRequest, -): string { - return JSON.stringify( - DeleteDeploymentRequest$outboundSchema.parse(deleteDeploymentRequest), - ); -} - -export function deleteDeploymentRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteDeploymentRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteDeploymentRequest' from JSON`, - ); -} - -/** @internal */ -export const DeleteDeploymentState$inboundSchema: z.ZodNativeEnum< - typeof DeleteDeploymentState -> = z.nativeEnum(DeleteDeploymentState); - -/** @internal */ -export const DeleteDeploymentState$outboundSchema: z.ZodNativeEnum< - typeof DeleteDeploymentState -> = DeleteDeploymentState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteDeploymentState$ { - /** @deprecated use `DeleteDeploymentState$inboundSchema` instead. */ - export const inboundSchema = DeleteDeploymentState$inboundSchema; - /** @deprecated use `DeleteDeploymentState$outboundSchema` instead. */ - export const outboundSchema = DeleteDeploymentState$outboundSchema; -} - -/** @internal */ -export const DeleteDeploymentResponseBody$inboundSchema: z.ZodType< - DeleteDeploymentResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - state: DeleteDeploymentState$inboundSchema, -}); - -/** @internal */ -export type DeleteDeploymentResponseBody$Outbound = { - uid: string; - state: string; -}; - -/** @internal */ -export const DeleteDeploymentResponseBody$outboundSchema: z.ZodType< - DeleteDeploymentResponseBody$Outbound, - z.ZodTypeDef, - DeleteDeploymentResponseBody -> = z.object({ - uid: z.string(), - state: DeleteDeploymentState$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteDeploymentResponseBody$ { - /** @deprecated use `DeleteDeploymentResponseBody$inboundSchema` instead. */ - export const inboundSchema = DeleteDeploymentResponseBody$inboundSchema; - /** @deprecated use `DeleteDeploymentResponseBody$outboundSchema` instead. */ - export const outboundSchema = DeleteDeploymentResponseBody$outboundSchema; - /** @deprecated use `DeleteDeploymentResponseBody$Outbound` instead. */ - export type Outbound = DeleteDeploymentResponseBody$Outbound; -} - -export function deleteDeploymentResponseBodyToJSON( - deleteDeploymentResponseBody: DeleteDeploymentResponseBody, -): string { - return JSON.stringify( - DeleteDeploymentResponseBody$outboundSchema.parse( - deleteDeploymentResponseBody, - ), - ); -} - -export function deleteDeploymentResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteDeploymentResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteDeploymentResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/deletedomain.ts b/src/models/operations/deletedomain.ts deleted file mode 100644 index 3af36820..00000000 --- a/src/models/operations/deletedomain.ts +++ /dev/null @@ -1,147 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type DeleteDomainRequest = { - /** - * The name of the domain. - */ - domain: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * Successful response removing a domain. - */ -export type DeleteDomainResponseBody = { - /** - * The id of the newly created DNS record - */ - uid: string; -}; - -/** @internal */ -export const DeleteDomainRequest$inboundSchema: z.ZodType< - DeleteDomainRequest, - z.ZodTypeDef, - unknown -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type DeleteDomainRequest$Outbound = { - domain: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteDomainRequest$outboundSchema: z.ZodType< - DeleteDomainRequest$Outbound, - z.ZodTypeDef, - DeleteDomainRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteDomainRequest$ { - /** @deprecated use `DeleteDomainRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteDomainRequest$inboundSchema; - /** @deprecated use `DeleteDomainRequest$outboundSchema` instead. */ - export const outboundSchema = DeleteDomainRequest$outboundSchema; - /** @deprecated use `DeleteDomainRequest$Outbound` instead. */ - export type Outbound = DeleteDomainRequest$Outbound; -} - -export function deleteDomainRequestToJSON( - deleteDomainRequest: DeleteDomainRequest, -): string { - return JSON.stringify( - DeleteDomainRequest$outboundSchema.parse(deleteDomainRequest), - ); -} - -export function deleteDomainRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteDomainRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteDomainRequest' from JSON`, - ); -} - -/** @internal */ -export const DeleteDomainResponseBody$inboundSchema: z.ZodType< - DeleteDomainResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), -}); - -/** @internal */ -export type DeleteDomainResponseBody$Outbound = { - uid: string; -}; - -/** @internal */ -export const DeleteDomainResponseBody$outboundSchema: z.ZodType< - DeleteDomainResponseBody$Outbound, - z.ZodTypeDef, - DeleteDomainResponseBody -> = z.object({ - uid: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteDomainResponseBody$ { - /** @deprecated use `DeleteDomainResponseBody$inboundSchema` instead. */ - export const inboundSchema = DeleteDomainResponseBody$inboundSchema; - /** @deprecated use `DeleteDomainResponseBody$outboundSchema` instead. */ - export const outboundSchema = DeleteDomainResponseBody$outboundSchema; - /** @deprecated use `DeleteDomainResponseBody$Outbound` instead. */ - export type Outbound = DeleteDomainResponseBody$Outbound; -} - -export function deleteDomainResponseBodyToJSON( - deleteDomainResponseBody: DeleteDomainResponseBody, -): string { - return JSON.stringify( - DeleteDomainResponseBody$outboundSchema.parse(deleteDomainResponseBody), - ); -} - -export function deleteDomainResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteDomainResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteDomainResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/deleteedgeconfig.ts b/src/models/operations/deleteedgeconfig.ts deleted file mode 100644 index 1a303a10..00000000 --- a/src/models/operations/deleteedgeconfig.ts +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type DeleteEdgeConfigRequest = { - edgeConfigId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteEdgeConfigRequest$inboundSchema: z.ZodType< - DeleteEdgeConfigRequest, - z.ZodTypeDef, - unknown -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type DeleteEdgeConfigRequest$Outbound = { - edgeConfigId: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteEdgeConfigRequest$outboundSchema: z.ZodType< - DeleteEdgeConfigRequest$Outbound, - z.ZodTypeDef, - DeleteEdgeConfigRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteEdgeConfigRequest$ { - /** @deprecated use `DeleteEdgeConfigRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteEdgeConfigRequest$inboundSchema; - /** @deprecated use `DeleteEdgeConfigRequest$outboundSchema` instead. */ - export const outboundSchema = DeleteEdgeConfigRequest$outboundSchema; - /** @deprecated use `DeleteEdgeConfigRequest$Outbound` instead. */ - export type Outbound = DeleteEdgeConfigRequest$Outbound; -} - -export function deleteEdgeConfigRequestToJSON( - deleteEdgeConfigRequest: DeleteEdgeConfigRequest, -): string { - return JSON.stringify( - DeleteEdgeConfigRequest$outboundSchema.parse(deleteEdgeConfigRequest), - ); -} - -export function deleteEdgeConfigRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteEdgeConfigRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteEdgeConfigRequest' from JSON`, - ); -} diff --git a/src/models/operations/deleteedgeconfigschema.ts b/src/models/operations/deleteedgeconfigschema.ts deleted file mode 100644 index 5f73bbdc..00000000 --- a/src/models/operations/deleteedgeconfigschema.ts +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type DeleteEdgeConfigSchemaRequest = { - edgeConfigId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteEdgeConfigSchemaRequest$inboundSchema: z.ZodType< - DeleteEdgeConfigSchemaRequest, - z.ZodTypeDef, - unknown -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type DeleteEdgeConfigSchemaRequest$Outbound = { - edgeConfigId: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteEdgeConfigSchemaRequest$outboundSchema: z.ZodType< - DeleteEdgeConfigSchemaRequest$Outbound, - z.ZodTypeDef, - DeleteEdgeConfigSchemaRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteEdgeConfigSchemaRequest$ { - /** @deprecated use `DeleteEdgeConfigSchemaRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteEdgeConfigSchemaRequest$inboundSchema; - /** @deprecated use `DeleteEdgeConfigSchemaRequest$outboundSchema` instead. */ - export const outboundSchema = DeleteEdgeConfigSchemaRequest$outboundSchema; - /** @deprecated use `DeleteEdgeConfigSchemaRequest$Outbound` instead. */ - export type Outbound = DeleteEdgeConfigSchemaRequest$Outbound; -} - -export function deleteEdgeConfigSchemaRequestToJSON( - deleteEdgeConfigSchemaRequest: DeleteEdgeConfigSchemaRequest, -): string { - return JSON.stringify( - DeleteEdgeConfigSchemaRequest$outboundSchema.parse( - deleteEdgeConfigSchemaRequest, - ), - ); -} - -export function deleteEdgeConfigSchemaRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteEdgeConfigSchemaRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteEdgeConfigSchemaRequest' from JSON`, - ); -} diff --git a/src/models/operations/deleteedgeconfigtokens.ts b/src/models/operations/deleteedgeconfigtokens.ts deleted file mode 100644 index b6729506..00000000 --- a/src/models/operations/deleteedgeconfigtokens.ts +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type DeleteEdgeConfigTokensRequestBody = { - tokens: Array; -}; - -export type DeleteEdgeConfigTokensRequest = { - edgeConfigId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: DeleteEdgeConfigTokensRequestBody | undefined; -}; - -/** @internal */ -export const DeleteEdgeConfigTokensRequestBody$inboundSchema: z.ZodType< - DeleteEdgeConfigTokensRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - tokens: z.array(z.string()), -}); - -/** @internal */ -export type DeleteEdgeConfigTokensRequestBody$Outbound = { - tokens: Array; -}; - -/** @internal */ -export const DeleteEdgeConfigTokensRequestBody$outboundSchema: z.ZodType< - DeleteEdgeConfigTokensRequestBody$Outbound, - z.ZodTypeDef, - DeleteEdgeConfigTokensRequestBody -> = z.object({ - tokens: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteEdgeConfigTokensRequestBody$ { - /** @deprecated use `DeleteEdgeConfigTokensRequestBody$inboundSchema` instead. */ - export const inboundSchema = DeleteEdgeConfigTokensRequestBody$inboundSchema; - /** @deprecated use `DeleteEdgeConfigTokensRequestBody$outboundSchema` instead. */ - export const outboundSchema = - DeleteEdgeConfigTokensRequestBody$outboundSchema; - /** @deprecated use `DeleteEdgeConfigTokensRequestBody$Outbound` instead. */ - export type Outbound = DeleteEdgeConfigTokensRequestBody$Outbound; -} - -export function deleteEdgeConfigTokensRequestBodyToJSON( - deleteEdgeConfigTokensRequestBody: DeleteEdgeConfigTokensRequestBody, -): string { - return JSON.stringify( - DeleteEdgeConfigTokensRequestBody$outboundSchema.parse( - deleteEdgeConfigTokensRequestBody, - ), - ); -} - -export function deleteEdgeConfigTokensRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteEdgeConfigTokensRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteEdgeConfigTokensRequestBody' from JSON`, - ); -} - -/** @internal */ -export const DeleteEdgeConfigTokensRequest$inboundSchema: z.ZodType< - DeleteEdgeConfigTokensRequest, - z.ZodTypeDef, - unknown -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => DeleteEdgeConfigTokensRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type DeleteEdgeConfigTokensRequest$Outbound = { - edgeConfigId: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: DeleteEdgeConfigTokensRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const DeleteEdgeConfigTokensRequest$outboundSchema: z.ZodType< - DeleteEdgeConfigTokensRequest$Outbound, - z.ZodTypeDef, - DeleteEdgeConfigTokensRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => DeleteEdgeConfigTokensRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteEdgeConfigTokensRequest$ { - /** @deprecated use `DeleteEdgeConfigTokensRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteEdgeConfigTokensRequest$inboundSchema; - /** @deprecated use `DeleteEdgeConfigTokensRequest$outboundSchema` instead. */ - export const outboundSchema = DeleteEdgeConfigTokensRequest$outboundSchema; - /** @deprecated use `DeleteEdgeConfigTokensRequest$Outbound` instead. */ - export type Outbound = DeleteEdgeConfigTokensRequest$Outbound; -} - -export function deleteEdgeConfigTokensRequestToJSON( - deleteEdgeConfigTokensRequest: DeleteEdgeConfigTokensRequest, -): string { - return JSON.stringify( - DeleteEdgeConfigTokensRequest$outboundSchema.parse( - deleteEdgeConfigTokensRequest, - ), - ); -} - -export function deleteEdgeConfigTokensRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteEdgeConfigTokensRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteEdgeConfigTokensRequest' from JSON`, - ); -} diff --git a/src/models/operations/deleteintegrationlogdrain.ts b/src/models/operations/deleteintegrationlogdrain.ts deleted file mode 100644 index c0d04016..00000000 --- a/src/models/operations/deleteintegrationlogdrain.ts +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type DeleteIntegrationLogDrainRequest = { - /** - * ID of the log drain to be deleted - */ - id: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteIntegrationLogDrainRequest$inboundSchema: z.ZodType< - DeleteIntegrationLogDrainRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type DeleteIntegrationLogDrainRequest$Outbound = { - id: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteIntegrationLogDrainRequest$outboundSchema: z.ZodType< - DeleteIntegrationLogDrainRequest$Outbound, - z.ZodTypeDef, - DeleteIntegrationLogDrainRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteIntegrationLogDrainRequest$ { - /** @deprecated use `DeleteIntegrationLogDrainRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteIntegrationLogDrainRequest$inboundSchema; - /** @deprecated use `DeleteIntegrationLogDrainRequest$outboundSchema` instead. */ - export const outboundSchema = DeleteIntegrationLogDrainRequest$outboundSchema; - /** @deprecated use `DeleteIntegrationLogDrainRequest$Outbound` instead. */ - export type Outbound = DeleteIntegrationLogDrainRequest$Outbound; -} - -export function deleteIntegrationLogDrainRequestToJSON( - deleteIntegrationLogDrainRequest: DeleteIntegrationLogDrainRequest, -): string { - return JSON.stringify( - DeleteIntegrationLogDrainRequest$outboundSchema.parse( - deleteIntegrationLogDrainRequest, - ), - ); -} - -export function deleteIntegrationLogDrainRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteIntegrationLogDrainRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteIntegrationLogDrainRequest' from JSON`, - ); -} diff --git a/src/models/operations/deleteproject.ts b/src/models/operations/deleteproject.ts deleted file mode 100644 index a48cbcbb..00000000 --- a/src/models/operations/deleteproject.ts +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type DeleteProjectRequest = { - /** - * The unique project identifier or the project name - */ - idOrName: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteProjectRequest$inboundSchema: z.ZodType< - DeleteProjectRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type DeleteProjectRequest$Outbound = { - idOrName: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteProjectRequest$outboundSchema: z.ZodType< - DeleteProjectRequest$Outbound, - z.ZodTypeDef, - DeleteProjectRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteProjectRequest$ { - /** @deprecated use `DeleteProjectRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteProjectRequest$inboundSchema; - /** @deprecated use `DeleteProjectRequest$outboundSchema` instead. */ - export const outboundSchema = DeleteProjectRequest$outboundSchema; - /** @deprecated use `DeleteProjectRequest$Outbound` instead. */ - export type Outbound = DeleteProjectRequest$Outbound; -} - -export function deleteProjectRequestToJSON( - deleteProjectRequest: DeleteProjectRequest, -): string { - return JSON.stringify( - DeleteProjectRequest$outboundSchema.parse(deleteProjectRequest), - ); -} - -export function deleteProjectRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteProjectRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteProjectRequest' from JSON`, - ); -} diff --git a/src/models/operations/deleteteam.ts b/src/models/operations/deleteteam.ts deleted file mode 100644 index fa78a3bb..00000000 --- a/src/models/operations/deleteteam.ts +++ /dev/null @@ -1,292 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * An object describing the reason why the team is being deleted. - */ -export type Reasons = { - /** - * Idenitifier slug of the reason why the team is being deleted. - */ - slug: string; - /** - * Description of the reason why the team is being deleted. - */ - description: string; -}; - -export type DeleteTeamRequestBody = { - /** - * Optional array of objects that describe the reason why the team is being deleted. - */ - reasons?: Array | undefined; -}; - -export type DeleteTeamRequest = { - /** - * Id of the team to be set as the new default team - */ - newDefaultTeamId?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId: string; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: DeleteTeamRequestBody | undefined; -}; - -/** - * The Team was successfully deleted - */ -export type DeleteTeamResponseBody = { - /** - * The ID of the deleted Team - */ - id: string; - /** - * Signifies whether the default team update has failed, when newDefaultTeamId is provided in request query. - */ - newDefaultTeamIdError?: boolean | undefined; -}; - -/** @internal */ -export const Reasons$inboundSchema: z.ZodType = - z.object({ - slug: z.string(), - description: z.string(), - }); - -/** @internal */ -export type Reasons$Outbound = { - slug: string; - description: string; -}; - -/** @internal */ -export const Reasons$outboundSchema: z.ZodType< - Reasons$Outbound, - z.ZodTypeDef, - Reasons -> = z.object({ - slug: z.string(), - description: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Reasons$ { - /** @deprecated use `Reasons$inboundSchema` instead. */ - export const inboundSchema = Reasons$inboundSchema; - /** @deprecated use `Reasons$outboundSchema` instead. */ - export const outboundSchema = Reasons$outboundSchema; - /** @deprecated use `Reasons$Outbound` instead. */ - export type Outbound = Reasons$Outbound; -} - -export function reasonsToJSON(reasons: Reasons): string { - return JSON.stringify(Reasons$outboundSchema.parse(reasons)); -} - -export function reasonsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Reasons$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Reasons' from JSON`, - ); -} - -/** @internal */ -export const DeleteTeamRequestBody$inboundSchema: z.ZodType< - DeleteTeamRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - reasons: z.array(z.lazy(() => Reasons$inboundSchema)).optional(), -}); - -/** @internal */ -export type DeleteTeamRequestBody$Outbound = { - reasons?: Array | undefined; -}; - -/** @internal */ -export const DeleteTeamRequestBody$outboundSchema: z.ZodType< - DeleteTeamRequestBody$Outbound, - z.ZodTypeDef, - DeleteTeamRequestBody -> = z.object({ - reasons: z.array(z.lazy(() => Reasons$outboundSchema)).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteTeamRequestBody$ { - /** @deprecated use `DeleteTeamRequestBody$inboundSchema` instead. */ - export const inboundSchema = DeleteTeamRequestBody$inboundSchema; - /** @deprecated use `DeleteTeamRequestBody$outboundSchema` instead. */ - export const outboundSchema = DeleteTeamRequestBody$outboundSchema; - /** @deprecated use `DeleteTeamRequestBody$Outbound` instead. */ - export type Outbound = DeleteTeamRequestBody$Outbound; -} - -export function deleteTeamRequestBodyToJSON( - deleteTeamRequestBody: DeleteTeamRequestBody, -): string { - return JSON.stringify( - DeleteTeamRequestBody$outboundSchema.parse(deleteTeamRequestBody), - ); -} - -export function deleteTeamRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteTeamRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteTeamRequestBody' from JSON`, - ); -} - -/** @internal */ -export const DeleteTeamRequest$inboundSchema: z.ZodType< - DeleteTeamRequest, - z.ZodTypeDef, - unknown -> = z.object({ - newDefaultTeamId: z.string().optional(), - teamId: z.string(), - slug: z.string().optional(), - RequestBody: z.lazy(() => DeleteTeamRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type DeleteTeamRequest$Outbound = { - newDefaultTeamId?: string | undefined; - teamId: string; - slug?: string | undefined; - RequestBody?: DeleteTeamRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const DeleteTeamRequest$outboundSchema: z.ZodType< - DeleteTeamRequest$Outbound, - z.ZodTypeDef, - DeleteTeamRequest -> = z.object({ - newDefaultTeamId: z.string().optional(), - teamId: z.string(), - slug: z.string().optional(), - requestBody: z.lazy(() => DeleteTeamRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteTeamRequest$ { - /** @deprecated use `DeleteTeamRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteTeamRequest$inboundSchema; - /** @deprecated use `DeleteTeamRequest$outboundSchema` instead. */ - export const outboundSchema = DeleteTeamRequest$outboundSchema; - /** @deprecated use `DeleteTeamRequest$Outbound` instead. */ - export type Outbound = DeleteTeamRequest$Outbound; -} - -export function deleteTeamRequestToJSON( - deleteTeamRequest: DeleteTeamRequest, -): string { - return JSON.stringify( - DeleteTeamRequest$outboundSchema.parse(deleteTeamRequest), - ); -} - -export function deleteTeamRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteTeamRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteTeamRequest' from JSON`, - ); -} - -/** @internal */ -export const DeleteTeamResponseBody$inboundSchema: z.ZodType< - DeleteTeamResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - newDefaultTeamIdError: z.boolean().optional(), -}); - -/** @internal */ -export type DeleteTeamResponseBody$Outbound = { - id: string; - newDefaultTeamIdError?: boolean | undefined; -}; - -/** @internal */ -export const DeleteTeamResponseBody$outboundSchema: z.ZodType< - DeleteTeamResponseBody$Outbound, - z.ZodTypeDef, - DeleteTeamResponseBody -> = z.object({ - id: z.string(), - newDefaultTeamIdError: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteTeamResponseBody$ { - /** @deprecated use `DeleteTeamResponseBody$inboundSchema` instead. */ - export const inboundSchema = DeleteTeamResponseBody$inboundSchema; - /** @deprecated use `DeleteTeamResponseBody$outboundSchema` instead. */ - export const outboundSchema = DeleteTeamResponseBody$outboundSchema; - /** @deprecated use `DeleteTeamResponseBody$Outbound` instead. */ - export type Outbound = DeleteTeamResponseBody$Outbound; -} - -export function deleteTeamResponseBodyToJSON( - deleteTeamResponseBody: DeleteTeamResponseBody, -): string { - return JSON.stringify( - DeleteTeamResponseBody$outboundSchema.parse(deleteTeamResponseBody), - ); -} - -export function deleteTeamResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteTeamResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteTeamResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/deleteteaminvitecode.ts b/src/models/operations/deleteteaminvitecode.ts deleted file mode 100644 index 40927baf..00000000 --- a/src/models/operations/deleteteaminvitecode.ts +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type DeleteTeamInviteCodeRequest = { - /** - * The Team invite code ID. - */ - inviteId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId: string; -}; - -/** - * Successfully deleted Team invite code. - */ -export type DeleteTeamInviteCodeResponseBody = { - /** - * ID of the team. - */ - id: string; -}; - -/** @internal */ -export const DeleteTeamInviteCodeRequest$inboundSchema: z.ZodType< - DeleteTeamInviteCodeRequest, - z.ZodTypeDef, - unknown -> = z.object({ - inviteId: z.string(), - teamId: z.string(), -}); - -/** @internal */ -export type DeleteTeamInviteCodeRequest$Outbound = { - inviteId: string; - teamId: string; -}; - -/** @internal */ -export const DeleteTeamInviteCodeRequest$outboundSchema: z.ZodType< - DeleteTeamInviteCodeRequest$Outbound, - z.ZodTypeDef, - DeleteTeamInviteCodeRequest -> = z.object({ - inviteId: z.string(), - teamId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteTeamInviteCodeRequest$ { - /** @deprecated use `DeleteTeamInviteCodeRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteTeamInviteCodeRequest$inboundSchema; - /** @deprecated use `DeleteTeamInviteCodeRequest$outboundSchema` instead. */ - export const outboundSchema = DeleteTeamInviteCodeRequest$outboundSchema; - /** @deprecated use `DeleteTeamInviteCodeRequest$Outbound` instead. */ - export type Outbound = DeleteTeamInviteCodeRequest$Outbound; -} - -export function deleteTeamInviteCodeRequestToJSON( - deleteTeamInviteCodeRequest: DeleteTeamInviteCodeRequest, -): string { - return JSON.stringify( - DeleteTeamInviteCodeRequest$outboundSchema.parse( - deleteTeamInviteCodeRequest, - ), - ); -} - -export function deleteTeamInviteCodeRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteTeamInviteCodeRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteTeamInviteCodeRequest' from JSON`, - ); -} - -/** @internal */ -export const DeleteTeamInviteCodeResponseBody$inboundSchema: z.ZodType< - DeleteTeamInviteCodeResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); - -/** @internal */ -export type DeleteTeamInviteCodeResponseBody$Outbound = { - id: string; -}; - -/** @internal */ -export const DeleteTeamInviteCodeResponseBody$outboundSchema: z.ZodType< - DeleteTeamInviteCodeResponseBody$Outbound, - z.ZodTypeDef, - DeleteTeamInviteCodeResponseBody -> = z.object({ - id: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteTeamInviteCodeResponseBody$ { - /** @deprecated use `DeleteTeamInviteCodeResponseBody$inboundSchema` instead. */ - export const inboundSchema = DeleteTeamInviteCodeResponseBody$inboundSchema; - /** @deprecated use `DeleteTeamInviteCodeResponseBody$outboundSchema` instead. */ - export const outboundSchema = DeleteTeamInviteCodeResponseBody$outboundSchema; - /** @deprecated use `DeleteTeamInviteCodeResponseBody$Outbound` instead. */ - export type Outbound = DeleteTeamInviteCodeResponseBody$Outbound; -} - -export function deleteTeamInviteCodeResponseBodyToJSON( - deleteTeamInviteCodeResponseBody: DeleteTeamInviteCodeResponseBody, -): string { - return JSON.stringify( - DeleteTeamInviteCodeResponseBody$outboundSchema.parse( - deleteTeamInviteCodeResponseBody, - ), - ); -} - -export function deleteTeamInviteCodeResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteTeamInviteCodeResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteTeamInviteCodeResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/deletewebhook.ts b/src/models/operations/deletewebhook.ts deleted file mode 100644 index a7b0d78c..00000000 --- a/src/models/operations/deletewebhook.ts +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type DeleteWebhookRequest = { - id: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteWebhookRequest$inboundSchema: z.ZodType< - DeleteWebhookRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type DeleteWebhookRequest$Outbound = { - id: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const DeleteWebhookRequest$outboundSchema: z.ZodType< - DeleteWebhookRequest$Outbound, - z.ZodTypeDef, - DeleteWebhookRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteWebhookRequest$ { - /** @deprecated use `DeleteWebhookRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteWebhookRequest$inboundSchema; - /** @deprecated use `DeleteWebhookRequest$outboundSchema` instead. */ - export const outboundSchema = DeleteWebhookRequest$outboundSchema; - /** @deprecated use `DeleteWebhookRequest$Outbound` instead. */ - export type Outbound = DeleteWebhookRequest$Outbound; -} - -export function deleteWebhookRequestToJSON( - deleteWebhookRequest: DeleteWebhookRequest, -): string { - return JSON.stringify( - DeleteWebhookRequest$outboundSchema.parse(deleteWebhookRequest), - ); -} - -export function deleteWebhookRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteWebhookRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteWebhookRequest' from JSON`, - ); -} diff --git a/src/models/operations/downloadartifact.ts b/src/models/operations/downloadartifact.ts deleted file mode 100644 index 6bf2cfa6..00000000 --- a/src/models/operations/downloadartifact.ts +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type DownloadArtifactRequest = { - /** - * The continuous integration or delivery environment where this artifact is downloaded. - */ - xArtifactClientCi?: string | undefined; - /** - * 1 if the client is an interactive shell. Otherwise 0 - */ - xArtifactClientInteractive?: number | undefined; - /** - * The artifact hash - */ - hash: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const DownloadArtifactRequest$inboundSchema: z.ZodType< - DownloadArtifactRequest, - z.ZodTypeDef, - unknown -> = z.object({ - "x-artifact-client-ci": z.string().optional(), - "x-artifact-client-interactive": z.number().int().optional(), - hash: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}).transform((v) => { - return remap$(v, { - "x-artifact-client-ci": "xArtifactClientCi", - "x-artifact-client-interactive": "xArtifactClientInteractive", - }); -}); - -/** @internal */ -export type DownloadArtifactRequest$Outbound = { - "x-artifact-client-ci"?: string | undefined; - "x-artifact-client-interactive"?: number | undefined; - hash: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const DownloadArtifactRequest$outboundSchema: z.ZodType< - DownloadArtifactRequest$Outbound, - z.ZodTypeDef, - DownloadArtifactRequest -> = z.object({ - xArtifactClientCi: z.string().optional(), - xArtifactClientInteractive: z.number().int().optional(), - hash: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}).transform((v) => { - return remap$(v, { - xArtifactClientCi: "x-artifact-client-ci", - xArtifactClientInteractive: "x-artifact-client-interactive", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DownloadArtifactRequest$ { - /** @deprecated use `DownloadArtifactRequest$inboundSchema` instead. */ - export const inboundSchema = DownloadArtifactRequest$inboundSchema; - /** @deprecated use `DownloadArtifactRequest$outboundSchema` instead. */ - export const outboundSchema = DownloadArtifactRequest$outboundSchema; - /** @deprecated use `DownloadArtifactRequest$Outbound` instead. */ - export type Outbound = DownloadArtifactRequest$Outbound; -} - -export function downloadArtifactRequestToJSON( - downloadArtifactRequest: DownloadArtifactRequest, -): string { - return JSON.stringify( - DownloadArtifactRequest$outboundSchema.parse(downloadArtifactRequest), - ); -} - -export function downloadArtifactRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DownloadArtifactRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DownloadArtifactRequest' from JSON`, - ); -} diff --git a/src/models/operations/editprojectenv.ts b/src/models/operations/editprojectenv.ts deleted file mode 100644 index 0afd4deb..00000000 --- a/src/models/operations/editprojectenv.ts +++ /dev/null @@ -1,2461 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export const EditProjectEnvTarget = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type EditProjectEnvTarget = ClosedEnum; - -/** - * The type of environment variable - */ -export const EditProjectEnvType = { - System: "system", - Secret: "secret", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", -} as const; -/** - * The type of environment variable - */ -export type EditProjectEnvType = ClosedEnum; - -export type EditProjectEnvRequestBody = { - /** - * The name of the environment variable - */ - key?: string | undefined; - /** - * The target environment of the environment variable - */ - target?: Array | undefined; - /** - * If defined, the git branch of the environment variable (must have target=preview) - */ - gitBranch?: string | null | undefined; - /** - * The type of environment variable - */ - type?: EditProjectEnvType | undefined; - /** - * The value of the environment variable - */ - value?: string | undefined; - customEnvironmentIds?: Array | undefined; - /** - * A comment to add context on what this env var is for - */ - comment?: string | undefined; -}; - -export type EditProjectEnvRequest = { - /** - * The unique project identifier or the project name - */ - idOrName: string; - /** - * The unique environment variable identifier - */ - id: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: EditProjectEnvRequestBody | undefined; -}; - -export type EditProjectEnvResponseBody2 = {}; - -export const EditProjectEnvTarget2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type EditProjectEnvTarget2 = ClosedEnum; - -export type EditProjectEnvResponseBodyTarget = - | Array - | EditProjectEnvTarget2; - -export const EditProjectEnvResponseBodyType = { - System: "system", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", - Secret: "secret", -} as const; -export type EditProjectEnvResponseBodyType = ClosedEnum< - typeof EditProjectEnvResponseBodyType ->; - -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type = - { - FlagsConnectionString: "flags-connection-string", - } as const; -export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type = - ClosedEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type - >; - -export type EditProjectEnvContentHint15 = { - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type; - projectId: string; -}; - -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type = - { - IntegrationStoreSecret: "integration-store-secret", - } as const; -export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type = - ClosedEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type - >; - -export type EditProjectEnvContentHint14 = { - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type = - { - PostgresUrlNoSsl: "postgres-url-no-ssl", - } as const; -export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type = - ClosedEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type - >; - -export type EditProjectEnvContentHint13 = { - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type; - storeId: string; -}; - -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type = - { - PostgresDatabase: "postgres-database", - } as const; -export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type = - ClosedEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type - >; - -export type EditProjectEnvContentHint12 = { - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type; - storeId: string; -}; - -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type = - { - PostgresPassword: "postgres-password", - } as const; -export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type = - ClosedEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type - >; - -export type EditProjectEnvContentHint11 = { - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type; - storeId: string; -}; - -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type = - { - PostgresHost: "postgres-host", - } as const; -export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type = - ClosedEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type - >; - -export type EditProjectEnvContentHint10 = { - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type; - storeId: string; -}; - -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type = - { - PostgresUser: "postgres-user", - } as const; -export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type = - ClosedEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type - >; - -export type EditProjectEnvContentHint9 = { - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type; - storeId: string; -}; - -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type = - { - PostgresPrismaUrl: "postgres-prisma-url", - } as const; -export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type = - ClosedEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type - >; - -export type EditProjectEnvContentHint8 = { - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type; - storeId: string; -}; - -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type = - { - PostgresUrlNonPooling: "postgres-url-non-pooling", - } as const; -export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type = - ClosedEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type - >; - -export type EditProjectEnvContentHint7 = { - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type; - storeId: string; -}; - -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType = - { - PostgresUrl: "postgres-url", - } as const; -export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType = - ClosedEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType - >; - -export type EditProjectEnvContentHint6 = { - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType; - storeId: string; -}; - -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONType = { - BlobReadWriteToken: "blob-read-write-token", -} as const; -export type EditProjectEnvContentHintProjectsResponse200ApplicationJSONType = - ClosedEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONType - >; - -export type EditProjectEnvContentHint5 = { - type: EditProjectEnvContentHintProjectsResponse200ApplicationJSONType; - storeId: string; -}; - -export const EditProjectEnvContentHintProjectsResponse200Type = { - RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", -} as const; -export type EditProjectEnvContentHintProjectsResponse200Type = ClosedEnum< - typeof EditProjectEnvContentHintProjectsResponse200Type ->; - -export type EditProjectEnvContentHint4 = { - type: EditProjectEnvContentHintProjectsResponse200Type; - storeId: string; -}; - -export const EditProjectEnvContentHintProjectsResponseType = { - RedisRestApiToken: "redis-rest-api-token", -} as const; -export type EditProjectEnvContentHintProjectsResponseType = ClosedEnum< - typeof EditProjectEnvContentHintProjectsResponseType ->; - -export type EditProjectEnvContentHint3 = { - type: EditProjectEnvContentHintProjectsResponseType; - storeId: string; -}; - -export const EditProjectEnvContentHintProjectsType = { - RedisRestApiUrl: "redis-rest-api-url", -} as const; -export type EditProjectEnvContentHintProjectsType = ClosedEnum< - typeof EditProjectEnvContentHintProjectsType ->; - -export type EditProjectEnvContentHint2 = { - type: EditProjectEnvContentHintProjectsType; - storeId: string; -}; - -export const EditProjectEnvContentHintType = { - RedisUrl: "redis-url", -} as const; -export type EditProjectEnvContentHintType = ClosedEnum< - typeof EditProjectEnvContentHintType ->; - -export type EditProjectEnvContentHint1 = { - type: EditProjectEnvContentHintType; - storeId: string; -}; - -export type EditProjectEnvResponseBodyContentHint = - | EditProjectEnvContentHint1 - | EditProjectEnvContentHint2 - | EditProjectEnvContentHint3 - | EditProjectEnvContentHint4 - | EditProjectEnvContentHint5 - | EditProjectEnvContentHint6 - | EditProjectEnvContentHint7 - | EditProjectEnvContentHint8 - | EditProjectEnvContentHint9 - | EditProjectEnvContentHint10 - | EditProjectEnvContentHint11 - | EditProjectEnvContentHint12 - | EditProjectEnvContentHint13 - | EditProjectEnvContentHint15 - | EditProjectEnvContentHint14; - -export const EditProjectEnvResponseBodyProjectsType = { - FlagsSecret: "flags-secret", -} as const; -export type EditProjectEnvResponseBodyProjectsType = ClosedEnum< - typeof EditProjectEnvResponseBodyProjectsType ->; - -/** - * Similar to `contentHints`, but should not be exposed to the user. - */ -export type EditProjectEnvResponseBodyInternalContentHint = { - type: EditProjectEnvResponseBodyProjectsType; - /** - * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. - */ - encryptedValue: string; -}; - -export type EditProjectEnvResponseBody1 = { - target?: Array | EditProjectEnvTarget2 | undefined; - type: EditProjectEnvResponseBodyType; - /** - * This is used to identiy variables that have been migrated from type secret to sensitive. - */ - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | EditProjectEnvContentHint1 - | EditProjectEnvContentHint2 - | EditProjectEnvContentHint3 - | EditProjectEnvContentHint4 - | EditProjectEnvContentHint5 - | EditProjectEnvContentHint6 - | EditProjectEnvContentHint7 - | EditProjectEnvContentHint8 - | EditProjectEnvContentHint9 - | EditProjectEnvContentHint10 - | EditProjectEnvContentHint11 - | EditProjectEnvContentHint12 - | EditProjectEnvContentHint13 - | EditProjectEnvContentHint15 - | EditProjectEnvContentHint14 - | null - | undefined; - /** - * Similar to `contentHints`, but should not be exposed to the user. - */ - internalContentHint?: - | EditProjectEnvResponseBodyInternalContentHint - | null - | undefined; - /** - * Whether `value` and `vsmValue` are decrypted. - */ - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; -}; - -/** - * The environment variable was successfully edited - */ -export type EditProjectEnvResponseBody = - | EditProjectEnvResponseBody2 - | EditProjectEnvResponseBody1; - -/** @internal */ -export const EditProjectEnvTarget$inboundSchema: z.ZodNativeEnum< - typeof EditProjectEnvTarget -> = z.nativeEnum(EditProjectEnvTarget); - -/** @internal */ -export const EditProjectEnvTarget$outboundSchema: z.ZodNativeEnum< - typeof EditProjectEnvTarget -> = EditProjectEnvTarget$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvTarget$ { - /** @deprecated use `EditProjectEnvTarget$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvTarget$inboundSchema; - /** @deprecated use `EditProjectEnvTarget$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvTarget$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvType$inboundSchema: z.ZodNativeEnum< - typeof EditProjectEnvType -> = z.nativeEnum(EditProjectEnvType); - -/** @internal */ -export const EditProjectEnvType$outboundSchema: z.ZodNativeEnum< - typeof EditProjectEnvType -> = EditProjectEnvType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvType$ { - /** @deprecated use `EditProjectEnvType$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvType$inboundSchema; - /** @deprecated use `EditProjectEnvType$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvType$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvRequestBody$inboundSchema: z.ZodType< - EditProjectEnvRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - key: z.string().optional(), - target: z.array(EditProjectEnvTarget$inboundSchema).optional(), - gitBranch: z.nullable(z.string()).optional(), - type: EditProjectEnvType$inboundSchema.optional(), - value: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - comment: z.string().optional(), -}); - -/** @internal */ -export type EditProjectEnvRequestBody$Outbound = { - key?: string | undefined; - target?: Array | undefined; - gitBranch?: string | null | undefined; - type?: string | undefined; - value?: string | undefined; - customEnvironmentIds?: Array | undefined; - comment?: string | undefined; -}; - -/** @internal */ -export const EditProjectEnvRequestBody$outboundSchema: z.ZodType< - EditProjectEnvRequestBody$Outbound, - z.ZodTypeDef, - EditProjectEnvRequestBody -> = z.object({ - key: z.string().optional(), - target: z.array(EditProjectEnvTarget$outboundSchema).optional(), - gitBranch: z.nullable(z.string()).optional(), - type: EditProjectEnvType$outboundSchema.optional(), - value: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - comment: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvRequestBody$ { - /** @deprecated use `EditProjectEnvRequestBody$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvRequestBody$inboundSchema; - /** @deprecated use `EditProjectEnvRequestBody$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvRequestBody$outboundSchema; - /** @deprecated use `EditProjectEnvRequestBody$Outbound` instead. */ - export type Outbound = EditProjectEnvRequestBody$Outbound; -} - -export function editProjectEnvRequestBodyToJSON( - editProjectEnvRequestBody: EditProjectEnvRequestBody, -): string { - return JSON.stringify( - EditProjectEnvRequestBody$outboundSchema.parse(editProjectEnvRequestBody), - ); -} - -export function editProjectEnvRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvRequestBody' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvRequest$inboundSchema: z.ZodType< - EditProjectEnvRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => EditProjectEnvRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type EditProjectEnvRequest$Outbound = { - idOrName: string; - id: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: EditProjectEnvRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const EditProjectEnvRequest$outboundSchema: z.ZodType< - EditProjectEnvRequest$Outbound, - z.ZodTypeDef, - EditProjectEnvRequest -> = z.object({ - idOrName: z.string(), - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => EditProjectEnvRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvRequest$ { - /** @deprecated use `EditProjectEnvRequest$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvRequest$inboundSchema; - /** @deprecated use `EditProjectEnvRequest$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvRequest$outboundSchema; - /** @deprecated use `EditProjectEnvRequest$Outbound` instead. */ - export type Outbound = EditProjectEnvRequest$Outbound; -} - -export function editProjectEnvRequestToJSON( - editProjectEnvRequest: EditProjectEnvRequest, -): string { - return JSON.stringify( - EditProjectEnvRequest$outboundSchema.parse(editProjectEnvRequest), - ); -} - -export function editProjectEnvRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvRequest' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvResponseBody2$inboundSchema: z.ZodType< - EditProjectEnvResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type EditProjectEnvResponseBody2$Outbound = {}; - -/** @internal */ -export const EditProjectEnvResponseBody2$outboundSchema: z.ZodType< - EditProjectEnvResponseBody2$Outbound, - z.ZodTypeDef, - EditProjectEnvResponseBody2 -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvResponseBody2$ { - /** @deprecated use `EditProjectEnvResponseBody2$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvResponseBody2$inboundSchema; - /** @deprecated use `EditProjectEnvResponseBody2$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvResponseBody2$outboundSchema; - /** @deprecated use `EditProjectEnvResponseBody2$Outbound` instead. */ - export type Outbound = EditProjectEnvResponseBody2$Outbound; -} - -export function editProjectEnvResponseBody2ToJSON( - editProjectEnvResponseBody2: EditProjectEnvResponseBody2, -): string { - return JSON.stringify( - EditProjectEnvResponseBody2$outboundSchema.parse( - editProjectEnvResponseBody2, - ), - ); -} - -export function editProjectEnvResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvTarget2$inboundSchema: z.ZodNativeEnum< - typeof EditProjectEnvTarget2 -> = z.nativeEnum(EditProjectEnvTarget2); - -/** @internal */ -export const EditProjectEnvTarget2$outboundSchema: z.ZodNativeEnum< - typeof EditProjectEnvTarget2 -> = EditProjectEnvTarget2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvTarget2$ { - /** @deprecated use `EditProjectEnvTarget2$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvTarget2$inboundSchema; - /** @deprecated use `EditProjectEnvTarget2$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvTarget2$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvResponseBodyTarget$inboundSchema: z.ZodType< - EditProjectEnvResponseBodyTarget, - z.ZodTypeDef, - unknown -> = z.union([z.array(z.string()), EditProjectEnvTarget2$inboundSchema]); - -/** @internal */ -export type EditProjectEnvResponseBodyTarget$Outbound = Array | string; - -/** @internal */ -export const EditProjectEnvResponseBodyTarget$outboundSchema: z.ZodType< - EditProjectEnvResponseBodyTarget$Outbound, - z.ZodTypeDef, - EditProjectEnvResponseBodyTarget -> = z.union([z.array(z.string()), EditProjectEnvTarget2$outboundSchema]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvResponseBodyTarget$ { - /** @deprecated use `EditProjectEnvResponseBodyTarget$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvResponseBodyTarget$inboundSchema; - /** @deprecated use `EditProjectEnvResponseBodyTarget$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvResponseBodyTarget$outboundSchema; - /** @deprecated use `EditProjectEnvResponseBodyTarget$Outbound` instead. */ - export type Outbound = EditProjectEnvResponseBodyTarget$Outbound; -} - -export function editProjectEnvResponseBodyTargetToJSON( - editProjectEnvResponseBodyTarget: EditProjectEnvResponseBodyTarget, -): string { - return JSON.stringify( - EditProjectEnvResponseBodyTarget$outboundSchema.parse( - editProjectEnvResponseBodyTarget, - ), - ); -} - -export function editProjectEnvResponseBodyTargetFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvResponseBodyTarget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvResponseBodyTarget' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvResponseBodyType$inboundSchema: z.ZodNativeEnum< - typeof EditProjectEnvResponseBodyType -> = z.nativeEnum(EditProjectEnvResponseBodyType); - -/** @internal */ -export const EditProjectEnvResponseBodyType$outboundSchema: z.ZodNativeEnum< - typeof EditProjectEnvResponseBodyType -> = EditProjectEnvResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvResponseBodyType$ { - /** @deprecated use `EditProjectEnvResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvResponseBodyType$inboundSchema; - /** @deprecated use `EditProjectEnvResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvResponseBodyType$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type - > = z.nativeEnum( - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type, - ); - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type - > = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$ { - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema; - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvContentHint15$inboundSchema: z.ZodType< - EditProjectEnvContentHint15, - z.ZodTypeDef, - unknown -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema, - projectId: z.string(), -}); - -/** @internal */ -export type EditProjectEnvContentHint15$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const EditProjectEnvContentHint15$outboundSchema: z.ZodType< - EditProjectEnvContentHint15$Outbound, - z.ZodTypeDef, - EditProjectEnvContentHint15 -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHint15$ { - /** @deprecated use `EditProjectEnvContentHint15$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvContentHint15$inboundSchema; - /** @deprecated use `EditProjectEnvContentHint15$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvContentHint15$outboundSchema; - /** @deprecated use `EditProjectEnvContentHint15$Outbound` instead. */ - export type Outbound = EditProjectEnvContentHint15$Outbound; -} - -export function editProjectEnvContentHint15ToJSON( - editProjectEnvContentHint15: EditProjectEnvContentHint15, -): string { - return JSON.stringify( - EditProjectEnvContentHint15$outboundSchema.parse( - editProjectEnvContentHint15, - ), - ); -} - -export function editProjectEnvContentHint15FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvContentHint15$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvContentHint15' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type - > = z.nativeEnum( - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type, - ); - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type - > = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$ { - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema; - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvContentHint14$inboundSchema: z.ZodType< - EditProjectEnvContentHint14, - z.ZodTypeDef, - unknown -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** @internal */ -export type EditProjectEnvContentHint14$Outbound = { - type: string; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -/** @internal */ -export const EditProjectEnvContentHint14$outboundSchema: z.ZodType< - EditProjectEnvContentHint14$Outbound, - z.ZodTypeDef, - EditProjectEnvContentHint14 -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHint14$ { - /** @deprecated use `EditProjectEnvContentHint14$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvContentHint14$inboundSchema; - /** @deprecated use `EditProjectEnvContentHint14$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvContentHint14$outboundSchema; - /** @deprecated use `EditProjectEnvContentHint14$Outbound` instead. */ - export type Outbound = EditProjectEnvContentHint14$Outbound; -} - -export function editProjectEnvContentHint14ToJSON( - editProjectEnvContentHint14: EditProjectEnvContentHint14, -): string { - return JSON.stringify( - EditProjectEnvContentHint14$outboundSchema.parse( - editProjectEnvContentHint14, - ), - ); -} - -export function editProjectEnvContentHint14FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvContentHint14$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvContentHint14' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type - > = z.nativeEnum( - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type, - ); - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type - > = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$ { - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema; - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvContentHint13$inboundSchema: z.ZodType< - EditProjectEnvContentHint13, - z.ZodTypeDef, - unknown -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type EditProjectEnvContentHint13$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const EditProjectEnvContentHint13$outboundSchema: z.ZodType< - EditProjectEnvContentHint13$Outbound, - z.ZodTypeDef, - EditProjectEnvContentHint13 -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHint13$ { - /** @deprecated use `EditProjectEnvContentHint13$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvContentHint13$inboundSchema; - /** @deprecated use `EditProjectEnvContentHint13$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvContentHint13$outboundSchema; - /** @deprecated use `EditProjectEnvContentHint13$Outbound` instead. */ - export type Outbound = EditProjectEnvContentHint13$Outbound; -} - -export function editProjectEnvContentHint13ToJSON( - editProjectEnvContentHint13: EditProjectEnvContentHint13, -): string { - return JSON.stringify( - EditProjectEnvContentHint13$outboundSchema.parse( - editProjectEnvContentHint13, - ), - ); -} - -export function editProjectEnvContentHint13FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvContentHint13$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvContentHint13' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type - > = z.nativeEnum( - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type, - ); - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type - > = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$ { - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema; - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvContentHint12$inboundSchema: z.ZodType< - EditProjectEnvContentHint12, - z.ZodTypeDef, - unknown -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type EditProjectEnvContentHint12$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const EditProjectEnvContentHint12$outboundSchema: z.ZodType< - EditProjectEnvContentHint12$Outbound, - z.ZodTypeDef, - EditProjectEnvContentHint12 -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHint12$ { - /** @deprecated use `EditProjectEnvContentHint12$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvContentHint12$inboundSchema; - /** @deprecated use `EditProjectEnvContentHint12$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvContentHint12$outboundSchema; - /** @deprecated use `EditProjectEnvContentHint12$Outbound` instead. */ - export type Outbound = EditProjectEnvContentHint12$Outbound; -} - -export function editProjectEnvContentHint12ToJSON( - editProjectEnvContentHint12: EditProjectEnvContentHint12, -): string { - return JSON.stringify( - EditProjectEnvContentHint12$outboundSchema.parse( - editProjectEnvContentHint12, - ), - ); -} - -export function editProjectEnvContentHint12FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvContentHint12$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvContentHint12' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type - > = z.nativeEnum( - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type, - ); - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type - > = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$ { - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema; - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvContentHint11$inboundSchema: z.ZodType< - EditProjectEnvContentHint11, - z.ZodTypeDef, - unknown -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type EditProjectEnvContentHint11$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const EditProjectEnvContentHint11$outboundSchema: z.ZodType< - EditProjectEnvContentHint11$Outbound, - z.ZodTypeDef, - EditProjectEnvContentHint11 -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHint11$ { - /** @deprecated use `EditProjectEnvContentHint11$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvContentHint11$inboundSchema; - /** @deprecated use `EditProjectEnvContentHint11$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvContentHint11$outboundSchema; - /** @deprecated use `EditProjectEnvContentHint11$Outbound` instead. */ - export type Outbound = EditProjectEnvContentHint11$Outbound; -} - -export function editProjectEnvContentHint11ToJSON( - editProjectEnvContentHint11: EditProjectEnvContentHint11, -): string { - return JSON.stringify( - EditProjectEnvContentHint11$outboundSchema.parse( - editProjectEnvContentHint11, - ), - ); -} - -export function editProjectEnvContentHint11FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvContentHint11$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvContentHint11' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type - > = z.nativeEnum( - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type, - ); - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type - > = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$ { - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema; - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvContentHint10$inboundSchema: z.ZodType< - EditProjectEnvContentHint10, - z.ZodTypeDef, - unknown -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type EditProjectEnvContentHint10$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const EditProjectEnvContentHint10$outboundSchema: z.ZodType< - EditProjectEnvContentHint10$Outbound, - z.ZodTypeDef, - EditProjectEnvContentHint10 -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHint10$ { - /** @deprecated use `EditProjectEnvContentHint10$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvContentHint10$inboundSchema; - /** @deprecated use `EditProjectEnvContentHint10$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvContentHint10$outboundSchema; - /** @deprecated use `EditProjectEnvContentHint10$Outbound` instead. */ - export type Outbound = EditProjectEnvContentHint10$Outbound; -} - -export function editProjectEnvContentHint10ToJSON( - editProjectEnvContentHint10: EditProjectEnvContentHint10, -): string { - return JSON.stringify( - EditProjectEnvContentHint10$outboundSchema.parse( - editProjectEnvContentHint10, - ), - ); -} - -export function editProjectEnvContentHint10FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvContentHint10$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvContentHint10' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type - > = z.nativeEnum( - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type, - ); - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type - > = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$ { - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema; - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvContentHint9$inboundSchema: z.ZodType< - EditProjectEnvContentHint9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type EditProjectEnvContentHint9$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const EditProjectEnvContentHint9$outboundSchema: z.ZodType< - EditProjectEnvContentHint9$Outbound, - z.ZodTypeDef, - EditProjectEnvContentHint9 -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHint9$ { - /** @deprecated use `EditProjectEnvContentHint9$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvContentHint9$inboundSchema; - /** @deprecated use `EditProjectEnvContentHint9$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvContentHint9$outboundSchema; - /** @deprecated use `EditProjectEnvContentHint9$Outbound` instead. */ - export type Outbound = EditProjectEnvContentHint9$Outbound; -} - -export function editProjectEnvContentHint9ToJSON( - editProjectEnvContentHint9: EditProjectEnvContentHint9, -): string { - return JSON.stringify( - EditProjectEnvContentHint9$outboundSchema.parse(editProjectEnvContentHint9), - ); -} - -export function editProjectEnvContentHint9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvContentHint9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvContentHint9' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type - > = z.nativeEnum( - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type, - ); - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type - > = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$ { - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema; - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvContentHint8$inboundSchema: z.ZodType< - EditProjectEnvContentHint8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type EditProjectEnvContentHint8$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const EditProjectEnvContentHint8$outboundSchema: z.ZodType< - EditProjectEnvContentHint8$Outbound, - z.ZodTypeDef, - EditProjectEnvContentHint8 -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHint8$ { - /** @deprecated use `EditProjectEnvContentHint8$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvContentHint8$inboundSchema; - /** @deprecated use `EditProjectEnvContentHint8$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvContentHint8$outboundSchema; - /** @deprecated use `EditProjectEnvContentHint8$Outbound` instead. */ - export type Outbound = EditProjectEnvContentHint8$Outbound; -} - -export function editProjectEnvContentHint8ToJSON( - editProjectEnvContentHint8: EditProjectEnvContentHint8, -): string { - return JSON.stringify( - EditProjectEnvContentHint8$outboundSchema.parse(editProjectEnvContentHint8), - ); -} - -export function editProjectEnvContentHint8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvContentHint8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvContentHint8' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type - > = z.nativeEnum( - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type, - ); - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type - > = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$ { - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema; - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvContentHint7$inboundSchema: z.ZodType< - EditProjectEnvContentHint7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type EditProjectEnvContentHint7$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const EditProjectEnvContentHint7$outboundSchema: z.ZodType< - EditProjectEnvContentHint7$Outbound, - z.ZodTypeDef, - EditProjectEnvContentHint7 -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHint7$ { - /** @deprecated use `EditProjectEnvContentHint7$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvContentHint7$inboundSchema; - /** @deprecated use `EditProjectEnvContentHint7$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvContentHint7$outboundSchema; - /** @deprecated use `EditProjectEnvContentHint7$Outbound` instead. */ - export type Outbound = EditProjectEnvContentHint7$Outbound; -} - -export function editProjectEnvContentHint7ToJSON( - editProjectEnvContentHint7: EditProjectEnvContentHint7, -): string { - return JSON.stringify( - EditProjectEnvContentHint7$outboundSchema.parse(editProjectEnvContentHint7), - ); -} - -export function editProjectEnvContentHint7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvContentHint7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvContentHint7' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType, - ); - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType - > = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvContentHint6$inboundSchema: z.ZodType< - EditProjectEnvContentHint6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type EditProjectEnvContentHint6$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const EditProjectEnvContentHint6$outboundSchema: z.ZodType< - EditProjectEnvContentHint6$Outbound, - z.ZodTypeDef, - EditProjectEnvContentHint6 -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHint6$ { - /** @deprecated use `EditProjectEnvContentHint6$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvContentHint6$inboundSchema; - /** @deprecated use `EditProjectEnvContentHint6$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvContentHint6$outboundSchema; - /** @deprecated use `EditProjectEnvContentHint6$Outbound` instead. */ - export type Outbound = EditProjectEnvContentHint6$Outbound; -} - -export function editProjectEnvContentHint6ToJSON( - editProjectEnvContentHint6: EditProjectEnvContentHint6, -): string { - return JSON.stringify( - EditProjectEnvContentHint6$outboundSchema.parse(editProjectEnvContentHint6), - ); -} - -export function editProjectEnvContentHint6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvContentHint6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvContentHint6' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONType - > = z.nativeEnum( - EditProjectEnvContentHintProjectsResponse200ApplicationJSONType, - ); - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum< - typeof EditProjectEnvContentHintProjectsResponse200ApplicationJSONType - > = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvContentHint5$inboundSchema: z.ZodType< - EditProjectEnvContentHint5, - z.ZodTypeDef, - unknown -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type EditProjectEnvContentHint5$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const EditProjectEnvContentHint5$outboundSchema: z.ZodType< - EditProjectEnvContentHint5$Outbound, - z.ZodTypeDef, - EditProjectEnvContentHint5 -> = z.object({ - type: - EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHint5$ { - /** @deprecated use `EditProjectEnvContentHint5$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvContentHint5$inboundSchema; - /** @deprecated use `EditProjectEnvContentHint5$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvContentHint5$outboundSchema; - /** @deprecated use `EditProjectEnvContentHint5$Outbound` instead. */ - export type Outbound = EditProjectEnvContentHint5$Outbound; -} - -export function editProjectEnvContentHint5ToJSON( - editProjectEnvContentHint5: EditProjectEnvContentHint5, -): string { - return JSON.stringify( - EditProjectEnvContentHint5$outboundSchema.parse(editProjectEnvContentHint5), - ); -} - -export function editProjectEnvContentHint5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvContentHint5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvContentHint5' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(EditProjectEnvContentHintProjectsResponse200Type); - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponse200Type$outboundSchema: - z.ZodNativeEnum = - EditProjectEnvContentHintProjectsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHintProjectsResponse200Type$ { - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvContentHintProjectsResponse200Type$inboundSchema; - /** @deprecated use `EditProjectEnvContentHintProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvContentHintProjectsResponse200Type$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvContentHint4$inboundSchema: z.ZodType< - EditProjectEnvContentHint4, - z.ZodTypeDef, - unknown -> = z.object({ - type: EditProjectEnvContentHintProjectsResponse200Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type EditProjectEnvContentHint4$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const EditProjectEnvContentHint4$outboundSchema: z.ZodType< - EditProjectEnvContentHint4$Outbound, - z.ZodTypeDef, - EditProjectEnvContentHint4 -> = z.object({ - type: EditProjectEnvContentHintProjectsResponse200Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHint4$ { - /** @deprecated use `EditProjectEnvContentHint4$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvContentHint4$inboundSchema; - /** @deprecated use `EditProjectEnvContentHint4$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvContentHint4$outboundSchema; - /** @deprecated use `EditProjectEnvContentHint4$Outbound` instead. */ - export type Outbound = EditProjectEnvContentHint4$Outbound; -} - -export function editProjectEnvContentHint4ToJSON( - editProjectEnvContentHint4: EditProjectEnvContentHint4, -): string { - return JSON.stringify( - EditProjectEnvContentHint4$outboundSchema.parse(editProjectEnvContentHint4), - ); -} - -export function editProjectEnvContentHint4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvContentHint4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvContentHint4' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(EditProjectEnvContentHintProjectsResponseType); - -/** @internal */ -export const EditProjectEnvContentHintProjectsResponseType$outboundSchema: - z.ZodNativeEnum = - EditProjectEnvContentHintProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHintProjectsResponseType$ { - /** @deprecated use `EditProjectEnvContentHintProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvContentHintProjectsResponseType$inboundSchema; - /** @deprecated use `EditProjectEnvContentHintProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvContentHintProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvContentHint3$inboundSchema: z.ZodType< - EditProjectEnvContentHint3, - z.ZodTypeDef, - unknown -> = z.object({ - type: EditProjectEnvContentHintProjectsResponseType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type EditProjectEnvContentHint3$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const EditProjectEnvContentHint3$outboundSchema: z.ZodType< - EditProjectEnvContentHint3$Outbound, - z.ZodTypeDef, - EditProjectEnvContentHint3 -> = z.object({ - type: EditProjectEnvContentHintProjectsResponseType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHint3$ { - /** @deprecated use `EditProjectEnvContentHint3$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvContentHint3$inboundSchema; - /** @deprecated use `EditProjectEnvContentHint3$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvContentHint3$outboundSchema; - /** @deprecated use `EditProjectEnvContentHint3$Outbound` instead. */ - export type Outbound = EditProjectEnvContentHint3$Outbound; -} - -export function editProjectEnvContentHint3ToJSON( - editProjectEnvContentHint3: EditProjectEnvContentHint3, -): string { - return JSON.stringify( - EditProjectEnvContentHint3$outboundSchema.parse(editProjectEnvContentHint3), - ); -} - -export function editProjectEnvContentHint3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvContentHint3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvContentHint3' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvContentHintProjectsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - EditProjectEnvContentHintProjectsType, - ); - -/** @internal */ -export const EditProjectEnvContentHintProjectsType$outboundSchema: - z.ZodNativeEnum = - EditProjectEnvContentHintProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHintProjectsType$ { - /** @deprecated use `EditProjectEnvContentHintProjectsType$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvContentHintProjectsType$inboundSchema; - /** @deprecated use `EditProjectEnvContentHintProjectsType$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvContentHintProjectsType$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvContentHint2$inboundSchema: z.ZodType< - EditProjectEnvContentHint2, - z.ZodTypeDef, - unknown -> = z.object({ - type: EditProjectEnvContentHintProjectsType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type EditProjectEnvContentHint2$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const EditProjectEnvContentHint2$outboundSchema: z.ZodType< - EditProjectEnvContentHint2$Outbound, - z.ZodTypeDef, - EditProjectEnvContentHint2 -> = z.object({ - type: EditProjectEnvContentHintProjectsType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHint2$ { - /** @deprecated use `EditProjectEnvContentHint2$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvContentHint2$inboundSchema; - /** @deprecated use `EditProjectEnvContentHint2$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvContentHint2$outboundSchema; - /** @deprecated use `EditProjectEnvContentHint2$Outbound` instead. */ - export type Outbound = EditProjectEnvContentHint2$Outbound; -} - -export function editProjectEnvContentHint2ToJSON( - editProjectEnvContentHint2: EditProjectEnvContentHint2, -): string { - return JSON.stringify( - EditProjectEnvContentHint2$outboundSchema.parse(editProjectEnvContentHint2), - ); -} - -export function editProjectEnvContentHint2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvContentHint2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvContentHint2' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvContentHintType$inboundSchema: z.ZodNativeEnum< - typeof EditProjectEnvContentHintType -> = z.nativeEnum(EditProjectEnvContentHintType); - -/** @internal */ -export const EditProjectEnvContentHintType$outboundSchema: z.ZodNativeEnum< - typeof EditProjectEnvContentHintType -> = EditProjectEnvContentHintType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHintType$ { - /** @deprecated use `EditProjectEnvContentHintType$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvContentHintType$inboundSchema; - /** @deprecated use `EditProjectEnvContentHintType$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvContentHintType$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvContentHint1$inboundSchema: z.ZodType< - EditProjectEnvContentHint1, - z.ZodTypeDef, - unknown -> = z.object({ - type: EditProjectEnvContentHintType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type EditProjectEnvContentHint1$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const EditProjectEnvContentHint1$outboundSchema: z.ZodType< - EditProjectEnvContentHint1$Outbound, - z.ZodTypeDef, - EditProjectEnvContentHint1 -> = z.object({ - type: EditProjectEnvContentHintType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvContentHint1$ { - /** @deprecated use `EditProjectEnvContentHint1$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvContentHint1$inboundSchema; - /** @deprecated use `EditProjectEnvContentHint1$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvContentHint1$outboundSchema; - /** @deprecated use `EditProjectEnvContentHint1$Outbound` instead. */ - export type Outbound = EditProjectEnvContentHint1$Outbound; -} - -export function editProjectEnvContentHint1ToJSON( - editProjectEnvContentHint1: EditProjectEnvContentHint1, -): string { - return JSON.stringify( - EditProjectEnvContentHint1$outboundSchema.parse(editProjectEnvContentHint1), - ); -} - -export function editProjectEnvContentHint1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvContentHint1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvContentHint1' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvResponseBodyContentHint$inboundSchema: z.ZodType< - EditProjectEnvResponseBodyContentHint, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => EditProjectEnvContentHint1$inboundSchema), - z.lazy(() => EditProjectEnvContentHint2$inboundSchema), - z.lazy(() => EditProjectEnvContentHint3$inboundSchema), - z.lazy(() => EditProjectEnvContentHint4$inboundSchema), - z.lazy(() => EditProjectEnvContentHint5$inboundSchema), - z.lazy(() => EditProjectEnvContentHint6$inboundSchema), - z.lazy(() => EditProjectEnvContentHint7$inboundSchema), - z.lazy(() => EditProjectEnvContentHint8$inboundSchema), - z.lazy(() => EditProjectEnvContentHint9$inboundSchema), - z.lazy(() => EditProjectEnvContentHint10$inboundSchema), - z.lazy(() => EditProjectEnvContentHint11$inboundSchema), - z.lazy(() => EditProjectEnvContentHint12$inboundSchema), - z.lazy(() => EditProjectEnvContentHint13$inboundSchema), - z.lazy(() => EditProjectEnvContentHint15$inboundSchema), - z.lazy(() => EditProjectEnvContentHint14$inboundSchema), -]); - -/** @internal */ -export type EditProjectEnvResponseBodyContentHint$Outbound = - | EditProjectEnvContentHint1$Outbound - | EditProjectEnvContentHint2$Outbound - | EditProjectEnvContentHint3$Outbound - | EditProjectEnvContentHint4$Outbound - | EditProjectEnvContentHint5$Outbound - | EditProjectEnvContentHint6$Outbound - | EditProjectEnvContentHint7$Outbound - | EditProjectEnvContentHint8$Outbound - | EditProjectEnvContentHint9$Outbound - | EditProjectEnvContentHint10$Outbound - | EditProjectEnvContentHint11$Outbound - | EditProjectEnvContentHint12$Outbound - | EditProjectEnvContentHint13$Outbound - | EditProjectEnvContentHint15$Outbound - | EditProjectEnvContentHint14$Outbound; - -/** @internal */ -export const EditProjectEnvResponseBodyContentHint$outboundSchema: z.ZodType< - EditProjectEnvResponseBodyContentHint$Outbound, - z.ZodTypeDef, - EditProjectEnvResponseBodyContentHint -> = z.union([ - z.lazy(() => EditProjectEnvContentHint1$outboundSchema), - z.lazy(() => EditProjectEnvContentHint2$outboundSchema), - z.lazy(() => EditProjectEnvContentHint3$outboundSchema), - z.lazy(() => EditProjectEnvContentHint4$outboundSchema), - z.lazy(() => EditProjectEnvContentHint5$outboundSchema), - z.lazy(() => EditProjectEnvContentHint6$outboundSchema), - z.lazy(() => EditProjectEnvContentHint7$outboundSchema), - z.lazy(() => EditProjectEnvContentHint8$outboundSchema), - z.lazy(() => EditProjectEnvContentHint9$outboundSchema), - z.lazy(() => EditProjectEnvContentHint10$outboundSchema), - z.lazy(() => EditProjectEnvContentHint11$outboundSchema), - z.lazy(() => EditProjectEnvContentHint12$outboundSchema), - z.lazy(() => EditProjectEnvContentHint13$outboundSchema), - z.lazy(() => EditProjectEnvContentHint15$outboundSchema), - z.lazy(() => EditProjectEnvContentHint14$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvResponseBodyContentHint$ { - /** @deprecated use `EditProjectEnvResponseBodyContentHint$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvResponseBodyContentHint$inboundSchema; - /** @deprecated use `EditProjectEnvResponseBodyContentHint$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvResponseBodyContentHint$outboundSchema; - /** @deprecated use `EditProjectEnvResponseBodyContentHint$Outbound` instead. */ - export type Outbound = EditProjectEnvResponseBodyContentHint$Outbound; -} - -export function editProjectEnvResponseBodyContentHintToJSON( - editProjectEnvResponseBodyContentHint: EditProjectEnvResponseBodyContentHint, -): string { - return JSON.stringify( - EditProjectEnvResponseBodyContentHint$outboundSchema.parse( - editProjectEnvResponseBodyContentHint, - ), - ); -} - -export function editProjectEnvResponseBodyContentHintFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - EditProjectEnvResponseBodyContentHint$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvResponseBodyContentHint' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvResponseBodyProjectsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - EditProjectEnvResponseBodyProjectsType, - ); - -/** @internal */ -export const EditProjectEnvResponseBodyProjectsType$outboundSchema: - z.ZodNativeEnum = - EditProjectEnvResponseBodyProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvResponseBodyProjectsType$ { - /** @deprecated use `EditProjectEnvResponseBodyProjectsType$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvResponseBodyProjectsType$inboundSchema; - /** @deprecated use `EditProjectEnvResponseBodyProjectsType$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvResponseBodyProjectsType$outboundSchema; -} - -/** @internal */ -export const EditProjectEnvResponseBodyInternalContentHint$inboundSchema: - z.ZodType< - EditProjectEnvResponseBodyInternalContentHint, - z.ZodTypeDef, - unknown - > = z.object({ - type: EditProjectEnvResponseBodyProjectsType$inboundSchema, - encryptedValue: z.string(), - }); - -/** @internal */ -export type EditProjectEnvResponseBodyInternalContentHint$Outbound = { - type: string; - encryptedValue: string; -}; - -/** @internal */ -export const EditProjectEnvResponseBodyInternalContentHint$outboundSchema: - z.ZodType< - EditProjectEnvResponseBodyInternalContentHint$Outbound, - z.ZodTypeDef, - EditProjectEnvResponseBodyInternalContentHint - > = z.object({ - type: EditProjectEnvResponseBodyProjectsType$outboundSchema, - encryptedValue: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvResponseBodyInternalContentHint$ { - /** @deprecated use `EditProjectEnvResponseBodyInternalContentHint$inboundSchema` instead. */ - export const inboundSchema = - EditProjectEnvResponseBodyInternalContentHint$inboundSchema; - /** @deprecated use `EditProjectEnvResponseBodyInternalContentHint$outboundSchema` instead. */ - export const outboundSchema = - EditProjectEnvResponseBodyInternalContentHint$outboundSchema; - /** @deprecated use `EditProjectEnvResponseBodyInternalContentHint$Outbound` instead. */ - export type Outbound = EditProjectEnvResponseBodyInternalContentHint$Outbound; -} - -export function editProjectEnvResponseBodyInternalContentHintToJSON( - editProjectEnvResponseBodyInternalContentHint: - EditProjectEnvResponseBodyInternalContentHint, -): string { - return JSON.stringify( - EditProjectEnvResponseBodyInternalContentHint$outboundSchema.parse( - editProjectEnvResponseBodyInternalContentHint, - ), - ); -} - -export function editProjectEnvResponseBodyInternalContentHintFromJSON( - jsonString: string, -): SafeParseResult< - EditProjectEnvResponseBodyInternalContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - EditProjectEnvResponseBodyInternalContentHint$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'EditProjectEnvResponseBodyInternalContentHint' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvResponseBody1$inboundSchema: z.ZodType< - EditProjectEnvResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({ - target: z.union([z.array(z.string()), EditProjectEnvTarget2$inboundSchema]) - .optional(), - type: EditProjectEnvResponseBodyType$inboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => EditProjectEnvContentHint1$inboundSchema), - z.lazy(() => EditProjectEnvContentHint2$inboundSchema), - z.lazy(() => EditProjectEnvContentHint3$inboundSchema), - z.lazy(() => EditProjectEnvContentHint4$inboundSchema), - z.lazy(() => EditProjectEnvContentHint5$inboundSchema), - z.lazy(() => EditProjectEnvContentHint6$inboundSchema), - z.lazy(() => EditProjectEnvContentHint7$inboundSchema), - z.lazy(() => EditProjectEnvContentHint8$inboundSchema), - z.lazy(() => EditProjectEnvContentHint9$inboundSchema), - z.lazy(() => EditProjectEnvContentHint10$inboundSchema), - z.lazy(() => EditProjectEnvContentHint11$inboundSchema), - z.lazy(() => EditProjectEnvContentHint12$inboundSchema), - z.lazy(() => EditProjectEnvContentHint13$inboundSchema), - z.lazy(() => EditProjectEnvContentHint15$inboundSchema), - z.lazy(() => EditProjectEnvContentHint14$inboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => EditProjectEnvResponseBodyInternalContentHint$inboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), -}); - -/** @internal */ -export type EditProjectEnvResponseBody1$Outbound = { - target?: Array | string | undefined; - type: string; - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | EditProjectEnvContentHint1$Outbound - | EditProjectEnvContentHint2$Outbound - | EditProjectEnvContentHint3$Outbound - | EditProjectEnvContentHint4$Outbound - | EditProjectEnvContentHint5$Outbound - | EditProjectEnvContentHint6$Outbound - | EditProjectEnvContentHint7$Outbound - | EditProjectEnvContentHint8$Outbound - | EditProjectEnvContentHint9$Outbound - | EditProjectEnvContentHint10$Outbound - | EditProjectEnvContentHint11$Outbound - | EditProjectEnvContentHint12$Outbound - | EditProjectEnvContentHint13$Outbound - | EditProjectEnvContentHint15$Outbound - | EditProjectEnvContentHint14$Outbound - | null - | undefined; - internalContentHint?: - | EditProjectEnvResponseBodyInternalContentHint$Outbound - | null - | undefined; - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; -}; - -/** @internal */ -export const EditProjectEnvResponseBody1$outboundSchema: z.ZodType< - EditProjectEnvResponseBody1$Outbound, - z.ZodTypeDef, - EditProjectEnvResponseBody1 -> = z.object({ - target: z.union([z.array(z.string()), EditProjectEnvTarget2$outboundSchema]) - .optional(), - type: EditProjectEnvResponseBodyType$outboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => EditProjectEnvContentHint1$outboundSchema), - z.lazy(() => EditProjectEnvContentHint2$outboundSchema), - z.lazy(() => EditProjectEnvContentHint3$outboundSchema), - z.lazy(() => EditProjectEnvContentHint4$outboundSchema), - z.lazy(() => EditProjectEnvContentHint5$outboundSchema), - z.lazy(() => EditProjectEnvContentHint6$outboundSchema), - z.lazy(() => EditProjectEnvContentHint7$outboundSchema), - z.lazy(() => EditProjectEnvContentHint8$outboundSchema), - z.lazy(() => EditProjectEnvContentHint9$outboundSchema), - z.lazy(() => EditProjectEnvContentHint10$outboundSchema), - z.lazy(() => EditProjectEnvContentHint11$outboundSchema), - z.lazy(() => EditProjectEnvContentHint12$outboundSchema), - z.lazy(() => EditProjectEnvContentHint13$outboundSchema), - z.lazy(() => EditProjectEnvContentHint15$outboundSchema), - z.lazy(() => EditProjectEnvContentHint14$outboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => EditProjectEnvResponseBodyInternalContentHint$outboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvResponseBody1$ { - /** @deprecated use `EditProjectEnvResponseBody1$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvResponseBody1$inboundSchema; - /** @deprecated use `EditProjectEnvResponseBody1$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvResponseBody1$outboundSchema; - /** @deprecated use `EditProjectEnvResponseBody1$Outbound` instead. */ - export type Outbound = EditProjectEnvResponseBody1$Outbound; -} - -export function editProjectEnvResponseBody1ToJSON( - editProjectEnvResponseBody1: EditProjectEnvResponseBody1, -): string { - return JSON.stringify( - EditProjectEnvResponseBody1$outboundSchema.parse( - editProjectEnvResponseBody1, - ), - ); -} - -export function editProjectEnvResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const EditProjectEnvResponseBody$inboundSchema: z.ZodType< - EditProjectEnvResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => EditProjectEnvResponseBody2$inboundSchema), - z.lazy(() => EditProjectEnvResponseBody1$inboundSchema), -]); - -/** @internal */ -export type EditProjectEnvResponseBody$Outbound = - | EditProjectEnvResponseBody2$Outbound - | EditProjectEnvResponseBody1$Outbound; - -/** @internal */ -export const EditProjectEnvResponseBody$outboundSchema: z.ZodType< - EditProjectEnvResponseBody$Outbound, - z.ZodTypeDef, - EditProjectEnvResponseBody -> = z.union([ - z.lazy(() => EditProjectEnvResponseBody2$outboundSchema), - z.lazy(() => EditProjectEnvResponseBody1$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EditProjectEnvResponseBody$ { - /** @deprecated use `EditProjectEnvResponseBody$inboundSchema` instead. */ - export const inboundSchema = EditProjectEnvResponseBody$inboundSchema; - /** @deprecated use `EditProjectEnvResponseBody$outboundSchema` instead. */ - export const outboundSchema = EditProjectEnvResponseBody$outboundSchema; - /** @deprecated use `EditProjectEnvResponseBody$Outbound` instead. */ - export type Outbound = EditProjectEnvResponseBody$Outbound; -} - -export function editProjectEnvResponseBodyToJSON( - editProjectEnvResponseBody: EditProjectEnvResponseBody, -): string { - return JSON.stringify( - EditProjectEnvResponseBody$outboundSchema.parse(editProjectEnvResponseBody), - ); -} - -export function editProjectEnvResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EditProjectEnvResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EditProjectEnvResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/exchangessotoken.ts b/src/models/operations/exchangessotoken.ts deleted file mode 100644 index a1af818e..00000000 --- a/src/models/operations/exchangessotoken.ts +++ /dev/null @@ -1,192 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type ExchangeSsoTokenRequestBody = { - /** - * The sensitive code received from Vercel - */ - code: string; - /** - * The state received from the initialization request - */ - state?: string | undefined; - /** - * The integration client id - */ - clientId: string; - /** - * The integration client secret - */ - clientSecret: string; - /** - * The integration redirect URI - */ - redirectUri?: string | undefined; -}; - -export type ExchangeSsoTokenResponseBody = { - idToken: string; - accessToken?: any | null | undefined; - tokenType?: any | null | undefined; -}; - -/** @internal */ -export const ExchangeSsoTokenRequestBody$inboundSchema: z.ZodType< - ExchangeSsoTokenRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - state: z.string().optional(), - client_id: z.string(), - client_secret: z.string(), - redirect_uri: z.string().optional(), -}).transform((v) => { - return remap$(v, { - "client_id": "clientId", - "client_secret": "clientSecret", - "redirect_uri": "redirectUri", - }); -}); - -/** @internal */ -export type ExchangeSsoTokenRequestBody$Outbound = { - code: string; - state?: string | undefined; - client_id: string; - client_secret: string; - redirect_uri?: string | undefined; -}; - -/** @internal */ -export const ExchangeSsoTokenRequestBody$outboundSchema: z.ZodType< - ExchangeSsoTokenRequestBody$Outbound, - z.ZodTypeDef, - ExchangeSsoTokenRequestBody -> = z.object({ - code: z.string(), - state: z.string().optional(), - clientId: z.string(), - clientSecret: z.string(), - redirectUri: z.string().optional(), -}).transform((v) => { - return remap$(v, { - clientId: "client_id", - clientSecret: "client_secret", - redirectUri: "redirect_uri", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ExchangeSsoTokenRequestBody$ { - /** @deprecated use `ExchangeSsoTokenRequestBody$inboundSchema` instead. */ - export const inboundSchema = ExchangeSsoTokenRequestBody$inboundSchema; - /** @deprecated use `ExchangeSsoTokenRequestBody$outboundSchema` instead. */ - export const outboundSchema = ExchangeSsoTokenRequestBody$outboundSchema; - /** @deprecated use `ExchangeSsoTokenRequestBody$Outbound` instead. */ - export type Outbound = ExchangeSsoTokenRequestBody$Outbound; -} - -export function exchangeSsoTokenRequestBodyToJSON( - exchangeSsoTokenRequestBody: ExchangeSsoTokenRequestBody, -): string { - return JSON.stringify( - ExchangeSsoTokenRequestBody$outboundSchema.parse( - exchangeSsoTokenRequestBody, - ), - ); -} - -export function exchangeSsoTokenRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ExchangeSsoTokenRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ExchangeSsoTokenRequestBody' from JSON`, - ); -} - -/** @internal */ -export const ExchangeSsoTokenResponseBody$inboundSchema: z.ZodType< - ExchangeSsoTokenResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id_token: z.string(), - access_token: z.nullable(z.any()).optional(), - token_type: z.nullable(z.any()).optional(), -}).transform((v) => { - return remap$(v, { - "id_token": "idToken", - "access_token": "accessToken", - "token_type": "tokenType", - }); -}); - -/** @internal */ -export type ExchangeSsoTokenResponseBody$Outbound = { - id_token: string; - access_token?: any | null | undefined; - token_type?: any | null | undefined; -}; - -/** @internal */ -export const ExchangeSsoTokenResponseBody$outboundSchema: z.ZodType< - ExchangeSsoTokenResponseBody$Outbound, - z.ZodTypeDef, - ExchangeSsoTokenResponseBody -> = z.object({ - idToken: z.string(), - accessToken: z.nullable(z.any()).optional(), - tokenType: z.nullable(z.any()).optional(), -}).transform((v) => { - return remap$(v, { - idToken: "id_token", - accessToken: "access_token", - tokenType: "token_type", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ExchangeSsoTokenResponseBody$ { - /** @deprecated use `ExchangeSsoTokenResponseBody$inboundSchema` instead. */ - export const inboundSchema = ExchangeSsoTokenResponseBody$inboundSchema; - /** @deprecated use `ExchangeSsoTokenResponseBody$outboundSchema` instead. */ - export const outboundSchema = ExchangeSsoTokenResponseBody$outboundSchema; - /** @deprecated use `ExchangeSsoTokenResponseBody$Outbound` instead. */ - export type Outbound = ExchangeSsoTokenResponseBody$Outbound; -} - -export function exchangeSsoTokenResponseBodyToJSON( - exchangeSsoTokenResponseBody: ExchangeSsoTokenResponseBody, -): string { - return JSON.stringify( - ExchangeSsoTokenResponseBody$outboundSchema.parse( - exchangeSsoTokenResponseBody, - ), - ); -} - -export function exchangeSsoTokenResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ExchangeSsoTokenResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ExchangeSsoTokenResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/filterprojectenvs.ts b/src/models/operations/filterprojectenvs.ts deleted file mode 100644 index d3563d3e..00000000 --- a/src/models/operations/filterprojectenvs.ts +++ /dev/null @@ -1,7149 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - Pagination, - Pagination$inboundSchema, - Pagination$Outbound, - Pagination$outboundSchema, -} from "../components/pagination.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * If true, the environment variable value will be decrypted - * - * @deprecated enum: This will be removed in a future release, please migrate away from it as soon as possible. - */ -export const Decrypt = { - True: "true", - False: "false", -} as const; -/** - * If true, the environment variable value will be decrypted - * - * @deprecated enum: This will be removed in a future release, please migrate away from it as soon as possible. - */ -export type Decrypt = ClosedEnum; - -export type FilterProjectEnvsRequest = { - /** - * The unique project identifier or the project name - */ - idOrName: string; - /** - * If defined, the git branch of the environment variable to filter the results (must have target=preview) - */ - gitBranch?: string | undefined; - /** - * If true, the environment variable value will be decrypted - */ - decrypt?: Decrypt | undefined; - /** - * The source that is calling the endpoint. - */ - source?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export const FilterProjectEnvsTargetProjectsResponse2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type FilterProjectEnvsTargetProjectsResponse2 = ClosedEnum< - typeof FilterProjectEnvsTargetProjectsResponse2 ->; - -export const FilterProjectEnvsTargetProjects1 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type FilterProjectEnvsTargetProjects1 = ClosedEnum< - typeof FilterProjectEnvsTargetProjects1 ->; - -export type FilterProjectEnvsResponseBodyProjectsResponseTarget = - | Array - | FilterProjectEnvsTargetProjectsResponse2; - -export const FilterProjectEnvsResponseBodyProjectsResponse200Type = { - System: "system", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", - Secret: "secret", -} as const; -export type FilterProjectEnvsResponseBodyProjectsResponse200Type = ClosedEnum< - typeof FilterProjectEnvsResponseBodyProjectsResponse200Type ->; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type = - { - FlagsConnectionString: "flags-connection-string", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type - >; - -export type FilterProjectEnvsContentHintProjectsResponse15 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type; - projectId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type = - { - IntegrationStoreSecret: "integration-store-secret", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type - >; - -export type FilterProjectEnvsContentHintProjectsResponse14 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type = - { - PostgresUrlNoSsl: "postgres-url-no-ssl", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type - >; - -export type FilterProjectEnvsContentHintProjectsResponse13 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type = - { - PostgresDatabase: "postgres-database", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type - >; - -export type FilterProjectEnvsContentHintProjectsResponse12 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type = - { - PostgresPassword: "postgres-password", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type - >; - -export type FilterProjectEnvsContentHintProjectsResponse11 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type = - { - PostgresHost: "postgres-host", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type - >; - -export type FilterProjectEnvsContentHintProjectsResponse10 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type = - { - PostgresUser: "postgres-user", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type - >; - -export type FilterProjectEnvsContentHintProjectsResponse9 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type = - { - PostgresPrismaUrl: "postgres-prisma-url", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type - >; - -export type FilterProjectEnvsContentHintProjectsResponse8 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type = - { - PostgresUrlNonPooling: "postgres-url-non-pooling", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type - >; - -export type FilterProjectEnvsContentHintProjectsResponse7 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type = - { - PostgresUrl: "postgres-url", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type - >; - -export type FilterProjectEnvsContentHintProjectsResponse6 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type = - { - BlobReadWriteToken: "blob-read-write-token", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type - >; - -export type FilterProjectEnvsContentHintProjectsResponse5 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type = - { - RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type - >; - -export type FilterProjectEnvsContentHintProjectsResponse4 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type = - { - RedisRestApiToken: "redis-rest-api-token", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type - >; - -export type FilterProjectEnvsContentHintProjectsResponse3 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType = - { - RedisRestApiUrl: "redis-rest-api-url", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType - >; - -export type FilterProjectEnvsContentHintProjectsResponse2 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type = - { - RedisUrl: "redis-url", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type - >; - -export type FilterProjectEnvsContentHintProjectsResponse1 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type; - storeId: string; -}; - -export type FilterProjectEnvsResponseBodyProjectsContentHint = - | FilterProjectEnvsContentHintProjectsResponse1 - | FilterProjectEnvsContentHintProjectsResponse2 - | FilterProjectEnvsContentHintProjectsResponse3 - | FilterProjectEnvsContentHintProjectsResponse4 - | FilterProjectEnvsContentHintProjectsResponse5 - | FilterProjectEnvsContentHintProjectsResponse6 - | FilterProjectEnvsContentHintProjectsResponse7 - | FilterProjectEnvsContentHintProjectsResponse8 - | FilterProjectEnvsContentHintProjectsResponse9 - | FilterProjectEnvsContentHintProjectsResponse10 - | FilterProjectEnvsContentHintProjectsResponse11 - | FilterProjectEnvsContentHintProjectsResponse12 - | FilterProjectEnvsContentHintProjectsResponse13 - | FilterProjectEnvsContentHintProjectsResponse15 - | FilterProjectEnvsContentHintProjectsResponse14; - -export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type = - { - FlagsSecret: "flags-secret", - } as const; -export type FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type = - ClosedEnum< - typeof FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type - >; - -/** - * Similar to `contentHints`, but should not be exposed to the user. - */ -export type FilterProjectEnvsResponseBodyProjectsInternalContentHint = { - type: FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type; - /** - * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. - */ - encryptedValue: string; -}; - -export type ResponseBodyEnvs = { - target?: - | Array - | FilterProjectEnvsTargetProjectsResponse2 - | undefined; - type?: FilterProjectEnvsResponseBodyProjectsResponse200Type | undefined; - /** - * This is used to identiy variables that have been migrated from type secret to sensitive. - */ - sunsetSecretId?: string | undefined; - id?: string | undefined; - key?: string | undefined; - value?: string | undefined; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | FilterProjectEnvsContentHintProjectsResponse1 - | FilterProjectEnvsContentHintProjectsResponse2 - | FilterProjectEnvsContentHintProjectsResponse3 - | FilterProjectEnvsContentHintProjectsResponse4 - | FilterProjectEnvsContentHintProjectsResponse5 - | FilterProjectEnvsContentHintProjectsResponse6 - | FilterProjectEnvsContentHintProjectsResponse7 - | FilterProjectEnvsContentHintProjectsResponse8 - | FilterProjectEnvsContentHintProjectsResponse9 - | FilterProjectEnvsContentHintProjectsResponse10 - | FilterProjectEnvsContentHintProjectsResponse11 - | FilterProjectEnvsContentHintProjectsResponse12 - | FilterProjectEnvsContentHintProjectsResponse13 - | FilterProjectEnvsContentHintProjectsResponse15 - | FilterProjectEnvsContentHintProjectsResponse14 - | null - | undefined; - /** - * Similar to `contentHints`, but should not be exposed to the user. - */ - internalContentHint?: - | FilterProjectEnvsResponseBodyProjectsInternalContentHint - | null - | undefined; - /** - * Whether `value` and `vsmValue` are decrypted. - */ - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; - system?: boolean | undefined; -}; - -/** - * The list of environment variables for the given project - */ -export type FilterProjectEnvsResponseBody3 = { - envs: Array; -}; - -export const FilterProjectEnvsTargetProjects2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type FilterProjectEnvsTargetProjects2 = ClosedEnum< - typeof FilterProjectEnvsTargetProjects2 ->; - -export const FilterProjectEnvsTarget1 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type FilterProjectEnvsTarget1 = ClosedEnum< - typeof FilterProjectEnvsTarget1 ->; - -export type FilterProjectEnvsResponseBodyProjectsTarget = - | Array - | FilterProjectEnvsTargetProjects2; - -export const FilterProjectEnvsResponseBodyProjectsResponseType = { - System: "system", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", - Secret: "secret", -} as const; -export type FilterProjectEnvsResponseBodyProjectsResponseType = ClosedEnum< - typeof FilterProjectEnvsResponseBodyProjectsResponseType ->; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type = - { - FlagsConnectionString: "flags-connection-string", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type - >; - -export type FilterProjectEnvsContentHintProjects15 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type; - projectId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type = - { - IntegrationStoreSecret: "integration-store-secret", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type - >; - -export type FilterProjectEnvsContentHintProjects14 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type = - { - PostgresUrlNoSsl: "postgres-url-no-ssl", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type - >; - -export type FilterProjectEnvsContentHintProjects13 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type = - { - PostgresDatabase: "postgres-database", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type - >; - -export type FilterProjectEnvsContentHintProjects12 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type = - { - PostgresPassword: "postgres-password", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type - >; - -export type FilterProjectEnvsContentHintProjects11 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type = - { - PostgresHost: "postgres-host", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type - >; - -export type FilterProjectEnvsContentHintProjects10 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type = - { - PostgresUser: "postgres-user", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type - >; - -export type FilterProjectEnvsContentHintProjects9 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type = - { - PostgresPrismaUrl: "postgres-prisma-url", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type - >; - -export type FilterProjectEnvsContentHintProjects8 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type = - { - PostgresUrlNonPooling: "postgres-url-non-pooling", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type - >; - -export type FilterProjectEnvsContentHintProjects7 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type = - { - PostgresUrl: "postgres-url", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type - >; - -export type FilterProjectEnvsContentHintProjects6 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type = - { - BlobReadWriteToken: "blob-read-write-token", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type - >; - -export type FilterProjectEnvsContentHintProjects5 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type = - { - RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type - >; - -export type FilterProjectEnvsContentHintProjects4 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type = - { - RedisRestApiToken: "redis-rest-api-token", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type - >; - -export type FilterProjectEnvsContentHintProjects3 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType = - { - RedisRestApiUrl: "redis-rest-api-url", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType - >; - -export type FilterProjectEnvsContentHintProjects2 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type = - { - RedisUrl: "redis-url", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type - >; - -export type FilterProjectEnvsContentHintProjects1 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type; - storeId: string; -}; - -export type FilterProjectEnvsResponseBodyContentHint = - | FilterProjectEnvsContentHintProjects1 - | FilterProjectEnvsContentHintProjects2 - | FilterProjectEnvsContentHintProjects3 - | FilterProjectEnvsContentHintProjects4 - | FilterProjectEnvsContentHintProjects5 - | FilterProjectEnvsContentHintProjects6 - | FilterProjectEnvsContentHintProjects7 - | FilterProjectEnvsContentHintProjects8 - | FilterProjectEnvsContentHintProjects9 - | FilterProjectEnvsContentHintProjects10 - | FilterProjectEnvsContentHintProjects11 - | FilterProjectEnvsContentHintProjects12 - | FilterProjectEnvsContentHintProjects13 - | FilterProjectEnvsContentHintProjects15 - | FilterProjectEnvsContentHintProjects14; - -export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType = - { - FlagsSecret: "flags-secret", - } as const; -export type FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType = - ClosedEnum< - typeof FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType - >; - -/** - * Similar to `contentHints`, but should not be exposed to the user. - */ -export type FilterProjectEnvsResponseBodyInternalContentHint = { - type: FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType; - /** - * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. - */ - encryptedValue: string; -}; - -export type Envs = { - target?: - | Array - | FilterProjectEnvsTargetProjects2 - | undefined; - type?: FilterProjectEnvsResponseBodyProjectsResponseType | undefined; - /** - * This is used to identiy variables that have been migrated from type secret to sensitive. - */ - sunsetSecretId?: string | undefined; - id?: string | undefined; - key?: string | undefined; - value?: string | undefined; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | FilterProjectEnvsContentHintProjects1 - | FilterProjectEnvsContentHintProjects2 - | FilterProjectEnvsContentHintProjects3 - | FilterProjectEnvsContentHintProjects4 - | FilterProjectEnvsContentHintProjects5 - | FilterProjectEnvsContentHintProjects6 - | FilterProjectEnvsContentHintProjects7 - | FilterProjectEnvsContentHintProjects8 - | FilterProjectEnvsContentHintProjects9 - | FilterProjectEnvsContentHintProjects10 - | FilterProjectEnvsContentHintProjects11 - | FilterProjectEnvsContentHintProjects12 - | FilterProjectEnvsContentHintProjects13 - | FilterProjectEnvsContentHintProjects15 - | FilterProjectEnvsContentHintProjects14 - | null - | undefined; - /** - * Similar to `contentHints`, but should not be exposed to the user. - */ - internalContentHint?: - | FilterProjectEnvsResponseBodyInternalContentHint - | null - | undefined; - /** - * Whether `value` and `vsmValue` are decrypted. - */ - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; - system?: boolean | undefined; -}; - -export type FilterProjectEnvsResponseBody2 = { - envs: Array; - /** - * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. - */ - pagination: Pagination; -}; - -export const FilterProjectEnvsTarget2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type FilterProjectEnvsTarget2 = ClosedEnum< - typeof FilterProjectEnvsTarget2 ->; - -export type FilterProjectEnvsResponseBodyTarget = - | Array - | FilterProjectEnvsTarget2; - -export const FilterProjectEnvsResponseBodyType = { - System: "system", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", - Secret: "secret", -} as const; -export type FilterProjectEnvsResponseBodyType = ClosedEnum< - typeof FilterProjectEnvsResponseBodyType ->; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type = - { - FlagsConnectionString: "flags-connection-string", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type - >; - -export type FilterProjectEnvsContentHint15 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type; - projectId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type = - { - IntegrationStoreSecret: "integration-store-secret", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type - >; - -export type FilterProjectEnvsContentHint14 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type = - { - PostgresUrlNoSsl: "postgres-url-no-ssl", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type - >; - -export type FilterProjectEnvsContentHint13 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type = - { - PostgresDatabase: "postgres-database", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type - >; - -export type FilterProjectEnvsContentHint12 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type = - { - PostgresPassword: "postgres-password", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type - >; - -export type FilterProjectEnvsContentHint11 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type = - { - PostgresHost: "postgres-host", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type - >; - -export type FilterProjectEnvsContentHint10 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type = - { - PostgresUser: "postgres-user", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type - >; - -export type FilterProjectEnvsContentHint9 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type = - { - PostgresPrismaUrl: "postgres-prisma-url", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type - >; - -export type FilterProjectEnvsContentHint8 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type = - { - PostgresUrlNonPooling: "postgres-url-non-pooling", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type - >; - -export type FilterProjectEnvsContentHint7 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType = - { - PostgresUrl: "postgres-url", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType - >; - -export type FilterProjectEnvsContentHint6 = { - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType = - { - BlobReadWriteToken: "blob-read-write-token", - } as const; -export type FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType = - ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType - >; - -export type FilterProjectEnvsContentHint5 = { - type: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponse200Type = { - RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", -} as const; -export type FilterProjectEnvsContentHintProjectsResponse200Type = ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200Type ->; - -export type FilterProjectEnvsContentHint4 = { - type: FilterProjectEnvsContentHintProjectsResponse200Type; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsResponseType = { - RedisRestApiToken: "redis-rest-api-token", -} as const; -export type FilterProjectEnvsContentHintProjectsResponseType = ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsResponseType ->; - -export type FilterProjectEnvsContentHint3 = { - type: FilterProjectEnvsContentHintProjectsResponseType; - storeId: string; -}; - -export const FilterProjectEnvsContentHintProjectsType = { - RedisRestApiUrl: "redis-rest-api-url", -} as const; -export type FilterProjectEnvsContentHintProjectsType = ClosedEnum< - typeof FilterProjectEnvsContentHintProjectsType ->; - -export type FilterProjectEnvsContentHint2 = { - type: FilterProjectEnvsContentHintProjectsType; - storeId: string; -}; - -export const FilterProjectEnvsContentHintType = { - RedisUrl: "redis-url", -} as const; -export type FilterProjectEnvsContentHintType = ClosedEnum< - typeof FilterProjectEnvsContentHintType ->; - -export type FilterProjectEnvsContentHint1 = { - type: FilterProjectEnvsContentHintType; - storeId: string; -}; - -export type ResponseBodyContentHint = - | FilterProjectEnvsContentHint1 - | FilterProjectEnvsContentHint2 - | FilterProjectEnvsContentHint3 - | FilterProjectEnvsContentHint4 - | FilterProjectEnvsContentHint5 - | FilterProjectEnvsContentHint6 - | FilterProjectEnvsContentHint7 - | FilterProjectEnvsContentHint8 - | FilterProjectEnvsContentHint9 - | FilterProjectEnvsContentHint10 - | FilterProjectEnvsContentHint11 - | FilterProjectEnvsContentHint12 - | FilterProjectEnvsContentHint13 - | FilterProjectEnvsContentHint15 - | FilterProjectEnvsContentHint14; - -export const FilterProjectEnvsResponseBodyProjectsType = { - FlagsSecret: "flags-secret", -} as const; -export type FilterProjectEnvsResponseBodyProjectsType = ClosedEnum< - typeof FilterProjectEnvsResponseBodyProjectsType ->; - -/** - * Similar to `contentHints`, but should not be exposed to the user. - */ -export type ResponseBodyInternalContentHint = { - type: FilterProjectEnvsResponseBodyProjectsType; - /** - * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. - */ - encryptedValue: string; -}; - -export type FilterProjectEnvsResponseBody1 = { - target?: Array | FilterProjectEnvsTarget2 | undefined; - type?: FilterProjectEnvsResponseBodyType | undefined; - /** - * This is used to identiy variables that have been migrated from type secret to sensitive. - */ - sunsetSecretId?: string | undefined; - id?: string | undefined; - key?: string | undefined; - value?: string | undefined; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | FilterProjectEnvsContentHint1 - | FilterProjectEnvsContentHint2 - | FilterProjectEnvsContentHint3 - | FilterProjectEnvsContentHint4 - | FilterProjectEnvsContentHint5 - | FilterProjectEnvsContentHint6 - | FilterProjectEnvsContentHint7 - | FilterProjectEnvsContentHint8 - | FilterProjectEnvsContentHint9 - | FilterProjectEnvsContentHint10 - | FilterProjectEnvsContentHint11 - | FilterProjectEnvsContentHint12 - | FilterProjectEnvsContentHint13 - | FilterProjectEnvsContentHint15 - | FilterProjectEnvsContentHint14 - | null - | undefined; - /** - * Similar to `contentHints`, but should not be exposed to the user. - */ - internalContentHint?: ResponseBodyInternalContentHint | null | undefined; - /** - * Whether `value` and `vsmValue` are decrypted. - */ - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; - system?: boolean | undefined; -}; - -/** - * The list of environment variables for the given project - */ -export type FilterProjectEnvsResponseBody = - | FilterProjectEnvsResponseBody3 - | FilterProjectEnvsResponseBody2 - | FilterProjectEnvsResponseBody1; - -/** @internal */ -export const Decrypt$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Decrypt); - -/** @internal */ -export const Decrypt$outboundSchema: z.ZodNativeEnum = - Decrypt$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Decrypt$ { - /** @deprecated use `Decrypt$inboundSchema` instead. */ - export const inboundSchema = Decrypt$inboundSchema; - /** @deprecated use `Decrypt$outboundSchema` instead. */ - export const outboundSchema = Decrypt$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsRequest$inboundSchema: z.ZodType< - FilterProjectEnvsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - gitBranch: z.string().optional(), - decrypt: Decrypt$inboundSchema.optional(), - source: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type FilterProjectEnvsRequest$Outbound = { - idOrName: string; - gitBranch?: string | undefined; - decrypt?: string | undefined; - source?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const FilterProjectEnvsRequest$outboundSchema: z.ZodType< - FilterProjectEnvsRequest$Outbound, - z.ZodTypeDef, - FilterProjectEnvsRequest -> = z.object({ - idOrName: z.string(), - gitBranch: z.string().optional(), - decrypt: Decrypt$outboundSchema.optional(), - source: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsRequest$ { - /** @deprecated use `FilterProjectEnvsRequest$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsRequest$inboundSchema; - /** @deprecated use `FilterProjectEnvsRequest$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsRequest$outboundSchema; - /** @deprecated use `FilterProjectEnvsRequest$Outbound` instead. */ - export type Outbound = FilterProjectEnvsRequest$Outbound; -} - -export function filterProjectEnvsRequestToJSON( - filterProjectEnvsRequest: FilterProjectEnvsRequest, -): string { - return JSON.stringify( - FilterProjectEnvsRequest$outboundSchema.parse(filterProjectEnvsRequest), - ); -} - -export function filterProjectEnvsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsRequest' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsTargetProjectsResponse2$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(FilterProjectEnvsTargetProjectsResponse2); - -/** @internal */ -export const FilterProjectEnvsTargetProjectsResponse2$outboundSchema: - z.ZodNativeEnum = - FilterProjectEnvsTargetProjectsResponse2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsTargetProjectsResponse2$ { - /** @deprecated use `FilterProjectEnvsTargetProjectsResponse2$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsTargetProjectsResponse2$inboundSchema; - /** @deprecated use `FilterProjectEnvsTargetProjectsResponse2$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsTargetProjectsResponse2$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsTargetProjects1$inboundSchema: z.ZodNativeEnum< - typeof FilterProjectEnvsTargetProjects1 -> = z.nativeEnum(FilterProjectEnvsTargetProjects1); - -/** @internal */ -export const FilterProjectEnvsTargetProjects1$outboundSchema: z.ZodNativeEnum< - typeof FilterProjectEnvsTargetProjects1 -> = FilterProjectEnvsTargetProjects1$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsTargetProjects1$ { - /** @deprecated use `FilterProjectEnvsTargetProjects1$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsTargetProjects1$inboundSchema; - /** @deprecated use `FilterProjectEnvsTargetProjects1$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsTargetProjects1$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsResponseTarget$inboundSchema: - z.ZodType< - FilterProjectEnvsResponseBodyProjectsResponseTarget, - z.ZodTypeDef, - unknown - > = z.union([ - z.array(FilterProjectEnvsTargetProjects1$inboundSchema), - FilterProjectEnvsTargetProjectsResponse2$inboundSchema, - ]); - -/** @internal */ -export type FilterProjectEnvsResponseBodyProjectsResponseTarget$Outbound = - | Array - | string; - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsResponseTarget$outboundSchema: - z.ZodType< - FilterProjectEnvsResponseBodyProjectsResponseTarget$Outbound, - z.ZodTypeDef, - FilterProjectEnvsResponseBodyProjectsResponseTarget - > = z.union([ - z.array(FilterProjectEnvsTargetProjects1$outboundSchema), - FilterProjectEnvsTargetProjectsResponse2$outboundSchema, - ]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBodyProjectsResponseTarget$ { - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponseTarget$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsResponseBodyProjectsResponseTarget$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponseTarget$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsResponseBodyProjectsResponseTarget$outboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponseTarget$Outbound` instead. */ - export type Outbound = - FilterProjectEnvsResponseBodyProjectsResponseTarget$Outbound; -} - -export function filterProjectEnvsResponseBodyProjectsResponseTargetToJSON( - filterProjectEnvsResponseBodyProjectsResponseTarget: - FilterProjectEnvsResponseBodyProjectsResponseTarget, -): string { - return JSON.stringify( - FilterProjectEnvsResponseBodyProjectsResponseTarget$outboundSchema.parse( - filterProjectEnvsResponseBodyProjectsResponseTarget, - ), - ); -} - -export function filterProjectEnvsResponseBodyProjectsResponseTargetFromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsResponseBodyProjectsResponseTarget, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsResponseBodyProjectsResponseTarget$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsResponseBodyProjectsResponseTarget' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = - z.nativeEnum(FilterProjectEnvsResponseBodyProjectsResponse200Type); - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsResponse200Type$outboundSchema: - z.ZodNativeEnum = - FilterProjectEnvsResponseBodyProjectsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBodyProjectsResponse200Type$ { - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsResponseBodyProjectsResponse200Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsResponseBodyProjectsResponse200Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse15$inboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse15, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$inboundSchema, - projectId: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsContentHintProjectsResponse15$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse15$outboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse15$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjectsResponse15 - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$outboundSchema, - projectId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse15$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse15$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse15$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse15$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse15$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse15$Outbound` instead. */ - export type Outbound = - FilterProjectEnvsContentHintProjectsResponse15$Outbound; -} - -export function filterProjectEnvsContentHintProjectsResponse15ToJSON( - filterProjectEnvsContentHintProjectsResponse15: - FilterProjectEnvsContentHintProjectsResponse15, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjectsResponse15$outboundSchema.parse( - filterProjectEnvsContentHintProjectsResponse15, - ), - ); -} - -export function filterProjectEnvsContentHintProjectsResponse15FromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsContentHintProjectsResponse15, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjectsResponse15$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse15' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse14$inboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse14, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$inboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsContentHintProjectsResponse14$Outbound = { - type: string; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse14$outboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse14$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjectsResponse14 - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$outboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse14$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse14$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse14$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse14$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse14$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse14$Outbound` instead. */ - export type Outbound = - FilterProjectEnvsContentHintProjectsResponse14$Outbound; -} - -export function filterProjectEnvsContentHintProjectsResponse14ToJSON( - filterProjectEnvsContentHintProjectsResponse14: - FilterProjectEnvsContentHintProjectsResponse14, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjectsResponse14$outboundSchema.parse( - filterProjectEnvsContentHintProjectsResponse14, - ), - ); -} - -export function filterProjectEnvsContentHintProjectsResponse14FromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsContentHintProjectsResponse14, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjectsResponse14$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse14' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse13$inboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse13, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsContentHintProjectsResponse13$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse13$outboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse13$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjectsResponse13 - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse13$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse13$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse13$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse13$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse13$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse13$Outbound` instead. */ - export type Outbound = - FilterProjectEnvsContentHintProjectsResponse13$Outbound; -} - -export function filterProjectEnvsContentHintProjectsResponse13ToJSON( - filterProjectEnvsContentHintProjectsResponse13: - FilterProjectEnvsContentHintProjectsResponse13, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjectsResponse13$outboundSchema.parse( - filterProjectEnvsContentHintProjectsResponse13, - ), - ); -} - -export function filterProjectEnvsContentHintProjectsResponse13FromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsContentHintProjectsResponse13, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjectsResponse13$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse13' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse12$inboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse12, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsContentHintProjectsResponse12$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse12$outboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse12$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjectsResponse12 - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse12$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse12$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse12$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse12$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse12$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse12$Outbound` instead. */ - export type Outbound = - FilterProjectEnvsContentHintProjectsResponse12$Outbound; -} - -export function filterProjectEnvsContentHintProjectsResponse12ToJSON( - filterProjectEnvsContentHintProjectsResponse12: - FilterProjectEnvsContentHintProjectsResponse12, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjectsResponse12$outboundSchema.parse( - filterProjectEnvsContentHintProjectsResponse12, - ), - ); -} - -export function filterProjectEnvsContentHintProjectsResponse12FromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsContentHintProjectsResponse12, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjectsResponse12$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse12' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse11$inboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse11, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsContentHintProjectsResponse11$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse11$outboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse11$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjectsResponse11 - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse11$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse11$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse11$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse11$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse11$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse11$Outbound` instead. */ - export type Outbound = - FilterProjectEnvsContentHintProjectsResponse11$Outbound; -} - -export function filterProjectEnvsContentHintProjectsResponse11ToJSON( - filterProjectEnvsContentHintProjectsResponse11: - FilterProjectEnvsContentHintProjectsResponse11, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjectsResponse11$outboundSchema.parse( - filterProjectEnvsContentHintProjectsResponse11, - ), - ); -} - -export function filterProjectEnvsContentHintProjectsResponse11FromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsContentHintProjectsResponse11, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjectsResponse11$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse11' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse10$inboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse10, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsContentHintProjectsResponse10$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse10$outboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse10$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjectsResponse10 - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse10$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse10$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse10$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse10$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse10$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse10$Outbound` instead. */ - export type Outbound = - FilterProjectEnvsContentHintProjectsResponse10$Outbound; -} - -export function filterProjectEnvsContentHintProjectsResponse10ToJSON( - filterProjectEnvsContentHintProjectsResponse10: - FilterProjectEnvsContentHintProjectsResponse10, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjectsResponse10$outboundSchema.parse( - filterProjectEnvsContentHintProjectsResponse10, - ), - ); -} - -export function filterProjectEnvsContentHintProjectsResponse10FromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsContentHintProjectsResponse10, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjectsResponse10$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse10' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse9$inboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse9, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsContentHintProjectsResponse9$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse9$outboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse9$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjectsResponse9 - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse9$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse9$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse9$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse9$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse9$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse9$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjectsResponse9$Outbound; -} - -export function filterProjectEnvsContentHintProjectsResponse9ToJSON( - filterProjectEnvsContentHintProjectsResponse9: - FilterProjectEnvsContentHintProjectsResponse9, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjectsResponse9$outboundSchema.parse( - filterProjectEnvsContentHintProjectsResponse9, - ), - ); -} - -export function filterProjectEnvsContentHintProjectsResponse9FromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsContentHintProjectsResponse9, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjectsResponse9$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse9' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse8$inboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse8, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsContentHintProjectsResponse8$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse8$outboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse8$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjectsResponse8 - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse8$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse8$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse8$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse8$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse8$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse8$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjectsResponse8$Outbound; -} - -export function filterProjectEnvsContentHintProjectsResponse8ToJSON( - filterProjectEnvsContentHintProjectsResponse8: - FilterProjectEnvsContentHintProjectsResponse8, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjectsResponse8$outboundSchema.parse( - filterProjectEnvsContentHintProjectsResponse8, - ), - ); -} - -export function filterProjectEnvsContentHintProjectsResponse8FromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsContentHintProjectsResponse8, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjectsResponse8$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse8' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse7$inboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse7, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsContentHintProjectsResponse7$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse7$outboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse7$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjectsResponse7 - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse7$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse7$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse7$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse7$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse7$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse7$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjectsResponse7$Outbound; -} - -export function filterProjectEnvsContentHintProjectsResponse7ToJSON( - filterProjectEnvsContentHintProjectsResponse7: - FilterProjectEnvsContentHintProjectsResponse7, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjectsResponse7$outboundSchema.parse( - filterProjectEnvsContentHintProjectsResponse7, - ), - ); -} - -export function filterProjectEnvsContentHintProjectsResponse7FromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsContentHintProjectsResponse7, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjectsResponse7$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse7' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse6$inboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse6, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsContentHintProjectsResponse6$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse6$outboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse6$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjectsResponse6 - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse6$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse6$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse6$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse6$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse6$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse6$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjectsResponse6$Outbound; -} - -export function filterProjectEnvsContentHintProjectsResponse6ToJSON( - filterProjectEnvsContentHintProjectsResponse6: - FilterProjectEnvsContentHintProjectsResponse6, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjectsResponse6$outboundSchema.parse( - filterProjectEnvsContentHintProjectsResponse6, - ), - ); -} - -export function filterProjectEnvsContentHintProjectsResponse6FromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsContentHintProjectsResponse6, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjectsResponse6$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse6' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse5$inboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse5, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsContentHintProjectsResponse5$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse5$outboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse5$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjectsResponse5 - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse5$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse5$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse5$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse5$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse5$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse5$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjectsResponse5$Outbound; -} - -export function filterProjectEnvsContentHintProjectsResponse5ToJSON( - filterProjectEnvsContentHintProjectsResponse5: - FilterProjectEnvsContentHintProjectsResponse5, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjectsResponse5$outboundSchema.parse( - filterProjectEnvsContentHintProjectsResponse5, - ), - ); -} - -export function filterProjectEnvsContentHintProjectsResponse5FromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsContentHintProjectsResponse5, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjectsResponse5$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse5' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse4$inboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse4, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsContentHintProjectsResponse4$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse4$outboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse4$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjectsResponse4 - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse4$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse4$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse4$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse4$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse4$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse4$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjectsResponse4$Outbound; -} - -export function filterProjectEnvsContentHintProjectsResponse4ToJSON( - filterProjectEnvsContentHintProjectsResponse4: - FilterProjectEnvsContentHintProjectsResponse4, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjectsResponse4$outboundSchema.parse( - filterProjectEnvsContentHintProjectsResponse4, - ), - ); -} - -export function filterProjectEnvsContentHintProjectsResponse4FromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsContentHintProjectsResponse4, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjectsResponse4$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse4' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse3$inboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse3, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsContentHintProjectsResponse3$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse3$outboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse3$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjectsResponse3 - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse3$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse3$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse3$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse3$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse3$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse3$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjectsResponse3$Outbound; -} - -export function filterProjectEnvsContentHintProjectsResponse3ToJSON( - filterProjectEnvsContentHintProjectsResponse3: - FilterProjectEnvsContentHintProjectsResponse3, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjectsResponse3$outboundSchema.parse( - filterProjectEnvsContentHintProjectsResponse3, - ), - ); -} - -export function filterProjectEnvsContentHintProjectsResponse3FromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsContentHintProjectsResponse3, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjectsResponse3$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse3' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse2$inboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse2, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsContentHintProjectsResponse2$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse2$outboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse2$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjectsResponse2 - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse2$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse2$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse2$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse2$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse2$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse2$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjectsResponse2$Outbound; -} - -export function filterProjectEnvsContentHintProjectsResponse2ToJSON( - filterProjectEnvsContentHintProjectsResponse2: - FilterProjectEnvsContentHintProjectsResponse2, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjectsResponse2$outboundSchema.parse( - filterProjectEnvsContentHintProjectsResponse2, - ), - ); -} - -export function filterProjectEnvsContentHintProjectsResponse2FromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsContentHintProjectsResponse2, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjectsResponse2$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse2' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse1$inboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse1, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsContentHintProjectsResponse1$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse1$outboundSchema: - z.ZodType< - FilterProjectEnvsContentHintProjectsResponse1$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjectsResponse1 - > = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse1$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse1$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse1$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse1$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse1$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse1$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjectsResponse1$Outbound; -} - -export function filterProjectEnvsContentHintProjectsResponse1ToJSON( - filterProjectEnvsContentHintProjectsResponse1: - FilterProjectEnvsContentHintProjectsResponse1, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjectsResponse1$outboundSchema.parse( - filterProjectEnvsContentHintProjectsResponse1, - ), - ); -} - -export function filterProjectEnvsContentHintProjectsResponse1FromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsContentHintProjectsResponse1, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjectsResponse1$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsContentHintProjectsResponse1' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsContentHint$inboundSchema: - z.ZodType< - FilterProjectEnvsResponseBodyProjectsContentHint, - z.ZodTypeDef, - unknown - > = z.union([ - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse1$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse2$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse3$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse4$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse5$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse6$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse7$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse8$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse9$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse10$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse11$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse12$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse13$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse15$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse14$inboundSchema), - ]); - -/** @internal */ -export type FilterProjectEnvsResponseBodyProjectsContentHint$Outbound = - | FilterProjectEnvsContentHintProjectsResponse1$Outbound - | FilterProjectEnvsContentHintProjectsResponse2$Outbound - | FilterProjectEnvsContentHintProjectsResponse3$Outbound - | FilterProjectEnvsContentHintProjectsResponse4$Outbound - | FilterProjectEnvsContentHintProjectsResponse5$Outbound - | FilterProjectEnvsContentHintProjectsResponse6$Outbound - | FilterProjectEnvsContentHintProjectsResponse7$Outbound - | FilterProjectEnvsContentHintProjectsResponse8$Outbound - | FilterProjectEnvsContentHintProjectsResponse9$Outbound - | FilterProjectEnvsContentHintProjectsResponse10$Outbound - | FilterProjectEnvsContentHintProjectsResponse11$Outbound - | FilterProjectEnvsContentHintProjectsResponse12$Outbound - | FilterProjectEnvsContentHintProjectsResponse13$Outbound - | FilterProjectEnvsContentHintProjectsResponse15$Outbound - | FilterProjectEnvsContentHintProjectsResponse14$Outbound; - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsContentHint$outboundSchema: - z.ZodType< - FilterProjectEnvsResponseBodyProjectsContentHint$Outbound, - z.ZodTypeDef, - FilterProjectEnvsResponseBodyProjectsContentHint - > = z.union([ - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse1$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse2$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse3$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse4$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse5$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse6$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse7$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse8$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse9$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse10$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse11$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse12$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse13$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse15$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse14$outboundSchema), - ]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBodyProjectsContentHint$ { - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsContentHint$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsResponseBodyProjectsContentHint$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsContentHint$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsResponseBodyProjectsContentHint$outboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsContentHint$Outbound` instead. */ - export type Outbound = - FilterProjectEnvsResponseBodyProjectsContentHint$Outbound; -} - -export function filterProjectEnvsResponseBodyProjectsContentHintToJSON( - filterProjectEnvsResponseBodyProjectsContentHint: - FilterProjectEnvsResponseBodyProjectsContentHint, -): string { - return JSON.stringify( - FilterProjectEnvsResponseBodyProjectsContentHint$outboundSchema.parse( - filterProjectEnvsResponseBodyProjectsContentHint, - ), - ); -} - -export function filterProjectEnvsResponseBodyProjectsContentHintFromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsResponseBodyProjectsContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsResponseBodyProjectsContentHint$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsResponseBodyProjectsContentHint' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type - > = z.nativeEnum( - FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type, - ); - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type - > = - FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$ { - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsInternalContentHint$inboundSchema: - z.ZodType< - FilterProjectEnvsResponseBodyProjectsInternalContentHint, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema, - encryptedValue: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsResponseBodyProjectsInternalContentHint$Outbound = - { - type: string; - encryptedValue: string; - }; - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsInternalContentHint$outboundSchema: - z.ZodType< - FilterProjectEnvsResponseBodyProjectsInternalContentHint$Outbound, - z.ZodTypeDef, - FilterProjectEnvsResponseBodyProjectsInternalContentHint - > = z.object({ - type: - FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema, - encryptedValue: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBodyProjectsInternalContentHint$ { - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsInternalContentHint$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsResponseBodyProjectsInternalContentHint$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsInternalContentHint$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsResponseBodyProjectsInternalContentHint$outboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsInternalContentHint$Outbound` instead. */ - export type Outbound = - FilterProjectEnvsResponseBodyProjectsInternalContentHint$Outbound; -} - -export function filterProjectEnvsResponseBodyProjectsInternalContentHintToJSON( - filterProjectEnvsResponseBodyProjectsInternalContentHint: - FilterProjectEnvsResponseBodyProjectsInternalContentHint, -): string { - return JSON.stringify( - FilterProjectEnvsResponseBodyProjectsInternalContentHint$outboundSchema - .parse(filterProjectEnvsResponseBodyProjectsInternalContentHint), - ); -} - -export function filterProjectEnvsResponseBodyProjectsInternalContentHintFromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsResponseBodyProjectsInternalContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsResponseBodyProjectsInternalContentHint$inboundSchema - .parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsResponseBodyProjectsInternalContentHint' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyEnvs$inboundSchema: z.ZodType< - ResponseBodyEnvs, - z.ZodTypeDef, - unknown -> = z.object({ - target: z.union([ - z.array(FilterProjectEnvsTargetProjects1$inboundSchema), - FilterProjectEnvsTargetProjectsResponse2$inboundSchema, - ]).optional(), - type: FilterProjectEnvsResponseBodyProjectsResponse200Type$inboundSchema - .optional(), - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string().optional(), - value: z.string().optional(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse1$inboundSchema), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse2$inboundSchema - ), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse3$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse4$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse5$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse6$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse7$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse8$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse9$inboundSchema), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse10$inboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse11$inboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse12$inboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse13$inboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse15$inboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse14$inboundSchema - ), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => - FilterProjectEnvsResponseBodyProjectsInternalContentHint$inboundSchema - ), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), - system: z.boolean().optional(), -}); - -/** @internal */ -export type ResponseBodyEnvs$Outbound = { - target?: Array | string | undefined; - type?: string | undefined; - sunsetSecretId?: string | undefined; - id?: string | undefined; - key?: string | undefined; - value?: string | undefined; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | FilterProjectEnvsContentHintProjectsResponse1$Outbound - | FilterProjectEnvsContentHintProjectsResponse2$Outbound - | FilterProjectEnvsContentHintProjectsResponse3$Outbound - | FilterProjectEnvsContentHintProjectsResponse4$Outbound - | FilterProjectEnvsContentHintProjectsResponse5$Outbound - | FilterProjectEnvsContentHintProjectsResponse6$Outbound - | FilterProjectEnvsContentHintProjectsResponse7$Outbound - | FilterProjectEnvsContentHintProjectsResponse8$Outbound - | FilterProjectEnvsContentHintProjectsResponse9$Outbound - | FilterProjectEnvsContentHintProjectsResponse10$Outbound - | FilterProjectEnvsContentHintProjectsResponse11$Outbound - | FilterProjectEnvsContentHintProjectsResponse12$Outbound - | FilterProjectEnvsContentHintProjectsResponse13$Outbound - | FilterProjectEnvsContentHintProjectsResponse15$Outbound - | FilterProjectEnvsContentHintProjectsResponse14$Outbound - | null - | undefined; - internalContentHint?: - | FilterProjectEnvsResponseBodyProjectsInternalContentHint$Outbound - | null - | undefined; - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; - system?: boolean | undefined; -}; - -/** @internal */ -export const ResponseBodyEnvs$outboundSchema: z.ZodType< - ResponseBodyEnvs$Outbound, - z.ZodTypeDef, - ResponseBodyEnvs -> = z.object({ - target: z.union([ - z.array(FilterProjectEnvsTargetProjects1$outboundSchema), - FilterProjectEnvsTargetProjectsResponse2$outboundSchema, - ]).optional(), - type: FilterProjectEnvsResponseBodyProjectsResponse200Type$outboundSchema - .optional(), - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string().optional(), - value: z.string().optional(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse1$outboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse2$outboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse3$outboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse4$outboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse5$outboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse6$outboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse7$outboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse8$outboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse9$outboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse10$outboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse11$outboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse12$outboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse13$outboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse15$outboundSchema - ), - z.lazy(() => - FilterProjectEnvsContentHintProjectsResponse14$outboundSchema - ), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => - FilterProjectEnvsResponseBodyProjectsInternalContentHint$outboundSchema - ), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), - system: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyEnvs$ { - /** @deprecated use `ResponseBodyEnvs$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyEnvs$inboundSchema; - /** @deprecated use `ResponseBodyEnvs$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyEnvs$outboundSchema; - /** @deprecated use `ResponseBodyEnvs$Outbound` instead. */ - export type Outbound = ResponseBodyEnvs$Outbound; -} - -export function responseBodyEnvsToJSON( - responseBodyEnvs: ResponseBodyEnvs, -): string { - return JSON.stringify( - ResponseBodyEnvs$outboundSchema.parse(responseBodyEnvs), - ); -} - -export function responseBodyEnvsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyEnvs$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyEnvs' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsResponseBody3$inboundSchema: z.ZodType< - FilterProjectEnvsResponseBody3, - z.ZodTypeDef, - unknown -> = z.object({ - envs: z.array(z.lazy(() => ResponseBodyEnvs$inboundSchema)), -}); - -/** @internal */ -export type FilterProjectEnvsResponseBody3$Outbound = { - envs: Array; -}; - -/** @internal */ -export const FilterProjectEnvsResponseBody3$outboundSchema: z.ZodType< - FilterProjectEnvsResponseBody3$Outbound, - z.ZodTypeDef, - FilterProjectEnvsResponseBody3 -> = z.object({ - envs: z.array(z.lazy(() => ResponseBodyEnvs$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBody3$ { - /** @deprecated use `FilterProjectEnvsResponseBody3$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsResponseBody3$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBody3$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsResponseBody3$outboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBody3$Outbound` instead. */ - export type Outbound = FilterProjectEnvsResponseBody3$Outbound; -} - -export function filterProjectEnvsResponseBody3ToJSON( - filterProjectEnvsResponseBody3: FilterProjectEnvsResponseBody3, -): string { - return JSON.stringify( - FilterProjectEnvsResponseBody3$outboundSchema.parse( - filterProjectEnvsResponseBody3, - ), - ); -} - -export function filterProjectEnvsResponseBody3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsResponseBody3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsResponseBody3' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsTargetProjects2$inboundSchema: z.ZodNativeEnum< - typeof FilterProjectEnvsTargetProjects2 -> = z.nativeEnum(FilterProjectEnvsTargetProjects2); - -/** @internal */ -export const FilterProjectEnvsTargetProjects2$outboundSchema: z.ZodNativeEnum< - typeof FilterProjectEnvsTargetProjects2 -> = FilterProjectEnvsTargetProjects2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsTargetProjects2$ { - /** @deprecated use `FilterProjectEnvsTargetProjects2$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsTargetProjects2$inboundSchema; - /** @deprecated use `FilterProjectEnvsTargetProjects2$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsTargetProjects2$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsTarget1$inboundSchema: z.ZodNativeEnum< - typeof FilterProjectEnvsTarget1 -> = z.nativeEnum(FilterProjectEnvsTarget1); - -/** @internal */ -export const FilterProjectEnvsTarget1$outboundSchema: z.ZodNativeEnum< - typeof FilterProjectEnvsTarget1 -> = FilterProjectEnvsTarget1$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsTarget1$ { - /** @deprecated use `FilterProjectEnvsTarget1$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsTarget1$inboundSchema; - /** @deprecated use `FilterProjectEnvsTarget1$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsTarget1$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsTarget$inboundSchema: - z.ZodType< - FilterProjectEnvsResponseBodyProjectsTarget, - z.ZodTypeDef, - unknown - > = z.union([ - z.array(FilterProjectEnvsTarget1$inboundSchema), - FilterProjectEnvsTargetProjects2$inboundSchema, - ]); - -/** @internal */ -export type FilterProjectEnvsResponseBodyProjectsTarget$Outbound = - | Array - | string; - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsTarget$outboundSchema: - z.ZodType< - FilterProjectEnvsResponseBodyProjectsTarget$Outbound, - z.ZodTypeDef, - FilterProjectEnvsResponseBodyProjectsTarget - > = z.union([ - z.array(FilterProjectEnvsTarget1$outboundSchema), - FilterProjectEnvsTargetProjects2$outboundSchema, - ]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBodyProjectsTarget$ { - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsTarget$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsResponseBodyProjectsTarget$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsTarget$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsResponseBodyProjectsTarget$outboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsTarget$Outbound` instead. */ - export type Outbound = FilterProjectEnvsResponseBodyProjectsTarget$Outbound; -} - -export function filterProjectEnvsResponseBodyProjectsTargetToJSON( - filterProjectEnvsResponseBodyProjectsTarget: - FilterProjectEnvsResponseBodyProjectsTarget, -): string { - return JSON.stringify( - FilterProjectEnvsResponseBodyProjectsTarget$outboundSchema.parse( - filterProjectEnvsResponseBodyProjectsTarget, - ), - ); -} - -export function filterProjectEnvsResponseBodyProjectsTargetFromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsResponseBodyProjectsTarget, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsResponseBodyProjectsTarget$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsResponseBodyProjectsTarget' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(FilterProjectEnvsResponseBodyProjectsResponseType); - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsResponseType$outboundSchema: - z.ZodNativeEnum = - FilterProjectEnvsResponseBodyProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBodyProjectsResponseType$ { - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsResponseBodyProjectsResponseType$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsResponseBodyProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjects15$inboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects15, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$inboundSchema, - projectId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHintProjects15$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjects15$outboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects15$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjects15 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjects15$ { - /** @deprecated use `FilterProjectEnvsContentHintProjects15$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjects15$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects15$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjects15$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects15$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjects15$Outbound; -} - -export function filterProjectEnvsContentHintProjects15ToJSON( - filterProjectEnvsContentHintProjects15: - FilterProjectEnvsContentHintProjects15, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjects15$outboundSchema.parse( - filterProjectEnvsContentHintProjects15, - ), - ); -} - -export function filterProjectEnvsContentHintProjects15FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjects15$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHintProjects15' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjects14$inboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects14, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$inboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHintProjects14$Outbound = { - type: string; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjects14$outboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects14$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjects14 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$outboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjects14$ { - /** @deprecated use `FilterProjectEnvsContentHintProjects14$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjects14$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects14$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjects14$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects14$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjects14$Outbound; -} - -export function filterProjectEnvsContentHintProjects14ToJSON( - filterProjectEnvsContentHintProjects14: - FilterProjectEnvsContentHintProjects14, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjects14$outboundSchema.parse( - filterProjectEnvsContentHintProjects14, - ), - ); -} - -export function filterProjectEnvsContentHintProjects14FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjects14$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHintProjects14' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjects13$inboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects13, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHintProjects13$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjects13$outboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects13$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjects13 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjects13$ { - /** @deprecated use `FilterProjectEnvsContentHintProjects13$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjects13$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects13$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjects13$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects13$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjects13$Outbound; -} - -export function filterProjectEnvsContentHintProjects13ToJSON( - filterProjectEnvsContentHintProjects13: - FilterProjectEnvsContentHintProjects13, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjects13$outboundSchema.parse( - filterProjectEnvsContentHintProjects13, - ), - ); -} - -export function filterProjectEnvsContentHintProjects13FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjects13$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHintProjects13' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjects12$inboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects12, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHintProjects12$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjects12$outboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects12$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjects12 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjects12$ { - /** @deprecated use `FilterProjectEnvsContentHintProjects12$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjects12$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects12$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjects12$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects12$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjects12$Outbound; -} - -export function filterProjectEnvsContentHintProjects12ToJSON( - filterProjectEnvsContentHintProjects12: - FilterProjectEnvsContentHintProjects12, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjects12$outboundSchema.parse( - filterProjectEnvsContentHintProjects12, - ), - ); -} - -export function filterProjectEnvsContentHintProjects12FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjects12$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHintProjects12' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjects11$inboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects11, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHintProjects11$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjects11$outboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects11$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjects11 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjects11$ { - /** @deprecated use `FilterProjectEnvsContentHintProjects11$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjects11$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects11$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjects11$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects11$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjects11$Outbound; -} - -export function filterProjectEnvsContentHintProjects11ToJSON( - filterProjectEnvsContentHintProjects11: - FilterProjectEnvsContentHintProjects11, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjects11$outboundSchema.parse( - filterProjectEnvsContentHintProjects11, - ), - ); -} - -export function filterProjectEnvsContentHintProjects11FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjects11$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHintProjects11' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjects10$inboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects10, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHintProjects10$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjects10$outboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects10$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjects10 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjects10$ { - /** @deprecated use `FilterProjectEnvsContentHintProjects10$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjects10$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects10$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjects10$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects10$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjects10$Outbound; -} - -export function filterProjectEnvsContentHintProjects10ToJSON( - filterProjectEnvsContentHintProjects10: - FilterProjectEnvsContentHintProjects10, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjects10$outboundSchema.parse( - filterProjectEnvsContentHintProjects10, - ), - ); -} - -export function filterProjectEnvsContentHintProjects10FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjects10$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHintProjects10' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjects9$inboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHintProjects9$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjects9$outboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects9$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjects9 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjects9$ { - /** @deprecated use `FilterProjectEnvsContentHintProjects9$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjects9$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects9$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjects9$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects9$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjects9$Outbound; -} - -export function filterProjectEnvsContentHintProjects9ToJSON( - filterProjectEnvsContentHintProjects9: FilterProjectEnvsContentHintProjects9, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjects9$outboundSchema.parse( - filterProjectEnvsContentHintProjects9, - ), - ); -} - -export function filterProjectEnvsContentHintProjects9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjects9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHintProjects9' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjects8$inboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHintProjects8$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjects8$outboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects8$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjects8 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjects8$ { - /** @deprecated use `FilterProjectEnvsContentHintProjects8$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjects8$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects8$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjects8$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects8$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjects8$Outbound; -} - -export function filterProjectEnvsContentHintProjects8ToJSON( - filterProjectEnvsContentHintProjects8: FilterProjectEnvsContentHintProjects8, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjects8$outboundSchema.parse( - filterProjectEnvsContentHintProjects8, - ), - ); -} - -export function filterProjectEnvsContentHintProjects8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjects8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHintProjects8' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjects7$inboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHintProjects7$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjects7$outboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects7$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjects7 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjects7$ { - /** @deprecated use `FilterProjectEnvsContentHintProjects7$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjects7$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects7$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjects7$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects7$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjects7$Outbound; -} - -export function filterProjectEnvsContentHintProjects7ToJSON( - filterProjectEnvsContentHintProjects7: FilterProjectEnvsContentHintProjects7, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjects7$outboundSchema.parse( - filterProjectEnvsContentHintProjects7, - ), - ); -} - -export function filterProjectEnvsContentHintProjects7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjects7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHintProjects7' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjects6$inboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHintProjects6$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjects6$outboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects6$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjects6 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjects6$ { - /** @deprecated use `FilterProjectEnvsContentHintProjects6$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjects6$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects6$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjects6$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects6$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjects6$Outbound; -} - -export function filterProjectEnvsContentHintProjects6ToJSON( - filterProjectEnvsContentHintProjects6: FilterProjectEnvsContentHintProjects6, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjects6$outboundSchema.parse( - filterProjectEnvsContentHintProjects6, - ), - ); -} - -export function filterProjectEnvsContentHintProjects6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjects6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHintProjects6' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjects5$inboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects5, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHintProjects5$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjects5$outboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects5$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjects5 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjects5$ { - /** @deprecated use `FilterProjectEnvsContentHintProjects5$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjects5$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects5$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjects5$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects5$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjects5$Outbound; -} - -export function filterProjectEnvsContentHintProjects5ToJSON( - filterProjectEnvsContentHintProjects5: FilterProjectEnvsContentHintProjects5, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjects5$outboundSchema.parse( - filterProjectEnvsContentHintProjects5, - ), - ); -} - -export function filterProjectEnvsContentHintProjects5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjects5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHintProjects5' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjects4$inboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects4, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHintProjects4$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjects4$outboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects4$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjects4 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjects4$ { - /** @deprecated use `FilterProjectEnvsContentHintProjects4$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjects4$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects4$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjects4$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects4$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjects4$Outbound; -} - -export function filterProjectEnvsContentHintProjects4ToJSON( - filterProjectEnvsContentHintProjects4: FilterProjectEnvsContentHintProjects4, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjects4$outboundSchema.parse( - filterProjectEnvsContentHintProjects4, - ), - ); -} - -export function filterProjectEnvsContentHintProjects4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjects4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHintProjects4' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjects3$inboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects3, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHintProjects3$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjects3$outboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects3$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjects3 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjects3$ { - /** @deprecated use `FilterProjectEnvsContentHintProjects3$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjects3$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects3$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjects3$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects3$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjects3$Outbound; -} - -export function filterProjectEnvsContentHintProjects3ToJSON( - filterProjectEnvsContentHintProjects3: FilterProjectEnvsContentHintProjects3, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjects3$outboundSchema.parse( - filterProjectEnvsContentHintProjects3, - ), - ); -} - -export function filterProjectEnvsContentHintProjects3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjects3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHintProjects3' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjects2$inboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects2, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHintProjects2$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjects2$outboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects2$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjects2 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjects2$ { - /** @deprecated use `FilterProjectEnvsContentHintProjects2$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjects2$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects2$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjects2$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects2$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjects2$Outbound; -} - -export function filterProjectEnvsContentHintProjects2ToJSON( - filterProjectEnvsContentHintProjects2: FilterProjectEnvsContentHintProjects2, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjects2$outboundSchema.parse( - filterProjectEnvsContentHintProjects2, - ), - ); -} - -export function filterProjectEnvsContentHintProjects2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjects2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHintProjects2' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjects1$inboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects1, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHintProjects1$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHintProjects1$outboundSchema: z.ZodType< - FilterProjectEnvsContentHintProjects1$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHintProjects1 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjects1$ { - /** @deprecated use `FilterProjectEnvsContentHintProjects1$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjects1$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects1$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjects1$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjects1$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHintProjects1$Outbound; -} - -export function filterProjectEnvsContentHintProjects1ToJSON( - filterProjectEnvsContentHintProjects1: FilterProjectEnvsContentHintProjects1, -): string { - return JSON.stringify( - FilterProjectEnvsContentHintProjects1$outboundSchema.parse( - filterProjectEnvsContentHintProjects1, - ), - ); -} - -export function filterProjectEnvsContentHintProjects1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsContentHintProjects1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHintProjects1' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsResponseBodyContentHint$inboundSchema: z.ZodType< - FilterProjectEnvsResponseBodyContentHint, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => FilterProjectEnvsContentHintProjects1$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects2$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects3$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects4$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects5$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects6$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects7$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects8$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects9$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects10$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects11$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects12$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects13$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects15$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects14$inboundSchema), -]); - -/** @internal */ -export type FilterProjectEnvsResponseBodyContentHint$Outbound = - | FilterProjectEnvsContentHintProjects1$Outbound - | FilterProjectEnvsContentHintProjects2$Outbound - | FilterProjectEnvsContentHintProjects3$Outbound - | FilterProjectEnvsContentHintProjects4$Outbound - | FilterProjectEnvsContentHintProjects5$Outbound - | FilterProjectEnvsContentHintProjects6$Outbound - | FilterProjectEnvsContentHintProjects7$Outbound - | FilterProjectEnvsContentHintProjects8$Outbound - | FilterProjectEnvsContentHintProjects9$Outbound - | FilterProjectEnvsContentHintProjects10$Outbound - | FilterProjectEnvsContentHintProjects11$Outbound - | FilterProjectEnvsContentHintProjects12$Outbound - | FilterProjectEnvsContentHintProjects13$Outbound - | FilterProjectEnvsContentHintProjects15$Outbound - | FilterProjectEnvsContentHintProjects14$Outbound; - -/** @internal */ -export const FilterProjectEnvsResponseBodyContentHint$outboundSchema: z.ZodType< - FilterProjectEnvsResponseBodyContentHint$Outbound, - z.ZodTypeDef, - FilterProjectEnvsResponseBodyContentHint -> = z.union([ - z.lazy(() => FilterProjectEnvsContentHintProjects1$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects2$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects3$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects4$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects5$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects6$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects7$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects8$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects9$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects10$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects11$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects12$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects13$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects15$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects14$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBodyContentHint$ { - /** @deprecated use `FilterProjectEnvsResponseBodyContentHint$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsResponseBodyContentHint$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyContentHint$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsResponseBodyContentHint$outboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyContentHint$Outbound` instead. */ - export type Outbound = FilterProjectEnvsResponseBodyContentHint$Outbound; -} - -export function filterProjectEnvsResponseBodyContentHintToJSON( - filterProjectEnvsResponseBodyContentHint: - FilterProjectEnvsResponseBodyContentHint, -): string { - return JSON.stringify( - FilterProjectEnvsResponseBodyContentHint$outboundSchema.parse( - filterProjectEnvsResponseBodyContentHint, - ), - ); -} - -export function filterProjectEnvsResponseBodyContentHintFromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsResponseBodyContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsResponseBodyContentHint$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsResponseBodyContentHint' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType - > = z.nativeEnum( - FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType, - ); - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType - > = - FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsResponseBodyInternalContentHint$inboundSchema: - z.ZodType< - FilterProjectEnvsResponseBodyInternalContentHint, - z.ZodTypeDef, - unknown - > = z.object({ - type: - FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema, - encryptedValue: z.string(), - }); - -/** @internal */ -export type FilterProjectEnvsResponseBodyInternalContentHint$Outbound = { - type: string; - encryptedValue: string; -}; - -/** @internal */ -export const FilterProjectEnvsResponseBodyInternalContentHint$outboundSchema: - z.ZodType< - FilterProjectEnvsResponseBodyInternalContentHint$Outbound, - z.ZodTypeDef, - FilterProjectEnvsResponseBodyInternalContentHint - > = z.object({ - type: - FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema, - encryptedValue: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBodyInternalContentHint$ { - /** @deprecated use `FilterProjectEnvsResponseBodyInternalContentHint$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsResponseBodyInternalContentHint$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyInternalContentHint$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsResponseBodyInternalContentHint$outboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyInternalContentHint$Outbound` instead. */ - export type Outbound = - FilterProjectEnvsResponseBodyInternalContentHint$Outbound; -} - -export function filterProjectEnvsResponseBodyInternalContentHintToJSON( - filterProjectEnvsResponseBodyInternalContentHint: - FilterProjectEnvsResponseBodyInternalContentHint, -): string { - return JSON.stringify( - FilterProjectEnvsResponseBodyInternalContentHint$outboundSchema.parse( - filterProjectEnvsResponseBodyInternalContentHint, - ), - ); -} - -export function filterProjectEnvsResponseBodyInternalContentHintFromJSON( - jsonString: string, -): SafeParseResult< - FilterProjectEnvsResponseBodyInternalContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsResponseBodyInternalContentHint$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'FilterProjectEnvsResponseBodyInternalContentHint' from JSON`, - ); -} - -/** @internal */ -export const Envs$inboundSchema: z.ZodType = z - .object({ - target: z.union([ - z.array(FilterProjectEnvsTarget1$inboundSchema), - FilterProjectEnvsTargetProjects2$inboundSchema, - ]).optional(), - type: FilterProjectEnvsResponseBodyProjectsResponseType$inboundSchema - .optional(), - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string().optional(), - value: z.string().optional(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => FilterProjectEnvsContentHintProjects1$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects2$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects3$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects4$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects5$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects6$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects7$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects8$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects9$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects10$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects11$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects12$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects13$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects15$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects14$inboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => - FilterProjectEnvsResponseBodyInternalContentHint$inboundSchema - ), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), - system: z.boolean().optional(), - }); - -/** @internal */ -export type Envs$Outbound = { - target?: Array | string | undefined; - type?: string | undefined; - sunsetSecretId?: string | undefined; - id?: string | undefined; - key?: string | undefined; - value?: string | undefined; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | FilterProjectEnvsContentHintProjects1$Outbound - | FilterProjectEnvsContentHintProjects2$Outbound - | FilterProjectEnvsContentHintProjects3$Outbound - | FilterProjectEnvsContentHintProjects4$Outbound - | FilterProjectEnvsContentHintProjects5$Outbound - | FilterProjectEnvsContentHintProjects6$Outbound - | FilterProjectEnvsContentHintProjects7$Outbound - | FilterProjectEnvsContentHintProjects8$Outbound - | FilterProjectEnvsContentHintProjects9$Outbound - | FilterProjectEnvsContentHintProjects10$Outbound - | FilterProjectEnvsContentHintProjects11$Outbound - | FilterProjectEnvsContentHintProjects12$Outbound - | FilterProjectEnvsContentHintProjects13$Outbound - | FilterProjectEnvsContentHintProjects15$Outbound - | FilterProjectEnvsContentHintProjects14$Outbound - | null - | undefined; - internalContentHint?: - | FilterProjectEnvsResponseBodyInternalContentHint$Outbound - | null - | undefined; - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; - system?: boolean | undefined; -}; - -/** @internal */ -export const Envs$outboundSchema: z.ZodType = - z.object({ - target: z.union([ - z.array(FilterProjectEnvsTarget1$outboundSchema), - FilterProjectEnvsTargetProjects2$outboundSchema, - ]).optional(), - type: FilterProjectEnvsResponseBodyProjectsResponseType$outboundSchema - .optional(), - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string().optional(), - value: z.string().optional(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => FilterProjectEnvsContentHintProjects1$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects2$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects3$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects4$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects5$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects6$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects7$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects8$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects9$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects10$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects11$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects12$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects13$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects15$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects14$outboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => - FilterProjectEnvsResponseBodyInternalContentHint$outboundSchema - ), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), - system: z.boolean().optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Envs$ { - /** @deprecated use `Envs$inboundSchema` instead. */ - export const inboundSchema = Envs$inboundSchema; - /** @deprecated use `Envs$outboundSchema` instead. */ - export const outboundSchema = Envs$outboundSchema; - /** @deprecated use `Envs$Outbound` instead. */ - export type Outbound = Envs$Outbound; -} - -export function envsToJSON(envs: Envs): string { - return JSON.stringify(Envs$outboundSchema.parse(envs)); -} - -export function envsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Envs$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Envs' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsResponseBody2$inboundSchema: z.ZodType< - FilterProjectEnvsResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - envs: z.array(z.lazy(() => Envs$inboundSchema)), - pagination: Pagination$inboundSchema, -}); - -/** @internal */ -export type FilterProjectEnvsResponseBody2$Outbound = { - envs: Array; - pagination: Pagination$Outbound; -}; - -/** @internal */ -export const FilterProjectEnvsResponseBody2$outboundSchema: z.ZodType< - FilterProjectEnvsResponseBody2$Outbound, - z.ZodTypeDef, - FilterProjectEnvsResponseBody2 -> = z.object({ - envs: z.array(z.lazy(() => Envs$outboundSchema)), - pagination: Pagination$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBody2$ { - /** @deprecated use `FilterProjectEnvsResponseBody2$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsResponseBody2$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBody2$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsResponseBody2$outboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBody2$Outbound` instead. */ - export type Outbound = FilterProjectEnvsResponseBody2$Outbound; -} - -export function filterProjectEnvsResponseBody2ToJSON( - filterProjectEnvsResponseBody2: FilterProjectEnvsResponseBody2, -): string { - return JSON.stringify( - FilterProjectEnvsResponseBody2$outboundSchema.parse( - filterProjectEnvsResponseBody2, - ), - ); -} - -export function filterProjectEnvsResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsTarget2$inboundSchema: z.ZodNativeEnum< - typeof FilterProjectEnvsTarget2 -> = z.nativeEnum(FilterProjectEnvsTarget2); - -/** @internal */ -export const FilterProjectEnvsTarget2$outboundSchema: z.ZodNativeEnum< - typeof FilterProjectEnvsTarget2 -> = FilterProjectEnvsTarget2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsTarget2$ { - /** @deprecated use `FilterProjectEnvsTarget2$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsTarget2$inboundSchema; - /** @deprecated use `FilterProjectEnvsTarget2$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsTarget2$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsResponseBodyTarget$inboundSchema: z.ZodType< - FilterProjectEnvsResponseBodyTarget, - z.ZodTypeDef, - unknown -> = z.union([z.array(z.string()), FilterProjectEnvsTarget2$inboundSchema]); - -/** @internal */ -export type FilterProjectEnvsResponseBodyTarget$Outbound = - | Array - | string; - -/** @internal */ -export const FilterProjectEnvsResponseBodyTarget$outboundSchema: z.ZodType< - FilterProjectEnvsResponseBodyTarget$Outbound, - z.ZodTypeDef, - FilterProjectEnvsResponseBodyTarget -> = z.union([z.array(z.string()), FilterProjectEnvsTarget2$outboundSchema]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBodyTarget$ { - /** @deprecated use `FilterProjectEnvsResponseBodyTarget$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsResponseBodyTarget$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyTarget$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsResponseBodyTarget$outboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyTarget$Outbound` instead. */ - export type Outbound = FilterProjectEnvsResponseBodyTarget$Outbound; -} - -export function filterProjectEnvsResponseBodyTargetToJSON( - filterProjectEnvsResponseBodyTarget: FilterProjectEnvsResponseBodyTarget, -): string { - return JSON.stringify( - FilterProjectEnvsResponseBodyTarget$outboundSchema.parse( - filterProjectEnvsResponseBodyTarget, - ), - ); -} - -export function filterProjectEnvsResponseBodyTargetFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - FilterProjectEnvsResponseBodyTarget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsResponseBodyTarget' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsResponseBodyType$inboundSchema: z.ZodNativeEnum< - typeof FilterProjectEnvsResponseBodyType -> = z.nativeEnum(FilterProjectEnvsResponseBodyType); - -/** @internal */ -export const FilterProjectEnvsResponseBodyType$outboundSchema: z.ZodNativeEnum< - typeof FilterProjectEnvsResponseBodyType -> = FilterProjectEnvsResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBodyType$ { - /** @deprecated use `FilterProjectEnvsResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsResponseBodyType$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsResponseBodyType$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHint15$inboundSchema: z.ZodType< - FilterProjectEnvsContentHint15, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema, - projectId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHint15$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHint15$outboundSchema: z.ZodType< - FilterProjectEnvsContentHint15$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHint15 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHint15$ { - /** @deprecated use `FilterProjectEnvsContentHint15$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsContentHint15$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint15$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsContentHint15$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint15$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHint15$Outbound; -} - -export function filterProjectEnvsContentHint15ToJSON( - filterProjectEnvsContentHint15: FilterProjectEnvsContentHint15, -): string { - return JSON.stringify( - FilterProjectEnvsContentHint15$outboundSchema.parse( - filterProjectEnvsContentHint15, - ), - ); -} - -export function filterProjectEnvsContentHint15FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsContentHint15$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHint15' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHint14$inboundSchema: z.ZodType< - FilterProjectEnvsContentHint14, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHint14$Outbound = { - type: string; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHint14$outboundSchema: z.ZodType< - FilterProjectEnvsContentHint14$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHint14 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHint14$ { - /** @deprecated use `FilterProjectEnvsContentHint14$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsContentHint14$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint14$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsContentHint14$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint14$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHint14$Outbound; -} - -export function filterProjectEnvsContentHint14ToJSON( - filterProjectEnvsContentHint14: FilterProjectEnvsContentHint14, -): string { - return JSON.stringify( - FilterProjectEnvsContentHint14$outboundSchema.parse( - filterProjectEnvsContentHint14, - ), - ); -} - -export function filterProjectEnvsContentHint14FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsContentHint14$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHint14' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHint13$inboundSchema: z.ZodType< - FilterProjectEnvsContentHint13, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHint13$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHint13$outboundSchema: z.ZodType< - FilterProjectEnvsContentHint13$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHint13 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHint13$ { - /** @deprecated use `FilterProjectEnvsContentHint13$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsContentHint13$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint13$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsContentHint13$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint13$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHint13$Outbound; -} - -export function filterProjectEnvsContentHint13ToJSON( - filterProjectEnvsContentHint13: FilterProjectEnvsContentHint13, -): string { - return JSON.stringify( - FilterProjectEnvsContentHint13$outboundSchema.parse( - filterProjectEnvsContentHint13, - ), - ); -} - -export function filterProjectEnvsContentHint13FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsContentHint13$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHint13' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHint12$inboundSchema: z.ZodType< - FilterProjectEnvsContentHint12, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHint12$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHint12$outboundSchema: z.ZodType< - FilterProjectEnvsContentHint12$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHint12 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHint12$ { - /** @deprecated use `FilterProjectEnvsContentHint12$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsContentHint12$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint12$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsContentHint12$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint12$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHint12$Outbound; -} - -export function filterProjectEnvsContentHint12ToJSON( - filterProjectEnvsContentHint12: FilterProjectEnvsContentHint12, -): string { - return JSON.stringify( - FilterProjectEnvsContentHint12$outboundSchema.parse( - filterProjectEnvsContentHint12, - ), - ); -} - -export function filterProjectEnvsContentHint12FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsContentHint12$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHint12' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHint11$inboundSchema: z.ZodType< - FilterProjectEnvsContentHint11, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHint11$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHint11$outboundSchema: z.ZodType< - FilterProjectEnvsContentHint11$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHint11 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHint11$ { - /** @deprecated use `FilterProjectEnvsContentHint11$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsContentHint11$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint11$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsContentHint11$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint11$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHint11$Outbound; -} - -export function filterProjectEnvsContentHint11ToJSON( - filterProjectEnvsContentHint11: FilterProjectEnvsContentHint11, -): string { - return JSON.stringify( - FilterProjectEnvsContentHint11$outboundSchema.parse( - filterProjectEnvsContentHint11, - ), - ); -} - -export function filterProjectEnvsContentHint11FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsContentHint11$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHint11' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHint10$inboundSchema: z.ZodType< - FilterProjectEnvsContentHint10, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHint10$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHint10$outboundSchema: z.ZodType< - FilterProjectEnvsContentHint10$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHint10 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHint10$ { - /** @deprecated use `FilterProjectEnvsContentHint10$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsContentHint10$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint10$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsContentHint10$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint10$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHint10$Outbound; -} - -export function filterProjectEnvsContentHint10ToJSON( - filterProjectEnvsContentHint10: FilterProjectEnvsContentHint10, -): string { - return JSON.stringify( - FilterProjectEnvsContentHint10$outboundSchema.parse( - filterProjectEnvsContentHint10, - ), - ); -} - -export function filterProjectEnvsContentHint10FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsContentHint10$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHint10' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHint9$inboundSchema: z.ZodType< - FilterProjectEnvsContentHint9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHint9$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHint9$outboundSchema: z.ZodType< - FilterProjectEnvsContentHint9$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHint9 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHint9$ { - /** @deprecated use `FilterProjectEnvsContentHint9$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsContentHint9$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint9$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsContentHint9$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint9$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHint9$Outbound; -} - -export function filterProjectEnvsContentHint9ToJSON( - filterProjectEnvsContentHint9: FilterProjectEnvsContentHint9, -): string { - return JSON.stringify( - FilterProjectEnvsContentHint9$outboundSchema.parse( - filterProjectEnvsContentHint9, - ), - ); -} - -export function filterProjectEnvsContentHint9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsContentHint9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHint9' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHint8$inboundSchema: z.ZodType< - FilterProjectEnvsContentHint8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHint8$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHint8$outboundSchema: z.ZodType< - FilterProjectEnvsContentHint8$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHint8 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHint8$ { - /** @deprecated use `FilterProjectEnvsContentHint8$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsContentHint8$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint8$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsContentHint8$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint8$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHint8$Outbound; -} - -export function filterProjectEnvsContentHint8ToJSON( - filterProjectEnvsContentHint8: FilterProjectEnvsContentHint8, -): string { - return JSON.stringify( - FilterProjectEnvsContentHint8$outboundSchema.parse( - filterProjectEnvsContentHint8, - ), - ); -} - -export function filterProjectEnvsContentHint8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsContentHint8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHint8' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHint7$inboundSchema: z.ZodType< - FilterProjectEnvsContentHint7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHint7$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHint7$outboundSchema: z.ZodType< - FilterProjectEnvsContentHint7$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHint7 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHint7$ { - /** @deprecated use `FilterProjectEnvsContentHint7$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsContentHint7$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint7$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsContentHint7$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint7$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHint7$Outbound; -} - -export function filterProjectEnvsContentHint7ToJSON( - filterProjectEnvsContentHint7: FilterProjectEnvsContentHint7, -): string { - return JSON.stringify( - FilterProjectEnvsContentHint7$outboundSchema.parse( - filterProjectEnvsContentHint7, - ), - ); -} - -export function filterProjectEnvsContentHint7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsContentHint7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHint7' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHint6$inboundSchema: z.ZodType< - FilterProjectEnvsContentHint6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHint6$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHint6$outboundSchema: z.ZodType< - FilterProjectEnvsContentHint6$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHint6 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHint6$ { - /** @deprecated use `FilterProjectEnvsContentHint6$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsContentHint6$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint6$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsContentHint6$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint6$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHint6$Outbound; -} - -export function filterProjectEnvsContentHint6ToJSON( - filterProjectEnvsContentHint6: FilterProjectEnvsContentHint6, -): string { - return JSON.stringify( - FilterProjectEnvsContentHint6$outboundSchema.parse( - filterProjectEnvsContentHint6, - ), - ); -} - -export function filterProjectEnvsContentHint6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsContentHint6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHint6' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType - > = z.nativeEnum( - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType, - ); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType - > = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHint5$inboundSchema: z.ZodType< - FilterProjectEnvsContentHint5, - z.ZodTypeDef, - unknown -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHint5$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHint5$outboundSchema: z.ZodType< - FilterProjectEnvsContentHint5$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHint5 -> = z.object({ - type: - FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHint5$ { - /** @deprecated use `FilterProjectEnvsContentHint5$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsContentHint5$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint5$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsContentHint5$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint5$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHint5$Outbound; -} - -export function filterProjectEnvsContentHint5ToJSON( - filterProjectEnvsContentHint5: FilterProjectEnvsContentHint5, -): string { - return JSON.stringify( - FilterProjectEnvsContentHint5$outboundSchema.parse( - filterProjectEnvsContentHint5, - ), - ); -} - -export function filterProjectEnvsContentHint5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsContentHint5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHint5' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = - z.nativeEnum(FilterProjectEnvsContentHintProjectsResponse200Type); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponse200Type$outboundSchema: - z.ZodNativeEnum = - FilterProjectEnvsContentHintProjectsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponse200Type$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponse200Type$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponse200Type$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHint4$inboundSchema: z.ZodType< - FilterProjectEnvsContentHint4, - z.ZodTypeDef, - unknown -> = z.object({ - type: FilterProjectEnvsContentHintProjectsResponse200Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHint4$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHint4$outboundSchema: z.ZodType< - FilterProjectEnvsContentHint4$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHint4 -> = z.object({ - type: FilterProjectEnvsContentHintProjectsResponse200Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHint4$ { - /** @deprecated use `FilterProjectEnvsContentHint4$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsContentHint4$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint4$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsContentHint4$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint4$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHint4$Outbound; -} - -export function filterProjectEnvsContentHint4ToJSON( - filterProjectEnvsContentHint4: FilterProjectEnvsContentHint4, -): string { - return JSON.stringify( - FilterProjectEnvsContentHint4$outboundSchema.parse( - filterProjectEnvsContentHint4, - ), - ); -} - -export function filterProjectEnvsContentHint4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsContentHint4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHint4' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(FilterProjectEnvsContentHintProjectsResponseType); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsResponseType$outboundSchema: - z.ZodNativeEnum = - FilterProjectEnvsContentHintProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsResponseType$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsResponseType$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHint3$inboundSchema: z.ZodType< - FilterProjectEnvsContentHint3, - z.ZodTypeDef, - unknown -> = z.object({ - type: FilterProjectEnvsContentHintProjectsResponseType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHint3$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHint3$outboundSchema: z.ZodType< - FilterProjectEnvsContentHint3$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHint3 -> = z.object({ - type: FilterProjectEnvsContentHintProjectsResponseType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHint3$ { - /** @deprecated use `FilterProjectEnvsContentHint3$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsContentHint3$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint3$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsContentHint3$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint3$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHint3$Outbound; -} - -export function filterProjectEnvsContentHint3ToJSON( - filterProjectEnvsContentHint3: FilterProjectEnvsContentHint3, -): string { - return JSON.stringify( - FilterProjectEnvsContentHint3$outboundSchema.parse( - filterProjectEnvsContentHint3, - ), - ); -} - -export function filterProjectEnvsContentHint3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsContentHint3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHint3' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(FilterProjectEnvsContentHintProjectsType); - -/** @internal */ -export const FilterProjectEnvsContentHintProjectsType$outboundSchema: - z.ZodNativeEnum = - FilterProjectEnvsContentHintProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintProjectsType$ { - /** @deprecated use `FilterProjectEnvsContentHintProjectsType$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsContentHintProjectsType$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintProjectsType$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsContentHintProjectsType$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHint2$inboundSchema: z.ZodType< - FilterProjectEnvsContentHint2, - z.ZodTypeDef, - unknown -> = z.object({ - type: FilterProjectEnvsContentHintProjectsType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHint2$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHint2$outboundSchema: z.ZodType< - FilterProjectEnvsContentHint2$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHint2 -> = z.object({ - type: FilterProjectEnvsContentHintProjectsType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHint2$ { - /** @deprecated use `FilterProjectEnvsContentHint2$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsContentHint2$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint2$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsContentHint2$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint2$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHint2$Outbound; -} - -export function filterProjectEnvsContentHint2ToJSON( - filterProjectEnvsContentHint2: FilterProjectEnvsContentHint2, -): string { - return JSON.stringify( - FilterProjectEnvsContentHint2$outboundSchema.parse( - filterProjectEnvsContentHint2, - ), - ); -} - -export function filterProjectEnvsContentHint2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsContentHint2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHint2' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsContentHintType$inboundSchema: z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintType -> = z.nativeEnum(FilterProjectEnvsContentHintType); - -/** @internal */ -export const FilterProjectEnvsContentHintType$outboundSchema: z.ZodNativeEnum< - typeof FilterProjectEnvsContentHintType -> = FilterProjectEnvsContentHintType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHintType$ { - /** @deprecated use `FilterProjectEnvsContentHintType$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsContentHintType$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHintType$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsContentHintType$outboundSchema; -} - -/** @internal */ -export const FilterProjectEnvsContentHint1$inboundSchema: z.ZodType< - FilterProjectEnvsContentHint1, - z.ZodTypeDef, - unknown -> = z.object({ - type: FilterProjectEnvsContentHintType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type FilterProjectEnvsContentHint1$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const FilterProjectEnvsContentHint1$outboundSchema: z.ZodType< - FilterProjectEnvsContentHint1$Outbound, - z.ZodTypeDef, - FilterProjectEnvsContentHint1 -> = z.object({ - type: FilterProjectEnvsContentHintType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsContentHint1$ { - /** @deprecated use `FilterProjectEnvsContentHint1$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsContentHint1$inboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint1$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsContentHint1$outboundSchema; - /** @deprecated use `FilterProjectEnvsContentHint1$Outbound` instead. */ - export type Outbound = FilterProjectEnvsContentHint1$Outbound; -} - -export function filterProjectEnvsContentHint1ToJSON( - filterProjectEnvsContentHint1: FilterProjectEnvsContentHint1, -): string { - return JSON.stringify( - FilterProjectEnvsContentHint1$outboundSchema.parse( - filterProjectEnvsContentHint1, - ), - ); -} - -export function filterProjectEnvsContentHint1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsContentHint1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsContentHint1' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyContentHint$inboundSchema: z.ZodType< - ResponseBodyContentHint, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => FilterProjectEnvsContentHint1$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint2$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint3$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint4$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint5$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint6$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint7$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint8$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint9$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint10$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint11$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint12$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint13$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint15$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint14$inboundSchema), -]); - -/** @internal */ -export type ResponseBodyContentHint$Outbound = - | FilterProjectEnvsContentHint1$Outbound - | FilterProjectEnvsContentHint2$Outbound - | FilterProjectEnvsContentHint3$Outbound - | FilterProjectEnvsContentHint4$Outbound - | FilterProjectEnvsContentHint5$Outbound - | FilterProjectEnvsContentHint6$Outbound - | FilterProjectEnvsContentHint7$Outbound - | FilterProjectEnvsContentHint8$Outbound - | FilterProjectEnvsContentHint9$Outbound - | FilterProjectEnvsContentHint10$Outbound - | FilterProjectEnvsContentHint11$Outbound - | FilterProjectEnvsContentHint12$Outbound - | FilterProjectEnvsContentHint13$Outbound - | FilterProjectEnvsContentHint15$Outbound - | FilterProjectEnvsContentHint14$Outbound; - -/** @internal */ -export const ResponseBodyContentHint$outboundSchema: z.ZodType< - ResponseBodyContentHint$Outbound, - z.ZodTypeDef, - ResponseBodyContentHint -> = z.union([ - z.lazy(() => FilterProjectEnvsContentHint1$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint2$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint3$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint4$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint5$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint6$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint7$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint8$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint9$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint10$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint11$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint12$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint13$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint15$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint14$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyContentHint$ { - /** @deprecated use `ResponseBodyContentHint$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyContentHint$inboundSchema; - /** @deprecated use `ResponseBodyContentHint$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyContentHint$outboundSchema; - /** @deprecated use `ResponseBodyContentHint$Outbound` instead. */ - export type Outbound = ResponseBodyContentHint$Outbound; -} - -export function responseBodyContentHintToJSON( - responseBodyContentHint: ResponseBodyContentHint, -): string { - return JSON.stringify( - ResponseBodyContentHint$outboundSchema.parse(responseBodyContentHint), - ); -} - -export function responseBodyContentHintFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyContentHint$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyContentHint' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(FilterProjectEnvsResponseBodyProjectsType); - -/** @internal */ -export const FilterProjectEnvsResponseBodyProjectsType$outboundSchema: - z.ZodNativeEnum = - FilterProjectEnvsResponseBodyProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBodyProjectsType$ { - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsType$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsResponseBodyProjectsType$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBodyProjectsType$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsResponseBodyProjectsType$outboundSchema; -} - -/** @internal */ -export const ResponseBodyInternalContentHint$inboundSchema: z.ZodType< - ResponseBodyInternalContentHint, - z.ZodTypeDef, - unknown -> = z.object({ - type: FilterProjectEnvsResponseBodyProjectsType$inboundSchema, - encryptedValue: z.string(), -}); - -/** @internal */ -export type ResponseBodyInternalContentHint$Outbound = { - type: string; - encryptedValue: string; -}; - -/** @internal */ -export const ResponseBodyInternalContentHint$outboundSchema: z.ZodType< - ResponseBodyInternalContentHint$Outbound, - z.ZodTypeDef, - ResponseBodyInternalContentHint -> = z.object({ - type: FilterProjectEnvsResponseBodyProjectsType$outboundSchema, - encryptedValue: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyInternalContentHint$ { - /** @deprecated use `ResponseBodyInternalContentHint$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyInternalContentHint$inboundSchema; - /** @deprecated use `ResponseBodyInternalContentHint$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyInternalContentHint$outboundSchema; - /** @deprecated use `ResponseBodyInternalContentHint$Outbound` instead. */ - export type Outbound = ResponseBodyInternalContentHint$Outbound; -} - -export function responseBodyInternalContentHintToJSON( - responseBodyInternalContentHint: ResponseBodyInternalContentHint, -): string { - return JSON.stringify( - ResponseBodyInternalContentHint$outboundSchema.parse( - responseBodyInternalContentHint, - ), - ); -} - -export function responseBodyInternalContentHintFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyInternalContentHint$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyInternalContentHint' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsResponseBody1$inboundSchema: z.ZodType< - FilterProjectEnvsResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({ - target: z.union([z.array(z.string()), FilterProjectEnvsTarget2$inboundSchema]) - .optional(), - type: FilterProjectEnvsResponseBodyType$inboundSchema.optional(), - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string().optional(), - value: z.string().optional(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => FilterProjectEnvsContentHint1$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint2$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint3$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint4$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint5$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint6$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint7$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint8$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint9$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint10$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint11$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint12$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint13$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint15$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint14$inboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => ResponseBodyInternalContentHint$inboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), - system: z.boolean().optional(), -}); - -/** @internal */ -export type FilterProjectEnvsResponseBody1$Outbound = { - target?: Array | string | undefined; - type?: string | undefined; - sunsetSecretId?: string | undefined; - id?: string | undefined; - key?: string | undefined; - value?: string | undefined; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | FilterProjectEnvsContentHint1$Outbound - | FilterProjectEnvsContentHint2$Outbound - | FilterProjectEnvsContentHint3$Outbound - | FilterProjectEnvsContentHint4$Outbound - | FilterProjectEnvsContentHint5$Outbound - | FilterProjectEnvsContentHint6$Outbound - | FilterProjectEnvsContentHint7$Outbound - | FilterProjectEnvsContentHint8$Outbound - | FilterProjectEnvsContentHint9$Outbound - | FilterProjectEnvsContentHint10$Outbound - | FilterProjectEnvsContentHint11$Outbound - | FilterProjectEnvsContentHint12$Outbound - | FilterProjectEnvsContentHint13$Outbound - | FilterProjectEnvsContentHint15$Outbound - | FilterProjectEnvsContentHint14$Outbound - | null - | undefined; - internalContentHint?: - | ResponseBodyInternalContentHint$Outbound - | null - | undefined; - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; - system?: boolean | undefined; -}; - -/** @internal */ -export const FilterProjectEnvsResponseBody1$outboundSchema: z.ZodType< - FilterProjectEnvsResponseBody1$Outbound, - z.ZodTypeDef, - FilterProjectEnvsResponseBody1 -> = z.object({ - target: z.union([ - z.array(z.string()), - FilterProjectEnvsTarget2$outboundSchema, - ]).optional(), - type: FilterProjectEnvsResponseBodyType$outboundSchema.optional(), - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string().optional(), - value: z.string().optional(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => FilterProjectEnvsContentHint1$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint2$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint3$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint4$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint5$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint6$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint7$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint8$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint9$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint10$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint11$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint12$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint13$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint15$outboundSchema), - z.lazy(() => FilterProjectEnvsContentHint14$outboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => ResponseBodyInternalContentHint$outboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), - system: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBody1$ { - /** @deprecated use `FilterProjectEnvsResponseBody1$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsResponseBody1$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBody1$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsResponseBody1$outboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBody1$Outbound` instead. */ - export type Outbound = FilterProjectEnvsResponseBody1$Outbound; -} - -export function filterProjectEnvsResponseBody1ToJSON( - filterProjectEnvsResponseBody1: FilterProjectEnvsResponseBody1, -): string { - return JSON.stringify( - FilterProjectEnvsResponseBody1$outboundSchema.parse( - filterProjectEnvsResponseBody1, - ), - ); -} - -export function filterProjectEnvsResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const FilterProjectEnvsResponseBody$inboundSchema: z.ZodType< - FilterProjectEnvsResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => FilterProjectEnvsResponseBody3$inboundSchema), - z.lazy(() => FilterProjectEnvsResponseBody2$inboundSchema), - z.lazy(() => FilterProjectEnvsResponseBody1$inboundSchema), -]); - -/** @internal */ -export type FilterProjectEnvsResponseBody$Outbound = - | FilterProjectEnvsResponseBody3$Outbound - | FilterProjectEnvsResponseBody2$Outbound - | FilterProjectEnvsResponseBody1$Outbound; - -/** @internal */ -export const FilterProjectEnvsResponseBody$outboundSchema: z.ZodType< - FilterProjectEnvsResponseBody$Outbound, - z.ZodTypeDef, - FilterProjectEnvsResponseBody -> = z.union([ - z.lazy(() => FilterProjectEnvsResponseBody3$outboundSchema), - z.lazy(() => FilterProjectEnvsResponseBody2$outboundSchema), - z.lazy(() => FilterProjectEnvsResponseBody1$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsResponseBody$ { - /** @deprecated use `FilterProjectEnvsResponseBody$inboundSchema` instead. */ - export const inboundSchema = FilterProjectEnvsResponseBody$inboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBody$outboundSchema` instead. */ - export const outboundSchema = FilterProjectEnvsResponseBody$outboundSchema; - /** @deprecated use `FilterProjectEnvsResponseBody$Outbound` instead. */ - export type Outbound = FilterProjectEnvsResponseBody$Outbound; -} - -export function filterProjectEnvsResponseBodyToJSON( - filterProjectEnvsResponseBody: FilterProjectEnvsResponseBody, -): string { - return JSON.stringify( - FilterProjectEnvsResponseBody$outboundSchema.parse( - filterProjectEnvsResponseBody, - ), - ); -} - -export function filterProjectEnvsResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FilterProjectEnvsResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FilterProjectEnvsResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getaccountinfo.ts b/src/models/operations/getaccountinfo.ts deleted file mode 100644 index 0b783713..00000000 --- a/src/models/operations/getaccountinfo.ts +++ /dev/null @@ -1,187 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetAccountInfoRequest = { - integrationConfigurationId: string; -}; - -export type Contact = { - email: string; - name?: string | undefined; -}; - -export type GetAccountInfoResponseBody = { - name?: string | undefined; - url: string; - contact: Contact | null; -}; - -/** @internal */ -export const GetAccountInfoRequest$inboundSchema: z.ZodType< - GetAccountInfoRequest, - z.ZodTypeDef, - unknown -> = z.object({ - integrationConfigurationId: z.string(), -}); - -/** @internal */ -export type GetAccountInfoRequest$Outbound = { - integrationConfigurationId: string; -}; - -/** @internal */ -export const GetAccountInfoRequest$outboundSchema: z.ZodType< - GetAccountInfoRequest$Outbound, - z.ZodTypeDef, - GetAccountInfoRequest -> = z.object({ - integrationConfigurationId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAccountInfoRequest$ { - /** @deprecated use `GetAccountInfoRequest$inboundSchema` instead. */ - export const inboundSchema = GetAccountInfoRequest$inboundSchema; - /** @deprecated use `GetAccountInfoRequest$outboundSchema` instead. */ - export const outboundSchema = GetAccountInfoRequest$outboundSchema; - /** @deprecated use `GetAccountInfoRequest$Outbound` instead. */ - export type Outbound = GetAccountInfoRequest$Outbound; -} - -export function getAccountInfoRequestToJSON( - getAccountInfoRequest: GetAccountInfoRequest, -): string { - return JSON.stringify( - GetAccountInfoRequest$outboundSchema.parse(getAccountInfoRequest), - ); -} - -export function getAccountInfoRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAccountInfoRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAccountInfoRequest' from JSON`, - ); -} - -/** @internal */ -export const Contact$inboundSchema: z.ZodType = - z.object({ - email: z.string(), - name: z.string().optional(), - }); - -/** @internal */ -export type Contact$Outbound = { - email: string; - name?: string | undefined; -}; - -/** @internal */ -export const Contact$outboundSchema: z.ZodType< - Contact$Outbound, - z.ZodTypeDef, - Contact -> = z.object({ - email: z.string(), - name: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Contact$ { - /** @deprecated use `Contact$inboundSchema` instead. */ - export const inboundSchema = Contact$inboundSchema; - /** @deprecated use `Contact$outboundSchema` instead. */ - export const outboundSchema = Contact$outboundSchema; - /** @deprecated use `Contact$Outbound` instead. */ - export type Outbound = Contact$Outbound; -} - -export function contactToJSON(contact: Contact): string { - return JSON.stringify(Contact$outboundSchema.parse(contact)); -} - -export function contactFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Contact$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Contact' from JSON`, - ); -} - -/** @internal */ -export const GetAccountInfoResponseBody$inboundSchema: z.ZodType< - GetAccountInfoResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string().optional(), - url: z.string(), - contact: z.nullable(z.lazy(() => Contact$inboundSchema)), -}); - -/** @internal */ -export type GetAccountInfoResponseBody$Outbound = { - name?: string | undefined; - url: string; - contact: Contact$Outbound | null; -}; - -/** @internal */ -export const GetAccountInfoResponseBody$outboundSchema: z.ZodType< - GetAccountInfoResponseBody$Outbound, - z.ZodTypeDef, - GetAccountInfoResponseBody -> = z.object({ - name: z.string().optional(), - url: z.string(), - contact: z.nullable(z.lazy(() => Contact$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAccountInfoResponseBody$ { - /** @deprecated use `GetAccountInfoResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetAccountInfoResponseBody$inboundSchema; - /** @deprecated use `GetAccountInfoResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetAccountInfoResponseBody$outboundSchema; - /** @deprecated use `GetAccountInfoResponseBody$Outbound` instead. */ - export type Outbound = GetAccountInfoResponseBody$Outbound; -} - -export function getAccountInfoResponseBodyToJSON( - getAccountInfoResponseBody: GetAccountInfoResponseBody, -): string { - return JSON.stringify( - GetAccountInfoResponseBody$outboundSchema.parse(getAccountInfoResponseBody), - ); -} - -export function getAccountInfoResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAccountInfoResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAccountInfoResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getalias.ts b/src/models/operations/getalias.ts deleted file mode 100644 index 48c2ee4d..00000000 --- a/src/models/operations/getalias.ts +++ /dev/null @@ -1,930 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetAliasRequest = { - /** - * Get the alias only if it was created after the provided timestamp - */ - from?: number | undefined; - /** - * The alias or alias ID to be retrieved - */ - idOrAlias: string; - /** - * Get the alias only if it is assigned to the provided project ID - */ - projectId?: string | undefined; - /** - * Get the alias only if it was created after this JavaScript timestamp - */ - since?: number | undefined; - /** - * Get the alias only if it was created before this JavaScript timestamp - */ - until?: number | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * Information of the user who created the alias - */ -export type GetAliasCreator = { - /** - * ID of the user who created the alias - */ - uid: string; - /** - * Email of the user who created the alias - */ - email: string; - /** - * Username of the user who created the alias - */ - username: string; -}; - -/** - * A map with the deployment ID, URL and metadata - */ -export type Deployment = { - /** - * The deployment unique identifier - */ - id: string; - /** - * The deployment unique URL - */ - url: string; - /** - * The deployment metadata - */ - meta?: string | undefined; -}; - -export const GetAliasProtectionBypassAliasesResponseScope = { - EmailInvite: "email_invite", -} as const; -export type GetAliasProtectionBypassAliasesResponseScope = ClosedEnum< - typeof GetAliasProtectionBypassAliasesResponseScope ->; - -/** - * The protection bypass for the alias - */ -export type ProtectionBypass4 = { - createdAt: number; - lastUpdatedAt: number; - lastUpdatedBy: string; - scope: GetAliasProtectionBypassAliasesResponseScope; -}; - -export const GetAliasProtectionBypassAliasesScope = { - AliasProtectionOverride: "alias-protection-override", -} as const; -export type GetAliasProtectionBypassAliasesScope = ClosedEnum< - typeof GetAliasProtectionBypassAliasesScope ->; - -/** - * The protection bypass for the alias - */ -export type ProtectionBypass3 = { - createdAt: number; - createdBy: string; - scope: GetAliasProtectionBypassAliasesScope; -}; - -export const Access = { - Requested: "requested", - Granted: "granted", -} as const; -export type Access = ClosedEnum; - -export const GetAliasProtectionBypassScope = { - User: "user", -} as const; -export type GetAliasProtectionBypassScope = ClosedEnum< - typeof GetAliasProtectionBypassScope ->; - -/** - * The protection bypass for the alias - */ -export type ProtectionBypass2 = { - createdAt: number; - lastUpdatedAt: number; - lastUpdatedBy: string; - access: Access; - scope: GetAliasProtectionBypassScope; -}; - -export const ProtectionBypassScope = { - ShareableLink: "shareable-link", -} as const; -export type ProtectionBypassScope = ClosedEnum; - -/** - * The protection bypass for the alias - */ -export type ProtectionBypass1 = { - createdAt: number; - createdBy: string; - scope: ProtectionBypassScope; -}; - -export type GetAliasProtectionBypass = - | ProtectionBypass1 - | ProtectionBypass3 - | ProtectionBypass4 - | ProtectionBypass2; - -/** - * The alias information - */ -export type GetAliasResponseBody = { - /** - * The alias name, it could be a `.vercel.app` subdomain or a custom domain - */ - alias: string; - /** - * The date when the alias was created - */ - created: Date; - /** - * The date when the alias was created in milliseconds since the UNIX epoch - */ - createdAt?: number | null | undefined; - /** - * Information of the user who created the alias - */ - creator?: GetAliasCreator | undefined; - /** - * The date when the alias was deleted in milliseconds since the UNIX epoch - */ - deletedAt?: number | null | undefined; - /** - * A map with the deployment ID, URL and metadata - */ - deployment?: Deployment | undefined; - /** - * The deployment ID - */ - deploymentId: string | null; - /** - * The unique identifier of the project - */ - projectId: string | null; - /** - * Target destination domain for redirect when the alias is a redirect - */ - redirect?: string | null | undefined; - /** - * Status code to be used on redirect - */ - redirectStatusCode?: number | null | undefined; - /** - * The unique identifier of the alias - */ - uid: string; - /** - * The date when the alias was updated in milliseconds since the UNIX epoch - */ - updatedAt?: number | null | undefined; - /** - * The protection bypass for the alias - */ - protectionBypass?: { - [k: string]: - | ProtectionBypass1 - | ProtectionBypass3 - | ProtectionBypass4 - | ProtectionBypass2; - } | undefined; -}; - -/** @internal */ -export const GetAliasRequest$inboundSchema: z.ZodType< - GetAliasRequest, - z.ZodTypeDef, - unknown -> = z.object({ - from: z.number().optional(), - idOrAlias: z.string(), - projectId: z.string().optional(), - since: z.number().optional(), - until: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetAliasRequest$Outbound = { - from?: number | undefined; - idOrAlias: string; - projectId?: string | undefined; - since?: number | undefined; - until?: number | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetAliasRequest$outboundSchema: z.ZodType< - GetAliasRequest$Outbound, - z.ZodTypeDef, - GetAliasRequest -> = z.object({ - from: z.number().optional(), - idOrAlias: z.string(), - projectId: z.string().optional(), - since: z.number().optional(), - until: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAliasRequest$ { - /** @deprecated use `GetAliasRequest$inboundSchema` instead. */ - export const inboundSchema = GetAliasRequest$inboundSchema; - /** @deprecated use `GetAliasRequest$outboundSchema` instead. */ - export const outboundSchema = GetAliasRequest$outboundSchema; - /** @deprecated use `GetAliasRequest$Outbound` instead. */ - export type Outbound = GetAliasRequest$Outbound; -} - -export function getAliasRequestToJSON( - getAliasRequest: GetAliasRequest, -): string { - return JSON.stringify(GetAliasRequest$outboundSchema.parse(getAliasRequest)); -} - -export function getAliasRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAliasRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAliasRequest' from JSON`, - ); -} - -/** @internal */ -export const GetAliasCreator$inboundSchema: z.ZodType< - GetAliasCreator, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - email: z.string(), - username: z.string(), -}); - -/** @internal */ -export type GetAliasCreator$Outbound = { - uid: string; - email: string; - username: string; -}; - -/** @internal */ -export const GetAliasCreator$outboundSchema: z.ZodType< - GetAliasCreator$Outbound, - z.ZodTypeDef, - GetAliasCreator -> = z.object({ - uid: z.string(), - email: z.string(), - username: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAliasCreator$ { - /** @deprecated use `GetAliasCreator$inboundSchema` instead. */ - export const inboundSchema = GetAliasCreator$inboundSchema; - /** @deprecated use `GetAliasCreator$outboundSchema` instead. */ - export const outboundSchema = GetAliasCreator$outboundSchema; - /** @deprecated use `GetAliasCreator$Outbound` instead. */ - export type Outbound = GetAliasCreator$Outbound; -} - -export function getAliasCreatorToJSON( - getAliasCreator: GetAliasCreator, -): string { - return JSON.stringify(GetAliasCreator$outboundSchema.parse(getAliasCreator)); -} - -export function getAliasCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAliasCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAliasCreator' from JSON`, - ); -} - -/** @internal */ -export const Deployment$inboundSchema: z.ZodType< - Deployment, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - url: z.string(), - meta: z.string().optional(), -}); - -/** @internal */ -export type Deployment$Outbound = { - id: string; - url: string; - meta?: string | undefined; -}; - -/** @internal */ -export const Deployment$outboundSchema: z.ZodType< - Deployment$Outbound, - z.ZodTypeDef, - Deployment -> = z.object({ - id: z.string(), - url: z.string(), - meta: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Deployment$ { - /** @deprecated use `Deployment$inboundSchema` instead. */ - export const inboundSchema = Deployment$inboundSchema; - /** @deprecated use `Deployment$outboundSchema` instead. */ - export const outboundSchema = Deployment$outboundSchema; - /** @deprecated use `Deployment$Outbound` instead. */ - export type Outbound = Deployment$Outbound; -} - -export function deploymentToJSON(deployment: Deployment): string { - return JSON.stringify(Deployment$outboundSchema.parse(deployment)); -} - -export function deploymentFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Deployment$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Deployment' from JSON`, - ); -} - -/** @internal */ -export const GetAliasProtectionBypassAliasesResponseScope$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetAliasProtectionBypassAliasesResponseScope); - -/** @internal */ -export const GetAliasProtectionBypassAliasesResponseScope$outboundSchema: - z.ZodNativeEnum = - GetAliasProtectionBypassAliasesResponseScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAliasProtectionBypassAliasesResponseScope$ { - /** @deprecated use `GetAliasProtectionBypassAliasesResponseScope$inboundSchema` instead. */ - export const inboundSchema = - GetAliasProtectionBypassAliasesResponseScope$inboundSchema; - /** @deprecated use `GetAliasProtectionBypassAliasesResponseScope$outboundSchema` instead. */ - export const outboundSchema = - GetAliasProtectionBypassAliasesResponseScope$outboundSchema; -} - -/** @internal */ -export const ProtectionBypass4$inboundSchema: z.ZodType< - ProtectionBypass4, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number(), - lastUpdatedAt: z.number(), - lastUpdatedBy: z.string(), - scope: GetAliasProtectionBypassAliasesResponseScope$inboundSchema, -}); - -/** @internal */ -export type ProtectionBypass4$Outbound = { - createdAt: number; - lastUpdatedAt: number; - lastUpdatedBy: string; - scope: string; -}; - -/** @internal */ -export const ProtectionBypass4$outboundSchema: z.ZodType< - ProtectionBypass4$Outbound, - z.ZodTypeDef, - ProtectionBypass4 -> = z.object({ - createdAt: z.number(), - lastUpdatedAt: z.number(), - lastUpdatedBy: z.string(), - scope: GetAliasProtectionBypassAliasesResponseScope$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ProtectionBypass4$ { - /** @deprecated use `ProtectionBypass4$inboundSchema` instead. */ - export const inboundSchema = ProtectionBypass4$inboundSchema; - /** @deprecated use `ProtectionBypass4$outboundSchema` instead. */ - export const outboundSchema = ProtectionBypass4$outboundSchema; - /** @deprecated use `ProtectionBypass4$Outbound` instead. */ - export type Outbound = ProtectionBypass4$Outbound; -} - -export function protectionBypass4ToJSON( - protectionBypass4: ProtectionBypass4, -): string { - return JSON.stringify( - ProtectionBypass4$outboundSchema.parse(protectionBypass4), - ); -} - -export function protectionBypass4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ProtectionBypass4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ProtectionBypass4' from JSON`, - ); -} - -/** @internal */ -export const GetAliasProtectionBypassAliasesScope$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetAliasProtectionBypassAliasesScope, - ); - -/** @internal */ -export const GetAliasProtectionBypassAliasesScope$outboundSchema: - z.ZodNativeEnum = - GetAliasProtectionBypassAliasesScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAliasProtectionBypassAliasesScope$ { - /** @deprecated use `GetAliasProtectionBypassAliasesScope$inboundSchema` instead. */ - export const inboundSchema = - GetAliasProtectionBypassAliasesScope$inboundSchema; - /** @deprecated use `GetAliasProtectionBypassAliasesScope$outboundSchema` instead. */ - export const outboundSchema = - GetAliasProtectionBypassAliasesScope$outboundSchema; -} - -/** @internal */ -export const ProtectionBypass3$inboundSchema: z.ZodType< - ProtectionBypass3, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: GetAliasProtectionBypassAliasesScope$inboundSchema, -}); - -/** @internal */ -export type ProtectionBypass3$Outbound = { - createdAt: number; - createdBy: string; - scope: string; -}; - -/** @internal */ -export const ProtectionBypass3$outboundSchema: z.ZodType< - ProtectionBypass3$Outbound, - z.ZodTypeDef, - ProtectionBypass3 -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: GetAliasProtectionBypassAliasesScope$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ProtectionBypass3$ { - /** @deprecated use `ProtectionBypass3$inboundSchema` instead. */ - export const inboundSchema = ProtectionBypass3$inboundSchema; - /** @deprecated use `ProtectionBypass3$outboundSchema` instead. */ - export const outboundSchema = ProtectionBypass3$outboundSchema; - /** @deprecated use `ProtectionBypass3$Outbound` instead. */ - export type Outbound = ProtectionBypass3$Outbound; -} - -export function protectionBypass3ToJSON( - protectionBypass3: ProtectionBypass3, -): string { - return JSON.stringify( - ProtectionBypass3$outboundSchema.parse(protectionBypass3), - ); -} - -export function protectionBypass3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ProtectionBypass3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ProtectionBypass3' from JSON`, - ); -} - -/** @internal */ -export const Access$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Access); - -/** @internal */ -export const Access$outboundSchema: z.ZodNativeEnum = - Access$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Access$ { - /** @deprecated use `Access$inboundSchema` instead. */ - export const inboundSchema = Access$inboundSchema; - /** @deprecated use `Access$outboundSchema` instead. */ - export const outboundSchema = Access$outboundSchema; -} - -/** @internal */ -export const GetAliasProtectionBypassScope$inboundSchema: z.ZodNativeEnum< - typeof GetAliasProtectionBypassScope -> = z.nativeEnum(GetAliasProtectionBypassScope); - -/** @internal */ -export const GetAliasProtectionBypassScope$outboundSchema: z.ZodNativeEnum< - typeof GetAliasProtectionBypassScope -> = GetAliasProtectionBypassScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAliasProtectionBypassScope$ { - /** @deprecated use `GetAliasProtectionBypassScope$inboundSchema` instead. */ - export const inboundSchema = GetAliasProtectionBypassScope$inboundSchema; - /** @deprecated use `GetAliasProtectionBypassScope$outboundSchema` instead. */ - export const outboundSchema = GetAliasProtectionBypassScope$outboundSchema; -} - -/** @internal */ -export const ProtectionBypass2$inboundSchema: z.ZodType< - ProtectionBypass2, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number(), - lastUpdatedAt: z.number(), - lastUpdatedBy: z.string(), - access: Access$inboundSchema, - scope: GetAliasProtectionBypassScope$inboundSchema, -}); - -/** @internal */ -export type ProtectionBypass2$Outbound = { - createdAt: number; - lastUpdatedAt: number; - lastUpdatedBy: string; - access: string; - scope: string; -}; - -/** @internal */ -export const ProtectionBypass2$outboundSchema: z.ZodType< - ProtectionBypass2$Outbound, - z.ZodTypeDef, - ProtectionBypass2 -> = z.object({ - createdAt: z.number(), - lastUpdatedAt: z.number(), - lastUpdatedBy: z.string(), - access: Access$outboundSchema, - scope: GetAliasProtectionBypassScope$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ProtectionBypass2$ { - /** @deprecated use `ProtectionBypass2$inboundSchema` instead. */ - export const inboundSchema = ProtectionBypass2$inboundSchema; - /** @deprecated use `ProtectionBypass2$outboundSchema` instead. */ - export const outboundSchema = ProtectionBypass2$outboundSchema; - /** @deprecated use `ProtectionBypass2$Outbound` instead. */ - export type Outbound = ProtectionBypass2$Outbound; -} - -export function protectionBypass2ToJSON( - protectionBypass2: ProtectionBypass2, -): string { - return JSON.stringify( - ProtectionBypass2$outboundSchema.parse(protectionBypass2), - ); -} - -export function protectionBypass2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ProtectionBypass2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ProtectionBypass2' from JSON`, - ); -} - -/** @internal */ -export const ProtectionBypassScope$inboundSchema: z.ZodNativeEnum< - typeof ProtectionBypassScope -> = z.nativeEnum(ProtectionBypassScope); - -/** @internal */ -export const ProtectionBypassScope$outboundSchema: z.ZodNativeEnum< - typeof ProtectionBypassScope -> = ProtectionBypassScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ProtectionBypassScope$ { - /** @deprecated use `ProtectionBypassScope$inboundSchema` instead. */ - export const inboundSchema = ProtectionBypassScope$inboundSchema; - /** @deprecated use `ProtectionBypassScope$outboundSchema` instead. */ - export const outboundSchema = ProtectionBypassScope$outboundSchema; -} - -/** @internal */ -export const ProtectionBypass1$inboundSchema: z.ZodType< - ProtectionBypass1, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: ProtectionBypassScope$inboundSchema, -}); - -/** @internal */ -export type ProtectionBypass1$Outbound = { - createdAt: number; - createdBy: string; - scope: string; -}; - -/** @internal */ -export const ProtectionBypass1$outboundSchema: z.ZodType< - ProtectionBypass1$Outbound, - z.ZodTypeDef, - ProtectionBypass1 -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: ProtectionBypassScope$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ProtectionBypass1$ { - /** @deprecated use `ProtectionBypass1$inboundSchema` instead. */ - export const inboundSchema = ProtectionBypass1$inboundSchema; - /** @deprecated use `ProtectionBypass1$outboundSchema` instead. */ - export const outboundSchema = ProtectionBypass1$outboundSchema; - /** @deprecated use `ProtectionBypass1$Outbound` instead. */ - export type Outbound = ProtectionBypass1$Outbound; -} - -export function protectionBypass1ToJSON( - protectionBypass1: ProtectionBypass1, -): string { - return JSON.stringify( - ProtectionBypass1$outboundSchema.parse(protectionBypass1), - ); -} - -export function protectionBypass1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ProtectionBypass1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ProtectionBypass1' from JSON`, - ); -} - -/** @internal */ -export const GetAliasProtectionBypass$inboundSchema: z.ZodType< - GetAliasProtectionBypass, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => ProtectionBypass1$inboundSchema), - z.lazy(() => ProtectionBypass3$inboundSchema), - z.lazy(() => ProtectionBypass4$inboundSchema), - z.lazy(() => ProtectionBypass2$inboundSchema), -]); - -/** @internal */ -export type GetAliasProtectionBypass$Outbound = - | ProtectionBypass1$Outbound - | ProtectionBypass3$Outbound - | ProtectionBypass4$Outbound - | ProtectionBypass2$Outbound; - -/** @internal */ -export const GetAliasProtectionBypass$outboundSchema: z.ZodType< - GetAliasProtectionBypass$Outbound, - z.ZodTypeDef, - GetAliasProtectionBypass -> = z.union([ - z.lazy(() => ProtectionBypass1$outboundSchema), - z.lazy(() => ProtectionBypass3$outboundSchema), - z.lazy(() => ProtectionBypass4$outboundSchema), - z.lazy(() => ProtectionBypass2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAliasProtectionBypass$ { - /** @deprecated use `GetAliasProtectionBypass$inboundSchema` instead. */ - export const inboundSchema = GetAliasProtectionBypass$inboundSchema; - /** @deprecated use `GetAliasProtectionBypass$outboundSchema` instead. */ - export const outboundSchema = GetAliasProtectionBypass$outboundSchema; - /** @deprecated use `GetAliasProtectionBypass$Outbound` instead. */ - export type Outbound = GetAliasProtectionBypass$Outbound; -} - -export function getAliasProtectionBypassToJSON( - getAliasProtectionBypass: GetAliasProtectionBypass, -): string { - return JSON.stringify( - GetAliasProtectionBypass$outboundSchema.parse(getAliasProtectionBypass), - ); -} - -export function getAliasProtectionBypassFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAliasProtectionBypass$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAliasProtectionBypass' from JSON`, - ); -} - -/** @internal */ -export const GetAliasResponseBody$inboundSchema: z.ZodType< - GetAliasResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - alias: z.string(), - created: z.string().datetime({ offset: true }).transform(v => new Date(v)), - createdAt: z.nullable(z.number()).optional(), - creator: z.lazy(() => GetAliasCreator$inboundSchema).optional(), - deletedAt: z.nullable(z.number()).optional(), - deployment: z.lazy(() => Deployment$inboundSchema).optional(), - deploymentId: z.nullable(z.string()), - projectId: z.nullable(z.string()), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(z.number()).optional(), - uid: z.string(), - updatedAt: z.nullable(z.number()).optional(), - protectionBypass: z.record( - z.union([ - z.lazy(() => ProtectionBypass1$inboundSchema), - z.lazy(() => ProtectionBypass3$inboundSchema), - z.lazy(() => ProtectionBypass4$inboundSchema), - z.lazy(() => ProtectionBypass2$inboundSchema), - ]), - ).optional(), -}); - -/** @internal */ -export type GetAliasResponseBody$Outbound = { - alias: string; - created: string; - createdAt?: number | null | undefined; - creator?: GetAliasCreator$Outbound | undefined; - deletedAt?: number | null | undefined; - deployment?: Deployment$Outbound | undefined; - deploymentId: string | null; - projectId: string | null; - redirect?: string | null | undefined; - redirectStatusCode?: number | null | undefined; - uid: string; - updatedAt?: number | null | undefined; - protectionBypass?: { - [k: string]: - | ProtectionBypass1$Outbound - | ProtectionBypass3$Outbound - | ProtectionBypass4$Outbound - | ProtectionBypass2$Outbound; - } | undefined; -}; - -/** @internal */ -export const GetAliasResponseBody$outboundSchema: z.ZodType< - GetAliasResponseBody$Outbound, - z.ZodTypeDef, - GetAliasResponseBody -> = z.object({ - alias: z.string(), - created: z.date().transform(v => v.toISOString()), - createdAt: z.nullable(z.number()).optional(), - creator: z.lazy(() => GetAliasCreator$outboundSchema).optional(), - deletedAt: z.nullable(z.number()).optional(), - deployment: z.lazy(() => Deployment$outboundSchema).optional(), - deploymentId: z.nullable(z.string()), - projectId: z.nullable(z.string()), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(z.number()).optional(), - uid: z.string(), - updatedAt: z.nullable(z.number()).optional(), - protectionBypass: z.record( - z.union([ - z.lazy(() => ProtectionBypass1$outboundSchema), - z.lazy(() => ProtectionBypass3$outboundSchema), - z.lazy(() => ProtectionBypass4$outboundSchema), - z.lazy(() => ProtectionBypass2$outboundSchema), - ]), - ).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAliasResponseBody$ { - /** @deprecated use `GetAliasResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetAliasResponseBody$inboundSchema; - /** @deprecated use `GetAliasResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetAliasResponseBody$outboundSchema; - /** @deprecated use `GetAliasResponseBody$Outbound` instead. */ - export type Outbound = GetAliasResponseBody$Outbound; -} - -export function getAliasResponseBodyToJSON( - getAliasResponseBody: GetAliasResponseBody, -): string { - return JSON.stringify( - GetAliasResponseBody$outboundSchema.parse(getAliasResponseBody), - ); -} - -export function getAliasResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAliasResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAliasResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getallchecks.ts b/src/models/operations/getallchecks.ts deleted file mode 100644 index 6d041a91..00000000 --- a/src/models/operations/getallchecks.ts +++ /dev/null @@ -1,921 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetAllChecksRequest = { - /** - * The deployment to get all checks for - */ - deploymentId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export const GetAllChecksConclusion = { - Canceled: "canceled", - Failed: "failed", - Neutral: "neutral", - Succeeded: "succeeded", - Skipped: "skipped", - Stale: "stale", -} as const; -export type GetAllChecksConclusion = ClosedEnum; - -export const GetAllChecksSource = { - WebVitals: "web-vitals", -} as const; -export type GetAllChecksSource = ClosedEnum; - -export type GetAllChecksFCP = { - value: number | null; - previousValue?: number | undefined; - source: GetAllChecksSource; -}; - -export const GetAllChecksChecksSource = { - WebVitals: "web-vitals", -} as const; -export type GetAllChecksChecksSource = ClosedEnum< - typeof GetAllChecksChecksSource ->; - -export type GetAllChecksLCP = { - value: number | null; - previousValue?: number | undefined; - source: GetAllChecksChecksSource; -}; - -export const GetAllChecksChecksResponseSource = { - WebVitals: "web-vitals", -} as const; -export type GetAllChecksChecksResponseSource = ClosedEnum< - typeof GetAllChecksChecksResponseSource ->; - -export type GetAllChecksCLS = { - value: number | null; - previousValue?: number | undefined; - source: GetAllChecksChecksResponseSource; -}; - -export const GetAllChecksChecksResponse200Source = { - WebVitals: "web-vitals", -} as const; -export type GetAllChecksChecksResponse200Source = ClosedEnum< - typeof GetAllChecksChecksResponse200Source ->; - -export type GetAllChecksTBT = { - value: number | null; - previousValue?: number | undefined; - source: GetAllChecksChecksResponse200Source; -}; - -export const GetAllChecksChecksResponse200ApplicationJSONSource = { - WebVitals: "web-vitals", -} as const; -export type GetAllChecksChecksResponse200ApplicationJSONSource = ClosedEnum< - typeof GetAllChecksChecksResponse200ApplicationJSONSource ->; - -export type GetAllChecksVirtualExperienceScore = { - value: number | null; - previousValue?: number | undefined; - source: GetAllChecksChecksResponse200ApplicationJSONSource; -}; - -export type GetAllChecksMetrics = { - fcp: GetAllChecksFCP; - lcp: GetAllChecksLCP; - cls: GetAllChecksCLS; - tbt: GetAllChecksTBT; - virtualExperienceScore?: GetAllChecksVirtualExperienceScore | undefined; -}; - -export type GetAllChecksOutput = { - metrics?: GetAllChecksMetrics | undefined; -}; - -export const GetAllChecksStatus = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type GetAllChecksStatus = ClosedEnum; - -export type Checks = { - completedAt?: number | undefined; - conclusion?: GetAllChecksConclusion | undefined; - createdAt: number; - detailsUrl?: string | undefined; - id: string; - integrationId: string; - name: string; - output?: GetAllChecksOutput | undefined; - path?: string | undefined; - rerequestable: boolean; - startedAt?: number | undefined; - status: GetAllChecksStatus; - updatedAt: number; -}; - -export type GetAllChecksResponseBody = { - checks: Array; -}; - -/** @internal */ -export const GetAllChecksRequest$inboundSchema: z.ZodType< - GetAllChecksRequest, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetAllChecksRequest$Outbound = { - deploymentId: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetAllChecksRequest$outboundSchema: z.ZodType< - GetAllChecksRequest$Outbound, - z.ZodTypeDef, - GetAllChecksRequest -> = z.object({ - deploymentId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllChecksRequest$ { - /** @deprecated use `GetAllChecksRequest$inboundSchema` instead. */ - export const inboundSchema = GetAllChecksRequest$inboundSchema; - /** @deprecated use `GetAllChecksRequest$outboundSchema` instead. */ - export const outboundSchema = GetAllChecksRequest$outboundSchema; - /** @deprecated use `GetAllChecksRequest$Outbound` instead. */ - export type Outbound = GetAllChecksRequest$Outbound; -} - -export function getAllChecksRequestToJSON( - getAllChecksRequest: GetAllChecksRequest, -): string { - return JSON.stringify( - GetAllChecksRequest$outboundSchema.parse(getAllChecksRequest), - ); -} - -export function getAllChecksRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAllChecksRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAllChecksRequest' from JSON`, - ); -} - -/** @internal */ -export const GetAllChecksConclusion$inboundSchema: z.ZodNativeEnum< - typeof GetAllChecksConclusion -> = z.nativeEnum(GetAllChecksConclusion); - -/** @internal */ -export const GetAllChecksConclusion$outboundSchema: z.ZodNativeEnum< - typeof GetAllChecksConclusion -> = GetAllChecksConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllChecksConclusion$ { - /** @deprecated use `GetAllChecksConclusion$inboundSchema` instead. */ - export const inboundSchema = GetAllChecksConclusion$inboundSchema; - /** @deprecated use `GetAllChecksConclusion$outboundSchema` instead. */ - export const outboundSchema = GetAllChecksConclusion$outboundSchema; -} - -/** @internal */ -export const GetAllChecksSource$inboundSchema: z.ZodNativeEnum< - typeof GetAllChecksSource -> = z.nativeEnum(GetAllChecksSource); - -/** @internal */ -export const GetAllChecksSource$outboundSchema: z.ZodNativeEnum< - typeof GetAllChecksSource -> = GetAllChecksSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllChecksSource$ { - /** @deprecated use `GetAllChecksSource$inboundSchema` instead. */ - export const inboundSchema = GetAllChecksSource$inboundSchema; - /** @deprecated use `GetAllChecksSource$outboundSchema` instead. */ - export const outboundSchema = GetAllChecksSource$outboundSchema; -} - -/** @internal */ -export const GetAllChecksFCP$inboundSchema: z.ZodType< - GetAllChecksFCP, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetAllChecksSource$inboundSchema, -}); - -/** @internal */ -export type GetAllChecksFCP$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const GetAllChecksFCP$outboundSchema: z.ZodType< - GetAllChecksFCP$Outbound, - z.ZodTypeDef, - GetAllChecksFCP -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetAllChecksSource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllChecksFCP$ { - /** @deprecated use `GetAllChecksFCP$inboundSchema` instead. */ - export const inboundSchema = GetAllChecksFCP$inboundSchema; - /** @deprecated use `GetAllChecksFCP$outboundSchema` instead. */ - export const outboundSchema = GetAllChecksFCP$outboundSchema; - /** @deprecated use `GetAllChecksFCP$Outbound` instead. */ - export type Outbound = GetAllChecksFCP$Outbound; -} - -export function getAllChecksFCPToJSON( - getAllChecksFCP: GetAllChecksFCP, -): string { - return JSON.stringify(GetAllChecksFCP$outboundSchema.parse(getAllChecksFCP)); -} - -export function getAllChecksFCPFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAllChecksFCP$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAllChecksFCP' from JSON`, - ); -} - -/** @internal */ -export const GetAllChecksChecksSource$inboundSchema: z.ZodNativeEnum< - typeof GetAllChecksChecksSource -> = z.nativeEnum(GetAllChecksChecksSource); - -/** @internal */ -export const GetAllChecksChecksSource$outboundSchema: z.ZodNativeEnum< - typeof GetAllChecksChecksSource -> = GetAllChecksChecksSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllChecksChecksSource$ { - /** @deprecated use `GetAllChecksChecksSource$inboundSchema` instead. */ - export const inboundSchema = GetAllChecksChecksSource$inboundSchema; - /** @deprecated use `GetAllChecksChecksSource$outboundSchema` instead. */ - export const outboundSchema = GetAllChecksChecksSource$outboundSchema; -} - -/** @internal */ -export const GetAllChecksLCP$inboundSchema: z.ZodType< - GetAllChecksLCP, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetAllChecksChecksSource$inboundSchema, -}); - -/** @internal */ -export type GetAllChecksLCP$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const GetAllChecksLCP$outboundSchema: z.ZodType< - GetAllChecksLCP$Outbound, - z.ZodTypeDef, - GetAllChecksLCP -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetAllChecksChecksSource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllChecksLCP$ { - /** @deprecated use `GetAllChecksLCP$inboundSchema` instead. */ - export const inboundSchema = GetAllChecksLCP$inboundSchema; - /** @deprecated use `GetAllChecksLCP$outboundSchema` instead. */ - export const outboundSchema = GetAllChecksLCP$outboundSchema; - /** @deprecated use `GetAllChecksLCP$Outbound` instead. */ - export type Outbound = GetAllChecksLCP$Outbound; -} - -export function getAllChecksLCPToJSON( - getAllChecksLCP: GetAllChecksLCP, -): string { - return JSON.stringify(GetAllChecksLCP$outboundSchema.parse(getAllChecksLCP)); -} - -export function getAllChecksLCPFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAllChecksLCP$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAllChecksLCP' from JSON`, - ); -} - -/** @internal */ -export const GetAllChecksChecksResponseSource$inboundSchema: z.ZodNativeEnum< - typeof GetAllChecksChecksResponseSource -> = z.nativeEnum(GetAllChecksChecksResponseSource); - -/** @internal */ -export const GetAllChecksChecksResponseSource$outboundSchema: z.ZodNativeEnum< - typeof GetAllChecksChecksResponseSource -> = GetAllChecksChecksResponseSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllChecksChecksResponseSource$ { - /** @deprecated use `GetAllChecksChecksResponseSource$inboundSchema` instead. */ - export const inboundSchema = GetAllChecksChecksResponseSource$inboundSchema; - /** @deprecated use `GetAllChecksChecksResponseSource$outboundSchema` instead. */ - export const outboundSchema = GetAllChecksChecksResponseSource$outboundSchema; -} - -/** @internal */ -export const GetAllChecksCLS$inboundSchema: z.ZodType< - GetAllChecksCLS, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetAllChecksChecksResponseSource$inboundSchema, -}); - -/** @internal */ -export type GetAllChecksCLS$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const GetAllChecksCLS$outboundSchema: z.ZodType< - GetAllChecksCLS$Outbound, - z.ZodTypeDef, - GetAllChecksCLS -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetAllChecksChecksResponseSource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllChecksCLS$ { - /** @deprecated use `GetAllChecksCLS$inboundSchema` instead. */ - export const inboundSchema = GetAllChecksCLS$inboundSchema; - /** @deprecated use `GetAllChecksCLS$outboundSchema` instead. */ - export const outboundSchema = GetAllChecksCLS$outboundSchema; - /** @deprecated use `GetAllChecksCLS$Outbound` instead. */ - export type Outbound = GetAllChecksCLS$Outbound; -} - -export function getAllChecksCLSToJSON( - getAllChecksCLS: GetAllChecksCLS, -): string { - return JSON.stringify(GetAllChecksCLS$outboundSchema.parse(getAllChecksCLS)); -} - -export function getAllChecksCLSFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAllChecksCLS$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAllChecksCLS' from JSON`, - ); -} - -/** @internal */ -export const GetAllChecksChecksResponse200Source$inboundSchema: z.ZodNativeEnum< - typeof GetAllChecksChecksResponse200Source -> = z.nativeEnum(GetAllChecksChecksResponse200Source); - -/** @internal */ -export const GetAllChecksChecksResponse200Source$outboundSchema: - z.ZodNativeEnum = - GetAllChecksChecksResponse200Source$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllChecksChecksResponse200Source$ { - /** @deprecated use `GetAllChecksChecksResponse200Source$inboundSchema` instead. */ - export const inboundSchema = - GetAllChecksChecksResponse200Source$inboundSchema; - /** @deprecated use `GetAllChecksChecksResponse200Source$outboundSchema` instead. */ - export const outboundSchema = - GetAllChecksChecksResponse200Source$outboundSchema; -} - -/** @internal */ -export const GetAllChecksTBT$inboundSchema: z.ZodType< - GetAllChecksTBT, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetAllChecksChecksResponse200Source$inboundSchema, -}); - -/** @internal */ -export type GetAllChecksTBT$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const GetAllChecksTBT$outboundSchema: z.ZodType< - GetAllChecksTBT$Outbound, - z.ZodTypeDef, - GetAllChecksTBT -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetAllChecksChecksResponse200Source$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllChecksTBT$ { - /** @deprecated use `GetAllChecksTBT$inboundSchema` instead. */ - export const inboundSchema = GetAllChecksTBT$inboundSchema; - /** @deprecated use `GetAllChecksTBT$outboundSchema` instead. */ - export const outboundSchema = GetAllChecksTBT$outboundSchema; - /** @deprecated use `GetAllChecksTBT$Outbound` instead. */ - export type Outbound = GetAllChecksTBT$Outbound; -} - -export function getAllChecksTBTToJSON( - getAllChecksTBT: GetAllChecksTBT, -): string { - return JSON.stringify(GetAllChecksTBT$outboundSchema.parse(getAllChecksTBT)); -} - -export function getAllChecksTBTFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAllChecksTBT$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAllChecksTBT' from JSON`, - ); -} - -/** @internal */ -export const GetAllChecksChecksResponse200ApplicationJSONSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetAllChecksChecksResponse200ApplicationJSONSource); - -/** @internal */ -export const GetAllChecksChecksResponse200ApplicationJSONSource$outboundSchema: - z.ZodNativeEnum = - GetAllChecksChecksResponse200ApplicationJSONSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllChecksChecksResponse200ApplicationJSONSource$ { - /** @deprecated use `GetAllChecksChecksResponse200ApplicationJSONSource$inboundSchema` instead. */ - export const inboundSchema = - GetAllChecksChecksResponse200ApplicationJSONSource$inboundSchema; - /** @deprecated use `GetAllChecksChecksResponse200ApplicationJSONSource$outboundSchema` instead. */ - export const outboundSchema = - GetAllChecksChecksResponse200ApplicationJSONSource$outboundSchema; -} - -/** @internal */ -export const GetAllChecksVirtualExperienceScore$inboundSchema: z.ZodType< - GetAllChecksVirtualExperienceScore, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetAllChecksChecksResponse200ApplicationJSONSource$inboundSchema, -}); - -/** @internal */ -export type GetAllChecksVirtualExperienceScore$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const GetAllChecksVirtualExperienceScore$outboundSchema: z.ZodType< - GetAllChecksVirtualExperienceScore$Outbound, - z.ZodTypeDef, - GetAllChecksVirtualExperienceScore -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetAllChecksChecksResponse200ApplicationJSONSource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllChecksVirtualExperienceScore$ { - /** @deprecated use `GetAllChecksVirtualExperienceScore$inboundSchema` instead. */ - export const inboundSchema = GetAllChecksVirtualExperienceScore$inboundSchema; - /** @deprecated use `GetAllChecksVirtualExperienceScore$outboundSchema` instead. */ - export const outboundSchema = - GetAllChecksVirtualExperienceScore$outboundSchema; - /** @deprecated use `GetAllChecksVirtualExperienceScore$Outbound` instead. */ - export type Outbound = GetAllChecksVirtualExperienceScore$Outbound; -} - -export function getAllChecksVirtualExperienceScoreToJSON( - getAllChecksVirtualExperienceScore: GetAllChecksVirtualExperienceScore, -): string { - return JSON.stringify( - GetAllChecksVirtualExperienceScore$outboundSchema.parse( - getAllChecksVirtualExperienceScore, - ), - ); -} - -export function getAllChecksVirtualExperienceScoreFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetAllChecksVirtualExperienceScore$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAllChecksVirtualExperienceScore' from JSON`, - ); -} - -/** @internal */ -export const GetAllChecksMetrics$inboundSchema: z.ZodType< - GetAllChecksMetrics, - z.ZodTypeDef, - unknown -> = z.object({ - FCP: z.lazy(() => GetAllChecksFCP$inboundSchema), - LCP: z.lazy(() => GetAllChecksLCP$inboundSchema), - CLS: z.lazy(() => GetAllChecksCLS$inboundSchema), - TBT: z.lazy(() => GetAllChecksTBT$inboundSchema), - virtualExperienceScore: z.lazy(() => - GetAllChecksVirtualExperienceScore$inboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - "FCP": "fcp", - "LCP": "lcp", - "CLS": "cls", - "TBT": "tbt", - }); -}); - -/** @internal */ -export type GetAllChecksMetrics$Outbound = { - FCP: GetAllChecksFCP$Outbound; - LCP: GetAllChecksLCP$Outbound; - CLS: GetAllChecksCLS$Outbound; - TBT: GetAllChecksTBT$Outbound; - virtualExperienceScore?: - | GetAllChecksVirtualExperienceScore$Outbound - | undefined; -}; - -/** @internal */ -export const GetAllChecksMetrics$outboundSchema: z.ZodType< - GetAllChecksMetrics$Outbound, - z.ZodTypeDef, - GetAllChecksMetrics -> = z.object({ - fcp: z.lazy(() => GetAllChecksFCP$outboundSchema), - lcp: z.lazy(() => GetAllChecksLCP$outboundSchema), - cls: z.lazy(() => GetAllChecksCLS$outboundSchema), - tbt: z.lazy(() => GetAllChecksTBT$outboundSchema), - virtualExperienceScore: z.lazy(() => - GetAllChecksVirtualExperienceScore$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - fcp: "FCP", - lcp: "LCP", - cls: "CLS", - tbt: "TBT", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllChecksMetrics$ { - /** @deprecated use `GetAllChecksMetrics$inboundSchema` instead. */ - export const inboundSchema = GetAllChecksMetrics$inboundSchema; - /** @deprecated use `GetAllChecksMetrics$outboundSchema` instead. */ - export const outboundSchema = GetAllChecksMetrics$outboundSchema; - /** @deprecated use `GetAllChecksMetrics$Outbound` instead. */ - export type Outbound = GetAllChecksMetrics$Outbound; -} - -export function getAllChecksMetricsToJSON( - getAllChecksMetrics: GetAllChecksMetrics, -): string { - return JSON.stringify( - GetAllChecksMetrics$outboundSchema.parse(getAllChecksMetrics), - ); -} - -export function getAllChecksMetricsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAllChecksMetrics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAllChecksMetrics' from JSON`, - ); -} - -/** @internal */ -export const GetAllChecksOutput$inboundSchema: z.ZodType< - GetAllChecksOutput, - z.ZodTypeDef, - unknown -> = z.object({ - metrics: z.lazy(() => GetAllChecksMetrics$inboundSchema).optional(), -}); - -/** @internal */ -export type GetAllChecksOutput$Outbound = { - metrics?: GetAllChecksMetrics$Outbound | undefined; -}; - -/** @internal */ -export const GetAllChecksOutput$outboundSchema: z.ZodType< - GetAllChecksOutput$Outbound, - z.ZodTypeDef, - GetAllChecksOutput -> = z.object({ - metrics: z.lazy(() => GetAllChecksMetrics$outboundSchema).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllChecksOutput$ { - /** @deprecated use `GetAllChecksOutput$inboundSchema` instead. */ - export const inboundSchema = GetAllChecksOutput$inboundSchema; - /** @deprecated use `GetAllChecksOutput$outboundSchema` instead. */ - export const outboundSchema = GetAllChecksOutput$outboundSchema; - /** @deprecated use `GetAllChecksOutput$Outbound` instead. */ - export type Outbound = GetAllChecksOutput$Outbound; -} - -export function getAllChecksOutputToJSON( - getAllChecksOutput: GetAllChecksOutput, -): string { - return JSON.stringify( - GetAllChecksOutput$outboundSchema.parse(getAllChecksOutput), - ); -} - -export function getAllChecksOutputFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAllChecksOutput$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAllChecksOutput' from JSON`, - ); -} - -/** @internal */ -export const GetAllChecksStatus$inboundSchema: z.ZodNativeEnum< - typeof GetAllChecksStatus -> = z.nativeEnum(GetAllChecksStatus); - -/** @internal */ -export const GetAllChecksStatus$outboundSchema: z.ZodNativeEnum< - typeof GetAllChecksStatus -> = GetAllChecksStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllChecksStatus$ { - /** @deprecated use `GetAllChecksStatus$inboundSchema` instead. */ - export const inboundSchema = GetAllChecksStatus$inboundSchema; - /** @deprecated use `GetAllChecksStatus$outboundSchema` instead. */ - export const outboundSchema = GetAllChecksStatus$outboundSchema; -} - -/** @internal */ -export const Checks$inboundSchema: z.ZodType = z - .object({ - completedAt: z.number().optional(), - conclusion: GetAllChecksConclusion$inboundSchema.optional(), - createdAt: z.number(), - detailsUrl: z.string().optional(), - id: z.string(), - integrationId: z.string(), - name: z.string(), - output: z.lazy(() => GetAllChecksOutput$inboundSchema).optional(), - path: z.string().optional(), - rerequestable: z.boolean(), - startedAt: z.number().optional(), - status: GetAllChecksStatus$inboundSchema, - updatedAt: z.number(), - }); - -/** @internal */ -export type Checks$Outbound = { - completedAt?: number | undefined; - conclusion?: string | undefined; - createdAt: number; - detailsUrl?: string | undefined; - id: string; - integrationId: string; - name: string; - output?: GetAllChecksOutput$Outbound | undefined; - path?: string | undefined; - rerequestable: boolean; - startedAt?: number | undefined; - status: string; - updatedAt: number; -}; - -/** @internal */ -export const Checks$outboundSchema: z.ZodType< - Checks$Outbound, - z.ZodTypeDef, - Checks -> = z.object({ - completedAt: z.number().optional(), - conclusion: GetAllChecksConclusion$outboundSchema.optional(), - createdAt: z.number(), - detailsUrl: z.string().optional(), - id: z.string(), - integrationId: z.string(), - name: z.string(), - output: z.lazy(() => GetAllChecksOutput$outboundSchema).optional(), - path: z.string().optional(), - rerequestable: z.boolean(), - startedAt: z.number().optional(), - status: GetAllChecksStatus$outboundSchema, - updatedAt: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Checks$ { - /** @deprecated use `Checks$inboundSchema` instead. */ - export const inboundSchema = Checks$inboundSchema; - /** @deprecated use `Checks$outboundSchema` instead. */ - export const outboundSchema = Checks$outboundSchema; - /** @deprecated use `Checks$Outbound` instead. */ - export type Outbound = Checks$Outbound; -} - -export function checksToJSON(checks: Checks): string { - return JSON.stringify(Checks$outboundSchema.parse(checks)); -} - -export function checksFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Checks$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Checks' from JSON`, - ); -} - -/** @internal */ -export const GetAllChecksResponseBody$inboundSchema: z.ZodType< - GetAllChecksResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - checks: z.array(z.lazy(() => Checks$inboundSchema)), -}); - -/** @internal */ -export type GetAllChecksResponseBody$Outbound = { - checks: Array; -}; - -/** @internal */ -export const GetAllChecksResponseBody$outboundSchema: z.ZodType< - GetAllChecksResponseBody$Outbound, - z.ZodTypeDef, - GetAllChecksResponseBody -> = z.object({ - checks: z.array(z.lazy(() => Checks$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllChecksResponseBody$ { - /** @deprecated use `GetAllChecksResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetAllChecksResponseBody$inboundSchema; - /** @deprecated use `GetAllChecksResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetAllChecksResponseBody$outboundSchema; - /** @deprecated use `GetAllChecksResponseBody$Outbound` instead. */ - export type Outbound = GetAllChecksResponseBody$Outbound; -} - -export function getAllChecksResponseBodyToJSON( - getAllChecksResponseBody: GetAllChecksResponseBody, -): string { - return JSON.stringify( - GetAllChecksResponseBody$outboundSchema.parse(getAllChecksResponseBody), - ); -} - -export function getAllChecksResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAllChecksResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAllChecksResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getalllogdrains.ts b/src/models/operations/getalllogdrains.ts deleted file mode 100644 index 631f3a78..00000000 --- a/src/models/operations/getalllogdrains.ts +++ /dev/null @@ -1,411 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetAllLogDrainsRequest = { - projectId?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export const GetAllLogDrainsDeliveryFormat = { - Json: "json", - Ndjson: "ndjson", - Syslog: "syslog", -} as const; -export type GetAllLogDrainsDeliveryFormat = ClosedEnum< - typeof GetAllLogDrainsDeliveryFormat ->; - -export const GetAllLogDrainsSources = { - Build: "build", - Edge: "edge", - Lambda: "lambda", - Static: "static", - External: "external", - Firewall: "firewall", -} as const; -export type GetAllLogDrainsSources = ClosedEnum; - -export const GetAllLogDrainsEnvironments = { - Production: "production", - Preview: "preview", -} as const; -export type GetAllLogDrainsEnvironments = ClosedEnum< - typeof GetAllLogDrainsEnvironments ->; - -export const GetAllLogDrainsStatus = { - Enabled: "enabled", - Disabled: "disabled", - Errored: "errored", -} as const; -export type GetAllLogDrainsStatus = ClosedEnum; - -export const GetAllLogDrainsDisabledReason = { - DisabledByOwner: "disabled-by-owner", - FeatureNotAvailable: "feature-not-available", - AccountPlanDowngrade: "account-plan-downgrade", - DisabledByAdmin: "disabled-by-admin", -} as const; -export type GetAllLogDrainsDisabledReason = ClosedEnum< - typeof GetAllLogDrainsDisabledReason ->; - -export const GetAllLogDrainsCreatedFrom = { - SelfServed: "self-served", - Integration: "integration", -} as const; -export type GetAllLogDrainsCreatedFrom = ClosedEnum< - typeof GetAllLogDrainsCreatedFrom ->; - -export type GetAllLogDrainsResponseBody = { - id: string; - deliveryFormat: GetAllLogDrainsDeliveryFormat; - url: string; - name: string; - clientId?: string | undefined; - configurationId?: string | undefined; - teamId?: string | null | undefined; - ownerId: string; - projectIds?: Array | undefined; - createdAt: number; - deletedAt: number | null; - updatedAt: number; - sources?: Array | undefined; - headers?: { [k: string]: string } | undefined; - environments: Array; - status?: GetAllLogDrainsStatus | undefined; - disabledAt?: number | undefined; - disabledReason?: GetAllLogDrainsDisabledReason | undefined; - disabledBy?: string | undefined; - firstErrorTimestamp?: number | undefined; - samplingRate?: number | undefined; - hideIpAddresses?: boolean | undefined; - secret?: string | undefined; - createdFrom?: GetAllLogDrainsCreatedFrom | undefined; -}; - -/** @internal */ -export const GetAllLogDrainsRequest$inboundSchema: z.ZodType< - GetAllLogDrainsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetAllLogDrainsRequest$Outbound = { - projectId?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetAllLogDrainsRequest$outboundSchema: z.ZodType< - GetAllLogDrainsRequest$Outbound, - z.ZodTypeDef, - GetAllLogDrainsRequest -> = z.object({ - projectId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllLogDrainsRequest$ { - /** @deprecated use `GetAllLogDrainsRequest$inboundSchema` instead. */ - export const inboundSchema = GetAllLogDrainsRequest$inboundSchema; - /** @deprecated use `GetAllLogDrainsRequest$outboundSchema` instead. */ - export const outboundSchema = GetAllLogDrainsRequest$outboundSchema; - /** @deprecated use `GetAllLogDrainsRequest$Outbound` instead. */ - export type Outbound = GetAllLogDrainsRequest$Outbound; -} - -export function getAllLogDrainsRequestToJSON( - getAllLogDrainsRequest: GetAllLogDrainsRequest, -): string { - return JSON.stringify( - GetAllLogDrainsRequest$outboundSchema.parse(getAllLogDrainsRequest), - ); -} - -export function getAllLogDrainsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAllLogDrainsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAllLogDrainsRequest' from JSON`, - ); -} - -/** @internal */ -export const GetAllLogDrainsDeliveryFormat$inboundSchema: z.ZodNativeEnum< - typeof GetAllLogDrainsDeliveryFormat -> = z.nativeEnum(GetAllLogDrainsDeliveryFormat); - -/** @internal */ -export const GetAllLogDrainsDeliveryFormat$outboundSchema: z.ZodNativeEnum< - typeof GetAllLogDrainsDeliveryFormat -> = GetAllLogDrainsDeliveryFormat$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllLogDrainsDeliveryFormat$ { - /** @deprecated use `GetAllLogDrainsDeliveryFormat$inboundSchema` instead. */ - export const inboundSchema = GetAllLogDrainsDeliveryFormat$inboundSchema; - /** @deprecated use `GetAllLogDrainsDeliveryFormat$outboundSchema` instead. */ - export const outboundSchema = GetAllLogDrainsDeliveryFormat$outboundSchema; -} - -/** @internal */ -export const GetAllLogDrainsSources$inboundSchema: z.ZodNativeEnum< - typeof GetAllLogDrainsSources -> = z.nativeEnum(GetAllLogDrainsSources); - -/** @internal */ -export const GetAllLogDrainsSources$outboundSchema: z.ZodNativeEnum< - typeof GetAllLogDrainsSources -> = GetAllLogDrainsSources$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllLogDrainsSources$ { - /** @deprecated use `GetAllLogDrainsSources$inboundSchema` instead. */ - export const inboundSchema = GetAllLogDrainsSources$inboundSchema; - /** @deprecated use `GetAllLogDrainsSources$outboundSchema` instead. */ - export const outboundSchema = GetAllLogDrainsSources$outboundSchema; -} - -/** @internal */ -export const GetAllLogDrainsEnvironments$inboundSchema: z.ZodNativeEnum< - typeof GetAllLogDrainsEnvironments -> = z.nativeEnum(GetAllLogDrainsEnvironments); - -/** @internal */ -export const GetAllLogDrainsEnvironments$outboundSchema: z.ZodNativeEnum< - typeof GetAllLogDrainsEnvironments -> = GetAllLogDrainsEnvironments$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllLogDrainsEnvironments$ { - /** @deprecated use `GetAllLogDrainsEnvironments$inboundSchema` instead. */ - export const inboundSchema = GetAllLogDrainsEnvironments$inboundSchema; - /** @deprecated use `GetAllLogDrainsEnvironments$outboundSchema` instead. */ - export const outboundSchema = GetAllLogDrainsEnvironments$outboundSchema; -} - -/** @internal */ -export const GetAllLogDrainsStatus$inboundSchema: z.ZodNativeEnum< - typeof GetAllLogDrainsStatus -> = z.nativeEnum(GetAllLogDrainsStatus); - -/** @internal */ -export const GetAllLogDrainsStatus$outboundSchema: z.ZodNativeEnum< - typeof GetAllLogDrainsStatus -> = GetAllLogDrainsStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllLogDrainsStatus$ { - /** @deprecated use `GetAllLogDrainsStatus$inboundSchema` instead. */ - export const inboundSchema = GetAllLogDrainsStatus$inboundSchema; - /** @deprecated use `GetAllLogDrainsStatus$outboundSchema` instead. */ - export const outboundSchema = GetAllLogDrainsStatus$outboundSchema; -} - -/** @internal */ -export const GetAllLogDrainsDisabledReason$inboundSchema: z.ZodNativeEnum< - typeof GetAllLogDrainsDisabledReason -> = z.nativeEnum(GetAllLogDrainsDisabledReason); - -/** @internal */ -export const GetAllLogDrainsDisabledReason$outboundSchema: z.ZodNativeEnum< - typeof GetAllLogDrainsDisabledReason -> = GetAllLogDrainsDisabledReason$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllLogDrainsDisabledReason$ { - /** @deprecated use `GetAllLogDrainsDisabledReason$inboundSchema` instead. */ - export const inboundSchema = GetAllLogDrainsDisabledReason$inboundSchema; - /** @deprecated use `GetAllLogDrainsDisabledReason$outboundSchema` instead. */ - export const outboundSchema = GetAllLogDrainsDisabledReason$outboundSchema; -} - -/** @internal */ -export const GetAllLogDrainsCreatedFrom$inboundSchema: z.ZodNativeEnum< - typeof GetAllLogDrainsCreatedFrom -> = z.nativeEnum(GetAllLogDrainsCreatedFrom); - -/** @internal */ -export const GetAllLogDrainsCreatedFrom$outboundSchema: z.ZodNativeEnum< - typeof GetAllLogDrainsCreatedFrom -> = GetAllLogDrainsCreatedFrom$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllLogDrainsCreatedFrom$ { - /** @deprecated use `GetAllLogDrainsCreatedFrom$inboundSchema` instead. */ - export const inboundSchema = GetAllLogDrainsCreatedFrom$inboundSchema; - /** @deprecated use `GetAllLogDrainsCreatedFrom$outboundSchema` instead. */ - export const outboundSchema = GetAllLogDrainsCreatedFrom$outboundSchema; -} - -/** @internal */ -export const GetAllLogDrainsResponseBody$inboundSchema: z.ZodType< - GetAllLogDrainsResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - deliveryFormat: GetAllLogDrainsDeliveryFormat$inboundSchema, - url: z.string(), - name: z.string(), - clientId: z.string().optional(), - configurationId: z.string().optional(), - teamId: z.nullable(z.string()).optional(), - ownerId: z.string(), - projectIds: z.array(z.string()).optional(), - createdAt: z.number(), - deletedAt: z.nullable(z.number()), - updatedAt: z.number(), - sources: z.array(GetAllLogDrainsSources$inboundSchema).optional(), - headers: z.record(z.string()).optional(), - environments: z.array(GetAllLogDrainsEnvironments$inboundSchema), - status: GetAllLogDrainsStatus$inboundSchema.optional(), - disabledAt: z.number().optional(), - disabledReason: GetAllLogDrainsDisabledReason$inboundSchema.optional(), - disabledBy: z.string().optional(), - firstErrorTimestamp: z.number().optional(), - samplingRate: z.number().optional(), - hideIpAddresses: z.boolean().optional(), - secret: z.string().optional(), - createdFrom: GetAllLogDrainsCreatedFrom$inboundSchema.optional(), -}); - -/** @internal */ -export type GetAllLogDrainsResponseBody$Outbound = { - id: string; - deliveryFormat: string; - url: string; - name: string; - clientId?: string | undefined; - configurationId?: string | undefined; - teamId?: string | null | undefined; - ownerId: string; - projectIds?: Array | undefined; - createdAt: number; - deletedAt: number | null; - updatedAt: number; - sources?: Array | undefined; - headers?: { [k: string]: string } | undefined; - environments: Array; - status?: string | undefined; - disabledAt?: number | undefined; - disabledReason?: string | undefined; - disabledBy?: string | undefined; - firstErrorTimestamp?: number | undefined; - samplingRate?: number | undefined; - hideIpAddresses?: boolean | undefined; - secret?: string | undefined; - createdFrom?: string | undefined; -}; - -/** @internal */ -export const GetAllLogDrainsResponseBody$outboundSchema: z.ZodType< - GetAllLogDrainsResponseBody$Outbound, - z.ZodTypeDef, - GetAllLogDrainsResponseBody -> = z.object({ - id: z.string(), - deliveryFormat: GetAllLogDrainsDeliveryFormat$outboundSchema, - url: z.string(), - name: z.string(), - clientId: z.string().optional(), - configurationId: z.string().optional(), - teamId: z.nullable(z.string()).optional(), - ownerId: z.string(), - projectIds: z.array(z.string()).optional(), - createdAt: z.number(), - deletedAt: z.nullable(z.number()), - updatedAt: z.number(), - sources: z.array(GetAllLogDrainsSources$outboundSchema).optional(), - headers: z.record(z.string()).optional(), - environments: z.array(GetAllLogDrainsEnvironments$outboundSchema), - status: GetAllLogDrainsStatus$outboundSchema.optional(), - disabledAt: z.number().optional(), - disabledReason: GetAllLogDrainsDisabledReason$outboundSchema.optional(), - disabledBy: z.string().optional(), - firstErrorTimestamp: z.number().optional(), - samplingRate: z.number().optional(), - hideIpAddresses: z.boolean().optional(), - secret: z.string().optional(), - createdFrom: GetAllLogDrainsCreatedFrom$outboundSchema.optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAllLogDrainsResponseBody$ { - /** @deprecated use `GetAllLogDrainsResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetAllLogDrainsResponseBody$inboundSchema; - /** @deprecated use `GetAllLogDrainsResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetAllLogDrainsResponseBody$outboundSchema; - /** @deprecated use `GetAllLogDrainsResponseBody$Outbound` instead. */ - export type Outbound = GetAllLogDrainsResponseBody$Outbound; -} - -export function getAllLogDrainsResponseBodyToJSON( - getAllLogDrainsResponseBody: GetAllLogDrainsResponseBody, -): string { - return JSON.stringify( - GetAllLogDrainsResponseBody$outboundSchema.parse( - getAllLogDrainsResponseBody, - ), - ); -} - -export function getAllLogDrainsResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAllLogDrainsResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAllLogDrainsResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getauthtoken.ts b/src/models/operations/getauthtoken.ts deleted file mode 100644 index 43fc6567..00000000 --- a/src/models/operations/getauthtoken.ts +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - AuthToken, - AuthToken$inboundSchema, - AuthToken$Outbound, - AuthToken$outboundSchema, -} from "../components/authtoken.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetAuthTokenRequest = { - /** - * The identifier of the token to retrieve. The special value \"current\" may be supplied, which returns the metadata for the token that the current HTTP request is authenticated with. - */ - tokenId: string; -}; - -/** - * Successful response. - */ -export type GetAuthTokenResponseBody = { - /** - * Authentication token metadata. - */ - token: AuthToken; -}; - -/** @internal */ -export const GetAuthTokenRequest$inboundSchema: z.ZodType< - GetAuthTokenRequest, - z.ZodTypeDef, - unknown -> = z.object({ - tokenId: z.string(), -}); - -/** @internal */ -export type GetAuthTokenRequest$Outbound = { - tokenId: string; -}; - -/** @internal */ -export const GetAuthTokenRequest$outboundSchema: z.ZodType< - GetAuthTokenRequest$Outbound, - z.ZodTypeDef, - GetAuthTokenRequest -> = z.object({ - tokenId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAuthTokenRequest$ { - /** @deprecated use `GetAuthTokenRequest$inboundSchema` instead. */ - export const inboundSchema = GetAuthTokenRequest$inboundSchema; - /** @deprecated use `GetAuthTokenRequest$outboundSchema` instead. */ - export const outboundSchema = GetAuthTokenRequest$outboundSchema; - /** @deprecated use `GetAuthTokenRequest$Outbound` instead. */ - export type Outbound = GetAuthTokenRequest$Outbound; -} - -export function getAuthTokenRequestToJSON( - getAuthTokenRequest: GetAuthTokenRequest, -): string { - return JSON.stringify( - GetAuthTokenRequest$outboundSchema.parse(getAuthTokenRequest), - ); -} - -export function getAuthTokenRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAuthTokenRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAuthTokenRequest' from JSON`, - ); -} - -/** @internal */ -export const GetAuthTokenResponseBody$inboundSchema: z.ZodType< - GetAuthTokenResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - token: AuthToken$inboundSchema, -}); - -/** @internal */ -export type GetAuthTokenResponseBody$Outbound = { - token: AuthToken$Outbound; -}; - -/** @internal */ -export const GetAuthTokenResponseBody$outboundSchema: z.ZodType< - GetAuthTokenResponseBody$Outbound, - z.ZodTypeDef, - GetAuthTokenResponseBody -> = z.object({ - token: AuthToken$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAuthTokenResponseBody$ { - /** @deprecated use `GetAuthTokenResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetAuthTokenResponseBody$inboundSchema; - /** @deprecated use `GetAuthTokenResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetAuthTokenResponseBody$outboundSchema; - /** @deprecated use `GetAuthTokenResponseBody$Outbound` instead. */ - export type Outbound = GetAuthTokenResponseBody$Outbound; -} - -export function getAuthTokenResponseBodyToJSON( - getAuthTokenResponseBody: GetAuthTokenResponseBody, -): string { - return JSON.stringify( - GetAuthTokenResponseBody$outboundSchema.parse(getAuthTokenResponseBody), - ); -} - -export function getAuthTokenResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAuthTokenResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAuthTokenResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getauthuser.ts b/src/models/operations/getauthuser.ts deleted file mode 100644 index 89bfc919..00000000 --- a/src/models/operations/getauthuser.ts +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - AuthUser, - AuthUser$inboundSchema, - AuthUser$Outbound, - AuthUser$outboundSchema, -} from "../components/authuser.js"; -import { - AuthUserLimited, - AuthUserLimited$inboundSchema, - AuthUserLimited$Outbound, - AuthUserLimited$outboundSchema, -} from "../components/authuserlimited.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type User = AuthUserLimited | AuthUser; - -/** - * Successful response. - */ -export type GetAuthUserResponseBody = { - user: AuthUserLimited | AuthUser; -}; - -/** @internal */ -export const User$inboundSchema: z.ZodType = z - .union([AuthUserLimited$inboundSchema, AuthUser$inboundSchema]); - -/** @internal */ -export type User$Outbound = AuthUserLimited$Outbound | AuthUser$Outbound; - -/** @internal */ -export const User$outboundSchema: z.ZodType = - z.union([AuthUserLimited$outboundSchema, AuthUser$outboundSchema]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace User$ { - /** @deprecated use `User$inboundSchema` instead. */ - export const inboundSchema = User$inboundSchema; - /** @deprecated use `User$outboundSchema` instead. */ - export const outboundSchema = User$outboundSchema; - /** @deprecated use `User$Outbound` instead. */ - export type Outbound = User$Outbound; -} - -export function userToJSON(user: User): string { - return JSON.stringify(User$outboundSchema.parse(user)); -} - -export function userFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => User$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'User' from JSON`, - ); -} - -/** @internal */ -export const GetAuthUserResponseBody$inboundSchema: z.ZodType< - GetAuthUserResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - user: z.union([AuthUserLimited$inboundSchema, AuthUser$inboundSchema]), -}); - -/** @internal */ -export type GetAuthUserResponseBody$Outbound = { - user: AuthUserLimited$Outbound | AuthUser$Outbound; -}; - -/** @internal */ -export const GetAuthUserResponseBody$outboundSchema: z.ZodType< - GetAuthUserResponseBody$Outbound, - z.ZodTypeDef, - GetAuthUserResponseBody -> = z.object({ - user: z.union([AuthUserLimited$outboundSchema, AuthUser$outboundSchema]), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAuthUserResponseBody$ { - /** @deprecated use `GetAuthUserResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetAuthUserResponseBody$inboundSchema; - /** @deprecated use `GetAuthUserResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetAuthUserResponseBody$outboundSchema; - /** @deprecated use `GetAuthUserResponseBody$Outbound` instead. */ - export type Outbound = GetAuthUserResponseBody$Outbound; -} - -export function getAuthUserResponseBodyToJSON( - getAuthUserResponseBody: GetAuthUserResponseBody, -): string { - return JSON.stringify( - GetAuthUserResponseBody$outboundSchema.parse(getAuthUserResponseBody), - ); -} - -export function getAuthUserResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetAuthUserResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetAuthUserResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getcertbyid.ts b/src/models/operations/getcertbyid.ts deleted file mode 100644 index 609bb0e7..00000000 --- a/src/models/operations/getcertbyid.ts +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetCertByIdRequest = { - /** - * The cert id - */ - id: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export type GetCertByIdResponseBody = { - id: string; - createdAt: number; - expiresAt: number; - autoRenew: boolean; - cns: Array; -}; - -/** @internal */ -export const GetCertByIdRequest$inboundSchema: z.ZodType< - GetCertByIdRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetCertByIdRequest$Outbound = { - id: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetCertByIdRequest$outboundSchema: z.ZodType< - GetCertByIdRequest$Outbound, - z.ZodTypeDef, - GetCertByIdRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCertByIdRequest$ { - /** @deprecated use `GetCertByIdRequest$inboundSchema` instead. */ - export const inboundSchema = GetCertByIdRequest$inboundSchema; - /** @deprecated use `GetCertByIdRequest$outboundSchema` instead. */ - export const outboundSchema = GetCertByIdRequest$outboundSchema; - /** @deprecated use `GetCertByIdRequest$Outbound` instead. */ - export type Outbound = GetCertByIdRequest$Outbound; -} - -export function getCertByIdRequestToJSON( - getCertByIdRequest: GetCertByIdRequest, -): string { - return JSON.stringify( - GetCertByIdRequest$outboundSchema.parse(getCertByIdRequest), - ); -} - -export function getCertByIdRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetCertByIdRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetCertByIdRequest' from JSON`, - ); -} - -/** @internal */ -export const GetCertByIdResponseBody$inboundSchema: z.ZodType< - GetCertByIdResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - createdAt: z.number(), - expiresAt: z.number(), - autoRenew: z.boolean(), - cns: z.array(z.string()), -}); - -/** @internal */ -export type GetCertByIdResponseBody$Outbound = { - id: string; - createdAt: number; - expiresAt: number; - autoRenew: boolean; - cns: Array; -}; - -/** @internal */ -export const GetCertByIdResponseBody$outboundSchema: z.ZodType< - GetCertByIdResponseBody$Outbound, - z.ZodTypeDef, - GetCertByIdResponseBody -> = z.object({ - id: z.string(), - createdAt: z.number(), - expiresAt: z.number(), - autoRenew: z.boolean(), - cns: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCertByIdResponseBody$ { - /** @deprecated use `GetCertByIdResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetCertByIdResponseBody$inboundSchema; - /** @deprecated use `GetCertByIdResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetCertByIdResponseBody$outboundSchema; - /** @deprecated use `GetCertByIdResponseBody$Outbound` instead. */ - export type Outbound = GetCertByIdResponseBody$Outbound; -} - -export function getCertByIdResponseBodyToJSON( - getCertByIdResponseBody: GetCertByIdResponseBody, -): string { - return JSON.stringify( - GetCertByIdResponseBody$outboundSchema.parse(getCertByIdResponseBody), - ); -} - -export function getCertByIdResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetCertByIdResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetCertByIdResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getcheck.ts b/src/models/operations/getcheck.ts deleted file mode 100644 index 7e3c4175..00000000 --- a/src/models/operations/getcheck.ts +++ /dev/null @@ -1,865 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetCheckRequest = { - /** - * The deployment to get the check for. - */ - deploymentId: string; - /** - * The check to fetch - */ - checkId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export const GetCheckStatus = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type GetCheckStatus = ClosedEnum; - -export const GetCheckConclusion = { - Canceled: "canceled", - Failed: "failed", - Neutral: "neutral", - Succeeded: "succeeded", - Skipped: "skipped", - Stale: "stale", -} as const; -export type GetCheckConclusion = ClosedEnum; - -export const GetCheckSource = { - WebVitals: "web-vitals", -} as const; -export type GetCheckSource = ClosedEnum; - -export type GetCheckFCP = { - value: number | null; - previousValue?: number | undefined; - source: GetCheckSource; -}; - -export const GetCheckChecksSource = { - WebVitals: "web-vitals", -} as const; -export type GetCheckChecksSource = ClosedEnum; - -export type GetCheckLCP = { - value: number | null; - previousValue?: number | undefined; - source: GetCheckChecksSource; -}; - -export const GetCheckChecksResponseSource = { - WebVitals: "web-vitals", -} as const; -export type GetCheckChecksResponseSource = ClosedEnum< - typeof GetCheckChecksResponseSource ->; - -export type GetCheckCLS = { - value: number | null; - previousValue?: number | undefined; - source: GetCheckChecksResponseSource; -}; - -export const GetCheckChecksResponse200Source = { - WebVitals: "web-vitals", -} as const; -export type GetCheckChecksResponse200Source = ClosedEnum< - typeof GetCheckChecksResponse200Source ->; - -export type GetCheckTBT = { - value: number | null; - previousValue?: number | undefined; - source: GetCheckChecksResponse200Source; -}; - -export const GetCheckChecksResponse200ApplicationJSONSource = { - WebVitals: "web-vitals", -} as const; -export type GetCheckChecksResponse200ApplicationJSONSource = ClosedEnum< - typeof GetCheckChecksResponse200ApplicationJSONSource ->; - -export type GetCheckVirtualExperienceScore = { - value: number | null; - previousValue?: number | undefined; - source: GetCheckChecksResponse200ApplicationJSONSource; -}; - -export type GetCheckMetrics = { - fcp: GetCheckFCP; - lcp: GetCheckLCP; - cls: GetCheckCLS; - tbt: GetCheckTBT; - virtualExperienceScore?: GetCheckVirtualExperienceScore | undefined; -}; - -export type GetCheckOutput = { - metrics?: GetCheckMetrics | undefined; -}; - -export type GetCheckResponseBody = { - id: string; - name: string; - path?: string | undefined; - status: GetCheckStatus; - conclusion?: GetCheckConclusion | undefined; - blocking: boolean; - output?: GetCheckOutput | undefined; - detailsUrl?: string | undefined; - integrationId: string; - deploymentId: string; - externalId?: string | undefined; - createdAt: number; - updatedAt: number; - startedAt?: number | undefined; - completedAt?: number | undefined; - rerequestable?: boolean | undefined; -}; - -/** @internal */ -export const GetCheckRequest$inboundSchema: z.ZodType< - GetCheckRequest, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentId: z.string(), - checkId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetCheckRequest$Outbound = { - deploymentId: string; - checkId: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetCheckRequest$outboundSchema: z.ZodType< - GetCheckRequest$Outbound, - z.ZodTypeDef, - GetCheckRequest -> = z.object({ - deploymentId: z.string(), - checkId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCheckRequest$ { - /** @deprecated use `GetCheckRequest$inboundSchema` instead. */ - export const inboundSchema = GetCheckRequest$inboundSchema; - /** @deprecated use `GetCheckRequest$outboundSchema` instead. */ - export const outboundSchema = GetCheckRequest$outboundSchema; - /** @deprecated use `GetCheckRequest$Outbound` instead. */ - export type Outbound = GetCheckRequest$Outbound; -} - -export function getCheckRequestToJSON( - getCheckRequest: GetCheckRequest, -): string { - return JSON.stringify(GetCheckRequest$outboundSchema.parse(getCheckRequest)); -} - -export function getCheckRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetCheckRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetCheckRequest' from JSON`, - ); -} - -/** @internal */ -export const GetCheckStatus$inboundSchema: z.ZodNativeEnum< - typeof GetCheckStatus -> = z.nativeEnum(GetCheckStatus); - -/** @internal */ -export const GetCheckStatus$outboundSchema: z.ZodNativeEnum< - typeof GetCheckStatus -> = GetCheckStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCheckStatus$ { - /** @deprecated use `GetCheckStatus$inboundSchema` instead. */ - export const inboundSchema = GetCheckStatus$inboundSchema; - /** @deprecated use `GetCheckStatus$outboundSchema` instead. */ - export const outboundSchema = GetCheckStatus$outboundSchema; -} - -/** @internal */ -export const GetCheckConclusion$inboundSchema: z.ZodNativeEnum< - typeof GetCheckConclusion -> = z.nativeEnum(GetCheckConclusion); - -/** @internal */ -export const GetCheckConclusion$outboundSchema: z.ZodNativeEnum< - typeof GetCheckConclusion -> = GetCheckConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCheckConclusion$ { - /** @deprecated use `GetCheckConclusion$inboundSchema` instead. */ - export const inboundSchema = GetCheckConclusion$inboundSchema; - /** @deprecated use `GetCheckConclusion$outboundSchema` instead. */ - export const outboundSchema = GetCheckConclusion$outboundSchema; -} - -/** @internal */ -export const GetCheckSource$inboundSchema: z.ZodNativeEnum< - typeof GetCheckSource -> = z.nativeEnum(GetCheckSource); - -/** @internal */ -export const GetCheckSource$outboundSchema: z.ZodNativeEnum< - typeof GetCheckSource -> = GetCheckSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCheckSource$ { - /** @deprecated use `GetCheckSource$inboundSchema` instead. */ - export const inboundSchema = GetCheckSource$inboundSchema; - /** @deprecated use `GetCheckSource$outboundSchema` instead. */ - export const outboundSchema = GetCheckSource$outboundSchema; -} - -/** @internal */ -export const GetCheckFCP$inboundSchema: z.ZodType< - GetCheckFCP, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetCheckSource$inboundSchema, -}); - -/** @internal */ -export type GetCheckFCP$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const GetCheckFCP$outboundSchema: z.ZodType< - GetCheckFCP$Outbound, - z.ZodTypeDef, - GetCheckFCP -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetCheckSource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCheckFCP$ { - /** @deprecated use `GetCheckFCP$inboundSchema` instead. */ - export const inboundSchema = GetCheckFCP$inboundSchema; - /** @deprecated use `GetCheckFCP$outboundSchema` instead. */ - export const outboundSchema = GetCheckFCP$outboundSchema; - /** @deprecated use `GetCheckFCP$Outbound` instead. */ - export type Outbound = GetCheckFCP$Outbound; -} - -export function getCheckFCPToJSON(getCheckFCP: GetCheckFCP): string { - return JSON.stringify(GetCheckFCP$outboundSchema.parse(getCheckFCP)); -} - -export function getCheckFCPFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetCheckFCP$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetCheckFCP' from JSON`, - ); -} - -/** @internal */ -export const GetCheckChecksSource$inboundSchema: z.ZodNativeEnum< - typeof GetCheckChecksSource -> = z.nativeEnum(GetCheckChecksSource); - -/** @internal */ -export const GetCheckChecksSource$outboundSchema: z.ZodNativeEnum< - typeof GetCheckChecksSource -> = GetCheckChecksSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCheckChecksSource$ { - /** @deprecated use `GetCheckChecksSource$inboundSchema` instead. */ - export const inboundSchema = GetCheckChecksSource$inboundSchema; - /** @deprecated use `GetCheckChecksSource$outboundSchema` instead. */ - export const outboundSchema = GetCheckChecksSource$outboundSchema; -} - -/** @internal */ -export const GetCheckLCP$inboundSchema: z.ZodType< - GetCheckLCP, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetCheckChecksSource$inboundSchema, -}); - -/** @internal */ -export type GetCheckLCP$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const GetCheckLCP$outboundSchema: z.ZodType< - GetCheckLCP$Outbound, - z.ZodTypeDef, - GetCheckLCP -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetCheckChecksSource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCheckLCP$ { - /** @deprecated use `GetCheckLCP$inboundSchema` instead. */ - export const inboundSchema = GetCheckLCP$inboundSchema; - /** @deprecated use `GetCheckLCP$outboundSchema` instead. */ - export const outboundSchema = GetCheckLCP$outboundSchema; - /** @deprecated use `GetCheckLCP$Outbound` instead. */ - export type Outbound = GetCheckLCP$Outbound; -} - -export function getCheckLCPToJSON(getCheckLCP: GetCheckLCP): string { - return JSON.stringify(GetCheckLCP$outboundSchema.parse(getCheckLCP)); -} - -export function getCheckLCPFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetCheckLCP$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetCheckLCP' from JSON`, - ); -} - -/** @internal */ -export const GetCheckChecksResponseSource$inboundSchema: z.ZodNativeEnum< - typeof GetCheckChecksResponseSource -> = z.nativeEnum(GetCheckChecksResponseSource); - -/** @internal */ -export const GetCheckChecksResponseSource$outboundSchema: z.ZodNativeEnum< - typeof GetCheckChecksResponseSource -> = GetCheckChecksResponseSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCheckChecksResponseSource$ { - /** @deprecated use `GetCheckChecksResponseSource$inboundSchema` instead. */ - export const inboundSchema = GetCheckChecksResponseSource$inboundSchema; - /** @deprecated use `GetCheckChecksResponseSource$outboundSchema` instead. */ - export const outboundSchema = GetCheckChecksResponseSource$outboundSchema; -} - -/** @internal */ -export const GetCheckCLS$inboundSchema: z.ZodType< - GetCheckCLS, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetCheckChecksResponseSource$inboundSchema, -}); - -/** @internal */ -export type GetCheckCLS$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const GetCheckCLS$outboundSchema: z.ZodType< - GetCheckCLS$Outbound, - z.ZodTypeDef, - GetCheckCLS -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetCheckChecksResponseSource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCheckCLS$ { - /** @deprecated use `GetCheckCLS$inboundSchema` instead. */ - export const inboundSchema = GetCheckCLS$inboundSchema; - /** @deprecated use `GetCheckCLS$outboundSchema` instead. */ - export const outboundSchema = GetCheckCLS$outboundSchema; - /** @deprecated use `GetCheckCLS$Outbound` instead. */ - export type Outbound = GetCheckCLS$Outbound; -} - -export function getCheckCLSToJSON(getCheckCLS: GetCheckCLS): string { - return JSON.stringify(GetCheckCLS$outboundSchema.parse(getCheckCLS)); -} - -export function getCheckCLSFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetCheckCLS$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetCheckCLS' from JSON`, - ); -} - -/** @internal */ -export const GetCheckChecksResponse200Source$inboundSchema: z.ZodNativeEnum< - typeof GetCheckChecksResponse200Source -> = z.nativeEnum(GetCheckChecksResponse200Source); - -/** @internal */ -export const GetCheckChecksResponse200Source$outboundSchema: z.ZodNativeEnum< - typeof GetCheckChecksResponse200Source -> = GetCheckChecksResponse200Source$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCheckChecksResponse200Source$ { - /** @deprecated use `GetCheckChecksResponse200Source$inboundSchema` instead. */ - export const inboundSchema = GetCheckChecksResponse200Source$inboundSchema; - /** @deprecated use `GetCheckChecksResponse200Source$outboundSchema` instead. */ - export const outboundSchema = GetCheckChecksResponse200Source$outboundSchema; -} - -/** @internal */ -export const GetCheckTBT$inboundSchema: z.ZodType< - GetCheckTBT, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetCheckChecksResponse200Source$inboundSchema, -}); - -/** @internal */ -export type GetCheckTBT$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const GetCheckTBT$outboundSchema: z.ZodType< - GetCheckTBT$Outbound, - z.ZodTypeDef, - GetCheckTBT -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetCheckChecksResponse200Source$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCheckTBT$ { - /** @deprecated use `GetCheckTBT$inboundSchema` instead. */ - export const inboundSchema = GetCheckTBT$inboundSchema; - /** @deprecated use `GetCheckTBT$outboundSchema` instead. */ - export const outboundSchema = GetCheckTBT$outboundSchema; - /** @deprecated use `GetCheckTBT$Outbound` instead. */ - export type Outbound = GetCheckTBT$Outbound; -} - -export function getCheckTBTToJSON(getCheckTBT: GetCheckTBT): string { - return JSON.stringify(GetCheckTBT$outboundSchema.parse(getCheckTBT)); -} - -export function getCheckTBTFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetCheckTBT$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetCheckTBT' from JSON`, - ); -} - -/** @internal */ -export const GetCheckChecksResponse200ApplicationJSONSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetCheckChecksResponse200ApplicationJSONSource); - -/** @internal */ -export const GetCheckChecksResponse200ApplicationJSONSource$outboundSchema: - z.ZodNativeEnum = - GetCheckChecksResponse200ApplicationJSONSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCheckChecksResponse200ApplicationJSONSource$ { - /** @deprecated use `GetCheckChecksResponse200ApplicationJSONSource$inboundSchema` instead. */ - export const inboundSchema = - GetCheckChecksResponse200ApplicationJSONSource$inboundSchema; - /** @deprecated use `GetCheckChecksResponse200ApplicationJSONSource$outboundSchema` instead. */ - export const outboundSchema = - GetCheckChecksResponse200ApplicationJSONSource$outboundSchema; -} - -/** @internal */ -export const GetCheckVirtualExperienceScore$inboundSchema: z.ZodType< - GetCheckVirtualExperienceScore, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetCheckChecksResponse200ApplicationJSONSource$inboundSchema, -}); - -/** @internal */ -export type GetCheckVirtualExperienceScore$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const GetCheckVirtualExperienceScore$outboundSchema: z.ZodType< - GetCheckVirtualExperienceScore$Outbound, - z.ZodTypeDef, - GetCheckVirtualExperienceScore -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: GetCheckChecksResponse200ApplicationJSONSource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCheckVirtualExperienceScore$ { - /** @deprecated use `GetCheckVirtualExperienceScore$inboundSchema` instead. */ - export const inboundSchema = GetCheckVirtualExperienceScore$inboundSchema; - /** @deprecated use `GetCheckVirtualExperienceScore$outboundSchema` instead. */ - export const outboundSchema = GetCheckVirtualExperienceScore$outboundSchema; - /** @deprecated use `GetCheckVirtualExperienceScore$Outbound` instead. */ - export type Outbound = GetCheckVirtualExperienceScore$Outbound; -} - -export function getCheckVirtualExperienceScoreToJSON( - getCheckVirtualExperienceScore: GetCheckVirtualExperienceScore, -): string { - return JSON.stringify( - GetCheckVirtualExperienceScore$outboundSchema.parse( - getCheckVirtualExperienceScore, - ), - ); -} - -export function getCheckVirtualExperienceScoreFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetCheckVirtualExperienceScore$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetCheckVirtualExperienceScore' from JSON`, - ); -} - -/** @internal */ -export const GetCheckMetrics$inboundSchema: z.ZodType< - GetCheckMetrics, - z.ZodTypeDef, - unknown -> = z.object({ - FCP: z.lazy(() => GetCheckFCP$inboundSchema), - LCP: z.lazy(() => GetCheckLCP$inboundSchema), - CLS: z.lazy(() => GetCheckCLS$inboundSchema), - TBT: z.lazy(() => GetCheckTBT$inboundSchema), - virtualExperienceScore: z.lazy(() => - GetCheckVirtualExperienceScore$inboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - "FCP": "fcp", - "LCP": "lcp", - "CLS": "cls", - "TBT": "tbt", - }); -}); - -/** @internal */ -export type GetCheckMetrics$Outbound = { - FCP: GetCheckFCP$Outbound; - LCP: GetCheckLCP$Outbound; - CLS: GetCheckCLS$Outbound; - TBT: GetCheckTBT$Outbound; - virtualExperienceScore?: GetCheckVirtualExperienceScore$Outbound | undefined; -}; - -/** @internal */ -export const GetCheckMetrics$outboundSchema: z.ZodType< - GetCheckMetrics$Outbound, - z.ZodTypeDef, - GetCheckMetrics -> = z.object({ - fcp: z.lazy(() => GetCheckFCP$outboundSchema), - lcp: z.lazy(() => GetCheckLCP$outboundSchema), - cls: z.lazy(() => GetCheckCLS$outboundSchema), - tbt: z.lazy(() => GetCheckTBT$outboundSchema), - virtualExperienceScore: z.lazy(() => - GetCheckVirtualExperienceScore$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - fcp: "FCP", - lcp: "LCP", - cls: "CLS", - tbt: "TBT", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCheckMetrics$ { - /** @deprecated use `GetCheckMetrics$inboundSchema` instead. */ - export const inboundSchema = GetCheckMetrics$inboundSchema; - /** @deprecated use `GetCheckMetrics$outboundSchema` instead. */ - export const outboundSchema = GetCheckMetrics$outboundSchema; - /** @deprecated use `GetCheckMetrics$Outbound` instead. */ - export type Outbound = GetCheckMetrics$Outbound; -} - -export function getCheckMetricsToJSON( - getCheckMetrics: GetCheckMetrics, -): string { - return JSON.stringify(GetCheckMetrics$outboundSchema.parse(getCheckMetrics)); -} - -export function getCheckMetricsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetCheckMetrics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetCheckMetrics' from JSON`, - ); -} - -/** @internal */ -export const GetCheckOutput$inboundSchema: z.ZodType< - GetCheckOutput, - z.ZodTypeDef, - unknown -> = z.object({ - metrics: z.lazy(() => GetCheckMetrics$inboundSchema).optional(), -}); - -/** @internal */ -export type GetCheckOutput$Outbound = { - metrics?: GetCheckMetrics$Outbound | undefined; -}; - -/** @internal */ -export const GetCheckOutput$outboundSchema: z.ZodType< - GetCheckOutput$Outbound, - z.ZodTypeDef, - GetCheckOutput -> = z.object({ - metrics: z.lazy(() => GetCheckMetrics$outboundSchema).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCheckOutput$ { - /** @deprecated use `GetCheckOutput$inboundSchema` instead. */ - export const inboundSchema = GetCheckOutput$inboundSchema; - /** @deprecated use `GetCheckOutput$outboundSchema` instead. */ - export const outboundSchema = GetCheckOutput$outboundSchema; - /** @deprecated use `GetCheckOutput$Outbound` instead. */ - export type Outbound = GetCheckOutput$Outbound; -} - -export function getCheckOutputToJSON(getCheckOutput: GetCheckOutput): string { - return JSON.stringify(GetCheckOutput$outboundSchema.parse(getCheckOutput)); -} - -export function getCheckOutputFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetCheckOutput$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetCheckOutput' from JSON`, - ); -} - -/** @internal */ -export const GetCheckResponseBody$inboundSchema: z.ZodType< - GetCheckResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string(), - path: z.string().optional(), - status: GetCheckStatus$inboundSchema, - conclusion: GetCheckConclusion$inboundSchema.optional(), - blocking: z.boolean(), - output: z.lazy(() => GetCheckOutput$inboundSchema).optional(), - detailsUrl: z.string().optional(), - integrationId: z.string(), - deploymentId: z.string(), - externalId: z.string().optional(), - createdAt: z.number(), - updatedAt: z.number(), - startedAt: z.number().optional(), - completedAt: z.number().optional(), - rerequestable: z.boolean().optional(), -}); - -/** @internal */ -export type GetCheckResponseBody$Outbound = { - id: string; - name: string; - path?: string | undefined; - status: string; - conclusion?: string | undefined; - blocking: boolean; - output?: GetCheckOutput$Outbound | undefined; - detailsUrl?: string | undefined; - integrationId: string; - deploymentId: string; - externalId?: string | undefined; - createdAt: number; - updatedAt: number; - startedAt?: number | undefined; - completedAt?: number | undefined; - rerequestable?: boolean | undefined; -}; - -/** @internal */ -export const GetCheckResponseBody$outboundSchema: z.ZodType< - GetCheckResponseBody$Outbound, - z.ZodTypeDef, - GetCheckResponseBody -> = z.object({ - id: z.string(), - name: z.string(), - path: z.string().optional(), - status: GetCheckStatus$outboundSchema, - conclusion: GetCheckConclusion$outboundSchema.optional(), - blocking: z.boolean(), - output: z.lazy(() => GetCheckOutput$outboundSchema).optional(), - detailsUrl: z.string().optional(), - integrationId: z.string(), - deploymentId: z.string(), - externalId: z.string().optional(), - createdAt: z.number(), - updatedAt: z.number(), - startedAt: z.number().optional(), - completedAt: z.number().optional(), - rerequestable: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCheckResponseBody$ { - /** @deprecated use `GetCheckResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetCheckResponseBody$inboundSchema; - /** @deprecated use `GetCheckResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetCheckResponseBody$outboundSchema; - /** @deprecated use `GetCheckResponseBody$Outbound` instead. */ - export type Outbound = GetCheckResponseBody$Outbound; -} - -export function getCheckResponseBodyToJSON( - getCheckResponseBody: GetCheckResponseBody, -): string { - return JSON.stringify( - GetCheckResponseBody$outboundSchema.parse(getCheckResponseBody), - ); -} - -export function getCheckResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetCheckResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetCheckResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getconfigurablelogdrain.ts b/src/models/operations/getconfigurablelogdrain.ts deleted file mode 100644 index 5bc6542e..00000000 --- a/src/models/operations/getconfigurablelogdrain.ts +++ /dev/null @@ -1,423 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetConfigurableLogDrainRequest = { - id: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export const GetConfigurableLogDrainDeliveryFormat = { - Json: "json", - Ndjson: "ndjson", - Syslog: "syslog", -} as const; -export type GetConfigurableLogDrainDeliveryFormat = ClosedEnum< - typeof GetConfigurableLogDrainDeliveryFormat ->; - -export const GetConfigurableLogDrainSources = { - Build: "build", - Edge: "edge", - Lambda: "lambda", - Static: "static", - External: "external", - Firewall: "firewall", -} as const; -export type GetConfigurableLogDrainSources = ClosedEnum< - typeof GetConfigurableLogDrainSources ->; - -export const GetConfigurableLogDrainEnvironments = { - Production: "production", - Preview: "preview", -} as const; -export type GetConfigurableLogDrainEnvironments = ClosedEnum< - typeof GetConfigurableLogDrainEnvironments ->; - -export const GetConfigurableLogDrainStatus = { - Enabled: "enabled", - Disabled: "disabled", - Errored: "errored", -} as const; -export type GetConfigurableLogDrainStatus = ClosedEnum< - typeof GetConfigurableLogDrainStatus ->; - -export const DisabledReason = { - DisabledByOwner: "disabled-by-owner", - FeatureNotAvailable: "feature-not-available", - AccountPlanDowngrade: "account-plan-downgrade", - DisabledByAdmin: "disabled-by-admin", -} as const; -export type DisabledReason = ClosedEnum; - -export const GetConfigurableLogDrainCreatedFrom = { - SelfServed: "self-served", -} as const; -export type GetConfigurableLogDrainCreatedFrom = ClosedEnum< - typeof GetConfigurableLogDrainCreatedFrom ->; - -export type GetConfigurableLogDrainResponseBody = { - id: string; - deliveryFormat: GetConfigurableLogDrainDeliveryFormat; - url: string; - name: string; - clientId?: string | undefined; - configurationId?: string | undefined; - teamId?: string | null | undefined; - ownerId: string; - projectIds?: Array | undefined; - createdAt: number; - deletedAt: number | null; - updatedAt: number; - sources?: Array | undefined; - headers?: { [k: string]: string } | undefined; - environments: Array; - status?: GetConfigurableLogDrainStatus | undefined; - disabledAt?: number | undefined; - disabledReason?: DisabledReason | undefined; - disabledBy?: string | undefined; - firstErrorTimestamp?: number | undefined; - samplingRate?: number | undefined; - hideIpAddresses?: boolean | undefined; - secret: string; - createdFrom?: GetConfigurableLogDrainCreatedFrom | undefined; -}; - -/** @internal */ -export const GetConfigurableLogDrainRequest$inboundSchema: z.ZodType< - GetConfigurableLogDrainRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetConfigurableLogDrainRequest$Outbound = { - id: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetConfigurableLogDrainRequest$outboundSchema: z.ZodType< - GetConfigurableLogDrainRequest$Outbound, - z.ZodTypeDef, - GetConfigurableLogDrainRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurableLogDrainRequest$ { - /** @deprecated use `GetConfigurableLogDrainRequest$inboundSchema` instead. */ - export const inboundSchema = GetConfigurableLogDrainRequest$inboundSchema; - /** @deprecated use `GetConfigurableLogDrainRequest$outboundSchema` instead. */ - export const outboundSchema = GetConfigurableLogDrainRequest$outboundSchema; - /** @deprecated use `GetConfigurableLogDrainRequest$Outbound` instead. */ - export type Outbound = GetConfigurableLogDrainRequest$Outbound; -} - -export function getConfigurableLogDrainRequestToJSON( - getConfigurableLogDrainRequest: GetConfigurableLogDrainRequest, -): string { - return JSON.stringify( - GetConfigurableLogDrainRequest$outboundSchema.parse( - getConfigurableLogDrainRequest, - ), - ); -} - -export function getConfigurableLogDrainRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetConfigurableLogDrainRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetConfigurableLogDrainRequest' from JSON`, - ); -} - -/** @internal */ -export const GetConfigurableLogDrainDeliveryFormat$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetConfigurableLogDrainDeliveryFormat, - ); - -/** @internal */ -export const GetConfigurableLogDrainDeliveryFormat$outboundSchema: - z.ZodNativeEnum = - GetConfigurableLogDrainDeliveryFormat$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurableLogDrainDeliveryFormat$ { - /** @deprecated use `GetConfigurableLogDrainDeliveryFormat$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurableLogDrainDeliveryFormat$inboundSchema; - /** @deprecated use `GetConfigurableLogDrainDeliveryFormat$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurableLogDrainDeliveryFormat$outboundSchema; -} - -/** @internal */ -export const GetConfigurableLogDrainSources$inboundSchema: z.ZodNativeEnum< - typeof GetConfigurableLogDrainSources -> = z.nativeEnum(GetConfigurableLogDrainSources); - -/** @internal */ -export const GetConfigurableLogDrainSources$outboundSchema: z.ZodNativeEnum< - typeof GetConfigurableLogDrainSources -> = GetConfigurableLogDrainSources$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurableLogDrainSources$ { - /** @deprecated use `GetConfigurableLogDrainSources$inboundSchema` instead. */ - export const inboundSchema = GetConfigurableLogDrainSources$inboundSchema; - /** @deprecated use `GetConfigurableLogDrainSources$outboundSchema` instead. */ - export const outboundSchema = GetConfigurableLogDrainSources$outboundSchema; -} - -/** @internal */ -export const GetConfigurableLogDrainEnvironments$inboundSchema: z.ZodNativeEnum< - typeof GetConfigurableLogDrainEnvironments -> = z.nativeEnum(GetConfigurableLogDrainEnvironments); - -/** @internal */ -export const GetConfigurableLogDrainEnvironments$outboundSchema: - z.ZodNativeEnum = - GetConfigurableLogDrainEnvironments$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurableLogDrainEnvironments$ { - /** @deprecated use `GetConfigurableLogDrainEnvironments$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurableLogDrainEnvironments$inboundSchema; - /** @deprecated use `GetConfigurableLogDrainEnvironments$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurableLogDrainEnvironments$outboundSchema; -} - -/** @internal */ -export const GetConfigurableLogDrainStatus$inboundSchema: z.ZodNativeEnum< - typeof GetConfigurableLogDrainStatus -> = z.nativeEnum(GetConfigurableLogDrainStatus); - -/** @internal */ -export const GetConfigurableLogDrainStatus$outboundSchema: z.ZodNativeEnum< - typeof GetConfigurableLogDrainStatus -> = GetConfigurableLogDrainStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurableLogDrainStatus$ { - /** @deprecated use `GetConfigurableLogDrainStatus$inboundSchema` instead. */ - export const inboundSchema = GetConfigurableLogDrainStatus$inboundSchema; - /** @deprecated use `GetConfigurableLogDrainStatus$outboundSchema` instead. */ - export const outboundSchema = GetConfigurableLogDrainStatus$outboundSchema; -} - -/** @internal */ -export const DisabledReason$inboundSchema: z.ZodNativeEnum< - typeof DisabledReason -> = z.nativeEnum(DisabledReason); - -/** @internal */ -export const DisabledReason$outboundSchema: z.ZodNativeEnum< - typeof DisabledReason -> = DisabledReason$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DisabledReason$ { - /** @deprecated use `DisabledReason$inboundSchema` instead. */ - export const inboundSchema = DisabledReason$inboundSchema; - /** @deprecated use `DisabledReason$outboundSchema` instead. */ - export const outboundSchema = DisabledReason$outboundSchema; -} - -/** @internal */ -export const GetConfigurableLogDrainCreatedFrom$inboundSchema: z.ZodNativeEnum< - typeof GetConfigurableLogDrainCreatedFrom -> = z.nativeEnum(GetConfigurableLogDrainCreatedFrom); - -/** @internal */ -export const GetConfigurableLogDrainCreatedFrom$outboundSchema: z.ZodNativeEnum< - typeof GetConfigurableLogDrainCreatedFrom -> = GetConfigurableLogDrainCreatedFrom$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurableLogDrainCreatedFrom$ { - /** @deprecated use `GetConfigurableLogDrainCreatedFrom$inboundSchema` instead. */ - export const inboundSchema = GetConfigurableLogDrainCreatedFrom$inboundSchema; - /** @deprecated use `GetConfigurableLogDrainCreatedFrom$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurableLogDrainCreatedFrom$outboundSchema; -} - -/** @internal */ -export const GetConfigurableLogDrainResponseBody$inboundSchema: z.ZodType< - GetConfigurableLogDrainResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - deliveryFormat: GetConfigurableLogDrainDeliveryFormat$inboundSchema, - url: z.string(), - name: z.string(), - clientId: z.string().optional(), - configurationId: z.string().optional(), - teamId: z.nullable(z.string()).optional(), - ownerId: z.string(), - projectIds: z.array(z.string()).optional(), - createdAt: z.number(), - deletedAt: z.nullable(z.number()), - updatedAt: z.number(), - sources: z.array(GetConfigurableLogDrainSources$inboundSchema).optional(), - headers: z.record(z.string()).optional(), - environments: z.array(GetConfigurableLogDrainEnvironments$inboundSchema), - status: GetConfigurableLogDrainStatus$inboundSchema.optional(), - disabledAt: z.number().optional(), - disabledReason: DisabledReason$inboundSchema.optional(), - disabledBy: z.string().optional(), - firstErrorTimestamp: z.number().optional(), - samplingRate: z.number().optional(), - hideIpAddresses: z.boolean().optional(), - secret: z.string(), - createdFrom: GetConfigurableLogDrainCreatedFrom$inboundSchema.optional(), -}); - -/** @internal */ -export type GetConfigurableLogDrainResponseBody$Outbound = { - id: string; - deliveryFormat: string; - url: string; - name: string; - clientId?: string | undefined; - configurationId?: string | undefined; - teamId?: string | null | undefined; - ownerId: string; - projectIds?: Array | undefined; - createdAt: number; - deletedAt: number | null; - updatedAt: number; - sources?: Array | undefined; - headers?: { [k: string]: string } | undefined; - environments: Array; - status?: string | undefined; - disabledAt?: number | undefined; - disabledReason?: string | undefined; - disabledBy?: string | undefined; - firstErrorTimestamp?: number | undefined; - samplingRate?: number | undefined; - hideIpAddresses?: boolean | undefined; - secret: string; - createdFrom?: string | undefined; -}; - -/** @internal */ -export const GetConfigurableLogDrainResponseBody$outboundSchema: z.ZodType< - GetConfigurableLogDrainResponseBody$Outbound, - z.ZodTypeDef, - GetConfigurableLogDrainResponseBody -> = z.object({ - id: z.string(), - deliveryFormat: GetConfigurableLogDrainDeliveryFormat$outboundSchema, - url: z.string(), - name: z.string(), - clientId: z.string().optional(), - configurationId: z.string().optional(), - teamId: z.nullable(z.string()).optional(), - ownerId: z.string(), - projectIds: z.array(z.string()).optional(), - createdAt: z.number(), - deletedAt: z.nullable(z.number()), - updatedAt: z.number(), - sources: z.array(GetConfigurableLogDrainSources$outboundSchema).optional(), - headers: z.record(z.string()).optional(), - environments: z.array(GetConfigurableLogDrainEnvironments$outboundSchema), - status: GetConfigurableLogDrainStatus$outboundSchema.optional(), - disabledAt: z.number().optional(), - disabledReason: DisabledReason$outboundSchema.optional(), - disabledBy: z.string().optional(), - firstErrorTimestamp: z.number().optional(), - samplingRate: z.number().optional(), - hideIpAddresses: z.boolean().optional(), - secret: z.string(), - createdFrom: GetConfigurableLogDrainCreatedFrom$outboundSchema.optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurableLogDrainResponseBody$ { - /** @deprecated use `GetConfigurableLogDrainResponseBody$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurableLogDrainResponseBody$inboundSchema; - /** @deprecated use `GetConfigurableLogDrainResponseBody$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurableLogDrainResponseBody$outboundSchema; - /** @deprecated use `GetConfigurableLogDrainResponseBody$Outbound` instead. */ - export type Outbound = GetConfigurableLogDrainResponseBody$Outbound; -} - -export function getConfigurableLogDrainResponseBodyToJSON( - getConfigurableLogDrainResponseBody: GetConfigurableLogDrainResponseBody, -): string { - return JSON.stringify( - GetConfigurableLogDrainResponseBody$outboundSchema.parse( - getConfigurableLogDrainResponseBody, - ), - ); -} - -export function getConfigurableLogDrainResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetConfigurableLogDrainResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetConfigurableLogDrainResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getconfiguration.ts b/src/models/operations/getconfiguration.ts deleted file mode 100644 index 4ad5a4a5..00000000 --- a/src/models/operations/getconfiguration.ts +++ /dev/null @@ -1,1266 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetConfigurationRequest = { - /** - * ID of the configuration to check - */ - id: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * A string representing the permission for projects. Possible values are `all` or `selected`. - */ -export const ProjectSelection = { - Selected: "selected", - All: "all", -} as const; -/** - * A string representing the permission for projects. Possible values are `all` or `selected`. - */ -export type ProjectSelection = ClosedEnum; - -/** - * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. - */ -export const GetConfigurationResponseBodyIntegrationsSource = { - Marketplace: "marketplace", - DeployButton: "deploy-button", - External: "external", -} as const; -/** - * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. - */ -export type GetConfigurationResponseBodyIntegrationsSource = ClosedEnum< - typeof GetConfigurationResponseBodyIntegrationsSource ->; - -export const GetConfigurationResponseBodyIntegrationsType = { - IntegrationConfiguration: "integration-configuration", -} as const; -export type GetConfigurationResponseBodyIntegrationsType = ClosedEnum< - typeof GetConfigurationResponseBodyIntegrationsType ->; - -export const GetConfigurationResponseBodyIntegrationsDisabledReason = { - DisabledByOwner: "disabled-by-owner", - FeatureNotAvailable: "feature-not-available", - DisabledByAdmin: "disabled-by-admin", - OriginalOwnerLeftTheTeam: "original-owner-left-the-team", - AccountPlanDowngrade: "account-plan-downgrade", - OriginalOwnerRoleDowngraded: "original-owner-role-downgraded", -} as const; -export type GetConfigurationResponseBodyIntegrationsDisabledReason = ClosedEnum< - typeof GetConfigurationResponseBodyIntegrationsDisabledReason ->; - -/** - * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' - */ -export const GetConfigurationResponseBodyIntegrationsInstallationType = { - Marketplace: "marketplace", - External: "external", -} as const; -/** - * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' - */ -export type GetConfigurationResponseBodyIntegrationsInstallationType = - ClosedEnum; - -export type GetConfigurationResponseBody2 = { - /** - * A string representing the permission for projects. Possible values are `all` or `selected`. - */ - projectSelection: ProjectSelection; - /** - * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access. - */ - projects?: Array | undefined; - /** - * A timestamp that tells you when the configuration was installed successfully - */ - completedAt?: number | undefined; - /** - * A timestamp that tells you when the configuration was created - */ - createdAt: number; - /** - * The unique identifier of the configuration - */ - id: string; - /** - * The unique identifier of the app the configuration was created for - */ - integrationId: string; - /** - * The user or team ID that owns the configuration - */ - ownerId: string; - /** - * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. - */ - source?: GetConfigurationResponseBodyIntegrationsSource | undefined; - /** - * The slug of the integration the configuration is created for. - */ - slug: string; - /** - * When the configuration was created for a team, this will show the ID of the team. - */ - teamId?: string | null | undefined; - type: GetConfigurationResponseBodyIntegrationsType; - /** - * A timestamp that tells you when the configuration was updated. - */ - updatedAt: number; - /** - * The ID of the user that created the configuration. - */ - userId: string; - /** - * The resources that are allowed to be accessed by the configuration. - */ - scopes: Array; - /** - * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team. - */ - disabledAt?: number | undefined; - /** - * A timestamp that tells you when the configuration was deleted. - */ - deletedAt?: number | null | undefined; - /** - * A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid. - */ - deleteRequestedAt?: number | null | undefined; - disabledReason?: - | GetConfigurationResponseBodyIntegrationsDisabledReason - | undefined; - /** - * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' - */ - installationType?: - | GetConfigurationResponseBodyIntegrationsInstallationType - | undefined; - canConfigureOpenTelemetry?: boolean | undefined; -}; - -export const GetConfigurationResponseBodyIntegrationsResponseType = { - Prepayment: "prepayment", - Subscription: "subscription", -} as const; -export type GetConfigurationResponseBodyIntegrationsResponseType = ClosedEnum< - typeof GetConfigurationResponseBodyIntegrationsResponseType ->; - -export const GetConfigurationResponseBodyScope = { - Installation: "installation", - Resource: "resource", -} as const; -export type GetConfigurationResponseBodyScope = ClosedEnum< - typeof GetConfigurationResponseBodyScope ->; - -export type GetConfigurationResponseBodyDetails = { - label: string; - value?: string | undefined; -}; - -export type GetConfigurationResponseBodyHeightlightedDetails = { - label: string; - value?: string | undefined; -}; - -export type GetConfigurationResponseBodyQuote = { - line: string; - amount: string; -}; - -export type GetConfigurationResponseBodyBillingPlan = { - id: string; - type: GetConfigurationResponseBodyIntegrationsResponseType; - name: string; - scope?: GetConfigurationResponseBodyScope | undefined; - description: string; - paymentMethodRequired?: boolean | undefined; - preauthorizationAmount?: number | undefined; - cost?: string | undefined; - details?: Array | undefined; - heightlightedDetails?: - | Array - | undefined; - quote?: Array | undefined; - effectiveDate?: string | undefined; -}; - -/** - * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. - */ -export const GetConfigurationResponseBodySource = { - Marketplace: "marketplace", - DeployButton: "deploy-button", - External: "external", -} as const; -/** - * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. - */ -export type GetConfigurationResponseBodySource = ClosedEnum< - typeof GetConfigurationResponseBodySource ->; - -export const GetConfigurationResponseBodyType = { - IntegrationConfiguration: "integration-configuration", -} as const; -export type GetConfigurationResponseBodyType = ClosedEnum< - typeof GetConfigurationResponseBodyType ->; - -export const GetConfigurationResponseBodyDisabledReason = { - DisabledByOwner: "disabled-by-owner", - FeatureNotAvailable: "feature-not-available", - DisabledByAdmin: "disabled-by-admin", - OriginalOwnerLeftTheTeam: "original-owner-left-the-team", - AccountPlanDowngrade: "account-plan-downgrade", - OriginalOwnerRoleDowngraded: "original-owner-role-downgraded", -} as const; -export type GetConfigurationResponseBodyDisabledReason = ClosedEnum< - typeof GetConfigurationResponseBodyDisabledReason ->; - -/** - * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' - */ -export const GetConfigurationResponseBodyInstallationType = { - Marketplace: "marketplace", - External: "external", -} as const; -/** - * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' - */ -export type GetConfigurationResponseBodyInstallationType = ClosedEnum< - typeof GetConfigurationResponseBodyInstallationType ->; - -/** - * The configuration with the provided id - */ -export type GetConfigurationResponseBody1 = { - billingPlan?: GetConfigurationResponseBodyBillingPlan | undefined; - billingTotal?: string | undefined; - periodStart?: string | undefined; - periodEnd?: string | undefined; - /** - * A timestamp that tells you when the configuration was installed successfully - */ - completedAt?: number | undefined; - /** - * A timestamp that tells you when the configuration was created - */ - createdAt: number; - /** - * The unique identifier of the configuration - */ - id: string; - /** - * The unique identifier of the app the configuration was created for - */ - integrationId: string; - /** - * The user or team ID that owns the configuration - */ - ownerId: string; - /** - * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access. - */ - projects?: Array | undefined; - /** - * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. - */ - source?: GetConfigurationResponseBodySource | undefined; - /** - * The slug of the integration the configuration is created for. - */ - slug: string; - /** - * When the configuration was created for a team, this will show the ID of the team. - */ - teamId?: string | null | undefined; - type: GetConfigurationResponseBodyType; - /** - * A timestamp that tells you when the configuration was updated. - */ - updatedAt: number; - /** - * The ID of the user that created the configuration. - */ - userId: string; - /** - * The resources that are allowed to be accessed by the configuration. - */ - scopes: Array; - /** - * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team. - */ - disabledAt?: number | undefined; - /** - * A timestamp that tells you when the configuration was deleted. - */ - deletedAt?: number | null | undefined; - /** - * A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid. - */ - deleteRequestedAt?: number | null | undefined; - disabledReason?: GetConfigurationResponseBodyDisabledReason | undefined; - /** - * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' - */ - installationType?: GetConfigurationResponseBodyInstallationType | undefined; -}; - -/** - * The configuration with the provided id - */ -export type GetConfigurationResponseBody = - | GetConfigurationResponseBody2 - | GetConfigurationResponseBody1; - -/** @internal */ -export const GetConfigurationRequest$inboundSchema: z.ZodType< - GetConfigurationRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetConfigurationRequest$Outbound = { - id: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetConfigurationRequest$outboundSchema: z.ZodType< - GetConfigurationRequest$Outbound, - z.ZodTypeDef, - GetConfigurationRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationRequest$ { - /** @deprecated use `GetConfigurationRequest$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationRequest$inboundSchema; - /** @deprecated use `GetConfigurationRequest$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationRequest$outboundSchema; - /** @deprecated use `GetConfigurationRequest$Outbound` instead. */ - export type Outbound = GetConfigurationRequest$Outbound; -} - -export function getConfigurationRequestToJSON( - getConfigurationRequest: GetConfigurationRequest, -): string { - return JSON.stringify( - GetConfigurationRequest$outboundSchema.parse(getConfigurationRequest), - ); -} - -export function getConfigurationRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetConfigurationRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationRequest' from JSON`, - ); -} - -/** @internal */ -export const ProjectSelection$inboundSchema: z.ZodNativeEnum< - typeof ProjectSelection -> = z.nativeEnum(ProjectSelection); - -/** @internal */ -export const ProjectSelection$outboundSchema: z.ZodNativeEnum< - typeof ProjectSelection -> = ProjectSelection$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ProjectSelection$ { - /** @deprecated use `ProjectSelection$inboundSchema` instead. */ - export const inboundSchema = ProjectSelection$inboundSchema; - /** @deprecated use `ProjectSelection$outboundSchema` instead. */ - export const outboundSchema = ProjectSelection$outboundSchema; -} - -/** @internal */ -export const GetConfigurationResponseBodyIntegrationsSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationResponseBodyIntegrationsSource); - -/** @internal */ -export const GetConfigurationResponseBodyIntegrationsSource$outboundSchema: - z.ZodNativeEnum = - GetConfigurationResponseBodyIntegrationsSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBodyIntegrationsSource$ { - /** @deprecated use `GetConfigurationResponseBodyIntegrationsSource$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationResponseBodyIntegrationsSource$inboundSchema; - /** @deprecated use `GetConfigurationResponseBodyIntegrationsSource$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationResponseBodyIntegrationsSource$outboundSchema; -} - -/** @internal */ -export const GetConfigurationResponseBodyIntegrationsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationResponseBodyIntegrationsType); - -/** @internal */ -export const GetConfigurationResponseBodyIntegrationsType$outboundSchema: - z.ZodNativeEnum = - GetConfigurationResponseBodyIntegrationsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBodyIntegrationsType$ { - /** @deprecated use `GetConfigurationResponseBodyIntegrationsType$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationResponseBodyIntegrationsType$inboundSchema; - /** @deprecated use `GetConfigurationResponseBodyIntegrationsType$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationResponseBodyIntegrationsType$outboundSchema; -} - -/** @internal */ -export const GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema: - z.ZodNativeEnum< - typeof GetConfigurationResponseBodyIntegrationsDisabledReason - > = z.nativeEnum(GetConfigurationResponseBodyIntegrationsDisabledReason); - -/** @internal */ -export const GetConfigurationResponseBodyIntegrationsDisabledReason$outboundSchema: - z.ZodNativeEnum< - typeof GetConfigurationResponseBodyIntegrationsDisabledReason - > = GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBodyIntegrationsDisabledReason$ { - /** @deprecated use `GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema; - /** @deprecated use `GetConfigurationResponseBodyIntegrationsDisabledReason$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationResponseBodyIntegrationsDisabledReason$outboundSchema; -} - -/** @internal */ -export const GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema: - z.ZodNativeEnum< - typeof GetConfigurationResponseBodyIntegrationsInstallationType - > = z.nativeEnum(GetConfigurationResponseBodyIntegrationsInstallationType); - -/** @internal */ -export const GetConfigurationResponseBodyIntegrationsInstallationType$outboundSchema: - z.ZodNativeEnum< - typeof GetConfigurationResponseBodyIntegrationsInstallationType - > = GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBodyIntegrationsInstallationType$ { - /** @deprecated use `GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema; - /** @deprecated use `GetConfigurationResponseBodyIntegrationsInstallationType$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationResponseBodyIntegrationsInstallationType$outboundSchema; -} - -/** @internal */ -export const GetConfigurationResponseBody2$inboundSchema: z.ZodType< - GetConfigurationResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - projectSelection: ProjectSelection$inboundSchema, - projects: z.array(z.string()).optional(), - completedAt: z.number().optional(), - createdAt: z.number(), - id: z.string(), - integrationId: z.string(), - ownerId: z.string(), - source: GetConfigurationResponseBodyIntegrationsSource$inboundSchema - .optional(), - slug: z.string(), - teamId: z.nullable(z.string()).optional(), - type: GetConfigurationResponseBodyIntegrationsType$inboundSchema, - updatedAt: z.number(), - userId: z.string(), - scopes: z.array(z.string()), - disabledAt: z.number().optional(), - deletedAt: z.nullable(z.number()).optional(), - deleteRequestedAt: z.nullable(z.number()).optional(), - disabledReason: - GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema - .optional(), - installationType: - GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema - .optional(), - canConfigureOpenTelemetry: z.boolean().optional(), -}); - -/** @internal */ -export type GetConfigurationResponseBody2$Outbound = { - projectSelection: string; - projects?: Array | undefined; - completedAt?: number | undefined; - createdAt: number; - id: string; - integrationId: string; - ownerId: string; - source?: string | undefined; - slug: string; - teamId?: string | null | undefined; - type: string; - updatedAt: number; - userId: string; - scopes: Array; - disabledAt?: number | undefined; - deletedAt?: number | null | undefined; - deleteRequestedAt?: number | null | undefined; - disabledReason?: string | undefined; - installationType?: string | undefined; - canConfigureOpenTelemetry?: boolean | undefined; -}; - -/** @internal */ -export const GetConfigurationResponseBody2$outboundSchema: z.ZodType< - GetConfigurationResponseBody2$Outbound, - z.ZodTypeDef, - GetConfigurationResponseBody2 -> = z.object({ - projectSelection: ProjectSelection$outboundSchema, - projects: z.array(z.string()).optional(), - completedAt: z.number().optional(), - createdAt: z.number(), - id: z.string(), - integrationId: z.string(), - ownerId: z.string(), - source: GetConfigurationResponseBodyIntegrationsSource$outboundSchema - .optional(), - slug: z.string(), - teamId: z.nullable(z.string()).optional(), - type: GetConfigurationResponseBodyIntegrationsType$outboundSchema, - updatedAt: z.number(), - userId: z.string(), - scopes: z.array(z.string()), - disabledAt: z.number().optional(), - deletedAt: z.nullable(z.number()).optional(), - deleteRequestedAt: z.nullable(z.number()).optional(), - disabledReason: - GetConfigurationResponseBodyIntegrationsDisabledReason$outboundSchema - .optional(), - installationType: - GetConfigurationResponseBodyIntegrationsInstallationType$outboundSchema - .optional(), - canConfigureOpenTelemetry: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBody2$ { - /** @deprecated use `GetConfigurationResponseBody2$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationResponseBody2$inboundSchema; - /** @deprecated use `GetConfigurationResponseBody2$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationResponseBody2$outboundSchema; - /** @deprecated use `GetConfigurationResponseBody2$Outbound` instead. */ - export type Outbound = GetConfigurationResponseBody2$Outbound; -} - -export function getConfigurationResponseBody2ToJSON( - getConfigurationResponseBody2: GetConfigurationResponseBody2, -): string { - return JSON.stringify( - GetConfigurationResponseBody2$outboundSchema.parse( - getConfigurationResponseBody2, - ), - ); -} - -export function getConfigurationResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetConfigurationResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const GetConfigurationResponseBodyIntegrationsResponseType$inboundSchema: - z.ZodNativeEnum = - z.nativeEnum(GetConfigurationResponseBodyIntegrationsResponseType); - -/** @internal */ -export const GetConfigurationResponseBodyIntegrationsResponseType$outboundSchema: - z.ZodNativeEnum = - GetConfigurationResponseBodyIntegrationsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBodyIntegrationsResponseType$ { - /** @deprecated use `GetConfigurationResponseBodyIntegrationsResponseType$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationResponseBodyIntegrationsResponseType$inboundSchema; - /** @deprecated use `GetConfigurationResponseBodyIntegrationsResponseType$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationResponseBodyIntegrationsResponseType$outboundSchema; -} - -/** @internal */ -export const GetConfigurationResponseBodyScope$inboundSchema: z.ZodNativeEnum< - typeof GetConfigurationResponseBodyScope -> = z.nativeEnum(GetConfigurationResponseBodyScope); - -/** @internal */ -export const GetConfigurationResponseBodyScope$outboundSchema: z.ZodNativeEnum< - typeof GetConfigurationResponseBodyScope -> = GetConfigurationResponseBodyScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBodyScope$ { - /** @deprecated use `GetConfigurationResponseBodyScope$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationResponseBodyScope$inboundSchema; - /** @deprecated use `GetConfigurationResponseBodyScope$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationResponseBodyScope$outboundSchema; -} - -/** @internal */ -export const GetConfigurationResponseBodyDetails$inboundSchema: z.ZodType< - GetConfigurationResponseBodyDetails, - z.ZodTypeDef, - unknown -> = z.object({ - label: z.string(), - value: z.string().optional(), -}); - -/** @internal */ -export type GetConfigurationResponseBodyDetails$Outbound = { - label: string; - value?: string | undefined; -}; - -/** @internal */ -export const GetConfigurationResponseBodyDetails$outboundSchema: z.ZodType< - GetConfigurationResponseBodyDetails$Outbound, - z.ZodTypeDef, - GetConfigurationResponseBodyDetails -> = z.object({ - label: z.string(), - value: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBodyDetails$ { - /** @deprecated use `GetConfigurationResponseBodyDetails$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationResponseBodyDetails$inboundSchema; - /** @deprecated use `GetConfigurationResponseBodyDetails$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationResponseBodyDetails$outboundSchema; - /** @deprecated use `GetConfigurationResponseBodyDetails$Outbound` instead. */ - export type Outbound = GetConfigurationResponseBodyDetails$Outbound; -} - -export function getConfigurationResponseBodyDetailsToJSON( - getConfigurationResponseBodyDetails: GetConfigurationResponseBodyDetails, -): string { - return JSON.stringify( - GetConfigurationResponseBodyDetails$outboundSchema.parse( - getConfigurationResponseBodyDetails, - ), - ); -} - -export function getConfigurationResponseBodyDetailsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetConfigurationResponseBodyDetails$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationResponseBodyDetails' from JSON`, - ); -} - -/** @internal */ -export const GetConfigurationResponseBodyHeightlightedDetails$inboundSchema: - z.ZodType< - GetConfigurationResponseBodyHeightlightedDetails, - z.ZodTypeDef, - unknown - > = z.object({ - label: z.string(), - value: z.string().optional(), - }); - -/** @internal */ -export type GetConfigurationResponseBodyHeightlightedDetails$Outbound = { - label: string; - value?: string | undefined; -}; - -/** @internal */ -export const GetConfigurationResponseBodyHeightlightedDetails$outboundSchema: - z.ZodType< - GetConfigurationResponseBodyHeightlightedDetails$Outbound, - z.ZodTypeDef, - GetConfigurationResponseBodyHeightlightedDetails - > = z.object({ - label: z.string(), - value: z.string().optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBodyHeightlightedDetails$ { - /** @deprecated use `GetConfigurationResponseBodyHeightlightedDetails$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationResponseBodyHeightlightedDetails$inboundSchema; - /** @deprecated use `GetConfigurationResponseBodyHeightlightedDetails$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationResponseBodyHeightlightedDetails$outboundSchema; - /** @deprecated use `GetConfigurationResponseBodyHeightlightedDetails$Outbound` instead. */ - export type Outbound = - GetConfigurationResponseBodyHeightlightedDetails$Outbound; -} - -export function getConfigurationResponseBodyHeightlightedDetailsToJSON( - getConfigurationResponseBodyHeightlightedDetails: - GetConfigurationResponseBodyHeightlightedDetails, -): string { - return JSON.stringify( - GetConfigurationResponseBodyHeightlightedDetails$outboundSchema.parse( - getConfigurationResponseBodyHeightlightedDetails, - ), - ); -} - -export function getConfigurationResponseBodyHeightlightedDetailsFromJSON( - jsonString: string, -): SafeParseResult< - GetConfigurationResponseBodyHeightlightedDetails, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetConfigurationResponseBodyHeightlightedDetails$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetConfigurationResponseBodyHeightlightedDetails' from JSON`, - ); -} - -/** @internal */ -export const GetConfigurationResponseBodyQuote$inboundSchema: z.ZodType< - GetConfigurationResponseBodyQuote, - z.ZodTypeDef, - unknown -> = z.object({ - line: z.string(), - amount: z.string(), -}); - -/** @internal */ -export type GetConfigurationResponseBodyQuote$Outbound = { - line: string; - amount: string; -}; - -/** @internal */ -export const GetConfigurationResponseBodyQuote$outboundSchema: z.ZodType< - GetConfigurationResponseBodyQuote$Outbound, - z.ZodTypeDef, - GetConfigurationResponseBodyQuote -> = z.object({ - line: z.string(), - amount: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBodyQuote$ { - /** @deprecated use `GetConfigurationResponseBodyQuote$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationResponseBodyQuote$inboundSchema; - /** @deprecated use `GetConfigurationResponseBodyQuote$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationResponseBodyQuote$outboundSchema; - /** @deprecated use `GetConfigurationResponseBodyQuote$Outbound` instead. */ - export type Outbound = GetConfigurationResponseBodyQuote$Outbound; -} - -export function getConfigurationResponseBodyQuoteToJSON( - getConfigurationResponseBodyQuote: GetConfigurationResponseBodyQuote, -): string { - return JSON.stringify( - GetConfigurationResponseBodyQuote$outboundSchema.parse( - getConfigurationResponseBodyQuote, - ), - ); -} - -export function getConfigurationResponseBodyQuoteFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetConfigurationResponseBodyQuote$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationResponseBodyQuote' from JSON`, - ); -} - -/** @internal */ -export const GetConfigurationResponseBodyBillingPlan$inboundSchema: z.ZodType< - GetConfigurationResponseBodyBillingPlan, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - type: GetConfigurationResponseBodyIntegrationsResponseType$inboundSchema, - name: z.string(), - scope: GetConfigurationResponseBodyScope$inboundSchema.optional(), - description: z.string(), - paymentMethodRequired: z.boolean().optional(), - preauthorizationAmount: z.number().optional(), - cost: z.string().optional(), - details: z.array( - z.lazy(() => GetConfigurationResponseBodyDetails$inboundSchema), - ).optional(), - heightlightedDetails: z.array( - z.lazy(() => - GetConfigurationResponseBodyHeightlightedDetails$inboundSchema - ), - ).optional(), - quote: z.array(z.lazy(() => GetConfigurationResponseBodyQuote$inboundSchema)) - .optional(), - effectiveDate: z.string().optional(), -}); - -/** @internal */ -export type GetConfigurationResponseBodyBillingPlan$Outbound = { - id: string; - type: string; - name: string; - scope?: string | undefined; - description: string; - paymentMethodRequired?: boolean | undefined; - preauthorizationAmount?: number | undefined; - cost?: string | undefined; - details?: Array | undefined; - heightlightedDetails?: - | Array - | undefined; - quote?: Array | undefined; - effectiveDate?: string | undefined; -}; - -/** @internal */ -export const GetConfigurationResponseBodyBillingPlan$outboundSchema: z.ZodType< - GetConfigurationResponseBodyBillingPlan$Outbound, - z.ZodTypeDef, - GetConfigurationResponseBodyBillingPlan -> = z.object({ - id: z.string(), - type: GetConfigurationResponseBodyIntegrationsResponseType$outboundSchema, - name: z.string(), - scope: GetConfigurationResponseBodyScope$outboundSchema.optional(), - description: z.string(), - paymentMethodRequired: z.boolean().optional(), - preauthorizationAmount: z.number().optional(), - cost: z.string().optional(), - details: z.array( - z.lazy(() => GetConfigurationResponseBodyDetails$outboundSchema), - ).optional(), - heightlightedDetails: z.array( - z.lazy(() => - GetConfigurationResponseBodyHeightlightedDetails$outboundSchema - ), - ).optional(), - quote: z.array(z.lazy(() => GetConfigurationResponseBodyQuote$outboundSchema)) - .optional(), - effectiveDate: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBodyBillingPlan$ { - /** @deprecated use `GetConfigurationResponseBodyBillingPlan$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationResponseBodyBillingPlan$inboundSchema; - /** @deprecated use `GetConfigurationResponseBodyBillingPlan$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationResponseBodyBillingPlan$outboundSchema; - /** @deprecated use `GetConfigurationResponseBodyBillingPlan$Outbound` instead. */ - export type Outbound = GetConfigurationResponseBodyBillingPlan$Outbound; -} - -export function getConfigurationResponseBodyBillingPlanToJSON( - getConfigurationResponseBodyBillingPlan: - GetConfigurationResponseBodyBillingPlan, -): string { - return JSON.stringify( - GetConfigurationResponseBodyBillingPlan$outboundSchema.parse( - getConfigurationResponseBodyBillingPlan, - ), - ); -} - -export function getConfigurationResponseBodyBillingPlanFromJSON( - jsonString: string, -): SafeParseResult< - GetConfigurationResponseBodyBillingPlan, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetConfigurationResponseBodyBillingPlan$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetConfigurationResponseBodyBillingPlan' from JSON`, - ); -} - -/** @internal */ -export const GetConfigurationResponseBodySource$inboundSchema: z.ZodNativeEnum< - typeof GetConfigurationResponseBodySource -> = z.nativeEnum(GetConfigurationResponseBodySource); - -/** @internal */ -export const GetConfigurationResponseBodySource$outboundSchema: z.ZodNativeEnum< - typeof GetConfigurationResponseBodySource -> = GetConfigurationResponseBodySource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBodySource$ { - /** @deprecated use `GetConfigurationResponseBodySource$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationResponseBodySource$inboundSchema; - /** @deprecated use `GetConfigurationResponseBodySource$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationResponseBodySource$outboundSchema; -} - -/** @internal */ -export const GetConfigurationResponseBodyType$inboundSchema: z.ZodNativeEnum< - typeof GetConfigurationResponseBodyType -> = z.nativeEnum(GetConfigurationResponseBodyType); - -/** @internal */ -export const GetConfigurationResponseBodyType$outboundSchema: z.ZodNativeEnum< - typeof GetConfigurationResponseBodyType -> = GetConfigurationResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBodyType$ { - /** @deprecated use `GetConfigurationResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationResponseBodyType$inboundSchema; - /** @deprecated use `GetConfigurationResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationResponseBodyType$outboundSchema; -} - -/** @internal */ -export const GetConfigurationResponseBodyDisabledReason$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationResponseBodyDisabledReason); - -/** @internal */ -export const GetConfigurationResponseBodyDisabledReason$outboundSchema: - z.ZodNativeEnum = - GetConfigurationResponseBodyDisabledReason$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBodyDisabledReason$ { - /** @deprecated use `GetConfigurationResponseBodyDisabledReason$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationResponseBodyDisabledReason$inboundSchema; - /** @deprecated use `GetConfigurationResponseBodyDisabledReason$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationResponseBodyDisabledReason$outboundSchema; -} - -/** @internal */ -export const GetConfigurationResponseBodyInstallationType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationResponseBodyInstallationType); - -/** @internal */ -export const GetConfigurationResponseBodyInstallationType$outboundSchema: - z.ZodNativeEnum = - GetConfigurationResponseBodyInstallationType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBodyInstallationType$ { - /** @deprecated use `GetConfigurationResponseBodyInstallationType$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationResponseBodyInstallationType$inboundSchema; - /** @deprecated use `GetConfigurationResponseBodyInstallationType$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationResponseBodyInstallationType$outboundSchema; -} - -/** @internal */ -export const GetConfigurationResponseBody1$inboundSchema: z.ZodType< - GetConfigurationResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({ - billingPlan: z.lazy(() => - GetConfigurationResponseBodyBillingPlan$inboundSchema - ).optional(), - billingTotal: z.string().optional(), - periodStart: z.string().optional(), - periodEnd: z.string().optional(), - completedAt: z.number().optional(), - createdAt: z.number(), - id: z.string(), - integrationId: z.string(), - ownerId: z.string(), - projects: z.array(z.string()).optional(), - source: GetConfigurationResponseBodySource$inboundSchema.optional(), - slug: z.string(), - teamId: z.nullable(z.string()).optional(), - type: GetConfigurationResponseBodyType$inboundSchema, - updatedAt: z.number(), - userId: z.string(), - scopes: z.array(z.string()), - disabledAt: z.number().optional(), - deletedAt: z.nullable(z.number()).optional(), - deleteRequestedAt: z.nullable(z.number()).optional(), - disabledReason: GetConfigurationResponseBodyDisabledReason$inboundSchema - .optional(), - installationType: GetConfigurationResponseBodyInstallationType$inboundSchema - .optional(), -}); - -/** @internal */ -export type GetConfigurationResponseBody1$Outbound = { - billingPlan?: GetConfigurationResponseBodyBillingPlan$Outbound | undefined; - billingTotal?: string | undefined; - periodStart?: string | undefined; - periodEnd?: string | undefined; - completedAt?: number | undefined; - createdAt: number; - id: string; - integrationId: string; - ownerId: string; - projects?: Array | undefined; - source?: string | undefined; - slug: string; - teamId?: string | null | undefined; - type: string; - updatedAt: number; - userId: string; - scopes: Array; - disabledAt?: number | undefined; - deletedAt?: number | null | undefined; - deleteRequestedAt?: number | null | undefined; - disabledReason?: string | undefined; - installationType?: string | undefined; -}; - -/** @internal */ -export const GetConfigurationResponseBody1$outboundSchema: z.ZodType< - GetConfigurationResponseBody1$Outbound, - z.ZodTypeDef, - GetConfigurationResponseBody1 -> = z.object({ - billingPlan: z.lazy(() => - GetConfigurationResponseBodyBillingPlan$outboundSchema - ).optional(), - billingTotal: z.string().optional(), - periodStart: z.string().optional(), - periodEnd: z.string().optional(), - completedAt: z.number().optional(), - createdAt: z.number(), - id: z.string(), - integrationId: z.string(), - ownerId: z.string(), - projects: z.array(z.string()).optional(), - source: GetConfigurationResponseBodySource$outboundSchema.optional(), - slug: z.string(), - teamId: z.nullable(z.string()).optional(), - type: GetConfigurationResponseBodyType$outboundSchema, - updatedAt: z.number(), - userId: z.string(), - scopes: z.array(z.string()), - disabledAt: z.number().optional(), - deletedAt: z.nullable(z.number()).optional(), - deleteRequestedAt: z.nullable(z.number()).optional(), - disabledReason: GetConfigurationResponseBodyDisabledReason$outboundSchema - .optional(), - installationType: GetConfigurationResponseBodyInstallationType$outboundSchema - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBody1$ { - /** @deprecated use `GetConfigurationResponseBody1$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationResponseBody1$inboundSchema; - /** @deprecated use `GetConfigurationResponseBody1$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationResponseBody1$outboundSchema; - /** @deprecated use `GetConfigurationResponseBody1$Outbound` instead. */ - export type Outbound = GetConfigurationResponseBody1$Outbound; -} - -export function getConfigurationResponseBody1ToJSON( - getConfigurationResponseBody1: GetConfigurationResponseBody1, -): string { - return JSON.stringify( - GetConfigurationResponseBody1$outboundSchema.parse( - getConfigurationResponseBody1, - ), - ); -} - -export function getConfigurationResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetConfigurationResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const GetConfigurationResponseBody$inboundSchema: z.ZodType< - GetConfigurationResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetConfigurationResponseBody2$inboundSchema), - z.lazy(() => GetConfigurationResponseBody1$inboundSchema), -]); - -/** @internal */ -export type GetConfigurationResponseBody$Outbound = - | GetConfigurationResponseBody2$Outbound - | GetConfigurationResponseBody1$Outbound; - -/** @internal */ -export const GetConfigurationResponseBody$outboundSchema: z.ZodType< - GetConfigurationResponseBody$Outbound, - z.ZodTypeDef, - GetConfigurationResponseBody -> = z.union([ - z.lazy(() => GetConfigurationResponseBody2$outboundSchema), - z.lazy(() => GetConfigurationResponseBody1$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBody$ { - /** @deprecated use `GetConfigurationResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationResponseBody$inboundSchema; - /** @deprecated use `GetConfigurationResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationResponseBody$outboundSchema; - /** @deprecated use `GetConfigurationResponseBody$Outbound` instead. */ - export type Outbound = GetConfigurationResponseBody$Outbound; -} - -export function getConfigurationResponseBodyToJSON( - getConfigurationResponseBody: GetConfigurationResponseBody, -): string { - return JSON.stringify( - GetConfigurationResponseBody$outboundSchema.parse( - getConfigurationResponseBody, - ), - ); -} - -export function getConfigurationResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetConfigurationResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getconfigurations.ts b/src/models/operations/getconfigurations.ts deleted file mode 100644 index bdf12944..00000000 --- a/src/models/operations/getconfigurations.ts +++ /dev/null @@ -1,1648 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export const View = { - Account: "account", - Project: "project", -} as const; -export type View = ClosedEnum; - -export const InstallationType = { - Marketplace: "marketplace", - External: "external", -} as const; -export type InstallationType = ClosedEnum; - -export type GetConfigurationsRequest = { - view: View; - installationType?: InstallationType | undefined; - /** - * ID of the integration - */ - integrationIdOrSlug?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export type Integration = { - name: string; - icon: string; - category: string; - isLegacy: boolean; - flags?: Array | undefined; - assignedBetaLabelAt?: number | undefined; -}; - -/** - * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. - */ -export const GetConfigurationsResponseBodyIntegrationsSource = { - Marketplace: "marketplace", - DeployButton: "deploy-button", - External: "external", -} as const; -/** - * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. - */ -export type GetConfigurationsResponseBodyIntegrationsSource = ClosedEnum< - typeof GetConfigurationsResponseBodyIntegrationsSource ->; - -export const GetConfigurationsResponseBodyIntegrationsType = { - IntegrationConfiguration: "integration-configuration", -} as const; -export type GetConfigurationsResponseBodyIntegrationsType = ClosedEnum< - typeof GetConfigurationsResponseBodyIntegrationsType ->; - -export const ResponseBodyDisabledReason = { - DisabledByOwner: "disabled-by-owner", - FeatureNotAvailable: "feature-not-available", - DisabledByAdmin: "disabled-by-admin", - OriginalOwnerLeftTheTeam: "original-owner-left-the-team", - AccountPlanDowngrade: "account-plan-downgrade", - OriginalOwnerRoleDowngraded: "original-owner-role-downgraded", -} as const; -export type ResponseBodyDisabledReason = ClosedEnum< - typeof ResponseBodyDisabledReason ->; - -/** - * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' - */ -export const GetConfigurationsResponseBodyInstallationType = { - Marketplace: "marketplace", - External: "external", -} as const; -/** - * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' - */ -export type GetConfigurationsResponseBodyInstallationType = ClosedEnum< - typeof GetConfigurationsResponseBodyInstallationType ->; - -export const GetConfigurationsResponseBodyIntegrationsResponse200Type = { - Prepayment: "prepayment", - Subscription: "subscription", -} as const; -export type GetConfigurationsResponseBodyIntegrationsResponse200Type = - ClosedEnum; - -export const GetConfigurationsResponseBodyScope = { - Installation: "installation", - Resource: "resource", -} as const; -export type GetConfigurationsResponseBodyScope = ClosedEnum< - typeof GetConfigurationsResponseBodyScope ->; - -export type ResponseBodyDetails = { - label: string; - value?: string | undefined; -}; - -export type ResponseBodyHeightlightedDetails = { - label: string; - value?: string | undefined; -}; - -export type ResponseBodyQuote = { - line: string; - amount: string; -}; - -export type ResponseBodyBillingPlan = { - id: string; - type: GetConfigurationsResponseBodyIntegrationsResponse200Type; - name: string; - scope?: GetConfigurationsResponseBodyScope | undefined; - description: string; - paymentMethodRequired?: boolean | undefined; - preauthorizationAmount?: number | undefined; - cost?: string | undefined; - details?: Array | undefined; - heightlightedDetails?: Array | undefined; - quote?: Array | undefined; - effectiveDate?: string | undefined; -}; - -export type GetConfigurationsResponseBody2 = { - integration: Integration; - /** - * A timestamp that tells you when the configuration was installed successfully - */ - completedAt?: number | undefined; - /** - * A timestamp that tells you when the configuration was created - */ - createdAt: number; - /** - * The unique identifier of the configuration - */ - id: string; - /** - * The unique identifier of the app the configuration was created for - */ - integrationId: string; - /** - * The user or team ID that owns the configuration - */ - ownerId: string; - /** - * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access. - */ - projects?: Array | undefined; - /** - * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. - */ - source?: GetConfigurationsResponseBodyIntegrationsSource | undefined; - /** - * The slug of the integration the configuration is created for. - */ - slug: string; - /** - * When the configuration was created for a team, this will show the ID of the team. - */ - teamId?: string | null | undefined; - type: GetConfigurationsResponseBodyIntegrationsType; - /** - * A timestamp that tells you when the configuration was updated. - */ - updatedAt: number; - /** - * The ID of the user that created the configuration. - */ - userId: string; - /** - * The resources that are allowed to be accessed by the configuration. - */ - scopes: Array; - /** - * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team. - */ - disabledAt?: number | undefined; - /** - * A timestamp that tells you when the configuration was deleted. - */ - deletedAt?: number | null | undefined; - /** - * A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid. - */ - deleteRequestedAt?: number | null | undefined; - disabledReason?: ResponseBodyDisabledReason | undefined; - /** - * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' - */ - installationType?: GetConfigurationsResponseBodyInstallationType | undefined; - billingPlan?: ResponseBodyBillingPlan | undefined; - billingTotal?: string | undefined; - periodStart?: string | undefined; - periodEnd?: string | undefined; -}; - -/** - * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. - */ -export const GetConfigurationsResponseBodySource = { - Marketplace: "marketplace", - DeployButton: "deploy-button", - External: "external", -} as const; -/** - * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. - */ -export type GetConfigurationsResponseBodySource = ClosedEnum< - typeof GetConfigurationsResponseBodySource ->; - -export const GetConfigurationsResponseBodyType = { - IntegrationConfiguration: "integration-configuration", -} as const; -export type GetConfigurationsResponseBodyType = ClosedEnum< - typeof GetConfigurationsResponseBodyType ->; - -export const GetConfigurationsResponseBodyDisabledReason = { - DisabledByOwner: "disabled-by-owner", - FeatureNotAvailable: "feature-not-available", - DisabledByAdmin: "disabled-by-admin", - OriginalOwnerLeftTheTeam: "original-owner-left-the-team", - AccountPlanDowngrade: "account-plan-downgrade", - OriginalOwnerRoleDowngraded: "original-owner-role-downgraded", -} as const; -export type GetConfigurationsResponseBodyDisabledReason = ClosedEnum< - typeof GetConfigurationsResponseBodyDisabledReason ->; - -/** - * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' - */ -export const ResponseBodyInstallationType = { - Marketplace: "marketplace", - External: "external", -} as const; -/** - * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' - */ -export type ResponseBodyInstallationType = ClosedEnum< - typeof ResponseBodyInstallationType ->; - -export const GetConfigurationsResponseBodyIntegrationsResponseType = { - Prepayment: "prepayment", - Subscription: "subscription", -} as const; -export type GetConfigurationsResponseBodyIntegrationsResponseType = ClosedEnum< - typeof GetConfigurationsResponseBodyIntegrationsResponseType ->; - -export const ResponseBodyScope = { - Installation: "installation", - Resource: "resource", -} as const; -export type ResponseBodyScope = ClosedEnum; - -export type Details = { - label: string; - value?: string | undefined; -}; - -export type HeightlightedDetails = { - label: string; - value?: string | undefined; -}; - -export type Quote = { - line: string; - amount: string; -}; - -export type BillingPlan = { - id: string; - type: GetConfigurationsResponseBodyIntegrationsResponseType; - name: string; - scope?: ResponseBodyScope | undefined; - description: string; - paymentMethodRequired?: boolean | undefined; - preauthorizationAmount?: number | undefined; - cost?: string | undefined; - details?: Array
| undefined; - heightlightedDetails?: Array | undefined; - quote?: Array | undefined; - effectiveDate?: string | undefined; -}; - -/** - * The list of configurations for the authenticated user - */ -export type GetConfigurationsResponseBody1 = { - /** - * A timestamp that tells you when the configuration was installed successfully - */ - completedAt?: number | undefined; - /** - * A timestamp that tells you when the configuration was created - */ - createdAt?: number | undefined; - /** - * The unique identifier of the configuration - */ - id?: string | undefined; - /** - * The unique identifier of the app the configuration was created for - */ - integrationId?: string | undefined; - /** - * The user or team ID that owns the configuration - */ - ownerId?: string | undefined; - /** - * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access. - */ - projects?: Array | undefined; - /** - * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics. - */ - source?: GetConfigurationsResponseBodySource | undefined; - /** - * The slug of the integration the configuration is created for. - */ - slug?: string | undefined; - /** - * When the configuration was created for a team, this will show the ID of the team. - */ - teamId?: string | null | undefined; - type?: GetConfigurationsResponseBodyType | undefined; - /** - * A timestamp that tells you when the configuration was updated. - */ - updatedAt?: number | undefined; - /** - * The ID of the user that created the configuration. - */ - userId?: string | undefined; - /** - * The resources that are allowed to be accessed by the configuration. - */ - scopes?: Array | undefined; - /** - * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team. - */ - disabledAt?: number | undefined; - /** - * A timestamp that tells you when the configuration was deleted. - */ - deletedAt?: number | null | undefined; - /** - * A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid. - */ - deleteRequestedAt?: number | null | undefined; - disabledReason?: GetConfigurationsResponseBodyDisabledReason | undefined; - /** - * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external' - */ - installationType?: ResponseBodyInstallationType | undefined; - billingPlan?: BillingPlan | undefined; - billingTotal?: string | undefined; - periodStart?: string | undefined; - periodEnd?: string | undefined; -}; - -/** - * The list of configurations for the authenticated user - */ -export type GetConfigurationsResponseBody = - | Array - | Array; - -/** @internal */ -export const View$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - View, -); - -/** @internal */ -export const View$outboundSchema: z.ZodNativeEnum = - View$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace View$ { - /** @deprecated use `View$inboundSchema` instead. */ - export const inboundSchema = View$inboundSchema; - /** @deprecated use `View$outboundSchema` instead. */ - export const outboundSchema = View$outboundSchema; -} - -/** @internal */ -export const InstallationType$inboundSchema: z.ZodNativeEnum< - typeof InstallationType -> = z.nativeEnum(InstallationType); - -/** @internal */ -export const InstallationType$outboundSchema: z.ZodNativeEnum< - typeof InstallationType -> = InstallationType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InstallationType$ { - /** @deprecated use `InstallationType$inboundSchema` instead. */ - export const inboundSchema = InstallationType$inboundSchema; - /** @deprecated use `InstallationType$outboundSchema` instead. */ - export const outboundSchema = InstallationType$outboundSchema; -} - -/** @internal */ -export const GetConfigurationsRequest$inboundSchema: z.ZodType< - GetConfigurationsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - view: View$inboundSchema, - installationType: InstallationType$inboundSchema.optional(), - integrationIdOrSlug: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetConfigurationsRequest$Outbound = { - view: string; - installationType?: string | undefined; - integrationIdOrSlug?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetConfigurationsRequest$outboundSchema: z.ZodType< - GetConfigurationsRequest$Outbound, - z.ZodTypeDef, - GetConfigurationsRequest -> = z.object({ - view: View$outboundSchema, - installationType: InstallationType$outboundSchema.optional(), - integrationIdOrSlug: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationsRequest$ { - /** @deprecated use `GetConfigurationsRequest$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationsRequest$inboundSchema; - /** @deprecated use `GetConfigurationsRequest$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationsRequest$outboundSchema; - /** @deprecated use `GetConfigurationsRequest$Outbound` instead. */ - export type Outbound = GetConfigurationsRequest$Outbound; -} - -export function getConfigurationsRequestToJSON( - getConfigurationsRequest: GetConfigurationsRequest, -): string { - return JSON.stringify( - GetConfigurationsRequest$outboundSchema.parse(getConfigurationsRequest), - ); -} - -export function getConfigurationsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetConfigurationsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationsRequest' from JSON`, - ); -} - -/** @internal */ -export const Integration$inboundSchema: z.ZodType< - Integration, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - icon: z.string(), - category: z.string(), - isLegacy: z.boolean(), - flags: z.array(z.string()).optional(), - assignedBetaLabelAt: z.number().optional(), -}); - -/** @internal */ -export type Integration$Outbound = { - name: string; - icon: string; - category: string; - isLegacy: boolean; - flags?: Array | undefined; - assignedBetaLabelAt?: number | undefined; -}; - -/** @internal */ -export const Integration$outboundSchema: z.ZodType< - Integration$Outbound, - z.ZodTypeDef, - Integration -> = z.object({ - name: z.string(), - icon: z.string(), - category: z.string(), - isLegacy: z.boolean(), - flags: z.array(z.string()).optional(), - assignedBetaLabelAt: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Integration$ { - /** @deprecated use `Integration$inboundSchema` instead. */ - export const inboundSchema = Integration$inboundSchema; - /** @deprecated use `Integration$outboundSchema` instead. */ - export const outboundSchema = Integration$outboundSchema; - /** @deprecated use `Integration$Outbound` instead. */ - export type Outbound = Integration$Outbound; -} - -export function integrationToJSON(integration: Integration): string { - return JSON.stringify(Integration$outboundSchema.parse(integration)); -} - -export function integrationFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Integration$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Integration' from JSON`, - ); -} - -/** @internal */ -export const GetConfigurationsResponseBodyIntegrationsSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationsResponseBodyIntegrationsSource); - -/** @internal */ -export const GetConfigurationsResponseBodyIntegrationsSource$outboundSchema: - z.ZodNativeEnum = - GetConfigurationsResponseBodyIntegrationsSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationsResponseBodyIntegrationsSource$ { - /** @deprecated use `GetConfigurationsResponseBodyIntegrationsSource$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationsResponseBodyIntegrationsSource$inboundSchema; - /** @deprecated use `GetConfigurationsResponseBodyIntegrationsSource$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationsResponseBodyIntegrationsSource$outboundSchema; -} - -/** @internal */ -export const GetConfigurationsResponseBodyIntegrationsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationsResponseBodyIntegrationsType); - -/** @internal */ -export const GetConfigurationsResponseBodyIntegrationsType$outboundSchema: - z.ZodNativeEnum = - GetConfigurationsResponseBodyIntegrationsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationsResponseBodyIntegrationsType$ { - /** @deprecated use `GetConfigurationsResponseBodyIntegrationsType$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationsResponseBodyIntegrationsType$inboundSchema; - /** @deprecated use `GetConfigurationsResponseBodyIntegrationsType$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationsResponseBodyIntegrationsType$outboundSchema; -} - -/** @internal */ -export const ResponseBodyDisabledReason$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyDisabledReason -> = z.nativeEnum(ResponseBodyDisabledReason); - -/** @internal */ -export const ResponseBodyDisabledReason$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyDisabledReason -> = ResponseBodyDisabledReason$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyDisabledReason$ { - /** @deprecated use `ResponseBodyDisabledReason$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyDisabledReason$inboundSchema; - /** @deprecated use `ResponseBodyDisabledReason$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyDisabledReason$outboundSchema; -} - -/** @internal */ -export const GetConfigurationsResponseBodyInstallationType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationsResponseBodyInstallationType); - -/** @internal */ -export const GetConfigurationsResponseBodyInstallationType$outboundSchema: - z.ZodNativeEnum = - GetConfigurationsResponseBodyInstallationType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationsResponseBodyInstallationType$ { - /** @deprecated use `GetConfigurationsResponseBodyInstallationType$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationsResponseBodyInstallationType$inboundSchema; - /** @deprecated use `GetConfigurationsResponseBodyInstallationType$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationsResponseBodyInstallationType$outboundSchema; -} - -/** @internal */ -export const GetConfigurationsResponseBodyIntegrationsResponse200Type$inboundSchema: - z.ZodNativeEnum< - typeof GetConfigurationsResponseBodyIntegrationsResponse200Type - > = z.nativeEnum(GetConfigurationsResponseBodyIntegrationsResponse200Type); - -/** @internal */ -export const GetConfigurationsResponseBodyIntegrationsResponse200Type$outboundSchema: - z.ZodNativeEnum< - typeof GetConfigurationsResponseBodyIntegrationsResponse200Type - > = GetConfigurationsResponseBodyIntegrationsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationsResponseBodyIntegrationsResponse200Type$ { - /** @deprecated use `GetConfigurationsResponseBodyIntegrationsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationsResponseBodyIntegrationsResponse200Type$inboundSchema; - /** @deprecated use `GetConfigurationsResponseBodyIntegrationsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationsResponseBodyIntegrationsResponse200Type$outboundSchema; -} - -/** @internal */ -export const GetConfigurationsResponseBodyScope$inboundSchema: z.ZodNativeEnum< - typeof GetConfigurationsResponseBodyScope -> = z.nativeEnum(GetConfigurationsResponseBodyScope); - -/** @internal */ -export const GetConfigurationsResponseBodyScope$outboundSchema: z.ZodNativeEnum< - typeof GetConfigurationsResponseBodyScope -> = GetConfigurationsResponseBodyScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationsResponseBodyScope$ { - /** @deprecated use `GetConfigurationsResponseBodyScope$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationsResponseBodyScope$inboundSchema; - /** @deprecated use `GetConfigurationsResponseBodyScope$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationsResponseBodyScope$outboundSchema; -} - -/** @internal */ -export const ResponseBodyDetails$inboundSchema: z.ZodType< - ResponseBodyDetails, - z.ZodTypeDef, - unknown -> = z.object({ - label: z.string(), - value: z.string().optional(), -}); - -/** @internal */ -export type ResponseBodyDetails$Outbound = { - label: string; - value?: string | undefined; -}; - -/** @internal */ -export const ResponseBodyDetails$outboundSchema: z.ZodType< - ResponseBodyDetails$Outbound, - z.ZodTypeDef, - ResponseBodyDetails -> = z.object({ - label: z.string(), - value: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyDetails$ { - /** @deprecated use `ResponseBodyDetails$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyDetails$inboundSchema; - /** @deprecated use `ResponseBodyDetails$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyDetails$outboundSchema; - /** @deprecated use `ResponseBodyDetails$Outbound` instead. */ - export type Outbound = ResponseBodyDetails$Outbound; -} - -export function responseBodyDetailsToJSON( - responseBodyDetails: ResponseBodyDetails, -): string { - return JSON.stringify( - ResponseBodyDetails$outboundSchema.parse(responseBodyDetails), - ); -} - -export function responseBodyDetailsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyDetails$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyDetails' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyHeightlightedDetails$inboundSchema: z.ZodType< - ResponseBodyHeightlightedDetails, - z.ZodTypeDef, - unknown -> = z.object({ - label: z.string(), - value: z.string().optional(), -}); - -/** @internal */ -export type ResponseBodyHeightlightedDetails$Outbound = { - label: string; - value?: string | undefined; -}; - -/** @internal */ -export const ResponseBodyHeightlightedDetails$outboundSchema: z.ZodType< - ResponseBodyHeightlightedDetails$Outbound, - z.ZodTypeDef, - ResponseBodyHeightlightedDetails -> = z.object({ - label: z.string(), - value: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyHeightlightedDetails$ { - /** @deprecated use `ResponseBodyHeightlightedDetails$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyHeightlightedDetails$inboundSchema; - /** @deprecated use `ResponseBodyHeightlightedDetails$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyHeightlightedDetails$outboundSchema; - /** @deprecated use `ResponseBodyHeightlightedDetails$Outbound` instead. */ - export type Outbound = ResponseBodyHeightlightedDetails$Outbound; -} - -export function responseBodyHeightlightedDetailsToJSON( - responseBodyHeightlightedDetails: ResponseBodyHeightlightedDetails, -): string { - return JSON.stringify( - ResponseBodyHeightlightedDetails$outboundSchema.parse( - responseBodyHeightlightedDetails, - ), - ); -} - -export function responseBodyHeightlightedDetailsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyHeightlightedDetails$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyHeightlightedDetails' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyQuote$inboundSchema: z.ZodType< - ResponseBodyQuote, - z.ZodTypeDef, - unknown -> = z.object({ - line: z.string(), - amount: z.string(), -}); - -/** @internal */ -export type ResponseBodyQuote$Outbound = { - line: string; - amount: string; -}; - -/** @internal */ -export const ResponseBodyQuote$outboundSchema: z.ZodType< - ResponseBodyQuote$Outbound, - z.ZodTypeDef, - ResponseBodyQuote -> = z.object({ - line: z.string(), - amount: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyQuote$ { - /** @deprecated use `ResponseBodyQuote$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyQuote$inboundSchema; - /** @deprecated use `ResponseBodyQuote$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyQuote$outboundSchema; - /** @deprecated use `ResponseBodyQuote$Outbound` instead. */ - export type Outbound = ResponseBodyQuote$Outbound; -} - -export function responseBodyQuoteToJSON( - responseBodyQuote: ResponseBodyQuote, -): string { - return JSON.stringify( - ResponseBodyQuote$outboundSchema.parse(responseBodyQuote), - ); -} - -export function responseBodyQuoteFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyQuote$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyQuote' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyBillingPlan$inboundSchema: z.ZodType< - ResponseBodyBillingPlan, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - type: GetConfigurationsResponseBodyIntegrationsResponse200Type$inboundSchema, - name: z.string(), - scope: GetConfigurationsResponseBodyScope$inboundSchema.optional(), - description: z.string(), - paymentMethodRequired: z.boolean().optional(), - preauthorizationAmount: z.number().optional(), - cost: z.string().optional(), - details: z.array(z.lazy(() => ResponseBodyDetails$inboundSchema)).optional(), - heightlightedDetails: z.array( - z.lazy(() => ResponseBodyHeightlightedDetails$inboundSchema), - ).optional(), - quote: z.array(z.lazy(() => ResponseBodyQuote$inboundSchema)).optional(), - effectiveDate: z.string().optional(), -}); - -/** @internal */ -export type ResponseBodyBillingPlan$Outbound = { - id: string; - type: string; - name: string; - scope?: string | undefined; - description: string; - paymentMethodRequired?: boolean | undefined; - preauthorizationAmount?: number | undefined; - cost?: string | undefined; - details?: Array | undefined; - heightlightedDetails?: - | Array - | undefined; - quote?: Array | undefined; - effectiveDate?: string | undefined; -}; - -/** @internal */ -export const ResponseBodyBillingPlan$outboundSchema: z.ZodType< - ResponseBodyBillingPlan$Outbound, - z.ZodTypeDef, - ResponseBodyBillingPlan -> = z.object({ - id: z.string(), - type: GetConfigurationsResponseBodyIntegrationsResponse200Type$outboundSchema, - name: z.string(), - scope: GetConfigurationsResponseBodyScope$outboundSchema.optional(), - description: z.string(), - paymentMethodRequired: z.boolean().optional(), - preauthorizationAmount: z.number().optional(), - cost: z.string().optional(), - details: z.array(z.lazy(() => ResponseBodyDetails$outboundSchema)).optional(), - heightlightedDetails: z.array( - z.lazy(() => ResponseBodyHeightlightedDetails$outboundSchema), - ).optional(), - quote: z.array(z.lazy(() => ResponseBodyQuote$outboundSchema)).optional(), - effectiveDate: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyBillingPlan$ { - /** @deprecated use `ResponseBodyBillingPlan$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyBillingPlan$inboundSchema; - /** @deprecated use `ResponseBodyBillingPlan$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyBillingPlan$outboundSchema; - /** @deprecated use `ResponseBodyBillingPlan$Outbound` instead. */ - export type Outbound = ResponseBodyBillingPlan$Outbound; -} - -export function responseBodyBillingPlanToJSON( - responseBodyBillingPlan: ResponseBodyBillingPlan, -): string { - return JSON.stringify( - ResponseBodyBillingPlan$outboundSchema.parse(responseBodyBillingPlan), - ); -} - -export function responseBodyBillingPlanFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyBillingPlan$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyBillingPlan' from JSON`, - ); -} - -/** @internal */ -export const GetConfigurationsResponseBody2$inboundSchema: z.ZodType< - GetConfigurationsResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - integration: z.lazy(() => Integration$inboundSchema), - completedAt: z.number().optional(), - createdAt: z.number(), - id: z.string(), - integrationId: z.string(), - ownerId: z.string(), - projects: z.array(z.string()).optional(), - source: GetConfigurationsResponseBodyIntegrationsSource$inboundSchema - .optional(), - slug: z.string(), - teamId: z.nullable(z.string()).optional(), - type: GetConfigurationsResponseBodyIntegrationsType$inboundSchema, - updatedAt: z.number(), - userId: z.string(), - scopes: z.array(z.string()), - disabledAt: z.number().optional(), - deletedAt: z.nullable(z.number()).optional(), - deleteRequestedAt: z.nullable(z.number()).optional(), - disabledReason: ResponseBodyDisabledReason$inboundSchema.optional(), - installationType: GetConfigurationsResponseBodyInstallationType$inboundSchema - .optional(), - billingPlan: z.lazy(() => ResponseBodyBillingPlan$inboundSchema).optional(), - billingTotal: z.string().optional(), - periodStart: z.string().optional(), - periodEnd: z.string().optional(), -}); - -/** @internal */ -export type GetConfigurationsResponseBody2$Outbound = { - integration: Integration$Outbound; - completedAt?: number | undefined; - createdAt: number; - id: string; - integrationId: string; - ownerId: string; - projects?: Array | undefined; - source?: string | undefined; - slug: string; - teamId?: string | null | undefined; - type: string; - updatedAt: number; - userId: string; - scopes: Array; - disabledAt?: number | undefined; - deletedAt?: number | null | undefined; - deleteRequestedAt?: number | null | undefined; - disabledReason?: string | undefined; - installationType?: string | undefined; - billingPlan?: ResponseBodyBillingPlan$Outbound | undefined; - billingTotal?: string | undefined; - periodStart?: string | undefined; - periodEnd?: string | undefined; -}; - -/** @internal */ -export const GetConfigurationsResponseBody2$outboundSchema: z.ZodType< - GetConfigurationsResponseBody2$Outbound, - z.ZodTypeDef, - GetConfigurationsResponseBody2 -> = z.object({ - integration: z.lazy(() => Integration$outboundSchema), - completedAt: z.number().optional(), - createdAt: z.number(), - id: z.string(), - integrationId: z.string(), - ownerId: z.string(), - projects: z.array(z.string()).optional(), - source: GetConfigurationsResponseBodyIntegrationsSource$outboundSchema - .optional(), - slug: z.string(), - teamId: z.nullable(z.string()).optional(), - type: GetConfigurationsResponseBodyIntegrationsType$outboundSchema, - updatedAt: z.number(), - userId: z.string(), - scopes: z.array(z.string()), - disabledAt: z.number().optional(), - deletedAt: z.nullable(z.number()).optional(), - deleteRequestedAt: z.nullable(z.number()).optional(), - disabledReason: ResponseBodyDisabledReason$outboundSchema.optional(), - installationType: GetConfigurationsResponseBodyInstallationType$outboundSchema - .optional(), - billingPlan: z.lazy(() => ResponseBodyBillingPlan$outboundSchema).optional(), - billingTotal: z.string().optional(), - periodStart: z.string().optional(), - periodEnd: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationsResponseBody2$ { - /** @deprecated use `GetConfigurationsResponseBody2$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationsResponseBody2$inboundSchema; - /** @deprecated use `GetConfigurationsResponseBody2$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationsResponseBody2$outboundSchema; - /** @deprecated use `GetConfigurationsResponseBody2$Outbound` instead. */ - export type Outbound = GetConfigurationsResponseBody2$Outbound; -} - -export function getConfigurationsResponseBody2ToJSON( - getConfigurationsResponseBody2: GetConfigurationsResponseBody2, -): string { - return JSON.stringify( - GetConfigurationsResponseBody2$outboundSchema.parse( - getConfigurationsResponseBody2, - ), - ); -} - -export function getConfigurationsResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetConfigurationsResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationsResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const GetConfigurationsResponseBodySource$inboundSchema: z.ZodNativeEnum< - typeof GetConfigurationsResponseBodySource -> = z.nativeEnum(GetConfigurationsResponseBodySource); - -/** @internal */ -export const GetConfigurationsResponseBodySource$outboundSchema: - z.ZodNativeEnum = - GetConfigurationsResponseBodySource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationsResponseBodySource$ { - /** @deprecated use `GetConfigurationsResponseBodySource$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationsResponseBodySource$inboundSchema; - /** @deprecated use `GetConfigurationsResponseBodySource$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationsResponseBodySource$outboundSchema; -} - -/** @internal */ -export const GetConfigurationsResponseBodyType$inboundSchema: z.ZodNativeEnum< - typeof GetConfigurationsResponseBodyType -> = z.nativeEnum(GetConfigurationsResponseBodyType); - -/** @internal */ -export const GetConfigurationsResponseBodyType$outboundSchema: z.ZodNativeEnum< - typeof GetConfigurationsResponseBodyType -> = GetConfigurationsResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationsResponseBodyType$ { - /** @deprecated use `GetConfigurationsResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationsResponseBodyType$inboundSchema; - /** @deprecated use `GetConfigurationsResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationsResponseBodyType$outboundSchema; -} - -/** @internal */ -export const GetConfigurationsResponseBodyDisabledReason$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationsResponseBodyDisabledReason); - -/** @internal */ -export const GetConfigurationsResponseBodyDisabledReason$outboundSchema: - z.ZodNativeEnum = - GetConfigurationsResponseBodyDisabledReason$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationsResponseBodyDisabledReason$ { - /** @deprecated use `GetConfigurationsResponseBodyDisabledReason$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationsResponseBodyDisabledReason$inboundSchema; - /** @deprecated use `GetConfigurationsResponseBodyDisabledReason$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationsResponseBodyDisabledReason$outboundSchema; -} - -/** @internal */ -export const ResponseBodyInstallationType$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyInstallationType -> = z.nativeEnum(ResponseBodyInstallationType); - -/** @internal */ -export const ResponseBodyInstallationType$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyInstallationType -> = ResponseBodyInstallationType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyInstallationType$ { - /** @deprecated use `ResponseBodyInstallationType$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyInstallationType$inboundSchema; - /** @deprecated use `ResponseBodyInstallationType$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyInstallationType$outboundSchema; -} - -/** @internal */ -export const GetConfigurationsResponseBodyIntegrationsResponseType$inboundSchema: - z.ZodNativeEnum< - typeof GetConfigurationsResponseBodyIntegrationsResponseType - > = z.nativeEnum(GetConfigurationsResponseBodyIntegrationsResponseType); - -/** @internal */ -export const GetConfigurationsResponseBodyIntegrationsResponseType$outboundSchema: - z.ZodNativeEnum< - typeof GetConfigurationsResponseBodyIntegrationsResponseType - > = GetConfigurationsResponseBodyIntegrationsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationsResponseBodyIntegrationsResponseType$ { - /** @deprecated use `GetConfigurationsResponseBodyIntegrationsResponseType$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationsResponseBodyIntegrationsResponseType$inboundSchema; - /** @deprecated use `GetConfigurationsResponseBodyIntegrationsResponseType$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationsResponseBodyIntegrationsResponseType$outboundSchema; -} - -/** @internal */ -export const ResponseBodyScope$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyScope -> = z.nativeEnum(ResponseBodyScope); - -/** @internal */ -export const ResponseBodyScope$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyScope -> = ResponseBodyScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyScope$ { - /** @deprecated use `ResponseBodyScope$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyScope$inboundSchema; - /** @deprecated use `ResponseBodyScope$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyScope$outboundSchema; -} - -/** @internal */ -export const Details$inboundSchema: z.ZodType = - z.object({ - label: z.string(), - value: z.string().optional(), - }); - -/** @internal */ -export type Details$Outbound = { - label: string; - value?: string | undefined; -}; - -/** @internal */ -export const Details$outboundSchema: z.ZodType< - Details$Outbound, - z.ZodTypeDef, - Details -> = z.object({ - label: z.string(), - value: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Details$ { - /** @deprecated use `Details$inboundSchema` instead. */ - export const inboundSchema = Details$inboundSchema; - /** @deprecated use `Details$outboundSchema` instead. */ - export const outboundSchema = Details$outboundSchema; - /** @deprecated use `Details$Outbound` instead. */ - export type Outbound = Details$Outbound; -} - -export function detailsToJSON(details: Details): string { - return JSON.stringify(Details$outboundSchema.parse(details)); -} - -export function detailsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Details$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Details' from JSON`, - ); -} - -/** @internal */ -export const HeightlightedDetails$inboundSchema: z.ZodType< - HeightlightedDetails, - z.ZodTypeDef, - unknown -> = z.object({ - label: z.string(), - value: z.string().optional(), -}); - -/** @internal */ -export type HeightlightedDetails$Outbound = { - label: string; - value?: string | undefined; -}; - -/** @internal */ -export const HeightlightedDetails$outboundSchema: z.ZodType< - HeightlightedDetails$Outbound, - z.ZodTypeDef, - HeightlightedDetails -> = z.object({ - label: z.string(), - value: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace HeightlightedDetails$ { - /** @deprecated use `HeightlightedDetails$inboundSchema` instead. */ - export const inboundSchema = HeightlightedDetails$inboundSchema; - /** @deprecated use `HeightlightedDetails$outboundSchema` instead. */ - export const outboundSchema = HeightlightedDetails$outboundSchema; - /** @deprecated use `HeightlightedDetails$Outbound` instead. */ - export type Outbound = HeightlightedDetails$Outbound; -} - -export function heightlightedDetailsToJSON( - heightlightedDetails: HeightlightedDetails, -): string { - return JSON.stringify( - HeightlightedDetails$outboundSchema.parse(heightlightedDetails), - ); -} - -export function heightlightedDetailsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => HeightlightedDetails$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'HeightlightedDetails' from JSON`, - ); -} - -/** @internal */ -export const Quote$inboundSchema: z.ZodType = z - .object({ - line: z.string(), - amount: z.string(), - }); - -/** @internal */ -export type Quote$Outbound = { - line: string; - amount: string; -}; - -/** @internal */ -export const Quote$outboundSchema: z.ZodType< - Quote$Outbound, - z.ZodTypeDef, - Quote -> = z.object({ - line: z.string(), - amount: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Quote$ { - /** @deprecated use `Quote$inboundSchema` instead. */ - export const inboundSchema = Quote$inboundSchema; - /** @deprecated use `Quote$outboundSchema` instead. */ - export const outboundSchema = Quote$outboundSchema; - /** @deprecated use `Quote$Outbound` instead. */ - export type Outbound = Quote$Outbound; -} - -export function quoteToJSON(quote: Quote): string { - return JSON.stringify(Quote$outboundSchema.parse(quote)); -} - -export function quoteFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Quote$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Quote' from JSON`, - ); -} - -/** @internal */ -export const BillingPlan$inboundSchema: z.ZodType< - BillingPlan, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - type: GetConfigurationsResponseBodyIntegrationsResponseType$inboundSchema, - name: z.string(), - scope: ResponseBodyScope$inboundSchema.optional(), - description: z.string(), - paymentMethodRequired: z.boolean().optional(), - preauthorizationAmount: z.number().optional(), - cost: z.string().optional(), - details: z.array(z.lazy(() => Details$inboundSchema)).optional(), - heightlightedDetails: z.array( - z.lazy(() => HeightlightedDetails$inboundSchema), - ).optional(), - quote: z.array(z.lazy(() => Quote$inboundSchema)).optional(), - effectiveDate: z.string().optional(), -}); - -/** @internal */ -export type BillingPlan$Outbound = { - id: string; - type: string; - name: string; - scope?: string | undefined; - description: string; - paymentMethodRequired?: boolean | undefined; - preauthorizationAmount?: number | undefined; - cost?: string | undefined; - details?: Array | undefined; - heightlightedDetails?: Array | undefined; - quote?: Array | undefined; - effectiveDate?: string | undefined; -}; - -/** @internal */ -export const BillingPlan$outboundSchema: z.ZodType< - BillingPlan$Outbound, - z.ZodTypeDef, - BillingPlan -> = z.object({ - id: z.string(), - type: GetConfigurationsResponseBodyIntegrationsResponseType$outboundSchema, - name: z.string(), - scope: ResponseBodyScope$outboundSchema.optional(), - description: z.string(), - paymentMethodRequired: z.boolean().optional(), - preauthorizationAmount: z.number().optional(), - cost: z.string().optional(), - details: z.array(z.lazy(() => Details$outboundSchema)).optional(), - heightlightedDetails: z.array( - z.lazy(() => HeightlightedDetails$outboundSchema), - ).optional(), - quote: z.array(z.lazy(() => Quote$outboundSchema)).optional(), - effectiveDate: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BillingPlan$ { - /** @deprecated use `BillingPlan$inboundSchema` instead. */ - export const inboundSchema = BillingPlan$inboundSchema; - /** @deprecated use `BillingPlan$outboundSchema` instead. */ - export const outboundSchema = BillingPlan$outboundSchema; - /** @deprecated use `BillingPlan$Outbound` instead. */ - export type Outbound = BillingPlan$Outbound; -} - -export function billingPlanToJSON(billingPlan: BillingPlan): string { - return JSON.stringify(BillingPlan$outboundSchema.parse(billingPlan)); -} - -export function billingPlanFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BillingPlan$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BillingPlan' from JSON`, - ); -} - -/** @internal */ -export const GetConfigurationsResponseBody1$inboundSchema: z.ZodType< - GetConfigurationsResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({ - completedAt: z.number().optional(), - createdAt: z.number().optional(), - id: z.string().optional(), - integrationId: z.string().optional(), - ownerId: z.string().optional(), - projects: z.array(z.string()).optional(), - source: GetConfigurationsResponseBodySource$inboundSchema.optional(), - slug: z.string().optional(), - teamId: z.nullable(z.string()).optional(), - type: GetConfigurationsResponseBodyType$inboundSchema.optional(), - updatedAt: z.number().optional(), - userId: z.string().optional(), - scopes: z.array(z.string()).optional(), - disabledAt: z.number().optional(), - deletedAt: z.nullable(z.number()).optional(), - deleteRequestedAt: z.nullable(z.number()).optional(), - disabledReason: GetConfigurationsResponseBodyDisabledReason$inboundSchema - .optional(), - installationType: ResponseBodyInstallationType$inboundSchema.optional(), - billingPlan: z.lazy(() => BillingPlan$inboundSchema).optional(), - billingTotal: z.string().optional(), - periodStart: z.string().optional(), - periodEnd: z.string().optional(), -}); - -/** @internal */ -export type GetConfigurationsResponseBody1$Outbound = { - completedAt?: number | undefined; - createdAt?: number | undefined; - id?: string | undefined; - integrationId?: string | undefined; - ownerId?: string | undefined; - projects?: Array | undefined; - source?: string | undefined; - slug?: string | undefined; - teamId?: string | null | undefined; - type?: string | undefined; - updatedAt?: number | undefined; - userId?: string | undefined; - scopes?: Array | undefined; - disabledAt?: number | undefined; - deletedAt?: number | null | undefined; - deleteRequestedAt?: number | null | undefined; - disabledReason?: string | undefined; - installationType?: string | undefined; - billingPlan?: BillingPlan$Outbound | undefined; - billingTotal?: string | undefined; - periodStart?: string | undefined; - periodEnd?: string | undefined; -}; - -/** @internal */ -export const GetConfigurationsResponseBody1$outboundSchema: z.ZodType< - GetConfigurationsResponseBody1$Outbound, - z.ZodTypeDef, - GetConfigurationsResponseBody1 -> = z.object({ - completedAt: z.number().optional(), - createdAt: z.number().optional(), - id: z.string().optional(), - integrationId: z.string().optional(), - ownerId: z.string().optional(), - projects: z.array(z.string()).optional(), - source: GetConfigurationsResponseBodySource$outboundSchema.optional(), - slug: z.string().optional(), - teamId: z.nullable(z.string()).optional(), - type: GetConfigurationsResponseBodyType$outboundSchema.optional(), - updatedAt: z.number().optional(), - userId: z.string().optional(), - scopes: z.array(z.string()).optional(), - disabledAt: z.number().optional(), - deletedAt: z.nullable(z.number()).optional(), - deleteRequestedAt: z.nullable(z.number()).optional(), - disabledReason: GetConfigurationsResponseBodyDisabledReason$outboundSchema - .optional(), - installationType: ResponseBodyInstallationType$outboundSchema.optional(), - billingPlan: z.lazy(() => BillingPlan$outboundSchema).optional(), - billingTotal: z.string().optional(), - periodStart: z.string().optional(), - periodEnd: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationsResponseBody1$ { - /** @deprecated use `GetConfigurationsResponseBody1$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationsResponseBody1$inboundSchema; - /** @deprecated use `GetConfigurationsResponseBody1$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationsResponseBody1$outboundSchema; - /** @deprecated use `GetConfigurationsResponseBody1$Outbound` instead. */ - export type Outbound = GetConfigurationsResponseBody1$Outbound; -} - -export function getConfigurationsResponseBody1ToJSON( - getConfigurationsResponseBody1: GetConfigurationsResponseBody1, -): string { - return JSON.stringify( - GetConfigurationsResponseBody1$outboundSchema.parse( - getConfigurationsResponseBody1, - ), - ); -} - -export function getConfigurationsResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetConfigurationsResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationsResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const GetConfigurationsResponseBody$inboundSchema: z.ZodType< - GetConfigurationsResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.array(z.lazy(() => GetConfigurationsResponseBody1$inboundSchema)), - z.array(z.lazy(() => GetConfigurationsResponseBody2$inboundSchema)), -]); - -/** @internal */ -export type GetConfigurationsResponseBody$Outbound = - | Array - | Array; - -/** @internal */ -export const GetConfigurationsResponseBody$outboundSchema: z.ZodType< - GetConfigurationsResponseBody$Outbound, - z.ZodTypeDef, - GetConfigurationsResponseBody -> = z.union([ - z.array(z.lazy(() => GetConfigurationsResponseBody1$outboundSchema)), - z.array(z.lazy(() => GetConfigurationsResponseBody2$outboundSchema)), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationsResponseBody$ { - /** @deprecated use `GetConfigurationsResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationsResponseBody$inboundSchema; - /** @deprecated use `GetConfigurationsResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationsResponseBody$outboundSchema; - /** @deprecated use `GetConfigurationsResponseBody$Outbound` instead. */ - export type Outbound = GetConfigurationsResponseBody$Outbound; -} - -export function getConfigurationsResponseBodyToJSON( - getConfigurationsResponseBody: GetConfigurationsResponseBody, -): string { - return JSON.stringify( - GetConfigurationsResponseBody$outboundSchema.parse( - getConfigurationsResponseBody, - ), - ); -} - -export function getConfigurationsResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetConfigurationsResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationsResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getdeployment.ts b/src/models/operations/getdeployment.ts deleted file mode 100644 index d4cbef6b..00000000 --- a/src/models/operations/getdeployment.ts +++ /dev/null @@ -1,8478 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - FlagJSONValue, - FlagJSONValue$inboundSchema, - FlagJSONValue$Outbound, - FlagJSONValue$outboundSchema, -} from "../components/flagjsonvalue.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetDeploymentRequest = { - /** - * The unique identifier or hostname of the deployment. - */ - idOrUrl: string; - /** - * Whether to add in gitRepo information. - */ - withGitRepoInfo?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export type GetDeploymentResponseBodyCreator = { - uid: string; - username?: string | undefined; - avatar?: string | undefined; -}; - -export const GetDeploymentResponseBodyDeploymentsReadyState = { - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Ready: "READY", -} as const; -export type GetDeploymentResponseBodyDeploymentsReadyState = ClosedEnum< - typeof GetDeploymentResponseBodyDeploymentsReadyState ->; - -export type GetDeploymentResponseBodyOutput = { - path: string; - functionName: string; -}; - -/** - * A partial representation of a Build used by the deployment endpoint. - */ -export type ResponseBodyLambdas = { - id?: string | undefined; - createdAt?: number | undefined; - entrypoint?: string | null | undefined; - readyState?: GetDeploymentResponseBodyDeploymentsReadyState | undefined; - readyStateAt?: number | undefined; - output: Array; -}; - -export const GetDeploymentResponseBodyStatus = { - Queued: "QUEUED", - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Ready: "READY", - Canceled: "CANCELED", -} as const; -export type GetDeploymentResponseBodyStatus = ClosedEnum< - typeof GetDeploymentResponseBodyStatus ->; - -export type ResponseBodyTeam = { - id: string; - name: string; - slug: string; - avatar?: string | undefined; -}; - -export type GetDeploymentCustomEnvironment2 = { - id: string; -}; - -export type GetDeploymentCustomEnvironment1 = {}; - -export type ResponseBodyCustomEnvironment = - | GetDeploymentCustomEnvironment1 - | GetDeploymentCustomEnvironment2; - -export type ResponseBodyAliasWarning = { - code: string; - message: string; - link?: string | undefined; - action?: string | undefined; -}; - -export const GetDeploymentResponseBodyType = { - Lambdas: "LAMBDAS", -} as const; -export type GetDeploymentResponseBodyType = ClosedEnum< - typeof GetDeploymentResponseBodyType ->; - -export const GetDeploymentResponseBodyReadyState = { - Queued: "QUEUED", - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Ready: "READY", - Canceled: "CANCELED", -} as const; -export type GetDeploymentResponseBodyReadyState = ClosedEnum< - typeof GetDeploymentResponseBodyReadyState ->; - -export type GetDeploymentResponseBodyAliasError = { - code: string; - message: string; -}; - -export const GetDeploymentResponseBodyChecksState = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type GetDeploymentResponseBodyChecksState = ClosedEnum< - typeof GetDeploymentResponseBodyChecksState ->; - -export const GetDeploymentResponseBodyChecksConclusion = { - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", - Canceled: "canceled", -} as const; -export type GetDeploymentResponseBodyChecksConclusion = ClosedEnum< - typeof GetDeploymentResponseBodyChecksConclusion ->; - -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type = - { - Bitbucket: "bitbucket", - } as const; -export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type = - ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type - >; - -export type GetDeploymentGitSource9 = { - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type; - ref: string; - sha: string; - owner?: string | undefined; - slug?: string | undefined; - workspaceUuid: string; - repoUuid: string; -}; - -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type = - { - Gitlab: "gitlab", - } as const; -export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type = - ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type - >; - -export type GetDeploymentGitSource8 = { - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type; - ref: string; - sha: string; - projectId: number; -}; - -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type = - { - Github: "github", - } as const; -export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type = - ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type - >; - -export type GetDeploymentGitSource7 = { - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type; - ref: string; - sha: string; - repoId: number; - org?: string | undefined; - repo?: string | undefined; -}; - -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type = - { - Custom: "custom", - } as const; -export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type = - ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type - >; - -/** - * Allows custom git sources (local folder mounted to the container) in test mode - */ -export type GetDeploymentGitSource6 = { - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type; - ref: string; - sha: string; - gitUrl: string; -}; - -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type = - { - Bitbucket: "bitbucket", - } as const; -export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type = - ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type - >; - -export type GetDeploymentGitSource5 = { - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type; - owner: string; - slug: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type = - { - Bitbucket: "bitbucket", - } as const; -export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type = - ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type - >; - -export type GetDeploymentGitSource4 = { - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type; - workspaceUuid?: string | undefined; - repoUuid: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type = - { - Gitlab: "gitlab", - } as const; -export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type = - ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type - >; - -export type GetDeploymentGitSourceDeploymentsProjectId = string | number; - -export type GetDeploymentGitSource3 = { - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type; - projectId: string | number; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type = - { - Github: "github", - } as const; -export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type = - ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type - >; - -export type GetDeploymentGitSource2 = { - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type; - org: string; - repo: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type = - { - Github: "github", - } as const; -export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type = - ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type - >; - -export type GetDeploymentGitSourceDeploymentsRepoId = string | number; - -export type GetDeploymentGitSource1 = { - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type; - repoId: string | number; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export type ResponseBodyGitSource = - | GetDeploymentGitSource6 - | GetDeploymentGitSource8 - | GetDeploymentGitSource1 - | GetDeploymentGitSource3 - | GetDeploymentGitSource2 - | GetDeploymentGitSource4 - | GetDeploymentGitSource5 - | GetDeploymentGitSource7 - | GetDeploymentGitSource9; - -export type GetDeploymentResponseBodyProject = { - id: string; - name: string; - framework?: string | null | undefined; -}; - -/** - * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic - */ -export const GetDeploymentResponseBodyReadySubstate = { - Staged: "STAGED", - Promoted: "PROMOTED", -} as const; -/** - * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic - */ -export type GetDeploymentResponseBodyReadySubstate = ClosedEnum< - typeof GetDeploymentResponseBodyReadySubstate ->; - -export const GetDeploymentResponseBodySource = { - ApiTriggerGitDeploy: "api-trigger-git-deploy", - Cli: "cli", - CloneRepo: "clone/repo", - Git: "git", - Import: "import", - ImportRepo: "import/repo", - Redeploy: "redeploy", - V0Web: "v0-web", -} as const; -export type GetDeploymentResponseBodySource = ClosedEnum< - typeof GetDeploymentResponseBodySource ->; - -export const GetDeploymentResponseBodyTarget = { - Staging: "staging", - Production: "production", -} as const; -export type GetDeploymentResponseBodyTarget = ClosedEnum< - typeof GetDeploymentResponseBodyTarget ->; - -export type GetDeploymentResponseBodyOidcTokenClaims = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - ownerId: string; - project: string; - projectId: string; - environment: string; -}; - -/** - * The deployment including only public information - */ -export type GetDeploymentResponseBody2 = { - alias?: Array | undefined; - aliasAssigned: boolean; - bootedAt: number; - buildingAt: number; - buildSkipped: boolean; - creator: GetDeploymentResponseBodyCreator; - initReadyAt?: number | undefined; - isFirstBranchDeployment?: boolean | undefined; - lambdas?: Array | undefined; - public: boolean; - ready?: number | undefined; - status: GetDeploymentResponseBodyStatus; - team?: ResponseBodyTeam | undefined; - userAliases?: Array | undefined; - previewCommentsEnabled?: boolean | undefined; - ttyBuildLogs?: boolean | undefined; - customEnvironment?: - | GetDeploymentCustomEnvironment1 - | GetDeploymentCustomEnvironment2 - | undefined; - aliasWarning?: ResponseBodyAliasWarning | null | undefined; - id: string; - type: GetDeploymentResponseBodyType; - createdAt: number; - name: string; - readyState: GetDeploymentResponseBodyReadyState; - aliasError?: GetDeploymentResponseBodyAliasError | null | undefined; - aliasFinal?: string | null | undefined; - /** - * applies to custom domains only, defaults to `true` - */ - autoAssignCustomDomains?: boolean | undefined; - automaticAliases?: Array | undefined; - buildErrorAt?: number | undefined; - checksState?: GetDeploymentResponseBodyChecksState | undefined; - checksConclusion?: GetDeploymentResponseBodyChecksConclusion | undefined; - deletedAt?: number | null | undefined; - /** - * Computed field that is only available for deployments with a microfrontend configuration. - */ - defaultRoute?: string | undefined; - canceledAt?: number | undefined; - errorCode?: string | undefined; - errorLink?: string | undefined; - errorMessage?: string | null | undefined; - errorStep?: string | undefined; - /** - * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service - */ - passiveRegions?: Array | undefined; - gitSource?: - | GetDeploymentGitSource6 - | GetDeploymentGitSource8 - | GetDeploymentGitSource1 - | GetDeploymentGitSource3 - | GetDeploymentGitSource2 - | GetDeploymentGitSource4 - | GetDeploymentGitSource5 - | GetDeploymentGitSource7 - | GetDeploymentGitSource9 - | undefined; - meta: { [k: string]: string }; - project?: GetDeploymentResponseBodyProject | undefined; - /** - * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic - */ - readySubstate?: GetDeploymentResponseBodyReadySubstate | undefined; - regions: Array; - softDeletedByRetention?: boolean | undefined; - source?: GetDeploymentResponseBodySource | undefined; - target?: GetDeploymentResponseBodyTarget | null | undefined; - undeletedAt?: number | undefined; - url: string; - version: number; - oidcTokenClaims?: GetDeploymentResponseBodyOidcTokenClaims | undefined; -}; - -export type ResponseBodyAliasAssignedAt = number | boolean; - -export type ResponseBodyBuild = { - env: Array; -}; - -export type ResponseBodyBuilds = {}; - -export const ResponseBodyFramework = { - Blitzjs: "blitzjs", - Nextjs: "nextjs", - Gatsby: "gatsby", - Remix: "remix", - Astro: "astro", - Hexo: "hexo", - Eleventy: "eleventy", - Docusaurus2: "docusaurus-2", - Docusaurus: "docusaurus", - Preact: "preact", - Solidstart1: "solidstart-1", - Solidstart: "solidstart", - Dojo: "dojo", - Ember: "ember", - Vue: "vue", - Scully: "scully", - IonicAngular: "ionic-angular", - Angular: "angular", - Polymer: "polymer", - Svelte: "svelte", - Sveltekit: "sveltekit", - Sveltekit1: "sveltekit-1", - IonicReact: "ionic-react", - CreateReactApp: "create-react-app", - Gridsome: "gridsome", - Umijs: "umijs", - Sapper: "sapper", - Saber: "saber", - Stencil: "stencil", - Nuxtjs: "nuxtjs", - Redwoodjs: "redwoodjs", - Hugo: "hugo", - Jekyll: "jekyll", - Brunch: "brunch", - Middleman: "middleman", - Zola: "zola", - Hydrogen: "hydrogen", - Vite: "vite", - Vitepress: "vitepress", - Vuepress: "vuepress", - Parcel: "parcel", - Fasthtml: "fasthtml", - SanityV3: "sanity-v3", - Sanity: "sanity", - Storybook: "storybook", -} as const; -export type ResponseBodyFramework = ClosedEnum; - -export type ResponseBodySpeedInsights = { - id: string; - enabledAt?: number | undefined; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - hasData?: boolean | undefined; - paidAt?: number | undefined; -}; - -export type ResponseBodyWebAnalytics = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; -}; - -export type ResponseBodyProjectSettings = { - buildCommand?: string | null | undefined; - devCommand?: string | null | undefined; - framework?: ResponseBodyFramework | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - installCommand?: string | null | undefined; - outputDirectory?: string | null | undefined; - speedInsights?: ResponseBodySpeedInsights | undefined; - webAnalytics?: ResponseBodyWebAnalytics | undefined; -}; - -export const GetDeploymentResponseBodyDeploymentsStatus = { - Error: "error", - Skipped: "skipped", - Pending: "pending", - Ready: "ready", - Timeout: "timeout", -} as const; -export type GetDeploymentResponseBodyDeploymentsStatus = ClosedEnum< - typeof GetDeploymentResponseBodyDeploymentsStatus ->; - -export type ResponseBodyIntegrations = { - status: GetDeploymentResponseBodyDeploymentsStatus; - startedAt: number; - completedAt?: number | undefined; - skippedAt?: number | undefined; - skippedBy?: string | undefined; -}; - -export type ResponseBodyCreator = { - uid: string; - username?: string | undefined; - avatar?: string | undefined; -}; - -export const GetDeploymentResponseBodyDeploymentsResponseReadyState = { - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Ready: "READY", -} as const; -export type GetDeploymentResponseBodyDeploymentsResponseReadyState = ClosedEnum< - typeof GetDeploymentResponseBodyDeploymentsResponseReadyState ->; - -export type ResponseBodyOutput = { - path: string; - functionName: string; -}; - -/** - * A partial representation of a Build used by the deployment endpoint. - */ -export type GetDeploymentResponseBodyLambdas = { - id?: string | undefined; - createdAt?: number | undefined; - entrypoint?: string | null | undefined; - readyState?: - | GetDeploymentResponseBodyDeploymentsResponseReadyState - | undefined; - readyStateAt?: number | undefined; - output: Array; -}; - -export const ResponseBodyStatus = { - Queued: "QUEUED", - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Ready: "READY", - Canceled: "CANCELED", -} as const; -export type ResponseBodyStatus = ClosedEnum; - -export type GetDeploymentResponseBodyTeam = { - id: string; - name: string; - slug: string; - avatar?: string | undefined; -}; - -export type GetDeploymentCustomEnvironmentDeployments2 = { - id: string; -}; - -export type GetDeploymentCustomEnvironmentDeployments1 = {}; - -export type GetDeploymentResponseBodyCustomEnvironment = - | GetDeploymentCustomEnvironmentDeployments1 - | GetDeploymentCustomEnvironmentDeployments2; - -export type GetDeploymentResponseBodyAliasWarning = { - code: string; - message: string; - link?: string | undefined; - action?: string | undefined; -}; - -export const ResponseBodyType = { - Lambdas: "LAMBDAS", -} as const; -export type ResponseBodyType = ClosedEnum; - -export const ResponseBodyReadyState = { - Queued: "QUEUED", - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Ready: "READY", - Canceled: "CANCELED", -} as const; -export type ResponseBodyReadyState = ClosedEnum; - -export type ResponseBodyAliasError = { - code: string; - message: string; -}; - -export const ResponseBodyChecksState = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type ResponseBodyChecksState = ClosedEnum< - typeof ResponseBodyChecksState ->; - -export const ResponseBodyChecksConclusion = { - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", - Canceled: "canceled", -} as const; -export type ResponseBodyChecksConclusion = ClosedEnum< - typeof ResponseBodyChecksConclusion ->; - -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type = - { - Bitbucket: "bitbucket", - } as const; -export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type = - ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type - >; - -export type GetDeploymentGitSourceDeployments9 = { - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type; - ref: string; - sha: string; - owner?: string | undefined; - slug?: string | undefined; - workspaceUuid: string; - repoUuid: string; -}; - -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type = - { - Gitlab: "gitlab", - } as const; -export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type = - ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type - >; - -export type GetDeploymentGitSourceDeployments8 = { - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type; - ref: string; - sha: string; - projectId: number; -}; - -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = - { - Github: "github", - } as const; -export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = - ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType - >; - -export type GetDeploymentGitSourceDeployments7 = { - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType; - ref: string; - sha: string; - repoId: number; - org?: string | undefined; - repo?: string | undefined; -}; - -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = { - Custom: "custom", -} as const; -export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = - ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType - >; - -/** - * Allows custom git sources (local folder mounted to the container) in test mode - */ -export type GetDeploymentGitSourceDeployments6 = { - type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType; - ref: string; - sha: string; - gitUrl: string; -}; - -export const GetDeploymentGitSourceDeploymentsResponse200Type = { - Bitbucket: "bitbucket", -} as const; -export type GetDeploymentGitSourceDeploymentsResponse200Type = ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200Type ->; - -export type GetDeploymentGitSourceDeployments5 = { - type: GetDeploymentGitSourceDeploymentsResponse200Type; - owner: string; - slug: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export const GetDeploymentGitSourceDeploymentsResponseType = { - Bitbucket: "bitbucket", -} as const; -export type GetDeploymentGitSourceDeploymentsResponseType = ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsResponseType ->; - -export type GetDeploymentGitSourceDeployments4 = { - type: GetDeploymentGitSourceDeploymentsResponseType; - workspaceUuid?: string | undefined; - repoUuid: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export const GetDeploymentGitSourceDeploymentsType = { - Gitlab: "gitlab", -} as const; -export type GetDeploymentGitSourceDeploymentsType = ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsType ->; - -export type GetDeploymentGitSourceProjectId = string | number; - -export type GetDeploymentGitSourceDeployments3 = { - type: GetDeploymentGitSourceDeploymentsType; - projectId: string | number; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export const GetDeploymentGitSourceType = { - Github: "github", -} as const; -export type GetDeploymentGitSourceType = ClosedEnum< - typeof GetDeploymentGitSourceType ->; - -export type GetDeploymentGitSourceDeployments2 = { - type: GetDeploymentGitSourceType; - org: string; - repo: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type = - { - Github: "github", - } as const; -export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type = - ClosedEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type - >; - -export type GetDeploymentGitSourceRepoId = string | number; - -export type GetDeploymentGitSourceDeployments1 = { - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type; - repoId: string | number; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -export type GetDeploymentResponseBodyGitSource = - | GetDeploymentGitSourceDeployments6 - | GetDeploymentGitSourceDeployments8 - | GetDeploymentGitSourceDeployments1 - | GetDeploymentGitSourceDeployments3 - | GetDeploymentGitSourceDeployments2 - | GetDeploymentGitSourceDeployments4 - | GetDeploymentGitSourceDeployments5 - | GetDeploymentGitSourceDeployments7 - | GetDeploymentGitSourceDeployments9; - -export type ResponseBodyProject = { - id: string; - name: string; - framework?: string | null | undefined; -}; - -/** - * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic - */ -export const ResponseBodyReadySubstate = { - Staged: "STAGED", - Promoted: "PROMOTED", -} as const; -/** - * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic - */ -export type ResponseBodyReadySubstate = ClosedEnum< - typeof ResponseBodyReadySubstate ->; - -export const ResponseBodySource = { - ApiTriggerGitDeploy: "api-trigger-git-deploy", - Cli: "cli", - CloneRepo: "clone/repo", - Git: "git", - Import: "import", - ImportRepo: "import/repo", - Redeploy: "redeploy", - V0Web: "v0-web", -} as const; -export type ResponseBodySource = ClosedEnum; - -export const ResponseBodyTarget = { - Staging: "staging", - Production: "production", -} as const; -export type ResponseBodyTarget = ClosedEnum; - -export type ResponseBodyOidcTokenClaims = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - ownerId: string; - project: string; - projectId: string; - environment: string; -}; - -export const ResponseBodyPlan = { - Pro: "pro", - Enterprise: "enterprise", - Hobby: "hobby", -} as const; -export type ResponseBodyPlan = ClosedEnum; - -export type ResponseBodyCrons = { - schedule: string; - path: string; -}; - -export type ResponseBodyFunctions = { - memory?: number | undefined; - maxDuration?: number | undefined; - runtime?: string | undefined; - includeFiles?: string | undefined; - excludeFiles?: string | undefined; -}; - -export type GetDeploymentRoutes3 = { - src: string; - continue: boolean; - middleware: number; -}; - -export const GetDeploymentRoutesHandle = { - Error: "error", - Filesystem: "filesystem", - Hit: "hit", - Miss: "miss", - Rewrite: "rewrite", - Resource: "resource", -} as const; -export type GetDeploymentRoutesHandle = ClosedEnum< - typeof GetDeploymentRoutesHandle ->; - -export type GetDeploymentRoutes2 = { - handle: GetDeploymentRoutesHandle; - src?: string | undefined; - dest?: string | undefined; - status?: number | undefined; -}; - -export const GetDeploymentHasType = { - Header: "header", - Cookie: "cookie", - Query: "query", -} as const; -export type GetDeploymentHasType = ClosedEnum; - -export type GetDeploymentHas2 = { - type: GetDeploymentHasType; - key: string; - value?: string | undefined; -}; - -export const GetDeploymentHasDeploymentsType = { - Host: "host", -} as const; -export type GetDeploymentHasDeploymentsType = ClosedEnum< - typeof GetDeploymentHasDeploymentsType ->; - -export type GetDeploymentHas1 = { - type: GetDeploymentHasDeploymentsType; - value: string; -}; - -export type GetDeploymentRoutesHas = GetDeploymentHas1 | GetDeploymentHas2; - -export const GetDeploymentMissingType = { - Header: "header", - Cookie: "cookie", - Query: "query", -} as const; -export type GetDeploymentMissingType = ClosedEnum< - typeof GetDeploymentMissingType ->; - -export type GetDeploymentMissing2 = { - type: GetDeploymentMissingType; - key: string; - value?: string | undefined; -}; - -export const GetDeploymentMissingDeploymentsType = { - Host: "host", -} as const; -export type GetDeploymentMissingDeploymentsType = ClosedEnum< - typeof GetDeploymentMissingDeploymentsType ->; - -export type GetDeploymentMissing1 = { - type: GetDeploymentMissingDeploymentsType; - value: string; -}; - -export type GetDeploymentRoutesMissing = - | GetDeploymentMissing1 - | GetDeploymentMissing2; - -export type GetDeploymentRoutesLocale = { - redirect?: { [k: string]: string } | undefined; - cookie?: string | undefined; -}; - -export type GetDeploymentRoutes1 = { - src: string; - dest?: string | undefined; - headers?: { [k: string]: string } | undefined; - methods?: Array | undefined; - continue?: boolean | undefined; - override?: boolean | undefined; - caseSensitive?: boolean | undefined; - check?: boolean | undefined; - important?: boolean | undefined; - status?: number | undefined; - has?: Array | undefined; - missing?: Array | undefined; - locale?: GetDeploymentRoutesLocale | undefined; - /** - * A middleware key within the `output` key under the build result. Overrides a `middleware` definition. - */ - middlewarePath?: string | undefined; - /** - * The original middleware matchers. - */ - middlewareRawSrc?: Array | undefined; - /** - * A middleware index in the `middleware` key under the build result - */ - middleware?: number | undefined; -}; - -export type ResponseBodyRoutes = - | GetDeploymentRoutes3 - | GetDeploymentRoutes2 - | GetDeploymentRoutes1; - -export const GetDeploymentGitRepoDeploymentsType = { - Bitbucket: "bitbucket", -} as const; -export type GetDeploymentGitRepoDeploymentsType = ClosedEnum< - typeof GetDeploymentGitRepoDeploymentsType ->; - -export const GetDeploymentGitRepoOwnerType = { - Team: "team", - User: "user", -} as const; -export type GetDeploymentGitRepoOwnerType = ClosedEnum< - typeof GetDeploymentGitRepoOwnerType ->; - -export type GetDeploymentGitRepo3 = { - owner: string; - repoUuid: string; - slug: string; - type: GetDeploymentGitRepoDeploymentsType; - workspaceUuid: string; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: GetDeploymentGitRepoOwnerType; -}; - -export const GetDeploymentGitRepoType = { - Github: "github", -} as const; -export type GetDeploymentGitRepoType = ClosedEnum< - typeof GetDeploymentGitRepoType ->; - -export const GetDeploymentGitRepoDeploymentsResponseOwnerType = { - Team: "team", - User: "user", -} as const; -export type GetDeploymentGitRepoDeploymentsResponseOwnerType = ClosedEnum< - typeof GetDeploymentGitRepoDeploymentsResponseOwnerType ->; - -export type GetDeploymentGitRepo2 = { - org: string; - repo: string; - repoId: number; - type: GetDeploymentGitRepoType; - repoOwnerId: number; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: GetDeploymentGitRepoDeploymentsResponseOwnerType; -}; - -export const GetDeploymentGitRepoDeploymentsResponseType = { - Gitlab: "gitlab", -} as const; -export type GetDeploymentGitRepoDeploymentsResponseType = ClosedEnum< - typeof GetDeploymentGitRepoDeploymentsResponseType ->; - -export const GetDeploymentGitRepoDeploymentsOwnerType = { - Team: "team", - User: "user", -} as const; -export type GetDeploymentGitRepoDeploymentsOwnerType = ClosedEnum< - typeof GetDeploymentGitRepoDeploymentsOwnerType ->; - -export type GetDeploymentGitRepo1 = { - namespace: string; - projectId: number; - type: GetDeploymentGitRepoDeploymentsResponseType; - url: string; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: GetDeploymentGitRepoDeploymentsOwnerType; -}; - -export type ResponseBodyGitRepo = - | GetDeploymentGitRepo1 - | GetDeploymentGitRepo2 - | GetDeploymentGitRepo3; - -/** - * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. - */ -export type GetDeploymentFlags2 = {}; - -export type GetDeploymentFlagsOptions = { - value: FlagJSONValue | null; - label?: string | undefined; -}; - -export type GetDeploymentFlagsDefinitions = { - options?: Array | undefined; - url?: string | undefined; - description?: string | undefined; -}; - -/** - * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. - */ -export type GetDeploymentFlags1 = { - definitions: { [k: string]: GetDeploymentFlagsDefinitions }; -}; - -export type ResponseBodyFlags = - | GetDeploymentFlags1 - | Array; - -/** - * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. - */ -export type GetDeploymentMicrofrontendsApplications = { - /** - * This is the production alias, it will always show the most up to date of each application. - */ - productionHost: string; - /** - * Use the fixed deploymentAlias and deploymentHost so that the microfrontend preview stays in sync with the deployment. These are only present for mono-repos when a single commit creates multiple deployments. If they are not present, productionHost will be used. - */ - deploymentAlias?: string | undefined; - deploymentHost?: string | undefined; -}; - -export type GetDeploymentMicrofrontends2 = { - /** - * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. - */ - applications?: - | { [k: string]: GetDeploymentMicrofrontendsApplications } - | undefined; - isDefaultApp: boolean; - /** - * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. - */ - defaultRoute?: string | undefined; - /** - * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. - */ - groupIds: Array; -}; - -export type GetDeploymentMicrofrontends1 = { - /** - * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. - */ - isDefaultApp?: boolean | undefined; - /** - * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. - */ - defaultRoute?: string | undefined; - /** - * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. - */ - groupIds: Array; -}; - -export type ResponseBodyMicrofrontends = - | GetDeploymentMicrofrontends1 - | GetDeploymentMicrofrontends2; - -/** - * The deployment including both public and private information - */ -export type GetDeploymentResponseBody1 = { - aliasAssignedAt?: number | boolean | null | undefined; - alwaysRefuseToBuild?: boolean | undefined; - build: ResponseBodyBuild; - buildArtifactUrls?: Array | undefined; - builds?: Array | undefined; - env: Array; - inspectorUrl: string | null; - isInConcurrentBuildsQueue: boolean; - isInSystemBuildsQueue: boolean; - projectSettings: ResponseBodyProjectSettings; - readyStateReason?: string | undefined; - integrations?: ResponseBodyIntegrations | undefined; - alias?: Array | undefined; - aliasAssigned: boolean; - bootedAt: number; - buildingAt: number; - buildSkipped: boolean; - creator: ResponseBodyCreator; - initReadyAt?: number | undefined; - isFirstBranchDeployment?: boolean | undefined; - lambdas?: Array | undefined; - public: boolean; - ready?: number | undefined; - status: ResponseBodyStatus; - team?: GetDeploymentResponseBodyTeam | undefined; - userAliases?: Array | undefined; - previewCommentsEnabled?: boolean | undefined; - ttyBuildLogs?: boolean | undefined; - customEnvironment?: - | GetDeploymentCustomEnvironmentDeployments1 - | GetDeploymentCustomEnvironmentDeployments2 - | undefined; - aliasWarning?: GetDeploymentResponseBodyAliasWarning | null | undefined; - id: string; - type: ResponseBodyType; - createdAt: number; - name: string; - readyState: ResponseBodyReadyState; - aliasError?: ResponseBodyAliasError | null | undefined; - aliasFinal?: string | null | undefined; - /** - * applies to custom domains only, defaults to `true` - */ - autoAssignCustomDomains?: boolean | undefined; - automaticAliases?: Array | undefined; - buildErrorAt?: number | undefined; - checksState?: ResponseBodyChecksState | undefined; - checksConclusion?: ResponseBodyChecksConclusion | undefined; - deletedAt?: number | null | undefined; - /** - * Computed field that is only available for deployments with a microfrontend configuration. - */ - defaultRoute?: string | undefined; - canceledAt?: number | undefined; - errorCode?: string | undefined; - errorLink?: string | undefined; - errorMessage?: string | null | undefined; - errorStep?: string | undefined; - /** - * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service - */ - passiveRegions?: Array | undefined; - gitSource?: - | GetDeploymentGitSourceDeployments6 - | GetDeploymentGitSourceDeployments8 - | GetDeploymentGitSourceDeployments1 - | GetDeploymentGitSourceDeployments3 - | GetDeploymentGitSourceDeployments2 - | GetDeploymentGitSourceDeployments4 - | GetDeploymentGitSourceDeployments5 - | GetDeploymentGitSourceDeployments7 - | GetDeploymentGitSourceDeployments9 - | undefined; - meta: { [k: string]: string }; - project?: ResponseBodyProject | undefined; - /** - * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic - */ - readySubstate?: ResponseBodyReadySubstate | undefined; - regions: Array; - softDeletedByRetention?: boolean | undefined; - source?: ResponseBodySource | undefined; - target?: ResponseBodyTarget | null | undefined; - undeletedAt?: number | undefined; - url: string; - version: number; - oidcTokenClaims?: ResponseBodyOidcTokenClaims | undefined; - projectId: string; - plan: ResponseBodyPlan; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdIn: string; - crons?: Array | undefined; - functions?: { [k: string]: ResponseBodyFunctions } | null | undefined; - monorepoManager?: string | null | undefined; - ownerId: string; - /** - * Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions) - */ - passiveConnectConfigurationId?: string | undefined; - routes: - | Array - | null; - gitRepo?: - | GetDeploymentGitRepo1 - | GetDeploymentGitRepo2 - | GetDeploymentGitRepo3 - | null - | undefined; - flags?: GetDeploymentFlags1 | Array | undefined; - microfrontends?: - | GetDeploymentMicrofrontends1 - | GetDeploymentMicrofrontends2 - | undefined; -}; - -/** - * The deployment including only public information - * - * @remarks - * The deployment including both public and private information - */ -export type GetDeploymentResponseBody = - | GetDeploymentResponseBody2 - | GetDeploymentResponseBody1; - -/** @internal */ -export const GetDeploymentRequest$inboundSchema: z.ZodType< - GetDeploymentRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrUrl: z.string(), - withGitRepoInfo: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentRequest$Outbound = { - idOrUrl: string; - withGitRepoInfo?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentRequest$outboundSchema: z.ZodType< - GetDeploymentRequest$Outbound, - z.ZodTypeDef, - GetDeploymentRequest -> = z.object({ - idOrUrl: z.string(), - withGitRepoInfo: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentRequest$ { - /** @deprecated use `GetDeploymentRequest$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentRequest$inboundSchema; - /** @deprecated use `GetDeploymentRequest$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentRequest$outboundSchema; - /** @deprecated use `GetDeploymentRequest$Outbound` instead. */ - export type Outbound = GetDeploymentRequest$Outbound; -} - -export function getDeploymentRequestToJSON( - getDeploymentRequest: GetDeploymentRequest, -): string { - return JSON.stringify( - GetDeploymentRequest$outboundSchema.parse(getDeploymentRequest), - ); -} - -export function getDeploymentRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentRequest' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentResponseBodyCreator$inboundSchema: z.ZodType< - GetDeploymentResponseBodyCreator, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - username: z.string().optional(), - avatar: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentResponseBodyCreator$Outbound = { - uid: string; - username?: string | undefined; - avatar?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentResponseBodyCreator$outboundSchema: z.ZodType< - GetDeploymentResponseBodyCreator$Outbound, - z.ZodTypeDef, - GetDeploymentResponseBodyCreator -> = z.object({ - uid: z.string(), - username: z.string().optional(), - avatar: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyCreator$ { - /** @deprecated use `GetDeploymentResponseBodyCreator$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentResponseBodyCreator$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyCreator$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentResponseBodyCreator$outboundSchema; - /** @deprecated use `GetDeploymentResponseBodyCreator$Outbound` instead. */ - export type Outbound = GetDeploymentResponseBodyCreator$Outbound; -} - -export function getDeploymentResponseBodyCreatorToJSON( - getDeploymentResponseBodyCreator: GetDeploymentResponseBodyCreator, -): string { - return JSON.stringify( - GetDeploymentResponseBodyCreator$outboundSchema.parse( - getDeploymentResponseBodyCreator, - ), - ); -} - -export function getDeploymentResponseBodyCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentResponseBodyCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentResponseBodyCreator' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentResponseBodyDeploymentsReadyState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentResponseBodyDeploymentsReadyState); - -/** @internal */ -export const GetDeploymentResponseBodyDeploymentsReadyState$outboundSchema: - z.ZodNativeEnum = - GetDeploymentResponseBodyDeploymentsReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyDeploymentsReadyState$ { - /** @deprecated use `GetDeploymentResponseBodyDeploymentsReadyState$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentResponseBodyDeploymentsReadyState$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyDeploymentsReadyState$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentResponseBodyDeploymentsReadyState$outboundSchema; -} - -/** @internal */ -export const GetDeploymentResponseBodyOutput$inboundSchema: z.ZodType< - GetDeploymentResponseBodyOutput, - z.ZodTypeDef, - unknown -> = z.object({ - path: z.string(), - functionName: z.string(), -}); - -/** @internal */ -export type GetDeploymentResponseBodyOutput$Outbound = { - path: string; - functionName: string; -}; - -/** @internal */ -export const GetDeploymentResponseBodyOutput$outboundSchema: z.ZodType< - GetDeploymentResponseBodyOutput$Outbound, - z.ZodTypeDef, - GetDeploymentResponseBodyOutput -> = z.object({ - path: z.string(), - functionName: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyOutput$ { - /** @deprecated use `GetDeploymentResponseBodyOutput$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentResponseBodyOutput$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyOutput$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentResponseBodyOutput$outboundSchema; - /** @deprecated use `GetDeploymentResponseBodyOutput$Outbound` instead. */ - export type Outbound = GetDeploymentResponseBodyOutput$Outbound; -} - -export function getDeploymentResponseBodyOutputToJSON( - getDeploymentResponseBodyOutput: GetDeploymentResponseBodyOutput, -): string { - return JSON.stringify( - GetDeploymentResponseBodyOutput$outboundSchema.parse( - getDeploymentResponseBodyOutput, - ), - ); -} - -export function getDeploymentResponseBodyOutputFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentResponseBodyOutput$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentResponseBodyOutput' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyLambdas$inboundSchema: z.ZodType< - ResponseBodyLambdas, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - createdAt: z.number().optional(), - entrypoint: z.nullable(z.string()).optional(), - readyState: GetDeploymentResponseBodyDeploymentsReadyState$inboundSchema - .optional(), - readyStateAt: z.number().optional(), - output: z.array(z.lazy(() => GetDeploymentResponseBodyOutput$inboundSchema)), -}); - -/** @internal */ -export type ResponseBodyLambdas$Outbound = { - id?: string | undefined; - createdAt?: number | undefined; - entrypoint?: string | null | undefined; - readyState?: string | undefined; - readyStateAt?: number | undefined; - output: Array; -}; - -/** @internal */ -export const ResponseBodyLambdas$outboundSchema: z.ZodType< - ResponseBodyLambdas$Outbound, - z.ZodTypeDef, - ResponseBodyLambdas -> = z.object({ - id: z.string().optional(), - createdAt: z.number().optional(), - entrypoint: z.nullable(z.string()).optional(), - readyState: GetDeploymentResponseBodyDeploymentsReadyState$outboundSchema - .optional(), - readyStateAt: z.number().optional(), - output: z.array(z.lazy(() => GetDeploymentResponseBodyOutput$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyLambdas$ { - /** @deprecated use `ResponseBodyLambdas$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyLambdas$inboundSchema; - /** @deprecated use `ResponseBodyLambdas$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyLambdas$outboundSchema; - /** @deprecated use `ResponseBodyLambdas$Outbound` instead. */ - export type Outbound = ResponseBodyLambdas$Outbound; -} - -export function responseBodyLambdasToJSON( - responseBodyLambdas: ResponseBodyLambdas, -): string { - return JSON.stringify( - ResponseBodyLambdas$outboundSchema.parse(responseBodyLambdas), - ); -} - -export function responseBodyLambdasFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyLambdas$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyLambdas' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentResponseBodyStatus$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentResponseBodyStatus -> = z.nativeEnum(GetDeploymentResponseBodyStatus); - -/** @internal */ -export const GetDeploymentResponseBodyStatus$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentResponseBodyStatus -> = GetDeploymentResponseBodyStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyStatus$ { - /** @deprecated use `GetDeploymentResponseBodyStatus$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentResponseBodyStatus$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyStatus$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentResponseBodyStatus$outboundSchema; -} - -/** @internal */ -export const ResponseBodyTeam$inboundSchema: z.ZodType< - ResponseBodyTeam, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string(), - slug: z.string(), - avatar: z.string().optional(), -}); - -/** @internal */ -export type ResponseBodyTeam$Outbound = { - id: string; - name: string; - slug: string; - avatar?: string | undefined; -}; - -/** @internal */ -export const ResponseBodyTeam$outboundSchema: z.ZodType< - ResponseBodyTeam$Outbound, - z.ZodTypeDef, - ResponseBodyTeam -> = z.object({ - id: z.string(), - name: z.string(), - slug: z.string(), - avatar: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyTeam$ { - /** @deprecated use `ResponseBodyTeam$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyTeam$inboundSchema; - /** @deprecated use `ResponseBodyTeam$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyTeam$outboundSchema; - /** @deprecated use `ResponseBodyTeam$Outbound` instead. */ - export type Outbound = ResponseBodyTeam$Outbound; -} - -export function responseBodyTeamToJSON( - responseBodyTeam: ResponseBodyTeam, -): string { - return JSON.stringify( - ResponseBodyTeam$outboundSchema.parse(responseBodyTeam), - ); -} - -export function responseBodyTeamFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyTeam$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyTeam' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentCustomEnvironment2$inboundSchema: z.ZodType< - GetDeploymentCustomEnvironment2, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); - -/** @internal */ -export type GetDeploymentCustomEnvironment2$Outbound = { - id: string; -}; - -/** @internal */ -export const GetDeploymentCustomEnvironment2$outboundSchema: z.ZodType< - GetDeploymentCustomEnvironment2$Outbound, - z.ZodTypeDef, - GetDeploymentCustomEnvironment2 -> = z.object({ - id: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentCustomEnvironment2$ { - /** @deprecated use `GetDeploymentCustomEnvironment2$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentCustomEnvironment2$inboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironment2$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentCustomEnvironment2$outboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironment2$Outbound` instead. */ - export type Outbound = GetDeploymentCustomEnvironment2$Outbound; -} - -export function getDeploymentCustomEnvironment2ToJSON( - getDeploymentCustomEnvironment2: GetDeploymentCustomEnvironment2, -): string { - return JSON.stringify( - GetDeploymentCustomEnvironment2$outboundSchema.parse( - getDeploymentCustomEnvironment2, - ), - ); -} - -export function getDeploymentCustomEnvironment2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentCustomEnvironment2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentCustomEnvironment2' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentCustomEnvironment1$inboundSchema: z.ZodType< - GetDeploymentCustomEnvironment1, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type GetDeploymentCustomEnvironment1$Outbound = {}; - -/** @internal */ -export const GetDeploymentCustomEnvironment1$outboundSchema: z.ZodType< - GetDeploymentCustomEnvironment1$Outbound, - z.ZodTypeDef, - GetDeploymentCustomEnvironment1 -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentCustomEnvironment1$ { - /** @deprecated use `GetDeploymentCustomEnvironment1$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentCustomEnvironment1$inboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironment1$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentCustomEnvironment1$outboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironment1$Outbound` instead. */ - export type Outbound = GetDeploymentCustomEnvironment1$Outbound; -} - -export function getDeploymentCustomEnvironment1ToJSON( - getDeploymentCustomEnvironment1: GetDeploymentCustomEnvironment1, -): string { - return JSON.stringify( - GetDeploymentCustomEnvironment1$outboundSchema.parse( - getDeploymentCustomEnvironment1, - ), - ); -} - -export function getDeploymentCustomEnvironment1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentCustomEnvironment1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentCustomEnvironment1' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyCustomEnvironment$inboundSchema: z.ZodType< - ResponseBodyCustomEnvironment, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetDeploymentCustomEnvironment1$inboundSchema), - z.lazy(() => GetDeploymentCustomEnvironment2$inboundSchema), -]); - -/** @internal */ -export type ResponseBodyCustomEnvironment$Outbound = - | GetDeploymentCustomEnvironment1$Outbound - | GetDeploymentCustomEnvironment2$Outbound; - -/** @internal */ -export const ResponseBodyCustomEnvironment$outboundSchema: z.ZodType< - ResponseBodyCustomEnvironment$Outbound, - z.ZodTypeDef, - ResponseBodyCustomEnvironment -> = z.union([ - z.lazy(() => GetDeploymentCustomEnvironment1$outboundSchema), - z.lazy(() => GetDeploymentCustomEnvironment2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyCustomEnvironment$ { - /** @deprecated use `ResponseBodyCustomEnvironment$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyCustomEnvironment$inboundSchema; - /** @deprecated use `ResponseBodyCustomEnvironment$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyCustomEnvironment$outboundSchema; - /** @deprecated use `ResponseBodyCustomEnvironment$Outbound` instead. */ - export type Outbound = ResponseBodyCustomEnvironment$Outbound; -} - -export function responseBodyCustomEnvironmentToJSON( - responseBodyCustomEnvironment: ResponseBodyCustomEnvironment, -): string { - return JSON.stringify( - ResponseBodyCustomEnvironment$outboundSchema.parse( - responseBodyCustomEnvironment, - ), - ); -} - -export function responseBodyCustomEnvironmentFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyCustomEnvironment$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyCustomEnvironment' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyAliasWarning$inboundSchema: z.ZodType< - ResponseBodyAliasWarning, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), - link: z.string().optional(), - action: z.string().optional(), -}); - -/** @internal */ -export type ResponseBodyAliasWarning$Outbound = { - code: string; - message: string; - link?: string | undefined; - action?: string | undefined; -}; - -/** @internal */ -export const ResponseBodyAliasWarning$outboundSchema: z.ZodType< - ResponseBodyAliasWarning$Outbound, - z.ZodTypeDef, - ResponseBodyAliasWarning -> = z.object({ - code: z.string(), - message: z.string(), - link: z.string().optional(), - action: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyAliasWarning$ { - /** @deprecated use `ResponseBodyAliasWarning$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyAliasWarning$inboundSchema; - /** @deprecated use `ResponseBodyAliasWarning$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyAliasWarning$outboundSchema; - /** @deprecated use `ResponseBodyAliasWarning$Outbound` instead. */ - export type Outbound = ResponseBodyAliasWarning$Outbound; -} - -export function responseBodyAliasWarningToJSON( - responseBodyAliasWarning: ResponseBodyAliasWarning, -): string { - return JSON.stringify( - ResponseBodyAliasWarning$outboundSchema.parse(responseBodyAliasWarning), - ); -} - -export function responseBodyAliasWarningFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyAliasWarning$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyAliasWarning' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentResponseBodyType$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentResponseBodyType -> = z.nativeEnum(GetDeploymentResponseBodyType); - -/** @internal */ -export const GetDeploymentResponseBodyType$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentResponseBodyType -> = GetDeploymentResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyType$ { - /** @deprecated use `GetDeploymentResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentResponseBodyType$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentResponseBodyType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentResponseBodyReadyState$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentResponseBodyReadyState -> = z.nativeEnum(GetDeploymentResponseBodyReadyState); - -/** @internal */ -export const GetDeploymentResponseBodyReadyState$outboundSchema: - z.ZodNativeEnum = - GetDeploymentResponseBodyReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyReadyState$ { - /** @deprecated use `GetDeploymentResponseBodyReadyState$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentResponseBodyReadyState$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyReadyState$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentResponseBodyReadyState$outboundSchema; -} - -/** @internal */ -export const GetDeploymentResponseBodyAliasError$inboundSchema: z.ZodType< - GetDeploymentResponseBodyAliasError, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** @internal */ -export type GetDeploymentResponseBodyAliasError$Outbound = { - code: string; - message: string; -}; - -/** @internal */ -export const GetDeploymentResponseBodyAliasError$outboundSchema: z.ZodType< - GetDeploymentResponseBodyAliasError$Outbound, - z.ZodTypeDef, - GetDeploymentResponseBodyAliasError -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyAliasError$ { - /** @deprecated use `GetDeploymentResponseBodyAliasError$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentResponseBodyAliasError$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyAliasError$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentResponseBodyAliasError$outboundSchema; - /** @deprecated use `GetDeploymentResponseBodyAliasError$Outbound` instead. */ - export type Outbound = GetDeploymentResponseBodyAliasError$Outbound; -} - -export function getDeploymentResponseBodyAliasErrorToJSON( - getDeploymentResponseBodyAliasError: GetDeploymentResponseBodyAliasError, -): string { - return JSON.stringify( - GetDeploymentResponseBodyAliasError$outboundSchema.parse( - getDeploymentResponseBodyAliasError, - ), - ); -} - -export function getDeploymentResponseBodyAliasErrorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetDeploymentResponseBodyAliasError$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentResponseBodyAliasError' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentResponseBodyChecksState$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentResponseBodyChecksState, - ); - -/** @internal */ -export const GetDeploymentResponseBodyChecksState$outboundSchema: - z.ZodNativeEnum = - GetDeploymentResponseBodyChecksState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyChecksState$ { - /** @deprecated use `GetDeploymentResponseBodyChecksState$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentResponseBodyChecksState$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyChecksState$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentResponseBodyChecksState$outboundSchema; -} - -/** @internal */ -export const GetDeploymentResponseBodyChecksConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentResponseBodyChecksConclusion); - -/** @internal */ -export const GetDeploymentResponseBodyChecksConclusion$outboundSchema: - z.ZodNativeEnum = - GetDeploymentResponseBodyChecksConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyChecksConclusion$ { - /** @deprecated use `GetDeploymentResponseBodyChecksConclusion$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentResponseBodyChecksConclusion$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyChecksConclusion$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentResponseBodyChecksConclusion$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type, - ); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type - > = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSource9$inboundSchema: z.ZodType< - GetDeploymentGitSource9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema, - ref: z.string(), - sha: z.string(), - owner: z.string().optional(), - slug: z.string().optional(), - workspaceUuid: z.string(), - repoUuid: z.string(), -}); - -/** @internal */ -export type GetDeploymentGitSource9$Outbound = { - type: string; - ref: string; - sha: string; - owner?: string | undefined; - slug?: string | undefined; - workspaceUuid: string; - repoUuid: string; -}; - -/** @internal */ -export const GetDeploymentGitSource9$outboundSchema: z.ZodType< - GetDeploymentGitSource9$Outbound, - z.ZodTypeDef, - GetDeploymentGitSource9 -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema, - ref: z.string(), - sha: z.string(), - owner: z.string().optional(), - slug: z.string().optional(), - workspaceUuid: z.string(), - repoUuid: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSource9$ { - /** @deprecated use `GetDeploymentGitSource9$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSource9$inboundSchema; - /** @deprecated use `GetDeploymentGitSource9$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSource9$outboundSchema; - /** @deprecated use `GetDeploymentGitSource9$Outbound` instead. */ - export type Outbound = GetDeploymentGitSource9$Outbound; -} - -export function getDeploymentGitSource9ToJSON( - getDeploymentGitSource9: GetDeploymentGitSource9, -): string { - return JSON.stringify( - GetDeploymentGitSource9$outboundSchema.parse(getDeploymentGitSource9), - ); -} - -export function getDeploymentGitSource9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentGitSource9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSource9' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$inboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type, - ); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$outboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type - > = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSource8$inboundSchema: z.ZodType< - GetDeploymentGitSource8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$inboundSchema, - ref: z.string(), - sha: z.string(), - projectId: z.number(), -}); - -/** @internal */ -export type GetDeploymentGitSource8$Outbound = { - type: string; - ref: string; - sha: string; - projectId: number; -}; - -/** @internal */ -export const GetDeploymentGitSource8$outboundSchema: z.ZodType< - GetDeploymentGitSource8$Outbound, - z.ZodTypeDef, - GetDeploymentGitSource8 -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$outboundSchema, - ref: z.string(), - sha: z.string(), - projectId: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSource8$ { - /** @deprecated use `GetDeploymentGitSource8$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSource8$inboundSchema; - /** @deprecated use `GetDeploymentGitSource8$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSource8$outboundSchema; - /** @deprecated use `GetDeploymentGitSource8$Outbound` instead. */ - export type Outbound = GetDeploymentGitSource8$Outbound; -} - -export function getDeploymentGitSource8ToJSON( - getDeploymentGitSource8: GetDeploymentGitSource8, -): string { - return JSON.stringify( - GetDeploymentGitSource8$outboundSchema.parse(getDeploymentGitSource8), - ); -} - -export function getDeploymentGitSource8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentGitSource8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSource8' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$inboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type, - ); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$outboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type - > = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSource7$inboundSchema: z.ZodType< - GetDeploymentGitSource7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$inboundSchema, - ref: z.string(), - sha: z.string(), - repoId: z.number(), - org: z.string().optional(), - repo: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentGitSource7$Outbound = { - type: string; - ref: string; - sha: string; - repoId: number; - org?: string | undefined; - repo?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentGitSource7$outboundSchema: z.ZodType< - GetDeploymentGitSource7$Outbound, - z.ZodTypeDef, - GetDeploymentGitSource7 -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$outboundSchema, - ref: z.string(), - sha: z.string(), - repoId: z.number(), - org: z.string().optional(), - repo: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSource7$ { - /** @deprecated use `GetDeploymentGitSource7$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSource7$inboundSchema; - /** @deprecated use `GetDeploymentGitSource7$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSource7$outboundSchema; - /** @deprecated use `GetDeploymentGitSource7$Outbound` instead. */ - export type Outbound = GetDeploymentGitSource7$Outbound; -} - -export function getDeploymentGitSource7ToJSON( - getDeploymentGitSource7: GetDeploymentGitSource7, -): string { - return JSON.stringify( - GetDeploymentGitSource7$outboundSchema.parse(getDeploymentGitSource7), - ); -} - -export function getDeploymentGitSource7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentGitSource7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSource7' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$inboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type, - ); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$outboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type - > = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSource6$inboundSchema: z.ZodType< - GetDeploymentGitSource6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$inboundSchema, - ref: z.string(), - sha: z.string(), - gitUrl: z.string(), -}); - -/** @internal */ -export type GetDeploymentGitSource6$Outbound = { - type: string; - ref: string; - sha: string; - gitUrl: string; -}; - -/** @internal */ -export const GetDeploymentGitSource6$outboundSchema: z.ZodType< - GetDeploymentGitSource6$Outbound, - z.ZodTypeDef, - GetDeploymentGitSource6 -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$outboundSchema, - ref: z.string(), - sha: z.string(), - gitUrl: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSource6$ { - /** @deprecated use `GetDeploymentGitSource6$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSource6$inboundSchema; - /** @deprecated use `GetDeploymentGitSource6$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSource6$outboundSchema; - /** @deprecated use `GetDeploymentGitSource6$Outbound` instead. */ - export type Outbound = GetDeploymentGitSource6$Outbound; -} - -export function getDeploymentGitSource6ToJSON( - getDeploymentGitSource6: GetDeploymentGitSource6, -): string { - return JSON.stringify( - GetDeploymentGitSource6$outboundSchema.parse(getDeploymentGitSource6), - ); -} - -export function getDeploymentGitSource6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentGitSource6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSource6' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$inboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type, - ); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$outboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type - > = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSource5$inboundSchema: z.ZodType< - GetDeploymentGitSource5, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$inboundSchema, - owner: z.string(), - slug: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type GetDeploymentGitSource5$Outbound = { - type: string; - owner: string; - slug: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const GetDeploymentGitSource5$outboundSchema: z.ZodType< - GetDeploymentGitSource5$Outbound, - z.ZodTypeDef, - GetDeploymentGitSource5 -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$outboundSchema, - owner: z.string(), - slug: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSource5$ { - /** @deprecated use `GetDeploymentGitSource5$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSource5$inboundSchema; - /** @deprecated use `GetDeploymentGitSource5$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSource5$outboundSchema; - /** @deprecated use `GetDeploymentGitSource5$Outbound` instead. */ - export type Outbound = GetDeploymentGitSource5$Outbound; -} - -export function getDeploymentGitSource5ToJSON( - getDeploymentGitSource5: GetDeploymentGitSource5, -): string { - return JSON.stringify( - GetDeploymentGitSource5$outboundSchema.parse(getDeploymentGitSource5), - ); -} - -export function getDeploymentGitSource5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentGitSource5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSource5' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$inboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type, - ); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$outboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type - > = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSource4$inboundSchema: z.ZodType< - GetDeploymentGitSource4, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$inboundSchema, - workspaceUuid: z.string().optional(), - repoUuid: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type GetDeploymentGitSource4$Outbound = { - type: string; - workspaceUuid?: string | undefined; - repoUuid: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const GetDeploymentGitSource4$outboundSchema: z.ZodType< - GetDeploymentGitSource4$Outbound, - z.ZodTypeDef, - GetDeploymentGitSource4 -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$outboundSchema, - workspaceUuid: z.string().optional(), - repoUuid: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSource4$ { - /** @deprecated use `GetDeploymentGitSource4$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSource4$inboundSchema; - /** @deprecated use `GetDeploymentGitSource4$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSource4$outboundSchema; - /** @deprecated use `GetDeploymentGitSource4$Outbound` instead. */ - export type Outbound = GetDeploymentGitSource4$Outbound; -} - -export function getDeploymentGitSource4ToJSON( - getDeploymentGitSource4: GetDeploymentGitSource4, -): string { - return JSON.stringify( - GetDeploymentGitSource4$outboundSchema.parse(getDeploymentGitSource4), - ); -} - -export function getDeploymentGitSource4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentGitSource4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSource4' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$inboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type, - ); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$outboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type - > = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsProjectId$inboundSchema: - z.ZodType = - z.union([z.string(), z.number()]); - -/** @internal */ -export type GetDeploymentGitSourceDeploymentsProjectId$Outbound = - | string - | number; - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsProjectId$outboundSchema: - z.ZodType< - GetDeploymentGitSourceDeploymentsProjectId$Outbound, - z.ZodTypeDef, - GetDeploymentGitSourceDeploymentsProjectId - > = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsProjectId$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsProjectId$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsProjectId$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsProjectId$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsProjectId$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsProjectId$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeploymentsProjectId$Outbound; -} - -export function getDeploymentGitSourceDeploymentsProjectIdToJSON( - getDeploymentGitSourceDeploymentsProjectId: - GetDeploymentGitSourceDeploymentsProjectId, -): string { - return JSON.stringify( - GetDeploymentGitSourceDeploymentsProjectId$outboundSchema.parse( - getDeploymentGitSourceDeploymentsProjectId, - ), - ); -} - -export function getDeploymentGitSourceDeploymentsProjectIdFromJSON( - jsonString: string, -): SafeParseResult< - GetDeploymentGitSourceDeploymentsProjectId, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetDeploymentGitSourceDeploymentsProjectId$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetDeploymentGitSourceDeploymentsProjectId' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSource3$inboundSchema: z.ZodType< - GetDeploymentGitSource3, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$inboundSchema, - projectId: z.union([z.string(), z.number()]), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type GetDeploymentGitSource3$Outbound = { - type: string; - projectId: string | number; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const GetDeploymentGitSource3$outboundSchema: z.ZodType< - GetDeploymentGitSource3$Outbound, - z.ZodTypeDef, - GetDeploymentGitSource3 -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$outboundSchema, - projectId: z.union([z.string(), z.number()]), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSource3$ { - /** @deprecated use `GetDeploymentGitSource3$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSource3$inboundSchema; - /** @deprecated use `GetDeploymentGitSource3$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSource3$outboundSchema; - /** @deprecated use `GetDeploymentGitSource3$Outbound` instead. */ - export type Outbound = GetDeploymentGitSource3$Outbound; -} - -export function getDeploymentGitSource3ToJSON( - getDeploymentGitSource3: GetDeploymentGitSource3, -): string { - return JSON.stringify( - GetDeploymentGitSource3$outboundSchema.parse(getDeploymentGitSource3), - ); -} - -export function getDeploymentGitSource3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentGitSource3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSource3' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$inboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type, - ); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$outboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type - > = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSource2$inboundSchema: z.ZodType< - GetDeploymentGitSource2, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$inboundSchema, - org: z.string(), - repo: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type GetDeploymentGitSource2$Outbound = { - type: string; - org: string; - repo: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const GetDeploymentGitSource2$outboundSchema: z.ZodType< - GetDeploymentGitSource2$Outbound, - z.ZodTypeDef, - GetDeploymentGitSource2 -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$outboundSchema, - org: z.string(), - repo: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSource2$ { - /** @deprecated use `GetDeploymentGitSource2$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSource2$inboundSchema; - /** @deprecated use `GetDeploymentGitSource2$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSource2$outboundSchema; - /** @deprecated use `GetDeploymentGitSource2$Outbound` instead. */ - export type Outbound = GetDeploymentGitSource2$Outbound; -} - -export function getDeploymentGitSource2ToJSON( - getDeploymentGitSource2: GetDeploymentGitSource2, -): string { - return JSON.stringify( - GetDeploymentGitSource2$outboundSchema.parse(getDeploymentGitSource2), - ); -} - -export function getDeploymentGitSource2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentGitSource2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSource2' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type, - ); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$outboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type - > = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsRepoId$inboundSchema: z.ZodType< - GetDeploymentGitSourceDeploymentsRepoId, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number()]); - -/** @internal */ -export type GetDeploymentGitSourceDeploymentsRepoId$Outbound = string | number; - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsRepoId$outboundSchema: z.ZodType< - GetDeploymentGitSourceDeploymentsRepoId$Outbound, - z.ZodTypeDef, - GetDeploymentGitSourceDeploymentsRepoId -> = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsRepoId$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsRepoId$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsRepoId$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsRepoId$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsRepoId$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsRepoId$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeploymentsRepoId$Outbound; -} - -export function getDeploymentGitSourceDeploymentsRepoIdToJSON( - getDeploymentGitSourceDeploymentsRepoId: - GetDeploymentGitSourceDeploymentsRepoId, -): string { - return JSON.stringify( - GetDeploymentGitSourceDeploymentsRepoId$outboundSchema.parse( - getDeploymentGitSourceDeploymentsRepoId, - ), - ); -} - -export function getDeploymentGitSourceDeploymentsRepoIdFromJSON( - jsonString: string, -): SafeParseResult< - GetDeploymentGitSourceDeploymentsRepoId, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetDeploymentGitSourceDeploymentsRepoId$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetDeploymentGitSourceDeploymentsRepoId' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSource1$inboundSchema: z.ZodType< - GetDeploymentGitSource1, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema, - repoId: z.union([z.string(), z.number()]), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type GetDeploymentGitSource1$Outbound = { - type: string; - repoId: string | number; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const GetDeploymentGitSource1$outboundSchema: z.ZodType< - GetDeploymentGitSource1$Outbound, - z.ZodTypeDef, - GetDeploymentGitSource1 -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$outboundSchema, - repoId: z.union([z.string(), z.number()]), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSource1$ { - /** @deprecated use `GetDeploymentGitSource1$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSource1$inboundSchema; - /** @deprecated use `GetDeploymentGitSource1$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSource1$outboundSchema; - /** @deprecated use `GetDeploymentGitSource1$Outbound` instead. */ - export type Outbound = GetDeploymentGitSource1$Outbound; -} - -export function getDeploymentGitSource1ToJSON( - getDeploymentGitSource1: GetDeploymentGitSource1, -): string { - return JSON.stringify( - GetDeploymentGitSource1$outboundSchema.parse(getDeploymentGitSource1), - ); -} - -export function getDeploymentGitSource1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentGitSource1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSource1' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyGitSource$inboundSchema: z.ZodType< - ResponseBodyGitSource, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetDeploymentGitSource6$inboundSchema), - z.lazy(() => GetDeploymentGitSource8$inboundSchema), - z.lazy(() => GetDeploymentGitSource1$inboundSchema), - z.lazy(() => GetDeploymentGitSource3$inboundSchema), - z.lazy(() => GetDeploymentGitSource2$inboundSchema), - z.lazy(() => GetDeploymentGitSource4$inboundSchema), - z.lazy(() => GetDeploymentGitSource5$inboundSchema), - z.lazy(() => GetDeploymentGitSource7$inboundSchema), - z.lazy(() => GetDeploymentGitSource9$inboundSchema), -]); - -/** @internal */ -export type ResponseBodyGitSource$Outbound = - | GetDeploymentGitSource6$Outbound - | GetDeploymentGitSource8$Outbound - | GetDeploymentGitSource1$Outbound - | GetDeploymentGitSource3$Outbound - | GetDeploymentGitSource2$Outbound - | GetDeploymentGitSource4$Outbound - | GetDeploymentGitSource5$Outbound - | GetDeploymentGitSource7$Outbound - | GetDeploymentGitSource9$Outbound; - -/** @internal */ -export const ResponseBodyGitSource$outboundSchema: z.ZodType< - ResponseBodyGitSource$Outbound, - z.ZodTypeDef, - ResponseBodyGitSource -> = z.union([ - z.lazy(() => GetDeploymentGitSource6$outboundSchema), - z.lazy(() => GetDeploymentGitSource8$outboundSchema), - z.lazy(() => GetDeploymentGitSource1$outboundSchema), - z.lazy(() => GetDeploymentGitSource3$outboundSchema), - z.lazy(() => GetDeploymentGitSource2$outboundSchema), - z.lazy(() => GetDeploymentGitSource4$outboundSchema), - z.lazy(() => GetDeploymentGitSource5$outboundSchema), - z.lazy(() => GetDeploymentGitSource7$outboundSchema), - z.lazy(() => GetDeploymentGitSource9$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyGitSource$ { - /** @deprecated use `ResponseBodyGitSource$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyGitSource$inboundSchema; - /** @deprecated use `ResponseBodyGitSource$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyGitSource$outboundSchema; - /** @deprecated use `ResponseBodyGitSource$Outbound` instead. */ - export type Outbound = ResponseBodyGitSource$Outbound; -} - -export function responseBodyGitSourceToJSON( - responseBodyGitSource: ResponseBodyGitSource, -): string { - return JSON.stringify( - ResponseBodyGitSource$outboundSchema.parse(responseBodyGitSource), - ); -} - -export function responseBodyGitSourceFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyGitSource$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyGitSource' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentResponseBodyProject$inboundSchema: z.ZodType< - GetDeploymentResponseBodyProject, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string(), - framework: z.nullable(z.string()).optional(), -}); - -/** @internal */ -export type GetDeploymentResponseBodyProject$Outbound = { - id: string; - name: string; - framework?: string | null | undefined; -}; - -/** @internal */ -export const GetDeploymentResponseBodyProject$outboundSchema: z.ZodType< - GetDeploymentResponseBodyProject$Outbound, - z.ZodTypeDef, - GetDeploymentResponseBodyProject -> = z.object({ - id: z.string(), - name: z.string(), - framework: z.nullable(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyProject$ { - /** @deprecated use `GetDeploymentResponseBodyProject$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentResponseBodyProject$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyProject$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentResponseBodyProject$outboundSchema; - /** @deprecated use `GetDeploymentResponseBodyProject$Outbound` instead. */ - export type Outbound = GetDeploymentResponseBodyProject$Outbound; -} - -export function getDeploymentResponseBodyProjectToJSON( - getDeploymentResponseBodyProject: GetDeploymentResponseBodyProject, -): string { - return JSON.stringify( - GetDeploymentResponseBodyProject$outboundSchema.parse( - getDeploymentResponseBodyProject, - ), - ); -} - -export function getDeploymentResponseBodyProjectFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentResponseBodyProject$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentResponseBodyProject' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentResponseBodyReadySubstate$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentResponseBodyReadySubstate, - ); - -/** @internal */ -export const GetDeploymentResponseBodyReadySubstate$outboundSchema: - z.ZodNativeEnum = - GetDeploymentResponseBodyReadySubstate$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyReadySubstate$ { - /** @deprecated use `GetDeploymentResponseBodyReadySubstate$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentResponseBodyReadySubstate$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyReadySubstate$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentResponseBodyReadySubstate$outboundSchema; -} - -/** @internal */ -export const GetDeploymentResponseBodySource$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentResponseBodySource -> = z.nativeEnum(GetDeploymentResponseBodySource); - -/** @internal */ -export const GetDeploymentResponseBodySource$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentResponseBodySource -> = GetDeploymentResponseBodySource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodySource$ { - /** @deprecated use `GetDeploymentResponseBodySource$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentResponseBodySource$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodySource$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentResponseBodySource$outboundSchema; -} - -/** @internal */ -export const GetDeploymentResponseBodyTarget$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentResponseBodyTarget -> = z.nativeEnum(GetDeploymentResponseBodyTarget); - -/** @internal */ -export const GetDeploymentResponseBodyTarget$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentResponseBodyTarget -> = GetDeploymentResponseBodyTarget$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyTarget$ { - /** @deprecated use `GetDeploymentResponseBodyTarget$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentResponseBodyTarget$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyTarget$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentResponseBodyTarget$outboundSchema; -} - -/** @internal */ -export const GetDeploymentResponseBodyOidcTokenClaims$inboundSchema: z.ZodType< - GetDeploymentResponseBodyOidcTokenClaims, - z.ZodTypeDef, - unknown -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - owner_id: z.string(), - project: z.string(), - project_id: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); - -/** @internal */ -export type GetDeploymentResponseBodyOidcTokenClaims$Outbound = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - owner_id: string; - project: string; - project_id: string; - environment: string; -}; - -/** @internal */ -export const GetDeploymentResponseBodyOidcTokenClaims$outboundSchema: z.ZodType< - GetDeploymentResponseBodyOidcTokenClaims$Outbound, - z.ZodTypeDef, - GetDeploymentResponseBodyOidcTokenClaims -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - ownerId: z.string(), - project: z.string(), - projectId: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - ownerId: "owner_id", - projectId: "project_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyOidcTokenClaims$ { - /** @deprecated use `GetDeploymentResponseBodyOidcTokenClaims$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentResponseBodyOidcTokenClaims$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyOidcTokenClaims$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentResponseBodyOidcTokenClaims$outboundSchema; - /** @deprecated use `GetDeploymentResponseBodyOidcTokenClaims$Outbound` instead. */ - export type Outbound = GetDeploymentResponseBodyOidcTokenClaims$Outbound; -} - -export function getDeploymentResponseBodyOidcTokenClaimsToJSON( - getDeploymentResponseBodyOidcTokenClaims: - GetDeploymentResponseBodyOidcTokenClaims, -): string { - return JSON.stringify( - GetDeploymentResponseBodyOidcTokenClaims$outboundSchema.parse( - getDeploymentResponseBodyOidcTokenClaims, - ), - ); -} - -export function getDeploymentResponseBodyOidcTokenClaimsFromJSON( - jsonString: string, -): SafeParseResult< - GetDeploymentResponseBodyOidcTokenClaims, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetDeploymentResponseBodyOidcTokenClaims$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetDeploymentResponseBodyOidcTokenClaims' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentResponseBody2$inboundSchema: z.ZodType< - GetDeploymentResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - alias: z.array(z.string()).optional(), - aliasAssigned: z.boolean(), - bootedAt: z.number(), - buildingAt: z.number(), - buildSkipped: z.boolean(), - creator: z.lazy(() => GetDeploymentResponseBodyCreator$inboundSchema), - initReadyAt: z.number().optional(), - isFirstBranchDeployment: z.boolean().optional(), - lambdas: z.array(z.lazy(() => ResponseBodyLambdas$inboundSchema)).optional(), - public: z.boolean(), - ready: z.number().optional(), - status: GetDeploymentResponseBodyStatus$inboundSchema, - team: z.lazy(() => ResponseBodyTeam$inboundSchema).optional(), - userAliases: z.array(z.string()).optional(), - previewCommentsEnabled: z.boolean().optional(), - ttyBuildLogs: z.boolean().optional(), - customEnvironment: z.union([ - z.lazy(() => GetDeploymentCustomEnvironment1$inboundSchema), - z.lazy(() => GetDeploymentCustomEnvironment2$inboundSchema), - ]).optional(), - aliasWarning: z.nullable(z.lazy(() => ResponseBodyAliasWarning$inboundSchema)) - .optional(), - id: z.string(), - type: GetDeploymentResponseBodyType$inboundSchema, - createdAt: z.number(), - name: z.string(), - readyState: GetDeploymentResponseBodyReadyState$inboundSchema, - aliasError: z.nullable( - z.lazy(() => GetDeploymentResponseBodyAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(z.string()).optional(), - autoAssignCustomDomains: z.boolean().optional(), - automaticAliases: z.array(z.string()).optional(), - buildErrorAt: z.number().optional(), - checksState: GetDeploymentResponseBodyChecksState$inboundSchema.optional(), - checksConclusion: GetDeploymentResponseBodyChecksConclusion$inboundSchema - .optional(), - deletedAt: z.nullable(z.number()).optional(), - defaultRoute: z.string().optional(), - canceledAt: z.number().optional(), - errorCode: z.string().optional(), - errorLink: z.string().optional(), - errorMessage: z.nullable(z.string()).optional(), - errorStep: z.string().optional(), - passiveRegions: z.array(z.string()).optional(), - gitSource: z.union([ - z.lazy(() => GetDeploymentGitSource6$inboundSchema), - z.lazy(() => GetDeploymentGitSource8$inboundSchema), - z.lazy(() => GetDeploymentGitSource1$inboundSchema), - z.lazy(() => GetDeploymentGitSource3$inboundSchema), - z.lazy(() => GetDeploymentGitSource2$inboundSchema), - z.lazy(() => GetDeploymentGitSource4$inboundSchema), - z.lazy(() => GetDeploymentGitSource5$inboundSchema), - z.lazy(() => GetDeploymentGitSource7$inboundSchema), - z.lazy(() => GetDeploymentGitSource9$inboundSchema), - ]).optional(), - meta: z.record(z.string()), - project: z.lazy(() => GetDeploymentResponseBodyProject$inboundSchema) - .optional(), - readySubstate: GetDeploymentResponseBodyReadySubstate$inboundSchema - .optional(), - regions: z.array(z.string()), - softDeletedByRetention: z.boolean().optional(), - source: GetDeploymentResponseBodySource$inboundSchema.optional(), - target: z.nullable(GetDeploymentResponseBodyTarget$inboundSchema).optional(), - undeletedAt: z.number().optional(), - url: z.string(), - version: z.number(), - oidcTokenClaims: z.lazy(() => - GetDeploymentResponseBodyOidcTokenClaims$inboundSchema - ).optional(), -}); - -/** @internal */ -export type GetDeploymentResponseBody2$Outbound = { - alias?: Array | undefined; - aliasAssigned: boolean; - bootedAt: number; - buildingAt: number; - buildSkipped: boolean; - creator: GetDeploymentResponseBodyCreator$Outbound; - initReadyAt?: number | undefined; - isFirstBranchDeployment?: boolean | undefined; - lambdas?: Array | undefined; - public: boolean; - ready?: number | undefined; - status: string; - team?: ResponseBodyTeam$Outbound | undefined; - userAliases?: Array | undefined; - previewCommentsEnabled?: boolean | undefined; - ttyBuildLogs?: boolean | undefined; - customEnvironment?: - | GetDeploymentCustomEnvironment1$Outbound - | GetDeploymentCustomEnvironment2$Outbound - | undefined; - aliasWarning?: ResponseBodyAliasWarning$Outbound | null | undefined; - id: string; - type: string; - createdAt: number; - name: string; - readyState: string; - aliasError?: GetDeploymentResponseBodyAliasError$Outbound | null | undefined; - aliasFinal?: string | null | undefined; - autoAssignCustomDomains?: boolean | undefined; - automaticAliases?: Array | undefined; - buildErrorAt?: number | undefined; - checksState?: string | undefined; - checksConclusion?: string | undefined; - deletedAt?: number | null | undefined; - defaultRoute?: string | undefined; - canceledAt?: number | undefined; - errorCode?: string | undefined; - errorLink?: string | undefined; - errorMessage?: string | null | undefined; - errorStep?: string | undefined; - passiveRegions?: Array | undefined; - gitSource?: - | GetDeploymentGitSource6$Outbound - | GetDeploymentGitSource8$Outbound - | GetDeploymentGitSource1$Outbound - | GetDeploymentGitSource3$Outbound - | GetDeploymentGitSource2$Outbound - | GetDeploymentGitSource4$Outbound - | GetDeploymentGitSource5$Outbound - | GetDeploymentGitSource7$Outbound - | GetDeploymentGitSource9$Outbound - | undefined; - meta: { [k: string]: string }; - project?: GetDeploymentResponseBodyProject$Outbound | undefined; - readySubstate?: string | undefined; - regions: Array; - softDeletedByRetention?: boolean | undefined; - source?: string | undefined; - target?: string | null | undefined; - undeletedAt?: number | undefined; - url: string; - version: number; - oidcTokenClaims?: - | GetDeploymentResponseBodyOidcTokenClaims$Outbound - | undefined; -}; - -/** @internal */ -export const GetDeploymentResponseBody2$outboundSchema: z.ZodType< - GetDeploymentResponseBody2$Outbound, - z.ZodTypeDef, - GetDeploymentResponseBody2 -> = z.object({ - alias: z.array(z.string()).optional(), - aliasAssigned: z.boolean(), - bootedAt: z.number(), - buildingAt: z.number(), - buildSkipped: z.boolean(), - creator: z.lazy(() => GetDeploymentResponseBodyCreator$outboundSchema), - initReadyAt: z.number().optional(), - isFirstBranchDeployment: z.boolean().optional(), - lambdas: z.array(z.lazy(() => ResponseBodyLambdas$outboundSchema)).optional(), - public: z.boolean(), - ready: z.number().optional(), - status: GetDeploymentResponseBodyStatus$outboundSchema, - team: z.lazy(() => ResponseBodyTeam$outboundSchema).optional(), - userAliases: z.array(z.string()).optional(), - previewCommentsEnabled: z.boolean().optional(), - ttyBuildLogs: z.boolean().optional(), - customEnvironment: z.union([ - z.lazy(() => GetDeploymentCustomEnvironment1$outboundSchema), - z.lazy(() => GetDeploymentCustomEnvironment2$outboundSchema), - ]).optional(), - aliasWarning: z.nullable( - z.lazy(() => ResponseBodyAliasWarning$outboundSchema), - ).optional(), - id: z.string(), - type: GetDeploymentResponseBodyType$outboundSchema, - createdAt: z.number(), - name: z.string(), - readyState: GetDeploymentResponseBodyReadyState$outboundSchema, - aliasError: z.nullable( - z.lazy(() => GetDeploymentResponseBodyAliasError$outboundSchema), - ).optional(), - aliasFinal: z.nullable(z.string()).optional(), - autoAssignCustomDomains: z.boolean().optional(), - automaticAliases: z.array(z.string()).optional(), - buildErrorAt: z.number().optional(), - checksState: GetDeploymentResponseBodyChecksState$outboundSchema.optional(), - checksConclusion: GetDeploymentResponseBodyChecksConclusion$outboundSchema - .optional(), - deletedAt: z.nullable(z.number()).optional(), - defaultRoute: z.string().optional(), - canceledAt: z.number().optional(), - errorCode: z.string().optional(), - errorLink: z.string().optional(), - errorMessage: z.nullable(z.string()).optional(), - errorStep: z.string().optional(), - passiveRegions: z.array(z.string()).optional(), - gitSource: z.union([ - z.lazy(() => GetDeploymentGitSource6$outboundSchema), - z.lazy(() => GetDeploymentGitSource8$outboundSchema), - z.lazy(() => GetDeploymentGitSource1$outboundSchema), - z.lazy(() => GetDeploymentGitSource3$outboundSchema), - z.lazy(() => GetDeploymentGitSource2$outboundSchema), - z.lazy(() => GetDeploymentGitSource4$outboundSchema), - z.lazy(() => GetDeploymentGitSource5$outboundSchema), - z.lazy(() => GetDeploymentGitSource7$outboundSchema), - z.lazy(() => GetDeploymentGitSource9$outboundSchema), - ]).optional(), - meta: z.record(z.string()), - project: z.lazy(() => GetDeploymentResponseBodyProject$outboundSchema) - .optional(), - readySubstate: GetDeploymentResponseBodyReadySubstate$outboundSchema - .optional(), - regions: z.array(z.string()), - softDeletedByRetention: z.boolean().optional(), - source: GetDeploymentResponseBodySource$outboundSchema.optional(), - target: z.nullable(GetDeploymentResponseBodyTarget$outboundSchema).optional(), - undeletedAt: z.number().optional(), - url: z.string(), - version: z.number(), - oidcTokenClaims: z.lazy(() => - GetDeploymentResponseBodyOidcTokenClaims$outboundSchema - ).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBody2$ { - /** @deprecated use `GetDeploymentResponseBody2$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentResponseBody2$inboundSchema; - /** @deprecated use `GetDeploymentResponseBody2$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentResponseBody2$outboundSchema; - /** @deprecated use `GetDeploymentResponseBody2$Outbound` instead. */ - export type Outbound = GetDeploymentResponseBody2$Outbound; -} - -export function getDeploymentResponseBody2ToJSON( - getDeploymentResponseBody2: GetDeploymentResponseBody2, -): string { - return JSON.stringify( - GetDeploymentResponseBody2$outboundSchema.parse(getDeploymentResponseBody2), - ); -} - -export function getDeploymentResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyAliasAssignedAt$inboundSchema: z.ZodType< - ResponseBodyAliasAssignedAt, - z.ZodTypeDef, - unknown -> = z.union([z.number(), z.boolean()]); - -/** @internal */ -export type ResponseBodyAliasAssignedAt$Outbound = number | boolean; - -/** @internal */ -export const ResponseBodyAliasAssignedAt$outboundSchema: z.ZodType< - ResponseBodyAliasAssignedAt$Outbound, - z.ZodTypeDef, - ResponseBodyAliasAssignedAt -> = z.union([z.number(), z.boolean()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyAliasAssignedAt$ { - /** @deprecated use `ResponseBodyAliasAssignedAt$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyAliasAssignedAt$inboundSchema; - /** @deprecated use `ResponseBodyAliasAssignedAt$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyAliasAssignedAt$outboundSchema; - /** @deprecated use `ResponseBodyAliasAssignedAt$Outbound` instead. */ - export type Outbound = ResponseBodyAliasAssignedAt$Outbound; -} - -export function responseBodyAliasAssignedAtToJSON( - responseBodyAliasAssignedAt: ResponseBodyAliasAssignedAt, -): string { - return JSON.stringify( - ResponseBodyAliasAssignedAt$outboundSchema.parse( - responseBodyAliasAssignedAt, - ), - ); -} - -export function responseBodyAliasAssignedAtFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyAliasAssignedAt$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyAliasAssignedAt' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyBuild$inboundSchema: z.ZodType< - ResponseBodyBuild, - z.ZodTypeDef, - unknown -> = z.object({ - env: z.array(z.string()), -}); - -/** @internal */ -export type ResponseBodyBuild$Outbound = { - env: Array; -}; - -/** @internal */ -export const ResponseBodyBuild$outboundSchema: z.ZodType< - ResponseBodyBuild$Outbound, - z.ZodTypeDef, - ResponseBodyBuild -> = z.object({ - env: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyBuild$ { - /** @deprecated use `ResponseBodyBuild$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyBuild$inboundSchema; - /** @deprecated use `ResponseBodyBuild$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyBuild$outboundSchema; - /** @deprecated use `ResponseBodyBuild$Outbound` instead. */ - export type Outbound = ResponseBodyBuild$Outbound; -} - -export function responseBodyBuildToJSON( - responseBodyBuild: ResponseBodyBuild, -): string { - return JSON.stringify( - ResponseBodyBuild$outboundSchema.parse(responseBodyBuild), - ); -} - -export function responseBodyBuildFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyBuild$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyBuild' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyBuilds$inboundSchema: z.ZodType< - ResponseBodyBuilds, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type ResponseBodyBuilds$Outbound = {}; - -/** @internal */ -export const ResponseBodyBuilds$outboundSchema: z.ZodType< - ResponseBodyBuilds$Outbound, - z.ZodTypeDef, - ResponseBodyBuilds -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyBuilds$ { - /** @deprecated use `ResponseBodyBuilds$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyBuilds$inboundSchema; - /** @deprecated use `ResponseBodyBuilds$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyBuilds$outboundSchema; - /** @deprecated use `ResponseBodyBuilds$Outbound` instead. */ - export type Outbound = ResponseBodyBuilds$Outbound; -} - -export function responseBodyBuildsToJSON( - responseBodyBuilds: ResponseBodyBuilds, -): string { - return JSON.stringify( - ResponseBodyBuilds$outboundSchema.parse(responseBodyBuilds), - ); -} - -export function responseBodyBuildsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyBuilds$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyBuilds' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyFramework$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyFramework -> = z.nativeEnum(ResponseBodyFramework); - -/** @internal */ -export const ResponseBodyFramework$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyFramework -> = ResponseBodyFramework$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyFramework$ { - /** @deprecated use `ResponseBodyFramework$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyFramework$inboundSchema; - /** @deprecated use `ResponseBodyFramework$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyFramework$outboundSchema; -} - -/** @internal */ -export const ResponseBodySpeedInsights$inboundSchema: z.ZodType< - ResponseBodySpeedInsights, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - enabledAt: z.number().optional(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - hasData: z.boolean().optional(), - paidAt: z.number().optional(), -}); - -/** @internal */ -export type ResponseBodySpeedInsights$Outbound = { - id: string; - enabledAt?: number | undefined; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - hasData?: boolean | undefined; - paidAt?: number | undefined; -}; - -/** @internal */ -export const ResponseBodySpeedInsights$outboundSchema: z.ZodType< - ResponseBodySpeedInsights$Outbound, - z.ZodTypeDef, - ResponseBodySpeedInsights -> = z.object({ - id: z.string(), - enabledAt: z.number().optional(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - hasData: z.boolean().optional(), - paidAt: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodySpeedInsights$ { - /** @deprecated use `ResponseBodySpeedInsights$inboundSchema` instead. */ - export const inboundSchema = ResponseBodySpeedInsights$inboundSchema; - /** @deprecated use `ResponseBodySpeedInsights$outboundSchema` instead. */ - export const outboundSchema = ResponseBodySpeedInsights$outboundSchema; - /** @deprecated use `ResponseBodySpeedInsights$Outbound` instead. */ - export type Outbound = ResponseBodySpeedInsights$Outbound; -} - -export function responseBodySpeedInsightsToJSON( - responseBodySpeedInsights: ResponseBodySpeedInsights, -): string { - return JSON.stringify( - ResponseBodySpeedInsights$outboundSchema.parse(responseBodySpeedInsights), - ); -} - -export function responseBodySpeedInsightsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodySpeedInsights$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodySpeedInsights' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyWebAnalytics$inboundSchema: z.ZodType< - ResponseBodyWebAnalytics, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); - -/** @internal */ -export type ResponseBodyWebAnalytics$Outbound = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; -}; - -/** @internal */ -export const ResponseBodyWebAnalytics$outboundSchema: z.ZodType< - ResponseBodyWebAnalytics$Outbound, - z.ZodTypeDef, - ResponseBodyWebAnalytics -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyWebAnalytics$ { - /** @deprecated use `ResponseBodyWebAnalytics$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyWebAnalytics$inboundSchema; - /** @deprecated use `ResponseBodyWebAnalytics$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyWebAnalytics$outboundSchema; - /** @deprecated use `ResponseBodyWebAnalytics$Outbound` instead. */ - export type Outbound = ResponseBodyWebAnalytics$Outbound; -} - -export function responseBodyWebAnalyticsToJSON( - responseBodyWebAnalytics: ResponseBodyWebAnalytics, -): string { - return JSON.stringify( - ResponseBodyWebAnalytics$outboundSchema.parse(responseBodyWebAnalytics), - ); -} - -export function responseBodyWebAnalyticsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyWebAnalytics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyWebAnalytics' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyProjectSettings$inboundSchema: z.ZodType< - ResponseBodyProjectSettings, - z.ZodTypeDef, - unknown -> = z.object({ - buildCommand: z.nullable(z.string()).optional(), - devCommand: z.nullable(z.string()).optional(), - framework: z.nullable(ResponseBodyFramework$inboundSchema).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - installCommand: z.nullable(z.string()).optional(), - outputDirectory: z.nullable(z.string()).optional(), - speedInsights: z.lazy(() => ResponseBodySpeedInsights$inboundSchema) - .optional(), - webAnalytics: z.lazy(() => ResponseBodyWebAnalytics$inboundSchema).optional(), -}); - -/** @internal */ -export type ResponseBodyProjectSettings$Outbound = { - buildCommand?: string | null | undefined; - devCommand?: string | null | undefined; - framework?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - installCommand?: string | null | undefined; - outputDirectory?: string | null | undefined; - speedInsights?: ResponseBodySpeedInsights$Outbound | undefined; - webAnalytics?: ResponseBodyWebAnalytics$Outbound | undefined; -}; - -/** @internal */ -export const ResponseBodyProjectSettings$outboundSchema: z.ZodType< - ResponseBodyProjectSettings$Outbound, - z.ZodTypeDef, - ResponseBodyProjectSettings -> = z.object({ - buildCommand: z.nullable(z.string()).optional(), - devCommand: z.nullable(z.string()).optional(), - framework: z.nullable(ResponseBodyFramework$outboundSchema).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - installCommand: z.nullable(z.string()).optional(), - outputDirectory: z.nullable(z.string()).optional(), - speedInsights: z.lazy(() => ResponseBodySpeedInsights$outboundSchema) - .optional(), - webAnalytics: z.lazy(() => ResponseBodyWebAnalytics$outboundSchema) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyProjectSettings$ { - /** @deprecated use `ResponseBodyProjectSettings$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyProjectSettings$inboundSchema; - /** @deprecated use `ResponseBodyProjectSettings$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyProjectSettings$outboundSchema; - /** @deprecated use `ResponseBodyProjectSettings$Outbound` instead. */ - export type Outbound = ResponseBodyProjectSettings$Outbound; -} - -export function responseBodyProjectSettingsToJSON( - responseBodyProjectSettings: ResponseBodyProjectSettings, -): string { - return JSON.stringify( - ResponseBodyProjectSettings$outboundSchema.parse( - responseBodyProjectSettings, - ), - ); -} - -export function responseBodyProjectSettingsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyProjectSettings$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyProjectSettings' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentResponseBodyDeploymentsStatus$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentResponseBodyDeploymentsStatus); - -/** @internal */ -export const GetDeploymentResponseBodyDeploymentsStatus$outboundSchema: - z.ZodNativeEnum = - GetDeploymentResponseBodyDeploymentsStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyDeploymentsStatus$ { - /** @deprecated use `GetDeploymentResponseBodyDeploymentsStatus$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentResponseBodyDeploymentsStatus$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyDeploymentsStatus$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentResponseBodyDeploymentsStatus$outboundSchema; -} - -/** @internal */ -export const ResponseBodyIntegrations$inboundSchema: z.ZodType< - ResponseBodyIntegrations, - z.ZodTypeDef, - unknown -> = z.object({ - status: GetDeploymentResponseBodyDeploymentsStatus$inboundSchema, - startedAt: z.number(), - completedAt: z.number().optional(), - skippedAt: z.number().optional(), - skippedBy: z.string().optional(), -}); - -/** @internal */ -export type ResponseBodyIntegrations$Outbound = { - status: string; - startedAt: number; - completedAt?: number | undefined; - skippedAt?: number | undefined; - skippedBy?: string | undefined; -}; - -/** @internal */ -export const ResponseBodyIntegrations$outboundSchema: z.ZodType< - ResponseBodyIntegrations$Outbound, - z.ZodTypeDef, - ResponseBodyIntegrations -> = z.object({ - status: GetDeploymentResponseBodyDeploymentsStatus$outboundSchema, - startedAt: z.number(), - completedAt: z.number().optional(), - skippedAt: z.number().optional(), - skippedBy: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyIntegrations$ { - /** @deprecated use `ResponseBodyIntegrations$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyIntegrations$inboundSchema; - /** @deprecated use `ResponseBodyIntegrations$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyIntegrations$outboundSchema; - /** @deprecated use `ResponseBodyIntegrations$Outbound` instead. */ - export type Outbound = ResponseBodyIntegrations$Outbound; -} - -export function responseBodyIntegrationsToJSON( - responseBodyIntegrations: ResponseBodyIntegrations, -): string { - return JSON.stringify( - ResponseBodyIntegrations$outboundSchema.parse(responseBodyIntegrations), - ); -} - -export function responseBodyIntegrationsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyIntegrations$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyIntegrations' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyCreator$inboundSchema: z.ZodType< - ResponseBodyCreator, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - username: z.string().optional(), - avatar: z.string().optional(), -}); - -/** @internal */ -export type ResponseBodyCreator$Outbound = { - uid: string; - username?: string | undefined; - avatar?: string | undefined; -}; - -/** @internal */ -export const ResponseBodyCreator$outboundSchema: z.ZodType< - ResponseBodyCreator$Outbound, - z.ZodTypeDef, - ResponseBodyCreator -> = z.object({ - uid: z.string(), - username: z.string().optional(), - avatar: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyCreator$ { - /** @deprecated use `ResponseBodyCreator$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyCreator$inboundSchema; - /** @deprecated use `ResponseBodyCreator$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyCreator$outboundSchema; - /** @deprecated use `ResponseBodyCreator$Outbound` instead. */ - export type Outbound = ResponseBodyCreator$Outbound; -} - -export function responseBodyCreatorToJSON( - responseBodyCreator: ResponseBodyCreator, -): string { - return JSON.stringify( - ResponseBodyCreator$outboundSchema.parse(responseBodyCreator), - ); -} - -export function responseBodyCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyCreator' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentResponseBodyDeploymentsResponseReadyState - > = z.nativeEnum(GetDeploymentResponseBodyDeploymentsResponseReadyState); - -/** @internal */ -export const GetDeploymentResponseBodyDeploymentsResponseReadyState$outboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentResponseBodyDeploymentsResponseReadyState - > = GetDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyDeploymentsResponseReadyState$ { - /** @deprecated use `GetDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyDeploymentsResponseReadyState$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentResponseBodyDeploymentsResponseReadyState$outboundSchema; -} - -/** @internal */ -export const ResponseBodyOutput$inboundSchema: z.ZodType< - ResponseBodyOutput, - z.ZodTypeDef, - unknown -> = z.object({ - path: z.string(), - functionName: z.string(), -}); - -/** @internal */ -export type ResponseBodyOutput$Outbound = { - path: string; - functionName: string; -}; - -/** @internal */ -export const ResponseBodyOutput$outboundSchema: z.ZodType< - ResponseBodyOutput$Outbound, - z.ZodTypeDef, - ResponseBodyOutput -> = z.object({ - path: z.string(), - functionName: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyOutput$ { - /** @deprecated use `ResponseBodyOutput$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyOutput$inboundSchema; - /** @deprecated use `ResponseBodyOutput$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyOutput$outboundSchema; - /** @deprecated use `ResponseBodyOutput$Outbound` instead. */ - export type Outbound = ResponseBodyOutput$Outbound; -} - -export function responseBodyOutputToJSON( - responseBodyOutput: ResponseBodyOutput, -): string { - return JSON.stringify( - ResponseBodyOutput$outboundSchema.parse(responseBodyOutput), - ); -} - -export function responseBodyOutputFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyOutput$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyOutput' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentResponseBodyLambdas$inboundSchema: z.ZodType< - GetDeploymentResponseBodyLambdas, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - createdAt: z.number().optional(), - entrypoint: z.nullable(z.string()).optional(), - readyState: - GetDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema - .optional(), - readyStateAt: z.number().optional(), - output: z.array(z.lazy(() => ResponseBodyOutput$inboundSchema)), -}); - -/** @internal */ -export type GetDeploymentResponseBodyLambdas$Outbound = { - id?: string | undefined; - createdAt?: number | undefined; - entrypoint?: string | null | undefined; - readyState?: string | undefined; - readyStateAt?: number | undefined; - output: Array; -}; - -/** @internal */ -export const GetDeploymentResponseBodyLambdas$outboundSchema: z.ZodType< - GetDeploymentResponseBodyLambdas$Outbound, - z.ZodTypeDef, - GetDeploymentResponseBodyLambdas -> = z.object({ - id: z.string().optional(), - createdAt: z.number().optional(), - entrypoint: z.nullable(z.string()).optional(), - readyState: - GetDeploymentResponseBodyDeploymentsResponseReadyState$outboundSchema - .optional(), - readyStateAt: z.number().optional(), - output: z.array(z.lazy(() => ResponseBodyOutput$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyLambdas$ { - /** @deprecated use `GetDeploymentResponseBodyLambdas$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentResponseBodyLambdas$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyLambdas$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentResponseBodyLambdas$outboundSchema; - /** @deprecated use `GetDeploymentResponseBodyLambdas$Outbound` instead. */ - export type Outbound = GetDeploymentResponseBodyLambdas$Outbound; -} - -export function getDeploymentResponseBodyLambdasToJSON( - getDeploymentResponseBodyLambdas: GetDeploymentResponseBodyLambdas, -): string { - return JSON.stringify( - GetDeploymentResponseBodyLambdas$outboundSchema.parse( - getDeploymentResponseBodyLambdas, - ), - ); -} - -export function getDeploymentResponseBodyLambdasFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentResponseBodyLambdas$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentResponseBodyLambdas' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyStatus$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyStatus -> = z.nativeEnum(ResponseBodyStatus); - -/** @internal */ -export const ResponseBodyStatus$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyStatus -> = ResponseBodyStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyStatus$ { - /** @deprecated use `ResponseBodyStatus$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyStatus$inboundSchema; - /** @deprecated use `ResponseBodyStatus$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyStatus$outboundSchema; -} - -/** @internal */ -export const GetDeploymentResponseBodyTeam$inboundSchema: z.ZodType< - GetDeploymentResponseBodyTeam, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string(), - slug: z.string(), - avatar: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentResponseBodyTeam$Outbound = { - id: string; - name: string; - slug: string; - avatar?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentResponseBodyTeam$outboundSchema: z.ZodType< - GetDeploymentResponseBodyTeam$Outbound, - z.ZodTypeDef, - GetDeploymentResponseBodyTeam -> = z.object({ - id: z.string(), - name: z.string(), - slug: z.string(), - avatar: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyTeam$ { - /** @deprecated use `GetDeploymentResponseBodyTeam$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentResponseBodyTeam$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyTeam$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentResponseBodyTeam$outboundSchema; - /** @deprecated use `GetDeploymentResponseBodyTeam$Outbound` instead. */ - export type Outbound = GetDeploymentResponseBodyTeam$Outbound; -} - -export function getDeploymentResponseBodyTeamToJSON( - getDeploymentResponseBodyTeam: GetDeploymentResponseBodyTeam, -): string { - return JSON.stringify( - GetDeploymentResponseBodyTeam$outboundSchema.parse( - getDeploymentResponseBodyTeam, - ), - ); -} - -export function getDeploymentResponseBodyTeamFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentResponseBodyTeam$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentResponseBodyTeam' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentCustomEnvironmentDeployments2$inboundSchema: - z.ZodType = - z.object({ - id: z.string(), - }); - -/** @internal */ -export type GetDeploymentCustomEnvironmentDeployments2$Outbound = { - id: string; -}; - -/** @internal */ -export const GetDeploymentCustomEnvironmentDeployments2$outboundSchema: - z.ZodType< - GetDeploymentCustomEnvironmentDeployments2$Outbound, - z.ZodTypeDef, - GetDeploymentCustomEnvironmentDeployments2 - > = z.object({ - id: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentCustomEnvironmentDeployments2$ { - /** @deprecated use `GetDeploymentCustomEnvironmentDeployments2$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentCustomEnvironmentDeployments2$inboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentDeployments2$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentCustomEnvironmentDeployments2$outboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentDeployments2$Outbound` instead. */ - export type Outbound = GetDeploymentCustomEnvironmentDeployments2$Outbound; -} - -export function getDeploymentCustomEnvironmentDeployments2ToJSON( - getDeploymentCustomEnvironmentDeployments2: - GetDeploymentCustomEnvironmentDeployments2, -): string { - return JSON.stringify( - GetDeploymentCustomEnvironmentDeployments2$outboundSchema.parse( - getDeploymentCustomEnvironmentDeployments2, - ), - ); -} - -export function getDeploymentCustomEnvironmentDeployments2FromJSON( - jsonString: string, -): SafeParseResult< - GetDeploymentCustomEnvironmentDeployments2, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetDeploymentCustomEnvironmentDeployments2$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetDeploymentCustomEnvironmentDeployments2' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentCustomEnvironmentDeployments1$inboundSchema: - z.ZodType = - z.object({}); - -/** @internal */ -export type GetDeploymentCustomEnvironmentDeployments1$Outbound = {}; - -/** @internal */ -export const GetDeploymentCustomEnvironmentDeployments1$outboundSchema: - z.ZodType< - GetDeploymentCustomEnvironmentDeployments1$Outbound, - z.ZodTypeDef, - GetDeploymentCustomEnvironmentDeployments1 - > = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentCustomEnvironmentDeployments1$ { - /** @deprecated use `GetDeploymentCustomEnvironmentDeployments1$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentCustomEnvironmentDeployments1$inboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentDeployments1$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentCustomEnvironmentDeployments1$outboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentDeployments1$Outbound` instead. */ - export type Outbound = GetDeploymentCustomEnvironmentDeployments1$Outbound; -} - -export function getDeploymentCustomEnvironmentDeployments1ToJSON( - getDeploymentCustomEnvironmentDeployments1: - GetDeploymentCustomEnvironmentDeployments1, -): string { - return JSON.stringify( - GetDeploymentCustomEnvironmentDeployments1$outboundSchema.parse( - getDeploymentCustomEnvironmentDeployments1, - ), - ); -} - -export function getDeploymentCustomEnvironmentDeployments1FromJSON( - jsonString: string, -): SafeParseResult< - GetDeploymentCustomEnvironmentDeployments1, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetDeploymentCustomEnvironmentDeployments1$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetDeploymentCustomEnvironmentDeployments1' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentResponseBodyCustomEnvironment$inboundSchema: - z.ZodType = - z.union([ - z.lazy(() => GetDeploymentCustomEnvironmentDeployments1$inboundSchema), - z.lazy(() => GetDeploymentCustomEnvironmentDeployments2$inboundSchema), - ]); - -/** @internal */ -export type GetDeploymentResponseBodyCustomEnvironment$Outbound = - | GetDeploymentCustomEnvironmentDeployments1$Outbound - | GetDeploymentCustomEnvironmentDeployments2$Outbound; - -/** @internal */ -export const GetDeploymentResponseBodyCustomEnvironment$outboundSchema: - z.ZodType< - GetDeploymentResponseBodyCustomEnvironment$Outbound, - z.ZodTypeDef, - GetDeploymentResponseBodyCustomEnvironment - > = z.union([ - z.lazy(() => GetDeploymentCustomEnvironmentDeployments1$outboundSchema), - z.lazy(() => GetDeploymentCustomEnvironmentDeployments2$outboundSchema), - ]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyCustomEnvironment$ { - /** @deprecated use `GetDeploymentResponseBodyCustomEnvironment$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentResponseBodyCustomEnvironment$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyCustomEnvironment$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentResponseBodyCustomEnvironment$outboundSchema; - /** @deprecated use `GetDeploymentResponseBodyCustomEnvironment$Outbound` instead. */ - export type Outbound = GetDeploymentResponseBodyCustomEnvironment$Outbound; -} - -export function getDeploymentResponseBodyCustomEnvironmentToJSON( - getDeploymentResponseBodyCustomEnvironment: - GetDeploymentResponseBodyCustomEnvironment, -): string { - return JSON.stringify( - GetDeploymentResponseBodyCustomEnvironment$outboundSchema.parse( - getDeploymentResponseBodyCustomEnvironment, - ), - ); -} - -export function getDeploymentResponseBodyCustomEnvironmentFromJSON( - jsonString: string, -): SafeParseResult< - GetDeploymentResponseBodyCustomEnvironment, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetDeploymentResponseBodyCustomEnvironment$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetDeploymentResponseBodyCustomEnvironment' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentResponseBodyAliasWarning$inboundSchema: z.ZodType< - GetDeploymentResponseBodyAliasWarning, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), - link: z.string().optional(), - action: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentResponseBodyAliasWarning$Outbound = { - code: string; - message: string; - link?: string | undefined; - action?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentResponseBodyAliasWarning$outboundSchema: z.ZodType< - GetDeploymentResponseBodyAliasWarning$Outbound, - z.ZodTypeDef, - GetDeploymentResponseBodyAliasWarning -> = z.object({ - code: z.string(), - message: z.string(), - link: z.string().optional(), - action: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyAliasWarning$ { - /** @deprecated use `GetDeploymentResponseBodyAliasWarning$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentResponseBodyAliasWarning$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyAliasWarning$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentResponseBodyAliasWarning$outboundSchema; - /** @deprecated use `GetDeploymentResponseBodyAliasWarning$Outbound` instead. */ - export type Outbound = GetDeploymentResponseBodyAliasWarning$Outbound; -} - -export function getDeploymentResponseBodyAliasWarningToJSON( - getDeploymentResponseBodyAliasWarning: GetDeploymentResponseBodyAliasWarning, -): string { - return JSON.stringify( - GetDeploymentResponseBodyAliasWarning$outboundSchema.parse( - getDeploymentResponseBodyAliasWarning, - ), - ); -} - -export function getDeploymentResponseBodyAliasWarningFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetDeploymentResponseBodyAliasWarning$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentResponseBodyAliasWarning' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyType$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyType -> = z.nativeEnum(ResponseBodyType); - -/** @internal */ -export const ResponseBodyType$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyType -> = ResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyType$ { - /** @deprecated use `ResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyType$inboundSchema; - /** @deprecated use `ResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyType$outboundSchema; -} - -/** @internal */ -export const ResponseBodyReadyState$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyReadyState -> = z.nativeEnum(ResponseBodyReadyState); - -/** @internal */ -export const ResponseBodyReadyState$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyReadyState -> = ResponseBodyReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyReadyState$ { - /** @deprecated use `ResponseBodyReadyState$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyReadyState$inboundSchema; - /** @deprecated use `ResponseBodyReadyState$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyReadyState$outboundSchema; -} - -/** @internal */ -export const ResponseBodyAliasError$inboundSchema: z.ZodType< - ResponseBodyAliasError, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** @internal */ -export type ResponseBodyAliasError$Outbound = { - code: string; - message: string; -}; - -/** @internal */ -export const ResponseBodyAliasError$outboundSchema: z.ZodType< - ResponseBodyAliasError$Outbound, - z.ZodTypeDef, - ResponseBodyAliasError -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyAliasError$ { - /** @deprecated use `ResponseBodyAliasError$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyAliasError$inboundSchema; - /** @deprecated use `ResponseBodyAliasError$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyAliasError$outboundSchema; - /** @deprecated use `ResponseBodyAliasError$Outbound` instead. */ - export type Outbound = ResponseBodyAliasError$Outbound; -} - -export function responseBodyAliasErrorToJSON( - responseBodyAliasError: ResponseBodyAliasError, -): string { - return JSON.stringify( - ResponseBodyAliasError$outboundSchema.parse(responseBodyAliasError), - ); -} - -export function responseBodyAliasErrorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyAliasError$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyAliasError' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyChecksState$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyChecksState -> = z.nativeEnum(ResponseBodyChecksState); - -/** @internal */ -export const ResponseBodyChecksState$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyChecksState -> = ResponseBodyChecksState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyChecksState$ { - /** @deprecated use `ResponseBodyChecksState$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyChecksState$inboundSchema; - /** @deprecated use `ResponseBodyChecksState$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyChecksState$outboundSchema; -} - -/** @internal */ -export const ResponseBodyChecksConclusion$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyChecksConclusion -> = z.nativeEnum(ResponseBodyChecksConclusion); - -/** @internal */ -export const ResponseBodyChecksConclusion$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyChecksConclusion -> = ResponseBodyChecksConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyChecksConclusion$ { - /** @deprecated use `ResponseBodyChecksConclusion$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyChecksConclusion$inboundSchema; - /** @deprecated use `ResponseBodyChecksConclusion$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyChecksConclusion$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type, - ); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$outboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type - > = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSourceDeployments9$inboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema, - ref: z.string(), - sha: z.string(), - owner: z.string().optional(), - slug: z.string().optional(), - workspaceUuid: z.string(), - repoUuid: z.string(), -}); - -/** @internal */ -export type GetDeploymentGitSourceDeployments9$Outbound = { - type: string; - ref: string; - sha: string; - owner?: string | undefined; - slug?: string | undefined; - workspaceUuid: string; - repoUuid: string; -}; - -/** @internal */ -export const GetDeploymentGitSourceDeployments9$outboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments9$Outbound, - z.ZodTypeDef, - GetDeploymentGitSourceDeployments9 -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$outboundSchema, - ref: z.string(), - sha: z.string(), - owner: z.string().optional(), - slug: z.string().optional(), - workspaceUuid: z.string(), - repoUuid: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeployments9$ { - /** @deprecated use `GetDeploymentGitSourceDeployments9$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSourceDeployments9$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments9$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeployments9$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments9$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeployments9$Outbound; -} - -export function getDeploymentGitSourceDeployments9ToJSON( - getDeploymentGitSourceDeployments9: GetDeploymentGitSourceDeployments9, -): string { - return JSON.stringify( - GetDeploymentGitSourceDeployments9$outboundSchema.parse( - getDeploymentGitSourceDeployments9, - ), - ); -} - -export function getDeploymentGitSourceDeployments9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetDeploymentGitSourceDeployments9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSourceDeployments9' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$inboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type, - ); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$outboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type - > = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSourceDeployments8$inboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$inboundSchema, - ref: z.string(), - sha: z.string(), - projectId: z.number(), -}); - -/** @internal */ -export type GetDeploymentGitSourceDeployments8$Outbound = { - type: string; - ref: string; - sha: string; - projectId: number; -}; - -/** @internal */ -export const GetDeploymentGitSourceDeployments8$outboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments8$Outbound, - z.ZodTypeDef, - GetDeploymentGitSourceDeployments8 -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$outboundSchema, - ref: z.string(), - sha: z.string(), - projectId: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeployments8$ { - /** @deprecated use `GetDeploymentGitSourceDeployments8$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSourceDeployments8$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments8$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeployments8$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments8$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeployments8$Outbound; -} - -export function getDeploymentGitSourceDeployments8ToJSON( - getDeploymentGitSourceDeployments8: GetDeploymentGitSourceDeployments8, -): string { - return JSON.stringify( - GetDeploymentGitSourceDeployments8$outboundSchema.parse( - getDeploymentGitSourceDeployments8, - ), - ); -} - -export function getDeploymentGitSourceDeployments8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetDeploymentGitSourceDeployments8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSourceDeployments8' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType, - ); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType - > = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSourceDeployments7$inboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, - ref: z.string(), - sha: z.string(), - repoId: z.number(), - org: z.string().optional(), - repo: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentGitSourceDeployments7$Outbound = { - type: string; - ref: string; - sha: string; - repoId: number; - org?: string | undefined; - repo?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentGitSourceDeployments7$outboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments7$Outbound, - z.ZodTypeDef, - GetDeploymentGitSourceDeployments7 -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema, - ref: z.string(), - sha: z.string(), - repoId: z.number(), - org: z.string().optional(), - repo: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeployments7$ { - /** @deprecated use `GetDeploymentGitSourceDeployments7$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSourceDeployments7$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments7$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeployments7$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments7$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeployments7$Outbound; -} - -export function getDeploymentGitSourceDeployments7ToJSON( - getDeploymentGitSourceDeployments7: GetDeploymentGitSourceDeployments7, -): string { - return JSON.stringify( - GetDeploymentGitSourceDeployments7$outboundSchema.parse( - getDeploymentGitSourceDeployments7, - ), - ); -} - -export function getDeploymentGitSourceDeployments7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetDeploymentGitSourceDeployments7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSourceDeployments7' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType, - ); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType - > = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSourceDeployments6$inboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema, - ref: z.string(), - sha: z.string(), - gitUrl: z.string(), -}); - -/** @internal */ -export type GetDeploymentGitSourceDeployments6$Outbound = { - type: string; - ref: string; - sha: string; - gitUrl: string; -}; - -/** @internal */ -export const GetDeploymentGitSourceDeployments6$outboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments6$Outbound, - z.ZodTypeDef, - GetDeploymentGitSourceDeployments6 -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema, - ref: z.string(), - sha: z.string(), - gitUrl: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeployments6$ { - /** @deprecated use `GetDeploymentGitSourceDeployments6$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSourceDeployments6$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments6$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeployments6$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments6$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeployments6$Outbound; -} - -export function getDeploymentGitSourceDeployments6ToJSON( - getDeploymentGitSourceDeployments6: GetDeploymentGitSourceDeployments6, -): string { - return JSON.stringify( - GetDeploymentGitSourceDeployments6$outboundSchema.parse( - getDeploymentGitSourceDeployments6, - ), - ); -} - -export function getDeploymentGitSourceDeployments6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetDeploymentGitSourceDeployments6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSourceDeployments6' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentGitSourceDeploymentsResponse200Type); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200Type$outboundSchema: - z.ZodNativeEnum = - GetDeploymentGitSourceDeploymentsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200Type$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSourceDeployments5$inboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments5, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetDeploymentGitSourceDeploymentsResponse200Type$inboundSchema, - owner: z.string(), - slug: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type GetDeploymentGitSourceDeployments5$Outbound = { - type: string; - owner: string; - slug: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const GetDeploymentGitSourceDeployments5$outboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments5$Outbound, - z.ZodTypeDef, - GetDeploymentGitSourceDeployments5 -> = z.object({ - type: GetDeploymentGitSourceDeploymentsResponse200Type$outboundSchema, - owner: z.string(), - slug: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeployments5$ { - /** @deprecated use `GetDeploymentGitSourceDeployments5$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSourceDeployments5$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments5$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeployments5$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments5$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeployments5$Outbound; -} - -export function getDeploymentGitSourceDeployments5ToJSON( - getDeploymentGitSourceDeployments5: GetDeploymentGitSourceDeployments5, -): string { - return JSON.stringify( - GetDeploymentGitSourceDeployments5$outboundSchema.parse( - getDeploymentGitSourceDeployments5, - ), - ); -} - -export function getDeploymentGitSourceDeployments5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetDeploymentGitSourceDeployments5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSourceDeployments5' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentGitSourceDeploymentsResponseType); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponseType$outboundSchema: - z.ZodNativeEnum = - GetDeploymentGitSourceDeploymentsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponseType$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponseType$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponseType$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponseType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponseType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSourceDeployments4$inboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments4, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetDeploymentGitSourceDeploymentsResponseType$inboundSchema, - workspaceUuid: z.string().optional(), - repoUuid: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type GetDeploymentGitSourceDeployments4$Outbound = { - type: string; - workspaceUuid?: string | undefined; - repoUuid: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const GetDeploymentGitSourceDeployments4$outboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments4$Outbound, - z.ZodTypeDef, - GetDeploymentGitSourceDeployments4 -> = z.object({ - type: GetDeploymentGitSourceDeploymentsResponseType$outboundSchema, - workspaceUuid: z.string().optional(), - repoUuid: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeployments4$ { - /** @deprecated use `GetDeploymentGitSourceDeployments4$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSourceDeployments4$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments4$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeployments4$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments4$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeployments4$Outbound; -} - -export function getDeploymentGitSourceDeployments4ToJSON( - getDeploymentGitSourceDeployments4: GetDeploymentGitSourceDeployments4, -): string { - return JSON.stringify( - GetDeploymentGitSourceDeployments4$outboundSchema.parse( - getDeploymentGitSourceDeployments4, - ), - ); -} - -export function getDeploymentGitSourceDeployments4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetDeploymentGitSourceDeployments4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSourceDeployments4' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentGitSourceDeploymentsType, - ); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsType$outboundSchema: - z.ZodNativeEnum = - GetDeploymentGitSourceDeploymentsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsType$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsType$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSourceProjectId$inboundSchema: z.ZodType< - GetDeploymentGitSourceProjectId, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number()]); - -/** @internal */ -export type GetDeploymentGitSourceProjectId$Outbound = string | number; - -/** @internal */ -export const GetDeploymentGitSourceProjectId$outboundSchema: z.ZodType< - GetDeploymentGitSourceProjectId$Outbound, - z.ZodTypeDef, - GetDeploymentGitSourceProjectId -> = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceProjectId$ { - /** @deprecated use `GetDeploymentGitSourceProjectId$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSourceProjectId$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceProjectId$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSourceProjectId$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceProjectId$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceProjectId$Outbound; -} - -export function getDeploymentGitSourceProjectIdToJSON( - getDeploymentGitSourceProjectId: GetDeploymentGitSourceProjectId, -): string { - return JSON.stringify( - GetDeploymentGitSourceProjectId$outboundSchema.parse( - getDeploymentGitSourceProjectId, - ), - ); -} - -export function getDeploymentGitSourceProjectIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentGitSourceProjectId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSourceProjectId' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeployments3$inboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments3, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetDeploymentGitSourceDeploymentsType$inboundSchema, - projectId: z.union([z.string(), z.number()]), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type GetDeploymentGitSourceDeployments3$Outbound = { - type: string; - projectId: string | number; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const GetDeploymentGitSourceDeployments3$outboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments3$Outbound, - z.ZodTypeDef, - GetDeploymentGitSourceDeployments3 -> = z.object({ - type: GetDeploymentGitSourceDeploymentsType$outboundSchema, - projectId: z.union([z.string(), z.number()]), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeployments3$ { - /** @deprecated use `GetDeploymentGitSourceDeployments3$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSourceDeployments3$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments3$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeployments3$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments3$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeployments3$Outbound; -} - -export function getDeploymentGitSourceDeployments3ToJSON( - getDeploymentGitSourceDeployments3: GetDeploymentGitSourceDeployments3, -): string { - return JSON.stringify( - GetDeploymentGitSourceDeployments3$outboundSchema.parse( - getDeploymentGitSourceDeployments3, - ), - ); -} - -export function getDeploymentGitSourceDeployments3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetDeploymentGitSourceDeployments3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSourceDeployments3' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceType$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentGitSourceType -> = z.nativeEnum(GetDeploymentGitSourceType); - -/** @internal */ -export const GetDeploymentGitSourceType$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentGitSourceType -> = GetDeploymentGitSourceType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceType$ { - /** @deprecated use `GetDeploymentGitSourceType$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSourceType$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceType$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSourceType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSourceDeployments2$inboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments2, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetDeploymentGitSourceType$inboundSchema, - org: z.string(), - repo: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type GetDeploymentGitSourceDeployments2$Outbound = { - type: string; - org: string; - repo: string; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const GetDeploymentGitSourceDeployments2$outboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments2$Outbound, - z.ZodTypeDef, - GetDeploymentGitSourceDeployments2 -> = z.object({ - type: GetDeploymentGitSourceType$outboundSchema, - org: z.string(), - repo: z.string(), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeployments2$ { - /** @deprecated use `GetDeploymentGitSourceDeployments2$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSourceDeployments2$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments2$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeployments2$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments2$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeployments2$Outbound; -} - -export function getDeploymentGitSourceDeployments2ToJSON( - getDeploymentGitSourceDeployments2: GetDeploymentGitSourceDeployments2, -): string { - return JSON.stringify( - GetDeploymentGitSourceDeployments2$outboundSchema.parse( - getDeploymentGitSourceDeployments2, - ), - ); -} - -export function getDeploymentGitSourceDeployments2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetDeploymentGitSourceDeployments2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSourceDeployments2' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type, - ); - -/** @internal */ -export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema: - z.ZodNativeEnum< - typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type - > = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitSourceRepoId$inboundSchema: z.ZodType< - GetDeploymentGitSourceRepoId, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number()]); - -/** @internal */ -export type GetDeploymentGitSourceRepoId$Outbound = string | number; - -/** @internal */ -export const GetDeploymentGitSourceRepoId$outboundSchema: z.ZodType< - GetDeploymentGitSourceRepoId$Outbound, - z.ZodTypeDef, - GetDeploymentGitSourceRepoId -> = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceRepoId$ { - /** @deprecated use `GetDeploymentGitSourceRepoId$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSourceRepoId$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceRepoId$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSourceRepoId$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceRepoId$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceRepoId$Outbound; -} - -export function getDeploymentGitSourceRepoIdToJSON( - getDeploymentGitSourceRepoId: GetDeploymentGitSourceRepoId, -): string { - return JSON.stringify( - GetDeploymentGitSourceRepoId$outboundSchema.parse( - getDeploymentGitSourceRepoId, - ), - ); -} - -export function getDeploymentGitSourceRepoIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentGitSourceRepoId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSourceRepoId' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitSourceDeployments1$inboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments1, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema, - repoId: z.union([z.string(), z.number()]), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type GetDeploymentGitSourceDeployments1$Outbound = { - type: string; - repoId: string | number; - ref?: string | null | undefined; - sha?: string | undefined; - prId?: number | null | undefined; -}; - -/** @internal */ -export const GetDeploymentGitSourceDeployments1$outboundSchema: z.ZodType< - GetDeploymentGitSourceDeployments1$Outbound, - z.ZodTypeDef, - GetDeploymentGitSourceDeployments1 -> = z.object({ - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema, - repoId: z.union([z.string(), z.number()]), - ref: z.nullable(z.string()).optional(), - sha: z.string().optional(), - prId: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeployments1$ { - /** @deprecated use `GetDeploymentGitSourceDeployments1$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSourceDeployments1$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments1$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeployments1$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments1$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeployments1$Outbound; -} - -export function getDeploymentGitSourceDeployments1ToJSON( - getDeploymentGitSourceDeployments1: GetDeploymentGitSourceDeployments1, -): string { - return JSON.stringify( - GetDeploymentGitSourceDeployments1$outboundSchema.parse( - getDeploymentGitSourceDeployments1, - ), - ); -} - -export function getDeploymentGitSourceDeployments1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetDeploymentGitSourceDeployments1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitSourceDeployments1' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentResponseBodyGitSource$inboundSchema: z.ZodType< - GetDeploymentResponseBodyGitSource, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetDeploymentGitSourceDeployments6$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments8$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments1$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments3$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments2$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments4$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments5$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments7$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments9$inboundSchema), -]); - -/** @internal */ -export type GetDeploymentResponseBodyGitSource$Outbound = - | GetDeploymentGitSourceDeployments6$Outbound - | GetDeploymentGitSourceDeployments8$Outbound - | GetDeploymentGitSourceDeployments1$Outbound - | GetDeploymentGitSourceDeployments3$Outbound - | GetDeploymentGitSourceDeployments2$Outbound - | GetDeploymentGitSourceDeployments4$Outbound - | GetDeploymentGitSourceDeployments5$Outbound - | GetDeploymentGitSourceDeployments7$Outbound - | GetDeploymentGitSourceDeployments9$Outbound; - -/** @internal */ -export const GetDeploymentResponseBodyGitSource$outboundSchema: z.ZodType< - GetDeploymentResponseBodyGitSource$Outbound, - z.ZodTypeDef, - GetDeploymentResponseBodyGitSource -> = z.union([ - z.lazy(() => GetDeploymentGitSourceDeployments6$outboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments8$outboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments1$outboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments3$outboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments2$outboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments4$outboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments5$outboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments7$outboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments9$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyGitSource$ { - /** @deprecated use `GetDeploymentResponseBodyGitSource$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentResponseBodyGitSource$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyGitSource$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentResponseBodyGitSource$outboundSchema; - /** @deprecated use `GetDeploymentResponseBodyGitSource$Outbound` instead. */ - export type Outbound = GetDeploymentResponseBodyGitSource$Outbound; -} - -export function getDeploymentResponseBodyGitSourceToJSON( - getDeploymentResponseBodyGitSource: GetDeploymentResponseBodyGitSource, -): string { - return JSON.stringify( - GetDeploymentResponseBodyGitSource$outboundSchema.parse( - getDeploymentResponseBodyGitSource, - ), - ); -} - -export function getDeploymentResponseBodyGitSourceFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetDeploymentResponseBodyGitSource$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentResponseBodyGitSource' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyProject$inboundSchema: z.ZodType< - ResponseBodyProject, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string(), - framework: z.nullable(z.string()).optional(), -}); - -/** @internal */ -export type ResponseBodyProject$Outbound = { - id: string; - name: string; - framework?: string | null | undefined; -}; - -/** @internal */ -export const ResponseBodyProject$outboundSchema: z.ZodType< - ResponseBodyProject$Outbound, - z.ZodTypeDef, - ResponseBodyProject -> = z.object({ - id: z.string(), - name: z.string(), - framework: z.nullable(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyProject$ { - /** @deprecated use `ResponseBodyProject$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyProject$inboundSchema; - /** @deprecated use `ResponseBodyProject$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyProject$outboundSchema; - /** @deprecated use `ResponseBodyProject$Outbound` instead. */ - export type Outbound = ResponseBodyProject$Outbound; -} - -export function responseBodyProjectToJSON( - responseBodyProject: ResponseBodyProject, -): string { - return JSON.stringify( - ResponseBodyProject$outboundSchema.parse(responseBodyProject), - ); -} - -export function responseBodyProjectFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyProject$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyProject' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyReadySubstate$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyReadySubstate -> = z.nativeEnum(ResponseBodyReadySubstate); - -/** @internal */ -export const ResponseBodyReadySubstate$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyReadySubstate -> = ResponseBodyReadySubstate$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyReadySubstate$ { - /** @deprecated use `ResponseBodyReadySubstate$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyReadySubstate$inboundSchema; - /** @deprecated use `ResponseBodyReadySubstate$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyReadySubstate$outboundSchema; -} - -/** @internal */ -export const ResponseBodySource$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodySource -> = z.nativeEnum(ResponseBodySource); - -/** @internal */ -export const ResponseBodySource$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodySource -> = ResponseBodySource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodySource$ { - /** @deprecated use `ResponseBodySource$inboundSchema` instead. */ - export const inboundSchema = ResponseBodySource$inboundSchema; - /** @deprecated use `ResponseBodySource$outboundSchema` instead. */ - export const outboundSchema = ResponseBodySource$outboundSchema; -} - -/** @internal */ -export const ResponseBodyTarget$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyTarget -> = z.nativeEnum(ResponseBodyTarget); - -/** @internal */ -export const ResponseBodyTarget$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyTarget -> = ResponseBodyTarget$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyTarget$ { - /** @deprecated use `ResponseBodyTarget$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyTarget$inboundSchema; - /** @deprecated use `ResponseBodyTarget$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyTarget$outboundSchema; -} - -/** @internal */ -export const ResponseBodyOidcTokenClaims$inboundSchema: z.ZodType< - ResponseBodyOidcTokenClaims, - z.ZodTypeDef, - unknown -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - owner_id: z.string(), - project: z.string(), - project_id: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); - -/** @internal */ -export type ResponseBodyOidcTokenClaims$Outbound = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - owner_id: string; - project: string; - project_id: string; - environment: string; -}; - -/** @internal */ -export const ResponseBodyOidcTokenClaims$outboundSchema: z.ZodType< - ResponseBodyOidcTokenClaims$Outbound, - z.ZodTypeDef, - ResponseBodyOidcTokenClaims -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - ownerId: z.string(), - project: z.string(), - projectId: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - ownerId: "owner_id", - projectId: "project_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyOidcTokenClaims$ { - /** @deprecated use `ResponseBodyOidcTokenClaims$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyOidcTokenClaims$inboundSchema; - /** @deprecated use `ResponseBodyOidcTokenClaims$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyOidcTokenClaims$outboundSchema; - /** @deprecated use `ResponseBodyOidcTokenClaims$Outbound` instead. */ - export type Outbound = ResponseBodyOidcTokenClaims$Outbound; -} - -export function responseBodyOidcTokenClaimsToJSON( - responseBodyOidcTokenClaims: ResponseBodyOidcTokenClaims, -): string { - return JSON.stringify( - ResponseBodyOidcTokenClaims$outboundSchema.parse( - responseBodyOidcTokenClaims, - ), - ); -} - -export function responseBodyOidcTokenClaimsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyOidcTokenClaims' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyPlan$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyPlan -> = z.nativeEnum(ResponseBodyPlan); - -/** @internal */ -export const ResponseBodyPlan$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyPlan -> = ResponseBodyPlan$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyPlan$ { - /** @deprecated use `ResponseBodyPlan$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyPlan$inboundSchema; - /** @deprecated use `ResponseBodyPlan$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyPlan$outboundSchema; -} - -/** @internal */ -export const ResponseBodyCrons$inboundSchema: z.ZodType< - ResponseBodyCrons, - z.ZodTypeDef, - unknown -> = z.object({ - schedule: z.string(), - path: z.string(), -}); - -/** @internal */ -export type ResponseBodyCrons$Outbound = { - schedule: string; - path: string; -}; - -/** @internal */ -export const ResponseBodyCrons$outboundSchema: z.ZodType< - ResponseBodyCrons$Outbound, - z.ZodTypeDef, - ResponseBodyCrons -> = z.object({ - schedule: z.string(), - path: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyCrons$ { - /** @deprecated use `ResponseBodyCrons$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyCrons$inboundSchema; - /** @deprecated use `ResponseBodyCrons$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyCrons$outboundSchema; - /** @deprecated use `ResponseBodyCrons$Outbound` instead. */ - export type Outbound = ResponseBodyCrons$Outbound; -} - -export function responseBodyCronsToJSON( - responseBodyCrons: ResponseBodyCrons, -): string { - return JSON.stringify( - ResponseBodyCrons$outboundSchema.parse(responseBodyCrons), - ); -} - -export function responseBodyCronsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyCrons$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyCrons' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyFunctions$inboundSchema: z.ZodType< - ResponseBodyFunctions, - z.ZodTypeDef, - unknown -> = z.object({ - memory: z.number().optional(), - maxDuration: z.number().optional(), - runtime: z.string().optional(), - includeFiles: z.string().optional(), - excludeFiles: z.string().optional(), -}); - -/** @internal */ -export type ResponseBodyFunctions$Outbound = { - memory?: number | undefined; - maxDuration?: number | undefined; - runtime?: string | undefined; - includeFiles?: string | undefined; - excludeFiles?: string | undefined; -}; - -/** @internal */ -export const ResponseBodyFunctions$outboundSchema: z.ZodType< - ResponseBodyFunctions$Outbound, - z.ZodTypeDef, - ResponseBodyFunctions -> = z.object({ - memory: z.number().optional(), - maxDuration: z.number().optional(), - runtime: z.string().optional(), - includeFiles: z.string().optional(), - excludeFiles: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyFunctions$ { - /** @deprecated use `ResponseBodyFunctions$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyFunctions$inboundSchema; - /** @deprecated use `ResponseBodyFunctions$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyFunctions$outboundSchema; - /** @deprecated use `ResponseBodyFunctions$Outbound` instead. */ - export type Outbound = ResponseBodyFunctions$Outbound; -} - -export function responseBodyFunctionsToJSON( - responseBodyFunctions: ResponseBodyFunctions, -): string { - return JSON.stringify( - ResponseBodyFunctions$outboundSchema.parse(responseBodyFunctions), - ); -} - -export function responseBodyFunctionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyFunctions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyFunctions' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentRoutes3$inboundSchema: z.ZodType< - GetDeploymentRoutes3, - z.ZodTypeDef, - unknown -> = z.object({ - src: z.string(), - continue: z.boolean(), - middleware: z.number(), -}); - -/** @internal */ -export type GetDeploymentRoutes3$Outbound = { - src: string; - continue: boolean; - middleware: number; -}; - -/** @internal */ -export const GetDeploymentRoutes3$outboundSchema: z.ZodType< - GetDeploymentRoutes3$Outbound, - z.ZodTypeDef, - GetDeploymentRoutes3 -> = z.object({ - src: z.string(), - continue: z.boolean(), - middleware: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentRoutes3$ { - /** @deprecated use `GetDeploymentRoutes3$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentRoutes3$inboundSchema; - /** @deprecated use `GetDeploymentRoutes3$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentRoutes3$outboundSchema; - /** @deprecated use `GetDeploymentRoutes3$Outbound` instead. */ - export type Outbound = GetDeploymentRoutes3$Outbound; -} - -export function getDeploymentRoutes3ToJSON( - getDeploymentRoutes3: GetDeploymentRoutes3, -): string { - return JSON.stringify( - GetDeploymentRoutes3$outboundSchema.parse(getDeploymentRoutes3), - ); -} - -export function getDeploymentRoutes3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentRoutes3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentRoutes3' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentRoutesHandle$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentRoutesHandle -> = z.nativeEnum(GetDeploymentRoutesHandle); - -/** @internal */ -export const GetDeploymentRoutesHandle$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentRoutesHandle -> = GetDeploymentRoutesHandle$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentRoutesHandle$ { - /** @deprecated use `GetDeploymentRoutesHandle$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentRoutesHandle$inboundSchema; - /** @deprecated use `GetDeploymentRoutesHandle$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentRoutesHandle$outboundSchema; -} - -/** @internal */ -export const GetDeploymentRoutes2$inboundSchema: z.ZodType< - GetDeploymentRoutes2, - z.ZodTypeDef, - unknown -> = z.object({ - handle: GetDeploymentRoutesHandle$inboundSchema, - src: z.string().optional(), - dest: z.string().optional(), - status: z.number().optional(), -}); - -/** @internal */ -export type GetDeploymentRoutes2$Outbound = { - handle: string; - src?: string | undefined; - dest?: string | undefined; - status?: number | undefined; -}; - -/** @internal */ -export const GetDeploymentRoutes2$outboundSchema: z.ZodType< - GetDeploymentRoutes2$Outbound, - z.ZodTypeDef, - GetDeploymentRoutes2 -> = z.object({ - handle: GetDeploymentRoutesHandle$outboundSchema, - src: z.string().optional(), - dest: z.string().optional(), - status: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentRoutes2$ { - /** @deprecated use `GetDeploymentRoutes2$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentRoutes2$inboundSchema; - /** @deprecated use `GetDeploymentRoutes2$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentRoutes2$outboundSchema; - /** @deprecated use `GetDeploymentRoutes2$Outbound` instead. */ - export type Outbound = GetDeploymentRoutes2$Outbound; -} - -export function getDeploymentRoutes2ToJSON( - getDeploymentRoutes2: GetDeploymentRoutes2, -): string { - return JSON.stringify( - GetDeploymentRoutes2$outboundSchema.parse(getDeploymentRoutes2), - ); -} - -export function getDeploymentRoutes2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentRoutes2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentRoutes2' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentHasType$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentHasType -> = z.nativeEnum(GetDeploymentHasType); - -/** @internal */ -export const GetDeploymentHasType$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentHasType -> = GetDeploymentHasType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentHasType$ { - /** @deprecated use `GetDeploymentHasType$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentHasType$inboundSchema; - /** @deprecated use `GetDeploymentHasType$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentHasType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentHas2$inboundSchema: z.ZodType< - GetDeploymentHas2, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetDeploymentHasType$inboundSchema, - key: z.string(), - value: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentHas2$Outbound = { - type: string; - key: string; - value?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentHas2$outboundSchema: z.ZodType< - GetDeploymentHas2$Outbound, - z.ZodTypeDef, - GetDeploymentHas2 -> = z.object({ - type: GetDeploymentHasType$outboundSchema, - key: z.string(), - value: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentHas2$ { - /** @deprecated use `GetDeploymentHas2$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentHas2$inboundSchema; - /** @deprecated use `GetDeploymentHas2$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentHas2$outboundSchema; - /** @deprecated use `GetDeploymentHas2$Outbound` instead. */ - export type Outbound = GetDeploymentHas2$Outbound; -} - -export function getDeploymentHas2ToJSON( - getDeploymentHas2: GetDeploymentHas2, -): string { - return JSON.stringify( - GetDeploymentHas2$outboundSchema.parse(getDeploymentHas2), - ); -} - -export function getDeploymentHas2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentHas2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentHas2' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentHasDeploymentsType$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentHasDeploymentsType -> = z.nativeEnum(GetDeploymentHasDeploymentsType); - -/** @internal */ -export const GetDeploymentHasDeploymentsType$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentHasDeploymentsType -> = GetDeploymentHasDeploymentsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentHasDeploymentsType$ { - /** @deprecated use `GetDeploymentHasDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentHasDeploymentsType$inboundSchema; - /** @deprecated use `GetDeploymentHasDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentHasDeploymentsType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentHas1$inboundSchema: z.ZodType< - GetDeploymentHas1, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetDeploymentHasDeploymentsType$inboundSchema, - value: z.string(), -}); - -/** @internal */ -export type GetDeploymentHas1$Outbound = { - type: string; - value: string; -}; - -/** @internal */ -export const GetDeploymentHas1$outboundSchema: z.ZodType< - GetDeploymentHas1$Outbound, - z.ZodTypeDef, - GetDeploymentHas1 -> = z.object({ - type: GetDeploymentHasDeploymentsType$outboundSchema, - value: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentHas1$ { - /** @deprecated use `GetDeploymentHas1$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentHas1$inboundSchema; - /** @deprecated use `GetDeploymentHas1$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentHas1$outboundSchema; - /** @deprecated use `GetDeploymentHas1$Outbound` instead. */ - export type Outbound = GetDeploymentHas1$Outbound; -} - -export function getDeploymentHas1ToJSON( - getDeploymentHas1: GetDeploymentHas1, -): string { - return JSON.stringify( - GetDeploymentHas1$outboundSchema.parse(getDeploymentHas1), - ); -} - -export function getDeploymentHas1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentHas1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentHas1' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentRoutesHas$inboundSchema: z.ZodType< - GetDeploymentRoutesHas, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetDeploymentHas1$inboundSchema), - z.lazy(() => GetDeploymentHas2$inboundSchema), -]); - -/** @internal */ -export type GetDeploymentRoutesHas$Outbound = - | GetDeploymentHas1$Outbound - | GetDeploymentHas2$Outbound; - -/** @internal */ -export const GetDeploymentRoutesHas$outboundSchema: z.ZodType< - GetDeploymentRoutesHas$Outbound, - z.ZodTypeDef, - GetDeploymentRoutesHas -> = z.union([ - z.lazy(() => GetDeploymentHas1$outboundSchema), - z.lazy(() => GetDeploymentHas2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentRoutesHas$ { - /** @deprecated use `GetDeploymentRoutesHas$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentRoutesHas$inboundSchema; - /** @deprecated use `GetDeploymentRoutesHas$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentRoutesHas$outboundSchema; - /** @deprecated use `GetDeploymentRoutesHas$Outbound` instead. */ - export type Outbound = GetDeploymentRoutesHas$Outbound; -} - -export function getDeploymentRoutesHasToJSON( - getDeploymentRoutesHas: GetDeploymentRoutesHas, -): string { - return JSON.stringify( - GetDeploymentRoutesHas$outboundSchema.parse(getDeploymentRoutesHas), - ); -} - -export function getDeploymentRoutesHasFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentRoutesHas$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentRoutesHas' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentMissingType$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentMissingType -> = z.nativeEnum(GetDeploymentMissingType); - -/** @internal */ -export const GetDeploymentMissingType$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentMissingType -> = GetDeploymentMissingType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentMissingType$ { - /** @deprecated use `GetDeploymentMissingType$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentMissingType$inboundSchema; - /** @deprecated use `GetDeploymentMissingType$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentMissingType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentMissing2$inboundSchema: z.ZodType< - GetDeploymentMissing2, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetDeploymentMissingType$inboundSchema, - key: z.string(), - value: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentMissing2$Outbound = { - type: string; - key: string; - value?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentMissing2$outboundSchema: z.ZodType< - GetDeploymentMissing2$Outbound, - z.ZodTypeDef, - GetDeploymentMissing2 -> = z.object({ - type: GetDeploymentMissingType$outboundSchema, - key: z.string(), - value: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentMissing2$ { - /** @deprecated use `GetDeploymentMissing2$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentMissing2$inboundSchema; - /** @deprecated use `GetDeploymentMissing2$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentMissing2$outboundSchema; - /** @deprecated use `GetDeploymentMissing2$Outbound` instead. */ - export type Outbound = GetDeploymentMissing2$Outbound; -} - -export function getDeploymentMissing2ToJSON( - getDeploymentMissing2: GetDeploymentMissing2, -): string { - return JSON.stringify( - GetDeploymentMissing2$outboundSchema.parse(getDeploymentMissing2), - ); -} - -export function getDeploymentMissing2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentMissing2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentMissing2' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentMissingDeploymentsType$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentMissingDeploymentsType -> = z.nativeEnum(GetDeploymentMissingDeploymentsType); - -/** @internal */ -export const GetDeploymentMissingDeploymentsType$outboundSchema: - z.ZodNativeEnum = - GetDeploymentMissingDeploymentsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentMissingDeploymentsType$ { - /** @deprecated use `GetDeploymentMissingDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentMissingDeploymentsType$inboundSchema; - /** @deprecated use `GetDeploymentMissingDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentMissingDeploymentsType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentMissing1$inboundSchema: z.ZodType< - GetDeploymentMissing1, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetDeploymentMissingDeploymentsType$inboundSchema, - value: z.string(), -}); - -/** @internal */ -export type GetDeploymentMissing1$Outbound = { - type: string; - value: string; -}; - -/** @internal */ -export const GetDeploymentMissing1$outboundSchema: z.ZodType< - GetDeploymentMissing1$Outbound, - z.ZodTypeDef, - GetDeploymentMissing1 -> = z.object({ - type: GetDeploymentMissingDeploymentsType$outboundSchema, - value: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentMissing1$ { - /** @deprecated use `GetDeploymentMissing1$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentMissing1$inboundSchema; - /** @deprecated use `GetDeploymentMissing1$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentMissing1$outboundSchema; - /** @deprecated use `GetDeploymentMissing1$Outbound` instead. */ - export type Outbound = GetDeploymentMissing1$Outbound; -} - -export function getDeploymentMissing1ToJSON( - getDeploymentMissing1: GetDeploymentMissing1, -): string { - return JSON.stringify( - GetDeploymentMissing1$outboundSchema.parse(getDeploymentMissing1), - ); -} - -export function getDeploymentMissing1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentMissing1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentMissing1' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentRoutesMissing$inboundSchema: z.ZodType< - GetDeploymentRoutesMissing, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetDeploymentMissing1$inboundSchema), - z.lazy(() => GetDeploymentMissing2$inboundSchema), -]); - -/** @internal */ -export type GetDeploymentRoutesMissing$Outbound = - | GetDeploymentMissing1$Outbound - | GetDeploymentMissing2$Outbound; - -/** @internal */ -export const GetDeploymentRoutesMissing$outboundSchema: z.ZodType< - GetDeploymentRoutesMissing$Outbound, - z.ZodTypeDef, - GetDeploymentRoutesMissing -> = z.union([ - z.lazy(() => GetDeploymentMissing1$outboundSchema), - z.lazy(() => GetDeploymentMissing2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentRoutesMissing$ { - /** @deprecated use `GetDeploymentRoutesMissing$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentRoutesMissing$inboundSchema; - /** @deprecated use `GetDeploymentRoutesMissing$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentRoutesMissing$outboundSchema; - /** @deprecated use `GetDeploymentRoutesMissing$Outbound` instead. */ - export type Outbound = GetDeploymentRoutesMissing$Outbound; -} - -export function getDeploymentRoutesMissingToJSON( - getDeploymentRoutesMissing: GetDeploymentRoutesMissing, -): string { - return JSON.stringify( - GetDeploymentRoutesMissing$outboundSchema.parse(getDeploymentRoutesMissing), - ); -} - -export function getDeploymentRoutesMissingFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentRoutesMissing$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentRoutesMissing' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentRoutesLocale$inboundSchema: z.ZodType< - GetDeploymentRoutesLocale, - z.ZodTypeDef, - unknown -> = z.object({ - redirect: z.record(z.string()).optional(), - cookie: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentRoutesLocale$Outbound = { - redirect?: { [k: string]: string } | undefined; - cookie?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentRoutesLocale$outboundSchema: z.ZodType< - GetDeploymentRoutesLocale$Outbound, - z.ZodTypeDef, - GetDeploymentRoutesLocale -> = z.object({ - redirect: z.record(z.string()).optional(), - cookie: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentRoutesLocale$ { - /** @deprecated use `GetDeploymentRoutesLocale$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentRoutesLocale$inboundSchema; - /** @deprecated use `GetDeploymentRoutesLocale$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentRoutesLocale$outboundSchema; - /** @deprecated use `GetDeploymentRoutesLocale$Outbound` instead. */ - export type Outbound = GetDeploymentRoutesLocale$Outbound; -} - -export function getDeploymentRoutesLocaleToJSON( - getDeploymentRoutesLocale: GetDeploymentRoutesLocale, -): string { - return JSON.stringify( - GetDeploymentRoutesLocale$outboundSchema.parse(getDeploymentRoutesLocale), - ); -} - -export function getDeploymentRoutesLocaleFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentRoutesLocale$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentRoutesLocale' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentRoutes1$inboundSchema: z.ZodType< - GetDeploymentRoutes1, - z.ZodTypeDef, - unknown -> = z.object({ - src: z.string(), - dest: z.string().optional(), - headers: z.record(z.string()).optional(), - methods: z.array(z.string()).optional(), - continue: z.boolean().optional(), - override: z.boolean().optional(), - caseSensitive: z.boolean().optional(), - check: z.boolean().optional(), - important: z.boolean().optional(), - status: z.number().optional(), - has: z.array( - z.union([ - z.lazy(() => GetDeploymentHas1$inboundSchema), - z.lazy(() => GetDeploymentHas2$inboundSchema), - ]), - ).optional(), - missing: z.array( - z.union([ - z.lazy(() => GetDeploymentMissing1$inboundSchema), - z.lazy(() => GetDeploymentMissing2$inboundSchema), - ]), - ).optional(), - locale: z.lazy(() => GetDeploymentRoutesLocale$inboundSchema).optional(), - middlewarePath: z.string().optional(), - middlewareRawSrc: z.array(z.string()).optional(), - middleware: z.number().optional(), -}); - -/** @internal */ -export type GetDeploymentRoutes1$Outbound = { - src: string; - dest?: string | undefined; - headers?: { [k: string]: string } | undefined; - methods?: Array | undefined; - continue?: boolean | undefined; - override?: boolean | undefined; - caseSensitive?: boolean | undefined; - check?: boolean | undefined; - important?: boolean | undefined; - status?: number | undefined; - has?: - | Array - | undefined; - missing?: - | Array - | undefined; - locale?: GetDeploymentRoutesLocale$Outbound | undefined; - middlewarePath?: string | undefined; - middlewareRawSrc?: Array | undefined; - middleware?: number | undefined; -}; - -/** @internal */ -export const GetDeploymentRoutes1$outboundSchema: z.ZodType< - GetDeploymentRoutes1$Outbound, - z.ZodTypeDef, - GetDeploymentRoutes1 -> = z.object({ - src: z.string(), - dest: z.string().optional(), - headers: z.record(z.string()).optional(), - methods: z.array(z.string()).optional(), - continue: z.boolean().optional(), - override: z.boolean().optional(), - caseSensitive: z.boolean().optional(), - check: z.boolean().optional(), - important: z.boolean().optional(), - status: z.number().optional(), - has: z.array( - z.union([ - z.lazy(() => GetDeploymentHas1$outboundSchema), - z.lazy(() => GetDeploymentHas2$outboundSchema), - ]), - ).optional(), - missing: z.array( - z.union([ - z.lazy(() => GetDeploymentMissing1$outboundSchema), - z.lazy(() => GetDeploymentMissing2$outboundSchema), - ]), - ).optional(), - locale: z.lazy(() => GetDeploymentRoutesLocale$outboundSchema).optional(), - middlewarePath: z.string().optional(), - middlewareRawSrc: z.array(z.string()).optional(), - middleware: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentRoutes1$ { - /** @deprecated use `GetDeploymentRoutes1$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentRoutes1$inboundSchema; - /** @deprecated use `GetDeploymentRoutes1$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentRoutes1$outboundSchema; - /** @deprecated use `GetDeploymentRoutes1$Outbound` instead. */ - export type Outbound = GetDeploymentRoutes1$Outbound; -} - -export function getDeploymentRoutes1ToJSON( - getDeploymentRoutes1: GetDeploymentRoutes1, -): string { - return JSON.stringify( - GetDeploymentRoutes1$outboundSchema.parse(getDeploymentRoutes1), - ); -} - -export function getDeploymentRoutes1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentRoutes1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentRoutes1' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyRoutes$inboundSchema: z.ZodType< - ResponseBodyRoutes, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetDeploymentRoutes3$inboundSchema), - z.lazy(() => GetDeploymentRoutes2$inboundSchema), - z.lazy(() => GetDeploymentRoutes1$inboundSchema), -]); - -/** @internal */ -export type ResponseBodyRoutes$Outbound = - | GetDeploymentRoutes3$Outbound - | GetDeploymentRoutes2$Outbound - | GetDeploymentRoutes1$Outbound; - -/** @internal */ -export const ResponseBodyRoutes$outboundSchema: z.ZodType< - ResponseBodyRoutes$Outbound, - z.ZodTypeDef, - ResponseBodyRoutes -> = z.union([ - z.lazy(() => GetDeploymentRoutes3$outboundSchema), - z.lazy(() => GetDeploymentRoutes2$outboundSchema), - z.lazy(() => GetDeploymentRoutes1$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyRoutes$ { - /** @deprecated use `ResponseBodyRoutes$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyRoutes$inboundSchema; - /** @deprecated use `ResponseBodyRoutes$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyRoutes$outboundSchema; - /** @deprecated use `ResponseBodyRoutes$Outbound` instead. */ - export type Outbound = ResponseBodyRoutes$Outbound; -} - -export function responseBodyRoutesToJSON( - responseBodyRoutes: ResponseBodyRoutes, -): string { - return JSON.stringify( - ResponseBodyRoutes$outboundSchema.parse(responseBodyRoutes), - ); -} - -export function responseBodyRoutesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyRoutes$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyRoutes' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitRepoDeploymentsType$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentGitRepoDeploymentsType -> = z.nativeEnum(GetDeploymentGitRepoDeploymentsType); - -/** @internal */ -export const GetDeploymentGitRepoDeploymentsType$outboundSchema: - z.ZodNativeEnum = - GetDeploymentGitRepoDeploymentsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitRepoDeploymentsType$ { - /** @deprecated use `GetDeploymentGitRepoDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitRepoDeploymentsType$inboundSchema; - /** @deprecated use `GetDeploymentGitRepoDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitRepoDeploymentsType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitRepoOwnerType$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentGitRepoOwnerType -> = z.nativeEnum(GetDeploymentGitRepoOwnerType); - -/** @internal */ -export const GetDeploymentGitRepoOwnerType$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentGitRepoOwnerType -> = GetDeploymentGitRepoOwnerType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitRepoOwnerType$ { - /** @deprecated use `GetDeploymentGitRepoOwnerType$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitRepoOwnerType$inboundSchema; - /** @deprecated use `GetDeploymentGitRepoOwnerType$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitRepoOwnerType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitRepo3$inboundSchema: z.ZodType< - GetDeploymentGitRepo3, - z.ZodTypeDef, - unknown -> = z.object({ - owner: z.string(), - repoUuid: z.string(), - slug: z.string(), - type: GetDeploymentGitRepoDeploymentsType$inboundSchema, - workspaceUuid: z.string(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: GetDeploymentGitRepoOwnerType$inboundSchema, -}); - -/** @internal */ -export type GetDeploymentGitRepo3$Outbound = { - owner: string; - repoUuid: string; - slug: string; - type: string; - workspaceUuid: string; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: string; -}; - -/** @internal */ -export const GetDeploymentGitRepo3$outboundSchema: z.ZodType< - GetDeploymentGitRepo3$Outbound, - z.ZodTypeDef, - GetDeploymentGitRepo3 -> = z.object({ - owner: z.string(), - repoUuid: z.string(), - slug: z.string(), - type: GetDeploymentGitRepoDeploymentsType$outboundSchema, - workspaceUuid: z.string(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: GetDeploymentGitRepoOwnerType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitRepo3$ { - /** @deprecated use `GetDeploymentGitRepo3$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitRepo3$inboundSchema; - /** @deprecated use `GetDeploymentGitRepo3$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitRepo3$outboundSchema; - /** @deprecated use `GetDeploymentGitRepo3$Outbound` instead. */ - export type Outbound = GetDeploymentGitRepo3$Outbound; -} - -export function getDeploymentGitRepo3ToJSON( - getDeploymentGitRepo3: GetDeploymentGitRepo3, -): string { - return JSON.stringify( - GetDeploymentGitRepo3$outboundSchema.parse(getDeploymentGitRepo3), - ); -} - -export function getDeploymentGitRepo3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentGitRepo3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitRepo3' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitRepoType$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentGitRepoType -> = z.nativeEnum(GetDeploymentGitRepoType); - -/** @internal */ -export const GetDeploymentGitRepoType$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentGitRepoType -> = GetDeploymentGitRepoType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitRepoType$ { - /** @deprecated use `GetDeploymentGitRepoType$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitRepoType$inboundSchema; - /** @deprecated use `GetDeploymentGitRepoType$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitRepoType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentGitRepoDeploymentsResponseOwnerType); - -/** @internal */ -export const GetDeploymentGitRepoDeploymentsResponseOwnerType$outboundSchema: - z.ZodNativeEnum = - GetDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitRepoDeploymentsResponseOwnerType$ { - /** @deprecated use `GetDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema; - /** @deprecated use `GetDeploymentGitRepoDeploymentsResponseOwnerType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitRepoDeploymentsResponseOwnerType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitRepo2$inboundSchema: z.ZodType< - GetDeploymentGitRepo2, - z.ZodTypeDef, - unknown -> = z.object({ - org: z.string(), - repo: z.string(), - repoId: z.number(), - type: GetDeploymentGitRepoType$inboundSchema, - repoOwnerId: z.number(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: GetDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema, -}); - -/** @internal */ -export type GetDeploymentGitRepo2$Outbound = { - org: string; - repo: string; - repoId: number; - type: string; - repoOwnerId: number; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: string; -}; - -/** @internal */ -export const GetDeploymentGitRepo2$outboundSchema: z.ZodType< - GetDeploymentGitRepo2$Outbound, - z.ZodTypeDef, - GetDeploymentGitRepo2 -> = z.object({ - org: z.string(), - repo: z.string(), - repoId: z.number(), - type: GetDeploymentGitRepoType$outboundSchema, - repoOwnerId: z.number(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: GetDeploymentGitRepoDeploymentsResponseOwnerType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitRepo2$ { - /** @deprecated use `GetDeploymentGitRepo2$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitRepo2$inboundSchema; - /** @deprecated use `GetDeploymentGitRepo2$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitRepo2$outboundSchema; - /** @deprecated use `GetDeploymentGitRepo2$Outbound` instead. */ - export type Outbound = GetDeploymentGitRepo2$Outbound; -} - -export function getDeploymentGitRepo2ToJSON( - getDeploymentGitRepo2: GetDeploymentGitRepo2, -): string { - return JSON.stringify( - GetDeploymentGitRepo2$outboundSchema.parse(getDeploymentGitRepo2), - ); -} - -export function getDeploymentGitRepo2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentGitRepo2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitRepo2' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentGitRepoDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentGitRepoDeploymentsResponseType); - -/** @internal */ -export const GetDeploymentGitRepoDeploymentsResponseType$outboundSchema: - z.ZodNativeEnum = - GetDeploymentGitRepoDeploymentsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitRepoDeploymentsResponseType$ { - /** @deprecated use `GetDeploymentGitRepoDeploymentsResponseType$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitRepoDeploymentsResponseType$inboundSchema; - /** @deprecated use `GetDeploymentGitRepoDeploymentsResponseType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitRepoDeploymentsResponseType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitRepoDeploymentsOwnerType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentGitRepoDeploymentsOwnerType); - -/** @internal */ -export const GetDeploymentGitRepoDeploymentsOwnerType$outboundSchema: - z.ZodNativeEnum = - GetDeploymentGitRepoDeploymentsOwnerType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitRepoDeploymentsOwnerType$ { - /** @deprecated use `GetDeploymentGitRepoDeploymentsOwnerType$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitRepoDeploymentsOwnerType$inboundSchema; - /** @deprecated use `GetDeploymentGitRepoDeploymentsOwnerType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitRepoDeploymentsOwnerType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentGitRepo1$inboundSchema: z.ZodType< - GetDeploymentGitRepo1, - z.ZodTypeDef, - unknown -> = z.object({ - namespace: z.string(), - projectId: z.number(), - type: GetDeploymentGitRepoDeploymentsResponseType$inboundSchema, - url: z.string(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: GetDeploymentGitRepoDeploymentsOwnerType$inboundSchema, -}); - -/** @internal */ -export type GetDeploymentGitRepo1$Outbound = { - namespace: string; - projectId: number; - type: string; - url: string; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: string; -}; - -/** @internal */ -export const GetDeploymentGitRepo1$outboundSchema: z.ZodType< - GetDeploymentGitRepo1$Outbound, - z.ZodTypeDef, - GetDeploymentGitRepo1 -> = z.object({ - namespace: z.string(), - projectId: z.number(), - type: GetDeploymentGitRepoDeploymentsResponseType$outboundSchema, - url: z.string(), - path: z.string(), - defaultBranch: z.string(), - name: z.string(), - private: z.boolean(), - ownerType: GetDeploymentGitRepoDeploymentsOwnerType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitRepo1$ { - /** @deprecated use `GetDeploymentGitRepo1$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitRepo1$inboundSchema; - /** @deprecated use `GetDeploymentGitRepo1$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitRepo1$outboundSchema; - /** @deprecated use `GetDeploymentGitRepo1$Outbound` instead. */ - export type Outbound = GetDeploymentGitRepo1$Outbound; -} - -export function getDeploymentGitRepo1ToJSON( - getDeploymentGitRepo1: GetDeploymentGitRepo1, -): string { - return JSON.stringify( - GetDeploymentGitRepo1$outboundSchema.parse(getDeploymentGitRepo1), - ); -} - -export function getDeploymentGitRepo1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentGitRepo1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentGitRepo1' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyGitRepo$inboundSchema: z.ZodType< - ResponseBodyGitRepo, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetDeploymentGitRepo1$inboundSchema), - z.lazy(() => GetDeploymentGitRepo2$inboundSchema), - z.lazy(() => GetDeploymentGitRepo3$inboundSchema), -]); - -/** @internal */ -export type ResponseBodyGitRepo$Outbound = - | GetDeploymentGitRepo1$Outbound - | GetDeploymentGitRepo2$Outbound - | GetDeploymentGitRepo3$Outbound; - -/** @internal */ -export const ResponseBodyGitRepo$outboundSchema: z.ZodType< - ResponseBodyGitRepo$Outbound, - z.ZodTypeDef, - ResponseBodyGitRepo -> = z.union([ - z.lazy(() => GetDeploymentGitRepo1$outboundSchema), - z.lazy(() => GetDeploymentGitRepo2$outboundSchema), - z.lazy(() => GetDeploymentGitRepo3$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyGitRepo$ { - /** @deprecated use `ResponseBodyGitRepo$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyGitRepo$inboundSchema; - /** @deprecated use `ResponseBodyGitRepo$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyGitRepo$outboundSchema; - /** @deprecated use `ResponseBodyGitRepo$Outbound` instead. */ - export type Outbound = ResponseBodyGitRepo$Outbound; -} - -export function responseBodyGitRepoToJSON( - responseBodyGitRepo: ResponseBodyGitRepo, -): string { - return JSON.stringify( - ResponseBodyGitRepo$outboundSchema.parse(responseBodyGitRepo), - ); -} - -export function responseBodyGitRepoFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyGitRepo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyGitRepo' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentFlags2$inboundSchema: z.ZodType< - GetDeploymentFlags2, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type GetDeploymentFlags2$Outbound = {}; - -/** @internal */ -export const GetDeploymentFlags2$outboundSchema: z.ZodType< - GetDeploymentFlags2$Outbound, - z.ZodTypeDef, - GetDeploymentFlags2 -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentFlags2$ { - /** @deprecated use `GetDeploymentFlags2$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentFlags2$inboundSchema; - /** @deprecated use `GetDeploymentFlags2$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentFlags2$outboundSchema; - /** @deprecated use `GetDeploymentFlags2$Outbound` instead. */ - export type Outbound = GetDeploymentFlags2$Outbound; -} - -export function getDeploymentFlags2ToJSON( - getDeploymentFlags2: GetDeploymentFlags2, -): string { - return JSON.stringify( - GetDeploymentFlags2$outboundSchema.parse(getDeploymentFlags2), - ); -} - -export function getDeploymentFlags2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentFlags2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentFlags2' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentFlagsOptions$inboundSchema: z.ZodType< - GetDeploymentFlagsOptions, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(FlagJSONValue$inboundSchema), - label: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentFlagsOptions$Outbound = { - value: FlagJSONValue$Outbound | null; - label?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentFlagsOptions$outboundSchema: z.ZodType< - GetDeploymentFlagsOptions$Outbound, - z.ZodTypeDef, - GetDeploymentFlagsOptions -> = z.object({ - value: z.nullable(FlagJSONValue$outboundSchema), - label: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentFlagsOptions$ { - /** @deprecated use `GetDeploymentFlagsOptions$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentFlagsOptions$inboundSchema; - /** @deprecated use `GetDeploymentFlagsOptions$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentFlagsOptions$outboundSchema; - /** @deprecated use `GetDeploymentFlagsOptions$Outbound` instead. */ - export type Outbound = GetDeploymentFlagsOptions$Outbound; -} - -export function getDeploymentFlagsOptionsToJSON( - getDeploymentFlagsOptions: GetDeploymentFlagsOptions, -): string { - return JSON.stringify( - GetDeploymentFlagsOptions$outboundSchema.parse(getDeploymentFlagsOptions), - ); -} - -export function getDeploymentFlagsOptionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentFlagsOptions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentFlagsOptions' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentFlagsDefinitions$inboundSchema: z.ZodType< - GetDeploymentFlagsDefinitions, - z.ZodTypeDef, - unknown -> = z.object({ - options: z.array(z.lazy(() => GetDeploymentFlagsOptions$inboundSchema)) - .optional(), - url: z.string().optional(), - description: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentFlagsDefinitions$Outbound = { - options?: Array | undefined; - url?: string | undefined; - description?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentFlagsDefinitions$outboundSchema: z.ZodType< - GetDeploymentFlagsDefinitions$Outbound, - z.ZodTypeDef, - GetDeploymentFlagsDefinitions -> = z.object({ - options: z.array(z.lazy(() => GetDeploymentFlagsOptions$outboundSchema)) - .optional(), - url: z.string().optional(), - description: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentFlagsDefinitions$ { - /** @deprecated use `GetDeploymentFlagsDefinitions$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentFlagsDefinitions$inboundSchema; - /** @deprecated use `GetDeploymentFlagsDefinitions$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentFlagsDefinitions$outboundSchema; - /** @deprecated use `GetDeploymentFlagsDefinitions$Outbound` instead. */ - export type Outbound = GetDeploymentFlagsDefinitions$Outbound; -} - -export function getDeploymentFlagsDefinitionsToJSON( - getDeploymentFlagsDefinitions: GetDeploymentFlagsDefinitions, -): string { - return JSON.stringify( - GetDeploymentFlagsDefinitions$outboundSchema.parse( - getDeploymentFlagsDefinitions, - ), - ); -} - -export function getDeploymentFlagsDefinitionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentFlagsDefinitions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentFlagsDefinitions' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentFlags1$inboundSchema: z.ZodType< - GetDeploymentFlags1, - z.ZodTypeDef, - unknown -> = z.object({ - definitions: z.record( - z.lazy(() => GetDeploymentFlagsDefinitions$inboundSchema), - ), -}); - -/** @internal */ -export type GetDeploymentFlags1$Outbound = { - definitions: { [k: string]: GetDeploymentFlagsDefinitions$Outbound }; -}; - -/** @internal */ -export const GetDeploymentFlags1$outboundSchema: z.ZodType< - GetDeploymentFlags1$Outbound, - z.ZodTypeDef, - GetDeploymentFlags1 -> = z.object({ - definitions: z.record( - z.lazy(() => GetDeploymentFlagsDefinitions$outboundSchema), - ), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentFlags1$ { - /** @deprecated use `GetDeploymentFlags1$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentFlags1$inboundSchema; - /** @deprecated use `GetDeploymentFlags1$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentFlags1$outboundSchema; - /** @deprecated use `GetDeploymentFlags1$Outbound` instead. */ - export type Outbound = GetDeploymentFlags1$Outbound; -} - -export function getDeploymentFlags1ToJSON( - getDeploymentFlags1: GetDeploymentFlags1, -): string { - return JSON.stringify( - GetDeploymentFlags1$outboundSchema.parse(getDeploymentFlags1), - ); -} - -export function getDeploymentFlags1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentFlags1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentFlags1' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyFlags$inboundSchema: z.ZodType< - ResponseBodyFlags, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetDeploymentFlags1$inboundSchema), - z.array(z.lazy(() => GetDeploymentFlags2$inboundSchema)), -]); - -/** @internal */ -export type ResponseBodyFlags$Outbound = - | GetDeploymentFlags1$Outbound - | Array; - -/** @internal */ -export const ResponseBodyFlags$outboundSchema: z.ZodType< - ResponseBodyFlags$Outbound, - z.ZodTypeDef, - ResponseBodyFlags -> = z.union([ - z.lazy(() => GetDeploymentFlags1$outboundSchema), - z.array(z.lazy(() => GetDeploymentFlags2$outboundSchema)), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyFlags$ { - /** @deprecated use `ResponseBodyFlags$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyFlags$inboundSchema; - /** @deprecated use `ResponseBodyFlags$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyFlags$outboundSchema; - /** @deprecated use `ResponseBodyFlags$Outbound` instead. */ - export type Outbound = ResponseBodyFlags$Outbound; -} - -export function responseBodyFlagsToJSON( - responseBodyFlags: ResponseBodyFlags, -): string { - return JSON.stringify( - ResponseBodyFlags$outboundSchema.parse(responseBodyFlags), - ); -} - -export function responseBodyFlagsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyFlags$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyFlags' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentMicrofrontendsApplications$inboundSchema: z.ZodType< - GetDeploymentMicrofrontendsApplications, - z.ZodTypeDef, - unknown -> = z.object({ - productionHost: z.string(), - deploymentAlias: z.string().optional(), - deploymentHost: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentMicrofrontendsApplications$Outbound = { - productionHost: string; - deploymentAlias?: string | undefined; - deploymentHost?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentMicrofrontendsApplications$outboundSchema: z.ZodType< - GetDeploymentMicrofrontendsApplications$Outbound, - z.ZodTypeDef, - GetDeploymentMicrofrontendsApplications -> = z.object({ - productionHost: z.string(), - deploymentAlias: z.string().optional(), - deploymentHost: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentMicrofrontendsApplications$ { - /** @deprecated use `GetDeploymentMicrofrontendsApplications$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentMicrofrontendsApplications$inboundSchema; - /** @deprecated use `GetDeploymentMicrofrontendsApplications$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentMicrofrontendsApplications$outboundSchema; - /** @deprecated use `GetDeploymentMicrofrontendsApplications$Outbound` instead. */ - export type Outbound = GetDeploymentMicrofrontendsApplications$Outbound; -} - -export function getDeploymentMicrofrontendsApplicationsToJSON( - getDeploymentMicrofrontendsApplications: - GetDeploymentMicrofrontendsApplications, -): string { - return JSON.stringify( - GetDeploymentMicrofrontendsApplications$outboundSchema.parse( - getDeploymentMicrofrontendsApplications, - ), - ); -} - -export function getDeploymentMicrofrontendsApplicationsFromJSON( - jsonString: string, -): SafeParseResult< - GetDeploymentMicrofrontendsApplications, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetDeploymentMicrofrontendsApplications$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetDeploymentMicrofrontendsApplications' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentMicrofrontends2$inboundSchema: z.ZodType< - GetDeploymentMicrofrontends2, - z.ZodTypeDef, - unknown -> = z.object({ - applications: z.record( - z.lazy(() => GetDeploymentMicrofrontendsApplications$inboundSchema), - ).optional(), - isDefaultApp: z.boolean(), - defaultRoute: z.string().optional(), - groupIds: z.array(z.string()), -}); - -/** @internal */ -export type GetDeploymentMicrofrontends2$Outbound = { - applications?: { - [k: string]: GetDeploymentMicrofrontendsApplications$Outbound; - } | undefined; - isDefaultApp: boolean; - defaultRoute?: string | undefined; - groupIds: Array; -}; - -/** @internal */ -export const GetDeploymentMicrofrontends2$outboundSchema: z.ZodType< - GetDeploymentMicrofrontends2$Outbound, - z.ZodTypeDef, - GetDeploymentMicrofrontends2 -> = z.object({ - applications: z.record( - z.lazy(() => GetDeploymentMicrofrontendsApplications$outboundSchema), - ).optional(), - isDefaultApp: z.boolean(), - defaultRoute: z.string().optional(), - groupIds: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentMicrofrontends2$ { - /** @deprecated use `GetDeploymentMicrofrontends2$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentMicrofrontends2$inboundSchema; - /** @deprecated use `GetDeploymentMicrofrontends2$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentMicrofrontends2$outboundSchema; - /** @deprecated use `GetDeploymentMicrofrontends2$Outbound` instead. */ - export type Outbound = GetDeploymentMicrofrontends2$Outbound; -} - -export function getDeploymentMicrofrontends2ToJSON( - getDeploymentMicrofrontends2: GetDeploymentMicrofrontends2, -): string { - return JSON.stringify( - GetDeploymentMicrofrontends2$outboundSchema.parse( - getDeploymentMicrofrontends2, - ), - ); -} - -export function getDeploymentMicrofrontends2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentMicrofrontends2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentMicrofrontends2' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentMicrofrontends1$inboundSchema: z.ZodType< - GetDeploymentMicrofrontends1, - z.ZodTypeDef, - unknown -> = z.object({ - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), - groupIds: z.array(z.string()), -}); - -/** @internal */ -export type GetDeploymentMicrofrontends1$Outbound = { - isDefaultApp?: boolean | undefined; - defaultRoute?: string | undefined; - groupIds: Array; -}; - -/** @internal */ -export const GetDeploymentMicrofrontends1$outboundSchema: z.ZodType< - GetDeploymentMicrofrontends1$Outbound, - z.ZodTypeDef, - GetDeploymentMicrofrontends1 -> = z.object({ - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), - groupIds: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentMicrofrontends1$ { - /** @deprecated use `GetDeploymentMicrofrontends1$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentMicrofrontends1$inboundSchema; - /** @deprecated use `GetDeploymentMicrofrontends1$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentMicrofrontends1$outboundSchema; - /** @deprecated use `GetDeploymentMicrofrontends1$Outbound` instead. */ - export type Outbound = GetDeploymentMicrofrontends1$Outbound; -} - -export function getDeploymentMicrofrontends1ToJSON( - getDeploymentMicrofrontends1: GetDeploymentMicrofrontends1, -): string { - return JSON.stringify( - GetDeploymentMicrofrontends1$outboundSchema.parse( - getDeploymentMicrofrontends1, - ), - ); -} - -export function getDeploymentMicrofrontends1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentMicrofrontends1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentMicrofrontends1' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyMicrofrontends$inboundSchema: z.ZodType< - ResponseBodyMicrofrontends, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetDeploymentMicrofrontends1$inboundSchema), - z.lazy(() => GetDeploymentMicrofrontends2$inboundSchema), -]); - -/** @internal */ -export type ResponseBodyMicrofrontends$Outbound = - | GetDeploymentMicrofrontends1$Outbound - | GetDeploymentMicrofrontends2$Outbound; - -/** @internal */ -export const ResponseBodyMicrofrontends$outboundSchema: z.ZodType< - ResponseBodyMicrofrontends$Outbound, - z.ZodTypeDef, - ResponseBodyMicrofrontends -> = z.union([ - z.lazy(() => GetDeploymentMicrofrontends1$outboundSchema), - z.lazy(() => GetDeploymentMicrofrontends2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyMicrofrontends$ { - /** @deprecated use `ResponseBodyMicrofrontends$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyMicrofrontends$inboundSchema; - /** @deprecated use `ResponseBodyMicrofrontends$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyMicrofrontends$outboundSchema; - /** @deprecated use `ResponseBodyMicrofrontends$Outbound` instead. */ - export type Outbound = ResponseBodyMicrofrontends$Outbound; -} - -export function responseBodyMicrofrontendsToJSON( - responseBodyMicrofrontends: ResponseBodyMicrofrontends, -): string { - return JSON.stringify( - ResponseBodyMicrofrontends$outboundSchema.parse(responseBodyMicrofrontends), - ); -} - -export function responseBodyMicrofrontendsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyMicrofrontends$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyMicrofrontends' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentResponseBody1$inboundSchema: z.ZodType< - GetDeploymentResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({ - aliasAssignedAt: z.nullable(z.union([z.number(), z.boolean()])).optional(), - alwaysRefuseToBuild: z.boolean().optional(), - build: z.lazy(() => ResponseBodyBuild$inboundSchema), - buildArtifactUrls: z.array(z.string()).optional(), - builds: z.array(z.lazy(() => ResponseBodyBuilds$inboundSchema)).optional(), - env: z.array(z.string()), - inspectorUrl: z.nullable(z.string()), - isInConcurrentBuildsQueue: z.boolean(), - isInSystemBuildsQueue: z.boolean(), - projectSettings: z.lazy(() => ResponseBodyProjectSettings$inboundSchema), - readyStateReason: z.string().optional(), - integrations: z.lazy(() => ResponseBodyIntegrations$inboundSchema).optional(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.boolean(), - bootedAt: z.number(), - buildingAt: z.number(), - buildSkipped: z.boolean(), - creator: z.lazy(() => ResponseBodyCreator$inboundSchema), - initReadyAt: z.number().optional(), - isFirstBranchDeployment: z.boolean().optional(), - lambdas: z.array(z.lazy(() => GetDeploymentResponseBodyLambdas$inboundSchema)) - .optional(), - public: z.boolean(), - ready: z.number().optional(), - status: ResponseBodyStatus$inboundSchema, - team: z.lazy(() => GetDeploymentResponseBodyTeam$inboundSchema).optional(), - userAliases: z.array(z.string()).optional(), - previewCommentsEnabled: z.boolean().optional(), - ttyBuildLogs: z.boolean().optional(), - customEnvironment: z.union([ - z.lazy(() => GetDeploymentCustomEnvironmentDeployments1$inboundSchema), - z.lazy(() => GetDeploymentCustomEnvironmentDeployments2$inboundSchema), - ]).optional(), - aliasWarning: z.nullable( - z.lazy(() => GetDeploymentResponseBodyAliasWarning$inboundSchema), - ).optional(), - id: z.string(), - type: ResponseBodyType$inboundSchema, - createdAt: z.number(), - name: z.string(), - readyState: ResponseBodyReadyState$inboundSchema, - aliasError: z.nullable(z.lazy(() => ResponseBodyAliasError$inboundSchema)) - .optional(), - aliasFinal: z.nullable(z.string()).optional(), - autoAssignCustomDomains: z.boolean().optional(), - automaticAliases: z.array(z.string()).optional(), - buildErrorAt: z.number().optional(), - checksState: ResponseBodyChecksState$inboundSchema.optional(), - checksConclusion: ResponseBodyChecksConclusion$inboundSchema.optional(), - deletedAt: z.nullable(z.number()).optional(), - defaultRoute: z.string().optional(), - canceledAt: z.number().optional(), - errorCode: z.string().optional(), - errorLink: z.string().optional(), - errorMessage: z.nullable(z.string()).optional(), - errorStep: z.string().optional(), - passiveRegions: z.array(z.string()).optional(), - gitSource: z.union([ - z.lazy(() => GetDeploymentGitSourceDeployments6$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments8$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments1$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments3$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments2$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments4$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments5$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments7$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments9$inboundSchema), - ]).optional(), - meta: z.record(z.string()), - project: z.lazy(() => ResponseBodyProject$inboundSchema).optional(), - readySubstate: ResponseBodyReadySubstate$inboundSchema.optional(), - regions: z.array(z.string()), - softDeletedByRetention: z.boolean().optional(), - source: ResponseBodySource$inboundSchema.optional(), - target: z.nullable(ResponseBodyTarget$inboundSchema).optional(), - undeletedAt: z.number().optional(), - url: z.string(), - version: z.number(), - oidcTokenClaims: z.lazy(() => ResponseBodyOidcTokenClaims$inboundSchema) - .optional(), - projectId: z.string(), - plan: ResponseBodyPlan$inboundSchema, - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdIn: z.string(), - crons: z.array(z.lazy(() => ResponseBodyCrons$inboundSchema)).optional(), - functions: z.nullable( - z.record(z.lazy(() => ResponseBodyFunctions$inboundSchema)), - ).optional(), - monorepoManager: z.nullable(z.string()).optional(), - ownerId: z.string(), - passiveConnectConfigurationId: z.string().optional(), - routes: z.nullable( - z.array(z.union([ - z.lazy(() => GetDeploymentRoutes3$inboundSchema), - z.lazy(() => - GetDeploymentRoutes2$inboundSchema - ), - z.lazy(() => GetDeploymentRoutes1$inboundSchema), - ])), - ), - gitRepo: z.nullable( - z.union([ - z.lazy(() => GetDeploymentGitRepo1$inboundSchema), - z.lazy(() => GetDeploymentGitRepo2$inboundSchema), - z.lazy(() => GetDeploymentGitRepo3$inboundSchema), - ]), - ).optional(), - flags: z.union([ - z.lazy(() => GetDeploymentFlags1$inboundSchema), - z.array(z.lazy(() => GetDeploymentFlags2$inboundSchema)), - ]).optional(), - microfrontends: z.union([ - z.lazy(() => GetDeploymentMicrofrontends1$inboundSchema), - z.lazy(() => GetDeploymentMicrofrontends2$inboundSchema), - ]).optional(), -}); - -/** @internal */ -export type GetDeploymentResponseBody1$Outbound = { - aliasAssignedAt?: number | boolean | null | undefined; - alwaysRefuseToBuild?: boolean | undefined; - build: ResponseBodyBuild$Outbound; - buildArtifactUrls?: Array | undefined; - builds?: Array | undefined; - env: Array; - inspectorUrl: string | null; - isInConcurrentBuildsQueue: boolean; - isInSystemBuildsQueue: boolean; - projectSettings: ResponseBodyProjectSettings$Outbound; - readyStateReason?: string | undefined; - integrations?: ResponseBodyIntegrations$Outbound | undefined; - alias?: Array | undefined; - aliasAssigned: boolean; - bootedAt: number; - buildingAt: number; - buildSkipped: boolean; - creator: ResponseBodyCreator$Outbound; - initReadyAt?: number | undefined; - isFirstBranchDeployment?: boolean | undefined; - lambdas?: Array | undefined; - public: boolean; - ready?: number | undefined; - status: string; - team?: GetDeploymentResponseBodyTeam$Outbound | undefined; - userAliases?: Array | undefined; - previewCommentsEnabled?: boolean | undefined; - ttyBuildLogs?: boolean | undefined; - customEnvironment?: - | GetDeploymentCustomEnvironmentDeployments1$Outbound - | GetDeploymentCustomEnvironmentDeployments2$Outbound - | undefined; - aliasWarning?: - | GetDeploymentResponseBodyAliasWarning$Outbound - | null - | undefined; - id: string; - type: string; - createdAt: number; - name: string; - readyState: string; - aliasError?: ResponseBodyAliasError$Outbound | null | undefined; - aliasFinal?: string | null | undefined; - autoAssignCustomDomains?: boolean | undefined; - automaticAliases?: Array | undefined; - buildErrorAt?: number | undefined; - checksState?: string | undefined; - checksConclusion?: string | undefined; - deletedAt?: number | null | undefined; - defaultRoute?: string | undefined; - canceledAt?: number | undefined; - errorCode?: string | undefined; - errorLink?: string | undefined; - errorMessage?: string | null | undefined; - errorStep?: string | undefined; - passiveRegions?: Array | undefined; - gitSource?: - | GetDeploymentGitSourceDeployments6$Outbound - | GetDeploymentGitSourceDeployments8$Outbound - | GetDeploymentGitSourceDeployments1$Outbound - | GetDeploymentGitSourceDeployments3$Outbound - | GetDeploymentGitSourceDeployments2$Outbound - | GetDeploymentGitSourceDeployments4$Outbound - | GetDeploymentGitSourceDeployments5$Outbound - | GetDeploymentGitSourceDeployments7$Outbound - | GetDeploymentGitSourceDeployments9$Outbound - | undefined; - meta: { [k: string]: string }; - project?: ResponseBodyProject$Outbound | undefined; - readySubstate?: string | undefined; - regions: Array; - softDeletedByRetention?: boolean | undefined; - source?: string | undefined; - target?: string | null | undefined; - undeletedAt?: number | undefined; - url: string; - version: number; - oidcTokenClaims?: ResponseBodyOidcTokenClaims$Outbound | undefined; - projectId: string; - plan: string; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdIn: string; - crons?: Array | undefined; - functions?: - | { [k: string]: ResponseBodyFunctions$Outbound } - | null - | undefined; - monorepoManager?: string | null | undefined; - ownerId: string; - passiveConnectConfigurationId?: string | undefined; - routes: - | Array< - | GetDeploymentRoutes3$Outbound - | GetDeploymentRoutes2$Outbound - | GetDeploymentRoutes1$Outbound - > - | null; - gitRepo?: - | GetDeploymentGitRepo1$Outbound - | GetDeploymentGitRepo2$Outbound - | GetDeploymentGitRepo3$Outbound - | null - | undefined; - flags?: - | GetDeploymentFlags1$Outbound - | Array - | undefined; - microfrontends?: - | GetDeploymentMicrofrontends1$Outbound - | GetDeploymentMicrofrontends2$Outbound - | undefined; -}; - -/** @internal */ -export const GetDeploymentResponseBody1$outboundSchema: z.ZodType< - GetDeploymentResponseBody1$Outbound, - z.ZodTypeDef, - GetDeploymentResponseBody1 -> = z.object({ - aliasAssignedAt: z.nullable(z.union([z.number(), z.boolean()])).optional(), - alwaysRefuseToBuild: z.boolean().optional(), - build: z.lazy(() => ResponseBodyBuild$outboundSchema), - buildArtifactUrls: z.array(z.string()).optional(), - builds: z.array(z.lazy(() => ResponseBodyBuilds$outboundSchema)).optional(), - env: z.array(z.string()), - inspectorUrl: z.nullable(z.string()), - isInConcurrentBuildsQueue: z.boolean(), - isInSystemBuildsQueue: z.boolean(), - projectSettings: z.lazy(() => ResponseBodyProjectSettings$outboundSchema), - readyStateReason: z.string().optional(), - integrations: z.lazy(() => ResponseBodyIntegrations$outboundSchema) - .optional(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.boolean(), - bootedAt: z.number(), - buildingAt: z.number(), - buildSkipped: z.boolean(), - creator: z.lazy(() => ResponseBodyCreator$outboundSchema), - initReadyAt: z.number().optional(), - isFirstBranchDeployment: z.boolean().optional(), - lambdas: z.array( - z.lazy(() => GetDeploymentResponseBodyLambdas$outboundSchema), - ).optional(), - public: z.boolean(), - ready: z.number().optional(), - status: ResponseBodyStatus$outboundSchema, - team: z.lazy(() => GetDeploymentResponseBodyTeam$outboundSchema).optional(), - userAliases: z.array(z.string()).optional(), - previewCommentsEnabled: z.boolean().optional(), - ttyBuildLogs: z.boolean().optional(), - customEnvironment: z.union([ - z.lazy(() => GetDeploymentCustomEnvironmentDeployments1$outboundSchema), - z.lazy(() => GetDeploymentCustomEnvironmentDeployments2$outboundSchema), - ]).optional(), - aliasWarning: z.nullable( - z.lazy(() => GetDeploymentResponseBodyAliasWarning$outboundSchema), - ).optional(), - id: z.string(), - type: ResponseBodyType$outboundSchema, - createdAt: z.number(), - name: z.string(), - readyState: ResponseBodyReadyState$outboundSchema, - aliasError: z.nullable(z.lazy(() => ResponseBodyAliasError$outboundSchema)) - .optional(), - aliasFinal: z.nullable(z.string()).optional(), - autoAssignCustomDomains: z.boolean().optional(), - automaticAliases: z.array(z.string()).optional(), - buildErrorAt: z.number().optional(), - checksState: ResponseBodyChecksState$outboundSchema.optional(), - checksConclusion: ResponseBodyChecksConclusion$outboundSchema.optional(), - deletedAt: z.nullable(z.number()).optional(), - defaultRoute: z.string().optional(), - canceledAt: z.number().optional(), - errorCode: z.string().optional(), - errorLink: z.string().optional(), - errorMessage: z.nullable(z.string()).optional(), - errorStep: z.string().optional(), - passiveRegions: z.array(z.string()).optional(), - gitSource: z.union([ - z.lazy(() => GetDeploymentGitSourceDeployments6$outboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments8$outboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments1$outboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments3$outboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments2$outboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments4$outboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments5$outboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments7$outboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments9$outboundSchema), - ]).optional(), - meta: z.record(z.string()), - project: z.lazy(() => ResponseBodyProject$outboundSchema).optional(), - readySubstate: ResponseBodyReadySubstate$outboundSchema.optional(), - regions: z.array(z.string()), - softDeletedByRetention: z.boolean().optional(), - source: ResponseBodySource$outboundSchema.optional(), - target: z.nullable(ResponseBodyTarget$outboundSchema).optional(), - undeletedAt: z.number().optional(), - url: z.string(), - version: z.number(), - oidcTokenClaims: z.lazy(() => ResponseBodyOidcTokenClaims$outboundSchema) - .optional(), - projectId: z.string(), - plan: ResponseBodyPlan$outboundSchema, - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdIn: z.string(), - crons: z.array(z.lazy(() => ResponseBodyCrons$outboundSchema)).optional(), - functions: z.nullable( - z.record(z.lazy(() => ResponseBodyFunctions$outboundSchema)), - ).optional(), - monorepoManager: z.nullable(z.string()).optional(), - ownerId: z.string(), - passiveConnectConfigurationId: z.string().optional(), - routes: z.nullable( - z.array(z.union([ - z.lazy(() => GetDeploymentRoutes3$outboundSchema), - z.lazy(() => - GetDeploymentRoutes2$outboundSchema - ), - z.lazy(() => GetDeploymentRoutes1$outboundSchema), - ])), - ), - gitRepo: z.nullable( - z.union([ - z.lazy(() => GetDeploymentGitRepo1$outboundSchema), - z.lazy(() => GetDeploymentGitRepo2$outboundSchema), - z.lazy(() => GetDeploymentGitRepo3$outboundSchema), - ]), - ).optional(), - flags: z.union([ - z.lazy(() => GetDeploymentFlags1$outboundSchema), - z.array(z.lazy(() => GetDeploymentFlags2$outboundSchema)), - ]).optional(), - microfrontends: z.union([ - z.lazy(() => GetDeploymentMicrofrontends1$outboundSchema), - z.lazy(() => GetDeploymentMicrofrontends2$outboundSchema), - ]).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBody1$ { - /** @deprecated use `GetDeploymentResponseBody1$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentResponseBody1$inboundSchema; - /** @deprecated use `GetDeploymentResponseBody1$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentResponseBody1$outboundSchema; - /** @deprecated use `GetDeploymentResponseBody1$Outbound` instead. */ - export type Outbound = GetDeploymentResponseBody1$Outbound; -} - -export function getDeploymentResponseBody1ToJSON( - getDeploymentResponseBody1: GetDeploymentResponseBody1, -): string { - return JSON.stringify( - GetDeploymentResponseBody1$outboundSchema.parse(getDeploymentResponseBody1), - ); -} - -export function getDeploymentResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentResponseBody$inboundSchema: z.ZodType< - GetDeploymentResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetDeploymentResponseBody2$inboundSchema), - z.lazy(() => GetDeploymentResponseBody1$inboundSchema), -]); - -/** @internal */ -export type GetDeploymentResponseBody$Outbound = - | GetDeploymentResponseBody2$Outbound - | GetDeploymentResponseBody1$Outbound; - -/** @internal */ -export const GetDeploymentResponseBody$outboundSchema: z.ZodType< - GetDeploymentResponseBody$Outbound, - z.ZodTypeDef, - GetDeploymentResponseBody -> = z.union([ - z.lazy(() => GetDeploymentResponseBody2$outboundSchema), - z.lazy(() => GetDeploymentResponseBody1$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBody$ { - /** @deprecated use `GetDeploymentResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentResponseBody$inboundSchema; - /** @deprecated use `GetDeploymentResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentResponseBody$outboundSchema; - /** @deprecated use `GetDeploymentResponseBody$Outbound` instead. */ - export type Outbound = GetDeploymentResponseBody$Outbound; -} - -export function getDeploymentResponseBodyToJSON( - getDeploymentResponseBody: GetDeploymentResponseBody, -): string { - return JSON.stringify( - GetDeploymentResponseBody$outboundSchema.parse(getDeploymentResponseBody), - ); -} - -export function getDeploymentResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getdeploymentevents.ts b/src/models/operations/getdeploymentevents.ts deleted file mode 100644 index 53d2e4e4..00000000 --- a/src/models/operations/getdeploymentevents.ts +++ /dev/null @@ -1,221 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Order of the returned events based on the timestamp. - */ -export const Direction = { - Backward: "backward", - Forward: "forward", -} as const; -/** - * Order of the returned events based on the timestamp. - */ -export type Direction = ClosedEnum; - -/** - * HTTP status code range to filter events by. - */ -export type StatusCode = number | string; - -export type GetDeploymentEventsRequest = { - /** - * The unique identifier or hostname of the deployment. - */ - idOrUrl: string; - /** - * Order of the returned events based on the timestamp. - */ - direction?: Direction | undefined; - /** - * When enabled, this endpoint will return live events as they happen. - */ - follow?: number | undefined; - /** - * Maximum number of events to return. Provide `-1` to return all available logs. - */ - limit?: number | undefined; - /** - * Deployment build ID. - */ - name?: string | undefined; - /** - * Timestamp for when build logs should be pulled from. - */ - since?: number | undefined; - /** - * Timestamp for when the build logs should be pulled up until. - */ - until?: number | undefined; - /** - * HTTP status code range to filter events by. - */ - statusCode?: number | string | undefined; - delimiter?: number | undefined; - builds?: number | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const Direction$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Direction); - -/** @internal */ -export const Direction$outboundSchema: z.ZodNativeEnum = - Direction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Direction$ { - /** @deprecated use `Direction$inboundSchema` instead. */ - export const inboundSchema = Direction$inboundSchema; - /** @deprecated use `Direction$outboundSchema` instead. */ - export const outboundSchema = Direction$outboundSchema; -} - -/** @internal */ -export const StatusCode$inboundSchema: z.ZodType< - StatusCode, - z.ZodTypeDef, - unknown -> = z.union([z.number(), z.string()]); - -/** @internal */ -export type StatusCode$Outbound = number | string; - -/** @internal */ -export const StatusCode$outboundSchema: z.ZodType< - StatusCode$Outbound, - z.ZodTypeDef, - StatusCode -> = z.union([z.number(), z.string()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace StatusCode$ { - /** @deprecated use `StatusCode$inboundSchema` instead. */ - export const inboundSchema = StatusCode$inboundSchema; - /** @deprecated use `StatusCode$outboundSchema` instead. */ - export const outboundSchema = StatusCode$outboundSchema; - /** @deprecated use `StatusCode$Outbound` instead. */ - export type Outbound = StatusCode$Outbound; -} - -export function statusCodeToJSON(statusCode: StatusCode): string { - return JSON.stringify(StatusCode$outboundSchema.parse(statusCode)); -} - -export function statusCodeFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => StatusCode$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'StatusCode' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentEventsRequest$inboundSchema: z.ZodType< - GetDeploymentEventsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrUrl: z.string(), - direction: Direction$inboundSchema.default("forward"), - follow: z.number().optional(), - limit: z.number().optional(), - name: z.string().optional(), - since: z.number().optional(), - until: z.number().optional(), - statusCode: z.union([z.number(), z.string()]).optional(), - delimiter: z.number().optional(), - builds: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentEventsRequest$Outbound = { - idOrUrl: string; - direction: string; - follow?: number | undefined; - limit?: number | undefined; - name?: string | undefined; - since?: number | undefined; - until?: number | undefined; - statusCode?: number | string | undefined; - delimiter?: number | undefined; - builds?: number | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentEventsRequest$outboundSchema: z.ZodType< - GetDeploymentEventsRequest$Outbound, - z.ZodTypeDef, - GetDeploymentEventsRequest -> = z.object({ - idOrUrl: z.string(), - direction: Direction$outboundSchema.default("forward"), - follow: z.number().optional(), - limit: z.number().optional(), - name: z.string().optional(), - since: z.number().optional(), - until: z.number().optional(), - statusCode: z.union([z.number(), z.string()]).optional(), - delimiter: z.number().optional(), - builds: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentEventsRequest$ { - /** @deprecated use `GetDeploymentEventsRequest$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentEventsRequest$inboundSchema; - /** @deprecated use `GetDeploymentEventsRequest$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentEventsRequest$outboundSchema; - /** @deprecated use `GetDeploymentEventsRequest$Outbound` instead. */ - export type Outbound = GetDeploymentEventsRequest$Outbound; -} - -export function getDeploymentEventsRequestToJSON( - getDeploymentEventsRequest: GetDeploymentEventsRequest, -): string { - return JSON.stringify( - GetDeploymentEventsRequest$outboundSchema.parse(getDeploymentEventsRequest), - ); -} - -export function getDeploymentEventsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentEventsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentEventsRequest' from JSON`, - ); -} diff --git a/src/models/operations/getdeploymentfilecontents.ts b/src/models/operations/getdeploymentfilecontents.ts deleted file mode 100644 index ca908982..00000000 --- a/src/models/operations/getdeploymentfilecontents.ts +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetDeploymentFileContentsRequest = { - /** - * The unique deployment identifier - */ - id: string; - /** - * The unique file identifier - */ - fileId: string; - /** - * Path to the file to fetch (only for Git deployments) - */ - path?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentFileContentsRequest$inboundSchema: z.ZodType< - GetDeploymentFileContentsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - fileId: z.string(), - path: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentFileContentsRequest$Outbound = { - id: string; - fileId: string; - path?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentFileContentsRequest$outboundSchema: z.ZodType< - GetDeploymentFileContentsRequest$Outbound, - z.ZodTypeDef, - GetDeploymentFileContentsRequest -> = z.object({ - id: z.string(), - fileId: z.string(), - path: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentFileContentsRequest$ { - /** @deprecated use `GetDeploymentFileContentsRequest$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentFileContentsRequest$inboundSchema; - /** @deprecated use `GetDeploymentFileContentsRequest$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentFileContentsRequest$outboundSchema; - /** @deprecated use `GetDeploymentFileContentsRequest$Outbound` instead. */ - export type Outbound = GetDeploymentFileContentsRequest$Outbound; -} - -export function getDeploymentFileContentsRequestToJSON( - getDeploymentFileContentsRequest: GetDeploymentFileContentsRequest, -): string { - return JSON.stringify( - GetDeploymentFileContentsRequest$outboundSchema.parse( - getDeploymentFileContentsRequest, - ), - ); -} - -export function getDeploymentFileContentsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentFileContentsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentFileContentsRequest' from JSON`, - ); -} diff --git a/src/models/operations/getdeployments.ts b/src/models/operations/getdeployments.ts deleted file mode 100644 index 6ebb4f75..00000000 --- a/src/models/operations/getdeployments.ts +++ /dev/null @@ -1,1537 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - Pagination, - Pagination$inboundSchema, - Pagination$Outbound, - Pagination$outboundSchema, -} from "../components/pagination.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetDeploymentsRequest = { - /** - * Name of the deployment. - */ - app?: string | undefined; - /** - * Gets the deployment created after this Date timestamp. (default: current time) - */ - from?: number | undefined; - /** - * Maximum number of deployments to list from a request. - */ - limit?: number | undefined; - /** - * Filter deployments from the given ID or name. - */ - projectId?: string | undefined; - /** - * Filter deployments based on the environment. - */ - target?: string | undefined; - /** - * Gets the deployment created before this Date timestamp. (default: current time) - */ - to?: number | undefined; - /** - * Filter out deployments based on users who have created the deployment. - */ - users?: string | undefined; - /** - * Get Deployments created after this JavaScript timestamp. - */ - since?: number | undefined; - /** - * Get Deployments created before this JavaScript timestamp. - */ - until?: number | undefined; - /** - * Filter deployments based on their state (`BUILDING`, `ERROR`, `INITIALIZING`, `QUEUED`, `READY`, `CANCELED`) - */ - state?: string | undefined; - /** - * Filter deployments based on their rollback candidacy - */ - rollbackCandidate?: boolean | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * The source of the deployment. - */ -export const GetDeploymentsSource = { - ApiTriggerGitDeploy: "api-trigger-git-deploy", - Cli: "cli", - CloneRepo: "clone/repo", - Git: "git", - Import: "import", - ImportRepo: "import/repo", - Redeploy: "redeploy", - V0Web: "v0-web", -} as const; -/** - * The source of the deployment. - */ -export type GetDeploymentsSource = ClosedEnum; - -/** - * In which state is the deployment. - */ -export const GetDeploymentsState = { - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Queued: "QUEUED", - Ready: "READY", - Canceled: "CANCELED", - Deleted: "DELETED", -} as const; -/** - * In which state is the deployment. - */ -export type GetDeploymentsState = ClosedEnum; - -/** - * In which state is the deployment. - */ -export const GetDeploymentsReadyState = { - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Queued: "QUEUED", - Ready: "READY", - Canceled: "CANCELED", - Deleted: "DELETED", -} as const; -/** - * In which state is the deployment. - */ -export type GetDeploymentsReadyState = ClosedEnum< - typeof GetDeploymentsReadyState ->; - -/** - * The type of the deployment. - */ -export const GetDeploymentsType = { - Lambdas: "LAMBDAS", -} as const; -/** - * The type of the deployment. - */ -export type GetDeploymentsType = ClosedEnum; - -/** - * Metadata information of the user who created the deployment. - */ -export type GetDeploymentsCreator = { - /** - * The unique identifier of the user. - */ - uid: string; - /** - * The email address of the user. - */ - email?: string | undefined; - /** - * The username of the user. - */ - username?: string | undefined; - /** - * The GitHub login of the user. - */ - githubLogin?: string | undefined; - /** - * The GitLab login of the user. - */ - gitlabLogin?: string | undefined; -}; - -/** - * On which environment has the deployment been deployed to. - */ -export const GetDeploymentsTarget = { - Production: "production", - Staging: "staging", -} as const; -/** - * On which environment has the deployment been deployed to. - */ -export type GetDeploymentsTarget = ClosedEnum; - -/** - * An error object in case aliasing of the deployment failed. - */ -export type GetDeploymentsAliasError = { - code: string; - message: string; -}; - -export type GetDeploymentsAliasAssigned = number | boolean; - -/** - * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic - */ -export const GetDeploymentsReadySubstate = { - Staged: "STAGED", - Promoted: "PROMOTED", -} as const; -/** - * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic - */ -export type GetDeploymentsReadySubstate = ClosedEnum< - typeof GetDeploymentsReadySubstate ->; - -/** - * State of all registered checks - */ -export const GetDeploymentsChecksState = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -/** - * State of all registered checks - */ -export type GetDeploymentsChecksState = ClosedEnum< - typeof GetDeploymentsChecksState ->; - -/** - * Conclusion for checks - */ -export const GetDeploymentsChecksConclusion = { - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", - Canceled: "canceled", -} as const; -/** - * Conclusion for checks - */ -export type GetDeploymentsChecksConclusion = ClosedEnum< - typeof GetDeploymentsChecksConclusion ->; - -export const GetDeploymentsFramework = { - Blitzjs: "blitzjs", - Nextjs: "nextjs", - Gatsby: "gatsby", - Remix: "remix", - Astro: "astro", - Hexo: "hexo", - Eleventy: "eleventy", - Docusaurus2: "docusaurus-2", - Docusaurus: "docusaurus", - Preact: "preact", - Solidstart1: "solidstart-1", - Solidstart: "solidstart", - Dojo: "dojo", - Ember: "ember", - Vue: "vue", - Scully: "scully", - IonicAngular: "ionic-angular", - Angular: "angular", - Polymer: "polymer", - Svelte: "svelte", - Sveltekit: "sveltekit", - Sveltekit1: "sveltekit-1", - IonicReact: "ionic-react", - CreateReactApp: "create-react-app", - Gridsome: "gridsome", - Umijs: "umijs", - Sapper: "sapper", - Saber: "saber", - Stencil: "stencil", - Nuxtjs: "nuxtjs", - Redwoodjs: "redwoodjs", - Hugo: "hugo", - Jekyll: "jekyll", - Brunch: "brunch", - Middleman: "middleman", - Zola: "zola", - Hydrogen: "hydrogen", - Vite: "vite", - Vitepress: "vitepress", - Vuepress: "vuepress", - Parcel: "parcel", - Fasthtml: "fasthtml", - SanityV3: "sanity-v3", - Sanity: "sanity", - Storybook: "storybook", -} as const; -export type GetDeploymentsFramework = ClosedEnum< - typeof GetDeploymentsFramework ->; - -export const GetDeploymentsNodeVersion = { - TwentyTwoX: "22.x", - TwentyX: "20.x", - EighteenX: "18.x", - SixteenX: "16.x", - FourteenX: "14.x", - TwelveX: "12.x", - TenX: "10.x", - Eight10X: "8.10.x", -} as const; -export type GetDeploymentsNodeVersion = ClosedEnum< - typeof GetDeploymentsNodeVersion ->; - -export type GetDeploymentsSpeedInsights = { - id: string; - enabledAt?: number | undefined; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - hasData?: boolean | undefined; - paidAt?: number | undefined; -}; - -export type GetDeploymentsWebAnalytics = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; -}; - -/** - * Since June '23 - */ -export type GetDeploymentsGitComments = { - /** - * Whether the Vercel bot should comment on PRs - */ - onPullRequest: boolean; - /** - * Whether the Vercel bot should comment on commits - */ - onCommit: boolean; -}; - -/** - * The project settings which was used for this deployment - */ -export type GetDeploymentsProjectSettings = { - framework?: GetDeploymentsFramework | null | undefined; - gitForkProtection?: boolean | undefined; - customerSupportCodeVisibility?: boolean | undefined; - gitLFS?: boolean | undefined; - devCommand?: string | null | undefined; - installCommand?: string | null | undefined; - buildCommand?: string | null | undefined; - nodeVersion?: GetDeploymentsNodeVersion | undefined; - outputDirectory?: string | null | undefined; - publicSource?: boolean | null | undefined; - rootDirectory?: string | null | undefined; - serverlessFunctionRegion?: string | null | undefined; - sourceFilesOutsideRootDirectory?: boolean | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - createdAt?: number | undefined; - speedInsights?: GetDeploymentsSpeedInsights | undefined; - webAnalytics?: GetDeploymentsWebAnalytics | undefined; - skipGitConnectDuringLink?: boolean | undefined; - /** - * Since June '23 - */ - gitComments?: GetDeploymentsGitComments | undefined; -}; - -/** - * The custom environment used for this deployment, if any - */ -export type GetDeploymentsCustomEnvironment = { - id: string; - name?: string | undefined; -}; - -export type Deployments = { - /** - * The unique identifier of the deployment. - */ - uid: string; - /** - * The name of the deployment. - */ - name: string; - /** - * The URL of the deployment. - */ - url: string; - /** - * Timestamp of when the deployment got created. - */ - created: number; - /** - * Timestamp of when the deployment got deleted. - */ - deleted?: number | undefined; - /** - * Timestamp of when the deployment was undeleted. - */ - undeleted?: number | undefined; - /** - * Optional flag to indicate if the deployment was soft deleted by retention policy. - */ - softDeletedByRetention?: boolean | undefined; - /** - * The source of the deployment. - */ - source?: GetDeploymentsSource | undefined; - /** - * In which state is the deployment. - */ - state?: GetDeploymentsState | undefined; - /** - * In which state is the deployment. - */ - readyState?: GetDeploymentsReadyState | undefined; - /** - * The type of the deployment. - */ - type: GetDeploymentsType; - /** - * Metadata information of the user who created the deployment. - */ - creator: GetDeploymentsCreator; - /** - * Metadata information from the Git provider. - */ - meta?: { [k: string]: string } | undefined; - /** - * On which environment has the deployment been deployed to. - */ - target?: GetDeploymentsTarget | null | undefined; - /** - * An error object in case aliasing of the deployment failed. - */ - aliasError?: GetDeploymentsAliasError | null | undefined; - aliasAssigned?: number | boolean | null | undefined; - /** - * Timestamp of when the deployment got created. - */ - createdAt?: number | undefined; - /** - * Timestamp of when the deployment started building at. - */ - buildingAt?: number | undefined; - /** - * Timestamp of when the deployment got ready. - */ - ready?: number | undefined; - /** - * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic - */ - readySubstate?: GetDeploymentsReadySubstate | undefined; - /** - * State of all registered checks - */ - checksState?: GetDeploymentsChecksState | undefined; - /** - * Conclusion for checks - */ - checksConclusion?: GetDeploymentsChecksConclusion | undefined; - /** - * Vercel URL to inspect the deployment. - */ - inspectorUrl: string | null; - /** - * Deployment can be used for instant rollback - */ - isRollbackCandidate?: boolean | null | undefined; - /** - * The project settings which was used for this deployment - */ - projectSettings?: GetDeploymentsProjectSettings | undefined; - /** - * The flag saying if Secure Compute network is used for builds - */ - connectBuildsEnabled?: boolean | undefined; - /** - * The ID of Secure Compute network used for this deployment - */ - connectConfigurationId?: string | undefined; - /** - * The ID of Secure Compute network used for this deployment's passive functions - */ - passiveConnectConfigurationId?: string | undefined; - /** - * The expiration configured by the project retention policy - */ - expiration?: number | undefined; - /** - * The expiration proposed to replace the existing expiration - */ - proposedExpiration?: number | undefined; - /** - * The custom environment used for this deployment, if any - */ - customEnvironment?: GetDeploymentsCustomEnvironment | undefined; -}; - -export type GetDeploymentsResponseBody = { - /** - * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. - */ - pagination: Pagination; - deployments: Array; -}; - -/** @internal */ -export const GetDeploymentsRequest$inboundSchema: z.ZodType< - GetDeploymentsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - app: z.string().optional(), - from: z.number().optional(), - limit: z.number().optional(), - projectId: z.string().optional(), - target: z.string().optional(), - to: z.number().optional(), - users: z.string().optional(), - since: z.number().optional(), - until: z.number().optional(), - state: z.string().optional(), - rollbackCandidate: z.boolean().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentsRequest$Outbound = { - app?: string | undefined; - from?: number | undefined; - limit?: number | undefined; - projectId?: string | undefined; - target?: string | undefined; - to?: number | undefined; - users?: string | undefined; - since?: number | undefined; - until?: number | undefined; - state?: string | undefined; - rollbackCandidate?: boolean | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentsRequest$outboundSchema: z.ZodType< - GetDeploymentsRequest$Outbound, - z.ZodTypeDef, - GetDeploymentsRequest -> = z.object({ - app: z.string().optional(), - from: z.number().optional(), - limit: z.number().optional(), - projectId: z.string().optional(), - target: z.string().optional(), - to: z.number().optional(), - users: z.string().optional(), - since: z.number().optional(), - until: z.number().optional(), - state: z.string().optional(), - rollbackCandidate: z.boolean().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsRequest$ { - /** @deprecated use `GetDeploymentsRequest$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsRequest$inboundSchema; - /** @deprecated use `GetDeploymentsRequest$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsRequest$outboundSchema; - /** @deprecated use `GetDeploymentsRequest$Outbound` instead. */ - export type Outbound = GetDeploymentsRequest$Outbound; -} - -export function getDeploymentsRequestToJSON( - getDeploymentsRequest: GetDeploymentsRequest, -): string { - return JSON.stringify( - GetDeploymentsRequest$outboundSchema.parse(getDeploymentsRequest), - ); -} - -export function getDeploymentsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentsRequest' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentsSource$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsSource -> = z.nativeEnum(GetDeploymentsSource); - -/** @internal */ -export const GetDeploymentsSource$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsSource -> = GetDeploymentsSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsSource$ { - /** @deprecated use `GetDeploymentsSource$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsSource$inboundSchema; - /** @deprecated use `GetDeploymentsSource$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsSource$outboundSchema; -} - -/** @internal */ -export const GetDeploymentsState$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsState -> = z.nativeEnum(GetDeploymentsState); - -/** @internal */ -export const GetDeploymentsState$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsState -> = GetDeploymentsState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsState$ { - /** @deprecated use `GetDeploymentsState$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsState$inboundSchema; - /** @deprecated use `GetDeploymentsState$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsState$outboundSchema; -} - -/** @internal */ -export const GetDeploymentsReadyState$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsReadyState -> = z.nativeEnum(GetDeploymentsReadyState); - -/** @internal */ -export const GetDeploymentsReadyState$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsReadyState -> = GetDeploymentsReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsReadyState$ { - /** @deprecated use `GetDeploymentsReadyState$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsReadyState$inboundSchema; - /** @deprecated use `GetDeploymentsReadyState$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsReadyState$outboundSchema; -} - -/** @internal */ -export const GetDeploymentsType$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsType -> = z.nativeEnum(GetDeploymentsType); - -/** @internal */ -export const GetDeploymentsType$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsType -> = GetDeploymentsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsType$ { - /** @deprecated use `GetDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsType$inboundSchema; - /** @deprecated use `GetDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsType$outboundSchema; -} - -/** @internal */ -export const GetDeploymentsCreator$inboundSchema: z.ZodType< - GetDeploymentsCreator, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - email: z.string().optional(), - username: z.string().optional(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentsCreator$Outbound = { - uid: string; - email?: string | undefined; - username?: string | undefined; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentsCreator$outboundSchema: z.ZodType< - GetDeploymentsCreator$Outbound, - z.ZodTypeDef, - GetDeploymentsCreator -> = z.object({ - uid: z.string(), - email: z.string().optional(), - username: z.string().optional(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsCreator$ { - /** @deprecated use `GetDeploymentsCreator$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsCreator$inboundSchema; - /** @deprecated use `GetDeploymentsCreator$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsCreator$outboundSchema; - /** @deprecated use `GetDeploymentsCreator$Outbound` instead. */ - export type Outbound = GetDeploymentsCreator$Outbound; -} - -export function getDeploymentsCreatorToJSON( - getDeploymentsCreator: GetDeploymentsCreator, -): string { - return JSON.stringify( - GetDeploymentsCreator$outboundSchema.parse(getDeploymentsCreator), - ); -} - -export function getDeploymentsCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentsCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentsCreator' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentsTarget$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsTarget -> = z.nativeEnum(GetDeploymentsTarget); - -/** @internal */ -export const GetDeploymentsTarget$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsTarget -> = GetDeploymentsTarget$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsTarget$ { - /** @deprecated use `GetDeploymentsTarget$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsTarget$inboundSchema; - /** @deprecated use `GetDeploymentsTarget$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsTarget$outboundSchema; -} - -/** @internal */ -export const GetDeploymentsAliasError$inboundSchema: z.ZodType< - GetDeploymentsAliasError, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** @internal */ -export type GetDeploymentsAliasError$Outbound = { - code: string; - message: string; -}; - -/** @internal */ -export const GetDeploymentsAliasError$outboundSchema: z.ZodType< - GetDeploymentsAliasError$Outbound, - z.ZodTypeDef, - GetDeploymentsAliasError -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsAliasError$ { - /** @deprecated use `GetDeploymentsAliasError$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsAliasError$inboundSchema; - /** @deprecated use `GetDeploymentsAliasError$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsAliasError$outboundSchema; - /** @deprecated use `GetDeploymentsAliasError$Outbound` instead. */ - export type Outbound = GetDeploymentsAliasError$Outbound; -} - -export function getDeploymentsAliasErrorToJSON( - getDeploymentsAliasError: GetDeploymentsAliasError, -): string { - return JSON.stringify( - GetDeploymentsAliasError$outboundSchema.parse(getDeploymentsAliasError), - ); -} - -export function getDeploymentsAliasErrorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentsAliasError$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentsAliasError' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentsAliasAssigned$inboundSchema: z.ZodType< - GetDeploymentsAliasAssigned, - z.ZodTypeDef, - unknown -> = z.union([z.number(), z.boolean()]); - -/** @internal */ -export type GetDeploymentsAliasAssigned$Outbound = number | boolean; - -/** @internal */ -export const GetDeploymentsAliasAssigned$outboundSchema: z.ZodType< - GetDeploymentsAliasAssigned$Outbound, - z.ZodTypeDef, - GetDeploymentsAliasAssigned -> = z.union([z.number(), z.boolean()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsAliasAssigned$ { - /** @deprecated use `GetDeploymentsAliasAssigned$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsAliasAssigned$inboundSchema; - /** @deprecated use `GetDeploymentsAliasAssigned$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsAliasAssigned$outboundSchema; - /** @deprecated use `GetDeploymentsAliasAssigned$Outbound` instead. */ - export type Outbound = GetDeploymentsAliasAssigned$Outbound; -} - -export function getDeploymentsAliasAssignedToJSON( - getDeploymentsAliasAssigned: GetDeploymentsAliasAssigned, -): string { - return JSON.stringify( - GetDeploymentsAliasAssigned$outboundSchema.parse( - getDeploymentsAliasAssigned, - ), - ); -} - -export function getDeploymentsAliasAssignedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentsAliasAssigned$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentsAliasAssigned' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentsReadySubstate$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsReadySubstate -> = z.nativeEnum(GetDeploymentsReadySubstate); - -/** @internal */ -export const GetDeploymentsReadySubstate$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsReadySubstate -> = GetDeploymentsReadySubstate$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsReadySubstate$ { - /** @deprecated use `GetDeploymentsReadySubstate$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsReadySubstate$inboundSchema; - /** @deprecated use `GetDeploymentsReadySubstate$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsReadySubstate$outboundSchema; -} - -/** @internal */ -export const GetDeploymentsChecksState$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsChecksState -> = z.nativeEnum(GetDeploymentsChecksState); - -/** @internal */ -export const GetDeploymentsChecksState$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsChecksState -> = GetDeploymentsChecksState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsChecksState$ { - /** @deprecated use `GetDeploymentsChecksState$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsChecksState$inboundSchema; - /** @deprecated use `GetDeploymentsChecksState$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsChecksState$outboundSchema; -} - -/** @internal */ -export const GetDeploymentsChecksConclusion$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsChecksConclusion -> = z.nativeEnum(GetDeploymentsChecksConclusion); - -/** @internal */ -export const GetDeploymentsChecksConclusion$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsChecksConclusion -> = GetDeploymentsChecksConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsChecksConclusion$ { - /** @deprecated use `GetDeploymentsChecksConclusion$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsChecksConclusion$inboundSchema; - /** @deprecated use `GetDeploymentsChecksConclusion$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsChecksConclusion$outboundSchema; -} - -/** @internal */ -export const GetDeploymentsFramework$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsFramework -> = z.nativeEnum(GetDeploymentsFramework); - -/** @internal */ -export const GetDeploymentsFramework$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsFramework -> = GetDeploymentsFramework$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsFramework$ { - /** @deprecated use `GetDeploymentsFramework$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsFramework$inboundSchema; - /** @deprecated use `GetDeploymentsFramework$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsFramework$outboundSchema; -} - -/** @internal */ -export const GetDeploymentsNodeVersion$inboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsNodeVersion -> = z.nativeEnum(GetDeploymentsNodeVersion); - -/** @internal */ -export const GetDeploymentsNodeVersion$outboundSchema: z.ZodNativeEnum< - typeof GetDeploymentsNodeVersion -> = GetDeploymentsNodeVersion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsNodeVersion$ { - /** @deprecated use `GetDeploymentsNodeVersion$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsNodeVersion$inboundSchema; - /** @deprecated use `GetDeploymentsNodeVersion$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsNodeVersion$outboundSchema; -} - -/** @internal */ -export const GetDeploymentsSpeedInsights$inboundSchema: z.ZodType< - GetDeploymentsSpeedInsights, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - enabledAt: z.number().optional(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - hasData: z.boolean().optional(), - paidAt: z.number().optional(), -}); - -/** @internal */ -export type GetDeploymentsSpeedInsights$Outbound = { - id: string; - enabledAt?: number | undefined; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - hasData?: boolean | undefined; - paidAt?: number | undefined; -}; - -/** @internal */ -export const GetDeploymentsSpeedInsights$outboundSchema: z.ZodType< - GetDeploymentsSpeedInsights$Outbound, - z.ZodTypeDef, - GetDeploymentsSpeedInsights -> = z.object({ - id: z.string(), - enabledAt: z.number().optional(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - hasData: z.boolean().optional(), - paidAt: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsSpeedInsights$ { - /** @deprecated use `GetDeploymentsSpeedInsights$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsSpeedInsights$inboundSchema; - /** @deprecated use `GetDeploymentsSpeedInsights$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsSpeedInsights$outboundSchema; - /** @deprecated use `GetDeploymentsSpeedInsights$Outbound` instead. */ - export type Outbound = GetDeploymentsSpeedInsights$Outbound; -} - -export function getDeploymentsSpeedInsightsToJSON( - getDeploymentsSpeedInsights: GetDeploymentsSpeedInsights, -): string { - return JSON.stringify( - GetDeploymentsSpeedInsights$outboundSchema.parse( - getDeploymentsSpeedInsights, - ), - ); -} - -export function getDeploymentsSpeedInsightsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentsSpeedInsights$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentsSpeedInsights' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentsWebAnalytics$inboundSchema: z.ZodType< - GetDeploymentsWebAnalytics, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); - -/** @internal */ -export type GetDeploymentsWebAnalytics$Outbound = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; -}; - -/** @internal */ -export const GetDeploymentsWebAnalytics$outboundSchema: z.ZodType< - GetDeploymentsWebAnalytics$Outbound, - z.ZodTypeDef, - GetDeploymentsWebAnalytics -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsWebAnalytics$ { - /** @deprecated use `GetDeploymentsWebAnalytics$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsWebAnalytics$inboundSchema; - /** @deprecated use `GetDeploymentsWebAnalytics$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsWebAnalytics$outboundSchema; - /** @deprecated use `GetDeploymentsWebAnalytics$Outbound` instead. */ - export type Outbound = GetDeploymentsWebAnalytics$Outbound; -} - -export function getDeploymentsWebAnalyticsToJSON( - getDeploymentsWebAnalytics: GetDeploymentsWebAnalytics, -): string { - return JSON.stringify( - GetDeploymentsWebAnalytics$outboundSchema.parse(getDeploymentsWebAnalytics), - ); -} - -export function getDeploymentsWebAnalyticsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentsWebAnalytics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentsWebAnalytics' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentsGitComments$inboundSchema: z.ZodType< - GetDeploymentsGitComments, - z.ZodTypeDef, - unknown -> = z.object({ - onPullRequest: z.boolean(), - onCommit: z.boolean(), -}); - -/** @internal */ -export type GetDeploymentsGitComments$Outbound = { - onPullRequest: boolean; - onCommit: boolean; -}; - -/** @internal */ -export const GetDeploymentsGitComments$outboundSchema: z.ZodType< - GetDeploymentsGitComments$Outbound, - z.ZodTypeDef, - GetDeploymentsGitComments -> = z.object({ - onPullRequest: z.boolean(), - onCommit: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsGitComments$ { - /** @deprecated use `GetDeploymentsGitComments$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsGitComments$inboundSchema; - /** @deprecated use `GetDeploymentsGitComments$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsGitComments$outboundSchema; - /** @deprecated use `GetDeploymentsGitComments$Outbound` instead. */ - export type Outbound = GetDeploymentsGitComments$Outbound; -} - -export function getDeploymentsGitCommentsToJSON( - getDeploymentsGitComments: GetDeploymentsGitComments, -): string { - return JSON.stringify( - GetDeploymentsGitComments$outboundSchema.parse(getDeploymentsGitComments), - ); -} - -export function getDeploymentsGitCommentsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentsGitComments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentsGitComments' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentsProjectSettings$inboundSchema: z.ZodType< - GetDeploymentsProjectSettings, - z.ZodTypeDef, - unknown -> = z.object({ - framework: z.nullable(GetDeploymentsFramework$inboundSchema).optional(), - gitForkProtection: z.boolean().optional(), - customerSupportCodeVisibility: z.boolean().optional(), - gitLFS: z.boolean().optional(), - devCommand: z.nullable(z.string()).optional(), - installCommand: z.nullable(z.string()).optional(), - buildCommand: z.nullable(z.string()).optional(), - nodeVersion: GetDeploymentsNodeVersion$inboundSchema.optional(), - outputDirectory: z.nullable(z.string()).optional(), - publicSource: z.nullable(z.boolean()).optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - sourceFilesOutsideRootDirectory: z.boolean().optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - speedInsights: z.lazy(() => GetDeploymentsSpeedInsights$inboundSchema) - .optional(), - webAnalytics: z.lazy(() => GetDeploymentsWebAnalytics$inboundSchema) - .optional(), - skipGitConnectDuringLink: z.boolean().optional(), - gitComments: z.lazy(() => GetDeploymentsGitComments$inboundSchema).optional(), -}); - -/** @internal */ -export type GetDeploymentsProjectSettings$Outbound = { - framework?: string | null | undefined; - gitForkProtection?: boolean | undefined; - customerSupportCodeVisibility?: boolean | undefined; - gitLFS?: boolean | undefined; - devCommand?: string | null | undefined; - installCommand?: string | null | undefined; - buildCommand?: string | null | undefined; - nodeVersion?: string | undefined; - outputDirectory?: string | null | undefined; - publicSource?: boolean | null | undefined; - rootDirectory?: string | null | undefined; - serverlessFunctionRegion?: string | null | undefined; - sourceFilesOutsideRootDirectory?: boolean | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - createdAt?: number | undefined; - speedInsights?: GetDeploymentsSpeedInsights$Outbound | undefined; - webAnalytics?: GetDeploymentsWebAnalytics$Outbound | undefined; - skipGitConnectDuringLink?: boolean | undefined; - gitComments?: GetDeploymentsGitComments$Outbound | undefined; -}; - -/** @internal */ -export const GetDeploymentsProjectSettings$outboundSchema: z.ZodType< - GetDeploymentsProjectSettings$Outbound, - z.ZodTypeDef, - GetDeploymentsProjectSettings -> = z.object({ - framework: z.nullable(GetDeploymentsFramework$outboundSchema).optional(), - gitForkProtection: z.boolean().optional(), - customerSupportCodeVisibility: z.boolean().optional(), - gitLFS: z.boolean().optional(), - devCommand: z.nullable(z.string()).optional(), - installCommand: z.nullable(z.string()).optional(), - buildCommand: z.nullable(z.string()).optional(), - nodeVersion: GetDeploymentsNodeVersion$outboundSchema.optional(), - outputDirectory: z.nullable(z.string()).optional(), - publicSource: z.nullable(z.boolean()).optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - sourceFilesOutsideRootDirectory: z.boolean().optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - speedInsights: z.lazy(() => GetDeploymentsSpeedInsights$outboundSchema) - .optional(), - webAnalytics: z.lazy(() => GetDeploymentsWebAnalytics$outboundSchema) - .optional(), - skipGitConnectDuringLink: z.boolean().optional(), - gitComments: z.lazy(() => GetDeploymentsGitComments$outboundSchema) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsProjectSettings$ { - /** @deprecated use `GetDeploymentsProjectSettings$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsProjectSettings$inboundSchema; - /** @deprecated use `GetDeploymentsProjectSettings$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsProjectSettings$outboundSchema; - /** @deprecated use `GetDeploymentsProjectSettings$Outbound` instead. */ - export type Outbound = GetDeploymentsProjectSettings$Outbound; -} - -export function getDeploymentsProjectSettingsToJSON( - getDeploymentsProjectSettings: GetDeploymentsProjectSettings, -): string { - return JSON.stringify( - GetDeploymentsProjectSettings$outboundSchema.parse( - getDeploymentsProjectSettings, - ), - ); -} - -export function getDeploymentsProjectSettingsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentsProjectSettings$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentsProjectSettings' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentsCustomEnvironment$inboundSchema: z.ZodType< - GetDeploymentsCustomEnvironment, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string().optional(), -}); - -/** @internal */ -export type GetDeploymentsCustomEnvironment$Outbound = { - id: string; - name?: string | undefined; -}; - -/** @internal */ -export const GetDeploymentsCustomEnvironment$outboundSchema: z.ZodType< - GetDeploymentsCustomEnvironment$Outbound, - z.ZodTypeDef, - GetDeploymentsCustomEnvironment -> = z.object({ - id: z.string(), - name: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsCustomEnvironment$ { - /** @deprecated use `GetDeploymentsCustomEnvironment$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsCustomEnvironment$inboundSchema; - /** @deprecated use `GetDeploymentsCustomEnvironment$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsCustomEnvironment$outboundSchema; - /** @deprecated use `GetDeploymentsCustomEnvironment$Outbound` instead. */ - export type Outbound = GetDeploymentsCustomEnvironment$Outbound; -} - -export function getDeploymentsCustomEnvironmentToJSON( - getDeploymentsCustomEnvironment: GetDeploymentsCustomEnvironment, -): string { - return JSON.stringify( - GetDeploymentsCustomEnvironment$outboundSchema.parse( - getDeploymentsCustomEnvironment, - ), - ); -} - -export function getDeploymentsCustomEnvironmentFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentsCustomEnvironment$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentsCustomEnvironment' from JSON`, - ); -} - -/** @internal */ -export const Deployments$inboundSchema: z.ZodType< - Deployments, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - name: z.string(), - url: z.string(), - created: z.number(), - deleted: z.number().optional(), - undeleted: z.number().optional(), - softDeletedByRetention: z.boolean().optional(), - source: GetDeploymentsSource$inboundSchema.optional(), - state: GetDeploymentsState$inboundSchema.optional(), - readyState: GetDeploymentsReadyState$inboundSchema.optional(), - type: GetDeploymentsType$inboundSchema, - creator: z.lazy(() => GetDeploymentsCreator$inboundSchema), - meta: z.record(z.string()).optional(), - target: z.nullable(GetDeploymentsTarget$inboundSchema).optional(), - aliasError: z.nullable(z.lazy(() => GetDeploymentsAliasError$inboundSchema)) - .optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - createdAt: z.number().optional(), - buildingAt: z.number().optional(), - ready: z.number().optional(), - readySubstate: GetDeploymentsReadySubstate$inboundSchema.optional(), - checksState: GetDeploymentsChecksState$inboundSchema.optional(), - checksConclusion: GetDeploymentsChecksConclusion$inboundSchema.optional(), - inspectorUrl: z.nullable(z.string()), - isRollbackCandidate: z.nullable(z.boolean()).optional(), - projectSettings: z.lazy(() => GetDeploymentsProjectSettings$inboundSchema) - .optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - passiveConnectConfigurationId: z.string().optional(), - expiration: z.number().optional(), - proposedExpiration: z.number().optional(), - customEnvironment: z.lazy(() => GetDeploymentsCustomEnvironment$inboundSchema) - .optional(), -}); - -/** @internal */ -export type Deployments$Outbound = { - uid: string; - name: string; - url: string; - created: number; - deleted?: number | undefined; - undeleted?: number | undefined; - softDeletedByRetention?: boolean | undefined; - source?: string | undefined; - state?: string | undefined; - readyState?: string | undefined; - type: string; - creator: GetDeploymentsCreator$Outbound; - meta?: { [k: string]: string } | undefined; - target?: string | null | undefined; - aliasError?: GetDeploymentsAliasError$Outbound | null | undefined; - aliasAssigned?: number | boolean | null | undefined; - createdAt?: number | undefined; - buildingAt?: number | undefined; - ready?: number | undefined; - readySubstate?: string | undefined; - checksState?: string | undefined; - checksConclusion?: string | undefined; - inspectorUrl: string | null; - isRollbackCandidate?: boolean | null | undefined; - projectSettings?: GetDeploymentsProjectSettings$Outbound | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - passiveConnectConfigurationId?: string | undefined; - expiration?: number | undefined; - proposedExpiration?: number | undefined; - customEnvironment?: GetDeploymentsCustomEnvironment$Outbound | undefined; -}; - -/** @internal */ -export const Deployments$outboundSchema: z.ZodType< - Deployments$Outbound, - z.ZodTypeDef, - Deployments -> = z.object({ - uid: z.string(), - name: z.string(), - url: z.string(), - created: z.number(), - deleted: z.number().optional(), - undeleted: z.number().optional(), - softDeletedByRetention: z.boolean().optional(), - source: GetDeploymentsSource$outboundSchema.optional(), - state: GetDeploymentsState$outboundSchema.optional(), - readyState: GetDeploymentsReadyState$outboundSchema.optional(), - type: GetDeploymentsType$outboundSchema, - creator: z.lazy(() => GetDeploymentsCreator$outboundSchema), - meta: z.record(z.string()).optional(), - target: z.nullable(GetDeploymentsTarget$outboundSchema).optional(), - aliasError: z.nullable(z.lazy(() => GetDeploymentsAliasError$outboundSchema)) - .optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - createdAt: z.number().optional(), - buildingAt: z.number().optional(), - ready: z.number().optional(), - readySubstate: GetDeploymentsReadySubstate$outboundSchema.optional(), - checksState: GetDeploymentsChecksState$outboundSchema.optional(), - checksConclusion: GetDeploymentsChecksConclusion$outboundSchema.optional(), - inspectorUrl: z.nullable(z.string()), - isRollbackCandidate: z.nullable(z.boolean()).optional(), - projectSettings: z.lazy(() => GetDeploymentsProjectSettings$outboundSchema) - .optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - passiveConnectConfigurationId: z.string().optional(), - expiration: z.number().optional(), - proposedExpiration: z.number().optional(), - customEnvironment: z.lazy(() => - GetDeploymentsCustomEnvironment$outboundSchema - ).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Deployments$ { - /** @deprecated use `Deployments$inboundSchema` instead. */ - export const inboundSchema = Deployments$inboundSchema; - /** @deprecated use `Deployments$outboundSchema` instead. */ - export const outboundSchema = Deployments$outboundSchema; - /** @deprecated use `Deployments$Outbound` instead. */ - export type Outbound = Deployments$Outbound; -} - -export function deploymentsToJSON(deployments: Deployments): string { - return JSON.stringify(Deployments$outboundSchema.parse(deployments)); -} - -export function deploymentsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Deployments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Deployments' from JSON`, - ); -} - -/** @internal */ -export const GetDeploymentsResponseBody$inboundSchema: z.ZodType< - GetDeploymentsResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - pagination: Pagination$inboundSchema, - deployments: z.array(z.lazy(() => Deployments$inboundSchema)), -}); - -/** @internal */ -export type GetDeploymentsResponseBody$Outbound = { - pagination: Pagination$Outbound; - deployments: Array; -}; - -/** @internal */ -export const GetDeploymentsResponseBody$outboundSchema: z.ZodType< - GetDeploymentsResponseBody$Outbound, - z.ZodTypeDef, - GetDeploymentsResponseBody -> = z.object({ - pagination: Pagination$outboundSchema, - deployments: z.array(z.lazy(() => Deployments$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsResponseBody$ { - /** @deprecated use `GetDeploymentsResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsResponseBody$inboundSchema; - /** @deprecated use `GetDeploymentsResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsResponseBody$outboundSchema; - /** @deprecated use `GetDeploymentsResponseBody$Outbound` instead. */ - export type Outbound = GetDeploymentsResponseBody$Outbound; -} - -export function getDeploymentsResponseBodyToJSON( - getDeploymentsResponseBody: GetDeploymentsResponseBody, -): string { - return JSON.stringify( - GetDeploymentsResponseBody$outboundSchema.parse(getDeploymentsResponseBody), - ); -} - -export function getDeploymentsResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDeploymentsResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDeploymentsResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getdomain.ts b/src/models/operations/getdomain.ts deleted file mode 100644 index 8121fdc0..00000000 --- a/src/models/operations/getdomain.ts +++ /dev/null @@ -1,423 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetDomainRequest = { - /** - * The name of the domain. - */ - domain: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * An object containing information of the domain creator, including the user's id, username, and email. - */ -export type GetDomainCreator = { - username: string; - email: string; - customerId?: string | null | undefined; - isDomainReseller?: boolean | undefined; - id: string; -}; - -/** - * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. - */ -export const ServiceType = { - ZeitWorld: "zeit.world", - External: "external", - Na: "na", -} as const; -/** - * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. - */ -export type ServiceType = ClosedEnum; - -export type GetDomainDomain = { - suffix: boolean; - /** - * If the domain has the ownership verified. - */ - verified: boolean; - /** - * A list of the current nameservers of the domain. - */ - nameservers: Array; - /** - * A list of the intended nameservers for the domain to point to Vercel DNS. - */ - intendedNameservers: Array; - /** - * A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel. - */ - customNameservers?: Array | undefined; - /** - * An object containing information of the domain creator, including the user's id, username, and email. - */ - creator: GetDomainCreator; - teamId: string | null; - userId: string; - /** - * If it was purchased through Vercel, the timestamp in milliseconds when it was purchased. - */ - boughtAt: number | null; - /** - * Timestamp in milliseconds when the domain was created in the registry. - */ - createdAt: number; - /** - * Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel. - */ - expiresAt: number | null; - /** - * The unique identifier of the domain. - */ - id: string; - /** - * The domain name. - */ - name: string; - /** - * Timestamp in milliseconds at which the domain was ordered. - */ - orderedAt?: number | undefined; - /** - * Indicates whether the domain is set to automatically renew. - */ - renew?: boolean | undefined; - /** - * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. - */ - serviceType: ServiceType; - /** - * Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in. - */ - transferredAt?: number | null | undefined; - /** - * If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated. - */ - transferStartedAt?: number | undefined; -}; - -/** - * Successful response retrieving an information for a specific domains. - */ -export type GetDomainResponseBody = { - domain: GetDomainDomain; -}; - -/** @internal */ -export const GetDomainRequest$inboundSchema: z.ZodType< - GetDomainRequest, - z.ZodTypeDef, - unknown -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetDomainRequest$Outbound = { - domain: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetDomainRequest$outboundSchema: z.ZodType< - GetDomainRequest$Outbound, - z.ZodTypeDef, - GetDomainRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainRequest$ { - /** @deprecated use `GetDomainRequest$inboundSchema` instead. */ - export const inboundSchema = GetDomainRequest$inboundSchema; - /** @deprecated use `GetDomainRequest$outboundSchema` instead. */ - export const outboundSchema = GetDomainRequest$outboundSchema; - /** @deprecated use `GetDomainRequest$Outbound` instead. */ - export type Outbound = GetDomainRequest$Outbound; -} - -export function getDomainRequestToJSON( - getDomainRequest: GetDomainRequest, -): string { - return JSON.stringify( - GetDomainRequest$outboundSchema.parse(getDomainRequest), - ); -} - -export function getDomainRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDomainRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDomainRequest' from JSON`, - ); -} - -/** @internal */ -export const GetDomainCreator$inboundSchema: z.ZodType< - GetDomainCreator, - z.ZodTypeDef, - unknown -> = z.object({ - username: z.string(), - email: z.string(), - customerId: z.nullable(z.string()).optional(), - isDomainReseller: z.boolean().optional(), - id: z.string(), -}); - -/** @internal */ -export type GetDomainCreator$Outbound = { - username: string; - email: string; - customerId?: string | null | undefined; - isDomainReseller?: boolean | undefined; - id: string; -}; - -/** @internal */ -export const GetDomainCreator$outboundSchema: z.ZodType< - GetDomainCreator$Outbound, - z.ZodTypeDef, - GetDomainCreator -> = z.object({ - username: z.string(), - email: z.string(), - customerId: z.nullable(z.string()).optional(), - isDomainReseller: z.boolean().optional(), - id: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainCreator$ { - /** @deprecated use `GetDomainCreator$inboundSchema` instead. */ - export const inboundSchema = GetDomainCreator$inboundSchema; - /** @deprecated use `GetDomainCreator$outboundSchema` instead. */ - export const outboundSchema = GetDomainCreator$outboundSchema; - /** @deprecated use `GetDomainCreator$Outbound` instead. */ - export type Outbound = GetDomainCreator$Outbound; -} - -export function getDomainCreatorToJSON( - getDomainCreator: GetDomainCreator, -): string { - return JSON.stringify( - GetDomainCreator$outboundSchema.parse(getDomainCreator), - ); -} - -export function getDomainCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDomainCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDomainCreator' from JSON`, - ); -} - -/** @internal */ -export const ServiceType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ServiceType); - -/** @internal */ -export const ServiceType$outboundSchema: z.ZodNativeEnum = - ServiceType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ServiceType$ { - /** @deprecated use `ServiceType$inboundSchema` instead. */ - export const inboundSchema = ServiceType$inboundSchema; - /** @deprecated use `ServiceType$outboundSchema` instead. */ - export const outboundSchema = ServiceType$outboundSchema; -} - -/** @internal */ -export const GetDomainDomain$inboundSchema: z.ZodType< - GetDomainDomain, - z.ZodTypeDef, - unknown -> = z.object({ - suffix: z.boolean(), - verified: z.boolean(), - nameservers: z.array(z.string()), - intendedNameservers: z.array(z.string()), - customNameservers: z.array(z.string()).optional(), - creator: z.lazy(() => GetDomainCreator$inboundSchema), - teamId: z.nullable(z.string()), - userId: z.string(), - boughtAt: z.nullable(z.number()), - createdAt: z.number(), - expiresAt: z.nullable(z.number()), - id: z.string(), - name: z.string(), - orderedAt: z.number().optional(), - renew: z.boolean().optional(), - serviceType: ServiceType$inboundSchema, - transferredAt: z.nullable(z.number()).optional(), - transferStartedAt: z.number().optional(), -}); - -/** @internal */ -export type GetDomainDomain$Outbound = { - suffix: boolean; - verified: boolean; - nameservers: Array; - intendedNameservers: Array; - customNameservers?: Array | undefined; - creator: GetDomainCreator$Outbound; - teamId: string | null; - userId: string; - boughtAt: number | null; - createdAt: number; - expiresAt: number | null; - id: string; - name: string; - orderedAt?: number | undefined; - renew?: boolean | undefined; - serviceType: string; - transferredAt?: number | null | undefined; - transferStartedAt?: number | undefined; -}; - -/** @internal */ -export const GetDomainDomain$outboundSchema: z.ZodType< - GetDomainDomain$Outbound, - z.ZodTypeDef, - GetDomainDomain -> = z.object({ - suffix: z.boolean(), - verified: z.boolean(), - nameservers: z.array(z.string()), - intendedNameservers: z.array(z.string()), - customNameservers: z.array(z.string()).optional(), - creator: z.lazy(() => GetDomainCreator$outboundSchema), - teamId: z.nullable(z.string()), - userId: z.string(), - boughtAt: z.nullable(z.number()), - createdAt: z.number(), - expiresAt: z.nullable(z.number()), - id: z.string(), - name: z.string(), - orderedAt: z.number().optional(), - renew: z.boolean().optional(), - serviceType: ServiceType$outboundSchema, - transferredAt: z.nullable(z.number()).optional(), - transferStartedAt: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainDomain$ { - /** @deprecated use `GetDomainDomain$inboundSchema` instead. */ - export const inboundSchema = GetDomainDomain$inboundSchema; - /** @deprecated use `GetDomainDomain$outboundSchema` instead. */ - export const outboundSchema = GetDomainDomain$outboundSchema; - /** @deprecated use `GetDomainDomain$Outbound` instead. */ - export type Outbound = GetDomainDomain$Outbound; -} - -export function getDomainDomainToJSON( - getDomainDomain: GetDomainDomain, -): string { - return JSON.stringify(GetDomainDomain$outboundSchema.parse(getDomainDomain)); -} - -export function getDomainDomainFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDomainDomain$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDomainDomain' from JSON`, - ); -} - -/** @internal */ -export const GetDomainResponseBody$inboundSchema: z.ZodType< - GetDomainResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - domain: z.lazy(() => GetDomainDomain$inboundSchema), -}); - -/** @internal */ -export type GetDomainResponseBody$Outbound = { - domain: GetDomainDomain$Outbound; -}; - -/** @internal */ -export const GetDomainResponseBody$outboundSchema: z.ZodType< - GetDomainResponseBody$Outbound, - z.ZodTypeDef, - GetDomainResponseBody -> = z.object({ - domain: z.lazy(() => GetDomainDomain$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainResponseBody$ { - /** @deprecated use `GetDomainResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetDomainResponseBody$inboundSchema; - /** @deprecated use `GetDomainResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetDomainResponseBody$outboundSchema; - /** @deprecated use `GetDomainResponseBody$Outbound` instead. */ - export type Outbound = GetDomainResponseBody$Outbound; -} - -export function getDomainResponseBodyToJSON( - getDomainResponseBody: GetDomainResponseBody, -): string { - return JSON.stringify( - GetDomainResponseBody$outboundSchema.parse(getDomainResponseBody), - ); -} - -export function getDomainResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDomainResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDomainResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getdomainconfig.ts b/src/models/operations/getdomainconfig.ts deleted file mode 100644 index acb0c6c4..00000000 --- a/src/models/operations/getdomainconfig.ts +++ /dev/null @@ -1,265 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain's parent zone. - */ -export const Strict = { - True: "true", - False: "false", -} as const; -/** - * When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain's parent zone. - */ -export type Strict = ClosedEnum; - -export type GetDomainConfigRequest = { - /** - * The name of the domain. - */ - domain: string; - /** - * When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain's parent zone. - */ - strict?: Strict | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to Vercel. - `A`: Domain's A record is resolving to Vercel. - `http`: Domain is resolving to Vercel but may be behind a Proxy. - `dns-01`: Domain is not resolving to Vercel but dns-01 challenge is enabled. - `null`: Domain is not resolving to Vercel. - */ -export const ConfiguredBy = { - Cname: "CNAME", - A: "A", - Http: "http", - Dns01: "dns-01", -} as const; -/** - * How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to Vercel. - `A`: Domain's A record is resolving to Vercel. - `http`: Domain is resolving to Vercel but may be behind a Proxy. - `dns-01`: Domain is not resolving to Vercel but dns-01 challenge is enabled. - `null`: Domain is not resolving to Vercel. - */ -export type ConfiguredBy = ClosedEnum; - -/** - * Which challenge types the domain can use for issuing certs. - */ -export const AcceptedChallenges = { - Dns01: "dns-01", - Http01: "http-01", -} as const; -/** - * Which challenge types the domain can use for issuing certs. - */ -export type AcceptedChallenges = ClosedEnum; - -export type GetDomainConfigResponseBody = { - /** - * How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to Vercel. - `A`: Domain's A record is resolving to Vercel. - `http`: Domain is resolving to Vercel but may be behind a Proxy. - `dns-01`: Domain is not resolving to Vercel but dns-01 challenge is enabled. - `null`: Domain is not resolving to Vercel. - */ - configuredBy?: ConfiguredBy | null | undefined; - /** - * Which challenge types the domain can use for issuing certs. - */ - acceptedChallenges?: Array | undefined; - /** - * Whether or not the domain is configured AND we can automatically generate a TLS certificate. - */ - misconfigured: boolean; -}; - -/** @internal */ -export const Strict$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Strict); - -/** @internal */ -export const Strict$outboundSchema: z.ZodNativeEnum = - Strict$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Strict$ { - /** @deprecated use `Strict$inboundSchema` instead. */ - export const inboundSchema = Strict$inboundSchema; - /** @deprecated use `Strict$outboundSchema` instead. */ - export const outboundSchema = Strict$outboundSchema; -} - -/** @internal */ -export const GetDomainConfigRequest$inboundSchema: z.ZodType< - GetDomainConfigRequest, - z.ZodTypeDef, - unknown -> = z.object({ - domain: z.string(), - strict: Strict$inboundSchema.optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetDomainConfigRequest$Outbound = { - domain: string; - strict?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetDomainConfigRequest$outboundSchema: z.ZodType< - GetDomainConfigRequest$Outbound, - z.ZodTypeDef, - GetDomainConfigRequest -> = z.object({ - domain: z.string(), - strict: Strict$outboundSchema.optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainConfigRequest$ { - /** @deprecated use `GetDomainConfigRequest$inboundSchema` instead. */ - export const inboundSchema = GetDomainConfigRequest$inboundSchema; - /** @deprecated use `GetDomainConfigRequest$outboundSchema` instead. */ - export const outboundSchema = GetDomainConfigRequest$outboundSchema; - /** @deprecated use `GetDomainConfigRequest$Outbound` instead. */ - export type Outbound = GetDomainConfigRequest$Outbound; -} - -export function getDomainConfigRequestToJSON( - getDomainConfigRequest: GetDomainConfigRequest, -): string { - return JSON.stringify( - GetDomainConfigRequest$outboundSchema.parse(getDomainConfigRequest), - ); -} - -export function getDomainConfigRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDomainConfigRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDomainConfigRequest' from JSON`, - ); -} - -/** @internal */ -export const ConfiguredBy$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(ConfiguredBy); - -/** @internal */ -export const ConfiguredBy$outboundSchema: z.ZodNativeEnum = - ConfiguredBy$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ConfiguredBy$ { - /** @deprecated use `ConfiguredBy$inboundSchema` instead. */ - export const inboundSchema = ConfiguredBy$inboundSchema; - /** @deprecated use `ConfiguredBy$outboundSchema` instead. */ - export const outboundSchema = ConfiguredBy$outboundSchema; -} - -/** @internal */ -export const AcceptedChallenges$inboundSchema: z.ZodNativeEnum< - typeof AcceptedChallenges -> = z.nativeEnum(AcceptedChallenges); - -/** @internal */ -export const AcceptedChallenges$outboundSchema: z.ZodNativeEnum< - typeof AcceptedChallenges -> = AcceptedChallenges$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AcceptedChallenges$ { - /** @deprecated use `AcceptedChallenges$inboundSchema` instead. */ - export const inboundSchema = AcceptedChallenges$inboundSchema; - /** @deprecated use `AcceptedChallenges$outboundSchema` instead. */ - export const outboundSchema = AcceptedChallenges$outboundSchema; -} - -/** @internal */ -export const GetDomainConfigResponseBody$inboundSchema: z.ZodType< - GetDomainConfigResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - configuredBy: z.nullable(ConfiguredBy$inboundSchema).optional(), - acceptedChallenges: z.array(AcceptedChallenges$inboundSchema).optional(), - misconfigured: z.boolean(), -}); - -/** @internal */ -export type GetDomainConfigResponseBody$Outbound = { - configuredBy?: string | null | undefined; - acceptedChallenges?: Array | undefined; - misconfigured: boolean; -}; - -/** @internal */ -export const GetDomainConfigResponseBody$outboundSchema: z.ZodType< - GetDomainConfigResponseBody$Outbound, - z.ZodTypeDef, - GetDomainConfigResponseBody -> = z.object({ - configuredBy: z.nullable(ConfiguredBy$outboundSchema).optional(), - acceptedChallenges: z.array(AcceptedChallenges$outboundSchema).optional(), - misconfigured: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainConfigResponseBody$ { - /** @deprecated use `GetDomainConfigResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetDomainConfigResponseBody$inboundSchema; - /** @deprecated use `GetDomainConfigResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetDomainConfigResponseBody$outboundSchema; - /** @deprecated use `GetDomainConfigResponseBody$Outbound` instead. */ - export type Outbound = GetDomainConfigResponseBody$Outbound; -} - -export function getDomainConfigResponseBodyToJSON( - getDomainConfigResponseBody: GetDomainConfigResponseBody, -): string { - return JSON.stringify( - GetDomainConfigResponseBody$outboundSchema.parse( - getDomainConfigResponseBody, - ), - ); -} - -export function getDomainConfigResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDomainConfigResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDomainConfigResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getdomains.ts b/src/models/operations/getdomains.ts deleted file mode 100644 index e00a5d5e..00000000 --- a/src/models/operations/getdomains.ts +++ /dev/null @@ -1,443 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - Pagination, - Pagination$inboundSchema, - Pagination$Outbound, - Pagination$outboundSchema, -} from "../components/pagination.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetDomainsRequest = { - /** - * Maximum number of domains to list from a request. - */ - limit?: number | undefined; - /** - * Get domains created after this JavaScript timestamp. - */ - since?: number | undefined; - /** - * Get domains created before this JavaScript timestamp. - */ - until?: number | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * An object containing information of the domain creator, including the user's id, username, and email. - */ -export type GetDomainsCreator = { - username: string; - email: string; - customerId?: string | null | undefined; - isDomainReseller?: boolean | undefined; - id: string; -}; - -/** - * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. - */ -export const GetDomainsServiceType = { - ZeitWorld: "zeit.world", - External: "external", - Na: "na", -} as const; -/** - * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. - */ -export type GetDomainsServiceType = ClosedEnum; - -export type Domains = { - /** - * If the domain has the ownership verified. - */ - verified: boolean; - /** - * A list of the current nameservers of the domain. - */ - nameservers: Array; - /** - * A list of the intended nameservers for the domain to point to Vercel DNS. - */ - intendedNameservers: Array; - /** - * A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel. - */ - customNameservers?: Array | undefined; - /** - * An object containing information of the domain creator, including the user's id, username, and email. - */ - creator: GetDomainsCreator; - teamId: string | null; - /** - * Timestamp in milliseconds when the domain was created in the registry. - */ - createdAt: number; - /** - * If it was purchased through Vercel, the timestamp in milliseconds when it was purchased. - */ - boughtAt: number | null; - /** - * Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel. - */ - expiresAt: number | null; - /** - * The unique identifier of the domain. - */ - id: string; - /** - * The domain name. - */ - name: string; - /** - * Timestamp in milliseconds at which the domain was ordered. - */ - orderedAt?: number | undefined; - /** - * Indicates whether the domain is set to automatically renew. - */ - renew?: boolean | undefined; - /** - * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available. - */ - serviceType: GetDomainsServiceType; - /** - * Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in. - */ - transferredAt?: number | null | undefined; - /** - * If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated. - */ - transferStartedAt?: number | undefined; - userId: string; -}; - -/** - * Successful response retrieving a list of domains. - */ -export type GetDomainsResponseBody = { - domains: Array; - /** - * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. - */ - pagination: Pagination; -}; - -/** @internal */ -export const GetDomainsRequest$inboundSchema: z.ZodType< - GetDomainsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - limit: z.number().optional(), - since: z.number().optional(), - until: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetDomainsRequest$Outbound = { - limit?: number | undefined; - since?: number | undefined; - until?: number | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetDomainsRequest$outboundSchema: z.ZodType< - GetDomainsRequest$Outbound, - z.ZodTypeDef, - GetDomainsRequest -> = z.object({ - limit: z.number().optional(), - since: z.number().optional(), - until: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainsRequest$ { - /** @deprecated use `GetDomainsRequest$inboundSchema` instead. */ - export const inboundSchema = GetDomainsRequest$inboundSchema; - /** @deprecated use `GetDomainsRequest$outboundSchema` instead. */ - export const outboundSchema = GetDomainsRequest$outboundSchema; - /** @deprecated use `GetDomainsRequest$Outbound` instead. */ - export type Outbound = GetDomainsRequest$Outbound; -} - -export function getDomainsRequestToJSON( - getDomainsRequest: GetDomainsRequest, -): string { - return JSON.stringify( - GetDomainsRequest$outboundSchema.parse(getDomainsRequest), - ); -} - -export function getDomainsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDomainsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDomainsRequest' from JSON`, - ); -} - -/** @internal */ -export const GetDomainsCreator$inboundSchema: z.ZodType< - GetDomainsCreator, - z.ZodTypeDef, - unknown -> = z.object({ - username: z.string(), - email: z.string(), - customerId: z.nullable(z.string()).optional(), - isDomainReseller: z.boolean().optional(), - id: z.string(), -}); - -/** @internal */ -export type GetDomainsCreator$Outbound = { - username: string; - email: string; - customerId?: string | null | undefined; - isDomainReseller?: boolean | undefined; - id: string; -}; - -/** @internal */ -export const GetDomainsCreator$outboundSchema: z.ZodType< - GetDomainsCreator$Outbound, - z.ZodTypeDef, - GetDomainsCreator -> = z.object({ - username: z.string(), - email: z.string(), - customerId: z.nullable(z.string()).optional(), - isDomainReseller: z.boolean().optional(), - id: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainsCreator$ { - /** @deprecated use `GetDomainsCreator$inboundSchema` instead. */ - export const inboundSchema = GetDomainsCreator$inboundSchema; - /** @deprecated use `GetDomainsCreator$outboundSchema` instead. */ - export const outboundSchema = GetDomainsCreator$outboundSchema; - /** @deprecated use `GetDomainsCreator$Outbound` instead. */ - export type Outbound = GetDomainsCreator$Outbound; -} - -export function getDomainsCreatorToJSON( - getDomainsCreator: GetDomainsCreator, -): string { - return JSON.stringify( - GetDomainsCreator$outboundSchema.parse(getDomainsCreator), - ); -} - -export function getDomainsCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDomainsCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDomainsCreator' from JSON`, - ); -} - -/** @internal */ -export const GetDomainsServiceType$inboundSchema: z.ZodNativeEnum< - typeof GetDomainsServiceType -> = z.nativeEnum(GetDomainsServiceType); - -/** @internal */ -export const GetDomainsServiceType$outboundSchema: z.ZodNativeEnum< - typeof GetDomainsServiceType -> = GetDomainsServiceType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainsServiceType$ { - /** @deprecated use `GetDomainsServiceType$inboundSchema` instead. */ - export const inboundSchema = GetDomainsServiceType$inboundSchema; - /** @deprecated use `GetDomainsServiceType$outboundSchema` instead. */ - export const outboundSchema = GetDomainsServiceType$outboundSchema; -} - -/** @internal */ -export const Domains$inboundSchema: z.ZodType = - z.object({ - verified: z.boolean(), - nameservers: z.array(z.string()), - intendedNameservers: z.array(z.string()), - customNameservers: z.array(z.string()).optional(), - creator: z.lazy(() => GetDomainsCreator$inboundSchema), - teamId: z.nullable(z.string()), - createdAt: z.number(), - boughtAt: z.nullable(z.number()), - expiresAt: z.nullable(z.number()), - id: z.string(), - name: z.string(), - orderedAt: z.number().optional(), - renew: z.boolean().optional(), - serviceType: GetDomainsServiceType$inboundSchema, - transferredAt: z.nullable(z.number()).optional(), - transferStartedAt: z.number().optional(), - userId: z.string(), - }); - -/** @internal */ -export type Domains$Outbound = { - verified: boolean; - nameservers: Array; - intendedNameservers: Array; - customNameservers?: Array | undefined; - creator: GetDomainsCreator$Outbound; - teamId: string | null; - createdAt: number; - boughtAt: number | null; - expiresAt: number | null; - id: string; - name: string; - orderedAt?: number | undefined; - renew?: boolean | undefined; - serviceType: string; - transferredAt?: number | null | undefined; - transferStartedAt?: number | undefined; - userId: string; -}; - -/** @internal */ -export const Domains$outboundSchema: z.ZodType< - Domains$Outbound, - z.ZodTypeDef, - Domains -> = z.object({ - verified: z.boolean(), - nameservers: z.array(z.string()), - intendedNameservers: z.array(z.string()), - customNameservers: z.array(z.string()).optional(), - creator: z.lazy(() => GetDomainsCreator$outboundSchema), - teamId: z.nullable(z.string()), - createdAt: z.number(), - boughtAt: z.nullable(z.number()), - expiresAt: z.nullable(z.number()), - id: z.string(), - name: z.string(), - orderedAt: z.number().optional(), - renew: z.boolean().optional(), - serviceType: GetDomainsServiceType$outboundSchema, - transferredAt: z.nullable(z.number()).optional(), - transferStartedAt: z.number().optional(), - userId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Domains$ { - /** @deprecated use `Domains$inboundSchema` instead. */ - export const inboundSchema = Domains$inboundSchema; - /** @deprecated use `Domains$outboundSchema` instead. */ - export const outboundSchema = Domains$outboundSchema; - /** @deprecated use `Domains$Outbound` instead. */ - export type Outbound = Domains$Outbound; -} - -export function domainsToJSON(domains: Domains): string { - return JSON.stringify(Domains$outboundSchema.parse(domains)); -} - -export function domainsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Domains$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Domains' from JSON`, - ); -} - -/** @internal */ -export const GetDomainsResponseBody$inboundSchema: z.ZodType< - GetDomainsResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - domains: z.array(z.lazy(() => Domains$inboundSchema)), - pagination: Pagination$inboundSchema, -}); - -/** @internal */ -export type GetDomainsResponseBody$Outbound = { - domains: Array; - pagination: Pagination$Outbound; -}; - -/** @internal */ -export const GetDomainsResponseBody$outboundSchema: z.ZodType< - GetDomainsResponseBody$Outbound, - z.ZodTypeDef, - GetDomainsResponseBody -> = z.object({ - domains: z.array(z.lazy(() => Domains$outboundSchema)), - pagination: Pagination$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainsResponseBody$ { - /** @deprecated use `GetDomainsResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetDomainsResponseBody$inboundSchema; - /** @deprecated use `GetDomainsResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetDomainsResponseBody$outboundSchema; - /** @deprecated use `GetDomainsResponseBody$Outbound` instead. */ - export type Outbound = GetDomainsResponseBody$Outbound; -} - -export function getDomainsResponseBodyToJSON( - getDomainsResponseBody: GetDomainsResponseBody, -): string { - return JSON.stringify( - GetDomainsResponseBody$outboundSchema.parse(getDomainsResponseBody), - ); -} - -export function getDomainsResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDomainsResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDomainsResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getdomaintransfer.ts b/src/models/operations/getdomaintransfer.ts deleted file mode 100644 index e234662f..00000000 --- a/src/models/operations/getdomaintransfer.ts +++ /dev/null @@ -1,241 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetDomainTransferRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - domain: string; -}; - -/** - * The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar. - */ -export const TransferPolicy = { - ChargeAndRenew: "charge-and-renew", - NoChargeNoChange: "no-charge-no-change", - NoChange: "no-change", - NewTerm: "new-term", - NotSupported: "not-supported", -} as const; -/** - * The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar. - */ -export type TransferPolicy = ClosedEnum; - -/** - * The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar. - */ -export const GetDomainTransferStatus = { - PendingOwner: "pending_owner", - PendingAdmin: "pending_admin", - PendingRegistry: "pending_registry", - Completed: "completed", - Cancelled: "cancelled", - Undef: "undef", - Unknown: "unknown", -} as const; -/** - * The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar. - */ -export type GetDomainTransferStatus = ClosedEnum< - typeof GetDomainTransferStatus ->; - -export type GetDomainTransferResponseBody = { - /** - * Whether or not the domain is transferable - */ - transferable: boolean; - /** - * The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar. - */ - transferPolicy: TransferPolicy | null; - /** - * Description associated with transferable state. - */ - reason: string; - /** - * The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar. - */ - status: GetDomainTransferStatus; -}; - -/** @internal */ -export const GetDomainTransferRequest$inboundSchema: z.ZodType< - GetDomainTransferRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - domain: z.string(), -}); - -/** @internal */ -export type GetDomainTransferRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; - domain: string; -}; - -/** @internal */ -export const GetDomainTransferRequest$outboundSchema: z.ZodType< - GetDomainTransferRequest$Outbound, - z.ZodTypeDef, - GetDomainTransferRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - domain: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainTransferRequest$ { - /** @deprecated use `GetDomainTransferRequest$inboundSchema` instead. */ - export const inboundSchema = GetDomainTransferRequest$inboundSchema; - /** @deprecated use `GetDomainTransferRequest$outboundSchema` instead. */ - export const outboundSchema = GetDomainTransferRequest$outboundSchema; - /** @deprecated use `GetDomainTransferRequest$Outbound` instead. */ - export type Outbound = GetDomainTransferRequest$Outbound; -} - -export function getDomainTransferRequestToJSON( - getDomainTransferRequest: GetDomainTransferRequest, -): string { - return JSON.stringify( - GetDomainTransferRequest$outboundSchema.parse(getDomainTransferRequest), - ); -} - -export function getDomainTransferRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDomainTransferRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDomainTransferRequest' from JSON`, - ); -} - -/** @internal */ -export const TransferPolicy$inboundSchema: z.ZodNativeEnum< - typeof TransferPolicy -> = z.nativeEnum(TransferPolicy); - -/** @internal */ -export const TransferPolicy$outboundSchema: z.ZodNativeEnum< - typeof TransferPolicy -> = TransferPolicy$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TransferPolicy$ { - /** @deprecated use `TransferPolicy$inboundSchema` instead. */ - export const inboundSchema = TransferPolicy$inboundSchema; - /** @deprecated use `TransferPolicy$outboundSchema` instead. */ - export const outboundSchema = TransferPolicy$outboundSchema; -} - -/** @internal */ -export const GetDomainTransferStatus$inboundSchema: z.ZodNativeEnum< - typeof GetDomainTransferStatus -> = z.nativeEnum(GetDomainTransferStatus); - -/** @internal */ -export const GetDomainTransferStatus$outboundSchema: z.ZodNativeEnum< - typeof GetDomainTransferStatus -> = GetDomainTransferStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainTransferStatus$ { - /** @deprecated use `GetDomainTransferStatus$inboundSchema` instead. */ - export const inboundSchema = GetDomainTransferStatus$inboundSchema; - /** @deprecated use `GetDomainTransferStatus$outboundSchema` instead. */ - export const outboundSchema = GetDomainTransferStatus$outboundSchema; -} - -/** @internal */ -export const GetDomainTransferResponseBody$inboundSchema: z.ZodType< - GetDomainTransferResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - transferable: z.boolean(), - transferPolicy: z.nullable(TransferPolicy$inboundSchema), - reason: z.string(), - status: GetDomainTransferStatus$inboundSchema, -}); - -/** @internal */ -export type GetDomainTransferResponseBody$Outbound = { - transferable: boolean; - transferPolicy: string | null; - reason: string; - status: string; -}; - -/** @internal */ -export const GetDomainTransferResponseBody$outboundSchema: z.ZodType< - GetDomainTransferResponseBody$Outbound, - z.ZodTypeDef, - GetDomainTransferResponseBody -> = z.object({ - transferable: z.boolean(), - transferPolicy: z.nullable(TransferPolicy$outboundSchema), - reason: z.string(), - status: GetDomainTransferStatus$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainTransferResponseBody$ { - /** @deprecated use `GetDomainTransferResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetDomainTransferResponseBody$inboundSchema; - /** @deprecated use `GetDomainTransferResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetDomainTransferResponseBody$outboundSchema; - /** @deprecated use `GetDomainTransferResponseBody$Outbound` instead. */ - export type Outbound = GetDomainTransferResponseBody$Outbound; -} - -export function getDomainTransferResponseBodyToJSON( - getDomainTransferResponseBody: GetDomainTransferResponseBody, -): string { - return JSON.stringify( - GetDomainTransferResponseBody$outboundSchema.parse( - getDomainTransferResponseBody, - ), - ); -} - -export function getDomainTransferResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetDomainTransferResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetDomainTransferResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getedgeconfig.ts b/src/models/operations/getedgeconfig.ts deleted file mode 100644 index 2071c4b2..00000000 --- a/src/models/operations/getedgeconfig.ts +++ /dev/null @@ -1,395 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetEdgeConfigRequest = { - edgeConfigId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * Keeps track of the current state of the Edge Config while it gets transferred. - */ -export type GetEdgeConfigTransfer = { - fromAccountId: string; - startedAt: number; - doneAt: number | null; -}; - -export type GetEdgeConfigSchema = {}; - -export const GetEdgeConfigType = { - Flags: "flags", -} as const; -export type GetEdgeConfigType = ClosedEnum; - -export type GetEdgeConfigPurpose = { - type: GetEdgeConfigType; - projectId: string; -}; - -/** - * The EdgeConfig. - */ -export type GetEdgeConfigResponseBody = { - createdAt?: number | undefined; - updatedAt?: number | undefined; - id?: string | undefined; - /** - * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). - */ - slug?: string | undefined; - ownerId?: string | undefined; - digest?: string | undefined; - /** - * Keeps track of the current state of the Edge Config while it gets transferred. - */ - transfer?: GetEdgeConfigTransfer | undefined; - schema?: GetEdgeConfigSchema | undefined; - purpose?: GetEdgeConfigPurpose | undefined; - sizeInBytes: number; - itemCount: number; -}; - -/** @internal */ -export const GetEdgeConfigRequest$inboundSchema: z.ZodType< - GetEdgeConfigRequest, - z.ZodTypeDef, - unknown -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetEdgeConfigRequest$Outbound = { - edgeConfigId: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetEdgeConfigRequest$outboundSchema: z.ZodType< - GetEdgeConfigRequest$Outbound, - z.ZodTypeDef, - GetEdgeConfigRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigRequest$ { - /** @deprecated use `GetEdgeConfigRequest$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigRequest$inboundSchema; - /** @deprecated use `GetEdgeConfigRequest$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigRequest$outboundSchema; - /** @deprecated use `GetEdgeConfigRequest$Outbound` instead. */ - export type Outbound = GetEdgeConfigRequest$Outbound; -} - -export function getEdgeConfigRequestToJSON( - getEdgeConfigRequest: GetEdgeConfigRequest, -): string { - return JSON.stringify( - GetEdgeConfigRequest$outboundSchema.parse(getEdgeConfigRequest), - ); -} - -export function getEdgeConfigRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigRequest' from JSON`, - ); -} - -/** @internal */ -export const GetEdgeConfigTransfer$inboundSchema: z.ZodType< - GetEdgeConfigTransfer, - z.ZodTypeDef, - unknown -> = z.object({ - fromAccountId: z.string(), - startedAt: z.number(), - doneAt: z.nullable(z.number()), -}); - -/** @internal */ -export type GetEdgeConfigTransfer$Outbound = { - fromAccountId: string; - startedAt: number; - doneAt: number | null; -}; - -/** @internal */ -export const GetEdgeConfigTransfer$outboundSchema: z.ZodType< - GetEdgeConfigTransfer$Outbound, - z.ZodTypeDef, - GetEdgeConfigTransfer -> = z.object({ - fromAccountId: z.string(), - startedAt: z.number(), - doneAt: z.nullable(z.number()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigTransfer$ { - /** @deprecated use `GetEdgeConfigTransfer$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigTransfer$inboundSchema; - /** @deprecated use `GetEdgeConfigTransfer$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigTransfer$outboundSchema; - /** @deprecated use `GetEdgeConfigTransfer$Outbound` instead. */ - export type Outbound = GetEdgeConfigTransfer$Outbound; -} - -export function getEdgeConfigTransferToJSON( - getEdgeConfigTransfer: GetEdgeConfigTransfer, -): string { - return JSON.stringify( - GetEdgeConfigTransfer$outboundSchema.parse(getEdgeConfigTransfer), - ); -} - -export function getEdgeConfigTransferFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigTransfer$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigTransfer' from JSON`, - ); -} - -/** @internal */ -export const GetEdgeConfigSchema$inboundSchema: z.ZodType< - GetEdgeConfigSchema, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type GetEdgeConfigSchema$Outbound = {}; - -/** @internal */ -export const GetEdgeConfigSchema$outboundSchema: z.ZodType< - GetEdgeConfigSchema$Outbound, - z.ZodTypeDef, - GetEdgeConfigSchema -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigSchema$ { - /** @deprecated use `GetEdgeConfigSchema$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigSchema$inboundSchema; - /** @deprecated use `GetEdgeConfigSchema$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigSchema$outboundSchema; - /** @deprecated use `GetEdgeConfigSchema$Outbound` instead. */ - export type Outbound = GetEdgeConfigSchema$Outbound; -} - -export function getEdgeConfigSchemaToJSON( - getEdgeConfigSchema: GetEdgeConfigSchema, -): string { - return JSON.stringify( - GetEdgeConfigSchema$outboundSchema.parse(getEdgeConfigSchema), - ); -} - -export function getEdgeConfigSchemaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigSchema$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigSchema' from JSON`, - ); -} - -/** @internal */ -export const GetEdgeConfigType$inboundSchema: z.ZodNativeEnum< - typeof GetEdgeConfigType -> = z.nativeEnum(GetEdgeConfigType); - -/** @internal */ -export const GetEdgeConfigType$outboundSchema: z.ZodNativeEnum< - typeof GetEdgeConfigType -> = GetEdgeConfigType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigType$ { - /** @deprecated use `GetEdgeConfigType$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigType$inboundSchema; - /** @deprecated use `GetEdgeConfigType$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigType$outboundSchema; -} - -/** @internal */ -export const GetEdgeConfigPurpose$inboundSchema: z.ZodType< - GetEdgeConfigPurpose, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetEdgeConfigType$inboundSchema, - projectId: z.string(), -}); - -/** @internal */ -export type GetEdgeConfigPurpose$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const GetEdgeConfigPurpose$outboundSchema: z.ZodType< - GetEdgeConfigPurpose$Outbound, - z.ZodTypeDef, - GetEdgeConfigPurpose -> = z.object({ - type: GetEdgeConfigType$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigPurpose$ { - /** @deprecated use `GetEdgeConfigPurpose$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigPurpose$inboundSchema; - /** @deprecated use `GetEdgeConfigPurpose$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigPurpose$outboundSchema; - /** @deprecated use `GetEdgeConfigPurpose$Outbound` instead. */ - export type Outbound = GetEdgeConfigPurpose$Outbound; -} - -export function getEdgeConfigPurposeToJSON( - getEdgeConfigPurpose: GetEdgeConfigPurpose, -): string { - return JSON.stringify( - GetEdgeConfigPurpose$outboundSchema.parse(getEdgeConfigPurpose), - ); -} - -export function getEdgeConfigPurposeFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigPurpose$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigPurpose' from JSON`, - ); -} - -/** @internal */ -export const GetEdgeConfigResponseBody$inboundSchema: z.ZodType< - GetEdgeConfigResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - id: z.string().optional(), - slug: z.string().optional(), - ownerId: z.string().optional(), - digest: z.string().optional(), - transfer: z.lazy(() => GetEdgeConfigTransfer$inboundSchema).optional(), - schema: z.lazy(() => GetEdgeConfigSchema$inboundSchema).optional(), - purpose: z.lazy(() => GetEdgeConfigPurpose$inboundSchema).optional(), - sizeInBytes: z.number(), - itemCount: z.number(), -}); - -/** @internal */ -export type GetEdgeConfigResponseBody$Outbound = { - createdAt?: number | undefined; - updatedAt?: number | undefined; - id?: string | undefined; - slug?: string | undefined; - ownerId?: string | undefined; - digest?: string | undefined; - transfer?: GetEdgeConfigTransfer$Outbound | undefined; - schema?: GetEdgeConfigSchema$Outbound | undefined; - purpose?: GetEdgeConfigPurpose$Outbound | undefined; - sizeInBytes: number; - itemCount: number; -}; - -/** @internal */ -export const GetEdgeConfigResponseBody$outboundSchema: z.ZodType< - GetEdgeConfigResponseBody$Outbound, - z.ZodTypeDef, - GetEdgeConfigResponseBody -> = z.object({ - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - id: z.string().optional(), - slug: z.string().optional(), - ownerId: z.string().optional(), - digest: z.string().optional(), - transfer: z.lazy(() => GetEdgeConfigTransfer$outboundSchema).optional(), - schema: z.lazy(() => GetEdgeConfigSchema$outboundSchema).optional(), - purpose: z.lazy(() => GetEdgeConfigPurpose$outboundSchema).optional(), - sizeInBytes: z.number(), - itemCount: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigResponseBody$ { - /** @deprecated use `GetEdgeConfigResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigResponseBody$inboundSchema; - /** @deprecated use `GetEdgeConfigResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigResponseBody$outboundSchema; - /** @deprecated use `GetEdgeConfigResponseBody$Outbound` instead. */ - export type Outbound = GetEdgeConfigResponseBody$Outbound; -} - -export function getEdgeConfigResponseBodyToJSON( - getEdgeConfigResponseBody: GetEdgeConfigResponseBody, -): string { - return JSON.stringify( - GetEdgeConfigResponseBody$outboundSchema.parse(getEdgeConfigResponseBody), - ); -} - -export function getEdgeConfigResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getedgeconfigbackup.ts b/src/models/operations/getedgeconfigbackup.ts deleted file mode 100644 index 106516be..00000000 --- a/src/models/operations/getedgeconfigbackup.ts +++ /dev/null @@ -1,886 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - EdgeConfigItemValue, - EdgeConfigItemValue$inboundSchema, - EdgeConfigItemValue$Outbound, - EdgeConfigItemValue$outboundSchema, -} from "../components/edgeconfigitemvalue.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetEdgeConfigBackupRequest = { - edgeConfigId: string; - edgeConfigBackupVersionId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export type ResponseBodyUser = { - id: string; - username: string; - email: string; - name?: string | undefined; - avatar?: string | undefined; -}; - -export type GetEdgeConfigBackupResponseBodyItems = { - updatedAt: number; - value: EdgeConfigItemValue | null; - description?: string | undefined; - createdAt: number; -}; - -export type ResponseBodyBackup = { - digest: string; - items: { [k: string]: GetEdgeConfigBackupResponseBodyItems }; - /** - * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). - */ - slug: string; - updatedAt: number; -}; - -export type ResponseBodyMetadata = { - updatedAt?: string | undefined; - updatedBy?: string | undefined; - itemsCount?: number | undefined; - itemsBytes?: number | undefined; -}; - -export type GetEdgeConfigBackupResponseBody2 = { - user: ResponseBodyUser; - id: string; - lastModified: number; - backup: ResponseBodyBackup; - metadata: ResponseBodyMetadata; -}; - -export type ResponseBodyItems = { - updatedAt: number; - value: EdgeConfigItemValue | null; - description?: string | undefined; - createdAt: number; -}; - -export type Backup = { - digest: string; - items: { [k: string]: ResponseBodyItems }; - /** - * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). - */ - slug: string; - updatedAt: number; -}; - -export type Metadata = { - updatedAt?: string | undefined; - updatedBy?: string | undefined; - itemsCount?: number | undefined; - itemsBytes?: number | undefined; -}; - -export type GetEdgeConfigBackupResponseBodyUser = { - id: string; - username: string; - email: string; - name?: string | undefined; - avatar?: string | undefined; -}; - -/** - * The object the API responds with when requesting an Edge Config backup - */ -export type GetEdgeConfigBackupResponseBody1 = { - id: string; - lastModified: number; - backup: Backup; - metadata: Metadata; - user?: GetEdgeConfigBackupResponseBodyUser | undefined; -}; - -export type GetEdgeConfigBackupResponseBody = - | GetEdgeConfigBackupResponseBody1 - | GetEdgeConfigBackupResponseBody2; - -/** @internal */ -export const GetEdgeConfigBackupRequest$inboundSchema: z.ZodType< - GetEdgeConfigBackupRequest, - z.ZodTypeDef, - unknown -> = z.object({ - edgeConfigId: z.string(), - edgeConfigBackupVersionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetEdgeConfigBackupRequest$Outbound = { - edgeConfigId: string; - edgeConfigBackupVersionId: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetEdgeConfigBackupRequest$outboundSchema: z.ZodType< - GetEdgeConfigBackupRequest$Outbound, - z.ZodTypeDef, - GetEdgeConfigBackupRequest -> = z.object({ - edgeConfigId: z.string(), - edgeConfigBackupVersionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigBackupRequest$ { - /** @deprecated use `GetEdgeConfigBackupRequest$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigBackupRequest$inboundSchema; - /** @deprecated use `GetEdgeConfigBackupRequest$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigBackupRequest$outboundSchema; - /** @deprecated use `GetEdgeConfigBackupRequest$Outbound` instead. */ - export type Outbound = GetEdgeConfigBackupRequest$Outbound; -} - -export function getEdgeConfigBackupRequestToJSON( - getEdgeConfigBackupRequest: GetEdgeConfigBackupRequest, -): string { - return JSON.stringify( - GetEdgeConfigBackupRequest$outboundSchema.parse(getEdgeConfigBackupRequest), - ); -} - -export function getEdgeConfigBackupRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigBackupRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigBackupRequest' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyUser$inboundSchema: z.ZodType< - ResponseBodyUser, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - username: z.string(), - email: z.string(), - name: z.string().optional(), - avatar: z.string().optional(), -}); - -/** @internal */ -export type ResponseBodyUser$Outbound = { - id: string; - username: string; - email: string; - name?: string | undefined; - avatar?: string | undefined; -}; - -/** @internal */ -export const ResponseBodyUser$outboundSchema: z.ZodType< - ResponseBodyUser$Outbound, - z.ZodTypeDef, - ResponseBodyUser -> = z.object({ - id: z.string(), - username: z.string(), - email: z.string(), - name: z.string().optional(), - avatar: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyUser$ { - /** @deprecated use `ResponseBodyUser$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyUser$inboundSchema; - /** @deprecated use `ResponseBodyUser$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyUser$outboundSchema; - /** @deprecated use `ResponseBodyUser$Outbound` instead. */ - export type Outbound = ResponseBodyUser$Outbound; -} - -export function responseBodyUserToJSON( - responseBodyUser: ResponseBodyUser, -): string { - return JSON.stringify( - ResponseBodyUser$outboundSchema.parse(responseBodyUser), - ); -} - -export function responseBodyUserFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyUser$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyUser' from JSON`, - ); -} - -/** @internal */ -export const GetEdgeConfigBackupResponseBodyItems$inboundSchema: z.ZodType< - GetEdgeConfigBackupResponseBodyItems, - z.ZodTypeDef, - unknown -> = z.object({ - updatedAt: z.number(), - value: z.nullable(EdgeConfigItemValue$inboundSchema), - description: z.string().optional(), - createdAt: z.number(), -}); - -/** @internal */ -export type GetEdgeConfigBackupResponseBodyItems$Outbound = { - updatedAt: number; - value: EdgeConfigItemValue$Outbound | null; - description?: string | undefined; - createdAt: number; -}; - -/** @internal */ -export const GetEdgeConfigBackupResponseBodyItems$outboundSchema: z.ZodType< - GetEdgeConfigBackupResponseBodyItems$Outbound, - z.ZodTypeDef, - GetEdgeConfigBackupResponseBodyItems -> = z.object({ - updatedAt: z.number(), - value: z.nullable(EdgeConfigItemValue$outboundSchema), - description: z.string().optional(), - createdAt: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigBackupResponseBodyItems$ { - /** @deprecated use `GetEdgeConfigBackupResponseBodyItems$inboundSchema` instead. */ - export const inboundSchema = - GetEdgeConfigBackupResponseBodyItems$inboundSchema; - /** @deprecated use `GetEdgeConfigBackupResponseBodyItems$outboundSchema` instead. */ - export const outboundSchema = - GetEdgeConfigBackupResponseBodyItems$outboundSchema; - /** @deprecated use `GetEdgeConfigBackupResponseBodyItems$Outbound` instead. */ - export type Outbound = GetEdgeConfigBackupResponseBodyItems$Outbound; -} - -export function getEdgeConfigBackupResponseBodyItemsToJSON( - getEdgeConfigBackupResponseBodyItems: GetEdgeConfigBackupResponseBodyItems, -): string { - return JSON.stringify( - GetEdgeConfigBackupResponseBodyItems$outboundSchema.parse( - getEdgeConfigBackupResponseBodyItems, - ), - ); -} - -export function getEdgeConfigBackupResponseBodyItemsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetEdgeConfigBackupResponseBodyItems$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigBackupResponseBodyItems' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyBackup$inboundSchema: z.ZodType< - ResponseBodyBackup, - z.ZodTypeDef, - unknown -> = z.object({ - digest: z.string(), - items: z.record( - z.lazy(() => GetEdgeConfigBackupResponseBodyItems$inboundSchema), - ), - slug: z.string(), - updatedAt: z.number(), -}); - -/** @internal */ -export type ResponseBodyBackup$Outbound = { - digest: string; - items: { [k: string]: GetEdgeConfigBackupResponseBodyItems$Outbound }; - slug: string; - updatedAt: number; -}; - -/** @internal */ -export const ResponseBodyBackup$outboundSchema: z.ZodType< - ResponseBodyBackup$Outbound, - z.ZodTypeDef, - ResponseBodyBackup -> = z.object({ - digest: z.string(), - items: z.record( - z.lazy(() => GetEdgeConfigBackupResponseBodyItems$outboundSchema), - ), - slug: z.string(), - updatedAt: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyBackup$ { - /** @deprecated use `ResponseBodyBackup$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyBackup$inboundSchema; - /** @deprecated use `ResponseBodyBackup$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyBackup$outboundSchema; - /** @deprecated use `ResponseBodyBackup$Outbound` instead. */ - export type Outbound = ResponseBodyBackup$Outbound; -} - -export function responseBodyBackupToJSON( - responseBodyBackup: ResponseBodyBackup, -): string { - return JSON.stringify( - ResponseBodyBackup$outboundSchema.parse(responseBodyBackup), - ); -} - -export function responseBodyBackupFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyBackup$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyBackup' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyMetadata$inboundSchema: z.ZodType< - ResponseBodyMetadata, - z.ZodTypeDef, - unknown -> = z.object({ - updatedAt: z.string().optional(), - updatedBy: z.string().optional(), - itemsCount: z.number().optional(), - itemsBytes: z.number().optional(), -}); - -/** @internal */ -export type ResponseBodyMetadata$Outbound = { - updatedAt?: string | undefined; - updatedBy?: string | undefined; - itemsCount?: number | undefined; - itemsBytes?: number | undefined; -}; - -/** @internal */ -export const ResponseBodyMetadata$outboundSchema: z.ZodType< - ResponseBodyMetadata$Outbound, - z.ZodTypeDef, - ResponseBodyMetadata -> = z.object({ - updatedAt: z.string().optional(), - updatedBy: z.string().optional(), - itemsCount: z.number().optional(), - itemsBytes: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyMetadata$ { - /** @deprecated use `ResponseBodyMetadata$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyMetadata$inboundSchema; - /** @deprecated use `ResponseBodyMetadata$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyMetadata$outboundSchema; - /** @deprecated use `ResponseBodyMetadata$Outbound` instead. */ - export type Outbound = ResponseBodyMetadata$Outbound; -} - -export function responseBodyMetadataToJSON( - responseBodyMetadata: ResponseBodyMetadata, -): string { - return JSON.stringify( - ResponseBodyMetadata$outboundSchema.parse(responseBodyMetadata), - ); -} - -export function responseBodyMetadataFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyMetadata$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyMetadata' from JSON`, - ); -} - -/** @internal */ -export const GetEdgeConfigBackupResponseBody2$inboundSchema: z.ZodType< - GetEdgeConfigBackupResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - user: z.lazy(() => ResponseBodyUser$inboundSchema), - id: z.string(), - lastModified: z.number(), - backup: z.lazy(() => ResponseBodyBackup$inboundSchema), - metadata: z.lazy(() => ResponseBodyMetadata$inboundSchema), -}); - -/** @internal */ -export type GetEdgeConfigBackupResponseBody2$Outbound = { - user: ResponseBodyUser$Outbound; - id: string; - lastModified: number; - backup: ResponseBodyBackup$Outbound; - metadata: ResponseBodyMetadata$Outbound; -}; - -/** @internal */ -export const GetEdgeConfigBackupResponseBody2$outboundSchema: z.ZodType< - GetEdgeConfigBackupResponseBody2$Outbound, - z.ZodTypeDef, - GetEdgeConfigBackupResponseBody2 -> = z.object({ - user: z.lazy(() => ResponseBodyUser$outboundSchema), - id: z.string(), - lastModified: z.number(), - backup: z.lazy(() => ResponseBodyBackup$outboundSchema), - metadata: z.lazy(() => ResponseBodyMetadata$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigBackupResponseBody2$ { - /** @deprecated use `GetEdgeConfigBackupResponseBody2$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigBackupResponseBody2$inboundSchema; - /** @deprecated use `GetEdgeConfigBackupResponseBody2$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigBackupResponseBody2$outboundSchema; - /** @deprecated use `GetEdgeConfigBackupResponseBody2$Outbound` instead. */ - export type Outbound = GetEdgeConfigBackupResponseBody2$Outbound; -} - -export function getEdgeConfigBackupResponseBody2ToJSON( - getEdgeConfigBackupResponseBody2: GetEdgeConfigBackupResponseBody2, -): string { - return JSON.stringify( - GetEdgeConfigBackupResponseBody2$outboundSchema.parse( - getEdgeConfigBackupResponseBody2, - ), - ); -} - -export function getEdgeConfigBackupResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigBackupResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigBackupResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyItems$inboundSchema: z.ZodType< - ResponseBodyItems, - z.ZodTypeDef, - unknown -> = z.object({ - updatedAt: z.number(), - value: z.nullable(EdgeConfigItemValue$inboundSchema), - description: z.string().optional(), - createdAt: z.number(), -}); - -/** @internal */ -export type ResponseBodyItems$Outbound = { - updatedAt: number; - value: EdgeConfigItemValue$Outbound | null; - description?: string | undefined; - createdAt: number; -}; - -/** @internal */ -export const ResponseBodyItems$outboundSchema: z.ZodType< - ResponseBodyItems$Outbound, - z.ZodTypeDef, - ResponseBodyItems -> = z.object({ - updatedAt: z.number(), - value: z.nullable(EdgeConfigItemValue$outboundSchema), - description: z.string().optional(), - createdAt: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyItems$ { - /** @deprecated use `ResponseBodyItems$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyItems$inboundSchema; - /** @deprecated use `ResponseBodyItems$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyItems$outboundSchema; - /** @deprecated use `ResponseBodyItems$Outbound` instead. */ - export type Outbound = ResponseBodyItems$Outbound; -} - -export function responseBodyItemsToJSON( - responseBodyItems: ResponseBodyItems, -): string { - return JSON.stringify( - ResponseBodyItems$outboundSchema.parse(responseBodyItems), - ); -} - -export function responseBodyItemsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyItems$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyItems' from JSON`, - ); -} - -/** @internal */ -export const Backup$inboundSchema: z.ZodType = z - .object({ - digest: z.string(), - items: z.record(z.lazy(() => ResponseBodyItems$inboundSchema)), - slug: z.string(), - updatedAt: z.number(), - }); - -/** @internal */ -export type Backup$Outbound = { - digest: string; - items: { [k: string]: ResponseBodyItems$Outbound }; - slug: string; - updatedAt: number; -}; - -/** @internal */ -export const Backup$outboundSchema: z.ZodType< - Backup$Outbound, - z.ZodTypeDef, - Backup -> = z.object({ - digest: z.string(), - items: z.record(z.lazy(() => ResponseBodyItems$outboundSchema)), - slug: z.string(), - updatedAt: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Backup$ { - /** @deprecated use `Backup$inboundSchema` instead. */ - export const inboundSchema = Backup$inboundSchema; - /** @deprecated use `Backup$outboundSchema` instead. */ - export const outboundSchema = Backup$outboundSchema; - /** @deprecated use `Backup$Outbound` instead. */ - export type Outbound = Backup$Outbound; -} - -export function backupToJSON(backup: Backup): string { - return JSON.stringify(Backup$outboundSchema.parse(backup)); -} - -export function backupFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Backup$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Backup' from JSON`, - ); -} - -/** @internal */ -export const Metadata$inboundSchema: z.ZodType< - Metadata, - z.ZodTypeDef, - unknown -> = z.object({ - updatedAt: z.string().optional(), - updatedBy: z.string().optional(), - itemsCount: z.number().optional(), - itemsBytes: z.number().optional(), -}); - -/** @internal */ -export type Metadata$Outbound = { - updatedAt?: string | undefined; - updatedBy?: string | undefined; - itemsCount?: number | undefined; - itemsBytes?: number | undefined; -}; - -/** @internal */ -export const Metadata$outboundSchema: z.ZodType< - Metadata$Outbound, - z.ZodTypeDef, - Metadata -> = z.object({ - updatedAt: z.string().optional(), - updatedBy: z.string().optional(), - itemsCount: z.number().optional(), - itemsBytes: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Metadata$ { - /** @deprecated use `Metadata$inboundSchema` instead. */ - export const inboundSchema = Metadata$inboundSchema; - /** @deprecated use `Metadata$outboundSchema` instead. */ - export const outboundSchema = Metadata$outboundSchema; - /** @deprecated use `Metadata$Outbound` instead. */ - export type Outbound = Metadata$Outbound; -} - -export function metadataToJSON(metadata: Metadata): string { - return JSON.stringify(Metadata$outboundSchema.parse(metadata)); -} - -export function metadataFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Metadata$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Metadata' from JSON`, - ); -} - -/** @internal */ -export const GetEdgeConfigBackupResponseBodyUser$inboundSchema: z.ZodType< - GetEdgeConfigBackupResponseBodyUser, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - username: z.string(), - email: z.string(), - name: z.string().optional(), - avatar: z.string().optional(), -}); - -/** @internal */ -export type GetEdgeConfigBackupResponseBodyUser$Outbound = { - id: string; - username: string; - email: string; - name?: string | undefined; - avatar?: string | undefined; -}; - -/** @internal */ -export const GetEdgeConfigBackupResponseBodyUser$outboundSchema: z.ZodType< - GetEdgeConfigBackupResponseBodyUser$Outbound, - z.ZodTypeDef, - GetEdgeConfigBackupResponseBodyUser -> = z.object({ - id: z.string(), - username: z.string(), - email: z.string(), - name: z.string().optional(), - avatar: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigBackupResponseBodyUser$ { - /** @deprecated use `GetEdgeConfigBackupResponseBodyUser$inboundSchema` instead. */ - export const inboundSchema = - GetEdgeConfigBackupResponseBodyUser$inboundSchema; - /** @deprecated use `GetEdgeConfigBackupResponseBodyUser$outboundSchema` instead. */ - export const outboundSchema = - GetEdgeConfigBackupResponseBodyUser$outboundSchema; - /** @deprecated use `GetEdgeConfigBackupResponseBodyUser$Outbound` instead. */ - export type Outbound = GetEdgeConfigBackupResponseBodyUser$Outbound; -} - -export function getEdgeConfigBackupResponseBodyUserToJSON( - getEdgeConfigBackupResponseBodyUser: GetEdgeConfigBackupResponseBodyUser, -): string { - return JSON.stringify( - GetEdgeConfigBackupResponseBodyUser$outboundSchema.parse( - getEdgeConfigBackupResponseBodyUser, - ), - ); -} - -export function getEdgeConfigBackupResponseBodyUserFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetEdgeConfigBackupResponseBodyUser$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigBackupResponseBodyUser' from JSON`, - ); -} - -/** @internal */ -export const GetEdgeConfigBackupResponseBody1$inboundSchema: z.ZodType< - GetEdgeConfigBackupResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - lastModified: z.number(), - backup: z.lazy(() => Backup$inboundSchema), - metadata: z.lazy(() => Metadata$inboundSchema), - user: z.lazy(() => GetEdgeConfigBackupResponseBodyUser$inboundSchema) - .optional(), -}); - -/** @internal */ -export type GetEdgeConfigBackupResponseBody1$Outbound = { - id: string; - lastModified: number; - backup: Backup$Outbound; - metadata: Metadata$Outbound; - user?: GetEdgeConfigBackupResponseBodyUser$Outbound | undefined; -}; - -/** @internal */ -export const GetEdgeConfigBackupResponseBody1$outboundSchema: z.ZodType< - GetEdgeConfigBackupResponseBody1$Outbound, - z.ZodTypeDef, - GetEdgeConfigBackupResponseBody1 -> = z.object({ - id: z.string(), - lastModified: z.number(), - backup: z.lazy(() => Backup$outboundSchema), - metadata: z.lazy(() => Metadata$outboundSchema), - user: z.lazy(() => GetEdgeConfigBackupResponseBodyUser$outboundSchema) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigBackupResponseBody1$ { - /** @deprecated use `GetEdgeConfigBackupResponseBody1$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigBackupResponseBody1$inboundSchema; - /** @deprecated use `GetEdgeConfigBackupResponseBody1$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigBackupResponseBody1$outboundSchema; - /** @deprecated use `GetEdgeConfigBackupResponseBody1$Outbound` instead. */ - export type Outbound = GetEdgeConfigBackupResponseBody1$Outbound; -} - -export function getEdgeConfigBackupResponseBody1ToJSON( - getEdgeConfigBackupResponseBody1: GetEdgeConfigBackupResponseBody1, -): string { - return JSON.stringify( - GetEdgeConfigBackupResponseBody1$outboundSchema.parse( - getEdgeConfigBackupResponseBody1, - ), - ); -} - -export function getEdgeConfigBackupResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigBackupResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigBackupResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const GetEdgeConfigBackupResponseBody$inboundSchema: z.ZodType< - GetEdgeConfigBackupResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetEdgeConfigBackupResponseBody1$inboundSchema), - z.lazy(() => GetEdgeConfigBackupResponseBody2$inboundSchema), -]); - -/** @internal */ -export type GetEdgeConfigBackupResponseBody$Outbound = - | GetEdgeConfigBackupResponseBody1$Outbound - | GetEdgeConfigBackupResponseBody2$Outbound; - -/** @internal */ -export const GetEdgeConfigBackupResponseBody$outboundSchema: z.ZodType< - GetEdgeConfigBackupResponseBody$Outbound, - z.ZodTypeDef, - GetEdgeConfigBackupResponseBody -> = z.union([ - z.lazy(() => GetEdgeConfigBackupResponseBody1$outboundSchema), - z.lazy(() => GetEdgeConfigBackupResponseBody2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigBackupResponseBody$ { - /** @deprecated use `GetEdgeConfigBackupResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigBackupResponseBody$inboundSchema; - /** @deprecated use `GetEdgeConfigBackupResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigBackupResponseBody$outboundSchema; - /** @deprecated use `GetEdgeConfigBackupResponseBody$Outbound` instead. */ - export type Outbound = GetEdgeConfigBackupResponseBody$Outbound; -} - -export function getEdgeConfigBackupResponseBodyToJSON( - getEdgeConfigBackupResponseBody: GetEdgeConfigBackupResponseBody, -): string { - return JSON.stringify( - GetEdgeConfigBackupResponseBody$outboundSchema.parse( - getEdgeConfigBackupResponseBody, - ), - ); -} - -export function getEdgeConfigBackupResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigBackupResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigBackupResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getedgeconfigbackups.ts b/src/models/operations/getedgeconfigbackups.ts deleted file mode 100644 index 6c91979a..00000000 --- a/src/models/operations/getedgeconfigbackups.ts +++ /dev/null @@ -1,355 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetEdgeConfigBackupsRequest = { - edgeConfigId: string; - next?: string | undefined; - limit?: number | undefined; - metadata?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export type GetEdgeConfigBackupsMetadata = { - updatedAt?: string | undefined; - updatedBy?: string | undefined; - itemsCount?: number | undefined; - itemsBytes?: number | undefined; -}; - -export type Backups = { - metadata?: GetEdgeConfigBackupsMetadata | undefined; - id: string; - lastModified: number; -}; - -export type GetEdgeConfigBackupsPagination = { - hasNext: boolean; - next?: string | undefined; -}; - -export type GetEdgeConfigBackupsResponseBody = { - backups: Array; - pagination: GetEdgeConfigBackupsPagination; -}; - -/** @internal */ -export const GetEdgeConfigBackupsRequest$inboundSchema: z.ZodType< - GetEdgeConfigBackupsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - edgeConfigId: z.string(), - next: z.string().optional(), - limit: z.number().optional(), - metadata: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetEdgeConfigBackupsRequest$Outbound = { - edgeConfigId: string; - next?: string | undefined; - limit?: number | undefined; - metadata?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetEdgeConfigBackupsRequest$outboundSchema: z.ZodType< - GetEdgeConfigBackupsRequest$Outbound, - z.ZodTypeDef, - GetEdgeConfigBackupsRequest -> = z.object({ - edgeConfigId: z.string(), - next: z.string().optional(), - limit: z.number().optional(), - metadata: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigBackupsRequest$ { - /** @deprecated use `GetEdgeConfigBackupsRequest$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigBackupsRequest$inboundSchema; - /** @deprecated use `GetEdgeConfigBackupsRequest$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigBackupsRequest$outboundSchema; - /** @deprecated use `GetEdgeConfigBackupsRequest$Outbound` instead. */ - export type Outbound = GetEdgeConfigBackupsRequest$Outbound; -} - -export function getEdgeConfigBackupsRequestToJSON( - getEdgeConfigBackupsRequest: GetEdgeConfigBackupsRequest, -): string { - return JSON.stringify( - GetEdgeConfigBackupsRequest$outboundSchema.parse( - getEdgeConfigBackupsRequest, - ), - ); -} - -export function getEdgeConfigBackupsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigBackupsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigBackupsRequest' from JSON`, - ); -} - -/** @internal */ -export const GetEdgeConfigBackupsMetadata$inboundSchema: z.ZodType< - GetEdgeConfigBackupsMetadata, - z.ZodTypeDef, - unknown -> = z.object({ - updatedAt: z.string().optional(), - updatedBy: z.string().optional(), - itemsCount: z.number().optional(), - itemsBytes: z.number().optional(), -}); - -/** @internal */ -export type GetEdgeConfigBackupsMetadata$Outbound = { - updatedAt?: string | undefined; - updatedBy?: string | undefined; - itemsCount?: number | undefined; - itemsBytes?: number | undefined; -}; - -/** @internal */ -export const GetEdgeConfigBackupsMetadata$outboundSchema: z.ZodType< - GetEdgeConfigBackupsMetadata$Outbound, - z.ZodTypeDef, - GetEdgeConfigBackupsMetadata -> = z.object({ - updatedAt: z.string().optional(), - updatedBy: z.string().optional(), - itemsCount: z.number().optional(), - itemsBytes: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigBackupsMetadata$ { - /** @deprecated use `GetEdgeConfigBackupsMetadata$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigBackupsMetadata$inboundSchema; - /** @deprecated use `GetEdgeConfigBackupsMetadata$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigBackupsMetadata$outboundSchema; - /** @deprecated use `GetEdgeConfigBackupsMetadata$Outbound` instead. */ - export type Outbound = GetEdgeConfigBackupsMetadata$Outbound; -} - -export function getEdgeConfigBackupsMetadataToJSON( - getEdgeConfigBackupsMetadata: GetEdgeConfigBackupsMetadata, -): string { - return JSON.stringify( - GetEdgeConfigBackupsMetadata$outboundSchema.parse( - getEdgeConfigBackupsMetadata, - ), - ); -} - -export function getEdgeConfigBackupsMetadataFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigBackupsMetadata$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigBackupsMetadata' from JSON`, - ); -} - -/** @internal */ -export const Backups$inboundSchema: z.ZodType = - z.object({ - metadata: z.lazy(() => GetEdgeConfigBackupsMetadata$inboundSchema) - .optional(), - id: z.string(), - lastModified: z.number(), - }); - -/** @internal */ -export type Backups$Outbound = { - metadata?: GetEdgeConfigBackupsMetadata$Outbound | undefined; - id: string; - lastModified: number; -}; - -/** @internal */ -export const Backups$outboundSchema: z.ZodType< - Backups$Outbound, - z.ZodTypeDef, - Backups -> = z.object({ - metadata: z.lazy(() => GetEdgeConfigBackupsMetadata$outboundSchema) - .optional(), - id: z.string(), - lastModified: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Backups$ { - /** @deprecated use `Backups$inboundSchema` instead. */ - export const inboundSchema = Backups$inboundSchema; - /** @deprecated use `Backups$outboundSchema` instead. */ - export const outboundSchema = Backups$outboundSchema; - /** @deprecated use `Backups$Outbound` instead. */ - export type Outbound = Backups$Outbound; -} - -export function backupsToJSON(backups: Backups): string { - return JSON.stringify(Backups$outboundSchema.parse(backups)); -} - -export function backupsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Backups$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Backups' from JSON`, - ); -} - -/** @internal */ -export const GetEdgeConfigBackupsPagination$inboundSchema: z.ZodType< - GetEdgeConfigBackupsPagination, - z.ZodTypeDef, - unknown -> = z.object({ - hasNext: z.boolean(), - next: z.string().optional(), -}); - -/** @internal */ -export type GetEdgeConfigBackupsPagination$Outbound = { - hasNext: boolean; - next?: string | undefined; -}; - -/** @internal */ -export const GetEdgeConfigBackupsPagination$outboundSchema: z.ZodType< - GetEdgeConfigBackupsPagination$Outbound, - z.ZodTypeDef, - GetEdgeConfigBackupsPagination -> = z.object({ - hasNext: z.boolean(), - next: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigBackupsPagination$ { - /** @deprecated use `GetEdgeConfigBackupsPagination$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigBackupsPagination$inboundSchema; - /** @deprecated use `GetEdgeConfigBackupsPagination$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigBackupsPagination$outboundSchema; - /** @deprecated use `GetEdgeConfigBackupsPagination$Outbound` instead. */ - export type Outbound = GetEdgeConfigBackupsPagination$Outbound; -} - -export function getEdgeConfigBackupsPaginationToJSON( - getEdgeConfigBackupsPagination: GetEdgeConfigBackupsPagination, -): string { - return JSON.stringify( - GetEdgeConfigBackupsPagination$outboundSchema.parse( - getEdgeConfigBackupsPagination, - ), - ); -} - -export function getEdgeConfigBackupsPaginationFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigBackupsPagination$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigBackupsPagination' from JSON`, - ); -} - -/** @internal */ -export const GetEdgeConfigBackupsResponseBody$inboundSchema: z.ZodType< - GetEdgeConfigBackupsResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - backups: z.array(z.lazy(() => Backups$inboundSchema)), - pagination: z.lazy(() => GetEdgeConfigBackupsPagination$inboundSchema), -}); - -/** @internal */ -export type GetEdgeConfigBackupsResponseBody$Outbound = { - backups: Array; - pagination: GetEdgeConfigBackupsPagination$Outbound; -}; - -/** @internal */ -export const GetEdgeConfigBackupsResponseBody$outboundSchema: z.ZodType< - GetEdgeConfigBackupsResponseBody$Outbound, - z.ZodTypeDef, - GetEdgeConfigBackupsResponseBody -> = z.object({ - backups: z.array(z.lazy(() => Backups$outboundSchema)), - pagination: z.lazy(() => GetEdgeConfigBackupsPagination$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigBackupsResponseBody$ { - /** @deprecated use `GetEdgeConfigBackupsResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigBackupsResponseBody$inboundSchema; - /** @deprecated use `GetEdgeConfigBackupsResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigBackupsResponseBody$outboundSchema; - /** @deprecated use `GetEdgeConfigBackupsResponseBody$Outbound` instead. */ - export type Outbound = GetEdgeConfigBackupsResponseBody$Outbound; -} - -export function getEdgeConfigBackupsResponseBodyToJSON( - getEdgeConfigBackupsResponseBody: GetEdgeConfigBackupsResponseBody, -): string { - return JSON.stringify( - GetEdgeConfigBackupsResponseBody$outboundSchema.parse( - getEdgeConfigBackupsResponseBody, - ), - ); -} - -export function getEdgeConfigBackupsResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigBackupsResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigBackupsResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getedgeconfigitem.ts b/src/models/operations/getedgeconfigitem.ts deleted file mode 100644 index 277f9d62..00000000 --- a/src/models/operations/getedgeconfigitem.ts +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetEdgeConfigItemRequest = { - edgeConfigId: string; - edgeConfigItemKey: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const GetEdgeConfigItemRequest$inboundSchema: z.ZodType< - GetEdgeConfigItemRequest, - z.ZodTypeDef, - unknown -> = z.object({ - edgeConfigId: z.string(), - edgeConfigItemKey: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetEdgeConfigItemRequest$Outbound = { - edgeConfigId: string; - edgeConfigItemKey: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetEdgeConfigItemRequest$outboundSchema: z.ZodType< - GetEdgeConfigItemRequest$Outbound, - z.ZodTypeDef, - GetEdgeConfigItemRequest -> = z.object({ - edgeConfigId: z.string(), - edgeConfigItemKey: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigItemRequest$ { - /** @deprecated use `GetEdgeConfigItemRequest$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigItemRequest$inboundSchema; - /** @deprecated use `GetEdgeConfigItemRequest$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigItemRequest$outboundSchema; - /** @deprecated use `GetEdgeConfigItemRequest$Outbound` instead. */ - export type Outbound = GetEdgeConfigItemRequest$Outbound; -} - -export function getEdgeConfigItemRequestToJSON( - getEdgeConfigItemRequest: GetEdgeConfigItemRequest, -): string { - return JSON.stringify( - GetEdgeConfigItemRequest$outboundSchema.parse(getEdgeConfigItemRequest), - ); -} - -export function getEdgeConfigItemRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigItemRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigItemRequest' from JSON`, - ); -} diff --git a/src/models/operations/getedgeconfigitems.ts b/src/models/operations/getedgeconfigitems.ts deleted file mode 100644 index 0c3aa073..00000000 --- a/src/models/operations/getedgeconfigitems.ts +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetEdgeConfigItemsRequest = { - edgeConfigId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const GetEdgeConfigItemsRequest$inboundSchema: z.ZodType< - GetEdgeConfigItemsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetEdgeConfigItemsRequest$Outbound = { - edgeConfigId: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetEdgeConfigItemsRequest$outboundSchema: z.ZodType< - GetEdgeConfigItemsRequest$Outbound, - z.ZodTypeDef, - GetEdgeConfigItemsRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigItemsRequest$ { - /** @deprecated use `GetEdgeConfigItemsRequest$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigItemsRequest$inboundSchema; - /** @deprecated use `GetEdgeConfigItemsRequest$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigItemsRequest$outboundSchema; - /** @deprecated use `GetEdgeConfigItemsRequest$Outbound` instead. */ - export type Outbound = GetEdgeConfigItemsRequest$Outbound; -} - -export function getEdgeConfigItemsRequestToJSON( - getEdgeConfigItemsRequest: GetEdgeConfigItemsRequest, -): string { - return JSON.stringify( - GetEdgeConfigItemsRequest$outboundSchema.parse(getEdgeConfigItemsRequest), - ); -} - -export function getEdgeConfigItemsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigItemsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigItemsRequest' from JSON`, - ); -} diff --git a/src/models/operations/getedgeconfigs.ts b/src/models/operations/getedgeconfigs.ts deleted file mode 100644 index 4d97e864..00000000 --- a/src/models/operations/getedgeconfigs.ts +++ /dev/null @@ -1,370 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetEdgeConfigsRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * Keeps track of the current state of the Edge Config while it gets transferred. - */ -export type Transfer = { - fromAccountId: string; - startedAt: number; - doneAt: number | null; -}; - -export type Schema = {}; - -export const GetEdgeConfigsType = { - Flags: "flags", -} as const; -export type GetEdgeConfigsType = ClosedEnum; - -export type Purpose = { - type: GetEdgeConfigsType; - projectId: string; -}; - -export type GetEdgeConfigsResponseBody = { - id?: string | undefined; - createdAt?: number | undefined; - ownerId?: string | undefined; - /** - * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). - */ - slug?: string | undefined; - updatedAt?: number | undefined; - digest?: string | undefined; - /** - * Keeps track of the current state of the Edge Config while it gets transferred. - */ - transfer?: Transfer | undefined; - schema?: Schema | undefined; - purpose?: Purpose | undefined; - sizeInBytes: number; - itemCount: number; -}; - -/** @internal */ -export const GetEdgeConfigsRequest$inboundSchema: z.ZodType< - GetEdgeConfigsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetEdgeConfigsRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetEdgeConfigsRequest$outboundSchema: z.ZodType< - GetEdgeConfigsRequest$Outbound, - z.ZodTypeDef, - GetEdgeConfigsRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigsRequest$ { - /** @deprecated use `GetEdgeConfigsRequest$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigsRequest$inboundSchema; - /** @deprecated use `GetEdgeConfigsRequest$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigsRequest$outboundSchema; - /** @deprecated use `GetEdgeConfigsRequest$Outbound` instead. */ - export type Outbound = GetEdgeConfigsRequest$Outbound; -} - -export function getEdgeConfigsRequestToJSON( - getEdgeConfigsRequest: GetEdgeConfigsRequest, -): string { - return JSON.stringify( - GetEdgeConfigsRequest$outboundSchema.parse(getEdgeConfigsRequest), - ); -} - -export function getEdgeConfigsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigsRequest' from JSON`, - ); -} - -/** @internal */ -export const Transfer$inboundSchema: z.ZodType< - Transfer, - z.ZodTypeDef, - unknown -> = z.object({ - fromAccountId: z.string(), - startedAt: z.number(), - doneAt: z.nullable(z.number()), -}); - -/** @internal */ -export type Transfer$Outbound = { - fromAccountId: string; - startedAt: number; - doneAt: number | null; -}; - -/** @internal */ -export const Transfer$outboundSchema: z.ZodType< - Transfer$Outbound, - z.ZodTypeDef, - Transfer -> = z.object({ - fromAccountId: z.string(), - startedAt: z.number(), - doneAt: z.nullable(z.number()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Transfer$ { - /** @deprecated use `Transfer$inboundSchema` instead. */ - export const inboundSchema = Transfer$inboundSchema; - /** @deprecated use `Transfer$outboundSchema` instead. */ - export const outboundSchema = Transfer$outboundSchema; - /** @deprecated use `Transfer$Outbound` instead. */ - export type Outbound = Transfer$Outbound; -} - -export function transferToJSON(transfer: Transfer): string { - return JSON.stringify(Transfer$outboundSchema.parse(transfer)); -} - -export function transferFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Transfer$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Transfer' from JSON`, - ); -} - -/** @internal */ -export const Schema$inboundSchema: z.ZodType = z - .object({}); - -/** @internal */ -export type Schema$Outbound = {}; - -/** @internal */ -export const Schema$outboundSchema: z.ZodType< - Schema$Outbound, - z.ZodTypeDef, - Schema -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Schema$ { - /** @deprecated use `Schema$inboundSchema` instead. */ - export const inboundSchema = Schema$inboundSchema; - /** @deprecated use `Schema$outboundSchema` instead. */ - export const outboundSchema = Schema$outboundSchema; - /** @deprecated use `Schema$Outbound` instead. */ - export type Outbound = Schema$Outbound; -} - -export function schemaToJSON(schema: Schema): string { - return JSON.stringify(Schema$outboundSchema.parse(schema)); -} - -export function schemaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Schema$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Schema' from JSON`, - ); -} - -/** @internal */ -export const GetEdgeConfigsType$inboundSchema: z.ZodNativeEnum< - typeof GetEdgeConfigsType -> = z.nativeEnum(GetEdgeConfigsType); - -/** @internal */ -export const GetEdgeConfigsType$outboundSchema: z.ZodNativeEnum< - typeof GetEdgeConfigsType -> = GetEdgeConfigsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigsType$ { - /** @deprecated use `GetEdgeConfigsType$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigsType$inboundSchema; - /** @deprecated use `GetEdgeConfigsType$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigsType$outboundSchema; -} - -/** @internal */ -export const Purpose$inboundSchema: z.ZodType = - z.object({ - type: GetEdgeConfigsType$inboundSchema, - projectId: z.string(), - }); - -/** @internal */ -export type Purpose$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const Purpose$outboundSchema: z.ZodType< - Purpose$Outbound, - z.ZodTypeDef, - Purpose -> = z.object({ - type: GetEdgeConfigsType$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Purpose$ { - /** @deprecated use `Purpose$inboundSchema` instead. */ - export const inboundSchema = Purpose$inboundSchema; - /** @deprecated use `Purpose$outboundSchema` instead. */ - export const outboundSchema = Purpose$outboundSchema; - /** @deprecated use `Purpose$Outbound` instead. */ - export type Outbound = Purpose$Outbound; -} - -export function purposeToJSON(purpose: Purpose): string { - return JSON.stringify(Purpose$outboundSchema.parse(purpose)); -} - -export function purposeFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Purpose$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Purpose' from JSON`, - ); -} - -/** @internal */ -export const GetEdgeConfigsResponseBody$inboundSchema: z.ZodType< - GetEdgeConfigsResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - createdAt: z.number().optional(), - ownerId: z.string().optional(), - slug: z.string().optional(), - updatedAt: z.number().optional(), - digest: z.string().optional(), - transfer: z.lazy(() => Transfer$inboundSchema).optional(), - schema: z.lazy(() => Schema$inboundSchema).optional(), - purpose: z.lazy(() => Purpose$inboundSchema).optional(), - sizeInBytes: z.number(), - itemCount: z.number(), -}); - -/** @internal */ -export type GetEdgeConfigsResponseBody$Outbound = { - id?: string | undefined; - createdAt?: number | undefined; - ownerId?: string | undefined; - slug?: string | undefined; - updatedAt?: number | undefined; - digest?: string | undefined; - transfer?: Transfer$Outbound | undefined; - schema?: Schema$Outbound | undefined; - purpose?: Purpose$Outbound | undefined; - sizeInBytes: number; - itemCount: number; -}; - -/** @internal */ -export const GetEdgeConfigsResponseBody$outboundSchema: z.ZodType< - GetEdgeConfigsResponseBody$Outbound, - z.ZodTypeDef, - GetEdgeConfigsResponseBody -> = z.object({ - id: z.string().optional(), - createdAt: z.number().optional(), - ownerId: z.string().optional(), - slug: z.string().optional(), - updatedAt: z.number().optional(), - digest: z.string().optional(), - transfer: z.lazy(() => Transfer$outboundSchema).optional(), - schema: z.lazy(() => Schema$outboundSchema).optional(), - purpose: z.lazy(() => Purpose$outboundSchema).optional(), - sizeInBytes: z.number(), - itemCount: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigsResponseBody$ { - /** @deprecated use `GetEdgeConfigsResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigsResponseBody$inboundSchema; - /** @deprecated use `GetEdgeConfigsResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigsResponseBody$outboundSchema; - /** @deprecated use `GetEdgeConfigsResponseBody$Outbound` instead. */ - export type Outbound = GetEdgeConfigsResponseBody$Outbound; -} - -export function getEdgeConfigsResponseBodyToJSON( - getEdgeConfigsResponseBody: GetEdgeConfigsResponseBody, -): string { - return JSON.stringify( - GetEdgeConfigsResponseBody$outboundSchema.parse(getEdgeConfigsResponseBody), - ); -} - -export function getEdgeConfigsResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigsResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigsResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getedgeconfigschema.ts b/src/models/operations/getedgeconfigschema.ts deleted file mode 100644 index 2534a3d6..00000000 --- a/src/models/operations/getedgeconfigschema.ts +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetEdgeConfigSchemaRequest = { - edgeConfigId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * The EdgeConfig. - */ -export type GetEdgeConfigSchemaResponseBody = {}; - -/** @internal */ -export const GetEdgeConfigSchemaRequest$inboundSchema: z.ZodType< - GetEdgeConfigSchemaRequest, - z.ZodTypeDef, - unknown -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetEdgeConfigSchemaRequest$Outbound = { - edgeConfigId: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetEdgeConfigSchemaRequest$outboundSchema: z.ZodType< - GetEdgeConfigSchemaRequest$Outbound, - z.ZodTypeDef, - GetEdgeConfigSchemaRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigSchemaRequest$ { - /** @deprecated use `GetEdgeConfigSchemaRequest$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigSchemaRequest$inboundSchema; - /** @deprecated use `GetEdgeConfigSchemaRequest$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigSchemaRequest$outboundSchema; - /** @deprecated use `GetEdgeConfigSchemaRequest$Outbound` instead. */ - export type Outbound = GetEdgeConfigSchemaRequest$Outbound; -} - -export function getEdgeConfigSchemaRequestToJSON( - getEdgeConfigSchemaRequest: GetEdgeConfigSchemaRequest, -): string { - return JSON.stringify( - GetEdgeConfigSchemaRequest$outboundSchema.parse(getEdgeConfigSchemaRequest), - ); -} - -export function getEdgeConfigSchemaRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigSchemaRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigSchemaRequest' from JSON`, - ); -} - -/** @internal */ -export const GetEdgeConfigSchemaResponseBody$inboundSchema: z.ZodType< - GetEdgeConfigSchemaResponseBody, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type GetEdgeConfigSchemaResponseBody$Outbound = {}; - -/** @internal */ -export const GetEdgeConfigSchemaResponseBody$outboundSchema: z.ZodType< - GetEdgeConfigSchemaResponseBody$Outbound, - z.ZodTypeDef, - GetEdgeConfigSchemaResponseBody -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigSchemaResponseBody$ { - /** @deprecated use `GetEdgeConfigSchemaResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigSchemaResponseBody$inboundSchema; - /** @deprecated use `GetEdgeConfigSchemaResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigSchemaResponseBody$outboundSchema; - /** @deprecated use `GetEdgeConfigSchemaResponseBody$Outbound` instead. */ - export type Outbound = GetEdgeConfigSchemaResponseBody$Outbound; -} - -export function getEdgeConfigSchemaResponseBodyToJSON( - getEdgeConfigSchemaResponseBody: GetEdgeConfigSchemaResponseBody, -): string { - return JSON.stringify( - GetEdgeConfigSchemaResponseBody$outboundSchema.parse( - getEdgeConfigSchemaResponseBody, - ), - ); -} - -export function getEdgeConfigSchemaResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigSchemaResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigSchemaResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getedgeconfigtoken.ts b/src/models/operations/getedgeconfigtoken.ts deleted file mode 100644 index 22343b1e..00000000 --- a/src/models/operations/getedgeconfigtoken.ts +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetEdgeConfigTokenRequest = { - edgeConfigId: string; - token: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const GetEdgeConfigTokenRequest$inboundSchema: z.ZodType< - GetEdgeConfigTokenRequest, - z.ZodTypeDef, - unknown -> = z.object({ - edgeConfigId: z.string(), - token: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetEdgeConfigTokenRequest$Outbound = { - edgeConfigId: string; - token: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetEdgeConfigTokenRequest$outboundSchema: z.ZodType< - GetEdgeConfigTokenRequest$Outbound, - z.ZodTypeDef, - GetEdgeConfigTokenRequest -> = z.object({ - edgeConfigId: z.string(), - token: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigTokenRequest$ { - /** @deprecated use `GetEdgeConfigTokenRequest$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigTokenRequest$inboundSchema; - /** @deprecated use `GetEdgeConfigTokenRequest$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigTokenRequest$outboundSchema; - /** @deprecated use `GetEdgeConfigTokenRequest$Outbound` instead. */ - export type Outbound = GetEdgeConfigTokenRequest$Outbound; -} - -export function getEdgeConfigTokenRequestToJSON( - getEdgeConfigTokenRequest: GetEdgeConfigTokenRequest, -): string { - return JSON.stringify( - GetEdgeConfigTokenRequest$outboundSchema.parse(getEdgeConfigTokenRequest), - ); -} - -export function getEdgeConfigTokenRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigTokenRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigTokenRequest' from JSON`, - ); -} diff --git a/src/models/operations/getedgeconfigtokens.ts b/src/models/operations/getedgeconfigtokens.ts deleted file mode 100644 index 89aa8bb2..00000000 --- a/src/models/operations/getedgeconfigtokens.ts +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetEdgeConfigTokensRequest = { - edgeConfigId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const GetEdgeConfigTokensRequest$inboundSchema: z.ZodType< - GetEdgeConfigTokensRequest, - z.ZodTypeDef, - unknown -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetEdgeConfigTokensRequest$Outbound = { - edgeConfigId: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetEdgeConfigTokensRequest$outboundSchema: z.ZodType< - GetEdgeConfigTokensRequest$Outbound, - z.ZodTypeDef, - GetEdgeConfigTokensRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigTokensRequest$ { - /** @deprecated use `GetEdgeConfigTokensRequest$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigTokensRequest$inboundSchema; - /** @deprecated use `GetEdgeConfigTokensRequest$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigTokensRequest$outboundSchema; - /** @deprecated use `GetEdgeConfigTokensRequest$Outbound` instead. */ - export type Outbound = GetEdgeConfigTokensRequest$Outbound; -} - -export function getEdgeConfigTokensRequestToJSON( - getEdgeConfigTokensRequest: GetEdgeConfigTokensRequest, -): string { - return JSON.stringify( - GetEdgeConfigTokensRequest$outboundSchema.parse(getEdgeConfigTokensRequest), - ); -} - -export function getEdgeConfigTokensRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetEdgeConfigTokensRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetEdgeConfigTokensRequest' from JSON`, - ); -} diff --git a/src/models/operations/getfirewallconfig.ts b/src/models/operations/getfirewallconfig.ts deleted file mode 100644 index 20c73f33..00000000 --- a/src/models/operations/getfirewallconfig.ts +++ /dev/null @@ -1,2486 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetFirewallConfigRequest = { - projectId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - /** - * The deployed configVersion for the firewall configuration - */ - configVersion: string; -}; - -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction = - { - Deny: "deny", - Log: "log", - } as const; -export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction = - ClosedEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction - >; - -export type GetFirewallConfigSd = { - active: boolean; - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction; -}; - -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction = - { - Deny: "deny", - Log: "log", - } as const; -export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction = - ClosedEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction - >; - -export type GetFirewallConfigMa = { - active: boolean; - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction; -}; - -export const GetFirewallConfigSecurityResponseAction = { - Deny: "deny", - Log: "log", -} as const; -export type GetFirewallConfigSecurityResponseAction = ClosedEnum< - typeof GetFirewallConfigSecurityResponseAction ->; - -export type GetFirewallConfigLfi = { - active: boolean; - action: GetFirewallConfigSecurityResponseAction; -}; - -export const GetFirewallConfigSecurityResponse200Action = { - Deny: "deny", - Log: "log", -} as const; -export type GetFirewallConfigSecurityResponse200Action = ClosedEnum< - typeof GetFirewallConfigSecurityResponse200Action ->; - -export type GetFirewallConfigRfi = { - active: boolean; - action: GetFirewallConfigSecurityResponse200Action; -}; - -export const GetFirewallConfigSecurityResponse200ApplicationJSONAction = { - Deny: "deny", - Log: "log", -} as const; -export type GetFirewallConfigSecurityResponse200ApplicationJSONAction = - ClosedEnum; - -export type GetFirewallConfigRce = { - active: boolean; - action: GetFirewallConfigSecurityResponse200ApplicationJSONAction; -}; - -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction = - { - Deny: "deny", - Log: "log", - } as const; -export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction = - ClosedEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction - >; - -export type GetFirewallConfigPhp = { - active: boolean; - action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction; -}; - -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction = - { - Deny: "deny", - Log: "log", - } as const; -export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction = - ClosedEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction - >; - -export type GetFirewallConfigGen = { - active: boolean; - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction; -}; - -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction = - { - Deny: "deny", - Log: "log", - } as const; -export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction = - ClosedEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction - >; - -export type GetFirewallConfigXss = { - active: boolean; - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction; -}; - -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction = - { - Deny: "deny", - Log: "log", - } as const; -export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction = - ClosedEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction - >; - -export type GetFirewallConfigSqli = { - active: boolean; - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction; -}; - -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction = - { - Deny: "deny", - Log: "log", - } as const; -export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction = - ClosedEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction - >; - -export type GetFirewallConfigSf = { - active: boolean; - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction; -}; - -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction = - { - Deny: "deny", - Log: "log", - } as const; -export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction = - ClosedEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction - >; - -export type GetFirewallConfigJava = { - active: boolean; - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction; -}; - -export type GetFirewallConfigCrs = { - sd: GetFirewallConfigSd; - ma: GetFirewallConfigMa; - lfi: GetFirewallConfigLfi; - rfi: GetFirewallConfigRfi; - rce: GetFirewallConfigRce; - php: GetFirewallConfigPhp; - gen: GetFirewallConfigGen; - xss: GetFirewallConfigXss; - sqli: GetFirewallConfigSqli; - sf: GetFirewallConfigSf; - java: GetFirewallConfigJava; -}; - -export const GetFirewallConfigType = { - Host: "host", - Path: "path", - Method: "method", - Header: "header", - Query: "query", - Cookie: "cookie", - TargetPath: "target_path", - IpAddress: "ip_address", - Protocol: "protocol", - Region: "region", - Scheme: "scheme", - Environment: "environment", - UserAgent: "user_agent", - GeoContinent: "geo_continent", - GeoCountry: "geo_country", - GeoCountryRegion: "geo_country_region", - GeoCity: "geo_city", - GeoAsNumber: "geo_as_number", - Ja4Digest: "ja4_digest", - Ja3Digest: "ja3_digest", - RateLimitApiId: "rate_limit_api_id", -} as const; -export type GetFirewallConfigType = ClosedEnum; - -export const GetFirewallConfigOp = { - Re: "re", - Eq: "eq", - Ex: "ex", - Inc: "inc", - Pre: "pre", - Suf: "suf", - Sub: "sub", - Gt: "gt", - Gte: "gte", - Lt: "lt", - Lte: "lte", - Nex: "nex", - Ninc: "ninc", - Neq: "neq", -} as const; -export type GetFirewallConfigOp = ClosedEnum; - -export type GetFirewallConfigValue = string | number | Array; - -export type GetFirewallConfigConditions = { - type: GetFirewallConfigType; - op: GetFirewallConfigOp; - neg?: boolean | undefined; - key?: string | undefined; - value?: string | number | Array | undefined; -}; - -export type GetFirewallConfigConditionGroup = { - conditions: Array; -}; - -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction = - { - Deny: "deny", - Log: "log", - Challenge: "challenge", - Bypass: "bypass", - RateLimit: "rate_limit", - Redirect: "redirect", - } as const; -export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction = - ClosedEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction - >; - -export const GetFirewallConfigAlgo = { - FixedWindow: "fixed_window", - TokenBucket: "token_bucket", -} as const; -export type GetFirewallConfigAlgo = ClosedEnum; - -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction = - { - Deny: "deny", - Log: "log", - Challenge: "challenge", - RateLimit: "rate_limit", - } as const; -export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction = - ClosedEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction - >; - -export type GetFirewallConfigRateLimit = { - algo: GetFirewallConfigAlgo; - window: number; - limit: number; - keys: Array; - action?: - | GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction - | null - | undefined; -}; - -export type GetFirewallConfigRedirect = { - location: string; - permanent: boolean; -}; - -export type GetFirewallConfigMitigate = { - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction; - rateLimit?: GetFirewallConfigRateLimit | null | undefined; - redirect?: GetFirewallConfigRedirect | null | undefined; - actionDuration?: string | null | undefined; -}; - -export type GetFirewallConfigAction = { - mitigate?: GetFirewallConfigMitigate | undefined; -}; - -export type GetFirewallConfigRules = { - id: string; - name: string; - description?: string | undefined; - active: boolean; - conditionGroup: Array; - action: GetFirewallConfigAction; -}; - -export const GetFirewallConfigSecurityAction = { - Deny: "deny", - Log: "log", - Challenge: "challenge", - Bypass: "bypass", -} as const; -export type GetFirewallConfigSecurityAction = ClosedEnum< - typeof GetFirewallConfigSecurityAction ->; - -export type GetFirewallConfigIps = { - id: string; - hostname: string; - ip: string; - notes?: string | undefined; - action: GetFirewallConfigSecurityAction; -}; - -export type Changes = {}; - -export type GetFirewallConfigOwasp = { - active: boolean; - updatedAt?: string | undefined; - userId?: string | undefined; - username?: string | undefined; -}; - -export type VerifiedBotsBypass = { - active: boolean; - updatedAt?: string | undefined; - userId?: string | undefined; - username?: string | undefined; -}; - -export type GetFirewallConfigManagedRules = { - owasp?: GetFirewallConfigOwasp | undefined; - verifiedBotsBypass?: VerifiedBotsBypass | undefined; -}; - -export type GetFirewallConfigResponseBody = { - ownerId: string; - projectKey: string; - id: string; - version: number; - updatedAt: string; - firewallEnabled: boolean; - crs: GetFirewallConfigCrs; - rules: Array; - ips: Array; - changes: Array; - managedRules?: GetFirewallConfigManagedRules | undefined; -}; - -/** @internal */ -export const GetFirewallConfigRequest$inboundSchema: z.ZodType< - GetFirewallConfigRequest, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - configVersion: z.string(), -}); - -/** @internal */ -export type GetFirewallConfigRequest$Outbound = { - projectId: string; - teamId?: string | undefined; - slug?: string | undefined; - configVersion: string; -}; - -/** @internal */ -export const GetFirewallConfigRequest$outboundSchema: z.ZodType< - GetFirewallConfigRequest$Outbound, - z.ZodTypeDef, - GetFirewallConfigRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - configVersion: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigRequest$ { - /** @deprecated use `GetFirewallConfigRequest$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigRequest$inboundSchema; - /** @deprecated use `GetFirewallConfigRequest$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigRequest$outboundSchema; - /** @deprecated use `GetFirewallConfigRequest$Outbound` instead. */ - export type Outbound = GetFirewallConfigRequest$Outbound; -} - -export function getFirewallConfigRequestToJSON( - getFirewallConfigRequest: GetFirewallConfigRequest, -): string { - return JSON.stringify( - GetFirewallConfigRequest$outboundSchema.parse(getFirewallConfigRequest), - ); -} - -export function getFirewallConfigRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigRequest' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction, - ); - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$outboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction - > = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$ { - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema` instead. */ - export const inboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$outboundSchema` instead. */ - export const outboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigSd$inboundSchema: z.ZodType< - GetFirewallConfigSd, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema, -}); - -/** @internal */ -export type GetFirewallConfigSd$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const GetFirewallConfigSd$outboundSchema: z.ZodType< - GetFirewallConfigSd$Outbound, - z.ZodTypeDef, - GetFirewallConfigSd -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSd$ { - /** @deprecated use `GetFirewallConfigSd$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigSd$inboundSchema; - /** @deprecated use `GetFirewallConfigSd$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigSd$outboundSchema; - /** @deprecated use `GetFirewallConfigSd$Outbound` instead. */ - export type Outbound = GetFirewallConfigSd$Outbound; -} - -export function getFirewallConfigSdToJSON( - getFirewallConfigSd: GetFirewallConfigSd, -): string { - return JSON.stringify( - GetFirewallConfigSd$outboundSchema.parse(getFirewallConfigSd), - ); -} - -export function getFirewallConfigSdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigSd$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigSd' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction, - ); - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$outboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction - > = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$ { - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema` instead. */ - export const inboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$outboundSchema` instead. */ - export const outboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigMa$inboundSchema: z.ZodType< - GetFirewallConfigMa, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema, -}); - -/** @internal */ -export type GetFirewallConfigMa$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const GetFirewallConfigMa$outboundSchema: z.ZodType< - GetFirewallConfigMa$Outbound, - z.ZodTypeDef, - GetFirewallConfigMa -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigMa$ { - /** @deprecated use `GetFirewallConfigMa$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigMa$inboundSchema; - /** @deprecated use `GetFirewallConfigMa$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigMa$outboundSchema; - /** @deprecated use `GetFirewallConfigMa$Outbound` instead. */ - export type Outbound = GetFirewallConfigMa$Outbound; -} - -export function getFirewallConfigMaToJSON( - getFirewallConfigMa: GetFirewallConfigMa, -): string { - return JSON.stringify( - GetFirewallConfigMa$outboundSchema.parse(getFirewallConfigMa), - ); -} - -export function getFirewallConfigMaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigMa$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigMa' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigSecurityResponseAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetFirewallConfigSecurityResponseAction); - -/** @internal */ -export const GetFirewallConfigSecurityResponseAction$outboundSchema: - z.ZodNativeEnum = - GetFirewallConfigSecurityResponseAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityResponseAction$ { - /** @deprecated use `GetFirewallConfigSecurityResponseAction$inboundSchema` instead. */ - export const inboundSchema = - GetFirewallConfigSecurityResponseAction$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityResponseAction$outboundSchema` instead. */ - export const outboundSchema = - GetFirewallConfigSecurityResponseAction$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigLfi$inboundSchema: z.ZodType< - GetFirewallConfigLfi, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: GetFirewallConfigSecurityResponseAction$inboundSchema, -}); - -/** @internal */ -export type GetFirewallConfigLfi$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const GetFirewallConfigLfi$outboundSchema: z.ZodType< - GetFirewallConfigLfi$Outbound, - z.ZodTypeDef, - GetFirewallConfigLfi -> = z.object({ - active: z.boolean(), - action: GetFirewallConfigSecurityResponseAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigLfi$ { - /** @deprecated use `GetFirewallConfigLfi$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigLfi$inboundSchema; - /** @deprecated use `GetFirewallConfigLfi$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigLfi$outboundSchema; - /** @deprecated use `GetFirewallConfigLfi$Outbound` instead. */ - export type Outbound = GetFirewallConfigLfi$Outbound; -} - -export function getFirewallConfigLfiToJSON( - getFirewallConfigLfi: GetFirewallConfigLfi, -): string { - return JSON.stringify( - GetFirewallConfigLfi$outboundSchema.parse(getFirewallConfigLfi), - ); -} - -export function getFirewallConfigLfiFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigLfi$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigLfi' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigSecurityResponse200Action$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetFirewallConfigSecurityResponse200Action); - -/** @internal */ -export const GetFirewallConfigSecurityResponse200Action$outboundSchema: - z.ZodNativeEnum = - GetFirewallConfigSecurityResponse200Action$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityResponse200Action$ { - /** @deprecated use `GetFirewallConfigSecurityResponse200Action$inboundSchema` instead. */ - export const inboundSchema = - GetFirewallConfigSecurityResponse200Action$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityResponse200Action$outboundSchema` instead. */ - export const outboundSchema = - GetFirewallConfigSecurityResponse200Action$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigRfi$inboundSchema: z.ZodType< - GetFirewallConfigRfi, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: GetFirewallConfigSecurityResponse200Action$inboundSchema, -}); - -/** @internal */ -export type GetFirewallConfigRfi$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const GetFirewallConfigRfi$outboundSchema: z.ZodType< - GetFirewallConfigRfi$Outbound, - z.ZodTypeDef, - GetFirewallConfigRfi -> = z.object({ - active: z.boolean(), - action: GetFirewallConfigSecurityResponse200Action$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigRfi$ { - /** @deprecated use `GetFirewallConfigRfi$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigRfi$inboundSchema; - /** @deprecated use `GetFirewallConfigRfi$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigRfi$outboundSchema; - /** @deprecated use `GetFirewallConfigRfi$Outbound` instead. */ - export type Outbound = GetFirewallConfigRfi$Outbound; -} - -export function getFirewallConfigRfiToJSON( - getFirewallConfigRfi: GetFirewallConfigRfi, -): string { - return JSON.stringify( - GetFirewallConfigRfi$outboundSchema.parse(getFirewallConfigRfi), - ); -} - -export function getFirewallConfigRfiFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigRfi$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigRfi' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONAction - > = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONAction); - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONAction - > = GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityResponse200ApplicationJSONAction$ { - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema` instead. */ - export const inboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema` instead. */ - export const outboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigRce$inboundSchema: z.ZodType< - GetFirewallConfigRce, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema, -}); - -/** @internal */ -export type GetFirewallConfigRce$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const GetFirewallConfigRce$outboundSchema: z.ZodType< - GetFirewallConfigRce$Outbound, - z.ZodTypeDef, - GetFirewallConfigRce -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigRce$ { - /** @deprecated use `GetFirewallConfigRce$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigRce$inboundSchema; - /** @deprecated use `GetFirewallConfigRce$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigRce$outboundSchema; - /** @deprecated use `GetFirewallConfigRce$Outbound` instead. */ - export type Outbound = GetFirewallConfigRce$Outbound; -} - -export function getFirewallConfigRceToJSON( - getFirewallConfigRce: GetFirewallConfigRce, -): string { - return JSON.stringify( - GetFirewallConfigRce$outboundSchema.parse(getFirewallConfigRce), - ); -} - -export function getFirewallConfigRceFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigRce$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigRce' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction, - ); - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction - > = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$ { - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema` instead. */ - export const inboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema` instead. */ - export const outboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigPhp$inboundSchema: z.ZodType< - GetFirewallConfigPhp, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, -}); - -/** @internal */ -export type GetFirewallConfigPhp$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const GetFirewallConfigPhp$outboundSchema: z.ZodType< - GetFirewallConfigPhp$Outbound, - z.ZodTypeDef, - GetFirewallConfigPhp -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigPhp$ { - /** @deprecated use `GetFirewallConfigPhp$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigPhp$inboundSchema; - /** @deprecated use `GetFirewallConfigPhp$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigPhp$outboundSchema; - /** @deprecated use `GetFirewallConfigPhp$Outbound` instead. */ - export type Outbound = GetFirewallConfigPhp$Outbound; -} - -export function getFirewallConfigPhpToJSON( - getFirewallConfigPhp: GetFirewallConfigPhp, -): string { - return JSON.stringify( - GetFirewallConfigPhp$outboundSchema.parse(getFirewallConfigPhp), - ); -} - -export function getFirewallConfigPhpFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigPhp$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigPhp' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction, - ); - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$outboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction - > = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$ { - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema` instead. */ - export const inboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$outboundSchema` instead. */ - export const outboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigGen$inboundSchema: z.ZodType< - GetFirewallConfigGen, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema, -}); - -/** @internal */ -export type GetFirewallConfigGen$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const GetFirewallConfigGen$outboundSchema: z.ZodType< - GetFirewallConfigGen$Outbound, - z.ZodTypeDef, - GetFirewallConfigGen -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigGen$ { - /** @deprecated use `GetFirewallConfigGen$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigGen$inboundSchema; - /** @deprecated use `GetFirewallConfigGen$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigGen$outboundSchema; - /** @deprecated use `GetFirewallConfigGen$Outbound` instead. */ - export type Outbound = GetFirewallConfigGen$Outbound; -} - -export function getFirewallConfigGenToJSON( - getFirewallConfigGen: GetFirewallConfigGen, -): string { - return JSON.stringify( - GetFirewallConfigGen$outboundSchema.parse(getFirewallConfigGen), - ); -} - -export function getFirewallConfigGenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigGen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigGen' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction, - ); - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$outboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction - > = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$ { - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema` instead. */ - export const inboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$outboundSchema` instead. */ - export const outboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigXss$inboundSchema: z.ZodType< - GetFirewallConfigXss, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema, -}); - -/** @internal */ -export type GetFirewallConfigXss$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const GetFirewallConfigXss$outboundSchema: z.ZodType< - GetFirewallConfigXss$Outbound, - z.ZodTypeDef, - GetFirewallConfigXss -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigXss$ { - /** @deprecated use `GetFirewallConfigXss$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigXss$inboundSchema; - /** @deprecated use `GetFirewallConfigXss$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigXss$outboundSchema; - /** @deprecated use `GetFirewallConfigXss$Outbound` instead. */ - export type Outbound = GetFirewallConfigXss$Outbound; -} - -export function getFirewallConfigXssToJSON( - getFirewallConfigXss: GetFirewallConfigXss, -): string { - return JSON.stringify( - GetFirewallConfigXss$outboundSchema.parse(getFirewallConfigXss), - ); -} - -export function getFirewallConfigXssFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigXss$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigXss' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction, - ); - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$outboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction - > = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$ { - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema` instead. */ - export const inboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$outboundSchema` instead. */ - export const outboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigSqli$inboundSchema: z.ZodType< - GetFirewallConfigSqli, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema, -}); - -/** @internal */ -export type GetFirewallConfigSqli$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const GetFirewallConfigSqli$outboundSchema: z.ZodType< - GetFirewallConfigSqli$Outbound, - z.ZodTypeDef, - GetFirewallConfigSqli -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSqli$ { - /** @deprecated use `GetFirewallConfigSqli$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigSqli$inboundSchema; - /** @deprecated use `GetFirewallConfigSqli$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigSqli$outboundSchema; - /** @deprecated use `GetFirewallConfigSqli$Outbound` instead. */ - export type Outbound = GetFirewallConfigSqli$Outbound; -} - -export function getFirewallConfigSqliToJSON( - getFirewallConfigSqli: GetFirewallConfigSqli, -): string { - return JSON.stringify( - GetFirewallConfigSqli$outboundSchema.parse(getFirewallConfigSqli), - ); -} - -export function getFirewallConfigSqliFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigSqli$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigSqli' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction, - ); - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$outboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction - > = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$ { - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema` instead. */ - export const inboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$outboundSchema` instead. */ - export const outboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigSf$inboundSchema: z.ZodType< - GetFirewallConfigSf, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema, -}); - -/** @internal */ -export type GetFirewallConfigSf$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const GetFirewallConfigSf$outboundSchema: z.ZodType< - GetFirewallConfigSf$Outbound, - z.ZodTypeDef, - GetFirewallConfigSf -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSf$ { - /** @deprecated use `GetFirewallConfigSf$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigSf$inboundSchema; - /** @deprecated use `GetFirewallConfigSf$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigSf$outboundSchema; - /** @deprecated use `GetFirewallConfigSf$Outbound` instead. */ - export type Outbound = GetFirewallConfigSf$Outbound; -} - -export function getFirewallConfigSfToJSON( - getFirewallConfigSf: GetFirewallConfigSf, -): string { - return JSON.stringify( - GetFirewallConfigSf$outboundSchema.parse(getFirewallConfigSf), - ); -} - -export function getFirewallConfigSfFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigSf$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigSf' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction, - ); - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$outboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction - > = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$ { - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema` instead. */ - export const inboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$outboundSchema` instead. */ - export const outboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigJava$inboundSchema: z.ZodType< - GetFirewallConfigJava, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema, -}); - -/** @internal */ -export type GetFirewallConfigJava$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const GetFirewallConfigJava$outboundSchema: z.ZodType< - GetFirewallConfigJava$Outbound, - z.ZodTypeDef, - GetFirewallConfigJava -> = z.object({ - active: z.boolean(), - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigJava$ { - /** @deprecated use `GetFirewallConfigJava$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigJava$inboundSchema; - /** @deprecated use `GetFirewallConfigJava$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigJava$outboundSchema; - /** @deprecated use `GetFirewallConfigJava$Outbound` instead. */ - export type Outbound = GetFirewallConfigJava$Outbound; -} - -export function getFirewallConfigJavaToJSON( - getFirewallConfigJava: GetFirewallConfigJava, -): string { - return JSON.stringify( - GetFirewallConfigJava$outboundSchema.parse(getFirewallConfigJava), - ); -} - -export function getFirewallConfigJavaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigJava$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigJava' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigCrs$inboundSchema: z.ZodType< - GetFirewallConfigCrs, - z.ZodTypeDef, - unknown -> = z.object({ - sd: z.lazy(() => GetFirewallConfigSd$inboundSchema), - ma: z.lazy(() => GetFirewallConfigMa$inboundSchema), - lfi: z.lazy(() => GetFirewallConfigLfi$inboundSchema), - rfi: z.lazy(() => GetFirewallConfigRfi$inboundSchema), - rce: z.lazy(() => GetFirewallConfigRce$inboundSchema), - php: z.lazy(() => GetFirewallConfigPhp$inboundSchema), - gen: z.lazy(() => GetFirewallConfigGen$inboundSchema), - xss: z.lazy(() => GetFirewallConfigXss$inboundSchema), - sqli: z.lazy(() => GetFirewallConfigSqli$inboundSchema), - sf: z.lazy(() => GetFirewallConfigSf$inboundSchema), - java: z.lazy(() => GetFirewallConfigJava$inboundSchema), -}); - -/** @internal */ -export type GetFirewallConfigCrs$Outbound = { - sd: GetFirewallConfigSd$Outbound; - ma: GetFirewallConfigMa$Outbound; - lfi: GetFirewallConfigLfi$Outbound; - rfi: GetFirewallConfigRfi$Outbound; - rce: GetFirewallConfigRce$Outbound; - php: GetFirewallConfigPhp$Outbound; - gen: GetFirewallConfigGen$Outbound; - xss: GetFirewallConfigXss$Outbound; - sqli: GetFirewallConfigSqli$Outbound; - sf: GetFirewallConfigSf$Outbound; - java: GetFirewallConfigJava$Outbound; -}; - -/** @internal */ -export const GetFirewallConfigCrs$outboundSchema: z.ZodType< - GetFirewallConfigCrs$Outbound, - z.ZodTypeDef, - GetFirewallConfigCrs -> = z.object({ - sd: z.lazy(() => GetFirewallConfigSd$outboundSchema), - ma: z.lazy(() => GetFirewallConfigMa$outboundSchema), - lfi: z.lazy(() => GetFirewallConfigLfi$outboundSchema), - rfi: z.lazy(() => GetFirewallConfigRfi$outboundSchema), - rce: z.lazy(() => GetFirewallConfigRce$outboundSchema), - php: z.lazy(() => GetFirewallConfigPhp$outboundSchema), - gen: z.lazy(() => GetFirewallConfigGen$outboundSchema), - xss: z.lazy(() => GetFirewallConfigXss$outboundSchema), - sqli: z.lazy(() => GetFirewallConfigSqli$outboundSchema), - sf: z.lazy(() => GetFirewallConfigSf$outboundSchema), - java: z.lazy(() => GetFirewallConfigJava$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigCrs$ { - /** @deprecated use `GetFirewallConfigCrs$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigCrs$inboundSchema; - /** @deprecated use `GetFirewallConfigCrs$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigCrs$outboundSchema; - /** @deprecated use `GetFirewallConfigCrs$Outbound` instead. */ - export type Outbound = GetFirewallConfigCrs$Outbound; -} - -export function getFirewallConfigCrsToJSON( - getFirewallConfigCrs: GetFirewallConfigCrs, -): string { - return JSON.stringify( - GetFirewallConfigCrs$outboundSchema.parse(getFirewallConfigCrs), - ); -} - -export function getFirewallConfigCrsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigCrs$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigCrs' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigType$inboundSchema: z.ZodNativeEnum< - typeof GetFirewallConfigType -> = z.nativeEnum(GetFirewallConfigType); - -/** @internal */ -export const GetFirewallConfigType$outboundSchema: z.ZodNativeEnum< - typeof GetFirewallConfigType -> = GetFirewallConfigType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigType$ { - /** @deprecated use `GetFirewallConfigType$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigType$inboundSchema; - /** @deprecated use `GetFirewallConfigType$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigType$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigOp$inboundSchema: z.ZodNativeEnum< - typeof GetFirewallConfigOp -> = z.nativeEnum(GetFirewallConfigOp); - -/** @internal */ -export const GetFirewallConfigOp$outboundSchema: z.ZodNativeEnum< - typeof GetFirewallConfigOp -> = GetFirewallConfigOp$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigOp$ { - /** @deprecated use `GetFirewallConfigOp$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigOp$inboundSchema; - /** @deprecated use `GetFirewallConfigOp$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigOp$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigValue$inboundSchema: z.ZodType< - GetFirewallConfigValue, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number(), z.array(z.string())]); - -/** @internal */ -export type GetFirewallConfigValue$Outbound = string | number | Array; - -/** @internal */ -export const GetFirewallConfigValue$outboundSchema: z.ZodType< - GetFirewallConfigValue$Outbound, - z.ZodTypeDef, - GetFirewallConfigValue -> = z.union([z.string(), z.number(), z.array(z.string())]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigValue$ { - /** @deprecated use `GetFirewallConfigValue$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigValue$inboundSchema; - /** @deprecated use `GetFirewallConfigValue$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigValue$outboundSchema; - /** @deprecated use `GetFirewallConfigValue$Outbound` instead. */ - export type Outbound = GetFirewallConfigValue$Outbound; -} - -export function getFirewallConfigValueToJSON( - getFirewallConfigValue: GetFirewallConfigValue, -): string { - return JSON.stringify( - GetFirewallConfigValue$outboundSchema.parse(getFirewallConfigValue), - ); -} - -export function getFirewallConfigValueFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigValue$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigValue' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigConditions$inboundSchema: z.ZodType< - GetFirewallConfigConditions, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetFirewallConfigType$inboundSchema, - op: GetFirewallConfigOp$inboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: z.union([z.string(), z.number(), z.array(z.string())]).optional(), -}); - -/** @internal */ -export type GetFirewallConfigConditions$Outbound = { - type: string; - op: string; - neg?: boolean | undefined; - key?: string | undefined; - value?: string | number | Array | undefined; -}; - -/** @internal */ -export const GetFirewallConfigConditions$outboundSchema: z.ZodType< - GetFirewallConfigConditions$Outbound, - z.ZodTypeDef, - GetFirewallConfigConditions -> = z.object({ - type: GetFirewallConfigType$outboundSchema, - op: GetFirewallConfigOp$outboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: z.union([z.string(), z.number(), z.array(z.string())]).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigConditions$ { - /** @deprecated use `GetFirewallConfigConditions$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigConditions$inboundSchema; - /** @deprecated use `GetFirewallConfigConditions$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigConditions$outboundSchema; - /** @deprecated use `GetFirewallConfigConditions$Outbound` instead. */ - export type Outbound = GetFirewallConfigConditions$Outbound; -} - -export function getFirewallConfigConditionsToJSON( - getFirewallConfigConditions: GetFirewallConfigConditions, -): string { - return JSON.stringify( - GetFirewallConfigConditions$outboundSchema.parse( - getFirewallConfigConditions, - ), - ); -} - -export function getFirewallConfigConditionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigConditions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigConditions' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigConditionGroup$inboundSchema: z.ZodType< - GetFirewallConfigConditionGroup, - z.ZodTypeDef, - unknown -> = z.object({ - conditions: z.array(z.lazy(() => GetFirewallConfigConditions$inboundSchema)), -}); - -/** @internal */ -export type GetFirewallConfigConditionGroup$Outbound = { - conditions: Array; -}; - -/** @internal */ -export const GetFirewallConfigConditionGroup$outboundSchema: z.ZodType< - GetFirewallConfigConditionGroup$Outbound, - z.ZodTypeDef, - GetFirewallConfigConditionGroup -> = z.object({ - conditions: z.array(z.lazy(() => GetFirewallConfigConditions$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigConditionGroup$ { - /** @deprecated use `GetFirewallConfigConditionGroup$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigConditionGroup$inboundSchema; - /** @deprecated use `GetFirewallConfigConditionGroup$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigConditionGroup$outboundSchema; - /** @deprecated use `GetFirewallConfigConditionGroup$Outbound` instead. */ - export type Outbound = GetFirewallConfigConditionGroup$Outbound; -} - -export function getFirewallConfigConditionGroupToJSON( - getFirewallConfigConditionGroup: GetFirewallConfigConditionGroup, -): string { - return JSON.stringify( - GetFirewallConfigConditionGroup$outboundSchema.parse( - getFirewallConfigConditionGroup, - ), - ); -} - -export function getFirewallConfigConditionGroupFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigConditionGroup$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigConditionGroup' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$inboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction, - ); - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$outboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction - > = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$ { - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$inboundSchema` instead. */ - export const inboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$outboundSchema` instead. */ - export const outboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigAlgo$inboundSchema: z.ZodNativeEnum< - typeof GetFirewallConfigAlgo -> = z.nativeEnum(GetFirewallConfigAlgo); - -/** @internal */ -export const GetFirewallConfigAlgo$outboundSchema: z.ZodNativeEnum< - typeof GetFirewallConfigAlgo -> = GetFirewallConfigAlgo$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigAlgo$ { - /** @deprecated use `GetFirewallConfigAlgo$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigAlgo$inboundSchema; - /** @deprecated use `GetFirewallConfigAlgo$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigAlgo$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$inboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction, - ); - -/** @internal */ -export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$outboundSchema: - z.ZodNativeEnum< - typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction - > = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$ { - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$inboundSchema` instead. */ - export const inboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$outboundSchema` instead. */ - export const outboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigRateLimit$inboundSchema: z.ZodType< - GetFirewallConfigRateLimit, - z.ZodTypeDef, - unknown -> = z.object({ - algo: GetFirewallConfigAlgo$inboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), - action: z.nullable( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$inboundSchema, - ).optional(), -}); - -/** @internal */ -export type GetFirewallConfigRateLimit$Outbound = { - algo: string; - window: number; - limit: number; - keys: Array; - action?: string | null | undefined; -}; - -/** @internal */ -export const GetFirewallConfigRateLimit$outboundSchema: z.ZodType< - GetFirewallConfigRateLimit$Outbound, - z.ZodTypeDef, - GetFirewallConfigRateLimit -> = z.object({ - algo: GetFirewallConfigAlgo$outboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), - action: z.nullable( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$outboundSchema, - ).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigRateLimit$ { - /** @deprecated use `GetFirewallConfigRateLimit$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigRateLimit$inboundSchema; - /** @deprecated use `GetFirewallConfigRateLimit$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigRateLimit$outboundSchema; - /** @deprecated use `GetFirewallConfigRateLimit$Outbound` instead. */ - export type Outbound = GetFirewallConfigRateLimit$Outbound; -} - -export function getFirewallConfigRateLimitToJSON( - getFirewallConfigRateLimit: GetFirewallConfigRateLimit, -): string { - return JSON.stringify( - GetFirewallConfigRateLimit$outboundSchema.parse(getFirewallConfigRateLimit), - ); -} - -export function getFirewallConfigRateLimitFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigRateLimit$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigRateLimit' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigRedirect$inboundSchema: z.ZodType< - GetFirewallConfigRedirect, - z.ZodTypeDef, - unknown -> = z.object({ - location: z.string(), - permanent: z.boolean(), -}); - -/** @internal */ -export type GetFirewallConfigRedirect$Outbound = { - location: string; - permanent: boolean; -}; - -/** @internal */ -export const GetFirewallConfigRedirect$outboundSchema: z.ZodType< - GetFirewallConfigRedirect$Outbound, - z.ZodTypeDef, - GetFirewallConfigRedirect -> = z.object({ - location: z.string(), - permanent: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigRedirect$ { - /** @deprecated use `GetFirewallConfigRedirect$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigRedirect$inboundSchema; - /** @deprecated use `GetFirewallConfigRedirect$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigRedirect$outboundSchema; - /** @deprecated use `GetFirewallConfigRedirect$Outbound` instead. */ - export type Outbound = GetFirewallConfigRedirect$Outbound; -} - -export function getFirewallConfigRedirectToJSON( - getFirewallConfigRedirect: GetFirewallConfigRedirect, -): string { - return JSON.stringify( - GetFirewallConfigRedirect$outboundSchema.parse(getFirewallConfigRedirect), - ); -} - -export function getFirewallConfigRedirectFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigRedirect$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigRedirect' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigMitigate$inboundSchema: z.ZodType< - GetFirewallConfigMitigate, - z.ZodTypeDef, - unknown -> = z.object({ - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$inboundSchema, - rateLimit: z.nullable(z.lazy(() => GetFirewallConfigRateLimit$inboundSchema)) - .optional(), - redirect: z.nullable(z.lazy(() => GetFirewallConfigRedirect$inboundSchema)) - .optional(), - actionDuration: z.nullable(z.string()).optional(), -}); - -/** @internal */ -export type GetFirewallConfigMitigate$Outbound = { - action: string; - rateLimit?: GetFirewallConfigRateLimit$Outbound | null | undefined; - redirect?: GetFirewallConfigRedirect$Outbound | null | undefined; - actionDuration?: string | null | undefined; -}; - -/** @internal */ -export const GetFirewallConfigMitigate$outboundSchema: z.ZodType< - GetFirewallConfigMitigate$Outbound, - z.ZodTypeDef, - GetFirewallConfigMitigate -> = z.object({ - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$outboundSchema, - rateLimit: z.nullable(z.lazy(() => GetFirewallConfigRateLimit$outboundSchema)) - .optional(), - redirect: z.nullable(z.lazy(() => GetFirewallConfigRedirect$outboundSchema)) - .optional(), - actionDuration: z.nullable(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigMitigate$ { - /** @deprecated use `GetFirewallConfigMitigate$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigMitigate$inboundSchema; - /** @deprecated use `GetFirewallConfigMitigate$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigMitigate$outboundSchema; - /** @deprecated use `GetFirewallConfigMitigate$Outbound` instead. */ - export type Outbound = GetFirewallConfigMitigate$Outbound; -} - -export function getFirewallConfigMitigateToJSON( - getFirewallConfigMitigate: GetFirewallConfigMitigate, -): string { - return JSON.stringify( - GetFirewallConfigMitigate$outboundSchema.parse(getFirewallConfigMitigate), - ); -} - -export function getFirewallConfigMitigateFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigMitigate$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigMitigate' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigAction$inboundSchema: z.ZodType< - GetFirewallConfigAction, - z.ZodTypeDef, - unknown -> = z.object({ - mitigate: z.lazy(() => GetFirewallConfigMitigate$inboundSchema).optional(), -}); - -/** @internal */ -export type GetFirewallConfigAction$Outbound = { - mitigate?: GetFirewallConfigMitigate$Outbound | undefined; -}; - -/** @internal */ -export const GetFirewallConfigAction$outboundSchema: z.ZodType< - GetFirewallConfigAction$Outbound, - z.ZodTypeDef, - GetFirewallConfigAction -> = z.object({ - mitigate: z.lazy(() => GetFirewallConfigMitigate$outboundSchema).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigAction$ { - /** @deprecated use `GetFirewallConfigAction$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigAction$inboundSchema; - /** @deprecated use `GetFirewallConfigAction$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigAction$outboundSchema; - /** @deprecated use `GetFirewallConfigAction$Outbound` instead. */ - export type Outbound = GetFirewallConfigAction$Outbound; -} - -export function getFirewallConfigActionToJSON( - getFirewallConfigAction: GetFirewallConfigAction, -): string { - return JSON.stringify( - GetFirewallConfigAction$outboundSchema.parse(getFirewallConfigAction), - ); -} - -export function getFirewallConfigActionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigAction$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigAction' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigRules$inboundSchema: z.ZodType< - GetFirewallConfigRules, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array( - z.lazy(() => GetFirewallConfigConditionGroup$inboundSchema), - ), - action: z.lazy(() => GetFirewallConfigAction$inboundSchema), -}); - -/** @internal */ -export type GetFirewallConfigRules$Outbound = { - id: string; - name: string; - description?: string | undefined; - active: boolean; - conditionGroup: Array; - action: GetFirewallConfigAction$Outbound; -}; - -/** @internal */ -export const GetFirewallConfigRules$outboundSchema: z.ZodType< - GetFirewallConfigRules$Outbound, - z.ZodTypeDef, - GetFirewallConfigRules -> = z.object({ - id: z.string(), - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array( - z.lazy(() => GetFirewallConfigConditionGroup$outboundSchema), - ), - action: z.lazy(() => GetFirewallConfigAction$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigRules$ { - /** @deprecated use `GetFirewallConfigRules$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigRules$inboundSchema; - /** @deprecated use `GetFirewallConfigRules$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigRules$outboundSchema; - /** @deprecated use `GetFirewallConfigRules$Outbound` instead. */ - export type Outbound = GetFirewallConfigRules$Outbound; -} - -export function getFirewallConfigRulesToJSON( - getFirewallConfigRules: GetFirewallConfigRules, -): string { - return JSON.stringify( - GetFirewallConfigRules$outboundSchema.parse(getFirewallConfigRules), - ); -} - -export function getFirewallConfigRulesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigRules$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigRules' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigSecurityAction$inboundSchema: z.ZodNativeEnum< - typeof GetFirewallConfigSecurityAction -> = z.nativeEnum(GetFirewallConfigSecurityAction); - -/** @internal */ -export const GetFirewallConfigSecurityAction$outboundSchema: z.ZodNativeEnum< - typeof GetFirewallConfigSecurityAction -> = GetFirewallConfigSecurityAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityAction$ { - /** @deprecated use `GetFirewallConfigSecurityAction$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigSecurityAction$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityAction$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigSecurityAction$outboundSchema; -} - -/** @internal */ -export const GetFirewallConfigIps$inboundSchema: z.ZodType< - GetFirewallConfigIps, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - hostname: z.string(), - ip: z.string(), - notes: z.string().optional(), - action: GetFirewallConfigSecurityAction$inboundSchema, -}); - -/** @internal */ -export type GetFirewallConfigIps$Outbound = { - id: string; - hostname: string; - ip: string; - notes?: string | undefined; - action: string; -}; - -/** @internal */ -export const GetFirewallConfigIps$outboundSchema: z.ZodType< - GetFirewallConfigIps$Outbound, - z.ZodTypeDef, - GetFirewallConfigIps -> = z.object({ - id: z.string(), - hostname: z.string(), - ip: z.string(), - notes: z.string().optional(), - action: GetFirewallConfigSecurityAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigIps$ { - /** @deprecated use `GetFirewallConfigIps$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigIps$inboundSchema; - /** @deprecated use `GetFirewallConfigIps$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigIps$outboundSchema; - /** @deprecated use `GetFirewallConfigIps$Outbound` instead. */ - export type Outbound = GetFirewallConfigIps$Outbound; -} - -export function getFirewallConfigIpsToJSON( - getFirewallConfigIps: GetFirewallConfigIps, -): string { - return JSON.stringify( - GetFirewallConfigIps$outboundSchema.parse(getFirewallConfigIps), - ); -} - -export function getFirewallConfigIpsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigIps$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigIps' from JSON`, - ); -} - -/** @internal */ -export const Changes$inboundSchema: z.ZodType = - z.object({}); - -/** @internal */ -export type Changes$Outbound = {}; - -/** @internal */ -export const Changes$outboundSchema: z.ZodType< - Changes$Outbound, - z.ZodTypeDef, - Changes -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Changes$ { - /** @deprecated use `Changes$inboundSchema` instead. */ - export const inboundSchema = Changes$inboundSchema; - /** @deprecated use `Changes$outboundSchema` instead. */ - export const outboundSchema = Changes$outboundSchema; - /** @deprecated use `Changes$Outbound` instead. */ - export type Outbound = Changes$Outbound; -} - -export function changesToJSON(changes: Changes): string { - return JSON.stringify(Changes$outboundSchema.parse(changes)); -} - -export function changesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Changes$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Changes' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigOwasp$inboundSchema: z.ZodType< - GetFirewallConfigOwasp, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - updatedAt: z.string().optional(), - userId: z.string().optional(), - username: z.string().optional(), -}); - -/** @internal */ -export type GetFirewallConfigOwasp$Outbound = { - active: boolean; - updatedAt?: string | undefined; - userId?: string | undefined; - username?: string | undefined; -}; - -/** @internal */ -export const GetFirewallConfigOwasp$outboundSchema: z.ZodType< - GetFirewallConfigOwasp$Outbound, - z.ZodTypeDef, - GetFirewallConfigOwasp -> = z.object({ - active: z.boolean(), - updatedAt: z.string().optional(), - userId: z.string().optional(), - username: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigOwasp$ { - /** @deprecated use `GetFirewallConfigOwasp$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigOwasp$inboundSchema; - /** @deprecated use `GetFirewallConfigOwasp$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigOwasp$outboundSchema; - /** @deprecated use `GetFirewallConfigOwasp$Outbound` instead. */ - export type Outbound = GetFirewallConfigOwasp$Outbound; -} - -export function getFirewallConfigOwaspToJSON( - getFirewallConfigOwasp: GetFirewallConfigOwasp, -): string { - return JSON.stringify( - GetFirewallConfigOwasp$outboundSchema.parse(getFirewallConfigOwasp), - ); -} - -export function getFirewallConfigOwaspFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigOwasp$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigOwasp' from JSON`, - ); -} - -/** @internal */ -export const VerifiedBotsBypass$inboundSchema: z.ZodType< - VerifiedBotsBypass, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - updatedAt: z.string().optional(), - userId: z.string().optional(), - username: z.string().optional(), -}); - -/** @internal */ -export type VerifiedBotsBypass$Outbound = { - active: boolean; - updatedAt?: string | undefined; - userId?: string | undefined; - username?: string | undefined; -}; - -/** @internal */ -export const VerifiedBotsBypass$outboundSchema: z.ZodType< - VerifiedBotsBypass$Outbound, - z.ZodTypeDef, - VerifiedBotsBypass -> = z.object({ - active: z.boolean(), - updatedAt: z.string().optional(), - userId: z.string().optional(), - username: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace VerifiedBotsBypass$ { - /** @deprecated use `VerifiedBotsBypass$inboundSchema` instead. */ - export const inboundSchema = VerifiedBotsBypass$inboundSchema; - /** @deprecated use `VerifiedBotsBypass$outboundSchema` instead. */ - export const outboundSchema = VerifiedBotsBypass$outboundSchema; - /** @deprecated use `VerifiedBotsBypass$Outbound` instead. */ - export type Outbound = VerifiedBotsBypass$Outbound; -} - -export function verifiedBotsBypassToJSON( - verifiedBotsBypass: VerifiedBotsBypass, -): string { - return JSON.stringify( - VerifiedBotsBypass$outboundSchema.parse(verifiedBotsBypass), - ); -} - -export function verifiedBotsBypassFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => VerifiedBotsBypass$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'VerifiedBotsBypass' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigManagedRules$inboundSchema: z.ZodType< - GetFirewallConfigManagedRules, - z.ZodTypeDef, - unknown -> = z.object({ - owasp: z.lazy(() => GetFirewallConfigOwasp$inboundSchema).optional(), - verifiedBotsBypass: z.lazy(() => VerifiedBotsBypass$inboundSchema).optional(), -}); - -/** @internal */ -export type GetFirewallConfigManagedRules$Outbound = { - owasp?: GetFirewallConfigOwasp$Outbound | undefined; - verifiedBotsBypass?: VerifiedBotsBypass$Outbound | undefined; -}; - -/** @internal */ -export const GetFirewallConfigManagedRules$outboundSchema: z.ZodType< - GetFirewallConfigManagedRules$Outbound, - z.ZodTypeDef, - GetFirewallConfigManagedRules -> = z.object({ - owasp: z.lazy(() => GetFirewallConfigOwasp$outboundSchema).optional(), - verifiedBotsBypass: z.lazy(() => VerifiedBotsBypass$outboundSchema) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigManagedRules$ { - /** @deprecated use `GetFirewallConfigManagedRules$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigManagedRules$inboundSchema; - /** @deprecated use `GetFirewallConfigManagedRules$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigManagedRules$outboundSchema; - /** @deprecated use `GetFirewallConfigManagedRules$Outbound` instead. */ - export type Outbound = GetFirewallConfigManagedRules$Outbound; -} - -export function getFirewallConfigManagedRulesToJSON( - getFirewallConfigManagedRules: GetFirewallConfigManagedRules, -): string { - return JSON.stringify( - GetFirewallConfigManagedRules$outboundSchema.parse( - getFirewallConfigManagedRules, - ), - ); -} - -export function getFirewallConfigManagedRulesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigManagedRules$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigManagedRules' from JSON`, - ); -} - -/** @internal */ -export const GetFirewallConfigResponseBody$inboundSchema: z.ZodType< - GetFirewallConfigResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - ownerId: z.string(), - projectKey: z.string(), - id: z.string(), - version: z.number(), - updatedAt: z.string(), - firewallEnabled: z.boolean(), - crs: z.lazy(() => GetFirewallConfigCrs$inboundSchema), - rules: z.array(z.lazy(() => GetFirewallConfigRules$inboundSchema)), - ips: z.array(z.lazy(() => GetFirewallConfigIps$inboundSchema)), - changes: z.array(z.lazy(() => Changes$inboundSchema)), - managedRules: z.lazy(() => GetFirewallConfigManagedRules$inboundSchema) - .optional(), -}); - -/** @internal */ -export type GetFirewallConfigResponseBody$Outbound = { - ownerId: string; - projectKey: string; - id: string; - version: number; - updatedAt: string; - firewallEnabled: boolean; - crs: GetFirewallConfigCrs$Outbound; - rules: Array; - ips: Array; - changes: Array; - managedRules?: GetFirewallConfigManagedRules$Outbound | undefined; -}; - -/** @internal */ -export const GetFirewallConfigResponseBody$outboundSchema: z.ZodType< - GetFirewallConfigResponseBody$Outbound, - z.ZodTypeDef, - GetFirewallConfigResponseBody -> = z.object({ - ownerId: z.string(), - projectKey: z.string(), - id: z.string(), - version: z.number(), - updatedAt: z.string(), - firewallEnabled: z.boolean(), - crs: z.lazy(() => GetFirewallConfigCrs$outboundSchema), - rules: z.array(z.lazy(() => GetFirewallConfigRules$outboundSchema)), - ips: z.array(z.lazy(() => GetFirewallConfigIps$outboundSchema)), - changes: z.array(z.lazy(() => Changes$outboundSchema)), - managedRules: z.lazy(() => GetFirewallConfigManagedRules$outboundSchema) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigResponseBody$ { - /** @deprecated use `GetFirewallConfigResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetFirewallConfigResponseBody$inboundSchema; - /** @deprecated use `GetFirewallConfigResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetFirewallConfigResponseBody$outboundSchema; - /** @deprecated use `GetFirewallConfigResponseBody$Outbound` instead. */ - export type Outbound = GetFirewallConfigResponseBody$Outbound; -} - -export function getFirewallConfigResponseBodyToJSON( - getFirewallConfigResponseBody: GetFirewallConfigResponseBody, -): string { - return JSON.stringify( - GetFirewallConfigResponseBody$outboundSchema.parse( - getFirewallConfigResponseBody, - ), - ); -} - -export function getFirewallConfigResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetFirewallConfigResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetFirewallConfigResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getintegrationlogdrains.ts b/src/models/operations/getintegrationlogdrains.ts deleted file mode 100644 index 0e2b9cbf..00000000 --- a/src/models/operations/getintegrationlogdrains.ts +++ /dev/null @@ -1,395 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetIntegrationLogDrainsRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * The delivery log format - */ -export const GetIntegrationLogDrainsDeliveryFormat = { - Json: "json", - Ndjson: "ndjson", - Syslog: "syslog", -} as const; -/** - * The delivery log format - */ -export type GetIntegrationLogDrainsDeliveryFormat = ClosedEnum< - typeof GetIntegrationLogDrainsDeliveryFormat ->; - -/** - * The sources from which logs are currently being delivered to this log drain. - */ -export const GetIntegrationLogDrainsSources = { - Build: "build", - Edge: "edge", - Lambda: "lambda", - Static: "static", - External: "external", - Firewall: "firewall", -} as const; -/** - * The sources from which logs are currently being delivered to this log drain. - */ -export type GetIntegrationLogDrainsSources = ClosedEnum< - typeof GetIntegrationLogDrainsSources ->; - -/** - * Whether the log drain was created by an integration or by a user - */ -export const CreatedFrom = { - SelfServed: "self-served", - Integration: "integration", -} as const; -/** - * Whether the log drain was created by an integration or by a user - */ -export type CreatedFrom = ClosedEnum; - -/** - * The environment of log drain - */ -export const GetIntegrationLogDrainsEnvironments = { - Production: "production", - Preview: "preview", -} as const; -/** - * The environment of log drain - */ -export type GetIntegrationLogDrainsEnvironments = ClosedEnum< - typeof GetIntegrationLogDrainsEnvironments ->; - -export type GetIntegrationLogDrainsResponseBody = { - /** - * The oauth2 client application id that created this log drain - */ - clientId?: string | undefined; - /** - * The client configuration this log drain was created with - */ - configurationId?: string | undefined; - /** - * A timestamp that tells you when the log drain was created - */ - createdAt: number; - /** - * The unique identifier of the log drain. Always prefixed with `ld_` - */ - id: string; - /** - * The delivery log format - */ - deliveryFormat?: GetIntegrationLogDrainsDeliveryFormat | undefined; - /** - * The name of the log drain - */ - name: string; - /** - * The identifier of the team or user whose events will trigger the log drain - */ - ownerId: string; - projectId?: string | null | undefined; - /** - * The identifier of the projects this log drain is associated with - */ - projectIds?: Array | undefined; - /** - * The URL to call when logs are generated - */ - url: string; - /** - * The sources from which logs are currently being delivered to this log drain. - */ - sources?: Array | undefined; - /** - * Whether the log drain was created by an integration or by a user - */ - createdFrom?: CreatedFrom | undefined; - /** - * The headers to send with the request - */ - headers?: { [k: string]: string } | undefined; - /** - * The environment of log drain - */ - environments: Array; - /** - * The branch regexp of log drain - */ - branch?: string | undefined; - /** - * The sampling rate of log drain - */ - samplingRate?: number | undefined; -}; - -/** @internal */ -export const GetIntegrationLogDrainsRequest$inboundSchema: z.ZodType< - GetIntegrationLogDrainsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetIntegrationLogDrainsRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetIntegrationLogDrainsRequest$outboundSchema: z.ZodType< - GetIntegrationLogDrainsRequest$Outbound, - z.ZodTypeDef, - GetIntegrationLogDrainsRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetIntegrationLogDrainsRequest$ { - /** @deprecated use `GetIntegrationLogDrainsRequest$inboundSchema` instead. */ - export const inboundSchema = GetIntegrationLogDrainsRequest$inboundSchema; - /** @deprecated use `GetIntegrationLogDrainsRequest$outboundSchema` instead. */ - export const outboundSchema = GetIntegrationLogDrainsRequest$outboundSchema; - /** @deprecated use `GetIntegrationLogDrainsRequest$Outbound` instead. */ - export type Outbound = GetIntegrationLogDrainsRequest$Outbound; -} - -export function getIntegrationLogDrainsRequestToJSON( - getIntegrationLogDrainsRequest: GetIntegrationLogDrainsRequest, -): string { - return JSON.stringify( - GetIntegrationLogDrainsRequest$outboundSchema.parse( - getIntegrationLogDrainsRequest, - ), - ); -} - -export function getIntegrationLogDrainsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetIntegrationLogDrainsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetIntegrationLogDrainsRequest' from JSON`, - ); -} - -/** @internal */ -export const GetIntegrationLogDrainsDeliveryFormat$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetIntegrationLogDrainsDeliveryFormat, - ); - -/** @internal */ -export const GetIntegrationLogDrainsDeliveryFormat$outboundSchema: - z.ZodNativeEnum = - GetIntegrationLogDrainsDeliveryFormat$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetIntegrationLogDrainsDeliveryFormat$ { - /** @deprecated use `GetIntegrationLogDrainsDeliveryFormat$inboundSchema` instead. */ - export const inboundSchema = - GetIntegrationLogDrainsDeliveryFormat$inboundSchema; - /** @deprecated use `GetIntegrationLogDrainsDeliveryFormat$outboundSchema` instead. */ - export const outboundSchema = - GetIntegrationLogDrainsDeliveryFormat$outboundSchema; -} - -/** @internal */ -export const GetIntegrationLogDrainsSources$inboundSchema: z.ZodNativeEnum< - typeof GetIntegrationLogDrainsSources -> = z.nativeEnum(GetIntegrationLogDrainsSources); - -/** @internal */ -export const GetIntegrationLogDrainsSources$outboundSchema: z.ZodNativeEnum< - typeof GetIntegrationLogDrainsSources -> = GetIntegrationLogDrainsSources$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetIntegrationLogDrainsSources$ { - /** @deprecated use `GetIntegrationLogDrainsSources$inboundSchema` instead. */ - export const inboundSchema = GetIntegrationLogDrainsSources$inboundSchema; - /** @deprecated use `GetIntegrationLogDrainsSources$outboundSchema` instead. */ - export const outboundSchema = GetIntegrationLogDrainsSources$outboundSchema; -} - -/** @internal */ -export const CreatedFrom$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(CreatedFrom); - -/** @internal */ -export const CreatedFrom$outboundSchema: z.ZodNativeEnum = - CreatedFrom$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreatedFrom$ { - /** @deprecated use `CreatedFrom$inboundSchema` instead. */ - export const inboundSchema = CreatedFrom$inboundSchema; - /** @deprecated use `CreatedFrom$outboundSchema` instead. */ - export const outboundSchema = CreatedFrom$outboundSchema; -} - -/** @internal */ -export const GetIntegrationLogDrainsEnvironments$inboundSchema: z.ZodNativeEnum< - typeof GetIntegrationLogDrainsEnvironments -> = z.nativeEnum(GetIntegrationLogDrainsEnvironments); - -/** @internal */ -export const GetIntegrationLogDrainsEnvironments$outboundSchema: - z.ZodNativeEnum = - GetIntegrationLogDrainsEnvironments$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetIntegrationLogDrainsEnvironments$ { - /** @deprecated use `GetIntegrationLogDrainsEnvironments$inboundSchema` instead. */ - export const inboundSchema = - GetIntegrationLogDrainsEnvironments$inboundSchema; - /** @deprecated use `GetIntegrationLogDrainsEnvironments$outboundSchema` instead. */ - export const outboundSchema = - GetIntegrationLogDrainsEnvironments$outboundSchema; -} - -/** @internal */ -export const GetIntegrationLogDrainsResponseBody$inboundSchema: z.ZodType< - GetIntegrationLogDrainsResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - clientId: z.string().optional(), - configurationId: z.string().optional(), - createdAt: z.number(), - id: z.string(), - deliveryFormat: GetIntegrationLogDrainsDeliveryFormat$inboundSchema - .optional(), - name: z.string(), - ownerId: z.string(), - projectId: z.nullable(z.string()).optional(), - projectIds: z.array(z.string()).optional(), - url: z.string(), - sources: z.array(GetIntegrationLogDrainsSources$inboundSchema).optional(), - createdFrom: CreatedFrom$inboundSchema.optional(), - headers: z.record(z.string()).optional(), - environments: z.array(GetIntegrationLogDrainsEnvironments$inboundSchema), - branch: z.string().optional(), - samplingRate: z.number().optional(), -}); - -/** @internal */ -export type GetIntegrationLogDrainsResponseBody$Outbound = { - clientId?: string | undefined; - configurationId?: string | undefined; - createdAt: number; - id: string; - deliveryFormat?: string | undefined; - name: string; - ownerId: string; - projectId?: string | null | undefined; - projectIds?: Array | undefined; - url: string; - sources?: Array | undefined; - createdFrom?: string | undefined; - headers?: { [k: string]: string } | undefined; - environments: Array; - branch?: string | undefined; - samplingRate?: number | undefined; -}; - -/** @internal */ -export const GetIntegrationLogDrainsResponseBody$outboundSchema: z.ZodType< - GetIntegrationLogDrainsResponseBody$Outbound, - z.ZodTypeDef, - GetIntegrationLogDrainsResponseBody -> = z.object({ - clientId: z.string().optional(), - configurationId: z.string().optional(), - createdAt: z.number(), - id: z.string(), - deliveryFormat: GetIntegrationLogDrainsDeliveryFormat$outboundSchema - .optional(), - name: z.string(), - ownerId: z.string(), - projectId: z.nullable(z.string()).optional(), - projectIds: z.array(z.string()).optional(), - url: z.string(), - sources: z.array(GetIntegrationLogDrainsSources$outboundSchema).optional(), - createdFrom: CreatedFrom$outboundSchema.optional(), - headers: z.record(z.string()).optional(), - environments: z.array(GetIntegrationLogDrainsEnvironments$outboundSchema), - branch: z.string().optional(), - samplingRate: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetIntegrationLogDrainsResponseBody$ { - /** @deprecated use `GetIntegrationLogDrainsResponseBody$inboundSchema` instead. */ - export const inboundSchema = - GetIntegrationLogDrainsResponseBody$inboundSchema; - /** @deprecated use `GetIntegrationLogDrainsResponseBody$outboundSchema` instead. */ - export const outboundSchema = - GetIntegrationLogDrainsResponseBody$outboundSchema; - /** @deprecated use `GetIntegrationLogDrainsResponseBody$Outbound` instead. */ - export type Outbound = GetIntegrationLogDrainsResponseBody$Outbound; -} - -export function getIntegrationLogDrainsResponseBodyToJSON( - getIntegrationLogDrainsResponseBody: GetIntegrationLogDrainsResponseBody, -): string { - return JSON.stringify( - GetIntegrationLogDrainsResponseBody$outboundSchema.parse( - getIntegrationLogDrainsResponseBody, - ), - ); -} - -export function getIntegrationLogDrainsResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetIntegrationLogDrainsResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetIntegrationLogDrainsResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getinvoice.ts b/src/models/operations/getinvoice.ts deleted file mode 100644 index 6f9b6d89..00000000 --- a/src/models/operations/getinvoice.ts +++ /dev/null @@ -1,454 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetInvoiceRequest = { - integrationConfigurationId: string; - invoiceId: string; -}; - -export type GetInvoicePeriod = { - start: string; - end: string; -}; - -export type GetInvoiceItems = { - billingPlanId: string; - resourceId?: string | undefined; - start?: string | undefined; - end?: string | undefined; - name: string; - details?: string | undefined; - price: string; - quantity: number; - units: string; - total: string; -}; - -export type GetInvoiceDiscounts = { - billingPlanId: string; - resourceId?: string | undefined; - start?: string | undefined; - end?: string | undefined; - name: string; - details?: string | undefined; - amount: string; -}; - -export const State = { - Pending: "pending", - Scheduled: "scheduled", - Invoiced: "invoiced", - Paid: "paid", - Notpaid: "notpaid", - RefundRequested: "refund_requested", - Refunded: "refunded", -} as const; -export type State = ClosedEnum; - -export type GetInvoiceResponseBody = { - invoiceId: string; - externalId?: string | undefined; - invoiceNumber?: string | undefined; - invoiceDate: string; - period: GetInvoicePeriod; - memo?: string | undefined; - items: Array; - discounts?: Array | undefined; - total: string; - created: string; - updated: string; - state: State; - refundReason?: string | undefined; - refundTotal?: string | undefined; - test: boolean; -}; - -/** @internal */ -export const GetInvoiceRequest$inboundSchema: z.ZodType< - GetInvoiceRequest, - z.ZodTypeDef, - unknown -> = z.object({ - integrationConfigurationId: z.string(), - invoiceId: z.string(), -}); - -/** @internal */ -export type GetInvoiceRequest$Outbound = { - integrationConfigurationId: string; - invoiceId: string; -}; - -/** @internal */ -export const GetInvoiceRequest$outboundSchema: z.ZodType< - GetInvoiceRequest$Outbound, - z.ZodTypeDef, - GetInvoiceRequest -> = z.object({ - integrationConfigurationId: z.string(), - invoiceId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetInvoiceRequest$ { - /** @deprecated use `GetInvoiceRequest$inboundSchema` instead. */ - export const inboundSchema = GetInvoiceRequest$inboundSchema; - /** @deprecated use `GetInvoiceRequest$outboundSchema` instead. */ - export const outboundSchema = GetInvoiceRequest$outboundSchema; - /** @deprecated use `GetInvoiceRequest$Outbound` instead. */ - export type Outbound = GetInvoiceRequest$Outbound; -} - -export function getInvoiceRequestToJSON( - getInvoiceRequest: GetInvoiceRequest, -): string { - return JSON.stringify( - GetInvoiceRequest$outboundSchema.parse(getInvoiceRequest), - ); -} - -export function getInvoiceRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetInvoiceRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetInvoiceRequest' from JSON`, - ); -} - -/** @internal */ -export const GetInvoicePeriod$inboundSchema: z.ZodType< - GetInvoicePeriod, - z.ZodTypeDef, - unknown -> = z.object({ - start: z.string(), - end: z.string(), -}); - -/** @internal */ -export type GetInvoicePeriod$Outbound = { - start: string; - end: string; -}; - -/** @internal */ -export const GetInvoicePeriod$outboundSchema: z.ZodType< - GetInvoicePeriod$Outbound, - z.ZodTypeDef, - GetInvoicePeriod -> = z.object({ - start: z.string(), - end: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetInvoicePeriod$ { - /** @deprecated use `GetInvoicePeriod$inboundSchema` instead. */ - export const inboundSchema = GetInvoicePeriod$inboundSchema; - /** @deprecated use `GetInvoicePeriod$outboundSchema` instead. */ - export const outboundSchema = GetInvoicePeriod$outboundSchema; - /** @deprecated use `GetInvoicePeriod$Outbound` instead. */ - export type Outbound = GetInvoicePeriod$Outbound; -} - -export function getInvoicePeriodToJSON( - getInvoicePeriod: GetInvoicePeriod, -): string { - return JSON.stringify( - GetInvoicePeriod$outboundSchema.parse(getInvoicePeriod), - ); -} - -export function getInvoicePeriodFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetInvoicePeriod$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetInvoicePeriod' from JSON`, - ); -} - -/** @internal */ -export const GetInvoiceItems$inboundSchema: z.ZodType< - GetInvoiceItems, - z.ZodTypeDef, - unknown -> = z.object({ - billingPlanId: z.string(), - resourceId: z.string().optional(), - start: z.string().optional(), - end: z.string().optional(), - name: z.string(), - details: z.string().optional(), - price: z.string(), - quantity: z.number(), - units: z.string(), - total: z.string(), -}); - -/** @internal */ -export type GetInvoiceItems$Outbound = { - billingPlanId: string; - resourceId?: string | undefined; - start?: string | undefined; - end?: string | undefined; - name: string; - details?: string | undefined; - price: string; - quantity: number; - units: string; - total: string; -}; - -/** @internal */ -export const GetInvoiceItems$outboundSchema: z.ZodType< - GetInvoiceItems$Outbound, - z.ZodTypeDef, - GetInvoiceItems -> = z.object({ - billingPlanId: z.string(), - resourceId: z.string().optional(), - start: z.string().optional(), - end: z.string().optional(), - name: z.string(), - details: z.string().optional(), - price: z.string(), - quantity: z.number(), - units: z.string(), - total: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetInvoiceItems$ { - /** @deprecated use `GetInvoiceItems$inboundSchema` instead. */ - export const inboundSchema = GetInvoiceItems$inboundSchema; - /** @deprecated use `GetInvoiceItems$outboundSchema` instead. */ - export const outboundSchema = GetInvoiceItems$outboundSchema; - /** @deprecated use `GetInvoiceItems$Outbound` instead. */ - export type Outbound = GetInvoiceItems$Outbound; -} - -export function getInvoiceItemsToJSON( - getInvoiceItems: GetInvoiceItems, -): string { - return JSON.stringify(GetInvoiceItems$outboundSchema.parse(getInvoiceItems)); -} - -export function getInvoiceItemsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetInvoiceItems$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetInvoiceItems' from JSON`, - ); -} - -/** @internal */ -export const GetInvoiceDiscounts$inboundSchema: z.ZodType< - GetInvoiceDiscounts, - z.ZodTypeDef, - unknown -> = z.object({ - billingPlanId: z.string(), - resourceId: z.string().optional(), - start: z.string().optional(), - end: z.string().optional(), - name: z.string(), - details: z.string().optional(), - amount: z.string(), -}); - -/** @internal */ -export type GetInvoiceDiscounts$Outbound = { - billingPlanId: string; - resourceId?: string | undefined; - start?: string | undefined; - end?: string | undefined; - name: string; - details?: string | undefined; - amount: string; -}; - -/** @internal */ -export const GetInvoiceDiscounts$outboundSchema: z.ZodType< - GetInvoiceDiscounts$Outbound, - z.ZodTypeDef, - GetInvoiceDiscounts -> = z.object({ - billingPlanId: z.string(), - resourceId: z.string().optional(), - start: z.string().optional(), - end: z.string().optional(), - name: z.string(), - details: z.string().optional(), - amount: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetInvoiceDiscounts$ { - /** @deprecated use `GetInvoiceDiscounts$inboundSchema` instead. */ - export const inboundSchema = GetInvoiceDiscounts$inboundSchema; - /** @deprecated use `GetInvoiceDiscounts$outboundSchema` instead. */ - export const outboundSchema = GetInvoiceDiscounts$outboundSchema; - /** @deprecated use `GetInvoiceDiscounts$Outbound` instead. */ - export type Outbound = GetInvoiceDiscounts$Outbound; -} - -export function getInvoiceDiscountsToJSON( - getInvoiceDiscounts: GetInvoiceDiscounts, -): string { - return JSON.stringify( - GetInvoiceDiscounts$outboundSchema.parse(getInvoiceDiscounts), - ); -} - -export function getInvoiceDiscountsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetInvoiceDiscounts$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetInvoiceDiscounts' from JSON`, - ); -} - -/** @internal */ -export const State$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - State, -); - -/** @internal */ -export const State$outboundSchema: z.ZodNativeEnum = - State$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace State$ { - /** @deprecated use `State$inboundSchema` instead. */ - export const inboundSchema = State$inboundSchema; - /** @deprecated use `State$outboundSchema` instead. */ - export const outboundSchema = State$outboundSchema; -} - -/** @internal */ -export const GetInvoiceResponseBody$inboundSchema: z.ZodType< - GetInvoiceResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - invoiceId: z.string(), - externalId: z.string().optional(), - invoiceNumber: z.string().optional(), - invoiceDate: z.string(), - period: z.lazy(() => GetInvoicePeriod$inboundSchema), - memo: z.string().optional(), - items: z.array(z.lazy(() => GetInvoiceItems$inboundSchema)), - discounts: z.array(z.lazy(() => GetInvoiceDiscounts$inboundSchema)) - .optional(), - total: z.string(), - created: z.string(), - updated: z.string(), - state: State$inboundSchema, - refundReason: z.string().optional(), - refundTotal: z.string().optional(), - test: z.boolean(), -}); - -/** @internal */ -export type GetInvoiceResponseBody$Outbound = { - invoiceId: string; - externalId?: string | undefined; - invoiceNumber?: string | undefined; - invoiceDate: string; - period: GetInvoicePeriod$Outbound; - memo?: string | undefined; - items: Array; - discounts?: Array | undefined; - total: string; - created: string; - updated: string; - state: string; - refundReason?: string | undefined; - refundTotal?: string | undefined; - test: boolean; -}; - -/** @internal */ -export const GetInvoiceResponseBody$outboundSchema: z.ZodType< - GetInvoiceResponseBody$Outbound, - z.ZodTypeDef, - GetInvoiceResponseBody -> = z.object({ - invoiceId: z.string(), - externalId: z.string().optional(), - invoiceNumber: z.string().optional(), - invoiceDate: z.string(), - period: z.lazy(() => GetInvoicePeriod$outboundSchema), - memo: z.string().optional(), - items: z.array(z.lazy(() => GetInvoiceItems$outboundSchema)), - discounts: z.array(z.lazy(() => GetInvoiceDiscounts$outboundSchema)) - .optional(), - total: z.string(), - created: z.string(), - updated: z.string(), - state: State$outboundSchema, - refundReason: z.string().optional(), - refundTotal: z.string().optional(), - test: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetInvoiceResponseBody$ { - /** @deprecated use `GetInvoiceResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetInvoiceResponseBody$inboundSchema; - /** @deprecated use `GetInvoiceResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetInvoiceResponseBody$outboundSchema; - /** @deprecated use `GetInvoiceResponseBody$Outbound` instead. */ - export type Outbound = GetInvoiceResponseBody$Outbound; -} - -export function getInvoiceResponseBodyToJSON( - getInvoiceResponseBody: GetInvoiceResponseBody, -): string { - return JSON.stringify( - GetInvoiceResponseBody$outboundSchema.parse(getInvoiceResponseBody), - ); -} - -export function getInvoiceResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetInvoiceResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetInvoiceResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getmember.ts b/src/models/operations/getmember.ts deleted file mode 100644 index 3c1ee37a..00000000 --- a/src/models/operations/getmember.ts +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetMemberRequest = { - integrationConfigurationId: string; - memberId: string; -}; - -export const GetMemberRole = { - Admin: "ADMIN", - User: "USER", -} as const; -export type GetMemberRole = ClosedEnum; - -export type GetMemberResponseBody = { - id: string; - role: GetMemberRole; -}; - -/** @internal */ -export const GetMemberRequest$inboundSchema: z.ZodType< - GetMemberRequest, - z.ZodTypeDef, - unknown -> = z.object({ - integrationConfigurationId: z.string(), - memberId: z.string(), -}); - -/** @internal */ -export type GetMemberRequest$Outbound = { - integrationConfigurationId: string; - memberId: string; -}; - -/** @internal */ -export const GetMemberRequest$outboundSchema: z.ZodType< - GetMemberRequest$Outbound, - z.ZodTypeDef, - GetMemberRequest -> = z.object({ - integrationConfigurationId: z.string(), - memberId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetMemberRequest$ { - /** @deprecated use `GetMemberRequest$inboundSchema` instead. */ - export const inboundSchema = GetMemberRequest$inboundSchema; - /** @deprecated use `GetMemberRequest$outboundSchema` instead. */ - export const outboundSchema = GetMemberRequest$outboundSchema; - /** @deprecated use `GetMemberRequest$Outbound` instead. */ - export type Outbound = GetMemberRequest$Outbound; -} - -export function getMemberRequestToJSON( - getMemberRequest: GetMemberRequest, -): string { - return JSON.stringify( - GetMemberRequest$outboundSchema.parse(getMemberRequest), - ); -} - -export function getMemberRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetMemberRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetMemberRequest' from JSON`, - ); -} - -/** @internal */ -export const GetMemberRole$inboundSchema: z.ZodNativeEnum< - typeof GetMemberRole -> = z.nativeEnum(GetMemberRole); - -/** @internal */ -export const GetMemberRole$outboundSchema: z.ZodNativeEnum< - typeof GetMemberRole -> = GetMemberRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetMemberRole$ { - /** @deprecated use `GetMemberRole$inboundSchema` instead. */ - export const inboundSchema = GetMemberRole$inboundSchema; - /** @deprecated use `GetMemberRole$outboundSchema` instead. */ - export const outboundSchema = GetMemberRole$outboundSchema; -} - -/** @internal */ -export const GetMemberResponseBody$inboundSchema: z.ZodType< - GetMemberResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - role: GetMemberRole$inboundSchema, -}); - -/** @internal */ -export type GetMemberResponseBody$Outbound = { - id: string; - role: string; -}; - -/** @internal */ -export const GetMemberResponseBody$outboundSchema: z.ZodType< - GetMemberResponseBody$Outbound, - z.ZodTypeDef, - GetMemberResponseBody -> = z.object({ - id: z.string(), - role: GetMemberRole$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetMemberResponseBody$ { - /** @deprecated use `GetMemberResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetMemberResponseBody$inboundSchema; - /** @deprecated use `GetMemberResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetMemberResponseBody$outboundSchema; - /** @deprecated use `GetMemberResponseBody$Outbound` instead. */ - export type Outbound = GetMemberResponseBody$Outbound; -} - -export function getMemberResponseBodyToJSON( - getMemberResponseBody: GetMemberResponseBody, -): string { - return JSON.stringify( - GetMemberResponseBody$outboundSchema.parse(getMemberResponseBody), - ); -} - -export function getMemberResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetMemberResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetMemberResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getprojectdomain.ts b/src/models/operations/getprojectdomain.ts deleted file mode 100644 index 24ba558b..00000000 --- a/src/models/operations/getprojectdomain.ts +++ /dev/null @@ -1,265 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetProjectDomainRequest = { - /** - * The unique project identifier or the project name - */ - idOrName: string; - /** - * The project domain name - */ - domain: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. - */ -export type Verification = { - type: string; - domain: string; - value: string; - reason: string; -}; - -export type GetProjectDomainResponseBody = { - name: string; - apexName: string; - projectId: string; - redirect?: string | null | undefined; - redirectStatusCode?: number | null | undefined; - gitBranch?: string | null | undefined; - customEnvironmentId?: string | null | undefined; - updatedAt?: number | undefined; - createdAt?: number | undefined; - /** - * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. - */ - verified: boolean; - /** - * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. - */ - verification?: Array | undefined; -}; - -/** @internal */ -export const GetProjectDomainRequest$inboundSchema: z.ZodType< - GetProjectDomainRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetProjectDomainRequest$Outbound = { - idOrName: string; - domain: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetProjectDomainRequest$outboundSchema: z.ZodType< - GetProjectDomainRequest$Outbound, - z.ZodTypeDef, - GetProjectDomainRequest -> = z.object({ - idOrName: z.string(), - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectDomainRequest$ { - /** @deprecated use `GetProjectDomainRequest$inboundSchema` instead. */ - export const inboundSchema = GetProjectDomainRequest$inboundSchema; - /** @deprecated use `GetProjectDomainRequest$outboundSchema` instead. */ - export const outboundSchema = GetProjectDomainRequest$outboundSchema; - /** @deprecated use `GetProjectDomainRequest$Outbound` instead. */ - export type Outbound = GetProjectDomainRequest$Outbound; -} - -export function getProjectDomainRequestToJSON( - getProjectDomainRequest: GetProjectDomainRequest, -): string { - return JSON.stringify( - GetProjectDomainRequest$outboundSchema.parse(getProjectDomainRequest), - ); -} - -export function getProjectDomainRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectDomainRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectDomainRequest' from JSON`, - ); -} - -/** @internal */ -export const Verification$inboundSchema: z.ZodType< - Verification, - z.ZodTypeDef, - unknown -> = z.object({ - type: z.string(), - domain: z.string(), - value: z.string(), - reason: z.string(), -}); - -/** @internal */ -export type Verification$Outbound = { - type: string; - domain: string; - value: string; - reason: string; -}; - -/** @internal */ -export const Verification$outboundSchema: z.ZodType< - Verification$Outbound, - z.ZodTypeDef, - Verification -> = z.object({ - type: z.string(), - domain: z.string(), - value: z.string(), - reason: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Verification$ { - /** @deprecated use `Verification$inboundSchema` instead. */ - export const inboundSchema = Verification$inboundSchema; - /** @deprecated use `Verification$outboundSchema` instead. */ - export const outboundSchema = Verification$outboundSchema; - /** @deprecated use `Verification$Outbound` instead. */ - export type Outbound = Verification$Outbound; -} - -export function verificationToJSON(verification: Verification): string { - return JSON.stringify(Verification$outboundSchema.parse(verification)); -} - -export function verificationFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Verification$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Verification' from JSON`, - ); -} - -/** @internal */ -export const GetProjectDomainResponseBody$inboundSchema: z.ZodType< - GetProjectDomainResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - apexName: z.string(), - projectId: z.string(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(z.number()).optional(), - gitBranch: z.nullable(z.string()).optional(), - customEnvironmentId: z.nullable(z.string()).optional(), - updatedAt: z.number().optional(), - createdAt: z.number().optional(), - verified: z.boolean(), - verification: z.array(z.lazy(() => Verification$inboundSchema)).optional(), -}); - -/** @internal */ -export type GetProjectDomainResponseBody$Outbound = { - name: string; - apexName: string; - projectId: string; - redirect?: string | null | undefined; - redirectStatusCode?: number | null | undefined; - gitBranch?: string | null | undefined; - customEnvironmentId?: string | null | undefined; - updatedAt?: number | undefined; - createdAt?: number | undefined; - verified: boolean; - verification?: Array | undefined; -}; - -/** @internal */ -export const GetProjectDomainResponseBody$outboundSchema: z.ZodType< - GetProjectDomainResponseBody$Outbound, - z.ZodTypeDef, - GetProjectDomainResponseBody -> = z.object({ - name: z.string(), - apexName: z.string(), - projectId: z.string(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(z.number()).optional(), - gitBranch: z.nullable(z.string()).optional(), - customEnvironmentId: z.nullable(z.string()).optional(), - updatedAt: z.number().optional(), - createdAt: z.number().optional(), - verified: z.boolean(), - verification: z.array(z.lazy(() => Verification$outboundSchema)).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectDomainResponseBody$ { - /** @deprecated use `GetProjectDomainResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetProjectDomainResponseBody$inboundSchema; - /** @deprecated use `GetProjectDomainResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetProjectDomainResponseBody$outboundSchema; - /** @deprecated use `GetProjectDomainResponseBody$Outbound` instead. */ - export type Outbound = GetProjectDomainResponseBody$Outbound; -} - -export function getProjectDomainResponseBodyToJSON( - getProjectDomainResponseBody: GetProjectDomainResponseBody, -): string { - return JSON.stringify( - GetProjectDomainResponseBody$outboundSchema.parse( - getProjectDomainResponseBody, - ), - ); -} - -export function getProjectDomainResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectDomainResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectDomainResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getprojectdomains.ts b/src/models/operations/getprojectdomains.ts deleted file mode 100644 index 8c60f95d..00000000 --- a/src/models/operations/getprojectdomains.ts +++ /dev/null @@ -1,571 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - Pagination, - Pagination$inboundSchema, - Pagination$Outbound, - Pagination$outboundSchema, -} from "../components/pagination.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Filters only production domains when set to `true`. - */ -export const Production = { - True: "true", - False: "false", -} as const; -/** - * Filters only production domains when set to `true`. - */ -export type Production = ClosedEnum; - -/** - * Filters on the target of the domain. Can be either \"production\", \"preview\" - */ -export const QueryParamTarget = { - Production: "production", - Preview: "preview", -} as const; -/** - * Filters on the target of the domain. Can be either \"production\", \"preview\" - */ -export type QueryParamTarget = ClosedEnum; - -/** - * Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default). - */ -export const Redirects = { - True: "true", - False: "false", -} as const; -/** - * Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default). - */ -export type Redirects = ClosedEnum; - -/** - * Filters domains based on their verification status. - */ -export const Verified = { - True: "true", - False: "false", -} as const; -/** - * Filters domains based on their verification status. - */ -export type Verified = ClosedEnum; - -/** - * Domains sort order by createdAt - */ -export const Order = { - Asc: "ASC", - Desc: "DESC", -} as const; -/** - * Domains sort order by createdAt - */ -export type Order = ClosedEnum; - -export type GetProjectDomainsRequest = { - /** - * The unique project identifier or the project name - */ - idOrName: string; - /** - * Filters only production domains when set to `true`. - */ - production?: Production | undefined; - /** - * Filters on the target of the domain. Can be either \"production\", \"preview\" - */ - target?: QueryParamTarget | undefined; - /** - * Filters domains based on specific branch. - */ - gitBranch?: string | undefined; - /** - * Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default). - */ - redirects?: Redirects | undefined; - /** - * Filters domains based on their redirect target. - */ - redirect?: string | undefined; - /** - * Filters domains based on their verification status. - */ - verified?: Verified | undefined; - /** - * Maximum number of domains to list from a request (max 100). - */ - limit?: number | undefined; - /** - * Get domains created after this JavaScript timestamp. - */ - since?: number | undefined; - /** - * Get domains created before this JavaScript timestamp. - */ - until?: number | undefined; - /** - * Domains sort order by createdAt - */ - order?: Order | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. - */ -export type GetProjectDomainsVerification = { - type: string; - domain: string; - value: string; - reason: string; -}; - -export type GetProjectDomainsDomains = { - name: string; - apexName: string; - projectId: string; - redirect?: string | null | undefined; - redirectStatusCode?: number | null | undefined; - gitBranch?: string | null | undefined; - customEnvironmentId?: string | null | undefined; - updatedAt?: number | undefined; - createdAt?: number | undefined; - /** - * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. - */ - verified: boolean; - /** - * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. - */ - verification?: Array | undefined; -}; - -/** - * Successful response retrieving a list of domains - */ -export type GetProjectDomainsResponseBody = { - domains: Array; - /** - * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. - */ - pagination: Pagination; -}; - -/** @internal */ -export const Production$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Production); - -/** @internal */ -export const Production$outboundSchema: z.ZodNativeEnum = - Production$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Production$ { - /** @deprecated use `Production$inboundSchema` instead. */ - export const inboundSchema = Production$inboundSchema; - /** @deprecated use `Production$outboundSchema` instead. */ - export const outboundSchema = Production$outboundSchema; -} - -/** @internal */ -export const QueryParamTarget$inboundSchema: z.ZodNativeEnum< - typeof QueryParamTarget -> = z.nativeEnum(QueryParamTarget); - -/** @internal */ -export const QueryParamTarget$outboundSchema: z.ZodNativeEnum< - typeof QueryParamTarget -> = QueryParamTarget$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace QueryParamTarget$ { - /** @deprecated use `QueryParamTarget$inboundSchema` instead. */ - export const inboundSchema = QueryParamTarget$inboundSchema; - /** @deprecated use `QueryParamTarget$outboundSchema` instead. */ - export const outboundSchema = QueryParamTarget$outboundSchema; -} - -/** @internal */ -export const Redirects$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Redirects); - -/** @internal */ -export const Redirects$outboundSchema: z.ZodNativeEnum = - Redirects$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Redirects$ { - /** @deprecated use `Redirects$inboundSchema` instead. */ - export const inboundSchema = Redirects$inboundSchema; - /** @deprecated use `Redirects$outboundSchema` instead. */ - export const outboundSchema = Redirects$outboundSchema; -} - -/** @internal */ -export const Verified$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Verified); - -/** @internal */ -export const Verified$outboundSchema: z.ZodNativeEnum = - Verified$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Verified$ { - /** @deprecated use `Verified$inboundSchema` instead. */ - export const inboundSchema = Verified$inboundSchema; - /** @deprecated use `Verified$outboundSchema` instead. */ - export const outboundSchema = Verified$outboundSchema; -} - -/** @internal */ -export const Order$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Order, -); - -/** @internal */ -export const Order$outboundSchema: z.ZodNativeEnum = - Order$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Order$ { - /** @deprecated use `Order$inboundSchema` instead. */ - export const inboundSchema = Order$inboundSchema; - /** @deprecated use `Order$outboundSchema` instead. */ - export const outboundSchema = Order$outboundSchema; -} - -/** @internal */ -export const GetProjectDomainsRequest$inboundSchema: z.ZodType< - GetProjectDomainsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - production: Production$inboundSchema.default("false"), - target: QueryParamTarget$inboundSchema.optional(), - gitBranch: z.string().optional(), - redirects: Redirects$inboundSchema.default("true"), - redirect: z.string().optional(), - verified: Verified$inboundSchema.optional(), - limit: z.number().optional(), - since: z.number().optional(), - until: z.number().optional(), - order: Order$inboundSchema.default("DESC"), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetProjectDomainsRequest$Outbound = { - idOrName: string; - production: string; - target?: string | undefined; - gitBranch?: string | undefined; - redirects: string; - redirect?: string | undefined; - verified?: string | undefined; - limit?: number | undefined; - since?: number | undefined; - until?: number | undefined; - order: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetProjectDomainsRequest$outboundSchema: z.ZodType< - GetProjectDomainsRequest$Outbound, - z.ZodTypeDef, - GetProjectDomainsRequest -> = z.object({ - idOrName: z.string(), - production: Production$outboundSchema.default("false"), - target: QueryParamTarget$outboundSchema.optional(), - gitBranch: z.string().optional(), - redirects: Redirects$outboundSchema.default("true"), - redirect: z.string().optional(), - verified: Verified$outboundSchema.optional(), - limit: z.number().optional(), - since: z.number().optional(), - until: z.number().optional(), - order: Order$outboundSchema.default("DESC"), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectDomainsRequest$ { - /** @deprecated use `GetProjectDomainsRequest$inboundSchema` instead. */ - export const inboundSchema = GetProjectDomainsRequest$inboundSchema; - /** @deprecated use `GetProjectDomainsRequest$outboundSchema` instead. */ - export const outboundSchema = GetProjectDomainsRequest$outboundSchema; - /** @deprecated use `GetProjectDomainsRequest$Outbound` instead. */ - export type Outbound = GetProjectDomainsRequest$Outbound; -} - -export function getProjectDomainsRequestToJSON( - getProjectDomainsRequest: GetProjectDomainsRequest, -): string { - return JSON.stringify( - GetProjectDomainsRequest$outboundSchema.parse(getProjectDomainsRequest), - ); -} - -export function getProjectDomainsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectDomainsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectDomainsRequest' from JSON`, - ); -} - -/** @internal */ -export const GetProjectDomainsVerification$inboundSchema: z.ZodType< - GetProjectDomainsVerification, - z.ZodTypeDef, - unknown -> = z.object({ - type: z.string(), - domain: z.string(), - value: z.string(), - reason: z.string(), -}); - -/** @internal */ -export type GetProjectDomainsVerification$Outbound = { - type: string; - domain: string; - value: string; - reason: string; -}; - -/** @internal */ -export const GetProjectDomainsVerification$outboundSchema: z.ZodType< - GetProjectDomainsVerification$Outbound, - z.ZodTypeDef, - GetProjectDomainsVerification -> = z.object({ - type: z.string(), - domain: z.string(), - value: z.string(), - reason: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectDomainsVerification$ { - /** @deprecated use `GetProjectDomainsVerification$inboundSchema` instead. */ - export const inboundSchema = GetProjectDomainsVerification$inboundSchema; - /** @deprecated use `GetProjectDomainsVerification$outboundSchema` instead. */ - export const outboundSchema = GetProjectDomainsVerification$outboundSchema; - /** @deprecated use `GetProjectDomainsVerification$Outbound` instead. */ - export type Outbound = GetProjectDomainsVerification$Outbound; -} - -export function getProjectDomainsVerificationToJSON( - getProjectDomainsVerification: GetProjectDomainsVerification, -): string { - return JSON.stringify( - GetProjectDomainsVerification$outboundSchema.parse( - getProjectDomainsVerification, - ), - ); -} - -export function getProjectDomainsVerificationFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectDomainsVerification$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectDomainsVerification' from JSON`, - ); -} - -/** @internal */ -export const GetProjectDomainsDomains$inboundSchema: z.ZodType< - GetProjectDomainsDomains, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - apexName: z.string(), - projectId: z.string(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(z.number()).optional(), - gitBranch: z.nullable(z.string()).optional(), - customEnvironmentId: z.nullable(z.string()).optional(), - updatedAt: z.number().optional(), - createdAt: z.number().optional(), - verified: z.boolean(), - verification: z.array( - z.lazy(() => GetProjectDomainsVerification$inboundSchema), - ).optional(), -}); - -/** @internal */ -export type GetProjectDomainsDomains$Outbound = { - name: string; - apexName: string; - projectId: string; - redirect?: string | null | undefined; - redirectStatusCode?: number | null | undefined; - gitBranch?: string | null | undefined; - customEnvironmentId?: string | null | undefined; - updatedAt?: number | undefined; - createdAt?: number | undefined; - verified: boolean; - verification?: Array | undefined; -}; - -/** @internal */ -export const GetProjectDomainsDomains$outboundSchema: z.ZodType< - GetProjectDomainsDomains$Outbound, - z.ZodTypeDef, - GetProjectDomainsDomains -> = z.object({ - name: z.string(), - apexName: z.string(), - projectId: z.string(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(z.number()).optional(), - gitBranch: z.nullable(z.string()).optional(), - customEnvironmentId: z.nullable(z.string()).optional(), - updatedAt: z.number().optional(), - createdAt: z.number().optional(), - verified: z.boolean(), - verification: z.array( - z.lazy(() => GetProjectDomainsVerification$outboundSchema), - ).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectDomainsDomains$ { - /** @deprecated use `GetProjectDomainsDomains$inboundSchema` instead. */ - export const inboundSchema = GetProjectDomainsDomains$inboundSchema; - /** @deprecated use `GetProjectDomainsDomains$outboundSchema` instead. */ - export const outboundSchema = GetProjectDomainsDomains$outboundSchema; - /** @deprecated use `GetProjectDomainsDomains$Outbound` instead. */ - export type Outbound = GetProjectDomainsDomains$Outbound; -} - -export function getProjectDomainsDomainsToJSON( - getProjectDomainsDomains: GetProjectDomainsDomains, -): string { - return JSON.stringify( - GetProjectDomainsDomains$outboundSchema.parse(getProjectDomainsDomains), - ); -} - -export function getProjectDomainsDomainsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectDomainsDomains$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectDomainsDomains' from JSON`, - ); -} - -/** @internal */ -export const GetProjectDomainsResponseBody$inboundSchema: z.ZodType< - GetProjectDomainsResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - domains: z.array(z.lazy(() => GetProjectDomainsDomains$inboundSchema)), - pagination: Pagination$inboundSchema, -}); - -/** @internal */ -export type GetProjectDomainsResponseBody$Outbound = { - domains: Array; - pagination: Pagination$Outbound; -}; - -/** @internal */ -export const GetProjectDomainsResponseBody$outboundSchema: z.ZodType< - GetProjectDomainsResponseBody$Outbound, - z.ZodTypeDef, - GetProjectDomainsResponseBody -> = z.object({ - domains: z.array(z.lazy(() => GetProjectDomainsDomains$outboundSchema)), - pagination: Pagination$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectDomainsResponseBody$ { - /** @deprecated use `GetProjectDomainsResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetProjectDomainsResponseBody$inboundSchema; - /** @deprecated use `GetProjectDomainsResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetProjectDomainsResponseBody$outboundSchema; - /** @deprecated use `GetProjectDomainsResponseBody$Outbound` instead. */ - export type Outbound = GetProjectDomainsResponseBody$Outbound; -} - -export function getProjectDomainsResponseBodyToJSON( - getProjectDomainsResponseBody: GetProjectDomainsResponseBody, -): string { - return JSON.stringify( - GetProjectDomainsResponseBody$outboundSchema.parse( - getProjectDomainsResponseBody, - ), - ); -} - -export function getProjectDomainsResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectDomainsResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectDomainsResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getprojectenv.ts b/src/models/operations/getprojectenv.ts deleted file mode 100644 index 04257847..00000000 --- a/src/models/operations/getprojectenv.ts +++ /dev/null @@ -1,6818 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetProjectEnvRequest = { - /** - * The unique project identifier or the project name - */ - idOrName: string; - /** - * The unique ID for the environment variable to get the decrypted value. - */ - id: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export const GetProjectEnvTargetProjectsResponse2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type GetProjectEnvTargetProjectsResponse2 = ClosedEnum< - typeof GetProjectEnvTargetProjectsResponse2 ->; - -export type GetProjectEnvResponseBodyProjectsResponseTarget = - | Array - | GetProjectEnvTargetProjectsResponse2; - -export const GetProjectEnvResponseBodyProjectsResponseType = { - System: "system", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", - Secret: "secret", -} as const; -export type GetProjectEnvResponseBodyProjectsResponseType = ClosedEnum< - typeof GetProjectEnvResponseBodyProjectsResponseType ->; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type = - { - FlagsConnectionString: "flags-connection-string", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type - >; - -export type GetProjectEnvContentHintProjectsResponse15 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type; - projectId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type = - { - IntegrationStoreSecret: "integration-store-secret", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type - >; - -export type GetProjectEnvContentHintProjectsResponse14 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type = - { - PostgresUrlNoSsl: "postgres-url-no-ssl", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type - >; - -export type GetProjectEnvContentHintProjectsResponse13 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type = - { - PostgresDatabase: "postgres-database", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type - >; - -export type GetProjectEnvContentHintProjectsResponse12 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type = - { - PostgresPassword: "postgres-password", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type - >; - -export type GetProjectEnvContentHintProjectsResponse11 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type = - { - PostgresHost: "postgres-host", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type - >; - -export type GetProjectEnvContentHintProjectsResponse10 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type = - { - PostgresUser: "postgres-user", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type - >; - -export type GetProjectEnvContentHintProjectsResponse9 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type = - { - PostgresPrismaUrl: "postgres-prisma-url", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type - >; - -export type GetProjectEnvContentHintProjectsResponse8 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type = - { - PostgresUrlNonPooling: "postgres-url-non-pooling", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type - >; - -export type GetProjectEnvContentHintProjectsResponse7 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type = - { - PostgresUrl: "postgres-url", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type - >; - -export type GetProjectEnvContentHintProjectsResponse6 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type = - { - BlobReadWriteToken: "blob-read-write-token", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type - >; - -export type GetProjectEnvContentHintProjectsResponse5 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type = - { - RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type - >; - -export type GetProjectEnvContentHintProjectsResponse4 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type = - { - RedisRestApiToken: "redis-rest-api-token", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type - >; - -export type GetProjectEnvContentHintProjectsResponse3 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type = - { - RedisRestApiUrl: "redis-rest-api-url", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type - >; - -export type GetProjectEnvContentHintProjectsResponse2 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type = - { - RedisUrl: "redis-url", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type - >; - -export type GetProjectEnvContentHintProjectsResponse1 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type; - storeId: string; -}; - -export type GetProjectEnvResponseBodyProjectsResponseContentHint = - | GetProjectEnvContentHintProjectsResponse1 - | GetProjectEnvContentHintProjectsResponse2 - | GetProjectEnvContentHintProjectsResponse3 - | GetProjectEnvContentHintProjectsResponse4 - | GetProjectEnvContentHintProjectsResponse5 - | GetProjectEnvContentHintProjectsResponse6 - | GetProjectEnvContentHintProjectsResponse7 - | GetProjectEnvContentHintProjectsResponse8 - | GetProjectEnvContentHintProjectsResponse9 - | GetProjectEnvContentHintProjectsResponse10 - | GetProjectEnvContentHintProjectsResponse11 - | GetProjectEnvContentHintProjectsResponse12 - | GetProjectEnvContentHintProjectsResponse13 - | GetProjectEnvContentHintProjectsResponse15 - | GetProjectEnvContentHintProjectsResponse14; - -export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type = - { - FlagsSecret: "flags-secret", - } as const; -export type GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type = - ClosedEnum< - typeof GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type - >; - -/** - * Similar to `contentHints`, but should not be exposed to the user. - */ -export type GetProjectEnvResponseBodyProjectsResponseInternalContentHint = { - type: GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type; - /** - * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. - */ - encryptedValue: string; -}; - -export type GetProjectEnvResponseBody3 = { - target?: Array | GetProjectEnvTargetProjectsResponse2 | undefined; - type: GetProjectEnvResponseBodyProjectsResponseType; - /** - * This is used to identiy variables that have been migrated from type secret to sensitive. - */ - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | GetProjectEnvContentHintProjectsResponse1 - | GetProjectEnvContentHintProjectsResponse2 - | GetProjectEnvContentHintProjectsResponse3 - | GetProjectEnvContentHintProjectsResponse4 - | GetProjectEnvContentHintProjectsResponse5 - | GetProjectEnvContentHintProjectsResponse6 - | GetProjectEnvContentHintProjectsResponse7 - | GetProjectEnvContentHintProjectsResponse8 - | GetProjectEnvContentHintProjectsResponse9 - | GetProjectEnvContentHintProjectsResponse10 - | GetProjectEnvContentHintProjectsResponse11 - | GetProjectEnvContentHintProjectsResponse12 - | GetProjectEnvContentHintProjectsResponse13 - | GetProjectEnvContentHintProjectsResponse15 - | GetProjectEnvContentHintProjectsResponse14 - | null - | undefined; - /** - * Similar to `contentHints`, but should not be exposed to the user. - */ - internalContentHint?: - | GetProjectEnvResponseBodyProjectsResponseInternalContentHint - | null - | undefined; - /** - * Whether `value` and `vsmValue` are decrypted. - */ - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; -}; - -export const GetProjectEnvTargetProjects2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type GetProjectEnvTargetProjects2 = ClosedEnum< - typeof GetProjectEnvTargetProjects2 ->; - -export const GetProjectEnvTargetProjects1 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type GetProjectEnvTargetProjects1 = ClosedEnum< - typeof GetProjectEnvTargetProjects1 ->; - -export type GetProjectEnvResponseBodyProjectsTarget = - | Array - | GetProjectEnvTargetProjects2; - -export const GetProjectEnvResponseBodyProjectsType = { - System: "system", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", - Secret: "secret", -} as const; -export type GetProjectEnvResponseBodyProjectsType = ClosedEnum< - typeof GetProjectEnvResponseBodyProjectsType ->; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type = - { - FlagsConnectionString: "flags-connection-string", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type - >; - -export type GetProjectEnvContentHintProjects15 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type; - projectId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type = - { - IntegrationStoreSecret: "integration-store-secret", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type - >; - -export type GetProjectEnvContentHintProjects14 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type = - { - PostgresUrlNoSsl: "postgres-url-no-ssl", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type - >; - -export type GetProjectEnvContentHintProjects13 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type = - { - PostgresDatabase: "postgres-database", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type - >; - -export type GetProjectEnvContentHintProjects12 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type = - { - PostgresPassword: "postgres-password", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type - >; - -export type GetProjectEnvContentHintProjects11 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type = - { - PostgresHost: "postgres-host", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type - >; - -export type GetProjectEnvContentHintProjects10 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type = - { - PostgresUser: "postgres-user", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type - >; - -export type GetProjectEnvContentHintProjects9 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type = - { - PostgresPrismaUrl: "postgres-prisma-url", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type - >; - -export type GetProjectEnvContentHintProjects8 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type = - { - PostgresUrlNonPooling: "postgres-url-non-pooling", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type - >; - -export type GetProjectEnvContentHintProjects7 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type = - { - PostgresUrl: "postgres-url", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type - >; - -export type GetProjectEnvContentHintProjects6 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type = - { - BlobReadWriteToken: "blob-read-write-token", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type - >; - -export type GetProjectEnvContentHintProjects5 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type = - { - RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type - >; - -export type GetProjectEnvContentHintProjects4 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type = - { - RedisRestApiToken: "redis-rest-api-token", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type - >; - -export type GetProjectEnvContentHintProjects3 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type = - { - RedisRestApiUrl: "redis-rest-api-url", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type - >; - -export type GetProjectEnvContentHintProjects2 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type = - { - RedisUrl: "redis-url", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type - >; - -export type GetProjectEnvContentHintProjects1 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type; - storeId: string; -}; - -export type GetProjectEnvResponseBodyProjectsContentHint = - | GetProjectEnvContentHintProjects1 - | GetProjectEnvContentHintProjects2 - | GetProjectEnvContentHintProjects3 - | GetProjectEnvContentHintProjects4 - | GetProjectEnvContentHintProjects5 - | GetProjectEnvContentHintProjects6 - | GetProjectEnvContentHintProjects7 - | GetProjectEnvContentHintProjects8 - | GetProjectEnvContentHintProjects9 - | GetProjectEnvContentHintProjects10 - | GetProjectEnvContentHintProjects11 - | GetProjectEnvContentHintProjects12 - | GetProjectEnvContentHintProjects13 - | GetProjectEnvContentHintProjects15 - | GetProjectEnvContentHintProjects14; - -export const GetProjectEnvResponseBodyProjectsResponse200Type = { - FlagsSecret: "flags-secret", -} as const; -export type GetProjectEnvResponseBodyProjectsResponse200Type = ClosedEnum< - typeof GetProjectEnvResponseBodyProjectsResponse200Type ->; - -/** - * Similar to `contentHints`, but should not be exposed to the user. - */ -export type GetProjectEnvResponseBodyProjectsInternalContentHint = { - type: GetProjectEnvResponseBodyProjectsResponse200Type; - /** - * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. - */ - encryptedValue: string; -}; - -export type GetProjectEnvResponseBody2 = { - target?: - | Array - | GetProjectEnvTargetProjects2 - | undefined; - type: GetProjectEnvResponseBodyProjectsType; - /** - * This is used to identiy variables that have been migrated from type secret to sensitive. - */ - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | GetProjectEnvContentHintProjects1 - | GetProjectEnvContentHintProjects2 - | GetProjectEnvContentHintProjects3 - | GetProjectEnvContentHintProjects4 - | GetProjectEnvContentHintProjects5 - | GetProjectEnvContentHintProjects6 - | GetProjectEnvContentHintProjects7 - | GetProjectEnvContentHintProjects8 - | GetProjectEnvContentHintProjects9 - | GetProjectEnvContentHintProjects10 - | GetProjectEnvContentHintProjects11 - | GetProjectEnvContentHintProjects12 - | GetProjectEnvContentHintProjects13 - | GetProjectEnvContentHintProjects15 - | GetProjectEnvContentHintProjects14 - | null - | undefined; - /** - * Similar to `contentHints`, but should not be exposed to the user. - */ - internalContentHint?: - | GetProjectEnvResponseBodyProjectsInternalContentHint - | null - | undefined; - /** - * Whether `value` and `vsmValue` are decrypted. - */ - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -export const GetProjectEnvTarget2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type GetProjectEnvTarget2 = ClosedEnum; - -export const GetProjectEnvTarget1 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type GetProjectEnvTarget1 = ClosedEnum; - -export type GetProjectEnvResponseBodyTarget = - | Array - | GetProjectEnvTarget2; - -export const GetProjectEnvResponseBodyType = { - System: "system", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", - Secret: "secret", -} as const; -export type GetProjectEnvResponseBodyType = ClosedEnum< - typeof GetProjectEnvResponseBodyType ->; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type = - { - FlagsConnectionString: "flags-connection-string", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type - >; - -export type GetProjectEnvContentHint15 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type; - projectId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type = - { - IntegrationStoreSecret: "integration-store-secret", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type - >; - -export type GetProjectEnvContentHint14 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type = - { - PostgresUrlNoSsl: "postgres-url-no-ssl", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type - >; - -export type GetProjectEnvContentHint13 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type = - { - PostgresDatabase: "postgres-database", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type - >; - -export type GetProjectEnvContentHint12 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type = - { - PostgresPassword: "postgres-password", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type - >; - -export type GetProjectEnvContentHint11 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type = - { - PostgresHost: "postgres-host", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type - >; - -export type GetProjectEnvContentHint10 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type = - { - PostgresUser: "postgres-user", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type - >; - -export type GetProjectEnvContentHint9 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type = - { - PostgresPrismaUrl: "postgres-prisma-url", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type - >; - -export type GetProjectEnvContentHint8 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type = - { - PostgresUrlNonPooling: "postgres-url-non-pooling", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type - >; - -export type GetProjectEnvContentHint7 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType = - { - PostgresUrl: "postgres-url", - } as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType - >; - -export type GetProjectEnvContentHint6 = { - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONType = { - BlobReadWriteToken: "blob-read-write-token", -} as const; -export type GetProjectEnvContentHintProjectsResponse200ApplicationJSONType = - ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONType - >; - -export type GetProjectEnvContentHint5 = { - type: GetProjectEnvContentHintProjectsResponse200ApplicationJSONType; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponse200Type = { - RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", -} as const; -export type GetProjectEnvContentHintProjectsResponse200Type = ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponse200Type ->; - -export type GetProjectEnvContentHint4 = { - type: GetProjectEnvContentHintProjectsResponse200Type; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsResponseType = { - RedisRestApiToken: "redis-rest-api-token", -} as const; -export type GetProjectEnvContentHintProjectsResponseType = ClosedEnum< - typeof GetProjectEnvContentHintProjectsResponseType ->; - -export type GetProjectEnvContentHint3 = { - type: GetProjectEnvContentHintProjectsResponseType; - storeId: string; -}; - -export const GetProjectEnvContentHintProjectsType = { - RedisRestApiUrl: "redis-rest-api-url", -} as const; -export type GetProjectEnvContentHintProjectsType = ClosedEnum< - typeof GetProjectEnvContentHintProjectsType ->; - -export type GetProjectEnvContentHint2 = { - type: GetProjectEnvContentHintProjectsType; - storeId: string; -}; - -export const GetProjectEnvContentHintType = { - RedisUrl: "redis-url", -} as const; -export type GetProjectEnvContentHintType = ClosedEnum< - typeof GetProjectEnvContentHintType ->; - -export type GetProjectEnvContentHint1 = { - type: GetProjectEnvContentHintType; - storeId: string; -}; - -export type GetProjectEnvResponseBodyContentHint = - | GetProjectEnvContentHint1 - | GetProjectEnvContentHint2 - | GetProjectEnvContentHint3 - | GetProjectEnvContentHint4 - | GetProjectEnvContentHint5 - | GetProjectEnvContentHint6 - | GetProjectEnvContentHint7 - | GetProjectEnvContentHint8 - | GetProjectEnvContentHint9 - | GetProjectEnvContentHint10 - | GetProjectEnvContentHint11 - | GetProjectEnvContentHint12 - | GetProjectEnvContentHint13 - | GetProjectEnvContentHint15 - | GetProjectEnvContentHint14; - -export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType = { - FlagsSecret: "flags-secret", -} as const; -export type GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType = - ClosedEnum< - typeof GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType - >; - -/** - * Similar to `contentHints`, but should not be exposed to the user. - */ -export type GetProjectEnvResponseBodyInternalContentHint = { - type: GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType; - /** - * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. - */ - encryptedValue: string; -}; - -export type GetProjectEnvResponseBody1 = { - decrypted: boolean; - target?: Array | GetProjectEnvTarget2 | undefined; - type: GetProjectEnvResponseBodyType; - /** - * This is used to identiy variables that have been migrated from type secret to sensitive. - */ - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | GetProjectEnvContentHint1 - | GetProjectEnvContentHint2 - | GetProjectEnvContentHint3 - | GetProjectEnvContentHint4 - | GetProjectEnvContentHint5 - | GetProjectEnvContentHint6 - | GetProjectEnvContentHint7 - | GetProjectEnvContentHint8 - | GetProjectEnvContentHint9 - | GetProjectEnvContentHint10 - | GetProjectEnvContentHint11 - | GetProjectEnvContentHint12 - | GetProjectEnvContentHint13 - | GetProjectEnvContentHint15 - | GetProjectEnvContentHint14 - | null - | undefined; - /** - * Similar to `contentHints`, but should not be exposed to the user. - */ - internalContentHint?: - | GetProjectEnvResponseBodyInternalContentHint - | null - | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -export type GetProjectEnvResponseBody = - | GetProjectEnvResponseBody1 - | GetProjectEnvResponseBody3 - | GetProjectEnvResponseBody2; - -/** @internal */ -export const GetProjectEnvRequest$inboundSchema: z.ZodType< - GetProjectEnvRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetProjectEnvRequest$Outbound = { - idOrName: string; - id: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetProjectEnvRequest$outboundSchema: z.ZodType< - GetProjectEnvRequest$Outbound, - z.ZodTypeDef, - GetProjectEnvRequest -> = z.object({ - idOrName: z.string(), - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvRequest$ { - /** @deprecated use `GetProjectEnvRequest$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvRequest$inboundSchema; - /** @deprecated use `GetProjectEnvRequest$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvRequest$outboundSchema; - /** @deprecated use `GetProjectEnvRequest$Outbound` instead. */ - export type Outbound = GetProjectEnvRequest$Outbound; -} - -export function getProjectEnvRequestToJSON( - getProjectEnvRequest: GetProjectEnvRequest, -): string { - return JSON.stringify( - GetProjectEnvRequest$outboundSchema.parse(getProjectEnvRequest), - ); -} - -export function getProjectEnvRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvRequest' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvTargetProjectsResponse2$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectEnvTargetProjectsResponse2, - ); - -/** @internal */ -export const GetProjectEnvTargetProjectsResponse2$outboundSchema: - z.ZodNativeEnum = - GetProjectEnvTargetProjectsResponse2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvTargetProjectsResponse2$ { - /** @deprecated use `GetProjectEnvTargetProjectsResponse2$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvTargetProjectsResponse2$inboundSchema; - /** @deprecated use `GetProjectEnvTargetProjectsResponse2$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvTargetProjectsResponse2$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsResponseTarget$inboundSchema: - z.ZodType< - GetProjectEnvResponseBodyProjectsResponseTarget, - z.ZodTypeDef, - unknown - > = z.union([ - z.array(z.string()), - GetProjectEnvTargetProjectsResponse2$inboundSchema, - ]); - -/** @internal */ -export type GetProjectEnvResponseBodyProjectsResponseTarget$Outbound = - | Array - | string; - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsResponseTarget$outboundSchema: - z.ZodType< - GetProjectEnvResponseBodyProjectsResponseTarget$Outbound, - z.ZodTypeDef, - GetProjectEnvResponseBodyProjectsResponseTarget - > = z.union([ - z.array(z.string()), - GetProjectEnvTargetProjectsResponse2$outboundSchema, - ]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBodyProjectsResponseTarget$ { - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseTarget$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvResponseBodyProjectsResponseTarget$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseTarget$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvResponseBodyProjectsResponseTarget$outboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseTarget$Outbound` instead. */ - export type Outbound = - GetProjectEnvResponseBodyProjectsResponseTarget$Outbound; -} - -export function getProjectEnvResponseBodyProjectsResponseTargetToJSON( - getProjectEnvResponseBodyProjectsResponseTarget: - GetProjectEnvResponseBodyProjectsResponseTarget, -): string { - return JSON.stringify( - GetProjectEnvResponseBodyProjectsResponseTarget$outboundSchema.parse( - getProjectEnvResponseBodyProjectsResponseTarget, - ), - ); -} - -export function getProjectEnvResponseBodyProjectsResponseTargetFromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvResponseBodyProjectsResponseTarget, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvResponseBodyProjectsResponseTarget$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvResponseBodyProjectsResponseTarget' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectEnvResponseBodyProjectsResponseType); - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsResponseType$outboundSchema: - z.ZodNativeEnum = - GetProjectEnvResponseBodyProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBodyProjectsResponseType$ { - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvResponseBodyProjectsResponseType$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvResponseBodyProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse15$inboundSchema: - z.ZodType = - z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema, - projectId: z.string(), - }); - -/** @internal */ -export type GetProjectEnvContentHintProjectsResponse15$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse15$outboundSchema: - z.ZodType< - GetProjectEnvContentHintProjectsResponse15$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjectsResponse15 - > = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema, - projectId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse15$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse15$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse15$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse15$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse15$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse15$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjectsResponse15$Outbound; -} - -export function getProjectEnvContentHintProjectsResponse15ToJSON( - getProjectEnvContentHintProjectsResponse15: - GetProjectEnvContentHintProjectsResponse15, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjectsResponse15$outboundSchema.parse( - getProjectEnvContentHintProjectsResponse15, - ), - ); -} - -export function getProjectEnvContentHintProjectsResponse15FromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvContentHintProjectsResponse15, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjectsResponse15$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvContentHintProjectsResponse15' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse14$inboundSchema: - z.ZodType = - z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), - }); - -/** @internal */ -export type GetProjectEnvContentHintProjectsResponse14$Outbound = { - type: string; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse14$outboundSchema: - z.ZodType< - GetProjectEnvContentHintProjectsResponse14$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjectsResponse14 - > = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse14$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse14$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse14$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse14$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse14$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse14$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjectsResponse14$Outbound; -} - -export function getProjectEnvContentHintProjectsResponse14ToJSON( - getProjectEnvContentHintProjectsResponse14: - GetProjectEnvContentHintProjectsResponse14, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjectsResponse14$outboundSchema.parse( - getProjectEnvContentHintProjectsResponse14, - ), - ); -} - -export function getProjectEnvContentHintProjectsResponse14FromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvContentHintProjectsResponse14, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjectsResponse14$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvContentHintProjectsResponse14' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse13$inboundSchema: - z.ZodType = - z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type GetProjectEnvContentHintProjectsResponse13$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse13$outboundSchema: - z.ZodType< - GetProjectEnvContentHintProjectsResponse13$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjectsResponse13 - > = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse13$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse13$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse13$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse13$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse13$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse13$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjectsResponse13$Outbound; -} - -export function getProjectEnvContentHintProjectsResponse13ToJSON( - getProjectEnvContentHintProjectsResponse13: - GetProjectEnvContentHintProjectsResponse13, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjectsResponse13$outboundSchema.parse( - getProjectEnvContentHintProjectsResponse13, - ), - ); -} - -export function getProjectEnvContentHintProjectsResponse13FromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvContentHintProjectsResponse13, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjectsResponse13$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvContentHintProjectsResponse13' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse12$inboundSchema: - z.ZodType = - z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type GetProjectEnvContentHintProjectsResponse12$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse12$outboundSchema: - z.ZodType< - GetProjectEnvContentHintProjectsResponse12$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjectsResponse12 - > = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse12$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse12$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse12$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse12$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse12$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse12$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjectsResponse12$Outbound; -} - -export function getProjectEnvContentHintProjectsResponse12ToJSON( - getProjectEnvContentHintProjectsResponse12: - GetProjectEnvContentHintProjectsResponse12, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjectsResponse12$outboundSchema.parse( - getProjectEnvContentHintProjectsResponse12, - ), - ); -} - -export function getProjectEnvContentHintProjectsResponse12FromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvContentHintProjectsResponse12, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjectsResponse12$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvContentHintProjectsResponse12' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse11$inboundSchema: - z.ZodType = - z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type GetProjectEnvContentHintProjectsResponse11$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse11$outboundSchema: - z.ZodType< - GetProjectEnvContentHintProjectsResponse11$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjectsResponse11 - > = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse11$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse11$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse11$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse11$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse11$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse11$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjectsResponse11$Outbound; -} - -export function getProjectEnvContentHintProjectsResponse11ToJSON( - getProjectEnvContentHintProjectsResponse11: - GetProjectEnvContentHintProjectsResponse11, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjectsResponse11$outboundSchema.parse( - getProjectEnvContentHintProjectsResponse11, - ), - ); -} - -export function getProjectEnvContentHintProjectsResponse11FromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvContentHintProjectsResponse11, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjectsResponse11$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvContentHintProjectsResponse11' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse10$inboundSchema: - z.ZodType = - z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type GetProjectEnvContentHintProjectsResponse10$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse10$outboundSchema: - z.ZodType< - GetProjectEnvContentHintProjectsResponse10$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjectsResponse10 - > = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse10$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse10$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse10$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse10$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse10$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse10$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjectsResponse10$Outbound; -} - -export function getProjectEnvContentHintProjectsResponse10ToJSON( - getProjectEnvContentHintProjectsResponse10: - GetProjectEnvContentHintProjectsResponse10, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjectsResponse10$outboundSchema.parse( - getProjectEnvContentHintProjectsResponse10, - ), - ); -} - -export function getProjectEnvContentHintProjectsResponse10FromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvContentHintProjectsResponse10, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjectsResponse10$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvContentHintProjectsResponse10' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse9$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjectsResponse9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjectsResponse9$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse9$outboundSchema: - z.ZodType< - GetProjectEnvContentHintProjectsResponse9$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjectsResponse9 - > = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse9$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse9$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse9$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse9$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse9$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse9$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjectsResponse9$Outbound; -} - -export function getProjectEnvContentHintProjectsResponse9ToJSON( - getProjectEnvContentHintProjectsResponse9: - GetProjectEnvContentHintProjectsResponse9, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjectsResponse9$outboundSchema.parse( - getProjectEnvContentHintProjectsResponse9, - ), - ); -} - -export function getProjectEnvContentHintProjectsResponse9FromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvContentHintProjectsResponse9, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjectsResponse9$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvContentHintProjectsResponse9' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse8$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjectsResponse8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjectsResponse8$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse8$outboundSchema: - z.ZodType< - GetProjectEnvContentHintProjectsResponse8$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjectsResponse8 - > = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse8$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse8$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse8$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse8$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse8$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse8$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjectsResponse8$Outbound; -} - -export function getProjectEnvContentHintProjectsResponse8ToJSON( - getProjectEnvContentHintProjectsResponse8: - GetProjectEnvContentHintProjectsResponse8, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjectsResponse8$outboundSchema.parse( - getProjectEnvContentHintProjectsResponse8, - ), - ); -} - -export function getProjectEnvContentHintProjectsResponse8FromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvContentHintProjectsResponse8, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjectsResponse8$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvContentHintProjectsResponse8' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse7$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjectsResponse7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjectsResponse7$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse7$outboundSchema: - z.ZodType< - GetProjectEnvContentHintProjectsResponse7$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjectsResponse7 - > = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse7$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse7$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse7$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse7$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse7$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse7$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjectsResponse7$Outbound; -} - -export function getProjectEnvContentHintProjectsResponse7ToJSON( - getProjectEnvContentHintProjectsResponse7: - GetProjectEnvContentHintProjectsResponse7, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjectsResponse7$outboundSchema.parse( - getProjectEnvContentHintProjectsResponse7, - ), - ); -} - -export function getProjectEnvContentHintProjectsResponse7FromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvContentHintProjectsResponse7, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjectsResponse7$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvContentHintProjectsResponse7' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse6$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjectsResponse6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjectsResponse6$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse6$outboundSchema: - z.ZodType< - GetProjectEnvContentHintProjectsResponse6$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjectsResponse6 - > = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse6$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse6$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse6$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse6$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse6$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse6$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjectsResponse6$Outbound; -} - -export function getProjectEnvContentHintProjectsResponse6ToJSON( - getProjectEnvContentHintProjectsResponse6: - GetProjectEnvContentHintProjectsResponse6, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjectsResponse6$outboundSchema.parse( - getProjectEnvContentHintProjectsResponse6, - ), - ); -} - -export function getProjectEnvContentHintProjectsResponse6FromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvContentHintProjectsResponse6, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjectsResponse6$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvContentHintProjectsResponse6' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse5$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjectsResponse5, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjectsResponse5$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse5$outboundSchema: - z.ZodType< - GetProjectEnvContentHintProjectsResponse5$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjectsResponse5 - > = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse5$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse5$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse5$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse5$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse5$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse5$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjectsResponse5$Outbound; -} - -export function getProjectEnvContentHintProjectsResponse5ToJSON( - getProjectEnvContentHintProjectsResponse5: - GetProjectEnvContentHintProjectsResponse5, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjectsResponse5$outboundSchema.parse( - getProjectEnvContentHintProjectsResponse5, - ), - ); -} - -export function getProjectEnvContentHintProjectsResponse5FromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvContentHintProjectsResponse5, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjectsResponse5$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvContentHintProjectsResponse5' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse4$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjectsResponse4, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjectsResponse4$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse4$outboundSchema: - z.ZodType< - GetProjectEnvContentHintProjectsResponse4$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjectsResponse4 - > = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse4$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse4$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse4$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse4$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse4$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse4$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjectsResponse4$Outbound; -} - -export function getProjectEnvContentHintProjectsResponse4ToJSON( - getProjectEnvContentHintProjectsResponse4: - GetProjectEnvContentHintProjectsResponse4, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjectsResponse4$outboundSchema.parse( - getProjectEnvContentHintProjectsResponse4, - ), - ); -} - -export function getProjectEnvContentHintProjectsResponse4FromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvContentHintProjectsResponse4, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjectsResponse4$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvContentHintProjectsResponse4' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse3$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjectsResponse3, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjectsResponse3$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse3$outboundSchema: - z.ZodType< - GetProjectEnvContentHintProjectsResponse3$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjectsResponse3 - > = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse3$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse3$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse3$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse3$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse3$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse3$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjectsResponse3$Outbound; -} - -export function getProjectEnvContentHintProjectsResponse3ToJSON( - getProjectEnvContentHintProjectsResponse3: - GetProjectEnvContentHintProjectsResponse3, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjectsResponse3$outboundSchema.parse( - getProjectEnvContentHintProjectsResponse3, - ), - ); -} - -export function getProjectEnvContentHintProjectsResponse3FromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvContentHintProjectsResponse3, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjectsResponse3$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvContentHintProjectsResponse3' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse2$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjectsResponse2, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjectsResponse2$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse2$outboundSchema: - z.ZodType< - GetProjectEnvContentHintProjectsResponse2$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjectsResponse2 - > = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse2$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse2$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse2$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse2$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse2$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse2$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjectsResponse2$Outbound; -} - -export function getProjectEnvContentHintProjectsResponse2ToJSON( - getProjectEnvContentHintProjectsResponse2: - GetProjectEnvContentHintProjectsResponse2, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjectsResponse2$outboundSchema.parse( - getProjectEnvContentHintProjectsResponse2, - ), - ); -} - -export function getProjectEnvContentHintProjectsResponse2FromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvContentHintProjectsResponse2, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjectsResponse2$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvContentHintProjectsResponse2' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse1$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjectsResponse1, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjectsResponse1$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse1$outboundSchema: - z.ZodType< - GetProjectEnvContentHintProjectsResponse1$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjectsResponse1 - > = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse1$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse1$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse1$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse1$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse1$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse1$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjectsResponse1$Outbound; -} - -export function getProjectEnvContentHintProjectsResponse1ToJSON( - getProjectEnvContentHintProjectsResponse1: - GetProjectEnvContentHintProjectsResponse1, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjectsResponse1$outboundSchema.parse( - getProjectEnvContentHintProjectsResponse1, - ), - ); -} - -export function getProjectEnvContentHintProjectsResponse1FromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvContentHintProjectsResponse1, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjectsResponse1$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvContentHintProjectsResponse1' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema: - z.ZodType< - GetProjectEnvResponseBodyProjectsResponseContentHint, - z.ZodTypeDef, - unknown - > = z.union([ - z.lazy(() => GetProjectEnvContentHintProjectsResponse1$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse2$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse3$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse4$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse5$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse6$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse7$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse8$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse9$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse10$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse11$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse12$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse13$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse15$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse14$inboundSchema), - ]); - -/** @internal */ -export type GetProjectEnvResponseBodyProjectsResponseContentHint$Outbound = - | GetProjectEnvContentHintProjectsResponse1$Outbound - | GetProjectEnvContentHintProjectsResponse2$Outbound - | GetProjectEnvContentHintProjectsResponse3$Outbound - | GetProjectEnvContentHintProjectsResponse4$Outbound - | GetProjectEnvContentHintProjectsResponse5$Outbound - | GetProjectEnvContentHintProjectsResponse6$Outbound - | GetProjectEnvContentHintProjectsResponse7$Outbound - | GetProjectEnvContentHintProjectsResponse8$Outbound - | GetProjectEnvContentHintProjectsResponse9$Outbound - | GetProjectEnvContentHintProjectsResponse10$Outbound - | GetProjectEnvContentHintProjectsResponse11$Outbound - | GetProjectEnvContentHintProjectsResponse12$Outbound - | GetProjectEnvContentHintProjectsResponse13$Outbound - | GetProjectEnvContentHintProjectsResponse15$Outbound - | GetProjectEnvContentHintProjectsResponse14$Outbound; - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema: - z.ZodType< - GetProjectEnvResponseBodyProjectsResponseContentHint$Outbound, - z.ZodTypeDef, - GetProjectEnvResponseBodyProjectsResponseContentHint - > = z.union([ - z.lazy(() => GetProjectEnvContentHintProjectsResponse1$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse2$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse3$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse4$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse5$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse6$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse7$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse8$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse9$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse10$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse11$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse12$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse13$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse15$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse14$outboundSchema), - ]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBodyProjectsResponseContentHint$ { - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseContentHint$Outbound` instead. */ - export type Outbound = - GetProjectEnvResponseBodyProjectsResponseContentHint$Outbound; -} - -export function getProjectEnvResponseBodyProjectsResponseContentHintToJSON( - getProjectEnvResponseBodyProjectsResponseContentHint: - GetProjectEnvResponseBodyProjectsResponseContentHint, -): string { - return JSON.stringify( - GetProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema.parse( - getProjectEnvResponseBodyProjectsResponseContentHint, - ), - ); -} - -export function getProjectEnvResponseBodyProjectsResponseContentHintFromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvResponseBodyProjectsResponseContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvResponseBodyProjectsResponseContentHint' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type - > = z.nativeEnum( - GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type, - ); - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type - > = - GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$ { - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema: - z.ZodType< - GetProjectEnvResponseBodyProjectsResponseInternalContentHint, - z.ZodTypeDef, - unknown - > = z.object({ - type: - GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema, - encryptedValue: z.string(), - }); - -/** @internal */ -export type GetProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound = - { - type: string; - encryptedValue: string; - }; - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema: - z.ZodType< - GetProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound, - z.ZodTypeDef, - GetProjectEnvResponseBodyProjectsResponseInternalContentHint - > = z.object({ - type: - GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema, - encryptedValue: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBodyProjectsResponseInternalContentHint$ { - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound` instead. */ - export type Outbound = - GetProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound; -} - -export function getProjectEnvResponseBodyProjectsResponseInternalContentHintToJSON( - getProjectEnvResponseBodyProjectsResponseInternalContentHint: - GetProjectEnvResponseBodyProjectsResponseInternalContentHint, -): string { - return JSON.stringify( - GetProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema - .parse(getProjectEnvResponseBodyProjectsResponseInternalContentHint), - ); -} - -export function getProjectEnvResponseBodyProjectsResponseInternalContentHintFromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvResponseBodyProjectsResponseInternalContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema - .parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvResponseBodyProjectsResponseInternalContentHint' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvResponseBody3$inboundSchema: z.ZodType< - GetProjectEnvResponseBody3, - z.ZodTypeDef, - unknown -> = z.object({ - target: z.union([ - z.array(z.string()), - GetProjectEnvTargetProjectsResponse2$inboundSchema, - ]).optional(), - type: GetProjectEnvResponseBodyProjectsResponseType$inboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => GetProjectEnvContentHintProjectsResponse1$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse2$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse3$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse4$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse5$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse6$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse7$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse8$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse9$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse10$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse11$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse12$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse13$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse15$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse14$inboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => - GetProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema - ), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), -}); - -/** @internal */ -export type GetProjectEnvResponseBody3$Outbound = { - target?: Array | string | undefined; - type: string; - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | GetProjectEnvContentHintProjectsResponse1$Outbound - | GetProjectEnvContentHintProjectsResponse2$Outbound - | GetProjectEnvContentHintProjectsResponse3$Outbound - | GetProjectEnvContentHintProjectsResponse4$Outbound - | GetProjectEnvContentHintProjectsResponse5$Outbound - | GetProjectEnvContentHintProjectsResponse6$Outbound - | GetProjectEnvContentHintProjectsResponse7$Outbound - | GetProjectEnvContentHintProjectsResponse8$Outbound - | GetProjectEnvContentHintProjectsResponse9$Outbound - | GetProjectEnvContentHintProjectsResponse10$Outbound - | GetProjectEnvContentHintProjectsResponse11$Outbound - | GetProjectEnvContentHintProjectsResponse12$Outbound - | GetProjectEnvContentHintProjectsResponse13$Outbound - | GetProjectEnvContentHintProjectsResponse15$Outbound - | GetProjectEnvContentHintProjectsResponse14$Outbound - | null - | undefined; - internalContentHint?: - | GetProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound - | null - | undefined; - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; -}; - -/** @internal */ -export const GetProjectEnvResponseBody3$outboundSchema: z.ZodType< - GetProjectEnvResponseBody3$Outbound, - z.ZodTypeDef, - GetProjectEnvResponseBody3 -> = z.object({ - target: z.union([ - z.array(z.string()), - GetProjectEnvTargetProjectsResponse2$outboundSchema, - ]).optional(), - type: GetProjectEnvResponseBodyProjectsResponseType$outboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => GetProjectEnvContentHintProjectsResponse1$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse2$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse3$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse4$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse5$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse6$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse7$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse8$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse9$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse10$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse11$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse12$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse13$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse15$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse14$outboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => - GetProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema - ), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBody3$ { - /** @deprecated use `GetProjectEnvResponseBody3$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvResponseBody3$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBody3$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvResponseBody3$outboundSchema; - /** @deprecated use `GetProjectEnvResponseBody3$Outbound` instead. */ - export type Outbound = GetProjectEnvResponseBody3$Outbound; -} - -export function getProjectEnvResponseBody3ToJSON( - getProjectEnvResponseBody3: GetProjectEnvResponseBody3, -): string { - return JSON.stringify( - GetProjectEnvResponseBody3$outboundSchema.parse(getProjectEnvResponseBody3), - ); -} - -export function getProjectEnvResponseBody3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvResponseBody3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvResponseBody3' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvTargetProjects2$inboundSchema: z.ZodNativeEnum< - typeof GetProjectEnvTargetProjects2 -> = z.nativeEnum(GetProjectEnvTargetProjects2); - -/** @internal */ -export const GetProjectEnvTargetProjects2$outboundSchema: z.ZodNativeEnum< - typeof GetProjectEnvTargetProjects2 -> = GetProjectEnvTargetProjects2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvTargetProjects2$ { - /** @deprecated use `GetProjectEnvTargetProjects2$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvTargetProjects2$inboundSchema; - /** @deprecated use `GetProjectEnvTargetProjects2$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvTargetProjects2$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvTargetProjects1$inboundSchema: z.ZodNativeEnum< - typeof GetProjectEnvTargetProjects1 -> = z.nativeEnum(GetProjectEnvTargetProjects1); - -/** @internal */ -export const GetProjectEnvTargetProjects1$outboundSchema: z.ZodNativeEnum< - typeof GetProjectEnvTargetProjects1 -> = GetProjectEnvTargetProjects1$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvTargetProjects1$ { - /** @deprecated use `GetProjectEnvTargetProjects1$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvTargetProjects1$inboundSchema; - /** @deprecated use `GetProjectEnvTargetProjects1$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvTargetProjects1$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsTarget$inboundSchema: z.ZodType< - GetProjectEnvResponseBodyProjectsTarget, - z.ZodTypeDef, - unknown -> = z.union([ - z.array(GetProjectEnvTargetProjects1$inboundSchema), - GetProjectEnvTargetProjects2$inboundSchema, -]); - -/** @internal */ -export type GetProjectEnvResponseBodyProjectsTarget$Outbound = - | Array - | string; - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsTarget$outboundSchema: z.ZodType< - GetProjectEnvResponseBodyProjectsTarget$Outbound, - z.ZodTypeDef, - GetProjectEnvResponseBodyProjectsTarget -> = z.union([ - z.array(GetProjectEnvTargetProjects1$outboundSchema), - GetProjectEnvTargetProjects2$outboundSchema, -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBodyProjectsTarget$ { - /** @deprecated use `GetProjectEnvResponseBodyProjectsTarget$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvResponseBodyProjectsTarget$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsTarget$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvResponseBodyProjectsTarget$outboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsTarget$Outbound` instead. */ - export type Outbound = GetProjectEnvResponseBodyProjectsTarget$Outbound; -} - -export function getProjectEnvResponseBodyProjectsTargetToJSON( - getProjectEnvResponseBodyProjectsTarget: - GetProjectEnvResponseBodyProjectsTarget, -): string { - return JSON.stringify( - GetProjectEnvResponseBodyProjectsTarget$outboundSchema.parse( - getProjectEnvResponseBodyProjectsTarget, - ), - ); -} - -export function getProjectEnvResponseBodyProjectsTargetFromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvResponseBodyProjectsTarget, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvResponseBodyProjectsTarget$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvResponseBodyProjectsTarget' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectEnvResponseBodyProjectsType, - ); - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsType$outboundSchema: - z.ZodNativeEnum = - GetProjectEnvResponseBodyProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBodyProjectsType$ { - /** @deprecated use `GetProjectEnvResponseBodyProjectsType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvResponseBodyProjectsType$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvResponseBodyProjectsType$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjects15$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjects15, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema, - projectId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjects15$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjects15$outboundSchema: z.ZodType< - GetProjectEnvContentHintProjects15$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjects15 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjects15$ { - /** @deprecated use `GetProjectEnvContentHintProjects15$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHintProjects15$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects15$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjects15$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects15$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjects15$Outbound; -} - -export function getProjectEnvContentHintProjects15ToJSON( - getProjectEnvContentHintProjects15: GetProjectEnvContentHintProjects15, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjects15$outboundSchema.parse( - getProjectEnvContentHintProjects15, - ), - ); -} - -export function getProjectEnvContentHintProjects15FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjects15$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHintProjects15' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjects14$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjects14, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjects14$Outbound = { - type: string; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjects14$outboundSchema: z.ZodType< - GetProjectEnvContentHintProjects14$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjects14 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjects14$ { - /** @deprecated use `GetProjectEnvContentHintProjects14$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHintProjects14$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects14$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjects14$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects14$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjects14$Outbound; -} - -export function getProjectEnvContentHintProjects14ToJSON( - getProjectEnvContentHintProjects14: GetProjectEnvContentHintProjects14, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjects14$outboundSchema.parse( - getProjectEnvContentHintProjects14, - ), - ); -} - -export function getProjectEnvContentHintProjects14FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjects14$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHintProjects14' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjects13$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjects13, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjects13$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjects13$outboundSchema: z.ZodType< - GetProjectEnvContentHintProjects13$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjects13 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjects13$ { - /** @deprecated use `GetProjectEnvContentHintProjects13$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHintProjects13$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects13$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjects13$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects13$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjects13$Outbound; -} - -export function getProjectEnvContentHintProjects13ToJSON( - getProjectEnvContentHintProjects13: GetProjectEnvContentHintProjects13, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjects13$outboundSchema.parse( - getProjectEnvContentHintProjects13, - ), - ); -} - -export function getProjectEnvContentHintProjects13FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjects13$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHintProjects13' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjects12$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjects12, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjects12$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjects12$outboundSchema: z.ZodType< - GetProjectEnvContentHintProjects12$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjects12 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjects12$ { - /** @deprecated use `GetProjectEnvContentHintProjects12$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHintProjects12$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects12$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjects12$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects12$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjects12$Outbound; -} - -export function getProjectEnvContentHintProjects12ToJSON( - getProjectEnvContentHintProjects12: GetProjectEnvContentHintProjects12, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjects12$outboundSchema.parse( - getProjectEnvContentHintProjects12, - ), - ); -} - -export function getProjectEnvContentHintProjects12FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjects12$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHintProjects12' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjects11$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjects11, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjects11$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjects11$outboundSchema: z.ZodType< - GetProjectEnvContentHintProjects11$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjects11 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjects11$ { - /** @deprecated use `GetProjectEnvContentHintProjects11$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHintProjects11$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects11$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjects11$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects11$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjects11$Outbound; -} - -export function getProjectEnvContentHintProjects11ToJSON( - getProjectEnvContentHintProjects11: GetProjectEnvContentHintProjects11, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjects11$outboundSchema.parse( - getProjectEnvContentHintProjects11, - ), - ); -} - -export function getProjectEnvContentHintProjects11FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjects11$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHintProjects11' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjects10$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjects10, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjects10$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjects10$outboundSchema: z.ZodType< - GetProjectEnvContentHintProjects10$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjects10 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjects10$ { - /** @deprecated use `GetProjectEnvContentHintProjects10$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHintProjects10$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects10$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjects10$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects10$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjects10$Outbound; -} - -export function getProjectEnvContentHintProjects10ToJSON( - getProjectEnvContentHintProjects10: GetProjectEnvContentHintProjects10, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjects10$outboundSchema.parse( - getProjectEnvContentHintProjects10, - ), - ); -} - -export function getProjectEnvContentHintProjects10FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetProjectEnvContentHintProjects10$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHintProjects10' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjects9$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjects9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjects9$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjects9$outboundSchema: z.ZodType< - GetProjectEnvContentHintProjects9$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjects9 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjects9$ { - /** @deprecated use `GetProjectEnvContentHintProjects9$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHintProjects9$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects9$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjects9$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects9$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjects9$Outbound; -} - -export function getProjectEnvContentHintProjects9ToJSON( - getProjectEnvContentHintProjects9: GetProjectEnvContentHintProjects9, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjects9$outboundSchema.parse( - getProjectEnvContentHintProjects9, - ), - ); -} - -export function getProjectEnvContentHintProjects9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHintProjects9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHintProjects9' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjects8$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjects8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjects8$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjects8$outboundSchema: z.ZodType< - GetProjectEnvContentHintProjects8$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjects8 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjects8$ { - /** @deprecated use `GetProjectEnvContentHintProjects8$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHintProjects8$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects8$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjects8$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects8$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjects8$Outbound; -} - -export function getProjectEnvContentHintProjects8ToJSON( - getProjectEnvContentHintProjects8: GetProjectEnvContentHintProjects8, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjects8$outboundSchema.parse( - getProjectEnvContentHintProjects8, - ), - ); -} - -export function getProjectEnvContentHintProjects8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHintProjects8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHintProjects8' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjects7$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjects7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjects7$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjects7$outboundSchema: z.ZodType< - GetProjectEnvContentHintProjects7$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjects7 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjects7$ { - /** @deprecated use `GetProjectEnvContentHintProjects7$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHintProjects7$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects7$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjects7$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects7$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjects7$Outbound; -} - -export function getProjectEnvContentHintProjects7ToJSON( - getProjectEnvContentHintProjects7: GetProjectEnvContentHintProjects7, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjects7$outboundSchema.parse( - getProjectEnvContentHintProjects7, - ), - ); -} - -export function getProjectEnvContentHintProjects7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHintProjects7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHintProjects7' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjects6$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjects6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjects6$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjects6$outboundSchema: z.ZodType< - GetProjectEnvContentHintProjects6$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjects6 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjects6$ { - /** @deprecated use `GetProjectEnvContentHintProjects6$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHintProjects6$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects6$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjects6$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects6$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjects6$Outbound; -} - -export function getProjectEnvContentHintProjects6ToJSON( - getProjectEnvContentHintProjects6: GetProjectEnvContentHintProjects6, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjects6$outboundSchema.parse( - getProjectEnvContentHintProjects6, - ), - ); -} - -export function getProjectEnvContentHintProjects6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHintProjects6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHintProjects6' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjects5$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjects5, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjects5$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjects5$outboundSchema: z.ZodType< - GetProjectEnvContentHintProjects5$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjects5 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjects5$ { - /** @deprecated use `GetProjectEnvContentHintProjects5$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHintProjects5$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects5$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjects5$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects5$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjects5$Outbound; -} - -export function getProjectEnvContentHintProjects5ToJSON( - getProjectEnvContentHintProjects5: GetProjectEnvContentHintProjects5, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjects5$outboundSchema.parse( - getProjectEnvContentHintProjects5, - ), - ); -} - -export function getProjectEnvContentHintProjects5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHintProjects5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHintProjects5' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjects4$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjects4, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjects4$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjects4$outboundSchema: z.ZodType< - GetProjectEnvContentHintProjects4$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjects4 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjects4$ { - /** @deprecated use `GetProjectEnvContentHintProjects4$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHintProjects4$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects4$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjects4$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects4$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjects4$Outbound; -} - -export function getProjectEnvContentHintProjects4ToJSON( - getProjectEnvContentHintProjects4: GetProjectEnvContentHintProjects4, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjects4$outboundSchema.parse( - getProjectEnvContentHintProjects4, - ), - ); -} - -export function getProjectEnvContentHintProjects4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHintProjects4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHintProjects4' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjects3$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjects3, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjects3$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjects3$outboundSchema: z.ZodType< - GetProjectEnvContentHintProjects3$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjects3 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjects3$ { - /** @deprecated use `GetProjectEnvContentHintProjects3$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHintProjects3$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects3$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjects3$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects3$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjects3$Outbound; -} - -export function getProjectEnvContentHintProjects3ToJSON( - getProjectEnvContentHintProjects3: GetProjectEnvContentHintProjects3, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjects3$outboundSchema.parse( - getProjectEnvContentHintProjects3, - ), - ); -} - -export function getProjectEnvContentHintProjects3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHintProjects3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHintProjects3' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjects2$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjects2, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjects2$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjects2$outboundSchema: z.ZodType< - GetProjectEnvContentHintProjects2$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjects2 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjects2$ { - /** @deprecated use `GetProjectEnvContentHintProjects2$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHintProjects2$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects2$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjects2$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects2$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjects2$Outbound; -} - -export function getProjectEnvContentHintProjects2ToJSON( - getProjectEnvContentHintProjects2: GetProjectEnvContentHintProjects2, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjects2$outboundSchema.parse( - getProjectEnvContentHintProjects2, - ), - ); -} - -export function getProjectEnvContentHintProjects2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHintProjects2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHintProjects2' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjects1$inboundSchema: z.ZodType< - GetProjectEnvContentHintProjects1, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHintProjects1$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHintProjects1$outboundSchema: z.ZodType< - GetProjectEnvContentHintProjects1$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHintProjects1 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjects1$ { - /** @deprecated use `GetProjectEnvContentHintProjects1$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHintProjects1$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects1$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjects1$outboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjects1$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHintProjects1$Outbound; -} - -export function getProjectEnvContentHintProjects1ToJSON( - getProjectEnvContentHintProjects1: GetProjectEnvContentHintProjects1, -): string { - return JSON.stringify( - GetProjectEnvContentHintProjects1$outboundSchema.parse( - getProjectEnvContentHintProjects1, - ), - ); -} - -export function getProjectEnvContentHintProjects1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHintProjects1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHintProjects1' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsContentHint$inboundSchema: - z.ZodType< - GetProjectEnvResponseBodyProjectsContentHint, - z.ZodTypeDef, - unknown - > = z.union([ - z.lazy(() => GetProjectEnvContentHintProjects1$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects2$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects3$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects4$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects5$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects6$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects7$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects8$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects9$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects10$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects11$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects12$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects13$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects15$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects14$inboundSchema), - ]); - -/** @internal */ -export type GetProjectEnvResponseBodyProjectsContentHint$Outbound = - | GetProjectEnvContentHintProjects1$Outbound - | GetProjectEnvContentHintProjects2$Outbound - | GetProjectEnvContentHintProjects3$Outbound - | GetProjectEnvContentHintProjects4$Outbound - | GetProjectEnvContentHintProjects5$Outbound - | GetProjectEnvContentHintProjects6$Outbound - | GetProjectEnvContentHintProjects7$Outbound - | GetProjectEnvContentHintProjects8$Outbound - | GetProjectEnvContentHintProjects9$Outbound - | GetProjectEnvContentHintProjects10$Outbound - | GetProjectEnvContentHintProjects11$Outbound - | GetProjectEnvContentHintProjects12$Outbound - | GetProjectEnvContentHintProjects13$Outbound - | GetProjectEnvContentHintProjects15$Outbound - | GetProjectEnvContentHintProjects14$Outbound; - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsContentHint$outboundSchema: - z.ZodType< - GetProjectEnvResponseBodyProjectsContentHint$Outbound, - z.ZodTypeDef, - GetProjectEnvResponseBodyProjectsContentHint - > = z.union([ - z.lazy(() => GetProjectEnvContentHintProjects1$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects2$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects3$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects4$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects5$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects6$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects7$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects8$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects9$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects10$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects11$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects12$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects13$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects15$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects14$outboundSchema), - ]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBodyProjectsContentHint$ { - /** @deprecated use `GetProjectEnvResponseBodyProjectsContentHint$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvResponseBodyProjectsContentHint$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsContentHint$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvResponseBodyProjectsContentHint$outboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsContentHint$Outbound` instead. */ - export type Outbound = GetProjectEnvResponseBodyProjectsContentHint$Outbound; -} - -export function getProjectEnvResponseBodyProjectsContentHintToJSON( - getProjectEnvResponseBodyProjectsContentHint: - GetProjectEnvResponseBodyProjectsContentHint, -): string { - return JSON.stringify( - GetProjectEnvResponseBodyProjectsContentHint$outboundSchema.parse( - getProjectEnvResponseBodyProjectsContentHint, - ), - ); -} - -export function getProjectEnvResponseBodyProjectsContentHintFromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvResponseBodyProjectsContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvResponseBodyProjectsContentHint$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvResponseBodyProjectsContentHint' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectEnvResponseBodyProjectsResponse200Type); - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsResponse200Type$outboundSchema: - z.ZodNativeEnum = - GetProjectEnvResponseBodyProjectsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBodyProjectsResponse200Type$ { - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvResponseBodyProjectsResponse200Type$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvResponseBodyProjectsResponse200Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema: - z.ZodType< - GetProjectEnvResponseBodyProjectsInternalContentHint, - z.ZodTypeDef, - unknown - > = z.object({ - type: GetProjectEnvResponseBodyProjectsResponse200Type$inboundSchema, - encryptedValue: z.string(), - }); - -/** @internal */ -export type GetProjectEnvResponseBodyProjectsInternalContentHint$Outbound = { - type: string; - encryptedValue: string; -}; - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema: - z.ZodType< - GetProjectEnvResponseBodyProjectsInternalContentHint$Outbound, - z.ZodTypeDef, - GetProjectEnvResponseBodyProjectsInternalContentHint - > = z.object({ - type: GetProjectEnvResponseBodyProjectsResponse200Type$outboundSchema, - encryptedValue: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBodyProjectsInternalContentHint$ { - /** @deprecated use `GetProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsInternalContentHint$Outbound` instead. */ - export type Outbound = - GetProjectEnvResponseBodyProjectsInternalContentHint$Outbound; -} - -export function getProjectEnvResponseBodyProjectsInternalContentHintToJSON( - getProjectEnvResponseBodyProjectsInternalContentHint: - GetProjectEnvResponseBodyProjectsInternalContentHint, -): string { - return JSON.stringify( - GetProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema.parse( - getProjectEnvResponseBodyProjectsInternalContentHint, - ), - ); -} - -export function getProjectEnvResponseBodyProjectsInternalContentHintFromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvResponseBodyProjectsInternalContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvResponseBodyProjectsInternalContentHint' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvResponseBody2$inboundSchema: z.ZodType< - GetProjectEnvResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - target: z.union([ - z.array(GetProjectEnvTargetProjects1$inboundSchema), - GetProjectEnvTargetProjects2$inboundSchema, - ]).optional(), - type: GetProjectEnvResponseBodyProjectsType$inboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => GetProjectEnvContentHintProjects1$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects2$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects3$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects4$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects5$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects6$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects7$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects8$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects9$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects10$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects11$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects12$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects13$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects15$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects14$inboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => - GetProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema - ), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), -}); - -/** @internal */ -export type GetProjectEnvResponseBody2$Outbound = { - target?: Array | string | undefined; - type: string; - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | GetProjectEnvContentHintProjects1$Outbound - | GetProjectEnvContentHintProjects2$Outbound - | GetProjectEnvContentHintProjects3$Outbound - | GetProjectEnvContentHintProjects4$Outbound - | GetProjectEnvContentHintProjects5$Outbound - | GetProjectEnvContentHintProjects6$Outbound - | GetProjectEnvContentHintProjects7$Outbound - | GetProjectEnvContentHintProjects8$Outbound - | GetProjectEnvContentHintProjects9$Outbound - | GetProjectEnvContentHintProjects10$Outbound - | GetProjectEnvContentHintProjects11$Outbound - | GetProjectEnvContentHintProjects12$Outbound - | GetProjectEnvContentHintProjects13$Outbound - | GetProjectEnvContentHintProjects15$Outbound - | GetProjectEnvContentHintProjects14$Outbound - | null - | undefined; - internalContentHint?: - | GetProjectEnvResponseBodyProjectsInternalContentHint$Outbound - | null - | undefined; - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -/** @internal */ -export const GetProjectEnvResponseBody2$outboundSchema: z.ZodType< - GetProjectEnvResponseBody2$Outbound, - z.ZodTypeDef, - GetProjectEnvResponseBody2 -> = z.object({ - target: z.union([ - z.array(GetProjectEnvTargetProjects1$outboundSchema), - GetProjectEnvTargetProjects2$outboundSchema, - ]).optional(), - type: GetProjectEnvResponseBodyProjectsType$outboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => GetProjectEnvContentHintProjects1$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects2$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects3$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects4$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects5$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects6$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects7$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects8$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects9$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects10$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects11$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects12$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects13$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects15$outboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects14$outboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => - GetProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema - ), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBody2$ { - /** @deprecated use `GetProjectEnvResponseBody2$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvResponseBody2$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBody2$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvResponseBody2$outboundSchema; - /** @deprecated use `GetProjectEnvResponseBody2$Outbound` instead. */ - export type Outbound = GetProjectEnvResponseBody2$Outbound; -} - -export function getProjectEnvResponseBody2ToJSON( - getProjectEnvResponseBody2: GetProjectEnvResponseBody2, -): string { - return JSON.stringify( - GetProjectEnvResponseBody2$outboundSchema.parse(getProjectEnvResponseBody2), - ); -} - -export function getProjectEnvResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvTarget2$inboundSchema: z.ZodNativeEnum< - typeof GetProjectEnvTarget2 -> = z.nativeEnum(GetProjectEnvTarget2); - -/** @internal */ -export const GetProjectEnvTarget2$outboundSchema: z.ZodNativeEnum< - typeof GetProjectEnvTarget2 -> = GetProjectEnvTarget2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvTarget2$ { - /** @deprecated use `GetProjectEnvTarget2$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvTarget2$inboundSchema; - /** @deprecated use `GetProjectEnvTarget2$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvTarget2$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvTarget1$inboundSchema: z.ZodNativeEnum< - typeof GetProjectEnvTarget1 -> = z.nativeEnum(GetProjectEnvTarget1); - -/** @internal */ -export const GetProjectEnvTarget1$outboundSchema: z.ZodNativeEnum< - typeof GetProjectEnvTarget1 -> = GetProjectEnvTarget1$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvTarget1$ { - /** @deprecated use `GetProjectEnvTarget1$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvTarget1$inboundSchema; - /** @deprecated use `GetProjectEnvTarget1$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvTarget1$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvResponseBodyTarget$inboundSchema: z.ZodType< - GetProjectEnvResponseBodyTarget, - z.ZodTypeDef, - unknown -> = z.union([ - z.array(GetProjectEnvTarget1$inboundSchema), - GetProjectEnvTarget2$inboundSchema, -]); - -/** @internal */ -export type GetProjectEnvResponseBodyTarget$Outbound = Array | string; - -/** @internal */ -export const GetProjectEnvResponseBodyTarget$outboundSchema: z.ZodType< - GetProjectEnvResponseBodyTarget$Outbound, - z.ZodTypeDef, - GetProjectEnvResponseBodyTarget -> = z.union([ - z.array(GetProjectEnvTarget1$outboundSchema), - GetProjectEnvTarget2$outboundSchema, -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBodyTarget$ { - /** @deprecated use `GetProjectEnvResponseBodyTarget$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvResponseBodyTarget$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyTarget$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvResponseBodyTarget$outboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyTarget$Outbound` instead. */ - export type Outbound = GetProjectEnvResponseBodyTarget$Outbound; -} - -export function getProjectEnvResponseBodyTargetToJSON( - getProjectEnvResponseBodyTarget: GetProjectEnvResponseBodyTarget, -): string { - return JSON.stringify( - GetProjectEnvResponseBodyTarget$outboundSchema.parse( - getProjectEnvResponseBodyTarget, - ), - ); -} - -export function getProjectEnvResponseBodyTargetFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvResponseBodyTarget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvResponseBodyTarget' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvResponseBodyType$inboundSchema: z.ZodNativeEnum< - typeof GetProjectEnvResponseBodyType -> = z.nativeEnum(GetProjectEnvResponseBodyType); - -/** @internal */ -export const GetProjectEnvResponseBodyType$outboundSchema: z.ZodNativeEnum< - typeof GetProjectEnvResponseBodyType -> = GetProjectEnvResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBodyType$ { - /** @deprecated use `GetProjectEnvResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvResponseBodyType$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvResponseBodyType$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHint15$inboundSchema: z.ZodType< - GetProjectEnvContentHint15, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema, - projectId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHint15$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHint15$outboundSchema: z.ZodType< - GetProjectEnvContentHint15$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHint15 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHint15$ { - /** @deprecated use `GetProjectEnvContentHint15$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHint15$inboundSchema; - /** @deprecated use `GetProjectEnvContentHint15$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvContentHint15$outboundSchema; - /** @deprecated use `GetProjectEnvContentHint15$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHint15$Outbound; -} - -export function getProjectEnvContentHint15ToJSON( - getProjectEnvContentHint15: GetProjectEnvContentHint15, -): string { - return JSON.stringify( - GetProjectEnvContentHint15$outboundSchema.parse(getProjectEnvContentHint15), - ); -} - -export function getProjectEnvContentHint15FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHint15$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHint15' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHint14$inboundSchema: z.ZodType< - GetProjectEnvContentHint14, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHint14$Outbound = { - type: string; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHint14$outboundSchema: z.ZodType< - GetProjectEnvContentHint14$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHint14 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHint14$ { - /** @deprecated use `GetProjectEnvContentHint14$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHint14$inboundSchema; - /** @deprecated use `GetProjectEnvContentHint14$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvContentHint14$outboundSchema; - /** @deprecated use `GetProjectEnvContentHint14$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHint14$Outbound; -} - -export function getProjectEnvContentHint14ToJSON( - getProjectEnvContentHint14: GetProjectEnvContentHint14, -): string { - return JSON.stringify( - GetProjectEnvContentHint14$outboundSchema.parse(getProjectEnvContentHint14), - ); -} - -export function getProjectEnvContentHint14FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHint14$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHint14' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHint13$inboundSchema: z.ZodType< - GetProjectEnvContentHint13, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHint13$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHint13$outboundSchema: z.ZodType< - GetProjectEnvContentHint13$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHint13 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHint13$ { - /** @deprecated use `GetProjectEnvContentHint13$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHint13$inboundSchema; - /** @deprecated use `GetProjectEnvContentHint13$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvContentHint13$outboundSchema; - /** @deprecated use `GetProjectEnvContentHint13$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHint13$Outbound; -} - -export function getProjectEnvContentHint13ToJSON( - getProjectEnvContentHint13: GetProjectEnvContentHint13, -): string { - return JSON.stringify( - GetProjectEnvContentHint13$outboundSchema.parse(getProjectEnvContentHint13), - ); -} - -export function getProjectEnvContentHint13FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHint13$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHint13' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHint12$inboundSchema: z.ZodType< - GetProjectEnvContentHint12, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHint12$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHint12$outboundSchema: z.ZodType< - GetProjectEnvContentHint12$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHint12 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHint12$ { - /** @deprecated use `GetProjectEnvContentHint12$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHint12$inboundSchema; - /** @deprecated use `GetProjectEnvContentHint12$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvContentHint12$outboundSchema; - /** @deprecated use `GetProjectEnvContentHint12$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHint12$Outbound; -} - -export function getProjectEnvContentHint12ToJSON( - getProjectEnvContentHint12: GetProjectEnvContentHint12, -): string { - return JSON.stringify( - GetProjectEnvContentHint12$outboundSchema.parse(getProjectEnvContentHint12), - ); -} - -export function getProjectEnvContentHint12FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHint12$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHint12' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHint11$inboundSchema: z.ZodType< - GetProjectEnvContentHint11, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHint11$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHint11$outboundSchema: z.ZodType< - GetProjectEnvContentHint11$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHint11 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHint11$ { - /** @deprecated use `GetProjectEnvContentHint11$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHint11$inboundSchema; - /** @deprecated use `GetProjectEnvContentHint11$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvContentHint11$outboundSchema; - /** @deprecated use `GetProjectEnvContentHint11$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHint11$Outbound; -} - -export function getProjectEnvContentHint11ToJSON( - getProjectEnvContentHint11: GetProjectEnvContentHint11, -): string { - return JSON.stringify( - GetProjectEnvContentHint11$outboundSchema.parse(getProjectEnvContentHint11), - ); -} - -export function getProjectEnvContentHint11FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHint11$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHint11' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHint10$inboundSchema: z.ZodType< - GetProjectEnvContentHint10, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHint10$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHint10$outboundSchema: z.ZodType< - GetProjectEnvContentHint10$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHint10 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHint10$ { - /** @deprecated use `GetProjectEnvContentHint10$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHint10$inboundSchema; - /** @deprecated use `GetProjectEnvContentHint10$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvContentHint10$outboundSchema; - /** @deprecated use `GetProjectEnvContentHint10$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHint10$Outbound; -} - -export function getProjectEnvContentHint10ToJSON( - getProjectEnvContentHint10: GetProjectEnvContentHint10, -): string { - return JSON.stringify( - GetProjectEnvContentHint10$outboundSchema.parse(getProjectEnvContentHint10), - ); -} - -export function getProjectEnvContentHint10FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHint10$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHint10' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHint9$inboundSchema: z.ZodType< - GetProjectEnvContentHint9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHint9$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHint9$outboundSchema: z.ZodType< - GetProjectEnvContentHint9$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHint9 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHint9$ { - /** @deprecated use `GetProjectEnvContentHint9$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHint9$inboundSchema; - /** @deprecated use `GetProjectEnvContentHint9$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvContentHint9$outboundSchema; - /** @deprecated use `GetProjectEnvContentHint9$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHint9$Outbound; -} - -export function getProjectEnvContentHint9ToJSON( - getProjectEnvContentHint9: GetProjectEnvContentHint9, -): string { - return JSON.stringify( - GetProjectEnvContentHint9$outboundSchema.parse(getProjectEnvContentHint9), - ); -} - -export function getProjectEnvContentHint9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHint9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHint9' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHint8$inboundSchema: z.ZodType< - GetProjectEnvContentHint8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHint8$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHint8$outboundSchema: z.ZodType< - GetProjectEnvContentHint8$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHint8 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHint8$ { - /** @deprecated use `GetProjectEnvContentHint8$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHint8$inboundSchema; - /** @deprecated use `GetProjectEnvContentHint8$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvContentHint8$outboundSchema; - /** @deprecated use `GetProjectEnvContentHint8$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHint8$Outbound; -} - -export function getProjectEnvContentHint8ToJSON( - getProjectEnvContentHint8: GetProjectEnvContentHint8, -): string { - return JSON.stringify( - GetProjectEnvContentHint8$outboundSchema.parse(getProjectEnvContentHint8), - ); -} - -export function getProjectEnvContentHint8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHint8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHint8' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHint7$inboundSchema: z.ZodType< - GetProjectEnvContentHint7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHint7$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHint7$outboundSchema: z.ZodType< - GetProjectEnvContentHint7$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHint7 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHint7$ { - /** @deprecated use `GetProjectEnvContentHint7$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHint7$inboundSchema; - /** @deprecated use `GetProjectEnvContentHint7$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvContentHint7$outboundSchema; - /** @deprecated use `GetProjectEnvContentHint7$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHint7$Outbound; -} - -export function getProjectEnvContentHint7ToJSON( - getProjectEnvContentHint7: GetProjectEnvContentHint7, -): string { - return JSON.stringify( - GetProjectEnvContentHint7$outboundSchema.parse(getProjectEnvContentHint7), - ); -} - -export function getProjectEnvContentHint7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHint7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHint7' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHint6$inboundSchema: z.ZodType< - GetProjectEnvContentHint6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHint6$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHint6$outboundSchema: z.ZodType< - GetProjectEnvContentHint6$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHint6 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHint6$ { - /** @deprecated use `GetProjectEnvContentHint6$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHint6$inboundSchema; - /** @deprecated use `GetProjectEnvContentHint6$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvContentHint6$outboundSchema; - /** @deprecated use `GetProjectEnvContentHint6$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHint6$Outbound; -} - -export function getProjectEnvContentHint6ToJSON( - getProjectEnvContentHint6: GetProjectEnvContentHint6, -): string { - return JSON.stringify( - GetProjectEnvContentHint6$outboundSchema.parse(getProjectEnvContentHint6), - ); -} - -export function getProjectEnvContentHint6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHint6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHint6' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONType - > = z.nativeEnum( - GetProjectEnvContentHintProjectsResponse200ApplicationJSONType, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvContentHintProjectsResponse200ApplicationJSONType - > = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHint5$inboundSchema: z.ZodType< - GetProjectEnvContentHint5, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHint5$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHint5$outboundSchema: z.ZodType< - GetProjectEnvContentHint5$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHint5 -> = z.object({ - type: - GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHint5$ { - /** @deprecated use `GetProjectEnvContentHint5$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHint5$inboundSchema; - /** @deprecated use `GetProjectEnvContentHint5$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvContentHint5$outboundSchema; - /** @deprecated use `GetProjectEnvContentHint5$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHint5$Outbound; -} - -export function getProjectEnvContentHint5ToJSON( - getProjectEnvContentHint5: GetProjectEnvContentHint5, -): string { - return JSON.stringify( - GetProjectEnvContentHint5$outboundSchema.parse(getProjectEnvContentHint5), - ); -} - -export function getProjectEnvContentHint5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHint5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHint5' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectEnvContentHintProjectsResponse200Type); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponse200Type$outboundSchema: - z.ZodNativeEnum = - GetProjectEnvContentHintProjectsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponse200Type$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponse200Type$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponse200Type$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHint4$inboundSchema: z.ZodType< - GetProjectEnvContentHint4, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetProjectEnvContentHintProjectsResponse200Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHint4$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHint4$outboundSchema: z.ZodType< - GetProjectEnvContentHint4$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHint4 -> = z.object({ - type: GetProjectEnvContentHintProjectsResponse200Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHint4$ { - /** @deprecated use `GetProjectEnvContentHint4$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHint4$inboundSchema; - /** @deprecated use `GetProjectEnvContentHint4$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvContentHint4$outboundSchema; - /** @deprecated use `GetProjectEnvContentHint4$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHint4$Outbound; -} - -export function getProjectEnvContentHint4ToJSON( - getProjectEnvContentHint4: GetProjectEnvContentHint4, -): string { - return JSON.stringify( - GetProjectEnvContentHint4$outboundSchema.parse(getProjectEnvContentHint4), - ); -} - -export function getProjectEnvContentHint4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHint4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHint4' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectEnvContentHintProjectsResponseType); - -/** @internal */ -export const GetProjectEnvContentHintProjectsResponseType$outboundSchema: - z.ZodNativeEnum = - GetProjectEnvContentHintProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsResponseType$ { - /** @deprecated use `GetProjectEnvContentHintProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsResponseType$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHint3$inboundSchema: z.ZodType< - GetProjectEnvContentHint3, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetProjectEnvContentHintProjectsResponseType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHint3$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHint3$outboundSchema: z.ZodType< - GetProjectEnvContentHint3$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHint3 -> = z.object({ - type: GetProjectEnvContentHintProjectsResponseType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHint3$ { - /** @deprecated use `GetProjectEnvContentHint3$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHint3$inboundSchema; - /** @deprecated use `GetProjectEnvContentHint3$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvContentHint3$outboundSchema; - /** @deprecated use `GetProjectEnvContentHint3$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHint3$Outbound; -} - -export function getProjectEnvContentHint3ToJSON( - getProjectEnvContentHint3: GetProjectEnvContentHint3, -): string { - return JSON.stringify( - GetProjectEnvContentHint3$outboundSchema.parse(getProjectEnvContentHint3), - ); -} - -export function getProjectEnvContentHint3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHint3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHint3' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintProjectsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectEnvContentHintProjectsType, - ); - -/** @internal */ -export const GetProjectEnvContentHintProjectsType$outboundSchema: - z.ZodNativeEnum = - GetProjectEnvContentHintProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintProjectsType$ { - /** @deprecated use `GetProjectEnvContentHintProjectsType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvContentHintProjectsType$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintProjectsType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvContentHintProjectsType$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHint2$inboundSchema: z.ZodType< - GetProjectEnvContentHint2, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetProjectEnvContentHintProjectsType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHint2$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHint2$outboundSchema: z.ZodType< - GetProjectEnvContentHint2$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHint2 -> = z.object({ - type: GetProjectEnvContentHintProjectsType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHint2$ { - /** @deprecated use `GetProjectEnvContentHint2$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHint2$inboundSchema; - /** @deprecated use `GetProjectEnvContentHint2$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvContentHint2$outboundSchema; - /** @deprecated use `GetProjectEnvContentHint2$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHint2$Outbound; -} - -export function getProjectEnvContentHint2ToJSON( - getProjectEnvContentHint2: GetProjectEnvContentHint2, -): string { - return JSON.stringify( - GetProjectEnvContentHint2$outboundSchema.parse(getProjectEnvContentHint2), - ); -} - -export function getProjectEnvContentHint2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHint2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHint2' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvContentHintType$inboundSchema: z.ZodNativeEnum< - typeof GetProjectEnvContentHintType -> = z.nativeEnum(GetProjectEnvContentHintType); - -/** @internal */ -export const GetProjectEnvContentHintType$outboundSchema: z.ZodNativeEnum< - typeof GetProjectEnvContentHintType -> = GetProjectEnvContentHintType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHintType$ { - /** @deprecated use `GetProjectEnvContentHintType$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHintType$inboundSchema; - /** @deprecated use `GetProjectEnvContentHintType$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvContentHintType$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvContentHint1$inboundSchema: z.ZodType< - GetProjectEnvContentHint1, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetProjectEnvContentHintType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectEnvContentHint1$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectEnvContentHint1$outboundSchema: z.ZodType< - GetProjectEnvContentHint1$Outbound, - z.ZodTypeDef, - GetProjectEnvContentHint1 -> = z.object({ - type: GetProjectEnvContentHintType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvContentHint1$ { - /** @deprecated use `GetProjectEnvContentHint1$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvContentHint1$inboundSchema; - /** @deprecated use `GetProjectEnvContentHint1$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvContentHint1$outboundSchema; - /** @deprecated use `GetProjectEnvContentHint1$Outbound` instead. */ - export type Outbound = GetProjectEnvContentHint1$Outbound; -} - -export function getProjectEnvContentHint1ToJSON( - getProjectEnvContentHint1: GetProjectEnvContentHint1, -): string { - return JSON.stringify( - GetProjectEnvContentHint1$outboundSchema.parse(getProjectEnvContentHint1), - ); -} - -export function getProjectEnvContentHint1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvContentHint1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvContentHint1' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvResponseBodyContentHint$inboundSchema: z.ZodType< - GetProjectEnvResponseBodyContentHint, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetProjectEnvContentHint1$inboundSchema), - z.lazy(() => GetProjectEnvContentHint2$inboundSchema), - z.lazy(() => GetProjectEnvContentHint3$inboundSchema), - z.lazy(() => GetProjectEnvContentHint4$inboundSchema), - z.lazy(() => GetProjectEnvContentHint5$inboundSchema), - z.lazy(() => GetProjectEnvContentHint6$inboundSchema), - z.lazy(() => GetProjectEnvContentHint7$inboundSchema), - z.lazy(() => GetProjectEnvContentHint8$inboundSchema), - z.lazy(() => GetProjectEnvContentHint9$inboundSchema), - z.lazy(() => GetProjectEnvContentHint10$inboundSchema), - z.lazy(() => GetProjectEnvContentHint11$inboundSchema), - z.lazy(() => GetProjectEnvContentHint12$inboundSchema), - z.lazy(() => GetProjectEnvContentHint13$inboundSchema), - z.lazy(() => GetProjectEnvContentHint15$inboundSchema), - z.lazy(() => GetProjectEnvContentHint14$inboundSchema), -]); - -/** @internal */ -export type GetProjectEnvResponseBodyContentHint$Outbound = - | GetProjectEnvContentHint1$Outbound - | GetProjectEnvContentHint2$Outbound - | GetProjectEnvContentHint3$Outbound - | GetProjectEnvContentHint4$Outbound - | GetProjectEnvContentHint5$Outbound - | GetProjectEnvContentHint6$Outbound - | GetProjectEnvContentHint7$Outbound - | GetProjectEnvContentHint8$Outbound - | GetProjectEnvContentHint9$Outbound - | GetProjectEnvContentHint10$Outbound - | GetProjectEnvContentHint11$Outbound - | GetProjectEnvContentHint12$Outbound - | GetProjectEnvContentHint13$Outbound - | GetProjectEnvContentHint15$Outbound - | GetProjectEnvContentHint14$Outbound; - -/** @internal */ -export const GetProjectEnvResponseBodyContentHint$outboundSchema: z.ZodType< - GetProjectEnvResponseBodyContentHint$Outbound, - z.ZodTypeDef, - GetProjectEnvResponseBodyContentHint -> = z.union([ - z.lazy(() => GetProjectEnvContentHint1$outboundSchema), - z.lazy(() => GetProjectEnvContentHint2$outboundSchema), - z.lazy(() => GetProjectEnvContentHint3$outboundSchema), - z.lazy(() => GetProjectEnvContentHint4$outboundSchema), - z.lazy(() => GetProjectEnvContentHint5$outboundSchema), - z.lazy(() => GetProjectEnvContentHint6$outboundSchema), - z.lazy(() => GetProjectEnvContentHint7$outboundSchema), - z.lazy(() => GetProjectEnvContentHint8$outboundSchema), - z.lazy(() => GetProjectEnvContentHint9$outboundSchema), - z.lazy(() => GetProjectEnvContentHint10$outboundSchema), - z.lazy(() => GetProjectEnvContentHint11$outboundSchema), - z.lazy(() => GetProjectEnvContentHint12$outboundSchema), - z.lazy(() => GetProjectEnvContentHint13$outboundSchema), - z.lazy(() => GetProjectEnvContentHint15$outboundSchema), - z.lazy(() => GetProjectEnvContentHint14$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBodyContentHint$ { - /** @deprecated use `GetProjectEnvResponseBodyContentHint$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvResponseBodyContentHint$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyContentHint$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvResponseBodyContentHint$outboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyContentHint$Outbound` instead. */ - export type Outbound = GetProjectEnvResponseBodyContentHint$Outbound; -} - -export function getProjectEnvResponseBodyContentHintToJSON( - getProjectEnvResponseBodyContentHint: GetProjectEnvResponseBodyContentHint, -): string { - return JSON.stringify( - GetProjectEnvResponseBodyContentHint$outboundSchema.parse( - getProjectEnvResponseBodyContentHint, - ), - ); -} - -export function getProjectEnvResponseBodyContentHintFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetProjectEnvResponseBodyContentHint$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvResponseBodyContentHint' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType - > = z.nativeEnum( - GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType, - ); - -/** @internal */ -export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType - > = - GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const GetProjectEnvResponseBodyInternalContentHint$inboundSchema: - z.ZodType< - GetProjectEnvResponseBodyInternalContentHint, - z.ZodTypeDef, - unknown - > = z.object({ - type: - GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema, - encryptedValue: z.string(), - }); - -/** @internal */ -export type GetProjectEnvResponseBodyInternalContentHint$Outbound = { - type: string; - encryptedValue: string; -}; - -/** @internal */ -export const GetProjectEnvResponseBodyInternalContentHint$outboundSchema: - z.ZodType< - GetProjectEnvResponseBodyInternalContentHint$Outbound, - z.ZodTypeDef, - GetProjectEnvResponseBodyInternalContentHint - > = z.object({ - type: - GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema, - encryptedValue: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBodyInternalContentHint$ { - /** @deprecated use `GetProjectEnvResponseBodyInternalContentHint$inboundSchema` instead. */ - export const inboundSchema = - GetProjectEnvResponseBodyInternalContentHint$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyInternalContentHint$outboundSchema` instead. */ - export const outboundSchema = - GetProjectEnvResponseBodyInternalContentHint$outboundSchema; - /** @deprecated use `GetProjectEnvResponseBodyInternalContentHint$Outbound` instead. */ - export type Outbound = GetProjectEnvResponseBodyInternalContentHint$Outbound; -} - -export function getProjectEnvResponseBodyInternalContentHintToJSON( - getProjectEnvResponseBodyInternalContentHint: - GetProjectEnvResponseBodyInternalContentHint, -): string { - return JSON.stringify( - GetProjectEnvResponseBodyInternalContentHint$outboundSchema.parse( - getProjectEnvResponseBodyInternalContentHint, - ), - ); -} - -export function getProjectEnvResponseBodyInternalContentHintFromJSON( - jsonString: string, -): SafeParseResult< - GetProjectEnvResponseBodyInternalContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectEnvResponseBodyInternalContentHint$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectEnvResponseBodyInternalContentHint' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvResponseBody1$inboundSchema: z.ZodType< - GetProjectEnvResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({ - decrypted: z.boolean(), - target: z.union([ - z.array(GetProjectEnvTarget1$inboundSchema), - GetProjectEnvTarget2$inboundSchema, - ]).optional(), - type: GetProjectEnvResponseBodyType$inboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => GetProjectEnvContentHint1$inboundSchema), - z.lazy(() => GetProjectEnvContentHint2$inboundSchema), - z.lazy(() => GetProjectEnvContentHint3$inboundSchema), - z.lazy(() => GetProjectEnvContentHint4$inboundSchema), - z.lazy(() => GetProjectEnvContentHint5$inboundSchema), - z.lazy(() => GetProjectEnvContentHint6$inboundSchema), - z.lazy(() => GetProjectEnvContentHint7$inboundSchema), - z.lazy(() => GetProjectEnvContentHint8$inboundSchema), - z.lazy(() => GetProjectEnvContentHint9$inboundSchema), - z.lazy(() => GetProjectEnvContentHint10$inboundSchema), - z.lazy(() => GetProjectEnvContentHint11$inboundSchema), - z.lazy(() => GetProjectEnvContentHint12$inboundSchema), - z.lazy(() => GetProjectEnvContentHint13$inboundSchema), - z.lazy(() => GetProjectEnvContentHint15$inboundSchema), - z.lazy(() => GetProjectEnvContentHint14$inboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => GetProjectEnvResponseBodyInternalContentHint$inboundSchema), - ).optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), -}); - -/** @internal */ -export type GetProjectEnvResponseBody1$Outbound = { - decrypted: boolean; - target?: Array | string | undefined; - type: string; - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | GetProjectEnvContentHint1$Outbound - | GetProjectEnvContentHint2$Outbound - | GetProjectEnvContentHint3$Outbound - | GetProjectEnvContentHint4$Outbound - | GetProjectEnvContentHint5$Outbound - | GetProjectEnvContentHint6$Outbound - | GetProjectEnvContentHint7$Outbound - | GetProjectEnvContentHint8$Outbound - | GetProjectEnvContentHint9$Outbound - | GetProjectEnvContentHint10$Outbound - | GetProjectEnvContentHint11$Outbound - | GetProjectEnvContentHint12$Outbound - | GetProjectEnvContentHint13$Outbound - | GetProjectEnvContentHint15$Outbound - | GetProjectEnvContentHint14$Outbound - | null - | undefined; - internalContentHint?: - | GetProjectEnvResponseBodyInternalContentHint$Outbound - | null - | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -/** @internal */ -export const GetProjectEnvResponseBody1$outboundSchema: z.ZodType< - GetProjectEnvResponseBody1$Outbound, - z.ZodTypeDef, - GetProjectEnvResponseBody1 -> = z.object({ - decrypted: z.boolean(), - target: z.union([ - z.array(GetProjectEnvTarget1$outboundSchema), - GetProjectEnvTarget2$outboundSchema, - ]).optional(), - type: GetProjectEnvResponseBodyType$outboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => GetProjectEnvContentHint1$outboundSchema), - z.lazy(() => GetProjectEnvContentHint2$outboundSchema), - z.lazy(() => GetProjectEnvContentHint3$outboundSchema), - z.lazy(() => GetProjectEnvContentHint4$outboundSchema), - z.lazy(() => GetProjectEnvContentHint5$outboundSchema), - z.lazy(() => GetProjectEnvContentHint6$outboundSchema), - z.lazy(() => GetProjectEnvContentHint7$outboundSchema), - z.lazy(() => GetProjectEnvContentHint8$outboundSchema), - z.lazy(() => GetProjectEnvContentHint9$outboundSchema), - z.lazy(() => GetProjectEnvContentHint10$outboundSchema), - z.lazy(() => GetProjectEnvContentHint11$outboundSchema), - z.lazy(() => GetProjectEnvContentHint12$outboundSchema), - z.lazy(() => GetProjectEnvContentHint13$outboundSchema), - z.lazy(() => GetProjectEnvContentHint15$outboundSchema), - z.lazy(() => GetProjectEnvContentHint14$outboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => GetProjectEnvResponseBodyInternalContentHint$outboundSchema), - ).optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBody1$ { - /** @deprecated use `GetProjectEnvResponseBody1$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvResponseBody1$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBody1$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvResponseBody1$outboundSchema; - /** @deprecated use `GetProjectEnvResponseBody1$Outbound` instead. */ - export type Outbound = GetProjectEnvResponseBody1$Outbound; -} - -export function getProjectEnvResponseBody1ToJSON( - getProjectEnvResponseBody1: GetProjectEnvResponseBody1, -): string { - return JSON.stringify( - GetProjectEnvResponseBody1$outboundSchema.parse(getProjectEnvResponseBody1), - ); -} - -export function getProjectEnvResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const GetProjectEnvResponseBody$inboundSchema: z.ZodType< - GetProjectEnvResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetProjectEnvResponseBody1$inboundSchema), - z.lazy(() => GetProjectEnvResponseBody3$inboundSchema), - z.lazy(() => GetProjectEnvResponseBody2$inboundSchema), -]); - -/** @internal */ -export type GetProjectEnvResponseBody$Outbound = - | GetProjectEnvResponseBody1$Outbound - | GetProjectEnvResponseBody3$Outbound - | GetProjectEnvResponseBody2$Outbound; - -/** @internal */ -export const GetProjectEnvResponseBody$outboundSchema: z.ZodType< - GetProjectEnvResponseBody$Outbound, - z.ZodTypeDef, - GetProjectEnvResponseBody -> = z.union([ - z.lazy(() => GetProjectEnvResponseBody1$outboundSchema), - z.lazy(() => GetProjectEnvResponseBody3$outboundSchema), - z.lazy(() => GetProjectEnvResponseBody2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectEnvResponseBody$ { - /** @deprecated use `GetProjectEnvResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetProjectEnvResponseBody$inboundSchema; - /** @deprecated use `GetProjectEnvResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetProjectEnvResponseBody$outboundSchema; - /** @deprecated use `GetProjectEnvResponseBody$Outbound` instead. */ - export type Outbound = GetProjectEnvResponseBody$Outbound; -} - -export function getProjectEnvResponseBodyToJSON( - getProjectEnvResponseBody: GetProjectEnvResponseBody, -): string { - return JSON.stringify( - GetProjectEnvResponseBody$outboundSchema.parse(getProjectEnvResponseBody), - ); -} - -export function getProjectEnvResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectEnvResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectEnvResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getprojectmembers.ts b/src/models/operations/getprojectmembers.ts deleted file mode 100644 index 6db531e0..00000000 --- a/src/models/operations/getprojectmembers.ts +++ /dev/null @@ -1,615 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetProjectMembersRequest = { - /** - * The ID or name of the Project. - */ - idOrName: string; - /** - * Limit how many project members should be returned - */ - limit?: number | undefined; - /** - * Timestamp in milliseconds to only include members added since then. - */ - since?: number | undefined; - /** - * Timestamp in milliseconds to only include members added until then. - */ - until?: number | undefined; - /** - * Search project members by their name, username, and email. - */ - search?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * Role of this user in the project. - */ -export const GetProjectMembersResponseBodyRole = { - Admin: "ADMIN", - ProjectDeveloper: "PROJECT_DEVELOPER", - ProjectViewer: "PROJECT_VIEWER", -} as const; -/** - * Role of this user in the project. - */ -export type GetProjectMembersResponseBodyRole = ClosedEnum< - typeof GetProjectMembersResponseBodyRole ->; - -/** - * Role of this user in the project. - */ -export const ComputedProjectRole = { - Admin: "ADMIN", - ProjectDeveloper: "PROJECT_DEVELOPER", - ProjectViewer: "PROJECT_VIEWER", -} as const; -/** - * Role of this user in the project. - */ -export type ComputedProjectRole = ClosedEnum; - -/** - * The role of this user in the team. - */ -export const ResponseBodyTeamRole = { - Owner: "OWNER", - Member: "MEMBER", - Developer: "DEVELOPER", - Billing: "BILLING", - Viewer: "VIEWER", - Contributor: "CONTRIBUTOR", -} as const; -/** - * The role of this user in the team. - */ -export type ResponseBodyTeamRole = ClosedEnum; - -export type ResponseBodyMembers = { - /** - * ID of the file for the Avatar of this member. - */ - avatar?: string | undefined; - /** - * The email of this member. - */ - email: string; - /** - * Role of this user in the project. - */ - role: GetProjectMembersResponseBodyRole; - /** - * Role of this user in the project. - */ - computedProjectRole: ComputedProjectRole; - /** - * The ID of this user. - */ - uid: string; - /** - * The unique username of this user. - */ - username: string; - /** - * The name of this user. - */ - name?: string | undefined; - /** - * Timestamp in milliseconds when this member was added. - */ - createdAt: number; - /** - * The role of this user in the team. - */ - teamRole: ResponseBodyTeamRole; -}; - -export type GetProjectMembersResponseBodyPagination = { - hasNext: boolean; - /** - * Amount of items in the current page. - */ - count: number; - /** - * Timestamp that must be used to request the next page. - */ - next: number | null; - /** - * Timestamp that must be used to request the previous page. - */ - prev: number | null; -}; - -/** - * Paginated list of members for the project. - */ -export type GetProjectMembersResponseBody2 = { - members: Array; - pagination: GetProjectMembersResponseBodyPagination; -}; - -export type GetProjectMembersResponseBody1 = {}; - -/** - * Paginated list of members for the project. - */ -export type GetProjectMembersResponseBody = - | GetProjectMembersResponseBody1 - | GetProjectMembersResponseBody2; - -/** @internal */ -export const GetProjectMembersRequest$inboundSchema: z.ZodType< - GetProjectMembersRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - limit: z.number().int().optional(), - since: z.number().int().optional(), - until: z.number().int().optional(), - search: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetProjectMembersRequest$Outbound = { - idOrName: string; - limit?: number | undefined; - since?: number | undefined; - until?: number | undefined; - search?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetProjectMembersRequest$outboundSchema: z.ZodType< - GetProjectMembersRequest$Outbound, - z.ZodTypeDef, - GetProjectMembersRequest -> = z.object({ - idOrName: z.string(), - limit: z.number().int().optional(), - since: z.number().int().optional(), - until: z.number().int().optional(), - search: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectMembersRequest$ { - /** @deprecated use `GetProjectMembersRequest$inboundSchema` instead. */ - export const inboundSchema = GetProjectMembersRequest$inboundSchema; - /** @deprecated use `GetProjectMembersRequest$outboundSchema` instead. */ - export const outboundSchema = GetProjectMembersRequest$outboundSchema; - /** @deprecated use `GetProjectMembersRequest$Outbound` instead. */ - export type Outbound = GetProjectMembersRequest$Outbound; -} - -export function getProjectMembersRequestToJSON( - getProjectMembersRequest: GetProjectMembersRequest, -): string { - return JSON.stringify( - GetProjectMembersRequest$outboundSchema.parse(getProjectMembersRequest), - ); -} - -export function getProjectMembersRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectMembersRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectMembersRequest' from JSON`, - ); -} - -/** @internal */ -export const GetProjectMembersResponseBodyRole$inboundSchema: z.ZodNativeEnum< - typeof GetProjectMembersResponseBodyRole -> = z.nativeEnum(GetProjectMembersResponseBodyRole); - -/** @internal */ -export const GetProjectMembersResponseBodyRole$outboundSchema: z.ZodNativeEnum< - typeof GetProjectMembersResponseBodyRole -> = GetProjectMembersResponseBodyRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectMembersResponseBodyRole$ { - /** @deprecated use `GetProjectMembersResponseBodyRole$inboundSchema` instead. */ - export const inboundSchema = GetProjectMembersResponseBodyRole$inboundSchema; - /** @deprecated use `GetProjectMembersResponseBodyRole$outboundSchema` instead. */ - export const outboundSchema = - GetProjectMembersResponseBodyRole$outboundSchema; -} - -/** @internal */ -export const ComputedProjectRole$inboundSchema: z.ZodNativeEnum< - typeof ComputedProjectRole -> = z.nativeEnum(ComputedProjectRole); - -/** @internal */ -export const ComputedProjectRole$outboundSchema: z.ZodNativeEnum< - typeof ComputedProjectRole -> = ComputedProjectRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ComputedProjectRole$ { - /** @deprecated use `ComputedProjectRole$inboundSchema` instead. */ - export const inboundSchema = ComputedProjectRole$inboundSchema; - /** @deprecated use `ComputedProjectRole$outboundSchema` instead. */ - export const outboundSchema = ComputedProjectRole$outboundSchema; -} - -/** @internal */ -export const ResponseBodyTeamRole$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyTeamRole -> = z.nativeEnum(ResponseBodyTeamRole); - -/** @internal */ -export const ResponseBodyTeamRole$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyTeamRole -> = ResponseBodyTeamRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyTeamRole$ { - /** @deprecated use `ResponseBodyTeamRole$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyTeamRole$inboundSchema; - /** @deprecated use `ResponseBodyTeamRole$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyTeamRole$outboundSchema; -} - -/** @internal */ -export const ResponseBodyMembers$inboundSchema: z.ZodType< - ResponseBodyMembers, - z.ZodTypeDef, - unknown -> = z.object({ - avatar: z.string().optional(), - email: z.string(), - role: GetProjectMembersResponseBodyRole$inboundSchema, - computedProjectRole: ComputedProjectRole$inboundSchema, - uid: z.string(), - username: z.string(), - name: z.string().optional(), - createdAt: z.number(), - teamRole: ResponseBodyTeamRole$inboundSchema, -}); - -/** @internal */ -export type ResponseBodyMembers$Outbound = { - avatar?: string | undefined; - email: string; - role: string; - computedProjectRole: string; - uid: string; - username: string; - name?: string | undefined; - createdAt: number; - teamRole: string; -}; - -/** @internal */ -export const ResponseBodyMembers$outboundSchema: z.ZodType< - ResponseBodyMembers$Outbound, - z.ZodTypeDef, - ResponseBodyMembers -> = z.object({ - avatar: z.string().optional(), - email: z.string(), - role: GetProjectMembersResponseBodyRole$outboundSchema, - computedProjectRole: ComputedProjectRole$outboundSchema, - uid: z.string(), - username: z.string(), - name: z.string().optional(), - createdAt: z.number(), - teamRole: ResponseBodyTeamRole$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyMembers$ { - /** @deprecated use `ResponseBodyMembers$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyMembers$inboundSchema; - /** @deprecated use `ResponseBodyMembers$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyMembers$outboundSchema; - /** @deprecated use `ResponseBodyMembers$Outbound` instead. */ - export type Outbound = ResponseBodyMembers$Outbound; -} - -export function responseBodyMembersToJSON( - responseBodyMembers: ResponseBodyMembers, -): string { - return JSON.stringify( - ResponseBodyMembers$outboundSchema.parse(responseBodyMembers), - ); -} - -export function responseBodyMembersFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyMembers$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyMembers' from JSON`, - ); -} - -/** @internal */ -export const GetProjectMembersResponseBodyPagination$inboundSchema: z.ZodType< - GetProjectMembersResponseBodyPagination, - z.ZodTypeDef, - unknown -> = z.object({ - hasNext: z.boolean(), - count: z.number(), - next: z.nullable(z.number()), - prev: z.nullable(z.number()), -}); - -/** @internal */ -export type GetProjectMembersResponseBodyPagination$Outbound = { - hasNext: boolean; - count: number; - next: number | null; - prev: number | null; -}; - -/** @internal */ -export const GetProjectMembersResponseBodyPagination$outboundSchema: z.ZodType< - GetProjectMembersResponseBodyPagination$Outbound, - z.ZodTypeDef, - GetProjectMembersResponseBodyPagination -> = z.object({ - hasNext: z.boolean(), - count: z.number(), - next: z.nullable(z.number()), - prev: z.nullable(z.number()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectMembersResponseBodyPagination$ { - /** @deprecated use `GetProjectMembersResponseBodyPagination$inboundSchema` instead. */ - export const inboundSchema = - GetProjectMembersResponseBodyPagination$inboundSchema; - /** @deprecated use `GetProjectMembersResponseBodyPagination$outboundSchema` instead. */ - export const outboundSchema = - GetProjectMembersResponseBodyPagination$outboundSchema; - /** @deprecated use `GetProjectMembersResponseBodyPagination$Outbound` instead. */ - export type Outbound = GetProjectMembersResponseBodyPagination$Outbound; -} - -export function getProjectMembersResponseBodyPaginationToJSON( - getProjectMembersResponseBodyPagination: - GetProjectMembersResponseBodyPagination, -): string { - return JSON.stringify( - GetProjectMembersResponseBodyPagination$outboundSchema.parse( - getProjectMembersResponseBodyPagination, - ), - ); -} - -export function getProjectMembersResponseBodyPaginationFromJSON( - jsonString: string, -): SafeParseResult< - GetProjectMembersResponseBodyPagination, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectMembersResponseBodyPagination$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectMembersResponseBodyPagination' from JSON`, - ); -} - -/** @internal */ -export const GetProjectMembersResponseBody2$inboundSchema: z.ZodType< - GetProjectMembersResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - members: z.array(z.lazy(() => ResponseBodyMembers$inboundSchema)), - pagination: z.lazy(() => - GetProjectMembersResponseBodyPagination$inboundSchema - ), -}); - -/** @internal */ -export type GetProjectMembersResponseBody2$Outbound = { - members: Array; - pagination: GetProjectMembersResponseBodyPagination$Outbound; -}; - -/** @internal */ -export const GetProjectMembersResponseBody2$outboundSchema: z.ZodType< - GetProjectMembersResponseBody2$Outbound, - z.ZodTypeDef, - GetProjectMembersResponseBody2 -> = z.object({ - members: z.array(z.lazy(() => ResponseBodyMembers$outboundSchema)), - pagination: z.lazy(() => - GetProjectMembersResponseBodyPagination$outboundSchema - ), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectMembersResponseBody2$ { - /** @deprecated use `GetProjectMembersResponseBody2$inboundSchema` instead. */ - export const inboundSchema = GetProjectMembersResponseBody2$inboundSchema; - /** @deprecated use `GetProjectMembersResponseBody2$outboundSchema` instead. */ - export const outboundSchema = GetProjectMembersResponseBody2$outboundSchema; - /** @deprecated use `GetProjectMembersResponseBody2$Outbound` instead. */ - export type Outbound = GetProjectMembersResponseBody2$Outbound; -} - -export function getProjectMembersResponseBody2ToJSON( - getProjectMembersResponseBody2: GetProjectMembersResponseBody2, -): string { - return JSON.stringify( - GetProjectMembersResponseBody2$outboundSchema.parse( - getProjectMembersResponseBody2, - ), - ); -} - -export function getProjectMembersResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectMembersResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectMembersResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const GetProjectMembersResponseBody1$inboundSchema: z.ZodType< - GetProjectMembersResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type GetProjectMembersResponseBody1$Outbound = {}; - -/** @internal */ -export const GetProjectMembersResponseBody1$outboundSchema: z.ZodType< - GetProjectMembersResponseBody1$Outbound, - z.ZodTypeDef, - GetProjectMembersResponseBody1 -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectMembersResponseBody1$ { - /** @deprecated use `GetProjectMembersResponseBody1$inboundSchema` instead. */ - export const inboundSchema = GetProjectMembersResponseBody1$inboundSchema; - /** @deprecated use `GetProjectMembersResponseBody1$outboundSchema` instead. */ - export const outboundSchema = GetProjectMembersResponseBody1$outboundSchema; - /** @deprecated use `GetProjectMembersResponseBody1$Outbound` instead. */ - export type Outbound = GetProjectMembersResponseBody1$Outbound; -} - -export function getProjectMembersResponseBody1ToJSON( - getProjectMembersResponseBody1: GetProjectMembersResponseBody1, -): string { - return JSON.stringify( - GetProjectMembersResponseBody1$outboundSchema.parse( - getProjectMembersResponseBody1, - ), - ); -} - -export function getProjectMembersResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectMembersResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectMembersResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const GetProjectMembersResponseBody$inboundSchema: z.ZodType< - GetProjectMembersResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetProjectMembersResponseBody1$inboundSchema), - z.lazy(() => GetProjectMembersResponseBody2$inboundSchema), -]); - -/** @internal */ -export type GetProjectMembersResponseBody$Outbound = - | GetProjectMembersResponseBody1$Outbound - | GetProjectMembersResponseBody2$Outbound; - -/** @internal */ -export const GetProjectMembersResponseBody$outboundSchema: z.ZodType< - GetProjectMembersResponseBody$Outbound, - z.ZodTypeDef, - GetProjectMembersResponseBody -> = z.union([ - z.lazy(() => GetProjectMembersResponseBody1$outboundSchema), - z.lazy(() => GetProjectMembersResponseBody2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectMembersResponseBody$ { - /** @deprecated use `GetProjectMembersResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetProjectMembersResponseBody$inboundSchema; - /** @deprecated use `GetProjectMembersResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetProjectMembersResponseBody$outboundSchema; - /** @deprecated use `GetProjectMembersResponseBody$Outbound` instead. */ - export type Outbound = GetProjectMembersResponseBody$Outbound; -} - -export function getProjectMembersResponseBodyToJSON( - getProjectMembersResponseBody: GetProjectMembersResponseBody, -): string { - return JSON.stringify( - GetProjectMembersResponseBody$outboundSchema.parse( - getProjectMembersResponseBody, - ), - ); -} - -export function getProjectMembersResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectMembersResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectMembersResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getprojects.ts b/src/models/operations/getprojects.ts deleted file mode 100644 index c4ea7120..00000000 --- a/src/models/operations/getprojects.ts +++ /dev/null @@ -1,9087 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - ACLAction, - ACLAction$inboundSchema, - ACLAction$outboundSchema, -} from "../components/aclaction.js"; -import { - Pagination, - Pagination$inboundSchema, - Pagination$Outbound, - Pagination$outboundSchema, -} from "../components/pagination.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed - */ -export const GitForkProtection = { - One: "1", - Zero: "0", -} as const; -/** - * Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed - */ -export type GitForkProtection = ClosedEnum; - -export type GetProjectsRequest = { - /** - * Query only projects updated after the given timestamp - */ - from?: string | undefined; - /** - * Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed - */ - gitForkProtection?: GitForkProtection | undefined; - /** - * Limit the number of projects returned - */ - limit?: string | undefined; - /** - * Search projects by the name field - */ - search?: string | undefined; - /** - * Filter results by repo. Also used for project count - */ - repo?: string | undefined; - /** - * Filter results by Repository ID. - */ - repoId?: string | undefined; - /** - * Filter results by Repository URL. - */ - repoUrl?: string | undefined; - /** - * Filter results by excluding those projects that belong to a repo - */ - excludeRepos?: string | undefined; - /** - * Filter results by connected Edge Config ID - */ - edgeConfigId?: string | undefined; - /** - * Filter results by connected Edge Config Token ID - */ - edgeConfigTokenId?: string | undefined; - deprecated?: boolean | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export type GetProjectsAnalytics = { - id: string; - canceledAt?: number | null | undefined; - disabledAt: number; - enabledAt: number; - paidAt?: number | undefined; - sampleRatePercent?: number | null | undefined; - spendLimitInDollars?: number | null | undefined; -}; - -export type GetProjectsSpeedInsights = { - id: string; - enabledAt?: number | undefined; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - hasData?: boolean | undefined; - paidAt?: number | undefined; -}; - -export type GetProjectsDefinitions = { - /** - * The hostname that should be used. - */ - host: string; - /** - * The path that should be called for the cronjob. - */ - path: string; - /** - * The cron expression. - */ - schedule: string; -}; - -export type GetProjectsCrons = { - /** - * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs. - */ - enabledAt: number; - /** - * The time the feature was disabled for this project. - */ - disabledAt: number | null; - updatedAt: number; - /** - * The ID of the Deployment from which the definitions originated. - */ - deploymentId: string | null; - definitions: Array; -}; - -export type GetProjectsDataCache = { - userDisabled: boolean; - storageSizeBytes?: number | null | undefined; - unlimited?: boolean | undefined; -}; - -export type GetProjectsDeploymentExpiration = { - expirationDays?: number | undefined; - expirationDaysProduction?: number | undefined; - expirationDaysCanceled?: number | undefined; - expirationDaysErrored?: number | undefined; - deploymentsToKeep?: number | undefined; -}; - -export const GetProjectsTarget2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type GetProjectsTarget2 = ClosedEnum; - -export const GetProjectsTarget1 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type GetProjectsTarget1 = ClosedEnum; - -export type GetProjectsTarget = Array | GetProjectsTarget2; - -export const GetProjectsType = { - System: "system", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", - Secret: "secret", -} as const; -export type GetProjectsType = ClosedEnum; - -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type = - { - FlagsConnectionString: "flags-connection-string", - } as const; -export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type = - ClosedEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type - >; - -export type GetProjectsContentHint15 = { - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type; - projectId: string; -}; - -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type = - { - IntegrationStoreSecret: "integration-store-secret", - } as const; -export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type = - ClosedEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type - >; - -export type GetProjectsContentHint14 = { - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type = - { - PostgresUrlNoSsl: "postgres-url-no-ssl", - } as const; -export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type = - ClosedEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type - >; - -export type GetProjectsContentHint13 = { - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type; - storeId: string; -}; - -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type = - { - PostgresDatabase: "postgres-database", - } as const; -export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type = - ClosedEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type - >; - -export type GetProjectsContentHint12 = { - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type; - storeId: string; -}; - -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type = - { - PostgresPassword: "postgres-password", - } as const; -export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type = - ClosedEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type - >; - -export type GetProjectsContentHint11 = { - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type; - storeId: string; -}; - -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type = - { - PostgresHost: "postgres-host", - } as const; -export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type = - ClosedEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type - >; - -export type GetProjectsContentHint10 = { - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type; - storeId: string; -}; - -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type = - { - PostgresUser: "postgres-user", - } as const; -export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type = - ClosedEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type - >; - -export type GetProjectsContentHint9 = { - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type; - storeId: string; -}; - -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType = - { - PostgresPrismaUrl: "postgres-prisma-url", - } as const; -export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType = - ClosedEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType - >; - -export type GetProjectsContentHint8 = { - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType; - storeId: string; -}; - -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType = - { - PostgresUrlNonPooling: "postgres-url-non-pooling", - } as const; -export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType = - ClosedEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType - >; - -export type GetProjectsContentHint7 = { - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType; - storeId: string; -}; - -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType = - { - PostgresUrl: "postgres-url", - } as const; -export type GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType = - ClosedEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType - >; - -export type GetProjectsContentHint6 = { - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType; - storeId: string; -}; - -export const GetProjectsContentHintProjectsResponse200ApplicationJSONType = { - BlobReadWriteToken: "blob-read-write-token", -} as const; -export type GetProjectsContentHintProjectsResponse200ApplicationJSONType = - ClosedEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONType - >; - -export type GetProjectsContentHint5 = { - type: GetProjectsContentHintProjectsResponse200ApplicationJSONType; - storeId: string; -}; - -export const GetProjectsContentHintProjectsResponse200Type = { - RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", -} as const; -export type GetProjectsContentHintProjectsResponse200Type = ClosedEnum< - typeof GetProjectsContentHintProjectsResponse200Type ->; - -export type GetProjectsContentHint4 = { - type: GetProjectsContentHintProjectsResponse200Type; - storeId: string; -}; - -export const GetProjectsContentHintProjectsResponseType = { - RedisRestApiToken: "redis-rest-api-token", -} as const; -export type GetProjectsContentHintProjectsResponseType = ClosedEnum< - typeof GetProjectsContentHintProjectsResponseType ->; - -export type GetProjectsContentHint3 = { - type: GetProjectsContentHintProjectsResponseType; - storeId: string; -}; - -export const GetProjectsContentHintProjectsType = { - RedisRestApiUrl: "redis-rest-api-url", -} as const; -export type GetProjectsContentHintProjectsType = ClosedEnum< - typeof GetProjectsContentHintProjectsType ->; - -export type GetProjectsContentHint2 = { - type: GetProjectsContentHintProjectsType; - storeId: string; -}; - -export const GetProjectsContentHintType = { - RedisUrl: "redis-url", -} as const; -export type GetProjectsContentHintType = ClosedEnum< - typeof GetProjectsContentHintType ->; - -export type GetProjectsContentHint1 = { - type: GetProjectsContentHintType; - storeId: string; -}; - -export type GetProjectsContentHint = - | GetProjectsContentHint1 - | GetProjectsContentHint2 - | GetProjectsContentHint3 - | GetProjectsContentHint4 - | GetProjectsContentHint5 - | GetProjectsContentHint6 - | GetProjectsContentHint7 - | GetProjectsContentHint8 - | GetProjectsContentHint9 - | GetProjectsContentHint10 - | GetProjectsContentHint11 - | GetProjectsContentHint12 - | GetProjectsContentHint13 - | GetProjectsContentHint15 - | GetProjectsContentHint14; - -export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType = - { - FlagsSecret: "flags-secret", - } as const; -export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType = - ClosedEnum< - typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType - >; - -/** - * Similar to `contentHints`, but should not be exposed to the user. - */ -export type GetProjectsInternalContentHint = { - type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType; - /** - * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. - */ - encryptedValue: string; -}; - -export type GetProjectsEnv = { - target?: Array | GetProjectsTarget2 | undefined; - type: GetProjectsType; - /** - * This is used to identiy variables that have been migrated from type secret to sensitive. - */ - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | GetProjectsContentHint1 - | GetProjectsContentHint2 - | GetProjectsContentHint3 - | GetProjectsContentHint4 - | GetProjectsContentHint5 - | GetProjectsContentHint6 - | GetProjectsContentHint7 - | GetProjectsContentHint8 - | GetProjectsContentHint9 - | GetProjectsContentHint10 - | GetProjectsContentHint11 - | GetProjectsContentHint12 - | GetProjectsContentHint13 - | GetProjectsContentHint15 - | GetProjectsContentHint14 - | null - | undefined; - /** - * Similar to `contentHints`, but should not be exposed to the user. - */ - internalContentHint?: GetProjectsInternalContentHint | null | undefined; - /** - * Whether `value` and `vsmValue` are decrypted. - */ - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -export type GetProjectsCustomEnvironments = {}; - -export const GetProjectsFramework = { - Blitzjs: "blitzjs", - Nextjs: "nextjs", - Gatsby: "gatsby", - Remix: "remix", - Astro: "astro", - Hexo: "hexo", - Eleventy: "eleventy", - Docusaurus2: "docusaurus-2", - Docusaurus: "docusaurus", - Preact: "preact", - Solidstart1: "solidstart-1", - Solidstart: "solidstart", - Dojo: "dojo", - Ember: "ember", - Vue: "vue", - Scully: "scully", - IonicAngular: "ionic-angular", - Angular: "angular", - Polymer: "polymer", - Svelte: "svelte", - Sveltekit: "sveltekit", - Sveltekit1: "sveltekit-1", - IonicReact: "ionic-react", - CreateReactApp: "create-react-app", - Gridsome: "gridsome", - Umijs: "umijs", - Sapper: "sapper", - Saber: "saber", - Stencil: "stencil", - Nuxtjs: "nuxtjs", - Redwoodjs: "redwoodjs", - Hugo: "hugo", - Jekyll: "jekyll", - Brunch: "brunch", - Middleman: "middleman", - Zola: "zola", - Hydrogen: "hydrogen", - Vite: "vite", - Vitepress: "vitepress", - Vuepress: "vuepress", - Parcel: "parcel", - Fasthtml: "fasthtml", - SanityV3: "sanity-v3", - Sanity: "sanity", - Storybook: "storybook", -} as const; -export type GetProjectsFramework = ClosedEnum; - -export type GetProjectsIpBuckets = { - bucket: string; - supportUntil?: number | undefined; -}; - -export type GetProjectsAliasAssigned = number | boolean; - -export type GetProjectsAliasError = { - code: string; - message: string; -}; - -export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType = { - EndsWith: "endsWith", - StartsWith: "startsWith", - Equals: "equals", -} as const; -export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyType = - ClosedEnum< - typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType - >; - -export type GetProjectsBranchMatcher = { - type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyType; - pattern: string; -}; - -export type GetProjectsBuilds = { - use: string; - src?: string | undefined; - dest?: string | undefined; -}; - -export const GetProjectsChecksConclusion = { - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", - Canceled: "canceled", -} as const; -export type GetProjectsChecksConclusion = ClosedEnum< - typeof GetProjectsChecksConclusion ->; - -export const GetProjectsChecksState = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type GetProjectsChecksState = ClosedEnum; - -export type GetProjectsCreator = { - email: string; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; - uid: string; - username: string; -}; - -export type GetProjectsOidcTokenClaims = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - ownerId: string; - project: string; - projectId: string; - environment: string; -}; - -export const GetProjectsPlan = { - Pro: "pro", - Enterprise: "enterprise", - Hobby: "hobby", -} as const; -export type GetProjectsPlan = ClosedEnum; - -export const GetProjectsReadyState = { - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Queued: "QUEUED", - Ready: "READY", - Canceled: "CANCELED", -} as const; -export type GetProjectsReadyState = ClosedEnum; - -export const GetProjectsReadySubstate = { - Staged: "STAGED", - Promoted: "PROMOTED", -} as const; -export type GetProjectsReadySubstate = ClosedEnum< - typeof GetProjectsReadySubstate ->; - -export const GetProjectsProjectsType = { - Lambdas: "LAMBDAS", -} as const; -export type GetProjectsProjectsType = ClosedEnum< - typeof GetProjectsProjectsType ->; - -export type GetProjectsLatestDeployments = { - id: string; - alias?: Array | undefined; - aliasAssigned?: number | boolean | null | undefined; - aliasError?: GetProjectsAliasError | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - branchMatcher?: GetProjectsBranchMatcher | undefined; - buildingAt?: number | undefined; - builds?: Array | undefined; - checksConclusion?: GetProjectsChecksConclusion | undefined; - checksState?: GetProjectsChecksState | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdAt: number; - createdIn: string; - creator: GetProjectsCreator | null; - deletedAt?: number | undefined; - deploymentHostname: string; - forced?: boolean | undefined; - name: string; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - oidcTokenClaims?: GetProjectsOidcTokenClaims | undefined; - plan: GetProjectsPlan; - /** - * Whether or not preview comments are enabled for the deployment - */ - previewCommentsEnabled?: boolean | undefined; - private: boolean; - readyAt?: number | undefined; - readyState: GetProjectsReadyState; - readySubstate?: GetProjectsReadySubstate | undefined; - requestedAt?: number | undefined; - target?: string | null | undefined; - teamId?: string | null | undefined; - type: GetProjectsProjectsType; - url: string; - userId: string; - withCache?: boolean | undefined; -}; - -export const GetProjectsLinkProjectsResponseType = { - Bitbucket: "bitbucket", -} as const; -export type GetProjectsLinkProjectsResponseType = ClosedEnum< - typeof GetProjectsLinkProjectsResponseType ->; - -export type GetProjectsLinkProjectsResponseDeployHooks = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -export type GetProjectsLink3 = { - name?: string | undefined; - slug?: string | undefined; - owner?: string | undefined; - type?: GetProjectsLinkProjectsResponseType | undefined; - uuid?: string | undefined; - workspaceUuid?: string | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -export const GetProjectsLinkProjectsType = { - Gitlab: "gitlab", -} as const; -export type GetProjectsLinkProjectsType = ClosedEnum< - typeof GetProjectsLinkProjectsType ->; - -export type GetProjectsLinkProjectsDeployHooks = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -export type GetProjectsLink2 = { - projectId?: string | undefined; - projectName?: string | undefined; - projectNameWithNamespace?: string | undefined; - projectNamespace?: string | undefined; - /** - * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. This is the id of the top level group that a namespace belongs to. Gitlab supports group nesting (up to 20 levels). - */ - projectOwnerId?: number | undefined; - projectUrl?: string | undefined; - type?: GetProjectsLinkProjectsType | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -export const GetProjectsLinkType = { - Github: "github", -} as const; -export type GetProjectsLinkType = ClosedEnum; - -export type GetProjectsLinkDeployHooks = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -export type GetProjectsLink1 = { - org?: string | undefined; - /** - * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. - */ - repoOwnerId?: number | undefined; - repo?: string | undefined; - repoId?: number | undefined; - type?: GetProjectsLinkType | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -export type GetProjectsLink = - | GetProjectsLink1 - | GetProjectsLink3 - | GetProjectsLink2; - -export type GetProjectsMicrofrontends = { - /** - * Timestamp when the microfrontends settings were last updated. - */ - updatedAt: number; - /** - * The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. - */ - groupIds: Array; - /** - * Whether microfrontends are enabled for this project. - */ - enabled: boolean; - /** - * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. - */ - isDefaultApp?: boolean | undefined; - /** - * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. - */ - defaultRoute?: string | undefined; -}; - -export const GetProjectsNodeVersion = { - TwentyTwoX: "22.x", - TwentyX: "20.x", - EighteenX: "18.x", - SixteenX: "16.x", - FourteenX: "14.x", - TwelveX: "12.x", - TenX: "10.x", - Eight10X: "8.10.x", -} as const; -export type GetProjectsNodeVersion = ClosedEnum; - -export type GetProjectsPaths = { - value: string; -}; - -export type GetProjectsOptionsAllowlist = { - paths: Array; -}; - -export type GetProjectsPasswordProtection = {}; - -export const GetProjectsFunctionDefaultMemoryType = { - StandardLegacy: "standard_legacy", - Standard: "standard", - Performance: "performance", -} as const; -export type GetProjectsFunctionDefaultMemoryType = ClosedEnum< - typeof GetProjectsFunctionDefaultMemoryType ->; - -export type GetProjectsResourceConfig = { - functionDefaultTimeout?: number | undefined; - functionDefaultMemoryType?: GetProjectsFunctionDefaultMemoryType | undefined; - allowServerlessConcurrency?: boolean | undefined; - elasticConcurrencyEnabled?: boolean | undefined; -}; - -export const GetProjectsDeploymentType = { - Preview: "preview", - All: "all", - ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", -} as const; -export type GetProjectsDeploymentType = ClosedEnum< - typeof GetProjectsDeploymentType ->; - -export type GetProjectsSsoProtection = { - deploymentType: GetProjectsDeploymentType; -}; - -export type GetProjectsProjectsAliasAssigned = number | boolean; - -export type GetProjectsProjectsAliasError = { - code: string; - message: string; -}; - -export const GetProjectsProjectsResponse200ApplicationJSONType = { - EndsWith: "endsWith", - StartsWith: "startsWith", - Equals: "equals", -} as const; -export type GetProjectsProjectsResponse200ApplicationJSONType = ClosedEnum< - typeof GetProjectsProjectsResponse200ApplicationJSONType ->; - -export type GetProjectsProjectsBranchMatcher = { - type: GetProjectsProjectsResponse200ApplicationJSONType; - pattern: string; -}; - -export type GetProjectsProjectsBuilds = { - use: string; - src?: string | undefined; - dest?: string | undefined; -}; - -export const GetProjectsProjectsChecksConclusion = { - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", - Canceled: "canceled", -} as const; -export type GetProjectsProjectsChecksConclusion = ClosedEnum< - typeof GetProjectsProjectsChecksConclusion ->; - -export const GetProjectsProjectsChecksState = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type GetProjectsProjectsChecksState = ClosedEnum< - typeof GetProjectsProjectsChecksState ->; - -export type GetProjectsProjectsCreator = { - email: string; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; - uid: string; - username: string; -}; - -export type GetProjectsProjectsOidcTokenClaims = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - ownerId: string; - project: string; - projectId: string; - environment: string; -}; - -export const GetProjectsProjectsPlan = { - Pro: "pro", - Enterprise: "enterprise", - Hobby: "hobby", -} as const; -export type GetProjectsProjectsPlan = ClosedEnum< - typeof GetProjectsProjectsPlan ->; - -export const GetProjectsProjectsReadyState = { - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Queued: "QUEUED", - Ready: "READY", - Canceled: "CANCELED", -} as const; -export type GetProjectsProjectsReadyState = ClosedEnum< - typeof GetProjectsProjectsReadyState ->; - -export const GetProjectsProjectsReadySubstate = { - Staged: "STAGED", - Promoted: "PROMOTED", -} as const; -export type GetProjectsProjectsReadySubstate = ClosedEnum< - typeof GetProjectsProjectsReadySubstate ->; - -export const GetProjectsProjectsResponseType = { - Lambdas: "LAMBDAS", -} as const; -export type GetProjectsProjectsResponseType = ClosedEnum< - typeof GetProjectsProjectsResponseType ->; - -export type GetProjectsTargets = { - id: string; - alias?: Array | undefined; - aliasAssigned?: number | boolean | null | undefined; - aliasError?: GetProjectsProjectsAliasError | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - branchMatcher?: GetProjectsProjectsBranchMatcher | undefined; - buildingAt?: number | undefined; - builds?: Array | undefined; - checksConclusion?: GetProjectsProjectsChecksConclusion | undefined; - checksState?: GetProjectsProjectsChecksState | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdAt: number; - createdIn: string; - creator: GetProjectsProjectsCreator | null; - deletedAt?: number | undefined; - deploymentHostname: string; - forced?: boolean | undefined; - name: string; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - oidcTokenClaims?: GetProjectsProjectsOidcTokenClaims | undefined; - plan: GetProjectsProjectsPlan; - /** - * Whether or not preview comments are enabled for the deployment - */ - previewCommentsEnabled?: boolean | undefined; - private: boolean; - readyAt?: number | undefined; - readyState: GetProjectsProjectsReadyState; - readySubstate?: GetProjectsProjectsReadySubstate | undefined; - requestedAt?: number | undefined; - target?: string | null | undefined; - teamId?: string | null | undefined; - type: GetProjectsProjectsResponseType; - url: string; - userId: string; - withCache?: boolean | undefined; -}; - -export type GetProjectsPermissions = { - accessGroup?: Array | undefined; - aliasGlobal?: Array | undefined; - analyticsSampling?: Array | undefined; - analyticsUsage?: Array | undefined; - auditLog?: Array | undefined; - billingAddress?: Array | undefined; - billingInformation?: Array | undefined; - billingInvoice?: Array | undefined; - billingInvoiceEmailRecipient?: Array | undefined; - billingInvoiceLanguage?: Array | undefined; - billingPlan?: Array | undefined; - billingPurchaseOrder?: Array | undefined; - billingTaxId?: Array | undefined; - blob?: Array | undefined; - budget?: Array | undefined; - cacheArtifact?: Array | undefined; - cacheArtifactUsageEvent?: Array | undefined; - codeChecks?: Array | undefined; - concurrentBuilds?: Array | undefined; - connect?: Array | undefined; - connectConfiguration?: Array | undefined; - domain?: Array | undefined; - domainAcceptDelegation?: Array | undefined; - domainAuthCodes?: Array | undefined; - domainCertificate?: Array | undefined; - domainCheckConfig?: Array | undefined; - domainMove?: Array | undefined; - domainPurchase?: Array | undefined; - domainRecord?: Array | undefined; - domainTransferIn?: Array | undefined; - event?: Array | undefined; - ownEvent?: Array | undefined; - sensitiveEnvironmentVariablePolicy?: Array | undefined; - fileUpload?: Array | undefined; - gitRepository?: Array | undefined; - ipBlocking?: Array | undefined; - integration?: Array | undefined; - integrationAccount?: Array | undefined; - integrationConfiguration?: Array | undefined; - integrationConfigurationTransfer?: Array | undefined; - integrationConfigurationProjects?: Array | undefined; - integrationVercelConfigurationOverride?: Array | undefined; - integrationConfigurationRole?: Array | undefined; - integrationResource?: Array | undefined; - integrationEvent?: Array | undefined; - integrationResourceSecrets?: Array | undefined; - integrationDeploymentAction?: Array | undefined; - marketplaceInstallationMember?: Array | undefined; - marketplaceBillingData?: Array | undefined; - marketplaceInvoice?: Array | undefined; - jobGlobal?: Array | undefined; - logDrain?: Array | undefined; - monitoring?: Array | undefined; - monitoringSettings?: Array | undefined; - monitoringQuery?: Array | undefined; - monitoringChart?: Array | undefined; - monitoringAlert?: Array | undefined; - notificationDeploymentFailed?: Array | undefined; - notificationDomainConfiguration?: Array | undefined; - notificationDomainExpire?: Array | undefined; - notificationDomainMoved?: Array | undefined; - notificationDomainPurchase?: Array | undefined; - notificationDomainRenewal?: Array | undefined; - notificationDomainTransfer?: Array | undefined; - notificationDomainUnverified?: Array | undefined; - notificationMonitoringAlert?: Array | undefined; - notificationPaymentFailed?: Array | undefined; - notificationUsageAlert?: Array | undefined; - notificationCustomerBudget?: Array | undefined; - notificationStatementOfReasons?: Array | undefined; - oauth2Connection?: Array | undefined; - observabilityConfiguration?: Array | undefined; - openTelemetryEndpoint?: Array | undefined; - paymentMethod?: Array | undefined; - permissions?: Array | undefined; - postgres?: Array | undefined; - previewDeploymentSuffix?: Array | undefined; - proTrialOnboarding?: Array | undefined; - sharedEnvVars?: Array | undefined; - sharedEnvVarsProduction?: Array | undefined; - space?: Array | undefined; - spaceRun?: Array | undefined; - passwordProtectionInvoiceItem?: Array | undefined; - rateLimit?: Array | undefined; - redis?: Array | undefined; - repository?: Array | undefined; - remoteCaching?: Array | undefined; - samlConfig?: Array | undefined; - secret?: Array | undefined; - redisStoreTokenSet?: Array | undefined; - blobStoreTokenSet?: Array | undefined; - postgresStoreTokenSet?: Array | undefined; - integrationStoreTokenSet?: Array | undefined; - integrationResourceReplCommand?: Array | undefined; - storeTransfer?: Array | undefined; - supportCase?: Array | undefined; - supportCaseComment?: Array | undefined; - dataCacheBillingSettings?: Array | undefined; - team?: Array | undefined; - teamAccessRequest?: Array | undefined; - teamFellowMembership?: Array | undefined; - teamGitExclusivity?: Array | undefined; - teamInvite?: Array | undefined; - teamInviteCode?: Array | undefined; - teamJoin?: Array | undefined; - teamMicrofrontends?: Array | undefined; - teamOwnMembership?: Array | undefined; - teamOwnMembershipDisconnectSAML?: Array | undefined; - token?: Array | undefined; - usage?: Array | undefined; - usageCycle?: Array | undefined; - user?: Array | undefined; - userConnection?: Array | undefined; - vpcPeeringConnection?: Array | undefined; - webAnalyticsPlan?: Array | undefined; - webAuthn?: Array | undefined; - edgeConfig?: Array | undefined; - edgeConfigItem?: Array | undefined; - edgeConfigSchema?: Array | undefined; - edgeConfigToken?: Array | undefined; - webhook?: Array | undefined; - webhookEvent?: Array | undefined; - endpointVerification?: Array | undefined; - projectTransferIn?: Array | undefined; - oauth2Application?: Array | undefined; - aliasProject?: Array | undefined; - aliasProtectionBypass?: Array | undefined; - productionAliasProtectionBypass?: Array | undefined; - connectConfigurationLink?: Array | undefined; - dataCacheNamespace?: Array | undefined; - deployment?: Array | undefined; - deploymentCheck?: Array | undefined; - deploymentCheckPreview?: Array | undefined; - deploymentCheckReRunFromProductionBranch?: Array | undefined; - deploymentProductionGit?: Array | undefined; - deploymentV0?: Array | undefined; - deploymentPreview?: Array | undefined; - deploymentPrivate?: Array | undefined; - deploymentPromote?: Array | undefined; - deploymentRollback?: Array | undefined; - environments?: Array | undefined; - logs?: Array | undefined; - logsPreset?: Array | undefined; - passwordProtection?: Array | undefined; - optionsAllowlist?: Array | undefined; - job?: Array | undefined; - observabilityData?: Array | undefined; - project?: Array | undefined; - projectFromV0?: Array | undefined; - projectAccessGroup?: Array | undefined; - projectAnalyticsSampling?: Array | undefined; - projectDeploymentHook?: Array | undefined; - projectDomain?: Array | undefined; - projectDomainMove?: Array | undefined; - projectDomainCheckConfig?: Array | undefined; - projectEnvVars?: Array | undefined; - projectEnvVarsProduction?: Array | undefined; - projectEnvVarsUnownedByIntegration?: Array | undefined; - projectFlags?: Array | undefined; - projectId?: Array | undefined; - projectIntegrationConfiguration?: Array | undefined; - projectLink?: Array | undefined; - projectMember?: Array | undefined; - projectMonitoring?: Array | undefined; - projectPermissions?: Array | undefined; - projectProductionBranch?: Array | undefined; - projectTransfer?: Array | undefined; - projectTransferOut?: Array | undefined; - projectProtectionBypass?: Array | undefined; - projectUsage?: Array | undefined; - projectAnalyticsUsage?: Array | undefined; - projectSupportCase?: Array | undefined; - projectSupportCaseComment?: Array | undefined; - projectDeploymentExpiration?: Array | undefined; - projectTier?: Array | undefined; - seawallConfig?: Array | undefined; - skewProtection?: Array | undefined; - analytics?: Array | undefined; - trustedIps?: Array | undefined; - webAnalytics?: Array | undefined; - sharedEnvVarConnection?: Array | undefined; - sonar?: Array | undefined; -}; - -export type GetProjectsLastRollbackTarget = {}; - -export const GetProjectsJobStatus = { - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", - Pending: "pending", - InProgress: "in-progress", -} as const; -export type GetProjectsJobStatus = ClosedEnum; - -export const GetProjectsProjectsResponse200Type = { - Promote: "promote", - Rollback: "rollback", -} as const; -export type GetProjectsProjectsResponse200Type = ClosedEnum< - typeof GetProjectsProjectsResponse200Type ->; - -export type GetProjectsLastAliasRequest = { - fromDeploymentId: string; - toDeploymentId: string; - jobStatus: GetProjectsJobStatus; - requestedAt: number; - type: GetProjectsProjectsResponse200Type; -}; - -export const GetProjectsScope = { - AutomationBypass: "automation-bypass", -} as const; -export type GetProjectsScope = ClosedEnum; - -export type GetProjectsProtectionBypass = { - createdAt: number; - createdBy: string; - scope: GetProjectsScope; -}; - -export const GetProjectsTrustedIpsProjectsDeploymentType = { - Production: "production", - Preview: "preview", - All: "all", - ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", -} as const; -export type GetProjectsTrustedIpsProjectsDeploymentType = ClosedEnum< - typeof GetProjectsTrustedIpsProjectsDeploymentType ->; - -export type GetProjectsTrustedIps2 = { - deploymentType: GetProjectsTrustedIpsProjectsDeploymentType; -}; - -export const GetProjectsTrustedIpsDeploymentType = { - Production: "production", - Preview: "preview", - All: "all", - ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", -} as const; -export type GetProjectsTrustedIpsDeploymentType = ClosedEnum< - typeof GetProjectsTrustedIpsDeploymentType ->; - -export type GetProjectsTrustedIpsAddresses = { - value: string; - note?: string | undefined; -}; - -export const GetProjectsTrustedIpsProtectionMode = { - Additional: "additional", - Exclusive: "exclusive", -} as const; -export type GetProjectsTrustedIpsProtectionMode = ClosedEnum< - typeof GetProjectsTrustedIpsProtectionMode ->; - -export type GetProjectsTrustedIps1 = { - deploymentType: GetProjectsTrustedIpsDeploymentType; - addresses: Array; - protectionMode: GetProjectsTrustedIpsProtectionMode; -}; - -export type GetProjectsTrustedIps = - | GetProjectsTrustedIps2 - | GetProjectsTrustedIps1; - -export type GetProjectsGitComments = { - /** - * Whether the Vercel bot should comment on PRs - */ - onPullRequest: boolean; - /** - * Whether the Vercel bot should comment on commits - */ - onCommit: boolean; -}; - -export type GetProjectsWebAnalytics = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; -}; - -export type GetProjectsSrc2 = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -export type GetProjectsSrc = GetProjectsSrc2 | string; - -export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType = - { - Path: "path", - Host: "host", - Method: "method", - Header: "header", - Cookie: "cookie", - Query: "query", - IpAddress: "ip_address", - Protocol: "protocol", - Scheme: "scheme", - Environment: "environment", - Region: "region", - } as const; -export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType = - ClosedEnum< - typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType - >; - -export type GetProjectsValue2 = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -export type GetProjectsValue = GetProjectsValue2 | string; - -export type GetProjectsHas = { - type: - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType; - key?: string | undefined; - value?: GetProjectsValue2 | string | undefined; -}; - -export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType = - { - Path: "path", - Host: "host", - Method: "method", - Header: "header", - Cookie: "cookie", - Query: "query", - IpAddress: "ip_address", - Protocol: "protocol", - Scheme: "scheme", - Environment: "environment", - Region: "region", - } as const; -export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType = - ClosedEnum< - typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType - >; - -export type GetProjectsValueProjects2 = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -export type GetProjectsProjectsValue = GetProjectsValueProjects2 | string; - -export type GetProjectsMissing = { - type: - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType; - key?: string | undefined; - value?: GetProjectsValueProjects2 | string | undefined; -}; - -export const GetProjectsHandle = { - Init: "init", - Finalize: "finalize", -} as const; -export type GetProjectsHandle = ClosedEnum; - -export const GetProjectsAction = { - Deny: "deny", - Challenge: "challenge", - Log: "log", - Bypass: "bypass", - RateLimit: "rate_limit", - Redirect: "redirect", -} as const; -export type GetProjectsAction = ClosedEnum; - -export const GetProjectsAlgo = { - FixedWindow: "fixed_window", - TokenBucket: "token_bucket", -} as const; -export type GetProjectsAlgo = ClosedEnum; - -export type GetProjectsErl = { - algo: GetProjectsAlgo; - window: number; - limit: number; - keys: Array; -}; - -export type GetProjectsMitigate = { - action: GetProjectsAction; - ruleId: string; - ttl?: number | undefined; - erl?: GetProjectsErl | undefined; -}; - -export type GetProjectsFirewallRoutes = { - src?: GetProjectsSrc2 | string | undefined; - has?: Array | undefined; - missing?: Array | undefined; - dest?: string | undefined; - status?: number | undefined; - handle?: GetProjectsHandle | undefined; - mitigate?: GetProjectsMitigate | undefined; -}; - -export type GetProjectsSecurity = { - attackModeEnabled?: boolean | undefined; - attackModeUpdatedAt?: number | undefined; - firewallEnabled?: boolean | undefined; - firewallUpdatedAt?: number | undefined; - attackModeActiveUntil?: number | null | undefined; - firewallConfigVersion?: number | undefined; - firewallRoutes?: Array | undefined; - firewallSeawallEnabled?: boolean | undefined; - ja3Enabled?: boolean | undefined; - ja4Enabled?: boolean | undefined; - firewallBypassIps?: Array | undefined; -}; - -/** - * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` - */ -export const GetProjectsIssuerMode = { - Team: "team", - Global: "global", -} as const; -/** - * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` - */ -export type GetProjectsIssuerMode = ClosedEnum; - -export type GetProjectsOidcTokenConfig = { - enabled: boolean; - /** - * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` - */ - issuerMode?: GetProjectsIssuerMode | undefined; -}; - -export const GetProjectsTier = { - Standard: "standard", - Advanced: "advanced", - Critical: "critical", -} as const; -export type GetProjectsTier = ClosedEnum; - -export type GetProjectsProjects = { - accountId: string; - analytics?: GetProjectsAnalytics | undefined; - speedInsights?: GetProjectsSpeedInsights | undefined; - autoExposeSystemEnvs?: boolean | undefined; - autoAssignCustomDomains?: boolean | undefined; - autoAssignCustomDomainsUpdatedBy?: string | undefined; - buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - connectConfigurationId?: string | null | undefined; - connectBuildsEnabled?: boolean | undefined; - createdAt?: number | undefined; - customerSupportCodeVisibility?: boolean | undefined; - crons?: GetProjectsCrons | undefined; - dataCache?: GetProjectsDataCache | undefined; - deploymentExpiration?: GetProjectsDeploymentExpiration | null | undefined; - devCommand?: string | null | undefined; - directoryListing: boolean; - installCommand?: string | null | undefined; - env?: Array | undefined; - customEnvironments?: Array | undefined; - framework?: GetProjectsFramework | null | undefined; - gitForkProtection?: boolean | undefined; - gitLFS?: boolean | undefined; - id: string; - ipBuckets?: Array | undefined; - latestDeployments?: Array | undefined; - link?: GetProjectsLink1 | GetProjectsLink3 | GetProjectsLink2 | undefined; - microfrontends?: GetProjectsMicrofrontends | undefined; - name: string; - nodeVersion: GetProjectsNodeVersion; - optionsAllowlist?: GetProjectsOptionsAllowlist | null | undefined; - outputDirectory?: string | null | undefined; - passiveConnectConfigurationId?: string | null | undefined; - passwordProtection?: GetProjectsPasswordProtection | null | undefined; - productionDeploymentsFastLane?: boolean | undefined; - publicSource?: boolean | null | undefined; - resourceConfig?: GetProjectsResourceConfig | undefined; - rootDirectory?: string | null | undefined; - serverlessFunctionRegion?: string | null | undefined; - serverlessFunctionZeroConfigFailover?: boolean | undefined; - skewProtectionBoundaryAt?: number | undefined; - skewProtectionMaxAge?: number | undefined; - skipGitConnectDuringLink?: boolean | undefined; - sourceFilesOutsideRootDirectory?: boolean | undefined; - enableAffectedProjectsDeployments?: boolean | undefined; - ssoProtection?: GetProjectsSsoProtection | null | undefined; - targets?: { [k: string]: GetProjectsTargets } | undefined; - transferCompletedAt?: number | undefined; - transferStartedAt?: number | undefined; - transferToAccountId?: string | undefined; - transferredFromAccountId?: string | undefined; - updatedAt?: number | undefined; - live?: boolean | undefined; - enablePreviewFeedback?: boolean | null | undefined; - enableProductionFeedback?: boolean | null | undefined; - permissions?: GetProjectsPermissions | undefined; - lastRollbackTarget?: GetProjectsLastRollbackTarget | null | undefined; - lastAliasRequest?: GetProjectsLastAliasRequest | null | undefined; - hasFloatingAliases?: boolean | undefined; - protectionBypass?: { [k: string]: GetProjectsProtectionBypass } | undefined; - hasActiveBranches?: boolean | undefined; - trustedIps?: - | GetProjectsTrustedIps2 - | GetProjectsTrustedIps1 - | null - | undefined; - gitComments?: GetProjectsGitComments | undefined; - paused?: boolean | undefined; - concurrencyBucketName?: string | undefined; - webAnalytics?: GetProjectsWebAnalytics | undefined; - security?: GetProjectsSecurity | undefined; - oidcTokenConfig?: GetProjectsOidcTokenConfig | undefined; - tier?: GetProjectsTier | undefined; -}; - -/** - * The paginated list of projects - */ -export type GetProjectsResponseBody = { - projects: Array; - /** - * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. - */ - pagination: Pagination; -}; - -/** @internal */ -export const GitForkProtection$inboundSchema: z.ZodNativeEnum< - typeof GitForkProtection -> = z.nativeEnum(GitForkProtection); - -/** @internal */ -export const GitForkProtection$outboundSchema: z.ZodNativeEnum< - typeof GitForkProtection -> = GitForkProtection$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitForkProtection$ { - /** @deprecated use `GitForkProtection$inboundSchema` instead. */ - export const inboundSchema = GitForkProtection$inboundSchema; - /** @deprecated use `GitForkProtection$outboundSchema` instead. */ - export const outboundSchema = GitForkProtection$outboundSchema; -} - -/** @internal */ -export const GetProjectsRequest$inboundSchema: z.ZodType< - GetProjectsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - from: z.string().optional(), - gitForkProtection: GitForkProtection$inboundSchema.optional(), - limit: z.string().optional(), - search: z.string().optional(), - repo: z.string().optional(), - repoId: z.string().optional(), - repoUrl: z.string().optional(), - excludeRepos: z.string().optional(), - edgeConfigId: z.string().optional(), - edgeConfigTokenId: z.string().optional(), - deprecated: z.boolean().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetProjectsRequest$Outbound = { - from?: string | undefined; - gitForkProtection?: string | undefined; - limit?: string | undefined; - search?: string | undefined; - repo?: string | undefined; - repoId?: string | undefined; - repoUrl?: string | undefined; - excludeRepos?: string | undefined; - edgeConfigId?: string | undefined; - edgeConfigTokenId?: string | undefined; - deprecated?: boolean | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetProjectsRequest$outboundSchema: z.ZodType< - GetProjectsRequest$Outbound, - z.ZodTypeDef, - GetProjectsRequest -> = z.object({ - from: z.string().optional(), - gitForkProtection: GitForkProtection$outboundSchema.optional(), - limit: z.string().optional(), - search: z.string().optional(), - repo: z.string().optional(), - repoId: z.string().optional(), - repoUrl: z.string().optional(), - excludeRepos: z.string().optional(), - edgeConfigId: z.string().optional(), - edgeConfigTokenId: z.string().optional(), - deprecated: z.boolean().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsRequest$ { - /** @deprecated use `GetProjectsRequest$inboundSchema` instead. */ - export const inboundSchema = GetProjectsRequest$inboundSchema; - /** @deprecated use `GetProjectsRequest$outboundSchema` instead. */ - export const outboundSchema = GetProjectsRequest$outboundSchema; - /** @deprecated use `GetProjectsRequest$Outbound` instead. */ - export type Outbound = GetProjectsRequest$Outbound; -} - -export function getProjectsRequestToJSON( - getProjectsRequest: GetProjectsRequest, -): string { - return JSON.stringify( - GetProjectsRequest$outboundSchema.parse(getProjectsRequest), - ); -} - -export function getProjectsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsRequest' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsAnalytics$inboundSchema: z.ZodType< - GetProjectsAnalytics, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - canceledAt: z.nullable(z.number()).optional(), - disabledAt: z.number(), - enabledAt: z.number(), - paidAt: z.number().optional(), - sampleRatePercent: z.nullable(z.number()).optional(), - spendLimitInDollars: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type GetProjectsAnalytics$Outbound = { - id: string; - canceledAt?: number | null | undefined; - disabledAt: number; - enabledAt: number; - paidAt?: number | undefined; - sampleRatePercent?: number | null | undefined; - spendLimitInDollars?: number | null | undefined; -}; - -/** @internal */ -export const GetProjectsAnalytics$outboundSchema: z.ZodType< - GetProjectsAnalytics$Outbound, - z.ZodTypeDef, - GetProjectsAnalytics -> = z.object({ - id: z.string(), - canceledAt: z.nullable(z.number()).optional(), - disabledAt: z.number(), - enabledAt: z.number(), - paidAt: z.number().optional(), - sampleRatePercent: z.nullable(z.number()).optional(), - spendLimitInDollars: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsAnalytics$ { - /** @deprecated use `GetProjectsAnalytics$inboundSchema` instead. */ - export const inboundSchema = GetProjectsAnalytics$inboundSchema; - /** @deprecated use `GetProjectsAnalytics$outboundSchema` instead. */ - export const outboundSchema = GetProjectsAnalytics$outboundSchema; - /** @deprecated use `GetProjectsAnalytics$Outbound` instead. */ - export type Outbound = GetProjectsAnalytics$Outbound; -} - -export function getProjectsAnalyticsToJSON( - getProjectsAnalytics: GetProjectsAnalytics, -): string { - return JSON.stringify( - GetProjectsAnalytics$outboundSchema.parse(getProjectsAnalytics), - ); -} - -export function getProjectsAnalyticsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsAnalytics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsAnalytics' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsSpeedInsights$inboundSchema: z.ZodType< - GetProjectsSpeedInsights, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - enabledAt: z.number().optional(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - hasData: z.boolean().optional(), - paidAt: z.number().optional(), -}); - -/** @internal */ -export type GetProjectsSpeedInsights$Outbound = { - id: string; - enabledAt?: number | undefined; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - hasData?: boolean | undefined; - paidAt?: number | undefined; -}; - -/** @internal */ -export const GetProjectsSpeedInsights$outboundSchema: z.ZodType< - GetProjectsSpeedInsights$Outbound, - z.ZodTypeDef, - GetProjectsSpeedInsights -> = z.object({ - id: z.string(), - enabledAt: z.number().optional(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - hasData: z.boolean().optional(), - paidAt: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsSpeedInsights$ { - /** @deprecated use `GetProjectsSpeedInsights$inboundSchema` instead. */ - export const inboundSchema = GetProjectsSpeedInsights$inboundSchema; - /** @deprecated use `GetProjectsSpeedInsights$outboundSchema` instead. */ - export const outboundSchema = GetProjectsSpeedInsights$outboundSchema; - /** @deprecated use `GetProjectsSpeedInsights$Outbound` instead. */ - export type Outbound = GetProjectsSpeedInsights$Outbound; -} - -export function getProjectsSpeedInsightsToJSON( - getProjectsSpeedInsights: GetProjectsSpeedInsights, -): string { - return JSON.stringify( - GetProjectsSpeedInsights$outboundSchema.parse(getProjectsSpeedInsights), - ); -} - -export function getProjectsSpeedInsightsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsSpeedInsights$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsSpeedInsights' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsDefinitions$inboundSchema: z.ZodType< - GetProjectsDefinitions, - z.ZodTypeDef, - unknown -> = z.object({ - host: z.string(), - path: z.string(), - schedule: z.string(), -}); - -/** @internal */ -export type GetProjectsDefinitions$Outbound = { - host: string; - path: string; - schedule: string; -}; - -/** @internal */ -export const GetProjectsDefinitions$outboundSchema: z.ZodType< - GetProjectsDefinitions$Outbound, - z.ZodTypeDef, - GetProjectsDefinitions -> = z.object({ - host: z.string(), - path: z.string(), - schedule: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsDefinitions$ { - /** @deprecated use `GetProjectsDefinitions$inboundSchema` instead. */ - export const inboundSchema = GetProjectsDefinitions$inboundSchema; - /** @deprecated use `GetProjectsDefinitions$outboundSchema` instead. */ - export const outboundSchema = GetProjectsDefinitions$outboundSchema; - /** @deprecated use `GetProjectsDefinitions$Outbound` instead. */ - export type Outbound = GetProjectsDefinitions$Outbound; -} - -export function getProjectsDefinitionsToJSON( - getProjectsDefinitions: GetProjectsDefinitions, -): string { - return JSON.stringify( - GetProjectsDefinitions$outboundSchema.parse(getProjectsDefinitions), - ); -} - -export function getProjectsDefinitionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsDefinitions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsDefinitions' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsCrons$inboundSchema: z.ZodType< - GetProjectsCrons, - z.ZodTypeDef, - unknown -> = z.object({ - enabledAt: z.number(), - disabledAt: z.nullable(z.number()), - updatedAt: z.number(), - deploymentId: z.nullable(z.string()), - definitions: z.array(z.lazy(() => GetProjectsDefinitions$inboundSchema)), -}); - -/** @internal */ -export type GetProjectsCrons$Outbound = { - enabledAt: number; - disabledAt: number | null; - updatedAt: number; - deploymentId: string | null; - definitions: Array; -}; - -/** @internal */ -export const GetProjectsCrons$outboundSchema: z.ZodType< - GetProjectsCrons$Outbound, - z.ZodTypeDef, - GetProjectsCrons -> = z.object({ - enabledAt: z.number(), - disabledAt: z.nullable(z.number()), - updatedAt: z.number(), - deploymentId: z.nullable(z.string()), - definitions: z.array(z.lazy(() => GetProjectsDefinitions$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsCrons$ { - /** @deprecated use `GetProjectsCrons$inboundSchema` instead. */ - export const inboundSchema = GetProjectsCrons$inboundSchema; - /** @deprecated use `GetProjectsCrons$outboundSchema` instead. */ - export const outboundSchema = GetProjectsCrons$outboundSchema; - /** @deprecated use `GetProjectsCrons$Outbound` instead. */ - export type Outbound = GetProjectsCrons$Outbound; -} - -export function getProjectsCronsToJSON( - getProjectsCrons: GetProjectsCrons, -): string { - return JSON.stringify( - GetProjectsCrons$outboundSchema.parse(getProjectsCrons), - ); -} - -export function getProjectsCronsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsCrons$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsCrons' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsDataCache$inboundSchema: z.ZodType< - GetProjectsDataCache, - z.ZodTypeDef, - unknown -> = z.object({ - userDisabled: z.boolean(), - storageSizeBytes: z.nullable(z.number()).optional(), - unlimited: z.boolean().optional(), -}); - -/** @internal */ -export type GetProjectsDataCache$Outbound = { - userDisabled: boolean; - storageSizeBytes?: number | null | undefined; - unlimited?: boolean | undefined; -}; - -/** @internal */ -export const GetProjectsDataCache$outboundSchema: z.ZodType< - GetProjectsDataCache$Outbound, - z.ZodTypeDef, - GetProjectsDataCache -> = z.object({ - userDisabled: z.boolean(), - storageSizeBytes: z.nullable(z.number()).optional(), - unlimited: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsDataCache$ { - /** @deprecated use `GetProjectsDataCache$inboundSchema` instead. */ - export const inboundSchema = GetProjectsDataCache$inboundSchema; - /** @deprecated use `GetProjectsDataCache$outboundSchema` instead. */ - export const outboundSchema = GetProjectsDataCache$outboundSchema; - /** @deprecated use `GetProjectsDataCache$Outbound` instead. */ - export type Outbound = GetProjectsDataCache$Outbound; -} - -export function getProjectsDataCacheToJSON( - getProjectsDataCache: GetProjectsDataCache, -): string { - return JSON.stringify( - GetProjectsDataCache$outboundSchema.parse(getProjectsDataCache), - ); -} - -export function getProjectsDataCacheFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsDataCache$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsDataCache' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsDeploymentExpiration$inboundSchema: z.ZodType< - GetProjectsDeploymentExpiration, - z.ZodTypeDef, - unknown -> = z.object({ - expirationDays: z.number().optional(), - expirationDaysProduction: z.number().optional(), - expirationDaysCanceled: z.number().optional(), - expirationDaysErrored: z.number().optional(), - deploymentsToKeep: z.number().optional(), -}); - -/** @internal */ -export type GetProjectsDeploymentExpiration$Outbound = { - expirationDays?: number | undefined; - expirationDaysProduction?: number | undefined; - expirationDaysCanceled?: number | undefined; - expirationDaysErrored?: number | undefined; - deploymentsToKeep?: number | undefined; -}; - -/** @internal */ -export const GetProjectsDeploymentExpiration$outboundSchema: z.ZodType< - GetProjectsDeploymentExpiration$Outbound, - z.ZodTypeDef, - GetProjectsDeploymentExpiration -> = z.object({ - expirationDays: z.number().optional(), - expirationDaysProduction: z.number().optional(), - expirationDaysCanceled: z.number().optional(), - expirationDaysErrored: z.number().optional(), - deploymentsToKeep: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsDeploymentExpiration$ { - /** @deprecated use `GetProjectsDeploymentExpiration$inboundSchema` instead. */ - export const inboundSchema = GetProjectsDeploymentExpiration$inboundSchema; - /** @deprecated use `GetProjectsDeploymentExpiration$outboundSchema` instead. */ - export const outboundSchema = GetProjectsDeploymentExpiration$outboundSchema; - /** @deprecated use `GetProjectsDeploymentExpiration$Outbound` instead. */ - export type Outbound = GetProjectsDeploymentExpiration$Outbound; -} - -export function getProjectsDeploymentExpirationToJSON( - getProjectsDeploymentExpiration: GetProjectsDeploymentExpiration, -): string { - return JSON.stringify( - GetProjectsDeploymentExpiration$outboundSchema.parse( - getProjectsDeploymentExpiration, - ), - ); -} - -export function getProjectsDeploymentExpirationFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsDeploymentExpiration$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsDeploymentExpiration' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsTarget2$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsTarget2 -> = z.nativeEnum(GetProjectsTarget2); - -/** @internal */ -export const GetProjectsTarget2$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsTarget2 -> = GetProjectsTarget2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsTarget2$ { - /** @deprecated use `GetProjectsTarget2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsTarget2$inboundSchema; - /** @deprecated use `GetProjectsTarget2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsTarget2$outboundSchema; -} - -/** @internal */ -export const GetProjectsTarget1$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsTarget1 -> = z.nativeEnum(GetProjectsTarget1); - -/** @internal */ -export const GetProjectsTarget1$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsTarget1 -> = GetProjectsTarget1$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsTarget1$ { - /** @deprecated use `GetProjectsTarget1$inboundSchema` instead. */ - export const inboundSchema = GetProjectsTarget1$inboundSchema; - /** @deprecated use `GetProjectsTarget1$outboundSchema` instead. */ - export const outboundSchema = GetProjectsTarget1$outboundSchema; -} - -/** @internal */ -export const GetProjectsTarget$inboundSchema: z.ZodType< - GetProjectsTarget, - z.ZodTypeDef, - unknown -> = z.union([ - z.array(GetProjectsTarget1$inboundSchema), - GetProjectsTarget2$inboundSchema, -]); - -/** @internal */ -export type GetProjectsTarget$Outbound = Array | string; - -/** @internal */ -export const GetProjectsTarget$outboundSchema: z.ZodType< - GetProjectsTarget$Outbound, - z.ZodTypeDef, - GetProjectsTarget -> = z.union([ - z.array(GetProjectsTarget1$outboundSchema), - GetProjectsTarget2$outboundSchema, -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsTarget$ { - /** @deprecated use `GetProjectsTarget$inboundSchema` instead. */ - export const inboundSchema = GetProjectsTarget$inboundSchema; - /** @deprecated use `GetProjectsTarget$outboundSchema` instead. */ - export const outboundSchema = GetProjectsTarget$outboundSchema; - /** @deprecated use `GetProjectsTarget$Outbound` instead. */ - export type Outbound = GetProjectsTarget$Outbound; -} - -export function getProjectsTargetToJSON( - getProjectsTarget: GetProjectsTarget, -): string { - return JSON.stringify( - GetProjectsTarget$outboundSchema.parse(getProjectsTarget), - ); -} - -export function getProjectsTargetFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsTarget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsTarget' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsType$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsType -> = z.nativeEnum(GetProjectsType); - -/** @internal */ -export const GetProjectsType$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsType -> = GetProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsType$ { - /** @deprecated use `GetProjectsType$inboundSchema` instead. */ - export const inboundSchema = GetProjectsType$inboundSchema; - /** @deprecated use `GetProjectsType$outboundSchema` instead. */ - export const outboundSchema = GetProjectsType$outboundSchema; -} - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type - > = z.nativeEnum( - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type, - ); - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type - > = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$ { - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$inboundSchema; - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$outboundSchema; -} - -/** @internal */ -export const GetProjectsContentHint15$inboundSchema: z.ZodType< - GetProjectsContentHint15, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$inboundSchema, - projectId: z.string(), -}); - -/** @internal */ -export type GetProjectsContentHint15$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const GetProjectsContentHint15$outboundSchema: z.ZodType< - GetProjectsContentHint15$Outbound, - z.ZodTypeDef, - GetProjectsContentHint15 -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHint15$ { - /** @deprecated use `GetProjectsContentHint15$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHint15$inboundSchema; - /** @deprecated use `GetProjectsContentHint15$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHint15$outboundSchema; - /** @deprecated use `GetProjectsContentHint15$Outbound` instead. */ - export type Outbound = GetProjectsContentHint15$Outbound; -} - -export function getProjectsContentHint15ToJSON( - getProjectsContentHint15: GetProjectsContentHint15, -): string { - return JSON.stringify( - GetProjectsContentHint15$outboundSchema.parse(getProjectsContentHint15), - ); -} - -export function getProjectsContentHint15FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsContentHint15$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsContentHint15' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type - > = z.nativeEnum( - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type, - ); - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type - > = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$ { - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$inboundSchema; - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$outboundSchema; -} - -/** @internal */ -export const GetProjectsContentHint14$inboundSchema: z.ZodType< - GetProjectsContentHint14, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$inboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** @internal */ -export type GetProjectsContentHint14$Outbound = { - type: string; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -/** @internal */ -export const GetProjectsContentHint14$outboundSchema: z.ZodType< - GetProjectsContentHint14$Outbound, - z.ZodTypeDef, - GetProjectsContentHint14 -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$outboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHint14$ { - /** @deprecated use `GetProjectsContentHint14$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHint14$inboundSchema; - /** @deprecated use `GetProjectsContentHint14$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHint14$outboundSchema; - /** @deprecated use `GetProjectsContentHint14$Outbound` instead. */ - export type Outbound = GetProjectsContentHint14$Outbound; -} - -export function getProjectsContentHint14ToJSON( - getProjectsContentHint14: GetProjectsContentHint14, -): string { - return JSON.stringify( - GetProjectsContentHint14$outboundSchema.parse(getProjectsContentHint14), - ); -} - -export function getProjectsContentHint14FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsContentHint14$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsContentHint14' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type - > = z.nativeEnum( - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type, - ); - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type - > = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$ { - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$inboundSchema; - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$outboundSchema; -} - -/** @internal */ -export const GetProjectsContentHint13$inboundSchema: z.ZodType< - GetProjectsContentHint13, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectsContentHint13$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectsContentHint13$outboundSchema: z.ZodType< - GetProjectsContentHint13$Outbound, - z.ZodTypeDef, - GetProjectsContentHint13 -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHint13$ { - /** @deprecated use `GetProjectsContentHint13$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHint13$inboundSchema; - /** @deprecated use `GetProjectsContentHint13$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHint13$outboundSchema; - /** @deprecated use `GetProjectsContentHint13$Outbound` instead. */ - export type Outbound = GetProjectsContentHint13$Outbound; -} - -export function getProjectsContentHint13ToJSON( - getProjectsContentHint13: GetProjectsContentHint13, -): string { - return JSON.stringify( - GetProjectsContentHint13$outboundSchema.parse(getProjectsContentHint13), - ); -} - -export function getProjectsContentHint13FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsContentHint13$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsContentHint13' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type - > = z.nativeEnum( - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type, - ); - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type - > = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$ { - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$inboundSchema; - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$outboundSchema; -} - -/** @internal */ -export const GetProjectsContentHint12$inboundSchema: z.ZodType< - GetProjectsContentHint12, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectsContentHint12$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectsContentHint12$outboundSchema: z.ZodType< - GetProjectsContentHint12$Outbound, - z.ZodTypeDef, - GetProjectsContentHint12 -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHint12$ { - /** @deprecated use `GetProjectsContentHint12$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHint12$inboundSchema; - /** @deprecated use `GetProjectsContentHint12$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHint12$outboundSchema; - /** @deprecated use `GetProjectsContentHint12$Outbound` instead. */ - export type Outbound = GetProjectsContentHint12$Outbound; -} - -export function getProjectsContentHint12ToJSON( - getProjectsContentHint12: GetProjectsContentHint12, -): string { - return JSON.stringify( - GetProjectsContentHint12$outboundSchema.parse(getProjectsContentHint12), - ); -} - -export function getProjectsContentHint12FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsContentHint12$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsContentHint12' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type - > = z.nativeEnum( - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type, - ); - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type - > = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$ { - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$inboundSchema; - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$outboundSchema; -} - -/** @internal */ -export const GetProjectsContentHint11$inboundSchema: z.ZodType< - GetProjectsContentHint11, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectsContentHint11$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectsContentHint11$outboundSchema: z.ZodType< - GetProjectsContentHint11$Outbound, - z.ZodTypeDef, - GetProjectsContentHint11 -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHint11$ { - /** @deprecated use `GetProjectsContentHint11$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHint11$inboundSchema; - /** @deprecated use `GetProjectsContentHint11$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHint11$outboundSchema; - /** @deprecated use `GetProjectsContentHint11$Outbound` instead. */ - export type Outbound = GetProjectsContentHint11$Outbound; -} - -export function getProjectsContentHint11ToJSON( - getProjectsContentHint11: GetProjectsContentHint11, -): string { - return JSON.stringify( - GetProjectsContentHint11$outboundSchema.parse(getProjectsContentHint11), - ); -} - -export function getProjectsContentHint11FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsContentHint11$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsContentHint11' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type - > = z.nativeEnum( - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type, - ); - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type - > = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$ { - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$inboundSchema; - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$outboundSchema; -} - -/** @internal */ -export const GetProjectsContentHint10$inboundSchema: z.ZodType< - GetProjectsContentHint10, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectsContentHint10$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectsContentHint10$outboundSchema: z.ZodType< - GetProjectsContentHint10$Outbound, - z.ZodTypeDef, - GetProjectsContentHint10 -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHint10$ { - /** @deprecated use `GetProjectsContentHint10$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHint10$inboundSchema; - /** @deprecated use `GetProjectsContentHint10$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHint10$outboundSchema; - /** @deprecated use `GetProjectsContentHint10$Outbound` instead. */ - export type Outbound = GetProjectsContentHint10$Outbound; -} - -export function getProjectsContentHint10ToJSON( - getProjectsContentHint10: GetProjectsContentHint10, -): string { - return JSON.stringify( - GetProjectsContentHint10$outboundSchema.parse(getProjectsContentHint10), - ); -} - -export function getProjectsContentHint10FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsContentHint10$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsContentHint10' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type - > = z.nativeEnum( - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type, - ); - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type - > = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$ { - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$inboundSchema; - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$outboundSchema; -} - -/** @internal */ -export const GetProjectsContentHint9$inboundSchema: z.ZodType< - GetProjectsContentHint9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectsContentHint9$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectsContentHint9$outboundSchema: z.ZodType< - GetProjectsContentHint9$Outbound, - z.ZodTypeDef, - GetProjectsContentHint9 -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHint9$ { - /** @deprecated use `GetProjectsContentHint9$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHint9$inboundSchema; - /** @deprecated use `GetProjectsContentHint9$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHint9$outboundSchema; - /** @deprecated use `GetProjectsContentHint9$Outbound` instead. */ - export type Outbound = GetProjectsContentHint9$Outbound; -} - -export function getProjectsContentHint9ToJSON( - getProjectsContentHint9: GetProjectsContentHint9, -): string { - return JSON.stringify( - GetProjectsContentHint9$outboundSchema.parse(getProjectsContentHint9), - ); -} - -export function getProjectsContentHint9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsContentHint9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsContentHint9' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType - > = z.nativeEnum( - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType, - ); - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType - > = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$ { - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$inboundSchema; - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$outboundSchema; -} - -/** @internal */ -export const GetProjectsContentHint8$inboundSchema: z.ZodType< - GetProjectsContentHint8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectsContentHint8$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectsContentHint8$outboundSchema: z.ZodType< - GetProjectsContentHint8$Outbound, - z.ZodTypeDef, - GetProjectsContentHint8 -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHint8$ { - /** @deprecated use `GetProjectsContentHint8$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHint8$inboundSchema; - /** @deprecated use `GetProjectsContentHint8$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHint8$outboundSchema; - /** @deprecated use `GetProjectsContentHint8$Outbound` instead. */ - export type Outbound = GetProjectsContentHint8$Outbound; -} - -export function getProjectsContentHint8ToJSON( - getProjectsContentHint8: GetProjectsContentHint8, -): string { - return JSON.stringify( - GetProjectsContentHint8$outboundSchema.parse(getProjectsContentHint8), - ); -} - -export function getProjectsContentHint8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsContentHint8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsContentHint8' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType - > = z.nativeEnum( - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType, - ); - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType - > = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$ { - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema; - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema; -} - -/** @internal */ -export const GetProjectsContentHint7$inboundSchema: z.ZodType< - GetProjectsContentHint7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectsContentHint7$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectsContentHint7$outboundSchema: z.ZodType< - GetProjectsContentHint7$Outbound, - z.ZodTypeDef, - GetProjectsContentHint7 -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHint7$ { - /** @deprecated use `GetProjectsContentHint7$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHint7$inboundSchema; - /** @deprecated use `GetProjectsContentHint7$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHint7$outboundSchema; - /** @deprecated use `GetProjectsContentHint7$Outbound` instead. */ - export type Outbound = GetProjectsContentHint7$Outbound; -} - -export function getProjectsContentHint7ToJSON( - getProjectsContentHint7: GetProjectsContentHint7, -): string { - return JSON.stringify( - GetProjectsContentHint7$outboundSchema.parse(getProjectsContentHint7), - ); -} - -export function getProjectsContentHint7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsContentHint7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsContentHint7' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType, - ); - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType - > = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - -/** @internal */ -export const GetProjectsContentHint6$inboundSchema: z.ZodType< - GetProjectsContentHint6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectsContentHint6$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectsContentHint6$outboundSchema: z.ZodType< - GetProjectsContentHint6$Outbound, - z.ZodTypeDef, - GetProjectsContentHint6 -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHint6$ { - /** @deprecated use `GetProjectsContentHint6$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHint6$inboundSchema; - /** @deprecated use `GetProjectsContentHint6$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHint6$outboundSchema; - /** @deprecated use `GetProjectsContentHint6$Outbound` instead. */ - export type Outbound = GetProjectsContentHint6$Outbound; -} - -export function getProjectsContentHint6ToJSON( - getProjectsContentHint6: GetProjectsContentHint6, -): string { - return JSON.stringify( - GetProjectsContentHint6$outboundSchema.parse(getProjectsContentHint6), - ); -} - -export function getProjectsContentHint6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsContentHint6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsContentHint6' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONType - > = z.nativeEnum( - GetProjectsContentHintProjectsResponse200ApplicationJSONType, - ); - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsResponse200ApplicationJSONType - > = - GetProjectsContentHintProjectsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHintProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `GetProjectsContentHintProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsContentHintProjectsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const GetProjectsContentHint5$inboundSchema: z.ZodType< - GetProjectsContentHint5, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectsContentHint5$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectsContentHint5$outboundSchema: z.ZodType< - GetProjectsContentHint5$Outbound, - z.ZodTypeDef, - GetProjectsContentHint5 -> = z.object({ - type: - GetProjectsContentHintProjectsResponse200ApplicationJSONType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHint5$ { - /** @deprecated use `GetProjectsContentHint5$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHint5$inboundSchema; - /** @deprecated use `GetProjectsContentHint5$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHint5$outboundSchema; - /** @deprecated use `GetProjectsContentHint5$Outbound` instead. */ - export type Outbound = GetProjectsContentHint5$Outbound; -} - -export function getProjectsContentHint5ToJSON( - getProjectsContentHint5: GetProjectsContentHint5, -): string { - return JSON.stringify( - GetProjectsContentHint5$outboundSchema.parse(getProjectsContentHint5), - ); -} - -export function getProjectsContentHint5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsContentHint5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsContentHint5' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsContentHintProjectsResponse200Type); - -/** @internal */ -export const GetProjectsContentHintProjectsResponse200Type$outboundSchema: - z.ZodNativeEnum = - GetProjectsContentHintProjectsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHintProjectsResponse200Type$ { - /** @deprecated use `GetProjectsContentHintProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsContentHintProjectsResponse200Type$inboundSchema; - /** @deprecated use `GetProjectsContentHintProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsContentHintProjectsResponse200Type$outboundSchema; -} - -/** @internal */ -export const GetProjectsContentHint4$inboundSchema: z.ZodType< - GetProjectsContentHint4, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetProjectsContentHintProjectsResponse200Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectsContentHint4$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectsContentHint4$outboundSchema: z.ZodType< - GetProjectsContentHint4$Outbound, - z.ZodTypeDef, - GetProjectsContentHint4 -> = z.object({ - type: GetProjectsContentHintProjectsResponse200Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHint4$ { - /** @deprecated use `GetProjectsContentHint4$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHint4$inboundSchema; - /** @deprecated use `GetProjectsContentHint4$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHint4$outboundSchema; - /** @deprecated use `GetProjectsContentHint4$Outbound` instead. */ - export type Outbound = GetProjectsContentHint4$Outbound; -} - -export function getProjectsContentHint4ToJSON( - getProjectsContentHint4: GetProjectsContentHint4, -): string { - return JSON.stringify( - GetProjectsContentHint4$outboundSchema.parse(getProjectsContentHint4), - ); -} - -export function getProjectsContentHint4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsContentHint4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsContentHint4' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsContentHintProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsContentHintProjectsResponseType); - -/** @internal */ -export const GetProjectsContentHintProjectsResponseType$outboundSchema: - z.ZodNativeEnum = - GetProjectsContentHintProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHintProjectsResponseType$ { - /** @deprecated use `GetProjectsContentHintProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsContentHintProjectsResponseType$inboundSchema; - /** @deprecated use `GetProjectsContentHintProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsContentHintProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const GetProjectsContentHint3$inboundSchema: z.ZodType< - GetProjectsContentHint3, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetProjectsContentHintProjectsResponseType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectsContentHint3$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectsContentHint3$outboundSchema: z.ZodType< - GetProjectsContentHint3$Outbound, - z.ZodTypeDef, - GetProjectsContentHint3 -> = z.object({ - type: GetProjectsContentHintProjectsResponseType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHint3$ { - /** @deprecated use `GetProjectsContentHint3$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHint3$inboundSchema; - /** @deprecated use `GetProjectsContentHint3$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHint3$outboundSchema; - /** @deprecated use `GetProjectsContentHint3$Outbound` instead. */ - export type Outbound = GetProjectsContentHint3$Outbound; -} - -export function getProjectsContentHint3ToJSON( - getProjectsContentHint3: GetProjectsContentHint3, -): string { - return JSON.stringify( - GetProjectsContentHint3$outboundSchema.parse(getProjectsContentHint3), - ); -} - -export function getProjectsContentHint3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsContentHint3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsContentHint3' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsContentHintProjectsType$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsType -> = z.nativeEnum(GetProjectsContentHintProjectsType); - -/** @internal */ -export const GetProjectsContentHintProjectsType$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsContentHintProjectsType -> = GetProjectsContentHintProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHintProjectsType$ { - /** @deprecated use `GetProjectsContentHintProjectsType$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHintProjectsType$inboundSchema; - /** @deprecated use `GetProjectsContentHintProjectsType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsContentHintProjectsType$outboundSchema; -} - -/** @internal */ -export const GetProjectsContentHint2$inboundSchema: z.ZodType< - GetProjectsContentHint2, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetProjectsContentHintProjectsType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectsContentHint2$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectsContentHint2$outboundSchema: z.ZodType< - GetProjectsContentHint2$Outbound, - z.ZodTypeDef, - GetProjectsContentHint2 -> = z.object({ - type: GetProjectsContentHintProjectsType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHint2$ { - /** @deprecated use `GetProjectsContentHint2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHint2$inboundSchema; - /** @deprecated use `GetProjectsContentHint2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHint2$outboundSchema; - /** @deprecated use `GetProjectsContentHint2$Outbound` instead. */ - export type Outbound = GetProjectsContentHint2$Outbound; -} - -export function getProjectsContentHint2ToJSON( - getProjectsContentHint2: GetProjectsContentHint2, -): string { - return JSON.stringify( - GetProjectsContentHint2$outboundSchema.parse(getProjectsContentHint2), - ); -} - -export function getProjectsContentHint2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsContentHint2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsContentHint2' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsContentHintType$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsContentHintType -> = z.nativeEnum(GetProjectsContentHintType); - -/** @internal */ -export const GetProjectsContentHintType$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsContentHintType -> = GetProjectsContentHintType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHintType$ { - /** @deprecated use `GetProjectsContentHintType$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHintType$inboundSchema; - /** @deprecated use `GetProjectsContentHintType$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHintType$outboundSchema; -} - -/** @internal */ -export const GetProjectsContentHint1$inboundSchema: z.ZodType< - GetProjectsContentHint1, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetProjectsContentHintType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type GetProjectsContentHint1$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const GetProjectsContentHint1$outboundSchema: z.ZodType< - GetProjectsContentHint1$Outbound, - z.ZodTypeDef, - GetProjectsContentHint1 -> = z.object({ - type: GetProjectsContentHintType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHint1$ { - /** @deprecated use `GetProjectsContentHint1$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHint1$inboundSchema; - /** @deprecated use `GetProjectsContentHint1$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHint1$outboundSchema; - /** @deprecated use `GetProjectsContentHint1$Outbound` instead. */ - export type Outbound = GetProjectsContentHint1$Outbound; -} - -export function getProjectsContentHint1ToJSON( - getProjectsContentHint1: GetProjectsContentHint1, -): string { - return JSON.stringify( - GetProjectsContentHint1$outboundSchema.parse(getProjectsContentHint1), - ); -} - -export function getProjectsContentHint1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsContentHint1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsContentHint1' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsContentHint$inboundSchema: z.ZodType< - GetProjectsContentHint, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetProjectsContentHint1$inboundSchema), - z.lazy(() => GetProjectsContentHint2$inboundSchema), - z.lazy(() => GetProjectsContentHint3$inboundSchema), - z.lazy(() => GetProjectsContentHint4$inboundSchema), - z.lazy(() => GetProjectsContentHint5$inboundSchema), - z.lazy(() => GetProjectsContentHint6$inboundSchema), - z.lazy(() => GetProjectsContentHint7$inboundSchema), - z.lazy(() => GetProjectsContentHint8$inboundSchema), - z.lazy(() => GetProjectsContentHint9$inboundSchema), - z.lazy(() => GetProjectsContentHint10$inboundSchema), - z.lazy(() => GetProjectsContentHint11$inboundSchema), - z.lazy(() => GetProjectsContentHint12$inboundSchema), - z.lazy(() => GetProjectsContentHint13$inboundSchema), - z.lazy(() => GetProjectsContentHint15$inboundSchema), - z.lazy(() => GetProjectsContentHint14$inboundSchema), -]); - -/** @internal */ -export type GetProjectsContentHint$Outbound = - | GetProjectsContentHint1$Outbound - | GetProjectsContentHint2$Outbound - | GetProjectsContentHint3$Outbound - | GetProjectsContentHint4$Outbound - | GetProjectsContentHint5$Outbound - | GetProjectsContentHint6$Outbound - | GetProjectsContentHint7$Outbound - | GetProjectsContentHint8$Outbound - | GetProjectsContentHint9$Outbound - | GetProjectsContentHint10$Outbound - | GetProjectsContentHint11$Outbound - | GetProjectsContentHint12$Outbound - | GetProjectsContentHint13$Outbound - | GetProjectsContentHint15$Outbound - | GetProjectsContentHint14$Outbound; - -/** @internal */ -export const GetProjectsContentHint$outboundSchema: z.ZodType< - GetProjectsContentHint$Outbound, - z.ZodTypeDef, - GetProjectsContentHint -> = z.union([ - z.lazy(() => GetProjectsContentHint1$outboundSchema), - z.lazy(() => GetProjectsContentHint2$outboundSchema), - z.lazy(() => GetProjectsContentHint3$outboundSchema), - z.lazy(() => GetProjectsContentHint4$outboundSchema), - z.lazy(() => GetProjectsContentHint5$outboundSchema), - z.lazy(() => GetProjectsContentHint6$outboundSchema), - z.lazy(() => GetProjectsContentHint7$outboundSchema), - z.lazy(() => GetProjectsContentHint8$outboundSchema), - z.lazy(() => GetProjectsContentHint9$outboundSchema), - z.lazy(() => GetProjectsContentHint10$outboundSchema), - z.lazy(() => GetProjectsContentHint11$outboundSchema), - z.lazy(() => GetProjectsContentHint12$outboundSchema), - z.lazy(() => GetProjectsContentHint13$outboundSchema), - z.lazy(() => GetProjectsContentHint15$outboundSchema), - z.lazy(() => GetProjectsContentHint14$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsContentHint$ { - /** @deprecated use `GetProjectsContentHint$inboundSchema` instead. */ - export const inboundSchema = GetProjectsContentHint$inboundSchema; - /** @deprecated use `GetProjectsContentHint$outboundSchema` instead. */ - export const outboundSchema = GetProjectsContentHint$outboundSchema; - /** @deprecated use `GetProjectsContentHint$Outbound` instead. */ - export type Outbound = GetProjectsContentHint$Outbound; -} - -export function getProjectsContentHintToJSON( - getProjectsContentHint: GetProjectsContentHint, -): string { - return JSON.stringify( - GetProjectsContentHint$outboundSchema.parse(getProjectsContentHint), - ); -} - -export function getProjectsContentHintFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsContentHint$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsContentHint' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType - > = z.nativeEnum( - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType, - ); - -/** @internal */ -export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType - > = - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$ { - /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema; - /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema; -} - -/** @internal */ -export const GetProjectsInternalContentHint$inboundSchema: z.ZodType< - GetProjectsInternalContentHint, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema, - encryptedValue: z.string(), -}); - -/** @internal */ -export type GetProjectsInternalContentHint$Outbound = { - type: string; - encryptedValue: string; -}; - -/** @internal */ -export const GetProjectsInternalContentHint$outboundSchema: z.ZodType< - GetProjectsInternalContentHint$Outbound, - z.ZodTypeDef, - GetProjectsInternalContentHint -> = z.object({ - type: - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema, - encryptedValue: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsInternalContentHint$ { - /** @deprecated use `GetProjectsInternalContentHint$inboundSchema` instead. */ - export const inboundSchema = GetProjectsInternalContentHint$inboundSchema; - /** @deprecated use `GetProjectsInternalContentHint$outboundSchema` instead. */ - export const outboundSchema = GetProjectsInternalContentHint$outboundSchema; - /** @deprecated use `GetProjectsInternalContentHint$Outbound` instead. */ - export type Outbound = GetProjectsInternalContentHint$Outbound; -} - -export function getProjectsInternalContentHintToJSON( - getProjectsInternalContentHint: GetProjectsInternalContentHint, -): string { - return JSON.stringify( - GetProjectsInternalContentHint$outboundSchema.parse( - getProjectsInternalContentHint, - ), - ); -} - -export function getProjectsInternalContentHintFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsInternalContentHint$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsInternalContentHint' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsEnv$inboundSchema: z.ZodType< - GetProjectsEnv, - z.ZodTypeDef, - unknown -> = z.object({ - target: z.union([ - z.array(GetProjectsTarget1$inboundSchema), - GetProjectsTarget2$inboundSchema, - ]).optional(), - type: GetProjectsType$inboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => GetProjectsContentHint1$inboundSchema), - z.lazy(() => GetProjectsContentHint2$inboundSchema), - z.lazy(() => GetProjectsContentHint3$inboundSchema), - z.lazy(() => GetProjectsContentHint4$inboundSchema), - z.lazy(() => GetProjectsContentHint5$inboundSchema), - z.lazy(() => GetProjectsContentHint6$inboundSchema), - z.lazy(() => GetProjectsContentHint7$inboundSchema), - z.lazy(() => GetProjectsContentHint8$inboundSchema), - z.lazy(() => GetProjectsContentHint9$inboundSchema), - z.lazy(() => GetProjectsContentHint10$inboundSchema), - z.lazy(() => GetProjectsContentHint11$inboundSchema), - z.lazy(() => GetProjectsContentHint12$inboundSchema), - z.lazy(() => GetProjectsContentHint13$inboundSchema), - z.lazy(() => GetProjectsContentHint15$inboundSchema), - z.lazy(() => GetProjectsContentHint14$inboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => GetProjectsInternalContentHint$inboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), -}); - -/** @internal */ -export type GetProjectsEnv$Outbound = { - target?: Array | string | undefined; - type: string; - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | GetProjectsContentHint1$Outbound - | GetProjectsContentHint2$Outbound - | GetProjectsContentHint3$Outbound - | GetProjectsContentHint4$Outbound - | GetProjectsContentHint5$Outbound - | GetProjectsContentHint6$Outbound - | GetProjectsContentHint7$Outbound - | GetProjectsContentHint8$Outbound - | GetProjectsContentHint9$Outbound - | GetProjectsContentHint10$Outbound - | GetProjectsContentHint11$Outbound - | GetProjectsContentHint12$Outbound - | GetProjectsContentHint13$Outbound - | GetProjectsContentHint15$Outbound - | GetProjectsContentHint14$Outbound - | null - | undefined; - internalContentHint?: - | GetProjectsInternalContentHint$Outbound - | null - | undefined; - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -/** @internal */ -export const GetProjectsEnv$outboundSchema: z.ZodType< - GetProjectsEnv$Outbound, - z.ZodTypeDef, - GetProjectsEnv -> = z.object({ - target: z.union([ - z.array(GetProjectsTarget1$outboundSchema), - GetProjectsTarget2$outboundSchema, - ]).optional(), - type: GetProjectsType$outboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => GetProjectsContentHint1$outboundSchema), - z.lazy(() => GetProjectsContentHint2$outboundSchema), - z.lazy(() => GetProjectsContentHint3$outboundSchema), - z.lazy(() => GetProjectsContentHint4$outboundSchema), - z.lazy(() => GetProjectsContentHint5$outboundSchema), - z.lazy(() => GetProjectsContentHint6$outboundSchema), - z.lazy(() => GetProjectsContentHint7$outboundSchema), - z.lazy(() => GetProjectsContentHint8$outboundSchema), - z.lazy(() => GetProjectsContentHint9$outboundSchema), - z.lazy(() => GetProjectsContentHint10$outboundSchema), - z.lazy(() => GetProjectsContentHint11$outboundSchema), - z.lazy(() => GetProjectsContentHint12$outboundSchema), - z.lazy(() => GetProjectsContentHint13$outboundSchema), - z.lazy(() => GetProjectsContentHint15$outboundSchema), - z.lazy(() => GetProjectsContentHint14$outboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => GetProjectsInternalContentHint$outboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsEnv$ { - /** @deprecated use `GetProjectsEnv$inboundSchema` instead. */ - export const inboundSchema = GetProjectsEnv$inboundSchema; - /** @deprecated use `GetProjectsEnv$outboundSchema` instead. */ - export const outboundSchema = GetProjectsEnv$outboundSchema; - /** @deprecated use `GetProjectsEnv$Outbound` instead. */ - export type Outbound = GetProjectsEnv$Outbound; -} - -export function getProjectsEnvToJSON(getProjectsEnv: GetProjectsEnv): string { - return JSON.stringify(GetProjectsEnv$outboundSchema.parse(getProjectsEnv)); -} - -export function getProjectsEnvFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsEnv$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsEnv' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsCustomEnvironments$inboundSchema: z.ZodType< - GetProjectsCustomEnvironments, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type GetProjectsCustomEnvironments$Outbound = {}; - -/** @internal */ -export const GetProjectsCustomEnvironments$outboundSchema: z.ZodType< - GetProjectsCustomEnvironments$Outbound, - z.ZodTypeDef, - GetProjectsCustomEnvironments -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsCustomEnvironments$ { - /** @deprecated use `GetProjectsCustomEnvironments$inboundSchema` instead. */ - export const inboundSchema = GetProjectsCustomEnvironments$inboundSchema; - /** @deprecated use `GetProjectsCustomEnvironments$outboundSchema` instead. */ - export const outboundSchema = GetProjectsCustomEnvironments$outboundSchema; - /** @deprecated use `GetProjectsCustomEnvironments$Outbound` instead. */ - export type Outbound = GetProjectsCustomEnvironments$Outbound; -} - -export function getProjectsCustomEnvironmentsToJSON( - getProjectsCustomEnvironments: GetProjectsCustomEnvironments, -): string { - return JSON.stringify( - GetProjectsCustomEnvironments$outboundSchema.parse( - getProjectsCustomEnvironments, - ), - ); -} - -export function getProjectsCustomEnvironmentsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsCustomEnvironments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsCustomEnvironments' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsFramework$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsFramework -> = z.nativeEnum(GetProjectsFramework); - -/** @internal */ -export const GetProjectsFramework$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsFramework -> = GetProjectsFramework$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsFramework$ { - /** @deprecated use `GetProjectsFramework$inboundSchema` instead. */ - export const inboundSchema = GetProjectsFramework$inboundSchema; - /** @deprecated use `GetProjectsFramework$outboundSchema` instead. */ - export const outboundSchema = GetProjectsFramework$outboundSchema; -} - -/** @internal */ -export const GetProjectsIpBuckets$inboundSchema: z.ZodType< - GetProjectsIpBuckets, - z.ZodTypeDef, - unknown -> = z.object({ - bucket: z.string(), - supportUntil: z.number().optional(), -}); - -/** @internal */ -export type GetProjectsIpBuckets$Outbound = { - bucket: string; - supportUntil?: number | undefined; -}; - -/** @internal */ -export const GetProjectsIpBuckets$outboundSchema: z.ZodType< - GetProjectsIpBuckets$Outbound, - z.ZodTypeDef, - GetProjectsIpBuckets -> = z.object({ - bucket: z.string(), - supportUntil: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsIpBuckets$ { - /** @deprecated use `GetProjectsIpBuckets$inboundSchema` instead. */ - export const inboundSchema = GetProjectsIpBuckets$inboundSchema; - /** @deprecated use `GetProjectsIpBuckets$outboundSchema` instead. */ - export const outboundSchema = GetProjectsIpBuckets$outboundSchema; - /** @deprecated use `GetProjectsIpBuckets$Outbound` instead. */ - export type Outbound = GetProjectsIpBuckets$Outbound; -} - -export function getProjectsIpBucketsToJSON( - getProjectsIpBuckets: GetProjectsIpBuckets, -): string { - return JSON.stringify( - GetProjectsIpBuckets$outboundSchema.parse(getProjectsIpBuckets), - ); -} - -export function getProjectsIpBucketsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsIpBuckets$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsIpBuckets' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsAliasAssigned$inboundSchema: z.ZodType< - GetProjectsAliasAssigned, - z.ZodTypeDef, - unknown -> = z.union([z.number(), z.boolean()]); - -/** @internal */ -export type GetProjectsAliasAssigned$Outbound = number | boolean; - -/** @internal */ -export const GetProjectsAliasAssigned$outboundSchema: z.ZodType< - GetProjectsAliasAssigned$Outbound, - z.ZodTypeDef, - GetProjectsAliasAssigned -> = z.union([z.number(), z.boolean()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsAliasAssigned$ { - /** @deprecated use `GetProjectsAliasAssigned$inboundSchema` instead. */ - export const inboundSchema = GetProjectsAliasAssigned$inboundSchema; - /** @deprecated use `GetProjectsAliasAssigned$outboundSchema` instead. */ - export const outboundSchema = GetProjectsAliasAssigned$outboundSchema; - /** @deprecated use `GetProjectsAliasAssigned$Outbound` instead. */ - export type Outbound = GetProjectsAliasAssigned$Outbound; -} - -export function getProjectsAliasAssignedToJSON( - getProjectsAliasAssigned: GetProjectsAliasAssigned, -): string { - return JSON.stringify( - GetProjectsAliasAssigned$outboundSchema.parse(getProjectsAliasAssigned), - ); -} - -export function getProjectsAliasAssignedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsAliasAssigned$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsAliasAssigned' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsAliasError$inboundSchema: z.ZodType< - GetProjectsAliasError, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** @internal */ -export type GetProjectsAliasError$Outbound = { - code: string; - message: string; -}; - -/** @internal */ -export const GetProjectsAliasError$outboundSchema: z.ZodType< - GetProjectsAliasError$Outbound, - z.ZodTypeDef, - GetProjectsAliasError -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsAliasError$ { - /** @deprecated use `GetProjectsAliasError$inboundSchema` instead. */ - export const inboundSchema = GetProjectsAliasError$inboundSchema; - /** @deprecated use `GetProjectsAliasError$outboundSchema` instead. */ - export const outboundSchema = GetProjectsAliasError$outboundSchema; - /** @deprecated use `GetProjectsAliasError$Outbound` instead. */ - export type Outbound = GetProjectsAliasError$Outbound; -} - -export function getProjectsAliasErrorToJSON( - getProjectsAliasError: GetProjectsAliasError, -): string { - return JSON.stringify( - GetProjectsAliasError$outboundSchema.parse(getProjectsAliasError), - ); -} - -export function getProjectsAliasErrorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsAliasError$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsAliasError' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - GetProjectsProjectsResponse200ApplicationJSONResponseBodyType, - ); - -/** @internal */ -export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType - > = - GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - -/** @internal */ -export const GetProjectsBranchMatcher$inboundSchema: z.ZodType< - GetProjectsBranchMatcher, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - pattern: z.string(), -}); - -/** @internal */ -export type GetProjectsBranchMatcher$Outbound = { - type: string; - pattern: string; -}; - -/** @internal */ -export const GetProjectsBranchMatcher$outboundSchema: z.ZodType< - GetProjectsBranchMatcher$Outbound, - z.ZodTypeDef, - GetProjectsBranchMatcher -> = z.object({ - type: - GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, - pattern: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsBranchMatcher$ { - /** @deprecated use `GetProjectsBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = GetProjectsBranchMatcher$inboundSchema; - /** @deprecated use `GetProjectsBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = GetProjectsBranchMatcher$outboundSchema; - /** @deprecated use `GetProjectsBranchMatcher$Outbound` instead. */ - export type Outbound = GetProjectsBranchMatcher$Outbound; -} - -export function getProjectsBranchMatcherToJSON( - getProjectsBranchMatcher: GetProjectsBranchMatcher, -): string { - return JSON.stringify( - GetProjectsBranchMatcher$outboundSchema.parse(getProjectsBranchMatcher), - ); -} - -export function getProjectsBranchMatcherFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsBranchMatcher' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsBuilds$inboundSchema: z.ZodType< - GetProjectsBuilds, - z.ZodTypeDef, - unknown -> = z.object({ - use: z.string(), - src: z.string().optional(), - dest: z.string().optional(), -}); - -/** @internal */ -export type GetProjectsBuilds$Outbound = { - use: string; - src?: string | undefined; - dest?: string | undefined; -}; - -/** @internal */ -export const GetProjectsBuilds$outboundSchema: z.ZodType< - GetProjectsBuilds$Outbound, - z.ZodTypeDef, - GetProjectsBuilds -> = z.object({ - use: z.string(), - src: z.string().optional(), - dest: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsBuilds$ { - /** @deprecated use `GetProjectsBuilds$inboundSchema` instead. */ - export const inboundSchema = GetProjectsBuilds$inboundSchema; - /** @deprecated use `GetProjectsBuilds$outboundSchema` instead. */ - export const outboundSchema = GetProjectsBuilds$outboundSchema; - /** @deprecated use `GetProjectsBuilds$Outbound` instead. */ - export type Outbound = GetProjectsBuilds$Outbound; -} - -export function getProjectsBuildsToJSON( - getProjectsBuilds: GetProjectsBuilds, -): string { - return JSON.stringify( - GetProjectsBuilds$outboundSchema.parse(getProjectsBuilds), - ); -} - -export function getProjectsBuildsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsBuilds$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsBuilds' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsChecksConclusion$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsChecksConclusion -> = z.nativeEnum(GetProjectsChecksConclusion); - -/** @internal */ -export const GetProjectsChecksConclusion$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsChecksConclusion -> = GetProjectsChecksConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsChecksConclusion$ { - /** @deprecated use `GetProjectsChecksConclusion$inboundSchema` instead. */ - export const inboundSchema = GetProjectsChecksConclusion$inboundSchema; - /** @deprecated use `GetProjectsChecksConclusion$outboundSchema` instead. */ - export const outboundSchema = GetProjectsChecksConclusion$outboundSchema; -} - -/** @internal */ -export const GetProjectsChecksState$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsChecksState -> = z.nativeEnum(GetProjectsChecksState); - -/** @internal */ -export const GetProjectsChecksState$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsChecksState -> = GetProjectsChecksState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsChecksState$ { - /** @deprecated use `GetProjectsChecksState$inboundSchema` instead. */ - export const inboundSchema = GetProjectsChecksState$inboundSchema; - /** @deprecated use `GetProjectsChecksState$outboundSchema` instead. */ - export const outboundSchema = GetProjectsChecksState$outboundSchema; -} - -/** @internal */ -export const GetProjectsCreator$inboundSchema: z.ZodType< - GetProjectsCreator, - z.ZodTypeDef, - unknown -> = z.object({ - email: z.string(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), - uid: z.string(), - username: z.string(), -}); - -/** @internal */ -export type GetProjectsCreator$Outbound = { - email: string; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; - uid: string; - username: string; -}; - -/** @internal */ -export const GetProjectsCreator$outboundSchema: z.ZodType< - GetProjectsCreator$Outbound, - z.ZodTypeDef, - GetProjectsCreator -> = z.object({ - email: z.string(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), - uid: z.string(), - username: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsCreator$ { - /** @deprecated use `GetProjectsCreator$inboundSchema` instead. */ - export const inboundSchema = GetProjectsCreator$inboundSchema; - /** @deprecated use `GetProjectsCreator$outboundSchema` instead. */ - export const outboundSchema = GetProjectsCreator$outboundSchema; - /** @deprecated use `GetProjectsCreator$Outbound` instead. */ - export type Outbound = GetProjectsCreator$Outbound; -} - -export function getProjectsCreatorToJSON( - getProjectsCreator: GetProjectsCreator, -): string { - return JSON.stringify( - GetProjectsCreator$outboundSchema.parse(getProjectsCreator), - ); -} - -export function getProjectsCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsCreator' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsOidcTokenClaims$inboundSchema: z.ZodType< - GetProjectsOidcTokenClaims, - z.ZodTypeDef, - unknown -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - owner_id: z.string(), - project: z.string(), - project_id: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); - -/** @internal */ -export type GetProjectsOidcTokenClaims$Outbound = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - owner_id: string; - project: string; - project_id: string; - environment: string; -}; - -/** @internal */ -export const GetProjectsOidcTokenClaims$outboundSchema: z.ZodType< - GetProjectsOidcTokenClaims$Outbound, - z.ZodTypeDef, - GetProjectsOidcTokenClaims -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - ownerId: z.string(), - project: z.string(), - projectId: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - ownerId: "owner_id", - projectId: "project_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsOidcTokenClaims$ { - /** @deprecated use `GetProjectsOidcTokenClaims$inboundSchema` instead. */ - export const inboundSchema = GetProjectsOidcTokenClaims$inboundSchema; - /** @deprecated use `GetProjectsOidcTokenClaims$outboundSchema` instead. */ - export const outboundSchema = GetProjectsOidcTokenClaims$outboundSchema; - /** @deprecated use `GetProjectsOidcTokenClaims$Outbound` instead. */ - export type Outbound = GetProjectsOidcTokenClaims$Outbound; -} - -export function getProjectsOidcTokenClaimsToJSON( - getProjectsOidcTokenClaims: GetProjectsOidcTokenClaims, -): string { - return JSON.stringify( - GetProjectsOidcTokenClaims$outboundSchema.parse(getProjectsOidcTokenClaims), - ); -} - -export function getProjectsOidcTokenClaimsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsOidcTokenClaims' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsPlan$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsPlan -> = z.nativeEnum(GetProjectsPlan); - -/** @internal */ -export const GetProjectsPlan$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsPlan -> = GetProjectsPlan$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsPlan$ { - /** @deprecated use `GetProjectsPlan$inboundSchema` instead. */ - export const inboundSchema = GetProjectsPlan$inboundSchema; - /** @deprecated use `GetProjectsPlan$outboundSchema` instead. */ - export const outboundSchema = GetProjectsPlan$outboundSchema; -} - -/** @internal */ -export const GetProjectsReadyState$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsReadyState -> = z.nativeEnum(GetProjectsReadyState); - -/** @internal */ -export const GetProjectsReadyState$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsReadyState -> = GetProjectsReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsReadyState$ { - /** @deprecated use `GetProjectsReadyState$inboundSchema` instead. */ - export const inboundSchema = GetProjectsReadyState$inboundSchema; - /** @deprecated use `GetProjectsReadyState$outboundSchema` instead. */ - export const outboundSchema = GetProjectsReadyState$outboundSchema; -} - -/** @internal */ -export const GetProjectsReadySubstate$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsReadySubstate -> = z.nativeEnum(GetProjectsReadySubstate); - -/** @internal */ -export const GetProjectsReadySubstate$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsReadySubstate -> = GetProjectsReadySubstate$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsReadySubstate$ { - /** @deprecated use `GetProjectsReadySubstate$inboundSchema` instead. */ - export const inboundSchema = GetProjectsReadySubstate$inboundSchema; - /** @deprecated use `GetProjectsReadySubstate$outboundSchema` instead. */ - export const outboundSchema = GetProjectsReadySubstate$outboundSchema; -} - -/** @internal */ -export const GetProjectsProjectsType$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsType -> = z.nativeEnum(GetProjectsProjectsType); - -/** @internal */ -export const GetProjectsProjectsType$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsType -> = GetProjectsProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsType$ { - /** @deprecated use `GetProjectsProjectsType$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjectsType$inboundSchema; - /** @deprecated use `GetProjectsProjectsType$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProjectsType$outboundSchema; -} - -/** @internal */ -export const GetProjectsLatestDeployments$inboundSchema: z.ZodType< - GetProjectsLatestDeployments, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - aliasError: z.nullable(z.lazy(() => GetProjectsAliasError$inboundSchema)) - .optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - branchMatcher: z.lazy(() => GetProjectsBranchMatcher$inboundSchema) - .optional(), - buildingAt: z.number().optional(), - builds: z.array(z.lazy(() => GetProjectsBuilds$inboundSchema)).optional(), - checksConclusion: GetProjectsChecksConclusion$inboundSchema.optional(), - checksState: GetProjectsChecksState$inboundSchema.optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdAt: z.number(), - createdIn: z.string(), - creator: z.nullable(z.lazy(() => GetProjectsCreator$inboundSchema)), - deletedAt: z.number().optional(), - deploymentHostname: z.string(), - forced: z.boolean().optional(), - name: z.string(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - oidcTokenClaims: z.lazy(() => GetProjectsOidcTokenClaims$inboundSchema) - .optional(), - plan: GetProjectsPlan$inboundSchema, - previewCommentsEnabled: z.boolean().optional(), - private: z.boolean(), - readyAt: z.number().optional(), - readyState: GetProjectsReadyState$inboundSchema, - readySubstate: GetProjectsReadySubstate$inboundSchema.optional(), - requestedAt: z.number().optional(), - target: z.nullable(z.string()).optional(), - teamId: z.nullable(z.string()).optional(), - type: GetProjectsProjectsType$inboundSchema, - url: z.string(), - userId: z.string(), - withCache: z.boolean().optional(), -}); - -/** @internal */ -export type GetProjectsLatestDeployments$Outbound = { - id: string; - alias?: Array | undefined; - aliasAssigned?: number | boolean | null | undefined; - aliasError?: GetProjectsAliasError$Outbound | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - branchMatcher?: GetProjectsBranchMatcher$Outbound | undefined; - buildingAt?: number | undefined; - builds?: Array | undefined; - checksConclusion?: string | undefined; - checksState?: string | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdAt: number; - createdIn: string; - creator: GetProjectsCreator$Outbound | null; - deletedAt?: number | undefined; - deploymentHostname: string; - forced?: boolean | undefined; - name: string; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - oidcTokenClaims?: GetProjectsOidcTokenClaims$Outbound | undefined; - plan: string; - previewCommentsEnabled?: boolean | undefined; - private: boolean; - readyAt?: number | undefined; - readyState: string; - readySubstate?: string | undefined; - requestedAt?: number | undefined; - target?: string | null | undefined; - teamId?: string | null | undefined; - type: string; - url: string; - userId: string; - withCache?: boolean | undefined; -}; - -/** @internal */ -export const GetProjectsLatestDeployments$outboundSchema: z.ZodType< - GetProjectsLatestDeployments$Outbound, - z.ZodTypeDef, - GetProjectsLatestDeployments -> = z.object({ - id: z.string(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - aliasError: z.nullable(z.lazy(() => GetProjectsAliasError$outboundSchema)) - .optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - branchMatcher: z.lazy(() => GetProjectsBranchMatcher$outboundSchema) - .optional(), - buildingAt: z.number().optional(), - builds: z.array(z.lazy(() => GetProjectsBuilds$outboundSchema)).optional(), - checksConclusion: GetProjectsChecksConclusion$outboundSchema.optional(), - checksState: GetProjectsChecksState$outboundSchema.optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdAt: z.number(), - createdIn: z.string(), - creator: z.nullable(z.lazy(() => GetProjectsCreator$outboundSchema)), - deletedAt: z.number().optional(), - deploymentHostname: z.string(), - forced: z.boolean().optional(), - name: z.string(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - oidcTokenClaims: z.lazy(() => GetProjectsOidcTokenClaims$outboundSchema) - .optional(), - plan: GetProjectsPlan$outboundSchema, - previewCommentsEnabled: z.boolean().optional(), - private: z.boolean(), - readyAt: z.number().optional(), - readyState: GetProjectsReadyState$outboundSchema, - readySubstate: GetProjectsReadySubstate$outboundSchema.optional(), - requestedAt: z.number().optional(), - target: z.nullable(z.string()).optional(), - teamId: z.nullable(z.string()).optional(), - type: GetProjectsProjectsType$outboundSchema, - url: z.string(), - userId: z.string(), - withCache: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLatestDeployments$ { - /** @deprecated use `GetProjectsLatestDeployments$inboundSchema` instead. */ - export const inboundSchema = GetProjectsLatestDeployments$inboundSchema; - /** @deprecated use `GetProjectsLatestDeployments$outboundSchema` instead. */ - export const outboundSchema = GetProjectsLatestDeployments$outboundSchema; - /** @deprecated use `GetProjectsLatestDeployments$Outbound` instead. */ - export type Outbound = GetProjectsLatestDeployments$Outbound; -} - -export function getProjectsLatestDeploymentsToJSON( - getProjectsLatestDeployments: GetProjectsLatestDeployments, -): string { - return JSON.stringify( - GetProjectsLatestDeployments$outboundSchema.parse( - getProjectsLatestDeployments, - ), - ); -} - -export function getProjectsLatestDeploymentsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsLatestDeployments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsLatestDeployments' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsLinkProjectsResponseType$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsLinkProjectsResponseType -> = z.nativeEnum(GetProjectsLinkProjectsResponseType); - -/** @internal */ -export const GetProjectsLinkProjectsResponseType$outboundSchema: - z.ZodNativeEnum = - GetProjectsLinkProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLinkProjectsResponseType$ { - /** @deprecated use `GetProjectsLinkProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsLinkProjectsResponseType$inboundSchema; - /** @deprecated use `GetProjectsLinkProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsLinkProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const GetProjectsLinkProjectsResponseDeployHooks$inboundSchema: - z.ZodType = - z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), - }); - -/** @internal */ -export type GetProjectsLinkProjectsResponseDeployHooks$Outbound = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -/** @internal */ -export const GetProjectsLinkProjectsResponseDeployHooks$outboundSchema: - z.ZodType< - GetProjectsLinkProjectsResponseDeployHooks$Outbound, - z.ZodTypeDef, - GetProjectsLinkProjectsResponseDeployHooks - > = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLinkProjectsResponseDeployHooks$ { - /** @deprecated use `GetProjectsLinkProjectsResponseDeployHooks$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsLinkProjectsResponseDeployHooks$inboundSchema; - /** @deprecated use `GetProjectsLinkProjectsResponseDeployHooks$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsLinkProjectsResponseDeployHooks$outboundSchema; - /** @deprecated use `GetProjectsLinkProjectsResponseDeployHooks$Outbound` instead. */ - export type Outbound = GetProjectsLinkProjectsResponseDeployHooks$Outbound; -} - -export function getProjectsLinkProjectsResponseDeployHooksToJSON( - getProjectsLinkProjectsResponseDeployHooks: - GetProjectsLinkProjectsResponseDeployHooks, -): string { - return JSON.stringify( - GetProjectsLinkProjectsResponseDeployHooks$outboundSchema.parse( - getProjectsLinkProjectsResponseDeployHooks, - ), - ); -} - -export function getProjectsLinkProjectsResponseDeployHooksFromJSON( - jsonString: string, -): SafeParseResult< - GetProjectsLinkProjectsResponseDeployHooks, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - GetProjectsLinkProjectsResponseDeployHooks$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'GetProjectsLinkProjectsResponseDeployHooks' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsLink3$inboundSchema: z.ZodType< - GetProjectsLink3, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string().optional(), - slug: z.string().optional(), - owner: z.string().optional(), - type: GetProjectsLinkProjectsResponseType$inboundSchema.optional(), - uuid: z.string().optional(), - workspaceUuid: z.string().optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => GetProjectsLinkProjectsResponseDeployHooks$inboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** @internal */ -export type GetProjectsLink3$Outbound = { - name?: string | undefined; - slug?: string | undefined; - owner?: string | undefined; - type?: string | undefined; - uuid?: string | undefined; - workspaceUuid?: string | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -/** @internal */ -export const GetProjectsLink3$outboundSchema: z.ZodType< - GetProjectsLink3$Outbound, - z.ZodTypeDef, - GetProjectsLink3 -> = z.object({ - name: z.string().optional(), - slug: z.string().optional(), - owner: z.string().optional(), - type: GetProjectsLinkProjectsResponseType$outboundSchema.optional(), - uuid: z.string().optional(), - workspaceUuid: z.string().optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => GetProjectsLinkProjectsResponseDeployHooks$outboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLink3$ { - /** @deprecated use `GetProjectsLink3$inboundSchema` instead. */ - export const inboundSchema = GetProjectsLink3$inboundSchema; - /** @deprecated use `GetProjectsLink3$outboundSchema` instead. */ - export const outboundSchema = GetProjectsLink3$outboundSchema; - /** @deprecated use `GetProjectsLink3$Outbound` instead. */ - export type Outbound = GetProjectsLink3$Outbound; -} - -export function getProjectsLink3ToJSON( - getProjectsLink3: GetProjectsLink3, -): string { - return JSON.stringify( - GetProjectsLink3$outboundSchema.parse(getProjectsLink3), - ); -} - -export function getProjectsLink3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsLink3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsLink3' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsLinkProjectsType$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsLinkProjectsType -> = z.nativeEnum(GetProjectsLinkProjectsType); - -/** @internal */ -export const GetProjectsLinkProjectsType$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsLinkProjectsType -> = GetProjectsLinkProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLinkProjectsType$ { - /** @deprecated use `GetProjectsLinkProjectsType$inboundSchema` instead. */ - export const inboundSchema = GetProjectsLinkProjectsType$inboundSchema; - /** @deprecated use `GetProjectsLinkProjectsType$outboundSchema` instead. */ - export const outboundSchema = GetProjectsLinkProjectsType$outboundSchema; -} - -/** @internal */ -export const GetProjectsLinkProjectsDeployHooks$inboundSchema: z.ZodType< - GetProjectsLinkProjectsDeployHooks, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** @internal */ -export type GetProjectsLinkProjectsDeployHooks$Outbound = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -/** @internal */ -export const GetProjectsLinkProjectsDeployHooks$outboundSchema: z.ZodType< - GetProjectsLinkProjectsDeployHooks$Outbound, - z.ZodTypeDef, - GetProjectsLinkProjectsDeployHooks -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLinkProjectsDeployHooks$ { - /** @deprecated use `GetProjectsLinkProjectsDeployHooks$inboundSchema` instead. */ - export const inboundSchema = GetProjectsLinkProjectsDeployHooks$inboundSchema; - /** @deprecated use `GetProjectsLinkProjectsDeployHooks$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsLinkProjectsDeployHooks$outboundSchema; - /** @deprecated use `GetProjectsLinkProjectsDeployHooks$Outbound` instead. */ - export type Outbound = GetProjectsLinkProjectsDeployHooks$Outbound; -} - -export function getProjectsLinkProjectsDeployHooksToJSON( - getProjectsLinkProjectsDeployHooks: GetProjectsLinkProjectsDeployHooks, -): string { - return JSON.stringify( - GetProjectsLinkProjectsDeployHooks$outboundSchema.parse( - getProjectsLinkProjectsDeployHooks, - ), - ); -} - -export function getProjectsLinkProjectsDeployHooksFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetProjectsLinkProjectsDeployHooks$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsLinkProjectsDeployHooks' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsLink2$inboundSchema: z.ZodType< - GetProjectsLink2, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string().optional(), - projectName: z.string().optional(), - projectNameWithNamespace: z.string().optional(), - projectNamespace: z.string().optional(), - projectOwnerId: z.number().optional(), - projectUrl: z.string().optional(), - type: GetProjectsLinkProjectsType$inboundSchema.optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => GetProjectsLinkProjectsDeployHooks$inboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** @internal */ -export type GetProjectsLink2$Outbound = { - projectId?: string | undefined; - projectName?: string | undefined; - projectNameWithNamespace?: string | undefined; - projectNamespace?: string | undefined; - projectOwnerId?: number | undefined; - projectUrl?: string | undefined; - type?: string | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -/** @internal */ -export const GetProjectsLink2$outboundSchema: z.ZodType< - GetProjectsLink2$Outbound, - z.ZodTypeDef, - GetProjectsLink2 -> = z.object({ - projectId: z.string().optional(), - projectName: z.string().optional(), - projectNameWithNamespace: z.string().optional(), - projectNamespace: z.string().optional(), - projectOwnerId: z.number().optional(), - projectUrl: z.string().optional(), - type: GetProjectsLinkProjectsType$outboundSchema.optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => GetProjectsLinkProjectsDeployHooks$outboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLink2$ { - /** @deprecated use `GetProjectsLink2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsLink2$inboundSchema; - /** @deprecated use `GetProjectsLink2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsLink2$outboundSchema; - /** @deprecated use `GetProjectsLink2$Outbound` instead. */ - export type Outbound = GetProjectsLink2$Outbound; -} - -export function getProjectsLink2ToJSON( - getProjectsLink2: GetProjectsLink2, -): string { - return JSON.stringify( - GetProjectsLink2$outboundSchema.parse(getProjectsLink2), - ); -} - -export function getProjectsLink2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsLink2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsLink2' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsLinkType$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsLinkType -> = z.nativeEnum(GetProjectsLinkType); - -/** @internal */ -export const GetProjectsLinkType$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsLinkType -> = GetProjectsLinkType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLinkType$ { - /** @deprecated use `GetProjectsLinkType$inboundSchema` instead. */ - export const inboundSchema = GetProjectsLinkType$inboundSchema; - /** @deprecated use `GetProjectsLinkType$outboundSchema` instead. */ - export const outboundSchema = GetProjectsLinkType$outboundSchema; -} - -/** @internal */ -export const GetProjectsLinkDeployHooks$inboundSchema: z.ZodType< - GetProjectsLinkDeployHooks, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** @internal */ -export type GetProjectsLinkDeployHooks$Outbound = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -/** @internal */ -export const GetProjectsLinkDeployHooks$outboundSchema: z.ZodType< - GetProjectsLinkDeployHooks$Outbound, - z.ZodTypeDef, - GetProjectsLinkDeployHooks -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLinkDeployHooks$ { - /** @deprecated use `GetProjectsLinkDeployHooks$inboundSchema` instead. */ - export const inboundSchema = GetProjectsLinkDeployHooks$inboundSchema; - /** @deprecated use `GetProjectsLinkDeployHooks$outboundSchema` instead. */ - export const outboundSchema = GetProjectsLinkDeployHooks$outboundSchema; - /** @deprecated use `GetProjectsLinkDeployHooks$Outbound` instead. */ - export type Outbound = GetProjectsLinkDeployHooks$Outbound; -} - -export function getProjectsLinkDeployHooksToJSON( - getProjectsLinkDeployHooks: GetProjectsLinkDeployHooks, -): string { - return JSON.stringify( - GetProjectsLinkDeployHooks$outboundSchema.parse(getProjectsLinkDeployHooks), - ); -} - -export function getProjectsLinkDeployHooksFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsLinkDeployHooks$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsLinkDeployHooks' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsLink1$inboundSchema: z.ZodType< - GetProjectsLink1, - z.ZodTypeDef, - unknown -> = z.object({ - org: z.string().optional(), - repoOwnerId: z.number().optional(), - repo: z.string().optional(), - repoId: z.number().optional(), - type: GetProjectsLinkType$inboundSchema.optional(), - createdAt: z.number().optional(), - deployHooks: z.array(z.lazy(() => GetProjectsLinkDeployHooks$inboundSchema)), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** @internal */ -export type GetProjectsLink1$Outbound = { - org?: string | undefined; - repoOwnerId?: number | undefined; - repo?: string | undefined; - repoId?: number | undefined; - type?: string | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -/** @internal */ -export const GetProjectsLink1$outboundSchema: z.ZodType< - GetProjectsLink1$Outbound, - z.ZodTypeDef, - GetProjectsLink1 -> = z.object({ - org: z.string().optional(), - repoOwnerId: z.number().optional(), - repo: z.string().optional(), - repoId: z.number().optional(), - type: GetProjectsLinkType$outboundSchema.optional(), - createdAt: z.number().optional(), - deployHooks: z.array(z.lazy(() => GetProjectsLinkDeployHooks$outboundSchema)), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLink1$ { - /** @deprecated use `GetProjectsLink1$inboundSchema` instead. */ - export const inboundSchema = GetProjectsLink1$inboundSchema; - /** @deprecated use `GetProjectsLink1$outboundSchema` instead. */ - export const outboundSchema = GetProjectsLink1$outboundSchema; - /** @deprecated use `GetProjectsLink1$Outbound` instead. */ - export type Outbound = GetProjectsLink1$Outbound; -} - -export function getProjectsLink1ToJSON( - getProjectsLink1: GetProjectsLink1, -): string { - return JSON.stringify( - GetProjectsLink1$outboundSchema.parse(getProjectsLink1), - ); -} - -export function getProjectsLink1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsLink1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsLink1' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsLink$inboundSchema: z.ZodType< - GetProjectsLink, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetProjectsLink1$inboundSchema), - z.lazy(() => GetProjectsLink3$inboundSchema), - z.lazy(() => GetProjectsLink2$inboundSchema), -]); - -/** @internal */ -export type GetProjectsLink$Outbound = - | GetProjectsLink1$Outbound - | GetProjectsLink3$Outbound - | GetProjectsLink2$Outbound; - -/** @internal */ -export const GetProjectsLink$outboundSchema: z.ZodType< - GetProjectsLink$Outbound, - z.ZodTypeDef, - GetProjectsLink -> = z.union([ - z.lazy(() => GetProjectsLink1$outboundSchema), - z.lazy(() => GetProjectsLink3$outboundSchema), - z.lazy(() => GetProjectsLink2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLink$ { - /** @deprecated use `GetProjectsLink$inboundSchema` instead. */ - export const inboundSchema = GetProjectsLink$inboundSchema; - /** @deprecated use `GetProjectsLink$outboundSchema` instead. */ - export const outboundSchema = GetProjectsLink$outboundSchema; - /** @deprecated use `GetProjectsLink$Outbound` instead. */ - export type Outbound = GetProjectsLink$Outbound; -} - -export function getProjectsLinkToJSON( - getProjectsLink: GetProjectsLink, -): string { - return JSON.stringify(GetProjectsLink$outboundSchema.parse(getProjectsLink)); -} - -export function getProjectsLinkFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsLink$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsLink' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsMicrofrontends$inboundSchema: z.ZodType< - GetProjectsMicrofrontends, - z.ZodTypeDef, - unknown -> = z.object({ - updatedAt: z.number(), - groupIds: z.array(z.string()), - enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), -}); - -/** @internal */ -export type GetProjectsMicrofrontends$Outbound = { - updatedAt: number; - groupIds: Array; - enabled: boolean; - isDefaultApp?: boolean | undefined; - defaultRoute?: string | undefined; -}; - -/** @internal */ -export const GetProjectsMicrofrontends$outboundSchema: z.ZodType< - GetProjectsMicrofrontends$Outbound, - z.ZodTypeDef, - GetProjectsMicrofrontends -> = z.object({ - updatedAt: z.number(), - groupIds: z.array(z.string()), - enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsMicrofrontends$ { - /** @deprecated use `GetProjectsMicrofrontends$inboundSchema` instead. */ - export const inboundSchema = GetProjectsMicrofrontends$inboundSchema; - /** @deprecated use `GetProjectsMicrofrontends$outboundSchema` instead. */ - export const outboundSchema = GetProjectsMicrofrontends$outboundSchema; - /** @deprecated use `GetProjectsMicrofrontends$Outbound` instead. */ - export type Outbound = GetProjectsMicrofrontends$Outbound; -} - -export function getProjectsMicrofrontendsToJSON( - getProjectsMicrofrontends: GetProjectsMicrofrontends, -): string { - return JSON.stringify( - GetProjectsMicrofrontends$outboundSchema.parse(getProjectsMicrofrontends), - ); -} - -export function getProjectsMicrofrontendsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsMicrofrontends$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsMicrofrontends' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsNodeVersion$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsNodeVersion -> = z.nativeEnum(GetProjectsNodeVersion); - -/** @internal */ -export const GetProjectsNodeVersion$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsNodeVersion -> = GetProjectsNodeVersion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsNodeVersion$ { - /** @deprecated use `GetProjectsNodeVersion$inboundSchema` instead. */ - export const inboundSchema = GetProjectsNodeVersion$inboundSchema; - /** @deprecated use `GetProjectsNodeVersion$outboundSchema` instead. */ - export const outboundSchema = GetProjectsNodeVersion$outboundSchema; -} - -/** @internal */ -export const GetProjectsPaths$inboundSchema: z.ZodType< - GetProjectsPaths, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.string(), -}); - -/** @internal */ -export type GetProjectsPaths$Outbound = { - value: string; -}; - -/** @internal */ -export const GetProjectsPaths$outboundSchema: z.ZodType< - GetProjectsPaths$Outbound, - z.ZodTypeDef, - GetProjectsPaths -> = z.object({ - value: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsPaths$ { - /** @deprecated use `GetProjectsPaths$inboundSchema` instead. */ - export const inboundSchema = GetProjectsPaths$inboundSchema; - /** @deprecated use `GetProjectsPaths$outboundSchema` instead. */ - export const outboundSchema = GetProjectsPaths$outboundSchema; - /** @deprecated use `GetProjectsPaths$Outbound` instead. */ - export type Outbound = GetProjectsPaths$Outbound; -} - -export function getProjectsPathsToJSON( - getProjectsPaths: GetProjectsPaths, -): string { - return JSON.stringify( - GetProjectsPaths$outboundSchema.parse(getProjectsPaths), - ); -} - -export function getProjectsPathsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsPaths$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsPaths' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsOptionsAllowlist$inboundSchema: z.ZodType< - GetProjectsOptionsAllowlist, - z.ZodTypeDef, - unknown -> = z.object({ - paths: z.array(z.lazy(() => GetProjectsPaths$inboundSchema)), -}); - -/** @internal */ -export type GetProjectsOptionsAllowlist$Outbound = { - paths: Array; -}; - -/** @internal */ -export const GetProjectsOptionsAllowlist$outboundSchema: z.ZodType< - GetProjectsOptionsAllowlist$Outbound, - z.ZodTypeDef, - GetProjectsOptionsAllowlist -> = z.object({ - paths: z.array(z.lazy(() => GetProjectsPaths$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsOptionsAllowlist$ { - /** @deprecated use `GetProjectsOptionsAllowlist$inboundSchema` instead. */ - export const inboundSchema = GetProjectsOptionsAllowlist$inboundSchema; - /** @deprecated use `GetProjectsOptionsAllowlist$outboundSchema` instead. */ - export const outboundSchema = GetProjectsOptionsAllowlist$outboundSchema; - /** @deprecated use `GetProjectsOptionsAllowlist$Outbound` instead. */ - export type Outbound = GetProjectsOptionsAllowlist$Outbound; -} - -export function getProjectsOptionsAllowlistToJSON( - getProjectsOptionsAllowlist: GetProjectsOptionsAllowlist, -): string { - return JSON.stringify( - GetProjectsOptionsAllowlist$outboundSchema.parse( - getProjectsOptionsAllowlist, - ), - ); -} - -export function getProjectsOptionsAllowlistFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsOptionsAllowlist$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsOptionsAllowlist' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsPasswordProtection$inboundSchema: z.ZodType< - GetProjectsPasswordProtection, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type GetProjectsPasswordProtection$Outbound = {}; - -/** @internal */ -export const GetProjectsPasswordProtection$outboundSchema: z.ZodType< - GetProjectsPasswordProtection$Outbound, - z.ZodTypeDef, - GetProjectsPasswordProtection -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsPasswordProtection$ { - /** @deprecated use `GetProjectsPasswordProtection$inboundSchema` instead. */ - export const inboundSchema = GetProjectsPasswordProtection$inboundSchema; - /** @deprecated use `GetProjectsPasswordProtection$outboundSchema` instead. */ - export const outboundSchema = GetProjectsPasswordProtection$outboundSchema; - /** @deprecated use `GetProjectsPasswordProtection$Outbound` instead. */ - export type Outbound = GetProjectsPasswordProtection$Outbound; -} - -export function getProjectsPasswordProtectionToJSON( - getProjectsPasswordProtection: GetProjectsPasswordProtection, -): string { - return JSON.stringify( - GetProjectsPasswordProtection$outboundSchema.parse( - getProjectsPasswordProtection, - ), - ); -} - -export function getProjectsPasswordProtectionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsPasswordProtection$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsPasswordProtection' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsFunctionDefaultMemoryType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectsFunctionDefaultMemoryType, - ); - -/** @internal */ -export const GetProjectsFunctionDefaultMemoryType$outboundSchema: - z.ZodNativeEnum = - GetProjectsFunctionDefaultMemoryType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsFunctionDefaultMemoryType$ { - /** @deprecated use `GetProjectsFunctionDefaultMemoryType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsFunctionDefaultMemoryType$inboundSchema; - /** @deprecated use `GetProjectsFunctionDefaultMemoryType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsFunctionDefaultMemoryType$outboundSchema; -} - -/** @internal */ -export const GetProjectsResourceConfig$inboundSchema: z.ZodType< - GetProjectsResourceConfig, - z.ZodTypeDef, - unknown -> = z.object({ - functionDefaultTimeout: z.number().optional(), - functionDefaultMemoryType: GetProjectsFunctionDefaultMemoryType$inboundSchema - .optional(), - allowServerlessConcurrency: z.boolean().optional(), - elasticConcurrencyEnabled: z.boolean().optional(), -}); - -/** @internal */ -export type GetProjectsResourceConfig$Outbound = { - functionDefaultTimeout?: number | undefined; - functionDefaultMemoryType?: string | undefined; - allowServerlessConcurrency?: boolean | undefined; - elasticConcurrencyEnabled?: boolean | undefined; -}; - -/** @internal */ -export const GetProjectsResourceConfig$outboundSchema: z.ZodType< - GetProjectsResourceConfig$Outbound, - z.ZodTypeDef, - GetProjectsResourceConfig -> = z.object({ - functionDefaultTimeout: z.number().optional(), - functionDefaultMemoryType: GetProjectsFunctionDefaultMemoryType$outboundSchema - .optional(), - allowServerlessConcurrency: z.boolean().optional(), - elasticConcurrencyEnabled: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsResourceConfig$ { - /** @deprecated use `GetProjectsResourceConfig$inboundSchema` instead. */ - export const inboundSchema = GetProjectsResourceConfig$inboundSchema; - /** @deprecated use `GetProjectsResourceConfig$outboundSchema` instead. */ - export const outboundSchema = GetProjectsResourceConfig$outboundSchema; - /** @deprecated use `GetProjectsResourceConfig$Outbound` instead. */ - export type Outbound = GetProjectsResourceConfig$Outbound; -} - -export function getProjectsResourceConfigToJSON( - getProjectsResourceConfig: GetProjectsResourceConfig, -): string { - return JSON.stringify( - GetProjectsResourceConfig$outboundSchema.parse(getProjectsResourceConfig), - ); -} - -export function getProjectsResourceConfigFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsResourceConfig$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsResourceConfig' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsDeploymentType$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsDeploymentType -> = z.nativeEnum(GetProjectsDeploymentType); - -/** @internal */ -export const GetProjectsDeploymentType$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsDeploymentType -> = GetProjectsDeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsDeploymentType$ { - /** @deprecated use `GetProjectsDeploymentType$inboundSchema` instead. */ - export const inboundSchema = GetProjectsDeploymentType$inboundSchema; - /** @deprecated use `GetProjectsDeploymentType$outboundSchema` instead. */ - export const outboundSchema = GetProjectsDeploymentType$outboundSchema; -} - -/** @internal */ -export const GetProjectsSsoProtection$inboundSchema: z.ZodType< - GetProjectsSsoProtection, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentType: GetProjectsDeploymentType$inboundSchema, -}); - -/** @internal */ -export type GetProjectsSsoProtection$Outbound = { - deploymentType: string; -}; - -/** @internal */ -export const GetProjectsSsoProtection$outboundSchema: z.ZodType< - GetProjectsSsoProtection$Outbound, - z.ZodTypeDef, - GetProjectsSsoProtection -> = z.object({ - deploymentType: GetProjectsDeploymentType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsSsoProtection$ { - /** @deprecated use `GetProjectsSsoProtection$inboundSchema` instead. */ - export const inboundSchema = GetProjectsSsoProtection$inboundSchema; - /** @deprecated use `GetProjectsSsoProtection$outboundSchema` instead. */ - export const outboundSchema = GetProjectsSsoProtection$outboundSchema; - /** @deprecated use `GetProjectsSsoProtection$Outbound` instead. */ - export type Outbound = GetProjectsSsoProtection$Outbound; -} - -export function getProjectsSsoProtectionToJSON( - getProjectsSsoProtection: GetProjectsSsoProtection, -): string { - return JSON.stringify( - GetProjectsSsoProtection$outboundSchema.parse(getProjectsSsoProtection), - ); -} - -export function getProjectsSsoProtectionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsSsoProtection$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsSsoProtection' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsProjectsAliasAssigned$inboundSchema: z.ZodType< - GetProjectsProjectsAliasAssigned, - z.ZodTypeDef, - unknown -> = z.union([z.number(), z.boolean()]); - -/** @internal */ -export type GetProjectsProjectsAliasAssigned$Outbound = number | boolean; - -/** @internal */ -export const GetProjectsProjectsAliasAssigned$outboundSchema: z.ZodType< - GetProjectsProjectsAliasAssigned$Outbound, - z.ZodTypeDef, - GetProjectsProjectsAliasAssigned -> = z.union([z.number(), z.boolean()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsAliasAssigned$ { - /** @deprecated use `GetProjectsProjectsAliasAssigned$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjectsAliasAssigned$inboundSchema; - /** @deprecated use `GetProjectsProjectsAliasAssigned$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProjectsAliasAssigned$outboundSchema; - /** @deprecated use `GetProjectsProjectsAliasAssigned$Outbound` instead. */ - export type Outbound = GetProjectsProjectsAliasAssigned$Outbound; -} - -export function getProjectsProjectsAliasAssignedToJSON( - getProjectsProjectsAliasAssigned: GetProjectsProjectsAliasAssigned, -): string { - return JSON.stringify( - GetProjectsProjectsAliasAssigned$outboundSchema.parse( - getProjectsProjectsAliasAssigned, - ), - ); -} - -export function getProjectsProjectsAliasAssignedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsProjectsAliasAssigned$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsProjectsAliasAssigned' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsProjectsAliasError$inboundSchema: z.ZodType< - GetProjectsProjectsAliasError, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** @internal */ -export type GetProjectsProjectsAliasError$Outbound = { - code: string; - message: string; -}; - -/** @internal */ -export const GetProjectsProjectsAliasError$outboundSchema: z.ZodType< - GetProjectsProjectsAliasError$Outbound, - z.ZodTypeDef, - GetProjectsProjectsAliasError -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsAliasError$ { - /** @deprecated use `GetProjectsProjectsAliasError$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjectsAliasError$inboundSchema; - /** @deprecated use `GetProjectsProjectsAliasError$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProjectsAliasError$outboundSchema; - /** @deprecated use `GetProjectsProjectsAliasError$Outbound` instead. */ - export type Outbound = GetProjectsProjectsAliasError$Outbound; -} - -export function getProjectsProjectsAliasErrorToJSON( - getProjectsProjectsAliasError: GetProjectsProjectsAliasError, -): string { - return JSON.stringify( - GetProjectsProjectsAliasError$outboundSchema.parse( - getProjectsProjectsAliasError, - ), - ); -} - -export function getProjectsProjectsAliasErrorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsProjectsAliasError$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsProjectsAliasError' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsProjectsResponse200ApplicationJSONType); - -/** @internal */ -export const GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum = - GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const GetProjectsProjectsBranchMatcher$inboundSchema: z.ZodType< - GetProjectsProjectsBranchMatcher, - z.ZodTypeDef, - unknown -> = z.object({ - type: GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema, - pattern: z.string(), -}); - -/** @internal */ -export type GetProjectsProjectsBranchMatcher$Outbound = { - type: string; - pattern: string; -}; - -/** @internal */ -export const GetProjectsProjectsBranchMatcher$outboundSchema: z.ZodType< - GetProjectsProjectsBranchMatcher$Outbound, - z.ZodTypeDef, - GetProjectsProjectsBranchMatcher -> = z.object({ - type: GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema, - pattern: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsBranchMatcher$ { - /** @deprecated use `GetProjectsProjectsBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjectsBranchMatcher$inboundSchema; - /** @deprecated use `GetProjectsProjectsBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProjectsBranchMatcher$outboundSchema; - /** @deprecated use `GetProjectsProjectsBranchMatcher$Outbound` instead. */ - export type Outbound = GetProjectsProjectsBranchMatcher$Outbound; -} - -export function getProjectsProjectsBranchMatcherToJSON( - getProjectsProjectsBranchMatcher: GetProjectsProjectsBranchMatcher, -): string { - return JSON.stringify( - GetProjectsProjectsBranchMatcher$outboundSchema.parse( - getProjectsProjectsBranchMatcher, - ), - ); -} - -export function getProjectsProjectsBranchMatcherFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsProjectsBranchMatcher' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsProjectsBuilds$inboundSchema: z.ZodType< - GetProjectsProjectsBuilds, - z.ZodTypeDef, - unknown -> = z.object({ - use: z.string(), - src: z.string().optional(), - dest: z.string().optional(), -}); - -/** @internal */ -export type GetProjectsProjectsBuilds$Outbound = { - use: string; - src?: string | undefined; - dest?: string | undefined; -}; - -/** @internal */ -export const GetProjectsProjectsBuilds$outboundSchema: z.ZodType< - GetProjectsProjectsBuilds$Outbound, - z.ZodTypeDef, - GetProjectsProjectsBuilds -> = z.object({ - use: z.string(), - src: z.string().optional(), - dest: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsBuilds$ { - /** @deprecated use `GetProjectsProjectsBuilds$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjectsBuilds$inboundSchema; - /** @deprecated use `GetProjectsProjectsBuilds$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProjectsBuilds$outboundSchema; - /** @deprecated use `GetProjectsProjectsBuilds$Outbound` instead. */ - export type Outbound = GetProjectsProjectsBuilds$Outbound; -} - -export function getProjectsProjectsBuildsToJSON( - getProjectsProjectsBuilds: GetProjectsProjectsBuilds, -): string { - return JSON.stringify( - GetProjectsProjectsBuilds$outboundSchema.parse(getProjectsProjectsBuilds), - ); -} - -export function getProjectsProjectsBuildsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsProjectsBuilds$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsProjectsBuilds' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsProjectsChecksConclusion$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsChecksConclusion -> = z.nativeEnum(GetProjectsProjectsChecksConclusion); - -/** @internal */ -export const GetProjectsProjectsChecksConclusion$outboundSchema: - z.ZodNativeEnum = - GetProjectsProjectsChecksConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsChecksConclusion$ { - /** @deprecated use `GetProjectsProjectsChecksConclusion$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsProjectsChecksConclusion$inboundSchema; - /** @deprecated use `GetProjectsProjectsChecksConclusion$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsProjectsChecksConclusion$outboundSchema; -} - -/** @internal */ -export const GetProjectsProjectsChecksState$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsChecksState -> = z.nativeEnum(GetProjectsProjectsChecksState); - -/** @internal */ -export const GetProjectsProjectsChecksState$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsChecksState -> = GetProjectsProjectsChecksState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsChecksState$ { - /** @deprecated use `GetProjectsProjectsChecksState$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjectsChecksState$inboundSchema; - /** @deprecated use `GetProjectsProjectsChecksState$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProjectsChecksState$outboundSchema; -} - -/** @internal */ -export const GetProjectsProjectsCreator$inboundSchema: z.ZodType< - GetProjectsProjectsCreator, - z.ZodTypeDef, - unknown -> = z.object({ - email: z.string(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), - uid: z.string(), - username: z.string(), -}); - -/** @internal */ -export type GetProjectsProjectsCreator$Outbound = { - email: string; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; - uid: string; - username: string; -}; - -/** @internal */ -export const GetProjectsProjectsCreator$outboundSchema: z.ZodType< - GetProjectsProjectsCreator$Outbound, - z.ZodTypeDef, - GetProjectsProjectsCreator -> = z.object({ - email: z.string(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), - uid: z.string(), - username: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsCreator$ { - /** @deprecated use `GetProjectsProjectsCreator$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjectsCreator$inboundSchema; - /** @deprecated use `GetProjectsProjectsCreator$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProjectsCreator$outboundSchema; - /** @deprecated use `GetProjectsProjectsCreator$Outbound` instead. */ - export type Outbound = GetProjectsProjectsCreator$Outbound; -} - -export function getProjectsProjectsCreatorToJSON( - getProjectsProjectsCreator: GetProjectsProjectsCreator, -): string { - return JSON.stringify( - GetProjectsProjectsCreator$outboundSchema.parse(getProjectsProjectsCreator), - ); -} - -export function getProjectsProjectsCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsProjectsCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsProjectsCreator' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsProjectsOidcTokenClaims$inboundSchema: z.ZodType< - GetProjectsProjectsOidcTokenClaims, - z.ZodTypeDef, - unknown -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - owner_id: z.string(), - project: z.string(), - project_id: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); - -/** @internal */ -export type GetProjectsProjectsOidcTokenClaims$Outbound = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - owner_id: string; - project: string; - project_id: string; - environment: string; -}; - -/** @internal */ -export const GetProjectsProjectsOidcTokenClaims$outboundSchema: z.ZodType< - GetProjectsProjectsOidcTokenClaims$Outbound, - z.ZodTypeDef, - GetProjectsProjectsOidcTokenClaims -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - ownerId: z.string(), - project: z.string(), - projectId: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - ownerId: "owner_id", - projectId: "project_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsOidcTokenClaims$ { - /** @deprecated use `GetProjectsProjectsOidcTokenClaims$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjectsOidcTokenClaims$inboundSchema; - /** @deprecated use `GetProjectsProjectsOidcTokenClaims$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsProjectsOidcTokenClaims$outboundSchema; - /** @deprecated use `GetProjectsProjectsOidcTokenClaims$Outbound` instead. */ - export type Outbound = GetProjectsProjectsOidcTokenClaims$Outbound; -} - -export function getProjectsProjectsOidcTokenClaimsToJSON( - getProjectsProjectsOidcTokenClaims: GetProjectsProjectsOidcTokenClaims, -): string { - return JSON.stringify( - GetProjectsProjectsOidcTokenClaims$outboundSchema.parse( - getProjectsProjectsOidcTokenClaims, - ), - ); -} - -export function getProjectsProjectsOidcTokenClaimsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetProjectsProjectsOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsProjectsOidcTokenClaims' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsProjectsPlan$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsPlan -> = z.nativeEnum(GetProjectsProjectsPlan); - -/** @internal */ -export const GetProjectsProjectsPlan$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsPlan -> = GetProjectsProjectsPlan$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsPlan$ { - /** @deprecated use `GetProjectsProjectsPlan$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjectsPlan$inboundSchema; - /** @deprecated use `GetProjectsProjectsPlan$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProjectsPlan$outboundSchema; -} - -/** @internal */ -export const GetProjectsProjectsReadyState$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsReadyState -> = z.nativeEnum(GetProjectsProjectsReadyState); - -/** @internal */ -export const GetProjectsProjectsReadyState$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsReadyState -> = GetProjectsProjectsReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsReadyState$ { - /** @deprecated use `GetProjectsProjectsReadyState$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjectsReadyState$inboundSchema; - /** @deprecated use `GetProjectsProjectsReadyState$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProjectsReadyState$outboundSchema; -} - -/** @internal */ -export const GetProjectsProjectsReadySubstate$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsReadySubstate -> = z.nativeEnum(GetProjectsProjectsReadySubstate); - -/** @internal */ -export const GetProjectsProjectsReadySubstate$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsReadySubstate -> = GetProjectsProjectsReadySubstate$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsReadySubstate$ { - /** @deprecated use `GetProjectsProjectsReadySubstate$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjectsReadySubstate$inboundSchema; - /** @deprecated use `GetProjectsProjectsReadySubstate$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProjectsReadySubstate$outboundSchema; -} - -/** @internal */ -export const GetProjectsProjectsResponseType$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsResponseType -> = z.nativeEnum(GetProjectsProjectsResponseType); - -/** @internal */ -export const GetProjectsProjectsResponseType$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsResponseType -> = GetProjectsProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsResponseType$ { - /** @deprecated use `GetProjectsProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjectsResponseType$inboundSchema; - /** @deprecated use `GetProjectsProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const GetProjectsTargets$inboundSchema: z.ZodType< - GetProjectsTargets, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - aliasError: z.nullable( - z.lazy(() => GetProjectsProjectsAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - branchMatcher: z.lazy(() => GetProjectsProjectsBranchMatcher$inboundSchema) - .optional(), - buildingAt: z.number().optional(), - builds: z.array(z.lazy(() => GetProjectsProjectsBuilds$inboundSchema)) - .optional(), - checksConclusion: GetProjectsProjectsChecksConclusion$inboundSchema - .optional(), - checksState: GetProjectsProjectsChecksState$inboundSchema.optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdAt: z.number(), - createdIn: z.string(), - creator: z.nullable(z.lazy(() => GetProjectsProjectsCreator$inboundSchema)), - deletedAt: z.number().optional(), - deploymentHostname: z.string(), - forced: z.boolean().optional(), - name: z.string(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - oidcTokenClaims: z.lazy(() => - GetProjectsProjectsOidcTokenClaims$inboundSchema - ).optional(), - plan: GetProjectsProjectsPlan$inboundSchema, - previewCommentsEnabled: z.boolean().optional(), - private: z.boolean(), - readyAt: z.number().optional(), - readyState: GetProjectsProjectsReadyState$inboundSchema, - readySubstate: GetProjectsProjectsReadySubstate$inboundSchema.optional(), - requestedAt: z.number().optional(), - target: z.nullable(z.string()).optional(), - teamId: z.nullable(z.string()).optional(), - type: GetProjectsProjectsResponseType$inboundSchema, - url: z.string(), - userId: z.string(), - withCache: z.boolean().optional(), -}); - -/** @internal */ -export type GetProjectsTargets$Outbound = { - id: string; - alias?: Array | undefined; - aliasAssigned?: number | boolean | null | undefined; - aliasError?: GetProjectsProjectsAliasError$Outbound | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - branchMatcher?: GetProjectsProjectsBranchMatcher$Outbound | undefined; - buildingAt?: number | undefined; - builds?: Array | undefined; - checksConclusion?: string | undefined; - checksState?: string | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdAt: number; - createdIn: string; - creator: GetProjectsProjectsCreator$Outbound | null; - deletedAt?: number | undefined; - deploymentHostname: string; - forced?: boolean | undefined; - name: string; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - oidcTokenClaims?: GetProjectsProjectsOidcTokenClaims$Outbound | undefined; - plan: string; - previewCommentsEnabled?: boolean | undefined; - private: boolean; - readyAt?: number | undefined; - readyState: string; - readySubstate?: string | undefined; - requestedAt?: number | undefined; - target?: string | null | undefined; - teamId?: string | null | undefined; - type: string; - url: string; - userId: string; - withCache?: boolean | undefined; -}; - -/** @internal */ -export const GetProjectsTargets$outboundSchema: z.ZodType< - GetProjectsTargets$Outbound, - z.ZodTypeDef, - GetProjectsTargets -> = z.object({ - id: z.string(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - aliasError: z.nullable( - z.lazy(() => GetProjectsProjectsAliasError$outboundSchema), - ).optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - branchMatcher: z.lazy(() => GetProjectsProjectsBranchMatcher$outboundSchema) - .optional(), - buildingAt: z.number().optional(), - builds: z.array(z.lazy(() => GetProjectsProjectsBuilds$outboundSchema)) - .optional(), - checksConclusion: GetProjectsProjectsChecksConclusion$outboundSchema - .optional(), - checksState: GetProjectsProjectsChecksState$outboundSchema.optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdAt: z.number(), - createdIn: z.string(), - creator: z.nullable(z.lazy(() => GetProjectsProjectsCreator$outboundSchema)), - deletedAt: z.number().optional(), - deploymentHostname: z.string(), - forced: z.boolean().optional(), - name: z.string(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - oidcTokenClaims: z.lazy(() => - GetProjectsProjectsOidcTokenClaims$outboundSchema - ).optional(), - plan: GetProjectsProjectsPlan$outboundSchema, - previewCommentsEnabled: z.boolean().optional(), - private: z.boolean(), - readyAt: z.number().optional(), - readyState: GetProjectsProjectsReadyState$outboundSchema, - readySubstate: GetProjectsProjectsReadySubstate$outboundSchema.optional(), - requestedAt: z.number().optional(), - target: z.nullable(z.string()).optional(), - teamId: z.nullable(z.string()).optional(), - type: GetProjectsProjectsResponseType$outboundSchema, - url: z.string(), - userId: z.string(), - withCache: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsTargets$ { - /** @deprecated use `GetProjectsTargets$inboundSchema` instead. */ - export const inboundSchema = GetProjectsTargets$inboundSchema; - /** @deprecated use `GetProjectsTargets$outboundSchema` instead. */ - export const outboundSchema = GetProjectsTargets$outboundSchema; - /** @deprecated use `GetProjectsTargets$Outbound` instead. */ - export type Outbound = GetProjectsTargets$Outbound; -} - -export function getProjectsTargetsToJSON( - getProjectsTargets: GetProjectsTargets, -): string { - return JSON.stringify( - GetProjectsTargets$outboundSchema.parse(getProjectsTargets), - ); -} - -export function getProjectsTargetsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsTargets$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsTargets' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsPermissions$inboundSchema: z.ZodType< - GetProjectsPermissions, - z.ZodTypeDef, - unknown -> = z.object({ - accessGroup: z.array(ACLAction$inboundSchema).optional(), - aliasGlobal: z.array(ACLAction$inboundSchema).optional(), - analyticsSampling: z.array(ACLAction$inboundSchema).optional(), - analyticsUsage: z.array(ACLAction$inboundSchema).optional(), - auditLog: z.array(ACLAction$inboundSchema).optional(), - billingAddress: z.array(ACLAction$inboundSchema).optional(), - billingInformation: z.array(ACLAction$inboundSchema).optional(), - billingInvoice: z.array(ACLAction$inboundSchema).optional(), - billingInvoiceEmailRecipient: z.array(ACLAction$inboundSchema).optional(), - billingInvoiceLanguage: z.array(ACLAction$inboundSchema).optional(), - billingPlan: z.array(ACLAction$inboundSchema).optional(), - billingPurchaseOrder: z.array(ACLAction$inboundSchema).optional(), - billingTaxId: z.array(ACLAction$inboundSchema).optional(), - blob: z.array(ACLAction$inboundSchema).optional(), - budget: z.array(ACLAction$inboundSchema).optional(), - cacheArtifact: z.array(ACLAction$inboundSchema).optional(), - cacheArtifactUsageEvent: z.array(ACLAction$inboundSchema).optional(), - codeChecks: z.array(ACLAction$inboundSchema).optional(), - concurrentBuilds: z.array(ACLAction$inboundSchema).optional(), - connect: z.array(ACLAction$inboundSchema).optional(), - connectConfiguration: z.array(ACLAction$inboundSchema).optional(), - domain: z.array(ACLAction$inboundSchema).optional(), - domainAcceptDelegation: z.array(ACLAction$inboundSchema).optional(), - domainAuthCodes: z.array(ACLAction$inboundSchema).optional(), - domainCertificate: z.array(ACLAction$inboundSchema).optional(), - domainCheckConfig: z.array(ACLAction$inboundSchema).optional(), - domainMove: z.array(ACLAction$inboundSchema).optional(), - domainPurchase: z.array(ACLAction$inboundSchema).optional(), - domainRecord: z.array(ACLAction$inboundSchema).optional(), - domainTransferIn: z.array(ACLAction$inboundSchema).optional(), - event: z.array(ACLAction$inboundSchema).optional(), - ownEvent: z.array(ACLAction$inboundSchema).optional(), - sensitiveEnvironmentVariablePolicy: z.array(ACLAction$inboundSchema) - .optional(), - fileUpload: z.array(ACLAction$inboundSchema).optional(), - gitRepository: z.array(ACLAction$inboundSchema).optional(), - ipBlocking: z.array(ACLAction$inboundSchema).optional(), - integration: z.array(ACLAction$inboundSchema).optional(), - integrationAccount: z.array(ACLAction$inboundSchema).optional(), - integrationConfiguration: z.array(ACLAction$inboundSchema).optional(), - integrationConfigurationTransfer: z.array(ACLAction$inboundSchema).optional(), - integrationConfigurationProjects: z.array(ACLAction$inboundSchema).optional(), - integrationVercelConfigurationOverride: z.array(ACLAction$inboundSchema) - .optional(), - integrationConfigurationRole: z.array(ACLAction$inboundSchema).optional(), - integrationResource: z.array(ACLAction$inboundSchema).optional(), - integrationEvent: z.array(ACLAction$inboundSchema).optional(), - integrationResourceSecrets: z.array(ACLAction$inboundSchema).optional(), - integrationDeploymentAction: z.array(ACLAction$inboundSchema).optional(), - marketplaceInstallationMember: z.array(ACLAction$inboundSchema).optional(), - marketplaceBillingData: z.array(ACLAction$inboundSchema).optional(), - marketplaceInvoice: z.array(ACLAction$inboundSchema).optional(), - jobGlobal: z.array(ACLAction$inboundSchema).optional(), - logDrain: z.array(ACLAction$inboundSchema).optional(), - Monitoring: z.array(ACLAction$inboundSchema).optional(), - monitoringSettings: z.array(ACLAction$inboundSchema).optional(), - monitoringQuery: z.array(ACLAction$inboundSchema).optional(), - monitoringChart: z.array(ACLAction$inboundSchema).optional(), - monitoringAlert: z.array(ACLAction$inboundSchema).optional(), - notificationDeploymentFailed: z.array(ACLAction$inboundSchema).optional(), - notificationDomainConfiguration: z.array(ACLAction$inboundSchema).optional(), - notificationDomainExpire: z.array(ACLAction$inboundSchema).optional(), - notificationDomainMoved: z.array(ACLAction$inboundSchema).optional(), - notificationDomainPurchase: z.array(ACLAction$inboundSchema).optional(), - notificationDomainRenewal: z.array(ACLAction$inboundSchema).optional(), - notificationDomainTransfer: z.array(ACLAction$inboundSchema).optional(), - notificationDomainUnverified: z.array(ACLAction$inboundSchema).optional(), - NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(), - notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(), - notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(), - notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), - notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(), - oauth2Connection: z.array(ACLAction$inboundSchema).optional(), - observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(), - openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(), - paymentMethod: z.array(ACLAction$inboundSchema).optional(), - permissions: z.array(ACLAction$inboundSchema).optional(), - postgres: z.array(ACLAction$inboundSchema).optional(), - previewDeploymentSuffix: z.array(ACLAction$inboundSchema).optional(), - proTrialOnboarding: z.array(ACLAction$inboundSchema).optional(), - sharedEnvVars: z.array(ACLAction$inboundSchema).optional(), - sharedEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(), - space: z.array(ACLAction$inboundSchema).optional(), - spaceRun: z.array(ACLAction$inboundSchema).optional(), - passwordProtectionInvoiceItem: z.array(ACLAction$inboundSchema).optional(), - rateLimit: z.array(ACLAction$inboundSchema).optional(), - redis: z.array(ACLAction$inboundSchema).optional(), - repository: z.array(ACLAction$inboundSchema).optional(), - remoteCaching: z.array(ACLAction$inboundSchema).optional(), - samlConfig: z.array(ACLAction$inboundSchema).optional(), - secret: z.array(ACLAction$inboundSchema).optional(), - redisStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), - blobStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), - postgresStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), - integrationStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), - integrationResourceReplCommand: z.array(ACLAction$inboundSchema).optional(), - storeTransfer: z.array(ACLAction$inboundSchema).optional(), - supportCase: z.array(ACLAction$inboundSchema).optional(), - supportCaseComment: z.array(ACLAction$inboundSchema).optional(), - dataCacheBillingSettings: z.array(ACLAction$inboundSchema).optional(), - team: z.array(ACLAction$inboundSchema).optional(), - teamAccessRequest: z.array(ACLAction$inboundSchema).optional(), - teamFellowMembership: z.array(ACLAction$inboundSchema).optional(), - teamGitExclusivity: z.array(ACLAction$inboundSchema).optional(), - teamInvite: z.array(ACLAction$inboundSchema).optional(), - teamInviteCode: z.array(ACLAction$inboundSchema).optional(), - teamJoin: z.array(ACLAction$inboundSchema).optional(), - teamMicrofrontends: z.array(ACLAction$inboundSchema).optional(), - teamOwnMembership: z.array(ACLAction$inboundSchema).optional(), - teamOwnMembershipDisconnectSAML: z.array(ACLAction$inboundSchema).optional(), - token: z.array(ACLAction$inboundSchema).optional(), - usage: z.array(ACLAction$inboundSchema).optional(), - usageCycle: z.array(ACLAction$inboundSchema).optional(), - user: z.array(ACLAction$inboundSchema).optional(), - userConnection: z.array(ACLAction$inboundSchema).optional(), - vpcPeeringConnection: z.array(ACLAction$inboundSchema).optional(), - webAnalyticsPlan: z.array(ACLAction$inboundSchema).optional(), - webAuthn: z.array(ACLAction$inboundSchema).optional(), - edgeConfig: z.array(ACLAction$inboundSchema).optional(), - edgeConfigItem: z.array(ACLAction$inboundSchema).optional(), - edgeConfigSchema: z.array(ACLAction$inboundSchema).optional(), - edgeConfigToken: z.array(ACLAction$inboundSchema).optional(), - webhook: z.array(ACLAction$inboundSchema).optional(), - "webhook-event": z.array(ACLAction$inboundSchema).optional(), - endpointVerification: z.array(ACLAction$inboundSchema).optional(), - projectTransferIn: z.array(ACLAction$inboundSchema).optional(), - oauth2Application: z.array(ACLAction$inboundSchema).optional(), - aliasProject: z.array(ACLAction$inboundSchema).optional(), - aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), - productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), - connectConfigurationLink: z.array(ACLAction$inboundSchema).optional(), - dataCacheNamespace: z.array(ACLAction$inboundSchema).optional(), - deployment: z.array(ACLAction$inboundSchema).optional(), - deploymentCheck: z.array(ACLAction$inboundSchema).optional(), - deploymentCheckPreview: z.array(ACLAction$inboundSchema).optional(), - deploymentCheckReRunFromProductionBranch: z.array(ACLAction$inboundSchema) - .optional(), - deploymentProductionGit: z.array(ACLAction$inboundSchema).optional(), - deploymentV0: z.array(ACLAction$inboundSchema).optional(), - deploymentPreview: z.array(ACLAction$inboundSchema).optional(), - deploymentPrivate: z.array(ACLAction$inboundSchema).optional(), - deploymentPromote: z.array(ACLAction$inboundSchema).optional(), - deploymentRollback: z.array(ACLAction$inboundSchema).optional(), - environments: z.array(ACLAction$inboundSchema).optional(), - logs: z.array(ACLAction$inboundSchema).optional(), - logsPreset: z.array(ACLAction$inboundSchema).optional(), - passwordProtection: z.array(ACLAction$inboundSchema).optional(), - optionsAllowlist: z.array(ACLAction$inboundSchema).optional(), - job: z.array(ACLAction$inboundSchema).optional(), - observabilityData: z.array(ACLAction$inboundSchema).optional(), - project: z.array(ACLAction$inboundSchema).optional(), - projectFromV0: z.array(ACLAction$inboundSchema).optional(), - projectAccessGroup: z.array(ACLAction$inboundSchema).optional(), - projectAnalyticsSampling: z.array(ACLAction$inboundSchema).optional(), - projectDeploymentHook: z.array(ACLAction$inboundSchema).optional(), - projectDomain: z.array(ACLAction$inboundSchema).optional(), - projectDomainMove: z.array(ACLAction$inboundSchema).optional(), - projectDomainCheckConfig: z.array(ACLAction$inboundSchema).optional(), - projectEnvVars: z.array(ACLAction$inboundSchema).optional(), - projectEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(), - projectEnvVarsUnownedByIntegration: z.array(ACLAction$inboundSchema) - .optional(), - projectFlags: z.array(ACLAction$inboundSchema).optional(), - projectId: z.array(ACLAction$inboundSchema).optional(), - projectIntegrationConfiguration: z.array(ACLAction$inboundSchema).optional(), - projectLink: z.array(ACLAction$inboundSchema).optional(), - projectMember: z.array(ACLAction$inboundSchema).optional(), - projectMonitoring: z.array(ACLAction$inboundSchema).optional(), - projectPermissions: z.array(ACLAction$inboundSchema).optional(), - projectProductionBranch: z.array(ACLAction$inboundSchema).optional(), - projectTransfer: z.array(ACLAction$inboundSchema).optional(), - projectTransferOut: z.array(ACLAction$inboundSchema).optional(), - projectProtectionBypass: z.array(ACLAction$inboundSchema).optional(), - projectUsage: z.array(ACLAction$inboundSchema).optional(), - projectAnalyticsUsage: z.array(ACLAction$inboundSchema).optional(), - projectSupportCase: z.array(ACLAction$inboundSchema).optional(), - projectSupportCaseComment: z.array(ACLAction$inboundSchema).optional(), - projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(), - projectTier: z.array(ACLAction$inboundSchema).optional(), - seawallConfig: z.array(ACLAction$inboundSchema).optional(), - skewProtection: z.array(ACLAction$inboundSchema).optional(), - analytics: z.array(ACLAction$inboundSchema).optional(), - trustedIps: z.array(ACLAction$inboundSchema).optional(), - webAnalytics: z.array(ACLAction$inboundSchema).optional(), - sharedEnvVarConnection: z.array(ACLAction$inboundSchema).optional(), - sonar: z.array(ACLAction$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "Monitoring": "monitoring", - "NotificationMonitoringAlert": "notificationMonitoringAlert", - "webhook-event": "webhookEvent", - }); -}); - -/** @internal */ -export type GetProjectsPermissions$Outbound = { - accessGroup?: Array | undefined; - aliasGlobal?: Array | undefined; - analyticsSampling?: Array | undefined; - analyticsUsage?: Array | undefined; - auditLog?: Array | undefined; - billingAddress?: Array | undefined; - billingInformation?: Array | undefined; - billingInvoice?: Array | undefined; - billingInvoiceEmailRecipient?: Array | undefined; - billingInvoiceLanguage?: Array | undefined; - billingPlan?: Array | undefined; - billingPurchaseOrder?: Array | undefined; - billingTaxId?: Array | undefined; - blob?: Array | undefined; - budget?: Array | undefined; - cacheArtifact?: Array | undefined; - cacheArtifactUsageEvent?: Array | undefined; - codeChecks?: Array | undefined; - concurrentBuilds?: Array | undefined; - connect?: Array | undefined; - connectConfiguration?: Array | undefined; - domain?: Array | undefined; - domainAcceptDelegation?: Array | undefined; - domainAuthCodes?: Array | undefined; - domainCertificate?: Array | undefined; - domainCheckConfig?: Array | undefined; - domainMove?: Array | undefined; - domainPurchase?: Array | undefined; - domainRecord?: Array | undefined; - domainTransferIn?: Array | undefined; - event?: Array | undefined; - ownEvent?: Array | undefined; - sensitiveEnvironmentVariablePolicy?: Array | undefined; - fileUpload?: Array | undefined; - gitRepository?: Array | undefined; - ipBlocking?: Array | undefined; - integration?: Array | undefined; - integrationAccount?: Array | undefined; - integrationConfiguration?: Array | undefined; - integrationConfigurationTransfer?: Array | undefined; - integrationConfigurationProjects?: Array | undefined; - integrationVercelConfigurationOverride?: Array | undefined; - integrationConfigurationRole?: Array | undefined; - integrationResource?: Array | undefined; - integrationEvent?: Array | undefined; - integrationResourceSecrets?: Array | undefined; - integrationDeploymentAction?: Array | undefined; - marketplaceInstallationMember?: Array | undefined; - marketplaceBillingData?: Array | undefined; - marketplaceInvoice?: Array | undefined; - jobGlobal?: Array | undefined; - logDrain?: Array | undefined; - Monitoring?: Array | undefined; - monitoringSettings?: Array | undefined; - monitoringQuery?: Array | undefined; - monitoringChart?: Array | undefined; - monitoringAlert?: Array | undefined; - notificationDeploymentFailed?: Array | undefined; - notificationDomainConfiguration?: Array | undefined; - notificationDomainExpire?: Array | undefined; - notificationDomainMoved?: Array | undefined; - notificationDomainPurchase?: Array | undefined; - notificationDomainRenewal?: Array | undefined; - notificationDomainTransfer?: Array | undefined; - notificationDomainUnverified?: Array | undefined; - NotificationMonitoringAlert?: Array | undefined; - notificationPaymentFailed?: Array | undefined; - notificationUsageAlert?: Array | undefined; - notificationCustomerBudget?: Array | undefined; - notificationStatementOfReasons?: Array | undefined; - oauth2Connection?: Array | undefined; - observabilityConfiguration?: Array | undefined; - openTelemetryEndpoint?: Array | undefined; - paymentMethod?: Array | undefined; - permissions?: Array | undefined; - postgres?: Array | undefined; - previewDeploymentSuffix?: Array | undefined; - proTrialOnboarding?: Array | undefined; - sharedEnvVars?: Array | undefined; - sharedEnvVarsProduction?: Array | undefined; - space?: Array | undefined; - spaceRun?: Array | undefined; - passwordProtectionInvoiceItem?: Array | undefined; - rateLimit?: Array | undefined; - redis?: Array | undefined; - repository?: Array | undefined; - remoteCaching?: Array | undefined; - samlConfig?: Array | undefined; - secret?: Array | undefined; - redisStoreTokenSet?: Array | undefined; - blobStoreTokenSet?: Array | undefined; - postgresStoreTokenSet?: Array | undefined; - integrationStoreTokenSet?: Array | undefined; - integrationResourceReplCommand?: Array | undefined; - storeTransfer?: Array | undefined; - supportCase?: Array | undefined; - supportCaseComment?: Array | undefined; - dataCacheBillingSettings?: Array | undefined; - team?: Array | undefined; - teamAccessRequest?: Array | undefined; - teamFellowMembership?: Array | undefined; - teamGitExclusivity?: Array | undefined; - teamInvite?: Array | undefined; - teamInviteCode?: Array | undefined; - teamJoin?: Array | undefined; - teamMicrofrontends?: Array | undefined; - teamOwnMembership?: Array | undefined; - teamOwnMembershipDisconnectSAML?: Array | undefined; - token?: Array | undefined; - usage?: Array | undefined; - usageCycle?: Array | undefined; - user?: Array | undefined; - userConnection?: Array | undefined; - vpcPeeringConnection?: Array | undefined; - webAnalyticsPlan?: Array | undefined; - webAuthn?: Array | undefined; - edgeConfig?: Array | undefined; - edgeConfigItem?: Array | undefined; - edgeConfigSchema?: Array | undefined; - edgeConfigToken?: Array | undefined; - webhook?: Array | undefined; - "webhook-event"?: Array | undefined; - endpointVerification?: Array | undefined; - projectTransferIn?: Array | undefined; - oauth2Application?: Array | undefined; - aliasProject?: Array | undefined; - aliasProtectionBypass?: Array | undefined; - productionAliasProtectionBypass?: Array | undefined; - connectConfigurationLink?: Array | undefined; - dataCacheNamespace?: Array | undefined; - deployment?: Array | undefined; - deploymentCheck?: Array | undefined; - deploymentCheckPreview?: Array | undefined; - deploymentCheckReRunFromProductionBranch?: Array | undefined; - deploymentProductionGit?: Array | undefined; - deploymentV0?: Array | undefined; - deploymentPreview?: Array | undefined; - deploymentPrivate?: Array | undefined; - deploymentPromote?: Array | undefined; - deploymentRollback?: Array | undefined; - environments?: Array | undefined; - logs?: Array | undefined; - logsPreset?: Array | undefined; - passwordProtection?: Array | undefined; - optionsAllowlist?: Array | undefined; - job?: Array | undefined; - observabilityData?: Array | undefined; - project?: Array | undefined; - projectFromV0?: Array | undefined; - projectAccessGroup?: Array | undefined; - projectAnalyticsSampling?: Array | undefined; - projectDeploymentHook?: Array | undefined; - projectDomain?: Array | undefined; - projectDomainMove?: Array | undefined; - projectDomainCheckConfig?: Array | undefined; - projectEnvVars?: Array | undefined; - projectEnvVarsProduction?: Array | undefined; - projectEnvVarsUnownedByIntegration?: Array | undefined; - projectFlags?: Array | undefined; - projectId?: Array | undefined; - projectIntegrationConfiguration?: Array | undefined; - projectLink?: Array | undefined; - projectMember?: Array | undefined; - projectMonitoring?: Array | undefined; - projectPermissions?: Array | undefined; - projectProductionBranch?: Array | undefined; - projectTransfer?: Array | undefined; - projectTransferOut?: Array | undefined; - projectProtectionBypass?: Array | undefined; - projectUsage?: Array | undefined; - projectAnalyticsUsage?: Array | undefined; - projectSupportCase?: Array | undefined; - projectSupportCaseComment?: Array | undefined; - projectDeploymentExpiration?: Array | undefined; - projectTier?: Array | undefined; - seawallConfig?: Array | undefined; - skewProtection?: Array | undefined; - analytics?: Array | undefined; - trustedIps?: Array | undefined; - webAnalytics?: Array | undefined; - sharedEnvVarConnection?: Array | undefined; - sonar?: Array | undefined; -}; - -/** @internal */ -export const GetProjectsPermissions$outboundSchema: z.ZodType< - GetProjectsPermissions$Outbound, - z.ZodTypeDef, - GetProjectsPermissions -> = z.object({ - accessGroup: z.array(ACLAction$outboundSchema).optional(), - aliasGlobal: z.array(ACLAction$outboundSchema).optional(), - analyticsSampling: z.array(ACLAction$outboundSchema).optional(), - analyticsUsage: z.array(ACLAction$outboundSchema).optional(), - auditLog: z.array(ACLAction$outboundSchema).optional(), - billingAddress: z.array(ACLAction$outboundSchema).optional(), - billingInformation: z.array(ACLAction$outboundSchema).optional(), - billingInvoice: z.array(ACLAction$outboundSchema).optional(), - billingInvoiceEmailRecipient: z.array(ACLAction$outboundSchema).optional(), - billingInvoiceLanguage: z.array(ACLAction$outboundSchema).optional(), - billingPlan: z.array(ACLAction$outboundSchema).optional(), - billingPurchaseOrder: z.array(ACLAction$outboundSchema).optional(), - billingTaxId: z.array(ACLAction$outboundSchema).optional(), - blob: z.array(ACLAction$outboundSchema).optional(), - budget: z.array(ACLAction$outboundSchema).optional(), - cacheArtifact: z.array(ACLAction$outboundSchema).optional(), - cacheArtifactUsageEvent: z.array(ACLAction$outboundSchema).optional(), - codeChecks: z.array(ACLAction$outboundSchema).optional(), - concurrentBuilds: z.array(ACLAction$outboundSchema).optional(), - connect: z.array(ACLAction$outboundSchema).optional(), - connectConfiguration: z.array(ACLAction$outboundSchema).optional(), - domain: z.array(ACLAction$outboundSchema).optional(), - domainAcceptDelegation: z.array(ACLAction$outboundSchema).optional(), - domainAuthCodes: z.array(ACLAction$outboundSchema).optional(), - domainCertificate: z.array(ACLAction$outboundSchema).optional(), - domainCheckConfig: z.array(ACLAction$outboundSchema).optional(), - domainMove: z.array(ACLAction$outboundSchema).optional(), - domainPurchase: z.array(ACLAction$outboundSchema).optional(), - domainRecord: z.array(ACLAction$outboundSchema).optional(), - domainTransferIn: z.array(ACLAction$outboundSchema).optional(), - event: z.array(ACLAction$outboundSchema).optional(), - ownEvent: z.array(ACLAction$outboundSchema).optional(), - sensitiveEnvironmentVariablePolicy: z.array(ACLAction$outboundSchema) - .optional(), - fileUpload: z.array(ACLAction$outboundSchema).optional(), - gitRepository: z.array(ACLAction$outboundSchema).optional(), - ipBlocking: z.array(ACLAction$outboundSchema).optional(), - integration: z.array(ACLAction$outboundSchema).optional(), - integrationAccount: z.array(ACLAction$outboundSchema).optional(), - integrationConfiguration: z.array(ACLAction$outboundSchema).optional(), - integrationConfigurationTransfer: z.array(ACLAction$outboundSchema) - .optional(), - integrationConfigurationProjects: z.array(ACLAction$outboundSchema) - .optional(), - integrationVercelConfigurationOverride: z.array(ACLAction$outboundSchema) - .optional(), - integrationConfigurationRole: z.array(ACLAction$outboundSchema).optional(), - integrationResource: z.array(ACLAction$outboundSchema).optional(), - integrationEvent: z.array(ACLAction$outboundSchema).optional(), - integrationResourceSecrets: z.array(ACLAction$outboundSchema).optional(), - integrationDeploymentAction: z.array(ACLAction$outboundSchema).optional(), - marketplaceInstallationMember: z.array(ACLAction$outboundSchema).optional(), - marketplaceBillingData: z.array(ACLAction$outboundSchema).optional(), - marketplaceInvoice: z.array(ACLAction$outboundSchema).optional(), - jobGlobal: z.array(ACLAction$outboundSchema).optional(), - logDrain: z.array(ACLAction$outboundSchema).optional(), - monitoring: z.array(ACLAction$outboundSchema).optional(), - monitoringSettings: z.array(ACLAction$outboundSchema).optional(), - monitoringQuery: z.array(ACLAction$outboundSchema).optional(), - monitoringChart: z.array(ACLAction$outboundSchema).optional(), - monitoringAlert: z.array(ACLAction$outboundSchema).optional(), - notificationDeploymentFailed: z.array(ACLAction$outboundSchema).optional(), - notificationDomainConfiguration: z.array(ACLAction$outboundSchema).optional(), - notificationDomainExpire: z.array(ACLAction$outboundSchema).optional(), - notificationDomainMoved: z.array(ACLAction$outboundSchema).optional(), - notificationDomainPurchase: z.array(ACLAction$outboundSchema).optional(), - notificationDomainRenewal: z.array(ACLAction$outboundSchema).optional(), - notificationDomainTransfer: z.array(ACLAction$outboundSchema).optional(), - notificationDomainUnverified: z.array(ACLAction$outboundSchema).optional(), - notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(), - notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(), - notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(), - notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), - notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(), - oauth2Connection: z.array(ACLAction$outboundSchema).optional(), - observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(), - openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(), - paymentMethod: z.array(ACLAction$outboundSchema).optional(), - permissions: z.array(ACLAction$outboundSchema).optional(), - postgres: z.array(ACLAction$outboundSchema).optional(), - previewDeploymentSuffix: z.array(ACLAction$outboundSchema).optional(), - proTrialOnboarding: z.array(ACLAction$outboundSchema).optional(), - sharedEnvVars: z.array(ACLAction$outboundSchema).optional(), - sharedEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(), - space: z.array(ACLAction$outboundSchema).optional(), - spaceRun: z.array(ACLAction$outboundSchema).optional(), - passwordProtectionInvoiceItem: z.array(ACLAction$outboundSchema).optional(), - rateLimit: z.array(ACLAction$outboundSchema).optional(), - redis: z.array(ACLAction$outboundSchema).optional(), - repository: z.array(ACLAction$outboundSchema).optional(), - remoteCaching: z.array(ACLAction$outboundSchema).optional(), - samlConfig: z.array(ACLAction$outboundSchema).optional(), - secret: z.array(ACLAction$outboundSchema).optional(), - redisStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), - blobStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), - postgresStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), - integrationStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), - integrationResourceReplCommand: z.array(ACLAction$outboundSchema).optional(), - storeTransfer: z.array(ACLAction$outboundSchema).optional(), - supportCase: z.array(ACLAction$outboundSchema).optional(), - supportCaseComment: z.array(ACLAction$outboundSchema).optional(), - dataCacheBillingSettings: z.array(ACLAction$outboundSchema).optional(), - team: z.array(ACLAction$outboundSchema).optional(), - teamAccessRequest: z.array(ACLAction$outboundSchema).optional(), - teamFellowMembership: z.array(ACLAction$outboundSchema).optional(), - teamGitExclusivity: z.array(ACLAction$outboundSchema).optional(), - teamInvite: z.array(ACLAction$outboundSchema).optional(), - teamInviteCode: z.array(ACLAction$outboundSchema).optional(), - teamJoin: z.array(ACLAction$outboundSchema).optional(), - teamMicrofrontends: z.array(ACLAction$outboundSchema).optional(), - teamOwnMembership: z.array(ACLAction$outboundSchema).optional(), - teamOwnMembershipDisconnectSAML: z.array(ACLAction$outboundSchema).optional(), - token: z.array(ACLAction$outboundSchema).optional(), - usage: z.array(ACLAction$outboundSchema).optional(), - usageCycle: z.array(ACLAction$outboundSchema).optional(), - user: z.array(ACLAction$outboundSchema).optional(), - userConnection: z.array(ACLAction$outboundSchema).optional(), - vpcPeeringConnection: z.array(ACLAction$outboundSchema).optional(), - webAnalyticsPlan: z.array(ACLAction$outboundSchema).optional(), - webAuthn: z.array(ACLAction$outboundSchema).optional(), - edgeConfig: z.array(ACLAction$outboundSchema).optional(), - edgeConfigItem: z.array(ACLAction$outboundSchema).optional(), - edgeConfigSchema: z.array(ACLAction$outboundSchema).optional(), - edgeConfigToken: z.array(ACLAction$outboundSchema).optional(), - webhook: z.array(ACLAction$outboundSchema).optional(), - webhookEvent: z.array(ACLAction$outboundSchema).optional(), - endpointVerification: z.array(ACLAction$outboundSchema).optional(), - projectTransferIn: z.array(ACLAction$outboundSchema).optional(), - oauth2Application: z.array(ACLAction$outboundSchema).optional(), - aliasProject: z.array(ACLAction$outboundSchema).optional(), - aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), - productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), - connectConfigurationLink: z.array(ACLAction$outboundSchema).optional(), - dataCacheNamespace: z.array(ACLAction$outboundSchema).optional(), - deployment: z.array(ACLAction$outboundSchema).optional(), - deploymentCheck: z.array(ACLAction$outboundSchema).optional(), - deploymentCheckPreview: z.array(ACLAction$outboundSchema).optional(), - deploymentCheckReRunFromProductionBranch: z.array(ACLAction$outboundSchema) - .optional(), - deploymentProductionGit: z.array(ACLAction$outboundSchema).optional(), - deploymentV0: z.array(ACLAction$outboundSchema).optional(), - deploymentPreview: z.array(ACLAction$outboundSchema).optional(), - deploymentPrivate: z.array(ACLAction$outboundSchema).optional(), - deploymentPromote: z.array(ACLAction$outboundSchema).optional(), - deploymentRollback: z.array(ACLAction$outboundSchema).optional(), - environments: z.array(ACLAction$outboundSchema).optional(), - logs: z.array(ACLAction$outboundSchema).optional(), - logsPreset: z.array(ACLAction$outboundSchema).optional(), - passwordProtection: z.array(ACLAction$outboundSchema).optional(), - optionsAllowlist: z.array(ACLAction$outboundSchema).optional(), - job: z.array(ACLAction$outboundSchema).optional(), - observabilityData: z.array(ACLAction$outboundSchema).optional(), - project: z.array(ACLAction$outboundSchema).optional(), - projectFromV0: z.array(ACLAction$outboundSchema).optional(), - projectAccessGroup: z.array(ACLAction$outboundSchema).optional(), - projectAnalyticsSampling: z.array(ACLAction$outboundSchema).optional(), - projectDeploymentHook: z.array(ACLAction$outboundSchema).optional(), - projectDomain: z.array(ACLAction$outboundSchema).optional(), - projectDomainMove: z.array(ACLAction$outboundSchema).optional(), - projectDomainCheckConfig: z.array(ACLAction$outboundSchema).optional(), - projectEnvVars: z.array(ACLAction$outboundSchema).optional(), - projectEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(), - projectEnvVarsUnownedByIntegration: z.array(ACLAction$outboundSchema) - .optional(), - projectFlags: z.array(ACLAction$outboundSchema).optional(), - projectId: z.array(ACLAction$outboundSchema).optional(), - projectIntegrationConfiguration: z.array(ACLAction$outboundSchema).optional(), - projectLink: z.array(ACLAction$outboundSchema).optional(), - projectMember: z.array(ACLAction$outboundSchema).optional(), - projectMonitoring: z.array(ACLAction$outboundSchema).optional(), - projectPermissions: z.array(ACLAction$outboundSchema).optional(), - projectProductionBranch: z.array(ACLAction$outboundSchema).optional(), - projectTransfer: z.array(ACLAction$outboundSchema).optional(), - projectTransferOut: z.array(ACLAction$outboundSchema).optional(), - projectProtectionBypass: z.array(ACLAction$outboundSchema).optional(), - projectUsage: z.array(ACLAction$outboundSchema).optional(), - projectAnalyticsUsage: z.array(ACLAction$outboundSchema).optional(), - projectSupportCase: z.array(ACLAction$outboundSchema).optional(), - projectSupportCaseComment: z.array(ACLAction$outboundSchema).optional(), - projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(), - projectTier: z.array(ACLAction$outboundSchema).optional(), - seawallConfig: z.array(ACLAction$outboundSchema).optional(), - skewProtection: z.array(ACLAction$outboundSchema).optional(), - analytics: z.array(ACLAction$outboundSchema).optional(), - trustedIps: z.array(ACLAction$outboundSchema).optional(), - webAnalytics: z.array(ACLAction$outboundSchema).optional(), - sharedEnvVarConnection: z.array(ACLAction$outboundSchema).optional(), - sonar: z.array(ACLAction$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - monitoring: "Monitoring", - notificationMonitoringAlert: "NotificationMonitoringAlert", - webhookEvent: "webhook-event", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsPermissions$ { - /** @deprecated use `GetProjectsPermissions$inboundSchema` instead. */ - export const inboundSchema = GetProjectsPermissions$inboundSchema; - /** @deprecated use `GetProjectsPermissions$outboundSchema` instead. */ - export const outboundSchema = GetProjectsPermissions$outboundSchema; - /** @deprecated use `GetProjectsPermissions$Outbound` instead. */ - export type Outbound = GetProjectsPermissions$Outbound; -} - -export function getProjectsPermissionsToJSON( - getProjectsPermissions: GetProjectsPermissions, -): string { - return JSON.stringify( - GetProjectsPermissions$outboundSchema.parse(getProjectsPermissions), - ); -} - -export function getProjectsPermissionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsPermissions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsPermissions' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsLastRollbackTarget$inboundSchema: z.ZodType< - GetProjectsLastRollbackTarget, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type GetProjectsLastRollbackTarget$Outbound = {}; - -/** @internal */ -export const GetProjectsLastRollbackTarget$outboundSchema: z.ZodType< - GetProjectsLastRollbackTarget$Outbound, - z.ZodTypeDef, - GetProjectsLastRollbackTarget -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLastRollbackTarget$ { - /** @deprecated use `GetProjectsLastRollbackTarget$inboundSchema` instead. */ - export const inboundSchema = GetProjectsLastRollbackTarget$inboundSchema; - /** @deprecated use `GetProjectsLastRollbackTarget$outboundSchema` instead. */ - export const outboundSchema = GetProjectsLastRollbackTarget$outboundSchema; - /** @deprecated use `GetProjectsLastRollbackTarget$Outbound` instead. */ - export type Outbound = GetProjectsLastRollbackTarget$Outbound; -} - -export function getProjectsLastRollbackTargetToJSON( - getProjectsLastRollbackTarget: GetProjectsLastRollbackTarget, -): string { - return JSON.stringify( - GetProjectsLastRollbackTarget$outboundSchema.parse( - getProjectsLastRollbackTarget, - ), - ); -} - -export function getProjectsLastRollbackTargetFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsLastRollbackTarget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsLastRollbackTarget' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsJobStatus$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsJobStatus -> = z.nativeEnum(GetProjectsJobStatus); - -/** @internal */ -export const GetProjectsJobStatus$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsJobStatus -> = GetProjectsJobStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsJobStatus$ { - /** @deprecated use `GetProjectsJobStatus$inboundSchema` instead. */ - export const inboundSchema = GetProjectsJobStatus$inboundSchema; - /** @deprecated use `GetProjectsJobStatus$outboundSchema` instead. */ - export const outboundSchema = GetProjectsJobStatus$outboundSchema; -} - -/** @internal */ -export const GetProjectsProjectsResponse200Type$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsResponse200Type -> = z.nativeEnum(GetProjectsProjectsResponse200Type); - -/** @internal */ -export const GetProjectsProjectsResponse200Type$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsResponse200Type -> = GetProjectsProjectsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsResponse200Type$ { - /** @deprecated use `GetProjectsProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjectsResponse200Type$inboundSchema; - /** @deprecated use `GetProjectsProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsProjectsResponse200Type$outboundSchema; -} - -/** @internal */ -export const GetProjectsLastAliasRequest$inboundSchema: z.ZodType< - GetProjectsLastAliasRequest, - z.ZodTypeDef, - unknown -> = z.object({ - fromDeploymentId: z.string(), - toDeploymentId: z.string(), - jobStatus: GetProjectsJobStatus$inboundSchema, - requestedAt: z.number(), - type: GetProjectsProjectsResponse200Type$inboundSchema, -}); - -/** @internal */ -export type GetProjectsLastAliasRequest$Outbound = { - fromDeploymentId: string; - toDeploymentId: string; - jobStatus: string; - requestedAt: number; - type: string; -}; - -/** @internal */ -export const GetProjectsLastAliasRequest$outboundSchema: z.ZodType< - GetProjectsLastAliasRequest$Outbound, - z.ZodTypeDef, - GetProjectsLastAliasRequest -> = z.object({ - fromDeploymentId: z.string(), - toDeploymentId: z.string(), - jobStatus: GetProjectsJobStatus$outboundSchema, - requestedAt: z.number(), - type: GetProjectsProjectsResponse200Type$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLastAliasRequest$ { - /** @deprecated use `GetProjectsLastAliasRequest$inboundSchema` instead. */ - export const inboundSchema = GetProjectsLastAliasRequest$inboundSchema; - /** @deprecated use `GetProjectsLastAliasRequest$outboundSchema` instead. */ - export const outboundSchema = GetProjectsLastAliasRequest$outboundSchema; - /** @deprecated use `GetProjectsLastAliasRequest$Outbound` instead. */ - export type Outbound = GetProjectsLastAliasRequest$Outbound; -} - -export function getProjectsLastAliasRequestToJSON( - getProjectsLastAliasRequest: GetProjectsLastAliasRequest, -): string { - return JSON.stringify( - GetProjectsLastAliasRequest$outboundSchema.parse( - getProjectsLastAliasRequest, - ), - ); -} - -export function getProjectsLastAliasRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsLastAliasRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsLastAliasRequest' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsScope$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsScope -> = z.nativeEnum(GetProjectsScope); - -/** @internal */ -export const GetProjectsScope$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsScope -> = GetProjectsScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsScope$ { - /** @deprecated use `GetProjectsScope$inboundSchema` instead. */ - export const inboundSchema = GetProjectsScope$inboundSchema; - /** @deprecated use `GetProjectsScope$outboundSchema` instead. */ - export const outboundSchema = GetProjectsScope$outboundSchema; -} - -/** @internal */ -export const GetProjectsProtectionBypass$inboundSchema: z.ZodType< - GetProjectsProtectionBypass, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: GetProjectsScope$inboundSchema, -}); - -/** @internal */ -export type GetProjectsProtectionBypass$Outbound = { - createdAt: number; - createdBy: string; - scope: string; -}; - -/** @internal */ -export const GetProjectsProtectionBypass$outboundSchema: z.ZodType< - GetProjectsProtectionBypass$Outbound, - z.ZodTypeDef, - GetProjectsProtectionBypass -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: GetProjectsScope$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProtectionBypass$ { - /** @deprecated use `GetProjectsProtectionBypass$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProtectionBypass$inboundSchema; - /** @deprecated use `GetProjectsProtectionBypass$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProtectionBypass$outboundSchema; - /** @deprecated use `GetProjectsProtectionBypass$Outbound` instead. */ - export type Outbound = GetProjectsProtectionBypass$Outbound; -} - -export function getProjectsProtectionBypassToJSON( - getProjectsProtectionBypass: GetProjectsProtectionBypass, -): string { - return JSON.stringify( - GetProjectsProtectionBypass$outboundSchema.parse( - getProjectsProtectionBypass, - ), - ); -} - -export function getProjectsProtectionBypassFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsProtectionBypass$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsProtectionBypass' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsTrustedIpsProjectsDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsTrustedIpsProjectsDeploymentType); - -/** @internal */ -export const GetProjectsTrustedIpsProjectsDeploymentType$outboundSchema: - z.ZodNativeEnum = - GetProjectsTrustedIpsProjectsDeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsTrustedIpsProjectsDeploymentType$ { - /** @deprecated use `GetProjectsTrustedIpsProjectsDeploymentType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsTrustedIpsProjectsDeploymentType$inboundSchema; - /** @deprecated use `GetProjectsTrustedIpsProjectsDeploymentType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsTrustedIpsProjectsDeploymentType$outboundSchema; -} - -/** @internal */ -export const GetProjectsTrustedIps2$inboundSchema: z.ZodType< - GetProjectsTrustedIps2, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentType: GetProjectsTrustedIpsProjectsDeploymentType$inboundSchema, -}); - -/** @internal */ -export type GetProjectsTrustedIps2$Outbound = { - deploymentType: string; -}; - -/** @internal */ -export const GetProjectsTrustedIps2$outboundSchema: z.ZodType< - GetProjectsTrustedIps2$Outbound, - z.ZodTypeDef, - GetProjectsTrustedIps2 -> = z.object({ - deploymentType: GetProjectsTrustedIpsProjectsDeploymentType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsTrustedIps2$ { - /** @deprecated use `GetProjectsTrustedIps2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsTrustedIps2$inboundSchema; - /** @deprecated use `GetProjectsTrustedIps2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsTrustedIps2$outboundSchema; - /** @deprecated use `GetProjectsTrustedIps2$Outbound` instead. */ - export type Outbound = GetProjectsTrustedIps2$Outbound; -} - -export function getProjectsTrustedIps2ToJSON( - getProjectsTrustedIps2: GetProjectsTrustedIps2, -): string { - return JSON.stringify( - GetProjectsTrustedIps2$outboundSchema.parse(getProjectsTrustedIps2), - ); -} - -export function getProjectsTrustedIps2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsTrustedIps2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsTrustedIps2' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsTrustedIpsDeploymentType$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsTrustedIpsDeploymentType -> = z.nativeEnum(GetProjectsTrustedIpsDeploymentType); - -/** @internal */ -export const GetProjectsTrustedIpsDeploymentType$outboundSchema: - z.ZodNativeEnum = - GetProjectsTrustedIpsDeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsTrustedIpsDeploymentType$ { - /** @deprecated use `GetProjectsTrustedIpsDeploymentType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsTrustedIpsDeploymentType$inboundSchema; - /** @deprecated use `GetProjectsTrustedIpsDeploymentType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsTrustedIpsDeploymentType$outboundSchema; -} - -/** @internal */ -export const GetProjectsTrustedIpsAddresses$inboundSchema: z.ZodType< - GetProjectsTrustedIpsAddresses, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.string(), - note: z.string().optional(), -}); - -/** @internal */ -export type GetProjectsTrustedIpsAddresses$Outbound = { - value: string; - note?: string | undefined; -}; - -/** @internal */ -export const GetProjectsTrustedIpsAddresses$outboundSchema: z.ZodType< - GetProjectsTrustedIpsAddresses$Outbound, - z.ZodTypeDef, - GetProjectsTrustedIpsAddresses -> = z.object({ - value: z.string(), - note: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsTrustedIpsAddresses$ { - /** @deprecated use `GetProjectsTrustedIpsAddresses$inboundSchema` instead. */ - export const inboundSchema = GetProjectsTrustedIpsAddresses$inboundSchema; - /** @deprecated use `GetProjectsTrustedIpsAddresses$outboundSchema` instead. */ - export const outboundSchema = GetProjectsTrustedIpsAddresses$outboundSchema; - /** @deprecated use `GetProjectsTrustedIpsAddresses$Outbound` instead. */ - export type Outbound = GetProjectsTrustedIpsAddresses$Outbound; -} - -export function getProjectsTrustedIpsAddressesToJSON( - getProjectsTrustedIpsAddresses: GetProjectsTrustedIpsAddresses, -): string { - return JSON.stringify( - GetProjectsTrustedIpsAddresses$outboundSchema.parse( - getProjectsTrustedIpsAddresses, - ), - ); -} - -export function getProjectsTrustedIpsAddressesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsTrustedIpsAddresses$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsTrustedIpsAddresses' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsTrustedIpsProtectionMode$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsTrustedIpsProtectionMode -> = z.nativeEnum(GetProjectsTrustedIpsProtectionMode); - -/** @internal */ -export const GetProjectsTrustedIpsProtectionMode$outboundSchema: - z.ZodNativeEnum = - GetProjectsTrustedIpsProtectionMode$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsTrustedIpsProtectionMode$ { - /** @deprecated use `GetProjectsTrustedIpsProtectionMode$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsTrustedIpsProtectionMode$inboundSchema; - /** @deprecated use `GetProjectsTrustedIpsProtectionMode$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsTrustedIpsProtectionMode$outboundSchema; -} - -/** @internal */ -export const GetProjectsTrustedIps1$inboundSchema: z.ZodType< - GetProjectsTrustedIps1, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentType: GetProjectsTrustedIpsDeploymentType$inboundSchema, - addresses: z.array( - z.lazy(() => GetProjectsTrustedIpsAddresses$inboundSchema), - ), - protectionMode: GetProjectsTrustedIpsProtectionMode$inboundSchema, -}); - -/** @internal */ -export type GetProjectsTrustedIps1$Outbound = { - deploymentType: string; - addresses: Array; - protectionMode: string; -}; - -/** @internal */ -export const GetProjectsTrustedIps1$outboundSchema: z.ZodType< - GetProjectsTrustedIps1$Outbound, - z.ZodTypeDef, - GetProjectsTrustedIps1 -> = z.object({ - deploymentType: GetProjectsTrustedIpsDeploymentType$outboundSchema, - addresses: z.array( - z.lazy(() => GetProjectsTrustedIpsAddresses$outboundSchema), - ), - protectionMode: GetProjectsTrustedIpsProtectionMode$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsTrustedIps1$ { - /** @deprecated use `GetProjectsTrustedIps1$inboundSchema` instead. */ - export const inboundSchema = GetProjectsTrustedIps1$inboundSchema; - /** @deprecated use `GetProjectsTrustedIps1$outboundSchema` instead. */ - export const outboundSchema = GetProjectsTrustedIps1$outboundSchema; - /** @deprecated use `GetProjectsTrustedIps1$Outbound` instead. */ - export type Outbound = GetProjectsTrustedIps1$Outbound; -} - -export function getProjectsTrustedIps1ToJSON( - getProjectsTrustedIps1: GetProjectsTrustedIps1, -): string { - return JSON.stringify( - GetProjectsTrustedIps1$outboundSchema.parse(getProjectsTrustedIps1), - ); -} - -export function getProjectsTrustedIps1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsTrustedIps1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsTrustedIps1' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsTrustedIps$inboundSchema: z.ZodType< - GetProjectsTrustedIps, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetProjectsTrustedIps2$inboundSchema), - z.lazy(() => GetProjectsTrustedIps1$inboundSchema), -]); - -/** @internal */ -export type GetProjectsTrustedIps$Outbound = - | GetProjectsTrustedIps2$Outbound - | GetProjectsTrustedIps1$Outbound; - -/** @internal */ -export const GetProjectsTrustedIps$outboundSchema: z.ZodType< - GetProjectsTrustedIps$Outbound, - z.ZodTypeDef, - GetProjectsTrustedIps -> = z.union([ - z.lazy(() => GetProjectsTrustedIps2$outboundSchema), - z.lazy(() => GetProjectsTrustedIps1$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsTrustedIps$ { - /** @deprecated use `GetProjectsTrustedIps$inboundSchema` instead. */ - export const inboundSchema = GetProjectsTrustedIps$inboundSchema; - /** @deprecated use `GetProjectsTrustedIps$outboundSchema` instead. */ - export const outboundSchema = GetProjectsTrustedIps$outboundSchema; - /** @deprecated use `GetProjectsTrustedIps$Outbound` instead. */ - export type Outbound = GetProjectsTrustedIps$Outbound; -} - -export function getProjectsTrustedIpsToJSON( - getProjectsTrustedIps: GetProjectsTrustedIps, -): string { - return JSON.stringify( - GetProjectsTrustedIps$outboundSchema.parse(getProjectsTrustedIps), - ); -} - -export function getProjectsTrustedIpsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsTrustedIps$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsTrustedIps' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsGitComments$inboundSchema: z.ZodType< - GetProjectsGitComments, - z.ZodTypeDef, - unknown -> = z.object({ - onPullRequest: z.boolean(), - onCommit: z.boolean(), -}); - -/** @internal */ -export type GetProjectsGitComments$Outbound = { - onPullRequest: boolean; - onCommit: boolean; -}; - -/** @internal */ -export const GetProjectsGitComments$outboundSchema: z.ZodType< - GetProjectsGitComments$Outbound, - z.ZodTypeDef, - GetProjectsGitComments -> = z.object({ - onPullRequest: z.boolean(), - onCommit: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsGitComments$ { - /** @deprecated use `GetProjectsGitComments$inboundSchema` instead. */ - export const inboundSchema = GetProjectsGitComments$inboundSchema; - /** @deprecated use `GetProjectsGitComments$outboundSchema` instead. */ - export const outboundSchema = GetProjectsGitComments$outboundSchema; - /** @deprecated use `GetProjectsGitComments$Outbound` instead. */ - export type Outbound = GetProjectsGitComments$Outbound; -} - -export function getProjectsGitCommentsToJSON( - getProjectsGitComments: GetProjectsGitComments, -): string { - return JSON.stringify( - GetProjectsGitComments$outboundSchema.parse(getProjectsGitComments), - ); -} - -export function getProjectsGitCommentsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsGitComments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsGitComments' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsWebAnalytics$inboundSchema: z.ZodType< - GetProjectsWebAnalytics, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); - -/** @internal */ -export type GetProjectsWebAnalytics$Outbound = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; -}; - -/** @internal */ -export const GetProjectsWebAnalytics$outboundSchema: z.ZodType< - GetProjectsWebAnalytics$Outbound, - z.ZodTypeDef, - GetProjectsWebAnalytics -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsWebAnalytics$ { - /** @deprecated use `GetProjectsWebAnalytics$inboundSchema` instead. */ - export const inboundSchema = GetProjectsWebAnalytics$inboundSchema; - /** @deprecated use `GetProjectsWebAnalytics$outboundSchema` instead. */ - export const outboundSchema = GetProjectsWebAnalytics$outboundSchema; - /** @deprecated use `GetProjectsWebAnalytics$Outbound` instead. */ - export type Outbound = GetProjectsWebAnalytics$Outbound; -} - -export function getProjectsWebAnalyticsToJSON( - getProjectsWebAnalytics: GetProjectsWebAnalytics, -): string { - return JSON.stringify( - GetProjectsWebAnalytics$outboundSchema.parse(getProjectsWebAnalytics), - ); -} - -export function getProjectsWebAnalyticsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsWebAnalytics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsWebAnalytics' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsSrc2$inboundSchema: z.ZodType< - GetProjectsSrc2, - z.ZodTypeDef, - unknown -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** @internal */ -export type GetProjectsSrc2$Outbound = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -/** @internal */ -export const GetProjectsSrc2$outboundSchema: z.ZodType< - GetProjectsSrc2$Outbound, - z.ZodTypeDef, - GetProjectsSrc2 -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsSrc2$ { - /** @deprecated use `GetProjectsSrc2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsSrc2$inboundSchema; - /** @deprecated use `GetProjectsSrc2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsSrc2$outboundSchema; - /** @deprecated use `GetProjectsSrc2$Outbound` instead. */ - export type Outbound = GetProjectsSrc2$Outbound; -} - -export function getProjectsSrc2ToJSON( - getProjectsSrc2: GetProjectsSrc2, -): string { - return JSON.stringify(GetProjectsSrc2$outboundSchema.parse(getProjectsSrc2)); -} - -export function getProjectsSrc2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsSrc2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsSrc2' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsSrc$inboundSchema: z.ZodType< - GetProjectsSrc, - z.ZodTypeDef, - unknown -> = z.union([z.lazy(() => GetProjectsSrc2$inboundSchema), z.string()]); - -/** @internal */ -export type GetProjectsSrc$Outbound = GetProjectsSrc2$Outbound | string; - -/** @internal */ -export const GetProjectsSrc$outboundSchema: z.ZodType< - GetProjectsSrc$Outbound, - z.ZodTypeDef, - GetProjectsSrc -> = z.union([z.lazy(() => GetProjectsSrc2$outboundSchema), z.string()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsSrc$ { - /** @deprecated use `GetProjectsSrc$inboundSchema` instead. */ - export const inboundSchema = GetProjectsSrc$inboundSchema; - /** @deprecated use `GetProjectsSrc$outboundSchema` instead. */ - export const outboundSchema = GetProjectsSrc$outboundSchema; - /** @deprecated use `GetProjectsSrc$Outbound` instead. */ - export type Outbound = GetProjectsSrc$Outbound; -} - -export function getProjectsSrcToJSON(getProjectsSrc: GetProjectsSrc): string { - return JSON.stringify(GetProjectsSrc$outboundSchema.parse(getProjectsSrc)); -} - -export function getProjectsSrcFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsSrc$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsSrc' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType - > = z.nativeEnum( - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType, - ); - -/** @internal */ -export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType - > = - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$ { - /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$inboundSchema; - /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$outboundSchema; -} - -/** @internal */ -export const GetProjectsValue2$inboundSchema: z.ZodType< - GetProjectsValue2, - z.ZodTypeDef, - unknown -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** @internal */ -export type GetProjectsValue2$Outbound = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -/** @internal */ -export const GetProjectsValue2$outboundSchema: z.ZodType< - GetProjectsValue2$Outbound, - z.ZodTypeDef, - GetProjectsValue2 -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsValue2$ { - /** @deprecated use `GetProjectsValue2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsValue2$inboundSchema; - /** @deprecated use `GetProjectsValue2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsValue2$outboundSchema; - /** @deprecated use `GetProjectsValue2$Outbound` instead. */ - export type Outbound = GetProjectsValue2$Outbound; -} - -export function getProjectsValue2ToJSON( - getProjectsValue2: GetProjectsValue2, -): string { - return JSON.stringify( - GetProjectsValue2$outboundSchema.parse(getProjectsValue2), - ); -} - -export function getProjectsValue2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsValue2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsValue2' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsValue$inboundSchema: z.ZodType< - GetProjectsValue, - z.ZodTypeDef, - unknown -> = z.union([z.lazy(() => GetProjectsValue2$inboundSchema), z.string()]); - -/** @internal */ -export type GetProjectsValue$Outbound = GetProjectsValue2$Outbound | string; - -/** @internal */ -export const GetProjectsValue$outboundSchema: z.ZodType< - GetProjectsValue$Outbound, - z.ZodTypeDef, - GetProjectsValue -> = z.union([z.lazy(() => GetProjectsValue2$outboundSchema), z.string()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsValue$ { - /** @deprecated use `GetProjectsValue$inboundSchema` instead. */ - export const inboundSchema = GetProjectsValue$inboundSchema; - /** @deprecated use `GetProjectsValue$outboundSchema` instead. */ - export const outboundSchema = GetProjectsValue$outboundSchema; - /** @deprecated use `GetProjectsValue$Outbound` instead. */ - export type Outbound = GetProjectsValue$Outbound; -} - -export function getProjectsValueToJSON( - getProjectsValue: GetProjectsValue, -): string { - return JSON.stringify( - GetProjectsValue$outboundSchema.parse(getProjectsValue), - ); -} - -export function getProjectsValueFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsValue$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsValue' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsHas$inboundSchema: z.ZodType< - GetProjectsHas, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$inboundSchema, - key: z.string().optional(), - value: z.union([z.lazy(() => GetProjectsValue2$inboundSchema), z.string()]) - .optional(), -}); - -/** @internal */ -export type GetProjectsHas$Outbound = { - type: string; - key?: string | undefined; - value?: GetProjectsValue2$Outbound | string | undefined; -}; - -/** @internal */ -export const GetProjectsHas$outboundSchema: z.ZodType< - GetProjectsHas$Outbound, - z.ZodTypeDef, - GetProjectsHas -> = z.object({ - type: - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$outboundSchema, - key: z.string().optional(), - value: z.union([z.lazy(() => GetProjectsValue2$outboundSchema), z.string()]) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHas$ { - /** @deprecated use `GetProjectsHas$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHas$inboundSchema; - /** @deprecated use `GetProjectsHas$outboundSchema` instead. */ - export const outboundSchema = GetProjectsHas$outboundSchema; - /** @deprecated use `GetProjectsHas$Outbound` instead. */ - export type Outbound = GetProjectsHas$Outbound; -} - -export function getProjectsHasToJSON(getProjectsHas: GetProjectsHas): string { - return JSON.stringify(GetProjectsHas$outboundSchema.parse(getProjectsHas)); -} - -export function getProjectsHasFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsHas$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsHas' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$inboundSchema: - z.ZodNativeEnum< - typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType - > = z.nativeEnum( - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType, - ); - -/** @internal */ -export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$outboundSchema: - z.ZodNativeEnum< - typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType - > = - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$ { - /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$inboundSchema; - /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$outboundSchema; -} - -/** @internal */ -export const GetProjectsValueProjects2$inboundSchema: z.ZodType< - GetProjectsValueProjects2, - z.ZodTypeDef, - unknown -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** @internal */ -export type GetProjectsValueProjects2$Outbound = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -/** @internal */ -export const GetProjectsValueProjects2$outboundSchema: z.ZodType< - GetProjectsValueProjects2$Outbound, - z.ZodTypeDef, - GetProjectsValueProjects2 -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsValueProjects2$ { - /** @deprecated use `GetProjectsValueProjects2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsValueProjects2$inboundSchema; - /** @deprecated use `GetProjectsValueProjects2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsValueProjects2$outboundSchema; - /** @deprecated use `GetProjectsValueProjects2$Outbound` instead. */ - export type Outbound = GetProjectsValueProjects2$Outbound; -} - -export function getProjectsValueProjects2ToJSON( - getProjectsValueProjects2: GetProjectsValueProjects2, -): string { - return JSON.stringify( - GetProjectsValueProjects2$outboundSchema.parse(getProjectsValueProjects2), - ); -} - -export function getProjectsValueProjects2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsValueProjects2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsValueProjects2' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsProjectsValue$inboundSchema: z.ZodType< - GetProjectsProjectsValue, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetProjectsValueProjects2$inboundSchema), - z.string(), -]); - -/** @internal */ -export type GetProjectsProjectsValue$Outbound = - | GetProjectsValueProjects2$Outbound - | string; - -/** @internal */ -export const GetProjectsProjectsValue$outboundSchema: z.ZodType< - GetProjectsProjectsValue$Outbound, - z.ZodTypeDef, - GetProjectsProjectsValue -> = z.union([ - z.lazy(() => GetProjectsValueProjects2$outboundSchema), - z.string(), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsValue$ { - /** @deprecated use `GetProjectsProjectsValue$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjectsValue$inboundSchema; - /** @deprecated use `GetProjectsProjectsValue$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProjectsValue$outboundSchema; - /** @deprecated use `GetProjectsProjectsValue$Outbound` instead. */ - export type Outbound = GetProjectsProjectsValue$Outbound; -} - -export function getProjectsProjectsValueToJSON( - getProjectsProjectsValue: GetProjectsProjectsValue, -): string { - return JSON.stringify( - GetProjectsProjectsValue$outboundSchema.parse(getProjectsProjectsValue), - ); -} - -export function getProjectsProjectsValueFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsProjectsValue$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsProjectsValue' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsMissing$inboundSchema: z.ZodType< - GetProjectsMissing, - z.ZodTypeDef, - unknown -> = z.object({ - type: - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$inboundSchema, - key: z.string().optional(), - value: z.union([ - z.lazy(() => GetProjectsValueProjects2$inboundSchema), - z.string(), - ]).optional(), -}); - -/** @internal */ -export type GetProjectsMissing$Outbound = { - type: string; - key?: string | undefined; - value?: GetProjectsValueProjects2$Outbound | string | undefined; -}; - -/** @internal */ -export const GetProjectsMissing$outboundSchema: z.ZodType< - GetProjectsMissing$Outbound, - z.ZodTypeDef, - GetProjectsMissing -> = z.object({ - type: - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$outboundSchema, - key: z.string().optional(), - value: z.union([ - z.lazy(() => GetProjectsValueProjects2$outboundSchema), - z.string(), - ]).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsMissing$ { - /** @deprecated use `GetProjectsMissing$inboundSchema` instead. */ - export const inboundSchema = GetProjectsMissing$inboundSchema; - /** @deprecated use `GetProjectsMissing$outboundSchema` instead. */ - export const outboundSchema = GetProjectsMissing$outboundSchema; - /** @deprecated use `GetProjectsMissing$Outbound` instead. */ - export type Outbound = GetProjectsMissing$Outbound; -} - -export function getProjectsMissingToJSON( - getProjectsMissing: GetProjectsMissing, -): string { - return JSON.stringify( - GetProjectsMissing$outboundSchema.parse(getProjectsMissing), - ); -} - -export function getProjectsMissingFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsMissing$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsMissing' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsHandle$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsHandle -> = z.nativeEnum(GetProjectsHandle); - -/** @internal */ -export const GetProjectsHandle$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsHandle -> = GetProjectsHandle$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHandle$ { - /** @deprecated use `GetProjectsHandle$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHandle$inboundSchema; - /** @deprecated use `GetProjectsHandle$outboundSchema` instead. */ - export const outboundSchema = GetProjectsHandle$outboundSchema; -} - -/** @internal */ -export const GetProjectsAction$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsAction -> = z.nativeEnum(GetProjectsAction); - -/** @internal */ -export const GetProjectsAction$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsAction -> = GetProjectsAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsAction$ { - /** @deprecated use `GetProjectsAction$inboundSchema` instead. */ - export const inboundSchema = GetProjectsAction$inboundSchema; - /** @deprecated use `GetProjectsAction$outboundSchema` instead. */ - export const outboundSchema = GetProjectsAction$outboundSchema; -} - -/** @internal */ -export const GetProjectsAlgo$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsAlgo -> = z.nativeEnum(GetProjectsAlgo); - -/** @internal */ -export const GetProjectsAlgo$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsAlgo -> = GetProjectsAlgo$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsAlgo$ { - /** @deprecated use `GetProjectsAlgo$inboundSchema` instead. */ - export const inboundSchema = GetProjectsAlgo$inboundSchema; - /** @deprecated use `GetProjectsAlgo$outboundSchema` instead. */ - export const outboundSchema = GetProjectsAlgo$outboundSchema; -} - -/** @internal */ -export const GetProjectsErl$inboundSchema: z.ZodType< - GetProjectsErl, - z.ZodTypeDef, - unknown -> = z.object({ - algo: GetProjectsAlgo$inboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), -}); - -/** @internal */ -export type GetProjectsErl$Outbound = { - algo: string; - window: number; - limit: number; - keys: Array; -}; - -/** @internal */ -export const GetProjectsErl$outboundSchema: z.ZodType< - GetProjectsErl$Outbound, - z.ZodTypeDef, - GetProjectsErl -> = z.object({ - algo: GetProjectsAlgo$outboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsErl$ { - /** @deprecated use `GetProjectsErl$inboundSchema` instead. */ - export const inboundSchema = GetProjectsErl$inboundSchema; - /** @deprecated use `GetProjectsErl$outboundSchema` instead. */ - export const outboundSchema = GetProjectsErl$outboundSchema; - /** @deprecated use `GetProjectsErl$Outbound` instead. */ - export type Outbound = GetProjectsErl$Outbound; -} - -export function getProjectsErlToJSON(getProjectsErl: GetProjectsErl): string { - return JSON.stringify(GetProjectsErl$outboundSchema.parse(getProjectsErl)); -} - -export function getProjectsErlFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsErl$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsErl' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsMitigate$inboundSchema: z.ZodType< - GetProjectsMitigate, - z.ZodTypeDef, - unknown -> = z.object({ - action: GetProjectsAction$inboundSchema, - rule_id: z.string(), - ttl: z.number().optional(), - erl: z.lazy(() => GetProjectsErl$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "rule_id": "ruleId", - }); -}); - -/** @internal */ -export type GetProjectsMitigate$Outbound = { - action: string; - rule_id: string; - ttl?: number | undefined; - erl?: GetProjectsErl$Outbound | undefined; -}; - -/** @internal */ -export const GetProjectsMitigate$outboundSchema: z.ZodType< - GetProjectsMitigate$Outbound, - z.ZodTypeDef, - GetProjectsMitigate -> = z.object({ - action: GetProjectsAction$outboundSchema, - ruleId: z.string(), - ttl: z.number().optional(), - erl: z.lazy(() => GetProjectsErl$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - ruleId: "rule_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsMitigate$ { - /** @deprecated use `GetProjectsMitigate$inboundSchema` instead. */ - export const inboundSchema = GetProjectsMitigate$inboundSchema; - /** @deprecated use `GetProjectsMitigate$outboundSchema` instead. */ - export const outboundSchema = GetProjectsMitigate$outboundSchema; - /** @deprecated use `GetProjectsMitigate$Outbound` instead. */ - export type Outbound = GetProjectsMitigate$Outbound; -} - -export function getProjectsMitigateToJSON( - getProjectsMitigate: GetProjectsMitigate, -): string { - return JSON.stringify( - GetProjectsMitigate$outboundSchema.parse(getProjectsMitigate), - ); -} - -export function getProjectsMitigateFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsMitigate$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsMitigate' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsFirewallRoutes$inboundSchema: z.ZodType< - GetProjectsFirewallRoutes, - z.ZodTypeDef, - unknown -> = z.object({ - src: z.union([z.lazy(() => GetProjectsSrc2$inboundSchema), z.string()]) - .optional(), - has: z.array(z.lazy(() => GetProjectsHas$inboundSchema)).optional(), - missing: z.array(z.lazy(() => GetProjectsMissing$inboundSchema)).optional(), - dest: z.string().optional(), - status: z.number().optional(), - handle: GetProjectsHandle$inboundSchema.optional(), - mitigate: z.lazy(() => GetProjectsMitigate$inboundSchema).optional(), -}); - -/** @internal */ -export type GetProjectsFirewallRoutes$Outbound = { - src?: GetProjectsSrc2$Outbound | string | undefined; - has?: Array | undefined; - missing?: Array | undefined; - dest?: string | undefined; - status?: number | undefined; - handle?: string | undefined; - mitigate?: GetProjectsMitigate$Outbound | undefined; -}; - -/** @internal */ -export const GetProjectsFirewallRoutes$outboundSchema: z.ZodType< - GetProjectsFirewallRoutes$Outbound, - z.ZodTypeDef, - GetProjectsFirewallRoutes -> = z.object({ - src: z.union([z.lazy(() => GetProjectsSrc2$outboundSchema), z.string()]) - .optional(), - has: z.array(z.lazy(() => GetProjectsHas$outboundSchema)).optional(), - missing: z.array(z.lazy(() => GetProjectsMissing$outboundSchema)).optional(), - dest: z.string().optional(), - status: z.number().optional(), - handle: GetProjectsHandle$outboundSchema.optional(), - mitigate: z.lazy(() => GetProjectsMitigate$outboundSchema).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsFirewallRoutes$ { - /** @deprecated use `GetProjectsFirewallRoutes$inboundSchema` instead. */ - export const inboundSchema = GetProjectsFirewallRoutes$inboundSchema; - /** @deprecated use `GetProjectsFirewallRoutes$outboundSchema` instead. */ - export const outboundSchema = GetProjectsFirewallRoutes$outboundSchema; - /** @deprecated use `GetProjectsFirewallRoutes$Outbound` instead. */ - export type Outbound = GetProjectsFirewallRoutes$Outbound; -} - -export function getProjectsFirewallRoutesToJSON( - getProjectsFirewallRoutes: GetProjectsFirewallRoutes, -): string { - return JSON.stringify( - GetProjectsFirewallRoutes$outboundSchema.parse(getProjectsFirewallRoutes), - ); -} - -export function getProjectsFirewallRoutesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsFirewallRoutes$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsFirewallRoutes' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsSecurity$inboundSchema: z.ZodType< - GetProjectsSecurity, - z.ZodTypeDef, - unknown -> = z.object({ - attackModeEnabled: z.boolean().optional(), - attackModeUpdatedAt: z.number().optional(), - firewallEnabled: z.boolean().optional(), - firewallUpdatedAt: z.number().optional(), - attackModeActiveUntil: z.nullable(z.number()).optional(), - firewallConfigVersion: z.number().optional(), - firewallRoutes: z.array(z.lazy(() => GetProjectsFirewallRoutes$inboundSchema)) - .optional(), - firewallSeawallEnabled: z.boolean().optional(), - ja3Enabled: z.boolean().optional(), - ja4Enabled: z.boolean().optional(), - firewallBypassIps: z.array(z.string()).optional(), -}); - -/** @internal */ -export type GetProjectsSecurity$Outbound = { - attackModeEnabled?: boolean | undefined; - attackModeUpdatedAt?: number | undefined; - firewallEnabled?: boolean | undefined; - firewallUpdatedAt?: number | undefined; - attackModeActiveUntil?: number | null | undefined; - firewallConfigVersion?: number | undefined; - firewallRoutes?: Array | undefined; - firewallSeawallEnabled?: boolean | undefined; - ja3Enabled?: boolean | undefined; - ja4Enabled?: boolean | undefined; - firewallBypassIps?: Array | undefined; -}; - -/** @internal */ -export const GetProjectsSecurity$outboundSchema: z.ZodType< - GetProjectsSecurity$Outbound, - z.ZodTypeDef, - GetProjectsSecurity -> = z.object({ - attackModeEnabled: z.boolean().optional(), - attackModeUpdatedAt: z.number().optional(), - firewallEnabled: z.boolean().optional(), - firewallUpdatedAt: z.number().optional(), - attackModeActiveUntil: z.nullable(z.number()).optional(), - firewallConfigVersion: z.number().optional(), - firewallRoutes: z.array( - z.lazy(() => GetProjectsFirewallRoutes$outboundSchema), - ).optional(), - firewallSeawallEnabled: z.boolean().optional(), - ja3Enabled: z.boolean().optional(), - ja4Enabled: z.boolean().optional(), - firewallBypassIps: z.array(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsSecurity$ { - /** @deprecated use `GetProjectsSecurity$inboundSchema` instead. */ - export const inboundSchema = GetProjectsSecurity$inboundSchema; - /** @deprecated use `GetProjectsSecurity$outboundSchema` instead. */ - export const outboundSchema = GetProjectsSecurity$outboundSchema; - /** @deprecated use `GetProjectsSecurity$Outbound` instead. */ - export type Outbound = GetProjectsSecurity$Outbound; -} - -export function getProjectsSecurityToJSON( - getProjectsSecurity: GetProjectsSecurity, -): string { - return JSON.stringify( - GetProjectsSecurity$outboundSchema.parse(getProjectsSecurity), - ); -} - -export function getProjectsSecurityFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsSecurity$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsSecurity' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsIssuerMode$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsIssuerMode -> = z.nativeEnum(GetProjectsIssuerMode); - -/** @internal */ -export const GetProjectsIssuerMode$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsIssuerMode -> = GetProjectsIssuerMode$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsIssuerMode$ { - /** @deprecated use `GetProjectsIssuerMode$inboundSchema` instead. */ - export const inboundSchema = GetProjectsIssuerMode$inboundSchema; - /** @deprecated use `GetProjectsIssuerMode$outboundSchema` instead. */ - export const outboundSchema = GetProjectsIssuerMode$outboundSchema; -} - -/** @internal */ -export const GetProjectsOidcTokenConfig$inboundSchema: z.ZodType< - GetProjectsOidcTokenConfig, - z.ZodTypeDef, - unknown -> = z.object({ - enabled: z.boolean(), - issuerMode: GetProjectsIssuerMode$inboundSchema.optional(), -}); - -/** @internal */ -export type GetProjectsOidcTokenConfig$Outbound = { - enabled: boolean; - issuerMode?: string | undefined; -}; - -/** @internal */ -export const GetProjectsOidcTokenConfig$outboundSchema: z.ZodType< - GetProjectsOidcTokenConfig$Outbound, - z.ZodTypeDef, - GetProjectsOidcTokenConfig -> = z.object({ - enabled: z.boolean(), - issuerMode: GetProjectsIssuerMode$outboundSchema.optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsOidcTokenConfig$ { - /** @deprecated use `GetProjectsOidcTokenConfig$inboundSchema` instead. */ - export const inboundSchema = GetProjectsOidcTokenConfig$inboundSchema; - /** @deprecated use `GetProjectsOidcTokenConfig$outboundSchema` instead. */ - export const outboundSchema = GetProjectsOidcTokenConfig$outboundSchema; - /** @deprecated use `GetProjectsOidcTokenConfig$Outbound` instead. */ - export type Outbound = GetProjectsOidcTokenConfig$Outbound; -} - -export function getProjectsOidcTokenConfigToJSON( - getProjectsOidcTokenConfig: GetProjectsOidcTokenConfig, -): string { - return JSON.stringify( - GetProjectsOidcTokenConfig$outboundSchema.parse(getProjectsOidcTokenConfig), - ); -} - -export function getProjectsOidcTokenConfigFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsOidcTokenConfig$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsOidcTokenConfig' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsTier$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsTier -> = z.nativeEnum(GetProjectsTier); - -/** @internal */ -export const GetProjectsTier$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsTier -> = GetProjectsTier$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsTier$ { - /** @deprecated use `GetProjectsTier$inboundSchema` instead. */ - export const inboundSchema = GetProjectsTier$inboundSchema; - /** @deprecated use `GetProjectsTier$outboundSchema` instead. */ - export const outboundSchema = GetProjectsTier$outboundSchema; -} - -/** @internal */ -export const GetProjectsProjects$inboundSchema: z.ZodType< - GetProjectsProjects, - z.ZodTypeDef, - unknown -> = z.object({ - accountId: z.string(), - analytics: z.lazy(() => GetProjectsAnalytics$inboundSchema).optional(), - speedInsights: z.lazy(() => GetProjectsSpeedInsights$inboundSchema) - .optional(), - autoExposeSystemEnvs: z.boolean().optional(), - autoAssignCustomDomains: z.boolean().optional(), - autoAssignCustomDomainsUpdatedBy: z.string().optional(), - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - connectConfigurationId: z.nullable(z.string()).optional(), - connectBuildsEnabled: z.boolean().optional(), - createdAt: z.number().optional(), - customerSupportCodeVisibility: z.boolean().optional(), - crons: z.lazy(() => GetProjectsCrons$inboundSchema).optional(), - dataCache: z.lazy(() => GetProjectsDataCache$inboundSchema).optional(), - deploymentExpiration: z.nullable( - z.lazy(() => GetProjectsDeploymentExpiration$inboundSchema), - ).optional(), - devCommand: z.nullable(z.string()).optional(), - directoryListing: z.boolean(), - installCommand: z.nullable(z.string()).optional(), - env: z.array(z.lazy(() => GetProjectsEnv$inboundSchema)).optional(), - customEnvironments: z.array( - z.lazy(() => GetProjectsCustomEnvironments$inboundSchema), - ).optional(), - framework: z.nullable(GetProjectsFramework$inboundSchema).optional(), - gitForkProtection: z.boolean().optional(), - gitLFS: z.boolean().optional(), - id: z.string(), - ipBuckets: z.array(z.lazy(() => GetProjectsIpBuckets$inboundSchema)) - .optional(), - latestDeployments: z.array( - z.lazy(() => GetProjectsLatestDeployments$inboundSchema), - ).optional(), - link: z.union([ - z.lazy(() => GetProjectsLink1$inboundSchema), - z.lazy(() => GetProjectsLink3$inboundSchema), - z.lazy(() => GetProjectsLink2$inboundSchema), - ]).optional(), - microfrontends: z.lazy(() => GetProjectsMicrofrontends$inboundSchema) - .optional(), - name: z.string(), - nodeVersion: GetProjectsNodeVersion$inboundSchema, - optionsAllowlist: z.nullable( - z.lazy(() => GetProjectsOptionsAllowlist$inboundSchema), - ).optional(), - outputDirectory: z.nullable(z.string()).optional(), - passiveConnectConfigurationId: z.nullable(z.string()).optional(), - passwordProtection: z.nullable( - z.lazy(() => GetProjectsPasswordProtection$inboundSchema), - ).optional(), - productionDeploymentsFastLane: z.boolean().optional(), - publicSource: z.nullable(z.boolean()).optional(), - resourceConfig: z.lazy(() => GetProjectsResourceConfig$inboundSchema) - .optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - serverlessFunctionZeroConfigFailover: z.boolean().optional(), - skewProtectionBoundaryAt: z.number().optional(), - skewProtectionMaxAge: z.number().optional(), - skipGitConnectDuringLink: z.boolean().optional(), - sourceFilesOutsideRootDirectory: z.boolean().optional(), - enableAffectedProjectsDeployments: z.boolean().optional(), - ssoProtection: z.nullable( - z.lazy(() => GetProjectsSsoProtection$inboundSchema), - ).optional(), - targets: z.record(z.lazy(() => GetProjectsTargets$inboundSchema)).optional(), - transferCompletedAt: z.number().optional(), - transferStartedAt: z.number().optional(), - transferToAccountId: z.string().optional(), - transferredFromAccountId: z.string().optional(), - updatedAt: z.number().optional(), - live: z.boolean().optional(), - enablePreviewFeedback: z.nullable(z.boolean()).optional(), - enableProductionFeedback: z.nullable(z.boolean()).optional(), - permissions: z.lazy(() => GetProjectsPermissions$inboundSchema).optional(), - lastRollbackTarget: z.nullable( - z.lazy(() => GetProjectsLastRollbackTarget$inboundSchema), - ).optional(), - lastAliasRequest: z.nullable( - z.lazy(() => GetProjectsLastAliasRequest$inboundSchema), - ).optional(), - hasFloatingAliases: z.boolean().optional(), - protectionBypass: z.record( - z.lazy(() => GetProjectsProtectionBypass$inboundSchema), - ).optional(), - hasActiveBranches: z.boolean().optional(), - trustedIps: z.nullable( - z.union([ - z.lazy(() => GetProjectsTrustedIps2$inboundSchema), - z.lazy(() => GetProjectsTrustedIps1$inboundSchema), - ]), - ).optional(), - gitComments: z.lazy(() => GetProjectsGitComments$inboundSchema).optional(), - paused: z.boolean().optional(), - concurrencyBucketName: z.string().optional(), - webAnalytics: z.lazy(() => GetProjectsWebAnalytics$inboundSchema).optional(), - security: z.lazy(() => GetProjectsSecurity$inboundSchema).optional(), - oidcTokenConfig: z.lazy(() => GetProjectsOidcTokenConfig$inboundSchema) - .optional(), - tier: GetProjectsTier$inboundSchema.optional(), -}); - -/** @internal */ -export type GetProjectsProjects$Outbound = { - accountId: string; - analytics?: GetProjectsAnalytics$Outbound | undefined; - speedInsights?: GetProjectsSpeedInsights$Outbound | undefined; - autoExposeSystemEnvs?: boolean | undefined; - autoAssignCustomDomains?: boolean | undefined; - autoAssignCustomDomainsUpdatedBy?: string | undefined; - buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - connectConfigurationId?: string | null | undefined; - connectBuildsEnabled?: boolean | undefined; - createdAt?: number | undefined; - customerSupportCodeVisibility?: boolean | undefined; - crons?: GetProjectsCrons$Outbound | undefined; - dataCache?: GetProjectsDataCache$Outbound | undefined; - deploymentExpiration?: - | GetProjectsDeploymentExpiration$Outbound - | null - | undefined; - devCommand?: string | null | undefined; - directoryListing: boolean; - installCommand?: string | null | undefined; - env?: Array | undefined; - customEnvironments?: - | Array - | undefined; - framework?: string | null | undefined; - gitForkProtection?: boolean | undefined; - gitLFS?: boolean | undefined; - id: string; - ipBuckets?: Array | undefined; - latestDeployments?: Array | undefined; - link?: - | GetProjectsLink1$Outbound - | GetProjectsLink3$Outbound - | GetProjectsLink2$Outbound - | undefined; - microfrontends?: GetProjectsMicrofrontends$Outbound | undefined; - name: string; - nodeVersion: string; - optionsAllowlist?: GetProjectsOptionsAllowlist$Outbound | null | undefined; - outputDirectory?: string | null | undefined; - passiveConnectConfigurationId?: string | null | undefined; - passwordProtection?: - | GetProjectsPasswordProtection$Outbound - | null - | undefined; - productionDeploymentsFastLane?: boolean | undefined; - publicSource?: boolean | null | undefined; - resourceConfig?: GetProjectsResourceConfig$Outbound | undefined; - rootDirectory?: string | null | undefined; - serverlessFunctionRegion?: string | null | undefined; - serverlessFunctionZeroConfigFailover?: boolean | undefined; - skewProtectionBoundaryAt?: number | undefined; - skewProtectionMaxAge?: number | undefined; - skipGitConnectDuringLink?: boolean | undefined; - sourceFilesOutsideRootDirectory?: boolean | undefined; - enableAffectedProjectsDeployments?: boolean | undefined; - ssoProtection?: GetProjectsSsoProtection$Outbound | null | undefined; - targets?: { [k: string]: GetProjectsTargets$Outbound } | undefined; - transferCompletedAt?: number | undefined; - transferStartedAt?: number | undefined; - transferToAccountId?: string | undefined; - transferredFromAccountId?: string | undefined; - updatedAt?: number | undefined; - live?: boolean | undefined; - enablePreviewFeedback?: boolean | null | undefined; - enableProductionFeedback?: boolean | null | undefined; - permissions?: GetProjectsPermissions$Outbound | undefined; - lastRollbackTarget?: - | GetProjectsLastRollbackTarget$Outbound - | null - | undefined; - lastAliasRequest?: GetProjectsLastAliasRequest$Outbound | null | undefined; - hasFloatingAliases?: boolean | undefined; - protectionBypass?: - | { [k: string]: GetProjectsProtectionBypass$Outbound } - | undefined; - hasActiveBranches?: boolean | undefined; - trustedIps?: - | GetProjectsTrustedIps2$Outbound - | GetProjectsTrustedIps1$Outbound - | null - | undefined; - gitComments?: GetProjectsGitComments$Outbound | undefined; - paused?: boolean | undefined; - concurrencyBucketName?: string | undefined; - webAnalytics?: GetProjectsWebAnalytics$Outbound | undefined; - security?: GetProjectsSecurity$Outbound | undefined; - oidcTokenConfig?: GetProjectsOidcTokenConfig$Outbound | undefined; - tier?: string | undefined; -}; - -/** @internal */ -export const GetProjectsProjects$outboundSchema: z.ZodType< - GetProjectsProjects$Outbound, - z.ZodTypeDef, - GetProjectsProjects -> = z.object({ - accountId: z.string(), - analytics: z.lazy(() => GetProjectsAnalytics$outboundSchema).optional(), - speedInsights: z.lazy(() => GetProjectsSpeedInsights$outboundSchema) - .optional(), - autoExposeSystemEnvs: z.boolean().optional(), - autoAssignCustomDomains: z.boolean().optional(), - autoAssignCustomDomainsUpdatedBy: z.string().optional(), - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - connectConfigurationId: z.nullable(z.string()).optional(), - connectBuildsEnabled: z.boolean().optional(), - createdAt: z.number().optional(), - customerSupportCodeVisibility: z.boolean().optional(), - crons: z.lazy(() => GetProjectsCrons$outboundSchema).optional(), - dataCache: z.lazy(() => GetProjectsDataCache$outboundSchema).optional(), - deploymentExpiration: z.nullable( - z.lazy(() => GetProjectsDeploymentExpiration$outboundSchema), - ).optional(), - devCommand: z.nullable(z.string()).optional(), - directoryListing: z.boolean(), - installCommand: z.nullable(z.string()).optional(), - env: z.array(z.lazy(() => GetProjectsEnv$outboundSchema)).optional(), - customEnvironments: z.array( - z.lazy(() => GetProjectsCustomEnvironments$outboundSchema), - ).optional(), - framework: z.nullable(GetProjectsFramework$outboundSchema).optional(), - gitForkProtection: z.boolean().optional(), - gitLFS: z.boolean().optional(), - id: z.string(), - ipBuckets: z.array(z.lazy(() => GetProjectsIpBuckets$outboundSchema)) - .optional(), - latestDeployments: z.array( - z.lazy(() => GetProjectsLatestDeployments$outboundSchema), - ).optional(), - link: z.union([ - z.lazy(() => GetProjectsLink1$outboundSchema), - z.lazy(() => GetProjectsLink3$outboundSchema), - z.lazy(() => GetProjectsLink2$outboundSchema), - ]).optional(), - microfrontends: z.lazy(() => GetProjectsMicrofrontends$outboundSchema) - .optional(), - name: z.string(), - nodeVersion: GetProjectsNodeVersion$outboundSchema, - optionsAllowlist: z.nullable( - z.lazy(() => GetProjectsOptionsAllowlist$outboundSchema), - ).optional(), - outputDirectory: z.nullable(z.string()).optional(), - passiveConnectConfigurationId: z.nullable(z.string()).optional(), - passwordProtection: z.nullable( - z.lazy(() => GetProjectsPasswordProtection$outboundSchema), - ).optional(), - productionDeploymentsFastLane: z.boolean().optional(), - publicSource: z.nullable(z.boolean()).optional(), - resourceConfig: z.lazy(() => GetProjectsResourceConfig$outboundSchema) - .optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - serverlessFunctionZeroConfigFailover: z.boolean().optional(), - skewProtectionBoundaryAt: z.number().optional(), - skewProtectionMaxAge: z.number().optional(), - skipGitConnectDuringLink: z.boolean().optional(), - sourceFilesOutsideRootDirectory: z.boolean().optional(), - enableAffectedProjectsDeployments: z.boolean().optional(), - ssoProtection: z.nullable( - z.lazy(() => GetProjectsSsoProtection$outboundSchema), - ).optional(), - targets: z.record(z.lazy(() => GetProjectsTargets$outboundSchema)).optional(), - transferCompletedAt: z.number().optional(), - transferStartedAt: z.number().optional(), - transferToAccountId: z.string().optional(), - transferredFromAccountId: z.string().optional(), - updatedAt: z.number().optional(), - live: z.boolean().optional(), - enablePreviewFeedback: z.nullable(z.boolean()).optional(), - enableProductionFeedback: z.nullable(z.boolean()).optional(), - permissions: z.lazy(() => GetProjectsPermissions$outboundSchema).optional(), - lastRollbackTarget: z.nullable( - z.lazy(() => GetProjectsLastRollbackTarget$outboundSchema), - ).optional(), - lastAliasRequest: z.nullable( - z.lazy(() => GetProjectsLastAliasRequest$outboundSchema), - ).optional(), - hasFloatingAliases: z.boolean().optional(), - protectionBypass: z.record( - z.lazy(() => GetProjectsProtectionBypass$outboundSchema), - ).optional(), - hasActiveBranches: z.boolean().optional(), - trustedIps: z.nullable( - z.union([ - z.lazy(() => GetProjectsTrustedIps2$outboundSchema), - z.lazy(() => GetProjectsTrustedIps1$outboundSchema), - ]), - ).optional(), - gitComments: z.lazy(() => GetProjectsGitComments$outboundSchema).optional(), - paused: z.boolean().optional(), - concurrencyBucketName: z.string().optional(), - webAnalytics: z.lazy(() => GetProjectsWebAnalytics$outboundSchema).optional(), - security: z.lazy(() => GetProjectsSecurity$outboundSchema).optional(), - oidcTokenConfig: z.lazy(() => GetProjectsOidcTokenConfig$outboundSchema) - .optional(), - tier: GetProjectsTier$outboundSchema.optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjects$ { - /** @deprecated use `GetProjectsProjects$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjects$inboundSchema; - /** @deprecated use `GetProjectsProjects$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProjects$outboundSchema; - /** @deprecated use `GetProjectsProjects$Outbound` instead. */ - export type Outbound = GetProjectsProjects$Outbound; -} - -export function getProjectsProjectsToJSON( - getProjectsProjects: GetProjectsProjects, -): string { - return JSON.stringify( - GetProjectsProjects$outboundSchema.parse(getProjectsProjects), - ); -} - -export function getProjectsProjectsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsProjects$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsProjects' from JSON`, - ); -} - -/** @internal */ -export const GetProjectsResponseBody$inboundSchema: z.ZodType< - GetProjectsResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - projects: z.array(z.lazy(() => GetProjectsProjects$inboundSchema)), - pagination: Pagination$inboundSchema, -}); - -/** @internal */ -export type GetProjectsResponseBody$Outbound = { - projects: Array; - pagination: Pagination$Outbound; -}; - -/** @internal */ -export const GetProjectsResponseBody$outboundSchema: z.ZodType< - GetProjectsResponseBody$Outbound, - z.ZodTypeDef, - GetProjectsResponseBody -> = z.object({ - projects: z.array(z.lazy(() => GetProjectsProjects$outboundSchema)), - pagination: Pagination$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsResponseBody$ { - /** @deprecated use `GetProjectsResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetProjectsResponseBody$inboundSchema; - /** @deprecated use `GetProjectsResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetProjectsResponseBody$outboundSchema; - /** @deprecated use `GetProjectsResponseBody$Outbound` instead. */ - export type Outbound = GetProjectsResponseBody$Outbound; -} - -export function getProjectsResponseBodyToJSON( - getProjectsResponseBody: GetProjectsResponseBody, -): string { - return JSON.stringify( - GetProjectsResponseBody$outboundSchema.parse(getProjectsResponseBody), - ); -} - -export function getProjectsResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetProjectsResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getrecords.ts b/src/models/operations/getrecords.ts deleted file mode 100644 index c7e7ed9f..00000000 --- a/src/models/operations/getrecords.ts +++ /dev/null @@ -1,568 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - Pagination, - Pagination$inboundSchema, - Pagination$Outbound, - Pagination$outboundSchema, -} from "../components/pagination.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetRecordsRequest = { - domain: string; - /** - * Maximum number of records to list from a request. - */ - limit?: string | undefined; - /** - * Get records created after this JavaScript timestamp. - */ - since?: string | undefined; - /** - * Get records created before this JavaScript timestamp. - */ - until?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export const GetRecordsResponseBodyDnsType = { - A: "A", - Aaaa: "AAAA", - Alias: "ALIAS", - Caa: "CAA", - Cname: "CNAME", - Https: "HTTPS", - Mx: "MX", - Srv: "SRV", - Txt: "TXT", - Ns: "NS", -} as const; -export type GetRecordsResponseBodyDnsType = ClosedEnum< - typeof GetRecordsResponseBodyDnsType ->; - -export type ResponseBodyRecords = { - id: string; - slug: string; - name: string; - type: GetRecordsResponseBodyDnsType; - value: string; - mxPriority?: number | undefined; - priority?: number | undefined; - creator: string; - created: number | null; - updated: number | null; - createdAt: number | null; - updatedAt: number | null; -}; - -/** - * Successful response retrieving a list of paginated DNS records. - */ -export type ResponseBody3 = { - records: Array; - /** - * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. - */ - pagination: Pagination; -}; - -export const GetRecordsResponseBodyType = { - A: "A", - Aaaa: "AAAA", - Alias: "ALIAS", - Caa: "CAA", - Cname: "CNAME", - Https: "HTTPS", - Mx: "MX", - Srv: "SRV", - Txt: "TXT", - Ns: "NS", -} as const; -export type GetRecordsResponseBodyType = ClosedEnum< - typeof GetRecordsResponseBodyType ->; - -export type Records = { - id: string; - slug: string; - name: string; - type: GetRecordsResponseBodyType; - value: string; - mxPriority?: number | undefined; - priority?: number | undefined; - creator: string; - created: number | null; - updated: number | null; - createdAt: number | null; - updatedAt: number | null; -}; - -export type GetRecordsResponseBody2 = { - records: Array; -}; - -/** - * Successful response retrieving a list of paginated DNS records. - */ -export type GetRecordsResponseBody = - | GetRecordsResponseBody2 - | ResponseBody3 - | string; - -/** @internal */ -export const GetRecordsRequest$inboundSchema: z.ZodType< - GetRecordsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - domain: z.string(), - limit: z.string().optional(), - since: z.string().optional(), - until: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetRecordsRequest$Outbound = { - domain: string; - limit?: string | undefined; - since?: string | undefined; - until?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetRecordsRequest$outboundSchema: z.ZodType< - GetRecordsRequest$Outbound, - z.ZodTypeDef, - GetRecordsRequest -> = z.object({ - domain: z.string(), - limit: z.string().optional(), - since: z.string().optional(), - until: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRecordsRequest$ { - /** @deprecated use `GetRecordsRequest$inboundSchema` instead. */ - export const inboundSchema = GetRecordsRequest$inboundSchema; - /** @deprecated use `GetRecordsRequest$outboundSchema` instead. */ - export const outboundSchema = GetRecordsRequest$outboundSchema; - /** @deprecated use `GetRecordsRequest$Outbound` instead. */ - export type Outbound = GetRecordsRequest$Outbound; -} - -export function getRecordsRequestToJSON( - getRecordsRequest: GetRecordsRequest, -): string { - return JSON.stringify( - GetRecordsRequest$outboundSchema.parse(getRecordsRequest), - ); -} - -export function getRecordsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetRecordsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetRecordsRequest' from JSON`, - ); -} - -/** @internal */ -export const GetRecordsResponseBodyDnsType$inboundSchema: z.ZodNativeEnum< - typeof GetRecordsResponseBodyDnsType -> = z.nativeEnum(GetRecordsResponseBodyDnsType); - -/** @internal */ -export const GetRecordsResponseBodyDnsType$outboundSchema: z.ZodNativeEnum< - typeof GetRecordsResponseBodyDnsType -> = GetRecordsResponseBodyDnsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRecordsResponseBodyDnsType$ { - /** @deprecated use `GetRecordsResponseBodyDnsType$inboundSchema` instead. */ - export const inboundSchema = GetRecordsResponseBodyDnsType$inboundSchema; - /** @deprecated use `GetRecordsResponseBodyDnsType$outboundSchema` instead. */ - export const outboundSchema = GetRecordsResponseBodyDnsType$outboundSchema; -} - -/** @internal */ -export const ResponseBodyRecords$inboundSchema: z.ZodType< - ResponseBodyRecords, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - slug: z.string(), - name: z.string(), - type: GetRecordsResponseBodyDnsType$inboundSchema, - value: z.string(), - mxPriority: z.number().optional(), - priority: z.number().optional(), - creator: z.string(), - created: z.nullable(z.number()), - updated: z.nullable(z.number()), - createdAt: z.nullable(z.number()), - updatedAt: z.nullable(z.number()), -}); - -/** @internal */ -export type ResponseBodyRecords$Outbound = { - id: string; - slug: string; - name: string; - type: string; - value: string; - mxPriority?: number | undefined; - priority?: number | undefined; - creator: string; - created: number | null; - updated: number | null; - createdAt: number | null; - updatedAt: number | null; -}; - -/** @internal */ -export const ResponseBodyRecords$outboundSchema: z.ZodType< - ResponseBodyRecords$Outbound, - z.ZodTypeDef, - ResponseBodyRecords -> = z.object({ - id: z.string(), - slug: z.string(), - name: z.string(), - type: GetRecordsResponseBodyDnsType$outboundSchema, - value: z.string(), - mxPriority: z.number().optional(), - priority: z.number().optional(), - creator: z.string(), - created: z.nullable(z.number()), - updated: z.nullable(z.number()), - createdAt: z.nullable(z.number()), - updatedAt: z.nullable(z.number()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyRecords$ { - /** @deprecated use `ResponseBodyRecords$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyRecords$inboundSchema; - /** @deprecated use `ResponseBodyRecords$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyRecords$outboundSchema; - /** @deprecated use `ResponseBodyRecords$Outbound` instead. */ - export type Outbound = ResponseBodyRecords$Outbound; -} - -export function responseBodyRecordsToJSON( - responseBodyRecords: ResponseBodyRecords, -): string { - return JSON.stringify( - ResponseBodyRecords$outboundSchema.parse(responseBodyRecords), - ); -} - -export function responseBodyRecordsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyRecords$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyRecords' from JSON`, - ); -} - -/** @internal */ -export const ResponseBody3$inboundSchema: z.ZodType< - ResponseBody3, - z.ZodTypeDef, - unknown -> = z.object({ - records: z.array(z.lazy(() => ResponseBodyRecords$inboundSchema)), - pagination: Pagination$inboundSchema, -}); - -/** @internal */ -export type ResponseBody3$Outbound = { - records: Array; - pagination: Pagination$Outbound; -}; - -/** @internal */ -export const ResponseBody3$outboundSchema: z.ZodType< - ResponseBody3$Outbound, - z.ZodTypeDef, - ResponseBody3 -> = z.object({ - records: z.array(z.lazy(() => ResponseBodyRecords$outboundSchema)), - pagination: Pagination$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBody3$ { - /** @deprecated use `ResponseBody3$inboundSchema` instead. */ - export const inboundSchema = ResponseBody3$inboundSchema; - /** @deprecated use `ResponseBody3$outboundSchema` instead. */ - export const outboundSchema = ResponseBody3$outboundSchema; - /** @deprecated use `ResponseBody3$Outbound` instead. */ - export type Outbound = ResponseBody3$Outbound; -} - -export function responseBody3ToJSON(responseBody3: ResponseBody3): string { - return JSON.stringify(ResponseBody3$outboundSchema.parse(responseBody3)); -} - -export function responseBody3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBody3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBody3' from JSON`, - ); -} - -/** @internal */ -export const GetRecordsResponseBodyType$inboundSchema: z.ZodNativeEnum< - typeof GetRecordsResponseBodyType -> = z.nativeEnum(GetRecordsResponseBodyType); - -/** @internal */ -export const GetRecordsResponseBodyType$outboundSchema: z.ZodNativeEnum< - typeof GetRecordsResponseBodyType -> = GetRecordsResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRecordsResponseBodyType$ { - /** @deprecated use `GetRecordsResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = GetRecordsResponseBodyType$inboundSchema; - /** @deprecated use `GetRecordsResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = GetRecordsResponseBodyType$outboundSchema; -} - -/** @internal */ -export const Records$inboundSchema: z.ZodType = - z.object({ - id: z.string(), - slug: z.string(), - name: z.string(), - type: GetRecordsResponseBodyType$inboundSchema, - value: z.string(), - mxPriority: z.number().optional(), - priority: z.number().optional(), - creator: z.string(), - created: z.nullable(z.number()), - updated: z.nullable(z.number()), - createdAt: z.nullable(z.number()), - updatedAt: z.nullable(z.number()), - }); - -/** @internal */ -export type Records$Outbound = { - id: string; - slug: string; - name: string; - type: string; - value: string; - mxPriority?: number | undefined; - priority?: number | undefined; - creator: string; - created: number | null; - updated: number | null; - createdAt: number | null; - updatedAt: number | null; -}; - -/** @internal */ -export const Records$outboundSchema: z.ZodType< - Records$Outbound, - z.ZodTypeDef, - Records -> = z.object({ - id: z.string(), - slug: z.string(), - name: z.string(), - type: GetRecordsResponseBodyType$outboundSchema, - value: z.string(), - mxPriority: z.number().optional(), - priority: z.number().optional(), - creator: z.string(), - created: z.nullable(z.number()), - updated: z.nullable(z.number()), - createdAt: z.nullable(z.number()), - updatedAt: z.nullable(z.number()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Records$ { - /** @deprecated use `Records$inboundSchema` instead. */ - export const inboundSchema = Records$inboundSchema; - /** @deprecated use `Records$outboundSchema` instead. */ - export const outboundSchema = Records$outboundSchema; - /** @deprecated use `Records$Outbound` instead. */ - export type Outbound = Records$Outbound; -} - -export function recordsToJSON(records: Records): string { - return JSON.stringify(Records$outboundSchema.parse(records)); -} - -export function recordsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Records$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Records' from JSON`, - ); -} - -/** @internal */ -export const GetRecordsResponseBody2$inboundSchema: z.ZodType< - GetRecordsResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - records: z.array(z.lazy(() => Records$inboundSchema)), -}); - -/** @internal */ -export type GetRecordsResponseBody2$Outbound = { - records: Array; -}; - -/** @internal */ -export const GetRecordsResponseBody2$outboundSchema: z.ZodType< - GetRecordsResponseBody2$Outbound, - z.ZodTypeDef, - GetRecordsResponseBody2 -> = z.object({ - records: z.array(z.lazy(() => Records$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRecordsResponseBody2$ { - /** @deprecated use `GetRecordsResponseBody2$inboundSchema` instead. */ - export const inboundSchema = GetRecordsResponseBody2$inboundSchema; - /** @deprecated use `GetRecordsResponseBody2$outboundSchema` instead. */ - export const outboundSchema = GetRecordsResponseBody2$outboundSchema; - /** @deprecated use `GetRecordsResponseBody2$Outbound` instead. */ - export type Outbound = GetRecordsResponseBody2$Outbound; -} - -export function getRecordsResponseBody2ToJSON( - getRecordsResponseBody2: GetRecordsResponseBody2, -): string { - return JSON.stringify( - GetRecordsResponseBody2$outboundSchema.parse(getRecordsResponseBody2), - ); -} - -export function getRecordsResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetRecordsResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetRecordsResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const GetRecordsResponseBody$inboundSchema: z.ZodType< - GetRecordsResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => GetRecordsResponseBody2$inboundSchema), - z.lazy(() => ResponseBody3$inboundSchema), - z.string(), -]); - -/** @internal */ -export type GetRecordsResponseBody$Outbound = - | GetRecordsResponseBody2$Outbound - | ResponseBody3$Outbound - | string; - -/** @internal */ -export const GetRecordsResponseBody$outboundSchema: z.ZodType< - GetRecordsResponseBody$Outbound, - z.ZodTypeDef, - GetRecordsResponseBody -> = z.union([ - z.lazy(() => GetRecordsResponseBody2$outboundSchema), - z.lazy(() => ResponseBody3$outboundSchema), - z.string(), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRecordsResponseBody$ { - /** @deprecated use `GetRecordsResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetRecordsResponseBody$inboundSchema; - /** @deprecated use `GetRecordsResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetRecordsResponseBody$outboundSchema; - /** @deprecated use `GetRecordsResponseBody$Outbound` instead. */ - export type Outbound = GetRecordsResponseBody$Outbound; -} - -export function getRecordsResponseBodyToJSON( - getRecordsResponseBody: GetRecordsResponseBody, -): string { - return JSON.stringify( - GetRecordsResponseBody$outboundSchema.parse(getRecordsResponseBody), - ); -} - -export function getRecordsResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetRecordsResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetRecordsResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getteam.ts b/src/models/operations/getteam.ts deleted file mode 100644 index feac7d9a..00000000 --- a/src/models/operations/getteam.ts +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetTeamRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId: string; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const GetTeamRequest$inboundSchema: z.ZodType< - GetTeamRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetTeamRequest$Outbound = { - teamId: string; - slug?: string | undefined; -}; - -/** @internal */ -export const GetTeamRequest$outboundSchema: z.ZodType< - GetTeamRequest$Outbound, - z.ZodTypeDef, - GetTeamRequest -> = z.object({ - teamId: z.string(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamRequest$ { - /** @deprecated use `GetTeamRequest$inboundSchema` instead. */ - export const inboundSchema = GetTeamRequest$inboundSchema; - /** @deprecated use `GetTeamRequest$outboundSchema` instead. */ - export const outboundSchema = GetTeamRequest$outboundSchema; - /** @deprecated use `GetTeamRequest$Outbound` instead. */ - export type Outbound = GetTeamRequest$Outbound; -} - -export function getTeamRequestToJSON(getTeamRequest: GetTeamRequest): string { - return JSON.stringify(GetTeamRequest$outboundSchema.parse(getTeamRequest)); -} - -export function getTeamRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamRequest' from JSON`, - ); -} diff --git a/src/models/operations/getteamaccessrequest.ts b/src/models/operations/getteamaccessrequest.ts deleted file mode 100644 index d458a690..00000000 --- a/src/models/operations/getteamaccessrequest.ts +++ /dev/null @@ -1,570 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetTeamAccessRequestRequest = { - userId: string; - teamId: string; -}; - -export const GetTeamAccessRequestOrigin = { - Mail: "mail", - Link: "link", - Import: "import", - Teams: "teams", - Github: "github", - Gitlab: "gitlab", - Bitbucket: "bitbucket", - Saml: "saml", - Dsync: "dsync", - Feedback: "feedback", - OrganizationTeams: "organization-teams", -} as const; -export type GetTeamAccessRequestOrigin = ClosedEnum< - typeof GetTeamAccessRequestOrigin ->; - -export type GetTeamAccessRequestGitUserId = string | number; - -/** - * A map that describes the origin from where the user joined. - */ -export type GetTeamAccessRequestJoinedFrom = { - origin: GetTeamAccessRequestOrigin; - commitId?: string | undefined; - repoId?: string | undefined; - repoPath?: string | undefined; - gitUserId?: string | number | undefined; - gitUserLogin?: string | undefined; - ssoUserId?: string | undefined; - ssoConnectedAt?: number | undefined; - idpUserId?: string | undefined; - dsyncUserId?: string | undefined; - dsyncConnectedAt?: number | undefined; -}; - -/** - * Map of the connected GitHub account. - */ -export type GetTeamAccessRequestGithub = { - login?: string | undefined; -}; - -/** - * Map of the connected GitLab account. - */ -export type GetTeamAccessRequestGitlab = { - login?: string | undefined; -}; - -/** - * Map of the connected Bitbucket account. - */ -export type GetTeamAccessRequestBitbucket = { - login?: string | undefined; -}; - -/** - * Successfully - */ -export type GetTeamAccessRequestResponseBody = { - /** - * The slug of the team. - */ - teamSlug: string; - /** - * The name of the team. - */ - teamName: string; - /** - * Current status of the membership. Will be `true` if confirmed, if pending it'll be `false`. - */ - confirmed: boolean; - /** - * A map that describes the origin from where the user joined. - */ - joinedFrom: GetTeamAccessRequestJoinedFrom; - /** - * Timestamp in milliseconds when the user requested access to the team. - */ - accessRequestedAt: number; - /** - * Map of the connected GitHub account. - */ - github: GetTeamAccessRequestGithub | null; - /** - * Map of the connected GitLab account. - */ - gitlab: GetTeamAccessRequestGitlab | null; - /** - * Map of the connected Bitbucket account. - */ - bitbucket: GetTeamAccessRequestBitbucket | null; -}; - -/** @internal */ -export const GetTeamAccessRequestRequest$inboundSchema: z.ZodType< - GetTeamAccessRequestRequest, - z.ZodTypeDef, - unknown -> = z.object({ - userId: z.string(), - teamId: z.string(), -}); - -/** @internal */ -export type GetTeamAccessRequestRequest$Outbound = { - userId: string; - teamId: string; -}; - -/** @internal */ -export const GetTeamAccessRequestRequest$outboundSchema: z.ZodType< - GetTeamAccessRequestRequest$Outbound, - z.ZodTypeDef, - GetTeamAccessRequestRequest -> = z.object({ - userId: z.string(), - teamId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamAccessRequestRequest$ { - /** @deprecated use `GetTeamAccessRequestRequest$inboundSchema` instead. */ - export const inboundSchema = GetTeamAccessRequestRequest$inboundSchema; - /** @deprecated use `GetTeamAccessRequestRequest$outboundSchema` instead. */ - export const outboundSchema = GetTeamAccessRequestRequest$outboundSchema; - /** @deprecated use `GetTeamAccessRequestRequest$Outbound` instead. */ - export type Outbound = GetTeamAccessRequestRequest$Outbound; -} - -export function getTeamAccessRequestRequestToJSON( - getTeamAccessRequestRequest: GetTeamAccessRequestRequest, -): string { - return JSON.stringify( - GetTeamAccessRequestRequest$outboundSchema.parse( - getTeamAccessRequestRequest, - ), - ); -} - -export function getTeamAccessRequestRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamAccessRequestRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamAccessRequestRequest' from JSON`, - ); -} - -/** @internal */ -export const GetTeamAccessRequestOrigin$inboundSchema: z.ZodNativeEnum< - typeof GetTeamAccessRequestOrigin -> = z.nativeEnum(GetTeamAccessRequestOrigin); - -/** @internal */ -export const GetTeamAccessRequestOrigin$outboundSchema: z.ZodNativeEnum< - typeof GetTeamAccessRequestOrigin -> = GetTeamAccessRequestOrigin$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamAccessRequestOrigin$ { - /** @deprecated use `GetTeamAccessRequestOrigin$inboundSchema` instead. */ - export const inboundSchema = GetTeamAccessRequestOrigin$inboundSchema; - /** @deprecated use `GetTeamAccessRequestOrigin$outboundSchema` instead. */ - export const outboundSchema = GetTeamAccessRequestOrigin$outboundSchema; -} - -/** @internal */ -export const GetTeamAccessRequestGitUserId$inboundSchema: z.ZodType< - GetTeamAccessRequestGitUserId, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number()]); - -/** @internal */ -export type GetTeamAccessRequestGitUserId$Outbound = string | number; - -/** @internal */ -export const GetTeamAccessRequestGitUserId$outboundSchema: z.ZodType< - GetTeamAccessRequestGitUserId$Outbound, - z.ZodTypeDef, - GetTeamAccessRequestGitUserId -> = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamAccessRequestGitUserId$ { - /** @deprecated use `GetTeamAccessRequestGitUserId$inboundSchema` instead. */ - export const inboundSchema = GetTeamAccessRequestGitUserId$inboundSchema; - /** @deprecated use `GetTeamAccessRequestGitUserId$outboundSchema` instead. */ - export const outboundSchema = GetTeamAccessRequestGitUserId$outboundSchema; - /** @deprecated use `GetTeamAccessRequestGitUserId$Outbound` instead. */ - export type Outbound = GetTeamAccessRequestGitUserId$Outbound; -} - -export function getTeamAccessRequestGitUserIdToJSON( - getTeamAccessRequestGitUserId: GetTeamAccessRequestGitUserId, -): string { - return JSON.stringify( - GetTeamAccessRequestGitUserId$outboundSchema.parse( - getTeamAccessRequestGitUserId, - ), - ); -} - -export function getTeamAccessRequestGitUserIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamAccessRequestGitUserId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamAccessRequestGitUserId' from JSON`, - ); -} - -/** @internal */ -export const GetTeamAccessRequestJoinedFrom$inboundSchema: z.ZodType< - GetTeamAccessRequestJoinedFrom, - z.ZodTypeDef, - unknown -> = z.object({ - origin: GetTeamAccessRequestOrigin$inboundSchema, - commitId: z.string().optional(), - repoId: z.string().optional(), - repoPath: z.string().optional(), - gitUserId: z.union([z.string(), z.number()]).optional(), - gitUserLogin: z.string().optional(), - ssoUserId: z.string().optional(), - ssoConnectedAt: z.number().optional(), - idpUserId: z.string().optional(), - dsyncUserId: z.string().optional(), - dsyncConnectedAt: z.number().optional(), -}); - -/** @internal */ -export type GetTeamAccessRequestJoinedFrom$Outbound = { - origin: string; - commitId?: string | undefined; - repoId?: string | undefined; - repoPath?: string | undefined; - gitUserId?: string | number | undefined; - gitUserLogin?: string | undefined; - ssoUserId?: string | undefined; - ssoConnectedAt?: number | undefined; - idpUserId?: string | undefined; - dsyncUserId?: string | undefined; - dsyncConnectedAt?: number | undefined; -}; - -/** @internal */ -export const GetTeamAccessRequestJoinedFrom$outboundSchema: z.ZodType< - GetTeamAccessRequestJoinedFrom$Outbound, - z.ZodTypeDef, - GetTeamAccessRequestJoinedFrom -> = z.object({ - origin: GetTeamAccessRequestOrigin$outboundSchema, - commitId: z.string().optional(), - repoId: z.string().optional(), - repoPath: z.string().optional(), - gitUserId: z.union([z.string(), z.number()]).optional(), - gitUserLogin: z.string().optional(), - ssoUserId: z.string().optional(), - ssoConnectedAt: z.number().optional(), - idpUserId: z.string().optional(), - dsyncUserId: z.string().optional(), - dsyncConnectedAt: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamAccessRequestJoinedFrom$ { - /** @deprecated use `GetTeamAccessRequestJoinedFrom$inboundSchema` instead. */ - export const inboundSchema = GetTeamAccessRequestJoinedFrom$inboundSchema; - /** @deprecated use `GetTeamAccessRequestJoinedFrom$outboundSchema` instead. */ - export const outboundSchema = GetTeamAccessRequestJoinedFrom$outboundSchema; - /** @deprecated use `GetTeamAccessRequestJoinedFrom$Outbound` instead. */ - export type Outbound = GetTeamAccessRequestJoinedFrom$Outbound; -} - -export function getTeamAccessRequestJoinedFromToJSON( - getTeamAccessRequestJoinedFrom: GetTeamAccessRequestJoinedFrom, -): string { - return JSON.stringify( - GetTeamAccessRequestJoinedFrom$outboundSchema.parse( - getTeamAccessRequestJoinedFrom, - ), - ); -} - -export function getTeamAccessRequestJoinedFromFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamAccessRequestJoinedFrom$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamAccessRequestJoinedFrom' from JSON`, - ); -} - -/** @internal */ -export const GetTeamAccessRequestGithub$inboundSchema: z.ZodType< - GetTeamAccessRequestGithub, - z.ZodTypeDef, - unknown -> = z.object({ - login: z.string().optional(), -}); - -/** @internal */ -export type GetTeamAccessRequestGithub$Outbound = { - login?: string | undefined; -}; - -/** @internal */ -export const GetTeamAccessRequestGithub$outboundSchema: z.ZodType< - GetTeamAccessRequestGithub$Outbound, - z.ZodTypeDef, - GetTeamAccessRequestGithub -> = z.object({ - login: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamAccessRequestGithub$ { - /** @deprecated use `GetTeamAccessRequestGithub$inboundSchema` instead. */ - export const inboundSchema = GetTeamAccessRequestGithub$inboundSchema; - /** @deprecated use `GetTeamAccessRequestGithub$outboundSchema` instead. */ - export const outboundSchema = GetTeamAccessRequestGithub$outboundSchema; - /** @deprecated use `GetTeamAccessRequestGithub$Outbound` instead. */ - export type Outbound = GetTeamAccessRequestGithub$Outbound; -} - -export function getTeamAccessRequestGithubToJSON( - getTeamAccessRequestGithub: GetTeamAccessRequestGithub, -): string { - return JSON.stringify( - GetTeamAccessRequestGithub$outboundSchema.parse(getTeamAccessRequestGithub), - ); -} - -export function getTeamAccessRequestGithubFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamAccessRequestGithub$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamAccessRequestGithub' from JSON`, - ); -} - -/** @internal */ -export const GetTeamAccessRequestGitlab$inboundSchema: z.ZodType< - GetTeamAccessRequestGitlab, - z.ZodTypeDef, - unknown -> = z.object({ - login: z.string().optional(), -}); - -/** @internal */ -export type GetTeamAccessRequestGitlab$Outbound = { - login?: string | undefined; -}; - -/** @internal */ -export const GetTeamAccessRequestGitlab$outboundSchema: z.ZodType< - GetTeamAccessRequestGitlab$Outbound, - z.ZodTypeDef, - GetTeamAccessRequestGitlab -> = z.object({ - login: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamAccessRequestGitlab$ { - /** @deprecated use `GetTeamAccessRequestGitlab$inboundSchema` instead. */ - export const inboundSchema = GetTeamAccessRequestGitlab$inboundSchema; - /** @deprecated use `GetTeamAccessRequestGitlab$outboundSchema` instead. */ - export const outboundSchema = GetTeamAccessRequestGitlab$outboundSchema; - /** @deprecated use `GetTeamAccessRequestGitlab$Outbound` instead. */ - export type Outbound = GetTeamAccessRequestGitlab$Outbound; -} - -export function getTeamAccessRequestGitlabToJSON( - getTeamAccessRequestGitlab: GetTeamAccessRequestGitlab, -): string { - return JSON.stringify( - GetTeamAccessRequestGitlab$outboundSchema.parse(getTeamAccessRequestGitlab), - ); -} - -export function getTeamAccessRequestGitlabFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamAccessRequestGitlab$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamAccessRequestGitlab' from JSON`, - ); -} - -/** @internal */ -export const GetTeamAccessRequestBitbucket$inboundSchema: z.ZodType< - GetTeamAccessRequestBitbucket, - z.ZodTypeDef, - unknown -> = z.object({ - login: z.string().optional(), -}); - -/** @internal */ -export type GetTeamAccessRequestBitbucket$Outbound = { - login?: string | undefined; -}; - -/** @internal */ -export const GetTeamAccessRequestBitbucket$outboundSchema: z.ZodType< - GetTeamAccessRequestBitbucket$Outbound, - z.ZodTypeDef, - GetTeamAccessRequestBitbucket -> = z.object({ - login: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamAccessRequestBitbucket$ { - /** @deprecated use `GetTeamAccessRequestBitbucket$inboundSchema` instead. */ - export const inboundSchema = GetTeamAccessRequestBitbucket$inboundSchema; - /** @deprecated use `GetTeamAccessRequestBitbucket$outboundSchema` instead. */ - export const outboundSchema = GetTeamAccessRequestBitbucket$outboundSchema; - /** @deprecated use `GetTeamAccessRequestBitbucket$Outbound` instead. */ - export type Outbound = GetTeamAccessRequestBitbucket$Outbound; -} - -export function getTeamAccessRequestBitbucketToJSON( - getTeamAccessRequestBitbucket: GetTeamAccessRequestBitbucket, -): string { - return JSON.stringify( - GetTeamAccessRequestBitbucket$outboundSchema.parse( - getTeamAccessRequestBitbucket, - ), - ); -} - -export function getTeamAccessRequestBitbucketFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamAccessRequestBitbucket$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamAccessRequestBitbucket' from JSON`, - ); -} - -/** @internal */ -export const GetTeamAccessRequestResponseBody$inboundSchema: z.ZodType< - GetTeamAccessRequestResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - teamSlug: z.string(), - teamName: z.string(), - confirmed: z.boolean(), - joinedFrom: z.lazy(() => GetTeamAccessRequestJoinedFrom$inboundSchema), - accessRequestedAt: z.number(), - github: z.nullable(z.lazy(() => GetTeamAccessRequestGithub$inboundSchema)), - gitlab: z.nullable(z.lazy(() => GetTeamAccessRequestGitlab$inboundSchema)), - bitbucket: z.nullable( - z.lazy(() => GetTeamAccessRequestBitbucket$inboundSchema), - ), -}); - -/** @internal */ -export type GetTeamAccessRequestResponseBody$Outbound = { - teamSlug: string; - teamName: string; - confirmed: boolean; - joinedFrom: GetTeamAccessRequestJoinedFrom$Outbound; - accessRequestedAt: number; - github: GetTeamAccessRequestGithub$Outbound | null; - gitlab: GetTeamAccessRequestGitlab$Outbound | null; - bitbucket: GetTeamAccessRequestBitbucket$Outbound | null; -}; - -/** @internal */ -export const GetTeamAccessRequestResponseBody$outboundSchema: z.ZodType< - GetTeamAccessRequestResponseBody$Outbound, - z.ZodTypeDef, - GetTeamAccessRequestResponseBody -> = z.object({ - teamSlug: z.string(), - teamName: z.string(), - confirmed: z.boolean(), - joinedFrom: z.lazy(() => GetTeamAccessRequestJoinedFrom$outboundSchema), - accessRequestedAt: z.number(), - github: z.nullable(z.lazy(() => GetTeamAccessRequestGithub$outboundSchema)), - gitlab: z.nullable(z.lazy(() => GetTeamAccessRequestGitlab$outboundSchema)), - bitbucket: z.nullable( - z.lazy(() => GetTeamAccessRequestBitbucket$outboundSchema), - ), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamAccessRequestResponseBody$ { - /** @deprecated use `GetTeamAccessRequestResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetTeamAccessRequestResponseBody$inboundSchema; - /** @deprecated use `GetTeamAccessRequestResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetTeamAccessRequestResponseBody$outboundSchema; - /** @deprecated use `GetTeamAccessRequestResponseBody$Outbound` instead. */ - export type Outbound = GetTeamAccessRequestResponseBody$Outbound; -} - -export function getTeamAccessRequestResponseBodyToJSON( - getTeamAccessRequestResponseBody: GetTeamAccessRequestResponseBody, -): string { - return JSON.stringify( - GetTeamAccessRequestResponseBody$outboundSchema.parse( - getTeamAccessRequestResponseBody, - ), - ); -} - -export function getTeamAccessRequestResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamAccessRequestResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamAccessRequestResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getteammembers.ts b/src/models/operations/getteammembers.ts deleted file mode 100644 index 49a44683..00000000 --- a/src/models/operations/getteammembers.ts +++ /dev/null @@ -1,1116 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Only return members with the specified team role. - */ -export const QueryParamRole = { - Owner: "OWNER", - Member: "MEMBER", - Developer: "DEVELOPER", - Viewer: "VIEWER", - Billing: "BILLING", - Contributor: "CONTRIBUTOR", -} as const; -/** - * Only return members with the specified team role. - */ -export type QueryParamRole = ClosedEnum; - -export type GetTeamMembersRequest = { - /** - * Limit how many teams should be returned - */ - limit?: number | undefined; - /** - * Timestamp in milliseconds to only include members added since then. - */ - since?: number | undefined; - /** - * Timestamp in milliseconds to only include members added until then. - */ - until?: number | undefined; - /** - * Search team members by their name, username, and email. - */ - search?: string | undefined; - /** - * Only return members with the specified team role. - */ - role?: QueryParamRole | undefined; - /** - * Exclude members who belong to the specified project. - */ - excludeProject?: string | undefined; - /** - * Include team members who are eligible to be members of the specified project. - */ - eligibleMembersForProjectId?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId: string; -}; - -/** - * Information about the GitHub account for this user. - */ -export type GetTeamMembersGithub = { - login?: string | undefined; -}; - -/** - * Information about the GitLab account of this user. - */ -export type GetTeamMembersGitlab = { - login?: string | undefined; -}; - -/** - * Information about the Bitbucket account of this user. - */ -export type GetTeamMembersBitbucket = { - login?: string | undefined; -}; - -/** - * Role of this user in the team. - */ -export const GetTeamMembersRole = { - Owner: "OWNER", - Member: "MEMBER", - Developer: "DEVELOPER", - Viewer: "VIEWER", - Billing: "BILLING", - Contributor: "CONTRIBUTOR", -} as const; -/** - * Role of this user in the team. - */ -export type GetTeamMembersRole = ClosedEnum; - -export const GetTeamMembersOrigin = { - Teams: "teams", - Link: "link", - Mail: "mail", - Import: "import", - Github: "github", - Gitlab: "gitlab", - Bitbucket: "bitbucket", - Saml: "saml", - Dsync: "dsync", - Feedback: "feedback", - OrganizationTeams: "organization-teams", -} as const; -export type GetTeamMembersOrigin = ClosedEnum; - -export type GetTeamMembersGitUserId = string | number; - -/** - * Map with information about the members origin if they joined by requesting access. - */ -export type GetTeamMembersJoinedFrom = { - origin: GetTeamMembersOrigin; - commitId?: string | undefined; - repoId?: string | undefined; - repoPath?: string | undefined; - gitUserId?: string | number | undefined; - gitUserLogin?: string | undefined; - ssoUserId?: string | undefined; - ssoConnectedAt?: number | undefined; - idpUserId?: string | undefined; - dsyncUserId?: string | undefined; - dsyncConnectedAt?: number | undefined; -}; - -export const GetTeamMembersTeamsResponseRole = { - Admin: "ADMIN", - ProjectDeveloper: "PROJECT_DEVELOPER", - ProjectViewer: "PROJECT_VIEWER", -} as const; -export type GetTeamMembersTeamsResponseRole = ClosedEnum< - typeof GetTeamMembersTeamsResponseRole ->; - -/** - * Array of project memberships - */ -export type GetTeamMembersProjects = { - name?: string | undefined; - id?: string | undefined; - role?: GetTeamMembersTeamsResponseRole | undefined; -}; - -export type GetTeamMembersMembers = { - /** - * ID of the file for the Avatar of this member. - */ - avatar?: string | undefined; - /** - * Boolean that indicates if this member was confirmed by an owner. - */ - confirmed: boolean; - /** - * The email of this member. - */ - email: string; - /** - * Information about the GitHub account for this user. - */ - github?: GetTeamMembersGithub | undefined; - /** - * Information about the GitLab account of this user. - */ - gitlab?: GetTeamMembersGitlab | undefined; - /** - * Information about the Bitbucket account of this user. - */ - bitbucket?: GetTeamMembersBitbucket | undefined; - /** - * Role of this user in the team. - */ - role: GetTeamMembersRole; - /** - * The ID of this user. - */ - uid: string; - /** - * The unique username of this user. - */ - username: string; - /** - * The name of this user. - */ - name?: string | undefined; - /** - * Timestamp in milliseconds when this member was added. - */ - createdAt: number; - /** - * Timestamp in milliseconds for when this team member was accepted by an owner. - */ - accessRequestedAt?: number | undefined; - /** - * Map with information about the members origin if they joined by requesting access. - */ - joinedFrom?: GetTeamMembersJoinedFrom | undefined; - /** - * Array of project memberships - */ - projects?: Array | undefined; -}; - -export const GetTeamMembersTeamsRole = { - Owner: "OWNER", - Member: "MEMBER", - Developer: "DEVELOPER", - Viewer: "VIEWER", - Billing: "BILLING", - Contributor: "CONTRIBUTOR", -} as const; -export type GetTeamMembersTeamsRole = ClosedEnum< - typeof GetTeamMembersTeamsRole ->; - -export const GetTeamMembersTeamsProjects = { - Admin: "ADMIN", - ProjectDeveloper: "PROJECT_DEVELOPER", - ProjectViewer: "PROJECT_VIEWER", -} as const; -export type GetTeamMembersTeamsProjects = ClosedEnum< - typeof GetTeamMembersTeamsProjects ->; - -export type EmailInviteCodes = { - accessGroups?: Array | undefined; - id: string; - email?: string | undefined; - role?: GetTeamMembersTeamsRole | undefined; - isDSyncUser: boolean; - createdAt?: number | undefined; - expired?: boolean | undefined; - projects?: { [k: string]: GetTeamMembersTeamsProjects } | undefined; - entitlements?: Array | undefined; -}; - -export type GetTeamMembersPagination = { - hasNext: boolean; - /** - * Amount of items in the current page. - */ - count: number; - /** - * Timestamp that must be used to request the next page. - */ - next: number | null; - /** - * Timestamp that must be used to request the previous page. - */ - prev: number | null; -}; - -export type GetTeamMembersResponseBody = { - members: Array; - emailInviteCodes?: Array | undefined; - pagination: GetTeamMembersPagination; -}; - -/** @internal */ -export const QueryParamRole$inboundSchema: z.ZodNativeEnum< - typeof QueryParamRole -> = z.nativeEnum(QueryParamRole); - -/** @internal */ -export const QueryParamRole$outboundSchema: z.ZodNativeEnum< - typeof QueryParamRole -> = QueryParamRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace QueryParamRole$ { - /** @deprecated use `QueryParamRole$inboundSchema` instead. */ - export const inboundSchema = QueryParamRole$inboundSchema; - /** @deprecated use `QueryParamRole$outboundSchema` instead. */ - export const outboundSchema = QueryParamRole$outboundSchema; -} - -/** @internal */ -export const GetTeamMembersRequest$inboundSchema: z.ZodType< - GetTeamMembersRequest, - z.ZodTypeDef, - unknown -> = z.object({ - limit: z.number().optional(), - since: z.number().optional(), - until: z.number().optional(), - search: z.string().optional(), - role: QueryParamRole$inboundSchema.optional(), - excludeProject: z.string().optional(), - eligibleMembersForProjectId: z.string().optional(), - teamId: z.string(), -}); - -/** @internal */ -export type GetTeamMembersRequest$Outbound = { - limit?: number | undefined; - since?: number | undefined; - until?: number | undefined; - search?: string | undefined; - role?: string | undefined; - excludeProject?: string | undefined; - eligibleMembersForProjectId?: string | undefined; - teamId: string; -}; - -/** @internal */ -export const GetTeamMembersRequest$outboundSchema: z.ZodType< - GetTeamMembersRequest$Outbound, - z.ZodTypeDef, - GetTeamMembersRequest -> = z.object({ - limit: z.number().optional(), - since: z.number().optional(), - until: z.number().optional(), - search: z.string().optional(), - role: QueryParamRole$outboundSchema.optional(), - excludeProject: z.string().optional(), - eligibleMembersForProjectId: z.string().optional(), - teamId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersRequest$ { - /** @deprecated use `GetTeamMembersRequest$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersRequest$inboundSchema; - /** @deprecated use `GetTeamMembersRequest$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersRequest$outboundSchema; - /** @deprecated use `GetTeamMembersRequest$Outbound` instead. */ - export type Outbound = GetTeamMembersRequest$Outbound; -} - -export function getTeamMembersRequestToJSON( - getTeamMembersRequest: GetTeamMembersRequest, -): string { - return JSON.stringify( - GetTeamMembersRequest$outboundSchema.parse(getTeamMembersRequest), - ); -} - -export function getTeamMembersRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamMembersRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamMembersRequest' from JSON`, - ); -} - -/** @internal */ -export const GetTeamMembersGithub$inboundSchema: z.ZodType< - GetTeamMembersGithub, - z.ZodTypeDef, - unknown -> = z.object({ - login: z.string().optional(), -}); - -/** @internal */ -export type GetTeamMembersGithub$Outbound = { - login?: string | undefined; -}; - -/** @internal */ -export const GetTeamMembersGithub$outboundSchema: z.ZodType< - GetTeamMembersGithub$Outbound, - z.ZodTypeDef, - GetTeamMembersGithub -> = z.object({ - login: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersGithub$ { - /** @deprecated use `GetTeamMembersGithub$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersGithub$inboundSchema; - /** @deprecated use `GetTeamMembersGithub$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersGithub$outboundSchema; - /** @deprecated use `GetTeamMembersGithub$Outbound` instead. */ - export type Outbound = GetTeamMembersGithub$Outbound; -} - -export function getTeamMembersGithubToJSON( - getTeamMembersGithub: GetTeamMembersGithub, -): string { - return JSON.stringify( - GetTeamMembersGithub$outboundSchema.parse(getTeamMembersGithub), - ); -} - -export function getTeamMembersGithubFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamMembersGithub$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamMembersGithub' from JSON`, - ); -} - -/** @internal */ -export const GetTeamMembersGitlab$inboundSchema: z.ZodType< - GetTeamMembersGitlab, - z.ZodTypeDef, - unknown -> = z.object({ - login: z.string().optional(), -}); - -/** @internal */ -export type GetTeamMembersGitlab$Outbound = { - login?: string | undefined; -}; - -/** @internal */ -export const GetTeamMembersGitlab$outboundSchema: z.ZodType< - GetTeamMembersGitlab$Outbound, - z.ZodTypeDef, - GetTeamMembersGitlab -> = z.object({ - login: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersGitlab$ { - /** @deprecated use `GetTeamMembersGitlab$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersGitlab$inboundSchema; - /** @deprecated use `GetTeamMembersGitlab$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersGitlab$outboundSchema; - /** @deprecated use `GetTeamMembersGitlab$Outbound` instead. */ - export type Outbound = GetTeamMembersGitlab$Outbound; -} - -export function getTeamMembersGitlabToJSON( - getTeamMembersGitlab: GetTeamMembersGitlab, -): string { - return JSON.stringify( - GetTeamMembersGitlab$outboundSchema.parse(getTeamMembersGitlab), - ); -} - -export function getTeamMembersGitlabFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamMembersGitlab$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamMembersGitlab' from JSON`, - ); -} - -/** @internal */ -export const GetTeamMembersBitbucket$inboundSchema: z.ZodType< - GetTeamMembersBitbucket, - z.ZodTypeDef, - unknown -> = z.object({ - login: z.string().optional(), -}); - -/** @internal */ -export type GetTeamMembersBitbucket$Outbound = { - login?: string | undefined; -}; - -/** @internal */ -export const GetTeamMembersBitbucket$outboundSchema: z.ZodType< - GetTeamMembersBitbucket$Outbound, - z.ZodTypeDef, - GetTeamMembersBitbucket -> = z.object({ - login: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersBitbucket$ { - /** @deprecated use `GetTeamMembersBitbucket$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersBitbucket$inboundSchema; - /** @deprecated use `GetTeamMembersBitbucket$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersBitbucket$outboundSchema; - /** @deprecated use `GetTeamMembersBitbucket$Outbound` instead. */ - export type Outbound = GetTeamMembersBitbucket$Outbound; -} - -export function getTeamMembersBitbucketToJSON( - getTeamMembersBitbucket: GetTeamMembersBitbucket, -): string { - return JSON.stringify( - GetTeamMembersBitbucket$outboundSchema.parse(getTeamMembersBitbucket), - ); -} - -export function getTeamMembersBitbucketFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamMembersBitbucket$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamMembersBitbucket' from JSON`, - ); -} - -/** @internal */ -export const GetTeamMembersRole$inboundSchema: z.ZodNativeEnum< - typeof GetTeamMembersRole -> = z.nativeEnum(GetTeamMembersRole); - -/** @internal */ -export const GetTeamMembersRole$outboundSchema: z.ZodNativeEnum< - typeof GetTeamMembersRole -> = GetTeamMembersRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersRole$ { - /** @deprecated use `GetTeamMembersRole$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersRole$inboundSchema; - /** @deprecated use `GetTeamMembersRole$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersRole$outboundSchema; -} - -/** @internal */ -export const GetTeamMembersOrigin$inboundSchema: z.ZodNativeEnum< - typeof GetTeamMembersOrigin -> = z.nativeEnum(GetTeamMembersOrigin); - -/** @internal */ -export const GetTeamMembersOrigin$outboundSchema: z.ZodNativeEnum< - typeof GetTeamMembersOrigin -> = GetTeamMembersOrigin$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersOrigin$ { - /** @deprecated use `GetTeamMembersOrigin$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersOrigin$inboundSchema; - /** @deprecated use `GetTeamMembersOrigin$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersOrigin$outboundSchema; -} - -/** @internal */ -export const GetTeamMembersGitUserId$inboundSchema: z.ZodType< - GetTeamMembersGitUserId, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number()]); - -/** @internal */ -export type GetTeamMembersGitUserId$Outbound = string | number; - -/** @internal */ -export const GetTeamMembersGitUserId$outboundSchema: z.ZodType< - GetTeamMembersGitUserId$Outbound, - z.ZodTypeDef, - GetTeamMembersGitUserId -> = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersGitUserId$ { - /** @deprecated use `GetTeamMembersGitUserId$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersGitUserId$inboundSchema; - /** @deprecated use `GetTeamMembersGitUserId$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersGitUserId$outboundSchema; - /** @deprecated use `GetTeamMembersGitUserId$Outbound` instead. */ - export type Outbound = GetTeamMembersGitUserId$Outbound; -} - -export function getTeamMembersGitUserIdToJSON( - getTeamMembersGitUserId: GetTeamMembersGitUserId, -): string { - return JSON.stringify( - GetTeamMembersGitUserId$outboundSchema.parse(getTeamMembersGitUserId), - ); -} - -export function getTeamMembersGitUserIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamMembersGitUserId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamMembersGitUserId' from JSON`, - ); -} - -/** @internal */ -export const GetTeamMembersJoinedFrom$inboundSchema: z.ZodType< - GetTeamMembersJoinedFrom, - z.ZodTypeDef, - unknown -> = z.object({ - origin: GetTeamMembersOrigin$inboundSchema, - commitId: z.string().optional(), - repoId: z.string().optional(), - repoPath: z.string().optional(), - gitUserId: z.union([z.string(), z.number()]).optional(), - gitUserLogin: z.string().optional(), - ssoUserId: z.string().optional(), - ssoConnectedAt: z.number().optional(), - idpUserId: z.string().optional(), - dsyncUserId: z.string().optional(), - dsyncConnectedAt: z.number().optional(), -}); - -/** @internal */ -export type GetTeamMembersJoinedFrom$Outbound = { - origin: string; - commitId?: string | undefined; - repoId?: string | undefined; - repoPath?: string | undefined; - gitUserId?: string | number | undefined; - gitUserLogin?: string | undefined; - ssoUserId?: string | undefined; - ssoConnectedAt?: number | undefined; - idpUserId?: string | undefined; - dsyncUserId?: string | undefined; - dsyncConnectedAt?: number | undefined; -}; - -/** @internal */ -export const GetTeamMembersJoinedFrom$outboundSchema: z.ZodType< - GetTeamMembersJoinedFrom$Outbound, - z.ZodTypeDef, - GetTeamMembersJoinedFrom -> = z.object({ - origin: GetTeamMembersOrigin$outboundSchema, - commitId: z.string().optional(), - repoId: z.string().optional(), - repoPath: z.string().optional(), - gitUserId: z.union([z.string(), z.number()]).optional(), - gitUserLogin: z.string().optional(), - ssoUserId: z.string().optional(), - ssoConnectedAt: z.number().optional(), - idpUserId: z.string().optional(), - dsyncUserId: z.string().optional(), - dsyncConnectedAt: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersJoinedFrom$ { - /** @deprecated use `GetTeamMembersJoinedFrom$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersJoinedFrom$inboundSchema; - /** @deprecated use `GetTeamMembersJoinedFrom$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersJoinedFrom$outboundSchema; - /** @deprecated use `GetTeamMembersJoinedFrom$Outbound` instead. */ - export type Outbound = GetTeamMembersJoinedFrom$Outbound; -} - -export function getTeamMembersJoinedFromToJSON( - getTeamMembersJoinedFrom: GetTeamMembersJoinedFrom, -): string { - return JSON.stringify( - GetTeamMembersJoinedFrom$outboundSchema.parse(getTeamMembersJoinedFrom), - ); -} - -export function getTeamMembersJoinedFromFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamMembersJoinedFrom$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamMembersJoinedFrom' from JSON`, - ); -} - -/** @internal */ -export const GetTeamMembersTeamsResponseRole$inboundSchema: z.ZodNativeEnum< - typeof GetTeamMembersTeamsResponseRole -> = z.nativeEnum(GetTeamMembersTeamsResponseRole); - -/** @internal */ -export const GetTeamMembersTeamsResponseRole$outboundSchema: z.ZodNativeEnum< - typeof GetTeamMembersTeamsResponseRole -> = GetTeamMembersTeamsResponseRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersTeamsResponseRole$ { - /** @deprecated use `GetTeamMembersTeamsResponseRole$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersTeamsResponseRole$inboundSchema; - /** @deprecated use `GetTeamMembersTeamsResponseRole$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersTeamsResponseRole$outboundSchema; -} - -/** @internal */ -export const GetTeamMembersProjects$inboundSchema: z.ZodType< - GetTeamMembersProjects, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string().optional(), - id: z.string().optional(), - role: GetTeamMembersTeamsResponseRole$inboundSchema.optional(), -}); - -/** @internal */ -export type GetTeamMembersProjects$Outbound = { - name?: string | undefined; - id?: string | undefined; - role?: string | undefined; -}; - -/** @internal */ -export const GetTeamMembersProjects$outboundSchema: z.ZodType< - GetTeamMembersProjects$Outbound, - z.ZodTypeDef, - GetTeamMembersProjects -> = z.object({ - name: z.string().optional(), - id: z.string().optional(), - role: GetTeamMembersTeamsResponseRole$outboundSchema.optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersProjects$ { - /** @deprecated use `GetTeamMembersProjects$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersProjects$inboundSchema; - /** @deprecated use `GetTeamMembersProjects$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersProjects$outboundSchema; - /** @deprecated use `GetTeamMembersProjects$Outbound` instead. */ - export type Outbound = GetTeamMembersProjects$Outbound; -} - -export function getTeamMembersProjectsToJSON( - getTeamMembersProjects: GetTeamMembersProjects, -): string { - return JSON.stringify( - GetTeamMembersProjects$outboundSchema.parse(getTeamMembersProjects), - ); -} - -export function getTeamMembersProjectsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamMembersProjects$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamMembersProjects' from JSON`, - ); -} - -/** @internal */ -export const GetTeamMembersMembers$inboundSchema: z.ZodType< - GetTeamMembersMembers, - z.ZodTypeDef, - unknown -> = z.object({ - avatar: z.string().optional(), - confirmed: z.boolean(), - email: z.string(), - github: z.lazy(() => GetTeamMembersGithub$inboundSchema).optional(), - gitlab: z.lazy(() => GetTeamMembersGitlab$inboundSchema).optional(), - bitbucket: z.lazy(() => GetTeamMembersBitbucket$inboundSchema).optional(), - role: GetTeamMembersRole$inboundSchema, - uid: z.string(), - username: z.string(), - name: z.string().optional(), - createdAt: z.number(), - accessRequestedAt: z.number().optional(), - joinedFrom: z.lazy(() => GetTeamMembersJoinedFrom$inboundSchema).optional(), - projects: z.array(z.lazy(() => GetTeamMembersProjects$inboundSchema)) - .optional(), -}); - -/** @internal */ -export type GetTeamMembersMembers$Outbound = { - avatar?: string | undefined; - confirmed: boolean; - email: string; - github?: GetTeamMembersGithub$Outbound | undefined; - gitlab?: GetTeamMembersGitlab$Outbound | undefined; - bitbucket?: GetTeamMembersBitbucket$Outbound | undefined; - role: string; - uid: string; - username: string; - name?: string | undefined; - createdAt: number; - accessRequestedAt?: number | undefined; - joinedFrom?: GetTeamMembersJoinedFrom$Outbound | undefined; - projects?: Array | undefined; -}; - -/** @internal */ -export const GetTeamMembersMembers$outboundSchema: z.ZodType< - GetTeamMembersMembers$Outbound, - z.ZodTypeDef, - GetTeamMembersMembers -> = z.object({ - avatar: z.string().optional(), - confirmed: z.boolean(), - email: z.string(), - github: z.lazy(() => GetTeamMembersGithub$outboundSchema).optional(), - gitlab: z.lazy(() => GetTeamMembersGitlab$outboundSchema).optional(), - bitbucket: z.lazy(() => GetTeamMembersBitbucket$outboundSchema).optional(), - role: GetTeamMembersRole$outboundSchema, - uid: z.string(), - username: z.string(), - name: z.string().optional(), - createdAt: z.number(), - accessRequestedAt: z.number().optional(), - joinedFrom: z.lazy(() => GetTeamMembersJoinedFrom$outboundSchema).optional(), - projects: z.array(z.lazy(() => GetTeamMembersProjects$outboundSchema)) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersMembers$ { - /** @deprecated use `GetTeamMembersMembers$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersMembers$inboundSchema; - /** @deprecated use `GetTeamMembersMembers$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersMembers$outboundSchema; - /** @deprecated use `GetTeamMembersMembers$Outbound` instead. */ - export type Outbound = GetTeamMembersMembers$Outbound; -} - -export function getTeamMembersMembersToJSON( - getTeamMembersMembers: GetTeamMembersMembers, -): string { - return JSON.stringify( - GetTeamMembersMembers$outboundSchema.parse(getTeamMembersMembers), - ); -} - -export function getTeamMembersMembersFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamMembersMembers$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamMembersMembers' from JSON`, - ); -} - -/** @internal */ -export const GetTeamMembersTeamsRole$inboundSchema: z.ZodNativeEnum< - typeof GetTeamMembersTeamsRole -> = z.nativeEnum(GetTeamMembersTeamsRole); - -/** @internal */ -export const GetTeamMembersTeamsRole$outboundSchema: z.ZodNativeEnum< - typeof GetTeamMembersTeamsRole -> = GetTeamMembersTeamsRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersTeamsRole$ { - /** @deprecated use `GetTeamMembersTeamsRole$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersTeamsRole$inboundSchema; - /** @deprecated use `GetTeamMembersTeamsRole$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersTeamsRole$outboundSchema; -} - -/** @internal */ -export const GetTeamMembersTeamsProjects$inboundSchema: z.ZodNativeEnum< - typeof GetTeamMembersTeamsProjects -> = z.nativeEnum(GetTeamMembersTeamsProjects); - -/** @internal */ -export const GetTeamMembersTeamsProjects$outboundSchema: z.ZodNativeEnum< - typeof GetTeamMembersTeamsProjects -> = GetTeamMembersTeamsProjects$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersTeamsProjects$ { - /** @deprecated use `GetTeamMembersTeamsProjects$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersTeamsProjects$inboundSchema; - /** @deprecated use `GetTeamMembersTeamsProjects$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersTeamsProjects$outboundSchema; -} - -/** @internal */ -export const EmailInviteCodes$inboundSchema: z.ZodType< - EmailInviteCodes, - z.ZodTypeDef, - unknown -> = z.object({ - accessGroups: z.array(z.string()).optional(), - id: z.string(), - email: z.string().optional(), - role: GetTeamMembersTeamsRole$inboundSchema.optional(), - isDSyncUser: z.boolean(), - createdAt: z.number().optional(), - expired: z.boolean().optional(), - projects: z.record(GetTeamMembersTeamsProjects$inboundSchema).optional(), - entitlements: z.array(z.string()).optional(), -}); - -/** @internal */ -export type EmailInviteCodes$Outbound = { - accessGroups?: Array | undefined; - id: string; - email?: string | undefined; - role?: string | undefined; - isDSyncUser: boolean; - createdAt?: number | undefined; - expired?: boolean | undefined; - projects?: { [k: string]: string } | undefined; - entitlements?: Array | undefined; -}; - -/** @internal */ -export const EmailInviteCodes$outboundSchema: z.ZodType< - EmailInviteCodes$Outbound, - z.ZodTypeDef, - EmailInviteCodes -> = z.object({ - accessGroups: z.array(z.string()).optional(), - id: z.string(), - email: z.string().optional(), - role: GetTeamMembersTeamsRole$outboundSchema.optional(), - isDSyncUser: z.boolean(), - createdAt: z.number().optional(), - expired: z.boolean().optional(), - projects: z.record(GetTeamMembersTeamsProjects$outboundSchema).optional(), - entitlements: z.array(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EmailInviteCodes$ { - /** @deprecated use `EmailInviteCodes$inboundSchema` instead. */ - export const inboundSchema = EmailInviteCodes$inboundSchema; - /** @deprecated use `EmailInviteCodes$outboundSchema` instead. */ - export const outboundSchema = EmailInviteCodes$outboundSchema; - /** @deprecated use `EmailInviteCodes$Outbound` instead. */ - export type Outbound = EmailInviteCodes$Outbound; -} - -export function emailInviteCodesToJSON( - emailInviteCodes: EmailInviteCodes, -): string { - return JSON.stringify( - EmailInviteCodes$outboundSchema.parse(emailInviteCodes), - ); -} - -export function emailInviteCodesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EmailInviteCodes$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EmailInviteCodes' from JSON`, - ); -} - -/** @internal */ -export const GetTeamMembersPagination$inboundSchema: z.ZodType< - GetTeamMembersPagination, - z.ZodTypeDef, - unknown -> = z.object({ - hasNext: z.boolean(), - count: z.number(), - next: z.nullable(z.number()), - prev: z.nullable(z.number()), -}); - -/** @internal */ -export type GetTeamMembersPagination$Outbound = { - hasNext: boolean; - count: number; - next: number | null; - prev: number | null; -}; - -/** @internal */ -export const GetTeamMembersPagination$outboundSchema: z.ZodType< - GetTeamMembersPagination$Outbound, - z.ZodTypeDef, - GetTeamMembersPagination -> = z.object({ - hasNext: z.boolean(), - count: z.number(), - next: z.nullable(z.number()), - prev: z.nullable(z.number()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersPagination$ { - /** @deprecated use `GetTeamMembersPagination$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersPagination$inboundSchema; - /** @deprecated use `GetTeamMembersPagination$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersPagination$outboundSchema; - /** @deprecated use `GetTeamMembersPagination$Outbound` instead. */ - export type Outbound = GetTeamMembersPagination$Outbound; -} - -export function getTeamMembersPaginationToJSON( - getTeamMembersPagination: GetTeamMembersPagination, -): string { - return JSON.stringify( - GetTeamMembersPagination$outboundSchema.parse(getTeamMembersPagination), - ); -} - -export function getTeamMembersPaginationFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamMembersPagination$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamMembersPagination' from JSON`, - ); -} - -/** @internal */ -export const GetTeamMembersResponseBody$inboundSchema: z.ZodType< - GetTeamMembersResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - members: z.array(z.lazy(() => GetTeamMembersMembers$inboundSchema)), - emailInviteCodes: z.array(z.lazy(() => EmailInviteCodes$inboundSchema)) - .optional(), - pagination: z.lazy(() => GetTeamMembersPagination$inboundSchema), -}); - -/** @internal */ -export type GetTeamMembersResponseBody$Outbound = { - members: Array; - emailInviteCodes?: Array | undefined; - pagination: GetTeamMembersPagination$Outbound; -}; - -/** @internal */ -export const GetTeamMembersResponseBody$outboundSchema: z.ZodType< - GetTeamMembersResponseBody$Outbound, - z.ZodTypeDef, - GetTeamMembersResponseBody -> = z.object({ - members: z.array(z.lazy(() => GetTeamMembersMembers$outboundSchema)), - emailInviteCodes: z.array(z.lazy(() => EmailInviteCodes$outboundSchema)) - .optional(), - pagination: z.lazy(() => GetTeamMembersPagination$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersResponseBody$ { - /** @deprecated use `GetTeamMembersResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersResponseBody$inboundSchema; - /** @deprecated use `GetTeamMembersResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersResponseBody$outboundSchema; - /** @deprecated use `GetTeamMembersResponseBody$Outbound` instead. */ - export type Outbound = GetTeamMembersResponseBody$Outbound; -} - -export function getTeamMembersResponseBodyToJSON( - getTeamMembersResponseBody: GetTeamMembersResponseBody, -): string { - return JSON.stringify( - GetTeamMembersResponseBody$outboundSchema.parse(getTeamMembersResponseBody), - ); -} - -export function getTeamMembersResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamMembersResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamMembersResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getteams.ts b/src/models/operations/getteams.ts deleted file mode 100644 index 9f905db6..00000000 --- a/src/models/operations/getteams.ts +++ /dev/null @@ -1,204 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - Pagination, - Pagination$inboundSchema, - Pagination$Outbound, - Pagination$outboundSchema, -} from "../components/pagination.js"; -import { - TeamLimited, - TeamLimited$inboundSchema, - TeamLimited$Outbound, - TeamLimited$outboundSchema, -} from "../components/teamlimited.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetTeamsRequest = { - /** - * Maximum number of Teams which may be returned. - */ - limit?: number | undefined; - /** - * Timestamp (in milliseconds) to only include Teams created since then. - */ - since?: number | undefined; - /** - * Timestamp (in milliseconds) to only include Teams created until then. - */ - until?: number | undefined; -}; - -export type Teams = TeamLimited | { [k: string]: any }; - -/** - * A paginated list of teams. - */ -export type GetTeamsResponseBody = { - teams: Array; - /** - * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. - */ - pagination: Pagination; -}; - -/** @internal */ -export const GetTeamsRequest$inboundSchema: z.ZodType< - GetTeamsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - limit: z.number().optional(), - since: z.number().optional(), - until: z.number().optional(), -}); - -/** @internal */ -export type GetTeamsRequest$Outbound = { - limit?: number | undefined; - since?: number | undefined; - until?: number | undefined; -}; - -/** @internal */ -export const GetTeamsRequest$outboundSchema: z.ZodType< - GetTeamsRequest$Outbound, - z.ZodTypeDef, - GetTeamsRequest -> = z.object({ - limit: z.number().optional(), - since: z.number().optional(), - until: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamsRequest$ { - /** @deprecated use `GetTeamsRequest$inboundSchema` instead. */ - export const inboundSchema = GetTeamsRequest$inboundSchema; - /** @deprecated use `GetTeamsRequest$outboundSchema` instead. */ - export const outboundSchema = GetTeamsRequest$outboundSchema; - /** @deprecated use `GetTeamsRequest$Outbound` instead. */ - export type Outbound = GetTeamsRequest$Outbound; -} - -export function getTeamsRequestToJSON( - getTeamsRequest: GetTeamsRequest, -): string { - return JSON.stringify(GetTeamsRequest$outboundSchema.parse(getTeamsRequest)); -} - -export function getTeamsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamsRequest' from JSON`, - ); -} - -/** @internal */ -export const Teams$inboundSchema: z.ZodType = z - .union([TeamLimited$inboundSchema, z.record(z.any())]); - -/** @internal */ -export type Teams$Outbound = TeamLimited$Outbound | { [k: string]: any }; - -/** @internal */ -export const Teams$outboundSchema: z.ZodType< - Teams$Outbound, - z.ZodTypeDef, - Teams -> = z.union([TeamLimited$outboundSchema, z.record(z.any())]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Teams$ { - /** @deprecated use `Teams$inboundSchema` instead. */ - export const inboundSchema = Teams$inboundSchema; - /** @deprecated use `Teams$outboundSchema` instead. */ - export const outboundSchema = Teams$outboundSchema; - /** @deprecated use `Teams$Outbound` instead. */ - export type Outbound = Teams$Outbound; -} - -export function teamsToJSON(teams: Teams): string { - return JSON.stringify(Teams$outboundSchema.parse(teams)); -} - -export function teamsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Teams$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Teams' from JSON`, - ); -} - -/** @internal */ -export const GetTeamsResponseBody$inboundSchema: z.ZodType< - GetTeamsResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - teams: z.array(z.union([TeamLimited$inboundSchema, z.record(z.any())])), - pagination: Pagination$inboundSchema, -}); - -/** @internal */ -export type GetTeamsResponseBody$Outbound = { - teams: Array; - pagination: Pagination$Outbound; -}; - -/** @internal */ -export const GetTeamsResponseBody$outboundSchema: z.ZodType< - GetTeamsResponseBody$Outbound, - z.ZodTypeDef, - GetTeamsResponseBody -> = z.object({ - teams: z.array(z.union([TeamLimited$outboundSchema, z.record(z.any())])), - pagination: Pagination$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamsResponseBody$ { - /** @deprecated use `GetTeamsResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetTeamsResponseBody$inboundSchema; - /** @deprecated use `GetTeamsResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetTeamsResponseBody$outboundSchema; - /** @deprecated use `GetTeamsResponseBody$Outbound` instead. */ - export type Outbound = GetTeamsResponseBody$Outbound; -} - -export function getTeamsResponseBodyToJSON( - getTeamsResponseBody: GetTeamsResponseBody, -): string { - return JSON.stringify( - GetTeamsResponseBody$outboundSchema.parse(getTeamsResponseBody), - ); -} - -export function getTeamsResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetTeamsResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetTeamsResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getwebhook.ts b/src/models/operations/getwebhook.ts deleted file mode 100644 index 48ff2147..00000000 --- a/src/models/operations/getwebhook.ts +++ /dev/null @@ -1,260 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetWebhookRequest = { - id: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * The webhooks events - */ -export const GetWebhookEvents = { - BudgetReached: "budget.reached", - BudgetReset: "budget.reset", - DomainCreated: "domain.created", - DeploymentCreated: "deployment.created", - DeploymentError: "deployment.error", - DeploymentCanceled: "deployment.canceled", - DeploymentSucceeded: "deployment.succeeded", - DeploymentReady: "deployment.ready", - DeploymentCheckRerequested: "deployment.check-rerequested", - DeploymentPromoted: "deployment.promoted", - DeploymentIntegrationActionStart: "deployment.integration.action.start", - DeploymentIntegrationActionCancel: "deployment.integration.action.cancel", - DeploymentIntegrationActionCleanup: "deployment.integration.action.cleanup", - EdgeConfigCreated: "edge-config.created", - EdgeConfigDeleted: "edge-config.deleted", - EdgeConfigItemsUpdated: "edge-config.items.updated", - FirewallAttack: "firewall.attack", - IntegrationConfigurationPermissionUpgraded: - "integration-configuration.permission-upgraded", - IntegrationConfigurationRemoved: "integration-configuration.removed", - IntegrationConfigurationScopeChangeConfirmed: - "integration-configuration.scope-change-confirmed", - ProjectCreated: "project.created", - ProjectRemoved: "project.removed", - DeploymentChecksCompletedLegacy: "deployment-checks-completed", - DeploymentReadyLegacy: "deployment-ready", - DeploymentPreparedLegacy: "deployment-prepared", - DeploymentErrorLegacy: "deployment-error", - DeploymentCheckRerequestedLegacy: "deployment-check-rerequested", - DeploymentCanceledLegacy: "deployment-canceled", - ProjectCreatedLegacy: "project-created", - ProjectRemovedLegacy: "project-removed", - DomainCreatedLegacy: "domain-created", - DeploymentLegacy: "deployment", - IntegrationConfigurationPermissionUpdatedLegacy: - "integration-configuration-permission-updated", - IntegrationConfigurationRemovedLegacy: "integration-configuration-removed", - IntegrationConfigurationScopeChangeConfirmedLegacy: - "integration-configuration-scope-change-confirmed", - MarketplaceInvoiceCreated: "marketplace.invoice.created", - MarketplaceInvoicePaid: "marketplace.invoice.paid", - MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid", - MarketplaceInvoiceRefunded: "marketplace.invoice.refunded", - TestWebhook: "observability.anomaly", - undefined: "test-webhook", -} as const; -/** - * The webhooks events - */ -export type GetWebhookEvents = ClosedEnum; - -export type GetWebhookResponseBody = { - /** - * The webhooks events - */ - events: Array; - /** - * The webhook id - */ - id: string; - /** - * A string with the URL of the webhook - */ - url: string; - /** - * The unique ID of the team the webhook belongs to - */ - ownerId: string; - /** - * A number containing the date when the webhook was created in in milliseconds - */ - createdAt: number; - /** - * A number containing the date when the webhook was updated in in milliseconds - */ - updatedAt: number; - /** - * The ID of the projects the webhook is associated with - */ - projectIds?: Array | undefined; -}; - -/** @internal */ -export const GetWebhookRequest$inboundSchema: z.ZodType< - GetWebhookRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetWebhookRequest$Outbound = { - id: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetWebhookRequest$outboundSchema: z.ZodType< - GetWebhookRequest$Outbound, - z.ZodTypeDef, - GetWebhookRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetWebhookRequest$ { - /** @deprecated use `GetWebhookRequest$inboundSchema` instead. */ - export const inboundSchema = GetWebhookRequest$inboundSchema; - /** @deprecated use `GetWebhookRequest$outboundSchema` instead. */ - export const outboundSchema = GetWebhookRequest$outboundSchema; - /** @deprecated use `GetWebhookRequest$Outbound` instead. */ - export type Outbound = GetWebhookRequest$Outbound; -} - -export function getWebhookRequestToJSON( - getWebhookRequest: GetWebhookRequest, -): string { - return JSON.stringify( - GetWebhookRequest$outboundSchema.parse(getWebhookRequest), - ); -} - -export function getWebhookRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetWebhookRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetWebhookRequest' from JSON`, - ); -} - -/** @internal */ -export const GetWebhookEvents$inboundSchema: z.ZodNativeEnum< - typeof GetWebhookEvents -> = z.nativeEnum(GetWebhookEvents); - -/** @internal */ -export const GetWebhookEvents$outboundSchema: z.ZodNativeEnum< - typeof GetWebhookEvents -> = GetWebhookEvents$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetWebhookEvents$ { - /** @deprecated use `GetWebhookEvents$inboundSchema` instead. */ - export const inboundSchema = GetWebhookEvents$inboundSchema; - /** @deprecated use `GetWebhookEvents$outboundSchema` instead. */ - export const outboundSchema = GetWebhookEvents$outboundSchema; -} - -/** @internal */ -export const GetWebhookResponseBody$inboundSchema: z.ZodType< - GetWebhookResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - events: z.array(GetWebhookEvents$inboundSchema), - id: z.string(), - url: z.string(), - ownerId: z.string(), - createdAt: z.number(), - updatedAt: z.number(), - projectIds: z.array(z.string()).optional(), -}); - -/** @internal */ -export type GetWebhookResponseBody$Outbound = { - events: Array; - id: string; - url: string; - ownerId: string; - createdAt: number; - updatedAt: number; - projectIds?: Array | undefined; -}; - -/** @internal */ -export const GetWebhookResponseBody$outboundSchema: z.ZodType< - GetWebhookResponseBody$Outbound, - z.ZodTypeDef, - GetWebhookResponseBody -> = z.object({ - events: z.array(GetWebhookEvents$outboundSchema), - id: z.string(), - url: z.string(), - ownerId: z.string(), - createdAt: z.number(), - updatedAt: z.number(), - projectIds: z.array(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetWebhookResponseBody$ { - /** @deprecated use `GetWebhookResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetWebhookResponseBody$inboundSchema; - /** @deprecated use `GetWebhookResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetWebhookResponseBody$outboundSchema; - /** @deprecated use `GetWebhookResponseBody$Outbound` instead. */ - export type Outbound = GetWebhookResponseBody$Outbound; -} - -export function getWebhookResponseBodyToJSON( - getWebhookResponseBody: GetWebhookResponseBody, -): string { - return JSON.stringify( - GetWebhookResponseBody$outboundSchema.parse(getWebhookResponseBody), - ); -} - -export function getWebhookResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetWebhookResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetWebhookResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/getwebhooks.ts b/src/models/operations/getwebhooks.ts deleted file mode 100644 index a6dd0d57..00000000 --- a/src/models/operations/getwebhooks.ts +++ /dev/null @@ -1,653 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetWebhooksRequest = { - projectId?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * The webhooks events - */ -export const GetWebhooksResponseBodyEvents = { - BudgetReached: "budget.reached", - BudgetReset: "budget.reset", - DomainCreated: "domain.created", - DeploymentCreated: "deployment.created", - DeploymentError: "deployment.error", - DeploymentCanceled: "deployment.canceled", - DeploymentSucceeded: "deployment.succeeded", - DeploymentReady: "deployment.ready", - DeploymentCheckRerequested: "deployment.check-rerequested", - DeploymentPromoted: "deployment.promoted", - DeploymentIntegrationActionStart: "deployment.integration.action.start", - DeploymentIntegrationActionCancel: "deployment.integration.action.cancel", - DeploymentIntegrationActionCleanup: "deployment.integration.action.cleanup", - EdgeConfigCreated: "edge-config.created", - EdgeConfigDeleted: "edge-config.deleted", - EdgeConfigItemsUpdated: "edge-config.items.updated", - FirewallAttack: "firewall.attack", - IntegrationConfigurationPermissionUpgraded: - "integration-configuration.permission-upgraded", - IntegrationConfigurationRemoved: "integration-configuration.removed", - IntegrationConfigurationScopeChangeConfirmed: - "integration-configuration.scope-change-confirmed", - ProjectCreated: "project.created", - ProjectRemoved: "project.removed", - DeploymentChecksCompletedLegacy: "deployment-checks-completed", - DeploymentReadyLegacy: "deployment-ready", - DeploymentPreparedLegacy: "deployment-prepared", - DeploymentErrorLegacy: "deployment-error", - DeploymentCheckRerequestedLegacy: "deployment-check-rerequested", - DeploymentCanceledLegacy: "deployment-canceled", - ProjectCreatedLegacy: "project-created", - ProjectRemovedLegacy: "project-removed", - DomainCreatedLegacy: "domain-created", - DeploymentLegacy: "deployment", - IntegrationConfigurationPermissionUpdatedLegacy: - "integration-configuration-permission-updated", - IntegrationConfigurationRemovedLegacy: "integration-configuration-removed", - IntegrationConfigurationScopeChangeConfirmedLegacy: - "integration-configuration-scope-change-confirmed", - MarketplaceInvoiceCreated: "marketplace.invoice.created", - MarketplaceInvoicePaid: "marketplace.invoice.paid", - MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid", - MarketplaceInvoiceRefunded: "marketplace.invoice.refunded", - TestWebhook: "observability.anomaly", - undefined: "test-webhook", -} as const; -/** - * The webhooks events - */ -export type GetWebhooksResponseBodyEvents = ClosedEnum< - typeof GetWebhooksResponseBodyEvents ->; - -export type GetWebhooksResponseBody2 = { - /** - * The webhooks events - */ - events: Array; - /** - * The webhook id - */ - id: string; - /** - * A string with the URL of the webhook - */ - url: string; - /** - * The unique ID of the team the webhook belongs to - */ - ownerId: string; - /** - * A number containing the date when the webhook was created in in milliseconds - */ - createdAt: number; - /** - * A number containing the date when the webhook was updated in in milliseconds - */ - updatedAt: number; - /** - * The ID of the projects the webhook is associated with - */ - projectIds?: Array | undefined; -}; - -export const GetWebhooksResponseBodyFramework = { - Blitzjs: "blitzjs", - Nextjs: "nextjs", - Gatsby: "gatsby", - Remix: "remix", - Astro: "astro", - Hexo: "hexo", - Eleventy: "eleventy", - Docusaurus2: "docusaurus-2", - Docusaurus: "docusaurus", - Preact: "preact", - Solidstart1: "solidstart-1", - Solidstart: "solidstart", - Dojo: "dojo", - Ember: "ember", - Vue: "vue", - Scully: "scully", - IonicAngular: "ionic-angular", - Angular: "angular", - Polymer: "polymer", - Svelte: "svelte", - Sveltekit: "sveltekit", - Sveltekit1: "sveltekit-1", - IonicReact: "ionic-react", - CreateReactApp: "create-react-app", - Gridsome: "gridsome", - Umijs: "umijs", - Sapper: "sapper", - Saber: "saber", - Stencil: "stencil", - Nuxtjs: "nuxtjs", - Redwoodjs: "redwoodjs", - Hugo: "hugo", - Jekyll: "jekyll", - Brunch: "brunch", - Middleman: "middleman", - Zola: "zola", - Hydrogen: "hydrogen", - Vite: "vite", - Vitepress: "vitepress", - Vuepress: "vuepress", - Parcel: "parcel", - Fasthtml: "fasthtml", - SanityV3: "sanity-v3", - Sanity: "sanity", - Storybook: "storybook", -} as const; -export type GetWebhooksResponseBodyFramework = ClosedEnum< - typeof GetWebhooksResponseBodyFramework ->; - -export type ProjectsMetadata = { - id: string; - name: string; - framework?: GetWebhooksResponseBodyFramework | null | undefined; - latestDeployment?: string | undefined; -}; - -/** - * The webhooks events - */ -export const ResponseBodyEvents = { - BudgetReached: "budget.reached", - BudgetReset: "budget.reset", - DomainCreated: "domain.created", - DeploymentCreated: "deployment.created", - DeploymentError: "deployment.error", - DeploymentCanceled: "deployment.canceled", - DeploymentSucceeded: "deployment.succeeded", - DeploymentReady: "deployment.ready", - DeploymentCheckRerequested: "deployment.check-rerequested", - DeploymentPromoted: "deployment.promoted", - DeploymentIntegrationActionStart: "deployment.integration.action.start", - DeploymentIntegrationActionCancel: "deployment.integration.action.cancel", - DeploymentIntegrationActionCleanup: "deployment.integration.action.cleanup", - EdgeConfigCreated: "edge-config.created", - EdgeConfigDeleted: "edge-config.deleted", - EdgeConfigItemsUpdated: "edge-config.items.updated", - FirewallAttack: "firewall.attack", - IntegrationConfigurationPermissionUpgraded: - "integration-configuration.permission-upgraded", - IntegrationConfigurationRemoved: "integration-configuration.removed", - IntegrationConfigurationScopeChangeConfirmed: - "integration-configuration.scope-change-confirmed", - ProjectCreated: "project.created", - ProjectRemoved: "project.removed", - DeploymentChecksCompletedLegacy: "deployment-checks-completed", - DeploymentReadyLegacy: "deployment-ready", - DeploymentPreparedLegacy: "deployment-prepared", - DeploymentErrorLegacy: "deployment-error", - DeploymentCheckRerequestedLegacy: "deployment-check-rerequested", - DeploymentCanceledLegacy: "deployment-canceled", - ProjectCreatedLegacy: "project-created", - ProjectRemovedLegacy: "project-removed", - DomainCreatedLegacy: "domain-created", - DeploymentLegacy: "deployment", - IntegrationConfigurationPermissionUpdatedLegacy: - "integration-configuration-permission-updated", - IntegrationConfigurationRemovedLegacy: "integration-configuration-removed", - IntegrationConfigurationScopeChangeConfirmedLegacy: - "integration-configuration-scope-change-confirmed", - MarketplaceInvoiceCreated: "marketplace.invoice.created", - MarketplaceInvoicePaid: "marketplace.invoice.paid", - MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid", - MarketplaceInvoiceRefunded: "marketplace.invoice.refunded", - TestWebhook: "observability.anomaly", - undefined: "test-webhook", -} as const; -/** - * The webhooks events - */ -export type ResponseBodyEvents = ClosedEnum; - -export type GetWebhooksResponseBody1 = { - projectsMetadata: Array | null; - /** - * The webhooks events - */ - events: Array; - /** - * The webhook id - */ - id: string; - /** - * A string with the URL of the webhook - */ - url: string; - /** - * The unique ID of the team the webhook belongs to - */ - ownerId: string; - /** - * A number containing the date when the webhook was created in in milliseconds - */ - createdAt: number; - /** - * A number containing the date when the webhook was updated in in milliseconds - */ - updatedAt: number; - /** - * The ID of the projects the webhook is associated with - */ - projectIds?: Array | undefined; -}; - -export type GetWebhooksResponseBody = - | Array - | Array; - -/** @internal */ -export const GetWebhooksRequest$inboundSchema: z.ZodType< - GetWebhooksRequest, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type GetWebhooksRequest$Outbound = { - projectId?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const GetWebhooksRequest$outboundSchema: z.ZodType< - GetWebhooksRequest$Outbound, - z.ZodTypeDef, - GetWebhooksRequest -> = z.object({ - projectId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetWebhooksRequest$ { - /** @deprecated use `GetWebhooksRequest$inboundSchema` instead. */ - export const inboundSchema = GetWebhooksRequest$inboundSchema; - /** @deprecated use `GetWebhooksRequest$outboundSchema` instead. */ - export const outboundSchema = GetWebhooksRequest$outboundSchema; - /** @deprecated use `GetWebhooksRequest$Outbound` instead. */ - export type Outbound = GetWebhooksRequest$Outbound; -} - -export function getWebhooksRequestToJSON( - getWebhooksRequest: GetWebhooksRequest, -): string { - return JSON.stringify( - GetWebhooksRequest$outboundSchema.parse(getWebhooksRequest), - ); -} - -export function getWebhooksRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetWebhooksRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetWebhooksRequest' from JSON`, - ); -} - -/** @internal */ -export const GetWebhooksResponseBodyEvents$inboundSchema: z.ZodNativeEnum< - typeof GetWebhooksResponseBodyEvents -> = z.nativeEnum(GetWebhooksResponseBodyEvents); - -/** @internal */ -export const GetWebhooksResponseBodyEvents$outboundSchema: z.ZodNativeEnum< - typeof GetWebhooksResponseBodyEvents -> = GetWebhooksResponseBodyEvents$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetWebhooksResponseBodyEvents$ { - /** @deprecated use `GetWebhooksResponseBodyEvents$inboundSchema` instead. */ - export const inboundSchema = GetWebhooksResponseBodyEvents$inboundSchema; - /** @deprecated use `GetWebhooksResponseBodyEvents$outboundSchema` instead. */ - export const outboundSchema = GetWebhooksResponseBodyEvents$outboundSchema; -} - -/** @internal */ -export const GetWebhooksResponseBody2$inboundSchema: z.ZodType< - GetWebhooksResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - events: z.array(GetWebhooksResponseBodyEvents$inboundSchema), - id: z.string(), - url: z.string(), - ownerId: z.string(), - createdAt: z.number(), - updatedAt: z.number(), - projectIds: z.array(z.string()).optional(), -}); - -/** @internal */ -export type GetWebhooksResponseBody2$Outbound = { - events: Array; - id: string; - url: string; - ownerId: string; - createdAt: number; - updatedAt: number; - projectIds?: Array | undefined; -}; - -/** @internal */ -export const GetWebhooksResponseBody2$outboundSchema: z.ZodType< - GetWebhooksResponseBody2$Outbound, - z.ZodTypeDef, - GetWebhooksResponseBody2 -> = z.object({ - events: z.array(GetWebhooksResponseBodyEvents$outboundSchema), - id: z.string(), - url: z.string(), - ownerId: z.string(), - createdAt: z.number(), - updatedAt: z.number(), - projectIds: z.array(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetWebhooksResponseBody2$ { - /** @deprecated use `GetWebhooksResponseBody2$inboundSchema` instead. */ - export const inboundSchema = GetWebhooksResponseBody2$inboundSchema; - /** @deprecated use `GetWebhooksResponseBody2$outboundSchema` instead. */ - export const outboundSchema = GetWebhooksResponseBody2$outboundSchema; - /** @deprecated use `GetWebhooksResponseBody2$Outbound` instead. */ - export type Outbound = GetWebhooksResponseBody2$Outbound; -} - -export function getWebhooksResponseBody2ToJSON( - getWebhooksResponseBody2: GetWebhooksResponseBody2, -): string { - return JSON.stringify( - GetWebhooksResponseBody2$outboundSchema.parse(getWebhooksResponseBody2), - ); -} - -export function getWebhooksResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetWebhooksResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetWebhooksResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const GetWebhooksResponseBodyFramework$inboundSchema: z.ZodNativeEnum< - typeof GetWebhooksResponseBodyFramework -> = z.nativeEnum(GetWebhooksResponseBodyFramework); - -/** @internal */ -export const GetWebhooksResponseBodyFramework$outboundSchema: z.ZodNativeEnum< - typeof GetWebhooksResponseBodyFramework -> = GetWebhooksResponseBodyFramework$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetWebhooksResponseBodyFramework$ { - /** @deprecated use `GetWebhooksResponseBodyFramework$inboundSchema` instead. */ - export const inboundSchema = GetWebhooksResponseBodyFramework$inboundSchema; - /** @deprecated use `GetWebhooksResponseBodyFramework$outboundSchema` instead. */ - export const outboundSchema = GetWebhooksResponseBodyFramework$outboundSchema; -} - -/** @internal */ -export const ProjectsMetadata$inboundSchema: z.ZodType< - ProjectsMetadata, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string(), - framework: z.nullable(GetWebhooksResponseBodyFramework$inboundSchema) - .optional(), - latestDeployment: z.string().optional(), -}); - -/** @internal */ -export type ProjectsMetadata$Outbound = { - id: string; - name: string; - framework?: string | null | undefined; - latestDeployment?: string | undefined; -}; - -/** @internal */ -export const ProjectsMetadata$outboundSchema: z.ZodType< - ProjectsMetadata$Outbound, - z.ZodTypeDef, - ProjectsMetadata -> = z.object({ - id: z.string(), - name: z.string(), - framework: z.nullable(GetWebhooksResponseBodyFramework$outboundSchema) - .optional(), - latestDeployment: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ProjectsMetadata$ { - /** @deprecated use `ProjectsMetadata$inboundSchema` instead. */ - export const inboundSchema = ProjectsMetadata$inboundSchema; - /** @deprecated use `ProjectsMetadata$outboundSchema` instead. */ - export const outboundSchema = ProjectsMetadata$outboundSchema; - /** @deprecated use `ProjectsMetadata$Outbound` instead. */ - export type Outbound = ProjectsMetadata$Outbound; -} - -export function projectsMetadataToJSON( - projectsMetadata: ProjectsMetadata, -): string { - return JSON.stringify( - ProjectsMetadata$outboundSchema.parse(projectsMetadata), - ); -} - -export function projectsMetadataFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ProjectsMetadata$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ProjectsMetadata' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyEvents$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyEvents -> = z.nativeEnum(ResponseBodyEvents); - -/** @internal */ -export const ResponseBodyEvents$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyEvents -> = ResponseBodyEvents$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyEvents$ { - /** @deprecated use `ResponseBodyEvents$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyEvents$inboundSchema; - /** @deprecated use `ResponseBodyEvents$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyEvents$outboundSchema; -} - -/** @internal */ -export const GetWebhooksResponseBody1$inboundSchema: z.ZodType< - GetWebhooksResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({ - projectsMetadata: z.nullable( - z.array(z.lazy(() => ProjectsMetadata$inboundSchema)), - ), - events: z.array(ResponseBodyEvents$inboundSchema), - id: z.string(), - url: z.string(), - ownerId: z.string(), - createdAt: z.number(), - updatedAt: z.number(), - projectIds: z.array(z.string()).optional(), -}); - -/** @internal */ -export type GetWebhooksResponseBody1$Outbound = { - projectsMetadata: Array | null; - events: Array; - id: string; - url: string; - ownerId: string; - createdAt: number; - updatedAt: number; - projectIds?: Array | undefined; -}; - -/** @internal */ -export const GetWebhooksResponseBody1$outboundSchema: z.ZodType< - GetWebhooksResponseBody1$Outbound, - z.ZodTypeDef, - GetWebhooksResponseBody1 -> = z.object({ - projectsMetadata: z.nullable( - z.array(z.lazy(() => ProjectsMetadata$outboundSchema)), - ), - events: z.array(ResponseBodyEvents$outboundSchema), - id: z.string(), - url: z.string(), - ownerId: z.string(), - createdAt: z.number(), - updatedAt: z.number(), - projectIds: z.array(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetWebhooksResponseBody1$ { - /** @deprecated use `GetWebhooksResponseBody1$inboundSchema` instead. */ - export const inboundSchema = GetWebhooksResponseBody1$inboundSchema; - /** @deprecated use `GetWebhooksResponseBody1$outboundSchema` instead. */ - export const outboundSchema = GetWebhooksResponseBody1$outboundSchema; - /** @deprecated use `GetWebhooksResponseBody1$Outbound` instead. */ - export type Outbound = GetWebhooksResponseBody1$Outbound; -} - -export function getWebhooksResponseBody1ToJSON( - getWebhooksResponseBody1: GetWebhooksResponseBody1, -): string { - return JSON.stringify( - GetWebhooksResponseBody1$outboundSchema.parse(getWebhooksResponseBody1), - ); -} - -export function getWebhooksResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetWebhooksResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetWebhooksResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const GetWebhooksResponseBody$inboundSchema: z.ZodType< - GetWebhooksResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.array(z.lazy(() => GetWebhooksResponseBody1$inboundSchema)), - z.array(z.lazy(() => GetWebhooksResponseBody2$inboundSchema)), -]); - -/** @internal */ -export type GetWebhooksResponseBody$Outbound = - | Array - | Array; - -/** @internal */ -export const GetWebhooksResponseBody$outboundSchema: z.ZodType< - GetWebhooksResponseBody$Outbound, - z.ZodTypeDef, - GetWebhooksResponseBody -> = z.union([ - z.array(z.lazy(() => GetWebhooksResponseBody1$outboundSchema)), - z.array(z.lazy(() => GetWebhooksResponseBody2$outboundSchema)), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetWebhooksResponseBody$ { - /** @deprecated use `GetWebhooksResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetWebhooksResponseBody$inboundSchema; - /** @deprecated use `GetWebhooksResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetWebhooksResponseBody$outboundSchema; - /** @deprecated use `GetWebhooksResponseBody$Outbound` instead. */ - export type Outbound = GetWebhooksResponseBody$Outbound; -} - -export function getWebhooksResponseBodyToJSON( - getWebhooksResponseBody: GetWebhooksResponseBody, -): string { - return JSON.stringify( - GetWebhooksResponseBody$outboundSchema.parse(getWebhooksResponseBody), - ); -} - -export function getWebhooksResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetWebhooksResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetWebhooksResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/gitnamespaces.ts b/src/models/operations/gitnamespaces.ts deleted file mode 100644 index cd3911d1..00000000 --- a/src/models/operations/gitnamespaces.ts +++ /dev/null @@ -1,235 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export const Provider = { - Github: "github", - GithubCustomHost: "github-custom-host", - Gitlab: "gitlab", - Bitbucket: "bitbucket", -} as const; -export type Provider = ClosedEnum; - -export type GitNamespacesRequest = { - /** - * The custom Git host if using a custom Git provider, like GitHub Enterprise Server - */ - host?: string | undefined; - provider?: Provider | undefined; -}; - -export type GitNamespacesId = string | number; - -export type GitNamespacesResponseBody = { - provider: string; - slug: string; - id: string | number; - ownerType: string; - name?: string | undefined; - isAccessRestricted?: boolean | undefined; - installationId?: number | undefined; - requireReauth?: boolean | undefined; -}; - -/** @internal */ -export const Provider$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Provider); - -/** @internal */ -export const Provider$outboundSchema: z.ZodNativeEnum = - Provider$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Provider$ { - /** @deprecated use `Provider$inboundSchema` instead. */ - export const inboundSchema = Provider$inboundSchema; - /** @deprecated use `Provider$outboundSchema` instead. */ - export const outboundSchema = Provider$outboundSchema; -} - -/** @internal */ -export const GitNamespacesRequest$inboundSchema: z.ZodType< - GitNamespacesRequest, - z.ZodTypeDef, - unknown -> = z.object({ - host: z.string().optional(), - provider: Provider$inboundSchema.optional(), -}); - -/** @internal */ -export type GitNamespacesRequest$Outbound = { - host?: string | undefined; - provider?: string | undefined; -}; - -/** @internal */ -export const GitNamespacesRequest$outboundSchema: z.ZodType< - GitNamespacesRequest$Outbound, - z.ZodTypeDef, - GitNamespacesRequest -> = z.object({ - host: z.string().optional(), - provider: Provider$outboundSchema.optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitNamespacesRequest$ { - /** @deprecated use `GitNamespacesRequest$inboundSchema` instead. */ - export const inboundSchema = GitNamespacesRequest$inboundSchema; - /** @deprecated use `GitNamespacesRequest$outboundSchema` instead. */ - export const outboundSchema = GitNamespacesRequest$outboundSchema; - /** @deprecated use `GitNamespacesRequest$Outbound` instead. */ - export type Outbound = GitNamespacesRequest$Outbound; -} - -export function gitNamespacesRequestToJSON( - gitNamespacesRequest: GitNamespacesRequest, -): string { - return JSON.stringify( - GitNamespacesRequest$outboundSchema.parse(gitNamespacesRequest), - ); -} - -export function gitNamespacesRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitNamespacesRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitNamespacesRequest' from JSON`, - ); -} - -/** @internal */ -export const GitNamespacesId$inboundSchema: z.ZodType< - GitNamespacesId, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number()]); - -/** @internal */ -export type GitNamespacesId$Outbound = string | number; - -/** @internal */ -export const GitNamespacesId$outboundSchema: z.ZodType< - GitNamespacesId$Outbound, - z.ZodTypeDef, - GitNamespacesId -> = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitNamespacesId$ { - /** @deprecated use `GitNamespacesId$inboundSchema` instead. */ - export const inboundSchema = GitNamespacesId$inboundSchema; - /** @deprecated use `GitNamespacesId$outboundSchema` instead. */ - export const outboundSchema = GitNamespacesId$outboundSchema; - /** @deprecated use `GitNamespacesId$Outbound` instead. */ - export type Outbound = GitNamespacesId$Outbound; -} - -export function gitNamespacesIdToJSON( - gitNamespacesId: GitNamespacesId, -): string { - return JSON.stringify(GitNamespacesId$outboundSchema.parse(gitNamespacesId)); -} - -export function gitNamespacesIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitNamespacesId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitNamespacesId' from JSON`, - ); -} - -/** @internal */ -export const GitNamespacesResponseBody$inboundSchema: z.ZodType< - GitNamespacesResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - provider: z.string(), - slug: z.string(), - id: z.union([z.string(), z.number()]), - ownerType: z.string(), - name: z.string().optional(), - isAccessRestricted: z.boolean().optional(), - installationId: z.number().optional(), - requireReauth: z.boolean().optional(), -}); - -/** @internal */ -export type GitNamespacesResponseBody$Outbound = { - provider: string; - slug: string; - id: string | number; - ownerType: string; - name?: string | undefined; - isAccessRestricted?: boolean | undefined; - installationId?: number | undefined; - requireReauth?: boolean | undefined; -}; - -/** @internal */ -export const GitNamespacesResponseBody$outboundSchema: z.ZodType< - GitNamespacesResponseBody$Outbound, - z.ZodTypeDef, - GitNamespacesResponseBody -> = z.object({ - provider: z.string(), - slug: z.string(), - id: z.union([z.string(), z.number()]), - ownerType: z.string(), - name: z.string().optional(), - isAccessRestricted: z.boolean().optional(), - installationId: z.number().optional(), - requireReauth: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitNamespacesResponseBody$ { - /** @deprecated use `GitNamespacesResponseBody$inboundSchema` instead. */ - export const inboundSchema = GitNamespacesResponseBody$inboundSchema; - /** @deprecated use `GitNamespacesResponseBody$outboundSchema` instead. */ - export const outboundSchema = GitNamespacesResponseBody$outboundSchema; - /** @deprecated use `GitNamespacesResponseBody$Outbound` instead. */ - export type Outbound = GitNamespacesResponseBody$Outbound; -} - -export function gitNamespacesResponseBodyToJSON( - gitNamespacesResponseBody: GitNamespacesResponseBody, -): string { - return JSON.stringify( - GitNamespacesResponseBody$outboundSchema.parse(gitNamespacesResponseBody), - ); -} - -export function gitNamespacesResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitNamespacesResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitNamespacesResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/inviteusertoteam.ts b/src/models/operations/inviteusertoteam.ts deleted file mode 100644 index 813e1415..00000000 --- a/src/models/operations/inviteusertoteam.ts +++ /dev/null @@ -1,596 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The role of the user to invite - */ -export const InviteUserToTeamRole = { - Owner: "OWNER", - Member: "MEMBER", - Developer: "DEVELOPER", - Billing: "BILLING", - Viewer: "VIEWER", - Contributor: "CONTRIBUTOR", -} as const; -/** - * The role of the user to invite - */ -export type InviteUserToTeamRole = ClosedEnum; - -/** - * Sets the project roles for the invited user - */ -export const InviteUserToTeamTeamsRole = { - Admin: "ADMIN", - ProjectViewer: "PROJECT_VIEWER", - ProjectDeveloper: "PROJECT_DEVELOPER", -} as const; -/** - * Sets the project roles for the invited user - */ -export type InviteUserToTeamTeamsRole = ClosedEnum< - typeof InviteUserToTeamTeamsRole ->; - -export type InviteUserToTeamProjects = { - /** - * The ID of the project. - */ - projectId: string; - /** - * Sets the project roles for the invited user - */ - role: InviteUserToTeamTeamsRole; -}; - -export type InviteUserToTeamRequestBody = { - /** - * The id of the user to invite - */ - uid?: string | undefined; - /** - * The email address of the user to invite - */ - email?: string | undefined; - /** - * The role of the user to invite - */ - role?: InviteUserToTeamRole | undefined; - projects?: Array | undefined; -}; - -export type InviteUserToTeamRequest = { - teamId: string; - requestBody?: InviteUserToTeamRequestBody | undefined; -}; - -export const InviteUserToTeamResponseBodyRole = { - Owner: "OWNER", - Member: "MEMBER", - Developer: "DEVELOPER", - Billing: "BILLING", - Viewer: "VIEWER", - Contributor: "CONTRIBUTOR", -} as const; -export type InviteUserToTeamResponseBodyRole = ClosedEnum< - typeof InviteUserToTeamResponseBodyRole ->; - -export type InviteUserToTeamResponseBody2 = { - uid: string; - username: string; - role: InviteUserToTeamResponseBodyRole; -}; - -/** - * The role used for the invitation - */ -export const ResponseBodyRole = { - Owner: "OWNER", - Member: "MEMBER", - Developer: "DEVELOPER", - Billing: "BILLING", - Viewer: "VIEWER", - Contributor: "CONTRIBUTOR", -} as const; -/** - * The role used for the invitation - */ -export type ResponseBodyRole = ClosedEnum; - -/** - * The member was successfully added to the team - */ -export type InviteUserToTeamResponseBody1 = { - /** - * The ID of the invited user - */ - uid: string; - /** - * The username of the invited user - */ - username: string; - /** - * The email of the invited user. Not included if the user was invited via their UID. - */ - email?: string | undefined; - /** - * The role used for the invitation - */ - role: ResponseBodyRole; -}; - -/** - * The member was successfully added to the team - */ -export type InviteUserToTeamResponseBody = - | InviteUserToTeamResponseBody2 - | InviteUserToTeamResponseBody1; - -/** @internal */ -export const InviteUserToTeamRole$inboundSchema: z.ZodNativeEnum< - typeof InviteUserToTeamRole -> = z.nativeEnum(InviteUserToTeamRole); - -/** @internal */ -export const InviteUserToTeamRole$outboundSchema: z.ZodNativeEnum< - typeof InviteUserToTeamRole -> = InviteUserToTeamRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InviteUserToTeamRole$ { - /** @deprecated use `InviteUserToTeamRole$inboundSchema` instead. */ - export const inboundSchema = InviteUserToTeamRole$inboundSchema; - /** @deprecated use `InviteUserToTeamRole$outboundSchema` instead. */ - export const outboundSchema = InviteUserToTeamRole$outboundSchema; -} - -/** @internal */ -export const InviteUserToTeamTeamsRole$inboundSchema: z.ZodNativeEnum< - typeof InviteUserToTeamTeamsRole -> = z.nativeEnum(InviteUserToTeamTeamsRole); - -/** @internal */ -export const InviteUserToTeamTeamsRole$outboundSchema: z.ZodNativeEnum< - typeof InviteUserToTeamTeamsRole -> = InviteUserToTeamTeamsRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InviteUserToTeamTeamsRole$ { - /** @deprecated use `InviteUserToTeamTeamsRole$inboundSchema` instead. */ - export const inboundSchema = InviteUserToTeamTeamsRole$inboundSchema; - /** @deprecated use `InviteUserToTeamTeamsRole$outboundSchema` instead. */ - export const outboundSchema = InviteUserToTeamTeamsRole$outboundSchema; -} - -/** @internal */ -export const InviteUserToTeamProjects$inboundSchema: z.ZodType< - InviteUserToTeamProjects, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string(), - role: InviteUserToTeamTeamsRole$inboundSchema, -}); - -/** @internal */ -export type InviteUserToTeamProjects$Outbound = { - projectId: string; - role: string; -}; - -/** @internal */ -export const InviteUserToTeamProjects$outboundSchema: z.ZodType< - InviteUserToTeamProjects$Outbound, - z.ZodTypeDef, - InviteUserToTeamProjects -> = z.object({ - projectId: z.string(), - role: InviteUserToTeamTeamsRole$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InviteUserToTeamProjects$ { - /** @deprecated use `InviteUserToTeamProjects$inboundSchema` instead. */ - export const inboundSchema = InviteUserToTeamProjects$inboundSchema; - /** @deprecated use `InviteUserToTeamProjects$outboundSchema` instead. */ - export const outboundSchema = InviteUserToTeamProjects$outboundSchema; - /** @deprecated use `InviteUserToTeamProjects$Outbound` instead. */ - export type Outbound = InviteUserToTeamProjects$Outbound; -} - -export function inviteUserToTeamProjectsToJSON( - inviteUserToTeamProjects: InviteUserToTeamProjects, -): string { - return JSON.stringify( - InviteUserToTeamProjects$outboundSchema.parse(inviteUserToTeamProjects), - ); -} - -export function inviteUserToTeamProjectsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => InviteUserToTeamProjects$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'InviteUserToTeamProjects' from JSON`, - ); -} - -/** @internal */ -export const InviteUserToTeamRequestBody$inboundSchema: z.ZodType< - InviteUserToTeamRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string().optional(), - email: z.string().optional(), - role: InviteUserToTeamRole$inboundSchema.default("MEMBER"), - projects: z.array(z.lazy(() => InviteUserToTeamProjects$inboundSchema)) - .optional(), -}); - -/** @internal */ -export type InviteUserToTeamRequestBody$Outbound = { - uid?: string | undefined; - email?: string | undefined; - role: string; - projects?: Array | undefined; -}; - -/** @internal */ -export const InviteUserToTeamRequestBody$outboundSchema: z.ZodType< - InviteUserToTeamRequestBody$Outbound, - z.ZodTypeDef, - InviteUserToTeamRequestBody -> = z.object({ - uid: z.string().optional(), - email: z.string().optional(), - role: InviteUserToTeamRole$outboundSchema.default("MEMBER"), - projects: z.array(z.lazy(() => InviteUserToTeamProjects$outboundSchema)) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InviteUserToTeamRequestBody$ { - /** @deprecated use `InviteUserToTeamRequestBody$inboundSchema` instead. */ - export const inboundSchema = InviteUserToTeamRequestBody$inboundSchema; - /** @deprecated use `InviteUserToTeamRequestBody$outboundSchema` instead. */ - export const outboundSchema = InviteUserToTeamRequestBody$outboundSchema; - /** @deprecated use `InviteUserToTeamRequestBody$Outbound` instead. */ - export type Outbound = InviteUserToTeamRequestBody$Outbound; -} - -export function inviteUserToTeamRequestBodyToJSON( - inviteUserToTeamRequestBody: InviteUserToTeamRequestBody, -): string { - return JSON.stringify( - InviteUserToTeamRequestBody$outboundSchema.parse( - inviteUserToTeamRequestBody, - ), - ); -} - -export function inviteUserToTeamRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => InviteUserToTeamRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'InviteUserToTeamRequestBody' from JSON`, - ); -} - -/** @internal */ -export const InviteUserToTeamRequest$inboundSchema: z.ZodType< - InviteUserToTeamRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string(), - RequestBody: z.lazy(() => InviteUserToTeamRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type InviteUserToTeamRequest$Outbound = { - teamId: string; - RequestBody?: InviteUserToTeamRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const InviteUserToTeamRequest$outboundSchema: z.ZodType< - InviteUserToTeamRequest$Outbound, - z.ZodTypeDef, - InviteUserToTeamRequest -> = z.object({ - teamId: z.string(), - requestBody: z.lazy(() => InviteUserToTeamRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InviteUserToTeamRequest$ { - /** @deprecated use `InviteUserToTeamRequest$inboundSchema` instead. */ - export const inboundSchema = InviteUserToTeamRequest$inboundSchema; - /** @deprecated use `InviteUserToTeamRequest$outboundSchema` instead. */ - export const outboundSchema = InviteUserToTeamRequest$outboundSchema; - /** @deprecated use `InviteUserToTeamRequest$Outbound` instead. */ - export type Outbound = InviteUserToTeamRequest$Outbound; -} - -export function inviteUserToTeamRequestToJSON( - inviteUserToTeamRequest: InviteUserToTeamRequest, -): string { - return JSON.stringify( - InviteUserToTeamRequest$outboundSchema.parse(inviteUserToTeamRequest), - ); -} - -export function inviteUserToTeamRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => InviteUserToTeamRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'InviteUserToTeamRequest' from JSON`, - ); -} - -/** @internal */ -export const InviteUserToTeamResponseBodyRole$inboundSchema: z.ZodNativeEnum< - typeof InviteUserToTeamResponseBodyRole -> = z.nativeEnum(InviteUserToTeamResponseBodyRole); - -/** @internal */ -export const InviteUserToTeamResponseBodyRole$outboundSchema: z.ZodNativeEnum< - typeof InviteUserToTeamResponseBodyRole -> = InviteUserToTeamResponseBodyRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InviteUserToTeamResponseBodyRole$ { - /** @deprecated use `InviteUserToTeamResponseBodyRole$inboundSchema` instead. */ - export const inboundSchema = InviteUserToTeamResponseBodyRole$inboundSchema; - /** @deprecated use `InviteUserToTeamResponseBodyRole$outboundSchema` instead. */ - export const outboundSchema = InviteUserToTeamResponseBodyRole$outboundSchema; -} - -/** @internal */ -export const InviteUserToTeamResponseBody2$inboundSchema: z.ZodType< - InviteUserToTeamResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - username: z.string(), - role: InviteUserToTeamResponseBodyRole$inboundSchema, -}); - -/** @internal */ -export type InviteUserToTeamResponseBody2$Outbound = { - uid: string; - username: string; - role: string; -}; - -/** @internal */ -export const InviteUserToTeamResponseBody2$outboundSchema: z.ZodType< - InviteUserToTeamResponseBody2$Outbound, - z.ZodTypeDef, - InviteUserToTeamResponseBody2 -> = z.object({ - uid: z.string(), - username: z.string(), - role: InviteUserToTeamResponseBodyRole$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InviteUserToTeamResponseBody2$ { - /** @deprecated use `InviteUserToTeamResponseBody2$inboundSchema` instead. */ - export const inboundSchema = InviteUserToTeamResponseBody2$inboundSchema; - /** @deprecated use `InviteUserToTeamResponseBody2$outboundSchema` instead. */ - export const outboundSchema = InviteUserToTeamResponseBody2$outboundSchema; - /** @deprecated use `InviteUserToTeamResponseBody2$Outbound` instead. */ - export type Outbound = InviteUserToTeamResponseBody2$Outbound; -} - -export function inviteUserToTeamResponseBody2ToJSON( - inviteUserToTeamResponseBody2: InviteUserToTeamResponseBody2, -): string { - return JSON.stringify( - InviteUserToTeamResponseBody2$outboundSchema.parse( - inviteUserToTeamResponseBody2, - ), - ); -} - -export function inviteUserToTeamResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => InviteUserToTeamResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'InviteUserToTeamResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyRole$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyRole -> = z.nativeEnum(ResponseBodyRole); - -/** @internal */ -export const ResponseBodyRole$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyRole -> = ResponseBodyRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyRole$ { - /** @deprecated use `ResponseBodyRole$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyRole$inboundSchema; - /** @deprecated use `ResponseBodyRole$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyRole$outboundSchema; -} - -/** @internal */ -export const InviteUserToTeamResponseBody1$inboundSchema: z.ZodType< - InviteUserToTeamResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - username: z.string(), - email: z.string().optional(), - role: ResponseBodyRole$inboundSchema, -}); - -/** @internal */ -export type InviteUserToTeamResponseBody1$Outbound = { - uid: string; - username: string; - email?: string | undefined; - role: string; -}; - -/** @internal */ -export const InviteUserToTeamResponseBody1$outboundSchema: z.ZodType< - InviteUserToTeamResponseBody1$Outbound, - z.ZodTypeDef, - InviteUserToTeamResponseBody1 -> = z.object({ - uid: z.string(), - username: z.string(), - email: z.string().optional(), - role: ResponseBodyRole$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InviteUserToTeamResponseBody1$ { - /** @deprecated use `InviteUserToTeamResponseBody1$inboundSchema` instead. */ - export const inboundSchema = InviteUserToTeamResponseBody1$inboundSchema; - /** @deprecated use `InviteUserToTeamResponseBody1$outboundSchema` instead. */ - export const outboundSchema = InviteUserToTeamResponseBody1$outboundSchema; - /** @deprecated use `InviteUserToTeamResponseBody1$Outbound` instead. */ - export type Outbound = InviteUserToTeamResponseBody1$Outbound; -} - -export function inviteUserToTeamResponseBody1ToJSON( - inviteUserToTeamResponseBody1: InviteUserToTeamResponseBody1, -): string { - return JSON.stringify( - InviteUserToTeamResponseBody1$outboundSchema.parse( - inviteUserToTeamResponseBody1, - ), - ); -} - -export function inviteUserToTeamResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => InviteUserToTeamResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'InviteUserToTeamResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const InviteUserToTeamResponseBody$inboundSchema: z.ZodType< - InviteUserToTeamResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => InviteUserToTeamResponseBody2$inboundSchema), - z.lazy(() => InviteUserToTeamResponseBody1$inboundSchema), -]); - -/** @internal */ -export type InviteUserToTeamResponseBody$Outbound = - | InviteUserToTeamResponseBody2$Outbound - | InviteUserToTeamResponseBody1$Outbound; - -/** @internal */ -export const InviteUserToTeamResponseBody$outboundSchema: z.ZodType< - InviteUserToTeamResponseBody$Outbound, - z.ZodTypeDef, - InviteUserToTeamResponseBody -> = z.union([ - z.lazy(() => InviteUserToTeamResponseBody2$outboundSchema), - z.lazy(() => InviteUserToTeamResponseBody1$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InviteUserToTeamResponseBody$ { - /** @deprecated use `InviteUserToTeamResponseBody$inboundSchema` instead. */ - export const inboundSchema = InviteUserToTeamResponseBody$inboundSchema; - /** @deprecated use `InviteUserToTeamResponseBody$outboundSchema` instead. */ - export const outboundSchema = InviteUserToTeamResponseBody$outboundSchema; - /** @deprecated use `InviteUserToTeamResponseBody$Outbound` instead. */ - export type Outbound = InviteUserToTeamResponseBody$Outbound; -} - -export function inviteUserToTeamResponseBodyToJSON( - inviteUserToTeamResponseBody: InviteUserToTeamResponseBody, -): string { - return JSON.stringify( - InviteUserToTeamResponseBody$outboundSchema.parse( - inviteUserToTeamResponseBody, - ), - ); -} - -export function inviteUserToTeamResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => InviteUserToTeamResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'InviteUserToTeamResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/issuecert.ts b/src/models/operations/issuecert.ts deleted file mode 100644 index 7ffb3975..00000000 --- a/src/models/operations/issuecert.ts +++ /dev/null @@ -1,224 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type IssueCertRequestBody = { - /** - * The common names the cert should be issued for - */ - cns?: Array | undefined; -}; - -export type IssueCertRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: IssueCertRequestBody | undefined; -}; - -export type IssueCertResponseBody = { - id: string; - createdAt: number; - expiresAt: number; - autoRenew: boolean; - cns: Array; -}; - -/** @internal */ -export const IssueCertRequestBody$inboundSchema: z.ZodType< - IssueCertRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - cns: z.array(z.string()).optional(), -}); - -/** @internal */ -export type IssueCertRequestBody$Outbound = { - cns?: Array | undefined; -}; - -/** @internal */ -export const IssueCertRequestBody$outboundSchema: z.ZodType< - IssueCertRequestBody$Outbound, - z.ZodTypeDef, - IssueCertRequestBody -> = z.object({ - cns: z.array(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace IssueCertRequestBody$ { - /** @deprecated use `IssueCertRequestBody$inboundSchema` instead. */ - export const inboundSchema = IssueCertRequestBody$inboundSchema; - /** @deprecated use `IssueCertRequestBody$outboundSchema` instead. */ - export const outboundSchema = IssueCertRequestBody$outboundSchema; - /** @deprecated use `IssueCertRequestBody$Outbound` instead. */ - export type Outbound = IssueCertRequestBody$Outbound; -} - -export function issueCertRequestBodyToJSON( - issueCertRequestBody: IssueCertRequestBody, -): string { - return JSON.stringify( - IssueCertRequestBody$outboundSchema.parse(issueCertRequestBody), - ); -} - -export function issueCertRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => IssueCertRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'IssueCertRequestBody' from JSON`, - ); -} - -/** @internal */ -export const IssueCertRequest$inboundSchema: z.ZodType< - IssueCertRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => IssueCertRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type IssueCertRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: IssueCertRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const IssueCertRequest$outboundSchema: z.ZodType< - IssueCertRequest$Outbound, - z.ZodTypeDef, - IssueCertRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => IssueCertRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace IssueCertRequest$ { - /** @deprecated use `IssueCertRequest$inboundSchema` instead. */ - export const inboundSchema = IssueCertRequest$inboundSchema; - /** @deprecated use `IssueCertRequest$outboundSchema` instead. */ - export const outboundSchema = IssueCertRequest$outboundSchema; - /** @deprecated use `IssueCertRequest$Outbound` instead. */ - export type Outbound = IssueCertRequest$Outbound; -} - -export function issueCertRequestToJSON( - issueCertRequest: IssueCertRequest, -): string { - return JSON.stringify( - IssueCertRequest$outboundSchema.parse(issueCertRequest), - ); -} - -export function issueCertRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => IssueCertRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'IssueCertRequest' from JSON`, - ); -} - -/** @internal */ -export const IssueCertResponseBody$inboundSchema: z.ZodType< - IssueCertResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - createdAt: z.number(), - expiresAt: z.number(), - autoRenew: z.boolean(), - cns: z.array(z.string()), -}); - -/** @internal */ -export type IssueCertResponseBody$Outbound = { - id: string; - createdAt: number; - expiresAt: number; - autoRenew: boolean; - cns: Array; -}; - -/** @internal */ -export const IssueCertResponseBody$outboundSchema: z.ZodType< - IssueCertResponseBody$Outbound, - z.ZodTypeDef, - IssueCertResponseBody -> = z.object({ - id: z.string(), - createdAt: z.number(), - expiresAt: z.number(), - autoRenew: z.boolean(), - cns: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace IssueCertResponseBody$ { - /** @deprecated use `IssueCertResponseBody$inboundSchema` instead. */ - export const inboundSchema = IssueCertResponseBody$inboundSchema; - /** @deprecated use `IssueCertResponseBody$outboundSchema` instead. */ - export const outboundSchema = IssueCertResponseBody$outboundSchema; - /** @deprecated use `IssueCertResponseBody$Outbound` instead. */ - export type Outbound = IssueCertResponseBody$Outbound; -} - -export function issueCertResponseBodyToJSON( - issueCertResponseBody: IssueCertResponseBody, -): string { - return JSON.stringify( - IssueCertResponseBody$outboundSchema.parse(issueCertResponseBody), - ); -} - -export function issueCertResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => IssueCertResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'IssueCertResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/jointeam.ts b/src/models/operations/jointeam.ts deleted file mode 100644 index 9a9d41de..00000000 --- a/src/models/operations/jointeam.ts +++ /dev/null @@ -1,223 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type JoinTeamRequestBody = { - /** - * The invite code to join the team. - */ - inviteCode?: string | undefined; -}; - -export type JoinTeamRequest = { - teamId: string; - requestBody?: JoinTeamRequestBody | undefined; -}; - -/** - * Successfully joined a team. - */ -export type JoinTeamResponseBody = { - /** - * The ID of the team the user joined. - */ - teamId: string; - /** - * The slug of the team the user joined. - */ - slug: string; - /** - * The name of the team the user joined. - */ - name: string; - /** - * The origin of how the user joined. - */ - from: string; -}; - -/** @internal */ -export const JoinTeamRequestBody$inboundSchema: z.ZodType< - JoinTeamRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - inviteCode: z.string().optional(), -}); - -/** @internal */ -export type JoinTeamRequestBody$Outbound = { - inviteCode?: string | undefined; -}; - -/** @internal */ -export const JoinTeamRequestBody$outboundSchema: z.ZodType< - JoinTeamRequestBody$Outbound, - z.ZodTypeDef, - JoinTeamRequestBody -> = z.object({ - inviteCode: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace JoinTeamRequestBody$ { - /** @deprecated use `JoinTeamRequestBody$inboundSchema` instead. */ - export const inboundSchema = JoinTeamRequestBody$inboundSchema; - /** @deprecated use `JoinTeamRequestBody$outboundSchema` instead. */ - export const outboundSchema = JoinTeamRequestBody$outboundSchema; - /** @deprecated use `JoinTeamRequestBody$Outbound` instead. */ - export type Outbound = JoinTeamRequestBody$Outbound; -} - -export function joinTeamRequestBodyToJSON( - joinTeamRequestBody: JoinTeamRequestBody, -): string { - return JSON.stringify( - JoinTeamRequestBody$outboundSchema.parse(joinTeamRequestBody), - ); -} - -export function joinTeamRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => JoinTeamRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'JoinTeamRequestBody' from JSON`, - ); -} - -/** @internal */ -export const JoinTeamRequest$inboundSchema: z.ZodType< - JoinTeamRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string(), - RequestBody: z.lazy(() => JoinTeamRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type JoinTeamRequest$Outbound = { - teamId: string; - RequestBody?: JoinTeamRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const JoinTeamRequest$outboundSchema: z.ZodType< - JoinTeamRequest$Outbound, - z.ZodTypeDef, - JoinTeamRequest -> = z.object({ - teamId: z.string(), - requestBody: z.lazy(() => JoinTeamRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace JoinTeamRequest$ { - /** @deprecated use `JoinTeamRequest$inboundSchema` instead. */ - export const inboundSchema = JoinTeamRequest$inboundSchema; - /** @deprecated use `JoinTeamRequest$outboundSchema` instead. */ - export const outboundSchema = JoinTeamRequest$outboundSchema; - /** @deprecated use `JoinTeamRequest$Outbound` instead. */ - export type Outbound = JoinTeamRequest$Outbound; -} - -export function joinTeamRequestToJSON( - joinTeamRequest: JoinTeamRequest, -): string { - return JSON.stringify(JoinTeamRequest$outboundSchema.parse(joinTeamRequest)); -} - -export function joinTeamRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => JoinTeamRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'JoinTeamRequest' from JSON`, - ); -} - -/** @internal */ -export const JoinTeamResponseBody$inboundSchema: z.ZodType< - JoinTeamResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string(), - slug: z.string(), - name: z.string(), - from: z.string(), -}); - -/** @internal */ -export type JoinTeamResponseBody$Outbound = { - teamId: string; - slug: string; - name: string; - from: string; -}; - -/** @internal */ -export const JoinTeamResponseBody$outboundSchema: z.ZodType< - JoinTeamResponseBody$Outbound, - z.ZodTypeDef, - JoinTeamResponseBody -> = z.object({ - teamId: z.string(), - slug: z.string(), - name: z.string(), - from: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace JoinTeamResponseBody$ { - /** @deprecated use `JoinTeamResponseBody$inboundSchema` instead. */ - export const inboundSchema = JoinTeamResponseBody$inboundSchema; - /** @deprecated use `JoinTeamResponseBody$outboundSchema` instead. */ - export const outboundSchema = JoinTeamResponseBody$outboundSchema; - /** @deprecated use `JoinTeamResponseBody$Outbound` instead. */ - export type Outbound = JoinTeamResponseBody$Outbound; -} - -export function joinTeamResponseBodyToJSON( - joinTeamResponseBody: JoinTeamResponseBody, -): string { - return JSON.stringify( - JoinTeamResponseBody$outboundSchema.parse(joinTeamResponseBody), - ); -} - -export function joinTeamResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => JoinTeamResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'JoinTeamResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/listaccessgroupmembers.ts b/src/models/operations/listaccessgroupmembers.ts deleted file mode 100644 index 877442d0..00000000 --- a/src/models/operations/listaccessgroupmembers.ts +++ /dev/null @@ -1,335 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type ListAccessGroupMembersRequest = { - /** - * The ID or name of the Access Group. - */ - idOrName: string; - /** - * Limit how many access group members should be returned. - */ - limit?: number | undefined; - /** - * Continuation cursor to retrieve the next page of results. - */ - next?: string | undefined; - /** - * Search project members by their name, username, and email. - */ - search?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export const TeamRole = { - Owner: "OWNER", - Member: "MEMBER", - Developer: "DEVELOPER", - Billing: "BILLING", - Viewer: "VIEWER", - Contributor: "CONTRIBUTOR", -} as const; -export type TeamRole = ClosedEnum; - -export type Members = { - avatar?: string | undefined; - email: string; - uid: string; - username: string; - name?: string | undefined; - createdAt?: string | undefined; - teamRole: TeamRole; -}; - -export type Pagination = { - count: number; - next: string | null; -}; - -export type ListAccessGroupMembersResponseBody = { - members: Array; - pagination: Pagination; -}; - -/** @internal */ -export const ListAccessGroupMembersRequest$inboundSchema: z.ZodType< - ListAccessGroupMembersRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - limit: z.number().int().optional(), - next: z.string().optional(), - search: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type ListAccessGroupMembersRequest$Outbound = { - idOrName: string; - limit?: number | undefined; - next?: string | undefined; - search?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const ListAccessGroupMembersRequest$outboundSchema: z.ZodType< - ListAccessGroupMembersRequest$Outbound, - z.ZodTypeDef, - ListAccessGroupMembersRequest -> = z.object({ - idOrName: z.string(), - limit: z.number().int().optional(), - next: z.string().optional(), - search: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAccessGroupMembersRequest$ { - /** @deprecated use `ListAccessGroupMembersRequest$inboundSchema` instead. */ - export const inboundSchema = ListAccessGroupMembersRequest$inboundSchema; - /** @deprecated use `ListAccessGroupMembersRequest$outboundSchema` instead. */ - export const outboundSchema = ListAccessGroupMembersRequest$outboundSchema; - /** @deprecated use `ListAccessGroupMembersRequest$Outbound` instead. */ - export type Outbound = ListAccessGroupMembersRequest$Outbound; -} - -export function listAccessGroupMembersRequestToJSON( - listAccessGroupMembersRequest: ListAccessGroupMembersRequest, -): string { - return JSON.stringify( - ListAccessGroupMembersRequest$outboundSchema.parse( - listAccessGroupMembersRequest, - ), - ); -} - -export function listAccessGroupMembersRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAccessGroupMembersRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAccessGroupMembersRequest' from JSON`, - ); -} - -/** @internal */ -export const TeamRole$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TeamRole); - -/** @internal */ -export const TeamRole$outboundSchema: z.ZodNativeEnum = - TeamRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TeamRole$ { - /** @deprecated use `TeamRole$inboundSchema` instead. */ - export const inboundSchema = TeamRole$inboundSchema; - /** @deprecated use `TeamRole$outboundSchema` instead. */ - export const outboundSchema = TeamRole$outboundSchema; -} - -/** @internal */ -export const Members$inboundSchema: z.ZodType = - z.object({ - avatar: z.string().optional(), - email: z.string(), - uid: z.string(), - username: z.string(), - name: z.string().optional(), - createdAt: z.string().optional(), - teamRole: TeamRole$inboundSchema, - }); - -/** @internal */ -export type Members$Outbound = { - avatar?: string | undefined; - email: string; - uid: string; - username: string; - name?: string | undefined; - createdAt?: string | undefined; - teamRole: string; -}; - -/** @internal */ -export const Members$outboundSchema: z.ZodType< - Members$Outbound, - z.ZodTypeDef, - Members -> = z.object({ - avatar: z.string().optional(), - email: z.string(), - uid: z.string(), - username: z.string(), - name: z.string().optional(), - createdAt: z.string().optional(), - teamRole: TeamRole$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Members$ { - /** @deprecated use `Members$inboundSchema` instead. */ - export const inboundSchema = Members$inboundSchema; - /** @deprecated use `Members$outboundSchema` instead. */ - export const outboundSchema = Members$outboundSchema; - /** @deprecated use `Members$Outbound` instead. */ - export type Outbound = Members$Outbound; -} - -export function membersToJSON(members: Members): string { - return JSON.stringify(Members$outboundSchema.parse(members)); -} - -export function membersFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Members$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Members' from JSON`, - ); -} - -/** @internal */ -export const Pagination$inboundSchema: z.ZodType< - Pagination, - z.ZodTypeDef, - unknown -> = z.object({ - count: z.number(), - next: z.nullable(z.string()), -}); - -/** @internal */ -export type Pagination$Outbound = { - count: number; - next: string | null; -}; - -/** @internal */ -export const Pagination$outboundSchema: z.ZodType< - Pagination$Outbound, - z.ZodTypeDef, - Pagination -> = z.object({ - count: z.number(), - next: z.nullable(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Pagination$ { - /** @deprecated use `Pagination$inboundSchema` instead. */ - export const inboundSchema = Pagination$inboundSchema; - /** @deprecated use `Pagination$outboundSchema` instead. */ - export const outboundSchema = Pagination$outboundSchema; - /** @deprecated use `Pagination$Outbound` instead. */ - export type Outbound = Pagination$Outbound; -} - -export function paginationToJSON(pagination: Pagination): string { - return JSON.stringify(Pagination$outboundSchema.parse(pagination)); -} - -export function paginationFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Pagination$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Pagination' from JSON`, - ); -} - -/** @internal */ -export const ListAccessGroupMembersResponseBody$inboundSchema: z.ZodType< - ListAccessGroupMembersResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - members: z.array(z.lazy(() => Members$inboundSchema)), - pagination: z.lazy(() => Pagination$inboundSchema), -}); - -/** @internal */ -export type ListAccessGroupMembersResponseBody$Outbound = { - members: Array; - pagination: Pagination$Outbound; -}; - -/** @internal */ -export const ListAccessGroupMembersResponseBody$outboundSchema: z.ZodType< - ListAccessGroupMembersResponseBody$Outbound, - z.ZodTypeDef, - ListAccessGroupMembersResponseBody -> = z.object({ - members: z.array(z.lazy(() => Members$outboundSchema)), - pagination: z.lazy(() => Pagination$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAccessGroupMembersResponseBody$ { - /** @deprecated use `ListAccessGroupMembersResponseBody$inboundSchema` instead. */ - export const inboundSchema = ListAccessGroupMembersResponseBody$inboundSchema; - /** @deprecated use `ListAccessGroupMembersResponseBody$outboundSchema` instead. */ - export const outboundSchema = - ListAccessGroupMembersResponseBody$outboundSchema; - /** @deprecated use `ListAccessGroupMembersResponseBody$Outbound` instead. */ - export type Outbound = ListAccessGroupMembersResponseBody$Outbound; -} - -export function listAccessGroupMembersResponseBodyToJSON( - listAccessGroupMembersResponseBody: ListAccessGroupMembersResponseBody, -): string { - return JSON.stringify( - ListAccessGroupMembersResponseBody$outboundSchema.parse( - listAccessGroupMembersResponseBody, - ), - ); -} - -export function listAccessGroupMembersResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - ListAccessGroupMembersResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAccessGroupMembersResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/listaccessgroupprojects.ts b/src/models/operations/listaccessgroupprojects.ts deleted file mode 100644 index 79221c5d..00000000 --- a/src/models/operations/listaccessgroupprojects.ts +++ /dev/null @@ -1,410 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type ListAccessGroupProjectsRequest = { - /** - * The ID or name of the Access Group. - */ - idOrName: string; - /** - * Limit how many access group projects should be returned. - */ - limit?: number | undefined; - /** - * Continuation cursor to retrieve the next page of results. - */ - next?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export const ListAccessGroupProjectsRole = { - Admin: "ADMIN", - ProjectDeveloper: "PROJECT_DEVELOPER", - ProjectViewer: "PROJECT_VIEWER", -} as const; -export type ListAccessGroupProjectsRole = ClosedEnum< - typeof ListAccessGroupProjectsRole ->; - -export type ListAccessGroupProjectsProject = { - name?: string | undefined; - framework?: string | null | undefined; - latestDeploymentId?: string | undefined; -}; - -export type ListAccessGroupProjectsProjects = { - projectId: string; - role: ListAccessGroupProjectsRole; - createdAt: string; - updatedAt: string; - project: ListAccessGroupProjectsProject; -}; - -export type ListAccessGroupProjectsPagination = { - count: number; - next: string | null; -}; - -export type ListAccessGroupProjectsResponseBody = { - projects: Array; - pagination: ListAccessGroupProjectsPagination; -}; - -/** @internal */ -export const ListAccessGroupProjectsRequest$inboundSchema: z.ZodType< - ListAccessGroupProjectsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - limit: z.number().int().optional(), - next: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type ListAccessGroupProjectsRequest$Outbound = { - idOrName: string; - limit?: number | undefined; - next?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const ListAccessGroupProjectsRequest$outboundSchema: z.ZodType< - ListAccessGroupProjectsRequest$Outbound, - z.ZodTypeDef, - ListAccessGroupProjectsRequest -> = z.object({ - idOrName: z.string(), - limit: z.number().int().optional(), - next: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAccessGroupProjectsRequest$ { - /** @deprecated use `ListAccessGroupProjectsRequest$inboundSchema` instead. */ - export const inboundSchema = ListAccessGroupProjectsRequest$inboundSchema; - /** @deprecated use `ListAccessGroupProjectsRequest$outboundSchema` instead. */ - export const outboundSchema = ListAccessGroupProjectsRequest$outboundSchema; - /** @deprecated use `ListAccessGroupProjectsRequest$Outbound` instead. */ - export type Outbound = ListAccessGroupProjectsRequest$Outbound; -} - -export function listAccessGroupProjectsRequestToJSON( - listAccessGroupProjectsRequest: ListAccessGroupProjectsRequest, -): string { - return JSON.stringify( - ListAccessGroupProjectsRequest$outboundSchema.parse( - listAccessGroupProjectsRequest, - ), - ); -} - -export function listAccessGroupProjectsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAccessGroupProjectsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAccessGroupProjectsRequest' from JSON`, - ); -} - -/** @internal */ -export const ListAccessGroupProjectsRole$inboundSchema: z.ZodNativeEnum< - typeof ListAccessGroupProjectsRole -> = z.nativeEnum(ListAccessGroupProjectsRole); - -/** @internal */ -export const ListAccessGroupProjectsRole$outboundSchema: z.ZodNativeEnum< - typeof ListAccessGroupProjectsRole -> = ListAccessGroupProjectsRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAccessGroupProjectsRole$ { - /** @deprecated use `ListAccessGroupProjectsRole$inboundSchema` instead. */ - export const inboundSchema = ListAccessGroupProjectsRole$inboundSchema; - /** @deprecated use `ListAccessGroupProjectsRole$outboundSchema` instead. */ - export const outboundSchema = ListAccessGroupProjectsRole$outboundSchema; -} - -/** @internal */ -export const ListAccessGroupProjectsProject$inboundSchema: z.ZodType< - ListAccessGroupProjectsProject, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string().optional(), - framework: z.nullable(z.string()).optional(), - latestDeploymentId: z.string().optional(), -}); - -/** @internal */ -export type ListAccessGroupProjectsProject$Outbound = { - name?: string | undefined; - framework?: string | null | undefined; - latestDeploymentId?: string | undefined; -}; - -/** @internal */ -export const ListAccessGroupProjectsProject$outboundSchema: z.ZodType< - ListAccessGroupProjectsProject$Outbound, - z.ZodTypeDef, - ListAccessGroupProjectsProject -> = z.object({ - name: z.string().optional(), - framework: z.nullable(z.string()).optional(), - latestDeploymentId: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAccessGroupProjectsProject$ { - /** @deprecated use `ListAccessGroupProjectsProject$inboundSchema` instead. */ - export const inboundSchema = ListAccessGroupProjectsProject$inboundSchema; - /** @deprecated use `ListAccessGroupProjectsProject$outboundSchema` instead. */ - export const outboundSchema = ListAccessGroupProjectsProject$outboundSchema; - /** @deprecated use `ListAccessGroupProjectsProject$Outbound` instead. */ - export type Outbound = ListAccessGroupProjectsProject$Outbound; -} - -export function listAccessGroupProjectsProjectToJSON( - listAccessGroupProjectsProject: ListAccessGroupProjectsProject, -): string { - return JSON.stringify( - ListAccessGroupProjectsProject$outboundSchema.parse( - listAccessGroupProjectsProject, - ), - ); -} - -export function listAccessGroupProjectsProjectFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAccessGroupProjectsProject$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAccessGroupProjectsProject' from JSON`, - ); -} - -/** @internal */ -export const ListAccessGroupProjectsProjects$inboundSchema: z.ZodType< - ListAccessGroupProjectsProjects, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string(), - role: ListAccessGroupProjectsRole$inboundSchema, - createdAt: z.string(), - updatedAt: z.string(), - project: z.lazy(() => ListAccessGroupProjectsProject$inboundSchema), -}); - -/** @internal */ -export type ListAccessGroupProjectsProjects$Outbound = { - projectId: string; - role: string; - createdAt: string; - updatedAt: string; - project: ListAccessGroupProjectsProject$Outbound; -}; - -/** @internal */ -export const ListAccessGroupProjectsProjects$outboundSchema: z.ZodType< - ListAccessGroupProjectsProjects$Outbound, - z.ZodTypeDef, - ListAccessGroupProjectsProjects -> = z.object({ - projectId: z.string(), - role: ListAccessGroupProjectsRole$outboundSchema, - createdAt: z.string(), - updatedAt: z.string(), - project: z.lazy(() => ListAccessGroupProjectsProject$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAccessGroupProjectsProjects$ { - /** @deprecated use `ListAccessGroupProjectsProjects$inboundSchema` instead. */ - export const inboundSchema = ListAccessGroupProjectsProjects$inboundSchema; - /** @deprecated use `ListAccessGroupProjectsProjects$outboundSchema` instead. */ - export const outboundSchema = ListAccessGroupProjectsProjects$outboundSchema; - /** @deprecated use `ListAccessGroupProjectsProjects$Outbound` instead. */ - export type Outbound = ListAccessGroupProjectsProjects$Outbound; -} - -export function listAccessGroupProjectsProjectsToJSON( - listAccessGroupProjectsProjects: ListAccessGroupProjectsProjects, -): string { - return JSON.stringify( - ListAccessGroupProjectsProjects$outboundSchema.parse( - listAccessGroupProjectsProjects, - ), - ); -} - -export function listAccessGroupProjectsProjectsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAccessGroupProjectsProjects$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAccessGroupProjectsProjects' from JSON`, - ); -} - -/** @internal */ -export const ListAccessGroupProjectsPagination$inboundSchema: z.ZodType< - ListAccessGroupProjectsPagination, - z.ZodTypeDef, - unknown -> = z.object({ - count: z.number(), - next: z.nullable(z.string()), -}); - -/** @internal */ -export type ListAccessGroupProjectsPagination$Outbound = { - count: number; - next: string | null; -}; - -/** @internal */ -export const ListAccessGroupProjectsPagination$outboundSchema: z.ZodType< - ListAccessGroupProjectsPagination$Outbound, - z.ZodTypeDef, - ListAccessGroupProjectsPagination -> = z.object({ - count: z.number(), - next: z.nullable(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAccessGroupProjectsPagination$ { - /** @deprecated use `ListAccessGroupProjectsPagination$inboundSchema` instead. */ - export const inboundSchema = ListAccessGroupProjectsPagination$inboundSchema; - /** @deprecated use `ListAccessGroupProjectsPagination$outboundSchema` instead. */ - export const outboundSchema = - ListAccessGroupProjectsPagination$outboundSchema; - /** @deprecated use `ListAccessGroupProjectsPagination$Outbound` instead. */ - export type Outbound = ListAccessGroupProjectsPagination$Outbound; -} - -export function listAccessGroupProjectsPaginationToJSON( - listAccessGroupProjectsPagination: ListAccessGroupProjectsPagination, -): string { - return JSON.stringify( - ListAccessGroupProjectsPagination$outboundSchema.parse( - listAccessGroupProjectsPagination, - ), - ); -} - -export function listAccessGroupProjectsPaginationFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAccessGroupProjectsPagination$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAccessGroupProjectsPagination' from JSON`, - ); -} - -/** @internal */ -export const ListAccessGroupProjectsResponseBody$inboundSchema: z.ZodType< - ListAccessGroupProjectsResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - projects: z.array( - z.lazy(() => ListAccessGroupProjectsProjects$inboundSchema), - ), - pagination: z.lazy(() => ListAccessGroupProjectsPagination$inboundSchema), -}); - -/** @internal */ -export type ListAccessGroupProjectsResponseBody$Outbound = { - projects: Array; - pagination: ListAccessGroupProjectsPagination$Outbound; -}; - -/** @internal */ -export const ListAccessGroupProjectsResponseBody$outboundSchema: z.ZodType< - ListAccessGroupProjectsResponseBody$Outbound, - z.ZodTypeDef, - ListAccessGroupProjectsResponseBody -> = z.object({ - projects: z.array( - z.lazy(() => ListAccessGroupProjectsProjects$outboundSchema), - ), - pagination: z.lazy(() => ListAccessGroupProjectsPagination$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAccessGroupProjectsResponseBody$ { - /** @deprecated use `ListAccessGroupProjectsResponseBody$inboundSchema` instead. */ - export const inboundSchema = - ListAccessGroupProjectsResponseBody$inboundSchema; - /** @deprecated use `ListAccessGroupProjectsResponseBody$outboundSchema` instead. */ - export const outboundSchema = - ListAccessGroupProjectsResponseBody$outboundSchema; - /** @deprecated use `ListAccessGroupProjectsResponseBody$Outbound` instead. */ - export type Outbound = ListAccessGroupProjectsResponseBody$Outbound; -} - -export function listAccessGroupProjectsResponseBodyToJSON( - listAccessGroupProjectsResponseBody: ListAccessGroupProjectsResponseBody, -): string { - return JSON.stringify( - ListAccessGroupProjectsResponseBody$outboundSchema.parse( - listAccessGroupProjectsResponseBody, - ), - ); -} - -export function listAccessGroupProjectsResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - ListAccessGroupProjectsResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAccessGroupProjectsResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/listaccessgroups.ts b/src/models/operations/listaccessgroups.ts deleted file mode 100644 index 2460705a..00000000 --- a/src/models/operations/listaccessgroups.ts +++ /dev/null @@ -1,473 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type ListAccessGroupsRequest = { - /** - * Filter access groups by project. - */ - projectId?: string | undefined; - /** - * Search for access groups by name. - */ - search?: string | undefined; - /** - * Number of members to include in the response. - */ - membersLimit?: number | undefined; - /** - * Number of projects to include in the response. - */ - projectsLimit?: number | undefined; - /** - * Limit how many access group should be returned. - */ - limit?: number | undefined; - /** - * Continuation cursor to retrieve the next page of results. - */ - next?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export type AccessGroups = { - members?: Array | undefined; - projects?: Array | undefined; - entitlements?: Array | undefined; - isDsyncManaged: boolean; - /** - * The name of this access group. - */ - name: string; - /** - * Timestamp in milliseconds when the access group was created. - */ - createdAt: string; - /** - * ID of the team that this access group belongs to. - */ - teamId: string; - /** - * Timestamp in milliseconds when the access group was last updated. - */ - updatedAt: string; - /** - * ID of the access group. - */ - accessGroupId: string; - /** - * Number of members in the access group. - */ - membersCount: number; - /** - * Number of projects in the access group. - */ - projectsCount: number; -}; - -export type ResponseBodyPagination = { - count: number; - next: string | null; -}; - -export type ListAccessGroupsResponseBody2 = { - accessGroups: Array; - pagination: ResponseBodyPagination; -}; - -export type ListAccessGroupsResponseBody1 = {}; - -export type ListAccessGroupsResponseBody = - | ListAccessGroupsResponseBody1 - | ListAccessGroupsResponseBody2; - -/** @internal */ -export const ListAccessGroupsRequest$inboundSchema: z.ZodType< - ListAccessGroupsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string().optional(), - search: z.string().optional(), - membersLimit: z.number().int().optional(), - projectsLimit: z.number().int().optional(), - limit: z.number().int().optional(), - next: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type ListAccessGroupsRequest$Outbound = { - projectId?: string | undefined; - search?: string | undefined; - membersLimit?: number | undefined; - projectsLimit?: number | undefined; - limit?: number | undefined; - next?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const ListAccessGroupsRequest$outboundSchema: z.ZodType< - ListAccessGroupsRequest$Outbound, - z.ZodTypeDef, - ListAccessGroupsRequest -> = z.object({ - projectId: z.string().optional(), - search: z.string().optional(), - membersLimit: z.number().int().optional(), - projectsLimit: z.number().int().optional(), - limit: z.number().int().optional(), - next: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAccessGroupsRequest$ { - /** @deprecated use `ListAccessGroupsRequest$inboundSchema` instead. */ - export const inboundSchema = ListAccessGroupsRequest$inboundSchema; - /** @deprecated use `ListAccessGroupsRequest$outboundSchema` instead. */ - export const outboundSchema = ListAccessGroupsRequest$outboundSchema; - /** @deprecated use `ListAccessGroupsRequest$Outbound` instead. */ - export type Outbound = ListAccessGroupsRequest$Outbound; -} - -export function listAccessGroupsRequestToJSON( - listAccessGroupsRequest: ListAccessGroupsRequest, -): string { - return JSON.stringify( - ListAccessGroupsRequest$outboundSchema.parse(listAccessGroupsRequest), - ); -} - -export function listAccessGroupsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAccessGroupsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAccessGroupsRequest' from JSON`, - ); -} - -/** @internal */ -export const AccessGroups$inboundSchema: z.ZodType< - AccessGroups, - z.ZodTypeDef, - unknown -> = z.object({ - members: z.array(z.string()).optional(), - projects: z.array(z.string()).optional(), - entitlements: z.array(z.string()).optional(), - isDsyncManaged: z.boolean(), - name: z.string(), - createdAt: z.string(), - teamId: z.string(), - updatedAt: z.string(), - accessGroupId: z.string(), - membersCount: z.number(), - projectsCount: z.number(), -}); - -/** @internal */ -export type AccessGroups$Outbound = { - members?: Array | undefined; - projects?: Array | undefined; - entitlements?: Array | undefined; - isDsyncManaged: boolean; - name: string; - createdAt: string; - teamId: string; - updatedAt: string; - accessGroupId: string; - membersCount: number; - projectsCount: number; -}; - -/** @internal */ -export const AccessGroups$outboundSchema: z.ZodType< - AccessGroups$Outbound, - z.ZodTypeDef, - AccessGroups -> = z.object({ - members: z.array(z.string()).optional(), - projects: z.array(z.string()).optional(), - entitlements: z.array(z.string()).optional(), - isDsyncManaged: z.boolean(), - name: z.string(), - createdAt: z.string(), - teamId: z.string(), - updatedAt: z.string(), - accessGroupId: z.string(), - membersCount: z.number(), - projectsCount: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AccessGroups$ { - /** @deprecated use `AccessGroups$inboundSchema` instead. */ - export const inboundSchema = AccessGroups$inboundSchema; - /** @deprecated use `AccessGroups$outboundSchema` instead. */ - export const outboundSchema = AccessGroups$outboundSchema; - /** @deprecated use `AccessGroups$Outbound` instead. */ - export type Outbound = AccessGroups$Outbound; -} - -export function accessGroupsToJSON(accessGroups: AccessGroups): string { - return JSON.stringify(AccessGroups$outboundSchema.parse(accessGroups)); -} - -export function accessGroupsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AccessGroups$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AccessGroups' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyPagination$inboundSchema: z.ZodType< - ResponseBodyPagination, - z.ZodTypeDef, - unknown -> = z.object({ - count: z.number(), - next: z.nullable(z.string()), -}); - -/** @internal */ -export type ResponseBodyPagination$Outbound = { - count: number; - next: string | null; -}; - -/** @internal */ -export const ResponseBodyPagination$outboundSchema: z.ZodType< - ResponseBodyPagination$Outbound, - z.ZodTypeDef, - ResponseBodyPagination -> = z.object({ - count: z.number(), - next: z.nullable(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyPagination$ { - /** @deprecated use `ResponseBodyPagination$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyPagination$inboundSchema; - /** @deprecated use `ResponseBodyPagination$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyPagination$outboundSchema; - /** @deprecated use `ResponseBodyPagination$Outbound` instead. */ - export type Outbound = ResponseBodyPagination$Outbound; -} - -export function responseBodyPaginationToJSON( - responseBodyPagination: ResponseBodyPagination, -): string { - return JSON.stringify( - ResponseBodyPagination$outboundSchema.parse(responseBodyPagination), - ); -} - -export function responseBodyPaginationFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyPagination$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyPagination' from JSON`, - ); -} - -/** @internal */ -export const ListAccessGroupsResponseBody2$inboundSchema: z.ZodType< - ListAccessGroupsResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - accessGroups: z.array(z.lazy(() => AccessGroups$inboundSchema)), - pagination: z.lazy(() => ResponseBodyPagination$inboundSchema), -}); - -/** @internal */ -export type ListAccessGroupsResponseBody2$Outbound = { - accessGroups: Array; - pagination: ResponseBodyPagination$Outbound; -}; - -/** @internal */ -export const ListAccessGroupsResponseBody2$outboundSchema: z.ZodType< - ListAccessGroupsResponseBody2$Outbound, - z.ZodTypeDef, - ListAccessGroupsResponseBody2 -> = z.object({ - accessGroups: z.array(z.lazy(() => AccessGroups$outboundSchema)), - pagination: z.lazy(() => ResponseBodyPagination$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAccessGroupsResponseBody2$ { - /** @deprecated use `ListAccessGroupsResponseBody2$inboundSchema` instead. */ - export const inboundSchema = ListAccessGroupsResponseBody2$inboundSchema; - /** @deprecated use `ListAccessGroupsResponseBody2$outboundSchema` instead. */ - export const outboundSchema = ListAccessGroupsResponseBody2$outboundSchema; - /** @deprecated use `ListAccessGroupsResponseBody2$Outbound` instead. */ - export type Outbound = ListAccessGroupsResponseBody2$Outbound; -} - -export function listAccessGroupsResponseBody2ToJSON( - listAccessGroupsResponseBody2: ListAccessGroupsResponseBody2, -): string { - return JSON.stringify( - ListAccessGroupsResponseBody2$outboundSchema.parse( - listAccessGroupsResponseBody2, - ), - ); -} - -export function listAccessGroupsResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAccessGroupsResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAccessGroupsResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const ListAccessGroupsResponseBody1$inboundSchema: z.ZodType< - ListAccessGroupsResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type ListAccessGroupsResponseBody1$Outbound = {}; - -/** @internal */ -export const ListAccessGroupsResponseBody1$outboundSchema: z.ZodType< - ListAccessGroupsResponseBody1$Outbound, - z.ZodTypeDef, - ListAccessGroupsResponseBody1 -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAccessGroupsResponseBody1$ { - /** @deprecated use `ListAccessGroupsResponseBody1$inboundSchema` instead. */ - export const inboundSchema = ListAccessGroupsResponseBody1$inboundSchema; - /** @deprecated use `ListAccessGroupsResponseBody1$outboundSchema` instead. */ - export const outboundSchema = ListAccessGroupsResponseBody1$outboundSchema; - /** @deprecated use `ListAccessGroupsResponseBody1$Outbound` instead. */ - export type Outbound = ListAccessGroupsResponseBody1$Outbound; -} - -export function listAccessGroupsResponseBody1ToJSON( - listAccessGroupsResponseBody1: ListAccessGroupsResponseBody1, -): string { - return JSON.stringify( - ListAccessGroupsResponseBody1$outboundSchema.parse( - listAccessGroupsResponseBody1, - ), - ); -} - -export function listAccessGroupsResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAccessGroupsResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAccessGroupsResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const ListAccessGroupsResponseBody$inboundSchema: z.ZodType< - ListAccessGroupsResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => ListAccessGroupsResponseBody1$inboundSchema), - z.lazy(() => ListAccessGroupsResponseBody2$inboundSchema), -]); - -/** @internal */ -export type ListAccessGroupsResponseBody$Outbound = - | ListAccessGroupsResponseBody1$Outbound - | ListAccessGroupsResponseBody2$Outbound; - -/** @internal */ -export const ListAccessGroupsResponseBody$outboundSchema: z.ZodType< - ListAccessGroupsResponseBody$Outbound, - z.ZodTypeDef, - ListAccessGroupsResponseBody -> = z.union([ - z.lazy(() => ListAccessGroupsResponseBody1$outboundSchema), - z.lazy(() => ListAccessGroupsResponseBody2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAccessGroupsResponseBody$ { - /** @deprecated use `ListAccessGroupsResponseBody$inboundSchema` instead. */ - export const inboundSchema = ListAccessGroupsResponseBody$inboundSchema; - /** @deprecated use `ListAccessGroupsResponseBody$outboundSchema` instead. */ - export const outboundSchema = ListAccessGroupsResponseBody$outboundSchema; - /** @deprecated use `ListAccessGroupsResponseBody$Outbound` instead. */ - export type Outbound = ListAccessGroupsResponseBody$Outbound; -} - -export function listAccessGroupsResponseBodyToJSON( - listAccessGroupsResponseBody: ListAccessGroupsResponseBody, -): string { - return JSON.stringify( - ListAccessGroupsResponseBody$outboundSchema.parse( - listAccessGroupsResponseBody, - ), - ); -} - -export function listAccessGroupsResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAccessGroupsResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAccessGroupsResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/listaliases.ts b/src/models/operations/listaliases.ts deleted file mode 100644 index 04aab4f1..00000000 --- a/src/models/operations/listaliases.ts +++ /dev/null @@ -1,1077 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - Pagination, - Pagination$inboundSchema, - Pagination$Outbound, - Pagination$outboundSchema, -} from "../components/pagination.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Get only aliases of the given domain name - */ -export type Domain = Array | string; - -export type ListAliasesRequest = { - /** - * Get only aliases of the given domain name - */ - domain?: Array | string | undefined; - /** - * Get only aliases created after the provided timestamp - */ - from?: number | undefined; - /** - * Maximum number of aliases to list from a request - */ - limit?: number | undefined; - /** - * Filter aliases from the given `projectId` - */ - projectId?: string | undefined; - /** - * Get aliases created after this JavaScript timestamp - */ - since?: number | undefined; - /** - * Get aliases created before this JavaScript timestamp - */ - until?: number | undefined; - /** - * Get aliases that would be rolled back for the given deployment - */ - rollbackDeploymentId?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * Information of the user who created the alias - */ -export type ListAliasesCreator = { - /** - * ID of the user who created the alias - */ - uid: string; - /** - * Email of the user who created the alias - */ - email: string; - /** - * Username of the user who created the alias - */ - username: string; -}; - -/** - * A map with the deployment ID, URL and metadata - */ -export type ListAliasesDeployment = { - /** - * The deployment unique identifier - */ - id: string; - /** - * The deployment unique URL - */ - url: string; - /** - * The deployment metadata - */ - meta?: string | undefined; -}; - -export const ListAliasesProtectionBypassAliasesResponseScope = { - EmailInvite: "email_invite", -} as const; -export type ListAliasesProtectionBypassAliasesResponseScope = ClosedEnum< - typeof ListAliasesProtectionBypassAliasesResponseScope ->; - -/** - * The protection bypass for the alias - */ -export type ListAliasesProtectionBypass4 = { - createdAt: number; - lastUpdatedAt: number; - lastUpdatedBy: string; - scope: ListAliasesProtectionBypassAliasesResponseScope; -}; - -export const ListAliasesProtectionBypassAliasesScope = { - AliasProtectionOverride: "alias-protection-override", -} as const; -export type ListAliasesProtectionBypassAliasesScope = ClosedEnum< - typeof ListAliasesProtectionBypassAliasesScope ->; - -/** - * The protection bypass for the alias - */ -export type ListAliasesProtectionBypass3 = { - createdAt: number; - createdBy: string; - scope: ListAliasesProtectionBypassAliasesScope; -}; - -export const ProtectionBypassAccess = { - Requested: "requested", - Granted: "granted", -} as const; -export type ProtectionBypassAccess = ClosedEnum; - -export const ListAliasesProtectionBypassScope = { - User: "user", -} as const; -export type ListAliasesProtectionBypassScope = ClosedEnum< - typeof ListAliasesProtectionBypassScope ->; - -/** - * The protection bypass for the alias - */ -export type ListAliasesProtectionBypass2 = { - createdAt: number; - lastUpdatedAt: number; - lastUpdatedBy: string; - access: ProtectionBypassAccess; - scope: ListAliasesProtectionBypassScope; -}; - -export const ListAliasesProtectionBypassAliasesResponse200Scope = { - ShareableLink: "shareable-link", -} as const; -export type ListAliasesProtectionBypassAliasesResponse200Scope = ClosedEnum< - typeof ListAliasesProtectionBypassAliasesResponse200Scope ->; - -/** - * The protection bypass for the alias - */ -export type ListAliasesProtectionBypass1 = { - createdAt: number; - createdBy: string; - scope: ListAliasesProtectionBypassAliasesResponse200Scope; -}; - -export type ListAliasesProtectionBypass = - | ListAliasesProtectionBypass1 - | ListAliasesProtectionBypass3 - | ListAliasesProtectionBypass4 - | ListAliasesProtectionBypass2; - -export type Aliases = { - /** - * The alias name, it could be a `.vercel.app` subdomain or a custom domain - */ - alias: string; - /** - * The date when the alias was created - */ - created: Date; - /** - * The date when the alias was created in milliseconds since the UNIX epoch - */ - createdAt?: number | undefined; - /** - * Information of the user who created the alias - */ - creator?: ListAliasesCreator | undefined; - /** - * The date when the alias was deleted in milliseconds since the UNIX epoch - */ - deletedAt?: number | null | undefined; - /** - * A map with the deployment ID, URL and metadata - */ - deployment?: ListAliasesDeployment | undefined; - /** - * The deployment ID - */ - deploymentId: string | null; - /** - * The unique identifier of the project - */ - projectId: string | null; - /** - * Target destination domain for redirect when the alias is a redirect - */ - redirect?: string | null | undefined; - /** - * Status code to be used on redirect - */ - redirectStatusCode?: number | null | undefined; - /** - * The unique identifier of the alias - */ - uid: string; - /** - * The date when the alias was updated in milliseconds since the UNIX epoch - */ - updatedAt?: number | undefined; - /** - * The protection bypass for the alias - */ - protectionBypass?: { - [k: string]: - | ListAliasesProtectionBypass1 - | ListAliasesProtectionBypass3 - | ListAliasesProtectionBypass4 - | ListAliasesProtectionBypass2; - } | undefined; -}; - -/** - * The paginated list of aliases - */ -export type ListAliasesResponseBody = { - aliases: Array; - /** - * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. - */ - pagination: Pagination; -}; - -/** @internal */ -export const Domain$inboundSchema: z.ZodType = z - .union([z.array(z.string()), z.string()]); - -/** @internal */ -export type Domain$Outbound = Array | string; - -/** @internal */ -export const Domain$outboundSchema: z.ZodType< - Domain$Outbound, - z.ZodTypeDef, - Domain -> = z.union([z.array(z.string()), z.string()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Domain$ { - /** @deprecated use `Domain$inboundSchema` instead. */ - export const inboundSchema = Domain$inboundSchema; - /** @deprecated use `Domain$outboundSchema` instead. */ - export const outboundSchema = Domain$outboundSchema; - /** @deprecated use `Domain$Outbound` instead. */ - export type Outbound = Domain$Outbound; -} - -export function domainToJSON(domain: Domain): string { - return JSON.stringify(Domain$outboundSchema.parse(domain)); -} - -export function domainFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Domain$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Domain' from JSON`, - ); -} - -/** @internal */ -export const ListAliasesRequest$inboundSchema: z.ZodType< - ListAliasesRequest, - z.ZodTypeDef, - unknown -> = z.object({ - domain: z.union([z.array(z.string()), z.string()]).optional(), - from: z.number().optional(), - limit: z.number().optional(), - projectId: z.string().optional(), - since: z.number().optional(), - until: z.number().optional(), - rollbackDeploymentId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type ListAliasesRequest$Outbound = { - domain?: Array | string | undefined; - from?: number | undefined; - limit?: number | undefined; - projectId?: string | undefined; - since?: number | undefined; - until?: number | undefined; - rollbackDeploymentId?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const ListAliasesRequest$outboundSchema: z.ZodType< - ListAliasesRequest$Outbound, - z.ZodTypeDef, - ListAliasesRequest -> = z.object({ - domain: z.union([z.array(z.string()), z.string()]).optional(), - from: z.number().optional(), - limit: z.number().optional(), - projectId: z.string().optional(), - since: z.number().optional(), - until: z.number().optional(), - rollbackDeploymentId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesRequest$ { - /** @deprecated use `ListAliasesRequest$inboundSchema` instead. */ - export const inboundSchema = ListAliasesRequest$inboundSchema; - /** @deprecated use `ListAliasesRequest$outboundSchema` instead. */ - export const outboundSchema = ListAliasesRequest$outboundSchema; - /** @deprecated use `ListAliasesRequest$Outbound` instead. */ - export type Outbound = ListAliasesRequest$Outbound; -} - -export function listAliasesRequestToJSON( - listAliasesRequest: ListAliasesRequest, -): string { - return JSON.stringify( - ListAliasesRequest$outboundSchema.parse(listAliasesRequest), - ); -} - -export function listAliasesRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAliasesRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAliasesRequest' from JSON`, - ); -} - -/** @internal */ -export const ListAliasesCreator$inboundSchema: z.ZodType< - ListAliasesCreator, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - email: z.string(), - username: z.string(), -}); - -/** @internal */ -export type ListAliasesCreator$Outbound = { - uid: string; - email: string; - username: string; -}; - -/** @internal */ -export const ListAliasesCreator$outboundSchema: z.ZodType< - ListAliasesCreator$Outbound, - z.ZodTypeDef, - ListAliasesCreator -> = z.object({ - uid: z.string(), - email: z.string(), - username: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesCreator$ { - /** @deprecated use `ListAliasesCreator$inboundSchema` instead. */ - export const inboundSchema = ListAliasesCreator$inboundSchema; - /** @deprecated use `ListAliasesCreator$outboundSchema` instead. */ - export const outboundSchema = ListAliasesCreator$outboundSchema; - /** @deprecated use `ListAliasesCreator$Outbound` instead. */ - export type Outbound = ListAliasesCreator$Outbound; -} - -export function listAliasesCreatorToJSON( - listAliasesCreator: ListAliasesCreator, -): string { - return JSON.stringify( - ListAliasesCreator$outboundSchema.parse(listAliasesCreator), - ); -} - -export function listAliasesCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAliasesCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAliasesCreator' from JSON`, - ); -} - -/** @internal */ -export const ListAliasesDeployment$inboundSchema: z.ZodType< - ListAliasesDeployment, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - url: z.string(), - meta: z.string().optional(), -}); - -/** @internal */ -export type ListAliasesDeployment$Outbound = { - id: string; - url: string; - meta?: string | undefined; -}; - -/** @internal */ -export const ListAliasesDeployment$outboundSchema: z.ZodType< - ListAliasesDeployment$Outbound, - z.ZodTypeDef, - ListAliasesDeployment -> = z.object({ - id: z.string(), - url: z.string(), - meta: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesDeployment$ { - /** @deprecated use `ListAliasesDeployment$inboundSchema` instead. */ - export const inboundSchema = ListAliasesDeployment$inboundSchema; - /** @deprecated use `ListAliasesDeployment$outboundSchema` instead. */ - export const outboundSchema = ListAliasesDeployment$outboundSchema; - /** @deprecated use `ListAliasesDeployment$Outbound` instead. */ - export type Outbound = ListAliasesDeployment$Outbound; -} - -export function listAliasesDeploymentToJSON( - listAliasesDeployment: ListAliasesDeployment, -): string { - return JSON.stringify( - ListAliasesDeployment$outboundSchema.parse(listAliasesDeployment), - ); -} - -export function listAliasesDeploymentFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAliasesDeployment$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAliasesDeployment' from JSON`, - ); -} - -/** @internal */ -export const ListAliasesProtectionBypassAliasesResponseScope$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListAliasesProtectionBypassAliasesResponseScope); - -/** @internal */ -export const ListAliasesProtectionBypassAliasesResponseScope$outboundSchema: - z.ZodNativeEnum = - ListAliasesProtectionBypassAliasesResponseScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesProtectionBypassAliasesResponseScope$ { - /** @deprecated use `ListAliasesProtectionBypassAliasesResponseScope$inboundSchema` instead. */ - export const inboundSchema = - ListAliasesProtectionBypassAliasesResponseScope$inboundSchema; - /** @deprecated use `ListAliasesProtectionBypassAliasesResponseScope$outboundSchema` instead. */ - export const outboundSchema = - ListAliasesProtectionBypassAliasesResponseScope$outboundSchema; -} - -/** @internal */ -export const ListAliasesProtectionBypass4$inboundSchema: z.ZodType< - ListAliasesProtectionBypass4, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number(), - lastUpdatedAt: z.number(), - lastUpdatedBy: z.string(), - scope: ListAliasesProtectionBypassAliasesResponseScope$inboundSchema, -}); - -/** @internal */ -export type ListAliasesProtectionBypass4$Outbound = { - createdAt: number; - lastUpdatedAt: number; - lastUpdatedBy: string; - scope: string; -}; - -/** @internal */ -export const ListAliasesProtectionBypass4$outboundSchema: z.ZodType< - ListAliasesProtectionBypass4$Outbound, - z.ZodTypeDef, - ListAliasesProtectionBypass4 -> = z.object({ - createdAt: z.number(), - lastUpdatedAt: z.number(), - lastUpdatedBy: z.string(), - scope: ListAliasesProtectionBypassAliasesResponseScope$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesProtectionBypass4$ { - /** @deprecated use `ListAliasesProtectionBypass4$inboundSchema` instead. */ - export const inboundSchema = ListAliasesProtectionBypass4$inboundSchema; - /** @deprecated use `ListAliasesProtectionBypass4$outboundSchema` instead. */ - export const outboundSchema = ListAliasesProtectionBypass4$outboundSchema; - /** @deprecated use `ListAliasesProtectionBypass4$Outbound` instead. */ - export type Outbound = ListAliasesProtectionBypass4$Outbound; -} - -export function listAliasesProtectionBypass4ToJSON( - listAliasesProtectionBypass4: ListAliasesProtectionBypass4, -): string { - return JSON.stringify( - ListAliasesProtectionBypass4$outboundSchema.parse( - listAliasesProtectionBypass4, - ), - ); -} - -export function listAliasesProtectionBypass4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAliasesProtectionBypass4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAliasesProtectionBypass4' from JSON`, - ); -} - -/** @internal */ -export const ListAliasesProtectionBypassAliasesScope$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListAliasesProtectionBypassAliasesScope); - -/** @internal */ -export const ListAliasesProtectionBypassAliasesScope$outboundSchema: - z.ZodNativeEnum = - ListAliasesProtectionBypassAliasesScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesProtectionBypassAliasesScope$ { - /** @deprecated use `ListAliasesProtectionBypassAliasesScope$inboundSchema` instead. */ - export const inboundSchema = - ListAliasesProtectionBypassAliasesScope$inboundSchema; - /** @deprecated use `ListAliasesProtectionBypassAliasesScope$outboundSchema` instead. */ - export const outboundSchema = - ListAliasesProtectionBypassAliasesScope$outboundSchema; -} - -/** @internal */ -export const ListAliasesProtectionBypass3$inboundSchema: z.ZodType< - ListAliasesProtectionBypass3, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: ListAliasesProtectionBypassAliasesScope$inboundSchema, -}); - -/** @internal */ -export type ListAliasesProtectionBypass3$Outbound = { - createdAt: number; - createdBy: string; - scope: string; -}; - -/** @internal */ -export const ListAliasesProtectionBypass3$outboundSchema: z.ZodType< - ListAliasesProtectionBypass3$Outbound, - z.ZodTypeDef, - ListAliasesProtectionBypass3 -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: ListAliasesProtectionBypassAliasesScope$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesProtectionBypass3$ { - /** @deprecated use `ListAliasesProtectionBypass3$inboundSchema` instead. */ - export const inboundSchema = ListAliasesProtectionBypass3$inboundSchema; - /** @deprecated use `ListAliasesProtectionBypass3$outboundSchema` instead. */ - export const outboundSchema = ListAliasesProtectionBypass3$outboundSchema; - /** @deprecated use `ListAliasesProtectionBypass3$Outbound` instead. */ - export type Outbound = ListAliasesProtectionBypass3$Outbound; -} - -export function listAliasesProtectionBypass3ToJSON( - listAliasesProtectionBypass3: ListAliasesProtectionBypass3, -): string { - return JSON.stringify( - ListAliasesProtectionBypass3$outboundSchema.parse( - listAliasesProtectionBypass3, - ), - ); -} - -export function listAliasesProtectionBypass3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAliasesProtectionBypass3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAliasesProtectionBypass3' from JSON`, - ); -} - -/** @internal */ -export const ProtectionBypassAccess$inboundSchema: z.ZodNativeEnum< - typeof ProtectionBypassAccess -> = z.nativeEnum(ProtectionBypassAccess); - -/** @internal */ -export const ProtectionBypassAccess$outboundSchema: z.ZodNativeEnum< - typeof ProtectionBypassAccess -> = ProtectionBypassAccess$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ProtectionBypassAccess$ { - /** @deprecated use `ProtectionBypassAccess$inboundSchema` instead. */ - export const inboundSchema = ProtectionBypassAccess$inboundSchema; - /** @deprecated use `ProtectionBypassAccess$outboundSchema` instead. */ - export const outboundSchema = ProtectionBypassAccess$outboundSchema; -} - -/** @internal */ -export const ListAliasesProtectionBypassScope$inboundSchema: z.ZodNativeEnum< - typeof ListAliasesProtectionBypassScope -> = z.nativeEnum(ListAliasesProtectionBypassScope); - -/** @internal */ -export const ListAliasesProtectionBypassScope$outboundSchema: z.ZodNativeEnum< - typeof ListAliasesProtectionBypassScope -> = ListAliasesProtectionBypassScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesProtectionBypassScope$ { - /** @deprecated use `ListAliasesProtectionBypassScope$inboundSchema` instead. */ - export const inboundSchema = ListAliasesProtectionBypassScope$inboundSchema; - /** @deprecated use `ListAliasesProtectionBypassScope$outboundSchema` instead. */ - export const outboundSchema = ListAliasesProtectionBypassScope$outboundSchema; -} - -/** @internal */ -export const ListAliasesProtectionBypass2$inboundSchema: z.ZodType< - ListAliasesProtectionBypass2, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number(), - lastUpdatedAt: z.number(), - lastUpdatedBy: z.string(), - access: ProtectionBypassAccess$inboundSchema, - scope: ListAliasesProtectionBypassScope$inboundSchema, -}); - -/** @internal */ -export type ListAliasesProtectionBypass2$Outbound = { - createdAt: number; - lastUpdatedAt: number; - lastUpdatedBy: string; - access: string; - scope: string; -}; - -/** @internal */ -export const ListAliasesProtectionBypass2$outboundSchema: z.ZodType< - ListAliasesProtectionBypass2$Outbound, - z.ZodTypeDef, - ListAliasesProtectionBypass2 -> = z.object({ - createdAt: z.number(), - lastUpdatedAt: z.number(), - lastUpdatedBy: z.string(), - access: ProtectionBypassAccess$outboundSchema, - scope: ListAliasesProtectionBypassScope$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesProtectionBypass2$ { - /** @deprecated use `ListAliasesProtectionBypass2$inboundSchema` instead. */ - export const inboundSchema = ListAliasesProtectionBypass2$inboundSchema; - /** @deprecated use `ListAliasesProtectionBypass2$outboundSchema` instead. */ - export const outboundSchema = ListAliasesProtectionBypass2$outboundSchema; - /** @deprecated use `ListAliasesProtectionBypass2$Outbound` instead. */ - export type Outbound = ListAliasesProtectionBypass2$Outbound; -} - -export function listAliasesProtectionBypass2ToJSON( - listAliasesProtectionBypass2: ListAliasesProtectionBypass2, -): string { - return JSON.stringify( - ListAliasesProtectionBypass2$outboundSchema.parse( - listAliasesProtectionBypass2, - ), - ); -} - -export function listAliasesProtectionBypass2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAliasesProtectionBypass2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAliasesProtectionBypass2' from JSON`, - ); -} - -/** @internal */ -export const ListAliasesProtectionBypassAliasesResponse200Scope$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListAliasesProtectionBypassAliasesResponse200Scope); - -/** @internal */ -export const ListAliasesProtectionBypassAliasesResponse200Scope$outboundSchema: - z.ZodNativeEnum = - ListAliasesProtectionBypassAliasesResponse200Scope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesProtectionBypassAliasesResponse200Scope$ { - /** @deprecated use `ListAliasesProtectionBypassAliasesResponse200Scope$inboundSchema` instead. */ - export const inboundSchema = - ListAliasesProtectionBypassAliasesResponse200Scope$inboundSchema; - /** @deprecated use `ListAliasesProtectionBypassAliasesResponse200Scope$outboundSchema` instead. */ - export const outboundSchema = - ListAliasesProtectionBypassAliasesResponse200Scope$outboundSchema; -} - -/** @internal */ -export const ListAliasesProtectionBypass1$inboundSchema: z.ZodType< - ListAliasesProtectionBypass1, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: ListAliasesProtectionBypassAliasesResponse200Scope$inboundSchema, -}); - -/** @internal */ -export type ListAliasesProtectionBypass1$Outbound = { - createdAt: number; - createdBy: string; - scope: string; -}; - -/** @internal */ -export const ListAliasesProtectionBypass1$outboundSchema: z.ZodType< - ListAliasesProtectionBypass1$Outbound, - z.ZodTypeDef, - ListAliasesProtectionBypass1 -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: ListAliasesProtectionBypassAliasesResponse200Scope$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesProtectionBypass1$ { - /** @deprecated use `ListAliasesProtectionBypass1$inboundSchema` instead. */ - export const inboundSchema = ListAliasesProtectionBypass1$inboundSchema; - /** @deprecated use `ListAliasesProtectionBypass1$outboundSchema` instead. */ - export const outboundSchema = ListAliasesProtectionBypass1$outboundSchema; - /** @deprecated use `ListAliasesProtectionBypass1$Outbound` instead. */ - export type Outbound = ListAliasesProtectionBypass1$Outbound; -} - -export function listAliasesProtectionBypass1ToJSON( - listAliasesProtectionBypass1: ListAliasesProtectionBypass1, -): string { - return JSON.stringify( - ListAliasesProtectionBypass1$outboundSchema.parse( - listAliasesProtectionBypass1, - ), - ); -} - -export function listAliasesProtectionBypass1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAliasesProtectionBypass1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAliasesProtectionBypass1' from JSON`, - ); -} - -/** @internal */ -export const ListAliasesProtectionBypass$inboundSchema: z.ZodType< - ListAliasesProtectionBypass, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => ListAliasesProtectionBypass1$inboundSchema), - z.lazy(() => ListAliasesProtectionBypass3$inboundSchema), - z.lazy(() => ListAliasesProtectionBypass4$inboundSchema), - z.lazy(() => ListAliasesProtectionBypass2$inboundSchema), -]); - -/** @internal */ -export type ListAliasesProtectionBypass$Outbound = - | ListAliasesProtectionBypass1$Outbound - | ListAliasesProtectionBypass3$Outbound - | ListAliasesProtectionBypass4$Outbound - | ListAliasesProtectionBypass2$Outbound; - -/** @internal */ -export const ListAliasesProtectionBypass$outboundSchema: z.ZodType< - ListAliasesProtectionBypass$Outbound, - z.ZodTypeDef, - ListAliasesProtectionBypass -> = z.union([ - z.lazy(() => ListAliasesProtectionBypass1$outboundSchema), - z.lazy(() => ListAliasesProtectionBypass3$outboundSchema), - z.lazy(() => ListAliasesProtectionBypass4$outboundSchema), - z.lazy(() => ListAliasesProtectionBypass2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesProtectionBypass$ { - /** @deprecated use `ListAliasesProtectionBypass$inboundSchema` instead. */ - export const inboundSchema = ListAliasesProtectionBypass$inboundSchema; - /** @deprecated use `ListAliasesProtectionBypass$outboundSchema` instead. */ - export const outboundSchema = ListAliasesProtectionBypass$outboundSchema; - /** @deprecated use `ListAliasesProtectionBypass$Outbound` instead. */ - export type Outbound = ListAliasesProtectionBypass$Outbound; -} - -export function listAliasesProtectionBypassToJSON( - listAliasesProtectionBypass: ListAliasesProtectionBypass, -): string { - return JSON.stringify( - ListAliasesProtectionBypass$outboundSchema.parse( - listAliasesProtectionBypass, - ), - ); -} - -export function listAliasesProtectionBypassFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAliasesProtectionBypass$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAliasesProtectionBypass' from JSON`, - ); -} - -/** @internal */ -export const Aliases$inboundSchema: z.ZodType = - z.object({ - alias: z.string(), - created: z.string().datetime({ offset: true }).transform(v => new Date(v)), - createdAt: z.number().optional(), - creator: z.lazy(() => ListAliasesCreator$inboundSchema).optional(), - deletedAt: z.nullable(z.number()).optional(), - deployment: z.lazy(() => ListAliasesDeployment$inboundSchema).optional(), - deploymentId: z.nullable(z.string()), - projectId: z.nullable(z.string()), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(z.number()).optional(), - uid: z.string(), - updatedAt: z.number().optional(), - protectionBypass: z.record( - z.union([ - z.lazy(() => ListAliasesProtectionBypass1$inboundSchema), - z.lazy(() => ListAliasesProtectionBypass3$inboundSchema), - z.lazy(() => ListAliasesProtectionBypass4$inboundSchema), - z.lazy(() => ListAliasesProtectionBypass2$inboundSchema), - ]), - ).optional(), - }); - -/** @internal */ -export type Aliases$Outbound = { - alias: string; - created: string; - createdAt?: number | undefined; - creator?: ListAliasesCreator$Outbound | undefined; - deletedAt?: number | null | undefined; - deployment?: ListAliasesDeployment$Outbound | undefined; - deploymentId: string | null; - projectId: string | null; - redirect?: string | null | undefined; - redirectStatusCode?: number | null | undefined; - uid: string; - updatedAt?: number | undefined; - protectionBypass?: { - [k: string]: - | ListAliasesProtectionBypass1$Outbound - | ListAliasesProtectionBypass3$Outbound - | ListAliasesProtectionBypass4$Outbound - | ListAliasesProtectionBypass2$Outbound; - } | undefined; -}; - -/** @internal */ -export const Aliases$outboundSchema: z.ZodType< - Aliases$Outbound, - z.ZodTypeDef, - Aliases -> = z.object({ - alias: z.string(), - created: z.date().transform(v => v.toISOString()), - createdAt: z.number().optional(), - creator: z.lazy(() => ListAliasesCreator$outboundSchema).optional(), - deletedAt: z.nullable(z.number()).optional(), - deployment: z.lazy(() => ListAliasesDeployment$outboundSchema).optional(), - deploymentId: z.nullable(z.string()), - projectId: z.nullable(z.string()), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(z.number()).optional(), - uid: z.string(), - updatedAt: z.number().optional(), - protectionBypass: z.record( - z.union([ - z.lazy(() => ListAliasesProtectionBypass1$outboundSchema), - z.lazy(() => ListAliasesProtectionBypass3$outboundSchema), - z.lazy(() => ListAliasesProtectionBypass4$outboundSchema), - z.lazy(() => ListAliasesProtectionBypass2$outboundSchema), - ]), - ).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Aliases$ { - /** @deprecated use `Aliases$inboundSchema` instead. */ - export const inboundSchema = Aliases$inboundSchema; - /** @deprecated use `Aliases$outboundSchema` instead. */ - export const outboundSchema = Aliases$outboundSchema; - /** @deprecated use `Aliases$Outbound` instead. */ - export type Outbound = Aliases$Outbound; -} - -export function aliasesToJSON(aliases: Aliases): string { - return JSON.stringify(Aliases$outboundSchema.parse(aliases)); -} - -export function aliasesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Aliases$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Aliases' from JSON`, - ); -} - -/** @internal */ -export const ListAliasesResponseBody$inboundSchema: z.ZodType< - ListAliasesResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - aliases: z.array(z.lazy(() => Aliases$inboundSchema)), - pagination: Pagination$inboundSchema, -}); - -/** @internal */ -export type ListAliasesResponseBody$Outbound = { - aliases: Array; - pagination: Pagination$Outbound; -}; - -/** @internal */ -export const ListAliasesResponseBody$outboundSchema: z.ZodType< - ListAliasesResponseBody$Outbound, - z.ZodTypeDef, - ListAliasesResponseBody -> = z.object({ - aliases: z.array(z.lazy(() => Aliases$outboundSchema)), - pagination: Pagination$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesResponseBody$ { - /** @deprecated use `ListAliasesResponseBody$inboundSchema` instead. */ - export const inboundSchema = ListAliasesResponseBody$inboundSchema; - /** @deprecated use `ListAliasesResponseBody$outboundSchema` instead. */ - export const outboundSchema = ListAliasesResponseBody$outboundSchema; - /** @deprecated use `ListAliasesResponseBody$Outbound` instead. */ - export type Outbound = ListAliasesResponseBody$Outbound; -} - -export function listAliasesResponseBodyToJSON( - listAliasesResponseBody: ListAliasesResponseBody, -): string { - return JSON.stringify( - ListAliasesResponseBody$outboundSchema.parse(listAliasesResponseBody), - ); -} - -export function listAliasesResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAliasesResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAliasesResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/listauthtokens.ts b/src/models/operations/listauthtokens.ts deleted file mode 100644 index 284a14d0..00000000 --- a/src/models/operations/listauthtokens.ts +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - AuthToken, - AuthToken$inboundSchema, - AuthToken$Outbound, - AuthToken$outboundSchema, -} from "../components/authtoken.js"; -import { - Pagination, - Pagination$inboundSchema, - Pagination$Outbound, - Pagination$outboundSchema, -} from "../components/pagination.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type ListAuthTokensResponseBody = { - tokens: Array; - /** - * Authentication token metadata. - */ - testingToken?: AuthToken | undefined; - /** - * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. - */ - pagination: Pagination; -}; - -/** @internal */ -export const ListAuthTokensResponseBody$inboundSchema: z.ZodType< - ListAuthTokensResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - tokens: z.array(AuthToken$inboundSchema), - testingToken: AuthToken$inboundSchema.optional(), - pagination: Pagination$inboundSchema, -}); - -/** @internal */ -export type ListAuthTokensResponseBody$Outbound = { - tokens: Array; - testingToken?: AuthToken$Outbound | undefined; - pagination: Pagination$Outbound; -}; - -/** @internal */ -export const ListAuthTokensResponseBody$outboundSchema: z.ZodType< - ListAuthTokensResponseBody$Outbound, - z.ZodTypeDef, - ListAuthTokensResponseBody -> = z.object({ - tokens: z.array(AuthToken$outboundSchema), - testingToken: AuthToken$outboundSchema.optional(), - pagination: Pagination$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAuthTokensResponseBody$ { - /** @deprecated use `ListAuthTokensResponseBody$inboundSchema` instead. */ - export const inboundSchema = ListAuthTokensResponseBody$inboundSchema; - /** @deprecated use `ListAuthTokensResponseBody$outboundSchema` instead. */ - export const outboundSchema = ListAuthTokensResponseBody$outboundSchema; - /** @deprecated use `ListAuthTokensResponseBody$Outbound` instead. */ - export type Outbound = ListAuthTokensResponseBody$Outbound; -} - -export function listAuthTokensResponseBodyToJSON( - listAuthTokensResponseBody: ListAuthTokensResponseBody, -): string { - return JSON.stringify( - ListAuthTokensResponseBody$outboundSchema.parse(listAuthTokensResponseBody), - ); -} - -export function listAuthTokensResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListAuthTokensResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListAuthTokensResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/listdeploymentaliases.ts b/src/models/operations/listdeploymentaliases.ts deleted file mode 100644 index f1494970..00000000 --- a/src/models/operations/listdeploymentaliases.ts +++ /dev/null @@ -1,820 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type ListDeploymentAliasesRequest = { - /** - * The ID of the deployment the aliases should be listed for - */ - id: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope = { - EmailInvite: "email_invite", -} as const; -export type ListDeploymentAliasesProtectionBypassAliasesResponse200Scope = - ClosedEnum< - typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope - >; - -/** - * The protection bypass for the alias - */ -export type ListDeploymentAliasesProtectionBypass4 = { - createdAt: number; - lastUpdatedAt: number; - lastUpdatedBy: string; - scope: ListDeploymentAliasesProtectionBypassAliasesResponse200Scope; -}; - -export const ListDeploymentAliasesProtectionBypassAliasesResponseScope = { - AliasProtectionOverride: "alias-protection-override", -} as const; -export type ListDeploymentAliasesProtectionBypassAliasesResponseScope = - ClosedEnum; - -/** - * The protection bypass for the alias - */ -export type ListDeploymentAliasesProtectionBypass3 = { - createdAt: number; - createdBy: string; - scope: ListDeploymentAliasesProtectionBypassAliasesResponseScope; -}; - -export const ListDeploymentAliasesProtectionBypassAccess = { - Requested: "requested", - Granted: "granted", -} as const; -export type ListDeploymentAliasesProtectionBypassAccess = ClosedEnum< - typeof ListDeploymentAliasesProtectionBypassAccess ->; - -export const ListDeploymentAliasesProtectionBypassAliasesScope = { - User: "user", -} as const; -export type ListDeploymentAliasesProtectionBypassAliasesScope = ClosedEnum< - typeof ListDeploymentAliasesProtectionBypassAliasesScope ->; - -/** - * The protection bypass for the alias - */ -export type ListDeploymentAliasesProtectionBypass2 = { - createdAt: number; - lastUpdatedAt: number; - lastUpdatedBy: string; - access: ListDeploymentAliasesProtectionBypassAccess; - scope: ListDeploymentAliasesProtectionBypassAliasesScope; -}; - -export const ListDeploymentAliasesProtectionBypassScope = { - ShareableLink: "shareable-link", -} as const; -export type ListDeploymentAliasesProtectionBypassScope = ClosedEnum< - typeof ListDeploymentAliasesProtectionBypassScope ->; - -/** - * The protection bypass for the alias - */ -export type ListDeploymentAliasesProtectionBypass1 = { - createdAt: number; - createdBy: string; - scope: ListDeploymentAliasesProtectionBypassScope; -}; - -export type ListDeploymentAliasesProtectionBypass = - | ListDeploymentAliasesProtectionBypass1 - | ListDeploymentAliasesProtectionBypass3 - | ListDeploymentAliasesProtectionBypass4 - | ListDeploymentAliasesProtectionBypass2; - -/** - * A list of the aliases assigned to the deployment - */ -export type ListDeploymentAliasesAliases = { - /** - * The unique identifier of the alias - */ - uid: string; - /** - * The alias name, it could be a `.vercel.app` subdomain or a custom domain - */ - alias: string; - /** - * The date when the alias was created - */ - created: Date; - /** - * Target destination domain for redirect when the alias is a redirect - */ - redirect?: string | null | undefined; - /** - * The protection bypass for the alias - */ - protectionBypass?: { - [k: string]: - | ListDeploymentAliasesProtectionBypass1 - | ListDeploymentAliasesProtectionBypass3 - | ListDeploymentAliasesProtectionBypass4 - | ListDeploymentAliasesProtectionBypass2; - } | undefined; -}; - -/** - * The list of aliases assigned to the deployment - */ -export type ListDeploymentAliasesResponseBody = { - /** - * A list of the aliases assigned to the deployment - */ - aliases: Array; -}; - -/** @internal */ -export const ListDeploymentAliasesRequest$inboundSchema: z.ZodType< - ListDeploymentAliasesRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type ListDeploymentAliasesRequest$Outbound = { - id: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const ListDeploymentAliasesRequest$outboundSchema: z.ZodType< - ListDeploymentAliasesRequest$Outbound, - z.ZodTypeDef, - ListDeploymentAliasesRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListDeploymentAliasesRequest$ { - /** @deprecated use `ListDeploymentAliasesRequest$inboundSchema` instead. */ - export const inboundSchema = ListDeploymentAliasesRequest$inboundSchema; - /** @deprecated use `ListDeploymentAliasesRequest$outboundSchema` instead. */ - export const outboundSchema = ListDeploymentAliasesRequest$outboundSchema; - /** @deprecated use `ListDeploymentAliasesRequest$Outbound` instead. */ - export type Outbound = ListDeploymentAliasesRequest$Outbound; -} - -export function listDeploymentAliasesRequestToJSON( - listDeploymentAliasesRequest: ListDeploymentAliasesRequest, -): string { - return JSON.stringify( - ListDeploymentAliasesRequest$outboundSchema.parse( - listDeploymentAliasesRequest, - ), - ); -} - -export function listDeploymentAliasesRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListDeploymentAliasesRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListDeploymentAliasesRequest' from JSON`, - ); -} - -/** @internal */ -export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema: - z.ZodNativeEnum< - typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope - > = z.nativeEnum( - ListDeploymentAliasesProtectionBypassAliasesResponse200Scope, - ); - -/** @internal */ -export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema: - z.ZodNativeEnum< - typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope - > = - ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$ { - /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema` instead. */ - export const inboundSchema = - ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema; - /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema` instead. */ - export const outboundSchema = - ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema; -} - -/** @internal */ -export const ListDeploymentAliasesProtectionBypass4$inboundSchema: z.ZodType< - ListDeploymentAliasesProtectionBypass4, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number(), - lastUpdatedAt: z.number(), - lastUpdatedBy: z.string(), - scope: - ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema, -}); - -/** @internal */ -export type ListDeploymentAliasesProtectionBypass4$Outbound = { - createdAt: number; - lastUpdatedAt: number; - lastUpdatedBy: string; - scope: string; -}; - -/** @internal */ -export const ListDeploymentAliasesProtectionBypass4$outboundSchema: z.ZodType< - ListDeploymentAliasesProtectionBypass4$Outbound, - z.ZodTypeDef, - ListDeploymentAliasesProtectionBypass4 -> = z.object({ - createdAt: z.number(), - lastUpdatedAt: z.number(), - lastUpdatedBy: z.string(), - scope: - ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListDeploymentAliasesProtectionBypass4$ { - /** @deprecated use `ListDeploymentAliasesProtectionBypass4$inboundSchema` instead. */ - export const inboundSchema = - ListDeploymentAliasesProtectionBypass4$inboundSchema; - /** @deprecated use `ListDeploymentAliasesProtectionBypass4$outboundSchema` instead. */ - export const outboundSchema = - ListDeploymentAliasesProtectionBypass4$outboundSchema; - /** @deprecated use `ListDeploymentAliasesProtectionBypass4$Outbound` instead. */ - export type Outbound = ListDeploymentAliasesProtectionBypass4$Outbound; -} - -export function listDeploymentAliasesProtectionBypass4ToJSON( - listDeploymentAliasesProtectionBypass4: - ListDeploymentAliasesProtectionBypass4, -): string { - return JSON.stringify( - ListDeploymentAliasesProtectionBypass4$outboundSchema.parse( - listDeploymentAliasesProtectionBypass4, - ), - ); -} - -export function listDeploymentAliasesProtectionBypass4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - ListDeploymentAliasesProtectionBypass4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListDeploymentAliasesProtectionBypass4' from JSON`, - ); -} - -/** @internal */ -export const ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema: - z.ZodNativeEnum< - typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope - > = z.nativeEnum(ListDeploymentAliasesProtectionBypassAliasesResponseScope); - -/** @internal */ -export const ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema: - z.ZodNativeEnum< - typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope - > = ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListDeploymentAliasesProtectionBypassAliasesResponseScope$ { - /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema` instead. */ - export const inboundSchema = - ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema; - /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema` instead. */ - export const outboundSchema = - ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema; -} - -/** @internal */ -export const ListDeploymentAliasesProtectionBypass3$inboundSchema: z.ZodType< - ListDeploymentAliasesProtectionBypass3, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: - ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema, -}); - -/** @internal */ -export type ListDeploymentAliasesProtectionBypass3$Outbound = { - createdAt: number; - createdBy: string; - scope: string; -}; - -/** @internal */ -export const ListDeploymentAliasesProtectionBypass3$outboundSchema: z.ZodType< - ListDeploymentAliasesProtectionBypass3$Outbound, - z.ZodTypeDef, - ListDeploymentAliasesProtectionBypass3 -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: - ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListDeploymentAliasesProtectionBypass3$ { - /** @deprecated use `ListDeploymentAliasesProtectionBypass3$inboundSchema` instead. */ - export const inboundSchema = - ListDeploymentAliasesProtectionBypass3$inboundSchema; - /** @deprecated use `ListDeploymentAliasesProtectionBypass3$outboundSchema` instead. */ - export const outboundSchema = - ListDeploymentAliasesProtectionBypass3$outboundSchema; - /** @deprecated use `ListDeploymentAliasesProtectionBypass3$Outbound` instead. */ - export type Outbound = ListDeploymentAliasesProtectionBypass3$Outbound; -} - -export function listDeploymentAliasesProtectionBypass3ToJSON( - listDeploymentAliasesProtectionBypass3: - ListDeploymentAliasesProtectionBypass3, -): string { - return JSON.stringify( - ListDeploymentAliasesProtectionBypass3$outboundSchema.parse( - listDeploymentAliasesProtectionBypass3, - ), - ); -} - -export function listDeploymentAliasesProtectionBypass3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - ListDeploymentAliasesProtectionBypass3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListDeploymentAliasesProtectionBypass3' from JSON`, - ); -} - -/** @internal */ -export const ListDeploymentAliasesProtectionBypassAccess$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListDeploymentAliasesProtectionBypassAccess); - -/** @internal */ -export const ListDeploymentAliasesProtectionBypassAccess$outboundSchema: - z.ZodNativeEnum = - ListDeploymentAliasesProtectionBypassAccess$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListDeploymentAliasesProtectionBypassAccess$ { - /** @deprecated use `ListDeploymentAliasesProtectionBypassAccess$inboundSchema` instead. */ - export const inboundSchema = - ListDeploymentAliasesProtectionBypassAccess$inboundSchema; - /** @deprecated use `ListDeploymentAliasesProtectionBypassAccess$outboundSchema` instead. */ - export const outboundSchema = - ListDeploymentAliasesProtectionBypassAccess$outboundSchema; -} - -/** @internal */ -export const ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListDeploymentAliasesProtectionBypassAliasesScope); - -/** @internal */ -export const ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema: - z.ZodNativeEnum = - ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListDeploymentAliasesProtectionBypassAliasesScope$ { - /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema` instead. */ - export const inboundSchema = - ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema; - /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema` instead. */ - export const outboundSchema = - ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema; -} - -/** @internal */ -export const ListDeploymentAliasesProtectionBypass2$inboundSchema: z.ZodType< - ListDeploymentAliasesProtectionBypass2, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number(), - lastUpdatedAt: z.number(), - lastUpdatedBy: z.string(), - access: ListDeploymentAliasesProtectionBypassAccess$inboundSchema, - scope: ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema, -}); - -/** @internal */ -export type ListDeploymentAliasesProtectionBypass2$Outbound = { - createdAt: number; - lastUpdatedAt: number; - lastUpdatedBy: string; - access: string; - scope: string; -}; - -/** @internal */ -export const ListDeploymentAliasesProtectionBypass2$outboundSchema: z.ZodType< - ListDeploymentAliasesProtectionBypass2$Outbound, - z.ZodTypeDef, - ListDeploymentAliasesProtectionBypass2 -> = z.object({ - createdAt: z.number(), - lastUpdatedAt: z.number(), - lastUpdatedBy: z.string(), - access: ListDeploymentAliasesProtectionBypassAccess$outboundSchema, - scope: ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListDeploymentAliasesProtectionBypass2$ { - /** @deprecated use `ListDeploymentAliasesProtectionBypass2$inboundSchema` instead. */ - export const inboundSchema = - ListDeploymentAliasesProtectionBypass2$inboundSchema; - /** @deprecated use `ListDeploymentAliasesProtectionBypass2$outboundSchema` instead. */ - export const outboundSchema = - ListDeploymentAliasesProtectionBypass2$outboundSchema; - /** @deprecated use `ListDeploymentAliasesProtectionBypass2$Outbound` instead. */ - export type Outbound = ListDeploymentAliasesProtectionBypass2$Outbound; -} - -export function listDeploymentAliasesProtectionBypass2ToJSON( - listDeploymentAliasesProtectionBypass2: - ListDeploymentAliasesProtectionBypass2, -): string { - return JSON.stringify( - ListDeploymentAliasesProtectionBypass2$outboundSchema.parse( - listDeploymentAliasesProtectionBypass2, - ), - ); -} - -export function listDeploymentAliasesProtectionBypass2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - ListDeploymentAliasesProtectionBypass2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListDeploymentAliasesProtectionBypass2' from JSON`, - ); -} - -/** @internal */ -export const ListDeploymentAliasesProtectionBypassScope$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListDeploymentAliasesProtectionBypassScope); - -/** @internal */ -export const ListDeploymentAliasesProtectionBypassScope$outboundSchema: - z.ZodNativeEnum = - ListDeploymentAliasesProtectionBypassScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListDeploymentAliasesProtectionBypassScope$ { - /** @deprecated use `ListDeploymentAliasesProtectionBypassScope$inboundSchema` instead. */ - export const inboundSchema = - ListDeploymentAliasesProtectionBypassScope$inboundSchema; - /** @deprecated use `ListDeploymentAliasesProtectionBypassScope$outboundSchema` instead. */ - export const outboundSchema = - ListDeploymentAliasesProtectionBypassScope$outboundSchema; -} - -/** @internal */ -export const ListDeploymentAliasesProtectionBypass1$inboundSchema: z.ZodType< - ListDeploymentAliasesProtectionBypass1, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: ListDeploymentAliasesProtectionBypassScope$inboundSchema, -}); - -/** @internal */ -export type ListDeploymentAliasesProtectionBypass1$Outbound = { - createdAt: number; - createdBy: string; - scope: string; -}; - -/** @internal */ -export const ListDeploymentAliasesProtectionBypass1$outboundSchema: z.ZodType< - ListDeploymentAliasesProtectionBypass1$Outbound, - z.ZodTypeDef, - ListDeploymentAliasesProtectionBypass1 -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: ListDeploymentAliasesProtectionBypassScope$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListDeploymentAliasesProtectionBypass1$ { - /** @deprecated use `ListDeploymentAliasesProtectionBypass1$inboundSchema` instead. */ - export const inboundSchema = - ListDeploymentAliasesProtectionBypass1$inboundSchema; - /** @deprecated use `ListDeploymentAliasesProtectionBypass1$outboundSchema` instead. */ - export const outboundSchema = - ListDeploymentAliasesProtectionBypass1$outboundSchema; - /** @deprecated use `ListDeploymentAliasesProtectionBypass1$Outbound` instead. */ - export type Outbound = ListDeploymentAliasesProtectionBypass1$Outbound; -} - -export function listDeploymentAliasesProtectionBypass1ToJSON( - listDeploymentAliasesProtectionBypass1: - ListDeploymentAliasesProtectionBypass1, -): string { - return JSON.stringify( - ListDeploymentAliasesProtectionBypass1$outboundSchema.parse( - listDeploymentAliasesProtectionBypass1, - ), - ); -} - -export function listDeploymentAliasesProtectionBypass1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - ListDeploymentAliasesProtectionBypass1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListDeploymentAliasesProtectionBypass1' from JSON`, - ); -} - -/** @internal */ -export const ListDeploymentAliasesProtectionBypass$inboundSchema: z.ZodType< - ListDeploymentAliasesProtectionBypass, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => ListDeploymentAliasesProtectionBypass1$inboundSchema), - z.lazy(() => ListDeploymentAliasesProtectionBypass3$inboundSchema), - z.lazy(() => ListDeploymentAliasesProtectionBypass4$inboundSchema), - z.lazy(() => ListDeploymentAliasesProtectionBypass2$inboundSchema), -]); - -/** @internal */ -export type ListDeploymentAliasesProtectionBypass$Outbound = - | ListDeploymentAliasesProtectionBypass1$Outbound - | ListDeploymentAliasesProtectionBypass3$Outbound - | ListDeploymentAliasesProtectionBypass4$Outbound - | ListDeploymentAliasesProtectionBypass2$Outbound; - -/** @internal */ -export const ListDeploymentAliasesProtectionBypass$outboundSchema: z.ZodType< - ListDeploymentAliasesProtectionBypass$Outbound, - z.ZodTypeDef, - ListDeploymentAliasesProtectionBypass -> = z.union([ - z.lazy(() => ListDeploymentAliasesProtectionBypass1$outboundSchema), - z.lazy(() => ListDeploymentAliasesProtectionBypass3$outboundSchema), - z.lazy(() => ListDeploymentAliasesProtectionBypass4$outboundSchema), - z.lazy(() => ListDeploymentAliasesProtectionBypass2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListDeploymentAliasesProtectionBypass$ { - /** @deprecated use `ListDeploymentAliasesProtectionBypass$inboundSchema` instead. */ - export const inboundSchema = - ListDeploymentAliasesProtectionBypass$inboundSchema; - /** @deprecated use `ListDeploymentAliasesProtectionBypass$outboundSchema` instead. */ - export const outboundSchema = - ListDeploymentAliasesProtectionBypass$outboundSchema; - /** @deprecated use `ListDeploymentAliasesProtectionBypass$Outbound` instead. */ - export type Outbound = ListDeploymentAliasesProtectionBypass$Outbound; -} - -export function listDeploymentAliasesProtectionBypassToJSON( - listDeploymentAliasesProtectionBypass: ListDeploymentAliasesProtectionBypass, -): string { - return JSON.stringify( - ListDeploymentAliasesProtectionBypass$outboundSchema.parse( - listDeploymentAliasesProtectionBypass, - ), - ); -} - -export function listDeploymentAliasesProtectionBypassFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - ListDeploymentAliasesProtectionBypass$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListDeploymentAliasesProtectionBypass' from JSON`, - ); -} - -/** @internal */ -export const ListDeploymentAliasesAliases$inboundSchema: z.ZodType< - ListDeploymentAliasesAliases, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - alias: z.string(), - created: z.string().datetime({ offset: true }).transform(v => new Date(v)), - redirect: z.nullable(z.string()).optional(), - protectionBypass: z.record( - z.union([ - z.lazy(() => ListDeploymentAliasesProtectionBypass1$inboundSchema), - z.lazy(() => ListDeploymentAliasesProtectionBypass3$inboundSchema), - z.lazy(() => ListDeploymentAliasesProtectionBypass4$inboundSchema), - z.lazy(() => ListDeploymentAliasesProtectionBypass2$inboundSchema), - ]), - ).optional(), -}); - -/** @internal */ -export type ListDeploymentAliasesAliases$Outbound = { - uid: string; - alias: string; - created: string; - redirect?: string | null | undefined; - protectionBypass?: { - [k: string]: - | ListDeploymentAliasesProtectionBypass1$Outbound - | ListDeploymentAliasesProtectionBypass3$Outbound - | ListDeploymentAliasesProtectionBypass4$Outbound - | ListDeploymentAliasesProtectionBypass2$Outbound; - } | undefined; -}; - -/** @internal */ -export const ListDeploymentAliasesAliases$outboundSchema: z.ZodType< - ListDeploymentAliasesAliases$Outbound, - z.ZodTypeDef, - ListDeploymentAliasesAliases -> = z.object({ - uid: z.string(), - alias: z.string(), - created: z.date().transform(v => v.toISOString()), - redirect: z.nullable(z.string()).optional(), - protectionBypass: z.record( - z.union([ - z.lazy(() => ListDeploymentAliasesProtectionBypass1$outboundSchema), - z.lazy(() => ListDeploymentAliasesProtectionBypass3$outboundSchema), - z.lazy(() => ListDeploymentAliasesProtectionBypass4$outboundSchema), - z.lazy(() => ListDeploymentAliasesProtectionBypass2$outboundSchema), - ]), - ).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListDeploymentAliasesAliases$ { - /** @deprecated use `ListDeploymentAliasesAliases$inboundSchema` instead. */ - export const inboundSchema = ListDeploymentAliasesAliases$inboundSchema; - /** @deprecated use `ListDeploymentAliasesAliases$outboundSchema` instead. */ - export const outboundSchema = ListDeploymentAliasesAliases$outboundSchema; - /** @deprecated use `ListDeploymentAliasesAliases$Outbound` instead. */ - export type Outbound = ListDeploymentAliasesAliases$Outbound; -} - -export function listDeploymentAliasesAliasesToJSON( - listDeploymentAliasesAliases: ListDeploymentAliasesAliases, -): string { - return JSON.stringify( - ListDeploymentAliasesAliases$outboundSchema.parse( - listDeploymentAliasesAliases, - ), - ); -} - -export function listDeploymentAliasesAliasesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListDeploymentAliasesAliases$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListDeploymentAliasesAliases' from JSON`, - ); -} - -/** @internal */ -export const ListDeploymentAliasesResponseBody$inboundSchema: z.ZodType< - ListDeploymentAliasesResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - aliases: z.array(z.lazy(() => ListDeploymentAliasesAliases$inboundSchema)), -}); - -/** @internal */ -export type ListDeploymentAliasesResponseBody$Outbound = { - aliases: Array; -}; - -/** @internal */ -export const ListDeploymentAliasesResponseBody$outboundSchema: z.ZodType< - ListDeploymentAliasesResponseBody$Outbound, - z.ZodTypeDef, - ListDeploymentAliasesResponseBody -> = z.object({ - aliases: z.array(z.lazy(() => ListDeploymentAliasesAliases$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListDeploymentAliasesResponseBody$ { - /** @deprecated use `ListDeploymentAliasesResponseBody$inboundSchema` instead. */ - export const inboundSchema = ListDeploymentAliasesResponseBody$inboundSchema; - /** @deprecated use `ListDeploymentAliasesResponseBody$outboundSchema` instead. */ - export const outboundSchema = - ListDeploymentAliasesResponseBody$outboundSchema; - /** @deprecated use `ListDeploymentAliasesResponseBody$Outbound` instead. */ - export type Outbound = ListDeploymentAliasesResponseBody$Outbound; -} - -export function listDeploymentAliasesResponseBodyToJSON( - listDeploymentAliasesResponseBody: ListDeploymentAliasesResponseBody, -): string { - return JSON.stringify( - ListDeploymentAliasesResponseBody$outboundSchema.parse( - listDeploymentAliasesResponseBody, - ), - ); -} - -export function listDeploymentAliasesResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListDeploymentAliasesResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListDeploymentAliasesResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/listdeploymentfiles.ts b/src/models/operations/listdeploymentfiles.ts deleted file mode 100644 index 32ae050c..00000000 --- a/src/models/operations/listdeploymentfiles.ts +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type ListDeploymentFilesRequest = { - /** - * The unique deployment identifier - */ - id: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const ListDeploymentFilesRequest$inboundSchema: z.ZodType< - ListDeploymentFilesRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type ListDeploymentFilesRequest$Outbound = { - id: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const ListDeploymentFilesRequest$outboundSchema: z.ZodType< - ListDeploymentFilesRequest$Outbound, - z.ZodTypeDef, - ListDeploymentFilesRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListDeploymentFilesRequest$ { - /** @deprecated use `ListDeploymentFilesRequest$inboundSchema` instead. */ - export const inboundSchema = ListDeploymentFilesRequest$inboundSchema; - /** @deprecated use `ListDeploymentFilesRequest$outboundSchema` instead. */ - export const outboundSchema = ListDeploymentFilesRequest$outboundSchema; - /** @deprecated use `ListDeploymentFilesRequest$Outbound` instead. */ - export type Outbound = ListDeploymentFilesRequest$Outbound; -} - -export function listDeploymentFilesRequestToJSON( - listDeploymentFilesRequest: ListDeploymentFilesRequest, -): string { - return JSON.stringify( - ListDeploymentFilesRequest$outboundSchema.parse(listDeploymentFilesRequest), - ); -} - -export function listDeploymentFilesRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListDeploymentFilesRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListDeploymentFilesRequest' from JSON`, - ); -} diff --git a/src/models/operations/listpromotealiases.ts b/src/models/operations/listpromotealiases.ts deleted file mode 100644 index e1fc3e5f..00000000 --- a/src/models/operations/listpromotealiases.ts +++ /dev/null @@ -1,361 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - Pagination, - Pagination$inboundSchema, - Pagination$Outbound, - Pagination$outboundSchema, -} from "../components/pagination.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type ListPromoteAliasesRequest = { - projectId: string; - /** - * Maximum number of aliases to list from a request (max 100). - */ - limit?: number | undefined; - /** - * Get aliases created after this epoch timestamp. - */ - since?: number | undefined; - /** - * Get aliases created before this epoch timestamp. - */ - until?: number | undefined; - /** - * Filter results down to aliases that failed to map to the requested deployment - */ - failedOnly?: boolean | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export type ResponseBodyAliases = { - status: string; - alias: string; - id: string; -}; - -export type ListPromoteAliasesResponseBody2 = { - aliases: Array; - /** - * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. - */ - pagination: Pagination; -}; - -export type ListPromoteAliasesResponseBody1 = {}; - -export type ListPromoteAliasesResponseBody = - | ListPromoteAliasesResponseBody1 - | ListPromoteAliasesResponseBody2; - -/** @internal */ -export const ListPromoteAliasesRequest$inboundSchema: z.ZodType< - ListPromoteAliasesRequest, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string(), - limit: z.number().optional(), - since: z.number().optional(), - until: z.number().optional(), - failedOnly: z.boolean().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type ListPromoteAliasesRequest$Outbound = { - projectId: string; - limit?: number | undefined; - since?: number | undefined; - until?: number | undefined; - failedOnly?: boolean | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const ListPromoteAliasesRequest$outboundSchema: z.ZodType< - ListPromoteAliasesRequest$Outbound, - z.ZodTypeDef, - ListPromoteAliasesRequest -> = z.object({ - projectId: z.string(), - limit: z.number().optional(), - since: z.number().optional(), - until: z.number().optional(), - failedOnly: z.boolean().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListPromoteAliasesRequest$ { - /** @deprecated use `ListPromoteAliasesRequest$inboundSchema` instead. */ - export const inboundSchema = ListPromoteAliasesRequest$inboundSchema; - /** @deprecated use `ListPromoteAliasesRequest$outboundSchema` instead. */ - export const outboundSchema = ListPromoteAliasesRequest$outboundSchema; - /** @deprecated use `ListPromoteAliasesRequest$Outbound` instead. */ - export type Outbound = ListPromoteAliasesRequest$Outbound; -} - -export function listPromoteAliasesRequestToJSON( - listPromoteAliasesRequest: ListPromoteAliasesRequest, -): string { - return JSON.stringify( - ListPromoteAliasesRequest$outboundSchema.parse(listPromoteAliasesRequest), - ); -} - -export function listPromoteAliasesRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListPromoteAliasesRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListPromoteAliasesRequest' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyAliases$inboundSchema: z.ZodType< - ResponseBodyAliases, - z.ZodTypeDef, - unknown -> = z.object({ - status: z.string(), - alias: z.string(), - id: z.string(), -}); - -/** @internal */ -export type ResponseBodyAliases$Outbound = { - status: string; - alias: string; - id: string; -}; - -/** @internal */ -export const ResponseBodyAliases$outboundSchema: z.ZodType< - ResponseBodyAliases$Outbound, - z.ZodTypeDef, - ResponseBodyAliases -> = z.object({ - status: z.string(), - alias: z.string(), - id: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyAliases$ { - /** @deprecated use `ResponseBodyAliases$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyAliases$inboundSchema; - /** @deprecated use `ResponseBodyAliases$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyAliases$outboundSchema; - /** @deprecated use `ResponseBodyAliases$Outbound` instead. */ - export type Outbound = ResponseBodyAliases$Outbound; -} - -export function responseBodyAliasesToJSON( - responseBodyAliases: ResponseBodyAliases, -): string { - return JSON.stringify( - ResponseBodyAliases$outboundSchema.parse(responseBodyAliases), - ); -} - -export function responseBodyAliasesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyAliases$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyAliases' from JSON`, - ); -} - -/** @internal */ -export const ListPromoteAliasesResponseBody2$inboundSchema: z.ZodType< - ListPromoteAliasesResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - aliases: z.array(z.lazy(() => ResponseBodyAliases$inboundSchema)), - pagination: Pagination$inboundSchema, -}); - -/** @internal */ -export type ListPromoteAliasesResponseBody2$Outbound = { - aliases: Array; - pagination: Pagination$Outbound; -}; - -/** @internal */ -export const ListPromoteAliasesResponseBody2$outboundSchema: z.ZodType< - ListPromoteAliasesResponseBody2$Outbound, - z.ZodTypeDef, - ListPromoteAliasesResponseBody2 -> = z.object({ - aliases: z.array(z.lazy(() => ResponseBodyAliases$outboundSchema)), - pagination: Pagination$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListPromoteAliasesResponseBody2$ { - /** @deprecated use `ListPromoteAliasesResponseBody2$inboundSchema` instead. */ - export const inboundSchema = ListPromoteAliasesResponseBody2$inboundSchema; - /** @deprecated use `ListPromoteAliasesResponseBody2$outboundSchema` instead. */ - export const outboundSchema = ListPromoteAliasesResponseBody2$outboundSchema; - /** @deprecated use `ListPromoteAliasesResponseBody2$Outbound` instead. */ - export type Outbound = ListPromoteAliasesResponseBody2$Outbound; -} - -export function listPromoteAliasesResponseBody2ToJSON( - listPromoteAliasesResponseBody2: ListPromoteAliasesResponseBody2, -): string { - return JSON.stringify( - ListPromoteAliasesResponseBody2$outboundSchema.parse( - listPromoteAliasesResponseBody2, - ), - ); -} - -export function listPromoteAliasesResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListPromoteAliasesResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListPromoteAliasesResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const ListPromoteAliasesResponseBody1$inboundSchema: z.ZodType< - ListPromoteAliasesResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type ListPromoteAliasesResponseBody1$Outbound = {}; - -/** @internal */ -export const ListPromoteAliasesResponseBody1$outboundSchema: z.ZodType< - ListPromoteAliasesResponseBody1$Outbound, - z.ZodTypeDef, - ListPromoteAliasesResponseBody1 -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListPromoteAliasesResponseBody1$ { - /** @deprecated use `ListPromoteAliasesResponseBody1$inboundSchema` instead. */ - export const inboundSchema = ListPromoteAliasesResponseBody1$inboundSchema; - /** @deprecated use `ListPromoteAliasesResponseBody1$outboundSchema` instead. */ - export const outboundSchema = ListPromoteAliasesResponseBody1$outboundSchema; - /** @deprecated use `ListPromoteAliasesResponseBody1$Outbound` instead. */ - export type Outbound = ListPromoteAliasesResponseBody1$Outbound; -} - -export function listPromoteAliasesResponseBody1ToJSON( - listPromoteAliasesResponseBody1: ListPromoteAliasesResponseBody1, -): string { - return JSON.stringify( - ListPromoteAliasesResponseBody1$outboundSchema.parse( - listPromoteAliasesResponseBody1, - ), - ); -} - -export function listPromoteAliasesResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListPromoteAliasesResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListPromoteAliasesResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const ListPromoteAliasesResponseBody$inboundSchema: z.ZodType< - ListPromoteAliasesResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => ListPromoteAliasesResponseBody1$inboundSchema), - z.lazy(() => ListPromoteAliasesResponseBody2$inboundSchema), -]); - -/** @internal */ -export type ListPromoteAliasesResponseBody$Outbound = - | ListPromoteAliasesResponseBody1$Outbound - | ListPromoteAliasesResponseBody2$Outbound; - -/** @internal */ -export const ListPromoteAliasesResponseBody$outboundSchema: z.ZodType< - ListPromoteAliasesResponseBody$Outbound, - z.ZodTypeDef, - ListPromoteAliasesResponseBody -> = z.union([ - z.lazy(() => ListPromoteAliasesResponseBody1$outboundSchema), - z.lazy(() => ListPromoteAliasesResponseBody2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListPromoteAliasesResponseBody$ { - /** @deprecated use `ListPromoteAliasesResponseBody$inboundSchema` instead. */ - export const inboundSchema = ListPromoteAliasesResponseBody$inboundSchema; - /** @deprecated use `ListPromoteAliasesResponseBody$outboundSchema` instead. */ - export const outboundSchema = ListPromoteAliasesResponseBody$outboundSchema; - /** @deprecated use `ListPromoteAliasesResponseBody$Outbound` instead. */ - export type Outbound = ListPromoteAliasesResponseBody$Outbound; -} - -export function listPromoteAliasesResponseBodyToJSON( - listPromoteAliasesResponseBody: ListPromoteAliasesResponseBody, -): string { - return JSON.stringify( - ListPromoteAliasesResponseBody$outboundSchema.parse( - listPromoteAliasesResponseBody, - ), - ); -} - -export function listPromoteAliasesResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListPromoteAliasesResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListPromoteAliasesResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/listuserevents.ts b/src/models/operations/listuserevents.ts deleted file mode 100644 index 5745d88f..00000000 --- a/src/models/operations/listuserevents.ts +++ /dev/null @@ -1,188 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - UserEvent, - UserEvent$inboundSchema, - UserEvent$Outbound, - UserEvent$outboundSchema, -} from "../components/userevent.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type ListUserEventsRequest = { - /** - * Maximum number of items which may be returned. - */ - limit?: number | undefined; - /** - * Timestamp to only include items created since then. - */ - since?: string | undefined; - /** - * Timestamp to only include items created until then. - */ - until?: string | undefined; - /** - * Comma-delimited list of event \"types\" to filter the results by. - */ - types?: string | undefined; - /** - * When retrieving events for a Team, the `userId` parameter may be specified to filter events generated by a specific member of the Team. - */ - userId?: string | undefined; - /** - * When set to `true`, the response will include the `payload` field for each event. - */ - withPayload?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * Successful response. - */ -export type ListUserEventsResponseBody = { - /** - * Array of events generated by the User. - */ - events: Array; -}; - -/** @internal */ -export const ListUserEventsRequest$inboundSchema: z.ZodType< - ListUserEventsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - limit: z.number().optional(), - since: z.string().optional(), - until: z.string().optional(), - types: z.string().optional(), - userId: z.string().optional(), - withPayload: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type ListUserEventsRequest$Outbound = { - limit?: number | undefined; - since?: string | undefined; - until?: string | undefined; - types?: string | undefined; - userId?: string | undefined; - withPayload?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const ListUserEventsRequest$outboundSchema: z.ZodType< - ListUserEventsRequest$Outbound, - z.ZodTypeDef, - ListUserEventsRequest -> = z.object({ - limit: z.number().optional(), - since: z.string().optional(), - until: z.string().optional(), - types: z.string().optional(), - userId: z.string().optional(), - withPayload: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListUserEventsRequest$ { - /** @deprecated use `ListUserEventsRequest$inboundSchema` instead. */ - export const inboundSchema = ListUserEventsRequest$inboundSchema; - /** @deprecated use `ListUserEventsRequest$outboundSchema` instead. */ - export const outboundSchema = ListUserEventsRequest$outboundSchema; - /** @deprecated use `ListUserEventsRequest$Outbound` instead. */ - export type Outbound = ListUserEventsRequest$Outbound; -} - -export function listUserEventsRequestToJSON( - listUserEventsRequest: ListUserEventsRequest, -): string { - return JSON.stringify( - ListUserEventsRequest$outboundSchema.parse(listUserEventsRequest), - ); -} - -export function listUserEventsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListUserEventsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListUserEventsRequest' from JSON`, - ); -} - -/** @internal */ -export const ListUserEventsResponseBody$inboundSchema: z.ZodType< - ListUserEventsResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - events: z.array(UserEvent$inboundSchema), -}); - -/** @internal */ -export type ListUserEventsResponseBody$Outbound = { - events: Array; -}; - -/** @internal */ -export const ListUserEventsResponseBody$outboundSchema: z.ZodType< - ListUserEventsResponseBody$Outbound, - z.ZodTypeDef, - ListUserEventsResponseBody -> = z.object({ - events: z.array(UserEvent$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListUserEventsResponseBody$ { - /** @deprecated use `ListUserEventsResponseBody$inboundSchema` instead. */ - export const inboundSchema = ListUserEventsResponseBody$inboundSchema; - /** @deprecated use `ListUserEventsResponseBody$outboundSchema` instead. */ - export const outboundSchema = ListUserEventsResponseBody$outboundSchema; - /** @deprecated use `ListUserEventsResponseBody$Outbound` instead. */ - export type Outbound = ListUserEventsResponseBody$Outbound; -} - -export function listUserEventsResponseBodyToJSON( - listUserEventsResponseBody: ListUserEventsResponseBody, -): string { - return JSON.stringify( - ListUserEventsResponseBody$outboundSchema.parse(listUserEventsResponseBody), - ); -} - -export function listUserEventsResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListUserEventsResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListUserEventsResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/patchdomain.ts b/src/models/operations/patchdomain.ts deleted file mode 100644 index bda8f2f6..00000000 --- a/src/models/operations/patchdomain.ts +++ /dev/null @@ -1,562 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * move-out - */ -export type PatchDomainRequestBody2 = { - op?: string | undefined; - /** - * User or team to move domain to - */ - destination?: string | undefined; -}; - -/** - * update - */ -export type PatchDomainRequestBody1 = { - op?: string | undefined; - /** - * Specifies whether domain should be renewed. - */ - renew?: boolean | undefined; - /** - * The custom nameservers for this project. - */ - customNameservers?: Array | undefined; - /** - * Specifies whether this is a DNS zone that intends to use Vercel's nameservers. - */ - zone?: boolean | undefined; -}; - -export type PatchDomainRequestBody = - | PatchDomainRequestBody2 - | PatchDomainRequestBody1; - -export type PatchDomainRequest = { - domain: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: PatchDomainRequestBody2 | PatchDomainRequestBody1 | undefined; -}; - -export type PatchDomainResponseBody3 = { - renew?: boolean | undefined; - customNameservers?: Array | undefined; - zone?: boolean | undefined; -}; - -export type PatchDomainResponseBody2 = { - moved: boolean; - token: string; -}; - -export type PatchDomainResponseBody1 = { - moved: boolean; -}; - -export type PatchDomainResponseBody = - | PatchDomainResponseBody1 - | PatchDomainResponseBody2 - | PatchDomainResponseBody3; - -/** @internal */ -export const PatchDomainRequestBody2$inboundSchema: z.ZodType< - PatchDomainRequestBody2, - z.ZodTypeDef, - unknown -> = z.object({ - op: z.string().optional(), - destination: z.string().optional(), -}); - -/** @internal */ -export type PatchDomainRequestBody2$Outbound = { - op?: string | undefined; - destination?: string | undefined; -}; - -/** @internal */ -export const PatchDomainRequestBody2$outboundSchema: z.ZodType< - PatchDomainRequestBody2$Outbound, - z.ZodTypeDef, - PatchDomainRequestBody2 -> = z.object({ - op: z.string().optional(), - destination: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchDomainRequestBody2$ { - /** @deprecated use `PatchDomainRequestBody2$inboundSchema` instead. */ - export const inboundSchema = PatchDomainRequestBody2$inboundSchema; - /** @deprecated use `PatchDomainRequestBody2$outboundSchema` instead. */ - export const outboundSchema = PatchDomainRequestBody2$outboundSchema; - /** @deprecated use `PatchDomainRequestBody2$Outbound` instead. */ - export type Outbound = PatchDomainRequestBody2$Outbound; -} - -export function patchDomainRequestBody2ToJSON( - patchDomainRequestBody2: PatchDomainRequestBody2, -): string { - return JSON.stringify( - PatchDomainRequestBody2$outboundSchema.parse(patchDomainRequestBody2), - ); -} - -export function patchDomainRequestBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchDomainRequestBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchDomainRequestBody2' from JSON`, - ); -} - -/** @internal */ -export const PatchDomainRequestBody1$inboundSchema: z.ZodType< - PatchDomainRequestBody1, - z.ZodTypeDef, - unknown -> = z.object({ - op: z.string().optional(), - renew: z.boolean().optional(), - customNameservers: z.array(z.string()).optional(), - zone: z.boolean().optional(), -}); - -/** @internal */ -export type PatchDomainRequestBody1$Outbound = { - op?: string | undefined; - renew?: boolean | undefined; - customNameservers?: Array | undefined; - zone?: boolean | undefined; -}; - -/** @internal */ -export const PatchDomainRequestBody1$outboundSchema: z.ZodType< - PatchDomainRequestBody1$Outbound, - z.ZodTypeDef, - PatchDomainRequestBody1 -> = z.object({ - op: z.string().optional(), - renew: z.boolean().optional(), - customNameservers: z.array(z.string()).optional(), - zone: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchDomainRequestBody1$ { - /** @deprecated use `PatchDomainRequestBody1$inboundSchema` instead. */ - export const inboundSchema = PatchDomainRequestBody1$inboundSchema; - /** @deprecated use `PatchDomainRequestBody1$outboundSchema` instead. */ - export const outboundSchema = PatchDomainRequestBody1$outboundSchema; - /** @deprecated use `PatchDomainRequestBody1$Outbound` instead. */ - export type Outbound = PatchDomainRequestBody1$Outbound; -} - -export function patchDomainRequestBody1ToJSON( - patchDomainRequestBody1: PatchDomainRequestBody1, -): string { - return JSON.stringify( - PatchDomainRequestBody1$outboundSchema.parse(patchDomainRequestBody1), - ); -} - -export function patchDomainRequestBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchDomainRequestBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchDomainRequestBody1' from JSON`, - ); -} - -/** @internal */ -export const PatchDomainRequestBody$inboundSchema: z.ZodType< - PatchDomainRequestBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => PatchDomainRequestBody2$inboundSchema), - z.lazy(() => PatchDomainRequestBody1$inboundSchema), -]); - -/** @internal */ -export type PatchDomainRequestBody$Outbound = - | PatchDomainRequestBody2$Outbound - | PatchDomainRequestBody1$Outbound; - -/** @internal */ -export const PatchDomainRequestBody$outboundSchema: z.ZodType< - PatchDomainRequestBody$Outbound, - z.ZodTypeDef, - PatchDomainRequestBody -> = z.union([ - z.lazy(() => PatchDomainRequestBody2$outboundSchema), - z.lazy(() => PatchDomainRequestBody1$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchDomainRequestBody$ { - /** @deprecated use `PatchDomainRequestBody$inboundSchema` instead. */ - export const inboundSchema = PatchDomainRequestBody$inboundSchema; - /** @deprecated use `PatchDomainRequestBody$outboundSchema` instead. */ - export const outboundSchema = PatchDomainRequestBody$outboundSchema; - /** @deprecated use `PatchDomainRequestBody$Outbound` instead. */ - export type Outbound = PatchDomainRequestBody$Outbound; -} - -export function patchDomainRequestBodyToJSON( - patchDomainRequestBody: PatchDomainRequestBody, -): string { - return JSON.stringify( - PatchDomainRequestBody$outboundSchema.parse(patchDomainRequestBody), - ); -} - -export function patchDomainRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchDomainRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchDomainRequestBody' from JSON`, - ); -} - -/** @internal */ -export const PatchDomainRequest$inboundSchema: z.ZodType< - PatchDomainRequest, - z.ZodTypeDef, - unknown -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.union([ - z.lazy(() => PatchDomainRequestBody2$inboundSchema), - z.lazy(() => PatchDomainRequestBody1$inboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type PatchDomainRequest$Outbound = { - domain: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: - | PatchDomainRequestBody2$Outbound - | PatchDomainRequestBody1$Outbound - | undefined; -}; - -/** @internal */ -export const PatchDomainRequest$outboundSchema: z.ZodType< - PatchDomainRequest$Outbound, - z.ZodTypeDef, - PatchDomainRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.union([ - z.lazy(() => PatchDomainRequestBody2$outboundSchema), - z.lazy(() => PatchDomainRequestBody1$outboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchDomainRequest$ { - /** @deprecated use `PatchDomainRequest$inboundSchema` instead. */ - export const inboundSchema = PatchDomainRequest$inboundSchema; - /** @deprecated use `PatchDomainRequest$outboundSchema` instead. */ - export const outboundSchema = PatchDomainRequest$outboundSchema; - /** @deprecated use `PatchDomainRequest$Outbound` instead. */ - export type Outbound = PatchDomainRequest$Outbound; -} - -export function patchDomainRequestToJSON( - patchDomainRequest: PatchDomainRequest, -): string { - return JSON.stringify( - PatchDomainRequest$outboundSchema.parse(patchDomainRequest), - ); -} - -export function patchDomainRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchDomainRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchDomainRequest' from JSON`, - ); -} - -/** @internal */ -export const PatchDomainResponseBody3$inboundSchema: z.ZodType< - PatchDomainResponseBody3, - z.ZodTypeDef, - unknown -> = z.object({ - renew: z.boolean().optional(), - customNameservers: z.array(z.string()).optional(), - zone: z.boolean().optional(), -}); - -/** @internal */ -export type PatchDomainResponseBody3$Outbound = { - renew?: boolean | undefined; - customNameservers?: Array | undefined; - zone?: boolean | undefined; -}; - -/** @internal */ -export const PatchDomainResponseBody3$outboundSchema: z.ZodType< - PatchDomainResponseBody3$Outbound, - z.ZodTypeDef, - PatchDomainResponseBody3 -> = z.object({ - renew: z.boolean().optional(), - customNameservers: z.array(z.string()).optional(), - zone: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchDomainResponseBody3$ { - /** @deprecated use `PatchDomainResponseBody3$inboundSchema` instead. */ - export const inboundSchema = PatchDomainResponseBody3$inboundSchema; - /** @deprecated use `PatchDomainResponseBody3$outboundSchema` instead. */ - export const outboundSchema = PatchDomainResponseBody3$outboundSchema; - /** @deprecated use `PatchDomainResponseBody3$Outbound` instead. */ - export type Outbound = PatchDomainResponseBody3$Outbound; -} - -export function patchDomainResponseBody3ToJSON( - patchDomainResponseBody3: PatchDomainResponseBody3, -): string { - return JSON.stringify( - PatchDomainResponseBody3$outboundSchema.parse(patchDomainResponseBody3), - ); -} - -export function patchDomainResponseBody3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchDomainResponseBody3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchDomainResponseBody3' from JSON`, - ); -} - -/** @internal */ -export const PatchDomainResponseBody2$inboundSchema: z.ZodType< - PatchDomainResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - moved: z.boolean(), - token: z.string(), -}); - -/** @internal */ -export type PatchDomainResponseBody2$Outbound = { - moved: boolean; - token: string; -}; - -/** @internal */ -export const PatchDomainResponseBody2$outboundSchema: z.ZodType< - PatchDomainResponseBody2$Outbound, - z.ZodTypeDef, - PatchDomainResponseBody2 -> = z.object({ - moved: z.boolean(), - token: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchDomainResponseBody2$ { - /** @deprecated use `PatchDomainResponseBody2$inboundSchema` instead. */ - export const inboundSchema = PatchDomainResponseBody2$inboundSchema; - /** @deprecated use `PatchDomainResponseBody2$outboundSchema` instead. */ - export const outboundSchema = PatchDomainResponseBody2$outboundSchema; - /** @deprecated use `PatchDomainResponseBody2$Outbound` instead. */ - export type Outbound = PatchDomainResponseBody2$Outbound; -} - -export function patchDomainResponseBody2ToJSON( - patchDomainResponseBody2: PatchDomainResponseBody2, -): string { - return JSON.stringify( - PatchDomainResponseBody2$outboundSchema.parse(patchDomainResponseBody2), - ); -} - -export function patchDomainResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchDomainResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchDomainResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const PatchDomainResponseBody1$inboundSchema: z.ZodType< - PatchDomainResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({ - moved: z.boolean(), -}); - -/** @internal */ -export type PatchDomainResponseBody1$Outbound = { - moved: boolean; -}; - -/** @internal */ -export const PatchDomainResponseBody1$outboundSchema: z.ZodType< - PatchDomainResponseBody1$Outbound, - z.ZodTypeDef, - PatchDomainResponseBody1 -> = z.object({ - moved: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchDomainResponseBody1$ { - /** @deprecated use `PatchDomainResponseBody1$inboundSchema` instead. */ - export const inboundSchema = PatchDomainResponseBody1$inboundSchema; - /** @deprecated use `PatchDomainResponseBody1$outboundSchema` instead. */ - export const outboundSchema = PatchDomainResponseBody1$outboundSchema; - /** @deprecated use `PatchDomainResponseBody1$Outbound` instead. */ - export type Outbound = PatchDomainResponseBody1$Outbound; -} - -export function patchDomainResponseBody1ToJSON( - patchDomainResponseBody1: PatchDomainResponseBody1, -): string { - return JSON.stringify( - PatchDomainResponseBody1$outboundSchema.parse(patchDomainResponseBody1), - ); -} - -export function patchDomainResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchDomainResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchDomainResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const PatchDomainResponseBody$inboundSchema: z.ZodType< - PatchDomainResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => PatchDomainResponseBody1$inboundSchema), - z.lazy(() => PatchDomainResponseBody2$inboundSchema), - z.lazy(() => PatchDomainResponseBody3$inboundSchema), -]); - -/** @internal */ -export type PatchDomainResponseBody$Outbound = - | PatchDomainResponseBody1$Outbound - | PatchDomainResponseBody2$Outbound - | PatchDomainResponseBody3$Outbound; - -/** @internal */ -export const PatchDomainResponseBody$outboundSchema: z.ZodType< - PatchDomainResponseBody$Outbound, - z.ZodTypeDef, - PatchDomainResponseBody -> = z.union([ - z.lazy(() => PatchDomainResponseBody1$outboundSchema), - z.lazy(() => PatchDomainResponseBody2$outboundSchema), - z.lazy(() => PatchDomainResponseBody3$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchDomainResponseBody$ { - /** @deprecated use `PatchDomainResponseBody$inboundSchema` instead. */ - export const inboundSchema = PatchDomainResponseBody$inboundSchema; - /** @deprecated use `PatchDomainResponseBody$outboundSchema` instead. */ - export const outboundSchema = PatchDomainResponseBody$outboundSchema; - /** @deprecated use `PatchDomainResponseBody$Outbound` instead. */ - export type Outbound = PatchDomainResponseBody$Outbound; -} - -export function patchDomainResponseBodyToJSON( - patchDomainResponseBody: PatchDomainResponseBody, -): string { - return JSON.stringify( - PatchDomainResponseBody$outboundSchema.parse(patchDomainResponseBody), - ); -} - -export function patchDomainResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchDomainResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchDomainResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/patchedgeconfigschema.ts b/src/models/operations/patchedgeconfigschema.ts deleted file mode 100644 index 264edc7e..00000000 --- a/src/models/operations/patchedgeconfigschema.ts +++ /dev/null @@ -1,217 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type PatchEdgeConfigSchemaRequestBody = { - definition?: any | undefined; -}; - -export type PatchEdgeConfigSchemaRequest = { - edgeConfigId: string; - dryRun?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: PatchEdgeConfigSchemaRequestBody | undefined; -}; - -/** - * The JSON schema uploaded by the user - */ -export type PatchEdgeConfigSchemaResponseBody = {}; - -/** @internal */ -export const PatchEdgeConfigSchemaRequestBody$inboundSchema: z.ZodType< - PatchEdgeConfigSchemaRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - definition: z.any().optional(), -}); - -/** @internal */ -export type PatchEdgeConfigSchemaRequestBody$Outbound = { - definition?: any | undefined; -}; - -/** @internal */ -export const PatchEdgeConfigSchemaRequestBody$outboundSchema: z.ZodType< - PatchEdgeConfigSchemaRequestBody$Outbound, - z.ZodTypeDef, - PatchEdgeConfigSchemaRequestBody -> = z.object({ - definition: z.any().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchEdgeConfigSchemaRequestBody$ { - /** @deprecated use `PatchEdgeConfigSchemaRequestBody$inboundSchema` instead. */ - export const inboundSchema = PatchEdgeConfigSchemaRequestBody$inboundSchema; - /** @deprecated use `PatchEdgeConfigSchemaRequestBody$outboundSchema` instead. */ - export const outboundSchema = PatchEdgeConfigSchemaRequestBody$outboundSchema; - /** @deprecated use `PatchEdgeConfigSchemaRequestBody$Outbound` instead. */ - export type Outbound = PatchEdgeConfigSchemaRequestBody$Outbound; -} - -export function patchEdgeConfigSchemaRequestBodyToJSON( - patchEdgeConfigSchemaRequestBody: PatchEdgeConfigSchemaRequestBody, -): string { - return JSON.stringify( - PatchEdgeConfigSchemaRequestBody$outboundSchema.parse( - patchEdgeConfigSchemaRequestBody, - ), - ); -} - -export function patchEdgeConfigSchemaRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchEdgeConfigSchemaRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchEdgeConfigSchemaRequestBody' from JSON`, - ); -} - -/** @internal */ -export const PatchEdgeConfigSchemaRequest$inboundSchema: z.ZodType< - PatchEdgeConfigSchemaRequest, - z.ZodTypeDef, - unknown -> = z.object({ - edgeConfigId: z.string(), - dryRun: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => PatchEdgeConfigSchemaRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type PatchEdgeConfigSchemaRequest$Outbound = { - edgeConfigId: string; - dryRun?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: PatchEdgeConfigSchemaRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const PatchEdgeConfigSchemaRequest$outboundSchema: z.ZodType< - PatchEdgeConfigSchemaRequest$Outbound, - z.ZodTypeDef, - PatchEdgeConfigSchemaRequest -> = z.object({ - edgeConfigId: z.string(), - dryRun: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => PatchEdgeConfigSchemaRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchEdgeConfigSchemaRequest$ { - /** @deprecated use `PatchEdgeConfigSchemaRequest$inboundSchema` instead. */ - export const inboundSchema = PatchEdgeConfigSchemaRequest$inboundSchema; - /** @deprecated use `PatchEdgeConfigSchemaRequest$outboundSchema` instead. */ - export const outboundSchema = PatchEdgeConfigSchemaRequest$outboundSchema; - /** @deprecated use `PatchEdgeConfigSchemaRequest$Outbound` instead. */ - export type Outbound = PatchEdgeConfigSchemaRequest$Outbound; -} - -export function patchEdgeConfigSchemaRequestToJSON( - patchEdgeConfigSchemaRequest: PatchEdgeConfigSchemaRequest, -): string { - return JSON.stringify( - PatchEdgeConfigSchemaRequest$outboundSchema.parse( - patchEdgeConfigSchemaRequest, - ), - ); -} - -export function patchEdgeConfigSchemaRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchEdgeConfigSchemaRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchEdgeConfigSchemaRequest' from JSON`, - ); -} - -/** @internal */ -export const PatchEdgeConfigSchemaResponseBody$inboundSchema: z.ZodType< - PatchEdgeConfigSchemaResponseBody, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type PatchEdgeConfigSchemaResponseBody$Outbound = {}; - -/** @internal */ -export const PatchEdgeConfigSchemaResponseBody$outboundSchema: z.ZodType< - PatchEdgeConfigSchemaResponseBody$Outbound, - z.ZodTypeDef, - PatchEdgeConfigSchemaResponseBody -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchEdgeConfigSchemaResponseBody$ { - /** @deprecated use `PatchEdgeConfigSchemaResponseBody$inboundSchema` instead. */ - export const inboundSchema = PatchEdgeConfigSchemaResponseBody$inboundSchema; - /** @deprecated use `PatchEdgeConfigSchemaResponseBody$outboundSchema` instead. */ - export const outboundSchema = - PatchEdgeConfigSchemaResponseBody$outboundSchema; - /** @deprecated use `PatchEdgeConfigSchemaResponseBody$Outbound` instead. */ - export type Outbound = PatchEdgeConfigSchemaResponseBody$Outbound; -} - -export function patchEdgeConfigSchemaResponseBodyToJSON( - patchEdgeConfigSchemaResponseBody: PatchEdgeConfigSchemaResponseBody, -): string { - return JSON.stringify( - PatchEdgeConfigSchemaResponseBody$outboundSchema.parse( - patchEdgeConfigSchemaResponseBody, - ), - ); -} - -export function patchEdgeConfigSchemaResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchEdgeConfigSchemaResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchEdgeConfigSchemaResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/patchteam.ts b/src/models/operations/patchteam.ts deleted file mode 100644 index a08d858e..00000000 --- a/src/models/operations/patchteam.ts +++ /dev/null @@ -1,481 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type Roles2 = { - accessGroupId: string; -}; - -export const Roles1 = { - Owner: "OWNER", - Member: "MEMBER", - Developer: "DEVELOPER", - Billing: "BILLING", - Viewer: "VIEWER", - Contributor: "CONTRIBUTOR", -} as const; -export type Roles1 = ClosedEnum; - -export type Roles = Roles2 | Roles1; - -export type Saml = { - /** - * Require that members of the team use SAML Single Sign-On. - */ - enforced?: boolean | undefined; - /** - * Directory groups to role or access group mappings. - */ - roles?: { [k: string]: Roles2 | Roles1 } | undefined; -}; - -/** - * Whether or not remote caching is enabled for the team - */ -export type RemoteCaching = { - /** - * Enable or disable remote caching for the team. - */ - enabled?: boolean | undefined; -}; - -export type PatchTeamRequestBody = { - /** - * The hash value of an uploaded image. - */ - avatar?: string | undefined; - /** - * A short text that describes the team. - */ - description?: string | undefined; - emailDomain?: string | null | undefined; - /** - * The name of the team. - */ - name?: string | undefined; - /** - * Suffix that will be used for all preview deployments. - */ - previewDeploymentSuffix?: string | null | undefined; - /** - * Create a new invite code and replace the current one. - */ - regenerateInviteCode?: boolean | undefined; - saml?: Saml | undefined; - /** - * A new slug for the team. - */ - slug?: string | undefined; - /** - * Enable preview toolbar: one of on, off or default. - */ - enablePreviewFeedback?: string | undefined; - /** - * Enable production toolbar: one of on, off or default. - */ - enableProductionFeedback?: string | undefined; - /** - * Sensitive environment variable policy: one of on, off or default. - */ - sensitiveEnvironmentVariablePolicy?: string | undefined; - /** - * Whether or not remote caching is enabled for the team - */ - remoteCaching?: RemoteCaching | undefined; - /** - * Display or hide IP addresses in Monitoring queries. - */ - hideIpAddresses?: boolean | undefined; - /** - * Display or hide IP addresses in Log Drains. - */ - hideIpAddressesInLogDrains?: boolean | undefined; -}; - -export type PatchTeamRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId: string; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: PatchTeamRequestBody | undefined; -}; - -/** @internal */ -export const Roles2$inboundSchema: z.ZodType = z - .object({ - accessGroupId: z.string(), - }); - -/** @internal */ -export type Roles2$Outbound = { - accessGroupId: string; -}; - -/** @internal */ -export const Roles2$outboundSchema: z.ZodType< - Roles2$Outbound, - z.ZodTypeDef, - Roles2 -> = z.object({ - accessGroupId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Roles2$ { - /** @deprecated use `Roles2$inboundSchema` instead. */ - export const inboundSchema = Roles2$inboundSchema; - /** @deprecated use `Roles2$outboundSchema` instead. */ - export const outboundSchema = Roles2$outboundSchema; - /** @deprecated use `Roles2$Outbound` instead. */ - export type Outbound = Roles2$Outbound; -} - -export function roles2ToJSON(roles2: Roles2): string { - return JSON.stringify(Roles2$outboundSchema.parse(roles2)); -} - -export function roles2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Roles2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Roles2' from JSON`, - ); -} - -/** @internal */ -export const Roles1$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Roles1); - -/** @internal */ -export const Roles1$outboundSchema: z.ZodNativeEnum = - Roles1$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Roles1$ { - /** @deprecated use `Roles1$inboundSchema` instead. */ - export const inboundSchema = Roles1$inboundSchema; - /** @deprecated use `Roles1$outboundSchema` instead. */ - export const outboundSchema = Roles1$outboundSchema; -} - -/** @internal */ -export const Roles$inboundSchema: z.ZodType = z - .union([z.lazy(() => Roles2$inboundSchema), Roles1$inboundSchema]); - -/** @internal */ -export type Roles$Outbound = Roles2$Outbound | string; - -/** @internal */ -export const Roles$outboundSchema: z.ZodType< - Roles$Outbound, - z.ZodTypeDef, - Roles -> = z.union([z.lazy(() => Roles2$outboundSchema), Roles1$outboundSchema]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Roles$ { - /** @deprecated use `Roles$inboundSchema` instead. */ - export const inboundSchema = Roles$inboundSchema; - /** @deprecated use `Roles$outboundSchema` instead. */ - export const outboundSchema = Roles$outboundSchema; - /** @deprecated use `Roles$Outbound` instead. */ - export type Outbound = Roles$Outbound; -} - -export function rolesToJSON(roles: Roles): string { - return JSON.stringify(Roles$outboundSchema.parse(roles)); -} - -export function rolesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Roles$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Roles' from JSON`, - ); -} - -/** @internal */ -export const Saml$inboundSchema: z.ZodType = z - .object({ - enforced: z.boolean().optional(), - roles: z.record( - z.union([z.lazy(() => Roles2$inboundSchema), Roles1$inboundSchema]), - ).optional(), - }); - -/** @internal */ -export type Saml$Outbound = { - enforced?: boolean | undefined; - roles?: { [k: string]: Roles2$Outbound | string } | undefined; -}; - -/** @internal */ -export const Saml$outboundSchema: z.ZodType = - z.object({ - enforced: z.boolean().optional(), - roles: z.record( - z.union([z.lazy(() => Roles2$outboundSchema), Roles1$outboundSchema]), - ).optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Saml$ { - /** @deprecated use `Saml$inboundSchema` instead. */ - export const inboundSchema = Saml$inboundSchema; - /** @deprecated use `Saml$outboundSchema` instead. */ - export const outboundSchema = Saml$outboundSchema; - /** @deprecated use `Saml$Outbound` instead. */ - export type Outbound = Saml$Outbound; -} - -export function samlToJSON(saml: Saml): string { - return JSON.stringify(Saml$outboundSchema.parse(saml)); -} - -export function samlFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Saml$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Saml' from JSON`, - ); -} - -/** @internal */ -export const RemoteCaching$inboundSchema: z.ZodType< - RemoteCaching, - z.ZodTypeDef, - unknown -> = z.object({ - enabled: z.boolean().optional(), -}); - -/** @internal */ -export type RemoteCaching$Outbound = { - enabled?: boolean | undefined; -}; - -/** @internal */ -export const RemoteCaching$outboundSchema: z.ZodType< - RemoteCaching$Outbound, - z.ZodTypeDef, - RemoteCaching -> = z.object({ - enabled: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoteCaching$ { - /** @deprecated use `RemoteCaching$inboundSchema` instead. */ - export const inboundSchema = RemoteCaching$inboundSchema; - /** @deprecated use `RemoteCaching$outboundSchema` instead. */ - export const outboundSchema = RemoteCaching$outboundSchema; - /** @deprecated use `RemoteCaching$Outbound` instead. */ - export type Outbound = RemoteCaching$Outbound; -} - -export function remoteCachingToJSON(remoteCaching: RemoteCaching): string { - return JSON.stringify(RemoteCaching$outboundSchema.parse(remoteCaching)); -} - -export function remoteCachingFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoteCaching$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoteCaching' from JSON`, - ); -} - -/** @internal */ -export const PatchTeamRequestBody$inboundSchema: z.ZodType< - PatchTeamRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - avatar: z.string().optional(), - description: z.string().optional(), - emailDomain: z.nullable(z.string()).optional(), - name: z.string().optional(), - previewDeploymentSuffix: z.nullable(z.string()).optional(), - regenerateInviteCode: z.boolean().optional(), - saml: z.lazy(() => Saml$inboundSchema).optional(), - slug: z.string().optional(), - enablePreviewFeedback: z.string().optional(), - enableProductionFeedback: z.string().optional(), - sensitiveEnvironmentVariablePolicy: z.string().optional(), - remoteCaching: z.lazy(() => RemoteCaching$inboundSchema).optional(), - hideIpAddresses: z.boolean().optional(), - hideIpAddressesInLogDrains: z.boolean().optional(), -}); - -/** @internal */ -export type PatchTeamRequestBody$Outbound = { - avatar?: string | undefined; - description?: string | undefined; - emailDomain?: string | null | undefined; - name?: string | undefined; - previewDeploymentSuffix?: string | null | undefined; - regenerateInviteCode?: boolean | undefined; - saml?: Saml$Outbound | undefined; - slug?: string | undefined; - enablePreviewFeedback?: string | undefined; - enableProductionFeedback?: string | undefined; - sensitiveEnvironmentVariablePolicy?: string | undefined; - remoteCaching?: RemoteCaching$Outbound | undefined; - hideIpAddresses?: boolean | undefined; - hideIpAddressesInLogDrains?: boolean | undefined; -}; - -/** @internal */ -export const PatchTeamRequestBody$outboundSchema: z.ZodType< - PatchTeamRequestBody$Outbound, - z.ZodTypeDef, - PatchTeamRequestBody -> = z.object({ - avatar: z.string().optional(), - description: z.string().optional(), - emailDomain: z.nullable(z.string()).optional(), - name: z.string().optional(), - previewDeploymentSuffix: z.nullable(z.string()).optional(), - regenerateInviteCode: z.boolean().optional(), - saml: z.lazy(() => Saml$outboundSchema).optional(), - slug: z.string().optional(), - enablePreviewFeedback: z.string().optional(), - enableProductionFeedback: z.string().optional(), - sensitiveEnvironmentVariablePolicy: z.string().optional(), - remoteCaching: z.lazy(() => RemoteCaching$outboundSchema).optional(), - hideIpAddresses: z.boolean().optional(), - hideIpAddressesInLogDrains: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchTeamRequestBody$ { - /** @deprecated use `PatchTeamRequestBody$inboundSchema` instead. */ - export const inboundSchema = PatchTeamRequestBody$inboundSchema; - /** @deprecated use `PatchTeamRequestBody$outboundSchema` instead. */ - export const outboundSchema = PatchTeamRequestBody$outboundSchema; - /** @deprecated use `PatchTeamRequestBody$Outbound` instead. */ - export type Outbound = PatchTeamRequestBody$Outbound; -} - -export function patchTeamRequestBodyToJSON( - patchTeamRequestBody: PatchTeamRequestBody, -): string { - return JSON.stringify( - PatchTeamRequestBody$outboundSchema.parse(patchTeamRequestBody), - ); -} - -export function patchTeamRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchTeamRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchTeamRequestBody' from JSON`, - ); -} - -/** @internal */ -export const PatchTeamRequest$inboundSchema: z.ZodType< - PatchTeamRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string(), - slug: z.string().optional(), - RequestBody: z.lazy(() => PatchTeamRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type PatchTeamRequest$Outbound = { - teamId: string; - slug?: string | undefined; - RequestBody?: PatchTeamRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const PatchTeamRequest$outboundSchema: z.ZodType< - PatchTeamRequest$Outbound, - z.ZodTypeDef, - PatchTeamRequest -> = z.object({ - teamId: z.string(), - slug: z.string().optional(), - requestBody: z.lazy(() => PatchTeamRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchTeamRequest$ { - /** @deprecated use `PatchTeamRequest$inboundSchema` instead. */ - export const inboundSchema = PatchTeamRequest$inboundSchema; - /** @deprecated use `PatchTeamRequest$outboundSchema` instead. */ - export const outboundSchema = PatchTeamRequest$outboundSchema; - /** @deprecated use `PatchTeamRequest$Outbound` instead. */ - export type Outbound = PatchTeamRequest$Outbound; -} - -export function patchTeamRequestToJSON( - patchTeamRequest: PatchTeamRequest, -): string { - return JSON.stringify( - PatchTeamRequest$outboundSchema.parse(patchTeamRequest), - ); -} - -export function patchTeamRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchTeamRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchTeamRequest' from JSON`, - ); -} diff --git a/src/models/operations/putfirewallconfig.ts b/src/models/operations/putfirewallconfig.ts deleted file mode 100644 index f1db03c8..00000000 --- a/src/models/operations/putfirewallconfig.ts +++ /dev/null @@ -1,4730 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type Owasp = { - active: boolean; -}; - -export type ManagedRules = { - owasp: Owasp; -}; - -export const PutFirewallConfigAction = { - Deny: "deny", - Log: "log", -} as const; -export type PutFirewallConfigAction = ClosedEnum< - typeof PutFirewallConfigAction ->; - -export type Sd = { - active: boolean; - action: PutFirewallConfigAction; -}; - -export const PutFirewallConfigSecurityAction = { - Deny: "deny", - Log: "log", -} as const; -export type PutFirewallConfigSecurityAction = ClosedEnum< - typeof PutFirewallConfigSecurityAction ->; - -export type Ma = { - active: boolean; - action: PutFirewallConfigSecurityAction; -}; - -export const PutFirewallConfigSecurityRequestAction = { - Deny: "deny", - Log: "log", -} as const; -export type PutFirewallConfigSecurityRequestAction = ClosedEnum< - typeof PutFirewallConfigSecurityRequestAction ->; - -export type Lfi = { - active: boolean; - action: PutFirewallConfigSecurityRequestAction; -}; - -export const PutFirewallConfigSecurityRequestRequestBodyAction = { - Deny: "deny", - Log: "log", -} as const; -export type PutFirewallConfigSecurityRequestRequestBodyAction = ClosedEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyAction ->; - -export type Rfi = { - active: boolean; - action: PutFirewallConfigSecurityRequestRequestBodyAction; -}; - -export const PutFirewallConfigSecurityRequestRequestBodyCrsAction = { - Deny: "deny", - Log: "log", -} as const; -export type PutFirewallConfigSecurityRequestRequestBodyCrsAction = ClosedEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyCrsAction ->; - -export type Rce = { - active: boolean; - action: PutFirewallConfigSecurityRequestRequestBodyCrsAction; -}; - -export const PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction = { - Deny: "deny", - Log: "log", -} as const; -export type PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction = - ClosedEnum; - -export type Php = { - active: boolean; - action: PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction; -}; - -export const PutFirewallConfigSecurityRequestRequestBodyCrsGenAction = { - Deny: "deny", - Log: "log", -} as const; -export type PutFirewallConfigSecurityRequestRequestBodyCrsGenAction = - ClosedEnum; - -export type Gen = { - active: boolean; - action: PutFirewallConfigSecurityRequestRequestBodyCrsGenAction; -}; - -export const PutFirewallConfigSecurityRequestRequestBodyCrsXssAction = { - Deny: "deny", - Log: "log", -} as const; -export type PutFirewallConfigSecurityRequestRequestBodyCrsXssAction = - ClosedEnum; - -export type Xss = { - active: boolean; - action: PutFirewallConfigSecurityRequestRequestBodyCrsXssAction; -}; - -export const PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction = { - Deny: "deny", - Log: "log", -} as const; -export type PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction = - ClosedEnum; - -export type Sqli = { - active: boolean; - action: PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction; -}; - -export const PutFirewallConfigSecurityRequestRequestBodyCrsSfAction = { - Deny: "deny", - Log: "log", -} as const; -export type PutFirewallConfigSecurityRequestRequestBodyCrsSfAction = ClosedEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyCrsSfAction ->; - -export type Sf = { - active: boolean; - action: PutFirewallConfigSecurityRequestRequestBodyCrsSfAction; -}; - -export const PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction = { - Deny: "deny", - Log: "log", -} as const; -export type PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction = - ClosedEnum; - -export type Java = { - active: boolean; - action: PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction; -}; - -export type Crs = { - sd?: Sd | undefined; - ma?: Ma | undefined; - lfi?: Lfi | undefined; - rfi?: Rfi | undefined; - rce?: Rce | undefined; - php?: Php | undefined; - gen?: Gen | undefined; - xss?: Xss | undefined; - sqli?: Sqli | undefined; - sf?: Sf | undefined; - java?: Java | undefined; -}; - -export const PutFirewallConfigType = { - Host: "host", - Path: "path", - Method: "method", - Header: "header", - Query: "query", - Cookie: "cookie", - TargetPath: "target_path", - IpAddress: "ip_address", - Region: "region", - Protocol: "protocol", - Scheme: "scheme", - Environment: "environment", - UserAgent: "user_agent", - GeoContinent: "geo_continent", - GeoCountry: "geo_country", - GeoCountryRegion: "geo_country_region", - GeoCity: "geo_city", - GeoAsNumber: "geo_as_number", - Ja4Digest: "ja4_digest", - Ja3Digest: "ja3_digest", - RateLimitApiId: "rate_limit_api_id", -} as const; -export type PutFirewallConfigType = ClosedEnum; - -export const Op = { - Re: "re", - Eq: "eq", - Neq: "neq", - Ex: "ex", - Nex: "nex", - Inc: "inc", - Ninc: "ninc", - Pre: "pre", - Suf: "suf", - Sub: "sub", - Gt: "gt", - Gte: "gte", - Lt: "lt", - Lte: "lte", -} as const; -export type Op = ClosedEnum; - -export type PutFirewallConfigValue = string | Array | number; - -export type Conditions = { - type: PutFirewallConfigType; - op: Op; - neg?: boolean | undefined; - key?: string | undefined; - value?: string | Array | number | undefined; -}; - -export type ConditionGroup = { - conditions: Array; -}; - -export const PutFirewallConfigSecurityRequestRequestBodyRulesActionAction = { - Log: "log", - Challenge: "challenge", - Deny: "deny", - Bypass: "bypass", - RateLimit: "rate_limit", - Redirect: "redirect", -} as const; -export type PutFirewallConfigSecurityRequestRequestBodyRulesActionAction = - ClosedEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyRulesActionAction - >; - -export const Algo = { - FixedWindow: "fixed_window", - TokenBucket: "token_bucket", -} as const; -export type Algo = ClosedEnum; - -export const Action1 = { - Log: "log", - Challenge: "challenge", - Deny: "deny", - RateLimit: "rate_limit", -} as const; -export type Action1 = ClosedEnum; - -export type RateLimitAction = Action1 | any; - -export type RateLimit1 = { - algo: Algo; - window: number; - limit: number; - keys: Array; - action?: Action1 | any | null | undefined; -}; - -export type RateLimit = RateLimit1 | any; - -export type Redirect1 = { - location: string; - permanent: boolean; -}; - -export type Redirect = Redirect1 | any; - -export type Mitigate = { - action: PutFirewallConfigSecurityRequestRequestBodyRulesActionAction; - rateLimit?: RateLimit1 | any | null | undefined; - redirect?: Redirect1 | any | null | undefined; - actionDuration?: string | null | undefined; -}; - -export type PutFirewallConfigSecurityRequestRequestBodyRulesAction = { - mitigate?: Mitigate | undefined; -}; - -export type Rules = { - id?: string | undefined; - name: string; - description?: string | undefined; - active: boolean; - conditionGroup: Array; - action: PutFirewallConfigSecurityRequestRequestBodyRulesAction; -}; - -export const PutFirewallConfigSecurityRequestRequestBodyIpsAction = { - Deny: "deny", - Challenge: "challenge", - Log: "log", - Bypass: "bypass", -} as const; -export type PutFirewallConfigSecurityRequestRequestBodyIpsAction = ClosedEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyIpsAction ->; - -export type Ips = { - id?: string | undefined; - hostname: string; - ip: string; - notes?: string | undefined; - action: PutFirewallConfigSecurityRequestRequestBodyIpsAction; -}; - -export type PutFirewallConfigRequestBody = { - firewallEnabled: boolean; - managedRules?: ManagedRules | undefined; - crs?: Crs | undefined; - rules?: Array | undefined; - ips?: Array | undefined; -}; - -export type PutFirewallConfigRequest = { - projectId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: PutFirewallConfigRequestBody | undefined; -}; - -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction = - { - Deny: "deny", - Log: "log", - } as const; -export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction = - ClosedEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction - >; - -export type PutFirewallConfigSd = { - active: boolean; - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction; -}; - -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction = - { - Deny: "deny", - Log: "log", - } as const; -export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction = - ClosedEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction - >; - -export type PutFirewallConfigMa = { - active: boolean; - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction; -}; - -export const PutFirewallConfigSecurityResponse200ApplicationJSONAction = { - Deny: "deny", - Log: "log", -} as const; -export type PutFirewallConfigSecurityResponse200ApplicationJSONAction = - ClosedEnum; - -export type PutFirewallConfigLfi = { - active: boolean; - action: PutFirewallConfigSecurityResponse200ApplicationJSONAction; -}; - -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction = - { - Deny: "deny", - Log: "log", - } as const; -export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction = - ClosedEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction - >; - -export type PutFirewallConfigRfi = { - active: boolean; - action: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction; -}; - -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction = - { - Deny: "deny", - Log: "log", - } as const; -export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction = - ClosedEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction - >; - -export type PutFirewallConfigRce = { - active: boolean; - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction; -}; - -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction = - { - Deny: "deny", - Log: "log", - } as const; -export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction = - ClosedEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction - >; - -export type PutFirewallConfigPhp = { - active: boolean; - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction; -}; - -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction = - { - Deny: "deny", - Log: "log", - } as const; -export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction = - ClosedEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction - >; - -export type PutFirewallConfigGen = { - active: boolean; - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction; -}; - -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction = - { - Deny: "deny", - Log: "log", - } as const; -export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction = - ClosedEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction - >; - -export type PutFirewallConfigXss = { - active: boolean; - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction; -}; - -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction = - { - Deny: "deny", - Log: "log", - } as const; -export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction = - ClosedEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction - >; - -export type PutFirewallConfigSqli = { - active: boolean; - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction; -}; - -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction = - { - Deny: "deny", - Log: "log", - } as const; -export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction = - ClosedEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction - >; - -export type PutFirewallConfigSf = { - active: boolean; - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction; -}; - -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction = - { - Deny: "deny", - Log: "log", - } as const; -export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction = - ClosedEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction - >; - -export type PutFirewallConfigJava = { - active: boolean; - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction; -}; - -export type PutFirewallConfigCrs = { - sd: PutFirewallConfigSd; - ma: PutFirewallConfigMa; - lfi: PutFirewallConfigLfi; - rfi: PutFirewallConfigRfi; - rce: PutFirewallConfigRce; - php: PutFirewallConfigPhp; - gen: PutFirewallConfigGen; - xss: PutFirewallConfigXss; - sqli: PutFirewallConfigSqli; - sf: PutFirewallConfigSf; - java: PutFirewallConfigJava; -}; - -export const PutFirewallConfigSecurityType = { - Host: "host", - Path: "path", - Method: "method", - Header: "header", - Query: "query", - Cookie: "cookie", - TargetPath: "target_path", - IpAddress: "ip_address", - Protocol: "protocol", - Region: "region", - Scheme: "scheme", - Environment: "environment", - UserAgent: "user_agent", - GeoContinent: "geo_continent", - GeoCountry: "geo_country", - GeoCountryRegion: "geo_country_region", - GeoCity: "geo_city", - GeoAsNumber: "geo_as_number", - Ja4Digest: "ja4_digest", - Ja3Digest: "ja3_digest", - RateLimitApiId: "rate_limit_api_id", -} as const; -export type PutFirewallConfigSecurityType = ClosedEnum< - typeof PutFirewallConfigSecurityType ->; - -export const PutFirewallConfigOp = { - Re: "re", - Eq: "eq", - Ex: "ex", - Inc: "inc", - Pre: "pre", - Suf: "suf", - Sub: "sub", - Gt: "gt", - Gte: "gte", - Lt: "lt", - Lte: "lte", - Nex: "nex", - Ninc: "ninc", - Neq: "neq", -} as const; -export type PutFirewallConfigOp = ClosedEnum; - -export type PutFirewallConfigSecurityValue = string | number | Array; - -export type PutFirewallConfigConditions = { - type: PutFirewallConfigSecurityType; - op: PutFirewallConfigOp; - neg?: boolean | undefined; - key?: string | undefined; - value?: string | number | Array | undefined; -}; - -export type PutFirewallConfigConditionGroup = { - conditions: Array; -}; - -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction = - { - Deny: "deny", - Log: "log", - Challenge: "challenge", - Bypass: "bypass", - RateLimit: "rate_limit", - Redirect: "redirect", - } as const; -export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction = - ClosedEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction - >; - -export const PutFirewallConfigAlgo = { - FixedWindow: "fixed_window", - TokenBucket: "token_bucket", -} as const; -export type PutFirewallConfigAlgo = ClosedEnum; - -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction = - { - Deny: "deny", - Log: "log", - Challenge: "challenge", - RateLimit: "rate_limit", - } as const; -export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction = - ClosedEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction - >; - -export type PutFirewallConfigRateLimit = { - algo: PutFirewallConfigAlgo; - window: number; - limit: number; - keys: Array; - action?: - | PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction - | null - | undefined; -}; - -export type PutFirewallConfigRedirect = { - location: string; - permanent: boolean; -}; - -export type PutFirewallConfigMitigate = { - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction; - rateLimit?: PutFirewallConfigRateLimit | null | undefined; - redirect?: PutFirewallConfigRedirect | null | undefined; - actionDuration?: string | null | undefined; -}; - -export type PutFirewallConfigSecurityResponseAction = { - mitigate?: PutFirewallConfigMitigate | undefined; -}; - -export type PutFirewallConfigRules = { - id: string; - name: string; - description?: string | undefined; - active: boolean; - conditionGroup: Array; - action: PutFirewallConfigSecurityResponseAction; -}; - -export const PutFirewallConfigSecurityResponse200Action = { - Deny: "deny", - Log: "log", - Challenge: "challenge", - Bypass: "bypass", -} as const; -export type PutFirewallConfigSecurityResponse200Action = ClosedEnum< - typeof PutFirewallConfigSecurityResponse200Action ->; - -export type PutFirewallConfigIps = { - id: string; - hostname: string; - ip: string; - notes?: string | undefined; - action: PutFirewallConfigSecurityResponse200Action; -}; - -export type PutFirewallConfigChanges = {}; - -export type PutFirewallConfigOwasp = { - active: boolean; - updatedAt?: string | undefined; - userId?: string | undefined; - username?: string | undefined; -}; - -export type PutFirewallConfigVerifiedBotsBypass = { - active: boolean; - updatedAt?: string | undefined; - userId?: string | undefined; - username?: string | undefined; -}; - -export type PutFirewallConfigManagedRules = { - owasp?: PutFirewallConfigOwasp | undefined; - verifiedBotsBypass?: PutFirewallConfigVerifiedBotsBypass | undefined; -}; - -export type Active = { - ownerId: string; - projectKey: string; - id: string; - version: number; - updatedAt: string; - firewallEnabled: boolean; - crs: PutFirewallConfigCrs; - rules: Array; - ips: Array; - changes: Array; - managedRules?: PutFirewallConfigManagedRules | undefined; -}; - -export type PutFirewallConfigResponseBody = { - active: Active; -}; - -/** @internal */ -export const Owasp$inboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - }); - -/** @internal */ -export type Owasp$Outbound = { - active: boolean; -}; - -/** @internal */ -export const Owasp$outboundSchema: z.ZodType< - Owasp$Outbound, - z.ZodTypeDef, - Owasp -> = z.object({ - active: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Owasp$ { - /** @deprecated use `Owasp$inboundSchema` instead. */ - export const inboundSchema = Owasp$inboundSchema; - /** @deprecated use `Owasp$outboundSchema` instead. */ - export const outboundSchema = Owasp$outboundSchema; - /** @deprecated use `Owasp$Outbound` instead. */ - export type Outbound = Owasp$Outbound; -} - -export function owaspToJSON(owasp: Owasp): string { - return JSON.stringify(Owasp$outboundSchema.parse(owasp)); -} - -export function owaspFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Owasp$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Owasp' from JSON`, - ); -} - -/** @internal */ -export const ManagedRules$inboundSchema: z.ZodType< - ManagedRules, - z.ZodTypeDef, - unknown -> = z.object({ - owasp: z.lazy(() => Owasp$inboundSchema), -}); - -/** @internal */ -export type ManagedRules$Outbound = { - owasp: Owasp$Outbound; -}; - -/** @internal */ -export const ManagedRules$outboundSchema: z.ZodType< - ManagedRules$Outbound, - z.ZodTypeDef, - ManagedRules -> = z.object({ - owasp: z.lazy(() => Owasp$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ManagedRules$ { - /** @deprecated use `ManagedRules$inboundSchema` instead. */ - export const inboundSchema = ManagedRules$inboundSchema; - /** @deprecated use `ManagedRules$outboundSchema` instead. */ - export const outboundSchema = ManagedRules$outboundSchema; - /** @deprecated use `ManagedRules$Outbound` instead. */ - export type Outbound = ManagedRules$Outbound; -} - -export function managedRulesToJSON(managedRules: ManagedRules): string { - return JSON.stringify(ManagedRules$outboundSchema.parse(managedRules)); -} - -export function managedRulesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ManagedRules$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ManagedRules' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigAction$inboundSchema: z.ZodNativeEnum< - typeof PutFirewallConfigAction -> = z.nativeEnum(PutFirewallConfigAction); - -/** @internal */ -export const PutFirewallConfigAction$outboundSchema: z.ZodNativeEnum< - typeof PutFirewallConfigAction -> = PutFirewallConfigAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigAction$ { - /** @deprecated use `PutFirewallConfigAction$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigAction$inboundSchema; - /** @deprecated use `PutFirewallConfigAction$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigAction$outboundSchema; -} - -/** @internal */ -export const Sd$inboundSchema: z.ZodType = z.object({ - active: z.boolean(), - action: PutFirewallConfigAction$inboundSchema, -}); - -/** @internal */ -export type Sd$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const Sd$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: PutFirewallConfigAction$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Sd$ { - /** @deprecated use `Sd$inboundSchema` instead. */ - export const inboundSchema = Sd$inboundSchema; - /** @deprecated use `Sd$outboundSchema` instead. */ - export const outboundSchema = Sd$outboundSchema; - /** @deprecated use `Sd$Outbound` instead. */ - export type Outbound = Sd$Outbound; -} - -export function sdToJSON(sd: Sd): string { - return JSON.stringify(Sd$outboundSchema.parse(sd)); -} - -export function sdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Sd$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Sd' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityAction$inboundSchema: z.ZodNativeEnum< - typeof PutFirewallConfigSecurityAction -> = z.nativeEnum(PutFirewallConfigSecurityAction); - -/** @internal */ -export const PutFirewallConfigSecurityAction$outboundSchema: z.ZodNativeEnum< - typeof PutFirewallConfigSecurityAction -> = PutFirewallConfigSecurityAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityAction$ { - /** @deprecated use `PutFirewallConfigSecurityAction$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigSecurityAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityAction$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigSecurityAction$outboundSchema; -} - -/** @internal */ -export const Ma$inboundSchema: z.ZodType = z.object({ - active: z.boolean(), - action: PutFirewallConfigSecurityAction$inboundSchema, -}); - -/** @internal */ -export type Ma$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const Ma$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: PutFirewallConfigSecurityAction$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Ma$ { - /** @deprecated use `Ma$inboundSchema` instead. */ - export const inboundSchema = Ma$inboundSchema; - /** @deprecated use `Ma$outboundSchema` instead. */ - export const outboundSchema = Ma$outboundSchema; - /** @deprecated use `Ma$Outbound` instead. */ - export type Outbound = Ma$Outbound; -} - -export function maToJSON(ma: Ma): string { - return JSON.stringify(Ma$outboundSchema.parse(ma)); -} - -export function maFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Ma$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Ma' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityRequestAction$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - PutFirewallConfigSecurityRequestAction, - ); - -/** @internal */ -export const PutFirewallConfigSecurityRequestAction$outboundSchema: - z.ZodNativeEnum = - PutFirewallConfigSecurityRequestAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityRequestAction$ { - /** @deprecated use `PutFirewallConfigSecurityRequestAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityRequestAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRequestAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityRequestAction$outboundSchema; -} - -/** @internal */ -export const Lfi$inboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: PutFirewallConfigSecurityRequestAction$inboundSchema, - }); - -/** @internal */ -export type Lfi$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const Lfi$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: PutFirewallConfigSecurityRequestAction$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Lfi$ { - /** @deprecated use `Lfi$inboundSchema` instead. */ - export const inboundSchema = Lfi$inboundSchema; - /** @deprecated use `Lfi$outboundSchema` instead. */ - export const outboundSchema = Lfi$outboundSchema; - /** @deprecated use `Lfi$Outbound` instead. */ - export type Outbound = Lfi$Outbound; -} - -export function lfiToJSON(lfi: Lfi): string { - return JSON.stringify(Lfi$outboundSchema.parse(lfi)); -} - -export function lfiFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Lfi$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Lfi' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PutFirewallConfigSecurityRequestRequestBodyAction); - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema: - z.ZodNativeEnum = - PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityRequestRequestBodyAction$ { - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema; -} - -/** @internal */ -export const Rfi$inboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema, - }); - -/** @internal */ -export type Rfi$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const Rfi$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Rfi$ { - /** @deprecated use `Rfi$inboundSchema` instead. */ - export const inboundSchema = Rfi$inboundSchema; - /** @deprecated use `Rfi$outboundSchema` instead. */ - export const outboundSchema = Rfi$outboundSchema; - /** @deprecated use `Rfi$Outbound` instead. */ - export type Outbound = Rfi$Outbound; -} - -export function rfiToJSON(rfi: Rfi): string { - return JSON.stringify(Rfi$outboundSchema.parse(rfi)); -} - -export function rfiFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Rfi$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Rfi' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema: - z.ZodNativeEnum = - z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsAction); - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema: - z.ZodNativeEnum = - PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityRequestRequestBodyCrsAction$ { - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema; -} - -/** @internal */ -export const Rce$inboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema, - }); - -/** @internal */ -export type Rce$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const Rce$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Rce$ { - /** @deprecated use `Rce$inboundSchema` instead. */ - export const inboundSchema = Rce$inboundSchema; - /** @deprecated use `Rce$outboundSchema` instead. */ - export const outboundSchema = Rce$outboundSchema; - /** @deprecated use `Rce$Outbound` instead. */ - export type Outbound = Rce$Outbound; -} - -export function rceToJSON(rce: Rce): string { - return JSON.stringify(Rce$outboundSchema.parse(rce)); -} - -export function rceFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Rce$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Rce' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction - > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction); - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction - > = PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$ { - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema; -} - -/** @internal */ -export const Php$inboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema, - }); - -/** @internal */ -export type Php$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const Php$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Php$ { - /** @deprecated use `Php$inboundSchema` instead. */ - export const inboundSchema = Php$inboundSchema; - /** @deprecated use `Php$outboundSchema` instead. */ - export const outboundSchema = Php$outboundSchema; - /** @deprecated use `Php$Outbound` instead. */ - export type Outbound = Php$Outbound; -} - -export function phpToJSON(php: Php): string { - return JSON.stringify(Php$outboundSchema.parse(php)); -} - -export function phpFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Php$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Php' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyCrsGenAction - > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsGenAction); - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyCrsGenAction - > = PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$ { - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$outboundSchema; -} - -/** @internal */ -export const Gen$inboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema, - }); - -/** @internal */ -export type Gen$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const Gen$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Gen$ { - /** @deprecated use `Gen$inboundSchema` instead. */ - export const inboundSchema = Gen$inboundSchema; - /** @deprecated use `Gen$outboundSchema` instead. */ - export const outboundSchema = Gen$outboundSchema; - /** @deprecated use `Gen$Outbound` instead. */ - export type Outbound = Gen$Outbound; -} - -export function genToJSON(gen: Gen): string { - return JSON.stringify(Gen$outboundSchema.parse(gen)); -} - -export function genFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Gen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Gen' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyCrsXssAction - > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsXssAction); - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyCrsXssAction - > = PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$ { - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$outboundSchema; -} - -/** @internal */ -export const Xss$inboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema, - }); - -/** @internal */ -export type Xss$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const Xss$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Xss$ { - /** @deprecated use `Xss$inboundSchema` instead. */ - export const inboundSchema = Xss$inboundSchema; - /** @deprecated use `Xss$outboundSchema` instead. */ - export const outboundSchema = Xss$outboundSchema; - /** @deprecated use `Xss$Outbound` instead. */ - export type Outbound = Xss$Outbound; -} - -export function xssToJSON(xss: Xss): string { - return JSON.stringify(Xss$outboundSchema.parse(xss)); -} - -export function xssFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Xss$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Xss' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction - > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction); - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction - > = PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$ { - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$outboundSchema; -} - -/** @internal */ -export const Sqli$inboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema, - }); - -/** @internal */ -export type Sqli$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const Sqli$outboundSchema: z.ZodType = - z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Sqli$ { - /** @deprecated use `Sqli$inboundSchema` instead. */ - export const inboundSchema = Sqli$inboundSchema; - /** @deprecated use `Sqli$outboundSchema` instead. */ - export const outboundSchema = Sqli$outboundSchema; - /** @deprecated use `Sqli$Outbound` instead. */ - export type Outbound = Sqli$Outbound; -} - -export function sqliToJSON(sqli: Sqli): string { - return JSON.stringify(Sqli$outboundSchema.parse(sqli)); -} - -export function sqliFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Sqli$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Sqli' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyCrsSfAction - > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsSfAction); - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyCrsSfAction - > = PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$ { - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$outboundSchema; -} - -/** @internal */ -export const Sf$inboundSchema: z.ZodType = z.object({ - active: z.boolean(), - action: PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchema, -}); - -/** @internal */ -export type Sf$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const Sf$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Sf$ { - /** @deprecated use `Sf$inboundSchema` instead. */ - export const inboundSchema = Sf$inboundSchema; - /** @deprecated use `Sf$outboundSchema` instead. */ - export const outboundSchema = Sf$outboundSchema; - /** @deprecated use `Sf$Outbound` instead. */ - export type Outbound = Sf$Outbound; -} - -export function sfToJSON(sf: Sf): string { - return JSON.stringify(Sf$outboundSchema.parse(sf)); -} - -export function sfFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Sf$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Sf' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction - > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction); - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction - > = PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$ { - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$outboundSchema; -} - -/** @internal */ -export const Java$inboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema, - }); - -/** @internal */ -export type Java$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const Java$outboundSchema: z.ZodType = - z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Java$ { - /** @deprecated use `Java$inboundSchema` instead. */ - export const inboundSchema = Java$inboundSchema; - /** @deprecated use `Java$outboundSchema` instead. */ - export const outboundSchema = Java$outboundSchema; - /** @deprecated use `Java$Outbound` instead. */ - export type Outbound = Java$Outbound; -} - -export function javaToJSON(java: Java): string { - return JSON.stringify(Java$outboundSchema.parse(java)); -} - -export function javaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Java$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Java' from JSON`, - ); -} - -/** @internal */ -export const Crs$inboundSchema: z.ZodType = z - .object({ - sd: z.lazy(() => Sd$inboundSchema).optional(), - ma: z.lazy(() => Ma$inboundSchema).optional(), - lfi: z.lazy(() => Lfi$inboundSchema).optional(), - rfi: z.lazy(() => Rfi$inboundSchema).optional(), - rce: z.lazy(() => Rce$inboundSchema).optional(), - php: z.lazy(() => Php$inboundSchema).optional(), - gen: z.lazy(() => Gen$inboundSchema).optional(), - xss: z.lazy(() => Xss$inboundSchema).optional(), - sqli: z.lazy(() => Sqli$inboundSchema).optional(), - sf: z.lazy(() => Sf$inboundSchema).optional(), - java: z.lazy(() => Java$inboundSchema).optional(), - }); - -/** @internal */ -export type Crs$Outbound = { - sd?: Sd$Outbound | undefined; - ma?: Ma$Outbound | undefined; - lfi?: Lfi$Outbound | undefined; - rfi?: Rfi$Outbound | undefined; - rce?: Rce$Outbound | undefined; - php?: Php$Outbound | undefined; - gen?: Gen$Outbound | undefined; - xss?: Xss$Outbound | undefined; - sqli?: Sqli$Outbound | undefined; - sf?: Sf$Outbound | undefined; - java?: Java$Outbound | undefined; -}; - -/** @internal */ -export const Crs$outboundSchema: z.ZodType = z - .object({ - sd: z.lazy(() => Sd$outboundSchema).optional(), - ma: z.lazy(() => Ma$outboundSchema).optional(), - lfi: z.lazy(() => Lfi$outboundSchema).optional(), - rfi: z.lazy(() => Rfi$outboundSchema).optional(), - rce: z.lazy(() => Rce$outboundSchema).optional(), - php: z.lazy(() => Php$outboundSchema).optional(), - gen: z.lazy(() => Gen$outboundSchema).optional(), - xss: z.lazy(() => Xss$outboundSchema).optional(), - sqli: z.lazy(() => Sqli$outboundSchema).optional(), - sf: z.lazy(() => Sf$outboundSchema).optional(), - java: z.lazy(() => Java$outboundSchema).optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Crs$ { - /** @deprecated use `Crs$inboundSchema` instead. */ - export const inboundSchema = Crs$inboundSchema; - /** @deprecated use `Crs$outboundSchema` instead. */ - export const outboundSchema = Crs$outboundSchema; - /** @deprecated use `Crs$Outbound` instead. */ - export type Outbound = Crs$Outbound; -} - -export function crsToJSON(crs: Crs): string { - return JSON.stringify(Crs$outboundSchema.parse(crs)); -} - -export function crsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Crs$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Crs' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigType$inboundSchema: z.ZodNativeEnum< - typeof PutFirewallConfigType -> = z.nativeEnum(PutFirewallConfigType); - -/** @internal */ -export const PutFirewallConfigType$outboundSchema: z.ZodNativeEnum< - typeof PutFirewallConfigType -> = PutFirewallConfigType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigType$ { - /** @deprecated use `PutFirewallConfigType$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigType$inboundSchema; - /** @deprecated use `PutFirewallConfigType$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigType$outboundSchema; -} - -/** @internal */ -export const Op$inboundSchema: z.ZodNativeEnum = z.nativeEnum(Op); - -/** @internal */ -export const Op$outboundSchema: z.ZodNativeEnum = Op$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Op$ { - /** @deprecated use `Op$inboundSchema` instead. */ - export const inboundSchema = Op$inboundSchema; - /** @deprecated use `Op$outboundSchema` instead. */ - export const outboundSchema = Op$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigValue$inboundSchema: z.ZodType< - PutFirewallConfigValue, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.array(z.string()), z.number()]); - -/** @internal */ -export type PutFirewallConfigValue$Outbound = string | Array | number; - -/** @internal */ -export const PutFirewallConfigValue$outboundSchema: z.ZodType< - PutFirewallConfigValue$Outbound, - z.ZodTypeDef, - PutFirewallConfigValue -> = z.union([z.string(), z.array(z.string()), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigValue$ { - /** @deprecated use `PutFirewallConfigValue$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigValue$inboundSchema; - /** @deprecated use `PutFirewallConfigValue$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigValue$outboundSchema; - /** @deprecated use `PutFirewallConfigValue$Outbound` instead. */ - export type Outbound = PutFirewallConfigValue$Outbound; -} - -export function putFirewallConfigValueToJSON( - putFirewallConfigValue: PutFirewallConfigValue, -): string { - return JSON.stringify( - PutFirewallConfigValue$outboundSchema.parse(putFirewallConfigValue), - ); -} - -export function putFirewallConfigValueFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigValue$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigValue' from JSON`, - ); -} - -/** @internal */ -export const Conditions$inboundSchema: z.ZodType< - Conditions, - z.ZodTypeDef, - unknown -> = z.object({ - type: PutFirewallConfigType$inboundSchema, - op: Op$inboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: z.union([z.string(), z.array(z.string()), z.number()]).optional(), -}); - -/** @internal */ -export type Conditions$Outbound = { - type: string; - op: string; - neg?: boolean | undefined; - key?: string | undefined; - value?: string | Array | number | undefined; -}; - -/** @internal */ -export const Conditions$outboundSchema: z.ZodType< - Conditions$Outbound, - z.ZodTypeDef, - Conditions -> = z.object({ - type: PutFirewallConfigType$outboundSchema, - op: Op$outboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: z.union([z.string(), z.array(z.string()), z.number()]).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Conditions$ { - /** @deprecated use `Conditions$inboundSchema` instead. */ - export const inboundSchema = Conditions$inboundSchema; - /** @deprecated use `Conditions$outboundSchema` instead. */ - export const outboundSchema = Conditions$outboundSchema; - /** @deprecated use `Conditions$Outbound` instead. */ - export type Outbound = Conditions$Outbound; -} - -export function conditionsToJSON(conditions: Conditions): string { - return JSON.stringify(Conditions$outboundSchema.parse(conditions)); -} - -export function conditionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Conditions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Conditions' from JSON`, - ); -} - -/** @internal */ -export const ConditionGroup$inboundSchema: z.ZodType< - ConditionGroup, - z.ZodTypeDef, - unknown -> = z.object({ - conditions: z.array(z.lazy(() => Conditions$inboundSchema)), -}); - -/** @internal */ -export type ConditionGroup$Outbound = { - conditions: Array; -}; - -/** @internal */ -export const ConditionGroup$outboundSchema: z.ZodType< - ConditionGroup$Outbound, - z.ZodTypeDef, - ConditionGroup -> = z.object({ - conditions: z.array(z.lazy(() => Conditions$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ConditionGroup$ { - /** @deprecated use `ConditionGroup$inboundSchema` instead. */ - export const inboundSchema = ConditionGroup$inboundSchema; - /** @deprecated use `ConditionGroup$outboundSchema` instead. */ - export const outboundSchema = ConditionGroup$outboundSchema; - /** @deprecated use `ConditionGroup$Outbound` instead. */ - export type Outbound = ConditionGroup$Outbound; -} - -export function conditionGroupToJSON(conditionGroup: ConditionGroup): string { - return JSON.stringify(ConditionGroup$outboundSchema.parse(conditionGroup)); -} - -export function conditionGroupFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ConditionGroup$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ConditionGroup' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyRulesActionAction - > = z.nativeEnum( - PutFirewallConfigSecurityRequestRequestBodyRulesActionAction, - ); - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityRequestRequestBodyRulesActionAction - > = - PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$ { - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outboundSchema; -} - -/** @internal */ -export const Algo$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Algo, -); - -/** @internal */ -export const Algo$outboundSchema: z.ZodNativeEnum = - Algo$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Algo$ { - /** @deprecated use `Algo$inboundSchema` instead. */ - export const inboundSchema = Algo$inboundSchema; - /** @deprecated use `Algo$outboundSchema` instead. */ - export const outboundSchema = Algo$outboundSchema; -} - -/** @internal */ -export const Action1$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Action1); - -/** @internal */ -export const Action1$outboundSchema: z.ZodNativeEnum = - Action1$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Action1$ { - /** @deprecated use `Action1$inboundSchema` instead. */ - export const inboundSchema = Action1$inboundSchema; - /** @deprecated use `Action1$outboundSchema` instead. */ - export const outboundSchema = Action1$outboundSchema; -} - -/** @internal */ -export const RateLimitAction$inboundSchema: z.ZodType< - RateLimitAction, - z.ZodTypeDef, - unknown -> = z.union([Action1$inboundSchema, z.any()]); - -/** @internal */ -export type RateLimitAction$Outbound = string | any; - -/** @internal */ -export const RateLimitAction$outboundSchema: z.ZodType< - RateLimitAction$Outbound, - z.ZodTypeDef, - RateLimitAction -> = z.union([Action1$outboundSchema, z.any()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RateLimitAction$ { - /** @deprecated use `RateLimitAction$inboundSchema` instead. */ - export const inboundSchema = RateLimitAction$inboundSchema; - /** @deprecated use `RateLimitAction$outboundSchema` instead. */ - export const outboundSchema = RateLimitAction$outboundSchema; - /** @deprecated use `RateLimitAction$Outbound` instead. */ - export type Outbound = RateLimitAction$Outbound; -} - -export function rateLimitActionToJSON( - rateLimitAction: RateLimitAction, -): string { - return JSON.stringify(RateLimitAction$outboundSchema.parse(rateLimitAction)); -} - -export function rateLimitActionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RateLimitAction$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RateLimitAction' from JSON`, - ); -} - -/** @internal */ -export const RateLimit1$inboundSchema: z.ZodType< - RateLimit1, - z.ZodTypeDef, - unknown -> = z.object({ - algo: Algo$inboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), - action: z.nullable(z.union([Action1$inboundSchema, z.any()])).optional(), -}); - -/** @internal */ -export type RateLimit1$Outbound = { - algo: string; - window: number; - limit: number; - keys: Array; - action?: string | any | null | undefined; -}; - -/** @internal */ -export const RateLimit1$outboundSchema: z.ZodType< - RateLimit1$Outbound, - z.ZodTypeDef, - RateLimit1 -> = z.object({ - algo: Algo$outboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), - action: z.nullable(z.union([Action1$outboundSchema, z.any()])).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RateLimit1$ { - /** @deprecated use `RateLimit1$inboundSchema` instead. */ - export const inboundSchema = RateLimit1$inboundSchema; - /** @deprecated use `RateLimit1$outboundSchema` instead. */ - export const outboundSchema = RateLimit1$outboundSchema; - /** @deprecated use `RateLimit1$Outbound` instead. */ - export type Outbound = RateLimit1$Outbound; -} - -export function rateLimit1ToJSON(rateLimit1: RateLimit1): string { - return JSON.stringify(RateLimit1$outboundSchema.parse(rateLimit1)); -} - -export function rateLimit1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RateLimit1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RateLimit1' from JSON`, - ); -} - -/** @internal */ -export const RateLimit$inboundSchema: z.ZodType< - RateLimit, - z.ZodTypeDef, - unknown -> = z.union([z.lazy(() => RateLimit1$inboundSchema), z.any()]); - -/** @internal */ -export type RateLimit$Outbound = RateLimit1$Outbound | any; - -/** @internal */ -export const RateLimit$outboundSchema: z.ZodType< - RateLimit$Outbound, - z.ZodTypeDef, - RateLimit -> = z.union([z.lazy(() => RateLimit1$outboundSchema), z.any()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RateLimit$ { - /** @deprecated use `RateLimit$inboundSchema` instead. */ - export const inboundSchema = RateLimit$inboundSchema; - /** @deprecated use `RateLimit$outboundSchema` instead. */ - export const outboundSchema = RateLimit$outboundSchema; - /** @deprecated use `RateLimit$Outbound` instead. */ - export type Outbound = RateLimit$Outbound; -} - -export function rateLimitToJSON(rateLimit: RateLimit): string { - return JSON.stringify(RateLimit$outboundSchema.parse(rateLimit)); -} - -export function rateLimitFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RateLimit$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RateLimit' from JSON`, - ); -} - -/** @internal */ -export const Redirect1$inboundSchema: z.ZodType< - Redirect1, - z.ZodTypeDef, - unknown -> = z.object({ - location: z.string(), - permanent: z.boolean(), -}); - -/** @internal */ -export type Redirect1$Outbound = { - location: string; - permanent: boolean; -}; - -/** @internal */ -export const Redirect1$outboundSchema: z.ZodType< - Redirect1$Outbound, - z.ZodTypeDef, - Redirect1 -> = z.object({ - location: z.string(), - permanent: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Redirect1$ { - /** @deprecated use `Redirect1$inboundSchema` instead. */ - export const inboundSchema = Redirect1$inboundSchema; - /** @deprecated use `Redirect1$outboundSchema` instead. */ - export const outboundSchema = Redirect1$outboundSchema; - /** @deprecated use `Redirect1$Outbound` instead. */ - export type Outbound = Redirect1$Outbound; -} - -export function redirect1ToJSON(redirect1: Redirect1): string { - return JSON.stringify(Redirect1$outboundSchema.parse(redirect1)); -} - -export function redirect1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Redirect1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Redirect1' from JSON`, - ); -} - -/** @internal */ -export const Redirect$inboundSchema: z.ZodType< - Redirect, - z.ZodTypeDef, - unknown -> = z.union([z.lazy(() => Redirect1$inboundSchema), z.any()]); - -/** @internal */ -export type Redirect$Outbound = Redirect1$Outbound | any; - -/** @internal */ -export const Redirect$outboundSchema: z.ZodType< - Redirect$Outbound, - z.ZodTypeDef, - Redirect -> = z.union([z.lazy(() => Redirect1$outboundSchema), z.any()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Redirect$ { - /** @deprecated use `Redirect$inboundSchema` instead. */ - export const inboundSchema = Redirect$inboundSchema; - /** @deprecated use `Redirect$outboundSchema` instead. */ - export const outboundSchema = Redirect$outboundSchema; - /** @deprecated use `Redirect$Outbound` instead. */ - export type Outbound = Redirect$Outbound; -} - -export function redirectToJSON(redirect: Redirect): string { - return JSON.stringify(Redirect$outboundSchema.parse(redirect)); -} - -export function redirectFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Redirect$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Redirect' from JSON`, - ); -} - -/** @internal */ -export const Mitigate$inboundSchema: z.ZodType< - Mitigate, - z.ZodTypeDef, - unknown -> = z.object({ - action: - PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboundSchema, - rateLimit: z.nullable( - z.union([z.lazy(() => RateLimit1$inboundSchema), z.any()]), - ).optional(), - redirect: z.nullable( - z.union([z.lazy(() => Redirect1$inboundSchema), z.any()]), - ).optional(), - actionDuration: z.nullable(z.string()).optional(), -}); - -/** @internal */ -export type Mitigate$Outbound = { - action: string; - rateLimit?: RateLimit1$Outbound | any | null | undefined; - redirect?: Redirect1$Outbound | any | null | undefined; - actionDuration?: string | null | undefined; -}; - -/** @internal */ -export const Mitigate$outboundSchema: z.ZodType< - Mitigate$Outbound, - z.ZodTypeDef, - Mitigate -> = z.object({ - action: - PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outboundSchema, - rateLimit: z.nullable( - z.union([z.lazy(() => RateLimit1$outboundSchema), z.any()]), - ).optional(), - redirect: z.nullable( - z.union([z.lazy(() => Redirect1$outboundSchema), z.any()]), - ).optional(), - actionDuration: z.nullable(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Mitigate$ { - /** @deprecated use `Mitigate$inboundSchema` instead. */ - export const inboundSchema = Mitigate$inboundSchema; - /** @deprecated use `Mitigate$outboundSchema` instead. */ - export const outboundSchema = Mitigate$outboundSchema; - /** @deprecated use `Mitigate$Outbound` instead. */ - export type Outbound = Mitigate$Outbound; -} - -export function mitigateToJSON(mitigate: Mitigate): string { - return JSON.stringify(Mitigate$outboundSchema.parse(mitigate)); -} - -export function mitigateFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Mitigate$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Mitigate' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema: - z.ZodType< - PutFirewallConfigSecurityRequestRequestBodyRulesAction, - z.ZodTypeDef, - unknown - > = z.object({ - mitigate: z.lazy(() => Mitigate$inboundSchema).optional(), - }); - -/** @internal */ -export type PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound = { - mitigate?: Mitigate$Outbound | undefined; -}; - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema: - z.ZodType< - PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound, - z.ZodTypeDef, - PutFirewallConfigSecurityRequestRequestBodyRulesAction - > = z.object({ - mitigate: z.lazy(() => Mitigate$outboundSchema).optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityRequestRequestBodyRulesAction$ { - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound` instead. */ - export type Outbound = - PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound; -} - -export function putFirewallConfigSecurityRequestRequestBodyRulesActionToJSON( - putFirewallConfigSecurityRequestRequestBodyRulesAction: - PutFirewallConfigSecurityRequestRequestBodyRulesAction, -): string { - return JSON.stringify( - PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema.parse( - putFirewallConfigSecurityRequestRequestBodyRulesAction, - ), - ); -} - -export function putFirewallConfigSecurityRequestRequestBodyRulesActionFromJSON( - jsonString: string, -): SafeParseResult< - PutFirewallConfigSecurityRequestRequestBodyRulesAction, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema - .parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigSecurityRequestRequestBodyRulesAction' from JSON`, - ); -} - -/** @internal */ -export const Rules$inboundSchema: z.ZodType = z - .object({ - id: z.string().optional(), - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array(z.lazy(() => ConditionGroup$inboundSchema)), - action: z.lazy(() => - PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema - ), - }); - -/** @internal */ -export type Rules$Outbound = { - id?: string | undefined; - name: string; - description?: string | undefined; - active: boolean; - conditionGroup: Array; - action: PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound; -}; - -/** @internal */ -export const Rules$outboundSchema: z.ZodType< - Rules$Outbound, - z.ZodTypeDef, - Rules -> = z.object({ - id: z.string().optional(), - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array(z.lazy(() => ConditionGroup$outboundSchema)), - action: z.lazy(() => - PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema - ), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Rules$ { - /** @deprecated use `Rules$inboundSchema` instead. */ - export const inboundSchema = Rules$inboundSchema; - /** @deprecated use `Rules$outboundSchema` instead. */ - export const outboundSchema = Rules$outboundSchema; - /** @deprecated use `Rules$Outbound` instead. */ - export type Outbound = Rules$Outbound; -} - -export function rulesToJSON(rules: Rules): string { - return JSON.stringify(Rules$outboundSchema.parse(rules)); -} - -export function rulesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Rules$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Rules' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema: - z.ZodNativeEnum = - z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyIpsAction); - -/** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyIpsAction$outboundSchema: - z.ZodNativeEnum = - PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityRequestRequestBodyIpsAction$ { - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyIpsAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityRequestRequestBodyIpsAction$outboundSchema; -} - -/** @internal */ -export const Ips$inboundSchema: z.ZodType = z - .object({ - id: z.string().optional(), - hostname: z.string(), - ip: z.string(), - notes: z.string().optional(), - action: PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema, - }); - -/** @internal */ -export type Ips$Outbound = { - id?: string | undefined; - hostname: string; - ip: string; - notes?: string | undefined; - action: string; -}; - -/** @internal */ -export const Ips$outboundSchema: z.ZodType = z - .object({ - id: z.string().optional(), - hostname: z.string(), - ip: z.string(), - notes: z.string().optional(), - action: PutFirewallConfigSecurityRequestRequestBodyIpsAction$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Ips$ { - /** @deprecated use `Ips$inboundSchema` instead. */ - export const inboundSchema = Ips$inboundSchema; - /** @deprecated use `Ips$outboundSchema` instead. */ - export const outboundSchema = Ips$outboundSchema; - /** @deprecated use `Ips$Outbound` instead. */ - export type Outbound = Ips$Outbound; -} - -export function ipsToJSON(ips: Ips): string { - return JSON.stringify(Ips$outboundSchema.parse(ips)); -} - -export function ipsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Ips$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Ips' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigRequestBody$inboundSchema: z.ZodType< - PutFirewallConfigRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - firewallEnabled: z.boolean(), - managedRules: z.lazy(() => ManagedRules$inboundSchema).optional(), - crs: z.lazy(() => Crs$inboundSchema).optional(), - rules: z.array(z.lazy(() => Rules$inboundSchema)).optional(), - ips: z.array(z.lazy(() => Ips$inboundSchema)).optional(), -}); - -/** @internal */ -export type PutFirewallConfigRequestBody$Outbound = { - firewallEnabled: boolean; - managedRules?: ManagedRules$Outbound | undefined; - crs?: Crs$Outbound | undefined; - rules?: Array | undefined; - ips?: Array | undefined; -}; - -/** @internal */ -export const PutFirewallConfigRequestBody$outboundSchema: z.ZodType< - PutFirewallConfigRequestBody$Outbound, - z.ZodTypeDef, - PutFirewallConfigRequestBody -> = z.object({ - firewallEnabled: z.boolean(), - managedRules: z.lazy(() => ManagedRules$outboundSchema).optional(), - crs: z.lazy(() => Crs$outboundSchema).optional(), - rules: z.array(z.lazy(() => Rules$outboundSchema)).optional(), - ips: z.array(z.lazy(() => Ips$outboundSchema)).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigRequestBody$ { - /** @deprecated use `PutFirewallConfigRequestBody$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigRequestBody$inboundSchema; - /** @deprecated use `PutFirewallConfigRequestBody$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigRequestBody$outboundSchema; - /** @deprecated use `PutFirewallConfigRequestBody$Outbound` instead. */ - export type Outbound = PutFirewallConfigRequestBody$Outbound; -} - -export function putFirewallConfigRequestBodyToJSON( - putFirewallConfigRequestBody: PutFirewallConfigRequestBody, -): string { - return JSON.stringify( - PutFirewallConfigRequestBody$outboundSchema.parse( - putFirewallConfigRequestBody, - ), - ); -} - -export function putFirewallConfigRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigRequestBody' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigRequest$inboundSchema: z.ZodType< - PutFirewallConfigRequest, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => PutFirewallConfigRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type PutFirewallConfigRequest$Outbound = { - projectId: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: PutFirewallConfigRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const PutFirewallConfigRequest$outboundSchema: z.ZodType< - PutFirewallConfigRequest$Outbound, - z.ZodTypeDef, - PutFirewallConfigRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => PutFirewallConfigRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigRequest$ { - /** @deprecated use `PutFirewallConfigRequest$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigRequest$inboundSchema; - /** @deprecated use `PutFirewallConfigRequest$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigRequest$outboundSchema; - /** @deprecated use `PutFirewallConfigRequest$Outbound` instead. */ - export type Outbound = PutFirewallConfigRequest$Outbound; -} - -export function putFirewallConfigRequestToJSON( - putFirewallConfigRequest: PutFirewallConfigRequest, -): string { - return JSON.stringify( - PutFirewallConfigRequest$outboundSchema.parse(putFirewallConfigRequest), - ); -} - -export function putFirewallConfigRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigRequest' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction, - ); - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction - > = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigSd$inboundSchema: z.ZodType< - PutFirewallConfigSd, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema, -}); - -/** @internal */ -export type PutFirewallConfigSd$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const PutFirewallConfigSd$outboundSchema: z.ZodType< - PutFirewallConfigSd$Outbound, - z.ZodTypeDef, - PutFirewallConfigSd -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSd$ { - /** @deprecated use `PutFirewallConfigSd$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigSd$inboundSchema; - /** @deprecated use `PutFirewallConfigSd$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigSd$outboundSchema; - /** @deprecated use `PutFirewallConfigSd$Outbound` instead. */ - export type Outbound = PutFirewallConfigSd$Outbound; -} - -export function putFirewallConfigSdToJSON( - putFirewallConfigSd: PutFirewallConfigSd, -): string { - return JSON.stringify( - PutFirewallConfigSd$outboundSchema.parse(putFirewallConfigSd), - ); -} - -export function putFirewallConfigSdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigSd$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigSd' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction, - ); - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction - > = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigMa$inboundSchema: z.ZodType< - PutFirewallConfigMa, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema, -}); - -/** @internal */ -export type PutFirewallConfigMa$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const PutFirewallConfigMa$outboundSchema: z.ZodType< - PutFirewallConfigMa$Outbound, - z.ZodTypeDef, - PutFirewallConfigMa -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigMa$ { - /** @deprecated use `PutFirewallConfigMa$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigMa$inboundSchema; - /** @deprecated use `PutFirewallConfigMa$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigMa$outboundSchema; - /** @deprecated use `PutFirewallConfigMa$Outbound` instead. */ - export type Outbound = PutFirewallConfigMa$Outbound; -} - -export function putFirewallConfigMaToJSON( - putFirewallConfigMa: PutFirewallConfigMa, -): string { - return JSON.stringify( - PutFirewallConfigMa$outboundSchema.parse(putFirewallConfigMa), - ); -} - -export function putFirewallConfigMaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigMa$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigMa' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONAction - > = z.nativeEnum(PutFirewallConfigSecurityResponse200ApplicationJSONAction); - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONAction - > = PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200ApplicationJSONAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigLfi$inboundSchema: z.ZodType< - PutFirewallConfigLfi, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema, -}); - -/** @internal */ -export type PutFirewallConfigLfi$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const PutFirewallConfigLfi$outboundSchema: z.ZodType< - PutFirewallConfigLfi$Outbound, - z.ZodTypeDef, - PutFirewallConfigLfi -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigLfi$ { - /** @deprecated use `PutFirewallConfigLfi$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigLfi$inboundSchema; - /** @deprecated use `PutFirewallConfigLfi$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigLfi$outboundSchema; - /** @deprecated use `PutFirewallConfigLfi$Outbound` instead. */ - export type Outbound = PutFirewallConfigLfi$Outbound; -} - -export function putFirewallConfigLfiToJSON( - putFirewallConfigLfi: PutFirewallConfigLfi, -): string { - return JSON.stringify( - PutFirewallConfigLfi$outboundSchema.parse(putFirewallConfigLfi), - ); -} - -export function putFirewallConfigLfiFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigLfi$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigLfi' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction, - ); - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction - > = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigRfi$inboundSchema: z.ZodType< - PutFirewallConfigRfi, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, -}); - -/** @internal */ -export type PutFirewallConfigRfi$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const PutFirewallConfigRfi$outboundSchema: z.ZodType< - PutFirewallConfigRfi$Outbound, - z.ZodTypeDef, - PutFirewallConfigRfi -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigRfi$ { - /** @deprecated use `PutFirewallConfigRfi$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigRfi$inboundSchema; - /** @deprecated use `PutFirewallConfigRfi$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigRfi$outboundSchema; - /** @deprecated use `PutFirewallConfigRfi$Outbound` instead. */ - export type Outbound = PutFirewallConfigRfi$Outbound; -} - -export function putFirewallConfigRfiToJSON( - putFirewallConfigRfi: PutFirewallConfigRfi, -): string { - return JSON.stringify( - PutFirewallConfigRfi$outboundSchema.parse(putFirewallConfigRfi), - ); -} - -export function putFirewallConfigRfiFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigRfi$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigRfi' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction, - ); - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction - > = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigRce$inboundSchema: z.ZodType< - PutFirewallConfigRce, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema, -}); - -/** @internal */ -export type PutFirewallConfigRce$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const PutFirewallConfigRce$outboundSchema: z.ZodType< - PutFirewallConfigRce$Outbound, - z.ZodTypeDef, - PutFirewallConfigRce -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigRce$ { - /** @deprecated use `PutFirewallConfigRce$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigRce$inboundSchema; - /** @deprecated use `PutFirewallConfigRce$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigRce$outboundSchema; - /** @deprecated use `PutFirewallConfigRce$Outbound` instead. */ - export type Outbound = PutFirewallConfigRce$Outbound; -} - -export function putFirewallConfigRceToJSON( - putFirewallConfigRce: PutFirewallConfigRce, -): string { - return JSON.stringify( - PutFirewallConfigRce$outboundSchema.parse(putFirewallConfigRce), - ); -} - -export function putFirewallConfigRceFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigRce$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigRce' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction, - ); - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction - > = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigPhp$inboundSchema: z.ZodType< - PutFirewallConfigPhp, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema, -}); - -/** @internal */ -export type PutFirewallConfigPhp$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const PutFirewallConfigPhp$outboundSchema: z.ZodType< - PutFirewallConfigPhp$Outbound, - z.ZodTypeDef, - PutFirewallConfigPhp -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigPhp$ { - /** @deprecated use `PutFirewallConfigPhp$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigPhp$inboundSchema; - /** @deprecated use `PutFirewallConfigPhp$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigPhp$outboundSchema; - /** @deprecated use `PutFirewallConfigPhp$Outbound` instead. */ - export type Outbound = PutFirewallConfigPhp$Outbound; -} - -export function putFirewallConfigPhpToJSON( - putFirewallConfigPhp: PutFirewallConfigPhp, -): string { - return JSON.stringify( - PutFirewallConfigPhp$outboundSchema.parse(putFirewallConfigPhp), - ); -} - -export function putFirewallConfigPhpFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigPhp$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigPhp' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction, - ); - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction - > = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigGen$inboundSchema: z.ZodType< - PutFirewallConfigGen, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema, -}); - -/** @internal */ -export type PutFirewallConfigGen$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const PutFirewallConfigGen$outboundSchema: z.ZodType< - PutFirewallConfigGen$Outbound, - z.ZodTypeDef, - PutFirewallConfigGen -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigGen$ { - /** @deprecated use `PutFirewallConfigGen$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigGen$inboundSchema; - /** @deprecated use `PutFirewallConfigGen$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigGen$outboundSchema; - /** @deprecated use `PutFirewallConfigGen$Outbound` instead. */ - export type Outbound = PutFirewallConfigGen$Outbound; -} - -export function putFirewallConfigGenToJSON( - putFirewallConfigGen: PutFirewallConfigGen, -): string { - return JSON.stringify( - PutFirewallConfigGen$outboundSchema.parse(putFirewallConfigGen), - ); -} - -export function putFirewallConfigGenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigGen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigGen' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction, - ); - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction - > = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigXss$inboundSchema: z.ZodType< - PutFirewallConfigXss, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema, -}); - -/** @internal */ -export type PutFirewallConfigXss$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const PutFirewallConfigXss$outboundSchema: z.ZodType< - PutFirewallConfigXss$Outbound, - z.ZodTypeDef, - PutFirewallConfigXss -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigXss$ { - /** @deprecated use `PutFirewallConfigXss$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigXss$inboundSchema; - /** @deprecated use `PutFirewallConfigXss$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigXss$outboundSchema; - /** @deprecated use `PutFirewallConfigXss$Outbound` instead. */ - export type Outbound = PutFirewallConfigXss$Outbound; -} - -export function putFirewallConfigXssToJSON( - putFirewallConfigXss: PutFirewallConfigXss, -): string { - return JSON.stringify( - PutFirewallConfigXss$outboundSchema.parse(putFirewallConfigXss), - ); -} - -export function putFirewallConfigXssFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigXss$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigXss' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction, - ); - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction - > = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigSqli$inboundSchema: z.ZodType< - PutFirewallConfigSqli, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema, -}); - -/** @internal */ -export type PutFirewallConfigSqli$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const PutFirewallConfigSqli$outboundSchema: z.ZodType< - PutFirewallConfigSqli$Outbound, - z.ZodTypeDef, - PutFirewallConfigSqli -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSqli$ { - /** @deprecated use `PutFirewallConfigSqli$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigSqli$inboundSchema; - /** @deprecated use `PutFirewallConfigSqli$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigSqli$outboundSchema; - /** @deprecated use `PutFirewallConfigSqli$Outbound` instead. */ - export type Outbound = PutFirewallConfigSqli$Outbound; -} - -export function putFirewallConfigSqliToJSON( - putFirewallConfigSqli: PutFirewallConfigSqli, -): string { - return JSON.stringify( - PutFirewallConfigSqli$outboundSchema.parse(putFirewallConfigSqli), - ); -} - -export function putFirewallConfigSqliFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigSqli$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigSqli' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction, - ); - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction - > = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigSf$inboundSchema: z.ZodType< - PutFirewallConfigSf, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema, -}); - -/** @internal */ -export type PutFirewallConfigSf$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const PutFirewallConfigSf$outboundSchema: z.ZodType< - PutFirewallConfigSf$Outbound, - z.ZodTypeDef, - PutFirewallConfigSf -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSf$ { - /** @deprecated use `PutFirewallConfigSf$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigSf$inboundSchema; - /** @deprecated use `PutFirewallConfigSf$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigSf$outboundSchema; - /** @deprecated use `PutFirewallConfigSf$Outbound` instead. */ - export type Outbound = PutFirewallConfigSf$Outbound; -} - -export function putFirewallConfigSfToJSON( - putFirewallConfigSf: PutFirewallConfigSf, -): string { - return JSON.stringify( - PutFirewallConfigSf$outboundSchema.parse(putFirewallConfigSf), - ); -} - -export function putFirewallConfigSfFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigSf$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigSf' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction, - ); - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction - > = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigJava$inboundSchema: z.ZodType< - PutFirewallConfigJava, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema, -}); - -/** @internal */ -export type PutFirewallConfigJava$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const PutFirewallConfigJava$outboundSchema: z.ZodType< - PutFirewallConfigJava$Outbound, - z.ZodTypeDef, - PutFirewallConfigJava -> = z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigJava$ { - /** @deprecated use `PutFirewallConfigJava$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigJava$inboundSchema; - /** @deprecated use `PutFirewallConfigJava$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigJava$outboundSchema; - /** @deprecated use `PutFirewallConfigJava$Outbound` instead. */ - export type Outbound = PutFirewallConfigJava$Outbound; -} - -export function putFirewallConfigJavaToJSON( - putFirewallConfigJava: PutFirewallConfigJava, -): string { - return JSON.stringify( - PutFirewallConfigJava$outboundSchema.parse(putFirewallConfigJava), - ); -} - -export function putFirewallConfigJavaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigJava$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigJava' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigCrs$inboundSchema: z.ZodType< - PutFirewallConfigCrs, - z.ZodTypeDef, - unknown -> = z.object({ - sd: z.lazy(() => PutFirewallConfigSd$inboundSchema), - ma: z.lazy(() => PutFirewallConfigMa$inboundSchema), - lfi: z.lazy(() => PutFirewallConfigLfi$inboundSchema), - rfi: z.lazy(() => PutFirewallConfigRfi$inboundSchema), - rce: z.lazy(() => PutFirewallConfigRce$inboundSchema), - php: z.lazy(() => PutFirewallConfigPhp$inboundSchema), - gen: z.lazy(() => PutFirewallConfigGen$inboundSchema), - xss: z.lazy(() => PutFirewallConfigXss$inboundSchema), - sqli: z.lazy(() => PutFirewallConfigSqli$inboundSchema), - sf: z.lazy(() => PutFirewallConfigSf$inboundSchema), - java: z.lazy(() => PutFirewallConfigJava$inboundSchema), -}); - -/** @internal */ -export type PutFirewallConfigCrs$Outbound = { - sd: PutFirewallConfigSd$Outbound; - ma: PutFirewallConfigMa$Outbound; - lfi: PutFirewallConfigLfi$Outbound; - rfi: PutFirewallConfigRfi$Outbound; - rce: PutFirewallConfigRce$Outbound; - php: PutFirewallConfigPhp$Outbound; - gen: PutFirewallConfigGen$Outbound; - xss: PutFirewallConfigXss$Outbound; - sqli: PutFirewallConfigSqli$Outbound; - sf: PutFirewallConfigSf$Outbound; - java: PutFirewallConfigJava$Outbound; -}; - -/** @internal */ -export const PutFirewallConfigCrs$outboundSchema: z.ZodType< - PutFirewallConfigCrs$Outbound, - z.ZodTypeDef, - PutFirewallConfigCrs -> = z.object({ - sd: z.lazy(() => PutFirewallConfigSd$outboundSchema), - ma: z.lazy(() => PutFirewallConfigMa$outboundSchema), - lfi: z.lazy(() => PutFirewallConfigLfi$outboundSchema), - rfi: z.lazy(() => PutFirewallConfigRfi$outboundSchema), - rce: z.lazy(() => PutFirewallConfigRce$outboundSchema), - php: z.lazy(() => PutFirewallConfigPhp$outboundSchema), - gen: z.lazy(() => PutFirewallConfigGen$outboundSchema), - xss: z.lazy(() => PutFirewallConfigXss$outboundSchema), - sqli: z.lazy(() => PutFirewallConfigSqli$outboundSchema), - sf: z.lazy(() => PutFirewallConfigSf$outboundSchema), - java: z.lazy(() => PutFirewallConfigJava$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigCrs$ { - /** @deprecated use `PutFirewallConfigCrs$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigCrs$inboundSchema; - /** @deprecated use `PutFirewallConfigCrs$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigCrs$outboundSchema; - /** @deprecated use `PutFirewallConfigCrs$Outbound` instead. */ - export type Outbound = PutFirewallConfigCrs$Outbound; -} - -export function putFirewallConfigCrsToJSON( - putFirewallConfigCrs: PutFirewallConfigCrs, -): string { - return JSON.stringify( - PutFirewallConfigCrs$outboundSchema.parse(putFirewallConfigCrs), - ); -} - -export function putFirewallConfigCrsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigCrs$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigCrs' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityType$inboundSchema: z.ZodNativeEnum< - typeof PutFirewallConfigSecurityType -> = z.nativeEnum(PutFirewallConfigSecurityType); - -/** @internal */ -export const PutFirewallConfigSecurityType$outboundSchema: z.ZodNativeEnum< - typeof PutFirewallConfigSecurityType -> = PutFirewallConfigSecurityType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityType$ { - /** @deprecated use `PutFirewallConfigSecurityType$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigSecurityType$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityType$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigSecurityType$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigOp$inboundSchema: z.ZodNativeEnum< - typeof PutFirewallConfigOp -> = z.nativeEnum(PutFirewallConfigOp); - -/** @internal */ -export const PutFirewallConfigOp$outboundSchema: z.ZodNativeEnum< - typeof PutFirewallConfigOp -> = PutFirewallConfigOp$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigOp$ { - /** @deprecated use `PutFirewallConfigOp$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigOp$inboundSchema; - /** @deprecated use `PutFirewallConfigOp$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigOp$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigSecurityValue$inboundSchema: z.ZodType< - PutFirewallConfigSecurityValue, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number(), z.array(z.string())]); - -/** @internal */ -export type PutFirewallConfigSecurityValue$Outbound = - | string - | number - | Array; - -/** @internal */ -export const PutFirewallConfigSecurityValue$outboundSchema: z.ZodType< - PutFirewallConfigSecurityValue$Outbound, - z.ZodTypeDef, - PutFirewallConfigSecurityValue -> = z.union([z.string(), z.number(), z.array(z.string())]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityValue$ { - /** @deprecated use `PutFirewallConfigSecurityValue$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigSecurityValue$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityValue$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigSecurityValue$outboundSchema; - /** @deprecated use `PutFirewallConfigSecurityValue$Outbound` instead. */ - export type Outbound = PutFirewallConfigSecurityValue$Outbound; -} - -export function putFirewallConfigSecurityValueToJSON( - putFirewallConfigSecurityValue: PutFirewallConfigSecurityValue, -): string { - return JSON.stringify( - PutFirewallConfigSecurityValue$outboundSchema.parse( - putFirewallConfigSecurityValue, - ), - ); -} - -export function putFirewallConfigSecurityValueFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigSecurityValue$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigSecurityValue' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigConditions$inboundSchema: z.ZodType< - PutFirewallConfigConditions, - z.ZodTypeDef, - unknown -> = z.object({ - type: PutFirewallConfigSecurityType$inboundSchema, - op: PutFirewallConfigOp$inboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: z.union([z.string(), z.number(), z.array(z.string())]).optional(), -}); - -/** @internal */ -export type PutFirewallConfigConditions$Outbound = { - type: string; - op: string; - neg?: boolean | undefined; - key?: string | undefined; - value?: string | number | Array | undefined; -}; - -/** @internal */ -export const PutFirewallConfigConditions$outboundSchema: z.ZodType< - PutFirewallConfigConditions$Outbound, - z.ZodTypeDef, - PutFirewallConfigConditions -> = z.object({ - type: PutFirewallConfigSecurityType$outboundSchema, - op: PutFirewallConfigOp$outboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: z.union([z.string(), z.number(), z.array(z.string())]).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigConditions$ { - /** @deprecated use `PutFirewallConfigConditions$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigConditions$inboundSchema; - /** @deprecated use `PutFirewallConfigConditions$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigConditions$outboundSchema; - /** @deprecated use `PutFirewallConfigConditions$Outbound` instead. */ - export type Outbound = PutFirewallConfigConditions$Outbound; -} - -export function putFirewallConfigConditionsToJSON( - putFirewallConfigConditions: PutFirewallConfigConditions, -): string { - return JSON.stringify( - PutFirewallConfigConditions$outboundSchema.parse( - putFirewallConfigConditions, - ), - ); -} - -export function putFirewallConfigConditionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigConditions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigConditions' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigConditionGroup$inboundSchema: z.ZodType< - PutFirewallConfigConditionGroup, - z.ZodTypeDef, - unknown -> = z.object({ - conditions: z.array(z.lazy(() => PutFirewallConfigConditions$inboundSchema)), -}); - -/** @internal */ -export type PutFirewallConfigConditionGroup$Outbound = { - conditions: Array; -}; - -/** @internal */ -export const PutFirewallConfigConditionGroup$outboundSchema: z.ZodType< - PutFirewallConfigConditionGroup$Outbound, - z.ZodTypeDef, - PutFirewallConfigConditionGroup -> = z.object({ - conditions: z.array(z.lazy(() => PutFirewallConfigConditions$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigConditionGroup$ { - /** @deprecated use `PutFirewallConfigConditionGroup$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigConditionGroup$inboundSchema; - /** @deprecated use `PutFirewallConfigConditionGroup$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigConditionGroup$outboundSchema; - /** @deprecated use `PutFirewallConfigConditionGroup$Outbound` instead. */ - export type Outbound = PutFirewallConfigConditionGroup$Outbound; -} - -export function putFirewallConfigConditionGroupToJSON( - putFirewallConfigConditionGroup: PutFirewallConfigConditionGroup, -): string { - return JSON.stringify( - PutFirewallConfigConditionGroup$outboundSchema.parse( - putFirewallConfigConditionGroup, - ), - ); -} - -export function putFirewallConfigConditionGroupFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigConditionGroup$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigConditionGroup' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction, - ); - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction - > = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigAlgo$inboundSchema: z.ZodNativeEnum< - typeof PutFirewallConfigAlgo -> = z.nativeEnum(PutFirewallConfigAlgo); - -/** @internal */ -export const PutFirewallConfigAlgo$outboundSchema: z.ZodNativeEnum< - typeof PutFirewallConfigAlgo -> = PutFirewallConfigAlgo$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigAlgo$ { - /** @deprecated use `PutFirewallConfigAlgo$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigAlgo$inboundSchema; - /** @deprecated use `PutFirewallConfigAlgo$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigAlgo$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$inboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction, - ); - -/** @internal */ -export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$outboundSchema: - z.ZodNativeEnum< - typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction - > = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigRateLimit$inboundSchema: z.ZodType< - PutFirewallConfigRateLimit, - z.ZodTypeDef, - unknown -> = z.object({ - algo: PutFirewallConfigAlgo$inboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), - action: z.nullable( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$inboundSchema, - ).optional(), -}); - -/** @internal */ -export type PutFirewallConfigRateLimit$Outbound = { - algo: string; - window: number; - limit: number; - keys: Array; - action?: string | null | undefined; -}; - -/** @internal */ -export const PutFirewallConfigRateLimit$outboundSchema: z.ZodType< - PutFirewallConfigRateLimit$Outbound, - z.ZodTypeDef, - PutFirewallConfigRateLimit -> = z.object({ - algo: PutFirewallConfigAlgo$outboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), - action: z.nullable( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$outboundSchema, - ).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigRateLimit$ { - /** @deprecated use `PutFirewallConfigRateLimit$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigRateLimit$inboundSchema; - /** @deprecated use `PutFirewallConfigRateLimit$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigRateLimit$outboundSchema; - /** @deprecated use `PutFirewallConfigRateLimit$Outbound` instead. */ - export type Outbound = PutFirewallConfigRateLimit$Outbound; -} - -export function putFirewallConfigRateLimitToJSON( - putFirewallConfigRateLimit: PutFirewallConfigRateLimit, -): string { - return JSON.stringify( - PutFirewallConfigRateLimit$outboundSchema.parse(putFirewallConfigRateLimit), - ); -} - -export function putFirewallConfigRateLimitFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigRateLimit$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigRateLimit' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigRedirect$inboundSchema: z.ZodType< - PutFirewallConfigRedirect, - z.ZodTypeDef, - unknown -> = z.object({ - location: z.string(), - permanent: z.boolean(), -}); - -/** @internal */ -export type PutFirewallConfigRedirect$Outbound = { - location: string; - permanent: boolean; -}; - -/** @internal */ -export const PutFirewallConfigRedirect$outboundSchema: z.ZodType< - PutFirewallConfigRedirect$Outbound, - z.ZodTypeDef, - PutFirewallConfigRedirect -> = z.object({ - location: z.string(), - permanent: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigRedirect$ { - /** @deprecated use `PutFirewallConfigRedirect$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigRedirect$inboundSchema; - /** @deprecated use `PutFirewallConfigRedirect$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigRedirect$outboundSchema; - /** @deprecated use `PutFirewallConfigRedirect$Outbound` instead. */ - export type Outbound = PutFirewallConfigRedirect$Outbound; -} - -export function putFirewallConfigRedirectToJSON( - putFirewallConfigRedirect: PutFirewallConfigRedirect, -): string { - return JSON.stringify( - PutFirewallConfigRedirect$outboundSchema.parse(putFirewallConfigRedirect), - ); -} - -export function putFirewallConfigRedirectFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigRedirect$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigRedirect' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigMitigate$inboundSchema: z.ZodType< - PutFirewallConfigMitigate, - z.ZodTypeDef, - unknown -> = z.object({ - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$inboundSchema, - rateLimit: z.nullable(z.lazy(() => PutFirewallConfigRateLimit$inboundSchema)) - .optional(), - redirect: z.nullable(z.lazy(() => PutFirewallConfigRedirect$inboundSchema)) - .optional(), - actionDuration: z.nullable(z.string()).optional(), -}); - -/** @internal */ -export type PutFirewallConfigMitigate$Outbound = { - action: string; - rateLimit?: PutFirewallConfigRateLimit$Outbound | null | undefined; - redirect?: PutFirewallConfigRedirect$Outbound | null | undefined; - actionDuration?: string | null | undefined; -}; - -/** @internal */ -export const PutFirewallConfigMitigate$outboundSchema: z.ZodType< - PutFirewallConfigMitigate$Outbound, - z.ZodTypeDef, - PutFirewallConfigMitigate -> = z.object({ - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$outboundSchema, - rateLimit: z.nullable(z.lazy(() => PutFirewallConfigRateLimit$outboundSchema)) - .optional(), - redirect: z.nullable(z.lazy(() => PutFirewallConfigRedirect$outboundSchema)) - .optional(), - actionDuration: z.nullable(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigMitigate$ { - /** @deprecated use `PutFirewallConfigMitigate$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigMitigate$inboundSchema; - /** @deprecated use `PutFirewallConfigMitigate$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigMitigate$outboundSchema; - /** @deprecated use `PutFirewallConfigMitigate$Outbound` instead. */ - export type Outbound = PutFirewallConfigMitigate$Outbound; -} - -export function putFirewallConfigMitigateToJSON( - putFirewallConfigMitigate: PutFirewallConfigMitigate, -): string { - return JSON.stringify( - PutFirewallConfigMitigate$outboundSchema.parse(putFirewallConfigMitigate), - ); -} - -export function putFirewallConfigMitigateFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigMitigate$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigMitigate' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityResponseAction$inboundSchema: z.ZodType< - PutFirewallConfigSecurityResponseAction, - z.ZodTypeDef, - unknown -> = z.object({ - mitigate: z.lazy(() => PutFirewallConfigMitigate$inboundSchema).optional(), -}); - -/** @internal */ -export type PutFirewallConfigSecurityResponseAction$Outbound = { - mitigate?: PutFirewallConfigMitigate$Outbound | undefined; -}; - -/** @internal */ -export const PutFirewallConfigSecurityResponseAction$outboundSchema: z.ZodType< - PutFirewallConfigSecurityResponseAction$Outbound, - z.ZodTypeDef, - PutFirewallConfigSecurityResponseAction -> = z.object({ - mitigate: z.lazy(() => PutFirewallConfigMitigate$outboundSchema).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponseAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponseAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponseAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponseAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponseAction$outboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponseAction$Outbound` instead. */ - export type Outbound = PutFirewallConfigSecurityResponseAction$Outbound; -} - -export function putFirewallConfigSecurityResponseActionToJSON( - putFirewallConfigSecurityResponseAction: - PutFirewallConfigSecurityResponseAction, -): string { - return JSON.stringify( - PutFirewallConfigSecurityResponseAction$outboundSchema.parse( - putFirewallConfigSecurityResponseAction, - ), - ); -} - -export function putFirewallConfigSecurityResponseActionFromJSON( - jsonString: string, -): SafeParseResult< - PutFirewallConfigSecurityResponseAction, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - PutFirewallConfigSecurityResponseAction$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'PutFirewallConfigSecurityResponseAction' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigRules$inboundSchema: z.ZodType< - PutFirewallConfigRules, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array( - z.lazy(() => PutFirewallConfigConditionGroup$inboundSchema), - ), - action: z.lazy(() => PutFirewallConfigSecurityResponseAction$inboundSchema), -}); - -/** @internal */ -export type PutFirewallConfigRules$Outbound = { - id: string; - name: string; - description?: string | undefined; - active: boolean; - conditionGroup: Array; - action: PutFirewallConfigSecurityResponseAction$Outbound; -}; - -/** @internal */ -export const PutFirewallConfigRules$outboundSchema: z.ZodType< - PutFirewallConfigRules$Outbound, - z.ZodTypeDef, - PutFirewallConfigRules -> = z.object({ - id: z.string(), - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array( - z.lazy(() => PutFirewallConfigConditionGroup$outboundSchema), - ), - action: z.lazy(() => PutFirewallConfigSecurityResponseAction$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigRules$ { - /** @deprecated use `PutFirewallConfigRules$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigRules$inboundSchema; - /** @deprecated use `PutFirewallConfigRules$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigRules$outboundSchema; - /** @deprecated use `PutFirewallConfigRules$Outbound` instead. */ - export type Outbound = PutFirewallConfigRules$Outbound; -} - -export function putFirewallConfigRulesToJSON( - putFirewallConfigRules: PutFirewallConfigRules, -): string { - return JSON.stringify( - PutFirewallConfigRules$outboundSchema.parse(putFirewallConfigRules), - ); -} - -export function putFirewallConfigRulesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigRules$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigRules' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigSecurityResponse200Action$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PutFirewallConfigSecurityResponse200Action); - -/** @internal */ -export const PutFirewallConfigSecurityResponse200Action$outboundSchema: - z.ZodNativeEnum = - PutFirewallConfigSecurityResponse200Action$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200Action$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200Action$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200Action$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200Action$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200Action$outboundSchema; -} - -/** @internal */ -export const PutFirewallConfigIps$inboundSchema: z.ZodType< - PutFirewallConfigIps, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - hostname: z.string(), - ip: z.string(), - notes: z.string().optional(), - action: PutFirewallConfigSecurityResponse200Action$inboundSchema, -}); - -/** @internal */ -export type PutFirewallConfigIps$Outbound = { - id: string; - hostname: string; - ip: string; - notes?: string | undefined; - action: string; -}; - -/** @internal */ -export const PutFirewallConfigIps$outboundSchema: z.ZodType< - PutFirewallConfigIps$Outbound, - z.ZodTypeDef, - PutFirewallConfigIps -> = z.object({ - id: z.string(), - hostname: z.string(), - ip: z.string(), - notes: z.string().optional(), - action: PutFirewallConfigSecurityResponse200Action$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigIps$ { - /** @deprecated use `PutFirewallConfigIps$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigIps$inboundSchema; - /** @deprecated use `PutFirewallConfigIps$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigIps$outboundSchema; - /** @deprecated use `PutFirewallConfigIps$Outbound` instead. */ - export type Outbound = PutFirewallConfigIps$Outbound; -} - -export function putFirewallConfigIpsToJSON( - putFirewallConfigIps: PutFirewallConfigIps, -): string { - return JSON.stringify( - PutFirewallConfigIps$outboundSchema.parse(putFirewallConfigIps), - ); -} - -export function putFirewallConfigIpsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigIps$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigIps' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigChanges$inboundSchema: z.ZodType< - PutFirewallConfigChanges, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type PutFirewallConfigChanges$Outbound = {}; - -/** @internal */ -export const PutFirewallConfigChanges$outboundSchema: z.ZodType< - PutFirewallConfigChanges$Outbound, - z.ZodTypeDef, - PutFirewallConfigChanges -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigChanges$ { - /** @deprecated use `PutFirewallConfigChanges$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigChanges$inboundSchema; - /** @deprecated use `PutFirewallConfigChanges$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigChanges$outboundSchema; - /** @deprecated use `PutFirewallConfigChanges$Outbound` instead. */ - export type Outbound = PutFirewallConfigChanges$Outbound; -} - -export function putFirewallConfigChangesToJSON( - putFirewallConfigChanges: PutFirewallConfigChanges, -): string { - return JSON.stringify( - PutFirewallConfigChanges$outboundSchema.parse(putFirewallConfigChanges), - ); -} - -export function putFirewallConfigChangesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigChanges$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigChanges' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigOwasp$inboundSchema: z.ZodType< - PutFirewallConfigOwasp, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - updatedAt: z.string().optional(), - userId: z.string().optional(), - username: z.string().optional(), -}); - -/** @internal */ -export type PutFirewallConfigOwasp$Outbound = { - active: boolean; - updatedAt?: string | undefined; - userId?: string | undefined; - username?: string | undefined; -}; - -/** @internal */ -export const PutFirewallConfigOwasp$outboundSchema: z.ZodType< - PutFirewallConfigOwasp$Outbound, - z.ZodTypeDef, - PutFirewallConfigOwasp -> = z.object({ - active: z.boolean(), - updatedAt: z.string().optional(), - userId: z.string().optional(), - username: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigOwasp$ { - /** @deprecated use `PutFirewallConfigOwasp$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigOwasp$inboundSchema; - /** @deprecated use `PutFirewallConfigOwasp$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigOwasp$outboundSchema; - /** @deprecated use `PutFirewallConfigOwasp$Outbound` instead. */ - export type Outbound = PutFirewallConfigOwasp$Outbound; -} - -export function putFirewallConfigOwaspToJSON( - putFirewallConfigOwasp: PutFirewallConfigOwasp, -): string { - return JSON.stringify( - PutFirewallConfigOwasp$outboundSchema.parse(putFirewallConfigOwasp), - ); -} - -export function putFirewallConfigOwaspFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigOwasp$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigOwasp' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigVerifiedBotsBypass$inboundSchema: z.ZodType< - PutFirewallConfigVerifiedBotsBypass, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.boolean(), - updatedAt: z.string().optional(), - userId: z.string().optional(), - username: z.string().optional(), -}); - -/** @internal */ -export type PutFirewallConfigVerifiedBotsBypass$Outbound = { - active: boolean; - updatedAt?: string | undefined; - userId?: string | undefined; - username?: string | undefined; -}; - -/** @internal */ -export const PutFirewallConfigVerifiedBotsBypass$outboundSchema: z.ZodType< - PutFirewallConfigVerifiedBotsBypass$Outbound, - z.ZodTypeDef, - PutFirewallConfigVerifiedBotsBypass -> = z.object({ - active: z.boolean(), - updatedAt: z.string().optional(), - userId: z.string().optional(), - username: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigVerifiedBotsBypass$ { - /** @deprecated use `PutFirewallConfigVerifiedBotsBypass$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigVerifiedBotsBypass$inboundSchema; - /** @deprecated use `PutFirewallConfigVerifiedBotsBypass$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigVerifiedBotsBypass$outboundSchema; - /** @deprecated use `PutFirewallConfigVerifiedBotsBypass$Outbound` instead. */ - export type Outbound = PutFirewallConfigVerifiedBotsBypass$Outbound; -} - -export function putFirewallConfigVerifiedBotsBypassToJSON( - putFirewallConfigVerifiedBotsBypass: PutFirewallConfigVerifiedBotsBypass, -): string { - return JSON.stringify( - PutFirewallConfigVerifiedBotsBypass$outboundSchema.parse( - putFirewallConfigVerifiedBotsBypass, - ), - ); -} - -export function putFirewallConfigVerifiedBotsBypassFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - PutFirewallConfigVerifiedBotsBypass$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigVerifiedBotsBypass' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigManagedRules$inboundSchema: z.ZodType< - PutFirewallConfigManagedRules, - z.ZodTypeDef, - unknown -> = z.object({ - owasp: z.lazy(() => PutFirewallConfigOwasp$inboundSchema).optional(), - verifiedBotsBypass: z.lazy(() => - PutFirewallConfigVerifiedBotsBypass$inboundSchema - ).optional(), -}); - -/** @internal */ -export type PutFirewallConfigManagedRules$Outbound = { - owasp?: PutFirewallConfigOwasp$Outbound | undefined; - verifiedBotsBypass?: PutFirewallConfigVerifiedBotsBypass$Outbound | undefined; -}; - -/** @internal */ -export const PutFirewallConfigManagedRules$outboundSchema: z.ZodType< - PutFirewallConfigManagedRules$Outbound, - z.ZodTypeDef, - PutFirewallConfigManagedRules -> = z.object({ - owasp: z.lazy(() => PutFirewallConfigOwasp$outboundSchema).optional(), - verifiedBotsBypass: z.lazy(() => - PutFirewallConfigVerifiedBotsBypass$outboundSchema - ).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigManagedRules$ { - /** @deprecated use `PutFirewallConfigManagedRules$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigManagedRules$inboundSchema; - /** @deprecated use `PutFirewallConfigManagedRules$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigManagedRules$outboundSchema; - /** @deprecated use `PutFirewallConfigManagedRules$Outbound` instead. */ - export type Outbound = PutFirewallConfigManagedRules$Outbound; -} - -export function putFirewallConfigManagedRulesToJSON( - putFirewallConfigManagedRules: PutFirewallConfigManagedRules, -): string { - return JSON.stringify( - PutFirewallConfigManagedRules$outboundSchema.parse( - putFirewallConfigManagedRules, - ), - ); -} - -export function putFirewallConfigManagedRulesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigManagedRules$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigManagedRules' from JSON`, - ); -} - -/** @internal */ -export const Active$inboundSchema: z.ZodType = z - .object({ - ownerId: z.string(), - projectKey: z.string(), - id: z.string(), - version: z.number(), - updatedAt: z.string(), - firewallEnabled: z.boolean(), - crs: z.lazy(() => PutFirewallConfigCrs$inboundSchema), - rules: z.array(z.lazy(() => PutFirewallConfigRules$inboundSchema)), - ips: z.array(z.lazy(() => PutFirewallConfigIps$inboundSchema)), - changes: z.array(z.lazy(() => PutFirewallConfigChanges$inboundSchema)), - managedRules: z.lazy(() => PutFirewallConfigManagedRules$inboundSchema) - .optional(), - }); - -/** @internal */ -export type Active$Outbound = { - ownerId: string; - projectKey: string; - id: string; - version: number; - updatedAt: string; - firewallEnabled: boolean; - crs: PutFirewallConfigCrs$Outbound; - rules: Array; - ips: Array; - changes: Array; - managedRules?: PutFirewallConfigManagedRules$Outbound | undefined; -}; - -/** @internal */ -export const Active$outboundSchema: z.ZodType< - Active$Outbound, - z.ZodTypeDef, - Active -> = z.object({ - ownerId: z.string(), - projectKey: z.string(), - id: z.string(), - version: z.number(), - updatedAt: z.string(), - firewallEnabled: z.boolean(), - crs: z.lazy(() => PutFirewallConfigCrs$outboundSchema), - rules: z.array(z.lazy(() => PutFirewallConfigRules$outboundSchema)), - ips: z.array(z.lazy(() => PutFirewallConfigIps$outboundSchema)), - changes: z.array(z.lazy(() => PutFirewallConfigChanges$outboundSchema)), - managedRules: z.lazy(() => PutFirewallConfigManagedRules$outboundSchema) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Active$ { - /** @deprecated use `Active$inboundSchema` instead. */ - export const inboundSchema = Active$inboundSchema; - /** @deprecated use `Active$outboundSchema` instead. */ - export const outboundSchema = Active$outboundSchema; - /** @deprecated use `Active$Outbound` instead. */ - export type Outbound = Active$Outbound; -} - -export function activeToJSON(active: Active): string { - return JSON.stringify(Active$outboundSchema.parse(active)); -} - -export function activeFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Active$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Active' from JSON`, - ); -} - -/** @internal */ -export const PutFirewallConfigResponseBody$inboundSchema: z.ZodType< - PutFirewallConfigResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - active: z.lazy(() => Active$inboundSchema), -}); - -/** @internal */ -export type PutFirewallConfigResponseBody$Outbound = { - active: Active$Outbound; -}; - -/** @internal */ -export const PutFirewallConfigResponseBody$outboundSchema: z.ZodType< - PutFirewallConfigResponseBody$Outbound, - z.ZodTypeDef, - PutFirewallConfigResponseBody -> = z.object({ - active: z.lazy(() => Active$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigResponseBody$ { - /** @deprecated use `PutFirewallConfigResponseBody$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigResponseBody$inboundSchema; - /** @deprecated use `PutFirewallConfigResponseBody$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigResponseBody$outboundSchema; - /** @deprecated use `PutFirewallConfigResponseBody$Outbound` instead. */ - export type Outbound = PutFirewallConfigResponseBody$Outbound; -} - -export function putFirewallConfigResponseBodyToJSON( - putFirewallConfigResponseBody: PutFirewallConfigResponseBody, -): string { - return JSON.stringify( - PutFirewallConfigResponseBody$outboundSchema.parse( - putFirewallConfigResponseBody, - ), - ); -} - -export function putFirewallConfigResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PutFirewallConfigResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PutFirewallConfigResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/readaccessgroup.ts b/src/models/operations/readaccessgroup.ts deleted file mode 100644 index 9552461c..00000000 --- a/src/models/operations/readaccessgroup.ts +++ /dev/null @@ -1,218 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type ReadAccessGroupRequest = { - idOrName: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export const Entitlements = { - V0: "v0", -} as const; -export type Entitlements = ClosedEnum; - -export type ReadAccessGroupResponseBody = { - entitlements?: Array | undefined; - isDsyncManaged: boolean; - /** - * The name of this access group. - */ - name: string; - /** - * Timestamp in milliseconds when the access group was created. - */ - createdAt: string; - /** - * ID of the team that this access group belongs to. - */ - teamId: string; - /** - * Timestamp in milliseconds when the access group was last updated. - */ - updatedAt: string; - /** - * ID of the access group. - */ - accessGroupId: string; - /** - * Number of members in the access group. - */ - membersCount: number; - /** - * Number of projects in the access group. - */ - projectsCount: number; -}; - -/** @internal */ -export const ReadAccessGroupRequest$inboundSchema: z.ZodType< - ReadAccessGroupRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type ReadAccessGroupRequest$Outbound = { - idOrName: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const ReadAccessGroupRequest$outboundSchema: z.ZodType< - ReadAccessGroupRequest$Outbound, - z.ZodTypeDef, - ReadAccessGroupRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ReadAccessGroupRequest$ { - /** @deprecated use `ReadAccessGroupRequest$inboundSchema` instead. */ - export const inboundSchema = ReadAccessGroupRequest$inboundSchema; - /** @deprecated use `ReadAccessGroupRequest$outboundSchema` instead. */ - export const outboundSchema = ReadAccessGroupRequest$outboundSchema; - /** @deprecated use `ReadAccessGroupRequest$Outbound` instead. */ - export type Outbound = ReadAccessGroupRequest$Outbound; -} - -export function readAccessGroupRequestToJSON( - readAccessGroupRequest: ReadAccessGroupRequest, -): string { - return JSON.stringify( - ReadAccessGroupRequest$outboundSchema.parse(readAccessGroupRequest), - ); -} - -export function readAccessGroupRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ReadAccessGroupRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ReadAccessGroupRequest' from JSON`, - ); -} - -/** @internal */ -export const Entitlements$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(Entitlements); - -/** @internal */ -export const Entitlements$outboundSchema: z.ZodNativeEnum = - Entitlements$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Entitlements$ { - /** @deprecated use `Entitlements$inboundSchema` instead. */ - export const inboundSchema = Entitlements$inboundSchema; - /** @deprecated use `Entitlements$outboundSchema` instead. */ - export const outboundSchema = Entitlements$outboundSchema; -} - -/** @internal */ -export const ReadAccessGroupResponseBody$inboundSchema: z.ZodType< - ReadAccessGroupResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - entitlements: z.array(Entitlements$inboundSchema).optional(), - isDsyncManaged: z.boolean(), - name: z.string(), - createdAt: z.string(), - teamId: z.string(), - updatedAt: z.string(), - accessGroupId: z.string(), - membersCount: z.number(), - projectsCount: z.number(), -}); - -/** @internal */ -export type ReadAccessGroupResponseBody$Outbound = { - entitlements?: Array | undefined; - isDsyncManaged: boolean; - name: string; - createdAt: string; - teamId: string; - updatedAt: string; - accessGroupId: string; - membersCount: number; - projectsCount: number; -}; - -/** @internal */ -export const ReadAccessGroupResponseBody$outboundSchema: z.ZodType< - ReadAccessGroupResponseBody$Outbound, - z.ZodTypeDef, - ReadAccessGroupResponseBody -> = z.object({ - entitlements: z.array(Entitlements$outboundSchema).optional(), - isDsyncManaged: z.boolean(), - name: z.string(), - createdAt: z.string(), - teamId: z.string(), - updatedAt: z.string(), - accessGroupId: z.string(), - membersCount: z.number(), - projectsCount: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ReadAccessGroupResponseBody$ { - /** @deprecated use `ReadAccessGroupResponseBody$inboundSchema` instead. */ - export const inboundSchema = ReadAccessGroupResponseBody$inboundSchema; - /** @deprecated use `ReadAccessGroupResponseBody$outboundSchema` instead. */ - export const outboundSchema = ReadAccessGroupResponseBody$outboundSchema; - /** @deprecated use `ReadAccessGroupResponseBody$Outbound` instead. */ - export type Outbound = ReadAccessGroupResponseBody$Outbound; -} - -export function readAccessGroupResponseBodyToJSON( - readAccessGroupResponseBody: ReadAccessGroupResponseBody, -): string { - return JSON.stringify( - ReadAccessGroupResponseBody$outboundSchema.parse( - readAccessGroupResponseBody, - ), - ); -} - -export function readAccessGroupResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ReadAccessGroupResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ReadAccessGroupResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/readaccessgroupproject.ts b/src/models/operations/readaccessgroupproject.ts deleted file mode 100644 index ef68324d..00000000 --- a/src/models/operations/readaccessgroupproject.ts +++ /dev/null @@ -1,199 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type ReadAccessGroupProjectRequest = { - accessGroupIdOrName: string; - projectId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export const ReadAccessGroupProjectRole = { - Admin: "ADMIN", - ProjectDeveloper: "PROJECT_DEVELOPER", - ProjectViewer: "PROJECT_VIEWER", -} as const; -export type ReadAccessGroupProjectRole = ClosedEnum< - typeof ReadAccessGroupProjectRole ->; - -export type ReadAccessGroupProjectResponseBody = { - teamId: string; - accessGroupId: string; - projectId: string; - role: ReadAccessGroupProjectRole; - createdAt: string; - updatedAt: string; -}; - -/** @internal */ -export const ReadAccessGroupProjectRequest$inboundSchema: z.ZodType< - ReadAccessGroupProjectRequest, - z.ZodTypeDef, - unknown -> = z.object({ - accessGroupIdOrName: z.string(), - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type ReadAccessGroupProjectRequest$Outbound = { - accessGroupIdOrName: string; - projectId: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const ReadAccessGroupProjectRequest$outboundSchema: z.ZodType< - ReadAccessGroupProjectRequest$Outbound, - z.ZodTypeDef, - ReadAccessGroupProjectRequest -> = z.object({ - accessGroupIdOrName: z.string(), - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ReadAccessGroupProjectRequest$ { - /** @deprecated use `ReadAccessGroupProjectRequest$inboundSchema` instead. */ - export const inboundSchema = ReadAccessGroupProjectRequest$inboundSchema; - /** @deprecated use `ReadAccessGroupProjectRequest$outboundSchema` instead. */ - export const outboundSchema = ReadAccessGroupProjectRequest$outboundSchema; - /** @deprecated use `ReadAccessGroupProjectRequest$Outbound` instead. */ - export type Outbound = ReadAccessGroupProjectRequest$Outbound; -} - -export function readAccessGroupProjectRequestToJSON( - readAccessGroupProjectRequest: ReadAccessGroupProjectRequest, -): string { - return JSON.stringify( - ReadAccessGroupProjectRequest$outboundSchema.parse( - readAccessGroupProjectRequest, - ), - ); -} - -export function readAccessGroupProjectRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ReadAccessGroupProjectRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ReadAccessGroupProjectRequest' from JSON`, - ); -} - -/** @internal */ -export const ReadAccessGroupProjectRole$inboundSchema: z.ZodNativeEnum< - typeof ReadAccessGroupProjectRole -> = z.nativeEnum(ReadAccessGroupProjectRole); - -/** @internal */ -export const ReadAccessGroupProjectRole$outboundSchema: z.ZodNativeEnum< - typeof ReadAccessGroupProjectRole -> = ReadAccessGroupProjectRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ReadAccessGroupProjectRole$ { - /** @deprecated use `ReadAccessGroupProjectRole$inboundSchema` instead. */ - export const inboundSchema = ReadAccessGroupProjectRole$inboundSchema; - /** @deprecated use `ReadAccessGroupProjectRole$outboundSchema` instead. */ - export const outboundSchema = ReadAccessGroupProjectRole$outboundSchema; -} - -/** @internal */ -export const ReadAccessGroupProjectResponseBody$inboundSchema: z.ZodType< - ReadAccessGroupProjectResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string(), - accessGroupId: z.string(), - projectId: z.string(), - role: ReadAccessGroupProjectRole$inboundSchema, - createdAt: z.string(), - updatedAt: z.string(), -}); - -/** @internal */ -export type ReadAccessGroupProjectResponseBody$Outbound = { - teamId: string; - accessGroupId: string; - projectId: string; - role: string; - createdAt: string; - updatedAt: string; -}; - -/** @internal */ -export const ReadAccessGroupProjectResponseBody$outboundSchema: z.ZodType< - ReadAccessGroupProjectResponseBody$Outbound, - z.ZodTypeDef, - ReadAccessGroupProjectResponseBody -> = z.object({ - teamId: z.string(), - accessGroupId: z.string(), - projectId: z.string(), - role: ReadAccessGroupProjectRole$outboundSchema, - createdAt: z.string(), - updatedAt: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ReadAccessGroupProjectResponseBody$ { - /** @deprecated use `ReadAccessGroupProjectResponseBody$inboundSchema` instead. */ - export const inboundSchema = ReadAccessGroupProjectResponseBody$inboundSchema; - /** @deprecated use `ReadAccessGroupProjectResponseBody$outboundSchema` instead. */ - export const outboundSchema = - ReadAccessGroupProjectResponseBody$outboundSchema; - /** @deprecated use `ReadAccessGroupProjectResponseBody$Outbound` instead. */ - export type Outbound = ReadAccessGroupProjectResponseBody$Outbound; -} - -export function readAccessGroupProjectResponseBodyToJSON( - readAccessGroupProjectResponseBody: ReadAccessGroupProjectResponseBody, -): string { - return JSON.stringify( - ReadAccessGroupProjectResponseBody$outboundSchema.parse( - readAccessGroupProjectResponseBody, - ), - ); -} - -export function readAccessGroupProjectResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - ReadAccessGroupProjectResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ReadAccessGroupProjectResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/recordevents.ts b/src/models/operations/recordevents.ts deleted file mode 100644 index 7228a4d0..00000000 --- a/src/models/operations/recordevents.ts +++ /dev/null @@ -1,256 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * One of `LOCAL` or `REMOTE`. `LOCAL` specifies that the cache event was from the user's filesystem cache. `REMOTE` specifies that the cache event is from a remote cache. - */ -export const Source = { - Local: "LOCAL", - Remote: "REMOTE", -} as const; -/** - * One of `LOCAL` or `REMOTE`. `LOCAL` specifies that the cache event was from the user's filesystem cache. `REMOTE` specifies that the cache event is from a remote cache. - */ -export type Source = ClosedEnum; - -/** - * One of `HIT` or `MISS`. `HIT` specifies that a cached artifact for `hash` was found in the cache. `MISS` specifies that a cached artifact with `hash` was not found. - */ -export const Event = { - Hit: "HIT", - Miss: "MISS", -} as const; -/** - * One of `HIT` or `MISS`. `HIT` specifies that a cached artifact for `hash` was found in the cache. `MISS` specifies that a cached artifact with `hash` was not found. - */ -export type Event = ClosedEnum; - -export type RequestBody = { - /** - * A UUID (universally unique identifer) for the session that generated this event. - */ - sessionId: string; - /** - * One of `LOCAL` or `REMOTE`. `LOCAL` specifies that the cache event was from the user's filesystem cache. `REMOTE` specifies that the cache event is from a remote cache. - */ - source: Source; - /** - * One of `HIT` or `MISS`. `HIT` specifies that a cached artifact for `hash` was found in the cache. `MISS` specifies that a cached artifact with `hash` was not found. - */ - event: Event; - /** - * The artifact hash - */ - hash: string; - /** - * The time taken to generate the artifact. This should be sent as a body parameter on `HIT` events. - */ - duration?: number | undefined; -}; - -export type RecordEventsRequest = { - /** - * The continuous integration or delivery environment where this artifact is downloaded. - */ - xArtifactClientCi?: string | undefined; - /** - * 1 if the client is an interactive shell. Otherwise 0 - */ - xArtifactClientInteractive?: number | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: Array | undefined; -}; - -/** @internal */ -export const Source$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Source); - -/** @internal */ -export const Source$outboundSchema: z.ZodNativeEnum = - Source$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Source$ { - /** @deprecated use `Source$inboundSchema` instead. */ - export const inboundSchema = Source$inboundSchema; - /** @deprecated use `Source$outboundSchema` instead. */ - export const outboundSchema = Source$outboundSchema; -} - -/** @internal */ -export const Event$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Event, -); - -/** @internal */ -export const Event$outboundSchema: z.ZodNativeEnum = - Event$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Event$ { - /** @deprecated use `Event$inboundSchema` instead. */ - export const inboundSchema = Event$inboundSchema; - /** @deprecated use `Event$outboundSchema` instead. */ - export const outboundSchema = Event$outboundSchema; -} - -/** @internal */ -export const RequestBody$inboundSchema: z.ZodType< - RequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - sessionId: z.string(), - source: Source$inboundSchema, - event: Event$inboundSchema, - hash: z.string(), - duration: z.number().optional(), -}); - -/** @internal */ -export type RequestBody$Outbound = { - sessionId: string; - source: string; - event: string; - hash: string; - duration?: number | undefined; -}; - -/** @internal */ -export const RequestBody$outboundSchema: z.ZodType< - RequestBody$Outbound, - z.ZodTypeDef, - RequestBody -> = z.object({ - sessionId: z.string(), - source: Source$outboundSchema, - event: Event$outboundSchema, - hash: z.string(), - duration: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBody$ { - /** @deprecated use `RequestBody$inboundSchema` instead. */ - export const inboundSchema = RequestBody$inboundSchema; - /** @deprecated use `RequestBody$outboundSchema` instead. */ - export const outboundSchema = RequestBody$outboundSchema; - /** @deprecated use `RequestBody$Outbound` instead. */ - export type Outbound = RequestBody$Outbound; -} - -export function requestBodyToJSON(requestBody: RequestBody): string { - return JSON.stringify(RequestBody$outboundSchema.parse(requestBody)); -} - -export function requestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBody' from JSON`, - ); -} - -/** @internal */ -export const RecordEventsRequest$inboundSchema: z.ZodType< - RecordEventsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - "x-artifact-client-ci": z.string().optional(), - "x-artifact-client-interactive": z.number().int().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.array(z.lazy(() => RequestBody$inboundSchema)).optional(), -}).transform((v) => { - return remap$(v, { - "x-artifact-client-ci": "xArtifactClientCi", - "x-artifact-client-interactive": "xArtifactClientInteractive", - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type RecordEventsRequest$Outbound = { - "x-artifact-client-ci"?: string | undefined; - "x-artifact-client-interactive"?: number | undefined; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: Array | undefined; -}; - -/** @internal */ -export const RecordEventsRequest$outboundSchema: z.ZodType< - RecordEventsRequest$Outbound, - z.ZodTypeDef, - RecordEventsRequest -> = z.object({ - xArtifactClientCi: z.string().optional(), - xArtifactClientInteractive: z.number().int().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.array(z.lazy(() => RequestBody$outboundSchema)).optional(), -}).transform((v) => { - return remap$(v, { - xArtifactClientCi: "x-artifact-client-ci", - xArtifactClientInteractive: "x-artifact-client-interactive", - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RecordEventsRequest$ { - /** @deprecated use `RecordEventsRequest$inboundSchema` instead. */ - export const inboundSchema = RecordEventsRequest$inboundSchema; - /** @deprecated use `RecordEventsRequest$outboundSchema` instead. */ - export const outboundSchema = RecordEventsRequest$outboundSchema; - /** @deprecated use `RecordEventsRequest$Outbound` instead. */ - export type Outbound = RecordEventsRequest$Outbound; -} - -export function recordEventsRequestToJSON( - recordEventsRequest: RecordEventsRequest, -): string { - return JSON.stringify( - RecordEventsRequest$outboundSchema.parse(recordEventsRequest), - ); -} - -export function recordEventsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RecordEventsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RecordEventsRequest' from JSON`, - ); -} diff --git a/src/models/operations/removecert.ts b/src/models/operations/removecert.ts deleted file mode 100644 index 0b1c9af6..00000000 --- a/src/models/operations/removecert.ts +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type RemoveCertRequest = { - /** - * The cert id to remove - */ - id: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export type RemoveCertResponseBody = {}; - -/** @internal */ -export const RemoveCertRequest$inboundSchema: z.ZodType< - RemoveCertRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type RemoveCertRequest$Outbound = { - id: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const RemoveCertRequest$outboundSchema: z.ZodType< - RemoveCertRequest$Outbound, - z.ZodTypeDef, - RemoveCertRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveCertRequest$ { - /** @deprecated use `RemoveCertRequest$inboundSchema` instead. */ - export const inboundSchema = RemoveCertRequest$inboundSchema; - /** @deprecated use `RemoveCertRequest$outboundSchema` instead. */ - export const outboundSchema = RemoveCertRequest$outboundSchema; - /** @deprecated use `RemoveCertRequest$Outbound` instead. */ - export type Outbound = RemoveCertRequest$Outbound; -} - -export function removeCertRequestToJSON( - removeCertRequest: RemoveCertRequest, -): string { - return JSON.stringify( - RemoveCertRequest$outboundSchema.parse(removeCertRequest), - ); -} - -export function removeCertRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveCertRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveCertRequest' from JSON`, - ); -} - -/** @internal */ -export const RemoveCertResponseBody$inboundSchema: z.ZodType< - RemoveCertResponseBody, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type RemoveCertResponseBody$Outbound = {}; - -/** @internal */ -export const RemoveCertResponseBody$outboundSchema: z.ZodType< - RemoveCertResponseBody$Outbound, - z.ZodTypeDef, - RemoveCertResponseBody -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveCertResponseBody$ { - /** @deprecated use `RemoveCertResponseBody$inboundSchema` instead. */ - export const inboundSchema = RemoveCertResponseBody$inboundSchema; - /** @deprecated use `RemoveCertResponseBody$outboundSchema` instead. */ - export const outboundSchema = RemoveCertResponseBody$outboundSchema; - /** @deprecated use `RemoveCertResponseBody$Outbound` instead. */ - export type Outbound = RemoveCertResponseBody$Outbound; -} - -export function removeCertResponseBodyToJSON( - removeCertResponseBody: RemoveCertResponseBody, -): string { - return JSON.stringify( - RemoveCertResponseBody$outboundSchema.parse(removeCertResponseBody), - ); -} - -export function removeCertResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveCertResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveCertResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/removeprojectdomain.ts b/src/models/operations/removeprojectdomain.ts deleted file mode 100644 index 5a8da97d..00000000 --- a/src/models/operations/removeprojectdomain.ts +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type RemoveProjectDomainRequest = { - /** - * The unique project identifier or the project name - */ - idOrName: string; - /** - * The project domain name - */ - domain: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * The domain was succesfully removed from the project - */ -export type RemoveProjectDomainResponseBody = {}; - -/** @internal */ -export const RemoveProjectDomainRequest$inboundSchema: z.ZodType< - RemoveProjectDomainRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type RemoveProjectDomainRequest$Outbound = { - idOrName: string; - domain: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const RemoveProjectDomainRequest$outboundSchema: z.ZodType< - RemoveProjectDomainRequest$Outbound, - z.ZodTypeDef, - RemoveProjectDomainRequest -> = z.object({ - idOrName: z.string(), - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectDomainRequest$ { - /** @deprecated use `RemoveProjectDomainRequest$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectDomainRequest$inboundSchema; - /** @deprecated use `RemoveProjectDomainRequest$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectDomainRequest$outboundSchema; - /** @deprecated use `RemoveProjectDomainRequest$Outbound` instead. */ - export type Outbound = RemoveProjectDomainRequest$Outbound; -} - -export function removeProjectDomainRequestToJSON( - removeProjectDomainRequest: RemoveProjectDomainRequest, -): string { - return JSON.stringify( - RemoveProjectDomainRequest$outboundSchema.parse(removeProjectDomainRequest), - ); -} - -export function removeProjectDomainRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectDomainRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectDomainRequest' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectDomainResponseBody$inboundSchema: z.ZodType< - RemoveProjectDomainResponseBody, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type RemoveProjectDomainResponseBody$Outbound = {}; - -/** @internal */ -export const RemoveProjectDomainResponseBody$outboundSchema: z.ZodType< - RemoveProjectDomainResponseBody$Outbound, - z.ZodTypeDef, - RemoveProjectDomainResponseBody -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectDomainResponseBody$ { - /** @deprecated use `RemoveProjectDomainResponseBody$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectDomainResponseBody$inboundSchema; - /** @deprecated use `RemoveProjectDomainResponseBody$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectDomainResponseBody$outboundSchema; - /** @deprecated use `RemoveProjectDomainResponseBody$Outbound` instead. */ - export type Outbound = RemoveProjectDomainResponseBody$Outbound; -} - -export function removeProjectDomainResponseBodyToJSON( - removeProjectDomainResponseBody: RemoveProjectDomainResponseBody, -): string { - return JSON.stringify( - RemoveProjectDomainResponseBody$outboundSchema.parse( - removeProjectDomainResponseBody, - ), - ); -} - -export function removeProjectDomainResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectDomainResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectDomainResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/removeprojectenv.ts b/src/models/operations/removeprojectenv.ts deleted file mode 100644 index 2acc74f8..00000000 --- a/src/models/operations/removeprojectenv.ts +++ /dev/null @@ -1,6986 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type RemoveProjectEnvRequest = { - /** - * The unique project identifier or the project name - */ - idOrName: string; - /** - * The unique environment variable identifier - */ - id: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export const RemoveProjectEnvTargetProjectsResponse2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type RemoveProjectEnvTargetProjectsResponse2 = ClosedEnum< - typeof RemoveProjectEnvTargetProjectsResponse2 ->; - -export const RemoveProjectEnvTargetProjectsResponse1 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type RemoveProjectEnvTargetProjectsResponse1 = ClosedEnum< - typeof RemoveProjectEnvTargetProjectsResponse1 ->; - -export type RemoveProjectEnvResponseBodyProjectsResponseTarget = - | Array - | RemoveProjectEnvTargetProjectsResponse2; - -export const RemoveProjectEnvResponseBodyProjectsResponseType = { - System: "system", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", - Secret: "secret", -} as const; -export type RemoveProjectEnvResponseBodyProjectsResponseType = ClosedEnum< - typeof RemoveProjectEnvResponseBodyProjectsResponseType ->; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type = - { - FlagsConnectionString: "flags-connection-string", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type - >; - -export type RemoveProjectEnvContentHintProjectsResponse15 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type; - projectId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type = - { - IntegrationStoreSecret: "integration-store-secret", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type - >; - -export type RemoveProjectEnvContentHintProjectsResponse14 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type = - { - PostgresUrlNoSsl: "postgres-url-no-ssl", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type - >; - -export type RemoveProjectEnvContentHintProjectsResponse13 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type = - { - PostgresDatabase: "postgres-database", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type - >; - -export type RemoveProjectEnvContentHintProjectsResponse12 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type = - { - PostgresPassword: "postgres-password", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type - >; - -export type RemoveProjectEnvContentHintProjectsResponse11 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type = - { - PostgresHost: "postgres-host", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type - >; - -export type RemoveProjectEnvContentHintProjectsResponse10 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type = - { - PostgresUser: "postgres-user", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type - >; - -export type RemoveProjectEnvContentHintProjectsResponse9 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type = - { - PostgresPrismaUrl: "postgres-prisma-url", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type - >; - -export type RemoveProjectEnvContentHintProjectsResponse8 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type = - { - PostgresUrlNonPooling: "postgres-url-non-pooling", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type - >; - -export type RemoveProjectEnvContentHintProjectsResponse7 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type = - { - PostgresUrl: "postgres-url", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type - >; - -export type RemoveProjectEnvContentHintProjectsResponse6 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type = - { - BlobReadWriteToken: "blob-read-write-token", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type - >; - -export type RemoveProjectEnvContentHintProjectsResponse5 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type = - { - RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type - >; - -export type RemoveProjectEnvContentHintProjectsResponse4 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type = - { - RedisRestApiToken: "redis-rest-api-token", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type - >; - -export type RemoveProjectEnvContentHintProjectsResponse3 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type = - { - RedisRestApiUrl: "redis-rest-api-url", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type - >; - -export type RemoveProjectEnvContentHintProjectsResponse2 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type = - { - RedisUrl: "redis-url", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type - >; - -export type RemoveProjectEnvContentHintProjectsResponse1 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type; - storeId: string; -}; - -export type RemoveProjectEnvResponseBodyProjectsResponseContentHint = - | RemoveProjectEnvContentHintProjectsResponse1 - | RemoveProjectEnvContentHintProjectsResponse2 - | RemoveProjectEnvContentHintProjectsResponse3 - | RemoveProjectEnvContentHintProjectsResponse4 - | RemoveProjectEnvContentHintProjectsResponse5 - | RemoveProjectEnvContentHintProjectsResponse6 - | RemoveProjectEnvContentHintProjectsResponse7 - | RemoveProjectEnvContentHintProjectsResponse8 - | RemoveProjectEnvContentHintProjectsResponse9 - | RemoveProjectEnvContentHintProjectsResponse10 - | RemoveProjectEnvContentHintProjectsResponse11 - | RemoveProjectEnvContentHintProjectsResponse12 - | RemoveProjectEnvContentHintProjectsResponse13 - | RemoveProjectEnvContentHintProjectsResponse15 - | RemoveProjectEnvContentHintProjectsResponse14; - -export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type = - { - FlagsSecret: "flags-secret", - } as const; -export type RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type = - ClosedEnum< - typeof RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type - >; - -/** - * Similar to `contentHints`, but should not be exposed to the user. - */ -export type RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint = { - type: RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type; - /** - * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. - */ - encryptedValue: string; -}; - -export type RemoveProjectEnvResponseBody3 = { - target?: - | Array - | RemoveProjectEnvTargetProjectsResponse2 - | undefined; - type: RemoveProjectEnvResponseBodyProjectsResponseType; - /** - * This is used to identiy variables that have been migrated from type secret to sensitive. - */ - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | RemoveProjectEnvContentHintProjectsResponse1 - | RemoveProjectEnvContentHintProjectsResponse2 - | RemoveProjectEnvContentHintProjectsResponse3 - | RemoveProjectEnvContentHintProjectsResponse4 - | RemoveProjectEnvContentHintProjectsResponse5 - | RemoveProjectEnvContentHintProjectsResponse6 - | RemoveProjectEnvContentHintProjectsResponse7 - | RemoveProjectEnvContentHintProjectsResponse8 - | RemoveProjectEnvContentHintProjectsResponse9 - | RemoveProjectEnvContentHintProjectsResponse10 - | RemoveProjectEnvContentHintProjectsResponse11 - | RemoveProjectEnvContentHintProjectsResponse12 - | RemoveProjectEnvContentHintProjectsResponse13 - | RemoveProjectEnvContentHintProjectsResponse15 - | RemoveProjectEnvContentHintProjectsResponse14 - | null - | undefined; - /** - * Similar to `contentHints`, but should not be exposed to the user. - */ - internalContentHint?: - | RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint - | null - | undefined; - /** - * Whether `value` and `vsmValue` are decrypted. - */ - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -export const RemoveProjectEnvTargetProjects2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type RemoveProjectEnvTargetProjects2 = ClosedEnum< - typeof RemoveProjectEnvTargetProjects2 ->; - -export const RemoveProjectEnvTargetProjects1 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type RemoveProjectEnvTargetProjects1 = ClosedEnum< - typeof RemoveProjectEnvTargetProjects1 ->; - -export type RemoveProjectEnvResponseBodyProjectsTarget = - | Array - | RemoveProjectEnvTargetProjects2; - -export const RemoveProjectEnvResponseBodyProjectsType = { - System: "system", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", - Secret: "secret", -} as const; -export type RemoveProjectEnvResponseBodyProjectsType = ClosedEnum< - typeof RemoveProjectEnvResponseBodyProjectsType ->; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type = - { - FlagsConnectionString: "flags-connection-string", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type - >; - -export type RemoveProjectEnvContentHintProjects15 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type; - projectId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type = - { - IntegrationStoreSecret: "integration-store-secret", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type - >; - -export type RemoveProjectEnvContentHintProjects14 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type = - { - PostgresUrlNoSsl: "postgres-url-no-ssl", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type - >; - -export type RemoveProjectEnvContentHintProjects13 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type = - { - PostgresDatabase: "postgres-database", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type - >; - -export type RemoveProjectEnvContentHintProjects12 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type = - { - PostgresPassword: "postgres-password", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type - >; - -export type RemoveProjectEnvContentHintProjects11 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type = - { - PostgresHost: "postgres-host", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type - >; - -export type RemoveProjectEnvContentHintProjects10 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type = - { - PostgresUser: "postgres-user", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type - >; - -export type RemoveProjectEnvContentHintProjects9 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type = - { - PostgresPrismaUrl: "postgres-prisma-url", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type - >; - -export type RemoveProjectEnvContentHintProjects8 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type = - { - PostgresUrlNonPooling: "postgres-url-non-pooling", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type - >; - -export type RemoveProjectEnvContentHintProjects7 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type = - { - PostgresUrl: "postgres-url", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type - >; - -export type RemoveProjectEnvContentHintProjects6 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type = - { - BlobReadWriteToken: "blob-read-write-token", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type - >; - -export type RemoveProjectEnvContentHintProjects5 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type = - { - RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type - >; - -export type RemoveProjectEnvContentHintProjects4 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type = - { - RedisRestApiToken: "redis-rest-api-token", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type - >; - -export type RemoveProjectEnvContentHintProjects3 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type = - { - RedisRestApiUrl: "redis-rest-api-url", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type - >; - -export type RemoveProjectEnvContentHintProjects2 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type = - { - RedisUrl: "redis-url", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type - >; - -export type RemoveProjectEnvContentHintProjects1 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type; - storeId: string; -}; - -export type RemoveProjectEnvResponseBodyProjectsContentHint = - | RemoveProjectEnvContentHintProjects1 - | RemoveProjectEnvContentHintProjects2 - | RemoveProjectEnvContentHintProjects3 - | RemoveProjectEnvContentHintProjects4 - | RemoveProjectEnvContentHintProjects5 - | RemoveProjectEnvContentHintProjects6 - | RemoveProjectEnvContentHintProjects7 - | RemoveProjectEnvContentHintProjects8 - | RemoveProjectEnvContentHintProjects9 - | RemoveProjectEnvContentHintProjects10 - | RemoveProjectEnvContentHintProjects11 - | RemoveProjectEnvContentHintProjects12 - | RemoveProjectEnvContentHintProjects13 - | RemoveProjectEnvContentHintProjects15 - | RemoveProjectEnvContentHintProjects14; - -export const RemoveProjectEnvResponseBodyProjectsResponse200Type = { - FlagsSecret: "flags-secret", -} as const; -export type RemoveProjectEnvResponseBodyProjectsResponse200Type = ClosedEnum< - typeof RemoveProjectEnvResponseBodyProjectsResponse200Type ->; - -/** - * Similar to `contentHints`, but should not be exposed to the user. - */ -export type RemoveProjectEnvResponseBodyProjectsInternalContentHint = { - type: RemoveProjectEnvResponseBodyProjectsResponse200Type; - /** - * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. - */ - encryptedValue: string; -}; - -export type RemoveProjectEnvResponseBody2 = { - system?: boolean | undefined; - target?: - | Array - | RemoveProjectEnvTargetProjects2 - | undefined; - type: RemoveProjectEnvResponseBodyProjectsType; - /** - * This is used to identiy variables that have been migrated from type secret to sensitive. - */ - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | RemoveProjectEnvContentHintProjects1 - | RemoveProjectEnvContentHintProjects2 - | RemoveProjectEnvContentHintProjects3 - | RemoveProjectEnvContentHintProjects4 - | RemoveProjectEnvContentHintProjects5 - | RemoveProjectEnvContentHintProjects6 - | RemoveProjectEnvContentHintProjects7 - | RemoveProjectEnvContentHintProjects8 - | RemoveProjectEnvContentHintProjects9 - | RemoveProjectEnvContentHintProjects10 - | RemoveProjectEnvContentHintProjects11 - | RemoveProjectEnvContentHintProjects12 - | RemoveProjectEnvContentHintProjects13 - | RemoveProjectEnvContentHintProjects15 - | RemoveProjectEnvContentHintProjects14 - | null - | undefined; - /** - * Similar to `contentHints`, but should not be exposed to the user. - */ - internalContentHint?: - | RemoveProjectEnvResponseBodyProjectsInternalContentHint - | null - | undefined; - /** - * Whether `value` and `vsmValue` are decrypted. - */ - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -export const RemoveProjectEnvTarget2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type RemoveProjectEnvTarget2 = ClosedEnum< - typeof RemoveProjectEnvTarget2 ->; - -export const RemoveProjectEnvTarget1 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type RemoveProjectEnvTarget1 = ClosedEnum< - typeof RemoveProjectEnvTarget1 ->; - -export type RemoveProjectEnvResponseBodyTarget = - | Array - | RemoveProjectEnvTarget2; - -export const RemoveProjectEnvResponseBodyType = { - System: "system", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", - Secret: "secret", -} as const; -export type RemoveProjectEnvResponseBodyType = ClosedEnum< - typeof RemoveProjectEnvResponseBodyType ->; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type = - { - FlagsConnectionString: "flags-connection-string", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type - >; - -export type RemoveProjectEnvContentHint15 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type; - projectId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type = - { - IntegrationStoreSecret: "integration-store-secret", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type - >; - -export type RemoveProjectEnvContentHint14 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type = - { - PostgresUrlNoSsl: "postgres-url-no-ssl", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type - >; - -export type RemoveProjectEnvContentHint13 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type = - { - PostgresDatabase: "postgres-database", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type - >; - -export type RemoveProjectEnvContentHint12 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type = - { - PostgresPassword: "postgres-password", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type - >; - -export type RemoveProjectEnvContentHint11 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type = - { - PostgresHost: "postgres-host", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type - >; - -export type RemoveProjectEnvContentHint10 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type = - { - PostgresUser: "postgres-user", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type - >; - -export type RemoveProjectEnvContentHint9 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type = - { - PostgresPrismaUrl: "postgres-prisma-url", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type - >; - -export type RemoveProjectEnvContentHint8 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type = - { - PostgresUrlNonPooling: "postgres-url-non-pooling", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type - >; - -export type RemoveProjectEnvContentHint7 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType = - { - PostgresUrl: "postgres-url", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType - >; - -export type RemoveProjectEnvContentHint6 = { - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType = - { - BlobReadWriteToken: "blob-read-write-token", - } as const; -export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType = - ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType - >; - -export type RemoveProjectEnvContentHint5 = { - type: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponse200Type = { - RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", -} as const; -export type RemoveProjectEnvContentHintProjectsResponse200Type = ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200Type ->; - -export type RemoveProjectEnvContentHint4 = { - type: RemoveProjectEnvContentHintProjectsResponse200Type; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsResponseType = { - RedisRestApiToken: "redis-rest-api-token", -} as const; -export type RemoveProjectEnvContentHintProjectsResponseType = ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsResponseType ->; - -export type RemoveProjectEnvContentHint3 = { - type: RemoveProjectEnvContentHintProjectsResponseType; - storeId: string; -}; - -export const RemoveProjectEnvContentHintProjectsType = { - RedisRestApiUrl: "redis-rest-api-url", -} as const; -export type RemoveProjectEnvContentHintProjectsType = ClosedEnum< - typeof RemoveProjectEnvContentHintProjectsType ->; - -export type RemoveProjectEnvContentHint2 = { - type: RemoveProjectEnvContentHintProjectsType; - storeId: string; -}; - -export const RemoveProjectEnvContentHintType = { - RedisUrl: "redis-url", -} as const; -export type RemoveProjectEnvContentHintType = ClosedEnum< - typeof RemoveProjectEnvContentHintType ->; - -export type RemoveProjectEnvContentHint1 = { - type: RemoveProjectEnvContentHintType; - storeId: string; -}; - -export type RemoveProjectEnvResponseBodyContentHint = - | RemoveProjectEnvContentHint1 - | RemoveProjectEnvContentHint2 - | RemoveProjectEnvContentHint3 - | RemoveProjectEnvContentHint4 - | RemoveProjectEnvContentHint5 - | RemoveProjectEnvContentHint6 - | RemoveProjectEnvContentHint7 - | RemoveProjectEnvContentHint8 - | RemoveProjectEnvContentHint9 - | RemoveProjectEnvContentHint10 - | RemoveProjectEnvContentHint11 - | RemoveProjectEnvContentHint12 - | RemoveProjectEnvContentHint13 - | RemoveProjectEnvContentHint15 - | RemoveProjectEnvContentHint14; - -export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType = - { - FlagsSecret: "flags-secret", - } as const; -export type RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType = - ClosedEnum< - typeof RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType - >; - -/** - * Similar to `contentHints`, but should not be exposed to the user. - */ -export type RemoveProjectEnvResponseBodyInternalContentHint = { - type: RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType; - /** - * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. - */ - encryptedValue: string; -}; - -export type RemoveProjectEnvResponseBody1 = { - target?: Array | RemoveProjectEnvTarget2 | undefined; - type: RemoveProjectEnvResponseBodyType; - /** - * This is used to identiy variables that have been migrated from type secret to sensitive. - */ - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | RemoveProjectEnvContentHint1 - | RemoveProjectEnvContentHint2 - | RemoveProjectEnvContentHint3 - | RemoveProjectEnvContentHint4 - | RemoveProjectEnvContentHint5 - | RemoveProjectEnvContentHint6 - | RemoveProjectEnvContentHint7 - | RemoveProjectEnvContentHint8 - | RemoveProjectEnvContentHint9 - | RemoveProjectEnvContentHint10 - | RemoveProjectEnvContentHint11 - | RemoveProjectEnvContentHint12 - | RemoveProjectEnvContentHint13 - | RemoveProjectEnvContentHint15 - | RemoveProjectEnvContentHint14 - | null - | undefined; - /** - * Similar to `contentHints`, but should not be exposed to the user. - */ - internalContentHint?: - | RemoveProjectEnvResponseBodyInternalContentHint - | null - | undefined; - /** - * Whether `value` and `vsmValue` are decrypted. - */ - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -/** - * The environment variable was successfully removed - */ -export type RemoveProjectEnvResponseBody = - | RemoveProjectEnvResponseBody3 - | RemoveProjectEnvResponseBody2 - | Array; - -/** @internal */ -export const RemoveProjectEnvRequest$inboundSchema: z.ZodType< - RemoveProjectEnvRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type RemoveProjectEnvRequest$Outbound = { - idOrName: string; - id: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const RemoveProjectEnvRequest$outboundSchema: z.ZodType< - RemoveProjectEnvRequest$Outbound, - z.ZodTypeDef, - RemoveProjectEnvRequest -> = z.object({ - idOrName: z.string(), - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvRequest$ { - /** @deprecated use `RemoveProjectEnvRequest$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvRequest$inboundSchema; - /** @deprecated use `RemoveProjectEnvRequest$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvRequest$outboundSchema; - /** @deprecated use `RemoveProjectEnvRequest$Outbound` instead. */ - export type Outbound = RemoveProjectEnvRequest$Outbound; -} - -export function removeProjectEnvRequestToJSON( - removeProjectEnvRequest: RemoveProjectEnvRequest, -): string { - return JSON.stringify( - RemoveProjectEnvRequest$outboundSchema.parse(removeProjectEnvRequest), - ); -} - -export function removeProjectEnvRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvRequest' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvTargetProjectsResponse2$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(RemoveProjectEnvTargetProjectsResponse2); - -/** @internal */ -export const RemoveProjectEnvTargetProjectsResponse2$outboundSchema: - z.ZodNativeEnum = - RemoveProjectEnvTargetProjectsResponse2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvTargetProjectsResponse2$ { - /** @deprecated use `RemoveProjectEnvTargetProjectsResponse2$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvTargetProjectsResponse2$inboundSchema; - /** @deprecated use `RemoveProjectEnvTargetProjectsResponse2$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvTargetProjectsResponse2$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvTargetProjectsResponse1$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(RemoveProjectEnvTargetProjectsResponse1); - -/** @internal */ -export const RemoveProjectEnvTargetProjectsResponse1$outboundSchema: - z.ZodNativeEnum = - RemoveProjectEnvTargetProjectsResponse1$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvTargetProjectsResponse1$ { - /** @deprecated use `RemoveProjectEnvTargetProjectsResponse1$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvTargetProjectsResponse1$inboundSchema; - /** @deprecated use `RemoveProjectEnvTargetProjectsResponse1$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvTargetProjectsResponse1$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsResponseTarget$inboundSchema: - z.ZodType< - RemoveProjectEnvResponseBodyProjectsResponseTarget, - z.ZodTypeDef, - unknown - > = z.union([ - z.array(RemoveProjectEnvTargetProjectsResponse1$inboundSchema), - RemoveProjectEnvTargetProjectsResponse2$inboundSchema, - ]); - -/** @internal */ -export type RemoveProjectEnvResponseBodyProjectsResponseTarget$Outbound = - | Array - | string; - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsResponseTarget$outboundSchema: - z.ZodType< - RemoveProjectEnvResponseBodyProjectsResponseTarget$Outbound, - z.ZodTypeDef, - RemoveProjectEnvResponseBodyProjectsResponseTarget - > = z.union([ - z.array(RemoveProjectEnvTargetProjectsResponse1$outboundSchema), - RemoveProjectEnvTargetProjectsResponse2$outboundSchema, - ]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBodyProjectsResponseTarget$ { - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseTarget$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvResponseBodyProjectsResponseTarget$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseTarget$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvResponseBodyProjectsResponseTarget$outboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseTarget$Outbound` instead. */ - export type Outbound = - RemoveProjectEnvResponseBodyProjectsResponseTarget$Outbound; -} - -export function removeProjectEnvResponseBodyProjectsResponseTargetToJSON( - removeProjectEnvResponseBodyProjectsResponseTarget: - RemoveProjectEnvResponseBodyProjectsResponseTarget, -): string { - return JSON.stringify( - RemoveProjectEnvResponseBodyProjectsResponseTarget$outboundSchema.parse( - removeProjectEnvResponseBodyProjectsResponseTarget, - ), - ); -} - -export function removeProjectEnvResponseBodyProjectsResponseTargetFromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvResponseBodyProjectsResponseTarget, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvResponseBodyProjectsResponseTarget$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvResponseBodyProjectsResponseTarget' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(RemoveProjectEnvResponseBodyProjectsResponseType); - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsResponseType$outboundSchema: - z.ZodNativeEnum = - RemoveProjectEnvResponseBodyProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBodyProjectsResponseType$ { - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvResponseBodyProjectsResponseType$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvResponseBodyProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse15$inboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse15, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema, - projectId: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvContentHintProjectsResponse15$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse15$outboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse15$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjectsResponse15 - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema, - projectId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse15$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse15$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse15$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse15$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse15$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse15$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjectsResponse15$Outbound; -} - -export function removeProjectEnvContentHintProjectsResponse15ToJSON( - removeProjectEnvContentHintProjectsResponse15: - RemoveProjectEnvContentHintProjectsResponse15, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjectsResponse15$outboundSchema.parse( - removeProjectEnvContentHintProjectsResponse15, - ), - ); -} - -export function removeProjectEnvContentHintProjectsResponse15FromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvContentHintProjectsResponse15, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjectsResponse15$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse15' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse14$inboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse14, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvContentHintProjectsResponse14$Outbound = { - type: string; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse14$outboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse14$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjectsResponse14 - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse14$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse14$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse14$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse14$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse14$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse14$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjectsResponse14$Outbound; -} - -export function removeProjectEnvContentHintProjectsResponse14ToJSON( - removeProjectEnvContentHintProjectsResponse14: - RemoveProjectEnvContentHintProjectsResponse14, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjectsResponse14$outboundSchema.parse( - removeProjectEnvContentHintProjectsResponse14, - ), - ); -} - -export function removeProjectEnvContentHintProjectsResponse14FromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvContentHintProjectsResponse14, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjectsResponse14$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse14' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse13$inboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse13, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvContentHintProjectsResponse13$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse13$outboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse13$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjectsResponse13 - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse13$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse13$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse13$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse13$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse13$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse13$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjectsResponse13$Outbound; -} - -export function removeProjectEnvContentHintProjectsResponse13ToJSON( - removeProjectEnvContentHintProjectsResponse13: - RemoveProjectEnvContentHintProjectsResponse13, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjectsResponse13$outboundSchema.parse( - removeProjectEnvContentHintProjectsResponse13, - ), - ); -} - -export function removeProjectEnvContentHintProjectsResponse13FromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvContentHintProjectsResponse13, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjectsResponse13$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse13' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse12$inboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse12, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvContentHintProjectsResponse12$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse12$outboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse12$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjectsResponse12 - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse12$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse12$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse12$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse12$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse12$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse12$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjectsResponse12$Outbound; -} - -export function removeProjectEnvContentHintProjectsResponse12ToJSON( - removeProjectEnvContentHintProjectsResponse12: - RemoveProjectEnvContentHintProjectsResponse12, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjectsResponse12$outboundSchema.parse( - removeProjectEnvContentHintProjectsResponse12, - ), - ); -} - -export function removeProjectEnvContentHintProjectsResponse12FromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvContentHintProjectsResponse12, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjectsResponse12$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse12' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse11$inboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse11, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvContentHintProjectsResponse11$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse11$outboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse11$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjectsResponse11 - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse11$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse11$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse11$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse11$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse11$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse11$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjectsResponse11$Outbound; -} - -export function removeProjectEnvContentHintProjectsResponse11ToJSON( - removeProjectEnvContentHintProjectsResponse11: - RemoveProjectEnvContentHintProjectsResponse11, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjectsResponse11$outboundSchema.parse( - removeProjectEnvContentHintProjectsResponse11, - ), - ); -} - -export function removeProjectEnvContentHintProjectsResponse11FromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvContentHintProjectsResponse11, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjectsResponse11$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse11' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse10$inboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse10, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvContentHintProjectsResponse10$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse10$outboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse10$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjectsResponse10 - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse10$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse10$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse10$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse10$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse10$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse10$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjectsResponse10$Outbound; -} - -export function removeProjectEnvContentHintProjectsResponse10ToJSON( - removeProjectEnvContentHintProjectsResponse10: - RemoveProjectEnvContentHintProjectsResponse10, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjectsResponse10$outboundSchema.parse( - removeProjectEnvContentHintProjectsResponse10, - ), - ); -} - -export function removeProjectEnvContentHintProjectsResponse10FromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvContentHintProjectsResponse10, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjectsResponse10$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse10' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse9$inboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse9, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvContentHintProjectsResponse9$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse9$outboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse9$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjectsResponse9 - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse9$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse9$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse9$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse9$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse9$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse9$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjectsResponse9$Outbound; -} - -export function removeProjectEnvContentHintProjectsResponse9ToJSON( - removeProjectEnvContentHintProjectsResponse9: - RemoveProjectEnvContentHintProjectsResponse9, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjectsResponse9$outboundSchema.parse( - removeProjectEnvContentHintProjectsResponse9, - ), - ); -} - -export function removeProjectEnvContentHintProjectsResponse9FromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvContentHintProjectsResponse9, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjectsResponse9$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse9' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse8$inboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse8, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvContentHintProjectsResponse8$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse8$outboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse8$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjectsResponse8 - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse8$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse8$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse8$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse8$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse8$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse8$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjectsResponse8$Outbound; -} - -export function removeProjectEnvContentHintProjectsResponse8ToJSON( - removeProjectEnvContentHintProjectsResponse8: - RemoveProjectEnvContentHintProjectsResponse8, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjectsResponse8$outboundSchema.parse( - removeProjectEnvContentHintProjectsResponse8, - ), - ); -} - -export function removeProjectEnvContentHintProjectsResponse8FromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvContentHintProjectsResponse8, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjectsResponse8$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse8' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse7$inboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse7, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvContentHintProjectsResponse7$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse7$outboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse7$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjectsResponse7 - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse7$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse7$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse7$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse7$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse7$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse7$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjectsResponse7$Outbound; -} - -export function removeProjectEnvContentHintProjectsResponse7ToJSON( - removeProjectEnvContentHintProjectsResponse7: - RemoveProjectEnvContentHintProjectsResponse7, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjectsResponse7$outboundSchema.parse( - removeProjectEnvContentHintProjectsResponse7, - ), - ); -} - -export function removeProjectEnvContentHintProjectsResponse7FromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvContentHintProjectsResponse7, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjectsResponse7$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse7' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse6$inboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse6, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvContentHintProjectsResponse6$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse6$outboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse6$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjectsResponse6 - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse6$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse6$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse6$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse6$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse6$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse6$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjectsResponse6$Outbound; -} - -export function removeProjectEnvContentHintProjectsResponse6ToJSON( - removeProjectEnvContentHintProjectsResponse6: - RemoveProjectEnvContentHintProjectsResponse6, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjectsResponse6$outboundSchema.parse( - removeProjectEnvContentHintProjectsResponse6, - ), - ); -} - -export function removeProjectEnvContentHintProjectsResponse6FromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvContentHintProjectsResponse6, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjectsResponse6$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse6' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse5$inboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse5, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvContentHintProjectsResponse5$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse5$outboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse5$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjectsResponse5 - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse5$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse5$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse5$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse5$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse5$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse5$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjectsResponse5$Outbound; -} - -export function removeProjectEnvContentHintProjectsResponse5ToJSON( - removeProjectEnvContentHintProjectsResponse5: - RemoveProjectEnvContentHintProjectsResponse5, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjectsResponse5$outboundSchema.parse( - removeProjectEnvContentHintProjectsResponse5, - ), - ); -} - -export function removeProjectEnvContentHintProjectsResponse5FromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvContentHintProjectsResponse5, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjectsResponse5$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse5' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse4$inboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse4, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvContentHintProjectsResponse4$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse4$outboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse4$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjectsResponse4 - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse4$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse4$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse4$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse4$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse4$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse4$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjectsResponse4$Outbound; -} - -export function removeProjectEnvContentHintProjectsResponse4ToJSON( - removeProjectEnvContentHintProjectsResponse4: - RemoveProjectEnvContentHintProjectsResponse4, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjectsResponse4$outboundSchema.parse( - removeProjectEnvContentHintProjectsResponse4, - ), - ); -} - -export function removeProjectEnvContentHintProjectsResponse4FromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvContentHintProjectsResponse4, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjectsResponse4$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse4' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse3$inboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse3, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvContentHintProjectsResponse3$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse3$outboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse3$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjectsResponse3 - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse3$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse3$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse3$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse3$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse3$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse3$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjectsResponse3$Outbound; -} - -export function removeProjectEnvContentHintProjectsResponse3ToJSON( - removeProjectEnvContentHintProjectsResponse3: - RemoveProjectEnvContentHintProjectsResponse3, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjectsResponse3$outboundSchema.parse( - removeProjectEnvContentHintProjectsResponse3, - ), - ); -} - -export function removeProjectEnvContentHintProjectsResponse3FromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvContentHintProjectsResponse3, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjectsResponse3$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse3' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse2$inboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse2, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvContentHintProjectsResponse2$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse2$outboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse2$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjectsResponse2 - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse2$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse2$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse2$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse2$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse2$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse2$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjectsResponse2$Outbound; -} - -export function removeProjectEnvContentHintProjectsResponse2ToJSON( - removeProjectEnvContentHintProjectsResponse2: - RemoveProjectEnvContentHintProjectsResponse2, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjectsResponse2$outboundSchema.parse( - removeProjectEnvContentHintProjectsResponse2, - ), - ); -} - -export function removeProjectEnvContentHintProjectsResponse2FromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvContentHintProjectsResponse2, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjectsResponse2$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse2' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse1$inboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse1, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvContentHintProjectsResponse1$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse1$outboundSchema: - z.ZodType< - RemoveProjectEnvContentHintProjectsResponse1$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjectsResponse1 - > = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema, - storeId: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse1$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse1$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse1$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse1$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse1$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse1$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjectsResponse1$Outbound; -} - -export function removeProjectEnvContentHintProjectsResponse1ToJSON( - removeProjectEnvContentHintProjectsResponse1: - RemoveProjectEnvContentHintProjectsResponse1, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjectsResponse1$outboundSchema.parse( - removeProjectEnvContentHintProjectsResponse1, - ), - ); -} - -export function removeProjectEnvContentHintProjectsResponse1FromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvContentHintProjectsResponse1, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjectsResponse1$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse1' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema: - z.ZodType< - RemoveProjectEnvResponseBodyProjectsResponseContentHint, - z.ZodTypeDef, - unknown - > = z.union([ - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse1$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse2$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse3$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse4$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse5$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse6$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse7$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse8$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse9$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse10$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse11$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse12$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse13$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse15$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse14$inboundSchema), - ]); - -/** @internal */ -export type RemoveProjectEnvResponseBodyProjectsResponseContentHint$Outbound = - | RemoveProjectEnvContentHintProjectsResponse1$Outbound - | RemoveProjectEnvContentHintProjectsResponse2$Outbound - | RemoveProjectEnvContentHintProjectsResponse3$Outbound - | RemoveProjectEnvContentHintProjectsResponse4$Outbound - | RemoveProjectEnvContentHintProjectsResponse5$Outbound - | RemoveProjectEnvContentHintProjectsResponse6$Outbound - | RemoveProjectEnvContentHintProjectsResponse7$Outbound - | RemoveProjectEnvContentHintProjectsResponse8$Outbound - | RemoveProjectEnvContentHintProjectsResponse9$Outbound - | RemoveProjectEnvContentHintProjectsResponse10$Outbound - | RemoveProjectEnvContentHintProjectsResponse11$Outbound - | RemoveProjectEnvContentHintProjectsResponse12$Outbound - | RemoveProjectEnvContentHintProjectsResponse13$Outbound - | RemoveProjectEnvContentHintProjectsResponse15$Outbound - | RemoveProjectEnvContentHintProjectsResponse14$Outbound; - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema: - z.ZodType< - RemoveProjectEnvResponseBodyProjectsResponseContentHint$Outbound, - z.ZodTypeDef, - RemoveProjectEnvResponseBodyProjectsResponseContentHint - > = z.union([ - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse1$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse2$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse3$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse4$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse5$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse6$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse7$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse8$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse9$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse10$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse11$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse12$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse13$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse15$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse14$outboundSchema), - ]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBodyProjectsResponseContentHint$ { - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseContentHint$Outbound` instead. */ - export type Outbound = - RemoveProjectEnvResponseBodyProjectsResponseContentHint$Outbound; -} - -export function removeProjectEnvResponseBodyProjectsResponseContentHintToJSON( - removeProjectEnvResponseBodyProjectsResponseContentHint: - RemoveProjectEnvResponseBodyProjectsResponseContentHint, -): string { - return JSON.stringify( - RemoveProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema - .parse(removeProjectEnvResponseBodyProjectsResponseContentHint), - ); -} - -export function removeProjectEnvResponseBodyProjectsResponseContentHintFromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvResponseBodyProjectsResponseContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema - .parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvResponseBodyProjectsResponseContentHint' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type - > = z.nativeEnum( - RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type, - ); - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type - > = - RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$ { - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema: - z.ZodType< - RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema, - encryptedValue: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound = - { - type: string; - encryptedValue: string; - }; - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema: - z.ZodType< - RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound, - z.ZodTypeDef, - RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint - > = z.object({ - type: - RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema, - encryptedValue: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$ { - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound` instead. */ - export type Outbound = - RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound; -} - -export function removeProjectEnvResponseBodyProjectsResponseInternalContentHintToJSON( - removeProjectEnvResponseBodyProjectsResponseInternalContentHint: - RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint, -): string { - return JSON.stringify( - RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema - .parse(removeProjectEnvResponseBodyProjectsResponseInternalContentHint), - ); -} - -export function removeProjectEnvResponseBodyProjectsResponseInternalContentHintFromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema - .parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvResponseBody3$inboundSchema: z.ZodType< - RemoveProjectEnvResponseBody3, - z.ZodTypeDef, - unknown -> = z.object({ - target: z.union([ - z.array(RemoveProjectEnvTargetProjectsResponse1$inboundSchema), - RemoveProjectEnvTargetProjectsResponse2$inboundSchema, - ]).optional(), - type: RemoveProjectEnvResponseBodyProjectsResponseType$inboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse1$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse2$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse3$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse4$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse5$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse6$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse7$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse8$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse9$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse10$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse11$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse12$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse13$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse15$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse14$inboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => - RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema - ), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), -}); - -/** @internal */ -export type RemoveProjectEnvResponseBody3$Outbound = { - target?: Array | string | undefined; - type: string; - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | RemoveProjectEnvContentHintProjectsResponse1$Outbound - | RemoveProjectEnvContentHintProjectsResponse2$Outbound - | RemoveProjectEnvContentHintProjectsResponse3$Outbound - | RemoveProjectEnvContentHintProjectsResponse4$Outbound - | RemoveProjectEnvContentHintProjectsResponse5$Outbound - | RemoveProjectEnvContentHintProjectsResponse6$Outbound - | RemoveProjectEnvContentHintProjectsResponse7$Outbound - | RemoveProjectEnvContentHintProjectsResponse8$Outbound - | RemoveProjectEnvContentHintProjectsResponse9$Outbound - | RemoveProjectEnvContentHintProjectsResponse10$Outbound - | RemoveProjectEnvContentHintProjectsResponse11$Outbound - | RemoveProjectEnvContentHintProjectsResponse12$Outbound - | RemoveProjectEnvContentHintProjectsResponse13$Outbound - | RemoveProjectEnvContentHintProjectsResponse15$Outbound - | RemoveProjectEnvContentHintProjectsResponse14$Outbound - | null - | undefined; - internalContentHint?: - | RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound - | null - | undefined; - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -/** @internal */ -export const RemoveProjectEnvResponseBody3$outboundSchema: z.ZodType< - RemoveProjectEnvResponseBody3$Outbound, - z.ZodTypeDef, - RemoveProjectEnvResponseBody3 -> = z.object({ - target: z.union([ - z.array(RemoveProjectEnvTargetProjectsResponse1$outboundSchema), - RemoveProjectEnvTargetProjectsResponse2$outboundSchema, - ]).optional(), - type: RemoveProjectEnvResponseBodyProjectsResponseType$outboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse1$outboundSchema), - z.lazy(() => - RemoveProjectEnvContentHintProjectsResponse2$outboundSchema - ), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse3$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse4$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse5$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse6$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse7$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse8$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse9$outboundSchema), - z.lazy(() => - RemoveProjectEnvContentHintProjectsResponse10$outboundSchema - ), - z.lazy(() => - RemoveProjectEnvContentHintProjectsResponse11$outboundSchema - ), - z.lazy(() => - RemoveProjectEnvContentHintProjectsResponse12$outboundSchema - ), - z.lazy(() => - RemoveProjectEnvContentHintProjectsResponse13$outboundSchema - ), - z.lazy(() => - RemoveProjectEnvContentHintProjectsResponse15$outboundSchema - ), - z.lazy(() => - RemoveProjectEnvContentHintProjectsResponse14$outboundSchema - ), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => - RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema - ), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBody3$ { - /** @deprecated use `RemoveProjectEnvResponseBody3$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvResponseBody3$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBody3$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvResponseBody3$outboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBody3$Outbound` instead. */ - export type Outbound = RemoveProjectEnvResponseBody3$Outbound; -} - -export function removeProjectEnvResponseBody3ToJSON( - removeProjectEnvResponseBody3: RemoveProjectEnvResponseBody3, -): string { - return JSON.stringify( - RemoveProjectEnvResponseBody3$outboundSchema.parse( - removeProjectEnvResponseBody3, - ), - ); -} - -export function removeProjectEnvResponseBody3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvResponseBody3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvResponseBody3' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvTargetProjects2$inboundSchema: z.ZodNativeEnum< - typeof RemoveProjectEnvTargetProjects2 -> = z.nativeEnum(RemoveProjectEnvTargetProjects2); - -/** @internal */ -export const RemoveProjectEnvTargetProjects2$outboundSchema: z.ZodNativeEnum< - typeof RemoveProjectEnvTargetProjects2 -> = RemoveProjectEnvTargetProjects2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvTargetProjects2$ { - /** @deprecated use `RemoveProjectEnvTargetProjects2$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvTargetProjects2$inboundSchema; - /** @deprecated use `RemoveProjectEnvTargetProjects2$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvTargetProjects2$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvTargetProjects1$inboundSchema: z.ZodNativeEnum< - typeof RemoveProjectEnvTargetProjects1 -> = z.nativeEnum(RemoveProjectEnvTargetProjects1); - -/** @internal */ -export const RemoveProjectEnvTargetProjects1$outboundSchema: z.ZodNativeEnum< - typeof RemoveProjectEnvTargetProjects1 -> = RemoveProjectEnvTargetProjects1$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvTargetProjects1$ { - /** @deprecated use `RemoveProjectEnvTargetProjects1$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvTargetProjects1$inboundSchema; - /** @deprecated use `RemoveProjectEnvTargetProjects1$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvTargetProjects1$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsTarget$inboundSchema: - z.ZodType = - z.union([ - z.array(RemoveProjectEnvTargetProjects1$inboundSchema), - RemoveProjectEnvTargetProjects2$inboundSchema, - ]); - -/** @internal */ -export type RemoveProjectEnvResponseBodyProjectsTarget$Outbound = - | Array - | string; - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsTarget$outboundSchema: - z.ZodType< - RemoveProjectEnvResponseBodyProjectsTarget$Outbound, - z.ZodTypeDef, - RemoveProjectEnvResponseBodyProjectsTarget - > = z.union([ - z.array(RemoveProjectEnvTargetProjects1$outboundSchema), - RemoveProjectEnvTargetProjects2$outboundSchema, - ]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBodyProjectsTarget$ { - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsTarget$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvResponseBodyProjectsTarget$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsTarget$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvResponseBodyProjectsTarget$outboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsTarget$Outbound` instead. */ - export type Outbound = RemoveProjectEnvResponseBodyProjectsTarget$Outbound; -} - -export function removeProjectEnvResponseBodyProjectsTargetToJSON( - removeProjectEnvResponseBodyProjectsTarget: - RemoveProjectEnvResponseBodyProjectsTarget, -): string { - return JSON.stringify( - RemoveProjectEnvResponseBodyProjectsTarget$outboundSchema.parse( - removeProjectEnvResponseBodyProjectsTarget, - ), - ); -} - -export function removeProjectEnvResponseBodyProjectsTargetFromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvResponseBodyProjectsTarget, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvResponseBodyProjectsTarget$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvResponseBodyProjectsTarget' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(RemoveProjectEnvResponseBodyProjectsType); - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsType$outboundSchema: - z.ZodNativeEnum = - RemoveProjectEnvResponseBodyProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBodyProjectsType$ { - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsType$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvResponseBodyProjectsType$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsType$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvResponseBodyProjectsType$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjects15$inboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects15, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema, - projectId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHintProjects15$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjects15$outboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects15$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjects15 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjects15$ { - /** @deprecated use `RemoveProjectEnvContentHintProjects15$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjects15$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects15$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjects15$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects15$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjects15$Outbound; -} - -export function removeProjectEnvContentHintProjects15ToJSON( - removeProjectEnvContentHintProjects15: RemoveProjectEnvContentHintProjects15, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjects15$outboundSchema.parse( - removeProjectEnvContentHintProjects15, - ), - ); -} - -export function removeProjectEnvContentHintProjects15FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjects15$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHintProjects15' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjects14$inboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects14, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHintProjects14$Outbound = { - type: string; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjects14$outboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects14$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjects14 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjects14$ { - /** @deprecated use `RemoveProjectEnvContentHintProjects14$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjects14$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects14$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjects14$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects14$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjects14$Outbound; -} - -export function removeProjectEnvContentHintProjects14ToJSON( - removeProjectEnvContentHintProjects14: RemoveProjectEnvContentHintProjects14, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjects14$outboundSchema.parse( - removeProjectEnvContentHintProjects14, - ), - ); -} - -export function removeProjectEnvContentHintProjects14FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjects14$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHintProjects14' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjects13$inboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects13, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHintProjects13$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjects13$outboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects13$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjects13 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjects13$ { - /** @deprecated use `RemoveProjectEnvContentHintProjects13$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjects13$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects13$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjects13$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects13$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjects13$Outbound; -} - -export function removeProjectEnvContentHintProjects13ToJSON( - removeProjectEnvContentHintProjects13: RemoveProjectEnvContentHintProjects13, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjects13$outboundSchema.parse( - removeProjectEnvContentHintProjects13, - ), - ); -} - -export function removeProjectEnvContentHintProjects13FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjects13$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHintProjects13' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjects12$inboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects12, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHintProjects12$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjects12$outboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects12$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjects12 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjects12$ { - /** @deprecated use `RemoveProjectEnvContentHintProjects12$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjects12$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects12$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjects12$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects12$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjects12$Outbound; -} - -export function removeProjectEnvContentHintProjects12ToJSON( - removeProjectEnvContentHintProjects12: RemoveProjectEnvContentHintProjects12, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjects12$outboundSchema.parse( - removeProjectEnvContentHintProjects12, - ), - ); -} - -export function removeProjectEnvContentHintProjects12FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjects12$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHintProjects12' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjects11$inboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects11, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHintProjects11$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjects11$outboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects11$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjects11 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjects11$ { - /** @deprecated use `RemoveProjectEnvContentHintProjects11$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjects11$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects11$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjects11$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects11$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjects11$Outbound; -} - -export function removeProjectEnvContentHintProjects11ToJSON( - removeProjectEnvContentHintProjects11: RemoveProjectEnvContentHintProjects11, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjects11$outboundSchema.parse( - removeProjectEnvContentHintProjects11, - ), - ); -} - -export function removeProjectEnvContentHintProjects11FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjects11$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHintProjects11' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjects10$inboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects10, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHintProjects10$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjects10$outboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects10$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjects10 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjects10$ { - /** @deprecated use `RemoveProjectEnvContentHintProjects10$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjects10$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects10$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjects10$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects10$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjects10$Outbound; -} - -export function removeProjectEnvContentHintProjects10ToJSON( - removeProjectEnvContentHintProjects10: RemoveProjectEnvContentHintProjects10, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjects10$outboundSchema.parse( - removeProjectEnvContentHintProjects10, - ), - ); -} - -export function removeProjectEnvContentHintProjects10FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjects10$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHintProjects10' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjects9$inboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHintProjects9$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjects9$outboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects9$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjects9 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjects9$ { - /** @deprecated use `RemoveProjectEnvContentHintProjects9$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjects9$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects9$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjects9$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects9$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjects9$Outbound; -} - -export function removeProjectEnvContentHintProjects9ToJSON( - removeProjectEnvContentHintProjects9: RemoveProjectEnvContentHintProjects9, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjects9$outboundSchema.parse( - removeProjectEnvContentHintProjects9, - ), - ); -} - -export function removeProjectEnvContentHintProjects9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjects9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHintProjects9' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjects8$inboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHintProjects8$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjects8$outboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects8$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjects8 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjects8$ { - /** @deprecated use `RemoveProjectEnvContentHintProjects8$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjects8$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects8$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjects8$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects8$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjects8$Outbound; -} - -export function removeProjectEnvContentHintProjects8ToJSON( - removeProjectEnvContentHintProjects8: RemoveProjectEnvContentHintProjects8, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjects8$outboundSchema.parse( - removeProjectEnvContentHintProjects8, - ), - ); -} - -export function removeProjectEnvContentHintProjects8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjects8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHintProjects8' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjects7$inboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHintProjects7$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjects7$outboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects7$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjects7 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjects7$ { - /** @deprecated use `RemoveProjectEnvContentHintProjects7$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjects7$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects7$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjects7$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects7$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjects7$Outbound; -} - -export function removeProjectEnvContentHintProjects7ToJSON( - removeProjectEnvContentHintProjects7: RemoveProjectEnvContentHintProjects7, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjects7$outboundSchema.parse( - removeProjectEnvContentHintProjects7, - ), - ); -} - -export function removeProjectEnvContentHintProjects7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjects7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHintProjects7' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjects6$inboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHintProjects6$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjects6$outboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects6$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjects6 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjects6$ { - /** @deprecated use `RemoveProjectEnvContentHintProjects6$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjects6$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects6$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjects6$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects6$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjects6$Outbound; -} - -export function removeProjectEnvContentHintProjects6ToJSON( - removeProjectEnvContentHintProjects6: RemoveProjectEnvContentHintProjects6, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjects6$outboundSchema.parse( - removeProjectEnvContentHintProjects6, - ), - ); -} - -export function removeProjectEnvContentHintProjects6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjects6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHintProjects6' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjects5$inboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects5, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHintProjects5$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjects5$outboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects5$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjects5 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjects5$ { - /** @deprecated use `RemoveProjectEnvContentHintProjects5$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjects5$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects5$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjects5$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects5$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjects5$Outbound; -} - -export function removeProjectEnvContentHintProjects5ToJSON( - removeProjectEnvContentHintProjects5: RemoveProjectEnvContentHintProjects5, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjects5$outboundSchema.parse( - removeProjectEnvContentHintProjects5, - ), - ); -} - -export function removeProjectEnvContentHintProjects5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjects5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHintProjects5' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjects4$inboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects4, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHintProjects4$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjects4$outboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects4$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjects4 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjects4$ { - /** @deprecated use `RemoveProjectEnvContentHintProjects4$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjects4$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects4$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjects4$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects4$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjects4$Outbound; -} - -export function removeProjectEnvContentHintProjects4ToJSON( - removeProjectEnvContentHintProjects4: RemoveProjectEnvContentHintProjects4, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjects4$outboundSchema.parse( - removeProjectEnvContentHintProjects4, - ), - ); -} - -export function removeProjectEnvContentHintProjects4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjects4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHintProjects4' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjects3$inboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects3, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHintProjects3$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjects3$outboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects3$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjects3 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjects3$ { - /** @deprecated use `RemoveProjectEnvContentHintProjects3$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjects3$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects3$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjects3$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects3$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjects3$Outbound; -} - -export function removeProjectEnvContentHintProjects3ToJSON( - removeProjectEnvContentHintProjects3: RemoveProjectEnvContentHintProjects3, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjects3$outboundSchema.parse( - removeProjectEnvContentHintProjects3, - ), - ); -} - -export function removeProjectEnvContentHintProjects3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjects3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHintProjects3' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjects2$inboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects2, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHintProjects2$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjects2$outboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects2$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjects2 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjects2$ { - /** @deprecated use `RemoveProjectEnvContentHintProjects2$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjects2$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects2$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjects2$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects2$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjects2$Outbound; -} - -export function removeProjectEnvContentHintProjects2ToJSON( - removeProjectEnvContentHintProjects2: RemoveProjectEnvContentHintProjects2, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjects2$outboundSchema.parse( - removeProjectEnvContentHintProjects2, - ), - ); -} - -export function removeProjectEnvContentHintProjects2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjects2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHintProjects2' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjects1$inboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects1, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHintProjects1$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHintProjects1$outboundSchema: z.ZodType< - RemoveProjectEnvContentHintProjects1$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHintProjects1 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjects1$ { - /** @deprecated use `RemoveProjectEnvContentHintProjects1$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjects1$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects1$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjects1$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjects1$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHintProjects1$Outbound; -} - -export function removeProjectEnvContentHintProjects1ToJSON( - removeProjectEnvContentHintProjects1: RemoveProjectEnvContentHintProjects1, -): string { - return JSON.stringify( - RemoveProjectEnvContentHintProjects1$outboundSchema.parse( - removeProjectEnvContentHintProjects1, - ), - ); -} - -export function removeProjectEnvContentHintProjects1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvContentHintProjects1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHintProjects1' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsContentHint$inboundSchema: - z.ZodType< - RemoveProjectEnvResponseBodyProjectsContentHint, - z.ZodTypeDef, - unknown - > = z.union([ - z.lazy(() => RemoveProjectEnvContentHintProjects1$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects2$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects3$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects4$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects5$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects6$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects7$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects8$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects9$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects10$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects11$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects12$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects13$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects15$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects14$inboundSchema), - ]); - -/** @internal */ -export type RemoveProjectEnvResponseBodyProjectsContentHint$Outbound = - | RemoveProjectEnvContentHintProjects1$Outbound - | RemoveProjectEnvContentHintProjects2$Outbound - | RemoveProjectEnvContentHintProjects3$Outbound - | RemoveProjectEnvContentHintProjects4$Outbound - | RemoveProjectEnvContentHintProjects5$Outbound - | RemoveProjectEnvContentHintProjects6$Outbound - | RemoveProjectEnvContentHintProjects7$Outbound - | RemoveProjectEnvContentHintProjects8$Outbound - | RemoveProjectEnvContentHintProjects9$Outbound - | RemoveProjectEnvContentHintProjects10$Outbound - | RemoveProjectEnvContentHintProjects11$Outbound - | RemoveProjectEnvContentHintProjects12$Outbound - | RemoveProjectEnvContentHintProjects13$Outbound - | RemoveProjectEnvContentHintProjects15$Outbound - | RemoveProjectEnvContentHintProjects14$Outbound; - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsContentHint$outboundSchema: - z.ZodType< - RemoveProjectEnvResponseBodyProjectsContentHint$Outbound, - z.ZodTypeDef, - RemoveProjectEnvResponseBodyProjectsContentHint - > = z.union([ - z.lazy(() => RemoveProjectEnvContentHintProjects1$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects2$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects3$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects4$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects5$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects6$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects7$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects8$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects9$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects10$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects11$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects12$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects13$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects15$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects14$outboundSchema), - ]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBodyProjectsContentHint$ { - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsContentHint$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvResponseBodyProjectsContentHint$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsContentHint$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvResponseBodyProjectsContentHint$outboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsContentHint$Outbound` instead. */ - export type Outbound = - RemoveProjectEnvResponseBodyProjectsContentHint$Outbound; -} - -export function removeProjectEnvResponseBodyProjectsContentHintToJSON( - removeProjectEnvResponseBodyProjectsContentHint: - RemoveProjectEnvResponseBodyProjectsContentHint, -): string { - return JSON.stringify( - RemoveProjectEnvResponseBodyProjectsContentHint$outboundSchema.parse( - removeProjectEnvResponseBodyProjectsContentHint, - ), - ); -} - -export function removeProjectEnvResponseBodyProjectsContentHintFromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvResponseBodyProjectsContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvResponseBodyProjectsContentHint$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvResponseBodyProjectsContentHint' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = - z.nativeEnum(RemoveProjectEnvResponseBodyProjectsResponse200Type); - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsResponse200Type$outboundSchema: - z.ZodNativeEnum = - RemoveProjectEnvResponseBodyProjectsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBodyProjectsResponse200Type$ { - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvResponseBodyProjectsResponse200Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvResponseBodyProjectsResponse200Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema: - z.ZodType< - RemoveProjectEnvResponseBodyProjectsInternalContentHint, - z.ZodTypeDef, - unknown - > = z.object({ - type: RemoveProjectEnvResponseBodyProjectsResponse200Type$inboundSchema, - encryptedValue: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvResponseBodyProjectsInternalContentHint$Outbound = { - type: string; - encryptedValue: string; -}; - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema: - z.ZodType< - RemoveProjectEnvResponseBodyProjectsInternalContentHint$Outbound, - z.ZodTypeDef, - RemoveProjectEnvResponseBodyProjectsInternalContentHint - > = z.object({ - type: RemoveProjectEnvResponseBodyProjectsResponse200Type$outboundSchema, - encryptedValue: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBodyProjectsInternalContentHint$ { - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsInternalContentHint$Outbound` instead. */ - export type Outbound = - RemoveProjectEnvResponseBodyProjectsInternalContentHint$Outbound; -} - -export function removeProjectEnvResponseBodyProjectsInternalContentHintToJSON( - removeProjectEnvResponseBodyProjectsInternalContentHint: - RemoveProjectEnvResponseBodyProjectsInternalContentHint, -): string { - return JSON.stringify( - RemoveProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema - .parse(removeProjectEnvResponseBodyProjectsInternalContentHint), - ); -} - -export function removeProjectEnvResponseBodyProjectsInternalContentHintFromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvResponseBodyProjectsInternalContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema - .parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvResponseBodyProjectsInternalContentHint' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvResponseBody2$inboundSchema: z.ZodType< - RemoveProjectEnvResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - system: z.boolean().optional(), - target: z.union([ - z.array(RemoveProjectEnvTargetProjects1$inboundSchema), - RemoveProjectEnvTargetProjects2$inboundSchema, - ]).optional(), - type: RemoveProjectEnvResponseBodyProjectsType$inboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => RemoveProjectEnvContentHintProjects1$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects2$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects3$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects4$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects5$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects6$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects7$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects8$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects9$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects10$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects11$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects12$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects13$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects15$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects14$inboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => - RemoveProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema - ), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), -}); - -/** @internal */ -export type RemoveProjectEnvResponseBody2$Outbound = { - system?: boolean | undefined; - target?: Array | string | undefined; - type: string; - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | RemoveProjectEnvContentHintProjects1$Outbound - | RemoveProjectEnvContentHintProjects2$Outbound - | RemoveProjectEnvContentHintProjects3$Outbound - | RemoveProjectEnvContentHintProjects4$Outbound - | RemoveProjectEnvContentHintProjects5$Outbound - | RemoveProjectEnvContentHintProjects6$Outbound - | RemoveProjectEnvContentHintProjects7$Outbound - | RemoveProjectEnvContentHintProjects8$Outbound - | RemoveProjectEnvContentHintProjects9$Outbound - | RemoveProjectEnvContentHintProjects10$Outbound - | RemoveProjectEnvContentHintProjects11$Outbound - | RemoveProjectEnvContentHintProjects12$Outbound - | RemoveProjectEnvContentHintProjects13$Outbound - | RemoveProjectEnvContentHintProjects15$Outbound - | RemoveProjectEnvContentHintProjects14$Outbound - | null - | undefined; - internalContentHint?: - | RemoveProjectEnvResponseBodyProjectsInternalContentHint$Outbound - | null - | undefined; - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -/** @internal */ -export const RemoveProjectEnvResponseBody2$outboundSchema: z.ZodType< - RemoveProjectEnvResponseBody2$Outbound, - z.ZodTypeDef, - RemoveProjectEnvResponseBody2 -> = z.object({ - system: z.boolean().optional(), - target: z.union([ - z.array(RemoveProjectEnvTargetProjects1$outboundSchema), - RemoveProjectEnvTargetProjects2$outboundSchema, - ]).optional(), - type: RemoveProjectEnvResponseBodyProjectsType$outboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => RemoveProjectEnvContentHintProjects1$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects2$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects3$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects4$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects5$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects6$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects7$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects8$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects9$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects10$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects11$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects12$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects13$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects15$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects14$outboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => - RemoveProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema - ), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBody2$ { - /** @deprecated use `RemoveProjectEnvResponseBody2$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvResponseBody2$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBody2$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvResponseBody2$outboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBody2$Outbound` instead. */ - export type Outbound = RemoveProjectEnvResponseBody2$Outbound; -} - -export function removeProjectEnvResponseBody2ToJSON( - removeProjectEnvResponseBody2: RemoveProjectEnvResponseBody2, -): string { - return JSON.stringify( - RemoveProjectEnvResponseBody2$outboundSchema.parse( - removeProjectEnvResponseBody2, - ), - ); -} - -export function removeProjectEnvResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvTarget2$inboundSchema: z.ZodNativeEnum< - typeof RemoveProjectEnvTarget2 -> = z.nativeEnum(RemoveProjectEnvTarget2); - -/** @internal */ -export const RemoveProjectEnvTarget2$outboundSchema: z.ZodNativeEnum< - typeof RemoveProjectEnvTarget2 -> = RemoveProjectEnvTarget2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvTarget2$ { - /** @deprecated use `RemoveProjectEnvTarget2$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvTarget2$inboundSchema; - /** @deprecated use `RemoveProjectEnvTarget2$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvTarget2$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvTarget1$inboundSchema: z.ZodNativeEnum< - typeof RemoveProjectEnvTarget1 -> = z.nativeEnum(RemoveProjectEnvTarget1); - -/** @internal */ -export const RemoveProjectEnvTarget1$outboundSchema: z.ZodNativeEnum< - typeof RemoveProjectEnvTarget1 -> = RemoveProjectEnvTarget1$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvTarget1$ { - /** @deprecated use `RemoveProjectEnvTarget1$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvTarget1$inboundSchema; - /** @deprecated use `RemoveProjectEnvTarget1$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvTarget1$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvResponseBodyTarget$inboundSchema: z.ZodType< - RemoveProjectEnvResponseBodyTarget, - z.ZodTypeDef, - unknown -> = z.union([ - z.array(RemoveProjectEnvTarget1$inboundSchema), - RemoveProjectEnvTarget2$inboundSchema, -]); - -/** @internal */ -export type RemoveProjectEnvResponseBodyTarget$Outbound = - | Array - | string; - -/** @internal */ -export const RemoveProjectEnvResponseBodyTarget$outboundSchema: z.ZodType< - RemoveProjectEnvResponseBodyTarget$Outbound, - z.ZodTypeDef, - RemoveProjectEnvResponseBodyTarget -> = z.union([ - z.array(RemoveProjectEnvTarget1$outboundSchema), - RemoveProjectEnvTarget2$outboundSchema, -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBodyTarget$ { - /** @deprecated use `RemoveProjectEnvResponseBodyTarget$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvResponseBodyTarget$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyTarget$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvResponseBodyTarget$outboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyTarget$Outbound` instead. */ - export type Outbound = RemoveProjectEnvResponseBodyTarget$Outbound; -} - -export function removeProjectEnvResponseBodyTargetToJSON( - removeProjectEnvResponseBodyTarget: RemoveProjectEnvResponseBodyTarget, -): string { - return JSON.stringify( - RemoveProjectEnvResponseBodyTarget$outboundSchema.parse( - removeProjectEnvResponseBodyTarget, - ), - ); -} - -export function removeProjectEnvResponseBodyTargetFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvResponseBodyTarget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvResponseBodyTarget' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvResponseBodyType$inboundSchema: z.ZodNativeEnum< - typeof RemoveProjectEnvResponseBodyType -> = z.nativeEnum(RemoveProjectEnvResponseBodyType); - -/** @internal */ -export const RemoveProjectEnvResponseBodyType$outboundSchema: z.ZodNativeEnum< - typeof RemoveProjectEnvResponseBodyType -> = RemoveProjectEnvResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBodyType$ { - /** @deprecated use `RemoveProjectEnvResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvResponseBodyType$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvResponseBodyType$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHint15$inboundSchema: z.ZodType< - RemoveProjectEnvContentHint15, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema, - projectId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHint15$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHint15$outboundSchema: z.ZodType< - RemoveProjectEnvContentHint15$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHint15 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHint15$ { - /** @deprecated use `RemoveProjectEnvContentHint15$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvContentHint15$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint15$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvContentHint15$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint15$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHint15$Outbound; -} - -export function removeProjectEnvContentHint15ToJSON( - removeProjectEnvContentHint15: RemoveProjectEnvContentHint15, -): string { - return JSON.stringify( - RemoveProjectEnvContentHint15$outboundSchema.parse( - removeProjectEnvContentHint15, - ), - ); -} - -export function removeProjectEnvContentHint15FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvContentHint15$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHint15' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHint14$inboundSchema: z.ZodType< - RemoveProjectEnvContentHint14, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHint14$Outbound = { - type: string; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHint14$outboundSchema: z.ZodType< - RemoveProjectEnvContentHint14$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHint14 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHint14$ { - /** @deprecated use `RemoveProjectEnvContentHint14$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvContentHint14$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint14$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvContentHint14$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint14$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHint14$Outbound; -} - -export function removeProjectEnvContentHint14ToJSON( - removeProjectEnvContentHint14: RemoveProjectEnvContentHint14, -): string { - return JSON.stringify( - RemoveProjectEnvContentHint14$outboundSchema.parse( - removeProjectEnvContentHint14, - ), - ); -} - -export function removeProjectEnvContentHint14FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvContentHint14$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHint14' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHint13$inboundSchema: z.ZodType< - RemoveProjectEnvContentHint13, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHint13$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHint13$outboundSchema: z.ZodType< - RemoveProjectEnvContentHint13$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHint13 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHint13$ { - /** @deprecated use `RemoveProjectEnvContentHint13$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvContentHint13$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint13$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvContentHint13$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint13$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHint13$Outbound; -} - -export function removeProjectEnvContentHint13ToJSON( - removeProjectEnvContentHint13: RemoveProjectEnvContentHint13, -): string { - return JSON.stringify( - RemoveProjectEnvContentHint13$outboundSchema.parse( - removeProjectEnvContentHint13, - ), - ); -} - -export function removeProjectEnvContentHint13FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvContentHint13$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHint13' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHint12$inboundSchema: z.ZodType< - RemoveProjectEnvContentHint12, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHint12$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHint12$outboundSchema: z.ZodType< - RemoveProjectEnvContentHint12$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHint12 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHint12$ { - /** @deprecated use `RemoveProjectEnvContentHint12$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvContentHint12$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint12$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvContentHint12$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint12$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHint12$Outbound; -} - -export function removeProjectEnvContentHint12ToJSON( - removeProjectEnvContentHint12: RemoveProjectEnvContentHint12, -): string { - return JSON.stringify( - RemoveProjectEnvContentHint12$outboundSchema.parse( - removeProjectEnvContentHint12, - ), - ); -} - -export function removeProjectEnvContentHint12FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvContentHint12$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHint12' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHint11$inboundSchema: z.ZodType< - RemoveProjectEnvContentHint11, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHint11$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHint11$outboundSchema: z.ZodType< - RemoveProjectEnvContentHint11$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHint11 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHint11$ { - /** @deprecated use `RemoveProjectEnvContentHint11$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvContentHint11$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint11$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvContentHint11$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint11$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHint11$Outbound; -} - -export function removeProjectEnvContentHint11ToJSON( - removeProjectEnvContentHint11: RemoveProjectEnvContentHint11, -): string { - return JSON.stringify( - RemoveProjectEnvContentHint11$outboundSchema.parse( - removeProjectEnvContentHint11, - ), - ); -} - -export function removeProjectEnvContentHint11FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvContentHint11$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHint11' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHint10$inboundSchema: z.ZodType< - RemoveProjectEnvContentHint10, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHint10$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHint10$outboundSchema: z.ZodType< - RemoveProjectEnvContentHint10$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHint10 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHint10$ { - /** @deprecated use `RemoveProjectEnvContentHint10$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvContentHint10$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint10$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvContentHint10$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint10$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHint10$Outbound; -} - -export function removeProjectEnvContentHint10ToJSON( - removeProjectEnvContentHint10: RemoveProjectEnvContentHint10, -): string { - return JSON.stringify( - RemoveProjectEnvContentHint10$outboundSchema.parse( - removeProjectEnvContentHint10, - ), - ); -} - -export function removeProjectEnvContentHint10FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvContentHint10$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHint10' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHint9$inboundSchema: z.ZodType< - RemoveProjectEnvContentHint9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHint9$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHint9$outboundSchema: z.ZodType< - RemoveProjectEnvContentHint9$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHint9 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHint9$ { - /** @deprecated use `RemoveProjectEnvContentHint9$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvContentHint9$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint9$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvContentHint9$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint9$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHint9$Outbound; -} - -export function removeProjectEnvContentHint9ToJSON( - removeProjectEnvContentHint9: RemoveProjectEnvContentHint9, -): string { - return JSON.stringify( - RemoveProjectEnvContentHint9$outboundSchema.parse( - removeProjectEnvContentHint9, - ), - ); -} - -export function removeProjectEnvContentHint9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvContentHint9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHint9' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHint8$inboundSchema: z.ZodType< - RemoveProjectEnvContentHint8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHint8$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHint8$outboundSchema: z.ZodType< - RemoveProjectEnvContentHint8$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHint8 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHint8$ { - /** @deprecated use `RemoveProjectEnvContentHint8$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvContentHint8$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint8$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvContentHint8$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint8$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHint8$Outbound; -} - -export function removeProjectEnvContentHint8ToJSON( - removeProjectEnvContentHint8: RemoveProjectEnvContentHint8, -): string { - return JSON.stringify( - RemoveProjectEnvContentHint8$outboundSchema.parse( - removeProjectEnvContentHint8, - ), - ); -} - -export function removeProjectEnvContentHint8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvContentHint8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHint8' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHint7$inboundSchema: z.ZodType< - RemoveProjectEnvContentHint7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHint7$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHint7$outboundSchema: z.ZodType< - RemoveProjectEnvContentHint7$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHint7 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHint7$ { - /** @deprecated use `RemoveProjectEnvContentHint7$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvContentHint7$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint7$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvContentHint7$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint7$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHint7$Outbound; -} - -export function removeProjectEnvContentHint7ToJSON( - removeProjectEnvContentHint7: RemoveProjectEnvContentHint7, -): string { - return JSON.stringify( - RemoveProjectEnvContentHint7$outboundSchema.parse( - removeProjectEnvContentHint7, - ), - ); -} - -export function removeProjectEnvContentHint7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvContentHint7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHint7' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHint6$inboundSchema: z.ZodType< - RemoveProjectEnvContentHint6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHint6$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHint6$outboundSchema: z.ZodType< - RemoveProjectEnvContentHint6$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHint6 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHint6$ { - /** @deprecated use `RemoveProjectEnvContentHint6$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvContentHint6$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint6$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvContentHint6$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint6$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHint6$Outbound; -} - -export function removeProjectEnvContentHint6ToJSON( - removeProjectEnvContentHint6: RemoveProjectEnvContentHint6, -): string { - return JSON.stringify( - RemoveProjectEnvContentHint6$outboundSchema.parse( - removeProjectEnvContentHint6, - ), - ); -} - -export function removeProjectEnvContentHint6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvContentHint6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHint6' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType - > = z.nativeEnum( - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType, - ); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType - > = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHint5$inboundSchema: z.ZodType< - RemoveProjectEnvContentHint5, - z.ZodTypeDef, - unknown -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHint5$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHint5$outboundSchema: z.ZodType< - RemoveProjectEnvContentHint5$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHint5 -> = z.object({ - type: - RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHint5$ { - /** @deprecated use `RemoveProjectEnvContentHint5$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvContentHint5$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint5$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvContentHint5$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint5$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHint5$Outbound; -} - -export function removeProjectEnvContentHint5ToJSON( - removeProjectEnvContentHint5: RemoveProjectEnvContentHint5, -): string { - return JSON.stringify( - RemoveProjectEnvContentHint5$outboundSchema.parse( - removeProjectEnvContentHint5, - ), - ); -} - -export function removeProjectEnvContentHint5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvContentHint5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHint5' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(RemoveProjectEnvContentHintProjectsResponse200Type); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponse200Type$outboundSchema: - z.ZodNativeEnum = - RemoveProjectEnvContentHintProjectsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponse200Type$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponse200Type$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponse200Type$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHint4$inboundSchema: z.ZodType< - RemoveProjectEnvContentHint4, - z.ZodTypeDef, - unknown -> = z.object({ - type: RemoveProjectEnvContentHintProjectsResponse200Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHint4$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHint4$outboundSchema: z.ZodType< - RemoveProjectEnvContentHint4$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHint4 -> = z.object({ - type: RemoveProjectEnvContentHintProjectsResponse200Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHint4$ { - /** @deprecated use `RemoveProjectEnvContentHint4$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvContentHint4$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint4$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvContentHint4$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint4$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHint4$Outbound; -} - -export function removeProjectEnvContentHint4ToJSON( - removeProjectEnvContentHint4: RemoveProjectEnvContentHint4, -): string { - return JSON.stringify( - RemoveProjectEnvContentHint4$outboundSchema.parse( - removeProjectEnvContentHint4, - ), - ); -} - -export function removeProjectEnvContentHint4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvContentHint4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHint4' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(RemoveProjectEnvContentHintProjectsResponseType); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsResponseType$outboundSchema: - z.ZodNativeEnum = - RemoveProjectEnvContentHintProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsResponseType$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsResponseType$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHint3$inboundSchema: z.ZodType< - RemoveProjectEnvContentHint3, - z.ZodTypeDef, - unknown -> = z.object({ - type: RemoveProjectEnvContentHintProjectsResponseType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHint3$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHint3$outboundSchema: z.ZodType< - RemoveProjectEnvContentHint3$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHint3 -> = z.object({ - type: RemoveProjectEnvContentHintProjectsResponseType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHint3$ { - /** @deprecated use `RemoveProjectEnvContentHint3$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvContentHint3$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint3$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvContentHint3$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint3$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHint3$Outbound; -} - -export function removeProjectEnvContentHint3ToJSON( - removeProjectEnvContentHint3: RemoveProjectEnvContentHint3, -): string { - return JSON.stringify( - RemoveProjectEnvContentHint3$outboundSchema.parse( - removeProjectEnvContentHint3, - ), - ); -} - -export function removeProjectEnvContentHint3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvContentHint3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHint3' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(RemoveProjectEnvContentHintProjectsType); - -/** @internal */ -export const RemoveProjectEnvContentHintProjectsType$outboundSchema: - z.ZodNativeEnum = - RemoveProjectEnvContentHintProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintProjectsType$ { - /** @deprecated use `RemoveProjectEnvContentHintProjectsType$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvContentHintProjectsType$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintProjectsType$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvContentHintProjectsType$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHint2$inboundSchema: z.ZodType< - RemoveProjectEnvContentHint2, - z.ZodTypeDef, - unknown -> = z.object({ - type: RemoveProjectEnvContentHintProjectsType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHint2$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHint2$outboundSchema: z.ZodType< - RemoveProjectEnvContentHint2$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHint2 -> = z.object({ - type: RemoveProjectEnvContentHintProjectsType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHint2$ { - /** @deprecated use `RemoveProjectEnvContentHint2$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvContentHint2$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint2$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvContentHint2$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint2$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHint2$Outbound; -} - -export function removeProjectEnvContentHint2ToJSON( - removeProjectEnvContentHint2: RemoveProjectEnvContentHint2, -): string { - return JSON.stringify( - RemoveProjectEnvContentHint2$outboundSchema.parse( - removeProjectEnvContentHint2, - ), - ); -} - -export function removeProjectEnvContentHint2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvContentHint2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHint2' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvContentHintType$inboundSchema: z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintType -> = z.nativeEnum(RemoveProjectEnvContentHintType); - -/** @internal */ -export const RemoveProjectEnvContentHintType$outboundSchema: z.ZodNativeEnum< - typeof RemoveProjectEnvContentHintType -> = RemoveProjectEnvContentHintType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHintType$ { - /** @deprecated use `RemoveProjectEnvContentHintType$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvContentHintType$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHintType$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvContentHintType$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvContentHint1$inboundSchema: z.ZodType< - RemoveProjectEnvContentHint1, - z.ZodTypeDef, - unknown -> = z.object({ - type: RemoveProjectEnvContentHintType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type RemoveProjectEnvContentHint1$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const RemoveProjectEnvContentHint1$outboundSchema: z.ZodType< - RemoveProjectEnvContentHint1$Outbound, - z.ZodTypeDef, - RemoveProjectEnvContentHint1 -> = z.object({ - type: RemoveProjectEnvContentHintType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvContentHint1$ { - /** @deprecated use `RemoveProjectEnvContentHint1$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvContentHint1$inboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint1$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvContentHint1$outboundSchema; - /** @deprecated use `RemoveProjectEnvContentHint1$Outbound` instead. */ - export type Outbound = RemoveProjectEnvContentHint1$Outbound; -} - -export function removeProjectEnvContentHint1ToJSON( - removeProjectEnvContentHint1: RemoveProjectEnvContentHint1, -): string { - return JSON.stringify( - RemoveProjectEnvContentHint1$outboundSchema.parse( - removeProjectEnvContentHint1, - ), - ); -} - -export function removeProjectEnvContentHint1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvContentHint1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvContentHint1' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvResponseBodyContentHint$inboundSchema: z.ZodType< - RemoveProjectEnvResponseBodyContentHint, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => RemoveProjectEnvContentHint1$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint2$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint3$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint4$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint5$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint6$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint7$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint8$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint9$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint10$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint11$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint12$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint13$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint15$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint14$inboundSchema), -]); - -/** @internal */ -export type RemoveProjectEnvResponseBodyContentHint$Outbound = - | RemoveProjectEnvContentHint1$Outbound - | RemoveProjectEnvContentHint2$Outbound - | RemoveProjectEnvContentHint3$Outbound - | RemoveProjectEnvContentHint4$Outbound - | RemoveProjectEnvContentHint5$Outbound - | RemoveProjectEnvContentHint6$Outbound - | RemoveProjectEnvContentHint7$Outbound - | RemoveProjectEnvContentHint8$Outbound - | RemoveProjectEnvContentHint9$Outbound - | RemoveProjectEnvContentHint10$Outbound - | RemoveProjectEnvContentHint11$Outbound - | RemoveProjectEnvContentHint12$Outbound - | RemoveProjectEnvContentHint13$Outbound - | RemoveProjectEnvContentHint15$Outbound - | RemoveProjectEnvContentHint14$Outbound; - -/** @internal */ -export const RemoveProjectEnvResponseBodyContentHint$outboundSchema: z.ZodType< - RemoveProjectEnvResponseBodyContentHint$Outbound, - z.ZodTypeDef, - RemoveProjectEnvResponseBodyContentHint -> = z.union([ - z.lazy(() => RemoveProjectEnvContentHint1$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint2$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint3$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint4$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint5$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint6$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint7$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint8$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint9$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint10$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint11$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint12$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint13$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint15$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint14$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBodyContentHint$ { - /** @deprecated use `RemoveProjectEnvResponseBodyContentHint$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvResponseBodyContentHint$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyContentHint$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvResponseBodyContentHint$outboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyContentHint$Outbound` instead. */ - export type Outbound = RemoveProjectEnvResponseBodyContentHint$Outbound; -} - -export function removeProjectEnvResponseBodyContentHintToJSON( - removeProjectEnvResponseBodyContentHint: - RemoveProjectEnvResponseBodyContentHint, -): string { - return JSON.stringify( - RemoveProjectEnvResponseBodyContentHint$outboundSchema.parse( - removeProjectEnvResponseBodyContentHint, - ), - ); -} - -export function removeProjectEnvResponseBodyContentHintFromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvResponseBodyContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvResponseBodyContentHint$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvResponseBodyContentHint' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType - > = z.nativeEnum( - RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType, - ); - -/** @internal */ -export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum< - typeof RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType - > = - RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const RemoveProjectEnvResponseBodyInternalContentHint$inboundSchema: - z.ZodType< - RemoveProjectEnvResponseBodyInternalContentHint, - z.ZodTypeDef, - unknown - > = z.object({ - type: - RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema, - encryptedValue: z.string(), - }); - -/** @internal */ -export type RemoveProjectEnvResponseBodyInternalContentHint$Outbound = { - type: string; - encryptedValue: string; -}; - -/** @internal */ -export const RemoveProjectEnvResponseBodyInternalContentHint$outboundSchema: - z.ZodType< - RemoveProjectEnvResponseBodyInternalContentHint$Outbound, - z.ZodTypeDef, - RemoveProjectEnvResponseBodyInternalContentHint - > = z.object({ - type: - RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema, - encryptedValue: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBodyInternalContentHint$ { - /** @deprecated use `RemoveProjectEnvResponseBodyInternalContentHint$inboundSchema` instead. */ - export const inboundSchema = - RemoveProjectEnvResponseBodyInternalContentHint$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyInternalContentHint$outboundSchema` instead. */ - export const outboundSchema = - RemoveProjectEnvResponseBodyInternalContentHint$outboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBodyInternalContentHint$Outbound` instead. */ - export type Outbound = - RemoveProjectEnvResponseBodyInternalContentHint$Outbound; -} - -export function removeProjectEnvResponseBodyInternalContentHintToJSON( - removeProjectEnvResponseBodyInternalContentHint: - RemoveProjectEnvResponseBodyInternalContentHint, -): string { - return JSON.stringify( - RemoveProjectEnvResponseBodyInternalContentHint$outboundSchema.parse( - removeProjectEnvResponseBodyInternalContentHint, - ), - ); -} - -export function removeProjectEnvResponseBodyInternalContentHintFromJSON( - jsonString: string, -): SafeParseResult< - RemoveProjectEnvResponseBodyInternalContentHint, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RemoveProjectEnvResponseBodyInternalContentHint$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RemoveProjectEnvResponseBodyInternalContentHint' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvResponseBody1$inboundSchema: z.ZodType< - RemoveProjectEnvResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({ - target: z.union([ - z.array(RemoveProjectEnvTarget1$inboundSchema), - RemoveProjectEnvTarget2$inboundSchema, - ]).optional(), - type: RemoveProjectEnvResponseBodyType$inboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => RemoveProjectEnvContentHint1$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint2$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint3$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint4$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint5$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint6$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint7$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint8$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint9$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint10$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint11$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint12$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint13$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint15$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint14$inboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => RemoveProjectEnvResponseBodyInternalContentHint$inboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), -}); - -/** @internal */ -export type RemoveProjectEnvResponseBody1$Outbound = { - target?: Array | string | undefined; - type: string; - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | RemoveProjectEnvContentHint1$Outbound - | RemoveProjectEnvContentHint2$Outbound - | RemoveProjectEnvContentHint3$Outbound - | RemoveProjectEnvContentHint4$Outbound - | RemoveProjectEnvContentHint5$Outbound - | RemoveProjectEnvContentHint6$Outbound - | RemoveProjectEnvContentHint7$Outbound - | RemoveProjectEnvContentHint8$Outbound - | RemoveProjectEnvContentHint9$Outbound - | RemoveProjectEnvContentHint10$Outbound - | RemoveProjectEnvContentHint11$Outbound - | RemoveProjectEnvContentHint12$Outbound - | RemoveProjectEnvContentHint13$Outbound - | RemoveProjectEnvContentHint15$Outbound - | RemoveProjectEnvContentHint14$Outbound - | null - | undefined; - internalContentHint?: - | RemoveProjectEnvResponseBodyInternalContentHint$Outbound - | null - | undefined; - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -/** @internal */ -export const RemoveProjectEnvResponseBody1$outboundSchema: z.ZodType< - RemoveProjectEnvResponseBody1$Outbound, - z.ZodTypeDef, - RemoveProjectEnvResponseBody1 -> = z.object({ - target: z.union([ - z.array(RemoveProjectEnvTarget1$outboundSchema), - RemoveProjectEnvTarget2$outboundSchema, - ]).optional(), - type: RemoveProjectEnvResponseBodyType$outboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => RemoveProjectEnvContentHint1$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint2$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint3$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint4$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint5$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint6$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint7$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint8$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint9$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint10$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint11$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint12$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint13$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint15$outboundSchema), - z.lazy(() => RemoveProjectEnvContentHint14$outboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => - RemoveProjectEnvResponseBodyInternalContentHint$outboundSchema - ), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBody1$ { - /** @deprecated use `RemoveProjectEnvResponseBody1$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvResponseBody1$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBody1$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvResponseBody1$outboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBody1$Outbound` instead. */ - export type Outbound = RemoveProjectEnvResponseBody1$Outbound; -} - -export function removeProjectEnvResponseBody1ToJSON( - removeProjectEnvResponseBody1: RemoveProjectEnvResponseBody1, -): string { - return JSON.stringify( - RemoveProjectEnvResponseBody1$outboundSchema.parse( - removeProjectEnvResponseBody1, - ), - ); -} - -export function removeProjectEnvResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectEnvResponseBody$inboundSchema: z.ZodType< - RemoveProjectEnvResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => RemoveProjectEnvResponseBody3$inboundSchema), - z.lazy(() => RemoveProjectEnvResponseBody2$inboundSchema), - z.array(z.lazy(() => RemoveProjectEnvResponseBody1$inboundSchema)), -]); - -/** @internal */ -export type RemoveProjectEnvResponseBody$Outbound = - | RemoveProjectEnvResponseBody3$Outbound - | RemoveProjectEnvResponseBody2$Outbound - | Array; - -/** @internal */ -export const RemoveProjectEnvResponseBody$outboundSchema: z.ZodType< - RemoveProjectEnvResponseBody$Outbound, - z.ZodTypeDef, - RemoveProjectEnvResponseBody -> = z.union([ - z.lazy(() => RemoveProjectEnvResponseBody3$outboundSchema), - z.lazy(() => RemoveProjectEnvResponseBody2$outboundSchema), - z.array(z.lazy(() => RemoveProjectEnvResponseBody1$outboundSchema)), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectEnvResponseBody$ { - /** @deprecated use `RemoveProjectEnvResponseBody$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectEnvResponseBody$inboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBody$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectEnvResponseBody$outboundSchema; - /** @deprecated use `RemoveProjectEnvResponseBody$Outbound` instead. */ - export type Outbound = RemoveProjectEnvResponseBody$Outbound; -} - -export function removeProjectEnvResponseBodyToJSON( - removeProjectEnvResponseBody: RemoveProjectEnvResponseBody, -): string { - return JSON.stringify( - RemoveProjectEnvResponseBody$outboundSchema.parse( - removeProjectEnvResponseBody, - ), - ); -} - -export function removeProjectEnvResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectEnvResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectEnvResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/removeprojectmember.ts b/src/models/operations/removeprojectmember.ts deleted file mode 100644 index d74bb811..00000000 --- a/src/models/operations/removeprojectmember.ts +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type RemoveProjectMemberRequest = { - /** - * The ID or name of the Project. - */ - idOrName: string; - /** - * The user ID of the member. - */ - uid: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export type RemoveProjectMemberResponseBody = { - id: string; -}; - -/** @internal */ -export const RemoveProjectMemberRequest$inboundSchema: z.ZodType< - RemoveProjectMemberRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - uid: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type RemoveProjectMemberRequest$Outbound = { - idOrName: string; - uid: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const RemoveProjectMemberRequest$outboundSchema: z.ZodType< - RemoveProjectMemberRequest$Outbound, - z.ZodTypeDef, - RemoveProjectMemberRequest -> = z.object({ - idOrName: z.string(), - uid: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectMemberRequest$ { - /** @deprecated use `RemoveProjectMemberRequest$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectMemberRequest$inboundSchema; - /** @deprecated use `RemoveProjectMemberRequest$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectMemberRequest$outboundSchema; - /** @deprecated use `RemoveProjectMemberRequest$Outbound` instead. */ - export type Outbound = RemoveProjectMemberRequest$Outbound; -} - -export function removeProjectMemberRequestToJSON( - removeProjectMemberRequest: RemoveProjectMemberRequest, -): string { - return JSON.stringify( - RemoveProjectMemberRequest$outboundSchema.parse(removeProjectMemberRequest), - ); -} - -export function removeProjectMemberRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectMemberRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectMemberRequest' from JSON`, - ); -} - -/** @internal */ -export const RemoveProjectMemberResponseBody$inboundSchema: z.ZodType< - RemoveProjectMemberResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); - -/** @internal */ -export type RemoveProjectMemberResponseBody$Outbound = { - id: string; -}; - -/** @internal */ -export const RemoveProjectMemberResponseBody$outboundSchema: z.ZodType< - RemoveProjectMemberResponseBody$Outbound, - z.ZodTypeDef, - RemoveProjectMemberResponseBody -> = z.object({ - id: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveProjectMemberResponseBody$ { - /** @deprecated use `RemoveProjectMemberResponseBody$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectMemberResponseBody$inboundSchema; - /** @deprecated use `RemoveProjectMemberResponseBody$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectMemberResponseBody$outboundSchema; - /** @deprecated use `RemoveProjectMemberResponseBody$Outbound` instead. */ - export type Outbound = RemoveProjectMemberResponseBody$Outbound; -} - -export function removeProjectMemberResponseBodyToJSON( - removeProjectMemberResponseBody: RemoveProjectMemberResponseBody, -): string { - return JSON.stringify( - RemoveProjectMemberResponseBody$outboundSchema.parse( - removeProjectMemberResponseBody, - ), - ); -} - -export function removeProjectMemberResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveProjectMemberResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveProjectMemberResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/removerecord.ts b/src/models/operations/removerecord.ts deleted file mode 100644 index bdc04dce..00000000 --- a/src/models/operations/removerecord.ts +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type RemoveRecordRequest = { - domain: string; - recordId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * Successful response by removing the specified DNS record. - */ -export type RemoveRecordResponseBody = {}; - -/** @internal */ -export const RemoveRecordRequest$inboundSchema: z.ZodType< - RemoveRecordRequest, - z.ZodTypeDef, - unknown -> = z.object({ - domain: z.string(), - recordId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type RemoveRecordRequest$Outbound = { - domain: string; - recordId: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const RemoveRecordRequest$outboundSchema: z.ZodType< - RemoveRecordRequest$Outbound, - z.ZodTypeDef, - RemoveRecordRequest -> = z.object({ - domain: z.string(), - recordId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveRecordRequest$ { - /** @deprecated use `RemoveRecordRequest$inboundSchema` instead. */ - export const inboundSchema = RemoveRecordRequest$inboundSchema; - /** @deprecated use `RemoveRecordRequest$outboundSchema` instead. */ - export const outboundSchema = RemoveRecordRequest$outboundSchema; - /** @deprecated use `RemoveRecordRequest$Outbound` instead. */ - export type Outbound = RemoveRecordRequest$Outbound; -} - -export function removeRecordRequestToJSON( - removeRecordRequest: RemoveRecordRequest, -): string { - return JSON.stringify( - RemoveRecordRequest$outboundSchema.parse(removeRecordRequest), - ); -} - -export function removeRecordRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveRecordRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveRecordRequest' from JSON`, - ); -} - -/** @internal */ -export const RemoveRecordResponseBody$inboundSchema: z.ZodType< - RemoveRecordResponseBody, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type RemoveRecordResponseBody$Outbound = {}; - -/** @internal */ -export const RemoveRecordResponseBody$outboundSchema: z.ZodType< - RemoveRecordResponseBody$Outbound, - z.ZodTypeDef, - RemoveRecordResponseBody -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveRecordResponseBody$ { - /** @deprecated use `RemoveRecordResponseBody$inboundSchema` instead. */ - export const inboundSchema = RemoveRecordResponseBody$inboundSchema; - /** @deprecated use `RemoveRecordResponseBody$outboundSchema` instead. */ - export const outboundSchema = RemoveRecordResponseBody$outboundSchema; - /** @deprecated use `RemoveRecordResponseBody$Outbound` instead. */ - export type Outbound = RemoveRecordResponseBody$Outbound; -} - -export function removeRecordResponseBodyToJSON( - removeRecordResponseBody: RemoveRecordResponseBody, -): string { - return JSON.stringify( - RemoveRecordResponseBody$outboundSchema.parse(removeRecordResponseBody), - ); -} - -export function removeRecordResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveRecordResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveRecordResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/removeteammember.ts b/src/models/operations/removeteammember.ts deleted file mode 100644 index a8b8cef4..00000000 --- a/src/models/operations/removeteammember.ts +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type RemoveTeamMemberRequest = { - /** - * The user ID of the member. - */ - uid: string; - /** - * The ID of the team to set as the new default team for the Northstar user. - */ - newDefaultTeamId?: string | undefined; - teamId: string; -}; - -/** - * Successfully removed a member of the team. - */ -export type RemoveTeamMemberResponseBody = { - /** - * ID of the team. - */ - id: string; -}; - -/** @internal */ -export const RemoveTeamMemberRequest$inboundSchema: z.ZodType< - RemoveTeamMemberRequest, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - newDefaultTeamId: z.string().optional(), - teamId: z.string(), -}); - -/** @internal */ -export type RemoveTeamMemberRequest$Outbound = { - uid: string; - newDefaultTeamId?: string | undefined; - teamId: string; -}; - -/** @internal */ -export const RemoveTeamMemberRequest$outboundSchema: z.ZodType< - RemoveTeamMemberRequest$Outbound, - z.ZodTypeDef, - RemoveTeamMemberRequest -> = z.object({ - uid: z.string(), - newDefaultTeamId: z.string().optional(), - teamId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveTeamMemberRequest$ { - /** @deprecated use `RemoveTeamMemberRequest$inboundSchema` instead. */ - export const inboundSchema = RemoveTeamMemberRequest$inboundSchema; - /** @deprecated use `RemoveTeamMemberRequest$outboundSchema` instead. */ - export const outboundSchema = RemoveTeamMemberRequest$outboundSchema; - /** @deprecated use `RemoveTeamMemberRequest$Outbound` instead. */ - export type Outbound = RemoveTeamMemberRequest$Outbound; -} - -export function removeTeamMemberRequestToJSON( - removeTeamMemberRequest: RemoveTeamMemberRequest, -): string { - return JSON.stringify( - RemoveTeamMemberRequest$outboundSchema.parse(removeTeamMemberRequest), - ); -} - -export function removeTeamMemberRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveTeamMemberRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveTeamMemberRequest' from JSON`, - ); -} - -/** @internal */ -export const RemoveTeamMemberResponseBody$inboundSchema: z.ZodType< - RemoveTeamMemberResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); - -/** @internal */ -export type RemoveTeamMemberResponseBody$Outbound = { - id: string; -}; - -/** @internal */ -export const RemoveTeamMemberResponseBody$outboundSchema: z.ZodType< - RemoveTeamMemberResponseBody$Outbound, - z.ZodTypeDef, - RemoveTeamMemberResponseBody -> = z.object({ - id: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveTeamMemberResponseBody$ { - /** @deprecated use `RemoveTeamMemberResponseBody$inboundSchema` instead. */ - export const inboundSchema = RemoveTeamMemberResponseBody$inboundSchema; - /** @deprecated use `RemoveTeamMemberResponseBody$outboundSchema` instead. */ - export const outboundSchema = RemoveTeamMemberResponseBody$outboundSchema; - /** @deprecated use `RemoveTeamMemberResponseBody$Outbound` instead. */ - export type Outbound = RemoveTeamMemberResponseBody$Outbound; -} - -export function removeTeamMemberResponseBodyToJSON( - removeTeamMemberResponseBody: RemoveTeamMemberResponseBody, -): string { - return JSON.stringify( - RemoveTeamMemberResponseBody$outboundSchema.parse( - removeTeamMemberResponseBody, - ), - ); -} - -export function removeTeamMemberResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RemoveTeamMemberResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemoveTeamMemberResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/requestaccesstoteam.ts b/src/models/operations/requestaccesstoteam.ts deleted file mode 100644 index 1153bb97..00000000 --- a/src/models/operations/requestaccesstoteam.ts +++ /dev/null @@ -1,758 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The origin of the request. - */ -export const Origin = { - Import: "import", - Teams: "teams", - Github: "github", - Gitlab: "gitlab", - Bitbucket: "bitbucket", - Feedback: "feedback", - OrganizationTeams: "organization-teams", -} as const; -/** - * The origin of the request. - */ -export type Origin = ClosedEnum; - -/** - * The ID of the Git account of the user who requests access. - */ -export type GitUserId = string | number; - -export type JoinedFrom = { - /** - * The origin of the request. - */ - origin: Origin; - /** - * The commit sha if the origin is a git provider. - */ - commitId?: string | undefined; - /** - * The ID of the repository for the given Git provider. - */ - repoId?: string | undefined; - /** - * The path to the repository for the given Git provider. - */ - repoPath?: string | undefined; - /** - * The ID of the Git account of the user who requests access. - */ - gitUserId?: string | number | undefined; - /** - * The login name for the Git account of the user who requests access. - */ - gitUserLogin?: string | undefined; -}; - -export type RequestAccessToTeamRequestBody = { - joinedFrom: JoinedFrom; -}; - -export type RequestAccessToTeamRequest = { - teamId: string; - requestBody?: RequestAccessToTeamRequestBody | undefined; -}; - -export const RequestAccessToTeamOrigin = { - Import: "import", - Teams: "teams", - Github: "github", - Gitlab: "gitlab", - Bitbucket: "bitbucket", - Feedback: "feedback", - OrganizationTeams: "organization-teams", - Mail: "mail", - Link: "link", - Saml: "saml", - Dsync: "dsync", -} as const; -export type RequestAccessToTeamOrigin = ClosedEnum< - typeof RequestAccessToTeamOrigin ->; - -export type RequestAccessToTeamGitUserId = string | number; - -export type RequestAccessToTeamJoinedFrom = { - origin: RequestAccessToTeamOrigin; - commitId?: string | undefined; - repoId?: string | undefined; - repoPath?: string | undefined; - gitUserId?: string | number | undefined; - gitUserLogin?: string | undefined; - ssoUserId?: string | undefined; - ssoConnectedAt?: number | undefined; - idpUserId?: string | undefined; - dsyncUserId?: string | undefined; - dsyncConnectedAt?: number | undefined; -}; - -export type Github = { - login?: string | undefined; -}; - -export type Gitlab = { - login?: string | undefined; -}; - -export type Bitbucket = { - login?: string | undefined; -}; - -/** - * Successfuly requested access to the team. - */ -export type RequestAccessToTeamResponseBody = { - teamSlug: string; - teamName: string; - confirmed?: boolean | undefined; - joinedFrom?: RequestAccessToTeamJoinedFrom | undefined; - accessRequestedAt?: number | undefined; - github: Github | null; - gitlab: Gitlab | null; - bitbucket: Bitbucket | null; -}; - -/** @internal */ -export const Origin$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Origin); - -/** @internal */ -export const Origin$outboundSchema: z.ZodNativeEnum = - Origin$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Origin$ { - /** @deprecated use `Origin$inboundSchema` instead. */ - export const inboundSchema = Origin$inboundSchema; - /** @deprecated use `Origin$outboundSchema` instead. */ - export const outboundSchema = Origin$outboundSchema; -} - -/** @internal */ -export const GitUserId$inboundSchema: z.ZodType< - GitUserId, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number()]); - -/** @internal */ -export type GitUserId$Outbound = string | number; - -/** @internal */ -export const GitUserId$outboundSchema: z.ZodType< - GitUserId$Outbound, - z.ZodTypeDef, - GitUserId -> = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitUserId$ { - /** @deprecated use `GitUserId$inboundSchema` instead. */ - export const inboundSchema = GitUserId$inboundSchema; - /** @deprecated use `GitUserId$outboundSchema` instead. */ - export const outboundSchema = GitUserId$outboundSchema; - /** @deprecated use `GitUserId$Outbound` instead. */ - export type Outbound = GitUserId$Outbound; -} - -export function gitUserIdToJSON(gitUserId: GitUserId): string { - return JSON.stringify(GitUserId$outboundSchema.parse(gitUserId)); -} - -export function gitUserIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitUserId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitUserId' from JSON`, - ); -} - -/** @internal */ -export const JoinedFrom$inboundSchema: z.ZodType< - JoinedFrom, - z.ZodTypeDef, - unknown -> = z.object({ - origin: Origin$inboundSchema, - commitId: z.string().optional(), - repoId: z.string().optional(), - repoPath: z.string().optional(), - gitUserId: z.union([z.string(), z.number()]).optional(), - gitUserLogin: z.string().optional(), -}); - -/** @internal */ -export type JoinedFrom$Outbound = { - origin: string; - commitId?: string | undefined; - repoId?: string | undefined; - repoPath?: string | undefined; - gitUserId?: string | number | undefined; - gitUserLogin?: string | undefined; -}; - -/** @internal */ -export const JoinedFrom$outboundSchema: z.ZodType< - JoinedFrom$Outbound, - z.ZodTypeDef, - JoinedFrom -> = z.object({ - origin: Origin$outboundSchema, - commitId: z.string().optional(), - repoId: z.string().optional(), - repoPath: z.string().optional(), - gitUserId: z.union([z.string(), z.number()]).optional(), - gitUserLogin: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace JoinedFrom$ { - /** @deprecated use `JoinedFrom$inboundSchema` instead. */ - export const inboundSchema = JoinedFrom$inboundSchema; - /** @deprecated use `JoinedFrom$outboundSchema` instead. */ - export const outboundSchema = JoinedFrom$outboundSchema; - /** @deprecated use `JoinedFrom$Outbound` instead. */ - export type Outbound = JoinedFrom$Outbound; -} - -export function joinedFromToJSON(joinedFrom: JoinedFrom): string { - return JSON.stringify(JoinedFrom$outboundSchema.parse(joinedFrom)); -} - -export function joinedFromFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => JoinedFrom$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'JoinedFrom' from JSON`, - ); -} - -/** @internal */ -export const RequestAccessToTeamRequestBody$inboundSchema: z.ZodType< - RequestAccessToTeamRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - joinedFrom: z.lazy(() => JoinedFrom$inboundSchema), -}); - -/** @internal */ -export type RequestAccessToTeamRequestBody$Outbound = { - joinedFrom: JoinedFrom$Outbound; -}; - -/** @internal */ -export const RequestAccessToTeamRequestBody$outboundSchema: z.ZodType< - RequestAccessToTeamRequestBody$Outbound, - z.ZodTypeDef, - RequestAccessToTeamRequestBody -> = z.object({ - joinedFrom: z.lazy(() => JoinedFrom$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestAccessToTeamRequestBody$ { - /** @deprecated use `RequestAccessToTeamRequestBody$inboundSchema` instead. */ - export const inboundSchema = RequestAccessToTeamRequestBody$inboundSchema; - /** @deprecated use `RequestAccessToTeamRequestBody$outboundSchema` instead. */ - export const outboundSchema = RequestAccessToTeamRequestBody$outboundSchema; - /** @deprecated use `RequestAccessToTeamRequestBody$Outbound` instead. */ - export type Outbound = RequestAccessToTeamRequestBody$Outbound; -} - -export function requestAccessToTeamRequestBodyToJSON( - requestAccessToTeamRequestBody: RequestAccessToTeamRequestBody, -): string { - return JSON.stringify( - RequestAccessToTeamRequestBody$outboundSchema.parse( - requestAccessToTeamRequestBody, - ), - ); -} - -export function requestAccessToTeamRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestAccessToTeamRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestAccessToTeamRequestBody' from JSON`, - ); -} - -/** @internal */ -export const RequestAccessToTeamRequest$inboundSchema: z.ZodType< - RequestAccessToTeamRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string(), - RequestBody: z.lazy(() => RequestAccessToTeamRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type RequestAccessToTeamRequest$Outbound = { - teamId: string; - RequestBody?: RequestAccessToTeamRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const RequestAccessToTeamRequest$outboundSchema: z.ZodType< - RequestAccessToTeamRequest$Outbound, - z.ZodTypeDef, - RequestAccessToTeamRequest -> = z.object({ - teamId: z.string(), - requestBody: z.lazy(() => RequestAccessToTeamRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestAccessToTeamRequest$ { - /** @deprecated use `RequestAccessToTeamRequest$inboundSchema` instead. */ - export const inboundSchema = RequestAccessToTeamRequest$inboundSchema; - /** @deprecated use `RequestAccessToTeamRequest$outboundSchema` instead. */ - export const outboundSchema = RequestAccessToTeamRequest$outboundSchema; - /** @deprecated use `RequestAccessToTeamRequest$Outbound` instead. */ - export type Outbound = RequestAccessToTeamRequest$Outbound; -} - -export function requestAccessToTeamRequestToJSON( - requestAccessToTeamRequest: RequestAccessToTeamRequest, -): string { - return JSON.stringify( - RequestAccessToTeamRequest$outboundSchema.parse(requestAccessToTeamRequest), - ); -} - -export function requestAccessToTeamRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestAccessToTeamRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestAccessToTeamRequest' from JSON`, - ); -} - -/** @internal */ -export const RequestAccessToTeamOrigin$inboundSchema: z.ZodNativeEnum< - typeof RequestAccessToTeamOrigin -> = z.nativeEnum(RequestAccessToTeamOrigin); - -/** @internal */ -export const RequestAccessToTeamOrigin$outboundSchema: z.ZodNativeEnum< - typeof RequestAccessToTeamOrigin -> = RequestAccessToTeamOrigin$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestAccessToTeamOrigin$ { - /** @deprecated use `RequestAccessToTeamOrigin$inboundSchema` instead. */ - export const inboundSchema = RequestAccessToTeamOrigin$inboundSchema; - /** @deprecated use `RequestAccessToTeamOrigin$outboundSchema` instead. */ - export const outboundSchema = RequestAccessToTeamOrigin$outboundSchema; -} - -/** @internal */ -export const RequestAccessToTeamGitUserId$inboundSchema: z.ZodType< - RequestAccessToTeamGitUserId, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number()]); - -/** @internal */ -export type RequestAccessToTeamGitUserId$Outbound = string | number; - -/** @internal */ -export const RequestAccessToTeamGitUserId$outboundSchema: z.ZodType< - RequestAccessToTeamGitUserId$Outbound, - z.ZodTypeDef, - RequestAccessToTeamGitUserId -> = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestAccessToTeamGitUserId$ { - /** @deprecated use `RequestAccessToTeamGitUserId$inboundSchema` instead. */ - export const inboundSchema = RequestAccessToTeamGitUserId$inboundSchema; - /** @deprecated use `RequestAccessToTeamGitUserId$outboundSchema` instead. */ - export const outboundSchema = RequestAccessToTeamGitUserId$outboundSchema; - /** @deprecated use `RequestAccessToTeamGitUserId$Outbound` instead. */ - export type Outbound = RequestAccessToTeamGitUserId$Outbound; -} - -export function requestAccessToTeamGitUserIdToJSON( - requestAccessToTeamGitUserId: RequestAccessToTeamGitUserId, -): string { - return JSON.stringify( - RequestAccessToTeamGitUserId$outboundSchema.parse( - requestAccessToTeamGitUserId, - ), - ); -} - -export function requestAccessToTeamGitUserIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestAccessToTeamGitUserId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestAccessToTeamGitUserId' from JSON`, - ); -} - -/** @internal */ -export const RequestAccessToTeamJoinedFrom$inboundSchema: z.ZodType< - RequestAccessToTeamJoinedFrom, - z.ZodTypeDef, - unknown -> = z.object({ - origin: RequestAccessToTeamOrigin$inboundSchema, - commitId: z.string().optional(), - repoId: z.string().optional(), - repoPath: z.string().optional(), - gitUserId: z.union([z.string(), z.number()]).optional(), - gitUserLogin: z.string().optional(), - ssoUserId: z.string().optional(), - ssoConnectedAt: z.number().optional(), - idpUserId: z.string().optional(), - dsyncUserId: z.string().optional(), - dsyncConnectedAt: z.number().optional(), -}); - -/** @internal */ -export type RequestAccessToTeamJoinedFrom$Outbound = { - origin: string; - commitId?: string | undefined; - repoId?: string | undefined; - repoPath?: string | undefined; - gitUserId?: string | number | undefined; - gitUserLogin?: string | undefined; - ssoUserId?: string | undefined; - ssoConnectedAt?: number | undefined; - idpUserId?: string | undefined; - dsyncUserId?: string | undefined; - dsyncConnectedAt?: number | undefined; -}; - -/** @internal */ -export const RequestAccessToTeamJoinedFrom$outboundSchema: z.ZodType< - RequestAccessToTeamJoinedFrom$Outbound, - z.ZodTypeDef, - RequestAccessToTeamJoinedFrom -> = z.object({ - origin: RequestAccessToTeamOrigin$outboundSchema, - commitId: z.string().optional(), - repoId: z.string().optional(), - repoPath: z.string().optional(), - gitUserId: z.union([z.string(), z.number()]).optional(), - gitUserLogin: z.string().optional(), - ssoUserId: z.string().optional(), - ssoConnectedAt: z.number().optional(), - idpUserId: z.string().optional(), - dsyncUserId: z.string().optional(), - dsyncConnectedAt: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestAccessToTeamJoinedFrom$ { - /** @deprecated use `RequestAccessToTeamJoinedFrom$inboundSchema` instead. */ - export const inboundSchema = RequestAccessToTeamJoinedFrom$inboundSchema; - /** @deprecated use `RequestAccessToTeamJoinedFrom$outboundSchema` instead. */ - export const outboundSchema = RequestAccessToTeamJoinedFrom$outboundSchema; - /** @deprecated use `RequestAccessToTeamJoinedFrom$Outbound` instead. */ - export type Outbound = RequestAccessToTeamJoinedFrom$Outbound; -} - -export function requestAccessToTeamJoinedFromToJSON( - requestAccessToTeamJoinedFrom: RequestAccessToTeamJoinedFrom, -): string { - return JSON.stringify( - RequestAccessToTeamJoinedFrom$outboundSchema.parse( - requestAccessToTeamJoinedFrom, - ), - ); -} - -export function requestAccessToTeamJoinedFromFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestAccessToTeamJoinedFrom$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestAccessToTeamJoinedFrom' from JSON`, - ); -} - -/** @internal */ -export const Github$inboundSchema: z.ZodType = z - .object({ - login: z.string().optional(), - }); - -/** @internal */ -export type Github$Outbound = { - login?: string | undefined; -}; - -/** @internal */ -export const Github$outboundSchema: z.ZodType< - Github$Outbound, - z.ZodTypeDef, - Github -> = z.object({ - login: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Github$ { - /** @deprecated use `Github$inboundSchema` instead. */ - export const inboundSchema = Github$inboundSchema; - /** @deprecated use `Github$outboundSchema` instead. */ - export const outboundSchema = Github$outboundSchema; - /** @deprecated use `Github$Outbound` instead. */ - export type Outbound = Github$Outbound; -} - -export function githubToJSON(github: Github): string { - return JSON.stringify(Github$outboundSchema.parse(github)); -} - -export function githubFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Github$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Github' from JSON`, - ); -} - -/** @internal */ -export const Gitlab$inboundSchema: z.ZodType = z - .object({ - login: z.string().optional(), - }); - -/** @internal */ -export type Gitlab$Outbound = { - login?: string | undefined; -}; - -/** @internal */ -export const Gitlab$outboundSchema: z.ZodType< - Gitlab$Outbound, - z.ZodTypeDef, - Gitlab -> = z.object({ - login: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Gitlab$ { - /** @deprecated use `Gitlab$inboundSchema` instead. */ - export const inboundSchema = Gitlab$inboundSchema; - /** @deprecated use `Gitlab$outboundSchema` instead. */ - export const outboundSchema = Gitlab$outboundSchema; - /** @deprecated use `Gitlab$Outbound` instead. */ - export type Outbound = Gitlab$Outbound; -} - -export function gitlabToJSON(gitlab: Gitlab): string { - return JSON.stringify(Gitlab$outboundSchema.parse(gitlab)); -} - -export function gitlabFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Gitlab$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Gitlab' from JSON`, - ); -} - -/** @internal */ -export const Bitbucket$inboundSchema: z.ZodType< - Bitbucket, - z.ZodTypeDef, - unknown -> = z.object({ - login: z.string().optional(), -}); - -/** @internal */ -export type Bitbucket$Outbound = { - login?: string | undefined; -}; - -/** @internal */ -export const Bitbucket$outboundSchema: z.ZodType< - Bitbucket$Outbound, - z.ZodTypeDef, - Bitbucket -> = z.object({ - login: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Bitbucket$ { - /** @deprecated use `Bitbucket$inboundSchema` instead. */ - export const inboundSchema = Bitbucket$inboundSchema; - /** @deprecated use `Bitbucket$outboundSchema` instead. */ - export const outboundSchema = Bitbucket$outboundSchema; - /** @deprecated use `Bitbucket$Outbound` instead. */ - export type Outbound = Bitbucket$Outbound; -} - -export function bitbucketToJSON(bitbucket: Bitbucket): string { - return JSON.stringify(Bitbucket$outboundSchema.parse(bitbucket)); -} - -export function bitbucketFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Bitbucket$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Bitbucket' from JSON`, - ); -} - -/** @internal */ -export const RequestAccessToTeamResponseBody$inboundSchema: z.ZodType< - RequestAccessToTeamResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - teamSlug: z.string(), - teamName: z.string(), - confirmed: z.boolean().optional(), - joinedFrom: z.lazy(() => RequestAccessToTeamJoinedFrom$inboundSchema) - .optional(), - accessRequestedAt: z.number().optional(), - github: z.nullable(z.lazy(() => Github$inboundSchema)), - gitlab: z.nullable(z.lazy(() => Gitlab$inboundSchema)), - bitbucket: z.nullable(z.lazy(() => Bitbucket$inboundSchema)), -}); - -/** @internal */ -export type RequestAccessToTeamResponseBody$Outbound = { - teamSlug: string; - teamName: string; - confirmed?: boolean | undefined; - joinedFrom?: RequestAccessToTeamJoinedFrom$Outbound | undefined; - accessRequestedAt?: number | undefined; - github: Github$Outbound | null; - gitlab: Gitlab$Outbound | null; - bitbucket: Bitbucket$Outbound | null; -}; - -/** @internal */ -export const RequestAccessToTeamResponseBody$outboundSchema: z.ZodType< - RequestAccessToTeamResponseBody$Outbound, - z.ZodTypeDef, - RequestAccessToTeamResponseBody -> = z.object({ - teamSlug: z.string(), - teamName: z.string(), - confirmed: z.boolean().optional(), - joinedFrom: z.lazy(() => RequestAccessToTeamJoinedFrom$outboundSchema) - .optional(), - accessRequestedAt: z.number().optional(), - github: z.nullable(z.lazy(() => Github$outboundSchema)), - gitlab: z.nullable(z.lazy(() => Gitlab$outboundSchema)), - bitbucket: z.nullable(z.lazy(() => Bitbucket$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestAccessToTeamResponseBody$ { - /** @deprecated use `RequestAccessToTeamResponseBody$inboundSchema` instead. */ - export const inboundSchema = RequestAccessToTeamResponseBody$inboundSchema; - /** @deprecated use `RequestAccessToTeamResponseBody$outboundSchema` instead. */ - export const outboundSchema = RequestAccessToTeamResponseBody$outboundSchema; - /** @deprecated use `RequestAccessToTeamResponseBody$Outbound` instead. */ - export type Outbound = RequestAccessToTeamResponseBody$Outbound; -} - -export function requestAccessToTeamResponseBodyToJSON( - requestAccessToTeamResponseBody: RequestAccessToTeamResponseBody, -): string { - return JSON.stringify( - RequestAccessToTeamResponseBody$outboundSchema.parse( - requestAccessToTeamResponseBody, - ), - ); -} - -export function requestAccessToTeamResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestAccessToTeamResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestAccessToTeamResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/requestdelete.ts b/src/models/operations/requestdelete.ts deleted file mode 100644 index b1c6893d..00000000 --- a/src/models/operations/requestdelete.ts +++ /dev/null @@ -1,219 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * An object describing the reason why the User account is being deleted. - */ -export type RequestDeleteReasons = { - /** - * Idenitifier slug of the reason why the User account is being deleted. - */ - slug: string; - /** - * Description of the reason why the User account is being deleted. - */ - description: string; -}; - -export type RequestDeleteRequestBody = { - /** - * Optional array of objects that describe the reason why the User account is being deleted. - */ - reasons?: Array | undefined; -}; - -/** - * Response indicating that the User deletion process has been initiated, and a confirmation email has been sent. - */ -export type RequestDeleteResponseBody = { - /** - * Unique identifier of the User who has initiated deletion. - */ - id: string; - /** - * Email address of the User who has initiated deletion. - */ - email: string; - /** - * User deletion progress status. - */ - message: string; -}; - -/** @internal */ -export const RequestDeleteReasons$inboundSchema: z.ZodType< - RequestDeleteReasons, - z.ZodTypeDef, - unknown -> = z.object({ - slug: z.string(), - description: z.string(), -}); - -/** @internal */ -export type RequestDeleteReasons$Outbound = { - slug: string; - description: string; -}; - -/** @internal */ -export const RequestDeleteReasons$outboundSchema: z.ZodType< - RequestDeleteReasons$Outbound, - z.ZodTypeDef, - RequestDeleteReasons -> = z.object({ - slug: z.string(), - description: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestDeleteReasons$ { - /** @deprecated use `RequestDeleteReasons$inboundSchema` instead. */ - export const inboundSchema = RequestDeleteReasons$inboundSchema; - /** @deprecated use `RequestDeleteReasons$outboundSchema` instead. */ - export const outboundSchema = RequestDeleteReasons$outboundSchema; - /** @deprecated use `RequestDeleteReasons$Outbound` instead. */ - export type Outbound = RequestDeleteReasons$Outbound; -} - -export function requestDeleteReasonsToJSON( - requestDeleteReasons: RequestDeleteReasons, -): string { - return JSON.stringify( - RequestDeleteReasons$outboundSchema.parse(requestDeleteReasons), - ); -} - -export function requestDeleteReasonsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestDeleteReasons$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestDeleteReasons' from JSON`, - ); -} - -/** @internal */ -export const RequestDeleteRequestBody$inboundSchema: z.ZodType< - RequestDeleteRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - reasons: z.array(z.lazy(() => RequestDeleteReasons$inboundSchema)).optional(), -}); - -/** @internal */ -export type RequestDeleteRequestBody$Outbound = { - reasons?: Array | undefined; -}; - -/** @internal */ -export const RequestDeleteRequestBody$outboundSchema: z.ZodType< - RequestDeleteRequestBody$Outbound, - z.ZodTypeDef, - RequestDeleteRequestBody -> = z.object({ - reasons: z.array(z.lazy(() => RequestDeleteReasons$outboundSchema)) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestDeleteRequestBody$ { - /** @deprecated use `RequestDeleteRequestBody$inboundSchema` instead. */ - export const inboundSchema = RequestDeleteRequestBody$inboundSchema; - /** @deprecated use `RequestDeleteRequestBody$outboundSchema` instead. */ - export const outboundSchema = RequestDeleteRequestBody$outboundSchema; - /** @deprecated use `RequestDeleteRequestBody$Outbound` instead. */ - export type Outbound = RequestDeleteRequestBody$Outbound; -} - -export function requestDeleteRequestBodyToJSON( - requestDeleteRequestBody: RequestDeleteRequestBody, -): string { - return JSON.stringify( - RequestDeleteRequestBody$outboundSchema.parse(requestDeleteRequestBody), - ); -} - -export function requestDeleteRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestDeleteRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestDeleteRequestBody' from JSON`, - ); -} - -/** @internal */ -export const RequestDeleteResponseBody$inboundSchema: z.ZodType< - RequestDeleteResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - email: z.string(), - message: z.string(), -}); - -/** @internal */ -export type RequestDeleteResponseBody$Outbound = { - id: string; - email: string; - message: string; -}; - -/** @internal */ -export const RequestDeleteResponseBody$outboundSchema: z.ZodType< - RequestDeleteResponseBody$Outbound, - z.ZodTypeDef, - RequestDeleteResponseBody -> = z.object({ - id: z.string(), - email: z.string(), - message: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestDeleteResponseBody$ { - /** @deprecated use `RequestDeleteResponseBody$inboundSchema` instead. */ - export const inboundSchema = RequestDeleteResponseBody$inboundSchema; - /** @deprecated use `RequestDeleteResponseBody$outboundSchema` instead. */ - export const outboundSchema = RequestDeleteResponseBody$outboundSchema; - /** @deprecated use `RequestDeleteResponseBody$Outbound` instead. */ - export type Outbound = RequestDeleteResponseBody$Outbound; -} - -export function requestDeleteResponseBodyToJSON( - requestDeleteResponseBody: RequestDeleteResponseBody, -): string { - return JSON.stringify( - RequestDeleteResponseBody$outboundSchema.parse(requestDeleteResponseBody), - ); -} - -export function requestDeleteResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestDeleteResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestDeleteResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/requestpromote.ts b/src/models/operations/requestpromote.ts deleted file mode 100644 index 6e367736..00000000 --- a/src/models/operations/requestpromote.ts +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type RequestPromoteRequest = { - projectId: string; - deploymentId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** @internal */ -export const RequestPromoteRequest$inboundSchema: z.ZodType< - RequestPromoteRequest, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string(), - deploymentId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type RequestPromoteRequest$Outbound = { - projectId: string; - deploymentId: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const RequestPromoteRequest$outboundSchema: z.ZodType< - RequestPromoteRequest$Outbound, - z.ZodTypeDef, - RequestPromoteRequest -> = z.object({ - projectId: z.string(), - deploymentId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestPromoteRequest$ { - /** @deprecated use `RequestPromoteRequest$inboundSchema` instead. */ - export const inboundSchema = RequestPromoteRequest$inboundSchema; - /** @deprecated use `RequestPromoteRequest$outboundSchema` instead. */ - export const outboundSchema = RequestPromoteRequest$outboundSchema; - /** @deprecated use `RequestPromoteRequest$Outbound` instead. */ - export type Outbound = RequestPromoteRequest$Outbound; -} - -export function requestPromoteRequestToJSON( - requestPromoteRequest: RequestPromoteRequest, -): string { - return JSON.stringify( - RequestPromoteRequest$outboundSchema.parse(requestPromoteRequest), - ); -} - -export function requestPromoteRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestPromoteRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestPromoteRequest' from JSON`, - ); -} diff --git a/src/models/operations/rerequestcheck.ts b/src/models/operations/rerequestcheck.ts deleted file mode 100644 index de4bad6c..00000000 --- a/src/models/operations/rerequestcheck.ts +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type RerequestCheckRequest = { - /** - * The deployment to rerun the check for. - */ - deploymentId: string; - /** - * The check to rerun - */ - checkId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export type RerequestCheckResponseBody = {}; - -/** @internal */ -export const RerequestCheckRequest$inboundSchema: z.ZodType< - RerequestCheckRequest, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentId: z.string(), - checkId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type RerequestCheckRequest$Outbound = { - deploymentId: string; - checkId: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const RerequestCheckRequest$outboundSchema: z.ZodType< - RerequestCheckRequest$Outbound, - z.ZodTypeDef, - RerequestCheckRequest -> = z.object({ - deploymentId: z.string(), - checkId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RerequestCheckRequest$ { - /** @deprecated use `RerequestCheckRequest$inboundSchema` instead. */ - export const inboundSchema = RerequestCheckRequest$inboundSchema; - /** @deprecated use `RerequestCheckRequest$outboundSchema` instead. */ - export const outboundSchema = RerequestCheckRequest$outboundSchema; - /** @deprecated use `RerequestCheckRequest$Outbound` instead. */ - export type Outbound = RerequestCheckRequest$Outbound; -} - -export function rerequestCheckRequestToJSON( - rerequestCheckRequest: RerequestCheckRequest, -): string { - return JSON.stringify( - RerequestCheckRequest$outboundSchema.parse(rerequestCheckRequest), - ); -} - -export function rerequestCheckRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RerequestCheckRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RerequestCheckRequest' from JSON`, - ); -} - -/** @internal */ -export const RerequestCheckResponseBody$inboundSchema: z.ZodType< - RerequestCheckResponseBody, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type RerequestCheckResponseBody$Outbound = {}; - -/** @internal */ -export const RerequestCheckResponseBody$outboundSchema: z.ZodType< - RerequestCheckResponseBody$Outbound, - z.ZodTypeDef, - RerequestCheckResponseBody -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RerequestCheckResponseBody$ { - /** @deprecated use `RerequestCheckResponseBody$inboundSchema` instead. */ - export const inboundSchema = RerequestCheckResponseBody$inboundSchema; - /** @deprecated use `RerequestCheckResponseBody$outboundSchema` instead. */ - export const outboundSchema = RerequestCheckResponseBody$outboundSchema; - /** @deprecated use `RerequestCheckResponseBody$Outbound` instead. */ - export type Outbound = RerequestCheckResponseBody$Outbound; -} - -export function rerequestCheckResponseBodyToJSON( - rerequestCheckResponseBody: RerequestCheckResponseBody, -): string { - return JSON.stringify( - RerequestCheckResponseBody$outboundSchema.parse(rerequestCheckResponseBody), - ); -} - -export function rerequestCheckResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RerequestCheckResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RerequestCheckResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/searchrepo.ts b/src/models/operations/searchrepo.ts deleted file mode 100644 index a6c3fa1e..00000000 --- a/src/models/operations/searchrepo.ts +++ /dev/null @@ -1,784 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type NamespaceId = string | number; - -export const QueryParamProvider = { - Github: "github", - GithubCustomHost: "github-custom-host", - Gitlab: "gitlab", - Bitbucket: "bitbucket", -} as const; -export type QueryParamProvider = ClosedEnum; - -export type SearchRepoRequest = { - query?: string | undefined; - namespaceId?: string | number | null | undefined; - provider?: QueryParamProvider | undefined; - installationId?: string | undefined; - /** - * The custom Git host if using a custom Git provider, like GitHub Enterprise Server - */ - host?: string | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export const ResponseBodyProvider = { - Github: "github", - GithubCustomHost: "github-custom-host", - Gitlab: "gitlab", - Bitbucket: "bitbucket", -} as const; -export type ResponseBodyProvider = ClosedEnum; - -export type ResponseBodyNamespaceId = string | number; - -export type GitAccount = { - provider: ResponseBodyProvider; - namespaceId: string | number | null; -}; - -export type ResponseBodyId = string | number; - -export const SearchRepoResponseBodyProvider = { - Github: "github", - GithubCustomHost: "github-custom-host", - Gitlab: "gitlab", - Bitbucket: "bitbucket", -} as const; -export type SearchRepoResponseBodyProvider = ClosedEnum< - typeof SearchRepoResponseBodyProvider ->; - -export type SearchRepoResponseBodyId = string | number; - -export type Owner = { - id: string | number; - name: string; -}; - -export const ResponseBodyOwnerType = { - User: "user", - Team: "team", -} as const; -export type ResponseBodyOwnerType = ClosedEnum; - -export type Repos = { - id: string | number; - provider: SearchRepoResponseBodyProvider; - url: string; - name: string; - slug: string; - namespace: string; - owner: Owner; - ownerType: ResponseBodyOwnerType; - private: boolean; - defaultBranch: string; - updatedAt: number; -}; - -export type SearchRepoResponseBody2 = { - gitAccount: GitAccount; - repos: Array; -}; - -export type SearchRepoResponseBody1 = {}; - -export type SearchRepoResponseBody = - | SearchRepoResponseBody1 - | SearchRepoResponseBody2; - -/** @internal */ -export const NamespaceId$inboundSchema: z.ZodType< - NamespaceId, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number()]); - -/** @internal */ -export type NamespaceId$Outbound = string | number; - -/** @internal */ -export const NamespaceId$outboundSchema: z.ZodType< - NamespaceId$Outbound, - z.ZodTypeDef, - NamespaceId -> = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace NamespaceId$ { - /** @deprecated use `NamespaceId$inboundSchema` instead. */ - export const inboundSchema = NamespaceId$inboundSchema; - /** @deprecated use `NamespaceId$outboundSchema` instead. */ - export const outboundSchema = NamespaceId$outboundSchema; - /** @deprecated use `NamespaceId$Outbound` instead. */ - export type Outbound = NamespaceId$Outbound; -} - -export function namespaceIdToJSON(namespaceId: NamespaceId): string { - return JSON.stringify(NamespaceId$outboundSchema.parse(namespaceId)); -} - -export function namespaceIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => NamespaceId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'NamespaceId' from JSON`, - ); -} - -/** @internal */ -export const QueryParamProvider$inboundSchema: z.ZodNativeEnum< - typeof QueryParamProvider -> = z.nativeEnum(QueryParamProvider); - -/** @internal */ -export const QueryParamProvider$outboundSchema: z.ZodNativeEnum< - typeof QueryParamProvider -> = QueryParamProvider$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace QueryParamProvider$ { - /** @deprecated use `QueryParamProvider$inboundSchema` instead. */ - export const inboundSchema = QueryParamProvider$inboundSchema; - /** @deprecated use `QueryParamProvider$outboundSchema` instead. */ - export const outboundSchema = QueryParamProvider$outboundSchema; -} - -/** @internal */ -export const SearchRepoRequest$inboundSchema: z.ZodType< - SearchRepoRequest, - z.ZodTypeDef, - unknown -> = z.object({ - query: z.string().optional(), - namespaceId: z.nullable(z.union([z.string(), z.number()])).optional(), - provider: QueryParamProvider$inboundSchema.optional(), - installationId: z.string().optional(), - host: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type SearchRepoRequest$Outbound = { - query?: string | undefined; - namespaceId?: string | number | null | undefined; - provider?: string | undefined; - installationId?: string | undefined; - host?: string | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const SearchRepoRequest$outboundSchema: z.ZodType< - SearchRepoRequest$Outbound, - z.ZodTypeDef, - SearchRepoRequest -> = z.object({ - query: z.string().optional(), - namespaceId: z.nullable(z.union([z.string(), z.number()])).optional(), - provider: QueryParamProvider$outboundSchema.optional(), - installationId: z.string().optional(), - host: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SearchRepoRequest$ { - /** @deprecated use `SearchRepoRequest$inboundSchema` instead. */ - export const inboundSchema = SearchRepoRequest$inboundSchema; - /** @deprecated use `SearchRepoRequest$outboundSchema` instead. */ - export const outboundSchema = SearchRepoRequest$outboundSchema; - /** @deprecated use `SearchRepoRequest$Outbound` instead. */ - export type Outbound = SearchRepoRequest$Outbound; -} - -export function searchRepoRequestToJSON( - searchRepoRequest: SearchRepoRequest, -): string { - return JSON.stringify( - SearchRepoRequest$outboundSchema.parse(searchRepoRequest), - ); -} - -export function searchRepoRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SearchRepoRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SearchRepoRequest' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyProvider$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyProvider -> = z.nativeEnum(ResponseBodyProvider); - -/** @internal */ -export const ResponseBodyProvider$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyProvider -> = ResponseBodyProvider$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyProvider$ { - /** @deprecated use `ResponseBodyProvider$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyProvider$inboundSchema; - /** @deprecated use `ResponseBodyProvider$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyProvider$outboundSchema; -} - -/** @internal */ -export const ResponseBodyNamespaceId$inboundSchema: z.ZodType< - ResponseBodyNamespaceId, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number()]); - -/** @internal */ -export type ResponseBodyNamespaceId$Outbound = string | number; - -/** @internal */ -export const ResponseBodyNamespaceId$outboundSchema: z.ZodType< - ResponseBodyNamespaceId$Outbound, - z.ZodTypeDef, - ResponseBodyNamespaceId -> = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyNamespaceId$ { - /** @deprecated use `ResponseBodyNamespaceId$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyNamespaceId$inboundSchema; - /** @deprecated use `ResponseBodyNamespaceId$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyNamespaceId$outboundSchema; - /** @deprecated use `ResponseBodyNamespaceId$Outbound` instead. */ - export type Outbound = ResponseBodyNamespaceId$Outbound; -} - -export function responseBodyNamespaceIdToJSON( - responseBodyNamespaceId: ResponseBodyNamespaceId, -): string { - return JSON.stringify( - ResponseBodyNamespaceId$outboundSchema.parse(responseBodyNamespaceId), - ); -} - -export function responseBodyNamespaceIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyNamespaceId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyNamespaceId' from JSON`, - ); -} - -/** @internal */ -export const GitAccount$inboundSchema: z.ZodType< - GitAccount, - z.ZodTypeDef, - unknown -> = z.object({ - provider: ResponseBodyProvider$inboundSchema, - namespaceId: z.nullable(z.union([z.string(), z.number()])), -}); - -/** @internal */ -export type GitAccount$Outbound = { - provider: string; - namespaceId: string | number | null; -}; - -/** @internal */ -export const GitAccount$outboundSchema: z.ZodType< - GitAccount$Outbound, - z.ZodTypeDef, - GitAccount -> = z.object({ - provider: ResponseBodyProvider$outboundSchema, - namespaceId: z.nullable(z.union([z.string(), z.number()])), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitAccount$ { - /** @deprecated use `GitAccount$inboundSchema` instead. */ - export const inboundSchema = GitAccount$inboundSchema; - /** @deprecated use `GitAccount$outboundSchema` instead. */ - export const outboundSchema = GitAccount$outboundSchema; - /** @deprecated use `GitAccount$Outbound` instead. */ - export type Outbound = GitAccount$Outbound; -} - -export function gitAccountToJSON(gitAccount: GitAccount): string { - return JSON.stringify(GitAccount$outboundSchema.parse(gitAccount)); -} - -export function gitAccountFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitAccount$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitAccount' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyId$inboundSchema: z.ZodType< - ResponseBodyId, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number()]); - -/** @internal */ -export type ResponseBodyId$Outbound = string | number; - -/** @internal */ -export const ResponseBodyId$outboundSchema: z.ZodType< - ResponseBodyId$Outbound, - z.ZodTypeDef, - ResponseBodyId -> = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyId$ { - /** @deprecated use `ResponseBodyId$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyId$inboundSchema; - /** @deprecated use `ResponseBodyId$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyId$outboundSchema; - /** @deprecated use `ResponseBodyId$Outbound` instead. */ - export type Outbound = ResponseBodyId$Outbound; -} - -export function responseBodyIdToJSON(responseBodyId: ResponseBodyId): string { - return JSON.stringify(ResponseBodyId$outboundSchema.parse(responseBodyId)); -} - -export function responseBodyIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResponseBodyId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyId' from JSON`, - ); -} - -/** @internal */ -export const SearchRepoResponseBodyProvider$inboundSchema: z.ZodNativeEnum< - typeof SearchRepoResponseBodyProvider -> = z.nativeEnum(SearchRepoResponseBodyProvider); - -/** @internal */ -export const SearchRepoResponseBodyProvider$outboundSchema: z.ZodNativeEnum< - typeof SearchRepoResponseBodyProvider -> = SearchRepoResponseBodyProvider$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SearchRepoResponseBodyProvider$ { - /** @deprecated use `SearchRepoResponseBodyProvider$inboundSchema` instead. */ - export const inboundSchema = SearchRepoResponseBodyProvider$inboundSchema; - /** @deprecated use `SearchRepoResponseBodyProvider$outboundSchema` instead. */ - export const outboundSchema = SearchRepoResponseBodyProvider$outboundSchema; -} - -/** @internal */ -export const SearchRepoResponseBodyId$inboundSchema: z.ZodType< - SearchRepoResponseBodyId, - z.ZodTypeDef, - unknown -> = z.union([z.string(), z.number()]); - -/** @internal */ -export type SearchRepoResponseBodyId$Outbound = string | number; - -/** @internal */ -export const SearchRepoResponseBodyId$outboundSchema: z.ZodType< - SearchRepoResponseBodyId$Outbound, - z.ZodTypeDef, - SearchRepoResponseBodyId -> = z.union([z.string(), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SearchRepoResponseBodyId$ { - /** @deprecated use `SearchRepoResponseBodyId$inboundSchema` instead. */ - export const inboundSchema = SearchRepoResponseBodyId$inboundSchema; - /** @deprecated use `SearchRepoResponseBodyId$outboundSchema` instead. */ - export const outboundSchema = SearchRepoResponseBodyId$outboundSchema; - /** @deprecated use `SearchRepoResponseBodyId$Outbound` instead. */ - export type Outbound = SearchRepoResponseBodyId$Outbound; -} - -export function searchRepoResponseBodyIdToJSON( - searchRepoResponseBodyId: SearchRepoResponseBodyId, -): string { - return JSON.stringify( - SearchRepoResponseBodyId$outboundSchema.parse(searchRepoResponseBodyId), - ); -} - -export function searchRepoResponseBodyIdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SearchRepoResponseBodyId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SearchRepoResponseBodyId' from JSON`, - ); -} - -/** @internal */ -export const Owner$inboundSchema: z.ZodType = z - .object({ - id: z.union([z.string(), z.number()]), - name: z.string(), - }); - -/** @internal */ -export type Owner$Outbound = { - id: string | number; - name: string; -}; - -/** @internal */ -export const Owner$outboundSchema: z.ZodType< - Owner$Outbound, - z.ZodTypeDef, - Owner -> = z.object({ - id: z.union([z.string(), z.number()]), - name: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Owner$ { - /** @deprecated use `Owner$inboundSchema` instead. */ - export const inboundSchema = Owner$inboundSchema; - /** @deprecated use `Owner$outboundSchema` instead. */ - export const outboundSchema = Owner$outboundSchema; - /** @deprecated use `Owner$Outbound` instead. */ - export type Outbound = Owner$Outbound; -} - -export function ownerToJSON(owner: Owner): string { - return JSON.stringify(Owner$outboundSchema.parse(owner)); -} - -export function ownerFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Owner$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Owner' from JSON`, - ); -} - -/** @internal */ -export const ResponseBodyOwnerType$inboundSchema: z.ZodNativeEnum< - typeof ResponseBodyOwnerType -> = z.nativeEnum(ResponseBodyOwnerType); - -/** @internal */ -export const ResponseBodyOwnerType$outboundSchema: z.ZodNativeEnum< - typeof ResponseBodyOwnerType -> = ResponseBodyOwnerType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyOwnerType$ { - /** @deprecated use `ResponseBodyOwnerType$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyOwnerType$inboundSchema; - /** @deprecated use `ResponseBodyOwnerType$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyOwnerType$outboundSchema; -} - -/** @internal */ -export const Repos$inboundSchema: z.ZodType = z - .object({ - id: z.union([z.string(), z.number()]), - provider: SearchRepoResponseBodyProvider$inboundSchema, - url: z.string(), - name: z.string(), - slug: z.string(), - namespace: z.string(), - owner: z.lazy(() => Owner$inboundSchema), - ownerType: ResponseBodyOwnerType$inboundSchema, - private: z.boolean(), - defaultBranch: z.string(), - updatedAt: z.number(), - }); - -/** @internal */ -export type Repos$Outbound = { - id: string | number; - provider: string; - url: string; - name: string; - slug: string; - namespace: string; - owner: Owner$Outbound; - ownerType: string; - private: boolean; - defaultBranch: string; - updatedAt: number; -}; - -/** @internal */ -export const Repos$outboundSchema: z.ZodType< - Repos$Outbound, - z.ZodTypeDef, - Repos -> = z.object({ - id: z.union([z.string(), z.number()]), - provider: SearchRepoResponseBodyProvider$outboundSchema, - url: z.string(), - name: z.string(), - slug: z.string(), - namespace: z.string(), - owner: z.lazy(() => Owner$outboundSchema), - ownerType: ResponseBodyOwnerType$outboundSchema, - private: z.boolean(), - defaultBranch: z.string(), - updatedAt: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Repos$ { - /** @deprecated use `Repos$inboundSchema` instead. */ - export const inboundSchema = Repos$inboundSchema; - /** @deprecated use `Repos$outboundSchema` instead. */ - export const outboundSchema = Repos$outboundSchema; - /** @deprecated use `Repos$Outbound` instead. */ - export type Outbound = Repos$Outbound; -} - -export function reposToJSON(repos: Repos): string { - return JSON.stringify(Repos$outboundSchema.parse(repos)); -} - -export function reposFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Repos$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Repos' from JSON`, - ); -} - -/** @internal */ -export const SearchRepoResponseBody2$inboundSchema: z.ZodType< - SearchRepoResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({ - gitAccount: z.lazy(() => GitAccount$inboundSchema), - repos: z.array(z.lazy(() => Repos$inboundSchema)), -}); - -/** @internal */ -export type SearchRepoResponseBody2$Outbound = { - gitAccount: GitAccount$Outbound; - repos: Array; -}; - -/** @internal */ -export const SearchRepoResponseBody2$outboundSchema: z.ZodType< - SearchRepoResponseBody2$Outbound, - z.ZodTypeDef, - SearchRepoResponseBody2 -> = z.object({ - gitAccount: z.lazy(() => GitAccount$outboundSchema), - repos: z.array(z.lazy(() => Repos$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SearchRepoResponseBody2$ { - /** @deprecated use `SearchRepoResponseBody2$inboundSchema` instead. */ - export const inboundSchema = SearchRepoResponseBody2$inboundSchema; - /** @deprecated use `SearchRepoResponseBody2$outboundSchema` instead. */ - export const outboundSchema = SearchRepoResponseBody2$outboundSchema; - /** @deprecated use `SearchRepoResponseBody2$Outbound` instead. */ - export type Outbound = SearchRepoResponseBody2$Outbound; -} - -export function searchRepoResponseBody2ToJSON( - searchRepoResponseBody2: SearchRepoResponseBody2, -): string { - return JSON.stringify( - SearchRepoResponseBody2$outboundSchema.parse(searchRepoResponseBody2), - ); -} - -export function searchRepoResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SearchRepoResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SearchRepoResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const SearchRepoResponseBody1$inboundSchema: z.ZodType< - SearchRepoResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type SearchRepoResponseBody1$Outbound = {}; - -/** @internal */ -export const SearchRepoResponseBody1$outboundSchema: z.ZodType< - SearchRepoResponseBody1$Outbound, - z.ZodTypeDef, - SearchRepoResponseBody1 -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SearchRepoResponseBody1$ { - /** @deprecated use `SearchRepoResponseBody1$inboundSchema` instead. */ - export const inboundSchema = SearchRepoResponseBody1$inboundSchema; - /** @deprecated use `SearchRepoResponseBody1$outboundSchema` instead. */ - export const outboundSchema = SearchRepoResponseBody1$outboundSchema; - /** @deprecated use `SearchRepoResponseBody1$Outbound` instead. */ - export type Outbound = SearchRepoResponseBody1$Outbound; -} - -export function searchRepoResponseBody1ToJSON( - searchRepoResponseBody1: SearchRepoResponseBody1, -): string { - return JSON.stringify( - SearchRepoResponseBody1$outboundSchema.parse(searchRepoResponseBody1), - ); -} - -export function searchRepoResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SearchRepoResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SearchRepoResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const SearchRepoResponseBody$inboundSchema: z.ZodType< - SearchRepoResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => SearchRepoResponseBody1$inboundSchema), - z.lazy(() => SearchRepoResponseBody2$inboundSchema), -]); - -/** @internal */ -export type SearchRepoResponseBody$Outbound = - | SearchRepoResponseBody1$Outbound - | SearchRepoResponseBody2$Outbound; - -/** @internal */ -export const SearchRepoResponseBody$outboundSchema: z.ZodType< - SearchRepoResponseBody$Outbound, - z.ZodTypeDef, - SearchRepoResponseBody -> = z.union([ - z.lazy(() => SearchRepoResponseBody1$outboundSchema), - z.lazy(() => SearchRepoResponseBody2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SearchRepoResponseBody$ { - /** @deprecated use `SearchRepoResponseBody$inboundSchema` instead. */ - export const inboundSchema = SearchRepoResponseBody$inboundSchema; - /** @deprecated use `SearchRepoResponseBody$outboundSchema` instead. */ - export const outboundSchema = SearchRepoResponseBody$outboundSchema; - /** @deprecated use `SearchRepoResponseBody$Outbound` instead. */ - export type Outbound = SearchRepoResponseBody$Outbound; -} - -export function searchRepoResponseBodyToJSON( - searchRepoResponseBody: SearchRepoResponseBody, -): string { - return JSON.stringify( - SearchRepoResponseBody$outboundSchema.parse(searchRepoResponseBody), - ); -} - -export function searchRepoResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SearchRepoResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SearchRepoResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/status.ts b/src/models/operations/status.ts deleted file mode 100644 index ea1955b5..00000000 --- a/src/models/operations/status.ts +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type StatusRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export const StatusStatus = { - Disabled: "disabled", - Enabled: "enabled", - OverLimit: "over_limit", - Paused: "paused", -} as const; -export type StatusStatus = ClosedEnum; - -export type StatusResponseBody = { - status: StatusStatus; -}; - -/** @internal */ -export const StatusRequest$inboundSchema: z.ZodType< - StatusRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type StatusRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const StatusRequest$outboundSchema: z.ZodType< - StatusRequest$Outbound, - z.ZodTypeDef, - StatusRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace StatusRequest$ { - /** @deprecated use `StatusRequest$inboundSchema` instead. */ - export const inboundSchema = StatusRequest$inboundSchema; - /** @deprecated use `StatusRequest$outboundSchema` instead. */ - export const outboundSchema = StatusRequest$outboundSchema; - /** @deprecated use `StatusRequest$Outbound` instead. */ - export type Outbound = StatusRequest$Outbound; -} - -export function statusRequestToJSON(statusRequest: StatusRequest): string { - return JSON.stringify(StatusRequest$outboundSchema.parse(statusRequest)); -} - -export function statusRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => StatusRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'StatusRequest' from JSON`, - ); -} - -/** @internal */ -export const StatusStatus$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(StatusStatus); - -/** @internal */ -export const StatusStatus$outboundSchema: z.ZodNativeEnum = - StatusStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace StatusStatus$ { - /** @deprecated use `StatusStatus$inboundSchema` instead. */ - export const inboundSchema = StatusStatus$inboundSchema; - /** @deprecated use `StatusStatus$outboundSchema` instead. */ - export const outboundSchema = StatusStatus$outboundSchema; -} - -/** @internal */ -export const StatusResponseBody$inboundSchema: z.ZodType< - StatusResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - status: StatusStatus$inboundSchema, -}); - -/** @internal */ -export type StatusResponseBody$Outbound = { - status: string; -}; - -/** @internal */ -export const StatusResponseBody$outboundSchema: z.ZodType< - StatusResponseBody$Outbound, - z.ZodTypeDef, - StatusResponseBody -> = z.object({ - status: StatusStatus$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace StatusResponseBody$ { - /** @deprecated use `StatusResponseBody$inboundSchema` instead. */ - export const inboundSchema = StatusResponseBody$inboundSchema; - /** @deprecated use `StatusResponseBody$outboundSchema` instead. */ - export const outboundSchema = StatusResponseBody$outboundSchema; - /** @deprecated use `StatusResponseBody$Outbound` instead. */ - export type Outbound = StatusResponseBody$Outbound; -} - -export function statusResponseBodyToJSON( - statusResponseBody: StatusResponseBody, -): string { - return JSON.stringify( - StatusResponseBody$outboundSchema.parse(statusResponseBody), - ); -} - -export function statusResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => StatusResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'StatusResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/submitbillingdata.ts b/src/models/operations/submitbillingdata.ts deleted file mode 100644 index 04340140..00000000 --- a/src/models/operations/submitbillingdata.ts +++ /dev/null @@ -1,813 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Period for the billing cycle. - */ -export type Period = { - start: Date; - end: Date; -}; - -export type BillingItems = { - /** - * Partner's billing plan ID. - */ - billingPlanId: string; - /** - * Partner's resource ID. - */ - resourceId?: string | undefined; - /** - * Start and end are only needed if different from the period's start/end. - */ - start?: Date | undefined; - /** - * Start and end are only needed if different from the period's start/end. - */ - end?: Date | undefined; - /** - * Line item name. - */ - name: string; - /** - * Line item details. - */ - details?: string | undefined; - /** - * Price per unit. - */ - price: string; - /** - * Quantity of units. - */ - quantity: number; - /** - * Units of the quantity. - */ - units: string; - /** - * Total amount. - */ - total: string; -}; - -export type Discounts = { - /** - * Partner's billing plan ID. - */ - billingPlanId: string; - /** - * Partner's resource ID. - */ - resourceId?: string | undefined; - /** - * Start and end are only needed if different from the period's start/end. - */ - start?: Date | undefined; - /** - * Start and end are only needed if different from the period's start/end. - */ - end?: Date | undefined; - /** - * Discount name. - */ - name: string; - /** - * Discount details. - */ - details?: string | undefined; - /** - * Discount amount. - */ - amount: string; -}; - -export type Billing2 = { - items: Array; - discounts?: Array | undefined; -}; - -export type Billing1 = { - /** - * Partner's billing plan ID. - */ - billingPlanId: string; - /** - * Partner's resource ID. - */ - resourceId?: string | undefined; - /** - * Start and end are only needed if different from the period's start/end. - */ - start?: Date | undefined; - /** - * Start and end are only needed if different from the period's start/end. - */ - end?: Date | undefined; - /** - * Line item name. - */ - name: string; - /** - * Line item details. - */ - details?: string | undefined; - /** - * Price per unit. - */ - price: string; - /** - * Quantity of units. - */ - quantity: number; - /** - * Units of the quantity. - */ - units: string; - /** - * Total amount. - */ - total: string; -}; - -/** - * Billing data (interim invoicing data). - */ -export type Billing = Billing2 | Array; - -/** - * \n Type of the metric.\n - total: measured total value, such as Database size\n - interval: usage during the period, such as i/o or number of queries.\n - rate: rate of usage, such as queries per second.\n - */ -export const SubmitBillingDataType = { - Total: "total", - Interval: "interval", - Rate: "rate", -} as const; -/** - * \n Type of the metric.\n - total: measured total value, such as Database size\n - interval: usage during the period, such as i/o or number of queries.\n - rate: rate of usage, such as queries per second.\n - */ -export type SubmitBillingDataType = ClosedEnum; - -export type Usage = { - /** - * Partner's resource ID. - */ - resourceId: string; - /** - * Metric name. - */ - name: string; - /** - * \n Type of the metric.\n - total: measured total value, such as Database size\n - interval: usage during the period, such as i/o or number of queries.\n - rate: rate of usage, such as queries per second.\n - */ - type: SubmitBillingDataType; - /** - * Metric units. Example: \"GB\" - */ - units: string; - /** - * Metric value for the day. Could be a final or an interim value for the day. - */ - dayValue: number; - /** - * Metric value for the billing period. Could be a final or an interim value for the period. - */ - periodValue: number; - /** - * The limit value of the metric for a billing period, if a limit is defined by the plan. - */ - planValue?: number | undefined; -}; - -export type SubmitBillingDataRequestBody = { - timestamp: Date; - eod: Date; - /** - * Period for the billing cycle. - */ - period: Period; - /** - * Billing data (interim invoicing data). - */ - billing: Billing2 | Array; - usage: Array; -}; - -export type SubmitBillingDataRequest = { - integrationConfigurationId: string; - requestBody?: SubmitBillingDataRequestBody | undefined; -}; - -/** @internal */ -export const Period$inboundSchema: z.ZodType = z - .object({ - start: z.string().datetime({ offset: true }).transform(v => new Date(v)), - end: z.string().datetime({ offset: true }).transform(v => new Date(v)), - }); - -/** @internal */ -export type Period$Outbound = { - start: string; - end: string; -}; - -/** @internal */ -export const Period$outboundSchema: z.ZodType< - Period$Outbound, - z.ZodTypeDef, - Period -> = z.object({ - start: z.date().transform(v => v.toISOString()), - end: z.date().transform(v => v.toISOString()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Period$ { - /** @deprecated use `Period$inboundSchema` instead. */ - export const inboundSchema = Period$inboundSchema; - /** @deprecated use `Period$outboundSchema` instead. */ - export const outboundSchema = Period$outboundSchema; - /** @deprecated use `Period$Outbound` instead. */ - export type Outbound = Period$Outbound; -} - -export function periodToJSON(period: Period): string { - return JSON.stringify(Period$outboundSchema.parse(period)); -} - -export function periodFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Period$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Period' from JSON`, - ); -} - -/** @internal */ -export const BillingItems$inboundSchema: z.ZodType< - BillingItems, - z.ZodTypeDef, - unknown -> = z.object({ - billingPlanId: z.string(), - resourceId: z.string().optional(), - start: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - end: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - name: z.string(), - details: z.string().optional(), - price: z.string(), - quantity: z.number(), - units: z.string(), - total: z.string(), -}); - -/** @internal */ -export type BillingItems$Outbound = { - billingPlanId: string; - resourceId?: string | undefined; - start?: string | undefined; - end?: string | undefined; - name: string; - details?: string | undefined; - price: string; - quantity: number; - units: string; - total: string; -}; - -/** @internal */ -export const BillingItems$outboundSchema: z.ZodType< - BillingItems$Outbound, - z.ZodTypeDef, - BillingItems -> = z.object({ - billingPlanId: z.string(), - resourceId: z.string().optional(), - start: z.date().transform(v => v.toISOString()).optional(), - end: z.date().transform(v => v.toISOString()).optional(), - name: z.string(), - details: z.string().optional(), - price: z.string(), - quantity: z.number(), - units: z.string(), - total: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BillingItems$ { - /** @deprecated use `BillingItems$inboundSchema` instead. */ - export const inboundSchema = BillingItems$inboundSchema; - /** @deprecated use `BillingItems$outboundSchema` instead. */ - export const outboundSchema = BillingItems$outboundSchema; - /** @deprecated use `BillingItems$Outbound` instead. */ - export type Outbound = BillingItems$Outbound; -} - -export function billingItemsToJSON(billingItems: BillingItems): string { - return JSON.stringify(BillingItems$outboundSchema.parse(billingItems)); -} - -export function billingItemsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BillingItems$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BillingItems' from JSON`, - ); -} - -/** @internal */ -export const Discounts$inboundSchema: z.ZodType< - Discounts, - z.ZodTypeDef, - unknown -> = z.object({ - billingPlanId: z.string(), - resourceId: z.string().optional(), - start: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - end: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - name: z.string(), - details: z.string().optional(), - amount: z.string(), -}); - -/** @internal */ -export type Discounts$Outbound = { - billingPlanId: string; - resourceId?: string | undefined; - start?: string | undefined; - end?: string | undefined; - name: string; - details?: string | undefined; - amount: string; -}; - -/** @internal */ -export const Discounts$outboundSchema: z.ZodType< - Discounts$Outbound, - z.ZodTypeDef, - Discounts -> = z.object({ - billingPlanId: z.string(), - resourceId: z.string().optional(), - start: z.date().transform(v => v.toISOString()).optional(), - end: z.date().transform(v => v.toISOString()).optional(), - name: z.string(), - details: z.string().optional(), - amount: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Discounts$ { - /** @deprecated use `Discounts$inboundSchema` instead. */ - export const inboundSchema = Discounts$inboundSchema; - /** @deprecated use `Discounts$outboundSchema` instead. */ - export const outboundSchema = Discounts$outboundSchema; - /** @deprecated use `Discounts$Outbound` instead. */ - export type Outbound = Discounts$Outbound; -} - -export function discountsToJSON(discounts: Discounts): string { - return JSON.stringify(Discounts$outboundSchema.parse(discounts)); -} - -export function discountsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Discounts$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Discounts' from JSON`, - ); -} - -/** @internal */ -export const Billing2$inboundSchema: z.ZodType< - Billing2, - z.ZodTypeDef, - unknown -> = z.object({ - items: z.array(z.lazy(() => BillingItems$inboundSchema)), - discounts: z.array(z.lazy(() => Discounts$inboundSchema)).optional(), -}); - -/** @internal */ -export type Billing2$Outbound = { - items: Array; - discounts?: Array | undefined; -}; - -/** @internal */ -export const Billing2$outboundSchema: z.ZodType< - Billing2$Outbound, - z.ZodTypeDef, - Billing2 -> = z.object({ - items: z.array(z.lazy(() => BillingItems$outboundSchema)), - discounts: z.array(z.lazy(() => Discounts$outboundSchema)).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Billing2$ { - /** @deprecated use `Billing2$inboundSchema` instead. */ - export const inboundSchema = Billing2$inboundSchema; - /** @deprecated use `Billing2$outboundSchema` instead. */ - export const outboundSchema = Billing2$outboundSchema; - /** @deprecated use `Billing2$Outbound` instead. */ - export type Outbound = Billing2$Outbound; -} - -export function billing2ToJSON(billing2: Billing2): string { - return JSON.stringify(Billing2$outboundSchema.parse(billing2)); -} - -export function billing2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Billing2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Billing2' from JSON`, - ); -} - -/** @internal */ -export const Billing1$inboundSchema: z.ZodType< - Billing1, - z.ZodTypeDef, - unknown -> = z.object({ - billingPlanId: z.string(), - resourceId: z.string().optional(), - start: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - end: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - name: z.string(), - details: z.string().optional(), - price: z.string(), - quantity: z.number(), - units: z.string(), - total: z.string(), -}); - -/** @internal */ -export type Billing1$Outbound = { - billingPlanId: string; - resourceId?: string | undefined; - start?: string | undefined; - end?: string | undefined; - name: string; - details?: string | undefined; - price: string; - quantity: number; - units: string; - total: string; -}; - -/** @internal */ -export const Billing1$outboundSchema: z.ZodType< - Billing1$Outbound, - z.ZodTypeDef, - Billing1 -> = z.object({ - billingPlanId: z.string(), - resourceId: z.string().optional(), - start: z.date().transform(v => v.toISOString()).optional(), - end: z.date().transform(v => v.toISOString()).optional(), - name: z.string(), - details: z.string().optional(), - price: z.string(), - quantity: z.number(), - units: z.string(), - total: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Billing1$ { - /** @deprecated use `Billing1$inboundSchema` instead. */ - export const inboundSchema = Billing1$inboundSchema; - /** @deprecated use `Billing1$outboundSchema` instead. */ - export const outboundSchema = Billing1$outboundSchema; - /** @deprecated use `Billing1$Outbound` instead. */ - export type Outbound = Billing1$Outbound; -} - -export function billing1ToJSON(billing1: Billing1): string { - return JSON.stringify(Billing1$outboundSchema.parse(billing1)); -} - -export function billing1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Billing1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Billing1' from JSON`, - ); -} - -/** @internal */ -export const Billing$inboundSchema: z.ZodType = - z.union([ - z.lazy(() => Billing2$inboundSchema), - z.array(z.lazy(() => Billing1$inboundSchema)), - ]); - -/** @internal */ -export type Billing$Outbound = Billing2$Outbound | Array; - -/** @internal */ -export const Billing$outboundSchema: z.ZodType< - Billing$Outbound, - z.ZodTypeDef, - Billing -> = z.union([ - z.lazy(() => Billing2$outboundSchema), - z.array(z.lazy(() => Billing1$outboundSchema)), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Billing$ { - /** @deprecated use `Billing$inboundSchema` instead. */ - export const inboundSchema = Billing$inboundSchema; - /** @deprecated use `Billing$outboundSchema` instead. */ - export const outboundSchema = Billing$outboundSchema; - /** @deprecated use `Billing$Outbound` instead. */ - export type Outbound = Billing$Outbound; -} - -export function billingToJSON(billing: Billing): string { - return JSON.stringify(Billing$outboundSchema.parse(billing)); -} - -export function billingFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Billing$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Billing' from JSON`, - ); -} - -/** @internal */ -export const SubmitBillingDataType$inboundSchema: z.ZodNativeEnum< - typeof SubmitBillingDataType -> = z.nativeEnum(SubmitBillingDataType); - -/** @internal */ -export const SubmitBillingDataType$outboundSchema: z.ZodNativeEnum< - typeof SubmitBillingDataType -> = SubmitBillingDataType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SubmitBillingDataType$ { - /** @deprecated use `SubmitBillingDataType$inboundSchema` instead. */ - export const inboundSchema = SubmitBillingDataType$inboundSchema; - /** @deprecated use `SubmitBillingDataType$outboundSchema` instead. */ - export const outboundSchema = SubmitBillingDataType$outboundSchema; -} - -/** @internal */ -export const Usage$inboundSchema: z.ZodType = z - .object({ - resourceId: z.string(), - name: z.string(), - type: SubmitBillingDataType$inboundSchema, - units: z.string(), - dayValue: z.number(), - periodValue: z.number(), - planValue: z.number().optional(), - }); - -/** @internal */ -export type Usage$Outbound = { - resourceId: string; - name: string; - type: string; - units: string; - dayValue: number; - periodValue: number; - planValue?: number | undefined; -}; - -/** @internal */ -export const Usage$outboundSchema: z.ZodType< - Usage$Outbound, - z.ZodTypeDef, - Usage -> = z.object({ - resourceId: z.string(), - name: z.string(), - type: SubmitBillingDataType$outboundSchema, - units: z.string(), - dayValue: z.number(), - periodValue: z.number(), - planValue: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Usage$ { - /** @deprecated use `Usage$inboundSchema` instead. */ - export const inboundSchema = Usage$inboundSchema; - /** @deprecated use `Usage$outboundSchema` instead. */ - export const outboundSchema = Usage$outboundSchema; - /** @deprecated use `Usage$Outbound` instead. */ - export type Outbound = Usage$Outbound; -} - -export function usageToJSON(usage: Usage): string { - return JSON.stringify(Usage$outboundSchema.parse(usage)); -} - -export function usageFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Usage$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Usage' from JSON`, - ); -} - -/** @internal */ -export const SubmitBillingDataRequestBody$inboundSchema: z.ZodType< - SubmitBillingDataRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - timestamp: z.string().datetime({ offset: true }).transform(v => new Date(v)), - eod: z.string().datetime({ offset: true }).transform(v => new Date(v)), - period: z.lazy(() => Period$inboundSchema), - billing: z.union([ - z.lazy(() => Billing2$inboundSchema), - z.array(z.lazy(() => Billing1$inboundSchema)), - ]), - usage: z.array(z.lazy(() => Usage$inboundSchema)), -}); - -/** @internal */ -export type SubmitBillingDataRequestBody$Outbound = { - timestamp: string; - eod: string; - period: Period$Outbound; - billing: Billing2$Outbound | Array; - usage: Array; -}; - -/** @internal */ -export const SubmitBillingDataRequestBody$outboundSchema: z.ZodType< - SubmitBillingDataRequestBody$Outbound, - z.ZodTypeDef, - SubmitBillingDataRequestBody -> = z.object({ - timestamp: z.date().transform(v => v.toISOString()), - eod: z.date().transform(v => v.toISOString()), - period: z.lazy(() => Period$outboundSchema), - billing: z.union([ - z.lazy(() => Billing2$outboundSchema), - z.array(z.lazy(() => Billing1$outboundSchema)), - ]), - usage: z.array(z.lazy(() => Usage$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SubmitBillingDataRequestBody$ { - /** @deprecated use `SubmitBillingDataRequestBody$inboundSchema` instead. */ - export const inboundSchema = SubmitBillingDataRequestBody$inboundSchema; - /** @deprecated use `SubmitBillingDataRequestBody$outboundSchema` instead. */ - export const outboundSchema = SubmitBillingDataRequestBody$outboundSchema; - /** @deprecated use `SubmitBillingDataRequestBody$Outbound` instead. */ - export type Outbound = SubmitBillingDataRequestBody$Outbound; -} - -export function submitBillingDataRequestBodyToJSON( - submitBillingDataRequestBody: SubmitBillingDataRequestBody, -): string { - return JSON.stringify( - SubmitBillingDataRequestBody$outboundSchema.parse( - submitBillingDataRequestBody, - ), - ); -} - -export function submitBillingDataRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SubmitBillingDataRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SubmitBillingDataRequestBody' from JSON`, - ); -} - -/** @internal */ -export const SubmitBillingDataRequest$inboundSchema: z.ZodType< - SubmitBillingDataRequest, - z.ZodTypeDef, - unknown -> = z.object({ - integrationConfigurationId: z.string(), - RequestBody: z.lazy(() => SubmitBillingDataRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type SubmitBillingDataRequest$Outbound = { - integrationConfigurationId: string; - RequestBody?: SubmitBillingDataRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const SubmitBillingDataRequest$outboundSchema: z.ZodType< - SubmitBillingDataRequest$Outbound, - z.ZodTypeDef, - SubmitBillingDataRequest -> = z.object({ - integrationConfigurationId: z.string(), - requestBody: z.lazy(() => SubmitBillingDataRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SubmitBillingDataRequest$ { - /** @deprecated use `SubmitBillingDataRequest$inboundSchema` instead. */ - export const inboundSchema = SubmitBillingDataRequest$inboundSchema; - /** @deprecated use `SubmitBillingDataRequest$outboundSchema` instead. */ - export const outboundSchema = SubmitBillingDataRequest$outboundSchema; - /** @deprecated use `SubmitBillingDataRequest$Outbound` instead. */ - export type Outbound = SubmitBillingDataRequest$Outbound; -} - -export function submitBillingDataRequestToJSON( - submitBillingDataRequest: SubmitBillingDataRequest, -): string { - return JSON.stringify( - SubmitBillingDataRequest$outboundSchema.parse(submitBillingDataRequest), - ); -} - -export function submitBillingDataRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SubmitBillingDataRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SubmitBillingDataRequest' from JSON`, - ); -} diff --git a/src/models/operations/submitinvoice.ts b/src/models/operations/submitinvoice.ts deleted file mode 100644 index 42ea213d..00000000 --- a/src/models/operations/submitinvoice.ts +++ /dev/null @@ -1,593 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Subscription period for this billing cycle. - */ -export type SubmitInvoicePeriod = { - start: Date; - end: Date; -}; - -export type SubmitInvoiceItems = { - /** - * Partner's resource ID. - */ - resourceId?: string | undefined; - /** - * Partner's billing plan ID. - */ - billingPlanId: string; - /** - * Start and end are only needed if different from the period's start/end. - */ - start?: Date | undefined; - /** - * Start and end are only needed if different from the period's start/end. - */ - end?: Date | undefined; - name: string; - details?: string | undefined; - price: string; - quantity: number; - units: string; - total: string; -}; - -export type SubmitInvoiceDiscounts = { - /** - * Partner's resource ID. - */ - resourceId?: string | undefined; - /** - * Partner's billing plan ID. - */ - billingPlanId: string; - /** - * Start and end are only needed if different from the period's start/end. - */ - start?: Date | undefined; - /** - * Start and end are only needed if different from the period's start/end. - */ - end?: Date | undefined; - name: string; - details?: string | undefined; - amount: string; -}; - -export const Result = { - Paid: "paid", - Notpaid: "notpaid", -} as const; -export type Result = ClosedEnum; - -/** - * Test mode - */ -export type Test = { - validate?: boolean | undefined; - result?: Result | undefined; -}; - -export type SubmitInvoiceRequestBody = { - externalId?: string | undefined; - /** - * Invoice date. Must be within the period's start and end. - */ - invoiceDate: Date; - /** - * Additional memo for the invoice. - */ - memo?: string | undefined; - /** - * Subscription period for this billing cycle. - */ - period: SubmitInvoicePeriod; - items: Array; - discounts?: Array | undefined; - /** - * Test mode - */ - test?: Test | undefined; -}; - -export type SubmitInvoiceRequest = { - integrationConfigurationId: string; - requestBody?: SubmitInvoiceRequestBody | undefined; -}; - -export type SubmitInvoiceResponseBody = { - invoiceId?: string | undefined; - test?: boolean | undefined; - validationErrors?: Array | undefined; -}; - -/** @internal */ -export const SubmitInvoicePeriod$inboundSchema: z.ZodType< - SubmitInvoicePeriod, - z.ZodTypeDef, - unknown -> = z.object({ - start: z.string().datetime({ offset: true }).transform(v => new Date(v)), - end: z.string().datetime({ offset: true }).transform(v => new Date(v)), -}); - -/** @internal */ -export type SubmitInvoicePeriod$Outbound = { - start: string; - end: string; -}; - -/** @internal */ -export const SubmitInvoicePeriod$outboundSchema: z.ZodType< - SubmitInvoicePeriod$Outbound, - z.ZodTypeDef, - SubmitInvoicePeriod -> = z.object({ - start: z.date().transform(v => v.toISOString()), - end: z.date().transform(v => v.toISOString()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SubmitInvoicePeriod$ { - /** @deprecated use `SubmitInvoicePeriod$inboundSchema` instead. */ - export const inboundSchema = SubmitInvoicePeriod$inboundSchema; - /** @deprecated use `SubmitInvoicePeriod$outboundSchema` instead. */ - export const outboundSchema = SubmitInvoicePeriod$outboundSchema; - /** @deprecated use `SubmitInvoicePeriod$Outbound` instead. */ - export type Outbound = SubmitInvoicePeriod$Outbound; -} - -export function submitInvoicePeriodToJSON( - submitInvoicePeriod: SubmitInvoicePeriod, -): string { - return JSON.stringify( - SubmitInvoicePeriod$outboundSchema.parse(submitInvoicePeriod), - ); -} - -export function submitInvoicePeriodFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SubmitInvoicePeriod$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SubmitInvoicePeriod' from JSON`, - ); -} - -/** @internal */ -export const SubmitInvoiceItems$inboundSchema: z.ZodType< - SubmitInvoiceItems, - z.ZodTypeDef, - unknown -> = z.object({ - resourceId: z.string().optional(), - billingPlanId: z.string(), - start: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - end: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - name: z.string(), - details: z.string().optional(), - price: z.string(), - quantity: z.number(), - units: z.string(), - total: z.string(), -}); - -/** @internal */ -export type SubmitInvoiceItems$Outbound = { - resourceId?: string | undefined; - billingPlanId: string; - start?: string | undefined; - end?: string | undefined; - name: string; - details?: string | undefined; - price: string; - quantity: number; - units: string; - total: string; -}; - -/** @internal */ -export const SubmitInvoiceItems$outboundSchema: z.ZodType< - SubmitInvoiceItems$Outbound, - z.ZodTypeDef, - SubmitInvoiceItems -> = z.object({ - resourceId: z.string().optional(), - billingPlanId: z.string(), - start: z.date().transform(v => v.toISOString()).optional(), - end: z.date().transform(v => v.toISOString()).optional(), - name: z.string(), - details: z.string().optional(), - price: z.string(), - quantity: z.number(), - units: z.string(), - total: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SubmitInvoiceItems$ { - /** @deprecated use `SubmitInvoiceItems$inboundSchema` instead. */ - export const inboundSchema = SubmitInvoiceItems$inboundSchema; - /** @deprecated use `SubmitInvoiceItems$outboundSchema` instead. */ - export const outboundSchema = SubmitInvoiceItems$outboundSchema; - /** @deprecated use `SubmitInvoiceItems$Outbound` instead. */ - export type Outbound = SubmitInvoiceItems$Outbound; -} - -export function submitInvoiceItemsToJSON( - submitInvoiceItems: SubmitInvoiceItems, -): string { - return JSON.stringify( - SubmitInvoiceItems$outboundSchema.parse(submitInvoiceItems), - ); -} - -export function submitInvoiceItemsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SubmitInvoiceItems$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SubmitInvoiceItems' from JSON`, - ); -} - -/** @internal */ -export const SubmitInvoiceDiscounts$inboundSchema: z.ZodType< - SubmitInvoiceDiscounts, - z.ZodTypeDef, - unknown -> = z.object({ - resourceId: z.string().optional(), - billingPlanId: z.string(), - start: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - end: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - name: z.string(), - details: z.string().optional(), - amount: z.string(), -}); - -/** @internal */ -export type SubmitInvoiceDiscounts$Outbound = { - resourceId?: string | undefined; - billingPlanId: string; - start?: string | undefined; - end?: string | undefined; - name: string; - details?: string | undefined; - amount: string; -}; - -/** @internal */ -export const SubmitInvoiceDiscounts$outboundSchema: z.ZodType< - SubmitInvoiceDiscounts$Outbound, - z.ZodTypeDef, - SubmitInvoiceDiscounts -> = z.object({ - resourceId: z.string().optional(), - billingPlanId: z.string(), - start: z.date().transform(v => v.toISOString()).optional(), - end: z.date().transform(v => v.toISOString()).optional(), - name: z.string(), - details: z.string().optional(), - amount: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SubmitInvoiceDiscounts$ { - /** @deprecated use `SubmitInvoiceDiscounts$inboundSchema` instead. */ - export const inboundSchema = SubmitInvoiceDiscounts$inboundSchema; - /** @deprecated use `SubmitInvoiceDiscounts$outboundSchema` instead. */ - export const outboundSchema = SubmitInvoiceDiscounts$outboundSchema; - /** @deprecated use `SubmitInvoiceDiscounts$Outbound` instead. */ - export type Outbound = SubmitInvoiceDiscounts$Outbound; -} - -export function submitInvoiceDiscountsToJSON( - submitInvoiceDiscounts: SubmitInvoiceDiscounts, -): string { - return JSON.stringify( - SubmitInvoiceDiscounts$outboundSchema.parse(submitInvoiceDiscounts), - ); -} - -export function submitInvoiceDiscountsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SubmitInvoiceDiscounts$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SubmitInvoiceDiscounts' from JSON`, - ); -} - -/** @internal */ -export const Result$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Result); - -/** @internal */ -export const Result$outboundSchema: z.ZodNativeEnum = - Result$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Result$ { - /** @deprecated use `Result$inboundSchema` instead. */ - export const inboundSchema = Result$inboundSchema; - /** @deprecated use `Result$outboundSchema` instead. */ - export const outboundSchema = Result$outboundSchema; -} - -/** @internal */ -export const Test$inboundSchema: z.ZodType = z - .object({ - validate: z.boolean().optional(), - result: Result$inboundSchema.optional(), - }); - -/** @internal */ -export type Test$Outbound = { - validate?: boolean | undefined; - result?: string | undefined; -}; - -/** @internal */ -export const Test$outboundSchema: z.ZodType = - z.object({ - validate: z.boolean().optional(), - result: Result$outboundSchema.optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Test$ { - /** @deprecated use `Test$inboundSchema` instead. */ - export const inboundSchema = Test$inboundSchema; - /** @deprecated use `Test$outboundSchema` instead. */ - export const outboundSchema = Test$outboundSchema; - /** @deprecated use `Test$Outbound` instead. */ - export type Outbound = Test$Outbound; -} - -export function testToJSON(test: Test): string { - return JSON.stringify(Test$outboundSchema.parse(test)); -} - -export function testFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Test$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Test' from JSON`, - ); -} - -/** @internal */ -export const SubmitInvoiceRequestBody$inboundSchema: z.ZodType< - SubmitInvoiceRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - externalId: z.string().optional(), - invoiceDate: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ), - memo: z.string().optional(), - period: z.lazy(() => SubmitInvoicePeriod$inboundSchema), - items: z.array(z.lazy(() => SubmitInvoiceItems$inboundSchema)), - discounts: z.array(z.lazy(() => SubmitInvoiceDiscounts$inboundSchema)) - .optional(), - test: z.lazy(() => Test$inboundSchema).optional(), -}); - -/** @internal */ -export type SubmitInvoiceRequestBody$Outbound = { - externalId?: string | undefined; - invoiceDate: string; - memo?: string | undefined; - period: SubmitInvoicePeriod$Outbound; - items: Array; - discounts?: Array | undefined; - test?: Test$Outbound | undefined; -}; - -/** @internal */ -export const SubmitInvoiceRequestBody$outboundSchema: z.ZodType< - SubmitInvoiceRequestBody$Outbound, - z.ZodTypeDef, - SubmitInvoiceRequestBody -> = z.object({ - externalId: z.string().optional(), - invoiceDate: z.date().transform(v => v.toISOString()), - memo: z.string().optional(), - period: z.lazy(() => SubmitInvoicePeriod$outboundSchema), - items: z.array(z.lazy(() => SubmitInvoiceItems$outboundSchema)), - discounts: z.array(z.lazy(() => SubmitInvoiceDiscounts$outboundSchema)) - .optional(), - test: z.lazy(() => Test$outboundSchema).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SubmitInvoiceRequestBody$ { - /** @deprecated use `SubmitInvoiceRequestBody$inboundSchema` instead. */ - export const inboundSchema = SubmitInvoiceRequestBody$inboundSchema; - /** @deprecated use `SubmitInvoiceRequestBody$outboundSchema` instead. */ - export const outboundSchema = SubmitInvoiceRequestBody$outboundSchema; - /** @deprecated use `SubmitInvoiceRequestBody$Outbound` instead. */ - export type Outbound = SubmitInvoiceRequestBody$Outbound; -} - -export function submitInvoiceRequestBodyToJSON( - submitInvoiceRequestBody: SubmitInvoiceRequestBody, -): string { - return JSON.stringify( - SubmitInvoiceRequestBody$outboundSchema.parse(submitInvoiceRequestBody), - ); -} - -export function submitInvoiceRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SubmitInvoiceRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SubmitInvoiceRequestBody' from JSON`, - ); -} - -/** @internal */ -export const SubmitInvoiceRequest$inboundSchema: z.ZodType< - SubmitInvoiceRequest, - z.ZodTypeDef, - unknown -> = z.object({ - integrationConfigurationId: z.string(), - RequestBody: z.lazy(() => SubmitInvoiceRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type SubmitInvoiceRequest$Outbound = { - integrationConfigurationId: string; - RequestBody?: SubmitInvoiceRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const SubmitInvoiceRequest$outboundSchema: z.ZodType< - SubmitInvoiceRequest$Outbound, - z.ZodTypeDef, - SubmitInvoiceRequest -> = z.object({ - integrationConfigurationId: z.string(), - requestBody: z.lazy(() => SubmitInvoiceRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SubmitInvoiceRequest$ { - /** @deprecated use `SubmitInvoiceRequest$inboundSchema` instead. */ - export const inboundSchema = SubmitInvoiceRequest$inboundSchema; - /** @deprecated use `SubmitInvoiceRequest$outboundSchema` instead. */ - export const outboundSchema = SubmitInvoiceRequest$outboundSchema; - /** @deprecated use `SubmitInvoiceRequest$Outbound` instead. */ - export type Outbound = SubmitInvoiceRequest$Outbound; -} - -export function submitInvoiceRequestToJSON( - submitInvoiceRequest: SubmitInvoiceRequest, -): string { - return JSON.stringify( - SubmitInvoiceRequest$outboundSchema.parse(submitInvoiceRequest), - ); -} - -export function submitInvoiceRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SubmitInvoiceRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SubmitInvoiceRequest' from JSON`, - ); -} - -/** @internal */ -export const SubmitInvoiceResponseBody$inboundSchema: z.ZodType< - SubmitInvoiceResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - invoiceId: z.string().optional(), - test: z.boolean().optional(), - validationErrors: z.array(z.string()).optional(), -}); - -/** @internal */ -export type SubmitInvoiceResponseBody$Outbound = { - invoiceId?: string | undefined; - test?: boolean | undefined; - validationErrors?: Array | undefined; -}; - -/** @internal */ -export const SubmitInvoiceResponseBody$outboundSchema: z.ZodType< - SubmitInvoiceResponseBody$Outbound, - z.ZodTypeDef, - SubmitInvoiceResponseBody -> = z.object({ - invoiceId: z.string().optional(), - test: z.boolean().optional(), - validationErrors: z.array(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SubmitInvoiceResponseBody$ { - /** @deprecated use `SubmitInvoiceResponseBody$inboundSchema` instead. */ - export const inboundSchema = SubmitInvoiceResponseBody$inboundSchema; - /** @deprecated use `SubmitInvoiceResponseBody$outboundSchema` instead. */ - export const outboundSchema = SubmitInvoiceResponseBody$outboundSchema; - /** @deprecated use `SubmitInvoiceResponseBody$Outbound` instead. */ - export type Outbound = SubmitInvoiceResponseBody$Outbound; -} - -export function submitInvoiceResponseBodyToJSON( - submitInvoiceResponseBody: SubmitInvoiceResponseBody, -): string { - return JSON.stringify( - SubmitInvoiceResponseBody$outboundSchema.parse(submitInvoiceResponseBody), - ); -} - -export function submitInvoiceResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SubmitInvoiceResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SubmitInvoiceResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/updateaccessgroup.ts b/src/models/operations/updateaccessgroup.ts deleted file mode 100644 index 44bd699c..00000000 --- a/src/models/operations/updateaccessgroup.ts +++ /dev/null @@ -1,412 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The project role that will be added to this Access Group. \"null\" will remove this project level role. - */ -export const Role = { - Admin: "ADMIN", - ProjectViewer: "PROJECT_VIEWER", - ProjectDeveloper: "PROJECT_DEVELOPER", -} as const; -/** - * The project role that will be added to this Access Group. \"null\" will remove this project level role. - */ -export type Role = ClosedEnum; - -export type Projects = { - /** - * The ID of the project. - */ - projectId: string; - /** - * The project role that will be added to this Access Group. \"null\" will remove this project level role. - */ - role: Role | null; -}; - -export type UpdateAccessGroupRequestBody = { - /** - * The name of the access group - */ - name?: string | undefined; - projects?: Array | undefined; - /** - * List of members to add to the access group. - */ - membersToAdd?: Array | undefined; - /** - * List of members to remove from the access group. - */ - membersToRemove?: Array | undefined; -}; - -export type UpdateAccessGroupRequest = { - idOrName: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: UpdateAccessGroupRequestBody | undefined; -}; - -export const UpdateAccessGroupEntitlements = { - V0: "v0", -} as const; -export type UpdateAccessGroupEntitlements = ClosedEnum< - typeof UpdateAccessGroupEntitlements ->; - -export type UpdateAccessGroupResponseBody = { - entitlements?: Array | undefined; - /** - * The name of this access group. - */ - name: string; - /** - * Timestamp in milliseconds when the access group was created. - */ - createdAt: string; - /** - * ID of the team that this access group belongs to. - */ - teamId: string; - /** - * Timestamp in milliseconds when the access group was last updated. - */ - updatedAt: string; - /** - * ID of the access group. - */ - accessGroupId: string; - /** - * Number of members in the access group. - */ - membersCount: number; - /** - * Number of projects in the access group. - */ - projectsCount: number; -}; - -/** @internal */ -export const Role$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Role, -); - -/** @internal */ -export const Role$outboundSchema: z.ZodNativeEnum = - Role$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Role$ { - /** @deprecated use `Role$inboundSchema` instead. */ - export const inboundSchema = Role$inboundSchema; - /** @deprecated use `Role$outboundSchema` instead. */ - export const outboundSchema = Role$outboundSchema; -} - -/** @internal */ -export const Projects$inboundSchema: z.ZodType< - Projects, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string(), - role: z.nullable(Role$inboundSchema), -}); - -/** @internal */ -export type Projects$Outbound = { - projectId: string; - role: string | null; -}; - -/** @internal */ -export const Projects$outboundSchema: z.ZodType< - Projects$Outbound, - z.ZodTypeDef, - Projects -> = z.object({ - projectId: z.string(), - role: z.nullable(Role$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Projects$ { - /** @deprecated use `Projects$inboundSchema` instead. */ - export const inboundSchema = Projects$inboundSchema; - /** @deprecated use `Projects$outboundSchema` instead. */ - export const outboundSchema = Projects$outboundSchema; - /** @deprecated use `Projects$Outbound` instead. */ - export type Outbound = Projects$Outbound; -} - -export function projectsToJSON(projects: Projects): string { - return JSON.stringify(Projects$outboundSchema.parse(projects)); -} - -export function projectsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Projects$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Projects' from JSON`, - ); -} - -/** @internal */ -export const UpdateAccessGroupRequestBody$inboundSchema: z.ZodType< - UpdateAccessGroupRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string().optional(), - projects: z.array(z.lazy(() => Projects$inboundSchema)).optional(), - membersToAdd: z.array(z.string()).optional(), - membersToRemove: z.array(z.string()).optional(), -}); - -/** @internal */ -export type UpdateAccessGroupRequestBody$Outbound = { - name?: string | undefined; - projects?: Array | undefined; - membersToAdd?: Array | undefined; - membersToRemove?: Array | undefined; -}; - -/** @internal */ -export const UpdateAccessGroupRequestBody$outboundSchema: z.ZodType< - UpdateAccessGroupRequestBody$Outbound, - z.ZodTypeDef, - UpdateAccessGroupRequestBody -> = z.object({ - name: z.string().optional(), - projects: z.array(z.lazy(() => Projects$outboundSchema)).optional(), - membersToAdd: z.array(z.string()).optional(), - membersToRemove: z.array(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateAccessGroupRequestBody$ { - /** @deprecated use `UpdateAccessGroupRequestBody$inboundSchema` instead. */ - export const inboundSchema = UpdateAccessGroupRequestBody$inboundSchema; - /** @deprecated use `UpdateAccessGroupRequestBody$outboundSchema` instead. */ - export const outboundSchema = UpdateAccessGroupRequestBody$outboundSchema; - /** @deprecated use `UpdateAccessGroupRequestBody$Outbound` instead. */ - export type Outbound = UpdateAccessGroupRequestBody$Outbound; -} - -export function updateAccessGroupRequestBodyToJSON( - updateAccessGroupRequestBody: UpdateAccessGroupRequestBody, -): string { - return JSON.stringify( - UpdateAccessGroupRequestBody$outboundSchema.parse( - updateAccessGroupRequestBody, - ), - ); -} - -export function updateAccessGroupRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateAccessGroupRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateAccessGroupRequestBody' from JSON`, - ); -} - -/** @internal */ -export const UpdateAccessGroupRequest$inboundSchema: z.ZodType< - UpdateAccessGroupRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => UpdateAccessGroupRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type UpdateAccessGroupRequest$Outbound = { - idOrName: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: UpdateAccessGroupRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const UpdateAccessGroupRequest$outboundSchema: z.ZodType< - UpdateAccessGroupRequest$Outbound, - z.ZodTypeDef, - UpdateAccessGroupRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateAccessGroupRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateAccessGroupRequest$ { - /** @deprecated use `UpdateAccessGroupRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateAccessGroupRequest$inboundSchema; - /** @deprecated use `UpdateAccessGroupRequest$outboundSchema` instead. */ - export const outboundSchema = UpdateAccessGroupRequest$outboundSchema; - /** @deprecated use `UpdateAccessGroupRequest$Outbound` instead. */ - export type Outbound = UpdateAccessGroupRequest$Outbound; -} - -export function updateAccessGroupRequestToJSON( - updateAccessGroupRequest: UpdateAccessGroupRequest, -): string { - return JSON.stringify( - UpdateAccessGroupRequest$outboundSchema.parse(updateAccessGroupRequest), - ); -} - -export function updateAccessGroupRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateAccessGroupRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateAccessGroupRequest' from JSON`, - ); -} - -/** @internal */ -export const UpdateAccessGroupEntitlements$inboundSchema: z.ZodNativeEnum< - typeof UpdateAccessGroupEntitlements -> = z.nativeEnum(UpdateAccessGroupEntitlements); - -/** @internal */ -export const UpdateAccessGroupEntitlements$outboundSchema: z.ZodNativeEnum< - typeof UpdateAccessGroupEntitlements -> = UpdateAccessGroupEntitlements$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateAccessGroupEntitlements$ { - /** @deprecated use `UpdateAccessGroupEntitlements$inboundSchema` instead. */ - export const inboundSchema = UpdateAccessGroupEntitlements$inboundSchema; - /** @deprecated use `UpdateAccessGroupEntitlements$outboundSchema` instead. */ - export const outboundSchema = UpdateAccessGroupEntitlements$outboundSchema; -} - -/** @internal */ -export const UpdateAccessGroupResponseBody$inboundSchema: z.ZodType< - UpdateAccessGroupResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - entitlements: z.array(UpdateAccessGroupEntitlements$inboundSchema).optional(), - name: z.string(), - createdAt: z.string(), - teamId: z.string(), - updatedAt: z.string(), - accessGroupId: z.string(), - membersCount: z.number(), - projectsCount: z.number(), -}); - -/** @internal */ -export type UpdateAccessGroupResponseBody$Outbound = { - entitlements?: Array | undefined; - name: string; - createdAt: string; - teamId: string; - updatedAt: string; - accessGroupId: string; - membersCount: number; - projectsCount: number; -}; - -/** @internal */ -export const UpdateAccessGroupResponseBody$outboundSchema: z.ZodType< - UpdateAccessGroupResponseBody$Outbound, - z.ZodTypeDef, - UpdateAccessGroupResponseBody -> = z.object({ - entitlements: z.array(UpdateAccessGroupEntitlements$outboundSchema) - .optional(), - name: z.string(), - createdAt: z.string(), - teamId: z.string(), - updatedAt: z.string(), - accessGroupId: z.string(), - membersCount: z.number(), - projectsCount: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateAccessGroupResponseBody$ { - /** @deprecated use `UpdateAccessGroupResponseBody$inboundSchema` instead. */ - export const inboundSchema = UpdateAccessGroupResponseBody$inboundSchema; - /** @deprecated use `UpdateAccessGroupResponseBody$outboundSchema` instead. */ - export const outboundSchema = UpdateAccessGroupResponseBody$outboundSchema; - /** @deprecated use `UpdateAccessGroupResponseBody$Outbound` instead. */ - export type Outbound = UpdateAccessGroupResponseBody$Outbound; -} - -export function updateAccessGroupResponseBodyToJSON( - updateAccessGroupResponseBody: UpdateAccessGroupResponseBody, -): string { - return JSON.stringify( - UpdateAccessGroupResponseBody$outboundSchema.parse( - updateAccessGroupResponseBody, - ), - ); -} - -export function updateAccessGroupResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateAccessGroupResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateAccessGroupResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/updateaccessgroupproject.ts b/src/models/operations/updateaccessgroupproject.ts deleted file mode 100644 index 0220476c..00000000 --- a/src/models/operations/updateaccessgroupproject.ts +++ /dev/null @@ -1,319 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The project role that will be added to this Access Group. - */ -export const UpdateAccessGroupProjectRole = { - Admin: "ADMIN", - ProjectViewer: "PROJECT_VIEWER", - ProjectDeveloper: "PROJECT_DEVELOPER", -} as const; -/** - * The project role that will be added to this Access Group. - */ -export type UpdateAccessGroupProjectRole = ClosedEnum< - typeof UpdateAccessGroupProjectRole ->; - -export type UpdateAccessGroupProjectRequestBody = { - /** - * The project role that will be added to this Access Group. - */ - role: UpdateAccessGroupProjectRole; -}; - -export type UpdateAccessGroupProjectRequest = { - accessGroupIdOrName: string; - projectId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: UpdateAccessGroupProjectRequestBody | undefined; -}; - -export const UpdateAccessGroupProjectAccessGroupsRole = { - Admin: "ADMIN", - ProjectDeveloper: "PROJECT_DEVELOPER", - ProjectViewer: "PROJECT_VIEWER", -} as const; -export type UpdateAccessGroupProjectAccessGroupsRole = ClosedEnum< - typeof UpdateAccessGroupProjectAccessGroupsRole ->; - -export type UpdateAccessGroupProjectResponseBody = { - teamId: string; - accessGroupId: string; - projectId: string; - role: UpdateAccessGroupProjectAccessGroupsRole; - createdAt: string; - updatedAt: string; -}; - -/** @internal */ -export const UpdateAccessGroupProjectRole$inboundSchema: z.ZodNativeEnum< - typeof UpdateAccessGroupProjectRole -> = z.nativeEnum(UpdateAccessGroupProjectRole); - -/** @internal */ -export const UpdateAccessGroupProjectRole$outboundSchema: z.ZodNativeEnum< - typeof UpdateAccessGroupProjectRole -> = UpdateAccessGroupProjectRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateAccessGroupProjectRole$ { - /** @deprecated use `UpdateAccessGroupProjectRole$inboundSchema` instead. */ - export const inboundSchema = UpdateAccessGroupProjectRole$inboundSchema; - /** @deprecated use `UpdateAccessGroupProjectRole$outboundSchema` instead. */ - export const outboundSchema = UpdateAccessGroupProjectRole$outboundSchema; -} - -/** @internal */ -export const UpdateAccessGroupProjectRequestBody$inboundSchema: z.ZodType< - UpdateAccessGroupProjectRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - role: UpdateAccessGroupProjectRole$inboundSchema, -}); - -/** @internal */ -export type UpdateAccessGroupProjectRequestBody$Outbound = { - role: string; -}; - -/** @internal */ -export const UpdateAccessGroupProjectRequestBody$outboundSchema: z.ZodType< - UpdateAccessGroupProjectRequestBody$Outbound, - z.ZodTypeDef, - UpdateAccessGroupProjectRequestBody -> = z.object({ - role: UpdateAccessGroupProjectRole$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateAccessGroupProjectRequestBody$ { - /** @deprecated use `UpdateAccessGroupProjectRequestBody$inboundSchema` instead. */ - export const inboundSchema = - UpdateAccessGroupProjectRequestBody$inboundSchema; - /** @deprecated use `UpdateAccessGroupProjectRequestBody$outboundSchema` instead. */ - export const outboundSchema = - UpdateAccessGroupProjectRequestBody$outboundSchema; - /** @deprecated use `UpdateAccessGroupProjectRequestBody$Outbound` instead. */ - export type Outbound = UpdateAccessGroupProjectRequestBody$Outbound; -} - -export function updateAccessGroupProjectRequestBodyToJSON( - updateAccessGroupProjectRequestBody: UpdateAccessGroupProjectRequestBody, -): string { - return JSON.stringify( - UpdateAccessGroupProjectRequestBody$outboundSchema.parse( - updateAccessGroupProjectRequestBody, - ), - ); -} - -export function updateAccessGroupProjectRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateAccessGroupProjectRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateAccessGroupProjectRequestBody' from JSON`, - ); -} - -/** @internal */ -export const UpdateAccessGroupProjectRequest$inboundSchema: z.ZodType< - UpdateAccessGroupProjectRequest, - z.ZodTypeDef, - unknown -> = z.object({ - accessGroupIdOrName: z.string(), - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => UpdateAccessGroupProjectRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type UpdateAccessGroupProjectRequest$Outbound = { - accessGroupIdOrName: string; - projectId: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: UpdateAccessGroupProjectRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const UpdateAccessGroupProjectRequest$outboundSchema: z.ZodType< - UpdateAccessGroupProjectRequest$Outbound, - z.ZodTypeDef, - UpdateAccessGroupProjectRequest -> = z.object({ - accessGroupIdOrName: z.string(), - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateAccessGroupProjectRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateAccessGroupProjectRequest$ { - /** @deprecated use `UpdateAccessGroupProjectRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateAccessGroupProjectRequest$inboundSchema; - /** @deprecated use `UpdateAccessGroupProjectRequest$outboundSchema` instead. */ - export const outboundSchema = UpdateAccessGroupProjectRequest$outboundSchema; - /** @deprecated use `UpdateAccessGroupProjectRequest$Outbound` instead. */ - export type Outbound = UpdateAccessGroupProjectRequest$Outbound; -} - -export function updateAccessGroupProjectRequestToJSON( - updateAccessGroupProjectRequest: UpdateAccessGroupProjectRequest, -): string { - return JSON.stringify( - UpdateAccessGroupProjectRequest$outboundSchema.parse( - updateAccessGroupProjectRequest, - ), - ); -} - -export function updateAccessGroupProjectRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateAccessGroupProjectRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateAccessGroupProjectRequest' from JSON`, - ); -} - -/** @internal */ -export const UpdateAccessGroupProjectAccessGroupsRole$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateAccessGroupProjectAccessGroupsRole); - -/** @internal */ -export const UpdateAccessGroupProjectAccessGroupsRole$outboundSchema: - z.ZodNativeEnum = - UpdateAccessGroupProjectAccessGroupsRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateAccessGroupProjectAccessGroupsRole$ { - /** @deprecated use `UpdateAccessGroupProjectAccessGroupsRole$inboundSchema` instead. */ - export const inboundSchema = - UpdateAccessGroupProjectAccessGroupsRole$inboundSchema; - /** @deprecated use `UpdateAccessGroupProjectAccessGroupsRole$outboundSchema` instead. */ - export const outboundSchema = - UpdateAccessGroupProjectAccessGroupsRole$outboundSchema; -} - -/** @internal */ -export const UpdateAccessGroupProjectResponseBody$inboundSchema: z.ZodType< - UpdateAccessGroupProjectResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string(), - accessGroupId: z.string(), - projectId: z.string(), - role: UpdateAccessGroupProjectAccessGroupsRole$inboundSchema, - createdAt: z.string(), - updatedAt: z.string(), -}); - -/** @internal */ -export type UpdateAccessGroupProjectResponseBody$Outbound = { - teamId: string; - accessGroupId: string; - projectId: string; - role: string; - createdAt: string; - updatedAt: string; -}; - -/** @internal */ -export const UpdateAccessGroupProjectResponseBody$outboundSchema: z.ZodType< - UpdateAccessGroupProjectResponseBody$Outbound, - z.ZodTypeDef, - UpdateAccessGroupProjectResponseBody -> = z.object({ - teamId: z.string(), - accessGroupId: z.string(), - projectId: z.string(), - role: UpdateAccessGroupProjectAccessGroupsRole$outboundSchema, - createdAt: z.string(), - updatedAt: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateAccessGroupProjectResponseBody$ { - /** @deprecated use `UpdateAccessGroupProjectResponseBody$inboundSchema` instead. */ - export const inboundSchema = - UpdateAccessGroupProjectResponseBody$inboundSchema; - /** @deprecated use `UpdateAccessGroupProjectResponseBody$outboundSchema` instead. */ - export const outboundSchema = - UpdateAccessGroupProjectResponseBody$outboundSchema; - /** @deprecated use `UpdateAccessGroupProjectResponseBody$Outbound` instead. */ - export type Outbound = UpdateAccessGroupProjectResponseBody$Outbound; -} - -export function updateAccessGroupProjectResponseBodyToJSON( - updateAccessGroupProjectResponseBody: UpdateAccessGroupProjectResponseBody, -): string { - return JSON.stringify( - UpdateAccessGroupProjectResponseBody$outboundSchema.parse( - updateAccessGroupProjectResponseBody, - ), - ); -} - -export function updateAccessGroupProjectResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateAccessGroupProjectResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateAccessGroupProjectResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/updateattackchallengemode.ts b/src/models/operations/updateattackchallengemode.ts deleted file mode 100644 index a9839f1d..00000000 --- a/src/models/operations/updateattackchallengemode.ts +++ /dev/null @@ -1,231 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type UpdateAttackChallengeModeRequestBody = { - projectId: string; - attackModeEnabled: boolean; - attackModeActiveUntil?: number | null | undefined; -}; - -export type UpdateAttackChallengeModeRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: UpdateAttackChallengeModeRequestBody | undefined; -}; - -export type UpdateAttackChallengeModeResponseBody = { - attackModeEnabled: boolean; - attackModeUpdatedAt: number; -}; - -/** @internal */ -export const UpdateAttackChallengeModeRequestBody$inboundSchema: z.ZodType< - UpdateAttackChallengeModeRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string(), - attackModeEnabled: z.boolean(), - attackModeActiveUntil: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type UpdateAttackChallengeModeRequestBody$Outbound = { - projectId: string; - attackModeEnabled: boolean; - attackModeActiveUntil?: number | null | undefined; -}; - -/** @internal */ -export const UpdateAttackChallengeModeRequestBody$outboundSchema: z.ZodType< - UpdateAttackChallengeModeRequestBody$Outbound, - z.ZodTypeDef, - UpdateAttackChallengeModeRequestBody -> = z.object({ - projectId: z.string(), - attackModeEnabled: z.boolean(), - attackModeActiveUntil: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateAttackChallengeModeRequestBody$ { - /** @deprecated use `UpdateAttackChallengeModeRequestBody$inboundSchema` instead. */ - export const inboundSchema = - UpdateAttackChallengeModeRequestBody$inboundSchema; - /** @deprecated use `UpdateAttackChallengeModeRequestBody$outboundSchema` instead. */ - export const outboundSchema = - UpdateAttackChallengeModeRequestBody$outboundSchema; - /** @deprecated use `UpdateAttackChallengeModeRequestBody$Outbound` instead. */ - export type Outbound = UpdateAttackChallengeModeRequestBody$Outbound; -} - -export function updateAttackChallengeModeRequestBodyToJSON( - updateAttackChallengeModeRequestBody: UpdateAttackChallengeModeRequestBody, -): string { - return JSON.stringify( - UpdateAttackChallengeModeRequestBody$outboundSchema.parse( - updateAttackChallengeModeRequestBody, - ), - ); -} - -export function updateAttackChallengeModeRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateAttackChallengeModeRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateAttackChallengeModeRequestBody' from JSON`, - ); -} - -/** @internal */ -export const UpdateAttackChallengeModeRequest$inboundSchema: z.ZodType< - UpdateAttackChallengeModeRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => UpdateAttackChallengeModeRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type UpdateAttackChallengeModeRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: UpdateAttackChallengeModeRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const UpdateAttackChallengeModeRequest$outboundSchema: z.ZodType< - UpdateAttackChallengeModeRequest$Outbound, - z.ZodTypeDef, - UpdateAttackChallengeModeRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateAttackChallengeModeRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateAttackChallengeModeRequest$ { - /** @deprecated use `UpdateAttackChallengeModeRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateAttackChallengeModeRequest$inboundSchema; - /** @deprecated use `UpdateAttackChallengeModeRequest$outboundSchema` instead. */ - export const outboundSchema = UpdateAttackChallengeModeRequest$outboundSchema; - /** @deprecated use `UpdateAttackChallengeModeRequest$Outbound` instead. */ - export type Outbound = UpdateAttackChallengeModeRequest$Outbound; -} - -export function updateAttackChallengeModeRequestToJSON( - updateAttackChallengeModeRequest: UpdateAttackChallengeModeRequest, -): string { - return JSON.stringify( - UpdateAttackChallengeModeRequest$outboundSchema.parse( - updateAttackChallengeModeRequest, - ), - ); -} - -export function updateAttackChallengeModeRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateAttackChallengeModeRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateAttackChallengeModeRequest' from JSON`, - ); -} - -/** @internal */ -export const UpdateAttackChallengeModeResponseBody$inboundSchema: z.ZodType< - UpdateAttackChallengeModeResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - attackModeEnabled: z.boolean(), - attackModeUpdatedAt: z.number(), -}); - -/** @internal */ -export type UpdateAttackChallengeModeResponseBody$Outbound = { - attackModeEnabled: boolean; - attackModeUpdatedAt: number; -}; - -/** @internal */ -export const UpdateAttackChallengeModeResponseBody$outboundSchema: z.ZodType< - UpdateAttackChallengeModeResponseBody$Outbound, - z.ZodTypeDef, - UpdateAttackChallengeModeResponseBody -> = z.object({ - attackModeEnabled: z.boolean(), - attackModeUpdatedAt: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateAttackChallengeModeResponseBody$ { - /** @deprecated use `UpdateAttackChallengeModeResponseBody$inboundSchema` instead. */ - export const inboundSchema = - UpdateAttackChallengeModeResponseBody$inboundSchema; - /** @deprecated use `UpdateAttackChallengeModeResponseBody$outboundSchema` instead. */ - export const outboundSchema = - UpdateAttackChallengeModeResponseBody$outboundSchema; - /** @deprecated use `UpdateAttackChallengeModeResponseBody$Outbound` instead. */ - export type Outbound = UpdateAttackChallengeModeResponseBody$Outbound; -} - -export function updateAttackChallengeModeResponseBodyToJSON( - updateAttackChallengeModeResponseBody: UpdateAttackChallengeModeResponseBody, -): string { - return JSON.stringify( - UpdateAttackChallengeModeResponseBody$outboundSchema.parse( - updateAttackChallengeModeResponseBody, - ), - ); -} - -export function updateAttackChallengeModeResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateAttackChallengeModeResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateAttackChallengeModeResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/updatecheck.ts b/src/models/operations/updatecheck.ts deleted file mode 100644 index 28c3a8a3..00000000 --- a/src/models/operations/updatecheck.ts +++ /dev/null @@ -1,1687 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The current status of the check - */ -export const Status = { - Running: "running", - Completed: "completed", -} as const; -/** - * The current status of the check - */ -export type Status = ClosedEnum; - -/** - * The result of the check being run - */ -export const Conclusion = { - Canceled: "canceled", - Failed: "failed", - Neutral: "neutral", - Succeeded: "succeeded", - Skipped: "skipped", -} as const; -/** - * The result of the check being run - */ -export type Conclusion = ClosedEnum; - -export const UpdateCheckSource = { - WebVitals: "web-vitals", -} as const; -export type UpdateCheckSource = ClosedEnum; - -export type Fcp = { - /** - * First Contentful Paint value - */ - value: number | null; - /** - * Previous First Contentful Paint value to display a delta - */ - previousValue?: number | undefined; - source: UpdateCheckSource; -}; - -export const UpdateCheckChecksSource = { - WebVitals: "web-vitals", -} as const; -export type UpdateCheckChecksSource = ClosedEnum< - typeof UpdateCheckChecksSource ->; - -export type Lcp = { - /** - * Largest Contentful Paint value - */ - value: number | null; - /** - * Previous Largest Contentful Paint value to display a delta - */ - previousValue?: number | undefined; - source: UpdateCheckChecksSource; -}; - -export const UpdateCheckChecksRequestSource = { - WebVitals: "web-vitals", -} as const; -export type UpdateCheckChecksRequestSource = ClosedEnum< - typeof UpdateCheckChecksRequestSource ->; - -export type Cls = { - /** - * Cumulative Layout Shift value - */ - value: number | null; - /** - * Previous Cumulative Layout Shift value to display a delta - */ - previousValue?: number | undefined; - source: UpdateCheckChecksRequestSource; -}; - -export const UpdateCheckChecksRequestRequestBodySource = { - WebVitals: "web-vitals", -} as const; -export type UpdateCheckChecksRequestRequestBodySource = ClosedEnum< - typeof UpdateCheckChecksRequestRequestBodySource ->; - -export type Tbt = { - /** - * Total Blocking Time value - */ - value: number | null; - /** - * Previous Total Blocking Time value to display a delta - */ - previousValue?: number | undefined; - source: UpdateCheckChecksRequestRequestBodySource; -}; - -export const UpdateCheckChecksRequestRequestBodyOutputSource = { - WebVitals: "web-vitals", -} as const; -export type UpdateCheckChecksRequestRequestBodyOutputSource = ClosedEnum< - typeof UpdateCheckChecksRequestRequestBodyOutputSource ->; - -export type VirtualExperienceScore = { - /** - * The calculated Virtual Experience Score value, between 0 and 100 - */ - value: number | null; - /** - * A previous Virtual Experience Score value to display a delta, between 0 and 100 - */ - previousValue?: number | undefined; - source: UpdateCheckChecksRequestRequestBodyOutputSource; -}; - -/** - * Metrics about the page - */ -export type Metrics = { - fcp: Fcp; - lcp: Lcp; - cls: Cls; - tbt: Tbt; - virtualExperienceScore?: VirtualExperienceScore | undefined; -}; - -/** - * The results of the check Run - */ -export type Output = { - /** - * Metrics about the page - */ - metrics?: Metrics | undefined; -}; - -export type UpdateCheckRequestBody = { - /** - * The name of the check being created - */ - name?: string | undefined; - /** - * Path of the page that is being checked - */ - path?: string | undefined; - /** - * The current status of the check - */ - status?: Status | undefined; - /** - * The result of the check being run - */ - conclusion?: Conclusion | undefined; - /** - * A URL a user may visit to see more information about the check - */ - detailsUrl?: string | undefined; - /** - * The results of the check Run - */ - output?: Output | undefined; - /** - * An identifier that can be used as an external reference - */ - externalId?: string | undefined; -}; - -export type UpdateCheckRequest = { - /** - * The deployment to update the check for. - */ - deploymentId: string; - /** - * The check being updated - */ - checkId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: UpdateCheckRequestBody | undefined; -}; - -export const UpdateCheckStatus = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type UpdateCheckStatus = ClosedEnum; - -export const UpdateCheckConclusion = { - Canceled: "canceled", - Failed: "failed", - Neutral: "neutral", - Succeeded: "succeeded", - Skipped: "skipped", - Stale: "stale", -} as const; -export type UpdateCheckConclusion = ClosedEnum; - -export const UpdateCheckChecksResponseSource = { - WebVitals: "web-vitals", -} as const; -export type UpdateCheckChecksResponseSource = ClosedEnum< - typeof UpdateCheckChecksResponseSource ->; - -export type UpdateCheckFCP = { - value: number | null; - previousValue?: number | undefined; - source: UpdateCheckChecksResponseSource; -}; - -export const UpdateCheckChecksResponse200Source = { - WebVitals: "web-vitals", -} as const; -export type UpdateCheckChecksResponse200Source = ClosedEnum< - typeof UpdateCheckChecksResponse200Source ->; - -export type UpdateCheckLCP = { - value: number | null; - previousValue?: number | undefined; - source: UpdateCheckChecksResponse200Source; -}; - -export const UpdateCheckChecksResponse200ApplicationJSONSource = { - WebVitals: "web-vitals", -} as const; -export type UpdateCheckChecksResponse200ApplicationJSONSource = ClosedEnum< - typeof UpdateCheckChecksResponse200ApplicationJSONSource ->; - -export type UpdateCheckCLS = { - value: number | null; - previousValue?: number | undefined; - source: UpdateCheckChecksResponse200ApplicationJSONSource; -}; - -export const UpdateCheckChecksResponse200ApplicationJSONResponseBodySource = { - WebVitals: "web-vitals", -} as const; -export type UpdateCheckChecksResponse200ApplicationJSONResponseBodySource = - ClosedEnum< - typeof UpdateCheckChecksResponse200ApplicationJSONResponseBodySource - >; - -export type UpdateCheckTBT = { - value: number | null; - previousValue?: number | undefined; - source: UpdateCheckChecksResponse200ApplicationJSONResponseBodySource; -}; - -export const UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource = - { - WebVitals: "web-vitals", - } as const; -export type UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource = - ClosedEnum< - typeof UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource - >; - -export type UpdateCheckVirtualExperienceScore = { - value: number | null; - previousValue?: number | undefined; - source: UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource; -}; - -export type UpdateCheckMetrics = { - fcp: UpdateCheckFCP; - lcp: UpdateCheckLCP; - cls: UpdateCheckCLS; - tbt: UpdateCheckTBT; - virtualExperienceScore?: UpdateCheckVirtualExperienceScore | undefined; -}; - -export type UpdateCheckOutput = { - metrics?: UpdateCheckMetrics | undefined; -}; - -export type UpdateCheckResponseBody = { - id: string; - name: string; - path?: string | undefined; - status: UpdateCheckStatus; - conclusion?: UpdateCheckConclusion | undefined; - blocking: boolean; - output?: UpdateCheckOutput | undefined; - detailsUrl?: string | undefined; - integrationId: string; - deploymentId: string; - externalId?: string | undefined; - createdAt: number; - updatedAt: number; - startedAt?: number | undefined; - completedAt?: number | undefined; - rerequestable?: boolean | undefined; -}; - -/** @internal */ -export const Status$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Status); - -/** @internal */ -export const Status$outboundSchema: z.ZodNativeEnum = - Status$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Status$ { - /** @deprecated use `Status$inboundSchema` instead. */ - export const inboundSchema = Status$inboundSchema; - /** @deprecated use `Status$outboundSchema` instead. */ - export const outboundSchema = Status$outboundSchema; -} - -/** @internal */ -export const Conclusion$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Conclusion); - -/** @internal */ -export const Conclusion$outboundSchema: z.ZodNativeEnum = - Conclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Conclusion$ { - /** @deprecated use `Conclusion$inboundSchema` instead. */ - export const inboundSchema = Conclusion$inboundSchema; - /** @deprecated use `Conclusion$outboundSchema` instead. */ - export const outboundSchema = Conclusion$outboundSchema; -} - -/** @internal */ -export const UpdateCheckSource$inboundSchema: z.ZodNativeEnum< - typeof UpdateCheckSource -> = z.nativeEnum(UpdateCheckSource); - -/** @internal */ -export const UpdateCheckSource$outboundSchema: z.ZodNativeEnum< - typeof UpdateCheckSource -> = UpdateCheckSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckSource$ { - /** @deprecated use `UpdateCheckSource$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckSource$inboundSchema; - /** @deprecated use `UpdateCheckSource$outboundSchema` instead. */ - export const outboundSchema = UpdateCheckSource$outboundSchema; -} - -/** @internal */ -export const Fcp$inboundSchema: z.ZodType = z - .object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckSource$inboundSchema, - }); - -/** @internal */ -export type Fcp$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const Fcp$outboundSchema: z.ZodType = z - .object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckSource$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Fcp$ { - /** @deprecated use `Fcp$inboundSchema` instead. */ - export const inboundSchema = Fcp$inboundSchema; - /** @deprecated use `Fcp$outboundSchema` instead. */ - export const outboundSchema = Fcp$outboundSchema; - /** @deprecated use `Fcp$Outbound` instead. */ - export type Outbound = Fcp$Outbound; -} - -export function fcpToJSON(fcp: Fcp): string { - return JSON.stringify(Fcp$outboundSchema.parse(fcp)); -} - -export function fcpFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Fcp$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Fcp' from JSON`, - ); -} - -/** @internal */ -export const UpdateCheckChecksSource$inboundSchema: z.ZodNativeEnum< - typeof UpdateCheckChecksSource -> = z.nativeEnum(UpdateCheckChecksSource); - -/** @internal */ -export const UpdateCheckChecksSource$outboundSchema: z.ZodNativeEnum< - typeof UpdateCheckChecksSource -> = UpdateCheckChecksSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckChecksSource$ { - /** @deprecated use `UpdateCheckChecksSource$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckChecksSource$inboundSchema; - /** @deprecated use `UpdateCheckChecksSource$outboundSchema` instead. */ - export const outboundSchema = UpdateCheckChecksSource$outboundSchema; -} - -/** @internal */ -export const Lcp$inboundSchema: z.ZodType = z - .object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckChecksSource$inboundSchema, - }); - -/** @internal */ -export type Lcp$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const Lcp$outboundSchema: z.ZodType = z - .object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckChecksSource$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Lcp$ { - /** @deprecated use `Lcp$inboundSchema` instead. */ - export const inboundSchema = Lcp$inboundSchema; - /** @deprecated use `Lcp$outboundSchema` instead. */ - export const outboundSchema = Lcp$outboundSchema; - /** @deprecated use `Lcp$Outbound` instead. */ - export type Outbound = Lcp$Outbound; -} - -export function lcpToJSON(lcp: Lcp): string { - return JSON.stringify(Lcp$outboundSchema.parse(lcp)); -} - -export function lcpFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Lcp$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Lcp' from JSON`, - ); -} - -/** @internal */ -export const UpdateCheckChecksRequestSource$inboundSchema: z.ZodNativeEnum< - typeof UpdateCheckChecksRequestSource -> = z.nativeEnum(UpdateCheckChecksRequestSource); - -/** @internal */ -export const UpdateCheckChecksRequestSource$outboundSchema: z.ZodNativeEnum< - typeof UpdateCheckChecksRequestSource -> = UpdateCheckChecksRequestSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckChecksRequestSource$ { - /** @deprecated use `UpdateCheckChecksRequestSource$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckChecksRequestSource$inboundSchema; - /** @deprecated use `UpdateCheckChecksRequestSource$outboundSchema` instead. */ - export const outboundSchema = UpdateCheckChecksRequestSource$outboundSchema; -} - -/** @internal */ -export const Cls$inboundSchema: z.ZodType = z - .object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckChecksRequestSource$inboundSchema, - }); - -/** @internal */ -export type Cls$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const Cls$outboundSchema: z.ZodType = z - .object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckChecksRequestSource$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Cls$ { - /** @deprecated use `Cls$inboundSchema` instead. */ - export const inboundSchema = Cls$inboundSchema; - /** @deprecated use `Cls$outboundSchema` instead. */ - export const outboundSchema = Cls$outboundSchema; - /** @deprecated use `Cls$Outbound` instead. */ - export type Outbound = Cls$Outbound; -} - -export function clsToJSON(cls: Cls): string { - return JSON.stringify(Cls$outboundSchema.parse(cls)); -} - -export function clsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Cls$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Cls' from JSON`, - ); -} - -/** @internal */ -export const UpdateCheckChecksRequestRequestBodySource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateCheckChecksRequestRequestBodySource); - -/** @internal */ -export const UpdateCheckChecksRequestRequestBodySource$outboundSchema: - z.ZodNativeEnum = - UpdateCheckChecksRequestRequestBodySource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckChecksRequestRequestBodySource$ { - /** @deprecated use `UpdateCheckChecksRequestRequestBodySource$inboundSchema` instead. */ - export const inboundSchema = - UpdateCheckChecksRequestRequestBodySource$inboundSchema; - /** @deprecated use `UpdateCheckChecksRequestRequestBodySource$outboundSchema` instead. */ - export const outboundSchema = - UpdateCheckChecksRequestRequestBodySource$outboundSchema; -} - -/** @internal */ -export const Tbt$inboundSchema: z.ZodType = z - .object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckChecksRequestRequestBodySource$inboundSchema, - }); - -/** @internal */ -export type Tbt$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const Tbt$outboundSchema: z.ZodType = z - .object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckChecksRequestRequestBodySource$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Tbt$ { - /** @deprecated use `Tbt$inboundSchema` instead. */ - export const inboundSchema = Tbt$inboundSchema; - /** @deprecated use `Tbt$outboundSchema` instead. */ - export const outboundSchema = Tbt$outboundSchema; - /** @deprecated use `Tbt$Outbound` instead. */ - export type Outbound = Tbt$Outbound; -} - -export function tbtToJSON(tbt: Tbt): string { - return JSON.stringify(Tbt$outboundSchema.parse(tbt)); -} - -export function tbtFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Tbt$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Tbt' from JSON`, - ); -} - -/** @internal */ -export const UpdateCheckChecksRequestRequestBodyOutputSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateCheckChecksRequestRequestBodyOutputSource); - -/** @internal */ -export const UpdateCheckChecksRequestRequestBodyOutputSource$outboundSchema: - z.ZodNativeEnum = - UpdateCheckChecksRequestRequestBodyOutputSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckChecksRequestRequestBodyOutputSource$ { - /** @deprecated use `UpdateCheckChecksRequestRequestBodyOutputSource$inboundSchema` instead. */ - export const inboundSchema = - UpdateCheckChecksRequestRequestBodyOutputSource$inboundSchema; - /** @deprecated use `UpdateCheckChecksRequestRequestBodyOutputSource$outboundSchema` instead. */ - export const outboundSchema = - UpdateCheckChecksRequestRequestBodyOutputSource$outboundSchema; -} - -/** @internal */ -export const VirtualExperienceScore$inboundSchema: z.ZodType< - VirtualExperienceScore, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number().int()), - previousValue: z.number().int().optional(), - source: UpdateCheckChecksRequestRequestBodyOutputSource$inboundSchema, -}); - -/** @internal */ -export type VirtualExperienceScore$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const VirtualExperienceScore$outboundSchema: z.ZodType< - VirtualExperienceScore$Outbound, - z.ZodTypeDef, - VirtualExperienceScore -> = z.object({ - value: z.nullable(z.number().int()), - previousValue: z.number().int().optional(), - source: UpdateCheckChecksRequestRequestBodyOutputSource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace VirtualExperienceScore$ { - /** @deprecated use `VirtualExperienceScore$inboundSchema` instead. */ - export const inboundSchema = VirtualExperienceScore$inboundSchema; - /** @deprecated use `VirtualExperienceScore$outboundSchema` instead. */ - export const outboundSchema = VirtualExperienceScore$outboundSchema; - /** @deprecated use `VirtualExperienceScore$Outbound` instead. */ - export type Outbound = VirtualExperienceScore$Outbound; -} - -export function virtualExperienceScoreToJSON( - virtualExperienceScore: VirtualExperienceScore, -): string { - return JSON.stringify( - VirtualExperienceScore$outboundSchema.parse(virtualExperienceScore), - ); -} - -export function virtualExperienceScoreFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => VirtualExperienceScore$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'VirtualExperienceScore' from JSON`, - ); -} - -/** @internal */ -export const Metrics$inboundSchema: z.ZodType = - z.object({ - FCP: z.lazy(() => Fcp$inboundSchema), - LCP: z.lazy(() => Lcp$inboundSchema), - CLS: z.lazy(() => Cls$inboundSchema), - TBT: z.lazy(() => Tbt$inboundSchema), - virtualExperienceScore: z.lazy(() => VirtualExperienceScore$inboundSchema) - .optional(), - }).transform((v) => { - return remap$(v, { - "FCP": "fcp", - "LCP": "lcp", - "CLS": "cls", - "TBT": "tbt", - }); - }); - -/** @internal */ -export type Metrics$Outbound = { - FCP: Fcp$Outbound; - LCP: Lcp$Outbound; - CLS: Cls$Outbound; - TBT: Tbt$Outbound; - virtualExperienceScore?: VirtualExperienceScore$Outbound | undefined; -}; - -/** @internal */ -export const Metrics$outboundSchema: z.ZodType< - Metrics$Outbound, - z.ZodTypeDef, - Metrics -> = z.object({ - fcp: z.lazy(() => Fcp$outboundSchema), - lcp: z.lazy(() => Lcp$outboundSchema), - cls: z.lazy(() => Cls$outboundSchema), - tbt: z.lazy(() => Tbt$outboundSchema), - virtualExperienceScore: z.lazy(() => VirtualExperienceScore$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - fcp: "FCP", - lcp: "LCP", - cls: "CLS", - tbt: "TBT", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Metrics$ { - /** @deprecated use `Metrics$inboundSchema` instead. */ - export const inboundSchema = Metrics$inboundSchema; - /** @deprecated use `Metrics$outboundSchema` instead. */ - export const outboundSchema = Metrics$outboundSchema; - /** @deprecated use `Metrics$Outbound` instead. */ - export type Outbound = Metrics$Outbound; -} - -export function metricsToJSON(metrics: Metrics): string { - return JSON.stringify(Metrics$outboundSchema.parse(metrics)); -} - -export function metricsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Metrics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Metrics' from JSON`, - ); -} - -/** @internal */ -export const Output$inboundSchema: z.ZodType = z - .object({ - metrics: z.lazy(() => Metrics$inboundSchema).optional(), - }); - -/** @internal */ -export type Output$Outbound = { - metrics?: Metrics$Outbound | undefined; -}; - -/** @internal */ -export const Output$outboundSchema: z.ZodType< - Output$Outbound, - z.ZodTypeDef, - Output -> = z.object({ - metrics: z.lazy(() => Metrics$outboundSchema).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Output$ { - /** @deprecated use `Output$inboundSchema` instead. */ - export const inboundSchema = Output$inboundSchema; - /** @deprecated use `Output$outboundSchema` instead. */ - export const outboundSchema = Output$outboundSchema; - /** @deprecated use `Output$Outbound` instead. */ - export type Outbound = Output$Outbound; -} - -export function outputToJSON(output: Output): string { - return JSON.stringify(Output$outboundSchema.parse(output)); -} - -export function outputFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Output$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Output' from JSON`, - ); -} - -/** @internal */ -export const UpdateCheckRequestBody$inboundSchema: z.ZodType< - UpdateCheckRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string().optional(), - path: z.string().optional(), - status: Status$inboundSchema.optional(), - conclusion: Conclusion$inboundSchema.optional(), - detailsUrl: z.string().optional(), - output: z.lazy(() => Output$inboundSchema).optional(), - externalId: z.string().optional(), -}); - -/** @internal */ -export type UpdateCheckRequestBody$Outbound = { - name?: string | undefined; - path?: string | undefined; - status?: string | undefined; - conclusion?: string | undefined; - detailsUrl?: string | undefined; - output?: Output$Outbound | undefined; - externalId?: string | undefined; -}; - -/** @internal */ -export const UpdateCheckRequestBody$outboundSchema: z.ZodType< - UpdateCheckRequestBody$Outbound, - z.ZodTypeDef, - UpdateCheckRequestBody -> = z.object({ - name: z.string().optional(), - path: z.string().optional(), - status: Status$outboundSchema.optional(), - conclusion: Conclusion$outboundSchema.optional(), - detailsUrl: z.string().optional(), - output: z.lazy(() => Output$outboundSchema).optional(), - externalId: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckRequestBody$ { - /** @deprecated use `UpdateCheckRequestBody$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckRequestBody$inboundSchema; - /** @deprecated use `UpdateCheckRequestBody$outboundSchema` instead. */ - export const outboundSchema = UpdateCheckRequestBody$outboundSchema; - /** @deprecated use `UpdateCheckRequestBody$Outbound` instead. */ - export type Outbound = UpdateCheckRequestBody$Outbound; -} - -export function updateCheckRequestBodyToJSON( - updateCheckRequestBody: UpdateCheckRequestBody, -): string { - return JSON.stringify( - UpdateCheckRequestBody$outboundSchema.parse(updateCheckRequestBody), - ); -} - -export function updateCheckRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateCheckRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateCheckRequestBody' from JSON`, - ); -} - -/** @internal */ -export const UpdateCheckRequest$inboundSchema: z.ZodType< - UpdateCheckRequest, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentId: z.string(), - checkId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => UpdateCheckRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type UpdateCheckRequest$Outbound = { - deploymentId: string; - checkId: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: UpdateCheckRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const UpdateCheckRequest$outboundSchema: z.ZodType< - UpdateCheckRequest$Outbound, - z.ZodTypeDef, - UpdateCheckRequest -> = z.object({ - deploymentId: z.string(), - checkId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateCheckRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckRequest$ { - /** @deprecated use `UpdateCheckRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckRequest$inboundSchema; - /** @deprecated use `UpdateCheckRequest$outboundSchema` instead. */ - export const outboundSchema = UpdateCheckRequest$outboundSchema; - /** @deprecated use `UpdateCheckRequest$Outbound` instead. */ - export type Outbound = UpdateCheckRequest$Outbound; -} - -export function updateCheckRequestToJSON( - updateCheckRequest: UpdateCheckRequest, -): string { - return JSON.stringify( - UpdateCheckRequest$outboundSchema.parse(updateCheckRequest), - ); -} - -export function updateCheckRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateCheckRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateCheckRequest' from JSON`, - ); -} - -/** @internal */ -export const UpdateCheckStatus$inboundSchema: z.ZodNativeEnum< - typeof UpdateCheckStatus -> = z.nativeEnum(UpdateCheckStatus); - -/** @internal */ -export const UpdateCheckStatus$outboundSchema: z.ZodNativeEnum< - typeof UpdateCheckStatus -> = UpdateCheckStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckStatus$ { - /** @deprecated use `UpdateCheckStatus$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckStatus$inboundSchema; - /** @deprecated use `UpdateCheckStatus$outboundSchema` instead. */ - export const outboundSchema = UpdateCheckStatus$outboundSchema; -} - -/** @internal */ -export const UpdateCheckConclusion$inboundSchema: z.ZodNativeEnum< - typeof UpdateCheckConclusion -> = z.nativeEnum(UpdateCheckConclusion); - -/** @internal */ -export const UpdateCheckConclusion$outboundSchema: z.ZodNativeEnum< - typeof UpdateCheckConclusion -> = UpdateCheckConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckConclusion$ { - /** @deprecated use `UpdateCheckConclusion$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckConclusion$inboundSchema; - /** @deprecated use `UpdateCheckConclusion$outboundSchema` instead. */ - export const outboundSchema = UpdateCheckConclusion$outboundSchema; -} - -/** @internal */ -export const UpdateCheckChecksResponseSource$inboundSchema: z.ZodNativeEnum< - typeof UpdateCheckChecksResponseSource -> = z.nativeEnum(UpdateCheckChecksResponseSource); - -/** @internal */ -export const UpdateCheckChecksResponseSource$outboundSchema: z.ZodNativeEnum< - typeof UpdateCheckChecksResponseSource -> = UpdateCheckChecksResponseSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckChecksResponseSource$ { - /** @deprecated use `UpdateCheckChecksResponseSource$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckChecksResponseSource$inboundSchema; - /** @deprecated use `UpdateCheckChecksResponseSource$outboundSchema` instead. */ - export const outboundSchema = UpdateCheckChecksResponseSource$outboundSchema; -} - -/** @internal */ -export const UpdateCheckFCP$inboundSchema: z.ZodType< - UpdateCheckFCP, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckChecksResponseSource$inboundSchema, -}); - -/** @internal */ -export type UpdateCheckFCP$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const UpdateCheckFCP$outboundSchema: z.ZodType< - UpdateCheckFCP$Outbound, - z.ZodTypeDef, - UpdateCheckFCP -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckChecksResponseSource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckFCP$ { - /** @deprecated use `UpdateCheckFCP$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckFCP$inboundSchema; - /** @deprecated use `UpdateCheckFCP$outboundSchema` instead. */ - export const outboundSchema = UpdateCheckFCP$outboundSchema; - /** @deprecated use `UpdateCheckFCP$Outbound` instead. */ - export type Outbound = UpdateCheckFCP$Outbound; -} - -export function updateCheckFCPToJSON(updateCheckFCP: UpdateCheckFCP): string { - return JSON.stringify(UpdateCheckFCP$outboundSchema.parse(updateCheckFCP)); -} - -export function updateCheckFCPFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateCheckFCP$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateCheckFCP' from JSON`, - ); -} - -/** @internal */ -export const UpdateCheckChecksResponse200Source$inboundSchema: z.ZodNativeEnum< - typeof UpdateCheckChecksResponse200Source -> = z.nativeEnum(UpdateCheckChecksResponse200Source); - -/** @internal */ -export const UpdateCheckChecksResponse200Source$outboundSchema: z.ZodNativeEnum< - typeof UpdateCheckChecksResponse200Source -> = UpdateCheckChecksResponse200Source$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckChecksResponse200Source$ { - /** @deprecated use `UpdateCheckChecksResponse200Source$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckChecksResponse200Source$inboundSchema; - /** @deprecated use `UpdateCheckChecksResponse200Source$outboundSchema` instead. */ - export const outboundSchema = - UpdateCheckChecksResponse200Source$outboundSchema; -} - -/** @internal */ -export const UpdateCheckLCP$inboundSchema: z.ZodType< - UpdateCheckLCP, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckChecksResponse200Source$inboundSchema, -}); - -/** @internal */ -export type UpdateCheckLCP$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const UpdateCheckLCP$outboundSchema: z.ZodType< - UpdateCheckLCP$Outbound, - z.ZodTypeDef, - UpdateCheckLCP -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckChecksResponse200Source$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckLCP$ { - /** @deprecated use `UpdateCheckLCP$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckLCP$inboundSchema; - /** @deprecated use `UpdateCheckLCP$outboundSchema` instead. */ - export const outboundSchema = UpdateCheckLCP$outboundSchema; - /** @deprecated use `UpdateCheckLCP$Outbound` instead. */ - export type Outbound = UpdateCheckLCP$Outbound; -} - -export function updateCheckLCPToJSON(updateCheckLCP: UpdateCheckLCP): string { - return JSON.stringify(UpdateCheckLCP$outboundSchema.parse(updateCheckLCP)); -} - -export function updateCheckLCPFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateCheckLCP$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateCheckLCP' from JSON`, - ); -} - -/** @internal */ -export const UpdateCheckChecksResponse200ApplicationJSONSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateCheckChecksResponse200ApplicationJSONSource); - -/** @internal */ -export const UpdateCheckChecksResponse200ApplicationJSONSource$outboundSchema: - z.ZodNativeEnum = - UpdateCheckChecksResponse200ApplicationJSONSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckChecksResponse200ApplicationJSONSource$ { - /** @deprecated use `UpdateCheckChecksResponse200ApplicationJSONSource$inboundSchema` instead. */ - export const inboundSchema = - UpdateCheckChecksResponse200ApplicationJSONSource$inboundSchema; - /** @deprecated use `UpdateCheckChecksResponse200ApplicationJSONSource$outboundSchema` instead. */ - export const outboundSchema = - UpdateCheckChecksResponse200ApplicationJSONSource$outboundSchema; -} - -/** @internal */ -export const UpdateCheckCLS$inboundSchema: z.ZodType< - UpdateCheckCLS, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckChecksResponse200ApplicationJSONSource$inboundSchema, -}); - -/** @internal */ -export type UpdateCheckCLS$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const UpdateCheckCLS$outboundSchema: z.ZodType< - UpdateCheckCLS$Outbound, - z.ZodTypeDef, - UpdateCheckCLS -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckChecksResponse200ApplicationJSONSource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckCLS$ { - /** @deprecated use `UpdateCheckCLS$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckCLS$inboundSchema; - /** @deprecated use `UpdateCheckCLS$outboundSchema` instead. */ - export const outboundSchema = UpdateCheckCLS$outboundSchema; - /** @deprecated use `UpdateCheckCLS$Outbound` instead. */ - export type Outbound = UpdateCheckCLS$Outbound; -} - -export function updateCheckCLSToJSON(updateCheckCLS: UpdateCheckCLS): string { - return JSON.stringify(UpdateCheckCLS$outboundSchema.parse(updateCheckCLS)); -} - -export function updateCheckCLSFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateCheckCLS$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateCheckCLS' from JSON`, - ); -} - -/** @internal */ -export const UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$inboundSchema: - z.ZodNativeEnum< - typeof UpdateCheckChecksResponse200ApplicationJSONResponseBodySource - > = z.nativeEnum( - UpdateCheckChecksResponse200ApplicationJSONResponseBodySource, - ); - -/** @internal */ -export const UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$outboundSchema: - z.ZodNativeEnum< - typeof UpdateCheckChecksResponse200ApplicationJSONResponseBodySource - > = - UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$ { - /** @deprecated use `UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$inboundSchema` instead. */ - export const inboundSchema = - UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$inboundSchema; - /** @deprecated use `UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$outboundSchema` instead. */ - export const outboundSchema = - UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$outboundSchema; -} - -/** @internal */ -export const UpdateCheckTBT$inboundSchema: z.ZodType< - UpdateCheckTBT, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: - UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$inboundSchema, -}); - -/** @internal */ -export type UpdateCheckTBT$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const UpdateCheckTBT$outboundSchema: z.ZodType< - UpdateCheckTBT$Outbound, - z.ZodTypeDef, - UpdateCheckTBT -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: - UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckTBT$ { - /** @deprecated use `UpdateCheckTBT$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckTBT$inboundSchema; - /** @deprecated use `UpdateCheckTBT$outboundSchema` instead. */ - export const outboundSchema = UpdateCheckTBT$outboundSchema; - /** @deprecated use `UpdateCheckTBT$Outbound` instead. */ - export type Outbound = UpdateCheckTBT$Outbound; -} - -export function updateCheckTBTToJSON(updateCheckTBT: UpdateCheckTBT): string { - return JSON.stringify(UpdateCheckTBT$outboundSchema.parse(updateCheckTBT)); -} - -export function updateCheckTBTFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateCheckTBT$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateCheckTBT' from JSON`, - ); -} - -/** @internal */ -export const UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$inboundSchema: - z.ZodNativeEnum< - typeof UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource - > = z.nativeEnum( - UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource, - ); - -/** @internal */ -export const UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$outboundSchema: - z.ZodNativeEnum< - typeof UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource - > = - UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$ { - /** @deprecated use `UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$inboundSchema` instead. */ - export const inboundSchema = - UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$inboundSchema; - /** @deprecated use `UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$outboundSchema` instead. */ - export const outboundSchema = - UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$outboundSchema; -} - -/** @internal */ -export const UpdateCheckVirtualExperienceScore$inboundSchema: z.ZodType< - UpdateCheckVirtualExperienceScore, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: - UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$inboundSchema, -}); - -/** @internal */ -export type UpdateCheckVirtualExperienceScore$Outbound = { - value: number | null; - previousValue?: number | undefined; - source: string; -}; - -/** @internal */ -export const UpdateCheckVirtualExperienceScore$outboundSchema: z.ZodType< - UpdateCheckVirtualExperienceScore$Outbound, - z.ZodTypeDef, - UpdateCheckVirtualExperienceScore -> = z.object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: - UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckVirtualExperienceScore$ { - /** @deprecated use `UpdateCheckVirtualExperienceScore$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckVirtualExperienceScore$inboundSchema; - /** @deprecated use `UpdateCheckVirtualExperienceScore$outboundSchema` instead. */ - export const outboundSchema = - UpdateCheckVirtualExperienceScore$outboundSchema; - /** @deprecated use `UpdateCheckVirtualExperienceScore$Outbound` instead. */ - export type Outbound = UpdateCheckVirtualExperienceScore$Outbound; -} - -export function updateCheckVirtualExperienceScoreToJSON( - updateCheckVirtualExperienceScore: UpdateCheckVirtualExperienceScore, -): string { - return JSON.stringify( - UpdateCheckVirtualExperienceScore$outboundSchema.parse( - updateCheckVirtualExperienceScore, - ), - ); -} - -export function updateCheckVirtualExperienceScoreFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateCheckVirtualExperienceScore$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateCheckVirtualExperienceScore' from JSON`, - ); -} - -/** @internal */ -export const UpdateCheckMetrics$inboundSchema: z.ZodType< - UpdateCheckMetrics, - z.ZodTypeDef, - unknown -> = z.object({ - FCP: z.lazy(() => UpdateCheckFCP$inboundSchema), - LCP: z.lazy(() => UpdateCheckLCP$inboundSchema), - CLS: z.lazy(() => UpdateCheckCLS$inboundSchema), - TBT: z.lazy(() => UpdateCheckTBT$inboundSchema), - virtualExperienceScore: z.lazy(() => - UpdateCheckVirtualExperienceScore$inboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - "FCP": "fcp", - "LCP": "lcp", - "CLS": "cls", - "TBT": "tbt", - }); -}); - -/** @internal */ -export type UpdateCheckMetrics$Outbound = { - FCP: UpdateCheckFCP$Outbound; - LCP: UpdateCheckLCP$Outbound; - CLS: UpdateCheckCLS$Outbound; - TBT: UpdateCheckTBT$Outbound; - virtualExperienceScore?: - | UpdateCheckVirtualExperienceScore$Outbound - | undefined; -}; - -/** @internal */ -export const UpdateCheckMetrics$outboundSchema: z.ZodType< - UpdateCheckMetrics$Outbound, - z.ZodTypeDef, - UpdateCheckMetrics -> = z.object({ - fcp: z.lazy(() => UpdateCheckFCP$outboundSchema), - lcp: z.lazy(() => UpdateCheckLCP$outboundSchema), - cls: z.lazy(() => UpdateCheckCLS$outboundSchema), - tbt: z.lazy(() => UpdateCheckTBT$outboundSchema), - virtualExperienceScore: z.lazy(() => - UpdateCheckVirtualExperienceScore$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - fcp: "FCP", - lcp: "LCP", - cls: "CLS", - tbt: "TBT", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckMetrics$ { - /** @deprecated use `UpdateCheckMetrics$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckMetrics$inboundSchema; - /** @deprecated use `UpdateCheckMetrics$outboundSchema` instead. */ - export const outboundSchema = UpdateCheckMetrics$outboundSchema; - /** @deprecated use `UpdateCheckMetrics$Outbound` instead. */ - export type Outbound = UpdateCheckMetrics$Outbound; -} - -export function updateCheckMetricsToJSON( - updateCheckMetrics: UpdateCheckMetrics, -): string { - return JSON.stringify( - UpdateCheckMetrics$outboundSchema.parse(updateCheckMetrics), - ); -} - -export function updateCheckMetricsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateCheckMetrics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateCheckMetrics' from JSON`, - ); -} - -/** @internal */ -export const UpdateCheckOutput$inboundSchema: z.ZodType< - UpdateCheckOutput, - z.ZodTypeDef, - unknown -> = z.object({ - metrics: z.lazy(() => UpdateCheckMetrics$inboundSchema).optional(), -}); - -/** @internal */ -export type UpdateCheckOutput$Outbound = { - metrics?: UpdateCheckMetrics$Outbound | undefined; -}; - -/** @internal */ -export const UpdateCheckOutput$outboundSchema: z.ZodType< - UpdateCheckOutput$Outbound, - z.ZodTypeDef, - UpdateCheckOutput -> = z.object({ - metrics: z.lazy(() => UpdateCheckMetrics$outboundSchema).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckOutput$ { - /** @deprecated use `UpdateCheckOutput$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckOutput$inboundSchema; - /** @deprecated use `UpdateCheckOutput$outboundSchema` instead. */ - export const outboundSchema = UpdateCheckOutput$outboundSchema; - /** @deprecated use `UpdateCheckOutput$Outbound` instead. */ - export type Outbound = UpdateCheckOutput$Outbound; -} - -export function updateCheckOutputToJSON( - updateCheckOutput: UpdateCheckOutput, -): string { - return JSON.stringify( - UpdateCheckOutput$outboundSchema.parse(updateCheckOutput), - ); -} - -export function updateCheckOutputFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateCheckOutput$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateCheckOutput' from JSON`, - ); -} - -/** @internal */ -export const UpdateCheckResponseBody$inboundSchema: z.ZodType< - UpdateCheckResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string(), - path: z.string().optional(), - status: UpdateCheckStatus$inboundSchema, - conclusion: UpdateCheckConclusion$inboundSchema.optional(), - blocking: z.boolean(), - output: z.lazy(() => UpdateCheckOutput$inboundSchema).optional(), - detailsUrl: z.string().optional(), - integrationId: z.string(), - deploymentId: z.string(), - externalId: z.string().optional(), - createdAt: z.number(), - updatedAt: z.number(), - startedAt: z.number().optional(), - completedAt: z.number().optional(), - rerequestable: z.boolean().optional(), -}); - -/** @internal */ -export type UpdateCheckResponseBody$Outbound = { - id: string; - name: string; - path?: string | undefined; - status: string; - conclusion?: string | undefined; - blocking: boolean; - output?: UpdateCheckOutput$Outbound | undefined; - detailsUrl?: string | undefined; - integrationId: string; - deploymentId: string; - externalId?: string | undefined; - createdAt: number; - updatedAt: number; - startedAt?: number | undefined; - completedAt?: number | undefined; - rerequestable?: boolean | undefined; -}; - -/** @internal */ -export const UpdateCheckResponseBody$outboundSchema: z.ZodType< - UpdateCheckResponseBody$Outbound, - z.ZodTypeDef, - UpdateCheckResponseBody -> = z.object({ - id: z.string(), - name: z.string(), - path: z.string().optional(), - status: UpdateCheckStatus$outboundSchema, - conclusion: UpdateCheckConclusion$outboundSchema.optional(), - blocking: z.boolean(), - output: z.lazy(() => UpdateCheckOutput$outboundSchema).optional(), - detailsUrl: z.string().optional(), - integrationId: z.string(), - deploymentId: z.string(), - externalId: z.string().optional(), - createdAt: z.number(), - updatedAt: z.number(), - startedAt: z.number().optional(), - completedAt: z.number().optional(), - rerequestable: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCheckResponseBody$ { - /** @deprecated use `UpdateCheckResponseBody$inboundSchema` instead. */ - export const inboundSchema = UpdateCheckResponseBody$inboundSchema; - /** @deprecated use `UpdateCheckResponseBody$outboundSchema` instead. */ - export const outboundSchema = UpdateCheckResponseBody$outboundSchema; - /** @deprecated use `UpdateCheckResponseBody$Outbound` instead. */ - export type Outbound = UpdateCheckResponseBody$Outbound; -} - -export function updateCheckResponseBodyToJSON( - updateCheckResponseBody: UpdateCheckResponseBody, -): string { - return JSON.stringify( - UpdateCheckResponseBody$outboundSchema.parse(updateCheckResponseBody), - ); -} - -export function updateCheckResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateCheckResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateCheckResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/updateedgeconfig.ts b/src/models/operations/updateedgeconfig.ts deleted file mode 100644 index 4f2539e9..00000000 --- a/src/models/operations/updateedgeconfig.ts +++ /dev/null @@ -1,472 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type UpdateEdgeConfigRequestBody = { - slug: string; -}; - -export type UpdateEdgeConfigRequest = { - edgeConfigId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: UpdateEdgeConfigRequestBody | undefined; -}; - -/** - * Keeps track of the current state of the Edge Config while it gets transferred. - */ -export type UpdateEdgeConfigTransfer = { - fromAccountId: string; - startedAt: number; - doneAt: number | null; -}; - -export type UpdateEdgeConfigSchema = {}; - -export const UpdateEdgeConfigType = { - Flags: "flags", -} as const; -export type UpdateEdgeConfigType = ClosedEnum; - -export type UpdateEdgeConfigPurpose = { - type: UpdateEdgeConfigType; - projectId: string; -}; - -/** - * An Edge Config - */ -export type UpdateEdgeConfigResponseBody = { - createdAt?: number | undefined; - updatedAt?: number | undefined; - id?: string | undefined; - /** - * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). - */ - slug?: string | undefined; - ownerId?: string | undefined; - digest?: string | undefined; - /** - * Keeps track of the current state of the Edge Config while it gets transferred. - */ - transfer?: UpdateEdgeConfigTransfer | undefined; - schema?: UpdateEdgeConfigSchema | undefined; - purpose?: UpdateEdgeConfigPurpose | undefined; - sizeInBytes: number; - itemCount: number; -}; - -/** @internal */ -export const UpdateEdgeConfigRequestBody$inboundSchema: z.ZodType< - UpdateEdgeConfigRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - slug: z.string(), -}); - -/** @internal */ -export type UpdateEdgeConfigRequestBody$Outbound = { - slug: string; -}; - -/** @internal */ -export const UpdateEdgeConfigRequestBody$outboundSchema: z.ZodType< - UpdateEdgeConfigRequestBody$Outbound, - z.ZodTypeDef, - UpdateEdgeConfigRequestBody -> = z.object({ - slug: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateEdgeConfigRequestBody$ { - /** @deprecated use `UpdateEdgeConfigRequestBody$inboundSchema` instead. */ - export const inboundSchema = UpdateEdgeConfigRequestBody$inboundSchema; - /** @deprecated use `UpdateEdgeConfigRequestBody$outboundSchema` instead. */ - export const outboundSchema = UpdateEdgeConfigRequestBody$outboundSchema; - /** @deprecated use `UpdateEdgeConfigRequestBody$Outbound` instead. */ - export type Outbound = UpdateEdgeConfigRequestBody$Outbound; -} - -export function updateEdgeConfigRequestBodyToJSON( - updateEdgeConfigRequestBody: UpdateEdgeConfigRequestBody, -): string { - return JSON.stringify( - UpdateEdgeConfigRequestBody$outboundSchema.parse( - updateEdgeConfigRequestBody, - ), - ); -} - -export function updateEdgeConfigRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateEdgeConfigRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateEdgeConfigRequestBody' from JSON`, - ); -} - -/** @internal */ -export const UpdateEdgeConfigRequest$inboundSchema: z.ZodType< - UpdateEdgeConfigRequest, - z.ZodTypeDef, - unknown -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => UpdateEdgeConfigRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type UpdateEdgeConfigRequest$Outbound = { - edgeConfigId: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: UpdateEdgeConfigRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const UpdateEdgeConfigRequest$outboundSchema: z.ZodType< - UpdateEdgeConfigRequest$Outbound, - z.ZodTypeDef, - UpdateEdgeConfigRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateEdgeConfigRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateEdgeConfigRequest$ { - /** @deprecated use `UpdateEdgeConfigRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateEdgeConfigRequest$inboundSchema; - /** @deprecated use `UpdateEdgeConfigRequest$outboundSchema` instead. */ - export const outboundSchema = UpdateEdgeConfigRequest$outboundSchema; - /** @deprecated use `UpdateEdgeConfigRequest$Outbound` instead. */ - export type Outbound = UpdateEdgeConfigRequest$Outbound; -} - -export function updateEdgeConfigRequestToJSON( - updateEdgeConfigRequest: UpdateEdgeConfigRequest, -): string { - return JSON.stringify( - UpdateEdgeConfigRequest$outboundSchema.parse(updateEdgeConfigRequest), - ); -} - -export function updateEdgeConfigRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateEdgeConfigRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateEdgeConfigRequest' from JSON`, - ); -} - -/** @internal */ -export const UpdateEdgeConfigTransfer$inboundSchema: z.ZodType< - UpdateEdgeConfigTransfer, - z.ZodTypeDef, - unknown -> = z.object({ - fromAccountId: z.string(), - startedAt: z.number(), - doneAt: z.nullable(z.number()), -}); - -/** @internal */ -export type UpdateEdgeConfigTransfer$Outbound = { - fromAccountId: string; - startedAt: number; - doneAt: number | null; -}; - -/** @internal */ -export const UpdateEdgeConfigTransfer$outboundSchema: z.ZodType< - UpdateEdgeConfigTransfer$Outbound, - z.ZodTypeDef, - UpdateEdgeConfigTransfer -> = z.object({ - fromAccountId: z.string(), - startedAt: z.number(), - doneAt: z.nullable(z.number()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateEdgeConfigTransfer$ { - /** @deprecated use `UpdateEdgeConfigTransfer$inboundSchema` instead. */ - export const inboundSchema = UpdateEdgeConfigTransfer$inboundSchema; - /** @deprecated use `UpdateEdgeConfigTransfer$outboundSchema` instead. */ - export const outboundSchema = UpdateEdgeConfigTransfer$outboundSchema; - /** @deprecated use `UpdateEdgeConfigTransfer$Outbound` instead. */ - export type Outbound = UpdateEdgeConfigTransfer$Outbound; -} - -export function updateEdgeConfigTransferToJSON( - updateEdgeConfigTransfer: UpdateEdgeConfigTransfer, -): string { - return JSON.stringify( - UpdateEdgeConfigTransfer$outboundSchema.parse(updateEdgeConfigTransfer), - ); -} - -export function updateEdgeConfigTransferFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateEdgeConfigTransfer$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateEdgeConfigTransfer' from JSON`, - ); -} - -/** @internal */ -export const UpdateEdgeConfigSchema$inboundSchema: z.ZodType< - UpdateEdgeConfigSchema, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UpdateEdgeConfigSchema$Outbound = {}; - -/** @internal */ -export const UpdateEdgeConfigSchema$outboundSchema: z.ZodType< - UpdateEdgeConfigSchema$Outbound, - z.ZodTypeDef, - UpdateEdgeConfigSchema -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateEdgeConfigSchema$ { - /** @deprecated use `UpdateEdgeConfigSchema$inboundSchema` instead. */ - export const inboundSchema = UpdateEdgeConfigSchema$inboundSchema; - /** @deprecated use `UpdateEdgeConfigSchema$outboundSchema` instead. */ - export const outboundSchema = UpdateEdgeConfigSchema$outboundSchema; - /** @deprecated use `UpdateEdgeConfigSchema$Outbound` instead. */ - export type Outbound = UpdateEdgeConfigSchema$Outbound; -} - -export function updateEdgeConfigSchemaToJSON( - updateEdgeConfigSchema: UpdateEdgeConfigSchema, -): string { - return JSON.stringify( - UpdateEdgeConfigSchema$outboundSchema.parse(updateEdgeConfigSchema), - ); -} - -export function updateEdgeConfigSchemaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateEdgeConfigSchema$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateEdgeConfigSchema' from JSON`, - ); -} - -/** @internal */ -export const UpdateEdgeConfigType$inboundSchema: z.ZodNativeEnum< - typeof UpdateEdgeConfigType -> = z.nativeEnum(UpdateEdgeConfigType); - -/** @internal */ -export const UpdateEdgeConfigType$outboundSchema: z.ZodNativeEnum< - typeof UpdateEdgeConfigType -> = UpdateEdgeConfigType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateEdgeConfigType$ { - /** @deprecated use `UpdateEdgeConfigType$inboundSchema` instead. */ - export const inboundSchema = UpdateEdgeConfigType$inboundSchema; - /** @deprecated use `UpdateEdgeConfigType$outboundSchema` instead. */ - export const outboundSchema = UpdateEdgeConfigType$outboundSchema; -} - -/** @internal */ -export const UpdateEdgeConfigPurpose$inboundSchema: z.ZodType< - UpdateEdgeConfigPurpose, - z.ZodTypeDef, - unknown -> = z.object({ - type: UpdateEdgeConfigType$inboundSchema, - projectId: z.string(), -}); - -/** @internal */ -export type UpdateEdgeConfigPurpose$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const UpdateEdgeConfigPurpose$outboundSchema: z.ZodType< - UpdateEdgeConfigPurpose$Outbound, - z.ZodTypeDef, - UpdateEdgeConfigPurpose -> = z.object({ - type: UpdateEdgeConfigType$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateEdgeConfigPurpose$ { - /** @deprecated use `UpdateEdgeConfigPurpose$inboundSchema` instead. */ - export const inboundSchema = UpdateEdgeConfigPurpose$inboundSchema; - /** @deprecated use `UpdateEdgeConfigPurpose$outboundSchema` instead. */ - export const outboundSchema = UpdateEdgeConfigPurpose$outboundSchema; - /** @deprecated use `UpdateEdgeConfigPurpose$Outbound` instead. */ - export type Outbound = UpdateEdgeConfigPurpose$Outbound; -} - -export function updateEdgeConfigPurposeToJSON( - updateEdgeConfigPurpose: UpdateEdgeConfigPurpose, -): string { - return JSON.stringify( - UpdateEdgeConfigPurpose$outboundSchema.parse(updateEdgeConfigPurpose), - ); -} - -export function updateEdgeConfigPurposeFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateEdgeConfigPurpose$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateEdgeConfigPurpose' from JSON`, - ); -} - -/** @internal */ -export const UpdateEdgeConfigResponseBody$inboundSchema: z.ZodType< - UpdateEdgeConfigResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - id: z.string().optional(), - slug: z.string().optional(), - ownerId: z.string().optional(), - digest: z.string().optional(), - transfer: z.lazy(() => UpdateEdgeConfigTransfer$inboundSchema).optional(), - schema: z.lazy(() => UpdateEdgeConfigSchema$inboundSchema).optional(), - purpose: z.lazy(() => UpdateEdgeConfigPurpose$inboundSchema).optional(), - sizeInBytes: z.number(), - itemCount: z.number(), -}); - -/** @internal */ -export type UpdateEdgeConfigResponseBody$Outbound = { - createdAt?: number | undefined; - updatedAt?: number | undefined; - id?: string | undefined; - slug?: string | undefined; - ownerId?: string | undefined; - digest?: string | undefined; - transfer?: UpdateEdgeConfigTransfer$Outbound | undefined; - schema?: UpdateEdgeConfigSchema$Outbound | undefined; - purpose?: UpdateEdgeConfigPurpose$Outbound | undefined; - sizeInBytes: number; - itemCount: number; -}; - -/** @internal */ -export const UpdateEdgeConfigResponseBody$outboundSchema: z.ZodType< - UpdateEdgeConfigResponseBody$Outbound, - z.ZodTypeDef, - UpdateEdgeConfigResponseBody -> = z.object({ - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - id: z.string().optional(), - slug: z.string().optional(), - ownerId: z.string().optional(), - digest: z.string().optional(), - transfer: z.lazy(() => UpdateEdgeConfigTransfer$outboundSchema).optional(), - schema: z.lazy(() => UpdateEdgeConfigSchema$outboundSchema).optional(), - purpose: z.lazy(() => UpdateEdgeConfigPurpose$outboundSchema).optional(), - sizeInBytes: z.number(), - itemCount: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateEdgeConfigResponseBody$ { - /** @deprecated use `UpdateEdgeConfigResponseBody$inboundSchema` instead. */ - export const inboundSchema = UpdateEdgeConfigResponseBody$inboundSchema; - /** @deprecated use `UpdateEdgeConfigResponseBody$outboundSchema` instead. */ - export const outboundSchema = UpdateEdgeConfigResponseBody$outboundSchema; - /** @deprecated use `UpdateEdgeConfigResponseBody$Outbound` instead. */ - export type Outbound = UpdateEdgeConfigResponseBody$Outbound; -} - -export function updateEdgeConfigResponseBodyToJSON( - updateEdgeConfigResponseBody: UpdateEdgeConfigResponseBody, -): string { - return JSON.stringify( - UpdateEdgeConfigResponseBody$outboundSchema.parse( - updateEdgeConfigResponseBody, - ), - ); -} - -export function updateEdgeConfigResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateEdgeConfigResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateEdgeConfigResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/updatefirewallconfig.ts b/src/models/operations/updatefirewallconfig.ts deleted file mode 100644 index aaf4031e..00000000 --- a/src/models/operations/updatefirewallconfig.ts +++ /dev/null @@ -1,3875 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export const UpdateFirewallConfigRequestBodySecurityRequest11Action = { - ManagedRulesUpdate: "managedRules.update", -} as const; -export type UpdateFirewallConfigRequestBodySecurityRequest11Action = ClosedEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest11Action ->; - -export const RequestBodyId = { - Owasp: "owasp", -} as const; -export type RequestBodyId = ClosedEnum; - -export type UpdateFirewallConfigRequestBodySecurityRequest11Value = { - active: boolean; -}; - -/** - * Update a managed ruleset - */ -export type Eleven = { - action: UpdateFirewallConfigRequestBodySecurityRequest11Action; - id: RequestBodyId; - value: UpdateFirewallConfigRequestBodySecurityRequest11Value; -}; - -export const UpdateFirewallConfigRequestBodySecurityRequest10Action = { - IpRemove: "ip.remove", -} as const; -export type UpdateFirewallConfigRequestBodySecurityRequest10Action = ClosedEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest10Action ->; - -/** - * Remove an IP Blocking rule - */ -export type RequestBody10 = { - action: UpdateFirewallConfigRequestBodySecurityRequest10Action; - id: string; - value?: any | null | undefined; -}; - -export const UpdateFirewallConfigRequestBodySecurityRequest9Action = { - IpUpdate: "ip.update", -} as const; -export type UpdateFirewallConfigRequestBodySecurityRequest9Action = ClosedEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest9Action ->; - -export const UpdateFirewallConfigRequestBodySecurityRequest9ValueAction = { - Deny: "deny", - Challenge: "challenge", - Log: "log", - Bypass: "bypass", -} as const; -export type UpdateFirewallConfigRequestBodySecurityRequest9ValueAction = - ClosedEnum; - -export type UpdateFirewallConfigRequestBodySecurityRequest9Value = { - hostname: string; - ip: string; - notes?: string | undefined; - action: UpdateFirewallConfigRequestBodySecurityRequest9ValueAction; -}; - -/** - * Update an IP Blocking rule - */ -export type RequestBody9 = { - action: UpdateFirewallConfigRequestBodySecurityRequest9Action; - id: string; - value: UpdateFirewallConfigRequestBodySecurityRequest9Value; -}; - -export const UpdateFirewallConfigRequestBodySecurityRequest8Action = { - IpInsert: "ip.insert", -} as const; -export type UpdateFirewallConfigRequestBodySecurityRequest8Action = ClosedEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest8Action ->; - -export const UpdateFirewallConfigRequestBodySecurityRequest8ValueAction = { - Deny: "deny", - Challenge: "challenge", - Log: "log", - Bypass: "bypass", -} as const; -export type UpdateFirewallConfigRequestBodySecurityRequest8ValueAction = - ClosedEnum; - -export type UpdateFirewallConfigRequestBodySecurityRequestValue = { - hostname: string; - ip: string; - notes?: string | undefined; - action: UpdateFirewallConfigRequestBodySecurityRequest8ValueAction; -}; - -/** - * Add an IP Blocking rule - */ -export type RequestBody8 = { - action: UpdateFirewallConfigRequestBodySecurityRequest8Action; - id?: any | null | undefined; - value: UpdateFirewallConfigRequestBodySecurityRequestValue; -}; - -export const UpdateFirewallConfigRequestBodySecurityRequest7Action = { - CrsDisable: "crs.disable", -} as const; -export type UpdateFirewallConfigRequestBodySecurityRequest7Action = ClosedEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest7Action ->; - -/** - * Disable a managed rule - */ -export type RequestBody7 = { - action: UpdateFirewallConfigRequestBodySecurityRequest7Action; - id?: any | null | undefined; - value?: any | null | undefined; -}; - -export const UpdateFirewallConfigRequestBodySecurityRequest6Action = { - CrsUpdate: "crs.update", -} as const; -export type UpdateFirewallConfigRequestBodySecurityRequest6Action = ClosedEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest6Action ->; - -export const Id = { - Sd: "sd", - Ma: "ma", - Lfi: "lfi", - Rfi: "rfi", - Rce: "rce", - Php: "php", - Gen: "gen", - Xss: "xss", - Sqli: "sqli", - Sf: "sf", - Java: "java", -} as const; -export type Id = ClosedEnum; - -export const UpdateFirewallConfigRequestBodySecurityRequest6ValueAction = { - Deny: "deny", - Log: "log", -} as const; -export type UpdateFirewallConfigRequestBodySecurityRequest6ValueAction = - ClosedEnum; - -export type UpdateFirewallConfigRequestBodySecurityValue = { - active: boolean; - action: UpdateFirewallConfigRequestBodySecurityRequest6ValueAction; -}; - -/** - * Enable a managed rule - */ -export type RequestBody6 = { - action: UpdateFirewallConfigRequestBodySecurityRequest6Action; - id: Id; - value: UpdateFirewallConfigRequestBodySecurityValue; -}; - -export const UpdateFirewallConfigRequestBodySecurityRequest5Action = { - RulesPriority: "rules.priority", -} as const; -export type UpdateFirewallConfigRequestBodySecurityRequest5Action = ClosedEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest5Action ->; - -/** - * Reorder a custom rule - */ -export type UpdateFirewallConfigRequestBody5 = { - action: UpdateFirewallConfigRequestBodySecurityRequest5Action; - id: string; - value: number; -}; - -export const UpdateFirewallConfigRequestBodySecurityRequestAction = { - RulesRemove: "rules.remove", -} as const; -export type UpdateFirewallConfigRequestBodySecurityRequestAction = ClosedEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequestAction ->; - -/** - * Remove a custom rule - */ -export type UpdateFirewallConfigRequestBody4 = { - action: UpdateFirewallConfigRequestBodySecurityRequestAction; - id: string; - value?: any | null | undefined; -}; - -export const UpdateFirewallConfigRequestBodySecurityAction = { - RulesUpdate: "rules.update", -} as const; -export type UpdateFirewallConfigRequestBodySecurityAction = ClosedEnum< - typeof UpdateFirewallConfigRequestBodySecurityAction ->; - -export const UpdateFirewallConfigRequestBodySecurityType = { - Host: "host", - Path: "path", - Method: "method", - Header: "header", - Query: "query", - Cookie: "cookie", - TargetPath: "target_path", - IpAddress: "ip_address", - Region: "region", - Protocol: "protocol", - Scheme: "scheme", - Environment: "environment", - UserAgent: "user_agent", - GeoContinent: "geo_continent", - GeoCountry: "geo_country", - GeoCountryRegion: "geo_country_region", - GeoCity: "geo_city", - GeoAsNumber: "geo_as_number", - Ja4Digest: "ja4_digest", - Ja3Digest: "ja3_digest", - RateLimitApiId: "rate_limit_api_id", -} as const; -export type UpdateFirewallConfigRequestBodySecurityType = ClosedEnum< - typeof UpdateFirewallConfigRequestBodySecurityType ->; - -export const UpdateFirewallConfigRequestBodyOp = { - Re: "re", - Eq: "eq", - Neq: "neq", - Ex: "ex", - Nex: "nex", - Inc: "inc", - Ninc: "ninc", - Pre: "pre", - Suf: "suf", - Sub: "sub", - Gt: "gt", - Gte: "gte", - Lt: "lt", - Lte: "lte", -} as const; -export type UpdateFirewallConfigRequestBodyOp = ClosedEnum< - typeof UpdateFirewallConfigRequestBodyOp ->; - -export type UpdateFirewallConfigRequestBodySecurityRequest3Value = - | string - | Array - | number; - -export type UpdateFirewallConfigRequestBodyConditions = { - type: UpdateFirewallConfigRequestBodySecurityType; - op: UpdateFirewallConfigRequestBodyOp; - neg?: boolean | undefined; - key?: string | undefined; - value?: string | Array | number | undefined; -}; - -export type UpdateFirewallConfigRequestBodyConditionGroup = { - conditions: Array; -}; - -export const UpdateFirewallConfigRequestBodySecurityRequest3ValueAction = { - Log: "log", - Challenge: "challenge", - Deny: "deny", - Bypass: "bypass", - RateLimit: "rate_limit", - Redirect: "redirect", -} as const; -export type UpdateFirewallConfigRequestBodySecurityRequest3ValueAction = - ClosedEnum; - -export const UpdateFirewallConfigRateLimitAlgo = { - FixedWindow: "fixed_window", - TokenBucket: "token_bucket", -} as const; -export type UpdateFirewallConfigRateLimitAlgo = ClosedEnum< - typeof UpdateFirewallConfigRateLimitAlgo ->; - -export const UpdateFirewallConfigActionSecurity1 = { - Log: "log", - Challenge: "challenge", - Deny: "deny", - RateLimit: "rate_limit", -} as const; -export type UpdateFirewallConfigActionSecurity1 = ClosedEnum< - typeof UpdateFirewallConfigActionSecurity1 ->; - -export type UpdateFirewallConfigRateLimitSecurityAction = - | UpdateFirewallConfigActionSecurity1 - | any; - -export type UpdateFirewallConfigRateLimitSecurity1 = { - algo: UpdateFirewallConfigRateLimitAlgo; - window: number; - limit: number; - keys: Array; - action?: UpdateFirewallConfigActionSecurity1 | any | null | undefined; -}; - -export type UpdateFirewallConfigRequestBodyRateLimit = - | UpdateFirewallConfigRateLimitSecurity1 - | any; - -export type UpdateFirewallConfigRedirectSecurity1 = { - location: string; - permanent: boolean; -}; - -export type UpdateFirewallConfigRequestBodyRedirect = - | UpdateFirewallConfigRedirectSecurity1 - | any; - -export type UpdateFirewallConfigRequestBodyMitigate = { - action: UpdateFirewallConfigRequestBodySecurityRequest3ValueAction; - rateLimit?: UpdateFirewallConfigRateLimitSecurity1 | any | null | undefined; - redirect?: UpdateFirewallConfigRedirectSecurity1 | any | null | undefined; - actionDuration?: string | null | undefined; -}; - -export type UpdateFirewallConfigRequestBodySecurityRequest3Action = { - mitigate?: UpdateFirewallConfigRequestBodyMitigate | undefined; -}; - -export type UpdateFirewallConfigRequestBodyValue = { - name: string; - description?: string | undefined; - active: boolean; - conditionGroup: Array; - action: UpdateFirewallConfigRequestBodySecurityRequest3Action; -}; - -/** - * Update a custom rule - */ -export type UpdateFirewallConfigRequestBody3 = { - action: UpdateFirewallConfigRequestBodySecurityAction; - id: string; - value: UpdateFirewallConfigRequestBodyValue; -}; - -export const UpdateFirewallConfigRequestBodyAction = { - RulesInsert: "rules.insert", -} as const; -export type UpdateFirewallConfigRequestBodyAction = ClosedEnum< - typeof UpdateFirewallConfigRequestBodyAction ->; - -export const UpdateFirewallConfigRequestBodyType = { - Host: "host", - Path: "path", - Method: "method", - Header: "header", - Query: "query", - Cookie: "cookie", - TargetPath: "target_path", - IpAddress: "ip_address", - Region: "region", - Protocol: "protocol", - Scheme: "scheme", - Environment: "environment", - UserAgent: "user_agent", - GeoContinent: "geo_continent", - GeoCountry: "geo_country", - GeoCountryRegion: "geo_country_region", - GeoCity: "geo_city", - GeoAsNumber: "geo_as_number", - Ja4Digest: "ja4_digest", - Ja3Digest: "ja3_digest", - RateLimitApiId: "rate_limit_api_id", -} as const; -export type UpdateFirewallConfigRequestBodyType = ClosedEnum< - typeof UpdateFirewallConfigRequestBodyType ->; - -export const RequestBodyOp = { - Re: "re", - Eq: "eq", - Neq: "neq", - Ex: "ex", - Nex: "nex", - Inc: "inc", - Ninc: "ninc", - Pre: "pre", - Suf: "suf", - Sub: "sub", - Gt: "gt", - Gte: "gte", - Lt: "lt", - Lte: "lte", -} as const; -export type RequestBodyOp = ClosedEnum; - -export type UpdateFirewallConfigRequestBodySecurityRequest2Value = - | string - | Array - | number; - -export type RequestBodyConditions = { - type: UpdateFirewallConfigRequestBodyType; - op: RequestBodyOp; - neg?: boolean | undefined; - key?: string | undefined; - value?: string | Array | number | undefined; -}; - -export type RequestBodyConditionGroup = { - conditions: Array; -}; - -export const UpdateFirewallConfigRequestBodySecurityRequest2ValueAction = { - Log: "log", - Challenge: "challenge", - Deny: "deny", - Bypass: "bypass", - RateLimit: "rate_limit", - Redirect: "redirect", -} as const; -export type UpdateFirewallConfigRequestBodySecurityRequest2ValueAction = - ClosedEnum; - -export const RateLimitAlgo = { - FixedWindow: "fixed_window", - TokenBucket: "token_bucket", -} as const; -export type RateLimitAlgo = ClosedEnum; - -export const UpdateFirewallConfigAction1 = { - Log: "log", - Challenge: "challenge", - Deny: "deny", - RateLimit: "rate_limit", -} as const; -export type UpdateFirewallConfigAction1 = ClosedEnum< - typeof UpdateFirewallConfigAction1 ->; - -export type UpdateFirewallConfigRateLimitAction = - | UpdateFirewallConfigAction1 - | any; - -export type UpdateFirewallConfigRateLimit1 = { - algo: RateLimitAlgo; - window: number; - limit: number; - keys: Array; - action?: UpdateFirewallConfigAction1 | any | null | undefined; -}; - -export type RequestBodyRateLimit = UpdateFirewallConfigRateLimit1 | any; - -export type UpdateFirewallConfigRedirect1 = { - location: string; - permanent: boolean; -}; - -export type RequestBodyRedirect = UpdateFirewallConfigRedirect1 | any; - -export type RequestBodyMitigate = { - action: UpdateFirewallConfigRequestBodySecurityRequest2ValueAction; - rateLimit?: UpdateFirewallConfigRateLimit1 | any | null | undefined; - redirect?: UpdateFirewallConfigRedirect1 | any | null | undefined; - actionDuration?: string | null | undefined; -}; - -export type UpdateFirewallConfigRequestBodySecurityRequest2Action = { - mitigate?: RequestBodyMitigate | undefined; -}; - -export type RequestBodyValue = { - name: string; - description?: string | undefined; - active: boolean; - conditionGroup: Array; - action: UpdateFirewallConfigRequestBodySecurityRequest2Action; -}; - -/** - * Add a custom rule - */ -export type UpdateFirewallConfigRequestBody2 = { - action: UpdateFirewallConfigRequestBodyAction; - id?: any | null | undefined; - value: RequestBodyValue; -}; - -export const RequestBodyAction = { - FirewallEnabled: "firewallEnabled", -} as const; -export type RequestBodyAction = ClosedEnum; - -/** - * Enable Firewall - */ -export type UpdateFirewallConfigRequestBody1 = { - action: RequestBodyAction; - id?: any | null | undefined; - value: boolean; -}; - -export type UpdateFirewallConfigRequestBody = - | UpdateFirewallConfigRequestBody1 - | UpdateFirewallConfigRequestBody2 - | UpdateFirewallConfigRequestBody3 - | UpdateFirewallConfigRequestBody4 - | UpdateFirewallConfigRequestBody5 - | RequestBody6 - | RequestBody7 - | RequestBody8 - | RequestBody9 - | RequestBody10 - | Eleven; - -export type UpdateFirewallConfigRequest = { - projectId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: - | UpdateFirewallConfigRequestBody1 - | UpdateFirewallConfigRequestBody2 - | UpdateFirewallConfigRequestBody3 - | UpdateFirewallConfigRequestBody4 - | UpdateFirewallConfigRequestBody5 - | RequestBody6 - | RequestBody7 - | RequestBody8 - | RequestBody9 - | RequestBody10 - | Eleven - | undefined; -}; - -export type UpdateFirewallConfigResponseBody = {}; - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest11Action$inboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest11Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest11Action); - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest11Action$outboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest11Action - > = UpdateFirewallConfigRequestBodySecurityRequest11Action$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest11Action$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest11Action$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest11Action$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest11Action$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest11Action$outboundSchema; -} - -/** @internal */ -export const RequestBodyId$inboundSchema: z.ZodNativeEnum< - typeof RequestBodyId -> = z.nativeEnum(RequestBodyId); - -/** @internal */ -export const RequestBodyId$outboundSchema: z.ZodNativeEnum< - typeof RequestBodyId -> = RequestBodyId$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBodyId$ { - /** @deprecated use `RequestBodyId$inboundSchema` instead. */ - export const inboundSchema = RequestBodyId$inboundSchema; - /** @deprecated use `RequestBodyId$outboundSchema` instead. */ - export const outboundSchema = RequestBodyId$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest11Value$inboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodySecurityRequest11Value, - z.ZodTypeDef, - unknown - > = z.object({ - active: z.boolean(), - }); - -/** @internal */ -export type UpdateFirewallConfigRequestBodySecurityRequest11Value$Outbound = { - active: boolean; -}; - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest11Value$outboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodySecurityRequest11Value$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBodySecurityRequest11Value - > = z.object({ - active: z.boolean(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest11Value$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest11Value$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest11Value$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest11Value$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest11Value$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest11Value$Outbound` instead. */ - export type Outbound = - UpdateFirewallConfigRequestBodySecurityRequest11Value$Outbound; -} - -export function updateFirewallConfigRequestBodySecurityRequest11ValueToJSON( - updateFirewallConfigRequestBodySecurityRequest11Value: - UpdateFirewallConfigRequestBodySecurityRequest11Value, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBodySecurityRequest11Value$outboundSchema.parse( - updateFirewallConfigRequestBodySecurityRequest11Value, - ), - ); -} - -export function updateFirewallConfigRequestBodySecurityRequest11ValueFromJSON( - jsonString: string, -): SafeParseResult< - UpdateFirewallConfigRequestBodySecurityRequest11Value, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRequestBodySecurityRequest11Value$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequest11Value' from JSON`, - ); -} - -/** @internal */ -export const Eleven$inboundSchema: z.ZodType = z - .object({ - action: - UpdateFirewallConfigRequestBodySecurityRequest11Action$inboundSchema, - id: RequestBodyId$inboundSchema, - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest11Value$inboundSchema - ), - }); - -/** @internal */ -export type Eleven$Outbound = { - action: string; - id: string; - value: UpdateFirewallConfigRequestBodySecurityRequest11Value$Outbound; -}; - -/** @internal */ -export const Eleven$outboundSchema: z.ZodType< - Eleven$Outbound, - z.ZodTypeDef, - Eleven -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest11Action$outboundSchema, - id: RequestBodyId$outboundSchema, - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest11Value$outboundSchema - ), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Eleven$ { - /** @deprecated use `Eleven$inboundSchema` instead. */ - export const inboundSchema = Eleven$inboundSchema; - /** @deprecated use `Eleven$outboundSchema` instead. */ - export const outboundSchema = Eleven$outboundSchema; - /** @deprecated use `Eleven$Outbound` instead. */ - export type Outbound = Eleven$Outbound; -} - -export function elevenToJSON(eleven: Eleven): string { - return JSON.stringify(Eleven$outboundSchema.parse(eleven)); -} - -export function elevenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Eleven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Eleven' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest10Action$inboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest10Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest10Action); - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest10Action$outboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest10Action - > = UpdateFirewallConfigRequestBodySecurityRequest10Action$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest10Action$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest10Action$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest10Action$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest10Action$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest10Action$outboundSchema; -} - -/** @internal */ -export const RequestBody10$inboundSchema: z.ZodType< - RequestBody10, - z.ZodTypeDef, - unknown -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest10Action$inboundSchema, - id: z.string(), - value: z.nullable(z.any()).optional(), -}); - -/** @internal */ -export type RequestBody10$Outbound = { - action: string; - id: string; - value?: any | null | undefined; -}; - -/** @internal */ -export const RequestBody10$outboundSchema: z.ZodType< - RequestBody10$Outbound, - z.ZodTypeDef, - RequestBody10 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest10Action$outboundSchema, - id: z.string(), - value: z.nullable(z.any()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBody10$ { - /** @deprecated use `RequestBody10$inboundSchema` instead. */ - export const inboundSchema = RequestBody10$inboundSchema; - /** @deprecated use `RequestBody10$outboundSchema` instead. */ - export const outboundSchema = RequestBody10$outboundSchema; - /** @deprecated use `RequestBody10$Outbound` instead. */ - export type Outbound = RequestBody10$Outbound; -} - -export function requestBody10ToJSON(requestBody10: RequestBody10): string { - return JSON.stringify(RequestBody10$outboundSchema.parse(requestBody10)); -} - -export function requestBody10FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBody10$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBody10' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest9Action$inboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest9Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest9Action); - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest9Action$outboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest9Action - > = UpdateFirewallConfigRequestBodySecurityRequest9Action$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest9Action$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9Action$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest9Action$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9Action$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest9Action$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$inboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest9ValueAction - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest9ValueAction); - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$outboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest9ValueAction - > = UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodySecurityRequest9Value, - z.ZodTypeDef, - unknown - > = z.object({ - hostname: z.string(), - ip: z.string(), - notes: z.string().optional(), - action: - UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$inboundSchema, - }); - -/** @internal */ -export type UpdateFirewallConfigRequestBodySecurityRequest9Value$Outbound = { - hostname: string; - ip: string; - notes?: string | undefined; - action: string; -}; - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest9Value$outboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodySecurityRequest9Value$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBodySecurityRequest9Value - > = z.object({ - hostname: z.string(), - ip: z.string(), - notes: z.string().optional(), - action: - UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest9Value$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9Value$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest9Value$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9Value$Outbound` instead. */ - export type Outbound = - UpdateFirewallConfigRequestBodySecurityRequest9Value$Outbound; -} - -export function updateFirewallConfigRequestBodySecurityRequest9ValueToJSON( - updateFirewallConfigRequestBodySecurityRequest9Value: - UpdateFirewallConfigRequestBodySecurityRequest9Value, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBodySecurityRequest9Value$outboundSchema.parse( - updateFirewallConfigRequestBodySecurityRequest9Value, - ), - ); -} - -export function updateFirewallConfigRequestBodySecurityRequest9ValueFromJSON( - jsonString: string, -): SafeParseResult< - UpdateFirewallConfigRequestBodySecurityRequest9Value, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequest9Value' from JSON`, - ); -} - -/** @internal */ -export const RequestBody9$inboundSchema: z.ZodType< - RequestBody9, - z.ZodTypeDef, - unknown -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest9Action$inboundSchema, - id: z.string(), - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema - ), -}); - -/** @internal */ -export type RequestBody9$Outbound = { - action: string; - id: string; - value: UpdateFirewallConfigRequestBodySecurityRequest9Value$Outbound; -}; - -/** @internal */ -export const RequestBody9$outboundSchema: z.ZodType< - RequestBody9$Outbound, - z.ZodTypeDef, - RequestBody9 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest9Action$outboundSchema, - id: z.string(), - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest9Value$outboundSchema - ), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBody9$ { - /** @deprecated use `RequestBody9$inboundSchema` instead. */ - export const inboundSchema = RequestBody9$inboundSchema; - /** @deprecated use `RequestBody9$outboundSchema` instead. */ - export const outboundSchema = RequestBody9$outboundSchema; - /** @deprecated use `RequestBody9$Outbound` instead. */ - export type Outbound = RequestBody9$Outbound; -} - -export function requestBody9ToJSON(requestBody9: RequestBody9): string { - return JSON.stringify(RequestBody9$outboundSchema.parse(requestBody9)); -} - -export function requestBody9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBody9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBody9' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest8Action$inboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest8Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest8Action); - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest8Action$outboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest8Action - > = UpdateFirewallConfigRequestBodySecurityRequest8Action$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest8Action$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest8Action$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest8Action$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest8Action$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest8Action$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$inboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest8ValueAction - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest8ValueAction); - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$outboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest8ValueAction - > = UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodySecurityRequestValue, - z.ZodTypeDef, - unknown - > = z.object({ - hostname: z.string(), - ip: z.string(), - notes: z.string().optional(), - action: - UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$inboundSchema, - }); - -/** @internal */ -export type UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound = { - hostname: string; - ip: string; - notes?: string | undefined; - action: string; -}; - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBodySecurityRequestValue - > = z.object({ - hostname: z.string(), - ip: z.string(), - notes: z.string().optional(), - action: - UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequestValue$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound` instead. */ - export type Outbound = - UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound; -} - -export function updateFirewallConfigRequestBodySecurityRequestValueToJSON( - updateFirewallConfigRequestBodySecurityRequestValue: - UpdateFirewallConfigRequestBodySecurityRequestValue, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema.parse( - updateFirewallConfigRequestBodySecurityRequestValue, - ), - ); -} - -export function updateFirewallConfigRequestBodySecurityRequestValueFromJSON( - jsonString: string, -): SafeParseResult< - UpdateFirewallConfigRequestBodySecurityRequestValue, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequestValue' from JSON`, - ); -} - -/** @internal */ -export const RequestBody8$inboundSchema: z.ZodType< - RequestBody8, - z.ZodTypeDef, - unknown -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest8Action$inboundSchema, - id: z.nullable(z.any()).optional(), - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema - ), -}); - -/** @internal */ -export type RequestBody8$Outbound = { - action: string; - id?: any | null | undefined; - value: UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound; -}; - -/** @internal */ -export const RequestBody8$outboundSchema: z.ZodType< - RequestBody8$Outbound, - z.ZodTypeDef, - RequestBody8 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest8Action$outboundSchema, - id: z.nullable(z.any()).optional(), - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema - ), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBody8$ { - /** @deprecated use `RequestBody8$inboundSchema` instead. */ - export const inboundSchema = RequestBody8$inboundSchema; - /** @deprecated use `RequestBody8$outboundSchema` instead. */ - export const outboundSchema = RequestBody8$outboundSchema; - /** @deprecated use `RequestBody8$Outbound` instead. */ - export type Outbound = RequestBody8$Outbound; -} - -export function requestBody8ToJSON(requestBody8: RequestBody8): string { - return JSON.stringify(RequestBody8$outboundSchema.parse(requestBody8)); -} - -export function requestBody8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBody8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBody8' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest7Action$inboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest7Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest7Action); - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest7Action$outboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest7Action - > = UpdateFirewallConfigRequestBodySecurityRequest7Action$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest7Action$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest7Action$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest7Action$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest7Action$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest7Action$outboundSchema; -} - -/** @internal */ -export const RequestBody7$inboundSchema: z.ZodType< - RequestBody7, - z.ZodTypeDef, - unknown -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest7Action$inboundSchema, - id: z.nullable(z.any()).optional(), - value: z.nullable(z.any()).optional(), -}); - -/** @internal */ -export type RequestBody7$Outbound = { - action: string; - id?: any | null | undefined; - value?: any | null | undefined; -}; - -/** @internal */ -export const RequestBody7$outboundSchema: z.ZodType< - RequestBody7$Outbound, - z.ZodTypeDef, - RequestBody7 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest7Action$outboundSchema, - id: z.nullable(z.any()).optional(), - value: z.nullable(z.any()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBody7$ { - /** @deprecated use `RequestBody7$inboundSchema` instead. */ - export const inboundSchema = RequestBody7$inboundSchema; - /** @deprecated use `RequestBody7$outboundSchema` instead. */ - export const outboundSchema = RequestBody7$outboundSchema; - /** @deprecated use `RequestBody7$Outbound` instead. */ - export type Outbound = RequestBody7$Outbound; -} - -export function requestBody7ToJSON(requestBody7: RequestBody7): string { - return JSON.stringify(RequestBody7$outboundSchema.parse(requestBody7)); -} - -export function requestBody7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBody7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBody7' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest6Action$inboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest6Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest6Action); - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest6Action$outboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest6Action - > = UpdateFirewallConfigRequestBodySecurityRequest6Action$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest6Action$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest6Action$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest6Action$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest6Action$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest6Action$outboundSchema; -} - -/** @internal */ -export const Id$inboundSchema: z.ZodNativeEnum = z.nativeEnum(Id); - -/** @internal */ -export const Id$outboundSchema: z.ZodNativeEnum = Id$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Id$ { - /** @deprecated use `Id$inboundSchema` instead. */ - export const inboundSchema = Id$inboundSchema; - /** @deprecated use `Id$outboundSchema` instead. */ - export const outboundSchema = Id$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$inboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest6ValueAction - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest6ValueAction); - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$outboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest6ValueAction - > = UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityValue$inboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodySecurityValue, - z.ZodTypeDef, - unknown - > = z.object({ - active: z.boolean(), - action: - UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$inboundSchema, - }); - -/** @internal */ -export type UpdateFirewallConfigRequestBodySecurityValue$Outbound = { - active: boolean; - action: string; -}; - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityValue$outboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodySecurityValue$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBodySecurityValue - > = z.object({ - active: z.boolean(), - action: - UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityValue$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityValue$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityValue$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityValue$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityValue$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityValue$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBodySecurityValue$Outbound; -} - -export function updateFirewallConfigRequestBodySecurityValueToJSON( - updateFirewallConfigRequestBodySecurityValue: - UpdateFirewallConfigRequestBodySecurityValue, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBodySecurityValue$outboundSchema.parse( - updateFirewallConfigRequestBodySecurityValue, - ), - ); -} - -export function updateFirewallConfigRequestBodySecurityValueFromJSON( - jsonString: string, -): SafeParseResult< - UpdateFirewallConfigRequestBodySecurityValue, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRequestBodySecurityValue$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateFirewallConfigRequestBodySecurityValue' from JSON`, - ); -} - -/** @internal */ -export const RequestBody6$inboundSchema: z.ZodType< - RequestBody6, - z.ZodTypeDef, - unknown -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest6Action$inboundSchema, - id: Id$inboundSchema, - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityValue$inboundSchema - ), -}); - -/** @internal */ -export type RequestBody6$Outbound = { - action: string; - id: string; - value: UpdateFirewallConfigRequestBodySecurityValue$Outbound; -}; - -/** @internal */ -export const RequestBody6$outboundSchema: z.ZodType< - RequestBody6$Outbound, - z.ZodTypeDef, - RequestBody6 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest6Action$outboundSchema, - id: Id$outboundSchema, - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityValue$outboundSchema - ), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBody6$ { - /** @deprecated use `RequestBody6$inboundSchema` instead. */ - export const inboundSchema = RequestBody6$inboundSchema; - /** @deprecated use `RequestBody6$outboundSchema` instead. */ - export const outboundSchema = RequestBody6$outboundSchema; - /** @deprecated use `RequestBody6$Outbound` instead. */ - export type Outbound = RequestBody6$Outbound; -} - -export function requestBody6ToJSON(requestBody6: RequestBody6): string { - return JSON.stringify(RequestBody6$outboundSchema.parse(requestBody6)); -} - -export function requestBody6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBody6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBody6' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest5Action$inboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest5Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest5Action); - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest5Action$outboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest5Action - > = UpdateFirewallConfigRequestBodySecurityRequest5Action$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest5Action$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest5Action$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest5Action$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest5Action$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest5Action$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRequestBody5$inboundSchema: z.ZodType< - UpdateFirewallConfigRequestBody5, - z.ZodTypeDef, - unknown -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest5Action$inboundSchema, - id: z.string(), - value: z.number(), -}); - -/** @internal */ -export type UpdateFirewallConfigRequestBody5$Outbound = { - action: string; - id: string; - value: number; -}; - -/** @internal */ -export const UpdateFirewallConfigRequestBody5$outboundSchema: z.ZodType< - UpdateFirewallConfigRequestBody5$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBody5 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest5Action$outboundSchema, - id: z.string(), - value: z.number(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBody5$ { - /** @deprecated use `UpdateFirewallConfigRequestBody5$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRequestBody5$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody5$outboundSchema` instead. */ - export const outboundSchema = UpdateFirewallConfigRequestBody5$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody5$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBody5$Outbound; -} - -export function updateFirewallConfigRequestBody5ToJSON( - updateFirewallConfigRequestBody5: UpdateFirewallConfigRequestBody5, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBody5$outboundSchema.parse( - updateFirewallConfigRequestBody5, - ), - ); -} - -export function updateFirewallConfigRequestBody5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateFirewallConfigRequestBody5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateFirewallConfigRequestBody5' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequestAction$inboundSchema: - z.ZodNativeEnum = - z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequestAction); - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequestAction$outboundSchema: - z.ZodNativeEnum = - UpdateFirewallConfigRequestBodySecurityRequestAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequestAction$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequestAction$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequestAction$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRequestBody4$inboundSchema: z.ZodType< - UpdateFirewallConfigRequestBody4, - z.ZodTypeDef, - unknown -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequestAction$inboundSchema, - id: z.string(), - value: z.nullable(z.any()).optional(), -}); - -/** @internal */ -export type UpdateFirewallConfigRequestBody4$Outbound = { - action: string; - id: string; - value?: any | null | undefined; -}; - -/** @internal */ -export const UpdateFirewallConfigRequestBody4$outboundSchema: z.ZodType< - UpdateFirewallConfigRequestBody4$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBody4 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequestAction$outboundSchema, - id: z.string(), - value: z.nullable(z.any()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBody4$ { - /** @deprecated use `UpdateFirewallConfigRequestBody4$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRequestBody4$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody4$outboundSchema` instead. */ - export const outboundSchema = UpdateFirewallConfigRequestBody4$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody4$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBody4$Outbound; -} - -export function updateFirewallConfigRequestBody4ToJSON( - updateFirewallConfigRequestBody4: UpdateFirewallConfigRequestBody4, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBody4$outboundSchema.parse( - updateFirewallConfigRequestBody4, - ), - ); -} - -export function updateFirewallConfigRequestBody4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateFirewallConfigRequestBody4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateFirewallConfigRequestBody4' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateFirewallConfigRequestBodySecurityAction); - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityAction$outboundSchema: - z.ZodNativeEnum = - UpdateFirewallConfigRequestBodySecurityAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityAction$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityAction$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityAction$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateFirewallConfigRequestBodySecurityType); - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityType$outboundSchema: - z.ZodNativeEnum = - UpdateFirewallConfigRequestBodySecurityType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityType$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityType$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityType$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityType$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityType$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodyOp$inboundSchema: z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodyOp -> = z.nativeEnum(UpdateFirewallConfigRequestBodyOp); - -/** @internal */ -export const UpdateFirewallConfigRequestBodyOp$outboundSchema: z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodyOp -> = UpdateFirewallConfigRequestBodyOp$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodyOp$ { - /** @deprecated use `UpdateFirewallConfigRequestBodyOp$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRequestBodyOp$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodyOp$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodyOp$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest3Value$inboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodySecurityRequest3Value, - z.ZodTypeDef, - unknown - > = z.union([z.string(), z.array(z.string()), z.number()]); - -/** @internal */ -export type UpdateFirewallConfigRequestBodySecurityRequest3Value$Outbound = - | string - | Array - | number; - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest3Value$outboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodySecurityRequest3Value$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBodySecurityRequest3Value - > = z.union([z.string(), z.array(z.string()), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest3Value$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest3Value$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest3Value$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest3Value$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest3Value$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest3Value$Outbound` instead. */ - export type Outbound = - UpdateFirewallConfigRequestBodySecurityRequest3Value$Outbound; -} - -export function updateFirewallConfigRequestBodySecurityRequest3ValueToJSON( - updateFirewallConfigRequestBodySecurityRequest3Value: - UpdateFirewallConfigRequestBodySecurityRequest3Value, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBodySecurityRequest3Value$outboundSchema.parse( - updateFirewallConfigRequestBodySecurityRequest3Value, - ), - ); -} - -export function updateFirewallConfigRequestBodySecurityRequest3ValueFromJSON( - jsonString: string, -): SafeParseResult< - UpdateFirewallConfigRequestBodySecurityRequest3Value, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRequestBodySecurityRequest3Value$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequest3Value' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodyConditions$inboundSchema: z.ZodType< - UpdateFirewallConfigRequestBodyConditions, - z.ZodTypeDef, - unknown -> = z.object({ - type: UpdateFirewallConfigRequestBodySecurityType$inboundSchema, - op: UpdateFirewallConfigRequestBodyOp$inboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: z.union([z.string(), z.array(z.string()), z.number()]).optional(), -}); - -/** @internal */ -export type UpdateFirewallConfigRequestBodyConditions$Outbound = { - type: string; - op: string; - neg?: boolean | undefined; - key?: string | undefined; - value?: string | Array | number | undefined; -}; - -/** @internal */ -export const UpdateFirewallConfigRequestBodyConditions$outboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodyConditions$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBodyConditions - > = z.object({ - type: UpdateFirewallConfigRequestBodySecurityType$outboundSchema, - op: UpdateFirewallConfigRequestBodyOp$outboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: z.union([z.string(), z.array(z.string()), z.number()]).optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodyConditions$ { - /** @deprecated use `UpdateFirewallConfigRequestBodyConditions$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodyConditions$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodyConditions$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodyConditions$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodyConditions$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBodyConditions$Outbound; -} - -export function updateFirewallConfigRequestBodyConditionsToJSON( - updateFirewallConfigRequestBodyConditions: - UpdateFirewallConfigRequestBodyConditions, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBodyConditions$outboundSchema.parse( - updateFirewallConfigRequestBodyConditions, - ), - ); -} - -export function updateFirewallConfigRequestBodyConditionsFromJSON( - jsonString: string, -): SafeParseResult< - UpdateFirewallConfigRequestBodyConditions, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRequestBodyConditions$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateFirewallConfigRequestBodyConditions' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodyConditionGroup$inboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodyConditionGroup, - z.ZodTypeDef, - unknown - > = z.object({ - conditions: z.array( - z.lazy(() => UpdateFirewallConfigRequestBodyConditions$inboundSchema), - ), - }); - -/** @internal */ -export type UpdateFirewallConfigRequestBodyConditionGroup$Outbound = { - conditions: Array; -}; - -/** @internal */ -export const UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodyConditionGroup$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBodyConditionGroup - > = z.object({ - conditions: z.array( - z.lazy(() => UpdateFirewallConfigRequestBodyConditions$outboundSchema), - ), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodyConditionGroup$ { - /** @deprecated use `UpdateFirewallConfigRequestBodyConditionGroup$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodyConditionGroup$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodyConditionGroup$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBodyConditionGroup$Outbound; -} - -export function updateFirewallConfigRequestBodyConditionGroupToJSON( - updateFirewallConfigRequestBodyConditionGroup: - UpdateFirewallConfigRequestBodyConditionGroup, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema.parse( - updateFirewallConfigRequestBodyConditionGroup, - ), - ); -} - -export function updateFirewallConfigRequestBodyConditionGroupFromJSON( - jsonString: string, -): SafeParseResult< - UpdateFirewallConfigRequestBodyConditionGroup, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRequestBodyConditionGroup$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateFirewallConfigRequestBodyConditionGroup' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$inboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest3ValueAction - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest3ValueAction); - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$outboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest3ValueAction - > = UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRateLimitAlgo$inboundSchema: z.ZodNativeEnum< - typeof UpdateFirewallConfigRateLimitAlgo -> = z.nativeEnum(UpdateFirewallConfigRateLimitAlgo); - -/** @internal */ -export const UpdateFirewallConfigRateLimitAlgo$outboundSchema: z.ZodNativeEnum< - typeof UpdateFirewallConfigRateLimitAlgo -> = UpdateFirewallConfigRateLimitAlgo$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRateLimitAlgo$ { - /** @deprecated use `UpdateFirewallConfigRateLimitAlgo$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRateLimitAlgo$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRateLimitAlgo$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRateLimitAlgo$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigActionSecurity1$inboundSchema: z.ZodNativeEnum< - typeof UpdateFirewallConfigActionSecurity1 -> = z.nativeEnum(UpdateFirewallConfigActionSecurity1); - -/** @internal */ -export const UpdateFirewallConfigActionSecurity1$outboundSchema: - z.ZodNativeEnum = - UpdateFirewallConfigActionSecurity1$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigActionSecurity1$ { - /** @deprecated use `UpdateFirewallConfigActionSecurity1$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigActionSecurity1$inboundSchema; - /** @deprecated use `UpdateFirewallConfigActionSecurity1$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigActionSecurity1$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRateLimitSecurityAction$inboundSchema: - z.ZodType< - UpdateFirewallConfigRateLimitSecurityAction, - z.ZodTypeDef, - unknown - > = z.union([UpdateFirewallConfigActionSecurity1$inboundSchema, z.any()]); - -/** @internal */ -export type UpdateFirewallConfigRateLimitSecurityAction$Outbound = string | any; - -/** @internal */ -export const UpdateFirewallConfigRateLimitSecurityAction$outboundSchema: - z.ZodType< - UpdateFirewallConfigRateLimitSecurityAction$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRateLimitSecurityAction - > = z.union([UpdateFirewallConfigActionSecurity1$outboundSchema, z.any()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRateLimitSecurityAction$ { - /** @deprecated use `UpdateFirewallConfigRateLimitSecurityAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRateLimitSecurityAction$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRateLimitSecurityAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRateLimitSecurityAction$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRateLimitSecurityAction$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRateLimitSecurityAction$Outbound; -} - -export function updateFirewallConfigRateLimitSecurityActionToJSON( - updateFirewallConfigRateLimitSecurityAction: - UpdateFirewallConfigRateLimitSecurityAction, -): string { - return JSON.stringify( - UpdateFirewallConfigRateLimitSecurityAction$outboundSchema.parse( - updateFirewallConfigRateLimitSecurityAction, - ), - ); -} - -export function updateFirewallConfigRateLimitSecurityActionFromJSON( - jsonString: string, -): SafeParseResult< - UpdateFirewallConfigRateLimitSecurityAction, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRateLimitSecurityAction$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateFirewallConfigRateLimitSecurityAction' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRateLimitSecurity1$inboundSchema: z.ZodType< - UpdateFirewallConfigRateLimitSecurity1, - z.ZodTypeDef, - unknown -> = z.object({ - algo: UpdateFirewallConfigRateLimitAlgo$inboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), - action: z.nullable( - z.union([UpdateFirewallConfigActionSecurity1$inboundSchema, z.any()]), - ).optional(), -}); - -/** @internal */ -export type UpdateFirewallConfigRateLimitSecurity1$Outbound = { - algo: string; - window: number; - limit: number; - keys: Array; - action?: string | any | null | undefined; -}; - -/** @internal */ -export const UpdateFirewallConfigRateLimitSecurity1$outboundSchema: z.ZodType< - UpdateFirewallConfigRateLimitSecurity1$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRateLimitSecurity1 -> = z.object({ - algo: UpdateFirewallConfigRateLimitAlgo$outboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), - action: z.nullable( - z.union([UpdateFirewallConfigActionSecurity1$outboundSchema, z.any()]), - ).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRateLimitSecurity1$ { - /** @deprecated use `UpdateFirewallConfigRateLimitSecurity1$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRateLimitSecurity1$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRateLimitSecurity1$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRateLimitSecurity1$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRateLimitSecurity1$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRateLimitSecurity1$Outbound; -} - -export function updateFirewallConfigRateLimitSecurity1ToJSON( - updateFirewallConfigRateLimitSecurity1: - UpdateFirewallConfigRateLimitSecurity1, -): string { - return JSON.stringify( - UpdateFirewallConfigRateLimitSecurity1$outboundSchema.parse( - updateFirewallConfigRateLimitSecurity1, - ), - ); -} - -export function updateFirewallConfigRateLimitSecurity1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRateLimitSecurity1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateFirewallConfigRateLimitSecurity1' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodyRateLimit$inboundSchema: z.ZodType< - UpdateFirewallConfigRequestBodyRateLimit, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$inboundSchema), - z.any(), -]); - -/** @internal */ -export type UpdateFirewallConfigRequestBodyRateLimit$Outbound = - | UpdateFirewallConfigRateLimitSecurity1$Outbound - | any; - -/** @internal */ -export const UpdateFirewallConfigRequestBodyRateLimit$outboundSchema: z.ZodType< - UpdateFirewallConfigRequestBodyRateLimit$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBodyRateLimit -> = z.union([ - z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$outboundSchema), - z.any(), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodyRateLimit$ { - /** @deprecated use `UpdateFirewallConfigRequestBodyRateLimit$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodyRateLimit$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodyRateLimit$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodyRateLimit$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodyRateLimit$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBodyRateLimit$Outbound; -} - -export function updateFirewallConfigRequestBodyRateLimitToJSON( - updateFirewallConfigRequestBodyRateLimit: - UpdateFirewallConfigRequestBodyRateLimit, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBodyRateLimit$outboundSchema.parse( - updateFirewallConfigRequestBodyRateLimit, - ), - ); -} - -export function updateFirewallConfigRequestBodyRateLimitFromJSON( - jsonString: string, -): SafeParseResult< - UpdateFirewallConfigRequestBodyRateLimit, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRequestBodyRateLimit$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateFirewallConfigRequestBodyRateLimit' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRedirectSecurity1$inboundSchema: z.ZodType< - UpdateFirewallConfigRedirectSecurity1, - z.ZodTypeDef, - unknown -> = z.object({ - location: z.string(), - permanent: z.boolean(), -}); - -/** @internal */ -export type UpdateFirewallConfigRedirectSecurity1$Outbound = { - location: string; - permanent: boolean; -}; - -/** @internal */ -export const UpdateFirewallConfigRedirectSecurity1$outboundSchema: z.ZodType< - UpdateFirewallConfigRedirectSecurity1$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRedirectSecurity1 -> = z.object({ - location: z.string(), - permanent: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRedirectSecurity1$ { - /** @deprecated use `UpdateFirewallConfigRedirectSecurity1$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRedirectSecurity1$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRedirectSecurity1$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRedirectSecurity1$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRedirectSecurity1$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRedirectSecurity1$Outbound; -} - -export function updateFirewallConfigRedirectSecurity1ToJSON( - updateFirewallConfigRedirectSecurity1: UpdateFirewallConfigRedirectSecurity1, -): string { - return JSON.stringify( - UpdateFirewallConfigRedirectSecurity1$outboundSchema.parse( - updateFirewallConfigRedirectSecurity1, - ), - ); -} - -export function updateFirewallConfigRedirectSecurity1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRedirectSecurity1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateFirewallConfigRedirectSecurity1' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodyRedirect$inboundSchema: z.ZodType< - UpdateFirewallConfigRequestBodyRedirect, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => UpdateFirewallConfigRedirectSecurity1$inboundSchema), - z.any(), -]); - -/** @internal */ -export type UpdateFirewallConfigRequestBodyRedirect$Outbound = - | UpdateFirewallConfigRedirectSecurity1$Outbound - | any; - -/** @internal */ -export const UpdateFirewallConfigRequestBodyRedirect$outboundSchema: z.ZodType< - UpdateFirewallConfigRequestBodyRedirect$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBodyRedirect -> = z.union([ - z.lazy(() => UpdateFirewallConfigRedirectSecurity1$outboundSchema), - z.any(), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodyRedirect$ { - /** @deprecated use `UpdateFirewallConfigRequestBodyRedirect$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodyRedirect$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodyRedirect$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodyRedirect$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodyRedirect$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBodyRedirect$Outbound; -} - -export function updateFirewallConfigRequestBodyRedirectToJSON( - updateFirewallConfigRequestBodyRedirect: - UpdateFirewallConfigRequestBodyRedirect, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBodyRedirect$outboundSchema.parse( - updateFirewallConfigRequestBodyRedirect, - ), - ); -} - -export function updateFirewallConfigRequestBodyRedirectFromJSON( - jsonString: string, -): SafeParseResult< - UpdateFirewallConfigRequestBodyRedirect, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRequestBodyRedirect$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateFirewallConfigRequestBodyRedirect' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodyMitigate$inboundSchema: z.ZodType< - UpdateFirewallConfigRequestBodyMitigate, - z.ZodTypeDef, - unknown -> = z.object({ - action: - UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$inboundSchema, - rateLimit: z.nullable( - z.union([ - z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$inboundSchema), - z.any(), - ]), - ).optional(), - redirect: z.nullable( - z.union([ - z.lazy(() => UpdateFirewallConfigRedirectSecurity1$inboundSchema), - z.any(), - ]), - ).optional(), - actionDuration: z.nullable(z.string()).optional(), -}); - -/** @internal */ -export type UpdateFirewallConfigRequestBodyMitigate$Outbound = { - action: string; - rateLimit?: - | UpdateFirewallConfigRateLimitSecurity1$Outbound - | any - | null - | undefined; - redirect?: - | UpdateFirewallConfigRedirectSecurity1$Outbound - | any - | null - | undefined; - actionDuration?: string | null | undefined; -}; - -/** @internal */ -export const UpdateFirewallConfigRequestBodyMitigate$outboundSchema: z.ZodType< - UpdateFirewallConfigRequestBodyMitigate$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBodyMitigate -> = z.object({ - action: - UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$outboundSchema, - rateLimit: z.nullable( - z.union([ - z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$outboundSchema), - z.any(), - ]), - ).optional(), - redirect: z.nullable( - z.union([ - z.lazy(() => UpdateFirewallConfigRedirectSecurity1$outboundSchema), - z.any(), - ]), - ).optional(), - actionDuration: z.nullable(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodyMitigate$ { - /** @deprecated use `UpdateFirewallConfigRequestBodyMitigate$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodyMitigate$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodyMitigate$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodyMitigate$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodyMitigate$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBodyMitigate$Outbound; -} - -export function updateFirewallConfigRequestBodyMitigateToJSON( - updateFirewallConfigRequestBodyMitigate: - UpdateFirewallConfigRequestBodyMitigate, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBodyMitigate$outboundSchema.parse( - updateFirewallConfigRequestBodyMitigate, - ), - ); -} - -export function updateFirewallConfigRequestBodyMitigateFromJSON( - jsonString: string, -): SafeParseResult< - UpdateFirewallConfigRequestBodyMitigate, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRequestBodyMitigate$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateFirewallConfigRequestBodyMitigate' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest3Action$inboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodySecurityRequest3Action, - z.ZodTypeDef, - unknown - > = z.object({ - mitigate: z.lazy(() => - UpdateFirewallConfigRequestBodyMitigate$inboundSchema - ).optional(), - }); - -/** @internal */ -export type UpdateFirewallConfigRequestBodySecurityRequest3Action$Outbound = { - mitigate?: UpdateFirewallConfigRequestBodyMitigate$Outbound | undefined; -}; - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest3Action$outboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodySecurityRequest3Action$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBodySecurityRequest3Action - > = z.object({ - mitigate: z.lazy(() => - UpdateFirewallConfigRequestBodyMitigate$outboundSchema - ).optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest3Action$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest3Action$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest3Action$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest3Action$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest3Action$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest3Action$Outbound` instead. */ - export type Outbound = - UpdateFirewallConfigRequestBodySecurityRequest3Action$Outbound; -} - -export function updateFirewallConfigRequestBodySecurityRequest3ActionToJSON( - updateFirewallConfigRequestBodySecurityRequest3Action: - UpdateFirewallConfigRequestBodySecurityRequest3Action, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBodySecurityRequest3Action$outboundSchema.parse( - updateFirewallConfigRequestBodySecurityRequest3Action, - ), - ); -} - -export function updateFirewallConfigRequestBodySecurityRequest3ActionFromJSON( - jsonString: string, -): SafeParseResult< - UpdateFirewallConfigRequestBodySecurityRequest3Action, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRequestBodySecurityRequest3Action$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequest3Action' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodyValue$inboundSchema: z.ZodType< - UpdateFirewallConfigRequestBodyValue, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array( - z.lazy(() => UpdateFirewallConfigRequestBodyConditionGroup$inboundSchema), - ), - action: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest3Action$inboundSchema - ), -}); - -/** @internal */ -export type UpdateFirewallConfigRequestBodyValue$Outbound = { - name: string; - description?: string | undefined; - active: boolean; - conditionGroup: Array; - action: UpdateFirewallConfigRequestBodySecurityRequest3Action$Outbound; -}; - -/** @internal */ -export const UpdateFirewallConfigRequestBodyValue$outboundSchema: z.ZodType< - UpdateFirewallConfigRequestBodyValue$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBodyValue -> = z.object({ - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array( - z.lazy(() => UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema), - ), - action: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest3Action$outboundSchema - ), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodyValue$ { - /** @deprecated use `UpdateFirewallConfigRequestBodyValue$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodyValue$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodyValue$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodyValue$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodyValue$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBodyValue$Outbound; -} - -export function updateFirewallConfigRequestBodyValueToJSON( - updateFirewallConfigRequestBodyValue: UpdateFirewallConfigRequestBodyValue, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBodyValue$outboundSchema.parse( - updateFirewallConfigRequestBodyValue, - ), - ); -} - -export function updateFirewallConfigRequestBodyValueFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRequestBodyValue$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateFirewallConfigRequestBodyValue' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBody3$inboundSchema: z.ZodType< - UpdateFirewallConfigRequestBody3, - z.ZodTypeDef, - unknown -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityAction$inboundSchema, - id: z.string(), - value: z.lazy(() => UpdateFirewallConfigRequestBodyValue$inboundSchema), -}); - -/** @internal */ -export type UpdateFirewallConfigRequestBody3$Outbound = { - action: string; - id: string; - value: UpdateFirewallConfigRequestBodyValue$Outbound; -}; - -/** @internal */ -export const UpdateFirewallConfigRequestBody3$outboundSchema: z.ZodType< - UpdateFirewallConfigRequestBody3$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBody3 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityAction$outboundSchema, - id: z.string(), - value: z.lazy(() => UpdateFirewallConfigRequestBodyValue$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBody3$ { - /** @deprecated use `UpdateFirewallConfigRequestBody3$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRequestBody3$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody3$outboundSchema` instead. */ - export const outboundSchema = UpdateFirewallConfigRequestBody3$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody3$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBody3$Outbound; -} - -export function updateFirewallConfigRequestBody3ToJSON( - updateFirewallConfigRequestBody3: UpdateFirewallConfigRequestBody3, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBody3$outboundSchema.parse( - updateFirewallConfigRequestBody3, - ), - ); -} - -export function updateFirewallConfigRequestBody3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateFirewallConfigRequestBody3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateFirewallConfigRequestBody3' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodyAction$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateFirewallConfigRequestBodyAction, - ); - -/** @internal */ -export const UpdateFirewallConfigRequestBodyAction$outboundSchema: - z.ZodNativeEnum = - UpdateFirewallConfigRequestBodyAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodyAction$ { - /** @deprecated use `UpdateFirewallConfigRequestBodyAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodyAction$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodyAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodyAction$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodyType$inboundSchema: z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodyType -> = z.nativeEnum(UpdateFirewallConfigRequestBodyType); - -/** @internal */ -export const UpdateFirewallConfigRequestBodyType$outboundSchema: - z.ZodNativeEnum = - UpdateFirewallConfigRequestBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodyType$ { - /** @deprecated use `UpdateFirewallConfigRequestBodyType$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodyType$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodyType$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodyType$outboundSchema; -} - -/** @internal */ -export const RequestBodyOp$inboundSchema: z.ZodNativeEnum< - typeof RequestBodyOp -> = z.nativeEnum(RequestBodyOp); - -/** @internal */ -export const RequestBodyOp$outboundSchema: z.ZodNativeEnum< - typeof RequestBodyOp -> = RequestBodyOp$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBodyOp$ { - /** @deprecated use `RequestBodyOp$inboundSchema` instead. */ - export const inboundSchema = RequestBodyOp$inboundSchema; - /** @deprecated use `RequestBodyOp$outboundSchema` instead. */ - export const outboundSchema = RequestBodyOp$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest2Value$inboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodySecurityRequest2Value, - z.ZodTypeDef, - unknown - > = z.union([z.string(), z.array(z.string()), z.number()]); - -/** @internal */ -export type UpdateFirewallConfigRequestBodySecurityRequest2Value$Outbound = - | string - | Array - | number; - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest2Value$outboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodySecurityRequest2Value$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBodySecurityRequest2Value - > = z.union([z.string(), z.array(z.string()), z.number()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest2Value$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest2Value$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest2Value$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest2Value$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest2Value$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest2Value$Outbound` instead. */ - export type Outbound = - UpdateFirewallConfigRequestBodySecurityRequest2Value$Outbound; -} - -export function updateFirewallConfigRequestBodySecurityRequest2ValueToJSON( - updateFirewallConfigRequestBodySecurityRequest2Value: - UpdateFirewallConfigRequestBodySecurityRequest2Value, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBodySecurityRequest2Value$outboundSchema.parse( - updateFirewallConfigRequestBodySecurityRequest2Value, - ), - ); -} - -export function updateFirewallConfigRequestBodySecurityRequest2ValueFromJSON( - jsonString: string, -): SafeParseResult< - UpdateFirewallConfigRequestBodySecurityRequest2Value, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRequestBodySecurityRequest2Value$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequest2Value' from JSON`, - ); -} - -/** @internal */ -export const RequestBodyConditions$inboundSchema: z.ZodType< - RequestBodyConditions, - z.ZodTypeDef, - unknown -> = z.object({ - type: UpdateFirewallConfigRequestBodyType$inboundSchema, - op: RequestBodyOp$inboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: z.union([z.string(), z.array(z.string()), z.number()]).optional(), -}); - -/** @internal */ -export type RequestBodyConditions$Outbound = { - type: string; - op: string; - neg?: boolean | undefined; - key?: string | undefined; - value?: string | Array | number | undefined; -}; - -/** @internal */ -export const RequestBodyConditions$outboundSchema: z.ZodType< - RequestBodyConditions$Outbound, - z.ZodTypeDef, - RequestBodyConditions -> = z.object({ - type: UpdateFirewallConfigRequestBodyType$outboundSchema, - op: RequestBodyOp$outboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: z.union([z.string(), z.array(z.string()), z.number()]).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBodyConditions$ { - /** @deprecated use `RequestBodyConditions$inboundSchema` instead. */ - export const inboundSchema = RequestBodyConditions$inboundSchema; - /** @deprecated use `RequestBodyConditions$outboundSchema` instead. */ - export const outboundSchema = RequestBodyConditions$outboundSchema; - /** @deprecated use `RequestBodyConditions$Outbound` instead. */ - export type Outbound = RequestBodyConditions$Outbound; -} - -export function requestBodyConditionsToJSON( - requestBodyConditions: RequestBodyConditions, -): string { - return JSON.stringify( - RequestBodyConditions$outboundSchema.parse(requestBodyConditions), - ); -} - -export function requestBodyConditionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBodyConditions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBodyConditions' from JSON`, - ); -} - -/** @internal */ -export const RequestBodyConditionGroup$inboundSchema: z.ZodType< - RequestBodyConditionGroup, - z.ZodTypeDef, - unknown -> = z.object({ - conditions: z.array(z.lazy(() => RequestBodyConditions$inboundSchema)), -}); - -/** @internal */ -export type RequestBodyConditionGroup$Outbound = { - conditions: Array; -}; - -/** @internal */ -export const RequestBodyConditionGroup$outboundSchema: z.ZodType< - RequestBodyConditionGroup$Outbound, - z.ZodTypeDef, - RequestBodyConditionGroup -> = z.object({ - conditions: z.array(z.lazy(() => RequestBodyConditions$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBodyConditionGroup$ { - /** @deprecated use `RequestBodyConditionGroup$inboundSchema` instead. */ - export const inboundSchema = RequestBodyConditionGroup$inboundSchema; - /** @deprecated use `RequestBodyConditionGroup$outboundSchema` instead. */ - export const outboundSchema = RequestBodyConditionGroup$outboundSchema; - /** @deprecated use `RequestBodyConditionGroup$Outbound` instead. */ - export type Outbound = RequestBodyConditionGroup$Outbound; -} - -export function requestBodyConditionGroupToJSON( - requestBodyConditionGroup: RequestBodyConditionGroup, -): string { - return JSON.stringify( - RequestBodyConditionGroup$outboundSchema.parse(requestBodyConditionGroup), - ); -} - -export function requestBodyConditionGroupFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBodyConditionGroup$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBodyConditionGroup' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$inboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest2ValueAction - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest2ValueAction); - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$outboundSchema: - z.ZodNativeEnum< - typeof UpdateFirewallConfigRequestBodySecurityRequest2ValueAction - > = UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$outboundSchema; -} - -/** @internal */ -export const RateLimitAlgo$inboundSchema: z.ZodNativeEnum< - typeof RateLimitAlgo -> = z.nativeEnum(RateLimitAlgo); - -/** @internal */ -export const RateLimitAlgo$outboundSchema: z.ZodNativeEnum< - typeof RateLimitAlgo -> = RateLimitAlgo$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RateLimitAlgo$ { - /** @deprecated use `RateLimitAlgo$inboundSchema` instead. */ - export const inboundSchema = RateLimitAlgo$inboundSchema; - /** @deprecated use `RateLimitAlgo$outboundSchema` instead. */ - export const outboundSchema = RateLimitAlgo$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigAction1$inboundSchema: z.ZodNativeEnum< - typeof UpdateFirewallConfigAction1 -> = z.nativeEnum(UpdateFirewallConfigAction1); - -/** @internal */ -export const UpdateFirewallConfigAction1$outboundSchema: z.ZodNativeEnum< - typeof UpdateFirewallConfigAction1 -> = UpdateFirewallConfigAction1$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigAction1$ { - /** @deprecated use `UpdateFirewallConfigAction1$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigAction1$inboundSchema; - /** @deprecated use `UpdateFirewallConfigAction1$outboundSchema` instead. */ - export const outboundSchema = UpdateFirewallConfigAction1$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRateLimitAction$inboundSchema: z.ZodType< - UpdateFirewallConfigRateLimitAction, - z.ZodTypeDef, - unknown -> = z.union([UpdateFirewallConfigAction1$inboundSchema, z.any()]); - -/** @internal */ -export type UpdateFirewallConfigRateLimitAction$Outbound = string | any; - -/** @internal */ -export const UpdateFirewallConfigRateLimitAction$outboundSchema: z.ZodType< - UpdateFirewallConfigRateLimitAction$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRateLimitAction -> = z.union([UpdateFirewallConfigAction1$outboundSchema, z.any()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRateLimitAction$ { - /** @deprecated use `UpdateFirewallConfigRateLimitAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRateLimitAction$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRateLimitAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRateLimitAction$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRateLimitAction$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRateLimitAction$Outbound; -} - -export function updateFirewallConfigRateLimitActionToJSON( - updateFirewallConfigRateLimitAction: UpdateFirewallConfigRateLimitAction, -): string { - return JSON.stringify( - UpdateFirewallConfigRateLimitAction$outboundSchema.parse( - updateFirewallConfigRateLimitAction, - ), - ); -} - -export function updateFirewallConfigRateLimitActionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRateLimitAction$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateFirewallConfigRateLimitAction' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRateLimit1$inboundSchema: z.ZodType< - UpdateFirewallConfigRateLimit1, - z.ZodTypeDef, - unknown -> = z.object({ - algo: RateLimitAlgo$inboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), - action: z.nullable( - z.union([UpdateFirewallConfigAction1$inboundSchema, z.any()]), - ).optional(), -}); - -/** @internal */ -export type UpdateFirewallConfigRateLimit1$Outbound = { - algo: string; - window: number; - limit: number; - keys: Array; - action?: string | any | null | undefined; -}; - -/** @internal */ -export const UpdateFirewallConfigRateLimit1$outboundSchema: z.ZodType< - UpdateFirewallConfigRateLimit1$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRateLimit1 -> = z.object({ - algo: RateLimitAlgo$outboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), - action: z.nullable( - z.union([UpdateFirewallConfigAction1$outboundSchema, z.any()]), - ).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRateLimit1$ { - /** @deprecated use `UpdateFirewallConfigRateLimit1$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRateLimit1$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRateLimit1$outboundSchema` instead. */ - export const outboundSchema = UpdateFirewallConfigRateLimit1$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRateLimit1$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRateLimit1$Outbound; -} - -export function updateFirewallConfigRateLimit1ToJSON( - updateFirewallConfigRateLimit1: UpdateFirewallConfigRateLimit1, -): string { - return JSON.stringify( - UpdateFirewallConfigRateLimit1$outboundSchema.parse( - updateFirewallConfigRateLimit1, - ), - ); -} - -export function updateFirewallConfigRateLimit1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateFirewallConfigRateLimit1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateFirewallConfigRateLimit1' from JSON`, - ); -} - -/** @internal */ -export const RequestBodyRateLimit$inboundSchema: z.ZodType< - RequestBodyRateLimit, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => UpdateFirewallConfigRateLimit1$inboundSchema), - z.any(), -]); - -/** @internal */ -export type RequestBodyRateLimit$Outbound = - | UpdateFirewallConfigRateLimit1$Outbound - | any; - -/** @internal */ -export const RequestBodyRateLimit$outboundSchema: z.ZodType< - RequestBodyRateLimit$Outbound, - z.ZodTypeDef, - RequestBodyRateLimit -> = z.union([ - z.lazy(() => UpdateFirewallConfigRateLimit1$outboundSchema), - z.any(), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBodyRateLimit$ { - /** @deprecated use `RequestBodyRateLimit$inboundSchema` instead. */ - export const inboundSchema = RequestBodyRateLimit$inboundSchema; - /** @deprecated use `RequestBodyRateLimit$outboundSchema` instead. */ - export const outboundSchema = RequestBodyRateLimit$outboundSchema; - /** @deprecated use `RequestBodyRateLimit$Outbound` instead. */ - export type Outbound = RequestBodyRateLimit$Outbound; -} - -export function requestBodyRateLimitToJSON( - requestBodyRateLimit: RequestBodyRateLimit, -): string { - return JSON.stringify( - RequestBodyRateLimit$outboundSchema.parse(requestBodyRateLimit), - ); -} - -export function requestBodyRateLimitFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBodyRateLimit$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBodyRateLimit' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRedirect1$inboundSchema: z.ZodType< - UpdateFirewallConfigRedirect1, - z.ZodTypeDef, - unknown -> = z.object({ - location: z.string(), - permanent: z.boolean(), -}); - -/** @internal */ -export type UpdateFirewallConfigRedirect1$Outbound = { - location: string; - permanent: boolean; -}; - -/** @internal */ -export const UpdateFirewallConfigRedirect1$outboundSchema: z.ZodType< - UpdateFirewallConfigRedirect1$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRedirect1 -> = z.object({ - location: z.string(), - permanent: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRedirect1$ { - /** @deprecated use `UpdateFirewallConfigRedirect1$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRedirect1$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRedirect1$outboundSchema` instead. */ - export const outboundSchema = UpdateFirewallConfigRedirect1$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRedirect1$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRedirect1$Outbound; -} - -export function updateFirewallConfigRedirect1ToJSON( - updateFirewallConfigRedirect1: UpdateFirewallConfigRedirect1, -): string { - return JSON.stringify( - UpdateFirewallConfigRedirect1$outboundSchema.parse( - updateFirewallConfigRedirect1, - ), - ); -} - -export function updateFirewallConfigRedirect1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateFirewallConfigRedirect1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateFirewallConfigRedirect1' from JSON`, - ); -} - -/** @internal */ -export const RequestBodyRedirect$inboundSchema: z.ZodType< - RequestBodyRedirect, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => UpdateFirewallConfigRedirect1$inboundSchema), - z.any(), -]); - -/** @internal */ -export type RequestBodyRedirect$Outbound = - | UpdateFirewallConfigRedirect1$Outbound - | any; - -/** @internal */ -export const RequestBodyRedirect$outboundSchema: z.ZodType< - RequestBodyRedirect$Outbound, - z.ZodTypeDef, - RequestBodyRedirect -> = z.union([ - z.lazy(() => UpdateFirewallConfigRedirect1$outboundSchema), - z.any(), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBodyRedirect$ { - /** @deprecated use `RequestBodyRedirect$inboundSchema` instead. */ - export const inboundSchema = RequestBodyRedirect$inboundSchema; - /** @deprecated use `RequestBodyRedirect$outboundSchema` instead. */ - export const outboundSchema = RequestBodyRedirect$outboundSchema; - /** @deprecated use `RequestBodyRedirect$Outbound` instead. */ - export type Outbound = RequestBodyRedirect$Outbound; -} - -export function requestBodyRedirectToJSON( - requestBodyRedirect: RequestBodyRedirect, -): string { - return JSON.stringify( - RequestBodyRedirect$outboundSchema.parse(requestBodyRedirect), - ); -} - -export function requestBodyRedirectFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBodyRedirect$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBodyRedirect' from JSON`, - ); -} - -/** @internal */ -export const RequestBodyMitigate$inboundSchema: z.ZodType< - RequestBodyMitigate, - z.ZodTypeDef, - unknown -> = z.object({ - action: - UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$inboundSchema, - rateLimit: z.nullable( - z.union([ - z.lazy(() => UpdateFirewallConfigRateLimit1$inboundSchema), - z.any(), - ]), - ).optional(), - redirect: z.nullable( - z.union([ - z.lazy(() => UpdateFirewallConfigRedirect1$inboundSchema), - z.any(), - ]), - ).optional(), - actionDuration: z.nullable(z.string()).optional(), -}); - -/** @internal */ -export type RequestBodyMitigate$Outbound = { - action: string; - rateLimit?: UpdateFirewallConfigRateLimit1$Outbound | any | null | undefined; - redirect?: UpdateFirewallConfigRedirect1$Outbound | any | null | undefined; - actionDuration?: string | null | undefined; -}; - -/** @internal */ -export const RequestBodyMitigate$outboundSchema: z.ZodType< - RequestBodyMitigate$Outbound, - z.ZodTypeDef, - RequestBodyMitigate -> = z.object({ - action: - UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$outboundSchema, - rateLimit: z.nullable( - z.union([ - z.lazy(() => UpdateFirewallConfigRateLimit1$outboundSchema), - z.any(), - ]), - ).optional(), - redirect: z.nullable( - z.union([ - z.lazy(() => UpdateFirewallConfigRedirect1$outboundSchema), - z.any(), - ]), - ).optional(), - actionDuration: z.nullable(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBodyMitigate$ { - /** @deprecated use `RequestBodyMitigate$inboundSchema` instead. */ - export const inboundSchema = RequestBodyMitigate$inboundSchema; - /** @deprecated use `RequestBodyMitigate$outboundSchema` instead. */ - export const outboundSchema = RequestBodyMitigate$outboundSchema; - /** @deprecated use `RequestBodyMitigate$Outbound` instead. */ - export type Outbound = RequestBodyMitigate$Outbound; -} - -export function requestBodyMitigateToJSON( - requestBodyMitigate: RequestBodyMitigate, -): string { - return JSON.stringify( - RequestBodyMitigate$outboundSchema.parse(requestBodyMitigate), - ); -} - -export function requestBodyMitigateFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBodyMitigate$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBodyMitigate' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest2Action$inboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodySecurityRequest2Action, - z.ZodTypeDef, - unknown - > = z.object({ - mitigate: z.lazy(() => RequestBodyMitigate$inboundSchema).optional(), - }); - -/** @internal */ -export type UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound = { - mitigate?: RequestBodyMitigate$Outbound | undefined; -}; - -/** @internal */ -export const UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchema: - z.ZodType< - UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBodySecurityRequest2Action - > = z.object({ - mitigate: z.lazy(() => RequestBodyMitigate$outboundSchema).optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest2Action$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest2Action$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest2Action$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound` instead. */ - export type Outbound = - UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound; -} - -export function updateFirewallConfigRequestBodySecurityRequest2ActionToJSON( - updateFirewallConfigRequestBodySecurityRequest2Action: - UpdateFirewallConfigRequestBodySecurityRequest2Action, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchema.parse( - updateFirewallConfigRequestBodySecurityRequest2Action, - ), - ); -} - -export function updateFirewallConfigRequestBodySecurityRequest2ActionFromJSON( - jsonString: string, -): SafeParseResult< - UpdateFirewallConfigRequestBodySecurityRequest2Action, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateFirewallConfigRequestBodySecurityRequest2Action$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequest2Action' from JSON`, - ); -} - -/** @internal */ -export const RequestBodyValue$inboundSchema: z.ZodType< - RequestBodyValue, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array( - z.lazy(() => RequestBodyConditionGroup$inboundSchema), - ), - action: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest2Action$inboundSchema - ), -}); - -/** @internal */ -export type RequestBodyValue$Outbound = { - name: string; - description?: string | undefined; - active: boolean; - conditionGroup: Array; - action: UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound; -}; - -/** @internal */ -export const RequestBodyValue$outboundSchema: z.ZodType< - RequestBodyValue$Outbound, - z.ZodTypeDef, - RequestBodyValue -> = z.object({ - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array( - z.lazy(() => RequestBodyConditionGroup$outboundSchema), - ), - action: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchema - ), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBodyValue$ { - /** @deprecated use `RequestBodyValue$inboundSchema` instead. */ - export const inboundSchema = RequestBodyValue$inboundSchema; - /** @deprecated use `RequestBodyValue$outboundSchema` instead. */ - export const outboundSchema = RequestBodyValue$outboundSchema; - /** @deprecated use `RequestBodyValue$Outbound` instead. */ - export type Outbound = RequestBodyValue$Outbound; -} - -export function requestBodyValueToJSON( - requestBodyValue: RequestBodyValue, -): string { - return JSON.stringify( - RequestBodyValue$outboundSchema.parse(requestBodyValue), - ); -} - -export function requestBodyValueFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RequestBodyValue$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RequestBodyValue' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBody2$inboundSchema: z.ZodType< - UpdateFirewallConfigRequestBody2, - z.ZodTypeDef, - unknown -> = z.object({ - action: UpdateFirewallConfigRequestBodyAction$inboundSchema, - id: z.nullable(z.any()).optional(), - value: z.lazy(() => RequestBodyValue$inboundSchema), -}); - -/** @internal */ -export type UpdateFirewallConfigRequestBody2$Outbound = { - action: string; - id?: any | null | undefined; - value: RequestBodyValue$Outbound; -}; - -/** @internal */ -export const UpdateFirewallConfigRequestBody2$outboundSchema: z.ZodType< - UpdateFirewallConfigRequestBody2$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBody2 -> = z.object({ - action: UpdateFirewallConfigRequestBodyAction$outboundSchema, - id: z.nullable(z.any()).optional(), - value: z.lazy(() => RequestBodyValue$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBody2$ { - /** @deprecated use `UpdateFirewallConfigRequestBody2$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRequestBody2$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody2$outboundSchema` instead. */ - export const outboundSchema = UpdateFirewallConfigRequestBody2$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody2$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBody2$Outbound; -} - -export function updateFirewallConfigRequestBody2ToJSON( - updateFirewallConfigRequestBody2: UpdateFirewallConfigRequestBody2, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBody2$outboundSchema.parse( - updateFirewallConfigRequestBody2, - ), - ); -} - -export function updateFirewallConfigRequestBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateFirewallConfigRequestBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateFirewallConfigRequestBody2' from JSON`, - ); -} - -/** @internal */ -export const RequestBodyAction$inboundSchema: z.ZodNativeEnum< - typeof RequestBodyAction -> = z.nativeEnum(RequestBodyAction); - -/** @internal */ -export const RequestBodyAction$outboundSchema: z.ZodNativeEnum< - typeof RequestBodyAction -> = RequestBodyAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBodyAction$ { - /** @deprecated use `RequestBodyAction$inboundSchema` instead. */ - export const inboundSchema = RequestBodyAction$inboundSchema; - /** @deprecated use `RequestBodyAction$outboundSchema` instead. */ - export const outboundSchema = RequestBodyAction$outboundSchema; -} - -/** @internal */ -export const UpdateFirewallConfigRequestBody1$inboundSchema: z.ZodType< - UpdateFirewallConfigRequestBody1, - z.ZodTypeDef, - unknown -> = z.object({ - action: RequestBodyAction$inboundSchema, - id: z.nullable(z.any()).optional(), - value: z.boolean(), -}); - -/** @internal */ -export type UpdateFirewallConfigRequestBody1$Outbound = { - action: string; - id?: any | null | undefined; - value: boolean; -}; - -/** @internal */ -export const UpdateFirewallConfigRequestBody1$outboundSchema: z.ZodType< - UpdateFirewallConfigRequestBody1$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBody1 -> = z.object({ - action: RequestBodyAction$outboundSchema, - id: z.nullable(z.any()).optional(), - value: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBody1$ { - /** @deprecated use `UpdateFirewallConfigRequestBody1$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRequestBody1$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody1$outboundSchema` instead. */ - export const outboundSchema = UpdateFirewallConfigRequestBody1$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody1$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBody1$Outbound; -} - -export function updateFirewallConfigRequestBody1ToJSON( - updateFirewallConfigRequestBody1: UpdateFirewallConfigRequestBody1, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBody1$outboundSchema.parse( - updateFirewallConfigRequestBody1, - ), - ); -} - -export function updateFirewallConfigRequestBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateFirewallConfigRequestBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateFirewallConfigRequestBody1' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequestBody$inboundSchema: z.ZodType< - UpdateFirewallConfigRequestBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => UpdateFirewallConfigRequestBody1$inboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody2$inboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody3$inboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody4$inboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody5$inboundSchema), - z.lazy(() => RequestBody6$inboundSchema), - z.lazy(() => RequestBody7$inboundSchema), - z.lazy(() => RequestBody8$inboundSchema), - z.lazy(() => RequestBody9$inboundSchema), - z.lazy(() => RequestBody10$inboundSchema), - z.lazy(() => Eleven$inboundSchema), -]); - -/** @internal */ -export type UpdateFirewallConfigRequestBody$Outbound = - | UpdateFirewallConfigRequestBody1$Outbound - | UpdateFirewallConfigRequestBody2$Outbound - | UpdateFirewallConfigRequestBody3$Outbound - | UpdateFirewallConfigRequestBody4$Outbound - | UpdateFirewallConfigRequestBody5$Outbound - | RequestBody6$Outbound - | RequestBody7$Outbound - | RequestBody8$Outbound - | RequestBody9$Outbound - | RequestBody10$Outbound - | Eleven$Outbound; - -/** @internal */ -export const UpdateFirewallConfigRequestBody$outboundSchema: z.ZodType< - UpdateFirewallConfigRequestBody$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequestBody -> = z.union([ - z.lazy(() => UpdateFirewallConfigRequestBody1$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody2$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody3$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody4$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody5$outboundSchema), - z.lazy(() => RequestBody6$outboundSchema), - z.lazy(() => RequestBody7$outboundSchema), - z.lazy(() => RequestBody8$outboundSchema), - z.lazy(() => RequestBody9$outboundSchema), - z.lazy(() => RequestBody10$outboundSchema), - z.lazy(() => Eleven$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBody$ { - /** @deprecated use `UpdateFirewallConfigRequestBody$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRequestBody$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody$outboundSchema` instead. */ - export const outboundSchema = UpdateFirewallConfigRequestBody$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBody$Outbound; -} - -export function updateFirewallConfigRequestBodyToJSON( - updateFirewallConfigRequestBody: UpdateFirewallConfigRequestBody, -): string { - return JSON.stringify( - UpdateFirewallConfigRequestBody$outboundSchema.parse( - updateFirewallConfigRequestBody, - ), - ); -} - -export function updateFirewallConfigRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateFirewallConfigRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateFirewallConfigRequestBody' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigRequest$inboundSchema: z.ZodType< - UpdateFirewallConfigRequest, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.union([ - z.lazy(() => UpdateFirewallConfigRequestBody1$inboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody2$inboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody3$inboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody4$inboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody5$inboundSchema), - z.lazy(() => RequestBody6$inboundSchema), - z.lazy(() => RequestBody7$inboundSchema), - z.lazy(() => RequestBody8$inboundSchema), - z.lazy(() => RequestBody9$inboundSchema), - z.lazy(() => RequestBody10$inboundSchema), - z.lazy(() => Eleven$inboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type UpdateFirewallConfigRequest$Outbound = { - projectId: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: - | UpdateFirewallConfigRequestBody1$Outbound - | UpdateFirewallConfigRequestBody2$Outbound - | UpdateFirewallConfigRequestBody3$Outbound - | UpdateFirewallConfigRequestBody4$Outbound - | UpdateFirewallConfigRequestBody5$Outbound - | RequestBody6$Outbound - | RequestBody7$Outbound - | RequestBody8$Outbound - | RequestBody9$Outbound - | RequestBody10$Outbound - | Eleven$Outbound - | undefined; -}; - -/** @internal */ -export const UpdateFirewallConfigRequest$outboundSchema: z.ZodType< - UpdateFirewallConfigRequest$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.union([ - z.lazy(() => UpdateFirewallConfigRequestBody1$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody2$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody3$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody4$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody5$outboundSchema), - z.lazy(() => RequestBody6$outboundSchema), - z.lazy(() => RequestBody7$outboundSchema), - z.lazy(() => RequestBody8$outboundSchema), - z.lazy(() => RequestBody9$outboundSchema), - z.lazy(() => RequestBody10$outboundSchema), - z.lazy(() => Eleven$outboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequest$ { - /** @deprecated use `UpdateFirewallConfigRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRequest$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequest$outboundSchema` instead. */ - export const outboundSchema = UpdateFirewallConfigRequest$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequest$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequest$Outbound; -} - -export function updateFirewallConfigRequestToJSON( - updateFirewallConfigRequest: UpdateFirewallConfigRequest, -): string { - return JSON.stringify( - UpdateFirewallConfigRequest$outboundSchema.parse( - updateFirewallConfigRequest, - ), - ); -} - -export function updateFirewallConfigRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateFirewallConfigRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateFirewallConfigRequest' from JSON`, - ); -} - -/** @internal */ -export const UpdateFirewallConfigResponseBody$inboundSchema: z.ZodType< - UpdateFirewallConfigResponseBody, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UpdateFirewallConfigResponseBody$Outbound = {}; - -/** @internal */ -export const UpdateFirewallConfigResponseBody$outboundSchema: z.ZodType< - UpdateFirewallConfigResponseBody$Outbound, - z.ZodTypeDef, - UpdateFirewallConfigResponseBody -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigResponseBody$ { - /** @deprecated use `UpdateFirewallConfigResponseBody$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigResponseBody$inboundSchema; - /** @deprecated use `UpdateFirewallConfigResponseBody$outboundSchema` instead. */ - export const outboundSchema = UpdateFirewallConfigResponseBody$outboundSchema; - /** @deprecated use `UpdateFirewallConfigResponseBody$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigResponseBody$Outbound; -} - -export function updateFirewallConfigResponseBodyToJSON( - updateFirewallConfigResponseBody: UpdateFirewallConfigResponseBody, -): string { - return JSON.stringify( - UpdateFirewallConfigResponseBody$outboundSchema.parse( - updateFirewallConfigResponseBody, - ), - ); -} - -export function updateFirewallConfigResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateFirewallConfigResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateFirewallConfigResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/updateinvoice.ts b/src/models/operations/updateinvoice.ts deleted file mode 100644 index 98d07e15..00000000 --- a/src/models/operations/updateinvoice.ts +++ /dev/null @@ -1,180 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export const Action = { - Refund: "refund", -} as const; -export type Action = ClosedEnum; - -export type UpdateInvoiceRequestBody = { - action: Action; - /** - * Refund reason. - */ - reason: string; - /** - * The total amount to be refunded. Must be less than or equal to the total amount of the invoice. - */ - total: string; -}; - -export type UpdateInvoiceRequest = { - integrationConfigurationId: string; - invoiceId: string; - requestBody?: UpdateInvoiceRequestBody | undefined; -}; - -/** @internal */ -export const Action$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Action); - -/** @internal */ -export const Action$outboundSchema: z.ZodNativeEnum = - Action$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Action$ { - /** @deprecated use `Action$inboundSchema` instead. */ - export const inboundSchema = Action$inboundSchema; - /** @deprecated use `Action$outboundSchema` instead. */ - export const outboundSchema = Action$outboundSchema; -} - -/** @internal */ -export const UpdateInvoiceRequestBody$inboundSchema: z.ZodType< - UpdateInvoiceRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - action: Action$inboundSchema, - reason: z.string(), - total: z.string(), -}); - -/** @internal */ -export type UpdateInvoiceRequestBody$Outbound = { - action: string; - reason: string; - total: string; -}; - -/** @internal */ -export const UpdateInvoiceRequestBody$outboundSchema: z.ZodType< - UpdateInvoiceRequestBody$Outbound, - z.ZodTypeDef, - UpdateInvoiceRequestBody -> = z.object({ - action: Action$outboundSchema, - reason: z.string(), - total: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateInvoiceRequestBody$ { - /** @deprecated use `UpdateInvoiceRequestBody$inboundSchema` instead. */ - export const inboundSchema = UpdateInvoiceRequestBody$inboundSchema; - /** @deprecated use `UpdateInvoiceRequestBody$outboundSchema` instead. */ - export const outboundSchema = UpdateInvoiceRequestBody$outboundSchema; - /** @deprecated use `UpdateInvoiceRequestBody$Outbound` instead. */ - export type Outbound = UpdateInvoiceRequestBody$Outbound; -} - -export function updateInvoiceRequestBodyToJSON( - updateInvoiceRequestBody: UpdateInvoiceRequestBody, -): string { - return JSON.stringify( - UpdateInvoiceRequestBody$outboundSchema.parse(updateInvoiceRequestBody), - ); -} - -export function updateInvoiceRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateInvoiceRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateInvoiceRequestBody' from JSON`, - ); -} - -/** @internal */ -export const UpdateInvoiceRequest$inboundSchema: z.ZodType< - UpdateInvoiceRequest, - z.ZodTypeDef, - unknown -> = z.object({ - integrationConfigurationId: z.string(), - invoiceId: z.string(), - RequestBody: z.lazy(() => UpdateInvoiceRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type UpdateInvoiceRequest$Outbound = { - integrationConfigurationId: string; - invoiceId: string; - RequestBody?: UpdateInvoiceRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const UpdateInvoiceRequest$outboundSchema: z.ZodType< - UpdateInvoiceRequest$Outbound, - z.ZodTypeDef, - UpdateInvoiceRequest -> = z.object({ - integrationConfigurationId: z.string(), - invoiceId: z.string(), - requestBody: z.lazy(() => UpdateInvoiceRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateInvoiceRequest$ { - /** @deprecated use `UpdateInvoiceRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateInvoiceRequest$inboundSchema; - /** @deprecated use `UpdateInvoiceRequest$outboundSchema` instead. */ - export const outboundSchema = UpdateInvoiceRequest$outboundSchema; - /** @deprecated use `UpdateInvoiceRequest$Outbound` instead. */ - export type Outbound = UpdateInvoiceRequest$Outbound; -} - -export function updateInvoiceRequestToJSON( - updateInvoiceRequest: UpdateInvoiceRequest, -): string { - return JSON.stringify( - UpdateInvoiceRequest$outboundSchema.parse(updateInvoiceRequest), - ); -} - -export function updateInvoiceRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateInvoiceRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateInvoiceRequest' from JSON`, - ); -} diff --git a/src/models/operations/updateproject.ts b/src/models/operations/updateproject.ts deleted file mode 100644 index b28fe4fb..00000000 --- a/src/models/operations/updateproject.ts +++ /dev/null @@ -1,9998 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - ACLAction, - ACLAction$inboundSchema, - ACLAction$outboundSchema, -} from "../components/aclaction.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The framework that is being used for this project. When `null` is used no framework is selected - */ -export const UpdateProjectFramework = { - Blitzjs: "blitzjs", - Nextjs: "nextjs", - Gatsby: "gatsby", - Remix: "remix", - Astro: "astro", - Hexo: "hexo", - Eleventy: "eleventy", - Docusaurus2: "docusaurus-2", - Docusaurus: "docusaurus", - Preact: "preact", - Solidstart1: "solidstart-1", - Solidstart: "solidstart", - Dojo: "dojo", - Ember: "ember", - Vue: "vue", - Scully: "scully", - IonicAngular: "ionic-angular", - Angular: "angular", - Polymer: "polymer", - Svelte: "svelte", - Sveltekit: "sveltekit", - Sveltekit1: "sveltekit-1", - IonicReact: "ionic-react", - CreateReactApp: "create-react-app", - Gridsome: "gridsome", - Umijs: "umijs", - Sapper: "sapper", - Saber: "saber", - Stencil: "stencil", - Nuxtjs: "nuxtjs", - Redwoodjs: "redwoodjs", - Hugo: "hugo", - Jekyll: "jekyll", - Brunch: "brunch", - Middleman: "middleman", - Zola: "zola", - Hydrogen: "hydrogen", - Vite: "vite", - Vitepress: "vitepress", - Vuepress: "vuepress", - Parcel: "parcel", - Fasthtml: "fasthtml", - SanityV3: "sanity-v3", - Sanity: "sanity", - Storybook: "storybook", -} as const; -/** - * The framework that is being used for this project. When `null` is used no framework is selected - */ -export type UpdateProjectFramework = ClosedEnum; - -export const UpdateProjectNodeVersion = { - TwentyTwoX: "22.x", - TwentyX: "20.x", - EighteenX: "18.x", - SixteenX: "16.x", - FourteenX: "14.x", - TwelveX: "12.x", - TenX: "10.x", -} as const; -export type UpdateProjectNodeVersion = ClosedEnum< - typeof UpdateProjectNodeVersion ->; - -/** - * team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` - */ -export const UpdateProjectIssuerMode = { - Team: "team", - Global: "global", -} as const; -/** - * team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` - */ -export type UpdateProjectIssuerMode = ClosedEnum< - typeof UpdateProjectIssuerMode ->; - -/** - * OpenID Connect JSON Web Token generation configuration. - */ -export type UpdateProjectOidcTokenConfig = { - /** - * Whether or not to generate OpenID Connect JSON Web Tokens. - */ - enabled: boolean; - /** - * team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` - */ - issuerMode?: UpdateProjectIssuerMode | undefined; -}; - -/** - * Specify if the password will apply to every Deployment Target or just Preview - */ -export const DeploymentType = { - All: "all", - Preview: "preview", - ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", -} as const; -/** - * Specify if the password will apply to every Deployment Target or just Preview - */ -export type DeploymentType = ClosedEnum; - -/** - * Allows to protect project deployments with a password - */ -export type PasswordProtection = { - /** - * Specify if the password will apply to every Deployment Target or just Preview - */ - deploymentType: DeploymentType; - /** - * The password that will be used to protect Project Deployments - */ - password?: string | null | undefined; -}; - -/** - * Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview - */ -export const UpdateProjectDeploymentType = { - All: "all", - Preview: "preview", - ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", -} as const; -/** - * Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview - */ -export type UpdateProjectDeploymentType = ClosedEnum< - typeof UpdateProjectDeploymentType ->; - -/** - * Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team - */ -export type SsoProtection = { - /** - * Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview - */ - deploymentType?: UpdateProjectDeploymentType | undefined; -}; - -/** - * Specify if the Trusted IPs will apply to every Deployment Target or just Preview - */ -export const UpdateProjectProjectsDeploymentType = { - All: "all", - Preview: "preview", - Production: "production", - ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", -} as const; -/** - * Specify if the Trusted IPs will apply to every Deployment Target or just Preview - */ -export type UpdateProjectProjectsDeploymentType = ClosedEnum< - typeof UpdateProjectProjectsDeploymentType ->; - -export type Addresses = { - /** - * The IP addresses that are allowlisted. Supports IPv4 addresses and CIDR notations. IPv6 is not supported - */ - value: string; - /** - * An optional note explaining what the IP address or subnet is used for - */ - note?: string | undefined; -}; - -/** - * exclusive: ip match is enough to bypass deployment protection (regardless of other settings). additional: ip must match + any other protection should be also provided (password, vercel auth, shareable link, automation bypass header, automation bypass query param) - */ -export const ProtectionMode = { - Exclusive: "exclusive", - Additional: "additional", -} as const; -/** - * exclusive: ip match is enough to bypass deployment protection (regardless of other settings). additional: ip must match + any other protection should be also provided (password, vercel auth, shareable link, automation bypass header, automation bypass query param) - */ -export type ProtectionMode = ClosedEnum; - -/** - * Restricts access to deployments based on the incoming request IP address - */ -export type TrustedIps = { - /** - * Specify if the Trusted IPs will apply to every Deployment Target or just Preview - */ - deploymentType: UpdateProjectProjectsDeploymentType; - addresses: Array; - /** - * exclusive: ip match is enough to bypass deployment protection (regardless of other settings). additional: ip must match + any other protection should be also provided (password, vercel auth, shareable link, automation bypass header, automation bypass query param) - */ - protectionMode: ProtectionMode; -}; - -export type Paths = { - /** - * The regex path that should not be protected by Deployment Protection - */ - value: string; -}; - -/** - * Specify a list of paths that should not be protected by Deployment Protection to enable Cors preflight requests - */ -export type OptionsAllowlist = { - paths: Array; -}; - -export type UpdateProjectRequestBody = { - autoExposeSystemEnvs?: boolean | undefined; - autoAssignCustomDomains?: boolean | undefined; - autoAssignCustomDomainsUpdatedBy?: string | undefined; - /** - * The build command for this project. When `null` is used this value will be automatically detected - */ - buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - /** - * Specifies whether customer support can see git source for a deployment - */ - customerSupportCodeVisibility?: boolean | undefined; - /** - * The dev command for this project. When `null` is used this value will be automatically detected - */ - devCommand?: string | null | undefined; - directoryListing?: boolean | undefined; - /** - * The framework that is being used for this project. When `null` is used no framework is selected - */ - framework?: UpdateProjectFramework | null | undefined; - /** - * Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed - */ - gitForkProtection?: boolean | undefined; - /** - * Specifies whether Git LFS is enabled for this project. - */ - gitLFS?: boolean | undefined; - /** - * The install command for this project. When `null` is used this value will be automatically detected - */ - installCommand?: string | null | undefined; - /** - * The desired name for the project - */ - name?: string | undefined; - nodeVersion?: UpdateProjectNodeVersion | undefined; - /** - * The output directory of the project. When `null` is used this value will be automatically detected - */ - outputDirectory?: string | null | undefined; - /** - * Specifies whether preview deployments are disabled for this project. - */ - previewDeploymentsDisabled?: boolean | null | undefined; - /** - * Specifies whether the source code and logs of the deployments for this project should be public or not - */ - publicSource?: boolean | null | undefined; - /** - * The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root - */ - rootDirectory?: string | null | undefined; - /** - * The region to deploy Serverless Functions in this project - */ - serverlessFunctionRegion?: string | null | undefined; - /** - * Specifies whether Zero Config Failover is enabled for this project. - */ - serverlessFunctionZeroConfigFailover?: boolean | undefined; - /** - * Deployments created before this absolute datetime have Skew Protection disabled. Value is in milliseconds since epoch to match \"createdAt\" fields. - */ - skewProtectionBoundaryAt?: number | undefined; - /** - * Deployments created before this rolling window have Skew Protection disabled. Value is in seconds to match \"revalidate\" fields. - */ - skewProtectionMaxAge?: number | undefined; - /** - * Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - skipGitConnectDuringLink?: boolean | undefined; - /** - * Indicates if there are source files outside of the root directory - */ - sourceFilesOutsideRootDirectory?: boolean | undefined; - /** - * Opt-in to preview toolbar on the project level - */ - enablePreviewFeedback?: boolean | null | undefined; - /** - * Opt-in to production toolbar on the project level - */ - enableProductionFeedback?: boolean | null | undefined; - /** - * Opt-in to skip deployments when there are no changes to the root directory and its dependencies - */ - enableAffectedProjectsDeployments?: boolean | undefined; - /** - * OpenID Connect JSON Web Token generation configuration. - */ - oidcTokenConfig?: UpdateProjectOidcTokenConfig | undefined; - /** - * Allows to protect project deployments with a password - */ - passwordProtection?: PasswordProtection | null | undefined; - /** - * Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team - */ - ssoProtection?: SsoProtection | null | undefined; - /** - * Restricts access to deployments based on the incoming request IP address - */ - trustedIps?: TrustedIps | null | undefined; - /** - * Specify a list of paths that should not be protected by Deployment Protection to enable Cors preflight requests - */ - optionsAllowlist?: OptionsAllowlist | null | undefined; -}; - -export type UpdateProjectRequest = { - /** - * The unique project identifier or the project name - */ - idOrName: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: UpdateProjectRequestBody | undefined; -}; - -export type UpdateProjectAnalytics = { - id: string; - canceledAt?: number | null | undefined; - disabledAt: number; - enabledAt: number; - paidAt?: number | undefined; - sampleRatePercent?: number | null | undefined; - spendLimitInDollars?: number | null | undefined; -}; - -export type UpdateProjectSpeedInsights = { - id: string; - enabledAt?: number | undefined; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - hasData?: boolean | undefined; - paidAt?: number | undefined; -}; - -export type UpdateProjectDefinitions = { - /** - * The hostname that should be used. - */ - host: string; - /** - * The path that should be called for the cronjob. - */ - path: string; - /** - * The cron expression. - */ - schedule: string; -}; - -export type UpdateProjectCrons = { - /** - * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs. - */ - enabledAt: number; - /** - * The time the feature was disabled for this project. - */ - disabledAt: number | null; - updatedAt: number; - /** - * The ID of the Deployment from which the definitions originated. - */ - deploymentId: string | null; - definitions: Array; -}; - -export type UpdateProjectDataCache = { - userDisabled: boolean; - storageSizeBytes?: number | null | undefined; - unlimited?: boolean | undefined; -}; - -export type UpdateProjectDeploymentExpiration = { - expirationDays?: number | undefined; - expirationDaysProduction?: number | undefined; - expirationDaysCanceled?: number | undefined; - expirationDaysErrored?: number | undefined; - deploymentsToKeep?: number | undefined; -}; - -export const UpdateProjectTarget2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type UpdateProjectTarget2 = ClosedEnum; - -export type UpdateProjectTarget = Array | UpdateProjectTarget2; - -export const UpdateProjectType = { - System: "system", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", - Secret: "secret", -} as const; -export type UpdateProjectType = ClosedEnum; - -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = - { - FlagsConnectionString: "flags-connection-string", - } as const; -export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = - ClosedEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type - >; - -export type UpdateProjectContentHint15 = { - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type; - projectId: string; -}; - -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type = - { - IntegrationStoreSecret: "integration-store-secret", - } as const; -export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type = - ClosedEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type - >; - -export type UpdateProjectContentHint14 = { - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type = - { - PostgresUrlNoSsl: "postgres-url-no-ssl", - } as const; -export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type = - ClosedEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type - >; - -export type UpdateProjectContentHint13 = { - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type; - storeId: string; -}; - -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type = - { - PostgresDatabase: "postgres-database", - } as const; -export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type = - ClosedEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type - >; - -export type UpdateProjectContentHint12 = { - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type; - storeId: string; -}; - -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type = - { - PostgresPassword: "postgres-password", - } as const; -export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type = - ClosedEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type - >; - -export type UpdateProjectContentHint11 = { - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type; - storeId: string; -}; - -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type = - { - PostgresHost: "postgres-host", - } as const; -export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type = - ClosedEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type - >; - -export type UpdateProjectContentHint10 = { - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type; - storeId: string; -}; - -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type = - { - PostgresUser: "postgres-user", - } as const; -export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type = - ClosedEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type - >; - -export type UpdateProjectContentHint9 = { - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type; - storeId: string; -}; - -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type = - { - PostgresPrismaUrl: "postgres-prisma-url", - } as const; -export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type = - ClosedEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type - >; - -export type UpdateProjectContentHint8 = { - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type; - storeId: string; -}; - -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType = - { - PostgresUrlNonPooling: "postgres-url-non-pooling", - } as const; -export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType = - ClosedEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType - >; - -export type UpdateProjectContentHint7 = { - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType; - storeId: string; -}; - -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType = - { - PostgresUrl: "postgres-url", - } as const; -export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType = - ClosedEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType - >; - -export type UpdateProjectContentHint6 = { - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType; - storeId: string; -}; - -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONType = { - BlobReadWriteToken: "blob-read-write-token", -} as const; -export type UpdateProjectContentHintProjectsResponse200ApplicationJSONType = - ClosedEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONType - >; - -export type UpdateProjectContentHint5 = { - type: UpdateProjectContentHintProjectsResponse200ApplicationJSONType; - storeId: string; -}; - -export const UpdateProjectContentHintProjectsResponse200Type = { - RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", -} as const; -export type UpdateProjectContentHintProjectsResponse200Type = ClosedEnum< - typeof UpdateProjectContentHintProjectsResponse200Type ->; - -export type UpdateProjectContentHint4 = { - type: UpdateProjectContentHintProjectsResponse200Type; - storeId: string; -}; - -export const UpdateProjectContentHintProjectsResponseType = { - RedisRestApiToken: "redis-rest-api-token", -} as const; -export type UpdateProjectContentHintProjectsResponseType = ClosedEnum< - typeof UpdateProjectContentHintProjectsResponseType ->; - -export type UpdateProjectContentHint3 = { - type: UpdateProjectContentHintProjectsResponseType; - storeId: string; -}; - -export const UpdateProjectContentHintProjectsType = { - RedisRestApiUrl: "redis-rest-api-url", -} as const; -export type UpdateProjectContentHintProjectsType = ClosedEnum< - typeof UpdateProjectContentHintProjectsType ->; - -export type UpdateProjectContentHint2 = { - type: UpdateProjectContentHintProjectsType; - storeId: string; -}; - -export const UpdateProjectContentHintType = { - RedisUrl: "redis-url", -} as const; -export type UpdateProjectContentHintType = ClosedEnum< - typeof UpdateProjectContentHintType ->; - -export type UpdateProjectContentHint1 = { - type: UpdateProjectContentHintType; - storeId: string; -}; - -export type UpdateProjectContentHint = - | UpdateProjectContentHint1 - | UpdateProjectContentHint2 - | UpdateProjectContentHint3 - | UpdateProjectContentHint4 - | UpdateProjectContentHint5 - | UpdateProjectContentHint6 - | UpdateProjectContentHint7 - | UpdateProjectContentHint8 - | UpdateProjectContentHint9 - | UpdateProjectContentHint10 - | UpdateProjectContentHint11 - | UpdateProjectContentHint12 - | UpdateProjectContentHint13 - | UpdateProjectContentHint15 - | UpdateProjectContentHint14; - -export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType = - { - FlagsSecret: "flags-secret", - } as const; -export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType = - ClosedEnum< - typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType - >; - -/** - * Similar to `contentHints`, but should not be exposed to the user. - */ -export type UpdateProjectInternalContentHint = { - type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType; - /** - * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. - */ - encryptedValue: string; -}; - -export type UpdateProjectEnv = { - target?: Array | UpdateProjectTarget2 | undefined; - type: UpdateProjectType; - /** - * This is used to identiy variables that have been migrated from type secret to sensitive. - */ - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | UpdateProjectContentHint1 - | UpdateProjectContentHint2 - | UpdateProjectContentHint3 - | UpdateProjectContentHint4 - | UpdateProjectContentHint5 - | UpdateProjectContentHint6 - | UpdateProjectContentHint7 - | UpdateProjectContentHint8 - | UpdateProjectContentHint9 - | UpdateProjectContentHint10 - | UpdateProjectContentHint11 - | UpdateProjectContentHint12 - | UpdateProjectContentHint13 - | UpdateProjectContentHint15 - | UpdateProjectContentHint14 - | null - | undefined; - /** - * Similar to `contentHints`, but should not be exposed to the user. - */ - internalContentHint?: UpdateProjectInternalContentHint | null | undefined; - /** - * Whether `value` and `vsmValue` are decrypted. - */ - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -export type UpdateProjectCustomEnvironments = {}; - -export const UpdateProjectProjectsFramework = { - Blitzjs: "blitzjs", - Nextjs: "nextjs", - Gatsby: "gatsby", - Remix: "remix", - Astro: "astro", - Hexo: "hexo", - Eleventy: "eleventy", - Docusaurus2: "docusaurus-2", - Docusaurus: "docusaurus", - Preact: "preact", - Solidstart1: "solidstart-1", - Solidstart: "solidstart", - Dojo: "dojo", - Ember: "ember", - Vue: "vue", - Scully: "scully", - IonicAngular: "ionic-angular", - Angular: "angular", - Polymer: "polymer", - Svelte: "svelte", - Sveltekit: "sveltekit", - Sveltekit1: "sveltekit-1", - IonicReact: "ionic-react", - CreateReactApp: "create-react-app", - Gridsome: "gridsome", - Umijs: "umijs", - Sapper: "sapper", - Saber: "saber", - Stencil: "stencil", - Nuxtjs: "nuxtjs", - Redwoodjs: "redwoodjs", - Hugo: "hugo", - Jekyll: "jekyll", - Brunch: "brunch", - Middleman: "middleman", - Zola: "zola", - Hydrogen: "hydrogen", - Vite: "vite", - Vitepress: "vitepress", - Vuepress: "vuepress", - Parcel: "parcel", - Fasthtml: "fasthtml", - SanityV3: "sanity-v3", - Sanity: "sanity", - Storybook: "storybook", -} as const; -export type UpdateProjectProjectsFramework = ClosedEnum< - typeof UpdateProjectProjectsFramework ->; - -export type UpdateProjectIpBuckets = { - bucket: string; - supportUntil?: number | undefined; -}; - -export type UpdateProjectAliasAssigned = number | boolean; - -export type UpdateProjectAliasError = { - code: string; - message: string; -}; - -export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType = { - EndsWith: "endsWith", - StartsWith: "startsWith", - Equals: "equals", -} as const; -export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType = - ClosedEnum< - typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType - >; - -export type UpdateProjectBranchMatcher = { - type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType; - pattern: string; -}; - -export type UpdateProjectBuilds = { - use: string; - src?: string | undefined; - dest?: string | undefined; -}; - -export const UpdateProjectChecksConclusion = { - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", - Canceled: "canceled", -} as const; -export type UpdateProjectChecksConclusion = ClosedEnum< - typeof UpdateProjectChecksConclusion ->; - -export const UpdateProjectChecksState = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type UpdateProjectChecksState = ClosedEnum< - typeof UpdateProjectChecksState ->; - -export type UpdateProjectCreator = { - email: string; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; - uid: string; - username: string; -}; - -export type UpdateProjectOidcTokenClaims = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - ownerId: string; - project: string; - projectId: string; - environment: string; -}; - -export const UpdateProjectPlan = { - Pro: "pro", - Enterprise: "enterprise", - Hobby: "hobby", -} as const; -export type UpdateProjectPlan = ClosedEnum; - -export const UpdateProjectReadyState = { - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Queued: "QUEUED", - Ready: "READY", - Canceled: "CANCELED", -} as const; -export type UpdateProjectReadyState = ClosedEnum< - typeof UpdateProjectReadyState ->; - -export const UpdateProjectReadySubstate = { - Staged: "STAGED", - Promoted: "PROMOTED", -} as const; -export type UpdateProjectReadySubstate = ClosedEnum< - typeof UpdateProjectReadySubstate ->; - -export const UpdateProjectProjectsType = { - Lambdas: "LAMBDAS", -} as const; -export type UpdateProjectProjectsType = ClosedEnum< - typeof UpdateProjectProjectsType ->; - -export type UpdateProjectLatestDeployments = { - id: string; - alias?: Array | undefined; - aliasAssigned?: number | boolean | null | undefined; - aliasError?: UpdateProjectAliasError | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - branchMatcher?: UpdateProjectBranchMatcher | undefined; - buildingAt?: number | undefined; - builds?: Array | undefined; - checksConclusion?: UpdateProjectChecksConclusion | undefined; - checksState?: UpdateProjectChecksState | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdAt: number; - createdIn: string; - creator: UpdateProjectCreator | null; - deletedAt?: number | undefined; - deploymentHostname: string; - forced?: boolean | undefined; - name: string; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - oidcTokenClaims?: UpdateProjectOidcTokenClaims | undefined; - plan: UpdateProjectPlan; - /** - * Whether or not preview comments are enabled for the deployment - */ - previewCommentsEnabled?: boolean | undefined; - private: boolean; - readyAt?: number | undefined; - readyState: UpdateProjectReadyState; - readySubstate?: UpdateProjectReadySubstate | undefined; - requestedAt?: number | undefined; - target?: string | null | undefined; - teamId?: string | null | undefined; - type: UpdateProjectProjectsType; - url: string; - userId: string; - withCache?: boolean | undefined; -}; - -export const UpdateProjectLinkProjectsResponseType = { - Bitbucket: "bitbucket", -} as const; -export type UpdateProjectLinkProjectsResponseType = ClosedEnum< - typeof UpdateProjectLinkProjectsResponseType ->; - -export type UpdateProjectLinkProjectsResponseDeployHooks = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -export type UpdateProjectLink3 = { - name?: string | undefined; - slug?: string | undefined; - owner?: string | undefined; - type?: UpdateProjectLinkProjectsResponseType | undefined; - uuid?: string | undefined; - workspaceUuid?: string | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -export const UpdateProjectLinkProjectsType = { - Gitlab: "gitlab", -} as const; -export type UpdateProjectLinkProjectsType = ClosedEnum< - typeof UpdateProjectLinkProjectsType ->; - -export type UpdateProjectLinkProjectsDeployHooks = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -export type UpdateProjectLink2 = { - projectId?: string | undefined; - projectName?: string | undefined; - projectNameWithNamespace?: string | undefined; - projectNamespace?: string | undefined; - /** - * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. This is the id of the top level group that a namespace belongs to. Gitlab supports group nesting (up to 20 levels). - */ - projectOwnerId?: number | undefined; - projectUrl?: string | undefined; - type?: UpdateProjectLinkProjectsType | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -export const UpdateProjectLinkType = { - Github: "github", -} as const; -export type UpdateProjectLinkType = ClosedEnum; - -export type UpdateProjectLinkDeployHooks = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -export type UpdateProjectLink1 = { - org?: string | undefined; - /** - * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. - */ - repoOwnerId?: number | undefined; - repo?: string | undefined; - repoId?: number | undefined; - type?: UpdateProjectLinkType | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -export type UpdateProjectLink = - | UpdateProjectLink1 - | UpdateProjectLink3 - | UpdateProjectLink2; - -export type UpdateProjectMicrofrontends = { - /** - * Timestamp when the microfrontends settings were last updated. - */ - updatedAt: number; - /** - * The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. - */ - groupIds: Array; - /** - * Whether microfrontends are enabled for this project. - */ - enabled: boolean; - /** - * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. - */ - isDefaultApp?: boolean | undefined; - /** - * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. - */ - defaultRoute?: string | undefined; -}; - -export const UpdateProjectProjectsNodeVersion = { - TwentyTwoX: "22.x", - TwentyX: "20.x", - EighteenX: "18.x", - SixteenX: "16.x", - FourteenX: "14.x", - TwelveX: "12.x", - TenX: "10.x", - Eight10X: "8.10.x", -} as const; -export type UpdateProjectProjectsNodeVersion = ClosedEnum< - typeof UpdateProjectProjectsNodeVersion ->; - -export type UpdateProjectPaths = { - value: string; -}; - -export type UpdateProjectOptionsAllowlist = { - paths: Array; -}; - -export type UpdateProjectPasswordProtection = {}; - -export const UpdateProjectFunctionDefaultMemoryType = { - StandardLegacy: "standard_legacy", - Standard: "standard", - Performance: "performance", -} as const; -export type UpdateProjectFunctionDefaultMemoryType = ClosedEnum< - typeof UpdateProjectFunctionDefaultMemoryType ->; - -export type UpdateProjectResourceConfig = { - functionDefaultTimeout?: number | undefined; - functionDefaultMemoryType?: - | UpdateProjectFunctionDefaultMemoryType - | undefined; - allowServerlessConcurrency?: boolean | undefined; - elasticConcurrencyEnabled?: boolean | undefined; -}; - -export const UpdateProjectProjectsResponseDeploymentType = { - Preview: "preview", - All: "all", - ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", -} as const; -export type UpdateProjectProjectsResponseDeploymentType = ClosedEnum< - typeof UpdateProjectProjectsResponseDeploymentType ->; - -export type UpdateProjectSsoProtection = { - deploymentType: UpdateProjectProjectsResponseDeploymentType; -}; - -export type UpdateProjectProjectsAliasAssigned = number | boolean; - -export type UpdateProjectProjectsAliasError = { - code: string; - message: string; -}; - -export const UpdateProjectProjectsResponse200ApplicationJSONType = { - EndsWith: "endsWith", - StartsWith: "startsWith", - Equals: "equals", -} as const; -export type UpdateProjectProjectsResponse200ApplicationJSONType = ClosedEnum< - typeof UpdateProjectProjectsResponse200ApplicationJSONType ->; - -export type UpdateProjectProjectsBranchMatcher = { - type: UpdateProjectProjectsResponse200ApplicationJSONType; - pattern: string; -}; - -export type UpdateProjectProjectsBuilds = { - use: string; - src?: string | undefined; - dest?: string | undefined; -}; - -export const UpdateProjectProjectsChecksConclusion = { - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", - Canceled: "canceled", -} as const; -export type UpdateProjectProjectsChecksConclusion = ClosedEnum< - typeof UpdateProjectProjectsChecksConclusion ->; - -export const UpdateProjectProjectsChecksState = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type UpdateProjectProjectsChecksState = ClosedEnum< - typeof UpdateProjectProjectsChecksState ->; - -export type UpdateProjectProjectsCreator = { - email: string; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; - uid: string; - username: string; -}; - -export type UpdateProjectProjectsOidcTokenClaims = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - ownerId: string; - project: string; - projectId: string; - environment: string; -}; - -export const UpdateProjectProjectsPlan = { - Pro: "pro", - Enterprise: "enterprise", - Hobby: "hobby", -} as const; -export type UpdateProjectProjectsPlan = ClosedEnum< - typeof UpdateProjectProjectsPlan ->; - -export const UpdateProjectProjectsReadyState = { - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Queued: "QUEUED", - Ready: "READY", - Canceled: "CANCELED", -} as const; -export type UpdateProjectProjectsReadyState = ClosedEnum< - typeof UpdateProjectProjectsReadyState ->; - -export const UpdateProjectProjectsReadySubstate = { - Staged: "STAGED", - Promoted: "PROMOTED", -} as const; -export type UpdateProjectProjectsReadySubstate = ClosedEnum< - typeof UpdateProjectProjectsReadySubstate ->; - -export const UpdateProjectProjectsResponseType = { - Lambdas: "LAMBDAS", -} as const; -export type UpdateProjectProjectsResponseType = ClosedEnum< - typeof UpdateProjectProjectsResponseType ->; - -export type UpdateProjectTargets = { - id: string; - alias?: Array | undefined; - aliasAssigned?: number | boolean | null | undefined; - aliasError?: UpdateProjectProjectsAliasError | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - branchMatcher?: UpdateProjectProjectsBranchMatcher | undefined; - buildingAt?: number | undefined; - builds?: Array | undefined; - checksConclusion?: UpdateProjectProjectsChecksConclusion | undefined; - checksState?: UpdateProjectProjectsChecksState | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdAt: number; - createdIn: string; - creator: UpdateProjectProjectsCreator | null; - deletedAt?: number | undefined; - deploymentHostname: string; - forced?: boolean | undefined; - name: string; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - oidcTokenClaims?: UpdateProjectProjectsOidcTokenClaims | undefined; - plan: UpdateProjectProjectsPlan; - /** - * Whether or not preview comments are enabled for the deployment - */ - previewCommentsEnabled?: boolean | undefined; - private: boolean; - readyAt?: number | undefined; - readyState: UpdateProjectProjectsReadyState; - readySubstate?: UpdateProjectProjectsReadySubstate | undefined; - requestedAt?: number | undefined; - target?: string | null | undefined; - teamId?: string | null | undefined; - type: UpdateProjectProjectsResponseType; - url: string; - userId: string; - withCache?: boolean | undefined; -}; - -export type UpdateProjectPermissions = { - accessGroup?: Array | undefined; - aliasGlobal?: Array | undefined; - analyticsSampling?: Array | undefined; - analyticsUsage?: Array | undefined; - auditLog?: Array | undefined; - billingAddress?: Array | undefined; - billingInformation?: Array | undefined; - billingInvoice?: Array | undefined; - billingInvoiceEmailRecipient?: Array | undefined; - billingInvoiceLanguage?: Array | undefined; - billingPlan?: Array | undefined; - billingPurchaseOrder?: Array | undefined; - billingTaxId?: Array | undefined; - blob?: Array | undefined; - budget?: Array | undefined; - cacheArtifact?: Array | undefined; - cacheArtifactUsageEvent?: Array | undefined; - codeChecks?: Array | undefined; - concurrentBuilds?: Array | undefined; - connect?: Array | undefined; - connectConfiguration?: Array | undefined; - domain?: Array | undefined; - domainAcceptDelegation?: Array | undefined; - domainAuthCodes?: Array | undefined; - domainCertificate?: Array | undefined; - domainCheckConfig?: Array | undefined; - domainMove?: Array | undefined; - domainPurchase?: Array | undefined; - domainRecord?: Array | undefined; - domainTransferIn?: Array | undefined; - event?: Array | undefined; - ownEvent?: Array | undefined; - sensitiveEnvironmentVariablePolicy?: Array | undefined; - fileUpload?: Array | undefined; - gitRepository?: Array | undefined; - ipBlocking?: Array | undefined; - integration?: Array | undefined; - integrationAccount?: Array | undefined; - integrationConfiguration?: Array | undefined; - integrationConfigurationTransfer?: Array | undefined; - integrationConfigurationProjects?: Array | undefined; - integrationVercelConfigurationOverride?: Array | undefined; - integrationConfigurationRole?: Array | undefined; - integrationResource?: Array | undefined; - integrationEvent?: Array | undefined; - integrationResourceSecrets?: Array | undefined; - integrationDeploymentAction?: Array | undefined; - marketplaceInstallationMember?: Array | undefined; - marketplaceBillingData?: Array | undefined; - marketplaceInvoice?: Array | undefined; - jobGlobal?: Array | undefined; - logDrain?: Array | undefined; - monitoring?: Array | undefined; - monitoringSettings?: Array | undefined; - monitoringQuery?: Array | undefined; - monitoringChart?: Array | undefined; - monitoringAlert?: Array | undefined; - notificationDeploymentFailed?: Array | undefined; - notificationDomainConfiguration?: Array | undefined; - notificationDomainExpire?: Array | undefined; - notificationDomainMoved?: Array | undefined; - notificationDomainPurchase?: Array | undefined; - notificationDomainRenewal?: Array | undefined; - notificationDomainTransfer?: Array | undefined; - notificationDomainUnverified?: Array | undefined; - notificationMonitoringAlert?: Array | undefined; - notificationPaymentFailed?: Array | undefined; - notificationUsageAlert?: Array | undefined; - notificationCustomerBudget?: Array | undefined; - notificationStatementOfReasons?: Array | undefined; - oauth2Connection?: Array | undefined; - observabilityConfiguration?: Array | undefined; - openTelemetryEndpoint?: Array | undefined; - paymentMethod?: Array | undefined; - permissions?: Array | undefined; - postgres?: Array | undefined; - previewDeploymentSuffix?: Array | undefined; - proTrialOnboarding?: Array | undefined; - sharedEnvVars?: Array | undefined; - sharedEnvVarsProduction?: Array | undefined; - space?: Array | undefined; - spaceRun?: Array | undefined; - passwordProtectionInvoiceItem?: Array | undefined; - rateLimit?: Array | undefined; - redis?: Array | undefined; - repository?: Array | undefined; - remoteCaching?: Array | undefined; - samlConfig?: Array | undefined; - secret?: Array | undefined; - redisStoreTokenSet?: Array | undefined; - blobStoreTokenSet?: Array | undefined; - postgresStoreTokenSet?: Array | undefined; - integrationStoreTokenSet?: Array | undefined; - integrationResourceReplCommand?: Array | undefined; - storeTransfer?: Array | undefined; - supportCase?: Array | undefined; - supportCaseComment?: Array | undefined; - dataCacheBillingSettings?: Array | undefined; - team?: Array | undefined; - teamAccessRequest?: Array | undefined; - teamFellowMembership?: Array | undefined; - teamGitExclusivity?: Array | undefined; - teamInvite?: Array | undefined; - teamInviteCode?: Array | undefined; - teamJoin?: Array | undefined; - teamMicrofrontends?: Array | undefined; - teamOwnMembership?: Array | undefined; - teamOwnMembershipDisconnectSAML?: Array | undefined; - token?: Array | undefined; - usage?: Array | undefined; - usageCycle?: Array | undefined; - user?: Array | undefined; - userConnection?: Array | undefined; - vpcPeeringConnection?: Array | undefined; - webAnalyticsPlan?: Array | undefined; - webAuthn?: Array | undefined; - edgeConfig?: Array | undefined; - edgeConfigItem?: Array | undefined; - edgeConfigSchema?: Array | undefined; - edgeConfigToken?: Array | undefined; - webhook?: Array | undefined; - webhookEvent?: Array | undefined; - endpointVerification?: Array | undefined; - projectTransferIn?: Array | undefined; - oauth2Application?: Array | undefined; - aliasProject?: Array | undefined; - aliasProtectionBypass?: Array | undefined; - productionAliasProtectionBypass?: Array | undefined; - connectConfigurationLink?: Array | undefined; - dataCacheNamespace?: Array | undefined; - deployment?: Array | undefined; - deploymentCheck?: Array | undefined; - deploymentCheckPreview?: Array | undefined; - deploymentCheckReRunFromProductionBranch?: Array | undefined; - deploymentProductionGit?: Array | undefined; - deploymentV0?: Array | undefined; - deploymentPreview?: Array | undefined; - deploymentPrivate?: Array | undefined; - deploymentPromote?: Array | undefined; - deploymentRollback?: Array | undefined; - environments?: Array | undefined; - logs?: Array | undefined; - logsPreset?: Array | undefined; - passwordProtection?: Array | undefined; - optionsAllowlist?: Array | undefined; - job?: Array | undefined; - observabilityData?: Array | undefined; - project?: Array | undefined; - projectFromV0?: Array | undefined; - projectAccessGroup?: Array | undefined; - projectAnalyticsSampling?: Array | undefined; - projectDeploymentHook?: Array | undefined; - projectDomain?: Array | undefined; - projectDomainMove?: Array | undefined; - projectDomainCheckConfig?: Array | undefined; - projectEnvVars?: Array | undefined; - projectEnvVarsProduction?: Array | undefined; - projectEnvVarsUnownedByIntegration?: Array | undefined; - projectFlags?: Array | undefined; - projectId?: Array | undefined; - projectIntegrationConfiguration?: Array | undefined; - projectLink?: Array | undefined; - projectMember?: Array | undefined; - projectMonitoring?: Array | undefined; - projectPermissions?: Array | undefined; - projectProductionBranch?: Array | undefined; - projectTransfer?: Array | undefined; - projectTransferOut?: Array | undefined; - projectProtectionBypass?: Array | undefined; - projectUsage?: Array | undefined; - projectAnalyticsUsage?: Array | undefined; - projectSupportCase?: Array | undefined; - projectSupportCaseComment?: Array | undefined; - projectDeploymentExpiration?: Array | undefined; - projectTier?: Array | undefined; - seawallConfig?: Array | undefined; - skewProtection?: Array | undefined; - analytics?: Array | undefined; - trustedIps?: Array | undefined; - webAnalytics?: Array | undefined; - sharedEnvVarConnection?: Array | undefined; - sonar?: Array | undefined; -}; - -export type UpdateProjectLastRollbackTarget = {}; - -export const UpdateProjectJobStatus = { - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", - Pending: "pending", - InProgress: "in-progress", -} as const; -export type UpdateProjectJobStatus = ClosedEnum; - -export const UpdateProjectProjectsResponse200Type = { - Promote: "promote", - Rollback: "rollback", -} as const; -export type UpdateProjectProjectsResponse200Type = ClosedEnum< - typeof UpdateProjectProjectsResponse200Type ->; - -export type UpdateProjectLastAliasRequest = { - fromDeploymentId: string; - toDeploymentId: string; - jobStatus: UpdateProjectJobStatus; - requestedAt: number; - type: UpdateProjectProjectsResponse200Type; -}; - -export const UpdateProjectScope = { - AutomationBypass: "automation-bypass", -} as const; -export type UpdateProjectScope = ClosedEnum; - -export type UpdateProjectProtectionBypass = { - createdAt: number; - createdBy: string; - scope: UpdateProjectScope; -}; - -export const UpdateProjectTrustedIpsProjectsDeploymentType = { - Production: "production", - Preview: "preview", - All: "all", - ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", -} as const; -export type UpdateProjectTrustedIpsProjectsDeploymentType = ClosedEnum< - typeof UpdateProjectTrustedIpsProjectsDeploymentType ->; - -export type UpdateProjectTrustedIps2 = { - deploymentType: UpdateProjectTrustedIpsProjectsDeploymentType; -}; - -export const UpdateProjectTrustedIpsDeploymentType = { - Production: "production", - Preview: "preview", - All: "all", - ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", -} as const; -export type UpdateProjectTrustedIpsDeploymentType = ClosedEnum< - typeof UpdateProjectTrustedIpsDeploymentType ->; - -export type UpdateProjectTrustedIpsAddresses = { - value: string; - note?: string | undefined; -}; - -export const UpdateProjectTrustedIpsProtectionMode = { - Additional: "additional", - Exclusive: "exclusive", -} as const; -export type UpdateProjectTrustedIpsProtectionMode = ClosedEnum< - typeof UpdateProjectTrustedIpsProtectionMode ->; - -export type UpdateProjectTrustedIps1 = { - deploymentType: UpdateProjectTrustedIpsDeploymentType; - addresses: Array; - protectionMode: UpdateProjectTrustedIpsProtectionMode; -}; - -export type UpdateProjectTrustedIps = - | UpdateProjectTrustedIps2 - | UpdateProjectTrustedIps1; - -export type UpdateProjectGitComments = { - /** - * Whether the Vercel bot should comment on PRs - */ - onPullRequest: boolean; - /** - * Whether the Vercel bot should comment on commits - */ - onCommit: boolean; -}; - -export type UpdateProjectWebAnalytics = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; -}; - -export type UpdateProjectSrc2 = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -export type UpdateProjectSrc = UpdateProjectSrc2 | string; - -export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType = - { - Path: "path", - Host: "host", - Method: "method", - Header: "header", - Cookie: "cookie", - Query: "query", - IpAddress: "ip_address", - Protocol: "protocol", - Scheme: "scheme", - Environment: "environment", - Region: "region", - } as const; -export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType = - ClosedEnum< - typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType - >; - -export type UpdateProjectValue2 = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -export type UpdateProjectValue = UpdateProjectValue2 | string; - -export type UpdateProjectHas = { - type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType; - key?: string | undefined; - value?: UpdateProjectValue2 | string | undefined; -}; - -export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = - { - Path: "path", - Host: "host", - Method: "method", - Header: "header", - Cookie: "cookie", - Query: "query", - IpAddress: "ip_address", - Protocol: "protocol", - Scheme: "scheme", - Environment: "environment", - Region: "region", - } as const; -export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = - ClosedEnum< - typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType - >; - -export type UpdateProjectValueProjects2 = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -export type UpdateProjectProjectsValue = UpdateProjectValueProjects2 | string; - -export type UpdateProjectMissing = { - type: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType; - key?: string | undefined; - value?: UpdateProjectValueProjects2 | string | undefined; -}; - -export const UpdateProjectHandle = { - Init: "init", - Finalize: "finalize", -} as const; -export type UpdateProjectHandle = ClosedEnum; - -export const UpdateProjectAction = { - Deny: "deny", - Challenge: "challenge", - Log: "log", - Bypass: "bypass", - RateLimit: "rate_limit", - Redirect: "redirect", -} as const; -export type UpdateProjectAction = ClosedEnum; - -export const UpdateProjectAlgo = { - FixedWindow: "fixed_window", - TokenBucket: "token_bucket", -} as const; -export type UpdateProjectAlgo = ClosedEnum; - -export type UpdateProjectErl = { - algo: UpdateProjectAlgo; - window: number; - limit: number; - keys: Array; -}; - -export type UpdateProjectMitigate = { - action: UpdateProjectAction; - ruleId: string; - ttl?: number | undefined; - erl?: UpdateProjectErl | undefined; -}; - -export type UpdateProjectFirewallRoutes = { - src?: UpdateProjectSrc2 | string | undefined; - has?: Array | undefined; - missing?: Array | undefined; - dest?: string | undefined; - status?: number | undefined; - handle?: UpdateProjectHandle | undefined; - mitigate?: UpdateProjectMitigate | undefined; -}; - -export type UpdateProjectSecurity = { - attackModeEnabled?: boolean | undefined; - attackModeUpdatedAt?: number | undefined; - firewallEnabled?: boolean | undefined; - firewallUpdatedAt?: number | undefined; - attackModeActiveUntil?: number | null | undefined; - firewallConfigVersion?: number | undefined; - firewallRoutes?: Array | undefined; - firewallSeawallEnabled?: boolean | undefined; - ja3Enabled?: boolean | undefined; - ja4Enabled?: boolean | undefined; - firewallBypassIps?: Array | undefined; -}; - -/** - * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` - */ -export const UpdateProjectProjectsIssuerMode = { - Team: "team", - Global: "global", -} as const; -/** - * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` - */ -export type UpdateProjectProjectsIssuerMode = ClosedEnum< - typeof UpdateProjectProjectsIssuerMode ->; - -export type UpdateProjectProjectsOidcTokenConfig = { - enabled: boolean; - /** - * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` - */ - issuerMode?: UpdateProjectProjectsIssuerMode | undefined; -}; - -export const UpdateProjectTier = { - Standard: "standard", - Advanced: "advanced", - Critical: "critical", -} as const; -export type UpdateProjectTier = ClosedEnum; - -/** - * The project was successfully updated - */ -export type UpdateProjectResponseBody = { - accountId: string; - analytics?: UpdateProjectAnalytics | undefined; - speedInsights?: UpdateProjectSpeedInsights | undefined; - autoExposeSystemEnvs?: boolean | undefined; - autoAssignCustomDomains?: boolean | undefined; - autoAssignCustomDomainsUpdatedBy?: string | undefined; - buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - connectConfigurationId?: string | null | undefined; - connectBuildsEnabled?: boolean | undefined; - createdAt?: number | undefined; - customerSupportCodeVisibility?: boolean | undefined; - crons?: UpdateProjectCrons | undefined; - dataCache?: UpdateProjectDataCache | undefined; - deploymentExpiration?: UpdateProjectDeploymentExpiration | null | undefined; - devCommand?: string | null | undefined; - directoryListing: boolean; - installCommand?: string | null | undefined; - env?: Array | undefined; - customEnvironments?: Array | undefined; - framework?: UpdateProjectProjectsFramework | null | undefined; - gitForkProtection?: boolean | undefined; - gitLFS?: boolean | undefined; - id: string; - ipBuckets?: Array | undefined; - latestDeployments?: Array | undefined; - link?: - | UpdateProjectLink1 - | UpdateProjectLink3 - | UpdateProjectLink2 - | undefined; - microfrontends?: UpdateProjectMicrofrontends | undefined; - name: string; - nodeVersion: UpdateProjectProjectsNodeVersion; - optionsAllowlist?: UpdateProjectOptionsAllowlist | null | undefined; - outputDirectory?: string | null | undefined; - passiveConnectConfigurationId?: string | null | undefined; - passwordProtection?: UpdateProjectPasswordProtection | null | undefined; - productionDeploymentsFastLane?: boolean | undefined; - publicSource?: boolean | null | undefined; - resourceConfig?: UpdateProjectResourceConfig | undefined; - rootDirectory?: string | null | undefined; - serverlessFunctionRegion?: string | null | undefined; - serverlessFunctionZeroConfigFailover?: boolean | undefined; - skewProtectionBoundaryAt?: number | undefined; - skewProtectionMaxAge?: number | undefined; - skipGitConnectDuringLink?: boolean | undefined; - sourceFilesOutsideRootDirectory?: boolean | undefined; - enableAffectedProjectsDeployments?: boolean | undefined; - ssoProtection?: UpdateProjectSsoProtection | null | undefined; - targets?: { [k: string]: UpdateProjectTargets } | undefined; - transferCompletedAt?: number | undefined; - transferStartedAt?: number | undefined; - transferToAccountId?: string | undefined; - transferredFromAccountId?: string | undefined; - updatedAt?: number | undefined; - live?: boolean | undefined; - enablePreviewFeedback?: boolean | null | undefined; - enableProductionFeedback?: boolean | null | undefined; - permissions?: UpdateProjectPermissions | undefined; - lastRollbackTarget?: UpdateProjectLastRollbackTarget | null | undefined; - lastAliasRequest?: UpdateProjectLastAliasRequest | null | undefined; - hasFloatingAliases?: boolean | undefined; - protectionBypass?: { [k: string]: UpdateProjectProtectionBypass } | undefined; - hasActiveBranches?: boolean | undefined; - trustedIps?: - | UpdateProjectTrustedIps2 - | UpdateProjectTrustedIps1 - | null - | undefined; - gitComments?: UpdateProjectGitComments | undefined; - paused?: boolean | undefined; - concurrencyBucketName?: string | undefined; - webAnalytics?: UpdateProjectWebAnalytics | undefined; - security?: UpdateProjectSecurity | undefined; - oidcTokenConfig?: UpdateProjectProjectsOidcTokenConfig | undefined; - tier?: UpdateProjectTier | undefined; -}; - -/** @internal */ -export const UpdateProjectFramework$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectFramework -> = z.nativeEnum(UpdateProjectFramework); - -/** @internal */ -export const UpdateProjectFramework$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectFramework -> = UpdateProjectFramework$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectFramework$ { - /** @deprecated use `UpdateProjectFramework$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectFramework$inboundSchema; - /** @deprecated use `UpdateProjectFramework$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectFramework$outboundSchema; -} - -/** @internal */ -export const UpdateProjectNodeVersion$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectNodeVersion -> = z.nativeEnum(UpdateProjectNodeVersion); - -/** @internal */ -export const UpdateProjectNodeVersion$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectNodeVersion -> = UpdateProjectNodeVersion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectNodeVersion$ { - /** @deprecated use `UpdateProjectNodeVersion$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectNodeVersion$inboundSchema; - /** @deprecated use `UpdateProjectNodeVersion$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectNodeVersion$outboundSchema; -} - -/** @internal */ -export const UpdateProjectIssuerMode$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectIssuerMode -> = z.nativeEnum(UpdateProjectIssuerMode); - -/** @internal */ -export const UpdateProjectIssuerMode$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectIssuerMode -> = UpdateProjectIssuerMode$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectIssuerMode$ { - /** @deprecated use `UpdateProjectIssuerMode$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectIssuerMode$inboundSchema; - /** @deprecated use `UpdateProjectIssuerMode$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectIssuerMode$outboundSchema; -} - -/** @internal */ -export const UpdateProjectOidcTokenConfig$inboundSchema: z.ZodType< - UpdateProjectOidcTokenConfig, - z.ZodTypeDef, - unknown -> = z.object({ - enabled: z.boolean(), - issuerMode: UpdateProjectIssuerMode$inboundSchema.default("global"), -}); - -/** @internal */ -export type UpdateProjectOidcTokenConfig$Outbound = { - enabled: boolean; - issuerMode: string; -}; - -/** @internal */ -export const UpdateProjectOidcTokenConfig$outboundSchema: z.ZodType< - UpdateProjectOidcTokenConfig$Outbound, - z.ZodTypeDef, - UpdateProjectOidcTokenConfig -> = z.object({ - enabled: z.boolean(), - issuerMode: UpdateProjectIssuerMode$outboundSchema.default("global"), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectOidcTokenConfig$ { - /** @deprecated use `UpdateProjectOidcTokenConfig$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectOidcTokenConfig$inboundSchema; - /** @deprecated use `UpdateProjectOidcTokenConfig$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectOidcTokenConfig$outboundSchema; - /** @deprecated use `UpdateProjectOidcTokenConfig$Outbound` instead. */ - export type Outbound = UpdateProjectOidcTokenConfig$Outbound; -} - -export function updateProjectOidcTokenConfigToJSON( - updateProjectOidcTokenConfig: UpdateProjectOidcTokenConfig, -): string { - return JSON.stringify( - UpdateProjectOidcTokenConfig$outboundSchema.parse( - updateProjectOidcTokenConfig, - ), - ); -} - -export function updateProjectOidcTokenConfigFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectOidcTokenConfig$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectOidcTokenConfig' from JSON`, - ); -} - -/** @internal */ -export const DeploymentType$inboundSchema: z.ZodNativeEnum< - typeof DeploymentType -> = z.nativeEnum(DeploymentType); - -/** @internal */ -export const DeploymentType$outboundSchema: z.ZodNativeEnum< - typeof DeploymentType -> = DeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeploymentType$ { - /** @deprecated use `DeploymentType$inboundSchema` instead. */ - export const inboundSchema = DeploymentType$inboundSchema; - /** @deprecated use `DeploymentType$outboundSchema` instead. */ - export const outboundSchema = DeploymentType$outboundSchema; -} - -/** @internal */ -export const PasswordProtection$inboundSchema: z.ZodType< - PasswordProtection, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentType: DeploymentType$inboundSchema, - password: z.nullable(z.string()).optional(), -}); - -/** @internal */ -export type PasswordProtection$Outbound = { - deploymentType: string; - password?: string | null | undefined; -}; - -/** @internal */ -export const PasswordProtection$outboundSchema: z.ZodType< - PasswordProtection$Outbound, - z.ZodTypeDef, - PasswordProtection -> = z.object({ - deploymentType: DeploymentType$outboundSchema, - password: z.nullable(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PasswordProtection$ { - /** @deprecated use `PasswordProtection$inboundSchema` instead. */ - export const inboundSchema = PasswordProtection$inboundSchema; - /** @deprecated use `PasswordProtection$outboundSchema` instead. */ - export const outboundSchema = PasswordProtection$outboundSchema; - /** @deprecated use `PasswordProtection$Outbound` instead. */ - export type Outbound = PasswordProtection$Outbound; -} - -export function passwordProtectionToJSON( - passwordProtection: PasswordProtection, -): string { - return JSON.stringify( - PasswordProtection$outboundSchema.parse(passwordProtection), - ); -} - -export function passwordProtectionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PasswordProtection$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PasswordProtection' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDeploymentType$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDeploymentType -> = z.nativeEnum(UpdateProjectDeploymentType); - -/** @internal */ -export const UpdateProjectDeploymentType$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDeploymentType -> = UpdateProjectDeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDeploymentType$ { - /** @deprecated use `UpdateProjectDeploymentType$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDeploymentType$inboundSchema; - /** @deprecated use `UpdateProjectDeploymentType$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDeploymentType$outboundSchema; -} - -/** @internal */ -export const SsoProtection$inboundSchema: z.ZodType< - SsoProtection, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentType: UpdateProjectDeploymentType$inboundSchema.default("preview"), -}); - -/** @internal */ -export type SsoProtection$Outbound = { - deploymentType: string; -}; - -/** @internal */ -export const SsoProtection$outboundSchema: z.ZodType< - SsoProtection$Outbound, - z.ZodTypeDef, - SsoProtection -> = z.object({ - deploymentType: UpdateProjectDeploymentType$outboundSchema.default("preview"), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SsoProtection$ { - /** @deprecated use `SsoProtection$inboundSchema` instead. */ - export const inboundSchema = SsoProtection$inboundSchema; - /** @deprecated use `SsoProtection$outboundSchema` instead. */ - export const outboundSchema = SsoProtection$outboundSchema; - /** @deprecated use `SsoProtection$Outbound` instead. */ - export type Outbound = SsoProtection$Outbound; -} - -export function ssoProtectionToJSON(ssoProtection: SsoProtection): string { - return JSON.stringify(SsoProtection$outboundSchema.parse(ssoProtection)); -} - -export function ssoProtectionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SsoProtection$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SsoProtection' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsDeploymentType$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsDeploymentType -> = z.nativeEnum(UpdateProjectProjectsDeploymentType); - -/** @internal */ -export const UpdateProjectProjectsDeploymentType$outboundSchema: - z.ZodNativeEnum = - UpdateProjectProjectsDeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsDeploymentType$ { - /** @deprecated use `UpdateProjectProjectsDeploymentType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsDeploymentType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsDeploymentType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsDeploymentType$outboundSchema; -} - -/** @internal */ -export const Addresses$inboundSchema: z.ZodType< - Addresses, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.string(), - note: z.string().optional(), -}); - -/** @internal */ -export type Addresses$Outbound = { - value: string; - note?: string | undefined; -}; - -/** @internal */ -export const Addresses$outboundSchema: z.ZodType< - Addresses$Outbound, - z.ZodTypeDef, - Addresses -> = z.object({ - value: z.string(), - note: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Addresses$ { - /** @deprecated use `Addresses$inboundSchema` instead. */ - export const inboundSchema = Addresses$inboundSchema; - /** @deprecated use `Addresses$outboundSchema` instead. */ - export const outboundSchema = Addresses$outboundSchema; - /** @deprecated use `Addresses$Outbound` instead. */ - export type Outbound = Addresses$Outbound; -} - -export function addressesToJSON(addresses: Addresses): string { - return JSON.stringify(Addresses$outboundSchema.parse(addresses)); -} - -export function addressesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Addresses$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Addresses' from JSON`, - ); -} - -/** @internal */ -export const ProtectionMode$inboundSchema: z.ZodNativeEnum< - typeof ProtectionMode -> = z.nativeEnum(ProtectionMode); - -/** @internal */ -export const ProtectionMode$outboundSchema: z.ZodNativeEnum< - typeof ProtectionMode -> = ProtectionMode$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ProtectionMode$ { - /** @deprecated use `ProtectionMode$inboundSchema` instead. */ - export const inboundSchema = ProtectionMode$inboundSchema; - /** @deprecated use `ProtectionMode$outboundSchema` instead. */ - export const outboundSchema = ProtectionMode$outboundSchema; -} - -/** @internal */ -export const TrustedIps$inboundSchema: z.ZodType< - TrustedIps, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentType: UpdateProjectProjectsDeploymentType$inboundSchema, - addresses: z.array(z.lazy(() => Addresses$inboundSchema)), - protectionMode: ProtectionMode$inboundSchema, -}); - -/** @internal */ -export type TrustedIps$Outbound = { - deploymentType: string; - addresses: Array; - protectionMode: string; -}; - -/** @internal */ -export const TrustedIps$outboundSchema: z.ZodType< - TrustedIps$Outbound, - z.ZodTypeDef, - TrustedIps -> = z.object({ - deploymentType: UpdateProjectProjectsDeploymentType$outboundSchema, - addresses: z.array(z.lazy(() => Addresses$outboundSchema)), - protectionMode: ProtectionMode$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TrustedIps$ { - /** @deprecated use `TrustedIps$inboundSchema` instead. */ - export const inboundSchema = TrustedIps$inboundSchema; - /** @deprecated use `TrustedIps$outboundSchema` instead. */ - export const outboundSchema = TrustedIps$outboundSchema; - /** @deprecated use `TrustedIps$Outbound` instead. */ - export type Outbound = TrustedIps$Outbound; -} - -export function trustedIpsToJSON(trustedIps: TrustedIps): string { - return JSON.stringify(TrustedIps$outboundSchema.parse(trustedIps)); -} - -export function trustedIpsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TrustedIps$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TrustedIps' from JSON`, - ); -} - -/** @internal */ -export const Paths$inboundSchema: z.ZodType = z - .object({ - value: z.string(), - }); - -/** @internal */ -export type Paths$Outbound = { - value: string; -}; - -/** @internal */ -export const Paths$outboundSchema: z.ZodType< - Paths$Outbound, - z.ZodTypeDef, - Paths -> = z.object({ - value: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Paths$ { - /** @deprecated use `Paths$inboundSchema` instead. */ - export const inboundSchema = Paths$inboundSchema; - /** @deprecated use `Paths$outboundSchema` instead. */ - export const outboundSchema = Paths$outboundSchema; - /** @deprecated use `Paths$Outbound` instead. */ - export type Outbound = Paths$Outbound; -} - -export function pathsToJSON(paths: Paths): string { - return JSON.stringify(Paths$outboundSchema.parse(paths)); -} - -export function pathsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Paths$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Paths' from JSON`, - ); -} - -/** @internal */ -export const OptionsAllowlist$inboundSchema: z.ZodType< - OptionsAllowlist, - z.ZodTypeDef, - unknown -> = z.object({ - paths: z.array(z.lazy(() => Paths$inboundSchema)), -}); - -/** @internal */ -export type OptionsAllowlist$Outbound = { - paths: Array; -}; - -/** @internal */ -export const OptionsAllowlist$outboundSchema: z.ZodType< - OptionsAllowlist$Outbound, - z.ZodTypeDef, - OptionsAllowlist -> = z.object({ - paths: z.array(z.lazy(() => Paths$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OptionsAllowlist$ { - /** @deprecated use `OptionsAllowlist$inboundSchema` instead. */ - export const inboundSchema = OptionsAllowlist$inboundSchema; - /** @deprecated use `OptionsAllowlist$outboundSchema` instead. */ - export const outboundSchema = OptionsAllowlist$outboundSchema; - /** @deprecated use `OptionsAllowlist$Outbound` instead. */ - export type Outbound = OptionsAllowlist$Outbound; -} - -export function optionsAllowlistToJSON( - optionsAllowlist: OptionsAllowlist, -): string { - return JSON.stringify( - OptionsAllowlist$outboundSchema.parse(optionsAllowlist), - ); -} - -export function optionsAllowlistFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => OptionsAllowlist$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OptionsAllowlist' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectRequestBody$inboundSchema: z.ZodType< - UpdateProjectRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - autoExposeSystemEnvs: z.boolean().optional(), - autoAssignCustomDomains: z.boolean().optional(), - autoAssignCustomDomainsUpdatedBy: z.string().optional(), - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - customerSupportCodeVisibility: z.boolean().optional(), - devCommand: z.nullable(z.string()).optional(), - directoryListing: z.boolean().optional(), - framework: z.nullable(UpdateProjectFramework$inboundSchema).optional(), - gitForkProtection: z.boolean().optional(), - gitLFS: z.boolean().optional(), - installCommand: z.nullable(z.string()).optional(), - name: z.string().optional(), - nodeVersion: UpdateProjectNodeVersion$inboundSchema.optional(), - outputDirectory: z.nullable(z.string()).optional(), - previewDeploymentsDisabled: z.nullable(z.boolean()).optional(), - publicSource: z.nullable(z.boolean()).optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - serverlessFunctionZeroConfigFailover: z.boolean().optional(), - skewProtectionBoundaryAt: z.number().int().optional(), - skewProtectionMaxAge: z.number().int().optional(), - skipGitConnectDuringLink: z.boolean().optional(), - sourceFilesOutsideRootDirectory: z.boolean().optional(), - enablePreviewFeedback: z.nullable(z.boolean()).optional(), - enableProductionFeedback: z.nullable(z.boolean()).optional(), - enableAffectedProjectsDeployments: z.boolean().optional(), - oidcTokenConfig: z.lazy(() => UpdateProjectOidcTokenConfig$inboundSchema) - .optional(), - passwordProtection: z.nullable(z.lazy(() => PasswordProtection$inboundSchema)) - .optional(), - ssoProtection: z.nullable(z.lazy(() => SsoProtection$inboundSchema)) - .optional(), - trustedIps: z.nullable(z.lazy(() => TrustedIps$inboundSchema)).optional(), - optionsAllowlist: z.nullable(z.lazy(() => OptionsAllowlist$inboundSchema)) - .optional(), -}); - -/** @internal */ -export type UpdateProjectRequestBody$Outbound = { - autoExposeSystemEnvs?: boolean | undefined; - autoAssignCustomDomains?: boolean | undefined; - autoAssignCustomDomainsUpdatedBy?: string | undefined; - buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - customerSupportCodeVisibility?: boolean | undefined; - devCommand?: string | null | undefined; - directoryListing?: boolean | undefined; - framework?: string | null | undefined; - gitForkProtection?: boolean | undefined; - gitLFS?: boolean | undefined; - installCommand?: string | null | undefined; - name?: string | undefined; - nodeVersion?: string | undefined; - outputDirectory?: string | null | undefined; - previewDeploymentsDisabled?: boolean | null | undefined; - publicSource?: boolean | null | undefined; - rootDirectory?: string | null | undefined; - serverlessFunctionRegion?: string | null | undefined; - serverlessFunctionZeroConfigFailover?: boolean | undefined; - skewProtectionBoundaryAt?: number | undefined; - skewProtectionMaxAge?: number | undefined; - skipGitConnectDuringLink?: boolean | undefined; - sourceFilesOutsideRootDirectory?: boolean | undefined; - enablePreviewFeedback?: boolean | null | undefined; - enableProductionFeedback?: boolean | null | undefined; - enableAffectedProjectsDeployments?: boolean | undefined; - oidcTokenConfig?: UpdateProjectOidcTokenConfig$Outbound | undefined; - passwordProtection?: PasswordProtection$Outbound | null | undefined; - ssoProtection?: SsoProtection$Outbound | null | undefined; - trustedIps?: TrustedIps$Outbound | null | undefined; - optionsAllowlist?: OptionsAllowlist$Outbound | null | undefined; -}; - -/** @internal */ -export const UpdateProjectRequestBody$outboundSchema: z.ZodType< - UpdateProjectRequestBody$Outbound, - z.ZodTypeDef, - UpdateProjectRequestBody -> = z.object({ - autoExposeSystemEnvs: z.boolean().optional(), - autoAssignCustomDomains: z.boolean().optional(), - autoAssignCustomDomainsUpdatedBy: z.string().optional(), - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - customerSupportCodeVisibility: z.boolean().optional(), - devCommand: z.nullable(z.string()).optional(), - directoryListing: z.boolean().optional(), - framework: z.nullable(UpdateProjectFramework$outboundSchema).optional(), - gitForkProtection: z.boolean().optional(), - gitLFS: z.boolean().optional(), - installCommand: z.nullable(z.string()).optional(), - name: z.string().optional(), - nodeVersion: UpdateProjectNodeVersion$outboundSchema.optional(), - outputDirectory: z.nullable(z.string()).optional(), - previewDeploymentsDisabled: z.nullable(z.boolean()).optional(), - publicSource: z.nullable(z.boolean()).optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - serverlessFunctionZeroConfigFailover: z.boolean().optional(), - skewProtectionBoundaryAt: z.number().int().optional(), - skewProtectionMaxAge: z.number().int().optional(), - skipGitConnectDuringLink: z.boolean().optional(), - sourceFilesOutsideRootDirectory: z.boolean().optional(), - enablePreviewFeedback: z.nullable(z.boolean()).optional(), - enableProductionFeedback: z.nullable(z.boolean()).optional(), - enableAffectedProjectsDeployments: z.boolean().optional(), - oidcTokenConfig: z.lazy(() => UpdateProjectOidcTokenConfig$outboundSchema) - .optional(), - passwordProtection: z.nullable( - z.lazy(() => PasswordProtection$outboundSchema), - ).optional(), - ssoProtection: z.nullable(z.lazy(() => SsoProtection$outboundSchema)) - .optional(), - trustedIps: z.nullable(z.lazy(() => TrustedIps$outboundSchema)).optional(), - optionsAllowlist: z.nullable(z.lazy(() => OptionsAllowlist$outboundSchema)) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectRequestBody$ { - /** @deprecated use `UpdateProjectRequestBody$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectRequestBody$inboundSchema; - /** @deprecated use `UpdateProjectRequestBody$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectRequestBody$outboundSchema; - /** @deprecated use `UpdateProjectRequestBody$Outbound` instead. */ - export type Outbound = UpdateProjectRequestBody$Outbound; -} - -export function updateProjectRequestBodyToJSON( - updateProjectRequestBody: UpdateProjectRequestBody, -): string { - return JSON.stringify( - UpdateProjectRequestBody$outboundSchema.parse(updateProjectRequestBody), - ); -} - -export function updateProjectRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectRequestBody' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectRequest$inboundSchema: z.ZodType< - UpdateProjectRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => UpdateProjectRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type UpdateProjectRequest$Outbound = { - idOrName: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: UpdateProjectRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const UpdateProjectRequest$outboundSchema: z.ZodType< - UpdateProjectRequest$Outbound, - z.ZodTypeDef, - UpdateProjectRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateProjectRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectRequest$ { - /** @deprecated use `UpdateProjectRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectRequest$inboundSchema; - /** @deprecated use `UpdateProjectRequest$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectRequest$outboundSchema; - /** @deprecated use `UpdateProjectRequest$Outbound` instead. */ - export type Outbound = UpdateProjectRequest$Outbound; -} - -export function updateProjectRequestToJSON( - updateProjectRequest: UpdateProjectRequest, -): string { - return JSON.stringify( - UpdateProjectRequest$outboundSchema.parse(updateProjectRequest), - ); -} - -export function updateProjectRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectRequest' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectAnalytics$inboundSchema: z.ZodType< - UpdateProjectAnalytics, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - canceledAt: z.nullable(z.number()).optional(), - disabledAt: z.number(), - enabledAt: z.number(), - paidAt: z.number().optional(), - sampleRatePercent: z.nullable(z.number()).optional(), - spendLimitInDollars: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type UpdateProjectAnalytics$Outbound = { - id: string; - canceledAt?: number | null | undefined; - disabledAt: number; - enabledAt: number; - paidAt?: number | undefined; - sampleRatePercent?: number | null | undefined; - spendLimitInDollars?: number | null | undefined; -}; - -/** @internal */ -export const UpdateProjectAnalytics$outboundSchema: z.ZodType< - UpdateProjectAnalytics$Outbound, - z.ZodTypeDef, - UpdateProjectAnalytics -> = z.object({ - id: z.string(), - canceledAt: z.nullable(z.number()).optional(), - disabledAt: z.number(), - enabledAt: z.number(), - paidAt: z.number().optional(), - sampleRatePercent: z.nullable(z.number()).optional(), - spendLimitInDollars: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectAnalytics$ { - /** @deprecated use `UpdateProjectAnalytics$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectAnalytics$inboundSchema; - /** @deprecated use `UpdateProjectAnalytics$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectAnalytics$outboundSchema; - /** @deprecated use `UpdateProjectAnalytics$Outbound` instead. */ - export type Outbound = UpdateProjectAnalytics$Outbound; -} - -export function updateProjectAnalyticsToJSON( - updateProjectAnalytics: UpdateProjectAnalytics, -): string { - return JSON.stringify( - UpdateProjectAnalytics$outboundSchema.parse(updateProjectAnalytics), - ); -} - -export function updateProjectAnalyticsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectAnalytics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectAnalytics' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectSpeedInsights$inboundSchema: z.ZodType< - UpdateProjectSpeedInsights, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - enabledAt: z.number().optional(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - hasData: z.boolean().optional(), - paidAt: z.number().optional(), -}); - -/** @internal */ -export type UpdateProjectSpeedInsights$Outbound = { - id: string; - enabledAt?: number | undefined; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - hasData?: boolean | undefined; - paidAt?: number | undefined; -}; - -/** @internal */ -export const UpdateProjectSpeedInsights$outboundSchema: z.ZodType< - UpdateProjectSpeedInsights$Outbound, - z.ZodTypeDef, - UpdateProjectSpeedInsights -> = z.object({ - id: z.string(), - enabledAt: z.number().optional(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - hasData: z.boolean().optional(), - paidAt: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectSpeedInsights$ { - /** @deprecated use `UpdateProjectSpeedInsights$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectSpeedInsights$inboundSchema; - /** @deprecated use `UpdateProjectSpeedInsights$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectSpeedInsights$outboundSchema; - /** @deprecated use `UpdateProjectSpeedInsights$Outbound` instead. */ - export type Outbound = UpdateProjectSpeedInsights$Outbound; -} - -export function updateProjectSpeedInsightsToJSON( - updateProjectSpeedInsights: UpdateProjectSpeedInsights, -): string { - return JSON.stringify( - UpdateProjectSpeedInsights$outboundSchema.parse(updateProjectSpeedInsights), - ); -} - -export function updateProjectSpeedInsightsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectSpeedInsights$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectSpeedInsights' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDefinitions$inboundSchema: z.ZodType< - UpdateProjectDefinitions, - z.ZodTypeDef, - unknown -> = z.object({ - host: z.string(), - path: z.string(), - schedule: z.string(), -}); - -/** @internal */ -export type UpdateProjectDefinitions$Outbound = { - host: string; - path: string; - schedule: string; -}; - -/** @internal */ -export const UpdateProjectDefinitions$outboundSchema: z.ZodType< - UpdateProjectDefinitions$Outbound, - z.ZodTypeDef, - UpdateProjectDefinitions -> = z.object({ - host: z.string(), - path: z.string(), - schedule: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDefinitions$ { - /** @deprecated use `UpdateProjectDefinitions$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDefinitions$inboundSchema; - /** @deprecated use `UpdateProjectDefinitions$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDefinitions$outboundSchema; - /** @deprecated use `UpdateProjectDefinitions$Outbound` instead. */ - export type Outbound = UpdateProjectDefinitions$Outbound; -} - -export function updateProjectDefinitionsToJSON( - updateProjectDefinitions: UpdateProjectDefinitions, -): string { - return JSON.stringify( - UpdateProjectDefinitions$outboundSchema.parse(updateProjectDefinitions), - ); -} - -export function updateProjectDefinitionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDefinitions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDefinitions' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectCrons$inboundSchema: z.ZodType< - UpdateProjectCrons, - z.ZodTypeDef, - unknown -> = z.object({ - enabledAt: z.number(), - disabledAt: z.nullable(z.number()), - updatedAt: z.number(), - deploymentId: z.nullable(z.string()), - definitions: z.array(z.lazy(() => UpdateProjectDefinitions$inboundSchema)), -}); - -/** @internal */ -export type UpdateProjectCrons$Outbound = { - enabledAt: number; - disabledAt: number | null; - updatedAt: number; - deploymentId: string | null; - definitions: Array; -}; - -/** @internal */ -export const UpdateProjectCrons$outboundSchema: z.ZodType< - UpdateProjectCrons$Outbound, - z.ZodTypeDef, - UpdateProjectCrons -> = z.object({ - enabledAt: z.number(), - disabledAt: z.nullable(z.number()), - updatedAt: z.number(), - deploymentId: z.nullable(z.string()), - definitions: z.array(z.lazy(() => UpdateProjectDefinitions$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectCrons$ { - /** @deprecated use `UpdateProjectCrons$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectCrons$inboundSchema; - /** @deprecated use `UpdateProjectCrons$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectCrons$outboundSchema; - /** @deprecated use `UpdateProjectCrons$Outbound` instead. */ - export type Outbound = UpdateProjectCrons$Outbound; -} - -export function updateProjectCronsToJSON( - updateProjectCrons: UpdateProjectCrons, -): string { - return JSON.stringify( - UpdateProjectCrons$outboundSchema.parse(updateProjectCrons), - ); -} - -export function updateProjectCronsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectCrons$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectCrons' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCache$inboundSchema: z.ZodType< - UpdateProjectDataCache, - z.ZodTypeDef, - unknown -> = z.object({ - userDisabled: z.boolean(), - storageSizeBytes: z.nullable(z.number()).optional(), - unlimited: z.boolean().optional(), -}); - -/** @internal */ -export type UpdateProjectDataCache$Outbound = { - userDisabled: boolean; - storageSizeBytes?: number | null | undefined; - unlimited?: boolean | undefined; -}; - -/** @internal */ -export const UpdateProjectDataCache$outboundSchema: z.ZodType< - UpdateProjectDataCache$Outbound, - z.ZodTypeDef, - UpdateProjectDataCache -> = z.object({ - userDisabled: z.boolean(), - storageSizeBytes: z.nullable(z.number()).optional(), - unlimited: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCache$ { - /** @deprecated use `UpdateProjectDataCache$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCache$inboundSchema; - /** @deprecated use `UpdateProjectDataCache$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCache$outboundSchema; - /** @deprecated use `UpdateProjectDataCache$Outbound` instead. */ - export type Outbound = UpdateProjectDataCache$Outbound; -} - -export function updateProjectDataCacheToJSON( - updateProjectDataCache: UpdateProjectDataCache, -): string { - return JSON.stringify( - UpdateProjectDataCache$outboundSchema.parse(updateProjectDataCache), - ); -} - -export function updateProjectDataCacheFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDataCache$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCache' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDeploymentExpiration$inboundSchema: z.ZodType< - UpdateProjectDeploymentExpiration, - z.ZodTypeDef, - unknown -> = z.object({ - expirationDays: z.number().optional(), - expirationDaysProduction: z.number().optional(), - expirationDaysCanceled: z.number().optional(), - expirationDaysErrored: z.number().optional(), - deploymentsToKeep: z.number().optional(), -}); - -/** @internal */ -export type UpdateProjectDeploymentExpiration$Outbound = { - expirationDays?: number | undefined; - expirationDaysProduction?: number | undefined; - expirationDaysCanceled?: number | undefined; - expirationDaysErrored?: number | undefined; - deploymentsToKeep?: number | undefined; -}; - -/** @internal */ -export const UpdateProjectDeploymentExpiration$outboundSchema: z.ZodType< - UpdateProjectDeploymentExpiration$Outbound, - z.ZodTypeDef, - UpdateProjectDeploymentExpiration -> = z.object({ - expirationDays: z.number().optional(), - expirationDaysProduction: z.number().optional(), - expirationDaysCanceled: z.number().optional(), - expirationDaysErrored: z.number().optional(), - deploymentsToKeep: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDeploymentExpiration$ { - /** @deprecated use `UpdateProjectDeploymentExpiration$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDeploymentExpiration$inboundSchema; - /** @deprecated use `UpdateProjectDeploymentExpiration$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDeploymentExpiration$outboundSchema; - /** @deprecated use `UpdateProjectDeploymentExpiration$Outbound` instead. */ - export type Outbound = UpdateProjectDeploymentExpiration$Outbound; -} - -export function updateProjectDeploymentExpirationToJSON( - updateProjectDeploymentExpiration: UpdateProjectDeploymentExpiration, -): string { - return JSON.stringify( - UpdateProjectDeploymentExpiration$outboundSchema.parse( - updateProjectDeploymentExpiration, - ), - ); -} - -export function updateProjectDeploymentExpirationFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDeploymentExpiration$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDeploymentExpiration' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectTarget2$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectTarget2 -> = z.nativeEnum(UpdateProjectTarget2); - -/** @internal */ -export const UpdateProjectTarget2$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectTarget2 -> = UpdateProjectTarget2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectTarget2$ { - /** @deprecated use `UpdateProjectTarget2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectTarget2$inboundSchema; - /** @deprecated use `UpdateProjectTarget2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectTarget2$outboundSchema; -} - -/** @internal */ -export const UpdateProjectTarget$inboundSchema: z.ZodType< - UpdateProjectTarget, - z.ZodTypeDef, - unknown -> = z.union([z.array(z.string()), UpdateProjectTarget2$inboundSchema]); - -/** @internal */ -export type UpdateProjectTarget$Outbound = Array | string; - -/** @internal */ -export const UpdateProjectTarget$outboundSchema: z.ZodType< - UpdateProjectTarget$Outbound, - z.ZodTypeDef, - UpdateProjectTarget -> = z.union([z.array(z.string()), UpdateProjectTarget2$outboundSchema]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectTarget$ { - /** @deprecated use `UpdateProjectTarget$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectTarget$inboundSchema; - /** @deprecated use `UpdateProjectTarget$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectTarget$outboundSchema; - /** @deprecated use `UpdateProjectTarget$Outbound` instead. */ - export type Outbound = UpdateProjectTarget$Outbound; -} - -export function updateProjectTargetToJSON( - updateProjectTarget: UpdateProjectTarget, -): string { - return JSON.stringify( - UpdateProjectTarget$outboundSchema.parse(updateProjectTarget), - ); -} - -export function updateProjectTargetFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectTarget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectTarget' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectType$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectType -> = z.nativeEnum(UpdateProjectType); - -/** @internal */ -export const UpdateProjectType$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectType -> = UpdateProjectType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectType$ { - /** @deprecated use `UpdateProjectType$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectType$inboundSchema; - /** @deprecated use `UpdateProjectType$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type - > = z.nativeEnum( - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type, - ); - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type - > = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$ { - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema; - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema; -} - -/** @internal */ -export const UpdateProjectContentHint15$inboundSchema: z.ZodType< - UpdateProjectContentHint15, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema, - projectId: z.string(), -}); - -/** @internal */ -export type UpdateProjectContentHint15$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const UpdateProjectContentHint15$outboundSchema: z.ZodType< - UpdateProjectContentHint15$Outbound, - z.ZodTypeDef, - UpdateProjectContentHint15 -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHint15$ { - /** @deprecated use `UpdateProjectContentHint15$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHint15$inboundSchema; - /** @deprecated use `UpdateProjectContentHint15$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHint15$outboundSchema; - /** @deprecated use `UpdateProjectContentHint15$Outbound` instead. */ - export type Outbound = UpdateProjectContentHint15$Outbound; -} - -export function updateProjectContentHint15ToJSON( - updateProjectContentHint15: UpdateProjectContentHint15, -): string { - return JSON.stringify( - UpdateProjectContentHint15$outboundSchema.parse(updateProjectContentHint15), - ); -} - -export function updateProjectContentHint15FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectContentHint15$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectContentHint15' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type - > = z.nativeEnum( - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type, - ); - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type - > = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$ { - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema; - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema; -} - -/** @internal */ -export const UpdateProjectContentHint14$inboundSchema: z.ZodType< - UpdateProjectContentHint14, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** @internal */ -export type UpdateProjectContentHint14$Outbound = { - type: string; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -/** @internal */ -export const UpdateProjectContentHint14$outboundSchema: z.ZodType< - UpdateProjectContentHint14$Outbound, - z.ZodTypeDef, - UpdateProjectContentHint14 -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHint14$ { - /** @deprecated use `UpdateProjectContentHint14$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHint14$inboundSchema; - /** @deprecated use `UpdateProjectContentHint14$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHint14$outboundSchema; - /** @deprecated use `UpdateProjectContentHint14$Outbound` instead. */ - export type Outbound = UpdateProjectContentHint14$Outbound; -} - -export function updateProjectContentHint14ToJSON( - updateProjectContentHint14: UpdateProjectContentHint14, -): string { - return JSON.stringify( - UpdateProjectContentHint14$outboundSchema.parse(updateProjectContentHint14), - ); -} - -export function updateProjectContentHint14FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectContentHint14$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectContentHint14' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type - > = z.nativeEnum( - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type, - ); - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type - > = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$ { - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema; - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema; -} - -/** @internal */ -export const UpdateProjectContentHint13$inboundSchema: z.ZodType< - UpdateProjectContentHint13, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type UpdateProjectContentHint13$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const UpdateProjectContentHint13$outboundSchema: z.ZodType< - UpdateProjectContentHint13$Outbound, - z.ZodTypeDef, - UpdateProjectContentHint13 -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHint13$ { - /** @deprecated use `UpdateProjectContentHint13$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHint13$inboundSchema; - /** @deprecated use `UpdateProjectContentHint13$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHint13$outboundSchema; - /** @deprecated use `UpdateProjectContentHint13$Outbound` instead. */ - export type Outbound = UpdateProjectContentHint13$Outbound; -} - -export function updateProjectContentHint13ToJSON( - updateProjectContentHint13: UpdateProjectContentHint13, -): string { - return JSON.stringify( - UpdateProjectContentHint13$outboundSchema.parse(updateProjectContentHint13), - ); -} - -export function updateProjectContentHint13FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectContentHint13$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectContentHint13' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type - > = z.nativeEnum( - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type, - ); - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type - > = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$ { - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema; - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema; -} - -/** @internal */ -export const UpdateProjectContentHint12$inboundSchema: z.ZodType< - UpdateProjectContentHint12, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type UpdateProjectContentHint12$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const UpdateProjectContentHint12$outboundSchema: z.ZodType< - UpdateProjectContentHint12$Outbound, - z.ZodTypeDef, - UpdateProjectContentHint12 -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHint12$ { - /** @deprecated use `UpdateProjectContentHint12$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHint12$inboundSchema; - /** @deprecated use `UpdateProjectContentHint12$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHint12$outboundSchema; - /** @deprecated use `UpdateProjectContentHint12$Outbound` instead. */ - export type Outbound = UpdateProjectContentHint12$Outbound; -} - -export function updateProjectContentHint12ToJSON( - updateProjectContentHint12: UpdateProjectContentHint12, -): string { - return JSON.stringify( - UpdateProjectContentHint12$outboundSchema.parse(updateProjectContentHint12), - ); -} - -export function updateProjectContentHint12FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectContentHint12$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectContentHint12' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type - > = z.nativeEnum( - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type, - ); - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type - > = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$ { - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema; - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema; -} - -/** @internal */ -export const UpdateProjectContentHint11$inboundSchema: z.ZodType< - UpdateProjectContentHint11, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type UpdateProjectContentHint11$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const UpdateProjectContentHint11$outboundSchema: z.ZodType< - UpdateProjectContentHint11$Outbound, - z.ZodTypeDef, - UpdateProjectContentHint11 -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHint11$ { - /** @deprecated use `UpdateProjectContentHint11$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHint11$inboundSchema; - /** @deprecated use `UpdateProjectContentHint11$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHint11$outboundSchema; - /** @deprecated use `UpdateProjectContentHint11$Outbound` instead. */ - export type Outbound = UpdateProjectContentHint11$Outbound; -} - -export function updateProjectContentHint11ToJSON( - updateProjectContentHint11: UpdateProjectContentHint11, -): string { - return JSON.stringify( - UpdateProjectContentHint11$outboundSchema.parse(updateProjectContentHint11), - ); -} - -export function updateProjectContentHint11FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectContentHint11$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectContentHint11' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type - > = z.nativeEnum( - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type, - ); - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type - > = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$ { - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema; - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema; -} - -/** @internal */ -export const UpdateProjectContentHint10$inboundSchema: z.ZodType< - UpdateProjectContentHint10, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type UpdateProjectContentHint10$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const UpdateProjectContentHint10$outboundSchema: z.ZodType< - UpdateProjectContentHint10$Outbound, - z.ZodTypeDef, - UpdateProjectContentHint10 -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHint10$ { - /** @deprecated use `UpdateProjectContentHint10$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHint10$inboundSchema; - /** @deprecated use `UpdateProjectContentHint10$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHint10$outboundSchema; - /** @deprecated use `UpdateProjectContentHint10$Outbound` instead. */ - export type Outbound = UpdateProjectContentHint10$Outbound; -} - -export function updateProjectContentHint10ToJSON( - updateProjectContentHint10: UpdateProjectContentHint10, -): string { - return JSON.stringify( - UpdateProjectContentHint10$outboundSchema.parse(updateProjectContentHint10), - ); -} - -export function updateProjectContentHint10FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectContentHint10$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectContentHint10' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type - > = z.nativeEnum( - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type, - ); - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type - > = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$ { - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema; - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema; -} - -/** @internal */ -export const UpdateProjectContentHint9$inboundSchema: z.ZodType< - UpdateProjectContentHint9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type UpdateProjectContentHint9$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const UpdateProjectContentHint9$outboundSchema: z.ZodType< - UpdateProjectContentHint9$Outbound, - z.ZodTypeDef, - UpdateProjectContentHint9 -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHint9$ { - /** @deprecated use `UpdateProjectContentHint9$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHint9$inboundSchema; - /** @deprecated use `UpdateProjectContentHint9$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHint9$outboundSchema; - /** @deprecated use `UpdateProjectContentHint9$Outbound` instead. */ - export type Outbound = UpdateProjectContentHint9$Outbound; -} - -export function updateProjectContentHint9ToJSON( - updateProjectContentHint9: UpdateProjectContentHint9, -): string { - return JSON.stringify( - UpdateProjectContentHint9$outboundSchema.parse(updateProjectContentHint9), - ); -} - -export function updateProjectContentHint9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectContentHint9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectContentHint9' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type - > = z.nativeEnum( - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type, - ); - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type - > = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$ { - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema; - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema; -} - -/** @internal */ -export const UpdateProjectContentHint8$inboundSchema: z.ZodType< - UpdateProjectContentHint8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type UpdateProjectContentHint8$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const UpdateProjectContentHint8$outboundSchema: z.ZodType< - UpdateProjectContentHint8$Outbound, - z.ZodTypeDef, - UpdateProjectContentHint8 -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHint8$ { - /** @deprecated use `UpdateProjectContentHint8$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHint8$inboundSchema; - /** @deprecated use `UpdateProjectContentHint8$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHint8$outboundSchema; - /** @deprecated use `UpdateProjectContentHint8$Outbound` instead. */ - export type Outbound = UpdateProjectContentHint8$Outbound; -} - -export function updateProjectContentHint8ToJSON( - updateProjectContentHint8: UpdateProjectContentHint8, -): string { - return JSON.stringify( - UpdateProjectContentHint8$outboundSchema.parse(updateProjectContentHint8), - ); -} - -export function updateProjectContentHint8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectContentHint8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectContentHint8' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType - > = z.nativeEnum( - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType, - ); - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType - > = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$ { - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectContentHint7$inboundSchema: z.ZodType< - UpdateProjectContentHint7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type UpdateProjectContentHint7$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const UpdateProjectContentHint7$outboundSchema: z.ZodType< - UpdateProjectContentHint7$Outbound, - z.ZodTypeDef, - UpdateProjectContentHint7 -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHint7$ { - /** @deprecated use `UpdateProjectContentHint7$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHint7$inboundSchema; - /** @deprecated use `UpdateProjectContentHint7$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHint7$outboundSchema; - /** @deprecated use `UpdateProjectContentHint7$Outbound` instead. */ - export type Outbound = UpdateProjectContentHint7$Outbound; -} - -export function updateProjectContentHint7ToJSON( - updateProjectContentHint7: UpdateProjectContentHint7, -): string { - return JSON.stringify( - UpdateProjectContentHint7$outboundSchema.parse(updateProjectContentHint7), - ); -} - -export function updateProjectContentHint7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectContentHint7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectContentHint7' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType, - ); - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType - > = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectContentHint6$inboundSchema: z.ZodType< - UpdateProjectContentHint6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type UpdateProjectContentHint6$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const UpdateProjectContentHint6$outboundSchema: z.ZodType< - UpdateProjectContentHint6$Outbound, - z.ZodTypeDef, - UpdateProjectContentHint6 -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHint6$ { - /** @deprecated use `UpdateProjectContentHint6$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHint6$inboundSchema; - /** @deprecated use `UpdateProjectContentHint6$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHint6$outboundSchema; - /** @deprecated use `UpdateProjectContentHint6$Outbound` instead. */ - export type Outbound = UpdateProjectContentHint6$Outbound; -} - -export function updateProjectContentHint6ToJSON( - updateProjectContentHint6: UpdateProjectContentHint6, -): string { - return JSON.stringify( - UpdateProjectContentHint6$outboundSchema.parse(updateProjectContentHint6), - ); -} - -export function updateProjectContentHint6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectContentHint6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectContentHint6' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONType - > = z.nativeEnum( - UpdateProjectContentHintProjectsResponse200ApplicationJSONType, - ); - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONType - > = - UpdateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectContentHint5$inboundSchema: z.ZodType< - UpdateProjectContentHint5, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type UpdateProjectContentHint5$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const UpdateProjectContentHint5$outboundSchema: z.ZodType< - UpdateProjectContentHint5$Outbound, - z.ZodTypeDef, - UpdateProjectContentHint5 -> = z.object({ - type: - UpdateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHint5$ { - /** @deprecated use `UpdateProjectContentHint5$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHint5$inboundSchema; - /** @deprecated use `UpdateProjectContentHint5$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHint5$outboundSchema; - /** @deprecated use `UpdateProjectContentHint5$Outbound` instead. */ - export type Outbound = UpdateProjectContentHint5$Outbound; -} - -export function updateProjectContentHint5ToJSON( - updateProjectContentHint5: UpdateProjectContentHint5, -): string { - return JSON.stringify( - UpdateProjectContentHint5$outboundSchema.parse(updateProjectContentHint5), - ); -} - -export function updateProjectContentHint5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectContentHint5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectContentHint5' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectContentHintProjectsResponse200Type); - -/** @internal */ -export const UpdateProjectContentHintProjectsResponse200Type$outboundSchema: - z.ZodNativeEnum = - UpdateProjectContentHintProjectsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHintProjectsResponse200Type$ { - /** @deprecated use `UpdateProjectContentHintProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectContentHintProjectsResponse200Type$inboundSchema; - /** @deprecated use `UpdateProjectContentHintProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectContentHintProjectsResponse200Type$outboundSchema; -} - -/** @internal */ -export const UpdateProjectContentHint4$inboundSchema: z.ZodType< - UpdateProjectContentHint4, - z.ZodTypeDef, - unknown -> = z.object({ - type: UpdateProjectContentHintProjectsResponse200Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type UpdateProjectContentHint4$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const UpdateProjectContentHint4$outboundSchema: z.ZodType< - UpdateProjectContentHint4$Outbound, - z.ZodTypeDef, - UpdateProjectContentHint4 -> = z.object({ - type: UpdateProjectContentHintProjectsResponse200Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHint4$ { - /** @deprecated use `UpdateProjectContentHint4$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHint4$inboundSchema; - /** @deprecated use `UpdateProjectContentHint4$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHint4$outboundSchema; - /** @deprecated use `UpdateProjectContentHint4$Outbound` instead. */ - export type Outbound = UpdateProjectContentHint4$Outbound; -} - -export function updateProjectContentHint4ToJSON( - updateProjectContentHint4: UpdateProjectContentHint4, -): string { - return JSON.stringify( - UpdateProjectContentHint4$outboundSchema.parse(updateProjectContentHint4), - ); -} - -export function updateProjectContentHint4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectContentHint4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectContentHint4' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectContentHintProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectContentHintProjectsResponseType); - -/** @internal */ -export const UpdateProjectContentHintProjectsResponseType$outboundSchema: - z.ZodNativeEnum = - UpdateProjectContentHintProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHintProjectsResponseType$ { - /** @deprecated use `UpdateProjectContentHintProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectContentHintProjectsResponseType$inboundSchema; - /** @deprecated use `UpdateProjectContentHintProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectContentHintProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectContentHint3$inboundSchema: z.ZodType< - UpdateProjectContentHint3, - z.ZodTypeDef, - unknown -> = z.object({ - type: UpdateProjectContentHintProjectsResponseType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type UpdateProjectContentHint3$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const UpdateProjectContentHint3$outboundSchema: z.ZodType< - UpdateProjectContentHint3$Outbound, - z.ZodTypeDef, - UpdateProjectContentHint3 -> = z.object({ - type: UpdateProjectContentHintProjectsResponseType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHint3$ { - /** @deprecated use `UpdateProjectContentHint3$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHint3$inboundSchema; - /** @deprecated use `UpdateProjectContentHint3$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHint3$outboundSchema; - /** @deprecated use `UpdateProjectContentHint3$Outbound` instead. */ - export type Outbound = UpdateProjectContentHint3$Outbound; -} - -export function updateProjectContentHint3ToJSON( - updateProjectContentHint3: UpdateProjectContentHint3, -): string { - return JSON.stringify( - UpdateProjectContentHint3$outboundSchema.parse(updateProjectContentHint3), - ); -} - -export function updateProjectContentHint3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectContentHint3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectContentHint3' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectContentHintProjectsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectContentHintProjectsType, - ); - -/** @internal */ -export const UpdateProjectContentHintProjectsType$outboundSchema: - z.ZodNativeEnum = - UpdateProjectContentHintProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHintProjectsType$ { - /** @deprecated use `UpdateProjectContentHintProjectsType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectContentHintProjectsType$inboundSchema; - /** @deprecated use `UpdateProjectContentHintProjectsType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectContentHintProjectsType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectContentHint2$inboundSchema: z.ZodType< - UpdateProjectContentHint2, - z.ZodTypeDef, - unknown -> = z.object({ - type: UpdateProjectContentHintProjectsType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type UpdateProjectContentHint2$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const UpdateProjectContentHint2$outboundSchema: z.ZodType< - UpdateProjectContentHint2$Outbound, - z.ZodTypeDef, - UpdateProjectContentHint2 -> = z.object({ - type: UpdateProjectContentHintProjectsType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHint2$ { - /** @deprecated use `UpdateProjectContentHint2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHint2$inboundSchema; - /** @deprecated use `UpdateProjectContentHint2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHint2$outboundSchema; - /** @deprecated use `UpdateProjectContentHint2$Outbound` instead. */ - export type Outbound = UpdateProjectContentHint2$Outbound; -} - -export function updateProjectContentHint2ToJSON( - updateProjectContentHint2: UpdateProjectContentHint2, -): string { - return JSON.stringify( - UpdateProjectContentHint2$outboundSchema.parse(updateProjectContentHint2), - ); -} - -export function updateProjectContentHint2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectContentHint2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectContentHint2' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectContentHintType$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectContentHintType -> = z.nativeEnum(UpdateProjectContentHintType); - -/** @internal */ -export const UpdateProjectContentHintType$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectContentHintType -> = UpdateProjectContentHintType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHintType$ { - /** @deprecated use `UpdateProjectContentHintType$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHintType$inboundSchema; - /** @deprecated use `UpdateProjectContentHintType$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHintType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectContentHint1$inboundSchema: z.ZodType< - UpdateProjectContentHint1, - z.ZodTypeDef, - unknown -> = z.object({ - type: UpdateProjectContentHintType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type UpdateProjectContentHint1$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const UpdateProjectContentHint1$outboundSchema: z.ZodType< - UpdateProjectContentHint1$Outbound, - z.ZodTypeDef, - UpdateProjectContentHint1 -> = z.object({ - type: UpdateProjectContentHintType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHint1$ { - /** @deprecated use `UpdateProjectContentHint1$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHint1$inboundSchema; - /** @deprecated use `UpdateProjectContentHint1$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHint1$outboundSchema; - /** @deprecated use `UpdateProjectContentHint1$Outbound` instead. */ - export type Outbound = UpdateProjectContentHint1$Outbound; -} - -export function updateProjectContentHint1ToJSON( - updateProjectContentHint1: UpdateProjectContentHint1, -): string { - return JSON.stringify( - UpdateProjectContentHint1$outboundSchema.parse(updateProjectContentHint1), - ); -} - -export function updateProjectContentHint1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectContentHint1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectContentHint1' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectContentHint$inboundSchema: z.ZodType< - UpdateProjectContentHint, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => UpdateProjectContentHint1$inboundSchema), - z.lazy(() => UpdateProjectContentHint2$inboundSchema), - z.lazy(() => UpdateProjectContentHint3$inboundSchema), - z.lazy(() => UpdateProjectContentHint4$inboundSchema), - z.lazy(() => UpdateProjectContentHint5$inboundSchema), - z.lazy(() => UpdateProjectContentHint6$inboundSchema), - z.lazy(() => UpdateProjectContentHint7$inboundSchema), - z.lazy(() => UpdateProjectContentHint8$inboundSchema), - z.lazy(() => UpdateProjectContentHint9$inboundSchema), - z.lazy(() => UpdateProjectContentHint10$inboundSchema), - z.lazy(() => UpdateProjectContentHint11$inboundSchema), - z.lazy(() => UpdateProjectContentHint12$inboundSchema), - z.lazy(() => UpdateProjectContentHint13$inboundSchema), - z.lazy(() => UpdateProjectContentHint15$inboundSchema), - z.lazy(() => UpdateProjectContentHint14$inboundSchema), -]); - -/** @internal */ -export type UpdateProjectContentHint$Outbound = - | UpdateProjectContentHint1$Outbound - | UpdateProjectContentHint2$Outbound - | UpdateProjectContentHint3$Outbound - | UpdateProjectContentHint4$Outbound - | UpdateProjectContentHint5$Outbound - | UpdateProjectContentHint6$Outbound - | UpdateProjectContentHint7$Outbound - | UpdateProjectContentHint8$Outbound - | UpdateProjectContentHint9$Outbound - | UpdateProjectContentHint10$Outbound - | UpdateProjectContentHint11$Outbound - | UpdateProjectContentHint12$Outbound - | UpdateProjectContentHint13$Outbound - | UpdateProjectContentHint15$Outbound - | UpdateProjectContentHint14$Outbound; - -/** @internal */ -export const UpdateProjectContentHint$outboundSchema: z.ZodType< - UpdateProjectContentHint$Outbound, - z.ZodTypeDef, - UpdateProjectContentHint -> = z.union([ - z.lazy(() => UpdateProjectContentHint1$outboundSchema), - z.lazy(() => UpdateProjectContentHint2$outboundSchema), - z.lazy(() => UpdateProjectContentHint3$outboundSchema), - z.lazy(() => UpdateProjectContentHint4$outboundSchema), - z.lazy(() => UpdateProjectContentHint5$outboundSchema), - z.lazy(() => UpdateProjectContentHint6$outboundSchema), - z.lazy(() => UpdateProjectContentHint7$outboundSchema), - z.lazy(() => UpdateProjectContentHint8$outboundSchema), - z.lazy(() => UpdateProjectContentHint9$outboundSchema), - z.lazy(() => UpdateProjectContentHint10$outboundSchema), - z.lazy(() => UpdateProjectContentHint11$outboundSchema), - z.lazy(() => UpdateProjectContentHint12$outboundSchema), - z.lazy(() => UpdateProjectContentHint13$outboundSchema), - z.lazy(() => UpdateProjectContentHint15$outboundSchema), - z.lazy(() => UpdateProjectContentHint14$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectContentHint$ { - /** @deprecated use `UpdateProjectContentHint$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectContentHint$inboundSchema; - /** @deprecated use `UpdateProjectContentHint$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectContentHint$outboundSchema; - /** @deprecated use `UpdateProjectContentHint$Outbound` instead. */ - export type Outbound = UpdateProjectContentHint$Outbound; -} - -export function updateProjectContentHintToJSON( - updateProjectContentHint: UpdateProjectContentHint, -): string { - return JSON.stringify( - UpdateProjectContentHint$outboundSchema.parse(updateProjectContentHint), - ); -} - -export function updateProjectContentHintFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectContentHint$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectContentHint' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType - > = z.nativeEnum( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType, - ); - -/** @internal */ -export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType - > = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$ { - /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectInternalContentHint$inboundSchema: z.ZodType< - UpdateProjectInternalContentHint, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, - encryptedValue: z.string(), -}); - -/** @internal */ -export type UpdateProjectInternalContentHint$Outbound = { - type: string; - encryptedValue: string; -}; - -/** @internal */ -export const UpdateProjectInternalContentHint$outboundSchema: z.ZodType< - UpdateProjectInternalContentHint$Outbound, - z.ZodTypeDef, - UpdateProjectInternalContentHint -> = z.object({ - type: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema, - encryptedValue: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectInternalContentHint$ { - /** @deprecated use `UpdateProjectInternalContentHint$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectInternalContentHint$inboundSchema; - /** @deprecated use `UpdateProjectInternalContentHint$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectInternalContentHint$outboundSchema; - /** @deprecated use `UpdateProjectInternalContentHint$Outbound` instead. */ - export type Outbound = UpdateProjectInternalContentHint$Outbound; -} - -export function updateProjectInternalContentHintToJSON( - updateProjectInternalContentHint: UpdateProjectInternalContentHint, -): string { - return JSON.stringify( - UpdateProjectInternalContentHint$outboundSchema.parse( - updateProjectInternalContentHint, - ), - ); -} - -export function updateProjectInternalContentHintFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectInternalContentHint$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectInternalContentHint' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectEnv$inboundSchema: z.ZodType< - UpdateProjectEnv, - z.ZodTypeDef, - unknown -> = z.object({ - target: z.union([z.array(z.string()), UpdateProjectTarget2$inboundSchema]) - .optional(), - type: UpdateProjectType$inboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => UpdateProjectContentHint1$inboundSchema), - z.lazy(() => UpdateProjectContentHint2$inboundSchema), - z.lazy(() => UpdateProjectContentHint3$inboundSchema), - z.lazy(() => UpdateProjectContentHint4$inboundSchema), - z.lazy(() => UpdateProjectContentHint5$inboundSchema), - z.lazy(() => UpdateProjectContentHint6$inboundSchema), - z.lazy(() => UpdateProjectContentHint7$inboundSchema), - z.lazy(() => UpdateProjectContentHint8$inboundSchema), - z.lazy(() => UpdateProjectContentHint9$inboundSchema), - z.lazy(() => UpdateProjectContentHint10$inboundSchema), - z.lazy(() => UpdateProjectContentHint11$inboundSchema), - z.lazy(() => UpdateProjectContentHint12$inboundSchema), - z.lazy(() => UpdateProjectContentHint13$inboundSchema), - z.lazy(() => UpdateProjectContentHint15$inboundSchema), - z.lazy(() => UpdateProjectContentHint14$inboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => UpdateProjectInternalContentHint$inboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), -}); - -/** @internal */ -export type UpdateProjectEnv$Outbound = { - target?: Array | string | undefined; - type: string; - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | UpdateProjectContentHint1$Outbound - | UpdateProjectContentHint2$Outbound - | UpdateProjectContentHint3$Outbound - | UpdateProjectContentHint4$Outbound - | UpdateProjectContentHint5$Outbound - | UpdateProjectContentHint6$Outbound - | UpdateProjectContentHint7$Outbound - | UpdateProjectContentHint8$Outbound - | UpdateProjectContentHint9$Outbound - | UpdateProjectContentHint10$Outbound - | UpdateProjectContentHint11$Outbound - | UpdateProjectContentHint12$Outbound - | UpdateProjectContentHint13$Outbound - | UpdateProjectContentHint15$Outbound - | UpdateProjectContentHint14$Outbound - | null - | undefined; - internalContentHint?: - | UpdateProjectInternalContentHint$Outbound - | null - | undefined; - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -/** @internal */ -export const UpdateProjectEnv$outboundSchema: z.ZodType< - UpdateProjectEnv$Outbound, - z.ZodTypeDef, - UpdateProjectEnv -> = z.object({ - target: z.union([z.array(z.string()), UpdateProjectTarget2$outboundSchema]) - .optional(), - type: UpdateProjectType$outboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => UpdateProjectContentHint1$outboundSchema), - z.lazy(() => UpdateProjectContentHint2$outboundSchema), - z.lazy(() => UpdateProjectContentHint3$outboundSchema), - z.lazy(() => UpdateProjectContentHint4$outboundSchema), - z.lazy(() => UpdateProjectContentHint5$outboundSchema), - z.lazy(() => UpdateProjectContentHint6$outboundSchema), - z.lazy(() => UpdateProjectContentHint7$outboundSchema), - z.lazy(() => UpdateProjectContentHint8$outboundSchema), - z.lazy(() => UpdateProjectContentHint9$outboundSchema), - z.lazy(() => UpdateProjectContentHint10$outboundSchema), - z.lazy(() => UpdateProjectContentHint11$outboundSchema), - z.lazy(() => UpdateProjectContentHint12$outboundSchema), - z.lazy(() => UpdateProjectContentHint13$outboundSchema), - z.lazy(() => UpdateProjectContentHint15$outboundSchema), - z.lazy(() => UpdateProjectContentHint14$outboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => UpdateProjectInternalContentHint$outboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectEnv$ { - /** @deprecated use `UpdateProjectEnv$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectEnv$inboundSchema; - /** @deprecated use `UpdateProjectEnv$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectEnv$outboundSchema; - /** @deprecated use `UpdateProjectEnv$Outbound` instead. */ - export type Outbound = UpdateProjectEnv$Outbound; -} - -export function updateProjectEnvToJSON( - updateProjectEnv: UpdateProjectEnv, -): string { - return JSON.stringify( - UpdateProjectEnv$outboundSchema.parse(updateProjectEnv), - ); -} - -export function updateProjectEnvFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectEnv$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectEnv' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectCustomEnvironments$inboundSchema: z.ZodType< - UpdateProjectCustomEnvironments, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UpdateProjectCustomEnvironments$Outbound = {}; - -/** @internal */ -export const UpdateProjectCustomEnvironments$outboundSchema: z.ZodType< - UpdateProjectCustomEnvironments$Outbound, - z.ZodTypeDef, - UpdateProjectCustomEnvironments -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectCustomEnvironments$ { - /** @deprecated use `UpdateProjectCustomEnvironments$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectCustomEnvironments$inboundSchema; - /** @deprecated use `UpdateProjectCustomEnvironments$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectCustomEnvironments$outboundSchema; - /** @deprecated use `UpdateProjectCustomEnvironments$Outbound` instead. */ - export type Outbound = UpdateProjectCustomEnvironments$Outbound; -} - -export function updateProjectCustomEnvironmentsToJSON( - updateProjectCustomEnvironments: UpdateProjectCustomEnvironments, -): string { - return JSON.stringify( - UpdateProjectCustomEnvironments$outboundSchema.parse( - updateProjectCustomEnvironments, - ), - ); -} - -export function updateProjectCustomEnvironmentsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectCustomEnvironments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectCustomEnvironments' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsFramework$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsFramework -> = z.nativeEnum(UpdateProjectProjectsFramework); - -/** @internal */ -export const UpdateProjectProjectsFramework$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsFramework -> = UpdateProjectProjectsFramework$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsFramework$ { - /** @deprecated use `UpdateProjectProjectsFramework$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsFramework$inboundSchema; - /** @deprecated use `UpdateProjectProjectsFramework$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProjectsFramework$outboundSchema; -} - -/** @internal */ -export const UpdateProjectIpBuckets$inboundSchema: z.ZodType< - UpdateProjectIpBuckets, - z.ZodTypeDef, - unknown -> = z.object({ - bucket: z.string(), - supportUntil: z.number().optional(), -}); - -/** @internal */ -export type UpdateProjectIpBuckets$Outbound = { - bucket: string; - supportUntil?: number | undefined; -}; - -/** @internal */ -export const UpdateProjectIpBuckets$outboundSchema: z.ZodType< - UpdateProjectIpBuckets$Outbound, - z.ZodTypeDef, - UpdateProjectIpBuckets -> = z.object({ - bucket: z.string(), - supportUntil: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectIpBuckets$ { - /** @deprecated use `UpdateProjectIpBuckets$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectIpBuckets$inboundSchema; - /** @deprecated use `UpdateProjectIpBuckets$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectIpBuckets$outboundSchema; - /** @deprecated use `UpdateProjectIpBuckets$Outbound` instead. */ - export type Outbound = UpdateProjectIpBuckets$Outbound; -} - -export function updateProjectIpBucketsToJSON( - updateProjectIpBuckets: UpdateProjectIpBuckets, -): string { - return JSON.stringify( - UpdateProjectIpBuckets$outboundSchema.parse(updateProjectIpBuckets), - ); -} - -export function updateProjectIpBucketsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectIpBuckets$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectIpBuckets' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectAliasAssigned$inboundSchema: z.ZodType< - UpdateProjectAliasAssigned, - z.ZodTypeDef, - unknown -> = z.union([z.number(), z.boolean()]); - -/** @internal */ -export type UpdateProjectAliasAssigned$Outbound = number | boolean; - -/** @internal */ -export const UpdateProjectAliasAssigned$outboundSchema: z.ZodType< - UpdateProjectAliasAssigned$Outbound, - z.ZodTypeDef, - UpdateProjectAliasAssigned -> = z.union([z.number(), z.boolean()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectAliasAssigned$ { - /** @deprecated use `UpdateProjectAliasAssigned$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectAliasAssigned$inboundSchema; - /** @deprecated use `UpdateProjectAliasAssigned$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectAliasAssigned$outboundSchema; - /** @deprecated use `UpdateProjectAliasAssigned$Outbound` instead. */ - export type Outbound = UpdateProjectAliasAssigned$Outbound; -} - -export function updateProjectAliasAssignedToJSON( - updateProjectAliasAssigned: UpdateProjectAliasAssigned, -): string { - return JSON.stringify( - UpdateProjectAliasAssigned$outboundSchema.parse(updateProjectAliasAssigned), - ); -} - -export function updateProjectAliasAssignedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectAliasAssigned$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectAliasAssigned' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectAliasError$inboundSchema: z.ZodType< - UpdateProjectAliasError, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** @internal */ -export type UpdateProjectAliasError$Outbound = { - code: string; - message: string; -}; - -/** @internal */ -export const UpdateProjectAliasError$outboundSchema: z.ZodType< - UpdateProjectAliasError$Outbound, - z.ZodTypeDef, - UpdateProjectAliasError -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectAliasError$ { - /** @deprecated use `UpdateProjectAliasError$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectAliasError$inboundSchema; - /** @deprecated use `UpdateProjectAliasError$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectAliasError$outboundSchema; - /** @deprecated use `UpdateProjectAliasError$Outbound` instead. */ - export type Outbound = UpdateProjectAliasError$Outbound; -} - -export function updateProjectAliasErrorToJSON( - updateProjectAliasError: UpdateProjectAliasError, -): string { - return JSON.stringify( - UpdateProjectAliasError$outboundSchema.parse(updateProjectAliasError), - ); -} - -export function updateProjectAliasErrorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectAliasError$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectAliasError' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType, - ); - -/** @internal */ -export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType - > = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectBranchMatcher$inboundSchema: z.ZodType< - UpdateProjectBranchMatcher, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - pattern: z.string(), -}); - -/** @internal */ -export type UpdateProjectBranchMatcher$Outbound = { - type: string; - pattern: string; -}; - -/** @internal */ -export const UpdateProjectBranchMatcher$outboundSchema: z.ZodType< - UpdateProjectBranchMatcher$Outbound, - z.ZodTypeDef, - UpdateProjectBranchMatcher -> = z.object({ - type: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, - pattern: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectBranchMatcher$ { - /** @deprecated use `UpdateProjectBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectBranchMatcher$inboundSchema; - /** @deprecated use `UpdateProjectBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectBranchMatcher$outboundSchema; - /** @deprecated use `UpdateProjectBranchMatcher$Outbound` instead. */ - export type Outbound = UpdateProjectBranchMatcher$Outbound; -} - -export function updateProjectBranchMatcherToJSON( - updateProjectBranchMatcher: UpdateProjectBranchMatcher, -): string { - return JSON.stringify( - UpdateProjectBranchMatcher$outboundSchema.parse(updateProjectBranchMatcher), - ); -} - -export function updateProjectBranchMatcherFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectBranchMatcher$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectBranchMatcher' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectBuilds$inboundSchema: z.ZodType< - UpdateProjectBuilds, - z.ZodTypeDef, - unknown -> = z.object({ - use: z.string(), - src: z.string().optional(), - dest: z.string().optional(), -}); - -/** @internal */ -export type UpdateProjectBuilds$Outbound = { - use: string; - src?: string | undefined; - dest?: string | undefined; -}; - -/** @internal */ -export const UpdateProjectBuilds$outboundSchema: z.ZodType< - UpdateProjectBuilds$Outbound, - z.ZodTypeDef, - UpdateProjectBuilds -> = z.object({ - use: z.string(), - src: z.string().optional(), - dest: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectBuilds$ { - /** @deprecated use `UpdateProjectBuilds$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectBuilds$inboundSchema; - /** @deprecated use `UpdateProjectBuilds$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectBuilds$outboundSchema; - /** @deprecated use `UpdateProjectBuilds$Outbound` instead. */ - export type Outbound = UpdateProjectBuilds$Outbound; -} - -export function updateProjectBuildsToJSON( - updateProjectBuilds: UpdateProjectBuilds, -): string { - return JSON.stringify( - UpdateProjectBuilds$outboundSchema.parse(updateProjectBuilds), - ); -} - -export function updateProjectBuildsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectBuilds$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectBuilds' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectChecksConclusion$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectChecksConclusion -> = z.nativeEnum(UpdateProjectChecksConclusion); - -/** @internal */ -export const UpdateProjectChecksConclusion$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectChecksConclusion -> = UpdateProjectChecksConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectChecksConclusion$ { - /** @deprecated use `UpdateProjectChecksConclusion$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectChecksConclusion$inboundSchema; - /** @deprecated use `UpdateProjectChecksConclusion$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectChecksConclusion$outboundSchema; -} - -/** @internal */ -export const UpdateProjectChecksState$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectChecksState -> = z.nativeEnum(UpdateProjectChecksState); - -/** @internal */ -export const UpdateProjectChecksState$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectChecksState -> = UpdateProjectChecksState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectChecksState$ { - /** @deprecated use `UpdateProjectChecksState$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectChecksState$inboundSchema; - /** @deprecated use `UpdateProjectChecksState$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectChecksState$outboundSchema; -} - -/** @internal */ -export const UpdateProjectCreator$inboundSchema: z.ZodType< - UpdateProjectCreator, - z.ZodTypeDef, - unknown -> = z.object({ - email: z.string(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), - uid: z.string(), - username: z.string(), -}); - -/** @internal */ -export type UpdateProjectCreator$Outbound = { - email: string; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; - uid: string; - username: string; -}; - -/** @internal */ -export const UpdateProjectCreator$outboundSchema: z.ZodType< - UpdateProjectCreator$Outbound, - z.ZodTypeDef, - UpdateProjectCreator -> = z.object({ - email: z.string(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), - uid: z.string(), - username: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectCreator$ { - /** @deprecated use `UpdateProjectCreator$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectCreator$inboundSchema; - /** @deprecated use `UpdateProjectCreator$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectCreator$outboundSchema; - /** @deprecated use `UpdateProjectCreator$Outbound` instead. */ - export type Outbound = UpdateProjectCreator$Outbound; -} - -export function updateProjectCreatorToJSON( - updateProjectCreator: UpdateProjectCreator, -): string { - return JSON.stringify( - UpdateProjectCreator$outboundSchema.parse(updateProjectCreator), - ); -} - -export function updateProjectCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectCreator' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectOidcTokenClaims$inboundSchema: z.ZodType< - UpdateProjectOidcTokenClaims, - z.ZodTypeDef, - unknown -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - owner_id: z.string(), - project: z.string(), - project_id: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); - -/** @internal */ -export type UpdateProjectOidcTokenClaims$Outbound = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - owner_id: string; - project: string; - project_id: string; - environment: string; -}; - -/** @internal */ -export const UpdateProjectOidcTokenClaims$outboundSchema: z.ZodType< - UpdateProjectOidcTokenClaims$Outbound, - z.ZodTypeDef, - UpdateProjectOidcTokenClaims -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - ownerId: z.string(), - project: z.string(), - projectId: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - ownerId: "owner_id", - projectId: "project_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectOidcTokenClaims$ { - /** @deprecated use `UpdateProjectOidcTokenClaims$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectOidcTokenClaims$inboundSchema; - /** @deprecated use `UpdateProjectOidcTokenClaims$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectOidcTokenClaims$outboundSchema; - /** @deprecated use `UpdateProjectOidcTokenClaims$Outbound` instead. */ - export type Outbound = UpdateProjectOidcTokenClaims$Outbound; -} - -export function updateProjectOidcTokenClaimsToJSON( - updateProjectOidcTokenClaims: UpdateProjectOidcTokenClaims, -): string { - return JSON.stringify( - UpdateProjectOidcTokenClaims$outboundSchema.parse( - updateProjectOidcTokenClaims, - ), - ); -} - -export function updateProjectOidcTokenClaimsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectOidcTokenClaims' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectPlan$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectPlan -> = z.nativeEnum(UpdateProjectPlan); - -/** @internal */ -export const UpdateProjectPlan$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectPlan -> = UpdateProjectPlan$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectPlan$ { - /** @deprecated use `UpdateProjectPlan$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectPlan$inboundSchema; - /** @deprecated use `UpdateProjectPlan$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectPlan$outboundSchema; -} - -/** @internal */ -export const UpdateProjectReadyState$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectReadyState -> = z.nativeEnum(UpdateProjectReadyState); - -/** @internal */ -export const UpdateProjectReadyState$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectReadyState -> = UpdateProjectReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectReadyState$ { - /** @deprecated use `UpdateProjectReadyState$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectReadyState$inboundSchema; - /** @deprecated use `UpdateProjectReadyState$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectReadyState$outboundSchema; -} - -/** @internal */ -export const UpdateProjectReadySubstate$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectReadySubstate -> = z.nativeEnum(UpdateProjectReadySubstate); - -/** @internal */ -export const UpdateProjectReadySubstate$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectReadySubstate -> = UpdateProjectReadySubstate$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectReadySubstate$ { - /** @deprecated use `UpdateProjectReadySubstate$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectReadySubstate$inboundSchema; - /** @deprecated use `UpdateProjectReadySubstate$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectReadySubstate$outboundSchema; -} - -/** @internal */ -export const UpdateProjectProjectsType$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsType -> = z.nativeEnum(UpdateProjectProjectsType); - -/** @internal */ -export const UpdateProjectProjectsType$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsType -> = UpdateProjectProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsType$ { - /** @deprecated use `UpdateProjectProjectsType$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsType$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProjectsType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectLatestDeployments$inboundSchema: z.ZodType< - UpdateProjectLatestDeployments, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - aliasError: z.nullable(z.lazy(() => UpdateProjectAliasError$inboundSchema)) - .optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$inboundSchema) - .optional(), - buildingAt: z.number().optional(), - builds: z.array(z.lazy(() => UpdateProjectBuilds$inboundSchema)).optional(), - checksConclusion: UpdateProjectChecksConclusion$inboundSchema.optional(), - checksState: UpdateProjectChecksState$inboundSchema.optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdAt: z.number(), - createdIn: z.string(), - creator: z.nullable(z.lazy(() => UpdateProjectCreator$inboundSchema)), - deletedAt: z.number().optional(), - deploymentHostname: z.string(), - forced: z.boolean().optional(), - name: z.string(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - oidcTokenClaims: z.lazy(() => UpdateProjectOidcTokenClaims$inboundSchema) - .optional(), - plan: UpdateProjectPlan$inboundSchema, - previewCommentsEnabled: z.boolean().optional(), - private: z.boolean(), - readyAt: z.number().optional(), - readyState: UpdateProjectReadyState$inboundSchema, - readySubstate: UpdateProjectReadySubstate$inboundSchema.optional(), - requestedAt: z.number().optional(), - target: z.nullable(z.string()).optional(), - teamId: z.nullable(z.string()).optional(), - type: UpdateProjectProjectsType$inboundSchema, - url: z.string(), - userId: z.string(), - withCache: z.boolean().optional(), -}); - -/** @internal */ -export type UpdateProjectLatestDeployments$Outbound = { - id: string; - alias?: Array | undefined; - aliasAssigned?: number | boolean | null | undefined; - aliasError?: UpdateProjectAliasError$Outbound | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - branchMatcher?: UpdateProjectBranchMatcher$Outbound | undefined; - buildingAt?: number | undefined; - builds?: Array | undefined; - checksConclusion?: string | undefined; - checksState?: string | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdAt: number; - createdIn: string; - creator: UpdateProjectCreator$Outbound | null; - deletedAt?: number | undefined; - deploymentHostname: string; - forced?: boolean | undefined; - name: string; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - oidcTokenClaims?: UpdateProjectOidcTokenClaims$Outbound | undefined; - plan: string; - previewCommentsEnabled?: boolean | undefined; - private: boolean; - readyAt?: number | undefined; - readyState: string; - readySubstate?: string | undefined; - requestedAt?: number | undefined; - target?: string | null | undefined; - teamId?: string | null | undefined; - type: string; - url: string; - userId: string; - withCache?: boolean | undefined; -}; - -/** @internal */ -export const UpdateProjectLatestDeployments$outboundSchema: z.ZodType< - UpdateProjectLatestDeployments$Outbound, - z.ZodTypeDef, - UpdateProjectLatestDeployments -> = z.object({ - id: z.string(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - aliasError: z.nullable(z.lazy(() => UpdateProjectAliasError$outboundSchema)) - .optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$outboundSchema) - .optional(), - buildingAt: z.number().optional(), - builds: z.array(z.lazy(() => UpdateProjectBuilds$outboundSchema)).optional(), - checksConclusion: UpdateProjectChecksConclusion$outboundSchema.optional(), - checksState: UpdateProjectChecksState$outboundSchema.optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdAt: z.number(), - createdIn: z.string(), - creator: z.nullable(z.lazy(() => UpdateProjectCreator$outboundSchema)), - deletedAt: z.number().optional(), - deploymentHostname: z.string(), - forced: z.boolean().optional(), - name: z.string(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - oidcTokenClaims: z.lazy(() => UpdateProjectOidcTokenClaims$outboundSchema) - .optional(), - plan: UpdateProjectPlan$outboundSchema, - previewCommentsEnabled: z.boolean().optional(), - private: z.boolean(), - readyAt: z.number().optional(), - readyState: UpdateProjectReadyState$outboundSchema, - readySubstate: UpdateProjectReadySubstate$outboundSchema.optional(), - requestedAt: z.number().optional(), - target: z.nullable(z.string()).optional(), - teamId: z.nullable(z.string()).optional(), - type: UpdateProjectProjectsType$outboundSchema, - url: z.string(), - userId: z.string(), - withCache: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLatestDeployments$ { - /** @deprecated use `UpdateProjectLatestDeployments$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectLatestDeployments$inboundSchema; - /** @deprecated use `UpdateProjectLatestDeployments$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectLatestDeployments$outboundSchema; - /** @deprecated use `UpdateProjectLatestDeployments$Outbound` instead. */ - export type Outbound = UpdateProjectLatestDeployments$Outbound; -} - -export function updateProjectLatestDeploymentsToJSON( - updateProjectLatestDeployments: UpdateProjectLatestDeployments, -): string { - return JSON.stringify( - UpdateProjectLatestDeployments$outboundSchema.parse( - updateProjectLatestDeployments, - ), - ); -} - -export function updateProjectLatestDeploymentsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectLatestDeployments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectLatestDeployments' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectLinkProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectLinkProjectsResponseType, - ); - -/** @internal */ -export const UpdateProjectLinkProjectsResponseType$outboundSchema: - z.ZodNativeEnum = - UpdateProjectLinkProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLinkProjectsResponseType$ { - /** @deprecated use `UpdateProjectLinkProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectLinkProjectsResponseType$inboundSchema; - /** @deprecated use `UpdateProjectLinkProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectLinkProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectLinkProjectsResponseDeployHooks$inboundSchema: - z.ZodType< - UpdateProjectLinkProjectsResponseDeployHooks, - z.ZodTypeDef, - unknown - > = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), - }); - -/** @internal */ -export type UpdateProjectLinkProjectsResponseDeployHooks$Outbound = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -/** @internal */ -export const UpdateProjectLinkProjectsResponseDeployHooks$outboundSchema: - z.ZodType< - UpdateProjectLinkProjectsResponseDeployHooks$Outbound, - z.ZodTypeDef, - UpdateProjectLinkProjectsResponseDeployHooks - > = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLinkProjectsResponseDeployHooks$ { - /** @deprecated use `UpdateProjectLinkProjectsResponseDeployHooks$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectLinkProjectsResponseDeployHooks$inboundSchema; - /** @deprecated use `UpdateProjectLinkProjectsResponseDeployHooks$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectLinkProjectsResponseDeployHooks$outboundSchema; - /** @deprecated use `UpdateProjectLinkProjectsResponseDeployHooks$Outbound` instead. */ - export type Outbound = UpdateProjectLinkProjectsResponseDeployHooks$Outbound; -} - -export function updateProjectLinkProjectsResponseDeployHooksToJSON( - updateProjectLinkProjectsResponseDeployHooks: - UpdateProjectLinkProjectsResponseDeployHooks, -): string { - return JSON.stringify( - UpdateProjectLinkProjectsResponseDeployHooks$outboundSchema.parse( - updateProjectLinkProjectsResponseDeployHooks, - ), - ); -} - -export function updateProjectLinkProjectsResponseDeployHooksFromJSON( - jsonString: string, -): SafeParseResult< - UpdateProjectLinkProjectsResponseDeployHooks, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateProjectLinkProjectsResponseDeployHooks$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateProjectLinkProjectsResponseDeployHooks' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectLink3$inboundSchema: z.ZodType< - UpdateProjectLink3, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string().optional(), - slug: z.string().optional(), - owner: z.string().optional(), - type: UpdateProjectLinkProjectsResponseType$inboundSchema.optional(), - uuid: z.string().optional(), - workspaceUuid: z.string().optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => UpdateProjectLinkProjectsResponseDeployHooks$inboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** @internal */ -export type UpdateProjectLink3$Outbound = { - name?: string | undefined; - slug?: string | undefined; - owner?: string | undefined; - type?: string | undefined; - uuid?: string | undefined; - workspaceUuid?: string | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -/** @internal */ -export const UpdateProjectLink3$outboundSchema: z.ZodType< - UpdateProjectLink3$Outbound, - z.ZodTypeDef, - UpdateProjectLink3 -> = z.object({ - name: z.string().optional(), - slug: z.string().optional(), - owner: z.string().optional(), - type: UpdateProjectLinkProjectsResponseType$outboundSchema.optional(), - uuid: z.string().optional(), - workspaceUuid: z.string().optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => UpdateProjectLinkProjectsResponseDeployHooks$outboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLink3$ { - /** @deprecated use `UpdateProjectLink3$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectLink3$inboundSchema; - /** @deprecated use `UpdateProjectLink3$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectLink3$outboundSchema; - /** @deprecated use `UpdateProjectLink3$Outbound` instead. */ - export type Outbound = UpdateProjectLink3$Outbound; -} - -export function updateProjectLink3ToJSON( - updateProjectLink3: UpdateProjectLink3, -): string { - return JSON.stringify( - UpdateProjectLink3$outboundSchema.parse(updateProjectLink3), - ); -} - -export function updateProjectLink3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectLink3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectLink3' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectLinkProjectsType$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectLinkProjectsType -> = z.nativeEnum(UpdateProjectLinkProjectsType); - -/** @internal */ -export const UpdateProjectLinkProjectsType$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectLinkProjectsType -> = UpdateProjectLinkProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLinkProjectsType$ { - /** @deprecated use `UpdateProjectLinkProjectsType$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectLinkProjectsType$inboundSchema; - /** @deprecated use `UpdateProjectLinkProjectsType$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectLinkProjectsType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectLinkProjectsDeployHooks$inboundSchema: z.ZodType< - UpdateProjectLinkProjectsDeployHooks, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** @internal */ -export type UpdateProjectLinkProjectsDeployHooks$Outbound = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -/** @internal */ -export const UpdateProjectLinkProjectsDeployHooks$outboundSchema: z.ZodType< - UpdateProjectLinkProjectsDeployHooks$Outbound, - z.ZodTypeDef, - UpdateProjectLinkProjectsDeployHooks -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLinkProjectsDeployHooks$ { - /** @deprecated use `UpdateProjectLinkProjectsDeployHooks$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectLinkProjectsDeployHooks$inboundSchema; - /** @deprecated use `UpdateProjectLinkProjectsDeployHooks$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectLinkProjectsDeployHooks$outboundSchema; - /** @deprecated use `UpdateProjectLinkProjectsDeployHooks$Outbound` instead. */ - export type Outbound = UpdateProjectLinkProjectsDeployHooks$Outbound; -} - -export function updateProjectLinkProjectsDeployHooksToJSON( - updateProjectLinkProjectsDeployHooks: UpdateProjectLinkProjectsDeployHooks, -): string { - return JSON.stringify( - UpdateProjectLinkProjectsDeployHooks$outboundSchema.parse( - updateProjectLinkProjectsDeployHooks, - ), - ); -} - -export function updateProjectLinkProjectsDeployHooksFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectLinkProjectsDeployHooks$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectLinkProjectsDeployHooks' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectLink2$inboundSchema: z.ZodType< - UpdateProjectLink2, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string().optional(), - projectName: z.string().optional(), - projectNameWithNamespace: z.string().optional(), - projectNamespace: z.string().optional(), - projectOwnerId: z.number().optional(), - projectUrl: z.string().optional(), - type: UpdateProjectLinkProjectsType$inboundSchema.optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => UpdateProjectLinkProjectsDeployHooks$inboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** @internal */ -export type UpdateProjectLink2$Outbound = { - projectId?: string | undefined; - projectName?: string | undefined; - projectNameWithNamespace?: string | undefined; - projectNamespace?: string | undefined; - projectOwnerId?: number | undefined; - projectUrl?: string | undefined; - type?: string | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -/** @internal */ -export const UpdateProjectLink2$outboundSchema: z.ZodType< - UpdateProjectLink2$Outbound, - z.ZodTypeDef, - UpdateProjectLink2 -> = z.object({ - projectId: z.string().optional(), - projectName: z.string().optional(), - projectNameWithNamespace: z.string().optional(), - projectNamespace: z.string().optional(), - projectOwnerId: z.number().optional(), - projectUrl: z.string().optional(), - type: UpdateProjectLinkProjectsType$outboundSchema.optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => UpdateProjectLinkProjectsDeployHooks$outboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLink2$ { - /** @deprecated use `UpdateProjectLink2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectLink2$inboundSchema; - /** @deprecated use `UpdateProjectLink2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectLink2$outboundSchema; - /** @deprecated use `UpdateProjectLink2$Outbound` instead. */ - export type Outbound = UpdateProjectLink2$Outbound; -} - -export function updateProjectLink2ToJSON( - updateProjectLink2: UpdateProjectLink2, -): string { - return JSON.stringify( - UpdateProjectLink2$outboundSchema.parse(updateProjectLink2), - ); -} - -export function updateProjectLink2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectLink2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectLink2' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectLinkType$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectLinkType -> = z.nativeEnum(UpdateProjectLinkType); - -/** @internal */ -export const UpdateProjectLinkType$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectLinkType -> = UpdateProjectLinkType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLinkType$ { - /** @deprecated use `UpdateProjectLinkType$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectLinkType$inboundSchema; - /** @deprecated use `UpdateProjectLinkType$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectLinkType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectLinkDeployHooks$inboundSchema: z.ZodType< - UpdateProjectLinkDeployHooks, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** @internal */ -export type UpdateProjectLinkDeployHooks$Outbound = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -/** @internal */ -export const UpdateProjectLinkDeployHooks$outboundSchema: z.ZodType< - UpdateProjectLinkDeployHooks$Outbound, - z.ZodTypeDef, - UpdateProjectLinkDeployHooks -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLinkDeployHooks$ { - /** @deprecated use `UpdateProjectLinkDeployHooks$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectLinkDeployHooks$inboundSchema; - /** @deprecated use `UpdateProjectLinkDeployHooks$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectLinkDeployHooks$outboundSchema; - /** @deprecated use `UpdateProjectLinkDeployHooks$Outbound` instead. */ - export type Outbound = UpdateProjectLinkDeployHooks$Outbound; -} - -export function updateProjectLinkDeployHooksToJSON( - updateProjectLinkDeployHooks: UpdateProjectLinkDeployHooks, -): string { - return JSON.stringify( - UpdateProjectLinkDeployHooks$outboundSchema.parse( - updateProjectLinkDeployHooks, - ), - ); -} - -export function updateProjectLinkDeployHooksFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectLinkDeployHooks$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectLinkDeployHooks' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectLink1$inboundSchema: z.ZodType< - UpdateProjectLink1, - z.ZodTypeDef, - unknown -> = z.object({ - org: z.string().optional(), - repoOwnerId: z.number().optional(), - repo: z.string().optional(), - repoId: z.number().optional(), - type: UpdateProjectLinkType$inboundSchema.optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => UpdateProjectLinkDeployHooks$inboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** @internal */ -export type UpdateProjectLink1$Outbound = { - org?: string | undefined; - repoOwnerId?: number | undefined; - repo?: string | undefined; - repoId?: number | undefined; - type?: string | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -/** @internal */ -export const UpdateProjectLink1$outboundSchema: z.ZodType< - UpdateProjectLink1$Outbound, - z.ZodTypeDef, - UpdateProjectLink1 -> = z.object({ - org: z.string().optional(), - repoOwnerId: z.number().optional(), - repo: z.string().optional(), - repoId: z.number().optional(), - type: UpdateProjectLinkType$outboundSchema.optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => UpdateProjectLinkDeployHooks$outboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLink1$ { - /** @deprecated use `UpdateProjectLink1$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectLink1$inboundSchema; - /** @deprecated use `UpdateProjectLink1$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectLink1$outboundSchema; - /** @deprecated use `UpdateProjectLink1$Outbound` instead. */ - export type Outbound = UpdateProjectLink1$Outbound; -} - -export function updateProjectLink1ToJSON( - updateProjectLink1: UpdateProjectLink1, -): string { - return JSON.stringify( - UpdateProjectLink1$outboundSchema.parse(updateProjectLink1), - ); -} - -export function updateProjectLink1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectLink1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectLink1' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectLink$inboundSchema: z.ZodType< - UpdateProjectLink, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => UpdateProjectLink1$inboundSchema), - z.lazy(() => UpdateProjectLink3$inboundSchema), - z.lazy(() => UpdateProjectLink2$inboundSchema), -]); - -/** @internal */ -export type UpdateProjectLink$Outbound = - | UpdateProjectLink1$Outbound - | UpdateProjectLink3$Outbound - | UpdateProjectLink2$Outbound; - -/** @internal */ -export const UpdateProjectLink$outboundSchema: z.ZodType< - UpdateProjectLink$Outbound, - z.ZodTypeDef, - UpdateProjectLink -> = z.union([ - z.lazy(() => UpdateProjectLink1$outboundSchema), - z.lazy(() => UpdateProjectLink3$outboundSchema), - z.lazy(() => UpdateProjectLink2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLink$ { - /** @deprecated use `UpdateProjectLink$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectLink$inboundSchema; - /** @deprecated use `UpdateProjectLink$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectLink$outboundSchema; - /** @deprecated use `UpdateProjectLink$Outbound` instead. */ - export type Outbound = UpdateProjectLink$Outbound; -} - -export function updateProjectLinkToJSON( - updateProjectLink: UpdateProjectLink, -): string { - return JSON.stringify( - UpdateProjectLink$outboundSchema.parse(updateProjectLink), - ); -} - -export function updateProjectLinkFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectLink$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectLink' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectMicrofrontends$inboundSchema: z.ZodType< - UpdateProjectMicrofrontends, - z.ZodTypeDef, - unknown -> = z.object({ - updatedAt: z.number(), - groupIds: z.array(z.string()), - enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), -}); - -/** @internal */ -export type UpdateProjectMicrofrontends$Outbound = { - updatedAt: number; - groupIds: Array; - enabled: boolean; - isDefaultApp?: boolean | undefined; - defaultRoute?: string | undefined; -}; - -/** @internal */ -export const UpdateProjectMicrofrontends$outboundSchema: z.ZodType< - UpdateProjectMicrofrontends$Outbound, - z.ZodTypeDef, - UpdateProjectMicrofrontends -> = z.object({ - updatedAt: z.number(), - groupIds: z.array(z.string()), - enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectMicrofrontends$ { - /** @deprecated use `UpdateProjectMicrofrontends$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectMicrofrontends$inboundSchema; - /** @deprecated use `UpdateProjectMicrofrontends$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectMicrofrontends$outboundSchema; - /** @deprecated use `UpdateProjectMicrofrontends$Outbound` instead. */ - export type Outbound = UpdateProjectMicrofrontends$Outbound; -} - -export function updateProjectMicrofrontendsToJSON( - updateProjectMicrofrontends: UpdateProjectMicrofrontends, -): string { - return JSON.stringify( - UpdateProjectMicrofrontends$outboundSchema.parse( - updateProjectMicrofrontends, - ), - ); -} - -export function updateProjectMicrofrontendsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectMicrofrontends$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectMicrofrontends' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsNodeVersion$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsNodeVersion -> = z.nativeEnum(UpdateProjectProjectsNodeVersion); - -/** @internal */ -export const UpdateProjectProjectsNodeVersion$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsNodeVersion -> = UpdateProjectProjectsNodeVersion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsNodeVersion$ { - /** @deprecated use `UpdateProjectProjectsNodeVersion$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsNodeVersion$inboundSchema; - /** @deprecated use `UpdateProjectProjectsNodeVersion$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProjectsNodeVersion$outboundSchema; -} - -/** @internal */ -export const UpdateProjectPaths$inboundSchema: z.ZodType< - UpdateProjectPaths, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.string(), -}); - -/** @internal */ -export type UpdateProjectPaths$Outbound = { - value: string; -}; - -/** @internal */ -export const UpdateProjectPaths$outboundSchema: z.ZodType< - UpdateProjectPaths$Outbound, - z.ZodTypeDef, - UpdateProjectPaths -> = z.object({ - value: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectPaths$ { - /** @deprecated use `UpdateProjectPaths$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectPaths$inboundSchema; - /** @deprecated use `UpdateProjectPaths$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectPaths$outboundSchema; - /** @deprecated use `UpdateProjectPaths$Outbound` instead. */ - export type Outbound = UpdateProjectPaths$Outbound; -} - -export function updateProjectPathsToJSON( - updateProjectPaths: UpdateProjectPaths, -): string { - return JSON.stringify( - UpdateProjectPaths$outboundSchema.parse(updateProjectPaths), - ); -} - -export function updateProjectPathsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectPaths$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectPaths' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectOptionsAllowlist$inboundSchema: z.ZodType< - UpdateProjectOptionsAllowlist, - z.ZodTypeDef, - unknown -> = z.object({ - paths: z.array(z.lazy(() => UpdateProjectPaths$inboundSchema)), -}); - -/** @internal */ -export type UpdateProjectOptionsAllowlist$Outbound = { - paths: Array; -}; - -/** @internal */ -export const UpdateProjectOptionsAllowlist$outboundSchema: z.ZodType< - UpdateProjectOptionsAllowlist$Outbound, - z.ZodTypeDef, - UpdateProjectOptionsAllowlist -> = z.object({ - paths: z.array(z.lazy(() => UpdateProjectPaths$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectOptionsAllowlist$ { - /** @deprecated use `UpdateProjectOptionsAllowlist$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectOptionsAllowlist$inboundSchema; - /** @deprecated use `UpdateProjectOptionsAllowlist$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectOptionsAllowlist$outboundSchema; - /** @deprecated use `UpdateProjectOptionsAllowlist$Outbound` instead. */ - export type Outbound = UpdateProjectOptionsAllowlist$Outbound; -} - -export function updateProjectOptionsAllowlistToJSON( - updateProjectOptionsAllowlist: UpdateProjectOptionsAllowlist, -): string { - return JSON.stringify( - UpdateProjectOptionsAllowlist$outboundSchema.parse( - updateProjectOptionsAllowlist, - ), - ); -} - -export function updateProjectOptionsAllowlistFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectOptionsAllowlist$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectOptionsAllowlist' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectPasswordProtection$inboundSchema: z.ZodType< - UpdateProjectPasswordProtection, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UpdateProjectPasswordProtection$Outbound = {}; - -/** @internal */ -export const UpdateProjectPasswordProtection$outboundSchema: z.ZodType< - UpdateProjectPasswordProtection$Outbound, - z.ZodTypeDef, - UpdateProjectPasswordProtection -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectPasswordProtection$ { - /** @deprecated use `UpdateProjectPasswordProtection$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectPasswordProtection$inboundSchema; - /** @deprecated use `UpdateProjectPasswordProtection$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectPasswordProtection$outboundSchema; - /** @deprecated use `UpdateProjectPasswordProtection$Outbound` instead. */ - export type Outbound = UpdateProjectPasswordProtection$Outbound; -} - -export function updateProjectPasswordProtectionToJSON( - updateProjectPasswordProtection: UpdateProjectPasswordProtection, -): string { - return JSON.stringify( - UpdateProjectPasswordProtection$outboundSchema.parse( - updateProjectPasswordProtection, - ), - ); -} - -export function updateProjectPasswordProtectionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectPasswordProtection$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectPasswordProtection' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectFunctionDefaultMemoryType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectFunctionDefaultMemoryType, - ); - -/** @internal */ -export const UpdateProjectFunctionDefaultMemoryType$outboundSchema: - z.ZodNativeEnum = - UpdateProjectFunctionDefaultMemoryType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectFunctionDefaultMemoryType$ { - /** @deprecated use `UpdateProjectFunctionDefaultMemoryType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectFunctionDefaultMemoryType$inboundSchema; - /** @deprecated use `UpdateProjectFunctionDefaultMemoryType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectFunctionDefaultMemoryType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectResourceConfig$inboundSchema: z.ZodType< - UpdateProjectResourceConfig, - z.ZodTypeDef, - unknown -> = z.object({ - functionDefaultTimeout: z.number().optional(), - functionDefaultMemoryType: - UpdateProjectFunctionDefaultMemoryType$inboundSchema.optional(), - allowServerlessConcurrency: z.boolean().optional(), - elasticConcurrencyEnabled: z.boolean().optional(), -}); - -/** @internal */ -export type UpdateProjectResourceConfig$Outbound = { - functionDefaultTimeout?: number | undefined; - functionDefaultMemoryType?: string | undefined; - allowServerlessConcurrency?: boolean | undefined; - elasticConcurrencyEnabled?: boolean | undefined; -}; - -/** @internal */ -export const UpdateProjectResourceConfig$outboundSchema: z.ZodType< - UpdateProjectResourceConfig$Outbound, - z.ZodTypeDef, - UpdateProjectResourceConfig -> = z.object({ - functionDefaultTimeout: z.number().optional(), - functionDefaultMemoryType: - UpdateProjectFunctionDefaultMemoryType$outboundSchema.optional(), - allowServerlessConcurrency: z.boolean().optional(), - elasticConcurrencyEnabled: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectResourceConfig$ { - /** @deprecated use `UpdateProjectResourceConfig$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectResourceConfig$inboundSchema; - /** @deprecated use `UpdateProjectResourceConfig$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectResourceConfig$outboundSchema; - /** @deprecated use `UpdateProjectResourceConfig$Outbound` instead. */ - export type Outbound = UpdateProjectResourceConfig$Outbound; -} - -export function updateProjectResourceConfigToJSON( - updateProjectResourceConfig: UpdateProjectResourceConfig, -): string { - return JSON.stringify( - UpdateProjectResourceConfig$outboundSchema.parse( - updateProjectResourceConfig, - ), - ); -} - -export function updateProjectResourceConfigFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectResourceConfig$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectResourceConfig' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsResponseDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectProjectsResponseDeploymentType); - -/** @internal */ -export const UpdateProjectProjectsResponseDeploymentType$outboundSchema: - z.ZodNativeEnum = - UpdateProjectProjectsResponseDeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsResponseDeploymentType$ { - /** @deprecated use `UpdateProjectProjectsResponseDeploymentType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsResponseDeploymentType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResponseDeploymentType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResponseDeploymentType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectSsoProtection$inboundSchema: z.ZodType< - UpdateProjectSsoProtection, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentType: UpdateProjectProjectsResponseDeploymentType$inboundSchema, -}); - -/** @internal */ -export type UpdateProjectSsoProtection$Outbound = { - deploymentType: string; -}; - -/** @internal */ -export const UpdateProjectSsoProtection$outboundSchema: z.ZodType< - UpdateProjectSsoProtection$Outbound, - z.ZodTypeDef, - UpdateProjectSsoProtection -> = z.object({ - deploymentType: UpdateProjectProjectsResponseDeploymentType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectSsoProtection$ { - /** @deprecated use `UpdateProjectSsoProtection$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectSsoProtection$inboundSchema; - /** @deprecated use `UpdateProjectSsoProtection$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectSsoProtection$outboundSchema; - /** @deprecated use `UpdateProjectSsoProtection$Outbound` instead. */ - export type Outbound = UpdateProjectSsoProtection$Outbound; -} - -export function updateProjectSsoProtectionToJSON( - updateProjectSsoProtection: UpdateProjectSsoProtection, -): string { - return JSON.stringify( - UpdateProjectSsoProtection$outboundSchema.parse(updateProjectSsoProtection), - ); -} - -export function updateProjectSsoProtectionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectSsoProtection$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectSsoProtection' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsAliasAssigned$inboundSchema: z.ZodType< - UpdateProjectProjectsAliasAssigned, - z.ZodTypeDef, - unknown -> = z.union([z.number(), z.boolean()]); - -/** @internal */ -export type UpdateProjectProjectsAliasAssigned$Outbound = number | boolean; - -/** @internal */ -export const UpdateProjectProjectsAliasAssigned$outboundSchema: z.ZodType< - UpdateProjectProjectsAliasAssigned$Outbound, - z.ZodTypeDef, - UpdateProjectProjectsAliasAssigned -> = z.union([z.number(), z.boolean()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsAliasAssigned$ { - /** @deprecated use `UpdateProjectProjectsAliasAssigned$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsAliasAssigned$inboundSchema; - /** @deprecated use `UpdateProjectProjectsAliasAssigned$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsAliasAssigned$outboundSchema; - /** @deprecated use `UpdateProjectProjectsAliasAssigned$Outbound` instead. */ - export type Outbound = UpdateProjectProjectsAliasAssigned$Outbound; -} - -export function updateProjectProjectsAliasAssignedToJSON( - updateProjectProjectsAliasAssigned: UpdateProjectProjectsAliasAssigned, -): string { - return JSON.stringify( - UpdateProjectProjectsAliasAssigned$outboundSchema.parse( - updateProjectProjectsAliasAssigned, - ), - ); -} - -export function updateProjectProjectsAliasAssignedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectProjectsAliasAssigned$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectProjectsAliasAssigned' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsAliasError$inboundSchema: z.ZodType< - UpdateProjectProjectsAliasError, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** @internal */ -export type UpdateProjectProjectsAliasError$Outbound = { - code: string; - message: string; -}; - -/** @internal */ -export const UpdateProjectProjectsAliasError$outboundSchema: z.ZodType< - UpdateProjectProjectsAliasError$Outbound, - z.ZodTypeDef, - UpdateProjectProjectsAliasError -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsAliasError$ { - /** @deprecated use `UpdateProjectProjectsAliasError$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsAliasError$inboundSchema; - /** @deprecated use `UpdateProjectProjectsAliasError$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProjectsAliasError$outboundSchema; - /** @deprecated use `UpdateProjectProjectsAliasError$Outbound` instead. */ - export type Outbound = UpdateProjectProjectsAliasError$Outbound; -} - -export function updateProjectProjectsAliasErrorToJSON( - updateProjectProjectsAliasError: UpdateProjectProjectsAliasError, -): string { - return JSON.stringify( - UpdateProjectProjectsAliasError$outboundSchema.parse( - updateProjectProjectsAliasError, - ), - ); -} - -export function updateProjectProjectsAliasErrorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectProjectsAliasError$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectProjectsAliasError' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum = - z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONType); - -/** @internal */ -export const UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum = - UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectProjectsBranchMatcher$inboundSchema: z.ZodType< - UpdateProjectProjectsBranchMatcher, - z.ZodTypeDef, - unknown -> = z.object({ - type: UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema, - pattern: z.string(), -}); - -/** @internal */ -export type UpdateProjectProjectsBranchMatcher$Outbound = { - type: string; - pattern: string; -}; - -/** @internal */ -export const UpdateProjectProjectsBranchMatcher$outboundSchema: z.ZodType< - UpdateProjectProjectsBranchMatcher$Outbound, - z.ZodTypeDef, - UpdateProjectProjectsBranchMatcher -> = z.object({ - type: UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema, - pattern: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsBranchMatcher$ { - /** @deprecated use `UpdateProjectProjectsBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsBranchMatcher$inboundSchema; - /** @deprecated use `UpdateProjectProjectsBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsBranchMatcher$outboundSchema; - /** @deprecated use `UpdateProjectProjectsBranchMatcher$Outbound` instead. */ - export type Outbound = UpdateProjectProjectsBranchMatcher$Outbound; -} - -export function updateProjectProjectsBranchMatcherToJSON( - updateProjectProjectsBranchMatcher: UpdateProjectProjectsBranchMatcher, -): string { - return JSON.stringify( - UpdateProjectProjectsBranchMatcher$outboundSchema.parse( - updateProjectProjectsBranchMatcher, - ), - ); -} - -export function updateProjectProjectsBranchMatcherFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectProjectsBranchMatcher' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsBuilds$inboundSchema: z.ZodType< - UpdateProjectProjectsBuilds, - z.ZodTypeDef, - unknown -> = z.object({ - use: z.string(), - src: z.string().optional(), - dest: z.string().optional(), -}); - -/** @internal */ -export type UpdateProjectProjectsBuilds$Outbound = { - use: string; - src?: string | undefined; - dest?: string | undefined; -}; - -/** @internal */ -export const UpdateProjectProjectsBuilds$outboundSchema: z.ZodType< - UpdateProjectProjectsBuilds$Outbound, - z.ZodTypeDef, - UpdateProjectProjectsBuilds -> = z.object({ - use: z.string(), - src: z.string().optional(), - dest: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsBuilds$ { - /** @deprecated use `UpdateProjectProjectsBuilds$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsBuilds$inboundSchema; - /** @deprecated use `UpdateProjectProjectsBuilds$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProjectsBuilds$outboundSchema; - /** @deprecated use `UpdateProjectProjectsBuilds$Outbound` instead. */ - export type Outbound = UpdateProjectProjectsBuilds$Outbound; -} - -export function updateProjectProjectsBuildsToJSON( - updateProjectProjectsBuilds: UpdateProjectProjectsBuilds, -): string { - return JSON.stringify( - UpdateProjectProjectsBuilds$outboundSchema.parse( - updateProjectProjectsBuilds, - ), - ); -} - -export function updateProjectProjectsBuildsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectProjectsBuilds$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectProjectsBuilds' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsChecksConclusion$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectProjectsChecksConclusion, - ); - -/** @internal */ -export const UpdateProjectProjectsChecksConclusion$outboundSchema: - z.ZodNativeEnum = - UpdateProjectProjectsChecksConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsChecksConclusion$ { - /** @deprecated use `UpdateProjectProjectsChecksConclusion$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsChecksConclusion$inboundSchema; - /** @deprecated use `UpdateProjectProjectsChecksConclusion$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsChecksConclusion$outboundSchema; -} - -/** @internal */ -export const UpdateProjectProjectsChecksState$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsChecksState -> = z.nativeEnum(UpdateProjectProjectsChecksState); - -/** @internal */ -export const UpdateProjectProjectsChecksState$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsChecksState -> = UpdateProjectProjectsChecksState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsChecksState$ { - /** @deprecated use `UpdateProjectProjectsChecksState$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsChecksState$inboundSchema; - /** @deprecated use `UpdateProjectProjectsChecksState$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProjectsChecksState$outboundSchema; -} - -/** @internal */ -export const UpdateProjectProjectsCreator$inboundSchema: z.ZodType< - UpdateProjectProjectsCreator, - z.ZodTypeDef, - unknown -> = z.object({ - email: z.string(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), - uid: z.string(), - username: z.string(), -}); - -/** @internal */ -export type UpdateProjectProjectsCreator$Outbound = { - email: string; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; - uid: string; - username: string; -}; - -/** @internal */ -export const UpdateProjectProjectsCreator$outboundSchema: z.ZodType< - UpdateProjectProjectsCreator$Outbound, - z.ZodTypeDef, - UpdateProjectProjectsCreator -> = z.object({ - email: z.string(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), - uid: z.string(), - username: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsCreator$ { - /** @deprecated use `UpdateProjectProjectsCreator$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsCreator$inboundSchema; - /** @deprecated use `UpdateProjectProjectsCreator$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProjectsCreator$outboundSchema; - /** @deprecated use `UpdateProjectProjectsCreator$Outbound` instead. */ - export type Outbound = UpdateProjectProjectsCreator$Outbound; -} - -export function updateProjectProjectsCreatorToJSON( - updateProjectProjectsCreator: UpdateProjectProjectsCreator, -): string { - return JSON.stringify( - UpdateProjectProjectsCreator$outboundSchema.parse( - updateProjectProjectsCreator, - ), - ); -} - -export function updateProjectProjectsCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectProjectsCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectProjectsCreator' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsOidcTokenClaims$inboundSchema: z.ZodType< - UpdateProjectProjectsOidcTokenClaims, - z.ZodTypeDef, - unknown -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - owner_id: z.string(), - project: z.string(), - project_id: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); - -/** @internal */ -export type UpdateProjectProjectsOidcTokenClaims$Outbound = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - owner_id: string; - project: string; - project_id: string; - environment: string; -}; - -/** @internal */ -export const UpdateProjectProjectsOidcTokenClaims$outboundSchema: z.ZodType< - UpdateProjectProjectsOidcTokenClaims$Outbound, - z.ZodTypeDef, - UpdateProjectProjectsOidcTokenClaims -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - ownerId: z.string(), - project: z.string(), - projectId: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - ownerId: "owner_id", - projectId: "project_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsOidcTokenClaims$ { - /** @deprecated use `UpdateProjectProjectsOidcTokenClaims$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsOidcTokenClaims$inboundSchema; - /** @deprecated use `UpdateProjectProjectsOidcTokenClaims$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsOidcTokenClaims$outboundSchema; - /** @deprecated use `UpdateProjectProjectsOidcTokenClaims$Outbound` instead. */ - export type Outbound = UpdateProjectProjectsOidcTokenClaims$Outbound; -} - -export function updateProjectProjectsOidcTokenClaimsToJSON( - updateProjectProjectsOidcTokenClaims: UpdateProjectProjectsOidcTokenClaims, -): string { - return JSON.stringify( - UpdateProjectProjectsOidcTokenClaims$outboundSchema.parse( - updateProjectProjectsOidcTokenClaims, - ), - ); -} - -export function updateProjectProjectsOidcTokenClaimsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectProjectsOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectProjectsOidcTokenClaims' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsPlan$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsPlan -> = z.nativeEnum(UpdateProjectProjectsPlan); - -/** @internal */ -export const UpdateProjectProjectsPlan$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsPlan -> = UpdateProjectProjectsPlan$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsPlan$ { - /** @deprecated use `UpdateProjectProjectsPlan$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsPlan$inboundSchema; - /** @deprecated use `UpdateProjectProjectsPlan$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProjectsPlan$outboundSchema; -} - -/** @internal */ -export const UpdateProjectProjectsReadyState$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsReadyState -> = z.nativeEnum(UpdateProjectProjectsReadyState); - -/** @internal */ -export const UpdateProjectProjectsReadyState$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsReadyState -> = UpdateProjectProjectsReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsReadyState$ { - /** @deprecated use `UpdateProjectProjectsReadyState$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsReadyState$inboundSchema; - /** @deprecated use `UpdateProjectProjectsReadyState$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProjectsReadyState$outboundSchema; -} - -/** @internal */ -export const UpdateProjectProjectsReadySubstate$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsReadySubstate -> = z.nativeEnum(UpdateProjectProjectsReadySubstate); - -/** @internal */ -export const UpdateProjectProjectsReadySubstate$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsReadySubstate -> = UpdateProjectProjectsReadySubstate$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsReadySubstate$ { - /** @deprecated use `UpdateProjectProjectsReadySubstate$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsReadySubstate$inboundSchema; - /** @deprecated use `UpdateProjectProjectsReadySubstate$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsReadySubstate$outboundSchema; -} - -/** @internal */ -export const UpdateProjectProjectsResponseType$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsResponseType -> = z.nativeEnum(UpdateProjectProjectsResponseType); - -/** @internal */ -export const UpdateProjectProjectsResponseType$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsResponseType -> = UpdateProjectProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsResponseType$ { - /** @deprecated use `UpdateProjectProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsResponseType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectTargets$inboundSchema: z.ZodType< - UpdateProjectTargets, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - aliasError: z.nullable( - z.lazy(() => UpdateProjectProjectsAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$inboundSchema) - .optional(), - buildingAt: z.number().optional(), - builds: z.array(z.lazy(() => UpdateProjectProjectsBuilds$inboundSchema)) - .optional(), - checksConclusion: UpdateProjectProjectsChecksConclusion$inboundSchema - .optional(), - checksState: UpdateProjectProjectsChecksState$inboundSchema.optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdAt: z.number(), - createdIn: z.string(), - creator: z.nullable(z.lazy(() => UpdateProjectProjectsCreator$inboundSchema)), - deletedAt: z.number().optional(), - deploymentHostname: z.string(), - forced: z.boolean().optional(), - name: z.string(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - oidcTokenClaims: z.lazy(() => - UpdateProjectProjectsOidcTokenClaims$inboundSchema - ).optional(), - plan: UpdateProjectProjectsPlan$inboundSchema, - previewCommentsEnabled: z.boolean().optional(), - private: z.boolean(), - readyAt: z.number().optional(), - readyState: UpdateProjectProjectsReadyState$inboundSchema, - readySubstate: UpdateProjectProjectsReadySubstate$inboundSchema.optional(), - requestedAt: z.number().optional(), - target: z.nullable(z.string()).optional(), - teamId: z.nullable(z.string()).optional(), - type: UpdateProjectProjectsResponseType$inboundSchema, - url: z.string(), - userId: z.string(), - withCache: z.boolean().optional(), -}); - -/** @internal */ -export type UpdateProjectTargets$Outbound = { - id: string; - alias?: Array | undefined; - aliasAssigned?: number | boolean | null | undefined; - aliasError?: UpdateProjectProjectsAliasError$Outbound | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - branchMatcher?: UpdateProjectProjectsBranchMatcher$Outbound | undefined; - buildingAt?: number | undefined; - builds?: Array | undefined; - checksConclusion?: string | undefined; - checksState?: string | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdAt: number; - createdIn: string; - creator: UpdateProjectProjectsCreator$Outbound | null; - deletedAt?: number | undefined; - deploymentHostname: string; - forced?: boolean | undefined; - name: string; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - oidcTokenClaims?: UpdateProjectProjectsOidcTokenClaims$Outbound | undefined; - plan: string; - previewCommentsEnabled?: boolean | undefined; - private: boolean; - readyAt?: number | undefined; - readyState: string; - readySubstate?: string | undefined; - requestedAt?: number | undefined; - target?: string | null | undefined; - teamId?: string | null | undefined; - type: string; - url: string; - userId: string; - withCache?: boolean | undefined; -}; - -/** @internal */ -export const UpdateProjectTargets$outboundSchema: z.ZodType< - UpdateProjectTargets$Outbound, - z.ZodTypeDef, - UpdateProjectTargets -> = z.object({ - id: z.string(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - aliasError: z.nullable( - z.lazy(() => UpdateProjectProjectsAliasError$outboundSchema), - ).optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$outboundSchema) - .optional(), - buildingAt: z.number().optional(), - builds: z.array(z.lazy(() => UpdateProjectProjectsBuilds$outboundSchema)) - .optional(), - checksConclusion: UpdateProjectProjectsChecksConclusion$outboundSchema - .optional(), - checksState: UpdateProjectProjectsChecksState$outboundSchema.optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdAt: z.number(), - createdIn: z.string(), - creator: z.nullable( - z.lazy(() => UpdateProjectProjectsCreator$outboundSchema), - ), - deletedAt: z.number().optional(), - deploymentHostname: z.string(), - forced: z.boolean().optional(), - name: z.string(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - oidcTokenClaims: z.lazy(() => - UpdateProjectProjectsOidcTokenClaims$outboundSchema - ).optional(), - plan: UpdateProjectProjectsPlan$outboundSchema, - previewCommentsEnabled: z.boolean().optional(), - private: z.boolean(), - readyAt: z.number().optional(), - readyState: UpdateProjectProjectsReadyState$outboundSchema, - readySubstate: UpdateProjectProjectsReadySubstate$outboundSchema.optional(), - requestedAt: z.number().optional(), - target: z.nullable(z.string()).optional(), - teamId: z.nullable(z.string()).optional(), - type: UpdateProjectProjectsResponseType$outboundSchema, - url: z.string(), - userId: z.string(), - withCache: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectTargets$ { - /** @deprecated use `UpdateProjectTargets$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectTargets$inboundSchema; - /** @deprecated use `UpdateProjectTargets$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectTargets$outboundSchema; - /** @deprecated use `UpdateProjectTargets$Outbound` instead. */ - export type Outbound = UpdateProjectTargets$Outbound; -} - -export function updateProjectTargetsToJSON( - updateProjectTargets: UpdateProjectTargets, -): string { - return JSON.stringify( - UpdateProjectTargets$outboundSchema.parse(updateProjectTargets), - ); -} - -export function updateProjectTargetsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectTargets$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectTargets' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectPermissions$inboundSchema: z.ZodType< - UpdateProjectPermissions, - z.ZodTypeDef, - unknown -> = z.object({ - accessGroup: z.array(ACLAction$inboundSchema).optional(), - aliasGlobal: z.array(ACLAction$inboundSchema).optional(), - analyticsSampling: z.array(ACLAction$inboundSchema).optional(), - analyticsUsage: z.array(ACLAction$inboundSchema).optional(), - auditLog: z.array(ACLAction$inboundSchema).optional(), - billingAddress: z.array(ACLAction$inboundSchema).optional(), - billingInformation: z.array(ACLAction$inboundSchema).optional(), - billingInvoice: z.array(ACLAction$inboundSchema).optional(), - billingInvoiceEmailRecipient: z.array(ACLAction$inboundSchema).optional(), - billingInvoiceLanguage: z.array(ACLAction$inboundSchema).optional(), - billingPlan: z.array(ACLAction$inboundSchema).optional(), - billingPurchaseOrder: z.array(ACLAction$inboundSchema).optional(), - billingTaxId: z.array(ACLAction$inboundSchema).optional(), - blob: z.array(ACLAction$inboundSchema).optional(), - budget: z.array(ACLAction$inboundSchema).optional(), - cacheArtifact: z.array(ACLAction$inboundSchema).optional(), - cacheArtifactUsageEvent: z.array(ACLAction$inboundSchema).optional(), - codeChecks: z.array(ACLAction$inboundSchema).optional(), - concurrentBuilds: z.array(ACLAction$inboundSchema).optional(), - connect: z.array(ACLAction$inboundSchema).optional(), - connectConfiguration: z.array(ACLAction$inboundSchema).optional(), - domain: z.array(ACLAction$inboundSchema).optional(), - domainAcceptDelegation: z.array(ACLAction$inboundSchema).optional(), - domainAuthCodes: z.array(ACLAction$inboundSchema).optional(), - domainCertificate: z.array(ACLAction$inboundSchema).optional(), - domainCheckConfig: z.array(ACLAction$inboundSchema).optional(), - domainMove: z.array(ACLAction$inboundSchema).optional(), - domainPurchase: z.array(ACLAction$inboundSchema).optional(), - domainRecord: z.array(ACLAction$inboundSchema).optional(), - domainTransferIn: z.array(ACLAction$inboundSchema).optional(), - event: z.array(ACLAction$inboundSchema).optional(), - ownEvent: z.array(ACLAction$inboundSchema).optional(), - sensitiveEnvironmentVariablePolicy: z.array(ACLAction$inboundSchema) - .optional(), - fileUpload: z.array(ACLAction$inboundSchema).optional(), - gitRepository: z.array(ACLAction$inboundSchema).optional(), - ipBlocking: z.array(ACLAction$inboundSchema).optional(), - integration: z.array(ACLAction$inboundSchema).optional(), - integrationAccount: z.array(ACLAction$inboundSchema).optional(), - integrationConfiguration: z.array(ACLAction$inboundSchema).optional(), - integrationConfigurationTransfer: z.array(ACLAction$inboundSchema).optional(), - integrationConfigurationProjects: z.array(ACLAction$inboundSchema).optional(), - integrationVercelConfigurationOverride: z.array(ACLAction$inboundSchema) - .optional(), - integrationConfigurationRole: z.array(ACLAction$inboundSchema).optional(), - integrationResource: z.array(ACLAction$inboundSchema).optional(), - integrationEvent: z.array(ACLAction$inboundSchema).optional(), - integrationResourceSecrets: z.array(ACLAction$inboundSchema).optional(), - integrationDeploymentAction: z.array(ACLAction$inboundSchema).optional(), - marketplaceInstallationMember: z.array(ACLAction$inboundSchema).optional(), - marketplaceBillingData: z.array(ACLAction$inboundSchema).optional(), - marketplaceInvoice: z.array(ACLAction$inboundSchema).optional(), - jobGlobal: z.array(ACLAction$inboundSchema).optional(), - logDrain: z.array(ACLAction$inboundSchema).optional(), - Monitoring: z.array(ACLAction$inboundSchema).optional(), - monitoringSettings: z.array(ACLAction$inboundSchema).optional(), - monitoringQuery: z.array(ACLAction$inboundSchema).optional(), - monitoringChart: z.array(ACLAction$inboundSchema).optional(), - monitoringAlert: z.array(ACLAction$inboundSchema).optional(), - notificationDeploymentFailed: z.array(ACLAction$inboundSchema).optional(), - notificationDomainConfiguration: z.array(ACLAction$inboundSchema).optional(), - notificationDomainExpire: z.array(ACLAction$inboundSchema).optional(), - notificationDomainMoved: z.array(ACLAction$inboundSchema).optional(), - notificationDomainPurchase: z.array(ACLAction$inboundSchema).optional(), - notificationDomainRenewal: z.array(ACLAction$inboundSchema).optional(), - notificationDomainTransfer: z.array(ACLAction$inboundSchema).optional(), - notificationDomainUnverified: z.array(ACLAction$inboundSchema).optional(), - NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(), - notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(), - notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(), - notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), - notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(), - oauth2Connection: z.array(ACLAction$inboundSchema).optional(), - observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(), - openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(), - paymentMethod: z.array(ACLAction$inboundSchema).optional(), - permissions: z.array(ACLAction$inboundSchema).optional(), - postgres: z.array(ACLAction$inboundSchema).optional(), - previewDeploymentSuffix: z.array(ACLAction$inboundSchema).optional(), - proTrialOnboarding: z.array(ACLAction$inboundSchema).optional(), - sharedEnvVars: z.array(ACLAction$inboundSchema).optional(), - sharedEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(), - space: z.array(ACLAction$inboundSchema).optional(), - spaceRun: z.array(ACLAction$inboundSchema).optional(), - passwordProtectionInvoiceItem: z.array(ACLAction$inboundSchema).optional(), - rateLimit: z.array(ACLAction$inboundSchema).optional(), - redis: z.array(ACLAction$inboundSchema).optional(), - repository: z.array(ACLAction$inboundSchema).optional(), - remoteCaching: z.array(ACLAction$inboundSchema).optional(), - samlConfig: z.array(ACLAction$inboundSchema).optional(), - secret: z.array(ACLAction$inboundSchema).optional(), - redisStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), - blobStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), - postgresStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), - integrationStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), - integrationResourceReplCommand: z.array(ACLAction$inboundSchema).optional(), - storeTransfer: z.array(ACLAction$inboundSchema).optional(), - supportCase: z.array(ACLAction$inboundSchema).optional(), - supportCaseComment: z.array(ACLAction$inboundSchema).optional(), - dataCacheBillingSettings: z.array(ACLAction$inboundSchema).optional(), - team: z.array(ACLAction$inboundSchema).optional(), - teamAccessRequest: z.array(ACLAction$inboundSchema).optional(), - teamFellowMembership: z.array(ACLAction$inboundSchema).optional(), - teamGitExclusivity: z.array(ACLAction$inboundSchema).optional(), - teamInvite: z.array(ACLAction$inboundSchema).optional(), - teamInviteCode: z.array(ACLAction$inboundSchema).optional(), - teamJoin: z.array(ACLAction$inboundSchema).optional(), - teamMicrofrontends: z.array(ACLAction$inboundSchema).optional(), - teamOwnMembership: z.array(ACLAction$inboundSchema).optional(), - teamOwnMembershipDisconnectSAML: z.array(ACLAction$inboundSchema).optional(), - token: z.array(ACLAction$inboundSchema).optional(), - usage: z.array(ACLAction$inboundSchema).optional(), - usageCycle: z.array(ACLAction$inboundSchema).optional(), - user: z.array(ACLAction$inboundSchema).optional(), - userConnection: z.array(ACLAction$inboundSchema).optional(), - vpcPeeringConnection: z.array(ACLAction$inboundSchema).optional(), - webAnalyticsPlan: z.array(ACLAction$inboundSchema).optional(), - webAuthn: z.array(ACLAction$inboundSchema).optional(), - edgeConfig: z.array(ACLAction$inboundSchema).optional(), - edgeConfigItem: z.array(ACLAction$inboundSchema).optional(), - edgeConfigSchema: z.array(ACLAction$inboundSchema).optional(), - edgeConfigToken: z.array(ACLAction$inboundSchema).optional(), - webhook: z.array(ACLAction$inboundSchema).optional(), - "webhook-event": z.array(ACLAction$inboundSchema).optional(), - endpointVerification: z.array(ACLAction$inboundSchema).optional(), - projectTransferIn: z.array(ACLAction$inboundSchema).optional(), - oauth2Application: z.array(ACLAction$inboundSchema).optional(), - aliasProject: z.array(ACLAction$inboundSchema).optional(), - aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), - productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), - connectConfigurationLink: z.array(ACLAction$inboundSchema).optional(), - dataCacheNamespace: z.array(ACLAction$inboundSchema).optional(), - deployment: z.array(ACLAction$inboundSchema).optional(), - deploymentCheck: z.array(ACLAction$inboundSchema).optional(), - deploymentCheckPreview: z.array(ACLAction$inboundSchema).optional(), - deploymentCheckReRunFromProductionBranch: z.array(ACLAction$inboundSchema) - .optional(), - deploymentProductionGit: z.array(ACLAction$inboundSchema).optional(), - deploymentV0: z.array(ACLAction$inboundSchema).optional(), - deploymentPreview: z.array(ACLAction$inboundSchema).optional(), - deploymentPrivate: z.array(ACLAction$inboundSchema).optional(), - deploymentPromote: z.array(ACLAction$inboundSchema).optional(), - deploymentRollback: z.array(ACLAction$inboundSchema).optional(), - environments: z.array(ACLAction$inboundSchema).optional(), - logs: z.array(ACLAction$inboundSchema).optional(), - logsPreset: z.array(ACLAction$inboundSchema).optional(), - passwordProtection: z.array(ACLAction$inboundSchema).optional(), - optionsAllowlist: z.array(ACLAction$inboundSchema).optional(), - job: z.array(ACLAction$inboundSchema).optional(), - observabilityData: z.array(ACLAction$inboundSchema).optional(), - project: z.array(ACLAction$inboundSchema).optional(), - projectFromV0: z.array(ACLAction$inboundSchema).optional(), - projectAccessGroup: z.array(ACLAction$inboundSchema).optional(), - projectAnalyticsSampling: z.array(ACLAction$inboundSchema).optional(), - projectDeploymentHook: z.array(ACLAction$inboundSchema).optional(), - projectDomain: z.array(ACLAction$inboundSchema).optional(), - projectDomainMove: z.array(ACLAction$inboundSchema).optional(), - projectDomainCheckConfig: z.array(ACLAction$inboundSchema).optional(), - projectEnvVars: z.array(ACLAction$inboundSchema).optional(), - projectEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(), - projectEnvVarsUnownedByIntegration: z.array(ACLAction$inboundSchema) - .optional(), - projectFlags: z.array(ACLAction$inboundSchema).optional(), - projectId: z.array(ACLAction$inboundSchema).optional(), - projectIntegrationConfiguration: z.array(ACLAction$inboundSchema).optional(), - projectLink: z.array(ACLAction$inboundSchema).optional(), - projectMember: z.array(ACLAction$inboundSchema).optional(), - projectMonitoring: z.array(ACLAction$inboundSchema).optional(), - projectPermissions: z.array(ACLAction$inboundSchema).optional(), - projectProductionBranch: z.array(ACLAction$inboundSchema).optional(), - projectTransfer: z.array(ACLAction$inboundSchema).optional(), - projectTransferOut: z.array(ACLAction$inboundSchema).optional(), - projectProtectionBypass: z.array(ACLAction$inboundSchema).optional(), - projectUsage: z.array(ACLAction$inboundSchema).optional(), - projectAnalyticsUsage: z.array(ACLAction$inboundSchema).optional(), - projectSupportCase: z.array(ACLAction$inboundSchema).optional(), - projectSupportCaseComment: z.array(ACLAction$inboundSchema).optional(), - projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(), - projectTier: z.array(ACLAction$inboundSchema).optional(), - seawallConfig: z.array(ACLAction$inboundSchema).optional(), - skewProtection: z.array(ACLAction$inboundSchema).optional(), - analytics: z.array(ACLAction$inboundSchema).optional(), - trustedIps: z.array(ACLAction$inboundSchema).optional(), - webAnalytics: z.array(ACLAction$inboundSchema).optional(), - sharedEnvVarConnection: z.array(ACLAction$inboundSchema).optional(), - sonar: z.array(ACLAction$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "Monitoring": "monitoring", - "NotificationMonitoringAlert": "notificationMonitoringAlert", - "webhook-event": "webhookEvent", - }); -}); - -/** @internal */ -export type UpdateProjectPermissions$Outbound = { - accessGroup?: Array | undefined; - aliasGlobal?: Array | undefined; - analyticsSampling?: Array | undefined; - analyticsUsage?: Array | undefined; - auditLog?: Array | undefined; - billingAddress?: Array | undefined; - billingInformation?: Array | undefined; - billingInvoice?: Array | undefined; - billingInvoiceEmailRecipient?: Array | undefined; - billingInvoiceLanguage?: Array | undefined; - billingPlan?: Array | undefined; - billingPurchaseOrder?: Array | undefined; - billingTaxId?: Array | undefined; - blob?: Array | undefined; - budget?: Array | undefined; - cacheArtifact?: Array | undefined; - cacheArtifactUsageEvent?: Array | undefined; - codeChecks?: Array | undefined; - concurrentBuilds?: Array | undefined; - connect?: Array | undefined; - connectConfiguration?: Array | undefined; - domain?: Array | undefined; - domainAcceptDelegation?: Array | undefined; - domainAuthCodes?: Array | undefined; - domainCertificate?: Array | undefined; - domainCheckConfig?: Array | undefined; - domainMove?: Array | undefined; - domainPurchase?: Array | undefined; - domainRecord?: Array | undefined; - domainTransferIn?: Array | undefined; - event?: Array | undefined; - ownEvent?: Array | undefined; - sensitiveEnvironmentVariablePolicy?: Array | undefined; - fileUpload?: Array | undefined; - gitRepository?: Array | undefined; - ipBlocking?: Array | undefined; - integration?: Array | undefined; - integrationAccount?: Array | undefined; - integrationConfiguration?: Array | undefined; - integrationConfigurationTransfer?: Array | undefined; - integrationConfigurationProjects?: Array | undefined; - integrationVercelConfigurationOverride?: Array | undefined; - integrationConfigurationRole?: Array | undefined; - integrationResource?: Array | undefined; - integrationEvent?: Array | undefined; - integrationResourceSecrets?: Array | undefined; - integrationDeploymentAction?: Array | undefined; - marketplaceInstallationMember?: Array | undefined; - marketplaceBillingData?: Array | undefined; - marketplaceInvoice?: Array | undefined; - jobGlobal?: Array | undefined; - logDrain?: Array | undefined; - Monitoring?: Array | undefined; - monitoringSettings?: Array | undefined; - monitoringQuery?: Array | undefined; - monitoringChart?: Array | undefined; - monitoringAlert?: Array | undefined; - notificationDeploymentFailed?: Array | undefined; - notificationDomainConfiguration?: Array | undefined; - notificationDomainExpire?: Array | undefined; - notificationDomainMoved?: Array | undefined; - notificationDomainPurchase?: Array | undefined; - notificationDomainRenewal?: Array | undefined; - notificationDomainTransfer?: Array | undefined; - notificationDomainUnverified?: Array | undefined; - NotificationMonitoringAlert?: Array | undefined; - notificationPaymentFailed?: Array | undefined; - notificationUsageAlert?: Array | undefined; - notificationCustomerBudget?: Array | undefined; - notificationStatementOfReasons?: Array | undefined; - oauth2Connection?: Array | undefined; - observabilityConfiguration?: Array | undefined; - openTelemetryEndpoint?: Array | undefined; - paymentMethod?: Array | undefined; - permissions?: Array | undefined; - postgres?: Array | undefined; - previewDeploymentSuffix?: Array | undefined; - proTrialOnboarding?: Array | undefined; - sharedEnvVars?: Array | undefined; - sharedEnvVarsProduction?: Array | undefined; - space?: Array | undefined; - spaceRun?: Array | undefined; - passwordProtectionInvoiceItem?: Array | undefined; - rateLimit?: Array | undefined; - redis?: Array | undefined; - repository?: Array | undefined; - remoteCaching?: Array | undefined; - samlConfig?: Array | undefined; - secret?: Array | undefined; - redisStoreTokenSet?: Array | undefined; - blobStoreTokenSet?: Array | undefined; - postgresStoreTokenSet?: Array | undefined; - integrationStoreTokenSet?: Array | undefined; - integrationResourceReplCommand?: Array | undefined; - storeTransfer?: Array | undefined; - supportCase?: Array | undefined; - supportCaseComment?: Array | undefined; - dataCacheBillingSettings?: Array | undefined; - team?: Array | undefined; - teamAccessRequest?: Array | undefined; - teamFellowMembership?: Array | undefined; - teamGitExclusivity?: Array | undefined; - teamInvite?: Array | undefined; - teamInviteCode?: Array | undefined; - teamJoin?: Array | undefined; - teamMicrofrontends?: Array | undefined; - teamOwnMembership?: Array | undefined; - teamOwnMembershipDisconnectSAML?: Array | undefined; - token?: Array | undefined; - usage?: Array | undefined; - usageCycle?: Array | undefined; - user?: Array | undefined; - userConnection?: Array | undefined; - vpcPeeringConnection?: Array | undefined; - webAnalyticsPlan?: Array | undefined; - webAuthn?: Array | undefined; - edgeConfig?: Array | undefined; - edgeConfigItem?: Array | undefined; - edgeConfigSchema?: Array | undefined; - edgeConfigToken?: Array | undefined; - webhook?: Array | undefined; - "webhook-event"?: Array | undefined; - endpointVerification?: Array | undefined; - projectTransferIn?: Array | undefined; - oauth2Application?: Array | undefined; - aliasProject?: Array | undefined; - aliasProtectionBypass?: Array | undefined; - productionAliasProtectionBypass?: Array | undefined; - connectConfigurationLink?: Array | undefined; - dataCacheNamespace?: Array | undefined; - deployment?: Array | undefined; - deploymentCheck?: Array | undefined; - deploymentCheckPreview?: Array | undefined; - deploymentCheckReRunFromProductionBranch?: Array | undefined; - deploymentProductionGit?: Array | undefined; - deploymentV0?: Array | undefined; - deploymentPreview?: Array | undefined; - deploymentPrivate?: Array | undefined; - deploymentPromote?: Array | undefined; - deploymentRollback?: Array | undefined; - environments?: Array | undefined; - logs?: Array | undefined; - logsPreset?: Array | undefined; - passwordProtection?: Array | undefined; - optionsAllowlist?: Array | undefined; - job?: Array | undefined; - observabilityData?: Array | undefined; - project?: Array | undefined; - projectFromV0?: Array | undefined; - projectAccessGroup?: Array | undefined; - projectAnalyticsSampling?: Array | undefined; - projectDeploymentHook?: Array | undefined; - projectDomain?: Array | undefined; - projectDomainMove?: Array | undefined; - projectDomainCheckConfig?: Array | undefined; - projectEnvVars?: Array | undefined; - projectEnvVarsProduction?: Array | undefined; - projectEnvVarsUnownedByIntegration?: Array | undefined; - projectFlags?: Array | undefined; - projectId?: Array | undefined; - projectIntegrationConfiguration?: Array | undefined; - projectLink?: Array | undefined; - projectMember?: Array | undefined; - projectMonitoring?: Array | undefined; - projectPermissions?: Array | undefined; - projectProductionBranch?: Array | undefined; - projectTransfer?: Array | undefined; - projectTransferOut?: Array | undefined; - projectProtectionBypass?: Array | undefined; - projectUsage?: Array | undefined; - projectAnalyticsUsage?: Array | undefined; - projectSupportCase?: Array | undefined; - projectSupportCaseComment?: Array | undefined; - projectDeploymentExpiration?: Array | undefined; - projectTier?: Array | undefined; - seawallConfig?: Array | undefined; - skewProtection?: Array | undefined; - analytics?: Array | undefined; - trustedIps?: Array | undefined; - webAnalytics?: Array | undefined; - sharedEnvVarConnection?: Array | undefined; - sonar?: Array | undefined; -}; - -/** @internal */ -export const UpdateProjectPermissions$outboundSchema: z.ZodType< - UpdateProjectPermissions$Outbound, - z.ZodTypeDef, - UpdateProjectPermissions -> = z.object({ - accessGroup: z.array(ACLAction$outboundSchema).optional(), - aliasGlobal: z.array(ACLAction$outboundSchema).optional(), - analyticsSampling: z.array(ACLAction$outboundSchema).optional(), - analyticsUsage: z.array(ACLAction$outboundSchema).optional(), - auditLog: z.array(ACLAction$outboundSchema).optional(), - billingAddress: z.array(ACLAction$outboundSchema).optional(), - billingInformation: z.array(ACLAction$outboundSchema).optional(), - billingInvoice: z.array(ACLAction$outboundSchema).optional(), - billingInvoiceEmailRecipient: z.array(ACLAction$outboundSchema).optional(), - billingInvoiceLanguage: z.array(ACLAction$outboundSchema).optional(), - billingPlan: z.array(ACLAction$outboundSchema).optional(), - billingPurchaseOrder: z.array(ACLAction$outboundSchema).optional(), - billingTaxId: z.array(ACLAction$outboundSchema).optional(), - blob: z.array(ACLAction$outboundSchema).optional(), - budget: z.array(ACLAction$outboundSchema).optional(), - cacheArtifact: z.array(ACLAction$outboundSchema).optional(), - cacheArtifactUsageEvent: z.array(ACLAction$outboundSchema).optional(), - codeChecks: z.array(ACLAction$outboundSchema).optional(), - concurrentBuilds: z.array(ACLAction$outboundSchema).optional(), - connect: z.array(ACLAction$outboundSchema).optional(), - connectConfiguration: z.array(ACLAction$outboundSchema).optional(), - domain: z.array(ACLAction$outboundSchema).optional(), - domainAcceptDelegation: z.array(ACLAction$outboundSchema).optional(), - domainAuthCodes: z.array(ACLAction$outboundSchema).optional(), - domainCertificate: z.array(ACLAction$outboundSchema).optional(), - domainCheckConfig: z.array(ACLAction$outboundSchema).optional(), - domainMove: z.array(ACLAction$outboundSchema).optional(), - domainPurchase: z.array(ACLAction$outboundSchema).optional(), - domainRecord: z.array(ACLAction$outboundSchema).optional(), - domainTransferIn: z.array(ACLAction$outboundSchema).optional(), - event: z.array(ACLAction$outboundSchema).optional(), - ownEvent: z.array(ACLAction$outboundSchema).optional(), - sensitiveEnvironmentVariablePolicy: z.array(ACLAction$outboundSchema) - .optional(), - fileUpload: z.array(ACLAction$outboundSchema).optional(), - gitRepository: z.array(ACLAction$outboundSchema).optional(), - ipBlocking: z.array(ACLAction$outboundSchema).optional(), - integration: z.array(ACLAction$outboundSchema).optional(), - integrationAccount: z.array(ACLAction$outboundSchema).optional(), - integrationConfiguration: z.array(ACLAction$outboundSchema).optional(), - integrationConfigurationTransfer: z.array(ACLAction$outboundSchema) - .optional(), - integrationConfigurationProjects: z.array(ACLAction$outboundSchema) - .optional(), - integrationVercelConfigurationOverride: z.array(ACLAction$outboundSchema) - .optional(), - integrationConfigurationRole: z.array(ACLAction$outboundSchema).optional(), - integrationResource: z.array(ACLAction$outboundSchema).optional(), - integrationEvent: z.array(ACLAction$outboundSchema).optional(), - integrationResourceSecrets: z.array(ACLAction$outboundSchema).optional(), - integrationDeploymentAction: z.array(ACLAction$outboundSchema).optional(), - marketplaceInstallationMember: z.array(ACLAction$outboundSchema).optional(), - marketplaceBillingData: z.array(ACLAction$outboundSchema).optional(), - marketplaceInvoice: z.array(ACLAction$outboundSchema).optional(), - jobGlobal: z.array(ACLAction$outboundSchema).optional(), - logDrain: z.array(ACLAction$outboundSchema).optional(), - monitoring: z.array(ACLAction$outboundSchema).optional(), - monitoringSettings: z.array(ACLAction$outboundSchema).optional(), - monitoringQuery: z.array(ACLAction$outboundSchema).optional(), - monitoringChart: z.array(ACLAction$outboundSchema).optional(), - monitoringAlert: z.array(ACLAction$outboundSchema).optional(), - notificationDeploymentFailed: z.array(ACLAction$outboundSchema).optional(), - notificationDomainConfiguration: z.array(ACLAction$outboundSchema).optional(), - notificationDomainExpire: z.array(ACLAction$outboundSchema).optional(), - notificationDomainMoved: z.array(ACLAction$outboundSchema).optional(), - notificationDomainPurchase: z.array(ACLAction$outboundSchema).optional(), - notificationDomainRenewal: z.array(ACLAction$outboundSchema).optional(), - notificationDomainTransfer: z.array(ACLAction$outboundSchema).optional(), - notificationDomainUnverified: z.array(ACLAction$outboundSchema).optional(), - notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(), - notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(), - notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(), - notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), - notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(), - oauth2Connection: z.array(ACLAction$outboundSchema).optional(), - observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(), - openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(), - paymentMethod: z.array(ACLAction$outboundSchema).optional(), - permissions: z.array(ACLAction$outboundSchema).optional(), - postgres: z.array(ACLAction$outboundSchema).optional(), - previewDeploymentSuffix: z.array(ACLAction$outboundSchema).optional(), - proTrialOnboarding: z.array(ACLAction$outboundSchema).optional(), - sharedEnvVars: z.array(ACLAction$outboundSchema).optional(), - sharedEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(), - space: z.array(ACLAction$outboundSchema).optional(), - spaceRun: z.array(ACLAction$outboundSchema).optional(), - passwordProtectionInvoiceItem: z.array(ACLAction$outboundSchema).optional(), - rateLimit: z.array(ACLAction$outboundSchema).optional(), - redis: z.array(ACLAction$outboundSchema).optional(), - repository: z.array(ACLAction$outboundSchema).optional(), - remoteCaching: z.array(ACLAction$outboundSchema).optional(), - samlConfig: z.array(ACLAction$outboundSchema).optional(), - secret: z.array(ACLAction$outboundSchema).optional(), - redisStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), - blobStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), - postgresStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), - integrationStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), - integrationResourceReplCommand: z.array(ACLAction$outboundSchema).optional(), - storeTransfer: z.array(ACLAction$outboundSchema).optional(), - supportCase: z.array(ACLAction$outboundSchema).optional(), - supportCaseComment: z.array(ACLAction$outboundSchema).optional(), - dataCacheBillingSettings: z.array(ACLAction$outboundSchema).optional(), - team: z.array(ACLAction$outboundSchema).optional(), - teamAccessRequest: z.array(ACLAction$outboundSchema).optional(), - teamFellowMembership: z.array(ACLAction$outboundSchema).optional(), - teamGitExclusivity: z.array(ACLAction$outboundSchema).optional(), - teamInvite: z.array(ACLAction$outboundSchema).optional(), - teamInviteCode: z.array(ACLAction$outboundSchema).optional(), - teamJoin: z.array(ACLAction$outboundSchema).optional(), - teamMicrofrontends: z.array(ACLAction$outboundSchema).optional(), - teamOwnMembership: z.array(ACLAction$outboundSchema).optional(), - teamOwnMembershipDisconnectSAML: z.array(ACLAction$outboundSchema).optional(), - token: z.array(ACLAction$outboundSchema).optional(), - usage: z.array(ACLAction$outboundSchema).optional(), - usageCycle: z.array(ACLAction$outboundSchema).optional(), - user: z.array(ACLAction$outboundSchema).optional(), - userConnection: z.array(ACLAction$outboundSchema).optional(), - vpcPeeringConnection: z.array(ACLAction$outboundSchema).optional(), - webAnalyticsPlan: z.array(ACLAction$outboundSchema).optional(), - webAuthn: z.array(ACLAction$outboundSchema).optional(), - edgeConfig: z.array(ACLAction$outboundSchema).optional(), - edgeConfigItem: z.array(ACLAction$outboundSchema).optional(), - edgeConfigSchema: z.array(ACLAction$outboundSchema).optional(), - edgeConfigToken: z.array(ACLAction$outboundSchema).optional(), - webhook: z.array(ACLAction$outboundSchema).optional(), - webhookEvent: z.array(ACLAction$outboundSchema).optional(), - endpointVerification: z.array(ACLAction$outboundSchema).optional(), - projectTransferIn: z.array(ACLAction$outboundSchema).optional(), - oauth2Application: z.array(ACLAction$outboundSchema).optional(), - aliasProject: z.array(ACLAction$outboundSchema).optional(), - aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), - productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), - connectConfigurationLink: z.array(ACLAction$outboundSchema).optional(), - dataCacheNamespace: z.array(ACLAction$outboundSchema).optional(), - deployment: z.array(ACLAction$outboundSchema).optional(), - deploymentCheck: z.array(ACLAction$outboundSchema).optional(), - deploymentCheckPreview: z.array(ACLAction$outboundSchema).optional(), - deploymentCheckReRunFromProductionBranch: z.array(ACLAction$outboundSchema) - .optional(), - deploymentProductionGit: z.array(ACLAction$outboundSchema).optional(), - deploymentV0: z.array(ACLAction$outboundSchema).optional(), - deploymentPreview: z.array(ACLAction$outboundSchema).optional(), - deploymentPrivate: z.array(ACLAction$outboundSchema).optional(), - deploymentPromote: z.array(ACLAction$outboundSchema).optional(), - deploymentRollback: z.array(ACLAction$outboundSchema).optional(), - environments: z.array(ACLAction$outboundSchema).optional(), - logs: z.array(ACLAction$outboundSchema).optional(), - logsPreset: z.array(ACLAction$outboundSchema).optional(), - passwordProtection: z.array(ACLAction$outboundSchema).optional(), - optionsAllowlist: z.array(ACLAction$outboundSchema).optional(), - job: z.array(ACLAction$outboundSchema).optional(), - observabilityData: z.array(ACLAction$outboundSchema).optional(), - project: z.array(ACLAction$outboundSchema).optional(), - projectFromV0: z.array(ACLAction$outboundSchema).optional(), - projectAccessGroup: z.array(ACLAction$outboundSchema).optional(), - projectAnalyticsSampling: z.array(ACLAction$outboundSchema).optional(), - projectDeploymentHook: z.array(ACLAction$outboundSchema).optional(), - projectDomain: z.array(ACLAction$outboundSchema).optional(), - projectDomainMove: z.array(ACLAction$outboundSchema).optional(), - projectDomainCheckConfig: z.array(ACLAction$outboundSchema).optional(), - projectEnvVars: z.array(ACLAction$outboundSchema).optional(), - projectEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(), - projectEnvVarsUnownedByIntegration: z.array(ACLAction$outboundSchema) - .optional(), - projectFlags: z.array(ACLAction$outboundSchema).optional(), - projectId: z.array(ACLAction$outboundSchema).optional(), - projectIntegrationConfiguration: z.array(ACLAction$outboundSchema).optional(), - projectLink: z.array(ACLAction$outboundSchema).optional(), - projectMember: z.array(ACLAction$outboundSchema).optional(), - projectMonitoring: z.array(ACLAction$outboundSchema).optional(), - projectPermissions: z.array(ACLAction$outboundSchema).optional(), - projectProductionBranch: z.array(ACLAction$outboundSchema).optional(), - projectTransfer: z.array(ACLAction$outboundSchema).optional(), - projectTransferOut: z.array(ACLAction$outboundSchema).optional(), - projectProtectionBypass: z.array(ACLAction$outboundSchema).optional(), - projectUsage: z.array(ACLAction$outboundSchema).optional(), - projectAnalyticsUsage: z.array(ACLAction$outboundSchema).optional(), - projectSupportCase: z.array(ACLAction$outboundSchema).optional(), - projectSupportCaseComment: z.array(ACLAction$outboundSchema).optional(), - projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(), - projectTier: z.array(ACLAction$outboundSchema).optional(), - seawallConfig: z.array(ACLAction$outboundSchema).optional(), - skewProtection: z.array(ACLAction$outboundSchema).optional(), - analytics: z.array(ACLAction$outboundSchema).optional(), - trustedIps: z.array(ACLAction$outboundSchema).optional(), - webAnalytics: z.array(ACLAction$outboundSchema).optional(), - sharedEnvVarConnection: z.array(ACLAction$outboundSchema).optional(), - sonar: z.array(ACLAction$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - monitoring: "Monitoring", - notificationMonitoringAlert: "NotificationMonitoringAlert", - webhookEvent: "webhook-event", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectPermissions$ { - /** @deprecated use `UpdateProjectPermissions$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectPermissions$inboundSchema; - /** @deprecated use `UpdateProjectPermissions$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectPermissions$outboundSchema; - /** @deprecated use `UpdateProjectPermissions$Outbound` instead. */ - export type Outbound = UpdateProjectPermissions$Outbound; -} - -export function updateProjectPermissionsToJSON( - updateProjectPermissions: UpdateProjectPermissions, -): string { - return JSON.stringify( - UpdateProjectPermissions$outboundSchema.parse(updateProjectPermissions), - ); -} - -export function updateProjectPermissionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectPermissions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectPermissions' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectLastRollbackTarget$inboundSchema: z.ZodType< - UpdateProjectLastRollbackTarget, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UpdateProjectLastRollbackTarget$Outbound = {}; - -/** @internal */ -export const UpdateProjectLastRollbackTarget$outboundSchema: z.ZodType< - UpdateProjectLastRollbackTarget$Outbound, - z.ZodTypeDef, - UpdateProjectLastRollbackTarget -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLastRollbackTarget$ { - /** @deprecated use `UpdateProjectLastRollbackTarget$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectLastRollbackTarget$inboundSchema; - /** @deprecated use `UpdateProjectLastRollbackTarget$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectLastRollbackTarget$outboundSchema; - /** @deprecated use `UpdateProjectLastRollbackTarget$Outbound` instead. */ - export type Outbound = UpdateProjectLastRollbackTarget$Outbound; -} - -export function updateProjectLastRollbackTargetToJSON( - updateProjectLastRollbackTarget: UpdateProjectLastRollbackTarget, -): string { - return JSON.stringify( - UpdateProjectLastRollbackTarget$outboundSchema.parse( - updateProjectLastRollbackTarget, - ), - ); -} - -export function updateProjectLastRollbackTargetFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectLastRollbackTarget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectLastRollbackTarget' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectJobStatus$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectJobStatus -> = z.nativeEnum(UpdateProjectJobStatus); - -/** @internal */ -export const UpdateProjectJobStatus$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectJobStatus -> = UpdateProjectJobStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectJobStatus$ { - /** @deprecated use `UpdateProjectJobStatus$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectJobStatus$inboundSchema; - /** @deprecated use `UpdateProjectJobStatus$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectJobStatus$outboundSchema; -} - -/** @internal */ -export const UpdateProjectProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectProjectsResponse200Type, - ); - -/** @internal */ -export const UpdateProjectProjectsResponse200Type$outboundSchema: - z.ZodNativeEnum = - UpdateProjectProjectsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsResponse200Type$ { - /** @deprecated use `UpdateProjectProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsResponse200Type$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResponse200Type$outboundSchema; -} - -/** @internal */ -export const UpdateProjectLastAliasRequest$inboundSchema: z.ZodType< - UpdateProjectLastAliasRequest, - z.ZodTypeDef, - unknown -> = z.object({ - fromDeploymentId: z.string(), - toDeploymentId: z.string(), - jobStatus: UpdateProjectJobStatus$inboundSchema, - requestedAt: z.number(), - type: UpdateProjectProjectsResponse200Type$inboundSchema, -}); - -/** @internal */ -export type UpdateProjectLastAliasRequest$Outbound = { - fromDeploymentId: string; - toDeploymentId: string; - jobStatus: string; - requestedAt: number; - type: string; -}; - -/** @internal */ -export const UpdateProjectLastAliasRequest$outboundSchema: z.ZodType< - UpdateProjectLastAliasRequest$Outbound, - z.ZodTypeDef, - UpdateProjectLastAliasRequest -> = z.object({ - fromDeploymentId: z.string(), - toDeploymentId: z.string(), - jobStatus: UpdateProjectJobStatus$outboundSchema, - requestedAt: z.number(), - type: UpdateProjectProjectsResponse200Type$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLastAliasRequest$ { - /** @deprecated use `UpdateProjectLastAliasRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectLastAliasRequest$inboundSchema; - /** @deprecated use `UpdateProjectLastAliasRequest$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectLastAliasRequest$outboundSchema; - /** @deprecated use `UpdateProjectLastAliasRequest$Outbound` instead. */ - export type Outbound = UpdateProjectLastAliasRequest$Outbound; -} - -export function updateProjectLastAliasRequestToJSON( - updateProjectLastAliasRequest: UpdateProjectLastAliasRequest, -): string { - return JSON.stringify( - UpdateProjectLastAliasRequest$outboundSchema.parse( - updateProjectLastAliasRequest, - ), - ); -} - -export function updateProjectLastAliasRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectLastAliasRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectLastAliasRequest' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectScope$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectScope -> = z.nativeEnum(UpdateProjectScope); - -/** @internal */ -export const UpdateProjectScope$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectScope -> = UpdateProjectScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectScope$ { - /** @deprecated use `UpdateProjectScope$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectScope$inboundSchema; - /** @deprecated use `UpdateProjectScope$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectScope$outboundSchema; -} - -/** @internal */ -export const UpdateProjectProtectionBypass$inboundSchema: z.ZodType< - UpdateProjectProtectionBypass, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: UpdateProjectScope$inboundSchema, -}); - -/** @internal */ -export type UpdateProjectProtectionBypass$Outbound = { - createdAt: number; - createdBy: string; - scope: string; -}; - -/** @internal */ -export const UpdateProjectProtectionBypass$outboundSchema: z.ZodType< - UpdateProjectProtectionBypass$Outbound, - z.ZodTypeDef, - UpdateProjectProtectionBypass -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: UpdateProjectScope$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProtectionBypass$ { - /** @deprecated use `UpdateProjectProtectionBypass$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProtectionBypass$inboundSchema; - /** @deprecated use `UpdateProjectProtectionBypass$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProtectionBypass$outboundSchema; - /** @deprecated use `UpdateProjectProtectionBypass$Outbound` instead. */ - export type Outbound = UpdateProjectProtectionBypass$Outbound; -} - -export function updateProjectProtectionBypassToJSON( - updateProjectProtectionBypass: UpdateProjectProtectionBypass, -): string { - return JSON.stringify( - UpdateProjectProtectionBypass$outboundSchema.parse( - updateProjectProtectionBypass, - ), - ); -} - -export function updateProjectProtectionBypassFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectProtectionBypass$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectProtectionBypass' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectTrustedIpsProjectsDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectTrustedIpsProjectsDeploymentType); - -/** @internal */ -export const UpdateProjectTrustedIpsProjectsDeploymentType$outboundSchema: - z.ZodNativeEnum = - UpdateProjectTrustedIpsProjectsDeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectTrustedIpsProjectsDeploymentType$ { - /** @deprecated use `UpdateProjectTrustedIpsProjectsDeploymentType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectTrustedIpsProjectsDeploymentType$inboundSchema; - /** @deprecated use `UpdateProjectTrustedIpsProjectsDeploymentType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectTrustedIpsProjectsDeploymentType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectTrustedIps2$inboundSchema: z.ZodType< - UpdateProjectTrustedIps2, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentType: UpdateProjectTrustedIpsProjectsDeploymentType$inboundSchema, -}); - -/** @internal */ -export type UpdateProjectTrustedIps2$Outbound = { - deploymentType: string; -}; - -/** @internal */ -export const UpdateProjectTrustedIps2$outboundSchema: z.ZodType< - UpdateProjectTrustedIps2$Outbound, - z.ZodTypeDef, - UpdateProjectTrustedIps2 -> = z.object({ - deploymentType: UpdateProjectTrustedIpsProjectsDeploymentType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectTrustedIps2$ { - /** @deprecated use `UpdateProjectTrustedIps2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectTrustedIps2$inboundSchema; - /** @deprecated use `UpdateProjectTrustedIps2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectTrustedIps2$outboundSchema; - /** @deprecated use `UpdateProjectTrustedIps2$Outbound` instead. */ - export type Outbound = UpdateProjectTrustedIps2$Outbound; -} - -export function updateProjectTrustedIps2ToJSON( - updateProjectTrustedIps2: UpdateProjectTrustedIps2, -): string { - return JSON.stringify( - UpdateProjectTrustedIps2$outboundSchema.parse(updateProjectTrustedIps2), - ); -} - -export function updateProjectTrustedIps2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectTrustedIps2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectTrustedIps2' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectTrustedIpsDeploymentType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectTrustedIpsDeploymentType, - ); - -/** @internal */ -export const UpdateProjectTrustedIpsDeploymentType$outboundSchema: - z.ZodNativeEnum = - UpdateProjectTrustedIpsDeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectTrustedIpsDeploymentType$ { - /** @deprecated use `UpdateProjectTrustedIpsDeploymentType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectTrustedIpsDeploymentType$inboundSchema; - /** @deprecated use `UpdateProjectTrustedIpsDeploymentType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectTrustedIpsDeploymentType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectTrustedIpsAddresses$inboundSchema: z.ZodType< - UpdateProjectTrustedIpsAddresses, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.string(), - note: z.string().optional(), -}); - -/** @internal */ -export type UpdateProjectTrustedIpsAddresses$Outbound = { - value: string; - note?: string | undefined; -}; - -/** @internal */ -export const UpdateProjectTrustedIpsAddresses$outboundSchema: z.ZodType< - UpdateProjectTrustedIpsAddresses$Outbound, - z.ZodTypeDef, - UpdateProjectTrustedIpsAddresses -> = z.object({ - value: z.string(), - note: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectTrustedIpsAddresses$ { - /** @deprecated use `UpdateProjectTrustedIpsAddresses$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectTrustedIpsAddresses$inboundSchema; - /** @deprecated use `UpdateProjectTrustedIpsAddresses$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectTrustedIpsAddresses$outboundSchema; - /** @deprecated use `UpdateProjectTrustedIpsAddresses$Outbound` instead. */ - export type Outbound = UpdateProjectTrustedIpsAddresses$Outbound; -} - -export function updateProjectTrustedIpsAddressesToJSON( - updateProjectTrustedIpsAddresses: UpdateProjectTrustedIpsAddresses, -): string { - return JSON.stringify( - UpdateProjectTrustedIpsAddresses$outboundSchema.parse( - updateProjectTrustedIpsAddresses, - ), - ); -} - -export function updateProjectTrustedIpsAddressesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectTrustedIpsAddresses$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectTrustedIpsAddresses' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectTrustedIpsProtectionMode$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectTrustedIpsProtectionMode, - ); - -/** @internal */ -export const UpdateProjectTrustedIpsProtectionMode$outboundSchema: - z.ZodNativeEnum = - UpdateProjectTrustedIpsProtectionMode$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectTrustedIpsProtectionMode$ { - /** @deprecated use `UpdateProjectTrustedIpsProtectionMode$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectTrustedIpsProtectionMode$inboundSchema; - /** @deprecated use `UpdateProjectTrustedIpsProtectionMode$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectTrustedIpsProtectionMode$outboundSchema; -} - -/** @internal */ -export const UpdateProjectTrustedIps1$inboundSchema: z.ZodType< - UpdateProjectTrustedIps1, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentType: UpdateProjectTrustedIpsDeploymentType$inboundSchema, - addresses: z.array( - z.lazy(() => UpdateProjectTrustedIpsAddresses$inboundSchema), - ), - protectionMode: UpdateProjectTrustedIpsProtectionMode$inboundSchema, -}); - -/** @internal */ -export type UpdateProjectTrustedIps1$Outbound = { - deploymentType: string; - addresses: Array; - protectionMode: string; -}; - -/** @internal */ -export const UpdateProjectTrustedIps1$outboundSchema: z.ZodType< - UpdateProjectTrustedIps1$Outbound, - z.ZodTypeDef, - UpdateProjectTrustedIps1 -> = z.object({ - deploymentType: UpdateProjectTrustedIpsDeploymentType$outboundSchema, - addresses: z.array( - z.lazy(() => UpdateProjectTrustedIpsAddresses$outboundSchema), - ), - protectionMode: UpdateProjectTrustedIpsProtectionMode$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectTrustedIps1$ { - /** @deprecated use `UpdateProjectTrustedIps1$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectTrustedIps1$inboundSchema; - /** @deprecated use `UpdateProjectTrustedIps1$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectTrustedIps1$outboundSchema; - /** @deprecated use `UpdateProjectTrustedIps1$Outbound` instead. */ - export type Outbound = UpdateProjectTrustedIps1$Outbound; -} - -export function updateProjectTrustedIps1ToJSON( - updateProjectTrustedIps1: UpdateProjectTrustedIps1, -): string { - return JSON.stringify( - UpdateProjectTrustedIps1$outboundSchema.parse(updateProjectTrustedIps1), - ); -} - -export function updateProjectTrustedIps1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectTrustedIps1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectTrustedIps1' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectTrustedIps$inboundSchema: z.ZodType< - UpdateProjectTrustedIps, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => UpdateProjectTrustedIps2$inboundSchema), - z.lazy(() => UpdateProjectTrustedIps1$inboundSchema), -]); - -/** @internal */ -export type UpdateProjectTrustedIps$Outbound = - | UpdateProjectTrustedIps2$Outbound - | UpdateProjectTrustedIps1$Outbound; - -/** @internal */ -export const UpdateProjectTrustedIps$outboundSchema: z.ZodType< - UpdateProjectTrustedIps$Outbound, - z.ZodTypeDef, - UpdateProjectTrustedIps -> = z.union([ - z.lazy(() => UpdateProjectTrustedIps2$outboundSchema), - z.lazy(() => UpdateProjectTrustedIps1$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectTrustedIps$ { - /** @deprecated use `UpdateProjectTrustedIps$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectTrustedIps$inboundSchema; - /** @deprecated use `UpdateProjectTrustedIps$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectTrustedIps$outboundSchema; - /** @deprecated use `UpdateProjectTrustedIps$Outbound` instead. */ - export type Outbound = UpdateProjectTrustedIps$Outbound; -} - -export function updateProjectTrustedIpsToJSON( - updateProjectTrustedIps: UpdateProjectTrustedIps, -): string { - return JSON.stringify( - UpdateProjectTrustedIps$outboundSchema.parse(updateProjectTrustedIps), - ); -} - -export function updateProjectTrustedIpsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectTrustedIps$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectTrustedIps' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectGitComments$inboundSchema: z.ZodType< - UpdateProjectGitComments, - z.ZodTypeDef, - unknown -> = z.object({ - onPullRequest: z.boolean(), - onCommit: z.boolean(), -}); - -/** @internal */ -export type UpdateProjectGitComments$Outbound = { - onPullRequest: boolean; - onCommit: boolean; -}; - -/** @internal */ -export const UpdateProjectGitComments$outboundSchema: z.ZodType< - UpdateProjectGitComments$Outbound, - z.ZodTypeDef, - UpdateProjectGitComments -> = z.object({ - onPullRequest: z.boolean(), - onCommit: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectGitComments$ { - /** @deprecated use `UpdateProjectGitComments$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectGitComments$inboundSchema; - /** @deprecated use `UpdateProjectGitComments$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectGitComments$outboundSchema; - /** @deprecated use `UpdateProjectGitComments$Outbound` instead. */ - export type Outbound = UpdateProjectGitComments$Outbound; -} - -export function updateProjectGitCommentsToJSON( - updateProjectGitComments: UpdateProjectGitComments, -): string { - return JSON.stringify( - UpdateProjectGitComments$outboundSchema.parse(updateProjectGitComments), - ); -} - -export function updateProjectGitCommentsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectGitComments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectGitComments' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectWebAnalytics$inboundSchema: z.ZodType< - UpdateProjectWebAnalytics, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); - -/** @internal */ -export type UpdateProjectWebAnalytics$Outbound = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; -}; - -/** @internal */ -export const UpdateProjectWebAnalytics$outboundSchema: z.ZodType< - UpdateProjectWebAnalytics$Outbound, - z.ZodTypeDef, - UpdateProjectWebAnalytics -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectWebAnalytics$ { - /** @deprecated use `UpdateProjectWebAnalytics$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectWebAnalytics$inboundSchema; - /** @deprecated use `UpdateProjectWebAnalytics$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectWebAnalytics$outboundSchema; - /** @deprecated use `UpdateProjectWebAnalytics$Outbound` instead. */ - export type Outbound = UpdateProjectWebAnalytics$Outbound; -} - -export function updateProjectWebAnalyticsToJSON( - updateProjectWebAnalytics: UpdateProjectWebAnalytics, -): string { - return JSON.stringify( - UpdateProjectWebAnalytics$outboundSchema.parse(updateProjectWebAnalytics), - ); -} - -export function updateProjectWebAnalyticsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectWebAnalytics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectWebAnalytics' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectSrc2$inboundSchema: z.ZodType< - UpdateProjectSrc2, - z.ZodTypeDef, - unknown -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** @internal */ -export type UpdateProjectSrc2$Outbound = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -/** @internal */ -export const UpdateProjectSrc2$outboundSchema: z.ZodType< - UpdateProjectSrc2$Outbound, - z.ZodTypeDef, - UpdateProjectSrc2 -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectSrc2$ { - /** @deprecated use `UpdateProjectSrc2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectSrc2$inboundSchema; - /** @deprecated use `UpdateProjectSrc2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectSrc2$outboundSchema; - /** @deprecated use `UpdateProjectSrc2$Outbound` instead. */ - export type Outbound = UpdateProjectSrc2$Outbound; -} - -export function updateProjectSrc2ToJSON( - updateProjectSrc2: UpdateProjectSrc2, -): string { - return JSON.stringify( - UpdateProjectSrc2$outboundSchema.parse(updateProjectSrc2), - ); -} - -export function updateProjectSrc2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectSrc2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectSrc2' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectSrc$inboundSchema: z.ZodType< - UpdateProjectSrc, - z.ZodTypeDef, - unknown -> = z.union([z.lazy(() => UpdateProjectSrc2$inboundSchema), z.string()]); - -/** @internal */ -export type UpdateProjectSrc$Outbound = UpdateProjectSrc2$Outbound | string; - -/** @internal */ -export const UpdateProjectSrc$outboundSchema: z.ZodType< - UpdateProjectSrc$Outbound, - z.ZodTypeDef, - UpdateProjectSrc -> = z.union([z.lazy(() => UpdateProjectSrc2$outboundSchema), z.string()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectSrc$ { - /** @deprecated use `UpdateProjectSrc$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectSrc$inboundSchema; - /** @deprecated use `UpdateProjectSrc$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectSrc$outboundSchema; - /** @deprecated use `UpdateProjectSrc$Outbound` instead. */ - export type Outbound = UpdateProjectSrc$Outbound; -} - -export function updateProjectSrcToJSON( - updateProjectSrc: UpdateProjectSrc, -): string { - return JSON.stringify( - UpdateProjectSrc$outboundSchema.parse(updateProjectSrc), - ); -} - -export function updateProjectSrcFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectSrc$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectSrc' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType - > = z.nativeEnum( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType, - ); - -/** @internal */ -export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType - > = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$ { - /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectValue2$inboundSchema: z.ZodType< - UpdateProjectValue2, - z.ZodTypeDef, - unknown -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** @internal */ -export type UpdateProjectValue2$Outbound = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -/** @internal */ -export const UpdateProjectValue2$outboundSchema: z.ZodType< - UpdateProjectValue2$Outbound, - z.ZodTypeDef, - UpdateProjectValue2 -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectValue2$ { - /** @deprecated use `UpdateProjectValue2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectValue2$inboundSchema; - /** @deprecated use `UpdateProjectValue2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectValue2$outboundSchema; - /** @deprecated use `UpdateProjectValue2$Outbound` instead. */ - export type Outbound = UpdateProjectValue2$Outbound; -} - -export function updateProjectValue2ToJSON( - updateProjectValue2: UpdateProjectValue2, -): string { - return JSON.stringify( - UpdateProjectValue2$outboundSchema.parse(updateProjectValue2), - ); -} - -export function updateProjectValue2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectValue2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectValue2' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectValue$inboundSchema: z.ZodType< - UpdateProjectValue, - z.ZodTypeDef, - unknown -> = z.union([z.lazy(() => UpdateProjectValue2$inboundSchema), z.string()]); - -/** @internal */ -export type UpdateProjectValue$Outbound = UpdateProjectValue2$Outbound | string; - -/** @internal */ -export const UpdateProjectValue$outboundSchema: z.ZodType< - UpdateProjectValue$Outbound, - z.ZodTypeDef, - UpdateProjectValue -> = z.union([z.lazy(() => UpdateProjectValue2$outboundSchema), z.string()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectValue$ { - /** @deprecated use `UpdateProjectValue$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectValue$inboundSchema; - /** @deprecated use `UpdateProjectValue$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectValue$outboundSchema; - /** @deprecated use `UpdateProjectValue$Outbound` instead. */ - export type Outbound = UpdateProjectValue$Outbound; -} - -export function updateProjectValueToJSON( - updateProjectValue: UpdateProjectValue, -): string { - return JSON.stringify( - UpdateProjectValue$outboundSchema.parse(updateProjectValue), - ); -} - -export function updateProjectValueFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectValue$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectValue' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectHas$inboundSchema: z.ZodType< - UpdateProjectHas, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema, - key: z.string().optional(), - value: z.union([z.lazy(() => UpdateProjectValue2$inboundSchema), z.string()]) - .optional(), -}); - -/** @internal */ -export type UpdateProjectHas$Outbound = { - type: string; - key?: string | undefined; - value?: UpdateProjectValue2$Outbound | string | undefined; -}; - -/** @internal */ -export const UpdateProjectHas$outboundSchema: z.ZodType< - UpdateProjectHas$Outbound, - z.ZodTypeDef, - UpdateProjectHas -> = z.object({ - type: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema, - key: z.string().optional(), - value: z.union([z.lazy(() => UpdateProjectValue2$outboundSchema), z.string()]) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHas$ { - /** @deprecated use `UpdateProjectHas$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectHas$inboundSchema; - /** @deprecated use `UpdateProjectHas$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectHas$outboundSchema; - /** @deprecated use `UpdateProjectHas$Outbound` instead. */ - export type Outbound = UpdateProjectHas$Outbound; -} - -export function updateProjectHasToJSON( - updateProjectHas: UpdateProjectHas, -): string { - return JSON.stringify( - UpdateProjectHas$outboundSchema.parse(updateProjectHas), - ); -} - -export function updateProjectHasFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectHas$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectHas' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType - > = z.nativeEnum( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType, - ); - -/** @internal */ -export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType - > = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$ { - /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectValueProjects2$inboundSchema: z.ZodType< - UpdateProjectValueProjects2, - z.ZodTypeDef, - unknown -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** @internal */ -export type UpdateProjectValueProjects2$Outbound = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -/** @internal */ -export const UpdateProjectValueProjects2$outboundSchema: z.ZodType< - UpdateProjectValueProjects2$Outbound, - z.ZodTypeDef, - UpdateProjectValueProjects2 -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectValueProjects2$ { - /** @deprecated use `UpdateProjectValueProjects2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectValueProjects2$inboundSchema; - /** @deprecated use `UpdateProjectValueProjects2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectValueProjects2$outboundSchema; - /** @deprecated use `UpdateProjectValueProjects2$Outbound` instead. */ - export type Outbound = UpdateProjectValueProjects2$Outbound; -} - -export function updateProjectValueProjects2ToJSON( - updateProjectValueProjects2: UpdateProjectValueProjects2, -): string { - return JSON.stringify( - UpdateProjectValueProjects2$outboundSchema.parse( - updateProjectValueProjects2, - ), - ); -} - -export function updateProjectValueProjects2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectValueProjects2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectValueProjects2' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsValue$inboundSchema: z.ZodType< - UpdateProjectProjectsValue, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => UpdateProjectValueProjects2$inboundSchema), - z.string(), -]); - -/** @internal */ -export type UpdateProjectProjectsValue$Outbound = - | UpdateProjectValueProjects2$Outbound - | string; - -/** @internal */ -export const UpdateProjectProjectsValue$outboundSchema: z.ZodType< - UpdateProjectProjectsValue$Outbound, - z.ZodTypeDef, - UpdateProjectProjectsValue -> = z.union([ - z.lazy(() => UpdateProjectValueProjects2$outboundSchema), - z.string(), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsValue$ { - /** @deprecated use `UpdateProjectProjectsValue$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsValue$inboundSchema; - /** @deprecated use `UpdateProjectProjectsValue$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProjectsValue$outboundSchema; - /** @deprecated use `UpdateProjectProjectsValue$Outbound` instead. */ - export type Outbound = UpdateProjectProjectsValue$Outbound; -} - -export function updateProjectProjectsValueToJSON( - updateProjectProjectsValue: UpdateProjectProjectsValue, -): string { - return JSON.stringify( - UpdateProjectProjectsValue$outboundSchema.parse(updateProjectProjectsValue), - ); -} - -export function updateProjectProjectsValueFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectProjectsValue$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectProjectsValue' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectMissing$inboundSchema: z.ZodType< - UpdateProjectMissing, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema, - key: z.string().optional(), - value: z.union([ - z.lazy(() => UpdateProjectValueProjects2$inboundSchema), - z.string(), - ]).optional(), -}); - -/** @internal */ -export type UpdateProjectMissing$Outbound = { - type: string; - key?: string | undefined; - value?: UpdateProjectValueProjects2$Outbound | string | undefined; -}; - -/** @internal */ -export const UpdateProjectMissing$outboundSchema: z.ZodType< - UpdateProjectMissing$Outbound, - z.ZodTypeDef, - UpdateProjectMissing -> = z.object({ - type: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema, - key: z.string().optional(), - value: z.union([ - z.lazy(() => UpdateProjectValueProjects2$outboundSchema), - z.string(), - ]).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectMissing$ { - /** @deprecated use `UpdateProjectMissing$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectMissing$inboundSchema; - /** @deprecated use `UpdateProjectMissing$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectMissing$outboundSchema; - /** @deprecated use `UpdateProjectMissing$Outbound` instead. */ - export type Outbound = UpdateProjectMissing$Outbound; -} - -export function updateProjectMissingToJSON( - updateProjectMissing: UpdateProjectMissing, -): string { - return JSON.stringify( - UpdateProjectMissing$outboundSchema.parse(updateProjectMissing), - ); -} - -export function updateProjectMissingFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectMissing$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectMissing' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectHandle$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectHandle -> = z.nativeEnum(UpdateProjectHandle); - -/** @internal */ -export const UpdateProjectHandle$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectHandle -> = UpdateProjectHandle$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHandle$ { - /** @deprecated use `UpdateProjectHandle$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectHandle$inboundSchema; - /** @deprecated use `UpdateProjectHandle$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectHandle$outboundSchema; -} - -/** @internal */ -export const UpdateProjectAction$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectAction -> = z.nativeEnum(UpdateProjectAction); - -/** @internal */ -export const UpdateProjectAction$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectAction -> = UpdateProjectAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectAction$ { - /** @deprecated use `UpdateProjectAction$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectAction$inboundSchema; - /** @deprecated use `UpdateProjectAction$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectAction$outboundSchema; -} - -/** @internal */ -export const UpdateProjectAlgo$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectAlgo -> = z.nativeEnum(UpdateProjectAlgo); - -/** @internal */ -export const UpdateProjectAlgo$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectAlgo -> = UpdateProjectAlgo$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectAlgo$ { - /** @deprecated use `UpdateProjectAlgo$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectAlgo$inboundSchema; - /** @deprecated use `UpdateProjectAlgo$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectAlgo$outboundSchema; -} - -/** @internal */ -export const UpdateProjectErl$inboundSchema: z.ZodType< - UpdateProjectErl, - z.ZodTypeDef, - unknown -> = z.object({ - algo: UpdateProjectAlgo$inboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), -}); - -/** @internal */ -export type UpdateProjectErl$Outbound = { - algo: string; - window: number; - limit: number; - keys: Array; -}; - -/** @internal */ -export const UpdateProjectErl$outboundSchema: z.ZodType< - UpdateProjectErl$Outbound, - z.ZodTypeDef, - UpdateProjectErl -> = z.object({ - algo: UpdateProjectAlgo$outboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectErl$ { - /** @deprecated use `UpdateProjectErl$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectErl$inboundSchema; - /** @deprecated use `UpdateProjectErl$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectErl$outboundSchema; - /** @deprecated use `UpdateProjectErl$Outbound` instead. */ - export type Outbound = UpdateProjectErl$Outbound; -} - -export function updateProjectErlToJSON( - updateProjectErl: UpdateProjectErl, -): string { - return JSON.stringify( - UpdateProjectErl$outboundSchema.parse(updateProjectErl), - ); -} - -export function updateProjectErlFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectErl$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectErl' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectMitigate$inboundSchema: z.ZodType< - UpdateProjectMitigate, - z.ZodTypeDef, - unknown -> = z.object({ - action: UpdateProjectAction$inboundSchema, - rule_id: z.string(), - ttl: z.number().optional(), - erl: z.lazy(() => UpdateProjectErl$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "rule_id": "ruleId", - }); -}); - -/** @internal */ -export type UpdateProjectMitigate$Outbound = { - action: string; - rule_id: string; - ttl?: number | undefined; - erl?: UpdateProjectErl$Outbound | undefined; -}; - -/** @internal */ -export const UpdateProjectMitigate$outboundSchema: z.ZodType< - UpdateProjectMitigate$Outbound, - z.ZodTypeDef, - UpdateProjectMitigate -> = z.object({ - action: UpdateProjectAction$outboundSchema, - ruleId: z.string(), - ttl: z.number().optional(), - erl: z.lazy(() => UpdateProjectErl$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - ruleId: "rule_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectMitigate$ { - /** @deprecated use `UpdateProjectMitigate$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectMitigate$inboundSchema; - /** @deprecated use `UpdateProjectMitigate$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectMitigate$outboundSchema; - /** @deprecated use `UpdateProjectMitigate$Outbound` instead. */ - export type Outbound = UpdateProjectMitigate$Outbound; -} - -export function updateProjectMitigateToJSON( - updateProjectMitigate: UpdateProjectMitigate, -): string { - return JSON.stringify( - UpdateProjectMitigate$outboundSchema.parse(updateProjectMitigate), - ); -} - -export function updateProjectMitigateFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectMitigate$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectMitigate' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectFirewallRoutes$inboundSchema: z.ZodType< - UpdateProjectFirewallRoutes, - z.ZodTypeDef, - unknown -> = z.object({ - src: z.union([z.lazy(() => UpdateProjectSrc2$inboundSchema), z.string()]) - .optional(), - has: z.array(z.lazy(() => UpdateProjectHas$inboundSchema)).optional(), - missing: z.array(z.lazy(() => UpdateProjectMissing$inboundSchema)).optional(), - dest: z.string().optional(), - status: z.number().optional(), - handle: UpdateProjectHandle$inboundSchema.optional(), - mitigate: z.lazy(() => UpdateProjectMitigate$inboundSchema).optional(), -}); - -/** @internal */ -export type UpdateProjectFirewallRoutes$Outbound = { - src?: UpdateProjectSrc2$Outbound | string | undefined; - has?: Array | undefined; - missing?: Array | undefined; - dest?: string | undefined; - status?: number | undefined; - handle?: string | undefined; - mitigate?: UpdateProjectMitigate$Outbound | undefined; -}; - -/** @internal */ -export const UpdateProjectFirewallRoutes$outboundSchema: z.ZodType< - UpdateProjectFirewallRoutes$Outbound, - z.ZodTypeDef, - UpdateProjectFirewallRoutes -> = z.object({ - src: z.union([z.lazy(() => UpdateProjectSrc2$outboundSchema), z.string()]) - .optional(), - has: z.array(z.lazy(() => UpdateProjectHas$outboundSchema)).optional(), - missing: z.array(z.lazy(() => UpdateProjectMissing$outboundSchema)) - .optional(), - dest: z.string().optional(), - status: z.number().optional(), - handle: UpdateProjectHandle$outboundSchema.optional(), - mitigate: z.lazy(() => UpdateProjectMitigate$outboundSchema).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectFirewallRoutes$ { - /** @deprecated use `UpdateProjectFirewallRoutes$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectFirewallRoutes$inboundSchema; - /** @deprecated use `UpdateProjectFirewallRoutes$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectFirewallRoutes$outboundSchema; - /** @deprecated use `UpdateProjectFirewallRoutes$Outbound` instead. */ - export type Outbound = UpdateProjectFirewallRoutes$Outbound; -} - -export function updateProjectFirewallRoutesToJSON( - updateProjectFirewallRoutes: UpdateProjectFirewallRoutes, -): string { - return JSON.stringify( - UpdateProjectFirewallRoutes$outboundSchema.parse( - updateProjectFirewallRoutes, - ), - ); -} - -export function updateProjectFirewallRoutesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectFirewallRoutes$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectFirewallRoutes' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectSecurity$inboundSchema: z.ZodType< - UpdateProjectSecurity, - z.ZodTypeDef, - unknown -> = z.object({ - attackModeEnabled: z.boolean().optional(), - attackModeUpdatedAt: z.number().optional(), - firewallEnabled: z.boolean().optional(), - firewallUpdatedAt: z.number().optional(), - attackModeActiveUntil: z.nullable(z.number()).optional(), - firewallConfigVersion: z.number().optional(), - firewallRoutes: z.array( - z.lazy(() => UpdateProjectFirewallRoutes$inboundSchema), - ).optional(), - firewallSeawallEnabled: z.boolean().optional(), - ja3Enabled: z.boolean().optional(), - ja4Enabled: z.boolean().optional(), - firewallBypassIps: z.array(z.string()).optional(), -}); - -/** @internal */ -export type UpdateProjectSecurity$Outbound = { - attackModeEnabled?: boolean | undefined; - attackModeUpdatedAt?: number | undefined; - firewallEnabled?: boolean | undefined; - firewallUpdatedAt?: number | undefined; - attackModeActiveUntil?: number | null | undefined; - firewallConfigVersion?: number | undefined; - firewallRoutes?: Array | undefined; - firewallSeawallEnabled?: boolean | undefined; - ja3Enabled?: boolean | undefined; - ja4Enabled?: boolean | undefined; - firewallBypassIps?: Array | undefined; -}; - -/** @internal */ -export const UpdateProjectSecurity$outboundSchema: z.ZodType< - UpdateProjectSecurity$Outbound, - z.ZodTypeDef, - UpdateProjectSecurity -> = z.object({ - attackModeEnabled: z.boolean().optional(), - attackModeUpdatedAt: z.number().optional(), - firewallEnabled: z.boolean().optional(), - firewallUpdatedAt: z.number().optional(), - attackModeActiveUntil: z.nullable(z.number()).optional(), - firewallConfigVersion: z.number().optional(), - firewallRoutes: z.array( - z.lazy(() => UpdateProjectFirewallRoutes$outboundSchema), - ).optional(), - firewallSeawallEnabled: z.boolean().optional(), - ja3Enabled: z.boolean().optional(), - ja4Enabled: z.boolean().optional(), - firewallBypassIps: z.array(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectSecurity$ { - /** @deprecated use `UpdateProjectSecurity$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectSecurity$inboundSchema; - /** @deprecated use `UpdateProjectSecurity$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectSecurity$outboundSchema; - /** @deprecated use `UpdateProjectSecurity$Outbound` instead. */ - export type Outbound = UpdateProjectSecurity$Outbound; -} - -export function updateProjectSecurityToJSON( - updateProjectSecurity: UpdateProjectSecurity, -): string { - return JSON.stringify( - UpdateProjectSecurity$outboundSchema.parse(updateProjectSecurity), - ); -} - -export function updateProjectSecurityFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectSecurity$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectSecurity' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsIssuerMode$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsIssuerMode -> = z.nativeEnum(UpdateProjectProjectsIssuerMode); - -/** @internal */ -export const UpdateProjectProjectsIssuerMode$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsIssuerMode -> = UpdateProjectProjectsIssuerMode$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsIssuerMode$ { - /** @deprecated use `UpdateProjectProjectsIssuerMode$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsIssuerMode$inboundSchema; - /** @deprecated use `UpdateProjectProjectsIssuerMode$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProjectsIssuerMode$outboundSchema; -} - -/** @internal */ -export const UpdateProjectProjectsOidcTokenConfig$inboundSchema: z.ZodType< - UpdateProjectProjectsOidcTokenConfig, - z.ZodTypeDef, - unknown -> = z.object({ - enabled: z.boolean(), - issuerMode: UpdateProjectProjectsIssuerMode$inboundSchema.optional(), -}); - -/** @internal */ -export type UpdateProjectProjectsOidcTokenConfig$Outbound = { - enabled: boolean; - issuerMode?: string | undefined; -}; - -/** @internal */ -export const UpdateProjectProjectsOidcTokenConfig$outboundSchema: z.ZodType< - UpdateProjectProjectsOidcTokenConfig$Outbound, - z.ZodTypeDef, - UpdateProjectProjectsOidcTokenConfig -> = z.object({ - enabled: z.boolean(), - issuerMode: UpdateProjectProjectsIssuerMode$outboundSchema.optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsOidcTokenConfig$ { - /** @deprecated use `UpdateProjectProjectsOidcTokenConfig$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsOidcTokenConfig$inboundSchema; - /** @deprecated use `UpdateProjectProjectsOidcTokenConfig$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsOidcTokenConfig$outboundSchema; - /** @deprecated use `UpdateProjectProjectsOidcTokenConfig$Outbound` instead. */ - export type Outbound = UpdateProjectProjectsOidcTokenConfig$Outbound; -} - -export function updateProjectProjectsOidcTokenConfigToJSON( - updateProjectProjectsOidcTokenConfig: UpdateProjectProjectsOidcTokenConfig, -): string { - return JSON.stringify( - UpdateProjectProjectsOidcTokenConfig$outboundSchema.parse( - updateProjectProjectsOidcTokenConfig, - ), - ); -} - -export function updateProjectProjectsOidcTokenConfigFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectProjectsOidcTokenConfig$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectProjectsOidcTokenConfig' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectTier$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectTier -> = z.nativeEnum(UpdateProjectTier); - -/** @internal */ -export const UpdateProjectTier$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectTier -> = UpdateProjectTier$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectTier$ { - /** @deprecated use `UpdateProjectTier$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectTier$inboundSchema; - /** @deprecated use `UpdateProjectTier$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectTier$outboundSchema; -} - -/** @internal */ -export const UpdateProjectResponseBody$inboundSchema: z.ZodType< - UpdateProjectResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - accountId: z.string(), - analytics: z.lazy(() => UpdateProjectAnalytics$inboundSchema).optional(), - speedInsights: z.lazy(() => UpdateProjectSpeedInsights$inboundSchema) - .optional(), - autoExposeSystemEnvs: z.boolean().optional(), - autoAssignCustomDomains: z.boolean().optional(), - autoAssignCustomDomainsUpdatedBy: z.string().optional(), - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - connectConfigurationId: z.nullable(z.string()).optional(), - connectBuildsEnabled: z.boolean().optional(), - createdAt: z.number().optional(), - customerSupportCodeVisibility: z.boolean().optional(), - crons: z.lazy(() => UpdateProjectCrons$inboundSchema).optional(), - dataCache: z.lazy(() => UpdateProjectDataCache$inboundSchema).optional(), - deploymentExpiration: z.nullable( - z.lazy(() => UpdateProjectDeploymentExpiration$inboundSchema), - ).optional(), - devCommand: z.nullable(z.string()).optional(), - directoryListing: z.boolean(), - installCommand: z.nullable(z.string()).optional(), - env: z.array(z.lazy(() => UpdateProjectEnv$inboundSchema)).optional(), - customEnvironments: z.array( - z.lazy(() => UpdateProjectCustomEnvironments$inboundSchema), - ).optional(), - framework: z.nullable(UpdateProjectProjectsFramework$inboundSchema) - .optional(), - gitForkProtection: z.boolean().optional(), - gitLFS: z.boolean().optional(), - id: z.string(), - ipBuckets: z.array(z.lazy(() => UpdateProjectIpBuckets$inboundSchema)) - .optional(), - latestDeployments: z.array( - z.lazy(() => UpdateProjectLatestDeployments$inboundSchema), - ).optional(), - link: z.union([ - z.lazy(() => UpdateProjectLink1$inboundSchema), - z.lazy(() => UpdateProjectLink3$inboundSchema), - z.lazy(() => UpdateProjectLink2$inboundSchema), - ]).optional(), - microfrontends: z.lazy(() => UpdateProjectMicrofrontends$inboundSchema) - .optional(), - name: z.string(), - nodeVersion: UpdateProjectProjectsNodeVersion$inboundSchema, - optionsAllowlist: z.nullable( - z.lazy(() => UpdateProjectOptionsAllowlist$inboundSchema), - ).optional(), - outputDirectory: z.nullable(z.string()).optional(), - passiveConnectConfigurationId: z.nullable(z.string()).optional(), - passwordProtection: z.nullable( - z.lazy(() => UpdateProjectPasswordProtection$inboundSchema), - ).optional(), - productionDeploymentsFastLane: z.boolean().optional(), - publicSource: z.nullable(z.boolean()).optional(), - resourceConfig: z.lazy(() => UpdateProjectResourceConfig$inboundSchema) - .optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - serverlessFunctionZeroConfigFailover: z.boolean().optional(), - skewProtectionBoundaryAt: z.number().optional(), - skewProtectionMaxAge: z.number().optional(), - skipGitConnectDuringLink: z.boolean().optional(), - sourceFilesOutsideRootDirectory: z.boolean().optional(), - enableAffectedProjectsDeployments: z.boolean().optional(), - ssoProtection: z.nullable( - z.lazy(() => UpdateProjectSsoProtection$inboundSchema), - ).optional(), - targets: z.record(z.lazy(() => UpdateProjectTargets$inboundSchema)) - .optional(), - transferCompletedAt: z.number().optional(), - transferStartedAt: z.number().optional(), - transferToAccountId: z.string().optional(), - transferredFromAccountId: z.string().optional(), - updatedAt: z.number().optional(), - live: z.boolean().optional(), - enablePreviewFeedback: z.nullable(z.boolean()).optional(), - enableProductionFeedback: z.nullable(z.boolean()).optional(), - permissions: z.lazy(() => UpdateProjectPermissions$inboundSchema).optional(), - lastRollbackTarget: z.nullable( - z.lazy(() => UpdateProjectLastRollbackTarget$inboundSchema), - ).optional(), - lastAliasRequest: z.nullable( - z.lazy(() => UpdateProjectLastAliasRequest$inboundSchema), - ).optional(), - hasFloatingAliases: z.boolean().optional(), - protectionBypass: z.record( - z.lazy(() => UpdateProjectProtectionBypass$inboundSchema), - ).optional(), - hasActiveBranches: z.boolean().optional(), - trustedIps: z.nullable( - z.union([ - z.lazy(() => UpdateProjectTrustedIps2$inboundSchema), - z.lazy(() => UpdateProjectTrustedIps1$inboundSchema), - ]), - ).optional(), - gitComments: z.lazy(() => UpdateProjectGitComments$inboundSchema).optional(), - paused: z.boolean().optional(), - concurrencyBucketName: z.string().optional(), - webAnalytics: z.lazy(() => UpdateProjectWebAnalytics$inboundSchema) - .optional(), - security: z.lazy(() => UpdateProjectSecurity$inboundSchema).optional(), - oidcTokenConfig: z.lazy(() => - UpdateProjectProjectsOidcTokenConfig$inboundSchema - ).optional(), - tier: UpdateProjectTier$inboundSchema.optional(), -}); - -/** @internal */ -export type UpdateProjectResponseBody$Outbound = { - accountId: string; - analytics?: UpdateProjectAnalytics$Outbound | undefined; - speedInsights?: UpdateProjectSpeedInsights$Outbound | undefined; - autoExposeSystemEnvs?: boolean | undefined; - autoAssignCustomDomains?: boolean | undefined; - autoAssignCustomDomainsUpdatedBy?: string | undefined; - buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - connectConfigurationId?: string | null | undefined; - connectBuildsEnabled?: boolean | undefined; - createdAt?: number | undefined; - customerSupportCodeVisibility?: boolean | undefined; - crons?: UpdateProjectCrons$Outbound | undefined; - dataCache?: UpdateProjectDataCache$Outbound | undefined; - deploymentExpiration?: - | UpdateProjectDeploymentExpiration$Outbound - | null - | undefined; - devCommand?: string | null | undefined; - directoryListing: boolean; - installCommand?: string | null | undefined; - env?: Array | undefined; - customEnvironments?: - | Array - | undefined; - framework?: string | null | undefined; - gitForkProtection?: boolean | undefined; - gitLFS?: boolean | undefined; - id: string; - ipBuckets?: Array | undefined; - latestDeployments?: - | Array - | undefined; - link?: - | UpdateProjectLink1$Outbound - | UpdateProjectLink3$Outbound - | UpdateProjectLink2$Outbound - | undefined; - microfrontends?: UpdateProjectMicrofrontends$Outbound | undefined; - name: string; - nodeVersion: string; - optionsAllowlist?: UpdateProjectOptionsAllowlist$Outbound | null | undefined; - outputDirectory?: string | null | undefined; - passiveConnectConfigurationId?: string | null | undefined; - passwordProtection?: - | UpdateProjectPasswordProtection$Outbound - | null - | undefined; - productionDeploymentsFastLane?: boolean | undefined; - publicSource?: boolean | null | undefined; - resourceConfig?: UpdateProjectResourceConfig$Outbound | undefined; - rootDirectory?: string | null | undefined; - serverlessFunctionRegion?: string | null | undefined; - serverlessFunctionZeroConfigFailover?: boolean | undefined; - skewProtectionBoundaryAt?: number | undefined; - skewProtectionMaxAge?: number | undefined; - skipGitConnectDuringLink?: boolean | undefined; - sourceFilesOutsideRootDirectory?: boolean | undefined; - enableAffectedProjectsDeployments?: boolean | undefined; - ssoProtection?: UpdateProjectSsoProtection$Outbound | null | undefined; - targets?: { [k: string]: UpdateProjectTargets$Outbound } | undefined; - transferCompletedAt?: number | undefined; - transferStartedAt?: number | undefined; - transferToAccountId?: string | undefined; - transferredFromAccountId?: string | undefined; - updatedAt?: number | undefined; - live?: boolean | undefined; - enablePreviewFeedback?: boolean | null | undefined; - enableProductionFeedback?: boolean | null | undefined; - permissions?: UpdateProjectPermissions$Outbound | undefined; - lastRollbackTarget?: - | UpdateProjectLastRollbackTarget$Outbound - | null - | undefined; - lastAliasRequest?: UpdateProjectLastAliasRequest$Outbound | null | undefined; - hasFloatingAliases?: boolean | undefined; - protectionBypass?: - | { [k: string]: UpdateProjectProtectionBypass$Outbound } - | undefined; - hasActiveBranches?: boolean | undefined; - trustedIps?: - | UpdateProjectTrustedIps2$Outbound - | UpdateProjectTrustedIps1$Outbound - | null - | undefined; - gitComments?: UpdateProjectGitComments$Outbound | undefined; - paused?: boolean | undefined; - concurrencyBucketName?: string | undefined; - webAnalytics?: UpdateProjectWebAnalytics$Outbound | undefined; - security?: UpdateProjectSecurity$Outbound | undefined; - oidcTokenConfig?: UpdateProjectProjectsOidcTokenConfig$Outbound | undefined; - tier?: string | undefined; -}; - -/** @internal */ -export const UpdateProjectResponseBody$outboundSchema: z.ZodType< - UpdateProjectResponseBody$Outbound, - z.ZodTypeDef, - UpdateProjectResponseBody -> = z.object({ - accountId: z.string(), - analytics: z.lazy(() => UpdateProjectAnalytics$outboundSchema).optional(), - speedInsights: z.lazy(() => UpdateProjectSpeedInsights$outboundSchema) - .optional(), - autoExposeSystemEnvs: z.boolean().optional(), - autoAssignCustomDomains: z.boolean().optional(), - autoAssignCustomDomainsUpdatedBy: z.string().optional(), - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - connectConfigurationId: z.nullable(z.string()).optional(), - connectBuildsEnabled: z.boolean().optional(), - createdAt: z.number().optional(), - customerSupportCodeVisibility: z.boolean().optional(), - crons: z.lazy(() => UpdateProjectCrons$outboundSchema).optional(), - dataCache: z.lazy(() => UpdateProjectDataCache$outboundSchema).optional(), - deploymentExpiration: z.nullable( - z.lazy(() => UpdateProjectDeploymentExpiration$outboundSchema), - ).optional(), - devCommand: z.nullable(z.string()).optional(), - directoryListing: z.boolean(), - installCommand: z.nullable(z.string()).optional(), - env: z.array(z.lazy(() => UpdateProjectEnv$outboundSchema)).optional(), - customEnvironments: z.array( - z.lazy(() => UpdateProjectCustomEnvironments$outboundSchema), - ).optional(), - framework: z.nullable(UpdateProjectProjectsFramework$outboundSchema) - .optional(), - gitForkProtection: z.boolean().optional(), - gitLFS: z.boolean().optional(), - id: z.string(), - ipBuckets: z.array(z.lazy(() => UpdateProjectIpBuckets$outboundSchema)) - .optional(), - latestDeployments: z.array( - z.lazy(() => UpdateProjectLatestDeployments$outboundSchema), - ).optional(), - link: z.union([ - z.lazy(() => UpdateProjectLink1$outboundSchema), - z.lazy(() => UpdateProjectLink3$outboundSchema), - z.lazy(() => UpdateProjectLink2$outboundSchema), - ]).optional(), - microfrontends: z.lazy(() => UpdateProjectMicrofrontends$outboundSchema) - .optional(), - name: z.string(), - nodeVersion: UpdateProjectProjectsNodeVersion$outboundSchema, - optionsAllowlist: z.nullable( - z.lazy(() => UpdateProjectOptionsAllowlist$outboundSchema), - ).optional(), - outputDirectory: z.nullable(z.string()).optional(), - passiveConnectConfigurationId: z.nullable(z.string()).optional(), - passwordProtection: z.nullable( - z.lazy(() => UpdateProjectPasswordProtection$outboundSchema), - ).optional(), - productionDeploymentsFastLane: z.boolean().optional(), - publicSource: z.nullable(z.boolean()).optional(), - resourceConfig: z.lazy(() => UpdateProjectResourceConfig$outboundSchema) - .optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - serverlessFunctionZeroConfigFailover: z.boolean().optional(), - skewProtectionBoundaryAt: z.number().optional(), - skewProtectionMaxAge: z.number().optional(), - skipGitConnectDuringLink: z.boolean().optional(), - sourceFilesOutsideRootDirectory: z.boolean().optional(), - enableAffectedProjectsDeployments: z.boolean().optional(), - ssoProtection: z.nullable( - z.lazy(() => UpdateProjectSsoProtection$outboundSchema), - ).optional(), - targets: z.record(z.lazy(() => UpdateProjectTargets$outboundSchema)) - .optional(), - transferCompletedAt: z.number().optional(), - transferStartedAt: z.number().optional(), - transferToAccountId: z.string().optional(), - transferredFromAccountId: z.string().optional(), - updatedAt: z.number().optional(), - live: z.boolean().optional(), - enablePreviewFeedback: z.nullable(z.boolean()).optional(), - enableProductionFeedback: z.nullable(z.boolean()).optional(), - permissions: z.lazy(() => UpdateProjectPermissions$outboundSchema).optional(), - lastRollbackTarget: z.nullable( - z.lazy(() => UpdateProjectLastRollbackTarget$outboundSchema), - ).optional(), - lastAliasRequest: z.nullable( - z.lazy(() => UpdateProjectLastAliasRequest$outboundSchema), - ).optional(), - hasFloatingAliases: z.boolean().optional(), - protectionBypass: z.record( - z.lazy(() => UpdateProjectProtectionBypass$outboundSchema), - ).optional(), - hasActiveBranches: z.boolean().optional(), - trustedIps: z.nullable( - z.union([ - z.lazy(() => UpdateProjectTrustedIps2$outboundSchema), - z.lazy(() => UpdateProjectTrustedIps1$outboundSchema), - ]), - ).optional(), - gitComments: z.lazy(() => UpdateProjectGitComments$outboundSchema).optional(), - paused: z.boolean().optional(), - concurrencyBucketName: z.string().optional(), - webAnalytics: z.lazy(() => UpdateProjectWebAnalytics$outboundSchema) - .optional(), - security: z.lazy(() => UpdateProjectSecurity$outboundSchema).optional(), - oidcTokenConfig: z.lazy(() => - UpdateProjectProjectsOidcTokenConfig$outboundSchema - ).optional(), - tier: UpdateProjectTier$outboundSchema.optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectResponseBody$ { - /** @deprecated use `UpdateProjectResponseBody$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectResponseBody$inboundSchema; - /** @deprecated use `UpdateProjectResponseBody$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectResponseBody$outboundSchema; - /** @deprecated use `UpdateProjectResponseBody$Outbound` instead. */ - export type Outbound = UpdateProjectResponseBody$Outbound; -} - -export function updateProjectResponseBodyToJSON( - updateProjectResponseBody: UpdateProjectResponseBody, -): string { - return JSON.stringify( - UpdateProjectResponseBody$outboundSchema.parse(updateProjectResponseBody), - ); -} - -export function updateProjectResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/updateprojectdatacache.ts b/src/models/operations/updateprojectdatacache.ts deleted file mode 100644 index fcb12869..00000000 --- a/src/models/operations/updateprojectdatacache.ts +++ /dev/null @@ -1,8901 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { - ACLAction, - ACLAction$inboundSchema, - ACLAction$outboundSchema, -} from "../components/aclaction.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type UpdateProjectDataCacheRequestBody = { - /** - * Enable or disable data cache for the project - default: false - */ - disabled?: boolean | undefined; -}; - -export type UpdateProjectDataCacheRequest = { - /** - * The unique project identifier - */ - projectId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: UpdateProjectDataCacheRequestBody | undefined; -}; - -export type Analytics = { - id: string; - canceledAt?: number | null | undefined; - disabledAt: number; - enabledAt: number; - paidAt?: number | undefined; - sampleRatePercent?: number | null | undefined; - spendLimitInDollars?: number | null | undefined; -}; - -export type SpeedInsights = { - id: string; - enabledAt?: number | undefined; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - hasData?: boolean | undefined; - paidAt?: number | undefined; -}; - -export type Definitions = { - /** - * The hostname that should be used. - */ - host: string; - /** - * The path that should be called for the cronjob. - */ - path: string; - /** - * The cron expression. - */ - schedule: string; -}; - -export type Crons = { - /** - * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs. - */ - enabledAt: number; - /** - * The time the feature was disabled for this project. - */ - disabledAt: number | null; - updatedAt: number; - /** - * The ID of the Deployment from which the definitions originated. - */ - deploymentId: string | null; - definitions: Array; -}; - -export type DataCache = { - userDisabled: boolean; - storageSizeBytes?: number | null | undefined; - unlimited?: boolean | undefined; -}; - -export type DeploymentExpiration = { - expirationDays?: number | undefined; - expirationDaysProduction?: number | undefined; - expirationDaysCanceled?: number | undefined; - expirationDaysErrored?: number | undefined; - deploymentsToKeep?: number | undefined; -}; - -export const UpdateProjectDataCacheTarget2 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type UpdateProjectDataCacheTarget2 = ClosedEnum< - typeof UpdateProjectDataCacheTarget2 ->; - -export const UpdateProjectDataCacheTarget1 = { - Production: "production", - Preview: "preview", - Development: "development", -} as const; -export type UpdateProjectDataCacheTarget1 = ClosedEnum< - typeof UpdateProjectDataCacheTarget1 ->; - -export type UpdateProjectDataCacheTarget = - | Array - | UpdateProjectDataCacheTarget2; - -export const UpdateProjectDataCacheProjectsResponse200Type = { - Secret: "secret", - System: "system", - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", -} as const; -export type UpdateProjectDataCacheProjectsResponse200Type = ClosedEnum< - typeof UpdateProjectDataCacheProjectsResponse200Type ->; - -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = - { - FlagsConnectionString: "flags-connection-string", - } as const; -export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = - ClosedEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type - >; - -export type Fifteen = { - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type; - projectId: string; -}; - -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type = - { - IntegrationStoreSecret: "integration-store-secret", - } as const; -export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type = - ClosedEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type - >; - -export type Fourteen = { - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type = - { - PostgresUrlNoSsl: "postgres-url-no-ssl", - } as const; -export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type = - ClosedEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type - >; - -export type Thirteen = { - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type; - storeId: string; -}; - -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type = - { - PostgresDatabase: "postgres-database", - } as const; -export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type = - ClosedEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type - >; - -export type Twelve = { - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type; - storeId: string; -}; - -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type = - { - PostgresPassword: "postgres-password", - } as const; -export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type = - ClosedEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type - >; - -export type UpdateProjectDataCacheContentHint11 = { - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type; - storeId: string; -}; - -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type = - { - PostgresHost: "postgres-host", - } as const; -export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type = - ClosedEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type - >; - -export type ContentHint10 = { - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type; - storeId: string; -}; - -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type = - { - PostgresUser: "postgres-user", - } as const; -export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type = - ClosedEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type - >; - -export type ContentHint9 = { - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type; - storeId: string; -}; - -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType = - { - PostgresPrismaUrl: "postgres-prisma-url", - } as const; -export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType = - ClosedEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType - >; - -export type ContentHint8 = { - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType; - storeId: string; -}; - -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType = - { - PostgresUrlNonPooling: "postgres-url-non-pooling", - } as const; -export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType = - ClosedEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType - >; - -export type ContentHint7 = { - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType; - storeId: string; -}; - -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType = - { - PostgresUrl: "postgres-url", - } as const; -export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType = - ClosedEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType - >; - -export type ContentHint6 = { - type: UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType; - storeId: string; -}; - -export const UpdateProjectDataCacheContentHintProjectsResponse200Type = { - BlobReadWriteToken: "blob-read-write-token", -} as const; -export type UpdateProjectDataCacheContentHintProjectsResponse200Type = - ClosedEnum; - -export type ContentHint5 = { - type: UpdateProjectDataCacheContentHintProjectsResponse200Type; - storeId: string; -}; - -export const UpdateProjectDataCacheContentHintProjectsResponseType = { - RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", -} as const; -export type UpdateProjectDataCacheContentHintProjectsResponseType = ClosedEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponseType ->; - -export type ContentHint4 = { - type: UpdateProjectDataCacheContentHintProjectsResponseType; - storeId: string; -}; - -export const UpdateProjectDataCacheContentHintProjectsType = { - RedisRestApiToken: "redis-rest-api-token", -} as const; -export type UpdateProjectDataCacheContentHintProjectsType = ClosedEnum< - typeof UpdateProjectDataCacheContentHintProjectsType ->; - -export type ContentHint3 = { - type: UpdateProjectDataCacheContentHintProjectsType; - storeId: string; -}; - -export const UpdateProjectDataCacheContentHintType = { - RedisRestApiUrl: "redis-rest-api-url", -} as const; -export type UpdateProjectDataCacheContentHintType = ClosedEnum< - typeof UpdateProjectDataCacheContentHintType ->; - -export type ContentHint2 = { - type: UpdateProjectDataCacheContentHintType; - storeId: string; -}; - -export const ContentHintType = { - RedisUrl: "redis-url", -} as const; -export type ContentHintType = ClosedEnum; - -export type ContentHint1 = { - type: ContentHintType; - storeId: string; -}; - -export type ContentHint = - | ContentHint1 - | ContentHint2 - | ContentHint3 - | ContentHint4 - | ContentHint5 - | ContentHint6 - | ContentHint7 - | ContentHint8 - | ContentHint9 - | ContentHint10 - | UpdateProjectDataCacheContentHint11 - | Twelve - | Thirteen - | Fifteen - | Fourteen; - -export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType = - { - FlagsSecret: "flags-secret", - } as const; -export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType = - ClosedEnum< - typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType - >; - -/** - * Similar to `contentHints`, but should not be exposed to the user. - */ -export type InternalContentHint = { - type: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType; - /** - * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. - */ - encryptedValue: string; -}; - -export type Env = { - target?: - | Array - | UpdateProjectDataCacheTarget2 - | undefined; - type: UpdateProjectDataCacheProjectsResponse200Type; - /** - * This is used to identiy variables that have been migrated from type secret to sensitive. - */ - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | ContentHint1 - | ContentHint2 - | ContentHint3 - | ContentHint4 - | ContentHint5 - | ContentHint6 - | ContentHint7 - | ContentHint8 - | ContentHint9 - | ContentHint10 - | UpdateProjectDataCacheContentHint11 - | Twelve - | Thirteen - | Fifteen - | Fourteen - | null - | undefined; - /** - * Similar to `contentHints`, but should not be exposed to the user. - */ - internalContentHint?: InternalContentHint | null | undefined; - /** - * Whether `value` and `vsmValue` are decrypted. - */ - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -export type CustomEnvironments = {}; - -export const UpdateProjectDataCacheFramework = { - Blitzjs: "blitzjs", - Nextjs: "nextjs", - Gatsby: "gatsby", - Remix: "remix", - Astro: "astro", - Hexo: "hexo", - Eleventy: "eleventy", - Docusaurus2: "docusaurus-2", - Docusaurus: "docusaurus", - Preact: "preact", - Solidstart1: "solidstart-1", - Solidstart: "solidstart", - Dojo: "dojo", - Ember: "ember", - Vue: "vue", - Scully: "scully", - IonicAngular: "ionic-angular", - Angular: "angular", - Polymer: "polymer", - Svelte: "svelte", - Sveltekit: "sveltekit", - Sveltekit1: "sveltekit-1", - IonicReact: "ionic-react", - CreateReactApp: "create-react-app", - Gridsome: "gridsome", - Umijs: "umijs", - Sapper: "sapper", - Saber: "saber", - Stencil: "stencil", - Nuxtjs: "nuxtjs", - Redwoodjs: "redwoodjs", - Hugo: "hugo", - Jekyll: "jekyll", - Brunch: "brunch", - Middleman: "middleman", - Zola: "zola", - Hydrogen: "hydrogen", - Vite: "vite", - Vitepress: "vitepress", - Vuepress: "vuepress", - Parcel: "parcel", - Fasthtml: "fasthtml", - SanityV3: "sanity-v3", - Sanity: "sanity", - Storybook: "storybook", -} as const; -export type UpdateProjectDataCacheFramework = ClosedEnum< - typeof UpdateProjectDataCacheFramework ->; - -export type IpBuckets = { - bucket: string; - supportUntil?: number | undefined; -}; - -export type AliasAssigned = number | boolean; - -export type UpdateProjectDataCacheProjectsAliasError = { - code: string; - message: string; -}; - -export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType = { - EndsWith: "endsWith", - StartsWith: "startsWith", - Equals: "equals", -} as const; -export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONType = - ClosedEnum< - typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONType - >; - -export type BranchMatcher = { - type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONType; - pattern: string; -}; - -export type UpdateProjectDataCacheProjectsBuilds = { - use: string; - src?: string | undefined; - dest?: string | undefined; -}; - -export const UpdateProjectDataCacheProjectsChecksConclusion = { - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", - Canceled: "canceled", -} as const; -export type UpdateProjectDataCacheProjectsChecksConclusion = ClosedEnum< - typeof UpdateProjectDataCacheProjectsChecksConclusion ->; - -export const UpdateProjectDataCacheProjectsChecksState = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type UpdateProjectDataCacheProjectsChecksState = ClosedEnum< - typeof UpdateProjectDataCacheProjectsChecksState ->; - -export type UpdateProjectDataCacheProjectsCreator = { - email: string; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; - uid: string; - username: string; -}; - -export type UpdateProjectDataCacheProjectsOidcTokenClaims = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - ownerId: string; - project: string; - projectId: string; - environment: string; -}; - -export const UpdateProjectDataCacheProjectsPlan = { - Pro: "pro", - Enterprise: "enterprise", - Hobby: "hobby", -} as const; -export type UpdateProjectDataCacheProjectsPlan = ClosedEnum< - typeof UpdateProjectDataCacheProjectsPlan ->; - -export const UpdateProjectDataCacheProjectsReadyState = { - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Queued: "QUEUED", - Ready: "READY", - Canceled: "CANCELED", -} as const; -export type UpdateProjectDataCacheProjectsReadyState = ClosedEnum< - typeof UpdateProjectDataCacheProjectsReadyState ->; - -export const UpdateProjectDataCacheProjectsReadySubstate = { - Staged: "STAGED", - Promoted: "PROMOTED", -} as const; -export type UpdateProjectDataCacheProjectsReadySubstate = ClosedEnum< - typeof UpdateProjectDataCacheProjectsReadySubstate ->; - -export const UpdateProjectDataCacheType = { - Lambdas: "LAMBDAS", -} as const; -export type UpdateProjectDataCacheType = ClosedEnum< - typeof UpdateProjectDataCacheType ->; - -export type LatestDeployments = { - id: string; - alias?: Array | undefined; - aliasAssigned?: number | boolean | null | undefined; - aliasError?: UpdateProjectDataCacheProjectsAliasError | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - branchMatcher?: BranchMatcher | undefined; - buildingAt?: number | undefined; - builds?: Array | undefined; - checksConclusion?: UpdateProjectDataCacheProjectsChecksConclusion | undefined; - checksState?: UpdateProjectDataCacheProjectsChecksState | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdAt: number; - createdIn: string; - creator: UpdateProjectDataCacheProjectsCreator | null; - deletedAt?: number | undefined; - deploymentHostname: string; - forced?: boolean | undefined; - name: string; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - oidcTokenClaims?: UpdateProjectDataCacheProjectsOidcTokenClaims | undefined; - plan: UpdateProjectDataCacheProjectsPlan; - /** - * Whether or not preview comments are enabled for the deployment - */ - previewCommentsEnabled?: boolean | undefined; - private: boolean; - readyAt?: number | undefined; - readyState: UpdateProjectDataCacheProjectsReadyState; - readySubstate?: UpdateProjectDataCacheProjectsReadySubstate | undefined; - requestedAt?: number | undefined; - target?: string | null | undefined; - teamId?: string | null | undefined; - type: UpdateProjectDataCacheType; - url: string; - userId: string; - withCache?: boolean | undefined; -}; - -export const UpdateProjectDataCacheLinkProjectsType = { - Bitbucket: "bitbucket", -} as const; -export type UpdateProjectDataCacheLinkProjectsType = ClosedEnum< - typeof UpdateProjectDataCacheLinkProjectsType ->; - -export type UpdateProjectDataCacheLinkDeployHooks = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -export type Link3 = { - name?: string | undefined; - slug?: string | undefined; - owner?: string | undefined; - type?: UpdateProjectDataCacheLinkProjectsType | undefined; - uuid?: string | undefined; - workspaceUuid?: string | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -export const UpdateProjectDataCacheLinkType = { - Gitlab: "gitlab", -} as const; -export type UpdateProjectDataCacheLinkType = ClosedEnum< - typeof UpdateProjectDataCacheLinkType ->; - -export type LinkDeployHooks = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -export type Link2 = { - projectId?: string | undefined; - projectName?: string | undefined; - projectNameWithNamespace?: string | undefined; - projectNamespace?: string | undefined; - /** - * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. This is the id of the top level group that a namespace belongs to. Gitlab supports group nesting (up to 20 levels). - */ - projectOwnerId?: number | undefined; - projectUrl?: string | undefined; - type?: UpdateProjectDataCacheLinkType | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -export const LinkType = { - Github: "github", -} as const; -export type LinkType = ClosedEnum; - -export type DeployHooks = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -export type Link1 = { - org?: string | undefined; - /** - * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. - */ - repoOwnerId?: number | undefined; - repo?: string | undefined; - repoId?: number | undefined; - type?: LinkType | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -export type Link = Link1 | Link3 | Link2; - -export type Microfrontends = { - /** - * Timestamp when the microfrontends settings were last updated. - */ - updatedAt: number; - /** - * The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. - */ - groupIds: Array; - /** - * Whether microfrontends are enabled for this project. - */ - enabled: boolean; - /** - * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. - */ - isDefaultApp?: boolean | undefined; - /** - * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. - */ - defaultRoute?: string | undefined; -}; - -export const UpdateProjectDataCacheNodeVersion = { - TwentyTwoX: "22.x", - TwentyX: "20.x", - EighteenX: "18.x", - SixteenX: "16.x", - FourteenX: "14.x", - TwelveX: "12.x", - TenX: "10.x", - Eight10X: "8.10.x", -} as const; -export type UpdateProjectDataCacheNodeVersion = ClosedEnum< - typeof UpdateProjectDataCacheNodeVersion ->; - -export type UpdateProjectDataCachePaths = { - value: string; -}; - -export type UpdateProjectDataCacheOptionsAllowlist = { - paths: Array; -}; - -export type UpdateProjectDataCachePasswordProtection = {}; - -export const FunctionDefaultMemoryType = { - StandardLegacy: "standard_legacy", - Standard: "standard", - Performance: "performance", -} as const; -export type FunctionDefaultMemoryType = ClosedEnum< - typeof FunctionDefaultMemoryType ->; - -export type ResourceConfig = { - functionDefaultTimeout?: number | undefined; - functionDefaultMemoryType?: FunctionDefaultMemoryType | undefined; - allowServerlessConcurrency?: boolean | undefined; - elasticConcurrencyEnabled?: boolean | undefined; -}; - -export const UpdateProjectDataCacheDeploymentType = { - Preview: "preview", - All: "all", - ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", -} as const; -export type UpdateProjectDataCacheDeploymentType = ClosedEnum< - typeof UpdateProjectDataCacheDeploymentType ->; - -export type UpdateProjectDataCacheSsoProtection = { - deploymentType: UpdateProjectDataCacheDeploymentType; -}; - -export type UpdateProjectDataCacheAliasAssigned = number | boolean; - -export type UpdateProjectDataCacheAliasError = { - code: string; - message: string; -}; - -export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType = - { - EndsWith: "endsWith", - StartsWith: "startsWith", - Equals: "equals", - } as const; -export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType = - ClosedEnum< - typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType - >; - -export type UpdateProjectDataCacheBranchMatcher = { - type: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType; - pattern: string; -}; - -export type UpdateProjectDataCacheBuilds = { - use: string; - src?: string | undefined; - dest?: string | undefined; -}; - -export const UpdateProjectDataCacheChecksConclusion = { - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", - Canceled: "canceled", -} as const; -export type UpdateProjectDataCacheChecksConclusion = ClosedEnum< - typeof UpdateProjectDataCacheChecksConclusion ->; - -export const UpdateProjectDataCacheChecksState = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type UpdateProjectDataCacheChecksState = ClosedEnum< - typeof UpdateProjectDataCacheChecksState ->; - -export type UpdateProjectDataCacheCreator = { - email: string; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; - uid: string; - username: string; -}; - -export type UpdateProjectDataCacheOidcTokenClaims = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - ownerId: string; - project: string; - projectId: string; - environment: string; -}; - -export const UpdateProjectDataCachePlan = { - Pro: "pro", - Enterprise: "enterprise", - Hobby: "hobby", -} as const; -export type UpdateProjectDataCachePlan = ClosedEnum< - typeof UpdateProjectDataCachePlan ->; - -export const UpdateProjectDataCacheReadyState = { - Building: "BUILDING", - Error: "ERROR", - Initializing: "INITIALIZING", - Queued: "QUEUED", - Ready: "READY", - Canceled: "CANCELED", -} as const; -export type UpdateProjectDataCacheReadyState = ClosedEnum< - typeof UpdateProjectDataCacheReadyState ->; - -export const UpdateProjectDataCacheReadySubstate = { - Staged: "STAGED", - Promoted: "PROMOTED", -} as const; -export type UpdateProjectDataCacheReadySubstate = ClosedEnum< - typeof UpdateProjectDataCacheReadySubstate ->; - -export const UpdateProjectDataCacheProjectsType = { - Lambdas: "LAMBDAS", -} as const; -export type UpdateProjectDataCacheProjectsType = ClosedEnum< - typeof UpdateProjectDataCacheProjectsType ->; - -export type Targets = { - id: string; - alias?: Array | undefined; - aliasAssigned?: number | boolean | null | undefined; - aliasError?: UpdateProjectDataCacheAliasError | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - branchMatcher?: UpdateProjectDataCacheBranchMatcher | undefined; - buildingAt?: number | undefined; - builds?: Array | undefined; - checksConclusion?: UpdateProjectDataCacheChecksConclusion | undefined; - checksState?: UpdateProjectDataCacheChecksState | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdAt: number; - createdIn: string; - creator: UpdateProjectDataCacheCreator | null; - deletedAt?: number | undefined; - deploymentHostname: string; - forced?: boolean | undefined; - name: string; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - oidcTokenClaims?: UpdateProjectDataCacheOidcTokenClaims | undefined; - plan: UpdateProjectDataCachePlan; - /** - * Whether or not preview comments are enabled for the deployment - */ - previewCommentsEnabled?: boolean | undefined; - private: boolean; - readyAt?: number | undefined; - readyState: UpdateProjectDataCacheReadyState; - readySubstate?: UpdateProjectDataCacheReadySubstate | undefined; - requestedAt?: number | undefined; - target?: string | null | undefined; - teamId?: string | null | undefined; - type: UpdateProjectDataCacheProjectsType; - url: string; - userId: string; - withCache?: boolean | undefined; -}; - -export type Permissions = { - accessGroup?: Array | undefined; - aliasGlobal?: Array | undefined; - analyticsSampling?: Array | undefined; - analyticsUsage?: Array | undefined; - auditLog?: Array | undefined; - billingAddress?: Array | undefined; - billingInformation?: Array | undefined; - billingInvoice?: Array | undefined; - billingInvoiceEmailRecipient?: Array | undefined; - billingInvoiceLanguage?: Array | undefined; - billingPlan?: Array | undefined; - billingPurchaseOrder?: Array | undefined; - billingTaxId?: Array | undefined; - blob?: Array | undefined; - budget?: Array | undefined; - cacheArtifact?: Array | undefined; - cacheArtifactUsageEvent?: Array | undefined; - codeChecks?: Array | undefined; - concurrentBuilds?: Array | undefined; - connect?: Array | undefined; - connectConfiguration?: Array | undefined; - domain?: Array | undefined; - domainAcceptDelegation?: Array | undefined; - domainAuthCodes?: Array | undefined; - domainCertificate?: Array | undefined; - domainCheckConfig?: Array | undefined; - domainMove?: Array | undefined; - domainPurchase?: Array | undefined; - domainRecord?: Array | undefined; - domainTransferIn?: Array | undefined; - event?: Array | undefined; - ownEvent?: Array | undefined; - sensitiveEnvironmentVariablePolicy?: Array | undefined; - fileUpload?: Array | undefined; - gitRepository?: Array | undefined; - ipBlocking?: Array | undefined; - integration?: Array | undefined; - integrationAccount?: Array | undefined; - integrationConfiguration?: Array | undefined; - integrationConfigurationTransfer?: Array | undefined; - integrationConfigurationProjects?: Array | undefined; - integrationVercelConfigurationOverride?: Array | undefined; - integrationConfigurationRole?: Array | undefined; - integrationResource?: Array | undefined; - integrationEvent?: Array | undefined; - integrationResourceSecrets?: Array | undefined; - integrationDeploymentAction?: Array | undefined; - marketplaceInstallationMember?: Array | undefined; - marketplaceBillingData?: Array | undefined; - marketplaceInvoice?: Array | undefined; - jobGlobal?: Array | undefined; - logDrain?: Array | undefined; - monitoring?: Array | undefined; - monitoringSettings?: Array | undefined; - monitoringQuery?: Array | undefined; - monitoringChart?: Array | undefined; - monitoringAlert?: Array | undefined; - notificationDeploymentFailed?: Array | undefined; - notificationDomainConfiguration?: Array | undefined; - notificationDomainExpire?: Array | undefined; - notificationDomainMoved?: Array | undefined; - notificationDomainPurchase?: Array | undefined; - notificationDomainRenewal?: Array | undefined; - notificationDomainTransfer?: Array | undefined; - notificationDomainUnverified?: Array | undefined; - notificationMonitoringAlert?: Array | undefined; - notificationPaymentFailed?: Array | undefined; - notificationUsageAlert?: Array | undefined; - notificationCustomerBudget?: Array | undefined; - notificationStatementOfReasons?: Array | undefined; - oauth2Connection?: Array | undefined; - observabilityConfiguration?: Array | undefined; - openTelemetryEndpoint?: Array | undefined; - paymentMethod?: Array | undefined; - permissions?: Array | undefined; - postgres?: Array | undefined; - previewDeploymentSuffix?: Array | undefined; - proTrialOnboarding?: Array | undefined; - sharedEnvVars?: Array | undefined; - sharedEnvVarsProduction?: Array | undefined; - space?: Array | undefined; - spaceRun?: Array | undefined; - passwordProtectionInvoiceItem?: Array | undefined; - rateLimit?: Array | undefined; - redis?: Array | undefined; - repository?: Array | undefined; - remoteCaching?: Array | undefined; - samlConfig?: Array | undefined; - secret?: Array | undefined; - redisStoreTokenSet?: Array | undefined; - blobStoreTokenSet?: Array | undefined; - postgresStoreTokenSet?: Array | undefined; - integrationStoreTokenSet?: Array | undefined; - integrationResourceReplCommand?: Array | undefined; - storeTransfer?: Array | undefined; - supportCase?: Array | undefined; - supportCaseComment?: Array | undefined; - dataCacheBillingSettings?: Array | undefined; - team?: Array | undefined; - teamAccessRequest?: Array | undefined; - teamFellowMembership?: Array | undefined; - teamGitExclusivity?: Array | undefined; - teamInvite?: Array | undefined; - teamInviteCode?: Array | undefined; - teamJoin?: Array | undefined; - teamMicrofrontends?: Array | undefined; - teamOwnMembership?: Array | undefined; - teamOwnMembershipDisconnectSAML?: Array | undefined; - token?: Array | undefined; - usage?: Array | undefined; - usageCycle?: Array | undefined; - user?: Array | undefined; - userConnection?: Array | undefined; - vpcPeeringConnection?: Array | undefined; - webAnalyticsPlan?: Array | undefined; - webAuthn?: Array | undefined; - edgeConfig?: Array | undefined; - edgeConfigItem?: Array | undefined; - edgeConfigSchema?: Array | undefined; - edgeConfigToken?: Array | undefined; - webhook?: Array | undefined; - webhookEvent?: Array | undefined; - endpointVerification?: Array | undefined; - projectTransferIn?: Array | undefined; - oauth2Application?: Array | undefined; - aliasProject?: Array | undefined; - aliasProtectionBypass?: Array | undefined; - productionAliasProtectionBypass?: Array | undefined; - connectConfigurationLink?: Array | undefined; - dataCacheNamespace?: Array | undefined; - deployment?: Array | undefined; - deploymentCheck?: Array | undefined; - deploymentCheckPreview?: Array | undefined; - deploymentCheckReRunFromProductionBranch?: Array | undefined; - deploymentProductionGit?: Array | undefined; - deploymentV0?: Array | undefined; - deploymentPreview?: Array | undefined; - deploymentPrivate?: Array | undefined; - deploymentPromote?: Array | undefined; - deploymentRollback?: Array | undefined; - environments?: Array | undefined; - logs?: Array | undefined; - logsPreset?: Array | undefined; - passwordProtection?: Array | undefined; - optionsAllowlist?: Array | undefined; - job?: Array | undefined; - observabilityData?: Array | undefined; - project?: Array | undefined; - projectFromV0?: Array | undefined; - projectAccessGroup?: Array | undefined; - projectAnalyticsSampling?: Array | undefined; - projectDeploymentHook?: Array | undefined; - projectDomain?: Array | undefined; - projectDomainMove?: Array | undefined; - projectDomainCheckConfig?: Array | undefined; - projectEnvVars?: Array | undefined; - projectEnvVarsProduction?: Array | undefined; - projectEnvVarsUnownedByIntegration?: Array | undefined; - projectFlags?: Array | undefined; - projectId?: Array | undefined; - projectIntegrationConfiguration?: Array | undefined; - projectLink?: Array | undefined; - projectMember?: Array | undefined; - projectMonitoring?: Array | undefined; - projectPermissions?: Array | undefined; - projectProductionBranch?: Array | undefined; - projectTransfer?: Array | undefined; - projectTransferOut?: Array | undefined; - projectProtectionBypass?: Array | undefined; - projectUsage?: Array | undefined; - projectAnalyticsUsage?: Array | undefined; - projectSupportCase?: Array | undefined; - projectSupportCaseComment?: Array | undefined; - projectDeploymentExpiration?: Array | undefined; - projectTier?: Array | undefined; - seawallConfig?: Array | undefined; - skewProtection?: Array | undefined; - analytics?: Array | undefined; - trustedIps?: Array | undefined; - webAnalytics?: Array | undefined; - sharedEnvVarConnection?: Array | undefined; - sonar?: Array | undefined; -}; - -export type LastRollbackTarget = {}; - -export const JobStatus = { - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", - Pending: "pending", - InProgress: "in-progress", -} as const; -export type JobStatus = ClosedEnum; - -export const UpdateProjectDataCacheProjectsResponseType = { - Promote: "promote", - Rollback: "rollback", -} as const; -export type UpdateProjectDataCacheProjectsResponseType = ClosedEnum< - typeof UpdateProjectDataCacheProjectsResponseType ->; - -export type LastAliasRequest = { - fromDeploymentId: string; - toDeploymentId: string; - jobStatus: JobStatus; - requestedAt: number; - type: UpdateProjectDataCacheProjectsResponseType; -}; - -export const Scope = { - AutomationBypass: "automation-bypass", -} as const; -export type Scope = ClosedEnum; - -export type ProtectionBypass = { - createdAt: number; - createdBy: string; - scope: Scope; -}; - -export const UpdateProjectDataCacheTrustedIpsDeploymentType = { - Production: "production", - Preview: "preview", - All: "all", - ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", -} as const; -export type UpdateProjectDataCacheTrustedIpsDeploymentType = ClosedEnum< - typeof UpdateProjectDataCacheTrustedIpsDeploymentType ->; - -export type TrustedIps2 = { - deploymentType: UpdateProjectDataCacheTrustedIpsDeploymentType; -}; - -export const TrustedIpsDeploymentType = { - Production: "production", - Preview: "preview", - All: "all", - ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", -} as const; -export type TrustedIpsDeploymentType = ClosedEnum< - typeof TrustedIpsDeploymentType ->; - -export type UpdateProjectDataCacheTrustedIpsAddresses = { - value: string; - note?: string | undefined; -}; - -export const UpdateProjectDataCacheTrustedIpsProtectionMode = { - Additional: "additional", - Exclusive: "exclusive", -} as const; -export type UpdateProjectDataCacheTrustedIpsProtectionMode = ClosedEnum< - typeof UpdateProjectDataCacheTrustedIpsProtectionMode ->; - -export type TrustedIps1 = { - deploymentType: TrustedIpsDeploymentType; - addresses: Array; - protectionMode: UpdateProjectDataCacheTrustedIpsProtectionMode; -}; - -export type UpdateProjectDataCacheTrustedIps = TrustedIps2 | TrustedIps1; - -export type GitComments = { - /** - * Whether the Vercel bot should comment on PRs - */ - onPullRequest: boolean; - /** - * Whether the Vercel bot should comment on commits - */ - onCommit: boolean; -}; - -export type WebAnalytics = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; -}; - -export type Src2 = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -export type Src = Src2 | string; - -export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType = - { - Path: "path", - Host: "host", - Method: "method", - Header: "header", - Cookie: "cookie", - Query: "query", - IpAddress: "ip_address", - Protocol: "protocol", - Scheme: "scheme", - Environment: "environment", - Region: "region", - } as const; -export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType = - ClosedEnum< - typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType - >; - -export type UpdateProjectDataCacheValueProjects2 = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -export type UpdateProjectDataCacheProjectsValue = - | UpdateProjectDataCacheValueProjects2 - | string; - -export type Has = { - type: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType; - key?: string | undefined; - value?: UpdateProjectDataCacheValueProjects2 | string | undefined; -}; - -export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = - { - Path: "path", - Host: "host", - Method: "method", - Header: "header", - Cookie: "cookie", - Query: "query", - IpAddress: "ip_address", - Protocol: "protocol", - Scheme: "scheme", - Environment: "environment", - Region: "region", - } as const; -export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = - ClosedEnum< - typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType - >; - -export type UpdateProjectDataCacheValue2 = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -export type UpdateProjectDataCacheValue = UpdateProjectDataCacheValue2 | string; - -export type Missing = { - type: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType; - key?: string | undefined; - value?: UpdateProjectDataCacheValue2 | string | undefined; -}; - -export const Handle = { - Init: "init", - Finalize: "finalize", -} as const; -export type Handle = ClosedEnum; - -export const UpdateProjectDataCacheAction = { - Deny: "deny", - Challenge: "challenge", - Log: "log", - Bypass: "bypass", - RateLimit: "rate_limit", - Redirect: "redirect", -} as const; -export type UpdateProjectDataCacheAction = ClosedEnum< - typeof UpdateProjectDataCacheAction ->; - -export const UpdateProjectDataCacheAlgo = { - FixedWindow: "fixed_window", - TokenBucket: "token_bucket", -} as const; -export type UpdateProjectDataCacheAlgo = ClosedEnum< - typeof UpdateProjectDataCacheAlgo ->; - -export type Erl = { - algo: UpdateProjectDataCacheAlgo; - window: number; - limit: number; - keys: Array; -}; - -export type UpdateProjectDataCacheMitigate = { - action: UpdateProjectDataCacheAction; - ruleId: string; - ttl?: number | undefined; - erl?: Erl | undefined; -}; - -export type FirewallRoutes = { - src?: Src2 | string | undefined; - has?: Array | undefined; - missing?: Array | undefined; - dest?: string | undefined; - status?: number | undefined; - handle?: Handle | undefined; - mitigate?: UpdateProjectDataCacheMitigate | undefined; -}; - -export type Security = { - attackModeEnabled?: boolean | undefined; - attackModeUpdatedAt?: number | undefined; - firewallEnabled?: boolean | undefined; - firewallUpdatedAt?: number | undefined; - attackModeActiveUntil?: number | null | undefined; - firewallConfigVersion?: number | undefined; - firewallRoutes?: Array | undefined; - firewallSeawallEnabled?: boolean | undefined; - ja3Enabled?: boolean | undefined; - ja4Enabled?: boolean | undefined; - firewallBypassIps?: Array | undefined; -}; - -/** - * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` - */ -export const UpdateProjectDataCacheIssuerMode = { - Team: "team", - Global: "global", -} as const; -/** - * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` - */ -export type UpdateProjectDataCacheIssuerMode = ClosedEnum< - typeof UpdateProjectDataCacheIssuerMode ->; - -export type UpdateProjectDataCacheOidcTokenConfig = { - enabled: boolean; - /** - * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` - */ - issuerMode?: UpdateProjectDataCacheIssuerMode | undefined; -}; - -export const Tier = { - Standard: "standard", - Advanced: "advanced", - Critical: "critical", -} as const; -export type Tier = ClosedEnum; - -export type UpdateProjectDataCacheResponseBody = { - accountId: string; - analytics?: Analytics | undefined; - speedInsights?: SpeedInsights | undefined; - autoExposeSystemEnvs?: boolean | undefined; - autoAssignCustomDomains?: boolean | undefined; - autoAssignCustomDomainsUpdatedBy?: string | undefined; - buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - connectConfigurationId?: string | null | undefined; - connectBuildsEnabled?: boolean | undefined; - createdAt?: number | undefined; - customerSupportCodeVisibility?: boolean | undefined; - crons?: Crons | undefined; - dataCache?: DataCache | undefined; - deploymentExpiration?: DeploymentExpiration | null | undefined; - devCommand?: string | null | undefined; - directoryListing: boolean; - installCommand?: string | null | undefined; - env?: Array | undefined; - customEnvironments?: Array | undefined; - framework?: UpdateProjectDataCacheFramework | null | undefined; - gitForkProtection?: boolean | undefined; - gitLFS?: boolean | undefined; - id: string; - ipBuckets?: Array | undefined; - latestDeployments?: Array | undefined; - link?: Link1 | Link3 | Link2 | undefined; - microfrontends?: Microfrontends | undefined; - name: string; - nodeVersion: UpdateProjectDataCacheNodeVersion; - optionsAllowlist?: UpdateProjectDataCacheOptionsAllowlist | null | undefined; - outputDirectory?: string | null | undefined; - passiveConnectConfigurationId?: string | null | undefined; - passwordProtection?: - | UpdateProjectDataCachePasswordProtection - | null - | undefined; - productionDeploymentsFastLane?: boolean | undefined; - publicSource?: boolean | null | undefined; - resourceConfig?: ResourceConfig | undefined; - rootDirectory?: string | null | undefined; - serverlessFunctionRegion?: string | null | undefined; - serverlessFunctionZeroConfigFailover?: boolean | undefined; - skewProtectionBoundaryAt?: number | undefined; - skewProtectionMaxAge?: number | undefined; - skipGitConnectDuringLink?: boolean | undefined; - sourceFilesOutsideRootDirectory?: boolean | undefined; - enableAffectedProjectsDeployments?: boolean | undefined; - ssoProtection?: UpdateProjectDataCacheSsoProtection | null | undefined; - targets?: { [k: string]: Targets } | undefined; - transferCompletedAt?: number | undefined; - transferStartedAt?: number | undefined; - transferToAccountId?: string | undefined; - transferredFromAccountId?: string | undefined; - updatedAt?: number | undefined; - live?: boolean | undefined; - enablePreviewFeedback?: boolean | null | undefined; - enableProductionFeedback?: boolean | null | undefined; - permissions?: Permissions | undefined; - lastRollbackTarget?: LastRollbackTarget | null | undefined; - lastAliasRequest?: LastAliasRequest | null | undefined; - hasFloatingAliases?: boolean | undefined; - protectionBypass?: { [k: string]: ProtectionBypass } | undefined; - hasActiveBranches?: boolean | undefined; - trustedIps?: TrustedIps2 | TrustedIps1 | null | undefined; - gitComments?: GitComments | undefined; - paused?: boolean | undefined; - concurrencyBucketName?: string | undefined; - webAnalytics?: WebAnalytics | undefined; - security?: Security | undefined; - oidcTokenConfig?: UpdateProjectDataCacheOidcTokenConfig | undefined; - tier?: Tier | undefined; -}; - -/** @internal */ -export const UpdateProjectDataCacheRequestBody$inboundSchema: z.ZodType< - UpdateProjectDataCacheRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - disabled: z.boolean().optional(), -}); - -/** @internal */ -export type UpdateProjectDataCacheRequestBody$Outbound = { - disabled?: boolean | undefined; -}; - -/** @internal */ -export const UpdateProjectDataCacheRequestBody$outboundSchema: z.ZodType< - UpdateProjectDataCacheRequestBody$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheRequestBody -> = z.object({ - disabled: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheRequestBody$ { - /** @deprecated use `UpdateProjectDataCacheRequestBody$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheRequestBody$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheRequestBody$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheRequestBody$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheRequestBody$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheRequestBody$Outbound; -} - -export function updateProjectDataCacheRequestBodyToJSON( - updateProjectDataCacheRequestBody: UpdateProjectDataCacheRequestBody, -): string { - return JSON.stringify( - UpdateProjectDataCacheRequestBody$outboundSchema.parse( - updateProjectDataCacheRequestBody, - ), - ); -} - -export function updateProjectDataCacheRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDataCacheRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheRequestBody' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheRequest$inboundSchema: z.ZodType< - UpdateProjectDataCacheRequest, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => UpdateProjectDataCacheRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type UpdateProjectDataCacheRequest$Outbound = { - projectId: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: UpdateProjectDataCacheRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const UpdateProjectDataCacheRequest$outboundSchema: z.ZodType< - UpdateProjectDataCacheRequest$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateProjectDataCacheRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheRequest$ { - /** @deprecated use `UpdateProjectDataCacheRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheRequest$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheRequest$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheRequest$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheRequest$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheRequest$Outbound; -} - -export function updateProjectDataCacheRequestToJSON( - updateProjectDataCacheRequest: UpdateProjectDataCacheRequest, -): string { - return JSON.stringify( - UpdateProjectDataCacheRequest$outboundSchema.parse( - updateProjectDataCacheRequest, - ), - ); -} - -export function updateProjectDataCacheRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDataCacheRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheRequest' from JSON`, - ); -} - -/** @internal */ -export const Analytics$inboundSchema: z.ZodType< - Analytics, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - canceledAt: z.nullable(z.number()).optional(), - disabledAt: z.number(), - enabledAt: z.number(), - paidAt: z.number().optional(), - sampleRatePercent: z.nullable(z.number()).optional(), - spendLimitInDollars: z.nullable(z.number()).optional(), -}); - -/** @internal */ -export type Analytics$Outbound = { - id: string; - canceledAt?: number | null | undefined; - disabledAt: number; - enabledAt: number; - paidAt?: number | undefined; - sampleRatePercent?: number | null | undefined; - spendLimitInDollars?: number | null | undefined; -}; - -/** @internal */ -export const Analytics$outboundSchema: z.ZodType< - Analytics$Outbound, - z.ZodTypeDef, - Analytics -> = z.object({ - id: z.string(), - canceledAt: z.nullable(z.number()).optional(), - disabledAt: z.number(), - enabledAt: z.number(), - paidAt: z.number().optional(), - sampleRatePercent: z.nullable(z.number()).optional(), - spendLimitInDollars: z.nullable(z.number()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Analytics$ { - /** @deprecated use `Analytics$inboundSchema` instead. */ - export const inboundSchema = Analytics$inboundSchema; - /** @deprecated use `Analytics$outboundSchema` instead. */ - export const outboundSchema = Analytics$outboundSchema; - /** @deprecated use `Analytics$Outbound` instead. */ - export type Outbound = Analytics$Outbound; -} - -export function analyticsToJSON(analytics: Analytics): string { - return JSON.stringify(Analytics$outboundSchema.parse(analytics)); -} - -export function analyticsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Analytics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Analytics' from JSON`, - ); -} - -/** @internal */ -export const SpeedInsights$inboundSchema: z.ZodType< - SpeedInsights, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - enabledAt: z.number().optional(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - hasData: z.boolean().optional(), - paidAt: z.number().optional(), -}); - -/** @internal */ -export type SpeedInsights$Outbound = { - id: string; - enabledAt?: number | undefined; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - hasData?: boolean | undefined; - paidAt?: number | undefined; -}; - -/** @internal */ -export const SpeedInsights$outboundSchema: z.ZodType< - SpeedInsights$Outbound, - z.ZodTypeDef, - SpeedInsights -> = z.object({ - id: z.string(), - enabledAt: z.number().optional(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - hasData: z.boolean().optional(), - paidAt: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SpeedInsights$ { - /** @deprecated use `SpeedInsights$inboundSchema` instead. */ - export const inboundSchema = SpeedInsights$inboundSchema; - /** @deprecated use `SpeedInsights$outboundSchema` instead. */ - export const outboundSchema = SpeedInsights$outboundSchema; - /** @deprecated use `SpeedInsights$Outbound` instead. */ - export type Outbound = SpeedInsights$Outbound; -} - -export function speedInsightsToJSON(speedInsights: SpeedInsights): string { - return JSON.stringify(SpeedInsights$outboundSchema.parse(speedInsights)); -} - -export function speedInsightsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SpeedInsights$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SpeedInsights' from JSON`, - ); -} - -/** @internal */ -export const Definitions$inboundSchema: z.ZodType< - Definitions, - z.ZodTypeDef, - unknown -> = z.object({ - host: z.string(), - path: z.string(), - schedule: z.string(), -}); - -/** @internal */ -export type Definitions$Outbound = { - host: string; - path: string; - schedule: string; -}; - -/** @internal */ -export const Definitions$outboundSchema: z.ZodType< - Definitions$Outbound, - z.ZodTypeDef, - Definitions -> = z.object({ - host: z.string(), - path: z.string(), - schedule: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Definitions$ { - /** @deprecated use `Definitions$inboundSchema` instead. */ - export const inboundSchema = Definitions$inboundSchema; - /** @deprecated use `Definitions$outboundSchema` instead. */ - export const outboundSchema = Definitions$outboundSchema; - /** @deprecated use `Definitions$Outbound` instead. */ - export type Outbound = Definitions$Outbound; -} - -export function definitionsToJSON(definitions: Definitions): string { - return JSON.stringify(Definitions$outboundSchema.parse(definitions)); -} - -export function definitionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Definitions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Definitions' from JSON`, - ); -} - -/** @internal */ -export const Crons$inboundSchema: z.ZodType = z - .object({ - enabledAt: z.number(), - disabledAt: z.nullable(z.number()), - updatedAt: z.number(), - deploymentId: z.nullable(z.string()), - definitions: z.array(z.lazy(() => Definitions$inboundSchema)), - }); - -/** @internal */ -export type Crons$Outbound = { - enabledAt: number; - disabledAt: number | null; - updatedAt: number; - deploymentId: string | null; - definitions: Array; -}; - -/** @internal */ -export const Crons$outboundSchema: z.ZodType< - Crons$Outbound, - z.ZodTypeDef, - Crons -> = z.object({ - enabledAt: z.number(), - disabledAt: z.nullable(z.number()), - updatedAt: z.number(), - deploymentId: z.nullable(z.string()), - definitions: z.array(z.lazy(() => Definitions$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Crons$ { - /** @deprecated use `Crons$inboundSchema` instead. */ - export const inboundSchema = Crons$inboundSchema; - /** @deprecated use `Crons$outboundSchema` instead. */ - export const outboundSchema = Crons$outboundSchema; - /** @deprecated use `Crons$Outbound` instead. */ - export type Outbound = Crons$Outbound; -} - -export function cronsToJSON(crons: Crons): string { - return JSON.stringify(Crons$outboundSchema.parse(crons)); -} - -export function cronsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Crons$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Crons' from JSON`, - ); -} - -/** @internal */ -export const DataCache$inboundSchema: z.ZodType< - DataCache, - z.ZodTypeDef, - unknown -> = z.object({ - userDisabled: z.boolean(), - storageSizeBytes: z.nullable(z.number()).optional(), - unlimited: z.boolean().optional(), -}); - -/** @internal */ -export type DataCache$Outbound = { - userDisabled: boolean; - storageSizeBytes?: number | null | undefined; - unlimited?: boolean | undefined; -}; - -/** @internal */ -export const DataCache$outboundSchema: z.ZodType< - DataCache$Outbound, - z.ZodTypeDef, - DataCache -> = z.object({ - userDisabled: z.boolean(), - storageSizeBytes: z.nullable(z.number()).optional(), - unlimited: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DataCache$ { - /** @deprecated use `DataCache$inboundSchema` instead. */ - export const inboundSchema = DataCache$inboundSchema; - /** @deprecated use `DataCache$outboundSchema` instead. */ - export const outboundSchema = DataCache$outboundSchema; - /** @deprecated use `DataCache$Outbound` instead. */ - export type Outbound = DataCache$Outbound; -} - -export function dataCacheToJSON(dataCache: DataCache): string { - return JSON.stringify(DataCache$outboundSchema.parse(dataCache)); -} - -export function dataCacheFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DataCache$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DataCache' from JSON`, - ); -} - -/** @internal */ -export const DeploymentExpiration$inboundSchema: z.ZodType< - DeploymentExpiration, - z.ZodTypeDef, - unknown -> = z.object({ - expirationDays: z.number().optional(), - expirationDaysProduction: z.number().optional(), - expirationDaysCanceled: z.number().optional(), - expirationDaysErrored: z.number().optional(), - deploymentsToKeep: z.number().optional(), -}); - -/** @internal */ -export type DeploymentExpiration$Outbound = { - expirationDays?: number | undefined; - expirationDaysProduction?: number | undefined; - expirationDaysCanceled?: number | undefined; - expirationDaysErrored?: number | undefined; - deploymentsToKeep?: number | undefined; -}; - -/** @internal */ -export const DeploymentExpiration$outboundSchema: z.ZodType< - DeploymentExpiration$Outbound, - z.ZodTypeDef, - DeploymentExpiration -> = z.object({ - expirationDays: z.number().optional(), - expirationDaysProduction: z.number().optional(), - expirationDaysCanceled: z.number().optional(), - expirationDaysErrored: z.number().optional(), - deploymentsToKeep: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeploymentExpiration$ { - /** @deprecated use `DeploymentExpiration$inboundSchema` instead. */ - export const inboundSchema = DeploymentExpiration$inboundSchema; - /** @deprecated use `DeploymentExpiration$outboundSchema` instead. */ - export const outboundSchema = DeploymentExpiration$outboundSchema; - /** @deprecated use `DeploymentExpiration$Outbound` instead. */ - export type Outbound = DeploymentExpiration$Outbound; -} - -export function deploymentExpirationToJSON( - deploymentExpiration: DeploymentExpiration, -): string { - return JSON.stringify( - DeploymentExpiration$outboundSchema.parse(deploymentExpiration), - ); -} - -export function deploymentExpirationFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeploymentExpiration$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeploymentExpiration' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheTarget2$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheTarget2 -> = z.nativeEnum(UpdateProjectDataCacheTarget2); - -/** @internal */ -export const UpdateProjectDataCacheTarget2$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheTarget2 -> = UpdateProjectDataCacheTarget2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheTarget2$ { - /** @deprecated use `UpdateProjectDataCacheTarget2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheTarget2$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheTarget2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheTarget2$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheTarget1$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheTarget1 -> = z.nativeEnum(UpdateProjectDataCacheTarget1); - -/** @internal */ -export const UpdateProjectDataCacheTarget1$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheTarget1 -> = UpdateProjectDataCacheTarget1$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheTarget1$ { - /** @deprecated use `UpdateProjectDataCacheTarget1$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheTarget1$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheTarget1$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheTarget1$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheTarget$inboundSchema: z.ZodType< - UpdateProjectDataCacheTarget, - z.ZodTypeDef, - unknown -> = z.union([ - z.array(UpdateProjectDataCacheTarget1$inboundSchema), - UpdateProjectDataCacheTarget2$inboundSchema, -]); - -/** @internal */ -export type UpdateProjectDataCacheTarget$Outbound = Array | string; - -/** @internal */ -export const UpdateProjectDataCacheTarget$outboundSchema: z.ZodType< - UpdateProjectDataCacheTarget$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheTarget -> = z.union([ - z.array(UpdateProjectDataCacheTarget1$outboundSchema), - UpdateProjectDataCacheTarget2$outboundSchema, -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheTarget$ { - /** @deprecated use `UpdateProjectDataCacheTarget$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheTarget$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheTarget$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheTarget$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheTarget$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheTarget$Outbound; -} - -export function updateProjectDataCacheTargetToJSON( - updateProjectDataCacheTarget: UpdateProjectDataCacheTarget, -): string { - return JSON.stringify( - UpdateProjectDataCacheTarget$outboundSchema.parse( - updateProjectDataCacheTarget, - ), - ); -} - -export function updateProjectDataCacheTargetFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDataCacheTarget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheTarget' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectDataCacheProjectsResponse200Type); - -/** @internal */ -export const UpdateProjectDataCacheProjectsResponse200Type$outboundSchema: - z.ZodNativeEnum = - UpdateProjectDataCacheProjectsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsResponse200Type$ { - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsResponse200Type$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsResponse200Type$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type - > = z.nativeEnum( - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type, - ); - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type - > = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$ { - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema; -} - -/** @internal */ -export const Fifteen$inboundSchema: z.ZodType = - z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema, - projectId: z.string(), - }); - -/** @internal */ -export type Fifteen$Outbound = { - type: string; - projectId: string; -}; - -/** @internal */ -export const Fifteen$outboundSchema: z.ZodType< - Fifteen$Outbound, - z.ZodTypeDef, - Fifteen -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema, - projectId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Fifteen$ { - /** @deprecated use `Fifteen$inboundSchema` instead. */ - export const inboundSchema = Fifteen$inboundSchema; - /** @deprecated use `Fifteen$outboundSchema` instead. */ - export const outboundSchema = Fifteen$outboundSchema; - /** @deprecated use `Fifteen$Outbound` instead. */ - export type Outbound = Fifteen$Outbound; -} - -export function fifteenToJSON(fifteen: Fifteen): string { - return JSON.stringify(Fifteen$outboundSchema.parse(fifteen)); -} - -export function fifteenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Fifteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Fifteen' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type - > = z.nativeEnum( - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type, - ); - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type - > = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$ { - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema; -} - -/** @internal */ -export const Fourteen$inboundSchema: z.ZodType< - Fourteen, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** @internal */ -export type Fourteen$Outbound = { - type: string; - storeId: string; - integrationId: string; - integrationProductId: string; - integrationConfigurationId: string; -}; - -/** @internal */ -export const Fourteen$outboundSchema: z.ZodType< - Fourteen$Outbound, - z.ZodTypeDef, - Fourteen -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema, - storeId: z.string(), - integrationId: z.string(), - integrationProductId: z.string(), - integrationConfigurationId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Fourteen$ { - /** @deprecated use `Fourteen$inboundSchema` instead. */ - export const inboundSchema = Fourteen$inboundSchema; - /** @deprecated use `Fourteen$outboundSchema` instead. */ - export const outboundSchema = Fourteen$outboundSchema; - /** @deprecated use `Fourteen$Outbound` instead. */ - export type Outbound = Fourteen$Outbound; -} - -export function fourteenToJSON(fourteen: Fourteen): string { - return JSON.stringify(Fourteen$outboundSchema.parse(fourteen)); -} - -export function fourteenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Fourteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Fourteen' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type - > = z.nativeEnum( - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type, - ); - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type - > = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$ { - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema; -} - -/** @internal */ -export const Thirteen$inboundSchema: z.ZodType< - Thirteen, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type Thirteen$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const Thirteen$outboundSchema: z.ZodType< - Thirteen$Outbound, - z.ZodTypeDef, - Thirteen -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Thirteen$ { - /** @deprecated use `Thirteen$inboundSchema` instead. */ - export const inboundSchema = Thirteen$inboundSchema; - /** @deprecated use `Thirteen$outboundSchema` instead. */ - export const outboundSchema = Thirteen$outboundSchema; - /** @deprecated use `Thirteen$Outbound` instead. */ - export type Outbound = Thirteen$Outbound; -} - -export function thirteenToJSON(thirteen: Thirteen): string { - return JSON.stringify(Thirteen$outboundSchema.parse(thirteen)); -} - -export function thirteenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Thirteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Thirteen' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type - > = z.nativeEnum( - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type, - ); - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type - > = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$ { - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema; -} - -/** @internal */ -export const Twelve$inboundSchema: z.ZodType = z - .object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema, - storeId: z.string(), - }); - -/** @internal */ -export type Twelve$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const Twelve$outboundSchema: z.ZodType< - Twelve$Outbound, - z.ZodTypeDef, - Twelve -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Twelve$ { - /** @deprecated use `Twelve$inboundSchema` instead. */ - export const inboundSchema = Twelve$inboundSchema; - /** @deprecated use `Twelve$outboundSchema` instead. */ - export const outboundSchema = Twelve$outboundSchema; - /** @deprecated use `Twelve$Outbound` instead. */ - export type Outbound = Twelve$Outbound; -} - -export function twelveToJSON(twelve: Twelve): string { - return JSON.stringify(Twelve$outboundSchema.parse(twelve)); -} - -export function twelveFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Twelve$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Twelve' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type - > = z.nativeEnum( - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type, - ); - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type - > = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$ { - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheContentHint11$inboundSchema: z.ZodType< - UpdateProjectDataCacheContentHint11, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type UpdateProjectDataCacheContentHint11$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const UpdateProjectDataCacheContentHint11$outboundSchema: z.ZodType< - UpdateProjectDataCacheContentHint11$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheContentHint11 -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheContentHint11$ { - /** @deprecated use `UpdateProjectDataCacheContentHint11$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheContentHint11$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheContentHint11$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheContentHint11$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheContentHint11$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheContentHint11$Outbound; -} - -export function updateProjectDataCacheContentHint11ToJSON( - updateProjectDataCacheContentHint11: UpdateProjectDataCacheContentHint11, -): string { - return JSON.stringify( - UpdateProjectDataCacheContentHint11$outboundSchema.parse( - updateProjectDataCacheContentHint11, - ), - ); -} - -export function updateProjectDataCacheContentHint11FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCacheContentHint11$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheContentHint11' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type - > = z.nativeEnum( - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type, - ); - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type - > = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$ { - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema; -} - -/** @internal */ -export const ContentHint10$inboundSchema: z.ZodType< - ContentHint10, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type ContentHint10$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const ContentHint10$outboundSchema: z.ZodType< - ContentHint10$Outbound, - z.ZodTypeDef, - ContentHint10 -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHint10$ { - /** @deprecated use `ContentHint10$inboundSchema` instead. */ - export const inboundSchema = ContentHint10$inboundSchema; - /** @deprecated use `ContentHint10$outboundSchema` instead. */ - export const outboundSchema = ContentHint10$outboundSchema; - /** @deprecated use `ContentHint10$Outbound` instead. */ - export type Outbound = ContentHint10$Outbound; -} - -export function contentHint10ToJSON(contentHint10: ContentHint10): string { - return JSON.stringify(ContentHint10$outboundSchema.parse(contentHint10)); -} - -export function contentHint10FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContentHint10$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContentHint10' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type - > = z.nativeEnum( - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type, - ); - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type - > = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$ { - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema; -} - -/** @internal */ -export const ContentHint9$inboundSchema: z.ZodType< - ContentHint9, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type ContentHint9$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const ContentHint9$outboundSchema: z.ZodType< - ContentHint9$Outbound, - z.ZodTypeDef, - ContentHint9 -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHint9$ { - /** @deprecated use `ContentHint9$inboundSchema` instead. */ - export const inboundSchema = ContentHint9$inboundSchema; - /** @deprecated use `ContentHint9$outboundSchema` instead. */ - export const outboundSchema = ContentHint9$outboundSchema; - /** @deprecated use `ContentHint9$Outbound` instead. */ - export type Outbound = ContentHint9$Outbound; -} - -export function contentHint9ToJSON(contentHint9: ContentHint9): string { - return JSON.stringify(ContentHint9$outboundSchema.parse(contentHint9)); -} - -export function contentHint9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContentHint9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContentHint9' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType - > = z.nativeEnum( - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType, - ); - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType - > = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$ { - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema; -} - -/** @internal */ -export const ContentHint8$inboundSchema: z.ZodType< - ContentHint8, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type ContentHint8$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const ContentHint8$outboundSchema: z.ZodType< - ContentHint8$Outbound, - z.ZodTypeDef, - ContentHint8 -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHint8$ { - /** @deprecated use `ContentHint8$inboundSchema` instead. */ - export const inboundSchema = ContentHint8$inboundSchema; - /** @deprecated use `ContentHint8$outboundSchema` instead. */ - export const outboundSchema = ContentHint8$outboundSchema; - /** @deprecated use `ContentHint8$Outbound` instead. */ - export type Outbound = ContentHint8$Outbound; -} - -export function contentHint8ToJSON(contentHint8: ContentHint8): string { - return JSON.stringify(ContentHint8$outboundSchema.parse(contentHint8)); -} - -export function contentHint8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContentHint8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContentHint8' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType, - ); - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType - > = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - -/** @internal */ -export const ContentHint7$inboundSchema: z.ZodType< - ContentHint7, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type ContentHint7$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const ContentHint7$outboundSchema: z.ZodType< - ContentHint7$Outbound, - z.ZodTypeDef, - ContentHint7 -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHint7$ { - /** @deprecated use `ContentHint7$inboundSchema` instead. */ - export const inboundSchema = ContentHint7$inboundSchema; - /** @deprecated use `ContentHint7$outboundSchema` instead. */ - export const outboundSchema = ContentHint7$outboundSchema; - /** @deprecated use `ContentHint7$Outbound` instead. */ - export type Outbound = ContentHint7$Outbound; -} - -export function contentHint7ToJSON(contentHint7: ContentHint7): string { - return JSON.stringify(ContentHint7$outboundSchema.parse(contentHint7)); -} - -export function contentHint7FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContentHint7$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContentHint7' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType - > = z.nativeEnum( - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType, - ); - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType - > = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const ContentHint6$inboundSchema: z.ZodType< - ContentHint6, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type ContentHint6$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const ContentHint6$outboundSchema: z.ZodType< - ContentHint6$Outbound, - z.ZodTypeDef, - ContentHint6 -> = z.object({ - type: - UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHint6$ { - /** @deprecated use `ContentHint6$inboundSchema` instead. */ - export const inboundSchema = ContentHint6$inboundSchema; - /** @deprecated use `ContentHint6$outboundSchema` instead. */ - export const outboundSchema = ContentHint6$outboundSchema; - /** @deprecated use `ContentHint6$Outbound` instead. */ - export type Outbound = ContentHint6$Outbound; -} - -export function contentHint6ToJSON(contentHint6: ContentHint6): string { - return JSON.stringify(ContentHint6$outboundSchema.parse(contentHint6)); -} - -export function contentHint6FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContentHint6$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContentHint6' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200Type - > = z.nativeEnum(UpdateProjectDataCacheContentHintProjectsResponse200Type); - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponse200Type$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponse200Type - > = UpdateProjectDataCacheContentHintProjectsResponse200Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheContentHintProjectsResponse200Type$ { - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200Type$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheContentHintProjectsResponse200Type$outboundSchema; -} - -/** @internal */ -export const ContentHint5$inboundSchema: z.ZodType< - ContentHint5, - z.ZodTypeDef, - unknown -> = z.object({ - type: UpdateProjectDataCacheContentHintProjectsResponse200Type$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type ContentHint5$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const ContentHint5$outboundSchema: z.ZodType< - ContentHint5$Outbound, - z.ZodTypeDef, - ContentHint5 -> = z.object({ - type: UpdateProjectDataCacheContentHintProjectsResponse200Type$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHint5$ { - /** @deprecated use `ContentHint5$inboundSchema` instead. */ - export const inboundSchema = ContentHint5$inboundSchema; - /** @deprecated use `ContentHint5$outboundSchema` instead. */ - export const outboundSchema = ContentHint5$outboundSchema; - /** @deprecated use `ContentHint5$Outbound` instead. */ - export type Outbound = ContentHint5$Outbound; -} - -export function contentHint5ToJSON(contentHint5: ContentHint5): string { - return JSON.stringify(ContentHint5$outboundSchema.parse(contentHint5)); -} - -export function contentHint5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContentHint5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContentHint5' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponseType$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponseType - > = z.nativeEnum(UpdateProjectDataCacheContentHintProjectsResponseType); - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsResponseType$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheContentHintProjectsResponseType - > = UpdateProjectDataCacheContentHintProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheContentHintProjectsResponseType$ { - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheContentHintProjectsResponseType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheContentHintProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const ContentHint4$inboundSchema: z.ZodType< - ContentHint4, - z.ZodTypeDef, - unknown -> = z.object({ - type: UpdateProjectDataCacheContentHintProjectsResponseType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type ContentHint4$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const ContentHint4$outboundSchema: z.ZodType< - ContentHint4$Outbound, - z.ZodTypeDef, - ContentHint4 -> = z.object({ - type: UpdateProjectDataCacheContentHintProjectsResponseType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHint4$ { - /** @deprecated use `ContentHint4$inboundSchema` instead. */ - export const inboundSchema = ContentHint4$inboundSchema; - /** @deprecated use `ContentHint4$outboundSchema` instead. */ - export const outboundSchema = ContentHint4$outboundSchema; - /** @deprecated use `ContentHint4$Outbound` instead. */ - export type Outbound = ContentHint4$Outbound; -} - -export function contentHint4ToJSON(contentHint4: ContentHint4): string { - return JSON.stringify(ContentHint4$outboundSchema.parse(contentHint4)); -} - -export function contentHint4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContentHint4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContentHint4' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectDataCacheContentHintProjectsType); - -/** @internal */ -export const UpdateProjectDataCacheContentHintProjectsType$outboundSchema: - z.ZodNativeEnum = - UpdateProjectDataCacheContentHintProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheContentHintProjectsType$ { - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheContentHintProjectsType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheContentHintProjectsType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheContentHintProjectsType$outboundSchema; -} - -/** @internal */ -export const ContentHint3$inboundSchema: z.ZodType< - ContentHint3, - z.ZodTypeDef, - unknown -> = z.object({ - type: UpdateProjectDataCacheContentHintProjectsType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type ContentHint3$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const ContentHint3$outboundSchema: z.ZodType< - ContentHint3$Outbound, - z.ZodTypeDef, - ContentHint3 -> = z.object({ - type: UpdateProjectDataCacheContentHintProjectsType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHint3$ { - /** @deprecated use `ContentHint3$inboundSchema` instead. */ - export const inboundSchema = ContentHint3$inboundSchema; - /** @deprecated use `ContentHint3$outboundSchema` instead. */ - export const outboundSchema = ContentHint3$outboundSchema; - /** @deprecated use `ContentHint3$Outbound` instead. */ - export type Outbound = ContentHint3$Outbound; -} - -export function contentHint3ToJSON(contentHint3: ContentHint3): string { - return JSON.stringify(ContentHint3$outboundSchema.parse(contentHint3)); -} - -export function contentHint3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContentHint3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContentHint3' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheContentHintType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectDataCacheContentHintType, - ); - -/** @internal */ -export const UpdateProjectDataCacheContentHintType$outboundSchema: - z.ZodNativeEnum = - UpdateProjectDataCacheContentHintType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheContentHintType$ { - /** @deprecated use `UpdateProjectDataCacheContentHintType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheContentHintType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheContentHintType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheContentHintType$outboundSchema; -} - -/** @internal */ -export const ContentHint2$inboundSchema: z.ZodType< - ContentHint2, - z.ZodTypeDef, - unknown -> = z.object({ - type: UpdateProjectDataCacheContentHintType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type ContentHint2$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const ContentHint2$outboundSchema: z.ZodType< - ContentHint2$Outbound, - z.ZodTypeDef, - ContentHint2 -> = z.object({ - type: UpdateProjectDataCacheContentHintType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHint2$ { - /** @deprecated use `ContentHint2$inboundSchema` instead. */ - export const inboundSchema = ContentHint2$inboundSchema; - /** @deprecated use `ContentHint2$outboundSchema` instead. */ - export const outboundSchema = ContentHint2$outboundSchema; - /** @deprecated use `ContentHint2$Outbound` instead. */ - export type Outbound = ContentHint2$Outbound; -} - -export function contentHint2ToJSON(contentHint2: ContentHint2): string { - return JSON.stringify(ContentHint2$outboundSchema.parse(contentHint2)); -} - -export function contentHint2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContentHint2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContentHint2' from JSON`, - ); -} - -/** @internal */ -export const ContentHintType$inboundSchema: z.ZodNativeEnum< - typeof ContentHintType -> = z.nativeEnum(ContentHintType); - -/** @internal */ -export const ContentHintType$outboundSchema: z.ZodNativeEnum< - typeof ContentHintType -> = ContentHintType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHintType$ { - /** @deprecated use `ContentHintType$inboundSchema` instead. */ - export const inboundSchema = ContentHintType$inboundSchema; - /** @deprecated use `ContentHintType$outboundSchema` instead. */ - export const outboundSchema = ContentHintType$outboundSchema; -} - -/** @internal */ -export const ContentHint1$inboundSchema: z.ZodType< - ContentHint1, - z.ZodTypeDef, - unknown -> = z.object({ - type: ContentHintType$inboundSchema, - storeId: z.string(), -}); - -/** @internal */ -export type ContentHint1$Outbound = { - type: string; - storeId: string; -}; - -/** @internal */ -export const ContentHint1$outboundSchema: z.ZodType< - ContentHint1$Outbound, - z.ZodTypeDef, - ContentHint1 -> = z.object({ - type: ContentHintType$outboundSchema, - storeId: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHint1$ { - /** @deprecated use `ContentHint1$inboundSchema` instead. */ - export const inboundSchema = ContentHint1$inboundSchema; - /** @deprecated use `ContentHint1$outboundSchema` instead. */ - export const outboundSchema = ContentHint1$outboundSchema; - /** @deprecated use `ContentHint1$Outbound` instead. */ - export type Outbound = ContentHint1$Outbound; -} - -export function contentHint1ToJSON(contentHint1: ContentHint1): string { - return JSON.stringify(ContentHint1$outboundSchema.parse(contentHint1)); -} - -export function contentHint1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContentHint1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContentHint1' from JSON`, - ); -} - -/** @internal */ -export const ContentHint$inboundSchema: z.ZodType< - ContentHint, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => ContentHint1$inboundSchema), - z.lazy(() => ContentHint2$inboundSchema), - z.lazy(() => ContentHint3$inboundSchema), - z.lazy(() => ContentHint4$inboundSchema), - z.lazy(() => ContentHint5$inboundSchema), - z.lazy(() => ContentHint6$inboundSchema), - z.lazy(() => ContentHint7$inboundSchema), - z.lazy(() => ContentHint8$inboundSchema), - z.lazy(() => ContentHint9$inboundSchema), - z.lazy(() => ContentHint10$inboundSchema), - z.lazy(() => UpdateProjectDataCacheContentHint11$inboundSchema), - z.lazy(() => Twelve$inboundSchema), - z.lazy(() => Thirteen$inboundSchema), - z.lazy(() => Fifteen$inboundSchema), - z.lazy(() => Fourteen$inboundSchema), -]); - -/** @internal */ -export type ContentHint$Outbound = - | ContentHint1$Outbound - | ContentHint2$Outbound - | ContentHint3$Outbound - | ContentHint4$Outbound - | ContentHint5$Outbound - | ContentHint6$Outbound - | ContentHint7$Outbound - | ContentHint8$Outbound - | ContentHint9$Outbound - | ContentHint10$Outbound - | UpdateProjectDataCacheContentHint11$Outbound - | Twelve$Outbound - | Thirteen$Outbound - | Fifteen$Outbound - | Fourteen$Outbound; - -/** @internal */ -export const ContentHint$outboundSchema: z.ZodType< - ContentHint$Outbound, - z.ZodTypeDef, - ContentHint -> = z.union([ - z.lazy(() => ContentHint1$outboundSchema), - z.lazy(() => ContentHint2$outboundSchema), - z.lazy(() => ContentHint3$outboundSchema), - z.lazy(() => ContentHint4$outboundSchema), - z.lazy(() => ContentHint5$outboundSchema), - z.lazy(() => ContentHint6$outboundSchema), - z.lazy(() => ContentHint7$outboundSchema), - z.lazy(() => ContentHint8$outboundSchema), - z.lazy(() => ContentHint9$outboundSchema), - z.lazy(() => ContentHint10$outboundSchema), - z.lazy(() => UpdateProjectDataCacheContentHint11$outboundSchema), - z.lazy(() => Twelve$outboundSchema), - z.lazy(() => Thirteen$outboundSchema), - z.lazy(() => Fifteen$outboundSchema), - z.lazy(() => Fourteen$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentHint$ { - /** @deprecated use `ContentHint$inboundSchema` instead. */ - export const inboundSchema = ContentHint$inboundSchema; - /** @deprecated use `ContentHint$outboundSchema` instead. */ - export const outboundSchema = ContentHint$outboundSchema; - /** @deprecated use `ContentHint$Outbound` instead. */ - export type Outbound = ContentHint$Outbound; -} - -export function contentHintToJSON(contentHint: ContentHint): string { - return JSON.stringify(ContentHint$outboundSchema.parse(contentHint)); -} - -export function contentHintFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContentHint$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContentHint' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType, - ); - -/** @internal */ -export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType - > = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - -/** @internal */ -export const InternalContentHint$inboundSchema: z.ZodType< - InternalContentHint, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - encryptedValue: z.string(), -}); - -/** @internal */ -export type InternalContentHint$Outbound = { - type: string; - encryptedValue: string; -}; - -/** @internal */ -export const InternalContentHint$outboundSchema: z.ZodType< - InternalContentHint$Outbound, - z.ZodTypeDef, - InternalContentHint -> = z.object({ - type: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, - encryptedValue: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InternalContentHint$ { - /** @deprecated use `InternalContentHint$inboundSchema` instead. */ - export const inboundSchema = InternalContentHint$inboundSchema; - /** @deprecated use `InternalContentHint$outboundSchema` instead. */ - export const outboundSchema = InternalContentHint$outboundSchema; - /** @deprecated use `InternalContentHint$Outbound` instead. */ - export type Outbound = InternalContentHint$Outbound; -} - -export function internalContentHintToJSON( - internalContentHint: InternalContentHint, -): string { - return JSON.stringify( - InternalContentHint$outboundSchema.parse(internalContentHint), - ); -} - -export function internalContentHintFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => InternalContentHint$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'InternalContentHint' from JSON`, - ); -} - -/** @internal */ -export const Env$inboundSchema: z.ZodType = z - .object({ - target: z.union([ - z.array(UpdateProjectDataCacheTarget1$inboundSchema), - UpdateProjectDataCacheTarget2$inboundSchema, - ]).optional(), - type: UpdateProjectDataCacheProjectsResponse200Type$inboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => ContentHint1$inboundSchema), - z.lazy(() => ContentHint2$inboundSchema), - z.lazy(() => ContentHint3$inboundSchema), - z.lazy(() => ContentHint4$inboundSchema), - z.lazy(() => ContentHint5$inboundSchema), - z.lazy(() => ContentHint6$inboundSchema), - z.lazy(() => ContentHint7$inboundSchema), - z.lazy(() => ContentHint8$inboundSchema), - z.lazy(() => ContentHint9$inboundSchema), - z.lazy(() => ContentHint10$inboundSchema), - z.lazy(() => UpdateProjectDataCacheContentHint11$inboundSchema), - z.lazy(() => Twelve$inboundSchema), - z.lazy(() => Thirteen$inboundSchema), - z.lazy(() => Fifteen$inboundSchema), - z.lazy(() => Fourteen$inboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => InternalContentHint$inboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), - }); - -/** @internal */ -export type Env$Outbound = { - target?: Array | string | undefined; - type: string; - sunsetSecretId?: string | undefined; - id?: string | undefined; - key: string; - value: string; - configurationId?: string | null | undefined; - createdAt?: number | undefined; - updatedAt?: number | undefined; - createdBy?: string | null | undefined; - updatedBy?: string | null | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - contentHint?: - | ContentHint1$Outbound - | ContentHint2$Outbound - | ContentHint3$Outbound - | ContentHint4$Outbound - | ContentHint5$Outbound - | ContentHint6$Outbound - | ContentHint7$Outbound - | ContentHint8$Outbound - | ContentHint9$Outbound - | ContentHint10$Outbound - | UpdateProjectDataCacheContentHint11$Outbound - | Twelve$Outbound - | Thirteen$Outbound - | Fifteen$Outbound - | Fourteen$Outbound - | null - | undefined; - internalContentHint?: InternalContentHint$Outbound | null | undefined; - decrypted?: boolean | undefined; - comment?: string | undefined; - customEnvironmentIds?: Array | undefined; - vsmValue?: string | undefined; -}; - -/** @internal */ -export const Env$outboundSchema: z.ZodType = z - .object({ - target: z.union([ - z.array(UpdateProjectDataCacheTarget1$outboundSchema), - UpdateProjectDataCacheTarget2$outboundSchema, - ]).optional(), - type: UpdateProjectDataCacheProjectsResponse200Type$outboundSchema, - sunsetSecretId: z.string().optional(), - id: z.string().optional(), - key: z.string(), - value: z.string(), - configurationId: z.nullable(z.string()).optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - createdBy: z.nullable(z.string()).optional(), - updatedBy: z.nullable(z.string()).optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - contentHint: z.nullable( - z.union([ - z.lazy(() => ContentHint1$outboundSchema), - z.lazy(() => ContentHint2$outboundSchema), - z.lazy(() => ContentHint3$outboundSchema), - z.lazy(() => ContentHint4$outboundSchema), - z.lazy(() => ContentHint5$outboundSchema), - z.lazy(() => ContentHint6$outboundSchema), - z.lazy(() => ContentHint7$outboundSchema), - z.lazy(() => ContentHint8$outboundSchema), - z.lazy(() => ContentHint9$outboundSchema), - z.lazy(() => ContentHint10$outboundSchema), - z.lazy(() => UpdateProjectDataCacheContentHint11$outboundSchema), - z.lazy(() => Twelve$outboundSchema), - z.lazy(() => Thirteen$outboundSchema), - z.lazy(() => Fifteen$outboundSchema), - z.lazy(() => Fourteen$outboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => InternalContentHint$outboundSchema), - ).optional(), - decrypted: z.boolean().optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - vsmValue: z.string().optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Env$ { - /** @deprecated use `Env$inboundSchema` instead. */ - export const inboundSchema = Env$inboundSchema; - /** @deprecated use `Env$outboundSchema` instead. */ - export const outboundSchema = Env$outboundSchema; - /** @deprecated use `Env$Outbound` instead. */ - export type Outbound = Env$Outbound; -} - -export function envToJSON(env: Env): string { - return JSON.stringify(Env$outboundSchema.parse(env)); -} - -export function envFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Env$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Env' from JSON`, - ); -} - -/** @internal */ -export const CustomEnvironments$inboundSchema: z.ZodType< - CustomEnvironments, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type CustomEnvironments$Outbound = {}; - -/** @internal */ -export const CustomEnvironments$outboundSchema: z.ZodType< - CustomEnvironments$Outbound, - z.ZodTypeDef, - CustomEnvironments -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CustomEnvironments$ { - /** @deprecated use `CustomEnvironments$inboundSchema` instead. */ - export const inboundSchema = CustomEnvironments$inboundSchema; - /** @deprecated use `CustomEnvironments$outboundSchema` instead. */ - export const outboundSchema = CustomEnvironments$outboundSchema; - /** @deprecated use `CustomEnvironments$Outbound` instead. */ - export type Outbound = CustomEnvironments$Outbound; -} - -export function customEnvironmentsToJSON( - customEnvironments: CustomEnvironments, -): string { - return JSON.stringify( - CustomEnvironments$outboundSchema.parse(customEnvironments), - ); -} - -export function customEnvironmentsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CustomEnvironments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CustomEnvironments' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheFramework$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheFramework -> = z.nativeEnum(UpdateProjectDataCacheFramework); - -/** @internal */ -export const UpdateProjectDataCacheFramework$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheFramework -> = UpdateProjectDataCacheFramework$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheFramework$ { - /** @deprecated use `UpdateProjectDataCacheFramework$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheFramework$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheFramework$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheFramework$outboundSchema; -} - -/** @internal */ -export const IpBuckets$inboundSchema: z.ZodType< - IpBuckets, - z.ZodTypeDef, - unknown -> = z.object({ - bucket: z.string(), - supportUntil: z.number().optional(), -}); - -/** @internal */ -export type IpBuckets$Outbound = { - bucket: string; - supportUntil?: number | undefined; -}; - -/** @internal */ -export const IpBuckets$outboundSchema: z.ZodType< - IpBuckets$Outbound, - z.ZodTypeDef, - IpBuckets -> = z.object({ - bucket: z.string(), - supportUntil: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace IpBuckets$ { - /** @deprecated use `IpBuckets$inboundSchema` instead. */ - export const inboundSchema = IpBuckets$inboundSchema; - /** @deprecated use `IpBuckets$outboundSchema` instead. */ - export const outboundSchema = IpBuckets$outboundSchema; - /** @deprecated use `IpBuckets$Outbound` instead. */ - export type Outbound = IpBuckets$Outbound; -} - -export function ipBucketsToJSON(ipBuckets: IpBuckets): string { - return JSON.stringify(IpBuckets$outboundSchema.parse(ipBuckets)); -} - -export function ipBucketsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => IpBuckets$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'IpBuckets' from JSON`, - ); -} - -/** @internal */ -export const AliasAssigned$inboundSchema: z.ZodType< - AliasAssigned, - z.ZodTypeDef, - unknown -> = z.union([z.number(), z.boolean()]); - -/** @internal */ -export type AliasAssigned$Outbound = number | boolean; - -/** @internal */ -export const AliasAssigned$outboundSchema: z.ZodType< - AliasAssigned$Outbound, - z.ZodTypeDef, - AliasAssigned -> = z.union([z.number(), z.boolean()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AliasAssigned$ { - /** @deprecated use `AliasAssigned$inboundSchema` instead. */ - export const inboundSchema = AliasAssigned$inboundSchema; - /** @deprecated use `AliasAssigned$outboundSchema` instead. */ - export const outboundSchema = AliasAssigned$outboundSchema; - /** @deprecated use `AliasAssigned$Outbound` instead. */ - export type Outbound = AliasAssigned$Outbound; -} - -export function aliasAssignedToJSON(aliasAssigned: AliasAssigned): string { - return JSON.stringify(AliasAssigned$outboundSchema.parse(aliasAssigned)); -} - -export function aliasAssignedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AliasAssigned$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AliasAssigned' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsAliasError$inboundSchema: z.ZodType< - UpdateProjectDataCacheProjectsAliasError, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** @internal */ -export type UpdateProjectDataCacheProjectsAliasError$Outbound = { - code: string; - message: string; -}; - -/** @internal */ -export const UpdateProjectDataCacheProjectsAliasError$outboundSchema: z.ZodType< - UpdateProjectDataCacheProjectsAliasError$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheProjectsAliasError -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsAliasError$ { - /** @deprecated use `UpdateProjectDataCacheProjectsAliasError$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsAliasError$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsAliasError$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsAliasError$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsAliasError$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheProjectsAliasError$Outbound; -} - -export function updateProjectDataCacheProjectsAliasErrorToJSON( - updateProjectDataCacheProjectsAliasError: - UpdateProjectDataCacheProjectsAliasError, -): string { - return JSON.stringify( - UpdateProjectDataCacheProjectsAliasError$outboundSchema.parse( - updateProjectDataCacheProjectsAliasError, - ), - ); -} - -export function updateProjectDataCacheProjectsAliasErrorFromJSON( - jsonString: string, -): SafeParseResult< - UpdateProjectDataCacheProjectsAliasError, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCacheProjectsAliasError$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateProjectDataCacheProjectsAliasError' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONType - > = z.nativeEnum( - UpdateProjectDataCacheProjectsResponse200ApplicationJSONType, - ); - -/** @internal */ -export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONType - > = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema; -} - -/** @internal */ -export const BranchMatcher$inboundSchema: z.ZodType< - BranchMatcher, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema, - pattern: z.string(), -}); - -/** @internal */ -export type BranchMatcher$Outbound = { - type: string; - pattern: string; -}; - -/** @internal */ -export const BranchMatcher$outboundSchema: z.ZodType< - BranchMatcher$Outbound, - z.ZodTypeDef, - BranchMatcher -> = z.object({ - type: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema, - pattern: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BranchMatcher$ { - /** @deprecated use `BranchMatcher$inboundSchema` instead. */ - export const inboundSchema = BranchMatcher$inboundSchema; - /** @deprecated use `BranchMatcher$outboundSchema` instead. */ - export const outboundSchema = BranchMatcher$outboundSchema; - /** @deprecated use `BranchMatcher$Outbound` instead. */ - export type Outbound = BranchMatcher$Outbound; -} - -export function branchMatcherToJSON(branchMatcher: BranchMatcher): string { - return JSON.stringify(BranchMatcher$outboundSchema.parse(branchMatcher)); -} - -export function branchMatcherFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BranchMatcher$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BranchMatcher' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsBuilds$inboundSchema: z.ZodType< - UpdateProjectDataCacheProjectsBuilds, - z.ZodTypeDef, - unknown -> = z.object({ - use: z.string(), - src: z.string().optional(), - dest: z.string().optional(), -}); - -/** @internal */ -export type UpdateProjectDataCacheProjectsBuilds$Outbound = { - use: string; - src?: string | undefined; - dest?: string | undefined; -}; - -/** @internal */ -export const UpdateProjectDataCacheProjectsBuilds$outboundSchema: z.ZodType< - UpdateProjectDataCacheProjectsBuilds$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheProjectsBuilds -> = z.object({ - use: z.string(), - src: z.string().optional(), - dest: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsBuilds$ { - /** @deprecated use `UpdateProjectDataCacheProjectsBuilds$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsBuilds$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsBuilds$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsBuilds$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsBuilds$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheProjectsBuilds$Outbound; -} - -export function updateProjectDataCacheProjectsBuildsToJSON( - updateProjectDataCacheProjectsBuilds: UpdateProjectDataCacheProjectsBuilds, -): string { - return JSON.stringify( - UpdateProjectDataCacheProjectsBuilds$outboundSchema.parse( - updateProjectDataCacheProjectsBuilds, - ), - ); -} - -export function updateProjectDataCacheProjectsBuildsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCacheProjectsBuilds$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheProjectsBuilds' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsChecksConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectDataCacheProjectsChecksConclusion); - -/** @internal */ -export const UpdateProjectDataCacheProjectsChecksConclusion$outboundSchema: - z.ZodNativeEnum = - UpdateProjectDataCacheProjectsChecksConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsChecksConclusion$ { - /** @deprecated use `UpdateProjectDataCacheProjectsChecksConclusion$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsChecksConclusion$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsChecksConclusion$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsChecksConclusion$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsChecksState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectDataCacheProjectsChecksState); - -/** @internal */ -export const UpdateProjectDataCacheProjectsChecksState$outboundSchema: - z.ZodNativeEnum = - UpdateProjectDataCacheProjectsChecksState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsChecksState$ { - /** @deprecated use `UpdateProjectDataCacheProjectsChecksState$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsChecksState$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsChecksState$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsChecksState$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsCreator$inboundSchema: z.ZodType< - UpdateProjectDataCacheProjectsCreator, - z.ZodTypeDef, - unknown -> = z.object({ - email: z.string(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), - uid: z.string(), - username: z.string(), -}); - -/** @internal */ -export type UpdateProjectDataCacheProjectsCreator$Outbound = { - email: string; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; - uid: string; - username: string; -}; - -/** @internal */ -export const UpdateProjectDataCacheProjectsCreator$outboundSchema: z.ZodType< - UpdateProjectDataCacheProjectsCreator$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheProjectsCreator -> = z.object({ - email: z.string(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), - uid: z.string(), - username: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsCreator$ { - /** @deprecated use `UpdateProjectDataCacheProjectsCreator$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsCreator$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsCreator$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsCreator$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsCreator$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheProjectsCreator$Outbound; -} - -export function updateProjectDataCacheProjectsCreatorToJSON( - updateProjectDataCacheProjectsCreator: UpdateProjectDataCacheProjectsCreator, -): string { - return JSON.stringify( - UpdateProjectDataCacheProjectsCreator$outboundSchema.parse( - updateProjectDataCacheProjectsCreator, - ), - ); -} - -export function updateProjectDataCacheProjectsCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCacheProjectsCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheProjectsCreator' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsOidcTokenClaims$inboundSchema: - z.ZodType< - UpdateProjectDataCacheProjectsOidcTokenClaims, - z.ZodTypeDef, - unknown - > = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - owner_id: z.string(), - project: z.string(), - project_id: z.string(), - environment: z.string(), - }).transform((v) => { - return remap$(v, { - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); - -/** @internal */ -export type UpdateProjectDataCacheProjectsOidcTokenClaims$Outbound = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - owner_id: string; - project: string; - project_id: string; - environment: string; -}; - -/** @internal */ -export const UpdateProjectDataCacheProjectsOidcTokenClaims$outboundSchema: - z.ZodType< - UpdateProjectDataCacheProjectsOidcTokenClaims$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheProjectsOidcTokenClaims - > = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - ownerId: z.string(), - project: z.string(), - projectId: z.string(), - environment: z.string(), - }).transform((v) => { - return remap$(v, { - ownerId: "owner_id", - projectId: "project_id", - }); - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsOidcTokenClaims$ { - /** @deprecated use `UpdateProjectDataCacheProjectsOidcTokenClaims$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsOidcTokenClaims$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsOidcTokenClaims$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsOidcTokenClaims$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsOidcTokenClaims$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheProjectsOidcTokenClaims$Outbound; -} - -export function updateProjectDataCacheProjectsOidcTokenClaimsToJSON( - updateProjectDataCacheProjectsOidcTokenClaims: - UpdateProjectDataCacheProjectsOidcTokenClaims, -): string { - return JSON.stringify( - UpdateProjectDataCacheProjectsOidcTokenClaims$outboundSchema.parse( - updateProjectDataCacheProjectsOidcTokenClaims, - ), - ); -} - -export function updateProjectDataCacheProjectsOidcTokenClaimsFromJSON( - jsonString: string, -): SafeParseResult< - UpdateProjectDataCacheProjectsOidcTokenClaims, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCacheProjectsOidcTokenClaims$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateProjectDataCacheProjectsOidcTokenClaims' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsPlan$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheProjectsPlan -> = z.nativeEnum(UpdateProjectDataCacheProjectsPlan); - -/** @internal */ -export const UpdateProjectDataCacheProjectsPlan$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheProjectsPlan -> = UpdateProjectDataCacheProjectsPlan$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsPlan$ { - /** @deprecated use `UpdateProjectDataCacheProjectsPlan$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheProjectsPlan$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsPlan$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsPlan$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsReadyState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectDataCacheProjectsReadyState); - -/** @internal */ -export const UpdateProjectDataCacheProjectsReadyState$outboundSchema: - z.ZodNativeEnum = - UpdateProjectDataCacheProjectsReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsReadyState$ { - /** @deprecated use `UpdateProjectDataCacheProjectsReadyState$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsReadyState$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsReadyState$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsReadyState$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsReadySubstate$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectDataCacheProjectsReadySubstate); - -/** @internal */ -export const UpdateProjectDataCacheProjectsReadySubstate$outboundSchema: - z.ZodNativeEnum = - UpdateProjectDataCacheProjectsReadySubstate$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsReadySubstate$ { - /** @deprecated use `UpdateProjectDataCacheProjectsReadySubstate$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsReadySubstate$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsReadySubstate$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsReadySubstate$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheType$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheType -> = z.nativeEnum(UpdateProjectDataCacheType); - -/** @internal */ -export const UpdateProjectDataCacheType$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheType -> = UpdateProjectDataCacheType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheType$ { - /** @deprecated use `UpdateProjectDataCacheType$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheType$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheType$outboundSchema; -} - -/** @internal */ -export const LatestDeployments$inboundSchema: z.ZodType< - LatestDeployments, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - aliasError: z.nullable( - z.lazy(() => UpdateProjectDataCacheProjectsAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - branchMatcher: z.lazy(() => BranchMatcher$inboundSchema).optional(), - buildingAt: z.number().optional(), - builds: z.array( - z.lazy(() => UpdateProjectDataCacheProjectsBuilds$inboundSchema), - ).optional(), - checksConclusion: UpdateProjectDataCacheProjectsChecksConclusion$inboundSchema - .optional(), - checksState: UpdateProjectDataCacheProjectsChecksState$inboundSchema - .optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdAt: z.number(), - createdIn: z.string(), - creator: z.nullable( - z.lazy(() => UpdateProjectDataCacheProjectsCreator$inboundSchema), - ), - deletedAt: z.number().optional(), - deploymentHostname: z.string(), - forced: z.boolean().optional(), - name: z.string(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - oidcTokenClaims: z.lazy(() => - UpdateProjectDataCacheProjectsOidcTokenClaims$inboundSchema - ).optional(), - plan: UpdateProjectDataCacheProjectsPlan$inboundSchema, - previewCommentsEnabled: z.boolean().optional(), - private: z.boolean(), - readyAt: z.number().optional(), - readyState: UpdateProjectDataCacheProjectsReadyState$inboundSchema, - readySubstate: UpdateProjectDataCacheProjectsReadySubstate$inboundSchema - .optional(), - requestedAt: z.number().optional(), - target: z.nullable(z.string()).optional(), - teamId: z.nullable(z.string()).optional(), - type: UpdateProjectDataCacheType$inboundSchema, - url: z.string(), - userId: z.string(), - withCache: z.boolean().optional(), -}); - -/** @internal */ -export type LatestDeployments$Outbound = { - id: string; - alias?: Array | undefined; - aliasAssigned?: number | boolean | null | undefined; - aliasError?: - | UpdateProjectDataCacheProjectsAliasError$Outbound - | null - | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - branchMatcher?: BranchMatcher$Outbound | undefined; - buildingAt?: number | undefined; - builds?: Array | undefined; - checksConclusion?: string | undefined; - checksState?: string | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdAt: number; - createdIn: string; - creator: UpdateProjectDataCacheProjectsCreator$Outbound | null; - deletedAt?: number | undefined; - deploymentHostname: string; - forced?: boolean | undefined; - name: string; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - oidcTokenClaims?: - | UpdateProjectDataCacheProjectsOidcTokenClaims$Outbound - | undefined; - plan: string; - previewCommentsEnabled?: boolean | undefined; - private: boolean; - readyAt?: number | undefined; - readyState: string; - readySubstate?: string | undefined; - requestedAt?: number | undefined; - target?: string | null | undefined; - teamId?: string | null | undefined; - type: string; - url: string; - userId: string; - withCache?: boolean | undefined; -}; - -/** @internal */ -export const LatestDeployments$outboundSchema: z.ZodType< - LatestDeployments$Outbound, - z.ZodTypeDef, - LatestDeployments -> = z.object({ - id: z.string(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - aliasError: z.nullable( - z.lazy(() => UpdateProjectDataCacheProjectsAliasError$outboundSchema), - ).optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - branchMatcher: z.lazy(() => BranchMatcher$outboundSchema).optional(), - buildingAt: z.number().optional(), - builds: z.array( - z.lazy(() => UpdateProjectDataCacheProjectsBuilds$outboundSchema), - ).optional(), - checksConclusion: - UpdateProjectDataCacheProjectsChecksConclusion$outboundSchema.optional(), - checksState: UpdateProjectDataCacheProjectsChecksState$outboundSchema - .optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdAt: z.number(), - createdIn: z.string(), - creator: z.nullable( - z.lazy(() => UpdateProjectDataCacheProjectsCreator$outboundSchema), - ), - deletedAt: z.number().optional(), - deploymentHostname: z.string(), - forced: z.boolean().optional(), - name: z.string(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - oidcTokenClaims: z.lazy(() => - UpdateProjectDataCacheProjectsOidcTokenClaims$outboundSchema - ).optional(), - plan: UpdateProjectDataCacheProjectsPlan$outboundSchema, - previewCommentsEnabled: z.boolean().optional(), - private: z.boolean(), - readyAt: z.number().optional(), - readyState: UpdateProjectDataCacheProjectsReadyState$outboundSchema, - readySubstate: UpdateProjectDataCacheProjectsReadySubstate$outboundSchema - .optional(), - requestedAt: z.number().optional(), - target: z.nullable(z.string()).optional(), - teamId: z.nullable(z.string()).optional(), - type: UpdateProjectDataCacheType$outboundSchema, - url: z.string(), - userId: z.string(), - withCache: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace LatestDeployments$ { - /** @deprecated use `LatestDeployments$inboundSchema` instead. */ - export const inboundSchema = LatestDeployments$inboundSchema; - /** @deprecated use `LatestDeployments$outboundSchema` instead. */ - export const outboundSchema = LatestDeployments$outboundSchema; - /** @deprecated use `LatestDeployments$Outbound` instead. */ - export type Outbound = LatestDeployments$Outbound; -} - -export function latestDeploymentsToJSON( - latestDeployments: LatestDeployments, -): string { - return JSON.stringify( - LatestDeployments$outboundSchema.parse(latestDeployments), - ); -} - -export function latestDeploymentsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => LatestDeployments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'LatestDeployments' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheLinkProjectsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectDataCacheLinkProjectsType, - ); - -/** @internal */ -export const UpdateProjectDataCacheLinkProjectsType$outboundSchema: - z.ZodNativeEnum = - UpdateProjectDataCacheLinkProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheLinkProjectsType$ { - /** @deprecated use `UpdateProjectDataCacheLinkProjectsType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheLinkProjectsType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheLinkProjectsType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheLinkProjectsType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheLinkDeployHooks$inboundSchema: z.ZodType< - UpdateProjectDataCacheLinkDeployHooks, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** @internal */ -export type UpdateProjectDataCacheLinkDeployHooks$Outbound = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -/** @internal */ -export const UpdateProjectDataCacheLinkDeployHooks$outboundSchema: z.ZodType< - UpdateProjectDataCacheLinkDeployHooks$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheLinkDeployHooks -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheLinkDeployHooks$ { - /** @deprecated use `UpdateProjectDataCacheLinkDeployHooks$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheLinkDeployHooks$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheLinkDeployHooks$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheLinkDeployHooks$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheLinkDeployHooks$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheLinkDeployHooks$Outbound; -} - -export function updateProjectDataCacheLinkDeployHooksToJSON( - updateProjectDataCacheLinkDeployHooks: UpdateProjectDataCacheLinkDeployHooks, -): string { - return JSON.stringify( - UpdateProjectDataCacheLinkDeployHooks$outboundSchema.parse( - updateProjectDataCacheLinkDeployHooks, - ), - ); -} - -export function updateProjectDataCacheLinkDeployHooksFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCacheLinkDeployHooks$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheLinkDeployHooks' from JSON`, - ); -} - -/** @internal */ -export const Link3$inboundSchema: z.ZodType = z - .object({ - name: z.string().optional(), - slug: z.string().optional(), - owner: z.string().optional(), - type: UpdateProjectDataCacheLinkProjectsType$inboundSchema.optional(), - uuid: z.string().optional(), - workspaceUuid: z.string().optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => UpdateProjectDataCacheLinkDeployHooks$inboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), - }); - -/** @internal */ -export type Link3$Outbound = { - name?: string | undefined; - slug?: string | undefined; - owner?: string | undefined; - type?: string | undefined; - uuid?: string | undefined; - workspaceUuid?: string | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -/** @internal */ -export const Link3$outboundSchema: z.ZodType< - Link3$Outbound, - z.ZodTypeDef, - Link3 -> = z.object({ - name: z.string().optional(), - slug: z.string().optional(), - owner: z.string().optional(), - type: UpdateProjectDataCacheLinkProjectsType$outboundSchema.optional(), - uuid: z.string().optional(), - workspaceUuid: z.string().optional(), - createdAt: z.number().optional(), - deployHooks: z.array( - z.lazy(() => UpdateProjectDataCacheLinkDeployHooks$outboundSchema), - ), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Link3$ { - /** @deprecated use `Link3$inboundSchema` instead. */ - export const inboundSchema = Link3$inboundSchema; - /** @deprecated use `Link3$outboundSchema` instead. */ - export const outboundSchema = Link3$outboundSchema; - /** @deprecated use `Link3$Outbound` instead. */ - export type Outbound = Link3$Outbound; -} - -export function link3ToJSON(link3: Link3): string { - return JSON.stringify(Link3$outboundSchema.parse(link3)); -} - -export function link3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Link3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Link3' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheLinkType$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheLinkType -> = z.nativeEnum(UpdateProjectDataCacheLinkType); - -/** @internal */ -export const UpdateProjectDataCacheLinkType$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheLinkType -> = UpdateProjectDataCacheLinkType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheLinkType$ { - /** @deprecated use `UpdateProjectDataCacheLinkType$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheLinkType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheLinkType$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheLinkType$outboundSchema; -} - -/** @internal */ -export const LinkDeployHooks$inboundSchema: z.ZodType< - LinkDeployHooks, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** @internal */ -export type LinkDeployHooks$Outbound = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -/** @internal */ -export const LinkDeployHooks$outboundSchema: z.ZodType< - LinkDeployHooks$Outbound, - z.ZodTypeDef, - LinkDeployHooks -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace LinkDeployHooks$ { - /** @deprecated use `LinkDeployHooks$inboundSchema` instead. */ - export const inboundSchema = LinkDeployHooks$inboundSchema; - /** @deprecated use `LinkDeployHooks$outboundSchema` instead. */ - export const outboundSchema = LinkDeployHooks$outboundSchema; - /** @deprecated use `LinkDeployHooks$Outbound` instead. */ - export type Outbound = LinkDeployHooks$Outbound; -} - -export function linkDeployHooksToJSON( - linkDeployHooks: LinkDeployHooks, -): string { - return JSON.stringify(LinkDeployHooks$outboundSchema.parse(linkDeployHooks)); -} - -export function linkDeployHooksFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => LinkDeployHooks$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'LinkDeployHooks' from JSON`, - ); -} - -/** @internal */ -export const Link2$inboundSchema: z.ZodType = z - .object({ - projectId: z.string().optional(), - projectName: z.string().optional(), - projectNameWithNamespace: z.string().optional(), - projectNamespace: z.string().optional(), - projectOwnerId: z.number().optional(), - projectUrl: z.string().optional(), - type: UpdateProjectDataCacheLinkType$inboundSchema.optional(), - createdAt: z.number().optional(), - deployHooks: z.array(z.lazy(() => LinkDeployHooks$inboundSchema)), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), - }); - -/** @internal */ -export type Link2$Outbound = { - projectId?: string | undefined; - projectName?: string | undefined; - projectNameWithNamespace?: string | undefined; - projectNamespace?: string | undefined; - projectOwnerId?: number | undefined; - projectUrl?: string | undefined; - type?: string | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -/** @internal */ -export const Link2$outboundSchema: z.ZodType< - Link2$Outbound, - z.ZodTypeDef, - Link2 -> = z.object({ - projectId: z.string().optional(), - projectName: z.string().optional(), - projectNameWithNamespace: z.string().optional(), - projectNamespace: z.string().optional(), - projectOwnerId: z.number().optional(), - projectUrl: z.string().optional(), - type: UpdateProjectDataCacheLinkType$outboundSchema.optional(), - createdAt: z.number().optional(), - deployHooks: z.array(z.lazy(() => LinkDeployHooks$outboundSchema)), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Link2$ { - /** @deprecated use `Link2$inboundSchema` instead. */ - export const inboundSchema = Link2$inboundSchema; - /** @deprecated use `Link2$outboundSchema` instead. */ - export const outboundSchema = Link2$outboundSchema; - /** @deprecated use `Link2$Outbound` instead. */ - export type Outbound = Link2$Outbound; -} - -export function link2ToJSON(link2: Link2): string { - return JSON.stringify(Link2$outboundSchema.parse(link2)); -} - -export function link2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Link2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Link2' from JSON`, - ); -} - -/** @internal */ -export const LinkType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(LinkType); - -/** @internal */ -export const LinkType$outboundSchema: z.ZodNativeEnum = - LinkType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace LinkType$ { - /** @deprecated use `LinkType$inboundSchema` instead. */ - export const inboundSchema = LinkType$inboundSchema; - /** @deprecated use `LinkType$outboundSchema` instead. */ - export const outboundSchema = LinkType$outboundSchema; -} - -/** @internal */ -export const DeployHooks$inboundSchema: z.ZodType< - DeployHooks, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** @internal */ -export type DeployHooks$Outbound = { - createdAt?: number | undefined; - id: string; - name: string; - ref: string; - url: string; -}; - -/** @internal */ -export const DeployHooks$outboundSchema: z.ZodType< - DeployHooks$Outbound, - z.ZodTypeDef, - DeployHooks -> = z.object({ - createdAt: z.number().optional(), - id: z.string(), - name: z.string(), - ref: z.string(), - url: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeployHooks$ { - /** @deprecated use `DeployHooks$inboundSchema` instead. */ - export const inboundSchema = DeployHooks$inboundSchema; - /** @deprecated use `DeployHooks$outboundSchema` instead. */ - export const outboundSchema = DeployHooks$outboundSchema; - /** @deprecated use `DeployHooks$Outbound` instead. */ - export type Outbound = DeployHooks$Outbound; -} - -export function deployHooksToJSON(deployHooks: DeployHooks): string { - return JSON.stringify(DeployHooks$outboundSchema.parse(deployHooks)); -} - -export function deployHooksFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeployHooks$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeployHooks' from JSON`, - ); -} - -/** @internal */ -export const Link1$inboundSchema: z.ZodType = z - .object({ - org: z.string().optional(), - repoOwnerId: z.number().optional(), - repo: z.string().optional(), - repoId: z.number().optional(), - type: LinkType$inboundSchema.optional(), - createdAt: z.number().optional(), - deployHooks: z.array(z.lazy(() => DeployHooks$inboundSchema)), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), - }); - -/** @internal */ -export type Link1$Outbound = { - org?: string | undefined; - repoOwnerId?: number | undefined; - repo?: string | undefined; - repoId?: number | undefined; - type?: string | undefined; - createdAt?: number | undefined; - deployHooks: Array; - gitCredentialId?: string | undefined; - updatedAt?: number | undefined; - sourceless?: boolean | undefined; - productionBranch?: string | undefined; -}; - -/** @internal */ -export const Link1$outboundSchema: z.ZodType< - Link1$Outbound, - z.ZodTypeDef, - Link1 -> = z.object({ - org: z.string().optional(), - repoOwnerId: z.number().optional(), - repo: z.string().optional(), - repoId: z.number().optional(), - type: LinkType$outboundSchema.optional(), - createdAt: z.number().optional(), - deployHooks: z.array(z.lazy(() => DeployHooks$outboundSchema)), - gitCredentialId: z.string().optional(), - updatedAt: z.number().optional(), - sourceless: z.boolean().optional(), - productionBranch: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Link1$ { - /** @deprecated use `Link1$inboundSchema` instead. */ - export const inboundSchema = Link1$inboundSchema; - /** @deprecated use `Link1$outboundSchema` instead. */ - export const outboundSchema = Link1$outboundSchema; - /** @deprecated use `Link1$Outbound` instead. */ - export type Outbound = Link1$Outbound; -} - -export function link1ToJSON(link1: Link1): string { - return JSON.stringify(Link1$outboundSchema.parse(link1)); -} - -export function link1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Link1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Link1' from JSON`, - ); -} - -/** @internal */ -export const Link$inboundSchema: z.ZodType = z - .union([ - z.lazy(() => Link1$inboundSchema), - z.lazy(() => Link3$inboundSchema), - z.lazy(() => Link2$inboundSchema), - ]); - -/** @internal */ -export type Link$Outbound = Link1$Outbound | Link3$Outbound | Link2$Outbound; - -/** @internal */ -export const Link$outboundSchema: z.ZodType = - z.union([ - z.lazy(() => Link1$outboundSchema), - z.lazy(() => Link3$outboundSchema), - z.lazy(() => Link2$outboundSchema), - ]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Link$ { - /** @deprecated use `Link$inboundSchema` instead. */ - export const inboundSchema = Link$inboundSchema; - /** @deprecated use `Link$outboundSchema` instead. */ - export const outboundSchema = Link$outboundSchema; - /** @deprecated use `Link$Outbound` instead. */ - export type Outbound = Link$Outbound; -} - -export function linkToJSON(link: Link): string { - return JSON.stringify(Link$outboundSchema.parse(link)); -} - -export function linkFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Link$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Link' from JSON`, - ); -} - -/** @internal */ -export const Microfrontends$inboundSchema: z.ZodType< - Microfrontends, - z.ZodTypeDef, - unknown -> = z.object({ - updatedAt: z.number(), - groupIds: z.array(z.string()), - enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), -}); - -/** @internal */ -export type Microfrontends$Outbound = { - updatedAt: number; - groupIds: Array; - enabled: boolean; - isDefaultApp?: boolean | undefined; - defaultRoute?: string | undefined; -}; - -/** @internal */ -export const Microfrontends$outboundSchema: z.ZodType< - Microfrontends$Outbound, - z.ZodTypeDef, - Microfrontends -> = z.object({ - updatedAt: z.number(), - groupIds: z.array(z.string()), - enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Microfrontends$ { - /** @deprecated use `Microfrontends$inboundSchema` instead. */ - export const inboundSchema = Microfrontends$inboundSchema; - /** @deprecated use `Microfrontends$outboundSchema` instead. */ - export const outboundSchema = Microfrontends$outboundSchema; - /** @deprecated use `Microfrontends$Outbound` instead. */ - export type Outbound = Microfrontends$Outbound; -} - -export function microfrontendsToJSON(microfrontends: Microfrontends): string { - return JSON.stringify(Microfrontends$outboundSchema.parse(microfrontends)); -} - -export function microfrontendsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Microfrontends$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Microfrontends' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheNodeVersion$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheNodeVersion -> = z.nativeEnum(UpdateProjectDataCacheNodeVersion); - -/** @internal */ -export const UpdateProjectDataCacheNodeVersion$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheNodeVersion -> = UpdateProjectDataCacheNodeVersion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheNodeVersion$ { - /** @deprecated use `UpdateProjectDataCacheNodeVersion$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheNodeVersion$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheNodeVersion$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheNodeVersion$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCachePaths$inboundSchema: z.ZodType< - UpdateProjectDataCachePaths, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.string(), -}); - -/** @internal */ -export type UpdateProjectDataCachePaths$Outbound = { - value: string; -}; - -/** @internal */ -export const UpdateProjectDataCachePaths$outboundSchema: z.ZodType< - UpdateProjectDataCachePaths$Outbound, - z.ZodTypeDef, - UpdateProjectDataCachePaths -> = z.object({ - value: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCachePaths$ { - /** @deprecated use `UpdateProjectDataCachePaths$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCachePaths$inboundSchema; - /** @deprecated use `UpdateProjectDataCachePaths$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCachePaths$outboundSchema; - /** @deprecated use `UpdateProjectDataCachePaths$Outbound` instead. */ - export type Outbound = UpdateProjectDataCachePaths$Outbound; -} - -export function updateProjectDataCachePathsToJSON( - updateProjectDataCachePaths: UpdateProjectDataCachePaths, -): string { - return JSON.stringify( - UpdateProjectDataCachePaths$outboundSchema.parse( - updateProjectDataCachePaths, - ), - ); -} - -export function updateProjectDataCachePathsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDataCachePaths$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCachePaths' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheOptionsAllowlist$inboundSchema: z.ZodType< - UpdateProjectDataCacheOptionsAllowlist, - z.ZodTypeDef, - unknown -> = z.object({ - paths: z.array(z.lazy(() => UpdateProjectDataCachePaths$inboundSchema)), -}); - -/** @internal */ -export type UpdateProjectDataCacheOptionsAllowlist$Outbound = { - paths: Array; -}; - -/** @internal */ -export const UpdateProjectDataCacheOptionsAllowlist$outboundSchema: z.ZodType< - UpdateProjectDataCacheOptionsAllowlist$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheOptionsAllowlist -> = z.object({ - paths: z.array(z.lazy(() => UpdateProjectDataCachePaths$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheOptionsAllowlist$ { - /** @deprecated use `UpdateProjectDataCacheOptionsAllowlist$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheOptionsAllowlist$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheOptionsAllowlist$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheOptionsAllowlist$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheOptionsAllowlist$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheOptionsAllowlist$Outbound; -} - -export function updateProjectDataCacheOptionsAllowlistToJSON( - updateProjectDataCacheOptionsAllowlist: - UpdateProjectDataCacheOptionsAllowlist, -): string { - return JSON.stringify( - UpdateProjectDataCacheOptionsAllowlist$outboundSchema.parse( - updateProjectDataCacheOptionsAllowlist, - ), - ); -} - -export function updateProjectDataCacheOptionsAllowlistFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCacheOptionsAllowlist$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheOptionsAllowlist' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCachePasswordProtection$inboundSchema: z.ZodType< - UpdateProjectDataCachePasswordProtection, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UpdateProjectDataCachePasswordProtection$Outbound = {}; - -/** @internal */ -export const UpdateProjectDataCachePasswordProtection$outboundSchema: z.ZodType< - UpdateProjectDataCachePasswordProtection$Outbound, - z.ZodTypeDef, - UpdateProjectDataCachePasswordProtection -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCachePasswordProtection$ { - /** @deprecated use `UpdateProjectDataCachePasswordProtection$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCachePasswordProtection$inboundSchema; - /** @deprecated use `UpdateProjectDataCachePasswordProtection$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCachePasswordProtection$outboundSchema; - /** @deprecated use `UpdateProjectDataCachePasswordProtection$Outbound` instead. */ - export type Outbound = UpdateProjectDataCachePasswordProtection$Outbound; -} - -export function updateProjectDataCachePasswordProtectionToJSON( - updateProjectDataCachePasswordProtection: - UpdateProjectDataCachePasswordProtection, -): string { - return JSON.stringify( - UpdateProjectDataCachePasswordProtection$outboundSchema.parse( - updateProjectDataCachePasswordProtection, - ), - ); -} - -export function updateProjectDataCachePasswordProtectionFromJSON( - jsonString: string, -): SafeParseResult< - UpdateProjectDataCachePasswordProtection, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCachePasswordProtection$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateProjectDataCachePasswordProtection' from JSON`, - ); -} - -/** @internal */ -export const FunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum< - typeof FunctionDefaultMemoryType -> = z.nativeEnum(FunctionDefaultMemoryType); - -/** @internal */ -export const FunctionDefaultMemoryType$outboundSchema: z.ZodNativeEnum< - typeof FunctionDefaultMemoryType -> = FunctionDefaultMemoryType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FunctionDefaultMemoryType$ { - /** @deprecated use `FunctionDefaultMemoryType$inboundSchema` instead. */ - export const inboundSchema = FunctionDefaultMemoryType$inboundSchema; - /** @deprecated use `FunctionDefaultMemoryType$outboundSchema` instead. */ - export const outboundSchema = FunctionDefaultMemoryType$outboundSchema; -} - -/** @internal */ -export const ResourceConfig$inboundSchema: z.ZodType< - ResourceConfig, - z.ZodTypeDef, - unknown -> = z.object({ - functionDefaultTimeout: z.number().optional(), - functionDefaultMemoryType: FunctionDefaultMemoryType$inboundSchema.optional(), - allowServerlessConcurrency: z.boolean().optional(), - elasticConcurrencyEnabled: z.boolean().optional(), -}); - -/** @internal */ -export type ResourceConfig$Outbound = { - functionDefaultTimeout?: number | undefined; - functionDefaultMemoryType?: string | undefined; - allowServerlessConcurrency?: boolean | undefined; - elasticConcurrencyEnabled?: boolean | undefined; -}; - -/** @internal */ -export const ResourceConfig$outboundSchema: z.ZodType< - ResourceConfig$Outbound, - z.ZodTypeDef, - ResourceConfig -> = z.object({ - functionDefaultTimeout: z.number().optional(), - functionDefaultMemoryType: FunctionDefaultMemoryType$outboundSchema - .optional(), - allowServerlessConcurrency: z.boolean().optional(), - elasticConcurrencyEnabled: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResourceConfig$ { - /** @deprecated use `ResourceConfig$inboundSchema` instead. */ - export const inboundSchema = ResourceConfig$inboundSchema; - /** @deprecated use `ResourceConfig$outboundSchema` instead. */ - export const outboundSchema = ResourceConfig$outboundSchema; - /** @deprecated use `ResourceConfig$Outbound` instead. */ - export type Outbound = ResourceConfig$Outbound; -} - -export function resourceConfigToJSON(resourceConfig: ResourceConfig): string { - return JSON.stringify(ResourceConfig$outboundSchema.parse(resourceConfig)); -} - -export function resourceConfigFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ResourceConfig$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResourceConfig' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheDeploymentType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectDataCacheDeploymentType, - ); - -/** @internal */ -export const UpdateProjectDataCacheDeploymentType$outboundSchema: - z.ZodNativeEnum = - UpdateProjectDataCacheDeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheDeploymentType$ { - /** @deprecated use `UpdateProjectDataCacheDeploymentType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheDeploymentType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheDeploymentType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheDeploymentType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheSsoProtection$inboundSchema: z.ZodType< - UpdateProjectDataCacheSsoProtection, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentType: UpdateProjectDataCacheDeploymentType$inboundSchema, -}); - -/** @internal */ -export type UpdateProjectDataCacheSsoProtection$Outbound = { - deploymentType: string; -}; - -/** @internal */ -export const UpdateProjectDataCacheSsoProtection$outboundSchema: z.ZodType< - UpdateProjectDataCacheSsoProtection$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheSsoProtection -> = z.object({ - deploymentType: UpdateProjectDataCacheDeploymentType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheSsoProtection$ { - /** @deprecated use `UpdateProjectDataCacheSsoProtection$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheSsoProtection$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheSsoProtection$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheSsoProtection$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheSsoProtection$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheSsoProtection$Outbound; -} - -export function updateProjectDataCacheSsoProtectionToJSON( - updateProjectDataCacheSsoProtection: UpdateProjectDataCacheSsoProtection, -): string { - return JSON.stringify( - UpdateProjectDataCacheSsoProtection$outboundSchema.parse( - updateProjectDataCacheSsoProtection, - ), - ); -} - -export function updateProjectDataCacheSsoProtectionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCacheSsoProtection$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheSsoProtection' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheAliasAssigned$inboundSchema: z.ZodType< - UpdateProjectDataCacheAliasAssigned, - z.ZodTypeDef, - unknown -> = z.union([z.number(), z.boolean()]); - -/** @internal */ -export type UpdateProjectDataCacheAliasAssigned$Outbound = number | boolean; - -/** @internal */ -export const UpdateProjectDataCacheAliasAssigned$outboundSchema: z.ZodType< - UpdateProjectDataCacheAliasAssigned$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheAliasAssigned -> = z.union([z.number(), z.boolean()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheAliasAssigned$ { - /** @deprecated use `UpdateProjectDataCacheAliasAssigned$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheAliasAssigned$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheAliasAssigned$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheAliasAssigned$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheAliasAssigned$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheAliasAssigned$Outbound; -} - -export function updateProjectDataCacheAliasAssignedToJSON( - updateProjectDataCacheAliasAssigned: UpdateProjectDataCacheAliasAssigned, -): string { - return JSON.stringify( - UpdateProjectDataCacheAliasAssigned$outboundSchema.parse( - updateProjectDataCacheAliasAssigned, - ), - ); -} - -export function updateProjectDataCacheAliasAssignedFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCacheAliasAssigned$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheAliasAssigned' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheAliasError$inboundSchema: z.ZodType< - UpdateProjectDataCacheAliasError, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** @internal */ -export type UpdateProjectDataCacheAliasError$Outbound = { - code: string; - message: string; -}; - -/** @internal */ -export const UpdateProjectDataCacheAliasError$outboundSchema: z.ZodType< - UpdateProjectDataCacheAliasError$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheAliasError -> = z.object({ - code: z.string(), - message: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheAliasError$ { - /** @deprecated use `UpdateProjectDataCacheAliasError$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheAliasError$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheAliasError$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheAliasError$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheAliasError$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheAliasError$Outbound; -} - -export function updateProjectDataCacheAliasErrorToJSON( - updateProjectDataCacheAliasError: UpdateProjectDataCacheAliasError, -): string { - return JSON.stringify( - UpdateProjectDataCacheAliasError$outboundSchema.parse( - updateProjectDataCacheAliasError, - ), - ); -} - -export function updateProjectDataCacheAliasErrorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDataCacheAliasError$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheAliasError' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType - > = z.nativeEnum( - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType, - ); - -/** @internal */ -export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType - > = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$ { - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheBranchMatcher$inboundSchema: z.ZodType< - UpdateProjectDataCacheBranchMatcher, - z.ZodTypeDef, - unknown -> = z.object({ - type: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, - pattern: z.string(), -}); - -/** @internal */ -export type UpdateProjectDataCacheBranchMatcher$Outbound = { - type: string; - pattern: string; -}; - -/** @internal */ -export const UpdateProjectDataCacheBranchMatcher$outboundSchema: z.ZodType< - UpdateProjectDataCacheBranchMatcher$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheBranchMatcher -> = z.object({ - type: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema, - pattern: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheBranchMatcher$ { - /** @deprecated use `UpdateProjectDataCacheBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheBranchMatcher$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheBranchMatcher$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheBranchMatcher$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheBranchMatcher$Outbound; -} - -export function updateProjectDataCacheBranchMatcherToJSON( - updateProjectDataCacheBranchMatcher: UpdateProjectDataCacheBranchMatcher, -): string { - return JSON.stringify( - UpdateProjectDataCacheBranchMatcher$outboundSchema.parse( - updateProjectDataCacheBranchMatcher, - ), - ); -} - -export function updateProjectDataCacheBranchMatcherFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCacheBranchMatcher$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheBranchMatcher' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheBuilds$inboundSchema: z.ZodType< - UpdateProjectDataCacheBuilds, - z.ZodTypeDef, - unknown -> = z.object({ - use: z.string(), - src: z.string().optional(), - dest: z.string().optional(), -}); - -/** @internal */ -export type UpdateProjectDataCacheBuilds$Outbound = { - use: string; - src?: string | undefined; - dest?: string | undefined; -}; - -/** @internal */ -export const UpdateProjectDataCacheBuilds$outboundSchema: z.ZodType< - UpdateProjectDataCacheBuilds$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheBuilds -> = z.object({ - use: z.string(), - src: z.string().optional(), - dest: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheBuilds$ { - /** @deprecated use `UpdateProjectDataCacheBuilds$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheBuilds$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheBuilds$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheBuilds$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheBuilds$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheBuilds$Outbound; -} - -export function updateProjectDataCacheBuildsToJSON( - updateProjectDataCacheBuilds: UpdateProjectDataCacheBuilds, -): string { - return JSON.stringify( - UpdateProjectDataCacheBuilds$outboundSchema.parse( - updateProjectDataCacheBuilds, - ), - ); -} - -export function updateProjectDataCacheBuildsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDataCacheBuilds$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheBuilds' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheChecksConclusion$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectDataCacheChecksConclusion, - ); - -/** @internal */ -export const UpdateProjectDataCacheChecksConclusion$outboundSchema: - z.ZodNativeEnum = - UpdateProjectDataCacheChecksConclusion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheChecksConclusion$ { - /** @deprecated use `UpdateProjectDataCacheChecksConclusion$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheChecksConclusion$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheChecksConclusion$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheChecksConclusion$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheChecksState$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheChecksState -> = z.nativeEnum(UpdateProjectDataCacheChecksState); - -/** @internal */ -export const UpdateProjectDataCacheChecksState$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheChecksState -> = UpdateProjectDataCacheChecksState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheChecksState$ { - /** @deprecated use `UpdateProjectDataCacheChecksState$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheChecksState$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheChecksState$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheChecksState$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheCreator$inboundSchema: z.ZodType< - UpdateProjectDataCacheCreator, - z.ZodTypeDef, - unknown -> = z.object({ - email: z.string(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), - uid: z.string(), - username: z.string(), -}); - -/** @internal */ -export type UpdateProjectDataCacheCreator$Outbound = { - email: string; - githubLogin?: string | undefined; - gitlabLogin?: string | undefined; - uid: string; - username: string; -}; - -/** @internal */ -export const UpdateProjectDataCacheCreator$outboundSchema: z.ZodType< - UpdateProjectDataCacheCreator$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheCreator -> = z.object({ - email: z.string(), - githubLogin: z.string().optional(), - gitlabLogin: z.string().optional(), - uid: z.string(), - username: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheCreator$ { - /** @deprecated use `UpdateProjectDataCacheCreator$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheCreator$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheCreator$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheCreator$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheCreator$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheCreator$Outbound; -} - -export function updateProjectDataCacheCreatorToJSON( - updateProjectDataCacheCreator: UpdateProjectDataCacheCreator, -): string { - return JSON.stringify( - UpdateProjectDataCacheCreator$outboundSchema.parse( - updateProjectDataCacheCreator, - ), - ); -} - -export function updateProjectDataCacheCreatorFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDataCacheCreator$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheCreator' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheOidcTokenClaims$inboundSchema: z.ZodType< - UpdateProjectDataCacheOidcTokenClaims, - z.ZodTypeDef, - unknown -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - owner_id: z.string(), - project: z.string(), - project_id: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); - -/** @internal */ -export type UpdateProjectDataCacheOidcTokenClaims$Outbound = { - iss: string; - sub: string; - scope: string; - aud: string; - owner: string; - owner_id: string; - project: string; - project_id: string; - environment: string; -}; - -/** @internal */ -export const UpdateProjectDataCacheOidcTokenClaims$outboundSchema: z.ZodType< - UpdateProjectDataCacheOidcTokenClaims$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheOidcTokenClaims -> = z.object({ - iss: z.string(), - sub: z.string(), - scope: z.string(), - aud: z.string(), - owner: z.string(), - ownerId: z.string(), - project: z.string(), - projectId: z.string(), - environment: z.string(), -}).transform((v) => { - return remap$(v, { - ownerId: "owner_id", - projectId: "project_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheOidcTokenClaims$ { - /** @deprecated use `UpdateProjectDataCacheOidcTokenClaims$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheOidcTokenClaims$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheOidcTokenClaims$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheOidcTokenClaims$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheOidcTokenClaims$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheOidcTokenClaims$Outbound; -} - -export function updateProjectDataCacheOidcTokenClaimsToJSON( - updateProjectDataCacheOidcTokenClaims: UpdateProjectDataCacheOidcTokenClaims, -): string { - return JSON.stringify( - UpdateProjectDataCacheOidcTokenClaims$outboundSchema.parse( - updateProjectDataCacheOidcTokenClaims, - ), - ); -} - -export function updateProjectDataCacheOidcTokenClaimsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCacheOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheOidcTokenClaims' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCachePlan$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCachePlan -> = z.nativeEnum(UpdateProjectDataCachePlan); - -/** @internal */ -export const UpdateProjectDataCachePlan$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCachePlan -> = UpdateProjectDataCachePlan$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCachePlan$ { - /** @deprecated use `UpdateProjectDataCachePlan$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCachePlan$inboundSchema; - /** @deprecated use `UpdateProjectDataCachePlan$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCachePlan$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheReadyState$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheReadyState -> = z.nativeEnum(UpdateProjectDataCacheReadyState); - -/** @internal */ -export const UpdateProjectDataCacheReadyState$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheReadyState -> = UpdateProjectDataCacheReadyState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheReadyState$ { - /** @deprecated use `UpdateProjectDataCacheReadyState$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheReadyState$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheReadyState$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheReadyState$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheReadySubstate$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheReadySubstate -> = z.nativeEnum(UpdateProjectDataCacheReadySubstate); - -/** @internal */ -export const UpdateProjectDataCacheReadySubstate$outboundSchema: - z.ZodNativeEnum = - UpdateProjectDataCacheReadySubstate$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheReadySubstate$ { - /** @deprecated use `UpdateProjectDataCacheReadySubstate$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheReadySubstate$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheReadySubstate$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheReadySubstate$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsType$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheProjectsType -> = z.nativeEnum(UpdateProjectDataCacheProjectsType); - -/** @internal */ -export const UpdateProjectDataCacheProjectsType$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheProjectsType -> = UpdateProjectDataCacheProjectsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsType$ { - /** @deprecated use `UpdateProjectDataCacheProjectsType$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheProjectsType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsType$outboundSchema; -} - -/** @internal */ -export const Targets$inboundSchema: z.ZodType = - z.object({ - id: z.string(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - aliasError: z.nullable( - z.lazy(() => UpdateProjectDataCacheAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - branchMatcher: z.lazy(() => - UpdateProjectDataCacheBranchMatcher$inboundSchema - ).optional(), - buildingAt: z.number().optional(), - builds: z.array(z.lazy(() => UpdateProjectDataCacheBuilds$inboundSchema)) - .optional(), - checksConclusion: UpdateProjectDataCacheChecksConclusion$inboundSchema - .optional(), - checksState: UpdateProjectDataCacheChecksState$inboundSchema.optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdAt: z.number(), - createdIn: z.string(), - creator: z.nullable( - z.lazy(() => UpdateProjectDataCacheCreator$inboundSchema), - ), - deletedAt: z.number().optional(), - deploymentHostname: z.string(), - forced: z.boolean().optional(), - name: z.string(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - oidcTokenClaims: z.lazy(() => - UpdateProjectDataCacheOidcTokenClaims$inboundSchema - ).optional(), - plan: UpdateProjectDataCachePlan$inboundSchema, - previewCommentsEnabled: z.boolean().optional(), - private: z.boolean(), - readyAt: z.number().optional(), - readyState: UpdateProjectDataCacheReadyState$inboundSchema, - readySubstate: UpdateProjectDataCacheReadySubstate$inboundSchema.optional(), - requestedAt: z.number().optional(), - target: z.nullable(z.string()).optional(), - teamId: z.nullable(z.string()).optional(), - type: UpdateProjectDataCacheProjectsType$inboundSchema, - url: z.string(), - userId: z.string(), - withCache: z.boolean().optional(), - }); - -/** @internal */ -export type Targets$Outbound = { - id: string; - alias?: Array | undefined; - aliasAssigned?: number | boolean | null | undefined; - aliasError?: UpdateProjectDataCacheAliasError$Outbound | null | undefined; - aliasFinal?: string | null | undefined; - automaticAliases?: Array | undefined; - branchMatcher?: UpdateProjectDataCacheBranchMatcher$Outbound | undefined; - buildingAt?: number | undefined; - builds?: Array | undefined; - checksConclusion?: string | undefined; - checksState?: string | undefined; - connectBuildsEnabled?: boolean | undefined; - connectConfigurationId?: string | undefined; - createdAt: number; - createdIn: string; - creator: UpdateProjectDataCacheCreator$Outbound | null; - deletedAt?: number | undefined; - deploymentHostname: string; - forced?: boolean | undefined; - name: string; - meta?: { [k: string]: string } | undefined; - monorepoManager?: string | null | undefined; - oidcTokenClaims?: UpdateProjectDataCacheOidcTokenClaims$Outbound | undefined; - plan: string; - previewCommentsEnabled?: boolean | undefined; - private: boolean; - readyAt?: number | undefined; - readyState: string; - readySubstate?: string | undefined; - requestedAt?: number | undefined; - target?: string | null | undefined; - teamId?: string | null | undefined; - type: string; - url: string; - userId: string; - withCache?: boolean | undefined; -}; - -/** @internal */ -export const Targets$outboundSchema: z.ZodType< - Targets$Outbound, - z.ZodTypeDef, - Targets -> = z.object({ - id: z.string(), - alias: z.array(z.string()).optional(), - aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), - aliasError: z.nullable( - z.lazy(() => UpdateProjectDataCacheAliasError$outboundSchema), - ).optional(), - aliasFinal: z.nullable(z.string()).optional(), - automaticAliases: z.array(z.string()).optional(), - branchMatcher: z.lazy(() => - UpdateProjectDataCacheBranchMatcher$outboundSchema - ).optional(), - buildingAt: z.number().optional(), - builds: z.array(z.lazy(() => UpdateProjectDataCacheBuilds$outboundSchema)) - .optional(), - checksConclusion: UpdateProjectDataCacheChecksConclusion$outboundSchema - .optional(), - checksState: UpdateProjectDataCacheChecksState$outboundSchema.optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdAt: z.number(), - createdIn: z.string(), - creator: z.nullable( - z.lazy(() => UpdateProjectDataCacheCreator$outboundSchema), - ), - deletedAt: z.number().optional(), - deploymentHostname: z.string(), - forced: z.boolean().optional(), - name: z.string(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - oidcTokenClaims: z.lazy(() => - UpdateProjectDataCacheOidcTokenClaims$outboundSchema - ).optional(), - plan: UpdateProjectDataCachePlan$outboundSchema, - previewCommentsEnabled: z.boolean().optional(), - private: z.boolean(), - readyAt: z.number().optional(), - readyState: UpdateProjectDataCacheReadyState$outboundSchema, - readySubstate: UpdateProjectDataCacheReadySubstate$outboundSchema.optional(), - requestedAt: z.number().optional(), - target: z.nullable(z.string()).optional(), - teamId: z.nullable(z.string()).optional(), - type: UpdateProjectDataCacheProjectsType$outboundSchema, - url: z.string(), - userId: z.string(), - withCache: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Targets$ { - /** @deprecated use `Targets$inboundSchema` instead. */ - export const inboundSchema = Targets$inboundSchema; - /** @deprecated use `Targets$outboundSchema` instead. */ - export const outboundSchema = Targets$outboundSchema; - /** @deprecated use `Targets$Outbound` instead. */ - export type Outbound = Targets$Outbound; -} - -export function targetsToJSON(targets: Targets): string { - return JSON.stringify(Targets$outboundSchema.parse(targets)); -} - -export function targetsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Targets$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Targets' from JSON`, - ); -} - -/** @internal */ -export const Permissions$inboundSchema: z.ZodType< - Permissions, - z.ZodTypeDef, - unknown -> = z.object({ - accessGroup: z.array(ACLAction$inboundSchema).optional(), - aliasGlobal: z.array(ACLAction$inboundSchema).optional(), - analyticsSampling: z.array(ACLAction$inboundSchema).optional(), - analyticsUsage: z.array(ACLAction$inboundSchema).optional(), - auditLog: z.array(ACLAction$inboundSchema).optional(), - billingAddress: z.array(ACLAction$inboundSchema).optional(), - billingInformation: z.array(ACLAction$inboundSchema).optional(), - billingInvoice: z.array(ACLAction$inboundSchema).optional(), - billingInvoiceEmailRecipient: z.array(ACLAction$inboundSchema).optional(), - billingInvoiceLanguage: z.array(ACLAction$inboundSchema).optional(), - billingPlan: z.array(ACLAction$inboundSchema).optional(), - billingPurchaseOrder: z.array(ACLAction$inboundSchema).optional(), - billingTaxId: z.array(ACLAction$inboundSchema).optional(), - blob: z.array(ACLAction$inboundSchema).optional(), - budget: z.array(ACLAction$inboundSchema).optional(), - cacheArtifact: z.array(ACLAction$inboundSchema).optional(), - cacheArtifactUsageEvent: z.array(ACLAction$inboundSchema).optional(), - codeChecks: z.array(ACLAction$inboundSchema).optional(), - concurrentBuilds: z.array(ACLAction$inboundSchema).optional(), - connect: z.array(ACLAction$inboundSchema).optional(), - connectConfiguration: z.array(ACLAction$inboundSchema).optional(), - domain: z.array(ACLAction$inboundSchema).optional(), - domainAcceptDelegation: z.array(ACLAction$inboundSchema).optional(), - domainAuthCodes: z.array(ACLAction$inboundSchema).optional(), - domainCertificate: z.array(ACLAction$inboundSchema).optional(), - domainCheckConfig: z.array(ACLAction$inboundSchema).optional(), - domainMove: z.array(ACLAction$inboundSchema).optional(), - domainPurchase: z.array(ACLAction$inboundSchema).optional(), - domainRecord: z.array(ACLAction$inboundSchema).optional(), - domainTransferIn: z.array(ACLAction$inboundSchema).optional(), - event: z.array(ACLAction$inboundSchema).optional(), - ownEvent: z.array(ACLAction$inboundSchema).optional(), - sensitiveEnvironmentVariablePolicy: z.array(ACLAction$inboundSchema) - .optional(), - fileUpload: z.array(ACLAction$inboundSchema).optional(), - gitRepository: z.array(ACLAction$inboundSchema).optional(), - ipBlocking: z.array(ACLAction$inboundSchema).optional(), - integration: z.array(ACLAction$inboundSchema).optional(), - integrationAccount: z.array(ACLAction$inboundSchema).optional(), - integrationConfiguration: z.array(ACLAction$inboundSchema).optional(), - integrationConfigurationTransfer: z.array(ACLAction$inboundSchema).optional(), - integrationConfigurationProjects: z.array(ACLAction$inboundSchema).optional(), - integrationVercelConfigurationOverride: z.array(ACLAction$inboundSchema) - .optional(), - integrationConfigurationRole: z.array(ACLAction$inboundSchema).optional(), - integrationResource: z.array(ACLAction$inboundSchema).optional(), - integrationEvent: z.array(ACLAction$inboundSchema).optional(), - integrationResourceSecrets: z.array(ACLAction$inboundSchema).optional(), - integrationDeploymentAction: z.array(ACLAction$inboundSchema).optional(), - marketplaceInstallationMember: z.array(ACLAction$inboundSchema).optional(), - marketplaceBillingData: z.array(ACLAction$inboundSchema).optional(), - marketplaceInvoice: z.array(ACLAction$inboundSchema).optional(), - jobGlobal: z.array(ACLAction$inboundSchema).optional(), - logDrain: z.array(ACLAction$inboundSchema).optional(), - Monitoring: z.array(ACLAction$inboundSchema).optional(), - monitoringSettings: z.array(ACLAction$inboundSchema).optional(), - monitoringQuery: z.array(ACLAction$inboundSchema).optional(), - monitoringChart: z.array(ACLAction$inboundSchema).optional(), - monitoringAlert: z.array(ACLAction$inboundSchema).optional(), - notificationDeploymentFailed: z.array(ACLAction$inboundSchema).optional(), - notificationDomainConfiguration: z.array(ACLAction$inboundSchema).optional(), - notificationDomainExpire: z.array(ACLAction$inboundSchema).optional(), - notificationDomainMoved: z.array(ACLAction$inboundSchema).optional(), - notificationDomainPurchase: z.array(ACLAction$inboundSchema).optional(), - notificationDomainRenewal: z.array(ACLAction$inboundSchema).optional(), - notificationDomainTransfer: z.array(ACLAction$inboundSchema).optional(), - notificationDomainUnverified: z.array(ACLAction$inboundSchema).optional(), - NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(), - notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(), - notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(), - notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), - notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(), - oauth2Connection: z.array(ACLAction$inboundSchema).optional(), - observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(), - openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(), - paymentMethod: z.array(ACLAction$inboundSchema).optional(), - permissions: z.array(ACLAction$inboundSchema).optional(), - postgres: z.array(ACLAction$inboundSchema).optional(), - previewDeploymentSuffix: z.array(ACLAction$inboundSchema).optional(), - proTrialOnboarding: z.array(ACLAction$inboundSchema).optional(), - sharedEnvVars: z.array(ACLAction$inboundSchema).optional(), - sharedEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(), - space: z.array(ACLAction$inboundSchema).optional(), - spaceRun: z.array(ACLAction$inboundSchema).optional(), - passwordProtectionInvoiceItem: z.array(ACLAction$inboundSchema).optional(), - rateLimit: z.array(ACLAction$inboundSchema).optional(), - redis: z.array(ACLAction$inboundSchema).optional(), - repository: z.array(ACLAction$inboundSchema).optional(), - remoteCaching: z.array(ACLAction$inboundSchema).optional(), - samlConfig: z.array(ACLAction$inboundSchema).optional(), - secret: z.array(ACLAction$inboundSchema).optional(), - redisStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), - blobStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), - postgresStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), - integrationStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), - integrationResourceReplCommand: z.array(ACLAction$inboundSchema).optional(), - storeTransfer: z.array(ACLAction$inboundSchema).optional(), - supportCase: z.array(ACLAction$inboundSchema).optional(), - supportCaseComment: z.array(ACLAction$inboundSchema).optional(), - dataCacheBillingSettings: z.array(ACLAction$inboundSchema).optional(), - team: z.array(ACLAction$inboundSchema).optional(), - teamAccessRequest: z.array(ACLAction$inboundSchema).optional(), - teamFellowMembership: z.array(ACLAction$inboundSchema).optional(), - teamGitExclusivity: z.array(ACLAction$inboundSchema).optional(), - teamInvite: z.array(ACLAction$inboundSchema).optional(), - teamInviteCode: z.array(ACLAction$inboundSchema).optional(), - teamJoin: z.array(ACLAction$inboundSchema).optional(), - teamMicrofrontends: z.array(ACLAction$inboundSchema).optional(), - teamOwnMembership: z.array(ACLAction$inboundSchema).optional(), - teamOwnMembershipDisconnectSAML: z.array(ACLAction$inboundSchema).optional(), - token: z.array(ACLAction$inboundSchema).optional(), - usage: z.array(ACLAction$inboundSchema).optional(), - usageCycle: z.array(ACLAction$inboundSchema).optional(), - user: z.array(ACLAction$inboundSchema).optional(), - userConnection: z.array(ACLAction$inboundSchema).optional(), - vpcPeeringConnection: z.array(ACLAction$inboundSchema).optional(), - webAnalyticsPlan: z.array(ACLAction$inboundSchema).optional(), - webAuthn: z.array(ACLAction$inboundSchema).optional(), - edgeConfig: z.array(ACLAction$inboundSchema).optional(), - edgeConfigItem: z.array(ACLAction$inboundSchema).optional(), - edgeConfigSchema: z.array(ACLAction$inboundSchema).optional(), - edgeConfigToken: z.array(ACLAction$inboundSchema).optional(), - webhook: z.array(ACLAction$inboundSchema).optional(), - "webhook-event": z.array(ACLAction$inboundSchema).optional(), - endpointVerification: z.array(ACLAction$inboundSchema).optional(), - projectTransferIn: z.array(ACLAction$inboundSchema).optional(), - oauth2Application: z.array(ACLAction$inboundSchema).optional(), - aliasProject: z.array(ACLAction$inboundSchema).optional(), - aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), - productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), - connectConfigurationLink: z.array(ACLAction$inboundSchema).optional(), - dataCacheNamespace: z.array(ACLAction$inboundSchema).optional(), - deployment: z.array(ACLAction$inboundSchema).optional(), - deploymentCheck: z.array(ACLAction$inboundSchema).optional(), - deploymentCheckPreview: z.array(ACLAction$inboundSchema).optional(), - deploymentCheckReRunFromProductionBranch: z.array(ACLAction$inboundSchema) - .optional(), - deploymentProductionGit: z.array(ACLAction$inboundSchema).optional(), - deploymentV0: z.array(ACLAction$inboundSchema).optional(), - deploymentPreview: z.array(ACLAction$inboundSchema).optional(), - deploymentPrivate: z.array(ACLAction$inboundSchema).optional(), - deploymentPromote: z.array(ACLAction$inboundSchema).optional(), - deploymentRollback: z.array(ACLAction$inboundSchema).optional(), - environments: z.array(ACLAction$inboundSchema).optional(), - logs: z.array(ACLAction$inboundSchema).optional(), - logsPreset: z.array(ACLAction$inboundSchema).optional(), - passwordProtection: z.array(ACLAction$inboundSchema).optional(), - optionsAllowlist: z.array(ACLAction$inboundSchema).optional(), - job: z.array(ACLAction$inboundSchema).optional(), - observabilityData: z.array(ACLAction$inboundSchema).optional(), - project: z.array(ACLAction$inboundSchema).optional(), - projectFromV0: z.array(ACLAction$inboundSchema).optional(), - projectAccessGroup: z.array(ACLAction$inboundSchema).optional(), - projectAnalyticsSampling: z.array(ACLAction$inboundSchema).optional(), - projectDeploymentHook: z.array(ACLAction$inboundSchema).optional(), - projectDomain: z.array(ACLAction$inboundSchema).optional(), - projectDomainMove: z.array(ACLAction$inboundSchema).optional(), - projectDomainCheckConfig: z.array(ACLAction$inboundSchema).optional(), - projectEnvVars: z.array(ACLAction$inboundSchema).optional(), - projectEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(), - projectEnvVarsUnownedByIntegration: z.array(ACLAction$inboundSchema) - .optional(), - projectFlags: z.array(ACLAction$inboundSchema).optional(), - projectId: z.array(ACLAction$inboundSchema).optional(), - projectIntegrationConfiguration: z.array(ACLAction$inboundSchema).optional(), - projectLink: z.array(ACLAction$inboundSchema).optional(), - projectMember: z.array(ACLAction$inboundSchema).optional(), - projectMonitoring: z.array(ACLAction$inboundSchema).optional(), - projectPermissions: z.array(ACLAction$inboundSchema).optional(), - projectProductionBranch: z.array(ACLAction$inboundSchema).optional(), - projectTransfer: z.array(ACLAction$inboundSchema).optional(), - projectTransferOut: z.array(ACLAction$inboundSchema).optional(), - projectProtectionBypass: z.array(ACLAction$inboundSchema).optional(), - projectUsage: z.array(ACLAction$inboundSchema).optional(), - projectAnalyticsUsage: z.array(ACLAction$inboundSchema).optional(), - projectSupportCase: z.array(ACLAction$inboundSchema).optional(), - projectSupportCaseComment: z.array(ACLAction$inboundSchema).optional(), - projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(), - projectTier: z.array(ACLAction$inboundSchema).optional(), - seawallConfig: z.array(ACLAction$inboundSchema).optional(), - skewProtection: z.array(ACLAction$inboundSchema).optional(), - analytics: z.array(ACLAction$inboundSchema).optional(), - trustedIps: z.array(ACLAction$inboundSchema).optional(), - webAnalytics: z.array(ACLAction$inboundSchema).optional(), - sharedEnvVarConnection: z.array(ACLAction$inboundSchema).optional(), - sonar: z.array(ACLAction$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "Monitoring": "monitoring", - "NotificationMonitoringAlert": "notificationMonitoringAlert", - "webhook-event": "webhookEvent", - }); -}); - -/** @internal */ -export type Permissions$Outbound = { - accessGroup?: Array | undefined; - aliasGlobal?: Array | undefined; - analyticsSampling?: Array | undefined; - analyticsUsage?: Array | undefined; - auditLog?: Array | undefined; - billingAddress?: Array | undefined; - billingInformation?: Array | undefined; - billingInvoice?: Array | undefined; - billingInvoiceEmailRecipient?: Array | undefined; - billingInvoiceLanguage?: Array | undefined; - billingPlan?: Array | undefined; - billingPurchaseOrder?: Array | undefined; - billingTaxId?: Array | undefined; - blob?: Array | undefined; - budget?: Array | undefined; - cacheArtifact?: Array | undefined; - cacheArtifactUsageEvent?: Array | undefined; - codeChecks?: Array | undefined; - concurrentBuilds?: Array | undefined; - connect?: Array | undefined; - connectConfiguration?: Array | undefined; - domain?: Array | undefined; - domainAcceptDelegation?: Array | undefined; - domainAuthCodes?: Array | undefined; - domainCertificate?: Array | undefined; - domainCheckConfig?: Array | undefined; - domainMove?: Array | undefined; - domainPurchase?: Array | undefined; - domainRecord?: Array | undefined; - domainTransferIn?: Array | undefined; - event?: Array | undefined; - ownEvent?: Array | undefined; - sensitiveEnvironmentVariablePolicy?: Array | undefined; - fileUpload?: Array | undefined; - gitRepository?: Array | undefined; - ipBlocking?: Array | undefined; - integration?: Array | undefined; - integrationAccount?: Array | undefined; - integrationConfiguration?: Array | undefined; - integrationConfigurationTransfer?: Array | undefined; - integrationConfigurationProjects?: Array | undefined; - integrationVercelConfigurationOverride?: Array | undefined; - integrationConfigurationRole?: Array | undefined; - integrationResource?: Array | undefined; - integrationEvent?: Array | undefined; - integrationResourceSecrets?: Array | undefined; - integrationDeploymentAction?: Array | undefined; - marketplaceInstallationMember?: Array | undefined; - marketplaceBillingData?: Array | undefined; - marketplaceInvoice?: Array | undefined; - jobGlobal?: Array | undefined; - logDrain?: Array | undefined; - Monitoring?: Array | undefined; - monitoringSettings?: Array | undefined; - monitoringQuery?: Array | undefined; - monitoringChart?: Array | undefined; - monitoringAlert?: Array | undefined; - notificationDeploymentFailed?: Array | undefined; - notificationDomainConfiguration?: Array | undefined; - notificationDomainExpire?: Array | undefined; - notificationDomainMoved?: Array | undefined; - notificationDomainPurchase?: Array | undefined; - notificationDomainRenewal?: Array | undefined; - notificationDomainTransfer?: Array | undefined; - notificationDomainUnverified?: Array | undefined; - NotificationMonitoringAlert?: Array | undefined; - notificationPaymentFailed?: Array | undefined; - notificationUsageAlert?: Array | undefined; - notificationCustomerBudget?: Array | undefined; - notificationStatementOfReasons?: Array | undefined; - oauth2Connection?: Array | undefined; - observabilityConfiguration?: Array | undefined; - openTelemetryEndpoint?: Array | undefined; - paymentMethod?: Array | undefined; - permissions?: Array | undefined; - postgres?: Array | undefined; - previewDeploymentSuffix?: Array | undefined; - proTrialOnboarding?: Array | undefined; - sharedEnvVars?: Array | undefined; - sharedEnvVarsProduction?: Array | undefined; - space?: Array | undefined; - spaceRun?: Array | undefined; - passwordProtectionInvoiceItem?: Array | undefined; - rateLimit?: Array | undefined; - redis?: Array | undefined; - repository?: Array | undefined; - remoteCaching?: Array | undefined; - samlConfig?: Array | undefined; - secret?: Array | undefined; - redisStoreTokenSet?: Array | undefined; - blobStoreTokenSet?: Array | undefined; - postgresStoreTokenSet?: Array | undefined; - integrationStoreTokenSet?: Array | undefined; - integrationResourceReplCommand?: Array | undefined; - storeTransfer?: Array | undefined; - supportCase?: Array | undefined; - supportCaseComment?: Array | undefined; - dataCacheBillingSettings?: Array | undefined; - team?: Array | undefined; - teamAccessRequest?: Array | undefined; - teamFellowMembership?: Array | undefined; - teamGitExclusivity?: Array | undefined; - teamInvite?: Array | undefined; - teamInviteCode?: Array | undefined; - teamJoin?: Array | undefined; - teamMicrofrontends?: Array | undefined; - teamOwnMembership?: Array | undefined; - teamOwnMembershipDisconnectSAML?: Array | undefined; - token?: Array | undefined; - usage?: Array | undefined; - usageCycle?: Array | undefined; - user?: Array | undefined; - userConnection?: Array | undefined; - vpcPeeringConnection?: Array | undefined; - webAnalyticsPlan?: Array | undefined; - webAuthn?: Array | undefined; - edgeConfig?: Array | undefined; - edgeConfigItem?: Array | undefined; - edgeConfigSchema?: Array | undefined; - edgeConfigToken?: Array | undefined; - webhook?: Array | undefined; - "webhook-event"?: Array | undefined; - endpointVerification?: Array | undefined; - projectTransferIn?: Array | undefined; - oauth2Application?: Array | undefined; - aliasProject?: Array | undefined; - aliasProtectionBypass?: Array | undefined; - productionAliasProtectionBypass?: Array | undefined; - connectConfigurationLink?: Array | undefined; - dataCacheNamespace?: Array | undefined; - deployment?: Array | undefined; - deploymentCheck?: Array | undefined; - deploymentCheckPreview?: Array | undefined; - deploymentCheckReRunFromProductionBranch?: Array | undefined; - deploymentProductionGit?: Array | undefined; - deploymentV0?: Array | undefined; - deploymentPreview?: Array | undefined; - deploymentPrivate?: Array | undefined; - deploymentPromote?: Array | undefined; - deploymentRollback?: Array | undefined; - environments?: Array | undefined; - logs?: Array | undefined; - logsPreset?: Array | undefined; - passwordProtection?: Array | undefined; - optionsAllowlist?: Array | undefined; - job?: Array | undefined; - observabilityData?: Array | undefined; - project?: Array | undefined; - projectFromV0?: Array | undefined; - projectAccessGroup?: Array | undefined; - projectAnalyticsSampling?: Array | undefined; - projectDeploymentHook?: Array | undefined; - projectDomain?: Array | undefined; - projectDomainMove?: Array | undefined; - projectDomainCheckConfig?: Array | undefined; - projectEnvVars?: Array | undefined; - projectEnvVarsProduction?: Array | undefined; - projectEnvVarsUnownedByIntegration?: Array | undefined; - projectFlags?: Array | undefined; - projectId?: Array | undefined; - projectIntegrationConfiguration?: Array | undefined; - projectLink?: Array | undefined; - projectMember?: Array | undefined; - projectMonitoring?: Array | undefined; - projectPermissions?: Array | undefined; - projectProductionBranch?: Array | undefined; - projectTransfer?: Array | undefined; - projectTransferOut?: Array | undefined; - projectProtectionBypass?: Array | undefined; - projectUsage?: Array | undefined; - projectAnalyticsUsage?: Array | undefined; - projectSupportCase?: Array | undefined; - projectSupportCaseComment?: Array | undefined; - projectDeploymentExpiration?: Array | undefined; - projectTier?: Array | undefined; - seawallConfig?: Array | undefined; - skewProtection?: Array | undefined; - analytics?: Array | undefined; - trustedIps?: Array | undefined; - webAnalytics?: Array | undefined; - sharedEnvVarConnection?: Array | undefined; - sonar?: Array | undefined; -}; - -/** @internal */ -export const Permissions$outboundSchema: z.ZodType< - Permissions$Outbound, - z.ZodTypeDef, - Permissions -> = z.object({ - accessGroup: z.array(ACLAction$outboundSchema).optional(), - aliasGlobal: z.array(ACLAction$outboundSchema).optional(), - analyticsSampling: z.array(ACLAction$outboundSchema).optional(), - analyticsUsage: z.array(ACLAction$outboundSchema).optional(), - auditLog: z.array(ACLAction$outboundSchema).optional(), - billingAddress: z.array(ACLAction$outboundSchema).optional(), - billingInformation: z.array(ACLAction$outboundSchema).optional(), - billingInvoice: z.array(ACLAction$outboundSchema).optional(), - billingInvoiceEmailRecipient: z.array(ACLAction$outboundSchema).optional(), - billingInvoiceLanguage: z.array(ACLAction$outboundSchema).optional(), - billingPlan: z.array(ACLAction$outboundSchema).optional(), - billingPurchaseOrder: z.array(ACLAction$outboundSchema).optional(), - billingTaxId: z.array(ACLAction$outboundSchema).optional(), - blob: z.array(ACLAction$outboundSchema).optional(), - budget: z.array(ACLAction$outboundSchema).optional(), - cacheArtifact: z.array(ACLAction$outboundSchema).optional(), - cacheArtifactUsageEvent: z.array(ACLAction$outboundSchema).optional(), - codeChecks: z.array(ACLAction$outboundSchema).optional(), - concurrentBuilds: z.array(ACLAction$outboundSchema).optional(), - connect: z.array(ACLAction$outboundSchema).optional(), - connectConfiguration: z.array(ACLAction$outboundSchema).optional(), - domain: z.array(ACLAction$outboundSchema).optional(), - domainAcceptDelegation: z.array(ACLAction$outboundSchema).optional(), - domainAuthCodes: z.array(ACLAction$outboundSchema).optional(), - domainCertificate: z.array(ACLAction$outboundSchema).optional(), - domainCheckConfig: z.array(ACLAction$outboundSchema).optional(), - domainMove: z.array(ACLAction$outboundSchema).optional(), - domainPurchase: z.array(ACLAction$outboundSchema).optional(), - domainRecord: z.array(ACLAction$outboundSchema).optional(), - domainTransferIn: z.array(ACLAction$outboundSchema).optional(), - event: z.array(ACLAction$outboundSchema).optional(), - ownEvent: z.array(ACLAction$outboundSchema).optional(), - sensitiveEnvironmentVariablePolicy: z.array(ACLAction$outboundSchema) - .optional(), - fileUpload: z.array(ACLAction$outboundSchema).optional(), - gitRepository: z.array(ACLAction$outboundSchema).optional(), - ipBlocking: z.array(ACLAction$outboundSchema).optional(), - integration: z.array(ACLAction$outboundSchema).optional(), - integrationAccount: z.array(ACLAction$outboundSchema).optional(), - integrationConfiguration: z.array(ACLAction$outboundSchema).optional(), - integrationConfigurationTransfer: z.array(ACLAction$outboundSchema) - .optional(), - integrationConfigurationProjects: z.array(ACLAction$outboundSchema) - .optional(), - integrationVercelConfigurationOverride: z.array(ACLAction$outboundSchema) - .optional(), - integrationConfigurationRole: z.array(ACLAction$outboundSchema).optional(), - integrationResource: z.array(ACLAction$outboundSchema).optional(), - integrationEvent: z.array(ACLAction$outboundSchema).optional(), - integrationResourceSecrets: z.array(ACLAction$outboundSchema).optional(), - integrationDeploymentAction: z.array(ACLAction$outboundSchema).optional(), - marketplaceInstallationMember: z.array(ACLAction$outboundSchema).optional(), - marketplaceBillingData: z.array(ACLAction$outboundSchema).optional(), - marketplaceInvoice: z.array(ACLAction$outboundSchema).optional(), - jobGlobal: z.array(ACLAction$outboundSchema).optional(), - logDrain: z.array(ACLAction$outboundSchema).optional(), - monitoring: z.array(ACLAction$outboundSchema).optional(), - monitoringSettings: z.array(ACLAction$outboundSchema).optional(), - monitoringQuery: z.array(ACLAction$outboundSchema).optional(), - monitoringChart: z.array(ACLAction$outboundSchema).optional(), - monitoringAlert: z.array(ACLAction$outboundSchema).optional(), - notificationDeploymentFailed: z.array(ACLAction$outboundSchema).optional(), - notificationDomainConfiguration: z.array(ACLAction$outboundSchema).optional(), - notificationDomainExpire: z.array(ACLAction$outboundSchema).optional(), - notificationDomainMoved: z.array(ACLAction$outboundSchema).optional(), - notificationDomainPurchase: z.array(ACLAction$outboundSchema).optional(), - notificationDomainRenewal: z.array(ACLAction$outboundSchema).optional(), - notificationDomainTransfer: z.array(ACLAction$outboundSchema).optional(), - notificationDomainUnverified: z.array(ACLAction$outboundSchema).optional(), - notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(), - notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(), - notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(), - notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), - notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(), - oauth2Connection: z.array(ACLAction$outboundSchema).optional(), - observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(), - openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(), - paymentMethod: z.array(ACLAction$outboundSchema).optional(), - permissions: z.array(ACLAction$outboundSchema).optional(), - postgres: z.array(ACLAction$outboundSchema).optional(), - previewDeploymentSuffix: z.array(ACLAction$outboundSchema).optional(), - proTrialOnboarding: z.array(ACLAction$outboundSchema).optional(), - sharedEnvVars: z.array(ACLAction$outboundSchema).optional(), - sharedEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(), - space: z.array(ACLAction$outboundSchema).optional(), - spaceRun: z.array(ACLAction$outboundSchema).optional(), - passwordProtectionInvoiceItem: z.array(ACLAction$outboundSchema).optional(), - rateLimit: z.array(ACLAction$outboundSchema).optional(), - redis: z.array(ACLAction$outboundSchema).optional(), - repository: z.array(ACLAction$outboundSchema).optional(), - remoteCaching: z.array(ACLAction$outboundSchema).optional(), - samlConfig: z.array(ACLAction$outboundSchema).optional(), - secret: z.array(ACLAction$outboundSchema).optional(), - redisStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), - blobStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), - postgresStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), - integrationStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), - integrationResourceReplCommand: z.array(ACLAction$outboundSchema).optional(), - storeTransfer: z.array(ACLAction$outboundSchema).optional(), - supportCase: z.array(ACLAction$outboundSchema).optional(), - supportCaseComment: z.array(ACLAction$outboundSchema).optional(), - dataCacheBillingSettings: z.array(ACLAction$outboundSchema).optional(), - team: z.array(ACLAction$outboundSchema).optional(), - teamAccessRequest: z.array(ACLAction$outboundSchema).optional(), - teamFellowMembership: z.array(ACLAction$outboundSchema).optional(), - teamGitExclusivity: z.array(ACLAction$outboundSchema).optional(), - teamInvite: z.array(ACLAction$outboundSchema).optional(), - teamInviteCode: z.array(ACLAction$outboundSchema).optional(), - teamJoin: z.array(ACLAction$outboundSchema).optional(), - teamMicrofrontends: z.array(ACLAction$outboundSchema).optional(), - teamOwnMembership: z.array(ACLAction$outboundSchema).optional(), - teamOwnMembershipDisconnectSAML: z.array(ACLAction$outboundSchema).optional(), - token: z.array(ACLAction$outboundSchema).optional(), - usage: z.array(ACLAction$outboundSchema).optional(), - usageCycle: z.array(ACLAction$outboundSchema).optional(), - user: z.array(ACLAction$outboundSchema).optional(), - userConnection: z.array(ACLAction$outboundSchema).optional(), - vpcPeeringConnection: z.array(ACLAction$outboundSchema).optional(), - webAnalyticsPlan: z.array(ACLAction$outboundSchema).optional(), - webAuthn: z.array(ACLAction$outboundSchema).optional(), - edgeConfig: z.array(ACLAction$outboundSchema).optional(), - edgeConfigItem: z.array(ACLAction$outboundSchema).optional(), - edgeConfigSchema: z.array(ACLAction$outboundSchema).optional(), - edgeConfigToken: z.array(ACLAction$outboundSchema).optional(), - webhook: z.array(ACLAction$outboundSchema).optional(), - webhookEvent: z.array(ACLAction$outboundSchema).optional(), - endpointVerification: z.array(ACLAction$outboundSchema).optional(), - projectTransferIn: z.array(ACLAction$outboundSchema).optional(), - oauth2Application: z.array(ACLAction$outboundSchema).optional(), - aliasProject: z.array(ACLAction$outboundSchema).optional(), - aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), - productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), - connectConfigurationLink: z.array(ACLAction$outboundSchema).optional(), - dataCacheNamespace: z.array(ACLAction$outboundSchema).optional(), - deployment: z.array(ACLAction$outboundSchema).optional(), - deploymentCheck: z.array(ACLAction$outboundSchema).optional(), - deploymentCheckPreview: z.array(ACLAction$outboundSchema).optional(), - deploymentCheckReRunFromProductionBranch: z.array(ACLAction$outboundSchema) - .optional(), - deploymentProductionGit: z.array(ACLAction$outboundSchema).optional(), - deploymentV0: z.array(ACLAction$outboundSchema).optional(), - deploymentPreview: z.array(ACLAction$outboundSchema).optional(), - deploymentPrivate: z.array(ACLAction$outboundSchema).optional(), - deploymentPromote: z.array(ACLAction$outboundSchema).optional(), - deploymentRollback: z.array(ACLAction$outboundSchema).optional(), - environments: z.array(ACLAction$outboundSchema).optional(), - logs: z.array(ACLAction$outboundSchema).optional(), - logsPreset: z.array(ACLAction$outboundSchema).optional(), - passwordProtection: z.array(ACLAction$outboundSchema).optional(), - optionsAllowlist: z.array(ACLAction$outboundSchema).optional(), - job: z.array(ACLAction$outboundSchema).optional(), - observabilityData: z.array(ACLAction$outboundSchema).optional(), - project: z.array(ACLAction$outboundSchema).optional(), - projectFromV0: z.array(ACLAction$outboundSchema).optional(), - projectAccessGroup: z.array(ACLAction$outboundSchema).optional(), - projectAnalyticsSampling: z.array(ACLAction$outboundSchema).optional(), - projectDeploymentHook: z.array(ACLAction$outboundSchema).optional(), - projectDomain: z.array(ACLAction$outboundSchema).optional(), - projectDomainMove: z.array(ACLAction$outboundSchema).optional(), - projectDomainCheckConfig: z.array(ACLAction$outboundSchema).optional(), - projectEnvVars: z.array(ACLAction$outboundSchema).optional(), - projectEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(), - projectEnvVarsUnownedByIntegration: z.array(ACLAction$outboundSchema) - .optional(), - projectFlags: z.array(ACLAction$outboundSchema).optional(), - projectId: z.array(ACLAction$outboundSchema).optional(), - projectIntegrationConfiguration: z.array(ACLAction$outboundSchema).optional(), - projectLink: z.array(ACLAction$outboundSchema).optional(), - projectMember: z.array(ACLAction$outboundSchema).optional(), - projectMonitoring: z.array(ACLAction$outboundSchema).optional(), - projectPermissions: z.array(ACLAction$outboundSchema).optional(), - projectProductionBranch: z.array(ACLAction$outboundSchema).optional(), - projectTransfer: z.array(ACLAction$outboundSchema).optional(), - projectTransferOut: z.array(ACLAction$outboundSchema).optional(), - projectProtectionBypass: z.array(ACLAction$outboundSchema).optional(), - projectUsage: z.array(ACLAction$outboundSchema).optional(), - projectAnalyticsUsage: z.array(ACLAction$outboundSchema).optional(), - projectSupportCase: z.array(ACLAction$outboundSchema).optional(), - projectSupportCaseComment: z.array(ACLAction$outboundSchema).optional(), - projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(), - projectTier: z.array(ACLAction$outboundSchema).optional(), - seawallConfig: z.array(ACLAction$outboundSchema).optional(), - skewProtection: z.array(ACLAction$outboundSchema).optional(), - analytics: z.array(ACLAction$outboundSchema).optional(), - trustedIps: z.array(ACLAction$outboundSchema).optional(), - webAnalytics: z.array(ACLAction$outboundSchema).optional(), - sharedEnvVarConnection: z.array(ACLAction$outboundSchema).optional(), - sonar: z.array(ACLAction$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - monitoring: "Monitoring", - notificationMonitoringAlert: "NotificationMonitoringAlert", - webhookEvent: "webhook-event", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Permissions$ { - /** @deprecated use `Permissions$inboundSchema` instead. */ - export const inboundSchema = Permissions$inboundSchema; - /** @deprecated use `Permissions$outboundSchema` instead. */ - export const outboundSchema = Permissions$outboundSchema; - /** @deprecated use `Permissions$Outbound` instead. */ - export type Outbound = Permissions$Outbound; -} - -export function permissionsToJSON(permissions: Permissions): string { - return JSON.stringify(Permissions$outboundSchema.parse(permissions)); -} - -export function permissionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Permissions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Permissions' from JSON`, - ); -} - -/** @internal */ -export const LastRollbackTarget$inboundSchema: z.ZodType< - LastRollbackTarget, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type LastRollbackTarget$Outbound = {}; - -/** @internal */ -export const LastRollbackTarget$outboundSchema: z.ZodType< - LastRollbackTarget$Outbound, - z.ZodTypeDef, - LastRollbackTarget -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace LastRollbackTarget$ { - /** @deprecated use `LastRollbackTarget$inboundSchema` instead. */ - export const inboundSchema = LastRollbackTarget$inboundSchema; - /** @deprecated use `LastRollbackTarget$outboundSchema` instead. */ - export const outboundSchema = LastRollbackTarget$outboundSchema; - /** @deprecated use `LastRollbackTarget$Outbound` instead. */ - export type Outbound = LastRollbackTarget$Outbound; -} - -export function lastRollbackTargetToJSON( - lastRollbackTarget: LastRollbackTarget, -): string { - return JSON.stringify( - LastRollbackTarget$outboundSchema.parse(lastRollbackTarget), - ); -} - -export function lastRollbackTargetFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => LastRollbackTarget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'LastRollbackTarget' from JSON`, - ); -} - -/** @internal */ -export const JobStatus$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(JobStatus); - -/** @internal */ -export const JobStatus$outboundSchema: z.ZodNativeEnum = - JobStatus$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace JobStatus$ { - /** @deprecated use `JobStatus$inboundSchema` instead. */ - export const inboundSchema = JobStatus$inboundSchema; - /** @deprecated use `JobStatus$outboundSchema` instead. */ - export const outboundSchema = JobStatus$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectDataCacheProjectsResponseType); - -/** @internal */ -export const UpdateProjectDataCacheProjectsResponseType$outboundSchema: - z.ZodNativeEnum = - UpdateProjectDataCacheProjectsResponseType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsResponseType$ { - /** @deprecated use `UpdateProjectDataCacheProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsResponseType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsResponseType$outboundSchema; -} - -/** @internal */ -export const LastAliasRequest$inboundSchema: z.ZodType< - LastAliasRequest, - z.ZodTypeDef, - unknown -> = z.object({ - fromDeploymentId: z.string(), - toDeploymentId: z.string(), - jobStatus: JobStatus$inboundSchema, - requestedAt: z.number(), - type: UpdateProjectDataCacheProjectsResponseType$inboundSchema, -}); - -/** @internal */ -export type LastAliasRequest$Outbound = { - fromDeploymentId: string; - toDeploymentId: string; - jobStatus: string; - requestedAt: number; - type: string; -}; - -/** @internal */ -export const LastAliasRequest$outboundSchema: z.ZodType< - LastAliasRequest$Outbound, - z.ZodTypeDef, - LastAliasRequest -> = z.object({ - fromDeploymentId: z.string(), - toDeploymentId: z.string(), - jobStatus: JobStatus$outboundSchema, - requestedAt: z.number(), - type: UpdateProjectDataCacheProjectsResponseType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace LastAliasRequest$ { - /** @deprecated use `LastAliasRequest$inboundSchema` instead. */ - export const inboundSchema = LastAliasRequest$inboundSchema; - /** @deprecated use `LastAliasRequest$outboundSchema` instead. */ - export const outboundSchema = LastAliasRequest$outboundSchema; - /** @deprecated use `LastAliasRequest$Outbound` instead. */ - export type Outbound = LastAliasRequest$Outbound; -} - -export function lastAliasRequestToJSON( - lastAliasRequest: LastAliasRequest, -): string { - return JSON.stringify( - LastAliasRequest$outboundSchema.parse(lastAliasRequest), - ); -} - -export function lastAliasRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => LastAliasRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'LastAliasRequest' from JSON`, - ); -} - -/** @internal */ -export const Scope$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Scope, -); - -/** @internal */ -export const Scope$outboundSchema: z.ZodNativeEnum = - Scope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Scope$ { - /** @deprecated use `Scope$inboundSchema` instead. */ - export const inboundSchema = Scope$inboundSchema; - /** @deprecated use `Scope$outboundSchema` instead. */ - export const outboundSchema = Scope$outboundSchema; -} - -/** @internal */ -export const ProtectionBypass$inboundSchema: z.ZodType< - ProtectionBypass, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: Scope$inboundSchema, -}); - -/** @internal */ -export type ProtectionBypass$Outbound = { - createdAt: number; - createdBy: string; - scope: string; -}; - -/** @internal */ -export const ProtectionBypass$outboundSchema: z.ZodType< - ProtectionBypass$Outbound, - z.ZodTypeDef, - ProtectionBypass -> = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: Scope$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ProtectionBypass$ { - /** @deprecated use `ProtectionBypass$inboundSchema` instead. */ - export const inboundSchema = ProtectionBypass$inboundSchema; - /** @deprecated use `ProtectionBypass$outboundSchema` instead. */ - export const outboundSchema = ProtectionBypass$outboundSchema; - /** @deprecated use `ProtectionBypass$Outbound` instead. */ - export type Outbound = ProtectionBypass$Outbound; -} - -export function protectionBypassToJSON( - protectionBypass: ProtectionBypass, -): string { - return JSON.stringify( - ProtectionBypass$outboundSchema.parse(protectionBypass), - ); -} - -export function protectionBypassFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ProtectionBypass$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ProtectionBypass' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheTrustedIpsDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectDataCacheTrustedIpsDeploymentType); - -/** @internal */ -export const UpdateProjectDataCacheTrustedIpsDeploymentType$outboundSchema: - z.ZodNativeEnum = - UpdateProjectDataCacheTrustedIpsDeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheTrustedIpsDeploymentType$ { - /** @deprecated use `UpdateProjectDataCacheTrustedIpsDeploymentType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheTrustedIpsDeploymentType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheTrustedIpsDeploymentType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheTrustedIpsDeploymentType$outboundSchema; -} - -/** @internal */ -export const TrustedIps2$inboundSchema: z.ZodType< - TrustedIps2, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentType: UpdateProjectDataCacheTrustedIpsDeploymentType$inboundSchema, -}); - -/** @internal */ -export type TrustedIps2$Outbound = { - deploymentType: string; -}; - -/** @internal */ -export const TrustedIps2$outboundSchema: z.ZodType< - TrustedIps2$Outbound, - z.ZodTypeDef, - TrustedIps2 -> = z.object({ - deploymentType: UpdateProjectDataCacheTrustedIpsDeploymentType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TrustedIps2$ { - /** @deprecated use `TrustedIps2$inboundSchema` instead. */ - export const inboundSchema = TrustedIps2$inboundSchema; - /** @deprecated use `TrustedIps2$outboundSchema` instead. */ - export const outboundSchema = TrustedIps2$outboundSchema; - /** @deprecated use `TrustedIps2$Outbound` instead. */ - export type Outbound = TrustedIps2$Outbound; -} - -export function trustedIps2ToJSON(trustedIps2: TrustedIps2): string { - return JSON.stringify(TrustedIps2$outboundSchema.parse(trustedIps2)); -} - -export function trustedIps2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TrustedIps2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TrustedIps2' from JSON`, - ); -} - -/** @internal */ -export const TrustedIpsDeploymentType$inboundSchema: z.ZodNativeEnum< - typeof TrustedIpsDeploymentType -> = z.nativeEnum(TrustedIpsDeploymentType); - -/** @internal */ -export const TrustedIpsDeploymentType$outboundSchema: z.ZodNativeEnum< - typeof TrustedIpsDeploymentType -> = TrustedIpsDeploymentType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TrustedIpsDeploymentType$ { - /** @deprecated use `TrustedIpsDeploymentType$inboundSchema` instead. */ - export const inboundSchema = TrustedIpsDeploymentType$inboundSchema; - /** @deprecated use `TrustedIpsDeploymentType$outboundSchema` instead. */ - export const outboundSchema = TrustedIpsDeploymentType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheTrustedIpsAddresses$inboundSchema: z.ZodType< - UpdateProjectDataCacheTrustedIpsAddresses, - z.ZodTypeDef, - unknown -> = z.object({ - value: z.string(), - note: z.string().optional(), -}); - -/** @internal */ -export type UpdateProjectDataCacheTrustedIpsAddresses$Outbound = { - value: string; - note?: string | undefined; -}; - -/** @internal */ -export const UpdateProjectDataCacheTrustedIpsAddresses$outboundSchema: - z.ZodType< - UpdateProjectDataCacheTrustedIpsAddresses$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheTrustedIpsAddresses - > = z.object({ - value: z.string(), - note: z.string().optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheTrustedIpsAddresses$ { - /** @deprecated use `UpdateProjectDataCacheTrustedIpsAddresses$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheTrustedIpsAddresses$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheTrustedIpsAddresses$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheTrustedIpsAddresses$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheTrustedIpsAddresses$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheTrustedIpsAddresses$Outbound; -} - -export function updateProjectDataCacheTrustedIpsAddressesToJSON( - updateProjectDataCacheTrustedIpsAddresses: - UpdateProjectDataCacheTrustedIpsAddresses, -): string { - return JSON.stringify( - UpdateProjectDataCacheTrustedIpsAddresses$outboundSchema.parse( - updateProjectDataCacheTrustedIpsAddresses, - ), - ); -} - -export function updateProjectDataCacheTrustedIpsAddressesFromJSON( - jsonString: string, -): SafeParseResult< - UpdateProjectDataCacheTrustedIpsAddresses, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCacheTrustedIpsAddresses$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateProjectDataCacheTrustedIpsAddresses' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheTrustedIpsProtectionMode$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectDataCacheTrustedIpsProtectionMode); - -/** @internal */ -export const UpdateProjectDataCacheTrustedIpsProtectionMode$outboundSchema: - z.ZodNativeEnum = - UpdateProjectDataCacheTrustedIpsProtectionMode$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheTrustedIpsProtectionMode$ { - /** @deprecated use `UpdateProjectDataCacheTrustedIpsProtectionMode$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheTrustedIpsProtectionMode$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheTrustedIpsProtectionMode$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheTrustedIpsProtectionMode$outboundSchema; -} - -/** @internal */ -export const TrustedIps1$inboundSchema: z.ZodType< - TrustedIps1, - z.ZodTypeDef, - unknown -> = z.object({ - deploymentType: TrustedIpsDeploymentType$inboundSchema, - addresses: z.array( - z.lazy(() => UpdateProjectDataCacheTrustedIpsAddresses$inboundSchema), - ), - protectionMode: UpdateProjectDataCacheTrustedIpsProtectionMode$inboundSchema, -}); - -/** @internal */ -export type TrustedIps1$Outbound = { - deploymentType: string; - addresses: Array; - protectionMode: string; -}; - -/** @internal */ -export const TrustedIps1$outboundSchema: z.ZodType< - TrustedIps1$Outbound, - z.ZodTypeDef, - TrustedIps1 -> = z.object({ - deploymentType: TrustedIpsDeploymentType$outboundSchema, - addresses: z.array( - z.lazy(() => UpdateProjectDataCacheTrustedIpsAddresses$outboundSchema), - ), - protectionMode: UpdateProjectDataCacheTrustedIpsProtectionMode$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TrustedIps1$ { - /** @deprecated use `TrustedIps1$inboundSchema` instead. */ - export const inboundSchema = TrustedIps1$inboundSchema; - /** @deprecated use `TrustedIps1$outboundSchema` instead. */ - export const outboundSchema = TrustedIps1$outboundSchema; - /** @deprecated use `TrustedIps1$Outbound` instead. */ - export type Outbound = TrustedIps1$Outbound; -} - -export function trustedIps1ToJSON(trustedIps1: TrustedIps1): string { - return JSON.stringify(TrustedIps1$outboundSchema.parse(trustedIps1)); -} - -export function trustedIps1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TrustedIps1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TrustedIps1' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheTrustedIps$inboundSchema: z.ZodType< - UpdateProjectDataCacheTrustedIps, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => TrustedIps2$inboundSchema), - z.lazy(() => TrustedIps1$inboundSchema), -]); - -/** @internal */ -export type UpdateProjectDataCacheTrustedIps$Outbound = - | TrustedIps2$Outbound - | TrustedIps1$Outbound; - -/** @internal */ -export const UpdateProjectDataCacheTrustedIps$outboundSchema: z.ZodType< - UpdateProjectDataCacheTrustedIps$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheTrustedIps -> = z.union([ - z.lazy(() => TrustedIps2$outboundSchema), - z.lazy(() => TrustedIps1$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheTrustedIps$ { - /** @deprecated use `UpdateProjectDataCacheTrustedIps$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheTrustedIps$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheTrustedIps$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheTrustedIps$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheTrustedIps$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheTrustedIps$Outbound; -} - -export function updateProjectDataCacheTrustedIpsToJSON( - updateProjectDataCacheTrustedIps: UpdateProjectDataCacheTrustedIps, -): string { - return JSON.stringify( - UpdateProjectDataCacheTrustedIps$outboundSchema.parse( - updateProjectDataCacheTrustedIps, - ), - ); -} - -export function updateProjectDataCacheTrustedIpsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDataCacheTrustedIps$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheTrustedIps' from JSON`, - ); -} - -/** @internal */ -export const GitComments$inboundSchema: z.ZodType< - GitComments, - z.ZodTypeDef, - unknown -> = z.object({ - onPullRequest: z.boolean(), - onCommit: z.boolean(), -}); - -/** @internal */ -export type GitComments$Outbound = { - onPullRequest: boolean; - onCommit: boolean; -}; - -/** @internal */ -export const GitComments$outboundSchema: z.ZodType< - GitComments$Outbound, - z.ZodTypeDef, - GitComments -> = z.object({ - onPullRequest: z.boolean(), - onCommit: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GitComments$ { - /** @deprecated use `GitComments$inboundSchema` instead. */ - export const inboundSchema = GitComments$inboundSchema; - /** @deprecated use `GitComments$outboundSchema` instead. */ - export const outboundSchema = GitComments$outboundSchema; - /** @deprecated use `GitComments$Outbound` instead. */ - export type Outbound = GitComments$Outbound; -} - -export function gitCommentsToJSON(gitComments: GitComments): string { - return JSON.stringify(GitComments$outboundSchema.parse(gitComments)); -} - -export function gitCommentsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GitComments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitComments' from JSON`, - ); -} - -/** @internal */ -export const WebAnalytics$inboundSchema: z.ZodType< - WebAnalytics, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); - -/** @internal */ -export type WebAnalytics$Outbound = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; -}; - -/** @internal */ -export const WebAnalytics$outboundSchema: z.ZodType< - WebAnalytics$Outbound, - z.ZodTypeDef, - WebAnalytics -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace WebAnalytics$ { - /** @deprecated use `WebAnalytics$inboundSchema` instead. */ - export const inboundSchema = WebAnalytics$inboundSchema; - /** @deprecated use `WebAnalytics$outboundSchema` instead. */ - export const outboundSchema = WebAnalytics$outboundSchema; - /** @deprecated use `WebAnalytics$Outbound` instead. */ - export type Outbound = WebAnalytics$Outbound; -} - -export function webAnalyticsToJSON(webAnalytics: WebAnalytics): string { - return JSON.stringify(WebAnalytics$outboundSchema.parse(webAnalytics)); -} - -export function webAnalyticsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => WebAnalytics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'WebAnalytics' from JSON`, - ); -} - -/** @internal */ -export const Src2$inboundSchema: z.ZodType = z - .object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), - }); - -/** @internal */ -export type Src2$Outbound = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -/** @internal */ -export const Src2$outboundSchema: z.ZodType = - z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Src2$ { - /** @deprecated use `Src2$inboundSchema` instead. */ - export const inboundSchema = Src2$inboundSchema; - /** @deprecated use `Src2$outboundSchema` instead. */ - export const outboundSchema = Src2$outboundSchema; - /** @deprecated use `Src2$Outbound` instead. */ - export type Outbound = Src2$Outbound; -} - -export function src2ToJSON(src2: Src2): string { - return JSON.stringify(Src2$outboundSchema.parse(src2)); -} - -export function src2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Src2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Src2' from JSON`, - ); -} - -/** @internal */ -export const Src$inboundSchema: z.ZodType = z.union( - [z.lazy(() => Src2$inboundSchema), z.string()], -); - -/** @internal */ -export type Src$Outbound = Src2$Outbound | string; - -/** @internal */ -export const Src$outboundSchema: z.ZodType = z - .union([z.lazy(() => Src2$outboundSchema), z.string()]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Src$ { - /** @deprecated use `Src$inboundSchema` instead. */ - export const inboundSchema = Src$inboundSchema; - /** @deprecated use `Src$outboundSchema` instead. */ - export const outboundSchema = Src$outboundSchema; - /** @deprecated use `Src$Outbound` instead. */ - export type Outbound = Src$Outbound; -} - -export function srcToJSON(src: Src): string { - return JSON.stringify(Src$outboundSchema.parse(src)); -} - -export function srcFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Src$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Src' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType - > = z.nativeEnum( - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType, - ); - -/** @internal */ -export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType - > = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$ { - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheValueProjects2$inboundSchema: z.ZodType< - UpdateProjectDataCacheValueProjects2, - z.ZodTypeDef, - unknown -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** @internal */ -export type UpdateProjectDataCacheValueProjects2$Outbound = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -/** @internal */ -export const UpdateProjectDataCacheValueProjects2$outboundSchema: z.ZodType< - UpdateProjectDataCacheValueProjects2$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheValueProjects2 -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheValueProjects2$ { - /** @deprecated use `UpdateProjectDataCacheValueProjects2$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheValueProjects2$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheValueProjects2$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheValueProjects2$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheValueProjects2$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheValueProjects2$Outbound; -} - -export function updateProjectDataCacheValueProjects2ToJSON( - updateProjectDataCacheValueProjects2: UpdateProjectDataCacheValueProjects2, -): string { - return JSON.stringify( - UpdateProjectDataCacheValueProjects2$outboundSchema.parse( - updateProjectDataCacheValueProjects2, - ), - ); -} - -export function updateProjectDataCacheValueProjects2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCacheValueProjects2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheValueProjects2' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsValue$inboundSchema: z.ZodType< - UpdateProjectDataCacheProjectsValue, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => UpdateProjectDataCacheValueProjects2$inboundSchema), - z.string(), -]); - -/** @internal */ -export type UpdateProjectDataCacheProjectsValue$Outbound = - | UpdateProjectDataCacheValueProjects2$Outbound - | string; - -/** @internal */ -export const UpdateProjectDataCacheProjectsValue$outboundSchema: z.ZodType< - UpdateProjectDataCacheProjectsValue$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheProjectsValue -> = z.union([ - z.lazy(() => UpdateProjectDataCacheValueProjects2$outboundSchema), - z.string(), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsValue$ { - /** @deprecated use `UpdateProjectDataCacheProjectsValue$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsValue$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsValue$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsValue$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsValue$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheProjectsValue$Outbound; -} - -export function updateProjectDataCacheProjectsValueToJSON( - updateProjectDataCacheProjectsValue: UpdateProjectDataCacheProjectsValue, -): string { - return JSON.stringify( - UpdateProjectDataCacheProjectsValue$outboundSchema.parse( - updateProjectDataCacheProjectsValue, - ), - ); -} - -export function updateProjectDataCacheProjectsValueFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCacheProjectsValue$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheProjectsValue' from JSON`, - ); -} - -/** @internal */ -export const Has$inboundSchema: z.ZodType = z - .object({ - type: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema, - key: z.string().optional(), - value: z.union([ - z.lazy(() => UpdateProjectDataCacheValueProjects2$inboundSchema), - z.string(), - ]).optional(), - }); - -/** @internal */ -export type Has$Outbound = { - type: string; - key?: string | undefined; - value?: UpdateProjectDataCacheValueProjects2$Outbound | string | undefined; -}; - -/** @internal */ -export const Has$outboundSchema: z.ZodType = z - .object({ - type: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema, - key: z.string().optional(), - value: z.union([ - z.lazy(() => UpdateProjectDataCacheValueProjects2$outboundSchema), - z.string(), - ]).optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Has$ { - /** @deprecated use `Has$inboundSchema` instead. */ - export const inboundSchema = Has$inboundSchema; - /** @deprecated use `Has$outboundSchema` instead. */ - export const outboundSchema = Has$outboundSchema; - /** @deprecated use `Has$Outbound` instead. */ - export type Outbound = Has$Outbound; -} - -export function hasToJSON(has: Has): string { - return JSON.stringify(Has$outboundSchema.parse(has)); -} - -export function hasFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Has$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Has' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType - > = z.nativeEnum( - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType, - ); - -/** @internal */ -export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema: - z.ZodNativeEnum< - typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType - > = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$ { - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheValue2$inboundSchema: z.ZodType< - UpdateProjectDataCacheValue2, - z.ZodTypeDef, - unknown -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** @internal */ -export type UpdateProjectDataCacheValue2$Outbound = { - re?: string | undefined; - eq?: string | undefined; - neq?: string | undefined; - inc?: Array | undefined; - ninc?: Array | undefined; - pre?: string | undefined; - suf?: string | undefined; - gt?: number | undefined; - gte?: number | undefined; - lt?: number | undefined; - lte?: number | undefined; -}; - -/** @internal */ -export const UpdateProjectDataCacheValue2$outboundSchema: z.ZodType< - UpdateProjectDataCacheValue2$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheValue2 -> = z.object({ - re: z.string().optional(), - eq: z.string().optional(), - neq: z.string().optional(), - inc: z.array(z.string()).optional(), - ninc: z.array(z.string()).optional(), - pre: z.string().optional(), - suf: z.string().optional(), - gt: z.number().optional(), - gte: z.number().optional(), - lt: z.number().optional(), - lte: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheValue2$ { - /** @deprecated use `UpdateProjectDataCacheValue2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheValue2$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheValue2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheValue2$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheValue2$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheValue2$Outbound; -} - -export function updateProjectDataCacheValue2ToJSON( - updateProjectDataCacheValue2: UpdateProjectDataCacheValue2, -): string { - return JSON.stringify( - UpdateProjectDataCacheValue2$outboundSchema.parse( - updateProjectDataCacheValue2, - ), - ); -} - -export function updateProjectDataCacheValue2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDataCacheValue2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheValue2' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheValue$inboundSchema: z.ZodType< - UpdateProjectDataCacheValue, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => UpdateProjectDataCacheValue2$inboundSchema), - z.string(), -]); - -/** @internal */ -export type UpdateProjectDataCacheValue$Outbound = - | UpdateProjectDataCacheValue2$Outbound - | string; - -/** @internal */ -export const UpdateProjectDataCacheValue$outboundSchema: z.ZodType< - UpdateProjectDataCacheValue$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheValue -> = z.union([ - z.lazy(() => UpdateProjectDataCacheValue2$outboundSchema), - z.string(), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheValue$ { - /** @deprecated use `UpdateProjectDataCacheValue$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheValue$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheValue$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheValue$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheValue$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheValue$Outbound; -} - -export function updateProjectDataCacheValueToJSON( - updateProjectDataCacheValue: UpdateProjectDataCacheValue, -): string { - return JSON.stringify( - UpdateProjectDataCacheValue$outboundSchema.parse( - updateProjectDataCacheValue, - ), - ); -} - -export function updateProjectDataCacheValueFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDataCacheValue$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheValue' from JSON`, - ); -} - -/** @internal */ -export const Missing$inboundSchema: z.ZodType = - z.object({ - type: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema, - key: z.string().optional(), - value: z.union([ - z.lazy(() => UpdateProjectDataCacheValue2$inboundSchema), - z.string(), - ]).optional(), - }); - -/** @internal */ -export type Missing$Outbound = { - type: string; - key?: string | undefined; - value?: UpdateProjectDataCacheValue2$Outbound | string | undefined; -}; - -/** @internal */ -export const Missing$outboundSchema: z.ZodType< - Missing$Outbound, - z.ZodTypeDef, - Missing -> = z.object({ - type: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema, - key: z.string().optional(), - value: z.union([ - z.lazy(() => UpdateProjectDataCacheValue2$outboundSchema), - z.string(), - ]).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Missing$ { - /** @deprecated use `Missing$inboundSchema` instead. */ - export const inboundSchema = Missing$inboundSchema; - /** @deprecated use `Missing$outboundSchema` instead. */ - export const outboundSchema = Missing$outboundSchema; - /** @deprecated use `Missing$Outbound` instead. */ - export type Outbound = Missing$Outbound; -} - -export function missingToJSON(missing: Missing): string { - return JSON.stringify(Missing$outboundSchema.parse(missing)); -} - -export function missingFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Missing$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Missing' from JSON`, - ); -} - -/** @internal */ -export const Handle$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Handle); - -/** @internal */ -export const Handle$outboundSchema: z.ZodNativeEnum = - Handle$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Handle$ { - /** @deprecated use `Handle$inboundSchema` instead. */ - export const inboundSchema = Handle$inboundSchema; - /** @deprecated use `Handle$outboundSchema` instead. */ - export const outboundSchema = Handle$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheAction$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheAction -> = z.nativeEnum(UpdateProjectDataCacheAction); - -/** @internal */ -export const UpdateProjectDataCacheAction$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheAction -> = UpdateProjectDataCacheAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheAction$ { - /** @deprecated use `UpdateProjectDataCacheAction$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheAction$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheAction$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheAction$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheAlgo$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheAlgo -> = z.nativeEnum(UpdateProjectDataCacheAlgo); - -/** @internal */ -export const UpdateProjectDataCacheAlgo$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheAlgo -> = UpdateProjectDataCacheAlgo$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheAlgo$ { - /** @deprecated use `UpdateProjectDataCacheAlgo$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheAlgo$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheAlgo$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheAlgo$outboundSchema; -} - -/** @internal */ -export const Erl$inboundSchema: z.ZodType = z - .object({ - algo: UpdateProjectDataCacheAlgo$inboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), - }); - -/** @internal */ -export type Erl$Outbound = { - algo: string; - window: number; - limit: number; - keys: Array; -}; - -/** @internal */ -export const Erl$outboundSchema: z.ZodType = z - .object({ - algo: UpdateProjectDataCacheAlgo$outboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Erl$ { - /** @deprecated use `Erl$inboundSchema` instead. */ - export const inboundSchema = Erl$inboundSchema; - /** @deprecated use `Erl$outboundSchema` instead. */ - export const outboundSchema = Erl$outboundSchema; - /** @deprecated use `Erl$Outbound` instead. */ - export type Outbound = Erl$Outbound; -} - -export function erlToJSON(erl: Erl): string { - return JSON.stringify(Erl$outboundSchema.parse(erl)); -} - -export function erlFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Erl$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Erl' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheMitigate$inboundSchema: z.ZodType< - UpdateProjectDataCacheMitigate, - z.ZodTypeDef, - unknown -> = z.object({ - action: UpdateProjectDataCacheAction$inboundSchema, - rule_id: z.string(), - ttl: z.number().optional(), - erl: z.lazy(() => Erl$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "rule_id": "ruleId", - }); -}); - -/** @internal */ -export type UpdateProjectDataCacheMitigate$Outbound = { - action: string; - rule_id: string; - ttl?: number | undefined; - erl?: Erl$Outbound | undefined; -}; - -/** @internal */ -export const UpdateProjectDataCacheMitigate$outboundSchema: z.ZodType< - UpdateProjectDataCacheMitigate$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheMitigate -> = z.object({ - action: UpdateProjectDataCacheAction$outboundSchema, - ruleId: z.string(), - ttl: z.number().optional(), - erl: z.lazy(() => Erl$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - ruleId: "rule_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheMitigate$ { - /** @deprecated use `UpdateProjectDataCacheMitigate$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheMitigate$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheMitigate$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheMitigate$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheMitigate$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheMitigate$Outbound; -} - -export function updateProjectDataCacheMitigateToJSON( - updateProjectDataCacheMitigate: UpdateProjectDataCacheMitigate, -): string { - return JSON.stringify( - UpdateProjectDataCacheMitigate$outboundSchema.parse( - updateProjectDataCacheMitigate, - ), - ); -} - -export function updateProjectDataCacheMitigateFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDataCacheMitigate$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheMitigate' from JSON`, - ); -} - -/** @internal */ -export const FirewallRoutes$inboundSchema: z.ZodType< - FirewallRoutes, - z.ZodTypeDef, - unknown -> = z.object({ - src: z.union([z.lazy(() => Src2$inboundSchema), z.string()]).optional(), - has: z.array(z.lazy(() => Has$inboundSchema)).optional(), - missing: z.array(z.lazy(() => Missing$inboundSchema)).optional(), - dest: z.string().optional(), - status: z.number().optional(), - handle: Handle$inboundSchema.optional(), - mitigate: z.lazy(() => UpdateProjectDataCacheMitigate$inboundSchema) - .optional(), -}); - -/** @internal */ -export type FirewallRoutes$Outbound = { - src?: Src2$Outbound | string | undefined; - has?: Array | undefined; - missing?: Array | undefined; - dest?: string | undefined; - status?: number | undefined; - handle?: string | undefined; - mitigate?: UpdateProjectDataCacheMitigate$Outbound | undefined; -}; - -/** @internal */ -export const FirewallRoutes$outboundSchema: z.ZodType< - FirewallRoutes$Outbound, - z.ZodTypeDef, - FirewallRoutes -> = z.object({ - src: z.union([z.lazy(() => Src2$outboundSchema), z.string()]).optional(), - has: z.array(z.lazy(() => Has$outboundSchema)).optional(), - missing: z.array(z.lazy(() => Missing$outboundSchema)).optional(), - dest: z.string().optional(), - status: z.number().optional(), - handle: Handle$outboundSchema.optional(), - mitigate: z.lazy(() => UpdateProjectDataCacheMitigate$outboundSchema) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FirewallRoutes$ { - /** @deprecated use `FirewallRoutes$inboundSchema` instead. */ - export const inboundSchema = FirewallRoutes$inboundSchema; - /** @deprecated use `FirewallRoutes$outboundSchema` instead. */ - export const outboundSchema = FirewallRoutes$outboundSchema; - /** @deprecated use `FirewallRoutes$Outbound` instead. */ - export type Outbound = FirewallRoutes$Outbound; -} - -export function firewallRoutesToJSON(firewallRoutes: FirewallRoutes): string { - return JSON.stringify(FirewallRoutes$outboundSchema.parse(firewallRoutes)); -} - -export function firewallRoutesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FirewallRoutes$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FirewallRoutes' from JSON`, - ); -} - -/** @internal */ -export const Security$inboundSchema: z.ZodType< - Security, - z.ZodTypeDef, - unknown -> = z.object({ - attackModeEnabled: z.boolean().optional(), - attackModeUpdatedAt: z.number().optional(), - firewallEnabled: z.boolean().optional(), - firewallUpdatedAt: z.number().optional(), - attackModeActiveUntil: z.nullable(z.number()).optional(), - firewallConfigVersion: z.number().optional(), - firewallRoutes: z.array(z.lazy(() => FirewallRoutes$inboundSchema)) - .optional(), - firewallSeawallEnabled: z.boolean().optional(), - ja3Enabled: z.boolean().optional(), - ja4Enabled: z.boolean().optional(), - firewallBypassIps: z.array(z.string()).optional(), -}); - -/** @internal */ -export type Security$Outbound = { - attackModeEnabled?: boolean | undefined; - attackModeUpdatedAt?: number | undefined; - firewallEnabled?: boolean | undefined; - firewallUpdatedAt?: number | undefined; - attackModeActiveUntil?: number | null | undefined; - firewallConfigVersion?: number | undefined; - firewallRoutes?: Array | undefined; - firewallSeawallEnabled?: boolean | undefined; - ja3Enabled?: boolean | undefined; - ja4Enabled?: boolean | undefined; - firewallBypassIps?: Array | undefined; -}; - -/** @internal */ -export const Security$outboundSchema: z.ZodType< - Security$Outbound, - z.ZodTypeDef, - Security -> = z.object({ - attackModeEnabled: z.boolean().optional(), - attackModeUpdatedAt: z.number().optional(), - firewallEnabled: z.boolean().optional(), - firewallUpdatedAt: z.number().optional(), - attackModeActiveUntil: z.nullable(z.number()).optional(), - firewallConfigVersion: z.number().optional(), - firewallRoutes: z.array(z.lazy(() => FirewallRoutes$outboundSchema)) - .optional(), - firewallSeawallEnabled: z.boolean().optional(), - ja3Enabled: z.boolean().optional(), - ja4Enabled: z.boolean().optional(), - firewallBypassIps: z.array(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Security$ { - /** @deprecated use `Security$inboundSchema` instead. */ - export const inboundSchema = Security$inboundSchema; - /** @deprecated use `Security$outboundSchema` instead. */ - export const outboundSchema = Security$outboundSchema; - /** @deprecated use `Security$Outbound` instead. */ - export type Outbound = Security$Outbound; -} - -export function securityToJSON(security: Security): string { - return JSON.stringify(Security$outboundSchema.parse(security)); -} - -export function securityFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Security$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Security' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDataCacheIssuerMode$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheIssuerMode -> = z.nativeEnum(UpdateProjectDataCacheIssuerMode); - -/** @internal */ -export const UpdateProjectDataCacheIssuerMode$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheIssuerMode -> = UpdateProjectDataCacheIssuerMode$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheIssuerMode$ { - /** @deprecated use `UpdateProjectDataCacheIssuerMode$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheIssuerMode$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheIssuerMode$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheIssuerMode$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheOidcTokenConfig$inboundSchema: z.ZodType< - UpdateProjectDataCacheOidcTokenConfig, - z.ZodTypeDef, - unknown -> = z.object({ - enabled: z.boolean(), - issuerMode: UpdateProjectDataCacheIssuerMode$inboundSchema.optional(), -}); - -/** @internal */ -export type UpdateProjectDataCacheOidcTokenConfig$Outbound = { - enabled: boolean; - issuerMode?: string | undefined; -}; - -/** @internal */ -export const UpdateProjectDataCacheOidcTokenConfig$outboundSchema: z.ZodType< - UpdateProjectDataCacheOidcTokenConfig$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheOidcTokenConfig -> = z.object({ - enabled: z.boolean(), - issuerMode: UpdateProjectDataCacheIssuerMode$outboundSchema.optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheOidcTokenConfig$ { - /** @deprecated use `UpdateProjectDataCacheOidcTokenConfig$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheOidcTokenConfig$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheOidcTokenConfig$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheOidcTokenConfig$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheOidcTokenConfig$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheOidcTokenConfig$Outbound; -} - -export function updateProjectDataCacheOidcTokenConfigToJSON( - updateProjectDataCacheOidcTokenConfig: UpdateProjectDataCacheOidcTokenConfig, -): string { - return JSON.stringify( - UpdateProjectDataCacheOidcTokenConfig$outboundSchema.parse( - updateProjectDataCacheOidcTokenConfig, - ), - ); -} - -export function updateProjectDataCacheOidcTokenConfigFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCacheOidcTokenConfig$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheOidcTokenConfig' from JSON`, - ); -} - -/** @internal */ -export const Tier$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Tier, -); - -/** @internal */ -export const Tier$outboundSchema: z.ZodNativeEnum = - Tier$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Tier$ { - /** @deprecated use `Tier$inboundSchema` instead. */ - export const inboundSchema = Tier$inboundSchema; - /** @deprecated use `Tier$outboundSchema` instead. */ - export const outboundSchema = Tier$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDataCacheResponseBody$inboundSchema: z.ZodType< - UpdateProjectDataCacheResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - accountId: z.string(), - analytics: z.lazy(() => Analytics$inboundSchema).optional(), - speedInsights: z.lazy(() => SpeedInsights$inboundSchema).optional(), - autoExposeSystemEnvs: z.boolean().optional(), - autoAssignCustomDomains: z.boolean().optional(), - autoAssignCustomDomainsUpdatedBy: z.string().optional(), - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - connectConfigurationId: z.nullable(z.string()).optional(), - connectBuildsEnabled: z.boolean().optional(), - createdAt: z.number().optional(), - customerSupportCodeVisibility: z.boolean().optional(), - crons: z.lazy(() => Crons$inboundSchema).optional(), - dataCache: z.lazy(() => DataCache$inboundSchema).optional(), - deploymentExpiration: z.nullable( - z.lazy(() => DeploymentExpiration$inboundSchema), - ).optional(), - devCommand: z.nullable(z.string()).optional(), - directoryListing: z.boolean(), - installCommand: z.nullable(z.string()).optional(), - env: z.array(z.lazy(() => Env$inboundSchema)).optional(), - customEnvironments: z.array(z.lazy(() => CustomEnvironments$inboundSchema)) - .optional(), - framework: z.nullable(UpdateProjectDataCacheFramework$inboundSchema) - .optional(), - gitForkProtection: z.boolean().optional(), - gitLFS: z.boolean().optional(), - id: z.string(), - ipBuckets: z.array(z.lazy(() => IpBuckets$inboundSchema)).optional(), - latestDeployments: z.array(z.lazy(() => LatestDeployments$inboundSchema)) - .optional(), - link: z.union([ - z.lazy(() => Link1$inboundSchema), - z.lazy(() => Link3$inboundSchema), - z.lazy(() => Link2$inboundSchema), - ]).optional(), - microfrontends: z.lazy(() => Microfrontends$inboundSchema).optional(), - name: z.string(), - nodeVersion: UpdateProjectDataCacheNodeVersion$inboundSchema, - optionsAllowlist: z.nullable( - z.lazy(() => UpdateProjectDataCacheOptionsAllowlist$inboundSchema), - ).optional(), - outputDirectory: z.nullable(z.string()).optional(), - passiveConnectConfigurationId: z.nullable(z.string()).optional(), - passwordProtection: z.nullable( - z.lazy(() => UpdateProjectDataCachePasswordProtection$inboundSchema), - ).optional(), - productionDeploymentsFastLane: z.boolean().optional(), - publicSource: z.nullable(z.boolean()).optional(), - resourceConfig: z.lazy(() => ResourceConfig$inboundSchema).optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - serverlessFunctionZeroConfigFailover: z.boolean().optional(), - skewProtectionBoundaryAt: z.number().optional(), - skewProtectionMaxAge: z.number().optional(), - skipGitConnectDuringLink: z.boolean().optional(), - sourceFilesOutsideRootDirectory: z.boolean().optional(), - enableAffectedProjectsDeployments: z.boolean().optional(), - ssoProtection: z.nullable( - z.lazy(() => UpdateProjectDataCacheSsoProtection$inboundSchema), - ).optional(), - targets: z.record(z.lazy(() => Targets$inboundSchema)).optional(), - transferCompletedAt: z.number().optional(), - transferStartedAt: z.number().optional(), - transferToAccountId: z.string().optional(), - transferredFromAccountId: z.string().optional(), - updatedAt: z.number().optional(), - live: z.boolean().optional(), - enablePreviewFeedback: z.nullable(z.boolean()).optional(), - enableProductionFeedback: z.nullable(z.boolean()).optional(), - permissions: z.lazy(() => Permissions$inboundSchema).optional(), - lastRollbackTarget: z.nullable(z.lazy(() => LastRollbackTarget$inboundSchema)) - .optional(), - lastAliasRequest: z.nullable(z.lazy(() => LastAliasRequest$inboundSchema)) - .optional(), - hasFloatingAliases: z.boolean().optional(), - protectionBypass: z.record(z.lazy(() => ProtectionBypass$inboundSchema)) - .optional(), - hasActiveBranches: z.boolean().optional(), - trustedIps: z.nullable( - z.union([ - z.lazy(() => TrustedIps2$inboundSchema), - z.lazy(() => TrustedIps1$inboundSchema), - ]), - ).optional(), - gitComments: z.lazy(() => GitComments$inboundSchema).optional(), - paused: z.boolean().optional(), - concurrencyBucketName: z.string().optional(), - webAnalytics: z.lazy(() => WebAnalytics$inboundSchema).optional(), - security: z.lazy(() => Security$inboundSchema).optional(), - oidcTokenConfig: z.lazy(() => - UpdateProjectDataCacheOidcTokenConfig$inboundSchema - ).optional(), - tier: Tier$inboundSchema.optional(), -}); - -/** @internal */ -export type UpdateProjectDataCacheResponseBody$Outbound = { - accountId: string; - analytics?: Analytics$Outbound | undefined; - speedInsights?: SpeedInsights$Outbound | undefined; - autoExposeSystemEnvs?: boolean | undefined; - autoAssignCustomDomains?: boolean | undefined; - autoAssignCustomDomainsUpdatedBy?: string | undefined; - buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; - connectConfigurationId?: string | null | undefined; - connectBuildsEnabled?: boolean | undefined; - createdAt?: number | undefined; - customerSupportCodeVisibility?: boolean | undefined; - crons?: Crons$Outbound | undefined; - dataCache?: DataCache$Outbound | undefined; - deploymentExpiration?: DeploymentExpiration$Outbound | null | undefined; - devCommand?: string | null | undefined; - directoryListing: boolean; - installCommand?: string | null | undefined; - env?: Array | undefined; - customEnvironments?: Array | undefined; - framework?: string | null | undefined; - gitForkProtection?: boolean | undefined; - gitLFS?: boolean | undefined; - id: string; - ipBuckets?: Array | undefined; - latestDeployments?: Array | undefined; - link?: Link1$Outbound | Link3$Outbound | Link2$Outbound | undefined; - microfrontends?: Microfrontends$Outbound | undefined; - name: string; - nodeVersion: string; - optionsAllowlist?: - | UpdateProjectDataCacheOptionsAllowlist$Outbound - | null - | undefined; - outputDirectory?: string | null | undefined; - passiveConnectConfigurationId?: string | null | undefined; - passwordProtection?: - | UpdateProjectDataCachePasswordProtection$Outbound - | null - | undefined; - productionDeploymentsFastLane?: boolean | undefined; - publicSource?: boolean | null | undefined; - resourceConfig?: ResourceConfig$Outbound | undefined; - rootDirectory?: string | null | undefined; - serverlessFunctionRegion?: string | null | undefined; - serverlessFunctionZeroConfigFailover?: boolean | undefined; - skewProtectionBoundaryAt?: number | undefined; - skewProtectionMaxAge?: number | undefined; - skipGitConnectDuringLink?: boolean | undefined; - sourceFilesOutsideRootDirectory?: boolean | undefined; - enableAffectedProjectsDeployments?: boolean | undefined; - ssoProtection?: - | UpdateProjectDataCacheSsoProtection$Outbound - | null - | undefined; - targets?: { [k: string]: Targets$Outbound } | undefined; - transferCompletedAt?: number | undefined; - transferStartedAt?: number | undefined; - transferToAccountId?: string | undefined; - transferredFromAccountId?: string | undefined; - updatedAt?: number | undefined; - live?: boolean | undefined; - enablePreviewFeedback?: boolean | null | undefined; - enableProductionFeedback?: boolean | null | undefined; - permissions?: Permissions$Outbound | undefined; - lastRollbackTarget?: LastRollbackTarget$Outbound | null | undefined; - lastAliasRequest?: LastAliasRequest$Outbound | null | undefined; - hasFloatingAliases?: boolean | undefined; - protectionBypass?: { [k: string]: ProtectionBypass$Outbound } | undefined; - hasActiveBranches?: boolean | undefined; - trustedIps?: TrustedIps2$Outbound | TrustedIps1$Outbound | null | undefined; - gitComments?: GitComments$Outbound | undefined; - paused?: boolean | undefined; - concurrencyBucketName?: string | undefined; - webAnalytics?: WebAnalytics$Outbound | undefined; - security?: Security$Outbound | undefined; - oidcTokenConfig?: UpdateProjectDataCacheOidcTokenConfig$Outbound | undefined; - tier?: string | undefined; -}; - -/** @internal */ -export const UpdateProjectDataCacheResponseBody$outboundSchema: z.ZodType< - UpdateProjectDataCacheResponseBody$Outbound, - z.ZodTypeDef, - UpdateProjectDataCacheResponseBody -> = z.object({ - accountId: z.string(), - analytics: z.lazy(() => Analytics$outboundSchema).optional(), - speedInsights: z.lazy(() => SpeedInsights$outboundSchema).optional(), - autoExposeSystemEnvs: z.boolean().optional(), - autoAssignCustomDomains: z.boolean().optional(), - autoAssignCustomDomainsUpdatedBy: z.string().optional(), - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - connectConfigurationId: z.nullable(z.string()).optional(), - connectBuildsEnabled: z.boolean().optional(), - createdAt: z.number().optional(), - customerSupportCodeVisibility: z.boolean().optional(), - crons: z.lazy(() => Crons$outboundSchema).optional(), - dataCache: z.lazy(() => DataCache$outboundSchema).optional(), - deploymentExpiration: z.nullable( - z.lazy(() => DeploymentExpiration$outboundSchema), - ).optional(), - devCommand: z.nullable(z.string()).optional(), - directoryListing: z.boolean(), - installCommand: z.nullable(z.string()).optional(), - env: z.array(z.lazy(() => Env$outboundSchema)).optional(), - customEnvironments: z.array(z.lazy(() => CustomEnvironments$outboundSchema)) - .optional(), - framework: z.nullable(UpdateProjectDataCacheFramework$outboundSchema) - .optional(), - gitForkProtection: z.boolean().optional(), - gitLFS: z.boolean().optional(), - id: z.string(), - ipBuckets: z.array(z.lazy(() => IpBuckets$outboundSchema)).optional(), - latestDeployments: z.array(z.lazy(() => LatestDeployments$outboundSchema)) - .optional(), - link: z.union([ - z.lazy(() => Link1$outboundSchema), - z.lazy(() => Link3$outboundSchema), - z.lazy(() => Link2$outboundSchema), - ]).optional(), - microfrontends: z.lazy(() => Microfrontends$outboundSchema).optional(), - name: z.string(), - nodeVersion: UpdateProjectDataCacheNodeVersion$outboundSchema, - optionsAllowlist: z.nullable( - z.lazy(() => UpdateProjectDataCacheOptionsAllowlist$outboundSchema), - ).optional(), - outputDirectory: z.nullable(z.string()).optional(), - passiveConnectConfigurationId: z.nullable(z.string()).optional(), - passwordProtection: z.nullable( - z.lazy(() => UpdateProjectDataCachePasswordProtection$outboundSchema), - ).optional(), - productionDeploymentsFastLane: z.boolean().optional(), - publicSource: z.nullable(z.boolean()).optional(), - resourceConfig: z.lazy(() => ResourceConfig$outboundSchema).optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - serverlessFunctionZeroConfigFailover: z.boolean().optional(), - skewProtectionBoundaryAt: z.number().optional(), - skewProtectionMaxAge: z.number().optional(), - skipGitConnectDuringLink: z.boolean().optional(), - sourceFilesOutsideRootDirectory: z.boolean().optional(), - enableAffectedProjectsDeployments: z.boolean().optional(), - ssoProtection: z.nullable( - z.lazy(() => UpdateProjectDataCacheSsoProtection$outboundSchema), - ).optional(), - targets: z.record(z.lazy(() => Targets$outboundSchema)).optional(), - transferCompletedAt: z.number().optional(), - transferStartedAt: z.number().optional(), - transferToAccountId: z.string().optional(), - transferredFromAccountId: z.string().optional(), - updatedAt: z.number().optional(), - live: z.boolean().optional(), - enablePreviewFeedback: z.nullable(z.boolean()).optional(), - enableProductionFeedback: z.nullable(z.boolean()).optional(), - permissions: z.lazy(() => Permissions$outboundSchema).optional(), - lastRollbackTarget: z.nullable( - z.lazy(() => LastRollbackTarget$outboundSchema), - ).optional(), - lastAliasRequest: z.nullable(z.lazy(() => LastAliasRequest$outboundSchema)) - .optional(), - hasFloatingAliases: z.boolean().optional(), - protectionBypass: z.record(z.lazy(() => ProtectionBypass$outboundSchema)) - .optional(), - hasActiveBranches: z.boolean().optional(), - trustedIps: z.nullable( - z.union([ - z.lazy(() => TrustedIps2$outboundSchema), - z.lazy(() => TrustedIps1$outboundSchema), - ]), - ).optional(), - gitComments: z.lazy(() => GitComments$outboundSchema).optional(), - paused: z.boolean().optional(), - concurrencyBucketName: z.string().optional(), - webAnalytics: z.lazy(() => WebAnalytics$outboundSchema).optional(), - security: z.lazy(() => Security$outboundSchema).optional(), - oidcTokenConfig: z.lazy(() => - UpdateProjectDataCacheOidcTokenConfig$outboundSchema - ).optional(), - tier: Tier$outboundSchema.optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheResponseBody$ { - /** @deprecated use `UpdateProjectDataCacheResponseBody$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheResponseBody$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheResponseBody$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheResponseBody$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheResponseBody$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheResponseBody$Outbound; -} - -export function updateProjectDataCacheResponseBodyToJSON( - updateProjectDataCacheResponseBody: UpdateProjectDataCacheResponseBody, -): string { - return JSON.stringify( - UpdateProjectDataCacheResponseBody$outboundSchema.parse( - updateProjectDataCacheResponseBody, - ), - ); -} - -export function updateProjectDataCacheResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectDataCacheResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDataCacheResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/updateprojectdomain.ts b/src/models/operations/updateprojectdomain.ts deleted file mode 100644 index 4094d7ff..00000000 --- a/src/models/operations/updateprojectdomain.ts +++ /dev/null @@ -1,406 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Status code for domain redirect - */ -export const RedirectStatusCode = { - ThreeHundredAndOne: 301, - ThreeHundredAndTwo: 302, - ThreeHundredAndSeven: 307, - ThreeHundredAndEight: 308, -} as const; -/** - * Status code for domain redirect - */ -export type RedirectStatusCode = ClosedEnum; - -export type UpdateProjectDomainRequestBody = { - /** - * Git branch to link the project domain - */ - gitBranch?: string | null | undefined; - /** - * Target destination domain for redirect - */ - redirect?: string | null | undefined; - /** - * Status code for domain redirect - */ - redirectStatusCode?: RedirectStatusCode | null | undefined; -}; - -export type UpdateProjectDomainRequest = { - /** - * The unique project identifier or the project name - */ - idOrName: string; - /** - * The project domain name - */ - domain: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: UpdateProjectDomainRequestBody | undefined; -}; - -/** - * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. - */ -export type UpdateProjectDomainVerification = { - type: string; - domain: string; - value: string; - reason: string; -}; - -/** - * The domain was updated successfuly - */ -export type UpdateProjectDomainResponseBody = { - name: string; - apexName: string; - projectId: string; - redirect?: string | null | undefined; - redirectStatusCode?: number | null | undefined; - gitBranch?: string | null | undefined; - customEnvironmentId?: string | null | undefined; - updatedAt?: number | undefined; - createdAt?: number | undefined; - /** - * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. - */ - verified: boolean; - /** - * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. - */ - verification?: Array | undefined; -}; - -/** @internal */ -export const RedirectStatusCode$inboundSchema: z.ZodNativeEnum< - typeof RedirectStatusCode -> = z.nativeEnum(RedirectStatusCode); - -/** @internal */ -export const RedirectStatusCode$outboundSchema: z.ZodNativeEnum< - typeof RedirectStatusCode -> = RedirectStatusCode$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RedirectStatusCode$ { - /** @deprecated use `RedirectStatusCode$inboundSchema` instead. */ - export const inboundSchema = RedirectStatusCode$inboundSchema; - /** @deprecated use `RedirectStatusCode$outboundSchema` instead. */ - export const outboundSchema = RedirectStatusCode$outboundSchema; -} - -/** @internal */ -export const UpdateProjectDomainRequestBody$inboundSchema: z.ZodType< - UpdateProjectDomainRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - gitBranch: z.nullable(z.string()).optional(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(RedirectStatusCode$inboundSchema).optional(), -}); - -/** @internal */ -export type UpdateProjectDomainRequestBody$Outbound = { - gitBranch?: string | null | undefined; - redirect?: string | null | undefined; - redirectStatusCode?: number | null | undefined; -}; - -/** @internal */ -export const UpdateProjectDomainRequestBody$outboundSchema: z.ZodType< - UpdateProjectDomainRequestBody$Outbound, - z.ZodTypeDef, - UpdateProjectDomainRequestBody -> = z.object({ - gitBranch: z.nullable(z.string()).optional(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(RedirectStatusCode$outboundSchema).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDomainRequestBody$ { - /** @deprecated use `UpdateProjectDomainRequestBody$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDomainRequestBody$inboundSchema; - /** @deprecated use `UpdateProjectDomainRequestBody$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDomainRequestBody$outboundSchema; - /** @deprecated use `UpdateProjectDomainRequestBody$Outbound` instead. */ - export type Outbound = UpdateProjectDomainRequestBody$Outbound; -} - -export function updateProjectDomainRequestBodyToJSON( - updateProjectDomainRequestBody: UpdateProjectDomainRequestBody, -): string { - return JSON.stringify( - UpdateProjectDomainRequestBody$outboundSchema.parse( - updateProjectDomainRequestBody, - ), - ); -} - -export function updateProjectDomainRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDomainRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDomainRequestBody' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDomainRequest$inboundSchema: z.ZodType< - UpdateProjectDomainRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => UpdateProjectDomainRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type UpdateProjectDomainRequest$Outbound = { - idOrName: string; - domain: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: UpdateProjectDomainRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const UpdateProjectDomainRequest$outboundSchema: z.ZodType< - UpdateProjectDomainRequest$Outbound, - z.ZodTypeDef, - UpdateProjectDomainRequest -> = z.object({ - idOrName: z.string(), - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateProjectDomainRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDomainRequest$ { - /** @deprecated use `UpdateProjectDomainRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDomainRequest$inboundSchema; - /** @deprecated use `UpdateProjectDomainRequest$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDomainRequest$outboundSchema; - /** @deprecated use `UpdateProjectDomainRequest$Outbound` instead. */ - export type Outbound = UpdateProjectDomainRequest$Outbound; -} - -export function updateProjectDomainRequestToJSON( - updateProjectDomainRequest: UpdateProjectDomainRequest, -): string { - return JSON.stringify( - UpdateProjectDomainRequest$outboundSchema.parse(updateProjectDomainRequest), - ); -} - -export function updateProjectDomainRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDomainRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDomainRequest' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDomainVerification$inboundSchema: z.ZodType< - UpdateProjectDomainVerification, - z.ZodTypeDef, - unknown -> = z.object({ - type: z.string(), - domain: z.string(), - value: z.string(), - reason: z.string(), -}); - -/** @internal */ -export type UpdateProjectDomainVerification$Outbound = { - type: string; - domain: string; - value: string; - reason: string; -}; - -/** @internal */ -export const UpdateProjectDomainVerification$outboundSchema: z.ZodType< - UpdateProjectDomainVerification$Outbound, - z.ZodTypeDef, - UpdateProjectDomainVerification -> = z.object({ - type: z.string(), - domain: z.string(), - value: z.string(), - reason: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDomainVerification$ { - /** @deprecated use `UpdateProjectDomainVerification$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDomainVerification$inboundSchema; - /** @deprecated use `UpdateProjectDomainVerification$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDomainVerification$outboundSchema; - /** @deprecated use `UpdateProjectDomainVerification$Outbound` instead. */ - export type Outbound = UpdateProjectDomainVerification$Outbound; -} - -export function updateProjectDomainVerificationToJSON( - updateProjectDomainVerification: UpdateProjectDomainVerification, -): string { - return JSON.stringify( - UpdateProjectDomainVerification$outboundSchema.parse( - updateProjectDomainVerification, - ), - ); -} - -export function updateProjectDomainVerificationFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDomainVerification$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDomainVerification' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectDomainResponseBody$inboundSchema: z.ZodType< - UpdateProjectDomainResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - apexName: z.string(), - projectId: z.string(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(z.number()).optional(), - gitBranch: z.nullable(z.string()).optional(), - customEnvironmentId: z.nullable(z.string()).optional(), - updatedAt: z.number().optional(), - createdAt: z.number().optional(), - verified: z.boolean(), - verification: z.array( - z.lazy(() => UpdateProjectDomainVerification$inboundSchema), - ).optional(), -}); - -/** @internal */ -export type UpdateProjectDomainResponseBody$Outbound = { - name: string; - apexName: string; - projectId: string; - redirect?: string | null | undefined; - redirectStatusCode?: number | null | undefined; - gitBranch?: string | null | undefined; - customEnvironmentId?: string | null | undefined; - updatedAt?: number | undefined; - createdAt?: number | undefined; - verified: boolean; - verification?: Array | undefined; -}; - -/** @internal */ -export const UpdateProjectDomainResponseBody$outboundSchema: z.ZodType< - UpdateProjectDomainResponseBody$Outbound, - z.ZodTypeDef, - UpdateProjectDomainResponseBody -> = z.object({ - name: z.string(), - apexName: z.string(), - projectId: z.string(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(z.number()).optional(), - gitBranch: z.nullable(z.string()).optional(), - customEnvironmentId: z.nullable(z.string()).optional(), - updatedAt: z.number().optional(), - createdAt: z.number().optional(), - verified: z.boolean(), - verification: z.array( - z.lazy(() => UpdateProjectDomainVerification$outboundSchema), - ).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDomainResponseBody$ { - /** @deprecated use `UpdateProjectDomainResponseBody$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDomainResponseBody$inboundSchema; - /** @deprecated use `UpdateProjectDomainResponseBody$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDomainResponseBody$outboundSchema; - /** @deprecated use `UpdateProjectDomainResponseBody$Outbound` instead. */ - export type Outbound = UpdateProjectDomainResponseBody$Outbound; -} - -export function updateProjectDomainResponseBodyToJSON( - updateProjectDomainResponseBody: UpdateProjectDomainResponseBody, -): string { - return JSON.stringify( - UpdateProjectDomainResponseBody$outboundSchema.parse( - updateProjectDomainResponseBody, - ), - ); -} - -export function updateProjectDomainResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateProjectDomainResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectDomainResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/updateprojectprotectionbypass.ts b/src/models/operations/updateprojectprotectionbypass.ts deleted file mode 100644 index 71e063c0..00000000 --- a/src/models/operations/updateprojectprotectionbypass.ts +++ /dev/null @@ -1,497 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Optional instructions for revoking and regenerating a automation bypass - */ -export type Revoke = { - /** - * Automation bypass to revoked - */ - secret: string; - /** - * Whether or not a new automation bypass should be created after the provided secret is revoked - */ - regenerate: boolean; -}; - -/** - * Generate a new secret. If neither generate or revoke are provided, a new random secret will be generated. - */ -export type Generate = { - /** - * Optional value of the secret to generate - */ - secret?: string | undefined; -}; - -export type UpdateProjectProtectionBypassRequestBody = { - /** - * Optional instructions for revoking and regenerating a automation bypass - */ - revoke?: Revoke | undefined; - /** - * Generate a new secret. If neither generate or revoke are provided, a new random secret will be generated. - */ - generate?: Generate | undefined; -}; - -export type UpdateProjectProtectionBypassRequest = { - /** - * The unique project identifier or the project name - */ - idOrName: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: UpdateProjectProtectionBypassRequestBody | undefined; -}; - -export const UpdateProjectProtectionBypassScope = { - AutomationBypass: "automation-bypass", -} as const; -export type UpdateProjectProtectionBypassScope = ClosedEnum< - typeof UpdateProjectProtectionBypassScope ->; - -export type UpdateProjectProtectionBypassProtectionBypass = { - createdAt: number; - createdBy: string; - scope: UpdateProjectProtectionBypassScope; -}; - -export type UpdateProjectProtectionBypassResponseBody = { - protectionBypass?: { - [k: string]: UpdateProjectProtectionBypassProtectionBypass; - } | undefined; -}; - -/** @internal */ -export const Revoke$inboundSchema: z.ZodType = z - .object({ - secret: z.string(), - regenerate: z.boolean(), - }); - -/** @internal */ -export type Revoke$Outbound = { - secret: string; - regenerate: boolean; -}; - -/** @internal */ -export const Revoke$outboundSchema: z.ZodType< - Revoke$Outbound, - z.ZodTypeDef, - Revoke -> = z.object({ - secret: z.string(), - regenerate: z.boolean(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Revoke$ { - /** @deprecated use `Revoke$inboundSchema` instead. */ - export const inboundSchema = Revoke$inboundSchema; - /** @deprecated use `Revoke$outboundSchema` instead. */ - export const outboundSchema = Revoke$outboundSchema; - /** @deprecated use `Revoke$Outbound` instead. */ - export type Outbound = Revoke$Outbound; -} - -export function revokeToJSON(revoke: Revoke): string { - return JSON.stringify(Revoke$outboundSchema.parse(revoke)); -} - -export function revokeFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Revoke$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Revoke' from JSON`, - ); -} - -/** @internal */ -export const Generate$inboundSchema: z.ZodType< - Generate, - z.ZodTypeDef, - unknown -> = z.object({ - secret: z.string().optional(), -}); - -/** @internal */ -export type Generate$Outbound = { - secret?: string | undefined; -}; - -/** @internal */ -export const Generate$outboundSchema: z.ZodType< - Generate$Outbound, - z.ZodTypeDef, - Generate -> = z.object({ - secret: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Generate$ { - /** @deprecated use `Generate$inboundSchema` instead. */ - export const inboundSchema = Generate$inboundSchema; - /** @deprecated use `Generate$outboundSchema` instead. */ - export const outboundSchema = Generate$outboundSchema; - /** @deprecated use `Generate$Outbound` instead. */ - export type Outbound = Generate$Outbound; -} - -export function generateToJSON(generate: Generate): string { - return JSON.stringify(Generate$outboundSchema.parse(generate)); -} - -export function generateFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Generate$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Generate' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProtectionBypassRequestBody$inboundSchema: z.ZodType< - UpdateProjectProtectionBypassRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - revoke: z.lazy(() => Revoke$inboundSchema).optional(), - generate: z.lazy(() => Generate$inboundSchema).optional(), -}); - -/** @internal */ -export type UpdateProjectProtectionBypassRequestBody$Outbound = { - revoke?: Revoke$Outbound | undefined; - generate?: Generate$Outbound | undefined; -}; - -/** @internal */ -export const UpdateProjectProtectionBypassRequestBody$outboundSchema: z.ZodType< - UpdateProjectProtectionBypassRequestBody$Outbound, - z.ZodTypeDef, - UpdateProjectProtectionBypassRequestBody -> = z.object({ - revoke: z.lazy(() => Revoke$outboundSchema).optional(), - generate: z.lazy(() => Generate$outboundSchema).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProtectionBypassRequestBody$ { - /** @deprecated use `UpdateProjectProtectionBypassRequestBody$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProtectionBypassRequestBody$inboundSchema; - /** @deprecated use `UpdateProjectProtectionBypassRequestBody$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProtectionBypassRequestBody$outboundSchema; - /** @deprecated use `UpdateProjectProtectionBypassRequestBody$Outbound` instead. */ - export type Outbound = UpdateProjectProtectionBypassRequestBody$Outbound; -} - -export function updateProjectProtectionBypassRequestBodyToJSON( - updateProjectProtectionBypassRequestBody: - UpdateProjectProtectionBypassRequestBody, -): string { - return JSON.stringify( - UpdateProjectProtectionBypassRequestBody$outboundSchema.parse( - updateProjectProtectionBypassRequestBody, - ), - ); -} - -export function updateProjectProtectionBypassRequestBodyFromJSON( - jsonString: string, -): SafeParseResult< - UpdateProjectProtectionBypassRequestBody, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateProjectProtectionBypassRequestBody$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateProjectProtectionBypassRequestBody' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProtectionBypassRequest$inboundSchema: z.ZodType< - UpdateProjectProtectionBypassRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => - UpdateProjectProtectionBypassRequestBody$inboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type UpdateProjectProtectionBypassRequest$Outbound = { - idOrName: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: UpdateProjectProtectionBypassRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const UpdateProjectProtectionBypassRequest$outboundSchema: z.ZodType< - UpdateProjectProtectionBypassRequest$Outbound, - z.ZodTypeDef, - UpdateProjectProtectionBypassRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - UpdateProjectProtectionBypassRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProtectionBypassRequest$ { - /** @deprecated use `UpdateProjectProtectionBypassRequest$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProtectionBypassRequest$inboundSchema; - /** @deprecated use `UpdateProjectProtectionBypassRequest$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProtectionBypassRequest$outboundSchema; - /** @deprecated use `UpdateProjectProtectionBypassRequest$Outbound` instead. */ - export type Outbound = UpdateProjectProtectionBypassRequest$Outbound; -} - -export function updateProjectProtectionBypassRequestToJSON( - updateProjectProtectionBypassRequest: UpdateProjectProtectionBypassRequest, -): string { - return JSON.stringify( - UpdateProjectProtectionBypassRequest$outboundSchema.parse( - updateProjectProtectionBypassRequest, - ), - ); -} - -export function updateProjectProtectionBypassRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UpdateProjectProtectionBypassRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectProtectionBypassRequest' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProtectionBypassScope$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProtectionBypassScope -> = z.nativeEnum(UpdateProjectProtectionBypassScope); - -/** @internal */ -export const UpdateProjectProtectionBypassScope$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProtectionBypassScope -> = UpdateProjectProtectionBypassScope$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProtectionBypassScope$ { - /** @deprecated use `UpdateProjectProtectionBypassScope$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProtectionBypassScope$inboundSchema; - /** @deprecated use `UpdateProjectProtectionBypassScope$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProtectionBypassScope$outboundSchema; -} - -/** @internal */ -export const UpdateProjectProtectionBypassProtectionBypass$inboundSchema: - z.ZodType< - UpdateProjectProtectionBypassProtectionBypass, - z.ZodTypeDef, - unknown - > = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: UpdateProjectProtectionBypassScope$inboundSchema, - }); - -/** @internal */ -export type UpdateProjectProtectionBypassProtectionBypass$Outbound = { - createdAt: number; - createdBy: string; - scope: string; -}; - -/** @internal */ -export const UpdateProjectProtectionBypassProtectionBypass$outboundSchema: - z.ZodType< - UpdateProjectProtectionBypassProtectionBypass$Outbound, - z.ZodTypeDef, - UpdateProjectProtectionBypassProtectionBypass - > = z.object({ - createdAt: z.number(), - createdBy: z.string(), - scope: UpdateProjectProtectionBypassScope$outboundSchema, - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProtectionBypassProtectionBypass$ { - /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProtectionBypassProtectionBypass$inboundSchema; - /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProtectionBypassProtectionBypass$outboundSchema; - /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass$Outbound` instead. */ - export type Outbound = UpdateProjectProtectionBypassProtectionBypass$Outbound; -} - -export function updateProjectProtectionBypassProtectionBypassToJSON( - updateProjectProtectionBypassProtectionBypass: - UpdateProjectProtectionBypassProtectionBypass, -): string { - return JSON.stringify( - UpdateProjectProtectionBypassProtectionBypass$outboundSchema.parse( - updateProjectProtectionBypassProtectionBypass, - ), - ); -} - -export function updateProjectProtectionBypassProtectionBypassFromJSON( - jsonString: string, -): SafeParseResult< - UpdateProjectProtectionBypassProtectionBypass, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateProjectProtectionBypassProtectionBypass$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateProjectProtectionBypassProtectionBypass' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProtectionBypassResponseBody$inboundSchema: z.ZodType< - UpdateProjectProtectionBypassResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - protectionBypass: z.record( - z.lazy(() => UpdateProjectProtectionBypassProtectionBypass$inboundSchema), - ).optional(), -}); - -/** @internal */ -export type UpdateProjectProtectionBypassResponseBody$Outbound = { - protectionBypass?: { - [k: string]: UpdateProjectProtectionBypassProtectionBypass$Outbound; - } | undefined; -}; - -/** @internal */ -export const UpdateProjectProtectionBypassResponseBody$outboundSchema: - z.ZodType< - UpdateProjectProtectionBypassResponseBody$Outbound, - z.ZodTypeDef, - UpdateProjectProtectionBypassResponseBody - > = z.object({ - protectionBypass: z.record( - z.lazy(() => - UpdateProjectProtectionBypassProtectionBypass$outboundSchema - ), - ).optional(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProtectionBypassResponseBody$ { - /** @deprecated use `UpdateProjectProtectionBypassResponseBody$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProtectionBypassResponseBody$inboundSchema; - /** @deprecated use `UpdateProjectProtectionBypassResponseBody$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProtectionBypassResponseBody$outboundSchema; - /** @deprecated use `UpdateProjectProtectionBypassResponseBody$Outbound` instead. */ - export type Outbound = UpdateProjectProtectionBypassResponseBody$Outbound; -} - -export function updateProjectProtectionBypassResponseBodyToJSON( - updateProjectProtectionBypassResponseBody: - UpdateProjectProtectionBypassResponseBody, -): string { - return JSON.stringify( - UpdateProjectProtectionBypassResponseBody$outboundSchema.parse( - updateProjectProtectionBypassResponseBody, - ), - ); -} - -export function updateProjectProtectionBypassResponseBodyFromJSON( - jsonString: string, -): SafeParseResult< - UpdateProjectProtectionBypassResponseBody, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - UpdateProjectProtectionBypassResponseBody$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'UpdateProjectProtectionBypassResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/updaterecord.ts b/src/models/operations/updaterecord.ts deleted file mode 100644 index a9dcf0be..00000000 --- a/src/models/operations/updaterecord.ts +++ /dev/null @@ -1,515 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The type of the DNS record - */ -export const UpdateRecordType = { - A: "A", - Aaaa: "AAAA", - Alias: "ALIAS", - Caa: "CAA", - Cname: "CNAME", - Https: "HTTPS", - Mx: "MX", - Srv: "SRV", - Txt: "TXT", - Ns: "NS", -} as const; -/** - * The type of the DNS record - */ -export type UpdateRecordType = ClosedEnum; - -export type Srv = { - target: string | null; - weight: number | null; - port: number | null; - priority: number | null; -}; - -export type Https = { - priority: number | null; - target: string | null; - params?: string | null | undefined; -}; - -export type UpdateRecordRequestBody = { - /** - * The name of the DNS record - */ - name?: string | null | undefined; - /** - * The value of the DNS record - */ - value?: string | null | undefined; - /** - * The type of the DNS record - */ - type?: UpdateRecordType | null | undefined; - /** - * The Time to live (TTL) value of the DNS record - */ - ttl?: number | null | undefined; - /** - * The MX priority value of the DNS record - */ - mxPriority?: number | null | undefined; - srv?: Srv | null | undefined; - https?: Https | null | undefined; - /** - * A comment to add context on what this DNS record is for - */ - comment?: string | undefined; -}; - -export type UpdateRecordRequest = { - /** - * The id of the DNS record - */ - recordId: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: UpdateRecordRequestBody | undefined; -}; - -export const RecordType = { - A: "A", - Aaaa: "AAAA", - Alias: "ALIAS", - Caa: "CAA", - Cname: "CNAME", - Https: "HTTPS", - Mx: "MX", - Srv: "SRV", - Txt: "TXT", - Ns: "NS", -} as const; -export type RecordType = ClosedEnum; - -export const UpdateRecordDnsType = { - Record: "record", - RecordSys: "record-sys", -} as const; -export type UpdateRecordDnsType = ClosedEnum; - -export type UpdateRecordResponseBody = { - createdAt?: number | null | undefined; - creator: string; - domain: string; - id: string; - name: string; - recordType: RecordType; - ttl?: number | undefined; - type: UpdateRecordDnsType; - value: string; - comment?: string | undefined; -}; - -/** @internal */ -export const UpdateRecordType$inboundSchema: z.ZodNativeEnum< - typeof UpdateRecordType -> = z.nativeEnum(UpdateRecordType); - -/** @internal */ -export const UpdateRecordType$outboundSchema: z.ZodNativeEnum< - typeof UpdateRecordType -> = UpdateRecordType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateRecordType$ { - /** @deprecated use `UpdateRecordType$inboundSchema` instead. */ - export const inboundSchema = UpdateRecordType$inboundSchema; - /** @deprecated use `UpdateRecordType$outboundSchema` instead. */ - export const outboundSchema = UpdateRecordType$outboundSchema; -} - -/** @internal */ -export const Srv$inboundSchema: z.ZodType = z - .object({ - target: z.nullable(z.string()), - weight: z.nullable(z.number().int()), - port: z.nullable(z.number().int()), - priority: z.nullable(z.number().int()), - }); - -/** @internal */ -export type Srv$Outbound = { - target: string | null; - weight: number | null; - port: number | null; - priority: number | null; -}; - -/** @internal */ -export const Srv$outboundSchema: z.ZodType = z - .object({ - target: z.nullable(z.string()), - weight: z.nullable(z.number().int()), - port: z.nullable(z.number().int()), - priority: z.nullable(z.number().int()), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Srv$ { - /** @deprecated use `Srv$inboundSchema` instead. */ - export const inboundSchema = Srv$inboundSchema; - /** @deprecated use `Srv$outboundSchema` instead. */ - export const outboundSchema = Srv$outboundSchema; - /** @deprecated use `Srv$Outbound` instead. */ - export type Outbound = Srv$Outbound; -} - -export function srvToJSON(srv: Srv): string { - return JSON.stringify(Srv$outboundSchema.parse(srv)); -} - -export function srvFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Srv$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Srv' from JSON`, - ); -} - -/** @internal */ -export const Https$inboundSchema: z.ZodType = z - .object({ - priority: z.nullable(z.number().int()), - target: z.nullable(z.string()), - params: z.nullable(z.string()).optional(), - }); - -/** @internal */ -export type Https$Outbound = { - priority: number | null; - target: string | null; - params?: string | null | undefined; -}; - -/** @internal */ -export const Https$outboundSchema: z.ZodType< - Https$Outbound, - z.ZodTypeDef, - Https -> = z.object({ - priority: z.nullable(z.number().int()), - target: z.nullable(z.string()), - params: z.nullable(z.string()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Https$ { - /** @deprecated use `Https$inboundSchema` instead. */ - export const inboundSchema = Https$inboundSchema; - /** @deprecated use `Https$outboundSchema` instead. */ - export const outboundSchema = Https$outboundSchema; - /** @deprecated use `Https$Outbound` instead. */ - export type Outbound = Https$Outbound; -} - -export function httpsToJSON(https: Https): string { - return JSON.stringify(Https$outboundSchema.parse(https)); -} - -export function httpsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Https$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Https' from JSON`, - ); -} - -/** @internal */ -export const UpdateRecordRequestBody$inboundSchema: z.ZodType< - UpdateRecordRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.nullable(z.string()).optional(), - value: z.nullable(z.string()).optional(), - type: z.nullable(UpdateRecordType$inboundSchema).optional(), - ttl: z.nullable(z.number().int()).optional(), - mxPriority: z.nullable(z.number().int()).optional(), - srv: z.nullable(z.lazy(() => Srv$inboundSchema)).optional(), - https: z.nullable(z.lazy(() => Https$inboundSchema)).optional(), - comment: z.string().optional(), -}); - -/** @internal */ -export type UpdateRecordRequestBody$Outbound = { - name?: string | null | undefined; - value?: string | null | undefined; - type?: string | null | undefined; - ttl?: number | null | undefined; - mxPriority?: number | null | undefined; - srv?: Srv$Outbound | null | undefined; - https?: Https$Outbound | null | undefined; - comment?: string | undefined; -}; - -/** @internal */ -export const UpdateRecordRequestBody$outboundSchema: z.ZodType< - UpdateRecordRequestBody$Outbound, - z.ZodTypeDef, - UpdateRecordRequestBody -> = z.object({ - name: z.nullable(z.string()).optional(), - value: z.nullable(z.string()).optional(), - type: z.nullable(UpdateRecordType$outboundSchema).optional(), - ttl: z.nullable(z.number().int()).optional(), - mxPriority: z.nullable(z.number().int()).optional(), - srv: z.nullable(z.lazy(() => Srv$outboundSchema)).optional(), - https: z.nullable(z.lazy(() => Https$outboundSchema)).optional(), - comment: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateRecordRequestBody$ { - /** @deprecated use `UpdateRecordRequestBody$inboundSchema` instead. */ - export const inboundSchema = UpdateRecordRequestBody$inboundSchema; - /** @deprecated use `UpdateRecordRequestBody$outboundSchema` instead. */ - export const outboundSchema = UpdateRecordRequestBody$outboundSchema; - /** @deprecated use `UpdateRecordRequestBody$Outbound` instead. */ - export type Outbound = UpdateRecordRequestBody$Outbound; -} - -export function updateRecordRequestBodyToJSON( - updateRecordRequestBody: UpdateRecordRequestBody, -): string { - return JSON.stringify( - UpdateRecordRequestBody$outboundSchema.parse(updateRecordRequestBody), - ); -} - -export function updateRecordRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateRecordRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateRecordRequestBody' from JSON`, - ); -} - -/** @internal */ -export const UpdateRecordRequest$inboundSchema: z.ZodType< - UpdateRecordRequest, - z.ZodTypeDef, - unknown -> = z.object({ - recordId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => UpdateRecordRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type UpdateRecordRequest$Outbound = { - recordId: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: UpdateRecordRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const UpdateRecordRequest$outboundSchema: z.ZodType< - UpdateRecordRequest$Outbound, - z.ZodTypeDef, - UpdateRecordRequest -> = z.object({ - recordId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateRecordRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateRecordRequest$ { - /** @deprecated use `UpdateRecordRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateRecordRequest$inboundSchema; - /** @deprecated use `UpdateRecordRequest$outboundSchema` instead. */ - export const outboundSchema = UpdateRecordRequest$outboundSchema; - /** @deprecated use `UpdateRecordRequest$Outbound` instead. */ - export type Outbound = UpdateRecordRequest$Outbound; -} - -export function updateRecordRequestToJSON( - updateRecordRequest: UpdateRecordRequest, -): string { - return JSON.stringify( - UpdateRecordRequest$outboundSchema.parse(updateRecordRequest), - ); -} - -export function updateRecordRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateRecordRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateRecordRequest' from JSON`, - ); -} - -/** @internal */ -export const RecordType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(RecordType); - -/** @internal */ -export const RecordType$outboundSchema: z.ZodNativeEnum = - RecordType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RecordType$ { - /** @deprecated use `RecordType$inboundSchema` instead. */ - export const inboundSchema = RecordType$inboundSchema; - /** @deprecated use `RecordType$outboundSchema` instead. */ - export const outboundSchema = RecordType$outboundSchema; -} - -/** @internal */ -export const UpdateRecordDnsType$inboundSchema: z.ZodNativeEnum< - typeof UpdateRecordDnsType -> = z.nativeEnum(UpdateRecordDnsType); - -/** @internal */ -export const UpdateRecordDnsType$outboundSchema: z.ZodNativeEnum< - typeof UpdateRecordDnsType -> = UpdateRecordDnsType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateRecordDnsType$ { - /** @deprecated use `UpdateRecordDnsType$inboundSchema` instead. */ - export const inboundSchema = UpdateRecordDnsType$inboundSchema; - /** @deprecated use `UpdateRecordDnsType$outboundSchema` instead. */ - export const outboundSchema = UpdateRecordDnsType$outboundSchema; -} - -/** @internal */ -export const UpdateRecordResponseBody$inboundSchema: z.ZodType< - UpdateRecordResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - createdAt: z.nullable(z.number()).optional(), - creator: z.string(), - domain: z.string(), - id: z.string(), - name: z.string(), - recordType: RecordType$inboundSchema, - ttl: z.number().optional(), - type: UpdateRecordDnsType$inboundSchema, - value: z.string(), - comment: z.string().optional(), -}); - -/** @internal */ -export type UpdateRecordResponseBody$Outbound = { - createdAt?: number | null | undefined; - creator: string; - domain: string; - id: string; - name: string; - recordType: string; - ttl?: number | undefined; - type: string; - value: string; - comment?: string | undefined; -}; - -/** @internal */ -export const UpdateRecordResponseBody$outboundSchema: z.ZodType< - UpdateRecordResponseBody$Outbound, - z.ZodTypeDef, - UpdateRecordResponseBody -> = z.object({ - createdAt: z.nullable(z.number()).optional(), - creator: z.string(), - domain: z.string(), - id: z.string(), - name: z.string(), - recordType: RecordType$outboundSchema, - ttl: z.number().optional(), - type: UpdateRecordDnsType$outboundSchema, - value: z.string(), - comment: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateRecordResponseBody$ { - /** @deprecated use `UpdateRecordResponseBody$inboundSchema` instead. */ - export const inboundSchema = UpdateRecordResponseBody$inboundSchema; - /** @deprecated use `UpdateRecordResponseBody$outboundSchema` instead. */ - export const outboundSchema = UpdateRecordResponseBody$outboundSchema; - /** @deprecated use `UpdateRecordResponseBody$Outbound` instead. */ - export type Outbound = UpdateRecordResponseBody$Outbound; -} - -export function updateRecordResponseBodyToJSON( - updateRecordResponseBody: UpdateRecordResponseBody, -): string { - return JSON.stringify( - UpdateRecordResponseBody$outboundSchema.parse(updateRecordResponseBody), - ); -} - -export function updateRecordResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateRecordResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateRecordResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/updateresourcesecrets.ts b/src/models/operations/updateresourcesecrets.ts deleted file mode 100644 index 5683d36e..00000000 --- a/src/models/operations/updateresourcesecrets.ts +++ /dev/null @@ -1,206 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type Secrets = { - name: string; - value: string; -}; - -export type UpdateResourceSecretsRequestBody = { - secrets: Array; -}; - -export type UpdateResourceSecretsRequest = { - integrationConfigurationId: string; - integrationProductIdOrSlug: string; - resourceId: string; - requestBody?: UpdateResourceSecretsRequestBody | undefined; -}; - -/** @internal */ -export const Secrets$inboundSchema: z.ZodType = - z.object({ - name: z.string(), - value: z.string(), - }); - -/** @internal */ -export type Secrets$Outbound = { - name: string; - value: string; -}; - -/** @internal */ -export const Secrets$outboundSchema: z.ZodType< - Secrets$Outbound, - z.ZodTypeDef, - Secrets -> = z.object({ - name: z.string(), - value: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Secrets$ { - /** @deprecated use `Secrets$inboundSchema` instead. */ - export const inboundSchema = Secrets$inboundSchema; - /** @deprecated use `Secrets$outboundSchema` instead. */ - export const outboundSchema = Secrets$outboundSchema; - /** @deprecated use `Secrets$Outbound` instead. */ - export type Outbound = Secrets$Outbound; -} - -export function secretsToJSON(secrets: Secrets): string { - return JSON.stringify(Secrets$outboundSchema.parse(secrets)); -} - -export function secretsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Secrets$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Secrets' from JSON`, - ); -} - -/** @internal */ -export const UpdateResourceSecretsRequestBody$inboundSchema: z.ZodType< - UpdateResourceSecretsRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - secrets: z.array(z.lazy(() => Secrets$inboundSchema)), -}); - -/** @internal */ -export type UpdateResourceSecretsRequestBody$Outbound = { - secrets: Array; -}; - -/** @internal */ -export const UpdateResourceSecretsRequestBody$outboundSchema: z.ZodType< - UpdateResourceSecretsRequestBody$Outbound, - z.ZodTypeDef, - UpdateResourceSecretsRequestBody -> = z.object({ - secrets: z.array(z.lazy(() => Secrets$outboundSchema)), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateResourceSecretsRequestBody$ { - /** @deprecated use `UpdateResourceSecretsRequestBody$inboundSchema` instead. */ - export const inboundSchema = UpdateResourceSecretsRequestBody$inboundSchema; - /** @deprecated use `UpdateResourceSecretsRequestBody$outboundSchema` instead. */ - export const outboundSchema = UpdateResourceSecretsRequestBody$outboundSchema; - /** @deprecated use `UpdateResourceSecretsRequestBody$Outbound` instead. */ - export type Outbound = UpdateResourceSecretsRequestBody$Outbound; -} - -export function updateResourceSecretsRequestBodyToJSON( - updateResourceSecretsRequestBody: UpdateResourceSecretsRequestBody, -): string { - return JSON.stringify( - UpdateResourceSecretsRequestBody$outboundSchema.parse( - updateResourceSecretsRequestBody, - ), - ); -} - -export function updateResourceSecretsRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateResourceSecretsRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateResourceSecretsRequestBody' from JSON`, - ); -} - -/** @internal */ -export const UpdateResourceSecretsRequest$inboundSchema: z.ZodType< - UpdateResourceSecretsRequest, - z.ZodTypeDef, - unknown -> = z.object({ - integrationConfigurationId: z.string(), - integrationProductIdOrSlug: z.string(), - resourceId: z.string(), - RequestBody: z.lazy(() => UpdateResourceSecretsRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type UpdateResourceSecretsRequest$Outbound = { - integrationConfigurationId: string; - integrationProductIdOrSlug: string; - resourceId: string; - RequestBody?: UpdateResourceSecretsRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const UpdateResourceSecretsRequest$outboundSchema: z.ZodType< - UpdateResourceSecretsRequest$Outbound, - z.ZodTypeDef, - UpdateResourceSecretsRequest -> = z.object({ - integrationConfigurationId: z.string(), - integrationProductIdOrSlug: z.string(), - resourceId: z.string(), - requestBody: z.lazy(() => UpdateResourceSecretsRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateResourceSecretsRequest$ { - /** @deprecated use `UpdateResourceSecretsRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateResourceSecretsRequest$inboundSchema; - /** @deprecated use `UpdateResourceSecretsRequest$outboundSchema` instead. */ - export const outboundSchema = UpdateResourceSecretsRequest$outboundSchema; - /** @deprecated use `UpdateResourceSecretsRequest$Outbound` instead. */ - export type Outbound = UpdateResourceSecretsRequest$Outbound; -} - -export function updateResourceSecretsRequestToJSON( - updateResourceSecretsRequest: UpdateResourceSecretsRequest, -): string { - return JSON.stringify( - UpdateResourceSecretsRequest$outboundSchema.parse( - updateResourceSecretsRequest, - ), - ); -} - -export function updateResourceSecretsRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateResourceSecretsRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateResourceSecretsRequest' from JSON`, - ); -} diff --git a/src/models/operations/updateteammember.ts b/src/models/operations/updateteammember.ts deleted file mode 100644 index ac2934a1..00000000 --- a/src/models/operations/updateteammember.ts +++ /dev/null @@ -1,396 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The project role of the member that will be added. \"null\" will remove this project level role. - */ -export const UpdateTeamMemberRole = { - Admin: "ADMIN", - ProjectViewer: "PROJECT_VIEWER", - ProjectDeveloper: "PROJECT_DEVELOPER", -} as const; -/** - * The project role of the member that will be added. \"null\" will remove this project level role. - */ -export type UpdateTeamMemberRole = ClosedEnum; - -export type UpdateTeamMemberProjects = { - /** - * The ID of the project. - */ - projectId: string; - /** - * The project role of the member that will be added. \"null\" will remove this project level role. - */ - role: UpdateTeamMemberRole | null; -}; - -export type UpdateTeamMemberJoinedFrom = { - ssoUserId?: any | null | undefined; -}; - -export type UpdateTeamMemberRequestBody = { - /** - * Accept a user who requested access to the team. - */ - confirmed?: boolean | undefined; - /** - * The role in the team of the member. - */ - role?: string | undefined; - projects?: Array | undefined; - joinedFrom?: UpdateTeamMemberJoinedFrom | undefined; -}; - -export type UpdateTeamMemberRequest = { - /** - * The ID of the member. - */ - uid: string; - teamId: string; - requestBody?: UpdateTeamMemberRequestBody | undefined; -}; - -/** - * Successfully updated the membership. - */ -export type UpdateTeamMemberResponseBody = { - /** - * ID of the team. - */ - id: string; -}; - -/** @internal */ -export const UpdateTeamMemberRole$inboundSchema: z.ZodNativeEnum< - typeof UpdateTeamMemberRole -> = z.nativeEnum(UpdateTeamMemberRole); - -/** @internal */ -export const UpdateTeamMemberRole$outboundSchema: z.ZodNativeEnum< - typeof UpdateTeamMemberRole -> = UpdateTeamMemberRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateTeamMemberRole$ { - /** @deprecated use `UpdateTeamMemberRole$inboundSchema` instead. */ - export const inboundSchema = UpdateTeamMemberRole$inboundSchema; - /** @deprecated use `UpdateTeamMemberRole$outboundSchema` instead. */ - export const outboundSchema = UpdateTeamMemberRole$outboundSchema; -} - -/** @internal */ -export const UpdateTeamMemberProjects$inboundSchema: z.ZodType< - UpdateTeamMemberProjects, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string(), - role: z.nullable(UpdateTeamMemberRole$inboundSchema), -}); - -/** @internal */ -export type UpdateTeamMemberProjects$Outbound = { - projectId: string; - role: string | null; -}; - -/** @internal */ -export const UpdateTeamMemberProjects$outboundSchema: z.ZodType< - UpdateTeamMemberProjects$Outbound, - z.ZodTypeDef, - UpdateTeamMemberProjects -> = z.object({ - projectId: z.string(), - role: z.nullable(UpdateTeamMemberRole$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateTeamMemberProjects$ { - /** @deprecated use `UpdateTeamMemberProjects$inboundSchema` instead. */ - export const inboundSchema = UpdateTeamMemberProjects$inboundSchema; - /** @deprecated use `UpdateTeamMemberProjects$outboundSchema` instead. */ - export const outboundSchema = UpdateTeamMemberProjects$outboundSchema; - /** @deprecated use `UpdateTeamMemberProjects$Outbound` instead. */ - export type Outbound = UpdateTeamMemberProjects$Outbound; -} - -export function updateTeamMemberProjectsToJSON( - updateTeamMemberProjects: UpdateTeamMemberProjects, -): string { - return JSON.stringify( - UpdateTeamMemberProjects$outboundSchema.parse(updateTeamMemberProjects), - ); -} - -export function updateTeamMemberProjectsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateTeamMemberProjects$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateTeamMemberProjects' from JSON`, - ); -} - -/** @internal */ -export const UpdateTeamMemberJoinedFrom$inboundSchema: z.ZodType< - UpdateTeamMemberJoinedFrom, - z.ZodTypeDef, - unknown -> = z.object({ - ssoUserId: z.nullable(z.any()).optional(), -}); - -/** @internal */ -export type UpdateTeamMemberJoinedFrom$Outbound = { - ssoUserId?: any | null | undefined; -}; - -/** @internal */ -export const UpdateTeamMemberJoinedFrom$outboundSchema: z.ZodType< - UpdateTeamMemberJoinedFrom$Outbound, - z.ZodTypeDef, - UpdateTeamMemberJoinedFrom -> = z.object({ - ssoUserId: z.nullable(z.any()).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateTeamMemberJoinedFrom$ { - /** @deprecated use `UpdateTeamMemberJoinedFrom$inboundSchema` instead. */ - export const inboundSchema = UpdateTeamMemberJoinedFrom$inboundSchema; - /** @deprecated use `UpdateTeamMemberJoinedFrom$outboundSchema` instead. */ - export const outboundSchema = UpdateTeamMemberJoinedFrom$outboundSchema; - /** @deprecated use `UpdateTeamMemberJoinedFrom$Outbound` instead. */ - export type Outbound = UpdateTeamMemberJoinedFrom$Outbound; -} - -export function updateTeamMemberJoinedFromToJSON( - updateTeamMemberJoinedFrom: UpdateTeamMemberJoinedFrom, -): string { - return JSON.stringify( - UpdateTeamMemberJoinedFrom$outboundSchema.parse(updateTeamMemberJoinedFrom), - ); -} - -export function updateTeamMemberJoinedFromFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateTeamMemberJoinedFrom$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateTeamMemberJoinedFrom' from JSON`, - ); -} - -/** @internal */ -export const UpdateTeamMemberRequestBody$inboundSchema: z.ZodType< - UpdateTeamMemberRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - confirmed: z.boolean().optional(), - role: z.string().default("MEMBER"), - projects: z.array(z.lazy(() => UpdateTeamMemberProjects$inboundSchema)) - .optional(), - joinedFrom: z.lazy(() => UpdateTeamMemberJoinedFrom$inboundSchema).optional(), -}); - -/** @internal */ -export type UpdateTeamMemberRequestBody$Outbound = { - confirmed?: boolean | undefined; - role: string; - projects?: Array | undefined; - joinedFrom?: UpdateTeamMemberJoinedFrom$Outbound | undefined; -}; - -/** @internal */ -export const UpdateTeamMemberRequestBody$outboundSchema: z.ZodType< - UpdateTeamMemberRequestBody$Outbound, - z.ZodTypeDef, - UpdateTeamMemberRequestBody -> = z.object({ - confirmed: z.boolean().optional(), - role: z.string().default("MEMBER"), - projects: z.array(z.lazy(() => UpdateTeamMemberProjects$outboundSchema)) - .optional(), - joinedFrom: z.lazy(() => UpdateTeamMemberJoinedFrom$outboundSchema) - .optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateTeamMemberRequestBody$ { - /** @deprecated use `UpdateTeamMemberRequestBody$inboundSchema` instead. */ - export const inboundSchema = UpdateTeamMemberRequestBody$inboundSchema; - /** @deprecated use `UpdateTeamMemberRequestBody$outboundSchema` instead. */ - export const outboundSchema = UpdateTeamMemberRequestBody$outboundSchema; - /** @deprecated use `UpdateTeamMemberRequestBody$Outbound` instead. */ - export type Outbound = UpdateTeamMemberRequestBody$Outbound; -} - -export function updateTeamMemberRequestBodyToJSON( - updateTeamMemberRequestBody: UpdateTeamMemberRequestBody, -): string { - return JSON.stringify( - UpdateTeamMemberRequestBody$outboundSchema.parse( - updateTeamMemberRequestBody, - ), - ); -} - -export function updateTeamMemberRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateTeamMemberRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateTeamMemberRequestBody' from JSON`, - ); -} - -/** @internal */ -export const UpdateTeamMemberRequest$inboundSchema: z.ZodType< - UpdateTeamMemberRequest, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - teamId: z.string(), - RequestBody: z.lazy(() => UpdateTeamMemberRequestBody$inboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type UpdateTeamMemberRequest$Outbound = { - uid: string; - teamId: string; - RequestBody?: UpdateTeamMemberRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const UpdateTeamMemberRequest$outboundSchema: z.ZodType< - UpdateTeamMemberRequest$Outbound, - z.ZodTypeDef, - UpdateTeamMemberRequest -> = z.object({ - uid: z.string(), - teamId: z.string(), - requestBody: z.lazy(() => UpdateTeamMemberRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateTeamMemberRequest$ { - /** @deprecated use `UpdateTeamMemberRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateTeamMemberRequest$inboundSchema; - /** @deprecated use `UpdateTeamMemberRequest$outboundSchema` instead. */ - export const outboundSchema = UpdateTeamMemberRequest$outboundSchema; - /** @deprecated use `UpdateTeamMemberRequest$Outbound` instead. */ - export type Outbound = UpdateTeamMemberRequest$Outbound; -} - -export function updateTeamMemberRequestToJSON( - updateTeamMemberRequest: UpdateTeamMemberRequest, -): string { - return JSON.stringify( - UpdateTeamMemberRequest$outboundSchema.parse(updateTeamMemberRequest), - ); -} - -export function updateTeamMemberRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateTeamMemberRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateTeamMemberRequest' from JSON`, - ); -} - -/** @internal */ -export const UpdateTeamMemberResponseBody$inboundSchema: z.ZodType< - UpdateTeamMemberResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); - -/** @internal */ -export type UpdateTeamMemberResponseBody$Outbound = { - id: string; -}; - -/** @internal */ -export const UpdateTeamMemberResponseBody$outboundSchema: z.ZodType< - UpdateTeamMemberResponseBody$Outbound, - z.ZodTypeDef, - UpdateTeamMemberResponseBody -> = z.object({ - id: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateTeamMemberResponseBody$ { - /** @deprecated use `UpdateTeamMemberResponseBody$inboundSchema` instead. */ - export const inboundSchema = UpdateTeamMemberResponseBody$inboundSchema; - /** @deprecated use `UpdateTeamMemberResponseBody$outboundSchema` instead. */ - export const outboundSchema = UpdateTeamMemberResponseBody$outboundSchema; - /** @deprecated use `UpdateTeamMemberResponseBody$Outbound` instead. */ - export type Outbound = UpdateTeamMemberResponseBody$Outbound; -} - -export function updateTeamMemberResponseBodyToJSON( - updateTeamMemberResponseBody: UpdateTeamMemberResponseBody, -): string { - return JSON.stringify( - UpdateTeamMemberResponseBody$outboundSchema.parse( - updateTeamMemberResponseBody, - ), - ); -} - -export function updateTeamMemberResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateTeamMemberResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateTeamMemberResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/uploadartifact.ts b/src/models/operations/uploadartifact.ts deleted file mode 100644 index f12466b4..00000000 --- a/src/models/operations/uploadartifact.ts +++ /dev/null @@ -1,225 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type UploadArtifactRequest = { - /** - * The artifact size in bytes - */ - contentLength: number; - /** - * The time taken to generate the uploaded artifact in milliseconds. - */ - xArtifactDuration?: number | undefined; - /** - * The continuous integration or delivery environment where this artifact was generated. - */ - xArtifactClientCi?: string | undefined; - /** - * 1 if the client is an interactive shell. Otherwise 0 - */ - xArtifactClientInteractive?: number | undefined; - /** - * The base64 encoded tag for this artifact. The value is sent back to clients when the artifact is downloaded as the header `x-artifact-tag` - */ - xArtifactTag?: string | undefined; - /** - * The artifact hash - */ - hash: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: - | ReadableStream - | Blob - | ArrayBuffer - | Uint8Array - | undefined; -}; - -/** - * File successfully uploaded - */ -export type UploadArtifactResponseBody = { - /** - * Array of URLs where the artifact was updated - */ - urls: Array; -}; - -/** @internal */ -export const UploadArtifactRequest$inboundSchema: z.ZodType< - UploadArtifactRequest, - z.ZodTypeDef, - unknown -> = z.object({ - "Content-Length": z.number(), - "x-artifact-duration": z.number().optional(), - "x-artifact-client-ci": z.string().optional(), - "x-artifact-client-interactive": z.number().int().optional(), - "x-artifact-tag": z.string().optional(), - hash: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.union([ - z.instanceof(ReadableStream), - z.instanceof(Blob), - z.instanceof(ArrayBuffer), - z.instanceof(Uint8Array), - ]).optional(), -}).transform((v) => { - return remap$(v, { - "Content-Length": "contentLength", - "x-artifact-duration": "xArtifactDuration", - "x-artifact-client-ci": "xArtifactClientCi", - "x-artifact-client-interactive": "xArtifactClientInteractive", - "x-artifact-tag": "xArtifactTag", - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type UploadArtifactRequest$Outbound = { - "Content-Length": number; - "x-artifact-duration"?: number | undefined; - "x-artifact-client-ci"?: string | undefined; - "x-artifact-client-interactive"?: number | undefined; - "x-artifact-tag"?: string | undefined; - hash: string; - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: - | ReadableStream - | Blob - | ArrayBuffer - | Uint8Array - | undefined; -}; - -/** @internal */ -export const UploadArtifactRequest$outboundSchema: z.ZodType< - UploadArtifactRequest$Outbound, - z.ZodTypeDef, - UploadArtifactRequest -> = z.object({ - contentLength: z.number(), - xArtifactDuration: z.number().optional(), - xArtifactClientCi: z.string().optional(), - xArtifactClientInteractive: z.number().int().optional(), - xArtifactTag: z.string().optional(), - hash: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.union([ - z.instanceof(ReadableStream), - z.instanceof(Blob), - z.instanceof(ArrayBuffer), - z.instanceof(Uint8Array), - ]).optional(), -}).transform((v) => { - return remap$(v, { - contentLength: "Content-Length", - xArtifactDuration: "x-artifact-duration", - xArtifactClientCi: "x-artifact-client-ci", - xArtifactClientInteractive: "x-artifact-client-interactive", - xArtifactTag: "x-artifact-tag", - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UploadArtifactRequest$ { - /** @deprecated use `UploadArtifactRequest$inboundSchema` instead. */ - export const inboundSchema = UploadArtifactRequest$inboundSchema; - /** @deprecated use `UploadArtifactRequest$outboundSchema` instead. */ - export const outboundSchema = UploadArtifactRequest$outboundSchema; - /** @deprecated use `UploadArtifactRequest$Outbound` instead. */ - export type Outbound = UploadArtifactRequest$Outbound; -} - -export function uploadArtifactRequestToJSON( - uploadArtifactRequest: UploadArtifactRequest, -): string { - return JSON.stringify( - UploadArtifactRequest$outboundSchema.parse(uploadArtifactRequest), - ); -} - -export function uploadArtifactRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UploadArtifactRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UploadArtifactRequest' from JSON`, - ); -} - -/** @internal */ -export const UploadArtifactResponseBody$inboundSchema: z.ZodType< - UploadArtifactResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - urls: z.array(z.string()), -}); - -/** @internal */ -export type UploadArtifactResponseBody$Outbound = { - urls: Array; -}; - -/** @internal */ -export const UploadArtifactResponseBody$outboundSchema: z.ZodType< - UploadArtifactResponseBody$Outbound, - z.ZodTypeDef, - UploadArtifactResponseBody -> = z.object({ - urls: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UploadArtifactResponseBody$ { - /** @deprecated use `UploadArtifactResponseBody$inboundSchema` instead. */ - export const inboundSchema = UploadArtifactResponseBody$inboundSchema; - /** @deprecated use `UploadArtifactResponseBody$outboundSchema` instead. */ - export const outboundSchema = UploadArtifactResponseBody$outboundSchema; - /** @deprecated use `UploadArtifactResponseBody$Outbound` instead. */ - export type Outbound = UploadArtifactResponseBody$Outbound; -} - -export function uploadArtifactResponseBodyToJSON( - uploadArtifactResponseBody: UploadArtifactResponseBody, -): string { - return JSON.stringify( - UploadArtifactResponseBody$outboundSchema.parse(uploadArtifactResponseBody), - ); -} - -export function uploadArtifactResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UploadArtifactResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UploadArtifactResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/uploadcert.ts b/src/models/operations/uploadcert.ts deleted file mode 100644 index 49a24f01..00000000 --- a/src/models/operations/uploadcert.ts +++ /dev/null @@ -1,245 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type UploadCertRequestBody = { - /** - * The certificate authority - */ - ca: string; - /** - * The certificate key - */ - key: string; - /** - * The certificate - */ - cert: string; - /** - * Skip validation of the certificate - */ - skipValidation?: boolean | undefined; -}; - -export type UploadCertRequest = { - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; - requestBody?: UploadCertRequestBody | undefined; -}; - -export type UploadCertResponseBody = { - id: string; - createdAt: number; - expiresAt: number; - autoRenew: boolean; - cns: Array; -}; - -/** @internal */ -export const UploadCertRequestBody$inboundSchema: z.ZodType< - UploadCertRequestBody, - z.ZodTypeDef, - unknown -> = z.object({ - ca: z.string(), - key: z.string(), - cert: z.string(), - skipValidation: z.boolean().optional(), -}); - -/** @internal */ -export type UploadCertRequestBody$Outbound = { - ca: string; - key: string; - cert: string; - skipValidation?: boolean | undefined; -}; - -/** @internal */ -export const UploadCertRequestBody$outboundSchema: z.ZodType< - UploadCertRequestBody$Outbound, - z.ZodTypeDef, - UploadCertRequestBody -> = z.object({ - ca: z.string(), - key: z.string(), - cert: z.string(), - skipValidation: z.boolean().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UploadCertRequestBody$ { - /** @deprecated use `UploadCertRequestBody$inboundSchema` instead. */ - export const inboundSchema = UploadCertRequestBody$inboundSchema; - /** @deprecated use `UploadCertRequestBody$outboundSchema` instead. */ - export const outboundSchema = UploadCertRequestBody$outboundSchema; - /** @deprecated use `UploadCertRequestBody$Outbound` instead. */ - export type Outbound = UploadCertRequestBody$Outbound; -} - -export function uploadCertRequestBodyToJSON( - uploadCertRequestBody: UploadCertRequestBody, -): string { - return JSON.stringify( - UploadCertRequestBody$outboundSchema.parse(uploadCertRequestBody), - ); -} - -export function uploadCertRequestBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UploadCertRequestBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UploadCertRequestBody' from JSON`, - ); -} - -/** @internal */ -export const UploadCertRequest$inboundSchema: z.ZodType< - UploadCertRequest, - z.ZodTypeDef, - unknown -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - RequestBody: z.lazy(() => UploadCertRequestBody$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - }); -}); - -/** @internal */ -export type UploadCertRequest$Outbound = { - teamId?: string | undefined; - slug?: string | undefined; - RequestBody?: UploadCertRequestBody$Outbound | undefined; -}; - -/** @internal */ -export const UploadCertRequest$outboundSchema: z.ZodType< - UploadCertRequest$Outbound, - z.ZodTypeDef, - UploadCertRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UploadCertRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UploadCertRequest$ { - /** @deprecated use `UploadCertRequest$inboundSchema` instead. */ - export const inboundSchema = UploadCertRequest$inboundSchema; - /** @deprecated use `UploadCertRequest$outboundSchema` instead. */ - export const outboundSchema = UploadCertRequest$outboundSchema; - /** @deprecated use `UploadCertRequest$Outbound` instead. */ - export type Outbound = UploadCertRequest$Outbound; -} - -export function uploadCertRequestToJSON( - uploadCertRequest: UploadCertRequest, -): string { - return JSON.stringify( - UploadCertRequest$outboundSchema.parse(uploadCertRequest), - ); -} - -export function uploadCertRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UploadCertRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UploadCertRequest' from JSON`, - ); -} - -/** @internal */ -export const UploadCertResponseBody$inboundSchema: z.ZodType< - UploadCertResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - createdAt: z.number(), - expiresAt: z.number(), - autoRenew: z.boolean(), - cns: z.array(z.string()), -}); - -/** @internal */ -export type UploadCertResponseBody$Outbound = { - id: string; - createdAt: number; - expiresAt: number; - autoRenew: boolean; - cns: Array; -}; - -/** @internal */ -export const UploadCertResponseBody$outboundSchema: z.ZodType< - UploadCertResponseBody$Outbound, - z.ZodTypeDef, - UploadCertResponseBody -> = z.object({ - id: z.string(), - createdAt: z.number(), - expiresAt: z.number(), - autoRenew: z.boolean(), - cns: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UploadCertResponseBody$ { - /** @deprecated use `UploadCertResponseBody$inboundSchema` instead. */ - export const inboundSchema = UploadCertResponseBody$inboundSchema; - /** @deprecated use `UploadCertResponseBody$outboundSchema` instead. */ - export const outboundSchema = UploadCertResponseBody$outboundSchema; - /** @deprecated use `UploadCertResponseBody$Outbound` instead. */ - export type Outbound = UploadCertResponseBody$Outbound; -} - -export function uploadCertResponseBodyToJSON( - uploadCertResponseBody: UploadCertResponseBody, -): string { - return JSON.stringify( - UploadCertResponseBody$outboundSchema.parse(uploadCertResponseBody), - ); -} - -export function uploadCertResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UploadCertResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UploadCertResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/uploadfile.ts b/src/models/operations/uploadfile.ts deleted file mode 100644 index 9301001e..00000000 --- a/src/models/operations/uploadfile.ts +++ /dev/null @@ -1,296 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type UploadFileRequest = { - /** - * The file size in bytes - */ - contentLength?: number | undefined; - /** - * The file SHA1 used to check the integrity - */ - xVercelDigest?: string | undefined; - /** - * The file SHA1 used to check the integrity - */ - xNowDigest?: string | undefined; - /** - * The file size as an alternative to `Content-Length` - */ - xNowSize?: number | undefined; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -export type UploadFileResponseBody2 = {}; - -export type UploadFileResponseBody1 = { - /** - * Array of URLs where the file was updated - */ - urls: Array; -}; - -/** - * File already uploaded - * - * @remarks - * File successfully uploaded - */ -export type UploadFileResponseBody = - | UploadFileResponseBody2 - | UploadFileResponseBody1; - -/** @internal */ -export const UploadFileRequest$inboundSchema: z.ZodType< - UploadFileRequest, - z.ZodTypeDef, - unknown -> = z.object({ - "Content-Length": z.number().optional(), - "x-vercel-digest": z.string().optional(), - "x-now-digest": z.string().optional(), - "x-now-size": z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}).transform((v) => { - return remap$(v, { - "Content-Length": "contentLength", - "x-vercel-digest": "xVercelDigest", - "x-now-digest": "xNowDigest", - "x-now-size": "xNowSize", - }); -}); - -/** @internal */ -export type UploadFileRequest$Outbound = { - "Content-Length"?: number | undefined; - "x-vercel-digest"?: string | undefined; - "x-now-digest"?: string | undefined; - "x-now-size"?: number | undefined; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const UploadFileRequest$outboundSchema: z.ZodType< - UploadFileRequest$Outbound, - z.ZodTypeDef, - UploadFileRequest -> = z.object({ - contentLength: z.number().optional(), - xVercelDigest: z.string().optional(), - xNowDigest: z.string().optional(), - xNowSize: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}).transform((v) => { - return remap$(v, { - contentLength: "Content-Length", - xVercelDigest: "x-vercel-digest", - xNowDigest: "x-now-digest", - xNowSize: "x-now-size", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UploadFileRequest$ { - /** @deprecated use `UploadFileRequest$inboundSchema` instead. */ - export const inboundSchema = UploadFileRequest$inboundSchema; - /** @deprecated use `UploadFileRequest$outboundSchema` instead. */ - export const outboundSchema = UploadFileRequest$outboundSchema; - /** @deprecated use `UploadFileRequest$Outbound` instead. */ - export type Outbound = UploadFileRequest$Outbound; -} - -export function uploadFileRequestToJSON( - uploadFileRequest: UploadFileRequest, -): string { - return JSON.stringify( - UploadFileRequest$outboundSchema.parse(uploadFileRequest), - ); -} - -export function uploadFileRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UploadFileRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UploadFileRequest' from JSON`, - ); -} - -/** @internal */ -export const UploadFileResponseBody2$inboundSchema: z.ZodType< - UploadFileResponseBody2, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UploadFileResponseBody2$Outbound = {}; - -/** @internal */ -export const UploadFileResponseBody2$outboundSchema: z.ZodType< - UploadFileResponseBody2$Outbound, - z.ZodTypeDef, - UploadFileResponseBody2 -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UploadFileResponseBody2$ { - /** @deprecated use `UploadFileResponseBody2$inboundSchema` instead. */ - export const inboundSchema = UploadFileResponseBody2$inboundSchema; - /** @deprecated use `UploadFileResponseBody2$outboundSchema` instead. */ - export const outboundSchema = UploadFileResponseBody2$outboundSchema; - /** @deprecated use `UploadFileResponseBody2$Outbound` instead. */ - export type Outbound = UploadFileResponseBody2$Outbound; -} - -export function uploadFileResponseBody2ToJSON( - uploadFileResponseBody2: UploadFileResponseBody2, -): string { - return JSON.stringify( - UploadFileResponseBody2$outboundSchema.parse(uploadFileResponseBody2), - ); -} - -export function uploadFileResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UploadFileResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UploadFileResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const UploadFileResponseBody1$inboundSchema: z.ZodType< - UploadFileResponseBody1, - z.ZodTypeDef, - unknown -> = z.object({ - urls: z.array(z.string()), -}); - -/** @internal */ -export type UploadFileResponseBody1$Outbound = { - urls: Array; -}; - -/** @internal */ -export const UploadFileResponseBody1$outboundSchema: z.ZodType< - UploadFileResponseBody1$Outbound, - z.ZodTypeDef, - UploadFileResponseBody1 -> = z.object({ - urls: z.array(z.string()), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UploadFileResponseBody1$ { - /** @deprecated use `UploadFileResponseBody1$inboundSchema` instead. */ - export const inboundSchema = UploadFileResponseBody1$inboundSchema; - /** @deprecated use `UploadFileResponseBody1$outboundSchema` instead. */ - export const outboundSchema = UploadFileResponseBody1$outboundSchema; - /** @deprecated use `UploadFileResponseBody1$Outbound` instead. */ - export type Outbound = UploadFileResponseBody1$Outbound; -} - -export function uploadFileResponseBody1ToJSON( - uploadFileResponseBody1: UploadFileResponseBody1, -): string { - return JSON.stringify( - UploadFileResponseBody1$outboundSchema.parse(uploadFileResponseBody1), - ); -} - -export function uploadFileResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UploadFileResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UploadFileResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const UploadFileResponseBody$inboundSchema: z.ZodType< - UploadFileResponseBody, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => UploadFileResponseBody2$inboundSchema), - z.lazy(() => UploadFileResponseBody1$inboundSchema), -]); - -/** @internal */ -export type UploadFileResponseBody$Outbound = - | UploadFileResponseBody2$Outbound - | UploadFileResponseBody1$Outbound; - -/** @internal */ -export const UploadFileResponseBody$outboundSchema: z.ZodType< - UploadFileResponseBody$Outbound, - z.ZodTypeDef, - UploadFileResponseBody -> = z.union([ - z.lazy(() => UploadFileResponseBody2$outboundSchema), - z.lazy(() => UploadFileResponseBody1$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UploadFileResponseBody$ { - /** @deprecated use `UploadFileResponseBody$inboundSchema` instead. */ - export const inboundSchema = UploadFileResponseBody$inboundSchema; - /** @deprecated use `UploadFileResponseBody$outboundSchema` instead. */ - export const outboundSchema = UploadFileResponseBody$outboundSchema; - /** @deprecated use `UploadFileResponseBody$Outbound` instead. */ - export type Outbound = UploadFileResponseBody$Outbound; -} - -export function uploadFileResponseBodyToJSON( - uploadFileResponseBody: UploadFileResponseBody, -): string { - return JSON.stringify( - UploadFileResponseBody$outboundSchema.parse(uploadFileResponseBody), - ); -} - -export function uploadFileResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UploadFileResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UploadFileResponseBody' from JSON`, - ); -} diff --git a/src/models/operations/verifyprojectdomain.ts b/src/models/operations/verifyprojectdomain.ts deleted file mode 100644 index 874e857d..00000000 --- a/src/models/operations/verifyprojectdomain.ts +++ /dev/null @@ -1,281 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type VerifyProjectDomainRequest = { - /** - * The unique project identifier or the project name - */ - idOrName: string; - /** - * The domain name you want to verify - */ - domain: string; - /** - * The Team identifier to perform the request on behalf of. - */ - teamId?: string | undefined; - /** - * The Team slug to perform the request on behalf of. - */ - slug?: string | undefined; -}; - -/** - * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. - */ -export type VerifyProjectDomainVerification = { - type: string; - domain: string; - value: string; - reason: string; -}; - -/** - * The project domain was verified successfully - * - * @remarks - * Domain is already verified - */ -export type VerifyProjectDomainResponseBody = { - name: string; - apexName: string; - projectId: string; - redirect?: string | null | undefined; - redirectStatusCode?: number | null | undefined; - gitBranch?: string | null | undefined; - customEnvironmentId?: string | null | undefined; - updatedAt?: number | undefined; - createdAt?: number | undefined; - /** - * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. - */ - verified: boolean; - /** - * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. - */ - verification?: Array | undefined; -}; - -/** @internal */ -export const VerifyProjectDomainRequest$inboundSchema: z.ZodType< - VerifyProjectDomainRequest, - z.ZodTypeDef, - unknown -> = z.object({ - idOrName: z.string(), - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** @internal */ -export type VerifyProjectDomainRequest$Outbound = { - idOrName: string; - domain: string; - teamId?: string | undefined; - slug?: string | undefined; -}; - -/** @internal */ -export const VerifyProjectDomainRequest$outboundSchema: z.ZodType< - VerifyProjectDomainRequest$Outbound, - z.ZodTypeDef, - VerifyProjectDomainRequest -> = z.object({ - idOrName: z.string(), - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace VerifyProjectDomainRequest$ { - /** @deprecated use `VerifyProjectDomainRequest$inboundSchema` instead. */ - export const inboundSchema = VerifyProjectDomainRequest$inboundSchema; - /** @deprecated use `VerifyProjectDomainRequest$outboundSchema` instead. */ - export const outboundSchema = VerifyProjectDomainRequest$outboundSchema; - /** @deprecated use `VerifyProjectDomainRequest$Outbound` instead. */ - export type Outbound = VerifyProjectDomainRequest$Outbound; -} - -export function verifyProjectDomainRequestToJSON( - verifyProjectDomainRequest: VerifyProjectDomainRequest, -): string { - return JSON.stringify( - VerifyProjectDomainRequest$outboundSchema.parse(verifyProjectDomainRequest), - ); -} - -export function verifyProjectDomainRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => VerifyProjectDomainRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'VerifyProjectDomainRequest' from JSON`, - ); -} - -/** @internal */ -export const VerifyProjectDomainVerification$inboundSchema: z.ZodType< - VerifyProjectDomainVerification, - z.ZodTypeDef, - unknown -> = z.object({ - type: z.string(), - domain: z.string(), - value: z.string(), - reason: z.string(), -}); - -/** @internal */ -export type VerifyProjectDomainVerification$Outbound = { - type: string; - domain: string; - value: string; - reason: string; -}; - -/** @internal */ -export const VerifyProjectDomainVerification$outboundSchema: z.ZodType< - VerifyProjectDomainVerification$Outbound, - z.ZodTypeDef, - VerifyProjectDomainVerification -> = z.object({ - type: z.string(), - domain: z.string(), - value: z.string(), - reason: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace VerifyProjectDomainVerification$ { - /** @deprecated use `VerifyProjectDomainVerification$inboundSchema` instead. */ - export const inboundSchema = VerifyProjectDomainVerification$inboundSchema; - /** @deprecated use `VerifyProjectDomainVerification$outboundSchema` instead. */ - export const outboundSchema = VerifyProjectDomainVerification$outboundSchema; - /** @deprecated use `VerifyProjectDomainVerification$Outbound` instead. */ - export type Outbound = VerifyProjectDomainVerification$Outbound; -} - -export function verifyProjectDomainVerificationToJSON( - verifyProjectDomainVerification: VerifyProjectDomainVerification, -): string { - return JSON.stringify( - VerifyProjectDomainVerification$outboundSchema.parse( - verifyProjectDomainVerification, - ), - ); -} - -export function verifyProjectDomainVerificationFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => VerifyProjectDomainVerification$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'VerifyProjectDomainVerification' from JSON`, - ); -} - -/** @internal */ -export const VerifyProjectDomainResponseBody$inboundSchema: z.ZodType< - VerifyProjectDomainResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - apexName: z.string(), - projectId: z.string(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(z.number()).optional(), - gitBranch: z.nullable(z.string()).optional(), - customEnvironmentId: z.nullable(z.string()).optional(), - updatedAt: z.number().optional(), - createdAt: z.number().optional(), - verified: z.boolean(), - verification: z.array( - z.lazy(() => VerifyProjectDomainVerification$inboundSchema), - ).optional(), -}); - -/** @internal */ -export type VerifyProjectDomainResponseBody$Outbound = { - name: string; - apexName: string; - projectId: string; - redirect?: string | null | undefined; - redirectStatusCode?: number | null | undefined; - gitBranch?: string | null | undefined; - customEnvironmentId?: string | null | undefined; - updatedAt?: number | undefined; - createdAt?: number | undefined; - verified: boolean; - verification?: Array | undefined; -}; - -/** @internal */ -export const VerifyProjectDomainResponseBody$outboundSchema: z.ZodType< - VerifyProjectDomainResponseBody$Outbound, - z.ZodTypeDef, - VerifyProjectDomainResponseBody -> = z.object({ - name: z.string(), - apexName: z.string(), - projectId: z.string(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(z.number()).optional(), - gitBranch: z.nullable(z.string()).optional(), - customEnvironmentId: z.nullable(z.string()).optional(), - updatedAt: z.number().optional(), - createdAt: z.number().optional(), - verified: z.boolean(), - verification: z.array( - z.lazy(() => VerifyProjectDomainVerification$outboundSchema), - ).optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace VerifyProjectDomainResponseBody$ { - /** @deprecated use `VerifyProjectDomainResponseBody$inboundSchema` instead. */ - export const inboundSchema = VerifyProjectDomainResponseBody$inboundSchema; - /** @deprecated use `VerifyProjectDomainResponseBody$outboundSchema` instead. */ - export const outboundSchema = VerifyProjectDomainResponseBody$outboundSchema; - /** @deprecated use `VerifyProjectDomainResponseBody$Outbound` instead. */ - export type Outbound = VerifyProjectDomainResponseBody$Outbound; -} - -export function verifyProjectDomainResponseBodyToJSON( - verifyProjectDomainResponseBody: VerifyProjectDomainResponseBody, -): string { - return JSON.stringify( - VerifyProjectDomainResponseBody$outboundSchema.parse( - verifyProjectDomainResponseBody, - ), - ); -} - -export function verifyProjectDomainResponseBodyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => VerifyProjectDomainResponseBody$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'VerifyProjectDomainResponseBody' from JSON`, - ); -} diff --git a/src/models/components/pagination.ts b/src/models/pagination.ts similarity index 91% rename from src/models/components/pagination.ts rename to src/models/pagination.ts index df678169..60d549e5 100644 --- a/src/models/components/pagination.ts +++ b/src/models/pagination.ts @@ -3,9 +3,9 @@ */ import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; /** * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. diff --git a/src/models/patchdomainop.ts b/src/models/patchdomainop.ts new file mode 100644 index 00000000..8075933e --- /dev/null +++ b/src/models/patchdomainop.ts @@ -0,0 +1,561 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * move-out + */ +export type PatchDomainRequestBody2 = { + op?: string | undefined; + /** + * User or team to move domain to + */ + destination?: string | undefined; +}; + +/** + * update + */ +export type PatchDomainRequestBody1 = { + op?: string | undefined; + /** + * Specifies whether domain should be renewed. + */ + renew?: boolean | undefined; + /** + * The custom nameservers for this project. + */ + customNameservers?: Array | undefined; + /** + * Specifies whether this is a DNS zone that intends to use Vercel's nameservers. + */ + zone?: boolean | undefined; +}; + +export type PatchDomainRequestBody = + | PatchDomainRequestBody2 + | PatchDomainRequestBody1; + +export type PatchDomainRequest = { + domain: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: PatchDomainRequestBody2 | PatchDomainRequestBody1; +}; + +export type PatchDomainResponseBody3 = { + renew?: boolean | undefined; + customNameservers?: Array | undefined; + zone?: boolean | undefined; +}; + +export type PatchDomainResponseBody2 = { + moved: boolean; + token: string; +}; + +export type PatchDomainResponseBody1 = { + moved: boolean; +}; + +export type PatchDomainResponseBody = + | PatchDomainResponseBody1 + | PatchDomainResponseBody2 + | PatchDomainResponseBody3; + +/** @internal */ +export const PatchDomainRequestBody2$inboundSchema: z.ZodType< + PatchDomainRequestBody2, + z.ZodTypeDef, + unknown +> = z.object({ + op: z.string().optional(), + destination: z.string().optional(), +}); + +/** @internal */ +export type PatchDomainRequestBody2$Outbound = { + op?: string | undefined; + destination?: string | undefined; +}; + +/** @internal */ +export const PatchDomainRequestBody2$outboundSchema: z.ZodType< + PatchDomainRequestBody2$Outbound, + z.ZodTypeDef, + PatchDomainRequestBody2 +> = z.object({ + op: z.string().optional(), + destination: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PatchDomainRequestBody2$ { + /** @deprecated use `PatchDomainRequestBody2$inboundSchema` instead. */ + export const inboundSchema = PatchDomainRequestBody2$inboundSchema; + /** @deprecated use `PatchDomainRequestBody2$outboundSchema` instead. */ + export const outboundSchema = PatchDomainRequestBody2$outboundSchema; + /** @deprecated use `PatchDomainRequestBody2$Outbound` instead. */ + export type Outbound = PatchDomainRequestBody2$Outbound; +} + +export function patchDomainRequestBody2ToJSON( + patchDomainRequestBody2: PatchDomainRequestBody2, +): string { + return JSON.stringify( + PatchDomainRequestBody2$outboundSchema.parse(patchDomainRequestBody2), + ); +} + +export function patchDomainRequestBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchDomainRequestBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchDomainRequestBody2' from JSON`, + ); +} + +/** @internal */ +export const PatchDomainRequestBody1$inboundSchema: z.ZodType< + PatchDomainRequestBody1, + z.ZodTypeDef, + unknown +> = z.object({ + op: z.string().optional(), + renew: z.boolean().optional(), + customNameservers: z.array(z.string()).optional(), + zone: z.boolean().optional(), +}); + +/** @internal */ +export type PatchDomainRequestBody1$Outbound = { + op?: string | undefined; + renew?: boolean | undefined; + customNameservers?: Array | undefined; + zone?: boolean | undefined; +}; + +/** @internal */ +export const PatchDomainRequestBody1$outboundSchema: z.ZodType< + PatchDomainRequestBody1$Outbound, + z.ZodTypeDef, + PatchDomainRequestBody1 +> = z.object({ + op: z.string().optional(), + renew: z.boolean().optional(), + customNameservers: z.array(z.string()).optional(), + zone: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PatchDomainRequestBody1$ { + /** @deprecated use `PatchDomainRequestBody1$inboundSchema` instead. */ + export const inboundSchema = PatchDomainRequestBody1$inboundSchema; + /** @deprecated use `PatchDomainRequestBody1$outboundSchema` instead. */ + export const outboundSchema = PatchDomainRequestBody1$outboundSchema; + /** @deprecated use `PatchDomainRequestBody1$Outbound` instead. */ + export type Outbound = PatchDomainRequestBody1$Outbound; +} + +export function patchDomainRequestBody1ToJSON( + patchDomainRequestBody1: PatchDomainRequestBody1, +): string { + return JSON.stringify( + PatchDomainRequestBody1$outboundSchema.parse(patchDomainRequestBody1), + ); +} + +export function patchDomainRequestBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchDomainRequestBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchDomainRequestBody1' from JSON`, + ); +} + +/** @internal */ +export const PatchDomainRequestBody$inboundSchema: z.ZodType< + PatchDomainRequestBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => PatchDomainRequestBody2$inboundSchema), + z.lazy(() => PatchDomainRequestBody1$inboundSchema), +]); + +/** @internal */ +export type PatchDomainRequestBody$Outbound = + | PatchDomainRequestBody2$Outbound + | PatchDomainRequestBody1$Outbound; + +/** @internal */ +export const PatchDomainRequestBody$outboundSchema: z.ZodType< + PatchDomainRequestBody$Outbound, + z.ZodTypeDef, + PatchDomainRequestBody +> = z.union([ + z.lazy(() => PatchDomainRequestBody2$outboundSchema), + z.lazy(() => PatchDomainRequestBody1$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PatchDomainRequestBody$ { + /** @deprecated use `PatchDomainRequestBody$inboundSchema` instead. */ + export const inboundSchema = PatchDomainRequestBody$inboundSchema; + /** @deprecated use `PatchDomainRequestBody$outboundSchema` instead. */ + export const outboundSchema = PatchDomainRequestBody$outboundSchema; + /** @deprecated use `PatchDomainRequestBody$Outbound` instead. */ + export type Outbound = PatchDomainRequestBody$Outbound; +} + +export function patchDomainRequestBodyToJSON( + patchDomainRequestBody: PatchDomainRequestBody, +): string { + return JSON.stringify( + PatchDomainRequestBody$outboundSchema.parse(patchDomainRequestBody), + ); +} + +export function patchDomainRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchDomainRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchDomainRequestBody' from JSON`, + ); +} + +/** @internal */ +export const PatchDomainRequest$inboundSchema: z.ZodType< + PatchDomainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.union([ + z.lazy(() => PatchDomainRequestBody2$inboundSchema), + z.lazy(() => PatchDomainRequestBody1$inboundSchema), + ]), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type PatchDomainRequest$Outbound = { + domain: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: + | PatchDomainRequestBody2$Outbound + | PatchDomainRequestBody1$Outbound; +}; + +/** @internal */ +export const PatchDomainRequest$outboundSchema: z.ZodType< + PatchDomainRequest$Outbound, + z.ZodTypeDef, + PatchDomainRequest +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.union([ + z.lazy(() => PatchDomainRequestBody2$outboundSchema), + z.lazy(() => PatchDomainRequestBody1$outboundSchema), + ]), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PatchDomainRequest$ { + /** @deprecated use `PatchDomainRequest$inboundSchema` instead. */ + export const inboundSchema = PatchDomainRequest$inboundSchema; + /** @deprecated use `PatchDomainRequest$outboundSchema` instead. */ + export const outboundSchema = PatchDomainRequest$outboundSchema; + /** @deprecated use `PatchDomainRequest$Outbound` instead. */ + export type Outbound = PatchDomainRequest$Outbound; +} + +export function patchDomainRequestToJSON( + patchDomainRequest: PatchDomainRequest, +): string { + return JSON.stringify( + PatchDomainRequest$outboundSchema.parse(patchDomainRequest), + ); +} + +export function patchDomainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchDomainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchDomainRequest' from JSON`, + ); +} + +/** @internal */ +export const PatchDomainResponseBody3$inboundSchema: z.ZodType< + PatchDomainResponseBody3, + z.ZodTypeDef, + unknown +> = z.object({ + renew: z.boolean().optional(), + customNameservers: z.array(z.string()).optional(), + zone: z.boolean().optional(), +}); + +/** @internal */ +export type PatchDomainResponseBody3$Outbound = { + renew?: boolean | undefined; + customNameservers?: Array | undefined; + zone?: boolean | undefined; +}; + +/** @internal */ +export const PatchDomainResponseBody3$outboundSchema: z.ZodType< + PatchDomainResponseBody3$Outbound, + z.ZodTypeDef, + PatchDomainResponseBody3 +> = z.object({ + renew: z.boolean().optional(), + customNameservers: z.array(z.string()).optional(), + zone: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PatchDomainResponseBody3$ { + /** @deprecated use `PatchDomainResponseBody3$inboundSchema` instead. */ + export const inboundSchema = PatchDomainResponseBody3$inboundSchema; + /** @deprecated use `PatchDomainResponseBody3$outboundSchema` instead. */ + export const outboundSchema = PatchDomainResponseBody3$outboundSchema; + /** @deprecated use `PatchDomainResponseBody3$Outbound` instead. */ + export type Outbound = PatchDomainResponseBody3$Outbound; +} + +export function patchDomainResponseBody3ToJSON( + patchDomainResponseBody3: PatchDomainResponseBody3, +): string { + return JSON.stringify( + PatchDomainResponseBody3$outboundSchema.parse(patchDomainResponseBody3), + ); +} + +export function patchDomainResponseBody3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchDomainResponseBody3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchDomainResponseBody3' from JSON`, + ); +} + +/** @internal */ +export const PatchDomainResponseBody2$inboundSchema: z.ZodType< + PatchDomainResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + moved: z.boolean(), + token: z.string(), +}); + +/** @internal */ +export type PatchDomainResponseBody2$Outbound = { + moved: boolean; + token: string; +}; + +/** @internal */ +export const PatchDomainResponseBody2$outboundSchema: z.ZodType< + PatchDomainResponseBody2$Outbound, + z.ZodTypeDef, + PatchDomainResponseBody2 +> = z.object({ + moved: z.boolean(), + token: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PatchDomainResponseBody2$ { + /** @deprecated use `PatchDomainResponseBody2$inboundSchema` instead. */ + export const inboundSchema = PatchDomainResponseBody2$inboundSchema; + /** @deprecated use `PatchDomainResponseBody2$outboundSchema` instead. */ + export const outboundSchema = PatchDomainResponseBody2$outboundSchema; + /** @deprecated use `PatchDomainResponseBody2$Outbound` instead. */ + export type Outbound = PatchDomainResponseBody2$Outbound; +} + +export function patchDomainResponseBody2ToJSON( + patchDomainResponseBody2: PatchDomainResponseBody2, +): string { + return JSON.stringify( + PatchDomainResponseBody2$outboundSchema.parse(patchDomainResponseBody2), + ); +} + +export function patchDomainResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchDomainResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchDomainResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const PatchDomainResponseBody1$inboundSchema: z.ZodType< + PatchDomainResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + moved: z.boolean(), +}); + +/** @internal */ +export type PatchDomainResponseBody1$Outbound = { + moved: boolean; +}; + +/** @internal */ +export const PatchDomainResponseBody1$outboundSchema: z.ZodType< + PatchDomainResponseBody1$Outbound, + z.ZodTypeDef, + PatchDomainResponseBody1 +> = z.object({ + moved: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PatchDomainResponseBody1$ { + /** @deprecated use `PatchDomainResponseBody1$inboundSchema` instead. */ + export const inboundSchema = PatchDomainResponseBody1$inboundSchema; + /** @deprecated use `PatchDomainResponseBody1$outboundSchema` instead. */ + export const outboundSchema = PatchDomainResponseBody1$outboundSchema; + /** @deprecated use `PatchDomainResponseBody1$Outbound` instead. */ + export type Outbound = PatchDomainResponseBody1$Outbound; +} + +export function patchDomainResponseBody1ToJSON( + patchDomainResponseBody1: PatchDomainResponseBody1, +): string { + return JSON.stringify( + PatchDomainResponseBody1$outboundSchema.parse(patchDomainResponseBody1), + ); +} + +export function patchDomainResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchDomainResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchDomainResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const PatchDomainResponseBody$inboundSchema: z.ZodType< + PatchDomainResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => PatchDomainResponseBody1$inboundSchema), + z.lazy(() => PatchDomainResponseBody2$inboundSchema), + z.lazy(() => PatchDomainResponseBody3$inboundSchema), +]); + +/** @internal */ +export type PatchDomainResponseBody$Outbound = + | PatchDomainResponseBody1$Outbound + | PatchDomainResponseBody2$Outbound + | PatchDomainResponseBody3$Outbound; + +/** @internal */ +export const PatchDomainResponseBody$outboundSchema: z.ZodType< + PatchDomainResponseBody$Outbound, + z.ZodTypeDef, + PatchDomainResponseBody +> = z.union([ + z.lazy(() => PatchDomainResponseBody1$outboundSchema), + z.lazy(() => PatchDomainResponseBody2$outboundSchema), + z.lazy(() => PatchDomainResponseBody3$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PatchDomainResponseBody$ { + /** @deprecated use `PatchDomainResponseBody$inboundSchema` instead. */ + export const inboundSchema = PatchDomainResponseBody$inboundSchema; + /** @deprecated use `PatchDomainResponseBody$outboundSchema` instead. */ + export const outboundSchema = PatchDomainResponseBody$outboundSchema; + /** @deprecated use `PatchDomainResponseBody$Outbound` instead. */ + export type Outbound = PatchDomainResponseBody$Outbound; +} + +export function patchDomainResponseBodyToJSON( + patchDomainResponseBody: PatchDomainResponseBody, +): string { + return JSON.stringify( + PatchDomainResponseBody$outboundSchema.parse(patchDomainResponseBody), + ); +} + +export function patchDomainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchDomainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchDomainResponseBody' from JSON`, + ); +} diff --git a/src/models/patchedgeconfigschemaop.ts b/src/models/patchedgeconfigschemaop.ts new file mode 100644 index 00000000..064fe986 --- /dev/null +++ b/src/models/patchedgeconfigschemaop.ts @@ -0,0 +1,215 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type PatchEdgeConfigSchemaRequestBody = { + definition?: any | undefined; +}; + +export type PatchEdgeConfigSchemaRequest = { + edgeConfigId: string; + dryRun?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: PatchEdgeConfigSchemaRequestBody; +}; + +/** + * The JSON schema uploaded by the user + */ +export type PatchEdgeConfigSchemaResponseBody = {}; + +/** @internal */ +export const PatchEdgeConfigSchemaRequestBody$inboundSchema: z.ZodType< + PatchEdgeConfigSchemaRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + definition: z.any().optional(), +}); + +/** @internal */ +export type PatchEdgeConfigSchemaRequestBody$Outbound = { + definition?: any | undefined; +}; + +/** @internal */ +export const PatchEdgeConfigSchemaRequestBody$outboundSchema: z.ZodType< + PatchEdgeConfigSchemaRequestBody$Outbound, + z.ZodTypeDef, + PatchEdgeConfigSchemaRequestBody +> = z.object({ + definition: z.any().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PatchEdgeConfigSchemaRequestBody$ { + /** @deprecated use `PatchEdgeConfigSchemaRequestBody$inboundSchema` instead. */ + export const inboundSchema = PatchEdgeConfigSchemaRequestBody$inboundSchema; + /** @deprecated use `PatchEdgeConfigSchemaRequestBody$outboundSchema` instead. */ + export const outboundSchema = PatchEdgeConfigSchemaRequestBody$outboundSchema; + /** @deprecated use `PatchEdgeConfigSchemaRequestBody$Outbound` instead. */ + export type Outbound = PatchEdgeConfigSchemaRequestBody$Outbound; +} + +export function patchEdgeConfigSchemaRequestBodyToJSON( + patchEdgeConfigSchemaRequestBody: PatchEdgeConfigSchemaRequestBody, +): string { + return JSON.stringify( + PatchEdgeConfigSchemaRequestBody$outboundSchema.parse( + patchEdgeConfigSchemaRequestBody, + ), + ); +} + +export function patchEdgeConfigSchemaRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchEdgeConfigSchemaRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchEdgeConfigSchemaRequestBody' from JSON`, + ); +} + +/** @internal */ +export const PatchEdgeConfigSchemaRequest$inboundSchema: z.ZodType< + PatchEdgeConfigSchemaRequest, + z.ZodTypeDef, + unknown +> = z.object({ + edgeConfigId: z.string(), + dryRun: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => PatchEdgeConfigSchemaRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type PatchEdgeConfigSchemaRequest$Outbound = { + edgeConfigId: string; + dryRun?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: PatchEdgeConfigSchemaRequestBody$Outbound; +}; + +/** @internal */ +export const PatchEdgeConfigSchemaRequest$outboundSchema: z.ZodType< + PatchEdgeConfigSchemaRequest$Outbound, + z.ZodTypeDef, + PatchEdgeConfigSchemaRequest +> = z.object({ + edgeConfigId: z.string(), + dryRun: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => PatchEdgeConfigSchemaRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PatchEdgeConfigSchemaRequest$ { + /** @deprecated use `PatchEdgeConfigSchemaRequest$inboundSchema` instead. */ + export const inboundSchema = PatchEdgeConfigSchemaRequest$inboundSchema; + /** @deprecated use `PatchEdgeConfigSchemaRequest$outboundSchema` instead. */ + export const outboundSchema = PatchEdgeConfigSchemaRequest$outboundSchema; + /** @deprecated use `PatchEdgeConfigSchemaRequest$Outbound` instead. */ + export type Outbound = PatchEdgeConfigSchemaRequest$Outbound; +} + +export function patchEdgeConfigSchemaRequestToJSON( + patchEdgeConfigSchemaRequest: PatchEdgeConfigSchemaRequest, +): string { + return JSON.stringify( + PatchEdgeConfigSchemaRequest$outboundSchema.parse( + patchEdgeConfigSchemaRequest, + ), + ); +} + +export function patchEdgeConfigSchemaRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchEdgeConfigSchemaRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchEdgeConfigSchemaRequest' from JSON`, + ); +} + +/** @internal */ +export const PatchEdgeConfigSchemaResponseBody$inboundSchema: z.ZodType< + PatchEdgeConfigSchemaResponseBody, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type PatchEdgeConfigSchemaResponseBody$Outbound = {}; + +/** @internal */ +export const PatchEdgeConfigSchemaResponseBody$outboundSchema: z.ZodType< + PatchEdgeConfigSchemaResponseBody$Outbound, + z.ZodTypeDef, + PatchEdgeConfigSchemaResponseBody +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PatchEdgeConfigSchemaResponseBody$ { + /** @deprecated use `PatchEdgeConfigSchemaResponseBody$inboundSchema` instead. */ + export const inboundSchema = PatchEdgeConfigSchemaResponseBody$inboundSchema; + /** @deprecated use `PatchEdgeConfigSchemaResponseBody$outboundSchema` instead. */ + export const outboundSchema = + PatchEdgeConfigSchemaResponseBody$outboundSchema; + /** @deprecated use `PatchEdgeConfigSchemaResponseBody$Outbound` instead. */ + export type Outbound = PatchEdgeConfigSchemaResponseBody$Outbound; +} + +export function patchEdgeConfigSchemaResponseBodyToJSON( + patchEdgeConfigSchemaResponseBody: PatchEdgeConfigSchemaResponseBody, +): string { + return JSON.stringify( + PatchEdgeConfigSchemaResponseBody$outboundSchema.parse( + patchEdgeConfigSchemaResponseBody, + ), + ); +} + +export function patchEdgeConfigSchemaResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchEdgeConfigSchemaResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchEdgeConfigSchemaResponseBody' from JSON`, + ); +} diff --git a/src/models/patchteamop.ts b/src/models/patchteamop.ts new file mode 100644 index 00000000..77a3b8d5 --- /dev/null +++ b/src/models/patchteamop.ts @@ -0,0 +1,491 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type Roles2 = { + accessGroupId: string; +}; + +export const Roles1 = { + Owner: "OWNER", + Member: "MEMBER", + Developer: "DEVELOPER", + Billing: "BILLING", + Viewer: "VIEWER", + Contributor: "CONTRIBUTOR", +} as const; +export type Roles1 = ClosedEnum; + +export type Roles = Roles2 | Roles1; + +export type PatchTeamSaml = { + /** + * Require that members of the team use SAML Single Sign-On. + */ + enforced?: boolean | undefined; + /** + * Directory groups to role or access group mappings. + */ + roles?: { [k: string]: Roles2 | Roles1 } | undefined; +}; + +/** + * Whether or not remote caching is enabled for the team + */ +export type PatchTeamRemoteCaching = { + /** + * Enable or disable remote caching for the team. + */ + enabled?: boolean | undefined; +}; + +export type PatchTeamRequestBody = { + /** + * The hash value of an uploaded image. + */ + avatar?: string | undefined; + /** + * A short text that describes the team. + */ + description?: string | undefined; + emailDomain?: string | null | undefined; + /** + * The name of the team. + */ + name?: string | undefined; + /** + * Suffix that will be used for all preview deployments. + */ + previewDeploymentSuffix?: string | null | undefined; + /** + * Create a new invite code and replace the current one. + */ + regenerateInviteCode?: boolean | undefined; + saml?: PatchTeamSaml | undefined; + /** + * A new slug for the team. + */ + slug?: string | undefined; + /** + * Enable preview toolbar: one of on, off or default. + */ + enablePreviewFeedback?: string | undefined; + /** + * Enable production toolbar: one of on, off or default. + */ + enableProductionFeedback?: string | undefined; + /** + * Sensitive environment variable policy: one of on, off or default. + */ + sensitiveEnvironmentVariablePolicy?: string | undefined; + /** + * Whether or not remote caching is enabled for the team + */ + remoteCaching?: PatchTeamRemoteCaching | undefined; + /** + * Display or hide IP addresses in Monitoring queries. + */ + hideIpAddresses?: boolean | undefined; + /** + * Display or hide IP addresses in Log Drains. + */ + hideIpAddressesInLogDrains?: boolean | undefined; +}; + +export type PatchTeamRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId: string; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: PatchTeamRequestBody; +}; + +/** @internal */ +export const Roles2$inboundSchema: z.ZodType = z + .object({ + accessGroupId: z.string(), + }); + +/** @internal */ +export type Roles2$Outbound = { + accessGroupId: string; +}; + +/** @internal */ +export const Roles2$outboundSchema: z.ZodType< + Roles2$Outbound, + z.ZodTypeDef, + Roles2 +> = z.object({ + accessGroupId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Roles2$ { + /** @deprecated use `Roles2$inboundSchema` instead. */ + export const inboundSchema = Roles2$inboundSchema; + /** @deprecated use `Roles2$outboundSchema` instead. */ + export const outboundSchema = Roles2$outboundSchema; + /** @deprecated use `Roles2$Outbound` instead. */ + export type Outbound = Roles2$Outbound; +} + +export function roles2ToJSON(roles2: Roles2): string { + return JSON.stringify(Roles2$outboundSchema.parse(roles2)); +} + +export function roles2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Roles2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Roles2' from JSON`, + ); +} + +/** @internal */ +export const Roles1$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Roles1); + +/** @internal */ +export const Roles1$outboundSchema: z.ZodNativeEnum = + Roles1$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Roles1$ { + /** @deprecated use `Roles1$inboundSchema` instead. */ + export const inboundSchema = Roles1$inboundSchema; + /** @deprecated use `Roles1$outboundSchema` instead. */ + export const outboundSchema = Roles1$outboundSchema; +} + +/** @internal */ +export const Roles$inboundSchema: z.ZodType = z + .union([z.lazy(() => Roles2$inboundSchema), Roles1$inboundSchema]); + +/** @internal */ +export type Roles$Outbound = Roles2$Outbound | string; + +/** @internal */ +export const Roles$outboundSchema: z.ZodType< + Roles$Outbound, + z.ZodTypeDef, + Roles +> = z.union([z.lazy(() => Roles2$outboundSchema), Roles1$outboundSchema]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Roles$ { + /** @deprecated use `Roles$inboundSchema` instead. */ + export const inboundSchema = Roles$inboundSchema; + /** @deprecated use `Roles$outboundSchema` instead. */ + export const outboundSchema = Roles$outboundSchema; + /** @deprecated use `Roles$Outbound` instead. */ + export type Outbound = Roles$Outbound; +} + +export function rolesToJSON(roles: Roles): string { + return JSON.stringify(Roles$outboundSchema.parse(roles)); +} + +export function rolesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Roles$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Roles' from JSON`, + ); +} + +/** @internal */ +export const PatchTeamSaml$inboundSchema: z.ZodType< + PatchTeamSaml, + z.ZodTypeDef, + unknown +> = z.object({ + enforced: z.boolean().optional(), + roles: z.record( + z.union([z.lazy(() => Roles2$inboundSchema), Roles1$inboundSchema]), + ).optional(), +}); + +/** @internal */ +export type PatchTeamSaml$Outbound = { + enforced?: boolean | undefined; + roles?: { [k: string]: Roles2$Outbound | string } | undefined; +}; + +/** @internal */ +export const PatchTeamSaml$outboundSchema: z.ZodType< + PatchTeamSaml$Outbound, + z.ZodTypeDef, + PatchTeamSaml +> = z.object({ + enforced: z.boolean().optional(), + roles: z.record( + z.union([z.lazy(() => Roles2$outboundSchema), Roles1$outboundSchema]), + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PatchTeamSaml$ { + /** @deprecated use `PatchTeamSaml$inboundSchema` instead. */ + export const inboundSchema = PatchTeamSaml$inboundSchema; + /** @deprecated use `PatchTeamSaml$outboundSchema` instead. */ + export const outboundSchema = PatchTeamSaml$outboundSchema; + /** @deprecated use `PatchTeamSaml$Outbound` instead. */ + export type Outbound = PatchTeamSaml$Outbound; +} + +export function patchTeamSamlToJSON(patchTeamSaml: PatchTeamSaml): string { + return JSON.stringify(PatchTeamSaml$outboundSchema.parse(patchTeamSaml)); +} + +export function patchTeamSamlFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchTeamSaml$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchTeamSaml' from JSON`, + ); +} + +/** @internal */ +export const PatchTeamRemoteCaching$inboundSchema: z.ZodType< + PatchTeamRemoteCaching, + z.ZodTypeDef, + unknown +> = z.object({ + enabled: z.boolean().optional(), +}); + +/** @internal */ +export type PatchTeamRemoteCaching$Outbound = { + enabled?: boolean | undefined; +}; + +/** @internal */ +export const PatchTeamRemoteCaching$outboundSchema: z.ZodType< + PatchTeamRemoteCaching$Outbound, + z.ZodTypeDef, + PatchTeamRemoteCaching +> = z.object({ + enabled: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PatchTeamRemoteCaching$ { + /** @deprecated use `PatchTeamRemoteCaching$inboundSchema` instead. */ + export const inboundSchema = PatchTeamRemoteCaching$inboundSchema; + /** @deprecated use `PatchTeamRemoteCaching$outboundSchema` instead. */ + export const outboundSchema = PatchTeamRemoteCaching$outboundSchema; + /** @deprecated use `PatchTeamRemoteCaching$Outbound` instead. */ + export type Outbound = PatchTeamRemoteCaching$Outbound; +} + +export function patchTeamRemoteCachingToJSON( + patchTeamRemoteCaching: PatchTeamRemoteCaching, +): string { + return JSON.stringify( + PatchTeamRemoteCaching$outboundSchema.parse(patchTeamRemoteCaching), + ); +} + +export function patchTeamRemoteCachingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchTeamRemoteCaching$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchTeamRemoteCaching' from JSON`, + ); +} + +/** @internal */ +export const PatchTeamRequestBody$inboundSchema: z.ZodType< + PatchTeamRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + avatar: z.string().optional(), + description: z.string().optional(), + emailDomain: z.nullable(z.string()).optional(), + name: z.string().optional(), + previewDeploymentSuffix: z.nullable(z.string()).optional(), + regenerateInviteCode: z.boolean().optional(), + saml: z.lazy(() => PatchTeamSaml$inboundSchema).optional(), + slug: z.string().optional(), + enablePreviewFeedback: z.string().optional(), + enableProductionFeedback: z.string().optional(), + sensitiveEnvironmentVariablePolicy: z.string().optional(), + remoteCaching: z.lazy(() => PatchTeamRemoteCaching$inboundSchema).optional(), + hideIpAddresses: z.boolean().optional(), + hideIpAddressesInLogDrains: z.boolean().optional(), +}); + +/** @internal */ +export type PatchTeamRequestBody$Outbound = { + avatar?: string | undefined; + description?: string | undefined; + emailDomain?: string | null | undefined; + name?: string | undefined; + previewDeploymentSuffix?: string | null | undefined; + regenerateInviteCode?: boolean | undefined; + saml?: PatchTeamSaml$Outbound | undefined; + slug?: string | undefined; + enablePreviewFeedback?: string | undefined; + enableProductionFeedback?: string | undefined; + sensitiveEnvironmentVariablePolicy?: string | undefined; + remoteCaching?: PatchTeamRemoteCaching$Outbound | undefined; + hideIpAddresses?: boolean | undefined; + hideIpAddressesInLogDrains?: boolean | undefined; +}; + +/** @internal */ +export const PatchTeamRequestBody$outboundSchema: z.ZodType< + PatchTeamRequestBody$Outbound, + z.ZodTypeDef, + PatchTeamRequestBody +> = z.object({ + avatar: z.string().optional(), + description: z.string().optional(), + emailDomain: z.nullable(z.string()).optional(), + name: z.string().optional(), + previewDeploymentSuffix: z.nullable(z.string()).optional(), + regenerateInviteCode: z.boolean().optional(), + saml: z.lazy(() => PatchTeamSaml$outboundSchema).optional(), + slug: z.string().optional(), + enablePreviewFeedback: z.string().optional(), + enableProductionFeedback: z.string().optional(), + sensitiveEnvironmentVariablePolicy: z.string().optional(), + remoteCaching: z.lazy(() => PatchTeamRemoteCaching$outboundSchema).optional(), + hideIpAddresses: z.boolean().optional(), + hideIpAddressesInLogDrains: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PatchTeamRequestBody$ { + /** @deprecated use `PatchTeamRequestBody$inboundSchema` instead. */ + export const inboundSchema = PatchTeamRequestBody$inboundSchema; + /** @deprecated use `PatchTeamRequestBody$outboundSchema` instead. */ + export const outboundSchema = PatchTeamRequestBody$outboundSchema; + /** @deprecated use `PatchTeamRequestBody$Outbound` instead. */ + export type Outbound = PatchTeamRequestBody$Outbound; +} + +export function patchTeamRequestBodyToJSON( + patchTeamRequestBody: PatchTeamRequestBody, +): string { + return JSON.stringify( + PatchTeamRequestBody$outboundSchema.parse(patchTeamRequestBody), + ); +} + +export function patchTeamRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchTeamRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchTeamRequestBody' from JSON`, + ); +} + +/** @internal */ +export const PatchTeamRequest$inboundSchema: z.ZodType< + PatchTeamRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string(), + slug: z.string().optional(), + RequestBody: z.lazy(() => PatchTeamRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type PatchTeamRequest$Outbound = { + teamId: string; + slug?: string | undefined; + RequestBody: PatchTeamRequestBody$Outbound; +}; + +/** @internal */ +export const PatchTeamRequest$outboundSchema: z.ZodType< + PatchTeamRequest$Outbound, + z.ZodTypeDef, + PatchTeamRequest +> = z.object({ + teamId: z.string(), + slug: z.string().optional(), + requestBody: z.lazy(() => PatchTeamRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PatchTeamRequest$ { + /** @deprecated use `PatchTeamRequest$inboundSchema` instead. */ + export const inboundSchema = PatchTeamRequest$inboundSchema; + /** @deprecated use `PatchTeamRequest$outboundSchema` instead. */ + export const outboundSchema = PatchTeamRequest$outboundSchema; + /** @deprecated use `PatchTeamRequest$Outbound` instead. */ + export type Outbound = PatchTeamRequest$Outbound; +} + +export function patchTeamRequestToJSON( + patchTeamRequest: PatchTeamRequest, +): string { + return JSON.stringify( + PatchTeamRequest$outboundSchema.parse(patchTeamRequest), + ); +} + +export function patchTeamRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PatchTeamRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchTeamRequest' from JSON`, + ); +} diff --git a/src/models/putfirewallconfigop.ts b/src/models/putfirewallconfigop.ts new file mode 100644 index 00000000..984633a4 --- /dev/null +++ b/src/models/putfirewallconfigop.ts @@ -0,0 +1,4892 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type Owasp = { + active: boolean; +}; + +export type ManagedRules = { + owasp: Owasp; +}; + +export const PutFirewallConfigAction = { + Deny: "deny", + Log: "log", +} as const; +export type PutFirewallConfigAction = ClosedEnum< + typeof PutFirewallConfigAction +>; + +/** + * Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools. + */ +export type Sd = { + active: boolean; + action: PutFirewallConfigAction; +}; + +export const PutFirewallConfigSecurityAction = { + Deny: "deny", + Log: "log", +} as const; +export type PutFirewallConfigSecurityAction = ClosedEnum< + typeof PutFirewallConfigSecurityAction +>; + +/** + * Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding. + */ +export type Ma = { + active: boolean; + action: PutFirewallConfigSecurityAction; +}; + +export const PutFirewallConfigSecurityRequestAction = { + Deny: "deny", + Log: "log", +} as const; +export type PutFirewallConfigSecurityRequestAction = ClosedEnum< + typeof PutFirewallConfigSecurityRequestAction +>; + +/** + * Local File Inclusion Attack - Prevent unauthorized access to local files through web applications. + */ +export type Lfi = { + active: boolean; + action: PutFirewallConfigSecurityRequestAction; +}; + +export const PutFirewallConfigSecurityRequestRequestBodyAction = { + Deny: "deny", + Log: "log", +} as const; +export type PutFirewallConfigSecurityRequestRequestBodyAction = ClosedEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyAction +>; + +/** + * Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files. + */ +export type Rfi = { + active: boolean; + action: PutFirewallConfigSecurityRequestRequestBodyAction; +}; + +export const PutFirewallConfigSecurityRequestRequestBodyCrsAction = { + Deny: "deny", + Log: "log", +} as const; +export type PutFirewallConfigSecurityRequestRequestBodyCrsAction = ClosedEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyCrsAction +>; + +/** + * Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands. + */ +export type Rce = { + active: boolean; + action: PutFirewallConfigSecurityRequestRequestBodyCrsAction; +}; + +export const PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction = { + Deny: "deny", + Log: "log", +} as const; +export type PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction = + ClosedEnum; + +/** + * PHP Attack - Safeguard against vulnerability exploits in PHP-based applications. + */ +export type Php = { + active: boolean; + action: PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction; +}; + +export const PutFirewallConfigSecurityRequestRequestBodyCrsGenAction = { + Deny: "deny", + Log: "log", +} as const; +export type PutFirewallConfigSecurityRequestRequestBodyCrsGenAction = + ClosedEnum; + +/** + * Generic Attack - Provide broad protection from various undefined or novel attack vectors. + */ +export type Gen = { + active: boolean; + action: PutFirewallConfigSecurityRequestRequestBodyCrsGenAction; +}; + +export const PutFirewallConfigSecurityRequestRequestBodyCrsXssAction = { + Deny: "deny", + Log: "log", +} as const; +export type PutFirewallConfigSecurityRequestRequestBodyCrsXssAction = + ClosedEnum; + +/** + * XSS Attack - Prevent injection of malicious scripts into trusted webpages. + */ +export type Xss = { + active: boolean; + action: PutFirewallConfigSecurityRequestRequestBodyCrsXssAction; +}; + +export const PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction = { + Deny: "deny", + Log: "log", +} as const; +export type PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction = + ClosedEnum; + +/** + * SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases. + */ +export type Sqli = { + active: boolean; + action: PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction; +}; + +export const PutFirewallConfigSecurityRequestRequestBodyCrsSfAction = { + Deny: "deny", + Log: "log", +} as const; +export type PutFirewallConfigSecurityRequestRequestBodyCrsSfAction = ClosedEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyCrsSfAction +>; + +/** + * Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs. + */ +export type Sf = { + active: boolean; + action: PutFirewallConfigSecurityRequestRequestBodyCrsSfAction; +}; + +export const PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction = { + Deny: "deny", + Log: "log", +} as const; +export type PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction = + ClosedEnum; + +/** + * Java Attack - Mitigate risks of exploitation targeting Java-based applications or components. + */ +export type Java = { + active: boolean; + action: PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction; +}; + +/** + * Custom Ruleset + */ +export type Crs = { + /** + * Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools. + */ + sd?: Sd | undefined; + /** + * Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding. + */ + ma?: Ma | undefined; + /** + * Local File Inclusion Attack - Prevent unauthorized access to local files through web applications. + */ + lfi?: Lfi | undefined; + /** + * Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files. + */ + rfi?: Rfi | undefined; + /** + * Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands. + */ + rce?: Rce | undefined; + /** + * PHP Attack - Safeguard against vulnerability exploits in PHP-based applications. + */ + php?: Php | undefined; + /** + * Generic Attack - Provide broad protection from various undefined or novel attack vectors. + */ + gen?: Gen | undefined; + /** + * XSS Attack - Prevent injection of malicious scripts into trusted webpages. + */ + xss?: Xss | undefined; + /** + * SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases. + */ + sqli?: Sqli | undefined; + /** + * Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs. + */ + sf?: Sf | undefined; + /** + * Java Attack - Mitigate risks of exploitation targeting Java-based applications or components. + */ + java?: Java | undefined; +}; + +/** + * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. + */ +export const PutFirewallConfigType = { + Host: "host", + Path: "path", + Method: "method", + Header: "header", + Query: "query", + Cookie: "cookie", + TargetPath: "target_path", + RawPath: "raw_path", + IpAddress: "ip_address", + Region: "region", + Protocol: "protocol", + Scheme: "scheme", + Environment: "environment", + UserAgent: "user_agent", + GeoContinent: "geo_continent", + GeoCountry: "geo_country", + GeoCountryRegion: "geo_country_region", + GeoCity: "geo_city", + GeoAsNumber: "geo_as_number", + Ja4Digest: "ja4_digest", + Ja3Digest: "ja3_digest", + RateLimitApiId: "rate_limit_api_id", +} as const; +/** + * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. + */ +export type PutFirewallConfigType = ClosedEnum; + +/** + * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value. + */ +export const Op = { + Re: "re", + Eq: "eq", + Neq: "neq", + Ex: "ex", + Nex: "nex", + Inc: "inc", + Ninc: "ninc", + Pre: "pre", + Suf: "suf", + Sub: "sub", + Gt: "gt", + Gte: "gte", + Lt: "lt", + Lte: "lte", +} as const; +/** + * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value. + */ +export type Op = ClosedEnum; + +export type PutFirewallConfigValue = string | Array | number; + +export type Conditions = { + /** + * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. + */ + type: PutFirewallConfigType; + /** + * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value. + */ + op: Op; + neg?: boolean | undefined; + key?: string | undefined; + value?: string | Array | number | undefined; +}; + +export type ConditionGroup = { + conditions: Array; +}; + +export const PutFirewallConfigSecurityRequestRequestBodyRulesActionAction = { + Log: "log", + Challenge: "challenge", + Deny: "deny", + Bypass: "bypass", + RateLimit: "rate_limit", + Redirect: "redirect", +} as const; +export type PutFirewallConfigSecurityRequestRequestBodyRulesActionAction = + ClosedEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyRulesActionAction + >; + +export const Algo = { + FixedWindow: "fixed_window", + TokenBucket: "token_bucket", +} as const; +export type Algo = ClosedEnum; + +export const Action1 = { + Log: "log", + Challenge: "challenge", + Deny: "deny", + RateLimit: "rate_limit", +} as const; +export type Action1 = ClosedEnum; + +export type RateLimitAction = Action1 | any; + +export type RateLimit1 = { + algo: Algo; + window: number; + limit: number; + keys: Array; + action?: Action1 | any | null | undefined; +}; + +export type RateLimit = RateLimit1 | any; + +export type Redirect1 = { + location: string; + permanent: boolean; +}; + +export type Redirect = Redirect1 | any; + +export type Mitigate = { + action: PutFirewallConfigSecurityRequestRequestBodyRulesActionAction; + rateLimit?: RateLimit1 | any | null | undefined; + redirect?: Redirect1 | any | null | undefined; + actionDuration?: string | null | undefined; +}; + +export type PutFirewallConfigSecurityRequestRequestBodyRulesAction = { + mitigate?: Mitigate | undefined; +}; + +export type Rules = { + id?: string | undefined; + name: string; + description?: string | undefined; + active: boolean; + conditionGroup: Array; + action: PutFirewallConfigSecurityRequestRequestBodyRulesAction; +}; + +export const PutFirewallConfigSecurityRequestRequestBodyIpsAction = { + Deny: "deny", + Challenge: "challenge", + Log: "log", + Bypass: "bypass", +} as const; +export type PutFirewallConfigSecurityRequestRequestBodyIpsAction = ClosedEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyIpsAction +>; + +export type Ips = { + id?: string | undefined; + hostname: string; + ip: string; + notes?: string | undefined; + action: PutFirewallConfigSecurityRequestRequestBodyIpsAction; +}; + +export type PutFirewallConfigRequestBody = { + firewallEnabled: boolean; + managedRules?: ManagedRules | undefined; + /** + * Custom Ruleset + */ + crs?: Crs | undefined; + rules?: Array | undefined; + ips?: Array | undefined; +}; + +export type PutFirewallConfigRequest = { + projectId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: PutFirewallConfigRequestBody; +}; + +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction = + { + Deny: "deny", + Log: "log", + } as const; +export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction = + ClosedEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction + >; + +/** + * Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools. + */ +export type PutFirewallConfigSd = { + active: boolean; + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction; +}; + +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction = + { + Deny: "deny", + Log: "log", + } as const; +export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction = + ClosedEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction + >; + +/** + * Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding. + */ +export type PutFirewallConfigMa = { + active: boolean; + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction; +}; + +export const PutFirewallConfigSecurityResponse200ApplicationJSONAction = { + Deny: "deny", + Log: "log", +} as const; +export type PutFirewallConfigSecurityResponse200ApplicationJSONAction = + ClosedEnum; + +/** + * Local File Inclusion Attack - Prevent unauthorized access to local files through web applications. + */ +export type PutFirewallConfigLfi = { + active: boolean; + action: PutFirewallConfigSecurityResponse200ApplicationJSONAction; +}; + +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction = + { + Deny: "deny", + Log: "log", + } as const; +export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction = + ClosedEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction + >; + +/** + * Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files. + */ +export type PutFirewallConfigRfi = { + active: boolean; + action: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction; +}; + +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction = + { + Deny: "deny", + Log: "log", + } as const; +export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction = + ClosedEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction + >; + +/** + * Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands. + */ +export type PutFirewallConfigRce = { + active: boolean; + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction; +}; + +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction = + { + Deny: "deny", + Log: "log", + } as const; +export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction = + ClosedEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction + >; + +/** + * PHP Attack - Safeguard against vulnerability exploits in PHP-based applications. + */ +export type PutFirewallConfigPhp = { + active: boolean; + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction; +}; + +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction = + { + Deny: "deny", + Log: "log", + } as const; +export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction = + ClosedEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction + >; + +/** + * Generic Attack - Provide broad protection from various undefined or novel attack vectors. + */ +export type PutFirewallConfigGen = { + active: boolean; + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction; +}; + +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction = + { + Deny: "deny", + Log: "log", + } as const; +export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction = + ClosedEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction + >; + +/** + * XSS Attack - Prevent injection of malicious scripts into trusted webpages. + */ +export type PutFirewallConfigXss = { + active: boolean; + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction; +}; + +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction = + { + Deny: "deny", + Log: "log", + } as const; +export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction = + ClosedEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction + >; + +/** + * SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases. + */ +export type PutFirewallConfigSqli = { + active: boolean; + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction; +}; + +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction = + { + Deny: "deny", + Log: "log", + } as const; +export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction = + ClosedEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction + >; + +/** + * Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs. + */ +export type PutFirewallConfigSf = { + active: boolean; + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction; +}; + +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction = + { + Deny: "deny", + Log: "log", + } as const; +export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction = + ClosedEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction + >; + +/** + * Java Attack - Mitigate risks of exploitation targeting Java-based applications or components. + */ +export type PutFirewallConfigJava = { + active: boolean; + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction; +}; + +/** + * Custom Ruleset + */ +export type PutFirewallConfigCrs = { + /** + * Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools. + */ + sd: PutFirewallConfigSd; + /** + * Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding. + */ + ma: PutFirewallConfigMa; + /** + * Local File Inclusion Attack - Prevent unauthorized access to local files through web applications. + */ + lfi: PutFirewallConfigLfi; + /** + * Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files. + */ + rfi: PutFirewallConfigRfi; + /** + * Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands. + */ + rce: PutFirewallConfigRce; + /** + * PHP Attack - Safeguard against vulnerability exploits in PHP-based applications. + */ + php: PutFirewallConfigPhp; + /** + * Generic Attack - Provide broad protection from various undefined or novel attack vectors. + */ + gen: PutFirewallConfigGen; + /** + * XSS Attack - Prevent injection of malicious scripts into trusted webpages. + */ + xss: PutFirewallConfigXss; + /** + * SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases. + */ + sqli: PutFirewallConfigSqli; + /** + * Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs. + */ + sf: PutFirewallConfigSf; + /** + * Java Attack - Mitigate risks of exploitation targeting Java-based applications or components. + */ + java: PutFirewallConfigJava; +}; + +export const PutFirewallConfigSecurityType = { + Host: "host", + Path: "path", + Method: "method", + Header: "header", + Query: "query", + Cookie: "cookie", + TargetPath: "target_path", + RawPath: "raw_path", + IpAddress: "ip_address", + Protocol: "protocol", + Region: "region", + Scheme: "scheme", + Environment: "environment", + UserAgent: "user_agent", + GeoContinent: "geo_continent", + GeoCountry: "geo_country", + GeoCountryRegion: "geo_country_region", + GeoCity: "geo_city", + GeoAsNumber: "geo_as_number", + Ja4Digest: "ja4_digest", + Ja3Digest: "ja3_digest", + RateLimitApiId: "rate_limit_api_id", +} as const; +export type PutFirewallConfigSecurityType = ClosedEnum< + typeof PutFirewallConfigSecurityType +>; + +export const PutFirewallConfigOp = { + Re: "re", + Eq: "eq", + Ex: "ex", + Inc: "inc", + Pre: "pre", + Suf: "suf", + Sub: "sub", + Gt: "gt", + Gte: "gte", + Lt: "lt", + Lte: "lte", + Nex: "nex", + Ninc: "ninc", + Neq: "neq", +} as const; +export type PutFirewallConfigOp = ClosedEnum; + +export type PutFirewallConfigSecurityValue = string | number | Array; + +export type PutFirewallConfigConditions = { + type: PutFirewallConfigSecurityType; + op: PutFirewallConfigOp; + neg?: boolean | undefined; + key?: string | undefined; + value?: string | number | Array | undefined; +}; + +export type PutFirewallConfigConditionGroup = { + conditions: Array; +}; + +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction = + { + Deny: "deny", + Log: "log", + Challenge: "challenge", + Bypass: "bypass", + RateLimit: "rate_limit", + Redirect: "redirect", + } as const; +export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction = + ClosedEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction + >; + +export const PutFirewallConfigAlgo = { + FixedWindow: "fixed_window", + TokenBucket: "token_bucket", +} as const; +export type PutFirewallConfigAlgo = ClosedEnum; + +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction = + { + Deny: "deny", + Log: "log", + Challenge: "challenge", + RateLimit: "rate_limit", + } as const; +export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction = + ClosedEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction + >; + +export type PutFirewallConfigRateLimit = { + algo: PutFirewallConfigAlgo; + window: number; + limit: number; + keys: Array; + action?: + | PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction + | null + | undefined; +}; + +export type PutFirewallConfigRedirect = { + location: string; + permanent: boolean; +}; + +export type PutFirewallConfigMitigate = { + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction; + rateLimit?: PutFirewallConfigRateLimit | null | undefined; + redirect?: PutFirewallConfigRedirect | null | undefined; + actionDuration?: string | null | undefined; +}; + +export type PutFirewallConfigSecurityResponseAction = { + mitigate?: PutFirewallConfigMitigate | undefined; +}; + +export type PutFirewallConfigRules = { + id: string; + name: string; + description?: string | undefined; + active: boolean; + conditionGroup: Array; + action: PutFirewallConfigSecurityResponseAction; +}; + +export const PutFirewallConfigSecurityResponse200Action = { + Deny: "deny", + Log: "log", + Challenge: "challenge", + Bypass: "bypass", +} as const; +export type PutFirewallConfigSecurityResponse200Action = ClosedEnum< + typeof PutFirewallConfigSecurityResponse200Action +>; + +export type PutFirewallConfigIps = { + id: string; + hostname: string; + ip: string; + notes?: string | undefined; + action: PutFirewallConfigSecurityResponse200Action; +}; + +export type PutFirewallConfigChanges = {}; + +export type PutFirewallConfigOwasp = { + active: boolean; + updatedAt?: string | undefined; + userId?: string | undefined; + username?: string | undefined; +}; + +export type PutFirewallConfigVerifiedBotsBypass = { + active: boolean; + updatedAt?: string | undefined; + userId?: string | undefined; + username?: string | undefined; +}; + +export type PutFirewallConfigManagedRules = { + owasp?: PutFirewallConfigOwasp | undefined; + verifiedBotsBypass?: PutFirewallConfigVerifiedBotsBypass | undefined; +}; + +export type Active = { + ownerId: string; + projectKey: string; + id: string; + version: number; + updatedAt: string; + firewallEnabled: boolean; + /** + * Custom Ruleset + */ + crs: PutFirewallConfigCrs; + rules: Array; + ips: Array; + changes: Array; + managedRules?: PutFirewallConfigManagedRules | undefined; +}; + +export type PutFirewallConfigResponseBody = { + active: Active; +}; + +/** @internal */ +export const Owasp$inboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + }); + +/** @internal */ +export type Owasp$Outbound = { + active: boolean; +}; + +/** @internal */ +export const Owasp$outboundSchema: z.ZodType< + Owasp$Outbound, + z.ZodTypeDef, + Owasp +> = z.object({ + active: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Owasp$ { + /** @deprecated use `Owasp$inboundSchema` instead. */ + export const inboundSchema = Owasp$inboundSchema; + /** @deprecated use `Owasp$outboundSchema` instead. */ + export const outboundSchema = Owasp$outboundSchema; + /** @deprecated use `Owasp$Outbound` instead. */ + export type Outbound = Owasp$Outbound; +} + +export function owaspToJSON(owasp: Owasp): string { + return JSON.stringify(Owasp$outboundSchema.parse(owasp)); +} + +export function owaspFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Owasp$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Owasp' from JSON`, + ); +} + +/** @internal */ +export const ManagedRules$inboundSchema: z.ZodType< + ManagedRules, + z.ZodTypeDef, + unknown +> = z.object({ + owasp: z.lazy(() => Owasp$inboundSchema), +}); + +/** @internal */ +export type ManagedRules$Outbound = { + owasp: Owasp$Outbound; +}; + +/** @internal */ +export const ManagedRules$outboundSchema: z.ZodType< + ManagedRules$Outbound, + z.ZodTypeDef, + ManagedRules +> = z.object({ + owasp: z.lazy(() => Owasp$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ManagedRules$ { + /** @deprecated use `ManagedRules$inboundSchema` instead. */ + export const inboundSchema = ManagedRules$inboundSchema; + /** @deprecated use `ManagedRules$outboundSchema` instead. */ + export const outboundSchema = ManagedRules$outboundSchema; + /** @deprecated use `ManagedRules$Outbound` instead. */ + export type Outbound = ManagedRules$Outbound; +} + +export function managedRulesToJSON(managedRules: ManagedRules): string { + return JSON.stringify(ManagedRules$outboundSchema.parse(managedRules)); +} + +export function managedRulesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ManagedRules$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ManagedRules' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigAction$inboundSchema: z.ZodNativeEnum< + typeof PutFirewallConfigAction +> = z.nativeEnum(PutFirewallConfigAction); + +/** @internal */ +export const PutFirewallConfigAction$outboundSchema: z.ZodNativeEnum< + typeof PutFirewallConfigAction +> = PutFirewallConfigAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigAction$ { + /** @deprecated use `PutFirewallConfigAction$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigAction$inboundSchema; + /** @deprecated use `PutFirewallConfigAction$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigAction$outboundSchema; +} + +/** @internal */ +export const Sd$inboundSchema: z.ZodType = z.object({ + active: z.boolean(), + action: PutFirewallConfigAction$inboundSchema, +}); + +/** @internal */ +export type Sd$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const Sd$outboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: PutFirewallConfigAction$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Sd$ { + /** @deprecated use `Sd$inboundSchema` instead. */ + export const inboundSchema = Sd$inboundSchema; + /** @deprecated use `Sd$outboundSchema` instead. */ + export const outboundSchema = Sd$outboundSchema; + /** @deprecated use `Sd$Outbound` instead. */ + export type Outbound = Sd$Outbound; +} + +export function sdToJSON(sd: Sd): string { + return JSON.stringify(Sd$outboundSchema.parse(sd)); +} + +export function sdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Sd$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Sd' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityAction$inboundSchema: z.ZodNativeEnum< + typeof PutFirewallConfigSecurityAction +> = z.nativeEnum(PutFirewallConfigSecurityAction); + +/** @internal */ +export const PutFirewallConfigSecurityAction$outboundSchema: z.ZodNativeEnum< + typeof PutFirewallConfigSecurityAction +> = PutFirewallConfigSecurityAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityAction$ { + /** @deprecated use `PutFirewallConfigSecurityAction$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigSecurityAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityAction$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigSecurityAction$outboundSchema; +} + +/** @internal */ +export const Ma$inboundSchema: z.ZodType = z.object({ + active: z.boolean(), + action: PutFirewallConfigSecurityAction$inboundSchema, +}); + +/** @internal */ +export type Ma$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const Ma$outboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: PutFirewallConfigSecurityAction$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Ma$ { + /** @deprecated use `Ma$inboundSchema` instead. */ + export const inboundSchema = Ma$inboundSchema; + /** @deprecated use `Ma$outboundSchema` instead. */ + export const outboundSchema = Ma$outboundSchema; + /** @deprecated use `Ma$Outbound` instead. */ + export type Outbound = Ma$Outbound; +} + +export function maToJSON(ma: Ma): string { + return JSON.stringify(Ma$outboundSchema.parse(ma)); +} + +export function maFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Ma$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Ma' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityRequestAction$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + PutFirewallConfigSecurityRequestAction, + ); + +/** @internal */ +export const PutFirewallConfigSecurityRequestAction$outboundSchema: + z.ZodNativeEnum = + PutFirewallConfigSecurityRequestAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityRequestAction$ { + /** @deprecated use `PutFirewallConfigSecurityRequestAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityRequestAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityRequestAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityRequestAction$outboundSchema; +} + +/** @internal */ +export const Lfi$inboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: PutFirewallConfigSecurityRequestAction$inboundSchema, + }); + +/** @internal */ +export type Lfi$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const Lfi$outboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: PutFirewallConfigSecurityRequestAction$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Lfi$ { + /** @deprecated use `Lfi$inboundSchema` instead. */ + export const inboundSchema = Lfi$inboundSchema; + /** @deprecated use `Lfi$outboundSchema` instead. */ + export const outboundSchema = Lfi$outboundSchema; + /** @deprecated use `Lfi$Outbound` instead. */ + export type Outbound = Lfi$Outbound; +} + +export function lfiToJSON(lfi: Lfi): string { + return JSON.stringify(Lfi$outboundSchema.parse(lfi)); +} + +export function lfiFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Lfi$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Lfi' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(PutFirewallConfigSecurityRequestRequestBodyAction); + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema: + z.ZodNativeEnum = + PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityRequestRequestBodyAction$ { + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema; +} + +/** @internal */ +export const Rfi$inboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema, + }); + +/** @internal */ +export type Rfi$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const Rfi$outboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Rfi$ { + /** @deprecated use `Rfi$inboundSchema` instead. */ + export const inboundSchema = Rfi$inboundSchema; + /** @deprecated use `Rfi$outboundSchema` instead. */ + export const outboundSchema = Rfi$outboundSchema; + /** @deprecated use `Rfi$Outbound` instead. */ + export type Outbound = Rfi$Outbound; +} + +export function rfiToJSON(rfi: Rfi): string { + return JSON.stringify(Rfi$outboundSchema.parse(rfi)); +} + +export function rfiFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Rfi$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Rfi' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema: + z.ZodNativeEnum = + z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsAction); + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema: + z.ZodNativeEnum = + PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityRequestRequestBodyCrsAction$ { + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema; +} + +/** @internal */ +export const Rce$inboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema, + }); + +/** @internal */ +export type Rce$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const Rce$outboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Rce$ { + /** @deprecated use `Rce$inboundSchema` instead. */ + export const inboundSchema = Rce$inboundSchema; + /** @deprecated use `Rce$outboundSchema` instead. */ + export const outboundSchema = Rce$outboundSchema; + /** @deprecated use `Rce$Outbound` instead. */ + export type Outbound = Rce$Outbound; +} + +export function rceToJSON(rce: Rce): string { + return JSON.stringify(Rce$outboundSchema.parse(rce)); +} + +export function rceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Rce$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Rce' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction + > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction); + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction + > = PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$ { + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema; +} + +/** @internal */ +export const Php$inboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema, + }); + +/** @internal */ +export type Php$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const Php$outboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Php$ { + /** @deprecated use `Php$inboundSchema` instead. */ + export const inboundSchema = Php$inboundSchema; + /** @deprecated use `Php$outboundSchema` instead. */ + export const outboundSchema = Php$outboundSchema; + /** @deprecated use `Php$Outbound` instead. */ + export type Outbound = Php$Outbound; +} + +export function phpToJSON(php: Php): string { + return JSON.stringify(Php$outboundSchema.parse(php)); +} + +export function phpFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Php$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Php' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyCrsGenAction + > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsGenAction); + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyCrsGenAction + > = PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$ { + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$outboundSchema; +} + +/** @internal */ +export const Gen$inboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema, + }); + +/** @internal */ +export type Gen$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const Gen$outboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Gen$ { + /** @deprecated use `Gen$inboundSchema` instead. */ + export const inboundSchema = Gen$inboundSchema; + /** @deprecated use `Gen$outboundSchema` instead. */ + export const outboundSchema = Gen$outboundSchema; + /** @deprecated use `Gen$Outbound` instead. */ + export type Outbound = Gen$Outbound; +} + +export function genToJSON(gen: Gen): string { + return JSON.stringify(Gen$outboundSchema.parse(gen)); +} + +export function genFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Gen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Gen' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyCrsXssAction + > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsXssAction); + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyCrsXssAction + > = PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$ { + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$outboundSchema; +} + +/** @internal */ +export const Xss$inboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema, + }); + +/** @internal */ +export type Xss$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const Xss$outboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Xss$ { + /** @deprecated use `Xss$inboundSchema` instead. */ + export const inboundSchema = Xss$inboundSchema; + /** @deprecated use `Xss$outboundSchema` instead. */ + export const outboundSchema = Xss$outboundSchema; + /** @deprecated use `Xss$Outbound` instead. */ + export type Outbound = Xss$Outbound; +} + +export function xssToJSON(xss: Xss): string { + return JSON.stringify(Xss$outboundSchema.parse(xss)); +} + +export function xssFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Xss$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Xss' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction + > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction); + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction + > = PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$ { + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$outboundSchema; +} + +/** @internal */ +export const Sqli$inboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema, + }); + +/** @internal */ +export type Sqli$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const Sqli$outboundSchema: z.ZodType = + z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Sqli$ { + /** @deprecated use `Sqli$inboundSchema` instead. */ + export const inboundSchema = Sqli$inboundSchema; + /** @deprecated use `Sqli$outboundSchema` instead. */ + export const outboundSchema = Sqli$outboundSchema; + /** @deprecated use `Sqli$Outbound` instead. */ + export type Outbound = Sqli$Outbound; +} + +export function sqliToJSON(sqli: Sqli): string { + return JSON.stringify(Sqli$outboundSchema.parse(sqli)); +} + +export function sqliFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Sqli$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Sqli' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyCrsSfAction + > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsSfAction); + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyCrsSfAction + > = PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$ { + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$outboundSchema; +} + +/** @internal */ +export const Sf$inboundSchema: z.ZodType = z.object({ + active: z.boolean(), + action: PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchema, +}); + +/** @internal */ +export type Sf$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const Sf$outboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Sf$ { + /** @deprecated use `Sf$inboundSchema` instead. */ + export const inboundSchema = Sf$inboundSchema; + /** @deprecated use `Sf$outboundSchema` instead. */ + export const outboundSchema = Sf$outboundSchema; + /** @deprecated use `Sf$Outbound` instead. */ + export type Outbound = Sf$Outbound; +} + +export function sfToJSON(sf: Sf): string { + return JSON.stringify(Sf$outboundSchema.parse(sf)); +} + +export function sfFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Sf$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Sf' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction + > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction); + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction + > = PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$ { + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$outboundSchema; +} + +/** @internal */ +export const Java$inboundSchema: z.ZodType = z + .object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema, + }); + +/** @internal */ +export type Java$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const Java$outboundSchema: z.ZodType = + z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Java$ { + /** @deprecated use `Java$inboundSchema` instead. */ + export const inboundSchema = Java$inboundSchema; + /** @deprecated use `Java$outboundSchema` instead. */ + export const outboundSchema = Java$outboundSchema; + /** @deprecated use `Java$Outbound` instead. */ + export type Outbound = Java$Outbound; +} + +export function javaToJSON(java: Java): string { + return JSON.stringify(Java$outboundSchema.parse(java)); +} + +export function javaFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Java$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Java' from JSON`, + ); +} + +/** @internal */ +export const Crs$inboundSchema: z.ZodType = z + .object({ + sd: z.lazy(() => Sd$inboundSchema).optional(), + ma: z.lazy(() => Ma$inboundSchema).optional(), + lfi: z.lazy(() => Lfi$inboundSchema).optional(), + rfi: z.lazy(() => Rfi$inboundSchema).optional(), + rce: z.lazy(() => Rce$inboundSchema).optional(), + php: z.lazy(() => Php$inboundSchema).optional(), + gen: z.lazy(() => Gen$inboundSchema).optional(), + xss: z.lazy(() => Xss$inboundSchema).optional(), + sqli: z.lazy(() => Sqli$inboundSchema).optional(), + sf: z.lazy(() => Sf$inboundSchema).optional(), + java: z.lazy(() => Java$inboundSchema).optional(), + }); + +/** @internal */ +export type Crs$Outbound = { + sd?: Sd$Outbound | undefined; + ma?: Ma$Outbound | undefined; + lfi?: Lfi$Outbound | undefined; + rfi?: Rfi$Outbound | undefined; + rce?: Rce$Outbound | undefined; + php?: Php$Outbound | undefined; + gen?: Gen$Outbound | undefined; + xss?: Xss$Outbound | undefined; + sqli?: Sqli$Outbound | undefined; + sf?: Sf$Outbound | undefined; + java?: Java$Outbound | undefined; +}; + +/** @internal */ +export const Crs$outboundSchema: z.ZodType = z + .object({ + sd: z.lazy(() => Sd$outboundSchema).optional(), + ma: z.lazy(() => Ma$outboundSchema).optional(), + lfi: z.lazy(() => Lfi$outboundSchema).optional(), + rfi: z.lazy(() => Rfi$outboundSchema).optional(), + rce: z.lazy(() => Rce$outboundSchema).optional(), + php: z.lazy(() => Php$outboundSchema).optional(), + gen: z.lazy(() => Gen$outboundSchema).optional(), + xss: z.lazy(() => Xss$outboundSchema).optional(), + sqli: z.lazy(() => Sqli$outboundSchema).optional(), + sf: z.lazy(() => Sf$outboundSchema).optional(), + java: z.lazy(() => Java$outboundSchema).optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Crs$ { + /** @deprecated use `Crs$inboundSchema` instead. */ + export const inboundSchema = Crs$inboundSchema; + /** @deprecated use `Crs$outboundSchema` instead. */ + export const outboundSchema = Crs$outboundSchema; + /** @deprecated use `Crs$Outbound` instead. */ + export type Outbound = Crs$Outbound; +} + +export function crsToJSON(crs: Crs): string { + return JSON.stringify(Crs$outboundSchema.parse(crs)); +} + +export function crsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Crs$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Crs' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigType$inboundSchema: z.ZodNativeEnum< + typeof PutFirewallConfigType +> = z.nativeEnum(PutFirewallConfigType); + +/** @internal */ +export const PutFirewallConfigType$outboundSchema: z.ZodNativeEnum< + typeof PutFirewallConfigType +> = PutFirewallConfigType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigType$ { + /** @deprecated use `PutFirewallConfigType$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigType$inboundSchema; + /** @deprecated use `PutFirewallConfigType$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigType$outboundSchema; +} + +/** @internal */ +export const Op$inboundSchema: z.ZodNativeEnum = z.nativeEnum(Op); + +/** @internal */ +export const Op$outboundSchema: z.ZodNativeEnum = Op$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Op$ { + /** @deprecated use `Op$inboundSchema` instead. */ + export const inboundSchema = Op$inboundSchema; + /** @deprecated use `Op$outboundSchema` instead. */ + export const outboundSchema = Op$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigValue$inboundSchema: z.ZodType< + PutFirewallConfigValue, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.array(z.string()), z.number()]); + +/** @internal */ +export type PutFirewallConfigValue$Outbound = string | Array | number; + +/** @internal */ +export const PutFirewallConfigValue$outboundSchema: z.ZodType< + PutFirewallConfigValue$Outbound, + z.ZodTypeDef, + PutFirewallConfigValue +> = z.union([z.string(), z.array(z.string()), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigValue$ { + /** @deprecated use `PutFirewallConfigValue$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigValue$inboundSchema; + /** @deprecated use `PutFirewallConfigValue$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigValue$outboundSchema; + /** @deprecated use `PutFirewallConfigValue$Outbound` instead. */ + export type Outbound = PutFirewallConfigValue$Outbound; +} + +export function putFirewallConfigValueToJSON( + putFirewallConfigValue: PutFirewallConfigValue, +): string { + return JSON.stringify( + PutFirewallConfigValue$outboundSchema.parse(putFirewallConfigValue), + ); +} + +export function putFirewallConfigValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigValue' from JSON`, + ); +} + +/** @internal */ +export const Conditions$inboundSchema: z.ZodType< + Conditions, + z.ZodTypeDef, + unknown +> = z.object({ + type: PutFirewallConfigType$inboundSchema, + op: Op$inboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: z.union([z.string(), z.array(z.string()), z.number()]).optional(), +}); + +/** @internal */ +export type Conditions$Outbound = { + type: string; + op: string; + neg?: boolean | undefined; + key?: string | undefined; + value?: string | Array | number | undefined; +}; + +/** @internal */ +export const Conditions$outboundSchema: z.ZodType< + Conditions$Outbound, + z.ZodTypeDef, + Conditions +> = z.object({ + type: PutFirewallConfigType$outboundSchema, + op: Op$outboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: z.union([z.string(), z.array(z.string()), z.number()]).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Conditions$ { + /** @deprecated use `Conditions$inboundSchema` instead. */ + export const inboundSchema = Conditions$inboundSchema; + /** @deprecated use `Conditions$outboundSchema` instead. */ + export const outboundSchema = Conditions$outboundSchema; + /** @deprecated use `Conditions$Outbound` instead. */ + export type Outbound = Conditions$Outbound; +} + +export function conditionsToJSON(conditions: Conditions): string { + return JSON.stringify(Conditions$outboundSchema.parse(conditions)); +} + +export function conditionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Conditions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Conditions' from JSON`, + ); +} + +/** @internal */ +export const ConditionGroup$inboundSchema: z.ZodType< + ConditionGroup, + z.ZodTypeDef, + unknown +> = z.object({ + conditions: z.array(z.lazy(() => Conditions$inboundSchema)), +}); + +/** @internal */ +export type ConditionGroup$Outbound = { + conditions: Array; +}; + +/** @internal */ +export const ConditionGroup$outboundSchema: z.ZodType< + ConditionGroup$Outbound, + z.ZodTypeDef, + ConditionGroup +> = z.object({ + conditions: z.array(z.lazy(() => Conditions$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ConditionGroup$ { + /** @deprecated use `ConditionGroup$inboundSchema` instead. */ + export const inboundSchema = ConditionGroup$inboundSchema; + /** @deprecated use `ConditionGroup$outboundSchema` instead. */ + export const outboundSchema = ConditionGroup$outboundSchema; + /** @deprecated use `ConditionGroup$Outbound` instead. */ + export type Outbound = ConditionGroup$Outbound; +} + +export function conditionGroupToJSON(conditionGroup: ConditionGroup): string { + return JSON.stringify(ConditionGroup$outboundSchema.parse(conditionGroup)); +} + +export function conditionGroupFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ConditionGroup$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ConditionGroup' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyRulesActionAction + > = z.nativeEnum( + PutFirewallConfigSecurityRequestRequestBodyRulesActionAction, + ); + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyRulesActionAction + > = + PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$ { + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outboundSchema; +} + +/** @internal */ +export const Algo$inboundSchema: z.ZodNativeEnum = z.nativeEnum( + Algo, +); + +/** @internal */ +export const Algo$outboundSchema: z.ZodNativeEnum = + Algo$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Algo$ { + /** @deprecated use `Algo$inboundSchema` instead. */ + export const inboundSchema = Algo$inboundSchema; + /** @deprecated use `Algo$outboundSchema` instead. */ + export const outboundSchema = Algo$outboundSchema; +} + +/** @internal */ +export const Action1$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Action1); + +/** @internal */ +export const Action1$outboundSchema: z.ZodNativeEnum = + Action1$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Action1$ { + /** @deprecated use `Action1$inboundSchema` instead. */ + export const inboundSchema = Action1$inboundSchema; + /** @deprecated use `Action1$outboundSchema` instead. */ + export const outboundSchema = Action1$outboundSchema; +} + +/** @internal */ +export const RateLimitAction$inboundSchema: z.ZodType< + RateLimitAction, + z.ZodTypeDef, + unknown +> = z.union([Action1$inboundSchema, z.any()]); + +/** @internal */ +export type RateLimitAction$Outbound = string | any; + +/** @internal */ +export const RateLimitAction$outboundSchema: z.ZodType< + RateLimitAction$Outbound, + z.ZodTypeDef, + RateLimitAction +> = z.union([Action1$outboundSchema, z.any()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RateLimitAction$ { + /** @deprecated use `RateLimitAction$inboundSchema` instead. */ + export const inboundSchema = RateLimitAction$inboundSchema; + /** @deprecated use `RateLimitAction$outboundSchema` instead. */ + export const outboundSchema = RateLimitAction$outboundSchema; + /** @deprecated use `RateLimitAction$Outbound` instead. */ + export type Outbound = RateLimitAction$Outbound; +} + +export function rateLimitActionToJSON( + rateLimitAction: RateLimitAction, +): string { + return JSON.stringify(RateLimitAction$outboundSchema.parse(rateLimitAction)); +} + +export function rateLimitActionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RateLimitAction$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RateLimitAction' from JSON`, + ); +} + +/** @internal */ +export const RateLimit1$inboundSchema: z.ZodType< + RateLimit1, + z.ZodTypeDef, + unknown +> = z.object({ + algo: Algo$inboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), + action: z.nullable(z.union([Action1$inboundSchema, z.any()])).optional(), +}); + +/** @internal */ +export type RateLimit1$Outbound = { + algo: string; + window: number; + limit: number; + keys: Array; + action?: string | any | null | undefined; +}; + +/** @internal */ +export const RateLimit1$outboundSchema: z.ZodType< + RateLimit1$Outbound, + z.ZodTypeDef, + RateLimit1 +> = z.object({ + algo: Algo$outboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), + action: z.nullable(z.union([Action1$outboundSchema, z.any()])).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RateLimit1$ { + /** @deprecated use `RateLimit1$inboundSchema` instead. */ + export const inboundSchema = RateLimit1$inboundSchema; + /** @deprecated use `RateLimit1$outboundSchema` instead. */ + export const outboundSchema = RateLimit1$outboundSchema; + /** @deprecated use `RateLimit1$Outbound` instead. */ + export type Outbound = RateLimit1$Outbound; +} + +export function rateLimit1ToJSON(rateLimit1: RateLimit1): string { + return JSON.stringify(RateLimit1$outboundSchema.parse(rateLimit1)); +} + +export function rateLimit1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RateLimit1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RateLimit1' from JSON`, + ); +} + +/** @internal */ +export const RateLimit$inboundSchema: z.ZodType< + RateLimit, + z.ZodTypeDef, + unknown +> = z.union([z.lazy(() => RateLimit1$inboundSchema), z.any()]); + +/** @internal */ +export type RateLimit$Outbound = RateLimit1$Outbound | any; + +/** @internal */ +export const RateLimit$outboundSchema: z.ZodType< + RateLimit$Outbound, + z.ZodTypeDef, + RateLimit +> = z.union([z.lazy(() => RateLimit1$outboundSchema), z.any()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RateLimit$ { + /** @deprecated use `RateLimit$inboundSchema` instead. */ + export const inboundSchema = RateLimit$inboundSchema; + /** @deprecated use `RateLimit$outboundSchema` instead. */ + export const outboundSchema = RateLimit$outboundSchema; + /** @deprecated use `RateLimit$Outbound` instead. */ + export type Outbound = RateLimit$Outbound; +} + +export function rateLimitToJSON(rateLimit: RateLimit): string { + return JSON.stringify(RateLimit$outboundSchema.parse(rateLimit)); +} + +export function rateLimitFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RateLimit$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RateLimit' from JSON`, + ); +} + +/** @internal */ +export const Redirect1$inboundSchema: z.ZodType< + Redirect1, + z.ZodTypeDef, + unknown +> = z.object({ + location: z.string(), + permanent: z.boolean(), +}); + +/** @internal */ +export type Redirect1$Outbound = { + location: string; + permanent: boolean; +}; + +/** @internal */ +export const Redirect1$outboundSchema: z.ZodType< + Redirect1$Outbound, + z.ZodTypeDef, + Redirect1 +> = z.object({ + location: z.string(), + permanent: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Redirect1$ { + /** @deprecated use `Redirect1$inboundSchema` instead. */ + export const inboundSchema = Redirect1$inboundSchema; + /** @deprecated use `Redirect1$outboundSchema` instead. */ + export const outboundSchema = Redirect1$outboundSchema; + /** @deprecated use `Redirect1$Outbound` instead. */ + export type Outbound = Redirect1$Outbound; +} + +export function redirect1ToJSON(redirect1: Redirect1): string { + return JSON.stringify(Redirect1$outboundSchema.parse(redirect1)); +} + +export function redirect1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Redirect1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Redirect1' from JSON`, + ); +} + +/** @internal */ +export const Redirect$inboundSchema: z.ZodType< + Redirect, + z.ZodTypeDef, + unknown +> = z.union([z.lazy(() => Redirect1$inboundSchema), z.any()]); + +/** @internal */ +export type Redirect$Outbound = Redirect1$Outbound | any; + +/** @internal */ +export const Redirect$outboundSchema: z.ZodType< + Redirect$Outbound, + z.ZodTypeDef, + Redirect +> = z.union([z.lazy(() => Redirect1$outboundSchema), z.any()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Redirect$ { + /** @deprecated use `Redirect$inboundSchema` instead. */ + export const inboundSchema = Redirect$inboundSchema; + /** @deprecated use `Redirect$outboundSchema` instead. */ + export const outboundSchema = Redirect$outboundSchema; + /** @deprecated use `Redirect$Outbound` instead. */ + export type Outbound = Redirect$Outbound; +} + +export function redirectToJSON(redirect: Redirect): string { + return JSON.stringify(Redirect$outboundSchema.parse(redirect)); +} + +export function redirectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Redirect$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Redirect' from JSON`, + ); +} + +/** @internal */ +export const Mitigate$inboundSchema: z.ZodType< + Mitigate, + z.ZodTypeDef, + unknown +> = z.object({ + action: + PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboundSchema, + rateLimit: z.nullable( + z.union([z.lazy(() => RateLimit1$inboundSchema), z.any()]), + ).optional(), + redirect: z.nullable( + z.union([z.lazy(() => Redirect1$inboundSchema), z.any()]), + ).optional(), + actionDuration: z.nullable(z.string()).optional(), +}); + +/** @internal */ +export type Mitigate$Outbound = { + action: string; + rateLimit?: RateLimit1$Outbound | any | null | undefined; + redirect?: Redirect1$Outbound | any | null | undefined; + actionDuration?: string | null | undefined; +}; + +/** @internal */ +export const Mitigate$outboundSchema: z.ZodType< + Mitigate$Outbound, + z.ZodTypeDef, + Mitigate +> = z.object({ + action: + PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outboundSchema, + rateLimit: z.nullable( + z.union([z.lazy(() => RateLimit1$outboundSchema), z.any()]), + ).optional(), + redirect: z.nullable( + z.union([z.lazy(() => Redirect1$outboundSchema), z.any()]), + ).optional(), + actionDuration: z.nullable(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Mitigate$ { + /** @deprecated use `Mitigate$inboundSchema` instead. */ + export const inboundSchema = Mitigate$inboundSchema; + /** @deprecated use `Mitigate$outboundSchema` instead. */ + export const outboundSchema = Mitigate$outboundSchema; + /** @deprecated use `Mitigate$Outbound` instead. */ + export type Outbound = Mitigate$Outbound; +} + +export function mitigateToJSON(mitigate: Mitigate): string { + return JSON.stringify(Mitigate$outboundSchema.parse(mitigate)); +} + +export function mitigateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Mitigate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Mitigate' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema: + z.ZodType< + PutFirewallConfigSecurityRequestRequestBodyRulesAction, + z.ZodTypeDef, + unknown + > = z.object({ + mitigate: z.lazy(() => Mitigate$inboundSchema).optional(), + }); + +/** @internal */ +export type PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound = { + mitigate?: Mitigate$Outbound | undefined; +}; + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema: + z.ZodType< + PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound, + z.ZodTypeDef, + PutFirewallConfigSecurityRequestRequestBodyRulesAction + > = z.object({ + mitigate: z.lazy(() => Mitigate$outboundSchema).optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityRequestRequestBodyRulesAction$ { + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema; + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound` instead. */ + export type Outbound = + PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound; +} + +export function putFirewallConfigSecurityRequestRequestBodyRulesActionToJSON( + putFirewallConfigSecurityRequestRequestBodyRulesAction: + PutFirewallConfigSecurityRequestRequestBodyRulesAction, +): string { + return JSON.stringify( + PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema.parse( + putFirewallConfigSecurityRequestRequestBodyRulesAction, + ), + ); +} + +export function putFirewallConfigSecurityRequestRequestBodyRulesActionFromJSON( + jsonString: string, +): SafeParseResult< + PutFirewallConfigSecurityRequestRequestBodyRulesAction, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema + .parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigSecurityRequestRequestBodyRulesAction' from JSON`, + ); +} + +/** @internal */ +export const Rules$inboundSchema: z.ZodType = z + .object({ + id: z.string().optional(), + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array(z.lazy(() => ConditionGroup$inboundSchema)), + action: z.lazy(() => + PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema + ), + }); + +/** @internal */ +export type Rules$Outbound = { + id?: string | undefined; + name: string; + description?: string | undefined; + active: boolean; + conditionGroup: Array; + action: PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound; +}; + +/** @internal */ +export const Rules$outboundSchema: z.ZodType< + Rules$Outbound, + z.ZodTypeDef, + Rules +> = z.object({ + id: z.string().optional(), + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array(z.lazy(() => ConditionGroup$outboundSchema)), + action: z.lazy(() => + PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema + ), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Rules$ { + /** @deprecated use `Rules$inboundSchema` instead. */ + export const inboundSchema = Rules$inboundSchema; + /** @deprecated use `Rules$outboundSchema` instead. */ + export const outboundSchema = Rules$outboundSchema; + /** @deprecated use `Rules$Outbound` instead. */ + export type Outbound = Rules$Outbound; +} + +export function rulesToJSON(rules: Rules): string { + return JSON.stringify(Rules$outboundSchema.parse(rules)); +} + +export function rulesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Rules$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Rules' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema: + z.ZodNativeEnum = + z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyIpsAction); + +/** @internal */ +export const PutFirewallConfigSecurityRequestRequestBodyIpsAction$outboundSchema: + z.ZodNativeEnum = + PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityRequestRequestBodyIpsAction$ { + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyIpsAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityRequestRequestBodyIpsAction$outboundSchema; +} + +/** @internal */ +export const Ips$inboundSchema: z.ZodType = z + .object({ + id: z.string().optional(), + hostname: z.string(), + ip: z.string(), + notes: z.string().optional(), + action: PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema, + }); + +/** @internal */ +export type Ips$Outbound = { + id?: string | undefined; + hostname: string; + ip: string; + notes?: string | undefined; + action: string; +}; + +/** @internal */ +export const Ips$outboundSchema: z.ZodType = z + .object({ + id: z.string().optional(), + hostname: z.string(), + ip: z.string(), + notes: z.string().optional(), + action: PutFirewallConfigSecurityRequestRequestBodyIpsAction$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Ips$ { + /** @deprecated use `Ips$inboundSchema` instead. */ + export const inboundSchema = Ips$inboundSchema; + /** @deprecated use `Ips$outboundSchema` instead. */ + export const outboundSchema = Ips$outboundSchema; + /** @deprecated use `Ips$Outbound` instead. */ + export type Outbound = Ips$Outbound; +} + +export function ipsToJSON(ips: Ips): string { + return JSON.stringify(Ips$outboundSchema.parse(ips)); +} + +export function ipsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Ips$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Ips' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigRequestBody$inboundSchema: z.ZodType< + PutFirewallConfigRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + firewallEnabled: z.boolean(), + managedRules: z.lazy(() => ManagedRules$inboundSchema).optional(), + crs: z.lazy(() => Crs$inboundSchema).optional(), + rules: z.array(z.lazy(() => Rules$inboundSchema)).optional(), + ips: z.array(z.lazy(() => Ips$inboundSchema)).optional(), +}); + +/** @internal */ +export type PutFirewallConfigRequestBody$Outbound = { + firewallEnabled: boolean; + managedRules?: ManagedRules$Outbound | undefined; + crs?: Crs$Outbound | undefined; + rules?: Array | undefined; + ips?: Array | undefined; +}; + +/** @internal */ +export const PutFirewallConfigRequestBody$outboundSchema: z.ZodType< + PutFirewallConfigRequestBody$Outbound, + z.ZodTypeDef, + PutFirewallConfigRequestBody +> = z.object({ + firewallEnabled: z.boolean(), + managedRules: z.lazy(() => ManagedRules$outboundSchema).optional(), + crs: z.lazy(() => Crs$outboundSchema).optional(), + rules: z.array(z.lazy(() => Rules$outboundSchema)).optional(), + ips: z.array(z.lazy(() => Ips$outboundSchema)).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigRequestBody$ { + /** @deprecated use `PutFirewallConfigRequestBody$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigRequestBody$inboundSchema; + /** @deprecated use `PutFirewallConfigRequestBody$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigRequestBody$outboundSchema; + /** @deprecated use `PutFirewallConfigRequestBody$Outbound` instead. */ + export type Outbound = PutFirewallConfigRequestBody$Outbound; +} + +export function putFirewallConfigRequestBodyToJSON( + putFirewallConfigRequestBody: PutFirewallConfigRequestBody, +): string { + return JSON.stringify( + PutFirewallConfigRequestBody$outboundSchema.parse( + putFirewallConfigRequestBody, + ), + ); +} + +export function putFirewallConfigRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigRequestBody' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigRequest$inboundSchema: z.ZodType< + PutFirewallConfigRequest, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => PutFirewallConfigRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type PutFirewallConfigRequest$Outbound = { + projectId: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: PutFirewallConfigRequestBody$Outbound; +}; + +/** @internal */ +export const PutFirewallConfigRequest$outboundSchema: z.ZodType< + PutFirewallConfigRequest$Outbound, + z.ZodTypeDef, + PutFirewallConfigRequest +> = z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => PutFirewallConfigRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigRequest$ { + /** @deprecated use `PutFirewallConfigRequest$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigRequest$inboundSchema; + /** @deprecated use `PutFirewallConfigRequest$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigRequest$outboundSchema; + /** @deprecated use `PutFirewallConfigRequest$Outbound` instead. */ + export type Outbound = PutFirewallConfigRequest$Outbound; +} + +export function putFirewallConfigRequestToJSON( + putFirewallConfigRequest: PutFirewallConfigRequest, +): string { + return JSON.stringify( + PutFirewallConfigRequest$outboundSchema.parse(putFirewallConfigRequest), + ); +} + +export function putFirewallConfigRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigRequest' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction + > = z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction, + ); + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction + > = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$ { + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigSd$inboundSchema: z.ZodType< + PutFirewallConfigSd, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema, +}); + +/** @internal */ +export type PutFirewallConfigSd$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const PutFirewallConfigSd$outboundSchema: z.ZodType< + PutFirewallConfigSd$Outbound, + z.ZodTypeDef, + PutFirewallConfigSd +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSd$ { + /** @deprecated use `PutFirewallConfigSd$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigSd$inboundSchema; + /** @deprecated use `PutFirewallConfigSd$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigSd$outboundSchema; + /** @deprecated use `PutFirewallConfigSd$Outbound` instead. */ + export type Outbound = PutFirewallConfigSd$Outbound; +} + +export function putFirewallConfigSdToJSON( + putFirewallConfigSd: PutFirewallConfigSd, +): string { + return JSON.stringify( + PutFirewallConfigSd$outboundSchema.parse(putFirewallConfigSd), + ); +} + +export function putFirewallConfigSdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigSd$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigSd' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction + > = z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction, + ); + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction + > = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$ { + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigMa$inboundSchema: z.ZodType< + PutFirewallConfigMa, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema, +}); + +/** @internal */ +export type PutFirewallConfigMa$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const PutFirewallConfigMa$outboundSchema: z.ZodType< + PutFirewallConfigMa$Outbound, + z.ZodTypeDef, + PutFirewallConfigMa +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigMa$ { + /** @deprecated use `PutFirewallConfigMa$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigMa$inboundSchema; + /** @deprecated use `PutFirewallConfigMa$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigMa$outboundSchema; + /** @deprecated use `PutFirewallConfigMa$Outbound` instead. */ + export type Outbound = PutFirewallConfigMa$Outbound; +} + +export function putFirewallConfigMaToJSON( + putFirewallConfigMa: PutFirewallConfigMa, +): string { + return JSON.stringify( + PutFirewallConfigMa$outboundSchema.parse(putFirewallConfigMa), + ); +} + +export function putFirewallConfigMaFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigMa$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigMa' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONAction + > = z.nativeEnum(PutFirewallConfigSecurityResponse200ApplicationJSONAction); + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONAction + > = PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityResponse200ApplicationJSONAction$ { + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigLfi$inboundSchema: z.ZodType< + PutFirewallConfigLfi, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema, +}); + +/** @internal */ +export type PutFirewallConfigLfi$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const PutFirewallConfigLfi$outboundSchema: z.ZodType< + PutFirewallConfigLfi$Outbound, + z.ZodTypeDef, + PutFirewallConfigLfi +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigLfi$ { + /** @deprecated use `PutFirewallConfigLfi$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigLfi$inboundSchema; + /** @deprecated use `PutFirewallConfigLfi$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigLfi$outboundSchema; + /** @deprecated use `PutFirewallConfigLfi$Outbound` instead. */ + export type Outbound = PutFirewallConfigLfi$Outbound; +} + +export function putFirewallConfigLfiToJSON( + putFirewallConfigLfi: PutFirewallConfigLfi, +): string { + return JSON.stringify( + PutFirewallConfigLfi$outboundSchema.parse(putFirewallConfigLfi), + ); +} + +export function putFirewallConfigLfiFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigLfi$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigLfi' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction + > = z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction, + ); + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction + > = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$ { + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigRfi$inboundSchema: z.ZodType< + PutFirewallConfigRfi, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, +}); + +/** @internal */ +export type PutFirewallConfigRfi$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const PutFirewallConfigRfi$outboundSchema: z.ZodType< + PutFirewallConfigRfi$Outbound, + z.ZodTypeDef, + PutFirewallConfigRfi +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigRfi$ { + /** @deprecated use `PutFirewallConfigRfi$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigRfi$inboundSchema; + /** @deprecated use `PutFirewallConfigRfi$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigRfi$outboundSchema; + /** @deprecated use `PutFirewallConfigRfi$Outbound` instead. */ + export type Outbound = PutFirewallConfigRfi$Outbound; +} + +export function putFirewallConfigRfiToJSON( + putFirewallConfigRfi: PutFirewallConfigRfi, +): string { + return JSON.stringify( + PutFirewallConfigRfi$outboundSchema.parse(putFirewallConfigRfi), + ); +} + +export function putFirewallConfigRfiFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigRfi$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigRfi' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction + > = z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction, + ); + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction + > = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$ { + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigRce$inboundSchema: z.ZodType< + PutFirewallConfigRce, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema, +}); + +/** @internal */ +export type PutFirewallConfigRce$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const PutFirewallConfigRce$outboundSchema: z.ZodType< + PutFirewallConfigRce$Outbound, + z.ZodTypeDef, + PutFirewallConfigRce +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigRce$ { + /** @deprecated use `PutFirewallConfigRce$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigRce$inboundSchema; + /** @deprecated use `PutFirewallConfigRce$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigRce$outboundSchema; + /** @deprecated use `PutFirewallConfigRce$Outbound` instead. */ + export type Outbound = PutFirewallConfigRce$Outbound; +} + +export function putFirewallConfigRceToJSON( + putFirewallConfigRce: PutFirewallConfigRce, +): string { + return JSON.stringify( + PutFirewallConfigRce$outboundSchema.parse(putFirewallConfigRce), + ); +} + +export function putFirewallConfigRceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigRce$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigRce' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction + > = z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction, + ); + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction + > = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$ { + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigPhp$inboundSchema: z.ZodType< + PutFirewallConfigPhp, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema, +}); + +/** @internal */ +export type PutFirewallConfigPhp$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const PutFirewallConfigPhp$outboundSchema: z.ZodType< + PutFirewallConfigPhp$Outbound, + z.ZodTypeDef, + PutFirewallConfigPhp +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigPhp$ { + /** @deprecated use `PutFirewallConfigPhp$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigPhp$inboundSchema; + /** @deprecated use `PutFirewallConfigPhp$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigPhp$outboundSchema; + /** @deprecated use `PutFirewallConfigPhp$Outbound` instead. */ + export type Outbound = PutFirewallConfigPhp$Outbound; +} + +export function putFirewallConfigPhpToJSON( + putFirewallConfigPhp: PutFirewallConfigPhp, +): string { + return JSON.stringify( + PutFirewallConfigPhp$outboundSchema.parse(putFirewallConfigPhp), + ); +} + +export function putFirewallConfigPhpFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigPhp$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigPhp' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction + > = z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction, + ); + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction + > = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$ { + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigGen$inboundSchema: z.ZodType< + PutFirewallConfigGen, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema, +}); + +/** @internal */ +export type PutFirewallConfigGen$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const PutFirewallConfigGen$outboundSchema: z.ZodType< + PutFirewallConfigGen$Outbound, + z.ZodTypeDef, + PutFirewallConfigGen +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigGen$ { + /** @deprecated use `PutFirewallConfigGen$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigGen$inboundSchema; + /** @deprecated use `PutFirewallConfigGen$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigGen$outboundSchema; + /** @deprecated use `PutFirewallConfigGen$Outbound` instead. */ + export type Outbound = PutFirewallConfigGen$Outbound; +} + +export function putFirewallConfigGenToJSON( + putFirewallConfigGen: PutFirewallConfigGen, +): string { + return JSON.stringify( + PutFirewallConfigGen$outboundSchema.parse(putFirewallConfigGen), + ); +} + +export function putFirewallConfigGenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigGen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigGen' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction + > = z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction, + ); + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction + > = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$ { + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigXss$inboundSchema: z.ZodType< + PutFirewallConfigXss, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema, +}); + +/** @internal */ +export type PutFirewallConfigXss$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const PutFirewallConfigXss$outboundSchema: z.ZodType< + PutFirewallConfigXss$Outbound, + z.ZodTypeDef, + PutFirewallConfigXss +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigXss$ { + /** @deprecated use `PutFirewallConfigXss$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigXss$inboundSchema; + /** @deprecated use `PutFirewallConfigXss$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigXss$outboundSchema; + /** @deprecated use `PutFirewallConfigXss$Outbound` instead. */ + export type Outbound = PutFirewallConfigXss$Outbound; +} + +export function putFirewallConfigXssToJSON( + putFirewallConfigXss: PutFirewallConfigXss, +): string { + return JSON.stringify( + PutFirewallConfigXss$outboundSchema.parse(putFirewallConfigXss), + ); +} + +export function putFirewallConfigXssFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigXss$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigXss' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction + > = z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction, + ); + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction + > = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$ { + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigSqli$inboundSchema: z.ZodType< + PutFirewallConfigSqli, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema, +}); + +/** @internal */ +export type PutFirewallConfigSqli$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const PutFirewallConfigSqli$outboundSchema: z.ZodType< + PutFirewallConfigSqli$Outbound, + z.ZodTypeDef, + PutFirewallConfigSqli +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSqli$ { + /** @deprecated use `PutFirewallConfigSqli$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigSqli$inboundSchema; + /** @deprecated use `PutFirewallConfigSqli$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigSqli$outboundSchema; + /** @deprecated use `PutFirewallConfigSqli$Outbound` instead. */ + export type Outbound = PutFirewallConfigSqli$Outbound; +} + +export function putFirewallConfigSqliToJSON( + putFirewallConfigSqli: PutFirewallConfigSqli, +): string { + return JSON.stringify( + PutFirewallConfigSqli$outboundSchema.parse(putFirewallConfigSqli), + ); +} + +export function putFirewallConfigSqliFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigSqli$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigSqli' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction + > = z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction, + ); + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction + > = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$ { + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigSf$inboundSchema: z.ZodType< + PutFirewallConfigSf, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema, +}); + +/** @internal */ +export type PutFirewallConfigSf$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const PutFirewallConfigSf$outboundSchema: z.ZodType< + PutFirewallConfigSf$Outbound, + z.ZodTypeDef, + PutFirewallConfigSf +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSf$ { + /** @deprecated use `PutFirewallConfigSf$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigSf$inboundSchema; + /** @deprecated use `PutFirewallConfigSf$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigSf$outboundSchema; + /** @deprecated use `PutFirewallConfigSf$Outbound` instead. */ + export type Outbound = PutFirewallConfigSf$Outbound; +} + +export function putFirewallConfigSfToJSON( + putFirewallConfigSf: PutFirewallConfigSf, +): string { + return JSON.stringify( + PutFirewallConfigSf$outboundSchema.parse(putFirewallConfigSf), + ); +} + +export function putFirewallConfigSfFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigSf$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigSf' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction + > = z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction, + ); + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction + > = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$ { + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigJava$inboundSchema: z.ZodType< + PutFirewallConfigJava, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema, +}); + +/** @internal */ +export type PutFirewallConfigJava$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const PutFirewallConfigJava$outboundSchema: z.ZodType< + PutFirewallConfigJava$Outbound, + z.ZodTypeDef, + PutFirewallConfigJava +> = z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigJava$ { + /** @deprecated use `PutFirewallConfigJava$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigJava$inboundSchema; + /** @deprecated use `PutFirewallConfigJava$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigJava$outboundSchema; + /** @deprecated use `PutFirewallConfigJava$Outbound` instead. */ + export type Outbound = PutFirewallConfigJava$Outbound; +} + +export function putFirewallConfigJavaToJSON( + putFirewallConfigJava: PutFirewallConfigJava, +): string { + return JSON.stringify( + PutFirewallConfigJava$outboundSchema.parse(putFirewallConfigJava), + ); +} + +export function putFirewallConfigJavaFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigJava$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigJava' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigCrs$inboundSchema: z.ZodType< + PutFirewallConfigCrs, + z.ZodTypeDef, + unknown +> = z.object({ + sd: z.lazy(() => PutFirewallConfigSd$inboundSchema), + ma: z.lazy(() => PutFirewallConfigMa$inboundSchema), + lfi: z.lazy(() => PutFirewallConfigLfi$inboundSchema), + rfi: z.lazy(() => PutFirewallConfigRfi$inboundSchema), + rce: z.lazy(() => PutFirewallConfigRce$inboundSchema), + php: z.lazy(() => PutFirewallConfigPhp$inboundSchema), + gen: z.lazy(() => PutFirewallConfigGen$inboundSchema), + xss: z.lazy(() => PutFirewallConfigXss$inboundSchema), + sqli: z.lazy(() => PutFirewallConfigSqli$inboundSchema), + sf: z.lazy(() => PutFirewallConfigSf$inboundSchema), + java: z.lazy(() => PutFirewallConfigJava$inboundSchema), +}); + +/** @internal */ +export type PutFirewallConfigCrs$Outbound = { + sd: PutFirewallConfigSd$Outbound; + ma: PutFirewallConfigMa$Outbound; + lfi: PutFirewallConfigLfi$Outbound; + rfi: PutFirewallConfigRfi$Outbound; + rce: PutFirewallConfigRce$Outbound; + php: PutFirewallConfigPhp$Outbound; + gen: PutFirewallConfigGen$Outbound; + xss: PutFirewallConfigXss$Outbound; + sqli: PutFirewallConfigSqli$Outbound; + sf: PutFirewallConfigSf$Outbound; + java: PutFirewallConfigJava$Outbound; +}; + +/** @internal */ +export const PutFirewallConfigCrs$outboundSchema: z.ZodType< + PutFirewallConfigCrs$Outbound, + z.ZodTypeDef, + PutFirewallConfigCrs +> = z.object({ + sd: z.lazy(() => PutFirewallConfigSd$outboundSchema), + ma: z.lazy(() => PutFirewallConfigMa$outboundSchema), + lfi: z.lazy(() => PutFirewallConfigLfi$outboundSchema), + rfi: z.lazy(() => PutFirewallConfigRfi$outboundSchema), + rce: z.lazy(() => PutFirewallConfigRce$outboundSchema), + php: z.lazy(() => PutFirewallConfigPhp$outboundSchema), + gen: z.lazy(() => PutFirewallConfigGen$outboundSchema), + xss: z.lazy(() => PutFirewallConfigXss$outboundSchema), + sqli: z.lazy(() => PutFirewallConfigSqli$outboundSchema), + sf: z.lazy(() => PutFirewallConfigSf$outboundSchema), + java: z.lazy(() => PutFirewallConfigJava$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigCrs$ { + /** @deprecated use `PutFirewallConfigCrs$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigCrs$inboundSchema; + /** @deprecated use `PutFirewallConfigCrs$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigCrs$outboundSchema; + /** @deprecated use `PutFirewallConfigCrs$Outbound` instead. */ + export type Outbound = PutFirewallConfigCrs$Outbound; +} + +export function putFirewallConfigCrsToJSON( + putFirewallConfigCrs: PutFirewallConfigCrs, +): string { + return JSON.stringify( + PutFirewallConfigCrs$outboundSchema.parse(putFirewallConfigCrs), + ); +} + +export function putFirewallConfigCrsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigCrs$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigCrs' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityType$inboundSchema: z.ZodNativeEnum< + typeof PutFirewallConfigSecurityType +> = z.nativeEnum(PutFirewallConfigSecurityType); + +/** @internal */ +export const PutFirewallConfigSecurityType$outboundSchema: z.ZodNativeEnum< + typeof PutFirewallConfigSecurityType +> = PutFirewallConfigSecurityType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityType$ { + /** @deprecated use `PutFirewallConfigSecurityType$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigSecurityType$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityType$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigSecurityType$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigOp$inboundSchema: z.ZodNativeEnum< + typeof PutFirewallConfigOp +> = z.nativeEnum(PutFirewallConfigOp); + +/** @internal */ +export const PutFirewallConfigOp$outboundSchema: z.ZodNativeEnum< + typeof PutFirewallConfigOp +> = PutFirewallConfigOp$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigOp$ { + /** @deprecated use `PutFirewallConfigOp$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigOp$inboundSchema; + /** @deprecated use `PutFirewallConfigOp$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigOp$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigSecurityValue$inboundSchema: z.ZodType< + PutFirewallConfigSecurityValue, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number(), z.array(z.string())]); + +/** @internal */ +export type PutFirewallConfigSecurityValue$Outbound = + | string + | number + | Array; + +/** @internal */ +export const PutFirewallConfigSecurityValue$outboundSchema: z.ZodType< + PutFirewallConfigSecurityValue$Outbound, + z.ZodTypeDef, + PutFirewallConfigSecurityValue +> = z.union([z.string(), z.number(), z.array(z.string())]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityValue$ { + /** @deprecated use `PutFirewallConfigSecurityValue$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigSecurityValue$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityValue$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigSecurityValue$outboundSchema; + /** @deprecated use `PutFirewallConfigSecurityValue$Outbound` instead. */ + export type Outbound = PutFirewallConfigSecurityValue$Outbound; +} + +export function putFirewallConfigSecurityValueToJSON( + putFirewallConfigSecurityValue: PutFirewallConfigSecurityValue, +): string { + return JSON.stringify( + PutFirewallConfigSecurityValue$outboundSchema.parse( + putFirewallConfigSecurityValue, + ), + ); +} + +export function putFirewallConfigSecurityValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigSecurityValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigSecurityValue' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigConditions$inboundSchema: z.ZodType< + PutFirewallConfigConditions, + z.ZodTypeDef, + unknown +> = z.object({ + type: PutFirewallConfigSecurityType$inboundSchema, + op: PutFirewallConfigOp$inboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: z.union([z.string(), z.number(), z.array(z.string())]).optional(), +}); + +/** @internal */ +export type PutFirewallConfigConditions$Outbound = { + type: string; + op: string; + neg?: boolean | undefined; + key?: string | undefined; + value?: string | number | Array | undefined; +}; + +/** @internal */ +export const PutFirewallConfigConditions$outboundSchema: z.ZodType< + PutFirewallConfigConditions$Outbound, + z.ZodTypeDef, + PutFirewallConfigConditions +> = z.object({ + type: PutFirewallConfigSecurityType$outboundSchema, + op: PutFirewallConfigOp$outboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: z.union([z.string(), z.number(), z.array(z.string())]).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigConditions$ { + /** @deprecated use `PutFirewallConfigConditions$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigConditions$inboundSchema; + /** @deprecated use `PutFirewallConfigConditions$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigConditions$outboundSchema; + /** @deprecated use `PutFirewallConfigConditions$Outbound` instead. */ + export type Outbound = PutFirewallConfigConditions$Outbound; +} + +export function putFirewallConfigConditionsToJSON( + putFirewallConfigConditions: PutFirewallConfigConditions, +): string { + return JSON.stringify( + PutFirewallConfigConditions$outboundSchema.parse( + putFirewallConfigConditions, + ), + ); +} + +export function putFirewallConfigConditionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigConditions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigConditions' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigConditionGroup$inboundSchema: z.ZodType< + PutFirewallConfigConditionGroup, + z.ZodTypeDef, + unknown +> = z.object({ + conditions: z.array(z.lazy(() => PutFirewallConfigConditions$inboundSchema)), +}); + +/** @internal */ +export type PutFirewallConfigConditionGroup$Outbound = { + conditions: Array; +}; + +/** @internal */ +export const PutFirewallConfigConditionGroup$outboundSchema: z.ZodType< + PutFirewallConfigConditionGroup$Outbound, + z.ZodTypeDef, + PutFirewallConfigConditionGroup +> = z.object({ + conditions: z.array(z.lazy(() => PutFirewallConfigConditions$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigConditionGroup$ { + /** @deprecated use `PutFirewallConfigConditionGroup$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigConditionGroup$inboundSchema; + /** @deprecated use `PutFirewallConfigConditionGroup$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigConditionGroup$outboundSchema; + /** @deprecated use `PutFirewallConfigConditionGroup$Outbound` instead. */ + export type Outbound = PutFirewallConfigConditionGroup$Outbound; +} + +export function putFirewallConfigConditionGroupToJSON( + putFirewallConfigConditionGroup: PutFirewallConfigConditionGroup, +): string { + return JSON.stringify( + PutFirewallConfigConditionGroup$outboundSchema.parse( + putFirewallConfigConditionGroup, + ), + ); +} + +export function putFirewallConfigConditionGroupFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigConditionGroup$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigConditionGroup' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction + > = z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction, + ); + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction + > = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$ { + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigAlgo$inboundSchema: z.ZodNativeEnum< + typeof PutFirewallConfigAlgo +> = z.nativeEnum(PutFirewallConfigAlgo); + +/** @internal */ +export const PutFirewallConfigAlgo$outboundSchema: z.ZodNativeEnum< + typeof PutFirewallConfigAlgo +> = PutFirewallConfigAlgo$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigAlgo$ { + /** @deprecated use `PutFirewallConfigAlgo$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigAlgo$inboundSchema; + /** @deprecated use `PutFirewallConfigAlgo$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigAlgo$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction + > = z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction, + ); + +/** @internal */ +export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$outboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction + > = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$ { + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigRateLimit$inboundSchema: z.ZodType< + PutFirewallConfigRateLimit, + z.ZodTypeDef, + unknown +> = z.object({ + algo: PutFirewallConfigAlgo$inboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), + action: z.nullable( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$inboundSchema, + ).optional(), +}); + +/** @internal */ +export type PutFirewallConfigRateLimit$Outbound = { + algo: string; + window: number; + limit: number; + keys: Array; + action?: string | null | undefined; +}; + +/** @internal */ +export const PutFirewallConfigRateLimit$outboundSchema: z.ZodType< + PutFirewallConfigRateLimit$Outbound, + z.ZodTypeDef, + PutFirewallConfigRateLimit +> = z.object({ + algo: PutFirewallConfigAlgo$outboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), + action: z.nullable( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$outboundSchema, + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigRateLimit$ { + /** @deprecated use `PutFirewallConfigRateLimit$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigRateLimit$inboundSchema; + /** @deprecated use `PutFirewallConfigRateLimit$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigRateLimit$outboundSchema; + /** @deprecated use `PutFirewallConfigRateLimit$Outbound` instead. */ + export type Outbound = PutFirewallConfigRateLimit$Outbound; +} + +export function putFirewallConfigRateLimitToJSON( + putFirewallConfigRateLimit: PutFirewallConfigRateLimit, +): string { + return JSON.stringify( + PutFirewallConfigRateLimit$outboundSchema.parse(putFirewallConfigRateLimit), + ); +} + +export function putFirewallConfigRateLimitFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigRateLimit$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigRateLimit' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigRedirect$inboundSchema: z.ZodType< + PutFirewallConfigRedirect, + z.ZodTypeDef, + unknown +> = z.object({ + location: z.string(), + permanent: z.boolean(), +}); + +/** @internal */ +export type PutFirewallConfigRedirect$Outbound = { + location: string; + permanent: boolean; +}; + +/** @internal */ +export const PutFirewallConfigRedirect$outboundSchema: z.ZodType< + PutFirewallConfigRedirect$Outbound, + z.ZodTypeDef, + PutFirewallConfigRedirect +> = z.object({ + location: z.string(), + permanent: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigRedirect$ { + /** @deprecated use `PutFirewallConfigRedirect$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigRedirect$inboundSchema; + /** @deprecated use `PutFirewallConfigRedirect$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigRedirect$outboundSchema; + /** @deprecated use `PutFirewallConfigRedirect$Outbound` instead. */ + export type Outbound = PutFirewallConfigRedirect$Outbound; +} + +export function putFirewallConfigRedirectToJSON( + putFirewallConfigRedirect: PutFirewallConfigRedirect, +): string { + return JSON.stringify( + PutFirewallConfigRedirect$outboundSchema.parse(putFirewallConfigRedirect), + ); +} + +export function putFirewallConfigRedirectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigRedirect$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigRedirect' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigMitigate$inboundSchema: z.ZodType< + PutFirewallConfigMitigate, + z.ZodTypeDef, + unknown +> = z.object({ + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$inboundSchema, + rateLimit: z.nullable(z.lazy(() => PutFirewallConfigRateLimit$inboundSchema)) + .optional(), + redirect: z.nullable(z.lazy(() => PutFirewallConfigRedirect$inboundSchema)) + .optional(), + actionDuration: z.nullable(z.string()).optional(), +}); + +/** @internal */ +export type PutFirewallConfigMitigate$Outbound = { + action: string; + rateLimit?: PutFirewallConfigRateLimit$Outbound | null | undefined; + redirect?: PutFirewallConfigRedirect$Outbound | null | undefined; + actionDuration?: string | null | undefined; +}; + +/** @internal */ +export const PutFirewallConfigMitigate$outboundSchema: z.ZodType< + PutFirewallConfigMitigate$Outbound, + z.ZodTypeDef, + PutFirewallConfigMitigate +> = z.object({ + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$outboundSchema, + rateLimit: z.nullable(z.lazy(() => PutFirewallConfigRateLimit$outboundSchema)) + .optional(), + redirect: z.nullable(z.lazy(() => PutFirewallConfigRedirect$outboundSchema)) + .optional(), + actionDuration: z.nullable(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigMitigate$ { + /** @deprecated use `PutFirewallConfigMitigate$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigMitigate$inboundSchema; + /** @deprecated use `PutFirewallConfigMitigate$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigMitigate$outboundSchema; + /** @deprecated use `PutFirewallConfigMitigate$Outbound` instead. */ + export type Outbound = PutFirewallConfigMitigate$Outbound; +} + +export function putFirewallConfigMitigateToJSON( + putFirewallConfigMitigate: PutFirewallConfigMitigate, +): string { + return JSON.stringify( + PutFirewallConfigMitigate$outboundSchema.parse(putFirewallConfigMitigate), + ); +} + +export function putFirewallConfigMitigateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigMitigate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigMitigate' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityResponseAction$inboundSchema: z.ZodType< + PutFirewallConfigSecurityResponseAction, + z.ZodTypeDef, + unknown +> = z.object({ + mitigate: z.lazy(() => PutFirewallConfigMitigate$inboundSchema).optional(), +}); + +/** @internal */ +export type PutFirewallConfigSecurityResponseAction$Outbound = { + mitigate?: PutFirewallConfigMitigate$Outbound | undefined; +}; + +/** @internal */ +export const PutFirewallConfigSecurityResponseAction$outboundSchema: z.ZodType< + PutFirewallConfigSecurityResponseAction$Outbound, + z.ZodTypeDef, + PutFirewallConfigSecurityResponseAction +> = z.object({ + mitigate: z.lazy(() => PutFirewallConfigMitigate$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityResponseAction$ { + /** @deprecated use `PutFirewallConfigSecurityResponseAction$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityResponseAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityResponseAction$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityResponseAction$outboundSchema; + /** @deprecated use `PutFirewallConfigSecurityResponseAction$Outbound` instead. */ + export type Outbound = PutFirewallConfigSecurityResponseAction$Outbound; +} + +export function putFirewallConfigSecurityResponseActionToJSON( + putFirewallConfigSecurityResponseAction: + PutFirewallConfigSecurityResponseAction, +): string { + return JSON.stringify( + PutFirewallConfigSecurityResponseAction$outboundSchema.parse( + putFirewallConfigSecurityResponseAction, + ), + ); +} + +export function putFirewallConfigSecurityResponseActionFromJSON( + jsonString: string, +): SafeParseResult< + PutFirewallConfigSecurityResponseAction, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + PutFirewallConfigSecurityResponseAction$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'PutFirewallConfigSecurityResponseAction' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigRules$inboundSchema: z.ZodType< + PutFirewallConfigRules, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array( + z.lazy(() => PutFirewallConfigConditionGroup$inboundSchema), + ), + action: z.lazy(() => PutFirewallConfigSecurityResponseAction$inboundSchema), +}); + +/** @internal */ +export type PutFirewallConfigRules$Outbound = { + id: string; + name: string; + description?: string | undefined; + active: boolean; + conditionGroup: Array; + action: PutFirewallConfigSecurityResponseAction$Outbound; +}; + +/** @internal */ +export const PutFirewallConfigRules$outboundSchema: z.ZodType< + PutFirewallConfigRules$Outbound, + z.ZodTypeDef, + PutFirewallConfigRules +> = z.object({ + id: z.string(), + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array( + z.lazy(() => PutFirewallConfigConditionGroup$outboundSchema), + ), + action: z.lazy(() => PutFirewallConfigSecurityResponseAction$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigRules$ { + /** @deprecated use `PutFirewallConfigRules$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigRules$inboundSchema; + /** @deprecated use `PutFirewallConfigRules$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigRules$outboundSchema; + /** @deprecated use `PutFirewallConfigRules$Outbound` instead. */ + export type Outbound = PutFirewallConfigRules$Outbound; +} + +export function putFirewallConfigRulesToJSON( + putFirewallConfigRules: PutFirewallConfigRules, +): string { + return JSON.stringify( + PutFirewallConfigRules$outboundSchema.parse(putFirewallConfigRules), + ); +} + +export function putFirewallConfigRulesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigRules$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigRules' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigSecurityResponse200Action$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(PutFirewallConfigSecurityResponse200Action); + +/** @internal */ +export const PutFirewallConfigSecurityResponse200Action$outboundSchema: + z.ZodNativeEnum = + PutFirewallConfigSecurityResponse200Action$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigSecurityResponse200Action$ { + /** @deprecated use `PutFirewallConfigSecurityResponse200Action$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigSecurityResponse200Action$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityResponse200Action$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigSecurityResponse200Action$outboundSchema; +} + +/** @internal */ +export const PutFirewallConfigIps$inboundSchema: z.ZodType< + PutFirewallConfigIps, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + hostname: z.string(), + ip: z.string(), + notes: z.string().optional(), + action: PutFirewallConfigSecurityResponse200Action$inboundSchema, +}); + +/** @internal */ +export type PutFirewallConfigIps$Outbound = { + id: string; + hostname: string; + ip: string; + notes?: string | undefined; + action: string; +}; + +/** @internal */ +export const PutFirewallConfigIps$outboundSchema: z.ZodType< + PutFirewallConfigIps$Outbound, + z.ZodTypeDef, + PutFirewallConfigIps +> = z.object({ + id: z.string(), + hostname: z.string(), + ip: z.string(), + notes: z.string().optional(), + action: PutFirewallConfigSecurityResponse200Action$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigIps$ { + /** @deprecated use `PutFirewallConfigIps$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigIps$inboundSchema; + /** @deprecated use `PutFirewallConfigIps$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigIps$outboundSchema; + /** @deprecated use `PutFirewallConfigIps$Outbound` instead. */ + export type Outbound = PutFirewallConfigIps$Outbound; +} + +export function putFirewallConfigIpsToJSON( + putFirewallConfigIps: PutFirewallConfigIps, +): string { + return JSON.stringify( + PutFirewallConfigIps$outboundSchema.parse(putFirewallConfigIps), + ); +} + +export function putFirewallConfigIpsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigIps$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigIps' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigChanges$inboundSchema: z.ZodType< + PutFirewallConfigChanges, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type PutFirewallConfigChanges$Outbound = {}; + +/** @internal */ +export const PutFirewallConfigChanges$outboundSchema: z.ZodType< + PutFirewallConfigChanges$Outbound, + z.ZodTypeDef, + PutFirewallConfigChanges +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigChanges$ { + /** @deprecated use `PutFirewallConfigChanges$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigChanges$inboundSchema; + /** @deprecated use `PutFirewallConfigChanges$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigChanges$outboundSchema; + /** @deprecated use `PutFirewallConfigChanges$Outbound` instead. */ + export type Outbound = PutFirewallConfigChanges$Outbound; +} + +export function putFirewallConfigChangesToJSON( + putFirewallConfigChanges: PutFirewallConfigChanges, +): string { + return JSON.stringify( + PutFirewallConfigChanges$outboundSchema.parse(putFirewallConfigChanges), + ); +} + +export function putFirewallConfigChangesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigChanges$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigChanges' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigOwasp$inboundSchema: z.ZodType< + PutFirewallConfigOwasp, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + updatedAt: z.string().optional(), + userId: z.string().optional(), + username: z.string().optional(), +}); + +/** @internal */ +export type PutFirewallConfigOwasp$Outbound = { + active: boolean; + updatedAt?: string | undefined; + userId?: string | undefined; + username?: string | undefined; +}; + +/** @internal */ +export const PutFirewallConfigOwasp$outboundSchema: z.ZodType< + PutFirewallConfigOwasp$Outbound, + z.ZodTypeDef, + PutFirewallConfigOwasp +> = z.object({ + active: z.boolean(), + updatedAt: z.string().optional(), + userId: z.string().optional(), + username: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigOwasp$ { + /** @deprecated use `PutFirewallConfigOwasp$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigOwasp$inboundSchema; + /** @deprecated use `PutFirewallConfigOwasp$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigOwasp$outboundSchema; + /** @deprecated use `PutFirewallConfigOwasp$Outbound` instead. */ + export type Outbound = PutFirewallConfigOwasp$Outbound; +} + +export function putFirewallConfigOwaspToJSON( + putFirewallConfigOwasp: PutFirewallConfigOwasp, +): string { + return JSON.stringify( + PutFirewallConfigOwasp$outboundSchema.parse(putFirewallConfigOwasp), + ); +} + +export function putFirewallConfigOwaspFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigOwasp$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigOwasp' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigVerifiedBotsBypass$inboundSchema: z.ZodType< + PutFirewallConfigVerifiedBotsBypass, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.boolean(), + updatedAt: z.string().optional(), + userId: z.string().optional(), + username: z.string().optional(), +}); + +/** @internal */ +export type PutFirewallConfigVerifiedBotsBypass$Outbound = { + active: boolean; + updatedAt?: string | undefined; + userId?: string | undefined; + username?: string | undefined; +}; + +/** @internal */ +export const PutFirewallConfigVerifiedBotsBypass$outboundSchema: z.ZodType< + PutFirewallConfigVerifiedBotsBypass$Outbound, + z.ZodTypeDef, + PutFirewallConfigVerifiedBotsBypass +> = z.object({ + active: z.boolean(), + updatedAt: z.string().optional(), + userId: z.string().optional(), + username: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigVerifiedBotsBypass$ { + /** @deprecated use `PutFirewallConfigVerifiedBotsBypass$inboundSchema` instead. */ + export const inboundSchema = + PutFirewallConfigVerifiedBotsBypass$inboundSchema; + /** @deprecated use `PutFirewallConfigVerifiedBotsBypass$outboundSchema` instead. */ + export const outboundSchema = + PutFirewallConfigVerifiedBotsBypass$outboundSchema; + /** @deprecated use `PutFirewallConfigVerifiedBotsBypass$Outbound` instead. */ + export type Outbound = PutFirewallConfigVerifiedBotsBypass$Outbound; +} + +export function putFirewallConfigVerifiedBotsBypassToJSON( + putFirewallConfigVerifiedBotsBypass: PutFirewallConfigVerifiedBotsBypass, +): string { + return JSON.stringify( + PutFirewallConfigVerifiedBotsBypass$outboundSchema.parse( + putFirewallConfigVerifiedBotsBypass, + ), + ); +} + +export function putFirewallConfigVerifiedBotsBypassFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + PutFirewallConfigVerifiedBotsBypass$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigVerifiedBotsBypass' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigManagedRules$inboundSchema: z.ZodType< + PutFirewallConfigManagedRules, + z.ZodTypeDef, + unknown +> = z.object({ + owasp: z.lazy(() => PutFirewallConfigOwasp$inboundSchema).optional(), + verifiedBotsBypass: z.lazy(() => + PutFirewallConfigVerifiedBotsBypass$inboundSchema + ).optional(), +}); + +/** @internal */ +export type PutFirewallConfigManagedRules$Outbound = { + owasp?: PutFirewallConfigOwasp$Outbound | undefined; + verifiedBotsBypass?: PutFirewallConfigVerifiedBotsBypass$Outbound | undefined; +}; + +/** @internal */ +export const PutFirewallConfigManagedRules$outboundSchema: z.ZodType< + PutFirewallConfigManagedRules$Outbound, + z.ZodTypeDef, + PutFirewallConfigManagedRules +> = z.object({ + owasp: z.lazy(() => PutFirewallConfigOwasp$outboundSchema).optional(), + verifiedBotsBypass: z.lazy(() => + PutFirewallConfigVerifiedBotsBypass$outboundSchema + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigManagedRules$ { + /** @deprecated use `PutFirewallConfigManagedRules$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigManagedRules$inboundSchema; + /** @deprecated use `PutFirewallConfigManagedRules$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigManagedRules$outboundSchema; + /** @deprecated use `PutFirewallConfigManagedRules$Outbound` instead. */ + export type Outbound = PutFirewallConfigManagedRules$Outbound; +} + +export function putFirewallConfigManagedRulesToJSON( + putFirewallConfigManagedRules: PutFirewallConfigManagedRules, +): string { + return JSON.stringify( + PutFirewallConfigManagedRules$outboundSchema.parse( + putFirewallConfigManagedRules, + ), + ); +} + +export function putFirewallConfigManagedRulesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigManagedRules$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigManagedRules' from JSON`, + ); +} + +/** @internal */ +export const Active$inboundSchema: z.ZodType = z + .object({ + ownerId: z.string(), + projectKey: z.string(), + id: z.string(), + version: z.number(), + updatedAt: z.string(), + firewallEnabled: z.boolean(), + crs: z.lazy(() => PutFirewallConfigCrs$inboundSchema), + rules: z.array(z.lazy(() => PutFirewallConfigRules$inboundSchema)), + ips: z.array(z.lazy(() => PutFirewallConfigIps$inboundSchema)), + changes: z.array(z.lazy(() => PutFirewallConfigChanges$inboundSchema)), + managedRules: z.lazy(() => PutFirewallConfigManagedRules$inboundSchema) + .optional(), + }); + +/** @internal */ +export type Active$Outbound = { + ownerId: string; + projectKey: string; + id: string; + version: number; + updatedAt: string; + firewallEnabled: boolean; + crs: PutFirewallConfigCrs$Outbound; + rules: Array; + ips: Array; + changes: Array; + managedRules?: PutFirewallConfigManagedRules$Outbound | undefined; +}; + +/** @internal */ +export const Active$outboundSchema: z.ZodType< + Active$Outbound, + z.ZodTypeDef, + Active +> = z.object({ + ownerId: z.string(), + projectKey: z.string(), + id: z.string(), + version: z.number(), + updatedAt: z.string(), + firewallEnabled: z.boolean(), + crs: z.lazy(() => PutFirewallConfigCrs$outboundSchema), + rules: z.array(z.lazy(() => PutFirewallConfigRules$outboundSchema)), + ips: z.array(z.lazy(() => PutFirewallConfigIps$outboundSchema)), + changes: z.array(z.lazy(() => PutFirewallConfigChanges$outboundSchema)), + managedRules: z.lazy(() => PutFirewallConfigManagedRules$outboundSchema) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Active$ { + /** @deprecated use `Active$inboundSchema` instead. */ + export const inboundSchema = Active$inboundSchema; + /** @deprecated use `Active$outboundSchema` instead. */ + export const outboundSchema = Active$outboundSchema; + /** @deprecated use `Active$Outbound` instead. */ + export type Outbound = Active$Outbound; +} + +export function activeToJSON(active: Active): string { + return JSON.stringify(Active$outboundSchema.parse(active)); +} + +export function activeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Active$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Active' from JSON`, + ); +} + +/** @internal */ +export const PutFirewallConfigResponseBody$inboundSchema: z.ZodType< + PutFirewallConfigResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.lazy(() => Active$inboundSchema), +}); + +/** @internal */ +export type PutFirewallConfigResponseBody$Outbound = { + active: Active$Outbound; +}; + +/** @internal */ +export const PutFirewallConfigResponseBody$outboundSchema: z.ZodType< + PutFirewallConfigResponseBody$Outbound, + z.ZodTypeDef, + PutFirewallConfigResponseBody +> = z.object({ + active: z.lazy(() => Active$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PutFirewallConfigResponseBody$ { + /** @deprecated use `PutFirewallConfigResponseBody$inboundSchema` instead. */ + export const inboundSchema = PutFirewallConfigResponseBody$inboundSchema; + /** @deprecated use `PutFirewallConfigResponseBody$outboundSchema` instead. */ + export const outboundSchema = PutFirewallConfigResponseBody$outboundSchema; + /** @deprecated use `PutFirewallConfigResponseBody$Outbound` instead. */ + export type Outbound = PutFirewallConfigResponseBody$Outbound; +} + +export function putFirewallConfigResponseBodyToJSON( + putFirewallConfigResponseBody: PutFirewallConfigResponseBody, +): string { + return JSON.stringify( + PutFirewallConfigResponseBody$outboundSchema.parse( + putFirewallConfigResponseBody, + ), + ); +} + +export function putFirewallConfigResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PutFirewallConfigResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PutFirewallConfigResponseBody' from JSON`, + ); +} diff --git a/src/models/ratelimitnotice.ts b/src/models/ratelimitnotice.ts new file mode 100644 index 00000000..1706c343 --- /dev/null +++ b/src/models/ratelimitnotice.ts @@ -0,0 +1,76 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type RateLimitNotice = { + remaining: number; + reset: number; + resetMs: number; + total: number; +}; + +/** @internal */ +export const RateLimitNotice$inboundSchema: z.ZodType< + RateLimitNotice, + z.ZodTypeDef, + unknown +> = z.object({ + remaining: z.number().int(), + reset: z.number().int(), + resetMs: z.number().int(), + total: z.number().int(), +}); + +/** @internal */ +export type RateLimitNotice$Outbound = { + remaining: number; + reset: number; + resetMs: number; + total: number; +}; + +/** @internal */ +export const RateLimitNotice$outboundSchema: z.ZodType< + RateLimitNotice$Outbound, + z.ZodTypeDef, + RateLimitNotice +> = z.object({ + remaining: z.number().int(), + reset: z.number().int(), + resetMs: z.number().int(), + total: z.number().int(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RateLimitNotice$ { + /** @deprecated use `RateLimitNotice$inboundSchema` instead. */ + export const inboundSchema = RateLimitNotice$inboundSchema; + /** @deprecated use `RateLimitNotice$outboundSchema` instead. */ + export const outboundSchema = RateLimitNotice$outboundSchema; + /** @deprecated use `RateLimitNotice$Outbound` instead. */ + export type Outbound = RateLimitNotice$Outbound; +} + +export function rateLimitNoticeToJSON( + rateLimitNotice: RateLimitNotice, +): string { + return JSON.stringify(RateLimitNotice$outboundSchema.parse(rateLimitNotice)); +} + +export function rateLimitNoticeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RateLimitNotice$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RateLimitNotice' from JSON`, + ); +} diff --git a/src/models/readaccessgroupop.ts b/src/models/readaccessgroupop.ts new file mode 100644 index 00000000..8ccc3362 --- /dev/null +++ b/src/models/readaccessgroupop.ts @@ -0,0 +1,222 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type ReadAccessGroupRequest = { + idOrName: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export const ReadAccessGroupEntitlements = { + V0: "v0", +} as const; +export type ReadAccessGroupEntitlements = ClosedEnum< + typeof ReadAccessGroupEntitlements +>; + +export type ReadAccessGroupResponseBody = { + entitlements?: Array | undefined; + isDsyncManaged: boolean; + /** + * The name of this access group. + */ + name: string; + /** + * Timestamp in milliseconds when the access group was created. + */ + createdAt: string; + /** + * ID of the team that this access group belongs to. + */ + teamId: string; + /** + * Timestamp in milliseconds when the access group was last updated. + */ + updatedAt: string; + /** + * ID of the access group. + */ + accessGroupId: string; + /** + * Number of members in the access group. + */ + membersCount: number; + /** + * Number of projects in the access group. + */ + projectsCount: number; +}; + +/** @internal */ +export const ReadAccessGroupRequest$inboundSchema: z.ZodType< + ReadAccessGroupRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type ReadAccessGroupRequest$Outbound = { + idOrName: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const ReadAccessGroupRequest$outboundSchema: z.ZodType< + ReadAccessGroupRequest$Outbound, + z.ZodTypeDef, + ReadAccessGroupRequest +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ReadAccessGroupRequest$ { + /** @deprecated use `ReadAccessGroupRequest$inboundSchema` instead. */ + export const inboundSchema = ReadAccessGroupRequest$inboundSchema; + /** @deprecated use `ReadAccessGroupRequest$outboundSchema` instead. */ + export const outboundSchema = ReadAccessGroupRequest$outboundSchema; + /** @deprecated use `ReadAccessGroupRequest$Outbound` instead. */ + export type Outbound = ReadAccessGroupRequest$Outbound; +} + +export function readAccessGroupRequestToJSON( + readAccessGroupRequest: ReadAccessGroupRequest, +): string { + return JSON.stringify( + ReadAccessGroupRequest$outboundSchema.parse(readAccessGroupRequest), + ); +} + +export function readAccessGroupRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ReadAccessGroupRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ReadAccessGroupRequest' from JSON`, + ); +} + +/** @internal */ +export const ReadAccessGroupEntitlements$inboundSchema: z.ZodNativeEnum< + typeof ReadAccessGroupEntitlements +> = z.nativeEnum(ReadAccessGroupEntitlements); + +/** @internal */ +export const ReadAccessGroupEntitlements$outboundSchema: z.ZodNativeEnum< + typeof ReadAccessGroupEntitlements +> = ReadAccessGroupEntitlements$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ReadAccessGroupEntitlements$ { + /** @deprecated use `ReadAccessGroupEntitlements$inboundSchema` instead. */ + export const inboundSchema = ReadAccessGroupEntitlements$inboundSchema; + /** @deprecated use `ReadAccessGroupEntitlements$outboundSchema` instead. */ + export const outboundSchema = ReadAccessGroupEntitlements$outboundSchema; +} + +/** @internal */ +export const ReadAccessGroupResponseBody$inboundSchema: z.ZodType< + ReadAccessGroupResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + entitlements: z.array(ReadAccessGroupEntitlements$inboundSchema).optional(), + isDsyncManaged: z.boolean(), + name: z.string(), + createdAt: z.string(), + teamId: z.string(), + updatedAt: z.string(), + accessGroupId: z.string(), + membersCount: z.number(), + projectsCount: z.number(), +}); + +/** @internal */ +export type ReadAccessGroupResponseBody$Outbound = { + entitlements?: Array | undefined; + isDsyncManaged: boolean; + name: string; + createdAt: string; + teamId: string; + updatedAt: string; + accessGroupId: string; + membersCount: number; + projectsCount: number; +}; + +/** @internal */ +export const ReadAccessGroupResponseBody$outboundSchema: z.ZodType< + ReadAccessGroupResponseBody$Outbound, + z.ZodTypeDef, + ReadAccessGroupResponseBody +> = z.object({ + entitlements: z.array(ReadAccessGroupEntitlements$outboundSchema).optional(), + isDsyncManaged: z.boolean(), + name: z.string(), + createdAt: z.string(), + teamId: z.string(), + updatedAt: z.string(), + accessGroupId: z.string(), + membersCount: z.number(), + projectsCount: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ReadAccessGroupResponseBody$ { + /** @deprecated use `ReadAccessGroupResponseBody$inboundSchema` instead. */ + export const inboundSchema = ReadAccessGroupResponseBody$inboundSchema; + /** @deprecated use `ReadAccessGroupResponseBody$outboundSchema` instead. */ + export const outboundSchema = ReadAccessGroupResponseBody$outboundSchema; + /** @deprecated use `ReadAccessGroupResponseBody$Outbound` instead. */ + export type Outbound = ReadAccessGroupResponseBody$Outbound; +} + +export function readAccessGroupResponseBodyToJSON( + readAccessGroupResponseBody: ReadAccessGroupResponseBody, +): string { + return JSON.stringify( + ReadAccessGroupResponseBody$outboundSchema.parse( + readAccessGroupResponseBody, + ), + ); +} + +export function readAccessGroupResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ReadAccessGroupResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ReadAccessGroupResponseBody' from JSON`, + ); +} diff --git a/src/models/readaccessgroupprojectop.ts b/src/models/readaccessgroupprojectop.ts new file mode 100644 index 00000000..64ecefdd --- /dev/null +++ b/src/models/readaccessgroupprojectop.ts @@ -0,0 +1,199 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type ReadAccessGroupProjectRequest = { + accessGroupIdOrName: string; + projectId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export const ReadAccessGroupProjectRole = { + Admin: "ADMIN", + ProjectDeveloper: "PROJECT_DEVELOPER", + ProjectViewer: "PROJECT_VIEWER", +} as const; +export type ReadAccessGroupProjectRole = ClosedEnum< + typeof ReadAccessGroupProjectRole +>; + +export type ReadAccessGroupProjectResponseBody = { + teamId: string; + accessGroupId: string; + projectId: string; + role: ReadAccessGroupProjectRole; + createdAt: string; + updatedAt: string; +}; + +/** @internal */ +export const ReadAccessGroupProjectRequest$inboundSchema: z.ZodType< + ReadAccessGroupProjectRequest, + z.ZodTypeDef, + unknown +> = z.object({ + accessGroupIdOrName: z.string(), + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type ReadAccessGroupProjectRequest$Outbound = { + accessGroupIdOrName: string; + projectId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const ReadAccessGroupProjectRequest$outboundSchema: z.ZodType< + ReadAccessGroupProjectRequest$Outbound, + z.ZodTypeDef, + ReadAccessGroupProjectRequest +> = z.object({ + accessGroupIdOrName: z.string(), + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ReadAccessGroupProjectRequest$ { + /** @deprecated use `ReadAccessGroupProjectRequest$inboundSchema` instead. */ + export const inboundSchema = ReadAccessGroupProjectRequest$inboundSchema; + /** @deprecated use `ReadAccessGroupProjectRequest$outboundSchema` instead. */ + export const outboundSchema = ReadAccessGroupProjectRequest$outboundSchema; + /** @deprecated use `ReadAccessGroupProjectRequest$Outbound` instead. */ + export type Outbound = ReadAccessGroupProjectRequest$Outbound; +} + +export function readAccessGroupProjectRequestToJSON( + readAccessGroupProjectRequest: ReadAccessGroupProjectRequest, +): string { + return JSON.stringify( + ReadAccessGroupProjectRequest$outboundSchema.parse( + readAccessGroupProjectRequest, + ), + ); +} + +export function readAccessGroupProjectRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ReadAccessGroupProjectRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ReadAccessGroupProjectRequest' from JSON`, + ); +} + +/** @internal */ +export const ReadAccessGroupProjectRole$inboundSchema: z.ZodNativeEnum< + typeof ReadAccessGroupProjectRole +> = z.nativeEnum(ReadAccessGroupProjectRole); + +/** @internal */ +export const ReadAccessGroupProjectRole$outboundSchema: z.ZodNativeEnum< + typeof ReadAccessGroupProjectRole +> = ReadAccessGroupProjectRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ReadAccessGroupProjectRole$ { + /** @deprecated use `ReadAccessGroupProjectRole$inboundSchema` instead. */ + export const inboundSchema = ReadAccessGroupProjectRole$inboundSchema; + /** @deprecated use `ReadAccessGroupProjectRole$outboundSchema` instead. */ + export const outboundSchema = ReadAccessGroupProjectRole$outboundSchema; +} + +/** @internal */ +export const ReadAccessGroupProjectResponseBody$inboundSchema: z.ZodType< + ReadAccessGroupProjectResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string(), + accessGroupId: z.string(), + projectId: z.string(), + role: ReadAccessGroupProjectRole$inboundSchema, + createdAt: z.string(), + updatedAt: z.string(), +}); + +/** @internal */ +export type ReadAccessGroupProjectResponseBody$Outbound = { + teamId: string; + accessGroupId: string; + projectId: string; + role: string; + createdAt: string; + updatedAt: string; +}; + +/** @internal */ +export const ReadAccessGroupProjectResponseBody$outboundSchema: z.ZodType< + ReadAccessGroupProjectResponseBody$Outbound, + z.ZodTypeDef, + ReadAccessGroupProjectResponseBody +> = z.object({ + teamId: z.string(), + accessGroupId: z.string(), + projectId: z.string(), + role: ReadAccessGroupProjectRole$outboundSchema, + createdAt: z.string(), + updatedAt: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ReadAccessGroupProjectResponseBody$ { + /** @deprecated use `ReadAccessGroupProjectResponseBody$inboundSchema` instead. */ + export const inboundSchema = ReadAccessGroupProjectResponseBody$inboundSchema; + /** @deprecated use `ReadAccessGroupProjectResponseBody$outboundSchema` instead. */ + export const outboundSchema = + ReadAccessGroupProjectResponseBody$outboundSchema; + /** @deprecated use `ReadAccessGroupProjectResponseBody$Outbound` instead. */ + export type Outbound = ReadAccessGroupProjectResponseBody$Outbound; +} + +export function readAccessGroupProjectResponseBodyToJSON( + readAccessGroupProjectResponseBody: ReadAccessGroupProjectResponseBody, +): string { + return JSON.stringify( + ReadAccessGroupProjectResponseBody$outboundSchema.parse( + readAccessGroupProjectResponseBody, + ), + ); +} + +export function readAccessGroupProjectResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + ReadAccessGroupProjectResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ReadAccessGroupProjectResponseBody' from JSON`, + ); +} diff --git a/src/models/recordeventsop.ts b/src/models/recordeventsop.ts new file mode 100644 index 00000000..a573d362 --- /dev/null +++ b/src/models/recordeventsop.ts @@ -0,0 +1,256 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * One of `LOCAL` or `REMOTE`. `LOCAL` specifies that the cache event was from the user's filesystem cache. `REMOTE` specifies that the cache event is from a remote cache. + */ +export const Source = { + Local: "LOCAL", + Remote: "REMOTE", +} as const; +/** + * One of `LOCAL` or `REMOTE`. `LOCAL` specifies that the cache event was from the user's filesystem cache. `REMOTE` specifies that the cache event is from a remote cache. + */ +export type Source = ClosedEnum; + +/** + * One of `HIT` or `MISS`. `HIT` specifies that a cached artifact for `hash` was found in the cache. `MISS` specifies that a cached artifact with `hash` was not found. + */ +export const Event = { + Hit: "HIT", + Miss: "MISS", +} as const; +/** + * One of `HIT` or `MISS`. `HIT` specifies that a cached artifact for `hash` was found in the cache. `MISS` specifies that a cached artifact with `hash` was not found. + */ +export type Event = ClosedEnum; + +export type RequestBody = { + /** + * A UUID (universally unique identifer) for the session that generated this event. + */ + sessionId: string; + /** + * One of `LOCAL` or `REMOTE`. `LOCAL` specifies that the cache event was from the user's filesystem cache. `REMOTE` specifies that the cache event is from a remote cache. + */ + source: Source; + /** + * One of `HIT` or `MISS`. `HIT` specifies that a cached artifact for `hash` was found in the cache. `MISS` specifies that a cached artifact with `hash` was not found. + */ + event: Event; + /** + * The artifact hash + */ + hash: string; + /** + * The time taken to generate the artifact. This should be sent as a body parameter on `HIT` events. + */ + duration?: number | undefined; +}; + +export type RecordEventsRequest = { + /** + * The continuous integration or delivery environment where this artifact is downloaded. + */ + xArtifactClientCi?: string | undefined; + /** + * 1 if the client is an interactive shell. Otherwise 0 + */ + xArtifactClientInteractive?: number | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: Array; +}; + +/** @internal */ +export const Source$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Source); + +/** @internal */ +export const Source$outboundSchema: z.ZodNativeEnum = + Source$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Source$ { + /** @deprecated use `Source$inboundSchema` instead. */ + export const inboundSchema = Source$inboundSchema; + /** @deprecated use `Source$outboundSchema` instead. */ + export const outboundSchema = Source$outboundSchema; +} + +/** @internal */ +export const Event$inboundSchema: z.ZodNativeEnum = z.nativeEnum( + Event, +); + +/** @internal */ +export const Event$outboundSchema: z.ZodNativeEnum = + Event$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Event$ { + /** @deprecated use `Event$inboundSchema` instead. */ + export const inboundSchema = Event$inboundSchema; + /** @deprecated use `Event$outboundSchema` instead. */ + export const outboundSchema = Event$outboundSchema; +} + +/** @internal */ +export const RequestBody$inboundSchema: z.ZodType< + RequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + sessionId: z.string(), + source: Source$inboundSchema, + event: Event$inboundSchema, + hash: z.string(), + duration: z.number().optional(), +}); + +/** @internal */ +export type RequestBody$Outbound = { + sessionId: string; + source: string; + event: string; + hash: string; + duration?: number | undefined; +}; + +/** @internal */ +export const RequestBody$outboundSchema: z.ZodType< + RequestBody$Outbound, + z.ZodTypeDef, + RequestBody +> = z.object({ + sessionId: z.string(), + source: Source$outboundSchema, + event: Event$outboundSchema, + hash: z.string(), + duration: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBody$ { + /** @deprecated use `RequestBody$inboundSchema` instead. */ + export const inboundSchema = RequestBody$inboundSchema; + /** @deprecated use `RequestBody$outboundSchema` instead. */ + export const outboundSchema = RequestBody$outboundSchema; + /** @deprecated use `RequestBody$Outbound` instead. */ + export type Outbound = RequestBody$Outbound; +} + +export function requestBodyToJSON(requestBody: RequestBody): string { + return JSON.stringify(RequestBody$outboundSchema.parse(requestBody)); +} + +export function requestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBody' from JSON`, + ); +} + +/** @internal */ +export const RecordEventsRequest$inboundSchema: z.ZodType< + RecordEventsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + "x-artifact-client-ci": z.string().optional(), + "x-artifact-client-interactive": z.number().int().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.array(z.lazy(() => RequestBody$inboundSchema)), +}).transform((v) => { + return remap$(v, { + "x-artifact-client-ci": "xArtifactClientCi", + "x-artifact-client-interactive": "xArtifactClientInteractive", + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type RecordEventsRequest$Outbound = { + "x-artifact-client-ci"?: string | undefined; + "x-artifact-client-interactive"?: number | undefined; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: Array; +}; + +/** @internal */ +export const RecordEventsRequest$outboundSchema: z.ZodType< + RecordEventsRequest$Outbound, + z.ZodTypeDef, + RecordEventsRequest +> = z.object({ + xArtifactClientCi: z.string().optional(), + xArtifactClientInteractive: z.number().int().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.array(z.lazy(() => RequestBody$outboundSchema)), +}).transform((v) => { + return remap$(v, { + xArtifactClientCi: "x-artifact-client-ci", + xArtifactClientInteractive: "x-artifact-client-interactive", + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RecordEventsRequest$ { + /** @deprecated use `RecordEventsRequest$inboundSchema` instead. */ + export const inboundSchema = RecordEventsRequest$inboundSchema; + /** @deprecated use `RecordEventsRequest$outboundSchema` instead. */ + export const outboundSchema = RecordEventsRequest$outboundSchema; + /** @deprecated use `RecordEventsRequest$Outbound` instead. */ + export type Outbound = RecordEventsRequest$Outbound; +} + +export function recordEventsRequestToJSON( + recordEventsRequest: RecordEventsRequest, +): string { + return JSON.stringify( + RecordEventsRequest$outboundSchema.parse(recordEventsRequest), + ); +} + +export function recordEventsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RecordEventsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RecordEventsRequest' from JSON`, + ); +} diff --git a/src/models/removecertop.ts b/src/models/removecertop.ts new file mode 100644 index 00000000..96b50c79 --- /dev/null +++ b/src/models/removecertop.ts @@ -0,0 +1,133 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type RemoveCertRequest = { + /** + * The cert id to remove + */ + id: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export type RemoveCertResponseBody = {}; + +/** @internal */ +export const RemoveCertRequest$inboundSchema: z.ZodType< + RemoveCertRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type RemoveCertRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const RemoveCertRequest$outboundSchema: z.ZodType< + RemoveCertRequest$Outbound, + z.ZodTypeDef, + RemoveCertRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveCertRequest$ { + /** @deprecated use `RemoveCertRequest$inboundSchema` instead. */ + export const inboundSchema = RemoveCertRequest$inboundSchema; + /** @deprecated use `RemoveCertRequest$outboundSchema` instead. */ + export const outboundSchema = RemoveCertRequest$outboundSchema; + /** @deprecated use `RemoveCertRequest$Outbound` instead. */ + export type Outbound = RemoveCertRequest$Outbound; +} + +export function removeCertRequestToJSON( + removeCertRequest: RemoveCertRequest, +): string { + return JSON.stringify( + RemoveCertRequest$outboundSchema.parse(removeCertRequest), + ); +} + +export function removeCertRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveCertRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveCertRequest' from JSON`, + ); +} + +/** @internal */ +export const RemoveCertResponseBody$inboundSchema: z.ZodType< + RemoveCertResponseBody, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type RemoveCertResponseBody$Outbound = {}; + +/** @internal */ +export const RemoveCertResponseBody$outboundSchema: z.ZodType< + RemoveCertResponseBody$Outbound, + z.ZodTypeDef, + RemoveCertResponseBody +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveCertResponseBody$ { + /** @deprecated use `RemoveCertResponseBody$inboundSchema` instead. */ + export const inboundSchema = RemoveCertResponseBody$inboundSchema; + /** @deprecated use `RemoveCertResponseBody$outboundSchema` instead. */ + export const outboundSchema = RemoveCertResponseBody$outboundSchema; + /** @deprecated use `RemoveCertResponseBody$Outbound` instead. */ + export type Outbound = RemoveCertResponseBody$Outbound; +} + +export function removeCertResponseBodyToJSON( + removeCertResponseBody: RemoveCertResponseBody, +): string { + return JSON.stringify( + RemoveCertResponseBody$outboundSchema.parse(removeCertResponseBody), + ); +} + +export function removeCertResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveCertResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveCertResponseBody' from JSON`, + ); +} diff --git a/src/models/removeprojectdomainop.ts b/src/models/removeprojectdomainop.ts new file mode 100644 index 00000000..15746e14 --- /dev/null +++ b/src/models/removeprojectdomainop.ts @@ -0,0 +1,145 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type RemoveProjectDomainRequest = { + /** + * The unique project identifier or the project name + */ + idOrName: string; + /** + * The project domain name + */ + domain: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * The domain was succesfully removed from the project + */ +export type RemoveProjectDomainResponseBody = {}; + +/** @internal */ +export const RemoveProjectDomainRequest$inboundSchema: z.ZodType< + RemoveProjectDomainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type RemoveProjectDomainRequest$Outbound = { + idOrName: string; + domain: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const RemoveProjectDomainRequest$outboundSchema: z.ZodType< + RemoveProjectDomainRequest$Outbound, + z.ZodTypeDef, + RemoveProjectDomainRequest +> = z.object({ + idOrName: z.string(), + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectDomainRequest$ { + /** @deprecated use `RemoveProjectDomainRequest$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectDomainRequest$inboundSchema; + /** @deprecated use `RemoveProjectDomainRequest$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectDomainRequest$outboundSchema; + /** @deprecated use `RemoveProjectDomainRequest$Outbound` instead. */ + export type Outbound = RemoveProjectDomainRequest$Outbound; +} + +export function removeProjectDomainRequestToJSON( + removeProjectDomainRequest: RemoveProjectDomainRequest, +): string { + return JSON.stringify( + RemoveProjectDomainRequest$outboundSchema.parse(removeProjectDomainRequest), + ); +} + +export function removeProjectDomainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectDomainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectDomainRequest' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectDomainResponseBody$inboundSchema: z.ZodType< + RemoveProjectDomainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type RemoveProjectDomainResponseBody$Outbound = {}; + +/** @internal */ +export const RemoveProjectDomainResponseBody$outboundSchema: z.ZodType< + RemoveProjectDomainResponseBody$Outbound, + z.ZodTypeDef, + RemoveProjectDomainResponseBody +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectDomainResponseBody$ { + /** @deprecated use `RemoveProjectDomainResponseBody$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectDomainResponseBody$inboundSchema; + /** @deprecated use `RemoveProjectDomainResponseBody$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectDomainResponseBody$outboundSchema; + /** @deprecated use `RemoveProjectDomainResponseBody$Outbound` instead. */ + export type Outbound = RemoveProjectDomainResponseBody$Outbound; +} + +export function removeProjectDomainResponseBodyToJSON( + removeProjectDomainResponseBody: RemoveProjectDomainResponseBody, +): string { + return JSON.stringify( + RemoveProjectDomainResponseBody$outboundSchema.parse( + removeProjectDomainResponseBody, + ), + ); +} + +export function removeProjectDomainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectDomainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectDomainResponseBody' from JSON`, + ); +} diff --git a/src/models/removeprojectenvop.ts b/src/models/removeprojectenvop.ts new file mode 100644 index 00000000..eb431459 --- /dev/null +++ b/src/models/removeprojectenvop.ts @@ -0,0 +1,6986 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type RemoveProjectEnvRequest = { + /** + * The unique project identifier or the project name + */ + idOrName: string; + /** + * The unique environment variable identifier + */ + id: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export const RemoveProjectEnvTargetProjectsResponse2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type RemoveProjectEnvTargetProjectsResponse2 = ClosedEnum< + typeof RemoveProjectEnvTargetProjectsResponse2 +>; + +export const RemoveProjectEnvTargetProjectsResponse1 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type RemoveProjectEnvTargetProjectsResponse1 = ClosedEnum< + typeof RemoveProjectEnvTargetProjectsResponse1 +>; + +export type RemoveProjectEnvResponseBodyProjectsResponseTarget = + | Array + | RemoveProjectEnvTargetProjectsResponse2; + +export const RemoveProjectEnvResponseBodyProjectsResponseType = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +export type RemoveProjectEnvResponseBodyProjectsResponseType = ClosedEnum< + typeof RemoveProjectEnvResponseBodyProjectsResponseType +>; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type = + { + FlagsConnectionString: "flags-connection-string", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type + >; + +export type RemoveProjectEnvContentHintProjectsResponse15 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type; + projectId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type = + { + IntegrationStoreSecret: "integration-store-secret", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type + >; + +export type RemoveProjectEnvContentHintProjectsResponse14 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type = + { + PostgresUrlNoSsl: "postgres-url-no-ssl", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type + >; + +export type RemoveProjectEnvContentHintProjectsResponse13 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type = + { + PostgresDatabase: "postgres-database", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type + >; + +export type RemoveProjectEnvContentHintProjectsResponse12 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type = + { + PostgresPassword: "postgres-password", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type + >; + +export type RemoveProjectEnvContentHintProjectsResponse11 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type = + { + PostgresHost: "postgres-host", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type + >; + +export type RemoveProjectEnvContentHintProjectsResponse10 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type = + { + PostgresUser: "postgres-user", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type + >; + +export type RemoveProjectEnvContentHintProjectsResponse9 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type = + { + PostgresPrismaUrl: "postgres-prisma-url", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type + >; + +export type RemoveProjectEnvContentHintProjectsResponse8 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type = + { + PostgresUrlNonPooling: "postgres-url-non-pooling", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type + >; + +export type RemoveProjectEnvContentHintProjectsResponse7 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type = + { + PostgresUrl: "postgres-url", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type + >; + +export type RemoveProjectEnvContentHintProjectsResponse6 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type = + { + BlobReadWriteToken: "blob-read-write-token", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type + >; + +export type RemoveProjectEnvContentHintProjectsResponse5 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type = + { + RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type + >; + +export type RemoveProjectEnvContentHintProjectsResponse4 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type = + { + RedisRestApiToken: "redis-rest-api-token", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type + >; + +export type RemoveProjectEnvContentHintProjectsResponse3 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type = + { + RedisRestApiUrl: "redis-rest-api-url", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type + >; + +export type RemoveProjectEnvContentHintProjectsResponse2 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type = + { + RedisUrl: "redis-url", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type + >; + +export type RemoveProjectEnvContentHintProjectsResponse1 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type; + storeId: string; +}; + +export type RemoveProjectEnvResponseBodyProjectsResponseContentHint = + | RemoveProjectEnvContentHintProjectsResponse1 + | RemoveProjectEnvContentHintProjectsResponse2 + | RemoveProjectEnvContentHintProjectsResponse3 + | RemoveProjectEnvContentHintProjectsResponse4 + | RemoveProjectEnvContentHintProjectsResponse5 + | RemoveProjectEnvContentHintProjectsResponse6 + | RemoveProjectEnvContentHintProjectsResponse7 + | RemoveProjectEnvContentHintProjectsResponse8 + | RemoveProjectEnvContentHintProjectsResponse9 + | RemoveProjectEnvContentHintProjectsResponse10 + | RemoveProjectEnvContentHintProjectsResponse11 + | RemoveProjectEnvContentHintProjectsResponse12 + | RemoveProjectEnvContentHintProjectsResponse13 + | RemoveProjectEnvContentHintProjectsResponse15 + | RemoveProjectEnvContentHintProjectsResponse14; + +export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type = + { + FlagsSecret: "flags-secret", + } as const; +export type RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type = + ClosedEnum< + typeof RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type + >; + +/** + * Similar to `contentHints`, but should not be exposed to the user. + */ +export type RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint = { + type: RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type; + /** + * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. + */ + encryptedValue: string; +}; + +export type RemoveProjectEnvResponseBody3 = { + target?: + | Array + | RemoveProjectEnvTargetProjectsResponse2 + | undefined; + type: RemoveProjectEnvResponseBodyProjectsResponseType; + /** + * This is used to identiy variables that have been migrated from type secret to sensitive. + */ + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | RemoveProjectEnvContentHintProjectsResponse1 + | RemoveProjectEnvContentHintProjectsResponse2 + | RemoveProjectEnvContentHintProjectsResponse3 + | RemoveProjectEnvContentHintProjectsResponse4 + | RemoveProjectEnvContentHintProjectsResponse5 + | RemoveProjectEnvContentHintProjectsResponse6 + | RemoveProjectEnvContentHintProjectsResponse7 + | RemoveProjectEnvContentHintProjectsResponse8 + | RemoveProjectEnvContentHintProjectsResponse9 + | RemoveProjectEnvContentHintProjectsResponse10 + | RemoveProjectEnvContentHintProjectsResponse11 + | RemoveProjectEnvContentHintProjectsResponse12 + | RemoveProjectEnvContentHintProjectsResponse13 + | RemoveProjectEnvContentHintProjectsResponse15 + | RemoveProjectEnvContentHintProjectsResponse14 + | null + | undefined; + /** + * Similar to `contentHints`, but should not be exposed to the user. + */ + internalContentHint?: + | RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint + | null + | undefined; + /** + * Whether `value` and `vsmValue` are decrypted. + */ + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +export const RemoveProjectEnvTargetProjects2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type RemoveProjectEnvTargetProjects2 = ClosedEnum< + typeof RemoveProjectEnvTargetProjects2 +>; + +export const RemoveProjectEnvTargetProjects1 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type RemoveProjectEnvTargetProjects1 = ClosedEnum< + typeof RemoveProjectEnvTargetProjects1 +>; + +export type RemoveProjectEnvResponseBodyProjectsTarget = + | Array + | RemoveProjectEnvTargetProjects2; + +export const RemoveProjectEnvResponseBodyProjectsType = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +export type RemoveProjectEnvResponseBodyProjectsType = ClosedEnum< + typeof RemoveProjectEnvResponseBodyProjectsType +>; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type = + { + FlagsConnectionString: "flags-connection-string", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type + >; + +export type RemoveProjectEnvContentHintProjects15 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type; + projectId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type = + { + IntegrationStoreSecret: "integration-store-secret", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type + >; + +export type RemoveProjectEnvContentHintProjects14 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type = + { + PostgresUrlNoSsl: "postgres-url-no-ssl", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type + >; + +export type RemoveProjectEnvContentHintProjects13 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type = + { + PostgresDatabase: "postgres-database", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type + >; + +export type RemoveProjectEnvContentHintProjects12 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type = + { + PostgresPassword: "postgres-password", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type + >; + +export type RemoveProjectEnvContentHintProjects11 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type = + { + PostgresHost: "postgres-host", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type + >; + +export type RemoveProjectEnvContentHintProjects10 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type = + { + PostgresUser: "postgres-user", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type + >; + +export type RemoveProjectEnvContentHintProjects9 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type = + { + PostgresPrismaUrl: "postgres-prisma-url", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type + >; + +export type RemoveProjectEnvContentHintProjects8 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type = + { + PostgresUrlNonPooling: "postgres-url-non-pooling", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type + >; + +export type RemoveProjectEnvContentHintProjects7 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type = + { + PostgresUrl: "postgres-url", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type + >; + +export type RemoveProjectEnvContentHintProjects6 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type = + { + BlobReadWriteToken: "blob-read-write-token", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type + >; + +export type RemoveProjectEnvContentHintProjects5 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type = + { + RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type + >; + +export type RemoveProjectEnvContentHintProjects4 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type = + { + RedisRestApiToken: "redis-rest-api-token", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type + >; + +export type RemoveProjectEnvContentHintProjects3 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type = + { + RedisRestApiUrl: "redis-rest-api-url", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type + >; + +export type RemoveProjectEnvContentHintProjects2 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type = + { + RedisUrl: "redis-url", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type + >; + +export type RemoveProjectEnvContentHintProjects1 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type; + storeId: string; +}; + +export type RemoveProjectEnvResponseBodyProjectsContentHint = + | RemoveProjectEnvContentHintProjects1 + | RemoveProjectEnvContentHintProjects2 + | RemoveProjectEnvContentHintProjects3 + | RemoveProjectEnvContentHintProjects4 + | RemoveProjectEnvContentHintProjects5 + | RemoveProjectEnvContentHintProjects6 + | RemoveProjectEnvContentHintProjects7 + | RemoveProjectEnvContentHintProjects8 + | RemoveProjectEnvContentHintProjects9 + | RemoveProjectEnvContentHintProjects10 + | RemoveProjectEnvContentHintProjects11 + | RemoveProjectEnvContentHintProjects12 + | RemoveProjectEnvContentHintProjects13 + | RemoveProjectEnvContentHintProjects15 + | RemoveProjectEnvContentHintProjects14; + +export const RemoveProjectEnvResponseBodyProjectsResponse200Type = { + FlagsSecret: "flags-secret", +} as const; +export type RemoveProjectEnvResponseBodyProjectsResponse200Type = ClosedEnum< + typeof RemoveProjectEnvResponseBodyProjectsResponse200Type +>; + +/** + * Similar to `contentHints`, but should not be exposed to the user. + */ +export type RemoveProjectEnvResponseBodyProjectsInternalContentHint = { + type: RemoveProjectEnvResponseBodyProjectsResponse200Type; + /** + * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. + */ + encryptedValue: string; +}; + +export type RemoveProjectEnvResponseBody2 = { + system?: boolean | undefined; + target?: + | Array + | RemoveProjectEnvTargetProjects2 + | undefined; + type: RemoveProjectEnvResponseBodyProjectsType; + /** + * This is used to identiy variables that have been migrated from type secret to sensitive. + */ + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | RemoveProjectEnvContentHintProjects1 + | RemoveProjectEnvContentHintProjects2 + | RemoveProjectEnvContentHintProjects3 + | RemoveProjectEnvContentHintProjects4 + | RemoveProjectEnvContentHintProjects5 + | RemoveProjectEnvContentHintProjects6 + | RemoveProjectEnvContentHintProjects7 + | RemoveProjectEnvContentHintProjects8 + | RemoveProjectEnvContentHintProjects9 + | RemoveProjectEnvContentHintProjects10 + | RemoveProjectEnvContentHintProjects11 + | RemoveProjectEnvContentHintProjects12 + | RemoveProjectEnvContentHintProjects13 + | RemoveProjectEnvContentHintProjects15 + | RemoveProjectEnvContentHintProjects14 + | null + | undefined; + /** + * Similar to `contentHints`, but should not be exposed to the user. + */ + internalContentHint?: + | RemoveProjectEnvResponseBodyProjectsInternalContentHint + | null + | undefined; + /** + * Whether `value` and `vsmValue` are decrypted. + */ + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +export const RemoveProjectEnvTarget2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type RemoveProjectEnvTarget2 = ClosedEnum< + typeof RemoveProjectEnvTarget2 +>; + +export const RemoveProjectEnvTarget1 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type RemoveProjectEnvTarget1 = ClosedEnum< + typeof RemoveProjectEnvTarget1 +>; + +export type RemoveProjectEnvResponseBodyTarget = + | Array + | RemoveProjectEnvTarget2; + +export const RemoveProjectEnvResponseBodyType = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +export type RemoveProjectEnvResponseBodyType = ClosedEnum< + typeof RemoveProjectEnvResponseBodyType +>; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type = + { + FlagsConnectionString: "flags-connection-string", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type + >; + +export type RemoveProjectEnvContentHint15 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type; + projectId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type = + { + IntegrationStoreSecret: "integration-store-secret", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type + >; + +export type RemoveProjectEnvContentHint14 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type = + { + PostgresUrlNoSsl: "postgres-url-no-ssl", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type + >; + +export type RemoveProjectEnvContentHint13 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type = + { + PostgresDatabase: "postgres-database", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type + >; + +export type RemoveProjectEnvContentHint12 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type = + { + PostgresPassword: "postgres-password", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type + >; + +export type RemoveProjectEnvContentHint11 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type = + { + PostgresHost: "postgres-host", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type + >; + +export type RemoveProjectEnvContentHint10 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type = + { + PostgresUser: "postgres-user", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type + >; + +export type RemoveProjectEnvContentHint9 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type = + { + PostgresPrismaUrl: "postgres-prisma-url", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type + >; + +export type RemoveProjectEnvContentHint8 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type = + { + PostgresUrlNonPooling: "postgres-url-non-pooling", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type + >; + +export type RemoveProjectEnvContentHint7 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType = + { + PostgresUrl: "postgres-url", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType + >; + +export type RemoveProjectEnvContentHint6 = { + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType = + { + BlobReadWriteToken: "blob-read-write-token", + } as const; +export type RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType = + ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType + >; + +export type RemoveProjectEnvContentHint5 = { + type: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponse200Type = { + RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", +} as const; +export type RemoveProjectEnvContentHintProjectsResponse200Type = ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200Type +>; + +export type RemoveProjectEnvContentHint4 = { + type: RemoveProjectEnvContentHintProjectsResponse200Type; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsResponseType = { + RedisRestApiToken: "redis-rest-api-token", +} as const; +export type RemoveProjectEnvContentHintProjectsResponseType = ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsResponseType +>; + +export type RemoveProjectEnvContentHint3 = { + type: RemoveProjectEnvContentHintProjectsResponseType; + storeId: string; +}; + +export const RemoveProjectEnvContentHintProjectsType = { + RedisRestApiUrl: "redis-rest-api-url", +} as const; +export type RemoveProjectEnvContentHintProjectsType = ClosedEnum< + typeof RemoveProjectEnvContentHintProjectsType +>; + +export type RemoveProjectEnvContentHint2 = { + type: RemoveProjectEnvContentHintProjectsType; + storeId: string; +}; + +export const RemoveProjectEnvContentHintType = { + RedisUrl: "redis-url", +} as const; +export type RemoveProjectEnvContentHintType = ClosedEnum< + typeof RemoveProjectEnvContentHintType +>; + +export type RemoveProjectEnvContentHint1 = { + type: RemoveProjectEnvContentHintType; + storeId: string; +}; + +export type RemoveProjectEnvResponseBodyContentHint = + | RemoveProjectEnvContentHint1 + | RemoveProjectEnvContentHint2 + | RemoveProjectEnvContentHint3 + | RemoveProjectEnvContentHint4 + | RemoveProjectEnvContentHint5 + | RemoveProjectEnvContentHint6 + | RemoveProjectEnvContentHint7 + | RemoveProjectEnvContentHint8 + | RemoveProjectEnvContentHint9 + | RemoveProjectEnvContentHint10 + | RemoveProjectEnvContentHint11 + | RemoveProjectEnvContentHint12 + | RemoveProjectEnvContentHint13 + | RemoveProjectEnvContentHint15 + | RemoveProjectEnvContentHint14; + +export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType = + { + FlagsSecret: "flags-secret", + } as const; +export type RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType = + ClosedEnum< + typeof RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType + >; + +/** + * Similar to `contentHints`, but should not be exposed to the user. + */ +export type RemoveProjectEnvResponseBodyInternalContentHint = { + type: RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType; + /** + * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. + */ + encryptedValue: string; +}; + +export type RemoveProjectEnvResponseBody1 = { + target?: Array | RemoveProjectEnvTarget2 | undefined; + type: RemoveProjectEnvResponseBodyType; + /** + * This is used to identiy variables that have been migrated from type secret to sensitive. + */ + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | RemoveProjectEnvContentHint1 + | RemoveProjectEnvContentHint2 + | RemoveProjectEnvContentHint3 + | RemoveProjectEnvContentHint4 + | RemoveProjectEnvContentHint5 + | RemoveProjectEnvContentHint6 + | RemoveProjectEnvContentHint7 + | RemoveProjectEnvContentHint8 + | RemoveProjectEnvContentHint9 + | RemoveProjectEnvContentHint10 + | RemoveProjectEnvContentHint11 + | RemoveProjectEnvContentHint12 + | RemoveProjectEnvContentHint13 + | RemoveProjectEnvContentHint15 + | RemoveProjectEnvContentHint14 + | null + | undefined; + /** + * Similar to `contentHints`, but should not be exposed to the user. + */ + internalContentHint?: + | RemoveProjectEnvResponseBodyInternalContentHint + | null + | undefined; + /** + * Whether `value` and `vsmValue` are decrypted. + */ + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +/** + * The environment variable was successfully removed + */ +export type RemoveProjectEnvResponseBody = + | RemoveProjectEnvResponseBody3 + | RemoveProjectEnvResponseBody2 + | Array; + +/** @internal */ +export const RemoveProjectEnvRequest$inboundSchema: z.ZodType< + RemoveProjectEnvRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type RemoveProjectEnvRequest$Outbound = { + idOrName: string; + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const RemoveProjectEnvRequest$outboundSchema: z.ZodType< + RemoveProjectEnvRequest$Outbound, + z.ZodTypeDef, + RemoveProjectEnvRequest +> = z.object({ + idOrName: z.string(), + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvRequest$ { + /** @deprecated use `RemoveProjectEnvRequest$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvRequest$inboundSchema; + /** @deprecated use `RemoveProjectEnvRequest$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvRequest$outboundSchema; + /** @deprecated use `RemoveProjectEnvRequest$Outbound` instead. */ + export type Outbound = RemoveProjectEnvRequest$Outbound; +} + +export function removeProjectEnvRequestToJSON( + removeProjectEnvRequest: RemoveProjectEnvRequest, +): string { + return JSON.stringify( + RemoveProjectEnvRequest$outboundSchema.parse(removeProjectEnvRequest), + ); +} + +export function removeProjectEnvRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvRequest' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvTargetProjectsResponse2$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(RemoveProjectEnvTargetProjectsResponse2); + +/** @internal */ +export const RemoveProjectEnvTargetProjectsResponse2$outboundSchema: + z.ZodNativeEnum = + RemoveProjectEnvTargetProjectsResponse2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvTargetProjectsResponse2$ { + /** @deprecated use `RemoveProjectEnvTargetProjectsResponse2$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvTargetProjectsResponse2$inboundSchema; + /** @deprecated use `RemoveProjectEnvTargetProjectsResponse2$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvTargetProjectsResponse2$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvTargetProjectsResponse1$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(RemoveProjectEnvTargetProjectsResponse1); + +/** @internal */ +export const RemoveProjectEnvTargetProjectsResponse1$outboundSchema: + z.ZodNativeEnum = + RemoveProjectEnvTargetProjectsResponse1$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvTargetProjectsResponse1$ { + /** @deprecated use `RemoveProjectEnvTargetProjectsResponse1$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvTargetProjectsResponse1$inboundSchema; + /** @deprecated use `RemoveProjectEnvTargetProjectsResponse1$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvTargetProjectsResponse1$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsResponseTarget$inboundSchema: + z.ZodType< + RemoveProjectEnvResponseBodyProjectsResponseTarget, + z.ZodTypeDef, + unknown + > = z.union([ + z.array(RemoveProjectEnvTargetProjectsResponse1$inboundSchema), + RemoveProjectEnvTargetProjectsResponse2$inboundSchema, + ]); + +/** @internal */ +export type RemoveProjectEnvResponseBodyProjectsResponseTarget$Outbound = + | Array + | string; + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsResponseTarget$outboundSchema: + z.ZodType< + RemoveProjectEnvResponseBodyProjectsResponseTarget$Outbound, + z.ZodTypeDef, + RemoveProjectEnvResponseBodyProjectsResponseTarget + > = z.union([ + z.array(RemoveProjectEnvTargetProjectsResponse1$outboundSchema), + RemoveProjectEnvTargetProjectsResponse2$outboundSchema, + ]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBodyProjectsResponseTarget$ { + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseTarget$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvResponseBodyProjectsResponseTarget$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseTarget$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvResponseBodyProjectsResponseTarget$outboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseTarget$Outbound` instead. */ + export type Outbound = + RemoveProjectEnvResponseBodyProjectsResponseTarget$Outbound; +} + +export function removeProjectEnvResponseBodyProjectsResponseTargetToJSON( + removeProjectEnvResponseBodyProjectsResponseTarget: + RemoveProjectEnvResponseBodyProjectsResponseTarget, +): string { + return JSON.stringify( + RemoveProjectEnvResponseBodyProjectsResponseTarget$outboundSchema.parse( + removeProjectEnvResponseBodyProjectsResponseTarget, + ), + ); +} + +export function removeProjectEnvResponseBodyProjectsResponseTargetFromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvResponseBodyProjectsResponseTarget, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvResponseBodyProjectsResponseTarget$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvResponseBodyProjectsResponseTarget' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(RemoveProjectEnvResponseBodyProjectsResponseType); + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsResponseType$outboundSchema: + z.ZodNativeEnum = + RemoveProjectEnvResponseBodyProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBodyProjectsResponseType$ { + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvResponseBodyProjectsResponseType$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvResponseBodyProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse15$inboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse15, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema, + projectId: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvContentHintProjectsResponse15$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse15$outboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse15$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjectsResponse15 + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema, + projectId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse15$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse15$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse15$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse15$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse15$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse15$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjectsResponse15$Outbound; +} + +export function removeProjectEnvContentHintProjectsResponse15ToJSON( + removeProjectEnvContentHintProjectsResponse15: + RemoveProjectEnvContentHintProjectsResponse15, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjectsResponse15$outboundSchema.parse( + removeProjectEnvContentHintProjectsResponse15, + ), + ); +} + +export function removeProjectEnvContentHintProjectsResponse15FromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvContentHintProjectsResponse15, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjectsResponse15$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse15' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse14$inboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse14, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$inboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvContentHintProjectsResponse14$Outbound = { + type: string; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse14$outboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse14$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjectsResponse14 + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse14$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse14$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse14$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse14$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse14$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse14$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjectsResponse14$Outbound; +} + +export function removeProjectEnvContentHintProjectsResponse14ToJSON( + removeProjectEnvContentHintProjectsResponse14: + RemoveProjectEnvContentHintProjectsResponse14, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjectsResponse14$outboundSchema.parse( + removeProjectEnvContentHintProjectsResponse14, + ), + ); +} + +export function removeProjectEnvContentHintProjectsResponse14FromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvContentHintProjectsResponse14, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjectsResponse14$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse14' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse13$inboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse13, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvContentHintProjectsResponse13$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse13$outboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse13$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjectsResponse13 + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse13$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse13$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse13$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse13$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse13$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse13$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjectsResponse13$Outbound; +} + +export function removeProjectEnvContentHintProjectsResponse13ToJSON( + removeProjectEnvContentHintProjectsResponse13: + RemoveProjectEnvContentHintProjectsResponse13, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjectsResponse13$outboundSchema.parse( + removeProjectEnvContentHintProjectsResponse13, + ), + ); +} + +export function removeProjectEnvContentHintProjectsResponse13FromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvContentHintProjectsResponse13, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjectsResponse13$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse13' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse12$inboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse12, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvContentHintProjectsResponse12$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse12$outboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse12$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjectsResponse12 + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse12$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse12$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse12$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse12$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse12$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse12$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjectsResponse12$Outbound; +} + +export function removeProjectEnvContentHintProjectsResponse12ToJSON( + removeProjectEnvContentHintProjectsResponse12: + RemoveProjectEnvContentHintProjectsResponse12, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjectsResponse12$outboundSchema.parse( + removeProjectEnvContentHintProjectsResponse12, + ), + ); +} + +export function removeProjectEnvContentHintProjectsResponse12FromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvContentHintProjectsResponse12, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjectsResponse12$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse12' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse11$inboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse11, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvContentHintProjectsResponse11$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse11$outboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse11$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjectsResponse11 + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse11$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse11$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse11$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse11$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse11$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse11$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjectsResponse11$Outbound; +} + +export function removeProjectEnvContentHintProjectsResponse11ToJSON( + removeProjectEnvContentHintProjectsResponse11: + RemoveProjectEnvContentHintProjectsResponse11, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjectsResponse11$outboundSchema.parse( + removeProjectEnvContentHintProjectsResponse11, + ), + ); +} + +export function removeProjectEnvContentHintProjectsResponse11FromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvContentHintProjectsResponse11, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjectsResponse11$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse11' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse10$inboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse10, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvContentHintProjectsResponse10$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse10$outboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse10$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjectsResponse10 + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse10$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse10$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse10$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse10$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse10$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse10$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjectsResponse10$Outbound; +} + +export function removeProjectEnvContentHintProjectsResponse10ToJSON( + removeProjectEnvContentHintProjectsResponse10: + RemoveProjectEnvContentHintProjectsResponse10, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjectsResponse10$outboundSchema.parse( + removeProjectEnvContentHintProjectsResponse10, + ), + ); +} + +export function removeProjectEnvContentHintProjectsResponse10FromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvContentHintProjectsResponse10, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjectsResponse10$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse10' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse9$inboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse9, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvContentHintProjectsResponse9$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse9$outboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse9$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjectsResponse9 + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse9$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse9$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse9$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse9$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse9$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse9$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjectsResponse9$Outbound; +} + +export function removeProjectEnvContentHintProjectsResponse9ToJSON( + removeProjectEnvContentHintProjectsResponse9: + RemoveProjectEnvContentHintProjectsResponse9, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjectsResponse9$outboundSchema.parse( + removeProjectEnvContentHintProjectsResponse9, + ), + ); +} + +export function removeProjectEnvContentHintProjectsResponse9FromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvContentHintProjectsResponse9, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjectsResponse9$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse9' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse8$inboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse8, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvContentHintProjectsResponse8$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse8$outboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse8$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjectsResponse8 + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse8$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse8$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse8$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse8$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse8$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse8$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjectsResponse8$Outbound; +} + +export function removeProjectEnvContentHintProjectsResponse8ToJSON( + removeProjectEnvContentHintProjectsResponse8: + RemoveProjectEnvContentHintProjectsResponse8, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjectsResponse8$outboundSchema.parse( + removeProjectEnvContentHintProjectsResponse8, + ), + ); +} + +export function removeProjectEnvContentHintProjectsResponse8FromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvContentHintProjectsResponse8, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjectsResponse8$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse8' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse7$inboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse7, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvContentHintProjectsResponse7$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse7$outboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse7$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjectsResponse7 + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse7$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse7$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse7$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse7$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse7$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse7$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjectsResponse7$Outbound; +} + +export function removeProjectEnvContentHintProjectsResponse7ToJSON( + removeProjectEnvContentHintProjectsResponse7: + RemoveProjectEnvContentHintProjectsResponse7, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjectsResponse7$outboundSchema.parse( + removeProjectEnvContentHintProjectsResponse7, + ), + ); +} + +export function removeProjectEnvContentHintProjectsResponse7FromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvContentHintProjectsResponse7, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjectsResponse7$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse7' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse6$inboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse6, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvContentHintProjectsResponse6$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse6$outboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse6$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjectsResponse6 + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse6$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse6$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse6$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse6$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse6$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse6$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjectsResponse6$Outbound; +} + +export function removeProjectEnvContentHintProjectsResponse6ToJSON( + removeProjectEnvContentHintProjectsResponse6: + RemoveProjectEnvContentHintProjectsResponse6, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjectsResponse6$outboundSchema.parse( + removeProjectEnvContentHintProjectsResponse6, + ), + ); +} + +export function removeProjectEnvContentHintProjectsResponse6FromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvContentHintProjectsResponse6, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjectsResponse6$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse6' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse5$inboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse5, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvContentHintProjectsResponse5$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse5$outboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse5$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjectsResponse5 + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse5$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse5$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse5$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse5$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse5$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse5$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjectsResponse5$Outbound; +} + +export function removeProjectEnvContentHintProjectsResponse5ToJSON( + removeProjectEnvContentHintProjectsResponse5: + RemoveProjectEnvContentHintProjectsResponse5, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjectsResponse5$outboundSchema.parse( + removeProjectEnvContentHintProjectsResponse5, + ), + ); +} + +export function removeProjectEnvContentHintProjectsResponse5FromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvContentHintProjectsResponse5, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjectsResponse5$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse5' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse4$inboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse4, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvContentHintProjectsResponse4$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse4$outboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse4$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjectsResponse4 + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse4$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse4$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse4$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse4$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse4$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse4$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjectsResponse4$Outbound; +} + +export function removeProjectEnvContentHintProjectsResponse4ToJSON( + removeProjectEnvContentHintProjectsResponse4: + RemoveProjectEnvContentHintProjectsResponse4, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjectsResponse4$outboundSchema.parse( + removeProjectEnvContentHintProjectsResponse4, + ), + ); +} + +export function removeProjectEnvContentHintProjectsResponse4FromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvContentHintProjectsResponse4, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjectsResponse4$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse4' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse3$inboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse3, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvContentHintProjectsResponse3$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse3$outboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse3$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjectsResponse3 + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse3$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse3$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse3$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse3$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse3$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse3$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjectsResponse3$Outbound; +} + +export function removeProjectEnvContentHintProjectsResponse3ToJSON( + removeProjectEnvContentHintProjectsResponse3: + RemoveProjectEnvContentHintProjectsResponse3, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjectsResponse3$outboundSchema.parse( + removeProjectEnvContentHintProjectsResponse3, + ), + ); +} + +export function removeProjectEnvContentHintProjectsResponse3FromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvContentHintProjectsResponse3, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjectsResponse3$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse3' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse2$inboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse2, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvContentHintProjectsResponse2$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse2$outboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse2$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjectsResponse2 + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse2$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse2$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse2$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse2$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse2$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse2$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjectsResponse2$Outbound; +} + +export function removeProjectEnvContentHintProjectsResponse2ToJSON( + removeProjectEnvContentHintProjectsResponse2: + RemoveProjectEnvContentHintProjectsResponse2, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjectsResponse2$outboundSchema.parse( + removeProjectEnvContentHintProjectsResponse2, + ), + ); +} + +export function removeProjectEnvContentHintProjectsResponse2FromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvContentHintProjectsResponse2, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjectsResponse2$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse2' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse1$inboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse1, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvContentHintProjectsResponse1$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse1$outboundSchema: + z.ZodType< + RemoveProjectEnvContentHintProjectsResponse1$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjectsResponse1 + > = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema, + storeId: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse1$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse1$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse1$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse1$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse1$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse1$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjectsResponse1$Outbound; +} + +export function removeProjectEnvContentHintProjectsResponse1ToJSON( + removeProjectEnvContentHintProjectsResponse1: + RemoveProjectEnvContentHintProjectsResponse1, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjectsResponse1$outboundSchema.parse( + removeProjectEnvContentHintProjectsResponse1, + ), + ); +} + +export function removeProjectEnvContentHintProjectsResponse1FromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvContentHintProjectsResponse1, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjectsResponse1$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvContentHintProjectsResponse1' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema: + z.ZodType< + RemoveProjectEnvResponseBodyProjectsResponseContentHint, + z.ZodTypeDef, + unknown + > = z.union([ + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse1$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse2$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse3$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse4$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse5$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse6$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse7$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse8$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse9$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse10$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse11$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse12$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse13$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse15$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse14$inboundSchema), + ]); + +/** @internal */ +export type RemoveProjectEnvResponseBodyProjectsResponseContentHint$Outbound = + | RemoveProjectEnvContentHintProjectsResponse1$Outbound + | RemoveProjectEnvContentHintProjectsResponse2$Outbound + | RemoveProjectEnvContentHintProjectsResponse3$Outbound + | RemoveProjectEnvContentHintProjectsResponse4$Outbound + | RemoveProjectEnvContentHintProjectsResponse5$Outbound + | RemoveProjectEnvContentHintProjectsResponse6$Outbound + | RemoveProjectEnvContentHintProjectsResponse7$Outbound + | RemoveProjectEnvContentHintProjectsResponse8$Outbound + | RemoveProjectEnvContentHintProjectsResponse9$Outbound + | RemoveProjectEnvContentHintProjectsResponse10$Outbound + | RemoveProjectEnvContentHintProjectsResponse11$Outbound + | RemoveProjectEnvContentHintProjectsResponse12$Outbound + | RemoveProjectEnvContentHintProjectsResponse13$Outbound + | RemoveProjectEnvContentHintProjectsResponse15$Outbound + | RemoveProjectEnvContentHintProjectsResponse14$Outbound; + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema: + z.ZodType< + RemoveProjectEnvResponseBodyProjectsResponseContentHint$Outbound, + z.ZodTypeDef, + RemoveProjectEnvResponseBodyProjectsResponseContentHint + > = z.union([ + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse1$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse2$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse3$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse4$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse5$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse6$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse7$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse8$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse9$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse10$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse11$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse12$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse13$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse15$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse14$outboundSchema), + ]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBodyProjectsResponseContentHint$ { + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseContentHint$Outbound` instead. */ + export type Outbound = + RemoveProjectEnvResponseBodyProjectsResponseContentHint$Outbound; +} + +export function removeProjectEnvResponseBodyProjectsResponseContentHintToJSON( + removeProjectEnvResponseBodyProjectsResponseContentHint: + RemoveProjectEnvResponseBodyProjectsResponseContentHint, +): string { + return JSON.stringify( + RemoveProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema + .parse(removeProjectEnvResponseBodyProjectsResponseContentHint), + ); +} + +export function removeProjectEnvResponseBodyProjectsResponseContentHintFromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvResponseBodyProjectsResponseContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema + .parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvResponseBodyProjectsResponseContentHint' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type + > = z.nativeEnum( + RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type, + ); + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type + > = + RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$ { + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema: + z.ZodType< + RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema, + encryptedValue: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound = + { + type: string; + encryptedValue: string; + }; + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema: + z.ZodType< + RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound, + z.ZodTypeDef, + RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint + > = z.object({ + type: + RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema, + encryptedValue: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$ { + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound` instead. */ + export type Outbound = + RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound; +} + +export function removeProjectEnvResponseBodyProjectsResponseInternalContentHintToJSON( + removeProjectEnvResponseBodyProjectsResponseInternalContentHint: + RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint, +): string { + return JSON.stringify( + RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema + .parse(removeProjectEnvResponseBodyProjectsResponseInternalContentHint), + ); +} + +export function removeProjectEnvResponseBodyProjectsResponseInternalContentHintFromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema + .parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvResponseBody3$inboundSchema: z.ZodType< + RemoveProjectEnvResponseBody3, + z.ZodTypeDef, + unknown +> = z.object({ + target: z.union([ + z.array(RemoveProjectEnvTargetProjectsResponse1$inboundSchema), + RemoveProjectEnvTargetProjectsResponse2$inboundSchema, + ]).optional(), + type: RemoveProjectEnvResponseBodyProjectsResponseType$inboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse1$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse2$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse3$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse4$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse5$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse6$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse7$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse8$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse9$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse10$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse11$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse12$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse13$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse15$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse14$inboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => + RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema + ), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), +}); + +/** @internal */ +export type RemoveProjectEnvResponseBody3$Outbound = { + target?: Array | string | undefined; + type: string; + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | RemoveProjectEnvContentHintProjectsResponse1$Outbound + | RemoveProjectEnvContentHintProjectsResponse2$Outbound + | RemoveProjectEnvContentHintProjectsResponse3$Outbound + | RemoveProjectEnvContentHintProjectsResponse4$Outbound + | RemoveProjectEnvContentHintProjectsResponse5$Outbound + | RemoveProjectEnvContentHintProjectsResponse6$Outbound + | RemoveProjectEnvContentHintProjectsResponse7$Outbound + | RemoveProjectEnvContentHintProjectsResponse8$Outbound + | RemoveProjectEnvContentHintProjectsResponse9$Outbound + | RemoveProjectEnvContentHintProjectsResponse10$Outbound + | RemoveProjectEnvContentHintProjectsResponse11$Outbound + | RemoveProjectEnvContentHintProjectsResponse12$Outbound + | RemoveProjectEnvContentHintProjectsResponse13$Outbound + | RemoveProjectEnvContentHintProjectsResponse15$Outbound + | RemoveProjectEnvContentHintProjectsResponse14$Outbound + | null + | undefined; + internalContentHint?: + | RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound + | null + | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +/** @internal */ +export const RemoveProjectEnvResponseBody3$outboundSchema: z.ZodType< + RemoveProjectEnvResponseBody3$Outbound, + z.ZodTypeDef, + RemoveProjectEnvResponseBody3 +> = z.object({ + target: z.union([ + z.array(RemoveProjectEnvTargetProjectsResponse1$outboundSchema), + RemoveProjectEnvTargetProjectsResponse2$outboundSchema, + ]).optional(), + type: RemoveProjectEnvResponseBodyProjectsResponseType$outboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse1$outboundSchema), + z.lazy(() => + RemoveProjectEnvContentHintProjectsResponse2$outboundSchema + ), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse3$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse4$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse5$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse6$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse7$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse8$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse9$outboundSchema), + z.lazy(() => + RemoveProjectEnvContentHintProjectsResponse10$outboundSchema + ), + z.lazy(() => + RemoveProjectEnvContentHintProjectsResponse11$outboundSchema + ), + z.lazy(() => + RemoveProjectEnvContentHintProjectsResponse12$outboundSchema + ), + z.lazy(() => + RemoveProjectEnvContentHintProjectsResponse13$outboundSchema + ), + z.lazy(() => + RemoveProjectEnvContentHintProjectsResponse15$outboundSchema + ), + z.lazy(() => + RemoveProjectEnvContentHintProjectsResponse14$outboundSchema + ), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => + RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$outboundSchema + ), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBody3$ { + /** @deprecated use `RemoveProjectEnvResponseBody3$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvResponseBody3$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBody3$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvResponseBody3$outboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBody3$Outbound` instead. */ + export type Outbound = RemoveProjectEnvResponseBody3$Outbound; +} + +export function removeProjectEnvResponseBody3ToJSON( + removeProjectEnvResponseBody3: RemoveProjectEnvResponseBody3, +): string { + return JSON.stringify( + RemoveProjectEnvResponseBody3$outboundSchema.parse( + removeProjectEnvResponseBody3, + ), + ); +} + +export function removeProjectEnvResponseBody3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvResponseBody3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvResponseBody3' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvTargetProjects2$inboundSchema: z.ZodNativeEnum< + typeof RemoveProjectEnvTargetProjects2 +> = z.nativeEnum(RemoveProjectEnvTargetProjects2); + +/** @internal */ +export const RemoveProjectEnvTargetProjects2$outboundSchema: z.ZodNativeEnum< + typeof RemoveProjectEnvTargetProjects2 +> = RemoveProjectEnvTargetProjects2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvTargetProjects2$ { + /** @deprecated use `RemoveProjectEnvTargetProjects2$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvTargetProjects2$inboundSchema; + /** @deprecated use `RemoveProjectEnvTargetProjects2$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvTargetProjects2$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvTargetProjects1$inboundSchema: z.ZodNativeEnum< + typeof RemoveProjectEnvTargetProjects1 +> = z.nativeEnum(RemoveProjectEnvTargetProjects1); + +/** @internal */ +export const RemoveProjectEnvTargetProjects1$outboundSchema: z.ZodNativeEnum< + typeof RemoveProjectEnvTargetProjects1 +> = RemoveProjectEnvTargetProjects1$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvTargetProjects1$ { + /** @deprecated use `RemoveProjectEnvTargetProjects1$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvTargetProjects1$inboundSchema; + /** @deprecated use `RemoveProjectEnvTargetProjects1$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvTargetProjects1$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsTarget$inboundSchema: + z.ZodType = + z.union([ + z.array(RemoveProjectEnvTargetProjects1$inboundSchema), + RemoveProjectEnvTargetProjects2$inboundSchema, + ]); + +/** @internal */ +export type RemoveProjectEnvResponseBodyProjectsTarget$Outbound = + | Array + | string; + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsTarget$outboundSchema: + z.ZodType< + RemoveProjectEnvResponseBodyProjectsTarget$Outbound, + z.ZodTypeDef, + RemoveProjectEnvResponseBodyProjectsTarget + > = z.union([ + z.array(RemoveProjectEnvTargetProjects1$outboundSchema), + RemoveProjectEnvTargetProjects2$outboundSchema, + ]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBodyProjectsTarget$ { + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsTarget$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvResponseBodyProjectsTarget$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsTarget$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvResponseBodyProjectsTarget$outboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsTarget$Outbound` instead. */ + export type Outbound = RemoveProjectEnvResponseBodyProjectsTarget$Outbound; +} + +export function removeProjectEnvResponseBodyProjectsTargetToJSON( + removeProjectEnvResponseBodyProjectsTarget: + RemoveProjectEnvResponseBodyProjectsTarget, +): string { + return JSON.stringify( + RemoveProjectEnvResponseBodyProjectsTarget$outboundSchema.parse( + removeProjectEnvResponseBodyProjectsTarget, + ), + ); +} + +export function removeProjectEnvResponseBodyProjectsTargetFromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvResponseBodyProjectsTarget, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvResponseBodyProjectsTarget$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvResponseBodyProjectsTarget' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(RemoveProjectEnvResponseBodyProjectsType); + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsType$outboundSchema: + z.ZodNativeEnum = + RemoveProjectEnvResponseBodyProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBodyProjectsType$ { + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsType$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvResponseBodyProjectsType$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsType$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvResponseBodyProjectsType$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjects15$inboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects15, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema, + projectId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHintProjects15$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjects15$outboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects15$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjects15 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjects15$ { + /** @deprecated use `RemoveProjectEnvContentHintProjects15$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjects15$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects15$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjects15$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects15$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjects15$Outbound; +} + +export function removeProjectEnvContentHintProjects15ToJSON( + removeProjectEnvContentHintProjects15: RemoveProjectEnvContentHintProjects15, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjects15$outboundSchema.parse( + removeProjectEnvContentHintProjects15, + ), + ); +} + +export function removeProjectEnvContentHintProjects15FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjects15$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHintProjects15' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjects14$inboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects14, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$inboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHintProjects14$Outbound = { + type: string; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjects14$outboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects14$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjects14 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjects14$ { + /** @deprecated use `RemoveProjectEnvContentHintProjects14$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjects14$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects14$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjects14$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects14$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjects14$Outbound; +} + +export function removeProjectEnvContentHintProjects14ToJSON( + removeProjectEnvContentHintProjects14: RemoveProjectEnvContentHintProjects14, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjects14$outboundSchema.parse( + removeProjectEnvContentHintProjects14, + ), + ); +} + +export function removeProjectEnvContentHintProjects14FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjects14$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHintProjects14' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjects13$inboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects13, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHintProjects13$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjects13$outboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects13$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjects13 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjects13$ { + /** @deprecated use `RemoveProjectEnvContentHintProjects13$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjects13$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects13$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjects13$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects13$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjects13$Outbound; +} + +export function removeProjectEnvContentHintProjects13ToJSON( + removeProjectEnvContentHintProjects13: RemoveProjectEnvContentHintProjects13, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjects13$outboundSchema.parse( + removeProjectEnvContentHintProjects13, + ), + ); +} + +export function removeProjectEnvContentHintProjects13FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjects13$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHintProjects13' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjects12$inboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects12, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHintProjects12$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjects12$outboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects12$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjects12 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjects12$ { + /** @deprecated use `RemoveProjectEnvContentHintProjects12$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjects12$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects12$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjects12$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects12$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjects12$Outbound; +} + +export function removeProjectEnvContentHintProjects12ToJSON( + removeProjectEnvContentHintProjects12: RemoveProjectEnvContentHintProjects12, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjects12$outboundSchema.parse( + removeProjectEnvContentHintProjects12, + ), + ); +} + +export function removeProjectEnvContentHintProjects12FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjects12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHintProjects12' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjects11$inboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects11, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHintProjects11$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjects11$outboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects11$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjects11 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjects11$ { + /** @deprecated use `RemoveProjectEnvContentHintProjects11$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjects11$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects11$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjects11$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects11$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjects11$Outbound; +} + +export function removeProjectEnvContentHintProjects11ToJSON( + removeProjectEnvContentHintProjects11: RemoveProjectEnvContentHintProjects11, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjects11$outboundSchema.parse( + removeProjectEnvContentHintProjects11, + ), + ); +} + +export function removeProjectEnvContentHintProjects11FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjects11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHintProjects11' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjects10$inboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects10, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHintProjects10$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjects10$outboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects10$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjects10 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjects10$ { + /** @deprecated use `RemoveProjectEnvContentHintProjects10$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjects10$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects10$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjects10$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects10$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjects10$Outbound; +} + +export function removeProjectEnvContentHintProjects10ToJSON( + removeProjectEnvContentHintProjects10: RemoveProjectEnvContentHintProjects10, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjects10$outboundSchema.parse( + removeProjectEnvContentHintProjects10, + ), + ); +} + +export function removeProjectEnvContentHintProjects10FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjects10$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHintProjects10' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjects9$inboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHintProjects9$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjects9$outboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects9$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjects9 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjects9$ { + /** @deprecated use `RemoveProjectEnvContentHintProjects9$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjects9$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects9$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjects9$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects9$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjects9$Outbound; +} + +export function removeProjectEnvContentHintProjects9ToJSON( + removeProjectEnvContentHintProjects9: RemoveProjectEnvContentHintProjects9, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjects9$outboundSchema.parse( + removeProjectEnvContentHintProjects9, + ), + ); +} + +export function removeProjectEnvContentHintProjects9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjects9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHintProjects9' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjects8$inboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHintProjects8$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjects8$outboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects8$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjects8 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjects8$ { + /** @deprecated use `RemoveProjectEnvContentHintProjects8$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjects8$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects8$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjects8$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects8$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjects8$Outbound; +} + +export function removeProjectEnvContentHintProjects8ToJSON( + removeProjectEnvContentHintProjects8: RemoveProjectEnvContentHintProjects8, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjects8$outboundSchema.parse( + removeProjectEnvContentHintProjects8, + ), + ); +} + +export function removeProjectEnvContentHintProjects8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjects8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHintProjects8' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjects7$inboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHintProjects7$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjects7$outboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects7$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjects7 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjects7$ { + /** @deprecated use `RemoveProjectEnvContentHintProjects7$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjects7$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects7$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjects7$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects7$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjects7$Outbound; +} + +export function removeProjectEnvContentHintProjects7ToJSON( + removeProjectEnvContentHintProjects7: RemoveProjectEnvContentHintProjects7, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjects7$outboundSchema.parse( + removeProjectEnvContentHintProjects7, + ), + ); +} + +export function removeProjectEnvContentHintProjects7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjects7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHintProjects7' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjects6$inboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHintProjects6$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjects6$outboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects6$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjects6 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjects6$ { + /** @deprecated use `RemoveProjectEnvContentHintProjects6$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjects6$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects6$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjects6$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects6$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjects6$Outbound; +} + +export function removeProjectEnvContentHintProjects6ToJSON( + removeProjectEnvContentHintProjects6: RemoveProjectEnvContentHintProjects6, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjects6$outboundSchema.parse( + removeProjectEnvContentHintProjects6, + ), + ); +} + +export function removeProjectEnvContentHintProjects6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjects6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHintProjects6' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjects5$inboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects5, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHintProjects5$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjects5$outboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects5$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjects5 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjects5$ { + /** @deprecated use `RemoveProjectEnvContentHintProjects5$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjects5$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects5$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjects5$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects5$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjects5$Outbound; +} + +export function removeProjectEnvContentHintProjects5ToJSON( + removeProjectEnvContentHintProjects5: RemoveProjectEnvContentHintProjects5, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjects5$outboundSchema.parse( + removeProjectEnvContentHintProjects5, + ), + ); +} + +export function removeProjectEnvContentHintProjects5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjects5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHintProjects5' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjects4$inboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects4, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHintProjects4$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjects4$outboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects4$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjects4 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjects4$ { + /** @deprecated use `RemoveProjectEnvContentHintProjects4$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjects4$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects4$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjects4$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects4$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjects4$Outbound; +} + +export function removeProjectEnvContentHintProjects4ToJSON( + removeProjectEnvContentHintProjects4: RemoveProjectEnvContentHintProjects4, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjects4$outboundSchema.parse( + removeProjectEnvContentHintProjects4, + ), + ); +} + +export function removeProjectEnvContentHintProjects4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjects4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHintProjects4' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjects3$inboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects3, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHintProjects3$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjects3$outboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects3$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjects3 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjects3$ { + /** @deprecated use `RemoveProjectEnvContentHintProjects3$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjects3$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects3$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjects3$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects3$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjects3$Outbound; +} + +export function removeProjectEnvContentHintProjects3ToJSON( + removeProjectEnvContentHintProjects3: RemoveProjectEnvContentHintProjects3, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjects3$outboundSchema.parse( + removeProjectEnvContentHintProjects3, + ), + ); +} + +export function removeProjectEnvContentHintProjects3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjects3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHintProjects3' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjects2$inboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects2, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHintProjects2$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjects2$outboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects2$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjects2 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjects2$ { + /** @deprecated use `RemoveProjectEnvContentHintProjects2$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjects2$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects2$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjects2$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects2$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjects2$Outbound; +} + +export function removeProjectEnvContentHintProjects2ToJSON( + removeProjectEnvContentHintProjects2: RemoveProjectEnvContentHintProjects2, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjects2$outboundSchema.parse( + removeProjectEnvContentHintProjects2, + ), + ); +} + +export function removeProjectEnvContentHintProjects2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjects2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHintProjects2' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjects1$inboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects1, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHintProjects1$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHintProjects1$outboundSchema: z.ZodType< + RemoveProjectEnvContentHintProjects1$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHintProjects1 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjects1$ { + /** @deprecated use `RemoveProjectEnvContentHintProjects1$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjects1$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects1$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjects1$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjects1$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHintProjects1$Outbound; +} + +export function removeProjectEnvContentHintProjects1ToJSON( + removeProjectEnvContentHintProjects1: RemoveProjectEnvContentHintProjects1, +): string { + return JSON.stringify( + RemoveProjectEnvContentHintProjects1$outboundSchema.parse( + removeProjectEnvContentHintProjects1, + ), + ); +} + +export function removeProjectEnvContentHintProjects1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvContentHintProjects1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHintProjects1' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsContentHint$inboundSchema: + z.ZodType< + RemoveProjectEnvResponseBodyProjectsContentHint, + z.ZodTypeDef, + unknown + > = z.union([ + z.lazy(() => RemoveProjectEnvContentHintProjects1$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects2$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects3$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects4$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects5$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects6$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects7$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects8$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects9$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects10$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects11$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects12$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects13$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects15$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects14$inboundSchema), + ]); + +/** @internal */ +export type RemoveProjectEnvResponseBodyProjectsContentHint$Outbound = + | RemoveProjectEnvContentHintProjects1$Outbound + | RemoveProjectEnvContentHintProjects2$Outbound + | RemoveProjectEnvContentHintProjects3$Outbound + | RemoveProjectEnvContentHintProjects4$Outbound + | RemoveProjectEnvContentHintProjects5$Outbound + | RemoveProjectEnvContentHintProjects6$Outbound + | RemoveProjectEnvContentHintProjects7$Outbound + | RemoveProjectEnvContentHintProjects8$Outbound + | RemoveProjectEnvContentHintProjects9$Outbound + | RemoveProjectEnvContentHintProjects10$Outbound + | RemoveProjectEnvContentHintProjects11$Outbound + | RemoveProjectEnvContentHintProjects12$Outbound + | RemoveProjectEnvContentHintProjects13$Outbound + | RemoveProjectEnvContentHintProjects15$Outbound + | RemoveProjectEnvContentHintProjects14$Outbound; + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsContentHint$outboundSchema: + z.ZodType< + RemoveProjectEnvResponseBodyProjectsContentHint$Outbound, + z.ZodTypeDef, + RemoveProjectEnvResponseBodyProjectsContentHint + > = z.union([ + z.lazy(() => RemoveProjectEnvContentHintProjects1$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects2$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects3$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects4$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects5$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects6$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects7$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects8$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects9$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects10$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects11$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects12$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects13$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects15$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects14$outboundSchema), + ]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBodyProjectsContentHint$ { + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsContentHint$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvResponseBodyProjectsContentHint$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsContentHint$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvResponseBodyProjectsContentHint$outboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsContentHint$Outbound` instead. */ + export type Outbound = + RemoveProjectEnvResponseBodyProjectsContentHint$Outbound; +} + +export function removeProjectEnvResponseBodyProjectsContentHintToJSON( + removeProjectEnvResponseBodyProjectsContentHint: + RemoveProjectEnvResponseBodyProjectsContentHint, +): string { + return JSON.stringify( + RemoveProjectEnvResponseBodyProjectsContentHint$outboundSchema.parse( + removeProjectEnvResponseBodyProjectsContentHint, + ), + ); +} + +export function removeProjectEnvResponseBodyProjectsContentHintFromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvResponseBodyProjectsContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvResponseBodyProjectsContentHint$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvResponseBodyProjectsContentHint' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsResponse200Type$inboundSchema: + z.ZodNativeEnum = + z.nativeEnum(RemoveProjectEnvResponseBodyProjectsResponse200Type); + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsResponse200Type$outboundSchema: + z.ZodNativeEnum = + RemoveProjectEnvResponseBodyProjectsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBodyProjectsResponse200Type$ { + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvResponseBodyProjectsResponse200Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvResponseBodyProjectsResponse200Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema: + z.ZodType< + RemoveProjectEnvResponseBodyProjectsInternalContentHint, + z.ZodTypeDef, + unknown + > = z.object({ + type: RemoveProjectEnvResponseBodyProjectsResponse200Type$inboundSchema, + encryptedValue: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvResponseBodyProjectsInternalContentHint$Outbound = { + type: string; + encryptedValue: string; +}; + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema: + z.ZodType< + RemoveProjectEnvResponseBodyProjectsInternalContentHint$Outbound, + z.ZodTypeDef, + RemoveProjectEnvResponseBodyProjectsInternalContentHint + > = z.object({ + type: RemoveProjectEnvResponseBodyProjectsResponse200Type$outboundSchema, + encryptedValue: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBodyProjectsInternalContentHint$ { + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsInternalContentHint$Outbound` instead. */ + export type Outbound = + RemoveProjectEnvResponseBodyProjectsInternalContentHint$Outbound; +} + +export function removeProjectEnvResponseBodyProjectsInternalContentHintToJSON( + removeProjectEnvResponseBodyProjectsInternalContentHint: + RemoveProjectEnvResponseBodyProjectsInternalContentHint, +): string { + return JSON.stringify( + RemoveProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema + .parse(removeProjectEnvResponseBodyProjectsInternalContentHint), + ); +} + +export function removeProjectEnvResponseBodyProjectsInternalContentHintFromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvResponseBodyProjectsInternalContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema + .parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvResponseBodyProjectsInternalContentHint' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvResponseBody2$inboundSchema: z.ZodType< + RemoveProjectEnvResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + system: z.boolean().optional(), + target: z.union([ + z.array(RemoveProjectEnvTargetProjects1$inboundSchema), + RemoveProjectEnvTargetProjects2$inboundSchema, + ]).optional(), + type: RemoveProjectEnvResponseBodyProjectsType$inboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => RemoveProjectEnvContentHintProjects1$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects2$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects3$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects4$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects5$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects6$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects7$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects8$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects9$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects10$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects11$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects12$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects13$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects15$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects14$inboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => + RemoveProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema + ), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), +}); + +/** @internal */ +export type RemoveProjectEnvResponseBody2$Outbound = { + system?: boolean | undefined; + target?: Array | string | undefined; + type: string; + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | RemoveProjectEnvContentHintProjects1$Outbound + | RemoveProjectEnvContentHintProjects2$Outbound + | RemoveProjectEnvContentHintProjects3$Outbound + | RemoveProjectEnvContentHintProjects4$Outbound + | RemoveProjectEnvContentHintProjects5$Outbound + | RemoveProjectEnvContentHintProjects6$Outbound + | RemoveProjectEnvContentHintProjects7$Outbound + | RemoveProjectEnvContentHintProjects8$Outbound + | RemoveProjectEnvContentHintProjects9$Outbound + | RemoveProjectEnvContentHintProjects10$Outbound + | RemoveProjectEnvContentHintProjects11$Outbound + | RemoveProjectEnvContentHintProjects12$Outbound + | RemoveProjectEnvContentHintProjects13$Outbound + | RemoveProjectEnvContentHintProjects15$Outbound + | RemoveProjectEnvContentHintProjects14$Outbound + | null + | undefined; + internalContentHint?: + | RemoveProjectEnvResponseBodyProjectsInternalContentHint$Outbound + | null + | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +/** @internal */ +export const RemoveProjectEnvResponseBody2$outboundSchema: z.ZodType< + RemoveProjectEnvResponseBody2$Outbound, + z.ZodTypeDef, + RemoveProjectEnvResponseBody2 +> = z.object({ + system: z.boolean().optional(), + target: z.union([ + z.array(RemoveProjectEnvTargetProjects1$outboundSchema), + RemoveProjectEnvTargetProjects2$outboundSchema, + ]).optional(), + type: RemoveProjectEnvResponseBodyProjectsType$outboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => RemoveProjectEnvContentHintProjects1$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects2$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects3$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects4$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects5$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects6$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects7$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects8$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects9$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects10$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects11$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects12$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects13$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects15$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects14$outboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => + RemoveProjectEnvResponseBodyProjectsInternalContentHint$outboundSchema + ), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBody2$ { + /** @deprecated use `RemoveProjectEnvResponseBody2$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvResponseBody2$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBody2$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvResponseBody2$outboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBody2$Outbound` instead. */ + export type Outbound = RemoveProjectEnvResponseBody2$Outbound; +} + +export function removeProjectEnvResponseBody2ToJSON( + removeProjectEnvResponseBody2: RemoveProjectEnvResponseBody2, +): string { + return JSON.stringify( + RemoveProjectEnvResponseBody2$outboundSchema.parse( + removeProjectEnvResponseBody2, + ), + ); +} + +export function removeProjectEnvResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvTarget2$inboundSchema: z.ZodNativeEnum< + typeof RemoveProjectEnvTarget2 +> = z.nativeEnum(RemoveProjectEnvTarget2); + +/** @internal */ +export const RemoveProjectEnvTarget2$outboundSchema: z.ZodNativeEnum< + typeof RemoveProjectEnvTarget2 +> = RemoveProjectEnvTarget2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvTarget2$ { + /** @deprecated use `RemoveProjectEnvTarget2$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvTarget2$inboundSchema; + /** @deprecated use `RemoveProjectEnvTarget2$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvTarget2$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvTarget1$inboundSchema: z.ZodNativeEnum< + typeof RemoveProjectEnvTarget1 +> = z.nativeEnum(RemoveProjectEnvTarget1); + +/** @internal */ +export const RemoveProjectEnvTarget1$outboundSchema: z.ZodNativeEnum< + typeof RemoveProjectEnvTarget1 +> = RemoveProjectEnvTarget1$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvTarget1$ { + /** @deprecated use `RemoveProjectEnvTarget1$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvTarget1$inboundSchema; + /** @deprecated use `RemoveProjectEnvTarget1$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvTarget1$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvResponseBodyTarget$inboundSchema: z.ZodType< + RemoveProjectEnvResponseBodyTarget, + z.ZodTypeDef, + unknown +> = z.union([ + z.array(RemoveProjectEnvTarget1$inboundSchema), + RemoveProjectEnvTarget2$inboundSchema, +]); + +/** @internal */ +export type RemoveProjectEnvResponseBodyTarget$Outbound = + | Array + | string; + +/** @internal */ +export const RemoveProjectEnvResponseBodyTarget$outboundSchema: z.ZodType< + RemoveProjectEnvResponseBodyTarget$Outbound, + z.ZodTypeDef, + RemoveProjectEnvResponseBodyTarget +> = z.union([ + z.array(RemoveProjectEnvTarget1$outboundSchema), + RemoveProjectEnvTarget2$outboundSchema, +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBodyTarget$ { + /** @deprecated use `RemoveProjectEnvResponseBodyTarget$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvResponseBodyTarget$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyTarget$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvResponseBodyTarget$outboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyTarget$Outbound` instead. */ + export type Outbound = RemoveProjectEnvResponseBodyTarget$Outbound; +} + +export function removeProjectEnvResponseBodyTargetToJSON( + removeProjectEnvResponseBodyTarget: RemoveProjectEnvResponseBodyTarget, +): string { + return JSON.stringify( + RemoveProjectEnvResponseBodyTarget$outboundSchema.parse( + removeProjectEnvResponseBodyTarget, + ), + ); +} + +export function removeProjectEnvResponseBodyTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvResponseBodyTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvResponseBodyTarget' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvResponseBodyType$inboundSchema: z.ZodNativeEnum< + typeof RemoveProjectEnvResponseBodyType +> = z.nativeEnum(RemoveProjectEnvResponseBodyType); + +/** @internal */ +export const RemoveProjectEnvResponseBodyType$outboundSchema: z.ZodNativeEnum< + typeof RemoveProjectEnvResponseBodyType +> = RemoveProjectEnvResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBodyType$ { + /** @deprecated use `RemoveProjectEnvResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvResponseBodyType$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvResponseBodyType$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHint15$inboundSchema: z.ZodType< + RemoveProjectEnvContentHint15, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema, + projectId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHint15$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHint15$outboundSchema: z.ZodType< + RemoveProjectEnvContentHint15$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHint15 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHint15$ { + /** @deprecated use `RemoveProjectEnvContentHint15$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvContentHint15$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint15$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvContentHint15$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint15$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHint15$Outbound; +} + +export function removeProjectEnvContentHint15ToJSON( + removeProjectEnvContentHint15: RemoveProjectEnvContentHint15, +): string { + return JSON.stringify( + RemoveProjectEnvContentHint15$outboundSchema.parse( + removeProjectEnvContentHint15, + ), + ); +} + +export function removeProjectEnvContentHint15FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvContentHint15$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHint15' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHint14$inboundSchema: z.ZodType< + RemoveProjectEnvContentHint14, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$inboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHint14$Outbound = { + type: string; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHint14$outboundSchema: z.ZodType< + RemoveProjectEnvContentHint14$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHint14 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHint14$ { + /** @deprecated use `RemoveProjectEnvContentHint14$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvContentHint14$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint14$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvContentHint14$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint14$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHint14$Outbound; +} + +export function removeProjectEnvContentHint14ToJSON( + removeProjectEnvContentHint14: RemoveProjectEnvContentHint14, +): string { + return JSON.stringify( + RemoveProjectEnvContentHint14$outboundSchema.parse( + removeProjectEnvContentHint14, + ), + ); +} + +export function removeProjectEnvContentHint14FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvContentHint14$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHint14' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHint13$inboundSchema: z.ZodType< + RemoveProjectEnvContentHint13, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHint13$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHint13$outboundSchema: z.ZodType< + RemoveProjectEnvContentHint13$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHint13 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHint13$ { + /** @deprecated use `RemoveProjectEnvContentHint13$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvContentHint13$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint13$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvContentHint13$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint13$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHint13$Outbound; +} + +export function removeProjectEnvContentHint13ToJSON( + removeProjectEnvContentHint13: RemoveProjectEnvContentHint13, +): string { + return JSON.stringify( + RemoveProjectEnvContentHint13$outboundSchema.parse( + removeProjectEnvContentHint13, + ), + ); +} + +export function removeProjectEnvContentHint13FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvContentHint13$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHint13' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHint12$inboundSchema: z.ZodType< + RemoveProjectEnvContentHint12, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHint12$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHint12$outboundSchema: z.ZodType< + RemoveProjectEnvContentHint12$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHint12 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHint12$ { + /** @deprecated use `RemoveProjectEnvContentHint12$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvContentHint12$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint12$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvContentHint12$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint12$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHint12$Outbound; +} + +export function removeProjectEnvContentHint12ToJSON( + removeProjectEnvContentHint12: RemoveProjectEnvContentHint12, +): string { + return JSON.stringify( + RemoveProjectEnvContentHint12$outboundSchema.parse( + removeProjectEnvContentHint12, + ), + ); +} + +export function removeProjectEnvContentHint12FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvContentHint12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHint12' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHint11$inboundSchema: z.ZodType< + RemoveProjectEnvContentHint11, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHint11$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHint11$outboundSchema: z.ZodType< + RemoveProjectEnvContentHint11$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHint11 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHint11$ { + /** @deprecated use `RemoveProjectEnvContentHint11$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvContentHint11$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint11$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvContentHint11$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint11$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHint11$Outbound; +} + +export function removeProjectEnvContentHint11ToJSON( + removeProjectEnvContentHint11: RemoveProjectEnvContentHint11, +): string { + return JSON.stringify( + RemoveProjectEnvContentHint11$outboundSchema.parse( + removeProjectEnvContentHint11, + ), + ); +} + +export function removeProjectEnvContentHint11FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvContentHint11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHint11' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHint10$inboundSchema: z.ZodType< + RemoveProjectEnvContentHint10, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHint10$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHint10$outboundSchema: z.ZodType< + RemoveProjectEnvContentHint10$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHint10 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHint10$ { + /** @deprecated use `RemoveProjectEnvContentHint10$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvContentHint10$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint10$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvContentHint10$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint10$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHint10$Outbound; +} + +export function removeProjectEnvContentHint10ToJSON( + removeProjectEnvContentHint10: RemoveProjectEnvContentHint10, +): string { + return JSON.stringify( + RemoveProjectEnvContentHint10$outboundSchema.parse( + removeProjectEnvContentHint10, + ), + ); +} + +export function removeProjectEnvContentHint10FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvContentHint10$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHint10' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHint9$inboundSchema: z.ZodType< + RemoveProjectEnvContentHint9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHint9$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHint9$outboundSchema: z.ZodType< + RemoveProjectEnvContentHint9$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHint9 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHint9$ { + /** @deprecated use `RemoveProjectEnvContentHint9$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvContentHint9$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint9$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvContentHint9$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint9$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHint9$Outbound; +} + +export function removeProjectEnvContentHint9ToJSON( + removeProjectEnvContentHint9: RemoveProjectEnvContentHint9, +): string { + return JSON.stringify( + RemoveProjectEnvContentHint9$outboundSchema.parse( + removeProjectEnvContentHint9, + ), + ); +} + +export function removeProjectEnvContentHint9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvContentHint9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHint9' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHint8$inboundSchema: z.ZodType< + RemoveProjectEnvContentHint8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHint8$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHint8$outboundSchema: z.ZodType< + RemoveProjectEnvContentHint8$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHint8 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHint8$ { + /** @deprecated use `RemoveProjectEnvContentHint8$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvContentHint8$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint8$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvContentHint8$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint8$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHint8$Outbound; +} + +export function removeProjectEnvContentHint8ToJSON( + removeProjectEnvContentHint8: RemoveProjectEnvContentHint8, +): string { + return JSON.stringify( + RemoveProjectEnvContentHint8$outboundSchema.parse( + removeProjectEnvContentHint8, + ), + ); +} + +export function removeProjectEnvContentHint8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvContentHint8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHint8' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHint7$inboundSchema: z.ZodType< + RemoveProjectEnvContentHint7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHint7$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHint7$outboundSchema: z.ZodType< + RemoveProjectEnvContentHint7$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHint7 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHint7$ { + /** @deprecated use `RemoveProjectEnvContentHint7$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvContentHint7$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint7$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvContentHint7$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint7$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHint7$Outbound; +} + +export function removeProjectEnvContentHint7ToJSON( + removeProjectEnvContentHint7: RemoveProjectEnvContentHint7, +): string { + return JSON.stringify( + RemoveProjectEnvContentHint7$outboundSchema.parse( + removeProjectEnvContentHint7, + ), + ); +} + +export function removeProjectEnvContentHint7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvContentHint7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHint7' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHint6$inboundSchema: z.ZodType< + RemoveProjectEnvContentHint6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHint6$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHint6$outboundSchema: z.ZodType< + RemoveProjectEnvContentHint6$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHint6 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHint6$ { + /** @deprecated use `RemoveProjectEnvContentHint6$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvContentHint6$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint6$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvContentHint6$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint6$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHint6$Outbound; +} + +export function removeProjectEnvContentHint6ToJSON( + removeProjectEnvContentHint6: RemoveProjectEnvContentHint6, +): string { + return JSON.stringify( + RemoveProjectEnvContentHint6$outboundSchema.parse( + removeProjectEnvContentHint6, + ), + ); +} + +export function removeProjectEnvContentHint6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvContentHint6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHint6' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType + > = z.nativeEnum( + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType, + ); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType + > = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHint5$inboundSchema: z.ZodType< + RemoveProjectEnvContentHint5, + z.ZodTypeDef, + unknown +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHint5$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHint5$outboundSchema: z.ZodType< + RemoveProjectEnvContentHint5$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHint5 +> = z.object({ + type: + RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHint5$ { + /** @deprecated use `RemoveProjectEnvContentHint5$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvContentHint5$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint5$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvContentHint5$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint5$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHint5$Outbound; +} + +export function removeProjectEnvContentHint5ToJSON( + removeProjectEnvContentHint5: RemoveProjectEnvContentHint5, +): string { + return JSON.stringify( + RemoveProjectEnvContentHint5$outboundSchema.parse( + removeProjectEnvContentHint5, + ), + ); +} + +export function removeProjectEnvContentHint5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvContentHint5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHint5' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200Type$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(RemoveProjectEnvContentHintProjectsResponse200Type); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponse200Type$outboundSchema: + z.ZodNativeEnum = + RemoveProjectEnvContentHintProjectsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponse200Type$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponse200Type$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponse200Type$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHint4$inboundSchema: z.ZodType< + RemoveProjectEnvContentHint4, + z.ZodTypeDef, + unknown +> = z.object({ + type: RemoveProjectEnvContentHintProjectsResponse200Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHint4$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHint4$outboundSchema: z.ZodType< + RemoveProjectEnvContentHint4$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHint4 +> = z.object({ + type: RemoveProjectEnvContentHintProjectsResponse200Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHint4$ { + /** @deprecated use `RemoveProjectEnvContentHint4$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvContentHint4$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint4$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvContentHint4$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint4$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHint4$Outbound; +} + +export function removeProjectEnvContentHint4ToJSON( + removeProjectEnvContentHint4: RemoveProjectEnvContentHint4, +): string { + return JSON.stringify( + RemoveProjectEnvContentHint4$outboundSchema.parse( + removeProjectEnvContentHint4, + ), + ); +} + +export function removeProjectEnvContentHint4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvContentHint4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHint4' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(RemoveProjectEnvContentHintProjectsResponseType); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsResponseType$outboundSchema: + z.ZodNativeEnum = + RemoveProjectEnvContentHintProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsResponseType$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsResponseType$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHint3$inboundSchema: z.ZodType< + RemoveProjectEnvContentHint3, + z.ZodTypeDef, + unknown +> = z.object({ + type: RemoveProjectEnvContentHintProjectsResponseType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHint3$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHint3$outboundSchema: z.ZodType< + RemoveProjectEnvContentHint3$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHint3 +> = z.object({ + type: RemoveProjectEnvContentHintProjectsResponseType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHint3$ { + /** @deprecated use `RemoveProjectEnvContentHint3$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvContentHint3$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint3$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvContentHint3$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint3$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHint3$Outbound; +} + +export function removeProjectEnvContentHint3ToJSON( + removeProjectEnvContentHint3: RemoveProjectEnvContentHint3, +): string { + return JSON.stringify( + RemoveProjectEnvContentHint3$outboundSchema.parse( + removeProjectEnvContentHint3, + ), + ); +} + +export function removeProjectEnvContentHint3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvContentHint3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHint3' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(RemoveProjectEnvContentHintProjectsType); + +/** @internal */ +export const RemoveProjectEnvContentHintProjectsType$outboundSchema: + z.ZodNativeEnum = + RemoveProjectEnvContentHintProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintProjectsType$ { + /** @deprecated use `RemoveProjectEnvContentHintProjectsType$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvContentHintProjectsType$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintProjectsType$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvContentHintProjectsType$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHint2$inboundSchema: z.ZodType< + RemoveProjectEnvContentHint2, + z.ZodTypeDef, + unknown +> = z.object({ + type: RemoveProjectEnvContentHintProjectsType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHint2$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHint2$outboundSchema: z.ZodType< + RemoveProjectEnvContentHint2$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHint2 +> = z.object({ + type: RemoveProjectEnvContentHintProjectsType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHint2$ { + /** @deprecated use `RemoveProjectEnvContentHint2$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvContentHint2$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint2$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvContentHint2$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint2$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHint2$Outbound; +} + +export function removeProjectEnvContentHint2ToJSON( + removeProjectEnvContentHint2: RemoveProjectEnvContentHint2, +): string { + return JSON.stringify( + RemoveProjectEnvContentHint2$outboundSchema.parse( + removeProjectEnvContentHint2, + ), + ); +} + +export function removeProjectEnvContentHint2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvContentHint2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHint2' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvContentHintType$inboundSchema: z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintType +> = z.nativeEnum(RemoveProjectEnvContentHintType); + +/** @internal */ +export const RemoveProjectEnvContentHintType$outboundSchema: z.ZodNativeEnum< + typeof RemoveProjectEnvContentHintType +> = RemoveProjectEnvContentHintType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHintType$ { + /** @deprecated use `RemoveProjectEnvContentHintType$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvContentHintType$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHintType$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvContentHintType$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvContentHint1$inboundSchema: z.ZodType< + RemoveProjectEnvContentHint1, + z.ZodTypeDef, + unknown +> = z.object({ + type: RemoveProjectEnvContentHintType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type RemoveProjectEnvContentHint1$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const RemoveProjectEnvContentHint1$outboundSchema: z.ZodType< + RemoveProjectEnvContentHint1$Outbound, + z.ZodTypeDef, + RemoveProjectEnvContentHint1 +> = z.object({ + type: RemoveProjectEnvContentHintType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvContentHint1$ { + /** @deprecated use `RemoveProjectEnvContentHint1$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvContentHint1$inboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint1$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvContentHint1$outboundSchema; + /** @deprecated use `RemoveProjectEnvContentHint1$Outbound` instead. */ + export type Outbound = RemoveProjectEnvContentHint1$Outbound; +} + +export function removeProjectEnvContentHint1ToJSON( + removeProjectEnvContentHint1: RemoveProjectEnvContentHint1, +): string { + return JSON.stringify( + RemoveProjectEnvContentHint1$outboundSchema.parse( + removeProjectEnvContentHint1, + ), + ); +} + +export function removeProjectEnvContentHint1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvContentHint1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvContentHint1' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvResponseBodyContentHint$inboundSchema: z.ZodType< + RemoveProjectEnvResponseBodyContentHint, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => RemoveProjectEnvContentHint1$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint2$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint3$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint4$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint5$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint6$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint7$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint8$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint9$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint10$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint11$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint12$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint13$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint15$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint14$inboundSchema), +]); + +/** @internal */ +export type RemoveProjectEnvResponseBodyContentHint$Outbound = + | RemoveProjectEnvContentHint1$Outbound + | RemoveProjectEnvContentHint2$Outbound + | RemoveProjectEnvContentHint3$Outbound + | RemoveProjectEnvContentHint4$Outbound + | RemoveProjectEnvContentHint5$Outbound + | RemoveProjectEnvContentHint6$Outbound + | RemoveProjectEnvContentHint7$Outbound + | RemoveProjectEnvContentHint8$Outbound + | RemoveProjectEnvContentHint9$Outbound + | RemoveProjectEnvContentHint10$Outbound + | RemoveProjectEnvContentHint11$Outbound + | RemoveProjectEnvContentHint12$Outbound + | RemoveProjectEnvContentHint13$Outbound + | RemoveProjectEnvContentHint15$Outbound + | RemoveProjectEnvContentHint14$Outbound; + +/** @internal */ +export const RemoveProjectEnvResponseBodyContentHint$outboundSchema: z.ZodType< + RemoveProjectEnvResponseBodyContentHint$Outbound, + z.ZodTypeDef, + RemoveProjectEnvResponseBodyContentHint +> = z.union([ + z.lazy(() => RemoveProjectEnvContentHint1$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint2$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint3$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint4$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint5$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint6$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint7$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint8$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint9$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint10$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint11$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint12$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint13$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint15$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint14$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBodyContentHint$ { + /** @deprecated use `RemoveProjectEnvResponseBodyContentHint$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvResponseBodyContentHint$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyContentHint$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvResponseBodyContentHint$outboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyContentHint$Outbound` instead. */ + export type Outbound = RemoveProjectEnvResponseBodyContentHint$Outbound; +} + +export function removeProjectEnvResponseBodyContentHintToJSON( + removeProjectEnvResponseBodyContentHint: + RemoveProjectEnvResponseBodyContentHint, +): string { + return JSON.stringify( + RemoveProjectEnvResponseBodyContentHint$outboundSchema.parse( + removeProjectEnvResponseBodyContentHint, + ), + ); +} + +export function removeProjectEnvResponseBodyContentHintFromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvResponseBodyContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvResponseBodyContentHint$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvResponseBodyContentHint' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType + > = z.nativeEnum( + RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType, + ); + +/** @internal */ +export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType + > = + RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$ { + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const RemoveProjectEnvResponseBodyInternalContentHint$inboundSchema: + z.ZodType< + RemoveProjectEnvResponseBodyInternalContentHint, + z.ZodTypeDef, + unknown + > = z.object({ + type: + RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema, + encryptedValue: z.string(), + }); + +/** @internal */ +export type RemoveProjectEnvResponseBodyInternalContentHint$Outbound = { + type: string; + encryptedValue: string; +}; + +/** @internal */ +export const RemoveProjectEnvResponseBodyInternalContentHint$outboundSchema: + z.ZodType< + RemoveProjectEnvResponseBodyInternalContentHint$Outbound, + z.ZodTypeDef, + RemoveProjectEnvResponseBodyInternalContentHint + > = z.object({ + type: + RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema, + encryptedValue: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBodyInternalContentHint$ { + /** @deprecated use `RemoveProjectEnvResponseBodyInternalContentHint$inboundSchema` instead. */ + export const inboundSchema = + RemoveProjectEnvResponseBodyInternalContentHint$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyInternalContentHint$outboundSchema` instead. */ + export const outboundSchema = + RemoveProjectEnvResponseBodyInternalContentHint$outboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBodyInternalContentHint$Outbound` instead. */ + export type Outbound = + RemoveProjectEnvResponseBodyInternalContentHint$Outbound; +} + +export function removeProjectEnvResponseBodyInternalContentHintToJSON( + removeProjectEnvResponseBodyInternalContentHint: + RemoveProjectEnvResponseBodyInternalContentHint, +): string { + return JSON.stringify( + RemoveProjectEnvResponseBodyInternalContentHint$outboundSchema.parse( + removeProjectEnvResponseBodyInternalContentHint, + ), + ); +} + +export function removeProjectEnvResponseBodyInternalContentHintFromJSON( + jsonString: string, +): SafeParseResult< + RemoveProjectEnvResponseBodyInternalContentHint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RemoveProjectEnvResponseBodyInternalContentHint$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RemoveProjectEnvResponseBodyInternalContentHint' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvResponseBody1$inboundSchema: z.ZodType< + RemoveProjectEnvResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + target: z.union([ + z.array(RemoveProjectEnvTarget1$inboundSchema), + RemoveProjectEnvTarget2$inboundSchema, + ]).optional(), + type: RemoveProjectEnvResponseBodyType$inboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => RemoveProjectEnvContentHint1$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint2$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint3$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint4$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint5$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint6$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint7$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint8$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint9$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint10$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint11$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint12$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint13$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint15$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint14$inboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => RemoveProjectEnvResponseBodyInternalContentHint$inboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), +}); + +/** @internal */ +export type RemoveProjectEnvResponseBody1$Outbound = { + target?: Array | string | undefined; + type: string; + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | RemoveProjectEnvContentHint1$Outbound + | RemoveProjectEnvContentHint2$Outbound + | RemoveProjectEnvContentHint3$Outbound + | RemoveProjectEnvContentHint4$Outbound + | RemoveProjectEnvContentHint5$Outbound + | RemoveProjectEnvContentHint6$Outbound + | RemoveProjectEnvContentHint7$Outbound + | RemoveProjectEnvContentHint8$Outbound + | RemoveProjectEnvContentHint9$Outbound + | RemoveProjectEnvContentHint10$Outbound + | RemoveProjectEnvContentHint11$Outbound + | RemoveProjectEnvContentHint12$Outbound + | RemoveProjectEnvContentHint13$Outbound + | RemoveProjectEnvContentHint15$Outbound + | RemoveProjectEnvContentHint14$Outbound + | null + | undefined; + internalContentHint?: + | RemoveProjectEnvResponseBodyInternalContentHint$Outbound + | null + | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +/** @internal */ +export const RemoveProjectEnvResponseBody1$outboundSchema: z.ZodType< + RemoveProjectEnvResponseBody1$Outbound, + z.ZodTypeDef, + RemoveProjectEnvResponseBody1 +> = z.object({ + target: z.union([ + z.array(RemoveProjectEnvTarget1$outboundSchema), + RemoveProjectEnvTarget2$outboundSchema, + ]).optional(), + type: RemoveProjectEnvResponseBodyType$outboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => RemoveProjectEnvContentHint1$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint2$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint3$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint4$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint5$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint6$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint7$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint8$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint9$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint10$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint11$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint12$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint13$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint15$outboundSchema), + z.lazy(() => RemoveProjectEnvContentHint14$outboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => + RemoveProjectEnvResponseBodyInternalContentHint$outboundSchema + ), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBody1$ { + /** @deprecated use `RemoveProjectEnvResponseBody1$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvResponseBody1$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBody1$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvResponseBody1$outboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBody1$Outbound` instead. */ + export type Outbound = RemoveProjectEnvResponseBody1$Outbound; +} + +export function removeProjectEnvResponseBody1ToJSON( + removeProjectEnvResponseBody1: RemoveProjectEnvResponseBody1, +): string { + return JSON.stringify( + RemoveProjectEnvResponseBody1$outboundSchema.parse( + removeProjectEnvResponseBody1, + ), + ); +} + +export function removeProjectEnvResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectEnvResponseBody$inboundSchema: z.ZodType< + RemoveProjectEnvResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => RemoveProjectEnvResponseBody3$inboundSchema), + z.lazy(() => RemoveProjectEnvResponseBody2$inboundSchema), + z.array(z.lazy(() => RemoveProjectEnvResponseBody1$inboundSchema)), +]); + +/** @internal */ +export type RemoveProjectEnvResponseBody$Outbound = + | RemoveProjectEnvResponseBody3$Outbound + | RemoveProjectEnvResponseBody2$Outbound + | Array; + +/** @internal */ +export const RemoveProjectEnvResponseBody$outboundSchema: z.ZodType< + RemoveProjectEnvResponseBody$Outbound, + z.ZodTypeDef, + RemoveProjectEnvResponseBody +> = z.union([ + z.lazy(() => RemoveProjectEnvResponseBody3$outboundSchema), + z.lazy(() => RemoveProjectEnvResponseBody2$outboundSchema), + z.array(z.lazy(() => RemoveProjectEnvResponseBody1$outboundSchema)), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectEnvResponseBody$ { + /** @deprecated use `RemoveProjectEnvResponseBody$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectEnvResponseBody$inboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBody$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectEnvResponseBody$outboundSchema; + /** @deprecated use `RemoveProjectEnvResponseBody$Outbound` instead. */ + export type Outbound = RemoveProjectEnvResponseBody$Outbound; +} + +export function removeProjectEnvResponseBodyToJSON( + removeProjectEnvResponseBody: RemoveProjectEnvResponseBody, +): string { + return JSON.stringify( + RemoveProjectEnvResponseBody$outboundSchema.parse( + removeProjectEnvResponseBody, + ), + ); +} + +export function removeProjectEnvResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectEnvResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectEnvResponseBody' from JSON`, + ); +} diff --git a/src/models/removeprojectmemberop.ts b/src/models/removeprojectmemberop.ts new file mode 100644 index 00000000..baf3505e --- /dev/null +++ b/src/models/removeprojectmemberop.ts @@ -0,0 +1,150 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type RemoveProjectMemberRequest = { + /** + * The ID or name of the Project. + */ + idOrName: string; + /** + * The user ID of the member. + */ + uid: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export type RemoveProjectMemberResponseBody = { + id: string; +}; + +/** @internal */ +export const RemoveProjectMemberRequest$inboundSchema: z.ZodType< + RemoveProjectMemberRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + uid: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type RemoveProjectMemberRequest$Outbound = { + idOrName: string; + uid: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const RemoveProjectMemberRequest$outboundSchema: z.ZodType< + RemoveProjectMemberRequest$Outbound, + z.ZodTypeDef, + RemoveProjectMemberRequest +> = z.object({ + idOrName: z.string(), + uid: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectMemberRequest$ { + /** @deprecated use `RemoveProjectMemberRequest$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectMemberRequest$inboundSchema; + /** @deprecated use `RemoveProjectMemberRequest$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectMemberRequest$outboundSchema; + /** @deprecated use `RemoveProjectMemberRequest$Outbound` instead. */ + export type Outbound = RemoveProjectMemberRequest$Outbound; +} + +export function removeProjectMemberRequestToJSON( + removeProjectMemberRequest: RemoveProjectMemberRequest, +): string { + return JSON.stringify( + RemoveProjectMemberRequest$outboundSchema.parse(removeProjectMemberRequest), + ); +} + +export function removeProjectMemberRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectMemberRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectMemberRequest' from JSON`, + ); +} + +/** @internal */ +export const RemoveProjectMemberResponseBody$inboundSchema: z.ZodType< + RemoveProjectMemberResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +/** @internal */ +export type RemoveProjectMemberResponseBody$Outbound = { + id: string; +}; + +/** @internal */ +export const RemoveProjectMemberResponseBody$outboundSchema: z.ZodType< + RemoveProjectMemberResponseBody$Outbound, + z.ZodTypeDef, + RemoveProjectMemberResponseBody +> = z.object({ + id: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveProjectMemberResponseBody$ { + /** @deprecated use `RemoveProjectMemberResponseBody$inboundSchema` instead. */ + export const inboundSchema = RemoveProjectMemberResponseBody$inboundSchema; + /** @deprecated use `RemoveProjectMemberResponseBody$outboundSchema` instead. */ + export const outboundSchema = RemoveProjectMemberResponseBody$outboundSchema; + /** @deprecated use `RemoveProjectMemberResponseBody$Outbound` instead. */ + export type Outbound = RemoveProjectMemberResponseBody$Outbound; +} + +export function removeProjectMemberResponseBodyToJSON( + removeProjectMemberResponseBody: RemoveProjectMemberResponseBody, +): string { + return JSON.stringify( + RemoveProjectMemberResponseBody$outboundSchema.parse( + removeProjectMemberResponseBody, + ), + ); +} + +export function removeProjectMemberResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveProjectMemberResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveProjectMemberResponseBody' from JSON`, + ); +} diff --git a/src/models/removerecordop.ts b/src/models/removerecordop.ts new file mode 100644 index 00000000..bdec67b2 --- /dev/null +++ b/src/models/removerecordop.ts @@ -0,0 +1,137 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type RemoveRecordRequest = { + domain: string; + recordId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * Successful response by removing the specified DNS record. + */ +export type RemoveRecordResponseBody = {}; + +/** @internal */ +export const RemoveRecordRequest$inboundSchema: z.ZodType< + RemoveRecordRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + recordId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type RemoveRecordRequest$Outbound = { + domain: string; + recordId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const RemoveRecordRequest$outboundSchema: z.ZodType< + RemoveRecordRequest$Outbound, + z.ZodTypeDef, + RemoveRecordRequest +> = z.object({ + domain: z.string(), + recordId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveRecordRequest$ { + /** @deprecated use `RemoveRecordRequest$inboundSchema` instead. */ + export const inboundSchema = RemoveRecordRequest$inboundSchema; + /** @deprecated use `RemoveRecordRequest$outboundSchema` instead. */ + export const outboundSchema = RemoveRecordRequest$outboundSchema; + /** @deprecated use `RemoveRecordRequest$Outbound` instead. */ + export type Outbound = RemoveRecordRequest$Outbound; +} + +export function removeRecordRequestToJSON( + removeRecordRequest: RemoveRecordRequest, +): string { + return JSON.stringify( + RemoveRecordRequest$outboundSchema.parse(removeRecordRequest), + ); +} + +export function removeRecordRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveRecordRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveRecordRequest' from JSON`, + ); +} + +/** @internal */ +export const RemoveRecordResponseBody$inboundSchema: z.ZodType< + RemoveRecordResponseBody, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type RemoveRecordResponseBody$Outbound = {}; + +/** @internal */ +export const RemoveRecordResponseBody$outboundSchema: z.ZodType< + RemoveRecordResponseBody$Outbound, + z.ZodTypeDef, + RemoveRecordResponseBody +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveRecordResponseBody$ { + /** @deprecated use `RemoveRecordResponseBody$inboundSchema` instead. */ + export const inboundSchema = RemoveRecordResponseBody$inboundSchema; + /** @deprecated use `RemoveRecordResponseBody$outboundSchema` instead. */ + export const outboundSchema = RemoveRecordResponseBody$outboundSchema; + /** @deprecated use `RemoveRecordResponseBody$Outbound` instead. */ + export type Outbound = RemoveRecordResponseBody$Outbound; +} + +export function removeRecordResponseBodyToJSON( + removeRecordResponseBody: RemoveRecordResponseBody, +): string { + return JSON.stringify( + RemoveRecordResponseBody$outboundSchema.parse(removeRecordResponseBody), + ); +} + +export function removeRecordResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveRecordResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveRecordResponseBody' from JSON`, + ); +} diff --git a/src/models/removeteammemberop.ts b/src/models/removeteammemberop.ts new file mode 100644 index 00000000..bcf9e1a6 --- /dev/null +++ b/src/models/removeteammemberop.ts @@ -0,0 +1,146 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type RemoveTeamMemberRequest = { + /** + * The user ID of the member. + */ + uid: string; + /** + * The ID of the team to set as the new default team for the Northstar user. + */ + newDefaultTeamId?: string | undefined; + teamId: string; +}; + +/** + * Successfully removed a member of the team. + */ +export type RemoveTeamMemberResponseBody = { + /** + * ID of the team. + */ + id: string; +}; + +/** @internal */ +export const RemoveTeamMemberRequest$inboundSchema: z.ZodType< + RemoveTeamMemberRequest, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + newDefaultTeamId: z.string().optional(), + teamId: z.string(), +}); + +/** @internal */ +export type RemoveTeamMemberRequest$Outbound = { + uid: string; + newDefaultTeamId?: string | undefined; + teamId: string; +}; + +/** @internal */ +export const RemoveTeamMemberRequest$outboundSchema: z.ZodType< + RemoveTeamMemberRequest$Outbound, + z.ZodTypeDef, + RemoveTeamMemberRequest +> = z.object({ + uid: z.string(), + newDefaultTeamId: z.string().optional(), + teamId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveTeamMemberRequest$ { + /** @deprecated use `RemoveTeamMemberRequest$inboundSchema` instead. */ + export const inboundSchema = RemoveTeamMemberRequest$inboundSchema; + /** @deprecated use `RemoveTeamMemberRequest$outboundSchema` instead. */ + export const outboundSchema = RemoveTeamMemberRequest$outboundSchema; + /** @deprecated use `RemoveTeamMemberRequest$Outbound` instead. */ + export type Outbound = RemoveTeamMemberRequest$Outbound; +} + +export function removeTeamMemberRequestToJSON( + removeTeamMemberRequest: RemoveTeamMemberRequest, +): string { + return JSON.stringify( + RemoveTeamMemberRequest$outboundSchema.parse(removeTeamMemberRequest), + ); +} + +export function removeTeamMemberRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveTeamMemberRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveTeamMemberRequest' from JSON`, + ); +} + +/** @internal */ +export const RemoveTeamMemberResponseBody$inboundSchema: z.ZodType< + RemoveTeamMemberResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +/** @internal */ +export type RemoveTeamMemberResponseBody$Outbound = { + id: string; +}; + +/** @internal */ +export const RemoveTeamMemberResponseBody$outboundSchema: z.ZodType< + RemoveTeamMemberResponseBody$Outbound, + z.ZodTypeDef, + RemoveTeamMemberResponseBody +> = z.object({ + id: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RemoveTeamMemberResponseBody$ { + /** @deprecated use `RemoveTeamMemberResponseBody$inboundSchema` instead. */ + export const inboundSchema = RemoveTeamMemberResponseBody$inboundSchema; + /** @deprecated use `RemoveTeamMemberResponseBody$outboundSchema` instead. */ + export const outboundSchema = RemoveTeamMemberResponseBody$outboundSchema; + /** @deprecated use `RemoveTeamMemberResponseBody$Outbound` instead. */ + export type Outbound = RemoveTeamMemberResponseBody$Outbound; +} + +export function removeTeamMemberResponseBodyToJSON( + removeTeamMemberResponseBody: RemoveTeamMemberResponseBody, +): string { + return JSON.stringify( + RemoveTeamMemberResponseBody$outboundSchema.parse( + removeTeamMemberResponseBody, + ), + ); +} + +export function removeTeamMemberResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RemoveTeamMemberResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemoveTeamMemberResponseBody' from JSON`, + ); +} diff --git a/src/models/requestaccesstoteamop.ts b/src/models/requestaccesstoteamop.ts new file mode 100644 index 00000000..eaf506aa --- /dev/null +++ b/src/models/requestaccesstoteamop.ts @@ -0,0 +1,775 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * The origin of the request. + */ +export const RequestAccessToTeamOrigin = { + Import: "import", + Teams: "teams", + Github: "github", + Gitlab: "gitlab", + Bitbucket: "bitbucket", + Feedback: "feedback", + OrganizationTeams: "organization-teams", +} as const; +/** + * The origin of the request. + */ +export type RequestAccessToTeamOrigin = ClosedEnum< + typeof RequestAccessToTeamOrigin +>; + +/** + * The ID of the Git account of the user who requests access. + */ +export type RequestAccessToTeamGitUserId = string | number; + +export type RequestAccessToTeamJoinedFrom = { + /** + * The origin of the request. + */ + origin: RequestAccessToTeamOrigin; + /** + * The commit sha if the origin is a git provider. + */ + commitId?: string | undefined; + /** + * The ID of the repository for the given Git provider. + */ + repoId?: string | undefined; + /** + * The path to the repository for the given Git provider. + */ + repoPath?: string | undefined; + /** + * The ID of the Git account of the user who requests access. + */ + gitUserId?: string | number | undefined; + /** + * The login name for the Git account of the user who requests access. + */ + gitUserLogin?: string | undefined; +}; + +export type RequestAccessToTeamRequestBody = { + joinedFrom: RequestAccessToTeamJoinedFrom; +}; + +export type RequestAccessToTeamRequest = { + teamId: string; + requestBody: RequestAccessToTeamRequestBody; +}; + +export const RequestAccessToTeamTeamsOrigin = { + Import: "import", + Teams: "teams", + Github: "github", + Gitlab: "gitlab", + Bitbucket: "bitbucket", + Feedback: "feedback", + OrganizationTeams: "organization-teams", + Mail: "mail", + Link: "link", + Saml: "saml", + Dsync: "dsync", +} as const; +export type RequestAccessToTeamTeamsOrigin = ClosedEnum< + typeof RequestAccessToTeamTeamsOrigin +>; + +export type RequestAccessToTeamTeamsGitUserId = string | number; + +export type RequestAccessToTeamTeamsJoinedFrom = { + origin: RequestAccessToTeamTeamsOrigin; + commitId?: string | undefined; + repoId?: string | undefined; + repoPath?: string | undefined; + gitUserId?: string | number | undefined; + gitUserLogin?: string | undefined; + ssoUserId?: string | undefined; + ssoConnectedAt?: number | undefined; + idpUserId?: string | undefined; + dsyncUserId?: string | undefined; + dsyncConnectedAt?: number | undefined; +}; + +export type Github = { + login?: string | undefined; +}; + +export type Gitlab = { + login?: string | undefined; +}; + +export type Bitbucket = { + login?: string | undefined; +}; + +/** + * Successfuly requested access to the team. + */ +export type RequestAccessToTeamResponseBody = { + teamSlug: string; + teamName: string; + confirmed?: boolean | undefined; + joinedFrom?: RequestAccessToTeamTeamsJoinedFrom | undefined; + accessRequestedAt?: number | undefined; + github: Github | null; + gitlab: Gitlab | null; + bitbucket: Bitbucket | null; +}; + +/** @internal */ +export const RequestAccessToTeamOrigin$inboundSchema: z.ZodNativeEnum< + typeof RequestAccessToTeamOrigin +> = z.nativeEnum(RequestAccessToTeamOrigin); + +/** @internal */ +export const RequestAccessToTeamOrigin$outboundSchema: z.ZodNativeEnum< + typeof RequestAccessToTeamOrigin +> = RequestAccessToTeamOrigin$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestAccessToTeamOrigin$ { + /** @deprecated use `RequestAccessToTeamOrigin$inboundSchema` instead. */ + export const inboundSchema = RequestAccessToTeamOrigin$inboundSchema; + /** @deprecated use `RequestAccessToTeamOrigin$outboundSchema` instead. */ + export const outboundSchema = RequestAccessToTeamOrigin$outboundSchema; +} + +/** @internal */ +export const RequestAccessToTeamGitUserId$inboundSchema: z.ZodType< + RequestAccessToTeamGitUserId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number()]); + +/** @internal */ +export type RequestAccessToTeamGitUserId$Outbound = string | number; + +/** @internal */ +export const RequestAccessToTeamGitUserId$outboundSchema: z.ZodType< + RequestAccessToTeamGitUserId$Outbound, + z.ZodTypeDef, + RequestAccessToTeamGitUserId +> = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestAccessToTeamGitUserId$ { + /** @deprecated use `RequestAccessToTeamGitUserId$inboundSchema` instead. */ + export const inboundSchema = RequestAccessToTeamGitUserId$inboundSchema; + /** @deprecated use `RequestAccessToTeamGitUserId$outboundSchema` instead. */ + export const outboundSchema = RequestAccessToTeamGitUserId$outboundSchema; + /** @deprecated use `RequestAccessToTeamGitUserId$Outbound` instead. */ + export type Outbound = RequestAccessToTeamGitUserId$Outbound; +} + +export function requestAccessToTeamGitUserIdToJSON( + requestAccessToTeamGitUserId: RequestAccessToTeamGitUserId, +): string { + return JSON.stringify( + RequestAccessToTeamGitUserId$outboundSchema.parse( + requestAccessToTeamGitUserId, + ), + ); +} + +export function requestAccessToTeamGitUserIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestAccessToTeamGitUserId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestAccessToTeamGitUserId' from JSON`, + ); +} + +/** @internal */ +export const RequestAccessToTeamJoinedFrom$inboundSchema: z.ZodType< + RequestAccessToTeamJoinedFrom, + z.ZodTypeDef, + unknown +> = z.object({ + origin: RequestAccessToTeamOrigin$inboundSchema, + commitId: z.string().optional(), + repoId: z.string().optional(), + repoPath: z.string().optional(), + gitUserId: z.union([z.string(), z.number()]).optional(), + gitUserLogin: z.string().optional(), +}); + +/** @internal */ +export type RequestAccessToTeamJoinedFrom$Outbound = { + origin: string; + commitId?: string | undefined; + repoId?: string | undefined; + repoPath?: string | undefined; + gitUserId?: string | number | undefined; + gitUserLogin?: string | undefined; +}; + +/** @internal */ +export const RequestAccessToTeamJoinedFrom$outboundSchema: z.ZodType< + RequestAccessToTeamJoinedFrom$Outbound, + z.ZodTypeDef, + RequestAccessToTeamJoinedFrom +> = z.object({ + origin: RequestAccessToTeamOrigin$outboundSchema, + commitId: z.string().optional(), + repoId: z.string().optional(), + repoPath: z.string().optional(), + gitUserId: z.union([z.string(), z.number()]).optional(), + gitUserLogin: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestAccessToTeamJoinedFrom$ { + /** @deprecated use `RequestAccessToTeamJoinedFrom$inboundSchema` instead. */ + export const inboundSchema = RequestAccessToTeamJoinedFrom$inboundSchema; + /** @deprecated use `RequestAccessToTeamJoinedFrom$outboundSchema` instead. */ + export const outboundSchema = RequestAccessToTeamJoinedFrom$outboundSchema; + /** @deprecated use `RequestAccessToTeamJoinedFrom$Outbound` instead. */ + export type Outbound = RequestAccessToTeamJoinedFrom$Outbound; +} + +export function requestAccessToTeamJoinedFromToJSON( + requestAccessToTeamJoinedFrom: RequestAccessToTeamJoinedFrom, +): string { + return JSON.stringify( + RequestAccessToTeamJoinedFrom$outboundSchema.parse( + requestAccessToTeamJoinedFrom, + ), + ); +} + +export function requestAccessToTeamJoinedFromFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestAccessToTeamJoinedFrom$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestAccessToTeamJoinedFrom' from JSON`, + ); +} + +/** @internal */ +export const RequestAccessToTeamRequestBody$inboundSchema: z.ZodType< + RequestAccessToTeamRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + joinedFrom: z.lazy(() => RequestAccessToTeamJoinedFrom$inboundSchema), +}); + +/** @internal */ +export type RequestAccessToTeamRequestBody$Outbound = { + joinedFrom: RequestAccessToTeamJoinedFrom$Outbound; +}; + +/** @internal */ +export const RequestAccessToTeamRequestBody$outboundSchema: z.ZodType< + RequestAccessToTeamRequestBody$Outbound, + z.ZodTypeDef, + RequestAccessToTeamRequestBody +> = z.object({ + joinedFrom: z.lazy(() => RequestAccessToTeamJoinedFrom$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestAccessToTeamRequestBody$ { + /** @deprecated use `RequestAccessToTeamRequestBody$inboundSchema` instead. */ + export const inboundSchema = RequestAccessToTeamRequestBody$inboundSchema; + /** @deprecated use `RequestAccessToTeamRequestBody$outboundSchema` instead. */ + export const outboundSchema = RequestAccessToTeamRequestBody$outboundSchema; + /** @deprecated use `RequestAccessToTeamRequestBody$Outbound` instead. */ + export type Outbound = RequestAccessToTeamRequestBody$Outbound; +} + +export function requestAccessToTeamRequestBodyToJSON( + requestAccessToTeamRequestBody: RequestAccessToTeamRequestBody, +): string { + return JSON.stringify( + RequestAccessToTeamRequestBody$outboundSchema.parse( + requestAccessToTeamRequestBody, + ), + ); +} + +export function requestAccessToTeamRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestAccessToTeamRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestAccessToTeamRequestBody' from JSON`, + ); +} + +/** @internal */ +export const RequestAccessToTeamRequest$inboundSchema: z.ZodType< + RequestAccessToTeamRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string(), + RequestBody: z.lazy(() => RequestAccessToTeamRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type RequestAccessToTeamRequest$Outbound = { + teamId: string; + RequestBody: RequestAccessToTeamRequestBody$Outbound; +}; + +/** @internal */ +export const RequestAccessToTeamRequest$outboundSchema: z.ZodType< + RequestAccessToTeamRequest$Outbound, + z.ZodTypeDef, + RequestAccessToTeamRequest +> = z.object({ + teamId: z.string(), + requestBody: z.lazy(() => RequestAccessToTeamRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestAccessToTeamRequest$ { + /** @deprecated use `RequestAccessToTeamRequest$inboundSchema` instead. */ + export const inboundSchema = RequestAccessToTeamRequest$inboundSchema; + /** @deprecated use `RequestAccessToTeamRequest$outboundSchema` instead. */ + export const outboundSchema = RequestAccessToTeamRequest$outboundSchema; + /** @deprecated use `RequestAccessToTeamRequest$Outbound` instead. */ + export type Outbound = RequestAccessToTeamRequest$Outbound; +} + +export function requestAccessToTeamRequestToJSON( + requestAccessToTeamRequest: RequestAccessToTeamRequest, +): string { + return JSON.stringify( + RequestAccessToTeamRequest$outboundSchema.parse(requestAccessToTeamRequest), + ); +} + +export function requestAccessToTeamRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestAccessToTeamRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestAccessToTeamRequest' from JSON`, + ); +} + +/** @internal */ +export const RequestAccessToTeamTeamsOrigin$inboundSchema: z.ZodNativeEnum< + typeof RequestAccessToTeamTeamsOrigin +> = z.nativeEnum(RequestAccessToTeamTeamsOrigin); + +/** @internal */ +export const RequestAccessToTeamTeamsOrigin$outboundSchema: z.ZodNativeEnum< + typeof RequestAccessToTeamTeamsOrigin +> = RequestAccessToTeamTeamsOrigin$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestAccessToTeamTeamsOrigin$ { + /** @deprecated use `RequestAccessToTeamTeamsOrigin$inboundSchema` instead. */ + export const inboundSchema = RequestAccessToTeamTeamsOrigin$inboundSchema; + /** @deprecated use `RequestAccessToTeamTeamsOrigin$outboundSchema` instead. */ + export const outboundSchema = RequestAccessToTeamTeamsOrigin$outboundSchema; +} + +/** @internal */ +export const RequestAccessToTeamTeamsGitUserId$inboundSchema: z.ZodType< + RequestAccessToTeamTeamsGitUserId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number()]); + +/** @internal */ +export type RequestAccessToTeamTeamsGitUserId$Outbound = string | number; + +/** @internal */ +export const RequestAccessToTeamTeamsGitUserId$outboundSchema: z.ZodType< + RequestAccessToTeamTeamsGitUserId$Outbound, + z.ZodTypeDef, + RequestAccessToTeamTeamsGitUserId +> = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestAccessToTeamTeamsGitUserId$ { + /** @deprecated use `RequestAccessToTeamTeamsGitUserId$inboundSchema` instead. */ + export const inboundSchema = RequestAccessToTeamTeamsGitUserId$inboundSchema; + /** @deprecated use `RequestAccessToTeamTeamsGitUserId$outboundSchema` instead. */ + export const outboundSchema = + RequestAccessToTeamTeamsGitUserId$outboundSchema; + /** @deprecated use `RequestAccessToTeamTeamsGitUserId$Outbound` instead. */ + export type Outbound = RequestAccessToTeamTeamsGitUserId$Outbound; +} + +export function requestAccessToTeamTeamsGitUserIdToJSON( + requestAccessToTeamTeamsGitUserId: RequestAccessToTeamTeamsGitUserId, +): string { + return JSON.stringify( + RequestAccessToTeamTeamsGitUserId$outboundSchema.parse( + requestAccessToTeamTeamsGitUserId, + ), + ); +} + +export function requestAccessToTeamTeamsGitUserIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestAccessToTeamTeamsGitUserId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestAccessToTeamTeamsGitUserId' from JSON`, + ); +} + +/** @internal */ +export const RequestAccessToTeamTeamsJoinedFrom$inboundSchema: z.ZodType< + RequestAccessToTeamTeamsJoinedFrom, + z.ZodTypeDef, + unknown +> = z.object({ + origin: RequestAccessToTeamTeamsOrigin$inboundSchema, + commitId: z.string().optional(), + repoId: z.string().optional(), + repoPath: z.string().optional(), + gitUserId: z.union([z.string(), z.number()]).optional(), + gitUserLogin: z.string().optional(), + ssoUserId: z.string().optional(), + ssoConnectedAt: z.number().optional(), + idpUserId: z.string().optional(), + dsyncUserId: z.string().optional(), + dsyncConnectedAt: z.number().optional(), +}); + +/** @internal */ +export type RequestAccessToTeamTeamsJoinedFrom$Outbound = { + origin: string; + commitId?: string | undefined; + repoId?: string | undefined; + repoPath?: string | undefined; + gitUserId?: string | number | undefined; + gitUserLogin?: string | undefined; + ssoUserId?: string | undefined; + ssoConnectedAt?: number | undefined; + idpUserId?: string | undefined; + dsyncUserId?: string | undefined; + dsyncConnectedAt?: number | undefined; +}; + +/** @internal */ +export const RequestAccessToTeamTeamsJoinedFrom$outboundSchema: z.ZodType< + RequestAccessToTeamTeamsJoinedFrom$Outbound, + z.ZodTypeDef, + RequestAccessToTeamTeamsJoinedFrom +> = z.object({ + origin: RequestAccessToTeamTeamsOrigin$outboundSchema, + commitId: z.string().optional(), + repoId: z.string().optional(), + repoPath: z.string().optional(), + gitUserId: z.union([z.string(), z.number()]).optional(), + gitUserLogin: z.string().optional(), + ssoUserId: z.string().optional(), + ssoConnectedAt: z.number().optional(), + idpUserId: z.string().optional(), + dsyncUserId: z.string().optional(), + dsyncConnectedAt: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestAccessToTeamTeamsJoinedFrom$ { + /** @deprecated use `RequestAccessToTeamTeamsJoinedFrom$inboundSchema` instead. */ + export const inboundSchema = RequestAccessToTeamTeamsJoinedFrom$inboundSchema; + /** @deprecated use `RequestAccessToTeamTeamsJoinedFrom$outboundSchema` instead. */ + export const outboundSchema = + RequestAccessToTeamTeamsJoinedFrom$outboundSchema; + /** @deprecated use `RequestAccessToTeamTeamsJoinedFrom$Outbound` instead. */ + export type Outbound = RequestAccessToTeamTeamsJoinedFrom$Outbound; +} + +export function requestAccessToTeamTeamsJoinedFromToJSON( + requestAccessToTeamTeamsJoinedFrom: RequestAccessToTeamTeamsJoinedFrom, +): string { + return JSON.stringify( + RequestAccessToTeamTeamsJoinedFrom$outboundSchema.parse( + requestAccessToTeamTeamsJoinedFrom, + ), + ); +} + +export function requestAccessToTeamTeamsJoinedFromFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + RequestAccessToTeamTeamsJoinedFrom$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestAccessToTeamTeamsJoinedFrom' from JSON`, + ); +} + +/** @internal */ +export const Github$inboundSchema: z.ZodType = z + .object({ + login: z.string().optional(), + }); + +/** @internal */ +export type Github$Outbound = { + login?: string | undefined; +}; + +/** @internal */ +export const Github$outboundSchema: z.ZodType< + Github$Outbound, + z.ZodTypeDef, + Github +> = z.object({ + login: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Github$ { + /** @deprecated use `Github$inboundSchema` instead. */ + export const inboundSchema = Github$inboundSchema; + /** @deprecated use `Github$outboundSchema` instead. */ + export const outboundSchema = Github$outboundSchema; + /** @deprecated use `Github$Outbound` instead. */ + export type Outbound = Github$Outbound; +} + +export function githubToJSON(github: Github): string { + return JSON.stringify(Github$outboundSchema.parse(github)); +} + +export function githubFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Github$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Github' from JSON`, + ); +} + +/** @internal */ +export const Gitlab$inboundSchema: z.ZodType = z + .object({ + login: z.string().optional(), + }); + +/** @internal */ +export type Gitlab$Outbound = { + login?: string | undefined; +}; + +/** @internal */ +export const Gitlab$outboundSchema: z.ZodType< + Gitlab$Outbound, + z.ZodTypeDef, + Gitlab +> = z.object({ + login: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Gitlab$ { + /** @deprecated use `Gitlab$inboundSchema` instead. */ + export const inboundSchema = Gitlab$inboundSchema; + /** @deprecated use `Gitlab$outboundSchema` instead. */ + export const outboundSchema = Gitlab$outboundSchema; + /** @deprecated use `Gitlab$Outbound` instead. */ + export type Outbound = Gitlab$Outbound; +} + +export function gitlabToJSON(gitlab: Gitlab): string { + return JSON.stringify(Gitlab$outboundSchema.parse(gitlab)); +} + +export function gitlabFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Gitlab$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Gitlab' from JSON`, + ); +} + +/** @internal */ +export const Bitbucket$inboundSchema: z.ZodType< + Bitbucket, + z.ZodTypeDef, + unknown +> = z.object({ + login: z.string().optional(), +}); + +/** @internal */ +export type Bitbucket$Outbound = { + login?: string | undefined; +}; + +/** @internal */ +export const Bitbucket$outboundSchema: z.ZodType< + Bitbucket$Outbound, + z.ZodTypeDef, + Bitbucket +> = z.object({ + login: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Bitbucket$ { + /** @deprecated use `Bitbucket$inboundSchema` instead. */ + export const inboundSchema = Bitbucket$inboundSchema; + /** @deprecated use `Bitbucket$outboundSchema` instead. */ + export const outboundSchema = Bitbucket$outboundSchema; + /** @deprecated use `Bitbucket$Outbound` instead. */ + export type Outbound = Bitbucket$Outbound; +} + +export function bitbucketToJSON(bitbucket: Bitbucket): string { + return JSON.stringify(Bitbucket$outboundSchema.parse(bitbucket)); +} + +export function bitbucketFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Bitbucket$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Bitbucket' from JSON`, + ); +} + +/** @internal */ +export const RequestAccessToTeamResponseBody$inboundSchema: z.ZodType< + RequestAccessToTeamResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + teamSlug: z.string(), + teamName: z.string(), + confirmed: z.boolean().optional(), + joinedFrom: z.lazy(() => RequestAccessToTeamTeamsJoinedFrom$inboundSchema) + .optional(), + accessRequestedAt: z.number().optional(), + github: z.nullable(z.lazy(() => Github$inboundSchema)), + gitlab: z.nullable(z.lazy(() => Gitlab$inboundSchema)), + bitbucket: z.nullable(z.lazy(() => Bitbucket$inboundSchema)), +}); + +/** @internal */ +export type RequestAccessToTeamResponseBody$Outbound = { + teamSlug: string; + teamName: string; + confirmed?: boolean | undefined; + joinedFrom?: RequestAccessToTeamTeamsJoinedFrom$Outbound | undefined; + accessRequestedAt?: number | undefined; + github: Github$Outbound | null; + gitlab: Gitlab$Outbound | null; + bitbucket: Bitbucket$Outbound | null; +}; + +/** @internal */ +export const RequestAccessToTeamResponseBody$outboundSchema: z.ZodType< + RequestAccessToTeamResponseBody$Outbound, + z.ZodTypeDef, + RequestAccessToTeamResponseBody +> = z.object({ + teamSlug: z.string(), + teamName: z.string(), + confirmed: z.boolean().optional(), + joinedFrom: z.lazy(() => RequestAccessToTeamTeamsJoinedFrom$outboundSchema) + .optional(), + accessRequestedAt: z.number().optional(), + github: z.nullable(z.lazy(() => Github$outboundSchema)), + gitlab: z.nullable(z.lazy(() => Gitlab$outboundSchema)), + bitbucket: z.nullable(z.lazy(() => Bitbucket$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestAccessToTeamResponseBody$ { + /** @deprecated use `RequestAccessToTeamResponseBody$inboundSchema` instead. */ + export const inboundSchema = RequestAccessToTeamResponseBody$inboundSchema; + /** @deprecated use `RequestAccessToTeamResponseBody$outboundSchema` instead. */ + export const outboundSchema = RequestAccessToTeamResponseBody$outboundSchema; + /** @deprecated use `RequestAccessToTeamResponseBody$Outbound` instead. */ + export type Outbound = RequestAccessToTeamResponseBody$Outbound; +} + +export function requestAccessToTeamResponseBodyToJSON( + requestAccessToTeamResponseBody: RequestAccessToTeamResponseBody, +): string { + return JSON.stringify( + RequestAccessToTeamResponseBody$outboundSchema.parse( + requestAccessToTeamResponseBody, + ), + ); +} + +export function requestAccessToTeamResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestAccessToTeamResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestAccessToTeamResponseBody' from JSON`, + ); +} diff --git a/src/models/requestdeleteop.ts b/src/models/requestdeleteop.ts new file mode 100644 index 00000000..076cb2da --- /dev/null +++ b/src/models/requestdeleteop.ts @@ -0,0 +1,219 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * An object describing the reason why the User account is being deleted. + */ +export type RequestDeleteReasons = { + /** + * Idenitifier slug of the reason why the User account is being deleted. + */ + slug: string; + /** + * Description of the reason why the User account is being deleted. + */ + description: string; +}; + +export type RequestDeleteRequestBody = { + /** + * Optional array of objects that describe the reason why the User account is being deleted. + */ + reasons?: Array | undefined; +}; + +/** + * Response indicating that the User deletion process has been initiated, and a confirmation email has been sent. + */ +export type RequestDeleteResponseBody = { + /** + * Unique identifier of the User who has initiated deletion. + */ + id: string; + /** + * Email address of the User who has initiated deletion. + */ + email: string; + /** + * User deletion progress status. + */ + message: string; +}; + +/** @internal */ +export const RequestDeleteReasons$inboundSchema: z.ZodType< + RequestDeleteReasons, + z.ZodTypeDef, + unknown +> = z.object({ + slug: z.string(), + description: z.string(), +}); + +/** @internal */ +export type RequestDeleteReasons$Outbound = { + slug: string; + description: string; +}; + +/** @internal */ +export const RequestDeleteReasons$outboundSchema: z.ZodType< + RequestDeleteReasons$Outbound, + z.ZodTypeDef, + RequestDeleteReasons +> = z.object({ + slug: z.string(), + description: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestDeleteReasons$ { + /** @deprecated use `RequestDeleteReasons$inboundSchema` instead. */ + export const inboundSchema = RequestDeleteReasons$inboundSchema; + /** @deprecated use `RequestDeleteReasons$outboundSchema` instead. */ + export const outboundSchema = RequestDeleteReasons$outboundSchema; + /** @deprecated use `RequestDeleteReasons$Outbound` instead. */ + export type Outbound = RequestDeleteReasons$Outbound; +} + +export function requestDeleteReasonsToJSON( + requestDeleteReasons: RequestDeleteReasons, +): string { + return JSON.stringify( + RequestDeleteReasons$outboundSchema.parse(requestDeleteReasons), + ); +} + +export function requestDeleteReasonsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestDeleteReasons$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestDeleteReasons' from JSON`, + ); +} + +/** @internal */ +export const RequestDeleteRequestBody$inboundSchema: z.ZodType< + RequestDeleteRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + reasons: z.array(z.lazy(() => RequestDeleteReasons$inboundSchema)).optional(), +}); + +/** @internal */ +export type RequestDeleteRequestBody$Outbound = { + reasons?: Array | undefined; +}; + +/** @internal */ +export const RequestDeleteRequestBody$outboundSchema: z.ZodType< + RequestDeleteRequestBody$Outbound, + z.ZodTypeDef, + RequestDeleteRequestBody +> = z.object({ + reasons: z.array(z.lazy(() => RequestDeleteReasons$outboundSchema)) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestDeleteRequestBody$ { + /** @deprecated use `RequestDeleteRequestBody$inboundSchema` instead. */ + export const inboundSchema = RequestDeleteRequestBody$inboundSchema; + /** @deprecated use `RequestDeleteRequestBody$outboundSchema` instead. */ + export const outboundSchema = RequestDeleteRequestBody$outboundSchema; + /** @deprecated use `RequestDeleteRequestBody$Outbound` instead. */ + export type Outbound = RequestDeleteRequestBody$Outbound; +} + +export function requestDeleteRequestBodyToJSON( + requestDeleteRequestBody: RequestDeleteRequestBody, +): string { + return JSON.stringify( + RequestDeleteRequestBody$outboundSchema.parse(requestDeleteRequestBody), + ); +} + +export function requestDeleteRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestDeleteRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestDeleteRequestBody' from JSON`, + ); +} + +/** @internal */ +export const RequestDeleteResponseBody$inboundSchema: z.ZodType< + RequestDeleteResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + email: z.string(), + message: z.string(), +}); + +/** @internal */ +export type RequestDeleteResponseBody$Outbound = { + id: string; + email: string; + message: string; +}; + +/** @internal */ +export const RequestDeleteResponseBody$outboundSchema: z.ZodType< + RequestDeleteResponseBody$Outbound, + z.ZodTypeDef, + RequestDeleteResponseBody +> = z.object({ + id: z.string(), + email: z.string(), + message: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestDeleteResponseBody$ { + /** @deprecated use `RequestDeleteResponseBody$inboundSchema` instead. */ + export const inboundSchema = RequestDeleteResponseBody$inboundSchema; + /** @deprecated use `RequestDeleteResponseBody$outboundSchema` instead. */ + export const outboundSchema = RequestDeleteResponseBody$outboundSchema; + /** @deprecated use `RequestDeleteResponseBody$Outbound` instead. */ + export type Outbound = RequestDeleteResponseBody$Outbound; +} + +export function requestDeleteResponseBodyToJSON( + requestDeleteResponseBody: RequestDeleteResponseBody, +): string { + return JSON.stringify( + RequestDeleteResponseBody$outboundSchema.parse(requestDeleteResponseBody), + ); +} + +export function requestDeleteResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestDeleteResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestDeleteResponseBody' from JSON`, + ); +} diff --git a/src/models/requestpromoteop.ts b/src/models/requestpromoteop.ts new file mode 100644 index 00000000..fbd1269b --- /dev/null +++ b/src/models/requestpromoteop.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type RequestPromoteRequest = { + projectId: string; + deploymentId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** @internal */ +export const RequestPromoteRequest$inboundSchema: z.ZodType< + RequestPromoteRequest, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string(), + deploymentId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type RequestPromoteRequest$Outbound = { + projectId: string; + deploymentId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const RequestPromoteRequest$outboundSchema: z.ZodType< + RequestPromoteRequest$Outbound, + z.ZodTypeDef, + RequestPromoteRequest +> = z.object({ + projectId: z.string(), + deploymentId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestPromoteRequest$ { + /** @deprecated use `RequestPromoteRequest$inboundSchema` instead. */ + export const inboundSchema = RequestPromoteRequest$inboundSchema; + /** @deprecated use `RequestPromoteRequest$outboundSchema` instead. */ + export const outboundSchema = RequestPromoteRequest$outboundSchema; + /** @deprecated use `RequestPromoteRequest$Outbound` instead. */ + export type Outbound = RequestPromoteRequest$Outbound; +} + +export function requestPromoteRequestToJSON( + requestPromoteRequest: RequestPromoteRequest, +): string { + return JSON.stringify( + RequestPromoteRequest$outboundSchema.parse(requestPromoteRequest), + ); +} + +export function requestPromoteRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestPromoteRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestPromoteRequest' from JSON`, + ); +} diff --git a/src/models/rerequestcheckop.ts b/src/models/rerequestcheckop.ts new file mode 100644 index 00000000..0416a023 --- /dev/null +++ b/src/models/rerequestcheckop.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type RerequestCheckRequest = { + /** + * The deployment to rerun the check for. + */ + deploymentId: string; + /** + * The check to rerun + */ + checkId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export type RerequestCheckResponseBody = {}; + +/** @internal */ +export const RerequestCheckRequest$inboundSchema: z.ZodType< + RerequestCheckRequest, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentId: z.string(), + checkId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type RerequestCheckRequest$Outbound = { + deploymentId: string; + checkId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const RerequestCheckRequest$outboundSchema: z.ZodType< + RerequestCheckRequest$Outbound, + z.ZodTypeDef, + RerequestCheckRequest +> = z.object({ + deploymentId: z.string(), + checkId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RerequestCheckRequest$ { + /** @deprecated use `RerequestCheckRequest$inboundSchema` instead. */ + export const inboundSchema = RerequestCheckRequest$inboundSchema; + /** @deprecated use `RerequestCheckRequest$outboundSchema` instead. */ + export const outboundSchema = RerequestCheckRequest$outboundSchema; + /** @deprecated use `RerequestCheckRequest$Outbound` instead. */ + export type Outbound = RerequestCheckRequest$Outbound; +} + +export function rerequestCheckRequestToJSON( + rerequestCheckRequest: RerequestCheckRequest, +): string { + return JSON.stringify( + RerequestCheckRequest$outboundSchema.parse(rerequestCheckRequest), + ); +} + +export function rerequestCheckRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RerequestCheckRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RerequestCheckRequest' from JSON`, + ); +} + +/** @internal */ +export const RerequestCheckResponseBody$inboundSchema: z.ZodType< + RerequestCheckResponseBody, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type RerequestCheckResponseBody$Outbound = {}; + +/** @internal */ +export const RerequestCheckResponseBody$outboundSchema: z.ZodType< + RerequestCheckResponseBody$Outbound, + z.ZodTypeDef, + RerequestCheckResponseBody +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RerequestCheckResponseBody$ { + /** @deprecated use `RerequestCheckResponseBody$inboundSchema` instead. */ + export const inboundSchema = RerequestCheckResponseBody$inboundSchema; + /** @deprecated use `RerequestCheckResponseBody$outboundSchema` instead. */ + export const outboundSchema = RerequestCheckResponseBody$outboundSchema; + /** @deprecated use `RerequestCheckResponseBody$Outbound` instead. */ + export type Outbound = RerequestCheckResponseBody$Outbound; +} + +export function rerequestCheckResponseBodyToJSON( + rerequestCheckResponseBody: RerequestCheckResponseBody, +): string { + return JSON.stringify( + RerequestCheckResponseBody$outboundSchema.parse(rerequestCheckResponseBody), + ); +} + +export function rerequestCheckResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RerequestCheckResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RerequestCheckResponseBody' from JSON`, + ); +} diff --git a/src/models/errors/sdkerror.ts b/src/models/sdkerror.ts similarity index 100% rename from src/models/errors/sdkerror.ts rename to src/models/sdkerror.ts diff --git a/src/models/errors/sdkvalidationerror.ts b/src/models/sdkvalidationerror.ts similarity index 100% rename from src/models/errors/sdkvalidationerror.ts rename to src/models/sdkvalidationerror.ts diff --git a/src/models/searchrepoop.ts b/src/models/searchrepoop.ts new file mode 100644 index 00000000..2ceb0239 --- /dev/null +++ b/src/models/searchrepoop.ts @@ -0,0 +1,784 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type NamespaceId = string | number; + +export const QueryParamProvider = { + Github: "github", + GithubCustomHost: "github-custom-host", + Gitlab: "gitlab", + Bitbucket: "bitbucket", +} as const; +export type QueryParamProvider = ClosedEnum; + +export type SearchRepoRequest = { + query?: string | undefined; + namespaceId?: string | number | null | undefined; + provider?: QueryParamProvider | undefined; + installationId?: string | undefined; + /** + * The custom Git host if using a custom Git provider, like GitHub Enterprise Server + */ + host?: string | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export const ResponseBodyProvider = { + Github: "github", + GithubCustomHost: "github-custom-host", + Gitlab: "gitlab", + Bitbucket: "bitbucket", +} as const; +export type ResponseBodyProvider = ClosedEnum; + +export type ResponseBodyNamespaceId = string | number; + +export type GitAccount = { + provider: ResponseBodyProvider; + namespaceId: string | number | null; +}; + +export type ResponseBodyId = string | number; + +export const SearchRepoResponseBodyProvider = { + Github: "github", + GithubCustomHost: "github-custom-host", + Gitlab: "gitlab", + Bitbucket: "bitbucket", +} as const; +export type SearchRepoResponseBodyProvider = ClosedEnum< + typeof SearchRepoResponseBodyProvider +>; + +export type SearchRepoResponseBodyId = string | number; + +export type Owner = { + id: string | number; + name: string; +}; + +export const ResponseBodyOwnerType = { + User: "user", + Team: "team", +} as const; +export type ResponseBodyOwnerType = ClosedEnum; + +export type Repos = { + id: string | number; + provider: SearchRepoResponseBodyProvider; + url: string; + name: string; + slug: string; + namespace: string; + owner: Owner; + ownerType: ResponseBodyOwnerType; + private: boolean; + defaultBranch: string; + updatedAt: number; +}; + +export type SearchRepoResponseBody2 = { + gitAccount: GitAccount; + repos: Array; +}; + +export type SearchRepoResponseBody1 = {}; + +export type SearchRepoResponseBody = + | SearchRepoResponseBody1 + | SearchRepoResponseBody2; + +/** @internal */ +export const NamespaceId$inboundSchema: z.ZodType< + NamespaceId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number()]); + +/** @internal */ +export type NamespaceId$Outbound = string | number; + +/** @internal */ +export const NamespaceId$outboundSchema: z.ZodType< + NamespaceId$Outbound, + z.ZodTypeDef, + NamespaceId +> = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace NamespaceId$ { + /** @deprecated use `NamespaceId$inboundSchema` instead. */ + export const inboundSchema = NamespaceId$inboundSchema; + /** @deprecated use `NamespaceId$outboundSchema` instead. */ + export const outboundSchema = NamespaceId$outboundSchema; + /** @deprecated use `NamespaceId$Outbound` instead. */ + export type Outbound = NamespaceId$Outbound; +} + +export function namespaceIdToJSON(namespaceId: NamespaceId): string { + return JSON.stringify(NamespaceId$outboundSchema.parse(namespaceId)); +} + +export function namespaceIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => NamespaceId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'NamespaceId' from JSON`, + ); +} + +/** @internal */ +export const QueryParamProvider$inboundSchema: z.ZodNativeEnum< + typeof QueryParamProvider +> = z.nativeEnum(QueryParamProvider); + +/** @internal */ +export const QueryParamProvider$outboundSchema: z.ZodNativeEnum< + typeof QueryParamProvider +> = QueryParamProvider$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace QueryParamProvider$ { + /** @deprecated use `QueryParamProvider$inboundSchema` instead. */ + export const inboundSchema = QueryParamProvider$inboundSchema; + /** @deprecated use `QueryParamProvider$outboundSchema` instead. */ + export const outboundSchema = QueryParamProvider$outboundSchema; +} + +/** @internal */ +export const SearchRepoRequest$inboundSchema: z.ZodType< + SearchRepoRequest, + z.ZodTypeDef, + unknown +> = z.object({ + query: z.string().optional(), + namespaceId: z.nullable(z.union([z.string(), z.number()])).optional(), + provider: QueryParamProvider$inboundSchema.optional(), + installationId: z.string().optional(), + host: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type SearchRepoRequest$Outbound = { + query?: string | undefined; + namespaceId?: string | number | null | undefined; + provider?: string | undefined; + installationId?: string | undefined; + host?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const SearchRepoRequest$outboundSchema: z.ZodType< + SearchRepoRequest$Outbound, + z.ZodTypeDef, + SearchRepoRequest +> = z.object({ + query: z.string().optional(), + namespaceId: z.nullable(z.union([z.string(), z.number()])).optional(), + provider: QueryParamProvider$outboundSchema.optional(), + installationId: z.string().optional(), + host: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SearchRepoRequest$ { + /** @deprecated use `SearchRepoRequest$inboundSchema` instead. */ + export const inboundSchema = SearchRepoRequest$inboundSchema; + /** @deprecated use `SearchRepoRequest$outboundSchema` instead. */ + export const outboundSchema = SearchRepoRequest$outboundSchema; + /** @deprecated use `SearchRepoRequest$Outbound` instead. */ + export type Outbound = SearchRepoRequest$Outbound; +} + +export function searchRepoRequestToJSON( + searchRepoRequest: SearchRepoRequest, +): string { + return JSON.stringify( + SearchRepoRequest$outboundSchema.parse(searchRepoRequest), + ); +} + +export function searchRepoRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SearchRepoRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SearchRepoRequest' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyProvider$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyProvider +> = z.nativeEnum(ResponseBodyProvider); + +/** @internal */ +export const ResponseBodyProvider$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyProvider +> = ResponseBodyProvider$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyProvider$ { + /** @deprecated use `ResponseBodyProvider$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyProvider$inboundSchema; + /** @deprecated use `ResponseBodyProvider$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyProvider$outboundSchema; +} + +/** @internal */ +export const ResponseBodyNamespaceId$inboundSchema: z.ZodType< + ResponseBodyNamespaceId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number()]); + +/** @internal */ +export type ResponseBodyNamespaceId$Outbound = string | number; + +/** @internal */ +export const ResponseBodyNamespaceId$outboundSchema: z.ZodType< + ResponseBodyNamespaceId$Outbound, + z.ZodTypeDef, + ResponseBodyNamespaceId +> = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyNamespaceId$ { + /** @deprecated use `ResponseBodyNamespaceId$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyNamespaceId$inboundSchema; + /** @deprecated use `ResponseBodyNamespaceId$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyNamespaceId$outboundSchema; + /** @deprecated use `ResponseBodyNamespaceId$Outbound` instead. */ + export type Outbound = ResponseBodyNamespaceId$Outbound; +} + +export function responseBodyNamespaceIdToJSON( + responseBodyNamespaceId: ResponseBodyNamespaceId, +): string { + return JSON.stringify( + ResponseBodyNamespaceId$outboundSchema.parse(responseBodyNamespaceId), + ); +} + +export function responseBodyNamespaceIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyNamespaceId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyNamespaceId' from JSON`, + ); +} + +/** @internal */ +export const GitAccount$inboundSchema: z.ZodType< + GitAccount, + z.ZodTypeDef, + unknown +> = z.object({ + provider: ResponseBodyProvider$inboundSchema, + namespaceId: z.nullable(z.union([z.string(), z.number()])), +}); + +/** @internal */ +export type GitAccount$Outbound = { + provider: string; + namespaceId: string | number | null; +}; + +/** @internal */ +export const GitAccount$outboundSchema: z.ZodType< + GitAccount$Outbound, + z.ZodTypeDef, + GitAccount +> = z.object({ + provider: ResponseBodyProvider$outboundSchema, + namespaceId: z.nullable(z.union([z.string(), z.number()])), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitAccount$ { + /** @deprecated use `GitAccount$inboundSchema` instead. */ + export const inboundSchema = GitAccount$inboundSchema; + /** @deprecated use `GitAccount$outboundSchema` instead. */ + export const outboundSchema = GitAccount$outboundSchema; + /** @deprecated use `GitAccount$Outbound` instead. */ + export type Outbound = GitAccount$Outbound; +} + +export function gitAccountToJSON(gitAccount: GitAccount): string { + return JSON.stringify(GitAccount$outboundSchema.parse(gitAccount)); +} + +export function gitAccountFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitAccount$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitAccount' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyId$inboundSchema: z.ZodType< + ResponseBodyId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number()]); + +/** @internal */ +export type ResponseBodyId$Outbound = string | number; + +/** @internal */ +export const ResponseBodyId$outboundSchema: z.ZodType< + ResponseBodyId$Outbound, + z.ZodTypeDef, + ResponseBodyId +> = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyId$ { + /** @deprecated use `ResponseBodyId$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyId$inboundSchema; + /** @deprecated use `ResponseBodyId$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyId$outboundSchema; + /** @deprecated use `ResponseBodyId$Outbound` instead. */ + export type Outbound = ResponseBodyId$Outbound; +} + +export function responseBodyIdToJSON(responseBodyId: ResponseBodyId): string { + return JSON.stringify(ResponseBodyId$outboundSchema.parse(responseBodyId)); +} + +export function responseBodyIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyId' from JSON`, + ); +} + +/** @internal */ +export const SearchRepoResponseBodyProvider$inboundSchema: z.ZodNativeEnum< + typeof SearchRepoResponseBodyProvider +> = z.nativeEnum(SearchRepoResponseBodyProvider); + +/** @internal */ +export const SearchRepoResponseBodyProvider$outboundSchema: z.ZodNativeEnum< + typeof SearchRepoResponseBodyProvider +> = SearchRepoResponseBodyProvider$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SearchRepoResponseBodyProvider$ { + /** @deprecated use `SearchRepoResponseBodyProvider$inboundSchema` instead. */ + export const inboundSchema = SearchRepoResponseBodyProvider$inboundSchema; + /** @deprecated use `SearchRepoResponseBodyProvider$outboundSchema` instead. */ + export const outboundSchema = SearchRepoResponseBodyProvider$outboundSchema; +} + +/** @internal */ +export const SearchRepoResponseBodyId$inboundSchema: z.ZodType< + SearchRepoResponseBodyId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number()]); + +/** @internal */ +export type SearchRepoResponseBodyId$Outbound = string | number; + +/** @internal */ +export const SearchRepoResponseBodyId$outboundSchema: z.ZodType< + SearchRepoResponseBodyId$Outbound, + z.ZodTypeDef, + SearchRepoResponseBodyId +> = z.union([z.string(), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SearchRepoResponseBodyId$ { + /** @deprecated use `SearchRepoResponseBodyId$inboundSchema` instead. */ + export const inboundSchema = SearchRepoResponseBodyId$inboundSchema; + /** @deprecated use `SearchRepoResponseBodyId$outboundSchema` instead. */ + export const outboundSchema = SearchRepoResponseBodyId$outboundSchema; + /** @deprecated use `SearchRepoResponseBodyId$Outbound` instead. */ + export type Outbound = SearchRepoResponseBodyId$Outbound; +} + +export function searchRepoResponseBodyIdToJSON( + searchRepoResponseBodyId: SearchRepoResponseBodyId, +): string { + return JSON.stringify( + SearchRepoResponseBodyId$outboundSchema.parse(searchRepoResponseBodyId), + ); +} + +export function searchRepoResponseBodyIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SearchRepoResponseBodyId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SearchRepoResponseBodyId' from JSON`, + ); +} + +/** @internal */ +export const Owner$inboundSchema: z.ZodType = z + .object({ + id: z.union([z.string(), z.number()]), + name: z.string(), + }); + +/** @internal */ +export type Owner$Outbound = { + id: string | number; + name: string; +}; + +/** @internal */ +export const Owner$outboundSchema: z.ZodType< + Owner$Outbound, + z.ZodTypeDef, + Owner +> = z.object({ + id: z.union([z.string(), z.number()]), + name: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Owner$ { + /** @deprecated use `Owner$inboundSchema` instead. */ + export const inboundSchema = Owner$inboundSchema; + /** @deprecated use `Owner$outboundSchema` instead. */ + export const outboundSchema = Owner$outboundSchema; + /** @deprecated use `Owner$Outbound` instead. */ + export type Outbound = Owner$Outbound; +} + +export function ownerToJSON(owner: Owner): string { + return JSON.stringify(Owner$outboundSchema.parse(owner)); +} + +export function ownerFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Owner$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Owner' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyOwnerType$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyOwnerType +> = z.nativeEnum(ResponseBodyOwnerType); + +/** @internal */ +export const ResponseBodyOwnerType$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyOwnerType +> = ResponseBodyOwnerType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResponseBodyOwnerType$ { + /** @deprecated use `ResponseBodyOwnerType$inboundSchema` instead. */ + export const inboundSchema = ResponseBodyOwnerType$inboundSchema; + /** @deprecated use `ResponseBodyOwnerType$outboundSchema` instead. */ + export const outboundSchema = ResponseBodyOwnerType$outboundSchema; +} + +/** @internal */ +export const Repos$inboundSchema: z.ZodType = z + .object({ + id: z.union([z.string(), z.number()]), + provider: SearchRepoResponseBodyProvider$inboundSchema, + url: z.string(), + name: z.string(), + slug: z.string(), + namespace: z.string(), + owner: z.lazy(() => Owner$inboundSchema), + ownerType: ResponseBodyOwnerType$inboundSchema, + private: z.boolean(), + defaultBranch: z.string(), + updatedAt: z.number(), + }); + +/** @internal */ +export type Repos$Outbound = { + id: string | number; + provider: string; + url: string; + name: string; + slug: string; + namespace: string; + owner: Owner$Outbound; + ownerType: string; + private: boolean; + defaultBranch: string; + updatedAt: number; +}; + +/** @internal */ +export const Repos$outboundSchema: z.ZodType< + Repos$Outbound, + z.ZodTypeDef, + Repos +> = z.object({ + id: z.union([z.string(), z.number()]), + provider: SearchRepoResponseBodyProvider$outboundSchema, + url: z.string(), + name: z.string(), + slug: z.string(), + namespace: z.string(), + owner: z.lazy(() => Owner$outboundSchema), + ownerType: ResponseBodyOwnerType$outboundSchema, + private: z.boolean(), + defaultBranch: z.string(), + updatedAt: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Repos$ { + /** @deprecated use `Repos$inboundSchema` instead. */ + export const inboundSchema = Repos$inboundSchema; + /** @deprecated use `Repos$outboundSchema` instead. */ + export const outboundSchema = Repos$outboundSchema; + /** @deprecated use `Repos$Outbound` instead. */ + export type Outbound = Repos$Outbound; +} + +export function reposToJSON(repos: Repos): string { + return JSON.stringify(Repos$outboundSchema.parse(repos)); +} + +export function reposFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Repos$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Repos' from JSON`, + ); +} + +/** @internal */ +export const SearchRepoResponseBody2$inboundSchema: z.ZodType< + SearchRepoResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + gitAccount: z.lazy(() => GitAccount$inboundSchema), + repos: z.array(z.lazy(() => Repos$inboundSchema)), +}); + +/** @internal */ +export type SearchRepoResponseBody2$Outbound = { + gitAccount: GitAccount$Outbound; + repos: Array; +}; + +/** @internal */ +export const SearchRepoResponseBody2$outboundSchema: z.ZodType< + SearchRepoResponseBody2$Outbound, + z.ZodTypeDef, + SearchRepoResponseBody2 +> = z.object({ + gitAccount: z.lazy(() => GitAccount$outboundSchema), + repos: z.array(z.lazy(() => Repos$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SearchRepoResponseBody2$ { + /** @deprecated use `SearchRepoResponseBody2$inboundSchema` instead. */ + export const inboundSchema = SearchRepoResponseBody2$inboundSchema; + /** @deprecated use `SearchRepoResponseBody2$outboundSchema` instead. */ + export const outboundSchema = SearchRepoResponseBody2$outboundSchema; + /** @deprecated use `SearchRepoResponseBody2$Outbound` instead. */ + export type Outbound = SearchRepoResponseBody2$Outbound; +} + +export function searchRepoResponseBody2ToJSON( + searchRepoResponseBody2: SearchRepoResponseBody2, +): string { + return JSON.stringify( + SearchRepoResponseBody2$outboundSchema.parse(searchRepoResponseBody2), + ); +} + +export function searchRepoResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SearchRepoResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SearchRepoResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const SearchRepoResponseBody1$inboundSchema: z.ZodType< + SearchRepoResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type SearchRepoResponseBody1$Outbound = {}; + +/** @internal */ +export const SearchRepoResponseBody1$outboundSchema: z.ZodType< + SearchRepoResponseBody1$Outbound, + z.ZodTypeDef, + SearchRepoResponseBody1 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SearchRepoResponseBody1$ { + /** @deprecated use `SearchRepoResponseBody1$inboundSchema` instead. */ + export const inboundSchema = SearchRepoResponseBody1$inboundSchema; + /** @deprecated use `SearchRepoResponseBody1$outboundSchema` instead. */ + export const outboundSchema = SearchRepoResponseBody1$outboundSchema; + /** @deprecated use `SearchRepoResponseBody1$Outbound` instead. */ + export type Outbound = SearchRepoResponseBody1$Outbound; +} + +export function searchRepoResponseBody1ToJSON( + searchRepoResponseBody1: SearchRepoResponseBody1, +): string { + return JSON.stringify( + SearchRepoResponseBody1$outboundSchema.parse(searchRepoResponseBody1), + ); +} + +export function searchRepoResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SearchRepoResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SearchRepoResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const SearchRepoResponseBody$inboundSchema: z.ZodType< + SearchRepoResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => SearchRepoResponseBody1$inboundSchema), + z.lazy(() => SearchRepoResponseBody2$inboundSchema), +]); + +/** @internal */ +export type SearchRepoResponseBody$Outbound = + | SearchRepoResponseBody1$Outbound + | SearchRepoResponseBody2$Outbound; + +/** @internal */ +export const SearchRepoResponseBody$outboundSchema: z.ZodType< + SearchRepoResponseBody$Outbound, + z.ZodTypeDef, + SearchRepoResponseBody +> = z.union([ + z.lazy(() => SearchRepoResponseBody1$outboundSchema), + z.lazy(() => SearchRepoResponseBody2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SearchRepoResponseBody$ { + /** @deprecated use `SearchRepoResponseBody$inboundSchema` instead. */ + export const inboundSchema = SearchRepoResponseBody$inboundSchema; + /** @deprecated use `SearchRepoResponseBody$outboundSchema` instead. */ + export const outboundSchema = SearchRepoResponseBody$outboundSchema; + /** @deprecated use `SearchRepoResponseBody$Outbound` instead. */ + export type Outbound = SearchRepoResponseBody$Outbound; +} + +export function searchRepoResponseBodyToJSON( + searchRepoResponseBody: SearchRepoResponseBody, +): string { + return JSON.stringify( + SearchRepoResponseBody$outboundSchema.parse(searchRepoResponseBody), + ); +} + +export function searchRepoResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SearchRepoResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SearchRepoResponseBody' from JSON`, + ); +} diff --git a/src/models/components/security.ts b/src/models/security.ts similarity index 89% rename from src/models/components/security.ts rename to src/models/security.ts index 5d0eb12c..e82c8180 100644 --- a/src/models/components/security.ts +++ b/src/models/security.ts @@ -3,9 +3,9 @@ */ import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; export type Security = { bearerToken?: string | undefined; diff --git a/src/models/statusop.ts b/src/models/statusop.ts new file mode 100644 index 00000000..03954993 --- /dev/null +++ b/src/models/statusop.ts @@ -0,0 +1,158 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type StatusRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export const StatusStatus = { + Disabled: "disabled", + Enabled: "enabled", + OverLimit: "over_limit", + Paused: "paused", +} as const; +export type StatusStatus = ClosedEnum; + +export type StatusResponseBody = { + status: StatusStatus; +}; + +/** @internal */ +export const StatusRequest$inboundSchema: z.ZodType< + StatusRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type StatusRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const StatusRequest$outboundSchema: z.ZodType< + StatusRequest$Outbound, + z.ZodTypeDef, + StatusRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace StatusRequest$ { + /** @deprecated use `StatusRequest$inboundSchema` instead. */ + export const inboundSchema = StatusRequest$inboundSchema; + /** @deprecated use `StatusRequest$outboundSchema` instead. */ + export const outboundSchema = StatusRequest$outboundSchema; + /** @deprecated use `StatusRequest$Outbound` instead. */ + export type Outbound = StatusRequest$Outbound; +} + +export function statusRequestToJSON(statusRequest: StatusRequest): string { + return JSON.stringify(StatusRequest$outboundSchema.parse(statusRequest)); +} + +export function statusRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => StatusRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'StatusRequest' from JSON`, + ); +} + +/** @internal */ +export const StatusStatus$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(StatusStatus); + +/** @internal */ +export const StatusStatus$outboundSchema: z.ZodNativeEnum = + StatusStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace StatusStatus$ { + /** @deprecated use `StatusStatus$inboundSchema` instead. */ + export const inboundSchema = StatusStatus$inboundSchema; + /** @deprecated use `StatusStatus$outboundSchema` instead. */ + export const outboundSchema = StatusStatus$outboundSchema; +} + +/** @internal */ +export const StatusResponseBody$inboundSchema: z.ZodType< + StatusResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + status: StatusStatus$inboundSchema, +}); + +/** @internal */ +export type StatusResponseBody$Outbound = { + status: string; +}; + +/** @internal */ +export const StatusResponseBody$outboundSchema: z.ZodType< + StatusResponseBody$Outbound, + z.ZodTypeDef, + StatusResponseBody +> = z.object({ + status: StatusStatus$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace StatusResponseBody$ { + /** @deprecated use `StatusResponseBody$inboundSchema` instead. */ + export const inboundSchema = StatusResponseBody$inboundSchema; + /** @deprecated use `StatusResponseBody$outboundSchema` instead. */ + export const outboundSchema = StatusResponseBody$outboundSchema; + /** @deprecated use `StatusResponseBody$Outbound` instead. */ + export type Outbound = StatusResponseBody$Outbound; +} + +export function statusResponseBodyToJSON( + statusResponseBody: StatusResponseBody, +): string { + return JSON.stringify( + StatusResponseBody$outboundSchema.parse(statusResponseBody), + ); +} + +export function statusResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => StatusResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'StatusResponseBody' from JSON`, + ); +} diff --git a/src/models/submitbillingdataop.ts b/src/models/submitbillingdataop.ts new file mode 100644 index 00000000..07f4b8d4 --- /dev/null +++ b/src/models/submitbillingdataop.ts @@ -0,0 +1,820 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * Period for the billing cycle. + */ +export type Period = { + start: Date; + end: Date; +}; + +export type BillingItems = { + /** + * Partner's billing plan ID. + */ + billingPlanId: string; + /** + * Partner's resource ID. + */ + resourceId?: string | undefined; + /** + * Start and end are only needed if different from the period's start/end. + */ + start?: Date | undefined; + /** + * Start and end are only needed if different from the period's start/end. + */ + end?: Date | undefined; + /** + * Line item name. + */ + name: string; + /** + * Line item details. + */ + details?: string | undefined; + /** + * Price per unit. + */ + price: string; + /** + * Quantity of units. + */ + quantity: number; + /** + * Units of the quantity. + */ + units: string; + /** + * Total amount. + */ + total: string; +}; + +export type Discounts = { + /** + * Partner's billing plan ID. + */ + billingPlanId: string; + /** + * Partner's resource ID. + */ + resourceId?: string | undefined; + /** + * Start and end are only needed if different from the period's start/end. + */ + start?: Date | undefined; + /** + * Start and end are only needed if different from the period's start/end. + */ + end?: Date | undefined; + /** + * Discount name. + */ + name: string; + /** + * Discount details. + */ + details?: string | undefined; + /** + * Discount amount. + */ + amount: string; +}; + +export type Billing2 = { + items: Array; + discounts?: Array | undefined; +}; + +export type Billing1 = { + /** + * Partner's billing plan ID. + */ + billingPlanId: string; + /** + * Partner's resource ID. + */ + resourceId?: string | undefined; + /** + * Start and end are only needed if different from the period's start/end. + */ + start?: Date | undefined; + /** + * Start and end are only needed if different from the period's start/end. + */ + end?: Date | undefined; + /** + * Line item name. + */ + name: string; + /** + * Line item details. + */ + details?: string | undefined; + /** + * Price per unit. + */ + price: string; + /** + * Quantity of units. + */ + quantity: number; + /** + * Units of the quantity. + */ + units: string; + /** + * Total amount. + */ + total: string; +}; + +/** + * Billing data (interim invoicing data). + */ +export type SubmitBillingDataBilling = Billing2 | Array; + +/** + * \n Type of the metric.\n - total: measured total value, such as Database size\n - interval: usage during the period, such as i/o or number of queries.\n - rate: rate of usage, such as queries per second.\n + */ +export const SubmitBillingDataType = { + Total: "total", + Interval: "interval", + Rate: "rate", +} as const; +/** + * \n Type of the metric.\n - total: measured total value, such as Database size\n - interval: usage during the period, such as i/o or number of queries.\n - rate: rate of usage, such as queries per second.\n + */ +export type SubmitBillingDataType = ClosedEnum; + +export type Usage = { + /** + * Partner's resource ID. + */ + resourceId: string; + /** + * Metric name. + */ + name: string; + /** + * \n Type of the metric.\n - total: measured total value, such as Database size\n - interval: usage during the period, such as i/o or number of queries.\n - rate: rate of usage, such as queries per second.\n + */ + type: SubmitBillingDataType; + /** + * Metric units. Example: \"GB\" + */ + units: string; + /** + * Metric value for the day. Could be a final or an interim value for the day. + */ + dayValue: number; + /** + * Metric value for the billing period. Could be a final or an interim value for the period. + */ + periodValue: number; + /** + * The limit value of the metric for a billing period, if a limit is defined by the plan. + */ + planValue?: number | undefined; +}; + +export type SubmitBillingDataRequestBody = { + timestamp: Date; + eod: Date; + /** + * Period for the billing cycle. + */ + period: Period; + /** + * Billing data (interim invoicing data). + */ + billing: Billing2 | Array; + usage: Array; +}; + +export type SubmitBillingDataRequest = { + integrationConfigurationId: string; + requestBody: SubmitBillingDataRequestBody; +}; + +/** @internal */ +export const Period$inboundSchema: z.ZodType = z + .object({ + start: z.string().datetime({ offset: true }).transform(v => new Date(v)), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)), + }); + +/** @internal */ +export type Period$Outbound = { + start: string; + end: string; +}; + +/** @internal */ +export const Period$outboundSchema: z.ZodType< + Period$Outbound, + z.ZodTypeDef, + Period +> = z.object({ + start: z.date().transform(v => v.toISOString()), + end: z.date().transform(v => v.toISOString()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Period$ { + /** @deprecated use `Period$inboundSchema` instead. */ + export const inboundSchema = Period$inboundSchema; + /** @deprecated use `Period$outboundSchema` instead. */ + export const outboundSchema = Period$outboundSchema; + /** @deprecated use `Period$Outbound` instead. */ + export type Outbound = Period$Outbound; +} + +export function periodToJSON(period: Period): string { + return JSON.stringify(Period$outboundSchema.parse(period)); +} + +export function periodFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Period$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Period' from JSON`, + ); +} + +/** @internal */ +export const BillingItems$inboundSchema: z.ZodType< + BillingItems, + z.ZodTypeDef, + unknown +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + name: z.string(), + details: z.string().optional(), + price: z.string(), + quantity: z.number(), + units: z.string(), + total: z.string(), +}); + +/** @internal */ +export type BillingItems$Outbound = { + billingPlanId: string; + resourceId?: string | undefined; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + price: string; + quantity: number; + units: string; + total: string; +}; + +/** @internal */ +export const BillingItems$outboundSchema: z.ZodType< + BillingItems$Outbound, + z.ZodTypeDef, + BillingItems +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.date().transform(v => v.toISOString()).optional(), + end: z.date().transform(v => v.toISOString()).optional(), + name: z.string(), + details: z.string().optional(), + price: z.string(), + quantity: z.number(), + units: z.string(), + total: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace BillingItems$ { + /** @deprecated use `BillingItems$inboundSchema` instead. */ + export const inboundSchema = BillingItems$inboundSchema; + /** @deprecated use `BillingItems$outboundSchema` instead. */ + export const outboundSchema = BillingItems$outboundSchema; + /** @deprecated use `BillingItems$Outbound` instead. */ + export type Outbound = BillingItems$Outbound; +} + +export function billingItemsToJSON(billingItems: BillingItems): string { + return JSON.stringify(BillingItems$outboundSchema.parse(billingItems)); +} + +export function billingItemsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BillingItems$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BillingItems' from JSON`, + ); +} + +/** @internal */ +export const Discounts$inboundSchema: z.ZodType< + Discounts, + z.ZodTypeDef, + unknown +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + name: z.string(), + details: z.string().optional(), + amount: z.string(), +}); + +/** @internal */ +export type Discounts$Outbound = { + billingPlanId: string; + resourceId?: string | undefined; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + amount: string; +}; + +/** @internal */ +export const Discounts$outboundSchema: z.ZodType< + Discounts$Outbound, + z.ZodTypeDef, + Discounts +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.date().transform(v => v.toISOString()).optional(), + end: z.date().transform(v => v.toISOString()).optional(), + name: z.string(), + details: z.string().optional(), + amount: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Discounts$ { + /** @deprecated use `Discounts$inboundSchema` instead. */ + export const inboundSchema = Discounts$inboundSchema; + /** @deprecated use `Discounts$outboundSchema` instead. */ + export const outboundSchema = Discounts$outboundSchema; + /** @deprecated use `Discounts$Outbound` instead. */ + export type Outbound = Discounts$Outbound; +} + +export function discountsToJSON(discounts: Discounts): string { + return JSON.stringify(Discounts$outboundSchema.parse(discounts)); +} + +export function discountsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Discounts$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Discounts' from JSON`, + ); +} + +/** @internal */ +export const Billing2$inboundSchema: z.ZodType< + Billing2, + z.ZodTypeDef, + unknown +> = z.object({ + items: z.array(z.lazy(() => BillingItems$inboundSchema)), + discounts: z.array(z.lazy(() => Discounts$inboundSchema)).optional(), +}); + +/** @internal */ +export type Billing2$Outbound = { + items: Array; + discounts?: Array | undefined; +}; + +/** @internal */ +export const Billing2$outboundSchema: z.ZodType< + Billing2$Outbound, + z.ZodTypeDef, + Billing2 +> = z.object({ + items: z.array(z.lazy(() => BillingItems$outboundSchema)), + discounts: z.array(z.lazy(() => Discounts$outboundSchema)).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Billing2$ { + /** @deprecated use `Billing2$inboundSchema` instead. */ + export const inboundSchema = Billing2$inboundSchema; + /** @deprecated use `Billing2$outboundSchema` instead. */ + export const outboundSchema = Billing2$outboundSchema; + /** @deprecated use `Billing2$Outbound` instead. */ + export type Outbound = Billing2$Outbound; +} + +export function billing2ToJSON(billing2: Billing2): string { + return JSON.stringify(Billing2$outboundSchema.parse(billing2)); +} + +export function billing2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Billing2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Billing2' from JSON`, + ); +} + +/** @internal */ +export const Billing1$inboundSchema: z.ZodType< + Billing1, + z.ZodTypeDef, + unknown +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + name: z.string(), + details: z.string().optional(), + price: z.string(), + quantity: z.number(), + units: z.string(), + total: z.string(), +}); + +/** @internal */ +export type Billing1$Outbound = { + billingPlanId: string; + resourceId?: string | undefined; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + price: string; + quantity: number; + units: string; + total: string; +}; + +/** @internal */ +export const Billing1$outboundSchema: z.ZodType< + Billing1$Outbound, + z.ZodTypeDef, + Billing1 +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.date().transform(v => v.toISOString()).optional(), + end: z.date().transform(v => v.toISOString()).optional(), + name: z.string(), + details: z.string().optional(), + price: z.string(), + quantity: z.number(), + units: z.string(), + total: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Billing1$ { + /** @deprecated use `Billing1$inboundSchema` instead. */ + export const inboundSchema = Billing1$inboundSchema; + /** @deprecated use `Billing1$outboundSchema` instead. */ + export const outboundSchema = Billing1$outboundSchema; + /** @deprecated use `Billing1$Outbound` instead. */ + export type Outbound = Billing1$Outbound; +} + +export function billing1ToJSON(billing1: Billing1): string { + return JSON.stringify(Billing1$outboundSchema.parse(billing1)); +} + +export function billing1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Billing1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Billing1' from JSON`, + ); +} + +/** @internal */ +export const SubmitBillingDataBilling$inboundSchema: z.ZodType< + SubmitBillingDataBilling, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => Billing2$inboundSchema), + z.array(z.lazy(() => Billing1$inboundSchema)), +]); + +/** @internal */ +export type SubmitBillingDataBilling$Outbound = + | Billing2$Outbound + | Array; + +/** @internal */ +export const SubmitBillingDataBilling$outboundSchema: z.ZodType< + SubmitBillingDataBilling$Outbound, + z.ZodTypeDef, + SubmitBillingDataBilling +> = z.union([ + z.lazy(() => Billing2$outboundSchema), + z.array(z.lazy(() => Billing1$outboundSchema)), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitBillingDataBilling$ { + /** @deprecated use `SubmitBillingDataBilling$inboundSchema` instead. */ + export const inboundSchema = SubmitBillingDataBilling$inboundSchema; + /** @deprecated use `SubmitBillingDataBilling$outboundSchema` instead. */ + export const outboundSchema = SubmitBillingDataBilling$outboundSchema; + /** @deprecated use `SubmitBillingDataBilling$Outbound` instead. */ + export type Outbound = SubmitBillingDataBilling$Outbound; +} + +export function submitBillingDataBillingToJSON( + submitBillingDataBilling: SubmitBillingDataBilling, +): string { + return JSON.stringify( + SubmitBillingDataBilling$outboundSchema.parse(submitBillingDataBilling), + ); +} + +export function submitBillingDataBillingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitBillingDataBilling$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitBillingDataBilling' from JSON`, + ); +} + +/** @internal */ +export const SubmitBillingDataType$inboundSchema: z.ZodNativeEnum< + typeof SubmitBillingDataType +> = z.nativeEnum(SubmitBillingDataType); + +/** @internal */ +export const SubmitBillingDataType$outboundSchema: z.ZodNativeEnum< + typeof SubmitBillingDataType +> = SubmitBillingDataType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitBillingDataType$ { + /** @deprecated use `SubmitBillingDataType$inboundSchema` instead. */ + export const inboundSchema = SubmitBillingDataType$inboundSchema; + /** @deprecated use `SubmitBillingDataType$outboundSchema` instead. */ + export const outboundSchema = SubmitBillingDataType$outboundSchema; +} + +/** @internal */ +export const Usage$inboundSchema: z.ZodType = z + .object({ + resourceId: z.string(), + name: z.string(), + type: SubmitBillingDataType$inboundSchema, + units: z.string(), + dayValue: z.number(), + periodValue: z.number(), + planValue: z.number().optional(), + }); + +/** @internal */ +export type Usage$Outbound = { + resourceId: string; + name: string; + type: string; + units: string; + dayValue: number; + periodValue: number; + planValue?: number | undefined; +}; + +/** @internal */ +export const Usage$outboundSchema: z.ZodType< + Usage$Outbound, + z.ZodTypeDef, + Usage +> = z.object({ + resourceId: z.string(), + name: z.string(), + type: SubmitBillingDataType$outboundSchema, + units: z.string(), + dayValue: z.number(), + periodValue: z.number(), + planValue: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Usage$ { + /** @deprecated use `Usage$inboundSchema` instead. */ + export const inboundSchema = Usage$inboundSchema; + /** @deprecated use `Usage$outboundSchema` instead. */ + export const outboundSchema = Usage$outboundSchema; + /** @deprecated use `Usage$Outbound` instead. */ + export type Outbound = Usage$Outbound; +} + +export function usageToJSON(usage: Usage): string { + return JSON.stringify(Usage$outboundSchema.parse(usage)); +} + +export function usageFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Usage$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Usage' from JSON`, + ); +} + +/** @internal */ +export const SubmitBillingDataRequestBody$inboundSchema: z.ZodType< + SubmitBillingDataRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + timestamp: z.string().datetime({ offset: true }).transform(v => new Date(v)), + eod: z.string().datetime({ offset: true }).transform(v => new Date(v)), + period: z.lazy(() => Period$inboundSchema), + billing: z.union([ + z.lazy(() => Billing2$inboundSchema), + z.array(z.lazy(() => Billing1$inboundSchema)), + ]), + usage: z.array(z.lazy(() => Usage$inboundSchema)), +}); + +/** @internal */ +export type SubmitBillingDataRequestBody$Outbound = { + timestamp: string; + eod: string; + period: Period$Outbound; + billing: Billing2$Outbound | Array; + usage: Array; +}; + +/** @internal */ +export const SubmitBillingDataRequestBody$outboundSchema: z.ZodType< + SubmitBillingDataRequestBody$Outbound, + z.ZodTypeDef, + SubmitBillingDataRequestBody +> = z.object({ + timestamp: z.date().transform(v => v.toISOString()), + eod: z.date().transform(v => v.toISOString()), + period: z.lazy(() => Period$outboundSchema), + billing: z.union([ + z.lazy(() => Billing2$outboundSchema), + z.array(z.lazy(() => Billing1$outboundSchema)), + ]), + usage: z.array(z.lazy(() => Usage$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitBillingDataRequestBody$ { + /** @deprecated use `SubmitBillingDataRequestBody$inboundSchema` instead. */ + export const inboundSchema = SubmitBillingDataRequestBody$inboundSchema; + /** @deprecated use `SubmitBillingDataRequestBody$outboundSchema` instead. */ + export const outboundSchema = SubmitBillingDataRequestBody$outboundSchema; + /** @deprecated use `SubmitBillingDataRequestBody$Outbound` instead. */ + export type Outbound = SubmitBillingDataRequestBody$Outbound; +} + +export function submitBillingDataRequestBodyToJSON( + submitBillingDataRequestBody: SubmitBillingDataRequestBody, +): string { + return JSON.stringify( + SubmitBillingDataRequestBody$outboundSchema.parse( + submitBillingDataRequestBody, + ), + ); +} + +export function submitBillingDataRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitBillingDataRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitBillingDataRequestBody' from JSON`, + ); +} + +/** @internal */ +export const SubmitBillingDataRequest$inboundSchema: z.ZodType< + SubmitBillingDataRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), + RequestBody: z.lazy(() => SubmitBillingDataRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type SubmitBillingDataRequest$Outbound = { + integrationConfigurationId: string; + RequestBody: SubmitBillingDataRequestBody$Outbound; +}; + +/** @internal */ +export const SubmitBillingDataRequest$outboundSchema: z.ZodType< + SubmitBillingDataRequest$Outbound, + z.ZodTypeDef, + SubmitBillingDataRequest +> = z.object({ + integrationConfigurationId: z.string(), + requestBody: z.lazy(() => SubmitBillingDataRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitBillingDataRequest$ { + /** @deprecated use `SubmitBillingDataRequest$inboundSchema` instead. */ + export const inboundSchema = SubmitBillingDataRequest$inboundSchema; + /** @deprecated use `SubmitBillingDataRequest$outboundSchema` instead. */ + export const outboundSchema = SubmitBillingDataRequest$outboundSchema; + /** @deprecated use `SubmitBillingDataRequest$Outbound` instead. */ + export type Outbound = SubmitBillingDataRequest$Outbound; +} + +export function submitBillingDataRequestToJSON( + submitBillingDataRequest: SubmitBillingDataRequest, +): string { + return JSON.stringify( + SubmitBillingDataRequest$outboundSchema.parse(submitBillingDataRequest), + ); +} + +export function submitBillingDataRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitBillingDataRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitBillingDataRequest' from JSON`, + ); +} diff --git a/src/models/submitinvoiceop.ts b/src/models/submitinvoiceop.ts new file mode 100644 index 00000000..f61d8f18 --- /dev/null +++ b/src/models/submitinvoiceop.ts @@ -0,0 +1,593 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * Subscription period for this billing cycle. + */ +export type SubmitInvoicePeriod = { + start: Date; + end: Date; +}; + +export type SubmitInvoiceItems = { + /** + * Partner's resource ID. + */ + resourceId?: string | undefined; + /** + * Partner's billing plan ID. + */ + billingPlanId: string; + /** + * Start and end are only needed if different from the period's start/end. + */ + start?: Date | undefined; + /** + * Start and end are only needed if different from the period's start/end. + */ + end?: Date | undefined; + name: string; + details?: string | undefined; + price: string; + quantity: number; + units: string; + total: string; +}; + +export type SubmitInvoiceDiscounts = { + /** + * Partner's resource ID. + */ + resourceId?: string | undefined; + /** + * Partner's billing plan ID. + */ + billingPlanId: string; + /** + * Start and end are only needed if different from the period's start/end. + */ + start?: Date | undefined; + /** + * Start and end are only needed if different from the period's start/end. + */ + end?: Date | undefined; + name: string; + details?: string | undefined; + amount: string; +}; + +export const Result = { + Paid: "paid", + Notpaid: "notpaid", +} as const; +export type Result = ClosedEnum; + +/** + * Test mode + */ +export type Test = { + validate?: boolean | undefined; + result?: Result | undefined; +}; + +export type SubmitInvoiceRequestBody = { + externalId?: string | undefined; + /** + * Invoice date. Must be within the period's start and end. + */ + invoiceDate: Date; + /** + * Additional memo for the invoice. + */ + memo?: string | undefined; + /** + * Subscription period for this billing cycle. + */ + period: SubmitInvoicePeriod; + items: Array; + discounts?: Array | undefined; + /** + * Test mode + */ + test?: Test | undefined; +}; + +export type SubmitInvoiceRequest = { + integrationConfigurationId: string; + requestBody: SubmitInvoiceRequestBody; +}; + +export type SubmitInvoiceResponseBody = { + invoiceId?: string | undefined; + test?: boolean | undefined; + validationErrors?: Array | undefined; +}; + +/** @internal */ +export const SubmitInvoicePeriod$inboundSchema: z.ZodType< + SubmitInvoicePeriod, + z.ZodTypeDef, + unknown +> = z.object({ + start: z.string().datetime({ offset: true }).transform(v => new Date(v)), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)), +}); + +/** @internal */ +export type SubmitInvoicePeriod$Outbound = { + start: string; + end: string; +}; + +/** @internal */ +export const SubmitInvoicePeriod$outboundSchema: z.ZodType< + SubmitInvoicePeriod$Outbound, + z.ZodTypeDef, + SubmitInvoicePeriod +> = z.object({ + start: z.date().transform(v => v.toISOString()), + end: z.date().transform(v => v.toISOString()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitInvoicePeriod$ { + /** @deprecated use `SubmitInvoicePeriod$inboundSchema` instead. */ + export const inboundSchema = SubmitInvoicePeriod$inboundSchema; + /** @deprecated use `SubmitInvoicePeriod$outboundSchema` instead. */ + export const outboundSchema = SubmitInvoicePeriod$outboundSchema; + /** @deprecated use `SubmitInvoicePeriod$Outbound` instead. */ + export type Outbound = SubmitInvoicePeriod$Outbound; +} + +export function submitInvoicePeriodToJSON( + submitInvoicePeriod: SubmitInvoicePeriod, +): string { + return JSON.stringify( + SubmitInvoicePeriod$outboundSchema.parse(submitInvoicePeriod), + ); +} + +export function submitInvoicePeriodFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitInvoicePeriod$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitInvoicePeriod' from JSON`, + ); +} + +/** @internal */ +export const SubmitInvoiceItems$inboundSchema: z.ZodType< + SubmitInvoiceItems, + z.ZodTypeDef, + unknown +> = z.object({ + resourceId: z.string().optional(), + billingPlanId: z.string(), + start: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + name: z.string(), + details: z.string().optional(), + price: z.string(), + quantity: z.number(), + units: z.string(), + total: z.string(), +}); + +/** @internal */ +export type SubmitInvoiceItems$Outbound = { + resourceId?: string | undefined; + billingPlanId: string; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + price: string; + quantity: number; + units: string; + total: string; +}; + +/** @internal */ +export const SubmitInvoiceItems$outboundSchema: z.ZodType< + SubmitInvoiceItems$Outbound, + z.ZodTypeDef, + SubmitInvoiceItems +> = z.object({ + resourceId: z.string().optional(), + billingPlanId: z.string(), + start: z.date().transform(v => v.toISOString()).optional(), + end: z.date().transform(v => v.toISOString()).optional(), + name: z.string(), + details: z.string().optional(), + price: z.string(), + quantity: z.number(), + units: z.string(), + total: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitInvoiceItems$ { + /** @deprecated use `SubmitInvoiceItems$inboundSchema` instead. */ + export const inboundSchema = SubmitInvoiceItems$inboundSchema; + /** @deprecated use `SubmitInvoiceItems$outboundSchema` instead. */ + export const outboundSchema = SubmitInvoiceItems$outboundSchema; + /** @deprecated use `SubmitInvoiceItems$Outbound` instead. */ + export type Outbound = SubmitInvoiceItems$Outbound; +} + +export function submitInvoiceItemsToJSON( + submitInvoiceItems: SubmitInvoiceItems, +): string { + return JSON.stringify( + SubmitInvoiceItems$outboundSchema.parse(submitInvoiceItems), + ); +} + +export function submitInvoiceItemsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitInvoiceItems$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitInvoiceItems' from JSON`, + ); +} + +/** @internal */ +export const SubmitInvoiceDiscounts$inboundSchema: z.ZodType< + SubmitInvoiceDiscounts, + z.ZodTypeDef, + unknown +> = z.object({ + resourceId: z.string().optional(), + billingPlanId: z.string(), + start: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + name: z.string(), + details: z.string().optional(), + amount: z.string(), +}); + +/** @internal */ +export type SubmitInvoiceDiscounts$Outbound = { + resourceId?: string | undefined; + billingPlanId: string; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + amount: string; +}; + +/** @internal */ +export const SubmitInvoiceDiscounts$outboundSchema: z.ZodType< + SubmitInvoiceDiscounts$Outbound, + z.ZodTypeDef, + SubmitInvoiceDiscounts +> = z.object({ + resourceId: z.string().optional(), + billingPlanId: z.string(), + start: z.date().transform(v => v.toISOString()).optional(), + end: z.date().transform(v => v.toISOString()).optional(), + name: z.string(), + details: z.string().optional(), + amount: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitInvoiceDiscounts$ { + /** @deprecated use `SubmitInvoiceDiscounts$inboundSchema` instead. */ + export const inboundSchema = SubmitInvoiceDiscounts$inboundSchema; + /** @deprecated use `SubmitInvoiceDiscounts$outboundSchema` instead. */ + export const outboundSchema = SubmitInvoiceDiscounts$outboundSchema; + /** @deprecated use `SubmitInvoiceDiscounts$Outbound` instead. */ + export type Outbound = SubmitInvoiceDiscounts$Outbound; +} + +export function submitInvoiceDiscountsToJSON( + submitInvoiceDiscounts: SubmitInvoiceDiscounts, +): string { + return JSON.stringify( + SubmitInvoiceDiscounts$outboundSchema.parse(submitInvoiceDiscounts), + ); +} + +export function submitInvoiceDiscountsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitInvoiceDiscounts$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitInvoiceDiscounts' from JSON`, + ); +} + +/** @internal */ +export const Result$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Result); + +/** @internal */ +export const Result$outboundSchema: z.ZodNativeEnum = + Result$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Result$ { + /** @deprecated use `Result$inboundSchema` instead. */ + export const inboundSchema = Result$inboundSchema; + /** @deprecated use `Result$outboundSchema` instead. */ + export const outboundSchema = Result$outboundSchema; +} + +/** @internal */ +export const Test$inboundSchema: z.ZodType = z + .object({ + validate: z.boolean().optional(), + result: Result$inboundSchema.optional(), + }); + +/** @internal */ +export type Test$Outbound = { + validate?: boolean | undefined; + result?: string | undefined; +}; + +/** @internal */ +export const Test$outboundSchema: z.ZodType = + z.object({ + validate: z.boolean().optional(), + result: Result$outboundSchema.optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Test$ { + /** @deprecated use `Test$inboundSchema` instead. */ + export const inboundSchema = Test$inboundSchema; + /** @deprecated use `Test$outboundSchema` instead. */ + export const outboundSchema = Test$outboundSchema; + /** @deprecated use `Test$Outbound` instead. */ + export type Outbound = Test$Outbound; +} + +export function testToJSON(test: Test): string { + return JSON.stringify(Test$outboundSchema.parse(test)); +} + +export function testFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Test$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Test' from JSON`, + ); +} + +/** @internal */ +export const SubmitInvoiceRequestBody$inboundSchema: z.ZodType< + SubmitInvoiceRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + externalId: z.string().optional(), + invoiceDate: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ), + memo: z.string().optional(), + period: z.lazy(() => SubmitInvoicePeriod$inboundSchema), + items: z.array(z.lazy(() => SubmitInvoiceItems$inboundSchema)), + discounts: z.array(z.lazy(() => SubmitInvoiceDiscounts$inboundSchema)) + .optional(), + test: z.lazy(() => Test$inboundSchema).optional(), +}); + +/** @internal */ +export type SubmitInvoiceRequestBody$Outbound = { + externalId?: string | undefined; + invoiceDate: string; + memo?: string | undefined; + period: SubmitInvoicePeriod$Outbound; + items: Array; + discounts?: Array | undefined; + test?: Test$Outbound | undefined; +}; + +/** @internal */ +export const SubmitInvoiceRequestBody$outboundSchema: z.ZodType< + SubmitInvoiceRequestBody$Outbound, + z.ZodTypeDef, + SubmitInvoiceRequestBody +> = z.object({ + externalId: z.string().optional(), + invoiceDate: z.date().transform(v => v.toISOString()), + memo: z.string().optional(), + period: z.lazy(() => SubmitInvoicePeriod$outboundSchema), + items: z.array(z.lazy(() => SubmitInvoiceItems$outboundSchema)), + discounts: z.array(z.lazy(() => SubmitInvoiceDiscounts$outboundSchema)) + .optional(), + test: z.lazy(() => Test$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitInvoiceRequestBody$ { + /** @deprecated use `SubmitInvoiceRequestBody$inboundSchema` instead. */ + export const inboundSchema = SubmitInvoiceRequestBody$inboundSchema; + /** @deprecated use `SubmitInvoiceRequestBody$outboundSchema` instead. */ + export const outboundSchema = SubmitInvoiceRequestBody$outboundSchema; + /** @deprecated use `SubmitInvoiceRequestBody$Outbound` instead. */ + export type Outbound = SubmitInvoiceRequestBody$Outbound; +} + +export function submitInvoiceRequestBodyToJSON( + submitInvoiceRequestBody: SubmitInvoiceRequestBody, +): string { + return JSON.stringify( + SubmitInvoiceRequestBody$outboundSchema.parse(submitInvoiceRequestBody), + ); +} + +export function submitInvoiceRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitInvoiceRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitInvoiceRequestBody' from JSON`, + ); +} + +/** @internal */ +export const SubmitInvoiceRequest$inboundSchema: z.ZodType< + SubmitInvoiceRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), + RequestBody: z.lazy(() => SubmitInvoiceRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type SubmitInvoiceRequest$Outbound = { + integrationConfigurationId: string; + RequestBody: SubmitInvoiceRequestBody$Outbound; +}; + +/** @internal */ +export const SubmitInvoiceRequest$outboundSchema: z.ZodType< + SubmitInvoiceRequest$Outbound, + z.ZodTypeDef, + SubmitInvoiceRequest +> = z.object({ + integrationConfigurationId: z.string(), + requestBody: z.lazy(() => SubmitInvoiceRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitInvoiceRequest$ { + /** @deprecated use `SubmitInvoiceRequest$inboundSchema` instead. */ + export const inboundSchema = SubmitInvoiceRequest$inboundSchema; + /** @deprecated use `SubmitInvoiceRequest$outboundSchema` instead. */ + export const outboundSchema = SubmitInvoiceRequest$outboundSchema; + /** @deprecated use `SubmitInvoiceRequest$Outbound` instead. */ + export type Outbound = SubmitInvoiceRequest$Outbound; +} + +export function submitInvoiceRequestToJSON( + submitInvoiceRequest: SubmitInvoiceRequest, +): string { + return JSON.stringify( + SubmitInvoiceRequest$outboundSchema.parse(submitInvoiceRequest), + ); +} + +export function submitInvoiceRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitInvoiceRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitInvoiceRequest' from JSON`, + ); +} + +/** @internal */ +export const SubmitInvoiceResponseBody$inboundSchema: z.ZodType< + SubmitInvoiceResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + invoiceId: z.string().optional(), + test: z.boolean().optional(), + validationErrors: z.array(z.string()).optional(), +}); + +/** @internal */ +export type SubmitInvoiceResponseBody$Outbound = { + invoiceId?: string | undefined; + test?: boolean | undefined; + validationErrors?: Array | undefined; +}; + +/** @internal */ +export const SubmitInvoiceResponseBody$outboundSchema: z.ZodType< + SubmitInvoiceResponseBody$Outbound, + z.ZodTypeDef, + SubmitInvoiceResponseBody +> = z.object({ + invoiceId: z.string().optional(), + test: z.boolean().optional(), + validationErrors: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitInvoiceResponseBody$ { + /** @deprecated use `SubmitInvoiceResponseBody$inboundSchema` instead. */ + export const inboundSchema = SubmitInvoiceResponseBody$inboundSchema; + /** @deprecated use `SubmitInvoiceResponseBody$outboundSchema` instead. */ + export const outboundSchema = SubmitInvoiceResponseBody$outboundSchema; + /** @deprecated use `SubmitInvoiceResponseBody$Outbound` instead. */ + export type Outbound = SubmitInvoiceResponseBody$Outbound; +} + +export function submitInvoiceResponseBodyToJSON( + submitInvoiceResponseBody: SubmitInvoiceResponseBody, +): string { + return JSON.stringify( + SubmitInvoiceResponseBody$outboundSchema.parse(submitInvoiceResponseBody), + ); +} + +export function submitInvoiceResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitInvoiceResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitInvoiceResponseBody' from JSON`, + ); +} diff --git a/src/models/components/teamlimited.ts b/src/models/teamlimited.ts similarity index 98% rename from src/models/components/teamlimited.ts rename to src/models/teamlimited.ts index 9c09e61b..1a519ffa 100644 --- a/src/models/components/teamlimited.ts +++ b/src/models/teamlimited.ts @@ -3,10 +3,10 @@ */ import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; /** * Information for the SAML Single Sign-On configuration. @@ -91,12 +91,12 @@ export type Role = ClosedEnum; export const Origin = { Link: "link", Saml: "saml", - Mail: "mail", - Import: "import", - Teams: "teams", Github: "github", Gitlab: "gitlab", Bitbucket: "bitbucket", + Mail: "mail", + Import: "import", + Teams: "teams", Dsync: "dsync", Feedback: "feedback", OrganizationTeams: "organization-teams", diff --git a/src/models/updateaccessgroupop.ts b/src/models/updateaccessgroupop.ts new file mode 100644 index 00000000..454dd5d3 --- /dev/null +++ b/src/models/updateaccessgroupop.ts @@ -0,0 +1,411 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * The project role that will be added to this Access Group. \"null\" will remove this project level role. + */ +export const UpdateAccessGroupRole = { + Admin: "ADMIN", + ProjectViewer: "PROJECT_VIEWER", + ProjectDeveloper: "PROJECT_DEVELOPER", +} as const; +/** + * The project role that will be added to this Access Group. \"null\" will remove this project level role. + */ +export type UpdateAccessGroupRole = ClosedEnum; + +export type Projects = { + /** + * The ID of the project. + */ + projectId: string; + /** + * The project role that will be added to this Access Group. \"null\" will remove this project level role. + */ + role: UpdateAccessGroupRole | null; +}; + +export type UpdateAccessGroupRequestBody = { + /** + * The name of the access group + */ + name?: string | undefined; + projects?: Array | undefined; + /** + * List of members to add to the access group. + */ + membersToAdd?: Array | undefined; + /** + * List of members to remove from the access group. + */ + membersToRemove?: Array | undefined; +}; + +export type UpdateAccessGroupRequest = { + idOrName: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: UpdateAccessGroupRequestBody; +}; + +export const UpdateAccessGroupEntitlements = { + V0: "v0", +} as const; +export type UpdateAccessGroupEntitlements = ClosedEnum< + typeof UpdateAccessGroupEntitlements +>; + +export type UpdateAccessGroupResponseBody = { + entitlements?: Array | undefined; + /** + * The name of this access group. + */ + name: string; + /** + * Timestamp in milliseconds when the access group was created. + */ + createdAt: string; + /** + * ID of the team that this access group belongs to. + */ + teamId: string; + /** + * Timestamp in milliseconds when the access group was last updated. + */ + updatedAt: string; + /** + * ID of the access group. + */ + accessGroupId: string; + /** + * Number of members in the access group. + */ + membersCount: number; + /** + * Number of projects in the access group. + */ + projectsCount: number; +}; + +/** @internal */ +export const UpdateAccessGroupRole$inboundSchema: z.ZodNativeEnum< + typeof UpdateAccessGroupRole +> = z.nativeEnum(UpdateAccessGroupRole); + +/** @internal */ +export const UpdateAccessGroupRole$outboundSchema: z.ZodNativeEnum< + typeof UpdateAccessGroupRole +> = UpdateAccessGroupRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateAccessGroupRole$ { + /** @deprecated use `UpdateAccessGroupRole$inboundSchema` instead. */ + export const inboundSchema = UpdateAccessGroupRole$inboundSchema; + /** @deprecated use `UpdateAccessGroupRole$outboundSchema` instead. */ + export const outboundSchema = UpdateAccessGroupRole$outboundSchema; +} + +/** @internal */ +export const Projects$inboundSchema: z.ZodType< + Projects, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string(), + role: z.nullable(UpdateAccessGroupRole$inboundSchema), +}); + +/** @internal */ +export type Projects$Outbound = { + projectId: string; + role: string | null; +}; + +/** @internal */ +export const Projects$outboundSchema: z.ZodType< + Projects$Outbound, + z.ZodTypeDef, + Projects +> = z.object({ + projectId: z.string(), + role: z.nullable(UpdateAccessGroupRole$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Projects$ { + /** @deprecated use `Projects$inboundSchema` instead. */ + export const inboundSchema = Projects$inboundSchema; + /** @deprecated use `Projects$outboundSchema` instead. */ + export const outboundSchema = Projects$outboundSchema; + /** @deprecated use `Projects$Outbound` instead. */ + export type Outbound = Projects$Outbound; +} + +export function projectsToJSON(projects: Projects): string { + return JSON.stringify(Projects$outboundSchema.parse(projects)); +} + +export function projectsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Projects$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Projects' from JSON`, + ); +} + +/** @internal */ +export const UpdateAccessGroupRequestBody$inboundSchema: z.ZodType< + UpdateAccessGroupRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), + projects: z.array(z.lazy(() => Projects$inboundSchema)).optional(), + membersToAdd: z.array(z.string()).optional(), + membersToRemove: z.array(z.string()).optional(), +}); + +/** @internal */ +export type UpdateAccessGroupRequestBody$Outbound = { + name?: string | undefined; + projects?: Array | undefined; + membersToAdd?: Array | undefined; + membersToRemove?: Array | undefined; +}; + +/** @internal */ +export const UpdateAccessGroupRequestBody$outboundSchema: z.ZodType< + UpdateAccessGroupRequestBody$Outbound, + z.ZodTypeDef, + UpdateAccessGroupRequestBody +> = z.object({ + name: z.string().optional(), + projects: z.array(z.lazy(() => Projects$outboundSchema)).optional(), + membersToAdd: z.array(z.string()).optional(), + membersToRemove: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateAccessGroupRequestBody$ { + /** @deprecated use `UpdateAccessGroupRequestBody$inboundSchema` instead. */ + export const inboundSchema = UpdateAccessGroupRequestBody$inboundSchema; + /** @deprecated use `UpdateAccessGroupRequestBody$outboundSchema` instead. */ + export const outboundSchema = UpdateAccessGroupRequestBody$outboundSchema; + /** @deprecated use `UpdateAccessGroupRequestBody$Outbound` instead. */ + export type Outbound = UpdateAccessGroupRequestBody$Outbound; +} + +export function updateAccessGroupRequestBodyToJSON( + updateAccessGroupRequestBody: UpdateAccessGroupRequestBody, +): string { + return JSON.stringify( + UpdateAccessGroupRequestBody$outboundSchema.parse( + updateAccessGroupRequestBody, + ), + ); +} + +export function updateAccessGroupRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateAccessGroupRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateAccessGroupRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateAccessGroupRequest$inboundSchema: z.ZodType< + UpdateAccessGroupRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => UpdateAccessGroupRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UpdateAccessGroupRequest$Outbound = { + idOrName: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: UpdateAccessGroupRequestBody$Outbound; +}; + +/** @internal */ +export const UpdateAccessGroupRequest$outboundSchema: z.ZodType< + UpdateAccessGroupRequest$Outbound, + z.ZodTypeDef, + UpdateAccessGroupRequest +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateAccessGroupRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateAccessGroupRequest$ { + /** @deprecated use `UpdateAccessGroupRequest$inboundSchema` instead. */ + export const inboundSchema = UpdateAccessGroupRequest$inboundSchema; + /** @deprecated use `UpdateAccessGroupRequest$outboundSchema` instead. */ + export const outboundSchema = UpdateAccessGroupRequest$outboundSchema; + /** @deprecated use `UpdateAccessGroupRequest$Outbound` instead. */ + export type Outbound = UpdateAccessGroupRequest$Outbound; +} + +export function updateAccessGroupRequestToJSON( + updateAccessGroupRequest: UpdateAccessGroupRequest, +): string { + return JSON.stringify( + UpdateAccessGroupRequest$outboundSchema.parse(updateAccessGroupRequest), + ); +} + +export function updateAccessGroupRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateAccessGroupRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateAccessGroupRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateAccessGroupEntitlements$inboundSchema: z.ZodNativeEnum< + typeof UpdateAccessGroupEntitlements +> = z.nativeEnum(UpdateAccessGroupEntitlements); + +/** @internal */ +export const UpdateAccessGroupEntitlements$outboundSchema: z.ZodNativeEnum< + typeof UpdateAccessGroupEntitlements +> = UpdateAccessGroupEntitlements$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateAccessGroupEntitlements$ { + /** @deprecated use `UpdateAccessGroupEntitlements$inboundSchema` instead. */ + export const inboundSchema = UpdateAccessGroupEntitlements$inboundSchema; + /** @deprecated use `UpdateAccessGroupEntitlements$outboundSchema` instead. */ + export const outboundSchema = UpdateAccessGroupEntitlements$outboundSchema; +} + +/** @internal */ +export const UpdateAccessGroupResponseBody$inboundSchema: z.ZodType< + UpdateAccessGroupResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + entitlements: z.array(UpdateAccessGroupEntitlements$inboundSchema).optional(), + name: z.string(), + createdAt: z.string(), + teamId: z.string(), + updatedAt: z.string(), + accessGroupId: z.string(), + membersCount: z.number(), + projectsCount: z.number(), +}); + +/** @internal */ +export type UpdateAccessGroupResponseBody$Outbound = { + entitlements?: Array | undefined; + name: string; + createdAt: string; + teamId: string; + updatedAt: string; + accessGroupId: string; + membersCount: number; + projectsCount: number; +}; + +/** @internal */ +export const UpdateAccessGroupResponseBody$outboundSchema: z.ZodType< + UpdateAccessGroupResponseBody$Outbound, + z.ZodTypeDef, + UpdateAccessGroupResponseBody +> = z.object({ + entitlements: z.array(UpdateAccessGroupEntitlements$outboundSchema) + .optional(), + name: z.string(), + createdAt: z.string(), + teamId: z.string(), + updatedAt: z.string(), + accessGroupId: z.string(), + membersCount: z.number(), + projectsCount: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateAccessGroupResponseBody$ { + /** @deprecated use `UpdateAccessGroupResponseBody$inboundSchema` instead. */ + export const inboundSchema = UpdateAccessGroupResponseBody$inboundSchema; + /** @deprecated use `UpdateAccessGroupResponseBody$outboundSchema` instead. */ + export const outboundSchema = UpdateAccessGroupResponseBody$outboundSchema; + /** @deprecated use `UpdateAccessGroupResponseBody$Outbound` instead. */ + export type Outbound = UpdateAccessGroupResponseBody$Outbound; +} + +export function updateAccessGroupResponseBodyToJSON( + updateAccessGroupResponseBody: UpdateAccessGroupResponseBody, +): string { + return JSON.stringify( + UpdateAccessGroupResponseBody$outboundSchema.parse( + updateAccessGroupResponseBody, + ), + ); +} + +export function updateAccessGroupResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateAccessGroupResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateAccessGroupResponseBody' from JSON`, + ); +} diff --git a/src/models/updateaccessgroupprojectop.ts b/src/models/updateaccessgroupprojectop.ts new file mode 100644 index 00000000..09b67baa --- /dev/null +++ b/src/models/updateaccessgroupprojectop.ts @@ -0,0 +1,317 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * The project role that will be added to this Access Group. + */ +export const UpdateAccessGroupProjectRole = { + Admin: "ADMIN", + ProjectViewer: "PROJECT_VIEWER", + ProjectDeveloper: "PROJECT_DEVELOPER", +} as const; +/** + * The project role that will be added to this Access Group. + */ +export type UpdateAccessGroupProjectRole = ClosedEnum< + typeof UpdateAccessGroupProjectRole +>; + +export type UpdateAccessGroupProjectRequestBody = { + /** + * The project role that will be added to this Access Group. + */ + role: UpdateAccessGroupProjectRole; +}; + +export type UpdateAccessGroupProjectRequest = { + accessGroupIdOrName: string; + projectId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: UpdateAccessGroupProjectRequestBody; +}; + +export const UpdateAccessGroupProjectAccessGroupsRole = { + Admin: "ADMIN", + ProjectDeveloper: "PROJECT_DEVELOPER", + ProjectViewer: "PROJECT_VIEWER", +} as const; +export type UpdateAccessGroupProjectAccessGroupsRole = ClosedEnum< + typeof UpdateAccessGroupProjectAccessGroupsRole +>; + +export type UpdateAccessGroupProjectResponseBody = { + teamId: string; + accessGroupId: string; + projectId: string; + role: UpdateAccessGroupProjectAccessGroupsRole; + createdAt: string; + updatedAt: string; +}; + +/** @internal */ +export const UpdateAccessGroupProjectRole$inboundSchema: z.ZodNativeEnum< + typeof UpdateAccessGroupProjectRole +> = z.nativeEnum(UpdateAccessGroupProjectRole); + +/** @internal */ +export const UpdateAccessGroupProjectRole$outboundSchema: z.ZodNativeEnum< + typeof UpdateAccessGroupProjectRole +> = UpdateAccessGroupProjectRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateAccessGroupProjectRole$ { + /** @deprecated use `UpdateAccessGroupProjectRole$inboundSchema` instead. */ + export const inboundSchema = UpdateAccessGroupProjectRole$inboundSchema; + /** @deprecated use `UpdateAccessGroupProjectRole$outboundSchema` instead. */ + export const outboundSchema = UpdateAccessGroupProjectRole$outboundSchema; +} + +/** @internal */ +export const UpdateAccessGroupProjectRequestBody$inboundSchema: z.ZodType< + UpdateAccessGroupProjectRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + role: UpdateAccessGroupProjectRole$inboundSchema, +}); + +/** @internal */ +export type UpdateAccessGroupProjectRequestBody$Outbound = { + role: string; +}; + +/** @internal */ +export const UpdateAccessGroupProjectRequestBody$outboundSchema: z.ZodType< + UpdateAccessGroupProjectRequestBody$Outbound, + z.ZodTypeDef, + UpdateAccessGroupProjectRequestBody +> = z.object({ + role: UpdateAccessGroupProjectRole$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateAccessGroupProjectRequestBody$ { + /** @deprecated use `UpdateAccessGroupProjectRequestBody$inboundSchema` instead. */ + export const inboundSchema = + UpdateAccessGroupProjectRequestBody$inboundSchema; + /** @deprecated use `UpdateAccessGroupProjectRequestBody$outboundSchema` instead. */ + export const outboundSchema = + UpdateAccessGroupProjectRequestBody$outboundSchema; + /** @deprecated use `UpdateAccessGroupProjectRequestBody$Outbound` instead. */ + export type Outbound = UpdateAccessGroupProjectRequestBody$Outbound; +} + +export function updateAccessGroupProjectRequestBodyToJSON( + updateAccessGroupProjectRequestBody: UpdateAccessGroupProjectRequestBody, +): string { + return JSON.stringify( + UpdateAccessGroupProjectRequestBody$outboundSchema.parse( + updateAccessGroupProjectRequestBody, + ), + ); +} + +export function updateAccessGroupProjectRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateAccessGroupProjectRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateAccessGroupProjectRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateAccessGroupProjectRequest$inboundSchema: z.ZodType< + UpdateAccessGroupProjectRequest, + z.ZodTypeDef, + unknown +> = z.object({ + accessGroupIdOrName: z.string(), + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => UpdateAccessGroupProjectRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UpdateAccessGroupProjectRequest$Outbound = { + accessGroupIdOrName: string; + projectId: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: UpdateAccessGroupProjectRequestBody$Outbound; +}; + +/** @internal */ +export const UpdateAccessGroupProjectRequest$outboundSchema: z.ZodType< + UpdateAccessGroupProjectRequest$Outbound, + z.ZodTypeDef, + UpdateAccessGroupProjectRequest +> = z.object({ + accessGroupIdOrName: z.string(), + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateAccessGroupProjectRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateAccessGroupProjectRequest$ { + /** @deprecated use `UpdateAccessGroupProjectRequest$inboundSchema` instead. */ + export const inboundSchema = UpdateAccessGroupProjectRequest$inboundSchema; + /** @deprecated use `UpdateAccessGroupProjectRequest$outboundSchema` instead. */ + export const outboundSchema = UpdateAccessGroupProjectRequest$outboundSchema; + /** @deprecated use `UpdateAccessGroupProjectRequest$Outbound` instead. */ + export type Outbound = UpdateAccessGroupProjectRequest$Outbound; +} + +export function updateAccessGroupProjectRequestToJSON( + updateAccessGroupProjectRequest: UpdateAccessGroupProjectRequest, +): string { + return JSON.stringify( + UpdateAccessGroupProjectRequest$outboundSchema.parse( + updateAccessGroupProjectRequest, + ), + ); +} + +export function updateAccessGroupProjectRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateAccessGroupProjectRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateAccessGroupProjectRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateAccessGroupProjectAccessGroupsRole$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateAccessGroupProjectAccessGroupsRole); + +/** @internal */ +export const UpdateAccessGroupProjectAccessGroupsRole$outboundSchema: + z.ZodNativeEnum = + UpdateAccessGroupProjectAccessGroupsRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateAccessGroupProjectAccessGroupsRole$ { + /** @deprecated use `UpdateAccessGroupProjectAccessGroupsRole$inboundSchema` instead. */ + export const inboundSchema = + UpdateAccessGroupProjectAccessGroupsRole$inboundSchema; + /** @deprecated use `UpdateAccessGroupProjectAccessGroupsRole$outboundSchema` instead. */ + export const outboundSchema = + UpdateAccessGroupProjectAccessGroupsRole$outboundSchema; +} + +/** @internal */ +export const UpdateAccessGroupProjectResponseBody$inboundSchema: z.ZodType< + UpdateAccessGroupProjectResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string(), + accessGroupId: z.string(), + projectId: z.string(), + role: UpdateAccessGroupProjectAccessGroupsRole$inboundSchema, + createdAt: z.string(), + updatedAt: z.string(), +}); + +/** @internal */ +export type UpdateAccessGroupProjectResponseBody$Outbound = { + teamId: string; + accessGroupId: string; + projectId: string; + role: string; + createdAt: string; + updatedAt: string; +}; + +/** @internal */ +export const UpdateAccessGroupProjectResponseBody$outboundSchema: z.ZodType< + UpdateAccessGroupProjectResponseBody$Outbound, + z.ZodTypeDef, + UpdateAccessGroupProjectResponseBody +> = z.object({ + teamId: z.string(), + accessGroupId: z.string(), + projectId: z.string(), + role: UpdateAccessGroupProjectAccessGroupsRole$outboundSchema, + createdAt: z.string(), + updatedAt: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateAccessGroupProjectResponseBody$ { + /** @deprecated use `UpdateAccessGroupProjectResponseBody$inboundSchema` instead. */ + export const inboundSchema = + UpdateAccessGroupProjectResponseBody$inboundSchema; + /** @deprecated use `UpdateAccessGroupProjectResponseBody$outboundSchema` instead. */ + export const outboundSchema = + UpdateAccessGroupProjectResponseBody$outboundSchema; + /** @deprecated use `UpdateAccessGroupProjectResponseBody$Outbound` instead. */ + export type Outbound = UpdateAccessGroupProjectResponseBody$Outbound; +} + +export function updateAccessGroupProjectResponseBodyToJSON( + updateAccessGroupProjectResponseBody: UpdateAccessGroupProjectResponseBody, +): string { + return JSON.stringify( + UpdateAccessGroupProjectResponseBody$outboundSchema.parse( + updateAccessGroupProjectResponseBody, + ), + ); +} + +export function updateAccessGroupProjectResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateAccessGroupProjectResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateAccessGroupProjectResponseBody' from JSON`, + ); +} diff --git a/src/models/updateattackchallengemodeop.ts b/src/models/updateattackchallengemodeop.ts new file mode 100644 index 00000000..bcb55dbf --- /dev/null +++ b/src/models/updateattackchallengemodeop.ts @@ -0,0 +1,231 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type UpdateAttackChallengeModeRequestBody = { + projectId: string; + attackModeEnabled: boolean; + attackModeActiveUntil?: number | null | undefined; +}; + +export type UpdateAttackChallengeModeRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: UpdateAttackChallengeModeRequestBody; +}; + +export type UpdateAttackChallengeModeResponseBody = { + attackModeEnabled: boolean; + attackModeUpdatedAt: number; +}; + +/** @internal */ +export const UpdateAttackChallengeModeRequestBody$inboundSchema: z.ZodType< + UpdateAttackChallengeModeRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string(), + attackModeEnabled: z.boolean(), + attackModeActiveUntil: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type UpdateAttackChallengeModeRequestBody$Outbound = { + projectId: string; + attackModeEnabled: boolean; + attackModeActiveUntil?: number | null | undefined; +}; + +/** @internal */ +export const UpdateAttackChallengeModeRequestBody$outboundSchema: z.ZodType< + UpdateAttackChallengeModeRequestBody$Outbound, + z.ZodTypeDef, + UpdateAttackChallengeModeRequestBody +> = z.object({ + projectId: z.string(), + attackModeEnabled: z.boolean(), + attackModeActiveUntil: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateAttackChallengeModeRequestBody$ { + /** @deprecated use `UpdateAttackChallengeModeRequestBody$inboundSchema` instead. */ + export const inboundSchema = + UpdateAttackChallengeModeRequestBody$inboundSchema; + /** @deprecated use `UpdateAttackChallengeModeRequestBody$outboundSchema` instead. */ + export const outboundSchema = + UpdateAttackChallengeModeRequestBody$outboundSchema; + /** @deprecated use `UpdateAttackChallengeModeRequestBody$Outbound` instead. */ + export type Outbound = UpdateAttackChallengeModeRequestBody$Outbound; +} + +export function updateAttackChallengeModeRequestBodyToJSON( + updateAttackChallengeModeRequestBody: UpdateAttackChallengeModeRequestBody, +): string { + return JSON.stringify( + UpdateAttackChallengeModeRequestBody$outboundSchema.parse( + updateAttackChallengeModeRequestBody, + ), + ); +} + +export function updateAttackChallengeModeRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateAttackChallengeModeRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateAttackChallengeModeRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateAttackChallengeModeRequest$inboundSchema: z.ZodType< + UpdateAttackChallengeModeRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => UpdateAttackChallengeModeRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UpdateAttackChallengeModeRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: UpdateAttackChallengeModeRequestBody$Outbound; +}; + +/** @internal */ +export const UpdateAttackChallengeModeRequest$outboundSchema: z.ZodType< + UpdateAttackChallengeModeRequest$Outbound, + z.ZodTypeDef, + UpdateAttackChallengeModeRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + UpdateAttackChallengeModeRequestBody$outboundSchema + ), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateAttackChallengeModeRequest$ { + /** @deprecated use `UpdateAttackChallengeModeRequest$inboundSchema` instead. */ + export const inboundSchema = UpdateAttackChallengeModeRequest$inboundSchema; + /** @deprecated use `UpdateAttackChallengeModeRequest$outboundSchema` instead. */ + export const outboundSchema = UpdateAttackChallengeModeRequest$outboundSchema; + /** @deprecated use `UpdateAttackChallengeModeRequest$Outbound` instead. */ + export type Outbound = UpdateAttackChallengeModeRequest$Outbound; +} + +export function updateAttackChallengeModeRequestToJSON( + updateAttackChallengeModeRequest: UpdateAttackChallengeModeRequest, +): string { + return JSON.stringify( + UpdateAttackChallengeModeRequest$outboundSchema.parse( + updateAttackChallengeModeRequest, + ), + ); +} + +export function updateAttackChallengeModeRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateAttackChallengeModeRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateAttackChallengeModeRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateAttackChallengeModeResponseBody$inboundSchema: z.ZodType< + UpdateAttackChallengeModeResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + attackModeEnabled: z.boolean(), + attackModeUpdatedAt: z.number(), +}); + +/** @internal */ +export type UpdateAttackChallengeModeResponseBody$Outbound = { + attackModeEnabled: boolean; + attackModeUpdatedAt: number; +}; + +/** @internal */ +export const UpdateAttackChallengeModeResponseBody$outboundSchema: z.ZodType< + UpdateAttackChallengeModeResponseBody$Outbound, + z.ZodTypeDef, + UpdateAttackChallengeModeResponseBody +> = z.object({ + attackModeEnabled: z.boolean(), + attackModeUpdatedAt: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateAttackChallengeModeResponseBody$ { + /** @deprecated use `UpdateAttackChallengeModeResponseBody$inboundSchema` instead. */ + export const inboundSchema = + UpdateAttackChallengeModeResponseBody$inboundSchema; + /** @deprecated use `UpdateAttackChallengeModeResponseBody$outboundSchema` instead. */ + export const outboundSchema = + UpdateAttackChallengeModeResponseBody$outboundSchema; + /** @deprecated use `UpdateAttackChallengeModeResponseBody$Outbound` instead. */ + export type Outbound = UpdateAttackChallengeModeResponseBody$Outbound; +} + +export function updateAttackChallengeModeResponseBodyToJSON( + updateAttackChallengeModeResponseBody: UpdateAttackChallengeModeResponseBody, +): string { + return JSON.stringify( + UpdateAttackChallengeModeResponseBody$outboundSchema.parse( + updateAttackChallengeModeResponseBody, + ), + ); +} + +export function updateAttackChallengeModeResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateAttackChallengeModeResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateAttackChallengeModeResponseBody' from JSON`, + ); +} diff --git a/src/models/updatecheckop.ts b/src/models/updatecheckop.ts new file mode 100644 index 00000000..b8089458 --- /dev/null +++ b/src/models/updatecheckop.ts @@ -0,0 +1,1687 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * The current status of the check + */ +export const Status = { + Running: "running", + Completed: "completed", +} as const; +/** + * The current status of the check + */ +export type Status = ClosedEnum; + +/** + * The result of the check being run + */ +export const Conclusion = { + Canceled: "canceled", + Failed: "failed", + Neutral: "neutral", + Succeeded: "succeeded", + Skipped: "skipped", +} as const; +/** + * The result of the check being run + */ +export type Conclusion = ClosedEnum; + +export const UpdateCheckSource = { + WebVitals: "web-vitals", +} as const; +export type UpdateCheckSource = ClosedEnum; + +export type Fcp = { + /** + * First Contentful Paint value + */ + value: number | null; + /** + * Previous First Contentful Paint value to display a delta + */ + previousValue?: number | undefined; + source: UpdateCheckSource; +}; + +export const UpdateCheckChecksSource = { + WebVitals: "web-vitals", +} as const; +export type UpdateCheckChecksSource = ClosedEnum< + typeof UpdateCheckChecksSource +>; + +export type Lcp = { + /** + * Largest Contentful Paint value + */ + value: number | null; + /** + * Previous Largest Contentful Paint value to display a delta + */ + previousValue?: number | undefined; + source: UpdateCheckChecksSource; +}; + +export const UpdateCheckChecksRequestSource = { + WebVitals: "web-vitals", +} as const; +export type UpdateCheckChecksRequestSource = ClosedEnum< + typeof UpdateCheckChecksRequestSource +>; + +export type Cls = { + /** + * Cumulative Layout Shift value + */ + value: number | null; + /** + * Previous Cumulative Layout Shift value to display a delta + */ + previousValue?: number | undefined; + source: UpdateCheckChecksRequestSource; +}; + +export const UpdateCheckChecksRequestRequestBodySource = { + WebVitals: "web-vitals", +} as const; +export type UpdateCheckChecksRequestRequestBodySource = ClosedEnum< + typeof UpdateCheckChecksRequestRequestBodySource +>; + +export type Tbt = { + /** + * Total Blocking Time value + */ + value: number | null; + /** + * Previous Total Blocking Time value to display a delta + */ + previousValue?: number | undefined; + source: UpdateCheckChecksRequestRequestBodySource; +}; + +export const UpdateCheckChecksRequestRequestBodyOutputSource = { + WebVitals: "web-vitals", +} as const; +export type UpdateCheckChecksRequestRequestBodyOutputSource = ClosedEnum< + typeof UpdateCheckChecksRequestRequestBodyOutputSource +>; + +export type VirtualExperienceScore = { + /** + * The calculated Virtual Experience Score value, between 0 and 100 + */ + value: number | null; + /** + * A previous Virtual Experience Score value to display a delta, between 0 and 100 + */ + previousValue?: number | undefined; + source: UpdateCheckChecksRequestRequestBodyOutputSource; +}; + +/** + * Metrics about the page + */ +export type Metrics = { + fcp: Fcp; + lcp: Lcp; + cls: Cls; + tbt: Tbt; + virtualExperienceScore?: VirtualExperienceScore | undefined; +}; + +/** + * The results of the check Run + */ +export type Output = { + /** + * Metrics about the page + */ + metrics?: Metrics | undefined; +}; + +export type UpdateCheckRequestBody = { + /** + * The name of the check being created + */ + name?: string | undefined; + /** + * Path of the page that is being checked + */ + path?: string | undefined; + /** + * The current status of the check + */ + status?: Status | undefined; + /** + * The result of the check being run + */ + conclusion?: Conclusion | undefined; + /** + * A URL a user may visit to see more information about the check + */ + detailsUrl?: string | undefined; + /** + * The results of the check Run + */ + output?: Output | undefined; + /** + * An identifier that can be used as an external reference + */ + externalId?: string | undefined; +}; + +export type UpdateCheckRequest = { + /** + * The deployment to update the check for. + */ + deploymentId: string; + /** + * The check being updated + */ + checkId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: UpdateCheckRequestBody; +}; + +export const UpdateCheckStatus = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +export type UpdateCheckStatus = ClosedEnum; + +export const UpdateCheckConclusion = { + Canceled: "canceled", + Failed: "failed", + Neutral: "neutral", + Succeeded: "succeeded", + Skipped: "skipped", + Stale: "stale", +} as const; +export type UpdateCheckConclusion = ClosedEnum; + +export const UpdateCheckChecksResponseSource = { + WebVitals: "web-vitals", +} as const; +export type UpdateCheckChecksResponseSource = ClosedEnum< + typeof UpdateCheckChecksResponseSource +>; + +export type UpdateCheckFCP = { + value: number | null; + previousValue?: number | undefined; + source: UpdateCheckChecksResponseSource; +}; + +export const UpdateCheckChecksResponse200Source = { + WebVitals: "web-vitals", +} as const; +export type UpdateCheckChecksResponse200Source = ClosedEnum< + typeof UpdateCheckChecksResponse200Source +>; + +export type UpdateCheckLCP = { + value: number | null; + previousValue?: number | undefined; + source: UpdateCheckChecksResponse200Source; +}; + +export const UpdateCheckChecksResponse200ApplicationJSONSource = { + WebVitals: "web-vitals", +} as const; +export type UpdateCheckChecksResponse200ApplicationJSONSource = ClosedEnum< + typeof UpdateCheckChecksResponse200ApplicationJSONSource +>; + +export type UpdateCheckCLS = { + value: number | null; + previousValue?: number | undefined; + source: UpdateCheckChecksResponse200ApplicationJSONSource; +}; + +export const UpdateCheckChecksResponse200ApplicationJSONResponseBodySource = { + WebVitals: "web-vitals", +} as const; +export type UpdateCheckChecksResponse200ApplicationJSONResponseBodySource = + ClosedEnum< + typeof UpdateCheckChecksResponse200ApplicationJSONResponseBodySource + >; + +export type UpdateCheckTBT = { + value: number | null; + previousValue?: number | undefined; + source: UpdateCheckChecksResponse200ApplicationJSONResponseBodySource; +}; + +export const UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource = + { + WebVitals: "web-vitals", + } as const; +export type UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource = + ClosedEnum< + typeof UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource + >; + +export type UpdateCheckVirtualExperienceScore = { + value: number | null; + previousValue?: number | undefined; + source: UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource; +}; + +export type UpdateCheckMetrics = { + fcp: UpdateCheckFCP; + lcp: UpdateCheckLCP; + cls: UpdateCheckCLS; + tbt: UpdateCheckTBT; + virtualExperienceScore?: UpdateCheckVirtualExperienceScore | undefined; +}; + +export type UpdateCheckOutput = { + metrics?: UpdateCheckMetrics | undefined; +}; + +export type UpdateCheckResponseBody = { + id: string; + name: string; + path?: string | undefined; + status: UpdateCheckStatus; + conclusion?: UpdateCheckConclusion | undefined; + blocking: boolean; + output?: UpdateCheckOutput | undefined; + detailsUrl?: string | undefined; + integrationId: string; + deploymentId: string; + externalId?: string | undefined; + createdAt: number; + updatedAt: number; + startedAt?: number | undefined; + completedAt?: number | undefined; + rerequestable?: boolean | undefined; +}; + +/** @internal */ +export const Status$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Status); + +/** @internal */ +export const Status$outboundSchema: z.ZodNativeEnum = + Status$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Status$ { + /** @deprecated use `Status$inboundSchema` instead. */ + export const inboundSchema = Status$inboundSchema; + /** @deprecated use `Status$outboundSchema` instead. */ + export const outboundSchema = Status$outboundSchema; +} + +/** @internal */ +export const Conclusion$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Conclusion); + +/** @internal */ +export const Conclusion$outboundSchema: z.ZodNativeEnum = + Conclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Conclusion$ { + /** @deprecated use `Conclusion$inboundSchema` instead. */ + export const inboundSchema = Conclusion$inboundSchema; + /** @deprecated use `Conclusion$outboundSchema` instead. */ + export const outboundSchema = Conclusion$outboundSchema; +} + +/** @internal */ +export const UpdateCheckSource$inboundSchema: z.ZodNativeEnum< + typeof UpdateCheckSource +> = z.nativeEnum(UpdateCheckSource); + +/** @internal */ +export const UpdateCheckSource$outboundSchema: z.ZodNativeEnum< + typeof UpdateCheckSource +> = UpdateCheckSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckSource$ { + /** @deprecated use `UpdateCheckSource$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckSource$inboundSchema; + /** @deprecated use `UpdateCheckSource$outboundSchema` instead. */ + export const outboundSchema = UpdateCheckSource$outboundSchema; +} + +/** @internal */ +export const Fcp$inboundSchema: z.ZodType = z + .object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckSource$inboundSchema, + }); + +/** @internal */ +export type Fcp$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const Fcp$outboundSchema: z.ZodType = z + .object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckSource$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Fcp$ { + /** @deprecated use `Fcp$inboundSchema` instead. */ + export const inboundSchema = Fcp$inboundSchema; + /** @deprecated use `Fcp$outboundSchema` instead. */ + export const outboundSchema = Fcp$outboundSchema; + /** @deprecated use `Fcp$Outbound` instead. */ + export type Outbound = Fcp$Outbound; +} + +export function fcpToJSON(fcp: Fcp): string { + return JSON.stringify(Fcp$outboundSchema.parse(fcp)); +} + +export function fcpFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Fcp$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Fcp' from JSON`, + ); +} + +/** @internal */ +export const UpdateCheckChecksSource$inboundSchema: z.ZodNativeEnum< + typeof UpdateCheckChecksSource +> = z.nativeEnum(UpdateCheckChecksSource); + +/** @internal */ +export const UpdateCheckChecksSource$outboundSchema: z.ZodNativeEnum< + typeof UpdateCheckChecksSource +> = UpdateCheckChecksSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckChecksSource$ { + /** @deprecated use `UpdateCheckChecksSource$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckChecksSource$inboundSchema; + /** @deprecated use `UpdateCheckChecksSource$outboundSchema` instead. */ + export const outboundSchema = UpdateCheckChecksSource$outboundSchema; +} + +/** @internal */ +export const Lcp$inboundSchema: z.ZodType = z + .object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckChecksSource$inboundSchema, + }); + +/** @internal */ +export type Lcp$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const Lcp$outboundSchema: z.ZodType = z + .object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckChecksSource$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Lcp$ { + /** @deprecated use `Lcp$inboundSchema` instead. */ + export const inboundSchema = Lcp$inboundSchema; + /** @deprecated use `Lcp$outboundSchema` instead. */ + export const outboundSchema = Lcp$outboundSchema; + /** @deprecated use `Lcp$Outbound` instead. */ + export type Outbound = Lcp$Outbound; +} + +export function lcpToJSON(lcp: Lcp): string { + return JSON.stringify(Lcp$outboundSchema.parse(lcp)); +} + +export function lcpFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Lcp$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Lcp' from JSON`, + ); +} + +/** @internal */ +export const UpdateCheckChecksRequestSource$inboundSchema: z.ZodNativeEnum< + typeof UpdateCheckChecksRequestSource +> = z.nativeEnum(UpdateCheckChecksRequestSource); + +/** @internal */ +export const UpdateCheckChecksRequestSource$outboundSchema: z.ZodNativeEnum< + typeof UpdateCheckChecksRequestSource +> = UpdateCheckChecksRequestSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckChecksRequestSource$ { + /** @deprecated use `UpdateCheckChecksRequestSource$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckChecksRequestSource$inboundSchema; + /** @deprecated use `UpdateCheckChecksRequestSource$outboundSchema` instead. */ + export const outboundSchema = UpdateCheckChecksRequestSource$outboundSchema; +} + +/** @internal */ +export const Cls$inboundSchema: z.ZodType = z + .object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckChecksRequestSource$inboundSchema, + }); + +/** @internal */ +export type Cls$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const Cls$outboundSchema: z.ZodType = z + .object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckChecksRequestSource$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Cls$ { + /** @deprecated use `Cls$inboundSchema` instead. */ + export const inboundSchema = Cls$inboundSchema; + /** @deprecated use `Cls$outboundSchema` instead. */ + export const outboundSchema = Cls$outboundSchema; + /** @deprecated use `Cls$Outbound` instead. */ + export type Outbound = Cls$Outbound; +} + +export function clsToJSON(cls: Cls): string { + return JSON.stringify(Cls$outboundSchema.parse(cls)); +} + +export function clsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Cls$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Cls' from JSON`, + ); +} + +/** @internal */ +export const UpdateCheckChecksRequestRequestBodySource$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateCheckChecksRequestRequestBodySource); + +/** @internal */ +export const UpdateCheckChecksRequestRequestBodySource$outboundSchema: + z.ZodNativeEnum = + UpdateCheckChecksRequestRequestBodySource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckChecksRequestRequestBodySource$ { + /** @deprecated use `UpdateCheckChecksRequestRequestBodySource$inboundSchema` instead. */ + export const inboundSchema = + UpdateCheckChecksRequestRequestBodySource$inboundSchema; + /** @deprecated use `UpdateCheckChecksRequestRequestBodySource$outboundSchema` instead. */ + export const outboundSchema = + UpdateCheckChecksRequestRequestBodySource$outboundSchema; +} + +/** @internal */ +export const Tbt$inboundSchema: z.ZodType = z + .object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckChecksRequestRequestBodySource$inboundSchema, + }); + +/** @internal */ +export type Tbt$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const Tbt$outboundSchema: z.ZodType = z + .object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckChecksRequestRequestBodySource$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Tbt$ { + /** @deprecated use `Tbt$inboundSchema` instead. */ + export const inboundSchema = Tbt$inboundSchema; + /** @deprecated use `Tbt$outboundSchema` instead. */ + export const outboundSchema = Tbt$outboundSchema; + /** @deprecated use `Tbt$Outbound` instead. */ + export type Outbound = Tbt$Outbound; +} + +export function tbtToJSON(tbt: Tbt): string { + return JSON.stringify(Tbt$outboundSchema.parse(tbt)); +} + +export function tbtFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Tbt$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Tbt' from JSON`, + ); +} + +/** @internal */ +export const UpdateCheckChecksRequestRequestBodyOutputSource$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateCheckChecksRequestRequestBodyOutputSource); + +/** @internal */ +export const UpdateCheckChecksRequestRequestBodyOutputSource$outboundSchema: + z.ZodNativeEnum = + UpdateCheckChecksRequestRequestBodyOutputSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckChecksRequestRequestBodyOutputSource$ { + /** @deprecated use `UpdateCheckChecksRequestRequestBodyOutputSource$inboundSchema` instead. */ + export const inboundSchema = + UpdateCheckChecksRequestRequestBodyOutputSource$inboundSchema; + /** @deprecated use `UpdateCheckChecksRequestRequestBodyOutputSource$outboundSchema` instead. */ + export const outboundSchema = + UpdateCheckChecksRequestRequestBodyOutputSource$outboundSchema; +} + +/** @internal */ +export const VirtualExperienceScore$inboundSchema: z.ZodType< + VirtualExperienceScore, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number().int()), + previousValue: z.number().int().optional(), + source: UpdateCheckChecksRequestRequestBodyOutputSource$inboundSchema, +}); + +/** @internal */ +export type VirtualExperienceScore$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const VirtualExperienceScore$outboundSchema: z.ZodType< + VirtualExperienceScore$Outbound, + z.ZodTypeDef, + VirtualExperienceScore +> = z.object({ + value: z.nullable(z.number().int()), + previousValue: z.number().int().optional(), + source: UpdateCheckChecksRequestRequestBodyOutputSource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace VirtualExperienceScore$ { + /** @deprecated use `VirtualExperienceScore$inboundSchema` instead. */ + export const inboundSchema = VirtualExperienceScore$inboundSchema; + /** @deprecated use `VirtualExperienceScore$outboundSchema` instead. */ + export const outboundSchema = VirtualExperienceScore$outboundSchema; + /** @deprecated use `VirtualExperienceScore$Outbound` instead. */ + export type Outbound = VirtualExperienceScore$Outbound; +} + +export function virtualExperienceScoreToJSON( + virtualExperienceScore: VirtualExperienceScore, +): string { + return JSON.stringify( + VirtualExperienceScore$outboundSchema.parse(virtualExperienceScore), + ); +} + +export function virtualExperienceScoreFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VirtualExperienceScore$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VirtualExperienceScore' from JSON`, + ); +} + +/** @internal */ +export const Metrics$inboundSchema: z.ZodType = + z.object({ + FCP: z.lazy(() => Fcp$inboundSchema), + LCP: z.lazy(() => Lcp$inboundSchema), + CLS: z.lazy(() => Cls$inboundSchema), + TBT: z.lazy(() => Tbt$inboundSchema), + virtualExperienceScore: z.lazy(() => VirtualExperienceScore$inboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + "FCP": "fcp", + "LCP": "lcp", + "CLS": "cls", + "TBT": "tbt", + }); + }); + +/** @internal */ +export type Metrics$Outbound = { + FCP: Fcp$Outbound; + LCP: Lcp$Outbound; + CLS: Cls$Outbound; + TBT: Tbt$Outbound; + virtualExperienceScore?: VirtualExperienceScore$Outbound | undefined; +}; + +/** @internal */ +export const Metrics$outboundSchema: z.ZodType< + Metrics$Outbound, + z.ZodTypeDef, + Metrics +> = z.object({ + fcp: z.lazy(() => Fcp$outboundSchema), + lcp: z.lazy(() => Lcp$outboundSchema), + cls: z.lazy(() => Cls$outboundSchema), + tbt: z.lazy(() => Tbt$outboundSchema), + virtualExperienceScore: z.lazy(() => VirtualExperienceScore$outboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + fcp: "FCP", + lcp: "LCP", + cls: "CLS", + tbt: "TBT", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Metrics$ { + /** @deprecated use `Metrics$inboundSchema` instead. */ + export const inboundSchema = Metrics$inboundSchema; + /** @deprecated use `Metrics$outboundSchema` instead. */ + export const outboundSchema = Metrics$outboundSchema; + /** @deprecated use `Metrics$Outbound` instead. */ + export type Outbound = Metrics$Outbound; +} + +export function metricsToJSON(metrics: Metrics): string { + return JSON.stringify(Metrics$outboundSchema.parse(metrics)); +} + +export function metricsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Metrics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Metrics' from JSON`, + ); +} + +/** @internal */ +export const Output$inboundSchema: z.ZodType = z + .object({ + metrics: z.lazy(() => Metrics$inboundSchema).optional(), + }); + +/** @internal */ +export type Output$Outbound = { + metrics?: Metrics$Outbound | undefined; +}; + +/** @internal */ +export const Output$outboundSchema: z.ZodType< + Output$Outbound, + z.ZodTypeDef, + Output +> = z.object({ + metrics: z.lazy(() => Metrics$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Output$ { + /** @deprecated use `Output$inboundSchema` instead. */ + export const inboundSchema = Output$inboundSchema; + /** @deprecated use `Output$outboundSchema` instead. */ + export const outboundSchema = Output$outboundSchema; + /** @deprecated use `Output$Outbound` instead. */ + export type Outbound = Output$Outbound; +} + +export function outputToJSON(output: Output): string { + return JSON.stringify(Output$outboundSchema.parse(output)); +} + +export function outputFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Output$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Output' from JSON`, + ); +} + +/** @internal */ +export const UpdateCheckRequestBody$inboundSchema: z.ZodType< + UpdateCheckRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), + path: z.string().optional(), + status: Status$inboundSchema.optional(), + conclusion: Conclusion$inboundSchema.optional(), + detailsUrl: z.string().optional(), + output: z.lazy(() => Output$inboundSchema).optional(), + externalId: z.string().optional(), +}); + +/** @internal */ +export type UpdateCheckRequestBody$Outbound = { + name?: string | undefined; + path?: string | undefined; + status?: string | undefined; + conclusion?: string | undefined; + detailsUrl?: string | undefined; + output?: Output$Outbound | undefined; + externalId?: string | undefined; +}; + +/** @internal */ +export const UpdateCheckRequestBody$outboundSchema: z.ZodType< + UpdateCheckRequestBody$Outbound, + z.ZodTypeDef, + UpdateCheckRequestBody +> = z.object({ + name: z.string().optional(), + path: z.string().optional(), + status: Status$outboundSchema.optional(), + conclusion: Conclusion$outboundSchema.optional(), + detailsUrl: z.string().optional(), + output: z.lazy(() => Output$outboundSchema).optional(), + externalId: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckRequestBody$ { + /** @deprecated use `UpdateCheckRequestBody$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckRequestBody$inboundSchema; + /** @deprecated use `UpdateCheckRequestBody$outboundSchema` instead. */ + export const outboundSchema = UpdateCheckRequestBody$outboundSchema; + /** @deprecated use `UpdateCheckRequestBody$Outbound` instead. */ + export type Outbound = UpdateCheckRequestBody$Outbound; +} + +export function updateCheckRequestBodyToJSON( + updateCheckRequestBody: UpdateCheckRequestBody, +): string { + return JSON.stringify( + UpdateCheckRequestBody$outboundSchema.parse(updateCheckRequestBody), + ); +} + +export function updateCheckRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateCheckRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateCheckRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateCheckRequest$inboundSchema: z.ZodType< + UpdateCheckRequest, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentId: z.string(), + checkId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => UpdateCheckRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UpdateCheckRequest$Outbound = { + deploymentId: string; + checkId: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: UpdateCheckRequestBody$Outbound; +}; + +/** @internal */ +export const UpdateCheckRequest$outboundSchema: z.ZodType< + UpdateCheckRequest$Outbound, + z.ZodTypeDef, + UpdateCheckRequest +> = z.object({ + deploymentId: z.string(), + checkId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateCheckRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckRequest$ { + /** @deprecated use `UpdateCheckRequest$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckRequest$inboundSchema; + /** @deprecated use `UpdateCheckRequest$outboundSchema` instead. */ + export const outboundSchema = UpdateCheckRequest$outboundSchema; + /** @deprecated use `UpdateCheckRequest$Outbound` instead. */ + export type Outbound = UpdateCheckRequest$Outbound; +} + +export function updateCheckRequestToJSON( + updateCheckRequest: UpdateCheckRequest, +): string { + return JSON.stringify( + UpdateCheckRequest$outboundSchema.parse(updateCheckRequest), + ); +} + +export function updateCheckRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateCheckRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateCheckRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateCheckStatus$inboundSchema: z.ZodNativeEnum< + typeof UpdateCheckStatus +> = z.nativeEnum(UpdateCheckStatus); + +/** @internal */ +export const UpdateCheckStatus$outboundSchema: z.ZodNativeEnum< + typeof UpdateCheckStatus +> = UpdateCheckStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckStatus$ { + /** @deprecated use `UpdateCheckStatus$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckStatus$inboundSchema; + /** @deprecated use `UpdateCheckStatus$outboundSchema` instead. */ + export const outboundSchema = UpdateCheckStatus$outboundSchema; +} + +/** @internal */ +export const UpdateCheckConclusion$inboundSchema: z.ZodNativeEnum< + typeof UpdateCheckConclusion +> = z.nativeEnum(UpdateCheckConclusion); + +/** @internal */ +export const UpdateCheckConclusion$outboundSchema: z.ZodNativeEnum< + typeof UpdateCheckConclusion +> = UpdateCheckConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckConclusion$ { + /** @deprecated use `UpdateCheckConclusion$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckConclusion$inboundSchema; + /** @deprecated use `UpdateCheckConclusion$outboundSchema` instead. */ + export const outboundSchema = UpdateCheckConclusion$outboundSchema; +} + +/** @internal */ +export const UpdateCheckChecksResponseSource$inboundSchema: z.ZodNativeEnum< + typeof UpdateCheckChecksResponseSource +> = z.nativeEnum(UpdateCheckChecksResponseSource); + +/** @internal */ +export const UpdateCheckChecksResponseSource$outboundSchema: z.ZodNativeEnum< + typeof UpdateCheckChecksResponseSource +> = UpdateCheckChecksResponseSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckChecksResponseSource$ { + /** @deprecated use `UpdateCheckChecksResponseSource$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckChecksResponseSource$inboundSchema; + /** @deprecated use `UpdateCheckChecksResponseSource$outboundSchema` instead. */ + export const outboundSchema = UpdateCheckChecksResponseSource$outboundSchema; +} + +/** @internal */ +export const UpdateCheckFCP$inboundSchema: z.ZodType< + UpdateCheckFCP, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckChecksResponseSource$inboundSchema, +}); + +/** @internal */ +export type UpdateCheckFCP$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const UpdateCheckFCP$outboundSchema: z.ZodType< + UpdateCheckFCP$Outbound, + z.ZodTypeDef, + UpdateCheckFCP +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckChecksResponseSource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckFCP$ { + /** @deprecated use `UpdateCheckFCP$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckFCP$inboundSchema; + /** @deprecated use `UpdateCheckFCP$outboundSchema` instead. */ + export const outboundSchema = UpdateCheckFCP$outboundSchema; + /** @deprecated use `UpdateCheckFCP$Outbound` instead. */ + export type Outbound = UpdateCheckFCP$Outbound; +} + +export function updateCheckFCPToJSON(updateCheckFCP: UpdateCheckFCP): string { + return JSON.stringify(UpdateCheckFCP$outboundSchema.parse(updateCheckFCP)); +} + +export function updateCheckFCPFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateCheckFCP$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateCheckFCP' from JSON`, + ); +} + +/** @internal */ +export const UpdateCheckChecksResponse200Source$inboundSchema: z.ZodNativeEnum< + typeof UpdateCheckChecksResponse200Source +> = z.nativeEnum(UpdateCheckChecksResponse200Source); + +/** @internal */ +export const UpdateCheckChecksResponse200Source$outboundSchema: z.ZodNativeEnum< + typeof UpdateCheckChecksResponse200Source +> = UpdateCheckChecksResponse200Source$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckChecksResponse200Source$ { + /** @deprecated use `UpdateCheckChecksResponse200Source$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckChecksResponse200Source$inboundSchema; + /** @deprecated use `UpdateCheckChecksResponse200Source$outboundSchema` instead. */ + export const outboundSchema = + UpdateCheckChecksResponse200Source$outboundSchema; +} + +/** @internal */ +export const UpdateCheckLCP$inboundSchema: z.ZodType< + UpdateCheckLCP, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckChecksResponse200Source$inboundSchema, +}); + +/** @internal */ +export type UpdateCheckLCP$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const UpdateCheckLCP$outboundSchema: z.ZodType< + UpdateCheckLCP$Outbound, + z.ZodTypeDef, + UpdateCheckLCP +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckChecksResponse200Source$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckLCP$ { + /** @deprecated use `UpdateCheckLCP$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckLCP$inboundSchema; + /** @deprecated use `UpdateCheckLCP$outboundSchema` instead. */ + export const outboundSchema = UpdateCheckLCP$outboundSchema; + /** @deprecated use `UpdateCheckLCP$Outbound` instead. */ + export type Outbound = UpdateCheckLCP$Outbound; +} + +export function updateCheckLCPToJSON(updateCheckLCP: UpdateCheckLCP): string { + return JSON.stringify(UpdateCheckLCP$outboundSchema.parse(updateCheckLCP)); +} + +export function updateCheckLCPFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateCheckLCP$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateCheckLCP' from JSON`, + ); +} + +/** @internal */ +export const UpdateCheckChecksResponse200ApplicationJSONSource$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateCheckChecksResponse200ApplicationJSONSource); + +/** @internal */ +export const UpdateCheckChecksResponse200ApplicationJSONSource$outboundSchema: + z.ZodNativeEnum = + UpdateCheckChecksResponse200ApplicationJSONSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckChecksResponse200ApplicationJSONSource$ { + /** @deprecated use `UpdateCheckChecksResponse200ApplicationJSONSource$inboundSchema` instead. */ + export const inboundSchema = + UpdateCheckChecksResponse200ApplicationJSONSource$inboundSchema; + /** @deprecated use `UpdateCheckChecksResponse200ApplicationJSONSource$outboundSchema` instead. */ + export const outboundSchema = + UpdateCheckChecksResponse200ApplicationJSONSource$outboundSchema; +} + +/** @internal */ +export const UpdateCheckCLS$inboundSchema: z.ZodType< + UpdateCheckCLS, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckChecksResponse200ApplicationJSONSource$inboundSchema, +}); + +/** @internal */ +export type UpdateCheckCLS$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const UpdateCheckCLS$outboundSchema: z.ZodType< + UpdateCheckCLS$Outbound, + z.ZodTypeDef, + UpdateCheckCLS +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckChecksResponse200ApplicationJSONSource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckCLS$ { + /** @deprecated use `UpdateCheckCLS$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckCLS$inboundSchema; + /** @deprecated use `UpdateCheckCLS$outboundSchema` instead. */ + export const outboundSchema = UpdateCheckCLS$outboundSchema; + /** @deprecated use `UpdateCheckCLS$Outbound` instead. */ + export type Outbound = UpdateCheckCLS$Outbound; +} + +export function updateCheckCLSToJSON(updateCheckCLS: UpdateCheckCLS): string { + return JSON.stringify(UpdateCheckCLS$outboundSchema.parse(updateCheckCLS)); +} + +export function updateCheckCLSFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateCheckCLS$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateCheckCLS' from JSON`, + ); +} + +/** @internal */ +export const UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$inboundSchema: + z.ZodNativeEnum< + typeof UpdateCheckChecksResponse200ApplicationJSONResponseBodySource + > = z.nativeEnum( + UpdateCheckChecksResponse200ApplicationJSONResponseBodySource, + ); + +/** @internal */ +export const UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$outboundSchema: + z.ZodNativeEnum< + typeof UpdateCheckChecksResponse200ApplicationJSONResponseBodySource + > = + UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$ { + /** @deprecated use `UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$inboundSchema` instead. */ + export const inboundSchema = + UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$inboundSchema; + /** @deprecated use `UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$outboundSchema` instead. */ + export const outboundSchema = + UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$outboundSchema; +} + +/** @internal */ +export const UpdateCheckTBT$inboundSchema: z.ZodType< + UpdateCheckTBT, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: + UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$inboundSchema, +}); + +/** @internal */ +export type UpdateCheckTBT$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const UpdateCheckTBT$outboundSchema: z.ZodType< + UpdateCheckTBT$Outbound, + z.ZodTypeDef, + UpdateCheckTBT +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: + UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckTBT$ { + /** @deprecated use `UpdateCheckTBT$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckTBT$inboundSchema; + /** @deprecated use `UpdateCheckTBT$outboundSchema` instead. */ + export const outboundSchema = UpdateCheckTBT$outboundSchema; + /** @deprecated use `UpdateCheckTBT$Outbound` instead. */ + export type Outbound = UpdateCheckTBT$Outbound; +} + +export function updateCheckTBTToJSON(updateCheckTBT: UpdateCheckTBT): string { + return JSON.stringify(UpdateCheckTBT$outboundSchema.parse(updateCheckTBT)); +} + +export function updateCheckTBTFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateCheckTBT$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateCheckTBT' from JSON`, + ); +} + +/** @internal */ +export const UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$inboundSchema: + z.ZodNativeEnum< + typeof UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource + > = z.nativeEnum( + UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource, + ); + +/** @internal */ +export const UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$outboundSchema: + z.ZodNativeEnum< + typeof UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource + > = + UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$ { + /** @deprecated use `UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$inboundSchema` instead. */ + export const inboundSchema = + UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$inboundSchema; + /** @deprecated use `UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$outboundSchema` instead. */ + export const outboundSchema = + UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$outboundSchema; +} + +/** @internal */ +export const UpdateCheckVirtualExperienceScore$inboundSchema: z.ZodType< + UpdateCheckVirtualExperienceScore, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: + UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$inboundSchema, +}); + +/** @internal */ +export type UpdateCheckVirtualExperienceScore$Outbound = { + value: number | null; + previousValue?: number | undefined; + source: string; +}; + +/** @internal */ +export const UpdateCheckVirtualExperienceScore$outboundSchema: z.ZodType< + UpdateCheckVirtualExperienceScore$Outbound, + z.ZodTypeDef, + UpdateCheckVirtualExperienceScore +> = z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: + UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckVirtualExperienceScore$ { + /** @deprecated use `UpdateCheckVirtualExperienceScore$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckVirtualExperienceScore$inboundSchema; + /** @deprecated use `UpdateCheckVirtualExperienceScore$outboundSchema` instead. */ + export const outboundSchema = + UpdateCheckVirtualExperienceScore$outboundSchema; + /** @deprecated use `UpdateCheckVirtualExperienceScore$Outbound` instead. */ + export type Outbound = UpdateCheckVirtualExperienceScore$Outbound; +} + +export function updateCheckVirtualExperienceScoreToJSON( + updateCheckVirtualExperienceScore: UpdateCheckVirtualExperienceScore, +): string { + return JSON.stringify( + UpdateCheckVirtualExperienceScore$outboundSchema.parse( + updateCheckVirtualExperienceScore, + ), + ); +} + +export function updateCheckVirtualExperienceScoreFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateCheckVirtualExperienceScore$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateCheckVirtualExperienceScore' from JSON`, + ); +} + +/** @internal */ +export const UpdateCheckMetrics$inboundSchema: z.ZodType< + UpdateCheckMetrics, + z.ZodTypeDef, + unknown +> = z.object({ + FCP: z.lazy(() => UpdateCheckFCP$inboundSchema), + LCP: z.lazy(() => UpdateCheckLCP$inboundSchema), + CLS: z.lazy(() => UpdateCheckCLS$inboundSchema), + TBT: z.lazy(() => UpdateCheckTBT$inboundSchema), + virtualExperienceScore: z.lazy(() => + UpdateCheckVirtualExperienceScore$inboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + "FCP": "fcp", + "LCP": "lcp", + "CLS": "cls", + "TBT": "tbt", + }); +}); + +/** @internal */ +export type UpdateCheckMetrics$Outbound = { + FCP: UpdateCheckFCP$Outbound; + LCP: UpdateCheckLCP$Outbound; + CLS: UpdateCheckCLS$Outbound; + TBT: UpdateCheckTBT$Outbound; + virtualExperienceScore?: + | UpdateCheckVirtualExperienceScore$Outbound + | undefined; +}; + +/** @internal */ +export const UpdateCheckMetrics$outboundSchema: z.ZodType< + UpdateCheckMetrics$Outbound, + z.ZodTypeDef, + UpdateCheckMetrics +> = z.object({ + fcp: z.lazy(() => UpdateCheckFCP$outboundSchema), + lcp: z.lazy(() => UpdateCheckLCP$outboundSchema), + cls: z.lazy(() => UpdateCheckCLS$outboundSchema), + tbt: z.lazy(() => UpdateCheckTBT$outboundSchema), + virtualExperienceScore: z.lazy(() => + UpdateCheckVirtualExperienceScore$outboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + fcp: "FCP", + lcp: "LCP", + cls: "CLS", + tbt: "TBT", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckMetrics$ { + /** @deprecated use `UpdateCheckMetrics$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckMetrics$inboundSchema; + /** @deprecated use `UpdateCheckMetrics$outboundSchema` instead. */ + export const outboundSchema = UpdateCheckMetrics$outboundSchema; + /** @deprecated use `UpdateCheckMetrics$Outbound` instead. */ + export type Outbound = UpdateCheckMetrics$Outbound; +} + +export function updateCheckMetricsToJSON( + updateCheckMetrics: UpdateCheckMetrics, +): string { + return JSON.stringify( + UpdateCheckMetrics$outboundSchema.parse(updateCheckMetrics), + ); +} + +export function updateCheckMetricsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateCheckMetrics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateCheckMetrics' from JSON`, + ); +} + +/** @internal */ +export const UpdateCheckOutput$inboundSchema: z.ZodType< + UpdateCheckOutput, + z.ZodTypeDef, + unknown +> = z.object({ + metrics: z.lazy(() => UpdateCheckMetrics$inboundSchema).optional(), +}); + +/** @internal */ +export type UpdateCheckOutput$Outbound = { + metrics?: UpdateCheckMetrics$Outbound | undefined; +}; + +/** @internal */ +export const UpdateCheckOutput$outboundSchema: z.ZodType< + UpdateCheckOutput$Outbound, + z.ZodTypeDef, + UpdateCheckOutput +> = z.object({ + metrics: z.lazy(() => UpdateCheckMetrics$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckOutput$ { + /** @deprecated use `UpdateCheckOutput$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckOutput$inboundSchema; + /** @deprecated use `UpdateCheckOutput$outboundSchema` instead. */ + export const outboundSchema = UpdateCheckOutput$outboundSchema; + /** @deprecated use `UpdateCheckOutput$Outbound` instead. */ + export type Outbound = UpdateCheckOutput$Outbound; +} + +export function updateCheckOutputToJSON( + updateCheckOutput: UpdateCheckOutput, +): string { + return JSON.stringify( + UpdateCheckOutput$outboundSchema.parse(updateCheckOutput), + ); +} + +export function updateCheckOutputFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateCheckOutput$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateCheckOutput' from JSON`, + ); +} + +/** @internal */ +export const UpdateCheckResponseBody$inboundSchema: z.ZodType< + UpdateCheckResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + path: z.string().optional(), + status: UpdateCheckStatus$inboundSchema, + conclusion: UpdateCheckConclusion$inboundSchema.optional(), + blocking: z.boolean(), + output: z.lazy(() => UpdateCheckOutput$inboundSchema).optional(), + detailsUrl: z.string().optional(), + integrationId: z.string(), + deploymentId: z.string(), + externalId: z.string().optional(), + createdAt: z.number(), + updatedAt: z.number(), + startedAt: z.number().optional(), + completedAt: z.number().optional(), + rerequestable: z.boolean().optional(), +}); + +/** @internal */ +export type UpdateCheckResponseBody$Outbound = { + id: string; + name: string; + path?: string | undefined; + status: string; + conclusion?: string | undefined; + blocking: boolean; + output?: UpdateCheckOutput$Outbound | undefined; + detailsUrl?: string | undefined; + integrationId: string; + deploymentId: string; + externalId?: string | undefined; + createdAt: number; + updatedAt: number; + startedAt?: number | undefined; + completedAt?: number | undefined; + rerequestable?: boolean | undefined; +}; + +/** @internal */ +export const UpdateCheckResponseBody$outboundSchema: z.ZodType< + UpdateCheckResponseBody$Outbound, + z.ZodTypeDef, + UpdateCheckResponseBody +> = z.object({ + id: z.string(), + name: z.string(), + path: z.string().optional(), + status: UpdateCheckStatus$outboundSchema, + conclusion: UpdateCheckConclusion$outboundSchema.optional(), + blocking: z.boolean(), + output: z.lazy(() => UpdateCheckOutput$outboundSchema).optional(), + detailsUrl: z.string().optional(), + integrationId: z.string(), + deploymentId: z.string(), + externalId: z.string().optional(), + createdAt: z.number(), + updatedAt: z.number(), + startedAt: z.number().optional(), + completedAt: z.number().optional(), + rerequestable: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateCheckResponseBody$ { + /** @deprecated use `UpdateCheckResponseBody$inboundSchema` instead. */ + export const inboundSchema = UpdateCheckResponseBody$inboundSchema; + /** @deprecated use `UpdateCheckResponseBody$outboundSchema` instead. */ + export const outboundSchema = UpdateCheckResponseBody$outboundSchema; + /** @deprecated use `UpdateCheckResponseBody$Outbound` instead. */ + export type Outbound = UpdateCheckResponseBody$Outbound; +} + +export function updateCheckResponseBodyToJSON( + updateCheckResponseBody: UpdateCheckResponseBody, +): string { + return JSON.stringify( + UpdateCheckResponseBody$outboundSchema.parse(updateCheckResponseBody), + ); +} + +export function updateCheckResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateCheckResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateCheckResponseBody' from JSON`, + ); +} diff --git a/src/models/updateedgeconfigop.ts b/src/models/updateedgeconfigop.ts new file mode 100644 index 00000000..e8670bb2 --- /dev/null +++ b/src/models/updateedgeconfigop.ts @@ -0,0 +1,470 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type UpdateEdgeConfigRequestBody = { + slug: string; +}; + +export type UpdateEdgeConfigRequest = { + edgeConfigId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: UpdateEdgeConfigRequestBody; +}; + +/** + * Keeps track of the current state of the Edge Config while it gets transferred. + */ +export type UpdateEdgeConfigTransfer = { + fromAccountId: string; + startedAt: number; + doneAt: number | null; +}; + +export type UpdateEdgeConfigSchema = {}; + +export const UpdateEdgeConfigType = { + Flags: "flags", +} as const; +export type UpdateEdgeConfigType = ClosedEnum; + +export type UpdateEdgeConfigPurpose = { + type: UpdateEdgeConfigType; + projectId: string; +}; + +/** + * An Edge Config + */ +export type UpdateEdgeConfigResponseBody = { + createdAt?: number | undefined; + updatedAt?: number | undefined; + id?: string | undefined; + /** + * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). + */ + slug?: string | undefined; + ownerId?: string | undefined; + digest?: string | undefined; + /** + * Keeps track of the current state of the Edge Config while it gets transferred. + */ + transfer?: UpdateEdgeConfigTransfer | undefined; + schema?: UpdateEdgeConfigSchema | undefined; + purpose?: UpdateEdgeConfigPurpose | undefined; + sizeInBytes: number; + itemCount: number; +}; + +/** @internal */ +export const UpdateEdgeConfigRequestBody$inboundSchema: z.ZodType< + UpdateEdgeConfigRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + slug: z.string(), +}); + +/** @internal */ +export type UpdateEdgeConfigRequestBody$Outbound = { + slug: string; +}; + +/** @internal */ +export const UpdateEdgeConfigRequestBody$outboundSchema: z.ZodType< + UpdateEdgeConfigRequestBody$Outbound, + z.ZodTypeDef, + UpdateEdgeConfigRequestBody +> = z.object({ + slug: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateEdgeConfigRequestBody$ { + /** @deprecated use `UpdateEdgeConfigRequestBody$inboundSchema` instead. */ + export const inboundSchema = UpdateEdgeConfigRequestBody$inboundSchema; + /** @deprecated use `UpdateEdgeConfigRequestBody$outboundSchema` instead. */ + export const outboundSchema = UpdateEdgeConfigRequestBody$outboundSchema; + /** @deprecated use `UpdateEdgeConfigRequestBody$Outbound` instead. */ + export type Outbound = UpdateEdgeConfigRequestBody$Outbound; +} + +export function updateEdgeConfigRequestBodyToJSON( + updateEdgeConfigRequestBody: UpdateEdgeConfigRequestBody, +): string { + return JSON.stringify( + UpdateEdgeConfigRequestBody$outboundSchema.parse( + updateEdgeConfigRequestBody, + ), + ); +} + +export function updateEdgeConfigRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateEdgeConfigRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateEdgeConfigRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateEdgeConfigRequest$inboundSchema: z.ZodType< + UpdateEdgeConfigRequest, + z.ZodTypeDef, + unknown +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => UpdateEdgeConfigRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UpdateEdgeConfigRequest$Outbound = { + edgeConfigId: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: UpdateEdgeConfigRequestBody$Outbound; +}; + +/** @internal */ +export const UpdateEdgeConfigRequest$outboundSchema: z.ZodType< + UpdateEdgeConfigRequest$Outbound, + z.ZodTypeDef, + UpdateEdgeConfigRequest +> = z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateEdgeConfigRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateEdgeConfigRequest$ { + /** @deprecated use `UpdateEdgeConfigRequest$inboundSchema` instead. */ + export const inboundSchema = UpdateEdgeConfigRequest$inboundSchema; + /** @deprecated use `UpdateEdgeConfigRequest$outboundSchema` instead. */ + export const outboundSchema = UpdateEdgeConfigRequest$outboundSchema; + /** @deprecated use `UpdateEdgeConfigRequest$Outbound` instead. */ + export type Outbound = UpdateEdgeConfigRequest$Outbound; +} + +export function updateEdgeConfigRequestToJSON( + updateEdgeConfigRequest: UpdateEdgeConfigRequest, +): string { + return JSON.stringify( + UpdateEdgeConfigRequest$outboundSchema.parse(updateEdgeConfigRequest), + ); +} + +export function updateEdgeConfigRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateEdgeConfigRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateEdgeConfigRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateEdgeConfigTransfer$inboundSchema: z.ZodType< + UpdateEdgeConfigTransfer, + z.ZodTypeDef, + unknown +> = z.object({ + fromAccountId: z.string(), + startedAt: z.number(), + doneAt: z.nullable(z.number()), +}); + +/** @internal */ +export type UpdateEdgeConfigTransfer$Outbound = { + fromAccountId: string; + startedAt: number; + doneAt: number | null; +}; + +/** @internal */ +export const UpdateEdgeConfigTransfer$outboundSchema: z.ZodType< + UpdateEdgeConfigTransfer$Outbound, + z.ZodTypeDef, + UpdateEdgeConfigTransfer +> = z.object({ + fromAccountId: z.string(), + startedAt: z.number(), + doneAt: z.nullable(z.number()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateEdgeConfigTransfer$ { + /** @deprecated use `UpdateEdgeConfigTransfer$inboundSchema` instead. */ + export const inboundSchema = UpdateEdgeConfigTransfer$inboundSchema; + /** @deprecated use `UpdateEdgeConfigTransfer$outboundSchema` instead. */ + export const outboundSchema = UpdateEdgeConfigTransfer$outboundSchema; + /** @deprecated use `UpdateEdgeConfigTransfer$Outbound` instead. */ + export type Outbound = UpdateEdgeConfigTransfer$Outbound; +} + +export function updateEdgeConfigTransferToJSON( + updateEdgeConfigTransfer: UpdateEdgeConfigTransfer, +): string { + return JSON.stringify( + UpdateEdgeConfigTransfer$outboundSchema.parse(updateEdgeConfigTransfer), + ); +} + +export function updateEdgeConfigTransferFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateEdgeConfigTransfer$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateEdgeConfigTransfer' from JSON`, + ); +} + +/** @internal */ +export const UpdateEdgeConfigSchema$inboundSchema: z.ZodType< + UpdateEdgeConfigSchema, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type UpdateEdgeConfigSchema$Outbound = {}; + +/** @internal */ +export const UpdateEdgeConfigSchema$outboundSchema: z.ZodType< + UpdateEdgeConfigSchema$Outbound, + z.ZodTypeDef, + UpdateEdgeConfigSchema +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateEdgeConfigSchema$ { + /** @deprecated use `UpdateEdgeConfigSchema$inboundSchema` instead. */ + export const inboundSchema = UpdateEdgeConfigSchema$inboundSchema; + /** @deprecated use `UpdateEdgeConfigSchema$outboundSchema` instead. */ + export const outboundSchema = UpdateEdgeConfigSchema$outboundSchema; + /** @deprecated use `UpdateEdgeConfigSchema$Outbound` instead. */ + export type Outbound = UpdateEdgeConfigSchema$Outbound; +} + +export function updateEdgeConfigSchemaToJSON( + updateEdgeConfigSchema: UpdateEdgeConfigSchema, +): string { + return JSON.stringify( + UpdateEdgeConfigSchema$outboundSchema.parse(updateEdgeConfigSchema), + ); +} + +export function updateEdgeConfigSchemaFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateEdgeConfigSchema$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateEdgeConfigSchema' from JSON`, + ); +} + +/** @internal */ +export const UpdateEdgeConfigType$inboundSchema: z.ZodNativeEnum< + typeof UpdateEdgeConfigType +> = z.nativeEnum(UpdateEdgeConfigType); + +/** @internal */ +export const UpdateEdgeConfigType$outboundSchema: z.ZodNativeEnum< + typeof UpdateEdgeConfigType +> = UpdateEdgeConfigType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateEdgeConfigType$ { + /** @deprecated use `UpdateEdgeConfigType$inboundSchema` instead. */ + export const inboundSchema = UpdateEdgeConfigType$inboundSchema; + /** @deprecated use `UpdateEdgeConfigType$outboundSchema` instead. */ + export const outboundSchema = UpdateEdgeConfigType$outboundSchema; +} + +/** @internal */ +export const UpdateEdgeConfigPurpose$inboundSchema: z.ZodType< + UpdateEdgeConfigPurpose, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateEdgeConfigType$inboundSchema, + projectId: z.string(), +}); + +/** @internal */ +export type UpdateEdgeConfigPurpose$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const UpdateEdgeConfigPurpose$outboundSchema: z.ZodType< + UpdateEdgeConfigPurpose$Outbound, + z.ZodTypeDef, + UpdateEdgeConfigPurpose +> = z.object({ + type: UpdateEdgeConfigType$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateEdgeConfigPurpose$ { + /** @deprecated use `UpdateEdgeConfigPurpose$inboundSchema` instead. */ + export const inboundSchema = UpdateEdgeConfigPurpose$inboundSchema; + /** @deprecated use `UpdateEdgeConfigPurpose$outboundSchema` instead. */ + export const outboundSchema = UpdateEdgeConfigPurpose$outboundSchema; + /** @deprecated use `UpdateEdgeConfigPurpose$Outbound` instead. */ + export type Outbound = UpdateEdgeConfigPurpose$Outbound; +} + +export function updateEdgeConfigPurposeToJSON( + updateEdgeConfigPurpose: UpdateEdgeConfigPurpose, +): string { + return JSON.stringify( + UpdateEdgeConfigPurpose$outboundSchema.parse(updateEdgeConfigPurpose), + ); +} + +export function updateEdgeConfigPurposeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateEdgeConfigPurpose$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateEdgeConfigPurpose' from JSON`, + ); +} + +/** @internal */ +export const UpdateEdgeConfigResponseBody$inboundSchema: z.ZodType< + UpdateEdgeConfigResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + id: z.string().optional(), + slug: z.string().optional(), + ownerId: z.string().optional(), + digest: z.string().optional(), + transfer: z.lazy(() => UpdateEdgeConfigTransfer$inboundSchema).optional(), + schema: z.lazy(() => UpdateEdgeConfigSchema$inboundSchema).optional(), + purpose: z.lazy(() => UpdateEdgeConfigPurpose$inboundSchema).optional(), + sizeInBytes: z.number(), + itemCount: z.number(), +}); + +/** @internal */ +export type UpdateEdgeConfigResponseBody$Outbound = { + createdAt?: number | undefined; + updatedAt?: number | undefined; + id?: string | undefined; + slug?: string | undefined; + ownerId?: string | undefined; + digest?: string | undefined; + transfer?: UpdateEdgeConfigTransfer$Outbound | undefined; + schema?: UpdateEdgeConfigSchema$Outbound | undefined; + purpose?: UpdateEdgeConfigPurpose$Outbound | undefined; + sizeInBytes: number; + itemCount: number; +}; + +/** @internal */ +export const UpdateEdgeConfigResponseBody$outboundSchema: z.ZodType< + UpdateEdgeConfigResponseBody$Outbound, + z.ZodTypeDef, + UpdateEdgeConfigResponseBody +> = z.object({ + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + id: z.string().optional(), + slug: z.string().optional(), + ownerId: z.string().optional(), + digest: z.string().optional(), + transfer: z.lazy(() => UpdateEdgeConfigTransfer$outboundSchema).optional(), + schema: z.lazy(() => UpdateEdgeConfigSchema$outboundSchema).optional(), + purpose: z.lazy(() => UpdateEdgeConfigPurpose$outboundSchema).optional(), + sizeInBytes: z.number(), + itemCount: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateEdgeConfigResponseBody$ { + /** @deprecated use `UpdateEdgeConfigResponseBody$inboundSchema` instead. */ + export const inboundSchema = UpdateEdgeConfigResponseBody$inboundSchema; + /** @deprecated use `UpdateEdgeConfigResponseBody$outboundSchema` instead. */ + export const outboundSchema = UpdateEdgeConfigResponseBody$outboundSchema; + /** @deprecated use `UpdateEdgeConfigResponseBody$Outbound` instead. */ + export type Outbound = UpdateEdgeConfigResponseBody$Outbound; +} + +export function updateEdgeConfigResponseBodyToJSON( + updateEdgeConfigResponseBody: UpdateEdgeConfigResponseBody, +): string { + return JSON.stringify( + UpdateEdgeConfigResponseBody$outboundSchema.parse( + updateEdgeConfigResponseBody, + ), + ); +} + +export function updateEdgeConfigResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateEdgeConfigResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateEdgeConfigResponseBody' from JSON`, + ); +} diff --git a/src/models/updatefirewallconfigop.ts b/src/models/updatefirewallconfigop.ts new file mode 100644 index 00000000..43d53a96 --- /dev/null +++ b/src/models/updatefirewallconfigop.ts @@ -0,0 +1,3911 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export const UpdateFirewallConfigRequestBodySecurityRequest11Action = { + ManagedRulesUpdate: "managedRules.update", +} as const; +export type UpdateFirewallConfigRequestBodySecurityRequest11Action = ClosedEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest11Action +>; + +export const RequestBodyId = { + Owasp: "owasp", +} as const; +export type RequestBodyId = ClosedEnum; + +export type UpdateFirewallConfigRequestBodySecurityRequest11Value = { + active: boolean; +}; + +/** + * Update a managed ruleset + */ +export type Eleven = { + action: UpdateFirewallConfigRequestBodySecurityRequest11Action; + id: RequestBodyId; + value: UpdateFirewallConfigRequestBodySecurityRequest11Value; +}; + +export const UpdateFirewallConfigRequestBodySecurityRequest10Action = { + IpRemove: "ip.remove", +} as const; +export type UpdateFirewallConfigRequestBodySecurityRequest10Action = ClosedEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest10Action +>; + +/** + * Remove an IP Blocking rule + */ +export type RequestBody10 = { + action: UpdateFirewallConfigRequestBodySecurityRequest10Action; + id: string; + value?: any | null | undefined; +}; + +export const UpdateFirewallConfigRequestBodySecurityRequest9Action = { + IpUpdate: "ip.update", +} as const; +export type UpdateFirewallConfigRequestBodySecurityRequest9Action = ClosedEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest9Action +>; + +export const UpdateFirewallConfigRequestBodySecurityRequest9ValueAction = { + Deny: "deny", + Challenge: "challenge", + Log: "log", + Bypass: "bypass", +} as const; +export type UpdateFirewallConfigRequestBodySecurityRequest9ValueAction = + ClosedEnum; + +export type UpdateFirewallConfigRequestBodySecurityRequest9Value = { + hostname: string; + ip: string; + notes?: string | undefined; + action: UpdateFirewallConfigRequestBodySecurityRequest9ValueAction; +}; + +/** + * Update an IP Blocking rule + */ +export type RequestBody9 = { + action: UpdateFirewallConfigRequestBodySecurityRequest9Action; + id: string; + value: UpdateFirewallConfigRequestBodySecurityRequest9Value; +}; + +export const UpdateFirewallConfigRequestBodySecurityRequest8Action = { + IpInsert: "ip.insert", +} as const; +export type UpdateFirewallConfigRequestBodySecurityRequest8Action = ClosedEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest8Action +>; + +export const UpdateFirewallConfigRequestBodySecurityRequest8ValueAction = { + Deny: "deny", + Challenge: "challenge", + Log: "log", + Bypass: "bypass", +} as const; +export type UpdateFirewallConfigRequestBodySecurityRequest8ValueAction = + ClosedEnum; + +export type UpdateFirewallConfigRequestBodySecurityRequestValue = { + hostname: string; + ip: string; + notes?: string | undefined; + action: UpdateFirewallConfigRequestBodySecurityRequest8ValueAction; +}; + +/** + * Add an IP Blocking rule + */ +export type RequestBody8 = { + action: UpdateFirewallConfigRequestBodySecurityRequest8Action; + id?: any | null | undefined; + value: UpdateFirewallConfigRequestBodySecurityRequestValue; +}; + +export const UpdateFirewallConfigRequestBodySecurityRequest7Action = { + CrsDisable: "crs.disable", +} as const; +export type UpdateFirewallConfigRequestBodySecurityRequest7Action = ClosedEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest7Action +>; + +/** + * Disable a managed rule + */ +export type RequestBody7 = { + action: UpdateFirewallConfigRequestBodySecurityRequest7Action; + id?: any | null | undefined; + value?: any | null | undefined; +}; + +export const UpdateFirewallConfigRequestBodySecurityRequest6Action = { + CrsUpdate: "crs.update", +} as const; +export type UpdateFirewallConfigRequestBodySecurityRequest6Action = ClosedEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest6Action +>; + +export const Id = { + Sd: "sd", + Ma: "ma", + Lfi: "lfi", + Rfi: "rfi", + Rce: "rce", + Php: "php", + Gen: "gen", + Xss: "xss", + Sqli: "sqli", + Sf: "sf", + Java: "java", +} as const; +export type Id = ClosedEnum; + +export const UpdateFirewallConfigRequestBodySecurityRequest6ValueAction = { + Deny: "deny", + Log: "log", +} as const; +export type UpdateFirewallConfigRequestBodySecurityRequest6ValueAction = + ClosedEnum; + +export type UpdateFirewallConfigRequestBodySecurityValue = { + active: boolean; + action: UpdateFirewallConfigRequestBodySecurityRequest6ValueAction; +}; + +/** + * Enable a managed rule + */ +export type RequestBody6 = { + action: UpdateFirewallConfigRequestBodySecurityRequest6Action; + id: Id; + value: UpdateFirewallConfigRequestBodySecurityValue; +}; + +export const UpdateFirewallConfigRequestBodySecurityRequest5Action = { + RulesPriority: "rules.priority", +} as const; +export type UpdateFirewallConfigRequestBodySecurityRequest5Action = ClosedEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest5Action +>; + +/** + * Reorder a custom rule + */ +export type UpdateFirewallConfigRequestBody5 = { + action: UpdateFirewallConfigRequestBodySecurityRequest5Action; + id: string; + value: number; +}; + +export const UpdateFirewallConfigRequestBodySecurityRequestAction = { + RulesRemove: "rules.remove", +} as const; +export type UpdateFirewallConfigRequestBodySecurityRequestAction = ClosedEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequestAction +>; + +/** + * Remove a custom rule + */ +export type UpdateFirewallConfigRequestBody4 = { + action: UpdateFirewallConfigRequestBodySecurityRequestAction; + id: string; + value?: any | null | undefined; +}; + +export const UpdateFirewallConfigRequestBodySecurityAction = { + RulesUpdate: "rules.update", +} as const; +export type UpdateFirewallConfigRequestBodySecurityAction = ClosedEnum< + typeof UpdateFirewallConfigRequestBodySecurityAction +>; + +/** + * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. + */ +export const UpdateFirewallConfigRequestBodySecurityType = { + Host: "host", + Path: "path", + Method: "method", + Header: "header", + Query: "query", + Cookie: "cookie", + TargetPath: "target_path", + RawPath: "raw_path", + IpAddress: "ip_address", + Region: "region", + Protocol: "protocol", + Scheme: "scheme", + Environment: "environment", + UserAgent: "user_agent", + GeoContinent: "geo_continent", + GeoCountry: "geo_country", + GeoCountryRegion: "geo_country_region", + GeoCity: "geo_city", + GeoAsNumber: "geo_as_number", + Ja4Digest: "ja4_digest", + Ja3Digest: "ja3_digest", + RateLimitApiId: "rate_limit_api_id", +} as const; +/** + * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. + */ +export type UpdateFirewallConfigRequestBodySecurityType = ClosedEnum< + typeof UpdateFirewallConfigRequestBodySecurityType +>; + +/** + * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value + */ +export const UpdateFirewallConfigRequestBodyOp = { + Re: "re", + Eq: "eq", + Neq: "neq", + Ex: "ex", + Nex: "nex", + Inc: "inc", + Ninc: "ninc", + Pre: "pre", + Suf: "suf", + Sub: "sub", + Gt: "gt", + Gte: "gte", + Lt: "lt", + Lte: "lte", +} as const; +/** + * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value + */ +export type UpdateFirewallConfigRequestBodyOp = ClosedEnum< + typeof UpdateFirewallConfigRequestBodyOp +>; + +export type UpdateFirewallConfigRequestBodySecurityRequest3Value = + | string + | Array + | number; + +export type UpdateFirewallConfigRequestBodyConditions = { + /** + * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. + */ + type: UpdateFirewallConfigRequestBodySecurityType; + /** + * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value + */ + op: UpdateFirewallConfigRequestBodyOp; + neg?: boolean | undefined; + key?: string | undefined; + value?: string | Array | number | undefined; +}; + +export type UpdateFirewallConfigRequestBodyConditionGroup = { + conditions: Array; +}; + +export const UpdateFirewallConfigRequestBodySecurityRequest3ValueAction = { + Log: "log", + Challenge: "challenge", + Deny: "deny", + Bypass: "bypass", + RateLimit: "rate_limit", + Redirect: "redirect", +} as const; +export type UpdateFirewallConfigRequestBodySecurityRequest3ValueAction = + ClosedEnum; + +export const UpdateFirewallConfigRateLimitAlgo = { + FixedWindow: "fixed_window", + TokenBucket: "token_bucket", +} as const; +export type UpdateFirewallConfigRateLimitAlgo = ClosedEnum< + typeof UpdateFirewallConfigRateLimitAlgo +>; + +export const UpdateFirewallConfigActionSecurity1 = { + Log: "log", + Challenge: "challenge", + Deny: "deny", + RateLimit: "rate_limit", +} as const; +export type UpdateFirewallConfigActionSecurity1 = ClosedEnum< + typeof UpdateFirewallConfigActionSecurity1 +>; + +export type UpdateFirewallConfigRateLimitSecurityAction = + | UpdateFirewallConfigActionSecurity1 + | any; + +export type UpdateFirewallConfigRateLimitSecurity1 = { + algo: UpdateFirewallConfigRateLimitAlgo; + window: number; + limit: number; + keys: Array; + action?: UpdateFirewallConfigActionSecurity1 | any | null | undefined; +}; + +export type UpdateFirewallConfigRequestBodyRateLimit = + | UpdateFirewallConfigRateLimitSecurity1 + | any; + +export type UpdateFirewallConfigRedirectSecurity1 = { + location: string; + permanent: boolean; +}; + +export type UpdateFirewallConfigRequestBodyRedirect = + | UpdateFirewallConfigRedirectSecurity1 + | any; + +export type UpdateFirewallConfigRequestBodyMitigate = { + action: UpdateFirewallConfigRequestBodySecurityRequest3ValueAction; + rateLimit?: UpdateFirewallConfigRateLimitSecurity1 | any | null | undefined; + redirect?: UpdateFirewallConfigRedirectSecurity1 | any | null | undefined; + actionDuration?: string | null | undefined; +}; + +export type UpdateFirewallConfigRequestBodySecurityRequest3Action = { + mitigate?: UpdateFirewallConfigRequestBodyMitigate | undefined; +}; + +export type UpdateFirewallConfigRequestBodyValue = { + name: string; + description?: string | undefined; + active: boolean; + conditionGroup: Array; + action: UpdateFirewallConfigRequestBodySecurityRequest3Action; +}; + +/** + * Update a custom rule + */ +export type UpdateFirewallConfigRequestBody3 = { + action: UpdateFirewallConfigRequestBodySecurityAction; + id: string; + value: UpdateFirewallConfigRequestBodyValue; +}; + +export const UpdateFirewallConfigRequestBodyAction = { + RulesInsert: "rules.insert", +} as const; +export type UpdateFirewallConfigRequestBodyAction = ClosedEnum< + typeof UpdateFirewallConfigRequestBodyAction +>; + +/** + * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. + */ +export const UpdateFirewallConfigRequestBodyType = { + Host: "host", + Path: "path", + Method: "method", + Header: "header", + Query: "query", + Cookie: "cookie", + TargetPath: "target_path", + RawPath: "raw_path", + IpAddress: "ip_address", + Region: "region", + Protocol: "protocol", + Scheme: "scheme", + Environment: "environment", + UserAgent: "user_agent", + GeoContinent: "geo_continent", + GeoCountry: "geo_country", + GeoCountryRegion: "geo_country_region", + GeoCity: "geo_city", + GeoAsNumber: "geo_as_number", + Ja4Digest: "ja4_digest", + Ja3Digest: "ja3_digest", + RateLimitApiId: "rate_limit_api_id", +} as const; +/** + * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. + */ +export type UpdateFirewallConfigRequestBodyType = ClosedEnum< + typeof UpdateFirewallConfigRequestBodyType +>; + +/** + * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value. + */ +export const RequestBodyOp = { + Re: "re", + Eq: "eq", + Neq: "neq", + Ex: "ex", + Nex: "nex", + Inc: "inc", + Ninc: "ninc", + Pre: "pre", + Suf: "suf", + Sub: "sub", + Gt: "gt", + Gte: "gte", + Lt: "lt", + Lte: "lte", +} as const; +/** + * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value. + */ +export type RequestBodyOp = ClosedEnum; + +export type UpdateFirewallConfigRequestBodySecurityRequest2Value = + | string + | Array + | number; + +export type RequestBodyConditions = { + /** + * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic. + */ + type: UpdateFirewallConfigRequestBodyType; + /** + * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value. + */ + op: RequestBodyOp; + neg?: boolean | undefined; + key?: string | undefined; + value?: string | Array | number | undefined; +}; + +export type RequestBodyConditionGroup = { + conditions: Array; +}; + +export const UpdateFirewallConfigRequestBodySecurityRequest2ValueAction = { + Log: "log", + Challenge: "challenge", + Deny: "deny", + Bypass: "bypass", + RateLimit: "rate_limit", + Redirect: "redirect", +} as const; +export type UpdateFirewallConfigRequestBodySecurityRequest2ValueAction = + ClosedEnum; + +export const RateLimitAlgo = { + FixedWindow: "fixed_window", + TokenBucket: "token_bucket", +} as const; +export type RateLimitAlgo = ClosedEnum; + +export const UpdateFirewallConfigAction1 = { + Log: "log", + Challenge: "challenge", + Deny: "deny", + RateLimit: "rate_limit", +} as const; +export type UpdateFirewallConfigAction1 = ClosedEnum< + typeof UpdateFirewallConfigAction1 +>; + +export type UpdateFirewallConfigRateLimitAction = + | UpdateFirewallConfigAction1 + | any; + +export type UpdateFirewallConfigRateLimit1 = { + algo: RateLimitAlgo; + window: number; + limit: number; + keys: Array; + action?: UpdateFirewallConfigAction1 | any | null | undefined; +}; + +export type RequestBodyRateLimit = UpdateFirewallConfigRateLimit1 | any; + +export type UpdateFirewallConfigRedirect1 = { + location: string; + permanent: boolean; +}; + +export type RequestBodyRedirect = UpdateFirewallConfigRedirect1 | any; + +export type RequestBodyMitigate = { + action: UpdateFirewallConfigRequestBodySecurityRequest2ValueAction; + rateLimit?: UpdateFirewallConfigRateLimit1 | any | null | undefined; + redirect?: UpdateFirewallConfigRedirect1 | any | null | undefined; + actionDuration?: string | null | undefined; +}; + +export type UpdateFirewallConfigRequestBodySecurityRequest2Action = { + mitigate?: RequestBodyMitigate | undefined; +}; + +export type RequestBodyValue = { + name: string; + description?: string | undefined; + active: boolean; + conditionGroup: Array; + action: UpdateFirewallConfigRequestBodySecurityRequest2Action; +}; + +/** + * Add a custom rule + */ +export type UpdateFirewallConfigRequestBody2 = { + action: UpdateFirewallConfigRequestBodyAction; + id?: any | null | undefined; + value: RequestBodyValue; +}; + +export const RequestBodyAction = { + FirewallEnabled: "firewallEnabled", +} as const; +export type RequestBodyAction = ClosedEnum; + +/** + * Enable Firewall + */ +export type UpdateFirewallConfigRequestBody1 = { + action: RequestBodyAction; + id?: any | null | undefined; + value: boolean; +}; + +export type UpdateFirewallConfigRequestBody = + | UpdateFirewallConfigRequestBody1 + | UpdateFirewallConfigRequestBody2 + | UpdateFirewallConfigRequestBody3 + | UpdateFirewallConfigRequestBody4 + | UpdateFirewallConfigRequestBody5 + | RequestBody6 + | RequestBody7 + | RequestBody8 + | RequestBody9 + | RequestBody10 + | Eleven; + +export type UpdateFirewallConfigRequest = { + projectId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: + | UpdateFirewallConfigRequestBody1 + | UpdateFirewallConfigRequestBody2 + | UpdateFirewallConfigRequestBody3 + | UpdateFirewallConfigRequestBody4 + | UpdateFirewallConfigRequestBody5 + | RequestBody6 + | RequestBody7 + | RequestBody8 + | RequestBody9 + | RequestBody10 + | Eleven; +}; + +export type UpdateFirewallConfigResponseBody = {}; + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest11Action$inboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest11Action + > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest11Action); + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest11Action$outboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest11Action + > = UpdateFirewallConfigRequestBodySecurityRequest11Action$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest11Action$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest11Action$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest11Action$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest11Action$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest11Action$outboundSchema; +} + +/** @internal */ +export const RequestBodyId$inboundSchema: z.ZodNativeEnum< + typeof RequestBodyId +> = z.nativeEnum(RequestBodyId); + +/** @internal */ +export const RequestBodyId$outboundSchema: z.ZodNativeEnum< + typeof RequestBodyId +> = RequestBodyId$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBodyId$ { + /** @deprecated use `RequestBodyId$inboundSchema` instead. */ + export const inboundSchema = RequestBodyId$inboundSchema; + /** @deprecated use `RequestBodyId$outboundSchema` instead. */ + export const outboundSchema = RequestBodyId$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest11Value$inboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodySecurityRequest11Value, + z.ZodTypeDef, + unknown + > = z.object({ + active: z.boolean(), + }); + +/** @internal */ +export type UpdateFirewallConfigRequestBodySecurityRequest11Value$Outbound = { + active: boolean; +}; + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest11Value$outboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodySecurityRequest11Value$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBodySecurityRequest11Value + > = z.object({ + active: z.boolean(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest11Value$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest11Value$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest11Value$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest11Value$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest11Value$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest11Value$Outbound` instead. */ + export type Outbound = + UpdateFirewallConfigRequestBodySecurityRequest11Value$Outbound; +} + +export function updateFirewallConfigRequestBodySecurityRequest11ValueToJSON( + updateFirewallConfigRequestBodySecurityRequest11Value: + UpdateFirewallConfigRequestBodySecurityRequest11Value, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBodySecurityRequest11Value$outboundSchema.parse( + updateFirewallConfigRequestBodySecurityRequest11Value, + ), + ); +} + +export function updateFirewallConfigRequestBodySecurityRequest11ValueFromJSON( + jsonString: string, +): SafeParseResult< + UpdateFirewallConfigRequestBodySecurityRequest11Value, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRequestBodySecurityRequest11Value$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequest11Value' from JSON`, + ); +} + +/** @internal */ +export const Eleven$inboundSchema: z.ZodType = z + .object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest11Action$inboundSchema, + id: RequestBodyId$inboundSchema, + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest11Value$inboundSchema + ), + }); + +/** @internal */ +export type Eleven$Outbound = { + action: string; + id: string; + value: UpdateFirewallConfigRequestBodySecurityRequest11Value$Outbound; +}; + +/** @internal */ +export const Eleven$outboundSchema: z.ZodType< + Eleven$Outbound, + z.ZodTypeDef, + Eleven +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityRequest11Action$outboundSchema, + id: RequestBodyId$outboundSchema, + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest11Value$outboundSchema + ), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Eleven$ { + /** @deprecated use `Eleven$inboundSchema` instead. */ + export const inboundSchema = Eleven$inboundSchema; + /** @deprecated use `Eleven$outboundSchema` instead. */ + export const outboundSchema = Eleven$outboundSchema; + /** @deprecated use `Eleven$Outbound` instead. */ + export type Outbound = Eleven$Outbound; +} + +export function elevenToJSON(eleven: Eleven): string { + return JSON.stringify(Eleven$outboundSchema.parse(eleven)); +} + +export function elevenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Eleven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Eleven' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest10Action$inboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest10Action + > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest10Action); + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest10Action$outboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest10Action + > = UpdateFirewallConfigRequestBodySecurityRequest10Action$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest10Action$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest10Action$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest10Action$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest10Action$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest10Action$outboundSchema; +} + +/** @internal */ +export const RequestBody10$inboundSchema: z.ZodType< + RequestBody10, + z.ZodTypeDef, + unknown +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityRequest10Action$inboundSchema, + id: z.string(), + value: z.nullable(z.any()).optional(), +}); + +/** @internal */ +export type RequestBody10$Outbound = { + action: string; + id: string; + value?: any | null | undefined; +}; + +/** @internal */ +export const RequestBody10$outboundSchema: z.ZodType< + RequestBody10$Outbound, + z.ZodTypeDef, + RequestBody10 +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityRequest10Action$outboundSchema, + id: z.string(), + value: z.nullable(z.any()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBody10$ { + /** @deprecated use `RequestBody10$inboundSchema` instead. */ + export const inboundSchema = RequestBody10$inboundSchema; + /** @deprecated use `RequestBody10$outboundSchema` instead. */ + export const outboundSchema = RequestBody10$outboundSchema; + /** @deprecated use `RequestBody10$Outbound` instead. */ + export type Outbound = RequestBody10$Outbound; +} + +export function requestBody10ToJSON(requestBody10: RequestBody10): string { + return JSON.stringify(RequestBody10$outboundSchema.parse(requestBody10)); +} + +export function requestBody10FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBody10$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBody10' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest9Action$inboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest9Action + > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest9Action); + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest9Action$outboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest9Action + > = UpdateFirewallConfigRequestBodySecurityRequest9Action$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest9Action$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9Action$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest9Action$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9Action$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest9Action$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$inboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest9ValueAction + > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest9ValueAction); + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$outboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest9ValueAction + > = UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodySecurityRequest9Value, + z.ZodTypeDef, + unknown + > = z.object({ + hostname: z.string(), + ip: z.string(), + notes: z.string().optional(), + action: + UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$inboundSchema, + }); + +/** @internal */ +export type UpdateFirewallConfigRequestBodySecurityRequest9Value$Outbound = { + hostname: string; + ip: string; + notes?: string | undefined; + action: string; +}; + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest9Value$outboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodySecurityRequest9Value$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBodySecurityRequest9Value + > = z.object({ + hostname: z.string(), + ip: z.string(), + notes: z.string().optional(), + action: + UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest9Value$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9Value$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest9Value$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9Value$Outbound` instead. */ + export type Outbound = + UpdateFirewallConfigRequestBodySecurityRequest9Value$Outbound; +} + +export function updateFirewallConfigRequestBodySecurityRequest9ValueToJSON( + updateFirewallConfigRequestBodySecurityRequest9Value: + UpdateFirewallConfigRequestBodySecurityRequest9Value, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBodySecurityRequest9Value$outboundSchema.parse( + updateFirewallConfigRequestBodySecurityRequest9Value, + ), + ); +} + +export function updateFirewallConfigRequestBodySecurityRequest9ValueFromJSON( + jsonString: string, +): SafeParseResult< + UpdateFirewallConfigRequestBodySecurityRequest9Value, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequest9Value' from JSON`, + ); +} + +/** @internal */ +export const RequestBody9$inboundSchema: z.ZodType< + RequestBody9, + z.ZodTypeDef, + unknown +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityRequest9Action$inboundSchema, + id: z.string(), + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema + ), +}); + +/** @internal */ +export type RequestBody9$Outbound = { + action: string; + id: string; + value: UpdateFirewallConfigRequestBodySecurityRequest9Value$Outbound; +}; + +/** @internal */ +export const RequestBody9$outboundSchema: z.ZodType< + RequestBody9$Outbound, + z.ZodTypeDef, + RequestBody9 +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityRequest9Action$outboundSchema, + id: z.string(), + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest9Value$outboundSchema + ), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBody9$ { + /** @deprecated use `RequestBody9$inboundSchema` instead. */ + export const inboundSchema = RequestBody9$inboundSchema; + /** @deprecated use `RequestBody9$outboundSchema` instead. */ + export const outboundSchema = RequestBody9$outboundSchema; + /** @deprecated use `RequestBody9$Outbound` instead. */ + export type Outbound = RequestBody9$Outbound; +} + +export function requestBody9ToJSON(requestBody9: RequestBody9): string { + return JSON.stringify(RequestBody9$outboundSchema.parse(requestBody9)); +} + +export function requestBody9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBody9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBody9' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest8Action$inboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest8Action + > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest8Action); + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest8Action$outboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest8Action + > = UpdateFirewallConfigRequestBodySecurityRequest8Action$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest8Action$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest8Action$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest8Action$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest8Action$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest8Action$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$inboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest8ValueAction + > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest8ValueAction); + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$outboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest8ValueAction + > = UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodySecurityRequestValue, + z.ZodTypeDef, + unknown + > = z.object({ + hostname: z.string(), + ip: z.string(), + notes: z.string().optional(), + action: + UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$inboundSchema, + }); + +/** @internal */ +export type UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound = { + hostname: string; + ip: string; + notes?: string | undefined; + action: string; +}; + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBodySecurityRequestValue + > = z.object({ + hostname: z.string(), + ip: z.string(), + notes: z.string().optional(), + action: + UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequestValue$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound` instead. */ + export type Outbound = + UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound; +} + +export function updateFirewallConfigRequestBodySecurityRequestValueToJSON( + updateFirewallConfigRequestBodySecurityRequestValue: + UpdateFirewallConfigRequestBodySecurityRequestValue, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema.parse( + updateFirewallConfigRequestBodySecurityRequestValue, + ), + ); +} + +export function updateFirewallConfigRequestBodySecurityRequestValueFromJSON( + jsonString: string, +): SafeParseResult< + UpdateFirewallConfigRequestBodySecurityRequestValue, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequestValue' from JSON`, + ); +} + +/** @internal */ +export const RequestBody8$inboundSchema: z.ZodType< + RequestBody8, + z.ZodTypeDef, + unknown +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityRequest8Action$inboundSchema, + id: z.nullable(z.any()).optional(), + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema + ), +}); + +/** @internal */ +export type RequestBody8$Outbound = { + action: string; + id?: any | null | undefined; + value: UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound; +}; + +/** @internal */ +export const RequestBody8$outboundSchema: z.ZodType< + RequestBody8$Outbound, + z.ZodTypeDef, + RequestBody8 +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityRequest8Action$outboundSchema, + id: z.nullable(z.any()).optional(), + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema + ), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBody8$ { + /** @deprecated use `RequestBody8$inboundSchema` instead. */ + export const inboundSchema = RequestBody8$inboundSchema; + /** @deprecated use `RequestBody8$outboundSchema` instead. */ + export const outboundSchema = RequestBody8$outboundSchema; + /** @deprecated use `RequestBody8$Outbound` instead. */ + export type Outbound = RequestBody8$Outbound; +} + +export function requestBody8ToJSON(requestBody8: RequestBody8): string { + return JSON.stringify(RequestBody8$outboundSchema.parse(requestBody8)); +} + +export function requestBody8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBody8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBody8' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest7Action$inboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest7Action + > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest7Action); + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest7Action$outboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest7Action + > = UpdateFirewallConfigRequestBodySecurityRequest7Action$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest7Action$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest7Action$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest7Action$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest7Action$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest7Action$outboundSchema; +} + +/** @internal */ +export const RequestBody7$inboundSchema: z.ZodType< + RequestBody7, + z.ZodTypeDef, + unknown +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityRequest7Action$inboundSchema, + id: z.nullable(z.any()).optional(), + value: z.nullable(z.any()).optional(), +}); + +/** @internal */ +export type RequestBody7$Outbound = { + action: string; + id?: any | null | undefined; + value?: any | null | undefined; +}; + +/** @internal */ +export const RequestBody7$outboundSchema: z.ZodType< + RequestBody7$Outbound, + z.ZodTypeDef, + RequestBody7 +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityRequest7Action$outboundSchema, + id: z.nullable(z.any()).optional(), + value: z.nullable(z.any()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBody7$ { + /** @deprecated use `RequestBody7$inboundSchema` instead. */ + export const inboundSchema = RequestBody7$inboundSchema; + /** @deprecated use `RequestBody7$outboundSchema` instead. */ + export const outboundSchema = RequestBody7$outboundSchema; + /** @deprecated use `RequestBody7$Outbound` instead. */ + export type Outbound = RequestBody7$Outbound; +} + +export function requestBody7ToJSON(requestBody7: RequestBody7): string { + return JSON.stringify(RequestBody7$outboundSchema.parse(requestBody7)); +} + +export function requestBody7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBody7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBody7' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest6Action$inboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest6Action + > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest6Action); + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest6Action$outboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest6Action + > = UpdateFirewallConfigRequestBodySecurityRequest6Action$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest6Action$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest6Action$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest6Action$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest6Action$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest6Action$outboundSchema; +} + +/** @internal */ +export const Id$inboundSchema: z.ZodNativeEnum = z.nativeEnum(Id); + +/** @internal */ +export const Id$outboundSchema: z.ZodNativeEnum = Id$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Id$ { + /** @deprecated use `Id$inboundSchema` instead. */ + export const inboundSchema = Id$inboundSchema; + /** @deprecated use `Id$outboundSchema` instead. */ + export const outboundSchema = Id$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$inboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest6ValueAction + > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest6ValueAction); + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$outboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest6ValueAction + > = UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityValue$inboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodySecurityValue, + z.ZodTypeDef, + unknown + > = z.object({ + active: z.boolean(), + action: + UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$inboundSchema, + }); + +/** @internal */ +export type UpdateFirewallConfigRequestBodySecurityValue$Outbound = { + active: boolean; + action: string; +}; + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityValue$outboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodySecurityValue$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBodySecurityValue + > = z.object({ + active: z.boolean(), + action: + UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityValue$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityValue$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityValue$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityValue$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityValue$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityValue$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRequestBodySecurityValue$Outbound; +} + +export function updateFirewallConfigRequestBodySecurityValueToJSON( + updateFirewallConfigRequestBodySecurityValue: + UpdateFirewallConfigRequestBodySecurityValue, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBodySecurityValue$outboundSchema.parse( + updateFirewallConfigRequestBodySecurityValue, + ), + ); +} + +export function updateFirewallConfigRequestBodySecurityValueFromJSON( + jsonString: string, +): SafeParseResult< + UpdateFirewallConfigRequestBodySecurityValue, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRequestBodySecurityValue$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateFirewallConfigRequestBodySecurityValue' from JSON`, + ); +} + +/** @internal */ +export const RequestBody6$inboundSchema: z.ZodType< + RequestBody6, + z.ZodTypeDef, + unknown +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityRequest6Action$inboundSchema, + id: Id$inboundSchema, + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityValue$inboundSchema + ), +}); + +/** @internal */ +export type RequestBody6$Outbound = { + action: string; + id: string; + value: UpdateFirewallConfigRequestBodySecurityValue$Outbound; +}; + +/** @internal */ +export const RequestBody6$outboundSchema: z.ZodType< + RequestBody6$Outbound, + z.ZodTypeDef, + RequestBody6 +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityRequest6Action$outboundSchema, + id: Id$outboundSchema, + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityValue$outboundSchema + ), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBody6$ { + /** @deprecated use `RequestBody6$inboundSchema` instead. */ + export const inboundSchema = RequestBody6$inboundSchema; + /** @deprecated use `RequestBody6$outboundSchema` instead. */ + export const outboundSchema = RequestBody6$outboundSchema; + /** @deprecated use `RequestBody6$Outbound` instead. */ + export type Outbound = RequestBody6$Outbound; +} + +export function requestBody6ToJSON(requestBody6: RequestBody6): string { + return JSON.stringify(RequestBody6$outboundSchema.parse(requestBody6)); +} + +export function requestBody6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBody6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBody6' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest5Action$inboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest5Action + > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest5Action); + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest5Action$outboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest5Action + > = UpdateFirewallConfigRequestBodySecurityRequest5Action$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest5Action$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest5Action$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest5Action$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest5Action$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest5Action$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRequestBody5$inboundSchema: z.ZodType< + UpdateFirewallConfigRequestBody5, + z.ZodTypeDef, + unknown +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityRequest5Action$inboundSchema, + id: z.string(), + value: z.number(), +}); + +/** @internal */ +export type UpdateFirewallConfigRequestBody5$Outbound = { + action: string; + id: string; + value: number; +}; + +/** @internal */ +export const UpdateFirewallConfigRequestBody5$outboundSchema: z.ZodType< + UpdateFirewallConfigRequestBody5$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBody5 +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityRequest5Action$outboundSchema, + id: z.string(), + value: z.number(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBody5$ { + /** @deprecated use `UpdateFirewallConfigRequestBody5$inboundSchema` instead. */ + export const inboundSchema = UpdateFirewallConfigRequestBody5$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBody5$outboundSchema` instead. */ + export const outboundSchema = UpdateFirewallConfigRequestBody5$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBody5$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRequestBody5$Outbound; +} + +export function updateFirewallConfigRequestBody5ToJSON( + updateFirewallConfigRequestBody5: UpdateFirewallConfigRequestBody5, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBody5$outboundSchema.parse( + updateFirewallConfigRequestBody5, + ), + ); +} + +export function updateFirewallConfigRequestBody5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateFirewallConfigRequestBody5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateFirewallConfigRequestBody5' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequestAction$inboundSchema: + z.ZodNativeEnum = + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequestAction); + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequestAction$outboundSchema: + z.ZodNativeEnum = + UpdateFirewallConfigRequestBodySecurityRequestAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequestAction$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestAction$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequestAction$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestAction$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequestAction$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRequestBody4$inboundSchema: z.ZodType< + UpdateFirewallConfigRequestBody4, + z.ZodTypeDef, + unknown +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityRequestAction$inboundSchema, + id: z.string(), + value: z.nullable(z.any()).optional(), +}); + +/** @internal */ +export type UpdateFirewallConfigRequestBody4$Outbound = { + action: string; + id: string; + value?: any | null | undefined; +}; + +/** @internal */ +export const UpdateFirewallConfigRequestBody4$outboundSchema: z.ZodType< + UpdateFirewallConfigRequestBody4$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBody4 +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityRequestAction$outboundSchema, + id: z.string(), + value: z.nullable(z.any()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBody4$ { + /** @deprecated use `UpdateFirewallConfigRequestBody4$inboundSchema` instead. */ + export const inboundSchema = UpdateFirewallConfigRequestBody4$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBody4$outboundSchema` instead. */ + export const outboundSchema = UpdateFirewallConfigRequestBody4$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBody4$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRequestBody4$Outbound; +} + +export function updateFirewallConfigRequestBody4ToJSON( + updateFirewallConfigRequestBody4: UpdateFirewallConfigRequestBody4, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBody4$outboundSchema.parse( + updateFirewallConfigRequestBody4, + ), + ); +} + +export function updateFirewallConfigRequestBody4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateFirewallConfigRequestBody4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateFirewallConfigRequestBody4' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityAction$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateFirewallConfigRequestBodySecurityAction); + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityAction$outboundSchema: + z.ZodNativeEnum = + UpdateFirewallConfigRequestBodySecurityAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityAction$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityAction$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityAction$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityAction$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityAction$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateFirewallConfigRequestBodySecurityType); + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityType$outboundSchema: + z.ZodNativeEnum = + UpdateFirewallConfigRequestBodySecurityType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityType$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityType$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityType$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityType$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityType$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodyOp$inboundSchema: z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodyOp +> = z.nativeEnum(UpdateFirewallConfigRequestBodyOp); + +/** @internal */ +export const UpdateFirewallConfigRequestBodyOp$outboundSchema: z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodyOp +> = UpdateFirewallConfigRequestBodyOp$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodyOp$ { + /** @deprecated use `UpdateFirewallConfigRequestBodyOp$inboundSchema` instead. */ + export const inboundSchema = UpdateFirewallConfigRequestBodyOp$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodyOp$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodyOp$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest3Value$inboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodySecurityRequest3Value, + z.ZodTypeDef, + unknown + > = z.union([z.string(), z.array(z.string()), z.number()]); + +/** @internal */ +export type UpdateFirewallConfigRequestBodySecurityRequest3Value$Outbound = + | string + | Array + | number; + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest3Value$outboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodySecurityRequest3Value$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBodySecurityRequest3Value + > = z.union([z.string(), z.array(z.string()), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest3Value$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest3Value$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest3Value$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest3Value$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest3Value$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest3Value$Outbound` instead. */ + export type Outbound = + UpdateFirewallConfigRequestBodySecurityRequest3Value$Outbound; +} + +export function updateFirewallConfigRequestBodySecurityRequest3ValueToJSON( + updateFirewallConfigRequestBodySecurityRequest3Value: + UpdateFirewallConfigRequestBodySecurityRequest3Value, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBodySecurityRequest3Value$outboundSchema.parse( + updateFirewallConfigRequestBodySecurityRequest3Value, + ), + ); +} + +export function updateFirewallConfigRequestBodySecurityRequest3ValueFromJSON( + jsonString: string, +): SafeParseResult< + UpdateFirewallConfigRequestBodySecurityRequest3Value, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRequestBodySecurityRequest3Value$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequest3Value' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodyConditions$inboundSchema: z.ZodType< + UpdateFirewallConfigRequestBodyConditions, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateFirewallConfigRequestBodySecurityType$inboundSchema, + op: UpdateFirewallConfigRequestBodyOp$inboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: z.union([z.string(), z.array(z.string()), z.number()]).optional(), +}); + +/** @internal */ +export type UpdateFirewallConfigRequestBodyConditions$Outbound = { + type: string; + op: string; + neg?: boolean | undefined; + key?: string | undefined; + value?: string | Array | number | undefined; +}; + +/** @internal */ +export const UpdateFirewallConfigRequestBodyConditions$outboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodyConditions$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBodyConditions + > = z.object({ + type: UpdateFirewallConfigRequestBodySecurityType$outboundSchema, + op: UpdateFirewallConfigRequestBodyOp$outboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: z.union([z.string(), z.array(z.string()), z.number()]).optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodyConditions$ { + /** @deprecated use `UpdateFirewallConfigRequestBodyConditions$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodyConditions$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodyConditions$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodyConditions$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodyConditions$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRequestBodyConditions$Outbound; +} + +export function updateFirewallConfigRequestBodyConditionsToJSON( + updateFirewallConfigRequestBodyConditions: + UpdateFirewallConfigRequestBodyConditions, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBodyConditions$outboundSchema.parse( + updateFirewallConfigRequestBodyConditions, + ), + ); +} + +export function updateFirewallConfigRequestBodyConditionsFromJSON( + jsonString: string, +): SafeParseResult< + UpdateFirewallConfigRequestBodyConditions, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRequestBodyConditions$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateFirewallConfigRequestBodyConditions' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodyConditionGroup$inboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodyConditionGroup, + z.ZodTypeDef, + unknown + > = z.object({ + conditions: z.array( + z.lazy(() => UpdateFirewallConfigRequestBodyConditions$inboundSchema), + ), + }); + +/** @internal */ +export type UpdateFirewallConfigRequestBodyConditionGroup$Outbound = { + conditions: Array; +}; + +/** @internal */ +export const UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodyConditionGroup$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBodyConditionGroup + > = z.object({ + conditions: z.array( + z.lazy(() => UpdateFirewallConfigRequestBodyConditions$outboundSchema), + ), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodyConditionGroup$ { + /** @deprecated use `UpdateFirewallConfigRequestBodyConditionGroup$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodyConditionGroup$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodyConditionGroup$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRequestBodyConditionGroup$Outbound; +} + +export function updateFirewallConfigRequestBodyConditionGroupToJSON( + updateFirewallConfigRequestBodyConditionGroup: + UpdateFirewallConfigRequestBodyConditionGroup, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema.parse( + updateFirewallConfigRequestBodyConditionGroup, + ), + ); +} + +export function updateFirewallConfigRequestBodyConditionGroupFromJSON( + jsonString: string, +): SafeParseResult< + UpdateFirewallConfigRequestBodyConditionGroup, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRequestBodyConditionGroup$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateFirewallConfigRequestBodyConditionGroup' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$inboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest3ValueAction + > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest3ValueAction); + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$outboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest3ValueAction + > = UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRateLimitAlgo$inboundSchema: z.ZodNativeEnum< + typeof UpdateFirewallConfigRateLimitAlgo +> = z.nativeEnum(UpdateFirewallConfigRateLimitAlgo); + +/** @internal */ +export const UpdateFirewallConfigRateLimitAlgo$outboundSchema: z.ZodNativeEnum< + typeof UpdateFirewallConfigRateLimitAlgo +> = UpdateFirewallConfigRateLimitAlgo$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRateLimitAlgo$ { + /** @deprecated use `UpdateFirewallConfigRateLimitAlgo$inboundSchema` instead. */ + export const inboundSchema = UpdateFirewallConfigRateLimitAlgo$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRateLimitAlgo$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRateLimitAlgo$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigActionSecurity1$inboundSchema: z.ZodNativeEnum< + typeof UpdateFirewallConfigActionSecurity1 +> = z.nativeEnum(UpdateFirewallConfigActionSecurity1); + +/** @internal */ +export const UpdateFirewallConfigActionSecurity1$outboundSchema: + z.ZodNativeEnum = + UpdateFirewallConfigActionSecurity1$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigActionSecurity1$ { + /** @deprecated use `UpdateFirewallConfigActionSecurity1$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigActionSecurity1$inboundSchema; + /** @deprecated use `UpdateFirewallConfigActionSecurity1$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigActionSecurity1$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRateLimitSecurityAction$inboundSchema: + z.ZodType< + UpdateFirewallConfigRateLimitSecurityAction, + z.ZodTypeDef, + unknown + > = z.union([UpdateFirewallConfigActionSecurity1$inboundSchema, z.any()]); + +/** @internal */ +export type UpdateFirewallConfigRateLimitSecurityAction$Outbound = string | any; + +/** @internal */ +export const UpdateFirewallConfigRateLimitSecurityAction$outboundSchema: + z.ZodType< + UpdateFirewallConfigRateLimitSecurityAction$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRateLimitSecurityAction + > = z.union([UpdateFirewallConfigActionSecurity1$outboundSchema, z.any()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRateLimitSecurityAction$ { + /** @deprecated use `UpdateFirewallConfigRateLimitSecurityAction$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRateLimitSecurityAction$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRateLimitSecurityAction$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRateLimitSecurityAction$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRateLimitSecurityAction$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRateLimitSecurityAction$Outbound; +} + +export function updateFirewallConfigRateLimitSecurityActionToJSON( + updateFirewallConfigRateLimitSecurityAction: + UpdateFirewallConfigRateLimitSecurityAction, +): string { + return JSON.stringify( + UpdateFirewallConfigRateLimitSecurityAction$outboundSchema.parse( + updateFirewallConfigRateLimitSecurityAction, + ), + ); +} + +export function updateFirewallConfigRateLimitSecurityActionFromJSON( + jsonString: string, +): SafeParseResult< + UpdateFirewallConfigRateLimitSecurityAction, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRateLimitSecurityAction$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateFirewallConfigRateLimitSecurityAction' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRateLimitSecurity1$inboundSchema: z.ZodType< + UpdateFirewallConfigRateLimitSecurity1, + z.ZodTypeDef, + unknown +> = z.object({ + algo: UpdateFirewallConfigRateLimitAlgo$inboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), + action: z.nullable( + z.union([UpdateFirewallConfigActionSecurity1$inboundSchema, z.any()]), + ).optional(), +}); + +/** @internal */ +export type UpdateFirewallConfigRateLimitSecurity1$Outbound = { + algo: string; + window: number; + limit: number; + keys: Array; + action?: string | any | null | undefined; +}; + +/** @internal */ +export const UpdateFirewallConfigRateLimitSecurity1$outboundSchema: z.ZodType< + UpdateFirewallConfigRateLimitSecurity1$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRateLimitSecurity1 +> = z.object({ + algo: UpdateFirewallConfigRateLimitAlgo$outboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), + action: z.nullable( + z.union([UpdateFirewallConfigActionSecurity1$outboundSchema, z.any()]), + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRateLimitSecurity1$ { + /** @deprecated use `UpdateFirewallConfigRateLimitSecurity1$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRateLimitSecurity1$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRateLimitSecurity1$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRateLimitSecurity1$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRateLimitSecurity1$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRateLimitSecurity1$Outbound; +} + +export function updateFirewallConfigRateLimitSecurity1ToJSON( + updateFirewallConfigRateLimitSecurity1: + UpdateFirewallConfigRateLimitSecurity1, +): string { + return JSON.stringify( + UpdateFirewallConfigRateLimitSecurity1$outboundSchema.parse( + updateFirewallConfigRateLimitSecurity1, + ), + ); +} + +export function updateFirewallConfigRateLimitSecurity1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRateLimitSecurity1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateFirewallConfigRateLimitSecurity1' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodyRateLimit$inboundSchema: z.ZodType< + UpdateFirewallConfigRequestBodyRateLimit, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$inboundSchema), + z.any(), +]); + +/** @internal */ +export type UpdateFirewallConfigRequestBodyRateLimit$Outbound = + | UpdateFirewallConfigRateLimitSecurity1$Outbound + | any; + +/** @internal */ +export const UpdateFirewallConfigRequestBodyRateLimit$outboundSchema: z.ZodType< + UpdateFirewallConfigRequestBodyRateLimit$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBodyRateLimit +> = z.union([ + z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$outboundSchema), + z.any(), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodyRateLimit$ { + /** @deprecated use `UpdateFirewallConfigRequestBodyRateLimit$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodyRateLimit$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodyRateLimit$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodyRateLimit$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodyRateLimit$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRequestBodyRateLimit$Outbound; +} + +export function updateFirewallConfigRequestBodyRateLimitToJSON( + updateFirewallConfigRequestBodyRateLimit: + UpdateFirewallConfigRequestBodyRateLimit, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBodyRateLimit$outboundSchema.parse( + updateFirewallConfigRequestBodyRateLimit, + ), + ); +} + +export function updateFirewallConfigRequestBodyRateLimitFromJSON( + jsonString: string, +): SafeParseResult< + UpdateFirewallConfigRequestBodyRateLimit, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRequestBodyRateLimit$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateFirewallConfigRequestBodyRateLimit' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRedirectSecurity1$inboundSchema: z.ZodType< + UpdateFirewallConfigRedirectSecurity1, + z.ZodTypeDef, + unknown +> = z.object({ + location: z.string(), + permanent: z.boolean(), +}); + +/** @internal */ +export type UpdateFirewallConfigRedirectSecurity1$Outbound = { + location: string; + permanent: boolean; +}; + +/** @internal */ +export const UpdateFirewallConfigRedirectSecurity1$outboundSchema: z.ZodType< + UpdateFirewallConfigRedirectSecurity1$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRedirectSecurity1 +> = z.object({ + location: z.string(), + permanent: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRedirectSecurity1$ { + /** @deprecated use `UpdateFirewallConfigRedirectSecurity1$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRedirectSecurity1$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRedirectSecurity1$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRedirectSecurity1$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRedirectSecurity1$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRedirectSecurity1$Outbound; +} + +export function updateFirewallConfigRedirectSecurity1ToJSON( + updateFirewallConfigRedirectSecurity1: UpdateFirewallConfigRedirectSecurity1, +): string { + return JSON.stringify( + UpdateFirewallConfigRedirectSecurity1$outboundSchema.parse( + updateFirewallConfigRedirectSecurity1, + ), + ); +} + +export function updateFirewallConfigRedirectSecurity1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRedirectSecurity1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateFirewallConfigRedirectSecurity1' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodyRedirect$inboundSchema: z.ZodType< + UpdateFirewallConfigRequestBodyRedirect, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateFirewallConfigRedirectSecurity1$inboundSchema), + z.any(), +]); + +/** @internal */ +export type UpdateFirewallConfigRequestBodyRedirect$Outbound = + | UpdateFirewallConfigRedirectSecurity1$Outbound + | any; + +/** @internal */ +export const UpdateFirewallConfigRequestBodyRedirect$outboundSchema: z.ZodType< + UpdateFirewallConfigRequestBodyRedirect$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBodyRedirect +> = z.union([ + z.lazy(() => UpdateFirewallConfigRedirectSecurity1$outboundSchema), + z.any(), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodyRedirect$ { + /** @deprecated use `UpdateFirewallConfigRequestBodyRedirect$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodyRedirect$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodyRedirect$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodyRedirect$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodyRedirect$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRequestBodyRedirect$Outbound; +} + +export function updateFirewallConfigRequestBodyRedirectToJSON( + updateFirewallConfigRequestBodyRedirect: + UpdateFirewallConfigRequestBodyRedirect, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBodyRedirect$outboundSchema.parse( + updateFirewallConfigRequestBodyRedirect, + ), + ); +} + +export function updateFirewallConfigRequestBodyRedirectFromJSON( + jsonString: string, +): SafeParseResult< + UpdateFirewallConfigRequestBodyRedirect, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRequestBodyRedirect$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateFirewallConfigRequestBodyRedirect' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodyMitigate$inboundSchema: z.ZodType< + UpdateFirewallConfigRequestBodyMitigate, + z.ZodTypeDef, + unknown +> = z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$inboundSchema, + rateLimit: z.nullable( + z.union([ + z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$inboundSchema), + z.any(), + ]), + ).optional(), + redirect: z.nullable( + z.union([ + z.lazy(() => UpdateFirewallConfigRedirectSecurity1$inboundSchema), + z.any(), + ]), + ).optional(), + actionDuration: z.nullable(z.string()).optional(), +}); + +/** @internal */ +export type UpdateFirewallConfigRequestBodyMitigate$Outbound = { + action: string; + rateLimit?: + | UpdateFirewallConfigRateLimitSecurity1$Outbound + | any + | null + | undefined; + redirect?: + | UpdateFirewallConfigRedirectSecurity1$Outbound + | any + | null + | undefined; + actionDuration?: string | null | undefined; +}; + +/** @internal */ +export const UpdateFirewallConfigRequestBodyMitigate$outboundSchema: z.ZodType< + UpdateFirewallConfigRequestBodyMitigate$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBodyMitigate +> = z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$outboundSchema, + rateLimit: z.nullable( + z.union([ + z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$outboundSchema), + z.any(), + ]), + ).optional(), + redirect: z.nullable( + z.union([ + z.lazy(() => UpdateFirewallConfigRedirectSecurity1$outboundSchema), + z.any(), + ]), + ).optional(), + actionDuration: z.nullable(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodyMitigate$ { + /** @deprecated use `UpdateFirewallConfigRequestBodyMitigate$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodyMitigate$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodyMitigate$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodyMitigate$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodyMitigate$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRequestBodyMitigate$Outbound; +} + +export function updateFirewallConfigRequestBodyMitigateToJSON( + updateFirewallConfigRequestBodyMitigate: + UpdateFirewallConfigRequestBodyMitigate, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBodyMitigate$outboundSchema.parse( + updateFirewallConfigRequestBodyMitigate, + ), + ); +} + +export function updateFirewallConfigRequestBodyMitigateFromJSON( + jsonString: string, +): SafeParseResult< + UpdateFirewallConfigRequestBodyMitigate, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRequestBodyMitigate$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateFirewallConfigRequestBodyMitigate' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest3Action$inboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodySecurityRequest3Action, + z.ZodTypeDef, + unknown + > = z.object({ + mitigate: z.lazy(() => + UpdateFirewallConfigRequestBodyMitigate$inboundSchema + ).optional(), + }); + +/** @internal */ +export type UpdateFirewallConfigRequestBodySecurityRequest3Action$Outbound = { + mitigate?: UpdateFirewallConfigRequestBodyMitigate$Outbound | undefined; +}; + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest3Action$outboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodySecurityRequest3Action$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBodySecurityRequest3Action + > = z.object({ + mitigate: z.lazy(() => + UpdateFirewallConfigRequestBodyMitigate$outboundSchema + ).optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest3Action$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest3Action$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest3Action$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest3Action$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest3Action$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest3Action$Outbound` instead. */ + export type Outbound = + UpdateFirewallConfigRequestBodySecurityRequest3Action$Outbound; +} + +export function updateFirewallConfigRequestBodySecurityRequest3ActionToJSON( + updateFirewallConfigRequestBodySecurityRequest3Action: + UpdateFirewallConfigRequestBodySecurityRequest3Action, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBodySecurityRequest3Action$outboundSchema.parse( + updateFirewallConfigRequestBodySecurityRequest3Action, + ), + ); +} + +export function updateFirewallConfigRequestBodySecurityRequest3ActionFromJSON( + jsonString: string, +): SafeParseResult< + UpdateFirewallConfigRequestBodySecurityRequest3Action, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRequestBodySecurityRequest3Action$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequest3Action' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodyValue$inboundSchema: z.ZodType< + UpdateFirewallConfigRequestBodyValue, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array( + z.lazy(() => UpdateFirewallConfigRequestBodyConditionGroup$inboundSchema), + ), + action: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest3Action$inboundSchema + ), +}); + +/** @internal */ +export type UpdateFirewallConfigRequestBodyValue$Outbound = { + name: string; + description?: string | undefined; + active: boolean; + conditionGroup: Array; + action: UpdateFirewallConfigRequestBodySecurityRequest3Action$Outbound; +}; + +/** @internal */ +export const UpdateFirewallConfigRequestBodyValue$outboundSchema: z.ZodType< + UpdateFirewallConfigRequestBodyValue$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBodyValue +> = z.object({ + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array( + z.lazy(() => UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema), + ), + action: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest3Action$outboundSchema + ), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodyValue$ { + /** @deprecated use `UpdateFirewallConfigRequestBodyValue$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodyValue$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodyValue$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodyValue$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodyValue$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRequestBodyValue$Outbound; +} + +export function updateFirewallConfigRequestBodyValueToJSON( + updateFirewallConfigRequestBodyValue: UpdateFirewallConfigRequestBodyValue, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBodyValue$outboundSchema.parse( + updateFirewallConfigRequestBodyValue, + ), + ); +} + +export function updateFirewallConfigRequestBodyValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRequestBodyValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateFirewallConfigRequestBodyValue' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBody3$inboundSchema: z.ZodType< + UpdateFirewallConfigRequestBody3, + z.ZodTypeDef, + unknown +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityAction$inboundSchema, + id: z.string(), + value: z.lazy(() => UpdateFirewallConfigRequestBodyValue$inboundSchema), +}); + +/** @internal */ +export type UpdateFirewallConfigRequestBody3$Outbound = { + action: string; + id: string; + value: UpdateFirewallConfigRequestBodyValue$Outbound; +}; + +/** @internal */ +export const UpdateFirewallConfigRequestBody3$outboundSchema: z.ZodType< + UpdateFirewallConfigRequestBody3$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBody3 +> = z.object({ + action: UpdateFirewallConfigRequestBodySecurityAction$outboundSchema, + id: z.string(), + value: z.lazy(() => UpdateFirewallConfigRequestBodyValue$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBody3$ { + /** @deprecated use `UpdateFirewallConfigRequestBody3$inboundSchema` instead. */ + export const inboundSchema = UpdateFirewallConfigRequestBody3$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBody3$outboundSchema` instead. */ + export const outboundSchema = UpdateFirewallConfigRequestBody3$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBody3$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRequestBody3$Outbound; +} + +export function updateFirewallConfigRequestBody3ToJSON( + updateFirewallConfigRequestBody3: UpdateFirewallConfigRequestBody3, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBody3$outboundSchema.parse( + updateFirewallConfigRequestBody3, + ), + ); +} + +export function updateFirewallConfigRequestBody3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateFirewallConfigRequestBody3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateFirewallConfigRequestBody3' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodyAction$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateFirewallConfigRequestBodyAction, + ); + +/** @internal */ +export const UpdateFirewallConfigRequestBodyAction$outboundSchema: + z.ZodNativeEnum = + UpdateFirewallConfigRequestBodyAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodyAction$ { + /** @deprecated use `UpdateFirewallConfigRequestBodyAction$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodyAction$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodyAction$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodyAction$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodyType$inboundSchema: z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodyType +> = z.nativeEnum(UpdateFirewallConfigRequestBodyType); + +/** @internal */ +export const UpdateFirewallConfigRequestBodyType$outboundSchema: + z.ZodNativeEnum = + UpdateFirewallConfigRequestBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodyType$ { + /** @deprecated use `UpdateFirewallConfigRequestBodyType$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodyType$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodyType$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodyType$outboundSchema; +} + +/** @internal */ +export const RequestBodyOp$inboundSchema: z.ZodNativeEnum< + typeof RequestBodyOp +> = z.nativeEnum(RequestBodyOp); + +/** @internal */ +export const RequestBodyOp$outboundSchema: z.ZodNativeEnum< + typeof RequestBodyOp +> = RequestBodyOp$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBodyOp$ { + /** @deprecated use `RequestBodyOp$inboundSchema` instead. */ + export const inboundSchema = RequestBodyOp$inboundSchema; + /** @deprecated use `RequestBodyOp$outboundSchema` instead. */ + export const outboundSchema = RequestBodyOp$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest2Value$inboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodySecurityRequest2Value, + z.ZodTypeDef, + unknown + > = z.union([z.string(), z.array(z.string()), z.number()]); + +/** @internal */ +export type UpdateFirewallConfigRequestBodySecurityRequest2Value$Outbound = + | string + | Array + | number; + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest2Value$outboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodySecurityRequest2Value$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBodySecurityRequest2Value + > = z.union([z.string(), z.array(z.string()), z.number()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest2Value$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest2Value$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest2Value$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest2Value$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest2Value$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest2Value$Outbound` instead. */ + export type Outbound = + UpdateFirewallConfigRequestBodySecurityRequest2Value$Outbound; +} + +export function updateFirewallConfigRequestBodySecurityRequest2ValueToJSON( + updateFirewallConfigRequestBodySecurityRequest2Value: + UpdateFirewallConfigRequestBodySecurityRequest2Value, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBodySecurityRequest2Value$outboundSchema.parse( + updateFirewallConfigRequestBodySecurityRequest2Value, + ), + ); +} + +export function updateFirewallConfigRequestBodySecurityRequest2ValueFromJSON( + jsonString: string, +): SafeParseResult< + UpdateFirewallConfigRequestBodySecurityRequest2Value, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRequestBodySecurityRequest2Value$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequest2Value' from JSON`, + ); +} + +/** @internal */ +export const RequestBodyConditions$inboundSchema: z.ZodType< + RequestBodyConditions, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateFirewallConfigRequestBodyType$inboundSchema, + op: RequestBodyOp$inboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: z.union([z.string(), z.array(z.string()), z.number()]).optional(), +}); + +/** @internal */ +export type RequestBodyConditions$Outbound = { + type: string; + op: string; + neg?: boolean | undefined; + key?: string | undefined; + value?: string | Array | number | undefined; +}; + +/** @internal */ +export const RequestBodyConditions$outboundSchema: z.ZodType< + RequestBodyConditions$Outbound, + z.ZodTypeDef, + RequestBodyConditions +> = z.object({ + type: UpdateFirewallConfigRequestBodyType$outboundSchema, + op: RequestBodyOp$outboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: z.union([z.string(), z.array(z.string()), z.number()]).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBodyConditions$ { + /** @deprecated use `RequestBodyConditions$inboundSchema` instead. */ + export const inboundSchema = RequestBodyConditions$inboundSchema; + /** @deprecated use `RequestBodyConditions$outboundSchema` instead. */ + export const outboundSchema = RequestBodyConditions$outboundSchema; + /** @deprecated use `RequestBodyConditions$Outbound` instead. */ + export type Outbound = RequestBodyConditions$Outbound; +} + +export function requestBodyConditionsToJSON( + requestBodyConditions: RequestBodyConditions, +): string { + return JSON.stringify( + RequestBodyConditions$outboundSchema.parse(requestBodyConditions), + ); +} + +export function requestBodyConditionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBodyConditions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBodyConditions' from JSON`, + ); +} + +/** @internal */ +export const RequestBodyConditionGroup$inboundSchema: z.ZodType< + RequestBodyConditionGroup, + z.ZodTypeDef, + unknown +> = z.object({ + conditions: z.array(z.lazy(() => RequestBodyConditions$inboundSchema)), +}); + +/** @internal */ +export type RequestBodyConditionGroup$Outbound = { + conditions: Array; +}; + +/** @internal */ +export const RequestBodyConditionGroup$outboundSchema: z.ZodType< + RequestBodyConditionGroup$Outbound, + z.ZodTypeDef, + RequestBodyConditionGroup +> = z.object({ + conditions: z.array(z.lazy(() => RequestBodyConditions$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBodyConditionGroup$ { + /** @deprecated use `RequestBodyConditionGroup$inboundSchema` instead. */ + export const inboundSchema = RequestBodyConditionGroup$inboundSchema; + /** @deprecated use `RequestBodyConditionGroup$outboundSchema` instead. */ + export const outboundSchema = RequestBodyConditionGroup$outboundSchema; + /** @deprecated use `RequestBodyConditionGroup$Outbound` instead. */ + export type Outbound = RequestBodyConditionGroup$Outbound; +} + +export function requestBodyConditionGroupToJSON( + requestBodyConditionGroup: RequestBodyConditionGroup, +): string { + return JSON.stringify( + RequestBodyConditionGroup$outboundSchema.parse(requestBodyConditionGroup), + ); +} + +export function requestBodyConditionGroupFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBodyConditionGroup$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBodyConditionGroup' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$inboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest2ValueAction + > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest2ValueAction); + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$outboundSchema: + z.ZodNativeEnum< + typeof UpdateFirewallConfigRequestBodySecurityRequest2ValueAction + > = UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$outboundSchema; +} + +/** @internal */ +export const RateLimitAlgo$inboundSchema: z.ZodNativeEnum< + typeof RateLimitAlgo +> = z.nativeEnum(RateLimitAlgo); + +/** @internal */ +export const RateLimitAlgo$outboundSchema: z.ZodNativeEnum< + typeof RateLimitAlgo +> = RateLimitAlgo$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RateLimitAlgo$ { + /** @deprecated use `RateLimitAlgo$inboundSchema` instead. */ + export const inboundSchema = RateLimitAlgo$inboundSchema; + /** @deprecated use `RateLimitAlgo$outboundSchema` instead. */ + export const outboundSchema = RateLimitAlgo$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigAction1$inboundSchema: z.ZodNativeEnum< + typeof UpdateFirewallConfigAction1 +> = z.nativeEnum(UpdateFirewallConfigAction1); + +/** @internal */ +export const UpdateFirewallConfigAction1$outboundSchema: z.ZodNativeEnum< + typeof UpdateFirewallConfigAction1 +> = UpdateFirewallConfigAction1$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigAction1$ { + /** @deprecated use `UpdateFirewallConfigAction1$inboundSchema` instead. */ + export const inboundSchema = UpdateFirewallConfigAction1$inboundSchema; + /** @deprecated use `UpdateFirewallConfigAction1$outboundSchema` instead. */ + export const outboundSchema = UpdateFirewallConfigAction1$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRateLimitAction$inboundSchema: z.ZodType< + UpdateFirewallConfigRateLimitAction, + z.ZodTypeDef, + unknown +> = z.union([UpdateFirewallConfigAction1$inboundSchema, z.any()]); + +/** @internal */ +export type UpdateFirewallConfigRateLimitAction$Outbound = string | any; + +/** @internal */ +export const UpdateFirewallConfigRateLimitAction$outboundSchema: z.ZodType< + UpdateFirewallConfigRateLimitAction$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRateLimitAction +> = z.union([UpdateFirewallConfigAction1$outboundSchema, z.any()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRateLimitAction$ { + /** @deprecated use `UpdateFirewallConfigRateLimitAction$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRateLimitAction$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRateLimitAction$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRateLimitAction$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRateLimitAction$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRateLimitAction$Outbound; +} + +export function updateFirewallConfigRateLimitActionToJSON( + updateFirewallConfigRateLimitAction: UpdateFirewallConfigRateLimitAction, +): string { + return JSON.stringify( + UpdateFirewallConfigRateLimitAction$outboundSchema.parse( + updateFirewallConfigRateLimitAction, + ), + ); +} + +export function updateFirewallConfigRateLimitActionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRateLimitAction$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateFirewallConfigRateLimitAction' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRateLimit1$inboundSchema: z.ZodType< + UpdateFirewallConfigRateLimit1, + z.ZodTypeDef, + unknown +> = z.object({ + algo: RateLimitAlgo$inboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), + action: z.nullable( + z.union([UpdateFirewallConfigAction1$inboundSchema, z.any()]), + ).optional(), +}); + +/** @internal */ +export type UpdateFirewallConfigRateLimit1$Outbound = { + algo: string; + window: number; + limit: number; + keys: Array; + action?: string | any | null | undefined; +}; + +/** @internal */ +export const UpdateFirewallConfigRateLimit1$outboundSchema: z.ZodType< + UpdateFirewallConfigRateLimit1$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRateLimit1 +> = z.object({ + algo: RateLimitAlgo$outboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), + action: z.nullable( + z.union([UpdateFirewallConfigAction1$outboundSchema, z.any()]), + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRateLimit1$ { + /** @deprecated use `UpdateFirewallConfigRateLimit1$inboundSchema` instead. */ + export const inboundSchema = UpdateFirewallConfigRateLimit1$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRateLimit1$outboundSchema` instead. */ + export const outboundSchema = UpdateFirewallConfigRateLimit1$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRateLimit1$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRateLimit1$Outbound; +} + +export function updateFirewallConfigRateLimit1ToJSON( + updateFirewallConfigRateLimit1: UpdateFirewallConfigRateLimit1, +): string { + return JSON.stringify( + UpdateFirewallConfigRateLimit1$outboundSchema.parse( + updateFirewallConfigRateLimit1, + ), + ); +} + +export function updateFirewallConfigRateLimit1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateFirewallConfigRateLimit1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateFirewallConfigRateLimit1' from JSON`, + ); +} + +/** @internal */ +export const RequestBodyRateLimit$inboundSchema: z.ZodType< + RequestBodyRateLimit, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateFirewallConfigRateLimit1$inboundSchema), + z.any(), +]); + +/** @internal */ +export type RequestBodyRateLimit$Outbound = + | UpdateFirewallConfigRateLimit1$Outbound + | any; + +/** @internal */ +export const RequestBodyRateLimit$outboundSchema: z.ZodType< + RequestBodyRateLimit$Outbound, + z.ZodTypeDef, + RequestBodyRateLimit +> = z.union([ + z.lazy(() => UpdateFirewallConfigRateLimit1$outboundSchema), + z.any(), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBodyRateLimit$ { + /** @deprecated use `RequestBodyRateLimit$inboundSchema` instead. */ + export const inboundSchema = RequestBodyRateLimit$inboundSchema; + /** @deprecated use `RequestBodyRateLimit$outboundSchema` instead. */ + export const outboundSchema = RequestBodyRateLimit$outboundSchema; + /** @deprecated use `RequestBodyRateLimit$Outbound` instead. */ + export type Outbound = RequestBodyRateLimit$Outbound; +} + +export function requestBodyRateLimitToJSON( + requestBodyRateLimit: RequestBodyRateLimit, +): string { + return JSON.stringify( + RequestBodyRateLimit$outboundSchema.parse(requestBodyRateLimit), + ); +} + +export function requestBodyRateLimitFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBodyRateLimit$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBodyRateLimit' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRedirect1$inboundSchema: z.ZodType< + UpdateFirewallConfigRedirect1, + z.ZodTypeDef, + unknown +> = z.object({ + location: z.string(), + permanent: z.boolean(), +}); + +/** @internal */ +export type UpdateFirewallConfigRedirect1$Outbound = { + location: string; + permanent: boolean; +}; + +/** @internal */ +export const UpdateFirewallConfigRedirect1$outboundSchema: z.ZodType< + UpdateFirewallConfigRedirect1$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRedirect1 +> = z.object({ + location: z.string(), + permanent: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRedirect1$ { + /** @deprecated use `UpdateFirewallConfigRedirect1$inboundSchema` instead. */ + export const inboundSchema = UpdateFirewallConfigRedirect1$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRedirect1$outboundSchema` instead. */ + export const outboundSchema = UpdateFirewallConfigRedirect1$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRedirect1$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRedirect1$Outbound; +} + +export function updateFirewallConfigRedirect1ToJSON( + updateFirewallConfigRedirect1: UpdateFirewallConfigRedirect1, +): string { + return JSON.stringify( + UpdateFirewallConfigRedirect1$outboundSchema.parse( + updateFirewallConfigRedirect1, + ), + ); +} + +export function updateFirewallConfigRedirect1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateFirewallConfigRedirect1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateFirewallConfigRedirect1' from JSON`, + ); +} + +/** @internal */ +export const RequestBodyRedirect$inboundSchema: z.ZodType< + RequestBodyRedirect, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateFirewallConfigRedirect1$inboundSchema), + z.any(), +]); + +/** @internal */ +export type RequestBodyRedirect$Outbound = + | UpdateFirewallConfigRedirect1$Outbound + | any; + +/** @internal */ +export const RequestBodyRedirect$outboundSchema: z.ZodType< + RequestBodyRedirect$Outbound, + z.ZodTypeDef, + RequestBodyRedirect +> = z.union([ + z.lazy(() => UpdateFirewallConfigRedirect1$outboundSchema), + z.any(), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBodyRedirect$ { + /** @deprecated use `RequestBodyRedirect$inboundSchema` instead. */ + export const inboundSchema = RequestBodyRedirect$inboundSchema; + /** @deprecated use `RequestBodyRedirect$outboundSchema` instead. */ + export const outboundSchema = RequestBodyRedirect$outboundSchema; + /** @deprecated use `RequestBodyRedirect$Outbound` instead. */ + export type Outbound = RequestBodyRedirect$Outbound; +} + +export function requestBodyRedirectToJSON( + requestBodyRedirect: RequestBodyRedirect, +): string { + return JSON.stringify( + RequestBodyRedirect$outboundSchema.parse(requestBodyRedirect), + ); +} + +export function requestBodyRedirectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBodyRedirect$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBodyRedirect' from JSON`, + ); +} + +/** @internal */ +export const RequestBodyMitigate$inboundSchema: z.ZodType< + RequestBodyMitigate, + z.ZodTypeDef, + unknown +> = z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$inboundSchema, + rateLimit: z.nullable( + z.union([ + z.lazy(() => UpdateFirewallConfigRateLimit1$inboundSchema), + z.any(), + ]), + ).optional(), + redirect: z.nullable( + z.union([ + z.lazy(() => UpdateFirewallConfigRedirect1$inboundSchema), + z.any(), + ]), + ).optional(), + actionDuration: z.nullable(z.string()).optional(), +}); + +/** @internal */ +export type RequestBodyMitigate$Outbound = { + action: string; + rateLimit?: UpdateFirewallConfigRateLimit1$Outbound | any | null | undefined; + redirect?: UpdateFirewallConfigRedirect1$Outbound | any | null | undefined; + actionDuration?: string | null | undefined; +}; + +/** @internal */ +export const RequestBodyMitigate$outboundSchema: z.ZodType< + RequestBodyMitigate$Outbound, + z.ZodTypeDef, + RequestBodyMitigate +> = z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$outboundSchema, + rateLimit: z.nullable( + z.union([ + z.lazy(() => UpdateFirewallConfigRateLimit1$outboundSchema), + z.any(), + ]), + ).optional(), + redirect: z.nullable( + z.union([ + z.lazy(() => UpdateFirewallConfigRedirect1$outboundSchema), + z.any(), + ]), + ).optional(), + actionDuration: z.nullable(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBodyMitigate$ { + /** @deprecated use `RequestBodyMitigate$inboundSchema` instead. */ + export const inboundSchema = RequestBodyMitigate$inboundSchema; + /** @deprecated use `RequestBodyMitigate$outboundSchema` instead. */ + export const outboundSchema = RequestBodyMitigate$outboundSchema; + /** @deprecated use `RequestBodyMitigate$Outbound` instead. */ + export type Outbound = RequestBodyMitigate$Outbound; +} + +export function requestBodyMitigateToJSON( + requestBodyMitigate: RequestBodyMitigate, +): string { + return JSON.stringify( + RequestBodyMitigate$outboundSchema.parse(requestBodyMitigate), + ); +} + +export function requestBodyMitigateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBodyMitigate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBodyMitigate' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest2Action$inboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodySecurityRequest2Action, + z.ZodTypeDef, + unknown + > = z.object({ + mitigate: z.lazy(() => RequestBodyMitigate$inboundSchema).optional(), + }); + +/** @internal */ +export type UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound = { + mitigate?: RequestBodyMitigate$Outbound | undefined; +}; + +/** @internal */ +export const UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchema: + z.ZodType< + UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBodySecurityRequest2Action + > = z.object({ + mitigate: z.lazy(() => RequestBodyMitigate$outboundSchema).optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBodySecurityRequest2Action$ { + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest2Action$inboundSchema` instead. */ + export const inboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest2Action$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchema` instead. */ + export const outboundSchema = + UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound` instead. */ + export type Outbound = + UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound; +} + +export function updateFirewallConfigRequestBodySecurityRequest2ActionToJSON( + updateFirewallConfigRequestBodySecurityRequest2Action: + UpdateFirewallConfigRequestBodySecurityRequest2Action, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchema.parse( + updateFirewallConfigRequestBodySecurityRequest2Action, + ), + ); +} + +export function updateFirewallConfigRequestBodySecurityRequest2ActionFromJSON( + jsonString: string, +): SafeParseResult< + UpdateFirewallConfigRequestBodySecurityRequest2Action, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateFirewallConfigRequestBodySecurityRequest2Action$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequest2Action' from JSON`, + ); +} + +/** @internal */ +export const RequestBodyValue$inboundSchema: z.ZodType< + RequestBodyValue, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array( + z.lazy(() => RequestBodyConditionGroup$inboundSchema), + ), + action: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest2Action$inboundSchema + ), +}); + +/** @internal */ +export type RequestBodyValue$Outbound = { + name: string; + description?: string | undefined; + active: boolean; + conditionGroup: Array; + action: UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound; +}; + +/** @internal */ +export const RequestBodyValue$outboundSchema: z.ZodType< + RequestBodyValue$Outbound, + z.ZodTypeDef, + RequestBodyValue +> = z.object({ + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array( + z.lazy(() => RequestBodyConditionGroup$outboundSchema), + ), + action: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchema + ), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBodyValue$ { + /** @deprecated use `RequestBodyValue$inboundSchema` instead. */ + export const inboundSchema = RequestBodyValue$inboundSchema; + /** @deprecated use `RequestBodyValue$outboundSchema` instead. */ + export const outboundSchema = RequestBodyValue$outboundSchema; + /** @deprecated use `RequestBodyValue$Outbound` instead. */ + export type Outbound = RequestBodyValue$Outbound; +} + +export function requestBodyValueToJSON( + requestBodyValue: RequestBodyValue, +): string { + return JSON.stringify( + RequestBodyValue$outboundSchema.parse(requestBodyValue), + ); +} + +export function requestBodyValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBodyValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBodyValue' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBody2$inboundSchema: z.ZodType< + UpdateFirewallConfigRequestBody2, + z.ZodTypeDef, + unknown +> = z.object({ + action: UpdateFirewallConfigRequestBodyAction$inboundSchema, + id: z.nullable(z.any()).optional(), + value: z.lazy(() => RequestBodyValue$inboundSchema), +}); + +/** @internal */ +export type UpdateFirewallConfigRequestBody2$Outbound = { + action: string; + id?: any | null | undefined; + value: RequestBodyValue$Outbound; +}; + +/** @internal */ +export const UpdateFirewallConfigRequestBody2$outboundSchema: z.ZodType< + UpdateFirewallConfigRequestBody2$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBody2 +> = z.object({ + action: UpdateFirewallConfigRequestBodyAction$outboundSchema, + id: z.nullable(z.any()).optional(), + value: z.lazy(() => RequestBodyValue$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBody2$ { + /** @deprecated use `UpdateFirewallConfigRequestBody2$inboundSchema` instead. */ + export const inboundSchema = UpdateFirewallConfigRequestBody2$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBody2$outboundSchema` instead. */ + export const outboundSchema = UpdateFirewallConfigRequestBody2$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBody2$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRequestBody2$Outbound; +} + +export function updateFirewallConfigRequestBody2ToJSON( + updateFirewallConfigRequestBody2: UpdateFirewallConfigRequestBody2, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBody2$outboundSchema.parse( + updateFirewallConfigRequestBody2, + ), + ); +} + +export function updateFirewallConfigRequestBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateFirewallConfigRequestBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateFirewallConfigRequestBody2' from JSON`, + ); +} + +/** @internal */ +export const RequestBodyAction$inboundSchema: z.ZodNativeEnum< + typeof RequestBodyAction +> = z.nativeEnum(RequestBodyAction); + +/** @internal */ +export const RequestBodyAction$outboundSchema: z.ZodNativeEnum< + typeof RequestBodyAction +> = RequestBodyAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RequestBodyAction$ { + /** @deprecated use `RequestBodyAction$inboundSchema` instead. */ + export const inboundSchema = RequestBodyAction$inboundSchema; + /** @deprecated use `RequestBodyAction$outboundSchema` instead. */ + export const outboundSchema = RequestBodyAction$outboundSchema; +} + +/** @internal */ +export const UpdateFirewallConfigRequestBody1$inboundSchema: z.ZodType< + UpdateFirewallConfigRequestBody1, + z.ZodTypeDef, + unknown +> = z.object({ + action: RequestBodyAction$inboundSchema, + id: z.nullable(z.any()).optional(), + value: z.boolean(), +}); + +/** @internal */ +export type UpdateFirewallConfigRequestBody1$Outbound = { + action: string; + id?: any | null | undefined; + value: boolean; +}; + +/** @internal */ +export const UpdateFirewallConfigRequestBody1$outboundSchema: z.ZodType< + UpdateFirewallConfigRequestBody1$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBody1 +> = z.object({ + action: RequestBodyAction$outboundSchema, + id: z.nullable(z.any()).optional(), + value: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBody1$ { + /** @deprecated use `UpdateFirewallConfigRequestBody1$inboundSchema` instead. */ + export const inboundSchema = UpdateFirewallConfigRequestBody1$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBody1$outboundSchema` instead. */ + export const outboundSchema = UpdateFirewallConfigRequestBody1$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBody1$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRequestBody1$Outbound; +} + +export function updateFirewallConfigRequestBody1ToJSON( + updateFirewallConfigRequestBody1: UpdateFirewallConfigRequestBody1, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBody1$outboundSchema.parse( + updateFirewallConfigRequestBody1, + ), + ); +} + +export function updateFirewallConfigRequestBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateFirewallConfigRequestBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateFirewallConfigRequestBody1' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequestBody$inboundSchema: z.ZodType< + UpdateFirewallConfigRequestBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateFirewallConfigRequestBody1$inboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody2$inboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody3$inboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody4$inboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody5$inboundSchema), + z.lazy(() => RequestBody6$inboundSchema), + z.lazy(() => RequestBody7$inboundSchema), + z.lazy(() => RequestBody8$inboundSchema), + z.lazy(() => RequestBody9$inboundSchema), + z.lazy(() => RequestBody10$inboundSchema), + z.lazy(() => Eleven$inboundSchema), +]); + +/** @internal */ +export type UpdateFirewallConfigRequestBody$Outbound = + | UpdateFirewallConfigRequestBody1$Outbound + | UpdateFirewallConfigRequestBody2$Outbound + | UpdateFirewallConfigRequestBody3$Outbound + | UpdateFirewallConfigRequestBody4$Outbound + | UpdateFirewallConfigRequestBody5$Outbound + | RequestBody6$Outbound + | RequestBody7$Outbound + | RequestBody8$Outbound + | RequestBody9$Outbound + | RequestBody10$Outbound + | Eleven$Outbound; + +/** @internal */ +export const UpdateFirewallConfigRequestBody$outboundSchema: z.ZodType< + UpdateFirewallConfigRequestBody$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequestBody +> = z.union([ + z.lazy(() => UpdateFirewallConfigRequestBody1$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody2$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody3$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody4$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody5$outboundSchema), + z.lazy(() => RequestBody6$outboundSchema), + z.lazy(() => RequestBody7$outboundSchema), + z.lazy(() => RequestBody8$outboundSchema), + z.lazy(() => RequestBody9$outboundSchema), + z.lazy(() => RequestBody10$outboundSchema), + z.lazy(() => Eleven$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequestBody$ { + /** @deprecated use `UpdateFirewallConfigRequestBody$inboundSchema` instead. */ + export const inboundSchema = UpdateFirewallConfigRequestBody$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBody$outboundSchema` instead. */ + export const outboundSchema = UpdateFirewallConfigRequestBody$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequestBody$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRequestBody$Outbound; +} + +export function updateFirewallConfigRequestBodyToJSON( + updateFirewallConfigRequestBody: UpdateFirewallConfigRequestBody, +): string { + return JSON.stringify( + UpdateFirewallConfigRequestBody$outboundSchema.parse( + updateFirewallConfigRequestBody, + ), + ); +} + +export function updateFirewallConfigRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateFirewallConfigRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateFirewallConfigRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigRequest$inboundSchema: z.ZodType< + UpdateFirewallConfigRequest, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.union([ + z.lazy(() => UpdateFirewallConfigRequestBody1$inboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody2$inboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody3$inboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody4$inboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody5$inboundSchema), + z.lazy(() => RequestBody6$inboundSchema), + z.lazy(() => RequestBody7$inboundSchema), + z.lazy(() => RequestBody8$inboundSchema), + z.lazy(() => RequestBody9$inboundSchema), + z.lazy(() => RequestBody10$inboundSchema), + z.lazy(() => Eleven$inboundSchema), + ]), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UpdateFirewallConfigRequest$Outbound = { + projectId: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: + | UpdateFirewallConfigRequestBody1$Outbound + | UpdateFirewallConfigRequestBody2$Outbound + | UpdateFirewallConfigRequestBody3$Outbound + | UpdateFirewallConfigRequestBody4$Outbound + | UpdateFirewallConfigRequestBody5$Outbound + | RequestBody6$Outbound + | RequestBody7$Outbound + | RequestBody8$Outbound + | RequestBody9$Outbound + | RequestBody10$Outbound + | Eleven$Outbound; +}; + +/** @internal */ +export const UpdateFirewallConfigRequest$outboundSchema: z.ZodType< + UpdateFirewallConfigRequest$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigRequest +> = z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.union([ + z.lazy(() => UpdateFirewallConfigRequestBody1$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody2$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody3$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody4$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody5$outboundSchema), + z.lazy(() => RequestBody6$outboundSchema), + z.lazy(() => RequestBody7$outboundSchema), + z.lazy(() => RequestBody8$outboundSchema), + z.lazy(() => RequestBody9$outboundSchema), + z.lazy(() => RequestBody10$outboundSchema), + z.lazy(() => Eleven$outboundSchema), + ]), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigRequest$ { + /** @deprecated use `UpdateFirewallConfigRequest$inboundSchema` instead. */ + export const inboundSchema = UpdateFirewallConfigRequest$inboundSchema; + /** @deprecated use `UpdateFirewallConfigRequest$outboundSchema` instead. */ + export const outboundSchema = UpdateFirewallConfigRequest$outboundSchema; + /** @deprecated use `UpdateFirewallConfigRequest$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigRequest$Outbound; +} + +export function updateFirewallConfigRequestToJSON( + updateFirewallConfigRequest: UpdateFirewallConfigRequest, +): string { + return JSON.stringify( + UpdateFirewallConfigRequest$outboundSchema.parse( + updateFirewallConfigRequest, + ), + ); +} + +export function updateFirewallConfigRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateFirewallConfigRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateFirewallConfigRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateFirewallConfigResponseBody$inboundSchema: z.ZodType< + UpdateFirewallConfigResponseBody, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type UpdateFirewallConfigResponseBody$Outbound = {}; + +/** @internal */ +export const UpdateFirewallConfigResponseBody$outboundSchema: z.ZodType< + UpdateFirewallConfigResponseBody$Outbound, + z.ZodTypeDef, + UpdateFirewallConfigResponseBody +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateFirewallConfigResponseBody$ { + /** @deprecated use `UpdateFirewallConfigResponseBody$inboundSchema` instead. */ + export const inboundSchema = UpdateFirewallConfigResponseBody$inboundSchema; + /** @deprecated use `UpdateFirewallConfigResponseBody$outboundSchema` instead. */ + export const outboundSchema = UpdateFirewallConfigResponseBody$outboundSchema; + /** @deprecated use `UpdateFirewallConfigResponseBody$Outbound` instead. */ + export type Outbound = UpdateFirewallConfigResponseBody$Outbound; +} + +export function updateFirewallConfigResponseBodyToJSON( + updateFirewallConfigResponseBody: UpdateFirewallConfigResponseBody, +): string { + return JSON.stringify( + UpdateFirewallConfigResponseBody$outboundSchema.parse( + updateFirewallConfigResponseBody, + ), + ); +} + +export function updateFirewallConfigResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateFirewallConfigResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateFirewallConfigResponseBody' from JSON`, + ); +} diff --git a/src/models/updateinvoiceop.ts b/src/models/updateinvoiceop.ts new file mode 100644 index 00000000..4898e7ab --- /dev/null +++ b/src/models/updateinvoiceop.ts @@ -0,0 +1,180 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export const Action = { + Refund: "refund", +} as const; +export type Action = ClosedEnum; + +export type UpdateInvoiceRequestBody = { + action: Action; + /** + * Refund reason. + */ + reason: string; + /** + * The total amount to be refunded. Must be less than or equal to the total amount of the invoice. + */ + total: string; +}; + +export type UpdateInvoiceRequest = { + integrationConfigurationId: string; + invoiceId: string; + requestBody: UpdateInvoiceRequestBody; +}; + +/** @internal */ +export const Action$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Action); + +/** @internal */ +export const Action$outboundSchema: z.ZodNativeEnum = + Action$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Action$ { + /** @deprecated use `Action$inboundSchema` instead. */ + export const inboundSchema = Action$inboundSchema; + /** @deprecated use `Action$outboundSchema` instead. */ + export const outboundSchema = Action$outboundSchema; +} + +/** @internal */ +export const UpdateInvoiceRequestBody$inboundSchema: z.ZodType< + UpdateInvoiceRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + action: Action$inboundSchema, + reason: z.string(), + total: z.string(), +}); + +/** @internal */ +export type UpdateInvoiceRequestBody$Outbound = { + action: string; + reason: string; + total: string; +}; + +/** @internal */ +export const UpdateInvoiceRequestBody$outboundSchema: z.ZodType< + UpdateInvoiceRequestBody$Outbound, + z.ZodTypeDef, + UpdateInvoiceRequestBody +> = z.object({ + action: Action$outboundSchema, + reason: z.string(), + total: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateInvoiceRequestBody$ { + /** @deprecated use `UpdateInvoiceRequestBody$inboundSchema` instead. */ + export const inboundSchema = UpdateInvoiceRequestBody$inboundSchema; + /** @deprecated use `UpdateInvoiceRequestBody$outboundSchema` instead. */ + export const outboundSchema = UpdateInvoiceRequestBody$outboundSchema; + /** @deprecated use `UpdateInvoiceRequestBody$Outbound` instead. */ + export type Outbound = UpdateInvoiceRequestBody$Outbound; +} + +export function updateInvoiceRequestBodyToJSON( + updateInvoiceRequestBody: UpdateInvoiceRequestBody, +): string { + return JSON.stringify( + UpdateInvoiceRequestBody$outboundSchema.parse(updateInvoiceRequestBody), + ); +} + +export function updateInvoiceRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateInvoiceRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateInvoiceRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateInvoiceRequest$inboundSchema: z.ZodType< + UpdateInvoiceRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), + invoiceId: z.string(), + RequestBody: z.lazy(() => UpdateInvoiceRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UpdateInvoiceRequest$Outbound = { + integrationConfigurationId: string; + invoiceId: string; + RequestBody: UpdateInvoiceRequestBody$Outbound; +}; + +/** @internal */ +export const UpdateInvoiceRequest$outboundSchema: z.ZodType< + UpdateInvoiceRequest$Outbound, + z.ZodTypeDef, + UpdateInvoiceRequest +> = z.object({ + integrationConfigurationId: z.string(), + invoiceId: z.string(), + requestBody: z.lazy(() => UpdateInvoiceRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateInvoiceRequest$ { + /** @deprecated use `UpdateInvoiceRequest$inboundSchema` instead. */ + export const inboundSchema = UpdateInvoiceRequest$inboundSchema; + /** @deprecated use `UpdateInvoiceRequest$outboundSchema` instead. */ + export const outboundSchema = UpdateInvoiceRequest$outboundSchema; + /** @deprecated use `UpdateInvoiceRequest$Outbound` instead. */ + export type Outbound = UpdateInvoiceRequest$Outbound; +} + +export function updateInvoiceRequestToJSON( + updateInvoiceRequest: UpdateInvoiceRequest, +): string { + return JSON.stringify( + UpdateInvoiceRequest$outboundSchema.parse(updateInvoiceRequest), + ); +} + +export function updateInvoiceRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateInvoiceRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateInvoiceRequest' from JSON`, + ); +} diff --git a/src/models/updateprojectdatacacheop.ts b/src/models/updateprojectdatacacheop.ts new file mode 100644 index 00000000..09d90ff0 --- /dev/null +++ b/src/models/updateprojectdatacacheop.ts @@ -0,0 +1,8940 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + ACLAction, + ACLAction$inboundSchema, + ACLAction$outboundSchema, +} from "./aclaction.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type UpdateProjectDataCacheRequestBody = { + /** + * Enable or disable data cache for the project - default: false + */ + disabled?: boolean | undefined; +}; + +export type UpdateProjectDataCacheRequest = { + /** + * The unique project identifier + */ + projectId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: UpdateProjectDataCacheRequestBody; +}; + +export type Analytics = { + id: string; + canceledAt?: number | null | undefined; + disabledAt: number; + enabledAt: number; + paidAt?: number | undefined; + sampleRatePercent?: number | null | undefined; + spendLimitInDollars?: number | null | undefined; +}; + +export type SpeedInsights = { + id: string; + enabledAt?: number | undefined; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + hasData?: boolean | undefined; + paidAt?: number | undefined; +}; + +export type Definitions = { + /** + * The hostname that should be used. + */ + host: string; + /** + * The path that should be called for the cronjob. + */ + path: string; + /** + * The cron expression. + */ + schedule: string; +}; + +export type Crons = { + /** + * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs. + */ + enabledAt: number; + /** + * The time the feature was disabled for this project. + */ + disabledAt: number | null; + updatedAt: number; + /** + * The ID of the Deployment from which the definitions originated. + */ + deploymentId: string | null; + definitions: Array; +}; + +export type UpdateProjectDataCacheDataCache = { + userDisabled: boolean; + storageSizeBytes?: number | null | undefined; + unlimited?: boolean | undefined; +}; + +export type DeploymentExpiration = { + expirationDays?: number | undefined; + expirationDaysProduction?: number | undefined; + expirationDaysCanceled?: number | undefined; + expirationDaysErrored?: number | undefined; + deploymentsToKeep?: number | undefined; +}; + +export const UpdateProjectDataCacheTarget2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type UpdateProjectDataCacheTarget2 = ClosedEnum< + typeof UpdateProjectDataCacheTarget2 +>; + +export const UpdateProjectDataCacheTarget1 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type UpdateProjectDataCacheTarget1 = ClosedEnum< + typeof UpdateProjectDataCacheTarget1 +>; + +export type UpdateProjectDataCacheTarget = + | Array + | UpdateProjectDataCacheTarget2; + +export const UpdateProjectDataCacheProjectsResponse200Type = { + Secret: "secret", + System: "system", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +export type UpdateProjectDataCacheProjectsResponse200Type = ClosedEnum< + typeof UpdateProjectDataCacheProjectsResponse200Type +>; + +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = + { + FlagsConnectionString: "flags-connection-string", + } as const; +export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = + ClosedEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type + >; + +export type Fifteen = { + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type; + projectId: string; +}; + +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type = + { + IntegrationStoreSecret: "integration-store-secret", + } as const; +export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type = + ClosedEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type + >; + +export type Fourteen = { + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type = + { + PostgresUrlNoSsl: "postgres-url-no-ssl", + } as const; +export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type = + ClosedEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type + >; + +export type Thirteen = { + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type; + storeId: string; +}; + +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type = + { + PostgresDatabase: "postgres-database", + } as const; +export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type = + ClosedEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type + >; + +export type Twelve = { + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type; + storeId: string; +}; + +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type = + { + PostgresPassword: "postgres-password", + } as const; +export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type = + ClosedEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type + >; + +export type UpdateProjectDataCacheContentHint11 = { + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type; + storeId: string; +}; + +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type = + { + PostgresHost: "postgres-host", + } as const; +export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type = + ClosedEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type + >; + +export type ContentHint10 = { + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type; + storeId: string; +}; + +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type = + { + PostgresUser: "postgres-user", + } as const; +export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type = + ClosedEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type + >; + +export type ContentHint9 = { + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type; + storeId: string; +}; + +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType = + { + PostgresPrismaUrl: "postgres-prisma-url", + } as const; +export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType = + ClosedEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType + >; + +export type ContentHint8 = { + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType; + storeId: string; +}; + +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType = + { + PostgresUrlNonPooling: "postgres-url-non-pooling", + } as const; +export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType + >; + +export type ContentHint7 = { + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType; + storeId: string; +}; + +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType = + { + PostgresUrl: "postgres-url", + } as const; +export type UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType = + ClosedEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType + >; + +export type ContentHint6 = { + type: UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType; + storeId: string; +}; + +export const UpdateProjectDataCacheContentHintProjectsResponse200Type = { + BlobReadWriteToken: "blob-read-write-token", +} as const; +export type UpdateProjectDataCacheContentHintProjectsResponse200Type = + ClosedEnum; + +export type ContentHint5 = { + type: UpdateProjectDataCacheContentHintProjectsResponse200Type; + storeId: string; +}; + +export const UpdateProjectDataCacheContentHintProjectsResponseType = { + RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", +} as const; +export type UpdateProjectDataCacheContentHintProjectsResponseType = ClosedEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponseType +>; + +export type ContentHint4 = { + type: UpdateProjectDataCacheContentHintProjectsResponseType; + storeId: string; +}; + +export const UpdateProjectDataCacheContentHintProjectsType = { + RedisRestApiToken: "redis-rest-api-token", +} as const; +export type UpdateProjectDataCacheContentHintProjectsType = ClosedEnum< + typeof UpdateProjectDataCacheContentHintProjectsType +>; + +export type ContentHint3 = { + type: UpdateProjectDataCacheContentHintProjectsType; + storeId: string; +}; + +export const UpdateProjectDataCacheContentHintType = { + RedisRestApiUrl: "redis-rest-api-url", +} as const; +export type UpdateProjectDataCacheContentHintType = ClosedEnum< + typeof UpdateProjectDataCacheContentHintType +>; + +export type ContentHint2 = { + type: UpdateProjectDataCacheContentHintType; + storeId: string; +}; + +export const ContentHintType = { + RedisUrl: "redis-url", +} as const; +export type ContentHintType = ClosedEnum; + +export type ContentHint1 = { + type: ContentHintType; + storeId: string; +}; + +export type ContentHint = + | ContentHint1 + | ContentHint2 + | ContentHint3 + | ContentHint4 + | ContentHint5 + | ContentHint6 + | ContentHint7 + | ContentHint8 + | ContentHint9 + | ContentHint10 + | UpdateProjectDataCacheContentHint11 + | Twelve + | Thirteen + | Fifteen + | Fourteen; + +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType = + { + FlagsSecret: "flags-secret", + } as const; +export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType + >; + +/** + * Similar to `contentHints`, but should not be exposed to the user. + */ +export type InternalContentHint = { + type: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType; + /** + * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. + */ + encryptedValue: string; +}; + +export type Env = { + target?: + | Array + | UpdateProjectDataCacheTarget2 + | undefined; + type: UpdateProjectDataCacheProjectsResponse200Type; + /** + * This is used to identiy variables that have been migrated from type secret to sensitive. + */ + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | ContentHint1 + | ContentHint2 + | ContentHint3 + | ContentHint4 + | ContentHint5 + | ContentHint6 + | ContentHint7 + | ContentHint8 + | ContentHint9 + | ContentHint10 + | UpdateProjectDataCacheContentHint11 + | Twelve + | Thirteen + | Fifteen + | Fourteen + | null + | undefined; + /** + * Similar to `contentHints`, but should not be exposed to the user. + */ + internalContentHint?: InternalContentHint | null | undefined; + /** + * Whether `value` and `vsmValue` are decrypted. + */ + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +export type CustomEnvironments = {}; + +export const UpdateProjectDataCacheFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + Astro: "astro", + Hexo: "hexo", + Eleventy: "eleventy", + Docusaurus2: "docusaurus-2", + Docusaurus: "docusaurus", + Preact: "preact", + Solidstart1: "solidstart-1", + Solidstart: "solidstart", + Dojo: "dojo", + Ember: "ember", + Vue: "vue", + Scully: "scully", + IonicAngular: "ionic-angular", + Angular: "angular", + Polymer: "polymer", + Svelte: "svelte", + Sveltekit: "sveltekit", + Sveltekit1: "sveltekit-1", + IonicReact: "ionic-react", + CreateReactApp: "create-react-app", + Gridsome: "gridsome", + Umijs: "umijs", + Sapper: "sapper", + Saber: "saber", + Stencil: "stencil", + Nuxtjs: "nuxtjs", + Redwoodjs: "redwoodjs", + Hugo: "hugo", + Jekyll: "jekyll", + Brunch: "brunch", + Middleman: "middleman", + Zola: "zola", + Hydrogen: "hydrogen", + Vite: "vite", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", +} as const; +export type UpdateProjectDataCacheFramework = ClosedEnum< + typeof UpdateProjectDataCacheFramework +>; + +export type IpBuckets = { + bucket: string; + supportUntil?: number | undefined; +}; + +export type AliasAssigned = number | boolean; + +export type UpdateProjectDataCacheProjectsAliasError = { + code: string; + message: string; +}; + +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType = { + EndsWith: "endsWith", + StartsWith: "startsWith", + Equals: "equals", +} as const; +export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONType = + ClosedEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONType + >; + +export type BranchMatcher = { + type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONType; + pattern: string; +}; + +export type UpdateProjectDataCacheProjectsBuilds = { + use: string; + src?: string | undefined; + dest?: string | undefined; +}; + +export const UpdateProjectDataCacheProjectsChecksConclusion = { + Succeeded: "succeeded", + Failed: "failed", + Skipped: "skipped", + Canceled: "canceled", +} as const; +export type UpdateProjectDataCacheProjectsChecksConclusion = ClosedEnum< + typeof UpdateProjectDataCacheProjectsChecksConclusion +>; + +export const UpdateProjectDataCacheProjectsChecksState = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +export type UpdateProjectDataCacheProjectsChecksState = ClosedEnum< + typeof UpdateProjectDataCacheProjectsChecksState +>; + +export type UpdateProjectDataCacheProjectsCreator = { + email: string; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; + uid: string; + username: string; +}; + +export type UpdateProjectDataCacheProjectsOidcTokenClaims = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + ownerId: string; + project: string; + projectId: string; + environment: string; +}; + +export const UpdateProjectDataCacheProjectsPlan = { + Pro: "pro", + Enterprise: "enterprise", + Hobby: "hobby", +} as const; +export type UpdateProjectDataCacheProjectsPlan = ClosedEnum< + typeof UpdateProjectDataCacheProjectsPlan +>; + +export const UpdateProjectDataCacheProjectsReadyState = { + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Queued: "QUEUED", + Ready: "READY", + Canceled: "CANCELED", +} as const; +export type UpdateProjectDataCacheProjectsReadyState = ClosedEnum< + typeof UpdateProjectDataCacheProjectsReadyState +>; + +export const UpdateProjectDataCacheProjectsReadySubstate = { + Staged: "STAGED", + Promoted: "PROMOTED", +} as const; +export type UpdateProjectDataCacheProjectsReadySubstate = ClosedEnum< + typeof UpdateProjectDataCacheProjectsReadySubstate +>; + +export const UpdateProjectDataCacheType = { + Lambdas: "LAMBDAS", +} as const; +export type UpdateProjectDataCacheType = ClosedEnum< + typeof UpdateProjectDataCacheType +>; + +export type LatestDeployments = { + id: string; + alias?: Array | undefined; + aliasAssigned?: number | boolean | null | undefined; + aliasError?: UpdateProjectDataCacheProjectsAliasError | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + branchMatcher?: BranchMatcher | undefined; + buildingAt?: number | undefined; + builds?: Array | undefined; + checksConclusion?: UpdateProjectDataCacheProjectsChecksConclusion | undefined; + checksState?: UpdateProjectDataCacheProjectsChecksState | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdAt: number; + createdIn: string; + creator: UpdateProjectDataCacheProjectsCreator | null; + deletedAt?: number | undefined; + deploymentHostname: string; + forced?: boolean | undefined; + name: string; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + oidcTokenClaims?: UpdateProjectDataCacheProjectsOidcTokenClaims | undefined; + plan: UpdateProjectDataCacheProjectsPlan; + /** + * Whether or not preview comments are enabled for the deployment + */ + previewCommentsEnabled?: boolean | undefined; + private: boolean; + readyAt?: number | undefined; + readyState: UpdateProjectDataCacheProjectsReadyState; + readySubstate?: UpdateProjectDataCacheProjectsReadySubstate | undefined; + requestedAt?: number | undefined; + target?: string | null | undefined; + teamId?: string | null | undefined; + type: UpdateProjectDataCacheType; + url: string; + userId: string; + withCache?: boolean | undefined; +}; + +export const UpdateProjectDataCacheLinkProjectsType = { + Bitbucket: "bitbucket", +} as const; +export type UpdateProjectDataCacheLinkProjectsType = ClosedEnum< + typeof UpdateProjectDataCacheLinkProjectsType +>; + +export type UpdateProjectDataCacheLinkDeployHooks = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +export type Link3 = { + name?: string | undefined; + slug?: string | undefined; + owner?: string | undefined; + type?: UpdateProjectDataCacheLinkProjectsType | undefined; + uuid?: string | undefined; + workspaceUuid?: string | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +export const UpdateProjectDataCacheLinkType = { + Gitlab: "gitlab", +} as const; +export type UpdateProjectDataCacheLinkType = ClosedEnum< + typeof UpdateProjectDataCacheLinkType +>; + +export type LinkDeployHooks = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +export type Link2 = { + projectId?: string | undefined; + projectName?: string | undefined; + projectNameWithNamespace?: string | undefined; + projectNamespace?: string | undefined; + /** + * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. This is the id of the top level group that a namespace belongs to. Gitlab supports group nesting (up to 20 levels). + */ + projectOwnerId?: number | undefined; + projectUrl?: string | undefined; + type?: UpdateProjectDataCacheLinkType | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +export const LinkType = { + Github: "github", +} as const; +export type LinkType = ClosedEnum; + +export type DeployHooks = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +export type Link1 = { + org?: string | undefined; + /** + * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. + */ + repoOwnerId?: number | undefined; + repo?: string | undefined; + repoId?: number | undefined; + type?: LinkType | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +export type Link = Link1 | Link3 | Link2; + +export type Microfrontends = { + /** + * Timestamp when the microfrontends settings were last updated. + */ + updatedAt: number; + /** + * The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. + */ + groupIds: Array; + /** + * Whether microfrontends are enabled for this project. + */ + enabled: boolean; + /** + * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. + */ + isDefaultApp?: boolean | undefined; + /** + * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. + */ + defaultRoute?: string | undefined; +}; + +export const UpdateProjectDataCacheNodeVersion = { + TwentyTwoX: "22.x", + TwentyX: "20.x", + EighteenX: "18.x", + SixteenX: "16.x", + FourteenX: "14.x", + TwelveX: "12.x", + TenX: "10.x", + Eight10X: "8.10.x", +} as const; +export type UpdateProjectDataCacheNodeVersion = ClosedEnum< + typeof UpdateProjectDataCacheNodeVersion +>; + +export type UpdateProjectDataCachePaths = { + value: string; +}; + +export type UpdateProjectDataCacheOptionsAllowlist = { + paths: Array; +}; + +export type UpdateProjectDataCachePasswordProtection = {}; + +export const FunctionDefaultMemoryType = { + StandardLegacy: "standard_legacy", + Standard: "standard", + Performance: "performance", +} as const; +export type FunctionDefaultMemoryType = ClosedEnum< + typeof FunctionDefaultMemoryType +>; + +export type UpdateProjectDataCacheResourceConfig = { + functionDefaultTimeout?: number | undefined; + functionDefaultMemoryType?: FunctionDefaultMemoryType | undefined; + allowServerlessConcurrency?: boolean | undefined; + elasticConcurrencyEnabled?: boolean | undefined; +}; + +export const UpdateProjectDataCacheDeploymentType = { + Preview: "preview", + All: "all", + ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", +} as const; +export type UpdateProjectDataCacheDeploymentType = ClosedEnum< + typeof UpdateProjectDataCacheDeploymentType +>; + +export type UpdateProjectDataCacheSsoProtection = { + deploymentType: UpdateProjectDataCacheDeploymentType; +}; + +export type UpdateProjectDataCacheAliasAssigned = number | boolean; + +export type UpdateProjectDataCacheAliasError = { + code: string; + message: string; +}; + +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType = + { + EndsWith: "endsWith", + StartsWith: "startsWith", + Equals: "equals", + } as const; +export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType = + ClosedEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType + >; + +export type UpdateProjectDataCacheBranchMatcher = { + type: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType; + pattern: string; +}; + +export type UpdateProjectDataCacheBuilds = { + use: string; + src?: string | undefined; + dest?: string | undefined; +}; + +export const UpdateProjectDataCacheChecksConclusion = { + Succeeded: "succeeded", + Failed: "failed", + Skipped: "skipped", + Canceled: "canceled", +} as const; +export type UpdateProjectDataCacheChecksConclusion = ClosedEnum< + typeof UpdateProjectDataCacheChecksConclusion +>; + +export const UpdateProjectDataCacheChecksState = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +export type UpdateProjectDataCacheChecksState = ClosedEnum< + typeof UpdateProjectDataCacheChecksState +>; + +export type UpdateProjectDataCacheCreator = { + email: string; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; + uid: string; + username: string; +}; + +export type UpdateProjectDataCacheOidcTokenClaims = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + ownerId: string; + project: string; + projectId: string; + environment: string; +}; + +export const UpdateProjectDataCachePlan = { + Pro: "pro", + Enterprise: "enterprise", + Hobby: "hobby", +} as const; +export type UpdateProjectDataCachePlan = ClosedEnum< + typeof UpdateProjectDataCachePlan +>; + +export const UpdateProjectDataCacheReadyState = { + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Queued: "QUEUED", + Ready: "READY", + Canceled: "CANCELED", +} as const; +export type UpdateProjectDataCacheReadyState = ClosedEnum< + typeof UpdateProjectDataCacheReadyState +>; + +export const UpdateProjectDataCacheReadySubstate = { + Staged: "STAGED", + Promoted: "PROMOTED", +} as const; +export type UpdateProjectDataCacheReadySubstate = ClosedEnum< + typeof UpdateProjectDataCacheReadySubstate +>; + +export const UpdateProjectDataCacheProjectsType = { + Lambdas: "LAMBDAS", +} as const; +export type UpdateProjectDataCacheProjectsType = ClosedEnum< + typeof UpdateProjectDataCacheProjectsType +>; + +export type Targets = { + id: string; + alias?: Array | undefined; + aliasAssigned?: number | boolean | null | undefined; + aliasError?: UpdateProjectDataCacheAliasError | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + branchMatcher?: UpdateProjectDataCacheBranchMatcher | undefined; + buildingAt?: number | undefined; + builds?: Array | undefined; + checksConclusion?: UpdateProjectDataCacheChecksConclusion | undefined; + checksState?: UpdateProjectDataCacheChecksState | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdAt: number; + createdIn: string; + creator: UpdateProjectDataCacheCreator | null; + deletedAt?: number | undefined; + deploymentHostname: string; + forced?: boolean | undefined; + name: string; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + oidcTokenClaims?: UpdateProjectDataCacheOidcTokenClaims | undefined; + plan: UpdateProjectDataCachePlan; + /** + * Whether or not preview comments are enabled for the deployment + */ + previewCommentsEnabled?: boolean | undefined; + private: boolean; + readyAt?: number | undefined; + readyState: UpdateProjectDataCacheReadyState; + readySubstate?: UpdateProjectDataCacheReadySubstate | undefined; + requestedAt?: number | undefined; + target?: string | null | undefined; + teamId?: string | null | undefined; + type: UpdateProjectDataCacheProjectsType; + url: string; + userId: string; + withCache?: boolean | undefined; +}; + +export type Permissions = { + accessGroup?: Array | undefined; + aliasGlobal?: Array | undefined; + analyticsSampling?: Array | undefined; + analyticsUsage?: Array | undefined; + auditLog?: Array | undefined; + billingAddress?: Array | undefined; + billingInformation?: Array | undefined; + billingInvoice?: Array | undefined; + billingInvoiceEmailRecipient?: Array | undefined; + billingInvoiceLanguage?: Array | undefined; + billingPlan?: Array | undefined; + billingPurchaseOrder?: Array | undefined; + billingTaxId?: Array | undefined; + blob?: Array | undefined; + budget?: Array | undefined; + cacheArtifact?: Array | undefined; + cacheArtifactUsageEvent?: Array | undefined; + codeChecks?: Array | undefined; + concurrentBuilds?: Array | undefined; + connect?: Array | undefined; + connectConfiguration?: Array | undefined; + domain?: Array | undefined; + domainAcceptDelegation?: Array | undefined; + domainAuthCodes?: Array | undefined; + domainCertificate?: Array | undefined; + domainCheckConfig?: Array | undefined; + domainMove?: Array | undefined; + domainPurchase?: Array | undefined; + domainRecord?: Array | undefined; + domainTransferIn?: Array | undefined; + event?: Array | undefined; + ownEvent?: Array | undefined; + sensitiveEnvironmentVariablePolicy?: Array | undefined; + fileUpload?: Array | undefined; + gitRepository?: Array | undefined; + ipBlocking?: Array | undefined; + integration?: Array | undefined; + integrationAccount?: Array | undefined; + integrationConfiguration?: Array | undefined; + integrationConfigurationTransfer?: Array | undefined; + integrationConfigurationProjects?: Array | undefined; + integrationVercelConfigurationOverride?: Array | undefined; + integrationConfigurationRole?: Array | undefined; + integrationResource?: Array | undefined; + integrationEvent?: Array | undefined; + integrationResourceSecrets?: Array | undefined; + integrationDeploymentAction?: Array | undefined; + marketplaceInstallationMember?: Array | undefined; + marketplaceBillingData?: Array | undefined; + marketplaceInvoice?: Array | undefined; + jobGlobal?: Array | undefined; + logDrain?: Array | undefined; + monitoring?: Array | undefined; + monitoringSettings?: Array | undefined; + monitoringQuery?: Array | undefined; + monitoringChart?: Array | undefined; + monitoringAlert?: Array | undefined; + notificationDeploymentFailed?: Array | undefined; + notificationDomainConfiguration?: Array | undefined; + notificationDomainExpire?: Array | undefined; + notificationDomainMoved?: Array | undefined; + notificationDomainPurchase?: Array | undefined; + notificationDomainRenewal?: Array | undefined; + notificationDomainTransfer?: Array | undefined; + notificationDomainUnverified?: Array | undefined; + notificationMonitoringAlert?: Array | undefined; + notificationPaymentFailed?: Array | undefined; + notificationUsageAlert?: Array | undefined; + notificationCustomerBudget?: Array | undefined; + notificationStatementOfReasons?: Array | undefined; + oauth2Connection?: Array | undefined; + observabilityConfiguration?: Array | undefined; + openTelemetryEndpoint?: Array | undefined; + paymentMethod?: Array | undefined; + permissions?: Array | undefined; + postgres?: Array | undefined; + previewDeploymentSuffix?: Array | undefined; + proTrialOnboarding?: Array | undefined; + sharedEnvVars?: Array | undefined; + sharedEnvVarsProduction?: Array | undefined; + space?: Array | undefined; + spaceRun?: Array | undefined; + passwordProtectionInvoiceItem?: Array | undefined; + rateLimit?: Array | undefined; + redis?: Array | undefined; + repository?: Array | undefined; + remoteCaching?: Array | undefined; + samlConfig?: Array | undefined; + secret?: Array | undefined; + redisStoreTokenSet?: Array | undefined; + blobStoreTokenSet?: Array | undefined; + postgresStoreTokenSet?: Array | undefined; + integrationStoreTokenSet?: Array | undefined; + integrationResourceReplCommand?: Array | undefined; + storeTransfer?: Array | undefined; + supportCase?: Array | undefined; + supportCaseComment?: Array | undefined; + dataCacheBillingSettings?: Array | undefined; + team?: Array | undefined; + teamAccessRequest?: Array | undefined; + teamFellowMembership?: Array | undefined; + teamGitExclusivity?: Array | undefined; + teamInvite?: Array | undefined; + teamInviteCode?: Array | undefined; + teamJoin?: Array | undefined; + teamMicrofrontends?: Array | undefined; + teamOwnMembership?: Array | undefined; + teamOwnMembershipDisconnectSAML?: Array | undefined; + token?: Array | undefined; + usage?: Array | undefined; + usageCycle?: Array | undefined; + user?: Array | undefined; + userConnection?: Array | undefined; + vpcPeeringConnection?: Array | undefined; + webAnalyticsPlan?: Array | undefined; + webAuthn?: Array | undefined; + edgeConfig?: Array | undefined; + edgeConfigItem?: Array | undefined; + edgeConfigSchema?: Array | undefined; + edgeConfigToken?: Array | undefined; + webhook?: Array | undefined; + webhookEvent?: Array | undefined; + endpointVerification?: Array | undefined; + projectTransferIn?: Array | undefined; + oauth2Application?: Array | undefined; + aliasProject?: Array | undefined; + aliasProtectionBypass?: Array | undefined; + productionAliasProtectionBypass?: Array | undefined; + connectConfigurationLink?: Array | undefined; + dataCacheNamespace?: Array | undefined; + deployment?: Array | undefined; + deploymentCheck?: Array | undefined; + deploymentCheckPreview?: Array | undefined; + deploymentCheckReRunFromProductionBranch?: Array | undefined; + deploymentProductionGit?: Array | undefined; + deploymentV0?: Array | undefined; + deploymentPreview?: Array | undefined; + deploymentPrivate?: Array | undefined; + deploymentPromote?: Array | undefined; + deploymentRollback?: Array | undefined; + environments?: Array | undefined; + logs?: Array | undefined; + logsPreset?: Array | undefined; + passwordProtection?: Array | undefined; + optionsAllowlist?: Array | undefined; + job?: Array | undefined; + observabilityData?: Array | undefined; + project?: Array | undefined; + projectFromV0?: Array | undefined; + projectAccessGroup?: Array | undefined; + projectAnalyticsSampling?: Array | undefined; + projectDeploymentHook?: Array | undefined; + projectDomain?: Array | undefined; + projectDomainMove?: Array | undefined; + projectDomainCheckConfig?: Array | undefined; + projectEnvVars?: Array | undefined; + projectEnvVarsProduction?: Array | undefined; + projectEnvVarsUnownedByIntegration?: Array | undefined; + projectFlags?: Array | undefined; + projectId?: Array | undefined; + projectIntegrationConfiguration?: Array | undefined; + projectLink?: Array | undefined; + projectMember?: Array | undefined; + projectMonitoring?: Array | undefined; + projectPermissions?: Array | undefined; + projectProductionBranch?: Array | undefined; + projectTransfer?: Array | undefined; + projectTransferOut?: Array | undefined; + projectProtectionBypass?: Array | undefined; + projectUsage?: Array | undefined; + projectAnalyticsUsage?: Array | undefined; + projectSupportCase?: Array | undefined; + projectSupportCaseComment?: Array | undefined; + projectDeploymentExpiration?: Array | undefined; + projectTier?: Array | undefined; + seawallConfig?: Array | undefined; + skewProtection?: Array | undefined; + analytics?: Array | undefined; + trustedIps?: Array | undefined; + webAnalytics?: Array | undefined; + sharedEnvVarConnection?: Array | undefined; + sonar?: Array | undefined; +}; + +export type LastRollbackTarget = {}; + +export const JobStatus = { + Succeeded: "succeeded", + Failed: "failed", + Skipped: "skipped", + Pending: "pending", + InProgress: "in-progress", +} as const; +export type JobStatus = ClosedEnum; + +export const UpdateProjectDataCacheProjectsResponseType = { + Promote: "promote", + Rollback: "rollback", +} as const; +export type UpdateProjectDataCacheProjectsResponseType = ClosedEnum< + typeof UpdateProjectDataCacheProjectsResponseType +>; + +export type LastAliasRequest = { + fromDeploymentId: string; + toDeploymentId: string; + jobStatus: JobStatus; + requestedAt: number; + type: UpdateProjectDataCacheProjectsResponseType; +}; + +export const Scope = { + AutomationBypass: "automation-bypass", +} as const; +export type Scope = ClosedEnum; + +export type ProtectionBypass = { + createdAt: number; + createdBy: string; + scope: Scope; +}; + +export const UpdateProjectDataCacheTrustedIpsDeploymentType = { + Production: "production", + Preview: "preview", + All: "all", + ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", +} as const; +export type UpdateProjectDataCacheTrustedIpsDeploymentType = ClosedEnum< + typeof UpdateProjectDataCacheTrustedIpsDeploymentType +>; + +export type TrustedIps2 = { + deploymentType: UpdateProjectDataCacheTrustedIpsDeploymentType; +}; + +export const TrustedIpsDeploymentType = { + Production: "production", + Preview: "preview", + All: "all", + ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", +} as const; +export type TrustedIpsDeploymentType = ClosedEnum< + typeof TrustedIpsDeploymentType +>; + +export type UpdateProjectDataCacheTrustedIpsAddresses = { + value: string; + note?: string | undefined; +}; + +export const UpdateProjectDataCacheTrustedIpsProtectionMode = { + Additional: "additional", + Exclusive: "exclusive", +} as const; +export type UpdateProjectDataCacheTrustedIpsProtectionMode = ClosedEnum< + typeof UpdateProjectDataCacheTrustedIpsProtectionMode +>; + +export type TrustedIps1 = { + deploymentType: TrustedIpsDeploymentType; + addresses: Array; + protectionMode: UpdateProjectDataCacheTrustedIpsProtectionMode; +}; + +export type UpdateProjectDataCacheTrustedIps = TrustedIps2 | TrustedIps1; + +export type GitComments = { + /** + * Whether the Vercel bot should comment on PRs + */ + onPullRequest: boolean; + /** + * Whether the Vercel bot should comment on commits + */ + onCommit: boolean; +}; + +export type UpdateProjectDataCacheWebAnalytics = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; +}; + +export type Src2 = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +export type Src = Src2 | string; + +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType = + { + Path: "path", + Host: "host", + Method: "method", + Header: "header", + Cookie: "cookie", + Query: "query", + IpAddress: "ip_address", + Protocol: "protocol", + Scheme: "scheme", + Environment: "environment", + Region: "region", + InitialRequestPath: "initial_request_path", + } as const; +export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType = + ClosedEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType + >; + +export type UpdateProjectDataCacheValueProjects2 = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +export type UpdateProjectDataCacheProjectsValue = + | UpdateProjectDataCacheValueProjects2 + | string; + +export type Has = { + type: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType; + key?: string | undefined; + value?: UpdateProjectDataCacheValueProjects2 | string | undefined; +}; + +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = + { + Path: "path", + Host: "host", + Method: "method", + Header: "header", + Cookie: "cookie", + Query: "query", + IpAddress: "ip_address", + Protocol: "protocol", + Scheme: "scheme", + Environment: "environment", + Region: "region", + InitialRequestPath: "initial_request_path", + } as const; +export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = + ClosedEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType + >; + +export type UpdateProjectDataCacheValue2 = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +export type UpdateProjectDataCacheValue = UpdateProjectDataCacheValue2 | string; + +export type Missing = { + type: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType; + key?: string | undefined; + value?: UpdateProjectDataCacheValue2 | string | undefined; +}; + +export const Handle = { + Init: "init", + Finalize: "finalize", +} as const; +export type Handle = ClosedEnum; + +export const UpdateProjectDataCacheAction = { + Deny: "deny", + Challenge: "challenge", + Log: "log", + Bypass: "bypass", + RateLimit: "rate_limit", + Redirect: "redirect", +} as const; +export type UpdateProjectDataCacheAction = ClosedEnum< + typeof UpdateProjectDataCacheAction +>; + +export const UpdateProjectDataCacheAlgo = { + FixedWindow: "fixed_window", + TokenBucket: "token_bucket", +} as const; +export type UpdateProjectDataCacheAlgo = ClosedEnum< + typeof UpdateProjectDataCacheAlgo +>; + +export type Erl = { + algo: UpdateProjectDataCacheAlgo; + window: number; + limit: number; + keys: Array; +}; + +export type UpdateProjectDataCacheMitigate = { + action: UpdateProjectDataCacheAction; + ruleId: string; + ttl?: number | undefined; + erl?: Erl | undefined; +}; + +export type FirewallRoutes = { + src?: Src2 | string | undefined; + has?: Array | undefined; + missing?: Array | undefined; + dest?: string | undefined; + status?: number | undefined; + handle?: Handle | undefined; + mitigate?: UpdateProjectDataCacheMitigate | undefined; +}; + +export type UpdateProjectDataCacheSecurity = { + attackModeEnabled?: boolean | undefined; + attackModeUpdatedAt?: number | undefined; + firewallEnabled?: boolean | undefined; + firewallUpdatedAt?: number | undefined; + attackModeActiveUntil?: number | null | undefined; + firewallConfigVersion?: number | undefined; + firewallRoutes?: Array | undefined; + firewallSeawallEnabled?: boolean | undefined; + ja3Enabled?: boolean | undefined; + ja4Enabled?: boolean | undefined; + firewallBypassIps?: Array | undefined; +}; + +/** + * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` + */ +export const UpdateProjectDataCacheIssuerMode = { + Team: "team", + Global: "global", +} as const; +/** + * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` + */ +export type UpdateProjectDataCacheIssuerMode = ClosedEnum< + typeof UpdateProjectDataCacheIssuerMode +>; + +export type UpdateProjectDataCacheOidcTokenConfig = { + enabled: boolean; + /** + * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` + */ + issuerMode?: UpdateProjectDataCacheIssuerMode | undefined; +}; + +export const Tier = { + Standard: "standard", + Advanced: "advanced", + Critical: "critical", +} as const; +export type Tier = ClosedEnum; + +export type UpdateProjectDataCacheResponseBody = { + accountId: string; + analytics?: Analytics | undefined; + speedInsights?: SpeedInsights | undefined; + autoExposeSystemEnvs?: boolean | undefined; + autoAssignCustomDomains?: boolean | undefined; + autoAssignCustomDomainsUpdatedBy?: string | undefined; + buildCommand?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + connectConfigurationId?: string | null | undefined; + connectBuildsEnabled?: boolean | undefined; + createdAt?: number | undefined; + customerSupportCodeVisibility?: boolean | undefined; + crons?: Crons | undefined; + dataCache?: UpdateProjectDataCacheDataCache | undefined; + deploymentExpiration?: DeploymentExpiration | null | undefined; + devCommand?: string | null | undefined; + directoryListing: boolean; + installCommand?: string | null | undefined; + env?: Array | undefined; + customEnvironments?: Array | undefined; + framework?: UpdateProjectDataCacheFramework | null | undefined; + gitForkProtection?: boolean | undefined; + gitLFS?: boolean | undefined; + id: string; + ipBuckets?: Array | undefined; + latestDeployments?: Array | undefined; + link?: Link1 | Link3 | Link2 | undefined; + microfrontends?: Microfrontends | undefined; + name: string; + nodeVersion: UpdateProjectDataCacheNodeVersion; + optionsAllowlist?: UpdateProjectDataCacheOptionsAllowlist | null | undefined; + outputDirectory?: string | null | undefined; + passiveConnectConfigurationId?: string | null | undefined; + passwordProtection?: + | UpdateProjectDataCachePasswordProtection + | null + | undefined; + productionDeploymentsFastLane?: boolean | undefined; + publicSource?: boolean | null | undefined; + resourceConfig?: UpdateProjectDataCacheResourceConfig | undefined; + rootDirectory?: string | null | undefined; + serverlessFunctionRegion?: string | null | undefined; + serverlessFunctionZeroConfigFailover?: boolean | undefined; + skewProtectionBoundaryAt?: number | undefined; + skewProtectionMaxAge?: number | undefined; + skipGitConnectDuringLink?: boolean | undefined; + sourceFilesOutsideRootDirectory?: boolean | undefined; + enableAffectedProjectsDeployments?: boolean | undefined; + ssoProtection?: UpdateProjectDataCacheSsoProtection | null | undefined; + targets?: { [k: string]: Targets } | undefined; + transferCompletedAt?: number | undefined; + transferStartedAt?: number | undefined; + transferToAccountId?: string | undefined; + transferredFromAccountId?: string | undefined; + updatedAt?: number | undefined; + live?: boolean | undefined; + enablePreviewFeedback?: boolean | null | undefined; + enableProductionFeedback?: boolean | null | undefined; + permissions?: Permissions | undefined; + lastRollbackTarget?: LastRollbackTarget | null | undefined; + lastAliasRequest?: LastAliasRequest | null | undefined; + hasFloatingAliases?: boolean | undefined; + protectionBypass?: { [k: string]: ProtectionBypass } | undefined; + hasActiveBranches?: boolean | undefined; + trustedIps?: TrustedIps2 | TrustedIps1 | null | undefined; + gitComments?: GitComments | undefined; + paused?: boolean | undefined; + concurrencyBucketName?: string | undefined; + webAnalytics?: UpdateProjectDataCacheWebAnalytics | undefined; + security?: UpdateProjectDataCacheSecurity | undefined; + oidcTokenConfig?: UpdateProjectDataCacheOidcTokenConfig | undefined; + tier?: Tier | undefined; +}; + +/** @internal */ +export const UpdateProjectDataCacheRequestBody$inboundSchema: z.ZodType< + UpdateProjectDataCacheRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + disabled: z.boolean().optional(), +}); + +/** @internal */ +export type UpdateProjectDataCacheRequestBody$Outbound = { + disabled?: boolean | undefined; +}; + +/** @internal */ +export const UpdateProjectDataCacheRequestBody$outboundSchema: z.ZodType< + UpdateProjectDataCacheRequestBody$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheRequestBody +> = z.object({ + disabled: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheRequestBody$ { + /** @deprecated use `UpdateProjectDataCacheRequestBody$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheRequestBody$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheRequestBody$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheRequestBody$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheRequestBody$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheRequestBody$Outbound; +} + +export function updateProjectDataCacheRequestBodyToJSON( + updateProjectDataCacheRequestBody: UpdateProjectDataCacheRequestBody, +): string { + return JSON.stringify( + UpdateProjectDataCacheRequestBody$outboundSchema.parse( + updateProjectDataCacheRequestBody, + ), + ); +} + +export function updateProjectDataCacheRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDataCacheRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheRequest$inboundSchema: z.ZodType< + UpdateProjectDataCacheRequest, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => UpdateProjectDataCacheRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UpdateProjectDataCacheRequest$Outbound = { + projectId: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: UpdateProjectDataCacheRequestBody$Outbound; +}; + +/** @internal */ +export const UpdateProjectDataCacheRequest$outboundSchema: z.ZodType< + UpdateProjectDataCacheRequest$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheRequest +> = z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateProjectDataCacheRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheRequest$ { + /** @deprecated use `UpdateProjectDataCacheRequest$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheRequest$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheRequest$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheRequest$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheRequest$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheRequest$Outbound; +} + +export function updateProjectDataCacheRequestToJSON( + updateProjectDataCacheRequest: UpdateProjectDataCacheRequest, +): string { + return JSON.stringify( + UpdateProjectDataCacheRequest$outboundSchema.parse( + updateProjectDataCacheRequest, + ), + ); +} + +export function updateProjectDataCacheRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDataCacheRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheRequest' from JSON`, + ); +} + +/** @internal */ +export const Analytics$inboundSchema: z.ZodType< + Analytics, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + canceledAt: z.nullable(z.number()).optional(), + disabledAt: z.number(), + enabledAt: z.number(), + paidAt: z.number().optional(), + sampleRatePercent: z.nullable(z.number()).optional(), + spendLimitInDollars: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type Analytics$Outbound = { + id: string; + canceledAt?: number | null | undefined; + disabledAt: number; + enabledAt: number; + paidAt?: number | undefined; + sampleRatePercent?: number | null | undefined; + spendLimitInDollars?: number | null | undefined; +}; + +/** @internal */ +export const Analytics$outboundSchema: z.ZodType< + Analytics$Outbound, + z.ZodTypeDef, + Analytics +> = z.object({ + id: z.string(), + canceledAt: z.nullable(z.number()).optional(), + disabledAt: z.number(), + enabledAt: z.number(), + paidAt: z.number().optional(), + sampleRatePercent: z.nullable(z.number()).optional(), + spendLimitInDollars: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Analytics$ { + /** @deprecated use `Analytics$inboundSchema` instead. */ + export const inboundSchema = Analytics$inboundSchema; + /** @deprecated use `Analytics$outboundSchema` instead. */ + export const outboundSchema = Analytics$outboundSchema; + /** @deprecated use `Analytics$Outbound` instead. */ + export type Outbound = Analytics$Outbound; +} + +export function analyticsToJSON(analytics: Analytics): string { + return JSON.stringify(Analytics$outboundSchema.parse(analytics)); +} + +export function analyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Analytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Analytics' from JSON`, + ); +} + +/** @internal */ +export const SpeedInsights$inboundSchema: z.ZodType< + SpeedInsights, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + enabledAt: z.number().optional(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + hasData: z.boolean().optional(), + paidAt: z.number().optional(), +}); + +/** @internal */ +export type SpeedInsights$Outbound = { + id: string; + enabledAt?: number | undefined; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + hasData?: boolean | undefined; + paidAt?: number | undefined; +}; + +/** @internal */ +export const SpeedInsights$outboundSchema: z.ZodType< + SpeedInsights$Outbound, + z.ZodTypeDef, + SpeedInsights +> = z.object({ + id: z.string(), + enabledAt: z.number().optional(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + hasData: z.boolean().optional(), + paidAt: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SpeedInsights$ { + /** @deprecated use `SpeedInsights$inboundSchema` instead. */ + export const inboundSchema = SpeedInsights$inboundSchema; + /** @deprecated use `SpeedInsights$outboundSchema` instead. */ + export const outboundSchema = SpeedInsights$outboundSchema; + /** @deprecated use `SpeedInsights$Outbound` instead. */ + export type Outbound = SpeedInsights$Outbound; +} + +export function speedInsightsToJSON(speedInsights: SpeedInsights): string { + return JSON.stringify(SpeedInsights$outboundSchema.parse(speedInsights)); +} + +export function speedInsightsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SpeedInsights$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const Definitions$inboundSchema: z.ZodType< + Definitions, + z.ZodTypeDef, + unknown +> = z.object({ + host: z.string(), + path: z.string(), + schedule: z.string(), +}); + +/** @internal */ +export type Definitions$Outbound = { + host: string; + path: string; + schedule: string; +}; + +/** @internal */ +export const Definitions$outboundSchema: z.ZodType< + Definitions$Outbound, + z.ZodTypeDef, + Definitions +> = z.object({ + host: z.string(), + path: z.string(), + schedule: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Definitions$ { + /** @deprecated use `Definitions$inboundSchema` instead. */ + export const inboundSchema = Definitions$inboundSchema; + /** @deprecated use `Definitions$outboundSchema` instead. */ + export const outboundSchema = Definitions$outboundSchema; + /** @deprecated use `Definitions$Outbound` instead. */ + export type Outbound = Definitions$Outbound; +} + +export function definitionsToJSON(definitions: Definitions): string { + return JSON.stringify(Definitions$outboundSchema.parse(definitions)); +} + +export function definitionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Definitions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Definitions' from JSON`, + ); +} + +/** @internal */ +export const Crons$inboundSchema: z.ZodType = z + .object({ + enabledAt: z.number(), + disabledAt: z.nullable(z.number()), + updatedAt: z.number(), + deploymentId: z.nullable(z.string()), + definitions: z.array(z.lazy(() => Definitions$inboundSchema)), + }); + +/** @internal */ +export type Crons$Outbound = { + enabledAt: number; + disabledAt: number | null; + updatedAt: number; + deploymentId: string | null; + definitions: Array; +}; + +/** @internal */ +export const Crons$outboundSchema: z.ZodType< + Crons$Outbound, + z.ZodTypeDef, + Crons +> = z.object({ + enabledAt: z.number(), + disabledAt: z.nullable(z.number()), + updatedAt: z.number(), + deploymentId: z.nullable(z.string()), + definitions: z.array(z.lazy(() => Definitions$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Crons$ { + /** @deprecated use `Crons$inboundSchema` instead. */ + export const inboundSchema = Crons$inboundSchema; + /** @deprecated use `Crons$outboundSchema` instead. */ + export const outboundSchema = Crons$outboundSchema; + /** @deprecated use `Crons$Outbound` instead. */ + export type Outbound = Crons$Outbound; +} + +export function cronsToJSON(crons: Crons): string { + return JSON.stringify(Crons$outboundSchema.parse(crons)); +} + +export function cronsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Crons$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Crons' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheDataCache$inboundSchema: z.ZodType< + UpdateProjectDataCacheDataCache, + z.ZodTypeDef, + unknown +> = z.object({ + userDisabled: z.boolean(), + storageSizeBytes: z.nullable(z.number()).optional(), + unlimited: z.boolean().optional(), +}); + +/** @internal */ +export type UpdateProjectDataCacheDataCache$Outbound = { + userDisabled: boolean; + storageSizeBytes?: number | null | undefined; + unlimited?: boolean | undefined; +}; + +/** @internal */ +export const UpdateProjectDataCacheDataCache$outboundSchema: z.ZodType< + UpdateProjectDataCacheDataCache$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheDataCache +> = z.object({ + userDisabled: z.boolean(), + storageSizeBytes: z.nullable(z.number()).optional(), + unlimited: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheDataCache$ { + /** @deprecated use `UpdateProjectDataCacheDataCache$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheDataCache$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheDataCache$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheDataCache$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheDataCache$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheDataCache$Outbound; +} + +export function updateProjectDataCacheDataCacheToJSON( + updateProjectDataCacheDataCache: UpdateProjectDataCacheDataCache, +): string { + return JSON.stringify( + UpdateProjectDataCacheDataCache$outboundSchema.parse( + updateProjectDataCacheDataCache, + ), + ); +} + +export function updateProjectDataCacheDataCacheFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDataCacheDataCache$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheDataCache' from JSON`, + ); +} + +/** @internal */ +export const DeploymentExpiration$inboundSchema: z.ZodType< + DeploymentExpiration, + z.ZodTypeDef, + unknown +> = z.object({ + expirationDays: z.number().optional(), + expirationDaysProduction: z.number().optional(), + expirationDaysCanceled: z.number().optional(), + expirationDaysErrored: z.number().optional(), + deploymentsToKeep: z.number().optional(), +}); + +/** @internal */ +export type DeploymentExpiration$Outbound = { + expirationDays?: number | undefined; + expirationDaysProduction?: number | undefined; + expirationDaysCanceled?: number | undefined; + expirationDaysErrored?: number | undefined; + deploymentsToKeep?: number | undefined; +}; + +/** @internal */ +export const DeploymentExpiration$outboundSchema: z.ZodType< + DeploymentExpiration$Outbound, + z.ZodTypeDef, + DeploymentExpiration +> = z.object({ + expirationDays: z.number().optional(), + expirationDaysProduction: z.number().optional(), + expirationDaysCanceled: z.number().optional(), + expirationDaysErrored: z.number().optional(), + deploymentsToKeep: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeploymentExpiration$ { + /** @deprecated use `DeploymentExpiration$inboundSchema` instead. */ + export const inboundSchema = DeploymentExpiration$inboundSchema; + /** @deprecated use `DeploymentExpiration$outboundSchema` instead. */ + export const outboundSchema = DeploymentExpiration$outboundSchema; + /** @deprecated use `DeploymentExpiration$Outbound` instead. */ + export type Outbound = DeploymentExpiration$Outbound; +} + +export function deploymentExpirationToJSON( + deploymentExpiration: DeploymentExpiration, +): string { + return JSON.stringify( + DeploymentExpiration$outboundSchema.parse(deploymentExpiration), + ); +} + +export function deploymentExpirationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeploymentExpiration$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeploymentExpiration' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheTarget2$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheTarget2 +> = z.nativeEnum(UpdateProjectDataCacheTarget2); + +/** @internal */ +export const UpdateProjectDataCacheTarget2$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheTarget2 +> = UpdateProjectDataCacheTarget2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheTarget2$ { + /** @deprecated use `UpdateProjectDataCacheTarget2$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheTarget2$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheTarget2$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheTarget2$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheTarget1$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheTarget1 +> = z.nativeEnum(UpdateProjectDataCacheTarget1); + +/** @internal */ +export const UpdateProjectDataCacheTarget1$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheTarget1 +> = UpdateProjectDataCacheTarget1$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheTarget1$ { + /** @deprecated use `UpdateProjectDataCacheTarget1$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheTarget1$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheTarget1$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheTarget1$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheTarget$inboundSchema: z.ZodType< + UpdateProjectDataCacheTarget, + z.ZodTypeDef, + unknown +> = z.union([ + z.array(UpdateProjectDataCacheTarget1$inboundSchema), + UpdateProjectDataCacheTarget2$inboundSchema, +]); + +/** @internal */ +export type UpdateProjectDataCacheTarget$Outbound = Array | string; + +/** @internal */ +export const UpdateProjectDataCacheTarget$outboundSchema: z.ZodType< + UpdateProjectDataCacheTarget$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheTarget +> = z.union([ + z.array(UpdateProjectDataCacheTarget1$outboundSchema), + UpdateProjectDataCacheTarget2$outboundSchema, +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheTarget$ { + /** @deprecated use `UpdateProjectDataCacheTarget$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheTarget$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheTarget$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheTarget$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheTarget$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheTarget$Outbound; +} + +export function updateProjectDataCacheTargetToJSON( + updateProjectDataCacheTarget: UpdateProjectDataCacheTarget, +): string { + return JSON.stringify( + UpdateProjectDataCacheTarget$outboundSchema.parse( + updateProjectDataCacheTarget, + ), + ); +} + +export function updateProjectDataCacheTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDataCacheTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheTarget' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsResponse200Type$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateProjectDataCacheProjectsResponse200Type); + +/** @internal */ +export const UpdateProjectDataCacheProjectsResponse200Type$outboundSchema: + z.ZodNativeEnum = + UpdateProjectDataCacheProjectsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsResponse200Type$ { + /** @deprecated use `UpdateProjectDataCacheProjectsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheProjectsResponse200Type$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsResponse200Type$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type + > = z.nativeEnum( + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type, + ); + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type + > = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$ { + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema; +} + +/** @internal */ +export const Fifteen$inboundSchema: z.ZodType = + z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema, + projectId: z.string(), + }); + +/** @internal */ +export type Fifteen$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const Fifteen$outboundSchema: z.ZodType< + Fifteen$Outbound, + z.ZodTypeDef, + Fifteen +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Fifteen$ { + /** @deprecated use `Fifteen$inboundSchema` instead. */ + export const inboundSchema = Fifteen$inboundSchema; + /** @deprecated use `Fifteen$outboundSchema` instead. */ + export const outboundSchema = Fifteen$outboundSchema; + /** @deprecated use `Fifteen$Outbound` instead. */ + export type Outbound = Fifteen$Outbound; +} + +export function fifteenToJSON(fifteen: Fifteen): string { + return JSON.stringify(Fifteen$outboundSchema.parse(fifteen)); +} + +export function fifteenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Fifteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Fifteen' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type + > = z.nativeEnum( + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type, + ); + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type + > = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$ { + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema; +} + +/** @internal */ +export const Fourteen$inboundSchema: z.ZodType< + Fourteen, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** @internal */ +export type Fourteen$Outbound = { + type: string; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const Fourteen$outboundSchema: z.ZodType< + Fourteen$Outbound, + z.ZodTypeDef, + Fourteen +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Fourteen$ { + /** @deprecated use `Fourteen$inboundSchema` instead. */ + export const inboundSchema = Fourteen$inboundSchema; + /** @deprecated use `Fourteen$outboundSchema` instead. */ + export const outboundSchema = Fourteen$outboundSchema; + /** @deprecated use `Fourteen$Outbound` instead. */ + export type Outbound = Fourteen$Outbound; +} + +export function fourteenToJSON(fourteen: Fourteen): string { + return JSON.stringify(Fourteen$outboundSchema.parse(fourteen)); +} + +export function fourteenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Fourteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Fourteen' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type + > = z.nativeEnum( + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type, + ); + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type + > = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$ { + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema; +} + +/** @internal */ +export const Thirteen$inboundSchema: z.ZodType< + Thirteen, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type Thirteen$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const Thirteen$outboundSchema: z.ZodType< + Thirteen$Outbound, + z.ZodTypeDef, + Thirteen +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Thirteen$ { + /** @deprecated use `Thirteen$inboundSchema` instead. */ + export const inboundSchema = Thirteen$inboundSchema; + /** @deprecated use `Thirteen$outboundSchema` instead. */ + export const outboundSchema = Thirteen$outboundSchema; + /** @deprecated use `Thirteen$Outbound` instead. */ + export type Outbound = Thirteen$Outbound; +} + +export function thirteenToJSON(thirteen: Thirteen): string { + return JSON.stringify(Thirteen$outboundSchema.parse(thirteen)); +} + +export function thirteenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Thirteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Thirteen' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type + > = z.nativeEnum( + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type, + ); + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type + > = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$ { + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema; +} + +/** @internal */ +export const Twelve$inboundSchema: z.ZodType = z + .object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema, + storeId: z.string(), + }); + +/** @internal */ +export type Twelve$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const Twelve$outboundSchema: z.ZodType< + Twelve$Outbound, + z.ZodTypeDef, + Twelve +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Twelve$ { + /** @deprecated use `Twelve$inboundSchema` instead. */ + export const inboundSchema = Twelve$inboundSchema; + /** @deprecated use `Twelve$outboundSchema` instead. */ + export const outboundSchema = Twelve$outboundSchema; + /** @deprecated use `Twelve$Outbound` instead. */ + export type Outbound = Twelve$Outbound; +} + +export function twelveToJSON(twelve: Twelve): string { + return JSON.stringify(Twelve$outboundSchema.parse(twelve)); +} + +export function twelveFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Twelve$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Twelve' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type + > = z.nativeEnum( + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type, + ); + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type + > = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$ { + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheContentHint11$inboundSchema: z.ZodType< + UpdateProjectDataCacheContentHint11, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type UpdateProjectDataCacheContentHint11$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const UpdateProjectDataCacheContentHint11$outboundSchema: z.ZodType< + UpdateProjectDataCacheContentHint11$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheContentHint11 +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheContentHint11$ { + /** @deprecated use `UpdateProjectDataCacheContentHint11$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheContentHint11$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheContentHint11$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheContentHint11$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheContentHint11$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheContentHint11$Outbound; +} + +export function updateProjectDataCacheContentHint11ToJSON( + updateProjectDataCacheContentHint11: UpdateProjectDataCacheContentHint11, +): string { + return JSON.stringify( + UpdateProjectDataCacheContentHint11$outboundSchema.parse( + updateProjectDataCacheContentHint11, + ), + ); +} + +export function updateProjectDataCacheContentHint11FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheContentHint11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheContentHint11' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type + > = z.nativeEnum( + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type, + ); + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type + > = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$ { + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema; +} + +/** @internal */ +export const ContentHint10$inboundSchema: z.ZodType< + ContentHint10, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type ContentHint10$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const ContentHint10$outboundSchema: z.ZodType< + ContentHint10$Outbound, + z.ZodTypeDef, + ContentHint10 +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHint10$ { + /** @deprecated use `ContentHint10$inboundSchema` instead. */ + export const inboundSchema = ContentHint10$inboundSchema; + /** @deprecated use `ContentHint10$outboundSchema` instead. */ + export const outboundSchema = ContentHint10$outboundSchema; + /** @deprecated use `ContentHint10$Outbound` instead. */ + export type Outbound = ContentHint10$Outbound; +} + +export function contentHint10ToJSON(contentHint10: ContentHint10): string { + return JSON.stringify(ContentHint10$outboundSchema.parse(contentHint10)); +} + +export function contentHint10FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContentHint10$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContentHint10' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type + > = z.nativeEnum( + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type, + ); + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type + > = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$ { + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema; +} + +/** @internal */ +export const ContentHint9$inboundSchema: z.ZodType< + ContentHint9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type ContentHint9$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const ContentHint9$outboundSchema: z.ZodType< + ContentHint9$Outbound, + z.ZodTypeDef, + ContentHint9 +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHint9$ { + /** @deprecated use `ContentHint9$inboundSchema` instead. */ + export const inboundSchema = ContentHint9$inboundSchema; + /** @deprecated use `ContentHint9$outboundSchema` instead. */ + export const outboundSchema = ContentHint9$outboundSchema; + /** @deprecated use `ContentHint9$Outbound` instead. */ + export type Outbound = ContentHint9$Outbound; +} + +export function contentHint9ToJSON(contentHint9: ContentHint9): string { + return JSON.stringify(ContentHint9$outboundSchema.parse(contentHint9)); +} + +export function contentHint9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContentHint9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContentHint9' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType + > = z.nativeEnum( + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType, + ); + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType + > = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$ { + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema; +} + +/** @internal */ +export const ContentHint8$inboundSchema: z.ZodType< + ContentHint8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type ContentHint8$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const ContentHint8$outboundSchema: z.ZodType< + ContentHint8$Outbound, + z.ZodTypeDef, + ContentHint8 +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHint8$ { + /** @deprecated use `ContentHint8$inboundSchema` instead. */ + export const inboundSchema = ContentHint8$inboundSchema; + /** @deprecated use `ContentHint8$outboundSchema` instead. */ + export const outboundSchema = ContentHint8$outboundSchema; + /** @deprecated use `ContentHint8$Outbound` instead. */ + export type Outbound = ContentHint8$Outbound; +} + +export function contentHint8ToJSON(contentHint8: ContentHint8): string { + return JSON.stringify(ContentHint8$outboundSchema.parse(contentHint8)); +} + +export function contentHint8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContentHint8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContentHint8' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType, + ); + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType + > = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$ { + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; +} + +/** @internal */ +export const ContentHint7$inboundSchema: z.ZodType< + ContentHint7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type ContentHint7$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const ContentHint7$outboundSchema: z.ZodType< + ContentHint7$Outbound, + z.ZodTypeDef, + ContentHint7 +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHint7$ { + /** @deprecated use `ContentHint7$inboundSchema` instead. */ + export const inboundSchema = ContentHint7$inboundSchema; + /** @deprecated use `ContentHint7$outboundSchema` instead. */ + export const outboundSchema = ContentHint7$outboundSchema; + /** @deprecated use `ContentHint7$Outbound` instead. */ + export type Outbound = ContentHint7$Outbound; +} + +export function contentHint7ToJSON(contentHint7: ContentHint7): string { + return JSON.stringify(ContentHint7$outboundSchema.parse(contentHint7)); +} + +export function contentHint7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContentHint7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContentHint7' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType + > = z.nativeEnum( + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType, + ); + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType + > = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$ { + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const ContentHint6$inboundSchema: z.ZodType< + ContentHint6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type ContentHint6$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const ContentHint6$outboundSchema: z.ZodType< + ContentHint6$Outbound, + z.ZodTypeDef, + ContentHint6 +> = z.object({ + type: + UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHint6$ { + /** @deprecated use `ContentHint6$inboundSchema` instead. */ + export const inboundSchema = ContentHint6$inboundSchema; + /** @deprecated use `ContentHint6$outboundSchema` instead. */ + export const outboundSchema = ContentHint6$outboundSchema; + /** @deprecated use `ContentHint6$Outbound` instead. */ + export type Outbound = ContentHint6$Outbound; +} + +export function contentHint6ToJSON(contentHint6: ContentHint6): string { + return JSON.stringify(ContentHint6$outboundSchema.parse(contentHint6)); +} + +export function contentHint6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContentHint6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContentHint6' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200Type + > = z.nativeEnum(UpdateProjectDataCacheContentHintProjectsResponse200Type); + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponse200Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponse200Type + > = UpdateProjectDataCacheContentHintProjectsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheContentHintProjectsResponse200Type$ { + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200Type$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheContentHintProjectsResponse200Type$outboundSchema; +} + +/** @internal */ +export const ContentHint5$inboundSchema: z.ZodType< + ContentHint5, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateProjectDataCacheContentHintProjectsResponse200Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type ContentHint5$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const ContentHint5$outboundSchema: z.ZodType< + ContentHint5$Outbound, + z.ZodTypeDef, + ContentHint5 +> = z.object({ + type: UpdateProjectDataCacheContentHintProjectsResponse200Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHint5$ { + /** @deprecated use `ContentHint5$inboundSchema` instead. */ + export const inboundSchema = ContentHint5$inboundSchema; + /** @deprecated use `ContentHint5$outboundSchema` instead. */ + export const outboundSchema = ContentHint5$outboundSchema; + /** @deprecated use `ContentHint5$Outbound` instead. */ + export type Outbound = ContentHint5$Outbound; +} + +export function contentHint5ToJSON(contentHint5: ContentHint5): string { + return JSON.stringify(ContentHint5$outboundSchema.parse(contentHint5)); +} + +export function contentHint5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContentHint5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContentHint5' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponseType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponseType + > = z.nativeEnum(UpdateProjectDataCacheContentHintProjectsResponseType); + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsResponseType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheContentHintProjectsResponseType + > = UpdateProjectDataCacheContentHintProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheContentHintProjectsResponseType$ { + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheContentHintProjectsResponseType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheContentHintProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const ContentHint4$inboundSchema: z.ZodType< + ContentHint4, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateProjectDataCacheContentHintProjectsResponseType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type ContentHint4$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const ContentHint4$outboundSchema: z.ZodType< + ContentHint4$Outbound, + z.ZodTypeDef, + ContentHint4 +> = z.object({ + type: UpdateProjectDataCacheContentHintProjectsResponseType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHint4$ { + /** @deprecated use `ContentHint4$inboundSchema` instead. */ + export const inboundSchema = ContentHint4$inboundSchema; + /** @deprecated use `ContentHint4$outboundSchema` instead. */ + export const outboundSchema = ContentHint4$outboundSchema; + /** @deprecated use `ContentHint4$Outbound` instead. */ + export type Outbound = ContentHint4$Outbound; +} + +export function contentHint4ToJSON(contentHint4: ContentHint4): string { + return JSON.stringify(ContentHint4$outboundSchema.parse(contentHint4)); +} + +export function contentHint4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContentHint4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContentHint4' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateProjectDataCacheContentHintProjectsType); + +/** @internal */ +export const UpdateProjectDataCacheContentHintProjectsType$outboundSchema: + z.ZodNativeEnum = + UpdateProjectDataCacheContentHintProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheContentHintProjectsType$ { + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheContentHintProjectsType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheContentHintProjectsType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheContentHintProjectsType$outboundSchema; +} + +/** @internal */ +export const ContentHint3$inboundSchema: z.ZodType< + ContentHint3, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateProjectDataCacheContentHintProjectsType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type ContentHint3$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const ContentHint3$outboundSchema: z.ZodType< + ContentHint3$Outbound, + z.ZodTypeDef, + ContentHint3 +> = z.object({ + type: UpdateProjectDataCacheContentHintProjectsType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHint3$ { + /** @deprecated use `ContentHint3$inboundSchema` instead. */ + export const inboundSchema = ContentHint3$inboundSchema; + /** @deprecated use `ContentHint3$outboundSchema` instead. */ + export const outboundSchema = ContentHint3$outboundSchema; + /** @deprecated use `ContentHint3$Outbound` instead. */ + export type Outbound = ContentHint3$Outbound; +} + +export function contentHint3ToJSON(contentHint3: ContentHint3): string { + return JSON.stringify(ContentHint3$outboundSchema.parse(contentHint3)); +} + +export function contentHint3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContentHint3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContentHint3' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheContentHintType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateProjectDataCacheContentHintType, + ); + +/** @internal */ +export const UpdateProjectDataCacheContentHintType$outboundSchema: + z.ZodNativeEnum = + UpdateProjectDataCacheContentHintType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheContentHintType$ { + /** @deprecated use `UpdateProjectDataCacheContentHintType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheContentHintType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheContentHintType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheContentHintType$outboundSchema; +} + +/** @internal */ +export const ContentHint2$inboundSchema: z.ZodType< + ContentHint2, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateProjectDataCacheContentHintType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type ContentHint2$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const ContentHint2$outboundSchema: z.ZodType< + ContentHint2$Outbound, + z.ZodTypeDef, + ContentHint2 +> = z.object({ + type: UpdateProjectDataCacheContentHintType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHint2$ { + /** @deprecated use `ContentHint2$inboundSchema` instead. */ + export const inboundSchema = ContentHint2$inboundSchema; + /** @deprecated use `ContentHint2$outboundSchema` instead. */ + export const outboundSchema = ContentHint2$outboundSchema; + /** @deprecated use `ContentHint2$Outbound` instead. */ + export type Outbound = ContentHint2$Outbound; +} + +export function contentHint2ToJSON(contentHint2: ContentHint2): string { + return JSON.stringify(ContentHint2$outboundSchema.parse(contentHint2)); +} + +export function contentHint2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContentHint2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContentHint2' from JSON`, + ); +} + +/** @internal */ +export const ContentHintType$inboundSchema: z.ZodNativeEnum< + typeof ContentHintType +> = z.nativeEnum(ContentHintType); + +/** @internal */ +export const ContentHintType$outboundSchema: z.ZodNativeEnum< + typeof ContentHintType +> = ContentHintType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHintType$ { + /** @deprecated use `ContentHintType$inboundSchema` instead. */ + export const inboundSchema = ContentHintType$inboundSchema; + /** @deprecated use `ContentHintType$outboundSchema` instead. */ + export const outboundSchema = ContentHintType$outboundSchema; +} + +/** @internal */ +export const ContentHint1$inboundSchema: z.ZodType< + ContentHint1, + z.ZodTypeDef, + unknown +> = z.object({ + type: ContentHintType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type ContentHint1$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const ContentHint1$outboundSchema: z.ZodType< + ContentHint1$Outbound, + z.ZodTypeDef, + ContentHint1 +> = z.object({ + type: ContentHintType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHint1$ { + /** @deprecated use `ContentHint1$inboundSchema` instead. */ + export const inboundSchema = ContentHint1$inboundSchema; + /** @deprecated use `ContentHint1$outboundSchema` instead. */ + export const outboundSchema = ContentHint1$outboundSchema; + /** @deprecated use `ContentHint1$Outbound` instead. */ + export type Outbound = ContentHint1$Outbound; +} + +export function contentHint1ToJSON(contentHint1: ContentHint1): string { + return JSON.stringify(ContentHint1$outboundSchema.parse(contentHint1)); +} + +export function contentHint1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContentHint1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContentHint1' from JSON`, + ); +} + +/** @internal */ +export const ContentHint$inboundSchema: z.ZodType< + ContentHint, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => ContentHint1$inboundSchema), + z.lazy(() => ContentHint2$inboundSchema), + z.lazy(() => ContentHint3$inboundSchema), + z.lazy(() => ContentHint4$inboundSchema), + z.lazy(() => ContentHint5$inboundSchema), + z.lazy(() => ContentHint6$inboundSchema), + z.lazy(() => ContentHint7$inboundSchema), + z.lazy(() => ContentHint8$inboundSchema), + z.lazy(() => ContentHint9$inboundSchema), + z.lazy(() => ContentHint10$inboundSchema), + z.lazy(() => UpdateProjectDataCacheContentHint11$inboundSchema), + z.lazy(() => Twelve$inboundSchema), + z.lazy(() => Thirteen$inboundSchema), + z.lazy(() => Fifteen$inboundSchema), + z.lazy(() => Fourteen$inboundSchema), +]); + +/** @internal */ +export type ContentHint$Outbound = + | ContentHint1$Outbound + | ContentHint2$Outbound + | ContentHint3$Outbound + | ContentHint4$Outbound + | ContentHint5$Outbound + | ContentHint6$Outbound + | ContentHint7$Outbound + | ContentHint8$Outbound + | ContentHint9$Outbound + | ContentHint10$Outbound + | UpdateProjectDataCacheContentHint11$Outbound + | Twelve$Outbound + | Thirteen$Outbound + | Fifteen$Outbound + | Fourteen$Outbound; + +/** @internal */ +export const ContentHint$outboundSchema: z.ZodType< + ContentHint$Outbound, + z.ZodTypeDef, + ContentHint +> = z.union([ + z.lazy(() => ContentHint1$outboundSchema), + z.lazy(() => ContentHint2$outboundSchema), + z.lazy(() => ContentHint3$outboundSchema), + z.lazy(() => ContentHint4$outboundSchema), + z.lazy(() => ContentHint5$outboundSchema), + z.lazy(() => ContentHint6$outboundSchema), + z.lazy(() => ContentHint7$outboundSchema), + z.lazy(() => ContentHint8$outboundSchema), + z.lazy(() => ContentHint9$outboundSchema), + z.lazy(() => ContentHint10$outboundSchema), + z.lazy(() => UpdateProjectDataCacheContentHint11$outboundSchema), + z.lazy(() => Twelve$outboundSchema), + z.lazy(() => Thirteen$outboundSchema), + z.lazy(() => Fifteen$outboundSchema), + z.lazy(() => Fourteen$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContentHint$ { + /** @deprecated use `ContentHint$inboundSchema` instead. */ + export const inboundSchema = ContentHint$inboundSchema; + /** @deprecated use `ContentHint$outboundSchema` instead. */ + export const outboundSchema = ContentHint$outboundSchema; + /** @deprecated use `ContentHint$Outbound` instead. */ + export type Outbound = ContentHint$Outbound; +} + +export function contentHintToJSON(contentHint: ContentHint): string { + return JSON.stringify(ContentHint$outboundSchema.parse(contentHint)); +} + +export function contentHintFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContentHint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContentHint' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType, + ); + +/** @internal */ +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType + > = + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$ { + /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; +} + +/** @internal */ +export const InternalContentHint$inboundSchema: z.ZodType< + InternalContentHint, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + encryptedValue: z.string(), +}); + +/** @internal */ +export type InternalContentHint$Outbound = { + type: string; + encryptedValue: string; +}; + +/** @internal */ +export const InternalContentHint$outboundSchema: z.ZodType< + InternalContentHint$Outbound, + z.ZodTypeDef, + InternalContentHint +> = z.object({ + type: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, + encryptedValue: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace InternalContentHint$ { + /** @deprecated use `InternalContentHint$inboundSchema` instead. */ + export const inboundSchema = InternalContentHint$inboundSchema; + /** @deprecated use `InternalContentHint$outboundSchema` instead. */ + export const outboundSchema = InternalContentHint$outboundSchema; + /** @deprecated use `InternalContentHint$Outbound` instead. */ + export type Outbound = InternalContentHint$Outbound; +} + +export function internalContentHintToJSON( + internalContentHint: InternalContentHint, +): string { + return JSON.stringify( + InternalContentHint$outboundSchema.parse(internalContentHint), + ); +} + +export function internalContentHintFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => InternalContentHint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'InternalContentHint' from JSON`, + ); +} + +/** @internal */ +export const Env$inboundSchema: z.ZodType = z + .object({ + target: z.union([ + z.array(UpdateProjectDataCacheTarget1$inboundSchema), + UpdateProjectDataCacheTarget2$inboundSchema, + ]).optional(), + type: UpdateProjectDataCacheProjectsResponse200Type$inboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => ContentHint1$inboundSchema), + z.lazy(() => ContentHint2$inboundSchema), + z.lazy(() => ContentHint3$inboundSchema), + z.lazy(() => ContentHint4$inboundSchema), + z.lazy(() => ContentHint5$inboundSchema), + z.lazy(() => ContentHint6$inboundSchema), + z.lazy(() => ContentHint7$inboundSchema), + z.lazy(() => ContentHint8$inboundSchema), + z.lazy(() => ContentHint9$inboundSchema), + z.lazy(() => ContentHint10$inboundSchema), + z.lazy(() => UpdateProjectDataCacheContentHint11$inboundSchema), + z.lazy(() => Twelve$inboundSchema), + z.lazy(() => Thirteen$inboundSchema), + z.lazy(() => Fifteen$inboundSchema), + z.lazy(() => Fourteen$inboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => InternalContentHint$inboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), + }); + +/** @internal */ +export type Env$Outbound = { + target?: Array | string | undefined; + type: string; + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | ContentHint1$Outbound + | ContentHint2$Outbound + | ContentHint3$Outbound + | ContentHint4$Outbound + | ContentHint5$Outbound + | ContentHint6$Outbound + | ContentHint7$Outbound + | ContentHint8$Outbound + | ContentHint9$Outbound + | ContentHint10$Outbound + | UpdateProjectDataCacheContentHint11$Outbound + | Twelve$Outbound + | Thirteen$Outbound + | Fifteen$Outbound + | Fourteen$Outbound + | null + | undefined; + internalContentHint?: InternalContentHint$Outbound | null | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +/** @internal */ +export const Env$outboundSchema: z.ZodType = z + .object({ + target: z.union([ + z.array(UpdateProjectDataCacheTarget1$outboundSchema), + UpdateProjectDataCacheTarget2$outboundSchema, + ]).optional(), + type: UpdateProjectDataCacheProjectsResponse200Type$outboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => ContentHint1$outboundSchema), + z.lazy(() => ContentHint2$outboundSchema), + z.lazy(() => ContentHint3$outboundSchema), + z.lazy(() => ContentHint4$outboundSchema), + z.lazy(() => ContentHint5$outboundSchema), + z.lazy(() => ContentHint6$outboundSchema), + z.lazy(() => ContentHint7$outboundSchema), + z.lazy(() => ContentHint8$outboundSchema), + z.lazy(() => ContentHint9$outboundSchema), + z.lazy(() => ContentHint10$outboundSchema), + z.lazy(() => UpdateProjectDataCacheContentHint11$outboundSchema), + z.lazy(() => Twelve$outboundSchema), + z.lazy(() => Thirteen$outboundSchema), + z.lazy(() => Fifteen$outboundSchema), + z.lazy(() => Fourteen$outboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => InternalContentHint$outboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Env$ { + /** @deprecated use `Env$inboundSchema` instead. */ + export const inboundSchema = Env$inboundSchema; + /** @deprecated use `Env$outboundSchema` instead. */ + export const outboundSchema = Env$outboundSchema; + /** @deprecated use `Env$Outbound` instead. */ + export type Outbound = Env$Outbound; +} + +export function envToJSON(env: Env): string { + return JSON.stringify(Env$outboundSchema.parse(env)); +} + +export function envFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Env$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Env' from JSON`, + ); +} + +/** @internal */ +export const CustomEnvironments$inboundSchema: z.ZodType< + CustomEnvironments, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type CustomEnvironments$Outbound = {}; + +/** @internal */ +export const CustomEnvironments$outboundSchema: z.ZodType< + CustomEnvironments$Outbound, + z.ZodTypeDef, + CustomEnvironments +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CustomEnvironments$ { + /** @deprecated use `CustomEnvironments$inboundSchema` instead. */ + export const inboundSchema = CustomEnvironments$inboundSchema; + /** @deprecated use `CustomEnvironments$outboundSchema` instead. */ + export const outboundSchema = CustomEnvironments$outboundSchema; + /** @deprecated use `CustomEnvironments$Outbound` instead. */ + export type Outbound = CustomEnvironments$Outbound; +} + +export function customEnvironmentsToJSON( + customEnvironments: CustomEnvironments, +): string { + return JSON.stringify( + CustomEnvironments$outboundSchema.parse(customEnvironments), + ); +} + +export function customEnvironmentsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CustomEnvironments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CustomEnvironments' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheFramework$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheFramework +> = z.nativeEnum(UpdateProjectDataCacheFramework); + +/** @internal */ +export const UpdateProjectDataCacheFramework$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheFramework +> = UpdateProjectDataCacheFramework$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheFramework$ { + /** @deprecated use `UpdateProjectDataCacheFramework$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheFramework$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheFramework$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheFramework$outboundSchema; +} + +/** @internal */ +export const IpBuckets$inboundSchema: z.ZodType< + IpBuckets, + z.ZodTypeDef, + unknown +> = z.object({ + bucket: z.string(), + supportUntil: z.number().optional(), +}); + +/** @internal */ +export type IpBuckets$Outbound = { + bucket: string; + supportUntil?: number | undefined; +}; + +/** @internal */ +export const IpBuckets$outboundSchema: z.ZodType< + IpBuckets$Outbound, + z.ZodTypeDef, + IpBuckets +> = z.object({ + bucket: z.string(), + supportUntil: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace IpBuckets$ { + /** @deprecated use `IpBuckets$inboundSchema` instead. */ + export const inboundSchema = IpBuckets$inboundSchema; + /** @deprecated use `IpBuckets$outboundSchema` instead. */ + export const outboundSchema = IpBuckets$outboundSchema; + /** @deprecated use `IpBuckets$Outbound` instead. */ + export type Outbound = IpBuckets$Outbound; +} + +export function ipBucketsToJSON(ipBuckets: IpBuckets): string { + return JSON.stringify(IpBuckets$outboundSchema.parse(ipBuckets)); +} + +export function ipBucketsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => IpBuckets$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'IpBuckets' from JSON`, + ); +} + +/** @internal */ +export const AliasAssigned$inboundSchema: z.ZodType< + AliasAssigned, + z.ZodTypeDef, + unknown +> = z.union([z.number(), z.boolean()]); + +/** @internal */ +export type AliasAssigned$Outbound = number | boolean; + +/** @internal */ +export const AliasAssigned$outboundSchema: z.ZodType< + AliasAssigned$Outbound, + z.ZodTypeDef, + AliasAssigned +> = z.union([z.number(), z.boolean()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AliasAssigned$ { + /** @deprecated use `AliasAssigned$inboundSchema` instead. */ + export const inboundSchema = AliasAssigned$inboundSchema; + /** @deprecated use `AliasAssigned$outboundSchema` instead. */ + export const outboundSchema = AliasAssigned$outboundSchema; + /** @deprecated use `AliasAssigned$Outbound` instead. */ + export type Outbound = AliasAssigned$Outbound; +} + +export function aliasAssignedToJSON(aliasAssigned: AliasAssigned): string { + return JSON.stringify(AliasAssigned$outboundSchema.parse(aliasAssigned)); +} + +export function aliasAssignedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AliasAssigned$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AliasAssigned' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsAliasError$inboundSchema: z.ZodType< + UpdateProjectDataCacheProjectsAliasError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** @internal */ +export type UpdateProjectDataCacheProjectsAliasError$Outbound = { + code: string; + message: string; +}; + +/** @internal */ +export const UpdateProjectDataCacheProjectsAliasError$outboundSchema: z.ZodType< + UpdateProjectDataCacheProjectsAliasError$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheProjectsAliasError +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsAliasError$ { + /** @deprecated use `UpdateProjectDataCacheProjectsAliasError$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheProjectsAliasError$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsAliasError$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsAliasError$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsAliasError$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheProjectsAliasError$Outbound; +} + +export function updateProjectDataCacheProjectsAliasErrorToJSON( + updateProjectDataCacheProjectsAliasError: + UpdateProjectDataCacheProjectsAliasError, +): string { + return JSON.stringify( + UpdateProjectDataCacheProjectsAliasError$outboundSchema.parse( + updateProjectDataCacheProjectsAliasError, + ), + ); +} + +export function updateProjectDataCacheProjectsAliasErrorFromJSON( + jsonString: string, +): SafeParseResult< + UpdateProjectDataCacheProjectsAliasError, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheProjectsAliasError$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateProjectDataCacheProjectsAliasError' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONType + > = z.nativeEnum( + UpdateProjectDataCacheProjectsResponse200ApplicationJSONType, + ); + +/** @internal */ +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONType + > = + UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$ { + /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const BranchMatcher$inboundSchema: z.ZodType< + BranchMatcher, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema, + pattern: z.string(), +}); + +/** @internal */ +export type BranchMatcher$Outbound = { + type: string; + pattern: string; +}; + +/** @internal */ +export const BranchMatcher$outboundSchema: z.ZodType< + BranchMatcher$Outbound, + z.ZodTypeDef, + BranchMatcher +> = z.object({ + type: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema, + pattern: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace BranchMatcher$ { + /** @deprecated use `BranchMatcher$inboundSchema` instead. */ + export const inboundSchema = BranchMatcher$inboundSchema; + /** @deprecated use `BranchMatcher$outboundSchema` instead. */ + export const outboundSchema = BranchMatcher$outboundSchema; + /** @deprecated use `BranchMatcher$Outbound` instead. */ + export type Outbound = BranchMatcher$Outbound; +} + +export function branchMatcherToJSON(branchMatcher: BranchMatcher): string { + return JSON.stringify(BranchMatcher$outboundSchema.parse(branchMatcher)); +} + +export function branchMatcherFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BranchMatcher$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BranchMatcher' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsBuilds$inboundSchema: z.ZodType< + UpdateProjectDataCacheProjectsBuilds, + z.ZodTypeDef, + unknown +> = z.object({ + use: z.string(), + src: z.string().optional(), + dest: z.string().optional(), +}); + +/** @internal */ +export type UpdateProjectDataCacheProjectsBuilds$Outbound = { + use: string; + src?: string | undefined; + dest?: string | undefined; +}; + +/** @internal */ +export const UpdateProjectDataCacheProjectsBuilds$outboundSchema: z.ZodType< + UpdateProjectDataCacheProjectsBuilds$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheProjectsBuilds +> = z.object({ + use: z.string(), + src: z.string().optional(), + dest: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsBuilds$ { + /** @deprecated use `UpdateProjectDataCacheProjectsBuilds$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheProjectsBuilds$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsBuilds$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsBuilds$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsBuilds$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheProjectsBuilds$Outbound; +} + +export function updateProjectDataCacheProjectsBuildsToJSON( + updateProjectDataCacheProjectsBuilds: UpdateProjectDataCacheProjectsBuilds, +): string { + return JSON.stringify( + UpdateProjectDataCacheProjectsBuilds$outboundSchema.parse( + updateProjectDataCacheProjectsBuilds, + ), + ); +} + +export function updateProjectDataCacheProjectsBuildsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheProjectsBuilds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheProjectsBuilds' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsChecksConclusion$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateProjectDataCacheProjectsChecksConclusion); + +/** @internal */ +export const UpdateProjectDataCacheProjectsChecksConclusion$outboundSchema: + z.ZodNativeEnum = + UpdateProjectDataCacheProjectsChecksConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsChecksConclusion$ { + /** @deprecated use `UpdateProjectDataCacheProjectsChecksConclusion$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheProjectsChecksConclusion$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsChecksConclusion$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsChecksConclusion$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsChecksState$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateProjectDataCacheProjectsChecksState); + +/** @internal */ +export const UpdateProjectDataCacheProjectsChecksState$outboundSchema: + z.ZodNativeEnum = + UpdateProjectDataCacheProjectsChecksState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsChecksState$ { + /** @deprecated use `UpdateProjectDataCacheProjectsChecksState$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheProjectsChecksState$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsChecksState$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsChecksState$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsCreator$inboundSchema: z.ZodType< + UpdateProjectDataCacheProjectsCreator, + z.ZodTypeDef, + unknown +> = z.object({ + email: z.string(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), + uid: z.string(), + username: z.string(), +}); + +/** @internal */ +export type UpdateProjectDataCacheProjectsCreator$Outbound = { + email: string; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; + uid: string; + username: string; +}; + +/** @internal */ +export const UpdateProjectDataCacheProjectsCreator$outboundSchema: z.ZodType< + UpdateProjectDataCacheProjectsCreator$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheProjectsCreator +> = z.object({ + email: z.string(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), + uid: z.string(), + username: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsCreator$ { + /** @deprecated use `UpdateProjectDataCacheProjectsCreator$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheProjectsCreator$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsCreator$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsCreator$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsCreator$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheProjectsCreator$Outbound; +} + +export function updateProjectDataCacheProjectsCreatorToJSON( + updateProjectDataCacheProjectsCreator: UpdateProjectDataCacheProjectsCreator, +): string { + return JSON.stringify( + UpdateProjectDataCacheProjectsCreator$outboundSchema.parse( + updateProjectDataCacheProjectsCreator, + ), + ); +} + +export function updateProjectDataCacheProjectsCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheProjectsCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheProjectsCreator' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsOidcTokenClaims$inboundSchema: + z.ZodType< + UpdateProjectDataCacheProjectsOidcTokenClaims, + z.ZodTypeDef, + unknown + > = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + owner_id: z.string(), + project: z.string(), + project_id: z.string(), + environment: z.string(), + }).transform((v) => { + return remap$(v, { + "owner_id": "ownerId", + "project_id": "projectId", + }); + }); + +/** @internal */ +export type UpdateProjectDataCacheProjectsOidcTokenClaims$Outbound = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + owner_id: string; + project: string; + project_id: string; + environment: string; +}; + +/** @internal */ +export const UpdateProjectDataCacheProjectsOidcTokenClaims$outboundSchema: + z.ZodType< + UpdateProjectDataCacheProjectsOidcTokenClaims$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheProjectsOidcTokenClaims + > = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + ownerId: z.string(), + project: z.string(), + projectId: z.string(), + environment: z.string(), + }).transform((v) => { + return remap$(v, { + ownerId: "owner_id", + projectId: "project_id", + }); + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsOidcTokenClaims$ { + /** @deprecated use `UpdateProjectDataCacheProjectsOidcTokenClaims$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheProjectsOidcTokenClaims$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsOidcTokenClaims$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsOidcTokenClaims$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsOidcTokenClaims$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheProjectsOidcTokenClaims$Outbound; +} + +export function updateProjectDataCacheProjectsOidcTokenClaimsToJSON( + updateProjectDataCacheProjectsOidcTokenClaims: + UpdateProjectDataCacheProjectsOidcTokenClaims, +): string { + return JSON.stringify( + UpdateProjectDataCacheProjectsOidcTokenClaims$outboundSchema.parse( + updateProjectDataCacheProjectsOidcTokenClaims, + ), + ); +} + +export function updateProjectDataCacheProjectsOidcTokenClaimsFromJSON( + jsonString: string, +): SafeParseResult< + UpdateProjectDataCacheProjectsOidcTokenClaims, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheProjectsOidcTokenClaims$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateProjectDataCacheProjectsOidcTokenClaims' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsPlan$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheProjectsPlan +> = z.nativeEnum(UpdateProjectDataCacheProjectsPlan); + +/** @internal */ +export const UpdateProjectDataCacheProjectsPlan$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheProjectsPlan +> = UpdateProjectDataCacheProjectsPlan$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsPlan$ { + /** @deprecated use `UpdateProjectDataCacheProjectsPlan$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheProjectsPlan$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsPlan$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsPlan$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsReadyState$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateProjectDataCacheProjectsReadyState); + +/** @internal */ +export const UpdateProjectDataCacheProjectsReadyState$outboundSchema: + z.ZodNativeEnum = + UpdateProjectDataCacheProjectsReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsReadyState$ { + /** @deprecated use `UpdateProjectDataCacheProjectsReadyState$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheProjectsReadyState$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsReadyState$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsReadyState$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsReadySubstate$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateProjectDataCacheProjectsReadySubstate); + +/** @internal */ +export const UpdateProjectDataCacheProjectsReadySubstate$outboundSchema: + z.ZodNativeEnum = + UpdateProjectDataCacheProjectsReadySubstate$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsReadySubstate$ { + /** @deprecated use `UpdateProjectDataCacheProjectsReadySubstate$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheProjectsReadySubstate$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsReadySubstate$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsReadySubstate$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheType$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheType +> = z.nativeEnum(UpdateProjectDataCacheType); + +/** @internal */ +export const UpdateProjectDataCacheType$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheType +> = UpdateProjectDataCacheType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheType$ { + /** @deprecated use `UpdateProjectDataCacheType$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheType$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheType$outboundSchema; +} + +/** @internal */ +export const LatestDeployments$inboundSchema: z.ZodType< + LatestDeployments, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + aliasError: z.nullable( + z.lazy(() => UpdateProjectDataCacheProjectsAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + branchMatcher: z.lazy(() => BranchMatcher$inboundSchema).optional(), + buildingAt: z.number().optional(), + builds: z.array( + z.lazy(() => UpdateProjectDataCacheProjectsBuilds$inboundSchema), + ).optional(), + checksConclusion: UpdateProjectDataCacheProjectsChecksConclusion$inboundSchema + .optional(), + checksState: UpdateProjectDataCacheProjectsChecksState$inboundSchema + .optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdAt: z.number(), + createdIn: z.string(), + creator: z.nullable( + z.lazy(() => UpdateProjectDataCacheProjectsCreator$inboundSchema), + ), + deletedAt: z.number().optional(), + deploymentHostname: z.string(), + forced: z.boolean().optional(), + name: z.string(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + oidcTokenClaims: z.lazy(() => + UpdateProjectDataCacheProjectsOidcTokenClaims$inboundSchema + ).optional(), + plan: UpdateProjectDataCacheProjectsPlan$inboundSchema, + previewCommentsEnabled: z.boolean().optional(), + private: z.boolean(), + readyAt: z.number().optional(), + readyState: UpdateProjectDataCacheProjectsReadyState$inboundSchema, + readySubstate: UpdateProjectDataCacheProjectsReadySubstate$inboundSchema + .optional(), + requestedAt: z.number().optional(), + target: z.nullable(z.string()).optional(), + teamId: z.nullable(z.string()).optional(), + type: UpdateProjectDataCacheType$inboundSchema, + url: z.string(), + userId: z.string(), + withCache: z.boolean().optional(), +}); + +/** @internal */ +export type LatestDeployments$Outbound = { + id: string; + alias?: Array | undefined; + aliasAssigned?: number | boolean | null | undefined; + aliasError?: + | UpdateProjectDataCacheProjectsAliasError$Outbound + | null + | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + branchMatcher?: BranchMatcher$Outbound | undefined; + buildingAt?: number | undefined; + builds?: Array | undefined; + checksConclusion?: string | undefined; + checksState?: string | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdAt: number; + createdIn: string; + creator: UpdateProjectDataCacheProjectsCreator$Outbound | null; + deletedAt?: number | undefined; + deploymentHostname: string; + forced?: boolean | undefined; + name: string; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + oidcTokenClaims?: + | UpdateProjectDataCacheProjectsOidcTokenClaims$Outbound + | undefined; + plan: string; + previewCommentsEnabled?: boolean | undefined; + private: boolean; + readyAt?: number | undefined; + readyState: string; + readySubstate?: string | undefined; + requestedAt?: number | undefined; + target?: string | null | undefined; + teamId?: string | null | undefined; + type: string; + url: string; + userId: string; + withCache?: boolean | undefined; +}; + +/** @internal */ +export const LatestDeployments$outboundSchema: z.ZodType< + LatestDeployments$Outbound, + z.ZodTypeDef, + LatestDeployments +> = z.object({ + id: z.string(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + aliasError: z.nullable( + z.lazy(() => UpdateProjectDataCacheProjectsAliasError$outboundSchema), + ).optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + branchMatcher: z.lazy(() => BranchMatcher$outboundSchema).optional(), + buildingAt: z.number().optional(), + builds: z.array( + z.lazy(() => UpdateProjectDataCacheProjectsBuilds$outboundSchema), + ).optional(), + checksConclusion: + UpdateProjectDataCacheProjectsChecksConclusion$outboundSchema.optional(), + checksState: UpdateProjectDataCacheProjectsChecksState$outboundSchema + .optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdAt: z.number(), + createdIn: z.string(), + creator: z.nullable( + z.lazy(() => UpdateProjectDataCacheProjectsCreator$outboundSchema), + ), + deletedAt: z.number().optional(), + deploymentHostname: z.string(), + forced: z.boolean().optional(), + name: z.string(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + oidcTokenClaims: z.lazy(() => + UpdateProjectDataCacheProjectsOidcTokenClaims$outboundSchema + ).optional(), + plan: UpdateProjectDataCacheProjectsPlan$outboundSchema, + previewCommentsEnabled: z.boolean().optional(), + private: z.boolean(), + readyAt: z.number().optional(), + readyState: UpdateProjectDataCacheProjectsReadyState$outboundSchema, + readySubstate: UpdateProjectDataCacheProjectsReadySubstate$outboundSchema + .optional(), + requestedAt: z.number().optional(), + target: z.nullable(z.string()).optional(), + teamId: z.nullable(z.string()).optional(), + type: UpdateProjectDataCacheType$outboundSchema, + url: z.string(), + userId: z.string(), + withCache: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace LatestDeployments$ { + /** @deprecated use `LatestDeployments$inboundSchema` instead. */ + export const inboundSchema = LatestDeployments$inboundSchema; + /** @deprecated use `LatestDeployments$outboundSchema` instead. */ + export const outboundSchema = LatestDeployments$outboundSchema; + /** @deprecated use `LatestDeployments$Outbound` instead. */ + export type Outbound = LatestDeployments$Outbound; +} + +export function latestDeploymentsToJSON( + latestDeployments: LatestDeployments, +): string { + return JSON.stringify( + LatestDeployments$outboundSchema.parse(latestDeployments), + ); +} + +export function latestDeploymentsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LatestDeployments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LatestDeployments' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheLinkProjectsType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateProjectDataCacheLinkProjectsType, + ); + +/** @internal */ +export const UpdateProjectDataCacheLinkProjectsType$outboundSchema: + z.ZodNativeEnum = + UpdateProjectDataCacheLinkProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheLinkProjectsType$ { + /** @deprecated use `UpdateProjectDataCacheLinkProjectsType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheLinkProjectsType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheLinkProjectsType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheLinkProjectsType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheLinkDeployHooks$inboundSchema: z.ZodType< + UpdateProjectDataCacheLinkDeployHooks, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** @internal */ +export type UpdateProjectDataCacheLinkDeployHooks$Outbound = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +/** @internal */ +export const UpdateProjectDataCacheLinkDeployHooks$outboundSchema: z.ZodType< + UpdateProjectDataCacheLinkDeployHooks$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheLinkDeployHooks +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheLinkDeployHooks$ { + /** @deprecated use `UpdateProjectDataCacheLinkDeployHooks$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheLinkDeployHooks$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheLinkDeployHooks$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheLinkDeployHooks$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheLinkDeployHooks$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheLinkDeployHooks$Outbound; +} + +export function updateProjectDataCacheLinkDeployHooksToJSON( + updateProjectDataCacheLinkDeployHooks: UpdateProjectDataCacheLinkDeployHooks, +): string { + return JSON.stringify( + UpdateProjectDataCacheLinkDeployHooks$outboundSchema.parse( + updateProjectDataCacheLinkDeployHooks, + ), + ); +} + +export function updateProjectDataCacheLinkDeployHooksFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheLinkDeployHooks$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheLinkDeployHooks' from JSON`, + ); +} + +/** @internal */ +export const Link3$inboundSchema: z.ZodType = z + .object({ + name: z.string().optional(), + slug: z.string().optional(), + owner: z.string().optional(), + type: UpdateProjectDataCacheLinkProjectsType$inboundSchema.optional(), + uuid: z.string().optional(), + workspaceUuid: z.string().optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => UpdateProjectDataCacheLinkDeployHooks$inboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), + }); + +/** @internal */ +export type Link3$Outbound = { + name?: string | undefined; + slug?: string | undefined; + owner?: string | undefined; + type?: string | undefined; + uuid?: string | undefined; + workspaceUuid?: string | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +/** @internal */ +export const Link3$outboundSchema: z.ZodType< + Link3$Outbound, + z.ZodTypeDef, + Link3 +> = z.object({ + name: z.string().optional(), + slug: z.string().optional(), + owner: z.string().optional(), + type: UpdateProjectDataCacheLinkProjectsType$outboundSchema.optional(), + uuid: z.string().optional(), + workspaceUuid: z.string().optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => UpdateProjectDataCacheLinkDeployHooks$outboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Link3$ { + /** @deprecated use `Link3$inboundSchema` instead. */ + export const inboundSchema = Link3$inboundSchema; + /** @deprecated use `Link3$outboundSchema` instead. */ + export const outboundSchema = Link3$outboundSchema; + /** @deprecated use `Link3$Outbound` instead. */ + export type Outbound = Link3$Outbound; +} + +export function link3ToJSON(link3: Link3): string { + return JSON.stringify(Link3$outboundSchema.parse(link3)); +} + +export function link3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Link3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Link3' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheLinkType$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheLinkType +> = z.nativeEnum(UpdateProjectDataCacheLinkType); + +/** @internal */ +export const UpdateProjectDataCacheLinkType$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheLinkType +> = UpdateProjectDataCacheLinkType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheLinkType$ { + /** @deprecated use `UpdateProjectDataCacheLinkType$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheLinkType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheLinkType$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheLinkType$outboundSchema; +} + +/** @internal */ +export const LinkDeployHooks$inboundSchema: z.ZodType< + LinkDeployHooks, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** @internal */ +export type LinkDeployHooks$Outbound = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +/** @internal */ +export const LinkDeployHooks$outboundSchema: z.ZodType< + LinkDeployHooks$Outbound, + z.ZodTypeDef, + LinkDeployHooks +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace LinkDeployHooks$ { + /** @deprecated use `LinkDeployHooks$inboundSchema` instead. */ + export const inboundSchema = LinkDeployHooks$inboundSchema; + /** @deprecated use `LinkDeployHooks$outboundSchema` instead. */ + export const outboundSchema = LinkDeployHooks$outboundSchema; + /** @deprecated use `LinkDeployHooks$Outbound` instead. */ + export type Outbound = LinkDeployHooks$Outbound; +} + +export function linkDeployHooksToJSON( + linkDeployHooks: LinkDeployHooks, +): string { + return JSON.stringify(LinkDeployHooks$outboundSchema.parse(linkDeployHooks)); +} + +export function linkDeployHooksFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LinkDeployHooks$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LinkDeployHooks' from JSON`, + ); +} + +/** @internal */ +export const Link2$inboundSchema: z.ZodType = z + .object({ + projectId: z.string().optional(), + projectName: z.string().optional(), + projectNameWithNamespace: z.string().optional(), + projectNamespace: z.string().optional(), + projectOwnerId: z.number().optional(), + projectUrl: z.string().optional(), + type: UpdateProjectDataCacheLinkType$inboundSchema.optional(), + createdAt: z.number().optional(), + deployHooks: z.array(z.lazy(() => LinkDeployHooks$inboundSchema)), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), + }); + +/** @internal */ +export type Link2$Outbound = { + projectId?: string | undefined; + projectName?: string | undefined; + projectNameWithNamespace?: string | undefined; + projectNamespace?: string | undefined; + projectOwnerId?: number | undefined; + projectUrl?: string | undefined; + type?: string | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +/** @internal */ +export const Link2$outboundSchema: z.ZodType< + Link2$Outbound, + z.ZodTypeDef, + Link2 +> = z.object({ + projectId: z.string().optional(), + projectName: z.string().optional(), + projectNameWithNamespace: z.string().optional(), + projectNamespace: z.string().optional(), + projectOwnerId: z.number().optional(), + projectUrl: z.string().optional(), + type: UpdateProjectDataCacheLinkType$outboundSchema.optional(), + createdAt: z.number().optional(), + deployHooks: z.array(z.lazy(() => LinkDeployHooks$outboundSchema)), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Link2$ { + /** @deprecated use `Link2$inboundSchema` instead. */ + export const inboundSchema = Link2$inboundSchema; + /** @deprecated use `Link2$outboundSchema` instead. */ + export const outboundSchema = Link2$outboundSchema; + /** @deprecated use `Link2$Outbound` instead. */ + export type Outbound = Link2$Outbound; +} + +export function link2ToJSON(link2: Link2): string { + return JSON.stringify(Link2$outboundSchema.parse(link2)); +} + +export function link2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Link2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Link2' from JSON`, + ); +} + +/** @internal */ +export const LinkType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(LinkType); + +/** @internal */ +export const LinkType$outboundSchema: z.ZodNativeEnum = + LinkType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace LinkType$ { + /** @deprecated use `LinkType$inboundSchema` instead. */ + export const inboundSchema = LinkType$inboundSchema; + /** @deprecated use `LinkType$outboundSchema` instead. */ + export const outboundSchema = LinkType$outboundSchema; +} + +/** @internal */ +export const DeployHooks$inboundSchema: z.ZodType< + DeployHooks, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** @internal */ +export type DeployHooks$Outbound = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +/** @internal */ +export const DeployHooks$outboundSchema: z.ZodType< + DeployHooks$Outbound, + z.ZodTypeDef, + DeployHooks +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeployHooks$ { + /** @deprecated use `DeployHooks$inboundSchema` instead. */ + export const inboundSchema = DeployHooks$inboundSchema; + /** @deprecated use `DeployHooks$outboundSchema` instead. */ + export const outboundSchema = DeployHooks$outboundSchema; + /** @deprecated use `DeployHooks$Outbound` instead. */ + export type Outbound = DeployHooks$Outbound; +} + +export function deployHooksToJSON(deployHooks: DeployHooks): string { + return JSON.stringify(DeployHooks$outboundSchema.parse(deployHooks)); +} + +export function deployHooksFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeployHooks$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeployHooks' from JSON`, + ); +} + +/** @internal */ +export const Link1$inboundSchema: z.ZodType = z + .object({ + org: z.string().optional(), + repoOwnerId: z.number().optional(), + repo: z.string().optional(), + repoId: z.number().optional(), + type: LinkType$inboundSchema.optional(), + createdAt: z.number().optional(), + deployHooks: z.array(z.lazy(() => DeployHooks$inboundSchema)), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), + }); + +/** @internal */ +export type Link1$Outbound = { + org?: string | undefined; + repoOwnerId?: number | undefined; + repo?: string | undefined; + repoId?: number | undefined; + type?: string | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +/** @internal */ +export const Link1$outboundSchema: z.ZodType< + Link1$Outbound, + z.ZodTypeDef, + Link1 +> = z.object({ + org: z.string().optional(), + repoOwnerId: z.number().optional(), + repo: z.string().optional(), + repoId: z.number().optional(), + type: LinkType$outboundSchema.optional(), + createdAt: z.number().optional(), + deployHooks: z.array(z.lazy(() => DeployHooks$outboundSchema)), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Link1$ { + /** @deprecated use `Link1$inboundSchema` instead. */ + export const inboundSchema = Link1$inboundSchema; + /** @deprecated use `Link1$outboundSchema` instead. */ + export const outboundSchema = Link1$outboundSchema; + /** @deprecated use `Link1$Outbound` instead. */ + export type Outbound = Link1$Outbound; +} + +export function link1ToJSON(link1: Link1): string { + return JSON.stringify(Link1$outboundSchema.parse(link1)); +} + +export function link1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Link1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Link1' from JSON`, + ); +} + +/** @internal */ +export const Link$inboundSchema: z.ZodType = z + .union([ + z.lazy(() => Link1$inboundSchema), + z.lazy(() => Link3$inboundSchema), + z.lazy(() => Link2$inboundSchema), + ]); + +/** @internal */ +export type Link$Outbound = Link1$Outbound | Link3$Outbound | Link2$Outbound; + +/** @internal */ +export const Link$outboundSchema: z.ZodType = + z.union([ + z.lazy(() => Link1$outboundSchema), + z.lazy(() => Link3$outboundSchema), + z.lazy(() => Link2$outboundSchema), + ]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Link$ { + /** @deprecated use `Link$inboundSchema` instead. */ + export const inboundSchema = Link$inboundSchema; + /** @deprecated use `Link$outboundSchema` instead. */ + export const outboundSchema = Link$outboundSchema; + /** @deprecated use `Link$Outbound` instead. */ + export type Outbound = Link$Outbound; +} + +export function linkToJSON(link: Link): string { + return JSON.stringify(Link$outboundSchema.parse(link)); +} + +export function linkFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Link$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Link' from JSON`, + ); +} + +/** @internal */ +export const Microfrontends$inboundSchema: z.ZodType< + Microfrontends, + z.ZodTypeDef, + unknown +> = z.object({ + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + isDefaultApp: z.boolean().optional(), + defaultRoute: z.string().optional(), +}); + +/** @internal */ +export type Microfrontends$Outbound = { + updatedAt: number; + groupIds: Array; + enabled: boolean; + isDefaultApp?: boolean | undefined; + defaultRoute?: string | undefined; +}; + +/** @internal */ +export const Microfrontends$outboundSchema: z.ZodType< + Microfrontends$Outbound, + z.ZodTypeDef, + Microfrontends +> = z.object({ + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + isDefaultApp: z.boolean().optional(), + defaultRoute: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Microfrontends$ { + /** @deprecated use `Microfrontends$inboundSchema` instead. */ + export const inboundSchema = Microfrontends$inboundSchema; + /** @deprecated use `Microfrontends$outboundSchema` instead. */ + export const outboundSchema = Microfrontends$outboundSchema; + /** @deprecated use `Microfrontends$Outbound` instead. */ + export type Outbound = Microfrontends$Outbound; +} + +export function microfrontendsToJSON(microfrontends: Microfrontends): string { + return JSON.stringify(Microfrontends$outboundSchema.parse(microfrontends)); +} + +export function microfrontendsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Microfrontends$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Microfrontends' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheNodeVersion$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheNodeVersion +> = z.nativeEnum(UpdateProjectDataCacheNodeVersion); + +/** @internal */ +export const UpdateProjectDataCacheNodeVersion$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheNodeVersion +> = UpdateProjectDataCacheNodeVersion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheNodeVersion$ { + /** @deprecated use `UpdateProjectDataCacheNodeVersion$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheNodeVersion$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheNodeVersion$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheNodeVersion$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCachePaths$inboundSchema: z.ZodType< + UpdateProjectDataCachePaths, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.string(), +}); + +/** @internal */ +export type UpdateProjectDataCachePaths$Outbound = { + value: string; +}; + +/** @internal */ +export const UpdateProjectDataCachePaths$outboundSchema: z.ZodType< + UpdateProjectDataCachePaths$Outbound, + z.ZodTypeDef, + UpdateProjectDataCachePaths +> = z.object({ + value: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCachePaths$ { + /** @deprecated use `UpdateProjectDataCachePaths$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCachePaths$inboundSchema; + /** @deprecated use `UpdateProjectDataCachePaths$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCachePaths$outboundSchema; + /** @deprecated use `UpdateProjectDataCachePaths$Outbound` instead. */ + export type Outbound = UpdateProjectDataCachePaths$Outbound; +} + +export function updateProjectDataCachePathsToJSON( + updateProjectDataCachePaths: UpdateProjectDataCachePaths, +): string { + return JSON.stringify( + UpdateProjectDataCachePaths$outboundSchema.parse( + updateProjectDataCachePaths, + ), + ); +} + +export function updateProjectDataCachePathsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDataCachePaths$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCachePaths' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheOptionsAllowlist$inboundSchema: z.ZodType< + UpdateProjectDataCacheOptionsAllowlist, + z.ZodTypeDef, + unknown +> = z.object({ + paths: z.array(z.lazy(() => UpdateProjectDataCachePaths$inboundSchema)), +}); + +/** @internal */ +export type UpdateProjectDataCacheOptionsAllowlist$Outbound = { + paths: Array; +}; + +/** @internal */ +export const UpdateProjectDataCacheOptionsAllowlist$outboundSchema: z.ZodType< + UpdateProjectDataCacheOptionsAllowlist$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheOptionsAllowlist +> = z.object({ + paths: z.array(z.lazy(() => UpdateProjectDataCachePaths$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheOptionsAllowlist$ { + /** @deprecated use `UpdateProjectDataCacheOptionsAllowlist$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheOptionsAllowlist$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheOptionsAllowlist$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheOptionsAllowlist$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheOptionsAllowlist$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheOptionsAllowlist$Outbound; +} + +export function updateProjectDataCacheOptionsAllowlistToJSON( + updateProjectDataCacheOptionsAllowlist: + UpdateProjectDataCacheOptionsAllowlist, +): string { + return JSON.stringify( + UpdateProjectDataCacheOptionsAllowlist$outboundSchema.parse( + updateProjectDataCacheOptionsAllowlist, + ), + ); +} + +export function updateProjectDataCacheOptionsAllowlistFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheOptionsAllowlist$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheOptionsAllowlist' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCachePasswordProtection$inboundSchema: z.ZodType< + UpdateProjectDataCachePasswordProtection, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type UpdateProjectDataCachePasswordProtection$Outbound = {}; + +/** @internal */ +export const UpdateProjectDataCachePasswordProtection$outboundSchema: z.ZodType< + UpdateProjectDataCachePasswordProtection$Outbound, + z.ZodTypeDef, + UpdateProjectDataCachePasswordProtection +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCachePasswordProtection$ { + /** @deprecated use `UpdateProjectDataCachePasswordProtection$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCachePasswordProtection$inboundSchema; + /** @deprecated use `UpdateProjectDataCachePasswordProtection$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCachePasswordProtection$outboundSchema; + /** @deprecated use `UpdateProjectDataCachePasswordProtection$Outbound` instead. */ + export type Outbound = UpdateProjectDataCachePasswordProtection$Outbound; +} + +export function updateProjectDataCachePasswordProtectionToJSON( + updateProjectDataCachePasswordProtection: + UpdateProjectDataCachePasswordProtection, +): string { + return JSON.stringify( + UpdateProjectDataCachePasswordProtection$outboundSchema.parse( + updateProjectDataCachePasswordProtection, + ), + ); +} + +export function updateProjectDataCachePasswordProtectionFromJSON( + jsonString: string, +): SafeParseResult< + UpdateProjectDataCachePasswordProtection, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCachePasswordProtection$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateProjectDataCachePasswordProtection' from JSON`, + ); +} + +/** @internal */ +export const FunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum< + typeof FunctionDefaultMemoryType +> = z.nativeEnum(FunctionDefaultMemoryType); + +/** @internal */ +export const FunctionDefaultMemoryType$outboundSchema: z.ZodNativeEnum< + typeof FunctionDefaultMemoryType +> = FunctionDefaultMemoryType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FunctionDefaultMemoryType$ { + /** @deprecated use `FunctionDefaultMemoryType$inboundSchema` instead. */ + export const inboundSchema = FunctionDefaultMemoryType$inboundSchema; + /** @deprecated use `FunctionDefaultMemoryType$outboundSchema` instead. */ + export const outboundSchema = FunctionDefaultMemoryType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheResourceConfig$inboundSchema: z.ZodType< + UpdateProjectDataCacheResourceConfig, + z.ZodTypeDef, + unknown +> = z.object({ + functionDefaultTimeout: z.number().optional(), + functionDefaultMemoryType: FunctionDefaultMemoryType$inboundSchema.optional(), + allowServerlessConcurrency: z.boolean().optional(), + elasticConcurrencyEnabled: z.boolean().optional(), +}); + +/** @internal */ +export type UpdateProjectDataCacheResourceConfig$Outbound = { + functionDefaultTimeout?: number | undefined; + functionDefaultMemoryType?: string | undefined; + allowServerlessConcurrency?: boolean | undefined; + elasticConcurrencyEnabled?: boolean | undefined; +}; + +/** @internal */ +export const UpdateProjectDataCacheResourceConfig$outboundSchema: z.ZodType< + UpdateProjectDataCacheResourceConfig$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheResourceConfig +> = z.object({ + functionDefaultTimeout: z.number().optional(), + functionDefaultMemoryType: FunctionDefaultMemoryType$outboundSchema + .optional(), + allowServerlessConcurrency: z.boolean().optional(), + elasticConcurrencyEnabled: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheResourceConfig$ { + /** @deprecated use `UpdateProjectDataCacheResourceConfig$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheResourceConfig$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheResourceConfig$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheResourceConfig$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheResourceConfig$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheResourceConfig$Outbound; +} + +export function updateProjectDataCacheResourceConfigToJSON( + updateProjectDataCacheResourceConfig: UpdateProjectDataCacheResourceConfig, +): string { + return JSON.stringify( + UpdateProjectDataCacheResourceConfig$outboundSchema.parse( + updateProjectDataCacheResourceConfig, + ), + ); +} + +export function updateProjectDataCacheResourceConfigFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheResourceConfig$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheResourceConfig' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheDeploymentType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateProjectDataCacheDeploymentType, + ); + +/** @internal */ +export const UpdateProjectDataCacheDeploymentType$outboundSchema: + z.ZodNativeEnum = + UpdateProjectDataCacheDeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheDeploymentType$ { + /** @deprecated use `UpdateProjectDataCacheDeploymentType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheDeploymentType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheDeploymentType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheDeploymentType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheSsoProtection$inboundSchema: z.ZodType< + UpdateProjectDataCacheSsoProtection, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentType: UpdateProjectDataCacheDeploymentType$inboundSchema, +}); + +/** @internal */ +export type UpdateProjectDataCacheSsoProtection$Outbound = { + deploymentType: string; +}; + +/** @internal */ +export const UpdateProjectDataCacheSsoProtection$outboundSchema: z.ZodType< + UpdateProjectDataCacheSsoProtection$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheSsoProtection +> = z.object({ + deploymentType: UpdateProjectDataCacheDeploymentType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheSsoProtection$ { + /** @deprecated use `UpdateProjectDataCacheSsoProtection$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheSsoProtection$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheSsoProtection$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheSsoProtection$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheSsoProtection$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheSsoProtection$Outbound; +} + +export function updateProjectDataCacheSsoProtectionToJSON( + updateProjectDataCacheSsoProtection: UpdateProjectDataCacheSsoProtection, +): string { + return JSON.stringify( + UpdateProjectDataCacheSsoProtection$outboundSchema.parse( + updateProjectDataCacheSsoProtection, + ), + ); +} + +export function updateProjectDataCacheSsoProtectionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheSsoProtection$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheSsoProtection' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheAliasAssigned$inboundSchema: z.ZodType< + UpdateProjectDataCacheAliasAssigned, + z.ZodTypeDef, + unknown +> = z.union([z.number(), z.boolean()]); + +/** @internal */ +export type UpdateProjectDataCacheAliasAssigned$Outbound = number | boolean; + +/** @internal */ +export const UpdateProjectDataCacheAliasAssigned$outboundSchema: z.ZodType< + UpdateProjectDataCacheAliasAssigned$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheAliasAssigned +> = z.union([z.number(), z.boolean()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheAliasAssigned$ { + /** @deprecated use `UpdateProjectDataCacheAliasAssigned$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheAliasAssigned$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheAliasAssigned$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheAliasAssigned$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheAliasAssigned$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheAliasAssigned$Outbound; +} + +export function updateProjectDataCacheAliasAssignedToJSON( + updateProjectDataCacheAliasAssigned: UpdateProjectDataCacheAliasAssigned, +): string { + return JSON.stringify( + UpdateProjectDataCacheAliasAssigned$outboundSchema.parse( + updateProjectDataCacheAliasAssigned, + ), + ); +} + +export function updateProjectDataCacheAliasAssignedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheAliasAssigned$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheAliasAssigned' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheAliasError$inboundSchema: z.ZodType< + UpdateProjectDataCacheAliasError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** @internal */ +export type UpdateProjectDataCacheAliasError$Outbound = { + code: string; + message: string; +}; + +/** @internal */ +export const UpdateProjectDataCacheAliasError$outboundSchema: z.ZodType< + UpdateProjectDataCacheAliasError$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheAliasError +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheAliasError$ { + /** @deprecated use `UpdateProjectDataCacheAliasError$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheAliasError$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheAliasError$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheAliasError$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheAliasError$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheAliasError$Outbound; +} + +export function updateProjectDataCacheAliasErrorToJSON( + updateProjectDataCacheAliasError: UpdateProjectDataCacheAliasError, +): string { + return JSON.stringify( + UpdateProjectDataCacheAliasError$outboundSchema.parse( + updateProjectDataCacheAliasError, + ), + ); +} + +export function updateProjectDataCacheAliasErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDataCacheAliasError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheAliasError' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType + > = z.nativeEnum( + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType, + ); + +/** @internal */ +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType + > = + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$ { + /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheBranchMatcher$inboundSchema: z.ZodType< + UpdateProjectDataCacheBranchMatcher, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, + pattern: z.string(), +}); + +/** @internal */ +export type UpdateProjectDataCacheBranchMatcher$Outbound = { + type: string; + pattern: string; +}; + +/** @internal */ +export const UpdateProjectDataCacheBranchMatcher$outboundSchema: z.ZodType< + UpdateProjectDataCacheBranchMatcher$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheBranchMatcher +> = z.object({ + type: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema, + pattern: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheBranchMatcher$ { + /** @deprecated use `UpdateProjectDataCacheBranchMatcher$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheBranchMatcher$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheBranchMatcher$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheBranchMatcher$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheBranchMatcher$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheBranchMatcher$Outbound; +} + +export function updateProjectDataCacheBranchMatcherToJSON( + updateProjectDataCacheBranchMatcher: UpdateProjectDataCacheBranchMatcher, +): string { + return JSON.stringify( + UpdateProjectDataCacheBranchMatcher$outboundSchema.parse( + updateProjectDataCacheBranchMatcher, + ), + ); +} + +export function updateProjectDataCacheBranchMatcherFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheBranchMatcher$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheBranchMatcher' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheBuilds$inboundSchema: z.ZodType< + UpdateProjectDataCacheBuilds, + z.ZodTypeDef, + unknown +> = z.object({ + use: z.string(), + src: z.string().optional(), + dest: z.string().optional(), +}); + +/** @internal */ +export type UpdateProjectDataCacheBuilds$Outbound = { + use: string; + src?: string | undefined; + dest?: string | undefined; +}; + +/** @internal */ +export const UpdateProjectDataCacheBuilds$outboundSchema: z.ZodType< + UpdateProjectDataCacheBuilds$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheBuilds +> = z.object({ + use: z.string(), + src: z.string().optional(), + dest: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheBuilds$ { + /** @deprecated use `UpdateProjectDataCacheBuilds$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheBuilds$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheBuilds$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheBuilds$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheBuilds$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheBuilds$Outbound; +} + +export function updateProjectDataCacheBuildsToJSON( + updateProjectDataCacheBuilds: UpdateProjectDataCacheBuilds, +): string { + return JSON.stringify( + UpdateProjectDataCacheBuilds$outboundSchema.parse( + updateProjectDataCacheBuilds, + ), + ); +} + +export function updateProjectDataCacheBuildsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDataCacheBuilds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheBuilds' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheChecksConclusion$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateProjectDataCacheChecksConclusion, + ); + +/** @internal */ +export const UpdateProjectDataCacheChecksConclusion$outboundSchema: + z.ZodNativeEnum = + UpdateProjectDataCacheChecksConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheChecksConclusion$ { + /** @deprecated use `UpdateProjectDataCacheChecksConclusion$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheChecksConclusion$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheChecksConclusion$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheChecksConclusion$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheChecksState$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheChecksState +> = z.nativeEnum(UpdateProjectDataCacheChecksState); + +/** @internal */ +export const UpdateProjectDataCacheChecksState$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheChecksState +> = UpdateProjectDataCacheChecksState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheChecksState$ { + /** @deprecated use `UpdateProjectDataCacheChecksState$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheChecksState$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheChecksState$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheChecksState$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheCreator$inboundSchema: z.ZodType< + UpdateProjectDataCacheCreator, + z.ZodTypeDef, + unknown +> = z.object({ + email: z.string(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), + uid: z.string(), + username: z.string(), +}); + +/** @internal */ +export type UpdateProjectDataCacheCreator$Outbound = { + email: string; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; + uid: string; + username: string; +}; + +/** @internal */ +export const UpdateProjectDataCacheCreator$outboundSchema: z.ZodType< + UpdateProjectDataCacheCreator$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheCreator +> = z.object({ + email: z.string(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), + uid: z.string(), + username: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheCreator$ { + /** @deprecated use `UpdateProjectDataCacheCreator$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheCreator$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheCreator$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheCreator$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheCreator$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheCreator$Outbound; +} + +export function updateProjectDataCacheCreatorToJSON( + updateProjectDataCacheCreator: UpdateProjectDataCacheCreator, +): string { + return JSON.stringify( + UpdateProjectDataCacheCreator$outboundSchema.parse( + updateProjectDataCacheCreator, + ), + ); +} + +export function updateProjectDataCacheCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDataCacheCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheCreator' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheOidcTokenClaims$inboundSchema: z.ZodType< + UpdateProjectDataCacheOidcTokenClaims, + z.ZodTypeDef, + unknown +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + owner_id: z.string(), + project: z.string(), + project_id: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + "owner_id": "ownerId", + "project_id": "projectId", + }); +}); + +/** @internal */ +export type UpdateProjectDataCacheOidcTokenClaims$Outbound = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + owner_id: string; + project: string; + project_id: string; + environment: string; +}; + +/** @internal */ +export const UpdateProjectDataCacheOidcTokenClaims$outboundSchema: z.ZodType< + UpdateProjectDataCacheOidcTokenClaims$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheOidcTokenClaims +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + ownerId: z.string(), + project: z.string(), + projectId: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + ownerId: "owner_id", + projectId: "project_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheOidcTokenClaims$ { + /** @deprecated use `UpdateProjectDataCacheOidcTokenClaims$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheOidcTokenClaims$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheOidcTokenClaims$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheOidcTokenClaims$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheOidcTokenClaims$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheOidcTokenClaims$Outbound; +} + +export function updateProjectDataCacheOidcTokenClaimsToJSON( + updateProjectDataCacheOidcTokenClaims: UpdateProjectDataCacheOidcTokenClaims, +): string { + return JSON.stringify( + UpdateProjectDataCacheOidcTokenClaims$outboundSchema.parse( + updateProjectDataCacheOidcTokenClaims, + ), + ); +} + +export function updateProjectDataCacheOidcTokenClaimsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheOidcTokenClaims' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCachePlan$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCachePlan +> = z.nativeEnum(UpdateProjectDataCachePlan); + +/** @internal */ +export const UpdateProjectDataCachePlan$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCachePlan +> = UpdateProjectDataCachePlan$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCachePlan$ { + /** @deprecated use `UpdateProjectDataCachePlan$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCachePlan$inboundSchema; + /** @deprecated use `UpdateProjectDataCachePlan$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCachePlan$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheReadyState$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheReadyState +> = z.nativeEnum(UpdateProjectDataCacheReadyState); + +/** @internal */ +export const UpdateProjectDataCacheReadyState$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheReadyState +> = UpdateProjectDataCacheReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheReadyState$ { + /** @deprecated use `UpdateProjectDataCacheReadyState$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheReadyState$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheReadyState$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheReadyState$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheReadySubstate$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheReadySubstate +> = z.nativeEnum(UpdateProjectDataCacheReadySubstate); + +/** @internal */ +export const UpdateProjectDataCacheReadySubstate$outboundSchema: + z.ZodNativeEnum = + UpdateProjectDataCacheReadySubstate$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheReadySubstate$ { + /** @deprecated use `UpdateProjectDataCacheReadySubstate$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheReadySubstate$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheReadySubstate$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheReadySubstate$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsType$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheProjectsType +> = z.nativeEnum(UpdateProjectDataCacheProjectsType); + +/** @internal */ +export const UpdateProjectDataCacheProjectsType$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheProjectsType +> = UpdateProjectDataCacheProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsType$ { + /** @deprecated use `UpdateProjectDataCacheProjectsType$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheProjectsType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsType$outboundSchema; +} + +/** @internal */ +export const Targets$inboundSchema: z.ZodType = + z.object({ + id: z.string(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + aliasError: z.nullable( + z.lazy(() => UpdateProjectDataCacheAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + branchMatcher: z.lazy(() => + UpdateProjectDataCacheBranchMatcher$inboundSchema + ).optional(), + buildingAt: z.number().optional(), + builds: z.array(z.lazy(() => UpdateProjectDataCacheBuilds$inboundSchema)) + .optional(), + checksConclusion: UpdateProjectDataCacheChecksConclusion$inboundSchema + .optional(), + checksState: UpdateProjectDataCacheChecksState$inboundSchema.optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdAt: z.number(), + createdIn: z.string(), + creator: z.nullable( + z.lazy(() => UpdateProjectDataCacheCreator$inboundSchema), + ), + deletedAt: z.number().optional(), + deploymentHostname: z.string(), + forced: z.boolean().optional(), + name: z.string(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + oidcTokenClaims: z.lazy(() => + UpdateProjectDataCacheOidcTokenClaims$inboundSchema + ).optional(), + plan: UpdateProjectDataCachePlan$inboundSchema, + previewCommentsEnabled: z.boolean().optional(), + private: z.boolean(), + readyAt: z.number().optional(), + readyState: UpdateProjectDataCacheReadyState$inboundSchema, + readySubstate: UpdateProjectDataCacheReadySubstate$inboundSchema.optional(), + requestedAt: z.number().optional(), + target: z.nullable(z.string()).optional(), + teamId: z.nullable(z.string()).optional(), + type: UpdateProjectDataCacheProjectsType$inboundSchema, + url: z.string(), + userId: z.string(), + withCache: z.boolean().optional(), + }); + +/** @internal */ +export type Targets$Outbound = { + id: string; + alias?: Array | undefined; + aliasAssigned?: number | boolean | null | undefined; + aliasError?: UpdateProjectDataCacheAliasError$Outbound | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + branchMatcher?: UpdateProjectDataCacheBranchMatcher$Outbound | undefined; + buildingAt?: number | undefined; + builds?: Array | undefined; + checksConclusion?: string | undefined; + checksState?: string | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdAt: number; + createdIn: string; + creator: UpdateProjectDataCacheCreator$Outbound | null; + deletedAt?: number | undefined; + deploymentHostname: string; + forced?: boolean | undefined; + name: string; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + oidcTokenClaims?: UpdateProjectDataCacheOidcTokenClaims$Outbound | undefined; + plan: string; + previewCommentsEnabled?: boolean | undefined; + private: boolean; + readyAt?: number | undefined; + readyState: string; + readySubstate?: string | undefined; + requestedAt?: number | undefined; + target?: string | null | undefined; + teamId?: string | null | undefined; + type: string; + url: string; + userId: string; + withCache?: boolean | undefined; +}; + +/** @internal */ +export const Targets$outboundSchema: z.ZodType< + Targets$Outbound, + z.ZodTypeDef, + Targets +> = z.object({ + id: z.string(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + aliasError: z.nullable( + z.lazy(() => UpdateProjectDataCacheAliasError$outboundSchema), + ).optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + branchMatcher: z.lazy(() => + UpdateProjectDataCacheBranchMatcher$outboundSchema + ).optional(), + buildingAt: z.number().optional(), + builds: z.array(z.lazy(() => UpdateProjectDataCacheBuilds$outboundSchema)) + .optional(), + checksConclusion: UpdateProjectDataCacheChecksConclusion$outboundSchema + .optional(), + checksState: UpdateProjectDataCacheChecksState$outboundSchema.optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdAt: z.number(), + createdIn: z.string(), + creator: z.nullable( + z.lazy(() => UpdateProjectDataCacheCreator$outboundSchema), + ), + deletedAt: z.number().optional(), + deploymentHostname: z.string(), + forced: z.boolean().optional(), + name: z.string(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + oidcTokenClaims: z.lazy(() => + UpdateProjectDataCacheOidcTokenClaims$outboundSchema + ).optional(), + plan: UpdateProjectDataCachePlan$outboundSchema, + previewCommentsEnabled: z.boolean().optional(), + private: z.boolean(), + readyAt: z.number().optional(), + readyState: UpdateProjectDataCacheReadyState$outboundSchema, + readySubstate: UpdateProjectDataCacheReadySubstate$outboundSchema.optional(), + requestedAt: z.number().optional(), + target: z.nullable(z.string()).optional(), + teamId: z.nullable(z.string()).optional(), + type: UpdateProjectDataCacheProjectsType$outboundSchema, + url: z.string(), + userId: z.string(), + withCache: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Targets$ { + /** @deprecated use `Targets$inboundSchema` instead. */ + export const inboundSchema = Targets$inboundSchema; + /** @deprecated use `Targets$outboundSchema` instead. */ + export const outboundSchema = Targets$outboundSchema; + /** @deprecated use `Targets$Outbound` instead. */ + export type Outbound = Targets$Outbound; +} + +export function targetsToJSON(targets: Targets): string { + return JSON.stringify(Targets$outboundSchema.parse(targets)); +} + +export function targetsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Targets$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Targets' from JSON`, + ); +} + +/** @internal */ +export const Permissions$inboundSchema: z.ZodType< + Permissions, + z.ZodTypeDef, + unknown +> = z.object({ + accessGroup: z.array(ACLAction$inboundSchema).optional(), + aliasGlobal: z.array(ACLAction$inboundSchema).optional(), + analyticsSampling: z.array(ACLAction$inboundSchema).optional(), + analyticsUsage: z.array(ACLAction$inboundSchema).optional(), + auditLog: z.array(ACLAction$inboundSchema).optional(), + billingAddress: z.array(ACLAction$inboundSchema).optional(), + billingInformation: z.array(ACLAction$inboundSchema).optional(), + billingInvoice: z.array(ACLAction$inboundSchema).optional(), + billingInvoiceEmailRecipient: z.array(ACLAction$inboundSchema).optional(), + billingInvoiceLanguage: z.array(ACLAction$inboundSchema).optional(), + billingPlan: z.array(ACLAction$inboundSchema).optional(), + billingPurchaseOrder: z.array(ACLAction$inboundSchema).optional(), + billingTaxId: z.array(ACLAction$inboundSchema).optional(), + blob: z.array(ACLAction$inboundSchema).optional(), + budget: z.array(ACLAction$inboundSchema).optional(), + cacheArtifact: z.array(ACLAction$inboundSchema).optional(), + cacheArtifactUsageEvent: z.array(ACLAction$inboundSchema).optional(), + codeChecks: z.array(ACLAction$inboundSchema).optional(), + concurrentBuilds: z.array(ACLAction$inboundSchema).optional(), + connect: z.array(ACLAction$inboundSchema).optional(), + connectConfiguration: z.array(ACLAction$inboundSchema).optional(), + domain: z.array(ACLAction$inboundSchema).optional(), + domainAcceptDelegation: z.array(ACLAction$inboundSchema).optional(), + domainAuthCodes: z.array(ACLAction$inboundSchema).optional(), + domainCertificate: z.array(ACLAction$inboundSchema).optional(), + domainCheckConfig: z.array(ACLAction$inboundSchema).optional(), + domainMove: z.array(ACLAction$inboundSchema).optional(), + domainPurchase: z.array(ACLAction$inboundSchema).optional(), + domainRecord: z.array(ACLAction$inboundSchema).optional(), + domainTransferIn: z.array(ACLAction$inboundSchema).optional(), + event: z.array(ACLAction$inboundSchema).optional(), + ownEvent: z.array(ACLAction$inboundSchema).optional(), + sensitiveEnvironmentVariablePolicy: z.array(ACLAction$inboundSchema) + .optional(), + fileUpload: z.array(ACLAction$inboundSchema).optional(), + gitRepository: z.array(ACLAction$inboundSchema).optional(), + ipBlocking: z.array(ACLAction$inboundSchema).optional(), + integration: z.array(ACLAction$inboundSchema).optional(), + integrationAccount: z.array(ACLAction$inboundSchema).optional(), + integrationConfiguration: z.array(ACLAction$inboundSchema).optional(), + integrationConfigurationTransfer: z.array(ACLAction$inboundSchema).optional(), + integrationConfigurationProjects: z.array(ACLAction$inboundSchema).optional(), + integrationVercelConfigurationOverride: z.array(ACLAction$inboundSchema) + .optional(), + integrationConfigurationRole: z.array(ACLAction$inboundSchema).optional(), + integrationResource: z.array(ACLAction$inboundSchema).optional(), + integrationEvent: z.array(ACLAction$inboundSchema).optional(), + integrationResourceSecrets: z.array(ACLAction$inboundSchema).optional(), + integrationDeploymentAction: z.array(ACLAction$inboundSchema).optional(), + marketplaceInstallationMember: z.array(ACLAction$inboundSchema).optional(), + marketplaceBillingData: z.array(ACLAction$inboundSchema).optional(), + marketplaceInvoice: z.array(ACLAction$inboundSchema).optional(), + jobGlobal: z.array(ACLAction$inboundSchema).optional(), + logDrain: z.array(ACLAction$inboundSchema).optional(), + Monitoring: z.array(ACLAction$inboundSchema).optional(), + monitoringSettings: z.array(ACLAction$inboundSchema).optional(), + monitoringQuery: z.array(ACLAction$inboundSchema).optional(), + monitoringChart: z.array(ACLAction$inboundSchema).optional(), + monitoringAlert: z.array(ACLAction$inboundSchema).optional(), + notificationDeploymentFailed: z.array(ACLAction$inboundSchema).optional(), + notificationDomainConfiguration: z.array(ACLAction$inboundSchema).optional(), + notificationDomainExpire: z.array(ACLAction$inboundSchema).optional(), + notificationDomainMoved: z.array(ACLAction$inboundSchema).optional(), + notificationDomainPurchase: z.array(ACLAction$inboundSchema).optional(), + notificationDomainRenewal: z.array(ACLAction$inboundSchema).optional(), + notificationDomainTransfer: z.array(ACLAction$inboundSchema).optional(), + notificationDomainUnverified: z.array(ACLAction$inboundSchema).optional(), + NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(), + notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(), + notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(), + notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), + notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(), + oauth2Connection: z.array(ACLAction$inboundSchema).optional(), + observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(), + openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(), + paymentMethod: z.array(ACLAction$inboundSchema).optional(), + permissions: z.array(ACLAction$inboundSchema).optional(), + postgres: z.array(ACLAction$inboundSchema).optional(), + previewDeploymentSuffix: z.array(ACLAction$inboundSchema).optional(), + proTrialOnboarding: z.array(ACLAction$inboundSchema).optional(), + sharedEnvVars: z.array(ACLAction$inboundSchema).optional(), + sharedEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(), + space: z.array(ACLAction$inboundSchema).optional(), + spaceRun: z.array(ACLAction$inboundSchema).optional(), + passwordProtectionInvoiceItem: z.array(ACLAction$inboundSchema).optional(), + rateLimit: z.array(ACLAction$inboundSchema).optional(), + redis: z.array(ACLAction$inboundSchema).optional(), + repository: z.array(ACLAction$inboundSchema).optional(), + remoteCaching: z.array(ACLAction$inboundSchema).optional(), + samlConfig: z.array(ACLAction$inboundSchema).optional(), + secret: z.array(ACLAction$inboundSchema).optional(), + redisStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + blobStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + postgresStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + integrationStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + integrationResourceReplCommand: z.array(ACLAction$inboundSchema).optional(), + storeTransfer: z.array(ACLAction$inboundSchema).optional(), + supportCase: z.array(ACLAction$inboundSchema).optional(), + supportCaseComment: z.array(ACLAction$inboundSchema).optional(), + dataCacheBillingSettings: z.array(ACLAction$inboundSchema).optional(), + team: z.array(ACLAction$inboundSchema).optional(), + teamAccessRequest: z.array(ACLAction$inboundSchema).optional(), + teamFellowMembership: z.array(ACLAction$inboundSchema).optional(), + teamGitExclusivity: z.array(ACLAction$inboundSchema).optional(), + teamInvite: z.array(ACLAction$inboundSchema).optional(), + teamInviteCode: z.array(ACLAction$inboundSchema).optional(), + teamJoin: z.array(ACLAction$inboundSchema).optional(), + teamMicrofrontends: z.array(ACLAction$inboundSchema).optional(), + teamOwnMembership: z.array(ACLAction$inboundSchema).optional(), + teamOwnMembershipDisconnectSAML: z.array(ACLAction$inboundSchema).optional(), + token: z.array(ACLAction$inboundSchema).optional(), + usage: z.array(ACLAction$inboundSchema).optional(), + usageCycle: z.array(ACLAction$inboundSchema).optional(), + user: z.array(ACLAction$inboundSchema).optional(), + userConnection: z.array(ACLAction$inboundSchema).optional(), + vpcPeeringConnection: z.array(ACLAction$inboundSchema).optional(), + webAnalyticsPlan: z.array(ACLAction$inboundSchema).optional(), + webAuthn: z.array(ACLAction$inboundSchema).optional(), + edgeConfig: z.array(ACLAction$inboundSchema).optional(), + edgeConfigItem: z.array(ACLAction$inboundSchema).optional(), + edgeConfigSchema: z.array(ACLAction$inboundSchema).optional(), + edgeConfigToken: z.array(ACLAction$inboundSchema).optional(), + webhook: z.array(ACLAction$inboundSchema).optional(), + "webhook-event": z.array(ACLAction$inboundSchema).optional(), + endpointVerification: z.array(ACLAction$inboundSchema).optional(), + projectTransferIn: z.array(ACLAction$inboundSchema).optional(), + oauth2Application: z.array(ACLAction$inboundSchema).optional(), + aliasProject: z.array(ACLAction$inboundSchema).optional(), + aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), + productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), + connectConfigurationLink: z.array(ACLAction$inboundSchema).optional(), + dataCacheNamespace: z.array(ACLAction$inboundSchema).optional(), + deployment: z.array(ACLAction$inboundSchema).optional(), + deploymentCheck: z.array(ACLAction$inboundSchema).optional(), + deploymentCheckPreview: z.array(ACLAction$inboundSchema).optional(), + deploymentCheckReRunFromProductionBranch: z.array(ACLAction$inboundSchema) + .optional(), + deploymentProductionGit: z.array(ACLAction$inboundSchema).optional(), + deploymentV0: z.array(ACLAction$inboundSchema).optional(), + deploymentPreview: z.array(ACLAction$inboundSchema).optional(), + deploymentPrivate: z.array(ACLAction$inboundSchema).optional(), + deploymentPromote: z.array(ACLAction$inboundSchema).optional(), + deploymentRollback: z.array(ACLAction$inboundSchema).optional(), + environments: z.array(ACLAction$inboundSchema).optional(), + logs: z.array(ACLAction$inboundSchema).optional(), + logsPreset: z.array(ACLAction$inboundSchema).optional(), + passwordProtection: z.array(ACLAction$inboundSchema).optional(), + optionsAllowlist: z.array(ACLAction$inboundSchema).optional(), + job: z.array(ACLAction$inboundSchema).optional(), + observabilityData: z.array(ACLAction$inboundSchema).optional(), + project: z.array(ACLAction$inboundSchema).optional(), + projectFromV0: z.array(ACLAction$inboundSchema).optional(), + projectAccessGroup: z.array(ACLAction$inboundSchema).optional(), + projectAnalyticsSampling: z.array(ACLAction$inboundSchema).optional(), + projectDeploymentHook: z.array(ACLAction$inboundSchema).optional(), + projectDomain: z.array(ACLAction$inboundSchema).optional(), + projectDomainMove: z.array(ACLAction$inboundSchema).optional(), + projectDomainCheckConfig: z.array(ACLAction$inboundSchema).optional(), + projectEnvVars: z.array(ACLAction$inboundSchema).optional(), + projectEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(), + projectEnvVarsUnownedByIntegration: z.array(ACLAction$inboundSchema) + .optional(), + projectFlags: z.array(ACLAction$inboundSchema).optional(), + projectId: z.array(ACLAction$inboundSchema).optional(), + projectIntegrationConfiguration: z.array(ACLAction$inboundSchema).optional(), + projectLink: z.array(ACLAction$inboundSchema).optional(), + projectMember: z.array(ACLAction$inboundSchema).optional(), + projectMonitoring: z.array(ACLAction$inboundSchema).optional(), + projectPermissions: z.array(ACLAction$inboundSchema).optional(), + projectProductionBranch: z.array(ACLAction$inboundSchema).optional(), + projectTransfer: z.array(ACLAction$inboundSchema).optional(), + projectTransferOut: z.array(ACLAction$inboundSchema).optional(), + projectProtectionBypass: z.array(ACLAction$inboundSchema).optional(), + projectUsage: z.array(ACLAction$inboundSchema).optional(), + projectAnalyticsUsage: z.array(ACLAction$inboundSchema).optional(), + projectSupportCase: z.array(ACLAction$inboundSchema).optional(), + projectSupportCaseComment: z.array(ACLAction$inboundSchema).optional(), + projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(), + projectTier: z.array(ACLAction$inboundSchema).optional(), + seawallConfig: z.array(ACLAction$inboundSchema).optional(), + skewProtection: z.array(ACLAction$inboundSchema).optional(), + analytics: z.array(ACLAction$inboundSchema).optional(), + trustedIps: z.array(ACLAction$inboundSchema).optional(), + webAnalytics: z.array(ACLAction$inboundSchema).optional(), + sharedEnvVarConnection: z.array(ACLAction$inboundSchema).optional(), + sonar: z.array(ACLAction$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "Monitoring": "monitoring", + "NotificationMonitoringAlert": "notificationMonitoringAlert", + "webhook-event": "webhookEvent", + }); +}); + +/** @internal */ +export type Permissions$Outbound = { + accessGroup?: Array | undefined; + aliasGlobal?: Array | undefined; + analyticsSampling?: Array | undefined; + analyticsUsage?: Array | undefined; + auditLog?: Array | undefined; + billingAddress?: Array | undefined; + billingInformation?: Array | undefined; + billingInvoice?: Array | undefined; + billingInvoiceEmailRecipient?: Array | undefined; + billingInvoiceLanguage?: Array | undefined; + billingPlan?: Array | undefined; + billingPurchaseOrder?: Array | undefined; + billingTaxId?: Array | undefined; + blob?: Array | undefined; + budget?: Array | undefined; + cacheArtifact?: Array | undefined; + cacheArtifactUsageEvent?: Array | undefined; + codeChecks?: Array | undefined; + concurrentBuilds?: Array | undefined; + connect?: Array | undefined; + connectConfiguration?: Array | undefined; + domain?: Array | undefined; + domainAcceptDelegation?: Array | undefined; + domainAuthCodes?: Array | undefined; + domainCertificate?: Array | undefined; + domainCheckConfig?: Array | undefined; + domainMove?: Array | undefined; + domainPurchase?: Array | undefined; + domainRecord?: Array | undefined; + domainTransferIn?: Array | undefined; + event?: Array | undefined; + ownEvent?: Array | undefined; + sensitiveEnvironmentVariablePolicy?: Array | undefined; + fileUpload?: Array | undefined; + gitRepository?: Array | undefined; + ipBlocking?: Array | undefined; + integration?: Array | undefined; + integrationAccount?: Array | undefined; + integrationConfiguration?: Array | undefined; + integrationConfigurationTransfer?: Array | undefined; + integrationConfigurationProjects?: Array | undefined; + integrationVercelConfigurationOverride?: Array | undefined; + integrationConfigurationRole?: Array | undefined; + integrationResource?: Array | undefined; + integrationEvent?: Array | undefined; + integrationResourceSecrets?: Array | undefined; + integrationDeploymentAction?: Array | undefined; + marketplaceInstallationMember?: Array | undefined; + marketplaceBillingData?: Array | undefined; + marketplaceInvoice?: Array | undefined; + jobGlobal?: Array | undefined; + logDrain?: Array | undefined; + Monitoring?: Array | undefined; + monitoringSettings?: Array | undefined; + monitoringQuery?: Array | undefined; + monitoringChart?: Array | undefined; + monitoringAlert?: Array | undefined; + notificationDeploymentFailed?: Array | undefined; + notificationDomainConfiguration?: Array | undefined; + notificationDomainExpire?: Array | undefined; + notificationDomainMoved?: Array | undefined; + notificationDomainPurchase?: Array | undefined; + notificationDomainRenewal?: Array | undefined; + notificationDomainTransfer?: Array | undefined; + notificationDomainUnverified?: Array | undefined; + NotificationMonitoringAlert?: Array | undefined; + notificationPaymentFailed?: Array | undefined; + notificationUsageAlert?: Array | undefined; + notificationCustomerBudget?: Array | undefined; + notificationStatementOfReasons?: Array | undefined; + oauth2Connection?: Array | undefined; + observabilityConfiguration?: Array | undefined; + openTelemetryEndpoint?: Array | undefined; + paymentMethod?: Array | undefined; + permissions?: Array | undefined; + postgres?: Array | undefined; + previewDeploymentSuffix?: Array | undefined; + proTrialOnboarding?: Array | undefined; + sharedEnvVars?: Array | undefined; + sharedEnvVarsProduction?: Array | undefined; + space?: Array | undefined; + spaceRun?: Array | undefined; + passwordProtectionInvoiceItem?: Array | undefined; + rateLimit?: Array | undefined; + redis?: Array | undefined; + repository?: Array | undefined; + remoteCaching?: Array | undefined; + samlConfig?: Array | undefined; + secret?: Array | undefined; + redisStoreTokenSet?: Array | undefined; + blobStoreTokenSet?: Array | undefined; + postgresStoreTokenSet?: Array | undefined; + integrationStoreTokenSet?: Array | undefined; + integrationResourceReplCommand?: Array | undefined; + storeTransfer?: Array | undefined; + supportCase?: Array | undefined; + supportCaseComment?: Array | undefined; + dataCacheBillingSettings?: Array | undefined; + team?: Array | undefined; + teamAccessRequest?: Array | undefined; + teamFellowMembership?: Array | undefined; + teamGitExclusivity?: Array | undefined; + teamInvite?: Array | undefined; + teamInviteCode?: Array | undefined; + teamJoin?: Array | undefined; + teamMicrofrontends?: Array | undefined; + teamOwnMembership?: Array | undefined; + teamOwnMembershipDisconnectSAML?: Array | undefined; + token?: Array | undefined; + usage?: Array | undefined; + usageCycle?: Array | undefined; + user?: Array | undefined; + userConnection?: Array | undefined; + vpcPeeringConnection?: Array | undefined; + webAnalyticsPlan?: Array | undefined; + webAuthn?: Array | undefined; + edgeConfig?: Array | undefined; + edgeConfigItem?: Array | undefined; + edgeConfigSchema?: Array | undefined; + edgeConfigToken?: Array | undefined; + webhook?: Array | undefined; + "webhook-event"?: Array | undefined; + endpointVerification?: Array | undefined; + projectTransferIn?: Array | undefined; + oauth2Application?: Array | undefined; + aliasProject?: Array | undefined; + aliasProtectionBypass?: Array | undefined; + productionAliasProtectionBypass?: Array | undefined; + connectConfigurationLink?: Array | undefined; + dataCacheNamespace?: Array | undefined; + deployment?: Array | undefined; + deploymentCheck?: Array | undefined; + deploymentCheckPreview?: Array | undefined; + deploymentCheckReRunFromProductionBranch?: Array | undefined; + deploymentProductionGit?: Array | undefined; + deploymentV0?: Array | undefined; + deploymentPreview?: Array | undefined; + deploymentPrivate?: Array | undefined; + deploymentPromote?: Array | undefined; + deploymentRollback?: Array | undefined; + environments?: Array | undefined; + logs?: Array | undefined; + logsPreset?: Array | undefined; + passwordProtection?: Array | undefined; + optionsAllowlist?: Array | undefined; + job?: Array | undefined; + observabilityData?: Array | undefined; + project?: Array | undefined; + projectFromV0?: Array | undefined; + projectAccessGroup?: Array | undefined; + projectAnalyticsSampling?: Array | undefined; + projectDeploymentHook?: Array | undefined; + projectDomain?: Array | undefined; + projectDomainMove?: Array | undefined; + projectDomainCheckConfig?: Array | undefined; + projectEnvVars?: Array | undefined; + projectEnvVarsProduction?: Array | undefined; + projectEnvVarsUnownedByIntegration?: Array | undefined; + projectFlags?: Array | undefined; + projectId?: Array | undefined; + projectIntegrationConfiguration?: Array | undefined; + projectLink?: Array | undefined; + projectMember?: Array | undefined; + projectMonitoring?: Array | undefined; + projectPermissions?: Array | undefined; + projectProductionBranch?: Array | undefined; + projectTransfer?: Array | undefined; + projectTransferOut?: Array | undefined; + projectProtectionBypass?: Array | undefined; + projectUsage?: Array | undefined; + projectAnalyticsUsage?: Array | undefined; + projectSupportCase?: Array | undefined; + projectSupportCaseComment?: Array | undefined; + projectDeploymentExpiration?: Array | undefined; + projectTier?: Array | undefined; + seawallConfig?: Array | undefined; + skewProtection?: Array | undefined; + analytics?: Array | undefined; + trustedIps?: Array | undefined; + webAnalytics?: Array | undefined; + sharedEnvVarConnection?: Array | undefined; + sonar?: Array | undefined; +}; + +/** @internal */ +export const Permissions$outboundSchema: z.ZodType< + Permissions$Outbound, + z.ZodTypeDef, + Permissions +> = z.object({ + accessGroup: z.array(ACLAction$outboundSchema).optional(), + aliasGlobal: z.array(ACLAction$outboundSchema).optional(), + analyticsSampling: z.array(ACLAction$outboundSchema).optional(), + analyticsUsage: z.array(ACLAction$outboundSchema).optional(), + auditLog: z.array(ACLAction$outboundSchema).optional(), + billingAddress: z.array(ACLAction$outboundSchema).optional(), + billingInformation: z.array(ACLAction$outboundSchema).optional(), + billingInvoice: z.array(ACLAction$outboundSchema).optional(), + billingInvoiceEmailRecipient: z.array(ACLAction$outboundSchema).optional(), + billingInvoiceLanguage: z.array(ACLAction$outboundSchema).optional(), + billingPlan: z.array(ACLAction$outboundSchema).optional(), + billingPurchaseOrder: z.array(ACLAction$outboundSchema).optional(), + billingTaxId: z.array(ACLAction$outboundSchema).optional(), + blob: z.array(ACLAction$outboundSchema).optional(), + budget: z.array(ACLAction$outboundSchema).optional(), + cacheArtifact: z.array(ACLAction$outboundSchema).optional(), + cacheArtifactUsageEvent: z.array(ACLAction$outboundSchema).optional(), + codeChecks: z.array(ACLAction$outboundSchema).optional(), + concurrentBuilds: z.array(ACLAction$outboundSchema).optional(), + connect: z.array(ACLAction$outboundSchema).optional(), + connectConfiguration: z.array(ACLAction$outboundSchema).optional(), + domain: z.array(ACLAction$outboundSchema).optional(), + domainAcceptDelegation: z.array(ACLAction$outboundSchema).optional(), + domainAuthCodes: z.array(ACLAction$outboundSchema).optional(), + domainCertificate: z.array(ACLAction$outboundSchema).optional(), + domainCheckConfig: z.array(ACLAction$outboundSchema).optional(), + domainMove: z.array(ACLAction$outboundSchema).optional(), + domainPurchase: z.array(ACLAction$outboundSchema).optional(), + domainRecord: z.array(ACLAction$outboundSchema).optional(), + domainTransferIn: z.array(ACLAction$outboundSchema).optional(), + event: z.array(ACLAction$outboundSchema).optional(), + ownEvent: z.array(ACLAction$outboundSchema).optional(), + sensitiveEnvironmentVariablePolicy: z.array(ACLAction$outboundSchema) + .optional(), + fileUpload: z.array(ACLAction$outboundSchema).optional(), + gitRepository: z.array(ACLAction$outboundSchema).optional(), + ipBlocking: z.array(ACLAction$outboundSchema).optional(), + integration: z.array(ACLAction$outboundSchema).optional(), + integrationAccount: z.array(ACLAction$outboundSchema).optional(), + integrationConfiguration: z.array(ACLAction$outboundSchema).optional(), + integrationConfigurationTransfer: z.array(ACLAction$outboundSchema) + .optional(), + integrationConfigurationProjects: z.array(ACLAction$outboundSchema) + .optional(), + integrationVercelConfigurationOverride: z.array(ACLAction$outboundSchema) + .optional(), + integrationConfigurationRole: z.array(ACLAction$outboundSchema).optional(), + integrationResource: z.array(ACLAction$outboundSchema).optional(), + integrationEvent: z.array(ACLAction$outboundSchema).optional(), + integrationResourceSecrets: z.array(ACLAction$outboundSchema).optional(), + integrationDeploymentAction: z.array(ACLAction$outboundSchema).optional(), + marketplaceInstallationMember: z.array(ACLAction$outboundSchema).optional(), + marketplaceBillingData: z.array(ACLAction$outboundSchema).optional(), + marketplaceInvoice: z.array(ACLAction$outboundSchema).optional(), + jobGlobal: z.array(ACLAction$outboundSchema).optional(), + logDrain: z.array(ACLAction$outboundSchema).optional(), + monitoring: z.array(ACLAction$outboundSchema).optional(), + monitoringSettings: z.array(ACLAction$outboundSchema).optional(), + monitoringQuery: z.array(ACLAction$outboundSchema).optional(), + monitoringChart: z.array(ACLAction$outboundSchema).optional(), + monitoringAlert: z.array(ACLAction$outboundSchema).optional(), + notificationDeploymentFailed: z.array(ACLAction$outboundSchema).optional(), + notificationDomainConfiguration: z.array(ACLAction$outboundSchema).optional(), + notificationDomainExpire: z.array(ACLAction$outboundSchema).optional(), + notificationDomainMoved: z.array(ACLAction$outboundSchema).optional(), + notificationDomainPurchase: z.array(ACLAction$outboundSchema).optional(), + notificationDomainRenewal: z.array(ACLAction$outboundSchema).optional(), + notificationDomainTransfer: z.array(ACLAction$outboundSchema).optional(), + notificationDomainUnverified: z.array(ACLAction$outboundSchema).optional(), + notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(), + notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(), + notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(), + notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), + notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(), + oauth2Connection: z.array(ACLAction$outboundSchema).optional(), + observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(), + openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(), + paymentMethod: z.array(ACLAction$outboundSchema).optional(), + permissions: z.array(ACLAction$outboundSchema).optional(), + postgres: z.array(ACLAction$outboundSchema).optional(), + previewDeploymentSuffix: z.array(ACLAction$outboundSchema).optional(), + proTrialOnboarding: z.array(ACLAction$outboundSchema).optional(), + sharedEnvVars: z.array(ACLAction$outboundSchema).optional(), + sharedEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(), + space: z.array(ACLAction$outboundSchema).optional(), + spaceRun: z.array(ACLAction$outboundSchema).optional(), + passwordProtectionInvoiceItem: z.array(ACLAction$outboundSchema).optional(), + rateLimit: z.array(ACLAction$outboundSchema).optional(), + redis: z.array(ACLAction$outboundSchema).optional(), + repository: z.array(ACLAction$outboundSchema).optional(), + remoteCaching: z.array(ACLAction$outboundSchema).optional(), + samlConfig: z.array(ACLAction$outboundSchema).optional(), + secret: z.array(ACLAction$outboundSchema).optional(), + redisStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + blobStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + postgresStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + integrationStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + integrationResourceReplCommand: z.array(ACLAction$outboundSchema).optional(), + storeTransfer: z.array(ACLAction$outboundSchema).optional(), + supportCase: z.array(ACLAction$outboundSchema).optional(), + supportCaseComment: z.array(ACLAction$outboundSchema).optional(), + dataCacheBillingSettings: z.array(ACLAction$outboundSchema).optional(), + team: z.array(ACLAction$outboundSchema).optional(), + teamAccessRequest: z.array(ACLAction$outboundSchema).optional(), + teamFellowMembership: z.array(ACLAction$outboundSchema).optional(), + teamGitExclusivity: z.array(ACLAction$outboundSchema).optional(), + teamInvite: z.array(ACLAction$outboundSchema).optional(), + teamInviteCode: z.array(ACLAction$outboundSchema).optional(), + teamJoin: z.array(ACLAction$outboundSchema).optional(), + teamMicrofrontends: z.array(ACLAction$outboundSchema).optional(), + teamOwnMembership: z.array(ACLAction$outboundSchema).optional(), + teamOwnMembershipDisconnectSAML: z.array(ACLAction$outboundSchema).optional(), + token: z.array(ACLAction$outboundSchema).optional(), + usage: z.array(ACLAction$outboundSchema).optional(), + usageCycle: z.array(ACLAction$outboundSchema).optional(), + user: z.array(ACLAction$outboundSchema).optional(), + userConnection: z.array(ACLAction$outboundSchema).optional(), + vpcPeeringConnection: z.array(ACLAction$outboundSchema).optional(), + webAnalyticsPlan: z.array(ACLAction$outboundSchema).optional(), + webAuthn: z.array(ACLAction$outboundSchema).optional(), + edgeConfig: z.array(ACLAction$outboundSchema).optional(), + edgeConfigItem: z.array(ACLAction$outboundSchema).optional(), + edgeConfigSchema: z.array(ACLAction$outboundSchema).optional(), + edgeConfigToken: z.array(ACLAction$outboundSchema).optional(), + webhook: z.array(ACLAction$outboundSchema).optional(), + webhookEvent: z.array(ACLAction$outboundSchema).optional(), + endpointVerification: z.array(ACLAction$outboundSchema).optional(), + projectTransferIn: z.array(ACLAction$outboundSchema).optional(), + oauth2Application: z.array(ACLAction$outboundSchema).optional(), + aliasProject: z.array(ACLAction$outboundSchema).optional(), + aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), + productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), + connectConfigurationLink: z.array(ACLAction$outboundSchema).optional(), + dataCacheNamespace: z.array(ACLAction$outboundSchema).optional(), + deployment: z.array(ACLAction$outboundSchema).optional(), + deploymentCheck: z.array(ACLAction$outboundSchema).optional(), + deploymentCheckPreview: z.array(ACLAction$outboundSchema).optional(), + deploymentCheckReRunFromProductionBranch: z.array(ACLAction$outboundSchema) + .optional(), + deploymentProductionGit: z.array(ACLAction$outboundSchema).optional(), + deploymentV0: z.array(ACLAction$outboundSchema).optional(), + deploymentPreview: z.array(ACLAction$outboundSchema).optional(), + deploymentPrivate: z.array(ACLAction$outboundSchema).optional(), + deploymentPromote: z.array(ACLAction$outboundSchema).optional(), + deploymentRollback: z.array(ACLAction$outboundSchema).optional(), + environments: z.array(ACLAction$outboundSchema).optional(), + logs: z.array(ACLAction$outboundSchema).optional(), + logsPreset: z.array(ACLAction$outboundSchema).optional(), + passwordProtection: z.array(ACLAction$outboundSchema).optional(), + optionsAllowlist: z.array(ACLAction$outboundSchema).optional(), + job: z.array(ACLAction$outboundSchema).optional(), + observabilityData: z.array(ACLAction$outboundSchema).optional(), + project: z.array(ACLAction$outboundSchema).optional(), + projectFromV0: z.array(ACLAction$outboundSchema).optional(), + projectAccessGroup: z.array(ACLAction$outboundSchema).optional(), + projectAnalyticsSampling: z.array(ACLAction$outboundSchema).optional(), + projectDeploymentHook: z.array(ACLAction$outboundSchema).optional(), + projectDomain: z.array(ACLAction$outboundSchema).optional(), + projectDomainMove: z.array(ACLAction$outboundSchema).optional(), + projectDomainCheckConfig: z.array(ACLAction$outboundSchema).optional(), + projectEnvVars: z.array(ACLAction$outboundSchema).optional(), + projectEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(), + projectEnvVarsUnownedByIntegration: z.array(ACLAction$outboundSchema) + .optional(), + projectFlags: z.array(ACLAction$outboundSchema).optional(), + projectId: z.array(ACLAction$outboundSchema).optional(), + projectIntegrationConfiguration: z.array(ACLAction$outboundSchema).optional(), + projectLink: z.array(ACLAction$outboundSchema).optional(), + projectMember: z.array(ACLAction$outboundSchema).optional(), + projectMonitoring: z.array(ACLAction$outboundSchema).optional(), + projectPermissions: z.array(ACLAction$outboundSchema).optional(), + projectProductionBranch: z.array(ACLAction$outboundSchema).optional(), + projectTransfer: z.array(ACLAction$outboundSchema).optional(), + projectTransferOut: z.array(ACLAction$outboundSchema).optional(), + projectProtectionBypass: z.array(ACLAction$outboundSchema).optional(), + projectUsage: z.array(ACLAction$outboundSchema).optional(), + projectAnalyticsUsage: z.array(ACLAction$outboundSchema).optional(), + projectSupportCase: z.array(ACLAction$outboundSchema).optional(), + projectSupportCaseComment: z.array(ACLAction$outboundSchema).optional(), + projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(), + projectTier: z.array(ACLAction$outboundSchema).optional(), + seawallConfig: z.array(ACLAction$outboundSchema).optional(), + skewProtection: z.array(ACLAction$outboundSchema).optional(), + analytics: z.array(ACLAction$outboundSchema).optional(), + trustedIps: z.array(ACLAction$outboundSchema).optional(), + webAnalytics: z.array(ACLAction$outboundSchema).optional(), + sharedEnvVarConnection: z.array(ACLAction$outboundSchema).optional(), + sonar: z.array(ACLAction$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + monitoring: "Monitoring", + notificationMonitoringAlert: "NotificationMonitoringAlert", + webhookEvent: "webhook-event", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Permissions$ { + /** @deprecated use `Permissions$inboundSchema` instead. */ + export const inboundSchema = Permissions$inboundSchema; + /** @deprecated use `Permissions$outboundSchema` instead. */ + export const outboundSchema = Permissions$outboundSchema; + /** @deprecated use `Permissions$Outbound` instead. */ + export type Outbound = Permissions$Outbound; +} + +export function permissionsToJSON(permissions: Permissions): string { + return JSON.stringify(Permissions$outboundSchema.parse(permissions)); +} + +export function permissionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Permissions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Permissions' from JSON`, + ); +} + +/** @internal */ +export const LastRollbackTarget$inboundSchema: z.ZodType< + LastRollbackTarget, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type LastRollbackTarget$Outbound = {}; + +/** @internal */ +export const LastRollbackTarget$outboundSchema: z.ZodType< + LastRollbackTarget$Outbound, + z.ZodTypeDef, + LastRollbackTarget +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace LastRollbackTarget$ { + /** @deprecated use `LastRollbackTarget$inboundSchema` instead. */ + export const inboundSchema = LastRollbackTarget$inboundSchema; + /** @deprecated use `LastRollbackTarget$outboundSchema` instead. */ + export const outboundSchema = LastRollbackTarget$outboundSchema; + /** @deprecated use `LastRollbackTarget$Outbound` instead. */ + export type Outbound = LastRollbackTarget$Outbound; +} + +export function lastRollbackTargetToJSON( + lastRollbackTarget: LastRollbackTarget, +): string { + return JSON.stringify( + LastRollbackTarget$outboundSchema.parse(lastRollbackTarget), + ); +} + +export function lastRollbackTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LastRollbackTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LastRollbackTarget' from JSON`, + ); +} + +/** @internal */ +export const JobStatus$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(JobStatus); + +/** @internal */ +export const JobStatus$outboundSchema: z.ZodNativeEnum = + JobStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace JobStatus$ { + /** @deprecated use `JobStatus$inboundSchema` instead. */ + export const inboundSchema = JobStatus$inboundSchema; + /** @deprecated use `JobStatus$outboundSchema` instead. */ + export const outboundSchema = JobStatus$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateProjectDataCacheProjectsResponseType); + +/** @internal */ +export const UpdateProjectDataCacheProjectsResponseType$outboundSchema: + z.ZodNativeEnum = + UpdateProjectDataCacheProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsResponseType$ { + /** @deprecated use `UpdateProjectDataCacheProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheProjectsResponseType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const LastAliasRequest$inboundSchema: z.ZodType< + LastAliasRequest, + z.ZodTypeDef, + unknown +> = z.object({ + fromDeploymentId: z.string(), + toDeploymentId: z.string(), + jobStatus: JobStatus$inboundSchema, + requestedAt: z.number(), + type: UpdateProjectDataCacheProjectsResponseType$inboundSchema, +}); + +/** @internal */ +export type LastAliasRequest$Outbound = { + fromDeploymentId: string; + toDeploymentId: string; + jobStatus: string; + requestedAt: number; + type: string; +}; + +/** @internal */ +export const LastAliasRequest$outboundSchema: z.ZodType< + LastAliasRequest$Outbound, + z.ZodTypeDef, + LastAliasRequest +> = z.object({ + fromDeploymentId: z.string(), + toDeploymentId: z.string(), + jobStatus: JobStatus$outboundSchema, + requestedAt: z.number(), + type: UpdateProjectDataCacheProjectsResponseType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace LastAliasRequest$ { + /** @deprecated use `LastAliasRequest$inboundSchema` instead. */ + export const inboundSchema = LastAliasRequest$inboundSchema; + /** @deprecated use `LastAliasRequest$outboundSchema` instead. */ + export const outboundSchema = LastAliasRequest$outboundSchema; + /** @deprecated use `LastAliasRequest$Outbound` instead. */ + export type Outbound = LastAliasRequest$Outbound; +} + +export function lastAliasRequestToJSON( + lastAliasRequest: LastAliasRequest, +): string { + return JSON.stringify( + LastAliasRequest$outboundSchema.parse(lastAliasRequest), + ); +} + +export function lastAliasRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LastAliasRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LastAliasRequest' from JSON`, + ); +} + +/** @internal */ +export const Scope$inboundSchema: z.ZodNativeEnum = z.nativeEnum( + Scope, +); + +/** @internal */ +export const Scope$outboundSchema: z.ZodNativeEnum = + Scope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Scope$ { + /** @deprecated use `Scope$inboundSchema` instead. */ + export const inboundSchema = Scope$inboundSchema; + /** @deprecated use `Scope$outboundSchema` instead. */ + export const outboundSchema = Scope$outboundSchema; +} + +/** @internal */ +export const ProtectionBypass$inboundSchema: z.ZodType< + ProtectionBypass, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: Scope$inboundSchema, +}); + +/** @internal */ +export type ProtectionBypass$Outbound = { + createdAt: number; + createdBy: string; + scope: string; +}; + +/** @internal */ +export const ProtectionBypass$outboundSchema: z.ZodType< + ProtectionBypass$Outbound, + z.ZodTypeDef, + ProtectionBypass +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: Scope$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ProtectionBypass$ { + /** @deprecated use `ProtectionBypass$inboundSchema` instead. */ + export const inboundSchema = ProtectionBypass$inboundSchema; + /** @deprecated use `ProtectionBypass$outboundSchema` instead. */ + export const outboundSchema = ProtectionBypass$outboundSchema; + /** @deprecated use `ProtectionBypass$Outbound` instead. */ + export type Outbound = ProtectionBypass$Outbound; +} + +export function protectionBypassToJSON( + protectionBypass: ProtectionBypass, +): string { + return JSON.stringify( + ProtectionBypass$outboundSchema.parse(protectionBypass), + ); +} + +export function protectionBypassFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ProtectionBypass$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProtectionBypass' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheTrustedIpsDeploymentType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateProjectDataCacheTrustedIpsDeploymentType); + +/** @internal */ +export const UpdateProjectDataCacheTrustedIpsDeploymentType$outboundSchema: + z.ZodNativeEnum = + UpdateProjectDataCacheTrustedIpsDeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheTrustedIpsDeploymentType$ { + /** @deprecated use `UpdateProjectDataCacheTrustedIpsDeploymentType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheTrustedIpsDeploymentType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheTrustedIpsDeploymentType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheTrustedIpsDeploymentType$outboundSchema; +} + +/** @internal */ +export const TrustedIps2$inboundSchema: z.ZodType< + TrustedIps2, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentType: UpdateProjectDataCacheTrustedIpsDeploymentType$inboundSchema, +}); + +/** @internal */ +export type TrustedIps2$Outbound = { + deploymentType: string; +}; + +/** @internal */ +export const TrustedIps2$outboundSchema: z.ZodType< + TrustedIps2$Outbound, + z.ZodTypeDef, + TrustedIps2 +> = z.object({ + deploymentType: UpdateProjectDataCacheTrustedIpsDeploymentType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TrustedIps2$ { + /** @deprecated use `TrustedIps2$inboundSchema` instead. */ + export const inboundSchema = TrustedIps2$inboundSchema; + /** @deprecated use `TrustedIps2$outboundSchema` instead. */ + export const outboundSchema = TrustedIps2$outboundSchema; + /** @deprecated use `TrustedIps2$Outbound` instead. */ + export type Outbound = TrustedIps2$Outbound; +} + +export function trustedIps2ToJSON(trustedIps2: TrustedIps2): string { + return JSON.stringify(TrustedIps2$outboundSchema.parse(trustedIps2)); +} + +export function trustedIps2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TrustedIps2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TrustedIps2' from JSON`, + ); +} + +/** @internal */ +export const TrustedIpsDeploymentType$inboundSchema: z.ZodNativeEnum< + typeof TrustedIpsDeploymentType +> = z.nativeEnum(TrustedIpsDeploymentType); + +/** @internal */ +export const TrustedIpsDeploymentType$outboundSchema: z.ZodNativeEnum< + typeof TrustedIpsDeploymentType +> = TrustedIpsDeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TrustedIpsDeploymentType$ { + /** @deprecated use `TrustedIpsDeploymentType$inboundSchema` instead. */ + export const inboundSchema = TrustedIpsDeploymentType$inboundSchema; + /** @deprecated use `TrustedIpsDeploymentType$outboundSchema` instead. */ + export const outboundSchema = TrustedIpsDeploymentType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheTrustedIpsAddresses$inboundSchema: z.ZodType< + UpdateProjectDataCacheTrustedIpsAddresses, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.string(), + note: z.string().optional(), +}); + +/** @internal */ +export type UpdateProjectDataCacheTrustedIpsAddresses$Outbound = { + value: string; + note?: string | undefined; +}; + +/** @internal */ +export const UpdateProjectDataCacheTrustedIpsAddresses$outboundSchema: + z.ZodType< + UpdateProjectDataCacheTrustedIpsAddresses$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheTrustedIpsAddresses + > = z.object({ + value: z.string(), + note: z.string().optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheTrustedIpsAddresses$ { + /** @deprecated use `UpdateProjectDataCacheTrustedIpsAddresses$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheTrustedIpsAddresses$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheTrustedIpsAddresses$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheTrustedIpsAddresses$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheTrustedIpsAddresses$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheTrustedIpsAddresses$Outbound; +} + +export function updateProjectDataCacheTrustedIpsAddressesToJSON( + updateProjectDataCacheTrustedIpsAddresses: + UpdateProjectDataCacheTrustedIpsAddresses, +): string { + return JSON.stringify( + UpdateProjectDataCacheTrustedIpsAddresses$outboundSchema.parse( + updateProjectDataCacheTrustedIpsAddresses, + ), + ); +} + +export function updateProjectDataCacheTrustedIpsAddressesFromJSON( + jsonString: string, +): SafeParseResult< + UpdateProjectDataCacheTrustedIpsAddresses, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheTrustedIpsAddresses$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateProjectDataCacheTrustedIpsAddresses' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheTrustedIpsProtectionMode$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateProjectDataCacheTrustedIpsProtectionMode); + +/** @internal */ +export const UpdateProjectDataCacheTrustedIpsProtectionMode$outboundSchema: + z.ZodNativeEnum = + UpdateProjectDataCacheTrustedIpsProtectionMode$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheTrustedIpsProtectionMode$ { + /** @deprecated use `UpdateProjectDataCacheTrustedIpsProtectionMode$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheTrustedIpsProtectionMode$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheTrustedIpsProtectionMode$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheTrustedIpsProtectionMode$outboundSchema; +} + +/** @internal */ +export const TrustedIps1$inboundSchema: z.ZodType< + TrustedIps1, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentType: TrustedIpsDeploymentType$inboundSchema, + addresses: z.array( + z.lazy(() => UpdateProjectDataCacheTrustedIpsAddresses$inboundSchema), + ), + protectionMode: UpdateProjectDataCacheTrustedIpsProtectionMode$inboundSchema, +}); + +/** @internal */ +export type TrustedIps1$Outbound = { + deploymentType: string; + addresses: Array; + protectionMode: string; +}; + +/** @internal */ +export const TrustedIps1$outboundSchema: z.ZodType< + TrustedIps1$Outbound, + z.ZodTypeDef, + TrustedIps1 +> = z.object({ + deploymentType: TrustedIpsDeploymentType$outboundSchema, + addresses: z.array( + z.lazy(() => UpdateProjectDataCacheTrustedIpsAddresses$outboundSchema), + ), + protectionMode: UpdateProjectDataCacheTrustedIpsProtectionMode$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TrustedIps1$ { + /** @deprecated use `TrustedIps1$inboundSchema` instead. */ + export const inboundSchema = TrustedIps1$inboundSchema; + /** @deprecated use `TrustedIps1$outboundSchema` instead. */ + export const outboundSchema = TrustedIps1$outboundSchema; + /** @deprecated use `TrustedIps1$Outbound` instead. */ + export type Outbound = TrustedIps1$Outbound; +} + +export function trustedIps1ToJSON(trustedIps1: TrustedIps1): string { + return JSON.stringify(TrustedIps1$outboundSchema.parse(trustedIps1)); +} + +export function trustedIps1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TrustedIps1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TrustedIps1' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheTrustedIps$inboundSchema: z.ZodType< + UpdateProjectDataCacheTrustedIps, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => TrustedIps2$inboundSchema), + z.lazy(() => TrustedIps1$inboundSchema), +]); + +/** @internal */ +export type UpdateProjectDataCacheTrustedIps$Outbound = + | TrustedIps2$Outbound + | TrustedIps1$Outbound; + +/** @internal */ +export const UpdateProjectDataCacheTrustedIps$outboundSchema: z.ZodType< + UpdateProjectDataCacheTrustedIps$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheTrustedIps +> = z.union([ + z.lazy(() => TrustedIps2$outboundSchema), + z.lazy(() => TrustedIps1$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheTrustedIps$ { + /** @deprecated use `UpdateProjectDataCacheTrustedIps$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheTrustedIps$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheTrustedIps$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheTrustedIps$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheTrustedIps$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheTrustedIps$Outbound; +} + +export function updateProjectDataCacheTrustedIpsToJSON( + updateProjectDataCacheTrustedIps: UpdateProjectDataCacheTrustedIps, +): string { + return JSON.stringify( + UpdateProjectDataCacheTrustedIps$outboundSchema.parse( + updateProjectDataCacheTrustedIps, + ), + ); +} + +export function updateProjectDataCacheTrustedIpsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDataCacheTrustedIps$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheTrustedIps' from JSON`, + ); +} + +/** @internal */ +export const GitComments$inboundSchema: z.ZodType< + GitComments, + z.ZodTypeDef, + unknown +> = z.object({ + onPullRequest: z.boolean(), + onCommit: z.boolean(), +}); + +/** @internal */ +export type GitComments$Outbound = { + onPullRequest: boolean; + onCommit: boolean; +}; + +/** @internal */ +export const GitComments$outboundSchema: z.ZodType< + GitComments$Outbound, + z.ZodTypeDef, + GitComments +> = z.object({ + onPullRequest: z.boolean(), + onCommit: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GitComments$ { + /** @deprecated use `GitComments$inboundSchema` instead. */ + export const inboundSchema = GitComments$inboundSchema; + /** @deprecated use `GitComments$outboundSchema` instead. */ + export const outboundSchema = GitComments$outboundSchema; + /** @deprecated use `GitComments$Outbound` instead. */ + export type Outbound = GitComments$Outbound; +} + +export function gitCommentsToJSON(gitComments: GitComments): string { + return JSON.stringify(GitComments$outboundSchema.parse(gitComments)); +} + +export function gitCommentsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GitComments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitComments' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheWebAnalytics$inboundSchema: z.ZodType< + UpdateProjectDataCacheWebAnalytics, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), +}); + +/** @internal */ +export type UpdateProjectDataCacheWebAnalytics$Outbound = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; +}; + +/** @internal */ +export const UpdateProjectDataCacheWebAnalytics$outboundSchema: z.ZodType< + UpdateProjectDataCacheWebAnalytics$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheWebAnalytics +> = z.object({ + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheWebAnalytics$ { + /** @deprecated use `UpdateProjectDataCacheWebAnalytics$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheWebAnalytics$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheWebAnalytics$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheWebAnalytics$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheWebAnalytics$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheWebAnalytics$Outbound; +} + +export function updateProjectDataCacheWebAnalyticsToJSON( + updateProjectDataCacheWebAnalytics: UpdateProjectDataCacheWebAnalytics, +): string { + return JSON.stringify( + UpdateProjectDataCacheWebAnalytics$outboundSchema.parse( + updateProjectDataCacheWebAnalytics, + ), + ); +} + +export function updateProjectDataCacheWebAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheWebAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheWebAnalytics' from JSON`, + ); +} + +/** @internal */ +export const Src2$inboundSchema: z.ZodType = z + .object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), + }); + +/** @internal */ +export type Src2$Outbound = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +/** @internal */ +export const Src2$outboundSchema: z.ZodType = + z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Src2$ { + /** @deprecated use `Src2$inboundSchema` instead. */ + export const inboundSchema = Src2$inboundSchema; + /** @deprecated use `Src2$outboundSchema` instead. */ + export const outboundSchema = Src2$outboundSchema; + /** @deprecated use `Src2$Outbound` instead. */ + export type Outbound = Src2$Outbound; +} + +export function src2ToJSON(src2: Src2): string { + return JSON.stringify(Src2$outboundSchema.parse(src2)); +} + +export function src2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Src2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Src2' from JSON`, + ); +} + +/** @internal */ +export const Src$inboundSchema: z.ZodType = z.union( + [z.lazy(() => Src2$inboundSchema), z.string()], +); + +/** @internal */ +export type Src$Outbound = Src2$Outbound | string; + +/** @internal */ +export const Src$outboundSchema: z.ZodType = z + .union([z.lazy(() => Src2$outboundSchema), z.string()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Src$ { + /** @deprecated use `Src$inboundSchema` instead. */ + export const inboundSchema = Src$inboundSchema; + /** @deprecated use `Src$outboundSchema` instead. */ + export const outboundSchema = Src$outboundSchema; + /** @deprecated use `Src$Outbound` instead. */ + export type Outbound = Src$Outbound; +} + +export function srcToJSON(src: Src): string { + return JSON.stringify(Src$outboundSchema.parse(src)); +} + +export function srcFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Src$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Src' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType + > = z.nativeEnum( + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType, + ); + +/** @internal */ +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType + > = + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$ { + /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheValueProjects2$inboundSchema: z.ZodType< + UpdateProjectDataCacheValueProjects2, + z.ZodTypeDef, + unknown +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** @internal */ +export type UpdateProjectDataCacheValueProjects2$Outbound = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +/** @internal */ +export const UpdateProjectDataCacheValueProjects2$outboundSchema: z.ZodType< + UpdateProjectDataCacheValueProjects2$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheValueProjects2 +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheValueProjects2$ { + /** @deprecated use `UpdateProjectDataCacheValueProjects2$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheValueProjects2$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheValueProjects2$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheValueProjects2$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheValueProjects2$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheValueProjects2$Outbound; +} + +export function updateProjectDataCacheValueProjects2ToJSON( + updateProjectDataCacheValueProjects2: UpdateProjectDataCacheValueProjects2, +): string { + return JSON.stringify( + UpdateProjectDataCacheValueProjects2$outboundSchema.parse( + updateProjectDataCacheValueProjects2, + ), + ); +} + +export function updateProjectDataCacheValueProjects2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheValueProjects2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheValueProjects2' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsValue$inboundSchema: z.ZodType< + UpdateProjectDataCacheProjectsValue, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateProjectDataCacheValueProjects2$inboundSchema), + z.string(), +]); + +/** @internal */ +export type UpdateProjectDataCacheProjectsValue$Outbound = + | UpdateProjectDataCacheValueProjects2$Outbound + | string; + +/** @internal */ +export const UpdateProjectDataCacheProjectsValue$outboundSchema: z.ZodType< + UpdateProjectDataCacheProjectsValue$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheProjectsValue +> = z.union([ + z.lazy(() => UpdateProjectDataCacheValueProjects2$outboundSchema), + z.string(), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsValue$ { + /** @deprecated use `UpdateProjectDataCacheProjectsValue$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheProjectsValue$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsValue$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsValue$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsValue$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheProjectsValue$Outbound; +} + +export function updateProjectDataCacheProjectsValueToJSON( + updateProjectDataCacheProjectsValue: UpdateProjectDataCacheProjectsValue, +): string { + return JSON.stringify( + UpdateProjectDataCacheProjectsValue$outboundSchema.parse( + updateProjectDataCacheProjectsValue, + ), + ); +} + +export function updateProjectDataCacheProjectsValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheProjectsValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheProjectsValue' from JSON`, + ); +} + +/** @internal */ +export const Has$inboundSchema: z.ZodType = z + .object({ + type: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema, + key: z.string().optional(), + value: z.union([ + z.lazy(() => UpdateProjectDataCacheValueProjects2$inboundSchema), + z.string(), + ]).optional(), + }); + +/** @internal */ +export type Has$Outbound = { + type: string; + key?: string | undefined; + value?: UpdateProjectDataCacheValueProjects2$Outbound | string | undefined; +}; + +/** @internal */ +export const Has$outboundSchema: z.ZodType = z + .object({ + type: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema, + key: z.string().optional(), + value: z.union([ + z.lazy(() => UpdateProjectDataCacheValueProjects2$outboundSchema), + z.string(), + ]).optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Has$ { + /** @deprecated use `Has$inboundSchema` instead. */ + export const inboundSchema = Has$inboundSchema; + /** @deprecated use `Has$outboundSchema` instead. */ + export const outboundSchema = Has$outboundSchema; + /** @deprecated use `Has$Outbound` instead. */ + export type Outbound = Has$Outbound; +} + +export function hasToJSON(has: Has): string { + return JSON.stringify(Has$outboundSchema.parse(has)); +} + +export function hasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Has$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Has' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType + > = z.nativeEnum( + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType, + ); + +/** @internal */ +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType + > = + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$ { + /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheValue2$inboundSchema: z.ZodType< + UpdateProjectDataCacheValue2, + z.ZodTypeDef, + unknown +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** @internal */ +export type UpdateProjectDataCacheValue2$Outbound = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +/** @internal */ +export const UpdateProjectDataCacheValue2$outboundSchema: z.ZodType< + UpdateProjectDataCacheValue2$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheValue2 +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheValue2$ { + /** @deprecated use `UpdateProjectDataCacheValue2$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheValue2$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheValue2$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheValue2$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheValue2$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheValue2$Outbound; +} + +export function updateProjectDataCacheValue2ToJSON( + updateProjectDataCacheValue2: UpdateProjectDataCacheValue2, +): string { + return JSON.stringify( + UpdateProjectDataCacheValue2$outboundSchema.parse( + updateProjectDataCacheValue2, + ), + ); +} + +export function updateProjectDataCacheValue2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDataCacheValue2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheValue2' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheValue$inboundSchema: z.ZodType< + UpdateProjectDataCacheValue, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateProjectDataCacheValue2$inboundSchema), + z.string(), +]); + +/** @internal */ +export type UpdateProjectDataCacheValue$Outbound = + | UpdateProjectDataCacheValue2$Outbound + | string; + +/** @internal */ +export const UpdateProjectDataCacheValue$outboundSchema: z.ZodType< + UpdateProjectDataCacheValue$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheValue +> = z.union([ + z.lazy(() => UpdateProjectDataCacheValue2$outboundSchema), + z.string(), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheValue$ { + /** @deprecated use `UpdateProjectDataCacheValue$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheValue$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheValue$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheValue$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheValue$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheValue$Outbound; +} + +export function updateProjectDataCacheValueToJSON( + updateProjectDataCacheValue: UpdateProjectDataCacheValue, +): string { + return JSON.stringify( + UpdateProjectDataCacheValue$outboundSchema.parse( + updateProjectDataCacheValue, + ), + ); +} + +export function updateProjectDataCacheValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDataCacheValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheValue' from JSON`, + ); +} + +/** @internal */ +export const Missing$inboundSchema: z.ZodType = + z.object({ + type: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema, + key: z.string().optional(), + value: z.union([ + z.lazy(() => UpdateProjectDataCacheValue2$inboundSchema), + z.string(), + ]).optional(), + }); + +/** @internal */ +export type Missing$Outbound = { + type: string; + key?: string | undefined; + value?: UpdateProjectDataCacheValue2$Outbound | string | undefined; +}; + +/** @internal */ +export const Missing$outboundSchema: z.ZodType< + Missing$Outbound, + z.ZodTypeDef, + Missing +> = z.object({ + type: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema, + key: z.string().optional(), + value: z.union([ + z.lazy(() => UpdateProjectDataCacheValue2$outboundSchema), + z.string(), + ]).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Missing$ { + /** @deprecated use `Missing$inboundSchema` instead. */ + export const inboundSchema = Missing$inboundSchema; + /** @deprecated use `Missing$outboundSchema` instead. */ + export const outboundSchema = Missing$outboundSchema; + /** @deprecated use `Missing$Outbound` instead. */ + export type Outbound = Missing$Outbound; +} + +export function missingToJSON(missing: Missing): string { + return JSON.stringify(Missing$outboundSchema.parse(missing)); +} + +export function missingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Missing$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Missing' from JSON`, + ); +} + +/** @internal */ +export const Handle$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Handle); + +/** @internal */ +export const Handle$outboundSchema: z.ZodNativeEnum = + Handle$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Handle$ { + /** @deprecated use `Handle$inboundSchema` instead. */ + export const inboundSchema = Handle$inboundSchema; + /** @deprecated use `Handle$outboundSchema` instead. */ + export const outboundSchema = Handle$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheAction$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheAction +> = z.nativeEnum(UpdateProjectDataCacheAction); + +/** @internal */ +export const UpdateProjectDataCacheAction$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheAction +> = UpdateProjectDataCacheAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheAction$ { + /** @deprecated use `UpdateProjectDataCacheAction$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheAction$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheAction$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheAction$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheAlgo$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheAlgo +> = z.nativeEnum(UpdateProjectDataCacheAlgo); + +/** @internal */ +export const UpdateProjectDataCacheAlgo$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheAlgo +> = UpdateProjectDataCacheAlgo$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheAlgo$ { + /** @deprecated use `UpdateProjectDataCacheAlgo$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheAlgo$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheAlgo$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheAlgo$outboundSchema; +} + +/** @internal */ +export const Erl$inboundSchema: z.ZodType = z + .object({ + algo: UpdateProjectDataCacheAlgo$inboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), + }); + +/** @internal */ +export type Erl$Outbound = { + algo: string; + window: number; + limit: number; + keys: Array; +}; + +/** @internal */ +export const Erl$outboundSchema: z.ZodType = z + .object({ + algo: UpdateProjectDataCacheAlgo$outboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Erl$ { + /** @deprecated use `Erl$inboundSchema` instead. */ + export const inboundSchema = Erl$inboundSchema; + /** @deprecated use `Erl$outboundSchema` instead. */ + export const outboundSchema = Erl$outboundSchema; + /** @deprecated use `Erl$Outbound` instead. */ + export type Outbound = Erl$Outbound; +} + +export function erlToJSON(erl: Erl): string { + return JSON.stringify(Erl$outboundSchema.parse(erl)); +} + +export function erlFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Erl$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Erl' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheMitigate$inboundSchema: z.ZodType< + UpdateProjectDataCacheMitigate, + z.ZodTypeDef, + unknown +> = z.object({ + action: UpdateProjectDataCacheAction$inboundSchema, + rule_id: z.string(), + ttl: z.number().optional(), + erl: z.lazy(() => Erl$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "rule_id": "ruleId", + }); +}); + +/** @internal */ +export type UpdateProjectDataCacheMitigate$Outbound = { + action: string; + rule_id: string; + ttl?: number | undefined; + erl?: Erl$Outbound | undefined; +}; + +/** @internal */ +export const UpdateProjectDataCacheMitigate$outboundSchema: z.ZodType< + UpdateProjectDataCacheMitigate$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheMitigate +> = z.object({ + action: UpdateProjectDataCacheAction$outboundSchema, + ruleId: z.string(), + ttl: z.number().optional(), + erl: z.lazy(() => Erl$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + ruleId: "rule_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheMitigate$ { + /** @deprecated use `UpdateProjectDataCacheMitigate$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheMitigate$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheMitigate$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheMitigate$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheMitigate$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheMitigate$Outbound; +} + +export function updateProjectDataCacheMitigateToJSON( + updateProjectDataCacheMitigate: UpdateProjectDataCacheMitigate, +): string { + return JSON.stringify( + UpdateProjectDataCacheMitigate$outboundSchema.parse( + updateProjectDataCacheMitigate, + ), + ); +} + +export function updateProjectDataCacheMitigateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDataCacheMitigate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheMitigate' from JSON`, + ); +} + +/** @internal */ +export const FirewallRoutes$inboundSchema: z.ZodType< + FirewallRoutes, + z.ZodTypeDef, + unknown +> = z.object({ + src: z.union([z.lazy(() => Src2$inboundSchema), z.string()]).optional(), + has: z.array(z.lazy(() => Has$inboundSchema)).optional(), + missing: z.array(z.lazy(() => Missing$inboundSchema)).optional(), + dest: z.string().optional(), + status: z.number().optional(), + handle: Handle$inboundSchema.optional(), + mitigate: z.lazy(() => UpdateProjectDataCacheMitigate$inboundSchema) + .optional(), +}); + +/** @internal */ +export type FirewallRoutes$Outbound = { + src?: Src2$Outbound | string | undefined; + has?: Array | undefined; + missing?: Array | undefined; + dest?: string | undefined; + status?: number | undefined; + handle?: string | undefined; + mitigate?: UpdateProjectDataCacheMitigate$Outbound | undefined; +}; + +/** @internal */ +export const FirewallRoutes$outboundSchema: z.ZodType< + FirewallRoutes$Outbound, + z.ZodTypeDef, + FirewallRoutes +> = z.object({ + src: z.union([z.lazy(() => Src2$outboundSchema), z.string()]).optional(), + has: z.array(z.lazy(() => Has$outboundSchema)).optional(), + missing: z.array(z.lazy(() => Missing$outboundSchema)).optional(), + dest: z.string().optional(), + status: z.number().optional(), + handle: Handle$outboundSchema.optional(), + mitigate: z.lazy(() => UpdateProjectDataCacheMitigate$outboundSchema) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace FirewallRoutes$ { + /** @deprecated use `FirewallRoutes$inboundSchema` instead. */ + export const inboundSchema = FirewallRoutes$inboundSchema; + /** @deprecated use `FirewallRoutes$outboundSchema` instead. */ + export const outboundSchema = FirewallRoutes$outboundSchema; + /** @deprecated use `FirewallRoutes$Outbound` instead. */ + export type Outbound = FirewallRoutes$Outbound; +} + +export function firewallRoutesToJSON(firewallRoutes: FirewallRoutes): string { + return JSON.stringify(FirewallRoutes$outboundSchema.parse(firewallRoutes)); +} + +export function firewallRoutesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FirewallRoutes$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FirewallRoutes' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheSecurity$inboundSchema: z.ZodType< + UpdateProjectDataCacheSecurity, + z.ZodTypeDef, + unknown +> = z.object({ + attackModeEnabled: z.boolean().optional(), + attackModeUpdatedAt: z.number().optional(), + firewallEnabled: z.boolean().optional(), + firewallUpdatedAt: z.number().optional(), + attackModeActiveUntil: z.nullable(z.number()).optional(), + firewallConfigVersion: z.number().optional(), + firewallRoutes: z.array(z.lazy(() => FirewallRoutes$inboundSchema)) + .optional(), + firewallSeawallEnabled: z.boolean().optional(), + ja3Enabled: z.boolean().optional(), + ja4Enabled: z.boolean().optional(), + firewallBypassIps: z.array(z.string()).optional(), +}); + +/** @internal */ +export type UpdateProjectDataCacheSecurity$Outbound = { + attackModeEnabled?: boolean | undefined; + attackModeUpdatedAt?: number | undefined; + firewallEnabled?: boolean | undefined; + firewallUpdatedAt?: number | undefined; + attackModeActiveUntil?: number | null | undefined; + firewallConfigVersion?: number | undefined; + firewallRoutes?: Array | undefined; + firewallSeawallEnabled?: boolean | undefined; + ja3Enabled?: boolean | undefined; + ja4Enabled?: boolean | undefined; + firewallBypassIps?: Array | undefined; +}; + +/** @internal */ +export const UpdateProjectDataCacheSecurity$outboundSchema: z.ZodType< + UpdateProjectDataCacheSecurity$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheSecurity +> = z.object({ + attackModeEnabled: z.boolean().optional(), + attackModeUpdatedAt: z.number().optional(), + firewallEnabled: z.boolean().optional(), + firewallUpdatedAt: z.number().optional(), + attackModeActiveUntil: z.nullable(z.number()).optional(), + firewallConfigVersion: z.number().optional(), + firewallRoutes: z.array(z.lazy(() => FirewallRoutes$outboundSchema)) + .optional(), + firewallSeawallEnabled: z.boolean().optional(), + ja3Enabled: z.boolean().optional(), + ja4Enabled: z.boolean().optional(), + firewallBypassIps: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheSecurity$ { + /** @deprecated use `UpdateProjectDataCacheSecurity$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheSecurity$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheSecurity$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheSecurity$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheSecurity$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheSecurity$Outbound; +} + +export function updateProjectDataCacheSecurityToJSON( + updateProjectDataCacheSecurity: UpdateProjectDataCacheSecurity, +): string { + return JSON.stringify( + UpdateProjectDataCacheSecurity$outboundSchema.parse( + updateProjectDataCacheSecurity, + ), + ); +} + +export function updateProjectDataCacheSecurityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDataCacheSecurity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheSecurity' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheIssuerMode$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheIssuerMode +> = z.nativeEnum(UpdateProjectDataCacheIssuerMode); + +/** @internal */ +export const UpdateProjectDataCacheIssuerMode$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheIssuerMode +> = UpdateProjectDataCacheIssuerMode$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheIssuerMode$ { + /** @deprecated use `UpdateProjectDataCacheIssuerMode$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheIssuerMode$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheIssuerMode$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCacheIssuerMode$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheOidcTokenConfig$inboundSchema: z.ZodType< + UpdateProjectDataCacheOidcTokenConfig, + z.ZodTypeDef, + unknown +> = z.object({ + enabled: z.boolean(), + issuerMode: UpdateProjectDataCacheIssuerMode$inboundSchema.optional(), +}); + +/** @internal */ +export type UpdateProjectDataCacheOidcTokenConfig$Outbound = { + enabled: boolean; + issuerMode?: string | undefined; +}; + +/** @internal */ +export const UpdateProjectDataCacheOidcTokenConfig$outboundSchema: z.ZodType< + UpdateProjectDataCacheOidcTokenConfig$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheOidcTokenConfig +> = z.object({ + enabled: z.boolean(), + issuerMode: UpdateProjectDataCacheIssuerMode$outboundSchema.optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheOidcTokenConfig$ { + /** @deprecated use `UpdateProjectDataCacheOidcTokenConfig$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectDataCacheOidcTokenConfig$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheOidcTokenConfig$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheOidcTokenConfig$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheOidcTokenConfig$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheOidcTokenConfig$Outbound; +} + +export function updateProjectDataCacheOidcTokenConfigToJSON( + updateProjectDataCacheOidcTokenConfig: UpdateProjectDataCacheOidcTokenConfig, +): string { + return JSON.stringify( + UpdateProjectDataCacheOidcTokenConfig$outboundSchema.parse( + updateProjectDataCacheOidcTokenConfig, + ), + ); +} + +export function updateProjectDataCacheOidcTokenConfigFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheOidcTokenConfig$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheOidcTokenConfig' from JSON`, + ); +} + +/** @internal */ +export const Tier$inboundSchema: z.ZodNativeEnum = z.nativeEnum( + Tier, +); + +/** @internal */ +export const Tier$outboundSchema: z.ZodNativeEnum = + Tier$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Tier$ { + /** @deprecated use `Tier$inboundSchema` instead. */ + export const inboundSchema = Tier$inboundSchema; + /** @deprecated use `Tier$outboundSchema` instead. */ + export const outboundSchema = Tier$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDataCacheResponseBody$inboundSchema: z.ZodType< + UpdateProjectDataCacheResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + accountId: z.string(), + analytics: z.lazy(() => Analytics$inboundSchema).optional(), + speedInsights: z.lazy(() => SpeedInsights$inboundSchema).optional(), + autoExposeSystemEnvs: z.boolean().optional(), + autoAssignCustomDomains: z.boolean().optional(), + autoAssignCustomDomainsUpdatedBy: z.string().optional(), + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + connectConfigurationId: z.nullable(z.string()).optional(), + connectBuildsEnabled: z.boolean().optional(), + createdAt: z.number().optional(), + customerSupportCodeVisibility: z.boolean().optional(), + crons: z.lazy(() => Crons$inboundSchema).optional(), + dataCache: z.lazy(() => UpdateProjectDataCacheDataCache$inboundSchema) + .optional(), + deploymentExpiration: z.nullable( + z.lazy(() => DeploymentExpiration$inboundSchema), + ).optional(), + devCommand: z.nullable(z.string()).optional(), + directoryListing: z.boolean(), + installCommand: z.nullable(z.string()).optional(), + env: z.array(z.lazy(() => Env$inboundSchema)).optional(), + customEnvironments: z.array(z.lazy(() => CustomEnvironments$inboundSchema)) + .optional(), + framework: z.nullable(UpdateProjectDataCacheFramework$inboundSchema) + .optional(), + gitForkProtection: z.boolean().optional(), + gitLFS: z.boolean().optional(), + id: z.string(), + ipBuckets: z.array(z.lazy(() => IpBuckets$inboundSchema)).optional(), + latestDeployments: z.array(z.lazy(() => LatestDeployments$inboundSchema)) + .optional(), + link: z.union([ + z.lazy(() => Link1$inboundSchema), + z.lazy(() => Link3$inboundSchema), + z.lazy(() => Link2$inboundSchema), + ]).optional(), + microfrontends: z.lazy(() => Microfrontends$inboundSchema).optional(), + name: z.string(), + nodeVersion: UpdateProjectDataCacheNodeVersion$inboundSchema, + optionsAllowlist: z.nullable( + z.lazy(() => UpdateProjectDataCacheOptionsAllowlist$inboundSchema), + ).optional(), + outputDirectory: z.nullable(z.string()).optional(), + passiveConnectConfigurationId: z.nullable(z.string()).optional(), + passwordProtection: z.nullable( + z.lazy(() => UpdateProjectDataCachePasswordProtection$inboundSchema), + ).optional(), + productionDeploymentsFastLane: z.boolean().optional(), + publicSource: z.nullable(z.boolean()).optional(), + resourceConfig: z.lazy(() => + UpdateProjectDataCacheResourceConfig$inboundSchema + ).optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + serverlessFunctionZeroConfigFailover: z.boolean().optional(), + skewProtectionBoundaryAt: z.number().optional(), + skewProtectionMaxAge: z.number().optional(), + skipGitConnectDuringLink: z.boolean().optional(), + sourceFilesOutsideRootDirectory: z.boolean().optional(), + enableAffectedProjectsDeployments: z.boolean().optional(), + ssoProtection: z.nullable( + z.lazy(() => UpdateProjectDataCacheSsoProtection$inboundSchema), + ).optional(), + targets: z.record(z.lazy(() => Targets$inboundSchema)).optional(), + transferCompletedAt: z.number().optional(), + transferStartedAt: z.number().optional(), + transferToAccountId: z.string().optional(), + transferredFromAccountId: z.string().optional(), + updatedAt: z.number().optional(), + live: z.boolean().optional(), + enablePreviewFeedback: z.nullable(z.boolean()).optional(), + enableProductionFeedback: z.nullable(z.boolean()).optional(), + permissions: z.lazy(() => Permissions$inboundSchema).optional(), + lastRollbackTarget: z.nullable(z.lazy(() => LastRollbackTarget$inboundSchema)) + .optional(), + lastAliasRequest: z.nullable(z.lazy(() => LastAliasRequest$inboundSchema)) + .optional(), + hasFloatingAliases: z.boolean().optional(), + protectionBypass: z.record(z.lazy(() => ProtectionBypass$inboundSchema)) + .optional(), + hasActiveBranches: z.boolean().optional(), + trustedIps: z.nullable( + z.union([ + z.lazy(() => TrustedIps2$inboundSchema), + z.lazy(() => TrustedIps1$inboundSchema), + ]), + ).optional(), + gitComments: z.lazy(() => GitComments$inboundSchema).optional(), + paused: z.boolean().optional(), + concurrencyBucketName: z.string().optional(), + webAnalytics: z.lazy(() => UpdateProjectDataCacheWebAnalytics$inboundSchema) + .optional(), + security: z.lazy(() => UpdateProjectDataCacheSecurity$inboundSchema) + .optional(), + oidcTokenConfig: z.lazy(() => + UpdateProjectDataCacheOidcTokenConfig$inboundSchema + ).optional(), + tier: Tier$inboundSchema.optional(), +}); + +/** @internal */ +export type UpdateProjectDataCacheResponseBody$Outbound = { + accountId: string; + analytics?: Analytics$Outbound | undefined; + speedInsights?: SpeedInsights$Outbound | undefined; + autoExposeSystemEnvs?: boolean | undefined; + autoAssignCustomDomains?: boolean | undefined; + autoAssignCustomDomainsUpdatedBy?: string | undefined; + buildCommand?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + connectConfigurationId?: string | null | undefined; + connectBuildsEnabled?: boolean | undefined; + createdAt?: number | undefined; + customerSupportCodeVisibility?: boolean | undefined; + crons?: Crons$Outbound | undefined; + dataCache?: UpdateProjectDataCacheDataCache$Outbound | undefined; + deploymentExpiration?: DeploymentExpiration$Outbound | null | undefined; + devCommand?: string | null | undefined; + directoryListing: boolean; + installCommand?: string | null | undefined; + env?: Array | undefined; + customEnvironments?: Array | undefined; + framework?: string | null | undefined; + gitForkProtection?: boolean | undefined; + gitLFS?: boolean | undefined; + id: string; + ipBuckets?: Array | undefined; + latestDeployments?: Array | undefined; + link?: Link1$Outbound | Link3$Outbound | Link2$Outbound | undefined; + microfrontends?: Microfrontends$Outbound | undefined; + name: string; + nodeVersion: string; + optionsAllowlist?: + | UpdateProjectDataCacheOptionsAllowlist$Outbound + | null + | undefined; + outputDirectory?: string | null | undefined; + passiveConnectConfigurationId?: string | null | undefined; + passwordProtection?: + | UpdateProjectDataCachePasswordProtection$Outbound + | null + | undefined; + productionDeploymentsFastLane?: boolean | undefined; + publicSource?: boolean | null | undefined; + resourceConfig?: UpdateProjectDataCacheResourceConfig$Outbound | undefined; + rootDirectory?: string | null | undefined; + serverlessFunctionRegion?: string | null | undefined; + serverlessFunctionZeroConfigFailover?: boolean | undefined; + skewProtectionBoundaryAt?: number | undefined; + skewProtectionMaxAge?: number | undefined; + skipGitConnectDuringLink?: boolean | undefined; + sourceFilesOutsideRootDirectory?: boolean | undefined; + enableAffectedProjectsDeployments?: boolean | undefined; + ssoProtection?: + | UpdateProjectDataCacheSsoProtection$Outbound + | null + | undefined; + targets?: { [k: string]: Targets$Outbound } | undefined; + transferCompletedAt?: number | undefined; + transferStartedAt?: number | undefined; + transferToAccountId?: string | undefined; + transferredFromAccountId?: string | undefined; + updatedAt?: number | undefined; + live?: boolean | undefined; + enablePreviewFeedback?: boolean | null | undefined; + enableProductionFeedback?: boolean | null | undefined; + permissions?: Permissions$Outbound | undefined; + lastRollbackTarget?: LastRollbackTarget$Outbound | null | undefined; + lastAliasRequest?: LastAliasRequest$Outbound | null | undefined; + hasFloatingAliases?: boolean | undefined; + protectionBypass?: { [k: string]: ProtectionBypass$Outbound } | undefined; + hasActiveBranches?: boolean | undefined; + trustedIps?: TrustedIps2$Outbound | TrustedIps1$Outbound | null | undefined; + gitComments?: GitComments$Outbound | undefined; + paused?: boolean | undefined; + concurrencyBucketName?: string | undefined; + webAnalytics?: UpdateProjectDataCacheWebAnalytics$Outbound | undefined; + security?: UpdateProjectDataCacheSecurity$Outbound | undefined; + oidcTokenConfig?: UpdateProjectDataCacheOidcTokenConfig$Outbound | undefined; + tier?: string | undefined; +}; + +/** @internal */ +export const UpdateProjectDataCacheResponseBody$outboundSchema: z.ZodType< + UpdateProjectDataCacheResponseBody$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheResponseBody +> = z.object({ + accountId: z.string(), + analytics: z.lazy(() => Analytics$outboundSchema).optional(), + speedInsights: z.lazy(() => SpeedInsights$outboundSchema).optional(), + autoExposeSystemEnvs: z.boolean().optional(), + autoAssignCustomDomains: z.boolean().optional(), + autoAssignCustomDomainsUpdatedBy: z.string().optional(), + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + connectConfigurationId: z.nullable(z.string()).optional(), + connectBuildsEnabled: z.boolean().optional(), + createdAt: z.number().optional(), + customerSupportCodeVisibility: z.boolean().optional(), + crons: z.lazy(() => Crons$outboundSchema).optional(), + dataCache: z.lazy(() => UpdateProjectDataCacheDataCache$outboundSchema) + .optional(), + deploymentExpiration: z.nullable( + z.lazy(() => DeploymentExpiration$outboundSchema), + ).optional(), + devCommand: z.nullable(z.string()).optional(), + directoryListing: z.boolean(), + installCommand: z.nullable(z.string()).optional(), + env: z.array(z.lazy(() => Env$outboundSchema)).optional(), + customEnvironments: z.array(z.lazy(() => CustomEnvironments$outboundSchema)) + .optional(), + framework: z.nullable(UpdateProjectDataCacheFramework$outboundSchema) + .optional(), + gitForkProtection: z.boolean().optional(), + gitLFS: z.boolean().optional(), + id: z.string(), + ipBuckets: z.array(z.lazy(() => IpBuckets$outboundSchema)).optional(), + latestDeployments: z.array(z.lazy(() => LatestDeployments$outboundSchema)) + .optional(), + link: z.union([ + z.lazy(() => Link1$outboundSchema), + z.lazy(() => Link3$outboundSchema), + z.lazy(() => Link2$outboundSchema), + ]).optional(), + microfrontends: z.lazy(() => Microfrontends$outboundSchema).optional(), + name: z.string(), + nodeVersion: UpdateProjectDataCacheNodeVersion$outboundSchema, + optionsAllowlist: z.nullable( + z.lazy(() => UpdateProjectDataCacheOptionsAllowlist$outboundSchema), + ).optional(), + outputDirectory: z.nullable(z.string()).optional(), + passiveConnectConfigurationId: z.nullable(z.string()).optional(), + passwordProtection: z.nullable( + z.lazy(() => UpdateProjectDataCachePasswordProtection$outboundSchema), + ).optional(), + productionDeploymentsFastLane: z.boolean().optional(), + publicSource: z.nullable(z.boolean()).optional(), + resourceConfig: z.lazy(() => + UpdateProjectDataCacheResourceConfig$outboundSchema + ).optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + serverlessFunctionZeroConfigFailover: z.boolean().optional(), + skewProtectionBoundaryAt: z.number().optional(), + skewProtectionMaxAge: z.number().optional(), + skipGitConnectDuringLink: z.boolean().optional(), + sourceFilesOutsideRootDirectory: z.boolean().optional(), + enableAffectedProjectsDeployments: z.boolean().optional(), + ssoProtection: z.nullable( + z.lazy(() => UpdateProjectDataCacheSsoProtection$outboundSchema), + ).optional(), + targets: z.record(z.lazy(() => Targets$outboundSchema)).optional(), + transferCompletedAt: z.number().optional(), + transferStartedAt: z.number().optional(), + transferToAccountId: z.string().optional(), + transferredFromAccountId: z.string().optional(), + updatedAt: z.number().optional(), + live: z.boolean().optional(), + enablePreviewFeedback: z.nullable(z.boolean()).optional(), + enableProductionFeedback: z.nullable(z.boolean()).optional(), + permissions: z.lazy(() => Permissions$outboundSchema).optional(), + lastRollbackTarget: z.nullable( + z.lazy(() => LastRollbackTarget$outboundSchema), + ).optional(), + lastAliasRequest: z.nullable(z.lazy(() => LastAliasRequest$outboundSchema)) + .optional(), + hasFloatingAliases: z.boolean().optional(), + protectionBypass: z.record(z.lazy(() => ProtectionBypass$outboundSchema)) + .optional(), + hasActiveBranches: z.boolean().optional(), + trustedIps: z.nullable( + z.union([ + z.lazy(() => TrustedIps2$outboundSchema), + z.lazy(() => TrustedIps1$outboundSchema), + ]), + ).optional(), + gitComments: z.lazy(() => GitComments$outboundSchema).optional(), + paused: z.boolean().optional(), + concurrencyBucketName: z.string().optional(), + webAnalytics: z.lazy(() => UpdateProjectDataCacheWebAnalytics$outboundSchema) + .optional(), + security: z.lazy(() => UpdateProjectDataCacheSecurity$outboundSchema) + .optional(), + oidcTokenConfig: z.lazy(() => + UpdateProjectDataCacheOidcTokenConfig$outboundSchema + ).optional(), + tier: Tier$outboundSchema.optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCacheResponseBody$ { + /** @deprecated use `UpdateProjectDataCacheResponseBody$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCacheResponseBody$inboundSchema; + /** @deprecated use `UpdateProjectDataCacheResponseBody$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDataCacheResponseBody$outboundSchema; + /** @deprecated use `UpdateProjectDataCacheResponseBody$Outbound` instead. */ + export type Outbound = UpdateProjectDataCacheResponseBody$Outbound; +} + +export function updateProjectDataCacheResponseBodyToJSON( + updateProjectDataCacheResponseBody: UpdateProjectDataCacheResponseBody, +): string { + return JSON.stringify( + UpdateProjectDataCacheResponseBody$outboundSchema.parse( + updateProjectDataCacheResponseBody, + ), + ); +} + +export function updateProjectDataCacheResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheResponseBody' from JSON`, + ); +} diff --git a/src/models/updateprojectdomainop.ts b/src/models/updateprojectdomainop.ts new file mode 100644 index 00000000..7f0e7d77 --- /dev/null +++ b/src/models/updateprojectdomainop.ts @@ -0,0 +1,404 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * Status code for domain redirect + */ +export const RedirectStatusCode = { + ThreeHundredAndOne: 301, + ThreeHundredAndTwo: 302, + ThreeHundredAndSeven: 307, + ThreeHundredAndEight: 308, +} as const; +/** + * Status code for domain redirect + */ +export type RedirectStatusCode = ClosedEnum; + +export type UpdateProjectDomainRequestBody = { + /** + * Git branch to link the project domain + */ + gitBranch?: string | null | undefined; + /** + * Target destination domain for redirect + */ + redirect?: string | null | undefined; + /** + * Status code for domain redirect + */ + redirectStatusCode?: RedirectStatusCode | null | undefined; +}; + +export type UpdateProjectDomainRequest = { + /** + * The unique project identifier or the project name + */ + idOrName: string; + /** + * The project domain name + */ + domain: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: UpdateProjectDomainRequestBody; +}; + +/** + * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. + */ +export type UpdateProjectDomainVerification = { + type: string; + domain: string; + value: string; + reason: string; +}; + +/** + * The domain was updated successfuly + */ +export type UpdateProjectDomainResponseBody = { + name: string; + apexName: string; + projectId: string; + redirect?: string | null | undefined; + redirectStatusCode?: number | null | undefined; + gitBranch?: string | null | undefined; + customEnvironmentId?: string | null | undefined; + updatedAt?: number | undefined; + createdAt?: number | undefined; + /** + * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. + */ + verified: boolean; + /** + * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. + */ + verification?: Array | undefined; +}; + +/** @internal */ +export const RedirectStatusCode$inboundSchema: z.ZodNativeEnum< + typeof RedirectStatusCode +> = z.nativeEnum(RedirectStatusCode); + +/** @internal */ +export const RedirectStatusCode$outboundSchema: z.ZodNativeEnum< + typeof RedirectStatusCode +> = RedirectStatusCode$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RedirectStatusCode$ { + /** @deprecated use `RedirectStatusCode$inboundSchema` instead. */ + export const inboundSchema = RedirectStatusCode$inboundSchema; + /** @deprecated use `RedirectStatusCode$outboundSchema` instead. */ + export const outboundSchema = RedirectStatusCode$outboundSchema; +} + +/** @internal */ +export const UpdateProjectDomainRequestBody$inboundSchema: z.ZodType< + UpdateProjectDomainRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + gitBranch: z.nullable(z.string()).optional(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(RedirectStatusCode$inboundSchema).optional(), +}); + +/** @internal */ +export type UpdateProjectDomainRequestBody$Outbound = { + gitBranch?: string | null | undefined; + redirect?: string | null | undefined; + redirectStatusCode?: number | null | undefined; +}; + +/** @internal */ +export const UpdateProjectDomainRequestBody$outboundSchema: z.ZodType< + UpdateProjectDomainRequestBody$Outbound, + z.ZodTypeDef, + UpdateProjectDomainRequestBody +> = z.object({ + gitBranch: z.nullable(z.string()).optional(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(RedirectStatusCode$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDomainRequestBody$ { + /** @deprecated use `UpdateProjectDomainRequestBody$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDomainRequestBody$inboundSchema; + /** @deprecated use `UpdateProjectDomainRequestBody$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDomainRequestBody$outboundSchema; + /** @deprecated use `UpdateProjectDomainRequestBody$Outbound` instead. */ + export type Outbound = UpdateProjectDomainRequestBody$Outbound; +} + +export function updateProjectDomainRequestBodyToJSON( + updateProjectDomainRequestBody: UpdateProjectDomainRequestBody, +): string { + return JSON.stringify( + UpdateProjectDomainRequestBody$outboundSchema.parse( + updateProjectDomainRequestBody, + ), + ); +} + +export function updateProjectDomainRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDomainRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDomainRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDomainRequest$inboundSchema: z.ZodType< + UpdateProjectDomainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => UpdateProjectDomainRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UpdateProjectDomainRequest$Outbound = { + idOrName: string; + domain: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: UpdateProjectDomainRequestBody$Outbound; +}; + +/** @internal */ +export const UpdateProjectDomainRequest$outboundSchema: z.ZodType< + UpdateProjectDomainRequest$Outbound, + z.ZodTypeDef, + UpdateProjectDomainRequest +> = z.object({ + idOrName: z.string(), + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateProjectDomainRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDomainRequest$ { + /** @deprecated use `UpdateProjectDomainRequest$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDomainRequest$inboundSchema; + /** @deprecated use `UpdateProjectDomainRequest$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDomainRequest$outboundSchema; + /** @deprecated use `UpdateProjectDomainRequest$Outbound` instead. */ + export type Outbound = UpdateProjectDomainRequest$Outbound; +} + +export function updateProjectDomainRequestToJSON( + updateProjectDomainRequest: UpdateProjectDomainRequest, +): string { + return JSON.stringify( + UpdateProjectDomainRequest$outboundSchema.parse(updateProjectDomainRequest), + ); +} + +export function updateProjectDomainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDomainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDomainRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDomainVerification$inboundSchema: z.ZodType< + UpdateProjectDomainVerification, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + domain: z.string(), + value: z.string(), + reason: z.string(), +}); + +/** @internal */ +export type UpdateProjectDomainVerification$Outbound = { + type: string; + domain: string; + value: string; + reason: string; +}; + +/** @internal */ +export const UpdateProjectDomainVerification$outboundSchema: z.ZodType< + UpdateProjectDomainVerification$Outbound, + z.ZodTypeDef, + UpdateProjectDomainVerification +> = z.object({ + type: z.string(), + domain: z.string(), + value: z.string(), + reason: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDomainVerification$ { + /** @deprecated use `UpdateProjectDomainVerification$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDomainVerification$inboundSchema; + /** @deprecated use `UpdateProjectDomainVerification$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDomainVerification$outboundSchema; + /** @deprecated use `UpdateProjectDomainVerification$Outbound` instead. */ + export type Outbound = UpdateProjectDomainVerification$Outbound; +} + +export function updateProjectDomainVerificationToJSON( + updateProjectDomainVerification: UpdateProjectDomainVerification, +): string { + return JSON.stringify( + UpdateProjectDomainVerification$outboundSchema.parse( + updateProjectDomainVerification, + ), + ); +} + +export function updateProjectDomainVerificationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDomainVerification$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDomainVerification' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDomainResponseBody$inboundSchema: z.ZodType< + UpdateProjectDomainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + apexName: z.string(), + projectId: z.string(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(z.number()).optional(), + gitBranch: z.nullable(z.string()).optional(), + customEnvironmentId: z.nullable(z.string()).optional(), + updatedAt: z.number().optional(), + createdAt: z.number().optional(), + verified: z.boolean(), + verification: z.array( + z.lazy(() => UpdateProjectDomainVerification$inboundSchema), + ).optional(), +}); + +/** @internal */ +export type UpdateProjectDomainResponseBody$Outbound = { + name: string; + apexName: string; + projectId: string; + redirect?: string | null | undefined; + redirectStatusCode?: number | null | undefined; + gitBranch?: string | null | undefined; + customEnvironmentId?: string | null | undefined; + updatedAt?: number | undefined; + createdAt?: number | undefined; + verified: boolean; + verification?: Array | undefined; +}; + +/** @internal */ +export const UpdateProjectDomainResponseBody$outboundSchema: z.ZodType< + UpdateProjectDomainResponseBody$Outbound, + z.ZodTypeDef, + UpdateProjectDomainResponseBody +> = z.object({ + name: z.string(), + apexName: z.string(), + projectId: z.string(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(z.number()).optional(), + gitBranch: z.nullable(z.string()).optional(), + customEnvironmentId: z.nullable(z.string()).optional(), + updatedAt: z.number().optional(), + createdAt: z.number().optional(), + verified: z.boolean(), + verification: z.array( + z.lazy(() => UpdateProjectDomainVerification$outboundSchema), + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDomainResponseBody$ { + /** @deprecated use `UpdateProjectDomainResponseBody$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDomainResponseBody$inboundSchema; + /** @deprecated use `UpdateProjectDomainResponseBody$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDomainResponseBody$outboundSchema; + /** @deprecated use `UpdateProjectDomainResponseBody$Outbound` instead. */ + export type Outbound = UpdateProjectDomainResponseBody$Outbound; +} + +export function updateProjectDomainResponseBodyToJSON( + updateProjectDomainResponseBody: UpdateProjectDomainResponseBody, +): string { + return JSON.stringify( + UpdateProjectDomainResponseBody$outboundSchema.parse( + updateProjectDomainResponseBody, + ), + ); +} + +export function updateProjectDomainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDomainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDomainResponseBody' from JSON`, + ); +} diff --git a/src/models/updateprojectop.ts b/src/models/updateprojectop.ts new file mode 100644 index 00000000..5ed85d3f --- /dev/null +++ b/src/models/updateprojectop.ts @@ -0,0 +1,10000 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + ACLAction, + ACLAction$inboundSchema, + ACLAction$outboundSchema, +} from "./aclaction.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * The framework that is being used for this project. When `null` is used no framework is selected + */ +export const UpdateProjectFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + Astro: "astro", + Hexo: "hexo", + Eleventy: "eleventy", + Docusaurus2: "docusaurus-2", + Docusaurus: "docusaurus", + Preact: "preact", + Solidstart1: "solidstart-1", + Solidstart: "solidstart", + Dojo: "dojo", + Ember: "ember", + Vue: "vue", + Scully: "scully", + IonicAngular: "ionic-angular", + Angular: "angular", + Polymer: "polymer", + Svelte: "svelte", + Sveltekit: "sveltekit", + Sveltekit1: "sveltekit-1", + IonicReact: "ionic-react", + CreateReactApp: "create-react-app", + Gridsome: "gridsome", + Umijs: "umijs", + Sapper: "sapper", + Saber: "saber", + Stencil: "stencil", + Nuxtjs: "nuxtjs", + Redwoodjs: "redwoodjs", + Hugo: "hugo", + Jekyll: "jekyll", + Brunch: "brunch", + Middleman: "middleman", + Zola: "zola", + Hydrogen: "hydrogen", + Vite: "vite", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", +} as const; +/** + * The framework that is being used for this project. When `null` is used no framework is selected + */ +export type UpdateProjectFramework = ClosedEnum; + +export const UpdateProjectNodeVersion = { + TwentyTwoX: "22.x", + TwentyX: "20.x", + EighteenX: "18.x", + SixteenX: "16.x", + FourteenX: "14.x", + TwelveX: "12.x", + TenX: "10.x", +} as const; +export type UpdateProjectNodeVersion = ClosedEnum< + typeof UpdateProjectNodeVersion +>; + +/** + * team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` + */ +export const UpdateProjectIssuerMode = { + Team: "team", + Global: "global", +} as const; +/** + * team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` + */ +export type UpdateProjectIssuerMode = ClosedEnum< + typeof UpdateProjectIssuerMode +>; + +/** + * OpenID Connect JSON Web Token generation configuration. + */ +export type UpdateProjectOidcTokenConfig = { + /** + * Whether or not to generate OpenID Connect JSON Web Tokens. + */ + enabled: boolean; + /** + * team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` + */ + issuerMode?: UpdateProjectIssuerMode | undefined; +}; + +/** + * Specify if the password will apply to every Deployment Target or just Preview + */ +export const DeploymentType = { + All: "all", + Preview: "preview", + ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", +} as const; +/** + * Specify if the password will apply to every Deployment Target or just Preview + */ +export type DeploymentType = ClosedEnum; + +/** + * Allows to protect project deployments with a password + */ +export type PasswordProtection = { + /** + * Specify if the password will apply to every Deployment Target or just Preview + */ + deploymentType: DeploymentType; + /** + * The password that will be used to protect Project Deployments + */ + password?: string | null | undefined; +}; + +/** + * Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview + */ +export const UpdateProjectDeploymentType = { + All: "all", + Preview: "preview", + ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", +} as const; +/** + * Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview + */ +export type UpdateProjectDeploymentType = ClosedEnum< + typeof UpdateProjectDeploymentType +>; + +/** + * Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team + */ +export type SsoProtection = { + /** + * Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview + */ + deploymentType?: UpdateProjectDeploymentType | undefined; +}; + +/** + * Specify if the Trusted IPs will apply to every Deployment Target or just Preview + */ +export const UpdateProjectProjectsDeploymentType = { + All: "all", + Preview: "preview", + Production: "production", + ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", +} as const; +/** + * Specify if the Trusted IPs will apply to every Deployment Target or just Preview + */ +export type UpdateProjectProjectsDeploymentType = ClosedEnum< + typeof UpdateProjectProjectsDeploymentType +>; + +export type Addresses = { + /** + * The IP addresses that are allowlisted. Supports IPv4 addresses and CIDR notations. IPv6 is not supported + */ + value: string; + /** + * An optional note explaining what the IP address or subnet is used for + */ + note?: string | undefined; +}; + +/** + * exclusive: ip match is enough to bypass deployment protection (regardless of other settings). additional: ip must match + any other protection should be also provided (password, vercel auth, shareable link, automation bypass header, automation bypass query param) + */ +export const ProtectionMode = { + Exclusive: "exclusive", + Additional: "additional", +} as const; +/** + * exclusive: ip match is enough to bypass deployment protection (regardless of other settings). additional: ip must match + any other protection should be also provided (password, vercel auth, shareable link, automation bypass header, automation bypass query param) + */ +export type ProtectionMode = ClosedEnum; + +/** + * Restricts access to deployments based on the incoming request IP address + */ +export type TrustedIps = { + /** + * Specify if the Trusted IPs will apply to every Deployment Target or just Preview + */ + deploymentType: UpdateProjectProjectsDeploymentType; + addresses: Array; + /** + * exclusive: ip match is enough to bypass deployment protection (regardless of other settings). additional: ip must match + any other protection should be also provided (password, vercel auth, shareable link, automation bypass header, automation bypass query param) + */ + protectionMode: ProtectionMode; +}; + +export type Paths = { + /** + * The regex path that should not be protected by Deployment Protection + */ + value: string; +}; + +/** + * Specify a list of paths that should not be protected by Deployment Protection to enable Cors preflight requests + */ +export type OptionsAllowlist = { + paths: Array; +}; + +export type UpdateProjectRequestBody = { + autoExposeSystemEnvs?: boolean | undefined; + autoAssignCustomDomains?: boolean | undefined; + autoAssignCustomDomainsUpdatedBy?: string | undefined; + /** + * The build command for this project. When `null` is used this value will be automatically detected + */ + buildCommand?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + /** + * Specifies whether customer support can see git source for a deployment + */ + customerSupportCodeVisibility?: boolean | undefined; + /** + * The dev command for this project. When `null` is used this value will be automatically detected + */ + devCommand?: string | null | undefined; + directoryListing?: boolean | undefined; + /** + * The framework that is being used for this project. When `null` is used no framework is selected + */ + framework?: UpdateProjectFramework | null | undefined; + /** + * Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed + */ + gitForkProtection?: boolean | undefined; + /** + * Specifies whether Git LFS is enabled for this project. + */ + gitLFS?: boolean | undefined; + /** + * The install command for this project. When `null` is used this value will be automatically detected + */ + installCommand?: string | null | undefined; + /** + * The desired name for the project + */ + name?: string | undefined; + nodeVersion?: UpdateProjectNodeVersion | undefined; + /** + * The output directory of the project. When `null` is used this value will be automatically detected + */ + outputDirectory?: string | null | undefined; + /** + * Specifies whether preview deployments are disabled for this project. + */ + previewDeploymentsDisabled?: boolean | null | undefined; + /** + * Specifies whether the source code and logs of the deployments for this project should be public or not + */ + publicSource?: boolean | null | undefined; + /** + * The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root + */ + rootDirectory?: string | null | undefined; + /** + * The region to deploy Serverless Functions in this project + */ + serverlessFunctionRegion?: string | null | undefined; + /** + * Specifies whether Zero Config Failover is enabled for this project. + */ + serverlessFunctionZeroConfigFailover?: boolean | undefined; + /** + * Deployments created before this absolute datetime have Skew Protection disabled. Value is in milliseconds since epoch to match \"createdAt\" fields. + */ + skewProtectionBoundaryAt?: number | undefined; + /** + * Deployments created before this rolling window have Skew Protection disabled. Value is in seconds to match \"revalidate\" fields. + */ + skewProtectionMaxAge?: number | undefined; + /** + * Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + skipGitConnectDuringLink?: boolean | undefined; + /** + * Indicates if there are source files outside of the root directory + */ + sourceFilesOutsideRootDirectory?: boolean | undefined; + /** + * Opt-in to preview toolbar on the project level + */ + enablePreviewFeedback?: boolean | null | undefined; + /** + * Opt-in to production toolbar on the project level + */ + enableProductionFeedback?: boolean | null | undefined; + /** + * Opt-in to skip deployments when there are no changes to the root directory and its dependencies + */ + enableAffectedProjectsDeployments?: boolean | undefined; + /** + * OpenID Connect JSON Web Token generation configuration. + */ + oidcTokenConfig?: UpdateProjectOidcTokenConfig | undefined; + /** + * Allows to protect project deployments with a password + */ + passwordProtection?: PasswordProtection | null | undefined; + /** + * Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team + */ + ssoProtection?: SsoProtection | null | undefined; + /** + * Restricts access to deployments based on the incoming request IP address + */ + trustedIps?: TrustedIps | null | undefined; + /** + * Specify a list of paths that should not be protected by Deployment Protection to enable Cors preflight requests + */ + optionsAllowlist?: OptionsAllowlist | null | undefined; +}; + +export type UpdateProjectRequest = { + /** + * The unique project identifier or the project name + */ + idOrName: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: UpdateProjectRequestBody; +}; + +export type UpdateProjectAnalytics = { + id: string; + canceledAt?: number | null | undefined; + disabledAt: number; + enabledAt: number; + paidAt?: number | undefined; + sampleRatePercent?: number | null | undefined; + spendLimitInDollars?: number | null | undefined; +}; + +export type UpdateProjectSpeedInsights = { + id: string; + enabledAt?: number | undefined; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + hasData?: boolean | undefined; + paidAt?: number | undefined; +}; + +export type UpdateProjectDefinitions = { + /** + * The hostname that should be used. + */ + host: string; + /** + * The path that should be called for the cronjob. + */ + path: string; + /** + * The cron expression. + */ + schedule: string; +}; + +export type UpdateProjectCrons = { + /** + * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs. + */ + enabledAt: number; + /** + * The time the feature was disabled for this project. + */ + disabledAt: number | null; + updatedAt: number; + /** + * The ID of the Deployment from which the definitions originated. + */ + deploymentId: string | null; + definitions: Array; +}; + +export type UpdateProjectDataCache = { + userDisabled: boolean; + storageSizeBytes?: number | null | undefined; + unlimited?: boolean | undefined; +}; + +export type UpdateProjectDeploymentExpiration = { + expirationDays?: number | undefined; + expirationDaysProduction?: number | undefined; + expirationDaysCanceled?: number | undefined; + expirationDaysErrored?: number | undefined; + deploymentsToKeep?: number | undefined; +}; + +export const UpdateProjectTarget2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type UpdateProjectTarget2 = ClosedEnum; + +export type UpdateProjectTarget = Array | UpdateProjectTarget2; + +export const UpdateProjectType = { + System: "system", + Secret: "secret", + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", +} as const; +export type UpdateProjectType = ClosedEnum; + +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = + { + FlagsConnectionString: "flags-connection-string", + } as const; +export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = + ClosedEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type + >; + +export type UpdateProjectContentHint15 = { + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type; + projectId: string; +}; + +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type = + { + IntegrationStoreSecret: "integration-store-secret", + } as const; +export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type = + ClosedEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type + >; + +export type UpdateProjectContentHint14 = { + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type = + { + PostgresUrlNoSsl: "postgres-url-no-ssl", + } as const; +export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type = + ClosedEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type + >; + +export type UpdateProjectContentHint13 = { + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type; + storeId: string; +}; + +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type = + { + PostgresDatabase: "postgres-database", + } as const; +export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type = + ClosedEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type + >; + +export type UpdateProjectContentHint12 = { + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type; + storeId: string; +}; + +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type = + { + PostgresPassword: "postgres-password", + } as const; +export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type = + ClosedEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type + >; + +export type UpdateProjectContentHint11 = { + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type; + storeId: string; +}; + +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type = + { + PostgresHost: "postgres-host", + } as const; +export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type = + ClosedEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type + >; + +export type UpdateProjectContentHint10 = { + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type; + storeId: string; +}; + +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type = + { + PostgresUser: "postgres-user", + } as const; +export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type = + ClosedEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type + >; + +export type UpdateProjectContentHint9 = { + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type; + storeId: string; +}; + +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type = + { + PostgresPrismaUrl: "postgres-prisma-url", + } as const; +export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type = + ClosedEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type + >; + +export type UpdateProjectContentHint8 = { + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type; + storeId: string; +}; + +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType = + { + PostgresUrlNonPooling: "postgres-url-non-pooling", + } as const; +export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType = + ClosedEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType + >; + +export type UpdateProjectContentHint7 = { + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType; + storeId: string; +}; + +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType = + { + PostgresUrl: "postgres-url", + } as const; +export type UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType + >; + +export type UpdateProjectContentHint6 = { + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType; + storeId: string; +}; + +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONType = { + BlobReadWriteToken: "blob-read-write-token", +} as const; +export type UpdateProjectContentHintProjectsResponse200ApplicationJSONType = + ClosedEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONType + >; + +export type UpdateProjectContentHint5 = { + type: UpdateProjectContentHintProjectsResponse200ApplicationJSONType; + storeId: string; +}; + +export const UpdateProjectContentHintProjectsResponse200Type = { + RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token", +} as const; +export type UpdateProjectContentHintProjectsResponse200Type = ClosedEnum< + typeof UpdateProjectContentHintProjectsResponse200Type +>; + +export type UpdateProjectContentHint4 = { + type: UpdateProjectContentHintProjectsResponse200Type; + storeId: string; +}; + +export const UpdateProjectContentHintProjectsResponseType = { + RedisRestApiToken: "redis-rest-api-token", +} as const; +export type UpdateProjectContentHintProjectsResponseType = ClosedEnum< + typeof UpdateProjectContentHintProjectsResponseType +>; + +export type UpdateProjectContentHint3 = { + type: UpdateProjectContentHintProjectsResponseType; + storeId: string; +}; + +export const UpdateProjectContentHintProjectsType = { + RedisRestApiUrl: "redis-rest-api-url", +} as const; +export type UpdateProjectContentHintProjectsType = ClosedEnum< + typeof UpdateProjectContentHintProjectsType +>; + +export type UpdateProjectContentHint2 = { + type: UpdateProjectContentHintProjectsType; + storeId: string; +}; + +export const UpdateProjectContentHintType = { + RedisUrl: "redis-url", +} as const; +export type UpdateProjectContentHintType = ClosedEnum< + typeof UpdateProjectContentHintType +>; + +export type UpdateProjectContentHint1 = { + type: UpdateProjectContentHintType; + storeId: string; +}; + +export type UpdateProjectContentHint = + | UpdateProjectContentHint1 + | UpdateProjectContentHint2 + | UpdateProjectContentHint3 + | UpdateProjectContentHint4 + | UpdateProjectContentHint5 + | UpdateProjectContentHint6 + | UpdateProjectContentHint7 + | UpdateProjectContentHint8 + | UpdateProjectContentHint9 + | UpdateProjectContentHint10 + | UpdateProjectContentHint11 + | UpdateProjectContentHint12 + | UpdateProjectContentHint13 + | UpdateProjectContentHint15 + | UpdateProjectContentHint14; + +export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType = + { + FlagsSecret: "flags-secret", + } as const; +export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType = + ClosedEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType + >; + +/** + * Similar to `contentHints`, but should not be exposed to the user. + */ +export type UpdateProjectInternalContentHint = { + type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType; + /** + * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda. + */ + encryptedValue: string; +}; + +export type UpdateProjectEnv = { + target?: Array | UpdateProjectTarget2 | undefined; + type: UpdateProjectType; + /** + * This is used to identiy variables that have been migrated from type secret to sensitive. + */ + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | UpdateProjectContentHint1 + | UpdateProjectContentHint2 + | UpdateProjectContentHint3 + | UpdateProjectContentHint4 + | UpdateProjectContentHint5 + | UpdateProjectContentHint6 + | UpdateProjectContentHint7 + | UpdateProjectContentHint8 + | UpdateProjectContentHint9 + | UpdateProjectContentHint10 + | UpdateProjectContentHint11 + | UpdateProjectContentHint12 + | UpdateProjectContentHint13 + | UpdateProjectContentHint15 + | UpdateProjectContentHint14 + | null + | undefined; + /** + * Similar to `contentHints`, but should not be exposed to the user. + */ + internalContentHint?: UpdateProjectInternalContentHint | null | undefined; + /** + * Whether `value` and `vsmValue` are decrypted. + */ + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +export type UpdateProjectCustomEnvironments = {}; + +export const UpdateProjectProjectsFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + Astro: "astro", + Hexo: "hexo", + Eleventy: "eleventy", + Docusaurus2: "docusaurus-2", + Docusaurus: "docusaurus", + Preact: "preact", + Solidstart1: "solidstart-1", + Solidstart: "solidstart", + Dojo: "dojo", + Ember: "ember", + Vue: "vue", + Scully: "scully", + IonicAngular: "ionic-angular", + Angular: "angular", + Polymer: "polymer", + Svelte: "svelte", + Sveltekit: "sveltekit", + Sveltekit1: "sveltekit-1", + IonicReact: "ionic-react", + CreateReactApp: "create-react-app", + Gridsome: "gridsome", + Umijs: "umijs", + Sapper: "sapper", + Saber: "saber", + Stencil: "stencil", + Nuxtjs: "nuxtjs", + Redwoodjs: "redwoodjs", + Hugo: "hugo", + Jekyll: "jekyll", + Brunch: "brunch", + Middleman: "middleman", + Zola: "zola", + Hydrogen: "hydrogen", + Vite: "vite", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", +} as const; +export type UpdateProjectProjectsFramework = ClosedEnum< + typeof UpdateProjectProjectsFramework +>; + +export type UpdateProjectIpBuckets = { + bucket: string; + supportUntil?: number | undefined; +}; + +export type UpdateProjectAliasAssigned = number | boolean; + +export type UpdateProjectAliasError = { + code: string; + message: string; +}; + +export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType = { + EndsWith: "endsWith", + StartsWith: "startsWith", + Equals: "equals", +} as const; +export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType + >; + +export type UpdateProjectBranchMatcher = { + type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType; + pattern: string; +}; + +export type UpdateProjectBuilds = { + use: string; + src?: string | undefined; + dest?: string | undefined; +}; + +export const UpdateProjectChecksConclusion = { + Succeeded: "succeeded", + Failed: "failed", + Skipped: "skipped", + Canceled: "canceled", +} as const; +export type UpdateProjectChecksConclusion = ClosedEnum< + typeof UpdateProjectChecksConclusion +>; + +export const UpdateProjectChecksState = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +export type UpdateProjectChecksState = ClosedEnum< + typeof UpdateProjectChecksState +>; + +export type UpdateProjectCreator = { + email: string; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; + uid: string; + username: string; +}; + +export type UpdateProjectOidcTokenClaims = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + ownerId: string; + project: string; + projectId: string; + environment: string; +}; + +export const UpdateProjectPlan = { + Pro: "pro", + Enterprise: "enterprise", + Hobby: "hobby", +} as const; +export type UpdateProjectPlan = ClosedEnum; + +export const UpdateProjectReadyState = { + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Queued: "QUEUED", + Ready: "READY", + Canceled: "CANCELED", +} as const; +export type UpdateProjectReadyState = ClosedEnum< + typeof UpdateProjectReadyState +>; + +export const UpdateProjectReadySubstate = { + Staged: "STAGED", + Promoted: "PROMOTED", +} as const; +export type UpdateProjectReadySubstate = ClosedEnum< + typeof UpdateProjectReadySubstate +>; + +export const UpdateProjectProjectsType = { + Lambdas: "LAMBDAS", +} as const; +export type UpdateProjectProjectsType = ClosedEnum< + typeof UpdateProjectProjectsType +>; + +export type UpdateProjectLatestDeployments = { + id: string; + alias?: Array | undefined; + aliasAssigned?: number | boolean | null | undefined; + aliasError?: UpdateProjectAliasError | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + branchMatcher?: UpdateProjectBranchMatcher | undefined; + buildingAt?: number | undefined; + builds?: Array | undefined; + checksConclusion?: UpdateProjectChecksConclusion | undefined; + checksState?: UpdateProjectChecksState | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdAt: number; + createdIn: string; + creator: UpdateProjectCreator | null; + deletedAt?: number | undefined; + deploymentHostname: string; + forced?: boolean | undefined; + name: string; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + oidcTokenClaims?: UpdateProjectOidcTokenClaims | undefined; + plan: UpdateProjectPlan; + /** + * Whether or not preview comments are enabled for the deployment + */ + previewCommentsEnabled?: boolean | undefined; + private: boolean; + readyAt?: number | undefined; + readyState: UpdateProjectReadyState; + readySubstate?: UpdateProjectReadySubstate | undefined; + requestedAt?: number | undefined; + target?: string | null | undefined; + teamId?: string | null | undefined; + type: UpdateProjectProjectsType; + url: string; + userId: string; + withCache?: boolean | undefined; +}; + +export const UpdateProjectLinkProjectsResponseType = { + Bitbucket: "bitbucket", +} as const; +export type UpdateProjectLinkProjectsResponseType = ClosedEnum< + typeof UpdateProjectLinkProjectsResponseType +>; + +export type UpdateProjectLinkProjectsResponseDeployHooks = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +export type UpdateProjectLink3 = { + name?: string | undefined; + slug?: string | undefined; + owner?: string | undefined; + type?: UpdateProjectLinkProjectsResponseType | undefined; + uuid?: string | undefined; + workspaceUuid?: string | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +export const UpdateProjectLinkProjectsType = { + Gitlab: "gitlab", +} as const; +export type UpdateProjectLinkProjectsType = ClosedEnum< + typeof UpdateProjectLinkProjectsType +>; + +export type UpdateProjectLinkProjectsDeployHooks = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +export type UpdateProjectLink2 = { + projectId?: string | undefined; + projectName?: string | undefined; + projectNameWithNamespace?: string | undefined; + projectNamespace?: string | undefined; + /** + * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. This is the id of the top level group that a namespace belongs to. Gitlab supports group nesting (up to 20 levels). + */ + projectOwnerId?: number | undefined; + projectUrl?: string | undefined; + type?: UpdateProjectLinkProjectsType | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +export const UpdateProjectLinkType = { + Github: "github", +} as const; +export type UpdateProjectLinkType = ClosedEnum; + +export type UpdateProjectLinkDeployHooks = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +export type UpdateProjectLink1 = { + org?: string | undefined; + /** + * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. + */ + repoOwnerId?: number | undefined; + repo?: string | undefined; + repoId?: number | undefined; + type?: UpdateProjectLinkType | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +export type UpdateProjectLink = + | UpdateProjectLink1 + | UpdateProjectLink3 + | UpdateProjectLink2; + +export type UpdateProjectMicrofrontends = { + /** + * Timestamp when the microfrontends settings were last updated. + */ + updatedAt: number; + /** + * The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. + */ + groupIds: Array; + /** + * Whether microfrontends are enabled for this project. + */ + enabled: boolean; + /** + * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. + */ + isDefaultApp?: boolean | undefined; + /** + * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. + */ + defaultRoute?: string | undefined; +}; + +export const UpdateProjectProjectsNodeVersion = { + TwentyTwoX: "22.x", + TwentyX: "20.x", + EighteenX: "18.x", + SixteenX: "16.x", + FourteenX: "14.x", + TwelveX: "12.x", + TenX: "10.x", + Eight10X: "8.10.x", +} as const; +export type UpdateProjectProjectsNodeVersion = ClosedEnum< + typeof UpdateProjectProjectsNodeVersion +>; + +export type UpdateProjectPaths = { + value: string; +}; + +export type UpdateProjectOptionsAllowlist = { + paths: Array; +}; + +export type UpdateProjectPasswordProtection = {}; + +export const UpdateProjectFunctionDefaultMemoryType = { + StandardLegacy: "standard_legacy", + Standard: "standard", + Performance: "performance", +} as const; +export type UpdateProjectFunctionDefaultMemoryType = ClosedEnum< + typeof UpdateProjectFunctionDefaultMemoryType +>; + +export type UpdateProjectResourceConfig = { + functionDefaultTimeout?: number | undefined; + functionDefaultMemoryType?: + | UpdateProjectFunctionDefaultMemoryType + | undefined; + allowServerlessConcurrency?: boolean | undefined; + elasticConcurrencyEnabled?: boolean | undefined; +}; + +export const UpdateProjectProjectsResponseDeploymentType = { + Preview: "preview", + All: "all", + ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", +} as const; +export type UpdateProjectProjectsResponseDeploymentType = ClosedEnum< + typeof UpdateProjectProjectsResponseDeploymentType +>; + +export type UpdateProjectSsoProtection = { + deploymentType: UpdateProjectProjectsResponseDeploymentType; +}; + +export type UpdateProjectProjectsAliasAssigned = number | boolean; + +export type UpdateProjectProjectsAliasError = { + code: string; + message: string; +}; + +export const UpdateProjectProjectsResponse200ApplicationJSONType = { + EndsWith: "endsWith", + StartsWith: "startsWith", + Equals: "equals", +} as const; +export type UpdateProjectProjectsResponse200ApplicationJSONType = ClosedEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONType +>; + +export type UpdateProjectProjectsBranchMatcher = { + type: UpdateProjectProjectsResponse200ApplicationJSONType; + pattern: string; +}; + +export type UpdateProjectProjectsBuilds = { + use: string; + src?: string | undefined; + dest?: string | undefined; +}; + +export const UpdateProjectProjectsChecksConclusion = { + Succeeded: "succeeded", + Failed: "failed", + Skipped: "skipped", + Canceled: "canceled", +} as const; +export type UpdateProjectProjectsChecksConclusion = ClosedEnum< + typeof UpdateProjectProjectsChecksConclusion +>; + +export const UpdateProjectProjectsChecksState = { + Registered: "registered", + Running: "running", + Completed: "completed", +} as const; +export type UpdateProjectProjectsChecksState = ClosedEnum< + typeof UpdateProjectProjectsChecksState +>; + +export type UpdateProjectProjectsCreator = { + email: string; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; + uid: string; + username: string; +}; + +export type UpdateProjectProjectsOidcTokenClaims = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + ownerId: string; + project: string; + projectId: string; + environment: string; +}; + +export const UpdateProjectProjectsPlan = { + Pro: "pro", + Enterprise: "enterprise", + Hobby: "hobby", +} as const; +export type UpdateProjectProjectsPlan = ClosedEnum< + typeof UpdateProjectProjectsPlan +>; + +export const UpdateProjectProjectsReadyState = { + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Queued: "QUEUED", + Ready: "READY", + Canceled: "CANCELED", +} as const; +export type UpdateProjectProjectsReadyState = ClosedEnum< + typeof UpdateProjectProjectsReadyState +>; + +export const UpdateProjectProjectsReadySubstate = { + Staged: "STAGED", + Promoted: "PROMOTED", +} as const; +export type UpdateProjectProjectsReadySubstate = ClosedEnum< + typeof UpdateProjectProjectsReadySubstate +>; + +export const UpdateProjectProjectsResponseType = { + Lambdas: "LAMBDAS", +} as const; +export type UpdateProjectProjectsResponseType = ClosedEnum< + typeof UpdateProjectProjectsResponseType +>; + +export type UpdateProjectTargets = { + id: string; + alias?: Array | undefined; + aliasAssigned?: number | boolean | null | undefined; + aliasError?: UpdateProjectProjectsAliasError | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + branchMatcher?: UpdateProjectProjectsBranchMatcher | undefined; + buildingAt?: number | undefined; + builds?: Array | undefined; + checksConclusion?: UpdateProjectProjectsChecksConclusion | undefined; + checksState?: UpdateProjectProjectsChecksState | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdAt: number; + createdIn: string; + creator: UpdateProjectProjectsCreator | null; + deletedAt?: number | undefined; + deploymentHostname: string; + forced?: boolean | undefined; + name: string; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + oidcTokenClaims?: UpdateProjectProjectsOidcTokenClaims | undefined; + plan: UpdateProjectProjectsPlan; + /** + * Whether or not preview comments are enabled for the deployment + */ + previewCommentsEnabled?: boolean | undefined; + private: boolean; + readyAt?: number | undefined; + readyState: UpdateProjectProjectsReadyState; + readySubstate?: UpdateProjectProjectsReadySubstate | undefined; + requestedAt?: number | undefined; + target?: string | null | undefined; + teamId?: string | null | undefined; + type: UpdateProjectProjectsResponseType; + url: string; + userId: string; + withCache?: boolean | undefined; +}; + +export type UpdateProjectPermissions = { + accessGroup?: Array | undefined; + aliasGlobal?: Array | undefined; + analyticsSampling?: Array | undefined; + analyticsUsage?: Array | undefined; + auditLog?: Array | undefined; + billingAddress?: Array | undefined; + billingInformation?: Array | undefined; + billingInvoice?: Array | undefined; + billingInvoiceEmailRecipient?: Array | undefined; + billingInvoiceLanguage?: Array | undefined; + billingPlan?: Array | undefined; + billingPurchaseOrder?: Array | undefined; + billingTaxId?: Array | undefined; + blob?: Array | undefined; + budget?: Array | undefined; + cacheArtifact?: Array | undefined; + cacheArtifactUsageEvent?: Array | undefined; + codeChecks?: Array | undefined; + concurrentBuilds?: Array | undefined; + connect?: Array | undefined; + connectConfiguration?: Array | undefined; + domain?: Array | undefined; + domainAcceptDelegation?: Array | undefined; + domainAuthCodes?: Array | undefined; + domainCertificate?: Array | undefined; + domainCheckConfig?: Array | undefined; + domainMove?: Array | undefined; + domainPurchase?: Array | undefined; + domainRecord?: Array | undefined; + domainTransferIn?: Array | undefined; + event?: Array | undefined; + ownEvent?: Array | undefined; + sensitiveEnvironmentVariablePolicy?: Array | undefined; + fileUpload?: Array | undefined; + gitRepository?: Array | undefined; + ipBlocking?: Array | undefined; + integration?: Array | undefined; + integrationAccount?: Array | undefined; + integrationConfiguration?: Array | undefined; + integrationConfigurationTransfer?: Array | undefined; + integrationConfigurationProjects?: Array | undefined; + integrationVercelConfigurationOverride?: Array | undefined; + integrationConfigurationRole?: Array | undefined; + integrationResource?: Array | undefined; + integrationEvent?: Array | undefined; + integrationResourceSecrets?: Array | undefined; + integrationDeploymentAction?: Array | undefined; + marketplaceInstallationMember?: Array | undefined; + marketplaceBillingData?: Array | undefined; + marketplaceInvoice?: Array | undefined; + jobGlobal?: Array | undefined; + logDrain?: Array | undefined; + monitoring?: Array | undefined; + monitoringSettings?: Array | undefined; + monitoringQuery?: Array | undefined; + monitoringChart?: Array | undefined; + monitoringAlert?: Array | undefined; + notificationDeploymentFailed?: Array | undefined; + notificationDomainConfiguration?: Array | undefined; + notificationDomainExpire?: Array | undefined; + notificationDomainMoved?: Array | undefined; + notificationDomainPurchase?: Array | undefined; + notificationDomainRenewal?: Array | undefined; + notificationDomainTransfer?: Array | undefined; + notificationDomainUnverified?: Array | undefined; + notificationMonitoringAlert?: Array | undefined; + notificationPaymentFailed?: Array | undefined; + notificationUsageAlert?: Array | undefined; + notificationCustomerBudget?: Array | undefined; + notificationStatementOfReasons?: Array | undefined; + oauth2Connection?: Array | undefined; + observabilityConfiguration?: Array | undefined; + openTelemetryEndpoint?: Array | undefined; + paymentMethod?: Array | undefined; + permissions?: Array | undefined; + postgres?: Array | undefined; + previewDeploymentSuffix?: Array | undefined; + proTrialOnboarding?: Array | undefined; + sharedEnvVars?: Array | undefined; + sharedEnvVarsProduction?: Array | undefined; + space?: Array | undefined; + spaceRun?: Array | undefined; + passwordProtectionInvoiceItem?: Array | undefined; + rateLimit?: Array | undefined; + redis?: Array | undefined; + repository?: Array | undefined; + remoteCaching?: Array | undefined; + samlConfig?: Array | undefined; + secret?: Array | undefined; + redisStoreTokenSet?: Array | undefined; + blobStoreTokenSet?: Array | undefined; + postgresStoreTokenSet?: Array | undefined; + integrationStoreTokenSet?: Array | undefined; + integrationResourceReplCommand?: Array | undefined; + storeTransfer?: Array | undefined; + supportCase?: Array | undefined; + supportCaseComment?: Array | undefined; + dataCacheBillingSettings?: Array | undefined; + team?: Array | undefined; + teamAccessRequest?: Array | undefined; + teamFellowMembership?: Array | undefined; + teamGitExclusivity?: Array | undefined; + teamInvite?: Array | undefined; + teamInviteCode?: Array | undefined; + teamJoin?: Array | undefined; + teamMicrofrontends?: Array | undefined; + teamOwnMembership?: Array | undefined; + teamOwnMembershipDisconnectSAML?: Array | undefined; + token?: Array | undefined; + usage?: Array | undefined; + usageCycle?: Array | undefined; + user?: Array | undefined; + userConnection?: Array | undefined; + vpcPeeringConnection?: Array | undefined; + webAnalyticsPlan?: Array | undefined; + webAuthn?: Array | undefined; + edgeConfig?: Array | undefined; + edgeConfigItem?: Array | undefined; + edgeConfigSchema?: Array | undefined; + edgeConfigToken?: Array | undefined; + webhook?: Array | undefined; + webhookEvent?: Array | undefined; + endpointVerification?: Array | undefined; + projectTransferIn?: Array | undefined; + oauth2Application?: Array | undefined; + aliasProject?: Array | undefined; + aliasProtectionBypass?: Array | undefined; + productionAliasProtectionBypass?: Array | undefined; + connectConfigurationLink?: Array | undefined; + dataCacheNamespace?: Array | undefined; + deployment?: Array | undefined; + deploymentCheck?: Array | undefined; + deploymentCheckPreview?: Array | undefined; + deploymentCheckReRunFromProductionBranch?: Array | undefined; + deploymentProductionGit?: Array | undefined; + deploymentV0?: Array | undefined; + deploymentPreview?: Array | undefined; + deploymentPrivate?: Array | undefined; + deploymentPromote?: Array | undefined; + deploymentRollback?: Array | undefined; + environments?: Array | undefined; + logs?: Array | undefined; + logsPreset?: Array | undefined; + passwordProtection?: Array | undefined; + optionsAllowlist?: Array | undefined; + job?: Array | undefined; + observabilityData?: Array | undefined; + project?: Array | undefined; + projectFromV0?: Array | undefined; + projectAccessGroup?: Array | undefined; + projectAnalyticsSampling?: Array | undefined; + projectDeploymentHook?: Array | undefined; + projectDomain?: Array | undefined; + projectDomainMove?: Array | undefined; + projectDomainCheckConfig?: Array | undefined; + projectEnvVars?: Array | undefined; + projectEnvVarsProduction?: Array | undefined; + projectEnvVarsUnownedByIntegration?: Array | undefined; + projectFlags?: Array | undefined; + projectId?: Array | undefined; + projectIntegrationConfiguration?: Array | undefined; + projectLink?: Array | undefined; + projectMember?: Array | undefined; + projectMonitoring?: Array | undefined; + projectPermissions?: Array | undefined; + projectProductionBranch?: Array | undefined; + projectTransfer?: Array | undefined; + projectTransferOut?: Array | undefined; + projectProtectionBypass?: Array | undefined; + projectUsage?: Array | undefined; + projectAnalyticsUsage?: Array | undefined; + projectSupportCase?: Array | undefined; + projectSupportCaseComment?: Array | undefined; + projectDeploymentExpiration?: Array | undefined; + projectTier?: Array | undefined; + seawallConfig?: Array | undefined; + skewProtection?: Array | undefined; + analytics?: Array | undefined; + trustedIps?: Array | undefined; + webAnalytics?: Array | undefined; + sharedEnvVarConnection?: Array | undefined; + sonar?: Array | undefined; +}; + +export type UpdateProjectLastRollbackTarget = {}; + +export const UpdateProjectJobStatus = { + Pending: "pending", + InProgress: "in-progress", + Succeeded: "succeeded", + Failed: "failed", + Skipped: "skipped", +} as const; +export type UpdateProjectJobStatus = ClosedEnum; + +export const UpdateProjectProjectsResponse200Type = { + Promote: "promote", + Rollback: "rollback", +} as const; +export type UpdateProjectProjectsResponse200Type = ClosedEnum< + typeof UpdateProjectProjectsResponse200Type +>; + +export type UpdateProjectLastAliasRequest = { + fromDeploymentId: string; + toDeploymentId: string; + jobStatus: UpdateProjectJobStatus; + requestedAt: number; + type: UpdateProjectProjectsResponse200Type; +}; + +export const UpdateProjectScope = { + AutomationBypass: "automation-bypass", +} as const; +export type UpdateProjectScope = ClosedEnum; + +export type UpdateProjectProtectionBypass = { + createdAt: number; + createdBy: string; + scope: UpdateProjectScope; +}; + +export const UpdateProjectTrustedIpsProjectsDeploymentType = { + Production: "production", + Preview: "preview", + All: "all", + ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", +} as const; +export type UpdateProjectTrustedIpsProjectsDeploymentType = ClosedEnum< + typeof UpdateProjectTrustedIpsProjectsDeploymentType +>; + +export type UpdateProjectTrustedIps2 = { + deploymentType: UpdateProjectTrustedIpsProjectsDeploymentType; +}; + +export const UpdateProjectTrustedIpsDeploymentType = { + Production: "production", + Preview: "preview", + All: "all", + ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", +} as const; +export type UpdateProjectTrustedIpsDeploymentType = ClosedEnum< + typeof UpdateProjectTrustedIpsDeploymentType +>; + +export type UpdateProjectTrustedIpsAddresses = { + value: string; + note?: string | undefined; +}; + +export const UpdateProjectTrustedIpsProtectionMode = { + Additional: "additional", + Exclusive: "exclusive", +} as const; +export type UpdateProjectTrustedIpsProtectionMode = ClosedEnum< + typeof UpdateProjectTrustedIpsProtectionMode +>; + +export type UpdateProjectTrustedIps1 = { + deploymentType: UpdateProjectTrustedIpsDeploymentType; + addresses: Array; + protectionMode: UpdateProjectTrustedIpsProtectionMode; +}; + +export type UpdateProjectTrustedIps = + | UpdateProjectTrustedIps2 + | UpdateProjectTrustedIps1; + +export type UpdateProjectGitComments = { + /** + * Whether the Vercel bot should comment on PRs + */ + onPullRequest: boolean; + /** + * Whether the Vercel bot should comment on commits + */ + onCommit: boolean; +}; + +export type UpdateProjectWebAnalytics = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; +}; + +export type UpdateProjectSrc2 = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +export type UpdateProjectSrc = UpdateProjectSrc2 | string; + +export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType = + { + Path: "path", + Host: "host", + Method: "method", + Header: "header", + Cookie: "cookie", + Query: "query", + IpAddress: "ip_address", + Protocol: "protocol", + Scheme: "scheme", + Environment: "environment", + Region: "region", + InitialRequestPath: "initial_request_path", + } as const; +export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType = + ClosedEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType + >; + +export type UpdateProjectValue2 = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +export type UpdateProjectValue = UpdateProjectValue2 | string; + +export type UpdateProjectHas = { + type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType; + key?: string | undefined; + value?: UpdateProjectValue2 | string | undefined; +}; + +export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = + { + Path: "path", + Host: "host", + Method: "method", + Header: "header", + Cookie: "cookie", + Query: "query", + IpAddress: "ip_address", + Protocol: "protocol", + Scheme: "scheme", + Environment: "environment", + Region: "region", + InitialRequestPath: "initial_request_path", + } as const; +export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = + ClosedEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType + >; + +export type UpdateProjectValueProjects2 = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +export type UpdateProjectProjectsValue = UpdateProjectValueProjects2 | string; + +export type UpdateProjectMissing = { + type: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType; + key?: string | undefined; + value?: UpdateProjectValueProjects2 | string | undefined; +}; + +export const UpdateProjectHandle = { + Init: "init", + Finalize: "finalize", +} as const; +export type UpdateProjectHandle = ClosedEnum; + +export const UpdateProjectAction = { + Deny: "deny", + Challenge: "challenge", + Log: "log", + Bypass: "bypass", + RateLimit: "rate_limit", + Redirect: "redirect", +} as const; +export type UpdateProjectAction = ClosedEnum; + +export const UpdateProjectAlgo = { + FixedWindow: "fixed_window", + TokenBucket: "token_bucket", +} as const; +export type UpdateProjectAlgo = ClosedEnum; + +export type UpdateProjectErl = { + algo: UpdateProjectAlgo; + window: number; + limit: number; + keys: Array; +}; + +export type UpdateProjectMitigate = { + action: UpdateProjectAction; + ruleId: string; + ttl?: number | undefined; + erl?: UpdateProjectErl | undefined; +}; + +export type UpdateProjectFirewallRoutes = { + src?: UpdateProjectSrc2 | string | undefined; + has?: Array | undefined; + missing?: Array | undefined; + dest?: string | undefined; + status?: number | undefined; + handle?: UpdateProjectHandle | undefined; + mitigate?: UpdateProjectMitigate | undefined; +}; + +export type UpdateProjectSecurity = { + attackModeEnabled?: boolean | undefined; + attackModeUpdatedAt?: number | undefined; + firewallEnabled?: boolean | undefined; + firewallUpdatedAt?: number | undefined; + attackModeActiveUntil?: number | null | undefined; + firewallConfigVersion?: number | undefined; + firewallRoutes?: Array | undefined; + firewallSeawallEnabled?: boolean | undefined; + ja3Enabled?: boolean | undefined; + ja4Enabled?: boolean | undefined; + firewallBypassIps?: Array | undefined; +}; + +/** + * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` + */ +export const UpdateProjectProjectsIssuerMode = { + Team: "team", + Global: "global", +} as const; +/** + * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` + */ +export type UpdateProjectProjectsIssuerMode = ClosedEnum< + typeof UpdateProjectProjectsIssuerMode +>; + +export type UpdateProjectProjectsOidcTokenConfig = { + enabled: boolean; + /** + * - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com` + */ + issuerMode?: UpdateProjectProjectsIssuerMode | undefined; +}; + +export const UpdateProjectTier = { + Standard: "standard", + Advanced: "advanced", + Critical: "critical", +} as const; +export type UpdateProjectTier = ClosedEnum; + +/** + * The project was successfully updated + */ +export type UpdateProjectResponseBody = { + accountId: string; + analytics?: UpdateProjectAnalytics | undefined; + speedInsights?: UpdateProjectSpeedInsights | undefined; + autoExposeSystemEnvs?: boolean | undefined; + autoAssignCustomDomains?: boolean | undefined; + autoAssignCustomDomainsUpdatedBy?: string | undefined; + buildCommand?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + connectConfigurationId?: string | null | undefined; + connectBuildsEnabled?: boolean | undefined; + createdAt?: number | undefined; + customerSupportCodeVisibility?: boolean | undefined; + crons?: UpdateProjectCrons | undefined; + dataCache?: UpdateProjectDataCache | undefined; + deploymentExpiration?: UpdateProjectDeploymentExpiration | null | undefined; + devCommand?: string | null | undefined; + directoryListing: boolean; + installCommand?: string | null | undefined; + env?: Array | undefined; + customEnvironments?: Array | undefined; + framework?: UpdateProjectProjectsFramework | null | undefined; + gitForkProtection?: boolean | undefined; + gitLFS?: boolean | undefined; + id: string; + ipBuckets?: Array | undefined; + latestDeployments?: Array | undefined; + link?: + | UpdateProjectLink1 + | UpdateProjectLink3 + | UpdateProjectLink2 + | undefined; + microfrontends?: UpdateProjectMicrofrontends | undefined; + name: string; + nodeVersion: UpdateProjectProjectsNodeVersion; + optionsAllowlist?: UpdateProjectOptionsAllowlist | null | undefined; + outputDirectory?: string | null | undefined; + passiveConnectConfigurationId?: string | null | undefined; + passwordProtection?: UpdateProjectPasswordProtection | null | undefined; + productionDeploymentsFastLane?: boolean | undefined; + publicSource?: boolean | null | undefined; + resourceConfig?: UpdateProjectResourceConfig | undefined; + rootDirectory?: string | null | undefined; + serverlessFunctionRegion?: string | null | undefined; + serverlessFunctionZeroConfigFailover?: boolean | undefined; + skewProtectionBoundaryAt?: number | undefined; + skewProtectionMaxAge?: number | undefined; + skipGitConnectDuringLink?: boolean | undefined; + sourceFilesOutsideRootDirectory?: boolean | undefined; + enableAffectedProjectsDeployments?: boolean | undefined; + ssoProtection?: UpdateProjectSsoProtection | null | undefined; + targets?: { [k: string]: UpdateProjectTargets } | undefined; + transferCompletedAt?: number | undefined; + transferStartedAt?: number | undefined; + transferToAccountId?: string | undefined; + transferredFromAccountId?: string | undefined; + updatedAt?: number | undefined; + live?: boolean | undefined; + enablePreviewFeedback?: boolean | null | undefined; + enableProductionFeedback?: boolean | null | undefined; + permissions?: UpdateProjectPermissions | undefined; + lastRollbackTarget?: UpdateProjectLastRollbackTarget | null | undefined; + lastAliasRequest?: UpdateProjectLastAliasRequest | null | undefined; + hasFloatingAliases?: boolean | undefined; + protectionBypass?: { [k: string]: UpdateProjectProtectionBypass } | undefined; + hasActiveBranches?: boolean | undefined; + trustedIps?: + | UpdateProjectTrustedIps2 + | UpdateProjectTrustedIps1 + | null + | undefined; + gitComments?: UpdateProjectGitComments | undefined; + paused?: boolean | undefined; + concurrencyBucketName?: string | undefined; + webAnalytics?: UpdateProjectWebAnalytics | undefined; + security?: UpdateProjectSecurity | undefined; + oidcTokenConfig?: UpdateProjectProjectsOidcTokenConfig | undefined; + tier?: UpdateProjectTier | undefined; +}; + +/** @internal */ +export const UpdateProjectFramework$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectFramework +> = z.nativeEnum(UpdateProjectFramework); + +/** @internal */ +export const UpdateProjectFramework$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectFramework +> = UpdateProjectFramework$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectFramework$ { + /** @deprecated use `UpdateProjectFramework$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectFramework$inboundSchema; + /** @deprecated use `UpdateProjectFramework$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectFramework$outboundSchema; +} + +/** @internal */ +export const UpdateProjectNodeVersion$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectNodeVersion +> = z.nativeEnum(UpdateProjectNodeVersion); + +/** @internal */ +export const UpdateProjectNodeVersion$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectNodeVersion +> = UpdateProjectNodeVersion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectNodeVersion$ { + /** @deprecated use `UpdateProjectNodeVersion$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectNodeVersion$inboundSchema; + /** @deprecated use `UpdateProjectNodeVersion$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectNodeVersion$outboundSchema; +} + +/** @internal */ +export const UpdateProjectIssuerMode$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectIssuerMode +> = z.nativeEnum(UpdateProjectIssuerMode); + +/** @internal */ +export const UpdateProjectIssuerMode$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectIssuerMode +> = UpdateProjectIssuerMode$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectIssuerMode$ { + /** @deprecated use `UpdateProjectIssuerMode$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectIssuerMode$inboundSchema; + /** @deprecated use `UpdateProjectIssuerMode$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectIssuerMode$outboundSchema; +} + +/** @internal */ +export const UpdateProjectOidcTokenConfig$inboundSchema: z.ZodType< + UpdateProjectOidcTokenConfig, + z.ZodTypeDef, + unknown +> = z.object({ + enabled: z.boolean(), + issuerMode: UpdateProjectIssuerMode$inboundSchema.default("global"), +}); + +/** @internal */ +export type UpdateProjectOidcTokenConfig$Outbound = { + enabled: boolean; + issuerMode: string; +}; + +/** @internal */ +export const UpdateProjectOidcTokenConfig$outboundSchema: z.ZodType< + UpdateProjectOidcTokenConfig$Outbound, + z.ZodTypeDef, + UpdateProjectOidcTokenConfig +> = z.object({ + enabled: z.boolean(), + issuerMode: UpdateProjectIssuerMode$outboundSchema.default("global"), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectOidcTokenConfig$ { + /** @deprecated use `UpdateProjectOidcTokenConfig$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectOidcTokenConfig$inboundSchema; + /** @deprecated use `UpdateProjectOidcTokenConfig$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectOidcTokenConfig$outboundSchema; + /** @deprecated use `UpdateProjectOidcTokenConfig$Outbound` instead. */ + export type Outbound = UpdateProjectOidcTokenConfig$Outbound; +} + +export function updateProjectOidcTokenConfigToJSON( + updateProjectOidcTokenConfig: UpdateProjectOidcTokenConfig, +): string { + return JSON.stringify( + UpdateProjectOidcTokenConfig$outboundSchema.parse( + updateProjectOidcTokenConfig, + ), + ); +} + +export function updateProjectOidcTokenConfigFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectOidcTokenConfig$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectOidcTokenConfig' from JSON`, + ); +} + +/** @internal */ +export const DeploymentType$inboundSchema: z.ZodNativeEnum< + typeof DeploymentType +> = z.nativeEnum(DeploymentType); + +/** @internal */ +export const DeploymentType$outboundSchema: z.ZodNativeEnum< + typeof DeploymentType +> = DeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace DeploymentType$ { + /** @deprecated use `DeploymentType$inboundSchema` instead. */ + export const inboundSchema = DeploymentType$inboundSchema; + /** @deprecated use `DeploymentType$outboundSchema` instead. */ + export const outboundSchema = DeploymentType$outboundSchema; +} + +/** @internal */ +export const PasswordProtection$inboundSchema: z.ZodType< + PasswordProtection, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentType: DeploymentType$inboundSchema, + password: z.nullable(z.string()).optional(), +}); + +/** @internal */ +export type PasswordProtection$Outbound = { + deploymentType: string; + password?: string | null | undefined; +}; + +/** @internal */ +export const PasswordProtection$outboundSchema: z.ZodType< + PasswordProtection$Outbound, + z.ZodTypeDef, + PasswordProtection +> = z.object({ + deploymentType: DeploymentType$outboundSchema, + password: z.nullable(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace PasswordProtection$ { + /** @deprecated use `PasswordProtection$inboundSchema` instead. */ + export const inboundSchema = PasswordProtection$inboundSchema; + /** @deprecated use `PasswordProtection$outboundSchema` instead. */ + export const outboundSchema = PasswordProtection$outboundSchema; + /** @deprecated use `PasswordProtection$Outbound` instead. */ + export type Outbound = PasswordProtection$Outbound; +} + +export function passwordProtectionToJSON( + passwordProtection: PasswordProtection, +): string { + return JSON.stringify( + PasswordProtection$outboundSchema.parse(passwordProtection), + ); +} + +export function passwordProtectionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PasswordProtection$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PasswordProtection' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDeploymentType$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDeploymentType +> = z.nativeEnum(UpdateProjectDeploymentType); + +/** @internal */ +export const UpdateProjectDeploymentType$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDeploymentType +> = UpdateProjectDeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDeploymentType$ { + /** @deprecated use `UpdateProjectDeploymentType$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDeploymentType$inboundSchema; + /** @deprecated use `UpdateProjectDeploymentType$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDeploymentType$outboundSchema; +} + +/** @internal */ +export const SsoProtection$inboundSchema: z.ZodType< + SsoProtection, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentType: UpdateProjectDeploymentType$inboundSchema.default("preview"), +}); + +/** @internal */ +export type SsoProtection$Outbound = { + deploymentType: string; +}; + +/** @internal */ +export const SsoProtection$outboundSchema: z.ZodType< + SsoProtection$Outbound, + z.ZodTypeDef, + SsoProtection +> = z.object({ + deploymentType: UpdateProjectDeploymentType$outboundSchema.default("preview"), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SsoProtection$ { + /** @deprecated use `SsoProtection$inboundSchema` instead. */ + export const inboundSchema = SsoProtection$inboundSchema; + /** @deprecated use `SsoProtection$outboundSchema` instead. */ + export const outboundSchema = SsoProtection$outboundSchema; + /** @deprecated use `SsoProtection$Outbound` instead. */ + export type Outbound = SsoProtection$Outbound; +} + +export function ssoProtectionToJSON(ssoProtection: SsoProtection): string { + return JSON.stringify(SsoProtection$outboundSchema.parse(ssoProtection)); +} + +export function ssoProtectionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SsoProtection$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SsoProtection' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsDeploymentType$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsDeploymentType +> = z.nativeEnum(UpdateProjectProjectsDeploymentType); + +/** @internal */ +export const UpdateProjectProjectsDeploymentType$outboundSchema: + z.ZodNativeEnum = + UpdateProjectProjectsDeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsDeploymentType$ { + /** @deprecated use `UpdateProjectProjectsDeploymentType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectProjectsDeploymentType$inboundSchema; + /** @deprecated use `UpdateProjectProjectsDeploymentType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProjectsDeploymentType$outboundSchema; +} + +/** @internal */ +export const Addresses$inboundSchema: z.ZodType< + Addresses, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.string(), + note: z.string().optional(), +}); + +/** @internal */ +export type Addresses$Outbound = { + value: string; + note?: string | undefined; +}; + +/** @internal */ +export const Addresses$outboundSchema: z.ZodType< + Addresses$Outbound, + z.ZodTypeDef, + Addresses +> = z.object({ + value: z.string(), + note: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Addresses$ { + /** @deprecated use `Addresses$inboundSchema` instead. */ + export const inboundSchema = Addresses$inboundSchema; + /** @deprecated use `Addresses$outboundSchema` instead. */ + export const outboundSchema = Addresses$outboundSchema; + /** @deprecated use `Addresses$Outbound` instead. */ + export type Outbound = Addresses$Outbound; +} + +export function addressesToJSON(addresses: Addresses): string { + return JSON.stringify(Addresses$outboundSchema.parse(addresses)); +} + +export function addressesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Addresses$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Addresses' from JSON`, + ); +} + +/** @internal */ +export const ProtectionMode$inboundSchema: z.ZodNativeEnum< + typeof ProtectionMode +> = z.nativeEnum(ProtectionMode); + +/** @internal */ +export const ProtectionMode$outboundSchema: z.ZodNativeEnum< + typeof ProtectionMode +> = ProtectionMode$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ProtectionMode$ { + /** @deprecated use `ProtectionMode$inboundSchema` instead. */ + export const inboundSchema = ProtectionMode$inboundSchema; + /** @deprecated use `ProtectionMode$outboundSchema` instead. */ + export const outboundSchema = ProtectionMode$outboundSchema; +} + +/** @internal */ +export const TrustedIps$inboundSchema: z.ZodType< + TrustedIps, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentType: UpdateProjectProjectsDeploymentType$inboundSchema, + addresses: z.array(z.lazy(() => Addresses$inboundSchema)), + protectionMode: ProtectionMode$inboundSchema, +}); + +/** @internal */ +export type TrustedIps$Outbound = { + deploymentType: string; + addresses: Array; + protectionMode: string; +}; + +/** @internal */ +export const TrustedIps$outboundSchema: z.ZodType< + TrustedIps$Outbound, + z.ZodTypeDef, + TrustedIps +> = z.object({ + deploymentType: UpdateProjectProjectsDeploymentType$outboundSchema, + addresses: z.array(z.lazy(() => Addresses$outboundSchema)), + protectionMode: ProtectionMode$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TrustedIps$ { + /** @deprecated use `TrustedIps$inboundSchema` instead. */ + export const inboundSchema = TrustedIps$inboundSchema; + /** @deprecated use `TrustedIps$outboundSchema` instead. */ + export const outboundSchema = TrustedIps$outboundSchema; + /** @deprecated use `TrustedIps$Outbound` instead. */ + export type Outbound = TrustedIps$Outbound; +} + +export function trustedIpsToJSON(trustedIps: TrustedIps): string { + return JSON.stringify(TrustedIps$outboundSchema.parse(trustedIps)); +} + +export function trustedIpsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TrustedIps$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TrustedIps' from JSON`, + ); +} + +/** @internal */ +export const Paths$inboundSchema: z.ZodType = z + .object({ + value: z.string(), + }); + +/** @internal */ +export type Paths$Outbound = { + value: string; +}; + +/** @internal */ +export const Paths$outboundSchema: z.ZodType< + Paths$Outbound, + z.ZodTypeDef, + Paths +> = z.object({ + value: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Paths$ { + /** @deprecated use `Paths$inboundSchema` instead. */ + export const inboundSchema = Paths$inboundSchema; + /** @deprecated use `Paths$outboundSchema` instead. */ + export const outboundSchema = Paths$outboundSchema; + /** @deprecated use `Paths$Outbound` instead. */ + export type Outbound = Paths$Outbound; +} + +export function pathsToJSON(paths: Paths): string { + return JSON.stringify(Paths$outboundSchema.parse(paths)); +} + +export function pathsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Paths$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Paths' from JSON`, + ); +} + +/** @internal */ +export const OptionsAllowlist$inboundSchema: z.ZodType< + OptionsAllowlist, + z.ZodTypeDef, + unknown +> = z.object({ + paths: z.array(z.lazy(() => Paths$inboundSchema)), +}); + +/** @internal */ +export type OptionsAllowlist$Outbound = { + paths: Array; +}; + +/** @internal */ +export const OptionsAllowlist$outboundSchema: z.ZodType< + OptionsAllowlist$Outbound, + z.ZodTypeDef, + OptionsAllowlist +> = z.object({ + paths: z.array(z.lazy(() => Paths$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace OptionsAllowlist$ { + /** @deprecated use `OptionsAllowlist$inboundSchema` instead. */ + export const inboundSchema = OptionsAllowlist$inboundSchema; + /** @deprecated use `OptionsAllowlist$outboundSchema` instead. */ + export const outboundSchema = OptionsAllowlist$outboundSchema; + /** @deprecated use `OptionsAllowlist$Outbound` instead. */ + export type Outbound = OptionsAllowlist$Outbound; +} + +export function optionsAllowlistToJSON( + optionsAllowlist: OptionsAllowlist, +): string { + return JSON.stringify( + OptionsAllowlist$outboundSchema.parse(optionsAllowlist), + ); +} + +export function optionsAllowlistFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OptionsAllowlist$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OptionsAllowlist' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectRequestBody$inboundSchema: z.ZodType< + UpdateProjectRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + autoExposeSystemEnvs: z.boolean().optional(), + autoAssignCustomDomains: z.boolean().optional(), + autoAssignCustomDomainsUpdatedBy: z.string().optional(), + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + customerSupportCodeVisibility: z.boolean().optional(), + devCommand: z.nullable(z.string()).optional(), + directoryListing: z.boolean().optional(), + framework: z.nullable(UpdateProjectFramework$inboundSchema).optional(), + gitForkProtection: z.boolean().optional(), + gitLFS: z.boolean().optional(), + installCommand: z.nullable(z.string()).optional(), + name: z.string().optional(), + nodeVersion: UpdateProjectNodeVersion$inboundSchema.optional(), + outputDirectory: z.nullable(z.string()).optional(), + previewDeploymentsDisabled: z.nullable(z.boolean()).optional(), + publicSource: z.nullable(z.boolean()).optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + serverlessFunctionZeroConfigFailover: z.boolean().optional(), + skewProtectionBoundaryAt: z.number().int().optional(), + skewProtectionMaxAge: z.number().int().optional(), + skipGitConnectDuringLink: z.boolean().optional(), + sourceFilesOutsideRootDirectory: z.boolean().optional(), + enablePreviewFeedback: z.nullable(z.boolean()).optional(), + enableProductionFeedback: z.nullable(z.boolean()).optional(), + enableAffectedProjectsDeployments: z.boolean().optional(), + oidcTokenConfig: z.lazy(() => UpdateProjectOidcTokenConfig$inboundSchema) + .optional(), + passwordProtection: z.nullable(z.lazy(() => PasswordProtection$inboundSchema)) + .optional(), + ssoProtection: z.nullable(z.lazy(() => SsoProtection$inboundSchema)) + .optional(), + trustedIps: z.nullable(z.lazy(() => TrustedIps$inboundSchema)).optional(), + optionsAllowlist: z.nullable(z.lazy(() => OptionsAllowlist$inboundSchema)) + .optional(), +}); + +/** @internal */ +export type UpdateProjectRequestBody$Outbound = { + autoExposeSystemEnvs?: boolean | undefined; + autoAssignCustomDomains?: boolean | undefined; + autoAssignCustomDomainsUpdatedBy?: string | undefined; + buildCommand?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + customerSupportCodeVisibility?: boolean | undefined; + devCommand?: string | null | undefined; + directoryListing?: boolean | undefined; + framework?: string | null | undefined; + gitForkProtection?: boolean | undefined; + gitLFS?: boolean | undefined; + installCommand?: string | null | undefined; + name?: string | undefined; + nodeVersion?: string | undefined; + outputDirectory?: string | null | undefined; + previewDeploymentsDisabled?: boolean | null | undefined; + publicSource?: boolean | null | undefined; + rootDirectory?: string | null | undefined; + serverlessFunctionRegion?: string | null | undefined; + serverlessFunctionZeroConfigFailover?: boolean | undefined; + skewProtectionBoundaryAt?: number | undefined; + skewProtectionMaxAge?: number | undefined; + skipGitConnectDuringLink?: boolean | undefined; + sourceFilesOutsideRootDirectory?: boolean | undefined; + enablePreviewFeedback?: boolean | null | undefined; + enableProductionFeedback?: boolean | null | undefined; + enableAffectedProjectsDeployments?: boolean | undefined; + oidcTokenConfig?: UpdateProjectOidcTokenConfig$Outbound | undefined; + passwordProtection?: PasswordProtection$Outbound | null | undefined; + ssoProtection?: SsoProtection$Outbound | null | undefined; + trustedIps?: TrustedIps$Outbound | null | undefined; + optionsAllowlist?: OptionsAllowlist$Outbound | null | undefined; +}; + +/** @internal */ +export const UpdateProjectRequestBody$outboundSchema: z.ZodType< + UpdateProjectRequestBody$Outbound, + z.ZodTypeDef, + UpdateProjectRequestBody +> = z.object({ + autoExposeSystemEnvs: z.boolean().optional(), + autoAssignCustomDomains: z.boolean().optional(), + autoAssignCustomDomainsUpdatedBy: z.string().optional(), + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + customerSupportCodeVisibility: z.boolean().optional(), + devCommand: z.nullable(z.string()).optional(), + directoryListing: z.boolean().optional(), + framework: z.nullable(UpdateProjectFramework$outboundSchema).optional(), + gitForkProtection: z.boolean().optional(), + gitLFS: z.boolean().optional(), + installCommand: z.nullable(z.string()).optional(), + name: z.string().optional(), + nodeVersion: UpdateProjectNodeVersion$outboundSchema.optional(), + outputDirectory: z.nullable(z.string()).optional(), + previewDeploymentsDisabled: z.nullable(z.boolean()).optional(), + publicSource: z.nullable(z.boolean()).optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + serverlessFunctionZeroConfigFailover: z.boolean().optional(), + skewProtectionBoundaryAt: z.number().int().optional(), + skewProtectionMaxAge: z.number().int().optional(), + skipGitConnectDuringLink: z.boolean().optional(), + sourceFilesOutsideRootDirectory: z.boolean().optional(), + enablePreviewFeedback: z.nullable(z.boolean()).optional(), + enableProductionFeedback: z.nullable(z.boolean()).optional(), + enableAffectedProjectsDeployments: z.boolean().optional(), + oidcTokenConfig: z.lazy(() => UpdateProjectOidcTokenConfig$outboundSchema) + .optional(), + passwordProtection: z.nullable( + z.lazy(() => PasswordProtection$outboundSchema), + ).optional(), + ssoProtection: z.nullable(z.lazy(() => SsoProtection$outboundSchema)) + .optional(), + trustedIps: z.nullable(z.lazy(() => TrustedIps$outboundSchema)).optional(), + optionsAllowlist: z.nullable(z.lazy(() => OptionsAllowlist$outboundSchema)) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectRequestBody$ { + /** @deprecated use `UpdateProjectRequestBody$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectRequestBody$inboundSchema; + /** @deprecated use `UpdateProjectRequestBody$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectRequestBody$outboundSchema; + /** @deprecated use `UpdateProjectRequestBody$Outbound` instead. */ + export type Outbound = UpdateProjectRequestBody$Outbound; +} + +export function updateProjectRequestBodyToJSON( + updateProjectRequestBody: UpdateProjectRequestBody, +): string { + return JSON.stringify( + UpdateProjectRequestBody$outboundSchema.parse(updateProjectRequestBody), + ); +} + +export function updateProjectRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectRequest$inboundSchema: z.ZodType< + UpdateProjectRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => UpdateProjectRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UpdateProjectRequest$Outbound = { + idOrName: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: UpdateProjectRequestBody$Outbound; +}; + +/** @internal */ +export const UpdateProjectRequest$outboundSchema: z.ZodType< + UpdateProjectRequest$Outbound, + z.ZodTypeDef, + UpdateProjectRequest +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateProjectRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectRequest$ { + /** @deprecated use `UpdateProjectRequest$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectRequest$inboundSchema; + /** @deprecated use `UpdateProjectRequest$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectRequest$outboundSchema; + /** @deprecated use `UpdateProjectRequest$Outbound` instead. */ + export type Outbound = UpdateProjectRequest$Outbound; +} + +export function updateProjectRequestToJSON( + updateProjectRequest: UpdateProjectRequest, +): string { + return JSON.stringify( + UpdateProjectRequest$outboundSchema.parse(updateProjectRequest), + ); +} + +export function updateProjectRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectAnalytics$inboundSchema: z.ZodType< + UpdateProjectAnalytics, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + canceledAt: z.nullable(z.number()).optional(), + disabledAt: z.number(), + enabledAt: z.number(), + paidAt: z.number().optional(), + sampleRatePercent: z.nullable(z.number()).optional(), + spendLimitInDollars: z.nullable(z.number()).optional(), +}); + +/** @internal */ +export type UpdateProjectAnalytics$Outbound = { + id: string; + canceledAt?: number | null | undefined; + disabledAt: number; + enabledAt: number; + paidAt?: number | undefined; + sampleRatePercent?: number | null | undefined; + spendLimitInDollars?: number | null | undefined; +}; + +/** @internal */ +export const UpdateProjectAnalytics$outboundSchema: z.ZodType< + UpdateProjectAnalytics$Outbound, + z.ZodTypeDef, + UpdateProjectAnalytics +> = z.object({ + id: z.string(), + canceledAt: z.nullable(z.number()).optional(), + disabledAt: z.number(), + enabledAt: z.number(), + paidAt: z.number().optional(), + sampleRatePercent: z.nullable(z.number()).optional(), + spendLimitInDollars: z.nullable(z.number()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectAnalytics$ { + /** @deprecated use `UpdateProjectAnalytics$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectAnalytics$inboundSchema; + /** @deprecated use `UpdateProjectAnalytics$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectAnalytics$outboundSchema; + /** @deprecated use `UpdateProjectAnalytics$Outbound` instead. */ + export type Outbound = UpdateProjectAnalytics$Outbound; +} + +export function updateProjectAnalyticsToJSON( + updateProjectAnalytics: UpdateProjectAnalytics, +): string { + return JSON.stringify( + UpdateProjectAnalytics$outboundSchema.parse(updateProjectAnalytics), + ); +} + +export function updateProjectAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectAnalytics' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectSpeedInsights$inboundSchema: z.ZodType< + UpdateProjectSpeedInsights, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + enabledAt: z.number().optional(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + hasData: z.boolean().optional(), + paidAt: z.number().optional(), +}); + +/** @internal */ +export type UpdateProjectSpeedInsights$Outbound = { + id: string; + enabledAt?: number | undefined; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + hasData?: boolean | undefined; + paidAt?: number | undefined; +}; + +/** @internal */ +export const UpdateProjectSpeedInsights$outboundSchema: z.ZodType< + UpdateProjectSpeedInsights$Outbound, + z.ZodTypeDef, + UpdateProjectSpeedInsights +> = z.object({ + id: z.string(), + enabledAt: z.number().optional(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + hasData: z.boolean().optional(), + paidAt: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectSpeedInsights$ { + /** @deprecated use `UpdateProjectSpeedInsights$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectSpeedInsights$inboundSchema; + /** @deprecated use `UpdateProjectSpeedInsights$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectSpeedInsights$outboundSchema; + /** @deprecated use `UpdateProjectSpeedInsights$Outbound` instead. */ + export type Outbound = UpdateProjectSpeedInsights$Outbound; +} + +export function updateProjectSpeedInsightsToJSON( + updateProjectSpeedInsights: UpdateProjectSpeedInsights, +): string { + return JSON.stringify( + UpdateProjectSpeedInsights$outboundSchema.parse(updateProjectSpeedInsights), + ); +} + +export function updateProjectSpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectSpeedInsights$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectSpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDefinitions$inboundSchema: z.ZodType< + UpdateProjectDefinitions, + z.ZodTypeDef, + unknown +> = z.object({ + host: z.string(), + path: z.string(), + schedule: z.string(), +}); + +/** @internal */ +export type UpdateProjectDefinitions$Outbound = { + host: string; + path: string; + schedule: string; +}; + +/** @internal */ +export const UpdateProjectDefinitions$outboundSchema: z.ZodType< + UpdateProjectDefinitions$Outbound, + z.ZodTypeDef, + UpdateProjectDefinitions +> = z.object({ + host: z.string(), + path: z.string(), + schedule: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDefinitions$ { + /** @deprecated use `UpdateProjectDefinitions$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDefinitions$inboundSchema; + /** @deprecated use `UpdateProjectDefinitions$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDefinitions$outboundSchema; + /** @deprecated use `UpdateProjectDefinitions$Outbound` instead. */ + export type Outbound = UpdateProjectDefinitions$Outbound; +} + +export function updateProjectDefinitionsToJSON( + updateProjectDefinitions: UpdateProjectDefinitions, +): string { + return JSON.stringify( + UpdateProjectDefinitions$outboundSchema.parse(updateProjectDefinitions), + ); +} + +export function updateProjectDefinitionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDefinitions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDefinitions' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectCrons$inboundSchema: z.ZodType< + UpdateProjectCrons, + z.ZodTypeDef, + unknown +> = z.object({ + enabledAt: z.number(), + disabledAt: z.nullable(z.number()), + updatedAt: z.number(), + deploymentId: z.nullable(z.string()), + definitions: z.array(z.lazy(() => UpdateProjectDefinitions$inboundSchema)), +}); + +/** @internal */ +export type UpdateProjectCrons$Outbound = { + enabledAt: number; + disabledAt: number | null; + updatedAt: number; + deploymentId: string | null; + definitions: Array; +}; + +/** @internal */ +export const UpdateProjectCrons$outboundSchema: z.ZodType< + UpdateProjectCrons$Outbound, + z.ZodTypeDef, + UpdateProjectCrons +> = z.object({ + enabledAt: z.number(), + disabledAt: z.nullable(z.number()), + updatedAt: z.number(), + deploymentId: z.nullable(z.string()), + definitions: z.array(z.lazy(() => UpdateProjectDefinitions$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectCrons$ { + /** @deprecated use `UpdateProjectCrons$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectCrons$inboundSchema; + /** @deprecated use `UpdateProjectCrons$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectCrons$outboundSchema; + /** @deprecated use `UpdateProjectCrons$Outbound` instead. */ + export type Outbound = UpdateProjectCrons$Outbound; +} + +export function updateProjectCronsToJSON( + updateProjectCrons: UpdateProjectCrons, +): string { + return JSON.stringify( + UpdateProjectCrons$outboundSchema.parse(updateProjectCrons), + ); +} + +export function updateProjectCronsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectCrons$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectCrons' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCache$inboundSchema: z.ZodType< + UpdateProjectDataCache, + z.ZodTypeDef, + unknown +> = z.object({ + userDisabled: z.boolean(), + storageSizeBytes: z.nullable(z.number()).optional(), + unlimited: z.boolean().optional(), +}); + +/** @internal */ +export type UpdateProjectDataCache$Outbound = { + userDisabled: boolean; + storageSizeBytes?: number | null | undefined; + unlimited?: boolean | undefined; +}; + +/** @internal */ +export const UpdateProjectDataCache$outboundSchema: z.ZodType< + UpdateProjectDataCache$Outbound, + z.ZodTypeDef, + UpdateProjectDataCache +> = z.object({ + userDisabled: z.boolean(), + storageSizeBytes: z.nullable(z.number()).optional(), + unlimited: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDataCache$ { + /** @deprecated use `UpdateProjectDataCache$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDataCache$inboundSchema; + /** @deprecated use `UpdateProjectDataCache$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectDataCache$outboundSchema; + /** @deprecated use `UpdateProjectDataCache$Outbound` instead. */ + export type Outbound = UpdateProjectDataCache$Outbound; +} + +export function updateProjectDataCacheToJSON( + updateProjectDataCache: UpdateProjectDataCache, +): string { + return JSON.stringify( + UpdateProjectDataCache$outboundSchema.parse(updateProjectDataCache), + ); +} + +export function updateProjectDataCacheFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDataCache$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCache' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDeploymentExpiration$inboundSchema: z.ZodType< + UpdateProjectDeploymentExpiration, + z.ZodTypeDef, + unknown +> = z.object({ + expirationDays: z.number().optional(), + expirationDaysProduction: z.number().optional(), + expirationDaysCanceled: z.number().optional(), + expirationDaysErrored: z.number().optional(), + deploymentsToKeep: z.number().optional(), +}); + +/** @internal */ +export type UpdateProjectDeploymentExpiration$Outbound = { + expirationDays?: number | undefined; + expirationDaysProduction?: number | undefined; + expirationDaysCanceled?: number | undefined; + expirationDaysErrored?: number | undefined; + deploymentsToKeep?: number | undefined; +}; + +/** @internal */ +export const UpdateProjectDeploymentExpiration$outboundSchema: z.ZodType< + UpdateProjectDeploymentExpiration$Outbound, + z.ZodTypeDef, + UpdateProjectDeploymentExpiration +> = z.object({ + expirationDays: z.number().optional(), + expirationDaysProduction: z.number().optional(), + expirationDaysCanceled: z.number().optional(), + expirationDaysErrored: z.number().optional(), + deploymentsToKeep: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectDeploymentExpiration$ { + /** @deprecated use `UpdateProjectDeploymentExpiration$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectDeploymentExpiration$inboundSchema; + /** @deprecated use `UpdateProjectDeploymentExpiration$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectDeploymentExpiration$outboundSchema; + /** @deprecated use `UpdateProjectDeploymentExpiration$Outbound` instead. */ + export type Outbound = UpdateProjectDeploymentExpiration$Outbound; +} + +export function updateProjectDeploymentExpirationToJSON( + updateProjectDeploymentExpiration: UpdateProjectDeploymentExpiration, +): string { + return JSON.stringify( + UpdateProjectDeploymentExpiration$outboundSchema.parse( + updateProjectDeploymentExpiration, + ), + ); +} + +export function updateProjectDeploymentExpirationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDeploymentExpiration$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDeploymentExpiration' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectTarget2$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectTarget2 +> = z.nativeEnum(UpdateProjectTarget2); + +/** @internal */ +export const UpdateProjectTarget2$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectTarget2 +> = UpdateProjectTarget2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectTarget2$ { + /** @deprecated use `UpdateProjectTarget2$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectTarget2$inboundSchema; + /** @deprecated use `UpdateProjectTarget2$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectTarget2$outboundSchema; +} + +/** @internal */ +export const UpdateProjectTarget$inboundSchema: z.ZodType< + UpdateProjectTarget, + z.ZodTypeDef, + unknown +> = z.union([z.array(z.string()), UpdateProjectTarget2$inboundSchema]); + +/** @internal */ +export type UpdateProjectTarget$Outbound = Array | string; + +/** @internal */ +export const UpdateProjectTarget$outboundSchema: z.ZodType< + UpdateProjectTarget$Outbound, + z.ZodTypeDef, + UpdateProjectTarget +> = z.union([z.array(z.string()), UpdateProjectTarget2$outboundSchema]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectTarget$ { + /** @deprecated use `UpdateProjectTarget$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectTarget$inboundSchema; + /** @deprecated use `UpdateProjectTarget$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectTarget$outboundSchema; + /** @deprecated use `UpdateProjectTarget$Outbound` instead. */ + export type Outbound = UpdateProjectTarget$Outbound; +} + +export function updateProjectTargetToJSON( + updateProjectTarget: UpdateProjectTarget, +): string { + return JSON.stringify( + UpdateProjectTarget$outboundSchema.parse(updateProjectTarget), + ); +} + +export function updateProjectTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectTarget' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectType$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectType +> = z.nativeEnum(UpdateProjectType); + +/** @internal */ +export const UpdateProjectType$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectType +> = UpdateProjectType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectType$ { + /** @deprecated use `UpdateProjectType$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectType$inboundSchema; + /** @deprecated use `UpdateProjectType$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type + > = z.nativeEnum( + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type, + ); + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type + > = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$ { + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema; + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema; +} + +/** @internal */ +export const UpdateProjectContentHint15$inboundSchema: z.ZodType< + UpdateProjectContentHint15, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema, + projectId: z.string(), +}); + +/** @internal */ +export type UpdateProjectContentHint15$Outbound = { + type: string; + projectId: string; +}; + +/** @internal */ +export const UpdateProjectContentHint15$outboundSchema: z.ZodType< + UpdateProjectContentHint15$Outbound, + z.ZodTypeDef, + UpdateProjectContentHint15 +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema, + projectId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHint15$ { + /** @deprecated use `UpdateProjectContentHint15$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHint15$inboundSchema; + /** @deprecated use `UpdateProjectContentHint15$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHint15$outboundSchema; + /** @deprecated use `UpdateProjectContentHint15$Outbound` instead. */ + export type Outbound = UpdateProjectContentHint15$Outbound; +} + +export function updateProjectContentHint15ToJSON( + updateProjectContentHint15: UpdateProjectContentHint15, +): string { + return JSON.stringify( + UpdateProjectContentHint15$outboundSchema.parse(updateProjectContentHint15), + ); +} + +export function updateProjectContentHint15FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectContentHint15$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectContentHint15' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type + > = z.nativeEnum( + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type, + ); + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type + > = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$ { + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema; + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema; +} + +/** @internal */ +export const UpdateProjectContentHint14$inboundSchema: z.ZodType< + UpdateProjectContentHint14, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** @internal */ +export type UpdateProjectContentHint14$Outbound = { + type: string; + storeId: string; + integrationId: string; + integrationProductId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const UpdateProjectContentHint14$outboundSchema: z.ZodType< + UpdateProjectContentHint14$Outbound, + z.ZodTypeDef, + UpdateProjectContentHint14 +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema, + storeId: z.string(), + integrationId: z.string(), + integrationProductId: z.string(), + integrationConfigurationId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHint14$ { + /** @deprecated use `UpdateProjectContentHint14$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHint14$inboundSchema; + /** @deprecated use `UpdateProjectContentHint14$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHint14$outboundSchema; + /** @deprecated use `UpdateProjectContentHint14$Outbound` instead. */ + export type Outbound = UpdateProjectContentHint14$Outbound; +} + +export function updateProjectContentHint14ToJSON( + updateProjectContentHint14: UpdateProjectContentHint14, +): string { + return JSON.stringify( + UpdateProjectContentHint14$outboundSchema.parse(updateProjectContentHint14), + ); +} + +export function updateProjectContentHint14FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectContentHint14$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectContentHint14' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type + > = z.nativeEnum( + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type, + ); + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type + > = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$ { + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema; + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema; +} + +/** @internal */ +export const UpdateProjectContentHint13$inboundSchema: z.ZodType< + UpdateProjectContentHint13, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type UpdateProjectContentHint13$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const UpdateProjectContentHint13$outboundSchema: z.ZodType< + UpdateProjectContentHint13$Outbound, + z.ZodTypeDef, + UpdateProjectContentHint13 +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHint13$ { + /** @deprecated use `UpdateProjectContentHint13$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHint13$inboundSchema; + /** @deprecated use `UpdateProjectContentHint13$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHint13$outboundSchema; + /** @deprecated use `UpdateProjectContentHint13$Outbound` instead. */ + export type Outbound = UpdateProjectContentHint13$Outbound; +} + +export function updateProjectContentHint13ToJSON( + updateProjectContentHint13: UpdateProjectContentHint13, +): string { + return JSON.stringify( + UpdateProjectContentHint13$outboundSchema.parse(updateProjectContentHint13), + ); +} + +export function updateProjectContentHint13FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectContentHint13$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectContentHint13' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type + > = z.nativeEnum( + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type, + ); + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type + > = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$ { + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema; + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema; +} + +/** @internal */ +export const UpdateProjectContentHint12$inboundSchema: z.ZodType< + UpdateProjectContentHint12, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type UpdateProjectContentHint12$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const UpdateProjectContentHint12$outboundSchema: z.ZodType< + UpdateProjectContentHint12$Outbound, + z.ZodTypeDef, + UpdateProjectContentHint12 +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHint12$ { + /** @deprecated use `UpdateProjectContentHint12$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHint12$inboundSchema; + /** @deprecated use `UpdateProjectContentHint12$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHint12$outboundSchema; + /** @deprecated use `UpdateProjectContentHint12$Outbound` instead. */ + export type Outbound = UpdateProjectContentHint12$Outbound; +} + +export function updateProjectContentHint12ToJSON( + updateProjectContentHint12: UpdateProjectContentHint12, +): string { + return JSON.stringify( + UpdateProjectContentHint12$outboundSchema.parse(updateProjectContentHint12), + ); +} + +export function updateProjectContentHint12FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectContentHint12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectContentHint12' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type + > = z.nativeEnum( + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type, + ); + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type + > = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$ { + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema; + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema; +} + +/** @internal */ +export const UpdateProjectContentHint11$inboundSchema: z.ZodType< + UpdateProjectContentHint11, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type UpdateProjectContentHint11$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const UpdateProjectContentHint11$outboundSchema: z.ZodType< + UpdateProjectContentHint11$Outbound, + z.ZodTypeDef, + UpdateProjectContentHint11 +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHint11$ { + /** @deprecated use `UpdateProjectContentHint11$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHint11$inboundSchema; + /** @deprecated use `UpdateProjectContentHint11$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHint11$outboundSchema; + /** @deprecated use `UpdateProjectContentHint11$Outbound` instead. */ + export type Outbound = UpdateProjectContentHint11$Outbound; +} + +export function updateProjectContentHint11ToJSON( + updateProjectContentHint11: UpdateProjectContentHint11, +): string { + return JSON.stringify( + UpdateProjectContentHint11$outboundSchema.parse(updateProjectContentHint11), + ); +} + +export function updateProjectContentHint11FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectContentHint11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectContentHint11' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type + > = z.nativeEnum( + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type, + ); + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type + > = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$ { + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema; + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema; +} + +/** @internal */ +export const UpdateProjectContentHint10$inboundSchema: z.ZodType< + UpdateProjectContentHint10, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type UpdateProjectContentHint10$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const UpdateProjectContentHint10$outboundSchema: z.ZodType< + UpdateProjectContentHint10$Outbound, + z.ZodTypeDef, + UpdateProjectContentHint10 +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHint10$ { + /** @deprecated use `UpdateProjectContentHint10$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHint10$inboundSchema; + /** @deprecated use `UpdateProjectContentHint10$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHint10$outboundSchema; + /** @deprecated use `UpdateProjectContentHint10$Outbound` instead. */ + export type Outbound = UpdateProjectContentHint10$Outbound; +} + +export function updateProjectContentHint10ToJSON( + updateProjectContentHint10: UpdateProjectContentHint10, +): string { + return JSON.stringify( + UpdateProjectContentHint10$outboundSchema.parse(updateProjectContentHint10), + ); +} + +export function updateProjectContentHint10FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectContentHint10$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectContentHint10' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type + > = z.nativeEnum( + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type, + ); + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type + > = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$ { + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema; + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema; +} + +/** @internal */ +export const UpdateProjectContentHint9$inboundSchema: z.ZodType< + UpdateProjectContentHint9, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type UpdateProjectContentHint9$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const UpdateProjectContentHint9$outboundSchema: z.ZodType< + UpdateProjectContentHint9$Outbound, + z.ZodTypeDef, + UpdateProjectContentHint9 +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHint9$ { + /** @deprecated use `UpdateProjectContentHint9$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHint9$inboundSchema; + /** @deprecated use `UpdateProjectContentHint9$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHint9$outboundSchema; + /** @deprecated use `UpdateProjectContentHint9$Outbound` instead. */ + export type Outbound = UpdateProjectContentHint9$Outbound; +} + +export function updateProjectContentHint9ToJSON( + updateProjectContentHint9: UpdateProjectContentHint9, +): string { + return JSON.stringify( + UpdateProjectContentHint9$outboundSchema.parse(updateProjectContentHint9), + ); +} + +export function updateProjectContentHint9FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectContentHint9$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectContentHint9' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type + > = z.nativeEnum( + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type, + ); + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type + > = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$ { + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema; + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema; +} + +/** @internal */ +export const UpdateProjectContentHint8$inboundSchema: z.ZodType< + UpdateProjectContentHint8, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type UpdateProjectContentHint8$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const UpdateProjectContentHint8$outboundSchema: z.ZodType< + UpdateProjectContentHint8$Outbound, + z.ZodTypeDef, + UpdateProjectContentHint8 +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHint8$ { + /** @deprecated use `UpdateProjectContentHint8$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHint8$inboundSchema; + /** @deprecated use `UpdateProjectContentHint8$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHint8$outboundSchema; + /** @deprecated use `UpdateProjectContentHint8$Outbound` instead. */ + export type Outbound = UpdateProjectContentHint8$Outbound; +} + +export function updateProjectContentHint8ToJSON( + updateProjectContentHint8: UpdateProjectContentHint8, +): string { + return JSON.stringify( + UpdateProjectContentHint8$outboundSchema.parse(updateProjectContentHint8), + ); +} + +export function updateProjectContentHint8FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectContentHint8$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectContentHint8' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType + > = z.nativeEnum( + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType, + ); + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType + > = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$ { + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectContentHint7$inboundSchema: z.ZodType< + UpdateProjectContentHint7, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type UpdateProjectContentHint7$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const UpdateProjectContentHint7$outboundSchema: z.ZodType< + UpdateProjectContentHint7$Outbound, + z.ZodTypeDef, + UpdateProjectContentHint7 +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHint7$ { + /** @deprecated use `UpdateProjectContentHint7$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHint7$inboundSchema; + /** @deprecated use `UpdateProjectContentHint7$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHint7$outboundSchema; + /** @deprecated use `UpdateProjectContentHint7$Outbound` instead. */ + export type Outbound = UpdateProjectContentHint7$Outbound; +} + +export function updateProjectContentHint7ToJSON( + updateProjectContentHint7: UpdateProjectContentHint7, +): string { + return JSON.stringify( + UpdateProjectContentHint7$outboundSchema.parse(updateProjectContentHint7), + ); +} + +export function updateProjectContentHint7FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectContentHint7$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectContentHint7' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType, + ); + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType + > = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$ { + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectContentHint6$inboundSchema: z.ZodType< + UpdateProjectContentHint6, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type UpdateProjectContentHint6$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const UpdateProjectContentHint6$outboundSchema: z.ZodType< + UpdateProjectContentHint6$Outbound, + z.ZodTypeDef, + UpdateProjectContentHint6 +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHint6$ { + /** @deprecated use `UpdateProjectContentHint6$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHint6$inboundSchema; + /** @deprecated use `UpdateProjectContentHint6$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHint6$outboundSchema; + /** @deprecated use `UpdateProjectContentHint6$Outbound` instead. */ + export type Outbound = UpdateProjectContentHint6$Outbound; +} + +export function updateProjectContentHint6ToJSON( + updateProjectContentHint6: UpdateProjectContentHint6, +): string { + return JSON.stringify( + UpdateProjectContentHint6$outboundSchema.parse(updateProjectContentHint6), + ); +} + +export function updateProjectContentHint6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectContentHint6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectContentHint6' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONType + > = z.nativeEnum( + UpdateProjectContentHintProjectsResponse200ApplicationJSONType, + ); + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectContentHintProjectsResponse200ApplicationJSONType + > = + UpdateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHintProjectsResponse200ApplicationJSONType$ { + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `UpdateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectContentHint5$inboundSchema: z.ZodType< + UpdateProjectContentHint5, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type UpdateProjectContentHint5$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const UpdateProjectContentHint5$outboundSchema: z.ZodType< + UpdateProjectContentHint5$Outbound, + z.ZodTypeDef, + UpdateProjectContentHint5 +> = z.object({ + type: + UpdateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHint5$ { + /** @deprecated use `UpdateProjectContentHint5$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHint5$inboundSchema; + /** @deprecated use `UpdateProjectContentHint5$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHint5$outboundSchema; + /** @deprecated use `UpdateProjectContentHint5$Outbound` instead. */ + export type Outbound = UpdateProjectContentHint5$Outbound; +} + +export function updateProjectContentHint5ToJSON( + updateProjectContentHint5: UpdateProjectContentHint5, +): string { + return JSON.stringify( + UpdateProjectContentHint5$outboundSchema.parse(updateProjectContentHint5), + ); +} + +export function updateProjectContentHint5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectContentHint5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectContentHint5' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200Type$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateProjectContentHintProjectsResponse200Type); + +/** @internal */ +export const UpdateProjectContentHintProjectsResponse200Type$outboundSchema: + z.ZodNativeEnum = + UpdateProjectContentHintProjectsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHintProjectsResponse200Type$ { + /** @deprecated use `UpdateProjectContentHintProjectsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectContentHintProjectsResponse200Type$inboundSchema; + /** @deprecated use `UpdateProjectContentHintProjectsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectContentHintProjectsResponse200Type$outboundSchema; +} + +/** @internal */ +export const UpdateProjectContentHint4$inboundSchema: z.ZodType< + UpdateProjectContentHint4, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateProjectContentHintProjectsResponse200Type$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type UpdateProjectContentHint4$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const UpdateProjectContentHint4$outboundSchema: z.ZodType< + UpdateProjectContentHint4$Outbound, + z.ZodTypeDef, + UpdateProjectContentHint4 +> = z.object({ + type: UpdateProjectContentHintProjectsResponse200Type$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHint4$ { + /** @deprecated use `UpdateProjectContentHint4$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHint4$inboundSchema; + /** @deprecated use `UpdateProjectContentHint4$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHint4$outboundSchema; + /** @deprecated use `UpdateProjectContentHint4$Outbound` instead. */ + export type Outbound = UpdateProjectContentHint4$Outbound; +} + +export function updateProjectContentHint4ToJSON( + updateProjectContentHint4: UpdateProjectContentHint4, +): string { + return JSON.stringify( + UpdateProjectContentHint4$outboundSchema.parse(updateProjectContentHint4), + ); +} + +export function updateProjectContentHint4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectContentHint4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectContentHint4' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectContentHintProjectsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateProjectContentHintProjectsResponseType); + +/** @internal */ +export const UpdateProjectContentHintProjectsResponseType$outboundSchema: + z.ZodNativeEnum = + UpdateProjectContentHintProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHintProjectsResponseType$ { + /** @deprecated use `UpdateProjectContentHintProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectContentHintProjectsResponseType$inboundSchema; + /** @deprecated use `UpdateProjectContentHintProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectContentHintProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectContentHint3$inboundSchema: z.ZodType< + UpdateProjectContentHint3, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateProjectContentHintProjectsResponseType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type UpdateProjectContentHint3$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const UpdateProjectContentHint3$outboundSchema: z.ZodType< + UpdateProjectContentHint3$Outbound, + z.ZodTypeDef, + UpdateProjectContentHint3 +> = z.object({ + type: UpdateProjectContentHintProjectsResponseType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHint3$ { + /** @deprecated use `UpdateProjectContentHint3$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHint3$inboundSchema; + /** @deprecated use `UpdateProjectContentHint3$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHint3$outboundSchema; + /** @deprecated use `UpdateProjectContentHint3$Outbound` instead. */ + export type Outbound = UpdateProjectContentHint3$Outbound; +} + +export function updateProjectContentHint3ToJSON( + updateProjectContentHint3: UpdateProjectContentHint3, +): string { + return JSON.stringify( + UpdateProjectContentHint3$outboundSchema.parse(updateProjectContentHint3), + ); +} + +export function updateProjectContentHint3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectContentHint3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectContentHint3' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectContentHintProjectsType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateProjectContentHintProjectsType, + ); + +/** @internal */ +export const UpdateProjectContentHintProjectsType$outboundSchema: + z.ZodNativeEnum = + UpdateProjectContentHintProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHintProjectsType$ { + /** @deprecated use `UpdateProjectContentHintProjectsType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectContentHintProjectsType$inboundSchema; + /** @deprecated use `UpdateProjectContentHintProjectsType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectContentHintProjectsType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectContentHint2$inboundSchema: z.ZodType< + UpdateProjectContentHint2, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateProjectContentHintProjectsType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type UpdateProjectContentHint2$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const UpdateProjectContentHint2$outboundSchema: z.ZodType< + UpdateProjectContentHint2$Outbound, + z.ZodTypeDef, + UpdateProjectContentHint2 +> = z.object({ + type: UpdateProjectContentHintProjectsType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHint2$ { + /** @deprecated use `UpdateProjectContentHint2$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHint2$inboundSchema; + /** @deprecated use `UpdateProjectContentHint2$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHint2$outboundSchema; + /** @deprecated use `UpdateProjectContentHint2$Outbound` instead. */ + export type Outbound = UpdateProjectContentHint2$Outbound; +} + +export function updateProjectContentHint2ToJSON( + updateProjectContentHint2: UpdateProjectContentHint2, +): string { + return JSON.stringify( + UpdateProjectContentHint2$outboundSchema.parse(updateProjectContentHint2), + ); +} + +export function updateProjectContentHint2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectContentHint2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectContentHint2' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectContentHintType$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectContentHintType +> = z.nativeEnum(UpdateProjectContentHintType); + +/** @internal */ +export const UpdateProjectContentHintType$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectContentHintType +> = UpdateProjectContentHintType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHintType$ { + /** @deprecated use `UpdateProjectContentHintType$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHintType$inboundSchema; + /** @deprecated use `UpdateProjectContentHintType$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHintType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectContentHint1$inboundSchema: z.ZodType< + UpdateProjectContentHint1, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateProjectContentHintType$inboundSchema, + storeId: z.string(), +}); + +/** @internal */ +export type UpdateProjectContentHint1$Outbound = { + type: string; + storeId: string; +}; + +/** @internal */ +export const UpdateProjectContentHint1$outboundSchema: z.ZodType< + UpdateProjectContentHint1$Outbound, + z.ZodTypeDef, + UpdateProjectContentHint1 +> = z.object({ + type: UpdateProjectContentHintType$outboundSchema, + storeId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHint1$ { + /** @deprecated use `UpdateProjectContentHint1$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHint1$inboundSchema; + /** @deprecated use `UpdateProjectContentHint1$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHint1$outboundSchema; + /** @deprecated use `UpdateProjectContentHint1$Outbound` instead. */ + export type Outbound = UpdateProjectContentHint1$Outbound; +} + +export function updateProjectContentHint1ToJSON( + updateProjectContentHint1: UpdateProjectContentHint1, +): string { + return JSON.stringify( + UpdateProjectContentHint1$outboundSchema.parse(updateProjectContentHint1), + ); +} + +export function updateProjectContentHint1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectContentHint1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectContentHint1' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectContentHint$inboundSchema: z.ZodType< + UpdateProjectContentHint, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateProjectContentHint1$inboundSchema), + z.lazy(() => UpdateProjectContentHint2$inboundSchema), + z.lazy(() => UpdateProjectContentHint3$inboundSchema), + z.lazy(() => UpdateProjectContentHint4$inboundSchema), + z.lazy(() => UpdateProjectContentHint5$inboundSchema), + z.lazy(() => UpdateProjectContentHint6$inboundSchema), + z.lazy(() => UpdateProjectContentHint7$inboundSchema), + z.lazy(() => UpdateProjectContentHint8$inboundSchema), + z.lazy(() => UpdateProjectContentHint9$inboundSchema), + z.lazy(() => UpdateProjectContentHint10$inboundSchema), + z.lazy(() => UpdateProjectContentHint11$inboundSchema), + z.lazy(() => UpdateProjectContentHint12$inboundSchema), + z.lazy(() => UpdateProjectContentHint13$inboundSchema), + z.lazy(() => UpdateProjectContentHint15$inboundSchema), + z.lazy(() => UpdateProjectContentHint14$inboundSchema), +]); + +/** @internal */ +export type UpdateProjectContentHint$Outbound = + | UpdateProjectContentHint1$Outbound + | UpdateProjectContentHint2$Outbound + | UpdateProjectContentHint3$Outbound + | UpdateProjectContentHint4$Outbound + | UpdateProjectContentHint5$Outbound + | UpdateProjectContentHint6$Outbound + | UpdateProjectContentHint7$Outbound + | UpdateProjectContentHint8$Outbound + | UpdateProjectContentHint9$Outbound + | UpdateProjectContentHint10$Outbound + | UpdateProjectContentHint11$Outbound + | UpdateProjectContentHint12$Outbound + | UpdateProjectContentHint13$Outbound + | UpdateProjectContentHint15$Outbound + | UpdateProjectContentHint14$Outbound; + +/** @internal */ +export const UpdateProjectContentHint$outboundSchema: z.ZodType< + UpdateProjectContentHint$Outbound, + z.ZodTypeDef, + UpdateProjectContentHint +> = z.union([ + z.lazy(() => UpdateProjectContentHint1$outboundSchema), + z.lazy(() => UpdateProjectContentHint2$outboundSchema), + z.lazy(() => UpdateProjectContentHint3$outboundSchema), + z.lazy(() => UpdateProjectContentHint4$outboundSchema), + z.lazy(() => UpdateProjectContentHint5$outboundSchema), + z.lazy(() => UpdateProjectContentHint6$outboundSchema), + z.lazy(() => UpdateProjectContentHint7$outboundSchema), + z.lazy(() => UpdateProjectContentHint8$outboundSchema), + z.lazy(() => UpdateProjectContentHint9$outboundSchema), + z.lazy(() => UpdateProjectContentHint10$outboundSchema), + z.lazy(() => UpdateProjectContentHint11$outboundSchema), + z.lazy(() => UpdateProjectContentHint12$outboundSchema), + z.lazy(() => UpdateProjectContentHint13$outboundSchema), + z.lazy(() => UpdateProjectContentHint15$outboundSchema), + z.lazy(() => UpdateProjectContentHint14$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectContentHint$ { + /** @deprecated use `UpdateProjectContentHint$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectContentHint$inboundSchema; + /** @deprecated use `UpdateProjectContentHint$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectContentHint$outboundSchema; + /** @deprecated use `UpdateProjectContentHint$Outbound` instead. */ + export type Outbound = UpdateProjectContentHint$Outbound; +} + +export function updateProjectContentHintToJSON( + updateProjectContentHint: UpdateProjectContentHint, +): string { + return JSON.stringify( + UpdateProjectContentHint$outboundSchema.parse(updateProjectContentHint), + ); +} + +export function updateProjectContentHintFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectContentHint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectContentHint' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType + > = z.nativeEnum( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType, + ); + +/** @internal */ +export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType + > = + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$ { + /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; + /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectInternalContentHint$inboundSchema: z.ZodType< + UpdateProjectInternalContentHint, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, + encryptedValue: z.string(), +}); + +/** @internal */ +export type UpdateProjectInternalContentHint$Outbound = { + type: string; + encryptedValue: string; +}; + +/** @internal */ +export const UpdateProjectInternalContentHint$outboundSchema: z.ZodType< + UpdateProjectInternalContentHint$Outbound, + z.ZodTypeDef, + UpdateProjectInternalContentHint +> = z.object({ + type: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema, + encryptedValue: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectInternalContentHint$ { + /** @deprecated use `UpdateProjectInternalContentHint$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectInternalContentHint$inboundSchema; + /** @deprecated use `UpdateProjectInternalContentHint$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectInternalContentHint$outboundSchema; + /** @deprecated use `UpdateProjectInternalContentHint$Outbound` instead. */ + export type Outbound = UpdateProjectInternalContentHint$Outbound; +} + +export function updateProjectInternalContentHintToJSON( + updateProjectInternalContentHint: UpdateProjectInternalContentHint, +): string { + return JSON.stringify( + UpdateProjectInternalContentHint$outboundSchema.parse( + updateProjectInternalContentHint, + ), + ); +} + +export function updateProjectInternalContentHintFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectInternalContentHint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectInternalContentHint' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectEnv$inboundSchema: z.ZodType< + UpdateProjectEnv, + z.ZodTypeDef, + unknown +> = z.object({ + target: z.union([z.array(z.string()), UpdateProjectTarget2$inboundSchema]) + .optional(), + type: UpdateProjectType$inboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => UpdateProjectContentHint1$inboundSchema), + z.lazy(() => UpdateProjectContentHint2$inboundSchema), + z.lazy(() => UpdateProjectContentHint3$inboundSchema), + z.lazy(() => UpdateProjectContentHint4$inboundSchema), + z.lazy(() => UpdateProjectContentHint5$inboundSchema), + z.lazy(() => UpdateProjectContentHint6$inboundSchema), + z.lazy(() => UpdateProjectContentHint7$inboundSchema), + z.lazy(() => UpdateProjectContentHint8$inboundSchema), + z.lazy(() => UpdateProjectContentHint9$inboundSchema), + z.lazy(() => UpdateProjectContentHint10$inboundSchema), + z.lazy(() => UpdateProjectContentHint11$inboundSchema), + z.lazy(() => UpdateProjectContentHint12$inboundSchema), + z.lazy(() => UpdateProjectContentHint13$inboundSchema), + z.lazy(() => UpdateProjectContentHint15$inboundSchema), + z.lazy(() => UpdateProjectContentHint14$inboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => UpdateProjectInternalContentHint$inboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), +}); + +/** @internal */ +export type UpdateProjectEnv$Outbound = { + target?: Array | string | undefined; + type: string; + sunsetSecretId?: string | undefined; + id?: string | undefined; + key: string; + value: string; + configurationId?: string | null | undefined; + createdAt?: number | undefined; + updatedAt?: number | undefined; + createdBy?: string | null | undefined; + updatedBy?: string | null | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + contentHint?: + | UpdateProjectContentHint1$Outbound + | UpdateProjectContentHint2$Outbound + | UpdateProjectContentHint3$Outbound + | UpdateProjectContentHint4$Outbound + | UpdateProjectContentHint5$Outbound + | UpdateProjectContentHint6$Outbound + | UpdateProjectContentHint7$Outbound + | UpdateProjectContentHint8$Outbound + | UpdateProjectContentHint9$Outbound + | UpdateProjectContentHint10$Outbound + | UpdateProjectContentHint11$Outbound + | UpdateProjectContentHint12$Outbound + | UpdateProjectContentHint13$Outbound + | UpdateProjectContentHint15$Outbound + | UpdateProjectContentHint14$Outbound + | null + | undefined; + internalContentHint?: + | UpdateProjectInternalContentHint$Outbound + | null + | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + customEnvironmentIds?: Array | undefined; + vsmValue?: string | undefined; +}; + +/** @internal */ +export const UpdateProjectEnv$outboundSchema: z.ZodType< + UpdateProjectEnv$Outbound, + z.ZodTypeDef, + UpdateProjectEnv +> = z.object({ + target: z.union([z.array(z.string()), UpdateProjectTarget2$outboundSchema]) + .optional(), + type: UpdateProjectType$outboundSchema, + sunsetSecretId: z.string().optional(), + id: z.string().optional(), + key: z.string(), + value: z.string(), + configurationId: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + createdBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + contentHint: z.nullable( + z.union([ + z.lazy(() => UpdateProjectContentHint1$outboundSchema), + z.lazy(() => UpdateProjectContentHint2$outboundSchema), + z.lazy(() => UpdateProjectContentHint3$outboundSchema), + z.lazy(() => UpdateProjectContentHint4$outboundSchema), + z.lazy(() => UpdateProjectContentHint5$outboundSchema), + z.lazy(() => UpdateProjectContentHint6$outboundSchema), + z.lazy(() => UpdateProjectContentHint7$outboundSchema), + z.lazy(() => UpdateProjectContentHint8$outboundSchema), + z.lazy(() => UpdateProjectContentHint9$outboundSchema), + z.lazy(() => UpdateProjectContentHint10$outboundSchema), + z.lazy(() => UpdateProjectContentHint11$outboundSchema), + z.lazy(() => UpdateProjectContentHint12$outboundSchema), + z.lazy(() => UpdateProjectContentHint13$outboundSchema), + z.lazy(() => UpdateProjectContentHint15$outboundSchema), + z.lazy(() => UpdateProjectContentHint14$outboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => UpdateProjectInternalContentHint$outboundSchema), + ).optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + vsmValue: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectEnv$ { + /** @deprecated use `UpdateProjectEnv$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectEnv$inboundSchema; + /** @deprecated use `UpdateProjectEnv$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectEnv$outboundSchema; + /** @deprecated use `UpdateProjectEnv$Outbound` instead. */ + export type Outbound = UpdateProjectEnv$Outbound; +} + +export function updateProjectEnvToJSON( + updateProjectEnv: UpdateProjectEnv, +): string { + return JSON.stringify( + UpdateProjectEnv$outboundSchema.parse(updateProjectEnv), + ); +} + +export function updateProjectEnvFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectEnv$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectEnv' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectCustomEnvironments$inboundSchema: z.ZodType< + UpdateProjectCustomEnvironments, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type UpdateProjectCustomEnvironments$Outbound = {}; + +/** @internal */ +export const UpdateProjectCustomEnvironments$outboundSchema: z.ZodType< + UpdateProjectCustomEnvironments$Outbound, + z.ZodTypeDef, + UpdateProjectCustomEnvironments +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectCustomEnvironments$ { + /** @deprecated use `UpdateProjectCustomEnvironments$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectCustomEnvironments$inboundSchema; + /** @deprecated use `UpdateProjectCustomEnvironments$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectCustomEnvironments$outboundSchema; + /** @deprecated use `UpdateProjectCustomEnvironments$Outbound` instead. */ + export type Outbound = UpdateProjectCustomEnvironments$Outbound; +} + +export function updateProjectCustomEnvironmentsToJSON( + updateProjectCustomEnvironments: UpdateProjectCustomEnvironments, +): string { + return JSON.stringify( + UpdateProjectCustomEnvironments$outboundSchema.parse( + updateProjectCustomEnvironments, + ), + ); +} + +export function updateProjectCustomEnvironmentsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectCustomEnvironments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectCustomEnvironments' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsFramework$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsFramework +> = z.nativeEnum(UpdateProjectProjectsFramework); + +/** @internal */ +export const UpdateProjectProjectsFramework$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsFramework +> = UpdateProjectProjectsFramework$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsFramework$ { + /** @deprecated use `UpdateProjectProjectsFramework$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProjectsFramework$inboundSchema; + /** @deprecated use `UpdateProjectProjectsFramework$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectProjectsFramework$outboundSchema; +} + +/** @internal */ +export const UpdateProjectIpBuckets$inboundSchema: z.ZodType< + UpdateProjectIpBuckets, + z.ZodTypeDef, + unknown +> = z.object({ + bucket: z.string(), + supportUntil: z.number().optional(), +}); + +/** @internal */ +export type UpdateProjectIpBuckets$Outbound = { + bucket: string; + supportUntil?: number | undefined; +}; + +/** @internal */ +export const UpdateProjectIpBuckets$outboundSchema: z.ZodType< + UpdateProjectIpBuckets$Outbound, + z.ZodTypeDef, + UpdateProjectIpBuckets +> = z.object({ + bucket: z.string(), + supportUntil: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectIpBuckets$ { + /** @deprecated use `UpdateProjectIpBuckets$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectIpBuckets$inboundSchema; + /** @deprecated use `UpdateProjectIpBuckets$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectIpBuckets$outboundSchema; + /** @deprecated use `UpdateProjectIpBuckets$Outbound` instead. */ + export type Outbound = UpdateProjectIpBuckets$Outbound; +} + +export function updateProjectIpBucketsToJSON( + updateProjectIpBuckets: UpdateProjectIpBuckets, +): string { + return JSON.stringify( + UpdateProjectIpBuckets$outboundSchema.parse(updateProjectIpBuckets), + ); +} + +export function updateProjectIpBucketsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectIpBuckets$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectIpBuckets' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectAliasAssigned$inboundSchema: z.ZodType< + UpdateProjectAliasAssigned, + z.ZodTypeDef, + unknown +> = z.union([z.number(), z.boolean()]); + +/** @internal */ +export type UpdateProjectAliasAssigned$Outbound = number | boolean; + +/** @internal */ +export const UpdateProjectAliasAssigned$outboundSchema: z.ZodType< + UpdateProjectAliasAssigned$Outbound, + z.ZodTypeDef, + UpdateProjectAliasAssigned +> = z.union([z.number(), z.boolean()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectAliasAssigned$ { + /** @deprecated use `UpdateProjectAliasAssigned$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectAliasAssigned$inboundSchema; + /** @deprecated use `UpdateProjectAliasAssigned$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectAliasAssigned$outboundSchema; + /** @deprecated use `UpdateProjectAliasAssigned$Outbound` instead. */ + export type Outbound = UpdateProjectAliasAssigned$Outbound; +} + +export function updateProjectAliasAssignedToJSON( + updateProjectAliasAssigned: UpdateProjectAliasAssigned, +): string { + return JSON.stringify( + UpdateProjectAliasAssigned$outboundSchema.parse(updateProjectAliasAssigned), + ); +} + +export function updateProjectAliasAssignedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectAliasAssigned$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectAliasAssigned' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectAliasError$inboundSchema: z.ZodType< + UpdateProjectAliasError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** @internal */ +export type UpdateProjectAliasError$Outbound = { + code: string; + message: string; +}; + +/** @internal */ +export const UpdateProjectAliasError$outboundSchema: z.ZodType< + UpdateProjectAliasError$Outbound, + z.ZodTypeDef, + UpdateProjectAliasError +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectAliasError$ { + /** @deprecated use `UpdateProjectAliasError$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectAliasError$inboundSchema; + /** @deprecated use `UpdateProjectAliasError$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectAliasError$outboundSchema; + /** @deprecated use `UpdateProjectAliasError$Outbound` instead. */ + export type Outbound = UpdateProjectAliasError$Outbound; +} + +export function updateProjectAliasErrorToJSON( + updateProjectAliasError: UpdateProjectAliasError, +): string { + return JSON.stringify( + UpdateProjectAliasError$outboundSchema.parse(updateProjectAliasError), + ); +} + +export function updateProjectAliasErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectAliasError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectAliasError' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType, + ); + +/** @internal */ +export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType + > = + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$ { + /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; + /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectBranchMatcher$inboundSchema: z.ZodType< + UpdateProjectBranchMatcher, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + pattern: z.string(), +}); + +/** @internal */ +export type UpdateProjectBranchMatcher$Outbound = { + type: string; + pattern: string; +}; + +/** @internal */ +export const UpdateProjectBranchMatcher$outboundSchema: z.ZodType< + UpdateProjectBranchMatcher$Outbound, + z.ZodTypeDef, + UpdateProjectBranchMatcher +> = z.object({ + type: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema, + pattern: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectBranchMatcher$ { + /** @deprecated use `UpdateProjectBranchMatcher$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectBranchMatcher$inboundSchema; + /** @deprecated use `UpdateProjectBranchMatcher$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectBranchMatcher$outboundSchema; + /** @deprecated use `UpdateProjectBranchMatcher$Outbound` instead. */ + export type Outbound = UpdateProjectBranchMatcher$Outbound; +} + +export function updateProjectBranchMatcherToJSON( + updateProjectBranchMatcher: UpdateProjectBranchMatcher, +): string { + return JSON.stringify( + UpdateProjectBranchMatcher$outboundSchema.parse(updateProjectBranchMatcher), + ); +} + +export function updateProjectBranchMatcherFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectBranchMatcher$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectBranchMatcher' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectBuilds$inboundSchema: z.ZodType< + UpdateProjectBuilds, + z.ZodTypeDef, + unknown +> = z.object({ + use: z.string(), + src: z.string().optional(), + dest: z.string().optional(), +}); + +/** @internal */ +export type UpdateProjectBuilds$Outbound = { + use: string; + src?: string | undefined; + dest?: string | undefined; +}; + +/** @internal */ +export const UpdateProjectBuilds$outboundSchema: z.ZodType< + UpdateProjectBuilds$Outbound, + z.ZodTypeDef, + UpdateProjectBuilds +> = z.object({ + use: z.string(), + src: z.string().optional(), + dest: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectBuilds$ { + /** @deprecated use `UpdateProjectBuilds$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectBuilds$inboundSchema; + /** @deprecated use `UpdateProjectBuilds$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectBuilds$outboundSchema; + /** @deprecated use `UpdateProjectBuilds$Outbound` instead. */ + export type Outbound = UpdateProjectBuilds$Outbound; +} + +export function updateProjectBuildsToJSON( + updateProjectBuilds: UpdateProjectBuilds, +): string { + return JSON.stringify( + UpdateProjectBuilds$outboundSchema.parse(updateProjectBuilds), + ); +} + +export function updateProjectBuildsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectBuilds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectBuilds' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectChecksConclusion$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectChecksConclusion +> = z.nativeEnum(UpdateProjectChecksConclusion); + +/** @internal */ +export const UpdateProjectChecksConclusion$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectChecksConclusion +> = UpdateProjectChecksConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectChecksConclusion$ { + /** @deprecated use `UpdateProjectChecksConclusion$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectChecksConclusion$inboundSchema; + /** @deprecated use `UpdateProjectChecksConclusion$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectChecksConclusion$outboundSchema; +} + +/** @internal */ +export const UpdateProjectChecksState$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectChecksState +> = z.nativeEnum(UpdateProjectChecksState); + +/** @internal */ +export const UpdateProjectChecksState$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectChecksState +> = UpdateProjectChecksState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectChecksState$ { + /** @deprecated use `UpdateProjectChecksState$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectChecksState$inboundSchema; + /** @deprecated use `UpdateProjectChecksState$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectChecksState$outboundSchema; +} + +/** @internal */ +export const UpdateProjectCreator$inboundSchema: z.ZodType< + UpdateProjectCreator, + z.ZodTypeDef, + unknown +> = z.object({ + email: z.string(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), + uid: z.string(), + username: z.string(), +}); + +/** @internal */ +export type UpdateProjectCreator$Outbound = { + email: string; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; + uid: string; + username: string; +}; + +/** @internal */ +export const UpdateProjectCreator$outboundSchema: z.ZodType< + UpdateProjectCreator$Outbound, + z.ZodTypeDef, + UpdateProjectCreator +> = z.object({ + email: z.string(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), + uid: z.string(), + username: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectCreator$ { + /** @deprecated use `UpdateProjectCreator$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectCreator$inboundSchema; + /** @deprecated use `UpdateProjectCreator$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectCreator$outboundSchema; + /** @deprecated use `UpdateProjectCreator$Outbound` instead. */ + export type Outbound = UpdateProjectCreator$Outbound; +} + +export function updateProjectCreatorToJSON( + updateProjectCreator: UpdateProjectCreator, +): string { + return JSON.stringify( + UpdateProjectCreator$outboundSchema.parse(updateProjectCreator), + ); +} + +export function updateProjectCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectCreator' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectOidcTokenClaims$inboundSchema: z.ZodType< + UpdateProjectOidcTokenClaims, + z.ZodTypeDef, + unknown +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + owner_id: z.string(), + project: z.string(), + project_id: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + "owner_id": "ownerId", + "project_id": "projectId", + }); +}); + +/** @internal */ +export type UpdateProjectOidcTokenClaims$Outbound = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + owner_id: string; + project: string; + project_id: string; + environment: string; +}; + +/** @internal */ +export const UpdateProjectOidcTokenClaims$outboundSchema: z.ZodType< + UpdateProjectOidcTokenClaims$Outbound, + z.ZodTypeDef, + UpdateProjectOidcTokenClaims +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + ownerId: z.string(), + project: z.string(), + projectId: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + ownerId: "owner_id", + projectId: "project_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectOidcTokenClaims$ { + /** @deprecated use `UpdateProjectOidcTokenClaims$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectOidcTokenClaims$inboundSchema; + /** @deprecated use `UpdateProjectOidcTokenClaims$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectOidcTokenClaims$outboundSchema; + /** @deprecated use `UpdateProjectOidcTokenClaims$Outbound` instead. */ + export type Outbound = UpdateProjectOidcTokenClaims$Outbound; +} + +export function updateProjectOidcTokenClaimsToJSON( + updateProjectOidcTokenClaims: UpdateProjectOidcTokenClaims, +): string { + return JSON.stringify( + UpdateProjectOidcTokenClaims$outboundSchema.parse( + updateProjectOidcTokenClaims, + ), + ); +} + +export function updateProjectOidcTokenClaimsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectOidcTokenClaims' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectPlan$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectPlan +> = z.nativeEnum(UpdateProjectPlan); + +/** @internal */ +export const UpdateProjectPlan$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectPlan +> = UpdateProjectPlan$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectPlan$ { + /** @deprecated use `UpdateProjectPlan$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectPlan$inboundSchema; + /** @deprecated use `UpdateProjectPlan$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectPlan$outboundSchema; +} + +/** @internal */ +export const UpdateProjectReadyState$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectReadyState +> = z.nativeEnum(UpdateProjectReadyState); + +/** @internal */ +export const UpdateProjectReadyState$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectReadyState +> = UpdateProjectReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectReadyState$ { + /** @deprecated use `UpdateProjectReadyState$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectReadyState$inboundSchema; + /** @deprecated use `UpdateProjectReadyState$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectReadyState$outboundSchema; +} + +/** @internal */ +export const UpdateProjectReadySubstate$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectReadySubstate +> = z.nativeEnum(UpdateProjectReadySubstate); + +/** @internal */ +export const UpdateProjectReadySubstate$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectReadySubstate +> = UpdateProjectReadySubstate$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectReadySubstate$ { + /** @deprecated use `UpdateProjectReadySubstate$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectReadySubstate$inboundSchema; + /** @deprecated use `UpdateProjectReadySubstate$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectReadySubstate$outboundSchema; +} + +/** @internal */ +export const UpdateProjectProjectsType$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsType +> = z.nativeEnum(UpdateProjectProjectsType); + +/** @internal */ +export const UpdateProjectProjectsType$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsType +> = UpdateProjectProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsType$ { + /** @deprecated use `UpdateProjectProjectsType$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProjectsType$inboundSchema; + /** @deprecated use `UpdateProjectProjectsType$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectProjectsType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectLatestDeployments$inboundSchema: z.ZodType< + UpdateProjectLatestDeployments, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + aliasError: z.nullable(z.lazy(() => UpdateProjectAliasError$inboundSchema)) + .optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$inboundSchema) + .optional(), + buildingAt: z.number().optional(), + builds: z.array(z.lazy(() => UpdateProjectBuilds$inboundSchema)).optional(), + checksConclusion: UpdateProjectChecksConclusion$inboundSchema.optional(), + checksState: UpdateProjectChecksState$inboundSchema.optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdAt: z.number(), + createdIn: z.string(), + creator: z.nullable(z.lazy(() => UpdateProjectCreator$inboundSchema)), + deletedAt: z.number().optional(), + deploymentHostname: z.string(), + forced: z.boolean().optional(), + name: z.string(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + oidcTokenClaims: z.lazy(() => UpdateProjectOidcTokenClaims$inboundSchema) + .optional(), + plan: UpdateProjectPlan$inboundSchema, + previewCommentsEnabled: z.boolean().optional(), + private: z.boolean(), + readyAt: z.number().optional(), + readyState: UpdateProjectReadyState$inboundSchema, + readySubstate: UpdateProjectReadySubstate$inboundSchema.optional(), + requestedAt: z.number().optional(), + target: z.nullable(z.string()).optional(), + teamId: z.nullable(z.string()).optional(), + type: UpdateProjectProjectsType$inboundSchema, + url: z.string(), + userId: z.string(), + withCache: z.boolean().optional(), +}); + +/** @internal */ +export type UpdateProjectLatestDeployments$Outbound = { + id: string; + alias?: Array | undefined; + aliasAssigned?: number | boolean | null | undefined; + aliasError?: UpdateProjectAliasError$Outbound | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + branchMatcher?: UpdateProjectBranchMatcher$Outbound | undefined; + buildingAt?: number | undefined; + builds?: Array | undefined; + checksConclusion?: string | undefined; + checksState?: string | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdAt: number; + createdIn: string; + creator: UpdateProjectCreator$Outbound | null; + deletedAt?: number | undefined; + deploymentHostname: string; + forced?: boolean | undefined; + name: string; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + oidcTokenClaims?: UpdateProjectOidcTokenClaims$Outbound | undefined; + plan: string; + previewCommentsEnabled?: boolean | undefined; + private: boolean; + readyAt?: number | undefined; + readyState: string; + readySubstate?: string | undefined; + requestedAt?: number | undefined; + target?: string | null | undefined; + teamId?: string | null | undefined; + type: string; + url: string; + userId: string; + withCache?: boolean | undefined; +}; + +/** @internal */ +export const UpdateProjectLatestDeployments$outboundSchema: z.ZodType< + UpdateProjectLatestDeployments$Outbound, + z.ZodTypeDef, + UpdateProjectLatestDeployments +> = z.object({ + id: z.string(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + aliasError: z.nullable(z.lazy(() => UpdateProjectAliasError$outboundSchema)) + .optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$outboundSchema) + .optional(), + buildingAt: z.number().optional(), + builds: z.array(z.lazy(() => UpdateProjectBuilds$outboundSchema)).optional(), + checksConclusion: UpdateProjectChecksConclusion$outboundSchema.optional(), + checksState: UpdateProjectChecksState$outboundSchema.optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdAt: z.number(), + createdIn: z.string(), + creator: z.nullable(z.lazy(() => UpdateProjectCreator$outboundSchema)), + deletedAt: z.number().optional(), + deploymentHostname: z.string(), + forced: z.boolean().optional(), + name: z.string(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + oidcTokenClaims: z.lazy(() => UpdateProjectOidcTokenClaims$outboundSchema) + .optional(), + plan: UpdateProjectPlan$outboundSchema, + previewCommentsEnabled: z.boolean().optional(), + private: z.boolean(), + readyAt: z.number().optional(), + readyState: UpdateProjectReadyState$outboundSchema, + readySubstate: UpdateProjectReadySubstate$outboundSchema.optional(), + requestedAt: z.number().optional(), + target: z.nullable(z.string()).optional(), + teamId: z.nullable(z.string()).optional(), + type: UpdateProjectProjectsType$outboundSchema, + url: z.string(), + userId: z.string(), + withCache: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectLatestDeployments$ { + /** @deprecated use `UpdateProjectLatestDeployments$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectLatestDeployments$inboundSchema; + /** @deprecated use `UpdateProjectLatestDeployments$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectLatestDeployments$outboundSchema; + /** @deprecated use `UpdateProjectLatestDeployments$Outbound` instead. */ + export type Outbound = UpdateProjectLatestDeployments$Outbound; +} + +export function updateProjectLatestDeploymentsToJSON( + updateProjectLatestDeployments: UpdateProjectLatestDeployments, +): string { + return JSON.stringify( + UpdateProjectLatestDeployments$outboundSchema.parse( + updateProjectLatestDeployments, + ), + ); +} + +export function updateProjectLatestDeploymentsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectLatestDeployments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectLatestDeployments' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectLinkProjectsResponseType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateProjectLinkProjectsResponseType, + ); + +/** @internal */ +export const UpdateProjectLinkProjectsResponseType$outboundSchema: + z.ZodNativeEnum = + UpdateProjectLinkProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectLinkProjectsResponseType$ { + /** @deprecated use `UpdateProjectLinkProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectLinkProjectsResponseType$inboundSchema; + /** @deprecated use `UpdateProjectLinkProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectLinkProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectLinkProjectsResponseDeployHooks$inboundSchema: + z.ZodType< + UpdateProjectLinkProjectsResponseDeployHooks, + z.ZodTypeDef, + unknown + > = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), + }); + +/** @internal */ +export type UpdateProjectLinkProjectsResponseDeployHooks$Outbound = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +/** @internal */ +export const UpdateProjectLinkProjectsResponseDeployHooks$outboundSchema: + z.ZodType< + UpdateProjectLinkProjectsResponseDeployHooks$Outbound, + z.ZodTypeDef, + UpdateProjectLinkProjectsResponseDeployHooks + > = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectLinkProjectsResponseDeployHooks$ { + /** @deprecated use `UpdateProjectLinkProjectsResponseDeployHooks$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectLinkProjectsResponseDeployHooks$inboundSchema; + /** @deprecated use `UpdateProjectLinkProjectsResponseDeployHooks$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectLinkProjectsResponseDeployHooks$outboundSchema; + /** @deprecated use `UpdateProjectLinkProjectsResponseDeployHooks$Outbound` instead. */ + export type Outbound = UpdateProjectLinkProjectsResponseDeployHooks$Outbound; +} + +export function updateProjectLinkProjectsResponseDeployHooksToJSON( + updateProjectLinkProjectsResponseDeployHooks: + UpdateProjectLinkProjectsResponseDeployHooks, +): string { + return JSON.stringify( + UpdateProjectLinkProjectsResponseDeployHooks$outboundSchema.parse( + updateProjectLinkProjectsResponseDeployHooks, + ), + ); +} + +export function updateProjectLinkProjectsResponseDeployHooksFromJSON( + jsonString: string, +): SafeParseResult< + UpdateProjectLinkProjectsResponseDeployHooks, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateProjectLinkProjectsResponseDeployHooks$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateProjectLinkProjectsResponseDeployHooks' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectLink3$inboundSchema: z.ZodType< + UpdateProjectLink3, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), + slug: z.string().optional(), + owner: z.string().optional(), + type: UpdateProjectLinkProjectsResponseType$inboundSchema.optional(), + uuid: z.string().optional(), + workspaceUuid: z.string().optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => UpdateProjectLinkProjectsResponseDeployHooks$inboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** @internal */ +export type UpdateProjectLink3$Outbound = { + name?: string | undefined; + slug?: string | undefined; + owner?: string | undefined; + type?: string | undefined; + uuid?: string | undefined; + workspaceUuid?: string | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +/** @internal */ +export const UpdateProjectLink3$outboundSchema: z.ZodType< + UpdateProjectLink3$Outbound, + z.ZodTypeDef, + UpdateProjectLink3 +> = z.object({ + name: z.string().optional(), + slug: z.string().optional(), + owner: z.string().optional(), + type: UpdateProjectLinkProjectsResponseType$outboundSchema.optional(), + uuid: z.string().optional(), + workspaceUuid: z.string().optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => UpdateProjectLinkProjectsResponseDeployHooks$outboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectLink3$ { + /** @deprecated use `UpdateProjectLink3$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectLink3$inboundSchema; + /** @deprecated use `UpdateProjectLink3$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectLink3$outboundSchema; + /** @deprecated use `UpdateProjectLink3$Outbound` instead. */ + export type Outbound = UpdateProjectLink3$Outbound; +} + +export function updateProjectLink3ToJSON( + updateProjectLink3: UpdateProjectLink3, +): string { + return JSON.stringify( + UpdateProjectLink3$outboundSchema.parse(updateProjectLink3), + ); +} + +export function updateProjectLink3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectLink3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectLink3' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectLinkProjectsType$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectLinkProjectsType +> = z.nativeEnum(UpdateProjectLinkProjectsType); + +/** @internal */ +export const UpdateProjectLinkProjectsType$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectLinkProjectsType +> = UpdateProjectLinkProjectsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectLinkProjectsType$ { + /** @deprecated use `UpdateProjectLinkProjectsType$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectLinkProjectsType$inboundSchema; + /** @deprecated use `UpdateProjectLinkProjectsType$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectLinkProjectsType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectLinkProjectsDeployHooks$inboundSchema: z.ZodType< + UpdateProjectLinkProjectsDeployHooks, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** @internal */ +export type UpdateProjectLinkProjectsDeployHooks$Outbound = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +/** @internal */ +export const UpdateProjectLinkProjectsDeployHooks$outboundSchema: z.ZodType< + UpdateProjectLinkProjectsDeployHooks$Outbound, + z.ZodTypeDef, + UpdateProjectLinkProjectsDeployHooks +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectLinkProjectsDeployHooks$ { + /** @deprecated use `UpdateProjectLinkProjectsDeployHooks$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectLinkProjectsDeployHooks$inboundSchema; + /** @deprecated use `UpdateProjectLinkProjectsDeployHooks$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectLinkProjectsDeployHooks$outboundSchema; + /** @deprecated use `UpdateProjectLinkProjectsDeployHooks$Outbound` instead. */ + export type Outbound = UpdateProjectLinkProjectsDeployHooks$Outbound; +} + +export function updateProjectLinkProjectsDeployHooksToJSON( + updateProjectLinkProjectsDeployHooks: UpdateProjectLinkProjectsDeployHooks, +): string { + return JSON.stringify( + UpdateProjectLinkProjectsDeployHooks$outboundSchema.parse( + updateProjectLinkProjectsDeployHooks, + ), + ); +} + +export function updateProjectLinkProjectsDeployHooksFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectLinkProjectsDeployHooks$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectLinkProjectsDeployHooks' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectLink2$inboundSchema: z.ZodType< + UpdateProjectLink2, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string().optional(), + projectName: z.string().optional(), + projectNameWithNamespace: z.string().optional(), + projectNamespace: z.string().optional(), + projectOwnerId: z.number().optional(), + projectUrl: z.string().optional(), + type: UpdateProjectLinkProjectsType$inboundSchema.optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => UpdateProjectLinkProjectsDeployHooks$inboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** @internal */ +export type UpdateProjectLink2$Outbound = { + projectId?: string | undefined; + projectName?: string | undefined; + projectNameWithNamespace?: string | undefined; + projectNamespace?: string | undefined; + projectOwnerId?: number | undefined; + projectUrl?: string | undefined; + type?: string | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +/** @internal */ +export const UpdateProjectLink2$outboundSchema: z.ZodType< + UpdateProjectLink2$Outbound, + z.ZodTypeDef, + UpdateProjectLink2 +> = z.object({ + projectId: z.string().optional(), + projectName: z.string().optional(), + projectNameWithNamespace: z.string().optional(), + projectNamespace: z.string().optional(), + projectOwnerId: z.number().optional(), + projectUrl: z.string().optional(), + type: UpdateProjectLinkProjectsType$outboundSchema.optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => UpdateProjectLinkProjectsDeployHooks$outboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectLink2$ { + /** @deprecated use `UpdateProjectLink2$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectLink2$inboundSchema; + /** @deprecated use `UpdateProjectLink2$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectLink2$outboundSchema; + /** @deprecated use `UpdateProjectLink2$Outbound` instead. */ + export type Outbound = UpdateProjectLink2$Outbound; +} + +export function updateProjectLink2ToJSON( + updateProjectLink2: UpdateProjectLink2, +): string { + return JSON.stringify( + UpdateProjectLink2$outboundSchema.parse(updateProjectLink2), + ); +} + +export function updateProjectLink2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectLink2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectLink2' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectLinkType$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectLinkType +> = z.nativeEnum(UpdateProjectLinkType); + +/** @internal */ +export const UpdateProjectLinkType$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectLinkType +> = UpdateProjectLinkType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectLinkType$ { + /** @deprecated use `UpdateProjectLinkType$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectLinkType$inboundSchema; + /** @deprecated use `UpdateProjectLinkType$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectLinkType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectLinkDeployHooks$inboundSchema: z.ZodType< + UpdateProjectLinkDeployHooks, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** @internal */ +export type UpdateProjectLinkDeployHooks$Outbound = { + createdAt?: number | undefined; + id: string; + name: string; + ref: string; + url: string; +}; + +/** @internal */ +export const UpdateProjectLinkDeployHooks$outboundSchema: z.ZodType< + UpdateProjectLinkDeployHooks$Outbound, + z.ZodTypeDef, + UpdateProjectLinkDeployHooks +> = z.object({ + createdAt: z.number().optional(), + id: z.string(), + name: z.string(), + ref: z.string(), + url: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectLinkDeployHooks$ { + /** @deprecated use `UpdateProjectLinkDeployHooks$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectLinkDeployHooks$inboundSchema; + /** @deprecated use `UpdateProjectLinkDeployHooks$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectLinkDeployHooks$outboundSchema; + /** @deprecated use `UpdateProjectLinkDeployHooks$Outbound` instead. */ + export type Outbound = UpdateProjectLinkDeployHooks$Outbound; +} + +export function updateProjectLinkDeployHooksToJSON( + updateProjectLinkDeployHooks: UpdateProjectLinkDeployHooks, +): string { + return JSON.stringify( + UpdateProjectLinkDeployHooks$outboundSchema.parse( + updateProjectLinkDeployHooks, + ), + ); +} + +export function updateProjectLinkDeployHooksFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectLinkDeployHooks$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectLinkDeployHooks' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectLink1$inboundSchema: z.ZodType< + UpdateProjectLink1, + z.ZodTypeDef, + unknown +> = z.object({ + org: z.string().optional(), + repoOwnerId: z.number().optional(), + repo: z.string().optional(), + repoId: z.number().optional(), + type: UpdateProjectLinkType$inboundSchema.optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => UpdateProjectLinkDeployHooks$inboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** @internal */ +export type UpdateProjectLink1$Outbound = { + org?: string | undefined; + repoOwnerId?: number | undefined; + repo?: string | undefined; + repoId?: number | undefined; + type?: string | undefined; + createdAt?: number | undefined; + deployHooks: Array; + gitCredentialId?: string | undefined; + updatedAt?: number | undefined; + sourceless?: boolean | undefined; + productionBranch?: string | undefined; +}; + +/** @internal */ +export const UpdateProjectLink1$outboundSchema: z.ZodType< + UpdateProjectLink1$Outbound, + z.ZodTypeDef, + UpdateProjectLink1 +> = z.object({ + org: z.string().optional(), + repoOwnerId: z.number().optional(), + repo: z.string().optional(), + repoId: z.number().optional(), + type: UpdateProjectLinkType$outboundSchema.optional(), + createdAt: z.number().optional(), + deployHooks: z.array( + z.lazy(() => UpdateProjectLinkDeployHooks$outboundSchema), + ), + gitCredentialId: z.string().optional(), + updatedAt: z.number().optional(), + sourceless: z.boolean().optional(), + productionBranch: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectLink1$ { + /** @deprecated use `UpdateProjectLink1$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectLink1$inboundSchema; + /** @deprecated use `UpdateProjectLink1$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectLink1$outboundSchema; + /** @deprecated use `UpdateProjectLink1$Outbound` instead. */ + export type Outbound = UpdateProjectLink1$Outbound; +} + +export function updateProjectLink1ToJSON( + updateProjectLink1: UpdateProjectLink1, +): string { + return JSON.stringify( + UpdateProjectLink1$outboundSchema.parse(updateProjectLink1), + ); +} + +export function updateProjectLink1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectLink1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectLink1' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectLink$inboundSchema: z.ZodType< + UpdateProjectLink, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateProjectLink1$inboundSchema), + z.lazy(() => UpdateProjectLink3$inboundSchema), + z.lazy(() => UpdateProjectLink2$inboundSchema), +]); + +/** @internal */ +export type UpdateProjectLink$Outbound = + | UpdateProjectLink1$Outbound + | UpdateProjectLink3$Outbound + | UpdateProjectLink2$Outbound; + +/** @internal */ +export const UpdateProjectLink$outboundSchema: z.ZodType< + UpdateProjectLink$Outbound, + z.ZodTypeDef, + UpdateProjectLink +> = z.union([ + z.lazy(() => UpdateProjectLink1$outboundSchema), + z.lazy(() => UpdateProjectLink3$outboundSchema), + z.lazy(() => UpdateProjectLink2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectLink$ { + /** @deprecated use `UpdateProjectLink$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectLink$inboundSchema; + /** @deprecated use `UpdateProjectLink$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectLink$outboundSchema; + /** @deprecated use `UpdateProjectLink$Outbound` instead. */ + export type Outbound = UpdateProjectLink$Outbound; +} + +export function updateProjectLinkToJSON( + updateProjectLink: UpdateProjectLink, +): string { + return JSON.stringify( + UpdateProjectLink$outboundSchema.parse(updateProjectLink), + ); +} + +export function updateProjectLinkFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectLink$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectLink' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectMicrofrontends$inboundSchema: z.ZodType< + UpdateProjectMicrofrontends, + z.ZodTypeDef, + unknown +> = z.object({ + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + isDefaultApp: z.boolean().optional(), + defaultRoute: z.string().optional(), +}); + +/** @internal */ +export type UpdateProjectMicrofrontends$Outbound = { + updatedAt: number; + groupIds: Array; + enabled: boolean; + isDefaultApp?: boolean | undefined; + defaultRoute?: string | undefined; +}; + +/** @internal */ +export const UpdateProjectMicrofrontends$outboundSchema: z.ZodType< + UpdateProjectMicrofrontends$Outbound, + z.ZodTypeDef, + UpdateProjectMicrofrontends +> = z.object({ + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + isDefaultApp: z.boolean().optional(), + defaultRoute: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectMicrofrontends$ { + /** @deprecated use `UpdateProjectMicrofrontends$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectMicrofrontends$inboundSchema; + /** @deprecated use `UpdateProjectMicrofrontends$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectMicrofrontends$outboundSchema; + /** @deprecated use `UpdateProjectMicrofrontends$Outbound` instead. */ + export type Outbound = UpdateProjectMicrofrontends$Outbound; +} + +export function updateProjectMicrofrontendsToJSON( + updateProjectMicrofrontends: UpdateProjectMicrofrontends, +): string { + return JSON.stringify( + UpdateProjectMicrofrontends$outboundSchema.parse( + updateProjectMicrofrontends, + ), + ); +} + +export function updateProjectMicrofrontendsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectMicrofrontends$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectMicrofrontends' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsNodeVersion$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsNodeVersion +> = z.nativeEnum(UpdateProjectProjectsNodeVersion); + +/** @internal */ +export const UpdateProjectProjectsNodeVersion$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsNodeVersion +> = UpdateProjectProjectsNodeVersion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsNodeVersion$ { + /** @deprecated use `UpdateProjectProjectsNodeVersion$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProjectsNodeVersion$inboundSchema; + /** @deprecated use `UpdateProjectProjectsNodeVersion$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectProjectsNodeVersion$outboundSchema; +} + +/** @internal */ +export const UpdateProjectPaths$inboundSchema: z.ZodType< + UpdateProjectPaths, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.string(), +}); + +/** @internal */ +export type UpdateProjectPaths$Outbound = { + value: string; +}; + +/** @internal */ +export const UpdateProjectPaths$outboundSchema: z.ZodType< + UpdateProjectPaths$Outbound, + z.ZodTypeDef, + UpdateProjectPaths +> = z.object({ + value: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectPaths$ { + /** @deprecated use `UpdateProjectPaths$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectPaths$inboundSchema; + /** @deprecated use `UpdateProjectPaths$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectPaths$outboundSchema; + /** @deprecated use `UpdateProjectPaths$Outbound` instead. */ + export type Outbound = UpdateProjectPaths$Outbound; +} + +export function updateProjectPathsToJSON( + updateProjectPaths: UpdateProjectPaths, +): string { + return JSON.stringify( + UpdateProjectPaths$outboundSchema.parse(updateProjectPaths), + ); +} + +export function updateProjectPathsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectPaths$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectPaths' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectOptionsAllowlist$inboundSchema: z.ZodType< + UpdateProjectOptionsAllowlist, + z.ZodTypeDef, + unknown +> = z.object({ + paths: z.array(z.lazy(() => UpdateProjectPaths$inboundSchema)), +}); + +/** @internal */ +export type UpdateProjectOptionsAllowlist$Outbound = { + paths: Array; +}; + +/** @internal */ +export const UpdateProjectOptionsAllowlist$outboundSchema: z.ZodType< + UpdateProjectOptionsAllowlist$Outbound, + z.ZodTypeDef, + UpdateProjectOptionsAllowlist +> = z.object({ + paths: z.array(z.lazy(() => UpdateProjectPaths$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectOptionsAllowlist$ { + /** @deprecated use `UpdateProjectOptionsAllowlist$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectOptionsAllowlist$inboundSchema; + /** @deprecated use `UpdateProjectOptionsAllowlist$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectOptionsAllowlist$outboundSchema; + /** @deprecated use `UpdateProjectOptionsAllowlist$Outbound` instead. */ + export type Outbound = UpdateProjectOptionsAllowlist$Outbound; +} + +export function updateProjectOptionsAllowlistToJSON( + updateProjectOptionsAllowlist: UpdateProjectOptionsAllowlist, +): string { + return JSON.stringify( + UpdateProjectOptionsAllowlist$outboundSchema.parse( + updateProjectOptionsAllowlist, + ), + ); +} + +export function updateProjectOptionsAllowlistFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectOptionsAllowlist$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectOptionsAllowlist' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectPasswordProtection$inboundSchema: z.ZodType< + UpdateProjectPasswordProtection, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type UpdateProjectPasswordProtection$Outbound = {}; + +/** @internal */ +export const UpdateProjectPasswordProtection$outboundSchema: z.ZodType< + UpdateProjectPasswordProtection$Outbound, + z.ZodTypeDef, + UpdateProjectPasswordProtection +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectPasswordProtection$ { + /** @deprecated use `UpdateProjectPasswordProtection$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectPasswordProtection$inboundSchema; + /** @deprecated use `UpdateProjectPasswordProtection$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectPasswordProtection$outboundSchema; + /** @deprecated use `UpdateProjectPasswordProtection$Outbound` instead. */ + export type Outbound = UpdateProjectPasswordProtection$Outbound; +} + +export function updateProjectPasswordProtectionToJSON( + updateProjectPasswordProtection: UpdateProjectPasswordProtection, +): string { + return JSON.stringify( + UpdateProjectPasswordProtection$outboundSchema.parse( + updateProjectPasswordProtection, + ), + ); +} + +export function updateProjectPasswordProtectionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectPasswordProtection$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectPasswordProtection' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectFunctionDefaultMemoryType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateProjectFunctionDefaultMemoryType, + ); + +/** @internal */ +export const UpdateProjectFunctionDefaultMemoryType$outboundSchema: + z.ZodNativeEnum = + UpdateProjectFunctionDefaultMemoryType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectFunctionDefaultMemoryType$ { + /** @deprecated use `UpdateProjectFunctionDefaultMemoryType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectFunctionDefaultMemoryType$inboundSchema; + /** @deprecated use `UpdateProjectFunctionDefaultMemoryType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectFunctionDefaultMemoryType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectResourceConfig$inboundSchema: z.ZodType< + UpdateProjectResourceConfig, + z.ZodTypeDef, + unknown +> = z.object({ + functionDefaultTimeout: z.number().optional(), + functionDefaultMemoryType: + UpdateProjectFunctionDefaultMemoryType$inboundSchema.optional(), + allowServerlessConcurrency: z.boolean().optional(), + elasticConcurrencyEnabled: z.boolean().optional(), +}); + +/** @internal */ +export type UpdateProjectResourceConfig$Outbound = { + functionDefaultTimeout?: number | undefined; + functionDefaultMemoryType?: string | undefined; + allowServerlessConcurrency?: boolean | undefined; + elasticConcurrencyEnabled?: boolean | undefined; +}; + +/** @internal */ +export const UpdateProjectResourceConfig$outboundSchema: z.ZodType< + UpdateProjectResourceConfig$Outbound, + z.ZodTypeDef, + UpdateProjectResourceConfig +> = z.object({ + functionDefaultTimeout: z.number().optional(), + functionDefaultMemoryType: + UpdateProjectFunctionDefaultMemoryType$outboundSchema.optional(), + allowServerlessConcurrency: z.boolean().optional(), + elasticConcurrencyEnabled: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectResourceConfig$ { + /** @deprecated use `UpdateProjectResourceConfig$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectResourceConfig$inboundSchema; + /** @deprecated use `UpdateProjectResourceConfig$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectResourceConfig$outboundSchema; + /** @deprecated use `UpdateProjectResourceConfig$Outbound` instead. */ + export type Outbound = UpdateProjectResourceConfig$Outbound; +} + +export function updateProjectResourceConfigToJSON( + updateProjectResourceConfig: UpdateProjectResourceConfig, +): string { + return JSON.stringify( + UpdateProjectResourceConfig$outboundSchema.parse( + updateProjectResourceConfig, + ), + ); +} + +export function updateProjectResourceConfigFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectResourceConfig$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectResourceConfig' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsResponseDeploymentType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateProjectProjectsResponseDeploymentType); + +/** @internal */ +export const UpdateProjectProjectsResponseDeploymentType$outboundSchema: + z.ZodNativeEnum = + UpdateProjectProjectsResponseDeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsResponseDeploymentType$ { + /** @deprecated use `UpdateProjectProjectsResponseDeploymentType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectProjectsResponseDeploymentType$inboundSchema; + /** @deprecated use `UpdateProjectProjectsResponseDeploymentType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProjectsResponseDeploymentType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectSsoProtection$inboundSchema: z.ZodType< + UpdateProjectSsoProtection, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentType: UpdateProjectProjectsResponseDeploymentType$inboundSchema, +}); + +/** @internal */ +export type UpdateProjectSsoProtection$Outbound = { + deploymentType: string; +}; + +/** @internal */ +export const UpdateProjectSsoProtection$outboundSchema: z.ZodType< + UpdateProjectSsoProtection$Outbound, + z.ZodTypeDef, + UpdateProjectSsoProtection +> = z.object({ + deploymentType: UpdateProjectProjectsResponseDeploymentType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectSsoProtection$ { + /** @deprecated use `UpdateProjectSsoProtection$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectSsoProtection$inboundSchema; + /** @deprecated use `UpdateProjectSsoProtection$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectSsoProtection$outboundSchema; + /** @deprecated use `UpdateProjectSsoProtection$Outbound` instead. */ + export type Outbound = UpdateProjectSsoProtection$Outbound; +} + +export function updateProjectSsoProtectionToJSON( + updateProjectSsoProtection: UpdateProjectSsoProtection, +): string { + return JSON.stringify( + UpdateProjectSsoProtection$outboundSchema.parse(updateProjectSsoProtection), + ); +} + +export function updateProjectSsoProtectionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectSsoProtection$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectSsoProtection' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsAliasAssigned$inboundSchema: z.ZodType< + UpdateProjectProjectsAliasAssigned, + z.ZodTypeDef, + unknown +> = z.union([z.number(), z.boolean()]); + +/** @internal */ +export type UpdateProjectProjectsAliasAssigned$Outbound = number | boolean; + +/** @internal */ +export const UpdateProjectProjectsAliasAssigned$outboundSchema: z.ZodType< + UpdateProjectProjectsAliasAssigned$Outbound, + z.ZodTypeDef, + UpdateProjectProjectsAliasAssigned +> = z.union([z.number(), z.boolean()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsAliasAssigned$ { + /** @deprecated use `UpdateProjectProjectsAliasAssigned$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProjectsAliasAssigned$inboundSchema; + /** @deprecated use `UpdateProjectProjectsAliasAssigned$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProjectsAliasAssigned$outboundSchema; + /** @deprecated use `UpdateProjectProjectsAliasAssigned$Outbound` instead. */ + export type Outbound = UpdateProjectProjectsAliasAssigned$Outbound; +} + +export function updateProjectProjectsAliasAssignedToJSON( + updateProjectProjectsAliasAssigned: UpdateProjectProjectsAliasAssigned, +): string { + return JSON.stringify( + UpdateProjectProjectsAliasAssigned$outboundSchema.parse( + updateProjectProjectsAliasAssigned, + ), + ); +} + +export function updateProjectProjectsAliasAssignedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectProjectsAliasAssigned$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectProjectsAliasAssigned' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsAliasError$inboundSchema: z.ZodType< + UpdateProjectProjectsAliasError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** @internal */ +export type UpdateProjectProjectsAliasError$Outbound = { + code: string; + message: string; +}; + +/** @internal */ +export const UpdateProjectProjectsAliasError$outboundSchema: z.ZodType< + UpdateProjectProjectsAliasError$Outbound, + z.ZodTypeDef, + UpdateProjectProjectsAliasError +> = z.object({ + code: z.string(), + message: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsAliasError$ { + /** @deprecated use `UpdateProjectProjectsAliasError$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProjectsAliasError$inboundSchema; + /** @deprecated use `UpdateProjectProjectsAliasError$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectProjectsAliasError$outboundSchema; + /** @deprecated use `UpdateProjectProjectsAliasError$Outbound` instead. */ + export type Outbound = UpdateProjectProjectsAliasError$Outbound; +} + +export function updateProjectProjectsAliasErrorToJSON( + updateProjectProjectsAliasError: UpdateProjectProjectsAliasError, +): string { + return JSON.stringify( + UpdateProjectProjectsAliasError$outboundSchema.parse( + updateProjectProjectsAliasError, + ), + ); +} + +export function updateProjectProjectsAliasErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectProjectsAliasError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectProjectsAliasError' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum = + z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONType); + +/** @internal */ +export const UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum = + UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsResponse200ApplicationJSONType$ { + /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema; + /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectProjectsBranchMatcher$inboundSchema: z.ZodType< + UpdateProjectProjectsBranchMatcher, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema, + pattern: z.string(), +}); + +/** @internal */ +export type UpdateProjectProjectsBranchMatcher$Outbound = { + type: string; + pattern: string; +}; + +/** @internal */ +export const UpdateProjectProjectsBranchMatcher$outboundSchema: z.ZodType< + UpdateProjectProjectsBranchMatcher$Outbound, + z.ZodTypeDef, + UpdateProjectProjectsBranchMatcher +> = z.object({ + type: UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema, + pattern: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsBranchMatcher$ { + /** @deprecated use `UpdateProjectProjectsBranchMatcher$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProjectsBranchMatcher$inboundSchema; + /** @deprecated use `UpdateProjectProjectsBranchMatcher$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProjectsBranchMatcher$outboundSchema; + /** @deprecated use `UpdateProjectProjectsBranchMatcher$Outbound` instead. */ + export type Outbound = UpdateProjectProjectsBranchMatcher$Outbound; +} + +export function updateProjectProjectsBranchMatcherToJSON( + updateProjectProjectsBranchMatcher: UpdateProjectProjectsBranchMatcher, +): string { + return JSON.stringify( + UpdateProjectProjectsBranchMatcher$outboundSchema.parse( + updateProjectProjectsBranchMatcher, + ), + ); +} + +export function updateProjectProjectsBranchMatcherFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectProjectsBranchMatcher' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsBuilds$inboundSchema: z.ZodType< + UpdateProjectProjectsBuilds, + z.ZodTypeDef, + unknown +> = z.object({ + use: z.string(), + src: z.string().optional(), + dest: z.string().optional(), +}); + +/** @internal */ +export type UpdateProjectProjectsBuilds$Outbound = { + use: string; + src?: string | undefined; + dest?: string | undefined; +}; + +/** @internal */ +export const UpdateProjectProjectsBuilds$outboundSchema: z.ZodType< + UpdateProjectProjectsBuilds$Outbound, + z.ZodTypeDef, + UpdateProjectProjectsBuilds +> = z.object({ + use: z.string(), + src: z.string().optional(), + dest: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsBuilds$ { + /** @deprecated use `UpdateProjectProjectsBuilds$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProjectsBuilds$inboundSchema; + /** @deprecated use `UpdateProjectProjectsBuilds$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectProjectsBuilds$outboundSchema; + /** @deprecated use `UpdateProjectProjectsBuilds$Outbound` instead. */ + export type Outbound = UpdateProjectProjectsBuilds$Outbound; +} + +export function updateProjectProjectsBuildsToJSON( + updateProjectProjectsBuilds: UpdateProjectProjectsBuilds, +): string { + return JSON.stringify( + UpdateProjectProjectsBuilds$outboundSchema.parse( + updateProjectProjectsBuilds, + ), + ); +} + +export function updateProjectProjectsBuildsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectProjectsBuilds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectProjectsBuilds' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsChecksConclusion$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateProjectProjectsChecksConclusion, + ); + +/** @internal */ +export const UpdateProjectProjectsChecksConclusion$outboundSchema: + z.ZodNativeEnum = + UpdateProjectProjectsChecksConclusion$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsChecksConclusion$ { + /** @deprecated use `UpdateProjectProjectsChecksConclusion$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectProjectsChecksConclusion$inboundSchema; + /** @deprecated use `UpdateProjectProjectsChecksConclusion$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProjectsChecksConclusion$outboundSchema; +} + +/** @internal */ +export const UpdateProjectProjectsChecksState$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsChecksState +> = z.nativeEnum(UpdateProjectProjectsChecksState); + +/** @internal */ +export const UpdateProjectProjectsChecksState$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsChecksState +> = UpdateProjectProjectsChecksState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsChecksState$ { + /** @deprecated use `UpdateProjectProjectsChecksState$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProjectsChecksState$inboundSchema; + /** @deprecated use `UpdateProjectProjectsChecksState$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectProjectsChecksState$outboundSchema; +} + +/** @internal */ +export const UpdateProjectProjectsCreator$inboundSchema: z.ZodType< + UpdateProjectProjectsCreator, + z.ZodTypeDef, + unknown +> = z.object({ + email: z.string(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), + uid: z.string(), + username: z.string(), +}); + +/** @internal */ +export type UpdateProjectProjectsCreator$Outbound = { + email: string; + githubLogin?: string | undefined; + gitlabLogin?: string | undefined; + uid: string; + username: string; +}; + +/** @internal */ +export const UpdateProjectProjectsCreator$outboundSchema: z.ZodType< + UpdateProjectProjectsCreator$Outbound, + z.ZodTypeDef, + UpdateProjectProjectsCreator +> = z.object({ + email: z.string(), + githubLogin: z.string().optional(), + gitlabLogin: z.string().optional(), + uid: z.string(), + username: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsCreator$ { + /** @deprecated use `UpdateProjectProjectsCreator$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProjectsCreator$inboundSchema; + /** @deprecated use `UpdateProjectProjectsCreator$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectProjectsCreator$outboundSchema; + /** @deprecated use `UpdateProjectProjectsCreator$Outbound` instead. */ + export type Outbound = UpdateProjectProjectsCreator$Outbound; +} + +export function updateProjectProjectsCreatorToJSON( + updateProjectProjectsCreator: UpdateProjectProjectsCreator, +): string { + return JSON.stringify( + UpdateProjectProjectsCreator$outboundSchema.parse( + updateProjectProjectsCreator, + ), + ); +} + +export function updateProjectProjectsCreatorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectProjectsCreator$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectProjectsCreator' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsOidcTokenClaims$inboundSchema: z.ZodType< + UpdateProjectProjectsOidcTokenClaims, + z.ZodTypeDef, + unknown +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + owner_id: z.string(), + project: z.string(), + project_id: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + "owner_id": "ownerId", + "project_id": "projectId", + }); +}); + +/** @internal */ +export type UpdateProjectProjectsOidcTokenClaims$Outbound = { + iss: string; + sub: string; + scope: string; + aud: string; + owner: string; + owner_id: string; + project: string; + project_id: string; + environment: string; +}; + +/** @internal */ +export const UpdateProjectProjectsOidcTokenClaims$outboundSchema: z.ZodType< + UpdateProjectProjectsOidcTokenClaims$Outbound, + z.ZodTypeDef, + UpdateProjectProjectsOidcTokenClaims +> = z.object({ + iss: z.string(), + sub: z.string(), + scope: z.string(), + aud: z.string(), + owner: z.string(), + ownerId: z.string(), + project: z.string(), + projectId: z.string(), + environment: z.string(), +}).transform((v) => { + return remap$(v, { + ownerId: "owner_id", + projectId: "project_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsOidcTokenClaims$ { + /** @deprecated use `UpdateProjectProjectsOidcTokenClaims$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectProjectsOidcTokenClaims$inboundSchema; + /** @deprecated use `UpdateProjectProjectsOidcTokenClaims$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProjectsOidcTokenClaims$outboundSchema; + /** @deprecated use `UpdateProjectProjectsOidcTokenClaims$Outbound` instead. */ + export type Outbound = UpdateProjectProjectsOidcTokenClaims$Outbound; +} + +export function updateProjectProjectsOidcTokenClaimsToJSON( + updateProjectProjectsOidcTokenClaims: UpdateProjectProjectsOidcTokenClaims, +): string { + return JSON.stringify( + UpdateProjectProjectsOidcTokenClaims$outboundSchema.parse( + updateProjectProjectsOidcTokenClaims, + ), + ); +} + +export function updateProjectProjectsOidcTokenClaimsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectProjectsOidcTokenClaims$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectProjectsOidcTokenClaims' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsPlan$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsPlan +> = z.nativeEnum(UpdateProjectProjectsPlan); + +/** @internal */ +export const UpdateProjectProjectsPlan$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsPlan +> = UpdateProjectProjectsPlan$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsPlan$ { + /** @deprecated use `UpdateProjectProjectsPlan$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProjectsPlan$inboundSchema; + /** @deprecated use `UpdateProjectProjectsPlan$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectProjectsPlan$outboundSchema; +} + +/** @internal */ +export const UpdateProjectProjectsReadyState$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsReadyState +> = z.nativeEnum(UpdateProjectProjectsReadyState); + +/** @internal */ +export const UpdateProjectProjectsReadyState$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsReadyState +> = UpdateProjectProjectsReadyState$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsReadyState$ { + /** @deprecated use `UpdateProjectProjectsReadyState$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProjectsReadyState$inboundSchema; + /** @deprecated use `UpdateProjectProjectsReadyState$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectProjectsReadyState$outboundSchema; +} + +/** @internal */ +export const UpdateProjectProjectsReadySubstate$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsReadySubstate +> = z.nativeEnum(UpdateProjectProjectsReadySubstate); + +/** @internal */ +export const UpdateProjectProjectsReadySubstate$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsReadySubstate +> = UpdateProjectProjectsReadySubstate$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsReadySubstate$ { + /** @deprecated use `UpdateProjectProjectsReadySubstate$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProjectsReadySubstate$inboundSchema; + /** @deprecated use `UpdateProjectProjectsReadySubstate$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProjectsReadySubstate$outboundSchema; +} + +/** @internal */ +export const UpdateProjectProjectsResponseType$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsResponseType +> = z.nativeEnum(UpdateProjectProjectsResponseType); + +/** @internal */ +export const UpdateProjectProjectsResponseType$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsResponseType +> = UpdateProjectProjectsResponseType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsResponseType$ { + /** @deprecated use `UpdateProjectProjectsResponseType$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProjectsResponseType$inboundSchema; + /** @deprecated use `UpdateProjectProjectsResponseType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProjectsResponseType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectTargets$inboundSchema: z.ZodType< + UpdateProjectTargets, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + aliasError: z.nullable( + z.lazy(() => UpdateProjectProjectsAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$inboundSchema) + .optional(), + buildingAt: z.number().optional(), + builds: z.array(z.lazy(() => UpdateProjectProjectsBuilds$inboundSchema)) + .optional(), + checksConclusion: UpdateProjectProjectsChecksConclusion$inboundSchema + .optional(), + checksState: UpdateProjectProjectsChecksState$inboundSchema.optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdAt: z.number(), + createdIn: z.string(), + creator: z.nullable(z.lazy(() => UpdateProjectProjectsCreator$inboundSchema)), + deletedAt: z.number().optional(), + deploymentHostname: z.string(), + forced: z.boolean().optional(), + name: z.string(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + oidcTokenClaims: z.lazy(() => + UpdateProjectProjectsOidcTokenClaims$inboundSchema + ).optional(), + plan: UpdateProjectProjectsPlan$inboundSchema, + previewCommentsEnabled: z.boolean().optional(), + private: z.boolean(), + readyAt: z.number().optional(), + readyState: UpdateProjectProjectsReadyState$inboundSchema, + readySubstate: UpdateProjectProjectsReadySubstate$inboundSchema.optional(), + requestedAt: z.number().optional(), + target: z.nullable(z.string()).optional(), + teamId: z.nullable(z.string()).optional(), + type: UpdateProjectProjectsResponseType$inboundSchema, + url: z.string(), + userId: z.string(), + withCache: z.boolean().optional(), +}); + +/** @internal */ +export type UpdateProjectTargets$Outbound = { + id: string; + alias?: Array | undefined; + aliasAssigned?: number | boolean | null | undefined; + aliasError?: UpdateProjectProjectsAliasError$Outbound | null | undefined; + aliasFinal?: string | null | undefined; + automaticAliases?: Array | undefined; + branchMatcher?: UpdateProjectProjectsBranchMatcher$Outbound | undefined; + buildingAt?: number | undefined; + builds?: Array | undefined; + checksConclusion?: string | undefined; + checksState?: string | undefined; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdAt: number; + createdIn: string; + creator: UpdateProjectProjectsCreator$Outbound | null; + deletedAt?: number | undefined; + deploymentHostname: string; + forced?: boolean | undefined; + name: string; + meta?: { [k: string]: string } | undefined; + monorepoManager?: string | null | undefined; + oidcTokenClaims?: UpdateProjectProjectsOidcTokenClaims$Outbound | undefined; + plan: string; + previewCommentsEnabled?: boolean | undefined; + private: boolean; + readyAt?: number | undefined; + readyState: string; + readySubstate?: string | undefined; + requestedAt?: number | undefined; + target?: string | null | undefined; + teamId?: string | null | undefined; + type: string; + url: string; + userId: string; + withCache?: boolean | undefined; +}; + +/** @internal */ +export const UpdateProjectTargets$outboundSchema: z.ZodType< + UpdateProjectTargets$Outbound, + z.ZodTypeDef, + UpdateProjectTargets +> = z.object({ + id: z.string(), + alias: z.array(z.string()).optional(), + aliasAssigned: z.nullable(z.union([z.number(), z.boolean()])).optional(), + aliasError: z.nullable( + z.lazy(() => UpdateProjectProjectsAliasError$outboundSchema), + ).optional(), + aliasFinal: z.nullable(z.string()).optional(), + automaticAliases: z.array(z.string()).optional(), + branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$outboundSchema) + .optional(), + buildingAt: z.number().optional(), + builds: z.array(z.lazy(() => UpdateProjectProjectsBuilds$outboundSchema)) + .optional(), + checksConclusion: UpdateProjectProjectsChecksConclusion$outboundSchema + .optional(), + checksState: UpdateProjectProjectsChecksState$outboundSchema.optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdAt: z.number(), + createdIn: z.string(), + creator: z.nullable( + z.lazy(() => UpdateProjectProjectsCreator$outboundSchema), + ), + deletedAt: z.number().optional(), + deploymentHostname: z.string(), + forced: z.boolean().optional(), + name: z.string(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + oidcTokenClaims: z.lazy(() => + UpdateProjectProjectsOidcTokenClaims$outboundSchema + ).optional(), + plan: UpdateProjectProjectsPlan$outboundSchema, + previewCommentsEnabled: z.boolean().optional(), + private: z.boolean(), + readyAt: z.number().optional(), + readyState: UpdateProjectProjectsReadyState$outboundSchema, + readySubstate: UpdateProjectProjectsReadySubstate$outboundSchema.optional(), + requestedAt: z.number().optional(), + target: z.nullable(z.string()).optional(), + teamId: z.nullable(z.string()).optional(), + type: UpdateProjectProjectsResponseType$outboundSchema, + url: z.string(), + userId: z.string(), + withCache: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectTargets$ { + /** @deprecated use `UpdateProjectTargets$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectTargets$inboundSchema; + /** @deprecated use `UpdateProjectTargets$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectTargets$outboundSchema; + /** @deprecated use `UpdateProjectTargets$Outbound` instead. */ + export type Outbound = UpdateProjectTargets$Outbound; +} + +export function updateProjectTargetsToJSON( + updateProjectTargets: UpdateProjectTargets, +): string { + return JSON.stringify( + UpdateProjectTargets$outboundSchema.parse(updateProjectTargets), + ); +} + +export function updateProjectTargetsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectTargets$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectTargets' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectPermissions$inboundSchema: z.ZodType< + UpdateProjectPermissions, + z.ZodTypeDef, + unknown +> = z.object({ + accessGroup: z.array(ACLAction$inboundSchema).optional(), + aliasGlobal: z.array(ACLAction$inboundSchema).optional(), + analyticsSampling: z.array(ACLAction$inboundSchema).optional(), + analyticsUsage: z.array(ACLAction$inboundSchema).optional(), + auditLog: z.array(ACLAction$inboundSchema).optional(), + billingAddress: z.array(ACLAction$inboundSchema).optional(), + billingInformation: z.array(ACLAction$inboundSchema).optional(), + billingInvoice: z.array(ACLAction$inboundSchema).optional(), + billingInvoiceEmailRecipient: z.array(ACLAction$inboundSchema).optional(), + billingInvoiceLanguage: z.array(ACLAction$inboundSchema).optional(), + billingPlan: z.array(ACLAction$inboundSchema).optional(), + billingPurchaseOrder: z.array(ACLAction$inboundSchema).optional(), + billingTaxId: z.array(ACLAction$inboundSchema).optional(), + blob: z.array(ACLAction$inboundSchema).optional(), + budget: z.array(ACLAction$inboundSchema).optional(), + cacheArtifact: z.array(ACLAction$inboundSchema).optional(), + cacheArtifactUsageEvent: z.array(ACLAction$inboundSchema).optional(), + codeChecks: z.array(ACLAction$inboundSchema).optional(), + concurrentBuilds: z.array(ACLAction$inboundSchema).optional(), + connect: z.array(ACLAction$inboundSchema).optional(), + connectConfiguration: z.array(ACLAction$inboundSchema).optional(), + domain: z.array(ACLAction$inboundSchema).optional(), + domainAcceptDelegation: z.array(ACLAction$inboundSchema).optional(), + domainAuthCodes: z.array(ACLAction$inboundSchema).optional(), + domainCertificate: z.array(ACLAction$inboundSchema).optional(), + domainCheckConfig: z.array(ACLAction$inboundSchema).optional(), + domainMove: z.array(ACLAction$inboundSchema).optional(), + domainPurchase: z.array(ACLAction$inboundSchema).optional(), + domainRecord: z.array(ACLAction$inboundSchema).optional(), + domainTransferIn: z.array(ACLAction$inboundSchema).optional(), + event: z.array(ACLAction$inboundSchema).optional(), + ownEvent: z.array(ACLAction$inboundSchema).optional(), + sensitiveEnvironmentVariablePolicy: z.array(ACLAction$inboundSchema) + .optional(), + fileUpload: z.array(ACLAction$inboundSchema).optional(), + gitRepository: z.array(ACLAction$inboundSchema).optional(), + ipBlocking: z.array(ACLAction$inboundSchema).optional(), + integration: z.array(ACLAction$inboundSchema).optional(), + integrationAccount: z.array(ACLAction$inboundSchema).optional(), + integrationConfiguration: z.array(ACLAction$inboundSchema).optional(), + integrationConfigurationTransfer: z.array(ACLAction$inboundSchema).optional(), + integrationConfigurationProjects: z.array(ACLAction$inboundSchema).optional(), + integrationVercelConfigurationOverride: z.array(ACLAction$inboundSchema) + .optional(), + integrationConfigurationRole: z.array(ACLAction$inboundSchema).optional(), + integrationResource: z.array(ACLAction$inboundSchema).optional(), + integrationEvent: z.array(ACLAction$inboundSchema).optional(), + integrationResourceSecrets: z.array(ACLAction$inboundSchema).optional(), + integrationDeploymentAction: z.array(ACLAction$inboundSchema).optional(), + marketplaceInstallationMember: z.array(ACLAction$inboundSchema).optional(), + marketplaceBillingData: z.array(ACLAction$inboundSchema).optional(), + marketplaceInvoice: z.array(ACLAction$inboundSchema).optional(), + jobGlobal: z.array(ACLAction$inboundSchema).optional(), + logDrain: z.array(ACLAction$inboundSchema).optional(), + Monitoring: z.array(ACLAction$inboundSchema).optional(), + monitoringSettings: z.array(ACLAction$inboundSchema).optional(), + monitoringQuery: z.array(ACLAction$inboundSchema).optional(), + monitoringChart: z.array(ACLAction$inboundSchema).optional(), + monitoringAlert: z.array(ACLAction$inboundSchema).optional(), + notificationDeploymentFailed: z.array(ACLAction$inboundSchema).optional(), + notificationDomainConfiguration: z.array(ACLAction$inboundSchema).optional(), + notificationDomainExpire: z.array(ACLAction$inboundSchema).optional(), + notificationDomainMoved: z.array(ACLAction$inboundSchema).optional(), + notificationDomainPurchase: z.array(ACLAction$inboundSchema).optional(), + notificationDomainRenewal: z.array(ACLAction$inboundSchema).optional(), + notificationDomainTransfer: z.array(ACLAction$inboundSchema).optional(), + notificationDomainUnverified: z.array(ACLAction$inboundSchema).optional(), + NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(), + notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(), + notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(), + notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), + notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(), + oauth2Connection: z.array(ACLAction$inboundSchema).optional(), + observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(), + openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(), + paymentMethod: z.array(ACLAction$inboundSchema).optional(), + permissions: z.array(ACLAction$inboundSchema).optional(), + postgres: z.array(ACLAction$inboundSchema).optional(), + previewDeploymentSuffix: z.array(ACLAction$inboundSchema).optional(), + proTrialOnboarding: z.array(ACLAction$inboundSchema).optional(), + sharedEnvVars: z.array(ACLAction$inboundSchema).optional(), + sharedEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(), + space: z.array(ACLAction$inboundSchema).optional(), + spaceRun: z.array(ACLAction$inboundSchema).optional(), + passwordProtectionInvoiceItem: z.array(ACLAction$inboundSchema).optional(), + rateLimit: z.array(ACLAction$inboundSchema).optional(), + redis: z.array(ACLAction$inboundSchema).optional(), + repository: z.array(ACLAction$inboundSchema).optional(), + remoteCaching: z.array(ACLAction$inboundSchema).optional(), + samlConfig: z.array(ACLAction$inboundSchema).optional(), + secret: z.array(ACLAction$inboundSchema).optional(), + redisStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + blobStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + postgresStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + integrationStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + integrationResourceReplCommand: z.array(ACLAction$inboundSchema).optional(), + storeTransfer: z.array(ACLAction$inboundSchema).optional(), + supportCase: z.array(ACLAction$inboundSchema).optional(), + supportCaseComment: z.array(ACLAction$inboundSchema).optional(), + dataCacheBillingSettings: z.array(ACLAction$inboundSchema).optional(), + team: z.array(ACLAction$inboundSchema).optional(), + teamAccessRequest: z.array(ACLAction$inboundSchema).optional(), + teamFellowMembership: z.array(ACLAction$inboundSchema).optional(), + teamGitExclusivity: z.array(ACLAction$inboundSchema).optional(), + teamInvite: z.array(ACLAction$inboundSchema).optional(), + teamInviteCode: z.array(ACLAction$inboundSchema).optional(), + teamJoin: z.array(ACLAction$inboundSchema).optional(), + teamMicrofrontends: z.array(ACLAction$inboundSchema).optional(), + teamOwnMembership: z.array(ACLAction$inboundSchema).optional(), + teamOwnMembershipDisconnectSAML: z.array(ACLAction$inboundSchema).optional(), + token: z.array(ACLAction$inboundSchema).optional(), + usage: z.array(ACLAction$inboundSchema).optional(), + usageCycle: z.array(ACLAction$inboundSchema).optional(), + user: z.array(ACLAction$inboundSchema).optional(), + userConnection: z.array(ACLAction$inboundSchema).optional(), + vpcPeeringConnection: z.array(ACLAction$inboundSchema).optional(), + webAnalyticsPlan: z.array(ACLAction$inboundSchema).optional(), + webAuthn: z.array(ACLAction$inboundSchema).optional(), + edgeConfig: z.array(ACLAction$inboundSchema).optional(), + edgeConfigItem: z.array(ACLAction$inboundSchema).optional(), + edgeConfigSchema: z.array(ACLAction$inboundSchema).optional(), + edgeConfigToken: z.array(ACLAction$inboundSchema).optional(), + webhook: z.array(ACLAction$inboundSchema).optional(), + "webhook-event": z.array(ACLAction$inboundSchema).optional(), + endpointVerification: z.array(ACLAction$inboundSchema).optional(), + projectTransferIn: z.array(ACLAction$inboundSchema).optional(), + oauth2Application: z.array(ACLAction$inboundSchema).optional(), + aliasProject: z.array(ACLAction$inboundSchema).optional(), + aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), + productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), + connectConfigurationLink: z.array(ACLAction$inboundSchema).optional(), + dataCacheNamespace: z.array(ACLAction$inboundSchema).optional(), + deployment: z.array(ACLAction$inboundSchema).optional(), + deploymentCheck: z.array(ACLAction$inboundSchema).optional(), + deploymentCheckPreview: z.array(ACLAction$inboundSchema).optional(), + deploymentCheckReRunFromProductionBranch: z.array(ACLAction$inboundSchema) + .optional(), + deploymentProductionGit: z.array(ACLAction$inboundSchema).optional(), + deploymentV0: z.array(ACLAction$inboundSchema).optional(), + deploymentPreview: z.array(ACLAction$inboundSchema).optional(), + deploymentPrivate: z.array(ACLAction$inboundSchema).optional(), + deploymentPromote: z.array(ACLAction$inboundSchema).optional(), + deploymentRollback: z.array(ACLAction$inboundSchema).optional(), + environments: z.array(ACLAction$inboundSchema).optional(), + logs: z.array(ACLAction$inboundSchema).optional(), + logsPreset: z.array(ACLAction$inboundSchema).optional(), + passwordProtection: z.array(ACLAction$inboundSchema).optional(), + optionsAllowlist: z.array(ACLAction$inboundSchema).optional(), + job: z.array(ACLAction$inboundSchema).optional(), + observabilityData: z.array(ACLAction$inboundSchema).optional(), + project: z.array(ACLAction$inboundSchema).optional(), + projectFromV0: z.array(ACLAction$inboundSchema).optional(), + projectAccessGroup: z.array(ACLAction$inboundSchema).optional(), + projectAnalyticsSampling: z.array(ACLAction$inboundSchema).optional(), + projectDeploymentHook: z.array(ACLAction$inboundSchema).optional(), + projectDomain: z.array(ACLAction$inboundSchema).optional(), + projectDomainMove: z.array(ACLAction$inboundSchema).optional(), + projectDomainCheckConfig: z.array(ACLAction$inboundSchema).optional(), + projectEnvVars: z.array(ACLAction$inboundSchema).optional(), + projectEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(), + projectEnvVarsUnownedByIntegration: z.array(ACLAction$inboundSchema) + .optional(), + projectFlags: z.array(ACLAction$inboundSchema).optional(), + projectId: z.array(ACLAction$inboundSchema).optional(), + projectIntegrationConfiguration: z.array(ACLAction$inboundSchema).optional(), + projectLink: z.array(ACLAction$inboundSchema).optional(), + projectMember: z.array(ACLAction$inboundSchema).optional(), + projectMonitoring: z.array(ACLAction$inboundSchema).optional(), + projectPermissions: z.array(ACLAction$inboundSchema).optional(), + projectProductionBranch: z.array(ACLAction$inboundSchema).optional(), + projectTransfer: z.array(ACLAction$inboundSchema).optional(), + projectTransferOut: z.array(ACLAction$inboundSchema).optional(), + projectProtectionBypass: z.array(ACLAction$inboundSchema).optional(), + projectUsage: z.array(ACLAction$inboundSchema).optional(), + projectAnalyticsUsage: z.array(ACLAction$inboundSchema).optional(), + projectSupportCase: z.array(ACLAction$inboundSchema).optional(), + projectSupportCaseComment: z.array(ACLAction$inboundSchema).optional(), + projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(), + projectTier: z.array(ACLAction$inboundSchema).optional(), + seawallConfig: z.array(ACLAction$inboundSchema).optional(), + skewProtection: z.array(ACLAction$inboundSchema).optional(), + analytics: z.array(ACLAction$inboundSchema).optional(), + trustedIps: z.array(ACLAction$inboundSchema).optional(), + webAnalytics: z.array(ACLAction$inboundSchema).optional(), + sharedEnvVarConnection: z.array(ACLAction$inboundSchema).optional(), + sonar: z.array(ACLAction$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "Monitoring": "monitoring", + "NotificationMonitoringAlert": "notificationMonitoringAlert", + "webhook-event": "webhookEvent", + }); +}); + +/** @internal */ +export type UpdateProjectPermissions$Outbound = { + accessGroup?: Array | undefined; + aliasGlobal?: Array | undefined; + analyticsSampling?: Array | undefined; + analyticsUsage?: Array | undefined; + auditLog?: Array | undefined; + billingAddress?: Array | undefined; + billingInformation?: Array | undefined; + billingInvoice?: Array | undefined; + billingInvoiceEmailRecipient?: Array | undefined; + billingInvoiceLanguage?: Array | undefined; + billingPlan?: Array | undefined; + billingPurchaseOrder?: Array | undefined; + billingTaxId?: Array | undefined; + blob?: Array | undefined; + budget?: Array | undefined; + cacheArtifact?: Array | undefined; + cacheArtifactUsageEvent?: Array | undefined; + codeChecks?: Array | undefined; + concurrentBuilds?: Array | undefined; + connect?: Array | undefined; + connectConfiguration?: Array | undefined; + domain?: Array | undefined; + domainAcceptDelegation?: Array | undefined; + domainAuthCodes?: Array | undefined; + domainCertificate?: Array | undefined; + domainCheckConfig?: Array | undefined; + domainMove?: Array | undefined; + domainPurchase?: Array | undefined; + domainRecord?: Array | undefined; + domainTransferIn?: Array | undefined; + event?: Array | undefined; + ownEvent?: Array | undefined; + sensitiveEnvironmentVariablePolicy?: Array | undefined; + fileUpload?: Array | undefined; + gitRepository?: Array | undefined; + ipBlocking?: Array | undefined; + integration?: Array | undefined; + integrationAccount?: Array | undefined; + integrationConfiguration?: Array | undefined; + integrationConfigurationTransfer?: Array | undefined; + integrationConfigurationProjects?: Array | undefined; + integrationVercelConfigurationOverride?: Array | undefined; + integrationConfigurationRole?: Array | undefined; + integrationResource?: Array | undefined; + integrationEvent?: Array | undefined; + integrationResourceSecrets?: Array | undefined; + integrationDeploymentAction?: Array | undefined; + marketplaceInstallationMember?: Array | undefined; + marketplaceBillingData?: Array | undefined; + marketplaceInvoice?: Array | undefined; + jobGlobal?: Array | undefined; + logDrain?: Array | undefined; + Monitoring?: Array | undefined; + monitoringSettings?: Array | undefined; + monitoringQuery?: Array | undefined; + monitoringChart?: Array | undefined; + monitoringAlert?: Array | undefined; + notificationDeploymentFailed?: Array | undefined; + notificationDomainConfiguration?: Array | undefined; + notificationDomainExpire?: Array | undefined; + notificationDomainMoved?: Array | undefined; + notificationDomainPurchase?: Array | undefined; + notificationDomainRenewal?: Array | undefined; + notificationDomainTransfer?: Array | undefined; + notificationDomainUnverified?: Array | undefined; + NotificationMonitoringAlert?: Array | undefined; + notificationPaymentFailed?: Array | undefined; + notificationUsageAlert?: Array | undefined; + notificationCustomerBudget?: Array | undefined; + notificationStatementOfReasons?: Array | undefined; + oauth2Connection?: Array | undefined; + observabilityConfiguration?: Array | undefined; + openTelemetryEndpoint?: Array | undefined; + paymentMethod?: Array | undefined; + permissions?: Array | undefined; + postgres?: Array | undefined; + previewDeploymentSuffix?: Array | undefined; + proTrialOnboarding?: Array | undefined; + sharedEnvVars?: Array | undefined; + sharedEnvVarsProduction?: Array | undefined; + space?: Array | undefined; + spaceRun?: Array | undefined; + passwordProtectionInvoiceItem?: Array | undefined; + rateLimit?: Array | undefined; + redis?: Array | undefined; + repository?: Array | undefined; + remoteCaching?: Array | undefined; + samlConfig?: Array | undefined; + secret?: Array | undefined; + redisStoreTokenSet?: Array | undefined; + blobStoreTokenSet?: Array | undefined; + postgresStoreTokenSet?: Array | undefined; + integrationStoreTokenSet?: Array | undefined; + integrationResourceReplCommand?: Array | undefined; + storeTransfer?: Array | undefined; + supportCase?: Array | undefined; + supportCaseComment?: Array | undefined; + dataCacheBillingSettings?: Array | undefined; + team?: Array | undefined; + teamAccessRequest?: Array | undefined; + teamFellowMembership?: Array | undefined; + teamGitExclusivity?: Array | undefined; + teamInvite?: Array | undefined; + teamInviteCode?: Array | undefined; + teamJoin?: Array | undefined; + teamMicrofrontends?: Array | undefined; + teamOwnMembership?: Array | undefined; + teamOwnMembershipDisconnectSAML?: Array | undefined; + token?: Array | undefined; + usage?: Array | undefined; + usageCycle?: Array | undefined; + user?: Array | undefined; + userConnection?: Array | undefined; + vpcPeeringConnection?: Array | undefined; + webAnalyticsPlan?: Array | undefined; + webAuthn?: Array | undefined; + edgeConfig?: Array | undefined; + edgeConfigItem?: Array | undefined; + edgeConfigSchema?: Array | undefined; + edgeConfigToken?: Array | undefined; + webhook?: Array | undefined; + "webhook-event"?: Array | undefined; + endpointVerification?: Array | undefined; + projectTransferIn?: Array | undefined; + oauth2Application?: Array | undefined; + aliasProject?: Array | undefined; + aliasProtectionBypass?: Array | undefined; + productionAliasProtectionBypass?: Array | undefined; + connectConfigurationLink?: Array | undefined; + dataCacheNamespace?: Array | undefined; + deployment?: Array | undefined; + deploymentCheck?: Array | undefined; + deploymentCheckPreview?: Array | undefined; + deploymentCheckReRunFromProductionBranch?: Array | undefined; + deploymentProductionGit?: Array | undefined; + deploymentV0?: Array | undefined; + deploymentPreview?: Array | undefined; + deploymentPrivate?: Array | undefined; + deploymentPromote?: Array | undefined; + deploymentRollback?: Array | undefined; + environments?: Array | undefined; + logs?: Array | undefined; + logsPreset?: Array | undefined; + passwordProtection?: Array | undefined; + optionsAllowlist?: Array | undefined; + job?: Array | undefined; + observabilityData?: Array | undefined; + project?: Array | undefined; + projectFromV0?: Array | undefined; + projectAccessGroup?: Array | undefined; + projectAnalyticsSampling?: Array | undefined; + projectDeploymentHook?: Array | undefined; + projectDomain?: Array | undefined; + projectDomainMove?: Array | undefined; + projectDomainCheckConfig?: Array | undefined; + projectEnvVars?: Array | undefined; + projectEnvVarsProduction?: Array | undefined; + projectEnvVarsUnownedByIntegration?: Array | undefined; + projectFlags?: Array | undefined; + projectId?: Array | undefined; + projectIntegrationConfiguration?: Array | undefined; + projectLink?: Array | undefined; + projectMember?: Array | undefined; + projectMonitoring?: Array | undefined; + projectPermissions?: Array | undefined; + projectProductionBranch?: Array | undefined; + projectTransfer?: Array | undefined; + projectTransferOut?: Array | undefined; + projectProtectionBypass?: Array | undefined; + projectUsage?: Array | undefined; + projectAnalyticsUsage?: Array | undefined; + projectSupportCase?: Array | undefined; + projectSupportCaseComment?: Array | undefined; + projectDeploymentExpiration?: Array | undefined; + projectTier?: Array | undefined; + seawallConfig?: Array | undefined; + skewProtection?: Array | undefined; + analytics?: Array | undefined; + trustedIps?: Array | undefined; + webAnalytics?: Array | undefined; + sharedEnvVarConnection?: Array | undefined; + sonar?: Array | undefined; +}; + +/** @internal */ +export const UpdateProjectPermissions$outboundSchema: z.ZodType< + UpdateProjectPermissions$Outbound, + z.ZodTypeDef, + UpdateProjectPermissions +> = z.object({ + accessGroup: z.array(ACLAction$outboundSchema).optional(), + aliasGlobal: z.array(ACLAction$outboundSchema).optional(), + analyticsSampling: z.array(ACLAction$outboundSchema).optional(), + analyticsUsage: z.array(ACLAction$outboundSchema).optional(), + auditLog: z.array(ACLAction$outboundSchema).optional(), + billingAddress: z.array(ACLAction$outboundSchema).optional(), + billingInformation: z.array(ACLAction$outboundSchema).optional(), + billingInvoice: z.array(ACLAction$outboundSchema).optional(), + billingInvoiceEmailRecipient: z.array(ACLAction$outboundSchema).optional(), + billingInvoiceLanguage: z.array(ACLAction$outboundSchema).optional(), + billingPlan: z.array(ACLAction$outboundSchema).optional(), + billingPurchaseOrder: z.array(ACLAction$outboundSchema).optional(), + billingTaxId: z.array(ACLAction$outboundSchema).optional(), + blob: z.array(ACLAction$outboundSchema).optional(), + budget: z.array(ACLAction$outboundSchema).optional(), + cacheArtifact: z.array(ACLAction$outboundSchema).optional(), + cacheArtifactUsageEvent: z.array(ACLAction$outboundSchema).optional(), + codeChecks: z.array(ACLAction$outboundSchema).optional(), + concurrentBuilds: z.array(ACLAction$outboundSchema).optional(), + connect: z.array(ACLAction$outboundSchema).optional(), + connectConfiguration: z.array(ACLAction$outboundSchema).optional(), + domain: z.array(ACLAction$outboundSchema).optional(), + domainAcceptDelegation: z.array(ACLAction$outboundSchema).optional(), + domainAuthCodes: z.array(ACLAction$outboundSchema).optional(), + domainCertificate: z.array(ACLAction$outboundSchema).optional(), + domainCheckConfig: z.array(ACLAction$outboundSchema).optional(), + domainMove: z.array(ACLAction$outboundSchema).optional(), + domainPurchase: z.array(ACLAction$outboundSchema).optional(), + domainRecord: z.array(ACLAction$outboundSchema).optional(), + domainTransferIn: z.array(ACLAction$outboundSchema).optional(), + event: z.array(ACLAction$outboundSchema).optional(), + ownEvent: z.array(ACLAction$outboundSchema).optional(), + sensitiveEnvironmentVariablePolicy: z.array(ACLAction$outboundSchema) + .optional(), + fileUpload: z.array(ACLAction$outboundSchema).optional(), + gitRepository: z.array(ACLAction$outboundSchema).optional(), + ipBlocking: z.array(ACLAction$outboundSchema).optional(), + integration: z.array(ACLAction$outboundSchema).optional(), + integrationAccount: z.array(ACLAction$outboundSchema).optional(), + integrationConfiguration: z.array(ACLAction$outboundSchema).optional(), + integrationConfigurationTransfer: z.array(ACLAction$outboundSchema) + .optional(), + integrationConfigurationProjects: z.array(ACLAction$outboundSchema) + .optional(), + integrationVercelConfigurationOverride: z.array(ACLAction$outboundSchema) + .optional(), + integrationConfigurationRole: z.array(ACLAction$outboundSchema).optional(), + integrationResource: z.array(ACLAction$outboundSchema).optional(), + integrationEvent: z.array(ACLAction$outboundSchema).optional(), + integrationResourceSecrets: z.array(ACLAction$outboundSchema).optional(), + integrationDeploymentAction: z.array(ACLAction$outboundSchema).optional(), + marketplaceInstallationMember: z.array(ACLAction$outboundSchema).optional(), + marketplaceBillingData: z.array(ACLAction$outboundSchema).optional(), + marketplaceInvoice: z.array(ACLAction$outboundSchema).optional(), + jobGlobal: z.array(ACLAction$outboundSchema).optional(), + logDrain: z.array(ACLAction$outboundSchema).optional(), + monitoring: z.array(ACLAction$outboundSchema).optional(), + monitoringSettings: z.array(ACLAction$outboundSchema).optional(), + monitoringQuery: z.array(ACLAction$outboundSchema).optional(), + monitoringChart: z.array(ACLAction$outboundSchema).optional(), + monitoringAlert: z.array(ACLAction$outboundSchema).optional(), + notificationDeploymentFailed: z.array(ACLAction$outboundSchema).optional(), + notificationDomainConfiguration: z.array(ACLAction$outboundSchema).optional(), + notificationDomainExpire: z.array(ACLAction$outboundSchema).optional(), + notificationDomainMoved: z.array(ACLAction$outboundSchema).optional(), + notificationDomainPurchase: z.array(ACLAction$outboundSchema).optional(), + notificationDomainRenewal: z.array(ACLAction$outboundSchema).optional(), + notificationDomainTransfer: z.array(ACLAction$outboundSchema).optional(), + notificationDomainUnverified: z.array(ACLAction$outboundSchema).optional(), + notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(), + notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(), + notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(), + notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), + notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(), + oauth2Connection: z.array(ACLAction$outboundSchema).optional(), + observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(), + openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(), + paymentMethod: z.array(ACLAction$outboundSchema).optional(), + permissions: z.array(ACLAction$outboundSchema).optional(), + postgres: z.array(ACLAction$outboundSchema).optional(), + previewDeploymentSuffix: z.array(ACLAction$outboundSchema).optional(), + proTrialOnboarding: z.array(ACLAction$outboundSchema).optional(), + sharedEnvVars: z.array(ACLAction$outboundSchema).optional(), + sharedEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(), + space: z.array(ACLAction$outboundSchema).optional(), + spaceRun: z.array(ACLAction$outboundSchema).optional(), + passwordProtectionInvoiceItem: z.array(ACLAction$outboundSchema).optional(), + rateLimit: z.array(ACLAction$outboundSchema).optional(), + redis: z.array(ACLAction$outboundSchema).optional(), + repository: z.array(ACLAction$outboundSchema).optional(), + remoteCaching: z.array(ACLAction$outboundSchema).optional(), + samlConfig: z.array(ACLAction$outboundSchema).optional(), + secret: z.array(ACLAction$outboundSchema).optional(), + redisStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + blobStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + postgresStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + integrationStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + integrationResourceReplCommand: z.array(ACLAction$outboundSchema).optional(), + storeTransfer: z.array(ACLAction$outboundSchema).optional(), + supportCase: z.array(ACLAction$outboundSchema).optional(), + supportCaseComment: z.array(ACLAction$outboundSchema).optional(), + dataCacheBillingSettings: z.array(ACLAction$outboundSchema).optional(), + team: z.array(ACLAction$outboundSchema).optional(), + teamAccessRequest: z.array(ACLAction$outboundSchema).optional(), + teamFellowMembership: z.array(ACLAction$outboundSchema).optional(), + teamGitExclusivity: z.array(ACLAction$outboundSchema).optional(), + teamInvite: z.array(ACLAction$outboundSchema).optional(), + teamInviteCode: z.array(ACLAction$outboundSchema).optional(), + teamJoin: z.array(ACLAction$outboundSchema).optional(), + teamMicrofrontends: z.array(ACLAction$outboundSchema).optional(), + teamOwnMembership: z.array(ACLAction$outboundSchema).optional(), + teamOwnMembershipDisconnectSAML: z.array(ACLAction$outboundSchema).optional(), + token: z.array(ACLAction$outboundSchema).optional(), + usage: z.array(ACLAction$outboundSchema).optional(), + usageCycle: z.array(ACLAction$outboundSchema).optional(), + user: z.array(ACLAction$outboundSchema).optional(), + userConnection: z.array(ACLAction$outboundSchema).optional(), + vpcPeeringConnection: z.array(ACLAction$outboundSchema).optional(), + webAnalyticsPlan: z.array(ACLAction$outboundSchema).optional(), + webAuthn: z.array(ACLAction$outboundSchema).optional(), + edgeConfig: z.array(ACLAction$outboundSchema).optional(), + edgeConfigItem: z.array(ACLAction$outboundSchema).optional(), + edgeConfigSchema: z.array(ACLAction$outboundSchema).optional(), + edgeConfigToken: z.array(ACLAction$outboundSchema).optional(), + webhook: z.array(ACLAction$outboundSchema).optional(), + webhookEvent: z.array(ACLAction$outboundSchema).optional(), + endpointVerification: z.array(ACLAction$outboundSchema).optional(), + projectTransferIn: z.array(ACLAction$outboundSchema).optional(), + oauth2Application: z.array(ACLAction$outboundSchema).optional(), + aliasProject: z.array(ACLAction$outboundSchema).optional(), + aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), + productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), + connectConfigurationLink: z.array(ACLAction$outboundSchema).optional(), + dataCacheNamespace: z.array(ACLAction$outboundSchema).optional(), + deployment: z.array(ACLAction$outboundSchema).optional(), + deploymentCheck: z.array(ACLAction$outboundSchema).optional(), + deploymentCheckPreview: z.array(ACLAction$outboundSchema).optional(), + deploymentCheckReRunFromProductionBranch: z.array(ACLAction$outboundSchema) + .optional(), + deploymentProductionGit: z.array(ACLAction$outboundSchema).optional(), + deploymentV0: z.array(ACLAction$outboundSchema).optional(), + deploymentPreview: z.array(ACLAction$outboundSchema).optional(), + deploymentPrivate: z.array(ACLAction$outboundSchema).optional(), + deploymentPromote: z.array(ACLAction$outboundSchema).optional(), + deploymentRollback: z.array(ACLAction$outboundSchema).optional(), + environments: z.array(ACLAction$outboundSchema).optional(), + logs: z.array(ACLAction$outboundSchema).optional(), + logsPreset: z.array(ACLAction$outboundSchema).optional(), + passwordProtection: z.array(ACLAction$outboundSchema).optional(), + optionsAllowlist: z.array(ACLAction$outboundSchema).optional(), + job: z.array(ACLAction$outboundSchema).optional(), + observabilityData: z.array(ACLAction$outboundSchema).optional(), + project: z.array(ACLAction$outboundSchema).optional(), + projectFromV0: z.array(ACLAction$outboundSchema).optional(), + projectAccessGroup: z.array(ACLAction$outboundSchema).optional(), + projectAnalyticsSampling: z.array(ACLAction$outboundSchema).optional(), + projectDeploymentHook: z.array(ACLAction$outboundSchema).optional(), + projectDomain: z.array(ACLAction$outboundSchema).optional(), + projectDomainMove: z.array(ACLAction$outboundSchema).optional(), + projectDomainCheckConfig: z.array(ACLAction$outboundSchema).optional(), + projectEnvVars: z.array(ACLAction$outboundSchema).optional(), + projectEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(), + projectEnvVarsUnownedByIntegration: z.array(ACLAction$outboundSchema) + .optional(), + projectFlags: z.array(ACLAction$outboundSchema).optional(), + projectId: z.array(ACLAction$outboundSchema).optional(), + projectIntegrationConfiguration: z.array(ACLAction$outboundSchema).optional(), + projectLink: z.array(ACLAction$outboundSchema).optional(), + projectMember: z.array(ACLAction$outboundSchema).optional(), + projectMonitoring: z.array(ACLAction$outboundSchema).optional(), + projectPermissions: z.array(ACLAction$outboundSchema).optional(), + projectProductionBranch: z.array(ACLAction$outboundSchema).optional(), + projectTransfer: z.array(ACLAction$outboundSchema).optional(), + projectTransferOut: z.array(ACLAction$outboundSchema).optional(), + projectProtectionBypass: z.array(ACLAction$outboundSchema).optional(), + projectUsage: z.array(ACLAction$outboundSchema).optional(), + projectAnalyticsUsage: z.array(ACLAction$outboundSchema).optional(), + projectSupportCase: z.array(ACLAction$outboundSchema).optional(), + projectSupportCaseComment: z.array(ACLAction$outboundSchema).optional(), + projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(), + projectTier: z.array(ACLAction$outboundSchema).optional(), + seawallConfig: z.array(ACLAction$outboundSchema).optional(), + skewProtection: z.array(ACLAction$outboundSchema).optional(), + analytics: z.array(ACLAction$outboundSchema).optional(), + trustedIps: z.array(ACLAction$outboundSchema).optional(), + webAnalytics: z.array(ACLAction$outboundSchema).optional(), + sharedEnvVarConnection: z.array(ACLAction$outboundSchema).optional(), + sonar: z.array(ACLAction$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + monitoring: "Monitoring", + notificationMonitoringAlert: "NotificationMonitoringAlert", + webhookEvent: "webhook-event", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectPermissions$ { + /** @deprecated use `UpdateProjectPermissions$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectPermissions$inboundSchema; + /** @deprecated use `UpdateProjectPermissions$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectPermissions$outboundSchema; + /** @deprecated use `UpdateProjectPermissions$Outbound` instead. */ + export type Outbound = UpdateProjectPermissions$Outbound; +} + +export function updateProjectPermissionsToJSON( + updateProjectPermissions: UpdateProjectPermissions, +): string { + return JSON.stringify( + UpdateProjectPermissions$outboundSchema.parse(updateProjectPermissions), + ); +} + +export function updateProjectPermissionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectPermissions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectPermissions' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectLastRollbackTarget$inboundSchema: z.ZodType< + UpdateProjectLastRollbackTarget, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type UpdateProjectLastRollbackTarget$Outbound = {}; + +/** @internal */ +export const UpdateProjectLastRollbackTarget$outboundSchema: z.ZodType< + UpdateProjectLastRollbackTarget$Outbound, + z.ZodTypeDef, + UpdateProjectLastRollbackTarget +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectLastRollbackTarget$ { + /** @deprecated use `UpdateProjectLastRollbackTarget$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectLastRollbackTarget$inboundSchema; + /** @deprecated use `UpdateProjectLastRollbackTarget$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectLastRollbackTarget$outboundSchema; + /** @deprecated use `UpdateProjectLastRollbackTarget$Outbound` instead. */ + export type Outbound = UpdateProjectLastRollbackTarget$Outbound; +} + +export function updateProjectLastRollbackTargetToJSON( + updateProjectLastRollbackTarget: UpdateProjectLastRollbackTarget, +): string { + return JSON.stringify( + UpdateProjectLastRollbackTarget$outboundSchema.parse( + updateProjectLastRollbackTarget, + ), + ); +} + +export function updateProjectLastRollbackTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectLastRollbackTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectLastRollbackTarget' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectJobStatus$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectJobStatus +> = z.nativeEnum(UpdateProjectJobStatus); + +/** @internal */ +export const UpdateProjectJobStatus$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectJobStatus +> = UpdateProjectJobStatus$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectJobStatus$ { + /** @deprecated use `UpdateProjectJobStatus$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectJobStatus$inboundSchema; + /** @deprecated use `UpdateProjectJobStatus$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectJobStatus$outboundSchema; +} + +/** @internal */ +export const UpdateProjectProjectsResponse200Type$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateProjectProjectsResponse200Type, + ); + +/** @internal */ +export const UpdateProjectProjectsResponse200Type$outboundSchema: + z.ZodNativeEnum = + UpdateProjectProjectsResponse200Type$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsResponse200Type$ { + /** @deprecated use `UpdateProjectProjectsResponse200Type$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectProjectsResponse200Type$inboundSchema; + /** @deprecated use `UpdateProjectProjectsResponse200Type$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProjectsResponse200Type$outboundSchema; +} + +/** @internal */ +export const UpdateProjectLastAliasRequest$inboundSchema: z.ZodType< + UpdateProjectLastAliasRequest, + z.ZodTypeDef, + unknown +> = z.object({ + fromDeploymentId: z.string(), + toDeploymentId: z.string(), + jobStatus: UpdateProjectJobStatus$inboundSchema, + requestedAt: z.number(), + type: UpdateProjectProjectsResponse200Type$inboundSchema, +}); + +/** @internal */ +export type UpdateProjectLastAliasRequest$Outbound = { + fromDeploymentId: string; + toDeploymentId: string; + jobStatus: string; + requestedAt: number; + type: string; +}; + +/** @internal */ +export const UpdateProjectLastAliasRequest$outboundSchema: z.ZodType< + UpdateProjectLastAliasRequest$Outbound, + z.ZodTypeDef, + UpdateProjectLastAliasRequest +> = z.object({ + fromDeploymentId: z.string(), + toDeploymentId: z.string(), + jobStatus: UpdateProjectJobStatus$outboundSchema, + requestedAt: z.number(), + type: UpdateProjectProjectsResponse200Type$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectLastAliasRequest$ { + /** @deprecated use `UpdateProjectLastAliasRequest$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectLastAliasRequest$inboundSchema; + /** @deprecated use `UpdateProjectLastAliasRequest$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectLastAliasRequest$outboundSchema; + /** @deprecated use `UpdateProjectLastAliasRequest$Outbound` instead. */ + export type Outbound = UpdateProjectLastAliasRequest$Outbound; +} + +export function updateProjectLastAliasRequestToJSON( + updateProjectLastAliasRequest: UpdateProjectLastAliasRequest, +): string { + return JSON.stringify( + UpdateProjectLastAliasRequest$outboundSchema.parse( + updateProjectLastAliasRequest, + ), + ); +} + +export function updateProjectLastAliasRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectLastAliasRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectLastAliasRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectScope$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectScope +> = z.nativeEnum(UpdateProjectScope); + +/** @internal */ +export const UpdateProjectScope$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectScope +> = UpdateProjectScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectScope$ { + /** @deprecated use `UpdateProjectScope$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectScope$inboundSchema; + /** @deprecated use `UpdateProjectScope$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectScope$outboundSchema; +} + +/** @internal */ +export const UpdateProjectProtectionBypass$inboundSchema: z.ZodType< + UpdateProjectProtectionBypass, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: UpdateProjectScope$inboundSchema, +}); + +/** @internal */ +export type UpdateProjectProtectionBypass$Outbound = { + createdAt: number; + createdBy: string; + scope: string; +}; + +/** @internal */ +export const UpdateProjectProtectionBypass$outboundSchema: z.ZodType< + UpdateProjectProtectionBypass$Outbound, + z.ZodTypeDef, + UpdateProjectProtectionBypass +> = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: UpdateProjectScope$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProtectionBypass$ { + /** @deprecated use `UpdateProjectProtectionBypass$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProtectionBypass$inboundSchema; + /** @deprecated use `UpdateProjectProtectionBypass$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectProtectionBypass$outboundSchema; + /** @deprecated use `UpdateProjectProtectionBypass$Outbound` instead. */ + export type Outbound = UpdateProjectProtectionBypass$Outbound; +} + +export function updateProjectProtectionBypassToJSON( + updateProjectProtectionBypass: UpdateProjectProtectionBypass, +): string { + return JSON.stringify( + UpdateProjectProtectionBypass$outboundSchema.parse( + updateProjectProtectionBypass, + ), + ); +} + +export function updateProjectProtectionBypassFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectProtectionBypass$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectProtectionBypass' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectTrustedIpsProjectsDeploymentType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateProjectTrustedIpsProjectsDeploymentType); + +/** @internal */ +export const UpdateProjectTrustedIpsProjectsDeploymentType$outboundSchema: + z.ZodNativeEnum = + UpdateProjectTrustedIpsProjectsDeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectTrustedIpsProjectsDeploymentType$ { + /** @deprecated use `UpdateProjectTrustedIpsProjectsDeploymentType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectTrustedIpsProjectsDeploymentType$inboundSchema; + /** @deprecated use `UpdateProjectTrustedIpsProjectsDeploymentType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectTrustedIpsProjectsDeploymentType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectTrustedIps2$inboundSchema: z.ZodType< + UpdateProjectTrustedIps2, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentType: UpdateProjectTrustedIpsProjectsDeploymentType$inboundSchema, +}); + +/** @internal */ +export type UpdateProjectTrustedIps2$Outbound = { + deploymentType: string; +}; + +/** @internal */ +export const UpdateProjectTrustedIps2$outboundSchema: z.ZodType< + UpdateProjectTrustedIps2$Outbound, + z.ZodTypeDef, + UpdateProjectTrustedIps2 +> = z.object({ + deploymentType: UpdateProjectTrustedIpsProjectsDeploymentType$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectTrustedIps2$ { + /** @deprecated use `UpdateProjectTrustedIps2$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectTrustedIps2$inboundSchema; + /** @deprecated use `UpdateProjectTrustedIps2$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectTrustedIps2$outboundSchema; + /** @deprecated use `UpdateProjectTrustedIps2$Outbound` instead. */ + export type Outbound = UpdateProjectTrustedIps2$Outbound; +} + +export function updateProjectTrustedIps2ToJSON( + updateProjectTrustedIps2: UpdateProjectTrustedIps2, +): string { + return JSON.stringify( + UpdateProjectTrustedIps2$outboundSchema.parse(updateProjectTrustedIps2), + ); +} + +export function updateProjectTrustedIps2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectTrustedIps2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectTrustedIps2' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectTrustedIpsDeploymentType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateProjectTrustedIpsDeploymentType, + ); + +/** @internal */ +export const UpdateProjectTrustedIpsDeploymentType$outboundSchema: + z.ZodNativeEnum = + UpdateProjectTrustedIpsDeploymentType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectTrustedIpsDeploymentType$ { + /** @deprecated use `UpdateProjectTrustedIpsDeploymentType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectTrustedIpsDeploymentType$inboundSchema; + /** @deprecated use `UpdateProjectTrustedIpsDeploymentType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectTrustedIpsDeploymentType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectTrustedIpsAddresses$inboundSchema: z.ZodType< + UpdateProjectTrustedIpsAddresses, + z.ZodTypeDef, + unknown +> = z.object({ + value: z.string(), + note: z.string().optional(), +}); + +/** @internal */ +export type UpdateProjectTrustedIpsAddresses$Outbound = { + value: string; + note?: string | undefined; +}; + +/** @internal */ +export const UpdateProjectTrustedIpsAddresses$outboundSchema: z.ZodType< + UpdateProjectTrustedIpsAddresses$Outbound, + z.ZodTypeDef, + UpdateProjectTrustedIpsAddresses +> = z.object({ + value: z.string(), + note: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectTrustedIpsAddresses$ { + /** @deprecated use `UpdateProjectTrustedIpsAddresses$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectTrustedIpsAddresses$inboundSchema; + /** @deprecated use `UpdateProjectTrustedIpsAddresses$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectTrustedIpsAddresses$outboundSchema; + /** @deprecated use `UpdateProjectTrustedIpsAddresses$Outbound` instead. */ + export type Outbound = UpdateProjectTrustedIpsAddresses$Outbound; +} + +export function updateProjectTrustedIpsAddressesToJSON( + updateProjectTrustedIpsAddresses: UpdateProjectTrustedIpsAddresses, +): string { + return JSON.stringify( + UpdateProjectTrustedIpsAddresses$outboundSchema.parse( + updateProjectTrustedIpsAddresses, + ), + ); +} + +export function updateProjectTrustedIpsAddressesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectTrustedIpsAddresses$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectTrustedIpsAddresses' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectTrustedIpsProtectionMode$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateProjectTrustedIpsProtectionMode, + ); + +/** @internal */ +export const UpdateProjectTrustedIpsProtectionMode$outboundSchema: + z.ZodNativeEnum = + UpdateProjectTrustedIpsProtectionMode$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectTrustedIpsProtectionMode$ { + /** @deprecated use `UpdateProjectTrustedIpsProtectionMode$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectTrustedIpsProtectionMode$inboundSchema; + /** @deprecated use `UpdateProjectTrustedIpsProtectionMode$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectTrustedIpsProtectionMode$outboundSchema; +} + +/** @internal */ +export const UpdateProjectTrustedIps1$inboundSchema: z.ZodType< + UpdateProjectTrustedIps1, + z.ZodTypeDef, + unknown +> = z.object({ + deploymentType: UpdateProjectTrustedIpsDeploymentType$inboundSchema, + addresses: z.array( + z.lazy(() => UpdateProjectTrustedIpsAddresses$inboundSchema), + ), + protectionMode: UpdateProjectTrustedIpsProtectionMode$inboundSchema, +}); + +/** @internal */ +export type UpdateProjectTrustedIps1$Outbound = { + deploymentType: string; + addresses: Array; + protectionMode: string; +}; + +/** @internal */ +export const UpdateProjectTrustedIps1$outboundSchema: z.ZodType< + UpdateProjectTrustedIps1$Outbound, + z.ZodTypeDef, + UpdateProjectTrustedIps1 +> = z.object({ + deploymentType: UpdateProjectTrustedIpsDeploymentType$outboundSchema, + addresses: z.array( + z.lazy(() => UpdateProjectTrustedIpsAddresses$outboundSchema), + ), + protectionMode: UpdateProjectTrustedIpsProtectionMode$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectTrustedIps1$ { + /** @deprecated use `UpdateProjectTrustedIps1$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectTrustedIps1$inboundSchema; + /** @deprecated use `UpdateProjectTrustedIps1$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectTrustedIps1$outboundSchema; + /** @deprecated use `UpdateProjectTrustedIps1$Outbound` instead. */ + export type Outbound = UpdateProjectTrustedIps1$Outbound; +} + +export function updateProjectTrustedIps1ToJSON( + updateProjectTrustedIps1: UpdateProjectTrustedIps1, +): string { + return JSON.stringify( + UpdateProjectTrustedIps1$outboundSchema.parse(updateProjectTrustedIps1), + ); +} + +export function updateProjectTrustedIps1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectTrustedIps1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectTrustedIps1' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectTrustedIps$inboundSchema: z.ZodType< + UpdateProjectTrustedIps, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateProjectTrustedIps2$inboundSchema), + z.lazy(() => UpdateProjectTrustedIps1$inboundSchema), +]); + +/** @internal */ +export type UpdateProjectTrustedIps$Outbound = + | UpdateProjectTrustedIps2$Outbound + | UpdateProjectTrustedIps1$Outbound; + +/** @internal */ +export const UpdateProjectTrustedIps$outboundSchema: z.ZodType< + UpdateProjectTrustedIps$Outbound, + z.ZodTypeDef, + UpdateProjectTrustedIps +> = z.union([ + z.lazy(() => UpdateProjectTrustedIps2$outboundSchema), + z.lazy(() => UpdateProjectTrustedIps1$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectTrustedIps$ { + /** @deprecated use `UpdateProjectTrustedIps$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectTrustedIps$inboundSchema; + /** @deprecated use `UpdateProjectTrustedIps$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectTrustedIps$outboundSchema; + /** @deprecated use `UpdateProjectTrustedIps$Outbound` instead. */ + export type Outbound = UpdateProjectTrustedIps$Outbound; +} + +export function updateProjectTrustedIpsToJSON( + updateProjectTrustedIps: UpdateProjectTrustedIps, +): string { + return JSON.stringify( + UpdateProjectTrustedIps$outboundSchema.parse(updateProjectTrustedIps), + ); +} + +export function updateProjectTrustedIpsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectTrustedIps$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectTrustedIps' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectGitComments$inboundSchema: z.ZodType< + UpdateProjectGitComments, + z.ZodTypeDef, + unknown +> = z.object({ + onPullRequest: z.boolean(), + onCommit: z.boolean(), +}); + +/** @internal */ +export type UpdateProjectGitComments$Outbound = { + onPullRequest: boolean; + onCommit: boolean; +}; + +/** @internal */ +export const UpdateProjectGitComments$outboundSchema: z.ZodType< + UpdateProjectGitComments$Outbound, + z.ZodTypeDef, + UpdateProjectGitComments +> = z.object({ + onPullRequest: z.boolean(), + onCommit: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectGitComments$ { + /** @deprecated use `UpdateProjectGitComments$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectGitComments$inboundSchema; + /** @deprecated use `UpdateProjectGitComments$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectGitComments$outboundSchema; + /** @deprecated use `UpdateProjectGitComments$Outbound` instead. */ + export type Outbound = UpdateProjectGitComments$Outbound; +} + +export function updateProjectGitCommentsToJSON( + updateProjectGitComments: UpdateProjectGitComments, +): string { + return JSON.stringify( + UpdateProjectGitComments$outboundSchema.parse(updateProjectGitComments), + ); +} + +export function updateProjectGitCommentsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectGitComments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectGitComments' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectWebAnalytics$inboundSchema: z.ZodType< + UpdateProjectWebAnalytics, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), +}); + +/** @internal */ +export type UpdateProjectWebAnalytics$Outbound = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; +}; + +/** @internal */ +export const UpdateProjectWebAnalytics$outboundSchema: z.ZodType< + UpdateProjectWebAnalytics$Outbound, + z.ZodTypeDef, + UpdateProjectWebAnalytics +> = z.object({ + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectWebAnalytics$ { + /** @deprecated use `UpdateProjectWebAnalytics$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectWebAnalytics$inboundSchema; + /** @deprecated use `UpdateProjectWebAnalytics$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectWebAnalytics$outboundSchema; + /** @deprecated use `UpdateProjectWebAnalytics$Outbound` instead. */ + export type Outbound = UpdateProjectWebAnalytics$Outbound; +} + +export function updateProjectWebAnalyticsToJSON( + updateProjectWebAnalytics: UpdateProjectWebAnalytics, +): string { + return JSON.stringify( + UpdateProjectWebAnalytics$outboundSchema.parse(updateProjectWebAnalytics), + ); +} + +export function updateProjectWebAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectWebAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectWebAnalytics' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectSrc2$inboundSchema: z.ZodType< + UpdateProjectSrc2, + z.ZodTypeDef, + unknown +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** @internal */ +export type UpdateProjectSrc2$Outbound = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +/** @internal */ +export const UpdateProjectSrc2$outboundSchema: z.ZodType< + UpdateProjectSrc2$Outbound, + z.ZodTypeDef, + UpdateProjectSrc2 +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectSrc2$ { + /** @deprecated use `UpdateProjectSrc2$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectSrc2$inboundSchema; + /** @deprecated use `UpdateProjectSrc2$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectSrc2$outboundSchema; + /** @deprecated use `UpdateProjectSrc2$Outbound` instead. */ + export type Outbound = UpdateProjectSrc2$Outbound; +} + +export function updateProjectSrc2ToJSON( + updateProjectSrc2: UpdateProjectSrc2, +): string { + return JSON.stringify( + UpdateProjectSrc2$outboundSchema.parse(updateProjectSrc2), + ); +} + +export function updateProjectSrc2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectSrc2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectSrc2' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectSrc$inboundSchema: z.ZodType< + UpdateProjectSrc, + z.ZodTypeDef, + unknown +> = z.union([z.lazy(() => UpdateProjectSrc2$inboundSchema), z.string()]); + +/** @internal */ +export type UpdateProjectSrc$Outbound = UpdateProjectSrc2$Outbound | string; + +/** @internal */ +export const UpdateProjectSrc$outboundSchema: z.ZodType< + UpdateProjectSrc$Outbound, + z.ZodTypeDef, + UpdateProjectSrc +> = z.union([z.lazy(() => UpdateProjectSrc2$outboundSchema), z.string()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectSrc$ { + /** @deprecated use `UpdateProjectSrc$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectSrc$inboundSchema; + /** @deprecated use `UpdateProjectSrc$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectSrc$outboundSchema; + /** @deprecated use `UpdateProjectSrc$Outbound` instead. */ + export type Outbound = UpdateProjectSrc$Outbound; +} + +export function updateProjectSrcToJSON( + updateProjectSrc: UpdateProjectSrc, +): string { + return JSON.stringify( + UpdateProjectSrc$outboundSchema.parse(updateProjectSrc), + ); +} + +export function updateProjectSrcFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectSrc$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectSrc' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType + > = z.nativeEnum( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType, + ); + +/** @internal */ +export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType + > = + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$ { + /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema; + /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectValue2$inboundSchema: z.ZodType< + UpdateProjectValue2, + z.ZodTypeDef, + unknown +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** @internal */ +export type UpdateProjectValue2$Outbound = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +/** @internal */ +export const UpdateProjectValue2$outboundSchema: z.ZodType< + UpdateProjectValue2$Outbound, + z.ZodTypeDef, + UpdateProjectValue2 +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectValue2$ { + /** @deprecated use `UpdateProjectValue2$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectValue2$inboundSchema; + /** @deprecated use `UpdateProjectValue2$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectValue2$outboundSchema; + /** @deprecated use `UpdateProjectValue2$Outbound` instead. */ + export type Outbound = UpdateProjectValue2$Outbound; +} + +export function updateProjectValue2ToJSON( + updateProjectValue2: UpdateProjectValue2, +): string { + return JSON.stringify( + UpdateProjectValue2$outboundSchema.parse(updateProjectValue2), + ); +} + +export function updateProjectValue2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectValue2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectValue2' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectValue$inboundSchema: z.ZodType< + UpdateProjectValue, + z.ZodTypeDef, + unknown +> = z.union([z.lazy(() => UpdateProjectValue2$inboundSchema), z.string()]); + +/** @internal */ +export type UpdateProjectValue$Outbound = UpdateProjectValue2$Outbound | string; + +/** @internal */ +export const UpdateProjectValue$outboundSchema: z.ZodType< + UpdateProjectValue$Outbound, + z.ZodTypeDef, + UpdateProjectValue +> = z.union([z.lazy(() => UpdateProjectValue2$outboundSchema), z.string()]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectValue$ { + /** @deprecated use `UpdateProjectValue$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectValue$inboundSchema; + /** @deprecated use `UpdateProjectValue$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectValue$outboundSchema; + /** @deprecated use `UpdateProjectValue$Outbound` instead. */ + export type Outbound = UpdateProjectValue$Outbound; +} + +export function updateProjectValueToJSON( + updateProjectValue: UpdateProjectValue, +): string { + return JSON.stringify( + UpdateProjectValue$outboundSchema.parse(updateProjectValue), + ); +} + +export function updateProjectValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectValue' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectHas$inboundSchema: z.ZodType< + UpdateProjectHas, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema, + key: z.string().optional(), + value: z.union([z.lazy(() => UpdateProjectValue2$inboundSchema), z.string()]) + .optional(), +}); + +/** @internal */ +export type UpdateProjectHas$Outbound = { + type: string; + key?: string | undefined; + value?: UpdateProjectValue2$Outbound | string | undefined; +}; + +/** @internal */ +export const UpdateProjectHas$outboundSchema: z.ZodType< + UpdateProjectHas$Outbound, + z.ZodTypeDef, + UpdateProjectHas +> = z.object({ + type: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema, + key: z.string().optional(), + value: z.union([z.lazy(() => UpdateProjectValue2$outboundSchema), z.string()]) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectHas$ { + /** @deprecated use `UpdateProjectHas$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectHas$inboundSchema; + /** @deprecated use `UpdateProjectHas$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectHas$outboundSchema; + /** @deprecated use `UpdateProjectHas$Outbound` instead. */ + export type Outbound = UpdateProjectHas$Outbound; +} + +export function updateProjectHasToJSON( + updateProjectHas: UpdateProjectHas, +): string { + return JSON.stringify( + UpdateProjectHas$outboundSchema.parse(updateProjectHas), + ); +} + +export function updateProjectHasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectHas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectHas' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType + > = z.nativeEnum( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType, + ); + +/** @internal */ +export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType + > = + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$ { + /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema; + /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema; +} + +/** @internal */ +export const UpdateProjectValueProjects2$inboundSchema: z.ZodType< + UpdateProjectValueProjects2, + z.ZodTypeDef, + unknown +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** @internal */ +export type UpdateProjectValueProjects2$Outbound = { + re?: string | undefined; + eq?: string | undefined; + neq?: string | undefined; + inc?: Array | undefined; + ninc?: Array | undefined; + pre?: string | undefined; + suf?: string | undefined; + gt?: number | undefined; + gte?: number | undefined; + lt?: number | undefined; + lte?: number | undefined; +}; + +/** @internal */ +export const UpdateProjectValueProjects2$outboundSchema: z.ZodType< + UpdateProjectValueProjects2$Outbound, + z.ZodTypeDef, + UpdateProjectValueProjects2 +> = z.object({ + re: z.string().optional(), + eq: z.string().optional(), + neq: z.string().optional(), + inc: z.array(z.string()).optional(), + ninc: z.array(z.string()).optional(), + pre: z.string().optional(), + suf: z.string().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + lt: z.number().optional(), + lte: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectValueProjects2$ { + /** @deprecated use `UpdateProjectValueProjects2$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectValueProjects2$inboundSchema; + /** @deprecated use `UpdateProjectValueProjects2$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectValueProjects2$outboundSchema; + /** @deprecated use `UpdateProjectValueProjects2$Outbound` instead. */ + export type Outbound = UpdateProjectValueProjects2$Outbound; +} + +export function updateProjectValueProjects2ToJSON( + updateProjectValueProjects2: UpdateProjectValueProjects2, +): string { + return JSON.stringify( + UpdateProjectValueProjects2$outboundSchema.parse( + updateProjectValueProjects2, + ), + ); +} + +export function updateProjectValueProjects2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectValueProjects2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectValueProjects2' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsValue$inboundSchema: z.ZodType< + UpdateProjectProjectsValue, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateProjectValueProjects2$inboundSchema), + z.string(), +]); + +/** @internal */ +export type UpdateProjectProjectsValue$Outbound = + | UpdateProjectValueProjects2$Outbound + | string; + +/** @internal */ +export const UpdateProjectProjectsValue$outboundSchema: z.ZodType< + UpdateProjectProjectsValue$Outbound, + z.ZodTypeDef, + UpdateProjectProjectsValue +> = z.union([ + z.lazy(() => UpdateProjectValueProjects2$outboundSchema), + z.string(), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsValue$ { + /** @deprecated use `UpdateProjectProjectsValue$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProjectsValue$inboundSchema; + /** @deprecated use `UpdateProjectProjectsValue$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectProjectsValue$outboundSchema; + /** @deprecated use `UpdateProjectProjectsValue$Outbound` instead. */ + export type Outbound = UpdateProjectProjectsValue$Outbound; +} + +export function updateProjectProjectsValueToJSON( + updateProjectProjectsValue: UpdateProjectProjectsValue, +): string { + return JSON.stringify( + UpdateProjectProjectsValue$outboundSchema.parse(updateProjectProjectsValue), + ); +} + +export function updateProjectProjectsValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectProjectsValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectProjectsValue' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectMissing$inboundSchema: z.ZodType< + UpdateProjectMissing, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema, + key: z.string().optional(), + value: z.union([ + z.lazy(() => UpdateProjectValueProjects2$inboundSchema), + z.string(), + ]).optional(), +}); + +/** @internal */ +export type UpdateProjectMissing$Outbound = { + type: string; + key?: string | undefined; + value?: UpdateProjectValueProjects2$Outbound | string | undefined; +}; + +/** @internal */ +export const UpdateProjectMissing$outboundSchema: z.ZodType< + UpdateProjectMissing$Outbound, + z.ZodTypeDef, + UpdateProjectMissing +> = z.object({ + type: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema, + key: z.string().optional(), + value: z.union([ + z.lazy(() => UpdateProjectValueProjects2$outboundSchema), + z.string(), + ]).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectMissing$ { + /** @deprecated use `UpdateProjectMissing$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectMissing$inboundSchema; + /** @deprecated use `UpdateProjectMissing$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectMissing$outboundSchema; + /** @deprecated use `UpdateProjectMissing$Outbound` instead. */ + export type Outbound = UpdateProjectMissing$Outbound; +} + +export function updateProjectMissingToJSON( + updateProjectMissing: UpdateProjectMissing, +): string { + return JSON.stringify( + UpdateProjectMissing$outboundSchema.parse(updateProjectMissing), + ); +} + +export function updateProjectMissingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectMissing$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectMissing' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectHandle$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectHandle +> = z.nativeEnum(UpdateProjectHandle); + +/** @internal */ +export const UpdateProjectHandle$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectHandle +> = UpdateProjectHandle$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectHandle$ { + /** @deprecated use `UpdateProjectHandle$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectHandle$inboundSchema; + /** @deprecated use `UpdateProjectHandle$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectHandle$outboundSchema; +} + +/** @internal */ +export const UpdateProjectAction$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectAction +> = z.nativeEnum(UpdateProjectAction); + +/** @internal */ +export const UpdateProjectAction$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectAction +> = UpdateProjectAction$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectAction$ { + /** @deprecated use `UpdateProjectAction$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectAction$inboundSchema; + /** @deprecated use `UpdateProjectAction$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectAction$outboundSchema; +} + +/** @internal */ +export const UpdateProjectAlgo$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectAlgo +> = z.nativeEnum(UpdateProjectAlgo); + +/** @internal */ +export const UpdateProjectAlgo$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectAlgo +> = UpdateProjectAlgo$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectAlgo$ { + /** @deprecated use `UpdateProjectAlgo$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectAlgo$inboundSchema; + /** @deprecated use `UpdateProjectAlgo$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectAlgo$outboundSchema; +} + +/** @internal */ +export const UpdateProjectErl$inboundSchema: z.ZodType< + UpdateProjectErl, + z.ZodTypeDef, + unknown +> = z.object({ + algo: UpdateProjectAlgo$inboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), +}); + +/** @internal */ +export type UpdateProjectErl$Outbound = { + algo: string; + window: number; + limit: number; + keys: Array; +}; + +/** @internal */ +export const UpdateProjectErl$outboundSchema: z.ZodType< + UpdateProjectErl$Outbound, + z.ZodTypeDef, + UpdateProjectErl +> = z.object({ + algo: UpdateProjectAlgo$outboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectErl$ { + /** @deprecated use `UpdateProjectErl$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectErl$inboundSchema; + /** @deprecated use `UpdateProjectErl$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectErl$outboundSchema; + /** @deprecated use `UpdateProjectErl$Outbound` instead. */ + export type Outbound = UpdateProjectErl$Outbound; +} + +export function updateProjectErlToJSON( + updateProjectErl: UpdateProjectErl, +): string { + return JSON.stringify( + UpdateProjectErl$outboundSchema.parse(updateProjectErl), + ); +} + +export function updateProjectErlFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectErl$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectErl' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectMitigate$inboundSchema: z.ZodType< + UpdateProjectMitigate, + z.ZodTypeDef, + unknown +> = z.object({ + action: UpdateProjectAction$inboundSchema, + rule_id: z.string(), + ttl: z.number().optional(), + erl: z.lazy(() => UpdateProjectErl$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "rule_id": "ruleId", + }); +}); + +/** @internal */ +export type UpdateProjectMitigate$Outbound = { + action: string; + rule_id: string; + ttl?: number | undefined; + erl?: UpdateProjectErl$Outbound | undefined; +}; + +/** @internal */ +export const UpdateProjectMitigate$outboundSchema: z.ZodType< + UpdateProjectMitigate$Outbound, + z.ZodTypeDef, + UpdateProjectMitigate +> = z.object({ + action: UpdateProjectAction$outboundSchema, + ruleId: z.string(), + ttl: z.number().optional(), + erl: z.lazy(() => UpdateProjectErl$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + ruleId: "rule_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectMitigate$ { + /** @deprecated use `UpdateProjectMitigate$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectMitigate$inboundSchema; + /** @deprecated use `UpdateProjectMitigate$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectMitigate$outboundSchema; + /** @deprecated use `UpdateProjectMitigate$Outbound` instead. */ + export type Outbound = UpdateProjectMitigate$Outbound; +} + +export function updateProjectMitigateToJSON( + updateProjectMitigate: UpdateProjectMitigate, +): string { + return JSON.stringify( + UpdateProjectMitigate$outboundSchema.parse(updateProjectMitigate), + ); +} + +export function updateProjectMitigateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectMitigate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectMitigate' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectFirewallRoutes$inboundSchema: z.ZodType< + UpdateProjectFirewallRoutes, + z.ZodTypeDef, + unknown +> = z.object({ + src: z.union([z.lazy(() => UpdateProjectSrc2$inboundSchema), z.string()]) + .optional(), + has: z.array(z.lazy(() => UpdateProjectHas$inboundSchema)).optional(), + missing: z.array(z.lazy(() => UpdateProjectMissing$inboundSchema)).optional(), + dest: z.string().optional(), + status: z.number().optional(), + handle: UpdateProjectHandle$inboundSchema.optional(), + mitigate: z.lazy(() => UpdateProjectMitigate$inboundSchema).optional(), +}); + +/** @internal */ +export type UpdateProjectFirewallRoutes$Outbound = { + src?: UpdateProjectSrc2$Outbound | string | undefined; + has?: Array | undefined; + missing?: Array | undefined; + dest?: string | undefined; + status?: number | undefined; + handle?: string | undefined; + mitigate?: UpdateProjectMitigate$Outbound | undefined; +}; + +/** @internal */ +export const UpdateProjectFirewallRoutes$outboundSchema: z.ZodType< + UpdateProjectFirewallRoutes$Outbound, + z.ZodTypeDef, + UpdateProjectFirewallRoutes +> = z.object({ + src: z.union([z.lazy(() => UpdateProjectSrc2$outboundSchema), z.string()]) + .optional(), + has: z.array(z.lazy(() => UpdateProjectHas$outboundSchema)).optional(), + missing: z.array(z.lazy(() => UpdateProjectMissing$outboundSchema)) + .optional(), + dest: z.string().optional(), + status: z.number().optional(), + handle: UpdateProjectHandle$outboundSchema.optional(), + mitigate: z.lazy(() => UpdateProjectMitigate$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectFirewallRoutes$ { + /** @deprecated use `UpdateProjectFirewallRoutes$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectFirewallRoutes$inboundSchema; + /** @deprecated use `UpdateProjectFirewallRoutes$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectFirewallRoutes$outboundSchema; + /** @deprecated use `UpdateProjectFirewallRoutes$Outbound` instead. */ + export type Outbound = UpdateProjectFirewallRoutes$Outbound; +} + +export function updateProjectFirewallRoutesToJSON( + updateProjectFirewallRoutes: UpdateProjectFirewallRoutes, +): string { + return JSON.stringify( + UpdateProjectFirewallRoutes$outboundSchema.parse( + updateProjectFirewallRoutes, + ), + ); +} + +export function updateProjectFirewallRoutesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectFirewallRoutes$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectFirewallRoutes' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectSecurity$inboundSchema: z.ZodType< + UpdateProjectSecurity, + z.ZodTypeDef, + unknown +> = z.object({ + attackModeEnabled: z.boolean().optional(), + attackModeUpdatedAt: z.number().optional(), + firewallEnabled: z.boolean().optional(), + firewallUpdatedAt: z.number().optional(), + attackModeActiveUntil: z.nullable(z.number()).optional(), + firewallConfigVersion: z.number().optional(), + firewallRoutes: z.array( + z.lazy(() => UpdateProjectFirewallRoutes$inboundSchema), + ).optional(), + firewallSeawallEnabled: z.boolean().optional(), + ja3Enabled: z.boolean().optional(), + ja4Enabled: z.boolean().optional(), + firewallBypassIps: z.array(z.string()).optional(), +}); + +/** @internal */ +export type UpdateProjectSecurity$Outbound = { + attackModeEnabled?: boolean | undefined; + attackModeUpdatedAt?: number | undefined; + firewallEnabled?: boolean | undefined; + firewallUpdatedAt?: number | undefined; + attackModeActiveUntil?: number | null | undefined; + firewallConfigVersion?: number | undefined; + firewallRoutes?: Array | undefined; + firewallSeawallEnabled?: boolean | undefined; + ja3Enabled?: boolean | undefined; + ja4Enabled?: boolean | undefined; + firewallBypassIps?: Array | undefined; +}; + +/** @internal */ +export const UpdateProjectSecurity$outboundSchema: z.ZodType< + UpdateProjectSecurity$Outbound, + z.ZodTypeDef, + UpdateProjectSecurity +> = z.object({ + attackModeEnabled: z.boolean().optional(), + attackModeUpdatedAt: z.number().optional(), + firewallEnabled: z.boolean().optional(), + firewallUpdatedAt: z.number().optional(), + attackModeActiveUntil: z.nullable(z.number()).optional(), + firewallConfigVersion: z.number().optional(), + firewallRoutes: z.array( + z.lazy(() => UpdateProjectFirewallRoutes$outboundSchema), + ).optional(), + firewallSeawallEnabled: z.boolean().optional(), + ja3Enabled: z.boolean().optional(), + ja4Enabled: z.boolean().optional(), + firewallBypassIps: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectSecurity$ { + /** @deprecated use `UpdateProjectSecurity$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectSecurity$inboundSchema; + /** @deprecated use `UpdateProjectSecurity$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectSecurity$outboundSchema; + /** @deprecated use `UpdateProjectSecurity$Outbound` instead. */ + export type Outbound = UpdateProjectSecurity$Outbound; +} + +export function updateProjectSecurityToJSON( + updateProjectSecurity: UpdateProjectSecurity, +): string { + return JSON.stringify( + UpdateProjectSecurity$outboundSchema.parse(updateProjectSecurity), + ); +} + +export function updateProjectSecurityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectSecurity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectSecurity' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProjectsIssuerMode$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsIssuerMode +> = z.nativeEnum(UpdateProjectProjectsIssuerMode); + +/** @internal */ +export const UpdateProjectProjectsIssuerMode$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsIssuerMode +> = UpdateProjectProjectsIssuerMode$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsIssuerMode$ { + /** @deprecated use `UpdateProjectProjectsIssuerMode$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProjectsIssuerMode$inboundSchema; + /** @deprecated use `UpdateProjectProjectsIssuerMode$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectProjectsIssuerMode$outboundSchema; +} + +/** @internal */ +export const UpdateProjectProjectsOidcTokenConfig$inboundSchema: z.ZodType< + UpdateProjectProjectsOidcTokenConfig, + z.ZodTypeDef, + unknown +> = z.object({ + enabled: z.boolean(), + issuerMode: UpdateProjectProjectsIssuerMode$inboundSchema.optional(), +}); + +/** @internal */ +export type UpdateProjectProjectsOidcTokenConfig$Outbound = { + enabled: boolean; + issuerMode?: string | undefined; +}; + +/** @internal */ +export const UpdateProjectProjectsOidcTokenConfig$outboundSchema: z.ZodType< + UpdateProjectProjectsOidcTokenConfig$Outbound, + z.ZodTypeDef, + UpdateProjectProjectsOidcTokenConfig +> = z.object({ + enabled: z.boolean(), + issuerMode: UpdateProjectProjectsIssuerMode$outboundSchema.optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProjectsOidcTokenConfig$ { + /** @deprecated use `UpdateProjectProjectsOidcTokenConfig$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectProjectsOidcTokenConfig$inboundSchema; + /** @deprecated use `UpdateProjectProjectsOidcTokenConfig$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProjectsOidcTokenConfig$outboundSchema; + /** @deprecated use `UpdateProjectProjectsOidcTokenConfig$Outbound` instead. */ + export type Outbound = UpdateProjectProjectsOidcTokenConfig$Outbound; +} + +export function updateProjectProjectsOidcTokenConfigToJSON( + updateProjectProjectsOidcTokenConfig: UpdateProjectProjectsOidcTokenConfig, +): string { + return JSON.stringify( + UpdateProjectProjectsOidcTokenConfig$outboundSchema.parse( + updateProjectProjectsOidcTokenConfig, + ), + ); +} + +export function updateProjectProjectsOidcTokenConfigFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectProjectsOidcTokenConfig$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectProjectsOidcTokenConfig' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectTier$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectTier +> = z.nativeEnum(UpdateProjectTier); + +/** @internal */ +export const UpdateProjectTier$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectTier +> = UpdateProjectTier$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectTier$ { + /** @deprecated use `UpdateProjectTier$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectTier$inboundSchema; + /** @deprecated use `UpdateProjectTier$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectTier$outboundSchema; +} + +/** @internal */ +export const UpdateProjectResponseBody$inboundSchema: z.ZodType< + UpdateProjectResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + accountId: z.string(), + analytics: z.lazy(() => UpdateProjectAnalytics$inboundSchema).optional(), + speedInsights: z.lazy(() => UpdateProjectSpeedInsights$inboundSchema) + .optional(), + autoExposeSystemEnvs: z.boolean().optional(), + autoAssignCustomDomains: z.boolean().optional(), + autoAssignCustomDomainsUpdatedBy: z.string().optional(), + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + connectConfigurationId: z.nullable(z.string()).optional(), + connectBuildsEnabled: z.boolean().optional(), + createdAt: z.number().optional(), + customerSupportCodeVisibility: z.boolean().optional(), + crons: z.lazy(() => UpdateProjectCrons$inboundSchema).optional(), + dataCache: z.lazy(() => UpdateProjectDataCache$inboundSchema).optional(), + deploymentExpiration: z.nullable( + z.lazy(() => UpdateProjectDeploymentExpiration$inboundSchema), + ).optional(), + devCommand: z.nullable(z.string()).optional(), + directoryListing: z.boolean(), + installCommand: z.nullable(z.string()).optional(), + env: z.array(z.lazy(() => UpdateProjectEnv$inboundSchema)).optional(), + customEnvironments: z.array( + z.lazy(() => UpdateProjectCustomEnvironments$inboundSchema), + ).optional(), + framework: z.nullable(UpdateProjectProjectsFramework$inboundSchema) + .optional(), + gitForkProtection: z.boolean().optional(), + gitLFS: z.boolean().optional(), + id: z.string(), + ipBuckets: z.array(z.lazy(() => UpdateProjectIpBuckets$inboundSchema)) + .optional(), + latestDeployments: z.array( + z.lazy(() => UpdateProjectLatestDeployments$inboundSchema), + ).optional(), + link: z.union([ + z.lazy(() => UpdateProjectLink1$inboundSchema), + z.lazy(() => UpdateProjectLink3$inboundSchema), + z.lazy(() => UpdateProjectLink2$inboundSchema), + ]).optional(), + microfrontends: z.lazy(() => UpdateProjectMicrofrontends$inboundSchema) + .optional(), + name: z.string(), + nodeVersion: UpdateProjectProjectsNodeVersion$inboundSchema, + optionsAllowlist: z.nullable( + z.lazy(() => UpdateProjectOptionsAllowlist$inboundSchema), + ).optional(), + outputDirectory: z.nullable(z.string()).optional(), + passiveConnectConfigurationId: z.nullable(z.string()).optional(), + passwordProtection: z.nullable( + z.lazy(() => UpdateProjectPasswordProtection$inboundSchema), + ).optional(), + productionDeploymentsFastLane: z.boolean().optional(), + publicSource: z.nullable(z.boolean()).optional(), + resourceConfig: z.lazy(() => UpdateProjectResourceConfig$inboundSchema) + .optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + serverlessFunctionZeroConfigFailover: z.boolean().optional(), + skewProtectionBoundaryAt: z.number().optional(), + skewProtectionMaxAge: z.number().optional(), + skipGitConnectDuringLink: z.boolean().optional(), + sourceFilesOutsideRootDirectory: z.boolean().optional(), + enableAffectedProjectsDeployments: z.boolean().optional(), + ssoProtection: z.nullable( + z.lazy(() => UpdateProjectSsoProtection$inboundSchema), + ).optional(), + targets: z.record(z.lazy(() => UpdateProjectTargets$inboundSchema)) + .optional(), + transferCompletedAt: z.number().optional(), + transferStartedAt: z.number().optional(), + transferToAccountId: z.string().optional(), + transferredFromAccountId: z.string().optional(), + updatedAt: z.number().optional(), + live: z.boolean().optional(), + enablePreviewFeedback: z.nullable(z.boolean()).optional(), + enableProductionFeedback: z.nullable(z.boolean()).optional(), + permissions: z.lazy(() => UpdateProjectPermissions$inboundSchema).optional(), + lastRollbackTarget: z.nullable( + z.lazy(() => UpdateProjectLastRollbackTarget$inboundSchema), + ).optional(), + lastAliasRequest: z.nullable( + z.lazy(() => UpdateProjectLastAliasRequest$inboundSchema), + ).optional(), + hasFloatingAliases: z.boolean().optional(), + protectionBypass: z.record( + z.lazy(() => UpdateProjectProtectionBypass$inboundSchema), + ).optional(), + hasActiveBranches: z.boolean().optional(), + trustedIps: z.nullable( + z.union([ + z.lazy(() => UpdateProjectTrustedIps2$inboundSchema), + z.lazy(() => UpdateProjectTrustedIps1$inboundSchema), + ]), + ).optional(), + gitComments: z.lazy(() => UpdateProjectGitComments$inboundSchema).optional(), + paused: z.boolean().optional(), + concurrencyBucketName: z.string().optional(), + webAnalytics: z.lazy(() => UpdateProjectWebAnalytics$inboundSchema) + .optional(), + security: z.lazy(() => UpdateProjectSecurity$inboundSchema).optional(), + oidcTokenConfig: z.lazy(() => + UpdateProjectProjectsOidcTokenConfig$inboundSchema + ).optional(), + tier: UpdateProjectTier$inboundSchema.optional(), +}); + +/** @internal */ +export type UpdateProjectResponseBody$Outbound = { + accountId: string; + analytics?: UpdateProjectAnalytics$Outbound | undefined; + speedInsights?: UpdateProjectSpeedInsights$Outbound | undefined; + autoExposeSystemEnvs?: boolean | undefined; + autoAssignCustomDomains?: boolean | undefined; + autoAssignCustomDomainsUpdatedBy?: string | undefined; + buildCommand?: string | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; + connectConfigurationId?: string | null | undefined; + connectBuildsEnabled?: boolean | undefined; + createdAt?: number | undefined; + customerSupportCodeVisibility?: boolean | undefined; + crons?: UpdateProjectCrons$Outbound | undefined; + dataCache?: UpdateProjectDataCache$Outbound | undefined; + deploymentExpiration?: + | UpdateProjectDeploymentExpiration$Outbound + | null + | undefined; + devCommand?: string | null | undefined; + directoryListing: boolean; + installCommand?: string | null | undefined; + env?: Array | undefined; + customEnvironments?: + | Array + | undefined; + framework?: string | null | undefined; + gitForkProtection?: boolean | undefined; + gitLFS?: boolean | undefined; + id: string; + ipBuckets?: Array | undefined; + latestDeployments?: + | Array + | undefined; + link?: + | UpdateProjectLink1$Outbound + | UpdateProjectLink3$Outbound + | UpdateProjectLink2$Outbound + | undefined; + microfrontends?: UpdateProjectMicrofrontends$Outbound | undefined; + name: string; + nodeVersion: string; + optionsAllowlist?: UpdateProjectOptionsAllowlist$Outbound | null | undefined; + outputDirectory?: string | null | undefined; + passiveConnectConfigurationId?: string | null | undefined; + passwordProtection?: + | UpdateProjectPasswordProtection$Outbound + | null + | undefined; + productionDeploymentsFastLane?: boolean | undefined; + publicSource?: boolean | null | undefined; + resourceConfig?: UpdateProjectResourceConfig$Outbound | undefined; + rootDirectory?: string | null | undefined; + serverlessFunctionRegion?: string | null | undefined; + serverlessFunctionZeroConfigFailover?: boolean | undefined; + skewProtectionBoundaryAt?: number | undefined; + skewProtectionMaxAge?: number | undefined; + skipGitConnectDuringLink?: boolean | undefined; + sourceFilesOutsideRootDirectory?: boolean | undefined; + enableAffectedProjectsDeployments?: boolean | undefined; + ssoProtection?: UpdateProjectSsoProtection$Outbound | null | undefined; + targets?: { [k: string]: UpdateProjectTargets$Outbound } | undefined; + transferCompletedAt?: number | undefined; + transferStartedAt?: number | undefined; + transferToAccountId?: string | undefined; + transferredFromAccountId?: string | undefined; + updatedAt?: number | undefined; + live?: boolean | undefined; + enablePreviewFeedback?: boolean | null | undefined; + enableProductionFeedback?: boolean | null | undefined; + permissions?: UpdateProjectPermissions$Outbound | undefined; + lastRollbackTarget?: + | UpdateProjectLastRollbackTarget$Outbound + | null + | undefined; + lastAliasRequest?: UpdateProjectLastAliasRequest$Outbound | null | undefined; + hasFloatingAliases?: boolean | undefined; + protectionBypass?: + | { [k: string]: UpdateProjectProtectionBypass$Outbound } + | undefined; + hasActiveBranches?: boolean | undefined; + trustedIps?: + | UpdateProjectTrustedIps2$Outbound + | UpdateProjectTrustedIps1$Outbound + | null + | undefined; + gitComments?: UpdateProjectGitComments$Outbound | undefined; + paused?: boolean | undefined; + concurrencyBucketName?: string | undefined; + webAnalytics?: UpdateProjectWebAnalytics$Outbound | undefined; + security?: UpdateProjectSecurity$Outbound | undefined; + oidcTokenConfig?: UpdateProjectProjectsOidcTokenConfig$Outbound | undefined; + tier?: string | undefined; +}; + +/** @internal */ +export const UpdateProjectResponseBody$outboundSchema: z.ZodType< + UpdateProjectResponseBody$Outbound, + z.ZodTypeDef, + UpdateProjectResponseBody +> = z.object({ + accountId: z.string(), + analytics: z.lazy(() => UpdateProjectAnalytics$outboundSchema).optional(), + speedInsights: z.lazy(() => UpdateProjectSpeedInsights$outboundSchema) + .optional(), + autoExposeSystemEnvs: z.boolean().optional(), + autoAssignCustomDomains: z.boolean().optional(), + autoAssignCustomDomainsUpdatedBy: z.string().optional(), + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + connectConfigurationId: z.nullable(z.string()).optional(), + connectBuildsEnabled: z.boolean().optional(), + createdAt: z.number().optional(), + customerSupportCodeVisibility: z.boolean().optional(), + crons: z.lazy(() => UpdateProjectCrons$outboundSchema).optional(), + dataCache: z.lazy(() => UpdateProjectDataCache$outboundSchema).optional(), + deploymentExpiration: z.nullable( + z.lazy(() => UpdateProjectDeploymentExpiration$outboundSchema), + ).optional(), + devCommand: z.nullable(z.string()).optional(), + directoryListing: z.boolean(), + installCommand: z.nullable(z.string()).optional(), + env: z.array(z.lazy(() => UpdateProjectEnv$outboundSchema)).optional(), + customEnvironments: z.array( + z.lazy(() => UpdateProjectCustomEnvironments$outboundSchema), + ).optional(), + framework: z.nullable(UpdateProjectProjectsFramework$outboundSchema) + .optional(), + gitForkProtection: z.boolean().optional(), + gitLFS: z.boolean().optional(), + id: z.string(), + ipBuckets: z.array(z.lazy(() => UpdateProjectIpBuckets$outboundSchema)) + .optional(), + latestDeployments: z.array( + z.lazy(() => UpdateProjectLatestDeployments$outboundSchema), + ).optional(), + link: z.union([ + z.lazy(() => UpdateProjectLink1$outboundSchema), + z.lazy(() => UpdateProjectLink3$outboundSchema), + z.lazy(() => UpdateProjectLink2$outboundSchema), + ]).optional(), + microfrontends: z.lazy(() => UpdateProjectMicrofrontends$outboundSchema) + .optional(), + name: z.string(), + nodeVersion: UpdateProjectProjectsNodeVersion$outboundSchema, + optionsAllowlist: z.nullable( + z.lazy(() => UpdateProjectOptionsAllowlist$outboundSchema), + ).optional(), + outputDirectory: z.nullable(z.string()).optional(), + passiveConnectConfigurationId: z.nullable(z.string()).optional(), + passwordProtection: z.nullable( + z.lazy(() => UpdateProjectPasswordProtection$outboundSchema), + ).optional(), + productionDeploymentsFastLane: z.boolean().optional(), + publicSource: z.nullable(z.boolean()).optional(), + resourceConfig: z.lazy(() => UpdateProjectResourceConfig$outboundSchema) + .optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + serverlessFunctionZeroConfigFailover: z.boolean().optional(), + skewProtectionBoundaryAt: z.number().optional(), + skewProtectionMaxAge: z.number().optional(), + skipGitConnectDuringLink: z.boolean().optional(), + sourceFilesOutsideRootDirectory: z.boolean().optional(), + enableAffectedProjectsDeployments: z.boolean().optional(), + ssoProtection: z.nullable( + z.lazy(() => UpdateProjectSsoProtection$outboundSchema), + ).optional(), + targets: z.record(z.lazy(() => UpdateProjectTargets$outboundSchema)) + .optional(), + transferCompletedAt: z.number().optional(), + transferStartedAt: z.number().optional(), + transferToAccountId: z.string().optional(), + transferredFromAccountId: z.string().optional(), + updatedAt: z.number().optional(), + live: z.boolean().optional(), + enablePreviewFeedback: z.nullable(z.boolean()).optional(), + enableProductionFeedback: z.nullable(z.boolean()).optional(), + permissions: z.lazy(() => UpdateProjectPermissions$outboundSchema).optional(), + lastRollbackTarget: z.nullable( + z.lazy(() => UpdateProjectLastRollbackTarget$outboundSchema), + ).optional(), + lastAliasRequest: z.nullable( + z.lazy(() => UpdateProjectLastAliasRequest$outboundSchema), + ).optional(), + hasFloatingAliases: z.boolean().optional(), + protectionBypass: z.record( + z.lazy(() => UpdateProjectProtectionBypass$outboundSchema), + ).optional(), + hasActiveBranches: z.boolean().optional(), + trustedIps: z.nullable( + z.union([ + z.lazy(() => UpdateProjectTrustedIps2$outboundSchema), + z.lazy(() => UpdateProjectTrustedIps1$outboundSchema), + ]), + ).optional(), + gitComments: z.lazy(() => UpdateProjectGitComments$outboundSchema).optional(), + paused: z.boolean().optional(), + concurrencyBucketName: z.string().optional(), + webAnalytics: z.lazy(() => UpdateProjectWebAnalytics$outboundSchema) + .optional(), + security: z.lazy(() => UpdateProjectSecurity$outboundSchema).optional(), + oidcTokenConfig: z.lazy(() => + UpdateProjectProjectsOidcTokenConfig$outboundSchema + ).optional(), + tier: UpdateProjectTier$outboundSchema.optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectResponseBody$ { + /** @deprecated use `UpdateProjectResponseBody$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectResponseBody$inboundSchema; + /** @deprecated use `UpdateProjectResponseBody$outboundSchema` instead. */ + export const outboundSchema = UpdateProjectResponseBody$outboundSchema; + /** @deprecated use `UpdateProjectResponseBody$Outbound` instead. */ + export type Outbound = UpdateProjectResponseBody$Outbound; +} + +export function updateProjectResponseBodyToJSON( + updateProjectResponseBody: UpdateProjectResponseBody, +): string { + return JSON.stringify( + UpdateProjectResponseBody$outboundSchema.parse(updateProjectResponseBody), + ); +} + +export function updateProjectResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectResponseBody' from JSON`, + ); +} diff --git a/src/models/updateprojectprotectionbypassop.ts b/src/models/updateprojectprotectionbypassop.ts new file mode 100644 index 00000000..6bcad6e0 --- /dev/null +++ b/src/models/updateprojectprotectionbypassop.ts @@ -0,0 +1,497 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * Optional instructions for revoking and regenerating a automation bypass + */ +export type Revoke = { + /** + * Automation bypass to revoked + */ + secret: string; + /** + * Whether or not a new automation bypass should be created after the provided secret is revoked + */ + regenerate: boolean; +}; + +/** + * Generate a new secret. If neither generate or revoke are provided, a new random secret will be generated. + */ +export type Generate = { + /** + * Optional value of the secret to generate + */ + secret?: string | undefined; +}; + +export type UpdateProjectProtectionBypassRequestBody = { + /** + * Optional instructions for revoking and regenerating a automation bypass + */ + revoke?: Revoke | undefined; + /** + * Generate a new secret. If neither generate or revoke are provided, a new random secret will be generated. + */ + generate?: Generate | undefined; +}; + +export type UpdateProjectProtectionBypassRequest = { + /** + * The unique project identifier or the project name + */ + idOrName: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: UpdateProjectProtectionBypassRequestBody; +}; + +export const UpdateProjectProtectionBypassScope = { + AutomationBypass: "automation-bypass", +} as const; +export type UpdateProjectProtectionBypassScope = ClosedEnum< + typeof UpdateProjectProtectionBypassScope +>; + +export type UpdateProjectProtectionBypassProtectionBypass = { + createdAt: number; + createdBy: string; + scope: UpdateProjectProtectionBypassScope; +}; + +export type UpdateProjectProtectionBypassResponseBody = { + protectionBypass?: { + [k: string]: UpdateProjectProtectionBypassProtectionBypass; + } | undefined; +}; + +/** @internal */ +export const Revoke$inboundSchema: z.ZodType = z + .object({ + secret: z.string(), + regenerate: z.boolean(), + }); + +/** @internal */ +export type Revoke$Outbound = { + secret: string; + regenerate: boolean; +}; + +/** @internal */ +export const Revoke$outboundSchema: z.ZodType< + Revoke$Outbound, + z.ZodTypeDef, + Revoke +> = z.object({ + secret: z.string(), + regenerate: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Revoke$ { + /** @deprecated use `Revoke$inboundSchema` instead. */ + export const inboundSchema = Revoke$inboundSchema; + /** @deprecated use `Revoke$outboundSchema` instead. */ + export const outboundSchema = Revoke$outboundSchema; + /** @deprecated use `Revoke$Outbound` instead. */ + export type Outbound = Revoke$Outbound; +} + +export function revokeToJSON(revoke: Revoke): string { + return JSON.stringify(Revoke$outboundSchema.parse(revoke)); +} + +export function revokeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Revoke$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Revoke' from JSON`, + ); +} + +/** @internal */ +export const Generate$inboundSchema: z.ZodType< + Generate, + z.ZodTypeDef, + unknown +> = z.object({ + secret: z.string().optional(), +}); + +/** @internal */ +export type Generate$Outbound = { + secret?: string | undefined; +}; + +/** @internal */ +export const Generate$outboundSchema: z.ZodType< + Generate$Outbound, + z.ZodTypeDef, + Generate +> = z.object({ + secret: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Generate$ { + /** @deprecated use `Generate$inboundSchema` instead. */ + export const inboundSchema = Generate$inboundSchema; + /** @deprecated use `Generate$outboundSchema` instead. */ + export const outboundSchema = Generate$outboundSchema; + /** @deprecated use `Generate$Outbound` instead. */ + export type Outbound = Generate$Outbound; +} + +export function generateToJSON(generate: Generate): string { + return JSON.stringify(Generate$outboundSchema.parse(generate)); +} + +export function generateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Generate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Generate' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProtectionBypassRequestBody$inboundSchema: z.ZodType< + UpdateProjectProtectionBypassRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + revoke: z.lazy(() => Revoke$inboundSchema).optional(), + generate: z.lazy(() => Generate$inboundSchema).optional(), +}); + +/** @internal */ +export type UpdateProjectProtectionBypassRequestBody$Outbound = { + revoke?: Revoke$Outbound | undefined; + generate?: Generate$Outbound | undefined; +}; + +/** @internal */ +export const UpdateProjectProtectionBypassRequestBody$outboundSchema: z.ZodType< + UpdateProjectProtectionBypassRequestBody$Outbound, + z.ZodTypeDef, + UpdateProjectProtectionBypassRequestBody +> = z.object({ + revoke: z.lazy(() => Revoke$outboundSchema).optional(), + generate: z.lazy(() => Generate$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProtectionBypassRequestBody$ { + /** @deprecated use `UpdateProjectProtectionBypassRequestBody$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectProtectionBypassRequestBody$inboundSchema; + /** @deprecated use `UpdateProjectProtectionBypassRequestBody$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProtectionBypassRequestBody$outboundSchema; + /** @deprecated use `UpdateProjectProtectionBypassRequestBody$Outbound` instead. */ + export type Outbound = UpdateProjectProtectionBypassRequestBody$Outbound; +} + +export function updateProjectProtectionBypassRequestBodyToJSON( + updateProjectProtectionBypassRequestBody: + UpdateProjectProtectionBypassRequestBody, +): string { + return JSON.stringify( + UpdateProjectProtectionBypassRequestBody$outboundSchema.parse( + updateProjectProtectionBypassRequestBody, + ), + ); +} + +export function updateProjectProtectionBypassRequestBodyFromJSON( + jsonString: string, +): SafeParseResult< + UpdateProjectProtectionBypassRequestBody, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateProjectProtectionBypassRequestBody$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateProjectProtectionBypassRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProtectionBypassRequest$inboundSchema: z.ZodType< + UpdateProjectProtectionBypassRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => + UpdateProjectProtectionBypassRequestBody$inboundSchema + ), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UpdateProjectProtectionBypassRequest$Outbound = { + idOrName: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: UpdateProjectProtectionBypassRequestBody$Outbound; +}; + +/** @internal */ +export const UpdateProjectProtectionBypassRequest$outboundSchema: z.ZodType< + UpdateProjectProtectionBypassRequest$Outbound, + z.ZodTypeDef, + UpdateProjectProtectionBypassRequest +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + UpdateProjectProtectionBypassRequestBody$outboundSchema + ), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProtectionBypassRequest$ { + /** @deprecated use `UpdateProjectProtectionBypassRequest$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectProtectionBypassRequest$inboundSchema; + /** @deprecated use `UpdateProjectProtectionBypassRequest$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProtectionBypassRequest$outboundSchema; + /** @deprecated use `UpdateProjectProtectionBypassRequest$Outbound` instead. */ + export type Outbound = UpdateProjectProtectionBypassRequest$Outbound; +} + +export function updateProjectProtectionBypassRequestToJSON( + updateProjectProtectionBypassRequest: UpdateProjectProtectionBypassRequest, +): string { + return JSON.stringify( + UpdateProjectProtectionBypassRequest$outboundSchema.parse( + updateProjectProtectionBypassRequest, + ), + ); +} + +export function updateProjectProtectionBypassRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectProtectionBypassRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectProtectionBypassRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProtectionBypassScope$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProtectionBypassScope +> = z.nativeEnum(UpdateProjectProtectionBypassScope); + +/** @internal */ +export const UpdateProjectProtectionBypassScope$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProtectionBypassScope +> = UpdateProjectProtectionBypassScope$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProtectionBypassScope$ { + /** @deprecated use `UpdateProjectProtectionBypassScope$inboundSchema` instead. */ + export const inboundSchema = UpdateProjectProtectionBypassScope$inboundSchema; + /** @deprecated use `UpdateProjectProtectionBypassScope$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProtectionBypassScope$outboundSchema; +} + +/** @internal */ +export const UpdateProjectProtectionBypassProtectionBypass$inboundSchema: + z.ZodType< + UpdateProjectProtectionBypassProtectionBypass, + z.ZodTypeDef, + unknown + > = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: UpdateProjectProtectionBypassScope$inboundSchema, + }); + +/** @internal */ +export type UpdateProjectProtectionBypassProtectionBypass$Outbound = { + createdAt: number; + createdBy: string; + scope: string; +}; + +/** @internal */ +export const UpdateProjectProtectionBypassProtectionBypass$outboundSchema: + z.ZodType< + UpdateProjectProtectionBypassProtectionBypass$Outbound, + z.ZodTypeDef, + UpdateProjectProtectionBypassProtectionBypass + > = z.object({ + createdAt: z.number(), + createdBy: z.string(), + scope: UpdateProjectProtectionBypassScope$outboundSchema, + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProtectionBypassProtectionBypass$ { + /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectProtectionBypassProtectionBypass$inboundSchema; + /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProtectionBypassProtectionBypass$outboundSchema; + /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass$Outbound` instead. */ + export type Outbound = UpdateProjectProtectionBypassProtectionBypass$Outbound; +} + +export function updateProjectProtectionBypassProtectionBypassToJSON( + updateProjectProtectionBypassProtectionBypass: + UpdateProjectProtectionBypassProtectionBypass, +): string { + return JSON.stringify( + UpdateProjectProtectionBypassProtectionBypass$outboundSchema.parse( + updateProjectProtectionBypassProtectionBypass, + ), + ); +} + +export function updateProjectProtectionBypassProtectionBypassFromJSON( + jsonString: string, +): SafeParseResult< + UpdateProjectProtectionBypassProtectionBypass, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateProjectProtectionBypassProtectionBypass$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateProjectProtectionBypassProtectionBypass' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectProtectionBypassResponseBody$inboundSchema: z.ZodType< + UpdateProjectProtectionBypassResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + protectionBypass: z.record( + z.lazy(() => UpdateProjectProtectionBypassProtectionBypass$inboundSchema), + ).optional(), +}); + +/** @internal */ +export type UpdateProjectProtectionBypassResponseBody$Outbound = { + protectionBypass?: { + [k: string]: UpdateProjectProtectionBypassProtectionBypass$Outbound; + } | undefined; +}; + +/** @internal */ +export const UpdateProjectProtectionBypassResponseBody$outboundSchema: + z.ZodType< + UpdateProjectProtectionBypassResponseBody$Outbound, + z.ZodTypeDef, + UpdateProjectProtectionBypassResponseBody + > = z.object({ + protectionBypass: z.record( + z.lazy(() => + UpdateProjectProtectionBypassProtectionBypass$outboundSchema + ), + ).optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateProjectProtectionBypassResponseBody$ { + /** @deprecated use `UpdateProjectProtectionBypassResponseBody$inboundSchema` instead. */ + export const inboundSchema = + UpdateProjectProtectionBypassResponseBody$inboundSchema; + /** @deprecated use `UpdateProjectProtectionBypassResponseBody$outboundSchema` instead. */ + export const outboundSchema = + UpdateProjectProtectionBypassResponseBody$outboundSchema; + /** @deprecated use `UpdateProjectProtectionBypassResponseBody$Outbound` instead. */ + export type Outbound = UpdateProjectProtectionBypassResponseBody$Outbound; +} + +export function updateProjectProtectionBypassResponseBodyToJSON( + updateProjectProtectionBypassResponseBody: + UpdateProjectProtectionBypassResponseBody, +): string { + return JSON.stringify( + UpdateProjectProtectionBypassResponseBody$outboundSchema.parse( + updateProjectProtectionBypassResponseBody, + ), + ); +} + +export function updateProjectProtectionBypassResponseBodyFromJSON( + jsonString: string, +): SafeParseResult< + UpdateProjectProtectionBypassResponseBody, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateProjectProtectionBypassResponseBody$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateProjectProtectionBypassResponseBody' from JSON`, + ); +} diff --git a/src/models/updaterecordop.ts b/src/models/updaterecordop.ts new file mode 100644 index 00000000..c2922c6f --- /dev/null +++ b/src/models/updaterecordop.ts @@ -0,0 +1,515 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * The type of the DNS record + */ +export const UpdateRecordType = { + A: "A", + Aaaa: "AAAA", + Alias: "ALIAS", + Caa: "CAA", + Cname: "CNAME", + Https: "HTTPS", + Mx: "MX", + Srv: "SRV", + Txt: "TXT", + Ns: "NS", +} as const; +/** + * The type of the DNS record + */ +export type UpdateRecordType = ClosedEnum; + +export type Srv = { + target: string | null; + weight: number | null; + port: number | null; + priority: number | null; +}; + +export type Https = { + priority: number | null; + target: string | null; + params?: string | null | undefined; +}; + +export type UpdateRecordRequestBody = { + /** + * The name of the DNS record + */ + name?: string | null | undefined; + /** + * The value of the DNS record + */ + value?: string | null | undefined; + /** + * The type of the DNS record + */ + type?: UpdateRecordType | null | undefined; + /** + * The Time to live (TTL) value of the DNS record + */ + ttl?: number | null | undefined; + /** + * The MX priority value of the DNS record + */ + mxPriority?: number | null | undefined; + srv?: Srv | null | undefined; + https?: Https | null | undefined; + /** + * A comment to add context on what this DNS record is for + */ + comment?: string | undefined; +}; + +export type UpdateRecordRequest = { + /** + * The id of the DNS record + */ + recordId: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: UpdateRecordRequestBody; +}; + +export const RecordType = { + A: "A", + Aaaa: "AAAA", + Alias: "ALIAS", + Caa: "CAA", + Cname: "CNAME", + Https: "HTTPS", + Mx: "MX", + Srv: "SRV", + Txt: "TXT", + Ns: "NS", +} as const; +export type RecordType = ClosedEnum; + +export const UpdateRecordDnsType = { + Record: "record", + RecordSys: "record-sys", +} as const; +export type UpdateRecordDnsType = ClosedEnum; + +export type UpdateRecordResponseBody = { + createdAt?: number | null | undefined; + creator: string; + domain: string; + id: string; + name: string; + recordType: RecordType; + ttl?: number | undefined; + type: UpdateRecordDnsType; + value: string; + comment?: string | undefined; +}; + +/** @internal */ +export const UpdateRecordType$inboundSchema: z.ZodNativeEnum< + typeof UpdateRecordType +> = z.nativeEnum(UpdateRecordType); + +/** @internal */ +export const UpdateRecordType$outboundSchema: z.ZodNativeEnum< + typeof UpdateRecordType +> = UpdateRecordType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateRecordType$ { + /** @deprecated use `UpdateRecordType$inboundSchema` instead. */ + export const inboundSchema = UpdateRecordType$inboundSchema; + /** @deprecated use `UpdateRecordType$outboundSchema` instead. */ + export const outboundSchema = UpdateRecordType$outboundSchema; +} + +/** @internal */ +export const Srv$inboundSchema: z.ZodType = z + .object({ + target: z.nullable(z.string()), + weight: z.nullable(z.number().int()), + port: z.nullable(z.number().int()), + priority: z.nullable(z.number().int()), + }); + +/** @internal */ +export type Srv$Outbound = { + target: string | null; + weight: number | null; + port: number | null; + priority: number | null; +}; + +/** @internal */ +export const Srv$outboundSchema: z.ZodType = z + .object({ + target: z.nullable(z.string()), + weight: z.nullable(z.number().int()), + port: z.nullable(z.number().int()), + priority: z.nullable(z.number().int()), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Srv$ { + /** @deprecated use `Srv$inboundSchema` instead. */ + export const inboundSchema = Srv$inboundSchema; + /** @deprecated use `Srv$outboundSchema` instead. */ + export const outboundSchema = Srv$outboundSchema; + /** @deprecated use `Srv$Outbound` instead. */ + export type Outbound = Srv$Outbound; +} + +export function srvToJSON(srv: Srv): string { + return JSON.stringify(Srv$outboundSchema.parse(srv)); +} + +export function srvFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Srv$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Srv' from JSON`, + ); +} + +/** @internal */ +export const Https$inboundSchema: z.ZodType = z + .object({ + priority: z.nullable(z.number().int()), + target: z.nullable(z.string()), + params: z.nullable(z.string()).optional(), + }); + +/** @internal */ +export type Https$Outbound = { + priority: number | null; + target: string | null; + params?: string | null | undefined; +}; + +/** @internal */ +export const Https$outboundSchema: z.ZodType< + Https$Outbound, + z.ZodTypeDef, + Https +> = z.object({ + priority: z.nullable(z.number().int()), + target: z.nullable(z.string()), + params: z.nullable(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Https$ { + /** @deprecated use `Https$inboundSchema` instead. */ + export const inboundSchema = Https$inboundSchema; + /** @deprecated use `Https$outboundSchema` instead. */ + export const outboundSchema = Https$outboundSchema; + /** @deprecated use `Https$Outbound` instead. */ + export type Outbound = Https$Outbound; +} + +export function httpsToJSON(https: Https): string { + return JSON.stringify(Https$outboundSchema.parse(https)); +} + +export function httpsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Https$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Https' from JSON`, + ); +} + +/** @internal */ +export const UpdateRecordRequestBody$inboundSchema: z.ZodType< + UpdateRecordRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.nullable(z.string()).optional(), + value: z.nullable(z.string()).optional(), + type: z.nullable(UpdateRecordType$inboundSchema).optional(), + ttl: z.nullable(z.number().int()).optional(), + mxPriority: z.nullable(z.number().int()).optional(), + srv: z.nullable(z.lazy(() => Srv$inboundSchema)).optional(), + https: z.nullable(z.lazy(() => Https$inboundSchema)).optional(), + comment: z.string().optional(), +}); + +/** @internal */ +export type UpdateRecordRequestBody$Outbound = { + name?: string | null | undefined; + value?: string | null | undefined; + type?: string | null | undefined; + ttl?: number | null | undefined; + mxPriority?: number | null | undefined; + srv?: Srv$Outbound | null | undefined; + https?: Https$Outbound | null | undefined; + comment?: string | undefined; +}; + +/** @internal */ +export const UpdateRecordRequestBody$outboundSchema: z.ZodType< + UpdateRecordRequestBody$Outbound, + z.ZodTypeDef, + UpdateRecordRequestBody +> = z.object({ + name: z.nullable(z.string()).optional(), + value: z.nullable(z.string()).optional(), + type: z.nullable(UpdateRecordType$outboundSchema).optional(), + ttl: z.nullable(z.number().int()).optional(), + mxPriority: z.nullable(z.number().int()).optional(), + srv: z.nullable(z.lazy(() => Srv$outboundSchema)).optional(), + https: z.nullable(z.lazy(() => Https$outboundSchema)).optional(), + comment: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateRecordRequestBody$ { + /** @deprecated use `UpdateRecordRequestBody$inboundSchema` instead. */ + export const inboundSchema = UpdateRecordRequestBody$inboundSchema; + /** @deprecated use `UpdateRecordRequestBody$outboundSchema` instead. */ + export const outboundSchema = UpdateRecordRequestBody$outboundSchema; + /** @deprecated use `UpdateRecordRequestBody$Outbound` instead. */ + export type Outbound = UpdateRecordRequestBody$Outbound; +} + +export function updateRecordRequestBodyToJSON( + updateRecordRequestBody: UpdateRecordRequestBody, +): string { + return JSON.stringify( + UpdateRecordRequestBody$outboundSchema.parse(updateRecordRequestBody), + ); +} + +export function updateRecordRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateRecordRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateRecordRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateRecordRequest$inboundSchema: z.ZodType< + UpdateRecordRequest, + z.ZodTypeDef, + unknown +> = z.object({ + recordId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => UpdateRecordRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UpdateRecordRequest$Outbound = { + recordId: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: UpdateRecordRequestBody$Outbound; +}; + +/** @internal */ +export const UpdateRecordRequest$outboundSchema: z.ZodType< + UpdateRecordRequest$Outbound, + z.ZodTypeDef, + UpdateRecordRequest +> = z.object({ + recordId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateRecordRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateRecordRequest$ { + /** @deprecated use `UpdateRecordRequest$inboundSchema` instead. */ + export const inboundSchema = UpdateRecordRequest$inboundSchema; + /** @deprecated use `UpdateRecordRequest$outboundSchema` instead. */ + export const outboundSchema = UpdateRecordRequest$outboundSchema; + /** @deprecated use `UpdateRecordRequest$Outbound` instead. */ + export type Outbound = UpdateRecordRequest$Outbound; +} + +export function updateRecordRequestToJSON( + updateRecordRequest: UpdateRecordRequest, +): string { + return JSON.stringify( + UpdateRecordRequest$outboundSchema.parse(updateRecordRequest), + ); +} + +export function updateRecordRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateRecordRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateRecordRequest' from JSON`, + ); +} + +/** @internal */ +export const RecordType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(RecordType); + +/** @internal */ +export const RecordType$outboundSchema: z.ZodNativeEnum = + RecordType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RecordType$ { + /** @deprecated use `RecordType$inboundSchema` instead. */ + export const inboundSchema = RecordType$inboundSchema; + /** @deprecated use `RecordType$outboundSchema` instead. */ + export const outboundSchema = RecordType$outboundSchema; +} + +/** @internal */ +export const UpdateRecordDnsType$inboundSchema: z.ZodNativeEnum< + typeof UpdateRecordDnsType +> = z.nativeEnum(UpdateRecordDnsType); + +/** @internal */ +export const UpdateRecordDnsType$outboundSchema: z.ZodNativeEnum< + typeof UpdateRecordDnsType +> = UpdateRecordDnsType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateRecordDnsType$ { + /** @deprecated use `UpdateRecordDnsType$inboundSchema` instead. */ + export const inboundSchema = UpdateRecordDnsType$inboundSchema; + /** @deprecated use `UpdateRecordDnsType$outboundSchema` instead. */ + export const outboundSchema = UpdateRecordDnsType$outboundSchema; +} + +/** @internal */ +export const UpdateRecordResponseBody$inboundSchema: z.ZodType< + UpdateRecordResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + createdAt: z.nullable(z.number()).optional(), + creator: z.string(), + domain: z.string(), + id: z.string(), + name: z.string(), + recordType: RecordType$inboundSchema, + ttl: z.number().optional(), + type: UpdateRecordDnsType$inboundSchema, + value: z.string(), + comment: z.string().optional(), +}); + +/** @internal */ +export type UpdateRecordResponseBody$Outbound = { + createdAt?: number | null | undefined; + creator: string; + domain: string; + id: string; + name: string; + recordType: string; + ttl?: number | undefined; + type: string; + value: string; + comment?: string | undefined; +}; + +/** @internal */ +export const UpdateRecordResponseBody$outboundSchema: z.ZodType< + UpdateRecordResponseBody$Outbound, + z.ZodTypeDef, + UpdateRecordResponseBody +> = z.object({ + createdAt: z.nullable(z.number()).optional(), + creator: z.string(), + domain: z.string(), + id: z.string(), + name: z.string(), + recordType: RecordType$outboundSchema, + ttl: z.number().optional(), + type: UpdateRecordDnsType$outboundSchema, + value: z.string(), + comment: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateRecordResponseBody$ { + /** @deprecated use `UpdateRecordResponseBody$inboundSchema` instead. */ + export const inboundSchema = UpdateRecordResponseBody$inboundSchema; + /** @deprecated use `UpdateRecordResponseBody$outboundSchema` instead. */ + export const outboundSchema = UpdateRecordResponseBody$outboundSchema; + /** @deprecated use `UpdateRecordResponseBody$Outbound` instead. */ + export type Outbound = UpdateRecordResponseBody$Outbound; +} + +export function updateRecordResponseBodyToJSON( + updateRecordResponseBody: UpdateRecordResponseBody, +): string { + return JSON.stringify( + UpdateRecordResponseBody$outboundSchema.parse(updateRecordResponseBody), + ); +} + +export function updateRecordResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateRecordResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateRecordResponseBody' from JSON`, + ); +} diff --git a/src/models/updateresourcesecretsop.ts b/src/models/updateresourcesecretsop.ts new file mode 100644 index 00000000..513345e6 --- /dev/null +++ b/src/models/updateresourcesecretsop.ts @@ -0,0 +1,208 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type Secrets = { + name: string; + value: string; + prefix?: string | undefined; +}; + +export type UpdateResourceSecretsRequestBody = { + secrets: Array; +}; + +export type UpdateResourceSecretsRequest = { + integrationConfigurationId: string; + integrationProductIdOrSlug: string; + resourceId: string; + requestBody: UpdateResourceSecretsRequestBody; +}; + +/** @internal */ +export const Secrets$inboundSchema: z.ZodType = + z.object({ + name: z.string(), + value: z.string(), + prefix: z.string().optional(), + }); + +/** @internal */ +export type Secrets$Outbound = { + name: string; + value: string; + prefix?: string | undefined; +}; + +/** @internal */ +export const Secrets$outboundSchema: z.ZodType< + Secrets$Outbound, + z.ZodTypeDef, + Secrets +> = z.object({ + name: z.string(), + value: z.string(), + prefix: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Secrets$ { + /** @deprecated use `Secrets$inboundSchema` instead. */ + export const inboundSchema = Secrets$inboundSchema; + /** @deprecated use `Secrets$outboundSchema` instead. */ + export const outboundSchema = Secrets$outboundSchema; + /** @deprecated use `Secrets$Outbound` instead. */ + export type Outbound = Secrets$Outbound; +} + +export function secretsToJSON(secrets: Secrets): string { + return JSON.stringify(Secrets$outboundSchema.parse(secrets)); +} + +export function secretsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Secrets$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Secrets' from JSON`, + ); +} + +/** @internal */ +export const UpdateResourceSecretsRequestBody$inboundSchema: z.ZodType< + UpdateResourceSecretsRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + secrets: z.array(z.lazy(() => Secrets$inboundSchema)), +}); + +/** @internal */ +export type UpdateResourceSecretsRequestBody$Outbound = { + secrets: Array; +}; + +/** @internal */ +export const UpdateResourceSecretsRequestBody$outboundSchema: z.ZodType< + UpdateResourceSecretsRequestBody$Outbound, + z.ZodTypeDef, + UpdateResourceSecretsRequestBody +> = z.object({ + secrets: z.array(z.lazy(() => Secrets$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateResourceSecretsRequestBody$ { + /** @deprecated use `UpdateResourceSecretsRequestBody$inboundSchema` instead. */ + export const inboundSchema = UpdateResourceSecretsRequestBody$inboundSchema; + /** @deprecated use `UpdateResourceSecretsRequestBody$outboundSchema` instead. */ + export const outboundSchema = UpdateResourceSecretsRequestBody$outboundSchema; + /** @deprecated use `UpdateResourceSecretsRequestBody$Outbound` instead. */ + export type Outbound = UpdateResourceSecretsRequestBody$Outbound; +} + +export function updateResourceSecretsRequestBodyToJSON( + updateResourceSecretsRequestBody: UpdateResourceSecretsRequestBody, +): string { + return JSON.stringify( + UpdateResourceSecretsRequestBody$outboundSchema.parse( + updateResourceSecretsRequestBody, + ), + ); +} + +export function updateResourceSecretsRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateResourceSecretsRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateResourceSecretsRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateResourceSecretsRequest$inboundSchema: z.ZodType< + UpdateResourceSecretsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), + integrationProductIdOrSlug: z.string(), + resourceId: z.string(), + RequestBody: z.lazy(() => UpdateResourceSecretsRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UpdateResourceSecretsRequest$Outbound = { + integrationConfigurationId: string; + integrationProductIdOrSlug: string; + resourceId: string; + RequestBody: UpdateResourceSecretsRequestBody$Outbound; +}; + +/** @internal */ +export const UpdateResourceSecretsRequest$outboundSchema: z.ZodType< + UpdateResourceSecretsRequest$Outbound, + z.ZodTypeDef, + UpdateResourceSecretsRequest +> = z.object({ + integrationConfigurationId: z.string(), + integrationProductIdOrSlug: z.string(), + resourceId: z.string(), + requestBody: z.lazy(() => UpdateResourceSecretsRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateResourceSecretsRequest$ { + /** @deprecated use `UpdateResourceSecretsRequest$inboundSchema` instead. */ + export const inboundSchema = UpdateResourceSecretsRequest$inboundSchema; + /** @deprecated use `UpdateResourceSecretsRequest$outboundSchema` instead. */ + export const outboundSchema = UpdateResourceSecretsRequest$outboundSchema; + /** @deprecated use `UpdateResourceSecretsRequest$Outbound` instead. */ + export type Outbound = UpdateResourceSecretsRequest$Outbound; +} + +export function updateResourceSecretsRequestToJSON( + updateResourceSecretsRequest: UpdateResourceSecretsRequest, +): string { + return JSON.stringify( + UpdateResourceSecretsRequest$outboundSchema.parse( + updateResourceSecretsRequest, + ), + ); +} + +export function updateResourceSecretsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateResourceSecretsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateResourceSecretsRequest' from JSON`, + ); +} diff --git a/src/models/updateteammemberop.ts b/src/models/updateteammemberop.ts new file mode 100644 index 00000000..69a539e4 --- /dev/null +++ b/src/models/updateteammemberop.ts @@ -0,0 +1,394 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * The project role of the member that will be added. \"null\" will remove this project level role. + */ +export const UpdateTeamMemberRole = { + Admin: "ADMIN", + ProjectViewer: "PROJECT_VIEWER", + ProjectDeveloper: "PROJECT_DEVELOPER", +} as const; +/** + * The project role of the member that will be added. \"null\" will remove this project level role. + */ +export type UpdateTeamMemberRole = ClosedEnum; + +export type UpdateTeamMemberProjects = { + /** + * The ID of the project. + */ + projectId: string; + /** + * The project role of the member that will be added. \"null\" will remove this project level role. + */ + role: UpdateTeamMemberRole | null; +}; + +export type UpdateTeamMemberJoinedFrom = { + ssoUserId?: any | null | undefined; +}; + +export type UpdateTeamMemberRequestBody = { + /** + * Accept a user who requested access to the team. + */ + confirmed?: boolean | undefined; + /** + * The role in the team of the member. + */ + role?: string | undefined; + projects?: Array | undefined; + joinedFrom?: UpdateTeamMemberJoinedFrom | undefined; +}; + +export type UpdateTeamMemberRequest = { + /** + * The ID of the member. + */ + uid: string; + teamId: string; + requestBody: UpdateTeamMemberRequestBody; +}; + +/** + * Successfully updated the membership. + */ +export type UpdateTeamMemberResponseBody = { + /** + * ID of the team. + */ + id: string; +}; + +/** @internal */ +export const UpdateTeamMemberRole$inboundSchema: z.ZodNativeEnum< + typeof UpdateTeamMemberRole +> = z.nativeEnum(UpdateTeamMemberRole); + +/** @internal */ +export const UpdateTeamMemberRole$outboundSchema: z.ZodNativeEnum< + typeof UpdateTeamMemberRole +> = UpdateTeamMemberRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateTeamMemberRole$ { + /** @deprecated use `UpdateTeamMemberRole$inboundSchema` instead. */ + export const inboundSchema = UpdateTeamMemberRole$inboundSchema; + /** @deprecated use `UpdateTeamMemberRole$outboundSchema` instead. */ + export const outboundSchema = UpdateTeamMemberRole$outboundSchema; +} + +/** @internal */ +export const UpdateTeamMemberProjects$inboundSchema: z.ZodType< + UpdateTeamMemberProjects, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string(), + role: z.nullable(UpdateTeamMemberRole$inboundSchema), +}); + +/** @internal */ +export type UpdateTeamMemberProjects$Outbound = { + projectId: string; + role: string | null; +}; + +/** @internal */ +export const UpdateTeamMemberProjects$outboundSchema: z.ZodType< + UpdateTeamMemberProjects$Outbound, + z.ZodTypeDef, + UpdateTeamMemberProjects +> = z.object({ + projectId: z.string(), + role: z.nullable(UpdateTeamMemberRole$outboundSchema), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateTeamMemberProjects$ { + /** @deprecated use `UpdateTeamMemberProjects$inboundSchema` instead. */ + export const inboundSchema = UpdateTeamMemberProjects$inboundSchema; + /** @deprecated use `UpdateTeamMemberProjects$outboundSchema` instead. */ + export const outboundSchema = UpdateTeamMemberProjects$outboundSchema; + /** @deprecated use `UpdateTeamMemberProjects$Outbound` instead. */ + export type Outbound = UpdateTeamMemberProjects$Outbound; +} + +export function updateTeamMemberProjectsToJSON( + updateTeamMemberProjects: UpdateTeamMemberProjects, +): string { + return JSON.stringify( + UpdateTeamMemberProjects$outboundSchema.parse(updateTeamMemberProjects), + ); +} + +export function updateTeamMemberProjectsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateTeamMemberProjects$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateTeamMemberProjects' from JSON`, + ); +} + +/** @internal */ +export const UpdateTeamMemberJoinedFrom$inboundSchema: z.ZodType< + UpdateTeamMemberJoinedFrom, + z.ZodTypeDef, + unknown +> = z.object({ + ssoUserId: z.nullable(z.any()).optional(), +}); + +/** @internal */ +export type UpdateTeamMemberJoinedFrom$Outbound = { + ssoUserId?: any | null | undefined; +}; + +/** @internal */ +export const UpdateTeamMemberJoinedFrom$outboundSchema: z.ZodType< + UpdateTeamMemberJoinedFrom$Outbound, + z.ZodTypeDef, + UpdateTeamMemberJoinedFrom +> = z.object({ + ssoUserId: z.nullable(z.any()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateTeamMemberJoinedFrom$ { + /** @deprecated use `UpdateTeamMemberJoinedFrom$inboundSchema` instead. */ + export const inboundSchema = UpdateTeamMemberJoinedFrom$inboundSchema; + /** @deprecated use `UpdateTeamMemberJoinedFrom$outboundSchema` instead. */ + export const outboundSchema = UpdateTeamMemberJoinedFrom$outboundSchema; + /** @deprecated use `UpdateTeamMemberJoinedFrom$Outbound` instead. */ + export type Outbound = UpdateTeamMemberJoinedFrom$Outbound; +} + +export function updateTeamMemberJoinedFromToJSON( + updateTeamMemberJoinedFrom: UpdateTeamMemberJoinedFrom, +): string { + return JSON.stringify( + UpdateTeamMemberJoinedFrom$outboundSchema.parse(updateTeamMemberJoinedFrom), + ); +} + +export function updateTeamMemberJoinedFromFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateTeamMemberJoinedFrom$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateTeamMemberJoinedFrom' from JSON`, + ); +} + +/** @internal */ +export const UpdateTeamMemberRequestBody$inboundSchema: z.ZodType< + UpdateTeamMemberRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + confirmed: z.boolean().optional(), + role: z.string().default("MEMBER"), + projects: z.array(z.lazy(() => UpdateTeamMemberProjects$inboundSchema)) + .optional(), + joinedFrom: z.lazy(() => UpdateTeamMemberJoinedFrom$inboundSchema).optional(), +}); + +/** @internal */ +export type UpdateTeamMemberRequestBody$Outbound = { + confirmed?: boolean | undefined; + role: string; + projects?: Array | undefined; + joinedFrom?: UpdateTeamMemberJoinedFrom$Outbound | undefined; +}; + +/** @internal */ +export const UpdateTeamMemberRequestBody$outboundSchema: z.ZodType< + UpdateTeamMemberRequestBody$Outbound, + z.ZodTypeDef, + UpdateTeamMemberRequestBody +> = z.object({ + confirmed: z.boolean().optional(), + role: z.string().default("MEMBER"), + projects: z.array(z.lazy(() => UpdateTeamMemberProjects$outboundSchema)) + .optional(), + joinedFrom: z.lazy(() => UpdateTeamMemberJoinedFrom$outboundSchema) + .optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateTeamMemberRequestBody$ { + /** @deprecated use `UpdateTeamMemberRequestBody$inboundSchema` instead. */ + export const inboundSchema = UpdateTeamMemberRequestBody$inboundSchema; + /** @deprecated use `UpdateTeamMemberRequestBody$outboundSchema` instead. */ + export const outboundSchema = UpdateTeamMemberRequestBody$outboundSchema; + /** @deprecated use `UpdateTeamMemberRequestBody$Outbound` instead. */ + export type Outbound = UpdateTeamMemberRequestBody$Outbound; +} + +export function updateTeamMemberRequestBodyToJSON( + updateTeamMemberRequestBody: UpdateTeamMemberRequestBody, +): string { + return JSON.stringify( + UpdateTeamMemberRequestBody$outboundSchema.parse( + updateTeamMemberRequestBody, + ), + ); +} + +export function updateTeamMemberRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateTeamMemberRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateTeamMemberRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateTeamMemberRequest$inboundSchema: z.ZodType< + UpdateTeamMemberRequest, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + teamId: z.string(), + RequestBody: z.lazy(() => UpdateTeamMemberRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UpdateTeamMemberRequest$Outbound = { + uid: string; + teamId: string; + RequestBody: UpdateTeamMemberRequestBody$Outbound; +}; + +/** @internal */ +export const UpdateTeamMemberRequest$outboundSchema: z.ZodType< + UpdateTeamMemberRequest$Outbound, + z.ZodTypeDef, + UpdateTeamMemberRequest +> = z.object({ + uid: z.string(), + teamId: z.string(), + requestBody: z.lazy(() => UpdateTeamMemberRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateTeamMemberRequest$ { + /** @deprecated use `UpdateTeamMemberRequest$inboundSchema` instead. */ + export const inboundSchema = UpdateTeamMemberRequest$inboundSchema; + /** @deprecated use `UpdateTeamMemberRequest$outboundSchema` instead. */ + export const outboundSchema = UpdateTeamMemberRequest$outboundSchema; + /** @deprecated use `UpdateTeamMemberRequest$Outbound` instead. */ + export type Outbound = UpdateTeamMemberRequest$Outbound; +} + +export function updateTeamMemberRequestToJSON( + updateTeamMemberRequest: UpdateTeamMemberRequest, +): string { + return JSON.stringify( + UpdateTeamMemberRequest$outboundSchema.parse(updateTeamMemberRequest), + ); +} + +export function updateTeamMemberRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateTeamMemberRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateTeamMemberRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateTeamMemberResponseBody$inboundSchema: z.ZodType< + UpdateTeamMemberResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +/** @internal */ +export type UpdateTeamMemberResponseBody$Outbound = { + id: string; +}; + +/** @internal */ +export const UpdateTeamMemberResponseBody$outboundSchema: z.ZodType< + UpdateTeamMemberResponseBody$Outbound, + z.ZodTypeDef, + UpdateTeamMemberResponseBody +> = z.object({ + id: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateTeamMemberResponseBody$ { + /** @deprecated use `UpdateTeamMemberResponseBody$inboundSchema` instead. */ + export const inboundSchema = UpdateTeamMemberResponseBody$inboundSchema; + /** @deprecated use `UpdateTeamMemberResponseBody$outboundSchema` instead. */ + export const outboundSchema = UpdateTeamMemberResponseBody$outboundSchema; + /** @deprecated use `UpdateTeamMemberResponseBody$Outbound` instead. */ + export type Outbound = UpdateTeamMemberResponseBody$Outbound; +} + +export function updateTeamMemberResponseBodyToJSON( + updateTeamMemberResponseBody: UpdateTeamMemberResponseBody, +): string { + return JSON.stringify( + UpdateTeamMemberResponseBody$outboundSchema.parse( + updateTeamMemberResponseBody, + ), + ); +} + +export function updateTeamMemberResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateTeamMemberResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateTeamMemberResponseBody' from JSON`, + ); +} diff --git a/src/models/uploadartifactop.ts b/src/models/uploadartifactop.ts new file mode 100644 index 00000000..6320f27f --- /dev/null +++ b/src/models/uploadartifactop.ts @@ -0,0 +1,215 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type UploadArtifactRequest = { + /** + * The artifact size in bytes + */ + contentLength: number; + /** + * The time taken to generate the uploaded artifact in milliseconds. + */ + xArtifactDuration?: number | undefined; + /** + * The continuous integration or delivery environment where this artifact was generated. + */ + xArtifactClientCi?: string | undefined; + /** + * 1 if the client is an interactive shell. Otherwise 0 + */ + xArtifactClientInteractive?: number | undefined; + /** + * The base64 encoded tag for this artifact. The value is sent back to clients when the artifact is downloaded as the header `x-artifact-tag` + */ + xArtifactTag?: string | undefined; + /** + * The artifact hash + */ + hash: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: ReadableStream | Blob | ArrayBuffer | Uint8Array; +}; + +/** + * File successfully uploaded + */ +export type UploadArtifactResponseBody = { + /** + * Array of URLs where the artifact was updated + */ + urls: Array; +}; + +/** @internal */ +export const UploadArtifactRequest$inboundSchema: z.ZodType< + UploadArtifactRequest, + z.ZodTypeDef, + unknown +> = z.object({ + "Content-Length": z.number(), + "x-artifact-duration": z.number().optional(), + "x-artifact-client-ci": z.string().optional(), + "x-artifact-client-interactive": z.number().int().optional(), + "x-artifact-tag": z.string().optional(), + hash: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.union([ + z.instanceof(ReadableStream), + z.instanceof(Blob), + z.instanceof(ArrayBuffer), + z.instanceof(Uint8Array), + ]), +}).transform((v) => { + return remap$(v, { + "Content-Length": "contentLength", + "x-artifact-duration": "xArtifactDuration", + "x-artifact-client-ci": "xArtifactClientCi", + "x-artifact-client-interactive": "xArtifactClientInteractive", + "x-artifact-tag": "xArtifactTag", + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UploadArtifactRequest$Outbound = { + "Content-Length": number; + "x-artifact-duration"?: number | undefined; + "x-artifact-client-ci"?: string | undefined; + "x-artifact-client-interactive"?: number | undefined; + "x-artifact-tag"?: string | undefined; + hash: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: ReadableStream | Blob | ArrayBuffer | Uint8Array; +}; + +/** @internal */ +export const UploadArtifactRequest$outboundSchema: z.ZodType< + UploadArtifactRequest$Outbound, + z.ZodTypeDef, + UploadArtifactRequest +> = z.object({ + contentLength: z.number(), + xArtifactDuration: z.number().optional(), + xArtifactClientCi: z.string().optional(), + xArtifactClientInteractive: z.number().int().optional(), + xArtifactTag: z.string().optional(), + hash: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.union([ + z.instanceof(ReadableStream), + z.instanceof(Blob), + z.instanceof(ArrayBuffer), + z.instanceof(Uint8Array), + ]), +}).transform((v) => { + return remap$(v, { + contentLength: "Content-Length", + xArtifactDuration: "x-artifact-duration", + xArtifactClientCi: "x-artifact-client-ci", + xArtifactClientInteractive: "x-artifact-client-interactive", + xArtifactTag: "x-artifact-tag", + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UploadArtifactRequest$ { + /** @deprecated use `UploadArtifactRequest$inboundSchema` instead. */ + export const inboundSchema = UploadArtifactRequest$inboundSchema; + /** @deprecated use `UploadArtifactRequest$outboundSchema` instead. */ + export const outboundSchema = UploadArtifactRequest$outboundSchema; + /** @deprecated use `UploadArtifactRequest$Outbound` instead. */ + export type Outbound = UploadArtifactRequest$Outbound; +} + +export function uploadArtifactRequestToJSON( + uploadArtifactRequest: UploadArtifactRequest, +): string { + return JSON.stringify( + UploadArtifactRequest$outboundSchema.parse(uploadArtifactRequest), + ); +} + +export function uploadArtifactRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UploadArtifactRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UploadArtifactRequest' from JSON`, + ); +} + +/** @internal */ +export const UploadArtifactResponseBody$inboundSchema: z.ZodType< + UploadArtifactResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + urls: z.array(z.string()), +}); + +/** @internal */ +export type UploadArtifactResponseBody$Outbound = { + urls: Array; +}; + +/** @internal */ +export const UploadArtifactResponseBody$outboundSchema: z.ZodType< + UploadArtifactResponseBody$Outbound, + z.ZodTypeDef, + UploadArtifactResponseBody +> = z.object({ + urls: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UploadArtifactResponseBody$ { + /** @deprecated use `UploadArtifactResponseBody$inboundSchema` instead. */ + export const inboundSchema = UploadArtifactResponseBody$inboundSchema; + /** @deprecated use `UploadArtifactResponseBody$outboundSchema` instead. */ + export const outboundSchema = UploadArtifactResponseBody$outboundSchema; + /** @deprecated use `UploadArtifactResponseBody$Outbound` instead. */ + export type Outbound = UploadArtifactResponseBody$Outbound; +} + +export function uploadArtifactResponseBodyToJSON( + uploadArtifactResponseBody: UploadArtifactResponseBody, +): string { + return JSON.stringify( + UploadArtifactResponseBody$outboundSchema.parse(uploadArtifactResponseBody), + ); +} + +export function uploadArtifactResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UploadArtifactResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UploadArtifactResponseBody' from JSON`, + ); +} diff --git a/src/models/uploadcertop.ts b/src/models/uploadcertop.ts new file mode 100644 index 00000000..11024d61 --- /dev/null +++ b/src/models/uploadcertop.ts @@ -0,0 +1,245 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type UploadCertRequestBody = { + /** + * The certificate authority + */ + ca: string; + /** + * The certificate key + */ + key: string; + /** + * The certificate + */ + cert: string; + /** + * Skip validation of the certificate + */ + skipValidation?: boolean | undefined; +}; + +export type UploadCertRequest = { + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody: UploadCertRequestBody; +}; + +export type UploadCertResponseBody = { + id: string; + createdAt: number; + expiresAt: number; + autoRenew: boolean; + cns: Array; +}; + +/** @internal */ +export const UploadCertRequestBody$inboundSchema: z.ZodType< + UploadCertRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + ca: z.string(), + key: z.string(), + cert: z.string(), + skipValidation: z.boolean().optional(), +}); + +/** @internal */ +export type UploadCertRequestBody$Outbound = { + ca: string; + key: string; + cert: string; + skipValidation?: boolean | undefined; +}; + +/** @internal */ +export const UploadCertRequestBody$outboundSchema: z.ZodType< + UploadCertRequestBody$Outbound, + z.ZodTypeDef, + UploadCertRequestBody +> = z.object({ + ca: z.string(), + key: z.string(), + cert: z.string(), + skipValidation: z.boolean().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UploadCertRequestBody$ { + /** @deprecated use `UploadCertRequestBody$inboundSchema` instead. */ + export const inboundSchema = UploadCertRequestBody$inboundSchema; + /** @deprecated use `UploadCertRequestBody$outboundSchema` instead. */ + export const outboundSchema = UploadCertRequestBody$outboundSchema; + /** @deprecated use `UploadCertRequestBody$Outbound` instead. */ + export type Outbound = UploadCertRequestBody$Outbound; +} + +export function uploadCertRequestBodyToJSON( + uploadCertRequestBody: UploadCertRequestBody, +): string { + return JSON.stringify( + UploadCertRequestBody$outboundSchema.parse(uploadCertRequestBody), + ); +} + +export function uploadCertRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UploadCertRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UploadCertRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UploadCertRequest$inboundSchema: z.ZodType< + UploadCertRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => UploadCertRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UploadCertRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody: UploadCertRequestBody$Outbound; +}; + +/** @internal */ +export const UploadCertRequest$outboundSchema: z.ZodType< + UploadCertRequest$Outbound, + z.ZodTypeDef, + UploadCertRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UploadCertRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UploadCertRequest$ { + /** @deprecated use `UploadCertRequest$inboundSchema` instead. */ + export const inboundSchema = UploadCertRequest$inboundSchema; + /** @deprecated use `UploadCertRequest$outboundSchema` instead. */ + export const outboundSchema = UploadCertRequest$outboundSchema; + /** @deprecated use `UploadCertRequest$Outbound` instead. */ + export type Outbound = UploadCertRequest$Outbound; +} + +export function uploadCertRequestToJSON( + uploadCertRequest: UploadCertRequest, +): string { + return JSON.stringify( + UploadCertRequest$outboundSchema.parse(uploadCertRequest), + ); +} + +export function uploadCertRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UploadCertRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UploadCertRequest' from JSON`, + ); +} + +/** @internal */ +export const UploadCertResponseBody$inboundSchema: z.ZodType< + UploadCertResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + createdAt: z.number(), + expiresAt: z.number(), + autoRenew: z.boolean(), + cns: z.array(z.string()), +}); + +/** @internal */ +export type UploadCertResponseBody$Outbound = { + id: string; + createdAt: number; + expiresAt: number; + autoRenew: boolean; + cns: Array; +}; + +/** @internal */ +export const UploadCertResponseBody$outboundSchema: z.ZodType< + UploadCertResponseBody$Outbound, + z.ZodTypeDef, + UploadCertResponseBody +> = z.object({ + id: z.string(), + createdAt: z.number(), + expiresAt: z.number(), + autoRenew: z.boolean(), + cns: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UploadCertResponseBody$ { + /** @deprecated use `UploadCertResponseBody$inboundSchema` instead. */ + export const inboundSchema = UploadCertResponseBody$inboundSchema; + /** @deprecated use `UploadCertResponseBody$outboundSchema` instead. */ + export const outboundSchema = UploadCertResponseBody$outboundSchema; + /** @deprecated use `UploadCertResponseBody$Outbound` instead. */ + export type Outbound = UploadCertResponseBody$Outbound; +} + +export function uploadCertResponseBodyToJSON( + uploadCertResponseBody: UploadCertResponseBody, +): string { + return JSON.stringify( + UploadCertResponseBody$outboundSchema.parse(uploadCertResponseBody), + ); +} + +export function uploadCertResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UploadCertResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UploadCertResponseBody' from JSON`, + ); +} diff --git a/src/models/uploadfileop.ts b/src/models/uploadfileop.ts new file mode 100644 index 00000000..0b8169a2 --- /dev/null +++ b/src/models/uploadfileop.ts @@ -0,0 +1,296 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type UploadFileRequest = { + /** + * The file size in bytes + */ + contentLength?: number | undefined; + /** + * The file SHA1 used to check the integrity + */ + xVercelDigest?: string | undefined; + /** + * The file SHA1 used to check the integrity + */ + xNowDigest?: string | undefined; + /** + * The file size as an alternative to `Content-Length` + */ + xNowSize?: number | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +export type UploadFileResponseBody2 = {}; + +export type UploadFileResponseBody1 = { + /** + * Array of URLs where the file was updated + */ + urls: Array; +}; + +/** + * File already uploaded + * + * @remarks + * File successfully uploaded + */ +export type UploadFileResponseBody = + | UploadFileResponseBody2 + | UploadFileResponseBody1; + +/** @internal */ +export const UploadFileRequest$inboundSchema: z.ZodType< + UploadFileRequest, + z.ZodTypeDef, + unknown +> = z.object({ + "Content-Length": z.number().optional(), + "x-vercel-digest": z.string().optional(), + "x-now-digest": z.string().optional(), + "x-now-size": z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}).transform((v) => { + return remap$(v, { + "Content-Length": "contentLength", + "x-vercel-digest": "xVercelDigest", + "x-now-digest": "xNowDigest", + "x-now-size": "xNowSize", + }); +}); + +/** @internal */ +export type UploadFileRequest$Outbound = { + "Content-Length"?: number | undefined; + "x-vercel-digest"?: string | undefined; + "x-now-digest"?: string | undefined; + "x-now-size"?: number | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const UploadFileRequest$outboundSchema: z.ZodType< + UploadFileRequest$Outbound, + z.ZodTypeDef, + UploadFileRequest +> = z.object({ + contentLength: z.number().optional(), + xVercelDigest: z.string().optional(), + xNowDigest: z.string().optional(), + xNowSize: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}).transform((v) => { + return remap$(v, { + contentLength: "Content-Length", + xVercelDigest: "x-vercel-digest", + xNowDigest: "x-now-digest", + xNowSize: "x-now-size", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UploadFileRequest$ { + /** @deprecated use `UploadFileRequest$inboundSchema` instead. */ + export const inboundSchema = UploadFileRequest$inboundSchema; + /** @deprecated use `UploadFileRequest$outboundSchema` instead. */ + export const outboundSchema = UploadFileRequest$outboundSchema; + /** @deprecated use `UploadFileRequest$Outbound` instead. */ + export type Outbound = UploadFileRequest$Outbound; +} + +export function uploadFileRequestToJSON( + uploadFileRequest: UploadFileRequest, +): string { + return JSON.stringify( + UploadFileRequest$outboundSchema.parse(uploadFileRequest), + ); +} + +export function uploadFileRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UploadFileRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UploadFileRequest' from JSON`, + ); +} + +/** @internal */ +export const UploadFileResponseBody2$inboundSchema: z.ZodType< + UploadFileResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type UploadFileResponseBody2$Outbound = {}; + +/** @internal */ +export const UploadFileResponseBody2$outboundSchema: z.ZodType< + UploadFileResponseBody2$Outbound, + z.ZodTypeDef, + UploadFileResponseBody2 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UploadFileResponseBody2$ { + /** @deprecated use `UploadFileResponseBody2$inboundSchema` instead. */ + export const inboundSchema = UploadFileResponseBody2$inboundSchema; + /** @deprecated use `UploadFileResponseBody2$outboundSchema` instead. */ + export const outboundSchema = UploadFileResponseBody2$outboundSchema; + /** @deprecated use `UploadFileResponseBody2$Outbound` instead. */ + export type Outbound = UploadFileResponseBody2$Outbound; +} + +export function uploadFileResponseBody2ToJSON( + uploadFileResponseBody2: UploadFileResponseBody2, +): string { + return JSON.stringify( + UploadFileResponseBody2$outboundSchema.parse(uploadFileResponseBody2), + ); +} + +export function uploadFileResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UploadFileResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UploadFileResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const UploadFileResponseBody1$inboundSchema: z.ZodType< + UploadFileResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + urls: z.array(z.string()), +}); + +/** @internal */ +export type UploadFileResponseBody1$Outbound = { + urls: Array; +}; + +/** @internal */ +export const UploadFileResponseBody1$outboundSchema: z.ZodType< + UploadFileResponseBody1$Outbound, + z.ZodTypeDef, + UploadFileResponseBody1 +> = z.object({ + urls: z.array(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UploadFileResponseBody1$ { + /** @deprecated use `UploadFileResponseBody1$inboundSchema` instead. */ + export const inboundSchema = UploadFileResponseBody1$inboundSchema; + /** @deprecated use `UploadFileResponseBody1$outboundSchema` instead. */ + export const outboundSchema = UploadFileResponseBody1$outboundSchema; + /** @deprecated use `UploadFileResponseBody1$Outbound` instead. */ + export type Outbound = UploadFileResponseBody1$Outbound; +} + +export function uploadFileResponseBody1ToJSON( + uploadFileResponseBody1: UploadFileResponseBody1, +): string { + return JSON.stringify( + UploadFileResponseBody1$outboundSchema.parse(uploadFileResponseBody1), + ); +} + +export function uploadFileResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UploadFileResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UploadFileResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const UploadFileResponseBody$inboundSchema: z.ZodType< + UploadFileResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UploadFileResponseBody2$inboundSchema), + z.lazy(() => UploadFileResponseBody1$inboundSchema), +]); + +/** @internal */ +export type UploadFileResponseBody$Outbound = + | UploadFileResponseBody2$Outbound + | UploadFileResponseBody1$Outbound; + +/** @internal */ +export const UploadFileResponseBody$outboundSchema: z.ZodType< + UploadFileResponseBody$Outbound, + z.ZodTypeDef, + UploadFileResponseBody +> = z.union([ + z.lazy(() => UploadFileResponseBody2$outboundSchema), + z.lazy(() => UploadFileResponseBody1$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UploadFileResponseBody$ { + /** @deprecated use `UploadFileResponseBody$inboundSchema` instead. */ + export const inboundSchema = UploadFileResponseBody$inboundSchema; + /** @deprecated use `UploadFileResponseBody$outboundSchema` instead. */ + export const outboundSchema = UploadFileResponseBody$outboundSchema; + /** @deprecated use `UploadFileResponseBody$Outbound` instead. */ + export type Outbound = UploadFileResponseBody$Outbound; +} + +export function uploadFileResponseBodyToJSON( + uploadFileResponseBody: UploadFileResponseBody, +): string { + return JSON.stringify( + UploadFileResponseBody$outboundSchema.parse(uploadFileResponseBody), + ); +} + +export function uploadFileResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UploadFileResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UploadFileResponseBody' from JSON`, + ); +} diff --git a/src/models/components/userevent.ts b/src/models/userevent.ts similarity index 88% rename from src/models/components/userevent.ts rename to src/models/userevent.ts index 4a471bf8..938fe232 100644 --- a/src/models/components/userevent.ts +++ b/src/models/userevent.ts @@ -3,9 +3,9 @@ */ import * as z from "zod"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; /** * Array of events generated by the User. diff --git a/src/models/vercelbadrequesterror.ts b/src/models/vercelbadrequesterror.ts new file mode 100644 index 00000000..cc724123 --- /dev/null +++ b/src/models/vercelbadrequesterror.ts @@ -0,0 +1,136 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type ErrorT = { + code?: "bad_request" | undefined; + message?: + | "One of the provided values in the request query, body or headers is invalid" + | undefined; +}; + +export type VercelBadRequestErrorData = { + error: ErrorT; +}; + +export class VercelBadRequestError extends Error { + error: ErrorT; + + /** The original data that was passed to this error instance. */ + data$: VercelBadRequestErrorData; + + constructor(err: VercelBadRequestErrorData) { + const message = "message" in err && typeof err.message === "string" + ? err.message + : `API error occurred: ${JSON.stringify(err)}`; + super(message); + this.data$ = err; + + this.error = err.error; + + this.name = "VercelBadRequestError"; + } +} + +/** @internal */ +export const ErrorT$inboundSchema: z.ZodType = z + .object({ + code: z.literal("bad_request").optional(), + message: z.literal( + "One of the provided values in the request query, body or headers is invalid", + ).optional(), + }); + +/** @internal */ +export type ErrorT$Outbound = { + code: "bad_request"; + message: + "One of the provided values in the request query, body or headers is invalid"; +}; + +/** @internal */ +export const ErrorT$outboundSchema: z.ZodType< + ErrorT$Outbound, + z.ZodTypeDef, + ErrorT +> = z.object({ + code: z.literal("bad_request").default("bad_request" as const), + message: z.literal( + "One of the provided values in the request query, body or headers is invalid", + ).default( + "One of the provided values in the request query, body or headers is invalid" as const, + ), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ErrorT$ { + /** @deprecated use `ErrorT$inboundSchema` instead. */ + export const inboundSchema = ErrorT$inboundSchema; + /** @deprecated use `ErrorT$outboundSchema` instead. */ + export const outboundSchema = ErrorT$outboundSchema; + /** @deprecated use `ErrorT$Outbound` instead. */ + export type Outbound = ErrorT$Outbound; +} + +export function errorToJSON(errorT: ErrorT): string { + return JSON.stringify(ErrorT$outboundSchema.parse(errorT)); +} + +export function errorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ErrorT$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ErrorT' from JSON`, + ); +} + +/** @internal */ +export const VercelBadRequestError$inboundSchema: z.ZodType< + VercelBadRequestError, + z.ZodTypeDef, + unknown +> = z.object({ + error: z.lazy(() => ErrorT$inboundSchema), +}) + .transform((v) => { + return new VercelBadRequestError(v); + }); + +/** @internal */ +export type VercelBadRequestError$Outbound = { + error: ErrorT$Outbound; +}; + +/** @internal */ +export const VercelBadRequestError$outboundSchema: z.ZodType< + VercelBadRequestError$Outbound, + z.ZodTypeDef, + VercelBadRequestError +> = z.instanceof(VercelBadRequestError) + .transform(v => v.data$) + .pipe(z.object({ + error: z.lazy(() => ErrorT$outboundSchema), + })); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace VercelBadRequestError$ { + /** @deprecated use `VercelBadRequestError$inboundSchema` instead. */ + export const inboundSchema = VercelBadRequestError$inboundSchema; + /** @deprecated use `VercelBadRequestError$outboundSchema` instead. */ + export const outboundSchema = VercelBadRequestError$outboundSchema; + /** @deprecated use `VercelBadRequestError$Outbound` instead. */ + export type Outbound = VercelBadRequestError$Outbound; +} diff --git a/src/models/vercelforbiddenerror.ts b/src/models/vercelforbiddenerror.ts new file mode 100644 index 00000000..81e63257 --- /dev/null +++ b/src/models/vercelforbiddenerror.ts @@ -0,0 +1,134 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type VercelForbiddenErrorError = { + code?: "forbidden" | undefined; + message: string; +}; + +export type VercelForbiddenErrorData = { + error: VercelForbiddenErrorError; +}; + +export class VercelForbiddenError extends Error { + error: VercelForbiddenErrorError; + + /** The original data that was passed to this error instance. */ + data$: VercelForbiddenErrorData; + + constructor(err: VercelForbiddenErrorData) { + const message = "message" in err && typeof err.message === "string" + ? err.message + : `API error occurred: ${JSON.stringify(err)}`; + super(message); + this.data$ = err; + + this.error = err.error; + + this.name = "VercelForbiddenError"; + } +} + +/** @internal */ +export const VercelForbiddenErrorError$inboundSchema: z.ZodType< + VercelForbiddenErrorError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.literal("forbidden").optional(), + message: z.string(), +}); + +/** @internal */ +export type VercelForbiddenErrorError$Outbound = { + code: "forbidden"; + message: string; +}; + +/** @internal */ +export const VercelForbiddenErrorError$outboundSchema: z.ZodType< + VercelForbiddenErrorError$Outbound, + z.ZodTypeDef, + VercelForbiddenErrorError +> = z.object({ + code: z.literal("forbidden").default("forbidden" as const), + message: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace VercelForbiddenErrorError$ { + /** @deprecated use `VercelForbiddenErrorError$inboundSchema` instead. */ + export const inboundSchema = VercelForbiddenErrorError$inboundSchema; + /** @deprecated use `VercelForbiddenErrorError$outboundSchema` instead. */ + export const outboundSchema = VercelForbiddenErrorError$outboundSchema; + /** @deprecated use `VercelForbiddenErrorError$Outbound` instead. */ + export type Outbound = VercelForbiddenErrorError$Outbound; +} + +export function vercelForbiddenErrorErrorToJSON( + vercelForbiddenErrorError: VercelForbiddenErrorError, +): string { + return JSON.stringify( + VercelForbiddenErrorError$outboundSchema.parse(vercelForbiddenErrorError), + ); +} + +export function vercelForbiddenErrorErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VercelForbiddenErrorError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VercelForbiddenErrorError' from JSON`, + ); +} + +/** @internal */ +export const VercelForbiddenError$inboundSchema: z.ZodType< + VercelForbiddenError, + z.ZodTypeDef, + unknown +> = z.object({ + error: z.lazy(() => VercelForbiddenErrorError$inboundSchema), +}) + .transform((v) => { + return new VercelForbiddenError(v); + }); + +/** @internal */ +export type VercelForbiddenError$Outbound = { + error: VercelForbiddenErrorError$Outbound; +}; + +/** @internal */ +export const VercelForbiddenError$outboundSchema: z.ZodType< + VercelForbiddenError$Outbound, + z.ZodTypeDef, + VercelForbiddenError +> = z.instanceof(VercelForbiddenError) + .transform(v => v.data$) + .pipe(z.object({ + error: z.lazy(() => VercelForbiddenErrorError$outboundSchema), + })); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace VercelForbiddenError$ { + /** @deprecated use `VercelForbiddenError$inboundSchema` instead. */ + export const inboundSchema = VercelForbiddenError$inboundSchema; + /** @deprecated use `VercelForbiddenError$outboundSchema` instead. */ + export const outboundSchema = VercelForbiddenError$outboundSchema; + /** @deprecated use `VercelForbiddenError$Outbound` instead. */ + export type Outbound = VercelForbiddenError$Outbound; +} diff --git a/src/models/vercelnotfounderror.ts b/src/models/vercelnotfounderror.ts new file mode 100644 index 00000000..a6f182bc --- /dev/null +++ b/src/models/vercelnotfounderror.ts @@ -0,0 +1,136 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type VercelNotFoundErrorError = { + code?: "not_found" | undefined; + message?: "The item you requested was not found" | undefined; +}; + +export type VercelNotFoundErrorData = { + error: VercelNotFoundErrorError; +}; + +export class VercelNotFoundError extends Error { + error: VercelNotFoundErrorError; + + /** The original data that was passed to this error instance. */ + data$: VercelNotFoundErrorData; + + constructor(err: VercelNotFoundErrorData) { + const message = "message" in err && typeof err.message === "string" + ? err.message + : `API error occurred: ${JSON.stringify(err)}`; + super(message); + this.data$ = err; + + this.error = err.error; + + this.name = "VercelNotFoundError"; + } +} + +/** @internal */ +export const VercelNotFoundErrorError$inboundSchema: z.ZodType< + VercelNotFoundErrorError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.literal("not_found").optional(), + message: z.literal("The item you requested was not found").optional(), +}); + +/** @internal */ +export type VercelNotFoundErrorError$Outbound = { + code: "not_found"; + message: "The item you requested was not found"; +}; + +/** @internal */ +export const VercelNotFoundErrorError$outboundSchema: z.ZodType< + VercelNotFoundErrorError$Outbound, + z.ZodTypeDef, + VercelNotFoundErrorError +> = z.object({ + code: z.literal("not_found").default("not_found" as const), + message: z.literal("The item you requested was not found").default( + "The item you requested was not found" as const, + ), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace VercelNotFoundErrorError$ { + /** @deprecated use `VercelNotFoundErrorError$inboundSchema` instead. */ + export const inboundSchema = VercelNotFoundErrorError$inboundSchema; + /** @deprecated use `VercelNotFoundErrorError$outboundSchema` instead. */ + export const outboundSchema = VercelNotFoundErrorError$outboundSchema; + /** @deprecated use `VercelNotFoundErrorError$Outbound` instead. */ + export type Outbound = VercelNotFoundErrorError$Outbound; +} + +export function vercelNotFoundErrorErrorToJSON( + vercelNotFoundErrorError: VercelNotFoundErrorError, +): string { + return JSON.stringify( + VercelNotFoundErrorError$outboundSchema.parse(vercelNotFoundErrorError), + ); +} + +export function vercelNotFoundErrorErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VercelNotFoundErrorError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VercelNotFoundErrorError' from JSON`, + ); +} + +/** @internal */ +export const VercelNotFoundError$inboundSchema: z.ZodType< + VercelNotFoundError, + z.ZodTypeDef, + unknown +> = z.object({ + error: z.lazy(() => VercelNotFoundErrorError$inboundSchema), +}) + .transform((v) => { + return new VercelNotFoundError(v); + }); + +/** @internal */ +export type VercelNotFoundError$Outbound = { + error: VercelNotFoundErrorError$Outbound; +}; + +/** @internal */ +export const VercelNotFoundError$outboundSchema: z.ZodType< + VercelNotFoundError$Outbound, + z.ZodTypeDef, + VercelNotFoundError +> = z.instanceof(VercelNotFoundError) + .transform(v => v.data$) + .pipe(z.object({ + error: z.lazy(() => VercelNotFoundErrorError$outboundSchema), + })); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace VercelNotFoundError$ { + /** @deprecated use `VercelNotFoundError$inboundSchema` instead. */ + export const inboundSchema = VercelNotFoundError$inboundSchema; + /** @deprecated use `VercelNotFoundError$outboundSchema` instead. */ + export const outboundSchema = VercelNotFoundError$outboundSchema; + /** @deprecated use `VercelNotFoundError$Outbound` instead. */ + export type Outbound = VercelNotFoundError$Outbound; +} diff --git a/src/models/vercelratelimiterror.ts b/src/models/vercelratelimiterror.ts new file mode 100644 index 00000000..a696cec6 --- /dev/null +++ b/src/models/vercelratelimiterror.ts @@ -0,0 +1,144 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + RateLimitNotice, + RateLimitNotice$inboundSchema, + RateLimitNotice$Outbound, + RateLimitNotice$outboundSchema, +} from "./ratelimitnotice.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type VercelRateLimitErrorError = { + code?: "rate_limited" | undefined; + message: string; + limit?: RateLimitNotice | undefined; +}; + +export type VercelRateLimitErrorData = { + error: VercelRateLimitErrorError; +}; + +export class VercelRateLimitError extends Error { + error: VercelRateLimitErrorError; + + /** The original data that was passed to this error instance. */ + data$: VercelRateLimitErrorData; + + constructor(err: VercelRateLimitErrorData) { + const message = "message" in err && typeof err.message === "string" + ? err.message + : `API error occurred: ${JSON.stringify(err)}`; + super(message); + this.data$ = err; + + this.error = err.error; + + this.name = "VercelRateLimitError"; + } +} + +/** @internal */ +export const VercelRateLimitErrorError$inboundSchema: z.ZodType< + VercelRateLimitErrorError, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.literal("rate_limited").optional(), + message: z.string(), + limit: RateLimitNotice$inboundSchema.optional(), +}); + +/** @internal */ +export type VercelRateLimitErrorError$Outbound = { + code: "rate_limited"; + message: string; + limit?: RateLimitNotice$Outbound | undefined; +}; + +/** @internal */ +export const VercelRateLimitErrorError$outboundSchema: z.ZodType< + VercelRateLimitErrorError$Outbound, + z.ZodTypeDef, + VercelRateLimitErrorError +> = z.object({ + code: z.literal("rate_limited").default("rate_limited" as const), + message: z.string(), + limit: RateLimitNotice$outboundSchema.optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace VercelRateLimitErrorError$ { + /** @deprecated use `VercelRateLimitErrorError$inboundSchema` instead. */ + export const inboundSchema = VercelRateLimitErrorError$inboundSchema; + /** @deprecated use `VercelRateLimitErrorError$outboundSchema` instead. */ + export const outboundSchema = VercelRateLimitErrorError$outboundSchema; + /** @deprecated use `VercelRateLimitErrorError$Outbound` instead. */ + export type Outbound = VercelRateLimitErrorError$Outbound; +} + +export function vercelRateLimitErrorErrorToJSON( + vercelRateLimitErrorError: VercelRateLimitErrorError, +): string { + return JSON.stringify( + VercelRateLimitErrorError$outboundSchema.parse(vercelRateLimitErrorError), + ); +} + +export function vercelRateLimitErrorErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VercelRateLimitErrorError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VercelRateLimitErrorError' from JSON`, + ); +} + +/** @internal */ +export const VercelRateLimitError$inboundSchema: z.ZodType< + VercelRateLimitError, + z.ZodTypeDef, + unknown +> = z.object({ + error: z.lazy(() => VercelRateLimitErrorError$inboundSchema), +}) + .transform((v) => { + return new VercelRateLimitError(v); + }); + +/** @internal */ +export type VercelRateLimitError$Outbound = { + error: VercelRateLimitErrorError$Outbound; +}; + +/** @internal */ +export const VercelRateLimitError$outboundSchema: z.ZodType< + VercelRateLimitError$Outbound, + z.ZodTypeDef, + VercelRateLimitError +> = z.instanceof(VercelRateLimitError) + .transform(v => v.data$) + .pipe(z.object({ + error: z.lazy(() => VercelRateLimitErrorError$outboundSchema), + })); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace VercelRateLimitError$ { + /** @deprecated use `VercelRateLimitError$inboundSchema` instead. */ + export const inboundSchema = VercelRateLimitError$inboundSchema; + /** @deprecated use `VercelRateLimitError$outboundSchema` instead. */ + export const outboundSchema = VercelRateLimitError$outboundSchema; + /** @deprecated use `VercelRateLimitError$Outbound` instead. */ + export type Outbound = VercelRateLimitError$Outbound; +} diff --git a/src/models/verifyprojectdomainop.ts b/src/models/verifyprojectdomainop.ts new file mode 100644 index 00000000..f744c761 --- /dev/null +++ b/src/models/verifyprojectdomainop.ts @@ -0,0 +1,281 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type VerifyProjectDomainRequest = { + /** + * The unique project identifier or the project name + */ + idOrName: string; + /** + * The domain name you want to verify + */ + domain: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. + */ +export type VerifyProjectDomainVerification = { + type: string; + domain: string; + value: string; + reason: string; +}; + +/** + * The project domain was verified successfully + * + * @remarks + * Domain is already verified + */ +export type VerifyProjectDomainResponseBody = { + name: string; + apexName: string; + projectId: string; + redirect?: string | null | undefined; + redirectStatusCode?: number | null | undefined; + gitBranch?: string | null | undefined; + customEnvironmentId?: string | null | undefined; + updatedAt?: number | undefined; + createdAt?: number | undefined; + /** + * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. + */ + verified: boolean; + /** + * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. + */ + verification?: Array | undefined; +}; + +/** @internal */ +export const VerifyProjectDomainRequest$inboundSchema: z.ZodType< + VerifyProjectDomainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type VerifyProjectDomainRequest$Outbound = { + idOrName: string; + domain: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const VerifyProjectDomainRequest$outboundSchema: z.ZodType< + VerifyProjectDomainRequest$Outbound, + z.ZodTypeDef, + VerifyProjectDomainRequest +> = z.object({ + idOrName: z.string(), + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace VerifyProjectDomainRequest$ { + /** @deprecated use `VerifyProjectDomainRequest$inboundSchema` instead. */ + export const inboundSchema = VerifyProjectDomainRequest$inboundSchema; + /** @deprecated use `VerifyProjectDomainRequest$outboundSchema` instead. */ + export const outboundSchema = VerifyProjectDomainRequest$outboundSchema; + /** @deprecated use `VerifyProjectDomainRequest$Outbound` instead. */ + export type Outbound = VerifyProjectDomainRequest$Outbound; +} + +export function verifyProjectDomainRequestToJSON( + verifyProjectDomainRequest: VerifyProjectDomainRequest, +): string { + return JSON.stringify( + VerifyProjectDomainRequest$outboundSchema.parse(verifyProjectDomainRequest), + ); +} + +export function verifyProjectDomainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VerifyProjectDomainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VerifyProjectDomainRequest' from JSON`, + ); +} + +/** @internal */ +export const VerifyProjectDomainVerification$inboundSchema: z.ZodType< + VerifyProjectDomainVerification, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + domain: z.string(), + value: z.string(), + reason: z.string(), +}); + +/** @internal */ +export type VerifyProjectDomainVerification$Outbound = { + type: string; + domain: string; + value: string; + reason: string; +}; + +/** @internal */ +export const VerifyProjectDomainVerification$outboundSchema: z.ZodType< + VerifyProjectDomainVerification$Outbound, + z.ZodTypeDef, + VerifyProjectDomainVerification +> = z.object({ + type: z.string(), + domain: z.string(), + value: z.string(), + reason: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace VerifyProjectDomainVerification$ { + /** @deprecated use `VerifyProjectDomainVerification$inboundSchema` instead. */ + export const inboundSchema = VerifyProjectDomainVerification$inboundSchema; + /** @deprecated use `VerifyProjectDomainVerification$outboundSchema` instead. */ + export const outboundSchema = VerifyProjectDomainVerification$outboundSchema; + /** @deprecated use `VerifyProjectDomainVerification$Outbound` instead. */ + export type Outbound = VerifyProjectDomainVerification$Outbound; +} + +export function verifyProjectDomainVerificationToJSON( + verifyProjectDomainVerification: VerifyProjectDomainVerification, +): string { + return JSON.stringify( + VerifyProjectDomainVerification$outboundSchema.parse( + verifyProjectDomainVerification, + ), + ); +} + +export function verifyProjectDomainVerificationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VerifyProjectDomainVerification$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VerifyProjectDomainVerification' from JSON`, + ); +} + +/** @internal */ +export const VerifyProjectDomainResponseBody$inboundSchema: z.ZodType< + VerifyProjectDomainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + apexName: z.string(), + projectId: z.string(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(z.number()).optional(), + gitBranch: z.nullable(z.string()).optional(), + customEnvironmentId: z.nullable(z.string()).optional(), + updatedAt: z.number().optional(), + createdAt: z.number().optional(), + verified: z.boolean(), + verification: z.array( + z.lazy(() => VerifyProjectDomainVerification$inboundSchema), + ).optional(), +}); + +/** @internal */ +export type VerifyProjectDomainResponseBody$Outbound = { + name: string; + apexName: string; + projectId: string; + redirect?: string | null | undefined; + redirectStatusCode?: number | null | undefined; + gitBranch?: string | null | undefined; + customEnvironmentId?: string | null | undefined; + updatedAt?: number | undefined; + createdAt?: number | undefined; + verified: boolean; + verification?: Array | undefined; +}; + +/** @internal */ +export const VerifyProjectDomainResponseBody$outboundSchema: z.ZodType< + VerifyProjectDomainResponseBody$Outbound, + z.ZodTypeDef, + VerifyProjectDomainResponseBody +> = z.object({ + name: z.string(), + apexName: z.string(), + projectId: z.string(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(z.number()).optional(), + gitBranch: z.nullable(z.string()).optional(), + customEnvironmentId: z.nullable(z.string()).optional(), + updatedAt: z.number().optional(), + createdAt: z.number().optional(), + verified: z.boolean(), + verification: z.array( + z.lazy(() => VerifyProjectDomainVerification$outboundSchema), + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace VerifyProjectDomainResponseBody$ { + /** @deprecated use `VerifyProjectDomainResponseBody$inboundSchema` instead. */ + export const inboundSchema = VerifyProjectDomainResponseBody$inboundSchema; + /** @deprecated use `VerifyProjectDomainResponseBody$outboundSchema` instead. */ + export const outboundSchema = VerifyProjectDomainResponseBody$outboundSchema; + /** @deprecated use `VerifyProjectDomainResponseBody$Outbound` instead. */ + export type Outbound = VerifyProjectDomainResponseBody$Outbound; +} + +export function verifyProjectDomainResponseBodyToJSON( + verifyProjectDomainResponseBody: VerifyProjectDomainResponseBody, +): string { + return JSON.stringify( + VerifyProjectDomainResponseBody$outboundSchema.parse( + verifyProjectDomainResponseBody, + ), + ); +} + +export function verifyProjectDomainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VerifyProjectDomainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VerifyProjectDomainResponseBody' from JSON`, + ); +} diff --git a/src/sdk/accessgroups.ts b/src/sdk/accessgroups.ts index f3992c22..2dadd55c 100644 --- a/src/sdk/accessgroups.ts +++ b/src/sdk/accessgroups.ts @@ -17,41 +17,41 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { CreateAccessGroupRequest, CreateAccessGroupResponseBody, -} from "../models/operations/createaccessgroup.js"; +} from "../models/createaccessgroupop.js"; import { CreateAccessGroupProjectRequest, CreateAccessGroupProjectResponseBody, -} from "../models/operations/createaccessgroupproject.js"; -import { DeleteAccessGroupRequest } from "../models/operations/deleteaccessgroup.js"; -import { DeleteAccessGroupProjectRequest } from "../models/operations/deleteaccessgroupproject.js"; +} from "../models/createaccessgroupprojectop.js"; +import { DeleteAccessGroupRequest } from "../models/deleteaccessgroupop.js"; +import { DeleteAccessGroupProjectRequest } from "../models/deleteaccessgroupprojectop.js"; import { ListAccessGroupMembersRequest, ListAccessGroupMembersResponseBody, -} from "../models/operations/listaccessgroupmembers.js"; +} from "../models/listaccessgroupmembersop.js"; import { ListAccessGroupProjectsRequest, ListAccessGroupProjectsResponseBody, -} from "../models/operations/listaccessgroupprojects.js"; +} from "../models/listaccessgroupprojectsop.js"; import { ListAccessGroupsRequest, ListAccessGroupsResponseBody, -} from "../models/operations/listaccessgroups.js"; +} from "../models/listaccessgroupsop.js"; import { ReadAccessGroupRequest, ReadAccessGroupResponseBody, -} from "../models/operations/readaccessgroup.js"; +} from "../models/readaccessgroupop.js"; import { ReadAccessGroupProjectRequest, ReadAccessGroupProjectResponseBody, -} from "../models/operations/readaccessgroupproject.js"; +} from "../models/readaccessgroupprojectop.js"; import { UpdateAccessGroupRequest, UpdateAccessGroupResponseBody, -} from "../models/operations/updateaccessgroup.js"; +} from "../models/updateaccessgroupop.js"; import { UpdateAccessGroupProjectRequest, UpdateAccessGroupProjectResponseBody, -} from "../models/operations/updateaccessgroupproject.js"; +} from "../models/updateaccessgroupprojectop.js"; import { unwrapAsync } from "../types/fp.js"; export class AccessGroups extends ClientSDK { diff --git a/src/sdk/aliases.ts b/src/sdk/aliases.ts index 13631eb5..bb96ad59 100644 --- a/src/sdk/aliases.ts +++ b/src/sdk/aliases.ts @@ -11,23 +11,20 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { AssignAliasRequest, AssignAliasResponseBody, -} from "../models/operations/assignalias.js"; +} from "../models/assignaliasop.js"; import { DeleteAliasRequest, DeleteAliasResponseBody, -} from "../models/operations/deletealias.js"; -import { - GetAliasRequest, - GetAliasResponseBody, -} from "../models/operations/getalias.js"; +} from "../models/deletealiasop.js"; +import { GetAliasRequest, GetAliasResponseBody } from "../models/getaliasop.js"; import { ListAliasesRequest, ListAliasesResponseBody, -} from "../models/operations/listaliases.js"; +} from "../models/listaliasesop.js"; import { ListDeploymentAliasesRequest, ListDeploymentAliasesResponseBody, -} from "../models/operations/listdeploymentaliases.js"; +} from "../models/listdeploymentaliasesop.js"; import { unwrapAsync } from "../types/fp.js"; export class Aliases extends ClientSDK { diff --git a/src/sdk/artifacts.ts b/src/sdk/artifacts.ts index dad9ee01..6d577989 100644 --- a/src/sdk/artifacts.ts +++ b/src/sdk/artifacts.ts @@ -9,21 +9,18 @@ import { artifactsRecordEvents } from "../funcs/artifactsRecordEvents.js"; import { artifactsStatus } from "../funcs/artifactsStatus.js"; import { artifactsUploadArtifact } from "../funcs/artifactsUploadArtifact.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import { ArtifactExistsRequest } from "../models/operations/artifactexists.js"; +import { ArtifactExistsRequest } from "../models/artifactexistsop.js"; import { ArtifactQueryRequest, ResponseBody, -} from "../models/operations/artifactquery.js"; -import { DownloadArtifactRequest } from "../models/operations/downloadartifact.js"; -import { RecordEventsRequest } from "../models/operations/recordevents.js"; -import { - StatusRequest, - StatusResponseBody, -} from "../models/operations/status.js"; +} from "../models/artifactqueryop.js"; +import { DownloadArtifactRequest } from "../models/downloadartifactop.js"; +import { RecordEventsRequest } from "../models/recordeventsop.js"; +import { StatusRequest, StatusResponseBody } from "../models/statusop.js"; import { UploadArtifactRequest, UploadArtifactResponseBody, -} from "../models/operations/uploadartifact.js"; +} from "../models/uploadartifactop.js"; import { unwrapAsync } from "../types/fp.js"; export class Artifacts extends ClientSDK { diff --git a/src/sdk/authentication.ts b/src/sdk/authentication.ts index eaf2eee4..0eeef59e 100644 --- a/src/sdk/authentication.ts +++ b/src/sdk/authentication.ts @@ -11,20 +11,20 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { CreateAuthTokenRequest, CreateAuthTokenResponseBody, -} from "../models/operations/createauthtoken.js"; +} from "../models/createauthtokenop.js"; import { DeleteAuthTokenRequest, DeleteAuthTokenResponseBody, -} from "../models/operations/deleteauthtoken.js"; +} from "../models/deleteauthtokenop.js"; import { ExchangeSsoTokenRequestBody, ExchangeSsoTokenResponseBody, -} from "../models/operations/exchangessotoken.js"; +} from "../models/exchangessotokenop.js"; import { GetAuthTokenRequest, GetAuthTokenResponseBody, -} from "../models/operations/getauthtoken.js"; -import { ListAuthTokensResponseBody } from "../models/operations/listauthtokens.js"; +} from "../models/getauthtokenop.js"; +import { ListAuthTokensResponseBody } from "../models/listauthtokensop.js"; import { unwrapAsync } from "../types/fp.js"; export class Authentication extends ClientSDK { @@ -35,7 +35,7 @@ export class Authentication extends ClientSDK { * During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization `code` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. This is used to verify the identity of the user during the [**Open in Provider** flow](https://vercel.com/docs/integrations/marketplace-flows#open-in-provider-button-flow). Providers should not persist the returned `id_token` in a database since the token will expire. */ async exchangeSsoToken( - request?: ExchangeSsoTokenRequestBody | undefined, + request: ExchangeSsoTokenRequestBody, options?: RequestOptions, ): Promise { return unwrapAsync(authenticationExchangeSsoToken( diff --git a/src/sdk/certs.ts b/src/sdk/certs.ts index a5fe7afc..5d3ad0ad 100644 --- a/src/sdk/certs.ts +++ b/src/sdk/certs.ts @@ -10,19 +10,19 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { GetCertByIdRequest, GetCertByIdResponseBody, -} from "../models/operations/getcertbyid.js"; +} from "../models/getcertbyidop.js"; import { IssueCertRequest, IssueCertResponseBody, -} from "../models/operations/issuecert.js"; +} from "../models/issuecertop.js"; import { RemoveCertRequest, RemoveCertResponseBody, -} from "../models/operations/removecert.js"; +} from "../models/removecertop.js"; import { UploadCertRequest, UploadCertResponseBody, -} from "../models/operations/uploadcert.js"; +} from "../models/uploadcertop.js"; import { unwrapAsync } from "../types/fp.js"; export class Certs extends ClientSDK { diff --git a/src/sdk/checks.ts b/src/sdk/checks.ts index 4d961f86..75266969 100644 --- a/src/sdk/checks.ts +++ b/src/sdk/checks.ts @@ -11,23 +11,20 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { CreateCheckRequest, CreateCheckResponseBody, -} from "../models/operations/createcheck.js"; +} from "../models/createcheckop.js"; import { GetAllChecksRequest, GetAllChecksResponseBody, -} from "../models/operations/getallchecks.js"; -import { - GetCheckRequest, - GetCheckResponseBody, -} from "../models/operations/getcheck.js"; +} from "../models/getallchecksop.js"; +import { GetCheckRequest, GetCheckResponseBody } from "../models/getcheckop.js"; import { RerequestCheckRequest, RerequestCheckResponseBody, -} from "../models/operations/rerequestcheck.js"; +} from "../models/rerequestcheckop.js"; import { UpdateCheckRequest, UpdateCheckResponseBody, -} from "../models/operations/updatecheck.js"; +} from "../models/updatecheckop.js"; import { unwrapAsync } from "../types/fp.js"; export class Checks extends ClientSDK { diff --git a/src/sdk/deployments.ts b/src/sdk/deployments.ts index 5a2aef94..4ad9d448 100644 --- a/src/sdk/deployments.ts +++ b/src/sdk/deployments.ts @@ -12,34 +12,34 @@ import { deploymentsGetDeployments } from "../funcs/deploymentsGetDeployments.js import { deploymentsListDeploymentFiles } from "../funcs/deploymentsListDeploymentFiles.js"; import { deploymentsUploadFile } from "../funcs/deploymentsUploadFile.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import { FileTree } from "../models/components/filetree.js"; import { CancelDeploymentRequest, CancelDeploymentResponseBody, -} from "../models/operations/canceldeployment.js"; +} from "../models/canceldeploymentop.js"; import { CreateDeploymentRequest, CreateDeploymentResponseBody, -} from "../models/operations/createdeployment.js"; +} from "../models/createdeploymentop.js"; import { DeleteDeploymentRequest, DeleteDeploymentResponseBody, -} from "../models/operations/deletedeployment.js"; +} from "../models/deletedeploymentop.js"; +import { FileTree } from "../models/filetree.js"; +import { GetDeploymentEventsRequest } from "../models/getdeploymenteventsop.js"; +import { GetDeploymentFileContentsRequest } from "../models/getdeploymentfilecontentsop.js"; import { GetDeploymentRequest, GetDeploymentResponseBody, -} from "../models/operations/getdeployment.js"; -import { GetDeploymentEventsRequest } from "../models/operations/getdeploymentevents.js"; -import { GetDeploymentFileContentsRequest } from "../models/operations/getdeploymentfilecontents.js"; +} from "../models/getdeploymentop.js"; import { GetDeploymentsRequest, GetDeploymentsResponseBody, -} from "../models/operations/getdeployments.js"; -import { ListDeploymentFilesRequest } from "../models/operations/listdeploymentfiles.js"; +} from "../models/getdeploymentsop.js"; +import { ListDeploymentFilesRequest } from "../models/listdeploymentfilesop.js"; import { UploadFileRequest, UploadFileResponseBody, -} from "../models/operations/uploadfile.js"; +} from "../models/uploadfileop.js"; import { unwrapAsync } from "../types/fp.js"; export class Deployments extends ClientSDK { diff --git a/src/sdk/dns.ts b/src/sdk/dns.ts index 76c03fb9..a53a1d4a 100644 --- a/src/sdk/dns.ts +++ b/src/sdk/dns.ts @@ -10,19 +10,19 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { CreateRecordRequest, CreateRecordResponseBody, -} from "../models/operations/createrecord.js"; +} from "../models/createrecordop.js"; import { GetRecordsRequest, GetRecordsResponseBody, -} from "../models/operations/getrecords.js"; +} from "../models/getrecordsop.js"; import { RemoveRecordRequest, RemoveRecordResponseBody, -} from "../models/operations/removerecord.js"; +} from "../models/removerecordop.js"; import { UpdateRecordRequest, UpdateRecordResponseBody, -} from "../models/operations/updaterecord.js"; +} from "../models/updaterecordop.js"; import { unwrapAsync } from "../types/fp.js"; export class Dns extends ClientSDK { diff --git a/src/sdk/domains.ts b/src/sdk/domains.ts index 2838f31b..4d127f32 100644 --- a/src/sdk/domains.ts +++ b/src/sdk/domains.ts @@ -13,46 +13,43 @@ import { domainsGetDomains } from "../funcs/domainsGetDomains.js"; import { domainsGetDomainTransfer } from "../funcs/domainsGetDomainTransfer.js"; import { domainsPatchDomain } from "../funcs/domainsPatchDomain.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import { - BuyDomainRequest, - BuyDomainResponse, -} from "../models/operations/buydomain.js"; +import { BuyDomainRequest, BuyDomainResponse } from "../models/buydomainop.js"; import { CheckDomainPriceRequest, CheckDomainPriceResponseBody, -} from "../models/operations/checkdomainprice.js"; +} from "../models/checkdomainpriceop.js"; import { CheckDomainStatusRequest, CheckDomainStatusResponseBody, -} from "../models/operations/checkdomainstatus.js"; +} from "../models/checkdomainstatusop.js"; import { CreateOrTransferDomainRequest, CreateOrTransferDomainResponseBody, -} from "../models/operations/createortransferdomain.js"; +} from "../models/createortransferdomainop.js"; import { DeleteDomainRequest, DeleteDomainResponseBody, -} from "../models/operations/deletedomain.js"; -import { - GetDomainRequest, - GetDomainResponseBody, -} from "../models/operations/getdomain.js"; +} from "../models/deletedomainop.js"; import { GetDomainConfigRequest, GetDomainConfigResponseBody, -} from "../models/operations/getdomainconfig.js"; +} from "../models/getdomainconfigop.js"; +import { + GetDomainRequest, + GetDomainResponseBody, +} from "../models/getdomainop.js"; import { GetDomainsRequest, GetDomainsResponseBody, -} from "../models/operations/getdomains.js"; +} from "../models/getdomainsop.js"; import { GetDomainTransferRequest, GetDomainTransferResponseBody, -} from "../models/operations/getdomaintransfer.js"; +} from "../models/getdomaintransferop.js"; import { PatchDomainRequest, PatchDomainResponseBody, -} from "../models/operations/patchdomain.js"; +} from "../models/patchdomainop.js"; import { unwrapAsync } from "../types/fp.js"; export class Domains extends ClientSDK { diff --git a/src/sdk/edgeconfig.ts b/src/sdk/edgeconfig.ts index 5ead6f22..8bbb5405 100644 --- a/src/sdk/edgeconfig.ts +++ b/src/sdk/edgeconfig.ts @@ -19,51 +19,51 @@ import { edgeConfigGetEdgeConfigTokens } from "../funcs/edgeConfigGetEdgeConfigT import { edgeConfigPatchEdgeConfigSchema } from "../funcs/edgeConfigPatchEdgeConfigSchema.js"; import { edgeConfigUpdateEdgeConfig } from "../funcs/edgeConfigUpdateEdgeConfig.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import { EdgeConfigItem } from "../models/components/edgeconfigitem.js"; -import { EdgeConfigToken } from "../models/components/edgeconfigtoken.js"; import { CreateEdgeConfigRequest, CreateEdgeConfigResponseBody, -} from "../models/operations/createedgeconfig.js"; +} from "../models/createedgeconfigop.js"; import { CreateEdgeConfigTokenRequest, CreateEdgeConfigTokenResponseBody, -} from "../models/operations/createedgeconfigtoken.js"; -import { DeleteEdgeConfigRequest } from "../models/operations/deleteedgeconfig.js"; -import { DeleteEdgeConfigSchemaRequest } from "../models/operations/deleteedgeconfigschema.js"; -import { DeleteEdgeConfigTokensRequest } from "../models/operations/deleteedgeconfigtokens.js"; -import { - GetEdgeConfigRequest, - GetEdgeConfigResponseBody, -} from "../models/operations/getedgeconfig.js"; +} from "../models/createedgeconfigtokenop.js"; +import { DeleteEdgeConfigRequest } from "../models/deleteedgeconfigop.js"; +import { DeleteEdgeConfigSchemaRequest } from "../models/deleteedgeconfigschemaop.js"; +import { DeleteEdgeConfigTokensRequest } from "../models/deleteedgeconfigtokensop.js"; +import { EdgeConfigItem } from "../models/edgeconfigitem.js"; +import { EdgeConfigToken } from "../models/edgeconfigtoken.js"; import { GetEdgeConfigBackupRequest, GetEdgeConfigBackupResponseBody, -} from "../models/operations/getedgeconfigbackup.js"; +} from "../models/getedgeconfigbackupop.js"; import { GetEdgeConfigBackupsRequest, GetEdgeConfigBackupsResponseBody, -} from "../models/operations/getedgeconfigbackups.js"; -import { GetEdgeConfigItemRequest } from "../models/operations/getedgeconfigitem.js"; -import { GetEdgeConfigItemsRequest } from "../models/operations/getedgeconfigitems.js"; +} from "../models/getedgeconfigbackupsop.js"; +import { GetEdgeConfigItemRequest } from "../models/getedgeconfigitemop.js"; +import { GetEdgeConfigItemsRequest } from "../models/getedgeconfigitemsop.js"; import { - GetEdgeConfigsRequest, - GetEdgeConfigsResponseBody, -} from "../models/operations/getedgeconfigs.js"; + GetEdgeConfigRequest, + GetEdgeConfigResponseBody, +} from "../models/getedgeconfigop.js"; import { GetEdgeConfigSchemaRequest, GetEdgeConfigSchemaResponseBody, -} from "../models/operations/getedgeconfigschema.js"; -import { GetEdgeConfigTokenRequest } from "../models/operations/getedgeconfigtoken.js"; -import { GetEdgeConfigTokensRequest } from "../models/operations/getedgeconfigtokens.js"; +} from "../models/getedgeconfigschemaop.js"; +import { + GetEdgeConfigsRequest, + GetEdgeConfigsResponseBody, +} from "../models/getedgeconfigsop.js"; +import { GetEdgeConfigTokenRequest } from "../models/getedgeconfigtokenop.js"; +import { GetEdgeConfigTokensRequest } from "../models/getedgeconfigtokensop.js"; import { PatchEdgeConfigSchemaRequest, PatchEdgeConfigSchemaResponseBody, -} from "../models/operations/patchedgeconfigschema.js"; +} from "../models/patchedgeconfigschemaop.js"; import { UpdateEdgeConfigRequest, UpdateEdgeConfigResponseBody, -} from "../models/operations/updateedgeconfig.js"; +} from "../models/updateedgeconfigop.js"; import { unwrapAsync } from "../types/fp.js"; export class EdgeConfig extends ClientSDK { diff --git a/src/sdk/integrations.ts b/src/sdk/integrations.ts index dedd5ca1..8a1484e1 100644 --- a/src/sdk/integrations.ts +++ b/src/sdk/integrations.ts @@ -8,23 +8,23 @@ import { integrationsGetConfigurations } from "../funcs/integrationsGetConfigura import { integrationsGitNamespaces } from "../funcs/integrationsGitNamespaces.js"; import { integrationsSearchRepo } from "../funcs/integrationsSearchRepo.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import { DeleteConfigurationRequest } from "../models/operations/deleteconfiguration.js"; +import { DeleteConfigurationRequest } from "../models/deleteconfigurationop.js"; import { GetConfigurationRequest, GetConfigurationResponseBody, -} from "../models/operations/getconfiguration.js"; +} from "../models/getconfigurationop.js"; import { GetConfigurationsRequest, GetConfigurationsResponseBody, -} from "../models/operations/getconfigurations.js"; +} from "../models/getconfigurationsop.js"; import { GitNamespacesRequest, GitNamespacesResponseBody, -} from "../models/operations/gitnamespaces.js"; +} from "../models/gitnamespacesop.js"; import { SearchRepoRequest, SearchRepoResponseBody, -} from "../models/operations/searchrepo.js"; +} from "../models/searchrepoop.js"; import { unwrapAsync } from "../types/fp.js"; export class Integrations extends ClientSDK { diff --git a/src/sdk/logdrains.ts b/src/sdk/logdrains.ts index 060e244e..4f4e686d 100644 --- a/src/sdk/logdrains.ts +++ b/src/sdk/logdrains.ts @@ -13,25 +13,25 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { CreateConfigurableLogDrainRequest, CreateConfigurableLogDrainResponseBody, -} from "../models/operations/createconfigurablelogdrain.js"; +} from "../models/createconfigurablelogdrainop.js"; import { CreateLogDrainRequest, CreateLogDrainResponseBody, -} from "../models/operations/createlogdrain.js"; -import { DeleteConfigurableLogDrainRequest } from "../models/operations/deleteconfigurablelogdrain.js"; -import { DeleteIntegrationLogDrainRequest } from "../models/operations/deleteintegrationlogdrain.js"; +} from "../models/createlogdrainop.js"; +import { DeleteConfigurableLogDrainRequest } from "../models/deleteconfigurablelogdrainop.js"; +import { DeleteIntegrationLogDrainRequest } from "../models/deleteintegrationlogdrainop.js"; import { GetAllLogDrainsRequest, GetAllLogDrainsResponseBody, -} from "../models/operations/getalllogdrains.js"; +} from "../models/getalllogdrainsop.js"; import { GetConfigurableLogDrainRequest, GetConfigurableLogDrainResponseBody, -} from "../models/operations/getconfigurablelogdrain.js"; +} from "../models/getconfigurablelogdrainop.js"; import { GetIntegrationLogDrainsRequest, GetIntegrationLogDrainsResponseBody, -} from "../models/operations/getintegrationlogdrains.js"; +} from "../models/getintegrationlogdrainsop.js"; import { unwrapAsync } from "../types/fp.js"; export class LogDrains extends ClientSDK { diff --git a/src/sdk/marketplace.ts b/src/sdk/marketplace.ts index a6ab7a2e..a0c134ec 100644 --- a/src/sdk/marketplace.ts +++ b/src/sdk/marketplace.ts @@ -12,30 +12,30 @@ import { marketplaceSubmitInvoice } from "../funcs/marketplaceSubmitInvoice.js"; import { marketplaceUpdateInvoice } from "../funcs/marketplaceUpdateInvoice.js"; import { marketplaceUpdateResourceSecrets } from "../funcs/marketplaceUpdateResourceSecrets.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import { CreateEventRequest } from "../models/operations/createevent.js"; +import { CreateEventRequest } from "../models/createeventop.js"; import { ExchangeSsoTokenRequestBody, ExchangeSsoTokenResponseBody, -} from "../models/operations/exchangessotoken.js"; +} from "../models/exchangessotokenop.js"; import { GetAccountInfoRequest, GetAccountInfoResponseBody, -} from "../models/operations/getaccountinfo.js"; +} from "../models/getaccountinfoop.js"; import { GetInvoiceRequest, GetInvoiceResponseBody, -} from "../models/operations/getinvoice.js"; +} from "../models/getinvoiceop.js"; import { GetMemberRequest, GetMemberResponseBody, -} from "../models/operations/getmember.js"; -import { SubmitBillingDataRequest } from "../models/operations/submitbillingdata.js"; +} from "../models/getmemberop.js"; +import { SubmitBillingDataRequest } from "../models/submitbillingdataop.js"; import { SubmitInvoiceRequest, SubmitInvoiceResponseBody, -} from "../models/operations/submitinvoice.js"; -import { UpdateInvoiceRequest } from "../models/operations/updateinvoice.js"; -import { UpdateResourceSecretsRequest } from "../models/operations/updateresourcesecrets.js"; +} from "../models/submitinvoiceop.js"; +import { UpdateInvoiceRequest } from "../models/updateinvoiceop.js"; +import { UpdateResourceSecretsRequest } from "../models/updateresourcesecretsop.js"; import { unwrapAsync } from "../types/fp.js"; export class Marketplace extends ClientSDK { @@ -94,7 +94,7 @@ export class Marketplace extends ClientSDK { * Submit Billing Data * * @remarks - * Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour.
Use the `credentials.access_token` we provided in the (Upsert Installation)[#upsert-installation] body to authorize this request. + * Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour.
Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request. */ async submitBillingData( request: SubmitBillingDataRequest, @@ -111,7 +111,7 @@ export class Marketplace extends ClientSDK { * Submit Invoice * * @remarks - * This endpoint allows the partner to submit an invoice to Vercel. The invoice is created in Vercel's billing system and sent to the customer. Depending on the type of billing plan, the invoice can be sent at a time of signup, at the start of the billing period, or at the end of the billing period.

Use the `credentials.access_token` we provided in the (Upsert Installation)[#upsert-installation] body to authorize this request.
There are several limitations to the invoice submission:

1. A resource can only be billed once per the billing period and the billing plan.
2. The billing plan used to bill the resource must have been active for this resource during the billing period.
3. The billing plan used must be a subscription plan.
4. The interim usage data must be sent hourly for all types of subscriptions. See [Send subscription billing and usage data](#send-subscription-billing-and-usage-data) API on how to send interim billing and usage data.
+ * This endpoint allows the partner to submit an invoice to Vercel. The invoice is created in Vercel's billing system and sent to the customer. Depending on the type of billing plan, the invoice can be sent at a time of signup, at the start of the billing period, or at the end of the billing period.

Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request.
There are several limitations to the invoice submission:

1. A resource can only be billed once per the billing period and the billing plan.
2. The billing plan used to bill the resource must have been active for this resource during the billing period.
3. The billing plan used must be a subscription plan.
4. The interim usage data must be sent hourly for all types of subscriptions. See [Send subscription billing and usage data](#send-subscription-billing-and-usage-data) API on how to send interim billing and usage data.
*/ async submitInvoice( request: SubmitInvoiceRequest, @@ -182,7 +182,7 @@ export class Marketplace extends ClientSDK { * During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization `code` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. This is used to verify the identity of the user during the [**Open in Provider** flow](https://vercel.com/docs/integrations/marketplace-flows#open-in-provider-button-flow). Providers should not persist the returned `id_token` in a database since the token will expire. */ async exchangeSsoToken( - request?: ExchangeSsoTokenRequestBody | undefined, + request: ExchangeSsoTokenRequestBody, options?: RequestOptions, ): Promise { return unwrapAsync(marketplaceExchangeSsoToken( diff --git a/src/sdk/projectmembers.ts b/src/sdk/projectmembers.ts index 7a0f46db..05024614 100644 --- a/src/sdk/projectmembers.ts +++ b/src/sdk/projectmembers.ts @@ -9,15 +9,15 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { AddProjectMemberRequest, AddProjectMemberResponseBody, -} from "../models/operations/addprojectmember.js"; +} from "../models/addprojectmemberop.js"; import { GetProjectMembersRequest, GetProjectMembersResponseBody, -} from "../models/operations/getprojectmembers.js"; +} from "../models/getprojectmembersop.js"; import { RemoveProjectMemberRequest, RemoveProjectMemberResponseBody, -} from "../models/operations/removeprojectmember.js"; +} from "../models/removeprojectmemberop.js"; import { unwrapAsync } from "../types/fp.js"; export class ProjectMembers extends ClientSDK { diff --git a/src/sdk/projects.ts b/src/sdk/projects.ts index fc55fd90..b7466c22 100644 --- a/src/sdk/projects.ts +++ b/src/sdk/projects.ts @@ -25,73 +25,73 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { AddProjectDomainRequest, AddProjectDomainResponseBody, -} from "../models/operations/addprojectdomain.js"; -import { - CreateProjectRequest, - CreateProjectResponseBody, -} from "../models/operations/createproject.js"; +} from "../models/addprojectdomainop.js"; import { CreateProjectEnvRequest, CreateProjectEnvResponseBody, -} from "../models/operations/createprojectenv.js"; -import { DeleteProjectRequest } from "../models/operations/deleteproject.js"; +} from "../models/createprojectenvop.js"; +import { + CreateProjectRequest, + CreateProjectResponseBody, +} from "../models/createprojectop.js"; +import { DeleteProjectRequest } from "../models/deleteprojectop.js"; import { EditProjectEnvRequest, EditProjectEnvResponseBody, -} from "../models/operations/editprojectenv.js"; +} from "../models/editprojectenvop.js"; import { FilterProjectEnvsRequest, FilterProjectEnvsResponseBody, -} from "../models/operations/filterprojectenvs.js"; +} from "../models/filterprojectenvsop.js"; import { GetProjectDomainRequest, GetProjectDomainResponseBody, -} from "../models/operations/getprojectdomain.js"; +} from "../models/getprojectdomainop.js"; import { GetProjectDomainsRequest, GetProjectDomainsResponseBody, -} from "../models/operations/getprojectdomains.js"; +} from "../models/getprojectdomainsop.js"; import { GetProjectEnvRequest, GetProjectEnvResponseBody, -} from "../models/operations/getprojectenv.js"; +} from "../models/getprojectenvop.js"; import { GetProjectsRequest, GetProjectsResponseBody, -} from "../models/operations/getprojects.js"; +} from "../models/getprojectsop.js"; import { ListPromoteAliasesRequest, ListPromoteAliasesResponseBody, -} from "../models/operations/listpromotealiases.js"; +} from "../models/listpromotealiasesop.js"; import { RemoveProjectDomainRequest, RemoveProjectDomainResponseBody, -} from "../models/operations/removeprojectdomain.js"; +} from "../models/removeprojectdomainop.js"; import { RemoveProjectEnvRequest, RemoveProjectEnvResponseBody, -} from "../models/operations/removeprojectenv.js"; -import { RequestPromoteRequest } from "../models/operations/requestpromote.js"; -import { - UpdateProjectRequest, - UpdateProjectResponseBody, -} from "../models/operations/updateproject.js"; +} from "../models/removeprojectenvop.js"; +import { RequestPromoteRequest } from "../models/requestpromoteop.js"; import { UpdateProjectDataCacheRequest, UpdateProjectDataCacheResponseBody, -} from "../models/operations/updateprojectdatacache.js"; +} from "../models/updateprojectdatacacheop.js"; import { UpdateProjectDomainRequest, UpdateProjectDomainResponseBody, -} from "../models/operations/updateprojectdomain.js"; +} from "../models/updateprojectdomainop.js"; +import { + UpdateProjectRequest, + UpdateProjectResponseBody, +} from "../models/updateprojectop.js"; import { UpdateProjectProtectionBypassRequest, UpdateProjectProtectionBypassResponseBody, -} from "../models/operations/updateprojectprotectionbypass.js"; +} from "../models/updateprojectprotectionbypassop.js"; import { VerifyProjectDomainRequest, VerifyProjectDomainResponseBody, -} from "../models/operations/verifyprojectdomain.js"; +} from "../models/verifyprojectdomainop.js"; import { unwrapAsync } from "../types/fp.js"; export class Projects extends ClientSDK { @@ -320,7 +320,7 @@ export class Projects extends ClientSDK { * Create one or more environment variables * * @remarks - * Create one ore more environment variables for a project by passing its `key`, `value`, `type` and `target` and by specifying the project by either passing the project `id` or `name` in the URL. + * Create one or more environment variables for a project by passing its `key`, `value`, `type` and `target` and by specifying the project by either passing the project `id` or `name` in the URL. If you include `upsert=true` as a query parameter, a new environment variable will not be created if it already exists but, the existing variable's value will be updated. */ async createProjectEnv( request: CreateProjectEnvRequest, diff --git a/src/sdk/security.ts b/src/sdk/security.ts index b0749991..39cdbba1 100644 --- a/src/sdk/security.ts +++ b/src/sdk/security.ts @@ -10,19 +10,19 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { GetFirewallConfigRequest, GetFirewallConfigResponseBody, -} from "../models/operations/getfirewallconfig.js"; +} from "../models/getfirewallconfigop.js"; import { PutFirewallConfigRequest, PutFirewallConfigResponseBody, -} from "../models/operations/putfirewallconfig.js"; +} from "../models/putfirewallconfigop.js"; import { UpdateAttackChallengeModeRequest, UpdateAttackChallengeModeResponseBody, -} from "../models/operations/updateattackchallengemode.js"; +} from "../models/updateattackchallengemodeop.js"; import { UpdateFirewallConfigRequest, UpdateFirewallConfigResponseBody, -} from "../models/operations/updatefirewallconfig.js"; +} from "../models/updatefirewallconfigop.js"; import { unwrapAsync } from "../types/fp.js"; export class Security extends ClientSDK { diff --git a/src/sdk/teams.ts b/src/sdk/teams.ts index 894b658b..2e7a378d 100644 --- a/src/sdk/teams.ts +++ b/src/sdk/teams.ts @@ -19,49 +19,43 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { CreateTeamRequestBody, CreateTeamResponseBody, -} from "../models/operations/createteam.js"; -import { - DeleteTeamRequest, - DeleteTeamResponseBody, -} from "../models/operations/deleteteam.js"; +} from "../models/createteamop.js"; import { DeleteTeamInviteCodeRequest, DeleteTeamInviteCodeResponseBody, -} from "../models/operations/deleteteaminvitecode.js"; -import { GetTeamRequest } from "../models/operations/getteam.js"; +} from "../models/deleteteaminvitecodeop.js"; +import { + DeleteTeamRequest, + DeleteTeamResponseBody, +} from "../models/deleteteamop.js"; import { GetTeamAccessRequestRequest, GetTeamAccessRequestResponseBody, -} from "../models/operations/getteamaccessrequest.js"; +} from "../models/getteamaccessrequestop.js"; import { GetTeamMembersRequest, GetTeamMembersResponseBody, -} from "../models/operations/getteammembers.js"; -import { - GetTeamsRequest, - GetTeamsResponseBody, -} from "../models/operations/getteams.js"; +} from "../models/getteammembersop.js"; +import { GetTeamRequest } from "../models/getteamop.js"; +import { GetTeamsRequest, GetTeamsResponseBody } from "../models/getteamsop.js"; import { InviteUserToTeamRequest, InviteUserToTeamResponseBody, -} from "../models/operations/inviteusertoteam.js"; -import { - JoinTeamRequest, - JoinTeamResponseBody, -} from "../models/operations/jointeam.js"; -import { PatchTeamRequest } from "../models/operations/patchteam.js"; +} from "../models/inviteusertoteamop.js"; +import { JoinTeamRequest, JoinTeamResponseBody } from "../models/jointeamop.js"; +import { PatchTeamRequest } from "../models/patchteamop.js"; import { RemoveTeamMemberRequest, RemoveTeamMemberResponseBody, -} from "../models/operations/removeteammember.js"; +} from "../models/removeteammemberop.js"; import { RequestAccessToTeamRequest, RequestAccessToTeamResponseBody, -} from "../models/operations/requestaccesstoteam.js"; +} from "../models/requestaccesstoteamop.js"; import { UpdateTeamMemberRequest, UpdateTeamMemberResponseBody, -} from "../models/operations/updateteammember.js"; +} from "../models/updateteammemberop.js"; import { unwrapAsync } from "../types/fp.js"; export class Teams extends ClientSDK { @@ -242,7 +236,7 @@ export class Teams extends ClientSDK { * Create a new Team under your account. You need to send a POST request with the desired Team slug, and optionally the Team name. */ async createTeam( - request?: CreateTeamRequestBody | undefined, + request: CreateTeamRequestBody, options?: RequestOptions, ): Promise { return unwrapAsync(teamsCreateTeam( diff --git a/src/sdk/user.ts b/src/sdk/user.ts index 591361b1..344bd63a 100644 --- a/src/sdk/user.ts +++ b/src/sdk/user.ts @@ -6,15 +6,15 @@ import { userGetAuthUser } from "../funcs/userGetAuthUser.js"; import { userListUserEvents } from "../funcs/userListUserEvents.js"; import { userRequestDelete } from "../funcs/userRequestDelete.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import { GetAuthUserResponseBody } from "../models/operations/getauthuser.js"; +import { GetAuthUserResponseBody } from "../models/getauthuserop.js"; import { ListUserEventsRequest, ListUserEventsResponseBody, -} from "../models/operations/listuserevents.js"; +} from "../models/listusereventsop.js"; import { RequestDeleteRequestBody, RequestDeleteResponseBody, -} from "../models/operations/requestdelete.js"; +} from "../models/requestdeleteop.js"; import { unwrapAsync } from "../types/fp.js"; export class User extends ClientSDK { @@ -57,7 +57,7 @@ export class User extends ClientSDK { * Initiates the deletion process for the currently authenticated User, by sending a deletion confirmation email. The email contains a link that the user needs to visit in order to proceed with the deletion process. */ async requestDelete( - request?: RequestDeleteRequestBody | undefined, + request: RequestDeleteRequestBody, options?: RequestOptions, ): Promise { return unwrapAsync(userRequestDelete( diff --git a/src/sdk/webhooks.ts b/src/sdk/webhooks.ts index b403583c..643bcd02 100644 --- a/src/sdk/webhooks.ts +++ b/src/sdk/webhooks.ts @@ -10,16 +10,16 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { CreateWebhookRequest, CreateWebhookResponseBody, -} from "../models/operations/createwebhook.js"; -import { DeleteWebhookRequest } from "../models/operations/deletewebhook.js"; +} from "../models/createwebhookop.js"; +import { DeleteWebhookRequest } from "../models/deletewebhookop.js"; import { GetWebhookRequest, GetWebhookResponseBody, -} from "../models/operations/getwebhook.js"; +} from "../models/getwebhookop.js"; import { GetWebhooksRequest, GetWebhooksResponseBody, -} from "../models/operations/getwebhooks.js"; +} from "../models/getwebhooksop.js"; import { unwrapAsync } from "../types/fp.js"; export class Webhooks extends ClientSDK { diff --git a/src/types/operations.ts b/src/types/operations.ts index 0952f6f4..beb81e10 100644 --- a/src/types/operations.ts +++ b/src/types/operations.ts @@ -6,9 +6,10 @@ import { Result } from "./fp.js"; export type Paginator = () => Promise }> | null; -export type PageIterator = V & { +export type PageIterator = V & { next: Paginator; [Symbol.asyncIterator]: () => AsyncIterableIterator; + "~next"?: PageState | undefined; }; export function createPageIterator( @@ -40,7 +41,9 @@ export function createPageIterator( * terminates. It is useful in paginated SDK functions that have early return * paths when things go wrong. */ -export function haltIterator(v: V): PageIterator { +export function haltIterator( + v: V, +): PageIterator { return { ...v, next: () => null, @@ -54,9 +57,9 @@ export function haltIterator(v: V): PageIterator { * Converts an async iterator of `Result` into an async iterator of `V`. * When error results occur, the underlying error value is thrown. */ -export async function unwrapResultIterator( - iteratorPromise: Promise>>, -): Promise> { +export async function unwrapResultIterator( + iteratorPromise: Promise, PageState>>, +): Promise> { const resultIter = await iteratorPromise; if (!resultIter.ok) { @@ -66,6 +69,7 @@ export async function unwrapResultIterator( return { ...resultIter.value, next: unwrapPaginator(resultIter.next), + "~next": resultIter["~next"], [Symbol.asyncIterator]: async function* paginator() { for await (const page of resultIter) { if (!page.ok) { @@ -97,3 +101,5 @@ function unwrapPaginator( }); }; } + +export const URL_OVERRIDE = Symbol("URL_OVERRIDE"); diff --git a/tsconfig.json b/tsconfig.json index 19e29726..48a2d2f7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,7 @@ "tsBuildInfoFile": ".tsbuildinfo", "target": "ES2018", "lib": ["ES2022", "DOM", "DOM.Iterable"], + "jsx": "react-jsx", "module": "Node16", "moduleResolution": "Node16", diff --git a/vercel-spec.json b/vercel-spec.json index 16aad3ae..e6e3ec3f 100644 --- a/vercel-spec.json +++ b/vercel-spec.json @@ -100,13 +100,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -213,13 +236,36 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -309,7 +355,8 @@ } } } - } + }, + "required": true } }, "delete": { @@ -327,13 +374,36 @@ "responses": { "200": {}, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -452,13 +522,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -651,13 +744,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -808,13 +924,36 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid." + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -891,7 +1030,8 @@ } } } - } + }, + "required": true } } }, @@ -988,13 +1128,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -1107,13 +1270,36 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -1171,7 +1357,8 @@ } } } - } + }, + "required": true } } }, @@ -1232,13 +1419,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -1331,13 +1541,36 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -1396,7 +1629,8 @@ } } } - } + }, + "required": true } }, "delete": { @@ -1414,13 +1648,36 @@ "responses": { "200": {}, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -1476,9 +1733,24 @@ "description": "Success. Event recorded." }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the headers is invalid" + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the headers is invalid", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, @@ -1576,7 +1848,8 @@ } } } - } + }, + "required": true } } }, @@ -1617,8 +1890,24 @@ } } }, - "400": {}, - "401": {}, + "400": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, @@ -1686,9 +1975,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid.\nOne of the provided values in the headers is invalid\nFile size is not valid" + "description": "One of the provided values in the request query is invalid.\nOne of the provided values in the headers is invalid\nFile size is not valid", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, @@ -1791,7 +2095,8 @@ "format": "binary" } } - } + }, + "required": true } }, "get": { @@ -1820,9 +2125,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid.\nOne of the provided values in the headers is invalid" + "description": "One of the provided values in the request query is invalid.\nOne of the provided values in the headers is invalid", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, @@ -1830,7 +2150,14 @@ "description": "The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource." }, "404": { - "description": "The artifact was not found" + "description": "The artifact was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -1903,9 +2230,24 @@ "description": "The artifact was found and headers are returned" }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, @@ -1913,7 +2255,14 @@ "description": "The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource." }, "404": { - "description": "The artifact was not found" + "description": "The artifact was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -2013,9 +2362,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid." + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, @@ -2060,7 +2424,8 @@ } } } - } + }, + "required": true } } }, @@ -2284,14 +2649,36 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nCannot create check for finished deployment\nThe provided token is not from an OAuth2 Client" + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nCannot create check for finished deployment\nThe provided token is not from an OAuth2 Client", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "The deployment was not found" + "description": "The deployment was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -2368,7 +2755,8 @@ "type": "object" } } - } + }, + "required": true } }, "get": { @@ -2591,14 +2979,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "The deployment was not found" + "description": "The deployment was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -2852,14 +3262,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource.\nThe provided token is not from an OAuth2 Client that created the Check" }, "404": { - "description": "Check was not found\nThe deployment was not found" + "description": "Check was not found\nThe deployment was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -3122,14 +3554,36 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe provided token is not from an OAuth2 Client" + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe provided token is not from an OAuth2 Client", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "Check was not found\nThe deployment was not found" + "description": "Check was not found\nThe deployment was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } }, "413": { "description": "The output provided is too large" @@ -3374,7 +3828,8 @@ "type": "object" } } - } + }, + "required": true } } }, @@ -3402,14 +3857,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "The deployment was not found\nCheck was not found" + "description": "The deployment was not found\nCheck was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -6537,7 +7014,8 @@ "protocol", "scheme", "environment", - "region" + "region", + "initial_request_path" ] }, "key": { @@ -6618,7 +7096,8 @@ "protocol", "scheme", "environment", - "region" + "region", + "initial_request_path" ] }, "key": { @@ -6816,13 +7295,36 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -6867,7 +7369,8 @@ } } } - } + }, + "required": true } } }, @@ -6886,9 +7389,24 @@ ], "responses": { "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, @@ -7873,6 +8391,9 @@ }, "type": "object" }, + "originCacheRegion": { + "type": "string" + }, "project": { "properties": { "id": { @@ -9201,6 +9722,9 @@ }, "type": "object" }, + "originCacheRegion": { + "type": "string" + }, "project": { "properties": { "id": { @@ -9341,13 +9865,27 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } }, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "The deployment was not found" + "description": "The deployment was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -10271,6 +10809,9 @@ "errorStep": { "type": "string" }, + "originCacheRegion": { + "type": "string" + }, "readySubstate": { "type": "string", "enum": [ @@ -10957,16 +11498,39 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated\nPro customers are allowed to deploy Serverless Functions to up to PRO_CUSTOMERS_MAX_REGIONS regions, or if the project was created before the limit was introduced.\nDeploying to Serverless Functions to multiple regions requires a plan update" }, "403": { "description": "You do not have permission to access this resource." }, - "404": {}, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, "409": { "description": "The deployment project is being transferred" } @@ -11445,7 +12009,8 @@ "type": "object" } } - } + }, + "required": true } } }, @@ -12258,6 +12823,9 @@ }, "type": "object" }, + "originCacheRegion": { + "type": "string" + }, "project": { "properties": { "id": { @@ -13013,13 +13581,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -13155,14 +13746,37 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid." + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "409": {}, - "429": {} + "429": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelRateLimitError" + } + } + } + } }, "parameters": [ { @@ -13269,7 +13883,8 @@ } } } - } + }, + "required": true } } }, @@ -13299,9 +13914,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -13548,13 +14178,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -13672,16 +14325,39 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, "403": { "description": "You do not have permission to access this resource." }, - "404": {}, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, "409": {} }, "parameters": [ @@ -14212,7 +14888,8 @@ ] } } - } + }, + "required": true } } }, @@ -14298,16 +14975,39 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, "403": { "description": "You do not have permission to access this resource." }, - "404": {}, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, "409": {} }, "parameters": [ @@ -14454,7 +15154,8 @@ "type": "object" } } - } + }, + "required": true } } }, @@ -14483,13 +15184,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -14562,9 +15286,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -14664,8 +15403,24 @@ } } }, - "400": {}, - "401": {}, + "400": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, "403": { "description": "You do not have permission to access this resource." } @@ -14755,12 +15510,28 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." - } + }, + "500": {} }, "parameters": [ { @@ -14994,13 +15765,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -15224,9 +16018,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, @@ -15463,16 +16272,39 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid." + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, "403": { "description": "You do not have permission to access this resource." }, - "404": {}, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, "409": {}, "500": {} }, @@ -15594,7 +16426,8 @@ ] } } - } + }, + "required": true } } }, @@ -15666,13 +16499,36 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {}, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, "409": {} }, "parameters": [ @@ -15752,7 +16608,8 @@ ] } } - } + }, + "required": true } } }, @@ -15791,13 +16648,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {}, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, "409": {} }, "parameters": [ @@ -15932,9 +16812,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -16055,9 +16950,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid." + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, @@ -16093,7 +17003,7 @@ ], "properties": { "slug": { - "maxLength": 32, + "maxLength": 64, "pattern": "^[\\\\w-]+$", "type": "string" }, @@ -16145,7 +17055,8 @@ } } } - } + }, + "required": true } } }, @@ -16248,13 +17159,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -16380,16 +17314,39 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -16427,14 +17384,15 @@ ], "properties": { "slug": { - "maxLength": 32, + "maxLength": 64, "pattern": "^[\\\\w-]+$", "type": "string" } } } } - } + }, + "required": true } }, "delete": { @@ -16452,13 +17410,36 @@ "responses": { "204": {}, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -16513,13 +17494,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -16580,16 +17584,39 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, "403": { "description": "You do not have permission to access this resource." }, - "404": {}, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, "409": {} }, "parameters": [ @@ -16826,13 +17853,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -16886,16 +17936,39 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -16945,7 +18018,8 @@ } } } - } + }, + "required": true } }, "delete": { @@ -16963,16 +18037,39 @@ "responses": { "204": {}, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -17027,13 +18124,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -17097,13 +18217,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -17147,16 +18290,39 @@ "responses": { "204": {}, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -17203,7 +18369,8 @@ } } } - } + }, + "required": true } } }, @@ -17232,13 +18399,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -17312,16 +18502,39 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -17366,7 +18579,8 @@ } } } - } + }, + "required": true } } }, @@ -17607,13 +18821,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -17730,13 +18967,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -17830,9 +19090,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -17968,9 +19243,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -18027,13 +19317,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -18071,9 +19384,24 @@ "responses": { "201": {}, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -18149,13 +19477,14 @@ "additionalProperties": false } } - } + }, + "required": true } } }, "/v1/installations/{integrationConfigurationId}/billing": { "post": { - "description": "Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour. \u003cbr/\u003e Use the `credentials.access_token` we provided in the (Upsert Installation)[#upsert-installation] body to authorize this request.", + "description": "Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour. \u003cbr/\u003e Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request.", "operationId": "submit-billing-data", "security": [ { @@ -18169,9 +19498,24 @@ "responses": { "201": {}, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -18460,13 +19804,14 @@ "additionalProperties": false } } - } + }, + "required": true } } }, "/v1/installations/{integrationConfigurationId}/billing/invoices": { "post": { - "description": "This endpoint allows the partner to submit an invoice to Vercel. The invoice is created in Vercel's billing system and sent to the customer. Depending on the type of billing plan, the invoice can be sent at a time of signup, at the start of the billing period, or at the end of the billing period.\u003cbr/\u003e \u003cbr/\u003e Use the `credentials.access_token` we provided in the (Upsert Installation)[#upsert-installation] body to authorize this request. \u003cbr/\u003e There are several limitations to the invoice submission:\u003cbr/\u003e \u003cbr/\u003e 1. A resource can only be billed once per the billing period and the billing plan.\u003cbr/\u003e 2. The billing plan used to bill the resource must have been active for this resource during the billing period.\u003cbr/\u003e 3. The billing plan used must be a subscription plan.\u003cbr/\u003e 4. The interim usage data must be sent hourly for all types of subscriptions. See [Send subscription billing and usage data](#send-subscription-billing-and-usage-data) API on how to send interim billing and usage data.\u003cbr/\u003e", + "description": "This endpoint allows the partner to submit an invoice to Vercel. The invoice is created in Vercel's billing system and sent to the customer. Depending on the type of billing plan, the invoice can be sent at a time of signup, at the start of the billing period, or at the end of the billing period.\u003cbr/\u003e \u003cbr/\u003e Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request. \u003cbr/\u003e There are several limitations to the invoice submission:\u003cbr/\u003e \u003cbr/\u003e 1. A resource can only be billed once per the billing period and the billing plan.\u003cbr/\u003e 2. The billing plan used to bill the resource must have been active for this resource during the billing period.\u003cbr/\u003e 3. The billing plan used must be a subscription plan.\u003cbr/\u003e 4. The interim usage data must be sent hourly for all types of subscriptions. See [Send subscription billing and usage data](#send-subscription-billing-and-usage-data) API on how to send interim billing and usage data.\u003cbr/\u003e", "operationId": "submit-invoice", "security": [ { @@ -18502,9 +19847,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -18679,7 +20039,8 @@ "additionalProperties": false } } - } + }, + "required": true } } }, @@ -18860,13 +20221,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -18904,13 +20288,36 @@ "responses": { "204": {}, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -18960,7 +20367,8 @@ "additionalProperties": false } } - } + }, + "required": true } } }, @@ -18980,13 +20388,36 @@ "responses": { "201": {}, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -19037,6 +20468,9 @@ }, "value": { "type": "string" + }, + "prefix": { + "type": "string" } }, "additionalProperties": false @@ -19046,7 +20480,8 @@ "additionalProperties": false } } - } + }, + "required": true } } }, @@ -19590,9 +21025,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -20068,14 +21518,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "The configuration was not found" + "description": "The configuration was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -20125,14 +21597,36 @@ "description": "The configuration was successfully removed" }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "The configuration was not found" + "description": "The configuration was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -20200,9 +21694,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid." + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } }, - "404": {}, "500": {} }, "requestBody": { @@ -20239,7 +21748,8 @@ } } } - } + }, + "required": true } } }, @@ -20407,8 +21917,24 @@ } } }, - "400": {}, - "401": {}, + "400": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, "403": { "description": "You do not have permission to access this resource." } @@ -20593,9 +22119,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nThe provided token is not from an OAuth2 Client" + "description": "One of the provided values in the request body is invalid.\nThe provided token is not from an OAuth2 Client", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -20705,7 +22246,8 @@ "type": "object" } } - } + }, + "required": true } } }, @@ -20727,14 +22269,36 @@ "description": "The log drain was successfully deleted" }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "The log drain was not found" + "description": "The log drain was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -20833,9 +22397,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -21022,7 +22601,14 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } }, "403": { "description": "You do not have permission to access this resource." @@ -21254,13 +22840,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -21304,13 +22913,36 @@ "responses": { "204": {}, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -21498,9 +23130,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -21686,9 +23333,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid." + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -21799,7 +23461,8 @@ } } } - } + }, + "required": true } } }, @@ -21953,9 +23616,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -22068,9 +23746,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, @@ -22163,7 +23856,8 @@ } } } - } + }, + "required": true } } }, @@ -22199,9 +23893,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -25337,7 +27046,8 @@ "protocol", "scheme", "environment", - "region" + "region", + "initial_request_path" ] }, "key": { @@ -25418,7 +27128,8 @@ "protocol", "scheme", "environment", - "region" + "region", + "initial_request_path" ] }, "key": { @@ -25629,9 +27340,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -26004,10 +27730,10 @@ "type": "string", "enum": [ "system", + "secret", "encrypted", "plain", - "sensitive", - "secret" + "sensitive" ] }, "sunsetSecretId": { @@ -28578,11 +30304,11 @@ "jobStatus": { "type": "string", "enum": [ - "pending", - "in-progress", "succeeded", "failed", - "skipped" + "skipped", + "pending", + "in-progress" ] }, "requestedAt": { @@ -28838,7 +30564,8 @@ "protocol", "scheme", "environment", - "region" + "region", + "initial_request_path" ] }, "key": { @@ -28919,7 +30646,8 @@ "protocol", "scheme", "environment", - "region" + "region", + "initial_request_path" ] }, "key": { @@ -29117,9 +30845,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe Bitbucket Webhook for the project link could not be created\nThe Gitlab Webhook for the project link could not be created" + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe Bitbucket Webhook for the project link could not be created\nThe Gitlab Webhook for the project link could not be created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, @@ -29387,7 +31130,8 @@ "type": "object" } } - } + }, + "required": true } } }, @@ -32477,7 +34221,8 @@ "protocol", "scheme", "environment", - "region" + "region", + "initial_request_path" ] }, "key": { @@ -32558,7 +34303,8 @@ "protocol", "scheme", "environment", - "region" + "region", + "initial_request_path" ] }, "key": { @@ -32756,9 +34502,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -33043,10 +34804,10 @@ "type": "string", "enum": [ "system", + "secret", "encrypted", "plain", - "sensitive", - "secret" + "sensitive" ] }, "sunsetSecretId": { @@ -35617,11 +37378,11 @@ "jobStatus": { "type": "string", "enum": [ + "pending", + "in-progress", "succeeded", "failed", - "skipped", - "pending", - "in-progress" + "skipped" ] }, "requestedAt": { @@ -35877,7 +37638,8 @@ "protocol", "scheme", "environment", - "region" + "region", + "initial_request_path" ] }, "key": { @@ -35958,7 +37720,8 @@ "protocol", "scheme", "environment", - "region" + "region", + "initial_request_path" ] }, "key": { @@ -36156,9 +37919,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nTrusted IPs is only accessible for enterprise customers" + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nTrusted IPs is only accessible for enterprise customers", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": {}, "403": { "description": "You do not have permission to access this resource." @@ -36550,7 +38328,8 @@ "type": "object" } } - } + }, + "required": true }, "x-speakeasy-usage-example": { "title": "Update an existing project", @@ -36575,9 +38354,24 @@ "description": "The project was successfuly removed" }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, @@ -36731,9 +38525,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -36996,9 +38805,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -37144,9 +38968,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe domain redirect is not valid" + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe domain redirect is not valid", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, @@ -37228,7 +39067,8 @@ "type": "object" } } - } + }, + "required": true } }, "delete": { @@ -37255,13 +39095,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {}, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, "409": { "description": "The project is currently being transferred" } @@ -37409,9 +39272,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe domain is not valid\nYou can't set both a git branch and a redirect for the domain\nThe domain can not be added because the latest production deployment for the project was not successful\nThe domain redirect is not valid\nA domain cannot redirect to itself\nYou can not set the production branch as a branch for your domain" + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe domain is not valid\nYou can't set both a git branch and a redirect for the domain\nThe domain can not be added because the latest production deployment for the project was not successful\nThe domain redirect is not valid\nA domain cannot redirect to itself\nYou can not set the production branch as a branch for your domain", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, @@ -37493,7 +39371,8 @@ "type": "object" } } - } + }, + "required": true } } }, @@ -37599,9 +39478,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid.\nThere is an existing TXT record on the domain verifying it for another project\nThe domain does not have a TXT record that attempts to verify the project domain\nThe TXT record on the domain does not match the expected challenge for the project domain\nProject domain is not assigned to project" + "description": "One of the provided values in the request query is invalid.\nThere is an existing TXT record on the domain verifying it for another project\nThe domain does not have a TXT record that attempts to verify the project domain\nThe TXT record on the domain does not match the expected challenge for the project domain\nProject domain is not assigned to project", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -37692,10 +39586,10 @@ "type": "string", "enum": [ "system", + "secret", "encrypted", "plain", - "sensitive", - "secret" + "sensitive" ] }, "sunsetSecretId": { @@ -38104,10 +39998,10 @@ "type": "string", "enum": [ "system", + "secret", "encrypted", "plain", - "sensitive", - "secret" + "sensitive" ] }, "sunsetSecretId": { @@ -38526,10 +40420,10 @@ "type": "string", "enum": [ "system", + "secret", "encrypted", "plain", - "sensitive", - "secret" + "sensitive" ] }, "sunsetSecretId": { @@ -38919,9 +40813,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -40238,9 +42147,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -40288,7 +42212,7 @@ }, "/v10/projects/{idOrName}/env": { "post": { - "description": "Create one ore more environment variables for a project by passing its `key`, `value`, `type` and `target` and by specifying the project by either passing the project `id` or `name` in the URL.", + "description": "Create one or more environment variables for a project by passing its `key`, `value`, `type` and `target` and by specifying the project by either passing the project `id` or `name` in the URL. If you include `upsert=true` as a query parameter, a new environment variable will not be created if it already exists but, the existing variable's value will be updated.", "operationId": "createProjectEnv", "security": [ { @@ -40337,10 +42261,10 @@ "type": "string", "enum": [ "system", + "secret", "encrypted", "plain", - "sensitive", - "secret" + "sensitive" ] }, "sunsetSecretId": { @@ -40740,10 +42664,10 @@ "type": "string", "enum": [ "system", + "secret", "encrypted", "plain", - "sensitive", - "secret" + "sensitive" ] }, "sunsetSecretId": { @@ -41223,9 +43147,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe environment variable coudn't be created because project document is too large" + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe environment variable coudn't be created because project document is too large", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, @@ -41429,7 +43368,8 @@ ] } } - } + }, + "required": true } } }, @@ -41485,10 +43425,10 @@ "type": "string", "enum": [ "system", + "secret", "encrypted", "plain", - "sensitive", - "secret" + "sensitive" ] }, "sunsetSecretId": { @@ -41901,10 +43841,10 @@ "type": "string", "enum": [ "system", + "secret", "encrypted", "plain", - "sensitive", - "secret" + "sensitive" ] }, "sunsetSecretId": { @@ -42312,10 +44252,10 @@ "type": "string", "enum": [ "system", + "secret", "encrypted", "plain", - "sensitive", - "secret" + "sensitive" ] }, "sunsetSecretId": { @@ -42698,13 +44638,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {}, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, "409": { "description": "The project is being transfered and removing an environment variable is not possible" } @@ -42793,10 +44756,10 @@ "type": "string", "enum": [ "system", + "secret", "encrypted", "plain", - "sensitive", - "secret" + "sensitive" ] }, "sunsetSecretId": { @@ -43179,9 +45142,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, @@ -43295,7 +45273,8 @@ } } } - } + }, + "required": true } } }, @@ -43350,13 +45329,36 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {}, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, "409": {} }, "parameters": [ @@ -43426,7 +45428,8 @@ "additionalProperties": false } } - } + }, + "required": true } } }, @@ -43446,9 +45449,24 @@ "responses": { "201": {}, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, @@ -43552,13 +45570,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -43668,13 +45709,36 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid." + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -43717,7 +45781,8 @@ } } } - } + }, + "required": true } } }, @@ -43779,7 +45844,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools." }, "ma": { "properties": { @@ -43798,7 +45864,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding." }, "lfi": { "properties": { @@ -43817,7 +45884,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "Local File Inclusion Attack - Prevent unauthorized access to local files through web applications." }, "rfi": { "properties": { @@ -43836,7 +45904,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files." }, "rce": { "properties": { @@ -43855,7 +45924,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands." }, "php": { "properties": { @@ -43874,7 +45944,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "PHP Attack - Safeguard against vulnerability exploits in PHP-based applications." }, "gen": { "properties": { @@ -43893,7 +45964,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "Generic Attack - Provide broad protection from various undefined or novel attack vectors." }, "xss": { "properties": { @@ -43912,7 +45984,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "XSS Attack - Prevent injection of malicious scripts into trusted webpages." }, "sqli": { "properties": { @@ -43931,7 +46004,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases." }, "sf": { "properties": { @@ -43950,7 +46024,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs." }, "java": { "properties": { @@ -43969,7 +46044,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "Java Attack - Mitigate risks of exploitation targeting Java-based applications or components." } }, "required": [ @@ -43985,7 +46061,8 @@ "sf", "java" ], - "type": "object" + "type": "object", + "description": "Custom Ruleset" }, "rules": { "items": { @@ -44018,6 +46095,7 @@ "query", "cookie", "target_path", + "raw_path", "ip_address", "protocol", "region", @@ -44300,14 +46378,37 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {}, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, "500": {} }, "parameters": [ @@ -44387,7 +46488,8 @@ "active", "action" ], - "additionalProperties": false + "additionalProperties": false, + "description": "Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools." }, "ma": { "type": "object", @@ -44407,7 +46509,8 @@ "active", "action" ], - "additionalProperties": false + "additionalProperties": false, + "description": "Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding." }, "lfi": { "type": "object", @@ -44427,7 +46530,8 @@ "active", "action" ], - "additionalProperties": false + "additionalProperties": false, + "description": "Local File Inclusion Attack - Prevent unauthorized access to local files through web applications." }, "rfi": { "type": "object", @@ -44447,7 +46551,8 @@ "active", "action" ], - "additionalProperties": false + "additionalProperties": false, + "description": "Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files." }, "rce": { "type": "object", @@ -44467,7 +46572,8 @@ "active", "action" ], - "additionalProperties": false + "additionalProperties": false, + "description": "Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands." }, "php": { "type": "object", @@ -44487,7 +46593,8 @@ "active", "action" ], - "additionalProperties": false + "additionalProperties": false, + "description": "PHP Attack - Safeguard against vulnerability exploits in PHP-based applications." }, "gen": { "type": "object", @@ -44507,7 +46614,8 @@ "active", "action" ], - "additionalProperties": false + "additionalProperties": false, + "description": "Generic Attack - Provide broad protection from various undefined or novel attack vectors." }, "xss": { "type": "object", @@ -44527,7 +46635,8 @@ "active", "action" ], - "additionalProperties": false + "additionalProperties": false, + "description": "XSS Attack - Prevent injection of malicious scripts into trusted webpages." }, "sqli": { "type": "object", @@ -44547,7 +46656,8 @@ "active", "action" ], - "additionalProperties": false + "additionalProperties": false, + "description": "SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases." }, "sf": { "type": "object", @@ -44567,7 +46677,8 @@ "active", "action" ], - "additionalProperties": false + "additionalProperties": false, + "description": "Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs." }, "java": { "type": "object", @@ -44587,10 +46698,12 @@ "active", "action" ], - "additionalProperties": false + "additionalProperties": false, + "description": "Java Attack - Mitigate risks of exploitation targeting Java-based applications or components." } }, - "additionalProperties": false + "additionalProperties": false, + "description": "Custom Ruleset" }, "rules": { "type": "array", @@ -44631,6 +46744,7 @@ "query", "cookie", "target_path", + "raw_path", "ip_address", "region", "protocol", @@ -44645,7 +46759,8 @@ "ja4_digest", "ja3_digest", "rate_limit_api_id" - ] + ], + "description": "[Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic." }, "op": { "type": "string", @@ -44664,7 +46779,8 @@ "gte", "lt", "lte" - ] + ], + "description": "[Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value." }, "neg": { "type": "boolean" @@ -44859,7 +46975,8 @@ "additionalProperties": false } } - } + }, + "required": true } }, "patch": { @@ -44885,14 +47002,37 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {}, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, "500": {} }, "parameters": [ @@ -44996,6 +47136,7 @@ "query", "cookie", "target_path", + "raw_path", "ip_address", "region", "protocol", @@ -45010,7 +47151,8 @@ "ja4_digest", "ja3_digest", "rate_limit_api_id" - ] + ], + "description": "[Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic." }, "op": { "type": "string", @@ -45029,7 +47171,8 @@ "gte", "lt", "lte" - ] + ], + "description": "[Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value." }, "neg": { "type": "boolean" @@ -45235,6 +47378,7 @@ "query", "cookie", "target_path", + "raw_path", "ip_address", "region", "protocol", @@ -45249,7 +47393,8 @@ "ja4_digest", "ja3_digest", "rate_limit_api_id" - ] + ], + "description": "[Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic." }, "op": { "type": "string", @@ -45268,7 +47413,8 @@ "gte", "lt", "lte" - ] + ], + "description": "[Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value" }, "neg": { "type": "boolean" @@ -45712,7 +47858,8 @@ ] } } - } + }, + "required": true } } }, @@ -45772,7 +47919,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools." }, "ma": { "properties": { @@ -45791,7 +47939,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding." }, "lfi": { "properties": { @@ -45810,7 +47959,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "Local File Inclusion Attack - Prevent unauthorized access to local files through web applications." }, "rfi": { "properties": { @@ -45829,7 +47979,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files." }, "rce": { "properties": { @@ -45848,7 +47999,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands." }, "php": { "properties": { @@ -45867,7 +48019,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "PHP Attack - Safeguard against vulnerability exploits in PHP-based applications." }, "gen": { "properties": { @@ -45886,7 +48039,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "Generic Attack - Provide broad protection from various undefined or novel attack vectors." }, "xss": { "properties": { @@ -45905,7 +48059,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "XSS Attack - Prevent injection of malicious scripts into trusted webpages." }, "sqli": { "properties": { @@ -45924,7 +48079,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases." }, "sf": { "properties": { @@ -45943,7 +48099,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs." }, "java": { "properties": { @@ -45962,7 +48119,8 @@ "active", "action" ], - "type": "object" + "type": "object", + "description": "Java Attack - Mitigate risks of exploitation targeting Java-based applications or components." } }, "required": [ @@ -45978,7 +48136,8 @@ "sf", "java" ], - "type": "object" + "type": "object", + "description": "Custom Ruleset" }, "rules": { "items": { @@ -46011,6 +48170,7 @@ "query", "cookie", "target_path", + "raw_path", "ip_address", "protocol", "region", @@ -46025,7 +48185,8 @@ "ja4_digest", "ja3_digest", "rate_limit_api_id" - ] + ], + "description": "[Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic." }, "op": { "type": "string", @@ -46044,7 +48205,8 @@ "nex", "ninc", "neq" - ] + ], + "description": "[Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value" }, "neg": { "type": "boolean" @@ -46287,13 +48449,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -46636,14 +48821,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "No team was found." + "description": "No team was found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -46834,14 +49041,36 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe user already requested access to the team\nThe team reached the maximum allowed amount of members" + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe user already requested access to the team\nThe team reached the maximum allowed amount of members", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource.\nThe authenticated user must be a team owner to perform the action" }, "404": { - "description": "The team was not found" + "description": "The team was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } }, "503": {} }, @@ -46922,7 +49151,8 @@ } } } - } + }, + "required": true } } }, @@ -47060,14 +49290,36 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "The team was not found." + "description": "The team was not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } }, "503": {} }, @@ -47150,7 +49402,8 @@ } } } - } + }, + "required": true } } }, @@ -47303,14 +49556,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid.\nUser is already a confirmed member of the team and did not request access. Only visible when the authenticated user does have access to the team." + "description": "One of the provided values in the request query is invalid.\nUser is already a confirmed member of the team and did not request access. Only visible when the authenticated user does have access to the team.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "The provided user doesn't have a membership.\nTeam was not found." + "description": "The provided user doesn't have a membership.\nTeam was not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -47389,14 +49664,37 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid." + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -47423,7 +49721,8 @@ } } } - } + }, + "required": true } } }, @@ -47461,17 +49760,38 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nCannot disconnect SSO from a Team member that does not have a SSO connection.\nCannot confirm a member that is already confirmed.\nCannot confirm a member that did not request access." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nCannot disconnect SSO from a Team member that does not have a SSO connection.\nCannot confirm a member that is already confirmed.\nCannot confirm a member that did not request access.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } }, "401": { - "description": "Team members can only be updated by an owner, or by the authenticated user if they are only disconnecting their SAML connection to the Team." + "description": "Team members can only be updated by an owner, or by the authenticated user if they are only disconnecting their SAML connection to the Team.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, "402": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "The provided user is not part of this team.\nA user with the specified ID does not exist.\nTeam not found." + "description": "The provided user is not part of this team.\nA user with the specified ID does not exist.\nTeam not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } }, "500": {} }, @@ -47563,7 +49883,8 @@ } } } - } + }, + "required": true } }, "delete": { @@ -47599,14 +49920,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid.\nCannot leave the team as the only owner." + "description": "One of the provided values in the request query is invalid.\nCannot leave the team as the only owner.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource.\nNot authorized to update the team." }, "404": { - "description": "A user with the specified ID does not exist.\nNo team found." + "description": "A user with the specified ID does not exist.\nNo team found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } }, "503": {} }, @@ -47670,14 +50013,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource.\nNot authorized to access the team." }, "404": { - "description": "Team was not found." + "description": "Team was not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -47723,15 +50088,37 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid." + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": {}, "403": { "description": "You do not have permission to access this resource.\nNot authorized to update the team. Must be an OWNER." }, "404": { - "description": "Team was not found." + "description": "Team was not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -47883,7 +50270,8 @@ } } } - } + }, + "required": true } } }, @@ -47935,9 +50323,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -48021,9 +50424,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nThe slug is already in use" + "description": "One of the provided values in the request body is invalid.\nThe slug is already in use", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -48092,7 +50510,8 @@ } } } - } + }, + "required": true } } }, @@ -48137,15 +50556,37 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": {}, "403": { "description": "You do not have permission to access this resource.\nThe authenticated user can't access the team" }, "404": { - "description": "The team was not found" + "description": "The team was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } }, "409": {} }, @@ -48212,7 +50653,8 @@ } } } - } + }, + "required": true } } }, @@ -48250,14 +50692,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource.\nInvite managed by directory sync\nNot authorized to access this team." }, "404": { - "description": "Team invite code not found.\nNo team found." + "description": "Team invite code not found.\nNo team found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -48333,9 +50797,24 @@ } }, "400": { - "description": "One of the provided values in the headers is invalid\nDigest is not valid\nFile size is not valid" + "description": "One of the provided values in the headers is invalid\nDigest is not valid\nFile size is not valid", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -48441,8 +50920,24 @@ } }, "302": {}, - "400": {}, - "401": {}, + "400": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, "403": { "description": "You do not have permission to access this resource." }, @@ -48495,9 +50990,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid." + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": {}, "403": { "description": "You do not have permission to access this resource." @@ -48536,7 +51046,8 @@ } } } - } + }, + "required": true } } }, @@ -48581,8 +51092,24 @@ } } }, - "400": {}, - "401": {}, + "400": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, "403": { "description": "You do not have permission to access this resource." } @@ -48629,9 +51156,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid." + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -48673,7 +51215,8 @@ } } } - } + }, + "required": true } } }, @@ -48711,14 +51254,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "Token not found with the requested `tokenId`." + "description": "Token not found with the requested `tokenId`.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -48772,14 +51337,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "Token not found with the requested `tokenId`." + "description": "Token not found with the requested `tokenId`.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -48966,9 +51553,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid." + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -49111,7 +51713,8 @@ } } } - } + }, + "required": true } }, "get": { @@ -49504,9 +52107,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -49703,9 +52321,24 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -49752,9 +52385,24 @@ "responses": { "204": {}, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." } @@ -50062,13 +52710,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -50434,14 +53105,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "The alias was not found" + "description": "The alias was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -50556,14 +53249,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "The alias was not found" + "description": "The alias was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -50783,14 +53498,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "The deployment was not found" + "description": "The deployment was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -50876,9 +53613,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe cert for the provided alias is not ready\nThe deployment is not READY and can not be aliased\nThe supplied alias is invalid" + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe cert for the provided alias is not ready\nThe deployment is not READY and can not be aliased\nThe supplied alias is invalid", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, @@ -50886,7 +53638,14 @@ "description": "You do not have permission to access this resource.\nIf no .vercel.app alias exists then we fail (nothing to mirror)" }, "404": { - "description": "The domain used for the alias was not found\nThe deployment was not found" + "description": "The domain used for the alias was not found\nThe deployment was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } }, "409": { "description": "The provided alias is already assigned to the given deployment\nThe domain is not allowed to be used" @@ -50945,7 +53704,8 @@ "type": "object" } } - } + }, + "required": true } } }, @@ -51000,13 +53760,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -51060,13 +53843,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {} + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } }, "parameters": [ { @@ -51149,16 +53955,39 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid." + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" }, "403": { "description": "You do not have permission to access this resource." }, - "404": {}, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, "449": {}, "500": {} }, @@ -51196,7 +54025,8 @@ } } } - } + }, + "required": true } }, "put": { @@ -51249,9 +54079,24 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid." + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "402": { "description": "This feature is only available for Enterprise customers." }, @@ -51308,7 +54153,8 @@ } } } - } + }, + "required": true } } }, @@ -51340,14 +54186,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "File tree not found\nDeployment not found" + "description": "File tree not found\nDeployment not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -51395,14 +54263,36 @@ ], "responses": { "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "File not found\nDeployment not found" + "description": "File not found\nDeployment not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } }, "410": { "description": "Invalid API version." @@ -51914,7 +54804,7 @@ "id": { "type": "string" }, - "name": { + "slug": { "type": "string" } }, @@ -51949,13 +54839,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, - "404": {}, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, "422": {} }, "parameters": [ @@ -52137,14 +55050,36 @@ } }, "400": { - "description": "One of the provided values in the request query is invalid." + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } }, - "401": {}, "403": { "description": "You do not have permission to access this resource." }, "404": { - "description": "The deployment was not found" + "description": "The deployment was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -52517,12 +55452,12 @@ "enum": [ "link", "saml", - "mail", - "import", - "teams", "github", "gitlab", "bitbucket", + "mail", + "import", + "teams", "dsync", "feedback", "organization-teams" @@ -53346,6 +56281,168 @@ ], "type": "object", "description": "A deployment file tree entry" + }, + "VercelBaseError": { + "type": "object", + "required": [ + "code", + "message" + ], + "properties": { + "code": { + "type": "string", + "const": "bad_request" + }, + "message": { + "type": "string" + } + } + }, + "VercelForbiddenError": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "allOf": [ + { + "$ref": "#/components/schemas/VercelBaseError" + }, + { + "type": "object", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string", + "const": "forbidden" + } + } + } + ] + } + } + }, + "VercelNotFoundError": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "allOf": [ + { + "$ref": "#/components/schemas/VercelBaseError" + }, + { + "type": "object", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string", + "const": "not_found" + }, + "message": { + "type": "string", + "const": "The item you requested was not found" + } + } + } + ] + } + } + }, + "VercelBadRequestError": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "allOf": [ + { + "$ref": "#/components/schemas/VercelBaseError" + }, + { + "type": "object", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string", + "const": "bad_request" + }, + "message": { + "type": "string", + "const": "One of the provided values in the request query, body or headers is invalid" + } + } + } + ] + } + } + }, + "VercelRateLimitError": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "allOf": [ + { + "$ref": "#/components/schemas/VercelBaseError" + }, + { + "type": "object", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string", + "const": "rate_limited" + }, + "limit": { + "$ref": "#/components/schemas/RateLimitNotice" + } + } + } + ] + } + } + }, + "RateLimitNotice": { + "type": "object", + "required": [ + "remaining", + "reset", + "resetMs", + "total" + ], + "properties": { + "remaining": { + "type": "integer", + "minimum": 0 + }, + "reset": { + "type": "integer", + "minimum": 0 + }, + "resetMs": { + "type": "integer", + "minimum": 0 + }, + "total": { + "type": "integer", + "minimum": 0 + } + } } }, "securitySchemes": {